@jaak.ai/stamps 2.1.0-dev.15 → 2.1.0-dev.17
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/dist/cjs/jaak-stamps.cjs.entry.js +11 -0
- package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
- package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +11 -0
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/components/jaak-stamps.js +11 -0
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps.entry.js +11 -0
- package/dist/esm/jaak-stamps.entry.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps-webcomponent.esm.js +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps.entry.esm.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/{p-00e98f99.entry.js → p-078cef56.entry.js} +2 -2
- package/dist/jaak-stamps-webcomponent/p-078cef56.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/jaak-stamps-webcomponent/p-00e98f99.entry.js.map +0 -1
|
@@ -2729,6 +2729,12 @@ const JaakStamps = class {
|
|
|
2729
2729
|
try {
|
|
2730
2730
|
// Close the selector immediately when user selects a camera
|
|
2731
2731
|
this.showCameraSelector = false;
|
|
2732
|
+
// Check if user selected the same camera that's already active
|
|
2733
|
+
const currentCameraId = this.cameraService.getSelectedCameraId();
|
|
2734
|
+
if (currentCameraId === cameraId) {
|
|
2735
|
+
// Same camera selected, just close the selector without switching
|
|
2736
|
+
return;
|
|
2737
|
+
}
|
|
2732
2738
|
this.isSwitchingCamera = true;
|
|
2733
2739
|
// Stop current video stream
|
|
2734
2740
|
if (this.videoStream) {
|
|
@@ -2774,6 +2780,11 @@ const JaakStamps = class {
|
|
|
2774
2780
|
this.hasDocumentDetected = false;
|
|
2775
2781
|
// Reset sistema simplificado
|
|
2776
2782
|
this.processedFramesCount = 0;
|
|
2783
|
+
// Reset manual capture and performance degraded mode flags
|
|
2784
|
+
this.showManualCaptureButton = false;
|
|
2785
|
+
this.performanceDegradedMode = false;
|
|
2786
|
+
this.showPerformanceMessage = false;
|
|
2787
|
+
this.processingButton = null;
|
|
2777
2788
|
this.slowFrameCount = 0;
|
|
2778
2789
|
// Reset performance degradation state
|
|
2779
2790
|
this.hasAutoSwitchedToManual = false;
|