@orderingstack/front-hooks 6.5.0 → 6.6.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.map +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/packages/hooks/dist/index.cjs.d.ts +47 -58
- package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/hooks/dist/index.es.d.ts +47 -58
- package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
- package/dist/types/useCms.d.ts +1 -0
- package/dist/types/useCms.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare let
|
|
1
|
+
declare let Nt: {
|
|
2
2
|
new (): {};
|
|
3
3
|
getInstance(): {};
|
|
4
4
|
instance: {} | undefined;
|
|
5
5
|
};
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
6
|
+
declare function Ur(t: any): number;
|
|
7
|
+
declare function $e(t: any, e: any): any;
|
|
8
|
+
declare function vg({ product: t, state: e, selected: r, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
9
9
|
product: any;
|
|
10
10
|
state: any;
|
|
11
11
|
selected: any;
|
|
@@ -18,49 +18,38 @@ declare function xI({ product: r, state: a, selected: i, cheapestGroupOptionsPro
|
|
|
18
18
|
calculatedPriceDefaultProductState: any;
|
|
19
19
|
calculatedChildrensBasePrice: any;
|
|
20
20
|
};
|
|
21
|
-
declare function
|
|
22
|
-
declare function
|
|
23
|
-
declare function
|
|
24
|
-
declare function
|
|
25
|
-
declare function
|
|
21
|
+
declare function Ot(t: any, e?: undefined, r?: undefined, n?: boolean): any;
|
|
22
|
+
declare function Rr(t: any, e?: undefined, r?: undefined, n?: boolean): any[];
|
|
23
|
+
declare function gs(t: any, e: any, r?: string, n?: number): string;
|
|
24
|
+
declare function Xg(t: any): any[] | null;
|
|
25
|
+
declare function od({ items: t, locale: e, venue: r }: {
|
|
26
26
|
items: any;
|
|
27
27
|
locale: any;
|
|
28
28
|
venue: any;
|
|
29
29
|
}): any;
|
|
30
|
-
declare function
|
|
31
|
-
declare function
|
|
32
|
-
declare function
|
|
33
|
-
declare function
|
|
34
|
-
declare function
|
|
35
|
-
declare function
|
|
36
|
-
declare function
|
|
37
|
-
declare function
|
|
38
|
-
declare function
|
|
39
|
-
declare function
|
|
40
|
-
declare function
|
|
41
|
-
declare function
|
|
42
|
-
declare function
|
|
43
|
-
declare function
|
|
44
|
-
declare function
|
|
45
|
-
declare function
|
|
46
|
-
declare function
|
|
47
|
-
declare function sa(r: any): boolean;
|
|
48
|
-
declare function Xe(r: any, a: any): void;
|
|
49
|
-
declare function SI(r: any, a: any): void;
|
|
50
|
-
declare function ea(r: any, a: any, i?: number): any;
|
|
51
|
-
declare function gc(r: any, a: any, i?: number): {
|
|
52
|
-
modified: boolean;
|
|
53
|
-
product: any;
|
|
54
|
-
};
|
|
55
|
-
declare function IA(r: any): number;
|
|
56
|
-
declare function Pc(r: any, a?: boolean, i?: undefined, c?: number): never[];
|
|
57
|
-
declare function _i(r: any, a: number | undefined, i: boolean | undefined, c: any, _: any): {
|
|
30
|
+
declare function gt(t: any, e: any): any;
|
|
31
|
+
declare function sd(t: any, e: any, r: any): any;
|
|
32
|
+
declare function hn(t: any, e?: number): any;
|
|
33
|
+
declare function vs(t: any): any;
|
|
34
|
+
declare function $s(t: any): any[] | undefined;
|
|
35
|
+
declare function pe(t: any, e: any): any;
|
|
36
|
+
declare function ye(t: any): any[];
|
|
37
|
+
declare function Lt(t: any): boolean;
|
|
38
|
+
declare function ht(t: any, e: any): any;
|
|
39
|
+
declare function ds(t: any, e: any): boolean;
|
|
40
|
+
declare function It(t: any, e: any, r: any): boolean;
|
|
41
|
+
declare function ue(t: any, e: any): any;
|
|
42
|
+
declare function dt(t: any, e: any): void;
|
|
43
|
+
declare function dg(t: any, e: any): void;
|
|
44
|
+
declare function hs(t: any): number;
|
|
45
|
+
declare function rn(t: any, e?: boolean, r?: undefined, n?: number): never[];
|
|
46
|
+
declare function Kt(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any): {
|
|
58
47
|
value: any;
|
|
59
48
|
isError: boolean;
|
|
60
49
|
isLoading: boolean;
|
|
61
|
-
refresh: (
|
|
50
|
+
refresh: (f: any) => Promise<any>;
|
|
62
51
|
};
|
|
63
|
-
declare function
|
|
52
|
+
declare function ud({ id: t, intervalSeconds: e, withLocalStorage: r }: {
|
|
64
53
|
id: any;
|
|
65
54
|
intervalSeconds: any;
|
|
66
55
|
withLocalStorage: any;
|
|
@@ -68,9 +57,9 @@ declare function bO({ id: r, intervalSeconds: a, withLocalStorage: i }: {
|
|
|
68
57
|
value: any;
|
|
69
58
|
isError: boolean;
|
|
70
59
|
isLoading: boolean;
|
|
71
|
-
refresh: (
|
|
60
|
+
refresh: (f: any) => Promise<any>;
|
|
72
61
|
};
|
|
73
|
-
declare function
|
|
62
|
+
declare function an({ product: t, state: e, selected: r, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
74
63
|
product: any;
|
|
75
64
|
state: any;
|
|
76
65
|
selected: any;
|
|
@@ -83,14 +72,14 @@ declare function Uc({ product: r, state: a, selected: i, cheapestGroupOptionsPro
|
|
|
83
72
|
calculatedPriceDefaultProductState: any;
|
|
84
73
|
calculatedChildrensBasePrice: any;
|
|
85
74
|
};
|
|
86
|
-
declare function
|
|
87
|
-
declare function
|
|
88
|
-
declare function
|
|
75
|
+
declare function Qg(t: any): any[];
|
|
76
|
+
declare function jt(t: any, e: any): () => void;
|
|
77
|
+
declare function hd(t: any): {
|
|
89
78
|
dineInOpen: any;
|
|
90
79
|
takeAwayOpen: any;
|
|
91
80
|
loaded: boolean;
|
|
92
81
|
};
|
|
93
|
-
declare function
|
|
82
|
+
declare function cn({ kioskMediaId: t, kioskMediaType: e, intervalSeconds: r, withLocalStorage: n, baseUrl: s, tenant: a, venue: i, locale: u }: {
|
|
94
83
|
kioskMediaId: any;
|
|
95
84
|
kioskMediaType: any;
|
|
96
85
|
intervalSeconds?: number | undefined;
|
|
@@ -106,9 +95,9 @@ declare function Wc({ kioskMediaId: r, kioskMediaType: a, intervalSeconds: i, wi
|
|
|
106
95
|
isError: boolean;
|
|
107
96
|
isLoading: boolean;
|
|
108
97
|
imageDisplayTime: any;
|
|
109
|
-
refresh: (
|
|
98
|
+
refresh: (f: any) => Promise<any>;
|
|
110
99
|
};
|
|
111
|
-
declare function
|
|
100
|
+
declare function fd({ kioskMediaId: t, kioskMediaType: e, venue: r, language: n, intervalSeconds: s, withLocalStorage: a }: {
|
|
112
101
|
kioskMediaId: any;
|
|
113
102
|
kioskMediaType: any;
|
|
114
103
|
venue: any;
|
|
@@ -122,35 +111,35 @@ declare function TO({ kioskMediaId: r, kioskMediaType: a, venue: i, language: c,
|
|
|
122
111
|
isError: boolean;
|
|
123
112
|
isLoading: boolean;
|
|
124
113
|
imageDisplayTime: any;
|
|
125
|
-
refresh: (
|
|
114
|
+
refresh: (f: any) => Promise<any>;
|
|
126
115
|
};
|
|
127
|
-
declare function
|
|
116
|
+
declare function cd(t: any, e: any, r: any, n?: number, s?: boolean): {
|
|
128
117
|
url: any;
|
|
129
118
|
fallbackUrl: any;
|
|
130
119
|
isError: boolean;
|
|
131
120
|
mediaType: any;
|
|
132
|
-
refresh: (
|
|
121
|
+
refresh: (f: any) => Promise<any>;
|
|
133
122
|
};
|
|
134
|
-
declare function
|
|
123
|
+
declare function un(t: any, e: any, r: any, n: number | undefined, s: boolean | undefined, a: any, i: any): {
|
|
135
124
|
url: any;
|
|
136
125
|
fallbackUrl: any;
|
|
137
126
|
isError: boolean;
|
|
138
127
|
mediaType: any;
|
|
139
|
-
refresh: (
|
|
128
|
+
refresh: (f: any) => Promise<any>;
|
|
140
129
|
};
|
|
141
|
-
declare function
|
|
142
|
-
declare function
|
|
130
|
+
declare function bd(t: any, e?: number): any;
|
|
131
|
+
declare function gg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, enableKeys: s }: {
|
|
143
132
|
originalMenu: any;
|
|
144
133
|
markOnly?: boolean | undefined;
|
|
145
134
|
timeZone: any;
|
|
146
135
|
interval?: number | undefined;
|
|
147
136
|
enableKeys?: any[] | undefined;
|
|
148
137
|
}): never[];
|
|
149
|
-
declare function
|
|
150
|
-
declare function
|
|
138
|
+
declare function ld(t: any, e: any): void;
|
|
139
|
+
declare function on(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any, a: any): {
|
|
151
140
|
value: any;
|
|
152
141
|
isError: boolean;
|
|
153
|
-
refresh: (
|
|
142
|
+
refresh: (f: any) => Promise<any>;
|
|
154
143
|
};
|
|
155
|
-
export {
|
|
144
|
+
export { Nt as MediaProxy, Ur as addDiscounts, $e as availabilityCustomizer, vg as calculateDisplayPrice, Ot as filterTimeAvailabilityOfItems, Rr as filterTimeAvailabilityOfProducts, gs as formatPrice, Xg as getGroupedBucketLines, od as getLocalizedVenueItem, gt as getLocalizedVenueMediaFromArray, sd as getLocalizedVenueMediaUrl, hn as getMediaUrl, vs as getProductAcronym, $s as getUnusedCouponsKeysFromOrder, pe as getUrlFromLocalizedVenueMedia, ye as groupOrderLines, Lt as isAvailable, ht as isChannelOpen, ds as isHiddenByEnableKey, It as isProductAvailable, ue as isProductEnabled, dt as markHiddenByEnableKey, dg as markItemsHiddenByEnableKey, hs as summarizeLineDiscounts, rn as useAvailability, Kt as useCms, ud as useCmsInConfigContext, an as useDisplayPrice, Qg as useGroupOrderLines, jt as useInterval, hd as useKioskChannelsAvailability, cn as useKioskMediaCms, fd as useKioskMediaCmsWithContext, cd as useLocalizedVenueMedia, un as useLocalizedVenueMediaLegacy, bd as useMediaUrl, gg as useMenu, ld as useOnClickOutside, on as useVenueCms };
|
|
156
145
|
//# 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":"AAA+2tD;;;;EAAS;AAAn2oC,oCAAkF;AAAuje,yCAA6W;AAA6xH;;;;;;;;;;;;EAA8hD;AAAnvrB,4EAAymB;AAAzmB,8EAAymB;AAAid,oEAAuF;AAA8/sB,0CAAqE;AAAk6C;;;;QAA4Z;AAAt3B,yCAAua;AAAC,iDAAkD;AAA+qY,6CAAyD;AAApgoC,iCAA4T;AAAA,+CAAsiB;AAAg+sB,yCAAua;AAArwE,mCAAqzB;AAA0nB,qCAA+a;AAAljwB,yCAAmJ;AAA6jB,6CAAgC;AAAzyD,qDAA+c;AAAipC,yCAAyK;AAA8ne,0CAAwK;AAAxK,0CAAwK;AAA5kf,oCAAsC;AAA4wd,6EAAqQ;AAAu8S;;;;;EAA2rC;AAAA;;;;;;;;;EAAkM;AAA1rN;;;;;;;;;;;;EAA8hD;AAAg4D,mCAA4B;AAAx4xC,gDAA0R;AAA6q8C;;;;EAAoZ;AAAprD;;;;;;;;;;;;;;;;;EAAurB;AAAA;;;;;;;;;;;;;;;EAA0U;AAAhsD;;;;;;EAA2K;AAAA;;;;;;EAAohB;AAAg7S,6CAAoC;AAAlypB;;;;;;YAA8H;AAAitY,0CAA+R;AAA/zE;;;;EAAgW"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare let
|
|
1
|
+
declare let tr: {
|
|
2
2
|
new (): {};
|
|
3
3
|
getInstance(): {};
|
|
4
4
|
instance: {} | undefined;
|
|
5
5
|
};
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
declare function
|
|
6
|
+
declare function us(t: any): number;
|
|
7
|
+
declare function Xe(t: any, r: any): any;
|
|
8
|
+
declare function yv({ product: t, state: r, selected: e, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
9
9
|
product: any;
|
|
10
10
|
state: any;
|
|
11
11
|
selected: any;
|
|
@@ -18,49 +18,38 @@ declare function RS({ product: r, state: a, selected: i, cheapestGroupOptionsPro
|
|
|
18
18
|
calculatedPriceDefaultProductState: any;
|
|
19
19
|
calculatedChildrensBasePrice: any;
|
|
20
20
|
};
|
|
21
|
-
declare function
|
|
22
|
-
declare function
|
|
23
|
-
declare function
|
|
24
|
-
declare function
|
|
25
|
-
declare function
|
|
21
|
+
declare function zt(t: any, r?: undefined, e?: undefined, n?: boolean): any;
|
|
22
|
+
declare function os(t: any, r?: undefined, e?: undefined, n?: boolean): any[];
|
|
23
|
+
declare function hv(t: any, r: any, e?: string, n?: number): string;
|
|
24
|
+
declare function bv(t: any): any[] | null;
|
|
25
|
+
declare function mv({ items: t, locale: r, venue: e }: {
|
|
26
26
|
items: any;
|
|
27
27
|
locale: any;
|
|
28
28
|
venue: any;
|
|
29
29
|
}): any;
|
|
30
|
-
declare function
|
|
31
|
-
declare function
|
|
32
|
-
declare function
|
|
33
|
-
declare function
|
|
34
|
-
declare function
|
|
35
|
-
declare function
|
|
36
|
-
declare function
|
|
37
|
-
declare function
|
|
38
|
-
declare function
|
|
39
|
-
declare function
|
|
40
|
-
declare function
|
|
41
|
-
declare function
|
|
42
|
-
declare function
|
|
43
|
-
declare function
|
|
44
|
-
declare function
|
|
45
|
-
declare function
|
|
46
|
-
declare function
|
|
47
|
-
declare function sc(r: any): boolean;
|
|
48
|
-
declare function ni(r: any, a: any): void;
|
|
49
|
-
declare function LS(r: any, a: any): void;
|
|
50
|
-
declare function rc(r: any, a: any, i?: number): any;
|
|
51
|
-
declare function Ty(r: any, a: any, i?: number): {
|
|
52
|
-
modified: boolean;
|
|
53
|
-
product: any;
|
|
54
|
-
};
|
|
55
|
-
declare function TS(r: any): number;
|
|
56
|
-
declare function AI(r: any, a?: boolean, i?: undefined, c?: number): never[];
|
|
57
|
-
declare function oa(r: any, a: number | undefined, i: boolean | undefined, c: any, _: any): {
|
|
30
|
+
declare function At(t: any, r: any): any;
|
|
31
|
+
declare function Av(t: any, r: any, e: any): any;
|
|
32
|
+
declare function sv(t: any, r?: number): any;
|
|
33
|
+
declare function vv(t: any): any;
|
|
34
|
+
declare function $v(t: any): any[] | undefined;
|
|
35
|
+
declare function nn(t: any, r: any): any;
|
|
36
|
+
declare function rn(t: any): any[];
|
|
37
|
+
declare function Qt(t: any): boolean;
|
|
38
|
+
declare function yt(t: any, r: any): any;
|
|
39
|
+
declare function gv(t: any, r: any): boolean;
|
|
40
|
+
declare function Vt(t: any, r: any, e: any): boolean;
|
|
41
|
+
declare function Le(t: any, r: any): any;
|
|
42
|
+
declare function St(t: any, r: any): void;
|
|
43
|
+
declare function pv(t: any, r: any): void;
|
|
44
|
+
declare function lv(t: any): number;
|
|
45
|
+
declare function sg(t: any, r?: boolean, e?: undefined, n?: number): never[];
|
|
46
|
+
declare function dr(t: any, r: number | undefined, e: boolean | undefined, n: any, s: any): {
|
|
58
47
|
value: any;
|
|
59
48
|
isError: boolean;
|
|
60
49
|
isLoading: boolean;
|
|
61
|
-
refresh: (
|
|
50
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
62
51
|
};
|
|
63
|
-
declare function
|
|
52
|
+
declare function Tv({ id: t, intervalSeconds: r, withLocalStorage: e }: {
|
|
64
53
|
id: any;
|
|
65
54
|
intervalSeconds: any;
|
|
66
55
|
withLocalStorage: any;
|
|
@@ -68,9 +57,9 @@ declare function MS({ id: r, intervalSeconds: a, withLocalStorage: i }: {
|
|
|
68
57
|
value: any;
|
|
69
58
|
isError: boolean;
|
|
70
59
|
isLoading: boolean;
|
|
71
|
-
refresh: (
|
|
60
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
72
61
|
};
|
|
73
|
-
declare function
|
|
62
|
+
declare function og({ product: t, state: r, selected: e, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
74
63
|
product: any;
|
|
75
64
|
state: any;
|
|
76
65
|
selected: any;
|
|
@@ -83,14 +72,14 @@ declare function yI({ product: r, state: a, selected: i, cheapestGroupOptionsPro
|
|
|
83
72
|
calculatedPriceDefaultProductState: any;
|
|
84
73
|
calculatedChildrensBasePrice: any;
|
|
85
74
|
};
|
|
86
|
-
declare function
|
|
87
|
-
declare function
|
|
88
|
-
declare function
|
|
75
|
+
declare function _v(t: any): any[];
|
|
76
|
+
declare function nr(t: any, r: any): () => void;
|
|
77
|
+
declare function Sv(t: any): {
|
|
89
78
|
dineInOpen: any;
|
|
90
79
|
takeAwayOpen: any;
|
|
91
80
|
loaded: boolean;
|
|
92
81
|
};
|
|
93
|
-
declare function
|
|
82
|
+
declare function Qg({ kioskMediaId: t, kioskMediaType: r, intervalSeconds: e, withLocalStorage: n, baseUrl: s, tenant: a, venue: i, locale: c }: {
|
|
94
83
|
kioskMediaId: any;
|
|
95
84
|
kioskMediaType: any;
|
|
96
85
|
intervalSeconds?: number | undefined;
|
|
@@ -106,9 +95,9 @@ declare function cS({ kioskMediaId: r, kioskMediaType: a, intervalSeconds: i, wi
|
|
|
106
95
|
isError: boolean;
|
|
107
96
|
isLoading: boolean;
|
|
108
97
|
imageDisplayTime: any;
|
|
109
|
-
refresh: (
|
|
98
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
110
99
|
};
|
|
111
|
-
declare function
|
|
100
|
+
declare function Iv({ kioskMediaId: t, kioskMediaType: r, venue: e, language: n, intervalSeconds: s, withLocalStorage: a }: {
|
|
112
101
|
kioskMediaId: any;
|
|
113
102
|
kioskMediaType: any;
|
|
114
103
|
venue: any;
|
|
@@ -122,35 +111,35 @@ declare function BS({ kioskMediaId: r, kioskMediaType: a, venue: i, language: c,
|
|
|
122
111
|
isError: boolean;
|
|
123
112
|
isLoading: boolean;
|
|
124
113
|
imageDisplayTime: any;
|
|
125
|
-
refresh: (
|
|
114
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
126
115
|
};
|
|
127
|
-
declare function
|
|
116
|
+
declare function Ev(t: any, r: any, e: any, n?: number, s?: boolean): {
|
|
128
117
|
url: any;
|
|
129
118
|
fallbackUrl: any;
|
|
130
119
|
isError: boolean;
|
|
131
120
|
mediaType: any;
|
|
132
|
-
refresh: (
|
|
121
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
133
122
|
};
|
|
134
|
-
declare function
|
|
123
|
+
declare function kg(t: any, r: any, e: any, n: number | undefined, s: boolean | undefined, a: any, i: any): {
|
|
135
124
|
url: any;
|
|
136
125
|
fallbackUrl: any;
|
|
137
126
|
isError: boolean;
|
|
138
127
|
mediaType: any;
|
|
139
|
-
refresh: (
|
|
128
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
140
129
|
};
|
|
141
|
-
declare function
|
|
142
|
-
declare function
|
|
130
|
+
declare function Dv(t: any, r?: number): any;
|
|
131
|
+
declare function dv({ originalMenu: t, markOnly: r, timeZone: e, interval: n, enableKeys: s }: {
|
|
143
132
|
originalMenu: any;
|
|
144
133
|
markOnly?: boolean | undefined;
|
|
145
134
|
timeZone: any;
|
|
146
135
|
interval?: number | undefined;
|
|
147
136
|
enableKeys?: any[] | undefined;
|
|
148
137
|
}): never[];
|
|
149
|
-
declare function
|
|
150
|
-
declare function
|
|
138
|
+
declare function Ov(t: any, r: any): void;
|
|
139
|
+
declare function Jg(t: any, r: number | undefined, e: boolean | undefined, n: any, s: any, a: any): {
|
|
151
140
|
value: any;
|
|
152
141
|
isError: boolean;
|
|
153
|
-
refresh: (
|
|
142
|
+
refresh: (f: any) => Promise<boolean | void>;
|
|
154
143
|
};
|
|
155
|
-
export {
|
|
144
|
+
export { tr as MediaProxy, us as addDiscounts, Xe as availabilityCustomizer, yv as calculateDisplayPrice, zt as filterTimeAvailabilityOfItems, os as filterTimeAvailabilityOfProducts, hv as formatPrice, bv as getGroupedBucketLines, mv as getLocalizedVenueItem, At as getLocalizedVenueMediaFromArray, Av as getLocalizedVenueMediaUrl, sv as getMediaUrl, vv as getProductAcronym, $v as getUnusedCouponsKeysFromOrder, nn as getUrlFromLocalizedVenueMedia, rn as groupOrderLines, Qt as isAvailable, yt as isChannelOpen, gv as isHiddenByEnableKey, Vt as isProductAvailable, Le as isProductEnabled, St as markHiddenByEnableKey, pv as markItemsHiddenByEnableKey, lv as summarizeLineDiscounts, sg as useAvailability, dr as useCms, Tv as useCmsInConfigContext, og as useDisplayPrice, _v as useGroupOrderLines, nr as useInterval, Sv as useKioskChannelsAvailability, Qg as useKioskMediaCms, Iv as useKioskMediaCmsWithContext, Ev as useLocalizedVenueMedia, kg as useLocalizedVenueMediaLegacy, Dv as useMediaUrl, dv as useMenu, Ov as useOnClickOutside, Jg as useVenueCms };
|
|
156
145
|
//# 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":"AAwwEA;;;;EAAW;AA/iDX,oCAGC;AA2rBD,yCASC;AA+FD;;;;;;;;;;;;EA4DU;AAp5BV,4EAsCC;AAtCD,8EAsCC;AAmBD,oEAEC;AA+7BD,0CAEC;AAqDD;;;;QAcC;AA5BD,yCASC;AACD,iDAGC;AAkjBD,6CAEC;AAhiDD,iCAIC;AACD,+CAmBC;AAu8BD,yCASC;AAlFD,mCA4BC;AA8BD,qCAcC;AA3/BD,yCAMC;AAoBD,6CAEC;AAhFD,qDAYC;AA6DD,yCAIC;AA0rBD,0CASC;AATD,0CASC;AA7sBD,oCAEC;AAwqBD,6EAeC;AAiVD;;;;;EAsDC;AACD;;;;;;;;;EAeC;AA9SD;;;;;;;;;;;;EA4DU;AAmGV,mCAEC;AA1pDD,gDAkBC;AAs6DD;;;;EAaC;AAzGD;;;;;;;;;;;;;;;;;EAkDC;AACD;;;;;;;;;;;;;;;EAqBC;AA3GD;;;;;;EAaC;AACD;;;;;;EAoBC;AA2aD,6CAEC;AAn2BD;;;;;;YASC;AAufD,0CAkBC;AA/ID;;;;EAgBC"}
|
package/dist/types/useCms.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ interface KioskMedia {
|
|
|
55
55
|
orderStartScreen: LocalizedVenueMedia[];
|
|
56
56
|
inactiveScreen: LocalizedVenueMedia[];
|
|
57
57
|
disabledScreen: LocalizedVenueMedia[];
|
|
58
|
+
welcomeMenuScreen: LocalizedVenueMedia[];
|
|
58
59
|
errorScreen: LocalizedVenueMedia[];
|
|
59
60
|
}
|
|
60
61
|
export declare function useKioskMediaCms({ kioskMediaId, kioskMediaType, intervalSeconds, withLocalStorage, baseUrl, tenant, venue, locale, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCms.d.ts","sourceRoot":"","sources":["../../../../src/useCms.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,KAAK;IACpB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;IACnB,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,CAAC,EACtB,EAAE,EAAE,MAAM,EACV,eAAe,SAAM,EACrB,gBAAgB,UAAO,EACvB,OAAO,CAAC,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,MAAM;;;;4BA6GsB,WAAW;EAKjD;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EACvC,EAAE,EACF,eAAe,EACf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