@gem-sdk/components 2.0.0-staging.164 → 2.0.0-staging.165

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 (30) hide show
  1. package/dist/cjs/builder.js +4 -0
  2. package/dist/cjs/index.js +4 -0
  3. package/dist/cjs/index.liquid.js +4 -0
  4. package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -1
  5. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +33 -0
  6. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  7. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +33 -0
  8. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  9. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  10. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  11. package/dist/cjs/third-party/next.js +10 -0
  12. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  13. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  14. package/dist/cjs/third-party/setting/index.js +4 -0
  15. package/dist/esm/builder.js +4 -0
  16. package/dist/esm/index.js +2 -0
  17. package/dist/esm/index.liquid.js +2 -0
  18. package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -1
  19. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +29 -0
  20. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  21. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +29 -0
  22. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  23. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  24. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  25. package/dist/esm/third-party/next.js +10 -0
  26. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  27. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  28. package/dist/esm/third-party/setting/index.js +210 -206
  29. package/dist/types/index.d.ts +36 -1
  30. package/package.json +2 -2
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'estimated-delivery-date-plus',
3
+ label: 'Estimated Delivery Date ‑ Plus',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg',
5
+ tag: 'EstimatedDeliveryDatePlus'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'okendo-reviews-loyalty',
3
+ label: 'Okendo: Reviews & Loyalty',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png',
5
+ tag: 'OkendoReviewsLoyalty'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -4,6 +4,14 @@ import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import '@gem-sdk/core';
6
6
 
7
+ const EstimatedDeliveryDatePlus = dynamic(()=>import('./components/EstimatedDeliveryDatePlus.js'), {
8
+ ssr: false,
9
+ loading: Loading
10
+ });
11
+ const OkendoReviewsLoyalty = dynamic(()=>import('./components/OkendoReviewsLoyalty.js'), {
12
+ ssr: false,
13
+ loading: Loading
14
+ });
7
15
  const EssentialAnnouncementBar = dynamic(()=>import('./components/EssentialAnnouncementBar.js'), {
8
16
  ssr: false,
9
17
  loading: Loading
@@ -417,6 +425,8 @@ const Selleasy = dynamic(()=>import('./components/Selleasy.js'), {
417
425
  loading: Loading
418
426
  });
419
427
  var thirdParty = {
428
+ EstimatedDeliveryDatePlus,
429
+ OkendoReviewsLoyalty,
420
430
  EssentialAnnouncementBar,
421
431
  EssentialCountdownTimerBar,
422
432
  StellarDeliveryDatePickup,
@@ -0,0 +1,124 @@
1
+ import AppConfig from '../configs/EstimatedDeliveryDatePlus.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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.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/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg">
22
+ <span class="preset-item-title">Estimated Delivery Date ‑ Plus</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: 'Delivery_coder_theme',
48
+ value: 'delivery_coder_theme'
49
+ }
50
+ ],
51
+ default: 'delivery_coder_theme'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/estimated-delivery-date-plus?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/estimated-delivery-date-plus',
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 };