@orderingstack/front-hooks 6.9.0-beta.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.es.js +942 -889
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/packages/analytics-plugin/dist/index.cjs.d.ts +49 -0
  6. package/dist/packages/analytics-plugin/dist/index.cjs.d.ts.map +1 -0
  7. package/dist/packages/analytics-plugin/dist/index.es.d.ts +48 -0
  8. package/dist/packages/analytics-plugin/dist/index.es.d.ts.map +1 -0
  9. package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +75 -0
  10. package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +1 -0
  11. package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +71 -0
  12. package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts.map +1 -0
  13. package/dist/packages/auth/dist/deps/web.cjs.d.ts +10 -0
  14. package/dist/packages/auth/dist/deps/web.cjs.d.ts.map +1 -0
  15. package/dist/packages/auth/dist/deps/web.cjs2.d.ts +16 -0
  16. package/dist/packages/auth/dist/deps/web.cjs2.d.ts.map +1 -0
  17. package/dist/packages/auth/dist/deps/web.cjs3.d.ts +143 -0
  18. package/dist/packages/auth/dist/deps/web.cjs3.d.ts.map +1 -0
  19. package/dist/packages/auth/dist/deps/web.cjs4.d.ts +27 -0
  20. package/dist/packages/auth/dist/deps/web.cjs4.d.ts.map +1 -0
  21. package/dist/packages/auth/dist/deps/web.cjs5.d.ts +35 -0
  22. package/dist/packages/auth/dist/deps/web.cjs5.d.ts.map +1 -0
  23. package/dist/packages/auth/dist/deps/web.es.d.ts +10 -0
  24. package/dist/packages/auth/dist/deps/web.es.d.ts.map +1 -0
  25. package/dist/packages/auth/dist/deps/web.es2.d.ts +16 -0
  26. package/dist/packages/auth/dist/deps/web.es2.d.ts.map +1 -0
  27. package/dist/packages/auth/dist/deps/web.es3.d.ts +143 -0
  28. package/dist/packages/auth/dist/deps/web.es3.d.ts.map +1 -0
  29. package/dist/packages/auth/dist/deps/web.es4.d.ts +27 -0
  30. package/dist/packages/auth/dist/deps/web.es4.d.ts.map +1 -0
  31. package/dist/packages/auth/dist/deps/web.es5.d.ts +35 -0
  32. package/dist/packages/auth/dist/deps/web.es5.d.ts.map +1 -0
  33. package/dist/packages/auth/dist/legacy.cjs.d.ts +10 -0
  34. package/dist/packages/auth/dist/legacy.cjs.d.ts.map +1 -0
  35. package/dist/packages/auth/dist/legacy.es.d.ts +8 -0
  36. package/dist/packages/auth/dist/legacy.es.d.ts.map +1 -0
  37. package/dist/packages/auth/dist/v6.cjs.d.ts +6 -0
  38. package/dist/packages/auth/dist/v6.cjs.d.ts.map +1 -0
  39. package/dist/packages/auth/dist/v6.es.d.ts +8 -0
  40. package/dist/packages/auth/dist/v6.es.d.ts.map +1 -0
  41. package/dist/packages/config/dist/index.cjs.d.ts +73 -0
  42. package/dist/packages/config/dist/index.cjs.d.ts.map +1 -0
  43. package/dist/packages/config/dist/index.es.d.ts +72 -0
  44. package/dist/packages/config/dist/index.es.d.ts.map +1 -0
  45. package/dist/packages/escpos-encoder/dist/index.d.cts +366 -0
  46. package/dist/packages/escpos-encoder/dist/index.d.cts.map +1 -0
  47. package/dist/packages/escpos-encoder/dist/index.es.d.ts +633 -0
  48. package/dist/packages/escpos-encoder/dist/index.es.d.ts.map +1 -0
  49. package/dist/packages/hooks/dist/index.cjs.d.ts +31 -30
  50. package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
  51. package/dist/packages/hooks/dist/index.es.d.ts +37 -36
  52. package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
  53. package/dist/packages/menu/dist/index.cjs.d.ts +22 -0
  54. package/dist/packages/menu/dist/index.cjs.d.ts.map +1 -0
  55. package/dist/packages/menu/dist/index.es.d.ts +22 -0
  56. package/dist/packages/menu/dist/index.es.d.ts.map +1 -0
  57. package/dist/packages/phone-input/dist/index.cjs.d.ts +16 -0
  58. package/dist/packages/phone-input/dist/index.cjs.d.ts.map +1 -0
  59. package/dist/packages/phone-input/dist/index.es.d.ts +16 -0
  60. package/dist/packages/phone-input/dist/index.es.d.ts.map +1 -0
  61. package/dist/types/useDisplayPrice.d.ts +2 -2
  62. package/dist/types/useDisplayPrice.d.ts.map +1 -1
  63. package/dist/types/useMediaUrl.d.ts.map +1 -1
  64. package/dist/types/utils.d.ts +2 -1
  65. package/dist/types/utils.d.ts.map +1 -1
  66. package/package.json +3 -3
@@ -0,0 +1,49 @@
1
+ export default b;
2
+ declare function b(e: any): {
3
+ name: string;
4
+ page: ({ payload: r }: {
5
+ payload: any;
6
+ }) => void;
7
+ track: ({ payload: r }: {
8
+ payload: any;
9
+ }) => void;
10
+ loaded: () => boolean;
11
+ };
12
+ declare namespace k {
13
+ function reset({ config: e }: {
14
+ config: any;
15
+ }): void;
16
+ }
17
+ declare namespace N {
18
+ export { _ as mapItemToGaItem };
19
+ export { E as mapSelectedMenuToViewItemList };
20
+ export { T as mapOrderToPayload };
21
+ export { x as linesToGaCartItems };
22
+ export { f as couponToGaPromotion };
23
+ }
24
+ declare function _(e: any): {
25
+ item_id: any;
26
+ item_name: any;
27
+ item_fiscal: any;
28
+ item_extra: any;
29
+ };
30
+ declare function E(e: any): {
31
+ item_list_id: any;
32
+ item_list_name: any;
33
+ items: any;
34
+ };
35
+ declare function T(e: any, t: any, r: any, a: any): {
36
+ currency: any;
37
+ value: number;
38
+ items: any[];
39
+ };
40
+ declare function x(e: any, t: any, r: any, a: any): {
41
+ value: number;
42
+ items: any[];
43
+ };
44
+ declare function f(e: any): {
45
+ coupon: any;
46
+ promotion_name: any;
47
+ };
48
+ export { k as googleAnalyticsResetExtension, N as utils };
49
+ //# sourceMappingURL=index.cjs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../../../analytics-plugin/dist/index.cjs.js"],"names":[],"mappings":";AAAsN;;;;;;;;;EAA4c;;IAAe;;aAAoU;;;;;;;;;AAAE;;;;;EAA6T;AAAA;;;;EAAuK;AAA6xB;;;;EAA6O;AAAA;;;EAAiM;AAA3sC;;;EAA0F"}
@@ -0,0 +1,48 @@
1
+ declare function x(t: any): {
2
+ name: string;
3
+ page: ({ payload: r }: {
4
+ payload: any;
5
+ }) => void;
6
+ track: ({ payload: r }: {
7
+ payload: any;
8
+ }) => void;
9
+ loaded: () => boolean;
10
+ };
11
+ declare namespace N {
12
+ function reset({ config: t }: {
13
+ config: any;
14
+ }): void;
15
+ }
16
+ declare namespace C {
17
+ export { _ as mapItemToGaItem };
18
+ export { y as mapSelectedMenuToViewItemList };
19
+ export { E as mapOrderToPayload };
20
+ export { T as linesToGaCartItems };
21
+ export { f as couponToGaPromotion };
22
+ }
23
+ declare function _(t: any): {
24
+ item_id: any;
25
+ item_name: any;
26
+ item_fiscal: any;
27
+ item_extra: any;
28
+ };
29
+ declare function y(t: any): {
30
+ item_list_id: any;
31
+ item_list_name: any;
32
+ items: any;
33
+ };
34
+ declare function E(t: any, e: any, r: any, a: any): {
35
+ currency: any;
36
+ value: number;
37
+ items: any[];
38
+ };
39
+ declare function T(t: any, e: any, r: any, a: any): {
40
+ value: number;
41
+ items: any[];
42
+ };
43
+ declare function f(t: any): {
44
+ coupon: any;
45
+ promotion_name: any;
46
+ };
47
+ export { x as default, N as googleAnalyticsResetExtension, C as utils };
48
+ //# sourceMappingURL=index.es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../../../analytics-plugin/dist/index.es.js"],"names":[],"mappings":"AAKA;;;;;;;;;EA2BC;;IAEQ;;aAMN;;;;;;;;;AAEH;;;;;EASC;AACD;;;;EAOC;AAmCD;;;;EAgBC;AACD;;;EAWC;AA9DD;;;EAMC"}
@@ -0,0 +1,75 @@
1
+ declare const r: () => Promise<{
2
+ token: string;
3
+ UUID: string;
4
+ }>;
5
+ declare const lr: t0.Context<import('@orderingstack/ordering-core-react/lib/esm/types/index.js').AuthWrapperStateStruct>;
6
+ declare function In({ setShowWelcomeScreen: i, language: v, useHref: s, useHistory: n, successPathWhitelist: g, ...t }: {
7
+ [x: string]: any;
8
+ setShowWelcomeScreen: any;
9
+ language: any;
10
+ useHref: any;
11
+ useHistory: any;
12
+ successPathWhitelist: any;
13
+ }): any;
14
+ declare var Be: any;
15
+ declare const lt: t0.Context<st.IConfig | null>;
16
+ declare var n0: any;
17
+ declare const fr: t0.Context<{
18
+ stage: string;
19
+ }>;
20
+ declare var W0: any;
21
+ declare class ur {
22
+ listeners: {};
23
+ retainedEventArguments: {};
24
+ windowListeners: {};
25
+ addListener(v: any, s: any): Promise<{
26
+ remove: () => Promise<void>;
27
+ }>;
28
+ removeAllListeners(): Promise<void>;
29
+ notifyListeners(v: any, s: any, n: any): void;
30
+ hasListeners(v: any): boolean;
31
+ registerWindowListener(v: any, s: any): void;
32
+ unimplemented(v?: string): any;
33
+ unavailable(v?: string): any;
34
+ removeListener(v: any, s: any): Promise<void>;
35
+ addWindowListener(v: any): void;
36
+ removeWindowListener(v: any): void;
37
+ sendRetainedArgumentsForEvent(v: any): void;
38
+ }
39
+ declare namespace ut {
40
+ let loggedIn: boolean;
41
+ let UUID: string;
42
+ let resolved: boolean;
43
+ }
44
+ declare function hr(i: any, v: any): string;
45
+ declare function ve(i: any): string;
46
+ declare function sr(i?: number, v?: number): {
47
+ code_verifier: string;
48
+ code_challenge: string;
49
+ };
50
+ declare function At(i: any): any[];
51
+ declare function Bt(i: any, v: any): boolean;
52
+ declare const de: any;
53
+ declare namespace vt {
54
+ function get(i: any): any;
55
+ function set(i: any, v: any): any;
56
+ function remove(i: any): any;
57
+ }
58
+ declare namespace Q0 {
59
+ export { Kt as getRefreshToken };
60
+ export { Vt as setRefreshToken };
61
+ export { Xt as clearRefreshToken };
62
+ }
63
+ declare function Mt(): import('@orderingstack/ordering-core-react/lib/esm/types/index.js').AuthWrapperStateStruct;
64
+ declare function dt(): st.IConfig | null;
65
+ declare function _t(): {
66
+ stage: string;
67
+ };
68
+ declare function mn(i: any, v: any, s: any): boolean;
69
+ import t0 = require("react");
70
+ import st = require("@orderingstack/ordering-core-react");
71
+ declare function Kt(i: any): Promise<any>;
72
+ declare function Vt(i: any, v: any): Promise<any>;
73
+ declare function Xt(i: any): Promise<any>;
74
+ export { r as authProviderGlobal, lr as AuthContext, In as AuthProvider, Be as CodeChallengeEncoding, lt as ConfigContext, n0 as ELoginStage, fr as LoginContext, W0 as LoginProvider, ur as WebPlugin, ut as defaultAuth, hr as generateCodeChallenge, ve as generateCodeVerifier, sr as generatePkceChallenge, At as getRandomValues, Bt as hasValidRoles, de as jsx, vt as secureStorage, Q0 as tokenStorageHandler, Mt as useAuthContext, dt as useConfigContext, _t as useLoginContext, mn as verifyChallenge };
75
+ //# sourceMappingURL=AuthProvider.cjs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthProvider.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.cjs.js"],"names":[],"mappings":"AAuC8mI;;;GAAoP;AAvCi+Z,yHAAiB;AAuC3oc;;;;;;;QAAwoe;AA1Bu8f,oBAAgG;AAb1giB,gDAAmB;AAA3siB,oBAAgrB;AAAiC;;GAAuB;AAAwxgB,oBAAkG;AAA/nb;IAAuB,cAAiB;IAAC,2BAA8B;IAAC,oBAAuB;IAAC;;OAAqS;IAAA,oCAA4J;IAAA,8CAAkL;IAAA,8BAAiD;IAAA,6CAA+I;IAAA,+BAA+E;IAAA,6BAAyE;IAAA,8CAAiM;IAAA,gCAA0F;IAAA,mCAAqG;IAAA,4CAA6J;CAAC;;;;;;AAasp6B,4CAA+H;AAAjT,oCAAkF;AAA+N;;;EAAgK;AAAnlB,mCAAkI;AAAmqB,6CAA8Q;AA0B1wgC,sBAAS;;IAvCm4d,0BAAsH;IAAK,kCAA8B;IAAQ,6BAAqB;;;;;;;AAAvpB,kHAAwtB;AAAxtB,yCAAwtB;AAA1oiB;;EAAiF;AAagujC,qDAAsC;;;AAbr6iB,0CAAwtB;AAAxtB,kDAAwtB;AAAxtB,0CAAwtB"}
@@ -0,0 +1,71 @@
1
+ import { default as ur } from 'react';
2
+ declare function Zn({ setShowWelcomeScreen: i, language: v, useHref: s, useHistory: n, successPathWhitelist: F, ...t }: {
3
+ [x: string]: any;
4
+ setShowWelcomeScreen: any;
5
+ language: any;
6
+ useHref: any;
7
+ useHistory: any;
8
+ successPathWhitelist: any;
9
+ }): any;
10
+ declare const Jt: ur.Context<import('@orderingstack/ordering-core-react').IConfig | null>;
11
+ declare var t0: any;
12
+ declare const lt: ur.Context<{
13
+ stage: string;
14
+ }>;
15
+ declare class dt {
16
+ listeners: {};
17
+ retainedEventArguments: {};
18
+ windowListeners: {};
19
+ addListener(v: any, s: any): Promise<{
20
+ remove: () => Promise<void>;
21
+ }>;
22
+ removeAllListeners(): Promise<void>;
23
+ notifyListeners(v: any, s: any, n: any): void;
24
+ hasListeners(v: any): boolean;
25
+ registerWindowListener(v: any, s: any): void;
26
+ unimplemented(v?: string): any;
27
+ unavailable(v?: string): any;
28
+ removeListener(v: any, s: any): Promise<void>;
29
+ addWindowListener(v: any): void;
30
+ removeWindowListener(v: any): void;
31
+ sendRetainedArgumentsForEvent(v: any): void;
32
+ }
33
+ declare var G0: any;
34
+ declare const Et: ur.Context<import('@orderingstack/ordering-core-react/lib/esm/types/index.js').AuthWrapperStateStruct>;
35
+ declare function Xn(): import('@orderingstack/ordering-core-react/lib/esm/types/index.js').AuthWrapperStateStruct;
36
+ declare namespace Qt {
37
+ let loggedIn: boolean;
38
+ let UUID: string;
39
+ let resolved: boolean;
40
+ }
41
+ declare function en(): import('@orderingstack/ordering-core-react').IConfig | null;
42
+ declare function Be(i: any): string;
43
+ declare function Un(i: any): any[];
44
+ declare function $n(i: any, v: any): boolean;
45
+ declare var cr: any;
46
+ declare const Ae: any;
47
+ declare function Ft(i: any, v: any): string;
48
+ declare function xt(i?: number, v?: number): {
49
+ code_verifier: string;
50
+ code_challenge: string;
51
+ };
52
+ declare let ut: any;
53
+ declare namespace an {
54
+ function get(i: any): any;
55
+ function set(i: any, v: any): any;
56
+ function remove(i: any): any;
57
+ }
58
+ declare namespace ee {
59
+ export { rn as getRefreshToken };
60
+ export { tn as setRefreshToken };
61
+ export { nn as clearRefreshToken };
62
+ }
63
+ declare function Vn(): {
64
+ stage: string;
65
+ };
66
+ declare function Yn(i: any, v: any, s: any): boolean;
67
+ declare function rn(i: any): Promise<any>;
68
+ declare function tn(i: any, v: any): Promise<any>;
69
+ declare function nn(i: any): Promise<any>;
70
+ export { Zn as A, Jt as C, t0 as E, lt as L, dt as W, G0 as a, Et as b, Xn as c, Qt as d, en as e, Be as f, Un as g, $n as h, cr as i, Ae as j, Ft as k, xt as l, ut as m, an as s, ee as t, Vn as u, Yn as v };
71
+ //# sourceMappingURL=AuthProvider.es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthProvider.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.es.js"],"names":[],"mappings":"AA6uMA;;;;;;;QAonBC;AA5qM8B,0FAAO;AAhrBtC,oBAA8vB;AAI3vB;;GAAyB;AA6F5B;IAEI,cAAmB;IAAE,2BAAgC;IAAE,oBAAyB;IAElF;;OAOC;IACD,oCAKC;IACD,8CAUC;IACD,8BAEC;IACD,6CASC;IACD,+BAEC;IACD,6BAEC;IACD,8CAMC;IACD,gCAEC;IACD,mCAEC;IACD,4CAKC;CACF;AAugBD,oBAAsI;AAKnI,yHAAO;AAJV,kHAoBC;;;;;;AApBD,mFAoBC;AA04JD,oCAEC;AARD,mCAKC;AAuBD,6CAYC;AA/BD,oBAAkI;AAmpB5H,sBAAW;AAlpBjB,4CAEC;AACD;;;EAKC;AA6oBD,oBAAO;;IA3iLA,0BAAsI;IACtI,kCAAsC;IACnC,6BAA4B;;;;;;;AAzrBtC;;EAG+C;AAmlL/C,qDAEC;eA5lLqH,OAAO;AA+qB7H,0CAoBC;AApBD,kDAoBC;AApBD,0CAoBC"}
@@ -0,0 +1,10 @@
1
+ export { T as SignInWithAppleWeb };
2
+ declare class T extends U.WebPlugin {
3
+ constructor(...args: any[]);
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs.js"],"names":[],"mappings":";AAI23C;IAA4B,4BAAyK;IAAvI,uBAA0G;IAAC,6BAA2B;IAAC,gCAA62B;IAAA,sCAAkJ;CAAC"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,143 @@
1
+ export { w as SocialLoginWeb };
2
+ declare class w extends y.WebPlugin {
3
+ googleProvider: L;
4
+ appleProvider: O;
5
+ facebookProvider: I;
6
+ handleOAuthRedirect(): {
7
+ provider: string;
8
+ result: {
9
+ serverAuthCode: any;
10
+ responseType: string;
11
+ accessToken?: undefined;
12
+ idToken?: undefined;
13
+ profile?: undefined;
14
+ };
15
+ } | {
16
+ provider: string;
17
+ result: {
18
+ accessToken: {
19
+ token: string;
20
+ };
21
+ idToken: string;
22
+ profile: {
23
+ email: any;
24
+ familyName: any;
25
+ givenName: any;
26
+ id: any;
27
+ name: any;
28
+ imageUrl: any;
29
+ };
30
+ responseType: string;
31
+ serverAuthCode?: undefined;
32
+ };
33
+ } | null;
34
+ initialize(e: any): Promise<void>;
35
+ login(e: any): Promise<any>;
36
+ logout(e: any): Promise<any>;
37
+ isLoggedIn(e: any): Promise<any>;
38
+ getAuthorizationCode(e: any): Promise<any>;
39
+ refresh(e: any): Promise<void>;
40
+ }
41
+ declare namespace w {
42
+ let OAUTH_STATE_KEY: string;
43
+ }
44
+ import y = require("./AuthProvider.cjs.js");
45
+ declare class L extends c {
46
+ constructor(...args: any[]);
47
+ clientId: any;
48
+ loginType: string;
49
+ GOOGLE_TOKEN_REQUEST_URL: string;
50
+ GOOGLE_STATE_KEY: string;
51
+ initialize(e: any, o: any, t: any, i: any): Promise<void>;
52
+ hostedDomain: any;
53
+ redirectUrl: any;
54
+ login(e: any): Promise<any>;
55
+ logout(): Promise<undefined>;
56
+ isLoggedIn(): Promise<{
57
+ isLoggedIn: boolean;
58
+ }>;
59
+ getAuthorizationCode(): Promise<{
60
+ accessToken: any;
61
+ jwt: any;
62
+ }>;
63
+ refresh(): Promise<never>;
64
+ handleOAuthRedirect(e: any): {
65
+ provider: string;
66
+ result: {
67
+ serverAuthCode: any;
68
+ responseType: string;
69
+ accessToken?: undefined;
70
+ idToken?: undefined;
71
+ profile?: undefined;
72
+ };
73
+ } | {
74
+ provider: string;
75
+ result: {
76
+ accessToken: {
77
+ token: string;
78
+ };
79
+ idToken: string;
80
+ profile: {
81
+ email: any;
82
+ familyName: any;
83
+ givenName: any;
84
+ id: any;
85
+ name: any;
86
+ imageUrl: any;
87
+ };
88
+ responseType: string;
89
+ serverAuthCode?: undefined;
90
+ };
91
+ } | null;
92
+ accessTokenIsValid(e: any): Promise<boolean>;
93
+ idTokenValid(e: any): any;
94
+ rawLogoutGoogle(e: any, o?: null): Promise<void>;
95
+ persistStateGoogle(e: any, o: any): void;
96
+ clearStateGoogle(): void;
97
+ getGoogleState(): {
98
+ accessToken: any;
99
+ idToken: any;
100
+ } | null;
101
+ traditionalOAuth({ scopes: e, hostedDomain: o, nonce: t }: {
102
+ scopes: any;
103
+ hostedDomain: any;
104
+ nonce: any;
105
+ }): Promise<any>;
106
+ }
107
+ declare class O extends c {
108
+ constructor(...args: any[]);
109
+ clientId: any;
110
+ redirectUrl: any;
111
+ scriptLoaded: boolean;
112
+ scriptUrl: string;
113
+ initialize(e: any, o: any): Promise<void>;
114
+ login(e: any): Promise<any>;
115
+ logout(): Promise<void>;
116
+ isLoggedIn(): Promise<{
117
+ isLoggedIn: boolean;
118
+ }>;
119
+ getAuthorizationCode(): Promise<void>;
120
+ refresh(): Promise<void>;
121
+ loadAppleScript(): Promise<void>;
122
+ }
123
+ declare class I extends c {
124
+ constructor(...args: any[]);
125
+ appId: any;
126
+ scriptLoaded: boolean;
127
+ initialize(e: any): Promise<void>;
128
+ login(e: any): Promise<any>;
129
+ logout(): Promise<any>;
130
+ isLoggedIn(): Promise<any>;
131
+ getAuthorizationCode(): Promise<any>;
132
+ refresh(e: any): Promise<void>;
133
+ loadFacebookScript(): Promise<void>;
134
+ }
135
+ declare class c extends y.WebPlugin {
136
+ parseJwt(e: any): any;
137
+ loadScript(e: any): Promise<any>;
138
+ }
139
+ declare namespace c {
140
+ let OAUTH_STATE_KEY_1: string;
141
+ export { OAUTH_STATE_KEY_1 as OAUTH_STATE_KEY };
142
+ }
143
+ //# sourceMappingURL=web.cjs3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.cjs3.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs3.js"],"names":[],"mappings":";AAA+vV;IAA2D,kBAAyB;IAAC,iBAAwB;IAAC,oBAA2B;IAAmQ;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA8G;IAAA,kCAA4c;IAAA,4BAA6R;IAAA,6BAAgQ;IAAA,iCAAoR;IAAA,2CAAsU;IAAA,+BAA8Q;CAAC;;;;;AAAz0S;IAAkB,4BAAoN;IAAlL,cAAkB;IAAC,kBAAuB;IAAC,iCAA8E;IAAC,yBAAuD;IAAC,0DAAuG;IAAvC,kBAAmB;IAAC,iBAAkB;IAAC,4BAA0pB;IAAA,6BAA6M;IAAA;;OAA6e;IAAA;;;OAAmmB;IAAA,0BAAyD;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA6qB;IAAA,6CAA68C;IAAA,0BAAiH;IAAA,iDAAmQ;IAAA,yCAAkL;IAAA,yBAAoI;IAAA;;;aAAgP;IAAA;;;;qBAA2qD;CAAC;AAAnrU;IAAkB,4BAAsM;IAApK,cAAkB;IAAC,iBAAqB;IAAC,sBAAoB;IAAC,kBAAqG;IAAC,0CAA+F;IAAA,4BAAq4B;IAAA,wBAAyF;IAAA;;OAAiH;IAAA,sCAA6J;IAAA,yBAAkE;IAAA,iCAAsH;CAAC;AAAA;IAAkB,4BAAuE;IAArC,WAAe;IAAC,sBAAoB;IAAC,kCAAqI;IAAA,4BAAwqB;IAAA,uBAA2D;IAAA,2BAA2G;IAAA,qCAAkP;IAAA,+BAAqC;IAAA,oCAAsJ;CAAC;AAAzoH;IAAkD,sBAAwM;IAAA,iCAAyK;CAAC"}
@@ -0,0 +1,27 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,35 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,10 @@
1
+ import { W as j } from './AuthProvider.es.js';
2
+ export { P as SignInWithAppleWeb };
3
+ declare class P extends j {
4
+ constructor(...args: any[]);
5
+ appleScriptUrl: string;
6
+ isAppleScriptLoaded: boolean;
7
+ authorize(i: any): Promise<any>;
8
+ loadSignInWithAppleJS(): Promise<any>;
9
+ }
10
+ //# sourceMappingURL=web.es.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es.js"],"names":[],"mappings":";AA8EA;IACE,4BAEC;IADsB,uBAA4G;IAAE,6BAA6B;IAElK,gCA6BC;IACD,sCAIC;CACF;uBArHsB,sBAAsB"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}