@scandit/web-datacapture-core 7.3.0 → 7.4.0-beta.2
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.
- package/build/electron/common.cjs +1 -1
- package/build/electron/constants.cjs +1 -1
- package/build/electron/main.cjs +1 -1
- package/build/electron/main.js +1 -1
- package/build/electron/preload.cjs +1 -1
- package/build/js/AimerViewfinder.js +1 -1
- package/build/js/Brush.js +1 -1
- package/build/js/{Camera-Cq6F5pJF.d.ts → Camera-wG9iakev.d.ts} +7 -2
- package/build/js/Camera.d.ts +1 -1
- package/build/js/Camera.js +1 -1
- package/build/js/CameraAccess.d.ts +1 -1
- package/build/js/CameraAccess.js +1 -1
- package/build/js/CameraRelated.d.ts +1 -1
- package/build/js/CameraRelated.js +1 -1
- package/build/js/DataCaptureContext.d.ts +1 -1
- package/build/js/DataCaptureContext.js +1 -1
- package/build/js/DataCaptureContextRelated.d.ts +1 -1
- package/build/js/DataCaptureVersion.js +1 -1
- package/build/js/DataCaptureView.d.ts +1 -1
- package/build/js/DataCaptureView.js +1 -1
- package/build/js/Defaults.d.ts +9 -2
- package/build/js/Defaults.js +1 -1
- package/build/js/Feedback.js +1 -1
- package/build/js/FrameData.d.ts +1 -1
- package/build/js/ImageFrameSource.d.ts +1 -1
- package/build/js/ImageFrameSource.js +1 -1
- package/build/js/LaserlineViewfinder.d.ts +17 -0
- package/build/js/LaserlineViewfinder.js +1 -0
- package/build/js/RectangularViewfinder.js +1 -1
- package/build/js/ScanditIcon.js +1 -1
- package/build/js/ScanditIconBuilder.js +1 -1
- package/build/js/SingleImageUploader.d.ts +1 -1
- package/build/js/SingleImageUploader.js +1 -1
- package/build/js/SingleImageUploaderSettings.js +1 -1
- package/build/js/Vibration.js +1 -1
- package/build/js/ViewfinderPlusRelated.d.ts +15 -3
- package/build/js/ViewfinderPlusRelated.js +1 -1
- package/build/js/browserHelper.js +1 -1
- package/build/js/chunks/chunk-2HTI5D6Y.js +1 -0
- package/build/js/chunks/{chunk-2WFRFPNN.js → chunk-2T36DQ52.js} +1 -1
- package/build/js/chunks/{chunk-DCVQRKUG.js → chunk-2XJKSSK4.js} +1 -1
- package/build/js/chunks/{chunk-H4TH4342.js → chunk-42THCP2K.js} +1 -1
- package/build/js/chunks/{chunk-HY2GIAZH.js → chunk-4D2BPF6X.js} +1 -1
- package/build/js/chunks/{chunk-TCJPGGHY.js → chunk-7B2VPGLP.js} +1 -1
- package/build/js/chunks/{chunk-ZG2DNH5P.js → chunk-7WQXUZB4.js} +1 -1
- package/build/js/chunks/chunk-BQDUZ37O.js +1 -0
- package/build/js/chunks/{chunk-Q7NDC6TJ.js → chunk-BS7MAI4E.js} +1 -1
- package/build/js/chunks/{chunk-IQNYV5T2.js → chunk-D3IOY5H6.js} +2 -2
- package/build/js/chunks/{chunk-Y6NN3VBO.js → chunk-DAFXSVRW.js} +1 -1
- package/build/js/chunks/{chunk-EHMSDFH7.js → chunk-DFRROFGN.js} +1 -1
- package/build/js/chunks/{chunk-ACXIZNMK.js → chunk-EUZWZFRQ.js} +1 -1
- package/build/js/chunks/{chunk-SCB3YPEP.js → chunk-FRG4HXJT.js} +1 -1
- package/build/js/chunks/{chunk-BL6D2W34.js → chunk-GDUWHYYI.js} +1 -1
- package/build/js/chunks/{chunk-UUGROS73.js → chunk-I2LMKSHH.js} +1 -1
- package/build/js/chunks/{chunk-OZQL57EF.js → chunk-IVDD7PCI.js} +1 -1
- package/build/js/chunks/chunk-IYYM2J7I.js +2 -0
- package/build/js/chunks/{chunk-LU4WMIH5.js → chunk-LEE5JACK.js} +1 -1
- package/build/js/chunks/chunk-MDSBSLWV.js +5 -0
- package/build/js/chunks/chunk-MFAA3FMX.js +1 -0
- package/build/js/chunks/{chunk-72A5262S.js → chunk-NA6AZIR5.js} +1 -1
- package/build/js/chunks/{chunk-CCL6CJ7C.js → chunk-NBFWXBYG.js} +1 -1
- package/build/js/chunks/{chunk-4QDKNW3V.js → chunk-O4TEQJ6H.js} +1 -1
- package/build/js/chunks/{chunk-TXNSQTT7.js → chunk-OH5WXZBN.js} +1 -1
- package/build/js/chunks/{chunk-UD3Z45BT.js → chunk-OPX62GWU.js} +1 -1
- package/build/js/chunks/{chunk-DGHKL762.js → chunk-P3OK36HL.js} +1 -1
- package/build/js/chunks/chunk-QLENSTBK.js +1 -0
- package/build/js/chunks/chunk-QM37NXPY.js +1 -0
- package/build/js/chunks/{chunk-FSXBNEVH.js → chunk-QQXPUJCE.js} +1 -1
- package/build/js/chunks/{chunk-BWKNTXLA.js → chunk-QYACFUV3.js} +1 -1
- package/build/js/chunks/chunk-R2JHQXH7.js +1 -0
- package/build/js/chunks/chunk-R6YWFAMT.js +1 -0
- package/build/js/chunks/{chunk-FPCLZS52.js → chunk-RWDRTV7B.js} +1 -1
- package/build/js/chunks/{chunk-K33QZEXB.js → chunk-THEE4TYK.js} +1 -1
- package/build/js/chunks/chunk-TSOWSKE3.js +1 -0
- package/build/js/chunks/{chunk-YOAZ4K7N.js → chunk-TUQETICB.js} +1 -1
- package/build/js/chunks/chunk-VGSPU525.js +1 -0
- package/build/js/chunks/{chunk-J2UL6U3I.js → chunk-WGLHZXRT.js} +1 -1
- package/build/js/chunks/chunk-XEBHIXET.js +1 -0
- package/build/js/chunks/{chunk-S6RRLBEL.js → chunk-XLFQMCQP.js} +1 -1
- package/build/js/chunks/{chunk-U2OJFO7J.js → chunk-YZPUMXQ2.js} +1 -1
- package/build/js/chunks/{chunk-FFTRSHP6.js → chunk-ZF7CDMAC.js} +1 -1
- package/build/js/chunks/{chunk-6RBX45IS.js → chunk-ZITGIXFX.js} +1 -1
- package/build/js/index.d.ts +4 -3
- package/build/js/index.js +3 -3
- package/build/js/private/CameraAccess.d.ts +1 -1
- package/build/js/private/CameraAccess.js +1 -1
- package/build/js/private/CameraManager.d.ts +1 -1
- package/build/js/private/CameraManager.js +1 -1
- package/build/js/private/CanvasDrawerWithMetrics.d.ts +1 -1
- package/build/js/private/CoreModuleLicenseTextProvider.d.ts +1 -1
- package/build/js/private/DataCaptureContextRelated.d.ts +1 -1
- package/build/js/private/FrameReaders/FrameReader.d.ts +1 -1
- package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +1 -1
- package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +1 -1
- package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
- package/build/js/private/FrameReaders/index.d.ts +1 -1
- package/build/js/private/FrameReaders/index.js +1 -1
- package/build/js/private/NormalizedConfigureOptions.d.ts +2 -1
- package/build/js/private/ViewControls+related.js +1 -1
- package/build/js/private/ViewControls_related.d.ts +1 -1
- package/build/js/private/ViewsRegistry.d.ts +1 -1
- package/build/js/private/hybridDesktopPlatformHelpers.js +1 -1
- package/build/js/private/multithreadSimdHelper.js +1 -1
- package/build/js/private/ui/atoms/AimerSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowDownSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowLeftSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowRightSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowUpSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowsUp.js +1 -1
- package/build/js/private/ui/atoms/Backdrop.d.ts +28 -0
- package/build/js/private/ui/atoms/Backdrop.js +1 -0
- package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Card.d.ts +2 -0
- package/build/js/private/ui/atoms/Card.js +1 -1
- package/build/js/private/ui/atoms/CardList.d.ts +4 -6
- package/build/js/private/ui/atoms/CardList.js +1 -1
- package/build/js/private/ui/atoms/CheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronDownSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronLeftSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronRightSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronUpSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Dot5xSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/GlassSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/HandLensCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/KeyboardSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/LowStockSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/OnexSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/PrinterSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ProgressBar.js +1 -1
- package/build/js/private/ui/atoms/QuestionMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RestartSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ShutterButton.js +1 -1
- package/build/js/private/ui/atoms/StarFilledSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarOutlinedSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/SvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ToPickSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Toast.d.ts +1 -1
- package/build/js/private/ui/atoms/Toast.js +1 -1
- package/build/js/private/ui/atoms/TwoxSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/WrongItemSvgIcon.js +1 -1
- package/build/js/private/ui/colors.d.ts +2 -1
- package/build/js/private/ui/colors.js +1 -1
- package/build/js/private/ui/molecules/HintPresenter.d.ts +1 -1
- package/build/js/private/ui/molecules/HintPresenter.js +1 -1
- package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
- package/build/js/private/utils/index.d.ts +0 -1
- package/build/js/private/utils/index.js +1 -1
- package/build/js/private/utils/safeStorage.d.ts +18 -0
- package/build/js/private/utils/safeStorage.js +1 -0
- package/build/js/private/utils/waitTransitionEndForElement.d.ts +1 -1
- package/build/js/private/utils/waitTransitionEndForElement.js +1 -1
- package/build/js/private/utils/warnMultithreadingUnavailable.js +1 -1
- package/build/js/sdk.d.ts +1 -1
- package/build/js/worker/WorkerMain.d.ts +1 -1
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/coreCapture.inlineWorker.d.ts +1 -1
- package/build/js/worker/coreCapture.inlineWorker.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +1 -1
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureLoader.d.ts +1 -1
- package/build/js/worker/dataCaptureLoader.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +1 -1
- package/build/js/worker/helper.js +1 -1
- package/build/js/worker/importWasmScript.js +1 -1
- package/build/js/worker/index.d.ts +1 -1
- package/build/js/worker/index.js +1 -1
- package/package.json +4 -4
- package/build/js/chunks/chunk-72DAONJI.js +0 -1
- package/build/js/chunks/chunk-7HWKBORK.js +0 -5
- package/build/js/chunks/chunk-CXBLYHGE.js +0 -1
- package/build/js/chunks/chunk-E3TDSWVQ.js +0 -1
- package/build/js/chunks/chunk-EP6NHJSG.js +0 -1
- package/build/js/chunks/chunk-MU4VAJIM.js +0 -2
- package/build/js/chunks/chunk-O5RQCBX3.js +0 -1
- package/build/js/chunks/chunk-QTV62ZV2.js +0 -1
- package/build/js/chunks/chunk-V2ZMK4M5.js +0 -1
- package/build/js/chunks/chunk-VN424TJI.js +0 -1
- package/build/js/chunks/chunk-ZVBD3EW5.js +0 -1
- package/build/js/private/utils/match.d.ts +0 -11
- package/build/js/private/utils/match.js +0 -1
- /package/build/js/chunks/{chunk-2DXPVHBJ.js → chunk-ZQFWULUQ.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as getAppInfo,c as getKey,a as isElectron}from'../chunks/chunk-
|
|
1
|
+
export{b as getAppInfo,c as getKey,a as isElectron}from'../chunks/chunk-DFRROFGN.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as checkFullMultithreadingSupport,c as hasSIMDSupport,b as hasSharedArrayBufferSupport,d as hasThreadsSupport,a as isCrossOriginIsolated}from'../chunks/chunk-
|
|
1
|
+
export{e as checkFullMultithreadingSupport,c as hasSIMDSupport,b as hasSharedArrayBufferSupport,d as hasThreadsSupport,a as isCrossOriginIsolated}from'../chunks/chunk-42THCP2K.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ArrowsUp}from'../../../chunks/chunk-
|
|
1
|
+
export{a as ArrowsUp}from'../../../chunks/chunk-ZF7CDMAC.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
|
|
4
|
+
declare class Backdrop extends ScanditHTMLElement {
|
|
5
|
+
static tag: "scandit-backdrop";
|
|
6
|
+
private fadeInAnimation?;
|
|
7
|
+
private fadeOutAnimation?;
|
|
8
|
+
private readonly fadeInKeyframes;
|
|
9
|
+
private readonly fadeOutKeyframes;
|
|
10
|
+
private readonly animationOptions;
|
|
11
|
+
constructor();
|
|
12
|
+
static get observedAttributes(): string[];
|
|
13
|
+
get open(): boolean;
|
|
14
|
+
set open(value: boolean);
|
|
15
|
+
static create(): Backdrop;
|
|
16
|
+
protected static register(): void;
|
|
17
|
+
private static createStyleElement;
|
|
18
|
+
attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void;
|
|
19
|
+
show(): Promise<void>;
|
|
20
|
+
hide(): Promise<void>;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
[Backdrop.tag]: Backdrop;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { Backdrop };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$1}from'../../../chunks/chunk-MU6SADSF.js';import {a}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$2}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$3}from'../../../chunks/chunk-LSZZVJ6B.js';var e=class e extends a{constructor(){super();this.fadeInKeyframes=[{opacity:0},{opacity:1}];this.fadeOutKeyframes=[{opacity:1},{opacity:0}];this.animationOptions={duration:200,easing:"ease",fill:"forwards"};let t=this.attachShadow({mode:"open"});t.innerHTML=a$1`<div class="backdrop"></div>`,t.append(e.createStyleElement().cloneNode(true));}static get observedAttributes(){return ["open"]}get open(){return this.hasAttribute("open")}set open(t){this.toggleAttribute("open",t);}static create(){return e.register(),document.createElement(e.tag)}static register(){a$2({[e.tag]:e});}static createStyleElement(){return a$3`:host{display:none;height:100%;inset:0;position:absolute;width:100%}.open,:host([open]){display:block;pointer-events:none;z-index:1}.backdrop{background:rgba(0,0,0,.5);height:100%;position:absolute;width:100%}`}attributeChangedCallback(t,i,l){t==="open"&&(l==null?this.hide():this.show());}async show(){var t,i;this.style.display!=="block"&&((t=this.fadeOutAnimation)==null||t.cancel(),(i=this.fadeInAnimation)==null||i.cancel(),this.style.display="block",this.fadeInAnimation=this.animate(this.fadeInKeyframes,this.animationOptions),await this.fadeInAnimation.finished);}async hide(){var t,i;this.style.display!=="none"&&((t=this.fadeInAnimation)==null||t.cancel(),(i=this.fadeOutAnimation)==null||i.cancel(),this.fadeOutAnimation=this.animate(this.fadeOutKeyframes,this.animationOptions),await this.fadeOutAnimation.finished,this.style.display="none");}};e.tag="scandit-backdrop";var r=e;export{r as Backdrop};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -8,6 +8,8 @@ declare class Card extends ScanditHTMLElement {
|
|
|
8
8
|
constructor();
|
|
9
9
|
set backgroundColor(color: Color);
|
|
10
10
|
get backgroundColor(): Color;
|
|
11
|
+
set borderColor(color: Color);
|
|
12
|
+
get borderColor(): Color;
|
|
11
13
|
static create(): Card;
|
|
12
14
|
static register(): void;
|
|
13
15
|
private static createStyleElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as Card}from'../../../chunks/chunk-
|
|
1
|
+
export{a as Card}from'../../../chunks/chunk-MDSBSLWV.js';
|
|
@@ -27,6 +27,9 @@ declare class CardList extends ScanditHTMLElement {
|
|
|
27
27
|
connectedCallback(): void;
|
|
28
28
|
disconnectedCallback(): void;
|
|
29
29
|
attributeChangedCallback(name: keyof this, _oldValue: this[keyof this], _newValue: this[keyof this]): void;
|
|
30
|
+
private _handleStateChange;
|
|
31
|
+
expand(): Promise<void>;
|
|
32
|
+
collapse(): Promise<void>;
|
|
30
33
|
private updateListHeight;
|
|
31
34
|
renderCards(items: Card[]): void;
|
|
32
35
|
clearCards(): void;
|
|
@@ -36,9 +39,6 @@ declare class CardList extends ScanditHTMLElement {
|
|
|
36
39
|
unshift(item: Card): Promise<void>;
|
|
37
40
|
private onCardClick;
|
|
38
41
|
private updateFadeMask;
|
|
39
|
-
private toggle;
|
|
40
|
-
private expand;
|
|
41
|
-
private collapse;
|
|
42
42
|
}
|
|
43
43
|
declare global {
|
|
44
44
|
interface HTMLElementTagNameMap {
|
|
@@ -50,9 +50,7 @@ declare global {
|
|
|
50
50
|
[CardListEvents.WillExpand]: CustomEvent<void>;
|
|
51
51
|
[CardListEvents.WillCollapse]: CustomEvent<void>;
|
|
52
52
|
[CardListEvents.Tap]: CustomEvent<{
|
|
53
|
-
|
|
54
|
-
card: Card;
|
|
55
|
-
};
|
|
53
|
+
card: Card;
|
|
56
54
|
}>;
|
|
57
55
|
}
|
|
58
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$2}from'../../../chunks/chunk-
|
|
1
|
+
import {a as a$2}from'../../../chunks/chunk-MDSBSLWV.js';import {a as a$5}from'../../../chunks/chunk-2HTI5D6Y.js';import {a as a$1}from'../../../chunks/chunk-MU6SADSF.js';import {a}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$3}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$4}from'../../../chunks/chunk-LSZZVJ6B.js';var l="--position",w=(o=>(o.Collapsed="collapsed",o.WillCollapse="willcollapse",o.Expanded="expanded",o.WillExpand="willexpand",o.Tap="cardtap",o))(w||{}),k="cubic-bezier(0.4, 0, 0.2, 1)",r=class r extends a{constructor(){super();this.onCardClickHandler=this.onCardClick.bind(this);this.updateFadeMaskHandler=this.updateFadeMask.bind(this);let t=this.attachShadow({mode:"open"});t.prepend(r.createStyleElement().cloneNode(true));let e=document.createElement("div");if(e.role="list",e.id="root",e.innerHTML=a$1`<slot></slot>`,t.append(e),!CSS.supports("mask-image","linear-gradient(black, white)")){let a=document.createElement("div");a.innerHTML='<div class="fade top"></div><div class="fade bottom"></div>',a.classList.add("fade-layer"),t.prepend(a);}}set collapsed(t){if(!t){this.removeAttribute("collapsed");return}this.setAttribute("collapsed",t.toString());}get collapsed(){return !!this.getAttribute("collapsed")}get items(){return this.querySelectorAll(a$2.tag)}get root(){var t;return (t=this.shadowRoot)==null?void 0:t.querySelector("#root")}static create(){return document.createElement(r.tag)}static register(){a$3({[r.tag]:r});}static createStyleElement(){return a$4`:host{--top-offset:0rem;--list-height:600px;--elements-number:0;--max-expanded-height:min(calc((100px + 0.7rem)*var(--elements-number)),calc(var(--list-height) - var(--top-offset)));--animation-function:${k};--max-collapsed-height:115px;-webkit-tap-highlight-color:transparent;position:relative;width:100%}:host #root{cursor:pointer;display:block;height:calc(var(--max-expanded-height));mask-image:linear-gradient(to bottom,transparent 0,#000 var(--end-top-mask,0),#000 var(--start-bottom-mask,95%),transparent 100%);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;transform-style:preserve-3d;transition:height .6s var(--animation-function);-webkit-overflow-scrolling:touch;-ms-overflow-style:none}:host .fade-layer{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1}:host([collapsed]) .fade-layer div.fade{opacity:0!important}:host .fade-layer div.fade{height:64px;opacity:0;position:absolute;width:100%;z-index:1}:host .fade-layer div.fade.top{background:linear-gradient(180deg,rgba(0,0,0,.45),transparent);top:0}:host .fade-layer div.fade.bottom{background:linear-gradient(0deg,rgba(0,0,0,.45),transparent);bottom:0}:host #root::-webkit-scrollbar{display:none}:host([collapsed]) #root{height:var(--max-collapsed-height);mask:none;overflow:hidden}::slotted(${a$2.tag}){--position:0;--animation-duration:0.5s;--margin-bottom:calc(0.5rem*var(--position));--translate-y-value:calc(var(--position)*100% + var(--margin-bottom));--scale:1;opacity:1;position:absolute;transform:translateY(var(--translate-y-value)) scale(var(--scale));transition:transform var(--animation-duration) var(--animation-function),opacity var(--animation-duration) var(--animation-function);width:100%;will-change:transform,opacity;z-index:calc(var(--position)*-1)}:host([collapsed]) ::slotted(${a$2.tag}){--translate-y-value:calc(var(--position)*10%);--scale:calc(1 - var(--position)*0.05);opacity:1}:host([collapsed]) ::slotted(${a$2.tag}:nth-child(3)){opacity:.5}:host([collapsed]) ::slotted(${a$2.tag}:nth-child(n+4)){opacity:0}`}connectedCallback(){var t;this.addEventListener("click",this.onCardClickHandler),(t=this.root)==null||t.addEventListener("scroll",this.updateFadeMaskHandler),this.updateFadeMaskHandler();}disconnectedCallback(){var t;this.removeEventListener("click",this.onCardClickHandler),(t=this.root)==null||t.removeEventListener("scroll",this.updateFadeMaskHandler);}attributeChangedCallback(t,e,a){t==="collapsed"&&this._handleStateChange();}async _handleStateChange(){var o;let t=this.collapsed?"willcollapse":"willexpand",e=this.collapsed?"collapsed":"expanded";this.dispatchEvent(new CustomEvent(t)),this.collapsed&&((o=this.root)==null||o.scrollTo({behavior:"instant",top:0}));let a=[];for(let[n,i]of Object.entries(this.items))Number(n)!==0&&a.push(a$5(i,"transform")),this.collapsed||i.style.removeProperty("opacity"),i.style.setProperty(l,n);await Promise.all(a),this.dispatchEvent(new CustomEvent(e)),this.updateFadeMaskHandler();}async expand(){return this.collapsed?(this.collapsed=false,this._handleStateChange()):Promise.resolve()}async collapse(){return this.collapsed?Promise.resolve():(this.collapsed=true,this._handleStateChange())}updateListHeight(t){this.style.setProperty("--elements-number",t.length.toString()),this.updateFadeMaskHandler();}renderCards(t){let e=document.createDocumentFragment();for(let[a,o]of Object.entries(t))o.dataset.position=`${a}`,o.style.setProperty(l,a.toString()),e.append(o);this.append(e),this.updateListHeight(t);}clearCards(){for(let t of this.querySelectorAll(a$2.tag))t.remove();this.updateListHeight([]);}async unshift(t){if(t.dataset.position==="0"&&t.style.getPropertyValue(l)==="0")return;let e=new Animation(new KeyframeEffect(t,[{transform:"translateY(-100%)",scale:1.05,opacity:0},{transform:"translateY(0%)",scale:1,opacity:1}],{duration:500,easing:k}));t.remove(),t.dataset.position="0",t.style.setProperty(l,"0");let a="0";for(let[o,n]of Object.entries(this.items))a=`${Number(o)+1}`,n.dataset.position=a,n.style.setProperty(l,a);this.prepend(t),e.play(),await e.finished;}onCardClick(t){let e=t.target.closest(a$2.tag);e!==null&&this.dispatchEvent(new CustomEvent("cardtap",{bubbles:true,composed:true,detail:{card:e}}));}updateFadeMask(t){var h,m,u,v,f;let{scrollTop:e=0,scrollHeight:a=0,clientHeight:o=0}=(h=t==null?void 0:t.target)!=null?h:this.root,n=a-o,i=Math.round(e/n*100);if(Number.isNaN(i))return;(m=this.root)==null||m.style.setProperty("--end-top-mask",`${Math.min(i,5)}%`),(u=this.root)==null||u.style.setProperty("--start-bottom-mask",`${Math.max(i,95)}%`);let c=(v=this.shadowRoot)==null?void 0:v.querySelector(".fade.top"),p=(f=this.shadowRoot)==null?void 0:f.querySelector(".fade.bottom");c!=null&&p!=null&&(c.style.setProperty("opacity",`${i/100}`),p.style.setProperty("opacity",`${1-i/100}`));}};r.tag="scandit-card-list",r.observedAttributes=["collapsed"];var d=r;d.register();export{d as CardList,w as CardListEvents};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var C=class C extends a{static create(){return document.createElement(C.tag)}static register(){a$1({[C.tag]:C});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${C.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ProgressBar}from'../../../chunks/chunk-
|
|
1
|
+
export{a as ProgressBar}from'../../../chunks/chunk-2T36DQ52.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as RoundedCheckSvgIcon}from'../../../chunks/chunk-
|
|
1
|
+
export{a as RoundedCheckSvgIcon}from'../../../chunks/chunk-RWDRTV7B.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as RoundedExclamationMarkSvgIcon}from'../../../chunks/chunk-
|
|
1
|
+
export{a as RoundedExclamationMarkSvgIcon}from'../../../chunks/chunk-I2LMKSHH.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$
|
|
1
|
+
import {a as a$1}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$2}from'../../../chunks/chunk-EV4OEANA.js';import {a as a$3}from'../../../chunks/chunk-3A4KLILV.js';import {a as a$5}from'../../../chunks/chunk-LSZZVJ6B.js';import {a as a$4}from'../../../chunks/chunk-XR65N6EG.js';var h="play",d="pause",p=a$1`
|
|
2
2
|
<svg viewBox="0 0 100 100">
|
|
3
3
|
<defs>
|
|
4
4
|
<mask id="${h}">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as SvgIcon}from'../../../chunks/chunk-
|
|
1
|
+
export{a as SvgIcon}from'../../../chunks/chunk-NA6AZIR5.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Z as GenericHint } from '../../../Camera-wG9iakev.js';
|
|
4
4
|
import '../../Serializable.js';
|
|
5
5
|
import '../../../Common.js';
|
|
6
6
|
import '../../FrameReaders/WatermarkStack.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as Toast,a as ToastEvents}from'../../../chunks/chunk-
|
|
1
|
+
export{b as Toast,a as ToastEvents}from'../../../chunks/chunk-TUQETICB.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var t=class t extends a{static create(){return document.createElement(t.tag)}static register(){a$1({[t.tag]:t});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${t.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'../../../chunks/chunk-
|
|
1
|
+
import {a}from'../../../chunks/chunk-NA6AZIR5.js';import {a as a$2}from'../../../chunks/chunk-MU6SADSF.js';import {a as a$1}from'../../../chunks/chunk-3A4KLILV.js';var e=class e extends a{static create(){return document.createElement(e.tag)}static register(){a$1({[e.tag]:e});}render(){return a$2`
|
|
2
2
|
<style>
|
|
3
3
|
${e.tag} {
|
|
4
4
|
display: flex;
|
|
@@ -25,5 +25,6 @@ declare const SecondaryRed40: Color;
|
|
|
25
25
|
declare const SecondaryRed20: Color;
|
|
26
26
|
declare const SecondaryBlue100: Color;
|
|
27
27
|
declare const SecondaryBlue60: Color;
|
|
28
|
+
declare const SecondaryBlue10: Color;
|
|
28
29
|
|
|
29
|
-
export { SecondaryBlue100, SecondaryBlue60, SecondaryGreen100, SecondaryGreen20, SecondaryGreen40, SecondaryGreen60, SecondaryGreen80, SecondaryOrange100, SecondaryOrange20, SecondaryOrange40, SecondaryOrange60, SecondaryOrange80, SecondaryRed100, SecondaryRed20, SecondaryRed40, SecondaryRed60, SecondaryRed80, gray300, gray900, primaryTeal100, primaryTeal25, primaryTeal50, primaryTeal75 };
|
|
30
|
+
export { SecondaryBlue10, SecondaryBlue100, SecondaryBlue60, SecondaryGreen100, SecondaryGreen20, SecondaryGreen40, SecondaryGreen60, SecondaryGreen80, SecondaryOrange100, SecondaryOrange20, SecondaryOrange40, SecondaryOrange60, SecondaryOrange80, SecondaryRed100, SecondaryRed20, SecondaryRed40, SecondaryRed60, SecondaryRed80, gray300, gray900, primaryTeal100, primaryTeal25, primaryTeal50, primaryTeal75 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{v as SecondaryBlue100,w as SecondaryBlue60,g as SecondaryGreen100,k as SecondaryGreen20,j as SecondaryGreen40,i as SecondaryGreen60,h as SecondaryGreen80,l as SecondaryOrange100,p as SecondaryOrange20,o as SecondaryOrange40,n as SecondaryOrange60,m as SecondaryOrange80,q as SecondaryRed100,u as SecondaryRed20,t as SecondaryRed40,s as SecondaryRed60,r as SecondaryRed80,f as gray300,e as gray900,a as primaryTeal100,d as primaryTeal25,c as primaryTeal50,b as primaryTeal75}from'../../chunks/chunk-
|
|
1
|
+
export{x as SecondaryBlue10,v as SecondaryBlue100,w as SecondaryBlue60,g as SecondaryGreen100,k as SecondaryGreen20,j as SecondaryGreen40,i as SecondaryGreen60,h as SecondaryGreen80,l as SecondaryOrange100,p as SecondaryOrange20,o as SecondaryOrange40,n as SecondaryOrange60,m as SecondaryOrange80,q as SecondaryRed100,u as SecondaryRed20,t as SecondaryRed40,s as SecondaryRed60,r as SecondaryRed80,f as gray300,e as gray900,a as primaryTeal100,d as primaryTeal25,c as primaryTeal50,b as primaryTeal75}from'../../chunks/chunk-IVDD7PCI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
3
|
import { Rect } from '../../../Common.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Y as DataCaptureCallbackMessage } from '../../../Camera-wG9iakev.js';
|
|
5
5
|
import '../../../ScanditIcon.js';
|
|
6
6
|
import '../../Serializable.js';
|
|
7
7
|
import '../../FrameReaders/WatermarkStack.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as HintPresenter,a as HintPresenterEvents}from'../../../chunks/chunk-
|
|
1
|
+
export{b as HintPresenter,a as HintPresenterEvents}from'../../../chunks/chunk-QYACFUV3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as LoadingOverlay}from'../../../chunks/chunk-
|
|
1
|
+
export{a as LoadingOverlay}from'../../../chunks/chunk-OH5WXZBN.js';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export { Deferred } from './deferred.js';
|
|
3
3
|
export { debounce } from './debounce.js';
|
|
4
4
|
export { isObject } from './isObject.js';
|
|
5
|
-
export { Handler, Match, Predicate, match } from './match.js';
|
|
6
5
|
export { unknownErrorToString } from './unknownErrorToString.js';
|
|
7
6
|
export { Timeout } from './timeout.js';
|
|
8
7
|
export { defineCustomElements } from './defineCustomElements.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as
|
|
1
|
+
export{a as Timeout}from'../../chunks/chunk-Q7JWDX4U.js';export{a as wait}from'../../chunks/chunk-UZWBB65W.js';export{a as waitTransitionEndForElement}from'../../chunks/chunk-2HTI5D6Y.js';export{a as html}from'../../chunks/chunk-MU6SADSF.js';export{a as throttle}from'../../chunks/chunk-T3AOBMAS.js';export{a as ScanditHTMLElement}from'../../chunks/chunk-EV4OEANA.js';export{a as clamp}from'../../chunks/chunk-L2STPTEN.js';export{a as defineCustomElements}from'../../chunks/chunk-3A4KLILV.js';export{a as unknownErrorToString}from'../../chunks/chunk-AIRWHLJH.js';export{a as isObject}from'../../chunks/chunk-FGO2SSRS.js';export{a as isWorkerScope}from'../../chunks/chunk-QCRFVRSS.js';export{a as Deferred}from'../../chunks/chunk-O7TZTIHO.js';export{a as css}from'../../chunks/chunk-LSZZVJ6B.js';export{a as debounce}from'../../chunks/chunk-R6E4CT22.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare class SafeStorage implements Storage {
|
|
3
|
+
private storage;
|
|
4
|
+
private memoryFallback;
|
|
5
|
+
isSupported: boolean;
|
|
6
|
+
constructor(type: "localStorage" | "sessionStorage");
|
|
7
|
+
get length(): number;
|
|
8
|
+
static isStorageTypeSupported(type: "localStorage" | "sessionStorage"): boolean;
|
|
9
|
+
key(index: number): string | null;
|
|
10
|
+
getItem(key: string): string | null;
|
|
11
|
+
setItem(key: string, value: string): void;
|
|
12
|
+
removeItem(key: string): void;
|
|
13
|
+
clear(): void;
|
|
14
|
+
}
|
|
15
|
+
declare const localStorage: SafeStorage;
|
|
16
|
+
declare const sessionStorage: SafeStorage;
|
|
17
|
+
|
|
18
|
+
export { SafeStorage, localStorage, sessionStorage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as SafeStorage,b as localStorage,c as sessionStorage}from'../../chunks/chunk-XEBHIXET.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
declare function waitTransitionEndForElement(element: HTMLElement): Promise<TransitionEvent>;
|
|
2
|
+
declare function waitTransitionEndForElement(element: HTMLElement, propertyName: string): Promise<TransitionEvent>;
|
|
3
3
|
|
|
4
4
|
export { waitTransitionEndForElement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as waitTransitionEndForElement}from'../../chunks/chunk-
|
|
1
|
+
export{a as waitTransitionEndForElement}from'../../chunks/chunk-2HTI5D6Y.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a as a$
|
|
1
|
+
import {a as a$1}from'../../chunks/chunk-IYYM2J7I.js';import {a as a$2}from'../../chunks/chunk-XR65N6EG.js';async function a(){let[{missingFeatures:t},i]=await Promise.all([a$1.checkBrowserCompatibility(),a$1.checkMultithreadingSupport()]);i||(a$2.warn("Multithreading is not supported."),t.includes("crossOriginIsolated")&&a$2.warn("Headers for Multithreading are absent or misconfigured: please check how to configure them properly: https://docs.scandit.com/sdks/web/matrixscan/get-started#enable-browser-multithreading"),t.includes("sharedArrayBuffer")&&a$2.warn("SharedArrayBuffer not supported. Check the requirements here: https://docs.scandit.com/system-requirements#web-sdk"));}
|
|
2
2
|
export{a as warnMultithreadingUnavailable};
|
package/build/js/sdk.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import { LoadingStatus } from './LoadingStatus.js';
|
|
3
|
-
import { D as DataCaptureLoader } from './Camera-
|
|
3
|
+
import { D as DataCaptureLoader } from './Camera-wG9iakev.js';
|
|
4
4
|
import './ScanditIcon.js';
|
|
5
5
|
import './private/Serializable.js';
|
|
6
6
|
import './Common.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { W as DataCaptureEngine, X as Module, _ as AnyDataCaptureActionMessage, $ as AugmentedWorker, a0 as ModuleHandler,
|
|
2
|
+
import { W as DataCaptureEngine, X as Module, _ as AnyDataCaptureActionMessage, $ as AugmentedWorker, a0 as ModuleHandler, Y as DataCaptureCallbackMessage, a1 as DataCaptureActionMessageKey, a2 as EngineWorkerResponse } from '../Camera-wG9iakev.js';
|
|
3
3
|
import '../private/Serializable.js';
|
|
4
4
|
import '../Common.js';
|
|
5
5
|
import '../private/FrameReaders/WatermarkStack.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as WorkerMain}from'../chunks/chunk-
|
|
1
|
+
export{a as WorkerMain}from'../chunks/chunk-ZITGIXFX.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { W as DataCaptureEngine, X as Module } from '../Camera-
|
|
2
|
+
import { W as DataCaptureEngine, X as Module } from '../Camera-wG9iakev.js';
|
|
3
3
|
import { WorkerMain } from './WorkerMain.js';
|
|
4
4
|
import '../private/Serializable.js';
|
|
5
5
|
import '../Common.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as InlineWorker,a as workerInstance}from'../chunks/chunk-
|
|
1
|
+
export{b as InlineWorker,a as workerInstance}from'../chunks/chunk-R2JHQXH7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
export { be as CreateContextParameters, W as DataCaptureEngine, bd as LoadLibraryParameters, bh as ProcessFrameParameters, bi as ReportCameraPropertiesParameters, bg as SetFrameSourceParameters, bf as UpdateContextParameters, bj as WorkerFunctions } from '../Camera-
|
|
2
|
+
export { be as CreateContextParameters, W as DataCaptureEngine, bd as LoadLibraryParameters, bh as ProcessFrameParameters, bi as ReportCameraPropertiesParameters, bg as SetFrameSourceParameters, bf as UpdateContextParameters, bj as WorkerFunctions } from '../Camera-wG9iakev.js';
|
|
3
3
|
import './OverrideState.js';
|
|
4
4
|
import '../LoadingStatus.js';
|
|
5
5
|
import '../Common.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DataCaptureEngine}from'../chunks/chunk-
|
|
1
|
+
export{a as DataCaptureEngine}from'../chunks/chunk-QLENSTBK.js';
|