@gem-sdk/components 2.0.0-dev.551 → 2.0.0-dev.553

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 (29) hide show
  1. package/dist/cjs/coupon/common/classes.js +1 -1
  2. package/dist/cjs/coupon/common/styles.js +4 -2
  3. package/dist/cjs/coupon/setting/config/settings.js +7 -3
  4. package/dist/cjs/coupon/setting/config/uiV2.js +65 -64
  5. package/dist/cjs/marquee/setting/configs/settingsV2.js +3 -3
  6. package/dist/cjs/product/components/ProductBadge/common/getAttrs.js +2 -19
  7. package/dist/cjs/product/components/ProductBadge/index.liquid.js +15 -0
  8. package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
  9. package/dist/cjs/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
  10. package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
  11. package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
  12. package/dist/cjs/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  13. package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +579 -359
  14. package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
  15. package/dist/esm/coupon/common/classes.js +1 -1
  16. package/dist/esm/coupon/common/styles.js +4 -2
  17. package/dist/esm/coupon/setting/config/settings.js +7 -3
  18. package/dist/esm/coupon/setting/config/uiV2.js +65 -64
  19. package/dist/esm/marquee/setting/configs/settingsV2.js +3 -3
  20. package/dist/esm/product/components/ProductBadge/common/getAttrs.js +2 -19
  21. package/dist/esm/product/components/ProductBadge/index.liquid.js +17 -2
  22. package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
  23. package/dist/esm/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
  24. package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
  25. package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
  26. package/dist/esm/product/setting/constant/bundle-layout/verticalOne.js +230 -13
  27. package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +579 -359
  28. package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
  29. package/package.json +2 -2
@@ -2,638 +2,858 @@
2
2
 
3
3
  const horizontalThree = [
4
4
  {
5
- "advanced": {},
6
- "childrens": [
5
+ advanced: {},
6
+ childrens: [
7
7
  {
8
- "childrens": [
8
+ childrens: [
9
9
  {
10
- "advanced": {
11
- "d": {
12
- "desktop": true,
13
- "mobile": true,
14
- "tablet": true
15
- },
16
- "editorData": {
17
- "css": ".{{rootClassName}} > div > div,.g5t77h4sjA gp-product-badge > div > div{\nwidth:100% !important;\n}",
18
- "rootClassName": "{{rootClassName}}"
19
- },
20
- "hasBoxShadow": {
21
- "desktop": {
22
- "normal": false
10
+ advanced: {
11
+ d: {
12
+ desktop: true,
13
+ mobile: true,
14
+ tablet: true
15
+ },
16
+ editorData: {
17
+ css: '.{{rootClassName}} > div > div,.g5t77h4sjA gp-product-badge > div > div{\nwidth:100% !important;\n}',
18
+ rootClassName: '{{rootClassName}}'
19
+ },
20
+ hasBoxShadow: {
21
+ desktop: {
22
+ normal: false
23
23
  }
24
24
  },
25
- "left": {
26
- "desktop": "0px"
25
+ left: {
26
+ desktop: '0px'
27
27
  },
28
- "op": {
29
- "desktop": "100%"
28
+ op: {
29
+ desktop: '100%'
30
30
  },
31
- "pos": {
32
- "desktop": "absolute"
31
+ pos: {
32
+ desktop: 'absolute'
33
33
  },
34
- "right": {
35
- "desktop": "0px"
34
+ right: {
35
+ desktop: '0px'
36
36
  },
37
- "rounded": {
38
- "desktop": {
39
- "normal": {
40
- "bblr": "0px",
41
- "bbrr": "0px",
42
- "btlr": "0px",
43
- "btrr": "0px",
44
- "radiusType": "none"
37
+ rounded: {
38
+ desktop: {
39
+ normal: {
40
+ bblr: '0px',
41
+ bbrr: '0px',
42
+ btlr: '0px',
43
+ btrr: '0px',
44
+ radiusType: 'none'
45
45
  }
46
46
  }
47
47
  },
48
- "spacing-setting": {
49
- "desktop": {
50
- "margin": {
51
- "bottom": "8px"
48
+ 'spacing-setting': {
49
+ desktop: {
50
+ margin: {
51
+ bottom: '8px'
52
52
  }
53
53
  }
54
54
  },
55
- "top": {
56
- "desktop": "-44px"
55
+ top: {
56
+ desktop: '-44px'
57
57
  },
58
- "z": {
59
- "desktop": 1
58
+ z: {
59
+ desktop: 1
60
60
  }
61
61
  },
62
- "label": "Product Badge",
63
- "settings": {
64
- "contentType": "text",
65
- "displayContent": "SALE {percent_discount}",
66
- "displayTrigger": [
62
+ label: 'Product Badge',
63
+ settings: {
64
+ contentType: 'text',
65
+ displayContent: 'SALE {percent_discount}',
66
+ displayTrigger: [
67
67
  {
68
- "conditionType": "exact_or_above",
69
- "from": "1",
70
- "priority": 0,
71
- "quantityType": "exact_or_above",
72
- "to": "15",
73
- "triggerEvent": "inventory_status",
74
- "type": "in_stock"
68
+ conditionType: 'exact_or_above',
69
+ from: '1',
70
+ priority: 0,
71
+ quantityType: 'exact_or_above',
72
+ to: '15',
73
+ triggerEvent: 'inventory_status',
74
+ type: 'in_stock'
75
75
  }
76
76
  ],
77
- "image": {
78
- "src": "https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677"
77
+ image: {
78
+ src: 'https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677'
79
79
  },
80
- "positionWithImage": "outside",
81
- "shape": "horizontal_rectangle"
80
+ positionWithImage: 'outside',
81
+ shape: 'horizontal_rectangle'
82
82
  },
83
- "styles": {
84
- "align": {
85
- "desktop": "left"
86
- },
87
- "badgeColor": "#FF614C",
88
- "borderRadius": {
89
- "bblr": "0px",
90
- "bbrr": "0px",
91
- "btlr": "0px",
92
- "btrr": "0px",
93
- "radiusType": "custom"
94
- },
95
- "hasShadow": false,
96
- "imageSize": {
97
- "desktop": {
98
- "disableShapeLinked": true,
99
- "height": "auto",
100
- "shape": "original",
101
- "shapeLinked": true,
102
- "width": "20%"
83
+ styles: {
84
+ align: {
85
+ desktop: 'left'
86
+ },
87
+ badgeColorV2: {
88
+ desktop: {
89
+ normal: '#FF614C'
90
+ }
91
+ },
92
+ borderRadius: {
93
+ bblr: '0px',
94
+ bbrr: '0px',
95
+ btlr: '0px',
96
+ btrr: '0px',
97
+ radiusType: 'custom'
98
+ },
99
+ hasShadow: false,
100
+ imageSize: {
101
+ desktop: {
102
+ disableShapeLinked: true,
103
+ height: 'auto',
104
+ shape: 'original',
105
+ shapeLinked: true,
106
+ width: '20%'
103
107
  }
104
108
  },
105
- "position": {
106
- "desktop": {
107
- "bottomGap": "0",
108
- "leftGap": "0",
109
- "placement": "top-left",
110
- "rightGap": "0",
111
- "topGap": "0"
109
+ position: {
110
+ desktop: {
111
+ bottomGap: '0',
112
+ leftGap: '0',
113
+ placement: 'top-left',
114
+ rightGap: '0',
115
+ topGap: '0'
112
116
  }
113
117
  },
114
- "shapeShadow": {
115
- "angle": 90,
116
- "blur": "12px",
117
- "color": "#121212",
118
- "distance": "4px",
119
- "spread": "0px",
120
- "type": "shadow-1"
121
- },
122
- "textColor": "text-3",
123
- "textSize": {
124
- "desktop": {
125
- "disableShapeLinked": true,
126
- "gap": "",
127
- "height": "Auto",
128
- "hiddenShape": true,
129
- "padding": {
130
- "bottom": "8px",
131
- "left": "12px",
132
- "right": "12px",
133
- "top": "8px"
118
+ shapeShadow: {
119
+ angle: 90,
120
+ blur: '12px',
121
+ color: '#121212',
122
+ distance: '4px',
123
+ spread: '0px',
124
+ type: 'shadow-1'
125
+ },
126
+ textColor: 'text-3',
127
+ textSize: {
128
+ desktop: {
129
+ disableShapeLinked: true,
130
+ gap: '',
131
+ height: 'Auto',
132
+ hiddenShape: true,
133
+ padding: {
134
+ bottom: '8px',
135
+ left: '12px',
136
+ right: '12px',
137
+ top: '8px'
134
138
  },
135
- "shape": "custom",
136
- "shapeLinked": false,
137
- "width": "100%"
139
+ shape: 'custom',
140
+ shapeLinked: false,
141
+ width: '100%'
138
142
  }
139
143
  },
140
- "typo": {
141
- "attrs": {
142
- "color": "text-3"
144
+ typo: {
145
+ attrs: {
146
+ color: 'text-3'
143
147
  },
144
- "custom": {
145
- "fontSize": {
146
- "desktop": "15px"
148
+ custom: {
149
+ fontSize: {
150
+ desktop: '15px'
147
151
  }
148
152
  },
149
- "type": "paragraph-1"
153
+ type: 'paragraph-1'
150
154
  }
151
155
  },
152
- "tag": "ProductBadge",
153
- "uid": "gaWpBvn_TG"
156
+ tag: 'ProductBadge',
157
+ uid: 'gaWpBvn_TG'
154
158
  },
155
159
  {
156
- "advanced": {
157
- "d": {
158
- "desktop": true,
159
- "mobile": true,
160
- "tablet": true
161
- },
162
- "editorData": {
163
- "cssPlaceholder": ".{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}"
164
- },
165
- "hasBoxShadow": {
166
- "desktop": {
167
- "normal": false
160
+ advanced: {
161
+ d: {
162
+ desktop: true,
163
+ mobile: true,
164
+ tablet: true
165
+ },
166
+ editorData: {
167
+ cssPlaceholder: '.{{rootClassName}} {\n\n}\n.{{rootClassName}} > figure > img {\n\n}'
168
+ },
169
+ hasBoxShadow: {
170
+ desktop: {
171
+ normal: false
168
172
  }
169
173
  },
170
- "op": {
171
- "desktop": "100%"
172
- },
173
- "rounded": {
174
- "desktop": {
175
- "normal": {
176
- "bblr": "0px",
177
- "bbrr": "0px",
178
- "btlr": "0px",
179
- "btrr": "0px",
180
- "radiusType": "none"
174
+ op: {
175
+ desktop: '100%'
176
+ },
177
+ rounded: {
178
+ desktop: {
179
+ normal: {
180
+ bblr: '0px',
181
+ bbrr: '0px',
182
+ btlr: '0px',
183
+ btrr: '0px',
184
+ radiusType: 'none'
181
185
  }
182
186
  }
183
187
  },
184
- "spacing-setting": {
185
- "desktop": {
186
- "margin": {}
188
+ 'spacing-setting': {
189
+ desktop: {
190
+ margin: {}
187
191
  }
188
192
  }
189
193
  },
190
- "label": "Image",
191
- "settings": {
192
- "image": {
193
- "height": 1678,
194
- "src": "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/",
195
- "width": 2237
196
- },
197
- "imageLink": {
198
- "link": "",
199
- "target": "_self"
200
- },
201
- "isAdaptive": true,
202
- "isNotLazyload": false,
203
- "priority": false,
204
- "quality": 70,
205
- "srcSet": {
206
- "desktop": {
207
- "height": 240,
208
- "src": "https://cdn.shopify.com/s/files/1/0617/5296/7323/files/gempages_516637113702155432-d6e2c48e-485d-4db2-a00e-9fe3bde2c3d5.png",
209
- "storage": "FILE_CONTENT",
210
- "width": 241
194
+ label: 'Image',
195
+ settings: {
196
+ image: {
197
+ height: 1678,
198
+ src: 'https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/',
199
+ width: 2237
200
+ },
201
+ imageLink: {
202
+ link: '',
203
+ target: '_self'
204
+ },
205
+ isAdaptive: true,
206
+ isNotLazyload: false,
207
+ priority: false,
208
+ quality: 70,
209
+ srcSet: {
210
+ desktop: {
211
+ height: 240,
212
+ src: 'https://cdn.shopify.com/s/files/1/0617/5296/7323/files/gempages_516637113702155432-d6e2c48e-485d-4db2-a00e-9fe3bde2c3d5.png',
213
+ storage: 'FILE_CONTENT',
214
+ width: 241
211
215
  }
212
216
  }
213
217
  },
214
- "styles": {
215
- "align": {
216
- "desktop": "center"
217
- },
218
- "borderImg": {
219
- "normal": {
220
- "border": "none",
221
- "borderType": "none",
222
- "borderWidth": "1px",
223
- "color": "#000000",
224
- "isCustom": false,
225
- "width": "1px 1px 1px 1px"
218
+ styles: {
219
+ align: {
220
+ desktop: 'center'
221
+ },
222
+ borderImg: {
223
+ normal: {
224
+ border: 'none',
225
+ borderType: 'none',
226
+ borderWidth: '1px',
227
+ color: '#000000',
228
+ isCustom: false,
229
+ width: '1px 1px 1px 1px'
226
230
  }
227
231
  },
228
- "borderRadius": {
229
- "radiusType": "none"
230
- },
231
- "boxShadowImg": {
232
- "normal": {
233
- "angle": 90,
234
- "blur": "12px",
235
- "color": "rgba(0, 0, 0, 0.20)",
236
- "distance": "4px",
237
- "spread": "0px",
238
- "type": "shadow-1"
232
+ borderRadius: {
233
+ radiusType: 'none'
234
+ },
235
+ boxShadowImg: {
236
+ normal: {
237
+ angle: 90,
238
+ blur: '12px',
239
+ color: 'rgba(0, 0, 0, 0.20)',
240
+ distance: '4px',
241
+ spread: '0px',
242
+ type: 'shadow-1'
239
243
  }
240
244
  },
241
- "hasActiveShadow": false,
242
- "hasBoxShadowImg": {
243
- "normal": false
244
- },
245
- "objectFit": {
246
- "desktop": "cover"
247
- },
248
- "opacity": {
249
- "normal": 0
250
- },
251
- "opacityColor": {
252
- "normal": "#242424"
253
- },
254
- "shadow": {
255
- "angle": 40,
256
- "blur": "12px",
257
- "color": "rgba(18, 18, 18, 0.77)",
258
- "distance": "10px",
259
- "spread": "10px",
260
- "type": "custom"
261
- },
262
- "shape": {
263
- "desktop": {
264
- "gap": "",
265
- "height": "",
266
- "shape": "original",
267
- "shapeLinked": true,
268
- "width": "100%"
245
+ hasActiveShadow: false,
246
+ hasBoxShadowImg: {
247
+ normal: false
248
+ },
249
+ objectFit: {
250
+ desktop: 'cover'
251
+ },
252
+ opacity: {
253
+ normal: 0
254
+ },
255
+ opacityColor: {
256
+ normal: '#242424'
257
+ },
258
+ shadow: {
259
+ angle: 40,
260
+ blur: '12px',
261
+ color: 'rgba(18, 18, 18, 0.77)',
262
+ distance: '10px',
263
+ spread: '10px',
264
+ type: 'custom'
265
+ },
266
+ shape: {
267
+ desktop: {
268
+ gap: '',
269
+ height: '',
270
+ shape: 'original',
271
+ shapeLinked: true,
272
+ width: '100%'
269
273
  }
270
274
  },
271
- "wrapperBorder": {
272
- "border": "none",
273
- "borderType": "none",
274
- "borderWidth": "1px",
275
- "color": "#000000",
276
- "isCustom": true,
277
- "position": "all",
278
- "width": "1px 1px 1px 1px"
275
+ wrapperBorder: {
276
+ border: 'none',
277
+ borderType: 'none',
278
+ borderWidth: '1px',
279
+ color: '#000000',
280
+ isCustom: true,
281
+ position: 'all',
282
+ width: '1px 1px 1px 1px'
279
283
  }
280
284
  },
281
- "tag": "Image",
282
- "uid": "gdzIKI_0T_"
285
+ tag: 'Image',
286
+ uid: 'gdzIKI_0T_'
283
287
  },
284
288
  {
285
- "childrens": [],
286
- "label": "Text Block",
287
- "settings": {
288
- "background": {
289
- "desktop": {
290
- "attachment": "scroll",
291
- "color": "transparent",
292
- "image": {
293
- "height": 0,
294
- "src": "",
295
- "width": 0
289
+ childrens: [],
290
+ label: 'Text Block',
291
+ settings: {
292
+ background: {
293
+ desktop: {
294
+ attachment: 'scroll',
295
+ color: 'transparent',
296
+ image: {
297
+ height: 0,
298
+ src: '',
299
+ width: 0
296
300
  },
297
- "position": {
298
- "x": 50,
299
- "y": 50
301
+ position: {
302
+ x: 50,
303
+ y: 50
300
304
  },
301
- "repeat": "no-repeat",
302
- "size": "cover",
303
- "type": "color"
305
+ repeat: 'no-repeat',
306
+ size: 'cover',
307
+ type: 'color'
304
308
  }
305
309
  },
306
- "globalSize": {
307
- "desktop": {
308
- "padding": {
309
- "type": "custom"
310
+ globalSize: {
311
+ desktop: {
312
+ padding: {
313
+ type: 'custom'
310
314
  },
311
- "width": "100%"
315
+ width: '100%'
312
316
  }
313
317
  },
314
- "htmlTag": "div",
315
- "text": "bundle-title",
316
- "translate": "text"
318
+ htmlTag: 'div',
319
+ text: 'bundle-title',
320
+ translate: 'text'
317
321
  },
318
- "styles": {
319
- "align": {
320
- "desktop": "left"
322
+ styles: {
323
+ align: {
324
+ desktop: 'left'
321
325
  },
322
- "hasLineClamp": {
323
- "desktop": false
326
+ hasLineClamp: {
327
+ desktop: false
324
328
  },
325
- "lineClamp": {
326
- "desktop": 1,
327
- "mobile": 1,
328
- "tablet": 1
329
+ lineClamp: {
330
+ desktop: 1,
331
+ mobile: 1,
332
+ tablet: 1
329
333
  },
330
- "textAlign": {
331
- "desktop": "center"
334
+ textAlign: {
335
+ desktop: 'center'
332
336
  },
333
- "typo": {
334
- "attrs": {
335
- "bold": true,
336
- "color": "#121212"
337
+ typo: {
338
+ attrs: {
339
+ bold: true,
340
+ color: '#121212'
337
341
  },
338
- "type": "subheading-2"
342
+ type: 'subheading-2'
339
343
  }
340
344
  },
341
- "tag": "Text",
342
- "uid": "gn1nFyt3q6"
345
+ tag: 'Text',
346
+ uid: 'gn1nFyt3q6'
343
347
  },
344
348
  {
345
- "advanced": {
346
- "spacing-setting": {
347
- "desktop": {
348
- "margin": {
349
- "bottom": 0
349
+ advanced: {
350
+ 'spacing-setting': {
351
+ desktop: {
352
+ margin: {
353
+ bottom: 0
350
354
  }
351
355
  }
352
356
  }
353
357
  },
354
- "childrens": [],
355
- "label": "Text Block",
356
- "settings": {
357
- "background": {
358
- "desktop": {
359
- "attachment": "scroll",
360
- "color": "transparent",
361
- "image": {
362
- "height": 0,
363
- "src": "",
364
- "width": 0
358
+ childrens: [],
359
+ label: 'Text Block',
360
+ settings: {
361
+ background: {
362
+ desktop: {
363
+ attachment: 'scroll',
364
+ color: 'transparent',
365
+ image: {
366
+ height: 0,
367
+ src: '',
368
+ width: 0
365
369
  },
366
- "position": {
367
- "x": 50,
368
- "y": 50
370
+ position: {
371
+ x: 50,
372
+ y: 50
369
373
  },
370
- "repeat": "no-repeat",
371
- "size": "cover",
372
- "type": "color"
374
+ repeat: 'no-repeat',
375
+ size: 'cover',
376
+ type: 'color'
373
377
  }
374
378
  },
375
- "globalSize": {
376
- "desktop": {
377
- "padding": {
378
- "type": "custom"
379
+ globalSize: {
380
+ desktop: {
381
+ padding: {
382
+ type: 'custom'
379
383
  },
380
- "width": "100%"
384
+ width: '100%'
381
385
  }
382
386
  },
383
- "htmlTag": "div",
384
- "text": "<p>Deluxe choice</p>",
385
- "translate": "text"
387
+ htmlTag: 'div',
388
+ text: '<p>Deluxe choice</p>',
389
+ translate: 'text'
386
390
  },
387
- "styles": {
388
- "align": {
389
- "desktop": "left"
391
+ styles: {
392
+ align: {
393
+ desktop: 'left'
390
394
  },
391
- "hasLineClamp": {
392
- "desktop": false
395
+ hasLineClamp: {
396
+ desktop: false
393
397
  },
394
- "lineClamp": {
395
- "desktop": 1,
396
- "mobile": 1,
397
- "tablet": 1
398
+ lineClamp: {
399
+ desktop: 1,
400
+ mobile: 1,
401
+ tablet: 1
398
402
  },
399
- "textAlign": {
400
- "desktop": "center"
403
+ textAlign: {
404
+ desktop: 'center'
401
405
  },
402
- "typo": {
403
- "attrs": {
404
- "color": "#121212"
406
+ typo: {
407
+ attrs: {
408
+ color: '#121212'
405
409
  },
406
- "type": "paragraph-1"
410
+ type: 'paragraph-1'
407
411
  }
408
412
  },
409
- "tag": "Text",
410
- "uid": "gRom-20zjM"
413
+ tag: 'Text',
414
+ uid: 'gRom-20zjM'
411
415
  },
412
416
  {
413
- "advanced": {
414
- "spacing-setting": {
415
- "desktop": {
416
- "margin": {
417
- "bottom": 0
417
+ advanced: {
418
+ 'spacing-setting': {
419
+ desktop: {
420
+ margin: {
421
+ bottom: 0
418
422
  }
419
423
  }
420
424
  }
421
425
  },
422
- "childrens": [
426
+ childrens: [
423
427
  {
424
- "childrens": [
428
+ childrens: [
425
429
  {
426
- "childrens": [],
427
- "label": "Product Price",
428
- "settings": {
429
- "hasOnlyDefaultVariant": false
430
+ tag: 'ProductPrice',
431
+ label: 'Product Price',
432
+ settings: {
433
+ priceType: 'compare'
430
434
  },
431
- "styles": {
432
- "color": {
433
- "normal": "#B4B4B4"
435
+ styles: {
436
+ typo: {
437
+ type: 'subheading-2',
438
+ default: {
439
+ type: 'subheading-2'
440
+ }
434
441
  },
435
- "hasTextShadow": {
436
- "normal": false
442
+ color: {
443
+ normal: 'text-1'
437
444
  },
438
- "lineColor": "text-1",
439
- "lineThrough": true,
440
- "priceType": "compare",
441
- "textAlign": {
442
- "desktop": "right"
445
+ lineThrough: true,
446
+ thickness: 2,
447
+ lineColor: 'text-1',
448
+ disableHoverColor: true,
449
+ hasTextShadow: {
450
+ normal: false
443
451
  },
444
- "textShadow": {
445
- "normal": {
446
- "type": "shadow-1"
452
+ textShadow: {
453
+ normal: {
454
+ type: 'shadow-1'
447
455
  }
448
456
  },
449
- "thickness": "1px",
450
- "typo": {
451
- "type": "paragraph-1"
457
+ textAlign: {
458
+ desktop: 'left'
452
459
  }
453
460
  },
454
- "tag": "ProductPrice",
455
- "uid": "gaMnk8EatB"
461
+ advanced: {
462
+ 'spacing-setting': {
463
+ desktop: {
464
+ margin: {
465
+ bottom: 0
466
+ }
467
+ }
468
+ },
469
+ d: {
470
+ desktop: true,
471
+ tablet: true,
472
+ mobile: true
473
+ },
474
+ border: {
475
+ desktop: {
476
+ normal: {
477
+ borderType: 'none',
478
+ border: 'none',
479
+ borderWidth: '1px',
480
+ width: '1px 1px 1px 1px',
481
+ color: '#121212',
482
+ isCustom: true
483
+ }
484
+ }
485
+ },
486
+ rounded: {
487
+ desktop: {
488
+ normal: {
489
+ btrr: '0px',
490
+ bblr: '0px',
491
+ bbrr: '0px',
492
+ btlr: '0px',
493
+ radiusType: 'none'
494
+ }
495
+ }
496
+ },
497
+ hasBoxShadow: {
498
+ desktop: {
499
+ normal: false
500
+ }
501
+ },
502
+ boxShadow: {
503
+ desktop: {
504
+ normal: {}
505
+ }
506
+ },
507
+ op: {
508
+ desktop: '100%'
509
+ }
510
+ },
511
+ defaultPresetConfig: {
512
+ typo: {
513
+ type: 'subheading-2',
514
+ default: {
515
+ type: 'subheading-2'
516
+ }
517
+ },
518
+ color: {
519
+ normal: 'text-1'
520
+ },
521
+ lineThrough: true,
522
+ thickness: 2,
523
+ lineColor: 'text-1',
524
+ disableHoverColor: true,
525
+ hasTextShadow: {
526
+ normal: false
527
+ },
528
+ textShadow: {
529
+ normal: {
530
+ type: 'shadow-1'
531
+ }
532
+ },
533
+ textAlign: {
534
+ desktop: 'left'
535
+ },
536
+ 'spacing-setting': {
537
+ desktop: {
538
+ margin: {
539
+ bottom: 'var(--g-s-l)'
540
+ }
541
+ }
542
+ },
543
+ d: {
544
+ desktop: true,
545
+ tablet: true,
546
+ mobile: true
547
+ },
548
+ border: {
549
+ desktop: {
550
+ normal: {
551
+ borderType: 'none',
552
+ border: 'none',
553
+ borderWidth: '1px',
554
+ width: '1px 1px 1px 1px',
555
+ color: '#121212',
556
+ isCustom: true
557
+ }
558
+ }
559
+ },
560
+ rounded: {
561
+ desktop: {
562
+ normal: {
563
+ btrr: '0px',
564
+ bblr: '0px',
565
+ bbrr: '0px',
566
+ btlr: '0px',
567
+ radiusType: 'none'
568
+ }
569
+ }
570
+ },
571
+ hasBoxShadow: {
572
+ desktop: {
573
+ normal: false
574
+ }
575
+ },
576
+ boxShadow: {
577
+ desktop: {
578
+ normal: {}
579
+ }
580
+ },
581
+ op: {
582
+ desktop: '100%'
583
+ },
584
+ animation: {
585
+ desktop: {
586
+ enabled: false,
587
+ trigger: 'appear',
588
+ triggerConfig: {
589
+ appear: {
590
+ animation: 'fade',
591
+ setting: {
592
+ fade: {
593
+ delay: '0',
594
+ speed: 1.7,
595
+ easing: 'ease-out'
596
+ },
597
+ zoom: {
598
+ delay: '0',
599
+ speed: 1.7,
600
+ isFade: true,
601
+ easing: 'ease-out',
602
+ zoomDirection: 'in',
603
+ scale: {
604
+ in: [
605
+ 80,
606
+ 100
607
+ ],
608
+ out: [
609
+ 120,
610
+ 100
611
+ ]
612
+ }
613
+ },
614
+ slide: {
615
+ delay: '0',
616
+ speed: 1.7,
617
+ easing: 'ease-out',
618
+ direction: 'left',
619
+ isCustomDistance: false
620
+ },
621
+ shake: {
622
+ delay: '0',
623
+ speed: 0.7,
624
+ loop: false,
625
+ intensity: 11,
626
+ easing: 'linear'
627
+ }
628
+ }
629
+ },
630
+ hover: {
631
+ animation: 'none',
632
+ setting: {
633
+ fade: {
634
+ delay: '0',
635
+ speed: 1.7,
636
+ easing: 'ease-out'
637
+ },
638
+ zoom: {
639
+ delay: '0',
640
+ speed: 1.7,
641
+ isFade: false,
642
+ easing: 'ease-out',
643
+ zoomDirection: 'in',
644
+ scale: {
645
+ in: [
646
+ 100,
647
+ 120
648
+ ],
649
+ out: [
650
+ 100,
651
+ 80
652
+ ]
653
+ }
654
+ },
655
+ slide: {
656
+ delay: '0',
657
+ speed: 1.7,
658
+ easing: 'ease-out',
659
+ direction: 'left',
660
+ isCustomDistance: false
661
+ },
662
+ shake: {
663
+ delay: '0',
664
+ speed: 0.7,
665
+ loop: false,
666
+ intensity: 11,
667
+ easing: 'linear'
668
+ }
669
+ }
670
+ }
671
+ }
672
+ }
673
+ },
674
+ priceType: 'compare'
675
+ }
456
676
  }
457
677
  ],
458
- "label": "Block",
459
- "settings": {},
460
- "styles": {},
461
- "tag": "Col",
462
- "uid": "gzjaV2bhnA"
678
+ label: 'Block',
679
+ settings: {},
680
+ styles: {},
681
+ tag: 'Col',
682
+ uid: 'gzjaV2bhnA'
463
683
  },
464
684
  {
465
- "childrens": [
685
+ childrens: [
466
686
  {
467
- "childrens": [],
468
- "label": "Product Price",
469
- "settings": {
470
- "hasOnlyDefaultVariant": false
687
+ childrens: [],
688
+ label: 'Product Price',
689
+ settings: {
690
+ hasOnlyDefaultVariant: false
471
691
  },
472
- "styles": {
473
- "color": {
474
- "normal": "#242424"
692
+ styles: {
693
+ color: {
694
+ normal: '#242424'
475
695
  },
476
- "hasTextShadow": {
477
- "normal": false
696
+ hasTextShadow: {
697
+ normal: false
478
698
  },
479
- "lineColor": "text-1",
480
- "lineThrough": true,
481
- "priceType": "regular",
482
- "textAlign": {
483
- "desktop": "right"
699
+ lineColor: 'text-1',
700
+ lineThrough: true,
701
+ priceType: 'regular',
702
+ textAlign: {
703
+ desktop: 'right'
484
704
  },
485
- "textShadow": {
486
- "normal": {
487
- "type": "shadow-1"
705
+ textShadow: {
706
+ normal: {
707
+ type: 'shadow-1'
488
708
  }
489
709
  },
490
- "thickness": 1,
491
- "typo": {
492
- "type": "subheading-2"
710
+ thickness: 1,
711
+ typo: {
712
+ type: 'subheading-2'
493
713
  }
494
714
  },
495
- "tag": "ProductPrice",
496
- "uid": "gPxDKeAt0Y"
715
+ tag: 'ProductPrice',
716
+ uid: 'gPxDKeAt0Y'
497
717
  }
498
718
  ],
499
- "label": "Block",
500
- "settings": {},
501
- "tag": "Col",
502
- "uid": "gaMYmxtRAS"
719
+ label: 'Block',
720
+ settings: {},
721
+ tag: 'Col',
722
+ uid: 'gaMYmxtRAS'
503
723
  }
504
724
  ],
505
- "label": "Row",
506
- "settings": {
507
- "blockAlignment": "start",
508
- "horizontalAlign": {
509
- "desktop": "center"
510
- },
511
- "inlineAlignment": "start",
512
- "layout": {
513
- "desktop": {
514
- "cols": [
725
+ label: 'Row',
726
+ settings: {
727
+ blockAlignment: 'start',
728
+ horizontalAlign: {
729
+ desktop: 'center'
730
+ },
731
+ inlineAlignment: 'start',
732
+ layout: {
733
+ desktop: {
734
+ cols: [
515
735
  6,
516
736
  6
517
737
  ],
518
- "display": "fit"
738
+ display: 'fit'
519
739
  },
520
- "mobile": {
521
- "cols": [
740
+ mobile: {
741
+ cols: [
522
742
  6,
523
743
  6
524
744
  ],
525
- "display": "fit"
745
+ display: 'fit'
526
746
  }
527
747
  },
528
- "verticalAlign": {
529
- "desktop": "center"
748
+ verticalAlign: {
749
+ desktop: 'center'
530
750
  }
531
751
  },
532
- "styles": {
533
- "background": {
534
- "desktop": {
535
- "attachment": "scroll",
536
- "color": "transparent",
537
- "image": {
538
- "height": 0,
539
- "src": "",
540
- "width": 0
752
+ styles: {
753
+ background: {
754
+ desktop: {
755
+ attachment: 'scroll',
756
+ color: 'transparent',
757
+ image: {
758
+ height: 0,
759
+ src: '',
760
+ width: 0
541
761
  },
542
- "position": {
543
- "x": 50,
544
- "y": 50
762
+ position: {
763
+ x: 50,
764
+ y: 50
545
765
  },
546
- "repeat": "no-repeat",
547
- "size": "cover",
548
- "type": "color"
766
+ repeat: 'no-repeat',
767
+ size: 'cover',
768
+ type: 'color'
549
769
  }
550
770
  },
551
- "columnGap": {
552
- "desktop": "1%"
771
+ columnGap: {
772
+ desktop: '1%'
553
773
  },
554
- "fullWidth": {
555
- "desktop": false,
556
- "mobile": false,
557
- "tablet": false
774
+ fullWidth: {
775
+ desktop: false,
776
+ mobile: false,
777
+ tablet: false
558
778
  },
559
- "preloadBgImage": false,
560
- "verticalGutter": {
561
- "desktop": "8px"
779
+ preloadBgImage: false,
780
+ verticalGutter: {
781
+ desktop: '8px'
562
782
  },
563
- "width": {
564
- "desktop": "100%"
783
+ width: {
784
+ desktop: '100%'
565
785
  }
566
786
  },
567
- "tag": "Row",
568
- "uid": "gQvPWxec6X"
787
+ tag: 'Row',
788
+ uid: 'gQvPWxec6X'
569
789
  }
570
790
  ],
571
- "label": "Block",
572
- "settings": {},
573
- "styles": {},
574
- "tag": "Col",
575
- "uid": "gY3R2wmMlG"
791
+ label: 'Block',
792
+ settings: {},
793
+ styles: {},
794
+ tag: 'Col',
795
+ uid: 'gY3R2wmMlG'
576
796
  }
577
797
  ],
578
- "label": "Row",
579
- "settings": {
580
- "blockAlignment": "start",
581
- "horizontalAlign": {
582
- "desktop": "space-between"
798
+ label: 'Row',
799
+ settings: {
800
+ blockAlignment: 'start',
801
+ horizontalAlign: {
802
+ desktop: 'space-between'
583
803
  },
584
- "inlineAlignment": "start",
585
- "layout": {
586
- "desktop": {
587
- "cols": [
804
+ inlineAlignment: 'start',
805
+ layout: {
806
+ desktop: {
807
+ cols: [
588
808
  12
589
809
  ],
590
- "display": "fill"
810
+ display: 'fill'
591
811
  },
592
- "mobile": {
593
- "cols": [
812
+ mobile: {
813
+ cols: [
594
814
  12
595
815
  ],
596
- "display": "fill"
816
+ display: 'fill'
597
817
  }
598
818
  },
599
- "verticalAlign": {
600
- "desktop": "center"
819
+ verticalAlign: {
820
+ desktop: 'center'
601
821
  }
602
822
  },
603
- "styles": {
604
- "background": {
605
- "desktop": {
606
- "attachment": "scroll",
607
- "color": "transparent",
608
- "image": {
609
- "height": 0,
610
- "src": "",
611
- "width": 0
823
+ styles: {
824
+ background: {
825
+ desktop: {
826
+ attachment: 'scroll',
827
+ color: 'transparent',
828
+ image: {
829
+ height: 0,
830
+ src: '',
831
+ width: 0
612
832
  },
613
- "position": {
614
- "x": 50,
615
- "y": 50
833
+ position: {
834
+ x: 50,
835
+ y: 50
616
836
  },
617
- "repeat": "no-repeat",
618
- "size": "cover",
619
- "type": "color"
837
+ repeat: 'no-repeat',
838
+ size: 'cover',
839
+ type: 'color'
620
840
  }
621
841
  },
622
- "columnGap": {
623
- "desktop": "1%"
842
+ columnGap: {
843
+ desktop: '1%'
624
844
  },
625
- "fullWidth": {
626
- "desktop": true,
627
- "mobile": true,
628
- "tablet": true
845
+ fullWidth: {
846
+ desktop: true,
847
+ mobile: true,
848
+ tablet: true
629
849
  },
630
- "preloadBgImage": false,
631
- "verticalGutter": {
632
- "desktop": "16px"
850
+ preloadBgImage: false,
851
+ verticalGutter: {
852
+ desktop: '16px'
633
853
  },
634
- "width": {}
854
+ width: {}
635
855
  },
636
- "tag": "Row"
856
+ tag: 'Row'
637
857
  }
638
858
  ];
639
859