@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,167 @@
1
+ import AppConfig from '../configs/MyappgurusProductReviews.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/772b08d7aeeedd29dda48e1bbf1918bd/icon/CL2ZuMKHpv4CEAE=.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/772b08d7aeeedd29dda48e1bbf1918bd/icon/CL2ZuMKHpv4CEAE=.jpeg">
22
+ <span class="preset-item-title">MyAppGurus 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: 'All Reviews',
48
+ value: 'allReviews'
49
+ },
50
+ {
51
+ label: 'All Reviews Counter',
52
+ value: 'allReviewsCounter'
53
+ },
54
+ {
55
+ label: 'Review Form',
56
+ value: 'form',
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: 'Star',
71
+ value: 'star',
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
+ default: 'allReviews'
86
+ },
87
+ {
88
+ id: 'install',
89
+ type: 'open-link',
90
+ target: '_blank',
91
+ linkType: 'install',
92
+ href: 'https://apps.shopify.com/product-review-myappgurus?utm_source=gempages',
93
+ appName: AppConfig.label
94
+ },
95
+ {
96
+ id: 'openApp',
97
+ type: 'open-link',
98
+ target: '_blank',
99
+ linkType: 'openApp',
100
+ href: 'https://admin.shopify.com/?redirect=/apps/product-review-myappgurus',
101
+ appName: AppConfig.label
102
+ },
103
+ {
104
+ id: 'align',
105
+ label: 'Alignment',
106
+ type: 'segment',
107
+ options: [
108
+ {
109
+ label: 'Left',
110
+ value: 'left',
111
+ type: 'align'
112
+ },
113
+ {
114
+ label: 'Center',
115
+ value: 'center',
116
+ type: 'align'
117
+ },
118
+ {
119
+ label: 'Right',
120
+ value: 'right',
121
+ type: 'align'
122
+ }
123
+ ],
124
+ devices: {
125
+ desktop: {
126
+ default: 'left'
127
+ }
128
+ }
129
+ }
130
+ ]
131
+ }
132
+ ],
133
+ ui: [
134
+ {
135
+ type: 'control',
136
+ setting: {
137
+ id: 'install'
138
+ }
139
+ },
140
+ {
141
+ type: 'control',
142
+ setting: {
143
+ id: 'widgetType'
144
+ },
145
+ label: {
146
+ en: 'Choose widget'
147
+ }
148
+ },
149
+ {
150
+ type: 'control',
151
+ setting: {
152
+ id: 'openApp'
153
+ }
154
+ },
155
+ {
156
+ type: 'control',
157
+ label: {
158
+ en: 'Align'
159
+ },
160
+ setting: {
161
+ id: 'align'
162
+ }
163
+ }
164
+ ]
165
+ };
166
+
167
+ export { config as default };
@@ -0,0 +1,127 @@
1
+ import { AppConfig } from '../components/ProductOptionsVariantOption.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/5ee1f244b087cfbec9b19c8b3f62c8f6/icon/CMCq1s7J5vQCEAE=.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/5ee1f244b087cfbec9b19c8b3f62c8f6/icon/CMCq1s7J5vQCEAE=.png">
27
+ <span class="preset-item-title">Product Options Variant Option</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: 'install',
43
+ type: 'open-link',
44
+ target: '_blank',
45
+ linkType: 'install',
46
+ href: 'https://apps.shopify.com/avisplus-product-options?utm_source=gempages',
47
+ appName: AppConfig.label
48
+ },
49
+ {
50
+ id: 'idTrigger',
51
+ type: 'input',
52
+ label: '',
53
+ placeholder: 'eg: .product-form__buttons'
54
+ },
55
+ {
56
+ id: 'openApp',
57
+ type: 'open-link',
58
+ target: '_blank',
59
+ linkType: 'openApp',
60
+ href: 'https://admin.shopify.com/?redirect=/apps/avisplus_options',
61
+ appName: AppConfig.label
62
+ },
63
+ {
64
+ id: 'align',
65
+ label: 'Alignment',
66
+ type: 'segment',
67
+ options: [
68
+ {
69
+ label: 'Left',
70
+ value: 'left',
71
+ type: 'align'
72
+ },
73
+ {
74
+ label: 'Center',
75
+ value: 'center',
76
+ type: 'align'
77
+ },
78
+ {
79
+ label: 'Right',
80
+ value: 'right',
81
+ type: 'align'
82
+ }
83
+ ],
84
+ devices: {
85
+ desktop: {
86
+ default: 'left'
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ ],
93
+ ui: [
94
+ {
95
+ type: 'control',
96
+ setting: {
97
+ id: 'install'
98
+ }
99
+ },
100
+ {
101
+ type: 'control',
102
+ setting: {
103
+ id: 'openApp'
104
+ }
105
+ },
106
+ {
107
+ type: 'control',
108
+ setting: {
109
+ id: 'idTrigger'
110
+ },
111
+ label: {
112
+ en: 'ID Element'
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,148 @@
1
+ import AppConfig from '../configs/SegunoEmailMarketing.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/b6c8035c51d734fa4f88beb66b94a2d5/icon/CMG5orL0lu8CEAE=.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/b6c8035c51d734fa4f88beb66b94a2d5/icon/CMG5orL0lu8CEAE=.png">
22
+ <span class="preset-item-title">Seguno Email Marketing</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: 'Back in stock',
48
+ value: 'back_in_stock',
49
+ hideOnPage: [
50
+ 'ARTICLE',
51
+ 'BLOG',
52
+ 'COLLECTION',
53
+ 'GP_ARTICLE',
54
+ 'GP_BLOG',
55
+ 'GP_COLLECTION',
56
+ 'GP_INDEX',
57
+ 'GP_STATIC',
58
+ 'STATIC'
59
+ ]
60
+ },
61
+ {
62
+ label: 'Newsletter form',
63
+ value: 'newsletter_form'
64
+ }
65
+ ],
66
+ default: 'back_in_stock'
67
+ },
68
+ {
69
+ id: 'install',
70
+ type: 'open-link',
71
+ target: '_blank',
72
+ linkType: 'install',
73
+ href: 'https://apps.shopify.com/seguno?utm_source=gempages',
74
+ appName: AppConfig.label
75
+ },
76
+ {
77
+ id: 'openApp',
78
+ type: 'open-link',
79
+ target: '_blank',
80
+ linkType: 'openApp',
81
+ href: 'https://admin.shopify.com/?redirect=/apps/seguno',
82
+ appName: AppConfig.label
83
+ },
84
+ {
85
+ id: 'align',
86
+ label: 'Alignment',
87
+ type: 'segment',
88
+ options: [
89
+ {
90
+ label: 'Left',
91
+ value: 'left',
92
+ type: 'align'
93
+ },
94
+ {
95
+ label: 'Center',
96
+ value: 'center',
97
+ type: 'align'
98
+ },
99
+ {
100
+ label: 'Right',
101
+ value: 'right',
102
+ type: 'align'
103
+ }
104
+ ],
105
+ devices: {
106
+ desktop: {
107
+ default: 'left'
108
+ }
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ ],
114
+ ui: [
115
+ {
116
+ type: 'control',
117
+ setting: {
118
+ id: 'install'
119
+ }
120
+ },
121
+ {
122
+ type: 'control',
123
+ label: {
124
+ en: 'Choose widget'
125
+ },
126
+ setting: {
127
+ id: 'widgetType'
128
+ }
129
+ },
130
+ {
131
+ type: 'control',
132
+ setting: {
133
+ id: 'openApp'
134
+ }
135
+ },
136
+ {
137
+ type: 'control',
138
+ label: {
139
+ en: 'Align'
140
+ },
141
+ setting: {
142
+ id: 'align'
143
+ }
144
+ }
145
+ ]
146
+ };
147
+
148
+ export { config as default };
@@ -0,0 +1,138 @@
1
+ import AppConfig from '../configs/SeoantTrustBadgesIcon.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/6baee2749b9ede050c5235f5ad143bb7/icon/CMOhyp-BrocDEAE=.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/6baee2749b9ede050c5235f5ad143bb7/icon/CMOhyp-BrocDEAE=.png">
22
+ <span class="preset-item-title">SEOAnt ‑ Trust Badges & Icon</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: 'BadgeId',
43
+ type: 'input',
44
+ default: ''
45
+ },
46
+ {
47
+ id: 'widgetType',
48
+ label: 'Choose widget',
49
+ type: 'select',
50
+ options: [
51
+ {
52
+ label: 'Star_rating',
53
+ value: 'star_rating'
54
+ }
55
+ ],
56
+ default: 'star_rating'
57
+ },
58
+ {
59
+ id: 'install',
60
+ type: 'open-link',
61
+ target: '_blank',
62
+ linkType: 'install',
63
+ href: 'https://apps.shopify.com/trust-badge-by-giraffly?utm_source=gempages',
64
+ appName: AppConfig.label
65
+ },
66
+ {
67
+ id: 'openApp',
68
+ type: 'open-link',
69
+ target: '_blank',
70
+ linkType: 'openApp',
71
+ href: 'https://admin.shopify.com/?redirect=/apps/trust-cart',
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
+ setting: {
114
+ id: 'BadgeId'
115
+ },
116
+ label: {
117
+ en: 'Badge ID'
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 };