@shopgate/engage 7.32.0-beta.5 → 7.32.0-beta.7
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/account/components/Profile/ProfileAddressCard.d.ts.map +1 -1
- package/account/components/Profile/ProfileAddressCard.js +1 -0
- package/admin-preview/components/FrontendSettingsPreviewBridge/types.d.ts +2 -2
- package/admin-preview/components/FrontendSettingsPreviewBridge/types.d.ts.map +1 -1
- package/back-in-stock/components/Subscriptions/components/Subscription/index.js +2 -5
- package/cart/components/CartItem/CartItemProductLayout.js +1 -1
- package/cart/components/CartItem/CartItemProductLayoutWide.js +2 -2
- package/cart/components/CartItems/CartItems.js +8 -10
- package/cart/components/CartItems/CartItemsSubstitution.js +3 -2
- package/category/components/CategoryImage/index.js +11 -15
- package/components/Card/Card.d.ts +27 -0
- package/components/Card/Card.d.ts.map +1 -0
- package/components/Card/Card.js +57 -0
- package/components/Card/index.d.ts +4 -0
- package/components/Card/index.d.ts.map +1 -0
- package/components/Card/index.js +2 -0
- package/components/Card/spec.d.ts +2 -0
- package/components/Card/spec.d.ts.map +1 -0
- package/components/Card/spec.js +128 -0
- package/components/Card/useCardAppearance.d.ts +11 -0
- package/components/Card/useCardAppearance.d.ts.map +1 -0
- package/components/Card/useCardAppearance.js +22 -0
- package/components/Paper/Paper.d.ts +49 -0
- package/components/Paper/Paper.d.ts.map +1 -0
- package/components/Paper/Paper.js +64 -0
- package/components/Paper/index.d.ts +3 -0
- package/components/Paper/index.d.ts.map +1 -0
- package/components/Paper/index.js +1 -0
- package/components/Paper/spec.d.ts +2 -0
- package/components/Paper/spec.d.ts.map +1 -0
- package/components/Paper/spec.js +131 -0
- package/components/RadioCard/RadioCard.d.ts.map +1 -1
- package/components/RadioCard/RadioCard.js +2 -1
- package/components/constants.d.ts +6 -0
- package/components/constants.d.ts.map +1 -0
- package/components/index.d.ts +4 -1
- package/components/index.d.ts.map +1 -1
- package/components/index.js +3 -2
- package/core/helpers/getFullImageSource.d.ts +5 -1
- package/core/helpers/getFullImageSource.d.ts.map +1 -1
- package/core/helpers/getFullImageSource.js +30 -14
- package/core/helpers/i18n.d.ts +4 -0
- package/core/helpers/i18n.d.ts.map +1 -1
- package/core/helpers/i18n.js +3 -0
- package/core/hooks/html/useLoadImage.d.ts +3 -3
- package/core/hooks/html/useLoadImage.d.ts.map +1 -1
- package/core/hooks/html/useLoadImage.js +2 -2
- package/favorites/components/Item/Item.d.ts +1 -1
- package/favorites/components/Item/Item.d.ts.map +1 -1
- package/favorites/components/Item/Item.js +2 -5
- package/favorites/components/List/List.d.ts +1 -1
- package/locations/components/StoreList/StoreListProduct.js +2 -3
- package/orders/components/OrderHistory/OrderHistoryList.d.ts.map +1 -1
- package/orders/components/OrderHistory/OrderHistoryList.js +8 -9
- package/orders/components/OrderHistory/OrderHistoryTable.d.ts.map +1 -1
- package/orders/components/OrderHistory/OrderHistoryTable.js +4 -0
- package/package.json +8 -8
- package/page/widgets/ProductSlider/ProductSlider.js +1 -15
- package/product/components/Media/FeaturedMedia.js +7 -1
- package/product/components/Media/MediaImage.js +24 -23
- package/product/components/Media/MediaPlaceholder.js +4 -7
- package/product/components/MediaSlider/components/MediaImage/index.js +6 -2
- package/product/components/MediaSlider/constants.js +1 -12
- package/product/components/ProductCard/index.js +29 -23
- package/product/components/ProductGrid/components/Item/components/ItemDetails/index.js +6 -3
- package/product/components/ProductGrid/components/Item/components/ItemImage/index.js +2 -5
- package/product/components/ProductGrid/components/Item/components/ItemName/index.js +5 -1
- package/product/components/ProductGrid/components/Item/components/ItemName/spec.js +19 -1
- package/product/components/ProductGrid/components/Item/index.js +9 -1
- package/product/components/ProductGrid/hooks.d.ts +0 -7
- package/product/components/ProductGrid/hooks.d.ts.map +1 -1
- package/product/components/ProductGrid/hooks.js +9 -10
- package/product/components/ProductImage/ProductImage.d.ts +42 -0
- package/product/components/ProductImage/ProductImage.d.ts.map +1 -0
- package/product/components/ProductImage/ProductImage.js +153 -0
- package/product/components/ProductImage/ProductImagePlaceholder.d.ts +23 -0
- package/product/components/ProductImage/ProductImagePlaceholder.d.ts.map +1 -0
- package/product/components/ProductImage/ProductImagePlaceholder.js +9 -14
- package/product/components/ProductImage/constants.d.ts +7 -0
- package/product/components/ProductImage/constants.d.ts.map +1 -0
- package/product/components/ProductImage/constants.js +6 -0
- package/product/components/ProductImage/hooks.d.ts +8 -0
- package/product/components/ProductImage/hooks.d.ts.map +1 -0
- package/product/components/ProductImage/hooks.js +32 -0
- package/product/components/ProductImage/index.d.ts +3 -0
- package/product/components/ProductImage/index.d.ts.map +1 -0
- package/product/components/ProductImage/index.js +1 -201
- package/product/components/ProductImage/spec.js +115 -60
- package/product/components/ProductList/components/Item/index.js +5 -3
- package/product/components/ProductRatingStars/ProductRatingStars.js +2 -4
- package/product/components/ProductSlider/constants.d.ts +3 -0
- package/product/components/ProductSlider/constants.d.ts.map +1 -0
- package/product/components/ProductSlider/constants.js +2 -0
- package/product/components/ProductSlider/hooks.d.ts +7 -0
- package/product/components/ProductSlider/hooks.d.ts.map +1 -0
- package/product/components/ProductSlider/hooks.js +40 -0
- package/product/components/ProductSlider/index.js +8 -8
- package/product/components/ProductSlider/spec.js +2 -2
- package/product/components/Rating/index.js +2 -4
- package/product/components/RelationsSlider/RelationsSliderContent.js +3 -2
- package/product/components/RelationsSlider/constants.d.ts +3 -0
- package/product/components/RelationsSlider/constants.d.ts.map +1 -0
- package/product/components/RelationsSlider/constants.js +2 -1
- package/product/components/RelationsSlider/hooks.d.ts +6 -0
- package/product/components/RelationsSlider/hooks.d.ts.map +1 -0
- package/product/components/RelationsSlider/hooks.js +34 -0
- package/product/helpers/index.js +29 -11
- package/product/hooks/index.js +3 -1
- package/product/hooks/useLoadProductImage.js +4 -2
- package/product/hooks/useShowEmptyRatingStars.d.ts +7 -0
- package/product/hooks/useShowEmptyRatingStars.d.ts.map +1 -0
- package/product/hooks/useShowEmptyRatingStars.js +21 -0
- package/product/index.js +0 -1
- package/settings/action-creators/appSettings.d.ts +3 -3
- package/settings/action-creators/appSettings.d.ts.map +1 -1
- package/settings/constants/appSettings.d.ts +3 -0
- package/settings/constants/appSettings.d.ts.map +1 -1
- package/settings/constants/appSettings.js +6 -1
- package/settings/constants/imageSettings.d.ts +52 -0
- package/settings/constants/imageSettings.d.ts.map +1 -0
- package/settings/constants/imageSettings.js +69 -0
- package/settings/helpers/index.d.ts +3 -0
- package/settings/helpers/index.d.ts.map +1 -0
- package/settings/helpers/index.js +1 -0
- package/settings/helpers/resolveImageSettings.d.ts +70 -0
- package/settings/helpers/resolveImageSettings.d.ts.map +1 -0
- package/settings/helpers/resolveImageSettings.js +171 -0
- package/settings/helpers/toImageQuality.d.ts +7 -0
- package/settings/helpers/toImageQuality.d.ts.map +1 -0
- package/settings/helpers/toImageQuality.js +44 -0
- package/settings/helpers/toThumborColor.d.ts +15 -0
- package/settings/helpers/toThumborColor.d.ts.map +1 -0
- package/settings/helpers/toThumborColor.js +51 -0
- package/settings/hooks/index.d.ts +2 -0
- package/settings/hooks/index.d.ts.map +1 -0
- package/settings/hooks/index.js +1 -0
- package/settings/hooks/useImageSettings.d.ts +28 -0
- package/settings/hooks/useImageSettings.d.ts.map +1 -0
- package/settings/hooks/useImageSettings.js +39 -0
- package/settings/reducers/appSettings.d.ts.map +1 -1
- package/settings/reducers/appSettings.js +79 -11
- package/settings/reducers/index.d.ts +3 -3
- package/settings/selectors/appSettings.d.ts +71 -1
- package/settings/selectors/appSettings.d.ts.map +1 -1
- package/settings/selectors/appSettings.js +41 -1
- package/settings/types/appSettings.d.ts +192 -9
- package/settings/types/appSettings.d.ts.map +1 -1
- package/styles/index.d.ts +1 -1
- package/styles/index.d.ts.map +1 -1
- package/styles/reset/root.js +23 -4
- package/styles/reset/typographyCustomProps.d.ts +12 -0
- package/styles/reset/typographyCustomProps.d.ts.map +1 -0
- package/styles/reset/typographyCustomProps.js +11 -0
- package/styles/theme/createTheme/createComponents.types.d.ts +50 -0
- package/styles/theme/createTheme/createComponents.types.d.ts.map +1 -1
- package/styles/theme/createTheme/createComponents.types.js +50 -0
- package/styles/theme/createTheme/createCssVarsForColorSchemeThemes.d.ts.map +1 -1
- package/styles/theme/createTheme/createCssVarsForColorSchemeThemes.js +5 -1
- package/styles/theme/createTheme/createPalette.types.d.ts +4 -0
- package/styles/theme/createTheme/createPalette.types.d.ts.map +1 -1
- package/styles/theme/createTheme/createPalette.types.js +5 -1
- package/styles/theme/createTheme/createShape.d.ts +4 -0
- package/styles/theme/createTheme/createShape.d.ts.map +1 -1
- package/styles/theme/createTheme/createShape.js +2 -1
- package/styles/theme/createTheme/createThemeFromColorScheme.d.ts.map +1 -1
- package/styles/theme/createTheme/createThemeFromColorScheme.js +2 -1
- package/styles/theme/createTheme/createTypography.js +1 -0
- package/styles/theme/createTheme/helpers/cssVarsParser.d.ts.map +1 -1
- package/styles/theme/createTheme/helpers/cssVarsParser.js +10 -3
- package/styles/theme/createTheme/shadows.d.ts +11 -1
- package/styles/theme/createTheme/shadows.d.ts.map +1 -1
- package/styles/theme/createTheme/shadows.js +41 -7
- package/styles/theme/createTheme/types.d.ts +5 -1
- package/styles/theme/createTheme/types.d.ts.map +1 -1
- package/styles/theme/index.d.ts +1 -0
- package/styles/theme/index.d.ts.map +1 -1
- package/product/collections/index.js +0 -1
- package/product/components/EffectivityDates/constants.d.ts +0 -3
- package/product/components/EffectivityDates/constants.d.ts.map +0 -1
- package/product/components/EffectivityDates/helpers.d.ts +0 -6
- package/product/components/EffectivityDates/helpers.d.ts.map +0 -1
- package/product/components/Media/helpers.d.ts +0 -2
- package/product/components/Media/helpers.d.ts.map +0 -1
- package/product/components/ProductImage/connector.js +0 -12
- package/product/helpers/index.d.ts +0 -13
- package/product/helpers/index.d.ts.map +0 -1
- package/product/helpers/redirects.d.ts +0 -2
- package/product/helpers/redirects.d.ts.map +0 -1
- package/product/selectors/helpers/filterProperties.d.ts +0 -8
- package/product/selectors/helpers/filterProperties.d.ts.map +0 -1
- package/product/selectors/helpers/index.d.ts +0 -3
- package/product/selectors/helpers/index.d.ts.map +0 -1
- package/product/selectors/helpers/wrapMemoizedSelector.d.ts +0 -2
- package/product/selectors/helpers/wrapMemoizedSelector.d.ts.map +0 -1
- package/product/selectors/product.d.ts +0 -112
- package/product/selectors/product.d.ts.map +0 -1
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates the selector to get a product's properties from the state filtered via
|
|
3
|
-
* positive / negative list.
|
|
4
|
-
* @returns {Function}
|
|
5
|
-
*/
|
|
6
|
-
export function makeGetProductProperties(): Function;
|
|
7
|
-
/**
|
|
8
|
-
* Creates the selector to get a product's effectivity dates.
|
|
9
|
-
* @returns {Function}
|
|
10
|
-
*/
|
|
11
|
-
export function makeGetProductEffectivityDates(): Function;
|
|
12
|
-
/**
|
|
13
|
-
* Creates a selector to return product characteristics.
|
|
14
|
-
* @returns {Function}
|
|
15
|
-
*/
|
|
16
|
-
export function makeGetProductCharacteristics(): Function;
|
|
17
|
-
/**
|
|
18
|
-
* Creates a selector to return product featured media.
|
|
19
|
-
* @returns {Function}
|
|
20
|
-
*/
|
|
21
|
-
export function makeGetProductFeaturedMedia(): Function;
|
|
22
|
-
export function getProductState(state: Object): Object;
|
|
23
|
-
/**
|
|
24
|
-
* Selects the product properties state.
|
|
25
|
-
* @param {Object} state The current application state.
|
|
26
|
-
* @param {Object} props The component props.
|
|
27
|
-
* @return {Object} The product properties state.
|
|
28
|
-
*/
|
|
29
|
-
export const getProductPropertiesState: ((state: Object) => any) & import("reselect").OutputSelectorFields<(args_0: Object) => any, {
|
|
30
|
-
clearCache: () => void;
|
|
31
|
-
}> & {
|
|
32
|
-
clearCache: () => void;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Selects all products from the store.
|
|
36
|
-
* @param {Object} state The current application state.
|
|
37
|
-
* @return {Object} The collection of products.
|
|
38
|
-
*/
|
|
39
|
-
export const getProducts: ((state: Object) => any) & import("reselect").OutputSelectorFields<(args_0: Object) => any, {
|
|
40
|
-
clearCache: () => void;
|
|
41
|
-
}> & {
|
|
42
|
-
clearCache: () => void;
|
|
43
|
-
};
|
|
44
|
-
export function getProductId(state: Object, props?: Object): string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Retrieves the product data for the passed productId from the store.
|
|
47
|
-
* @param {Object} state The current application state.
|
|
48
|
-
* @param {Object} props The component props.
|
|
49
|
-
* @return {Object} The current product.
|
|
50
|
-
*/
|
|
51
|
-
export const getProduct: ((state: Object, props?: Object | undefined) => any) & import("reselect").OutputSelectorFields<(...args: any) => any, {
|
|
52
|
-
clearCache: () => void;
|
|
53
|
-
}> & {
|
|
54
|
-
clearCache: () => void;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves a product by id from state. Different to getProduct() which returns the product
|
|
58
|
-
* entity data if available, this selector returns the pure state entry for a given productId.
|
|
59
|
-
* So the expires and the isFetching property is processable.
|
|
60
|
-
* @param {Object} state The current application state.
|
|
61
|
-
* @param {Object} props The component props.
|
|
62
|
-
* @return {Object|null} The dedicated product.
|
|
63
|
-
*/
|
|
64
|
-
export const getProductById: ((state: any, ...params: any[]) => any) & import("reselect").OutputSelectorFields<(...args: readonly unknown[]) => any, {
|
|
65
|
-
clearCache: () => void;
|
|
66
|
-
}> & {
|
|
67
|
-
clearCache: () => void;
|
|
68
|
-
};
|
|
69
|
-
export const getProductDataById: ((state: any, ...params: any[]) => any) & import("reselect").OutputSelectorFields<(...args: any) => any, {
|
|
70
|
-
clearCache: () => void;
|
|
71
|
-
}> & {
|
|
72
|
-
clearCache: () => void;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Determines a baseProductId for the products which are referenced within the props.
|
|
76
|
-
* When a variantId is passed, the selector will return the id of the related base product.
|
|
77
|
-
* @param {Object} state The current application state.
|
|
78
|
-
* @param {Object} props The component props.
|
|
79
|
-
* @return {string|null}
|
|
80
|
-
*/
|
|
81
|
-
export const getBaseProductId: ((state: any, ...params: any[]) => any) & import("reselect").OutputSelectorFields<(...args: readonly unknown[]) => any, {
|
|
82
|
-
clearCache: () => void;
|
|
83
|
-
}> & {
|
|
84
|
-
clearCache: () => void;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Retrieves the base product data for the passed productId from the store.
|
|
88
|
-
* @param {Object} state The current application state.
|
|
89
|
-
* @returns {Object|null} The current product.
|
|
90
|
-
*/
|
|
91
|
-
export const getBaseProduct: ((state: any) => any) & import("reselect").OutputSelectorFields<(...args: any) => any, {
|
|
92
|
-
clearCache: () => void;
|
|
93
|
-
}> & {
|
|
94
|
-
clearCache: () => void;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* END of the copied block
|
|
98
|
-
*/
|
|
99
|
-
/**
|
|
100
|
-
* Selects the is fetching state of the active product.
|
|
101
|
-
*/
|
|
102
|
-
export const getProductIsFetching: ((state: Object, props?: Object | undefined) => any) & import("reselect").OutputSelectorFields<(...args: any) => any, {
|
|
103
|
-
clearCache: () => void;
|
|
104
|
-
}> & {
|
|
105
|
-
clearCache: () => void;
|
|
106
|
-
};
|
|
107
|
-
export function makeGetProductPropertiesUnfiltered(): Function;
|
|
108
|
-
export function makeIsProductActive(returnNullIfProductMissing?: boolean): Function;
|
|
109
|
-
export function makeIsBaseProductActive(returnNullIfProductMissing?: boolean): Function;
|
|
110
|
-
export function makeGetCurrentProductPropertyByLabel(): Function;
|
|
111
|
-
export function makeGetProductType(): Function;
|
|
112
|
-
//# sourceMappingURL=product.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../product/selectors/product.js"],"names":[],"mappings":"AAgLA;;;;GAIG;AACH,qDAcC;AAmBD;;;GAGG;AACH,2DAkBC;AAED;;;GAGG;AACH,0DAKC;AAED;;;GAGG;AACH,wDAWC;AArPM,uCAHI,MAAM,GACL,MAAM,CAE0D;AAE5E;;;;;GAKG;AACH;;;;EAGE;AAEF;;;;GAIG;AACH;;;;EAGE;AASK,oCAJI,MAAM,UACN,MAAM,GACL,MAAM,GAAC,IAAI,CAuBtB;AAED;;;;;GAKG;AACH;;;;EAOE;AAEF;;;;;;;GAOG;AACH;;;;EAeE;AAEF;;;;EAGE;AAEF;;;;;;GAMG;AACH;;;;EAkBE;AAEF;;;;GAIG;AACH;;;;EAYE;AAEF;;GAEG;AAEH;;GAEG;AACH;;;;EAIE;AA2BK,+DAWN;AA+DM,iEANI,OAAO,YAejB;AAWM,qEANI,OAAO,YAejB;AAMM,iEAeN;AAOM,+CAGN"}
|