@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.
Files changed (124) hide show
  1. package/dist/cjs/builder.js +25 -1
  2. package/dist/cjs/collection/components/CollectionDescription.js +101 -7
  3. package/dist/cjs/collection/components/CollectionDescription.liquid.js +102 -9
  4. package/dist/cjs/collection/setting/CollectionDescription.js +128 -0
  5. package/dist/cjs/index.js +24 -0
  6. package/dist/cjs/index.liquid.js +24 -0
  7. package/dist/cjs/product/components/ProductDescription/common.js +28 -0
  8. package/dist/cjs/product/components/ProductDescription/const.js +5 -0
  9. package/dist/cjs/product/components/ProductDescription.js +38 -10
  10. package/dist/cjs/product/components/ProductDescription.liquid.js +3 -1
  11. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  12. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  13. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  14. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  15. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  16. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  17. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  18. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  19. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  20. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  21. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  22. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  23. package/dist/cjs/third-party/components/HextomCountdownTimerBar.js +32 -0
  24. package/dist/cjs/third-party/components/HextomCountdownTimerBar.liquid.js +12 -0
  25. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  26. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  27. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  28. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  29. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  30. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  31. package/dist/cjs/third-party/components/TrustBadgesBear.js +32 -0
  32. package/dist/cjs/third-party/components/TrustBadgesBear.liquid.js +12 -0
  33. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  34. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  35. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  36. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  37. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  38. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  39. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  40. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  41. package/dist/cjs/third-party/configs/HextomCountdownTimerBar.js +12 -0
  42. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  43. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  44. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  45. package/dist/cjs/third-party/configs/TrustBadgesBear.js +12 -0
  46. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  47. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  48. package/dist/cjs/third-party/next.js +61 -1
  49. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  50. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  51. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  52. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  53. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  54. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  55. package/dist/cjs/third-party/setting/HextomCountdownTimerBar.js +128 -0
  56. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  57. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  58. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  59. package/dist/cjs/third-party/setting/TrustBadgesBear.js +128 -0
  60. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  61. package/dist/cjs/third-party/setting/index.js +25 -1
  62. package/dist/esm/builder.js +25 -1
  63. package/dist/esm/collection/components/CollectionDescription.js +103 -9
  64. package/dist/esm/collection/components/CollectionDescription.liquid.js +103 -10
  65. package/dist/esm/collection/setting/CollectionDescription.js +128 -0
  66. package/dist/esm/index.js +12 -0
  67. package/dist/esm/index.liquid.js +12 -0
  68. package/dist/esm/product/components/ProductDescription/common.js +26 -0
  69. package/dist/esm/product/components/ProductDescription/const.js +3 -0
  70. package/dist/esm/product/components/ProductDescription.js +38 -10
  71. package/dist/esm/product/components/ProductDescription.liquid.js +3 -1
  72. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  73. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  74. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  75. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  76. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  77. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  78. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  79. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  80. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  81. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  82. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  83. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  84. package/dist/esm/third-party/components/HextomCountdownTimerBar.js +28 -0
  85. package/dist/esm/third-party/components/HextomCountdownTimerBar.liquid.js +8 -0
  86. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  87. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  88. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  89. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  90. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  91. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  92. package/dist/esm/third-party/components/TrustBadgesBear.js +28 -0
  93. package/dist/esm/third-party/components/TrustBadgesBear.liquid.js +8 -0
  94. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  95. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  96. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  97. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  98. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  99. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  100. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  101. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  102. package/dist/esm/third-party/configs/HextomCountdownTimerBar.js +8 -0
  103. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  104. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  105. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  106. package/dist/esm/third-party/configs/TrustBadgesBear.js +8 -0
  107. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  108. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  109. package/dist/esm/third-party/next.js +61 -1
  110. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  111. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  112. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  113. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  114. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  115. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  116. package/dist/esm/third-party/setting/HextomCountdownTimerBar.js +124 -0
  117. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  118. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  119. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  120. package/dist/esm/third-party/setting/TrustBadgesBear.js +124 -0
  121. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  122. package/dist/esm/third-party/setting/index.js +226 -202
  123. package/dist/types/index.d.ts +204 -2
  124. package/package.json +2 -2
@@ -0,0 +1,148 @@
1
+ import AppConfig from '../configs/GloColorSwatchvariantImage.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/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.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/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png">
25
+ <span class="preset-item-title">GLO Color Swatch,Variant Image</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: 'Variant Swatches',
51
+ value: 'product-swatches-detail'
52
+ },
53
+ {
54
+ label: 'Bundles Quantity Breaks',
55
+ value: 'product-bundles-quantity-breaks'
56
+ },
57
+ {
58
+ label: 'Product Bundles Combo',
59
+ value: 'product-bundles-combo'
60
+ },
61
+ {
62
+ label: 'Product Groups',
63
+ value: 'product-groups-detail'
64
+ }
65
+ ],
66
+ default: 'product-swatches-detail'
67
+ },
68
+ {
69
+ id: 'install',
70
+ type: 'open-link',
71
+ target: '_blank',
72
+ linkType: 'install',
73
+ href: 'https://apps.shopify.com/globo-color-swatches?utm_source=gempages',
74
+ appName: AppConfig.label
75
+ },
76
+ {
77
+ id: 'openApp',
78
+ type: 'open-link',
79
+ target: '_blank',
80
+ linkType: 'openApp',
81
+ href: '',
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
+ setting: {
124
+ id: 'widgetType'
125
+ },
126
+ label: {
127
+ en: 'Choose widget'
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,124 @@
1
+ import AppConfig from '../configs/HextomCountdownTimerBar.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/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.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/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png">
22
+ <span class="preset-item-title">Hextom: 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: 'Fsb Custom Placement',
48
+ value: 'fsb-custom-placement'
49
+ }
50
+ ],
51
+ default: 'fsb-custom-placement'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/event-promotion-bar?utm_source=gempages',
59
+ appName: AppConfig.label
60
+ },
61
+ {
62
+ id: 'openApp',
63
+ type: 'open-link',
64
+ target: '_blank',
65
+ linkType: 'openApp',
66
+ href: '',
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 };
@@ -0,0 +1,124 @@
1
+ import AppConfig from '../configs/HextomFreeShippingBar.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/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.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/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png">
22
+ <span class="preset-item-title">Hextom: Free Shipping 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: 'Fsb Custom Placement',
48
+ value: 'fsb-custom-placement'
49
+ }
50
+ ],
51
+ default: 'fsb-custom-placement'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/free-shipping-bar?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/free-shipping-bar',
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 };
@@ -0,0 +1,167 @@
1
+ import AppConfig from '../configs/OkendoReviewsLoyalty.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/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.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/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png">
27
+ <span class="preset-item-title">Okendo: Reviews & Loyalty</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: 'Reviews Widget',
58
+ value: 'reviews-widget'
59
+ },
60
+ {
61
+ label: 'Reviews Badge',
62
+ value: 'reviews-badge'
63
+ },
64
+ {
65
+ label: 'Media Carousel',
66
+ value: 'media-carousel'
67
+ },
68
+ {
69
+ label: 'Media Grid',
70
+ value: 'media-grid'
71
+ },
72
+ {
73
+ label: 'Reviews Carousel',
74
+ value: 'reviews-carousel'
75
+ },
76
+ {
77
+ label: 'Star Rating',
78
+ value: 'star-rating'
79
+ },
80
+ {
81
+ label: 'Questions Widget',
82
+ value: 'questions-widget'
83
+ }
84
+ ],
85
+ default: 'reviews-widget'
86
+ },
87
+ {
88
+ id: 'install',
89
+ type: 'open-link',
90
+ target: '_blank',
91
+ linkType: 'install',
92
+ href: 'https://apps.shopify.com/okendo-reviews?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/okendo-reviews',
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
+ label: {
143
+ en: 'Choose Widget'
144
+ },
145
+ setting: {
146
+ id: 'widgetType'
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,123 @@
1
+ import AppConfig from '../configs/StellarDeliveryDatePickup.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/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">',
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/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg">
25
+ <span class="preset-item-title">Stellar Delivery Date & Pickup</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/order-delivery-date-by-identixweb?utm_source=gempages',
45
+ appName: AppConfig.label
46
+ },
47
+ {
48
+ id: 'guideId',
49
+ type: 'group'
50
+ },
51
+ {
52
+ id: 'openApp',
53
+ type: 'open-link',
54
+ target: '_blank',
55
+ linkType: 'openApp',
56
+ href: 'https://admin.shopify.com/?redirect=/apps/order-delivery-date-by-identixweb',
57
+ appName: AppConfig.label
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-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></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 };