@orderingstack/front-hooks 6.2.0 → 6.3.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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +359 -321
- package/dist/index.es.js.map +1 -1
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts +49 -0
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/analytics-plugin/dist/index.es.d.ts +48 -0
- package/dist/packages/analytics-plugin/dist/index.es.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +73 -0
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +71 -0
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.cjs.d.ts +10 -0
- package/dist/packages/auth/dist/deps/web.cjs.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.cjs2.d.ts +16 -0
- package/dist/packages/auth/dist/deps/web.cjs2.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.cjs3.d.ts +40 -0
- package/dist/packages/auth/dist/deps/web.cjs3.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.cjs4.d.ts +27 -0
- package/dist/packages/auth/dist/deps/web.cjs4.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.cjs5.d.ts +35 -0
- package/dist/packages/auth/dist/deps/web.cjs5.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.es.d.ts +10 -0
- package/dist/packages/auth/dist/deps/web.es.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.es2.d.ts +16 -0
- package/dist/packages/auth/dist/deps/web.es2.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.es3.d.ts +40 -0
- package/dist/packages/auth/dist/deps/web.es3.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.es4.d.ts +27 -0
- package/dist/packages/auth/dist/deps/web.es4.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/web.es5.d.ts +35 -0
- package/dist/packages/auth/dist/deps/web.es5.d.ts.map +1 -0
- package/dist/packages/auth/dist/legacy.cjs.d.ts +7 -0
- package/dist/packages/auth/dist/legacy.cjs.d.ts.map +1 -0
- package/dist/packages/auth/dist/legacy.es.d.ts +8 -0
- package/dist/packages/auth/dist/legacy.es.d.ts.map +1 -0
- package/dist/packages/auth/dist/v6.cjs.d.ts +6 -0
- package/dist/packages/auth/dist/v6.cjs.d.ts.map +1 -0
- package/dist/packages/auth/dist/v6.es.d.ts +8 -0
- package/dist/packages/auth/dist/v6.es.d.ts.map +1 -0
- package/dist/packages/auth/src/AuthContext.d.ts +3 -2
- package/dist/packages/auth/src/AuthContext.d.ts.map +1 -1
- package/dist/packages/auth/src/AuthProvider.d.ts.map +1 -1
- package/dist/packages/auth/src/AuthProviderCommon.d.ts +4 -2
- package/dist/packages/auth/src/AuthProviderCommon.d.ts.map +1 -1
- package/dist/packages/auth/src/ConfigContext.d.ts.map +1 -1
- package/dist/packages/auth/vite.config.d.ts.map +1 -1
- package/dist/packages/config/dist/index.cjs.d.ts +73 -0
- package/dist/packages/config/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/config/dist/index.es.d.ts +72 -0
- package/dist/packages/config/dist/index.es.d.ts.map +1 -0
- package/dist/packages/config/src/ThemeProvider.d.ts.map +1 -1
- package/dist/packages/escpos-encoder/__tests__/encoder.test.d.ts +2 -0
- package/dist/packages/escpos-encoder/__tests__/encoder.test.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/dist/index.d.cts +358 -0
- package/dist/packages/escpos-encoder/dist/index.d.cts.map +1 -0
- package/dist/packages/escpos-encoder/dist/index.es.d.ts +596 -0
- package/dist/packages/escpos-encoder/dist/index.es.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/src/const.d.ts +25 -0
- package/dist/packages/escpos-encoder/src/const.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/src/index.d.ts +299 -0
- package/dist/packages/escpos-encoder/src/index.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/vite.config.d.ts +3 -0
- package/dist/packages/escpos-encoder/vite.config.d.ts.map +1 -0
- package/dist/packages/hooks/dist/index.cjs.d.ts +10 -10
- package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/hooks/dist/index.es.d.ts +6 -6
- package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
- package/dist/packages/menu/dist/index.cjs.d.ts +22 -0
- package/dist/packages/menu/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/menu/dist/index.es.d.ts +22 -0
- package/dist/packages/menu/dist/index.es.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/BottomNav.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/Menu.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/Menu.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts.map +1 -1
- package/dist/packages/menu/tailwind.config.d.ts +76 -1
- package/dist/packages/menu/vite.config.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts +4 -4
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts +4 -4
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/src/index.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/vite.config.d.ts.map +1 -1
- package/dist/packages/phone-input/dist/index.cjs.d.ts +16 -0
- package/dist/packages/phone-input/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/phone-input/dist/index.es.d.ts +16 -0
- package/dist/packages/phone-input/dist/index.es.d.ts.map +1 -0
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts +1 -1
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts.map +1 -1
- package/dist/src/utils/build.d.ts +3 -0
- package/dist/src/utils/build.d.ts.map +1 -0
- package/dist/types/useCms.d.ts +4 -4
- package/dist/types/useCms.d.ts.map +1 -1
- package/dist/types/useGroupOrderLines.d.ts +1 -1
- package/dist/types/useGroupOrderLines.d.ts.map +1 -1
- package/dist/types/useMediaUrl.d.ts.map +1 -1
- package/dist/types/utils/timeAvailabilityFilter.d.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default y;
|
|
2
|
+
declare function y(e: any): {
|
|
3
|
+
name: string;
|
|
4
|
+
page: ({ payload: o }: {
|
|
5
|
+
payload: any;
|
|
6
|
+
}) => void;
|
|
7
|
+
track: ({ payload: o }: {
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
loaded: () => boolean;
|
|
11
|
+
};
|
|
12
|
+
declare namespace b {
|
|
13
|
+
function reset({ config: e }: {
|
|
14
|
+
config: any;
|
|
15
|
+
}): void;
|
|
16
|
+
}
|
|
17
|
+
declare namespace g {
|
|
18
|
+
export { _ as mapItemToGaItem };
|
|
19
|
+
export { k as mapSelectedMenuToViewItemList };
|
|
20
|
+
export { v as mapOrderToPayload };
|
|
21
|
+
export { T 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 k(e: any): {
|
|
31
|
+
item_list_id: any;
|
|
32
|
+
item_list_name: any;
|
|
33
|
+
items: any;
|
|
34
|
+
};
|
|
35
|
+
declare function v(e: any, t: any, o: any, i: any): {
|
|
36
|
+
currency: any;
|
|
37
|
+
value: number;
|
|
38
|
+
items: any[];
|
|
39
|
+
};
|
|
40
|
+
declare function T(e: any, t: any, o: any, i: any): {
|
|
41
|
+
value: number;
|
|
42
|
+
items: any[];
|
|
43
|
+
};
|
|
44
|
+
declare function f(e: any): {
|
|
45
|
+
coupon: any;
|
|
46
|
+
promotion_name: any;
|
|
47
|
+
};
|
|
48
|
+
export { b as googleAnalyticsResetExtension, g 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":";AAA0J;;;;;;;;;EAAoY;;IAAe;;aAAoU;;;;;;;;;AAAE;;;;;EAA6T;AAAA;;;;EAAuK;AAA6xB;;;;EAA0O;AAAA;;;EAAiM;AAAxsC;;;EAA0F"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare function v(t: any): {
|
|
2
|
+
name: string;
|
|
3
|
+
page: ({ payload: o }: {
|
|
4
|
+
payload: any;
|
|
5
|
+
}) => void;
|
|
6
|
+
track: ({ payload: o }: {
|
|
7
|
+
payload: any;
|
|
8
|
+
}) => void;
|
|
9
|
+
loaded: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
declare namespace x {
|
|
12
|
+
function reset({ config: t }: {
|
|
13
|
+
config: any;
|
|
14
|
+
}): void;
|
|
15
|
+
}
|
|
16
|
+
declare namespace E {
|
|
17
|
+
export { _ as mapItemToGaItem };
|
|
18
|
+
export { k as mapSelectedMenuToViewItemList };
|
|
19
|
+
export { y 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 k(t: any): {
|
|
30
|
+
item_list_id: any;
|
|
31
|
+
item_list_name: any;
|
|
32
|
+
items: any;
|
|
33
|
+
};
|
|
34
|
+
declare function y(t: any, e: any, o: any, a: any): {
|
|
35
|
+
currency: any;
|
|
36
|
+
value: number;
|
|
37
|
+
items: any[];
|
|
38
|
+
};
|
|
39
|
+
declare function T(t: any, e: any, o: 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 { v as default, x as googleAnalyticsResetExtension, E 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":"AACA;;;;;;;;;EA2BC;;IAEQ;;aAON;;;;;;;;;AAEH;;;;;EASC;AACD;;;;EAOC;AAmCD;;;;EAgBC;AACD;;;EAWC;AA9DD;;;EAMC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -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,40 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -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();
|
|
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,cAKC;IADK,uBAA4G;IAAE,6BAA6B;IAEjJ,gCA6BC;IACD,sCAIC;CACF;uBAxHsB,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"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.cjs.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/legacy.cjs.js"],"names":[],"mappings":";AAAwJ;;;QAAkH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v6.cjs.d.ts","sourceRoot":"","sources":["../../../../../auth/dist/v6.cjs.js"],"names":[],"mappings":"AAAwJ;;;QAAmM"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { IConfiguredAuthDataProvider, IEditableUserData } from '@orderingstack/ordering-core';
|
|
2
1
|
import { Context } from 'react';
|
|
2
|
+
import { IConfiguredAuthDataProvider, IEditableUserData } from '@orderingstack/ordering-core';
|
|
3
3
|
|
|
4
4
|
export interface IUserData {
|
|
5
5
|
UUID: string;
|
|
@@ -16,7 +16,8 @@ export interface IUserData {
|
|
|
16
16
|
export declare enum LoginProvider {
|
|
17
17
|
GOOGLE = "google",
|
|
18
18
|
APPLE = "apple",
|
|
19
|
-
FACEBOOK = "facebook"
|
|
19
|
+
FACEBOOK = "facebook",
|
|
20
|
+
AZURE = "azuread"
|
|
20
21
|
}
|
|
21
22
|
export interface IAuth {
|
|
22
23
|
loggedIn: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAiC,MAAM,OAAO,CAAC;AAE/D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,GAAG,EAAE,CAAC;IACtB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;
|
|
1
|
+
{"version":3,"file":"AuthContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAiC,MAAM,OAAO,CAAC;AAE/D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,GAAG,EAAE,CAAC;IACtB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,YAAY;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAE/C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAoC,CAAC;AAC7D,eAAO,MAAM,cAAc,aAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthProvider.tsx"],"names":[],"mappings":"AAqCA,OAAO,EAEL,kBAAkB,EAKnB,MAAM,sBAAsB,CAAC;AAO9B,eAAO,IAAI,kBAAkB,EAAE,GAAG,CAAC;AAcnC,wBAAgB,YAAY,CAAC,EAC3B,oBAAoB,EACpB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG;IAAE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IAAC,UAAU,EAAE,GAAG,CAAA;CAAE,+
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthProvider.tsx"],"names":[],"mappings":"AAqCA,OAAO,EAEL,kBAAkB,EAKnB,MAAM,sBAAsB,CAAC;AAO9B,eAAO,IAAI,kBAAkB,EAAE,GAAG,CAAC;AAcnC,wBAAgB,YAAY,CAAC,EAC3B,oBAAoB,EACpB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG;IAAE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IAAC,UAAU,EAAE,GAAG,CAAA;CAAE,+DAotB3E"}
|