@incodetech/web 0.0.0-dev-20260921-66452aad → 0.0.0-dev-20260921-33c2ed29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import { o as useTranslation } from "../uiConfig-mnvsuDzw.js";
|
|
|
2
2
|
import { v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
3
|
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-Bwmjxx0F.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-CvU26-AD.js";
|
|
5
|
+
import { t as Spinner } from "../spinner-BimJZPOs.js";
|
|
5
6
|
import { x as Button } from "../icons-BvVRglt7.js";
|
|
6
7
|
import { t as VerificationResult } from "../verificationResult-Byz5bw3l.js";
|
|
7
8
|
import { n as CameraFrame, t as CameraView } from "../cameraView-BzN1JC5u.js";
|
|
@@ -184,6 +185,21 @@ var fiscalQrIcon = () => /* @__PURE__ */ u("svg", {
|
|
|
184
185
|
]
|
|
185
186
|
});
|
|
186
187
|
//#endregion
|
|
188
|
+
//#region src/modules/fiscal-qr/fiscalQrLoading.tsx
|
|
189
|
+
var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
190
|
+
hideHeader: true,
|
|
191
|
+
hideFooterBranding: true,
|
|
192
|
+
className: "IncodeFiscalQrPage",
|
|
193
|
+
"data-testid": "fiscal-qr-loading",
|
|
194
|
+
children: /* @__PURE__ */ u("div", {
|
|
195
|
+
class: "IncodeFiscalQrTutorialContent",
|
|
196
|
+
children: /* @__PURE__ */ u(Spinner, {
|
|
197
|
+
size: "large",
|
|
198
|
+
presentational: true
|
|
199
|
+
})
|
|
200
|
+
})
|
|
201
|
+
});
|
|
202
|
+
//#endregion
|
|
187
203
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
188
204
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
189
205
|
const { t } = useTranslation();
|
|
@@ -201,6 +217,7 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
201
217
|
"data-testid": "fiscal-qr-permission-denied",
|
|
202
218
|
"data-permission-status": "denied"
|
|
203
219
|
});
|
|
220
|
+
if (state.status === "scanning" && !state.stream) return /* @__PURE__ */ u(FiscalQrLoading, {});
|
|
204
221
|
if (state.status === "scanning" || state.status === "capturing" || state.status === "success" || state.status === "error") return /* @__PURE__ */ u(FiscalQrCapture, {
|
|
205
222
|
manager,
|
|
206
223
|
state
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260921-
|
|
3
|
+
"version": "0.0.0-dev-20260921-33c2ed29",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
],
|
|
288
288
|
"dependencies": {
|
|
289
289
|
"preact": "^10.27.2",
|
|
290
|
-
"@incodetech/core": "0.0.0-dev-20260921-
|
|
290
|
+
"@incodetech/core": "0.0.0-dev-20260921-33c2ed29"
|
|
291
291
|
},
|
|
292
292
|
"devDependencies": {
|
|
293
293
|
"@fontsource/dm-sans": "^5.2.8",
|