@sc-360-v2/storefront-cms-library 0.3.35 → 0.3.37
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/add-order.scss +22 -8
- package/dist/builder.js +1 -1
- package/dist/cart-details.scss +14 -1
- package/dist/cart.scss +1 -4
- package/dist/cartAttributes.scss +191 -0
- package/dist/cartDropdownOverlay.scss +75 -73
- package/dist/customization-tree.scss +13 -3
- package/dist/dropdownTemplate.scss +11 -22
- package/dist/employee-bulk-order.scss +118 -42
- package/dist/loader.scss +55 -0
- package/dist/modal.scss +15 -4
- package/dist/overflow-module.scss +63 -0
- package/dist/section.scss +4 -0
- package/dist/types/builder/interfaces/global.d.ts +6 -0
- package/dist/types/builder/tools/element-edit/buyForWithTab.d.ts +11 -10
- package/dist/types/builder/tools/element-edit/common.d.ts +7 -0
- package/dist/types/builder/tools/element-edit/tabsV2.d.ts +11 -10
- package/dist/types/website/helper/ssr-functions.d.ts +1 -0
- package/dist/website.js +1 -1
- package/package.json +1 -1
|
@@ -72,9 +72,25 @@
|
|
|
72
72
|
font-weight: 600;
|
|
73
73
|
font-size: 14px;
|
|
74
74
|
text-align: center;
|
|
75
|
-
height:
|
|
76
|
-
display:
|
|
77
|
-
align-items:
|
|
75
|
+
height: 40px;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: right;
|
|
79
|
+
padding: 0 12px;
|
|
80
|
+
.employee_product_actions_sec {
|
|
81
|
+
width: 50%;
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: right;
|
|
84
|
+
gap: 12px;
|
|
85
|
+
.employee_product_action {
|
|
86
|
+
padding: 8px;
|
|
87
|
+
color: #667085;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.employee_product_action_save {
|
|
91
|
+
color: #243dc6;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
78
94
|
}
|
|
79
95
|
.employee-content-section {
|
|
80
96
|
display: flex;
|
|
@@ -246,12 +262,49 @@
|
|
|
246
262
|
border-top: 0;
|
|
247
263
|
.em_product-data {
|
|
248
264
|
width: 100%;
|
|
249
|
-
// height: 177px;
|
|
250
265
|
border-bottom: 1px solid #d0d5dd;
|
|
251
266
|
.em_product-info {
|
|
252
267
|
height: 88px;
|
|
253
268
|
border-bottom: 1px solid #d0d5dd;
|
|
254
269
|
}
|
|
270
|
+
.selecte_variants_for_cart {
|
|
271
|
+
height: 68px;
|
|
272
|
+
overflow: auto;
|
|
273
|
+
cursor: pointer;
|
|
274
|
+
.variantOptionValues {
|
|
275
|
+
height: 24px;
|
|
276
|
+
color: #475467;
|
|
277
|
+
font-size: 14px;
|
|
278
|
+
padding: 0 8px;
|
|
279
|
+
margin-bottom: 1px;
|
|
280
|
+
display: flex;
|
|
281
|
+
justify-content: space-between;
|
|
282
|
+
align-items: center;
|
|
283
|
+
&:hover {
|
|
284
|
+
background: #e6f0ff;
|
|
285
|
+
.variantOptionValues_acttions {
|
|
286
|
+
opacity: 1;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
.variantOptionValues_text {
|
|
290
|
+
width: calc(100% - 40px);
|
|
291
|
+
padding-right: 4px;
|
|
292
|
+
}
|
|
293
|
+
.variantOptionValues_acttions {
|
|
294
|
+
display: flex;
|
|
295
|
+
gap: 8px;
|
|
296
|
+
align-items: center;
|
|
297
|
+
width: 40px;
|
|
298
|
+
opacity: 0;
|
|
299
|
+
.svg_icon {
|
|
300
|
+
display: flex;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
.active_vr {
|
|
305
|
+
background: #e6f0ff;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
255
308
|
.em_product-variant,
|
|
256
309
|
.em_product-info {
|
|
257
310
|
// height: 50%;
|
|
@@ -285,7 +338,7 @@
|
|
|
285
338
|
}
|
|
286
339
|
}
|
|
287
340
|
.product-option-details {
|
|
288
|
-
height: calc(100% -
|
|
341
|
+
height: calc(100% - 214px);
|
|
289
342
|
width: 100%;
|
|
290
343
|
overflow: auto;
|
|
291
344
|
.em_p_variant_options {
|
|
@@ -309,6 +362,8 @@
|
|
|
309
362
|
}
|
|
310
363
|
.em_opt_val.selected {
|
|
311
364
|
border: 1px solid #243dc6;
|
|
365
|
+
color: #243dc6;
|
|
366
|
+
font-weight: 600;
|
|
312
367
|
}
|
|
313
368
|
.em_opt_val.not-avl {
|
|
314
369
|
position: relative;
|
|
@@ -360,50 +415,62 @@
|
|
|
360
415
|
}
|
|
361
416
|
}
|
|
362
417
|
.product-qty-section {
|
|
363
|
-
height:
|
|
364
|
-
|
|
418
|
+
height: 56.74px;
|
|
419
|
+
display: flex;
|
|
420
|
+
gap: 8px;
|
|
421
|
+
padding: 8px;
|
|
422
|
+
border-top: 1px solid #dde0e6;
|
|
365
423
|
input {
|
|
366
424
|
height: 100%;
|
|
367
|
-
width:
|
|
425
|
+
width: 50%;
|
|
368
426
|
border: 1px solid #d0d5dd;
|
|
369
|
-
|
|
370
|
-
border-left: 0;
|
|
371
|
-
border-right: 0;
|
|
372
|
-
padding: 0 64px;
|
|
427
|
+
border-radius: 4px;
|
|
373
428
|
text-align: center;
|
|
429
|
+
font-weight: 600;
|
|
430
|
+
font-size: 16px;
|
|
431
|
+
color: #101828;
|
|
374
432
|
}
|
|
375
|
-
.
|
|
376
|
-
position: absolute;
|
|
377
|
-
top: 0;
|
|
433
|
+
.add_to_cart_btn_for_employee_bulk {
|
|
378
434
|
height: 100%;
|
|
379
|
-
width:
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
&:hover {
|
|
386
|
-
background: #c3dbff;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.svg_icon {
|
|
390
|
-
display: flex;
|
|
391
|
-
align-items: center;
|
|
392
|
-
justify-self: center;
|
|
393
|
-
cursor: pointer;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
.qty-action.decrease {
|
|
397
|
-
left: 0;
|
|
398
|
-
}
|
|
399
|
-
.qty-action.increase {
|
|
400
|
-
right: 1px;
|
|
401
|
-
}
|
|
402
|
-
.qty_action_disabled {
|
|
403
|
-
pointer-events: none;
|
|
404
|
-
opacity: 0.8;
|
|
405
|
-
cursor: default;
|
|
435
|
+
width: 50%;
|
|
436
|
+
background: #243dc6;
|
|
437
|
+
border-radius: 4px;
|
|
438
|
+
color: #fff;
|
|
439
|
+
font-weight: 600;
|
|
440
|
+
font-size: 16px;
|
|
406
441
|
}
|
|
442
|
+
// .qty-action {
|
|
443
|
+
// position: absolute;
|
|
444
|
+
// top: 0;
|
|
445
|
+
// height: 100%;
|
|
446
|
+
// width: 64px;
|
|
447
|
+
// display: grid;
|
|
448
|
+
// // align-items: anchor-center;
|
|
449
|
+
// // text-align: center;
|
|
450
|
+
// background: #e6f0ff;
|
|
451
|
+
// cursor: pointer;
|
|
452
|
+
// &:hover {
|
|
453
|
+
// background: #c3dbff;
|
|
454
|
+
// }
|
|
455
|
+
|
|
456
|
+
// .svg_icon {
|
|
457
|
+
// display: flex;
|
|
458
|
+
// align-items: center;
|
|
459
|
+
// justify-self: center;
|
|
460
|
+
// cursor: pointer;
|
|
461
|
+
// }
|
|
462
|
+
// }
|
|
463
|
+
// .qty-action.decrease {
|
|
464
|
+
// left: 0;
|
|
465
|
+
// }
|
|
466
|
+
// .qty-action.increase {
|
|
467
|
+
// right: 1px;
|
|
468
|
+
// }
|
|
469
|
+
// .qty_action_disabled {
|
|
470
|
+
// pointer-events: none;
|
|
471
|
+
// opacity: 0.8;
|
|
472
|
+
// cursor: default;
|
|
473
|
+
// }
|
|
407
474
|
}
|
|
408
475
|
.invalid_qty {
|
|
409
476
|
border: #f51605 1px solid !important;
|
|
@@ -451,6 +518,15 @@
|
|
|
451
518
|
position: absolute;
|
|
452
519
|
right: -8px;
|
|
453
520
|
}
|
|
521
|
+
|
|
522
|
+
.single_checkout_sec_opt {
|
|
523
|
+
display: flex;
|
|
524
|
+
gap: 8px;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.disabled {
|
|
528
|
+
opacity: 0.4;
|
|
529
|
+
}
|
|
454
530
|
}
|
|
455
531
|
.action_item {
|
|
456
532
|
cursor: pointer;
|
package/dist/loader.scss
CHANGED
|
@@ -35,3 +35,58 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
// fetch data loader
|
|
41
|
+
.fetch-data-loader {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
gap: 6px;
|
|
45
|
+
background-color: var(--_base-white);
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
padding: 16px;
|
|
48
|
+
width: 60px;
|
|
49
|
+
height: 60px;
|
|
50
|
+
border: 1px solid var(--_gray-200);
|
|
51
|
+
margin: 0 auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.line {
|
|
55
|
+
width: 0%;
|
|
56
|
+
height: 8px;
|
|
57
|
+
background-color: var(--_primary-400);
|
|
58
|
+
border-radius: 4px;
|
|
59
|
+
animation: expand-line 1.2s ease-in-out infinite;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.line:nth-child(1) {
|
|
63
|
+
animation-delay: 0s;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.line:nth-child(2) {
|
|
67
|
+
animation-delay: 0.3s;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.line:nth-child(3) {
|
|
71
|
+
animation-delay: 0.6s;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.line:nth-child(4) {
|
|
75
|
+
animation-delay: 0.9s;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@keyframes expand-line {
|
|
79
|
+
0% {
|
|
80
|
+
width: 0%;
|
|
81
|
+
opacity: 0.2;
|
|
82
|
+
}
|
|
83
|
+
50% {
|
|
84
|
+
width: 100%;
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
100% {
|
|
88
|
+
width: 0%;
|
|
89
|
+
opacity: 0.2;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
package/dist/modal.scss
CHANGED
|
@@ -299,8 +299,10 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
299
299
|
z-index: $z-index-modal;
|
|
300
300
|
display: flex;
|
|
301
301
|
flex-direction: column;
|
|
302
|
-
max-height: 100vh;
|
|
303
|
-
max-width: 1200px;
|
|
302
|
+
// max-height: 100vh;
|
|
303
|
+
// max-width: 1200px;
|
|
304
|
+
max-height: calc(100vw - 24px);
|
|
305
|
+
max-width: calc(100vw - 24px);
|
|
304
306
|
|
|
305
307
|
.product-list {
|
|
306
308
|
flex: 1;
|
|
@@ -559,7 +561,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
559
561
|
background-color: transparent; /* Make the main container transparent */
|
|
560
562
|
|
|
561
563
|
.min-toolbar {
|
|
562
|
-
background-color:
|
|
564
|
+
background-color: var(--_base-white);
|
|
563
565
|
display: flex;
|
|
564
566
|
align-items: center; /* Align items vertically in the toolbar */
|
|
565
567
|
padding-inline-start: 16px; /* Add padding to the toolbar */
|
|
@@ -569,6 +571,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
569
571
|
|
|
570
572
|
&.active {
|
|
571
573
|
display: flex;
|
|
574
|
+
background-color: var(--_base-white);
|
|
572
575
|
}
|
|
573
576
|
|
|
574
577
|
.cart-btn {
|
|
@@ -594,6 +597,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
594
597
|
.actions {
|
|
595
598
|
display: flex;
|
|
596
599
|
gap: 8px;
|
|
600
|
+
|
|
597
601
|
|
|
598
602
|
span {
|
|
599
603
|
cursor: pointer;
|
|
@@ -612,13 +616,20 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
612
616
|
stroke: var(--_gray-900)
|
|
613
617
|
}
|
|
614
618
|
}
|
|
615
|
-
[title="
|
|
619
|
+
&[title="Maximize"] {
|
|
616
620
|
svg {
|
|
617
621
|
width: 14px;
|
|
618
622
|
height: 14px;
|
|
619
623
|
}
|
|
620
624
|
}
|
|
621
625
|
|
|
626
|
+
&[title="close"] {
|
|
627
|
+
svg {
|
|
628
|
+
width: 20px;
|
|
629
|
+
height: 20px;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
622
633
|
svg {
|
|
623
634
|
width: 20px;
|
|
624
635
|
height: 20px;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./functions.scss" as *;
|
|
3
|
+
@use "./prefix-list.scss" as *;
|
|
4
|
+
|
|
5
|
+
$overflow: (
|
|
6
|
+
class: (
|
|
7
|
+
scrollable: "flx-oflow",
|
|
8
|
+
),
|
|
9
|
+
attributes: (
|
|
10
|
+
vertical: "data-scroll-vertical",
|
|
11
|
+
horizontal: "data-scroll-horizontal",
|
|
12
|
+
maxHeight: "data-max-height",
|
|
13
|
+
displayScrollbar: "data-scrollbar",
|
|
14
|
+
),
|
|
15
|
+
directions: (
|
|
16
|
+
vertical: (
|
|
17
|
+
property: "overflow-y",
|
|
18
|
+
value: "scroll",
|
|
19
|
+
),
|
|
20
|
+
horizontal: (
|
|
21
|
+
property: "overflow-x",
|
|
22
|
+
value: "scroll",
|
|
23
|
+
),
|
|
24
|
+
),
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
@mixin FlexOverflowModuleStyles() {
|
|
28
|
+
$cls: map.get($overflow, class);
|
|
29
|
+
$attrs: map.get($overflow, attributes);
|
|
30
|
+
$dirs: map.get($overflow, directions);
|
|
31
|
+
|
|
32
|
+
:is(.#{map.get($cls, scrollable)}) {
|
|
33
|
+
// overflow-x / overflow-y per direction
|
|
34
|
+
@each $key, $config in $dirs {
|
|
35
|
+
$prop: map.get($config, property);
|
|
36
|
+
$val: map.get($config, value);
|
|
37
|
+
$attr: map.get($attrs, $key);
|
|
38
|
+
|
|
39
|
+
&[#{$attr}="#{$val}"] {
|
|
40
|
+
#{$prop}: #{$val};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// max-height only when vertical scroll is active
|
|
45
|
+
&[#{map.get($attrs, vertical)}="scroll"] {
|
|
46
|
+
&[#{map.get($attrs, maxHeight)}] {
|
|
47
|
+
max-height: var(--cms-max-height);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// scrollbar styling only when data-scrollbar=true
|
|
52
|
+
&[#{map.get($attrs, displayScrollbar)}="true"] {
|
|
53
|
+
&::-webkit-scrollbar {
|
|
54
|
+
width: var(--cms-scrollbar-width, 8px);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&::-webkit-scrollbar-thumb {
|
|
58
|
+
background-color: var(--cms-scrollbar-thumb-color, rgba(0, 0, 0, 0.3));
|
|
59
|
+
border-radius: var(--cms-scrollbar-radius, 4px);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
package/dist/section.scss
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use "./position-module.scss" as *;
|
|
5
5
|
@use "./animation-control.scss" as *;
|
|
6
6
|
@use "./responsive-behaviour.scss" as *;
|
|
7
|
+
@use "./overflow-module.scss" as *;
|
|
7
8
|
|
|
8
9
|
$activeElementSelector: "[data-has-clicked='true']";
|
|
9
10
|
$repeterLElement: '[data-element-type="repeater"]';
|
|
@@ -43,6 +44,9 @@ body {
|
|
|
43
44
|
|
|
44
45
|
// Responsive
|
|
45
46
|
@include FlexElementResponsiveBehaviourStyles();
|
|
47
|
+
|
|
48
|
+
// overflow
|
|
49
|
+
@include FlexOverflowModuleStyles();
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
section {
|
|
@@ -161,3 +161,9 @@ export type FlexPositionDataType = {
|
|
|
161
161
|
};
|
|
162
162
|
zIndex: string;
|
|
163
163
|
};
|
|
164
|
+
export type FlexOverFlowDataType = {
|
|
165
|
+
displayScrollbar: Record<string, CMSIBCommonInterface>;
|
|
166
|
+
overflowContent: Record<string, CMSIBCommonInterface>;
|
|
167
|
+
scrollDirection: Record<string, CMSIBCommonInterface>;
|
|
168
|
+
maxHeight: Record<string, CMSIBCommonInterface>;
|
|
169
|
+
};
|
|
@@ -22,16 +22,6 @@ declare enum SelectorKeysEnum {
|
|
|
22
22
|
}
|
|
23
23
|
export declare const getDefaultData: () => {
|
|
24
24
|
layout: {
|
|
25
|
-
selectorKey: SelectorKeysEnum;
|
|
26
|
-
width: {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
} | undefined;
|
|
29
|
-
height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
30
|
-
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
31
|
-
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
32
|
-
overflowContent: CMSIBCommonInterface | undefined;
|
|
33
|
-
scrollDirection: CMSIBCommonInterface | undefined;
|
|
34
|
-
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
35
25
|
positionType: CMSIBCommonInterface | undefined;
|
|
36
26
|
pinTo: CMSIBCommonInterface | undefined;
|
|
37
27
|
tabPosition: {
|
|
@@ -89,6 +79,17 @@ export declare const getDefaultData: () => {
|
|
|
89
79
|
property: string;
|
|
90
80
|
propertyType: CMSElementEditTypes;
|
|
91
81
|
};
|
|
82
|
+
overflowContent: CMSIBCommonInterface | undefined;
|
|
83
|
+
scrollDirection: CMSIBCommonInterface | undefined;
|
|
84
|
+
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
85
|
+
maxHeight: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
86
|
+
selectorKey: SelectorKeysEnum;
|
|
87
|
+
width: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
} | undefined;
|
|
90
|
+
height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
91
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
92
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
92
93
|
};
|
|
93
94
|
design: {
|
|
94
95
|
selectorKey: SelectorKeysEnum;
|
|
@@ -7,6 +7,7 @@ export interface CMSElementEditPopupLayoutInterface {
|
|
|
7
7
|
};
|
|
8
8
|
height?: CMSIBSizeInterface;
|
|
9
9
|
minHeight?: CMSIBSizeInterface;
|
|
10
|
+
maxHeight?: CMSIBSizeInterface;
|
|
10
11
|
margin?: CSSPaddingValues;
|
|
11
12
|
padding?: CSSPaddingValues;
|
|
12
13
|
overflowContent?: CMSIBCommonInterface;
|
|
@@ -103,3 +104,9 @@ export interface CMSElementEditPopupInterface<L = CMSElementEditPopupLayoutInter
|
|
|
103
104
|
dataConnector?: any;
|
|
104
105
|
}
|
|
105
106
|
export declare const cssInputInstances: CMSElementEditPopupLayoutInterface & CMSElementEditPopupDesignInterface;
|
|
107
|
+
export declare const overflowDefaultSchema: {
|
|
108
|
+
overflowContent: CMSIBCommonInterface | undefined;
|
|
109
|
+
scrollDirection: CMSIBCommonInterface | undefined;
|
|
110
|
+
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
111
|
+
maxHeight: CMSIBSizeInterface | undefined;
|
|
112
|
+
};
|
|
@@ -13,16 +13,6 @@ declare enum SelectorKeysEnum {
|
|
|
13
13
|
}
|
|
14
14
|
export declare const getDefaultData: () => {
|
|
15
15
|
layout: {
|
|
16
|
-
selectorKey: SelectorKeysEnum;
|
|
17
|
-
width: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
} | undefined;
|
|
20
|
-
height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
21
|
-
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
22
|
-
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
23
|
-
overflowContent: CMSIBCommonInterface | undefined;
|
|
24
|
-
scrollDirection: CMSIBCommonInterface | undefined;
|
|
25
|
-
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
26
16
|
positionType: CMSIBCommonInterface | undefined;
|
|
27
17
|
pinTo: CMSIBCommonInterface | undefined;
|
|
28
18
|
tabPosition: {
|
|
@@ -80,6 +70,17 @@ export declare const getDefaultData: () => {
|
|
|
80
70
|
property: string;
|
|
81
71
|
propertyType: CMSElementEditTypes;
|
|
82
72
|
};
|
|
73
|
+
overflowContent: CMSIBCommonInterface | undefined;
|
|
74
|
+
scrollDirection: CMSIBCommonInterface | undefined;
|
|
75
|
+
displayScrollbar: CMSIBCommonInterface | undefined;
|
|
76
|
+
maxHeight: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
77
|
+
selectorKey: SelectorKeysEnum;
|
|
78
|
+
width: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
} | undefined;
|
|
81
|
+
height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
|
|
82
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
83
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
83
84
|
};
|
|
84
85
|
design: {
|
|
85
86
|
selectorKey: SelectorKeysEnum;
|
package/dist/website.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>n,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>u,parseThemeSettings:()=>E});var n={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>n,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>u,parseThemeSettings:()=>E});var n={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,u=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){return Object.entries(t).filter((function(t){var e=i(t,2);return null!=(e[0],e[1])})).map((function(t){var e=i(t,2),r=e[0],n=e[1];return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})).join("&")}t.r(n),t.d(n,{dataConnectorApisData:()=>s});var l,c,f,E=function(t){var e=Object.assign({},t);return["layout","colors","typography","buttons","animations","loaders"].forEach((function(t){if("string"==typeof e[t]&&e[t].length>0)try{e[t]=JSON.parse(e[t])}catch(t){}else"object"===o(e[t])&&null!==e[t]&&(e[t]=JSON.stringify(e[t]))})),e};function y(t,e,r){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"}(l||(l={})),function(t){t.PRODUST="PRODUST",t.CATEGORIES="CATEGORIES",t.BRANDS="BRANDS",t.PRODUCT_BY_ID="PRODUCT_BY_ID",t.CATEGORY_BY_ID="CATegory_BY_ID",t.BRAND_BY_ID="BRAND_BY_ID",t.SUB_CATEGORY="SUB_CATEGORY",t.MARCHANDISER_SETS="MARCHANDISER_SETS",t.BUNDLES="BUNDLES",t.BUNLES_BY_ID="BUNLES_BY_ID",t.BUNDLE_BY_TYPE="BUNDLE_BY_TYPE",t.PRODUCT_BUNDLE_DETAILS="PRODUCT_BUNDLE_DETAILS",t.CATEGORY_BUNDLE_DETAILS="CATEGORY_BUNDLE_DETAILS"}(c||(c={}));var s=(y(y(y(y(y(y(y(y(y(y(f={},c.PRODUST,{url:"/search/product/getall",method:l.POST}),c.PRODUCT_BY_ID,{url:"/api/pd/get",method:l.GET}),c.CATEGORIES,{url:"/search/category/getall",method:l.POST}),c.CATEGORY_BY_ID,{url:"/search/category/getbyid",method:l.GET}),c.BRANDS,{url:"/search/brand/getall",method:l.POST}),c.BRAND_BY_ID,{url:"/search/brand/getbyid",method:l.GET}),c.SUB_CATEGORY,{url:"/search/category/getsubcategories",method:l.GET}),c.MARCHANDISER_SETS,{url:"/ms/get",method:l.GET}),c.BUNDLES,{url:"/api/bnp/get-all",method:l.GET}),c.BUNLES_BY_ID,{url:"/api/bnp/get-product-bundle",method:l.GET}),y(y(y(f,c.BUNDLE_BY_TYPE,{url:"/api/bnp/get-bundles",method:l.POST}),c.PRODUCT_BUNDLE_DETAILS,{url:"/api/bnp/get-product-bundle",method:l.GET}),c.CATEGORY_BUNDLE_DETAILS,{url:"/api/bnp/get-category-bundle",method:l.GET}));return e})()));
|