@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.
- package/dist/cjs/coupon/common/classes.js +1 -1
- package/dist/cjs/coupon/common/styles.js +4 -2
- package/dist/cjs/coupon/setting/config/settings.js +7 -3
- package/dist/cjs/coupon/setting/config/uiV2.js +65 -64
- package/dist/cjs/marquee/setting/configs/settingsV2.js +3 -3
- package/dist/cjs/product/components/ProductBadge/common/getAttrs.js +2 -19
- package/dist/cjs/product/components/ProductBadge/index.liquid.js +15 -0
- package/dist/cjs/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
- package/dist/cjs/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
- package/dist/cjs/product/setting/constant/bundle-layout/verticalOne.js +230 -13
- package/dist/cjs/product/setting/constant/bundle-layout/verticalThree.js +579 -359
- package/dist/cjs/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
- package/dist/esm/coupon/common/classes.js +1 -1
- package/dist/esm/coupon/common/styles.js +4 -2
- package/dist/esm/coupon/setting/config/settings.js +7 -3
- package/dist/esm/coupon/setting/config/uiV2.js +65 -64
- package/dist/esm/marquee/setting/configs/settingsV2.js +3 -3
- package/dist/esm/product/components/ProductBadge/common/getAttrs.js +2 -19
- package/dist/esm/product/components/ProductBadge/index.liquid.js +17 -2
- package/dist/esm/product/components/ProductPrice/hooks/useGpPrice.js +1 -1
- package/dist/esm/product/setting/constant/bundle-layout/horizontalOne.js +230 -14
- package/dist/esm/product/setting/constant/bundle-layout/horizontalThree.js +684 -464
- package/dist/esm/product/setting/constant/bundle-layout/horizontalTwo.js +235 -15
- package/dist/esm/product/setting/constant/bundle-layout/verticalOne.js +230 -13
- package/dist/esm/product/setting/constant/bundle-layout/verticalThree.js +579 -359
- package/dist/esm/product/setting/constant/bundle-layout/verticalTwo.js +579 -359
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ const getActiveClasses = (backgroundColor, text)=>{
|
|
|
8
8
|
tablet: 'tablet:',
|
|
9
9
|
mobile: 'mobile:'
|
|
10
10
|
};
|
|
11
|
-
const generateClass = (type, device, value)=>value ? `${breakpoints[device]}[
|
|
11
|
+
const generateClass = (type, device, value)=>value ? `${breakpoints[device]}[&_button]:data-[active=true]:!gp-${type}-[${value}]` : '';
|
|
12
12
|
const classes = [
|
|
13
13
|
generateClass('bg', 'desktop', backgroundColor?.desktop?.active),
|
|
14
14
|
generateClass('bg', 'tablet', backgroundColor?.tablet?.active),
|
|
@@ -45,8 +45,10 @@ const getInnerBorderCornerCss = (data)=>{
|
|
|
45
45
|
return `
|
|
46
46
|
${mediaQuery}
|
|
47
47
|
.gp-coupon[data-active="true"] .${uid} {
|
|
48
|
-
${core.composeBorderCss(borderBtnV2?.[device]?.active
|
|
49
|
-
|
|
48
|
+
${core.composeBorderCss(borderBtnV2?.[device]?.active, {
|
|
49
|
+
important: true
|
|
50
|
+
})};
|
|
51
|
+
${core.composeCornerCss(roundedBtnV2?.[device]?.active, true)};
|
|
50
52
|
box-shadow: ${getShadowValue(boxShadowBtnV2?.[device]?.active)} !important;
|
|
51
53
|
}
|
|
52
54
|
${closeMediaQuery}
|
|
@@ -14,7 +14,7 @@ const CouponSettings = [
|
|
|
14
14
|
default: 'icon',
|
|
15
15
|
options: [
|
|
16
16
|
{
|
|
17
|
-
label: '
|
|
17
|
+
label: 'Text Only',
|
|
18
18
|
value: 'none',
|
|
19
19
|
iconName: 'gp-coupon-code-layout'
|
|
20
20
|
},
|
|
@@ -273,6 +273,9 @@ const CouponSettings = [
|
|
|
273
273
|
default: {
|
|
274
274
|
type: 'paragraph-1'
|
|
275
275
|
},
|
|
276
|
+
hiddenSetting: {
|
|
277
|
+
textAlign: true
|
|
278
|
+
},
|
|
276
279
|
ignoreReRender: true
|
|
277
280
|
},
|
|
278
281
|
{
|
|
@@ -518,8 +521,9 @@ const CouponSettings = [
|
|
|
518
521
|
distance: '4px',
|
|
519
522
|
blur: '4px',
|
|
520
523
|
spread: '0px',
|
|
521
|
-
color: '
|
|
522
|
-
angle: 45
|
|
524
|
+
color: 'rgba(18, 18, 18, 0.2)',
|
|
525
|
+
angle: 45,
|
|
526
|
+
enable: true
|
|
523
527
|
}
|
|
524
528
|
}
|
|
525
529
|
}
|
|
@@ -11,7 +11,40 @@ const SettingUIV2 = [
|
|
|
11
11
|
setting: {
|
|
12
12
|
id: 'couponLayout'
|
|
13
13
|
},
|
|
14
|
-
layout: 'vertical'
|
|
14
|
+
layout: 'vertical',
|
|
15
|
+
controlChangeTrigger: {
|
|
16
|
+
settings: [
|
|
17
|
+
{
|
|
18
|
+
condition: `couponLayout === 'icon'`,
|
|
19
|
+
source: [
|
|
20
|
+
'couponLayout',
|
|
21
|
+
'iconVisible'
|
|
22
|
+
],
|
|
23
|
+
action: {
|
|
24
|
+
controlId: 'iconVisible',
|
|
25
|
+
groupType: 'setting',
|
|
26
|
+
controlType: 'setting',
|
|
27
|
+
newValue: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
condition: `couponLayout === 'none'`,
|
|
32
|
+
source: [
|
|
33
|
+
'couponLayout',
|
|
34
|
+
'iconVisible'
|
|
35
|
+
],
|
|
36
|
+
action: {
|
|
37
|
+
controlId: 'iconVisible',
|
|
38
|
+
groupType: 'setting',
|
|
39
|
+
controlType: 'setting',
|
|
40
|
+
newValue: false
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
options: {
|
|
45
|
+
noRecordHistory: true
|
|
46
|
+
}
|
|
47
|
+
}
|
|
15
48
|
}
|
|
16
49
|
]
|
|
17
50
|
},
|
|
@@ -28,6 +61,7 @@ const SettingUIV2 = [
|
|
|
28
61
|
iconName: 'polaris-text-block',
|
|
29
62
|
getValueFromSettingID: 'copyContent',
|
|
30
63
|
isHideClear: true,
|
|
64
|
+
compoDefaultValue: 'GEMPAGES30',
|
|
31
65
|
popoverLabel: {
|
|
32
66
|
en: 'Code'
|
|
33
67
|
},
|
|
@@ -48,22 +82,6 @@ const SettingUIV2 = [
|
|
|
48
82
|
}
|
|
49
83
|
]
|
|
50
84
|
},
|
|
51
|
-
{
|
|
52
|
-
label: {
|
|
53
|
-
en: 'Content'
|
|
54
|
-
},
|
|
55
|
-
controls: [
|
|
56
|
-
{
|
|
57
|
-
type: 'control',
|
|
58
|
-
label: {
|
|
59
|
-
en: 'Default'
|
|
60
|
-
},
|
|
61
|
-
setting: {
|
|
62
|
-
id: 'defaultLabel'
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
85
|
{
|
|
68
86
|
label: {
|
|
69
87
|
en: 'Size'
|
|
@@ -203,50 +221,6 @@ const SettingUIV2 = [
|
|
|
203
221
|
setting: {
|
|
204
222
|
id: 'boxShadowBtnV2',
|
|
205
223
|
state: 'normal'
|
|
206
|
-
},
|
|
207
|
-
options: {
|
|
208
|
-
updateFields: [
|
|
209
|
-
{
|
|
210
|
-
field: 'normal.enable',
|
|
211
|
-
settingId: 'hasBoxShadow',
|
|
212
|
-
state: 'normal'
|
|
213
|
-
}
|
|
214
|
-
]
|
|
215
|
-
},
|
|
216
|
-
controlChangeTrigger: {
|
|
217
|
-
settings: [
|
|
218
|
-
{
|
|
219
|
-
condition: `boxShadow.normal.enable === true`,
|
|
220
|
-
source: [
|
|
221
|
-
'boxShadow',
|
|
222
|
-
'hasBoxShadow'
|
|
223
|
-
],
|
|
224
|
-
action: {
|
|
225
|
-
controlId: 'hasBoxShadow',
|
|
226
|
-
groupType: 'style',
|
|
227
|
-
controlType: 'style',
|
|
228
|
-
state: 'normal',
|
|
229
|
-
newValue: true
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
condition: `boxShadow.normal.enable === false`,
|
|
234
|
-
source: [
|
|
235
|
-
'boxShadow',
|
|
236
|
-
'hasBoxShadow'
|
|
237
|
-
],
|
|
238
|
-
action: {
|
|
239
|
-
controlId: 'hasBoxShadow',
|
|
240
|
-
groupType: 'style',
|
|
241
|
-
controlType: 'style',
|
|
242
|
-
state: 'normal',
|
|
243
|
-
newValue: false
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
options: {
|
|
248
|
-
noRecordHistory: true
|
|
249
|
-
}
|
|
250
224
|
}
|
|
251
225
|
}
|
|
252
226
|
]
|
|
@@ -272,14 +246,14 @@ const SettingUIV2 = [
|
|
|
272
246
|
id: 'iconSvg'
|
|
273
247
|
},
|
|
274
248
|
label: {
|
|
275
|
-
en: '
|
|
249
|
+
en: 'Icon'
|
|
276
250
|
}
|
|
277
251
|
},
|
|
278
252
|
{
|
|
279
253
|
conditionDisplay: 'couponLayout == "icon" && iconVisible == true',
|
|
280
254
|
type: 'control',
|
|
281
255
|
label: {
|
|
282
|
-
en: '
|
|
256
|
+
en: 'Position'
|
|
283
257
|
},
|
|
284
258
|
setting: {
|
|
285
259
|
id: 'iconAlign'
|
|
@@ -289,7 +263,7 @@ const SettingUIV2 = [
|
|
|
289
263
|
conditionDisplay: 'couponLayout == "icon" && iconVisible == true',
|
|
290
264
|
type: 'control',
|
|
291
265
|
label: {
|
|
292
|
-
en: '
|
|
266
|
+
en: 'Gap'
|
|
293
267
|
},
|
|
294
268
|
setting: {
|
|
295
269
|
id: 'iconSpacing'
|
|
@@ -311,6 +285,33 @@ const SettingUIV2 = [
|
|
|
311
285
|
toggleStyle: 'switch'
|
|
312
286
|
}
|
|
313
287
|
},
|
|
288
|
+
{
|
|
289
|
+
type: 'combo',
|
|
290
|
+
label: {
|
|
291
|
+
en: 'Content'
|
|
292
|
+
},
|
|
293
|
+
iconName: 'polaris-text-block',
|
|
294
|
+
getValueFromSettingID: 'defaultLabel',
|
|
295
|
+
isHideClear: true,
|
|
296
|
+
compoDefaultValue: 'Copy',
|
|
297
|
+
popoverLabel: {
|
|
298
|
+
en: 'Content'
|
|
299
|
+
},
|
|
300
|
+
controls: [
|
|
301
|
+
{
|
|
302
|
+
label: {
|
|
303
|
+
en: 'Content'
|
|
304
|
+
},
|
|
305
|
+
options: {
|
|
306
|
+
fullWidth: true
|
|
307
|
+
},
|
|
308
|
+
layout: 'vertical',
|
|
309
|
+
setting: {
|
|
310
|
+
id: 'defaultLabel'
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
314
315
|
{
|
|
315
316
|
type: 'control',
|
|
316
317
|
layout: 'vertical',
|
|
@@ -13,17 +13,17 @@ const MarqueeSettingsV2 = [
|
|
|
13
13
|
{
|
|
14
14
|
label: 'Fit to content',
|
|
15
15
|
value: 'FIT_CONTENT',
|
|
16
|
-
|
|
16
|
+
subTitle: 'Match the width of the element inside'
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
label: 'Based on the item count',
|
|
20
20
|
value: 'BASE_ON_NUMBER_OF_ITEMS',
|
|
21
|
-
|
|
21
|
+
subTitle: 'Max item width is screen width divided by the number of items'
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
label: 'Custom',
|
|
25
25
|
value: 'CUSTOM',
|
|
26
|
-
|
|
26
|
+
subTitle: 'Set the max width as you want'
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
devices: {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var core = require('@gem-sdk/core');
|
|
4
|
-
|
|
5
3
|
const getImageAttr = ({ setting })=>{
|
|
6
4
|
return {
|
|
7
5
|
src: setting?.image?.src,
|
|
@@ -10,27 +8,12 @@ const getImageAttr = ({ setting })=>{
|
|
|
10
8
|
};
|
|
11
9
|
};
|
|
12
10
|
const getContainerAttrs = (props)=>{
|
|
13
|
-
const { builderAttrs, builderProps
|
|
14
|
-
const isTextBadge = setting?.contentType === 'text';
|
|
11
|
+
const { builderAttrs, builderProps } = props;
|
|
15
12
|
return {
|
|
16
13
|
...builderAttrs,
|
|
17
14
|
'data-id': builderProps?.uid || '',
|
|
18
15
|
id: `g-product-badge-${builderProps?.uid}`,
|
|
19
|
-
'gp-data-hidden': 'false'
|
|
20
|
-
'gp-data': `${core.dataStringify({
|
|
21
|
-
displayContent: setting?.displayContent,
|
|
22
|
-
minPrice: '{{ minPriceValue }}',
|
|
23
|
-
variantIDs: '{{ product.variants | map: "id" | json | escape }}',
|
|
24
|
-
variantInventoryQuantities: '{{ product.variants | map: "inventory_quantity" | json | escape }}',
|
|
25
|
-
amountDiscount: '{{amountDiscountValue}}',
|
|
26
|
-
percentDiscount: '{{percentDiscountValue}}',
|
|
27
|
-
price: '{{price}}',
|
|
28
|
-
displayTrigger: setting?.displayTrigger,
|
|
29
|
-
uid: builderProps?.uid,
|
|
30
|
-
productCreatedAt: '{{product.created_at | date: "%Y-%m-%d" }}',
|
|
31
|
-
productTags: '{{ product.tags | join: "," }}',
|
|
32
|
-
isTextBadge
|
|
33
|
-
})}`
|
|
16
|
+
'gp-data-hidden': 'false'
|
|
34
17
|
};
|
|
35
18
|
};
|
|
36
19
|
const getEditTooltipAttrs = (props)=>{
|
|
@@ -77,6 +77,20 @@ const ProductBadge = (props)=>{
|
|
|
77
77
|
setting
|
|
78
78
|
})
|
|
79
79
|
});
|
|
80
|
+
const createDataState = system.createStateOrContext({
|
|
81
|
+
displayContent: setting?.displayContent,
|
|
82
|
+
minPrice: '{{ minPriceValue }}',
|
|
83
|
+
variantIDs: '{{ product.variants | map: "id" | json | escape }}',
|
|
84
|
+
variantInventoryQuantities: '{{ product.variants | map: "inventory_quantity" | json | escape }}',
|
|
85
|
+
amountDiscount: '{{amountDiscountValue}}',
|
|
86
|
+
percentDiscount: '{{percentDiscountValue}}',
|
|
87
|
+
price: '{{price}}',
|
|
88
|
+
displayTrigger: setting?.displayTrigger,
|
|
89
|
+
uid: props.builderProps?.uid,
|
|
90
|
+
productCreatedAt: '{{product.created_at | date: "%Y-%m-%d" }}',
|
|
91
|
+
productTags: '{{ product.tags | join: "," }}',
|
|
92
|
+
isTextBadge
|
|
93
|
+
});
|
|
80
94
|
return core.template`
|
|
81
95
|
{% if product %}
|
|
82
96
|
${generateLiquidContent.generateBadgeContent(setting?.displayContent)}
|
|
@@ -85,6 +99,7 @@ const ProductBadge = (props)=>{
|
|
|
85
99
|
${{
|
|
86
100
|
...containerAttrs
|
|
87
101
|
}}
|
|
102
|
+
gp-data='${core.dataStringify(createDataState)}'
|
|
88
103
|
class="containerClass"
|
|
89
104
|
style="${containerStyle}"
|
|
90
105
|
>
|
|
@@ -29,7 +29,7 @@ const useGpPrice = (props)=>{
|
|
|
29
29
|
bundleItem?.quantity
|
|
30
30
|
]);
|
|
31
31
|
const bundleDiscount = React.useMemo(()=>{
|
|
32
|
-
const value =
|
|
32
|
+
const value = Number(bundleItem?.discountValue);
|
|
33
33
|
if (bundleItem?.discountType === 'percentage') {
|
|
34
34
|
return price * quantityProduct * value / 100;
|
|
35
35
|
}
|
|
@@ -277,36 +277,252 @@ const horizontalOne = [
|
|
|
277
277
|
{
|
|
278
278
|
childrens: [
|
|
279
279
|
{
|
|
280
|
-
|
|
280
|
+
tag: 'ProductPrice',
|
|
281
281
|
label: 'Product Price',
|
|
282
282
|
settings: {
|
|
283
|
-
priceType: 'compare'
|
|
284
|
-
hasOnlyDefaultVariant: false
|
|
283
|
+
priceType: 'compare'
|
|
285
284
|
},
|
|
286
285
|
styles: {
|
|
286
|
+
typo: {
|
|
287
|
+
type: 'subheading-2',
|
|
288
|
+
default: {
|
|
289
|
+
type: 'subheading-2'
|
|
290
|
+
}
|
|
291
|
+
},
|
|
287
292
|
color: {
|
|
288
|
-
normal: '
|
|
293
|
+
normal: 'text-1'
|
|
289
294
|
},
|
|
295
|
+
lineThrough: true,
|
|
296
|
+
thickness: 2,
|
|
297
|
+
lineColor: 'text-1',
|
|
298
|
+
disableHoverColor: true,
|
|
290
299
|
hasTextShadow: {
|
|
291
300
|
normal: false
|
|
292
301
|
},
|
|
293
|
-
lineColor: 'text-1',
|
|
294
|
-
lineThrough: true,
|
|
295
|
-
textAlign: {
|
|
296
|
-
desktop: 'right'
|
|
297
|
-
},
|
|
298
302
|
textShadow: {
|
|
299
303
|
normal: {
|
|
300
304
|
type: 'shadow-1'
|
|
301
305
|
}
|
|
302
306
|
},
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
type: 'paragraph-2'
|
|
307
|
+
textAlign: {
|
|
308
|
+
desktop: 'left'
|
|
306
309
|
}
|
|
307
310
|
},
|
|
308
|
-
|
|
309
|
-
|
|
311
|
+
advanced: {
|
|
312
|
+
'spacing-setting': {
|
|
313
|
+
desktop: {
|
|
314
|
+
margin: {
|
|
315
|
+
bottom: 0
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
d: {
|
|
320
|
+
desktop: true,
|
|
321
|
+
tablet: true,
|
|
322
|
+
mobile: true
|
|
323
|
+
},
|
|
324
|
+
border: {
|
|
325
|
+
desktop: {
|
|
326
|
+
normal: {
|
|
327
|
+
borderType: 'none',
|
|
328
|
+
border: 'none',
|
|
329
|
+
borderWidth: '1px',
|
|
330
|
+
width: '1px 1px 1px 1px',
|
|
331
|
+
color: '#121212',
|
|
332
|
+
isCustom: true
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
rounded: {
|
|
337
|
+
desktop: {
|
|
338
|
+
normal: {
|
|
339
|
+
btrr: '0px',
|
|
340
|
+
bblr: '0px',
|
|
341
|
+
bbrr: '0px',
|
|
342
|
+
btlr: '0px',
|
|
343
|
+
radiusType: 'none'
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
hasBoxShadow: {
|
|
348
|
+
desktop: {
|
|
349
|
+
normal: false
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
boxShadow: {
|
|
353
|
+
desktop: {
|
|
354
|
+
normal: {}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
op: {
|
|
358
|
+
desktop: '100%'
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
defaultPresetConfig: {
|
|
362
|
+
typo: {
|
|
363
|
+
type: 'subheading-2',
|
|
364
|
+
default: {
|
|
365
|
+
type: 'subheading-2'
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
color: {
|
|
369
|
+
normal: 'text-1'
|
|
370
|
+
},
|
|
371
|
+
lineThrough: true,
|
|
372
|
+
thickness: 2,
|
|
373
|
+
lineColor: 'text-1',
|
|
374
|
+
disableHoverColor: true,
|
|
375
|
+
hasTextShadow: {
|
|
376
|
+
normal: false
|
|
377
|
+
},
|
|
378
|
+
textShadow: {
|
|
379
|
+
normal: {
|
|
380
|
+
type: 'shadow-1'
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
textAlign: {
|
|
384
|
+
desktop: 'left'
|
|
385
|
+
},
|
|
386
|
+
'spacing-setting': {
|
|
387
|
+
desktop: {
|
|
388
|
+
margin: {
|
|
389
|
+
bottom: 'var(--g-s-l)'
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
d: {
|
|
394
|
+
desktop: true,
|
|
395
|
+
tablet: true,
|
|
396
|
+
mobile: true
|
|
397
|
+
},
|
|
398
|
+
border: {
|
|
399
|
+
desktop: {
|
|
400
|
+
normal: {
|
|
401
|
+
borderType: 'none',
|
|
402
|
+
border: 'none',
|
|
403
|
+
borderWidth: '1px',
|
|
404
|
+
width: '1px 1px 1px 1px',
|
|
405
|
+
color: '#121212',
|
|
406
|
+
isCustom: true
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
rounded: {
|
|
411
|
+
desktop: {
|
|
412
|
+
normal: {
|
|
413
|
+
btrr: '0px',
|
|
414
|
+
bblr: '0px',
|
|
415
|
+
bbrr: '0px',
|
|
416
|
+
btlr: '0px',
|
|
417
|
+
radiusType: 'none'
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
hasBoxShadow: {
|
|
422
|
+
desktop: {
|
|
423
|
+
normal: false
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
boxShadow: {
|
|
427
|
+
desktop: {
|
|
428
|
+
normal: {}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
op: {
|
|
432
|
+
desktop: '100%'
|
|
433
|
+
},
|
|
434
|
+
animation: {
|
|
435
|
+
desktop: {
|
|
436
|
+
enabled: false,
|
|
437
|
+
trigger: 'appear',
|
|
438
|
+
triggerConfig: {
|
|
439
|
+
appear: {
|
|
440
|
+
animation: 'fade',
|
|
441
|
+
setting: {
|
|
442
|
+
fade: {
|
|
443
|
+
delay: '0',
|
|
444
|
+
speed: 1.7,
|
|
445
|
+
easing: 'ease-out'
|
|
446
|
+
},
|
|
447
|
+
zoom: {
|
|
448
|
+
delay: '0',
|
|
449
|
+
speed: 1.7,
|
|
450
|
+
isFade: true,
|
|
451
|
+
easing: 'ease-out',
|
|
452
|
+
zoomDirection: 'in',
|
|
453
|
+
scale: {
|
|
454
|
+
in: [
|
|
455
|
+
80,
|
|
456
|
+
100
|
|
457
|
+
],
|
|
458
|
+
out: [
|
|
459
|
+
120,
|
|
460
|
+
100
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
slide: {
|
|
465
|
+
delay: '0',
|
|
466
|
+
speed: 1.7,
|
|
467
|
+
easing: 'ease-out',
|
|
468
|
+
direction: 'left',
|
|
469
|
+
isCustomDistance: false
|
|
470
|
+
},
|
|
471
|
+
shake: {
|
|
472
|
+
delay: '0',
|
|
473
|
+
speed: 0.7,
|
|
474
|
+
loop: false,
|
|
475
|
+
intensity: 11,
|
|
476
|
+
easing: 'linear'
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
hover: {
|
|
481
|
+
animation: 'none',
|
|
482
|
+
setting: {
|
|
483
|
+
fade: {
|
|
484
|
+
delay: '0',
|
|
485
|
+
speed: 1.7,
|
|
486
|
+
easing: 'ease-out'
|
|
487
|
+
},
|
|
488
|
+
zoom: {
|
|
489
|
+
delay: '0',
|
|
490
|
+
speed: 1.7,
|
|
491
|
+
isFade: false,
|
|
492
|
+
easing: 'ease-out',
|
|
493
|
+
zoomDirection: 'in',
|
|
494
|
+
scale: {
|
|
495
|
+
in: [
|
|
496
|
+
100,
|
|
497
|
+
120
|
|
498
|
+
],
|
|
499
|
+
out: [
|
|
500
|
+
100,
|
|
501
|
+
80
|
|
502
|
+
]
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
slide: {
|
|
506
|
+
delay: '0',
|
|
507
|
+
speed: 1.7,
|
|
508
|
+
easing: 'ease-out',
|
|
509
|
+
direction: 'left',
|
|
510
|
+
isCustomDistance: false
|
|
511
|
+
},
|
|
512
|
+
shake: {
|
|
513
|
+
delay: '0',
|
|
514
|
+
speed: 0.7,
|
|
515
|
+
loop: false,
|
|
516
|
+
intensity: 11,
|
|
517
|
+
easing: 'linear'
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
priceType: 'compare'
|
|
525
|
+
}
|
|
310
526
|
}
|
|
311
527
|
],
|
|
312
528
|
label: 'Block',
|