@gem-sdk/components 2.1.13-staging.2 → 2.1.13
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/article/components/ArticleList.liquid.js +2 -6
- package/dist/cjs/builder.js +1 -5
- package/dist/cjs/index.js +0 -4
- package/dist/cjs/index.liquid.js +0 -4
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +3 -1
- package/dist/cjs/third-party/next.js +1 -11
- package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +56 -3
- package/dist/cjs/third-party/setting/index.js +1 -5
- package/dist/esm/article/components/ArticleList.liquid.js +2 -6
- package/dist/esm/builder.js +1 -5
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.liquid.js +0 -2
- package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +3 -1
- package/dist/esm/third-party/next.js +1 -11
- package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +56 -3
- package/dist/esm/third-party/setting/index.js +202 -206
- package/dist/types/index.d.ts +4 -33
- package/package.json +2 -2
- package/dist/cjs/third-party/components/HextomCountdownTimerBar.js +0 -32
- package/dist/cjs/third-party/components/HextomCountdownTimerBar.liquid.js +0 -12
- package/dist/cjs/third-party/components/TrustBadgesBear.js +0 -32
- package/dist/cjs/third-party/components/TrustBadgesBear.liquid.js +0 -12
- package/dist/cjs/third-party/configs/HextomCountdownTimerBar.js +0 -12
- package/dist/cjs/third-party/configs/TrustBadgesBear.js +0 -12
- package/dist/cjs/third-party/setting/HextomCountdownTimerBar.js +0 -128
- package/dist/cjs/third-party/setting/TrustBadgesBear.js +0 -128
- package/dist/esm/third-party/components/HextomCountdownTimerBar.js +0 -28
- package/dist/esm/third-party/components/HextomCountdownTimerBar.liquid.js +0 -8
- package/dist/esm/third-party/components/TrustBadgesBear.js +0 -28
- package/dist/esm/third-party/components/TrustBadgesBear.liquid.js +0 -8
- package/dist/esm/third-party/configs/HextomCountdownTimerBar.js +0 -8
- package/dist/esm/third-party/configs/TrustBadgesBear.js +0 -8
- package/dist/esm/third-party/setting/HextomCountdownTimerBar.js +0 -124
- package/dist/esm/third-party/setting/TrustBadgesBear.js +0 -124
|
@@ -1,32 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,32 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,128 +0,0 @@
|
|
|
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;
|
|
@@ -1,128 +0,0 @@
|
|
|
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;
|
|
@@ -1,28 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,28 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import AppConfig from '../configs/HextomCountdownTimerBar.js';
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
tag: AppConfig.tag,
|
|
5
|
-
label: AppConfig.label,
|
|
6
|
-
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">',
|
|
7
|
-
editorConfigs: {
|
|
8
|
-
component: {
|
|
9
|
-
isThirdParty: true
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
presets: [
|
|
13
|
-
{
|
|
14
|
-
id: AppConfig.id,
|
|
15
|
-
name: {
|
|
16
|
-
en: AppConfig.label
|
|
17
|
-
},
|
|
18
|
-
hideTextContent: true,
|
|
19
|
-
icon: {
|
|
20
|
-
desktop: `<div class="w-full flex flex-col items-center">
|
|
21
|
-
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png">
|
|
22
|
-
<span class="preset-item-title">Hextom: Countdown Timer Bar</span>
|
|
23
|
-
</div>`
|
|
24
|
-
},
|
|
25
|
-
components: [
|
|
26
|
-
{
|
|
27
|
-
tag: AppConfig.tag
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
settings: [
|
|
33
|
-
{
|
|
34
|
-
id: 'setting',
|
|
35
|
-
controls: [
|
|
36
|
-
{
|
|
37
|
-
id: 'appBlockId',
|
|
38
|
-
type: 'input',
|
|
39
|
-
default: ''
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: 'widgetType',
|
|
43
|
-
label: 'Choose widget',
|
|
44
|
-
type: 'select',
|
|
45
|
-
options: [
|
|
46
|
-
{
|
|
47
|
-
label: 'Fsb Custom Placement',
|
|
48
|
-
value: 'fsb-custom-placement'
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
default: 'fsb-custom-placement'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: 'install',
|
|
55
|
-
type: 'open-link',
|
|
56
|
-
target: '_blank',
|
|
57
|
-
linkType: 'install',
|
|
58
|
-
href: 'https://apps.shopify.com/event-promotion-bar?utm_source=gempages',
|
|
59
|
-
appName: AppConfig.label
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
id: 'openApp',
|
|
63
|
-
type: 'open-link',
|
|
64
|
-
target: '_blank',
|
|
65
|
-
linkType: 'openApp',
|
|
66
|
-
href: '',
|
|
67
|
-
appName: AppConfig.label
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 'align',
|
|
71
|
-
label: 'Alignment',
|
|
72
|
-
type: 'segment',
|
|
73
|
-
options: [
|
|
74
|
-
{
|
|
75
|
-
label: 'Left',
|
|
76
|
-
value: 'left',
|
|
77
|
-
type: 'align'
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: 'Center',
|
|
81
|
-
value: 'center',
|
|
82
|
-
type: 'align'
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: 'Right',
|
|
86
|
-
value: 'right',
|
|
87
|
-
type: 'align'
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
devices: {
|
|
91
|
-
desktop: {
|
|
92
|
-
default: 'left'
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
ui: [
|
|
100
|
-
{
|
|
101
|
-
type: 'control',
|
|
102
|
-
setting: {
|
|
103
|
-
id: 'install'
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
type: 'control',
|
|
108
|
-
setting: {
|
|
109
|
-
id: 'openApp'
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
type: 'control',
|
|
114
|
-
label: {
|
|
115
|
-
en: 'Align'
|
|
116
|
-
},
|
|
117
|
-
setting: {
|
|
118
|
-
id: 'align'
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
export { config as default };
|