@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,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AppConfig = {
6
+ id: 'trustshop-product-reviews',
7
+ label: 'TrustShop: Product Reviews',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png',
9
+ tag: 'TrustshopProductReviews'
10
+ };
11
+
12
+ exports.default = AppConfig;
@@ -6,10 +6,46 @@ var dynamic = require('next/dynamic');
6
6
  var Loading = require('../common/components/Loading.js');
7
7
  require('react/jsx-runtime');
8
8
 
9
+ const TrustshopProductReviews = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustshopProductReviews.js'); }), {
10
+ ssr: false,
11
+ loading: Loading.default
12
+ });
13
+ const HulkProductOptions = dynamic(()=>Promise.resolve().then(function () { return require('./components/HulkProductOptions.js'); }), {
14
+ ssr: false,
15
+ loading: Loading.default
16
+ });
17
+ const MyappgurusProductReviews = dynamic(()=>Promise.resolve().then(function () { return require('./components/MyappgurusProductReviews.js'); }), {
18
+ ssr: false,
19
+ loading: Loading.default
20
+ });
21
+ const SeoantTrustBadgesIcon = dynamic(()=>Promise.resolve().then(function () { return require('./components/SeoantTrustBadgesIcon.js'); }), {
22
+ ssr: false,
23
+ loading: Loading.default
24
+ });
25
+ const TrustreviewsProductReviews = dynamic(()=>Promise.resolve().then(function () { return require('./components/TrustreviewsProductReviews.js'); }), {
26
+ ssr: false,
27
+ loading: Loading.default
28
+ });
9
29
  const PowrContactFormBuilder = dynamic(()=>Promise.resolve().then(function () { return require('./components/PowrContactFormBuilder.js'); }), {
10
30
  ssr: false,
11
31
  loading: Loading.default
12
32
  });
33
+ const SegunoEmailMarketing = dynamic(()=>Promise.resolve().then(function () { return require('./components/SegunoEmailMarketing.js'); }), {
34
+ ssr: false,
35
+ loading: Loading.default
36
+ });
37
+ const AftershipEmailMarketingsms = dynamic(()=>Promise.resolve().then(function () { return require('./components/AftershipEmailMarketingsms.js'); }), {
38
+ ssr: false,
39
+ loading: Loading.default
40
+ });
41
+ const BestBuyFulfillment = dynamic(()=>Promise.resolve().then(function () { return require('./components/BestBuyFulfillment.js'); }), {
42
+ ssr: false,
43
+ loading: Loading.default
44
+ });
45
+ const ProductOptionsVariantOption = dynamic(()=>Promise.resolve().then(function () { return require('./components/ProductOptionsVariantOption.js'); }), {
46
+ ssr: false,
47
+ loading: Loading.default
48
+ });
13
49
  const DiscountyBulkDiscountSales = dynamic(()=>Promise.resolve().then(function () { return require('./components/DiscountyBulkDiscountSales.js'); }), {
14
50
  ssr: false,
15
51
  loading: Loading.default
@@ -375,8 +411,17 @@ const Selleasy = dynamic(()=>Promise.resolve().then(function () { return require
375
411
  loading: Loading.default
376
412
  });
377
413
  var thirdParty = {
414
+ TrustshopProductReviews,
415
+ HulkProductOptions,
416
+ TrustreviewsProductReviews,
417
+ MyappgurusProductReviews,
418
+ SeoantTrustBadgesIcon,
419
+ SegunoEmailMarketing,
378
420
  PowrContactFormBuilder,
379
421
  DiscountyBulkDiscountSales,
422
+ AftershipEmailMarketingsms,
423
+ BestBuyFulfillment,
424
+ ProductOptionsVariantOption,
380
425
  GloboProductOptionsVariant,
381
426
  TeeinblueProductPersonalizer,
382
427
  WishlistKing,
@@ -0,0 +1,160 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var AftershipEmailMarketingsms = require('../configs/AftershipEmailMarketingsms.js');
6
+
7
+ const config = {
8
+ tag: AftershipEmailMarketingsms.default.tag,
9
+ label: AftershipEmailMarketingsms.default.label,
10
+ icon: '<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: AftershipEmailMarketingsms.default.id,
19
+ name: {
20
+ en: AftershipEmailMarketingsms.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/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png">
26
+ <span class="preset-item-title">AfterShip Email Marketing,SMS</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: AftershipEmailMarketingsms.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: 'Embeded_form',
52
+ value: 'embeded_form'
53
+ }
54
+ ],
55
+ default: 'embeded_form'
56
+ },
57
+ {
58
+ id: 'install',
59
+ type: 'open-link',
60
+ target: '_blank',
61
+ linkType: 'install',
62
+ href: 'https://apps.shopify.com/automizely-messages?utm_source=gempages',
63
+ appName: AftershipEmailMarketingsms.default.label
64
+ },
65
+ {
66
+ id: 'formId',
67
+ type: 'input',
68
+ default: ''
69
+ },
70
+ {
71
+ id: 'getFormId',
72
+ type: 'group'
73
+ },
74
+ {
75
+ id: 'openApp',
76
+ type: 'open-link',
77
+ target: '_blank',
78
+ linkType: 'openApp',
79
+ href: 'https://marketing.automizely.com',
80
+ appName: AftershipEmailMarketingsms.default.label
81
+ },
82
+ {
83
+ id: 'align',
84
+ label: 'Alignment',
85
+ type: 'segment',
86
+ options: [
87
+ {
88
+ label: 'Left',
89
+ value: 'left',
90
+ type: 'align'
91
+ },
92
+ {
93
+ label: 'Center',
94
+ value: 'center',
95
+ type: 'align'
96
+ },
97
+ {
98
+ label: 'Right',
99
+ value: 'right',
100
+ type: 'align'
101
+ }
102
+ ],
103
+ devices: {
104
+ desktop: {
105
+ default: 'left'
106
+ }
107
+ }
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ ui: [
113
+ {
114
+ type: 'control',
115
+ setting: {
116
+ id: 'install'
117
+ }
118
+ },
119
+ {
120
+ type: 'group',
121
+ controls: [
122
+ {
123
+ type: 'control',
124
+ label: {
125
+ en: 'Form ID'
126
+ },
127
+ setting: {
128
+ id: 'formId'
129
+ }
130
+ },
131
+ {
132
+ type: 'control',
133
+ info: {
134
+ en: '<a style="text-decoration: none; color: #8AA4FF; font-style: normal" href="https://support.aftership.com/en/email/article/how-to-add-embedded-forms-to-a-shopify-store-1c87pux" target="_blank">How can I get the form ID?</a>'
135
+ },
136
+ setting: {
137
+ id: 'getFormId'
138
+ }
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ type: 'control',
144
+ setting: {
145
+ id: 'openApp'
146
+ }
147
+ },
148
+ {
149
+ type: 'control',
150
+ label: {
151
+ en: 'Align'
152
+ },
153
+ setting: {
154
+ id: 'align'
155
+ }
156
+ }
157
+ ]
158
+ };
159
+
160
+ exports.default = config;
@@ -0,0 +1,133 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var BestBuyFulfillment = require('../components/BestBuyFulfillment.js');
6
+
7
+ const config = {
8
+ tag: BestBuyFulfillment.AppConfig.tag,
9
+ label: BestBuyFulfillment.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/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowTag: [
14
+ 'Product'
15
+ ]
16
+ },
17
+ component: {
18
+ isThirdParty: true
19
+ }
20
+ },
21
+ presets: [
22
+ {
23
+ id: BestBuyFulfillment.AppConfig.id,
24
+ name: {
25
+ en: BestBuyFulfillment.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/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png">
31
+ <span class="preset-item-title">Best Buy Fulfillment</span>
32
+ </div>`
33
+ },
34
+ components: [
35
+ {
36
+ tag: BestBuyFulfillment.AppConfig.tag
37
+ }
38
+ ]
39
+ }
40
+ ],
41
+ settings: [
42
+ {
43
+ id: 'setting',
44
+ controls: [
45
+ {
46
+ id: 'appBlockId',
47
+ type: 'input',
48
+ default: ''
49
+ },
50
+ {
51
+ id: 'widgetType',
52
+ label: 'Choose widget',
53
+ type: 'select',
54
+ options: [
55
+ {
56
+ label: 'Pickup Selector',
57
+ value: 'pickup-selector'
58
+ }
59
+ ],
60
+ default: 'pickup-selector'
61
+ },
62
+ {
63
+ id: 'install',
64
+ type: 'open-link',
65
+ target: '_blank',
66
+ linkType: 'install',
67
+ href: 'https://apps.shopify.com/best-buy-fulfillment?utm_source=gempages',
68
+ appName: BestBuyFulfillment.AppConfig.label
69
+ },
70
+ {
71
+ id: 'openApp',
72
+ type: 'open-link',
73
+ target: '_blank',
74
+ linkType: 'openApp',
75
+ href: 'https://admin.shopify.com/?redirect=/apps/best-buy-fulfillment',
76
+ appName: BestBuyFulfillment.AppConfig.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: 'openApp'
119
+ }
120
+ },
121
+ {
122
+ type: 'control',
123
+ label: {
124
+ en: 'Align'
125
+ },
126
+ setting: {
127
+ id: 'align'
128
+ }
129
+ }
130
+ ]
131
+ };
132
+
133
+ exports.default = config;
@@ -0,0 +1,131 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var HulkProductOptions = require('../configs/HulkProductOptions.js');
6
+
7
+ const config = {
8
+ tag: HulkProductOptions.default.tag,
9
+ label: HulkProductOptions.default.label,
10
+ icon: '<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/4a60d8b5eaf751b3d02d0dc8c28a23b4/icon/COfb5p7_lP4CEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowPage: 'GP_PRODUCT'
14
+ },
15
+ component: {
16
+ isThirdParty: true
17
+ }
18
+ },
19
+ presets: [
20
+ {
21
+ id: HulkProductOptions.default.id,
22
+ name: {
23
+ en: HulkProductOptions.default.label
24
+ },
25
+ hideTextContent: true,
26
+ icon: {
27
+ desktop: `<div class="w-full flex flex-col items-center">
28
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/4a60d8b5eaf751b3d02d0dc8c28a23b4/icon/COfb5p7_lP4CEAE=.png">
29
+ <span class="preset-item-title">Hulk Product Options</span>
30
+ </div>`
31
+ },
32
+ components: [
33
+ {
34
+ tag: HulkProductOptions.default.tag
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ settings: [
40
+ {
41
+ id: 'setting',
42
+ controls: [
43
+ {
44
+ id: 'appBlockId',
45
+ type: 'input',
46
+ default: ''
47
+ },
48
+ {
49
+ id: 'widgetType',
50
+ label: 'Choose widget',
51
+ type: 'select',
52
+ options: [
53
+ {
54
+ label: 'Option_block',
55
+ value: 'option_block'
56
+ }
57
+ ],
58
+ default: 'option_block'
59
+ },
60
+ {
61
+ id: 'install',
62
+ type: 'open-link',
63
+ target: '_blank',
64
+ linkType: 'install',
65
+ href: 'https://apps.shopify.com/product-options-by-hulkapps-1?utm_source=gempages',
66
+ appName: HulkProductOptions.default.label
67
+ },
68
+ {
69
+ id: 'openApp',
70
+ type: 'open-link',
71
+ target: '_blank',
72
+ linkType: 'openApp',
73
+ href: 'https://admin.shopify.com/?redirect=/apps/product-options-by-hulkapps-1',
74
+ appName: HulkProductOptions.default.label
75
+ },
76
+ {
77
+ id: 'align',
78
+ label: 'Alignment',
79
+ type: 'segment',
80
+ options: [
81
+ {
82
+ label: 'Left',
83
+ value: 'left',
84
+ type: 'align'
85
+ },
86
+ {
87
+ label: 'Center',
88
+ value: 'center',
89
+ type: 'align'
90
+ },
91
+ {
92
+ label: 'Right',
93
+ value: 'right',
94
+ type: 'align'
95
+ }
96
+ ],
97
+ devices: {
98
+ desktop: {
99
+ default: 'left'
100
+ }
101
+ }
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ ui: [
107
+ {
108
+ type: 'control',
109
+ setting: {
110
+ id: 'install'
111
+ }
112
+ },
113
+ {
114
+ type: 'control',
115
+ setting: {
116
+ id: 'openApp'
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,171 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var MyappgurusProductReviews = require('../configs/MyappgurusProductReviews.js');
6
+
7
+ const config = {
8
+ tag: MyappgurusProductReviews.default.tag,
9
+ label: MyappgurusProductReviews.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/772b08d7aeeedd29dda48e1bbf1918bd/icon/CL2ZuMKHpv4CEAE=.jpeg">',
11
+ editorConfigs: {
12
+ component: {
13
+ isThirdParty: true
14
+ }
15
+ },
16
+ presets: [
17
+ {
18
+ id: MyappgurusProductReviews.default.id,
19
+ name: {
20
+ en: MyappgurusProductReviews.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/772b08d7aeeedd29dda48e1bbf1918bd/icon/CL2ZuMKHpv4CEAE=.jpeg">
26
+ <span class="preset-item-title">MyAppGurus Product Reviews</span>
27
+ </div>`
28
+ },
29
+ components: [
30
+ {
31
+ tag: MyappgurusProductReviews.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: 'All Reviews',
52
+ value: 'allReviews'
53
+ },
54
+ {
55
+ label: 'All Reviews Counter',
56
+ value: 'allReviewsCounter'
57
+ },
58
+ {
59
+ label: 'Review Form',
60
+ value: 'form',
61
+ hideOnPage: [
62
+ 'ARTICLE',
63
+ 'BLOG',
64
+ 'COLLECTION',
65
+ 'GP_ARTICLE',
66
+ 'GP_BLOG',
67
+ 'GP_COLLECTION',
68
+ 'GP_STATIC',
69
+ 'STATIC',
70
+ 'GP_INDEX'
71
+ ]
72
+ },
73
+ {
74
+ label: 'Star',
75
+ value: 'star',
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
+ default: 'allReviews'
90
+ },
91
+ {
92
+ id: 'install',
93
+ type: 'open-link',
94
+ target: '_blank',
95
+ linkType: 'install',
96
+ href: 'https://apps.shopify.com/product-review-myappgurus?utm_source=gempages',
97
+ appName: MyappgurusProductReviews.default.label
98
+ },
99
+ {
100
+ id: 'openApp',
101
+ type: 'open-link',
102
+ target: '_blank',
103
+ linkType: 'openApp',
104
+ href: 'https://admin.shopify.com/?redirect=/apps/product-review-myappgurus',
105
+ appName: MyappgurusProductReviews.default.label
106
+ },
107
+ {
108
+ id: 'align',
109
+ label: 'Alignment',
110
+ type: 'segment',
111
+ options: [
112
+ {
113
+ label: 'Left',
114
+ value: 'left',
115
+ type: 'align'
116
+ },
117
+ {
118
+ label: 'Center',
119
+ value: 'center',
120
+ type: 'align'
121
+ },
122
+ {
123
+ label: 'Right',
124
+ value: 'right',
125
+ type: 'align'
126
+ }
127
+ ],
128
+ devices: {
129
+ desktop: {
130
+ default: 'left'
131
+ }
132
+ }
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ ui: [
138
+ {
139
+ type: 'control',
140
+ setting: {
141
+ id: 'install'
142
+ }
143
+ },
144
+ {
145
+ type: 'control',
146
+ setting: {
147
+ id: 'widgetType'
148
+ },
149
+ label: {
150
+ en: 'Choose widget'
151
+ }
152
+ },
153
+ {
154
+ type: 'control',
155
+ setting: {
156
+ id: 'openApp'
157
+ }
158
+ },
159
+ {
160
+ type: 'control',
161
+ label: {
162
+ en: 'Align'
163
+ },
164
+ setting: {
165
+ id: 'align'
166
+ }
167
+ }
168
+ ]
169
+ };
170
+
171
+ exports.default = config;