@gem-sdk/components 2.0.0-dev.365 → 2.0.0-dev.368
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/builder.js +104 -102
- package/dist/cjs/code/setting/config/uiV2.js +8 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.liquid.js +2 -0
- package/dist/cjs/sticky/components/Sticky.js +18 -113
- package/dist/cjs/sticky/components/Sticky.liquid.js +18 -51
- package/dist/cjs/sticky/components/common/styles.js +42 -0
- package/dist/cjs/sticky/components/hooks/useSticky.js +119 -0
- package/dist/cjs/sticky/index.js +1 -0
- package/dist/cjs/third-party/components/EcomsendBackInStockAlert.js +33 -0
- package/dist/cjs/third-party/components/EcomsendBackInStockAlert.liquid.js +12 -0
- package/dist/cjs/third-party/configs/EcomsendBackInStockAlert.js +12 -0
- package/dist/cjs/third-party/index.js +3 -1
- package/dist/cjs/third-party/next.js +5 -0
- package/dist/cjs/third-party/setting/EcomsendBackInStockAlert.js +133 -0
- package/dist/esm/builder.js +104 -102
- package/dist/esm/code/setting/config/uiV2.js +8 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.liquid.js +1 -0
- package/dist/esm/sticky/components/Sticky.js +19 -114
- package/dist/esm/sticky/components/Sticky.liquid.js +19 -52
- package/dist/esm/sticky/components/common/styles.js +40 -0
- package/dist/esm/sticky/components/hooks/useSticky.js +114 -0
- package/dist/esm/sticky/index.js +1 -0
- package/dist/esm/third-party/components/EcomsendBackInStockAlert.js +29 -0
- package/dist/esm/third-party/components/EcomsendBackInStockAlert.liquid.js +8 -0
- package/dist/esm/third-party/configs/EcomsendBackInStockAlert.js +8 -0
- package/dist/esm/third-party/index.js +3 -1
- package/dist/esm/third-party/next.js +5 -0
- package/dist/esm/third-party/setting/EcomsendBackInStockAlert.js +129 -0
- package/dist/types/index.d.ts +18 -1
- package/package.json +2 -2
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var core = require('@gem-sdk/core');
|
|
6
|
+
var helpers = require('../../../grid/row/commons/helpers.js');
|
|
7
|
+
var React = require('react');
|
|
8
|
+
|
|
9
|
+
const minimizeSvg = ` <svg
|
|
10
|
+
className="gp-ml-[7px]"
|
|
11
|
+
width="16"
|
|
12
|
+
height="16"
|
|
13
|
+
viewBox="0 0 16 16"
|
|
14
|
+
fill="none"
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
>
|
|
17
|
+
<path
|
|
18
|
+
fillRule="evenodd"
|
|
19
|
+
clipRule="evenodd"
|
|
20
|
+
d="M5.75 1.25C4.64543 1.25 3.75 2.14543 3.75 3.25C3.75 4.35457 4.64543 5.25 5.75 5.25C6.85457 5.25 7.75 4.35457 7.75 3.25C7.75 2.14543 6.85457 1.25 5.75 1.25ZM4.75 3.25C4.75 2.69772 5.19772 2.25 5.75 2.25C6.30228 2.25 6.75 2.69772 6.75 3.25C6.75 3.80228 6.30228 4.25 5.75 4.25C5.19772 4.25 4.75 3.80228 4.75 3.25Z"
|
|
21
|
+
fill="#3C67FF"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
fillRule="evenodd"
|
|
25
|
+
clipRule="evenodd"
|
|
26
|
+
d="M5.75 6C4.64543 6 3.75 6.89543 3.75 8C3.75 9.10457 4.64543 10 5.75 10C6.85457 10 7.75 9.10457 7.75 8C7.75 6.89543 6.85457 6 5.75 6ZM4.75 8C4.75 7.44772 5.19772 7 5.75 7C6.30228 7 6.75 7.44772 6.75 8C6.75 8.55228 6.30228 9 5.75 9C5.19772 9 4.75 8.55228 4.75 8Z"
|
|
27
|
+
fill="#3C67FF"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
clipRule="evenodd"
|
|
32
|
+
d="M3.75 12.75C3.75 11.6454 4.64543 10.75 5.75 10.75C6.85457 10.75 7.75 11.6454 7.75 12.75C7.75 13.8546 6.85457 14.75 5.75 14.75C4.64543 14.75 3.75 13.8546 3.75 12.75ZM5.75 11.75C5.19772 11.75 4.75 12.1977 4.75 12.75C4.75 13.3023 5.19772 13.75 5.75 13.75C6.30228 13.75 6.75 13.3023 6.75 12.75C6.75 12.1977 6.30228 11.75 5.75 11.75Z"
|
|
33
|
+
fill="#3C67FF"
|
|
34
|
+
/>
|
|
35
|
+
<path
|
|
36
|
+
fillRule="evenodd"
|
|
37
|
+
clipRule="evenodd"
|
|
38
|
+
d="M10.25 1.25C9.14543 1.25 8.25 2.14543 8.25 3.25C8.25 4.35457 9.14543 5.25 10.25 5.25C11.3546 5.25 12.25 4.35457 12.25 3.25C12.25 2.14543 11.3546 1.25 10.25 1.25ZM9.25 3.25C9.25 2.69772 9.69772 2.25 10.25 2.25C10.8023 2.25 11.25 2.69772 11.25 3.25C11.25 3.80228 10.8023 4.25 10.25 4.25C9.69772 4.25 9.25 3.80228 9.25 3.25Z"
|
|
39
|
+
fill="#3C67FF"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
fillRule="evenodd"
|
|
43
|
+
clipRule="evenodd"
|
|
44
|
+
d="M8.25 8C8.25 6.89543 9.14543 6 10.25 6C11.3546 6 12.25 6.89543 12.25 8C12.25 9.10457 11.3546 10 10.25 10C9.14543 10 8.25 9.10457 8.25 8ZM10.25 7C9.69772 7 9.25 7.44772 9.25 8C9.25 8.55228 9.69772 9 10.25 9C10.8023 9 11.25 8.55228 11.25 8C11.25 7.44772 10.8023 7 10.25 7Z"
|
|
45
|
+
fill="#3C67FF"
|
|
46
|
+
/>
|
|
47
|
+
<path
|
|
48
|
+
fillRule="evenodd"
|
|
49
|
+
clipRule="evenodd"
|
|
50
|
+
d="M10.25 10.75C9.14543 10.75 8.25 11.6454 8.25 12.75C8.25 13.8546 9.14543 14.75 10.25 14.75C11.3546 14.75 12.25 13.8546 12.25 12.75C12.25 11.6454 11.3546 10.75 10.25 10.75ZM9.25 12.75C9.25 12.1977 9.69772 11.75 10.25 11.75C10.8023 11.75 11.25 12.1977 11.25 12.75C11.25 13.3023 10.8023 13.75 10.25 13.75C9.69772 13.75 9.25 13.3023 9.25 12.75Z"
|
|
51
|
+
fill="#3C67FF"
|
|
52
|
+
/>
|
|
53
|
+
</svg>`;
|
|
54
|
+
const useSticky = (setting)=>{
|
|
55
|
+
const { width, fullWidth, position } = setting ?? {};
|
|
56
|
+
const styleObject = helpers.createStyleObject(width, fullWidth ?? {
|
|
57
|
+
desktop: false,
|
|
58
|
+
tablet: false,
|
|
59
|
+
mobile: false
|
|
60
|
+
});
|
|
61
|
+
const w = core.makeStyleResponsive('w', styleObject.content);
|
|
62
|
+
const sidebarMode = core.usePageStore((s)=>s.sidebarMode === 'interaction');
|
|
63
|
+
const currentDevice = core.useCurrentDevice();
|
|
64
|
+
const getCSSPosition = (position)=>{
|
|
65
|
+
return position == 'top' ? 'sticky' : 'fixed';
|
|
66
|
+
};
|
|
67
|
+
const getCSSAlignByDevice = (position, device)=>{
|
|
68
|
+
return {
|
|
69
|
+
[`--left${device}`]: position == 'top' ? '0' : '50%',
|
|
70
|
+
[`--t${device}`]: position == 'top' ? 'unset' : 'translateX(-50%)'
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
const getCSSAlign = ()=>{
|
|
74
|
+
return {
|
|
75
|
+
...getCSSAlignByDevice(position?.desktop, ''),
|
|
76
|
+
...getCSSAlignByDevice(position?.tablet ?? position?.desktop, '-tablet'),
|
|
77
|
+
...getCSSAlignByDevice(position?.mobile ?? position?.desktop, '-mobile')
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
const gap = React.useMemo(()=>{
|
|
81
|
+
if (sidebarMode && position?.[currentDevice] === 'top') {
|
|
82
|
+
return '40px';
|
|
83
|
+
}
|
|
84
|
+
return undefined;
|
|
85
|
+
}, [
|
|
86
|
+
currentDevice,
|
|
87
|
+
sidebarMode,
|
|
88
|
+
position
|
|
89
|
+
]);
|
|
90
|
+
const displayStyle = React.useCallback(()=>{
|
|
91
|
+
return {
|
|
92
|
+
[`--top`]: gap ?? 'auto',
|
|
93
|
+
[`--top-tablet`]: gap ?? 'auto',
|
|
94
|
+
[`--top-mobile`]: gap ?? 'auto',
|
|
95
|
+
[`--${position?.desktop}`]: gap ?? 0,
|
|
96
|
+
[`--${position?.tablet ?? position?.desktop}-tablet`]: gap ?? 0,
|
|
97
|
+
[`--${position?.mobile ?? position?.desktop}-mobile`]: gap ?? 0
|
|
98
|
+
};
|
|
99
|
+
}, [
|
|
100
|
+
gap,
|
|
101
|
+
position
|
|
102
|
+
]);
|
|
103
|
+
const positionStyle = ()=>{
|
|
104
|
+
return {
|
|
105
|
+
[`--pos`]: getCSSPosition(position?.desktop),
|
|
106
|
+
[`--pos-tablet`]: getCSSPosition(position?.tablet ?? position?.desktop),
|
|
107
|
+
[`--pos-mobile`]: getCSSPosition(position?.mobile ?? position?.desktop)
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
return {
|
|
111
|
+
w,
|
|
112
|
+
displayStyle,
|
|
113
|
+
positionStyle,
|
|
114
|
+
getCSSAlign
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
exports.default = useSticky;
|
|
119
|
+
exports.minimizeSvg = minimizeSvg;
|
package/dist/cjs/sticky/index.js
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
var core = require('@gem-sdk/core');
|
|
8
|
+
var ThirdPartyPreview = require('./ThirdPartyPreview.js');
|
|
9
|
+
var EcomsendBackInStockAlert$1 = require('../configs/EcomsendBackInStockAlert.js');
|
|
10
|
+
|
|
11
|
+
const EcomsendBackInStockAlertContent = ()=>{
|
|
12
|
+
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
13
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
14
|
+
className: "gp-p-2",
|
|
15
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
|
|
16
|
+
setting: {
|
|
17
|
+
label: 'EcomSend Back in Stock Alert',
|
|
18
|
+
iconSvg: `<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${EcomsendBackInStockAlert$1.default.logoUrl}">`
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
const EcomsendBackInStockAlert = ({ setting })=>{
|
|
25
|
+
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
26
|
+
style: {
|
|
27
|
+
...core.makeStyleResponsive('ta', setting?.align)
|
|
28
|
+
},
|
|
29
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(EcomsendBackInStockAlertContent, {})
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.default = EcomsendBackInStockAlert;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var thirdParty = require('../helpers/thirdParty.js');
|
|
6
|
+
|
|
7
|
+
const EcomsendBackInStockAlert = ({ setting, advanced })=>{
|
|
8
|
+
const { align, appBlockId } = setting ?? {};
|
|
9
|
+
return thirdParty.getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = EcomsendBackInStockAlert;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AppConfig = {
|
|
6
|
+
id: 'ecomsend-back-in-stock-alert',
|
|
7
|
+
label: 'EcomSend Back in Stock Alert',
|
|
8
|
+
logoUrl: 'https://cdn.shopify.com/app-store/listing_images/d4d2bcc6f71dda4f30b09bd429b37065/icon/CLeo2LeKhIsDEAE=.png',
|
|
9
|
+
tag: 'EcomsendBackInStockAlert'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = AppConfig;
|
|
@@ -158,6 +158,7 @@ var BfSizeChartSizeGuide$1 = require('./setting/BfSizeChartSizeGuide.js');
|
|
|
158
158
|
var AlsoBoughtCbb$1 = require('./setting/AlsoBoughtCbb.js');
|
|
159
159
|
var HextomFreeShippingBar$1 = require('./setting/HextomFreeShippingBar.js');
|
|
160
160
|
var EcoboostifyShoppableReelUgc$1 = require('./setting/EcoboostifyShoppableReelUgc.js');
|
|
161
|
+
var EcomsendBackInStockAlert$1 = require('./setting/EcomsendBackInStockAlert.js');
|
|
161
162
|
|
|
162
163
|
const thirdPartySetting = {
|
|
163
164
|
EstimatedDeliveryDatePlus: EstimatedDeliveryDatePlus$1.default,
|
|
@@ -272,7 +273,8 @@ const thirdPartySetting = {
|
|
|
272
273
|
BfSizeChartSizeGuide: BfSizeChartSizeGuide$1.default,
|
|
273
274
|
AlsoBoughtCbb: AlsoBoughtCbb$1.default,
|
|
274
275
|
HextomFreeShippingBar: HextomFreeShippingBar$1.default,
|
|
275
|
-
EcoboostifyShoppableReelUgc: EcoboostifyShoppableReelUgc$1.default
|
|
276
|
+
EcoboostifyShoppableReelUgc: EcoboostifyShoppableReelUgc$1.default,
|
|
277
|
+
EcomsendBackInStockAlert: EcomsendBackInStockAlert$1.default
|
|
276
278
|
};
|
|
277
279
|
|
|
278
280
|
exports.JudgemeReviews = JudgemeReviews.default;
|
|
@@ -8,6 +8,10 @@ require('react/jsx-runtime');
|
|
|
8
8
|
require('react');
|
|
9
9
|
require('@gem-sdk/core');
|
|
10
10
|
|
|
11
|
+
const EcomsendBackInStockAlert = dynamic(()=>Promise.resolve().then(function () { return require('./components/EcomsendBackInStockAlert.js'); }), {
|
|
12
|
+
ssr: false,
|
|
13
|
+
loading: Loading.default
|
|
14
|
+
});
|
|
11
15
|
const EstimatedDeliveryDatePlus = dynamic(()=>Promise.resolve().then(function () { return require('./components/EstimatedDeliveryDatePlus.js'); }), {
|
|
12
16
|
ssr: false,
|
|
13
17
|
loading: Loading.default
|
|
@@ -461,6 +465,7 @@ const EcoboostifyShoppableReelUgc = dynamic(()=>Promise.resolve().then(function
|
|
|
461
465
|
loading: Loading.default
|
|
462
466
|
});
|
|
463
467
|
var thirdParty = {
|
|
468
|
+
EcomsendBackInStockAlert,
|
|
464
469
|
EcoboostifyShoppableReelUgc,
|
|
465
470
|
EstimatedDeliveryDatePlus,
|
|
466
471
|
OkendoReviewsLoyalty,
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var EcomsendBackInStockAlert = require('../configs/EcomsendBackInStockAlert.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: EcomsendBackInStockAlert.default.tag,
|
|
9
|
+
label: EcomsendBackInStockAlert.default.label,
|
|
10
|
+
icon: '<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d4d2bcc6f71dda4f30b09bd429b37065/icon/CLeo2LeKhIsDEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
flowTag: [
|
|
14
|
+
'Product'
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
component: {
|
|
18
|
+
isThirdParty: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
presets: [
|
|
22
|
+
{
|
|
23
|
+
id: EcomsendBackInStockAlert.default.id,
|
|
24
|
+
name: {
|
|
25
|
+
en: EcomsendBackInStockAlert.default.label
|
|
26
|
+
},
|
|
27
|
+
hideTextContent: true,
|
|
28
|
+
icon: {
|
|
29
|
+
desktop: `<div class="w-full flex flex-col items-center">
|
|
30
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/d4d2bcc6f71dda4f30b09bd429b37065/icon/CLeo2LeKhIsDEAE=.png">
|
|
31
|
+
<span class="preset-item-title">EcomSend Back in Stock Alert</span>
|
|
32
|
+
</div>`
|
|
33
|
+
},
|
|
34
|
+
components: [
|
|
35
|
+
{
|
|
36
|
+
tag: EcomsendBackInStockAlert.default.tag
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
settings: [
|
|
42
|
+
{
|
|
43
|
+
id: 'setting',
|
|
44
|
+
controls: [
|
|
45
|
+
{
|
|
46
|
+
id: 'appBlockId',
|
|
47
|
+
type: 'input',
|
|
48
|
+
default: ''
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 'widgetType',
|
|
52
|
+
label: 'Choose widget',
|
|
53
|
+
type: 'select',
|
|
54
|
+
options: [
|
|
55
|
+
{
|
|
56
|
+
label: 'Product Restore Email',
|
|
57
|
+
value: 'product-restore-email'
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
default: 'product-restore-email'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'install',
|
|
64
|
+
type: 'open-link',
|
|
65
|
+
target: '_blank',
|
|
66
|
+
linkType: 'install',
|
|
67
|
+
href: 'https://apps.shopify.com/email-1?utm_source=gempages',
|
|
68
|
+
appName: EcomsendBackInStockAlert.default.label
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 'openApp',
|
|
72
|
+
type: 'open-link',
|
|
73
|
+
target: '_blank',
|
|
74
|
+
linkType: 'openApp',
|
|
75
|
+
href: '',
|
|
76
|
+
appName: EcomsendBackInStockAlert.default.label
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 'align',
|
|
80
|
+
label: 'Alignment',
|
|
81
|
+
type: 'segment',
|
|
82
|
+
options: [
|
|
83
|
+
{
|
|
84
|
+
label: 'Left',
|
|
85
|
+
value: 'left',
|
|
86
|
+
type: 'align'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Center',
|
|
90
|
+
value: 'center',
|
|
91
|
+
type: 'align'
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: 'Right',
|
|
95
|
+
value: 'right',
|
|
96
|
+
type: 'align'
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
devices: {
|
|
100
|
+
desktop: {
|
|
101
|
+
default: 'left'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
ui: [
|
|
109
|
+
{
|
|
110
|
+
type: 'control',
|
|
111
|
+
setting: {
|
|
112
|
+
id: 'install'
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'control',
|
|
117
|
+
setting: {
|
|
118
|
+
id: 'openApp'
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'control',
|
|
123
|
+
label: {
|
|
124
|
+
en: 'Align'
|
|
125
|
+
},
|
|
126
|
+
setting: {
|
|
127
|
+
id: 'align'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
exports.default = config;
|
package/dist/esm/builder.js
CHANGED
|
@@ -2,109 +2,8 @@
|
|
|
2
2
|
import Accordion from './accordion/components/Accordion.js';
|
|
3
3
|
import AccordionItem from './accordion/components/AccordionItem.js';
|
|
4
4
|
import './accordion/setting/configs/settings.js';
|
|
5
|
-
import ArticleList from './article/components/ArticleList.js';
|
|
6
|
-
import ArticleTitle from './article/components/ArticleTitle.js';
|
|
7
|
-
import ArticleExcerpt from './article/components/ArticleExcerpt.js';
|
|
8
|
-
import ArticleContent from './article/components/ArticleContent.js';
|
|
9
|
-
import ArticleImage from './article/components/ArticleImage.js';
|
|
10
|
-
import ArticlePagination from './article/components/ArticlePagination.js';
|
|
11
|
-
import ArticleAuthor from './article/components/ArticleAuthor.js';
|
|
12
|
-
import ArticleTag from './article/components/ArticleTag.js';
|
|
13
|
-
import ArticleCategory from './article/components/ArticleCategory.js';
|
|
14
|
-
import ArticleDate from './article/components/ArticleDate.js';
|
|
15
|
-
import ArticleReadMore from './article/components/ArticleReadMore.js';
|
|
16
|
-
import HeroBanner from './banner/components/HeroBanner.js';
|
|
17
|
-
import Breadcrumb from './breadcrumb/components/Breadcrumb.js';
|
|
18
|
-
import Button from './button/components/Button.js';
|
|
19
|
-
import Carousel from './carousel/components/Carousel.js';
|
|
20
|
-
import CarouselItem from './carousel/components/CarouselItem.js';
|
|
21
|
-
import Cart from './cart/components/Cart.js';
|
|
22
|
-
import CartList from './cart/components/CartList.js';
|
|
23
|
-
import CartLinePrice from './cart/components/CartLinePrice.js';
|
|
24
|
-
import CartLineVariant from './cart/components/CartLineVariant.js';
|
|
25
|
-
import CartLineImage from './cart/components/CartLineImage.js';
|
|
26
|
-
import CartTotalPrice from './cart/components/CartTotalPrice.js';
|
|
27
|
-
import CartTotalItem from './cart/components/CartTotalItem.js';
|
|
28
|
-
import CartCheckout from './cart/components/CartCheckout.js';
|
|
29
|
-
import DiscountInput from './cart/components/DiscountInput.js';
|
|
30
|
-
import CartDiscount from './cart/components/CartDiscount.js';
|
|
31
|
-
import CartOrderNote from './cart/components/CartOrderNote.js';
|
|
32
|
-
import CartLineAttribute from './cart/components/CartLineAttribute.js';
|
|
33
|
-
import CouponList from './cart/components/CouponList.js';
|
|
34
|
-
import ShopPayButton from './cart/components/ShopPayButton/ShopPayButton.js';
|
|
35
|
-
import CheckoutNow from './cart/components/CheckoutNow.js';
|
|
36
|
-
import CSSCode from './code/components/CSSCode.js';
|
|
37
|
-
import CollectionTitle from './collection/components/collection-title/components/CollectionTitle.js';
|
|
38
|
-
import CollectionBanner from './collection/components/collection-banner/components/CollectionBanner.js';
|
|
39
|
-
import CollectionDescription from './collection/components/collection-description/components/CollectionDescription.js';
|
|
40
|
-
import CollectionToolbar from './collection/components/collection-toolbar/components/CollectionToolbar.js';
|
|
41
|
-
import CollectionPaginator from './collection/components/collection-paginator/components/CollectionPaginator.js';
|
|
42
|
-
import Countdown from './countdown-timer/components/Countdown.js';
|
|
43
|
-
import './countdown-timer/setting/configs/settings.js';
|
|
44
|
-
import Coupon from './coupon/components/Coupon.js';
|
|
45
|
-
import Dialog from './dialog/components/Dialog.js';
|
|
46
|
-
import EstimateDate from './estimate-delivery/components/EstimateDate.js';
|
|
47
|
-
import './estimate-delivery/setting/configs/settings.js';
|
|
48
|
-
import Root from './grid/components/Root.js';
|
|
49
|
-
import Section from './grid/section/Section.js';
|
|
50
|
-
import Row from './grid/row/Row.js';
|
|
51
|
-
import Column from './grid/col/Col.js';
|
|
52
|
-
import Newsletter from './form/components/newsletter/Newsletter.js';
|
|
53
|
-
import ContactForm from './form/components/contact/Contact.js';
|
|
54
|
-
import FormEmail from './form/components/form-email/FormEmail.js';
|
|
55
|
-
import SubmitButton from './form/components/submit-button/SubmitButton.js';
|
|
56
|
-
import FormDropdown from './form/components/form-dropdown/FormDropdown.js';
|
|
57
|
-
import TextField from './form/components/textfield/TextField.js';
|
|
58
|
-
import FormTextArea from './form/components/textarea/TextArea.js';
|
|
59
|
-
import FormCheckbox from './form/components/form-checkbox/FormCheckbox.js';
|
|
60
|
-
import TextInput from './form/components/textinput/TextInput.js';
|
|
61
|
-
import './form/setting/contact/Contact.js';
|
|
62
|
-
import Header from './header/components/Header.js';
|
|
63
|
-
import BasicHeader from './header/components/kind/basic/index.js';
|
|
64
|
-
import ModernHeader from './header/components/kind/modern/index.js';
|
|
65
|
-
import MobileMenu from './header/components/kind/basic/MobileMenu.js';
|
|
66
|
-
import DesktopMenu from './header/components/kind/basic/DesktopMenu.js';
|
|
67
|
-
import Heading from './heading/Heading.js';
|
|
68
|
-
import Icon from './icon/components/Icon.js';
|
|
69
|
-
import IconList from './icon-list/components/IconList.js';
|
|
70
|
-
import IconListItem from './icon-list/components/IconListItem.js';
|
|
71
|
-
import IconListHoz from './icon-list-hoz/components/IconListHoz.js';
|
|
72
|
-
import IconListHozItem from './icon-list-hoz/components/IconListHozItem.js';
|
|
73
|
-
import IconListV2 from './icon-list-v2/components/IconList.js';
|
|
74
|
-
import './icon-list-v2/setting/configs/settings.js';
|
|
75
|
-
import Image from './image/components/Image.js';
|
|
76
|
-
import ImageComparison from './image-comparison/components/ImageComparison.js';
|
|
77
|
-
import ImageDetection from './image-detection/ImageDetection.js';
|
|
78
|
-
import Input from './input/Input.js';
|
|
79
|
-
import Line from './line/components/Line.js';
|
|
80
|
-
import Link from './link/components/Link.js';
|
|
81
|
-
import Marquee from './marquee/components/Marquee.js';
|
|
82
|
-
import MarqueeItem from './marquee/components/MarqueeItem.js';
|
|
83
|
-
import Menu from './menu/components/Menu.js';
|
|
84
|
-
import Modal from './modal/components/Modal.js';
|
|
85
|
-
import './modal/components/confirm.js';
|
|
86
|
-
import Pagination from './pagination/Pagination.js';
|
|
87
|
-
import PostPurchaseAdvancedList from './post-purchase/advanced-list/components/AdvancedListPostPurchase.js';
|
|
88
|
-
import PostPurchaseAdvancedListItem from './post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js';
|
|
89
|
-
import Button$1 from './post-purchase/button/Button.js';
|
|
90
|
-
import CalloutBox from './post-purchase/callout-banner/components/CalloutBox.js';
|
|
91
|
-
import CalloutText from './post-purchase/callout-banner/components/CalloutText.js';
|
|
92
|
-
import PostPurchaseCountdownTimer from './post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js';
|
|
93
|
-
import PostPurchaseImage from './post-purchase/image/components/Image.js';
|
|
94
|
-
import Line$1 from './post-purchase/line/components/PostPurchaseLine.js';
|
|
95
|
-
import Link$1 from './post-purchase/link/components/PostPurchaseLink.js';
|
|
96
|
-
import { PostPurchaseHeading } from './post-purchase/text/index.js';
|
|
97
|
-
import PostPurchaseProductTitle from './post-purchase/product/components/ProductTitle.js';
|
|
98
|
-
import PostPurchaseProductDescription from './post-purchase/product/components/ProductDescription.js';
|
|
99
|
-
import PostPurchaseProductPrice from './post-purchase/product/components/ProductPrice.js';
|
|
100
|
-
import PostPurchaseProductVariants from './post-purchase/product/components/product-variant/components/ProductVariant.js';
|
|
101
|
-
import PostPurchaseAcceptButton from './post-purchase/product/components/AcceptButton.js';
|
|
102
|
-
import PostPurchaseProductQuantity from './post-purchase/product/components/ProductQuantity.js';
|
|
103
|
-
import PostPurchaseProductOffer from './post-purchase/product/components/product-offer/components/ProductOffer.js';
|
|
104
|
-
import PostPurchaseProductPriceBreakdown from './post-purchase/product/components/ProductPriceBreakdown.js';
|
|
105
|
-
import PostPurchaseProductDiscountTag from './post-purchase/product/components/ProductDiscountTag.js';
|
|
106
|
-
import PostPurchaseProductImages from './post-purchase/product/components/product-image/index.js';
|
|
107
5
|
import RechargeSubscriptions from './third-party/components/RechargeSubscriptions.js';
|
|
6
|
+
import EcomsendBackInStockAlert from './third-party/components/EcomsendBackInStockAlert.js';
|
|
108
7
|
import JudgemeReviews from './third-party/components/JudgemeReviews.js';
|
|
109
8
|
import LooxReviews from './third-party/components/LooxReviews.js';
|
|
110
9
|
import Klaviyo from './third-party/components/Klaviyo.js';
|
|
@@ -217,6 +116,108 @@ import BfSizeChartSizeGuide from './third-party/components/BfSizeChartSizeGuide.
|
|
|
217
116
|
import AlsoBoughtCbb from './third-party/components/AlsoBoughtCbb.js';
|
|
218
117
|
import HextomFreeShippingBar from './third-party/components/HextomFreeShippingBar.js';
|
|
219
118
|
import EcoboostifyShoppableReelUgc from './third-party/components/EcoboostifyShoppableReelUgc.js';
|
|
119
|
+
import ArticleList from './article/components/ArticleList.js';
|
|
120
|
+
import ArticleTitle from './article/components/ArticleTitle.js';
|
|
121
|
+
import ArticleExcerpt from './article/components/ArticleExcerpt.js';
|
|
122
|
+
import ArticleContent from './article/components/ArticleContent.js';
|
|
123
|
+
import ArticleImage from './article/components/ArticleImage.js';
|
|
124
|
+
import ArticlePagination from './article/components/ArticlePagination.js';
|
|
125
|
+
import ArticleAuthor from './article/components/ArticleAuthor.js';
|
|
126
|
+
import ArticleTag from './article/components/ArticleTag.js';
|
|
127
|
+
import ArticleCategory from './article/components/ArticleCategory.js';
|
|
128
|
+
import ArticleDate from './article/components/ArticleDate.js';
|
|
129
|
+
import ArticleReadMore from './article/components/ArticleReadMore.js';
|
|
130
|
+
import HeroBanner from './banner/components/HeroBanner.js';
|
|
131
|
+
import Breadcrumb from './breadcrumb/components/Breadcrumb.js';
|
|
132
|
+
import Button from './button/components/Button.js';
|
|
133
|
+
import Carousel from './carousel/components/Carousel.js';
|
|
134
|
+
import CarouselItem from './carousel/components/CarouselItem.js';
|
|
135
|
+
import Cart from './cart/components/Cart.js';
|
|
136
|
+
import CartList from './cart/components/CartList.js';
|
|
137
|
+
import CartLinePrice from './cart/components/CartLinePrice.js';
|
|
138
|
+
import CartLineVariant from './cart/components/CartLineVariant.js';
|
|
139
|
+
import CartLineImage from './cart/components/CartLineImage.js';
|
|
140
|
+
import CartTotalPrice from './cart/components/CartTotalPrice.js';
|
|
141
|
+
import CartTotalItem from './cart/components/CartTotalItem.js';
|
|
142
|
+
import CartCheckout from './cart/components/CartCheckout.js';
|
|
143
|
+
import DiscountInput from './cart/components/DiscountInput.js';
|
|
144
|
+
import CartDiscount from './cart/components/CartDiscount.js';
|
|
145
|
+
import CartOrderNote from './cart/components/CartOrderNote.js';
|
|
146
|
+
import CartLineAttribute from './cart/components/CartLineAttribute.js';
|
|
147
|
+
import CouponList from './cart/components/CouponList.js';
|
|
148
|
+
import ShopPayButton from './cart/components/ShopPayButton/ShopPayButton.js';
|
|
149
|
+
import CheckoutNow from './cart/components/CheckoutNow.js';
|
|
150
|
+
import CSSCode from './code/components/CSSCode.js';
|
|
151
|
+
import CollectionTitle from './collection/components/collection-title/components/CollectionTitle.js';
|
|
152
|
+
import CollectionBanner from './collection/components/collection-banner/components/CollectionBanner.js';
|
|
153
|
+
import CollectionDescription from './collection/components/collection-description/components/CollectionDescription.js';
|
|
154
|
+
import CollectionToolbar from './collection/components/collection-toolbar/components/CollectionToolbar.js';
|
|
155
|
+
import CollectionPaginator from './collection/components/collection-paginator/components/CollectionPaginator.js';
|
|
156
|
+
import Countdown from './countdown-timer/components/Countdown.js';
|
|
157
|
+
import './countdown-timer/setting/configs/settings.js';
|
|
158
|
+
import Coupon from './coupon/components/Coupon.js';
|
|
159
|
+
import Dialog from './dialog/components/Dialog.js';
|
|
160
|
+
import EstimateDate from './estimate-delivery/components/EstimateDate.js';
|
|
161
|
+
import './estimate-delivery/setting/configs/settings.js';
|
|
162
|
+
import Root from './grid/components/Root.js';
|
|
163
|
+
import Section from './grid/section/Section.js';
|
|
164
|
+
import Row from './grid/row/Row.js';
|
|
165
|
+
import Column from './grid/col/Col.js';
|
|
166
|
+
import Newsletter from './form/components/newsletter/Newsletter.js';
|
|
167
|
+
import ContactForm from './form/components/contact/Contact.js';
|
|
168
|
+
import FormEmail from './form/components/form-email/FormEmail.js';
|
|
169
|
+
import SubmitButton from './form/components/submit-button/SubmitButton.js';
|
|
170
|
+
import FormDropdown from './form/components/form-dropdown/FormDropdown.js';
|
|
171
|
+
import TextField from './form/components/textfield/TextField.js';
|
|
172
|
+
import FormTextArea from './form/components/textarea/TextArea.js';
|
|
173
|
+
import FormCheckbox from './form/components/form-checkbox/FormCheckbox.js';
|
|
174
|
+
import TextInput from './form/components/textinput/TextInput.js';
|
|
175
|
+
import './form/setting/contact/Contact.js';
|
|
176
|
+
import Header from './header/components/Header.js';
|
|
177
|
+
import BasicHeader from './header/components/kind/basic/index.js';
|
|
178
|
+
import ModernHeader from './header/components/kind/modern/index.js';
|
|
179
|
+
import MobileMenu from './header/components/kind/basic/MobileMenu.js';
|
|
180
|
+
import DesktopMenu from './header/components/kind/basic/DesktopMenu.js';
|
|
181
|
+
import Heading from './heading/Heading.js';
|
|
182
|
+
import Icon from './icon/components/Icon.js';
|
|
183
|
+
import IconList from './icon-list/components/IconList.js';
|
|
184
|
+
import IconListItem from './icon-list/components/IconListItem.js';
|
|
185
|
+
import IconListHoz from './icon-list-hoz/components/IconListHoz.js';
|
|
186
|
+
import IconListHozItem from './icon-list-hoz/components/IconListHozItem.js';
|
|
187
|
+
import IconListV2 from './icon-list-v2/components/IconList.js';
|
|
188
|
+
import './icon-list-v2/setting/configs/settings.js';
|
|
189
|
+
import Image from './image/components/Image.js';
|
|
190
|
+
import ImageComparison from './image-comparison/components/ImageComparison.js';
|
|
191
|
+
import ImageDetection from './image-detection/ImageDetection.js';
|
|
192
|
+
import Input from './input/Input.js';
|
|
193
|
+
import Line from './line/components/Line.js';
|
|
194
|
+
import Link from './link/components/Link.js';
|
|
195
|
+
import Marquee from './marquee/components/Marquee.js';
|
|
196
|
+
import MarqueeItem from './marquee/components/MarqueeItem.js';
|
|
197
|
+
import Menu from './menu/components/Menu.js';
|
|
198
|
+
import Modal from './modal/components/Modal.js';
|
|
199
|
+
import './modal/components/confirm.js';
|
|
200
|
+
import Pagination from './pagination/Pagination.js';
|
|
201
|
+
import PostPurchaseAdvancedList from './post-purchase/advanced-list/components/AdvancedListPostPurchase.js';
|
|
202
|
+
import PostPurchaseAdvancedListItem from './post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js';
|
|
203
|
+
import Button$1 from './post-purchase/button/Button.js';
|
|
204
|
+
import CalloutBox from './post-purchase/callout-banner/components/CalloutBox.js';
|
|
205
|
+
import CalloutText from './post-purchase/callout-banner/components/CalloutText.js';
|
|
206
|
+
import PostPurchaseCountdownTimer from './post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js';
|
|
207
|
+
import PostPurchaseImage from './post-purchase/image/components/Image.js';
|
|
208
|
+
import Line$1 from './post-purchase/line/components/PostPurchaseLine.js';
|
|
209
|
+
import Link$1 from './post-purchase/link/components/PostPurchaseLink.js';
|
|
210
|
+
import { PostPurchaseHeading } from './post-purchase/text/index.js';
|
|
211
|
+
import PostPurchaseProductTitle from './post-purchase/product/components/ProductTitle.js';
|
|
212
|
+
import PostPurchaseProductDescription from './post-purchase/product/components/ProductDescription.js';
|
|
213
|
+
import PostPurchaseProductPrice from './post-purchase/product/components/ProductPrice.js';
|
|
214
|
+
import PostPurchaseProductVariants from './post-purchase/product/components/product-variant/components/ProductVariant.js';
|
|
215
|
+
import PostPurchaseAcceptButton from './post-purchase/product/components/AcceptButton.js';
|
|
216
|
+
import PostPurchaseProductQuantity from './post-purchase/product/components/ProductQuantity.js';
|
|
217
|
+
import PostPurchaseProductOffer from './post-purchase/product/components/product-offer/components/ProductOffer.js';
|
|
218
|
+
import PostPurchaseProductPriceBreakdown from './post-purchase/product/components/ProductPriceBreakdown.js';
|
|
219
|
+
import PostPurchaseProductDiscountTag from './post-purchase/product/components/ProductDiscountTag.js';
|
|
220
|
+
import PostPurchaseProductImages from './post-purchase/product/components/product-image/index.js';
|
|
220
221
|
import Product from './product/components/ProductWrap/Product.js';
|
|
221
222
|
import ProductTitle from './product/components/ProductTitle/index.js';
|
|
222
223
|
import ProductQuantity from './product/components/ProductQuantity/index.js';
|
|
@@ -257,6 +258,7 @@ import Sticky from './sticky/components/Sticky.js';
|
|
|
257
258
|
import Text from './post-purchase/text/components/Text.js';
|
|
258
259
|
|
|
259
260
|
var builder = {
|
|
261
|
+
EcomsendBackInStockAlert,
|
|
260
262
|
Accordion,
|
|
261
263
|
AccordionItem,
|
|
262
264
|
ArticleList,
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const SettingUIV2 = [
|
|
2
2
|
{
|
|
3
|
+
messageConfig: {
|
|
4
|
+
type: 'info',
|
|
5
|
+
message: 'You can insert HTML, CSS, JavaScript or Liquid code.',
|
|
6
|
+
link: {
|
|
7
|
+
label: 'Learn more',
|
|
8
|
+
url: 'https://help.gempages.net/articles/custom-code-element?utm_source=element-setting-tips#custom-code'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
3
11
|
controls: [
|
|
4
12
|
{
|
|
5
13
|
type: 'control',
|
package/dist/esm/index.js
CHANGED
|
@@ -195,6 +195,7 @@ export { default as TabItem } from './tab/components/TabItem.js';
|
|
|
195
195
|
export { default as Text } from './text/components/Text.js';
|
|
196
196
|
export { default as Textarea } from './textarea/Textarea.js';
|
|
197
197
|
export { default as Video } from './video/components/Video.js';
|
|
198
|
+
export { default as EcomsendBackInStockAlert } from './third-party/components/EcomsendBackInStockAlert.js';
|
|
198
199
|
export { default as EstimatedDeliveryDatePlus } from './third-party/components/EstimatedDeliveryDatePlus.js';
|
|
199
200
|
export { default as OkendoReviewsLoyalty } from './third-party/components/OkendoReviewsLoyalty.js';
|
|
200
201
|
export { default as EssentialAnnouncementBar } from './third-party/components/EssentialAnnouncementBar.js';
|
package/dist/esm/index.liquid.js
CHANGED
|
@@ -192,6 +192,7 @@ export { default as BfSizeChartSizeGuide } from './third-party/components/BfSize
|
|
|
192
192
|
export { default as AlsoBoughtCbb } from './third-party/components/AlsoBoughtCbb.liquid.js';
|
|
193
193
|
export { default as HextomFreeShippingBar } from './third-party/components/HextomFreeShippingBar.liquid.js';
|
|
194
194
|
export { default as EcoboostifyShoppableReelUgc } from './third-party/components/EcoboostifyShoppableReelUgc.liquid.js';
|
|
195
|
+
export { default as EcomsendBackInStockAlert } from './third-party/components/EcomsendBackInStockAlert.liquid.js';
|
|
195
196
|
export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.liquid.js';
|
|
196
197
|
export { default as StellarDeliveryDatePickup } from './third-party/components/StellarDeliveryDatePickup.liquid.js';
|
|
197
198
|
export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
|