Loading module/Qr/view/qr/scan/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ $callbackUrl = $this->callbackUrl ?? '/qr/callback'; <pre id="result" style="margin-top:1rem;padding:0.75rem;background:#f8f9fa;border:1px solid #eee;border-radius:8px;white-space:pre-wrap;"></pre> </div> <!-- ZXing JS via CDN (ESM) --> <script type="module"> import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm"; // import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm"; import { BrowserMultiFormatReader, NotFoundException } from "/vendor/zxing/zxing-library.bundle.esm.js"; const statusEl = document.getElementById('status'); const videoEl = document.getElementById('qr-video'); Loading public/vendor/zxing/zxing-library.bundle.esm.js 0 → 100644 +30581 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
module/Qr/view/qr/scan/index.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ $callbackUrl = $this->callbackUrl ?? '/qr/callback'; <pre id="result" style="margin-top:1rem;padding:0.75rem;background:#f8f9fa;border:1px solid #eee;border-radius:8px;white-space:pre-wrap;"></pre> </div> <!-- ZXing JS via CDN (ESM) --> <script type="module"> import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm"; // import { BrowserMultiFormatReader, NotFoundException } from "https://cdn.jsdelivr.net/npm/@zxing/library@0.20.0/+esm"; import { BrowserMultiFormatReader, NotFoundException } from "/vendor/zxing/zxing-library.bundle.esm.js"; const statusEl = document.getElementById('status'); const videoEl = document.getElementById('qr-video'); Loading
public/vendor/zxing/zxing-library.bundle.esm.js 0 → 100644 +30581 −0 File added.Preview size limit exceeded, changes collapsed. Show changes