dhre-ui-kit 0.0.106 → 0.0.108
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/lib/index.d.ts +1 -1
- package/lib/index.js +83 -284
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +83 -284
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -997,4 +997,4 @@ declare const DHRE_COLORS_TEXT: {
|
|
|
997
997
|
DH_LIGHTGREEN: string;
|
|
998
998
|
};
|
|
999
999
|
|
|
1000
|
-
export { Accordion, _default$b as Badge, BottomDrawer, _default$a as Button, Cards, _default$4 as Category, Checkbox as CheckBox, _default$6 as ContactModel, CountryDropDown as CountryPicker, _default$3 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default as CustomSlideButton, CustomSwitchBtn, _default$c as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$8 as Line, NotificationBandge, _default$2 as OTPInput, _default$5 as OurOfficesButton, PdfView, PopUp, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$1 as Stepper, SwipableList, _default$9 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$7 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
|
1000
|
+
export { Accordion, _default$b as Badge, BottomDrawer, _default$a as Button, Cards, _default$4 as Category, Checkbox as CheckBox, _default$6 as ContactModel, CountryDropDown as CountryPicker, _default$3 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default as CustomSlideButton, CustomSwitchBtn, _default$c as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$8 as Line, NotificationBandge, _default$2 as OTPInput, _default$5 as OurOfficesButton, PdfView, PopUp, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$1 as Stepper, SwipableList, _default$9 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$7 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|
package/lib/index.js
CHANGED
|
@@ -651,78 +651,29 @@ const styles$B = reactNative.StyleSheet.create({
|
|
|
651
651
|
rightIconStyle: { marginLeft: 8 }
|
|
652
652
|
});
|
|
653
653
|
|
|
654
|
-
var _path$
|
|
655
|
-
function _extends$
|
|
656
|
-
var SvgSearchIcon = function SvgSearchIcon(props) {
|
|
657
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
658
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
659
|
-
width: 24,
|
|
660
|
-
height: 25,
|
|
661
|
-
fill: "none"
|
|
662
|
-
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
663
|
-
stroke: "#A7A7A7",
|
|
664
|
-
strokeLinecap: "round",
|
|
665
|
-
strokeLinejoin: "round",
|
|
666
|
-
strokeWidth: 1.5,
|
|
667
|
-
d: "M10.875 19.469a7.875 7.875 0 1 0 0-15.75 7.875 7.875 0 0 0 0 15.75M16.444 17.163 21 21.719"
|
|
668
|
-
})));
|
|
669
|
-
};
|
|
670
|
-
|
|
671
|
-
var _path$b;
|
|
672
|
-
function _extends$c() { return _extends$c = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$c.apply(null, arguments); }
|
|
654
|
+
var _path$3;
|
|
655
|
+
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
673
656
|
var SvgCrossIcon = function SvgCrossIcon(props) {
|
|
674
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
657
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
675
658
|
xmlns: "http://www.w3.org/2000/svg",
|
|
676
659
|
width: 24,
|
|
677
660
|
height: 25,
|
|
678
661
|
fill: "none"
|
|
679
|
-
}, props), _path$
|
|
662
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
680
663
|
fill: "#fff",
|
|
681
664
|
d: "M17.657 8.032a.686.686 0 0 0-.97-.97L12 11.749 7.313 7.062a.686.686 0 1 0-.97.97l4.687 4.687-4.687 4.687a.686.686 0 1 0 .97.97L12 13.688l4.687 4.688a.686.686 0 1 0 .97-.97l-4.687-4.687z"
|
|
682
665
|
})));
|
|
683
666
|
};
|
|
684
667
|
|
|
685
|
-
var _path$
|
|
686
|
-
function _extends$
|
|
687
|
-
var SvgCaretUp = function SvgCaretUp(props) {
|
|
688
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
689
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
690
|
-
width: 28,
|
|
691
|
-
height: 20,
|
|
692
|
-
fill: "none"
|
|
693
|
-
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
694
|
-
stroke: "#A7A7A7",
|
|
695
|
-
strokeLinecap: "round",
|
|
696
|
-
strokeLinejoin: "round",
|
|
697
|
-
d: "M3.75 12.5 10 6.25l6.25 6.25"
|
|
698
|
-
})));
|
|
699
|
-
};
|
|
700
|
-
|
|
701
|
-
var _path$9;
|
|
702
|
-
function _extends$a() { return _extends$a = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$a.apply(null, arguments); }
|
|
703
|
-
var SvgCaretDown = function SvgCaretDown(props) {
|
|
704
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
705
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
706
|
-
width: 28,
|
|
707
|
-
height: 20,
|
|
708
|
-
fill: "none"
|
|
709
|
-
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
710
|
-
stroke: "#A7A7A7",
|
|
711
|
-
strokeLinecap: "round",
|
|
712
|
-
strokeLinejoin: "round",
|
|
713
|
-
d: "M16.25 7.5 10 13.75 3.75 7.5"
|
|
714
|
-
})));
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
var _path$8;
|
|
718
|
-
function _extends$9() { return _extends$9 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$9.apply(null, arguments); }
|
|
668
|
+
var _path$2;
|
|
669
|
+
function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
|
|
719
670
|
var SvgCaretLeft = function SvgCaretLeft(props) {
|
|
720
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
671
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
721
672
|
xmlns: "http://www.w3.org/2000/svg",
|
|
722
673
|
width: 24,
|
|
723
674
|
height: 24,
|
|
724
675
|
fill: "none"
|
|
725
|
-
}, props), _path$
|
|
676
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
726
677
|
stroke: "#fff",
|
|
727
678
|
strokeLinecap: "round",
|
|
728
679
|
strokeLinejoin: "round",
|
|
@@ -731,48 +682,34 @@ var SvgCaretLeft = function SvgCaretLeft(props) {
|
|
|
731
682
|
})));
|
|
732
683
|
};
|
|
733
684
|
|
|
734
|
-
var _path$
|
|
735
|
-
function _extends$
|
|
685
|
+
var _path$1, _path2;
|
|
686
|
+
function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
|
|
736
687
|
var SvgDotsThreeVertical = function SvgDotsThreeVertical(props) {
|
|
737
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
688
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
738
689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
739
690
|
width: 24,
|
|
740
691
|
height: 24,
|
|
741
692
|
fill: "none"
|
|
742
|
-
}, props), _path$
|
|
693
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
743
694
|
fill: "#fff",
|
|
744
695
|
stroke: "#fff",
|
|
745
696
|
strokeWidth: 0.125,
|
|
746
697
|
d: "M13.438 6a1.438 1.438 0 1 1-2.876 0 1.438 1.438 0 0 1 2.876 0ZM13.438 12a1.438 1.438 0 1 1-2.876 0 1.438 1.438 0 0 1 2.876 0Z"
|
|
747
|
-
})), _path2
|
|
698
|
+
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
748
699
|
fill: "#fff",
|
|
749
700
|
d: "M12 19.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"
|
|
750
701
|
})));
|
|
751
702
|
};
|
|
752
703
|
|
|
753
|
-
var _path
|
|
754
|
-
function _extends
|
|
755
|
-
var SvgCircleTick = function SvgCircleTick(props) {
|
|
756
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
757
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
758
|
-
width: 20,
|
|
759
|
-
height: 20,
|
|
760
|
-
fill: "none"
|
|
761
|
-
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
762
|
-
fill: "#fff",
|
|
763
|
-
d: "M14.03 7.22a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0l-2.25-2.25a.75.75 0 1 1 1.06-1.06l1.72 1.72 4.72-4.72a.75.75 0 0 1 1.06 0M19.5 10A9.75 9.75 0 1 1 9.75.25 9.76 9.76 0 0 1 19.5 10M18 10a8.25 8.25 0 1 0-8.25 8.25A8.26 8.26 0 0 0 18 10"
|
|
764
|
-
})));
|
|
765
|
-
};
|
|
766
|
-
|
|
767
|
-
var _path$5;
|
|
768
|
-
function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
|
|
704
|
+
var _path;
|
|
705
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
769
706
|
var SvgArrowLeft = function SvgArrowLeft(props) {
|
|
770
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
707
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
771
708
|
xmlns: "http://www.w3.org/2000/svg",
|
|
772
709
|
width: 24,
|
|
773
710
|
height: 24,
|
|
774
711
|
fill: "none"
|
|
775
|
-
}, props), _path
|
|
712
|
+
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
776
713
|
fill: "#fff",
|
|
777
714
|
fillRule: "evenodd",
|
|
778
715
|
d: "M15.6 4.186a.774.774 0 0 1 .085 1.092L9.923 12l5.762 6.722a.774.774 0 0 1-1.176 1.008l-6.194-7.226a.774.774 0 0 1 0-1.008L14.51 4.27a.774.774 0 0 1 1.092-.084",
|
|
@@ -780,113 +717,6 @@ var SvgArrowLeft = function SvgArrowLeft(props) {
|
|
|
780
717
|
})));
|
|
781
718
|
};
|
|
782
719
|
|
|
783
|
-
var _path$4;
|
|
784
|
-
function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
|
|
785
|
-
var SvgBellSimple = function SvgBellSimple(props) {
|
|
786
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
787
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
788
|
-
width: 29,
|
|
789
|
-
height: 29,
|
|
790
|
-
fill: "none"
|
|
791
|
-
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
792
|
-
fill: "#fff",
|
|
793
|
-
d: "M18.805 25.375a.68.68 0 0 1-.68.68h-7.25a.68.68 0 1 1 0-1.36h7.25a.68.68 0 0 1 .68.68m6.13-3.738a1.57 1.57 0 0 1-1.371.793H5.437a1.587 1.587 0 0 1-1.366-2.386c.64-1.103 1.593-4.214 1.593-8.263a8.836 8.836 0 0 1 17.672 0c0 4.048.954 7.16 1.595 8.263a1.57 1.57 0 0 1 .003 1.593m-1.18-.907c-.857-1.472-1.778-4.907-1.778-8.949a7.477 7.477 0 0 0-14.954 0c0 4.043-.922 7.477-1.78 8.95a.23.23 0 0 0 0 .226.22.22 0 0 0 .193.113h18.127a.22.22 0 0 0 .192-.113.23.23 0 0 0 0-.227"
|
|
794
|
-
})));
|
|
795
|
-
};
|
|
796
|
-
|
|
797
|
-
var _g, _defs;
|
|
798
|
-
function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
|
|
799
|
-
var SvgUploadFileIcon = function SvgUploadFileIcon(props) {
|
|
800
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
801
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
802
|
-
width: 24,
|
|
803
|
-
height: 25,
|
|
804
|
-
fill: "none"
|
|
805
|
-
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
806
|
-
stroke: "#000",
|
|
807
|
-
strokeLinecap: "round",
|
|
808
|
-
strokeLinejoin: "round",
|
|
809
|
-
clipPath: "url(#uploadFileIcon_svg__a)"
|
|
810
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
811
|
-
d: "M12 14V3.5M20.25 14v6H3.75v-6M8.25 7.25 12 3.5l3.75 3.75"
|
|
812
|
-
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
813
|
-
id: "uploadFileIcon_svg__a"
|
|
814
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
815
|
-
fill: "#fff",
|
|
816
|
-
d: "M0 .5h24v24H0z"
|
|
817
|
-
})))));
|
|
818
|
-
};
|
|
819
|
-
|
|
820
|
-
var _path$3;
|
|
821
|
-
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
822
|
-
var SvgCaretRight = function SvgCaretRight(props) {
|
|
823
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
824
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
825
|
-
width: 18,
|
|
826
|
-
height: 18,
|
|
827
|
-
fill: "none"
|
|
828
|
-
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
829
|
-
stroke: "#fff",
|
|
830
|
-
strokeLinecap: "round",
|
|
831
|
-
strokeLinejoin: "round",
|
|
832
|
-
d: "M6.75 3.375 12.375 9 6.75 14.625"
|
|
833
|
-
})));
|
|
834
|
-
};
|
|
835
|
-
|
|
836
|
-
var _path$2;
|
|
837
|
-
function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
|
|
838
|
-
var SvgCheckWhite = function SvgCheckWhite(props) {
|
|
839
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
840
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
841
|
-
width: 16,
|
|
842
|
-
height: 16,
|
|
843
|
-
fill: "none"
|
|
844
|
-
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
845
|
-
stroke: "#fff",
|
|
846
|
-
strokeLinecap: "round",
|
|
847
|
-
strokeLinejoin: "round",
|
|
848
|
-
strokeWidth: 2,
|
|
849
|
-
d: "m13.5 4.5-7 7L3 8"
|
|
850
|
-
})));
|
|
851
|
-
};
|
|
852
|
-
|
|
853
|
-
var _path$1, _path2;
|
|
854
|
-
function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
|
|
855
|
-
var SvgFileIcon = function SvgFileIcon(props) {
|
|
856
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
857
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
858
|
-
width: 24,
|
|
859
|
-
height: 24,
|
|
860
|
-
fill: "none"
|
|
861
|
-
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
862
|
-
stroke: "#000",
|
|
863
|
-
strokeLinecap: "round",
|
|
864
|
-
strokeLinejoin: "round",
|
|
865
|
-
d: "M4.5 12V3.75A.75.75 0 0 1 5.25 3h9l5.25 5.25V12"
|
|
866
|
-
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
867
|
-
stroke: "#000",
|
|
868
|
-
strokeLinecap: "round",
|
|
869
|
-
strokeLinejoin: "round",
|
|
870
|
-
d: "M14.25 3v5.25h5.25M4.5 18.75H6a1.5 1.5 0 1 0 0-3H4.5v4.5M20.25 15.75h-2.625v4.5M19.875 18.375h-2.25M12 20.25a2.25 2.25 0 0 0 0-4.5h-1.312v4.5z"
|
|
871
|
-
})));
|
|
872
|
-
};
|
|
873
|
-
|
|
874
|
-
var _path;
|
|
875
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
876
|
-
var SvgTrash = function SvgTrash(props) {
|
|
877
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
878
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
879
|
-
width: 24,
|
|
880
|
-
height: 24,
|
|
881
|
-
fill: "none"
|
|
882
|
-
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
883
|
-
stroke: "#EB0542",
|
|
884
|
-
strokeLinecap: "round",
|
|
885
|
-
strokeLinejoin: "round",
|
|
886
|
-
d: "M20.25 5.25H3.75M9.75 9.75v6M14.25 9.75v6M18.75 5.25V19.5a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75V5.25M15.75 5.25v-1.5a1.5 1.5 0 0 0-1.5-1.5h-4.5a1.5 1.5 0 0 0-1.5 1.5v1.5"
|
|
887
|
-
})));
|
|
888
|
-
};
|
|
889
|
-
|
|
890
720
|
const BottomDrawer = ({
|
|
891
721
|
isModalVisible,
|
|
892
722
|
toggleModal,
|
|
@@ -934,24 +764,14 @@ const BottomDrawer = ({
|
|
|
934
764
|
blurType: "light",
|
|
935
765
|
blurAmount
|
|
936
766
|
}
|
|
937
|
-
) : null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$B.separator }), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$B.headerContainer },
|
|
938
|
-
width: moderateScale(24),
|
|
939
|
-
height: moderateScale(24),
|
|
940
|
-
style: styles$B.leftIconStyle,
|
|
941
|
-
onPress: onLeftIconPress
|
|
942
|
-
}), /* @__PURE__ */ React__default["default"].createElement(
|
|
767
|
+
) : null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$B.separator }), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$B.headerContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
943
768
|
CustomTypography,
|
|
944
769
|
{
|
|
945
770
|
variant: titleVariant,
|
|
946
771
|
text: title,
|
|
947
772
|
style: { ...styles$B.title, ...titleStyle }
|
|
948
773
|
}
|
|
949
|
-
),
|
|
950
|
-
width: moderateScale(24),
|
|
951
|
-
height: moderateScale(24),
|
|
952
|
-
style: styles$B.rightIconStyle,
|
|
953
|
-
onPress: toggleModal
|
|
954
|
-
}))), children))
|
|
774
|
+
))), children))
|
|
955
775
|
))
|
|
956
776
|
);
|
|
957
777
|
};
|
|
@@ -2192,12 +2012,7 @@ const Accordion = ({
|
|
|
2192
2012
|
text: title,
|
|
2193
2013
|
style: [styles$n.title, titleStyle]
|
|
2194
2014
|
}
|
|
2195
|
-
)
|
|
2196
|
-
React__default["default"].cloneElement(isOpen ? /* @__PURE__ */ React__default["default"].createElement(SvgCaretUp, null) : /* @__PURE__ */ React__default["default"].createElement(SvgCaretDown, null), {
|
|
2197
|
-
width: moderateScale(20),
|
|
2198
|
-
height: moderateScale(20),
|
|
2199
|
-
style: styles$n.iconStyle
|
|
2200
|
-
})
|
|
2015
|
+
)
|
|
2201
2016
|
), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$n.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2202
2017
|
reactNative.View,
|
|
2203
2018
|
{
|
|
@@ -2298,7 +2113,7 @@ const Toast = React__default["default"].forwardRef((_props, ref) => {
|
|
|
2298
2113
|
],
|
|
2299
2114
|
testID: "TOAST"
|
|
2300
2115
|
},
|
|
2301
|
-
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.toastContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.innerContainer },
|
|
2116
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.toastContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.innerContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2302
2117
|
CustomTypography,
|
|
2303
2118
|
{
|
|
2304
2119
|
variant: "L2_REGULAR",
|
|
@@ -2394,12 +2209,7 @@ const CustomSearchBar = ({
|
|
|
2394
2209
|
onSearchIconPress?.();
|
|
2395
2210
|
},
|
|
2396
2211
|
style: searchIconStyle
|
|
2397
|
-
}
|
|
2398
|
-
React__default["default"].cloneElement(/* @__PURE__ */ React__default["default"].createElement(SvgSearchIcon, null), {
|
|
2399
|
-
width: moderateScale(24),
|
|
2400
|
-
height: moderateScale(24),
|
|
2401
|
-
style: [styles$l.searchIconStyle, searchIconStyle]
|
|
2402
|
-
})
|
|
2212
|
+
}
|
|
2403
2213
|
),
|
|
2404
2214
|
/* @__PURE__ */ React__default["default"].createElement(
|
|
2405
2215
|
reactNative.TextInput,
|
|
@@ -2456,44 +2266,6 @@ const styles$k = reactNative.StyleSheet.create({
|
|
|
2456
2266
|
rightIconStyle: { marginLeft: horizontalScale(8) }
|
|
2457
2267
|
});
|
|
2458
2268
|
|
|
2459
|
-
const styles$j = reactNative.StyleSheet.create({
|
|
2460
|
-
container: {
|
|
2461
|
-
justifyContent: "center",
|
|
2462
|
-
alignItems: "center"
|
|
2463
|
-
},
|
|
2464
|
-
title: {
|
|
2465
|
-
color: "#000"
|
|
2466
|
-
}
|
|
2467
|
-
});
|
|
2468
|
-
|
|
2469
|
-
const CustomIcon = ({
|
|
2470
|
-
icon,
|
|
2471
|
-
title,
|
|
2472
|
-
titleVariant = "L1_REGULAR",
|
|
2473
|
-
testId = "CUSTOM-ICON",
|
|
2474
|
-
onPress,
|
|
2475
|
-
containerStyle,
|
|
2476
|
-
titleStyle
|
|
2477
|
-
}) => {
|
|
2478
|
-
return /* @__PURE__ */ React__default["default"].createElement(
|
|
2479
|
-
reactNative.Pressable,
|
|
2480
|
-
{
|
|
2481
|
-
style: [styles$j.container, containerStyle],
|
|
2482
|
-
onPress,
|
|
2483
|
-
testID: testId
|
|
2484
|
-
},
|
|
2485
|
-
icon,
|
|
2486
|
-
title && /* @__PURE__ */ React__default["default"].createElement(
|
|
2487
|
-
CustomTypography,
|
|
2488
|
-
{
|
|
2489
|
-
variant: titleVariant,
|
|
2490
|
-
text: title,
|
|
2491
|
-
style: [styles$j.title, titleStyle]
|
|
2492
|
-
}
|
|
2493
|
-
)
|
|
2494
|
-
);
|
|
2495
|
-
};
|
|
2496
|
-
|
|
2497
2269
|
const CustomHeader = ({
|
|
2498
2270
|
title,
|
|
2499
2271
|
testId = "CUSTOM-HEADER",
|
|
@@ -2504,31 +2276,17 @@ const CustomHeader = ({
|
|
|
2504
2276
|
onLeftPress,
|
|
2505
2277
|
onRightPress
|
|
2506
2278
|
}) => {
|
|
2507
|
-
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.headderContainer },
|
|
2508
|
-
CustomIcon,
|
|
2509
|
-
{
|
|
2510
|
-
icon: leftIcon,
|
|
2511
|
-
onPress: onLeftPress,
|
|
2512
|
-
containerStyle: styles$k.leftIconStyle
|
|
2513
|
-
}
|
|
2514
|
-
), /* @__PURE__ */ React__default["default"].createElement(
|
|
2279
|
+
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.headderContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2515
2280
|
CustomTypography,
|
|
2516
2281
|
{
|
|
2517
2282
|
variant: "B2_REGULAR",
|
|
2518
2283
|
text: title,
|
|
2519
2284
|
style: styles$k.headerTitle
|
|
2520
2285
|
}
|
|
2521
|
-
))
|
|
2522
|
-
CustomIcon,
|
|
2523
|
-
{
|
|
2524
|
-
icon: rightIcon,
|
|
2525
|
-
onPress: onRightPress,
|
|
2526
|
-
containerStyle: styles$k.rightIconStyle
|
|
2527
|
-
}
|
|
2528
|
-
));
|
|
2286
|
+
)));
|
|
2529
2287
|
};
|
|
2530
2288
|
|
|
2531
|
-
const styles$
|
|
2289
|
+
const styles$j = reactNative.StyleSheet.create({
|
|
2532
2290
|
container: {
|
|
2533
2291
|
flex: 1
|
|
2534
2292
|
},
|
|
@@ -2589,19 +2347,19 @@ const SwipableList = (props) => {
|
|
|
2589
2347
|
{
|
|
2590
2348
|
testID,
|
|
2591
2349
|
onPress,
|
|
2592
|
-
style: [styles$
|
|
2350
|
+
style: [styles$j.actionButton, style]
|
|
2593
2351
|
},
|
|
2594
2352
|
icon,
|
|
2595
2353
|
/* @__PURE__ */ React__default["default"].createElement(
|
|
2596
2354
|
CustomTypography,
|
|
2597
2355
|
{
|
|
2598
2356
|
variant: "L1_REGULAR",
|
|
2599
|
-
style: [styles$
|
|
2357
|
+
style: [styles$j.titleStyle, titleStyle],
|
|
2600
2358
|
text: title
|
|
2601
2359
|
}
|
|
2602
2360
|
)
|
|
2603
2361
|
);
|
|
2604
|
-
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$
|
|
2362
|
+
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$j.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
|
|
2605
2363
|
ActionButton,
|
|
2606
2364
|
{
|
|
2607
2365
|
icon: leftPrimaryActionIcon,
|
|
@@ -2620,7 +2378,7 @@ const SwipableList = (props) => {
|
|
|
2620
2378
|
testID: `${testId}-LEFT-SECONDARY-${item.id}`
|
|
2621
2379
|
}
|
|
2622
2380
|
));
|
|
2623
|
-
const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$
|
|
2381
|
+
const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$j.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
|
|
2624
2382
|
ActionButton,
|
|
2625
2383
|
{
|
|
2626
2384
|
icon: rightPrimaryActionIcon,
|
|
@@ -2630,7 +2388,7 @@ const SwipableList = (props) => {
|
|
|
2630
2388
|
testID: `${testId}-RIGHT-PRIMARY-${item.id}`
|
|
2631
2389
|
}
|
|
2632
2390
|
));
|
|
2633
|
-
const renderItem = ({ item }) => /* @__PURE__ */ React__default["default"].createElement(reactNativeGestureHandler.GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$
|
|
2391
|
+
const renderItem = ({ item }) => /* @__PURE__ */ React__default["default"].createElement(reactNativeGestureHandler.GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$j.container }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2634
2392
|
reactNativeGestureHandler.Swipeable,
|
|
2635
2393
|
{
|
|
2636
2394
|
renderLeftActions: () => leftActionHandle(
|
|
@@ -2641,7 +2399,7 @@ const SwipableList = (props) => {
|
|
|
2641
2399
|
item.isRead ? leftSecondaryActionInActiveTitle : leftSecondaryActionActiveTitle
|
|
2642
2400
|
),
|
|
2643
2401
|
renderRightActions: () => rightActionHandle(item),
|
|
2644
|
-
containerStyle: styles$
|
|
2402
|
+
containerStyle: styles$j.swippableContainer
|
|
2645
2403
|
},
|
|
2646
2404
|
props?.renderItem(item)
|
|
2647
2405
|
));
|
|
@@ -2651,11 +2409,49 @@ const SwipableList = (props) => {
|
|
|
2651
2409
|
data,
|
|
2652
2410
|
renderItem,
|
|
2653
2411
|
keyExtractor: (item) => item.id,
|
|
2654
|
-
ItemSeparatorComponent: () => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$
|
|
2412
|
+
ItemSeparatorComponent: () => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$j.seprator })
|
|
2655
2413
|
}
|
|
2656
2414
|
));
|
|
2657
2415
|
};
|
|
2658
2416
|
|
|
2417
|
+
const styles$i = reactNative.StyleSheet.create({
|
|
2418
|
+
container: {
|
|
2419
|
+
justifyContent: "center",
|
|
2420
|
+
alignItems: "center"
|
|
2421
|
+
},
|
|
2422
|
+
title: {
|
|
2423
|
+
color: "#000"
|
|
2424
|
+
}
|
|
2425
|
+
});
|
|
2426
|
+
|
|
2427
|
+
const CustomIcon = ({
|
|
2428
|
+
icon,
|
|
2429
|
+
title,
|
|
2430
|
+
titleVariant = "L1_REGULAR",
|
|
2431
|
+
testId = "CUSTOM-ICON",
|
|
2432
|
+
onPress,
|
|
2433
|
+
containerStyle,
|
|
2434
|
+
titleStyle
|
|
2435
|
+
}) => {
|
|
2436
|
+
return /* @__PURE__ */ React__default["default"].createElement(
|
|
2437
|
+
reactNative.Pressable,
|
|
2438
|
+
{
|
|
2439
|
+
style: [styles$i.container, containerStyle],
|
|
2440
|
+
onPress,
|
|
2441
|
+
testID: testId
|
|
2442
|
+
},
|
|
2443
|
+
icon,
|
|
2444
|
+
title && /* @__PURE__ */ React__default["default"].createElement(
|
|
2445
|
+
CustomTypography,
|
|
2446
|
+
{
|
|
2447
|
+
variant: titleVariant,
|
|
2448
|
+
text: title,
|
|
2449
|
+
style: [styles$i.title, titleStyle]
|
|
2450
|
+
}
|
|
2451
|
+
)
|
|
2452
|
+
);
|
|
2453
|
+
};
|
|
2454
|
+
|
|
2659
2455
|
const styles$h = reactNative.StyleSheet.create({
|
|
2660
2456
|
container: {
|
|
2661
2457
|
flex: 1,
|
|
@@ -3112,9 +2908,9 @@ const NotificationBandge = ({
|
|
|
3112
2908
|
notificationCount = 0
|
|
3113
2909
|
}) => {
|
|
3114
2910
|
if (notificationCount <= 0) {
|
|
3115
|
-
return
|
|
2911
|
+
return null;
|
|
3116
2912
|
}
|
|
3117
|
-
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$b.iconContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
2913
|
+
return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$b.iconContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$b.badge }, /* @__PURE__ */ React__default["default"].createElement(reactNative.Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
|
|
3118
2914
|
};
|
|
3119
2915
|
|
|
3120
2916
|
const ScrollableList = ({
|
|
@@ -3702,8 +3498,13 @@ const CustomSwitchBtn = ({
|
|
|
3702
3498
|
);
|
|
3703
3499
|
};
|
|
3704
3500
|
|
|
3501
|
+
var __defProp = Object.defineProperty;
|
|
3502
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3503
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3705
3504
|
class ToastService {
|
|
3706
|
-
|
|
3505
|
+
constructor() {
|
|
3506
|
+
__publicField(this, "toastRef", null);
|
|
3507
|
+
}
|
|
3707
3508
|
setRef(ref) {
|
|
3708
3509
|
this.toastRef = ref;
|
|
3709
3510
|
}
|
|
@@ -3869,7 +3670,7 @@ const CustomDocumentPicker = ({
|
|
|
3869
3670
|
}
|
|
3870
3671
|
}
|
|
3871
3672
|
}, [fileTypes, maxFileSize, onDocumentUpload]);
|
|
3872
|
-
|
|
3673
|
+
React.useCallback(() => {
|
|
3873
3674
|
setDocDetails(void 0);
|
|
3874
3675
|
}, []);
|
|
3875
3676
|
return /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(
|
|
@@ -3882,7 +3683,7 @@ const CustomDocumentPicker = ({
|
|
|
3882
3683
|
containerStyle
|
|
3883
3684
|
]
|
|
3884
3685
|
},
|
|
3885
|
-
/* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { style: styles$3.innerContainer, onPress: pickDocument },
|
|
3686
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$3.titleContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
3886
3687
|
CustomTypography,
|
|
3887
3688
|
{
|
|
3888
3689
|
variant: FontStyle.L2_REGULAR,
|
|
@@ -3896,8 +3697,7 @@ const CustomDocumentPicker = ({
|
|
|
3896
3697
|
text: hint,
|
|
3897
3698
|
style: [{ color: theme.CONTENT_SECONDRY }, hintStyle]
|
|
3898
3699
|
}
|
|
3899
|
-
)))
|
|
3900
|
-
docDetails && /* @__PURE__ */ React__default["default"].createElement(SvgTrash, { onPress: removeDocument })
|
|
3700
|
+
)))
|
|
3901
3701
|
), error && /* @__PURE__ */ React__default["default"].createElement(
|
|
3902
3702
|
CustomTypography,
|
|
3903
3703
|
{
|
|
@@ -4194,7 +3994,7 @@ const Stepper = ({
|
|
|
4194
3994
|
color: theme.CONTENT_PRIMARY
|
|
4195
3995
|
}
|
|
4196
3996
|
}
|
|
4197
|
-
)
|
|
3997
|
+
)), index != data?.length - 1 && /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: { ...styles$1.separator, ...dividerStyle } })),
|
|
4198
3998
|
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$1.lableContainer }, /* @__PURE__ */ React__default["default"].createElement(
|
|
4199
3999
|
CustomTypography,
|
|
4200
4000
|
{
|
|
@@ -4308,8 +4108,7 @@ const CustomSlideButton = ({ label, onComplete }) => {
|
|
|
4308
4108
|
backgroundColor: theme.SURFACE_PRIMARY,
|
|
4309
4109
|
width: BUTTON_WIDTH
|
|
4310
4110
|
}
|
|
4311
|
-
}
|
|
4312
|
-
/* @__PURE__ */ React__default["default"].createElement(SvgCaretRight, null)
|
|
4111
|
+
}
|
|
4313
4112
|
)
|
|
4314
4113
|
)
|
|
4315
4114
|
);
|