@orderingstack/front-hooks 5.4.1 → 6.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1227 -1114
- 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/src/__tests__/calculateChildrensBasePrice.test.d.ts +2 -0
- package/dist/packages/hooks/src/__tests__/calculateChildrensBasePrice.test.d.ts.map +1 -0
- package/dist/packages/hooks/src/__tests__/cmsSchedule.test.d.ts +2 -0
- package/dist/packages/hooks/src/__tests__/cmsSchedule.test.d.ts.map +1 -0
- package/dist/packages/hooks/src/__tests__/displayPriceWithDangerouslyOverwritePrice.test.d.ts +2 -0
- package/dist/packages/hooks/src/__tests__/displayPriceWithDangerouslyOverwritePrice.test.d.ts.map +1 -0
- package/dist/packages/hooks/src/__tests__/groupOrderLines.test.d.ts +2 -0
- package/dist/packages/hooks/src/__tests__/groupOrderLines.test.d.ts.map +1 -0
- package/dist/packages/hooks/src/index.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useAvailability.d.ts +1 -0
- package/dist/packages/hooks/src/useAvailability.d.ts.map +1 -0
- package/dist/packages/hooks/src/useChannelAvailability.d.ts +8 -0
- package/dist/packages/hooks/src/useChannelAvailability.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useCms.d.ts +17 -2
- package/dist/packages/hooks/src/useCms.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useDisplayPrice.d.ts +1 -0
- package/dist/packages/hooks/src/useDisplayPrice.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useGroupOrderLines.d.ts +1 -0
- package/dist/packages/hooks/src/useGroupOrderLines.d.ts.map +1 -0
- package/dist/packages/hooks/src/useInterval.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useMediaUrl.d.ts +2 -1
- package/dist/packages/hooks/src/useMediaUrl.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/useOnClickOutside.d.ts +2 -1
- package/dist/packages/hooks/src/useOnClickOutside.d.ts.map +1 -0
- package/dist/packages/hooks/src/utils/__tests__/getMediaUrl.test.d.ts +2 -0
- package/dist/packages/hooks/src/utils/__tests__/getMediaUrl.test.d.ts.map +1 -0
- package/dist/packages/hooks/src/utils/__tests__/timeAvailabilityFilter.test.d.ts +2 -0
- package/dist/packages/hooks/src/utils/__tests__/timeAvailabilityFilter.test.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/utils/cms.d.ts +4 -0
- package/dist/packages/hooks/src/utils/cms.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/utils/timeAvailabilityFilter.d.ts +3 -2
- package/dist/packages/hooks/src/utils/timeAvailabilityFilter.d.ts.map +1 -0
- package/dist/{types → packages/hooks/src}/utils.d.ts +1 -0
- package/dist/packages/hooks/src/utils.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/package.json +53 -51
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/useAvailability.d.ts.map +0 -1
- package/dist/types/useChannelAvailability.d.ts +0 -7
- package/dist/types/useChannelAvailability.d.ts.map +0 -1
- package/dist/types/useCms.d.ts.map +0 -1
- package/dist/types/useDisplayPrice.d.ts.map +0 -1
- package/dist/types/useGroupOrderLines.d.ts.map +0 -1
- package/dist/types/useInterval.d.ts.map +0 -1
- package/dist/types/useMediaUrl.d.ts.map +0 -1
- package/dist/types/useOnClickOutside.d.ts.map +0 -1
- package/dist/types/utils/cms.d.ts.map +0 -1
- package/dist/types/utils/timeAvailabilityFilter.d.ts.map +0 -1
- package/dist/types/utils.d.ts.map +0 -1
- /package/dist/{types → packages/hooks/src}/index.d.ts +0 -0
- /package/dist/{types → packages/hooks/src}/useInterval.d.ts +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export default k;
|
|
2
|
+
declare function k(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 v {
|
|
13
|
+
function reset({ config: e }: {
|
|
14
|
+
config: any;
|
|
15
|
+
}): void;
|
|
16
|
+
}
|
|
17
|
+
declare namespace T {
|
|
18
|
+
export { _ as mapItemToGaItem };
|
|
19
|
+
export { y as mapSelectedMenuToViewItemList };
|
|
20
|
+
export { b as mapOrderToPayload };
|
|
21
|
+
export { g 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 y(e: any): {
|
|
31
|
+
item_list_id: any;
|
|
32
|
+
item_list_name: any;
|
|
33
|
+
items: any;
|
|
34
|
+
};
|
|
35
|
+
declare function b(e: any, t: any, o: any, i: any): {
|
|
36
|
+
currency: any;
|
|
37
|
+
value: number;
|
|
38
|
+
items: any[];
|
|
39
|
+
};
|
|
40
|
+
declare function g(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 { v as googleAnalyticsResetExtension, T 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":";AAAwJ;;;;;;;;;EAAoY;;IAAe;;aAAoU;;;;;;;;;AAAE;;;;;EAA6T;AAAA;;;;EAAuK;AAA6xB;;;;EAA0O;AAAA;;;EAAiM;AAAxsC;;;EAA0F"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare function orderingstackPlugin(config: any): {
|
|
2
|
+
name: string;
|
|
3
|
+
page: ({ payload }: {
|
|
4
|
+
payload: any;
|
|
5
|
+
}) => void;
|
|
6
|
+
track: ({ payload }: {
|
|
7
|
+
payload: any;
|
|
8
|
+
}) => void;
|
|
9
|
+
loaded: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
export namespace googleAnalyticsResetExtension {
|
|
12
|
+
function reset({ config }: {
|
|
13
|
+
config: any;
|
|
14
|
+
}): void;
|
|
15
|
+
}
|
|
16
|
+
export namespace utils {
|
|
17
|
+
export { mapItemToGaItem };
|
|
18
|
+
export { mapSelectedMenuToViewItemList };
|
|
19
|
+
export { mapOrderToPayload };
|
|
20
|
+
export { linesToGaCartItems };
|
|
21
|
+
export { couponToGaPromotion };
|
|
22
|
+
}
|
|
23
|
+
declare function mapItemToGaItem(item: any): {
|
|
24
|
+
item_id: any;
|
|
25
|
+
item_name: any;
|
|
26
|
+
item_fiscal: any;
|
|
27
|
+
item_extra: any;
|
|
28
|
+
};
|
|
29
|
+
declare function mapSelectedMenuToViewItemList(product: any): {
|
|
30
|
+
item_list_id: any;
|
|
31
|
+
item_list_name: any;
|
|
32
|
+
items: any;
|
|
33
|
+
};
|
|
34
|
+
declare function mapOrderToPayload(order: any, coupons: any, currency: any, venue: any): {
|
|
35
|
+
currency: any;
|
|
36
|
+
value: number;
|
|
37
|
+
items: any[];
|
|
38
|
+
};
|
|
39
|
+
declare function linesToGaCartItems(lines: any, venue: any, coupons: any, quantity: any): {
|
|
40
|
+
value: number;
|
|
41
|
+
items: any[];
|
|
42
|
+
};
|
|
43
|
+
declare function couponToGaPromotion(coupon: any): {
|
|
44
|
+
coupon: any;
|
|
45
|
+
promotion_name: any;
|
|
46
|
+
};
|
|
47
|
+
export { orderingstackPlugin as default };
|
|
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;;aAQN;;;;;;;;;AAEH;;;;;EAWC;AACD;;;;EAOC;AAyCD;;;;EAiBC;AACD;;;EAeC;AAzED;;;EAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics.test.d.ts","sourceRoot":"","sources":["../../../../../../analytics-plugin/src/__tests__/analytics.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IProduct, IOrder, IOrderLine, IOrderCoupon, IStringKeyRecord } from '@orderingstack/ordering-types';
|
|
2
|
+
|
|
3
|
+
interface OrderingstackAnalyticsConfig {
|
|
4
|
+
platform: string;
|
|
5
|
+
getKioskId?: () => string | undefined | null;
|
|
6
|
+
getVenueId?: () => string | undefined | null;
|
|
7
|
+
getOrderId?: () => string | undefined | null;
|
|
8
|
+
}
|
|
9
|
+
declare function orderingstackPlugin(config: OrderingstackAnalyticsConfig): {
|
|
10
|
+
name: string;
|
|
11
|
+
page: ({ payload }: {
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
track: ({ payload }: {
|
|
15
|
+
payload: any;
|
|
16
|
+
}) => void;
|
|
17
|
+
loaded: () => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Extends google analytics plugin to reset userId & cookie.
|
|
21
|
+
* USAGE Object.assign({}, originalGaPlugin, googleAnalyticsResetExtension)
|
|
22
|
+
*/
|
|
23
|
+
export declare const googleAnalyticsResetExtension: {
|
|
24
|
+
reset: ({ config }: {
|
|
25
|
+
config: any;
|
|
26
|
+
}) => void;
|
|
27
|
+
};
|
|
28
|
+
declare function mapItemToGaItem(item: IProduct): GaPayloadItem;
|
|
29
|
+
declare function mapSelectedMenuToViewItemList(product: IProduct): {
|
|
30
|
+
item_list_id: string;
|
|
31
|
+
item_list_name: string | undefined;
|
|
32
|
+
items: GaPayloadItem[] | undefined;
|
|
33
|
+
};
|
|
34
|
+
declare function couponToGaPromotion(coupon: IOrderCoupon): {
|
|
35
|
+
coupon: string;
|
|
36
|
+
promotion_name: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
export interface GaPayloadItem {
|
|
39
|
+
item_id: string;
|
|
40
|
+
item_name?: string;
|
|
41
|
+
location_id?: string;
|
|
42
|
+
price?: number;
|
|
43
|
+
quantity?: number;
|
|
44
|
+
coupon?: string;
|
|
45
|
+
promotion_name?: string;
|
|
46
|
+
item_category?: string;
|
|
47
|
+
item_category2?: string;
|
|
48
|
+
item_category3?: string;
|
|
49
|
+
item_category4?: string;
|
|
50
|
+
item_category5?: string;
|
|
51
|
+
item_extra?: IStringKeyRecord<string>;
|
|
52
|
+
item_fiscal?: string;
|
|
53
|
+
}
|
|
54
|
+
declare function mapOrderToPayload(order: IOrder, coupons: IOrderCoupon[], currency: string, venue?: string): {
|
|
55
|
+
currency: string;
|
|
56
|
+
value: number;
|
|
57
|
+
items: GaPayloadItem[];
|
|
58
|
+
};
|
|
59
|
+
declare function linesToGaCartItems(lines: IOrderLine | IOrderLine[], venue: string, coupons: IOrderCoupon[], quantity?: number): {
|
|
60
|
+
value: number;
|
|
61
|
+
items: GaPayloadItem[];
|
|
62
|
+
};
|
|
63
|
+
export declare const utils: {
|
|
64
|
+
mapItemToGaItem: typeof mapItemToGaItem;
|
|
65
|
+
mapSelectedMenuToViewItemList: typeof mapSelectedMenuToViewItemList;
|
|
66
|
+
mapOrderToPayload: typeof mapOrderToPayload;
|
|
67
|
+
linesToGaCartItems: typeof linesToGaCartItems;
|
|
68
|
+
couponToGaPromotion: typeof couponToGaPromotion;
|
|
69
|
+
};
|
|
70
|
+
export default orderingstackPlugin;
|
|
71
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../analytics-plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,MAAM,EACN,UAAU,EACV,YAAY,EACZ,gBAAgB,EACjB,MAAM,+BAA+B,CAAC;AAGvC,UAAU,4BAA4B;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;CAC9C;AAED,iBAAS,mBAAmB,CAAC,MAAM,EAAE,4BAA4B;;wBAyBzC;QAAE,OAAO,EAAE,GAAG,CAAA;KAAE;yBAGf;QAAE,OAAO,EAAE,GAAG,CAAA;KAAE;;EAUxC;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B;wBACpB;QAAE,MAAM,EAAE,GAAG,CAAA;KAAE;CAqBpC,CAAC;AAEF,iBAAS,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,aAAa,CAWtD;AAED,iBAAS,6BAA6B,CAAC,OAAO,EAAE,QAAQ;;;;EAMvD;AAED,iBAAS,mBAAmB,CAAC,MAAM,EAAE,YAAY;;;EAKhD;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA4CD,iBAAS,iBAAiB,CACxB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,YAAY,EAAE,EACvB,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM;;;;EAkBf;AAED,iBAAS,kBAAkB,CACzB,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,EAChC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,YAAY,EAAE,EACvB,QAAQ,CAAC,EAAE,MAAM;;;EAkBlB;AAED,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../../../analytics-plugin/vite.config.ts"],"names":[],"mappings":";AAMA,wBAkBG"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare function p(): any;
|
|
2
|
+
declare const Q0: be.Context<any>;
|
|
3
|
+
declare function Ui({ setShowWelcomeScreen: e, language: r, useHref: n, useHistory: t, successPathWhitelist: s, ...a }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
setShowWelcomeScreen: any;
|
|
6
|
+
language: any;
|
|
7
|
+
useHref: any;
|
|
8
|
+
useHistory: any;
|
|
9
|
+
successPathWhitelist: any;
|
|
10
|
+
}): any;
|
|
11
|
+
declare var kr: any;
|
|
12
|
+
declare const zn: be.Context<Cn.IConfig | null>;
|
|
13
|
+
declare var re: any;
|
|
14
|
+
declare const z0: be.Context<{
|
|
15
|
+
stage: string;
|
|
16
|
+
}>;
|
|
17
|
+
declare var $e: any;
|
|
18
|
+
declare class M0 {
|
|
19
|
+
constructor(r: any);
|
|
20
|
+
listeners: {};
|
|
21
|
+
windowListeners: {};
|
|
22
|
+
config: any;
|
|
23
|
+
addListener(r: any, n: any): Promise<{
|
|
24
|
+
remove: () => Promise<void>;
|
|
25
|
+
}>;
|
|
26
|
+
removeAllListeners(): Promise<void>;
|
|
27
|
+
notifyListeners(r: any, n: any): void;
|
|
28
|
+
hasListeners(r: any): boolean;
|
|
29
|
+
registerWindowListener(r: any, n: any): void;
|
|
30
|
+
unimplemented(r?: string): any;
|
|
31
|
+
unavailable(r?: string): any;
|
|
32
|
+
removeListener(r: any, n: any): Promise<void>;
|
|
33
|
+
addWindowListener(r: any): void;
|
|
34
|
+
removeWindowListener(r: any): void;
|
|
35
|
+
}
|
|
36
|
+
declare namespace Wn {
|
|
37
|
+
let loggedIn: boolean;
|
|
38
|
+
let UUID: string;
|
|
39
|
+
let resolved: boolean;
|
|
40
|
+
}
|
|
41
|
+
declare function rt(e: any, r: any): string;
|
|
42
|
+
declare function hr(e: any): string;
|
|
43
|
+
declare function j0(e?: number, r?: number): {
|
|
44
|
+
code_verifier: string;
|
|
45
|
+
code_challenge: string;
|
|
46
|
+
};
|
|
47
|
+
declare function Xn(e: any): any[];
|
|
48
|
+
declare const xr: any;
|
|
49
|
+
declare namespace Vn {
|
|
50
|
+
function get(e: any): any;
|
|
51
|
+
function set(e: any, r: any): any;
|
|
52
|
+
function remove(e: any): any;
|
|
53
|
+
}
|
|
54
|
+
declare namespace Qe {
|
|
55
|
+
export { Zo as getRefreshToken };
|
|
56
|
+
export { Qo as setRefreshToken };
|
|
57
|
+
export { Jo as clearRefreshToken };
|
|
58
|
+
}
|
|
59
|
+
declare function Xo(): any;
|
|
60
|
+
declare function Mn(): Cn.IConfig | null;
|
|
61
|
+
declare function ra(): {
|
|
62
|
+
stage: string;
|
|
63
|
+
};
|
|
64
|
+
declare function Bi(e: any, r: any, n: any): boolean;
|
|
65
|
+
import be = require("react");
|
|
66
|
+
import Cn = require("@orderingstack/ordering-core-react");
|
|
67
|
+
declare function Zo(e: any): Promise<any>;
|
|
68
|
+
declare function Qo(e: any, r: any): Promise<any>;
|
|
69
|
+
declare function Jo(e: any): Promise<any>;
|
|
70
|
+
export { p as authProviderGlobal, Q0 as AuthContext, Ui as AuthProvider, kr as CodeChallengeEncoding, zn as ConfigContext, re as ELoginStage, z0 as LoginContext, $e as LoginProvider, M0 as WebPlugin, Wn as defaultAuth, rt as generateCodeChallenge, hr as generateCodeVerifier, j0 as generatePkceChallenge, Xn as getRandomValues, xr as jsx, Vn as secureStorage, Qe as tokenStorageHandler, Xo as useAuthContext, Mn as useConfigContext, ra as useLoginContext, Bi as verifyChallenge };
|
|
71
|
+
//# sourceMappingURL=AuthProvider.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthProvider.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.cjs.js"],"names":[],"mappings":"AACynd,0BAAa;AAA6yR,kCAAiB;AAuClpoB;;;;;;;QAAioU;AA1Bs8Q,oBAAgG;AAbqgD,gDAAmB;AAD13uB,oBAAgrB;AAAiC;;GAAuB;AACy9sB,oBAAgF;AAD1ulB;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;;;;;;AAc00f,4CAA+H;AAAjT,oCAAkF;AAA+N;;;EAAgK;AAAnlB,mCAAkI;AA0Bn8lB,sBAAS;;IAvC4/pB,0BAAsH;IAAK,kCAA8B;IAAQ,6BAAqB;;;;;;;AAAvpB,2BAAwtB;AAAxtB,yCAAwtB;AADzzuB;;EAAiF;AAcg4qB,qDAAsC;;;AAb0mC,0CAAwtB;AAAxtB,kDAAwtB;AAAxtB,0CAAwtB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { default as z0 } from 'react';
|
|
2
|
+
declare function zi({ setShowWelcomeScreen: e, language: r, useHref: n, useHistory: t, successPathWhitelist: s, ...a }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
setShowWelcomeScreen: any;
|
|
5
|
+
language: any;
|
|
6
|
+
useHref: any;
|
|
7
|
+
useHistory: any;
|
|
8
|
+
successPathWhitelist: any;
|
|
9
|
+
}): any;
|
|
10
|
+
declare const Zo: z0.Context<import('@orderingstack/ordering-core-react').IConfig | null>;
|
|
11
|
+
declare var re: any;
|
|
12
|
+
declare const Cn: z0.Context<{
|
|
13
|
+
stage: string;
|
|
14
|
+
}>;
|
|
15
|
+
declare class Rn {
|
|
16
|
+
constructor(r: any);
|
|
17
|
+
listeners: {};
|
|
18
|
+
windowListeners: {};
|
|
19
|
+
config: any;
|
|
20
|
+
addListener(r: any, n: any): Promise<{
|
|
21
|
+
remove: () => Promise<void>;
|
|
22
|
+
}>;
|
|
23
|
+
removeAllListeners(): Promise<void>;
|
|
24
|
+
notifyListeners(r: any, n: any): void;
|
|
25
|
+
hasListeners(r: any): boolean;
|
|
26
|
+
registerWindowListener(r: any, n: any): void;
|
|
27
|
+
unimplemented(r?: string): any;
|
|
28
|
+
unavailable(r?: string): any;
|
|
29
|
+
removeListener(r: any, n: any): Promise<void>;
|
|
30
|
+
addWindowListener(r: any): void;
|
|
31
|
+
removeWindowListener(r: any): void;
|
|
32
|
+
}
|
|
33
|
+
declare var We: any;
|
|
34
|
+
declare const zn: z0.Context<any>;
|
|
35
|
+
declare function ji(): any;
|
|
36
|
+
declare namespace Xo {
|
|
37
|
+
let loggedIn: boolean;
|
|
38
|
+
let UUID: string;
|
|
39
|
+
let resolved: boolean;
|
|
40
|
+
}
|
|
41
|
+
declare function Qo(): import('@orderingstack/ordering-core-react').IConfig | null;
|
|
42
|
+
declare function Ar(e: any): string;
|
|
43
|
+
declare function Ii(e: any): any[];
|
|
44
|
+
declare var j0: any;
|
|
45
|
+
declare function Gn(e: any, r: any): string;
|
|
46
|
+
declare const Er: any;
|
|
47
|
+
declare function mn(e?: number, r?: number): {
|
|
48
|
+
code_verifier: string;
|
|
49
|
+
code_challenge: string;
|
|
50
|
+
};
|
|
51
|
+
declare let wn: any;
|
|
52
|
+
declare namespace ti {
|
|
53
|
+
function get(e: any): any;
|
|
54
|
+
function set(e: any, r: any): any;
|
|
55
|
+
function remove(e: any): any;
|
|
56
|
+
}
|
|
57
|
+
declare namespace fr {
|
|
58
|
+
export { Jo as getRefreshToken };
|
|
59
|
+
export { ei as setRefreshToken };
|
|
60
|
+
export { ri as clearRefreshToken };
|
|
61
|
+
}
|
|
62
|
+
declare function $i(): {
|
|
63
|
+
stage: string;
|
|
64
|
+
};
|
|
65
|
+
declare function Wi(e: any, r: any, n: any): boolean;
|
|
66
|
+
declare function Jo(e: any): Promise<any>;
|
|
67
|
+
declare function ei(e: any, r: any): Promise<any>;
|
|
68
|
+
declare function ri(e: any): Promise<any>;
|
|
69
|
+
export { zi as A, Zo as C, re as E, Cn as L, Rn as W, We as a, zn as b, ji as c, Xo as d, Qo as e, Ar as f, Ii as g, j0 as h, Gn as i, Er as j, mn as k, wn as l, ti as s, fr as t, $i as u, Wi as v };
|
|
70
|
+
//# sourceMappingURL=AuthProvider.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthProvider.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/AuthProvider.es.js"],"names":[],"mappings":"AAiqMA;;;;;;;QAscC;AA74J8B,0FAAO;AAvtDtC,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;AAoiDD,oBAAiH;AAK9G,kCAAO;AAJV,2BAoBC;;;;;;AApBD,mFAoBC;AAmyHD,oCAEC;AARD,mCAKC;AAID,oBAAkI;AAClI,4CAEC;AAgoBK,sBAAW;AA/nBjB;;;EAKC;AA6nBD,oBAAO;;IAp7IA,0BAAsI;IACtI,kCAAsC;IACnC,6BAA4B;;;;;;;AAhuDtC;;EAG+C;AAmhL/C,qDAEC;eA5hLmF,OAAO;AAstD3F,0CAoBC;AApBD,kDAoBC;AApBD,0CAoBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { T as SignInWithAppleWeb };
|
|
2
|
+
declare class T extends U.WebPlugin {
|
|
3
|
+
constructor();
|
|
4
|
+
appleScriptUrl: string;
|
|
5
|
+
isAppleScriptLoaded: boolean;
|
|
6
|
+
authorize(i: any): Promise<any>;
|
|
7
|
+
loadSignInWithAppleJS(): Promise<any>;
|
|
8
|
+
}
|
|
9
|
+
import U = require("./AuthProvider.cjs.js");
|
|
10
|
+
//# sourceMappingURL=web.cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.cjs.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs.js"],"names":[],"mappings":";AAI23C;IAA4B,cAAuM;IAAvI,uBAA0G;IAAC,6BAA2B;IAAC,gCAA62B;IAAA,sCAAkJ;CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { c as FacebookLoginWeb };
|
|
2
|
+
declare class c extends i.WebPlugin {
|
|
3
|
+
initialize(e: any): Promise<any>;
|
|
4
|
+
loadScript(e: any): Promise<any>;
|
|
5
|
+
login(e: any): Promise<any>;
|
|
6
|
+
logout(): Promise<any>;
|
|
7
|
+
reauthorize(): Promise<any>;
|
|
8
|
+
getCurrentAccessToken(): Promise<any>;
|
|
9
|
+
getProfile(e: any): Promise<any>;
|
|
10
|
+
logEvent(): Promise<void>;
|
|
11
|
+
setAutoLogAppEventsEnabled(): Promise<void>;
|
|
12
|
+
setAdvertiserTrackingEnabled(): Promise<void>;
|
|
13
|
+
setAdvertiserIDCollectionEnabled(): Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
import i = require("./AuthProvider.cjs.js");
|
|
16
|
+
//# sourceMappingURL=web.cjs2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.cjs2.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs2.js"],"names":[],"mappings":";AAAoN;IAA4B,iCAAmI;IAAA,iCAAkY;IAAA,4BAAoM;IAAA,uBAAyD;IAAA,4BAAmE;IAAA,sCAA0V;IAAA,iCAAqJ;IAAA,0BAA0C;IAAA,4CAA4D;IAAA,8CAA8D;IAAA,kDAAkE;CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export { c as GoogleAuthWeb };
|
|
2
|
+
declare class c extends r.WebPlugin {
|
|
3
|
+
constructor();
|
|
4
|
+
loadScript(): void;
|
|
5
|
+
initialize(e?: {
|
|
6
|
+
clientId: string;
|
|
7
|
+
scopes: never[];
|
|
8
|
+
grantOfflineAccess: boolean;
|
|
9
|
+
}): void;
|
|
10
|
+
options: {
|
|
11
|
+
clientId: any;
|
|
12
|
+
grantOfflineAccess: boolean;
|
|
13
|
+
scopes: never[];
|
|
14
|
+
} | undefined;
|
|
15
|
+
gapiLoaded: Promise<any> | undefined;
|
|
16
|
+
platformJsLoaded(): void;
|
|
17
|
+
signIn(): Promise<any>;
|
|
18
|
+
refresh(): Promise<{
|
|
19
|
+
accessToken: any;
|
|
20
|
+
idToken: any;
|
|
21
|
+
refreshToken: string;
|
|
22
|
+
}>;
|
|
23
|
+
signOut(): Promise<any>;
|
|
24
|
+
addUserChangeListener(): Promise<void>;
|
|
25
|
+
getUserFrom(e: any): {
|
|
26
|
+
email: any;
|
|
27
|
+
familyName: any;
|
|
28
|
+
givenName: any;
|
|
29
|
+
id: any;
|
|
30
|
+
imageUrl: any;
|
|
31
|
+
name: any;
|
|
32
|
+
authentication: {
|
|
33
|
+
accessToken: any;
|
|
34
|
+
idToken: any;
|
|
35
|
+
refreshToken: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
import r = require("./AuthProvider.cjs.js");
|
|
40
|
+
//# sourceMappingURL=web.cjs3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.cjs3.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs3.js"],"names":[],"mappings":";AAAoN;IAA4B,cAAsB;IAAA,mBAAyW;IAAA;;;;aAA6e;IAAxN;;;;kBAAiH;IAAC,qCAAwE;IAA8B,yBAAkP;IAAA,uBAA8Y;IAAA;;;;OAAwK;IAAA,wBAA8D;IAAA,uCAAqL;IAAA;;;;;;;;;;;;MAAsT;CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { o as SecureStoragePluginWeb };
|
|
2
|
+
declare class o extends t.WebPlugin {
|
|
3
|
+
constructor(...args: any[]);
|
|
4
|
+
PREFIX: string;
|
|
5
|
+
addPrefix: (e: any) => string;
|
|
6
|
+
removePrefix: (e: any) => any;
|
|
7
|
+
get(e: any): Promise<{
|
|
8
|
+
value: string;
|
|
9
|
+
}>;
|
|
10
|
+
set(e: any): Promise<{
|
|
11
|
+
value: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
remove(e: any): Promise<{
|
|
14
|
+
value: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
clear(): Promise<{
|
|
17
|
+
value: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
keys(): Promise<{
|
|
20
|
+
value: any[];
|
|
21
|
+
}>;
|
|
22
|
+
getPlatform(): Promise<{
|
|
23
|
+
value: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
import t = require("./AuthProvider.cjs.js");
|
|
27
|
+
//# sourceMappingURL=web.cjs4.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.cjs4.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs4.js"],"names":[],"mappings":";AAAoN;IAA4B,4BAAwI;IAAtG,eAAsB;IAAC,8BAA+B;IAAC,8BAA8C;IAAC;;OAAiK;IAAA;;OAAoG;IAAA;;OAA+L;IAAA;;OAA8H;IAAA;;OAAwI;IAAA;;OAAoD;CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { w as DeviceWeb };
|
|
2
|
+
declare class w extends v.WebPlugin {
|
|
3
|
+
getId(): Promise<{
|
|
4
|
+
identifier: string;
|
|
5
|
+
}>;
|
|
6
|
+
getInfo(): Promise<{
|
|
7
|
+
model: any;
|
|
8
|
+
platform: string;
|
|
9
|
+
operatingSystem: string;
|
|
10
|
+
osVersion: any;
|
|
11
|
+
manufacturer: string;
|
|
12
|
+
isVirtual: boolean;
|
|
13
|
+
webViewVersion: any;
|
|
14
|
+
}>;
|
|
15
|
+
getBatteryInfo(): Promise<{
|
|
16
|
+
batteryLevel: any;
|
|
17
|
+
isCharging: any;
|
|
18
|
+
}>;
|
|
19
|
+
getLanguageCode(): Promise<{
|
|
20
|
+
value: string;
|
|
21
|
+
}>;
|
|
22
|
+
getLanguageTag(): Promise<{
|
|
23
|
+
value: string;
|
|
24
|
+
}>;
|
|
25
|
+
parseUa(e: any): {
|
|
26
|
+
model: any;
|
|
27
|
+
osVersion: any;
|
|
28
|
+
operatingSystem: string;
|
|
29
|
+
browserVersion: any;
|
|
30
|
+
};
|
|
31
|
+
getUid(): string;
|
|
32
|
+
uuid4(): string;
|
|
33
|
+
}
|
|
34
|
+
import v = require("./AuthProvider.cjs.js");
|
|
35
|
+
//# sourceMappingURL=web.cjs5.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.cjs5.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.cjs5.js"],"names":[],"mappings":";AAAoN;IAA4B;;OAA+C;IAAA;;;;;;;;OAAuV;IAAA;;;OAA+O;IAAA;;OAAqF;IAAA;;OAAwD;IAAA;;;;;MAAquC;IAAA,iBAA2L;IAAA,gBAAmJ;CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { W as j } from './AuthProvider.es.js';
|
|
2
|
+
export { E as SignInWithAppleWeb };
|
|
3
|
+
declare class E extends j {
|
|
4
|
+
constructor();
|
|
5
|
+
appleScriptUrl: string;
|
|
6
|
+
isAppleScriptLoaded: boolean;
|
|
7
|
+
authorize(i: any): Promise<any>;
|
|
8
|
+
loadSignInWithAppleJS(): Promise<any>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=web.es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.es.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es.js"],"names":[],"mappings":";AAiFA;IACE,cAKC;IADK,uBAA4G;IAAE,6BAA6B;IAEjJ,gCA6BC;IACD,sCAIC;CACF;uBA3HsB,sBAAsB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { W as i } from './AuthProvider.es.js';
|
|
2
|
+
export { m as FacebookLoginWeb };
|
|
3
|
+
declare class m extends i {
|
|
4
|
+
initialize(e: any): Promise<any>;
|
|
5
|
+
loadScript(e: any): Promise<any>;
|
|
6
|
+
login(e: any): Promise<any>;
|
|
7
|
+
logout(): Promise<any>;
|
|
8
|
+
reauthorize(): Promise<any>;
|
|
9
|
+
getCurrentAccessToken(): Promise<any>;
|
|
10
|
+
getProfile(e: any): Promise<any>;
|
|
11
|
+
logEvent(): Promise<void>;
|
|
12
|
+
setAutoLogAppEventsEnabled(): Promise<void>;
|
|
13
|
+
setAdvertiserTrackingEnabled(): Promise<void>;
|
|
14
|
+
setAdvertiserIDCollectionEnabled(): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=web.es2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.es2.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es2.js"],"names":[],"mappings":";AAIA;IACE,iCAGC;IACD,iCAUC;IACD,4BAcC;IACD,uBAEC;IACD,4BAEC;IACD,sCAyBC;IACD,iCAWC;IACD,0BAEC;IACD,4CAEC;IACD,8CAEC;IACD,kDAEC;CACF;uBA3FsB,sBAAsB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { W as c } from './AuthProvider.es.js';
|
|
2
|
+
export { h as GoogleAuthWeb };
|
|
3
|
+
declare class h extends c {
|
|
4
|
+
constructor();
|
|
5
|
+
loadScript(): void;
|
|
6
|
+
initialize(e?: {
|
|
7
|
+
clientId: string;
|
|
8
|
+
scopes: never[];
|
|
9
|
+
grantOfflineAccess: boolean;
|
|
10
|
+
}): void;
|
|
11
|
+
options: {
|
|
12
|
+
clientId: any;
|
|
13
|
+
grantOfflineAccess: boolean;
|
|
14
|
+
scopes: never[];
|
|
15
|
+
} | undefined;
|
|
16
|
+
gapiLoaded: Promise<any> | undefined;
|
|
17
|
+
platformJsLoaded(): void;
|
|
18
|
+
signIn(): Promise<any>;
|
|
19
|
+
refresh(): Promise<{
|
|
20
|
+
accessToken: any;
|
|
21
|
+
idToken: any;
|
|
22
|
+
refreshToken: string;
|
|
23
|
+
}>;
|
|
24
|
+
signOut(): Promise<any>;
|
|
25
|
+
addUserChangeListener(): Promise<void>;
|
|
26
|
+
getUserFrom(e: any): {
|
|
27
|
+
email: any;
|
|
28
|
+
familyName: any;
|
|
29
|
+
givenName: any;
|
|
30
|
+
id: any;
|
|
31
|
+
imageUrl: any;
|
|
32
|
+
name: any;
|
|
33
|
+
authentication: {
|
|
34
|
+
accessToken: any;
|
|
35
|
+
idToken: any;
|
|
36
|
+
refreshToken: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=web.es3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.es3.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es3.js"],"names":[],"mappings":";AAIA;IACE,cAEC;IACD,mBAQC;IACD;;;;aAgBC;IAP4D;;;;kBAI1D;IAAE,qCAED;IAEJ,yBAQC;IACD,uBAeC;IACD;;;;OAOC;IACD,wBAEC;IACD,uCAIC;IACD;;;;;;;;;;;;MASC;CACF;uBArFsB,sBAAsB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { W as t } from './AuthProvider.es.js';
|
|
2
|
+
export { m as SecureStoragePluginWeb };
|
|
3
|
+
declare class m extends t {
|
|
4
|
+
constructor(...args: any[]);
|
|
5
|
+
PREFIX: string;
|
|
6
|
+
addPrefix: (e: any) => string;
|
|
7
|
+
removePrefix: (e: any) => any;
|
|
8
|
+
get(e: any): Promise<{
|
|
9
|
+
value: string;
|
|
10
|
+
}>;
|
|
11
|
+
set(e: any): Promise<{
|
|
12
|
+
value: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
remove(e: any): Promise<{
|
|
15
|
+
value: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
clear(): Promise<{
|
|
18
|
+
value: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
keys(): Promise<{
|
|
21
|
+
value: any[];
|
|
22
|
+
}>;
|
|
23
|
+
getPlatform(): Promise<{
|
|
24
|
+
value: string;
|
|
25
|
+
}>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=web.es4.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.es4.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es4.js"],"names":[],"mappings":";AAIA;IACE,4BAEC;IADsB,eAAwB;IAAE,8BAAuC;IAAE,8BAAqD;IAE/I;;OAKC;IACD;;OAEC;IACD;;OAEC;IACD;;OAIC;IACD;;OAGC;IACD;;OAEC;CACF;uBAhCsB,sBAAsB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { W as w } from './AuthProvider.es.js';
|
|
2
|
+
export { b as DeviceWeb };
|
|
3
|
+
declare class b extends w {
|
|
4
|
+
getId(): Promise<{
|
|
5
|
+
identifier: string;
|
|
6
|
+
}>;
|
|
7
|
+
getInfo(): Promise<{
|
|
8
|
+
model: any;
|
|
9
|
+
platform: string;
|
|
10
|
+
operatingSystem: string;
|
|
11
|
+
osVersion: any;
|
|
12
|
+
manufacturer: string;
|
|
13
|
+
isVirtual: boolean;
|
|
14
|
+
webViewVersion: any;
|
|
15
|
+
}>;
|
|
16
|
+
getBatteryInfo(): Promise<{
|
|
17
|
+
batteryLevel: any;
|
|
18
|
+
isCharging: any;
|
|
19
|
+
}>;
|
|
20
|
+
getLanguageCode(): Promise<{
|
|
21
|
+
value: string;
|
|
22
|
+
}>;
|
|
23
|
+
getLanguageTag(): Promise<{
|
|
24
|
+
value: string;
|
|
25
|
+
}>;
|
|
26
|
+
parseUa(e: any): {
|
|
27
|
+
model: any;
|
|
28
|
+
osVersion: any;
|
|
29
|
+
operatingSystem: string;
|
|
30
|
+
browserVersion: any;
|
|
31
|
+
};
|
|
32
|
+
getUid(): string;
|
|
33
|
+
uuid4(): string;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=web.es5.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.es5.d.ts","sourceRoot":"","sources":["../../../../../../auth/dist/deps/web.es5.js"],"names":[],"mappings":";AAIA;IACE;;OAIC;IACD;;;;;;;;OAaC;IACD;;;OAYC;IACD;;OAIC;IACD;;OAIC;IACD;;;;;MAmCC;IACD,iBAMC;IACD,gBAKC;CACF;uBAhGsB,sBAAsB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const authProviderGlobal: () => any;
|
|
2
|
+
declare function i({ children: t, ...o }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
children: any;
|
|
5
|
+
}): any;
|
|
6
|
+
export { AuthContext, CodeChallengeEncoding, ConfigContext, ELoginStage, LoginContext, LoginProvider, defaultAuth, generateCodeChallenge, generateCodeVerifier, generatePkceChallenge, getRandomValues, secureStorage, tokenStorageHandler, useAuthContext, useConfigContext, useLoginContext, verifyChallenge, i as AuthProvider };
|
|
7
|
+
//# sourceMappingURL=legacy.cjs.d.ts.map
|