@jaak.ai/stamps 2.0.0 → 2.1.0-dev.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.
Files changed (45) hide show
  1. package/README.md +11 -1
  2. package/dist/cjs/jaak-stamps-webcomponent.cjs.js +1 -1
  3. package/dist/cjs/jaak-stamps.cjs.entry.js +759 -623
  4. package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
  5. package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/components/my-component/my-component.css +178 -11
  8. package/dist/collection/components/my-component/my-component.js +566 -250
  9. package/dist/collection/components/my-component/my-component.js.map +1 -1
  10. package/dist/collection/services/CameraService.js +156 -344
  11. package/dist/collection/services/CameraService.js.map +1 -1
  12. package/dist/collection/services/DetectionService.js +68 -38
  13. package/dist/collection/services/DetectionService.js.map +1 -1
  14. package/dist/collection/services/EventBusService.js +1 -1
  15. package/dist/collection/services/EventBusService.js.map +1 -1
  16. package/dist/collection/services/ServiceContainer.js +4 -13
  17. package/dist/collection/services/ServiceContainer.js.map +1 -1
  18. package/dist/collection/services/interfaces/ICameraService.js.map +1 -1
  19. package/dist/collection/types/component-types.js.map +1 -1
  20. package/dist/components/jaak-stamps.js +763 -626
  21. package/dist/components/jaak-stamps.js.map +1 -1
  22. package/dist/esm/jaak-stamps-webcomponent.js +1 -1
  23. package/dist/esm/jaak-stamps.entry.js +759 -623
  24. package/dist/esm/jaak-stamps.entry.js.map +1 -1
  25. package/dist/esm/loader.js +1 -1
  26. package/dist/jaak-stamps-webcomponent/jaak-stamps-webcomponent.esm.js +1 -1
  27. package/dist/jaak-stamps-webcomponent/jaak-stamps.entry.esm.js.map +1 -1
  28. package/dist/jaak-stamps-webcomponent/p-41e88688.entry.js +2 -0
  29. package/dist/jaak-stamps-webcomponent/p-41e88688.entry.js.map +1 -0
  30. package/dist/types/components/my-component/my-component.d.ts +68 -17
  31. package/dist/types/components.d.ts +14 -8
  32. package/dist/types/services/CameraService.d.ts +12 -14
  33. package/dist/types/services/DetectionService.d.ts +10 -3
  34. package/dist/types/services/ServiceContainer.d.ts +1 -2
  35. package/dist/types/services/interfaces/ICameraService.d.ts +3 -12
  36. package/dist/types/types/component-types.d.ts +3 -0
  37. package/package.json +2 -2
  38. package/dist/collection/services/LoggerService.js +0 -40
  39. package/dist/collection/services/LoggerService.js.map +0 -1
  40. package/dist/collection/services/interfaces/ILogger.js +0 -2
  41. package/dist/collection/services/interfaces/ILogger.js.map +0 -1
  42. package/dist/jaak-stamps-webcomponent/p-2264b5b4.entry.js +0 -2
  43. package/dist/jaak-stamps-webcomponent/p-2264b5b4.entry.js.map +0 -1
  44. package/dist/types/services/LoggerService.d.ts +0 -12
  45. package/dist/types/services/interfaces/ILogger.d.ts +0 -8
@@ -4,7 +4,7 @@ export { s as setNonce } from './index-BP1Q4KOg.js';
4
4
  const defineCustomElements = async (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
6
6
  await globalScripts();
7
- return bootstrapLazy([["jaak-stamps",[[1,"jaak-stamps",{"debug":[4],"alignmentTolerance":[2,"alignment-tolerance"],"maskSize":[2,"mask-size"],"cropMargin":[2,"crop-margin"],"useDocumentClassification":[4,"use-document-classification"],"preferredCamera":[1,"preferred-camera"],"captureDelay":[2,"capture-delay"],"enableBackDocumentTimer":[4,"enable-back-document-timer"],"backDocumentTimerDuration":[2,"back-document-timer-duration"],"detectionBoxes":[32],"sideAlignment":[32],"isMaskReady":[32],"shouldMirrorVideo":[32],"showCameraSelector":[32],"isSwitchingCamera":[32],"hasDocumentDetected":[32],"currentStatus":[32],"performanceData":[32],"backDocumentTimerRemaining":[32],"getCapturedImages":[64],"isProcessCompleted":[64],"startCapture":[64],"stopCapture":[64],"resetCapture":[64],"skipBackCapture":[64],"getStatus":[64],"preloadModel":[64],"getCameraInfo":[64],"setPreferredCamera":[64],"setCaptureDelay":[64],"getCaptureDelay":[64],"setTorchEnabled":[64],"focusAtPoint":[64]}]]]], options);
7
+ return bootstrapLazy([["jaak-stamps",[[1,"jaak-stamps",{"debug":[4],"alignmentTolerance":[2,"alignment-tolerance"],"maskSize":[2,"mask-size"],"cropMargin":[2,"crop-margin"],"useDocumentClassification":[4,"use-document-classification"],"useDocumentDetector":[4,"use-document-detector"],"preferredCamera":[1,"preferred-camera"],"captureDelay":[2,"capture-delay"],"enableBackDocumentTimer":[4,"enable-back-document-timer"],"backDocumentTimerDuration":[2,"back-document-timer-duration"],"detectionBoxes":[32],"sideAlignment":[32],"isMaskReady":[32],"shouldMirrorVideo":[32],"showCameraSelector":[32],"isSwitchingCamera":[32],"hasDocumentDetected":[32],"cameraInfoWithAutofocus":[32],"currentStatus":[32],"performanceData":[32],"backDocumentTimerRemaining":[32],"showManualCaptureButton":[32],"getCapturedImages":[64],"isProcessCompleted":[64],"startCapture":[64],"stopCapture":[64],"resetCapture":[64],"skipBackCapture":[64],"getStatus":[64],"preloadModel":[64],"getCameraInfo":[64],"setPreferredCamera":[64],"setCaptureDelay":[64],"getCaptureDelay":[64]}]]]], options);
8
8
  };
9
9
 
10
10
  export { defineCustomElements };
@@ -1,2 +1,2 @@
1
- import{p as e,g as a,b as t}from"./p-BP1Q4KOg.js";export{s as setNonce}from"./p-BP1Q4KOg.js";var r=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};r().then((async e=>{await a();return t([["p-2264b5b4",[[1,"jaak-stamps",{debug:[4],alignmentTolerance:[2,"alignment-tolerance"],maskSize:[2,"mask-size"],cropMargin:[2,"crop-margin"],useDocumentClassification:[4,"use-document-classification"],preferredCamera:[1,"preferred-camera"],captureDelay:[2,"capture-delay"],enableBackDocumentTimer:[4,"enable-back-document-timer"],backDocumentTimerDuration:[2,"back-document-timer-duration"],detectionBoxes:[32],sideAlignment:[32],isMaskReady:[32],shouldMirrorVideo:[32],showCameraSelector:[32],isSwitchingCamera:[32],hasDocumentDetected:[32],currentStatus:[32],performanceData:[32],backDocumentTimerRemaining:[32],getCapturedImages:[64],isProcessCompleted:[64],startCapture:[64],stopCapture:[64],resetCapture:[64],skipBackCapture:[64],getStatus:[64],preloadModel:[64],getCameraInfo:[64],setPreferredCamera:[64],setCaptureDelay:[64],getCaptureDelay:[64],setTorchEnabled:[64],focusAtPoint:[64]}]]]],e)}));
1
+ import{p as e,g as a,b as t}from"./p-BP1Q4KOg.js";export{s as setNonce}from"./p-BP1Q4KOg.js";var r=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};r().then((async e=>{await a();return t([["p-41e88688",[[1,"jaak-stamps",{debug:[4],alignmentTolerance:[2,"alignment-tolerance"],maskSize:[2,"mask-size"],cropMargin:[2,"crop-margin"],useDocumentClassification:[4,"use-document-classification"],useDocumentDetector:[4,"use-document-detector"],preferredCamera:[1,"preferred-camera"],captureDelay:[2,"capture-delay"],enableBackDocumentTimer:[4,"enable-back-document-timer"],backDocumentTimerDuration:[2,"back-document-timer-duration"],detectionBoxes:[32],sideAlignment:[32],isMaskReady:[32],shouldMirrorVideo:[32],showCameraSelector:[32],isSwitchingCamera:[32],hasDocumentDetected:[32],cameraInfoWithAutofocus:[32],currentStatus:[32],performanceData:[32],backDocumentTimerRemaining:[32],showManualCaptureButton:[32],getCapturedImages:[64],isProcessCompleted:[64],startCapture:[64],stopCapture:[64],resetCapture:[64],skipBackCapture:[64],getStatus:[64],preloadModel:[64],getCameraInfo:[64],setPreferredCamera:[64],setCaptureDelay:[64],getCaptureDelay:[64]}]]]],e)}));
2
2
  //# sourceMappingURL=jaak-stamps-webcomponent.esm.js.map