@gem-sdk/components 2.0.8 → 2.0.9

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.
Files changed (80) hide show
  1. package/dist/cjs/builder.js +18 -0
  2. package/dist/cjs/index.js +18 -0
  3. package/dist/cjs/index.liquid.js +18 -0
  4. package/dist/cjs/third-party/components/AftershipEmailMarketingsms.js +32 -0
  5. package/dist/cjs/third-party/components/AftershipEmailMarketingsms.liquid.js +12 -0
  6. package/dist/cjs/third-party/components/BestBuyFulfillment.js +38 -0
  7. package/dist/cjs/third-party/components/BestBuyFulfillment.liquid.js +12 -0
  8. package/dist/cjs/third-party/components/HulkProductOptions.js +32 -0
  9. package/dist/cjs/third-party/components/HulkProductOptions.liquid.js +12 -0
  10. package/dist/cjs/third-party/components/MyappgurusProductReviews.js +32 -0
  11. package/dist/cjs/third-party/components/MyappgurusProductReviews.liquid.js +12 -0
  12. package/dist/cjs/third-party/components/ProductOptionsVariantOption.js +38 -0
  13. package/dist/cjs/third-party/components/ProductOptionsVariantOption.liquid.js +21 -0
  14. package/dist/cjs/third-party/components/SegunoEmailMarketing.js +32 -0
  15. package/dist/cjs/third-party/components/SegunoEmailMarketing.liquid.js +12 -0
  16. package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.js +32 -0
  17. package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.liquid.js +12 -0
  18. package/dist/cjs/third-party/components/TrustreviewsProductReviews.js +32 -0
  19. package/dist/cjs/third-party/components/TrustreviewsProductReviews.liquid.js +12 -0
  20. package/dist/cjs/third-party/components/TrustshopProductReviews.js +46 -0
  21. package/dist/cjs/third-party/components/TrustshopProductReviews.liquid.js +12 -0
  22. package/dist/cjs/third-party/configs/AftershipEmailMarketingsms.js +12 -0
  23. package/dist/cjs/third-party/configs/HulkProductOptions.js +12 -0
  24. package/dist/cjs/third-party/configs/MyappgurusProductReviews.js +12 -0
  25. package/dist/cjs/third-party/configs/SegunoEmailMarketing.js +12 -0
  26. package/dist/cjs/third-party/configs/SeoantTrustBadgesIcon.js +12 -0
  27. package/dist/cjs/third-party/configs/TrustreviewsProductReviews.js +12 -0
  28. package/dist/cjs/third-party/configs/TrustshopProductReviews.js +12 -0
  29. package/dist/cjs/third-party/next.js +45 -0
  30. package/dist/cjs/third-party/setting/AftershipEmailMarketingsms.js +160 -0
  31. package/dist/cjs/third-party/setting/BestBuyFulfillment.js +133 -0
  32. package/dist/cjs/third-party/setting/HulkProductOptions.js +131 -0
  33. package/dist/cjs/third-party/setting/MyappgurusProductReviews.js +171 -0
  34. package/dist/cjs/third-party/setting/ProductOptionsVariantOption.js +131 -0
  35. package/dist/cjs/third-party/setting/SegunoEmailMarketing.js +152 -0
  36. package/dist/cjs/third-party/setting/SeoantTrustBadgesIcon.js +142 -0
  37. package/dist/cjs/third-party/setting/TrustreviewsProductReviews.js +210 -0
  38. package/dist/cjs/third-party/setting/TrustshopProductReviews.js +159 -0
  39. package/dist/cjs/third-party/setting/index.js +18 -0
  40. package/dist/esm/builder.js +18 -0
  41. package/dist/esm/index.js +9 -0
  42. package/dist/esm/index.liquid.js +9 -0
  43. package/dist/esm/third-party/components/AftershipEmailMarketingsms.js +28 -0
  44. package/dist/esm/third-party/components/AftershipEmailMarketingsms.liquid.js +8 -0
  45. package/dist/esm/third-party/components/BestBuyFulfillment.js +33 -0
  46. package/dist/esm/third-party/components/BestBuyFulfillment.liquid.js +8 -0
  47. package/dist/esm/third-party/components/HulkProductOptions.js +28 -0
  48. package/dist/esm/third-party/components/HulkProductOptions.liquid.js +8 -0
  49. package/dist/esm/third-party/components/MyappgurusProductReviews.js +28 -0
  50. package/dist/esm/third-party/components/MyappgurusProductReviews.liquid.js +8 -0
  51. package/dist/esm/third-party/components/ProductOptionsVariantOption.js +33 -0
  52. package/dist/esm/third-party/components/ProductOptionsVariantOption.liquid.js +17 -0
  53. package/dist/esm/third-party/components/SegunoEmailMarketing.js +28 -0
  54. package/dist/esm/third-party/components/SegunoEmailMarketing.liquid.js +8 -0
  55. package/dist/esm/third-party/components/SeoantTrustBadgesIcon.js +28 -0
  56. package/dist/esm/third-party/components/SeoantTrustBadgesIcon.liquid.js +8 -0
  57. package/dist/esm/third-party/components/TrustreviewsProductReviews.js +28 -0
  58. package/dist/esm/third-party/components/TrustreviewsProductReviews.liquid.js +8 -0
  59. package/dist/esm/third-party/components/TrustshopProductReviews.js +42 -0
  60. package/dist/esm/third-party/components/TrustshopProductReviews.liquid.js +8 -0
  61. package/dist/esm/third-party/configs/AftershipEmailMarketingsms.js +8 -0
  62. package/dist/esm/third-party/configs/HulkProductOptions.js +8 -0
  63. package/dist/esm/third-party/configs/MyappgurusProductReviews.js +8 -0
  64. package/dist/esm/third-party/configs/SegunoEmailMarketing.js +8 -0
  65. package/dist/esm/third-party/configs/SeoantTrustBadgesIcon.js +8 -0
  66. package/dist/esm/third-party/configs/TrustreviewsProductReviews.js +8 -0
  67. package/dist/esm/third-party/configs/TrustshopProductReviews.js +8 -0
  68. package/dist/esm/third-party/next.js +45 -0
  69. package/dist/esm/third-party/setting/AftershipEmailMarketingsms.js +156 -0
  70. package/dist/esm/third-party/setting/BestBuyFulfillment.js +129 -0
  71. package/dist/esm/third-party/setting/HulkProductOptions.js +127 -0
  72. package/dist/esm/third-party/setting/MyappgurusProductReviews.js +167 -0
  73. package/dist/esm/third-party/setting/ProductOptionsVariantOption.js +127 -0
  74. package/dist/esm/third-party/setting/SegunoEmailMarketing.js +148 -0
  75. package/dist/esm/third-party/setting/SeoantTrustBadgesIcon.js +138 -0
  76. package/dist/esm/third-party/setting/TrustreviewsProductReviews.js +206 -0
  77. package/dist/esm/third-party/setting/TrustshopProductReviews.js +155 -0
  78. package/dist/esm/third-party/setting/index.js +202 -184
  79. package/dist/types/index.d.ts +147 -1
  80. package/package.json +2 -2
@@ -0,0 +1,206 @@
1
+ import AppConfig from '../configs/TrustreviewsProductReviews.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/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.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/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.png">
22
+ <span class="preset-item-title">TrustReviews: Product Reviews</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: 'Review Carousel',
48
+ value: 'review-carousel'
49
+ },
50
+ {
51
+ label: 'Q&A Widget',
52
+ value: 'questions_widget',
53
+ hideOnPage: [
54
+ 'ARTICLE',
55
+ 'BLOG',
56
+ 'COLLECTION',
57
+ 'GP_ARTICLE',
58
+ 'GP_BLOG',
59
+ 'GP_COLLECTION',
60
+ 'GP_STATIC',
61
+ 'STATIC',
62
+ 'GP_INDEX'
63
+ ]
64
+ },
65
+ {
66
+ label: 'Review Text Widget',
67
+ value: 'reviews_text_widget'
68
+ },
69
+ {
70
+ label: 'Reviews Widget',
71
+ value: 'reviews_widget',
72
+ hideOnPage: [
73
+ 'ARTICLE',
74
+ 'BLOG',
75
+ 'COLLECTION',
76
+ 'GP_ARTICLE',
77
+ 'GP_BLOG',
78
+ 'GP_COLLECTION',
79
+ 'GP_STATIC',
80
+ 'STATIC',
81
+ 'GP_INDEX'
82
+ ]
83
+ },
84
+ {
85
+ label: 'Shop Reviews',
86
+ value: 'shop_reviews_widget'
87
+ },
88
+ {
89
+ label: 'Star Ratings',
90
+ value: 'star_rating',
91
+ hideOnPage: [
92
+ 'ARTICLE',
93
+ 'BLOG',
94
+ 'COLLECTION',
95
+ 'GP_ARTICLE',
96
+ 'GP_BLOG',
97
+ 'GP_COLLECTION',
98
+ 'GP_STATIC',
99
+ 'STATIC',
100
+ 'GP_INDEX'
101
+ ]
102
+ },
103
+ {
104
+ label: 'Testimonials Carousel',
105
+ value: 'reviews-testimonials'
106
+ },
107
+ {
108
+ label: 'Testimonials Widget',
109
+ value: 'all_reviews_widget'
110
+ },
111
+ {
112
+ label: 'TrustReview Cards',
113
+ value: 'review-cards'
114
+ },
115
+ {
116
+ label: 'TrustReview Gallery',
117
+ value: 'review-gallery'
118
+ },
119
+ {
120
+ label: 'TrustReview Medals',
121
+ value: 'medals'
122
+ }
123
+ ],
124
+ default: 'review-carousel'
125
+ },
126
+ {
127
+ id: 'install',
128
+ type: 'open-link',
129
+ target: '_blank',
130
+ linkType: 'install',
131
+ href: 'https://apps.shopify.com/trustreviews?utm_source=gempages',
132
+ appName: AppConfig.label
133
+ },
134
+ {
135
+ id: 'openApp',
136
+ type: 'open-link',
137
+ target: '_blank',
138
+ linkType: 'openApp',
139
+ href: 'https://admin.shopify.com/?redirect=/apps/reevo',
140
+ appName: AppConfig.label
141
+ },
142
+ {
143
+ id: 'align',
144
+ label: 'Alignment',
145
+ type: 'segment',
146
+ options: [
147
+ {
148
+ label: 'Left',
149
+ value: 'left',
150
+ type: 'align'
151
+ },
152
+ {
153
+ label: 'Center',
154
+ value: 'center',
155
+ type: 'align'
156
+ },
157
+ {
158
+ label: 'Right',
159
+ value: 'right',
160
+ type: 'align'
161
+ }
162
+ ],
163
+ devices: {
164
+ desktop: {
165
+ default: 'left'
166
+ }
167
+ }
168
+ }
169
+ ]
170
+ }
171
+ ],
172
+ ui: [
173
+ {
174
+ type: 'control',
175
+ setting: {
176
+ id: 'install'
177
+ }
178
+ },
179
+ {
180
+ type: 'control',
181
+ setting: {
182
+ id: 'widgetType'
183
+ },
184
+ label: {
185
+ en: 'Choose widget'
186
+ }
187
+ },
188
+ {
189
+ type: 'control',
190
+ setting: {
191
+ id: 'openApp'
192
+ }
193
+ },
194
+ {
195
+ type: 'control',
196
+ label: {
197
+ en: 'Align'
198
+ },
199
+ setting: {
200
+ id: 'align'
201
+ }
202
+ }
203
+ ]
204
+ };
205
+
206
+ export { config as default };
@@ -0,0 +1,155 @@
1
+ import AppConfig from '../configs/TrustshopProductReviews.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/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowTag: [
10
+ 'Product'
11
+ ]
12
+ },
13
+ component: {
14
+ isThirdParty: true
15
+ }
16
+ },
17
+ presets: [
18
+ {
19
+ id: AppConfig.id,
20
+ name: {
21
+ en: AppConfig.label
22
+ },
23
+ hideTextContent: true,
24
+ icon: {
25
+ desktop: `<div class="w-full flex flex-col items-center">
26
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png">
27
+ <span class="preset-item-title">TrustShop: Product Reviews</span>
28
+ </div>`
29
+ },
30
+ components: [
31
+ {
32
+ tag: AppConfig.tag
33
+ }
34
+ ]
35
+ }
36
+ ],
37
+ settings: [
38
+ {
39
+ id: 'setting',
40
+ controls: [
41
+ {
42
+ id: 'appBlockId',
43
+ type: 'input',
44
+ default: ''
45
+ },
46
+ {
47
+ id: 'productHandle',
48
+ type: 'product-handle',
49
+ hide: true
50
+ },
51
+ {
52
+ id: 'widgetType',
53
+ label: 'Choose widget',
54
+ type: 'select',
55
+ options: [
56
+ {
57
+ label: 'Widget Product Rating',
58
+ value: 'widget-product-rating'
59
+ },
60
+ {
61
+ label: 'All Reviews',
62
+ value: 'all-reviews'
63
+ },
64
+ {
65
+ label: 'Widget Box',
66
+ value: 'widget-box'
67
+ },
68
+ {
69
+ label: 'Review Testimonial',
70
+ value: 'review-testimonial'
71
+ }
72
+ ],
73
+ default: 'widget-product-rating'
74
+ },
75
+ {
76
+ id: 'install',
77
+ type: 'open-link',
78
+ target: '_blank',
79
+ linkType: 'install',
80
+ href: 'https://apps.shopify.com/trustshop?utm_source=gempages',
81
+ appName: AppConfig.label
82
+ },
83
+ {
84
+ id: 'openApp',
85
+ type: 'open-link',
86
+ target: '_blank',
87
+ linkType: 'openApp',
88
+ href: '',
89
+ appName: AppConfig.label
90
+ },
91
+ {
92
+ id: 'align',
93
+ label: 'Alignment',
94
+ type: 'segment',
95
+ options: [
96
+ {
97
+ label: 'Left',
98
+ value: 'left',
99
+ type: 'align'
100
+ },
101
+ {
102
+ label: 'Center',
103
+ value: 'center',
104
+ type: 'align'
105
+ },
106
+ {
107
+ label: 'Right',
108
+ value: 'right',
109
+ type: 'align'
110
+ }
111
+ ],
112
+ devices: {
113
+ desktop: {
114
+ default: 'left'
115
+ }
116
+ }
117
+ }
118
+ ]
119
+ }
120
+ ],
121
+ ui: [
122
+ {
123
+ type: 'control',
124
+ setting: {
125
+ id: 'install'
126
+ }
127
+ },
128
+ {
129
+ type: "control",
130
+ label: {
131
+ en: "Choose widget"
132
+ },
133
+ setting: {
134
+ id: "widgetType"
135
+ }
136
+ },
137
+ {
138
+ type: 'control',
139
+ setting: {
140
+ id: 'openApp'
141
+ }
142
+ },
143
+ {
144
+ type: 'control',
145
+ label: {
146
+ en: 'Align'
147
+ },
148
+ setting: {
149
+ id: 'align'
150
+ }
151
+ }
152
+ ]
153
+ };
154
+
155
+ export { config as default };