@sc-360-v2/storefront-cms-library 0.4.0 → 0.4.2
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/builder.js +1 -1
- package/dist/cart-details.scss +475 -23
- package/dist/cart-summary.scss +1 -0
- package/dist/error-templates.scss +53 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/line.scss +5 -4
- package/dist/modal.scss +974 -45
- package/dist/profile.scss +8 -0
- package/dist/quantity-selector.scss +4 -0
- package/dist/table.scss +1 -1
- package/dist/text-temp-v2.scss +1 -0
- package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +81 -101
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +240 -312
- package/dist/types/builder/tools/element-edit/coupon.d.ts +40 -52
- package/dist/types/builder/tools/element-edit/embroidery.d.ts +40 -44
- package/dist/types/builder/tools/element-edit/userElements.d.ts +6 -6
- package/package.json +1 -1
|
@@ -331,28 +331,27 @@ export declare const getDefaultData: () => {
|
|
|
331
331
|
selectorKey: SelectorKeysEnum;
|
|
332
332
|
defaultState: {
|
|
333
333
|
backgroundColor: {
|
|
334
|
-
value: null;
|
|
335
334
|
parentRef: string;
|
|
335
|
+
value?: any;
|
|
336
336
|
property?: any;
|
|
337
337
|
propertyType?: any;
|
|
338
338
|
isReadOnly?: boolean | undefined;
|
|
339
339
|
};
|
|
340
340
|
borderColor: {
|
|
341
|
-
value: null;
|
|
342
341
|
parentRef: string;
|
|
342
|
+
value?: any;
|
|
343
343
|
property?: any;
|
|
344
344
|
propertyType?: any;
|
|
345
345
|
isReadOnly?: boolean | undefined;
|
|
346
346
|
};
|
|
347
347
|
borderStyle: {
|
|
348
|
-
value: null;
|
|
349
348
|
parentRef: string;
|
|
349
|
+
value?: any;
|
|
350
350
|
property?: any;
|
|
351
351
|
propertyType?: any;
|
|
352
352
|
isReadOnly?: boolean | undefined;
|
|
353
353
|
};
|
|
354
354
|
borderPerSlide: {
|
|
355
|
-
value: null;
|
|
356
355
|
parentRef: string;
|
|
357
356
|
isAll: boolean;
|
|
358
357
|
sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
|
|
@@ -368,45 +367,44 @@ export declare const getDefaultData: () => {
|
|
|
368
367
|
isReadOnly?: boolean | undefined;
|
|
369
368
|
};
|
|
370
369
|
showShadow: {
|
|
371
|
-
value: null;
|
|
372
370
|
parentRef: string;
|
|
371
|
+
value?: any;
|
|
373
372
|
property?: any;
|
|
374
373
|
propertyType?: any;
|
|
375
374
|
isReadOnly?: boolean | undefined;
|
|
376
375
|
};
|
|
377
376
|
shadowColor: {
|
|
378
|
-
value: null;
|
|
379
377
|
parentRef: string;
|
|
378
|
+
value?: any;
|
|
380
379
|
property?: any;
|
|
381
380
|
propertyType?: any;
|
|
382
381
|
isReadOnly?: boolean | undefined;
|
|
383
382
|
};
|
|
384
383
|
blur: {
|
|
385
|
-
value: null;
|
|
386
384
|
parentRef: string;
|
|
387
385
|
unit?: string | number | undefined;
|
|
386
|
+
value?: any;
|
|
388
387
|
property?: any;
|
|
389
388
|
propertyType?: any;
|
|
390
389
|
isReadOnly?: boolean | undefined;
|
|
391
390
|
};
|
|
392
391
|
spread: {
|
|
393
|
-
value: null;
|
|
394
392
|
parentRef: string;
|
|
395
393
|
unit?: string | number | undefined;
|
|
394
|
+
value?: any;
|
|
396
395
|
property?: any;
|
|
397
396
|
propertyType?: any;
|
|
398
397
|
isReadOnly?: boolean | undefined;
|
|
399
398
|
};
|
|
400
399
|
angle: {
|
|
401
|
-
value: null;
|
|
402
400
|
parentRef: string;
|
|
403
401
|
unit?: string | number | undefined;
|
|
402
|
+
value?: any;
|
|
404
403
|
property?: any;
|
|
405
404
|
propertyType?: any;
|
|
406
405
|
isReadOnly?: boolean | undefined;
|
|
407
406
|
};
|
|
408
407
|
borderRadius: {
|
|
409
|
-
value: null;
|
|
410
408
|
parentRef: string;
|
|
411
409
|
isAll: boolean;
|
|
412
410
|
sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
|
|
@@ -415,23 +413,23 @@ export declare const getDefaultData: () => {
|
|
|
415
413
|
propertyType?: any;
|
|
416
414
|
};
|
|
417
415
|
font: {
|
|
418
|
-
value: null;
|
|
419
416
|
parentRef: string;
|
|
417
|
+
value?: any;
|
|
420
418
|
property?: any;
|
|
421
419
|
propertyType?: any;
|
|
422
420
|
isReadOnly?: boolean | undefined;
|
|
423
421
|
};
|
|
424
422
|
fontSize: {
|
|
425
|
-
value: null;
|
|
426
423
|
parentRef: string;
|
|
427
424
|
unit?: string | number | undefined;
|
|
425
|
+
value?: any;
|
|
428
426
|
property?: any;
|
|
429
427
|
propertyType?: any;
|
|
430
428
|
isReadOnly?: boolean | undefined;
|
|
431
429
|
};
|
|
432
430
|
textColor: {
|
|
433
|
-
value: null;
|
|
434
431
|
parentRef: string;
|
|
432
|
+
value?: any;
|
|
435
433
|
property?: any;
|
|
436
434
|
propertyType?: any;
|
|
437
435
|
isReadOnly?: boolean | undefined;
|
|
@@ -444,74 +442,73 @@ export declare const getDefaultData: () => {
|
|
|
444
442
|
isReadOnly?: boolean | undefined;
|
|
445
443
|
};
|
|
446
444
|
italic: {
|
|
447
|
-
value: null;
|
|
448
445
|
parentRef: string;
|
|
446
|
+
value?: any;
|
|
449
447
|
property?: any;
|
|
450
448
|
propertyType?: any;
|
|
451
449
|
isReadOnly?: boolean | undefined;
|
|
452
450
|
};
|
|
453
451
|
linethrough: {
|
|
454
|
-
value: null;
|
|
455
452
|
parentRef: string;
|
|
453
|
+
value?: any;
|
|
456
454
|
property?: any;
|
|
457
455
|
propertyType?: any;
|
|
458
456
|
isReadOnly?: boolean | undefined;
|
|
459
457
|
};
|
|
460
458
|
underline: {
|
|
461
|
-
value: null;
|
|
462
459
|
parentRef: string;
|
|
460
|
+
value?: any;
|
|
463
461
|
property?: any;
|
|
464
462
|
propertyType?: any;
|
|
465
463
|
isReadOnly?: boolean | undefined;
|
|
466
464
|
};
|
|
467
465
|
textAlign: {
|
|
468
|
-
value: null;
|
|
469
466
|
parentRef: string;
|
|
467
|
+
value?: any;
|
|
470
468
|
property?: any;
|
|
471
469
|
propertyType?: any;
|
|
472
470
|
isReadOnly?: boolean | undefined;
|
|
473
471
|
};
|
|
474
472
|
characterSpacing: {
|
|
475
|
-
value: null;
|
|
476
473
|
parentRef: string;
|
|
477
474
|
unit?: string | number | undefined;
|
|
475
|
+
value?: any;
|
|
478
476
|
property?: any;
|
|
479
477
|
propertyType?: any;
|
|
480
478
|
isReadOnly?: boolean | undefined;
|
|
481
479
|
};
|
|
482
480
|
lineHeight: {
|
|
483
|
-
value: null;
|
|
484
481
|
parentRef: string;
|
|
485
482
|
unit?: string | number | undefined;
|
|
483
|
+
value?: any;
|
|
486
484
|
property?: any;
|
|
487
485
|
propertyType?: any;
|
|
488
486
|
isReadOnly?: boolean | undefined;
|
|
489
487
|
};
|
|
490
488
|
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
491
489
|
showIcon: {
|
|
492
|
-
value: null;
|
|
493
490
|
parentRef: string;
|
|
491
|
+
value?: any;
|
|
494
492
|
property?: any;
|
|
495
493
|
propertyType?: any;
|
|
496
494
|
isReadOnly?: boolean | undefined;
|
|
497
495
|
};
|
|
498
496
|
iconSize: {
|
|
499
|
-
value: null;
|
|
500
497
|
parentRef: string;
|
|
501
498
|
unit?: string | number | undefined;
|
|
499
|
+
value?: any;
|
|
502
500
|
property?: any;
|
|
503
501
|
propertyType?: any;
|
|
504
502
|
isReadOnly?: boolean | undefined;
|
|
505
503
|
};
|
|
506
504
|
iconColor: {
|
|
507
|
-
value: null;
|
|
508
505
|
parentRef: string;
|
|
506
|
+
value?: any;
|
|
509
507
|
property?: any;
|
|
510
508
|
propertyType?: any;
|
|
511
509
|
isReadOnly?: boolean | undefined;
|
|
512
510
|
};
|
|
513
511
|
buttonStyle: {
|
|
514
|
-
value: null;
|
|
515
512
|
parentRef: string;
|
|
516
513
|
propertyType: CMSElementEditTypes;
|
|
517
514
|
};
|
|
@@ -527,19 +524,16 @@ export declare const getDefaultData: () => {
|
|
|
527
524
|
propertyType: CMSElementEditTypes;
|
|
528
525
|
};
|
|
529
526
|
iconPosition: {
|
|
530
|
-
value: null;
|
|
531
527
|
parentRef: string;
|
|
532
528
|
propertyType: CMSElementEditTypes;
|
|
533
529
|
};
|
|
534
530
|
iconAndTextSpacing: {
|
|
535
|
-
value: null;
|
|
536
531
|
property: string;
|
|
537
532
|
unit: number;
|
|
538
533
|
parentRef: string;
|
|
539
534
|
propertyType: CMSElementEditTypes;
|
|
540
535
|
};
|
|
541
536
|
alignment: {
|
|
542
|
-
value: null;
|
|
543
537
|
property: string;
|
|
544
538
|
parentRef: string;
|
|
545
539
|
propertyType: CMSElementEditTypes;
|
|
@@ -557,28 +551,27 @@ export declare const getDefaultData: () => {
|
|
|
557
551
|
};
|
|
558
552
|
hoverState: {
|
|
559
553
|
backgroundColor: {
|
|
560
|
-
value: null;
|
|
561
554
|
parentRef: string;
|
|
555
|
+
value?: any;
|
|
562
556
|
property?: any;
|
|
563
557
|
propertyType?: any;
|
|
564
558
|
isReadOnly?: boolean | undefined;
|
|
565
559
|
};
|
|
566
560
|
borderColor: {
|
|
567
|
-
value: null;
|
|
568
561
|
parentRef: string;
|
|
562
|
+
value?: any;
|
|
569
563
|
property?: any;
|
|
570
564
|
propertyType?: any;
|
|
571
565
|
isReadOnly?: boolean | undefined;
|
|
572
566
|
};
|
|
573
567
|
borderStyle: {
|
|
574
|
-
value: null;
|
|
575
568
|
parentRef: string;
|
|
569
|
+
value?: any;
|
|
576
570
|
property?: any;
|
|
577
571
|
propertyType?: any;
|
|
578
572
|
isReadOnly?: boolean | undefined;
|
|
579
573
|
};
|
|
580
574
|
borderPerSlide: {
|
|
581
|
-
value: null;
|
|
582
575
|
parentRef: string;
|
|
583
576
|
isAll: boolean;
|
|
584
577
|
sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
|
|
@@ -594,45 +587,44 @@ export declare const getDefaultData: () => {
|
|
|
594
587
|
isReadOnly?: boolean | undefined;
|
|
595
588
|
};
|
|
596
589
|
showShadow: {
|
|
597
|
-
value: null;
|
|
598
590
|
parentRef: string;
|
|
591
|
+
value?: any;
|
|
599
592
|
property?: any;
|
|
600
593
|
propertyType?: any;
|
|
601
594
|
isReadOnly?: boolean | undefined;
|
|
602
595
|
};
|
|
603
596
|
shadowColor: {
|
|
604
|
-
value: null;
|
|
605
597
|
parentRef: string;
|
|
598
|
+
value?: any;
|
|
606
599
|
property?: any;
|
|
607
600
|
propertyType?: any;
|
|
608
601
|
isReadOnly?: boolean | undefined;
|
|
609
602
|
};
|
|
610
603
|
blur: {
|
|
611
|
-
value: null;
|
|
612
604
|
parentRef: string;
|
|
613
605
|
unit?: string | number | undefined;
|
|
606
|
+
value?: any;
|
|
614
607
|
property?: any;
|
|
615
608
|
propertyType?: any;
|
|
616
609
|
isReadOnly?: boolean | undefined;
|
|
617
610
|
};
|
|
618
611
|
spread: {
|
|
619
|
-
value: null;
|
|
620
612
|
parentRef: string;
|
|
621
613
|
unit?: string | number | undefined;
|
|
614
|
+
value?: any;
|
|
622
615
|
property?: any;
|
|
623
616
|
propertyType?: any;
|
|
624
617
|
isReadOnly?: boolean | undefined;
|
|
625
618
|
};
|
|
626
619
|
angle: {
|
|
627
|
-
value: null;
|
|
628
620
|
parentRef: string;
|
|
629
621
|
unit?: string | number | undefined;
|
|
622
|
+
value?: any;
|
|
630
623
|
property?: any;
|
|
631
624
|
propertyType?: any;
|
|
632
625
|
isReadOnly?: boolean | undefined;
|
|
633
626
|
};
|
|
634
627
|
borderRadius: {
|
|
635
|
-
value: null;
|
|
636
628
|
parentRef: string;
|
|
637
629
|
isAll: boolean;
|
|
638
630
|
sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
|
|
@@ -641,23 +633,23 @@ export declare const getDefaultData: () => {
|
|
|
641
633
|
propertyType?: any;
|
|
642
634
|
};
|
|
643
635
|
font: {
|
|
644
|
-
value: null;
|
|
645
636
|
parentRef: string;
|
|
637
|
+
value?: any;
|
|
646
638
|
property?: any;
|
|
647
639
|
propertyType?: any;
|
|
648
640
|
isReadOnly?: boolean | undefined;
|
|
649
641
|
};
|
|
650
642
|
fontSize: {
|
|
651
|
-
value: null;
|
|
652
643
|
parentRef: string;
|
|
653
644
|
unit?: string | number | undefined;
|
|
645
|
+
value?: any;
|
|
654
646
|
property?: any;
|
|
655
647
|
propertyType?: any;
|
|
656
648
|
isReadOnly?: boolean | undefined;
|
|
657
649
|
};
|
|
658
650
|
textColor: {
|
|
659
|
-
value: null;
|
|
660
651
|
parentRef: string;
|
|
652
|
+
value?: any;
|
|
661
653
|
property?: any;
|
|
662
654
|
propertyType?: any;
|
|
663
655
|
isReadOnly?: boolean | undefined;
|
|
@@ -670,74 +662,73 @@ export declare const getDefaultData: () => {
|
|
|
670
662
|
isReadOnly?: boolean | undefined;
|
|
671
663
|
};
|
|
672
664
|
italic: {
|
|
673
|
-
value: null;
|
|
674
665
|
parentRef: string;
|
|
666
|
+
value?: any;
|
|
675
667
|
property?: any;
|
|
676
668
|
propertyType?: any;
|
|
677
669
|
isReadOnly?: boolean | undefined;
|
|
678
670
|
};
|
|
679
671
|
linethrough: {
|
|
680
|
-
value: null;
|
|
681
672
|
parentRef: string;
|
|
673
|
+
value?: any;
|
|
682
674
|
property?: any;
|
|
683
675
|
propertyType?: any;
|
|
684
676
|
isReadOnly?: boolean | undefined;
|
|
685
677
|
};
|
|
686
678
|
underline: {
|
|
687
|
-
value: null;
|
|
688
679
|
parentRef: string;
|
|
680
|
+
value?: any;
|
|
689
681
|
property?: any;
|
|
690
682
|
propertyType?: any;
|
|
691
683
|
isReadOnly?: boolean | undefined;
|
|
692
684
|
};
|
|
693
685
|
textAlign: {
|
|
694
|
-
value: null;
|
|
695
686
|
parentRef: string;
|
|
687
|
+
value?: any;
|
|
696
688
|
property?: any;
|
|
697
689
|
propertyType?: any;
|
|
698
690
|
isReadOnly?: boolean | undefined;
|
|
699
691
|
};
|
|
700
692
|
characterSpacing: {
|
|
701
|
-
value: null;
|
|
702
693
|
parentRef: string;
|
|
703
694
|
unit?: string | number | undefined;
|
|
695
|
+
value?: any;
|
|
704
696
|
property?: any;
|
|
705
697
|
propertyType?: any;
|
|
706
698
|
isReadOnly?: boolean | undefined;
|
|
707
699
|
};
|
|
708
700
|
lineHeight: {
|
|
709
|
-
value: null;
|
|
710
701
|
parentRef: string;
|
|
711
702
|
unit?: string | number | undefined;
|
|
703
|
+
value?: any;
|
|
712
704
|
property?: any;
|
|
713
705
|
propertyType?: any;
|
|
714
706
|
isReadOnly?: boolean | undefined;
|
|
715
707
|
};
|
|
716
708
|
icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
|
|
717
709
|
showIcon: {
|
|
718
|
-
value: null;
|
|
719
710
|
parentRef: string;
|
|
711
|
+
value?: any;
|
|
720
712
|
property?: any;
|
|
721
713
|
propertyType?: any;
|
|
722
714
|
isReadOnly?: boolean | undefined;
|
|
723
715
|
};
|
|
724
716
|
iconSize: {
|
|
725
|
-
value: null;
|
|
726
717
|
parentRef: string;
|
|
727
718
|
unit?: string | number | undefined;
|
|
719
|
+
value?: any;
|
|
728
720
|
property?: any;
|
|
729
721
|
propertyType?: any;
|
|
730
722
|
isReadOnly?: boolean | undefined;
|
|
731
723
|
};
|
|
732
724
|
iconColor: {
|
|
733
|
-
value: null;
|
|
734
725
|
parentRef: string;
|
|
726
|
+
value?: any;
|
|
735
727
|
property?: any;
|
|
736
728
|
propertyType?: any;
|
|
737
729
|
isReadOnly?: boolean | undefined;
|
|
738
730
|
};
|
|
739
731
|
buttonStyle: {
|
|
740
|
-
value: null;
|
|
741
732
|
parentRef: string;
|
|
742
733
|
propertyType: CMSElementEditTypes;
|
|
743
734
|
};
|
|
@@ -753,19 +744,16 @@ export declare const getDefaultData: () => {
|
|
|
753
744
|
propertyType: CMSElementEditTypes;
|
|
754
745
|
};
|
|
755
746
|
iconPosition: {
|
|
756
|
-
value: null;
|
|
757
747
|
parentRef: string;
|
|
758
748
|
propertyType: CMSElementEditTypes;
|
|
759
749
|
};
|
|
760
750
|
iconAndTextSpacing: {
|
|
761
|
-
value: null;
|
|
762
751
|
property: string;
|
|
763
752
|
unit: number;
|
|
764
753
|
parentRef: string;
|
|
765
754
|
propertyType: CMSElementEditTypes;
|
|
766
755
|
};
|
|
767
756
|
alignment: {
|
|
768
|
-
value: null;
|
|
769
757
|
property: string;
|
|
770
758
|
parentRef: string;
|
|
771
759
|
propertyType: CMSElementEditTypes;
|