@gem-sdk/components 2.1.15 → 2.1.17
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 +25 -1
- package/dist/cjs/collection/components/CollectionDescription.js +101 -7
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
- package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/index.liquid.js +24 -0
- package/dist/cjs/product/components/ProductDescription/common.js +28 -0
- package/dist/cjs/product/components/ProductDescription/const.js +5 -0
- package/dist/cjs/product/components/ProductDescription.js +38 -10
- package/dist/cjs/product/components/ProductDescription.liquid.js +3 -1
- package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
- package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
- package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
- package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
- package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
- package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
- package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
- package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
- package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
- package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -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/HextomFreeShippingBar.js +32 -0
- package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
- package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
- package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
- package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
- package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -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/components/TrustedsiteTrustBadges.js +32 -0
- package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
- package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
- package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
- package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
- package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
- package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
- package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
- package/dist/cjs/third-party/configs/HextomCountdownTimerBar.js +12 -0
- package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
- package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
- package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
- package/dist/cjs/third-party/configs/TrustBadgesBear.js +12 -0
- package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
- package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
- package/dist/cjs/third-party/next.js +61 -1
- package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
- package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
- package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
- package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
- package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
- package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
- package/dist/cjs/third-party/setting/HextomCountdownTimerBar.js +128 -0
- package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
- package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
- package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
- package/dist/cjs/third-party/setting/TrustBadgesBear.js +128 -0
- package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
- package/dist/cjs/third-party/setting/index.js +25 -1
- package/dist/esm/builder.js +25 -1
- package/dist/esm/collection/components/CollectionDescription.js +103 -9
- package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
- package/dist/esm/collection/setting/CollectionDescription.js +128 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.liquid.js +12 -0
- package/dist/esm/product/components/ProductDescription/common.js +26 -0
- package/dist/esm/product/components/ProductDescription/const.js +3 -0
- package/dist/esm/product/components/ProductDescription.js +38 -10
- package/dist/esm/product/components/ProductDescription.liquid.js +3 -1
- package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
- package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
- package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
- package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
- package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
- package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
- package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
- package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
- package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
- package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
- package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
- package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -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/HextomFreeShippingBar.js +28 -0
- package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
- package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
- package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
- package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
- package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -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/components/TrustedsiteTrustBadges.js +28 -0
- package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
- package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
- package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
- package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
- package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
- package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
- package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
- package/dist/esm/third-party/configs/HextomCountdownTimerBar.js +8 -0
- package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
- package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
- package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
- package/dist/esm/third-party/configs/TrustBadgesBear.js +8 -0
- package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
- package/dist/esm/third-party/helpers/thirdParty.js +1 -1
- package/dist/esm/third-party/next.js +61 -1
- package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
- package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
- package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
- package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
- package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
- package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
- package/dist/esm/third-party/setting/HextomCountdownTimerBar.js +124 -0
- package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
- package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
- package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
- package/dist/esm/third-party/setting/TrustBadgesBear.js +124 -0
- package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
- package/dist/esm/third-party/setting/index.js +226 -202
- package/dist/types/index.d.ts +204 -2
- package/package.json +2 -2
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import AppConfig from '../configs/AlsoBoughtCbb.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/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">',
|
|
7
|
+
editorConfigs: {
|
|
8
|
+
placeholder: {
|
|
9
|
+
flowPage: 'GP_PRODUCT'
|
|
10
|
+
},
|
|
11
|
+
component: {
|
|
12
|
+
isThirdParty: true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
presets: [
|
|
16
|
+
{
|
|
17
|
+
id: AppConfig.id,
|
|
18
|
+
name: {
|
|
19
|
+
en: AppConfig.label
|
|
20
|
+
},
|
|
21
|
+
hideTextContent: true,
|
|
22
|
+
icon: {
|
|
23
|
+
desktop: `<div class="w-full flex flex-col items-center">
|
|
24
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">
|
|
25
|
+
<span class="preset-item-title">Also Bought • CBB</span>
|
|
26
|
+
</div>`
|
|
27
|
+
},
|
|
28
|
+
components: [
|
|
29
|
+
{
|
|
30
|
+
tag: AppConfig.tag
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
settings: [
|
|
36
|
+
{
|
|
37
|
+
id: 'setting',
|
|
38
|
+
controls: [
|
|
39
|
+
{
|
|
40
|
+
id: 'install',
|
|
41
|
+
type: 'open-link',
|
|
42
|
+
target: '_blank',
|
|
43
|
+
linkType: 'install',
|
|
44
|
+
href: 'https://apps.shopify.com/also-bought?utm_source=gempages',
|
|
45
|
+
appName: AppConfig.label
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: 'openApp',
|
|
49
|
+
type: 'open-link',
|
|
50
|
+
target: '_blank',
|
|
51
|
+
linkType: 'openApp',
|
|
52
|
+
href: 'https://admin.shopify.com/?redirect=/apps/also-bought',
|
|
53
|
+
appName: AppConfig.label
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'guideId',
|
|
57
|
+
type: 'group'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'align',
|
|
61
|
+
label: 'Alignment',
|
|
62
|
+
type: 'segment',
|
|
63
|
+
options: [
|
|
64
|
+
{
|
|
65
|
+
label: 'Left',
|
|
66
|
+
value: 'left',
|
|
67
|
+
type: 'align'
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: 'Center',
|
|
71
|
+
value: 'center',
|
|
72
|
+
type: 'align'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: 'Right',
|
|
76
|
+
value: 'right',
|
|
77
|
+
type: 'align'
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
devices: {
|
|
81
|
+
desktop: {
|
|
82
|
+
default: 'left'
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
ui: [
|
|
90
|
+
{
|
|
91
|
+
type: 'control',
|
|
92
|
+
setting: {
|
|
93
|
+
id: 'install'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
type: 'control',
|
|
98
|
+
info: {
|
|
99
|
+
en: '<span>To make this element work, copy the class <strong>.gp-integration-also-bought__position</strong> and paste it into the Widget Location Selector input field in the Custom Location Product Page</span>'
|
|
100
|
+
},
|
|
101
|
+
setting: {
|
|
102
|
+
id: 'guideId'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'control',
|
|
107
|
+
setting: {
|
|
108
|
+
id: 'openApp'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'control',
|
|
113
|
+
label: {
|
|
114
|
+
en: 'Align'
|
|
115
|
+
},
|
|
116
|
+
setting: {
|
|
117
|
+
id: 'align'
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export { config as default };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import AppConfig from '../configs/BfSizeChartSizeGuide.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/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">',
|
|
7
|
+
editorConfigs: {
|
|
8
|
+
placeholder: {
|
|
9
|
+
flowPage: 'GP_PRODUCT'
|
|
10
|
+
},
|
|
11
|
+
component: {
|
|
12
|
+
isThirdParty: true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
presets: [
|
|
16
|
+
{
|
|
17
|
+
id: AppConfig.id,
|
|
18
|
+
name: {
|
|
19
|
+
en: AppConfig.label
|
|
20
|
+
},
|
|
21
|
+
hideTextContent: true,
|
|
22
|
+
icon: {
|
|
23
|
+
desktop: `<div class="w-full flex flex-col items-center">
|
|
24
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">
|
|
25
|
+
<span class="preset-item-title">BF Size Chart & Size Guide</span>
|
|
26
|
+
</div>`
|
|
27
|
+
},
|
|
28
|
+
components: [
|
|
29
|
+
{
|
|
30
|
+
tag: AppConfig.tag
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
settings: [
|
|
36
|
+
{
|
|
37
|
+
id: 'setting',
|
|
38
|
+
controls: [
|
|
39
|
+
{
|
|
40
|
+
id: 'appBlockId',
|
|
41
|
+
type: 'input',
|
|
42
|
+
default: ''
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'widgetType',
|
|
46
|
+
label: 'Choose widget',
|
|
47
|
+
type: 'select',
|
|
48
|
+
options: [
|
|
49
|
+
{
|
|
50
|
+
label: 'Block',
|
|
51
|
+
value: 'block'
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
default: 'block'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: 'install',
|
|
58
|
+
type: 'open-link',
|
|
59
|
+
target: '_blank',
|
|
60
|
+
linkType: 'install',
|
|
61
|
+
href: 'https://apps.shopify.com/best-fit-size-charts-size-guides?utm_source=gempages',
|
|
62
|
+
appName: AppConfig.label
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'openApp',
|
|
66
|
+
type: 'open-link',
|
|
67
|
+
target: '_blank',
|
|
68
|
+
linkType: 'openApp',
|
|
69
|
+
href: 'https://admin.shopify.com/?redirect=/apps/size-charts-by-relentless',
|
|
70
|
+
appName: AppConfig.label
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 'align',
|
|
74
|
+
label: 'Alignment',
|
|
75
|
+
type: 'segment',
|
|
76
|
+
options: [
|
|
77
|
+
{
|
|
78
|
+
label: 'Left',
|
|
79
|
+
value: 'left',
|
|
80
|
+
type: 'align'
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: 'Center',
|
|
84
|
+
value: 'center',
|
|
85
|
+
type: 'align'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
label: 'Right',
|
|
89
|
+
value: 'right',
|
|
90
|
+
type: 'align'
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
devices: {
|
|
94
|
+
desktop: {
|
|
95
|
+
default: 'left'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
ui: [
|
|
103
|
+
{
|
|
104
|
+
type: 'control',
|
|
105
|
+
setting: {
|
|
106
|
+
id: 'install'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'control',
|
|
111
|
+
setting: {
|
|
112
|
+
id: 'openApp'
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'control',
|
|
117
|
+
label: {
|
|
118
|
+
en: 'Align'
|
|
119
|
+
},
|
|
120
|
+
setting: {
|
|
121
|
+
id: 'align'
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
export { config as default };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import AppConfig from '../configs/EssentialAnnouncementBar.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/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.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/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png">
|
|
22
|
+
<span class="preset-item-title">Essential Announcement 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: 'App Block',
|
|
48
|
+
value: 'app-block'
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
default: 'app-block'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'install',
|
|
55
|
+
type: 'open-link',
|
|
56
|
+
target: '_blank',
|
|
57
|
+
linkType: 'install',
|
|
58
|
+
href: 'https://apps.shopify.com/essential-announcement-bar?utm_source=gempages',
|
|
59
|
+
appName: AppConfig.label
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'announcementId',
|
|
63
|
+
type: 'input',
|
|
64
|
+
default: ''
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'openApp',
|
|
68
|
+
type: 'open-link',
|
|
69
|
+
target: '_blank',
|
|
70
|
+
linkType: 'openApp',
|
|
71
|
+
href: 'https://admin.shopify.com/?redirect=/apps/essential-announcement-bar',
|
|
72
|
+
appName: AppConfig.label
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'align',
|
|
76
|
+
label: 'Alignment',
|
|
77
|
+
type: 'segment',
|
|
78
|
+
options: [
|
|
79
|
+
{
|
|
80
|
+
label: 'Left',
|
|
81
|
+
value: 'left',
|
|
82
|
+
type: 'align'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: 'Center',
|
|
86
|
+
value: 'center',
|
|
87
|
+
type: 'align'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: 'Right',
|
|
91
|
+
value: 'right',
|
|
92
|
+
type: 'align'
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
devices: {
|
|
96
|
+
desktop: {
|
|
97
|
+
default: 'left'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
ui: [
|
|
105
|
+
{
|
|
106
|
+
type: 'control',
|
|
107
|
+
setting: {
|
|
108
|
+
id: 'install'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'control',
|
|
113
|
+
label: {
|
|
114
|
+
en: 'Announcement id'
|
|
115
|
+
},
|
|
116
|
+
setting: {
|
|
117
|
+
id: 'announcementId'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'control',
|
|
122
|
+
setting: {
|
|
123
|
+
id: 'openApp'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: 'control',
|
|
128
|
+
label: {
|
|
129
|
+
en: 'Align'
|
|
130
|
+
},
|
|
131
|
+
setting: {
|
|
132
|
+
id: 'align'
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export { config as default };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import AppConfig from '../configs/EssentialCountdownTimerBar.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/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.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/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png">
|
|
22
|
+
<span class="preset-item-title">Essential 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: 'App Block',
|
|
48
|
+
value: 'app-block'
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
default: 'app-block'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'install',
|
|
55
|
+
type: 'open-link',
|
|
56
|
+
target: '_blank',
|
|
57
|
+
linkType: 'install',
|
|
58
|
+
href: 'https://apps.shopify.com/essential-countdown-timer?utm_source=gempages',
|
|
59
|
+
appName: AppConfig.label
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'timerId',
|
|
63
|
+
type: 'input',
|
|
64
|
+
default: ''
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'openApp',
|
|
68
|
+
type: 'open-link',
|
|
69
|
+
target: '_blank',
|
|
70
|
+
linkType: 'openApp',
|
|
71
|
+
href: 'https://admin.shopify.com/?redirect=/apps/countdown-timer-30',
|
|
72
|
+
appName: AppConfig.label
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'align',
|
|
76
|
+
label: 'Alignment',
|
|
77
|
+
type: 'segment',
|
|
78
|
+
options: [
|
|
79
|
+
{
|
|
80
|
+
label: 'Left',
|
|
81
|
+
value: 'left',
|
|
82
|
+
type: 'align'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: 'Center',
|
|
86
|
+
value: 'center',
|
|
87
|
+
type: 'align'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: 'Right',
|
|
91
|
+
value: 'right',
|
|
92
|
+
type: 'align'
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
devices: {
|
|
96
|
+
desktop: {
|
|
97
|
+
default: 'left'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
ui: [
|
|
105
|
+
{
|
|
106
|
+
type: 'control',
|
|
107
|
+
setting: {
|
|
108
|
+
id: 'install'
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'control',
|
|
113
|
+
label: {
|
|
114
|
+
en: 'Timer id'
|
|
115
|
+
},
|
|
116
|
+
setting: {
|
|
117
|
+
id: 'timerId'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'control',
|
|
122
|
+
setting: {
|
|
123
|
+
id: 'openApp'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: 'control',
|
|
128
|
+
label: {
|
|
129
|
+
en: 'Align'
|
|
130
|
+
},
|
|
131
|
+
setting: {
|
|
132
|
+
id: 'align'
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export { config as default };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import AppConfig from '../configs/EstimatedDeliveryDatePlus.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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg">',
|
|
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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg">
|
|
22
|
+
<span class="preset-item-title">Estimated Delivery Date ‑ Plus</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: 'Delivery_coder_theme',
|
|
48
|
+
value: 'delivery_coder_theme'
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
default: 'delivery_coder_theme'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'install',
|
|
55
|
+
type: 'open-link',
|
|
56
|
+
target: '_blank',
|
|
57
|
+
linkType: 'install',
|
|
58
|
+
href: 'https://apps.shopify.com/estimated-delivery-date-plus?utm_source=gempages',
|
|
59
|
+
appName: AppConfig.label
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'openApp',
|
|
63
|
+
type: 'open-link',
|
|
64
|
+
target: '_blank',
|
|
65
|
+
linkType: 'openApp',
|
|
66
|
+
href: 'https://admin.shopify.com/?redirect=/apps/estimated-delivery-date-plus',
|
|
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 };
|