@orderingstack/front-hooks 6.10.0-beta.1 → 6.10.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.
|
@@ -18,7 +18,7 @@ declare namespace Y {
|
|
|
18
18
|
function extractLiteralsByLanguage(e: any, t: any): void;
|
|
19
19
|
}
|
|
20
20
|
declare function Mr(e: any): number;
|
|
21
|
-
declare function
|
|
21
|
+
declare function bt(e: any, t: any): any;
|
|
22
22
|
declare function yh({ product: e, state: t, selected: r, cheapestGroupOptionsProduct: n, basePrice: i, dangerouslyOverwritePrice: a }: {
|
|
23
23
|
product: any;
|
|
24
24
|
state: any;
|
|
@@ -46,14 +46,14 @@ declare function ug(e: any, t: any, r: any): any;
|
|
|
46
46
|
declare function hn(e: any, t?: number): any;
|
|
47
47
|
declare function $s(e: any): any;
|
|
48
48
|
declare function ys(e: any): any[] | undefined;
|
|
49
|
-
declare function
|
|
50
|
-
declare function
|
|
49
|
+
declare function At(e: any, t: any): any;
|
|
50
|
+
declare function _t(e: any): any[];
|
|
51
51
|
declare function ps(e: any): boolean;
|
|
52
52
|
declare function pe(e: any): boolean;
|
|
53
53
|
declare function ve(e: any, t: any): any;
|
|
54
54
|
declare function vs(e: any, t: any): boolean;
|
|
55
55
|
declare function De(e: any, t: any, r: any): boolean;
|
|
56
|
-
declare function
|
|
56
|
+
declare function dt(e: any, t: any): any;
|
|
57
57
|
declare function ye(e: any, t: any): void;
|
|
58
58
|
declare function $h(e: any, t: any): void;
|
|
59
59
|
declare function hs(e: any): number;
|
|
@@ -156,5 +156,5 @@ declare function un(e: any, t: number | undefined, r: boolean | undefined, n: an
|
|
|
156
156
|
isError: boolean;
|
|
157
157
|
refresh: (l: any) => Promise<any>;
|
|
158
158
|
};
|
|
159
|
-
export { Ue as MediaProxy, Y as MenuUtils, Mr as addDiscounts,
|
|
159
|
+
export { Ue as MediaProxy, Y as MenuUtils, Mr as addDiscounts, bt as availabilityCustomizer, yh as calculateDisplayPrice, Le as filterTimeAvailabilityOfItems, Ur as filterTimeAvailabilityOfProducts, gs as formatPrice, tg as getGroupedBucketLines, cg as getLocalizedVenueItem, $e as getLocalizedVenueMediaFromArray, ug as getLocalizedVenueMediaUrl, hn as getMediaUrl, $s as getProductAcronym, ys as getUnusedCouponsKeysFromOrder, At as getUrlFromLocalizedVenueMedia, _t as groupOrderLines, ps as isAnyGroupKind, pe as isAvailable, ve as isChannelOpen, vs as isHiddenByEnableKey, De as isProductAvailable, dt as isProductEnabled, ye as markHiddenByEnableKey, $h as markItemsHiddenByEnableKey, hs as summarizeLineDiscounts, nn as useAvailability, qe as useCms, fg as useCmsInConfigContext, sn as useDisplayPrice, eg as useGroupOrderLines, Me as useInterval, gg as useKioskChannelsAvailability, fn as useKioskMediaCms, dg as useKioskMediaCmsWithContext, lg as useLocalizedVenueMedia, cn as useLocalizedVenueMediaLegacy, mg as useMediaUrl, vh as useMenu, hg as useOnClickOutside, un as useVenueCms };
|
|
160
160
|
//# 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":"AAAq+vD;;;;EAAS;;IAA+G,uCAAsG;IAAW,oCAAsC;IAAe,wCAAsC;IAAoB,6CAAuE;IAAiC,8DAA4M;IAA2B,wDAAkM;IAA0C,+DAA6zC;IAAc,0EAAujB;IAA8B,2DAA4H;IAA2B,wDAAuF;IAA8B,2DAAgE;IAA2B,yDAAmwB;;AAA/ksC,oCAAkF;AAAipe,yCAA6W;AAA6tB;;;;;;;;;;;;EAA0nD;AAAznsB,4EAAsrB;AAAtrB,8EAAsrB;AAAopH,oEAAuF;AAAs/nB,0CAAqE;AAA86C;;;;QAA4Z;AAAn4B,yCAAob;AAAC,iDAAkD;AAAmgZ,6CAAyD;AAA51jC,iCAA4T;AAAA,+CAAoiB;AAAy9nB,yCAAob;AAAnpF,mCAAurC;AAAj7lB,qCAA4F;AAA+8mB,qCAA8a;AAA5uxB,yCAAmJ;AAAgwH,6CAAgC;AAAxjK,qDAA8c;AAAi6I,yCAAyK;AAAwte,0CAAwK;AAAxK,0CAAwK;AAAtqf,oCAAsC;AAAs2d,6EAAqQ;AAAi3N;;;;;EAA0rC;AAAA;;;;;;;;;EAAkM;AAAnqO;;;;;;;;;;;;EAA0nD;AAAkwE,mCAA4B;AAAlqzC,gDAA0R;AAAk99C;;;;EAAoZ;AAAprD;;;;;;;;;;;;;;;;;EAAurB;AAAA;;;;;;;;;;;;;;;EAA0U;AAAhsD;;;;;;EAA2K;AAAA;;;;;;EAAohB;AAAqwT,6CAAoC;AAAhilB;;;;;;YAA8H;AAA0nT,0CAA+R;AAA/zE;;;;EAAgW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare let
|
|
1
|
+
declare let ae: {
|
|
2
2
|
new (): {};
|
|
3
3
|
getInstance(): {};
|
|
4
4
|
instance: {} | undefined;
|
|
@@ -32,7 +32,7 @@ declare function bg({ product: t, state: e, selected: r, cheapestGroupOptionsPro
|
|
|
32
32
|
calculatedPriceDefaultProductState: any;
|
|
33
33
|
calculatedChildrensBasePrice: any;
|
|
34
34
|
};
|
|
35
|
-
declare function
|
|
35
|
+
declare function te(t: any, e?: undefined, r?: undefined, n?: boolean): any;
|
|
36
36
|
declare function ui(t: any, e?: undefined, r?: undefined, n?: boolean): any[];
|
|
37
37
|
declare function dg(t: any, e: any, r?: string, n?: number): string;
|
|
38
38
|
declare function mg(t: any): any[] | null;
|
|
@@ -44,21 +44,21 @@ declare function Eg({ items: t, locale: e, venue: r }: {
|
|
|
44
44
|
declare function Et(t: any, e: any): any;
|
|
45
45
|
declare function Tg(t: any, e: any, r: any): any;
|
|
46
46
|
declare function og(t: any, e?: number): any;
|
|
47
|
-
declare function
|
|
48
|
-
declare function
|
|
47
|
+
declare function vg(t: any): any;
|
|
48
|
+
declare function $g(t: any): any[] | undefined;
|
|
49
49
|
declare function an(t: any, e: any): any;
|
|
50
50
|
declare function rn(t: any): any[];
|
|
51
51
|
declare function yg(t: any): boolean;
|
|
52
52
|
declare function Pt(t: any): boolean;
|
|
53
53
|
declare function At(t: any, e: any): any;
|
|
54
54
|
declare function gg(t: any, e: any): boolean;
|
|
55
|
-
declare function
|
|
55
|
+
declare function Qt(t: any, e: any, r: any): boolean;
|
|
56
56
|
declare function Pr(t: any, e: any): any;
|
|
57
|
-
declare function
|
|
57
|
+
declare function wt(t: any, e: any): void;
|
|
58
58
|
declare function _g(t: any, e: any): void;
|
|
59
59
|
declare function hg(t: any): number;
|
|
60
60
|
declare function od(t: any, e?: boolean, r?: undefined, n?: number): never[];
|
|
61
|
-
declare function
|
|
61
|
+
declare function _e(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any): {
|
|
62
62
|
value: any;
|
|
63
63
|
isError: boolean;
|
|
64
64
|
isLoading: boolean;
|
|
@@ -88,7 +88,7 @@ declare function ud({ product: t, state: e, selected: r, cheapestGroupOptionsPro
|
|
|
88
88
|
calculatedChildrensBasePrice: any;
|
|
89
89
|
};
|
|
90
90
|
declare function Ag(t: any): any[];
|
|
91
|
-
declare function
|
|
91
|
+
declare function oe(t: any, e: any): () => void;
|
|
92
92
|
declare function Cg(t: any): {
|
|
93
93
|
dineInOpen: any;
|
|
94
94
|
takeAwayOpen: any;
|
|
@@ -142,7 +142,7 @@ declare function Xd(t: any, e: any, r: any, n: number | undefined, s: boolean |
|
|
|
142
142
|
mediaType: any;
|
|
143
143
|
refresh: (l: any) => Promise<boolean | void>;
|
|
144
144
|
};
|
|
145
|
-
declare function
|
|
145
|
+
declare function wg(t: any, e?: number): any;
|
|
146
146
|
declare function pg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, enableKeys: s }: {
|
|
147
147
|
originalMenu: any;
|
|
148
148
|
markOnly?: boolean | undefined;
|
|
@@ -151,10 +151,10 @@ declare function pg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, en
|
|
|
151
151
|
enableKeys?: never[] | undefined;
|
|
152
152
|
}): never[];
|
|
153
153
|
declare function Dg(t: any, e: any): void;
|
|
154
|
-
declare function
|
|
154
|
+
declare function Jd(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any, a: any): {
|
|
155
155
|
value: any;
|
|
156
156
|
isError: boolean;
|
|
157
157
|
refresh: (l: any) => Promise<boolean | void>;
|
|
158
158
|
};
|
|
159
|
-
export {
|
|
159
|
+
export { ae as MediaProxy, Y as MenuUtils, fi as addDiscounts, tn as availabilityCustomizer, bg as calculateDisplayPrice, te as filterTimeAvailabilityOfItems, ui as filterTimeAvailabilityOfProducts, dg as formatPrice, mg as getGroupedBucketLines, Eg as getLocalizedVenueItem, Et as getLocalizedVenueMediaFromArray, Tg as getLocalizedVenueMediaUrl, og as getMediaUrl, vg as getProductAcronym, $g as getUnusedCouponsKeysFromOrder, an as getUrlFromLocalizedVenueMedia, rn as groupOrderLines, yg as isAnyGroupKind, Pt as isAvailable, At as isChannelOpen, gg as isHiddenByEnableKey, Qt as isProductAvailable, Pr as isProductEnabled, wt as markHiddenByEnableKey, _g as markItemsHiddenByEnableKey, hg as summarizeLineDiscounts, od as useAvailability, _e as useCms, Ig as useCmsInConfigContext, ud as useDisplayPrice, Ag as useGroupOrderLines, oe as useInterval, Cg as useKioskChannelsAvailability, Qd as useKioskMediaCms, Sg as useKioskMediaCmsWithContext, Og as useLocalizedVenueMedia, Xd as useLocalizedVenueMediaLegacy, wg as useMediaUrl, pg as useMenu, Dg as useOnClickOutside, Jd as useVenueCms };
|
|
160
160
|
//# 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":"AAmzEA;;;;EAAW;;IAQC,uCAGR;IACS,oCAAkD;IAC9C,wCAAkD;IAC7C,6CAGnB;IACgC,8DAehC;IAC0B,wDAY1B;IACyC,+DA+DzC;IACa,0EA0Bb;IAC6B,2DAS7B;IAC0B,wDAK1B;IAC6B,2DAG7B;IAC0B,yDAkB1B;;AA3uDH,oCAGC;AAmsBD,yCASC;AAuCD;;;;;;;;;;;;EAuGU;AAx8BV,4EAuCC;AAvCD,8EAuCC;AA2ED,oEAEC;AAo8BD,0CAEC;AAyDD;;;;QAcC;AAhCD,yCAaC;AACD,iDAGC;AAqjBD,6CAEC;AA5iDD,iCAIC;AACD,+CAmBC;AA48BD,yCAaC;AAjGD,mCAuCC;AA95BD,qCAOC;AAq7BD,qCAcC;AAxjCD,yCAMC;AA4ED,6CAEC;AAvID,qDAUC;AAsHD,yCAIC;AAksBD,0CASC;AATD,0CASC;AArtBD,oCAEC;AAgrBD,6EAeC;AAkVD;;;;;EAsDC;AACD;;;;;;;;;EAeC;AAvWD;;;;;;;;;;;;EAuGU;AA6GV,mCAEC;AA9rDD,gDAkBC;AAw8DD;;;;EAaC;AAnGD;;;;;;;;;;;;;;;;;EA4CC;AACD;;;;;;;;;;;;;;;EAqBC;AArGD;;;;;;EAaC;AACD;;;;;;EAoBC;AA8aD,6CAEC;AAv2BD;;;;;;YASC;AAkfD,0CAkBC;AAzID;;;;EAgBC"}
|