@gem-sdk/components 2.0.0-dev.367 → 2.0.0-dev.369
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/index.js +2 -0
- package/dist/cjs/index.liquid.js +2 -0
- package/dist/cjs/line/components/Divider.liquid.js +1 -1
- package/dist/cjs/line/components/Line.liquid.js +1 -1
- 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/AppstleBundlesDiscounts.js +33 -0
- package/dist/cjs/third-party/components/AppstleBundlesDiscounts.liquid.js +12 -0
- package/dist/cjs/third-party/configs/AppstleBundlesDiscounts.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/AppstleBundlesDiscounts.js +146 -0
- package/dist/esm/builder.js +104 -102
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.liquid.js +1 -0
- package/dist/esm/line/components/Divider.liquid.js +1 -1
- package/dist/esm/line/components/Line.liquid.js +1 -1
- 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/AppstleBundlesDiscounts.js +29 -0
- package/dist/esm/third-party/components/AppstleBundlesDiscounts.liquid.js +8 -0
- package/dist/esm/third-party/configs/AppstleBundlesDiscounts.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/AppstleBundlesDiscounts.js +142 -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 AppstleBundlesDiscounts$1 = require('../configs/AppstleBundlesDiscounts.js');
|
|
10
|
+
|
|
11
|
+
const AppstleBundlesDiscountsContent = ()=>{
|
|
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: 'Appstle℠ Bundles & Discounts',
|
|
18
|
+
iconSvg: `<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppstleBundlesDiscounts$1.default.logoUrl}">`
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
const AppstleBundlesDiscounts = ({ setting })=>{
|
|
25
|
+
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
26
|
+
style: {
|
|
27
|
+
...core.makeStyleResponsive('ta', setting?.align)
|
|
28
|
+
},
|
|
29
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(AppstleBundlesDiscountsContent, {})
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.default = AppstleBundlesDiscounts;
|
|
@@ -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 AppstleBundlesDiscounts = ({ setting, advanced })=>{
|
|
8
|
+
const { align, appBlockId } = setting ?? {};
|
|
9
|
+
return thirdParty.getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = AppstleBundlesDiscounts;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AppConfig = {
|
|
6
|
+
id: 'appstle-bundles-discounts',
|
|
7
|
+
label: 'Appstle Bundles & Discounts',
|
|
8
|
+
logoUrl: 'https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png',
|
|
9
|
+
tag: 'AppstleBundlesDiscounts'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = AppConfig;
|
|
@@ -159,6 +159,7 @@ 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
161
|
var EcomsendBackInStockAlert$1 = require('./setting/EcomsendBackInStockAlert.js');
|
|
162
|
+
var AppstleBundlesDiscounts$1 = require('./setting/AppstleBundlesDiscounts.js');
|
|
162
163
|
|
|
163
164
|
const thirdPartySetting = {
|
|
164
165
|
EstimatedDeliveryDatePlus: EstimatedDeliveryDatePlus$1.default,
|
|
@@ -274,7 +275,8 @@ const thirdPartySetting = {
|
|
|
274
275
|
AlsoBoughtCbb: AlsoBoughtCbb$1.default,
|
|
275
276
|
HextomFreeShippingBar: HextomFreeShippingBar$1.default,
|
|
276
277
|
EcoboostifyShoppableReelUgc: EcoboostifyShoppableReelUgc$1.default,
|
|
277
|
-
EcomsendBackInStockAlert: EcomsendBackInStockAlert$1.default
|
|
278
|
+
EcomsendBackInStockAlert: EcomsendBackInStockAlert$1.default,
|
|
279
|
+
AppstleBundlesDiscounts: AppstleBundlesDiscounts$1.default
|
|
278
280
|
};
|
|
279
281
|
|
|
280
282
|
exports.JudgemeReviews = JudgemeReviews.default;
|
|
@@ -12,6 +12,10 @@ const EcomsendBackInStockAlert = dynamic(()=>Promise.resolve().then(function ()
|
|
|
12
12
|
ssr: false,
|
|
13
13
|
loading: Loading.default
|
|
14
14
|
});
|
|
15
|
+
const AppstleBundlesDiscounts = dynamic(()=>Promise.resolve().then(function () { return require('./components/AppstleBundlesDiscounts.js'); }), {
|
|
16
|
+
ssr: false,
|
|
17
|
+
loading: Loading.default
|
|
18
|
+
});
|
|
15
19
|
const EstimatedDeliveryDatePlus = dynamic(()=>Promise.resolve().then(function () { return require('./components/EstimatedDeliveryDatePlus.js'); }), {
|
|
16
20
|
ssr: false,
|
|
17
21
|
loading: Loading.default
|
|
@@ -466,6 +470,7 @@ const EcoboostifyShoppableReelUgc = dynamic(()=>Promise.resolve().then(function
|
|
|
466
470
|
});
|
|
467
471
|
var thirdParty = {
|
|
468
472
|
EcomsendBackInStockAlert,
|
|
473
|
+
AppstleBundlesDiscounts,
|
|
469
474
|
EcoboostifyShoppableReelUgc,
|
|
470
475
|
EstimatedDeliveryDatePlus,
|
|
471
476
|
OkendoReviewsLoyalty,
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AppstleBundlesDiscounts = require('../configs/AppstleBundlesDiscounts.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: AppstleBundlesDiscounts.default.tag,
|
|
9
|
+
label: AppstleBundlesDiscounts.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/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
flowTag: [
|
|
14
|
+
'Product'
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
component: {
|
|
18
|
+
isThirdParty: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
presets: [
|
|
22
|
+
{
|
|
23
|
+
id: AppstleBundlesDiscounts.default.id,
|
|
24
|
+
name: {
|
|
25
|
+
en: AppstleBundlesDiscounts.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/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png">
|
|
31
|
+
<span class="preset-item-title">Appstle℠ Bundles & Discounts</span>
|
|
32
|
+
</div>`
|
|
33
|
+
},
|
|
34
|
+
components: [
|
|
35
|
+
{
|
|
36
|
+
tag: AppstleBundlesDiscounts.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: 'Classic Bundle',
|
|
57
|
+
value: 'appstle-classic-bundle'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: 'Dynamic Bundle',
|
|
61
|
+
value: 'appstle-bundle-product-page-build-a-box'
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
default: 'appstle-classic-bundle'
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'install',
|
|
68
|
+
type: 'open-link',
|
|
69
|
+
target: '_blank',
|
|
70
|
+
linkType: 'install',
|
|
71
|
+
href: 'https://apps.shopify.com/appstle-bundles?utm_source=gempages',
|
|
72
|
+
appName: AppstleBundlesDiscounts.default.label
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'openApp',
|
|
76
|
+
type: 'open-link',
|
|
77
|
+
target: '_blank',
|
|
78
|
+
linkType: 'openApp',
|
|
79
|
+
href: '',
|
|
80
|
+
appName: AppstleBundlesDiscounts.default.label
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'align',
|
|
84
|
+
label: 'Alignment',
|
|
85
|
+
type: 'segment',
|
|
86
|
+
options: [
|
|
87
|
+
{
|
|
88
|
+
label: 'Left',
|
|
89
|
+
value: 'left',
|
|
90
|
+
type: 'align'
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: 'Center',
|
|
94
|
+
value: 'center',
|
|
95
|
+
type: 'align'
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
label: 'Right',
|
|
99
|
+
value: 'right',
|
|
100
|
+
type: 'align'
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
devices: {
|
|
104
|
+
desktop: {
|
|
105
|
+
default: 'left'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
ui: [
|
|
113
|
+
{
|
|
114
|
+
type: 'control',
|
|
115
|
+
setting: {
|
|
116
|
+
id: 'install'
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'control',
|
|
121
|
+
label: {
|
|
122
|
+
en: 'Choose widget'
|
|
123
|
+
},
|
|
124
|
+
setting: {
|
|
125
|
+
id: 'widgetType'
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'control',
|
|
130
|
+
setting: {
|
|
131
|
+
id: 'openApp'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'control',
|
|
136
|
+
label: {
|
|
137
|
+
en: 'Align'
|
|
138
|
+
},
|
|
139
|
+
setting: {
|
|
140
|
+
id: 'align'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
exports.default = config;
|
package/dist/esm/builder.js
CHANGED
|
@@ -2,8 +2,111 @@
|
|
|
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';
|
|
5
107
|
import RechargeSubscriptions from './third-party/components/RechargeSubscriptions.js';
|
|
6
108
|
import EcomsendBackInStockAlert from './third-party/components/EcomsendBackInStockAlert.js';
|
|
109
|
+
import AppstleBundlesDiscounts from './third-party/components/AppstleBundlesDiscounts.js';
|
|
7
110
|
import JudgemeReviews from './third-party/components/JudgemeReviews.js';
|
|
8
111
|
import LooxReviews from './third-party/components/LooxReviews.js';
|
|
9
112
|
import Klaviyo from './third-party/components/Klaviyo.js';
|
|
@@ -116,108 +219,6 @@ import BfSizeChartSizeGuide from './third-party/components/BfSizeChartSizeGuide.
|
|
|
116
219
|
import AlsoBoughtCbb from './third-party/components/AlsoBoughtCbb.js';
|
|
117
220
|
import HextomFreeShippingBar from './third-party/components/HextomFreeShippingBar.js';
|
|
118
221
|
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';
|
|
221
222
|
import Product from './product/components/ProductWrap/Product.js';
|
|
222
223
|
import ProductTitle from './product/components/ProductTitle/index.js';
|
|
223
224
|
import ProductQuantity from './product/components/ProductQuantity/index.js';
|
|
@@ -259,6 +260,7 @@ import Text from './post-purchase/text/components/Text.js';
|
|
|
259
260
|
|
|
260
261
|
var builder = {
|
|
261
262
|
EcomsendBackInStockAlert,
|
|
263
|
+
AppstleBundlesDiscounts,
|
|
262
264
|
Accordion,
|
|
263
265
|
AccordionItem,
|
|
264
266
|
ArticleList,
|
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 AppstleBundlesDiscounts } from './third-party/components/AppstleBundlesDiscounts.js';
|
|
198
199
|
export { default as EcomsendBackInStockAlert } from './third-party/components/EcomsendBackInStockAlert.js';
|
|
199
200
|
export { default as EstimatedDeliveryDatePlus } from './third-party/components/EstimatedDeliveryDatePlus.js';
|
|
200
201
|
export { default as OkendoReviewsLoyalty } from './third-party/components/OkendoReviewsLoyalty.js';
|
package/dist/esm/index.liquid.js
CHANGED
|
@@ -193,6 +193,7 @@ export { default as AlsoBoughtCbb } from './third-party/components/AlsoBoughtCbb
|
|
|
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
195
|
export { default as EcomsendBackInStockAlert } from './third-party/components/EcomsendBackInStockAlert.liquid.js';
|
|
196
|
+
export { default as AppstleBundlesDiscounts } from './third-party/components/AppstleBundlesDiscounts.liquid.js';
|
|
196
197
|
export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.liquid.js';
|
|
197
198
|
export { default as StellarDeliveryDatePickup } from './third-party/components/StellarDeliveryDatePickup.liquid.js';
|
|
198
199
|
export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
|
|
@@ -12,7 +12,7 @@ const Divider = ({ className, fixedSide, config })=>{
|
|
|
12
12
|
const styleContainerDivider = getStyleContainerDivider({
|
|
13
13
|
config
|
|
14
14
|
});
|
|
15
|
-
return template`<div class="${classContainerDivider}" style="${styleContainerDivider}"
|
|
15
|
+
return template`<div class="${classContainerDivider}" style="${styleContainerDivider}"></div>`;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
export { Divider as default };
|
|
@@ -54,7 +54,7 @@ const Line = (props)=>{
|
|
|
54
54
|
};
|
|
55
55
|
return template`
|
|
56
56
|
<div data-id="${builderProps?.uid}" class="${classContainerLine}">
|
|
57
|
-
<div style="${styleWrapNotIcon}" class="${classWrapNotIcon}"
|
|
57
|
+
<div style="${styleWrapNotIcon}" class="${classWrapNotIcon}"></div>
|
|
58
58
|
<div class="${classWrapIcon}" style="${styleWrapIcon}">
|
|
59
59
|
${Divider(propsDividerLeft)}
|
|
60
60
|
${If(!!iconSvg, template`
|