@orderingstack/front-hooks 6.0.0 → 6.1.0-beta.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 +1216 -1100
- 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/analytics-plugin/src/__tests__/analytics.test.d.ts +2 -0
- package/dist/packages/analytics-plugin/src/__tests__/analytics.test.d.ts.map +1 -0
- package/dist/packages/analytics-plugin/src/index.d.ts +71 -0
- package/dist/packages/analytics-plugin/src/index.d.ts.map +1 -0
- package/dist/packages/analytics-plugin/vite.config.d.ts +3 -0
- package/dist/packages/analytics-plugin/vite.config.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +71 -0
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +70 -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 +40 -0
- package/dist/packages/auth/src/AuthContext.d.ts.map +1 -0
- package/dist/packages/auth/src/AuthProvider.d.ts +8 -0
- package/dist/packages/auth/src/AuthProvider.d.ts.map +1 -0
- package/dist/packages/auth/src/AuthProviderCommon.d.ts +78 -0
- package/dist/packages/auth/src/AuthProviderCommon.d.ts.map +1 -0
- package/dist/packages/auth/src/AuthProviderV5.d.ts +4 -0
- package/dist/packages/auth/src/AuthProviderV5.d.ts.map +1 -0
- package/dist/packages/auth/src/AuthProviderV6.d.ts +4 -0
- package/dist/packages/auth/src/AuthProviderV6.d.ts.map +1 -0
- package/dist/packages/auth/src/ConfigContext.d.ts +14 -0
- package/dist/packages/auth/src/ConfigContext.d.ts.map +1 -0
- package/dist/packages/auth/src/index.d.ts +7 -0
- package/dist/packages/auth/src/index.d.ts.map +1 -0
- package/dist/packages/auth/src/legacy.d.ts +8 -0
- package/dist/packages/auth/src/legacy.d.ts.map +1 -0
- package/dist/packages/auth/src/pkce.d.ts +14 -0
- package/dist/packages/auth/src/pkce.d.ts.map +1 -0
- package/dist/packages/auth/src/secureStorage.d.ts +14 -0
- package/dist/packages/auth/src/secureStorage.d.ts.map +1 -0
- package/dist/packages/auth/src/v6.d.ts +7 -0
- package/dist/packages/auth/src/v6.d.ts.map +1 -0
- package/dist/packages/auth/vite.config.d.ts +3 -0
- package/dist/packages/auth/vite.config.d.ts.map +1 -0
- package/dist/packages/config/dist/index.cjs.d.ts +93 -0
- package/dist/packages/config/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/config/dist/index.es.d.ts +91 -0
- package/dist/packages/config/dist/index.es.d.ts.map +1 -0
- package/dist/packages/config/src/ThemeProvider.d.ts +9 -0
- package/dist/packages/config/src/ThemeProvider.d.ts.map +1 -0
- package/dist/packages/config/src/index.d.ts +4 -0
- package/dist/packages/config/src/index.d.ts.map +1 -0
- package/dist/packages/config/src/tailwind.d.ts +53 -0
- package/dist/packages/config/src/tailwind.d.ts.map +1 -0
- package/dist/packages/config/src/theme.d.ts +2 -0
- package/dist/packages/config/src/theme.d.ts.map +1 -0
- package/dist/packages/config/vite.config.d.ts +3 -0
- package/dist/packages/config/vite.config.d.ts.map +1 -0
- package/dist/packages/hooks/dist/index.cjs.d.ts +128 -0
- package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/hooks/dist/index.es.d.ts +128 -0
- package/dist/packages/hooks/dist/index.es.d.ts.map +1 -0
- package/dist/packages/hooks/vite.config.d.ts +3 -0
- package/dist/packages/hooks/vite.config.d.ts.map +1 -0
- 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/Menu.d.ts +4 -0
- package/dist/packages/menu/src/Menu.d.ts.map +1 -0
- package/dist/packages/menu/src/components/Button.d.ts +12 -0
- package/dist/packages/menu/src/components/Button.d.ts.map +1 -0
- package/dist/packages/menu/src/components/Chip.d.ts +10 -0
- package/dist/packages/menu/src/components/Chip.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/BottomNav.d.ts +4 -0
- package/dist/packages/menu/src/components/default/BottomNav.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/Categories.d.ts +11 -0
- package/dist/packages/menu/src/components/default/Categories.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/CategorySection.d.ts +5 -0
- package/dist/packages/menu/src/components/default/CategorySection.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/ProductTile.d.ts +4 -0
- package/dist/packages/menu/src/components/default/ProductTile.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/TopNav.d.ts +4 -0
- package/dist/packages/menu/src/components/default/TopNav.d.ts.map +1 -0
- package/dist/packages/menu/src/index.d.ts +3 -0
- package/dist/packages/menu/src/index.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/Menu.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/Menu.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts +7 -0
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts.map +1 -0
- package/dist/packages/menu/src/stories/themes/bkTheme.d.ts +2 -0
- package/dist/packages/menu/src/stories/themes/bkTheme.d.ts.map +1 -0
- package/dist/packages/menu/src/types.d.ts +6 -0
- package/dist/packages/menu/src/types.d.ts.map +1 -0
- package/dist/packages/menu/src/utils.d.ts +6 -0
- package/dist/packages/menu/src/utils.d.ts.map +1 -0
- package/dist/packages/menu/tailwind.config.d.ts +78 -0
- package/dist/packages/menu/tailwind.config.d.ts.map +1 -0
- package/dist/packages/menu/vite.config.d.ts +3 -0
- package/dist/packages/menu/vite.config.d.ts.map +1 -0
- package/dist/packages/mparticle-plugin/src/index.d.ts +22 -0
- package/dist/packages/mparticle-plugin/src/index.d.ts.map +1 -0
- package/dist/packages/mparticle-plugin/vite.config.d.ts +3 -0
- package/dist/packages/mparticle-plugin/vite.config.d.ts.map +1 -0
- package/dist/packages/phone-input/dist/index.cjs.d.ts +13 -0
- package/dist/packages/phone-input/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/phone-input/dist/index.es.d.ts +13 -0
- package/dist/packages/phone-input/dist/index.es.d.ts.map +1 -0
- package/dist/packages/phone-input/src/PhoneInput.d.ts +19 -0
- package/dist/packages/phone-input/src/PhoneInput.d.ts.map +1 -0
- package/dist/packages/phone-input/src/index.d.ts +2 -0
- package/dist/packages/phone-input/src/index.d.ts.map +1 -0
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts +9 -0
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts.map +1 -0
- package/dist/packages/phone-input/src/utils/__tests__/findCountry.test.d.ts +2 -0
- package/dist/packages/phone-input/src/utils/__tests__/findCountry.test.d.ts.map +1 -0
- package/dist/packages/phone-input/src/utils/countries.d.ts +9 -0
- package/dist/packages/phone-input/src/utils/countries.d.ts.map +1 -0
- package/dist/packages/phone-input/src/utils/findCountry.d.ts +8 -0
- package/dist/packages/phone-input/src/utils/findCountry.d.ts.map +1 -0
- package/dist/packages/phone-input/vite.config.d.ts +3 -0
- package/dist/packages/phone-input/vite.config.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/utils/helpers.d.ts +5 -0
- package/dist/src/utils/helpers.d.ts.map +1 -0
- package/dist/types/__tests__/calculateChildrensBasePrice.test.d.ts +2 -0
- package/dist/types/__tests__/calculateChildrensBasePrice.test.d.ts.map +1 -0
- package/dist/types/__tests__/cmsSchedule.test.d.ts +2 -0
- package/dist/types/__tests__/cmsSchedule.test.d.ts.map +1 -0
- package/dist/types/__tests__/displayPriceWithDangerouslyOverwritePrice.test.d.ts +2 -0
- package/dist/types/__tests__/displayPriceWithDangerouslyOverwritePrice.test.d.ts.map +1 -0
- package/dist/types/__tests__/groupOrderLines.test.d.ts +2 -0
- package/dist/types/__tests__/groupOrderLines.test.d.ts.map +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/useAvailability.d.ts +1 -0
- package/dist/types/useAvailability.d.ts.map +1 -1
- package/dist/types/useChannelAvailability.d.ts +3 -2
- package/dist/types/useChannelAvailability.d.ts.map +1 -1
- package/dist/types/useCms.d.ts +15 -1
- package/dist/types/useCms.d.ts.map +1 -1
- package/dist/types/useDisplayPrice.d.ts +1 -0
- package/dist/types/useDisplayPrice.d.ts.map +1 -1
- package/dist/types/useGroupOrderLines.d.ts +1 -0
- package/dist/types/useGroupOrderLines.d.ts.map +1 -1
- package/dist/types/useInterval.d.ts.map +1 -1
- package/dist/types/useMediaUrl.d.ts +2 -1
- package/dist/types/useMediaUrl.d.ts.map +1 -1
- package/dist/types/useOnClickOutside.d.ts +2 -1
- package/dist/types/useOnClickOutside.d.ts.map +1 -1
- package/dist/types/utils/__tests__/getMediaUrl.test.d.ts +2 -0
- package/dist/types/utils/__tests__/getMediaUrl.test.d.ts.map +1 -0
- package/dist/types/utils/__tests__/timeAvailabilityFilter.test.d.ts +2 -0
- package/dist/types/utils/__tests__/timeAvailabilityFilter.test.d.ts.map +1 -0
- package/dist/types/utils/cms.d.ts +4 -0
- package/dist/types/utils/cms.d.ts.map +1 -1
- package/dist/types/utils/timeAvailabilityFilter.d.ts +3 -2
- package/dist/types/utils/timeAvailabilityFilter.d.ts.map +1 -1
- package/dist/types/utils.d.ts +1 -0
- package/dist/types/utils.d.ts.map +1 -1
- package/package.json +53 -51
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
declare let Ot: {
|
|
2
|
+
new (): {};
|
|
3
|
+
getInstance(): {};
|
|
4
|
+
instance: {} | undefined;
|
|
5
|
+
};
|
|
6
|
+
declare function Gr(t: any): number;
|
|
7
|
+
declare function ug({ product: t, state: e, selected: r, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
8
|
+
product: any;
|
|
9
|
+
state: any;
|
|
10
|
+
selected: any;
|
|
11
|
+
cheapestGroupOptionsProduct: any;
|
|
12
|
+
basePrice: any;
|
|
13
|
+
dangerouslyOverwritePrice: any;
|
|
14
|
+
}): {
|
|
15
|
+
displayPrice: any;
|
|
16
|
+
showAsMinPrice: any;
|
|
17
|
+
calculatedPriceDefaultProductState: any;
|
|
18
|
+
calculatedChildrensBasePrice: any;
|
|
19
|
+
};
|
|
20
|
+
declare function Fu(t: any, e: any, r?: string, n?: number): string;
|
|
21
|
+
declare function Vg(t: any): any[] | null;
|
|
22
|
+
declare function cn(t: any, e?: number): any;
|
|
23
|
+
declare function Bu(t: any): any;
|
|
24
|
+
declare function he(t: any): any[];
|
|
25
|
+
declare function lt(t: any, e: any): any;
|
|
26
|
+
declare function Wr(t: any, e: any): any;
|
|
27
|
+
declare function xu(t: any): number;
|
|
28
|
+
declare function Qr(t: any, e?: boolean, r?: undefined, n?: number): any;
|
|
29
|
+
declare function xt(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any): {
|
|
30
|
+
value: any;
|
|
31
|
+
isError: boolean;
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
refresh: (u: any) => Promise<any>;
|
|
34
|
+
};
|
|
35
|
+
declare function kg({ id: t, intervalSeconds: e, withLocalStorage: r }: {
|
|
36
|
+
id: any;
|
|
37
|
+
intervalSeconds: any;
|
|
38
|
+
withLocalStorage: any;
|
|
39
|
+
}): {
|
|
40
|
+
value: any;
|
|
41
|
+
isError: boolean;
|
|
42
|
+
isLoading: boolean;
|
|
43
|
+
refresh: (u: any) => Promise<any>;
|
|
44
|
+
};
|
|
45
|
+
declare function tn({ product: t, state: e, selected: r, cheapestGroupOptionsProduct: n, basePrice: s, dangerouslyOverwritePrice: a }: {
|
|
46
|
+
product: any;
|
|
47
|
+
state: any;
|
|
48
|
+
selected: any;
|
|
49
|
+
cheapestGroupOptionsProduct: any;
|
|
50
|
+
basePrice: any;
|
|
51
|
+
dangerouslyOverwritePrice: any;
|
|
52
|
+
}): {
|
|
53
|
+
displayPrice: any;
|
|
54
|
+
showAsMinPrice: any;
|
|
55
|
+
calculatedPriceDefaultProductState: any;
|
|
56
|
+
calculatedChildrensBasePrice: any;
|
|
57
|
+
};
|
|
58
|
+
declare function qg(t: any): any[];
|
|
59
|
+
declare function St(t: any, e: any): () => void;
|
|
60
|
+
declare function n$(t: any): {
|
|
61
|
+
dineInOpen: any;
|
|
62
|
+
takeAwayOpen: any;
|
|
63
|
+
loaded: boolean;
|
|
64
|
+
};
|
|
65
|
+
declare function an({ kioskMediaId: t, kioskMediaType: e, intervalSeconds: r, withLocalStorage: n, baseUrl: s, tenant: a, venue: i, locale: c }: {
|
|
66
|
+
kioskMediaId: any;
|
|
67
|
+
kioskMediaType: any;
|
|
68
|
+
intervalSeconds?: number | undefined;
|
|
69
|
+
withLocalStorage?: boolean | undefined;
|
|
70
|
+
baseUrl: any;
|
|
71
|
+
tenant: any;
|
|
72
|
+
venue: any;
|
|
73
|
+
locale: any;
|
|
74
|
+
}): {
|
|
75
|
+
url: any;
|
|
76
|
+
fallbackUrl: any;
|
|
77
|
+
mediaType: any;
|
|
78
|
+
isError: boolean;
|
|
79
|
+
isLoading: boolean;
|
|
80
|
+
imageDisplayTime: any;
|
|
81
|
+
refresh: (u: any) => Promise<any>;
|
|
82
|
+
};
|
|
83
|
+
declare function e$({ kioskMediaId: t, kioskMediaType: e, venue: r, language: n, intervalSeconds: s, withLocalStorage: a }: {
|
|
84
|
+
kioskMediaId: any;
|
|
85
|
+
kioskMediaType: any;
|
|
86
|
+
venue: any;
|
|
87
|
+
language: any;
|
|
88
|
+
intervalSeconds?: number | undefined;
|
|
89
|
+
withLocalStorage?: boolean | undefined;
|
|
90
|
+
}): {
|
|
91
|
+
url: any;
|
|
92
|
+
fallbackUrl: any;
|
|
93
|
+
mediaType: any;
|
|
94
|
+
isError: boolean;
|
|
95
|
+
isLoading: boolean;
|
|
96
|
+
imageDisplayTime: any;
|
|
97
|
+
refresh: (u: any) => Promise<any>;
|
|
98
|
+
};
|
|
99
|
+
declare function t$(t: any, e: any, r: any, n?: number, s?: boolean): {
|
|
100
|
+
url: any;
|
|
101
|
+
fallbackUrl: any;
|
|
102
|
+
isError: boolean;
|
|
103
|
+
mediaType: any;
|
|
104
|
+
refresh: (u: any) => Promise<any>;
|
|
105
|
+
};
|
|
106
|
+
declare function nn(t: any, e: any, r: any, n: number | undefined, s: boolean | undefined, a: any, i: any): {
|
|
107
|
+
url: any;
|
|
108
|
+
fallbackUrl: any;
|
|
109
|
+
isError: boolean;
|
|
110
|
+
mediaType: any;
|
|
111
|
+
refresh: (u: any) => Promise<any>;
|
|
112
|
+
};
|
|
113
|
+
declare function l$(t: any, e?: number): any;
|
|
114
|
+
declare function cg({ originalMenu: t, markOnly: e, timeZone: r, interval: n, enableKeys: s }: {
|
|
115
|
+
originalMenu: any;
|
|
116
|
+
markOnly?: boolean | undefined;
|
|
117
|
+
timeZone: any;
|
|
118
|
+
interval?: number | undefined;
|
|
119
|
+
enableKeys?: any[] | undefined;
|
|
120
|
+
}): any;
|
|
121
|
+
declare function r$(t: any, e: any): void;
|
|
122
|
+
declare function rn(t: any, e: number | undefined, r: boolean | undefined, n: any, s: any, a: any): {
|
|
123
|
+
value: any;
|
|
124
|
+
isError: boolean;
|
|
125
|
+
refresh: (u: any) => Promise<any>;
|
|
126
|
+
};
|
|
127
|
+
export { Ot as MediaProxy, Gr as addDiscounts, ug as calculateDisplayPrice, Fu as formatPrice, Vg as getGroupedBucketLines, cn as getMediaUrl, Bu as getProductAcronym, he as groupOrderLines, lt as isChannelOpen, Wr as isProductEnabled, xu as summarizeLineDiscounts, Qr as useAvailability, xt as useCms, kg as useCmsInConfigContext, tn as useDisplayPrice, qg as useGroupOrderLines, St as useInterval, n$ as useKioskChannelsAvailability, an as useKioskMediaCms, e$ as useKioskMediaCmsWithContext, t$ as useLocalizedVenueMedia, nn as useLocalizedVenueMediaLegacy, l$ as useMediaUrl, cg as useMenu, r$ as useOnClickOutside, rn as useVenueCms };
|
|
128
|
+
//# sourceMappingURL=index.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../index.cjs.js"],"names":[],"mappings":"AAAkhqD;;;;EAAS;AAArn1B,oCAAkF;AAAyjU;;;;;;;;;;;;EAAg/C;AAAngX,oEAAuF;AAAw0a,0CAAqE;AAAyha,6CAAyD;AAAtz0B,iCAA4T;AAAkhY,mCAAqzB;AAAp4rB,yCAAmJ;AAAq8Q,yCAAyK;AAAtS,oCAAsC;AAAikM,yEAAkN;AAA8/Q;;;;;EAA2rC;AAAA;;;;;;;;;EAAkM;AAA3nM;;;;;;;;;;;;EAAg/C;AAAg4D,mCAA4B;AAAnmvC,gDAA0R;AAAg14C;;;;EAAoZ;AAA7oD;;;;;;;;;;;;;;;;;EAAgpB;AAAA;;;;;;;;;;;;;;;EAA0U;AAAzpD;;;;;;EAA2K;AAAA;;;;;;EAAohB;AAAy4S,6CAAoC;AAAppoB;;;;;;QAA8H;AAAmkX,0CAA+R;AAAxxE;;;;EAAgW"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
declare let Qt: {
|
|
2
|
+
new (): {};
|
|
3
|
+
getInstance(): {};
|
|
4
|
+
instance: {} | undefined;
|
|
5
|
+
};
|
|
6
|
+
declare function Ru(t: any): number;
|
|
7
|
+
declare function l$({ product: t, state: r, selected: e, cheapestGroupOptionsProduct: n, basePrice: i, dangerouslyOverwritePrice: a }: {
|
|
8
|
+
product: any;
|
|
9
|
+
state: any;
|
|
10
|
+
selected: any;
|
|
11
|
+
cheapestGroupOptionsProduct: any;
|
|
12
|
+
basePrice: any;
|
|
13
|
+
dangerouslyOverwritePrice: any;
|
|
14
|
+
}): {
|
|
15
|
+
displayPrice: any;
|
|
16
|
+
showAsMinPrice: any;
|
|
17
|
+
calculatedPriceDefaultProductState: any;
|
|
18
|
+
calculatedChildrensBasePrice: any;
|
|
19
|
+
};
|
|
20
|
+
declare function c$(t: any, r: any, e?: string, n?: number): string;
|
|
21
|
+
declare function g$(t: any): any[] | null;
|
|
22
|
+
declare function e$(t: any, r?: number): any;
|
|
23
|
+
declare function u$(t: any): any;
|
|
24
|
+
declare function Xe(t: any): any[];
|
|
25
|
+
declare function yt(t: any, r: any): any;
|
|
26
|
+
declare function Uu(t: any, r: any): any;
|
|
27
|
+
declare function o$(t: any): number;
|
|
28
|
+
declare function eg(t: any, r?: boolean, e?: undefined, n?: number): any;
|
|
29
|
+
declare function gr(t: any, r: number | undefined, e: boolean | undefined, n: any, i: any): {
|
|
30
|
+
value: any;
|
|
31
|
+
isError: boolean;
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
34
|
+
};
|
|
35
|
+
declare function $$({ id: t, intervalSeconds: r, withLocalStorage: e }: {
|
|
36
|
+
id: any;
|
|
37
|
+
intervalSeconds: any;
|
|
38
|
+
withLocalStorage: any;
|
|
39
|
+
}): {
|
|
40
|
+
value: any;
|
|
41
|
+
isError: boolean;
|
|
42
|
+
isLoading: boolean;
|
|
43
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
44
|
+
};
|
|
45
|
+
declare function ag({ product: t, state: r, selected: e, cheapestGroupOptionsProduct: n, basePrice: i, dangerouslyOverwritePrice: a }: {
|
|
46
|
+
product: any;
|
|
47
|
+
state: any;
|
|
48
|
+
selected: any;
|
|
49
|
+
cheapestGroupOptionsProduct: any;
|
|
50
|
+
basePrice: any;
|
|
51
|
+
dangerouslyOverwritePrice: any;
|
|
52
|
+
}): {
|
|
53
|
+
displayPrice: any;
|
|
54
|
+
showAsMinPrice: any;
|
|
55
|
+
calculatedPriceDefaultProductState: any;
|
|
56
|
+
calculatedChildrensBasePrice: any;
|
|
57
|
+
};
|
|
58
|
+
declare function h$(t: any): any[];
|
|
59
|
+
declare function tr(t: any, r: any): () => void;
|
|
60
|
+
declare function y$(t: any): {
|
|
61
|
+
dineInOpen: any;
|
|
62
|
+
takeAwayOpen: any;
|
|
63
|
+
loaded: boolean;
|
|
64
|
+
};
|
|
65
|
+
declare function Zg({ kioskMediaId: t, kioskMediaType: r, intervalSeconds: e, withLocalStorage: n, baseUrl: i, tenant: a, venue: s, locale: c }: {
|
|
66
|
+
kioskMediaId: any;
|
|
67
|
+
kioskMediaType: any;
|
|
68
|
+
intervalSeconds?: number | undefined;
|
|
69
|
+
withLocalStorage?: boolean | undefined;
|
|
70
|
+
baseUrl: any;
|
|
71
|
+
tenant: any;
|
|
72
|
+
venue: any;
|
|
73
|
+
locale: any;
|
|
74
|
+
}): {
|
|
75
|
+
url: any;
|
|
76
|
+
fallbackUrl: any;
|
|
77
|
+
mediaType: any;
|
|
78
|
+
isError: boolean;
|
|
79
|
+
isLoading: boolean;
|
|
80
|
+
imageDisplayTime: any;
|
|
81
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
82
|
+
};
|
|
83
|
+
declare function d$({ kioskMediaId: t, kioskMediaType: r, venue: e, language: n, intervalSeconds: i, withLocalStorage: a }: {
|
|
84
|
+
kioskMediaId: any;
|
|
85
|
+
kioskMediaType: any;
|
|
86
|
+
venue: any;
|
|
87
|
+
language: any;
|
|
88
|
+
intervalSeconds?: number | undefined;
|
|
89
|
+
withLocalStorage?: boolean | undefined;
|
|
90
|
+
}): {
|
|
91
|
+
url: any;
|
|
92
|
+
fallbackUrl: any;
|
|
93
|
+
mediaType: any;
|
|
94
|
+
isError: boolean;
|
|
95
|
+
isLoading: boolean;
|
|
96
|
+
imageDisplayTime: any;
|
|
97
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
98
|
+
};
|
|
99
|
+
declare function v$(t: any, r: any, e: any, n?: number, i?: boolean): {
|
|
100
|
+
url: any;
|
|
101
|
+
fallbackUrl: any;
|
|
102
|
+
isError: boolean;
|
|
103
|
+
mediaType: any;
|
|
104
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
105
|
+
};
|
|
106
|
+
declare function Vg(t: any, r: any, e: any, n: number | undefined, i: boolean | undefined, a: any, s: any): {
|
|
107
|
+
url: any;
|
|
108
|
+
fallbackUrl: any;
|
|
109
|
+
isError: boolean;
|
|
110
|
+
mediaType: any;
|
|
111
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
112
|
+
};
|
|
113
|
+
declare function _$(t: any, r?: number): any;
|
|
114
|
+
declare function f$({ originalMenu: t, markOnly: r, timeZone: e, interval: n, enableKeys: i }: {
|
|
115
|
+
originalMenu: any;
|
|
116
|
+
markOnly?: boolean | undefined;
|
|
117
|
+
timeZone: any;
|
|
118
|
+
interval?: number | undefined;
|
|
119
|
+
enableKeys?: any[] | undefined;
|
|
120
|
+
}): any;
|
|
121
|
+
declare function p$(t: any, r: any): void;
|
|
122
|
+
declare function qg(t: any, r: number | undefined, e: boolean | undefined, n: any, i: any, a: any): {
|
|
123
|
+
value: any;
|
|
124
|
+
isError: boolean;
|
|
125
|
+
refresh: (u: any) => Promise<boolean | void>;
|
|
126
|
+
};
|
|
127
|
+
export { Qt as MediaProxy, Ru as addDiscounts, l$ as calculateDisplayPrice, c$ as formatPrice, g$ as getGroupedBucketLines, e$ as getMediaUrl, u$ as getProductAcronym, Xe as groupOrderLines, yt as isChannelOpen, Uu as isProductEnabled, o$ as summarizeLineDiscounts, eg as useAvailability, gr as useCms, $$ as useCmsInConfigContext, ag as useDisplayPrice, h$ as useGroupOrderLines, tr as useInterval, y$ as useKioskChannelsAvailability, Zg as useKioskMediaCms, d$ as useKioskMediaCmsWithContext, v$ as useLocalizedVenueMedia, Vg as useLocalizedVenueMediaLegacy, _$ as useMediaUrl, f$ as useMenu, p$ as useOnClickOutside, qg as useVenueCms };
|
|
128
|
+
//# sourceMappingURL=index.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../index.es.js"],"names":[],"mappings":"AA2sEA;;;;EAAW;AA3lCX,oCAGC;AA2WD;;;;;;;;;;;;EA4DU;AAnaV,oEAEC;AAugBD,0CAEC;AA0kBD,6CAEC;AA/kCD,iCAIC;AA6dD,mCA4BC;AA/6BD,yCAMC;AAuaD,yCAIC;AAVD,oCAEC;AAsPD,yEAoBC;AA6SD;;;;;EAsDC;AACD;;;;;;;;;EAeC;AArRD;;;;;;;;;;;;EA4DU;AAmGV,mCAEC;AAznDD,gDAkBC;AAy2DD;;;;EAaC;AAtGD;;;;;;;;;;;;;;;;;EA+CC;AACD;;;;;;;;;;;;;;;EAqBC;AAxGD;;;;;;EAaC;AACD;;;;;;EAoBC;AAwaD,6CAEC;AAt0BD;;;;;;QASC;AA0dD,0CAkBC;AA5ID;;;;EAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../vite.config.ts"],"names":[],"mappings":";AAsCA,wBAoCG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { nl as Menu };
|
|
2
|
+
declare function nl({ menu: e, handleSelectProduct: t, fallbackImg: r, lazyLoadImg: n, currency: i, timeZone: s, availabilityMarkOnly: a, availabilityCheckInterval: l, cols: d, colsLg: c, transitionProps: m, stacking: h, onMenuCategoryViewed: E, goToCheckout: A, goToStart: T, order: C, changeQuantity: j, components: R }: {
|
|
3
|
+
menu: any;
|
|
4
|
+
handleSelectProduct: any;
|
|
5
|
+
fallbackImg?: string | undefined;
|
|
6
|
+
lazyLoadImg: any;
|
|
7
|
+
currency: any;
|
|
8
|
+
timeZone: any;
|
|
9
|
+
availabilityMarkOnly: any;
|
|
10
|
+
availabilityCheckInterval: any;
|
|
11
|
+
cols: any;
|
|
12
|
+
colsLg: any;
|
|
13
|
+
transitionProps: any;
|
|
14
|
+
stacking?: string | undefined;
|
|
15
|
+
onMenuCategoryViewed: any;
|
|
16
|
+
goToCheckout: any;
|
|
17
|
+
goToStart: any;
|
|
18
|
+
order: any;
|
|
19
|
+
changeQuantity: any;
|
|
20
|
+
components: any;
|
|
21
|
+
}): any;
|
|
22
|
+
//# sourceMappingURL=index.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../../../menu/dist/index.cjs.js"],"names":[],"mappings":";AA0Bq/mG;;;;;;;;;;;;;;;;;;;QAA+2I"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { vl as Menu };
|
|
2
|
+
declare function vl({ menu: e, handleSelectProduct: t, fallbackImg: r, lazyLoadImg: n, currency: i, timeZone: s, availabilityMarkOnly: a, availabilityCheckInterval: l, cols: d, colsLg: c, transitionProps: m, stacking: h, onMenuCategoryViewed: _, goToCheckout: A, goToStart: T, order: R, changeQuantity: j, components: C }: {
|
|
3
|
+
menu: any;
|
|
4
|
+
handleSelectProduct: any;
|
|
5
|
+
fallbackImg?: string | undefined;
|
|
6
|
+
lazyLoadImg: any;
|
|
7
|
+
currency: any;
|
|
8
|
+
timeZone: any;
|
|
9
|
+
availabilityMarkOnly: any;
|
|
10
|
+
availabilityCheckInterval: any;
|
|
11
|
+
cols: any;
|
|
12
|
+
colsLg: any;
|
|
13
|
+
transitionProps: any;
|
|
14
|
+
stacking?: string | undefined;
|
|
15
|
+
onMenuCategoryViewed: any;
|
|
16
|
+
goToCheckout: any;
|
|
17
|
+
goToStart: any;
|
|
18
|
+
order: any;
|
|
19
|
+
changeQuantity: any;
|
|
20
|
+
components: any;
|
|
21
|
+
}): any;
|
|
22
|
+
//# sourceMappingURL=index.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../../../menu/dist/index.es.js"],"names":[],"mappings":";AAs0IA;;;;;;;;;;;;;;;;;;;QA2LC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IMenuProps } from '@orderingstack/ordering-types';
|
|
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("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +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,+DAyQZ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React, ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
|
2
|
+
|
|
3
|
+
interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
onClick?: MouseEventHandler;
|
|
6
|
+
className?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export default Button;
|
|
12
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEvE,UAAU,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACnE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CACxD;AAGD,QAAA,MAAM,MAAM,iFAaX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
value: string;
|
|
3
|
+
handleOnClick: () => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
innerClassname?: string;
|
|
7
|
+
}
|
|
8
|
+
export default function Chip(props: Props): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +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,+DAsBxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomNav.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/BottomNav.tsx"],"names":[],"mappings":";AAEA,OAAO,EAIL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AA6BvC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,WAAW,EACX,cAAc,GACf,EAAE,mBAAmB,eA2HrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICategory } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface CategoriesProps {
|
|
4
|
+
categories?: ICategory[];
|
|
5
|
+
selectedCategoryId?: string;
|
|
6
|
+
onSelect: (category: ICategory) => void;
|
|
7
|
+
fallbackImg: string;
|
|
8
|
+
}
|
|
9
|
+
export default function Categories({ categories, selectedCategoryId, onSelect, fallbackImg, }: CategoriesProps): import("node_modules/@types/react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Categories.d.ts.map
|
|
@@ -0,0 +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,sEAmDjB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IMenuCategorySectionProps } from '@orderingstack/ordering-types';
|
|
2
|
+
|
|
3
|
+
declare function CategorySection({ category, onProductClicked, fallbackImg, lazyLoadImg, currency, cols, colsLg, MenuTile, }: IMenuCategorySectionProps): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default CategorySection;
|
|
5
|
+
//# sourceMappingURL=CategorySection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategorySection.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/CategorySection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAE1B,MAAM,+BAA+B,CAAC;AAUvC,iBAAS,eAAe,CAAC,EACvB,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,QAAQ,GACT,EAAE,yBAAyB,+DAuF3B;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IMenuTileProps } from '@orderingstack/ordering-types';
|
|
2
|
+
|
|
3
|
+
export declare function ProductTile({ product, onProductClicked, fallbackImg, currency, lazyLoadImg, }: IMenuTileProps): import("node_modules/@types/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=ProductTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductTile.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/ProductTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAQ7E,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,WAAW,GACZ,EAAE,cAAc,+DAkEhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopNav.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/components/default/TopNav.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAO7E,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,KAAK,EACL,YAAY,EACZ,SAAS,GACV,EAAE,gBAAgB,+DA+BlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../menu/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Menu } from '../Menu';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof Menu>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Generic: ComponentStory<typeof Menu>;
|
|
7
|
+
//# sourceMappingURL=Menu.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/Menu.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;;AAE9B,wBAcgC;AAIhC,eAAO,MAAM,OAAO,6BAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Menu } from '../Menu';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof Menu>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const BurgerKing: ComponentStory<typeof Menu>;
|
|
7
|
+
//# sourceMappingURL=MenuBK.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuBK.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/MenuBK.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;;AAgB/B,wBAcgC;AAIhC,eAAO,MAAM,UAAU,6BAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Menu } from '../Menu';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof Menu>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Lumberjacks: ComponentStory<typeof Menu>;
|
|
7
|
+
//# sourceMappingURL=MenuLumberjacks.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuLumberjacks.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/MenuLumberjacks.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,0BAA0B,CAAC;;AAIlC,wBAcgC;AAIhC,eAAO,MAAM,WAAW,6BAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Menu } from '../Menu';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof Menu>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Pasibus: ComponentStory<typeof Menu>;
|
|
7
|
+
//# sourceMappingURL=MenuPasibus.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuPasibus.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/MenuPasibus.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;;AAM/B,wBAcgC;AAIhC,eAAO,MAAM,OAAO,6BAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Menu } from '../Menu';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof Menu>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Samex: ComponentStory<typeof Menu>;
|
|
7
|
+
//# sourceMappingURL=MenuSamex.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuSamex.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/MenuSamex.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,0BAA0B,CAAC;;AAIlC,wBAcgC;AAIhC,eAAO,MAAM,KAAK,6BAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ProductTile } from '../components/default/ProductTile';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const _default: ComponentMeta<typeof ProductTile>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Generic: ComponentStory<typeof ProductTile>;
|
|
7
|
+
//# sourceMappingURL=ProductTile.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductTile.stories.d.ts","sourceRoot":"","sources":["../../../../../../menu/src/stories/ProductTile.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;;AAMhE,wBAUuC;AAMvC,eAAO,MAAM,OAAO,oCAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bkTheme.d.ts","sourceRoot":"","sources":["../../../../../../../menu/src/stories/themes/bkTheme.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,UAAU,SAoEjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../menu/src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IOrder, IProduct } from '@orderingstack/ordering-types';
|
|
2
|
+
|
|
3
|
+
export declare function isCartEmpty(order: IOrder | undefined): boolean;
|
|
4
|
+
export declare function formatPrice(value: string | number, currency?: string | null, separator?: string, decimals?: number): string;
|
|
5
|
+
export declare function getMediaOrFallback(product: IProduct, fallbackImg: string, name?: string): string;
|
|
6
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../menu/src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEjE,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,WAEpD;AAED,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,EACxB,SAAS,SAAM,EACf,QAAQ,SAAI,GACX,MAAM,CAKR;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,QAAQ,EACjB,WAAW,EAAE,MAAM,EACnB,IAAI,SAAa,GAChB,MAAM,CAGR"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
theme: {
|
|
3
|
+
extend: {
|
|
4
|
+
fontFamily: {
|
|
5
|
+
sans: string[];
|
|
6
|
+
upper: string[];
|
|
7
|
+
price: string[];
|
|
8
|
+
cartProductItems: string[];
|
|
9
|
+
};
|
|
10
|
+
fontSize: {
|
|
11
|
+
menuProductName: (string | {
|
|
12
|
+
lineHeight: string;
|
|
13
|
+
fontWeight: string;
|
|
14
|
+
})[];
|
|
15
|
+
menuBottomCartProductName: (string | {
|
|
16
|
+
lineHeight: string;
|
|
17
|
+
fontWeight: string;
|
|
18
|
+
})[];
|
|
19
|
+
menuCategory: (string | {
|
|
20
|
+
lineHeight: string;
|
|
21
|
+
fontWeight: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
colors: {
|
|
25
|
+
primary: {
|
|
26
|
+
light: string;
|
|
27
|
+
DEFAULT: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
secondary: {
|
|
31
|
+
DEFAULT: string;
|
|
32
|
+
};
|
|
33
|
+
fontColor: {
|
|
34
|
+
DEFAULT: string;
|
|
35
|
+
btnPrimary: string;
|
|
36
|
+
btnSecondary: string;
|
|
37
|
+
btnDisabled: string;
|
|
38
|
+
bgPrimary: string;
|
|
39
|
+
btnTrash: string;
|
|
40
|
+
cartProductItems: string;
|
|
41
|
+
};
|
|
42
|
+
bgColor: {
|
|
43
|
+
DEFAULT: string;
|
|
44
|
+
btnPrimary: string;
|
|
45
|
+
btnSecondary: string;
|
|
46
|
+
btnDisabled: string;
|
|
47
|
+
btnTrash: string;
|
|
48
|
+
};
|
|
49
|
+
borderColor: {
|
|
50
|
+
DEFAULT: string;
|
|
51
|
+
};
|
|
52
|
+
facebook: {
|
|
53
|
+
light: string;
|
|
54
|
+
DEFAULT: string;
|
|
55
|
+
dark: string;
|
|
56
|
+
};
|
|
57
|
+
red: {
|
|
58
|
+
light: string;
|
|
59
|
+
DEFAULT: string;
|
|
60
|
+
};
|
|
61
|
+
black: string;
|
|
62
|
+
greys: {
|
|
63
|
+
light: string;
|
|
64
|
+
DEFAULT: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
backgroundImage: {
|
|
68
|
+
'tenant-pattern': string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
content: string[];
|
|
73
|
+
safelist: string[];
|
|
74
|
+
mode: string;
|
|
75
|
+
plugins: any[];
|
|
76
|
+
};
|
|
77
|
+
export = _exports;
|
|
78
|
+
//# sourceMappingURL=tailwind.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailwind.config.d.ts","sourceRoot":"","sources":["../../../../menu/tailwind.config.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../../menu/vite.config.ts"],"names":[],"mappings":";AA0BA,wBAkCG"}
|