@gem-sdk/core 1.63.16 → 2.0.0-dev.156
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/cjs/components/AddOn.js +1 -0
- package/dist/cjs/components/ComponentAnimation.js +1 -0
- package/dist/cjs/components/ComponentToolbarPreview.js +8 -7
- package/dist/cjs/components/ComponentWrapper.js +1 -0
- package/dist/cjs/components/ComponentWrapperPreview.js +3 -2
- package/dist/cjs/components/Empty.js +1 -0
- package/dist/cjs/components/InteractionSuffix.js +7 -6
- package/dist/cjs/components/Render.js +1 -0
- package/dist/cjs/components/Render.liquid.js +4 -1
- package/dist/cjs/components/RenderBlock.js +1 -0
- package/dist/cjs/components/RenderCustomCode.js +8 -7
- package/dist/cjs/components/RenderPreview.js +1 -0
- package/dist/cjs/components/RenderSection.js +1 -0
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +5 -4
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +1 -0
- package/dist/cjs/components/ai-generator/components/PickProduct.js +5 -4
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +1 -0
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +1 -0
- package/dist/cjs/components/resize/Resize.js +1 -0
- package/dist/cjs/components/resize/Spacing.js +8 -7
- package/dist/cjs/components/theme-section/CreateThemeSection.js +5 -4
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/cjs/components/toolbar/Tooltip.js +1 -0
- package/dist/cjs/contexts/AddonContext.js +1 -0
- package/dist/cjs/contexts/ArticleContext.js +1 -0
- package/dist/cjs/contexts/ArticleListContext.js +1 -0
- package/dist/cjs/contexts/BuilderComponent.js +1 -0
- package/dist/cjs/contexts/BuilderContext.js +1 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -0
- package/dist/cjs/contexts/CartLineContext.js +1 -0
- package/dist/cjs/contexts/CollectionContext.js +1 -0
- package/dist/cjs/contexts/ModalContext.js +1 -0
- package/dist/cjs/contexts/PageContext.js +1 -0
- package/dist/cjs/contexts/ProductContext.js +12 -12
- package/dist/cjs/contexts/ProductListContext.js +1 -0
- package/dist/cjs/contexts/SectionContext.js +1 -0
- package/dist/cjs/contexts/ShopContext.js +1 -0
- package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +0 -4
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/cjs/graphql/queries/articles.generated.js +1 -0
- package/dist/cjs/graphql/queries/blogs.generated.js +1 -0
- package/dist/cjs/graphql/queries/preview-page.generated.js +3 -1
- package/dist/cjs/graphql/queries/shop-shopify.generated.js +11 -0
- package/dist/cjs/helpers/align.js +18 -0
- package/dist/cjs/helpers/background.js +6 -2
- package/dist/cjs/helpers/backgroundImage.js +184 -0
- package/dist/cjs/helpers/borders.js +17 -0
- package/dist/cjs/helpers/compose-advance-style.js +71 -1
- package/dist/cjs/helpers/filter-toolbar-preview.js +1 -0
- package/dist/cjs/helpers/interaction/index.js +7 -6
- package/dist/cjs/helpers/is-empty-children.js +1 -0
- package/dist/cjs/helpers/layout.js +17 -0
- package/dist/cjs/helpers/radius.js +13 -1
- package/dist/cjs/helpers/shadow.js +28 -2
- package/dist/cjs/helpers/size.js +22 -0
- package/dist/cjs/helpers/third-party/appConfig.js +63 -0
- package/dist/cjs/helpers/third-party/appSetting.js +187 -6
- package/dist/cjs/helpers/third-party/constant.js +10 -1
- package/dist/cjs/helpers/typography.js +10 -1
- package/dist/cjs/hooks/animation/useAnimationActions.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationConfig.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationPreview.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationTarget.js +1 -0
- package/dist/cjs/hooks/animation/useApplyAnimation.js +1 -0
- package/dist/cjs/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/cjs/hooks/cart/use-add-to-cart.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-data.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-note-update.js +1 -0
- package/dist/cjs/hooks/cart/use-create-cart.js +1 -0
- package/dist/cjs/hooks/cart/use-remove-cart-item.js +1 -0
- package/dist/cjs/hooks/cart/use-update-cart-item.js +1 -0
- package/dist/cjs/hooks/shop/use-collection-query.js +1 -0
- package/dist/cjs/hooks/shop/use-collections-query.js +1 -0
- package/dist/cjs/hooks/shop/use-product-query.js +1 -0
- package/dist/cjs/hooks/shop/use-products-query.js +1 -0
- package/dist/cjs/hooks/shop/useShopifyLink.js +47 -0
- package/dist/cjs/hooks/shop.js +10 -0
- package/dist/cjs/hooks/use-current-device.js +2 -1
- package/dist/cjs/hooks/use-lazy-video.js +1 -0
- package/dist/cjs/hooks/useAnimations.js +1 -0
- package/dist/cjs/hooks/useCartId.js +1 -0
- package/dist/cjs/hooks/useCartLine.js +1 -0
- package/dist/cjs/hooks/useCartUI.js +1 -0
- package/dist/cjs/hooks/useCollection.js +1 -0
- package/dist/cjs/hooks/useFetchHandle.js +1 -0
- package/dist/cjs/hooks/useFormatMoney.js +1 -0
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/cjs/hooks/useInteraction.js +1 -0
- package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +1 -0
- package/dist/cjs/hooks/useLoadScript.js +1 -0
- package/dist/cjs/hooks/useMoney.js +1 -0
- package/dist/cjs/hooks/usePrevious.js +1 -0
- package/dist/cjs/hooks/useProduct.js +18 -0
- package/dist/cjs/hooks/useProductList.js +1 -0
- package/dist/cjs/hooks/useSuspenseFetch.js +1 -0
- package/dist/cjs/hooks/useSwatchesOptions.js +1 -0
- package/dist/cjs/hooks/useToolbarPostPurchase.js +1 -0
- package/dist/cjs/index.js +18 -0
- package/dist/esm/components/AddOn.js +1 -0
- package/dist/esm/components/ComponentAnimation.js +1 -0
- package/dist/esm/components/ComponentToolbarPreview.js +8 -7
- package/dist/esm/components/ComponentWrapper.js +1 -0
- package/dist/esm/components/ComponentWrapperPreview.js +3 -2
- package/dist/esm/components/Empty.js +1 -0
- package/dist/esm/components/InteractionSuffix.js +7 -6
- package/dist/esm/components/Render.js +1 -0
- package/dist/esm/components/Render.liquid.js +4 -1
- package/dist/esm/components/RenderBlock.js +1 -0
- package/dist/esm/components/RenderCustomCode.js +8 -7
- package/dist/esm/components/RenderPreview.js +1 -0
- package/dist/esm/components/RenderSection.js +1 -0
- package/dist/esm/components/ai-generator/AIContentGenerator.js +5 -4
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +1 -0
- package/dist/esm/components/ai-generator/components/PickProduct.js +5 -4
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +1 -0
- package/dist/esm/components/ai-generator/icons/AIIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +1 -0
- package/dist/esm/components/resize/Resize.js +1 -0
- package/dist/esm/components/resize/Spacing.js +8 -7
- package/dist/esm/components/theme-section/CreateThemeSection.js +5 -4
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/esm/components/toolbar/Tooltip.js +1 -0
- package/dist/esm/contexts/AddonContext.js +1 -0
- package/dist/esm/contexts/ArticleContext.js +1 -0
- package/dist/esm/contexts/ArticleListContext.js +1 -0
- package/dist/esm/contexts/BuilderComponent.js +1 -0
- package/dist/esm/contexts/BuilderContext.js +1 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -0
- package/dist/esm/contexts/CartLineContext.js +1 -0
- package/dist/esm/contexts/CollectionContext.js +1 -0
- package/dist/esm/contexts/ModalContext.js +1 -0
- package/dist/esm/contexts/PageContext.js +1 -0
- package/dist/esm/contexts/ProductContext.js +12 -12
- package/dist/esm/contexts/ProductListContext.js +1 -0
- package/dist/esm/contexts/SectionContext.js +1 -0
- package/dist/esm/contexts/ShopContext.js +1 -0
- package/dist/esm/graphql/fragments/preview-theme-page.generated.js +0 -4
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/esm/graphql/queries/articles.generated.js +1 -0
- package/dist/esm/graphql/queries/blogs.generated.js +1 -0
- package/dist/esm/graphql/queries/preview-page.generated.js +3 -1
- package/dist/esm/graphql/queries/shop-shopify.generated.js +9 -0
- package/dist/esm/helpers/align.js +18 -1
- package/dist/esm/helpers/background.js +6 -2
- package/dist/esm/helpers/backgroundImage.js +179 -0
- package/dist/esm/helpers/borders.js +17 -1
- package/dist/esm/helpers/compose-advance-style.js +71 -1
- package/dist/esm/helpers/filter-toolbar-preview.js +1 -0
- package/dist/esm/helpers/interaction/index.js +7 -6
- package/dist/esm/helpers/is-empty-children.js +1 -0
- package/dist/esm/helpers/layout.js +17 -1
- package/dist/esm/helpers/radius.js +13 -1
- package/dist/esm/helpers/shadow.js +28 -3
- package/dist/esm/helpers/size.js +21 -1
- package/dist/esm/helpers/third-party/appConfig.js +55 -1
- package/dist/esm/helpers/third-party/appSetting.js +187 -6
- package/dist/esm/helpers/third-party/constant.js +11 -2
- package/dist/esm/helpers/typography.js +10 -2
- package/dist/esm/hooks/animation/useAnimationActions.js +1 -0
- package/dist/esm/hooks/animation/useAnimationConfig.js +1 -0
- package/dist/esm/hooks/animation/useAnimationPreview.js +1 -0
- package/dist/esm/hooks/animation/useAnimationTarget.js +1 -0
- package/dist/esm/hooks/animation/useApplyAnimation.js +1 -0
- package/dist/esm/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/esm/hooks/cart/use-add-to-cart.js +1 -0
- package/dist/esm/hooks/cart/use-cart-data.js +1 -0
- package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +1 -0
- package/dist/esm/hooks/cart/use-cart-note-update.js +1 -0
- package/dist/esm/hooks/cart/use-create-cart.js +1 -0
- package/dist/esm/hooks/cart/use-remove-cart-item.js +1 -0
- package/dist/esm/hooks/cart/use-update-cart-item.js +1 -0
- package/dist/esm/hooks/shop/use-collection-query.js +1 -0
- package/dist/esm/hooks/shop/use-collections-query.js +1 -0
- package/dist/esm/hooks/shop/use-product-query.js +1 -0
- package/dist/esm/hooks/shop/use-products-query.js +1 -0
- package/dist/esm/hooks/shop/useShopifyLink.js +45 -0
- package/dist/esm/hooks/shop.js +10 -1
- package/dist/esm/hooks/use-current-device.js +2 -1
- package/dist/esm/hooks/use-lazy-video.js +1 -0
- package/dist/esm/hooks/useAnimations.js +1 -0
- package/dist/esm/hooks/useCartId.js +1 -0
- package/dist/esm/hooks/useCartLine.js +1 -0
- package/dist/esm/hooks/useCartUI.js +1 -0
- package/dist/esm/hooks/useCollection.js +1 -0
- package/dist/esm/hooks/useFetchHandle.js +1 -0
- package/dist/esm/hooks/useFormatMoney.js +1 -0
- package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/esm/hooks/useInteraction.js +1 -0
- package/dist/esm/hooks/useIsomorphicLayoutEffect.js +1 -0
- package/dist/esm/hooks/useLoadScript.js +1 -0
- package/dist/esm/hooks/useMoney.js +1 -0
- package/dist/esm/hooks/usePrevious.js +1 -0
- package/dist/esm/hooks/useProduct.js +18 -1
- package/dist/esm/hooks/useProductList.js +1 -0
- package/dist/esm/hooks/useSuspenseFetch.js +1 -0
- package/dist/esm/hooks/useSwatchesOptions.js +1 -0
- package/dist/esm/hooks/useToolbarPostPurchase.js +1 -0
- package/dist/esm/index.js +11 -8
- package/dist/types/index.d.ts +728 -253
- package/package.json +4 -4
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var makeStyle = require('./make-style.js');
|
|
4
|
+
|
|
5
|
+
const getStyleBackgroundImageByDevice = (backgroundImage, options)=>{
|
|
6
|
+
if (!backgroundImage) {
|
|
7
|
+
return {};
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
...!options?.ignoreBackgroundImage ? {
|
|
11
|
+
...getStyleBgImageSource(backgroundImage, options)
|
|
12
|
+
} : {},
|
|
13
|
+
...!options?.ignoreBackgroundImageProperties ? {
|
|
14
|
+
...getStyleBgImagePosition(backgroundImage),
|
|
15
|
+
...getStyleBgImageSize(backgroundImage),
|
|
16
|
+
...getStyleBgImageRepeat(backgroundImage)
|
|
17
|
+
} : {},
|
|
18
|
+
...!options?.ignoreBgAttachment ? getStyleBgImageAttachment(backgroundImage) : {}
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const getStyleBgImageSource = (backgroundImage, options)=>{
|
|
22
|
+
const bgImage = {
|
|
23
|
+
desktop: {
|
|
24
|
+
normal: getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
|
|
25
|
+
hover: getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
|
|
26
|
+
},
|
|
27
|
+
tablet: {
|
|
28
|
+
normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options),
|
|
29
|
+
hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options)
|
|
30
|
+
},
|
|
31
|
+
mobile: {
|
|
32
|
+
normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options),
|
|
33
|
+
hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options)
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
return makeStyle.makeStyleResponsiveState('bgi', bgImage);
|
|
37
|
+
};
|
|
38
|
+
const getBgImageSourceByDevice = (backgroundImage, device, state, options)=>{
|
|
39
|
+
const stateValue = backgroundImage?.[device]?.[state];
|
|
40
|
+
if (!stateValue?.image?.src) return;
|
|
41
|
+
const backupFileKey = stateValue.image.backupFileKey;
|
|
42
|
+
const storage = stateValue.image.storage;
|
|
43
|
+
let imageByDevice = stateValue.image.src;
|
|
44
|
+
let newBackupFilekey = backupFileKey;
|
|
45
|
+
const shopifyHandleName = imageByDevice?.match(// eslint-disable-next-line
|
|
46
|
+
/\/files\/([^\/]+\.(jpg|jpeg|gif|png|webp|svg))/)?.[1];
|
|
47
|
+
if (backupFileKey && shopifyHandleName && shopifyHandleName !== backupFileKey) {
|
|
48
|
+
newBackupFilekey = shopifyHandleName;
|
|
49
|
+
}
|
|
50
|
+
if (storage === 'FILE_CONTENT') {
|
|
51
|
+
if (options?.liquid && newBackupFilekey) {
|
|
52
|
+
imageByDevice = `{{ "${newBackupFilekey.replace('.jpeg', '.jpg')}" | file_url }}`;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
if (storage === 'THEME' || !storage) {
|
|
56
|
+
if (options?.liquid && newBackupFilekey) {
|
|
57
|
+
imageByDevice = `{{ "${newBackupFilekey}" | asset_url }}`;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return imageByDevice ? `url(${imageByDevice})` : 'none';
|
|
61
|
+
};
|
|
62
|
+
const getStyleBgImagePosition = (backgroundImage)=>{
|
|
63
|
+
const bgPosition = {
|
|
64
|
+
desktop: {
|
|
65
|
+
normal: getBgImagePositionByDevice(backgroundImage, 'desktop', 'normal'),
|
|
66
|
+
hover: getBgImagePositionByDevice(backgroundImage, 'desktop', 'hover')
|
|
67
|
+
},
|
|
68
|
+
tablet: {
|
|
69
|
+
normal: getBgImagePositionByDevice(backgroundImage, 'tablet', 'normal'),
|
|
70
|
+
hover: getBgImagePositionByDevice(backgroundImage, 'tablet', 'hover')
|
|
71
|
+
},
|
|
72
|
+
mobile: {
|
|
73
|
+
normal: getBgImagePositionByDevice(backgroundImage, 'mobile', 'normal'),
|
|
74
|
+
hover: getBgImagePositionByDevice(backgroundImage, 'mobile', 'hover')
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
return makeStyle.makeStyleResponsiveState('bgp', bgPosition);
|
|
78
|
+
};
|
|
79
|
+
const getBgImagePositionByDevice = (backgroundImage, device, state)=>{
|
|
80
|
+
const position = backgroundImage?.[device]?.[state]?.position;
|
|
81
|
+
return position && `${position.x}% ${position.y}%`;
|
|
82
|
+
};
|
|
83
|
+
const getStyleBgImageSize = (backgroundImage)=>{
|
|
84
|
+
const bgSize = {
|
|
85
|
+
desktop: {
|
|
86
|
+
normal: getBgImageSizeByDevice(backgroundImage, 'desktop', 'normal'),
|
|
87
|
+
hover: getBgImageSizeByDevice(backgroundImage, 'desktop', 'hover')
|
|
88
|
+
},
|
|
89
|
+
tablet: {
|
|
90
|
+
normal: getBgImageSizeByDevice(backgroundImage, 'tablet', 'normal'),
|
|
91
|
+
hover: getBgImageSizeByDevice(backgroundImage, 'tablet', 'hover')
|
|
92
|
+
},
|
|
93
|
+
mobile: {
|
|
94
|
+
normal: getBgImageSizeByDevice(backgroundImage, 'mobile', 'normal'),
|
|
95
|
+
hover: getBgImageSizeByDevice(backgroundImage, 'mobile', 'hover')
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
return makeStyle.makeStyleResponsiveState('bgs', bgSize);
|
|
99
|
+
};
|
|
100
|
+
const getBgImageSizeByDevice = (backgroundImage, device, state)=>{
|
|
101
|
+
return backgroundImage?.[device]?.[state]?.size;
|
|
102
|
+
};
|
|
103
|
+
const getStyleBgImageRepeat = (backgroundImage)=>{
|
|
104
|
+
const bgRepeat = {
|
|
105
|
+
desktop: {
|
|
106
|
+
normal: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'normal'),
|
|
107
|
+
hover: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'hover')
|
|
108
|
+
},
|
|
109
|
+
tablet: {
|
|
110
|
+
normal: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'normal'),
|
|
111
|
+
hover: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'hover')
|
|
112
|
+
},
|
|
113
|
+
mobile: {
|
|
114
|
+
normal: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'normal'),
|
|
115
|
+
hover: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'hover')
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
return makeStyle.makeStyleResponsiveState('bgr', bgRepeat);
|
|
119
|
+
};
|
|
120
|
+
const getBgImageRepeatByDevice = (backgroundImage, device, state)=>{
|
|
121
|
+
return backgroundImage?.[device]?.[state]?.repeat;
|
|
122
|
+
};
|
|
123
|
+
const getStyleBgImageAttachment = (backgroundImage)=>{
|
|
124
|
+
const bgAttachment = {
|
|
125
|
+
desktop: {
|
|
126
|
+
normal: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'normal'),
|
|
127
|
+
hover: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'hover')
|
|
128
|
+
},
|
|
129
|
+
tablet: {
|
|
130
|
+
normal: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'normal'),
|
|
131
|
+
hover: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'hover')
|
|
132
|
+
},
|
|
133
|
+
mobile: {
|
|
134
|
+
normal: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'normal'),
|
|
135
|
+
hover: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'hover')
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
return makeStyle.makeStyleResponsiveState('bga', bgAttachment);
|
|
139
|
+
};
|
|
140
|
+
const getBgImageAttachmentByDevice = (backgroundImage, device, state)=>{
|
|
141
|
+
return backgroundImage?.[device]?.[state]?.attachment;
|
|
142
|
+
};
|
|
143
|
+
const composeBackgroundImageCss = (config, options = {})=>{
|
|
144
|
+
if (!config) return undefined;
|
|
145
|
+
const { device = 'desktop', state = 'normal', useLiquid = false } = options;
|
|
146
|
+
const styles = [];
|
|
147
|
+
const bgConfig = config?.[device]?.[state];
|
|
148
|
+
if (!bgConfig) return '';
|
|
149
|
+
// Handle background image source
|
|
150
|
+
if (bgConfig.image?.src) {
|
|
151
|
+
let imageUrl = bgConfig.image.src;
|
|
152
|
+
// Handle Shopify liquid transformations if needed
|
|
153
|
+
if (useLiquid && bgConfig.image.backupFileKey) {
|
|
154
|
+
if (bgConfig.image.storage === 'FILE_CONTENT') {
|
|
155
|
+
imageUrl = `{{ "${bgConfig.image.backupFileKey.replace('.jpeg', '.jpg')}" | file_url }}`;
|
|
156
|
+
} else if (bgConfig.image.storage === 'THEME' || !bgConfig.image.storage) {
|
|
157
|
+
imageUrl = `{{ "${bgConfig.image.backupFileKey}" | asset_url }}`;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
styles.push(`background-image: url(${imageUrl});`);
|
|
161
|
+
}
|
|
162
|
+
// Handle position
|
|
163
|
+
if (bgConfig.position) {
|
|
164
|
+
styles.push(`background-position: ${bgConfig.position.x}% ${bgConfig.position.y}%;`);
|
|
165
|
+
}
|
|
166
|
+
// Handle size
|
|
167
|
+
if (bgConfig.size) {
|
|
168
|
+
styles.push(`background-size: ${bgConfig.size};`);
|
|
169
|
+
}
|
|
170
|
+
// Handle repeat
|
|
171
|
+
if (bgConfig.repeat) {
|
|
172
|
+
styles.push(`background-repeat: ${bgConfig.repeat};`);
|
|
173
|
+
}
|
|
174
|
+
// Handle attachment
|
|
175
|
+
if (bgConfig.attachment) {
|
|
176
|
+
styles.push(`background-attachment: ${bgConfig.attachment};`);
|
|
177
|
+
}
|
|
178
|
+
return styles.join('\n ');
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
exports.composeBackgroundImageCss = composeBackgroundImageCss;
|
|
182
|
+
exports.getBgImageSourceByDevice = getBgImageSourceByDevice;
|
|
183
|
+
exports.getStyleBackgroundImageByDevice = getStyleBackgroundImageByDevice;
|
|
184
|
+
exports.getStyleBgImageSource = getStyleBgImageSource;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var colors = require('./colors.js');
|
|
4
4
|
var makeStyle = require('./make-style.js');
|
|
5
|
+
var constant = require('./constant.js');
|
|
5
6
|
|
|
6
7
|
const getBorderStyle = (value)=>{
|
|
7
8
|
return makeStyle.makeStyle({
|
|
@@ -187,8 +188,24 @@ const composeBorderCss = (borderV)=>{
|
|
|
187
188
|
${color ? `border-color: ${colors.getSingleColorVariable(color)};` : ''}
|
|
188
189
|
`;
|
|
189
190
|
};
|
|
191
|
+
const composeBorderResponsive = (borderValue)=>{
|
|
192
|
+
const style = {};
|
|
193
|
+
Object.assign(style, composeBorderDevice(borderValue?.desktop, 'desktop'));
|
|
194
|
+
Object.assign(style, composeBorderDevice(borderValue?.tablet, 'tablet'));
|
|
195
|
+
Object.assign(style, composeBorderDevice(borderValue?.mobile, 'mobile'));
|
|
196
|
+
return style;
|
|
197
|
+
};
|
|
198
|
+
const composeBorderDevice = (value, device)=>{
|
|
199
|
+
const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
|
|
200
|
+
return {
|
|
201
|
+
[`--b${suffix}`]: value?.border,
|
|
202
|
+
[`--bc${suffix}`]: colors.getSingleColorVariable(value?.color),
|
|
203
|
+
[`--bw${suffix}`]: value?.width
|
|
204
|
+
};
|
|
205
|
+
};
|
|
190
206
|
|
|
191
207
|
exports.composeBorderCss = composeBorderCss;
|
|
208
|
+
exports.composeBorderResponsive = composeBorderResponsive;
|
|
192
209
|
exports.getBorderRadiusStyle = getBorderRadiusStyle;
|
|
193
210
|
exports.getBorderStyle = getBorderStyle;
|
|
194
211
|
exports.handleConvertBorderColor = handleConvertBorderColor;
|
|
@@ -112,7 +112,77 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
112
112
|
Object.assign(styles, radius.composeRadius(value));
|
|
113
113
|
}
|
|
114
114
|
if (attr === 'boxShadow') {
|
|
115
|
-
|
|
115
|
+
const baseElements = [
|
|
116
|
+
'Section',
|
|
117
|
+
'Row',
|
|
118
|
+
'Text',
|
|
119
|
+
'Heading',
|
|
120
|
+
'Image',
|
|
121
|
+
'Button',
|
|
122
|
+
'HeroBanner',
|
|
123
|
+
'ImageComparison',
|
|
124
|
+
'Countdown',
|
|
125
|
+
'Video'
|
|
126
|
+
];
|
|
127
|
+
const productElements = [
|
|
128
|
+
'ProductTitle',
|
|
129
|
+
'ProductDescription',
|
|
130
|
+
'ProductPrice',
|
|
131
|
+
'ProductVendor',
|
|
132
|
+
'Product',
|
|
133
|
+
'ProductSku',
|
|
134
|
+
'StockCounter',
|
|
135
|
+
'Sticky',
|
|
136
|
+
'ProductBadge',
|
|
137
|
+
'ProductViewMore',
|
|
138
|
+
'ProductButton',
|
|
139
|
+
'DynamicCheckout'
|
|
140
|
+
];
|
|
141
|
+
const boostElements = [
|
|
142
|
+
'Icon',
|
|
143
|
+
'IconListHoz',
|
|
144
|
+
'Line',
|
|
145
|
+
'IconList',
|
|
146
|
+
'IconListV2',
|
|
147
|
+
'Tabs',
|
|
148
|
+
'Accordion',
|
|
149
|
+
'Marquee',
|
|
150
|
+
'Breadcrumb',
|
|
151
|
+
'EstimateDate'
|
|
152
|
+
];
|
|
153
|
+
const formElements = [
|
|
154
|
+
'Newsletter',
|
|
155
|
+
'ContactForm',
|
|
156
|
+
'TextField',
|
|
157
|
+
'FormTextarea',
|
|
158
|
+
'FormEmail',
|
|
159
|
+
'FormDropdown',
|
|
160
|
+
'FormCheckbox',
|
|
161
|
+
'SubmitButton'
|
|
162
|
+
];
|
|
163
|
+
const collectionElements = [
|
|
164
|
+
'CollectionTitle',
|
|
165
|
+
'CollectionDescription',
|
|
166
|
+
'CollectionBanner',
|
|
167
|
+
'CollectionToolbar',
|
|
168
|
+
'CollectionPaginator'
|
|
169
|
+
];
|
|
170
|
+
const listElementShadowV2 = [
|
|
171
|
+
...baseElements,
|
|
172
|
+
...productElements,
|
|
173
|
+
...boostElements,
|
|
174
|
+
...formElements,
|
|
175
|
+
...collectionElements
|
|
176
|
+
];
|
|
177
|
+
let hasBoxShadowV2 = hasBoxShadow;
|
|
178
|
+
if (listElementShadowV2.includes(tag || '')) {
|
|
179
|
+
hasBoxShadowV2 = {
|
|
180
|
+
desktop: value.desktop ?? {},
|
|
181
|
+
tablet: value.tablet ?? value.desktop ?? {},
|
|
182
|
+
mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
Object.assign(styles, shadow.getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadowV2 ?? hasBoxShadow));
|
|
116
186
|
}
|
|
117
187
|
const styleValue = getAttrValue(attr, deviceValue, tag);
|
|
118
188
|
if (composeAttr === 'desktop') {
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
var react = require('react');
|
|
4
5
|
require('react/jsx-runtime');
|
|
5
6
|
require('zustand');
|
|
6
7
|
var PageContext = require('../../contexts/PageContext.js');
|
|
7
|
-
require('react-transition-group');
|
|
8
|
-
require('@gem-sdk/core');
|
|
9
8
|
require('swr');
|
|
10
|
-
require('swr/infinite');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('dayjs');
|
|
13
|
-
require('../convert.js');
|
|
14
9
|
require('@gem-sdk/adapter-shopify');
|
|
15
10
|
require('swr/mutation');
|
|
11
|
+
require('swr/infinite');
|
|
16
12
|
require('vanilla-lazyload');
|
|
17
13
|
require('../../hooks/useCartUI.js');
|
|
14
|
+
require('react-transition-group');
|
|
15
|
+
require('@gem-sdk/core');
|
|
16
|
+
require('classnames');
|
|
17
|
+
require('dayjs');
|
|
18
|
+
require('../convert.js');
|
|
18
19
|
|
|
19
20
|
const useInteraction = ()=>{
|
|
20
21
|
const ref = react.useRef();
|
|
@@ -52,8 +52,25 @@ const convertOldLayout = (layout)=>{
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
const getLayoutClasses = (layout)=>{
|
|
56
|
+
const breakpoints = [
|
|
57
|
+
'desktop',
|
|
58
|
+
'tablet',
|
|
59
|
+
'mobile'
|
|
60
|
+
];
|
|
61
|
+
return breakpoints.reduce((classes, bp)=>{
|
|
62
|
+
const prefix = bp === 'desktop' ? '' : `${bp}:`;
|
|
63
|
+
const layoutValue = layout?.[bp];
|
|
64
|
+
if (layoutValue) {
|
|
65
|
+
classes[`${prefix}gp-flex-col`] = layoutValue === 'vertical';
|
|
66
|
+
classes[`${prefix}gp-flex-row`] = layoutValue === 'horizontal';
|
|
67
|
+
}
|
|
68
|
+
return classes;
|
|
69
|
+
}, {});
|
|
70
|
+
};
|
|
55
71
|
|
|
56
72
|
exports.composeGridLayout = composeGridLayout;
|
|
57
73
|
exports.convertOldLayout = convertOldLayout;
|
|
74
|
+
exports.getLayoutClasses = getLayoutClasses;
|
|
58
75
|
exports.gridToArrayRegex = gridToArrayRegex;
|
|
59
76
|
exports.optionLayoutStyle = optionLayoutStyle;
|
|
@@ -27,7 +27,15 @@ const getRadiusCSSFromGlobal = (state, key, device)=>{
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
const getCustomRadius = (state, radius, device)=>{
|
|
30
|
-
|
|
30
|
+
const list = [
|
|
31
|
+
'custom',
|
|
32
|
+
'pill',
|
|
33
|
+
'rounded',
|
|
34
|
+
'single',
|
|
35
|
+
'none',
|
|
36
|
+
'circle'
|
|
37
|
+
];
|
|
38
|
+
if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
|
|
31
39
|
const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
|
|
32
40
|
const mState = constant.stateMapping?.[state];
|
|
33
41
|
return {
|
|
@@ -62,6 +70,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
62
70
|
case 'circle':
|
|
63
71
|
case 'none':
|
|
64
72
|
case 'custom':
|
|
73
|
+
case 'rounded':
|
|
65
74
|
Object.assign(style, getCustomRadius('normal', radiusValue.normal, device));
|
|
66
75
|
break;
|
|
67
76
|
}
|
|
@@ -74,6 +83,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
74
83
|
case 'circle':
|
|
75
84
|
case 'none':
|
|
76
85
|
case 'custom':
|
|
86
|
+
case 'rounded':
|
|
77
87
|
Object.assign(style, getCustomRadius('hover', radiusValue.hover, device));
|
|
78
88
|
break;
|
|
79
89
|
}
|
|
@@ -86,6 +96,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
86
96
|
case 'circle':
|
|
87
97
|
case 'none':
|
|
88
98
|
case 'custom':
|
|
99
|
+
case 'rounded':
|
|
89
100
|
Object.assign(style, getCustomRadius('focus', radiusValue.focus, device));
|
|
90
101
|
break;
|
|
91
102
|
}
|
|
@@ -119,6 +130,7 @@ const composeCornerCss = (value, important = false)=>{
|
|
|
119
130
|
break;
|
|
120
131
|
case 'circle':
|
|
121
132
|
case 'none':
|
|
133
|
+
case 'rounded':
|
|
122
134
|
case 'custom':
|
|
123
135
|
radiusValue = `
|
|
124
136
|
${bblr ? `border-bottom-left-radius: ${bblr}${sub};` : ''}
|
|
@@ -24,10 +24,11 @@ const getStyleShadow = (shadowStyle, isActiveState = false)=>{
|
|
|
24
24
|
let { state } = shadowStyle || {};
|
|
25
25
|
if (!state) state = 'normal';
|
|
26
26
|
if (!styleAppliedFor || !value) return {};
|
|
27
|
-
|
|
27
|
+
const isNoneValue = value.type === 'none';
|
|
28
|
+
if (typeof value.distance == 'undefined' && !isNoneValue) return {};
|
|
28
29
|
const { value: distance, unit: unitDistance } = parseValueWithUnit(`${value?.distance}`);
|
|
29
30
|
return {
|
|
30
|
-
[`-${!isActiveState ? constant.stateMapping?.[state] || '' : ''}-${getShortname.getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${colors.getSingleColorVariable(value?.color)}` : 'none'
|
|
31
|
+
[`-${!isActiveState ? constant.stateMapping?.[state] || '' : ''}-${getShortname.getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow && !isNoneValue ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${colors.getSingleColorVariable(value?.color)}` : 'none'
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
const getStyleShadowState = (shadow, styleAppliedFor, isEnableShadow, screen)=>{
|
|
@@ -54,6 +55,30 @@ const getResponsiveStyleShadow = (value, styleAppliedFor, isEnableShadow)=>{
|
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
};
|
|
58
|
+
const getResponsiveStyleShadowWithoutState = (value, styleAppliedFor, isEnableShadow)=>{
|
|
59
|
+
if (!value) return undefined;
|
|
60
|
+
if ('desktop' in value || 'tablet' in value || 'mobile' in value) {
|
|
61
|
+
return {
|
|
62
|
+
...getStyleShadow({
|
|
63
|
+
value: value.desktop,
|
|
64
|
+
styleAppliedFor,
|
|
65
|
+
isEnableShadow: isEnableShadow.desktop
|
|
66
|
+
}),
|
|
67
|
+
...value.tablet && (isEnableShadow.tablet ?? isEnableShadow.desktop) ? getStyleShadow({
|
|
68
|
+
value: value.tablet,
|
|
69
|
+
styleAppliedFor,
|
|
70
|
+
isEnableShadow: isEnableShadow.tablet ?? isEnableShadow.desktop,
|
|
71
|
+
screen: 'tablet'
|
|
72
|
+
}) : undefined,
|
|
73
|
+
...value.mobile && (isEnableShadow.mobile ?? isEnableShadow.tablet ?? isEnableShadow.desktop) ? getStyleShadow({
|
|
74
|
+
value: value.mobile,
|
|
75
|
+
styleAppliedFor,
|
|
76
|
+
isEnableShadow: isEnableShadow.mobile ?? isEnableShadow.tablet ?? isEnableShadow.desktop,
|
|
77
|
+
screen: 'mobile'
|
|
78
|
+
}) : undefined
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
};
|
|
57
82
|
const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
58
83
|
if (!hasBoxShadow) return undefined;
|
|
59
84
|
if (!boxShadowValue) return undefined;
|
|
@@ -64,6 +89,7 @@ const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
|
64
89
|
|
|
65
90
|
exports.composeShadowCss = composeShadowCss;
|
|
66
91
|
exports.getResponsiveStyleShadow = getResponsiveStyleShadow;
|
|
92
|
+
exports.getResponsiveStyleShadowWithoutState = getResponsiveStyleShadowWithoutState;
|
|
67
93
|
exports.getStyleShadow = getStyleShadow;
|
|
68
94
|
exports.getStyleShadowState = getStyleShadowState;
|
|
69
95
|
exports.parseValueWithUnit = parseValueWithUnit;
|
package/dist/cjs/helpers/size.js
CHANGED
|
@@ -190,6 +190,26 @@ const getPaddingGlobalSize = (globalSize)=>{
|
|
|
190
190
|
const getValueByDevice = (value, device)=>{
|
|
191
191
|
return value?.[device] === undefined ? value?.desktop === undefined ? value?.tablet : value?.desktop : value?.[device];
|
|
192
192
|
};
|
|
193
|
+
const getPaddingStyleByDevice = (value, device)=>{
|
|
194
|
+
if (!value) return {};
|
|
195
|
+
const suffix = constant.devicesMapping[device || ''] ?? '';
|
|
196
|
+
return {
|
|
197
|
+
[`--pl${suffix}`]: value?.left,
|
|
198
|
+
[`--pr${suffix}`]: value?.right,
|
|
199
|
+
[`--pt${suffix}`]: value?.top,
|
|
200
|
+
[`--pb${suffix}`]: value?.bottom
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
const getResponsiveStylePadding = (value)=>{
|
|
204
|
+
if (!value) return undefined;
|
|
205
|
+
if ('desktop' in value || 'tablet' in value || 'mobile' in value) {
|
|
206
|
+
return {
|
|
207
|
+
...getPaddingStyleByDevice(value?.desktop),
|
|
208
|
+
...getPaddingStyleByDevice(value?.tablet, 'tablet'),
|
|
209
|
+
...getPaddingStyleByDevice(value?.mobile, 'mobile')
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
};
|
|
193
213
|
|
|
194
214
|
exports.composeSize = composeSize;
|
|
195
215
|
exports.composeSizeCss = composeSizeCss;
|
|
@@ -198,6 +218,8 @@ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
|
|
|
198
218
|
exports.getGlobalSizeGap = getGlobalSizeGap;
|
|
199
219
|
exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
|
|
200
220
|
exports.getPaddingGlobalSize = getPaddingGlobalSize;
|
|
221
|
+
exports.getPaddingStyleByDevice = getPaddingStyleByDevice;
|
|
222
|
+
exports.getResponsiveStylePadding = getResponsiveStylePadding;
|
|
201
223
|
exports.getValueByDevice = getValueByDevice;
|
|
202
224
|
exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
|
|
203
225
|
exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
|
|
@@ -186,6 +186,24 @@ const KachingBundlesConfig = {
|
|
|
186
186
|
appId: '6c637362-a106-4a32-94ac-94dcfd68cdb8'
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
|
+
const BestBuyFulfillmentConfig = {
|
|
190
|
+
BestBuyFulfillment: {
|
|
191
|
+
appName: 'best-buy-fulfillment',
|
|
192
|
+
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const AftershipEmailMarketingsmsConfig = {
|
|
196
|
+
AftershipEmailMarketingsms: {
|
|
197
|
+
appName: 'aftership-email-marketing-sms',
|
|
198
|
+
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
const SegunoEmailMarketingConfig = {
|
|
202
|
+
SegunoEmailMarketing: {
|
|
203
|
+
appName: 'seguno-email',
|
|
204
|
+
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
205
|
+
}
|
|
206
|
+
};
|
|
189
207
|
const TrustooConfig = {
|
|
190
208
|
Trustoo: {
|
|
191
209
|
appName: 'trustoo-io-reviews',
|
|
@@ -198,8 +216,46 @@ const LooxReviewsConfig = {
|
|
|
198
216
|
appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
|
|
199
217
|
}
|
|
200
218
|
};
|
|
219
|
+
const SeoantTrustBadgesIconConfig = {
|
|
220
|
+
SeoantTrustBadgesIcon: {
|
|
221
|
+
appName: 'seoant-trust-badges',
|
|
222
|
+
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
const PowrContactFormBuilderConfig = {
|
|
226
|
+
PowrContactFormBuilder: {
|
|
227
|
+
appName: 'powr-form-builder',
|
|
228
|
+
appId: '1412fe37-d89c-4706-a797-6e2b53cb4a69'
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
const MyappgurusProductReviewsConfig = {
|
|
232
|
+
MyappgurusProductReviews: {
|
|
233
|
+
appName: 'mag-product-reviews',
|
|
234
|
+
appId: '0cf5caa0-e138-46b8-999b-520d16633e4c'
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
const TrustreviewsProductReviewsConfig = {
|
|
238
|
+
TrustreviewsProductReviews: {
|
|
239
|
+
appName: 'trustreviews',
|
|
240
|
+
appId: '56d0fe1b-e701-4cff-8f84-466a26e09adb'
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
const HulkProductOptionsConfig = {
|
|
244
|
+
HulkProductOptions: {
|
|
245
|
+
appName: 'hulk-product-options',
|
|
246
|
+
appId: '380168ef-9475-4244-a291-f66b189208b5'
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
const TrustshopProductReviewsConfig = {
|
|
250
|
+
TrustshopProductReviews: {
|
|
251
|
+
appName: 'trustshop-reviews',
|
|
252
|
+
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
253
|
+
}
|
|
254
|
+
};
|
|
201
255
|
|
|
256
|
+
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
202
257
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
258
|
+
exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
203
259
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
204
260
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
205
261
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
@@ -207,6 +263,7 @@ exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
|
207
263
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
208
264
|
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
209
265
|
exports.GrowaveConfig = GrowaveConfig;
|
|
266
|
+
exports.HulkProductOptionsConfig = HulkProductOptionsConfig;
|
|
210
267
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
211
268
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
212
269
|
exports.KachingBundlesConfig = KachingBundlesConfig;
|
|
@@ -214,20 +271,26 @@ exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
|
214
271
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
215
272
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
216
273
|
exports.LooxReviewsConfig = LooxReviewsConfig;
|
|
274
|
+
exports.MyappgurusProductReviewsConfig = MyappgurusProductReviewsConfig;
|
|
217
275
|
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
276
|
+
exports.PowrContactFormBuilderConfig = PowrContactFormBuilderConfig;
|
|
218
277
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
219
278
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
220
279
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
221
280
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
222
281
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
223
282
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
283
|
+
exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
224
284
|
exports.SelleasyConfig = SelleasyConfig;
|
|
285
|
+
exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
|
|
225
286
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
226
287
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
227
288
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
228
289
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
229
290
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
230
291
|
exports.TrustooConfig = TrustooConfig;
|
|
292
|
+
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
293
|
+
exports.TrustshopProductReviewsConfig = TrustshopProductReviewsConfig;
|
|
231
294
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
232
295
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
233
296
|
exports.WishlistKingConfig = WishlistKingConfig;
|