@capgo/capacitor-zebra-datawedge 8.2.3 → 8.2.5

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.
@@ -207,7 +207,42 @@ export interface DataWedgeStatusResult {
207
207
  export interface IgnoreDisabledProfilesResult {
208
208
  enabled: boolean;
209
209
  }
210
+ export interface DiagnosticsOptions {
211
+ /** Enable metadata tracing. Disabled by default; disabling does not erase previous entries. */
212
+ enabled: boolean;
213
+ /** Number of recent entries retained, from 1 to 1000. Initially 100; omitted values preserve the current capacity. */
214
+ maxEntries?: number;
215
+ /** Clear retained entries and reset elapsed time and dropped count. Default: false. */
216
+ reset?: boolean;
217
+ }
218
+ export interface DataWedgeDiagnosticsSnapshot {
219
+ diagnosticsVersion: number;
220
+ enabled: boolean;
221
+ maxEntries: number;
222
+ droppedEntries: number;
223
+ manufacturer: string;
224
+ model: string;
225
+ androidVersion: string;
226
+ /** notFound means Android could not find the package; it is not a service-permission check. */
227
+ dataWedgePackage: {
228
+ status: 'installed' | 'notFound' | 'unavailable';
229
+ version?: string;
230
+ };
231
+ commands: {
232
+ commandIdentifier: string;
233
+ outcome: 'SENT' | 'SUCCESS' | 'FAILURE' | 'TIMEOUT' | 'TRANSPORT_ERROR' | 'CANCELLED' | 'INVALID_RESPONSE';
234
+ elapsedMs: number;
235
+ }[];
236
+ }
210
237
  export interface ZebraDataWedgePlugin extends Plugin {
238
+ /** Configure opt-in native command metadata tracing. Never enables DataWedge or scanner input. */
239
+ configureDiagnostics(options: DiagnosticsOptions): Promise<void>;
240
+ /**
241
+ * Return a read-only native environment and trace snapshot. Does not send any DataWedge commands.
242
+ * Barcode values, intent bodies and arbitrary exception text are excluded. The application decides
243
+ * which device information to include when sharing this snapshot. Android only.
244
+ */
245
+ getDiagnostics(): Promise<DataWedgeDiagnosticsSnapshot>;
211
246
  cloneProfile(options: CloneProfileOptions): Promise<void>;
212
247
  createProfile(options: CreateProfileOptions): Promise<void>;
213
248
  deleteProfile(options: DeleteProfileOptions): Promise<void>;
@@ -235,34 +270,148 @@ export interface ZebraDataWedgePlugin extends Plugin {
235
270
  * Dispose of local listeners separately when using the low-level API.
236
271
  */
237
272
  unRegisterForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void>;
273
+ /**
274
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
275
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
276
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
277
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
278
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
279
+ * identifier-free reply can still match a later sequential call that expects the same shape and
280
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
281
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
282
+ */
238
283
  enumerateScanners(): Promise<{
239
284
  scanners: ZebraDeviceScanner[];
240
285
  }>;
286
+ /**
287
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
288
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
289
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
290
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
291
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
292
+ * identifier-free reply can still match a later sequential call that expects the same shape and
293
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
294
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
295
+ */
241
296
  getActiveProfile(): Promise<{
242
297
  profileName: string;
243
298
  }>;
299
+ /**
300
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
301
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
302
+ * same result payload shape. Avoid overlapping pending calls that share that shape. For example,
303
+ * `getAssociatedApps()` and `getConfig()` both send `CMD_GET_CONFIG` and expect `CONFIG_RESULTS`, so one
304
+ * pending call to each overlaps. When sender identity is unavailable (Android API 24 to 33, or API
305
+ * 34+ when the platform withholds it), matching identifier-free replies are accepted for
306
+ * compatibility. If a call times out, a delayed identifier-free reply can still match a later
307
+ * sequential call that expects the same shape and resolve it with stale data. This default may
308
+ * change in the next Capacitor major version; see
309
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
310
+ */
244
311
  getAssociatedApps(options: {
245
312
  profileName: string;
246
313
  }): Promise<{
247
314
  appList: DataWedgeAppConfig[];
248
315
  }>;
316
+ /**
317
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
318
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
319
+ * same result payload shape. Avoid overlapping pending calls that share that shape. For example,
320
+ * `getAssociatedApps()` and `getConfig()` both send `CMD_GET_CONFIG` and expect `CONFIG_RESULTS`, so one
321
+ * pending call to each overlaps. When sender identity is unavailable (Android API 24 to 33, or API
322
+ * 34+ when the platform withholds it), matching identifier-free replies are accepted for
323
+ * compatibility. If a call times out, a delayed identifier-free reply can still match a later
324
+ * sequential call that expects the same shape and resolve it with stale data. This default may
325
+ * change in the next Capacitor major version; see
326
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
327
+ */
249
328
  getConfig(options: GetConfigOptions): Promise<ZebraProfileConfiguration>;
329
+ /**
330
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
331
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
332
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
333
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
334
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
335
+ * identifier-free reply can still match a later sequential call that expects the same shape and
336
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
337
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
338
+ */
250
339
  getDatawedgeStatus(): Promise<DataWedgeStatusResult>;
340
+ /**
341
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
342
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
343
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
344
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
345
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
346
+ * identifier-free reply can still match a later sequential call that expects the same shape and
347
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
348
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
349
+ */
251
350
  getDisabledAppList(): Promise<{
252
351
  appList: DataWedgeAppConfig[];
253
352
  }>;
353
+ /**
354
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
355
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
356
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
357
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
358
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
359
+ * identifier-free reply can still match a later sequential call that expects the same shape and
360
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
361
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
362
+ */
254
363
  getIgnoreDisabledProfiles(): Promise<IgnoreDisabledProfilesResult>;
364
+ /**
365
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
366
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
367
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
368
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
369
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
370
+ * identifier-free reply can still match a later sequential call that expects the same shape and
371
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
372
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
373
+ */
255
374
  getProfilesList(): Promise<{
256
375
  profiles: string[];
257
376
  }>;
377
+ /**
378
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
379
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
380
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
381
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
382
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
383
+ * identifier-free reply can still match a later sequential call that expects the same shape and
384
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
385
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
386
+ */
258
387
  getScannerStatus(): Promise<{
259
388
  status: ScannerStatus | string;
260
389
  }>;
390
+ /**
391
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
392
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
393
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
394
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
395
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
396
+ * identifier-free reply can still match a later sequential call that expects the same shape and
397
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
398
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
399
+ */
261
400
  getVersionInfo(): Promise<ZebraDeviceVersionInfo>;
262
401
  disableDatawedge(): Promise<void>;
263
402
  disableScannerInput(): Promise<void>;
264
403
  enableDatawedge(): Promise<void>;
265
404
  enableScannerInput(): Promise<void>;
405
+ /**
406
+ * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts
407
+ * identifier-free replies only when the payload matches exactly one pending call that expects the
408
+ * same result payload shape. Avoid overlapping pending calls that share that shape. When sender
409
+ * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),
410
+ * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed
411
+ * identifier-free reply can still match a later sequential call that expects the same shape and
412
+ * resolve it with stale data. This default may change in the next Capacitor major version; see
413
+ * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.
414
+ */
266
415
  enumerateTriggers(): Promise<{
267
416
  triggers: string[];
268
417
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAMA,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,kEAA2C,CAAA;IAC3C,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;AACnB,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAED,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,0EAA6C,CAAA;IAC7C,8DAAiC,CAAA;IACjC,8DAAiC,CAAA;AACnC,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,sCAAmB,CAAA;IACnB,8BAAW,CAAA;IACX,8BAAW,CAAA;IACX,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,4BAAS,CAAA;IACT,0CAAuB,CAAA;IACvB,8BAAW,CAAA;IACX,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,kCAAe,CAAA;AACjB,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAED,MAAM,CAAN,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,0DAAqC,CAAA;IACrC,0DAAqC,CAAA;IACrC,oDAA+B,CAAA;IAC/B,wDAAmC,CAAA;IACnC,wDAAmC,CAAA;IACnC,sDAAiC,CAAA;IACjC,kDAA6B,CAAA;IAC7B,gEAA2C,CAAA;IAC3C,8CAAyB,CAAA;IACzB,sDAAiC,CAAA;AACnC,CAAC,EAZW,iBAAiB,KAAjB,iBAAiB,QAY5B;AAED,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;IAC7B,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;AACrB,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AAED,MAAM,CAAN,IAAY,eAgCX;AAhCD,WAAY,eAAe;IACzB,oEAAiD,CAAA;IACjD,gFAA6D,CAAA;IAC7D,gDAA6B,CAAA;IAC7B,wDAAqC,CAAA;IACrC,kEAA+C,CAAA;IAC/C,4EAAyD,CAAA;IACzD,0EAAuD,CAAA;IACvD,4DAAyC,CAAA;IACzC,gEAA6C,CAAA;IAC7C,gEAA6C,CAAA;IAC7C,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,kEAA+C,CAAA;IAC/C,0DAAuC,CAAA;IACvC,kEAA+C,CAAA;IAC/C,sDAAmC,CAAA;IACnC,0EAAuD,CAAA;IACvD,gEAA6C,CAAA;IAC7C,oEAAiD,CAAA;IACjD,8DAA2C,CAAA;IAC3C,wDAAqC,CAAA;IACrC,8EAA2D,CAAA;IAC3D,4DAAyC,CAAA;IACzC,0DAAuC,CAAA;IACvC,wEAAqD,CAAA;IACrD,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;IACjD,kEAA+C,CAAA;IAC/C,sCAAmB,CAAA;AACrB,CAAC,EAhCW,eAAe,KAAf,eAAe,QAgC1B","sourcesContent":["import type { Plugin, PluginListenerHandle } from '@capacitor/core';\n\nexport interface PluginVersionResult {\n version: string;\n}\n\nexport enum DataWedgeConfigMode {\n CREATE_IF_NOT_EXIST = 'CREATE_IF_NOT_EXIST',\n OVERWRITE = 'OVERWRITE',\n REMOVE = 'REMOVE',\n UPDATE = 'UPDATE',\n}\n\nexport enum DataWedgeNotificationType {\n CONFIGURATION_UPDATE = 'CONFIGURATION_UPDATE',\n PROFILE_SWITCH = 'PROFILE_SWITCH',\n SCANNER_STATUS = 'SCANNER_STATUS',\n}\n\nexport enum DataWedgePlugin {\n ADF = 'ADF',\n BARCODE = 'BARCODE',\n BDF = 'BDF',\n DCP = 'DCP',\n EKB = 'EKB',\n INTENT = 'INTENT',\n IP = 'IP',\n KEYSTROKE = 'KEYSTROKE',\n MSR = 'MSR',\n RFID = 'RFID',\n SERIAL = 'SERIAL',\n TOKENS = 'TOKENS',\n VOICE = 'VOICE',\n}\n\nexport enum ScannerIdentifier {\n AUTO = 'AUTO',\n BLUETOOTH_DS3678 = 'BLUETOOTH_DS3678',\n BLUETOOTH_RS6000 = 'BLUETOOTH_RS6000',\n BLUETOOTH_SSI = 'BLUETOOTH_SSI',\n INTERNAL_CAMERA = 'INTERNAL_CAMERA',\n INTERNAL_IMAGER = 'INTERNAL_IMAGER',\n INTERNAL_LASER = 'INTERNAL_LASER',\n PLUGABLE_SSI = 'PLUGABLE_SSI',\n PLUGABLE_SSI_RS5000 = 'PLUGABLE_SSI_RS5000',\n SERIAL_SSI = 'SERIAL_SSI',\n USB_SSI_DS3608 = 'USB_SSI_DS3608',\n}\n\nexport enum ScannerStatus {\n CONNECTED = 'CONNECTED',\n DISABLED = 'DISABLED',\n DISCONNECTED = 'DISCONNECTED',\n IDLE = 'IDLE',\n SCANNING = 'SCANNING',\n WAITING = 'WAITING',\n}\n\nexport enum ZebraErrorCodes {\n APP_ALREADY_ASSOCIATED = 'APP_ALREADY_ASSOCIATED',\n APP_ALREADY_IN_DISABLED_LIST = 'APP_ALREADY_IN_DISABLED_LIST',\n BUNDLE_EMPTY = 'BUNDLE_EMPTY',\n CANNOT_READ_FILE = 'CANNOT_READ_FILE',\n CONFIG_FILE_NOT_EXIST = 'CONFIG_FILE_NOT_EXIST',\n DATAWEDGE_ALREADY_DISABLED = 'DATAWEDGE_ALREADY_DISABLED',\n DATAWEDGE_ALREADY_ENABLED = 'DATAWEDGE_ALREADY_ENABLED',\n DATAWEDGE_DISABLED = 'DATAWEDGE_DISABLED',\n DEVICE_NOT_CONNECTED = 'DEVICE_NOT_CONNECTED',\n DEVICE_NOT_SUPPORTED = 'DEVICE_NOT_SUPPORTED',\n INPUT_NOT_ENABLED = 'INPUT_NOT_ENABLED',\n INVALID_CONFIG_FILE = 'INVALID_CONFIG_FILE',\n INVALID_FILE_NAME = 'INVALID_FILE_NAME',\n INVALID_FOLDER_PATH = 'INVALID_FOLDER_PATH',\n OPERATION_NOT_ALLOWED = 'OPERATION_NOT_ALLOWED',\n PARAMETER_INVALID = 'PARAMETER_INVALID',\n PLUGIN_BUNDLE_INVALID = 'PLUGIN_BUNDLE_INVALID',\n PLUGIN_DISABLED = 'PLUGIN_DISABLED',\n PLUGIN_DISABLED_IN_CONFIG = 'PLUGIN_DISABLED_IN_CONFIG',\n PLUGIN_NOT_SUPPORTED = 'PLUGIN_NOT_SUPPORTED',\n PROFILE_ALREADY_EXISTS = 'PROFILE_ALREADY_EXISTS',\n PROFILE_ALREADY_SET = 'PROFILE_ALREADY_SET',\n PROFILE_DISABLED = 'PROFILE_DISABLED',\n PROFILE_HAS_APP_ASSOCIATION = 'PROFILE_HAS_APP_ASSOCIATION',\n PROFILE_NAME_EMPTY = 'PROFILE_NAME_EMPTY',\n PROFILE_NOT_FOUND = 'PROFILE_NOT_FOUND',\n SCANNER_ALREADY_DISABLED = 'SCANNER_ALREADY_DISABLED',\n SCANNER_ALREADY_ENABLED = 'SCANNER_ALREADY_ENABLED',\n SCANNER_DISABLE_FAILED = 'SCANNER_DISABLE_FAILED',\n SCANNER_ENABLE_FAILED = 'SCANNER_ENABLE_FAILED',\n UNKNOWN = 'UNKNOWN',\n}\n\nexport type DataWedgeScalar = string | number | boolean | null;\nexport type DataWedgeParameterValue =\n | DataWedgeScalar\n | DataWedgeScalar[]\n | DataWedgePluginParameters\n | DataWedgePluginParameters[];\n\nexport interface DataWedgePluginParameters {\n [key: string]: DataWedgeParameterValue;\n}\n\nexport interface CloneProfileOptions {\n destProfileName: string;\n sourceProfileName: string;\n}\n\nexport interface CreateProfileOptions {\n profileName: string;\n}\n\nexport interface DataWedgeAppConfig {\n activityList: string[];\n packageName: string;\n}\n\nexport interface DataWedgeNotifyOptions {\n deviceIdentifier: string;\n notificationSettings: number[];\n}\n\nexport interface DataWedgePluginConfig {\n outputPluginName?: DataWedgePlugin;\n paramList: DataWedgePluginParameters;\n pluginName: DataWedgePlugin;\n resetConfig?: boolean;\n}\n\nexport interface DeleteProfileOptions {\n profileNames: string[];\n}\n\nexport interface PluginConfigOptions {\n outputPluginName?: DataWedgePlugin;\n pluginName: DataWedgePlugin;\n}\n\nexport interface GetConfigOptions {\n pluginConfigs?: PluginConfigOptions[];\n profileName: string;\n}\n\nexport interface ImportConfigOptions {\n fileList?: string[];\n folderPath: string;\n}\n\nexport interface RegisterForNotificationOptions {\n appName?: string;\n callback?: (notification: ZebraNotificationEvent) => void;\n intentAction?: string;\n notificationType: DataWedgeNotificationType;\n}\n\nexport interface RegisterScanIntentActionOptions {\n /** DataWedge intent action used for barcode scan broadcasts (physical trigger or soft scan). */\n intentAction: string;\n}\n\nexport interface RenameProfileOptions {\n currentProfileName: string;\n newProfileName: string;\n}\n\nexport interface ReportingOptions {\n reportingEnabled: boolean;\n reportingGenerateOption?: 'manual' | 'auto' | 'both';\n reportingShowForManualImport?: boolean;\n}\n\nexport interface SetConfigOptions {\n appList?: DataWedgeAppConfig[];\n configMode?: DataWedgeConfigMode;\n pluginConfigs?: DataWedgePluginConfig[];\n profileEnabled?: boolean;\n profileName: string;\n /**\n * Registers this intent action in the plugin receiver after a successful `setConfig` (runtime only;\n * call again on every app start). `INTENT` entries in `pluginConfigs` also register their\n * `intent_action` values automatically after a successful `setConfig`, whether or not\n * `scanIntentAction` is supplied.\n */\n scanIntentAction?: string;\n}\n\nexport interface SetDisabledAppListOptions {\n appList?: DataWedgeAppConfig[];\n configMode: DataWedgeConfigMode;\n}\n\nexport interface SwitchScannerParamsOptions {\n scannerIdentifier: ScannerIdentifier;\n scannerParams: DataWedgePluginParameters;\n}\n\nexport interface ZebraDeviceScanner {\n connectionState: boolean;\n id?: string;\n index: number;\n name: string;\n}\n\nexport interface ZebraDeviceVersionInfo {\n barcodeVersion?: string;\n dataWedgeVersion?: string;\n decoderVersion?: string;\n scannerFirmwareVersions?: string[];\n simulScanVersion?: string;\n}\n\nexport interface ZebraError {\n code: ZebraErrorCodes | string;\n message: string;\n}\n\nexport interface ZebraProfileConfiguration {\n appList?: DataWedgeAppConfig[];\n pluginConfigList: DataWedgePluginConfig[];\n profileEnabled: boolean;\n profileName: string;\n}\n\nexport interface ZebraScanResult {\n data: string;\n decodedMode?: string;\n intentAction?: string;\n labelType?: string;\n source?: string;\n}\n\nexport interface ZebraNotificationEvent {\n notificationType: string;\n profileName?: string;\n scannerStatus?: ScannerStatus | string;\n status?: string;\n raw: Record<string, unknown>;\n}\n\nexport interface DataWedgeStatusResult {\n isEnabled: boolean;\n}\n\nexport interface IgnoreDisabledProfilesResult {\n enabled: boolean;\n}\n\nexport interface ZebraDataWedgePlugin extends Plugin {\n cloneProfile(options: CloneProfileOptions): Promise<void>;\n createProfile(options: CreateProfileOptions): Promise<void>;\n deleteProfile(options: DeleteProfileOptions): Promise<void>;\n importConfig(options: ImportConfigOptions): Promise<void>;\n renameProfile(options: RenameProfileOptions): Promise<void>;\n restoreConfig(): Promise<void>;\n setConfig(options: SetConfigOptions): Promise<void>;\n setDisabledAppList(options: SetDisabledAppListOptions): Promise<void>;\n setIgnoreDisabledProfiles(options: IgnoreDisabledProfilesResult): Promise<void>;\n /**\n * Completes when the notification command is dispatched to DataWedge.\n * This does not confirm registration, policy approval, or scanner readiness;\n * observe notification events to determine the scanner's state.\n */\n registerForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void>;\n /**\n * Registers a DataWedge scan broadcast intent action in the Android plugin receiver (runtime only;\n * call again on every app start). Use when your profile uses a custom `intent_action` and scans\n * come from the physical trigger.\n */\n registerScanIntentAction(options: RegisterScanIntentActionOptions): Promise<void>;\n /**\n * Completes when the unregistration command is dispatched to DataWedge.\n * This does not confirm unregistration or policy approval; notifications may already be queued.\n * Dispose of local listeners separately when using the low-level API.\n */\n unRegisterForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void>;\n enumerateScanners(): Promise<{ scanners: ZebraDeviceScanner[] }>;\n getActiveProfile(): Promise<{ profileName: string }>;\n getAssociatedApps(options: { profileName: string }): Promise<{ appList: DataWedgeAppConfig[] }>;\n getConfig(options: GetConfigOptions): Promise<ZebraProfileConfiguration>;\n getDatawedgeStatus(): Promise<DataWedgeStatusResult>;\n getDisabledAppList(): Promise<{ appList: DataWedgeAppConfig[] }>;\n getIgnoreDisabledProfiles(): Promise<IgnoreDisabledProfilesResult>;\n getProfilesList(): Promise<{ profiles: string[] }>;\n getScannerStatus(): Promise<{ status: ScannerStatus | string }>;\n getVersionInfo(): Promise<ZebraDeviceVersionInfo>;\n disableDatawedge(): Promise<void>;\n disableScannerInput(): Promise<void>;\n enableDatawedge(): Promise<void>;\n enableScannerInput(): Promise<void>;\n enumerateTriggers(): Promise<{ triggers: string[] }>;\n notify(options: DataWedgeNotifyOptions): Promise<void>;\n resetDefaultProfile(): Promise<void>;\n setDefaultProfile(options: { profileName: string }): Promise<void>;\n setReportingOptions(options: ReportingOptions): Promise<void>;\n softRfidTrigger(): Promise<ZebraScanResult>;\n softScanTrigger(options: { intentAction: string }): Promise<ZebraScanResult>;\n switchScanner(options: { scannerIndex?: string; scannerIdentifier?: ScannerIdentifier }): Promise<void>;\n switchScannerParams(options: SwitchScannerParamsOptions): Promise<void>;\n switchToProfile(options: { profileName: string }): Promise<void>;\n getPluginVersion(): Promise<PluginVersionResult>;\n addListener(eventName: 'scan', listenerFunc: (event: ZebraScanResult) => void): Promise<PluginListenerHandle>;\n addListener(\n eventName: 'notification',\n listenerFunc: (event: ZebraNotificationEvent) => void,\n ): Promise<PluginListenerHandle>;\n}\n"]}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAMA,MAAM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Y,eAgCX;AAhCD,WAAY,eAAe;IACzB,oEAAiD,CAAA;IACjD,gFAA6D,CAAA;IAC7D,gDAA6B,CAAA;IAC7B,wDAAqC,CAAA;IACrC,kEAA+C,CAAA;IAC/C,4EAAyD,CAAA;IACzD,0EAAuD,CAAA;IACvD,4DAAyC,CAAA;IACzC,gEAA6C,CAAA;IAC7C,gEAA6C,CAAA;IAC7C,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,kEAA+C,CAAA;IAC/C,0DAAuC,CAAA;IACvC,kEAA+C,CAAA;IAC/C,sDAAmC,CAAA;IACnC,0EAAuD,CAAA;IACvD,gEAA6C,CAAA;IAC7C,oEAAiD,CAAA;IACjD,8DAA2C,CAAA;IAC3C,wDAAqC,CAAA;IACrC,8EAA2D,CAAA;IAC3D,4DAAyC,CAAA;IACzC,0DAAuC,CAAA;IACvC,wEAAqD,CAAA;IACrD,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;IACjD,kEAA+C,CAAA;IAC/C,sCAAmB,CAAA;AACrB,CAAC,EAhCW,eAAe,KAAf,eAAe,QAgC1B","sourcesContent":["import type { Plugin, PluginListenerHandle } from '@capacitor/core';\n\nexport interface PluginVersionResult {\n version: string;\n}\n\nexport enum DataWedgeConfigMode {\n CREATE_IF_NOT_EXIST = 'CREATE_IF_NOT_EXIST',\n OVERWRITE = 'OVERWRITE',\n REMOVE = 'REMOVE',\n UPDATE = 'UPDATE',\n}\n\nexport enum DataWedgeNotificationType {\n CONFIGURATION_UPDATE = 'CONFIGURATION_UPDATE',\n PROFILE_SWITCH = 'PROFILE_SWITCH',\n SCANNER_STATUS = 'SCANNER_STATUS',\n}\n\nexport enum DataWedgePlugin {\n ADF = 'ADF',\n BARCODE = 'BARCODE',\n BDF = 'BDF',\n DCP = 'DCP',\n EKB = 'EKB',\n INTENT = 'INTENT',\n IP = 'IP',\n KEYSTROKE = 'KEYSTROKE',\n MSR = 'MSR',\n RFID = 'RFID',\n SERIAL = 'SERIAL',\n TOKENS = 'TOKENS',\n VOICE = 'VOICE',\n}\n\nexport enum ScannerIdentifier {\n AUTO = 'AUTO',\n BLUETOOTH_DS3678 = 'BLUETOOTH_DS3678',\n BLUETOOTH_RS6000 = 'BLUETOOTH_RS6000',\n BLUETOOTH_SSI = 'BLUETOOTH_SSI',\n INTERNAL_CAMERA = 'INTERNAL_CAMERA',\n INTERNAL_IMAGER = 'INTERNAL_IMAGER',\n INTERNAL_LASER = 'INTERNAL_LASER',\n PLUGABLE_SSI = 'PLUGABLE_SSI',\n PLUGABLE_SSI_RS5000 = 'PLUGABLE_SSI_RS5000',\n SERIAL_SSI = 'SERIAL_SSI',\n USB_SSI_DS3608 = 'USB_SSI_DS3608',\n}\n\nexport enum ScannerStatus {\n CONNECTED = 'CONNECTED',\n DISABLED = 'DISABLED',\n DISCONNECTED = 'DISCONNECTED',\n IDLE = 'IDLE',\n SCANNING = 'SCANNING',\n WAITING = 'WAITING',\n}\n\nexport enum ZebraErrorCodes {\n APP_ALREADY_ASSOCIATED = 'APP_ALREADY_ASSOCIATED',\n APP_ALREADY_IN_DISABLED_LIST = 'APP_ALREADY_IN_DISABLED_LIST',\n BUNDLE_EMPTY = 'BUNDLE_EMPTY',\n CANNOT_READ_FILE = 'CANNOT_READ_FILE',\n CONFIG_FILE_NOT_EXIST = 'CONFIG_FILE_NOT_EXIST',\n DATAWEDGE_ALREADY_DISABLED = 'DATAWEDGE_ALREADY_DISABLED',\n DATAWEDGE_ALREADY_ENABLED = 'DATAWEDGE_ALREADY_ENABLED',\n DATAWEDGE_DISABLED = 'DATAWEDGE_DISABLED',\n DEVICE_NOT_CONNECTED = 'DEVICE_NOT_CONNECTED',\n DEVICE_NOT_SUPPORTED = 'DEVICE_NOT_SUPPORTED',\n INPUT_NOT_ENABLED = 'INPUT_NOT_ENABLED',\n INVALID_CONFIG_FILE = 'INVALID_CONFIG_FILE',\n INVALID_FILE_NAME = 'INVALID_FILE_NAME',\n INVALID_FOLDER_PATH = 'INVALID_FOLDER_PATH',\n OPERATION_NOT_ALLOWED = 'OPERATION_NOT_ALLOWED',\n PARAMETER_INVALID = 'PARAMETER_INVALID',\n PLUGIN_BUNDLE_INVALID = 'PLUGIN_BUNDLE_INVALID',\n PLUGIN_DISABLED = 'PLUGIN_DISABLED',\n PLUGIN_DISABLED_IN_CONFIG = 'PLUGIN_DISABLED_IN_CONFIG',\n PLUGIN_NOT_SUPPORTED = 'PLUGIN_NOT_SUPPORTED',\n PROFILE_ALREADY_EXISTS = 'PROFILE_ALREADY_EXISTS',\n PROFILE_ALREADY_SET = 'PROFILE_ALREADY_SET',\n PROFILE_DISABLED = 'PROFILE_DISABLED',\n PROFILE_HAS_APP_ASSOCIATION = 'PROFILE_HAS_APP_ASSOCIATION',\n PROFILE_NAME_EMPTY = 'PROFILE_NAME_EMPTY',\n PROFILE_NOT_FOUND = 'PROFILE_NOT_FOUND',\n SCANNER_ALREADY_DISABLED = 'SCANNER_ALREADY_DISABLED',\n SCANNER_ALREADY_ENABLED = 'SCANNER_ALREADY_ENABLED',\n SCANNER_DISABLE_FAILED = 'SCANNER_DISABLE_FAILED',\n SCANNER_ENABLE_FAILED = 'SCANNER_ENABLE_FAILED',\n UNKNOWN = 'UNKNOWN',\n}\n\nexport type DataWedgeScalar = string | number | boolean | null;\nexport type DataWedgeParameterValue =\n | DataWedgeScalar\n | DataWedgeScalar[]\n | DataWedgePluginParameters\n | DataWedgePluginParameters[];\n\nexport interface DataWedgePluginParameters {\n [key: string]: DataWedgeParameterValue;\n}\n\nexport interface CloneProfileOptions {\n destProfileName: string;\n sourceProfileName: string;\n}\n\nexport interface CreateProfileOptions {\n profileName: string;\n}\n\nexport interface DataWedgeAppConfig {\n activityList: string[];\n packageName: string;\n}\n\nexport interface DataWedgeNotifyOptions {\n deviceIdentifier: string;\n notificationSettings: number[];\n}\n\nexport interface DataWedgePluginConfig {\n outputPluginName?: DataWedgePlugin;\n paramList: DataWedgePluginParameters;\n pluginName: DataWedgePlugin;\n resetConfig?: boolean;\n}\n\nexport interface DeleteProfileOptions {\n profileNames: string[];\n}\n\nexport interface PluginConfigOptions {\n outputPluginName?: DataWedgePlugin;\n pluginName: DataWedgePlugin;\n}\n\nexport interface GetConfigOptions {\n pluginConfigs?: PluginConfigOptions[];\n profileName: string;\n}\n\nexport interface ImportConfigOptions {\n fileList?: string[];\n folderPath: string;\n}\n\nexport interface RegisterForNotificationOptions {\n appName?: string;\n callback?: (notification: ZebraNotificationEvent) => void;\n intentAction?: string;\n notificationType: DataWedgeNotificationType;\n}\n\nexport interface RegisterScanIntentActionOptions {\n /** DataWedge intent action used for barcode scan broadcasts (physical trigger or soft scan). */\n intentAction: string;\n}\n\nexport interface RenameProfileOptions {\n currentProfileName: string;\n newProfileName: string;\n}\n\nexport interface ReportingOptions {\n reportingEnabled: boolean;\n reportingGenerateOption?: 'manual' | 'auto' | 'both';\n reportingShowForManualImport?: boolean;\n}\n\nexport interface SetConfigOptions {\n appList?: DataWedgeAppConfig[];\n configMode?: DataWedgeConfigMode;\n pluginConfigs?: DataWedgePluginConfig[];\n profileEnabled?: boolean;\n profileName: string;\n /**\n * Registers this intent action in the plugin receiver after a successful `setConfig` (runtime only;\n * call again on every app start). `INTENT` entries in `pluginConfigs` also register their\n * `intent_action` values automatically after a successful `setConfig`, whether or not\n * `scanIntentAction` is supplied.\n */\n scanIntentAction?: string;\n}\n\nexport interface SetDisabledAppListOptions {\n appList?: DataWedgeAppConfig[];\n configMode: DataWedgeConfigMode;\n}\n\nexport interface SwitchScannerParamsOptions {\n scannerIdentifier: ScannerIdentifier;\n scannerParams: DataWedgePluginParameters;\n}\n\nexport interface ZebraDeviceScanner {\n connectionState: boolean;\n id?: string;\n index: number;\n name: string;\n}\n\nexport interface ZebraDeviceVersionInfo {\n barcodeVersion?: string;\n dataWedgeVersion?: string;\n decoderVersion?: string;\n scannerFirmwareVersions?: string[];\n simulScanVersion?: string;\n}\n\nexport interface ZebraError {\n code: ZebraErrorCodes | string;\n message: string;\n}\n\nexport interface ZebraProfileConfiguration {\n appList?: DataWedgeAppConfig[];\n pluginConfigList: DataWedgePluginConfig[];\n profileEnabled: boolean;\n profileName: string;\n}\n\nexport interface ZebraScanResult {\n data: string;\n decodedMode?: string;\n intentAction?: string;\n labelType?: string;\n source?: string;\n}\n\nexport interface ZebraNotificationEvent {\n notificationType: string;\n profileName?: string;\n scannerStatus?: ScannerStatus | string;\n status?: string;\n raw: Record<string, unknown>;\n}\n\nexport interface DataWedgeStatusResult {\n isEnabled: boolean;\n}\n\nexport interface IgnoreDisabledProfilesResult {\n enabled: boolean;\n}\n\nexport interface DiagnosticsOptions {\n /** Enable metadata tracing. Disabled by default; disabling does not erase previous entries. */\n enabled: boolean;\n /** Number of recent entries retained, from 1 to 1000. Initially 100; omitted values preserve the current capacity. */\n maxEntries?: number;\n /** Clear retained entries and reset elapsed time and dropped count. Default: false. */\n reset?: boolean;\n}\n\nexport interface DataWedgeDiagnosticsSnapshot {\n diagnosticsVersion: number;\n enabled: boolean;\n maxEntries: number;\n droppedEntries: number;\n manufacturer: string;\n model: string;\n androidVersion: string;\n /** notFound means Android could not find the package; it is not a service-permission check. */\n dataWedgePackage: { status: 'installed' | 'notFound' | 'unavailable'; version?: string };\n commands: {\n commandIdentifier: string;\n outcome: 'SENT' | 'SUCCESS' | 'FAILURE' | 'TIMEOUT' | 'TRANSPORT_ERROR' | 'CANCELLED' | 'INVALID_RESPONSE';\n elapsedMs: number;\n }[];\n}\n\nexport interface ZebraDataWedgePlugin extends Plugin {\n /** Configure opt-in native command metadata tracing. Never enables DataWedge or scanner input. */\n configureDiagnostics(options: DiagnosticsOptions): Promise<void>;\n /**\n * Return a read-only native environment and trace snapshot. Does not send any DataWedge commands.\n * Barcode values, intent bodies and arbitrary exception text are excluded. The application decides\n * which device information to include when sharing this snapshot. Android only.\n */\n getDiagnostics(): Promise<DataWedgeDiagnosticsSnapshot>;\n cloneProfile(options: CloneProfileOptions): Promise<void>;\n createProfile(options: CreateProfileOptions): Promise<void>;\n deleteProfile(options: DeleteProfileOptions): Promise<void>;\n importConfig(options: ImportConfigOptions): Promise<void>;\n renameProfile(options: RenameProfileOptions): Promise<void>;\n restoreConfig(): Promise<void>;\n setConfig(options: SetConfigOptions): Promise<void>;\n setDisabledAppList(options: SetDisabledAppListOptions): Promise<void>;\n setIgnoreDisabledProfiles(options: IgnoreDisabledProfilesResult): Promise<void>;\n /**\n * Completes when the notification command is dispatched to DataWedge.\n * This does not confirm registration, policy approval, or scanner readiness;\n * observe notification events to determine the scanner's state.\n */\n registerForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void>;\n /**\n * Registers a DataWedge scan broadcast intent action in the Android plugin receiver (runtime only;\n * call again on every app start). Use when your profile uses a custom `intent_action` and scans\n * come from the physical trigger.\n */\n registerScanIntentAction(options: RegisterScanIntentActionOptions): Promise<void>;\n /**\n * Completes when the unregistration command is dispatched to DataWedge.\n * This does not confirm unregistration or policy approval; notifications may already be queued.\n * Dispose of local listeners separately when using the low-level API.\n */\n unRegisterForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n enumerateScanners(): Promise<{ scanners: ZebraDeviceScanner[] }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getActiveProfile(): Promise<{ profileName: string }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. For example,\n * `getAssociatedApps()` and `getConfig()` both send `CMD_GET_CONFIG` and expect `CONFIG_RESULTS`, so one\n * pending call to each overlaps. When sender identity is unavailable (Android API 24 to 33, or API\n * 34+ when the platform withholds it), matching identifier-free replies are accepted for\n * compatibility. If a call times out, a delayed identifier-free reply can still match a later\n * sequential call that expects the same shape and resolve it with stale data. This default may\n * change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getAssociatedApps(options: { profileName: string }): Promise<{ appList: DataWedgeAppConfig[] }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. For example,\n * `getAssociatedApps()` and `getConfig()` both send `CMD_GET_CONFIG` and expect `CONFIG_RESULTS`, so one\n * pending call to each overlaps. When sender identity is unavailable (Android API 24 to 33, or API\n * 34+ when the platform withholds it), matching identifier-free replies are accepted for\n * compatibility. If a call times out, a delayed identifier-free reply can still match a later\n * sequential call that expects the same shape and resolve it with stale data. This default may\n * change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getConfig(options: GetConfigOptions): Promise<ZebraProfileConfiguration>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getDatawedgeStatus(): Promise<DataWedgeStatusResult>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getDisabledAppList(): Promise<{ appList: DataWedgeAppConfig[] }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getIgnoreDisabledProfiles(): Promise<IgnoreDisabledProfilesResult>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getProfilesList(): Promise<{ profiles: string[] }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getScannerStatus(): Promise<{ status: ScannerStatus | string }>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n getVersionInfo(): Promise<ZebraDeviceVersionInfo>;\n disableDatawedge(): Promise<void>;\n disableScannerInput(): Promise<void>;\n enableDatawedge(): Promise<void>;\n enableScannerInput(): Promise<void>;\n /**\n * Android only. DataWedge may omit `COMMAND_IDENTIFIER` on query replies. The plugin accepts\n * identifier-free replies only when the payload matches exactly one pending call that expects the\n * same result payload shape. Avoid overlapping pending calls that share that shape. When sender\n * identity is unavailable (Android API 24 to 33, or API 34+ when the platform withholds it),\n * matching identifier-free replies are accepted for compatibility. If a call times out, a delayed\n * identifier-free reply can still match a later sequential call that expects the same shape and\n * resolve it with stale data. This default may change in the next Capacitor major version; see\n * https://github.com/Cap-go/capacitor-zebra-datawedge/issues/25/.\n */\n enumerateTriggers(): Promise<{ triggers: string[] }>;\n notify(options: DataWedgeNotifyOptions): Promise<void>;\n resetDefaultProfile(): Promise<void>;\n setDefaultProfile(options: { profileName: string }): Promise<void>;\n setReportingOptions(options: ReportingOptions): Promise<void>;\n softRfidTrigger(): Promise<ZebraScanResult>;\n softScanTrigger(options: { intentAction: string }): Promise<ZebraScanResult>;\n switchScanner(options: { scannerIndex?: string; scannerIdentifier?: ScannerIdentifier }): Promise<void>;\n switchScannerParams(options: SwitchScannerParamsOptions): Promise<void>;\n switchToProfile(options: { profileName: string }): Promise<void>;\n getPluginVersion(): Promise<PluginVersionResult>;\n addListener(eventName: 'scan', listenerFunc: (event: ZebraScanResult) => void): Promise<PluginListenerHandle>;\n addListener(\n eventName: 'notification',\n listenerFunc: (event: ZebraNotificationEvent) => void,\n ): Promise<PluginListenerHandle>;\n}\n"]}
package/dist/esm/web.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { WebPlugin } from '@capacitor/core';
2
- import type { CloneProfileOptions, CreateProfileOptions, DataWedgeNotifyOptions, DataWedgeStatusResult, DeleteProfileOptions, GetConfigOptions, IgnoreDisabledProfilesResult, ImportConfigOptions, PluginVersionResult, RegisterForNotificationOptions, RegisterScanIntentActionOptions, RenameProfileOptions, ReportingOptions, SetConfigOptions, SetDisabledAppListOptions, SwitchScannerParamsOptions, ZebraDataWedgePlugin, ZebraProfileConfiguration, ZebraScanResult } from './definitions';
2
+ import type { CloneProfileOptions, DiagnosticsOptions, DataWedgeDiagnosticsSnapshot, CreateProfileOptions, DataWedgeNotifyOptions, DataWedgeStatusResult, DeleteProfileOptions, GetConfigOptions, IgnoreDisabledProfilesResult, ImportConfigOptions, PluginVersionResult, RegisterForNotificationOptions, RegisterScanIntentActionOptions, RenameProfileOptions, ReportingOptions, SetConfigOptions, SetDisabledAppListOptions, SwitchScannerParamsOptions, ZebraDataWedgePlugin, ZebraProfileConfiguration, ZebraScanResult } from './definitions';
3
3
  export declare class ZebraDataWedgeWeb extends WebPlugin implements ZebraDataWedgePlugin {
4
+ configureDiagnostics(options: DiagnosticsOptions): Promise<void>;
5
+ getDiagnostics(): Promise<DataWedgeDiagnosticsSnapshot>;
4
6
  cloneProfile(options: CloneProfileOptions): Promise<void>;
5
7
  createProfile(options: CreateProfileOptions): Promise<void>;
6
8
  deleteProfile(options: DeleteProfileOptions): Promise<void>;
package/dist/esm/web.js CHANGED
@@ -4,6 +4,12 @@ const unavailable = (...args) => {
4
4
  throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');
5
5
  };
6
6
  export class ZebraDataWedgeWeb extends WebPlugin {
7
+ configureDiagnostics(options) {
8
+ return unavailable(options);
9
+ }
10
+ getDiagnostics() {
11
+ return unavailable();
12
+ }
7
13
  cloneProfile(options) {
8
14
  return unavailable(options);
9
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAwB5C,MAAM,WAAW,GAAG,CAAC,GAAG,IAAe,EAAE,EAAE;IACzC,KAAK,IAAI,CAAC;IACV,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;AAC1G,CAAC,CAAC;AAEF,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,YAAY,CAAC,OAA4B;QACvC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,aAAa,CAAC,OAA6B;QACzC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,aAAa,CAAC,OAA6B;QACzC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,YAAY,CAAC,OAA4B;QACvC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,aAAa,CAAC,OAA6B;QACzC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,aAAa;QAC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C;IAED,eAAe;QACb,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,kBAAkB;QAChB,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,iBAAiB;QACf,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,MAAM,CAAC,OAA+B;QACpC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,mBAAmB;QACjB,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,iBAAiB,CAAC,OAAgC;QAChD,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,mBAAmB,CAAC,OAAyB;QAC3C,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,eAAe;QACb,OAAO,WAAW,EAAE,CAAC;IACvB,CAAC;IAED,eAAe,CAAC,OAAiC;QAC/C,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,aAAa,CAAC,OAA8D;QAC1E,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,mBAAmB,CAAC,OAAmC;QACrD,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,eAAe,CAAC,OAAgC;QAC9C,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n CloneProfileOptions,\n CreateProfileOptions,\n DataWedgeNotifyOptions,\n DataWedgeStatusResult,\n DeleteProfileOptions,\n GetConfigOptions,\n IgnoreDisabledProfilesResult,\n ImportConfigOptions,\n PluginVersionResult,\n RegisterForNotificationOptions,\n RegisterScanIntentActionOptions,\n RenameProfileOptions,\n ReportingOptions,\n SetConfigOptions,\n SetDisabledAppListOptions,\n SwitchScannerParamsOptions,\n ZebraDataWedgePlugin,\n ZebraProfileConfiguration,\n ZebraScanResult,\n} from './definitions';\n\nconst unavailable = (...args: unknown[]) => {\n void args;\n throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');\n};\n\nexport class ZebraDataWedgeWeb extends WebPlugin implements ZebraDataWedgePlugin {\n cloneProfile(options: CloneProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n createProfile(options: CreateProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n deleteProfile(options: DeleteProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n importConfig(options: ImportConfigOptions): Promise<void> {\n return unavailable(options);\n }\n\n renameProfile(options: RenameProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n restoreConfig(): Promise<void> {\n return unavailable();\n }\n\n setConfig(options: SetConfigOptions): Promise<void> {\n return unavailable(options);\n }\n\n setDisabledAppList(options: SetDisabledAppListOptions): Promise<void> {\n return unavailable(options);\n }\n\n setIgnoreDisabledProfiles(options: IgnoreDisabledProfilesResult): Promise<void> {\n return unavailable(options);\n }\n\n registerForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void> {\n return unavailable(options);\n }\n\n registerScanIntentAction(options: RegisterScanIntentActionOptions): Promise<void> {\n return unavailable(options);\n }\n\n unRegisterForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void> {\n return unavailable(options);\n }\n\n enumerateScanners(): Promise<{ scanners: never[] }> {\n return unavailable();\n }\n\n getActiveProfile(): Promise<{ profileName: string }> {\n return unavailable();\n }\n\n getAssociatedApps(options: { profileName: string }): Promise<{ appList: never[] }> {\n return unavailable(options);\n }\n\n getConfig(options: GetConfigOptions): Promise<ZebraProfileConfiguration> {\n return unavailable(options);\n }\n\n getDatawedgeStatus(): Promise<DataWedgeStatusResult> {\n return unavailable();\n }\n\n getDisabledAppList(): Promise<{ appList: never[] }> {\n return unavailable();\n }\n\n getIgnoreDisabledProfiles(): Promise<IgnoreDisabledProfilesResult> {\n return unavailable();\n }\n\n getProfilesList(): Promise<{ profiles: string[] }> {\n return unavailable();\n }\n\n getScannerStatus(): Promise<{ status: string }> {\n return unavailable();\n }\n\n getVersionInfo(): Promise<Record<string, never>> {\n return unavailable();\n }\n\n disableDatawedge(): Promise<void> {\n return unavailable();\n }\n\n disableScannerInput(): Promise<void> {\n return unavailable();\n }\n\n enableDatawedge(): Promise<void> {\n return unavailable();\n }\n\n enableScannerInput(): Promise<void> {\n return unavailable();\n }\n\n enumerateTriggers(): Promise<{ triggers: string[] }> {\n return unavailable();\n }\n\n notify(options: DataWedgeNotifyOptions): Promise<void> {\n return unavailable(options);\n }\n\n resetDefaultProfile(): Promise<void> {\n return unavailable();\n }\n\n setDefaultProfile(options: { profileName: string }): Promise<void> {\n return unavailable(options);\n }\n\n setReportingOptions(options: ReportingOptions): Promise<void> {\n return unavailable(options);\n }\n\n softRfidTrigger(): Promise<ZebraScanResult> {\n return unavailable();\n }\n\n softScanTrigger(options: { intentAction: string }): Promise<ZebraScanResult> {\n return unavailable(options);\n }\n\n switchScanner(options: { scannerIndex?: string; scannerIdentifier?: string }): Promise<void> {\n return unavailable(options);\n }\n\n switchScannerParams(options: SwitchScannerParamsOptions): Promise<void> {\n return unavailable(options);\n }\n\n switchToProfile(options: { profileName: string }): Promise<void> {\n return unavailable(options);\n }\n\n async getPluginVersion(): Promise<PluginVersionResult> {\n return { version: 'web' };\n }\n}\n"]}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AA0B5C,MAAM,WAAW,GAAG,CAAC,GAAG,IAAe,EAAE,EAAE;IACzC,KAAK,IAAI,CAAC;IACV,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;AAC1G,CAAC,CAAC;AAEF,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,oBAAoB,CAAC,OAA2B;QAC9C,OAAO,WAAW,CA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AAC,CAAC;IAC9B,CAAC;IAED,eAAe,CAAC,OAAgC;QAC9C,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n CloneProfileOptions,\n DiagnosticsOptions,\n DataWedgeDiagnosticsSnapshot,\n CreateProfileOptions,\n DataWedgeNotifyOptions,\n DataWedgeStatusResult,\n DeleteProfileOptions,\n GetConfigOptions,\n IgnoreDisabledProfilesResult,\n ImportConfigOptions,\n PluginVersionResult,\n RegisterForNotificationOptions,\n RegisterScanIntentActionOptions,\n RenameProfileOptions,\n ReportingOptions,\n SetConfigOptions,\n SetDisabledAppListOptions,\n SwitchScannerParamsOptions,\n ZebraDataWedgePlugin,\n ZebraProfileConfiguration,\n ZebraScanResult,\n} from './definitions';\n\nconst unavailable = (...args: unknown[]) => {\n void args;\n throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');\n};\n\nexport class ZebraDataWedgeWeb extends WebPlugin implements ZebraDataWedgePlugin {\n configureDiagnostics(options: DiagnosticsOptions): Promise<void> {\n return unavailable(options);\n }\n getDiagnostics(): Promise<DataWedgeDiagnosticsSnapshot> {\n return unavailable();\n }\n\n cloneProfile(options: CloneProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n createProfile(options: CreateProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n deleteProfile(options: DeleteProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n importConfig(options: ImportConfigOptions): Promise<void> {\n return unavailable(options);\n }\n\n renameProfile(options: RenameProfileOptions): Promise<void> {\n return unavailable(options);\n }\n\n restoreConfig(): Promise<void> {\n return unavailable();\n }\n\n setConfig(options: SetConfigOptions): Promise<void> {\n return unavailable(options);\n }\n\n setDisabledAppList(options: SetDisabledAppListOptions): Promise<void> {\n return unavailable(options);\n }\n\n setIgnoreDisabledProfiles(options: IgnoreDisabledProfilesResult): Promise<void> {\n return unavailable(options);\n }\n\n registerForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void> {\n return unavailable(options);\n }\n\n registerScanIntentAction(options: RegisterScanIntentActionOptions): Promise<void> {\n return unavailable(options);\n }\n\n unRegisterForNotification(options: Omit<RegisterForNotificationOptions, 'callback'>): Promise<void> {\n return unavailable(options);\n }\n\n enumerateScanners(): Promise<{ scanners: never[] }> {\n return unavailable();\n }\n\n getActiveProfile(): Promise<{ profileName: string }> {\n return unavailable();\n }\n\n getAssociatedApps(options: { profileName: string }): Promise<{ appList: never[] }> {\n return unavailable(options);\n }\n\n getConfig(options: GetConfigOptions): Promise<ZebraProfileConfiguration> {\n return unavailable(options);\n }\n\n getDatawedgeStatus(): Promise<DataWedgeStatusResult> {\n return unavailable();\n }\n\n getDisabledAppList(): Promise<{ appList: never[] }> {\n return unavailable();\n }\n\n getIgnoreDisabledProfiles(): Promise<IgnoreDisabledProfilesResult> {\n return unavailable();\n }\n\n getProfilesList(): Promise<{ profiles: string[] }> {\n return unavailable();\n }\n\n getScannerStatus(): Promise<{ status: string }> {\n return unavailable();\n }\n\n getVersionInfo(): Promise<Record<string, never>> {\n return unavailable();\n }\n\n disableDatawedge(): Promise<void> {\n return unavailable();\n }\n\n disableScannerInput(): Promise<void> {\n return unavailable();\n }\n\n enableDatawedge(): Promise<void> {\n return unavailable();\n }\n\n enableScannerInput(): Promise<void> {\n return unavailable();\n }\n\n enumerateTriggers(): Promise<{ triggers: string[] }> {\n return unavailable();\n }\n\n notify(options: DataWedgeNotifyOptions): Promise<void> {\n return unavailable(options);\n }\n\n resetDefaultProfile(): Promise<void> {\n return unavailable();\n }\n\n setDefaultProfile(options: { profileName: string }): Promise<void> {\n return unavailable(options);\n }\n\n setReportingOptions(options: ReportingOptions): Promise<void> {\n return unavailable(options);\n }\n\n softRfidTrigger(): Promise<ZebraScanResult> {\n return unavailable();\n }\n\n softScanTrigger(options: { intentAction: string }): Promise<ZebraScanResult> {\n return unavailable(options);\n }\n\n switchScanner(options: { scannerIndex?: string; scannerIdentifier?: string }): Promise<void> {\n return unavailable(options);\n }\n\n switchScannerParams(options: SwitchScannerParamsOptions): Promise<void> {\n return unavailable(options);\n }\n\n switchToProfile(options: { profileName: string }): Promise<void> {\n return unavailable(options);\n }\n\n async getPluginVersion(): Promise<PluginVersionResult> {\n return { version: 'web' };\n }\n}\n"]}
@@ -230,6 +230,12 @@ const unavailable = (...args) => {
230
230
  throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');
231
231
  };
232
232
  class ZebraDataWedgeWeb extends core.WebPlugin {
233
+ configureDiagnostics(options) {
234
+ return unavailable(options);
235
+ }
236
+ getDiagnostics() {
237
+ return unavailable();
238
+ }
233
239
  cloneProfile(options) {
234
240
  return unavailable(options);
235
241
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/notification-registration.js","esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["/** Keep listener installation and native dispatch in one ordered operation per registration key. */\nexport function createZebraNotification(native) {\n const registrations = new Map();\n const pendingOperations = new Map();\n const keyFor = (options) => { var _a, _b; return `${(_a = options.appName) !== null && _a !== void 0 ? _a : ''}:${(_b = options.intentAction) !== null && _b !== void 0 ? _b : ''}:${options.notificationType}`; };\n function serialize(key, operation) {\n var _a;\n const previous = (_a = pendingOperations.get(key)) !== null && _a !== void 0 ? _a : Promise.resolve();\n const pending = previous.catch(() => undefined).then(operation);\n pendingOperations.set(key, pending);\n function clear() {\n if (pendingOperations.get(key) === pending)\n pendingOperations.delete(key);\n }\n // Both handlers resolve: cleaning the queue must not create an unhandled rejection.\n void pending.then(clear, clear);\n return pending;\n }\n return {\n registerForNotification(options) {\n const nativeOptions = {\n appName: options.appName,\n intentAction: options.intentAction,\n notificationType: options.notificationType,\n };\n const callback = options.callback;\n const key = keyFor(nativeOptions);\n return serialize(key, async () => {\n var _a;\n if (!callback) {\n await native.registerForNotification(nativeOptions);\n return;\n }\n const previous = registrations.get(key);\n const previousActive = (_a = previous === null || previous === void 0 ? void 0 : previous.active) !== null && _a !== void 0 ? _a : false;\n let active = true;\n // Subscribe first: DataWedge may emit status before native dispatch resolves.\n const handle = await native.addListener('notification', (event) => {\n if (active && event.notificationType === nativeOptions.notificationType)\n callback(event);\n });\n const registration = {\n handle,\n get active() {\n return active;\n },\n set active(value) {\n active = value;\n },\n };\n if (previous)\n previous.active = false;\n registrations.set(key, registration);\n try {\n await native.registerForNotification(nativeOptions);\n }\n catch (error) {\n registration.active = false;\n if (previous) {\n previous.active = previousActive;\n registrations.set(key, previous);\n }\n else {\n registrations.delete(key);\n }\n // Preserve the dispatch error even if listener cleanup itself fails.\n await handle.remove().catch(() => undefined);\n throw error;\n }\n if (previous) {\n // An inactive old callback cannot fire even if removing its native handle fails.\n await previous.handle.remove().catch(() => undefined);\n }\n });\n },\n unRegisterForNotification(options) {\n const key = keyFor(options);\n return serialize(key, async () => {\n await native.unRegisterForNotification(options);\n const registration = registrations.get(key);\n if (registration) {\n registration.active = false;\n // Preserve the wrapper's cleanup contract: retain an inactive handle if removal fails,\n // so a later unregister can retry instead of forgetting the still-installed listener.\n await registration.handle.remove();\n registrations.delete(key);\n }\n });\n },\n };\n}\n//# sourceMappingURL=notification-registration.js.map","export var DataWedgeConfigMode;\n(function (DataWedgeConfigMode) {\n DataWedgeConfigMode[\"CREATE_IF_NOT_EXIST\"] = \"CREATE_IF_NOT_EXIST\";\n DataWedgeConfigMode[\"OVERWRITE\"] = \"OVERWRITE\";\n DataWedgeConfigMode[\"REMOVE\"] = \"REMOVE\";\n DataWedgeConfigMode[\"UPDATE\"] = \"UPDATE\";\n})(DataWedgeConfigMode || (DataWedgeConfigMode = {}));\nexport var DataWedgeNotificationType;\n(function (DataWedgeNotificationType) {\n DataWedgeNotificationType[\"CONFIGURATION_UPDATE\"] = \"CONFIGURATION_UPDATE\";\n DataWedgeNotificationType[\"PROFILE_SWITCH\"] = \"PROFILE_SWITCH\";\n DataWedgeNotificationType[\"SCANNER_STATUS\"] = \"SCANNER_STATUS\";\n})(DataWedgeNotificationType || (DataWedgeNotificationType = {}));\nexport var DataWedgePlugin;\n(function (DataWedgePlugin) {\n DataWedgePlugin[\"ADF\"] = \"ADF\";\n DataWedgePlugin[\"BARCODE\"] = \"BARCODE\";\n DataWedgePlugin[\"BDF\"] = \"BDF\";\n DataWedgePlugin[\"DCP\"] = \"DCP\";\n DataWedgePlugin[\"EKB\"] = \"EKB\";\n DataWedgePlugin[\"INTENT\"] = \"INTENT\";\n DataWedgePlugin[\"IP\"] = \"IP\";\n DataWedgePlugin[\"KEYSTROKE\"] = \"KEYSTROKE\";\n DataWedgePlugin[\"MSR\"] = \"MSR\";\n DataWedgePlugin[\"RFID\"] = \"RFID\";\n DataWedgePlugin[\"SERIAL\"] = \"SERIAL\";\n DataWedgePlugin[\"TOKENS\"] = \"TOKENS\";\n DataWedgePlugin[\"VOICE\"] = \"VOICE\";\n})(DataWedgePlugin || (DataWedgePlugin = {}));\nexport var ScannerIdentifier;\n(function (ScannerIdentifier) {\n ScannerIdentifier[\"AUTO\"] = \"AUTO\";\n ScannerIdentifier[\"BLUETOOTH_DS3678\"] = \"BLUETOOTH_DS3678\";\n ScannerIdentifier[\"BLUETOOTH_RS6000\"] = \"BLUETOOTH_RS6000\";\n ScannerIdentifier[\"BLUETOOTH_SSI\"] = \"BLUETOOTH_SSI\";\n ScannerIdentifier[\"INTERNAL_CAMERA\"] = \"INTERNAL_CAMERA\";\n ScannerIdentifier[\"INTERNAL_IMAGER\"] = \"INTERNAL_IMAGER\";\n ScannerIdentifier[\"INTERNAL_LASER\"] = \"INTERNAL_LASER\";\n ScannerIdentifier[\"PLUGABLE_SSI\"] = \"PLUGABLE_SSI\";\n ScannerIdentifier[\"PLUGABLE_SSI_RS5000\"] = \"PLUGABLE_SSI_RS5000\";\n ScannerIdentifier[\"SERIAL_SSI\"] = \"SERIAL_SSI\";\n ScannerIdentifier[\"USB_SSI_DS3608\"] = \"USB_SSI_DS3608\";\n})(ScannerIdentifier || (ScannerIdentifier = {}));\nexport var ScannerStatus;\n(function (ScannerStatus) {\n ScannerStatus[\"CONNECTED\"] = \"CONNECTED\";\n ScannerStatus[\"DISABLED\"] = \"DISABLED\";\n ScannerStatus[\"DISCONNECTED\"] = \"DISCONNECTED\";\n ScannerStatus[\"IDLE\"] = \"IDLE\";\n ScannerStatus[\"SCANNING\"] = \"SCANNING\";\n ScannerStatus[\"WAITING\"] = \"WAITING\";\n})(ScannerStatus || (ScannerStatus = {}));\nexport var ZebraErrorCodes;\n(function (ZebraErrorCodes) {\n ZebraErrorCodes[\"APP_ALREADY_ASSOCIATED\"] = \"APP_ALREADY_ASSOCIATED\";\n ZebraErrorCodes[\"APP_ALREADY_IN_DISABLED_LIST\"] = \"APP_ALREADY_IN_DISABLED_LIST\";\n ZebraErrorCodes[\"BUNDLE_EMPTY\"] = \"BUNDLE_EMPTY\";\n ZebraErrorCodes[\"CANNOT_READ_FILE\"] = \"CANNOT_READ_FILE\";\n ZebraErrorCodes[\"CONFIG_FILE_NOT_EXIST\"] = \"CONFIG_FILE_NOT_EXIST\";\n ZebraErrorCodes[\"DATAWEDGE_ALREADY_DISABLED\"] = \"DATAWEDGE_ALREADY_DISABLED\";\n ZebraErrorCodes[\"DATAWEDGE_ALREADY_ENABLED\"] = \"DATAWEDGE_ALREADY_ENABLED\";\n ZebraErrorCodes[\"DATAWEDGE_DISABLED\"] = \"DATAWEDGE_DISABLED\";\n ZebraErrorCodes[\"DEVICE_NOT_CONNECTED\"] = \"DEVICE_NOT_CONNECTED\";\n ZebraErrorCodes[\"DEVICE_NOT_SUPPORTED\"] = \"DEVICE_NOT_SUPPORTED\";\n ZebraErrorCodes[\"INPUT_NOT_ENABLED\"] = \"INPUT_NOT_ENABLED\";\n ZebraErrorCodes[\"INVALID_CONFIG_FILE\"] = \"INVALID_CONFIG_FILE\";\n ZebraErrorCodes[\"INVALID_FILE_NAME\"] = \"INVALID_FILE_NAME\";\n ZebraErrorCodes[\"INVALID_FOLDER_PATH\"] = \"INVALID_FOLDER_PATH\";\n ZebraErrorCodes[\"OPERATION_NOT_ALLOWED\"] = \"OPERATION_NOT_ALLOWED\";\n ZebraErrorCodes[\"PARAMETER_INVALID\"] = \"PARAMETER_INVALID\";\n ZebraErrorCodes[\"PLUGIN_BUNDLE_INVALID\"] = \"PLUGIN_BUNDLE_INVALID\";\n ZebraErrorCodes[\"PLUGIN_DISABLED\"] = \"PLUGIN_DISABLED\";\n ZebraErrorCodes[\"PLUGIN_DISABLED_IN_CONFIG\"] = \"PLUGIN_DISABLED_IN_CONFIG\";\n ZebraErrorCodes[\"PLUGIN_NOT_SUPPORTED\"] = \"PLUGIN_NOT_SUPPORTED\";\n ZebraErrorCodes[\"PROFILE_ALREADY_EXISTS\"] = \"PROFILE_ALREADY_EXISTS\";\n ZebraErrorCodes[\"PROFILE_ALREADY_SET\"] = \"PROFILE_ALREADY_SET\";\n ZebraErrorCodes[\"PROFILE_DISABLED\"] = \"PROFILE_DISABLED\";\n ZebraErrorCodes[\"PROFILE_HAS_APP_ASSOCIATION\"] = \"PROFILE_HAS_APP_ASSOCIATION\";\n ZebraErrorCodes[\"PROFILE_NAME_EMPTY\"] = \"PROFILE_NAME_EMPTY\";\n ZebraErrorCodes[\"PROFILE_NOT_FOUND\"] = \"PROFILE_NOT_FOUND\";\n ZebraErrorCodes[\"SCANNER_ALREADY_DISABLED\"] = \"SCANNER_ALREADY_DISABLED\";\n ZebraErrorCodes[\"SCANNER_ALREADY_ENABLED\"] = \"SCANNER_ALREADY_ENABLED\";\n ZebraErrorCodes[\"SCANNER_DISABLE_FAILED\"] = \"SCANNER_DISABLE_FAILED\";\n ZebraErrorCodes[\"SCANNER_ENABLE_FAILED\"] = \"SCANNER_ENABLE_FAILED\";\n ZebraErrorCodes[\"UNKNOWN\"] = \"UNKNOWN\";\n})(ZebraErrorCodes || (ZebraErrorCodes = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from '@capacitor/core';\nimport { createZebraNotification } from './notification-registration';\nconst ZebraDataWedge = registerPlugin('ZebraDataWedge', {\n web: () => import('./web').then((m) => new m.ZebraDataWedgeWeb()),\n});\nexport const ZebraConfiguration = {\n cloneProfile: (options) => ZebraDataWedge.cloneProfile(options),\n createProfile: (options) => ZebraDataWedge.createProfile(options),\n deleteProfile: (options) => ZebraDataWedge.deleteProfile(options),\n importConfig: (options) => ZebraDataWedge.importConfig(options),\n renameProfile: (options) => ZebraDataWedge.renameProfile(options),\n restoreConfig: () => ZebraDataWedge.restoreConfig(),\n setConfig: (options) => ZebraDataWedge.setConfig(options),\n setDisabledAppList: (options) => ZebraDataWedge.setDisabledAppList(options),\n setIgnoreDisabledProfiles: (doIgnoreDisabledProfiles) => ZebraDataWedge.setIgnoreDisabledProfiles({ enabled: doIgnoreDisabledProfiles }),\n};\nexport const ZebraNotification = createZebraNotification(ZebraDataWedge);\nexport const ZebraQuery = {\n enumerateScanners: async () => (await ZebraDataWedge.enumerateScanners()).scanners,\n getActiveProfile: async () => (await ZebraDataWedge.getActiveProfile()).profileName,\n getAssociatedApps: async (profileName) => (await ZebraDataWedge.getAssociatedApps({ profileName })).appList,\n getConfig: (options) => ZebraDataWedge.getConfig(options),\n getDatawedgeStatus: () => ZebraDataWedge.getDatawedgeStatus(),\n getDisabledAppList: async () => (await ZebraDataWedge.getDisabledAppList()).appList,\n getIgnoreDisabledProfiles: async () => (await ZebraDataWedge.getIgnoreDisabledProfiles()).enabled,\n getProfilesList: async () => (await ZebraDataWedge.getProfilesList()).profiles,\n getScannerStatus: async () => (await ZebraDataWedge.getScannerStatus()).status,\n getVersionInfo: () => ZebraDataWedge.getVersionInfo(),\n};\nexport const ZebraRuntime = {\n registerScanIntentAction: (intentAction) => ZebraDataWedge.registerScanIntentAction({ intentAction }),\n disableDatawedge: () => ZebraDataWedge.disableDatawedge(),\n disableScannerInput: () => ZebraDataWedge.disableScannerInput(),\n enableDatawedge: () => ZebraDataWedge.enableDatawedge(),\n enableScannerInput: () => ZebraDataWedge.enableScannerInput(),\n enumerateTriggers: async () => (await ZebraDataWedge.enumerateTriggers()).triggers,\n notify: (options) => ZebraDataWedge.notify(options),\n resetDefaultProfile: () => ZebraDataWedge.resetDefaultProfile(),\n setDefaultProfile: (profileName) => ZebraDataWedge.setDefaultProfile({ profileName }),\n setReportingOptions: (options) => ZebraDataWedge.setReportingOptions(options),\n softRfidTrigger: () => ZebraDataWedge.softRfidTrigger(),\n softScanTrigger: (intentAction) => ZebraDataWedge.softScanTrigger({ intentAction }),\n switchScanner: (scanerIndex) => ZebraDataWedge.switchScanner({ scannerIndex: scanerIndex }),\n switchScannerParams: (options) => ZebraDataWedge.switchScannerParams(options),\n switchToProfile: (profileName) => ZebraDataWedge.switchToProfile({ profileName }),\n};\nexport * from './definitions';\nexport { ZebraDataWedge };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nconst unavailable = (...args) => {\n void args;\n throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');\n};\nexport class ZebraDataWedgeWeb extends WebPlugin {\n cloneProfile(options) {\n return unavailable(options);\n }\n createProfile(options) {\n return unavailable(options);\n }\n deleteProfile(options) {\n return unavailable(options);\n }\n importConfig(options) {\n return unavailable(options);\n }\n renameProfile(options) {\n return unavailable(options);\n }\n restoreConfig() {\n return unavailable();\n }\n setConfig(options) {\n return unavailable(options);\n }\n setDisabledAppList(options) {\n return unavailable(options);\n }\n setIgnoreDisabledProfiles(options) {\n return unavailable(options);\n }\n registerForNotification(options) {\n return unavailable(options);\n }\n registerScanIntentAction(options) {\n return unavailable(options);\n }\n unRegisterForNotification(options) {\n return unavailable(options);\n }\n enumerateScanners() {\n return unavailable();\n }\n getActiveProfile() {\n return unavailable();\n }\n getAssociatedApps(options) {\n return unavailable(options);\n }\n getConfig(options) {\n return unavailable(options);\n }\n getDatawedgeStatus() {\n return unavailable();\n }\n getDisabledAppList() {\n return unavailable();\n }\n getIgnoreDisabledProfiles() {\n return unavailable();\n }\n getProfilesList() {\n return unavailable();\n }\n getScannerStatus() {\n return unavailable();\n }\n getVersionInfo() {\n return unavailable();\n }\n disableDatawedge() {\n return unavailable();\n }\n disableScannerInput() {\n return unavailable();\n }\n enableDatawedge() {\n return unavailable();\n }\n enableScannerInput() {\n return unavailable();\n }\n enumerateTriggers() {\n return unavailable();\n }\n notify(options) {\n return unavailable(options);\n }\n resetDefaultProfile() {\n return unavailable();\n }\n setDefaultProfile(options) {\n return unavailable(options);\n }\n setReportingOptions(options) {\n return unavailable(options);\n }\n softRfidTrigger() {\n return unavailable();\n }\n softScanTrigger(options) {\n return unavailable(options);\n }\n switchScanner(options) {\n return unavailable(options);\n }\n switchScannerParams(options) {\n return unavailable(options);\n }\n switchToProfile(options) {\n return unavailable(options);\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["DataWedgeConfigMode","DataWedgeNotificationType","DataWedgePlugin","ScannerIdentifier","ScannerStatus","ZebraErrorCodes","registerPlugin","WebPlugin"],"mappings":";;;;AAAA;AACO,SAAS,uBAAuB,CAAC,MAAM,EAAE;AAChD,IAAI,MAAM,aAAa,GAAG,IAAI,GAAG,EAAE;AACnC,IAAI,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE;AACvC,IAAI,MAAM,MAAM,GAAG,CAAC,OAAO,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,OAAO,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,YAAY,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CA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AAC,OAAO,CAAC;AACnC,IAAI;AACJ,IAAI,mBAAmB,CAAC,OAAO,EAAE;AACjC,QAAQ,OAAO,WAAW,CAAC,OAAO,CAAC;AACnC,IAAI;AACJ,IAAI,eAAe,CAAC,OAAO,EAAE;AAC7B,QAAQ,OAAO,WAAW,CAAC,OAAO,CAAC;AACnC,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/notification-registration.js","esm/definitions.js","esm/index.js","esm/web.js"],"sourcesContent":["/** Keep listener installation and native dispatch in one ordered operation per registration key. */\nexport function createZebraNotification(native) {\n const registrations = new Map();\n const pendingOperations = new Map();\n const keyFor = (options) => { var _a, _b; return `${(_a = options.appName) !== null && _a !== void 0 ? _a : ''}:${(_b = options.intentAction) !== null && _b !== void 0 ? _b : ''}:${options.notificationType}`; };\n function serialize(key, operation) {\n var _a;\n const previous = (_a = pendingOperations.get(key)) !== null && _a !== void 0 ? _a : Promise.resolve();\n const pending = previous.catch(() => undefined).then(operation);\n pendingOperations.set(key, pending);\n function clear() {\n if (pendingOperations.get(key) === pending)\n pendingOperations.delete(key);\n }\n // Both handlers resolve: cleaning the queue must not create an unhandled rejection.\n void pending.then(clear, clear);\n return pending;\n }\n return {\n registerForNotification(options) {\n const nativeOptions = {\n appName: options.appName,\n intentAction: options.intentAction,\n notificationType: options.notificationType,\n };\n const callback = options.callback;\n const key = keyFor(nativeOptions);\n return serialize(key, async () => {\n var _a;\n if (!callback) {\n await native.registerForNotification(nativeOptions);\n return;\n }\n const previous = registrations.get(key);\n const previousActive = (_a = previous === null || previous === void 0 ? void 0 : previous.active) !== null && _a !== void 0 ? _a : false;\n let active = true;\n // Subscribe first: DataWedge may emit status before native dispatch resolves.\n const handle = await native.addListener('notification', (event) => {\n if (active && event.notificationType === nativeOptions.notificationType)\n callback(event);\n });\n const registration = {\n handle,\n get active() {\n return active;\n },\n set active(value) {\n active = value;\n },\n };\n if (previous)\n previous.active = false;\n registrations.set(key, registration);\n try {\n await native.registerForNotification(nativeOptions);\n }\n catch (error) {\n registration.active = false;\n if (previous) {\n previous.active = previousActive;\n registrations.set(key, previous);\n }\n else {\n registrations.delete(key);\n }\n // Preserve the dispatch error even if listener cleanup itself fails.\n await handle.remove().catch(() => undefined);\n throw error;\n }\n if (previous) {\n // An inactive old callback cannot fire even if removing its native handle fails.\n await previous.handle.remove().catch(() => undefined);\n }\n });\n },\n unRegisterForNotification(options) {\n const key = keyFor(options);\n return serialize(key, async () => {\n await native.unRegisterForNotification(options);\n const registration = registrations.get(key);\n if (registration) {\n registration.active = false;\n // Preserve the wrapper's cleanup contract: retain an inactive handle if removal fails,\n // so a later unregister can retry instead of forgetting the still-installed listener.\n await registration.handle.remove();\n registrations.delete(key);\n }\n });\n },\n };\n}\n//# sourceMappingURL=notification-registration.js.map","export var DataWedgeConfigMode;\n(function (DataWedgeConfigMode) {\n DataWedgeConfigMode[\"CREATE_IF_NOT_EXIST\"] = \"CREATE_IF_NOT_EXIST\";\n DataWedgeConfigMode[\"OVERWRITE\"] = \"OVERWRITE\";\n DataWedgeConfigMode[\"REMOVE\"] = \"REMOVE\";\n DataWedgeConfigMode[\"UPDATE\"] = \"UPDATE\";\n})(DataWedgeConfigMode || (DataWedgeConfigMode = {}));\nexport var DataWedgeNotificationType;\n(function (DataWedgeNotificationType) {\n DataWedgeNotificationType[\"CONFIGURATION_UPDATE\"] = \"CONFIGURATION_UPDATE\";\n DataWedgeNotificationType[\"PROFILE_SWITCH\"] = \"PROFILE_SWITCH\";\n DataWedgeNotificationType[\"SCANNER_STATUS\"] = \"SCANNER_STATUS\";\n})(DataWedgeNotificationType || (DataWedgeNotificationType = {}));\nexport var DataWedgePlugin;\n(function (DataWedgePlugin) {\n DataWedgePlugin[\"ADF\"] = \"ADF\";\n DataWedgePlugin[\"BARCODE\"] = \"BARCODE\";\n DataWedgePlugin[\"BDF\"] = \"BDF\";\n DataWedgePlugin[\"DCP\"] = \"DCP\";\n DataWedgePlugin[\"EKB\"] = \"EKB\";\n DataWedgePlugin[\"INTENT\"] = \"INTENT\";\n DataWedgePlugin[\"IP\"] = \"IP\";\n DataWedgePlugin[\"KEYSTROKE\"] = \"KEYSTROKE\";\n DataWedgePlugin[\"MSR\"] = \"MSR\";\n DataWedgePlugin[\"RFID\"] = \"RFID\";\n DataWedgePlugin[\"SERIAL\"] = \"SERIAL\";\n DataWedgePlugin[\"TOKENS\"] = \"TOKENS\";\n DataWedgePlugin[\"VOICE\"] = \"VOICE\";\n})(DataWedgePlugin || (DataWedgePlugin = {}));\nexport var ScannerIdentifier;\n(function (ScannerIdentifier) {\n ScannerIdentifier[\"AUTO\"] = \"AUTO\";\n ScannerIdentifier[\"BLUETOOTH_DS3678\"] = \"BLUETOOTH_DS3678\";\n ScannerIdentifier[\"BLUETOOTH_RS6000\"] = \"BLUETOOTH_RS6000\";\n ScannerIdentifier[\"BLUETOOTH_SSI\"] = \"BLUETOOTH_SSI\";\n ScannerIdentifier[\"INTERNAL_CAMERA\"] = \"INTERNAL_CAMERA\";\n ScannerIdentifier[\"INTERNAL_IMAGER\"] = \"INTERNAL_IMAGER\";\n ScannerIdentifier[\"INTERNAL_LASER\"] = \"INTERNAL_LASER\";\n ScannerIdentifier[\"PLUGABLE_SSI\"] = \"PLUGABLE_SSI\";\n ScannerIdentifier[\"PLUGABLE_SSI_RS5000\"] = \"PLUGABLE_SSI_RS5000\";\n ScannerIdentifier[\"SERIAL_SSI\"] = \"SERIAL_SSI\";\n ScannerIdentifier[\"USB_SSI_DS3608\"] = \"USB_SSI_DS3608\";\n})(ScannerIdentifier || (ScannerIdentifier = {}));\nexport var ScannerStatus;\n(function (ScannerStatus) {\n ScannerStatus[\"CONNECTED\"] = \"CONNECTED\";\n ScannerStatus[\"DISABLED\"] = \"DISABLED\";\n ScannerStatus[\"DISCONNECTED\"] = \"DISCONNECTED\";\n ScannerStatus[\"IDLE\"] = \"IDLE\";\n ScannerStatus[\"SCANNING\"] = \"SCANNING\";\n ScannerStatus[\"WAITING\"] = \"WAITING\";\n})(ScannerStatus || (ScannerStatus = {}));\nexport var ZebraErrorCodes;\n(function (ZebraErrorCodes) {\n ZebraErrorCodes[\"APP_ALREADY_ASSOCIATED\"] = \"APP_ALREADY_ASSOCIATED\";\n ZebraErrorCodes[\"APP_ALREADY_IN_DISABLED_LIST\"] = \"APP_ALREADY_IN_DISABLED_LIST\";\n ZebraErrorCodes[\"BUNDLE_EMPTY\"] = \"BUNDLE_EMPTY\";\n ZebraErrorCodes[\"CANNOT_READ_FILE\"] = \"CANNOT_READ_FILE\";\n ZebraErrorCodes[\"CONFIG_FILE_NOT_EXIST\"] = \"CONFIG_FILE_NOT_EXIST\";\n ZebraErrorCodes[\"DATAWEDGE_ALREADY_DISABLED\"] = \"DATAWEDGE_ALREADY_DISABLED\";\n ZebraErrorCodes[\"DATAWEDGE_ALREADY_ENABLED\"] = \"DATAWEDGE_ALREADY_ENABLED\";\n ZebraErrorCodes[\"DATAWEDGE_DISABLED\"] = \"DATAWEDGE_DISABLED\";\n ZebraErrorCodes[\"DEVICE_NOT_CONNECTED\"] = \"DEVICE_NOT_CONNECTED\";\n ZebraErrorCodes[\"DEVICE_NOT_SUPPORTED\"] = \"DEVICE_NOT_SUPPORTED\";\n ZebraErrorCodes[\"INPUT_NOT_ENABLED\"] = \"INPUT_NOT_ENABLED\";\n ZebraErrorCodes[\"INVALID_CONFIG_FILE\"] = \"INVALID_CONFIG_FILE\";\n ZebraErrorCodes[\"INVALID_FILE_NAME\"] = \"INVALID_FILE_NAME\";\n ZebraErrorCodes[\"INVALID_FOLDER_PATH\"] = \"INVALID_FOLDER_PATH\";\n ZebraErrorCodes[\"OPERATION_NOT_ALLOWED\"] = \"OPERATION_NOT_ALLOWED\";\n ZebraErrorCodes[\"PARAMETER_INVALID\"] = \"PARAMETER_INVALID\";\n ZebraErrorCodes[\"PLUGIN_BUNDLE_INVALID\"] = \"PLUGIN_BUNDLE_INVALID\";\n ZebraErrorCodes[\"PLUGIN_DISABLED\"] = \"PLUGIN_DISABLED\";\n ZebraErrorCodes[\"PLUGIN_DISABLED_IN_CONFIG\"] = \"PLUGIN_DISABLED_IN_CONFIG\";\n ZebraErrorCodes[\"PLUGIN_NOT_SUPPORTED\"] = \"PLUGIN_NOT_SUPPORTED\";\n ZebraErrorCodes[\"PROFILE_ALREADY_EXISTS\"] = \"PROFILE_ALREADY_EXISTS\";\n ZebraErrorCodes[\"PROFILE_ALREADY_SET\"] = \"PROFILE_ALREADY_SET\";\n ZebraErrorCodes[\"PROFILE_DISABLED\"] = \"PROFILE_DISABLED\";\n ZebraErrorCodes[\"PROFILE_HAS_APP_ASSOCIATION\"] = \"PROFILE_HAS_APP_ASSOCIATION\";\n ZebraErrorCodes[\"PROFILE_NAME_EMPTY\"] = \"PROFILE_NAME_EMPTY\";\n ZebraErrorCodes[\"PROFILE_NOT_FOUND\"] = \"PROFILE_NOT_FOUND\";\n ZebraErrorCodes[\"SCANNER_ALREADY_DISABLED\"] = \"SCANNER_ALREADY_DISABLED\";\n ZebraErrorCodes[\"SCANNER_ALREADY_ENABLED\"] = \"SCANNER_ALREADY_ENABLED\";\n ZebraErrorCodes[\"SCANNER_DISABLE_FAILED\"] = \"SCANNER_DISABLE_FAILED\";\n ZebraErrorCodes[\"SCANNER_ENABLE_FAILED\"] = \"SCANNER_ENABLE_FAILED\";\n ZebraErrorCodes[\"UNKNOWN\"] = \"UNKNOWN\";\n})(ZebraErrorCodes || (ZebraErrorCodes = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from '@capacitor/core';\nimport { createZebraNotification } from './notification-registration';\nconst ZebraDataWedge = registerPlugin('ZebraDataWedge', {\n web: () => import('./web').then((m) => new m.ZebraDataWedgeWeb()),\n});\nexport const ZebraConfiguration = {\n cloneProfile: (options) => ZebraDataWedge.cloneProfile(options),\n createProfile: (options) => ZebraDataWedge.createProfile(options),\n deleteProfile: (options) => ZebraDataWedge.deleteProfile(options),\n importConfig: (options) => ZebraDataWedge.importConfig(options),\n renameProfile: (options) => ZebraDataWedge.renameProfile(options),\n restoreConfig: () => ZebraDataWedge.restoreConfig(),\n setConfig: (options) => ZebraDataWedge.setConfig(options),\n setDisabledAppList: (options) => ZebraDataWedge.setDisabledAppList(options),\n setIgnoreDisabledProfiles: (doIgnoreDisabledProfiles) => ZebraDataWedge.setIgnoreDisabledProfiles({ enabled: doIgnoreDisabledProfiles }),\n};\nexport const ZebraNotification = createZebraNotification(ZebraDataWedge);\nexport const ZebraQuery = {\n enumerateScanners: async () => (await ZebraDataWedge.enumerateScanners()).scanners,\n getActiveProfile: async () => (await ZebraDataWedge.getActiveProfile()).profileName,\n getAssociatedApps: async (profileName) => (await ZebraDataWedge.getAssociatedApps({ profileName })).appList,\n getConfig: (options) => ZebraDataWedge.getConfig(options),\n getDatawedgeStatus: () => ZebraDataWedge.getDatawedgeStatus(),\n getDisabledAppList: async () => (await ZebraDataWedge.getDisabledAppList()).appList,\n getIgnoreDisabledProfiles: async () => (await ZebraDataWedge.getIgnoreDisabledProfiles()).enabled,\n getProfilesList: async () => (await ZebraDataWedge.getProfilesList()).profiles,\n getScannerStatus: async () => (await ZebraDataWedge.getScannerStatus()).status,\n getVersionInfo: () => ZebraDataWedge.getVersionInfo(),\n};\nexport const ZebraRuntime = {\n registerScanIntentAction: (intentAction) => ZebraDataWedge.registerScanIntentAction({ intentAction }),\n disableDatawedge: () => ZebraDataWedge.disableDatawedge(),\n disableScannerInput: () => ZebraDataWedge.disableScannerInput(),\n enableDatawedge: () => ZebraDataWedge.enableDatawedge(),\n enableScannerInput: () => ZebraDataWedge.enableScannerInput(),\n enumerateTriggers: async () => (await ZebraDataWedge.enumerateTriggers()).triggers,\n notify: (options) => ZebraDataWedge.notify(options),\n resetDefaultProfile: () => ZebraDataWedge.resetDefaultProfile(),\n setDefaultProfile: (profileName) => ZebraDataWedge.setDefaultProfile({ profileName }),\n setReportingOptions: (options) => ZebraDataWedge.setReportingOptions(options),\n softRfidTrigger: () => ZebraDataWedge.softRfidTrigger(),\n softScanTrigger: (intentAction) => ZebraDataWedge.softScanTrigger({ intentAction }),\n switchScanner: (scanerIndex) => ZebraDataWedge.switchScanner({ scannerIndex: scanerIndex }),\n switchScannerParams: (options) => ZebraDataWedge.switchScannerParams(options),\n switchToProfile: (profileName) => ZebraDataWedge.switchToProfile({ profileName }),\n};\nexport * from './definitions';\nexport { ZebraDataWedge };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nconst unavailable = (...args) => {\n void args;\n throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');\n};\nexport class ZebraDataWedgeWeb extends WebPlugin {\n configureDiagnostics(options) {\n return unavailable(options);\n }\n getDiagnostics() {\n return unavailable();\n }\n cloneProfile(options) {\n return unavailable(options);\n }\n createProfile(options) {\n return unavailable(options);\n }\n deleteProfile(options) {\n return unavailable(options);\n }\n importConfig(options) {\n return unavailable(options);\n }\n renameProfile(options) {\n return unavailable(options);\n }\n restoreConfig() {\n return unavailable();\n }\n setConfig(options) {\n return unavailable(options);\n }\n setDisabledAppList(options) {\n return unavailable(options);\n }\n setIgnoreDisabledProfiles(options) {\n return unavailable(options);\n }\n registerForNotification(options) {\n return unavailable(options);\n }\n registerScanIntentAction(options) {\n return unavailable(options);\n }\n unRegisterForNotification(options) {\n return unavailable(options);\n }\n enumerateScanners() {\n return unavailable();\n }\n getActiveProfile() {\n return unavailable();\n }\n getAssociatedApps(options) {\n return unavailable(options);\n }\n getConfig(options) {\n return unavailable(options);\n }\n getDatawedgeStatus() {\n return unavailable();\n }\n getDisabledAppList() {\n return unavailable();\n }\n getIgnoreDisabledProfiles() {\n return unavailable();\n }\n getProfilesList() {\n return unavailable();\n }\n getScannerStatus() {\n return unavailable();\n }\n getVersionInfo() {\n return unavailable();\n }\n disableDatawedge() {\n return unavailable();\n }\n disableScannerInput() {\n return unavailable();\n }\n enableDatawedge() {\n return unavailable();\n }\n enableScannerInput() {\n return unavailable();\n }\n enumerateTriggers() {\n return unavailable();\n }\n notify(options) {\n return unavailable(options);\n }\n resetDefaultProfile() {\n return unavailable();\n }\n setDefaultProfile(options) {\n return unavailable(options);\n }\n setReportingOptions(options) {\n return unavailable(options);\n }\n softRfidTrigger() {\n return unavailable();\n }\n softScanTrigger(options) {\n return unavailable(options);\n }\n switchScanner(options) {\n return unavailable(options);\n }\n switchScannerParams(options) {\n return unavailable(options);\n }\n switchToProfile(options) {\n return unavailable(options);\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["DataWedgeConfigMode","DataWedgeNotificationType","DataWedgePlugin","ScannerIdentifier","ScannerStatus","ZebraErrorCodes","registerPlugin","WebPlugin"],"mappings":";;;;AAAA;AACO,SAAS,uBAAuB,CAAC,MAAM,EAAE;AAChD,IAAI,MAAM,aAAa,GAAG,IAAI,GAAG,EAAE;AACnC,IAAI,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE;AACvC,IAAI,MAAM,MAAM,GAAG,CAAC,OAAO,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,OAAO,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,YAAY,MAAM,IAAI,IAAI,EAAE,KAAK,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AACtN,IAAI,SAAS,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE;AACvC,QAAQ,IAAI,EAAE;AACd,QAAQ,MAAM,QAAQ,GAAG,CAAC,EAAE,GAAG,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,MAA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AAC;AACnC,IAAI;AACJ,IAAI,mBAAmB,CAAC,OAAO,EAAE;AACjC,QAAQ,OAAO,WAAW,CAAC,OAAO,CAAC;AACnC,IAAI;AACJ,IAAI,eAAe,CAAC,OAAO,EAAE;AAC7B,QAAQ,OAAO,WAAW,CAAC,OAAO,CAAC;AACnC,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ;;;;;;;;;;;;;"}
package/dist/plugin.js CHANGED
@@ -229,6 +229,12 @@ var capacitorZebraDataWedge = (function (exports, core) {
229
229
  throw new Error('Zebra DataWedge is only available on Android devices with Zebra DataWedge installed.');
230
230
  };
231
231
  class ZebraDataWedgeWeb extends core.WebPlugin {
232
+ configureDiagnostics(options) {
233
+ return unavailable(options);
234
+ }
235
+ getDiagnostics() {
236
+ return unavailable();
237
+ }
232
238
  cloneProfile(options) {
233
239
  return unavailable(options);
234
240
  }