@shopgate/pwa-core 7.33.2-alpha.1 → 7.33.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/AppCommands.d.ts +7 -0
- package/constants/AppCommands.d.ts.map +1 -0
- package/constants/AppEvents.d.ts +11 -0
- package/constants/AppEvents.d.ts.map +1 -0
- package/constants/AppPermissions.d.ts +70 -0
- package/constants/AppPermissions.d.ts.map +1 -0
- package/constants/Command.d.ts +2 -0
- package/constants/Command.d.ts.map +1 -0
- package/constants/ErrorHandleTypes.d.ts +3 -0
- package/constants/ErrorHandleTypes.d.ts.map +1 -0
- package/constants/ErrorManager.d.ts +16 -0
- package/constants/ErrorManager.d.ts.map +1 -0
- package/constants/Pipeline.d.ts +27 -0
- package/constants/Pipeline.d.ts.map +1 -0
- package/constants/ProcessTypes.d.ts +4 -0
- package/constants/ProcessTypes.d.ts.map +1 -0
- package/constants/RequestManagerModes.d.ts +8 -0
- package/constants/RequestManagerModes.d.ts.map +1 -0
- package/constants/RequestTypes.d.ts +3 -0
- package/constants/RequestTypes.d.ts.map +1 -0
- package/constants/Scanner.d.ts +52 -0
- package/constants/Scanner.d.ts.map +1 -0
- package/constants/Trilean.d.ts +6 -0
- package/constants/Trilean.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const COMMAND_SEND_PIPELINE_REQUEST: "sendPipelineRequest";
|
|
2
|
+
export const COMMAND_SEND_HTTP_REQUEST: "sendHttpRequest";
|
|
3
|
+
export const COMMAND_SEND_DATA_REQUEST: "sendDataRequest";
|
|
4
|
+
export const COMMAND_GET_WEBSTORAGE_ENTRY: "getWebStorageEntry";
|
|
5
|
+
export const COMMAND_GET_APP_PERMISSIONS: "getAppPermissions";
|
|
6
|
+
export const COMMAND_REQUEST_APP_PERMISSIONS: "requestAppPermissions";
|
|
7
|
+
//# sourceMappingURL=AppCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppCommands.d.ts","sourceRoot":"","sources":["../../constants/AppCommands.js"],"names":[],"mappings":"AAAA,4CAA6C,qBAAqB,CAAC;AACnE,wCAAyC,iBAAiB,CAAC;AAC3D,wCAAyC,iBAAiB,CAAC;AAC3D,2CAA4C,oBAAoB,CAAC;AACjE,0CAA2C,mBAAmB,CAAC;AAC/D,8CAA+C,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const EVENT_KEYBOARD_WILL_CHANGE: "keyboardWillChange";
|
|
2
|
+
export const APP_EVENT_VIEW_DID_APPEAR: "viewDidAppear";
|
|
3
|
+
export const APP_EVENT_VIEW_WILL_APPEAR: "viewWillAppear";
|
|
4
|
+
export const APP_EVENT_VIEW_WILL_DISAPPEAR: "viewWillDisappear";
|
|
5
|
+
export const APP_EVENT_VIEW_DID_DISAPPEAR: "viewDidDisappear";
|
|
6
|
+
export const APP_EVENT_APPLICATION_WILL_ENTER_FOREGROUND: "applicationWillEnterForeground";
|
|
7
|
+
export const APP_EVENT_APPLICATION_DID_ENTER_BACKGROUND: "applicationDidEnterBackground";
|
|
8
|
+
export const APP_EVENT_SCANNER_DID_SCAN: "scannerDidScan";
|
|
9
|
+
export const APP_EVENT_SCANNER_DID_APPEAR: "scannerDidAppear";
|
|
10
|
+
export const APP_EVENT_SCANNER_DID_DISAPPEAR: "scannerDidDisappear";
|
|
11
|
+
//# sourceMappingURL=AppEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppEvents.d.ts","sourceRoot":"","sources":["../../constants/AppEvents.js"],"names":[],"mappings":"AAAA,yCAA0C,oBAAoB,CAAC;AAE/D,wCAAyC,eAAe,CAAC;AACzD,yCAA0C,gBAAgB,CAAC;AAC3D,4CAA6C,mBAAmB,CAAC;AACjE,2CAA4C,kBAAkB,CAAC;AAE/D,0DAA2D,gCAAgC,CAAC;AAC5F,yDAA0D,+BAA+B,CAAC;AAE1F,yCAA0C,gBAAgB,CAAC;AAC3D,2CAA4C,kBAAkB,CAAC;AAC/D,8CAA+C,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Permission ids.
|
|
3
|
+
*/
|
|
4
|
+
export const PERMISSION_ID_LOCATION: "location";
|
|
5
|
+
export const PERMISSION_ID_CAMERA: "camera";
|
|
6
|
+
export const PERMISSION_ID_PHONE: "phone";
|
|
7
|
+
export const PERMISSION_ID_BACKGROUND_LOCATION: "background_location";
|
|
8
|
+
export const PERMISSION_ID_PUSH: "push";
|
|
9
|
+
export const PERMISSION_ID_BACKGROUND_APP_REFRESH: "backgroundAppRefresh";
|
|
10
|
+
export const PERMISSION_ID_APP_TRACKING_TRANSPARENCY: "appTrackingTransparency";
|
|
11
|
+
export const availablePermissionsIds: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Permission usages.
|
|
14
|
+
*/
|
|
15
|
+
export const PERMISSION_USAGE_ALWAYS: "always";
|
|
16
|
+
export const PERMISSION_USAGE_WHEN_IN_USE: "whenInUse";
|
|
17
|
+
export const availablePermissionUsages: string[];
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use PERMISSION_USAGE_ALWAYS instead
|
|
20
|
+
*/
|
|
21
|
+
export const USAGE_ALWAYS: "always";
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use PERMISSION_USAGE_WHEN_IN_USE instead
|
|
24
|
+
*/
|
|
25
|
+
export const USAGE_WHEN_IN_USE: "whenInUse";
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Use availablePermissionUsages instead
|
|
28
|
+
*/
|
|
29
|
+
export const availableUsages: string[];
|
|
30
|
+
/**
|
|
31
|
+
* Permission statuses
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* User has denied the permission and will not be asked again.
|
|
35
|
+
*/
|
|
36
|
+
export const PERMISSION_STATUS_DENIED: "denied";
|
|
37
|
+
/**
|
|
38
|
+
* User has granted the permission.
|
|
39
|
+
*/
|
|
40
|
+
export const PERMISSION_STATUS_GRANTED: "granted";
|
|
41
|
+
/**
|
|
42
|
+
* User has not yet made a choice regarding the permission.
|
|
43
|
+
*/
|
|
44
|
+
export const PERMISSION_STATUS_NOT_DETERMINED: "notDetermined";
|
|
45
|
+
/**
|
|
46
|
+
* The permission is not supported on the current device.
|
|
47
|
+
*/
|
|
48
|
+
export const PERMISSION_STATUS_NOT_SUPPORTED: "notSupported";
|
|
49
|
+
export const availablePermissionStatuses: string[];
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Use PERMISSION_STATUS_DENIED instead
|
|
52
|
+
*/
|
|
53
|
+
export const STATUS_DENIED: "denied";
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Use PERMISSION_STATUS_GRANTED instead
|
|
56
|
+
*/
|
|
57
|
+
export const STATUS_GRANTED: "granted";
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated Use PERMISSION_STATUS_NOT_DETERMINED instead
|
|
60
|
+
*/
|
|
61
|
+
export const STATUS_NOT_DETERMINED: "notDetermined";
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Use PERMISSION_STATUS_NOT_SUPPORTED instead
|
|
64
|
+
*/
|
|
65
|
+
export const STATUS_NOT_SUPPORTED: "notSupported";
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Use availablePermissionStatuses instead
|
|
68
|
+
*/
|
|
69
|
+
export const availableStatuses: string[];
|
|
70
|
+
//# sourceMappingURL=AppPermissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppPermissions.d.ts","sourceRoot":"","sources":["../../constants/AppPermissions.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,qCAAsC,UAAU,CAAC;AACjD,mCAAoC,QAAQ,CAAC;AAG7C,kCAAmC,OAAO,CAAC;AAC3C,gDAAiD,qBAAqB,CAAC;AAGvE,iCAAkC,MAAM,CAAC;AAEzC,mDAAoD,sBAAsB,CAAC;AAC3E,sDAAuD,yBAAyB,CAAC;AAEjF,+CAQE;AAEF;;GAEG;AAEH,sCAAuC,QAAQ,CAAC;AAChD,2CAA4C,WAAW,CAAC;AAExD,iDAGE;AAEF;;GAEG;AACH,oCAAoD;AAEpD;;GAEG;AACH,4CAA8D;AAE9D;;GAEG;AACH,uCAAyD;AAEzD;;GAEG;AAEH;;GAEG;AACH,uCAAwC,QAAQ,CAAC;AACjD;;GAEG;AACH,wCAAyC,SAAS,CAAC;AACnD;;GAEG;AACH,+CAAgD,eAAe,CAAC;AAChE;;GAEG;AACH,8CAA+C,cAAc,CAAC;AAE9D,mDAKE;AAEF;;GAEG;AACH,qCAAsD;AAEtD;;GAEG;AACH,uCAAwD;AAExD;;GAEG;AACH,oDAAsE;AAEtE;;GAEG;AACH,kDAAoE;AAEpE;;GAEG;AACH,yCAA6D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../constants/Command.js"],"names":[],"mappings":"AACA,8BAA+B,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorHandleTypes.d.ts","sourceRoot":"","sources":["../../constants/ErrorHandleTypes.js"],"names":[],"mappings":"AAAA,mCAAoC,SAAS,CAAC;AAC9C,oCAAqC,UAAU,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const DEFAULT_CONTEXT: "*";
|
|
2
|
+
export const SOURCE_APP: "app";
|
|
3
|
+
export const SOURCE_PIPELINE: "pipeline";
|
|
4
|
+
export const SOURCE_TRACKING: "tracking";
|
|
5
|
+
export const SOURCE_CONSOLE: "console";
|
|
6
|
+
export const CODE_TRACKING: "ETRACKING";
|
|
7
|
+
export namespace Severity {
|
|
8
|
+
let Fatal: string;
|
|
9
|
+
let Error: string;
|
|
10
|
+
let Critical: string;
|
|
11
|
+
let Warning: string;
|
|
12
|
+
let Info: string;
|
|
13
|
+
let Debug: string;
|
|
14
|
+
}
|
|
15
|
+
export const DEFAULT_SEVERITY: string;
|
|
16
|
+
//# sourceMappingURL=ErrorManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorManager.d.ts","sourceRoot":"","sources":["../../constants/ErrorManager.js"],"names":[],"mappings":"AAAA,8BAA+B,GAAG,CAAC;AACnC,yBAA0B,KAAK,CAAC;AAChC,8BAA+B,UAAU,CAAC;AAC1C,8BAA+B,UAAU,CAAC;AAC1C,6BAA8B,SAAS,CAAC;AAExC,4BAA6B,WAAW,CAAC;;;;;;;;;AAWzC,sCAA+C"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const CURRENT_VERSION: 1;
|
|
2
|
+
export const E999: "-999";
|
|
3
|
+
export const ETIMEOUT: "ETIMEOUT";
|
|
4
|
+
export const ENETUNREACH: "ENETUNREACH";
|
|
5
|
+
export const EPIPELINERESPONSEREJECTED: "EPIPELINERESPONSEREJECTED";
|
|
6
|
+
export const EACCESS: "EACCESS";
|
|
7
|
+
export const EINVALIDCREDENTIALS: "EINVALIDCREDENTIALS";
|
|
8
|
+
/**
|
|
9
|
+
* A pipeline can't be called in the given context.
|
|
10
|
+
* For example the login pipeline when the user is already logged in.
|
|
11
|
+
*/
|
|
12
|
+
export const EINVALIDCALL: "EINVALIDCALL";
|
|
13
|
+
export const ELEGACYSGCONNECT: "ELEGACYSGCONNECT";
|
|
14
|
+
export const EUNKNOWN: "EUNKNOWN";
|
|
15
|
+
export const ENOTFOUND: "ENOTFOUND";
|
|
16
|
+
export const EEXIST: "EEXIST";
|
|
17
|
+
export const TYPE_TRUSTED: "trusted";
|
|
18
|
+
export const EFAVORITE: "EFAVORITE";
|
|
19
|
+
export const EBIGAPI: "EBIGAPI";
|
|
20
|
+
/**
|
|
21
|
+
* Error that is thrown if login was uncomplete. Used for external identity services.
|
|
22
|
+
*/
|
|
23
|
+
export const EINCOMPLETELOGIN: "EINCOMPLETELOGIN";
|
|
24
|
+
export const EVALIDATION: "EVALIDATION";
|
|
25
|
+
export const ELIMIT: "ELIMIT";
|
|
26
|
+
export const EUSERNOTFOUND: "EUSERNOTFOUND";
|
|
27
|
+
//# sourceMappingURL=Pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pipeline.d.ts","sourceRoot":"","sources":["../../constants/Pipeline.js"],"names":[],"mappings":"AACA,8BAA+B,CAAC,CAAC;AAGjC,mBAAoB,MAAM,CAAC;AAG3B,uBAAwB,UAAU,CAAC;AAGnC,0BAA2B,aAAa,CAAC;AAGzC,wCAAyC,2BAA2B,CAAC;AAGrE,sBAAuB,SAAS,CAAC;AAGjC,kCAAmC,qBAAqB,CAAC;AAEzD;;;GAGG;AACH,2BAA4B,cAAc,CAAC;AAE3C,+BAAgC,kBAAkB,CAAC;AAGnD,uBAAwB,UAAU,CAAC;AAEnC,wBAAyB,WAAW,CAAC;AAGrC,qBAAsB,QAAQ,CAAC;AAG/B,2BAA4B,SAAS,CAAC;AAGtC,wBAAyB,WAAW,CAAC;AAGrC,sBAAuB,SAAS,CAAC;AAEjC;;GAEG;AACH,+BAAgC,kBAAkB,CAAC;AAGnD,0BAA2B,aAAa,CAAC;AAGzC,qBAAsB,QAAQ,CAAC;AAE/B,4BAA6B,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessTypes.d.ts","sourceRoot":"","sources":["../../constants/ProcessTypes.js"],"names":[],"mappings":"AAAA,6BAA8B,gBAAgB,CAAC;AAC/C,2BAA4B,cAAc,CAAC;AAC3C,iCAAkC,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const PROCESS_ANY: "any";
|
|
2
|
+
export const PROCESS_FIRST_RESPONSE: "first_response";
|
|
3
|
+
export const PROCESS_LAST_REQUEST: "last_request";
|
|
4
|
+
export const PROCESS_ORDERED_REQUEST: "ordered_request";
|
|
5
|
+
export const PROCESS_SEQUENTIALLY: "sequentially";
|
|
6
|
+
export const PROPAGATE_REJECT: "reject";
|
|
7
|
+
export const PROPAGATE_SINGLE: "single";
|
|
8
|
+
//# sourceMappingURL=RequestManagerModes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestManagerModes.d.ts","sourceRoot":"","sources":["../../constants/RequestManagerModes.js"],"names":[],"mappings":"AACA,0BAA2B,KAAK,CAAC;AAGjC,qCAAsC,gBAAgB,CAAC;AAGvD,mCAAoC,cAAc,CAAC;AAGnD,sCAAuC,iBAAiB,CAAC;AAGzD,mCAAoC,cAAc,CAAC;AAGnD,+BAAgC,QAAQ,CAAC;AAGzC,+BAAgC,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestTypes.d.ts","sourceRoot":"","sources":["../../constants/RequestTypes.js"],"names":[],"mappings":"AAAA,gCAAiC,MAAM,CAAC;AACxC,+BAAgC,KAAK,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scanner webview slides in from the left screen edge.
|
|
3
|
+
* @type {string}
|
|
4
|
+
*/
|
|
5
|
+
export const SCANNER_ANIMATION_FOREGROUND_LEFT: string;
|
|
6
|
+
/**
|
|
7
|
+
* The scanner webview slides in from the right screen edge.
|
|
8
|
+
* @type {string}
|
|
9
|
+
*/
|
|
10
|
+
export const SCANNER_ANIMATION_FOREGROUND_RIGHT: string;
|
|
11
|
+
/**
|
|
12
|
+
* The scanner webview slides in from the bottom screen edge.
|
|
13
|
+
* @type {string}
|
|
14
|
+
*/
|
|
15
|
+
export const SCANNER_ANIMATION_FOREGROUND_BOTTOM: string;
|
|
16
|
+
/**
|
|
17
|
+
* The scanner webview just appears without animation.
|
|
18
|
+
* @type {string}
|
|
19
|
+
*/
|
|
20
|
+
export const SCANNER_ANIMATION_NONE: string;
|
|
21
|
+
/**
|
|
22
|
+
* The scanner mode option for an active scanner functionality.
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
export const SCANNER_MODE_ON: string;
|
|
26
|
+
/**
|
|
27
|
+
* The scanner mode option for an inactive scanner functionality.
|
|
28
|
+
* @type {string}
|
|
29
|
+
*/
|
|
30
|
+
export const SCANNER_MODE_OFF: string;
|
|
31
|
+
/**
|
|
32
|
+
* The barcode recognition scanner mode.
|
|
33
|
+
* @type {string}
|
|
34
|
+
*/
|
|
35
|
+
export const SCANNER_TYPE_BARCODE: string;
|
|
36
|
+
/**
|
|
37
|
+
* The card recognition scanner mode.
|
|
38
|
+
* @type {string}
|
|
39
|
+
*/
|
|
40
|
+
export const SCANNER_TYPE_CARD: string;
|
|
41
|
+
/**
|
|
42
|
+
* The image recognition scanner mode.
|
|
43
|
+
* @type {string}
|
|
44
|
+
*/
|
|
45
|
+
export const SCANNER_TYPE_IMAGE: string;
|
|
46
|
+
/**
|
|
47
|
+
* Default scope for all scanner formats.
|
|
48
|
+
* @type {string}
|
|
49
|
+
*/
|
|
50
|
+
export const SCANNER_SCOPE_DEFAULT: string;
|
|
51
|
+
export const SCANNER_MIN_APP_LIB_VERSION: "21.0";
|
|
52
|
+
//# sourceMappingURL=Scanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scanner.d.ts","sourceRoot":"","sources":["../../constants/Scanner.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,gDAFU,MAAM,CAEkD;AAElE;;;GAGG;AACH,iDAFU,MAAM,CAEoD;AAEpE;;;GAGG;AACH,kDAFU,MAAM,CAEsD;AAEtE;;;GAGG;AACH,qCAFU,MAAM,CAEyB;AAEzC;;;GAGG;AACH,8BAFU,MAAM,CAEoB;AAEpC;;;GAGG;AACH,+BAFU,MAAM,CAEsB;AAEtC;;;GAGG;AACH,mCAFU,MAAM,CAEyC;AAEzD;;;GAGG;AACH,gCAFU,MAAM,CAEmC;AAEnD;;;GAGG;AACH,iCAFU,MAAM,CAEmC;AAEnD;;;GAGG;AACH,oCAFU,MAAM,CAE+B;AAE/C,0CAA2C,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trilean.d.ts","sourceRoot":"","sources":["../../constants/Trilean.js"],"names":[],"mappings":""}
|