@gem-sdk/components 2.1.12 → 2.1.13-staging.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builder.js +5 -1
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.liquid.js +4 -0
- package/dist/cjs/third-party/components/HextomCountdownTimerBar.js +32 -0
- package/dist/cjs/third-party/components/HextomCountdownTimerBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/TrustBadgesBear.js +32 -0
- package/dist/cjs/third-party/components/TrustBadgesBear.liquid.js +12 -0
- package/dist/cjs/third-party/configs/HextomCountdownTimerBar.js +12 -0
- package/dist/cjs/third-party/configs/TrustBadgesBear.js +12 -0
- package/dist/cjs/third-party/next.js +11 -1
- package/dist/cjs/third-party/setting/HextomCountdownTimerBar.js +128 -0
- package/dist/cjs/third-party/setting/TrustBadgesBear.js +128 -0
- package/dist/cjs/third-party/setting/index.js +5 -1
- package/dist/esm/builder.js +5 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.liquid.js +2 -0
- package/dist/esm/third-party/components/HextomCountdownTimerBar.js +28 -0
- package/dist/esm/third-party/components/HextomCountdownTimerBar.liquid.js +8 -0
- package/dist/esm/third-party/components/TrustBadgesBear.js +28 -0
- package/dist/esm/third-party/components/TrustBadgesBear.liquid.js +8 -0
- package/dist/esm/third-party/configs/HextomCountdownTimerBar.js +8 -0
- package/dist/esm/third-party/configs/TrustBadgesBear.js +8 -0
- package/dist/esm/third-party/next.js +11 -1
- package/dist/esm/third-party/setting/HextomCountdownTimerBar.js +124 -0
- package/dist/esm/third-party/setting/TrustBadgesBear.js +124 -0
- package/dist/esm/third-party/setting/index.js +206 -202
- package/dist/types/index.d.ts +33 -1
- package/package.json +2 -2
package/dist/cjs/builder.js
CHANGED
|
@@ -111,6 +111,8 @@ var TrustreviewsProductReviews = require('./third-party/components/TrustreviewsP
|
|
|
111
111
|
var MyappgurusProductReviews = require('./third-party/components/MyappgurusProductReviews.js');
|
|
112
112
|
var HulkProductOptions = require('./third-party/components/HulkProductOptions.js');
|
|
113
113
|
var TrustshopProductReviews = require('./third-party/components/TrustshopProductReviews.js');
|
|
114
|
+
var HextomCountdownTimerBar = require('./third-party/components/HextomCountdownTimerBar.js');
|
|
115
|
+
var TrustBadgesBear = require('./third-party/components/TrustBadgesBear.js');
|
|
114
116
|
var CartLineVariant = require('./cart/components/CartLineVariant.js');
|
|
115
117
|
var Cart = require('./cart/components/Cart.js');
|
|
116
118
|
var CartList = require('./cart/components/CartList.js');
|
|
@@ -479,7 +481,9 @@ var builder = {
|
|
|
479
481
|
ArticleReadMore: ArticleReadMore.default,
|
|
480
482
|
Marquee: Marquee.default,
|
|
481
483
|
MarqueeItem: MarqueeItem.default,
|
|
482
|
-
ProductBadge: index$8.default
|
|
484
|
+
ProductBadge: index$8.default,
|
|
485
|
+
HextomCountdownTimerBar: HextomCountdownTimerBar.default,
|
|
486
|
+
TrustBadgesBear: TrustBadgesBear.default
|
|
483
487
|
};
|
|
484
488
|
|
|
485
489
|
exports.default = builder;
|
package/dist/cjs/index.js
CHANGED
|
@@ -207,6 +207,8 @@ var TrustreviewsProductReviews = require('./third-party/components/TrustreviewsP
|
|
|
207
207
|
var MyappgurusProductReviews = require('./third-party/components/MyappgurusProductReviews.js');
|
|
208
208
|
var HulkProductOptions = require('./third-party/components/HulkProductOptions.js');
|
|
209
209
|
var TrustshopProductReviews = require('./third-party/components/TrustshopProductReviews.js');
|
|
210
|
+
var HextomCountdownTimerBar = require('./third-party/components/HextomCountdownTimerBar.js');
|
|
211
|
+
var TrustBadgesBear = require('./third-party/components/TrustBadgesBear.js');
|
|
210
212
|
var index$x = require('./third-party-instant/setting/index.js');
|
|
211
213
|
var InstantJudgemeReviews = require('./third-party-instant/components/InstantJudgemeReviews.js');
|
|
212
214
|
var InstantLooxReviews = require('./third-party-instant/components/InstantLooxReviews.js');
|
|
@@ -509,6 +511,8 @@ exports.TrustreviewsProductReviews = TrustreviewsProductReviews.default;
|
|
|
509
511
|
exports.MyappgurusProductReviews = MyappgurusProductReviews.default;
|
|
510
512
|
exports.HulkProductOptions = HulkProductOptions.default;
|
|
511
513
|
exports.TrustshopProductReviews = TrustshopProductReviews.default;
|
|
514
|
+
exports.HextomCountdownTimerBar = HextomCountdownTimerBar.default;
|
|
515
|
+
exports.TrustBadgesBear = TrustBadgesBear.default;
|
|
512
516
|
exports.thirdPartyInstantSetting = index$x.default;
|
|
513
517
|
exports.InstantJudgemeReviews = InstantJudgemeReviews.default;
|
|
514
518
|
exports.InstantLooxReviews = InstantLooxReviews.default;
|
package/dist/cjs/index.liquid.js
CHANGED
|
@@ -161,6 +161,8 @@ var SeoantTrustBadgesIcon_liquid = require('./third-party/components/SeoantTrust
|
|
|
161
161
|
var TrustreviewsProductReviews_liquid = require('./third-party/components/TrustreviewsProductReviews.liquid.js');
|
|
162
162
|
var MyappgurusProductReviews_liquid = require('./third-party/components/MyappgurusProductReviews.liquid.js');
|
|
163
163
|
var HulkProductOptions_liquid = require('./third-party/components/HulkProductOptions.liquid.js');
|
|
164
|
+
var HextomCountdownTimerBar_liquid = require('./third-party/components/HextomCountdownTimerBar.liquid.js');
|
|
165
|
+
var TrustBadgesBear_liquid = require('./third-party/components/TrustBadgesBear.liquid.js');
|
|
164
166
|
var TrustshopProductReviews_liquid = require('./third-party/components/TrustshopProductReviews.liquid.js');
|
|
165
167
|
var ImageComparison_liquid = require('./image-comparison/components/ImageComparison.liquid.js');
|
|
166
168
|
var ThirdPartySlot_liquid = require('./third-party-slot/components/ThirdPartySlot.liquid.js');
|
|
@@ -345,6 +347,8 @@ exports.SeoantTrustBadgesIcon = SeoantTrustBadgesIcon_liquid.default;
|
|
|
345
347
|
exports.TrustreviewsProductReviews = TrustreviewsProductReviews_liquid.default;
|
|
346
348
|
exports.MyappgurusProductReviews = MyappgurusProductReviews_liquid.default;
|
|
347
349
|
exports.HulkProductOptions = HulkProductOptions_liquid.default;
|
|
350
|
+
exports.HextomCountdownTimerBar = HextomCountdownTimerBar_liquid.default;
|
|
351
|
+
exports.TrustBadgesBear = TrustBadgesBear_liquid.default;
|
|
348
352
|
exports.TrustshopProductReviews = TrustshopProductReviews_liquid.default;
|
|
349
353
|
exports.ImageComparison = ImageComparison_liquid.default;
|
|
350
354
|
exports.ThirdPartySlot = ThirdPartySlot_liquid.default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var core = require('@gem-sdk/core');
|
|
7
|
+
var ThirdPartyPreview = require('./ThirdPartyPreview.js');
|
|
8
|
+
var HextomCountdownTimerBar$1 = require('../configs/HextomCountdownTimerBar.js');
|
|
9
|
+
|
|
10
|
+
const HextomCountdownTimerBarContent = ()=>{
|
|
11
|
+
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
12
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
13
|
+
className: "gp-p-2",
|
|
14
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
|
|
15
|
+
setting: {
|
|
16
|
+
label: 'Hextom: Countdown Timer Bar',
|
|
17
|
+
iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${HextomCountdownTimerBar$1.default.logoUrl}">`
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
const HextomCountdownTimerBar = ({ setting })=>{
|
|
24
|
+
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
25
|
+
style: {
|
|
26
|
+
...core.makeStyleResponsive('ta', setting?.align)
|
|
27
|
+
},
|
|
28
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(HextomCountdownTimerBarContent, {})
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
exports.default = HextomCountdownTimerBar;
|
|
@@ -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 HextomCountdownTimerBar = ({ setting, advanced })=>{
|
|
8
|
+
const { align, appBlockId } = setting ?? {};
|
|
9
|
+
return thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = HextomCountdownTimerBar;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var core = require('@gem-sdk/core');
|
|
7
|
+
var ThirdPartyPreview = require('./ThirdPartyPreview.js');
|
|
8
|
+
var TrustBadgesBear$1 = require('../configs/TrustBadgesBear.js');
|
|
9
|
+
|
|
10
|
+
const TrustBadgesBearContent = ()=>{
|
|
11
|
+
return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
12
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
13
|
+
className: "gp-p-2",
|
|
14
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(ThirdPartyPreview.default, {
|
|
15
|
+
setting: {
|
|
16
|
+
label: 'Trust Badges Bear',
|
|
17
|
+
iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${TrustBadgesBear$1.default.logoUrl}">`
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
const TrustBadgesBear = ({ setting })=>{
|
|
24
|
+
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
25
|
+
style: {
|
|
26
|
+
...core.makeStyleResponsive('ta', setting?.align)
|
|
27
|
+
},
|
|
28
|
+
children: /*#__PURE__*/ jsxRuntime.jsx(TrustBadgesBearContent, {})
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
exports.default = TrustBadgesBear;
|
|
@@ -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 TrustBadgesBear = ({ setting, advanced })=>{
|
|
8
|
+
const { align, appBlockId } = setting ?? {};
|
|
9
|
+
return thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = TrustBadgesBear;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AppConfig = {
|
|
6
|
+
id: 'hextom-countdown-timer-bar',
|
|
7
|
+
label: 'Hextom: Countdown Timer Bar',
|
|
8
|
+
logoUrl: 'https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png',
|
|
9
|
+
tag: 'HextomCountdownTimerBar'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = AppConfig;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var AppConfig = {
|
|
6
|
+
id: 'trust-badges-bear',
|
|
7
|
+
label: 'Trust Badges Bear',
|
|
8
|
+
logoUrl: 'https://cdn.shopify.com/app-store/listing_images/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.png',
|
|
9
|
+
tag: 'TrustBadgesBear'
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.default = AppConfig;
|
|
@@ -410,6 +410,14 @@ const Selleasy = dynamic(()=>Promise.resolve().then(function () { return require
|
|
|
410
410
|
ssr: false,
|
|
411
411
|
loading: Loading.default
|
|
412
412
|
});
|
|
413
|
+
const HextomCountdownTimerBar = dynamic(()=>Promise.resolve().then(function () { return require('./components/HextomCountdownTimerBar.js'); }), {
|
|
414
|
+
ssr: false,
|
|
415
|
+
loading: Loading.default
|
|
416
|
+
});
|
|
417
|
+
const TrustBadgesBear = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustBadgesBear.js'); }), {
|
|
418
|
+
ssr: false,
|
|
419
|
+
loading: Loading.default
|
|
420
|
+
});
|
|
413
421
|
var thirdParty = {
|
|
414
422
|
TrustshopProductReviews,
|
|
415
423
|
HulkProductOptions,
|
|
@@ -511,7 +519,9 @@ var thirdParty = {
|
|
|
511
519
|
Releasit,
|
|
512
520
|
RequestQuoteHidePrice,
|
|
513
521
|
BirdChime,
|
|
514
|
-
FordeerProductLabels
|
|
522
|
+
FordeerProductLabels,
|
|
523
|
+
HextomCountdownTimerBar,
|
|
524
|
+
TrustBadgesBear
|
|
515
525
|
};
|
|
516
526
|
|
|
517
527
|
exports.default = thirdParty;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var HextomCountdownTimerBar = require('../configs/HextomCountdownTimerBar.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: HextomCountdownTimerBar.default.tag,
|
|
9
|
+
label: HextomCountdownTimerBar.default.label,
|
|
10
|
+
icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: HextomCountdownTimerBar.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: HextomCountdownTimerBar.default.label
|
|
21
|
+
},
|
|
22
|
+
hideTextContent: true,
|
|
23
|
+
icon: {
|
|
24
|
+
desktop: `<div class="w-full flex flex-col items-center">
|
|
25
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png">
|
|
26
|
+
<span class="preset-item-title">Hextom: Countdown Timer Bar</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: HextomCountdownTimerBar.default.tag
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
settings: [
|
|
37
|
+
{
|
|
38
|
+
id: 'setting',
|
|
39
|
+
controls: [
|
|
40
|
+
{
|
|
41
|
+
id: 'appBlockId',
|
|
42
|
+
type: 'input',
|
|
43
|
+
default: ''
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'widgetType',
|
|
47
|
+
label: 'Choose widget',
|
|
48
|
+
type: 'select',
|
|
49
|
+
options: [
|
|
50
|
+
{
|
|
51
|
+
label: 'Fsb Custom Placement',
|
|
52
|
+
value: 'fsb-custom-placement'
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
default: 'fsb-custom-placement'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'install',
|
|
59
|
+
type: 'open-link',
|
|
60
|
+
target: '_blank',
|
|
61
|
+
linkType: 'install',
|
|
62
|
+
href: 'https://apps.shopify.com/event-promotion-bar?utm_source=gempages',
|
|
63
|
+
appName: HextomCountdownTimerBar.default.label
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'openApp',
|
|
67
|
+
type: 'open-link',
|
|
68
|
+
target: '_blank',
|
|
69
|
+
linkType: 'openApp',
|
|
70
|
+
href: '',
|
|
71
|
+
appName: HextomCountdownTimerBar.default.label
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 'align',
|
|
75
|
+
label: 'Alignment',
|
|
76
|
+
type: 'segment',
|
|
77
|
+
options: [
|
|
78
|
+
{
|
|
79
|
+
label: 'Left',
|
|
80
|
+
value: 'left',
|
|
81
|
+
type: 'align'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: 'Center',
|
|
85
|
+
value: 'center',
|
|
86
|
+
type: 'align'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Right',
|
|
90
|
+
value: 'right',
|
|
91
|
+
type: 'align'
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
devices: {
|
|
95
|
+
desktop: {
|
|
96
|
+
default: 'left'
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
ui: [
|
|
104
|
+
{
|
|
105
|
+
type: 'control',
|
|
106
|
+
setting: {
|
|
107
|
+
id: 'install'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'control',
|
|
112
|
+
setting: {
|
|
113
|
+
id: 'openApp'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
type: 'control',
|
|
118
|
+
label: {
|
|
119
|
+
en: 'Align'
|
|
120
|
+
},
|
|
121
|
+
setting: {
|
|
122
|
+
id: 'align'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
exports.default = config;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var TrustBadgesBear = require('../configs/TrustBadgesBear.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: TrustBadgesBear.default.tag,
|
|
9
|
+
label: TrustBadgesBear.default.label,
|
|
10
|
+
icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: TrustBadgesBear.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: TrustBadgesBear.default.label
|
|
21
|
+
},
|
|
22
|
+
hideTextContent: true,
|
|
23
|
+
icon: {
|
|
24
|
+
desktop: `<div class="w-full flex flex-col items-center">
|
|
25
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.png">
|
|
26
|
+
<span class="preset-item-title">Trust Badges Bear</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: TrustBadgesBear.default.tag
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
settings: [
|
|
37
|
+
{
|
|
38
|
+
id: 'setting',
|
|
39
|
+
controls: [
|
|
40
|
+
{
|
|
41
|
+
id: 'appBlockId',
|
|
42
|
+
type: 'input',
|
|
43
|
+
default: ''
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'widgetType',
|
|
47
|
+
label: 'Choose widget',
|
|
48
|
+
type: 'select',
|
|
49
|
+
options: [
|
|
50
|
+
{
|
|
51
|
+
label: 'Widget',
|
|
52
|
+
value: 'widget'
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
default: 'widget'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'install',
|
|
59
|
+
type: 'open-link',
|
|
60
|
+
target: '_blank',
|
|
61
|
+
linkType: 'install',
|
|
62
|
+
href: 'https://apps.shopify.com/ultimate-trust-badges?utm_source=gempages',
|
|
63
|
+
appName: TrustBadgesBear.default.label
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'openApp',
|
|
67
|
+
type: 'open-link',
|
|
68
|
+
target: '_blank',
|
|
69
|
+
linkType: 'openApp',
|
|
70
|
+
href: 'https://admin.shopify.com/?redirect=/apps/ultimate-trust-badge',
|
|
71
|
+
appName: TrustBadgesBear.default.label
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 'align',
|
|
75
|
+
label: 'Alignment',
|
|
76
|
+
type: 'segment',
|
|
77
|
+
options: [
|
|
78
|
+
{
|
|
79
|
+
label: 'Left',
|
|
80
|
+
value: 'left',
|
|
81
|
+
type: 'align'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: 'Center',
|
|
85
|
+
value: 'center',
|
|
86
|
+
type: 'align'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Right',
|
|
90
|
+
value: 'right',
|
|
91
|
+
type: 'align'
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
devices: {
|
|
95
|
+
desktop: {
|
|
96
|
+
default: 'left'
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
ui: [
|
|
104
|
+
{
|
|
105
|
+
type: 'control',
|
|
106
|
+
setting: {
|
|
107
|
+
id: 'install'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'control',
|
|
112
|
+
setting: {
|
|
113
|
+
id: 'openApp'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
type: 'control',
|
|
118
|
+
label: {
|
|
119
|
+
en: 'Align'
|
|
120
|
+
},
|
|
121
|
+
setting: {
|
|
122
|
+
id: 'align'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
exports.default = config;
|
|
@@ -103,8 +103,11 @@ var TrustreviewsProductReviews = require('./TrustreviewsProductReviews.js');
|
|
|
103
103
|
var MyappgurusProductReviews = require('./MyappgurusProductReviews.js');
|
|
104
104
|
var HulkProductOptions = require('./HulkProductOptions.js');
|
|
105
105
|
var TrustshopProductReviews = require('./TrustshopProductReviews.js');
|
|
106
|
+
var HextomCountdownTimerBar = require('./HextomCountdownTimerBar.js');
|
|
107
|
+
var TrustBadgesBear = require('./TrustBadgesBear.js');
|
|
106
108
|
|
|
107
109
|
var index = {
|
|
110
|
+
HextomCountdownTimerBar: HextomCountdownTimerBar.default,
|
|
108
111
|
TrustshopProductReviews: TrustshopProductReviews.default,
|
|
109
112
|
HulkProductOptions: HulkProductOptions.default,
|
|
110
113
|
TrustreviewsProductReviews: TrustreviewsProductReviews.default,
|
|
@@ -205,7 +208,8 @@ var index = {
|
|
|
205
208
|
KingProductOptions: KingProductOptions.default,
|
|
206
209
|
RequestQuoteHidePrice: RequestQuoteHidePrice.default,
|
|
207
210
|
BirdChime: BirdChime.default,
|
|
208
|
-
FordeerProductLabels: FordeerProductLabels.default
|
|
211
|
+
FordeerProductLabels: FordeerProductLabels.default,
|
|
212
|
+
TrustBadgesBear: TrustBadgesBear.default
|
|
209
213
|
};
|
|
210
214
|
|
|
211
215
|
exports.default = index;
|
package/dist/esm/builder.js
CHANGED
|
@@ -107,6 +107,8 @@ import TrustreviewsProductReviews from './third-party/components/TrustreviewsPro
|
|
|
107
107
|
import MyappgurusProductReviews from './third-party/components/MyappgurusProductReviews.js';
|
|
108
108
|
import HulkProductOptions from './third-party/components/HulkProductOptions.js';
|
|
109
109
|
import TrustshopProductReviews from './third-party/components/TrustshopProductReviews.js';
|
|
110
|
+
import HextomCountdownTimerBar from './third-party/components/HextomCountdownTimerBar.js';
|
|
111
|
+
import TrustBadgesBear from './third-party/components/TrustBadgesBear.js';
|
|
110
112
|
import CartLineVariant from './cart/components/CartLineVariant.js';
|
|
111
113
|
import Cart from './cart/components/Cart.js';
|
|
112
114
|
import CartList from './cart/components/CartList.js';
|
|
@@ -475,7 +477,9 @@ var builder = {
|
|
|
475
477
|
ArticleReadMore,
|
|
476
478
|
Marquee,
|
|
477
479
|
MarqueeItem,
|
|
478
|
-
ProductBadge
|
|
480
|
+
ProductBadge,
|
|
481
|
+
HextomCountdownTimerBar,
|
|
482
|
+
TrustBadgesBear
|
|
479
483
|
};
|
|
480
484
|
|
|
481
485
|
export { builder as default };
|
package/dist/esm/index.js
CHANGED
|
@@ -205,6 +205,8 @@ export { default as TrustreviewsProductReviews } from './third-party/components/
|
|
|
205
205
|
export { default as MyappgurusProductReviews } from './third-party/components/MyappgurusProductReviews.js';
|
|
206
206
|
export { default as HulkProductOptions } from './third-party/components/HulkProductOptions.js';
|
|
207
207
|
export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.js';
|
|
208
|
+
export { default as HextomCountdownTimerBar } from './third-party/components/HextomCountdownTimerBar.js';
|
|
209
|
+
export { default as TrustBadgesBear } from './third-party/components/TrustBadgesBear.js';
|
|
208
210
|
export { default as thirdPartyInstantSetting } from './third-party-instant/setting/index.js';
|
|
209
211
|
export { default as InstantJudgemeReviews } from './third-party-instant/components/InstantJudgemeReviews.js';
|
|
210
212
|
export { default as InstantLooxReviews } from './third-party-instant/components/InstantLooxReviews.js';
|
package/dist/esm/index.liquid.js
CHANGED
|
@@ -159,6 +159,8 @@ export { default as SeoantTrustBadgesIcon } from './third-party/components/Seoan
|
|
|
159
159
|
export { default as TrustreviewsProductReviews } from './third-party/components/TrustreviewsProductReviews.liquid.js';
|
|
160
160
|
export { default as MyappgurusProductReviews } from './third-party/components/MyappgurusProductReviews.liquid.js';
|
|
161
161
|
export { default as HulkProductOptions } from './third-party/components/HulkProductOptions.liquid.js';
|
|
162
|
+
export { default as HextomCountdownTimerBar } from './third-party/components/HextomCountdownTimerBar.liquid.js';
|
|
163
|
+
export { default as TrustBadgesBear } from './third-party/components/TrustBadgesBear.liquid.js';
|
|
162
164
|
export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.liquid.js';
|
|
163
165
|
export { default as ImageComparison } from './image-comparison/components/ImageComparison.liquid.js';
|
|
164
166
|
export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { makeStyleResponsive } from '@gem-sdk/core';
|
|
3
|
+
import ThirdPartyPreview from './ThirdPartyPreview.js';
|
|
4
|
+
import AppConfig from '../configs/HextomCountdownTimerBar.js';
|
|
5
|
+
|
|
6
|
+
const HextomCountdownTimerBarContent = ()=>{
|
|
7
|
+
return /*#__PURE__*/ jsx(Fragment, {
|
|
8
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
9
|
+
className: "gp-p-2",
|
|
10
|
+
children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
|
|
11
|
+
setting: {
|
|
12
|
+
label: 'Hextom: Countdown Timer Bar',
|
|
13
|
+
iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
const HextomCountdownTimerBar = ({ setting })=>{
|
|
20
|
+
return /*#__PURE__*/ jsx("div", {
|
|
21
|
+
style: {
|
|
22
|
+
...makeStyleResponsive('ta', setting?.align)
|
|
23
|
+
},
|
|
24
|
+
children: /*#__PURE__*/ jsx(HextomCountdownTimerBarContent, {})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { HextomCountdownTimerBar as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
|
|
2
|
+
|
|
3
|
+
const HextomCountdownTimerBar = ({ setting, advanced })=>{
|
|
4
|
+
const { align, appBlockId } = setting ?? {};
|
|
5
|
+
return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export { HextomCountdownTimerBar as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { makeStyleResponsive } from '@gem-sdk/core';
|
|
3
|
+
import ThirdPartyPreview from './ThirdPartyPreview.js';
|
|
4
|
+
import AppConfig from '../configs/TrustBadgesBear.js';
|
|
5
|
+
|
|
6
|
+
const TrustBadgesBearContent = ()=>{
|
|
7
|
+
return /*#__PURE__*/ jsx(Fragment, {
|
|
8
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
9
|
+
className: "gp-p-2",
|
|
10
|
+
children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
|
|
11
|
+
setting: {
|
|
12
|
+
label: 'Trust Badges Bear',
|
|
13
|
+
iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
const TrustBadgesBear = ({ setting })=>{
|
|
20
|
+
return /*#__PURE__*/ jsx("div", {
|
|
21
|
+
style: {
|
|
22
|
+
...makeStyleResponsive('ta', setting?.align)
|
|
23
|
+
},
|
|
24
|
+
children: /*#__PURE__*/ jsx(TrustBadgesBearContent, {})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { TrustBadgesBear as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
|
|
2
|
+
|
|
3
|
+
const TrustBadgesBear = ({ setting, advanced })=>{
|
|
4
|
+
const { align, appBlockId } = setting ?? {};
|
|
5
|
+
return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export { TrustBadgesBear as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var AppConfig = {
|
|
2
|
+
id: 'hextom-countdown-timer-bar',
|
|
3
|
+
label: 'Hextom: Countdown Timer Bar',
|
|
4
|
+
logoUrl: 'https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png',
|
|
5
|
+
tag: 'HextomCountdownTimerBar'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export { AppConfig as default };
|
|
@@ -406,6 +406,14 @@ const Selleasy = dynamic(()=>import('./components/Selleasy.js'), {
|
|
|
406
406
|
ssr: false,
|
|
407
407
|
loading: Loading
|
|
408
408
|
});
|
|
409
|
+
const HextomCountdownTimerBar = dynamic(()=>import('./components/HextomCountdownTimerBar.js'), {
|
|
410
|
+
ssr: false,
|
|
411
|
+
loading: Loading
|
|
412
|
+
});
|
|
413
|
+
const TrustBadgesBear = dynamic(()=>import('./components/TrustBadgesBear.js'), {
|
|
414
|
+
ssr: false,
|
|
415
|
+
loading: Loading
|
|
416
|
+
});
|
|
409
417
|
var thirdParty = {
|
|
410
418
|
TrustshopProductReviews,
|
|
411
419
|
HulkProductOptions,
|
|
@@ -507,7 +515,9 @@ var thirdParty = {
|
|
|
507
515
|
Releasit,
|
|
508
516
|
RequestQuoteHidePrice,
|
|
509
517
|
BirdChime,
|
|
510
|
-
FordeerProductLabels
|
|
518
|
+
FordeerProductLabels,
|
|
519
|
+
HextomCountdownTimerBar,
|
|
520
|
+
TrustBadgesBear
|
|
511
521
|
};
|
|
512
522
|
|
|
513
523
|
export { thirdParty as default };
|