@orderingstack/front-hooks 6.3.1 → 6.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/index.cjs.js +27 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.es.js +5732 -1938
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/packages/escpos-encoder/src/index.d.ts +18 -2
  6. package/dist/packages/escpos-encoder/src/index.d.ts.map +1 -1
  7. package/dist/packages/hooks/dist/index.cjs.d.ts +58 -44
  8. package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
  9. package/dist/packages/hooks/dist/index.es.d.ts +58 -44
  10. package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
  11. package/dist/packages/menu/vite.config.d.ts.map +1 -1
  12. package/dist/src/utils/build.d.ts +0 -1
  13. package/dist/src/utils/build.d.ts.map +1 -1
  14. package/dist/types/__tests__/order.test.d.ts +2 -0
  15. package/dist/types/__tests__/order.test.d.ts.map +1 -0
  16. package/dist/types/utils.d.ts +24 -1
  17. package/dist/types/utils.d.ts.map +1 -1
  18. package/package.json +2 -2
  19. package/dist/packages/analytics-plugin/dist/index.cjs.d.ts +0 -49
  20. package/dist/packages/analytics-plugin/dist/index.cjs.d.ts.map +0 -1
  21. package/dist/packages/analytics-plugin/dist/index.es.d.ts +0 -48
  22. package/dist/packages/analytics-plugin/dist/index.es.d.ts.map +0 -1
  23. package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +0 -73
  24. package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +0 -1
  25. package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +0 -71
  26. package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts.map +0 -1
  27. package/dist/packages/auth/dist/deps/web.cjs.d.ts +0 -10
  28. package/dist/packages/auth/dist/deps/web.cjs.d.ts.map +0 -1
  29. package/dist/packages/auth/dist/deps/web.cjs2.d.ts +0 -16
  30. package/dist/packages/auth/dist/deps/web.cjs2.d.ts.map +0 -1
  31. package/dist/packages/auth/dist/deps/web.cjs3.d.ts +0 -40
  32. package/dist/packages/auth/dist/deps/web.cjs3.d.ts.map +0 -1
  33. package/dist/packages/auth/dist/deps/web.cjs4.d.ts +0 -27
  34. package/dist/packages/auth/dist/deps/web.cjs4.d.ts.map +0 -1
  35. package/dist/packages/auth/dist/deps/web.cjs5.d.ts +0 -35
  36. package/dist/packages/auth/dist/deps/web.cjs5.d.ts.map +0 -1
  37. package/dist/packages/auth/dist/deps/web.es.d.ts +0 -10
  38. package/dist/packages/auth/dist/deps/web.es.d.ts.map +0 -1
  39. package/dist/packages/auth/dist/deps/web.es2.d.ts +0 -16
  40. package/dist/packages/auth/dist/deps/web.es2.d.ts.map +0 -1
  41. package/dist/packages/auth/dist/deps/web.es3.d.ts +0 -40
  42. package/dist/packages/auth/dist/deps/web.es3.d.ts.map +0 -1
  43. package/dist/packages/auth/dist/deps/web.es4.d.ts +0 -27
  44. package/dist/packages/auth/dist/deps/web.es4.d.ts.map +0 -1
  45. package/dist/packages/auth/dist/deps/web.es5.d.ts +0 -35
  46. package/dist/packages/auth/dist/deps/web.es5.d.ts.map +0 -1
  47. package/dist/packages/auth/dist/legacy.cjs.d.ts +0 -7
  48. package/dist/packages/auth/dist/legacy.cjs.d.ts.map +0 -1
  49. package/dist/packages/auth/dist/legacy.es.d.ts +0 -8
  50. package/dist/packages/auth/dist/legacy.es.d.ts.map +0 -1
  51. package/dist/packages/auth/dist/v6.cjs.d.ts +0 -6
  52. package/dist/packages/auth/dist/v6.cjs.d.ts.map +0 -1
  53. package/dist/packages/auth/dist/v6.es.d.ts +0 -8
  54. package/dist/packages/auth/dist/v6.es.d.ts.map +0 -1
  55. package/dist/packages/config/dist/index.cjs.d.ts +0 -73
  56. package/dist/packages/config/dist/index.cjs.d.ts.map +0 -1
  57. package/dist/packages/config/dist/index.es.d.ts +0 -72
  58. package/dist/packages/config/dist/index.es.d.ts.map +0 -1
  59. package/dist/packages/escpos-encoder/dist/index.d.cts +0 -358
  60. package/dist/packages/escpos-encoder/dist/index.d.cts.map +0 -1
  61. package/dist/packages/escpos-encoder/dist/index.es.d.ts +0 -596
  62. package/dist/packages/escpos-encoder/dist/index.es.d.ts.map +0 -1
  63. package/dist/packages/menu/dist/index.cjs.d.ts +0 -22
  64. package/dist/packages/menu/dist/index.cjs.d.ts.map +0 -1
  65. package/dist/packages/menu/dist/index.es.d.ts +0 -22
  66. package/dist/packages/menu/dist/index.es.d.ts.map +0 -1
  67. package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts +0 -14
  68. package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts.map +0 -1
  69. package/dist/packages/mparticle-plugin/dist/index.es.d.ts +0 -14
  70. package/dist/packages/mparticle-plugin/dist/index.es.d.ts.map +0 -1
  71. package/dist/packages/phone-input/dist/index.cjs.d.ts +0 -16
  72. package/dist/packages/phone-input/dist/index.cjs.d.ts.map +0 -1
  73. package/dist/packages/phone-input/dist/index.es.d.ts +0 -16
  74. package/dist/packages/phone-input/dist/index.es.d.ts.map +0 -1
@@ -1,73 +0,0 @@
1
- declare const l: j0.IConfiguredAuthDataProvider;
2
- declare const lr: d0.Context<any>;
3
- declare function Hn({ setShowWelcomeScreen: o, language: d, useHref: c, useHistory: t, successPathWhitelist: B, ...i }: {
4
- [x: string]: any;
5
- setShowWelcomeScreen: any;
6
- language: any;
7
- useHref: any;
8
- useHistory: any;
9
- successPathWhitelist: any;
10
- }): any;
11
- declare var Be: any;
12
- declare const lt: d0.Context<xt.IConfig | null>;
13
- declare var e0: any;
14
- declare const fr: d0.Context<{
15
- stage: string;
16
- }>;
17
- declare var I0: any;
18
- declare class ur {
19
- constructor(d: any);
20
- listeners: {};
21
- windowListeners: {};
22
- config: any;
23
- addListener(d: any, c: any): Promise<{
24
- remove: () => Promise<void>;
25
- }>;
26
- removeAllListeners(): Promise<void>;
27
- notifyListeners(d: any, c: any): void;
28
- hasListeners(d: any): boolean;
29
- registerWindowListener(d: any, c: any): void;
30
- unimplemented(d?: string): any;
31
- unavailable(d?: string): any;
32
- removeListener(d: any, c: any): Promise<void>;
33
- addWindowListener(d: any): void;
34
- removeWindowListener(d: any): void;
35
- }
36
- declare namespace ut {
37
- let loggedIn: boolean;
38
- let UUID: string;
39
- let resolved: boolean;
40
- }
41
- declare function hr(o: any, d: any): string;
42
- declare function ce(o: any): string;
43
- declare function sr(o?: number, d?: number): {
44
- code_verifier: string;
45
- code_challenge: string;
46
- };
47
- declare function Bt(o: any): any[];
48
- declare function At(o: any, d: any): boolean;
49
- declare const se: any;
50
- declare namespace vt {
51
- function get(o: any): any;
52
- function set(o: any, d: any): any;
53
- function remove(o: any): any;
54
- }
55
- declare namespace Z0 {
56
- export { Yt as getRefreshToken };
57
- export { Zt as setRefreshToken };
58
- export { Qt as clearRefreshToken };
59
- }
60
- declare function Xt(): any;
61
- declare function dt(): xt.IConfig | null;
62
- declare function bt(): {
63
- stage: string;
64
- };
65
- declare function Rn(o: any, d: any, c: any): boolean;
66
- import j0 = require("@orderingstack/ordering-core");
67
- import d0 = require("react");
68
- import xt = require("node_modules/@orderingstack/ordering-core-react/lib/esm/index.js");
69
- declare function Yt(o: any): Promise<any>;
70
- declare function Zt(o: any, d: any): Promise<any>;
71
- declare function Qt(o: any): Promise<any>;
72
- export { l as authProviderGlobal, lr as AuthContext, Hn as AuthProvider, Be as CodeChallengeEncoding, lt as ConfigContext, e0 as ELoginStage, fr as LoginContext, I0 as LoginProvider, ur as WebPlugin, ut as defaultAuth, hr as generateCodeChallenge, ce as generateCodeVerifier, sr as generatePkceChallenge, Bt as getRandomValues, At as hasValidRoles, se as jsx, vt as secureStorage, Z0 as tokenStorageHandler, Xt as useAuthContext, dt as useConfigContext, bt as useLoginContext, Rn as verifyChallenge };
73
- //# sourceMappingURL=AuthProvider.cjs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthProvider.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.cjs.js"],"names":[],"mappings":"AAuCwmH,gDAA8G;AAvCuld,kCAAiB;AAuC9ne;;;;;;;QAA4nV;AA1By9oB,oBAAgG;AAb7hgB,gDAAmB;AAArrkB,oBAAgrB;AAAiC;;GAAuB;AAAkwiB,oBAAkG;AAArib;IAAS,oBAA0L;IAA3K,cAAiB;IAAC,oBAAuB;IAAmH,YAAa;IAAE;;OAAoX;IAAA,oCAA4J;IAAA,sCAAqE;IAAA,8BAAiD;IAAA,6CAA+I;IAAA,+BAA+E;IAAA,6BAAyE;IAAA,8CAAiM;IAAA,gCAA0F;IAAA,mCAAqG;CAAC;;;;;;AAauq4B,4CAA+H;AAAjT,oCAAkF;AAA+N;;;EAAgK;AAAnlB,mCAAkI;AAAmqB,6CAA8Q;AA0BhxgC,sBAAS;;IAvCs3f,0BAAsH;IAAK,kCAA8B;IAAQ,6BAAqB;;;;;;;AAAvpB,2BAAwtB;AAAxtB,yCAAwtB;AAApnkB;;EAAiF;AAa6tjC,qDAAsC;;;;AAbx7gB,0CAAwtB;AAAxtB,kDAAwtB;AAAxtB,0CAAwtB"}
@@ -1,71 +0,0 @@
1
- import { default as cr } from 'react';
2
- declare function Qn({ setShowWelcomeScreen: o, language: d, useHref: c, useHistory: t, successPathWhitelist: B, ...x }: {
3
- [x: string]: any;
4
- setShowWelcomeScreen: any;
5
- language: any;
6
- useHref: any;
7
- useHistory: any;
8
- successPathWhitelist: any;
9
- }): any;
10
- declare const en: cr.Context<import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null>;
11
- declare var e0: any;
12
- declare const it: cr.Context<{
13
- stage: string;
14
- }>;
15
- declare class ct {
16
- constructor(d: any);
17
- listeners: {};
18
- windowListeners: {};
19
- config: any;
20
- addListener(d: any, c: any): Promise<{
21
- remove: () => Promise<void>;
22
- }>;
23
- removeAllListeners(): Promise<void>;
24
- notifyListeners(d: any, c: any): void;
25
- hasListeners(d: any): boolean;
26
- registerWindowListener(d: any, c: any): void;
27
- unimplemented(d?: string): any;
28
- unavailable(d?: string): any;
29
- removeListener(d: any, c: any): Promise<void>;
30
- addWindowListener(d: any): void;
31
- removeWindowListener(d: any): void;
32
- }
33
- declare var T0: any;
34
- declare const lt: cr.Context<any>;
35
- declare function Yn(): any;
36
- declare namespace Jt {
37
- let loggedIn: boolean;
38
- let UUID: string;
39
- let resolved: boolean;
40
- }
41
- declare function rn(): import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null;
42
- declare function he(o: any): string;
43
- declare function Un(o: any): any[];
44
- declare function zn(o: any, d: any): boolean;
45
- declare var ir: any;
46
- declare const ve: any;
47
- declare function Et(o: any, d: any): string;
48
- declare function tt(o?: number, d?: number): {
49
- code_verifier: string;
50
- code_challenge: string;
51
- };
52
- declare let xt: any;
53
- declare namespace on {
54
- function get(o: any): any;
55
- function set(o: any, d: any): any;
56
- function remove(o: any): any;
57
- }
58
- declare namespace ne {
59
- export { tn as getRefreshToken };
60
- export { nn as setRefreshToken };
61
- export { an as clearRefreshToken };
62
- }
63
- declare function Xn(): {
64
- stage: string;
65
- };
66
- declare function Zn(o: any, d: any, c: any): boolean;
67
- declare function tn(o: any): Promise<any>;
68
- declare function nn(o: any, d: any): Promise<any>;
69
- declare function an(o: any): Promise<any>;
70
- export { Qn as A, en as C, e0 as E, it as L, ct as W, T0 as a, lt as b, Yn as c, Jt as d, rn as e, he as f, Un as g, zn as h, ir as i, ve as j, Et as k, tt as l, xt as m, on as s, ne as t, Xn as u, Zn as v };
71
- //# sourceMappingURL=AuthProvider.es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthProvider.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.es.js"],"names":[],"mappings":"AAuvMA;;;;;;;QAqdC;AA7gM8B,gIAAO;AA1rBtC,oBAA8vB;AAI3vB;;GAAyB;AAiH5B;IACE,oBAEC;IADC,cAAmB;IAAE,oBAAyB;IAAuH,YAAe;IAEtL;;OAUC;IACD,oCAKC;IACD,sCAGC;IACD,8BAEC;IACD,6CASC;IACD,+BAEC;IACD,6BAEC;IACD,8CAMC;IACD,gCAEC;IACD,mCAEC;CACF;AAugBD,oBAAsI;AAKnI,kCAAO;AAJV,2BAoBC;;;;;;AApBD,yHAoBC;AA04JD,oCAEC;AARD,mCAKC;AAuBD,6CAYC;AA/BD,oBAAkI;AAmpB5H,sBAAW;AAlpBjB,4CAEC;AACD;;;EAKC;AA6oBD,oBAAO;;IA3iLA,0BAAsI;IACtI,kCAAsC;IACnC,6BAA4B;;;;;;;AAnsBtC;;EAG+C;AA6lL/C,qDAEC;eAtmLmF,OAAO;AAyrB3F,0CAoBC;AApBD,kDAoBC;AApBD,0CAoBC"}
@@ -1,10 +0,0 @@
1
- export { T as SignInWithAppleWeb };
2
- declare class T extends U.WebPlugin {
3
- constructor();
4
- appleScriptUrl: string;
5
- isAppleScriptLoaded: boolean;
6
- authorize(i: any): Promise<any>;
7
- loadSignInWithAppleJS(): Promise<any>;
8
- }
9
- import U = require("./AuthProvider.cjs.js");
10
- //# sourceMappingURL=web.cjs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs.js"],"names":[],"mappings":";AAI23C;IAA4B,cAAuM;IAAvI,uBAA0G;IAAC,6BAA2B;IAAC,gCAA62B;IAAA,sCAAkJ;CAAC"}
@@ -1,16 +0,0 @@
1
- export { c as FacebookLoginWeb };
2
- declare class c extends i.WebPlugin {
3
- initialize(e: any): Promise<any>;
4
- loadScript(e: any): Promise<any>;
5
- login(e: any): Promise<any>;
6
- logout(): Promise<any>;
7
- reauthorize(): Promise<any>;
8
- getCurrentAccessToken(): Promise<any>;
9
- getProfile(e: any): Promise<any>;
10
- logEvent(): Promise<void>;
11
- setAutoLogAppEventsEnabled(): Promise<void>;
12
- setAdvertiserTrackingEnabled(): Promise<void>;
13
- setAdvertiserIDCollectionEnabled(): Promise<void>;
14
- }
15
- import i = require("./AuthProvider.cjs.js");
16
- //# sourceMappingURL=web.cjs2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.cjs2.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs2.js"],"names":[],"mappings":";AAAyH;IAA4B,iCAAmI;IAAA,iCAAkY;IAAA,4BAAoM;IAAA,uBAAyD;IAAA,4BAAmE;IAAA,sCAA0V;IAAA,iCAAqJ;IAAA,0BAA0C;IAAA,4CAA4D;IAAA,8CAA8D;IAAA,kDAAkE;CAAC"}
@@ -1,40 +0,0 @@
1
- export { r as GoogleAuthWeb };
2
- declare class r extends c.WebPlugin {
3
- constructor();
4
- loadScript(): void;
5
- initialize(e?: {
6
- clientId: string;
7
- scopes: never[];
8
- grantOfflineAccess: boolean;
9
- }): void;
10
- options: {
11
- clientId: any;
12
- grantOfflineAccess: boolean;
13
- scopes: never[];
14
- } | undefined;
15
- gapiLoaded: Promise<any> | undefined;
16
- platformJsLoaded(): void;
17
- signIn(): Promise<any>;
18
- refresh(): Promise<{
19
- accessToken: any;
20
- idToken: any;
21
- refreshToken: string;
22
- }>;
23
- signOut(): Promise<any>;
24
- addUserChangeListener(): Promise<void>;
25
- getUserFrom(e: any): {
26
- email: any;
27
- familyName: any;
28
- givenName: any;
29
- id: any;
30
- imageUrl: any;
31
- name: any;
32
- authentication: {
33
- accessToken: any;
34
- idToken: any;
35
- refreshToken: string;
36
- };
37
- };
38
- }
39
- import c = require("./AuthProvider.cjs.js");
40
- //# sourceMappingURL=web.cjs3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.cjs3.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs3.js"],"names":[],"mappings":";AAAyH;IAA4B,cAAsB;IAAA,mBAAyW;IAAA;;;;aAA6e;IAAxN;;;;kBAAiH;IAAC,qCAAwE;IAA8B,yBAAkP;IAAA,uBAA8Y;IAAA;;;;OAAwK;IAAA,wBAA8D;IAAA,uCAAqL;IAAA;;;;;;;;;;;;MAAsT;CAAC"}
@@ -1,27 +0,0 @@
1
- export { o as SecureStoragePluginWeb };
2
- declare class o extends t.WebPlugin {
3
- constructor(...args: any[]);
4
- PREFIX: string;
5
- addPrefix: (e: any) => string;
6
- removePrefix: (e: any) => any;
7
- get(e: any): Promise<{
8
- value: string;
9
- }>;
10
- set(e: any): Promise<{
11
- value: boolean;
12
- }>;
13
- remove(e: any): Promise<{
14
- value: boolean;
15
- }>;
16
- clear(): Promise<{
17
- value: boolean;
18
- }>;
19
- keys(): Promise<{
20
- value: any[];
21
- }>;
22
- getPlatform(): Promise<{
23
- value: string;
24
- }>;
25
- }
26
- import t = require("./AuthProvider.cjs.js");
27
- //# sourceMappingURL=web.cjs4.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.cjs4.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs4.js"],"names":[],"mappings":";AAAyH;IAA4B,4BAAwI;IAAtG,eAAsB;IAAC,8BAA+B;IAAC,8BAA8C;IAAC;;OAAiK;IAAA;;OAAoG;IAAA;;OAA+L;IAAA;;OAA8H;IAAA;;OAAwI;IAAA;;OAAoD;CAAC"}
@@ -1,35 +0,0 @@
1
- export { w as DeviceWeb };
2
- declare class w extends u.WebPlugin {
3
- getId(): Promise<{
4
- identifier: string;
5
- }>;
6
- getInfo(): Promise<{
7
- model: any;
8
- platform: string;
9
- operatingSystem: string;
10
- osVersion: any;
11
- manufacturer: string;
12
- isVirtual: boolean;
13
- webViewVersion: any;
14
- }>;
15
- getBatteryInfo(): Promise<{
16
- batteryLevel: any;
17
- isCharging: any;
18
- }>;
19
- getLanguageCode(): Promise<{
20
- value: string;
21
- }>;
22
- getLanguageTag(): Promise<{
23
- value: string;
24
- }>;
25
- parseUa(e: any): {
26
- model: any;
27
- osVersion: any;
28
- operatingSystem: string;
29
- browserVersion: any;
30
- };
31
- getUid(): string;
32
- uuid4(): string;
33
- }
34
- import u = require("./AuthProvider.cjs.js");
35
- //# sourceMappingURL=web.cjs5.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.cjs5.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs5.js"],"names":[],"mappings":";AAAyH;IAA4B;;OAA+C;IAAA;;;;;;;;OAAuV;IAAA;;;OAA+O;IAAA;;OAAqF;IAAA;;OAAwD;IAAA;;;;;MAAquC;IAAA,iBAA2L;IAAA,gBAAmJ;CAAC"}
@@ -1,10 +0,0 @@
1
- import { W as j } from './AuthProvider.es.js';
2
- export { P as SignInWithAppleWeb };
3
- declare class P extends j {
4
- constructor();
5
- appleScriptUrl: string;
6
- isAppleScriptLoaded: boolean;
7
- authorize(i: any): Promise<any>;
8
- loadSignInWithAppleJS(): Promise<any>;
9
- }
10
- //# sourceMappingURL=web.es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es.js"],"names":[],"mappings":";AA8EA;IACE,cAKC;IADK,uBAA4G;IAAE,6BAA6B;IAEjJ,gCA6BC;IACD,sCAIC;CACF;uBAxHsB,sBAAsB"}
@@ -1,16 +0,0 @@
1
- import { W as i } from './AuthProvider.es.js';
2
- export { u as FacebookLoginWeb };
3
- declare class u extends i {
4
- initialize(e: any): Promise<any>;
5
- loadScript(e: any): Promise<any>;
6
- login(e: any): Promise<any>;
7
- logout(): Promise<any>;
8
- reauthorize(): Promise<any>;
9
- getCurrentAccessToken(): Promise<any>;
10
- getProfile(e: any): Promise<any>;
11
- logEvent(): Promise<void>;
12
- setAutoLogAppEventsEnabled(): Promise<void>;
13
- setAdvertiserTrackingEnabled(): Promise<void>;
14
- setAdvertiserIDCollectionEnabled(): Promise<void>;
15
- }
16
- //# sourceMappingURL=web.es2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.es2.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es2.js"],"names":[],"mappings":";AACA;IACE,iCAGC;IACD,iCAUC;IACD,4BAcC;IACD,uBAEC;IACD,4BAEC;IACD,sCAyBC;IACD,iCAWC;IACD,0BAEC;IACD,4CAEC;IACD,8CAEC;IACD,kDAEC;CACF;uBAxFsB,sBAAsB"}
@@ -1,40 +0,0 @@
1
- import { W as c } from './AuthProvider.es.js';
2
- export { g as GoogleAuthWeb };
3
- declare class g extends c {
4
- constructor();
5
- loadScript(): void;
6
- initialize(e?: {
7
- clientId: string;
8
- scopes: never[];
9
- grantOfflineAccess: boolean;
10
- }): void;
11
- options: {
12
- clientId: any;
13
- grantOfflineAccess: boolean;
14
- scopes: never[];
15
- } | undefined;
16
- gapiLoaded: Promise<any> | undefined;
17
- platformJsLoaded(): void;
18
- signIn(): Promise<any>;
19
- refresh(): Promise<{
20
- accessToken: any;
21
- idToken: any;
22
- refreshToken: string;
23
- }>;
24
- signOut(): Promise<any>;
25
- addUserChangeListener(): Promise<void>;
26
- getUserFrom(e: any): {
27
- email: any;
28
- familyName: any;
29
- givenName: any;
30
- id: any;
31
- imageUrl: any;
32
- name: any;
33
- authentication: {
34
- accessToken: any;
35
- idToken: any;
36
- refreshToken: string;
37
- };
38
- };
39
- }
40
- //# sourceMappingURL=web.es3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.es3.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es3.js"],"names":[],"mappings":";AACA;IACE,cAEC;IACD,mBAQC;IACD;;;;aAgBC;IAP4D;;;;kBAI1D;IAAE,qCAED;IAEJ,yBAQC;IACD,uBAeC;IACD;;;;OAOC;IACD,wBAEC;IACD,uCAIC;IACD;;;;;;;;;;;;MASC;CACF;uBAlFsB,sBAAsB"}
@@ -1,27 +0,0 @@
1
- import { W as t } from './AuthProvider.es.js';
2
- export { i as SecureStoragePluginWeb };
3
- declare class i extends t {
4
- constructor(...args: any[]);
5
- PREFIX: string;
6
- addPrefix: (e: any) => string;
7
- removePrefix: (e: any) => any;
8
- get(e: any): Promise<{
9
- value: string;
10
- }>;
11
- set(e: any): Promise<{
12
- value: boolean;
13
- }>;
14
- remove(e: any): Promise<{
15
- value: boolean;
16
- }>;
17
- clear(): Promise<{
18
- value: boolean;
19
- }>;
20
- keys(): Promise<{
21
- value: any[];
22
- }>;
23
- getPlatform(): Promise<{
24
- value: string;
25
- }>;
26
- }
27
- //# sourceMappingURL=web.es4.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.es4.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es4.js"],"names":[],"mappings":";AACA;IACE,4BAEC;IADsB,eAAwB;IAAE,8BAAuC;IAAE,8BAAqD;IAE/I;;OAKC;IACD;;OAEC;IACD;;OAEC;IACD;;OAIC;IACD;;OAGC;IACD;;OAEC;CACF;uBA7BsB,sBAAsB"}
@@ -1,35 +0,0 @@
1
- import { W as w } from './AuthProvider.es.js';
2
- export { y as DeviceWeb };
3
- declare class y extends w {
4
- getId(): Promise<{
5
- identifier: string;
6
- }>;
7
- getInfo(): Promise<{
8
- model: any;
9
- platform: string;
10
- operatingSystem: string;
11
- osVersion: any;
12
- manufacturer: string;
13
- isVirtual: boolean;
14
- webViewVersion: any;
15
- }>;
16
- getBatteryInfo(): Promise<{
17
- batteryLevel: any;
18
- isCharging: any;
19
- }>;
20
- getLanguageCode(): Promise<{
21
- value: string;
22
- }>;
23
- getLanguageTag(): Promise<{
24
- value: string;
25
- }>;
26
- parseUa(e: any): {
27
- model: any;
28
- osVersion: any;
29
- operatingSystem: string;
30
- browserVersion: any;
31
- };
32
- getUid(): string;
33
- uuid4(): string;
34
- }
35
- //# sourceMappingURL=web.es5.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.es5.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es5.js"],"names":[],"mappings":";AACA;IACE;;OAIC;IACD;;;;;;;;OAaC;IACD;;;OAYC;IACD;;OAIC;IACD;;OAIC;IACD;;;;;MAmCC;IACD,iBAMC;IACD,gBAKC;CACF;uBA7FsB,sBAAsB"}
@@ -1,7 +0,0 @@
1
- export const authProviderGlobal: import('@orderingstack/ordering-core').IConfiguredAuthDataProvider;
2
- declare function a({ children: t, ...o }: {
3
- [x: string]: any;
4
- children: any;
5
- }): any;
6
- export { AuthContext, CodeChallengeEncoding, ConfigContext, ELoginStage, LoginContext, LoginProvider, defaultAuth, generateCodeChallenge, generateCodeVerifier, generatePkceChallenge, getRandomValues, hasValidRoles, secureStorage, tokenStorageHandler, useAuthContext, useConfigContext, useLoginContext, verifyChallenge, a as AuthProvider };
7
- //# sourceMappingURL=legacy.cjs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"legacy.cjs.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/legacy.cjs.js"],"names":[],"mappings":";AAAwJ;;;QAAkH"}
@@ -1,8 +0,0 @@
1
- import { b as C, i as d, C as h, E as f, L as x, a as m, m as v, d as A, k as c, f as L, l as P, g as p, h as k, s as E, t as H, c as S, e as V, u as b, v as j } from './deps/AuthProvider.es.js';
2
-
3
- declare function g({ children: e, ...a }: {
4
- [x: string]: any;
5
- children: any;
6
- }): any;
7
- export { C as AuthContext, g as AuthProvider, d as CodeChallengeEncoding, h as ConfigContext, f as ELoginStage, x as LoginContext, m as LoginProvider, v as authProviderGlobal, A as defaultAuth, c as generateCodeChallenge, L as generateCodeVerifier, P as generatePkceChallenge, p as getRandomValues, k as hasValidRoles, E as secureStorage, H as tokenStorageHandler, S as useAuthContext, V as useConfigContext, b as useLoginContext, j as verifyChallenge };
8
- //# sourceMappingURL=legacy.es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"legacy.es.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/legacy.es.js"],"names":[],"mappings":"uBACuK,2BAA2B;AAElM;;;QAUC;uBAZsK,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B"}
@@ -1,6 +0,0 @@
1
- declare function i({ children: r, ...a }: {
2
- [x: string]: any;
3
- children: any;
4
- }): any;
5
- export { AuthContext, CodeChallengeEncoding, ConfigContext, ELoginStage, LoginContext, LoginProvider, defaultAuth, generateCodeChallenge, generateCodeVerifier, generatePkceChallenge, getRandomValues, hasValidRoles, secureStorage, tokenStorageHandler, useAuthContext, useConfigContext, useLoginContext, verifyChallenge, i as AuthProvider };
6
- //# sourceMappingURL=v6.cjs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v6.cjs.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/v6.cjs.js"],"names":[],"mappings":"AAAwJ;;;QAAmM"}
@@ -1,8 +0,0 @@
1
- import { b as c, i as x, C as p, E as v, L as m, a as A, d as L, k as y, f as P, l as k, g as E, h as H, s as S, t as V, c as j, e as R, u as b, v as N } from './deps/AuthProvider.es.js';
2
-
3
- declare function h({ children: t, ...o }: {
4
- [x: string]: any;
5
- children: any;
6
- }): any;
7
- export { c as AuthContext, h as AuthProvider, x as CodeChallengeEncoding, p as ConfigContext, v as ELoginStage, m as LoginContext, A as LoginProvider, L as defaultAuth, y as generateCodeChallenge, P as generateCodeVerifier, k as generatePkceChallenge, E as getRandomValues, H as hasValidRoles, S as secureStorage, V as tokenStorageHandler, j as useAuthContext, R as useConfigContext, b as useLoginContext, N as verifyChallenge };
8
- //# sourceMappingURL=v6.es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v6.es.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/v6.es.js"],"names":[],"mappings":"uBAC+J,2BAA2B;AAE1L;;;QAmBC;uBArB8J,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B;uBAA3B,2BAA2B"}
@@ -1,73 +0,0 @@
1
- declare function Jr({ children: n, theme: i }: {
2
- children: any;
3
- theme: any;
4
- }): any;
5
- declare const Nr: hr.Theme;
6
- declare namespace Yr {
7
- let mode: string;
8
- let content: string[];
9
- namespace theme {
10
- namespace extend {
11
- namespace fontFamily {
12
- let upper: string[];
13
- }
14
- namespace colors {
15
- namespace primary {
16
- let light: string;
17
- let DEFAULT: string;
18
- let dark: string;
19
- }
20
- namespace secondary {
21
- let DEFAULT_1: string;
22
- export { DEFAULT_1 as DEFAULT };
23
- }
24
- namespace fontColor {
25
- let DEFAULT_2: string;
26
- export { DEFAULT_2 as DEFAULT };
27
- export let btnPrimary: string;
28
- export let btnSecondary: string;
29
- export let btnDisabled: string;
30
- }
31
- namespace bgColor {
32
- let DEFAULT_3: string;
33
- export { DEFAULT_3 as DEFAULT };
34
- let btnPrimary_1: string;
35
- export { btnPrimary_1 as btnPrimary };
36
- let btnSecondary_1: string;
37
- export { btnSecondary_1 as btnSecondary };
38
- let btnDisabled_1: string;
39
- export { btnDisabled_1 as btnDisabled };
40
- }
41
- namespace facebook {
42
- let light_1: string;
43
- export { light_1 as light };
44
- let DEFAULT_4: string;
45
- export { DEFAULT_4 as DEFAULT };
46
- let dark_1: string;
47
- export { dark_1 as dark };
48
- }
49
- namespace red {
50
- let light_2: string;
51
- export { light_2 as light };
52
- let DEFAULT_5: string;
53
- export { DEFAULT_5 as DEFAULT };
54
- }
55
- let black: string;
56
- namespace greys {
57
- let light_3: string;
58
- export { light_3 as light };
59
- let DEFAULT_6: string;
60
- export { DEFAULT_6 as DEFAULT };
61
- }
62
- }
63
- let backgroundImage: {
64
- "tenant-pattern": string;
65
- };
66
- }
67
- }
68
- let safelist: string[];
69
- let plugins: any[];
70
- }
71
- import hr = require("@mui/material/styles");
72
- export { Jr as CommonThemeProvider, Nr as muiTheme, Yr as tailwind };
73
- //# sourceMappingURL=index.cjs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../../../config/dist/index.cjs.js"],"names":[],"mappings":"AA0B4yF;;;QAAoF;AA1BqtK,2BAA8oB"}