@liquidcommerce/elements-sdk 2.4.5 → 2.5.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.esm.js +11564 -10161
- package/dist/types/constants/core.constant.d.ts +32 -0
- package/dist/types/constants/index.d.ts +0 -1
- package/dist/types/{modules/api-client → core}/api-client.service.d.ts +3 -2
- package/dist/types/core/auth.service.d.ts +21 -0
- package/dist/types/core/base-component.service.d.ts +4 -3
- package/dist/types/core/client/client-action.service.d.ts +4 -2
- package/dist/types/core/client/client-config.service.d.ts +1 -0
- package/dist/types/core/command/base-command.service.d.ts +5 -3
- package/dist/types/core/command/command.service.d.ts +2 -0
- package/dist/types/core/google-tag-manager.service.d.ts +1 -2
- package/dist/types/core/pubsub/interfaces/core.interface.d.ts +4 -1
- package/dist/types/core/pubsub/pubsub.service.d.ts +1 -1
- package/dist/types/core/sdk-error-handler.d.ts +1 -0
- package/dist/types/core/store/interfaces/core.interface.d.ts +4 -2
- package/dist/types/core/store/store.constant.d.ts +5 -1
- package/dist/types/core/store/store.service.d.ts +2 -1
- package/dist/types/core/utils.d.ts +0 -4
- package/dist/types/elements-base-client.d.ts +3 -3
- package/dist/types/enums/core.enum.d.ts +10 -0
- package/dist/types/enums/index.d.ts +0 -1
- package/dist/types/interfaces/cloud/catalog.interface.d.ts +43 -0
- package/dist/types/interfaces/cloud/index.d.ts +1 -0
- package/dist/types/interfaces/core.interface.d.ts +13 -0
- package/dist/types/modules/cart/cart.commands.d.ts +1 -2
- package/dist/types/modules/cart/cart.commands.helper.d.ts +3 -2
- package/dist/types/modules/checkout/checkout.commands.d.ts +1 -2
- package/dist/types/modules/checkout/checkout.commands.helper.d.ts +1 -1
- package/dist/types/modules/product/components/components.d.ts +1 -1
- package/dist/types/modules/product/components/index.d.ts +1 -2
- package/dist/types/modules/product/product.commands.d.ts +2 -3
- package/dist/types/modules/product/utils/helpers.d.ts +1 -1
- package/dist/types/modules/product/utils/retailer-hours.d.ts +1 -1
- package/dist/types/modules/product-list/components/index.d.ts +3 -0
- package/dist/types/modules/product-list/components/product-list-card-loading.component.d.ts +7 -0
- package/dist/types/modules/product-list/components/product-list-card.component.d.ts +36 -0
- package/dist/types/modules/product-list/components/product-list-filters.component.d.ts +21 -0
- package/dist/types/modules/product-list/product-list.commands.d.ts +15 -0
- package/dist/types/modules/product-list/product-list.component.d.ts +76 -0
- package/dist/types/modules/theme-provider/constants/component-groupings.d.ts +0 -2
- package/dist/types/modules/theme-provider/styles/product-list/index.d.ts +1 -0
- package/dist/types/modules/theme-provider/styles/product-list/product-list.style.d.ts +1 -0
- package/dist/types/modules/theme-provider/styles/ui/loading.style.d.ts +1 -0
- package/dist/types/modules/ui-components/alert/alert.component.d.ts +1 -1
- package/dist/types/modules/ui-components/purchase-min-alert/helpers.d.ts +1 -1
- package/dist/types/modules/ui-components/ui.commands.d.ts +1 -1
- package/package.json +12 -9
- package/umd/elements.js +1 -1
- package/dist/types/constants/z-index.constant.d.ts +0 -24
- package/dist/types/core/pubsub/index.d.ts +0 -2
- package/dist/types/core/pubsub/interfaces/index.d.ts +0 -5
- package/dist/types/core/store/index.d.ts +0 -2
- package/dist/types/core/store/interfaces/index.d.ts +0 -5
- package/dist/types/enums/debug.enum.d.ts +0 -6
- package/dist/types/modules/address/index.d.ts +0 -4
- package/dist/types/modules/api-client/api-client.interface.d.ts +0 -21
- package/dist/types/modules/api-client/index.d.ts +0 -2
- package/dist/types/modules/cart/index.d.ts +0 -1
- package/dist/types/modules/checkout/index.d.ts +0 -1
- package/dist/types/modules/product/index.d.ts +0 -1
- package/dist/types/modules/theme-provider/index.d.ts +0 -2
- package/dist/types/modules/ui-components/loading/index.d.ts +0 -1
- /package/dist/types/modules/{ui-components/loading → product/components}/product-loading.component.d.ts +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const Z_INDEX: {
|
|
2
|
-
readonly DRAWER_WRAPPER: 2147483640;
|
|
3
|
-
readonly DRAWER_CONTENT: 5952;
|
|
4
|
-
readonly DRAWER_BACKDROP: 5951;
|
|
5
|
-
readonly ADDRESS_SUGGESTIONS: 5850;
|
|
6
|
-
readonly PRODUCT_DRAWER: 5840;
|
|
7
|
-
readonly CART_LOADING: 5750;
|
|
8
|
-
readonly LOADING_SPINNER: 5740;
|
|
9
|
-
readonly LOADING_INDICATOR: 5730;
|
|
10
|
-
readonly ERROR_MESSAGE: 5650;
|
|
11
|
-
readonly ALERT_BANNER: 5640;
|
|
12
|
-
readonly NOTIFICATION: 5630;
|
|
13
|
-
readonly CAROUSEL_CONTROLS: 5580;
|
|
14
|
-
readonly TOOLTIP: 5570;
|
|
15
|
-
readonly PROGRESS_BAR: 5560;
|
|
16
|
-
readonly CHECKOUT_HEADER: 5920;
|
|
17
|
-
readonly INDEPENDENT_BUTTON: 5910;
|
|
18
|
-
readonly CART_HEADER: 5920;
|
|
19
|
-
readonly TOGGLE_SLIDER: 5150;
|
|
20
|
-
readonly FORM_CONTROLS: 5130;
|
|
21
|
-
readonly ADDRESS_ACTIONS: 5050;
|
|
22
|
-
readonly SKELETON_WAVE: 5040;
|
|
23
|
-
readonly CONTENT_OVERLAY: 5030;
|
|
24
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface IAuth {
|
|
2
|
-
token: string;
|
|
3
|
-
exp: number;
|
|
4
|
-
type: 'ACCESS_TOKEN';
|
|
5
|
-
}
|
|
6
|
-
export interface IResponseMetadata {
|
|
7
|
-
languages: string[];
|
|
8
|
-
timestamp: number;
|
|
9
|
-
timezone: string;
|
|
10
|
-
requestId: string;
|
|
11
|
-
path: string;
|
|
12
|
-
version: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IApiResponseBase {
|
|
15
|
-
statusCode: number;
|
|
16
|
-
message: string;
|
|
17
|
-
metadata: IResponseMetadata;
|
|
18
|
-
}
|
|
19
|
-
export type IApiResponseWithData<T> = IApiResponseBase & {
|
|
20
|
-
data: T;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cart.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './checkout.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './product.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './product-loading.component';
|
|
File without changes
|