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