contentoh-components-library 21.4.57 → 21.4.59
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/components/atoms/Avatar/index.js +2 -3
- package/dist/components/atoms/CheckBox/index.js +2 -7
- package/dist/components/atoms/CheckBox/styles.js +1 -1
- package/dist/components/atoms/InputFormatter/styles.js +1 -1
- package/dist/components/atoms/SliderToolTip/styles.js +1 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/molecules/SignInLogin/index.js +28 -36
- package/dist/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/dist/components/molecules/TagAndInput/index.js +3 -64
- package/dist/components/organisms/Chat/Chat.stories.js +8 -27
- package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +197 -350
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +4 -49
- package/dist/components/organisms/Chat/styles.js +1 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/InputGroup/index.js +48 -154
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/pages/Dashboard/index.js +2 -8
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +137 -123
- package/dist/components/pages/ProviderProductEdition/index.js +258 -269
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +3 -7
- package/dist/components/pages/RetailerProductEdition/index.js +276 -278
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/dist/global-files/data.js +8 -21
- package/dist/global-files/variables.js +1 -5
- package/dist/index.js +58 -201
- package/package.json +1 -2
- package/src/components/atoms/Avatar/index.js +2 -8
- package/src/components/atoms/CheckBox/index.js +1 -4
- package/src/components/atoms/CheckBox/styles.js +0 -2
- package/src/components/atoms/InputFormatter/styles.js +1 -2
- package/src/components/atoms/SliderToolTip/styles.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/molecules/SignInLogin/index.js +11 -11
- package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/src/components/molecules/TagAndInput/index.js +8 -52
- package/src/components/organisms/Chat/Chat.stories.js +7 -27
- package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
- package/src/components/organisms/Chat/ContainerItems/styles.js +2 -14
- package/src/components/organisms/Chat/ContentChat/index.js +12 -88
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +4 -46
- package/src/components/organisms/Chat/styles.js +0 -4
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/InputGroup/index.js +88 -238
- package/src/components/organisms/Modal/styles.js +1 -4
- package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
- package/src/components/pages/Dashboard/index.js +1 -6
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +145 -141
- package/src/components/pages/ProviderProductEdition/index.js +148 -145
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +2 -6
- package/src/components/pages/RetailerProductEdition/index.js +144 -115
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
- package/src/global-files/data.js +6 -10
- package/src/global-files/variables.js +0 -4
- package/src/index.js +0 -11
- package/src/assets/images/Icons/info.svg +0 -8
- package/src/components/atoms/ImageCarousel/ImgeSlider.stories.js +0 -76
- package/src/components/atoms/ImageCarousel/index.js +0 -103
- package/src/components/atoms/ImageCarousel/styles.js +0 -79
- package/src/components/atoms/PercentTag/PercentTag.stories.js +0 -7
- package/src/components/atoms/PercentTag/index.js +0 -9
- package/src/components/atoms/PercentTag/styles.js +0 -69
- package/src/components/atoms/RatingStars/RatingStars.stories.js +0 -10
- package/src/components/atoms/RatingStars/index.js +0 -31
- package/src/components/atoms/RatingStars/styles.js +0 -28
- package/src/components/atoms/RetailerCatalog/RetailerCatalog.stories.js +0 -36
- package/src/components/atoms/RetailerCatalog/index.js +0 -49
- package/src/components/atoms/RetailerCatalog/styles.js +0 -30
- package/src/components/atoms/RetailerOption/RetailerOption.stories.js +0 -15
- package/src/components/atoms/RetailerOption/index.js +0 -53
- package/src/components/atoms/RetailerOption/styles.js +0 -41
- package/src/components/atoms/RetailersList/RetailersList.stories.js +0 -33
- package/src/components/atoms/RetailersList/index.js +0 -20
- package/src/components/atoms/RetailersList/styles.js +0 -19
- package/src/components/atoms/TabSection/styles.js +0 -23
- package/src/components/atoms/UserCatalog/UserCatalog.stories.js +0 -67
- package/src/components/atoms/UserCatalog/index.js +0 -100
- package/src/components/atoms/UserCatalog/styles.js +0 -24
- package/src/components/atoms/UserOption/UserOption.stories.js +0 -25
- package/src/components/atoms/UserOption/index.js +0 -95
- package/src/components/atoms/UserOption/styles.js +0 -61
- package/src/components/atoms/UserSelector/UserSelector.stories.js +0 -25
- package/src/components/atoms/UserSelector/index.js +0 -86
- package/src/components/atoms/UserSelector/styles.js +0 -55
- package/src/components/molecules/BoxAttribute/BoxAttribute.stories.js +0 -16
- package/src/components/molecules/BoxAttribute/index.js +0 -72
- package/src/components/molecules/BoxAttribute/styles.js +0 -41
- package/src/components/molecules/BoxButtons/BoxButtons.stories.js +0 -15
- package/src/components/molecules/BoxButtons/index.js +0 -32
- package/src/components/molecules/BoxButtons/styles.js +0 -43
- package/src/components/molecules/GridItem/GridItem.stories.js +0 -126
- package/src/components/molecules/GridItem/index.js +0 -105
- package/src/components/molecules/GridItem/styles.js +0 -104
- package/src/components/molecules/HeaderItem/ColumnItem.js +0 -9
- package/src/components/molecules/HeaderItem/HeaderItem.stories.js +0 -24
- package/src/components/molecules/HeaderItem/index.js +0 -26
- package/src/components/molecules/HeaderItem/styles.js +0 -27
- package/src/components/molecules/RowItem/ColumnItem.js +0 -9
- package/src/components/molecules/RowItem/RowItem.stories.js +0 -5660
- package/src/components/molecules/RowItem/index.js +0 -45
- package/src/components/molecules/RowItem/styles.js +0 -40
- package/src/components/organisms/Box/Box.stories.js +0 -17
- package/src/components/organisms/Box/index.js +0 -103
- package/src/components/organisms/Box/styles.js +0 -48
- package/src/components/organisms/BoxOnboarding/BoxOnboarding.stories.js +0 -17
- package/src/components/organisms/BoxOnboarding/index.js +0 -60
- package/src/components/organisms/BoxOnboarding/styles.js +0 -44
- package/src/components/organisms/GridProducts/GridProducts.stories.js +0 -5485
- package/src/components/organisms/GridProducts/index.js +0 -50
- package/src/components/organisms/GridProducts/styles.js +0 -14
- package/src/components/organisms/GridProducts/utils.js +0 -111
package/dist/index.js
CHANGED
|
@@ -446,7 +446,7 @@ Object.keys(_index34).forEach(function (key) {
|
|
|
446
446
|
});
|
|
447
447
|
});
|
|
448
448
|
|
|
449
|
-
var _index35 = require("./components/
|
|
449
|
+
var _index35 = require("./components/molecules/AvatarAndValidation/index");
|
|
450
450
|
|
|
451
451
|
Object.keys(_index35).forEach(function (key) {
|
|
452
452
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -459,7 +459,20 @@ Object.keys(_index35).forEach(function (key) {
|
|
|
459
459
|
});
|
|
460
460
|
});
|
|
461
461
|
|
|
462
|
-
var
|
|
462
|
+
var _CarouselImagesLogin = require("./components/molecules/CarouselImagesLogin");
|
|
463
|
+
|
|
464
|
+
Object.keys(_CarouselImagesLogin).forEach(function (key) {
|
|
465
|
+
if (key === "default" || key === "__esModule") return;
|
|
466
|
+
if (key in exports && exports[key] === _CarouselImagesLogin[key]) return;
|
|
467
|
+
Object.defineProperty(exports, key, {
|
|
468
|
+
enumerable: true,
|
|
469
|
+
get: function get() {
|
|
470
|
+
return _CarouselImagesLogin[key];
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
var _index36 = require("./components/molecules/EditionActiveImage/index");
|
|
463
476
|
|
|
464
477
|
Object.keys(_index36).forEach(function (key) {
|
|
465
478
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -472,7 +485,7 @@ Object.keys(_index36).forEach(function (key) {
|
|
|
472
485
|
});
|
|
473
486
|
});
|
|
474
487
|
|
|
475
|
-
var _index37 = require("./components/
|
|
488
|
+
var _index37 = require("./components/molecules/EmailResetPasswordLogin/index");
|
|
476
489
|
|
|
477
490
|
Object.keys(_index37).forEach(function (key) {
|
|
478
491
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -485,7 +498,7 @@ Object.keys(_index37).forEach(function (key) {
|
|
|
485
498
|
});
|
|
486
499
|
});
|
|
487
500
|
|
|
488
|
-
var _index38 = require("./components/
|
|
501
|
+
var _index38 = require("./components/molecules/FeaturesBar/index");
|
|
489
502
|
|
|
490
503
|
Object.keys(_index38).forEach(function (key) {
|
|
491
504
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -498,7 +511,7 @@ Object.keys(_index38).forEach(function (key) {
|
|
|
498
511
|
});
|
|
499
512
|
});
|
|
500
513
|
|
|
501
|
-
var _index39 = require("./components/
|
|
514
|
+
var _index39 = require("./components/molecules/GalleryElement/index");
|
|
502
515
|
|
|
503
516
|
Object.keys(_index39).forEach(function (key) {
|
|
504
517
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -511,7 +524,7 @@ Object.keys(_index39).forEach(function (key) {
|
|
|
511
524
|
});
|
|
512
525
|
});
|
|
513
526
|
|
|
514
|
-
var _index40 = require("./components/
|
|
527
|
+
var _index40 = require("./components/molecules/HeaderTop/index");
|
|
515
528
|
|
|
516
529
|
Object.keys(_index40).forEach(function (key) {
|
|
517
530
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -524,7 +537,7 @@ Object.keys(_index40).forEach(function (key) {
|
|
|
524
537
|
});
|
|
525
538
|
});
|
|
526
539
|
|
|
527
|
-
var _index41 = require("./components/
|
|
540
|
+
var _index41 = require("./components/molecules/ImageSelector/index");
|
|
528
541
|
|
|
529
542
|
Object.keys(_index41).forEach(function (key) {
|
|
530
543
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -537,7 +550,7 @@ Object.keys(_index41).forEach(function (key) {
|
|
|
537
550
|
});
|
|
538
551
|
});
|
|
539
552
|
|
|
540
|
-
var _index42 = require("./components/molecules/
|
|
553
|
+
var _index42 = require("./components/molecules/LoginPasswordStrength/index");
|
|
541
554
|
|
|
542
555
|
Object.keys(_index42).forEach(function (key) {
|
|
543
556
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -550,20 +563,7 @@ Object.keys(_index42).forEach(function (key) {
|
|
|
550
563
|
});
|
|
551
564
|
});
|
|
552
565
|
|
|
553
|
-
var
|
|
554
|
-
|
|
555
|
-
Object.keys(_CarouselImagesLogin).forEach(function (key) {
|
|
556
|
-
if (key === "default" || key === "__esModule") return;
|
|
557
|
-
if (key in exports && exports[key] === _CarouselImagesLogin[key]) return;
|
|
558
|
-
Object.defineProperty(exports, key, {
|
|
559
|
-
enumerable: true,
|
|
560
|
-
get: function get() {
|
|
561
|
-
return _CarouselImagesLogin[key];
|
|
562
|
-
}
|
|
563
|
-
});
|
|
564
|
-
});
|
|
565
|
-
|
|
566
|
-
var _index43 = require("./components/molecules/EditionActiveImage/index");
|
|
566
|
+
var _index43 = require("./components/molecules/LogoLoading/index");
|
|
567
567
|
|
|
568
568
|
Object.keys(_index43).forEach(function (key) {
|
|
569
569
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -576,7 +576,7 @@ Object.keys(_index43).forEach(function (key) {
|
|
|
576
576
|
});
|
|
577
577
|
});
|
|
578
578
|
|
|
579
|
-
var _index44 = require("./components/molecules/
|
|
579
|
+
var _index44 = require("./components/molecules/PlanSelection/index");
|
|
580
580
|
|
|
581
581
|
Object.keys(_index44).forEach(function (key) {
|
|
582
582
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -589,7 +589,7 @@ Object.keys(_index44).forEach(function (key) {
|
|
|
589
589
|
});
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
var _index45 = require("./components/molecules/
|
|
592
|
+
var _index45 = require("./components/molecules/ProductNameHeader/index");
|
|
593
593
|
|
|
594
594
|
Object.keys(_index45).forEach(function (key) {
|
|
595
595
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -602,7 +602,7 @@ Object.keys(_index45).forEach(function (key) {
|
|
|
602
602
|
});
|
|
603
603
|
});
|
|
604
604
|
|
|
605
|
-
var _index46 = require("./components/molecules/
|
|
605
|
+
var _index46 = require("./components/molecules/RegistrationFirstStep/index");
|
|
606
606
|
|
|
607
607
|
Object.keys(_index46).forEach(function (key) {
|
|
608
608
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -615,7 +615,7 @@ Object.keys(_index46).forEach(function (key) {
|
|
|
615
615
|
});
|
|
616
616
|
});
|
|
617
617
|
|
|
618
|
-
var _index47 = require("./components/molecules/
|
|
618
|
+
var _index47 = require("./components/molecules/RegistrationSecondStep/index");
|
|
619
619
|
|
|
620
620
|
Object.keys(_index47).forEach(function (key) {
|
|
621
621
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -628,7 +628,7 @@ Object.keys(_index47).forEach(function (key) {
|
|
|
628
628
|
});
|
|
629
629
|
});
|
|
630
630
|
|
|
631
|
-
var _index48 = require("./components/molecules/
|
|
631
|
+
var _index48 = require("./components/molecules/RegistrationThirdStep/index");
|
|
632
632
|
|
|
633
633
|
Object.keys(_index48).forEach(function (key) {
|
|
634
634
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -641,7 +641,7 @@ Object.keys(_index48).forEach(function (key) {
|
|
|
641
641
|
});
|
|
642
642
|
});
|
|
643
643
|
|
|
644
|
-
var _index49 = require("./components/molecules/
|
|
644
|
+
var _index49 = require("./components/molecules/SignInLogin/index");
|
|
645
645
|
|
|
646
646
|
Object.keys(_index49).forEach(function (key) {
|
|
647
647
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -654,7 +654,7 @@ Object.keys(_index49).forEach(function (key) {
|
|
|
654
654
|
});
|
|
655
655
|
});
|
|
656
656
|
|
|
657
|
-
var _index50 = require("./components/molecules/
|
|
657
|
+
var _index50 = require("./components/molecules/StatusAsignationInfo/index");
|
|
658
658
|
|
|
659
659
|
Object.keys(_index50).forEach(function (key) {
|
|
660
660
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -667,7 +667,7 @@ Object.keys(_index50).forEach(function (key) {
|
|
|
667
667
|
});
|
|
668
668
|
});
|
|
669
669
|
|
|
670
|
-
var _index51 = require("./components/molecules/
|
|
670
|
+
var _index51 = require("./components/molecules/TableHeader/index");
|
|
671
671
|
|
|
672
672
|
Object.keys(_index51).forEach(function (key) {
|
|
673
673
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -680,7 +680,7 @@ Object.keys(_index51).forEach(function (key) {
|
|
|
680
680
|
});
|
|
681
681
|
});
|
|
682
682
|
|
|
683
|
-
var _index52 = require("./components/molecules/
|
|
683
|
+
var _index52 = require("./components/molecules/TableRow/index");
|
|
684
684
|
|
|
685
685
|
Object.keys(_index52).forEach(function (key) {
|
|
686
686
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -693,7 +693,7 @@ Object.keys(_index52).forEach(function (key) {
|
|
|
693
693
|
});
|
|
694
694
|
});
|
|
695
695
|
|
|
696
|
-
var _index53 = require("./components/molecules/
|
|
696
|
+
var _index53 = require("./components/molecules/TabsMenu/index");
|
|
697
697
|
|
|
698
698
|
Object.keys(_index53).forEach(function (key) {
|
|
699
699
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -706,7 +706,7 @@ Object.keys(_index53).forEach(function (key) {
|
|
|
706
706
|
});
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
var _index54 = require("./components/molecules/
|
|
709
|
+
var _index54 = require("./components/molecules/TagAndInput/index");
|
|
710
710
|
|
|
711
711
|
Object.keys(_index54).forEach(function (key) {
|
|
712
712
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -719,7 +719,7 @@ Object.keys(_index54).forEach(function (key) {
|
|
|
719
719
|
});
|
|
720
720
|
});
|
|
721
721
|
|
|
722
|
-
var _index55 = require("./components/molecules/
|
|
722
|
+
var _index55 = require("./components/molecules/VerificationCodeResetPasswordLogin/index");
|
|
723
723
|
|
|
724
724
|
Object.keys(_index55).forEach(function (key) {
|
|
725
725
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -732,7 +732,7 @@ Object.keys(_index55).forEach(function (key) {
|
|
|
732
732
|
});
|
|
733
733
|
});
|
|
734
734
|
|
|
735
|
-
var _index56 = require("./components/molecules/
|
|
735
|
+
var _index56 = require("./components/molecules/RetailerSelector/index");
|
|
736
736
|
|
|
737
737
|
Object.keys(_index56).forEach(function (key) {
|
|
738
738
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -745,7 +745,7 @@ Object.keys(_index56).forEach(function (key) {
|
|
|
745
745
|
});
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
var _index57 = require("./components/molecules/
|
|
748
|
+
var _index57 = require("./components/molecules/CustomSelect/index");
|
|
749
749
|
|
|
750
750
|
Object.keys(_index57).forEach(function (key) {
|
|
751
751
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -758,7 +758,7 @@ Object.keys(_index57).forEach(function (key) {
|
|
|
758
758
|
});
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
var _index58 = require("./components/molecules/
|
|
761
|
+
var _index58 = require("./components/molecules/ButtonDownloadFile/index");
|
|
762
762
|
|
|
763
763
|
Object.keys(_index58).forEach(function (key) {
|
|
764
764
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -771,7 +771,7 @@ Object.keys(_index58).forEach(function (key) {
|
|
|
771
771
|
});
|
|
772
772
|
});
|
|
773
773
|
|
|
774
|
-
var _index59 = require("./components/molecules/
|
|
774
|
+
var _index59 = require("./components/molecules/ImageTooltip/index");
|
|
775
775
|
|
|
776
776
|
Object.keys(_index59).forEach(function (key) {
|
|
777
777
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -784,7 +784,7 @@ Object.keys(_index59).forEach(function (key) {
|
|
|
784
784
|
});
|
|
785
785
|
});
|
|
786
786
|
|
|
787
|
-
var _index60 = require("./components/molecules/
|
|
787
|
+
var _index60 = require("./components/molecules/SelectV2/index");
|
|
788
788
|
|
|
789
789
|
Object.keys(_index60).forEach(function (key) {
|
|
790
790
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -797,7 +797,7 @@ Object.keys(_index60).forEach(function (key) {
|
|
|
797
797
|
});
|
|
798
798
|
});
|
|
799
799
|
|
|
800
|
-
var _index61 = require("./components/molecules/
|
|
800
|
+
var _index61 = require("./components/molecules/Dropdown/index");
|
|
801
801
|
|
|
802
802
|
Object.keys(_index61).forEach(function (key) {
|
|
803
803
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -810,7 +810,7 @@ Object.keys(_index61).forEach(function (key) {
|
|
|
810
810
|
});
|
|
811
811
|
});
|
|
812
812
|
|
|
813
|
-
var _index62 = require("./components/molecules/
|
|
813
|
+
var _index62 = require("./components/molecules/StripeCardForm/index");
|
|
814
814
|
|
|
815
815
|
Object.keys(_index62).forEach(function (key) {
|
|
816
816
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -823,7 +823,7 @@ Object.keys(_index62).forEach(function (key) {
|
|
|
823
823
|
});
|
|
824
824
|
});
|
|
825
825
|
|
|
826
|
-
var _index63 = require("./components/molecules/
|
|
826
|
+
var _index63 = require("./components/molecules/StripeCardSelector/index");
|
|
827
827
|
|
|
828
828
|
Object.keys(_index63).forEach(function (key) {
|
|
829
829
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -836,7 +836,7 @@ Object.keys(_index63).forEach(function (key) {
|
|
|
836
836
|
});
|
|
837
837
|
});
|
|
838
838
|
|
|
839
|
-
var _index64 = require("./components/
|
|
839
|
+
var _index64 = require("./components/organisms/ChangePassword/index");
|
|
840
840
|
|
|
841
841
|
Object.keys(_index64).forEach(function (key) {
|
|
842
842
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -849,7 +849,7 @@ Object.keys(_index64).forEach(function (key) {
|
|
|
849
849
|
});
|
|
850
850
|
});
|
|
851
851
|
|
|
852
|
-
var _index65 = require("./components/
|
|
852
|
+
var _index65 = require("./components/organisms/Fullplan/index");
|
|
853
853
|
|
|
854
854
|
Object.keys(_index65).forEach(function (key) {
|
|
855
855
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -862,7 +862,7 @@ Object.keys(_index65).forEach(function (key) {
|
|
|
862
862
|
});
|
|
863
863
|
});
|
|
864
864
|
|
|
865
|
-
var _index66 = require("./components/
|
|
865
|
+
var _index66 = require("./components/organisms/FullProductNameHeader/index");
|
|
866
866
|
|
|
867
867
|
Object.keys(_index66).forEach(function (key) {
|
|
868
868
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -875,7 +875,7 @@ Object.keys(_index66).forEach(function (key) {
|
|
|
875
875
|
});
|
|
876
876
|
});
|
|
877
877
|
|
|
878
|
-
var _index67 = require("./components/
|
|
878
|
+
var _index67 = require("./components/organisms/FullTabsMenu/index");
|
|
879
879
|
|
|
880
880
|
Object.keys(_index67).forEach(function (key) {
|
|
881
881
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -888,7 +888,7 @@ Object.keys(_index67).forEach(function (key) {
|
|
|
888
888
|
});
|
|
889
889
|
});
|
|
890
890
|
|
|
891
|
-
var _index68 = require("./components/
|
|
891
|
+
var _index68 = require("./components/organisms/ImageDataTable/index");
|
|
892
892
|
|
|
893
893
|
Object.keys(_index68).forEach(function (key) {
|
|
894
894
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -901,7 +901,7 @@ Object.keys(_index68).forEach(function (key) {
|
|
|
901
901
|
});
|
|
902
902
|
});
|
|
903
903
|
|
|
904
|
-
var _index69 = require("./components/
|
|
904
|
+
var _index69 = require("./components/organisms/ImagePreviewer/index");
|
|
905
905
|
|
|
906
906
|
Object.keys(_index69).forEach(function (key) {
|
|
907
907
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -914,7 +914,7 @@ Object.keys(_index69).forEach(function (key) {
|
|
|
914
914
|
});
|
|
915
915
|
});
|
|
916
916
|
|
|
917
|
-
var _index70 = require("./components/
|
|
917
|
+
var _index70 = require("./components/organisms/ImagesGroup/index");
|
|
918
918
|
|
|
919
919
|
Object.keys(_index70).forEach(function (key) {
|
|
920
920
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -927,7 +927,7 @@ Object.keys(_index70).forEach(function (key) {
|
|
|
927
927
|
});
|
|
928
928
|
});
|
|
929
929
|
|
|
930
|
-
var _index71 = require("./components/
|
|
930
|
+
var _index71 = require("./components/organisms/InputGroup/index");
|
|
931
931
|
|
|
932
932
|
Object.keys(_index71).forEach(function (key) {
|
|
933
933
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -940,7 +940,7 @@ Object.keys(_index71).forEach(function (key) {
|
|
|
940
940
|
});
|
|
941
941
|
});
|
|
942
942
|
|
|
943
|
-
var _index72 = require("./components/
|
|
943
|
+
var _index72 = require("./components/organisms/ProductImageModal/index");
|
|
944
944
|
|
|
945
945
|
Object.keys(_index72).forEach(function (key) {
|
|
946
946
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -953,7 +953,7 @@ Object.keys(_index72).forEach(function (key) {
|
|
|
953
953
|
});
|
|
954
954
|
});
|
|
955
955
|
|
|
956
|
-
var _index73 = require("./components/
|
|
956
|
+
var _index73 = require("./components/organisms/Chat/index");
|
|
957
957
|
|
|
958
958
|
Object.keys(_index73).forEach(function (key) {
|
|
959
959
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -966,7 +966,7 @@ Object.keys(_index73).forEach(function (key) {
|
|
|
966
966
|
});
|
|
967
967
|
});
|
|
968
968
|
|
|
969
|
-
var _index74 = require("./components/organisms/
|
|
969
|
+
var _index74 = require("./components/organisms/Modal/index");
|
|
970
970
|
|
|
971
971
|
Object.keys(_index74).forEach(function (key) {
|
|
972
972
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -979,7 +979,7 @@ Object.keys(_index74).forEach(function (key) {
|
|
|
979
979
|
});
|
|
980
980
|
});
|
|
981
981
|
|
|
982
|
-
var _index75 = require("./components/organisms/
|
|
982
|
+
var _index75 = require("./components/organisms/OrderDetail/index");
|
|
983
983
|
|
|
984
984
|
Object.keys(_index75).forEach(function (key) {
|
|
985
985
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -992,136 +992,6 @@ Object.keys(_index75).forEach(function (key) {
|
|
|
992
992
|
});
|
|
993
993
|
});
|
|
994
994
|
|
|
995
|
-
var _index76 = require("./components/organisms/FullProductNameHeader/index");
|
|
996
|
-
|
|
997
|
-
Object.keys(_index76).forEach(function (key) {
|
|
998
|
-
if (key === "default" || key === "__esModule") return;
|
|
999
|
-
if (key in exports && exports[key] === _index76[key]) return;
|
|
1000
|
-
Object.defineProperty(exports, key, {
|
|
1001
|
-
enumerable: true,
|
|
1002
|
-
get: function get() {
|
|
1003
|
-
return _index76[key];
|
|
1004
|
-
}
|
|
1005
|
-
});
|
|
1006
|
-
});
|
|
1007
|
-
|
|
1008
|
-
var _index77 = require("./components/organisms/FullTabsMenu/index");
|
|
1009
|
-
|
|
1010
|
-
Object.keys(_index77).forEach(function (key) {
|
|
1011
|
-
if (key === "default" || key === "__esModule") return;
|
|
1012
|
-
if (key in exports && exports[key] === _index77[key]) return;
|
|
1013
|
-
Object.defineProperty(exports, key, {
|
|
1014
|
-
enumerable: true,
|
|
1015
|
-
get: function get() {
|
|
1016
|
-
return _index77[key];
|
|
1017
|
-
}
|
|
1018
|
-
});
|
|
1019
|
-
});
|
|
1020
|
-
|
|
1021
|
-
var _index78 = require("./components/organisms/ImageDataTable/index");
|
|
1022
|
-
|
|
1023
|
-
Object.keys(_index78).forEach(function (key) {
|
|
1024
|
-
if (key === "default" || key === "__esModule") return;
|
|
1025
|
-
if (key in exports && exports[key] === _index78[key]) return;
|
|
1026
|
-
Object.defineProperty(exports, key, {
|
|
1027
|
-
enumerable: true,
|
|
1028
|
-
get: function get() {
|
|
1029
|
-
return _index78[key];
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
|
-
});
|
|
1033
|
-
|
|
1034
|
-
var _index79 = require("./components/organisms/ImagePreviewer/index");
|
|
1035
|
-
|
|
1036
|
-
Object.keys(_index79).forEach(function (key) {
|
|
1037
|
-
if (key === "default" || key === "__esModule") return;
|
|
1038
|
-
if (key in exports && exports[key] === _index79[key]) return;
|
|
1039
|
-
Object.defineProperty(exports, key, {
|
|
1040
|
-
enumerable: true,
|
|
1041
|
-
get: function get() {
|
|
1042
|
-
return _index79[key];
|
|
1043
|
-
}
|
|
1044
|
-
});
|
|
1045
|
-
});
|
|
1046
|
-
|
|
1047
|
-
var _index80 = require("./components/organisms/ImagesGroup/index");
|
|
1048
|
-
|
|
1049
|
-
Object.keys(_index80).forEach(function (key) {
|
|
1050
|
-
if (key === "default" || key === "__esModule") return;
|
|
1051
|
-
if (key in exports && exports[key] === _index80[key]) return;
|
|
1052
|
-
Object.defineProperty(exports, key, {
|
|
1053
|
-
enumerable: true,
|
|
1054
|
-
get: function get() {
|
|
1055
|
-
return _index80[key];
|
|
1056
|
-
}
|
|
1057
|
-
});
|
|
1058
|
-
});
|
|
1059
|
-
|
|
1060
|
-
var _index81 = require("./components/organisms/InputGroup/index");
|
|
1061
|
-
|
|
1062
|
-
Object.keys(_index81).forEach(function (key) {
|
|
1063
|
-
if (key === "default" || key === "__esModule") return;
|
|
1064
|
-
if (key in exports && exports[key] === _index81[key]) return;
|
|
1065
|
-
Object.defineProperty(exports, key, {
|
|
1066
|
-
enumerable: true,
|
|
1067
|
-
get: function get() {
|
|
1068
|
-
return _index81[key];
|
|
1069
|
-
}
|
|
1070
|
-
});
|
|
1071
|
-
});
|
|
1072
|
-
|
|
1073
|
-
var _index82 = require("./components/organisms/ProductImageModal/index");
|
|
1074
|
-
|
|
1075
|
-
Object.keys(_index82).forEach(function (key) {
|
|
1076
|
-
if (key === "default" || key === "__esModule") return;
|
|
1077
|
-
if (key in exports && exports[key] === _index82[key]) return;
|
|
1078
|
-
Object.defineProperty(exports, key, {
|
|
1079
|
-
enumerable: true,
|
|
1080
|
-
get: function get() {
|
|
1081
|
-
return _index82[key];
|
|
1082
|
-
}
|
|
1083
|
-
});
|
|
1084
|
-
});
|
|
1085
|
-
|
|
1086
|
-
var _index83 = require("./components/organisms/Chat/index");
|
|
1087
|
-
|
|
1088
|
-
Object.keys(_index83).forEach(function (key) {
|
|
1089
|
-
if (key === "default" || key === "__esModule") return;
|
|
1090
|
-
if (key in exports && exports[key] === _index83[key]) return;
|
|
1091
|
-
Object.defineProperty(exports, key, {
|
|
1092
|
-
enumerable: true,
|
|
1093
|
-
get: function get() {
|
|
1094
|
-
return _index83[key];
|
|
1095
|
-
}
|
|
1096
|
-
});
|
|
1097
|
-
});
|
|
1098
|
-
|
|
1099
|
-
var _index84 = require("./components/organisms/Modal/index");
|
|
1100
|
-
|
|
1101
|
-
Object.keys(_index84).forEach(function (key) {
|
|
1102
|
-
if (key === "default" || key === "__esModule") return;
|
|
1103
|
-
if (key in exports && exports[key] === _index84[key]) return;
|
|
1104
|
-
Object.defineProperty(exports, key, {
|
|
1105
|
-
enumerable: true,
|
|
1106
|
-
get: function get() {
|
|
1107
|
-
return _index84[key];
|
|
1108
|
-
}
|
|
1109
|
-
});
|
|
1110
|
-
});
|
|
1111
|
-
|
|
1112
|
-
var _index85 = require("./components/organisms/OrderDetail/index");
|
|
1113
|
-
|
|
1114
|
-
Object.keys(_index85).forEach(function (key) {
|
|
1115
|
-
if (key === "default" || key === "__esModule") return;
|
|
1116
|
-
if (key in exports && exports[key] === _index85[key]) return;
|
|
1117
|
-
Object.defineProperty(exports, key, {
|
|
1118
|
-
enumerable: true,
|
|
1119
|
-
get: function get() {
|
|
1120
|
-
return _index85[key];
|
|
1121
|
-
}
|
|
1122
|
-
});
|
|
1123
|
-
});
|
|
1124
|
-
|
|
1125
995
|
var _RangeCalendar = require("./components/organisms/RangeCalendar");
|
|
1126
996
|
|
|
1127
997
|
Object.keys(_RangeCalendar).forEach(function (key) {
|
|
@@ -1148,28 +1018,15 @@ Object.keys(_TableResizable).forEach(function (key) {
|
|
|
1148
1018
|
});
|
|
1149
1019
|
});
|
|
1150
1020
|
|
|
1151
|
-
var
|
|
1152
|
-
|
|
1153
|
-
Object.keys(_index86).forEach(function (key) {
|
|
1154
|
-
if (key === "default" || key === "__esModule") return;
|
|
1155
|
-
if (key in exports && exports[key] === _index86[key]) return;
|
|
1156
|
-
Object.defineProperty(exports, key, {
|
|
1157
|
-
enumerable: true,
|
|
1158
|
-
get: function get() {
|
|
1159
|
-
return _index86[key];
|
|
1160
|
-
}
|
|
1161
|
-
});
|
|
1162
|
-
});
|
|
1163
|
-
|
|
1164
|
-
var _index87 = require("./components/organisms/GridProducts/index");
|
|
1021
|
+
var _index76 = require("./components/organisms/SideModal/index");
|
|
1165
1022
|
|
|
1166
|
-
Object.keys(
|
|
1023
|
+
Object.keys(_index76).forEach(function (key) {
|
|
1167
1024
|
if (key === "default" || key === "__esModule") return;
|
|
1168
|
-
if (key in exports && exports[key] ===
|
|
1025
|
+
if (key in exports && exports[key] === _index76[key]) return;
|
|
1169
1026
|
Object.defineProperty(exports, key, {
|
|
1170
1027
|
enumerable: true,
|
|
1171
1028
|
get: function get() {
|
|
1172
|
-
return
|
|
1029
|
+
return _index76[key];
|
|
1173
1030
|
}
|
|
1174
1031
|
});
|
|
1175
1032
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentoh-components-library",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.59",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@aws-amplify/auth": "^4.5.3",
|
|
6
6
|
"@aws-amplify/datastore": "^3.11.0",
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"contentoh-components-library": "^21.0.18",
|
|
31
31
|
"draft-js": "^0.11.7",
|
|
32
32
|
"file-saver": "^2.0.5",
|
|
33
|
-
"infinite-react-carousel": "^1.2.11",
|
|
34
33
|
"js-base64": "^3.7.2",
|
|
35
34
|
"moment": "^2.29.4",
|
|
36
35
|
"prop-types": "^15.7.2",
|
|
@@ -2,18 +2,12 @@ import { Container } from "./styles";
|
|
|
2
2
|
import ReactImageFallback from "react-image-fallback";
|
|
3
3
|
import defaultProfile from "../../../assets/images/defaultImages/defaultProfileImage.svg";
|
|
4
4
|
|
|
5
|
-
export const Avatar = ({
|
|
6
|
-
image,
|
|
7
|
-
altText,
|
|
8
|
-
imageType,
|
|
9
|
-
onClick,
|
|
10
|
-
fallbackImage,
|
|
11
|
-
}) => {
|
|
5
|
+
export const Avatar = ({ image, altText, imageType, onClick }) => {
|
|
12
6
|
return (
|
|
13
7
|
<Container className={imageType}>
|
|
14
8
|
<ReactImageFallback
|
|
15
9
|
src={image}
|
|
16
|
-
fallbackImage={
|
|
10
|
+
fallbackImage={defaultProfile}
|
|
17
11
|
alt={altText}
|
|
18
12
|
onClick={onClick}
|
|
19
13
|
/>
|
|
@@ -7,11 +7,9 @@ export const CheckBox = ({
|
|
|
7
7
|
isFilter,
|
|
8
8
|
defaultChecked,
|
|
9
9
|
disabled = false,
|
|
10
|
-
checked,
|
|
11
|
-
className = "",
|
|
12
10
|
}) => {
|
|
13
11
|
return (
|
|
14
|
-
<Container key={`check-${id}`}
|
|
12
|
+
<Container key={`check-${id}`}>
|
|
15
13
|
<input
|
|
16
14
|
type="checkbox"
|
|
17
15
|
name={id}
|
|
@@ -19,7 +17,6 @@ export const CheckBox = ({
|
|
|
19
17
|
onChange={onChange}
|
|
20
18
|
defaultChecked={defaultChecked}
|
|
21
19
|
disabled={disabled}
|
|
22
|
-
checked={checked}
|
|
23
20
|
/>
|
|
24
21
|
<label htmlFor={id}>
|
|
25
22
|
{label && <p className={isFilter && "filter-text"}>{label}</p>}
|
|
@@ -27,7 +27,7 @@ export const CarouselImagesLogin = ({
|
|
|
27
27
|
img2.src = images[i];
|
|
28
28
|
const circulo_actual = Array.from(circulos).find((el) => el.id === i);
|
|
29
29
|
Array.from(circulos).forEach((cir) => cir.classList.remove("resaltado"));
|
|
30
|
-
circulo_actual
|
|
30
|
+
circulo_actual.classList.add("resaltado");
|
|
31
31
|
img1.classList.add("right");
|
|
32
32
|
img2.classList.add("active");
|
|
33
33
|
i++;
|