@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,124 @@
1
+ import AppConfig from '../configs/TrustBadgesBear.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/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.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/c9141bfba8db18a258f290a5a639986e/icon/CLDR_q6erfwCEAE=.png">
22
+ <span class="preset-item-title">Trust Badges Bear</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: 'Widget',
48
+ value: 'widget'
49
+ }
50
+ ],
51
+ default: 'widget'
52
+ },
53
+ {
54
+ id: 'install',
55
+ type: 'open-link',
56
+ target: '_blank',
57
+ linkType: 'install',
58
+ href: 'https://apps.shopify.com/ultimate-trust-badges?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/ultimate-trust-badge',
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,173 @@
1
+ import AppConfig from '../configs/TrustedsiteTrustBadges.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/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.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/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png">
22
+ <span class="preset-item-title">TrustedSite ‑ Trust Badges</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: 'Engagement',
48
+ value: 'engagement'
49
+ }
50
+ ],
51
+ default: 'engagement'
52
+ },
53
+ {
54
+ id: 'trustId',
55
+ label: 'Trustmark Type',
56
+ type: 'select',
57
+ options: [
58
+ {
59
+ label: 'Certified Secure',
60
+ value: '202'
61
+ },
62
+ {
63
+ label: 'Secure Form',
64
+ value: '211'
65
+ },
66
+ {
67
+ label: 'Secure Checkout',
68
+ value: '212'
69
+ },
70
+ {
71
+ label: 'Secure Login',
72
+ value: '213'
73
+ },
74
+ {
75
+ label: 'Issue-Free Orders',
76
+ value: '214'
77
+ },
78
+ {
79
+ label: 'Spam-Free',
80
+ value: '216'
81
+ },
82
+ {
83
+ label: 'Banner',
84
+ value: '1001'
85
+ },
86
+ {
87
+ label: 'Testimonial',
88
+ value: '1002'
89
+ }
90
+ ],
91
+ default: '202'
92
+ },
93
+ {
94
+ id: 'install',
95
+ type: 'open-link',
96
+ target: '_blank',
97
+ linkType: 'install',
98
+ href: 'https://apps.shopify.com/mcafee-secure?utm_source=gempages',
99
+ appName: AppConfig.label
100
+ },
101
+ {
102
+ id: 'openApp',
103
+ type: 'open-link',
104
+ target: '_blank',
105
+ linkType: 'openApp',
106
+ href: 'https://www.trustedsite.com/',
107
+ appName: AppConfig.label
108
+ },
109
+ {
110
+ id: 'align',
111
+ label: 'Alignment',
112
+ type: 'segment',
113
+ options: [
114
+ {
115
+ label: 'Left',
116
+ value: 'left',
117
+ type: 'align'
118
+ },
119
+ {
120
+ label: 'Center',
121
+ value: 'center',
122
+ type: 'align'
123
+ },
124
+ {
125
+ label: 'Right',
126
+ value: 'right',
127
+ type: 'align'
128
+ }
129
+ ],
130
+ devices: {
131
+ desktop: {
132
+ default: 'left'
133
+ }
134
+ }
135
+ }
136
+ ]
137
+ }
138
+ ],
139
+ ui: [
140
+ {
141
+ type: 'control',
142
+ setting: {
143
+ id: 'install'
144
+ }
145
+ },
146
+ {
147
+ type: 'control',
148
+ setting: {
149
+ id: 'trustId'
150
+ },
151
+ label: {
152
+ en: 'Trustmark Type'
153
+ }
154
+ },
155
+ {
156
+ type: 'control',
157
+ setting: {
158
+ id: 'openApp'
159
+ }
160
+ },
161
+ {
162
+ type: 'control',
163
+ label: {
164
+ en: 'Align'
165
+ },
166
+ setting: {
167
+ id: 'align'
168
+ }
169
+ }
170
+ ]
171
+ };
172
+
173
+ export { config as default };