scandit-capacitor-datacapture-label 8.7.0-beta.1 → 8.7.0

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.
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
18
18
  s.dependency "Capacitor"
19
19
  s.dependency "ScanditCapacitorDatacaptureCore", "= #{version}"
20
20
  s.dependency "ScanditCapacitorDatacaptureBarcode", "= #{version}"
21
- s.dependency "scandit-datacapture-frameworks-label", '= 8.7.0-beta.1'
21
+ s.dependency "scandit-datacapture-frameworks-label", '= 8.7.0'
22
22
  end
@@ -143,7 +143,7 @@ if (ext.has('repos')) {
143
143
  }
144
144
 
145
145
  dependencies {
146
- def sdk_version = "8.7.0-beta.1"
146
+ def sdk_version = "8.7.0"
147
147
 
148
148
  implementation fileTree(dir: 'libs', include: ['*.jar'])
149
149
  implementation fileTree(dir: 'library', include: ['*.aar'])
@@ -1164,8 +1164,8 @@ declare class LabelDefinition$1 extends DefaultSerializeable {
1164
1164
  *
1165
1165
  * This factory method returns a label definition with two fields:
1166
1166
  *
1167
- * - **SKU** - A mandatory barcode field for scanning {@link Symbology.EAN13UPCA} and {@link Symbology.Code128}.
1168
- * - **priceText** - An optional text field for scanning price text using specialized price label recognition with pattern `\\d+`.
1167
+ * - **SKU** - A mandatory barcode field for scanning {@link Symbology.EAN13UPCA}, {@link Symbology.EAN8}, and {@link Symbology.Code128}.
1168
+ * - **priceText** - A mandatory text field for scanning price text using specialized price label recognition. It matches a whole number, optionally grouped in thousands with a space or comma, followed by an optional two-digit decimal part separated by `.` or `,`.
1169
1169
  *
1170
1170
  * You can easily disable one of the symbologies of the barcode field by changing global mode settings. For example, to disable {@link Symbology.Code128} one can do this:
1171
1171
  *
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { nameForSerialization, ignoreFromSerializationIfNull, LogCategory, ScanditLogger, LogValues, serializationDefault, NoViewfinder, FactoryMaker, CameraSettings, Brush, Feedback, DefaultSerializeable, ignoreFromSerialization, Quadrilateral, ModeBase, ListenerRegistry, Rect, Point, Size, BaseController, FrameDataController, EventDataParser, SKIP, Anchor, PointWithUnit, LogLevel, registerProxies } from 'scandit-capacitor-datacapture-core/dist/core';
1
+ import { nameForSerialization, ignoreFromSerializationIfNull, LogLevel, LogCategory, ScanditLogger, serializationDefault, NoViewfinder, FactoryMaker, CameraSettings, Brush, Feedback, DefaultSerializeable, ignoreFromSerialization, Quadrilateral, ModeBase, ListenerRegistry, Rect, Point, Size, BaseController, FrameDataController, EventDataParser, SKIP, Anchor, PointWithUnit, registerProxies } from 'scandit-capacitor-datacapture-core/dist/core';
2
2
  import { Barcode, getBarcodeDefaults } from 'scandit-capacitor-datacapture-barcode/dist/barcode';
3
3
  import { Capacitor as Capacitor$1, registerPlugin } from '@capacitor/core';
4
4
  import { CapacitorCore, capacitorExec, CapacitorNativeCaller } from 'scandit-capacitor-datacapture-core';
@@ -1217,20 +1217,17 @@ class LabelProxyAdapter {
1217
1217
  // Generator: scripts/bridge_generator/generate.py
1218
1218
  // Schema: scripts/bridge_generator/schemas/label.json
1219
1219
  /**
1220
- * Per-method `LogRecord` category overrides for the LabelProxy
1221
- * bridge surface. Consumed by the centralized `ScanditLogger` interceptor
1222
- * to pick a non-default category (e.g. `Events`) for specific methods so
1223
- * that high-frequency per-frame / per-scan callbacks fall outside the
1224
- * default category mask. Level and category gate independently: those
1225
- * records are emitted at `Debug` and stay hidden until the category is
1226
- * opted into, so raising the level does not reveal them.
1220
+ * Per-method `LogRecord` level and category overrides for the LabelProxy
1221
+ * bridge surface. Consumed by the centralized `ScanditLogger` interceptor:
1222
+ * per-frame / per-scan callbacks log at `Trace` under their category label, so
1223
+ * they only show once the level is raised to `Trace`.
1227
1224
  *
1228
1225
  * Auto-registered as a side effect of importing this module via the
1229
1226
  * generated `index.ts` barrel — no customer wiring required.
1230
1227
  */
1231
1228
  const LABEL_PROXY_LOG_METADATA = {
1232
- finishLabelCaptureListenerDidUpdateSession: { category: LogCategory.Events },
1233
- finishValidationFlowResultUpdateEvent: { category: LogCategory.Events },
1229
+ finishLabelCaptureListenerDidUpdateSession: { level: LogLevel.Trace, category: LogCategory.Events },
1230
+ finishValidationFlowResultUpdateEvent: { level: LogLevel.Trace, category: LogCategory.Events },
1234
1231
  };
1235
1232
  ScanditLogger.registerMethodMetadata(LABEL_PROXY_LOG_METADATA);
1236
1233
 
@@ -1417,9 +1414,6 @@ __decorate([
1417
1414
  __decorate([
1418
1415
  nameForSerialization('feedback')
1419
1416
  ], LabelCapture.prototype, "_feedback", void 0);
1420
- __decorate([
1421
- LogValues({ source: 'ts.label', category: LogCategory.Lifecycle })
1422
- ], LabelCapture.prototype, "applySettings", null);
1423
1417
 
1424
1418
  var LabelCaptureAdvancedOverlayListenerEvents;
1425
1419
  (function (LabelCaptureAdvancedOverlayListenerEvents) {
@@ -3152,9 +3146,6 @@ __decorate([
3152
3146
  __decorate([
3153
3147
  nameForSerialization('shouldHandleKeyboardInsetsInternally')
3154
3148
  ], LabelCaptureValidationFlowOverlay.prototype, "_shouldHandleKeyboardInsetsInternally", void 0);
3155
- __decorate([
3156
- LogValues({ source: 'ts.label', category: LogCategory.Lifecycle })
3157
- ], LabelCaptureValidationFlowOverlay.prototype, "applySettings", null);
3158
3149
 
3159
3150
  class LabelCaptureValidationFlowSettings extends DefaultSerializeable {
3160
3151
  static create() {
@@ -3525,9 +3516,6 @@ __decorate([
3525
3516
  __decorate([
3526
3517
  ignoreFromSerialization
3527
3518
  ], LabelCaptureAdaptiveRecognitionOverlay.prototype, "_listener", void 0);
3528
- __decorate([
3529
- LogValues({ source: 'ts.label', category: LogCategory.Lifecycle })
3530
- ], LabelCaptureAdaptiveRecognitionOverlay.prototype, "applySettings", null);
3531
3519
 
3532
3520
  class LabelCaptureAdaptiveRecognitionSettings extends DefaultSerializeable {
3533
3521
  constructor(resultType) {