@orderingstack/front-hooks 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +209 -173
- package/dist/index.es.js.map +1 -1
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts +49 -0
- package/dist/packages/analytics-plugin/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/analytics-plugin/dist/index.es.d.ts +48 -0
- package/dist/packages/analytics-plugin/dist/index.es.d.ts.map +1 -0
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts +30 -30
- package/dist/packages/auth/dist/deps/AuthProvider.cjs.d.ts.map +1 -1
- package/dist/packages/auth/dist/deps/AuthProvider.es.d.ts +28 -28
- 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 +1 -1
- package/dist/packages/auth/src/AuthContext.d.ts.map +1 -1
- package/dist/packages/auth/src/AuthProviderCommon.d.ts +2 -2
- package/dist/packages/auth/src/ConfigContext.d.ts.map +1 -1
- package/dist/packages/config/dist/index.cjs.d.ts +73 -0
- package/dist/packages/config/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/config/dist/index.es.d.ts +72 -0
- package/dist/packages/config/dist/index.es.d.ts.map +1 -0
- package/dist/packages/config/src/ThemeProvider.d.ts.map +1 -1
- package/dist/packages/escpos-encoder/__tests__/encoder.test.d.ts +2 -0
- package/dist/packages/escpos-encoder/__tests__/encoder.test.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/dist/index.d.cts +358 -0
- package/dist/packages/escpos-encoder/dist/index.d.cts.map +1 -0
- package/dist/packages/escpos-encoder/dist/index.es.d.ts +596 -0
- package/dist/packages/escpos-encoder/dist/index.es.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/src/const.d.ts +25 -0
- package/dist/packages/escpos-encoder/src/const.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/src/index.d.ts +299 -0
- package/dist/packages/escpos-encoder/src/index.d.ts.map +1 -0
- package/dist/packages/escpos-encoder/vite.config.d.ts +3 -0
- package/dist/packages/escpos-encoder/vite.config.d.ts.map +1 -0
- package/dist/packages/hooks/dist/index.cjs.d.ts +10 -10
- package/dist/packages/hooks/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/hooks/dist/index.es.d.ts +6 -6
- package/dist/packages/hooks/dist/index.es.d.ts.map +1 -1
- package/dist/packages/menu/dist/index.cjs.d.ts +22 -0
- package/dist/packages/menu/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/menu/dist/index.es.d.ts +22 -0
- package/dist/packages/menu/dist/index.es.d.ts.map +1 -0
- package/dist/packages/menu/src/components/default/BottomNav.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/Menu.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/Menu.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuBK.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuLumberjacks.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuPasibus.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/MenuSamex.stories.d.ts.map +1 -1
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts +1 -1
- package/dist/packages/menu/src/stories/ProductTile.stories.d.ts.map +1 -1
- package/dist/packages/menu/tailwind.config.d.ts +76 -1
- package/dist/packages/menu/vite.config.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts +2 -2
- package/dist/packages/mparticle-plugin/dist/index.cjs.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts +2 -2
- package/dist/packages/mparticle-plugin/dist/index.es.d.ts.map +1 -1
- package/dist/packages/mparticle-plugin/src/index.d.ts.map +1 -1
- package/dist/packages/phone-input/dist/index.cjs.d.ts +16 -0
- package/dist/packages/phone-input/dist/index.cjs.d.ts.map +1 -0
- package/dist/packages/phone-input/dist/index.es.d.ts +16 -0
- package/dist/packages/phone-input/dist/index.es.d.ts.map +1 -0
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts +1 -1
- package/dist/packages/phone-input/src/stories/PhoneInput.stories.d.ts.map +1 -1
- package/dist/src/utils/build.d.ts +1 -0
- package/dist/src/utils/build.d.ts.map +1 -1
- package/dist/types/useCms.d.ts +4 -4
- package/dist/types/useCms.d.ts.map +1 -1
- package/dist/types/useGroupOrderLines.d.ts +1 -1
- package/dist/types/useGroupOrderLines.d.ts.map +1 -1
- package/dist/types/useMediaUrl.d.ts.map +1 -1
- package/dist/types/utils/timeAvailabilityFilter.d.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default y;
|
|
2
|
+
declare function y(e: any): {
|
|
3
|
+
name: string;
|
|
4
|
+
page: ({ payload: o }: {
|
|
5
|
+
payload: any;
|
|
6
|
+
}) => void;
|
|
7
|
+
track: ({ payload: o }: {
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
loaded: () => boolean;
|
|
11
|
+
};
|
|
12
|
+
declare namespace b {
|
|
13
|
+
function reset({ config: e }: {
|
|
14
|
+
config: any;
|
|
15
|
+
}): void;
|
|
16
|
+
}
|
|
17
|
+
declare namespace g {
|
|
18
|
+
export { _ as mapItemToGaItem };
|
|
19
|
+
export { k as mapSelectedMenuToViewItemList };
|
|
20
|
+
export { v as mapOrderToPayload };
|
|
21
|
+
export { T as linesToGaCartItems };
|
|
22
|
+
export { f as couponToGaPromotion };
|
|
23
|
+
}
|
|
24
|
+
declare function _(e: any): {
|
|
25
|
+
item_id: any;
|
|
26
|
+
item_name: any;
|
|
27
|
+
item_fiscal: any;
|
|
28
|
+
item_extra: any;
|
|
29
|
+
};
|
|
30
|
+
declare function k(e: any): {
|
|
31
|
+
item_list_id: any;
|
|
32
|
+
item_list_name: any;
|
|
33
|
+
items: any;
|
|
34
|
+
};
|
|
35
|
+
declare function v(e: any, t: any, o: any, i: any): {
|
|
36
|
+
currency: any;
|
|
37
|
+
value: number;
|
|
38
|
+
items: any[];
|
|
39
|
+
};
|
|
40
|
+
declare function T(e: any, t: any, o: any, i: any): {
|
|
41
|
+
value: number;
|
|
42
|
+
items: any[];
|
|
43
|
+
};
|
|
44
|
+
declare function f(e: any): {
|
|
45
|
+
coupon: any;
|
|
46
|
+
promotion_name: any;
|
|
47
|
+
};
|
|
48
|
+
export { b as googleAnalyticsResetExtension, g as utils };
|
|
49
|
+
//# sourceMappingURL=index.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../../../analytics-plugin/dist/index.cjs.js"],"names":[],"mappings":";AAA0J;;;;;;;;;EAAoY;;IAAe;;aAAoU;;;;;;;;;AAAE;;;;;EAA6T;AAAA;;;;EAAuK;AAA6xB;;;;EAA0O;AAAA;;;EAAiM;AAAxsC;;;EAA0F"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare function v(t: any): {
|
|
2
|
+
name: string;
|
|
3
|
+
page: ({ payload: o }: {
|
|
4
|
+
payload: any;
|
|
5
|
+
}) => void;
|
|
6
|
+
track: ({ payload: o }: {
|
|
7
|
+
payload: any;
|
|
8
|
+
}) => void;
|
|
9
|
+
loaded: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
declare namespace x {
|
|
12
|
+
function reset({ config: t }: {
|
|
13
|
+
config: any;
|
|
14
|
+
}): void;
|
|
15
|
+
}
|
|
16
|
+
declare namespace E {
|
|
17
|
+
export { _ as mapItemToGaItem };
|
|
18
|
+
export { k as mapSelectedMenuToViewItemList };
|
|
19
|
+
export { y as mapOrderToPayload };
|
|
20
|
+
export { T as linesToGaCartItems };
|
|
21
|
+
export { f as couponToGaPromotion };
|
|
22
|
+
}
|
|
23
|
+
declare function _(t: any): {
|
|
24
|
+
item_id: any;
|
|
25
|
+
item_name: any;
|
|
26
|
+
item_fiscal: any;
|
|
27
|
+
item_extra: any;
|
|
28
|
+
};
|
|
29
|
+
declare function k(t: any): {
|
|
30
|
+
item_list_id: any;
|
|
31
|
+
item_list_name: any;
|
|
32
|
+
items: any;
|
|
33
|
+
};
|
|
34
|
+
declare function y(t: any, e: any, o: any, a: any): {
|
|
35
|
+
currency: any;
|
|
36
|
+
value: number;
|
|
37
|
+
items: any[];
|
|
38
|
+
};
|
|
39
|
+
declare function T(t: any, e: any, o: any, a: any): {
|
|
40
|
+
value: number;
|
|
41
|
+
items: any[];
|
|
42
|
+
};
|
|
43
|
+
declare function f(t: any): {
|
|
44
|
+
coupon: any;
|
|
45
|
+
promotion_name: any;
|
|
46
|
+
};
|
|
47
|
+
export { v as default, x as googleAnalyticsResetExtension, E as utils };
|
|
48
|
+
//# sourceMappingURL=index.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../../../analytics-plugin/dist/index.es.js"],"names":[],"mappings":"AACA;;;;;;;;;EA2BC;;IAEQ;;aAON;;;;;;;;;AAEH;;;;;EASC;AACD;;;;EAOC;AAmCD;;;;EAgBC;AACD;;;EAWC;AA9DD;;;EAMC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const l:
|
|
2
|
-
declare const
|
|
3
|
-
declare function
|
|
1
|
+
declare const l: j0.IConfiguredAuthDataProvider;
|
|
2
|
+
declare const lr: d0.Context<any>;
|
|
3
|
+
declare function Hn({ setShowWelcomeScreen: o, language: d, useHref: c, useHistory: t, successPathWhitelist: B, ...i }: {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
setShowWelcomeScreen: any;
|
|
6
6
|
language: any;
|
|
@@ -8,14 +8,14 @@ declare function $n({ setShowWelcomeScreen: o, language: d, useHref: c, useHisto
|
|
|
8
8
|
useHistory: any;
|
|
9
9
|
successPathWhitelist: any;
|
|
10
10
|
}): any;
|
|
11
|
-
declare var
|
|
12
|
-
declare const
|
|
11
|
+
declare var Be: any;
|
|
12
|
+
declare const lt: d0.Context<xt.IConfig | null>;
|
|
13
13
|
declare var e0: any;
|
|
14
|
-
declare const
|
|
14
|
+
declare const fr: d0.Context<{
|
|
15
15
|
stage: string;
|
|
16
16
|
}>;
|
|
17
|
-
declare var
|
|
18
|
-
declare class
|
|
17
|
+
declare var I0: any;
|
|
18
|
+
declare class ur {
|
|
19
19
|
constructor(d: any);
|
|
20
20
|
listeners: {};
|
|
21
21
|
windowListeners: {};
|
|
@@ -33,41 +33,41 @@ declare class dr {
|
|
|
33
33
|
addWindowListener(d: any): void;
|
|
34
34
|
removeWindowListener(d: any): void;
|
|
35
35
|
}
|
|
36
|
-
declare namespace
|
|
36
|
+
declare namespace ut {
|
|
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 hr(o: any, d: any): string;
|
|
42
|
+
declare function ce(o: any): string;
|
|
43
|
+
declare function sr(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
|
|
47
|
+
declare function Bt(o: any): any[];
|
|
48
|
+
declare function At(o: any, d: any): boolean;
|
|
49
|
+
declare const se: any;
|
|
50
|
+
declare namespace vt {
|
|
51
51
|
function get(o: any): any;
|
|
52
52
|
function set(o: any, d: any): any;
|
|
53
53
|
function remove(o: any): any;
|
|
54
54
|
}
|
|
55
|
-
declare namespace
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
55
|
+
declare namespace Z0 {
|
|
56
|
+
export { Yt as getRefreshToken };
|
|
57
|
+
export { Zt as setRefreshToken };
|
|
58
|
+
export { Qt as clearRefreshToken };
|
|
59
59
|
}
|
|
60
|
-
declare function
|
|
61
|
-
declare function
|
|
62
|
-
declare function
|
|
60
|
+
declare function Xt(): any;
|
|
61
|
+
declare function dt(): xt.IConfig | null;
|
|
62
|
+
declare function bt(): {
|
|
63
63
|
stage: string;
|
|
64
64
|
};
|
|
65
|
-
declare function
|
|
66
|
-
import
|
|
65
|
+
declare function Rn(o: any, d: any, c: any): boolean;
|
|
66
|
+
import j0 = require("@orderingstack/ordering-core");
|
|
67
67
|
import d0 = require("react");
|
|
68
|
-
import
|
|
69
|
-
declare function
|
|
70
|
-
declare function
|
|
71
|
-
declare function
|
|
72
|
-
export { l as authProviderGlobal,
|
|
68
|
+
import xt = require("node_modules/@orderingstack/ordering-core-react/lib/esm/index.js");
|
|
69
|
+
declare function Yt(o: any): Promise<any>;
|
|
70
|
+
declare function Zt(o: any, d: any): Promise<any>;
|
|
71
|
+
declare function Qt(o: any): Promise<any>;
|
|
72
|
+
export { l as authProviderGlobal, lr as AuthContext, Hn as AuthProvider, Be as CodeChallengeEncoding, lt as ConfigContext, e0 as ELoginStage, fr as LoginContext, I0 as LoginProvider, ur as WebPlugin, ut as defaultAuth, hr as generateCodeChallenge, ce as generateCodeVerifier, sr as generatePkceChallenge, Bt as getRandomValues, At as hasValidRoles, se as jsx, vt as secureStorage, Z0 as tokenStorageHandler, Xt as useAuthContext, dt as useConfigContext, bt as useLoginContext, Rn as verifyChallenge };
|
|
73
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":"AAuCwmH,gDAA8G;AAvCuld,kCAAiB;AAuC9ne;;;;;;;QAA4nV;AA1By9oB,oBAAgG;AAb7hgB,gDAAmB;AAArrkB,oBAAgrB;AAAiC;;GAAuB;AAAkwiB,oBAAkG;AAArib;IAAS,oBAA0L;IAA3K,cAAiB;IAAC,oBAAuB;IAAmH,YAAa;IAAE;;OAAoX;IAAA,oCAA4J;IAAA,sCAAqE;IAAA,8BAAiD;IAAA,6CAA+I;IAAA,+BAA+E;IAAA,6BAAyE;IAAA,8CAAiM;IAAA,gCAA0F;IAAA,mCAAqG;CAAC;;;;;;AAauq4B,4CAA+H;AAAjT,oCAAkF;AAA+N;;;EAAgK;AAAnlB,mCAAkI;AAAmqB,6CAA8Q;AA0BhxgC,sBAAS;;IAvCs3f,0BAAsH;IAAK,kCAA8B;IAAQ,6BAAqB;;;;;;;AAAvpB,2BAAwtB;AAAxtB,yCAAwtB;AAApnkB;;EAAiF;AAa6tjC,qDAAsC;;;;AAbx7gB,0CAAwtB;AAAxtB,kDAAwtB;AAAxtB,0CAAwtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
declare function
|
|
1
|
+
import { default as cr } from 'react';
|
|
2
|
+
declare function Qn({ 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,12 +7,12 @@ declare function ta({ setShowWelcomeScreen: o, language: d, useHref: c, useHisto
|
|
|
7
7
|
useHistory: any;
|
|
8
8
|
successPathWhitelist: any;
|
|
9
9
|
}): any;
|
|
10
|
-
declare const
|
|
10
|
+
declare const en: cr.Context<import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null>;
|
|
11
11
|
declare var e0: any;
|
|
12
|
-
declare const
|
|
12
|
+
declare const it: cr.Context<{
|
|
13
13
|
stage: string;
|
|
14
14
|
}>;
|
|
15
|
-
declare class
|
|
15
|
+
declare class ct {
|
|
16
16
|
constructor(d: any);
|
|
17
17
|
listeners: {};
|
|
18
18
|
windowListeners: {};
|
|
@@ -31,41 +31,41 @@ declare class ft {
|
|
|
31
31
|
removeWindowListener(d: any): void;
|
|
32
32
|
}
|
|
33
33
|
declare var T0: any;
|
|
34
|
-
declare const
|
|
35
|
-
declare function
|
|
36
|
-
declare namespace
|
|
34
|
+
declare const lt: cr.Context<any>;
|
|
35
|
+
declare function Yn(): any;
|
|
36
|
+
declare namespace Jt {
|
|
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
|
|
44
|
-
declare function
|
|
45
|
-
declare var
|
|
46
|
-
declare const
|
|
47
|
-
declare function
|
|
48
|
-
declare function
|
|
41
|
+
declare function rn(): import('node_modules/@orderingstack/ordering-core-react/lib/esm/ConfigContext.js').IConfig | null;
|
|
42
|
+
declare function he(o: any): string;
|
|
43
|
+
declare function Un(o: any): any[];
|
|
44
|
+
declare function zn(o: any, d: any): boolean;
|
|
45
|
+
declare var ir: any;
|
|
46
|
+
declare const ve: any;
|
|
47
|
+
declare function Et(o: any, d: any): string;
|
|
48
|
+
declare function tt(o?: number, d?: number): {
|
|
49
49
|
code_verifier: string;
|
|
50
50
|
code_challenge: string;
|
|
51
51
|
};
|
|
52
|
-
declare let
|
|
53
|
-
declare namespace
|
|
52
|
+
declare let xt: any;
|
|
53
|
+
declare namespace on {
|
|
54
54
|
function get(o: any): any;
|
|
55
55
|
function set(o: any, d: any): any;
|
|
56
56
|
function remove(o: any): any;
|
|
57
57
|
}
|
|
58
|
-
declare namespace
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
58
|
+
declare namespace ne {
|
|
59
|
+
export { tn as getRefreshToken };
|
|
60
|
+
export { nn as setRefreshToken };
|
|
61
|
+
export { an as clearRefreshToken };
|
|
62
62
|
}
|
|
63
|
-
declare function
|
|
63
|
+
declare function Xn(): {
|
|
64
64
|
stage: string;
|
|
65
65
|
};
|
|
66
|
-
declare function
|
|
67
|
-
declare function
|
|
68
|
-
declare function
|
|
69
|
-
declare function
|
|
70
|
-
export {
|
|
66
|
+
declare function Zn(o: any, d: any, c: any): boolean;
|
|
67
|
+
declare function tn(o: any): Promise<any>;
|
|
68
|
+
declare function nn(o: any, d: any): Promise<any>;
|
|
69
|
+
declare function an(o: any): Promise<any>;
|
|
70
|
+
export { Qn as A, en as C, e0 as E, it as L, ct as W, T0 as a, lt as b, Yn as c, Jt as d, rn as e, he as f, Un as g, zn as h, ir as i, ve as j, Et as k, tt as l, xt as m, on as s, ne as t, Xn as u, Zn as v };
|
|
71
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":"AAuvMA;;;;;;;QAqdC;AA7gM8B,gIAAO;AA1rBtC,oBAA8vB;AAI3vB;;GAAyB;AAiH5B;IACE,oBAEC;IADC,cAAmB;IAAE,oBAAyB;IAAuH,YAAe;IAEtL;;OAUC;IACD,oCAKC;IACD,sCAGC;IACD,8BAEC;IACD,6CASC;IACD,+BAEC;IACD,6BAEC;IACD,8CAMC;IACD,gCAEC;IACD,mCAEC;CACF;AAugBD,oBAAsI;AAKnI,kCAAO;AAJV,2BAoBC;;;;;;AApBD,yHAoBC;AA04JD,oCAEC;AARD,mCAKC;AAuBD,6CAYC;AA/BD,oBAAkI;AAmpB5H,sBAAW;AAlpBjB,4CAEC;AACD;;;EAKC;AA6oBD,oBAAO;;IA3iLA,0BAAsI;IACtI,kCAAsC;IACnC,6BAA4B;;;;;;;AAnsBtC;;EAG+C;AA6lL/C,qDAEC;eAtmLmF,OAAO;AAyrB3F,0CAoBC;AApBD,kDAoBC;AApBD,0CAoBC"}
|
|
@@ -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":";AA8EA;IACE,cAKC;IADK,uBAA4G;IAAE,6BAA6B;IAEjJ,gCA6BC;IACD,sCAIC;CACF;uBAxHsB,sBAAsB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const authProviderGlobal: import('
|
|
1
|
+
export const authProviderGlobal: import('@orderingstack/ordering-core').IConfiguredAuthDataProvider;
|
|
2
2
|
declare function a({ children: t, ...o }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
children: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IConfiguredAuthDataProvider, IEditableUserData } from '@orderingstack/ordering-core';
|
|
2
1
|
import { Context } from 'react';
|
|
2
|
+
import { IConfiguredAuthDataProvider, IEditableUserData } from '@orderingstack/ordering-core';
|
|
3
3
|
|
|
4
4
|
export interface IUserData {
|
|
5
5
|
UUID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAiC,MAAM,OAAO,CAAC;AAE/D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,GAAG,EAAE,CAAC;IACtB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,YAAY;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAE/C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"AuthContext.d.ts","sourceRoot":"","sources":["../../../../../auth/src/AuthContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAiC,MAAM,OAAO,CAAC;AAE/D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,GAAG,EAAE,CAAC;IACtB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,YAAY;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAE/C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/D,UAAU,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAoC,CAAC;AAC7D,eAAO,MAAM,cAAc,aAAgC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LoginProvider } from './AuthContext';
|
|
2
|
-
import { AxiosResponse } from 'axios';
|
|
3
1
|
import { default as React, Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
import { LoginProvider } from './AuthContext';
|
|
4
4
|
|
|
5
5
|
export declare enum ELoginStage {
|
|
6
6
|
UNINITIALIZED = "uninitialized",
|
|
@@ -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,yBAA+C,CAAC;AAE1E,eAAO,MAAM,gBAAgB,sBAAkC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare function Jr({ children: n, theme: i }: {
|
|
2
|
+
children: any;
|
|
3
|
+
theme: any;
|
|
4
|
+
}): any;
|
|
5
|
+
declare const Nr: hr.Theme;
|
|
6
|
+
declare namespace Yr {
|
|
7
|
+
let mode: string;
|
|
8
|
+
let content: string[];
|
|
9
|
+
namespace theme {
|
|
10
|
+
namespace extend {
|
|
11
|
+
namespace fontFamily {
|
|
12
|
+
let upper: string[];
|
|
13
|
+
}
|
|
14
|
+
namespace colors {
|
|
15
|
+
namespace primary {
|
|
16
|
+
let light: string;
|
|
17
|
+
let DEFAULT: string;
|
|
18
|
+
let dark: string;
|
|
19
|
+
}
|
|
20
|
+
namespace secondary {
|
|
21
|
+
let DEFAULT_1: string;
|
|
22
|
+
export { DEFAULT_1 as DEFAULT };
|
|
23
|
+
}
|
|
24
|
+
namespace fontColor {
|
|
25
|
+
let DEFAULT_2: string;
|
|
26
|
+
export { DEFAULT_2 as DEFAULT };
|
|
27
|
+
export let btnPrimary: string;
|
|
28
|
+
export let btnSecondary: string;
|
|
29
|
+
export let btnDisabled: string;
|
|
30
|
+
}
|
|
31
|
+
namespace bgColor {
|
|
32
|
+
let DEFAULT_3: string;
|
|
33
|
+
export { DEFAULT_3 as DEFAULT };
|
|
34
|
+
let btnPrimary_1: string;
|
|
35
|
+
export { btnPrimary_1 as btnPrimary };
|
|
36
|
+
let btnSecondary_1: string;
|
|
37
|
+
export { btnSecondary_1 as btnSecondary };
|
|
38
|
+
let btnDisabled_1: string;
|
|
39
|
+
export { btnDisabled_1 as btnDisabled };
|
|
40
|
+
}
|
|
41
|
+
namespace facebook {
|
|
42
|
+
let light_1: string;
|
|
43
|
+
export { light_1 as light };
|
|
44
|
+
let DEFAULT_4: string;
|
|
45
|
+
export { DEFAULT_4 as DEFAULT };
|
|
46
|
+
let dark_1: string;
|
|
47
|
+
export { dark_1 as dark };
|
|
48
|
+
}
|
|
49
|
+
namespace red {
|
|
50
|
+
let light_2: string;
|
|
51
|
+
export { light_2 as light };
|
|
52
|
+
let DEFAULT_5: string;
|
|
53
|
+
export { DEFAULT_5 as DEFAULT };
|
|
54
|
+
}
|
|
55
|
+
let black: string;
|
|
56
|
+
namespace greys {
|
|
57
|
+
let light_3: string;
|
|
58
|
+
export { light_3 as light };
|
|
59
|
+
let DEFAULT_6: string;
|
|
60
|
+
export { DEFAULT_6 as DEFAULT };
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let backgroundImage: {
|
|
64
|
+
"tenant-pattern": string;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
let safelist: string[];
|
|
69
|
+
let plugins: any[];
|
|
70
|
+
}
|
|
71
|
+
import hr = require("@mui/material/styles");
|
|
72
|
+
export { Jr as CommonThemeProvider, Nr as muiTheme, Yr as tailwind };
|
|
73
|
+
//# sourceMappingURL=index.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.d.ts","sourceRoot":"","sources":["../../../../../config/dist/index.cjs.js"],"names":[],"mappings":"AA0B4yF;;;QAAoF;AA1BqtK,2BAA8oB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare function Ke({ children: n, theme: i }: {
|
|
2
|
+
children: any;
|
|
3
|
+
theme: any;
|
|
4
|
+
}): any;
|
|
5
|
+
declare const He: import('@mui/material').Theme;
|
|
6
|
+
declare namespace Ge {
|
|
7
|
+
let mode: string;
|
|
8
|
+
let content: string[];
|
|
9
|
+
namespace theme {
|
|
10
|
+
namespace extend {
|
|
11
|
+
namespace fontFamily {
|
|
12
|
+
let upper: string[];
|
|
13
|
+
}
|
|
14
|
+
namespace colors {
|
|
15
|
+
namespace primary {
|
|
16
|
+
let light: string;
|
|
17
|
+
let DEFAULT: string;
|
|
18
|
+
let dark: string;
|
|
19
|
+
}
|
|
20
|
+
namespace secondary {
|
|
21
|
+
let DEFAULT_1: string;
|
|
22
|
+
export { DEFAULT_1 as DEFAULT };
|
|
23
|
+
}
|
|
24
|
+
namespace fontColor {
|
|
25
|
+
let DEFAULT_2: string;
|
|
26
|
+
export { DEFAULT_2 as DEFAULT };
|
|
27
|
+
export let btnPrimary: string;
|
|
28
|
+
export let btnSecondary: string;
|
|
29
|
+
export let btnDisabled: string;
|
|
30
|
+
}
|
|
31
|
+
namespace bgColor {
|
|
32
|
+
let DEFAULT_3: string;
|
|
33
|
+
export { DEFAULT_3 as DEFAULT };
|
|
34
|
+
let btnPrimary_1: string;
|
|
35
|
+
export { btnPrimary_1 as btnPrimary };
|
|
36
|
+
let btnSecondary_1: string;
|
|
37
|
+
export { btnSecondary_1 as btnSecondary };
|
|
38
|
+
let btnDisabled_1: string;
|
|
39
|
+
export { btnDisabled_1 as btnDisabled };
|
|
40
|
+
}
|
|
41
|
+
namespace facebook {
|
|
42
|
+
let light_1: string;
|
|
43
|
+
export { light_1 as light };
|
|
44
|
+
let DEFAULT_4: string;
|
|
45
|
+
export { DEFAULT_4 as DEFAULT };
|
|
46
|
+
let dark_1: string;
|
|
47
|
+
export { dark_1 as dark };
|
|
48
|
+
}
|
|
49
|
+
namespace red {
|
|
50
|
+
let light_2: string;
|
|
51
|
+
export { light_2 as light };
|
|
52
|
+
let DEFAULT_5: string;
|
|
53
|
+
export { DEFAULT_5 as DEFAULT };
|
|
54
|
+
}
|
|
55
|
+
let black: string;
|
|
56
|
+
namespace greys {
|
|
57
|
+
let light_3: string;
|
|
58
|
+
export { light_3 as light };
|
|
59
|
+
let DEFAULT_6: string;
|
|
60
|
+
export { DEFAULT_6 as DEFAULT };
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let backgroundImage: {
|
|
64
|
+
"tenant-pattern": string;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
let safelist: string[];
|
|
69
|
+
let plugins: any[];
|
|
70
|
+
}
|
|
71
|
+
export { Ke as CommonThemeProvider, He as muiTheme, Ge as tailwind };
|
|
72
|
+
//# sourceMappingURL=index.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.d.ts","sourceRoot":"","sources":["../../../../../config/dist/index.es.js"],"names":[],"mappings":"AAwkCA;;;QAME;AAxqBC,gDA8CD"}
|
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encoder.test.d.ts","sourceRoot":"","sources":["../../../../../escpos-encoder/__tests__/encoder.test.ts"],"names":[],"mappings":""}
|