@gem-sdk/components 2.0.8 → 2.0.10
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 +18 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/index.liquid.js +18 -0
- package/dist/cjs/third-party/components/AftershipEmailMarketingsms.js +32 -0
- package/dist/cjs/third-party/components/AftershipEmailMarketingsms.liquid.js +12 -0
- package/dist/cjs/third-party/components/BestBuyFulfillment.js +38 -0
- package/dist/cjs/third-party/components/BestBuyFulfillment.liquid.js +12 -0
- package/dist/cjs/third-party/components/HulkProductOptions.js +32 -0
- package/dist/cjs/third-party/components/HulkProductOptions.liquid.js +12 -0
- package/dist/cjs/third-party/components/MyappgurusProductReviews.js +32 -0
- package/dist/cjs/third-party/components/MyappgurusProductReviews.liquid.js +12 -0
- package/dist/cjs/third-party/components/ProductOptionsVariantOption.js +38 -0
- package/dist/cjs/third-party/components/ProductOptionsVariantOption.liquid.js +21 -0
- package/dist/cjs/third-party/components/SegunoEmailMarketing.js +32 -0
- package/dist/cjs/third-party/components/SegunoEmailMarketing.liquid.js +12 -0
- package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.js +32 -0
- package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.liquid.js +12 -0
- package/dist/cjs/third-party/components/TrustreviewsProductReviews.js +32 -0
- package/dist/cjs/third-party/components/TrustreviewsProductReviews.liquid.js +12 -0
- package/dist/cjs/third-party/components/TrustshopProductReviews.js +46 -0
- package/dist/cjs/third-party/components/TrustshopProductReviews.liquid.js +12 -0
- package/dist/cjs/third-party/configs/AftershipEmailMarketingsms.js +12 -0
- package/dist/cjs/third-party/configs/HulkProductOptions.js +12 -0
- package/dist/cjs/third-party/configs/MyappgurusProductReviews.js +12 -0
- package/dist/cjs/third-party/configs/SegunoEmailMarketing.js +12 -0
- package/dist/cjs/third-party/configs/SeoantTrustBadgesIcon.js +12 -0
- package/dist/cjs/third-party/configs/TrustreviewsProductReviews.js +12 -0
- package/dist/cjs/third-party/configs/TrustshopProductReviews.js +12 -0
- package/dist/cjs/third-party/next.js +45 -0
- package/dist/cjs/third-party/setting/AftershipEmailMarketingsms.js +160 -0
- package/dist/cjs/third-party/setting/BestBuyFulfillment.js +133 -0
- package/dist/cjs/third-party/setting/HulkProductOptions.js +131 -0
- package/dist/cjs/third-party/setting/MyappgurusProductReviews.js +171 -0
- package/dist/cjs/third-party/setting/ProductOptionsVariantOption.js +131 -0
- package/dist/cjs/third-party/setting/SegunoEmailMarketing.js +152 -0
- package/dist/cjs/third-party/setting/SeoantTrustBadgesIcon.js +142 -0
- package/dist/cjs/third-party/setting/TrustreviewsProductReviews.js +210 -0
- package/dist/cjs/third-party/setting/TrustshopProductReviews.js +159 -0
- package/dist/cjs/third-party/setting/index.js +18 -0
- package/dist/esm/builder.js +18 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.liquid.js +9 -0
- package/dist/esm/third-party/components/AftershipEmailMarketingsms.js +28 -0
- package/dist/esm/third-party/components/AftershipEmailMarketingsms.liquid.js +8 -0
- package/dist/esm/third-party/components/BestBuyFulfillment.js +33 -0
- package/dist/esm/third-party/components/BestBuyFulfillment.liquid.js +8 -0
- package/dist/esm/third-party/components/HulkProductOptions.js +28 -0
- package/dist/esm/third-party/components/HulkProductOptions.liquid.js +8 -0
- package/dist/esm/third-party/components/MyappgurusProductReviews.js +28 -0
- package/dist/esm/third-party/components/MyappgurusProductReviews.liquid.js +8 -0
- package/dist/esm/third-party/components/ProductOptionsVariantOption.js +33 -0
- package/dist/esm/third-party/components/ProductOptionsVariantOption.liquid.js +17 -0
- package/dist/esm/third-party/components/SegunoEmailMarketing.js +28 -0
- package/dist/esm/third-party/components/SegunoEmailMarketing.liquid.js +8 -0
- package/dist/esm/third-party/components/SeoantTrustBadgesIcon.js +28 -0
- package/dist/esm/third-party/components/SeoantTrustBadgesIcon.liquid.js +8 -0
- package/dist/esm/third-party/components/TrustreviewsProductReviews.js +28 -0
- package/dist/esm/third-party/components/TrustreviewsProductReviews.liquid.js +8 -0
- package/dist/esm/third-party/components/TrustshopProductReviews.js +42 -0
- package/dist/esm/third-party/components/TrustshopProductReviews.liquid.js +8 -0
- package/dist/esm/third-party/configs/AftershipEmailMarketingsms.js +8 -0
- package/dist/esm/third-party/configs/HulkProductOptions.js +8 -0
- package/dist/esm/third-party/configs/MyappgurusProductReviews.js +8 -0
- package/dist/esm/third-party/configs/SegunoEmailMarketing.js +8 -0
- package/dist/esm/third-party/configs/SeoantTrustBadgesIcon.js +8 -0
- package/dist/esm/third-party/configs/TrustreviewsProductReviews.js +8 -0
- package/dist/esm/third-party/configs/TrustshopProductReviews.js +8 -0
- package/dist/esm/third-party/next.js +45 -0
- package/dist/esm/third-party/setting/AftershipEmailMarketingsms.js +156 -0
- package/dist/esm/third-party/setting/BestBuyFulfillment.js +129 -0
- package/dist/esm/third-party/setting/HulkProductOptions.js +127 -0
- package/dist/esm/third-party/setting/MyappgurusProductReviews.js +167 -0
- package/dist/esm/third-party/setting/ProductOptionsVariantOption.js +127 -0
- package/dist/esm/third-party/setting/SegunoEmailMarketing.js +148 -0
- package/dist/esm/third-party/setting/SeoantTrustBadgesIcon.js +138 -0
- package/dist/esm/third-party/setting/TrustreviewsProductReviews.js +206 -0
- package/dist/esm/third-party/setting/TrustshopProductReviews.js +155 -0
- package/dist/esm/third-party/setting/index.js +202 -184
- package/dist/types/index.d.ts +147 -1
- package/package.json +2 -2
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ProductOptionsVariantOption = require('../components/ProductOptionsVariantOption.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: ProductOptionsVariantOption.AppConfig.tag,
|
|
9
|
+
label: ProductOptionsVariantOption.AppConfig.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/5ee1f244b087cfbec9b19c8b3f62c8f6/icon/CMCq1s7J5vQCEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
placeholder: {
|
|
13
|
+
flowTag: [
|
|
14
|
+
'Product'
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
component: {
|
|
18
|
+
isThirdParty: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
presets: [
|
|
22
|
+
{
|
|
23
|
+
id: ProductOptionsVariantOption.AppConfig.id,
|
|
24
|
+
name: {
|
|
25
|
+
en: ProductOptionsVariantOption.AppConfig.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/5ee1f244b087cfbec9b19c8b3f62c8f6/icon/CMCq1s7J5vQCEAE=.png">
|
|
31
|
+
<span class="preset-item-title">Product Options Variant Option</span>
|
|
32
|
+
</div>`
|
|
33
|
+
},
|
|
34
|
+
components: [
|
|
35
|
+
{
|
|
36
|
+
tag: ProductOptionsVariantOption.AppConfig.tag
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
settings: [
|
|
42
|
+
{
|
|
43
|
+
id: 'setting',
|
|
44
|
+
controls: [
|
|
45
|
+
{
|
|
46
|
+
id: 'install',
|
|
47
|
+
type: 'open-link',
|
|
48
|
+
target: '_blank',
|
|
49
|
+
linkType: 'install',
|
|
50
|
+
href: 'https://apps.shopify.com/avisplus-product-options?utm_source=gempages',
|
|
51
|
+
appName: ProductOptionsVariantOption.AppConfig.label
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'idTrigger',
|
|
55
|
+
type: 'input',
|
|
56
|
+
label: '',
|
|
57
|
+
placeholder: 'eg: .product-form__buttons'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'openApp',
|
|
61
|
+
type: 'open-link',
|
|
62
|
+
target: '_blank',
|
|
63
|
+
linkType: 'openApp',
|
|
64
|
+
href: 'https://admin.shopify.com/?redirect=/apps/avisplus_options',
|
|
65
|
+
appName: ProductOptionsVariantOption.AppConfig.label
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: 'align',
|
|
69
|
+
label: 'Alignment',
|
|
70
|
+
type: 'segment',
|
|
71
|
+
options: [
|
|
72
|
+
{
|
|
73
|
+
label: 'Left',
|
|
74
|
+
value: 'left',
|
|
75
|
+
type: 'align'
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: 'Center',
|
|
79
|
+
value: 'center',
|
|
80
|
+
type: 'align'
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: 'Right',
|
|
84
|
+
value: 'right',
|
|
85
|
+
type: 'align'
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
devices: {
|
|
89
|
+
desktop: {
|
|
90
|
+
default: 'left'
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
ui: [
|
|
98
|
+
{
|
|
99
|
+
type: 'control',
|
|
100
|
+
setting: {
|
|
101
|
+
id: 'install'
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'control',
|
|
106
|
+
setting: {
|
|
107
|
+
id: 'openApp'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'control',
|
|
112
|
+
setting: {
|
|
113
|
+
id: 'idTrigger'
|
|
114
|
+
},
|
|
115
|
+
label: {
|
|
116
|
+
en: 'ID Element'
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'control',
|
|
121
|
+
label: {
|
|
122
|
+
en: 'Align'
|
|
123
|
+
},
|
|
124
|
+
setting: {
|
|
125
|
+
id: 'align'
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
exports.default = config;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SegunoEmailMarketing = require('../configs/SegunoEmailMarketing.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: SegunoEmailMarketing.default.tag,
|
|
9
|
+
label: SegunoEmailMarketing.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/b6c8035c51d734fa4f88beb66b94a2d5/icon/CMG5orL0lu8CEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: SegunoEmailMarketing.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: SegunoEmailMarketing.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/b6c8035c51d734fa4f88beb66b94a2d5/icon/CMG5orL0lu8CEAE=.png">
|
|
26
|
+
<span class="preset-item-title">Seguno Email Marketing</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: SegunoEmailMarketing.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: 'Back in stock',
|
|
52
|
+
value: 'back_in_stock',
|
|
53
|
+
hideOnPage: [
|
|
54
|
+
'ARTICLE',
|
|
55
|
+
'BLOG',
|
|
56
|
+
'COLLECTION',
|
|
57
|
+
'GP_ARTICLE',
|
|
58
|
+
'GP_BLOG',
|
|
59
|
+
'GP_COLLECTION',
|
|
60
|
+
'GP_INDEX',
|
|
61
|
+
'GP_STATIC',
|
|
62
|
+
'STATIC'
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: 'Newsletter form',
|
|
67
|
+
value: 'newsletter_form'
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
default: 'back_in_stock'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 'install',
|
|
74
|
+
type: 'open-link',
|
|
75
|
+
target: '_blank',
|
|
76
|
+
linkType: 'install',
|
|
77
|
+
href: 'https://apps.shopify.com/seguno?utm_source=gempages',
|
|
78
|
+
appName: SegunoEmailMarketing.default.label
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'openApp',
|
|
82
|
+
type: 'open-link',
|
|
83
|
+
target: '_blank',
|
|
84
|
+
linkType: 'openApp',
|
|
85
|
+
href: 'https://admin.shopify.com/?redirect=/apps/seguno',
|
|
86
|
+
appName: SegunoEmailMarketing.default.label
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: 'align',
|
|
90
|
+
label: 'Alignment',
|
|
91
|
+
type: 'segment',
|
|
92
|
+
options: [
|
|
93
|
+
{
|
|
94
|
+
label: 'Left',
|
|
95
|
+
value: 'left',
|
|
96
|
+
type: 'align'
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: 'Center',
|
|
100
|
+
value: 'center',
|
|
101
|
+
type: 'align'
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: 'Right',
|
|
105
|
+
value: 'right',
|
|
106
|
+
type: 'align'
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
devices: {
|
|
110
|
+
desktop: {
|
|
111
|
+
default: 'left'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
ui: [
|
|
119
|
+
{
|
|
120
|
+
type: 'control',
|
|
121
|
+
setting: {
|
|
122
|
+
id: 'install'
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'control',
|
|
127
|
+
label: {
|
|
128
|
+
en: 'Choose widget'
|
|
129
|
+
},
|
|
130
|
+
setting: {
|
|
131
|
+
id: 'widgetType'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'control',
|
|
136
|
+
setting: {
|
|
137
|
+
id: 'openApp'
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'control',
|
|
142
|
+
label: {
|
|
143
|
+
en: 'Align'
|
|
144
|
+
},
|
|
145
|
+
setting: {
|
|
146
|
+
id: 'align'
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
exports.default = config;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SeoantTrustBadgesIcon = require('../configs/SeoantTrustBadgesIcon.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: SeoantTrustBadgesIcon.default.tag,
|
|
9
|
+
label: SeoantTrustBadgesIcon.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/6baee2749b9ede050c5235f5ad143bb7/icon/CMOhyp-BrocDEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: SeoantTrustBadgesIcon.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: SeoantTrustBadgesIcon.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/6baee2749b9ede050c5235f5ad143bb7/icon/CMOhyp-BrocDEAE=.png">
|
|
26
|
+
<span class="preset-item-title">SEOAnt ‑ Trust Badges & Icon</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: SeoantTrustBadgesIcon.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: 'BadgeId',
|
|
47
|
+
type: 'input',
|
|
48
|
+
default: ''
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 'widgetType',
|
|
52
|
+
label: 'Choose widget',
|
|
53
|
+
type: 'select',
|
|
54
|
+
options: [
|
|
55
|
+
{
|
|
56
|
+
label: 'Star_rating',
|
|
57
|
+
value: 'star_rating'
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
default: 'star_rating'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'install',
|
|
64
|
+
type: 'open-link',
|
|
65
|
+
target: '_blank',
|
|
66
|
+
linkType: 'install',
|
|
67
|
+
href: 'https://apps.shopify.com/trust-badge-by-giraffly?utm_source=gempages',
|
|
68
|
+
appName: SeoantTrustBadgesIcon.default.label
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 'openApp',
|
|
72
|
+
type: 'open-link',
|
|
73
|
+
target: '_blank',
|
|
74
|
+
linkType: 'openApp',
|
|
75
|
+
href: 'https://admin.shopify.com/?redirect=/apps/trust-cart',
|
|
76
|
+
appName: SeoantTrustBadgesIcon.default.label
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 'align',
|
|
80
|
+
label: 'Alignment',
|
|
81
|
+
type: 'segment',
|
|
82
|
+
options: [
|
|
83
|
+
{
|
|
84
|
+
label: 'Left',
|
|
85
|
+
value: 'left',
|
|
86
|
+
type: 'align'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Center',
|
|
90
|
+
value: 'center',
|
|
91
|
+
type: 'align'
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: 'Right',
|
|
95
|
+
value: 'right',
|
|
96
|
+
type: 'align'
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
devices: {
|
|
100
|
+
desktop: {
|
|
101
|
+
default: 'left'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
ui: [
|
|
109
|
+
{
|
|
110
|
+
type: 'control',
|
|
111
|
+
setting: {
|
|
112
|
+
id: 'install'
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'control',
|
|
117
|
+
setting: {
|
|
118
|
+
id: 'BadgeId'
|
|
119
|
+
},
|
|
120
|
+
label: {
|
|
121
|
+
en: 'Badge ID'
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'control',
|
|
126
|
+
setting: {
|
|
127
|
+
id: 'openApp'
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: 'control',
|
|
132
|
+
label: {
|
|
133
|
+
en: 'Align'
|
|
134
|
+
},
|
|
135
|
+
setting: {
|
|
136
|
+
id: 'align'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
exports.default = config;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var TrustreviewsProductReviews = require('../configs/TrustreviewsProductReviews.js');
|
|
6
|
+
|
|
7
|
+
const config = {
|
|
8
|
+
tag: TrustreviewsProductReviews.default.tag,
|
|
9
|
+
label: TrustreviewsProductReviews.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/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.png">',
|
|
11
|
+
editorConfigs: {
|
|
12
|
+
component: {
|
|
13
|
+
isThirdParty: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
presets: [
|
|
17
|
+
{
|
|
18
|
+
id: TrustreviewsProductReviews.default.id,
|
|
19
|
+
name: {
|
|
20
|
+
en: TrustreviewsProductReviews.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/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.png">
|
|
26
|
+
<span class="preset-item-title">TrustReviews: Product Reviews</span>
|
|
27
|
+
</div>`
|
|
28
|
+
},
|
|
29
|
+
components: [
|
|
30
|
+
{
|
|
31
|
+
tag: TrustreviewsProductReviews.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: 'Review Carousel',
|
|
52
|
+
value: 'review-carousel'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: 'Q&A Widget',
|
|
56
|
+
value: 'questions_widget',
|
|
57
|
+
hideOnPage: [
|
|
58
|
+
'ARTICLE',
|
|
59
|
+
'BLOG',
|
|
60
|
+
'COLLECTION',
|
|
61
|
+
'GP_ARTICLE',
|
|
62
|
+
'GP_BLOG',
|
|
63
|
+
'GP_COLLECTION',
|
|
64
|
+
'GP_STATIC',
|
|
65
|
+
'STATIC',
|
|
66
|
+
'GP_INDEX'
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: 'Review Text Widget',
|
|
71
|
+
value: 'reviews_text_widget'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: 'Reviews Widget',
|
|
75
|
+
value: 'reviews_widget',
|
|
76
|
+
hideOnPage: [
|
|
77
|
+
'ARTICLE',
|
|
78
|
+
'BLOG',
|
|
79
|
+
'COLLECTION',
|
|
80
|
+
'GP_ARTICLE',
|
|
81
|
+
'GP_BLOG',
|
|
82
|
+
'GP_COLLECTION',
|
|
83
|
+
'GP_STATIC',
|
|
84
|
+
'STATIC',
|
|
85
|
+
'GP_INDEX'
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Shop Reviews',
|
|
90
|
+
value: 'shop_reviews_widget'
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: 'Star Ratings',
|
|
94
|
+
value: 'star_rating',
|
|
95
|
+
hideOnPage: [
|
|
96
|
+
'ARTICLE',
|
|
97
|
+
'BLOG',
|
|
98
|
+
'COLLECTION',
|
|
99
|
+
'GP_ARTICLE',
|
|
100
|
+
'GP_BLOG',
|
|
101
|
+
'GP_COLLECTION',
|
|
102
|
+
'GP_STATIC',
|
|
103
|
+
'STATIC',
|
|
104
|
+
'GP_INDEX'
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
label: 'Testimonials Carousel',
|
|
109
|
+
value: 'reviews-testimonials'
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
label: 'Testimonials Widget',
|
|
113
|
+
value: 'all_reviews_widget'
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: 'TrustReview Cards',
|
|
117
|
+
value: 'review-cards'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: 'TrustReview Gallery',
|
|
121
|
+
value: 'review-gallery'
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: 'TrustReview Medals',
|
|
125
|
+
value: 'medals'
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
default: 'review-carousel'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: 'install',
|
|
132
|
+
type: 'open-link',
|
|
133
|
+
target: '_blank',
|
|
134
|
+
linkType: 'install',
|
|
135
|
+
href: 'https://apps.shopify.com/trustreviews?utm_source=gempages',
|
|
136
|
+
appName: TrustreviewsProductReviews.default.label
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: 'openApp',
|
|
140
|
+
type: 'open-link',
|
|
141
|
+
target: '_blank',
|
|
142
|
+
linkType: 'openApp',
|
|
143
|
+
href: 'https://admin.shopify.com/?redirect=/apps/reevo',
|
|
144
|
+
appName: TrustreviewsProductReviews.default.label
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: 'align',
|
|
148
|
+
label: 'Alignment',
|
|
149
|
+
type: 'segment',
|
|
150
|
+
options: [
|
|
151
|
+
{
|
|
152
|
+
label: 'Left',
|
|
153
|
+
value: 'left',
|
|
154
|
+
type: 'align'
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: 'Center',
|
|
158
|
+
value: 'center',
|
|
159
|
+
type: 'align'
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: 'Right',
|
|
163
|
+
value: 'right',
|
|
164
|
+
type: 'align'
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
devices: {
|
|
168
|
+
desktop: {
|
|
169
|
+
default: 'left'
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
ui: [
|
|
177
|
+
{
|
|
178
|
+
type: 'control',
|
|
179
|
+
setting: {
|
|
180
|
+
id: 'install'
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
type: 'control',
|
|
185
|
+
setting: {
|
|
186
|
+
id: 'widgetType'
|
|
187
|
+
},
|
|
188
|
+
label: {
|
|
189
|
+
en: 'Choose widget'
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: 'control',
|
|
194
|
+
setting: {
|
|
195
|
+
id: 'openApp'
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
type: 'control',
|
|
200
|
+
label: {
|
|
201
|
+
en: 'Align'
|
|
202
|
+
},
|
|
203
|
+
setting: {
|
|
204
|
+
id: 'align'
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
exports.default = config;
|