@gem-sdk/components 2.0.0-dev.644 → 2.0.0-dev.646

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 (21) hide show
  1. package/dist/cjs/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  2. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +1 -1
  3. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  4. package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +1 -1
  5. package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +1 -1
  6. package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +1 -1
  7. package/dist/cjs/third-party/configs/Bogos.js +1 -1
  8. package/dist/cjs/third-party/setting/Bogos/index.js +1 -1
  9. package/dist/cjs/third-party/setting/Trustoo/index.js +0 -5
  10. package/dist/cjs/third-party/setting/Trustoo/uiV2.js +0 -26
  11. package/dist/esm/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  12. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +1 -1
  13. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  14. package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +1 -1
  15. package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +1 -1
  16. package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +1 -1
  17. package/dist/esm/third-party/configs/Bogos.js +1 -1
  18. package/dist/esm/third-party/setting/Bogos/index.js +1 -1
  19. package/dist/esm/third-party/setting/Trustoo/index.js +0 -5
  20. package/dist/esm/third-party/setting/Trustoo/uiV2.js +0 -26
  21. package/package.json +1 -1
@@ -180,7 +180,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
180
180
  external-id="{{media.external_id}}"
181
181
  grid-index="{{forloop.index}}"
182
182
  data-outline="${className ? 'active' : 'deactive'}"
183
- class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} ${className}`)}"
183
+ class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} gp-gallery-image-item ${className}`)}"
184
184
  style="${_function.getStyleOfObject(galleryGridItemStyles)}"
185
185
  >
186
186
  <div class="gp-h-full" style="${system.LiquidIf(`media == null or media.media_type == 'image'`, `display: block !important;`)}">
@@ -60,7 +60,7 @@ const ProductFeaturedImageCarousel = (props)=>{
60
60
  filteredProductImages?.map((image)=>{
61
61
  return /*#__PURE__*/ jsxRuntime.jsx(CarouselItem.default, {
62
62
  contentType: "productImage",
63
- className: galleryItemClasses('gp-ft-image-item'),
63
+ className: galleryItemClasses('gp-ft-image-item !gp-min-w-full'),
64
64
  onClickItem: ()=>{
65
65
  const clickEffect = core.getResponsiveValueByScreen(setting?.ftClickOpenLightBox, currentDevice);
66
66
  if (clickEffect !== 'none') onHandleClick(image?.id ?? '', enableOpenLightBox);
@@ -177,7 +177,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
177
177
  external-id="{{media.external_id}}"
178
178
  grid-index="{{forloop.index}}"
179
179
  data-outline="${className ? 'active' : 'deactive'}"
180
- class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} ${className}`)}"
180
+ class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} gp-gallery-image-item ${className}`)}"
181
181
  style="${_function.getStyleOfObject(galleryGridItemStyles)}"
182
182
  >
183
183
  <div class="gp-h-full" style="${system.LiquidIf(`media == null or media.media_type == 'image'`, `display: block !important;`)}">
@@ -204,7 +204,7 @@ const productFeatureImageSetting = [
204
204
  hide: true,
205
205
  label: 'Custom Arrow',
206
206
  info: 'Choose from list or paste any SVG icon',
207
- default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
207
+ default: `<svg data-name="arrow" width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
208
208
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM10.6828 8.13017C10.5266 7.95661 10.2734 7.95661 10.1172 8.13017C9.96095 8.30374 9.96095 8.58515 10.1172 8.75871L13.0343 12L10.1172 15.2413C9.96095 15.4149 9.96095 15.6963 10.1172 15.8698C10.2734 16.0434 10.5266 16.0434 10.6828 15.8698L13.8828 12.3143C14.0391 12.1407 14.0391 11.8593 13.8828 11.6857L10.6828 8.13017Z" fill="currentColor"/>
209
209
  </svg>`
210
210
  },
@@ -163,7 +163,7 @@ const productGalleryImageSetting = [
163
163
  hide: true,
164
164
  label: 'Custom Arrow',
165
165
  info: 'Choose from list or paste any SVG icon',
166
- default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
166
+ default: `<svg data-name="arrow" width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
167
167
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM10.6828 8.13017C10.5266 7.95661 10.2734 7.95661 10.1172 8.13017C9.96095 8.30374 9.96095 8.58515 10.1172 8.75871L13.0343 12L10.1172 15.2413C9.96095 15.4149 9.96095 15.6963 10.1172 15.8698C10.2734 16.0434 10.5266 16.0434 10.6828 15.8698L13.8828 12.3143C14.0391 12.1407 14.0391 11.8593 13.8828 11.6857L10.6828 8.13017Z" fill="currentColor"/>
168
168
  </svg>`
169
169
  },
@@ -15,7 +15,7 @@ const mapWidgetLabel = {
15
15
  message: 'Cart message',
16
16
  ['classic-bundle']: 'Classic bundle',
17
17
  ['quantity-break']: 'Quantity break',
18
- 'mix-match': ''
18
+ 'mix-match': 'Frequently Bought Together'
19
19
  };
20
20
  const BogosSampleContent = ({ setting })=>{
21
21
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var BogosConfig = {
6
6
  id: 'bogos',
7
7
  label: 'BOGOS',
8
- logoUrl: 'https://s3-ap-southeast-1.amazonaws.com/gemtickets/production/dashboard/d82f3b5d-4ea3-44bc-aba9-4e5add3acd7d.png?width=22&height=22',
8
+ logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
9
9
  tag: 'Bogos'
10
10
  };
11
11
 
@@ -93,7 +93,7 @@ const config = {
93
93
  value: 'classic-bundle'
94
94
  },
95
95
  {
96
- label: 'Mix and match',
96
+ label: 'Frequently Bought Together',
97
97
  value: 'mix-match'
98
98
  }
99
99
  ]
@@ -99,11 +99,6 @@ const config = {
99
99
  }
100
100
  ]
101
101
  },
102
- {
103
- id: 'starRatingInList',
104
- info: 'Note: Star Rating List widget is not appearing on the product page',
105
- type: 'group'
106
- },
107
102
  {
108
103
  id: 'align',
109
104
  label: 'Alignment',
@@ -13,18 +13,6 @@ const SettingUIV2 = [
13
13
  }
14
14
  ]
15
15
  },
16
- {
17
- controls: [
18
- {
19
- label: {
20
- en: 'Choose version'
21
- },
22
- setting: {
23
- id: 'version'
24
- }
25
- }
26
- ]
27
- },
28
16
  {
29
17
  controls: [
30
18
  {
@@ -37,20 +25,6 @@ const SettingUIV2 = [
37
25
  }
38
26
  ]
39
27
  },
40
- {
41
- controls: [
42
- {
43
- setting: {
44
- id: 'starRatingInList'
45
- }
46
- }
47
- ],
48
- messageConfig: {
49
- type: 'info',
50
- message: 'Note: Star Rating List widget is not appearing on the product page'
51
- },
52
- conditionDisplay: 'widgetType === "starRatingInList"'
53
- },
54
28
  {
55
29
  controls: [
56
30
  {
@@ -176,7 +176,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
176
176
  external-id="{{media.external_id}}"
177
177
  grid-index="{{forloop.index}}"
178
178
  data-outline="${className ? 'active' : 'deactive'}"
179
- class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} ${className}`)}"
179
+ class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} gp-gallery-image-item ${className}`)}"
180
180
  style="${getStyleOfObject(galleryGridItemStyles)}"
181
181
  >
182
182
  <div class="gp-h-full" style="${LiquidIf(`media == null or media.media_type == 'image'`, `display: block !important;`)}">
@@ -56,7 +56,7 @@ const ProductFeaturedImageCarousel = (props)=>{
56
56
  filteredProductImages?.map((image)=>{
57
57
  return /*#__PURE__*/ jsx(CarouselItem, {
58
58
  contentType: "productImage",
59
- className: galleryItemClasses('gp-ft-image-item'),
59
+ className: galleryItemClasses('gp-ft-image-item !gp-min-w-full'),
60
60
  onClickItem: ()=>{
61
61
  const clickEffect = getResponsiveValueByScreen(setting?.ftClickOpenLightBox, currentDevice);
62
62
  if (clickEffect !== 'none') onHandleClick(image?.id ?? '', enableOpenLightBox);
@@ -173,7 +173,7 @@ const ProductGalleryGrid = ({ builderPropUID, wrapperStyle, children, enableLazy
173
173
  external-id="{{media.external_id}}"
174
174
  grid-index="{{forloop.index}}"
175
175
  data-outline="${className ? 'active' : 'deactive'}"
176
- class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} ${className}`)}"
176
+ class="${galleryItemClasses(`gem-slider-item-${builderPropUID}-{{product.id}} gp-gallery-image-item ${className}`)}"
177
177
  style="${getStyleOfObject(galleryGridItemStyles)}"
178
178
  >
179
179
  <div class="gp-h-full" style="${LiquidIf(`media == null or media.media_type == 'image'`, `display: block !important;`)}">
@@ -202,7 +202,7 @@ const productFeatureImageSetting = [
202
202
  hide: true,
203
203
  label: 'Custom Arrow',
204
204
  info: 'Choose from list or paste any SVG icon',
205
- default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
205
+ default: `<svg data-name="arrow" width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
206
206
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM10.6828 8.13017C10.5266 7.95661 10.2734 7.95661 10.1172 8.13017C9.96095 8.30374 9.96095 8.58515 10.1172 8.75871L13.0343 12L10.1172 15.2413C9.96095 15.4149 9.96095 15.6963 10.1172 15.8698C10.2734 16.0434 10.5266 16.0434 10.6828 15.8698L13.8828 12.3143C14.0391 12.1407 14.0391 11.8593 13.8828 11.6857L10.6828 8.13017Z" fill="currentColor"/>
207
207
  </svg>`
208
208
  },
@@ -161,7 +161,7 @@ const productGalleryImageSetting = [
161
161
  hide: true,
162
162
  label: 'Custom Arrow',
163
163
  info: 'Choose from list or paste any SVG icon',
164
- default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
164
+ default: `<svg data-name="arrow" width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
165
165
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM10.6828 8.13017C10.5266 7.95661 10.2734 7.95661 10.1172 8.13017C9.96095 8.30374 9.96095 8.58515 10.1172 8.75871L13.0343 12L10.1172 15.2413C9.96095 15.4149 9.96095 15.6963 10.1172 15.8698C10.2734 16.0434 10.5266 16.0434 10.6828 15.8698L13.8828 12.3143C14.0391 12.1407 14.0391 11.8593 13.8828 11.6857L10.6828 8.13017Z" fill="currentColor"/>
166
166
  </svg>`
167
167
  },
@@ -11,7 +11,7 @@ const mapWidgetLabel = {
11
11
  message: 'Cart message',
12
12
  ['classic-bundle']: 'Classic bundle',
13
13
  ['quantity-break']: 'Quantity break',
14
- 'mix-match': ''
14
+ 'mix-match': 'Frequently Bought Together'
15
15
  };
16
16
  const BogosSampleContent = ({ setting })=>{
17
17
  const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
@@ -1,7 +1,7 @@
1
1
  var BogosConfig = {
2
2
  id: 'bogos',
3
3
  label: 'BOGOS',
4
- logoUrl: 'https://s3-ap-southeast-1.amazonaws.com/gemtickets/production/dashboard/d82f3b5d-4ea3-44bc-aba9-4e5add3acd7d.png?width=22&height=22',
4
+ logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
5
5
  tag: 'Bogos'
6
6
  };
7
7
 
@@ -89,7 +89,7 @@ const config = {
89
89
  value: 'classic-bundle'
90
90
  },
91
91
  {
92
- label: 'Mix and match',
92
+ label: 'Frequently Bought Together',
93
93
  value: 'mix-match'
94
94
  }
95
95
  ]
@@ -95,11 +95,6 @@ const config = {
95
95
  }
96
96
  ]
97
97
  },
98
- {
99
- id: 'starRatingInList',
100
- info: 'Note: Star Rating List widget is not appearing on the product page',
101
- type: 'group'
102
- },
103
98
  {
104
99
  id: 'align',
105
100
  label: 'Alignment',
@@ -9,18 +9,6 @@ const SettingUIV2 = [
9
9
  }
10
10
  ]
11
11
  },
12
- {
13
- controls: [
14
- {
15
- label: {
16
- en: 'Choose version'
17
- },
18
- setting: {
19
- id: 'version'
20
- }
21
- }
22
- ]
23
- },
24
12
  {
25
13
  controls: [
26
14
  {
@@ -33,20 +21,6 @@ const SettingUIV2 = [
33
21
  }
34
22
  ]
35
23
  },
36
- {
37
- controls: [
38
- {
39
- setting: {
40
- id: 'starRatingInList'
41
- }
42
- }
43
- ],
44
- messageConfig: {
45
- type: 'info',
46
- message: 'Note: Star Rating List widget is not appearing on the product page'
47
- },
48
- conditionDisplay: 'widgetType === "starRatingInList"'
49
- },
50
24
  {
51
25
  controls: [
52
26
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.644",
3
+ "version": "2.0.0-dev.646",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",