@orderingstack/front-hooks 6.1.0 → 6.3.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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +281 -311
- package/dist/index.es.js.map +1 -1
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +44 -43
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +1 -1
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +42 -42
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts.map +1 -1
- package/dist/packages/auth/dist/deps/web.es.d.ts.map +1 -1
- package/dist/packages/auth/dist/legacy.cjs.d.ts +1 -1
- 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/src/ThemeProvider.d.ts.map +1 -1
- package/dist/packages/hooks/dist/index.cjs.d.ts +14 -13
- package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/hooks/dist/index.es.d.ts +14 -13
- package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
- package/dist/packages/menu/postcss.config.d.ts +5 -0
- package/dist/packages/menu/postcss.config.d.ts.map +1 -0
- package/dist/packages/menu/src/Menu.d.ts +1 -1
- package/dist/packages/menu/src/Menu.d.ts.map +1 -1
- package/dist/packages/menu/src/components/Chip.d.ts +1 -1
- package/dist/packages/menu/src/components/Chip.d.ts.map +1 -1
- package/dist/packages/menu/src/components/default/Categories.d.ts +1 -1
- package/dist/packages/menu/src/components/default/Categories.d.ts.map +1 -1
- package/dist/packages/menu/src/components/default/CategorySection.d.ts +1 -1
- package/dist/packages/menu/src/components/default/CategorySection.d.ts.map +1 -1
- package/dist/packages/menu/src/components/default/ProductTile.d.ts +1 -1
- package/dist/packages/menu/src/components/default/ProductTile.d.ts.map +1 -1
- package/dist/packages/menu/src/components/default/TopNav.d.ts +1 -1
- package/dist/packages/menu/src/components/default/TopNav.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 +1 -76
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts +14 -0
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts +14 -0
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts.map +1 -0
- 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/src/PhoneInput.d.ts +1 -1
- package/dist/packages/phone-input/src/PhoneInput.d.ts.map +1 -1
- 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 +2 -0
- package/dist/src/utils/build.d.ts.map +1 -0
- package/dist/types/useAvailability.d.ts +1 -0
- package/dist/types/useAvailability.d.ts.map +1 -1
- package/dist/types/useCms.d.ts +5 -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 +55 -55
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts +0 -49
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts.map +0 -1
- package/dist/packages/analytics-plugin/dist/index.es.d.ts +0 -48
- package/dist/packages/analytics-plugin/dist/index.es.d.ts.map +0 -1
- package/dist/packages/config/dist/index.cjs.d.ts +0 -93
- package/dist/packages/config/dist/index.cjs.d.ts.map +0 -1
- package/dist/packages/config/dist/index.es.d.ts +0 -91
- package/dist/packages/config/dist/index.es.d.ts.map +0 -1
- package/dist/packages/menu/dist/index.cjs.d.ts +0 -22
- package/dist/packages/menu/dist/index.cjs.d.ts.map +0 -1
- package/dist/packages/menu/dist/index.es.d.ts +0 -22
- package/dist/packages/menu/dist/index.es.d.ts.map +0 -1
- package/dist/packages/phone-input/dist/index.cjs.d.ts +0 -13
- package/dist/packages/phone-input/dist/index.cjs.d.ts.map +0 -1
- package/dist/packages/phone-input/dist/index.es.d.ts +0 -13
- package/dist/packages/phone-input/dist/index.es.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare
|
|
2
|
-
declare const
|
|
3
|
-
declare function
|
|
1
|
+
declare const l: N0.IConfiguredAuthDataProvider;
|
|
2
|
+
declare const vr: d0.Context<any>;
|
|
3
|
+
declare function $n({ setShowWelcomeScreen: o, language: d, useHref: c, useHistory: t, successPathWhitelist: B, ...i }: {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
setShowWelcomeScreen: any;
|
|
6
6
|
language: any;
|
|
@@ -9,64 +9,65 @@ declare function Ea({ setShowWelcomeScreen: e, language: f, useHref: a, useHisto
|
|
|
9
9
|
successPathWhitelist: any;
|
|
10
10
|
}): any;
|
|
11
11
|
declare var Ae: any;
|
|
12
|
-
declare const
|
|
13
|
-
declare var
|
|
14
|
-
declare const
|
|
12
|
+
declare const dt: d0.Context<st.IConfig | null>;
|
|
13
|
+
declare var e0: any;
|
|
14
|
+
declare const lr: d0.Context<{
|
|
15
15
|
stage: string;
|
|
16
16
|
}>;
|
|
17
|
-
declare var
|
|
18
|
-
declare class
|
|
19
|
-
constructor(
|
|
17
|
+
declare var O0: any;
|
|
18
|
+
declare class dr {
|
|
19
|
+
constructor(d: any);
|
|
20
20
|
listeners: {};
|
|
21
21
|
windowListeners: {};
|
|
22
22
|
config: any;
|
|
23
|
-
addListener(
|
|
23
|
+
addListener(d: any, c: any): Promise<{
|
|
24
24
|
remove: () => Promise<void>;
|
|
25
25
|
}>;
|
|
26
26
|
removeAllListeners(): Promise<void>;
|
|
27
|
-
notifyListeners(
|
|
28
|
-
hasListeners(
|
|
29
|
-
registerWindowListener(
|
|
30
|
-
unimplemented(
|
|
31
|
-
unavailable(
|
|
32
|
-
removeListener(
|
|
33
|
-
addWindowListener(
|
|
34
|
-
removeWindowListener(
|
|
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
35
|
}
|
|
36
|
-
declare namespace
|
|
36
|
+
declare namespace lt {
|
|
37
37
|
let loggedIn: boolean;
|
|
38
38
|
let UUID: string;
|
|
39
39
|
let resolved: boolean;
|
|
40
40
|
}
|
|
41
|
-
declare function
|
|
42
|
-
declare function
|
|
43
|
-
declare function
|
|
41
|
+
declare function Cr(o: any, d: any): string;
|
|
42
|
+
declare function fe(o: any): string;
|
|
43
|
+
declare function fr(o?: number, d?: number): {
|
|
44
44
|
code_verifier: string;
|
|
45
45
|
code_challenge: string;
|
|
46
46
|
};
|
|
47
|
-
declare function
|
|
48
|
-
declare function
|
|
49
|
-
declare const
|
|
50
|
-
declare namespace
|
|
51
|
-
function get(
|
|
52
|
-
function set(
|
|
53
|
-
function remove(
|
|
47
|
+
declare function At(o: any): any[];
|
|
48
|
+
declare function gt(o: any, d: any): boolean;
|
|
49
|
+
declare const ce: any;
|
|
50
|
+
declare namespace ht {
|
|
51
|
+
function get(o: any): any;
|
|
52
|
+
function set(o: any, d: any): any;
|
|
53
|
+
function remove(o: any): any;
|
|
54
54
|
}
|
|
55
|
-
declare namespace
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
55
|
+
declare namespace Q0 {
|
|
56
|
+
export { en as getRefreshToken };
|
|
57
|
+
export { rn as setRefreshToken };
|
|
58
|
+
export { tn as clearRefreshToken };
|
|
59
59
|
}
|
|
60
|
-
declare function
|
|
61
|
-
declare function
|
|
62
|
-
declare function
|
|
60
|
+
declare function Jt(): any;
|
|
61
|
+
declare function vt(): st.IConfig | null;
|
|
62
|
+
declare function wt(): {
|
|
63
63
|
stage: string;
|
|
64
64
|
};
|
|
65
|
-
declare function
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
|
|
69
|
-
declare function
|
|
70
|
-
declare function
|
|
71
|
-
|
|
65
|
+
declare function On(o: any, d: any, c: any): boolean;
|
|
66
|
+
import N0 = require("node_modules/@orderingstack/ordering-core/lib/esm/index.js");
|
|
67
|
+
import d0 = require("react");
|
|
68
|
+
import st = require("node_modules/@orderingstack/ordering-core-react/lib/esm/index.js");
|
|
69
|
+
declare function en(o: any): Promise<any>;
|
|
70
|
+
declare function rn(o: any, d: any): Promise<any>;
|
|
71
|
+
declare function tn(o: any): Promise<any>;
|
|
72
|
+
export { l as authProviderGlobal, vr as AuthContext, $n as AuthProvider, Ae as CodeChallengeEncoding, dt as ConfigContext, e0 as ELoginStage, lr as LoginContext, O0 as LoginProvider, dr as WebPlugin, lt as defaultAuth, Cr as generateCodeChallenge, fe as generateCodeVerifier, fr as generatePkceChallenge, At as getRandomValues, gt as hasValidRoles, ce as jsx, ht as secureStorage, Q0 as tokenStorageHandler, Jt as useAuthContext, vt as useConfigContext, wt as useLoginContext, On as verifyChallenge };
|
|
72
73
|
//# sourceMappingURL=AuthProvider.cjs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.cjs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthProvider.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.cjs.js"],"names":[],"mappings":"AA0CqkC,gDAA8G;AA1C0niB,kCAAiB;AA0CjqjB;;;;;;;QAAkmV;AA7BshuB,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;AA6BnzlC,sBAAS;;IA1Cy5kB,0BAAsH;IAAK,kCAA8B;IAAQ,6BAAqB;;;;;;;AAAvpB,2BAAwtB;AAAxtB,yCAAwtB;AAApnkB;;EAAiF;AAa6tjC,qDAAsC;;;;AAbx7gB,0CAAwtB;AAAxtB,kDAAwtB;AAAxtB,0CAAwtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare function
|
|
1
|
+
import { default as ur } from 'react';
|
|
2
|
+
declare function ta({ setShowWelcomeScreen: o, language: d, useHref: c, useHistory: t, successPathWhitelist: B, ...x }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
setShowWelcomeScreen: any;
|
|
5
5
|
language: any;
|
|
@@ -7,65 +7,65 @@ declare function ya({ setShowWelcomeScreen: e, language: f, useHref: a, useHisto
|
|
|
7
7
|
useHistory: any;
|
|
8
8
|
successPathWhitelist: any;
|
|
9
9
|
}): any;
|
|
10
|
-
declare const
|
|
11
|
-
declare var
|
|
12
|
-
declare const
|
|
10
|
+
declare const an: ur.Context<import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null>;
|
|
11
|
+
declare var e0: any;
|
|
12
|
+
declare const st: ur.Context<{
|
|
13
13
|
stage: string;
|
|
14
14
|
}>;
|
|
15
|
-
declare class
|
|
16
|
-
constructor(
|
|
15
|
+
declare class ft {
|
|
16
|
+
constructor(d: any);
|
|
17
17
|
listeners: {};
|
|
18
18
|
windowListeners: {};
|
|
19
19
|
config: any;
|
|
20
|
-
addListener(
|
|
20
|
+
addListener(d: any, c: any): Promise<{
|
|
21
21
|
remove: () => Promise<void>;
|
|
22
22
|
}>;
|
|
23
23
|
removeAllListeners(): Promise<void>;
|
|
24
|
-
notifyListeners(
|
|
25
|
-
hasListeners(
|
|
26
|
-
registerWindowListener(
|
|
27
|
-
unimplemented(
|
|
28
|
-
unavailable(
|
|
29
|
-
removeListener(
|
|
30
|
-
addWindowListener(
|
|
31
|
-
removeWindowListener(
|
|
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
32
|
}
|
|
33
|
-
declare var
|
|
34
|
-
declare const
|
|
35
|
-
declare function
|
|
36
|
-
declare namespace
|
|
33
|
+
declare var T0: any;
|
|
34
|
+
declare const dt: ur.Context<any>;
|
|
35
|
+
declare function ea(): any;
|
|
36
|
+
declare namespace nn {
|
|
37
37
|
let loggedIn: boolean;
|
|
38
38
|
let UUID: string;
|
|
39
39
|
let resolved: boolean;
|
|
40
40
|
}
|
|
41
|
-
declare function
|
|
42
|
-
declare function Ee(
|
|
43
|
-
declare function
|
|
44
|
-
declare function
|
|
45
|
-
declare var
|
|
41
|
+
declare function on(): import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null;
|
|
42
|
+
declare function Ee(o: any): string;
|
|
43
|
+
declare function qn(o: any): any[];
|
|
44
|
+
declare function Wn(o: any, d: any): boolean;
|
|
45
|
+
declare var cr: any;
|
|
46
46
|
declare const he: any;
|
|
47
|
-
declare function
|
|
48
|
-
declare function
|
|
47
|
+
declare function Ct(o: any, d: any): string;
|
|
48
|
+
declare function nt(o?: number, d?: number): {
|
|
49
49
|
code_verifier: string;
|
|
50
50
|
code_challenge: string;
|
|
51
51
|
};
|
|
52
|
-
declare let
|
|
53
|
-
declare namespace
|
|
54
|
-
function get(
|
|
55
|
-
function set(
|
|
56
|
-
function remove(
|
|
52
|
+
declare let it: any;
|
|
53
|
+
declare namespace fn {
|
|
54
|
+
function get(o: any): any;
|
|
55
|
+
function set(o: any, d: any): any;
|
|
56
|
+
function remove(o: any): any;
|
|
57
57
|
}
|
|
58
|
-
declare namespace
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
58
|
+
declare namespace ae {
|
|
59
|
+
export { xn as getRefreshToken };
|
|
60
|
+
export { sn as setRefreshToken };
|
|
61
|
+
export { cn as clearRefreshToken };
|
|
62
62
|
}
|
|
63
|
-
declare function
|
|
63
|
+
declare function Jn(): {
|
|
64
64
|
stage: string;
|
|
65
65
|
};
|
|
66
|
-
declare function
|
|
67
|
-
declare function
|
|
68
|
-
declare function
|
|
69
|
-
declare function
|
|
70
|
-
export {
|
|
66
|
+
declare function ra(o: any, d: any, c: any): boolean;
|
|
67
|
+
declare function xn(o: any): Promise<any>;
|
|
68
|
+
declare function sn(o: any, d: any): Promise<any>;
|
|
69
|
+
declare function cn(o: any): Promise<any>;
|
|
70
|
+
export { ta as A, an as C, e0 as E, st as L, ft as W, T0 as a, dt as b, ea as c, nn as d, on as e, Ee as f, qn as g, Wn as h, cr as i, he as j, Ct as k, nt as l, it as m, fn as s, ae as t, Jn as u, ra as v };
|
|
71
71
|
//# sourceMappingURL=AuthProvider.es.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.es.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthProvider.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.es.js"],"names":[],"mappings":"AAovMA;;;;;;;QAodC;AA/gM8B,gIAAO;AAprBtC,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;AAigBD,oBAAsI;AAKnI,kCAAO;AAJV,2BAoBC;;;;;;AApBD,yHAoBC;AA04JD,oCAEC;AARD,mCAKC;AAuBD,6CAYC;AA/BD,oBAAkI;AAspB5H,sBAAW;AArpBjB,4CAEC;AACD;;;EAKC;AAgpBD,oBAAO;;IA9iLA,0BAAsI;IACtI,kCAAsC;IACnC,6BAA4B;;;;;;;AA7rBtC;;EAG+C;AAulL/C,qDAEC;eAhmLmF,OAAO;AAmrB3F,0CAoBC;AApBD,kDAoBC;AApBD,0CAoBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"web.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es.js"],"names":[],"mappings":";AA2EA;IACE,cAKC;IADK,uBAA4G;IAAE,6BAA6B;IAEjJ,gCA6BC;IACD,sCAIC;CACF;uBArHsB,sBAAsB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Context } from 'react';
|
|
2
1
|
import { IConfiguredAuthDataProvider, IEditableUserData } from '@orderingstack/ordering-core';
|
|
2
|
+
import { Context } from 'react';
|
|
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,cA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/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,EAAsB,OAAO,CAAC,KAAK,CAAC,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as React, Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { AxiosResponse } from 'axios';
|
|
3
1
|
import { LoginProvider } from './AuthContext';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
import { default as React, Dispatch, SetStateAction } from 'react';
|
|
4
4
|
|
|
5
5
|
export declare enum ELoginStage {
|
|
6
6
|
UNINITIALIZED = "uninitialized",
|
|
@@ -65,6 +65,8 @@ export interface IAuthProviderProps {
|
|
|
65
65
|
export type Strategy = {
|
|
66
66
|
name: string;
|
|
67
67
|
clientId: string;
|
|
68
|
+
azureTenantId?: string;
|
|
69
|
+
oAuth2Url?: string;
|
|
68
70
|
};
|
|
69
71
|
export type UserServiceData = {
|
|
70
72
|
stage: ELoginStage | LoginProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProviderCommon.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthProviderCommon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAEpE,oBAAY,WAAW;IACrB,aAAa,kBAAkB;IAC/B,WAAW,UAAU;IACrB,qBAAqB,0BAA0B,CAAE,wCAAwC;IACzF,oBAAoB,yBAAyB,CAAE,oCAAoC;IACnF,aAAa,kBAAkB,CAAE,8BAA8B;IAC/D,mBAAmB,wBAAwB,CAAE,4BAA4B;IACzE,oBAAoB,yBAAyB,CAAE,0BAA0B;IACzE,2BAA2B,gCAAgC,CAAE,mCAAmC;IAChG,0BAA0B,+BAA+B,CAAE,qBAAqB;IAChF,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,oBAAoB,yBAAyB,CAAE,kEAAkE;IACjH,mBAAmB,w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,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,WAAW,GAAG,aAAa,CAAC;IACnC,IAAI,CAAC,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/ConfigContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAc,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"ConfigContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/ConfigContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAc,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,aAAa,EAAwB,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;AAE1E,eAAO,MAAM,gBAAgB,sBAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../../auth/vite.config.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../../auth/vite.config.ts"],"names":[],"mappings":";AAuBA,wBA+CG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../config/src/ThemeProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../config/src/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAiB,MAAM,eAAe,CAAC;AAErD,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAGN,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare let Ct: {
|
|
|
5
5
|
};
|
|
6
6
|
declare function Ur(t: any): number;
|
|
7
7
|
declare function ve(t: any, e: any): any;
|
|
8
|
-
declare function
|
|
8
|
+
declare function dg({ product: t, state: e, selected: r, cheapestGroupOptionsProduct: n, basePrice: i, dangerouslyOverwritePrice: a }: {
|
|
9
9
|
product: any;
|
|
10
10
|
state: any;
|
|
11
11
|
selected: any;
|
|
@@ -20,14 +20,14 @@ declare function gg({ product: t, state: e, selected: r, cheapestGroupOptionsPro
|
|
|
20
20
|
};
|
|
21
21
|
declare function Rr(t: any, e?: undefined, r?: undefined, n?: boolean): any[];
|
|
22
22
|
declare function gs(t: any, e: any, r?: string, n?: number): string;
|
|
23
|
-
declare function
|
|
24
|
-
declare function
|
|
23
|
+
declare function Qg(t: any): any[] | null;
|
|
24
|
+
declare function sd({ items: t, locale: e, venue: r }: {
|
|
25
25
|
items: any;
|
|
26
26
|
locale: any;
|
|
27
27
|
venue: any;
|
|
28
28
|
}): any;
|
|
29
29
|
declare function Dt(t: any, e: any): any;
|
|
30
|
-
declare function
|
|
30
|
+
declare function id(t: any, e: any, r: any): any;
|
|
31
31
|
declare function hn(t: any, e?: number): any;
|
|
32
32
|
declare function vs(t: any): any;
|
|
33
33
|
declare function pe(t: any, e: any): any;
|
|
@@ -36,7 +36,8 @@ declare function St(t: any): boolean;
|
|
|
36
36
|
declare function lt(t: any, e: any): any;
|
|
37
37
|
declare function ds(t: any, e: any): boolean;
|
|
38
38
|
declare function oe(t: any, e: any): any;
|
|
39
|
-
declare function
|
|
39
|
+
declare function ht(t: any, e: any): void;
|
|
40
|
+
declare function gg(t: any, e: any): void;
|
|
40
41
|
declare function hs(t: any): number;
|
|
41
42
|
declare function rn(t: any, e?: boolean, r?: undefined, n?: number): never[];
|
|
42
43
|
declare function Bt(t: any, e: number | undefined, r: boolean | undefined, n: any, i: any): {
|
|
@@ -45,7 +46,7 @@ declare function Bt(t: any, e: number | undefined, r: boolean | undefined, n: an
|
|
|
45
46
|
isLoading: boolean;
|
|
46
47
|
refresh: (c: any) => Promise<any>;
|
|
47
48
|
};
|
|
48
|
-
declare function
|
|
49
|
+
declare function od({ id: t, intervalSeconds: e, withLocalStorage: r }: {
|
|
49
50
|
id: any;
|
|
50
51
|
intervalSeconds: any;
|
|
51
52
|
withLocalStorage: any;
|
|
@@ -68,9 +69,9 @@ declare function an({ product: t, state: e, selected: r, cheapestGroupOptionsPro
|
|
|
68
69
|
calculatedPriceDefaultProductState: any;
|
|
69
70
|
calculatedChildrensBasePrice: any;
|
|
70
71
|
};
|
|
71
|
-
declare function
|
|
72
|
+
declare function kg(t: any): any[];
|
|
72
73
|
declare function wt(t: any, e: any): () => void;
|
|
73
|
-
declare function
|
|
74
|
+
declare function ld(t: any): {
|
|
74
75
|
dineInOpen: any;
|
|
75
76
|
takeAwayOpen: any;
|
|
76
77
|
loaded: boolean;
|
|
@@ -93,7 +94,7 @@ declare function cn({ kioskMediaId: t, kioskMediaType: e, intervalSeconds: r, wi
|
|
|
93
94
|
imageDisplayTime: any;
|
|
94
95
|
refresh: (c: any) => Promise<any>;
|
|
95
96
|
};
|
|
96
|
-
declare function
|
|
97
|
+
declare function cd({ kioskMediaId: t, kioskMediaType: e, venue: r, language: n, intervalSeconds: i, withLocalStorage: a }: {
|
|
97
98
|
kioskMediaId: any;
|
|
98
99
|
kioskMediaType: any;
|
|
99
100
|
venue: any;
|
|
@@ -109,7 +110,7 @@ declare function ud({ kioskMediaId: t, kioskMediaType: e, venue: r, language: n,
|
|
|
109
110
|
imageDisplayTime: any;
|
|
110
111
|
refresh: (c: any) => Promise<any>;
|
|
111
112
|
};
|
|
112
|
-
declare function
|
|
113
|
+
declare function ud(t: any, e: any, r: any, n?: number, i?: boolean): {
|
|
113
114
|
url: any;
|
|
114
115
|
fallbackUrl: any;
|
|
115
116
|
isError: boolean;
|
|
@@ -123,7 +124,7 @@ declare function un(t: any, e: any, r: any, n: number | undefined, i: boolean |
|
|
|
123
124
|
mediaType: any;
|
|
124
125
|
refresh: (c: any) => Promise<any>;
|
|
125
126
|
};
|
|
126
|
-
declare function
|
|
127
|
+
declare function _d(t: any, e?: number): any;
|
|
127
128
|
declare function hg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, enableKeys: i }: {
|
|
128
129
|
originalMenu: any;
|
|
129
130
|
markOnly?: boolean | undefined;
|
|
@@ -131,11 +132,11 @@ declare function hg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, en
|
|
|
131
132
|
interval?: number | undefined;
|
|
132
133
|
enableKeys?: any[] | undefined;
|
|
133
134
|
}): never[];
|
|
134
|
-
declare function
|
|
135
|
+
declare function fd(t: any, e: any): void;
|
|
135
136
|
declare function on(t: any, e: number | undefined, r: boolean | undefined, n: any, i: any, a: any): {
|
|
136
137
|
value: any;
|
|
137
138
|
isError: boolean;
|
|
138
139
|
refresh: (c: any) => Promise<any>;
|
|
139
140
|
};
|
|
140
|
-
export { Ct as MediaProxy, Ur as addDiscounts, ve as availabilityCustomizer,
|
|
141
|
+
export { Ct as MediaProxy, Ur as addDiscounts, ve as availabilityCustomizer, dg as calculateDisplayPrice, Rr as filterTimeAvailabilityOfProducts, gs as formatPrice, Qg as getGroupedBucketLines, sd as getLocalizedVenueItem, Dt as getLocalizedVenueMediaFromArray, id as getLocalizedVenueMediaUrl, hn as getMediaUrl, vs as getProductAcronym, pe as getUrlFromLocalizedVenueMedia, $e as groupOrderLines, St as isAvailable, lt as isChannelOpen, ds as isHiddenByEnableKey, oe as isProductEnabled, ht as markHiddenByEnableKey, gg as markItemsHiddenByEnableKey, hs as summarizeLineDiscounts, rn as useAvailability, Bt as useCms, od as useCmsInConfigContext, an as useDisplayPrice, kg as useGroupOrderLines, wt as useInterval, ld as useKioskChannelsAvailability, cn as useKioskMediaCms, cd as useKioskMediaCmsWithContext, ud as useLocalizedVenueMedia, un as useLocalizedVenueMediaLegacy, _d as useMediaUrl, hg as useMenu, fd as useOnClickOutside, on as useVenueCms };
|
|
141
142
|
//# sourceMappingURL=index.cjs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../index.cjs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../index.cjs.js"],"names":[],"mappings":"AAAoksD;;;;EAAS;AAA5tnC,oCAAkF;AAAihd,yCAA6W;AAAixH;;;;;;;;;;;;EAAg/C;AAAnpqB,8EAAymB;AAAid,oEAAuF;AAA85rB,0CAAqE;AAAk6C;;;;QAA4Z;AAAt3B,yCAAua;AAAC,iDAAkD;AAAwoY,6CAAyD;AAA73mC,iCAA4T;AAAs6sB,yCAAua;AAArwE,mCAAqzB;AAA0nB,qCAA+a;AAAl9uB,yCAAmJ;AAA6jB,6CAAgC;AAAzM,yCAAyK;AAAwld,0CAAwK;AAAxK,0CAAwK;AAAtie,oCAAsC;AAAsuc,6EAAqQ;AAA64S;;;;;EAA2rC;AAAA;;;;;;;;;EAAkM;AAA5oN;;;;;;;;;;;;EAAg/C;AAAg4D,mCAA4B;AAAxowC,gDAA0R;AAAs46C;;;;EAAoZ;AAA7oD;;;;;;;;;;;;;;;;;EAAgpB;AAAA;;;;;;;;;;;;;;;EAA0U;AAAzpD;;;;;;EAA2K;AAAA;;;;;;EAAohB;AAAy4S,6CAAoC;AAAjspB;;;;;;YAA8H;AAAgnY,0CAA+R;AAAxxE;;;;EAAgW"}
|
|
@@ -5,7 +5,7 @@ declare let Xt: {
|
|
|
5
5
|
};
|
|
6
6
|
declare function us(t: any): number;
|
|
7
7
|
declare function Xe(t: any, r: any): any;
|
|
8
|
-
declare function
|
|
8
|
+
declare function pv({ product: t, state: r, selected: e, cheapestGroupOptionsProduct: n, basePrice: i, dangerouslyOverwritePrice: a }: {
|
|
9
9
|
product: any;
|
|
10
10
|
state: any;
|
|
11
11
|
selected: any;
|
|
@@ -20,14 +20,14 @@ declare function dv({ product: t, state: r, selected: e, cheapestGroupOptionsPro
|
|
|
20
20
|
};
|
|
21
21
|
declare function os(t: any, r?: undefined, e?: undefined, n?: boolean): any[];
|
|
22
22
|
declare function hv(t: any, r: any, e?: string, n?: number): string;
|
|
23
|
-
declare function
|
|
24
|
-
declare function
|
|
23
|
+
declare function _v(t: any): any[] | null;
|
|
24
|
+
declare function Av({ items: t, locale: r, venue: e }: {
|
|
25
25
|
items: any;
|
|
26
26
|
locale: any;
|
|
27
27
|
venue: any;
|
|
28
28
|
}): any;
|
|
29
29
|
declare function kt(t: any, r: any): any;
|
|
30
|
-
declare function
|
|
30
|
+
declare function bv(t: any, r: any, e: any): any;
|
|
31
31
|
declare function sv(t: any, r?: number): any;
|
|
32
32
|
declare function vv(t: any): any;
|
|
33
33
|
declare function nn(t: any, r: any): any;
|
|
@@ -36,7 +36,8 @@ declare function Jt(t: any): boolean;
|
|
|
36
36
|
declare function yt(t: any, r: any): any;
|
|
37
37
|
declare function gv(t: any, r: any): boolean;
|
|
38
38
|
declare function Le(t: any, r: any): any;
|
|
39
|
-
declare function
|
|
39
|
+
declare function Ot(t: any, r: any): void;
|
|
40
|
+
declare function dv(t: any, r: any): void;
|
|
40
41
|
declare function lv(t: any): number;
|
|
41
42
|
declare function sg(t: any, r?: boolean, e?: undefined, n?: number): never[];
|
|
42
43
|
declare function dr(t: any, r: number | undefined, e: boolean | undefined, n: any, i: any): {
|
|
@@ -45,7 +46,7 @@ declare function dr(t: any, r: number | undefined, e: boolean | undefined, n: an
|
|
|
45
46
|
isLoading: boolean;
|
|
46
47
|
refresh: (u: any) => Promise<boolean | void>;
|
|
47
48
|
};
|
|
48
|
-
declare function
|
|
49
|
+
declare function mv({ id: t, intervalSeconds: r, withLocalStorage: e }: {
|
|
49
50
|
id: any;
|
|
50
51
|
intervalSeconds: any;
|
|
51
52
|
withLocalStorage: any;
|
|
@@ -68,9 +69,9 @@ declare function og({ product: t, state: r, selected: e, cheapestGroupOptionsPro
|
|
|
68
69
|
calculatedPriceDefaultProductState: any;
|
|
69
70
|
calculatedChildrensBasePrice: any;
|
|
70
71
|
};
|
|
71
|
-
declare function
|
|
72
|
+
declare function yv(t: any): any[];
|
|
72
73
|
declare function er(t: any, r: any): () => void;
|
|
73
|
-
declare function
|
|
74
|
+
declare function Ov(t: any): {
|
|
74
75
|
dineInOpen: any;
|
|
75
76
|
takeAwayOpen: any;
|
|
76
77
|
loaded: boolean;
|
|
@@ -93,7 +94,7 @@ declare function Qg({ kioskMediaId: t, kioskMediaType: r, intervalSeconds: e, wi
|
|
|
93
94
|
imageDisplayTime: any;
|
|
94
95
|
refresh: (u: any) => Promise<boolean | void>;
|
|
95
96
|
};
|
|
96
|
-
declare function
|
|
97
|
+
declare function Ev({ kioskMediaId: t, kioskMediaType: r, venue: e, language: n, intervalSeconds: i, withLocalStorage: a }: {
|
|
97
98
|
kioskMediaId: any;
|
|
98
99
|
kioskMediaType: any;
|
|
99
100
|
venue: any;
|
|
@@ -109,7 +110,7 @@ declare function Tv({ kioskMediaId: t, kioskMediaType: r, venue: e, language: n,
|
|
|
109
110
|
imageDisplayTime: any;
|
|
110
111
|
refresh: (u: any) => Promise<boolean | void>;
|
|
111
112
|
};
|
|
112
|
-
declare function
|
|
113
|
+
declare function Tv(t: any, r: any, e: any, n?: number, i?: boolean): {
|
|
113
114
|
url: any;
|
|
114
115
|
fallbackUrl: any;
|
|
115
116
|
isError: boolean;
|
|
@@ -123,7 +124,7 @@ declare function kg(t: any, r: any, e: any, n: number | undefined, i: boolean |
|
|
|
123
124
|
mediaType: any;
|
|
124
125
|
refresh: (u: any) => Promise<boolean | void>;
|
|
125
126
|
};
|
|
126
|
-
declare function
|
|
127
|
+
declare function Sv(t: any, r?: number): any;
|
|
127
128
|
declare function $v({ originalMenu: t, markOnly: r, timeZone: e, interval: n, enableKeys: i }: {
|
|
128
129
|
originalMenu: any;
|
|
129
130
|
markOnly?: boolean | undefined;
|
|
@@ -131,11 +132,11 @@ declare function $v({ originalMenu: t, markOnly: r, timeZone: e, interval: n, en
|
|
|
131
132
|
interval?: number | undefined;
|
|
132
133
|
enableKeys?: any[] | undefined;
|
|
133
134
|
}): never[];
|
|
134
|
-
declare function
|
|
135
|
+
declare function Iv(t: any, r: any): void;
|
|
135
136
|
declare function Jg(t: any, r: number | undefined, e: boolean | undefined, n: any, i: any, a: any): {
|
|
136
137
|
value: any;
|
|
137
138
|
isError: boolean;
|
|
138
139
|
refresh: (u: any) => Promise<boolean | void>;
|
|
139
140
|
};
|
|
140
|
-
export { Xt as MediaProxy, us as addDiscounts, Xe as availabilityCustomizer,
|
|
141
|
+
export { Xt as MediaProxy, us as addDiscounts, Xe as availabilityCustomizer, pv as calculateDisplayPrice, os as filterTimeAvailabilityOfProducts, hv as formatPrice, _v as getGroupedBucketLines, Av as getLocalizedVenueItem, kt as getLocalizedVenueMediaFromArray, bv as getLocalizedVenueMediaUrl, sv as getMediaUrl, vv as getProductAcronym, nn as getUrlFromLocalizedVenueMedia, rn as groupOrderLines, Jt as isAvailable, yt as isChannelOpen, gv as isHiddenByEnableKey, Le as isProductEnabled, Ot as markHiddenByEnableKey, dv as markItemsHiddenByEnableKey, lv as summarizeLineDiscounts, sg as useAvailability, dr as useCms, mv as useCmsInConfigContext, og as useDisplayPrice, yv as useGroupOrderLines, er as useInterval, Ov as useKioskChannelsAvailability, Qg as useKioskMediaCms, Ev as useKioskMediaCmsWithContext, Tv as useLocalizedVenueMedia, kg as useLocalizedVenueMediaLegacy, Sv as useMediaUrl, $v as useMenu, Iv as useOnClickOutside, Jg as useVenueCms };
|
|
141
142
|
//# sourceMappingURL=index.es.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../index.es.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../index.es.js"],"names":[],"mappings":"AA8sEA;;;;EAAW;AAjhDX,oCAGC;AAuqBD,yCASC;AA+FD;;;;;;;;;;;;EAsDU;AA13BV,8EAsCC;AAmBD,oEAEC;AAo6BD,0CAEC;AAqDD;;;;QAcC;AA5BD,yCASC;AACD,iDAGC;AA+iBD,6CAEC;AAlgDD,iCAIC;AAg8BD,yCASC;AAlFD,mCA4BC;AA8BD,qCAcC;AAh+BD,yCAMC;AAoBD,6CAEC;AAPD,yCAIC;AAsqBD,0CASC;AATD,0CASC;AAzrBD,oCAEC;AAopBD,6EAeC;AA0UD;;;;;EAsDC;AACD;;;;;;;;;EAeC;AAvSD;;;;;;;;;;;;EAsDU;AAkGV,mCAEC;AAnmDD,gDAkBC;AA42DD;;;;EAaC;AAtGD;;;;;;;;;;;;;;;;;EA+CC;AACD;;;;;;;;;;;;;;;EAqBC;AAxGD;;;;;;EAaC;AACD;;;;;;EAoBC;AAwaD,6CAEC;AAz1BD;;;;;;YASC;AA6eD,0CAkBC;AA5ID;;;;EAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postcss.config.d.ts","sourceRoot":"","sources":["../../../../menu/postcss.config.js"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IMenuProps } from '@orderingstack/ordering-types';
|
|
2
2
|
|
|
3
|
-
export declare function Menu({ menu: originalMenu, handleSelectProduct, fallbackImg, lazyLoadImg, currency, timeZone, availabilityMarkOnly, availabilityCheckInterval, cols, colsLg, transitionProps, stacking, onMenuCategoryViewed, goToCheckout, goToStart, order, changeQuantity, components, }: IMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function Menu({ menu: originalMenu, handleSelectProduct, fallbackImg, lazyLoadImg, currency, timeZone, availabilityMarkOnly, availabilityCheckInterval, cols, colsLg, transitionProps, stacking, onMenuCategoryViewed, goToCheckout, goToStart, order, changeQuantity, components, }: IMenuProps): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../menu/src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAkBrE,wBAAgB,IAAI,CAAC,EACnB,IAAI,EAAE,YAAY,EAClB,mBAAmB,EACnB,WAAsB,EACtB,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACpB,yBAAyB,EACzB,IAAI,EACJ,MAAM,EACN,eAAe,EACf,QAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,SAAS,EACT,KAAK,EACL,cAAc,EACd,UAAU,GACX,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../menu/src/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAkBrE,wBAAgB,IAAI,CAAC,EACnB,IAAI,EAAE,YAAY,EAClB,mBAAmB,EACnB,WAAsB,EACtB,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACpB,yBAAyB,EACzB,IAAI,EACJ,MAAM,EACN,eAAe,EACf,QAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,SAAS,EACT,KAAK,EACL,cAAc,EACd,UAAU,GACX,EAAE,UAAU,+DAyQZ"}
|
|
@@ -5,6 +5,6 @@ interface Props {
|
|
|
5
5
|
id?: string;
|
|
6
6
|
innerClassname?: string;
|
|
7
7
|
}
|
|
8
|
-
export default function Chip(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default function Chip(props: Props): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/components/Chip.tsx"],"names":[],"mappings":"AACA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/components/Chip.tsx"],"names":[],"mappings":"AACA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,KAAK,+DAsBxC"}
|
|
@@ -6,6 +6,6 @@ interface CategoriesProps {
|
|
|
6
6
|
onSelect: (category: ICategory) => void;
|
|
7
7
|
fallbackImg: string;
|
|
8
8
|
}
|
|
9
|
-
export default function Categories({ categories, selectedCategoryId, onSelect, fallbackImg, }: CategoriesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default function Categories({ categories, selectedCategoryId, onSelect, fallbackImg, }: CategoriesProps): import("node_modules/@types/react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=Categories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Categories.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/Categories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,WAAW,GACZ,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"Categories.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/Categories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,WAAW,GACZ,EAAE,eAAe,sEAmDjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMenuCategorySectionProps } from '@orderingstack/ordering-types';
|
|
2
2
|
|
|
3
|
-
declare function CategorySection({ category, onProductClicked, fallbackImg, lazyLoadImg, currency, cols, colsLg, MenuTile, }: IMenuCategorySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function CategorySection({ category, onProductClicked, fallbackImg, lazyLoadImg, currency, cols, colsLg, MenuTile, }: IMenuCategorySectionProps): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default CategorySection;
|
|
5
5
|
//# sourceMappingURL=CategorySection.d.ts.map
|