dhre-ui-kit 0.0.109 → 0.0.111

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.mjs CHANGED
@@ -1,5 +1,4 @@
1
- import * as React from 'react';
2
- import React__default, { createContext, useContext, useState, useEffect, useRef, memo, useCallback } from 'react';
1
+ import React, { createContext, useContext, useState, useEffect, useRef, memo, useCallback } from 'react';
3
2
  import { useSelector } from 'react-redux';
4
3
  import { Dimensions, Text, StyleSheet, Pressable, View, Modal, KeyboardAvoidingView, Platform, TextInput, ScrollView, Animated, FlatList, ActivityIndicator, TouchableOpacity, Alert, Linking, PanResponder } from 'react-native';
5
4
  import { PanGestureHandler, GestureHandlerRootView, Swipeable } from 'react-native-gesture-handler';
@@ -250,7 +249,7 @@ const ThemeProvider = ({ children }) => {
250
249
  acc[key] = theme[key][mode];
251
250
  return acc;
252
251
  }, {});
253
- return /* @__PURE__ */ React__default.createElement(ThemeContext.Provider, { value: { theme: filteredTheme } }, children);
252
+ return /* @__PURE__ */ React.createElement(ThemeContext.Provider, { value: { theme: filteredTheme } }, children);
254
253
  };
255
254
  const useTheme = () => {
256
255
  const context = useContext(ThemeContext);
@@ -261,7 +260,7 @@ const useTheme = () => {
261
260
  };
262
261
 
263
262
  const withThemeProvider = (Component) => {
264
- return (props) => /* @__PURE__ */ React__default.createElement(ThemeProvider, null, /* @__PURE__ */ React__default.createElement(Component, { ...props }));
263
+ return (props) => /* @__PURE__ */ React.createElement(ThemeProvider, null, /* @__PURE__ */ React.createElement(Component, { ...props }));
265
264
  };
266
265
 
267
266
  const { width: width$1, height } = Dimensions.get("window");
@@ -325,7 +324,7 @@ const CustomTypography = ({
325
324
  ...props
326
325
  }) => {
327
326
  const textStyle = FONT_STYLES[variant];
328
- return /* @__PURE__ */ React__default.createElement(Text, { testID, style: [textStyle, style], ...props }, text);
327
+ return /* @__PURE__ */ React.createElement(Text, { testID, style: [textStyle, style], ...props }, text);
329
328
  };
330
329
 
331
330
  const CustomText = ({
@@ -336,7 +335,7 @@ const CustomText = ({
336
335
  ...props
337
336
  }) => {
338
337
  const { theme } = useTheme();
339
- return /* @__PURE__ */ React__default.createElement(
338
+ return /* @__PURE__ */ React.createElement(
340
339
  CustomTypography,
341
340
  {
342
341
  variant,
@@ -559,15 +558,15 @@ const Badge = ({
559
558
  iconStyle,
560
559
  handleIconPress
561
560
  }) => {
562
- return /* @__PURE__ */ React__default.createElement(
561
+ return /* @__PURE__ */ React.createElement(
563
562
  Pressable,
564
563
  {
565
564
  style: [styles$C.badge, commonStyles.centerRow, style],
566
565
  testID: "BADGE",
567
566
  onPress: handleIconPress
568
567
  },
569
- iconName && /* @__PURE__ */ React__default.createElement(View, { style: [styles$C.icon, iconStyle] }, React__default.cloneElement(iconName)),
570
- text && /* @__PURE__ */ React__default.createElement(
568
+ iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$C.icon, iconStyle] }, React.cloneElement(iconName)),
569
+ text && /* @__PURE__ */ React.createElement(
571
570
  CustomTypography,
572
571
  {
573
572
  variant: "B3semiBold",
@@ -618,71 +617,71 @@ const styles$B = StyleSheet.create({
618
617
  rightIconStyle: { marginLeft: 8 }
619
618
  });
620
619
 
621
- var _path$3;
622
620
  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); }
623
- var SvgCrossIcon = function SvgCrossIcon(props) {
624
- return /*#__PURE__*/React.createElement("svg", _extends$3({
625
- xmlns: "http://www.w3.org/2000/svg",
626
- width: 24,
627
- height: 25,
628
- fill: "none"
629
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
630
- fill: "#fff",
631
- 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"
632
- })));
633
- };
621
+ var CrossIcon = ({
622
+ styles = {},
623
+ ...props
624
+ }) => /*#__PURE__*/React.createElement("svg", _extends$3({
625
+ width: "24",
626
+ height: "25",
627
+ fill: "none",
628
+ xmlns: "http://www.w3.org/2000/svg"
629
+ }, props), /*#__PURE__*/React.createElement("path", {
630
+ d: "M17.657 8.032a.686.686 0 00-.97-.97L12 11.749 7.313 7.062a.686.686 0 10-.97.97l4.687 4.687-4.687 4.687a.686.686 0 10.97.97L12 13.688l4.687 4.688a.686.686 0 10.97-.97l-4.687-4.687 4.687-4.687z",
631
+ fill: "#fff"
632
+ }));
634
633
 
635
- var _path$2;
636
634
  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); }
637
- var SvgCaretLeft = function SvgCaretLeft(props) {
638
- return /*#__PURE__*/React.createElement("svg", _extends$2({
639
- xmlns: "http://www.w3.org/2000/svg",
640
- width: 24,
641
- height: 24,
642
- fill: "none"
643
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
644
- stroke: "#fff",
645
- strokeLinecap: "round",
646
- strokeLinejoin: "round",
647
- strokeWidth: 1.5,
648
- d: "M15 19.5 7.5 12 15 4.5"
649
- })));
650
- };
635
+ var CaretLeft = ({
636
+ styles = {},
637
+ ...props
638
+ }) => /*#__PURE__*/React.createElement("svg", _extends$2({
639
+ width: "24",
640
+ height: "24",
641
+ fill: "none",
642
+ xmlns: "http://www.w3.org/2000/svg"
643
+ }, props), /*#__PURE__*/React.createElement("path", {
644
+ d: "M15 19.5L7.5 12 15 4.5",
645
+ stroke: "#fff",
646
+ strokeWidth: "1.5",
647
+ strokeLinecap: "round",
648
+ strokeLinejoin: "round"
649
+ }));
651
650
 
652
- var _path$1, _path2;
653
651
  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); }
654
- var SvgDotsThreeVertical = function SvgDotsThreeVertical(props) {
655
- return /*#__PURE__*/React.createElement("svg", _extends$1({
656
- xmlns: "http://www.w3.org/2000/svg",
657
- width: 24,
658
- height: 24,
659
- fill: "none"
660
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
661
- fill: "#fff",
662
- stroke: "#fff",
663
- strokeWidth: 0.125,
664
- 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"
665
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
666
- fill: "#fff",
667
- d: "M12 19.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"
668
- })));
669
- };
652
+ var HeaderIcon = ({
653
+ styles = {},
654
+ ...props
655
+ }) => /*#__PURE__*/React.createElement("svg", _extends$1({
656
+ width: "24",
657
+ height: "24",
658
+ fill: "none",
659
+ xmlns: "http://www.w3.org/2000/svg"
660
+ }, props), /*#__PURE__*/React.createElement("path", {
661
+ d: "M13.438 6a1.438 1.438 0 11-2.876 0 1.438 1.438 0 012.876 0zM13.438 12a1.438 1.438 0 11-2.876 0 1.438 1.438 0 012.876 0z",
662
+ fill: "#fff",
663
+ stroke: "#fff",
664
+ strokeWidth: ".125"
665
+ }), /*#__PURE__*/React.createElement("path", {
666
+ d: "M12 19.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",
667
+ fill: "#fff"
668
+ }));
670
669
 
671
- var _path;
672
670
  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); }
673
- var SvgArrowLeft = function SvgArrowLeft(props) {
674
- return /*#__PURE__*/React.createElement("svg", _extends({
675
- xmlns: "http://www.w3.org/2000/svg",
676
- width: 24,
677
- height: 24,
678
- fill: "none"
679
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
680
- fill: "#fff",
681
- fillRule: "evenodd",
682
- 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",
683
- clipRule: "evenodd"
684
- })));
685
- };
671
+ var ArrowLeft = ({
672
+ styles = {},
673
+ ...props
674
+ }) => /*#__PURE__*/React.createElement("svg", _extends({
675
+ width: "24",
676
+ height: "24",
677
+ fill: "none",
678
+ xmlns: "http://www.w3.org/2000/svg"
679
+ }, props), /*#__PURE__*/React.createElement("path", {
680
+ fillRule: "evenodd",
681
+ clipRule: "evenodd",
682
+ d: "M15.6 4.186a.774.774 0 01.085 1.092L9.923 12l5.762 6.722a.774.774 0 01-1.176 1.008l-6.194-7.226a.774.774 0 010-1.008L14.51 4.27a.774.774 0 011.092-.084z",
683
+ fill: "#fff"
684
+ }));
686
685
 
687
686
  const BottomDrawer = ({
688
687
  isModalVisible,
@@ -697,8 +696,8 @@ const BottomDrawer = ({
697
696
  showBlurView = true,
698
697
  showLeftIcon = false,
699
698
  showRightIcon = true,
700
- leftIcon = /* @__PURE__ */ React__default.createElement(SvgArrowLeft, null),
701
- rightIcon = /* @__PURE__ */ React__default.createElement(SvgCrossIcon, null),
699
+ leftIcon = /* @__PURE__ */ React.createElement(ArrowLeft, null),
700
+ rightIcon = /* @__PURE__ */ React.createElement(CrossIcon, null),
702
701
  onLeftIconPress,
703
702
  titleStyle,
704
703
  titleVariant = "B2_REGULAR",
@@ -710,7 +709,7 @@ const BottomDrawer = ({
710
709
  toggleModal();
711
710
  }
712
711
  };
713
- return /* @__PURE__ */ React__default.createElement(
712
+ return /* @__PURE__ */ React.createElement(
714
713
  Modal,
715
714
  {
716
715
  animationType: "slide",
@@ -718,20 +717,20 @@ const BottomDrawer = ({
718
717
  visible: isModalVisible,
719
718
  onRequestClose: toggleModal
720
719
  },
721
- /* @__PURE__ */ React__default.createElement(PanGestureHandler, { onGestureEvent: onSwipDown }, /* @__PURE__ */ React__default.createElement(
720
+ /* @__PURE__ */ React.createElement(PanGestureHandler, { onGestureEvent: onSwipDown }, /* @__PURE__ */ React.createElement(
722
721
  KeyboardAvoidingView,
723
722
  {
724
723
  behavior: Platform.OS === "ios" ? "padding" : "height",
725
724
  style: { flex: 1 }
726
725
  },
727
- /* @__PURE__ */ React__default.createElement(View, { style: [styles$B.mainContainer, style], testID }, showBlurView ? /* @__PURE__ */ React__default.createElement(
726
+ /* @__PURE__ */ React.createElement(View, { style: [styles$B.mainContainer, style], testID }, showBlurView ? /* @__PURE__ */ React.createElement(
728
727
  BlurView,
729
728
  {
730
729
  style: [styles$B.blurView, blurViewStyle],
731
730
  blurType: "light",
732
731
  blurAmount
733
732
  }
734
- ) : null, /* @__PURE__ */ React__default.createElement(View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(View, { style: styles$B.separator }), /* @__PURE__ */ React__default.createElement(View, { style: styles$B.headerContainer }, /* @__PURE__ */ React__default.createElement(
733
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: [styles$B.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$B.separator }), /* @__PURE__ */ React.createElement(View, { style: styles$B.headerContainer }, /* @__PURE__ */ React.createElement(
735
734
  CustomTypography,
736
735
  {
737
736
  variant: titleVariant,
@@ -760,7 +759,7 @@ const CustomButton = ({
760
759
  disableButtonTitleColor
761
760
  }) => {
762
761
  const { theme } = useTheme();
763
- return /* @__PURE__ */ React__default.createElement(
762
+ return /* @__PURE__ */ React.createElement(
764
763
  Pressable,
765
764
  {
766
765
  testID,
@@ -774,8 +773,8 @@ const CustomButton = ({
774
773
  onPress,
775
774
  disabled
776
775
  },
777
- imagePosition === "left" && leftIcon && /* @__PURE__ */ React__default.createElement(View, { style: iconStyle }, React__default.cloneElement(leftIcon, { width: 20, height: 20 })),
778
- /* @__PURE__ */ React__default.createElement(
776
+ imagePosition === "left" && leftIcon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(leftIcon, { width: 20, height: 20 })),
777
+ /* @__PURE__ */ React.createElement(
779
778
  CustomText$1,
780
779
  {
781
780
  text: title,
@@ -789,7 +788,7 @@ const CustomButton = ({
789
788
  textColor: titleColor
790
789
  }
791
790
  ),
792
- imagePosition === "right" && rightIcon && /* @__PURE__ */ React__default.createElement(View, { style: iconStyle }, React__default.cloneElement(rightIcon, { width: 20, height: 20 }))
791
+ imagePosition === "right" && rightIcon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(rightIcon, { width: 20, height: 20 }))
793
792
  );
794
793
  };
795
794
  const styles$A = StyleSheet.create({
@@ -869,42 +868,42 @@ const Cards = ({
869
868
  testID,
870
869
  onButtonPress
871
870
  }) => {
872
- return /* @__PURE__ */ React__default.createElement(View, { testID, style: styles$z.container }, topLeftTitle ? /* @__PURE__ */ React__default.createElement(View, { style: styles$z.topLeft }, /* @__PURE__ */ React__default.createElement(
871
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$z.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$z.topLeft }, /* @__PURE__ */ React.createElement(
873
872
  CustomTypography,
874
873
  {
875
874
  variant: "P2regular",
876
875
  style: styles$z.title,
877
876
  text: topLeftTitle
878
877
  }
879
- )) : null, title ? /* @__PURE__ */ React__default.createElement(
878
+ )) : null, title ? /* @__PURE__ */ React.createElement(
880
879
  CustomTypography,
881
880
  {
882
881
  variant: "H6bold",
883
882
  style: styles$z.subTitleBelow,
884
883
  text: title
885
884
  }
886
- ) : null, subtitle ? /* @__PURE__ */ React__default.createElement(
885
+ ) : null, subtitle ? /* @__PURE__ */ React.createElement(
887
886
  CustomTypography,
888
887
  {
889
888
  variant: "P3regular",
890
889
  style: styles$z.subtitle,
891
890
  text: subtitle
892
891
  }
893
- ) : null, /* @__PURE__ */ React__default.createElement(View, { style: styles$z.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React__default.createElement(
892
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$z.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
894
893
  CustomTypography,
895
894
  {
896
895
  variant: "P3regular",
897
896
  style: styles$z.subTitleLeftBelow,
898
897
  text: iconTitle
899
898
  }
900
- ) : null), buttonShown ? /* @__PURE__ */ React__default.createElement(
899
+ ) : null), buttonShown ? /* @__PURE__ */ React.createElement(
901
900
  Pressable,
902
901
  {
903
902
  testID: "Button-Press",
904
903
  style: styles$z.button,
905
904
  onPress: onButtonPress
906
905
  },
907
- /* @__PURE__ */ React__default.createElement(
906
+ /* @__PURE__ */ React.createElement(
908
907
  CustomTypography,
909
908
  {
910
909
  variant: "B2semiBold",
@@ -965,7 +964,7 @@ const Checkbox = ({
965
964
  setChecked(!checked);
966
965
  onCheck && onCheck(!checked);
967
966
  };
968
- return /* @__PURE__ */ React__default.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React__default.createElement(
967
+ return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(
969
968
  Pressable,
970
969
  {
971
970
  testID: "Checkbox-Press",
@@ -973,8 +972,8 @@ const Checkbox = ({
973
972
  disabled: disable,
974
973
  style: styles$y.directionStyle
975
974
  },
976
- /* @__PURE__ */ React__default.createElement(View, { style: styles$y.checkboxContainer }, React__default.cloneElement(checked ? checkedIcon : uncheckedIcon)),
977
- /* @__PURE__ */ React__default.createElement(
975
+ /* @__PURE__ */ React.createElement(View, { style: styles$y.checkboxContainer }, React.cloneElement(checked ? checkedIcon : uncheckedIcon)),
976
+ /* @__PURE__ */ React.createElement(
978
977
  CustomTypography,
979
978
  {
980
979
  variant: titleVariant,
@@ -1035,26 +1034,26 @@ const CustomDropdown$1 = ({
1035
1034
  downArrowIcon
1036
1035
  }) => {
1037
1036
  const [showOptions, setShowOptions] = useState(false);
1038
- return /* @__PURE__ */ React__default.createElement(View, { testID: testId }, /* @__PURE__ */ React__default.createElement(
1037
+ return /* @__PURE__ */ React.createElement(View, { testID: testId }, /* @__PURE__ */ React.createElement(
1039
1038
  CustomTypography,
1040
1039
  {
1041
1040
  variant: "P3regular",
1042
1041
  style: styles$x.labelStyle,
1043
1042
  text: label
1044
1043
  }
1045
- ), /* @__PURE__ */ React__default.createElement(
1044
+ ), /* @__PURE__ */ React.createElement(
1046
1045
  Pressable,
1047
1046
  {
1048
1047
  testID: `${testId}-BTN`,
1049
1048
  style: styles$x.dropDownStyle,
1050
1049
  onPress: () => setShowOptions(!showOptions)
1051
1050
  },
1052
- iconName && /* @__PURE__ */ React__default.createElement(View, { style: iconStyle }, React__default.cloneElement(iconName, {
1051
+ iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
1053
1052
  width: moderateScale(24),
1054
1053
  height: moderateScale(24),
1055
1054
  style: styles$x.iconStyle
1056
1055
  })),
1057
- /* @__PURE__ */ React__default.createElement(
1056
+ /* @__PURE__ */ React.createElement(
1058
1057
  CustomTypography,
1059
1058
  {
1060
1059
  variant: "P3regular",
@@ -1062,14 +1061,14 @@ const CustomDropdown$1 = ({
1062
1061
  text: selectedValue ? selectedValue.label : placeholder
1063
1062
  }
1064
1063
  ),
1065
- /* @__PURE__ */ React__default.createElement(View, null, showOptions ? React__default.cloneElement(upArrowIcon, {
1064
+ /* @__PURE__ */ React.createElement(View, null, showOptions ? React.cloneElement(upArrowIcon, {
1066
1065
  width: moderateScale(24),
1067
1066
  height: moderateScale(24)
1068
- }) : React__default.cloneElement(downArrowIcon, {
1067
+ }) : React.cloneElement(downArrowIcon, {
1069
1068
  width: moderateScale(24),
1070
1069
  height: moderateScale(24)
1071
1070
  }))
1072
- ), showOptions && /* @__PURE__ */ React__default.createElement(View, { style: styles$x.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React__default.createElement(
1071
+ ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$x.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
1073
1072
  Pressable,
1074
1073
  {
1075
1074
  key: id,
@@ -1085,12 +1084,12 @@ const CustomDropdown$1 = ({
1085
1084
  }
1086
1085
  ]
1087
1086
  },
1088
- iconName && /* @__PURE__ */ React__default.createElement(View, { style: iconStyle }, React__default.cloneElement(iconName, {
1087
+ iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
1089
1088
  width: moderateScale(24),
1090
1089
  height: moderateScale(24),
1091
1090
  style: styles$x.iconStyle
1092
1091
  })),
1093
- /* @__PURE__ */ React__default.createElement(
1092
+ /* @__PURE__ */ React.createElement(
1094
1093
  CustomTypography,
1095
1094
  {
1096
1095
  variant: "P3regular",
@@ -1181,14 +1180,14 @@ const CustomTextInput = ({
1181
1180
  };
1182
1181
  const handleIconPress1 = () => setValue("");
1183
1182
  const handleIconPress2 = () => setIsSecureTextEntry(!isSecureTextEntry);
1184
- return /* @__PURE__ */ React__default.createElement(View, { testID }, /* @__PURE__ */ React__default.createElement(
1183
+ return /* @__PURE__ */ React.createElement(View, { testID }, /* @__PURE__ */ React.createElement(
1185
1184
  CustomTypography,
1186
1185
  {
1187
1186
  variant: "P3medium",
1188
1187
  style: [styles$w.labelStyle, disabled && styles$w.disableTextStyle],
1189
1188
  text: label
1190
1189
  }
1191
- ), /* @__PURE__ */ React__default.createElement(
1190
+ ), /* @__PURE__ */ React.createElement(
1192
1191
  View,
1193
1192
  {
1194
1193
  style: [
@@ -1203,12 +1202,12 @@ const CustomTextInput = ({
1203
1202
  }
1204
1203
  ]
1205
1204
  },
1206
- isSearchBar && searchIcon && React__default.cloneElement(searchIcon, {
1205
+ isSearchBar && searchIcon && React.cloneElement(searchIcon, {
1207
1206
  width: moderateScale(24),
1208
1207
  height: moderateScale(24),
1209
1208
  style: styles$w.searchIconStyle
1210
1209
  }),
1211
- /* @__PURE__ */ React__default.createElement(
1210
+ /* @__PURE__ */ React.createElement(
1212
1211
  TextInput,
1213
1212
  {
1214
1213
  ...props,
@@ -1225,15 +1224,15 @@ const CustomTextInput = ({
1225
1224
  secureTextEntry: isSecureTextEntry
1226
1225
  }
1227
1226
  ),
1228
- value && !multiline && rightIcon1 && React__default.cloneElement(rightIcon1, {
1227
+ value && !multiline && rightIcon1 && React.cloneElement(rightIcon1, {
1229
1228
  onPress: handleIconPress1,
1230
1229
  testID: "icon1"
1231
1230
  }),
1232
- secureTextEntry && rightIcon2 && React__default.cloneElement(rightIcon2, {
1231
+ secureTextEntry && rightIcon2 && React.cloneElement(rightIcon2, {
1233
1232
  onPress: handleIconPress2,
1234
1233
  testID: "icon2"
1235
1234
  })
1236
- ), (error || successMessage) && /* @__PURE__ */ React__default.createElement(
1235
+ ), (error || successMessage) && /* @__PURE__ */ React.createElement(
1237
1236
  CustomTypography,
1238
1237
  {
1239
1238
  numberOfLines: 2,
@@ -1276,15 +1275,15 @@ const CustomTooltip = ({
1276
1275
  iconStyle,
1277
1276
  iconColor = DHRE_COLORS_TEXT.DH_BLACK
1278
1277
  }) => {
1279
- const defaultPopoverContent = /* @__PURE__ */ React__default.createElement(View, { style: styles$v.mesageContainer, testID: testId }, /* @__PURE__ */ React__default.createElement(
1278
+ const defaultPopoverContent = /* @__PURE__ */ React.createElement(View, { style: styles$v.mesageContainer, testID: testId }, /* @__PURE__ */ React.createElement(
1280
1279
  CustomTypography,
1281
1280
  {
1282
1281
  variant: "P4regular",
1283
1282
  style: styles$v.messageStyle,
1284
1283
  text: message
1285
1284
  }
1286
- ), icon && /* @__PURE__ */ React__default.createElement(View, { style: iconStyle }, React__default.cloneElement(icon, { fill: iconColor })));
1287
- return /* @__PURE__ */ React__default.createElement(
1285
+ ), icon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(icon, { fill: iconColor })));
1286
+ return /* @__PURE__ */ React.createElement(
1288
1287
  Tooltip,
1289
1288
  {
1290
1289
  containerStyle: styles$v.tooltipContainerStyle,
@@ -1343,27 +1342,27 @@ const FileUpload = ({
1343
1342
  icon,
1344
1343
  iconStyle
1345
1344
  }) => {
1346
- return /* @__PURE__ */ React__default.createElement(
1345
+ return /* @__PURE__ */ React.createElement(
1347
1346
  View,
1348
1347
  {
1349
1348
  style: [styles$u.container, containerStyle],
1350
1349
  testID: "file-upload-container"
1351
1350
  },
1352
- /* @__PURE__ */ React__default.createElement(View, { style: styles$u.content }, /* @__PURE__ */ React__default.createElement(View, { style: [uploadImageStyling], testID: "file-upload-image" }, icon && React__default.cloneElement(icon, { style: [iconStyle] })), /* @__PURE__ */ React__default.createElement(CustomTypography, { variant: "H8bold", style: styles$u.title, text: title }), /* @__PURE__ */ React__default.createElement(
1351
+ /* @__PURE__ */ React.createElement(View, { style: styles$u.content }, /* @__PURE__ */ React.createElement(View, { style: [uploadImageStyling], testID: "file-upload-image" }, icon && React.cloneElement(icon, { style: [iconStyle] })), /* @__PURE__ */ React.createElement(CustomTypography, { variant: "H8bold", style: styles$u.title, text: title }), /* @__PURE__ */ React.createElement(
1353
1352
  CustomTypography,
1354
1353
  {
1355
1354
  variant: "P4regular",
1356
1355
  style: styles$u.description,
1357
1356
  text: `Drop files directly here or `
1358
1357
  }
1359
- ), /* @__PURE__ */ React__default.createElement(
1358
+ ), /* @__PURE__ */ React.createElement(
1360
1359
  CustomTypography,
1361
1360
  {
1362
1361
  variant: "P4regular",
1363
1362
  style: styles$u.browse,
1364
1363
  text: btnText
1365
1364
  }
1366
- ), /* @__PURE__ */ React__default.createElement(
1365
+ ), /* @__PURE__ */ React.createElement(
1367
1366
  CustomTypography,
1368
1367
  {
1369
1368
  testID: "file-upload-description",
@@ -1372,14 +1371,14 @@ const FileUpload = ({
1372
1371
  text: ` from your device`
1373
1372
  }
1374
1373
  )),
1375
- /* @__PURE__ */ React__default.createElement(
1374
+ /* @__PURE__ */ React.createElement(
1376
1375
  Pressable,
1377
1376
  {
1378
1377
  style: styles$u.button,
1379
1378
  onPress: onUpload,
1380
1379
  testID: "file-upload-button"
1381
1380
  },
1382
- /* @__PURE__ */ React__default.createElement(
1381
+ /* @__PURE__ */ React.createElement(
1383
1382
  CustomTypography,
1384
1383
  {
1385
1384
  variant: "B2semiBold",
@@ -1392,7 +1391,7 @@ const FileUpload = ({
1392
1391
  };
1393
1392
 
1394
1393
  const PdfView = (props) => {
1395
- return /* @__PURE__ */ React__default.createElement(Pdf, { ...props });
1394
+ return /* @__PURE__ */ React.createElement(Pdf, { ...props });
1396
1395
  };
1397
1396
 
1398
1397
  const styles$t = StyleSheet.create({
@@ -1451,28 +1450,28 @@ const PopUp = ({
1451
1450
  leftButtonShown = false,
1452
1451
  rightButtonShown = false
1453
1452
  }) => {
1454
- return /* @__PURE__ */ React__default.createElement(View, { testID, style: styles$t.container }, title ? /* @__PURE__ */ React__default.createElement(
1453
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$t.container }, title ? /* @__PURE__ */ React.createElement(
1455
1454
  CustomTypography,
1456
1455
  {
1457
1456
  style: styles$t.subTitleBelow,
1458
1457
  variant: "H6semiBold",
1459
1458
  text: title
1460
1459
  }
1461
- ) : null, subtitle ? /* @__PURE__ */ React__default.createElement(
1460
+ ) : null, subtitle ? /* @__PURE__ */ React.createElement(
1462
1461
  CustomTypography,
1463
1462
  {
1464
1463
  style: styles$t.subtitle,
1465
1464
  variant: "P3regular",
1466
1465
  text: subtitle
1467
1466
  }
1468
- ) : null, /* @__PURE__ */ React__default.createElement(View, { style: styles$t.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React__default.createElement(
1467
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$t.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
1469
1468
  Pressable,
1470
1469
  {
1471
1470
  testID: "Left-Button-Press",
1472
1471
  style: styles$t.buttonLeft,
1473
1472
  onPress: onButtonPress
1474
1473
  },
1475
- /* @__PURE__ */ React__default.createElement(
1474
+ /* @__PURE__ */ React.createElement(
1476
1475
  CustomTypography,
1477
1476
  {
1478
1477
  style: styles$t.buttonLeftText,
@@ -1480,7 +1479,7 @@ const PopUp = ({
1480
1479
  text: buttonText
1481
1480
  }
1482
1481
  )
1483
- ) : null, rightButtonShown ? /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$t.button, onPress: onButtonPress }, /* @__PURE__ */ React__default.createElement(
1482
+ ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$t.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
1484
1483
  CustomTypography,
1485
1484
  {
1486
1485
  style: styles$t.buttonText,
@@ -1521,7 +1520,7 @@ const CustomProgressBar = ({
1521
1520
  return () => clearInterval(progressInterval);
1522
1521
  }, [progress, value, increment, interval]);
1523
1522
  const showPercentage = () => {
1524
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$s.flexDirection }, /* @__PURE__ */ React__default.createElement(
1523
+ return /* @__PURE__ */ React.createElement(View, { style: styles$s.flexDirection }, /* @__PURE__ */ React.createElement(
1525
1524
  CustomText$1,
1526
1525
  {
1527
1526
  text: `${value}%`,
@@ -1529,7 +1528,7 @@ const CustomProgressBar = ({
1529
1528
  textColor: "CONTENT_PRIMARY",
1530
1529
  style: valueTextStyle
1531
1530
  }
1532
- ), percentageText ? /* @__PURE__ */ React__default.createElement(
1531
+ ), percentageText ? /* @__PURE__ */ React.createElement(
1533
1532
  CustomText$1,
1534
1533
  {
1535
1534
  text: percentageText,
@@ -1541,7 +1540,7 @@ const CustomProgressBar = ({
1541
1540
  const renderProgressBar = () => {
1542
1541
  switch (type) {
1543
1542
  case ShapeType.LINE:
1544
- return /* @__PURE__ */ React__default.createElement(
1543
+ return /* @__PURE__ */ React.createElement(
1545
1544
  Progress.Bar,
1546
1545
  {
1547
1546
  progress: progress / 100,
@@ -1555,7 +1554,7 @@ const CustomProgressBar = ({
1555
1554
  }
1556
1555
  );
1557
1556
  case ShapeType.CIRCLE:
1558
- return /* @__PURE__ */ React__default.createElement(
1557
+ return /* @__PURE__ */ React.createElement(
1559
1558
  Progress.Circle,
1560
1559
  {
1561
1560
  progress: progress / 100,
@@ -1573,7 +1572,7 @@ const CustomProgressBar = ({
1573
1572
  return null;
1574
1573
  }
1575
1574
  };
1576
- return /* @__PURE__ */ React__default.createElement(View, { testID: "custom-progress-bar" }, renderProgressBar());
1575
+ return /* @__PURE__ */ React.createElement(View, { testID: "custom-progress-bar" }, renderProgressBar());
1577
1576
  };
1578
1577
  const styles$s = StyleSheet.create({
1579
1578
  flexDirection: {
@@ -1606,19 +1605,19 @@ const splitRating = (rating) => {
1606
1605
  const drawStar = (starIndex, ratingArray, size, fullStarIcon, halfStarIcon, fullStarColor, emptyStarColor) => {
1607
1606
  const [fullStars, decimalPart] = ratingArray;
1608
1607
  if (starIndex <= fullStars) {
1609
- return React__default.cloneElement(fullStarIcon, {
1608
+ return React.cloneElement(fullStarIcon, {
1610
1609
  style: { height: size, width: size },
1611
1610
  fill: fullStarColor,
1612
1611
  testID: `star-${starIndex}`
1613
1612
  });
1614
1613
  } else if (starIndex === fullStars + 1 && decimalPart >= 0.5) {
1615
- return React__default.cloneElement(halfStarIcon, {
1614
+ return React.cloneElement(halfStarIcon, {
1616
1615
  style: { height: size, width: size },
1617
1616
  fill: fullStarColor,
1618
1617
  testID: `star-${starIndex}`
1619
1618
  });
1620
1619
  } else {
1621
- return React__default.cloneElement(fullStarIcon, {
1620
+ return React.cloneElement(fullStarIcon, {
1622
1621
  style: { height: size, width: size },
1623
1622
  fill: emptyStarColor,
1624
1623
  testID: `star-${starIndex}`
@@ -1649,10 +1648,10 @@ const Star = ({
1649
1648
  emptyStarColor
1650
1649
  );
1651
1650
  stars.push(
1652
- /* @__PURE__ */ React__default.createElement(View, { key: i, style: [styles$r.star, starStyle] }, starType)
1651
+ /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$r.star, starStyle] }, starType)
1653
1652
  );
1654
1653
  }
1655
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$r.container, testID: "star" }, stars);
1654
+ return /* @__PURE__ */ React.createElement(View, { style: styles$r.container, testID: "star" }, stars);
1656
1655
  };
1657
1656
 
1658
1657
  var styles$q = StyleSheet.create({
@@ -1697,7 +1696,7 @@ const Tabs = ({
1697
1696
  onSelectionChange(selectedTabs);
1698
1697
  }
1699
1698
  };
1700
- return /* @__PURE__ */ React__default.createElement(View, { style: [styles$q.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React__default.createElement(
1699
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$q.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
1701
1700
  Pressable,
1702
1701
  {
1703
1702
  key: id,
@@ -1708,7 +1707,7 @@ const Tabs = ({
1708
1707
  },
1709
1708
  onPress: () => handlePress(id)
1710
1709
  },
1711
- /* @__PURE__ */ React__default.createElement(
1710
+ /* @__PURE__ */ React.createElement(
1712
1711
  CustomText$1,
1713
1712
  {
1714
1713
  variant: FontStyle.L2_REGULAR,
@@ -1777,7 +1776,7 @@ const Tags = ({
1777
1776
  );
1778
1777
  handleTagsChange(tag);
1779
1778
  };
1780
- return /* @__PURE__ */ React__default.createElement(
1779
+ return /* @__PURE__ */ React.createElement(
1781
1780
  ScrollView,
1782
1781
  {
1783
1782
  testID,
@@ -1785,7 +1784,7 @@ const Tags = ({
1785
1784
  contentContainerStyle: styles$p.contentContainer,
1786
1785
  horizontal: false
1787
1786
  },
1788
- tags?.map((tag) => /* @__PURE__ */ React__default.createElement(
1787
+ tags?.map((tag) => /* @__PURE__ */ React.createElement(
1789
1788
  Pressable,
1790
1789
  {
1791
1790
  testID: `${testID}-${tag}-BTN`,
@@ -1797,7 +1796,7 @@ const Tags = ({
1797
1796
  selectedTags.includes(tag) ? styles$p.selectedTag : styles$p.tagUnSelected
1798
1797
  ]
1799
1798
  },
1800
- /* @__PURE__ */ React__default.createElement(
1799
+ /* @__PURE__ */ React.createElement(
1801
1800
  CustomTypography,
1802
1801
  {
1803
1802
  variant: selectedTags.includes(tag) ? "H9semiBold" : "P4regular",
@@ -1805,13 +1804,13 @@ const Tags = ({
1805
1804
  text: tag
1806
1805
  }
1807
1806
  ),
1808
- selectedTags.includes(tag) && icon && /* @__PURE__ */ React__default.createElement(
1807
+ selectedTags.includes(tag) && icon && /* @__PURE__ */ React.createElement(
1809
1808
  Pressable,
1810
1809
  {
1811
1810
  testID: `${testID}-${tag}-PRESS`,
1812
1811
  onPress: () => removeTag(tag)
1813
1812
  },
1814
- React__default.cloneElement(icon, { style: [icon.props.style, iconStyle] })
1813
+ React.cloneElement(icon, { style: [icon.props.style, iconStyle] })
1815
1814
  )
1816
1815
  ))
1817
1816
  );
@@ -1878,14 +1877,14 @@ const CustomSwitch = ({
1878
1877
  const animatedStyle = {
1879
1878
  transform: [{ translateX: animatedValue }]
1880
1879
  };
1881
- return /* @__PURE__ */ React__default.createElement(
1880
+ return /* @__PURE__ */ React.createElement(
1882
1881
  Pressable,
1883
1882
  {
1884
1883
  onPress: toggleSwitch,
1885
1884
  style: [styles$o.container, { width }],
1886
1885
  testID: "custom-switch"
1887
1886
  },
1888
- /* @__PURE__ */ React__default.createElement(
1887
+ /* @__PURE__ */ React.createElement(
1889
1888
  View,
1890
1889
  {
1891
1890
  style: [
@@ -1895,8 +1894,8 @@ const CustomSwitch = ({
1895
1894
  }
1896
1895
  ]
1897
1896
  },
1898
- /* @__PURE__ */ React__default.createElement(Animated.View, { style: [styles$o.thumb, animatedStyle] }),
1899
- type !== ToggleButtonType.SMALL && /* @__PURE__ */ React__default.createElement(
1897
+ /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$o.thumb, animatedStyle] }),
1898
+ type !== ToggleButtonType.SMALL && /* @__PURE__ */ React.createElement(
1900
1899
  CustomTypography,
1901
1900
  {
1902
1901
  variant: "B3semiBold",
@@ -1966,13 +1965,13 @@ const Accordion = ({
1966
1965
  inputRange: [0, 1],
1967
1966
  outputRange: [0, contentHeight]
1968
1967
  });
1969
- return /* @__PURE__ */ React__default.createElement(View, { style: [styles$n.container, containerStyle], testID: testId }, /* @__PURE__ */ React__default.createElement(
1968
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$n.container, containerStyle], testID: testId }, /* @__PURE__ */ React.createElement(
1970
1969
  Pressable,
1971
1970
  {
1972
1971
  style: [styles$n.header, headerStyle, disabled && { opacity: 0.5 }],
1973
1972
  onPress: !disabled ? onToggle : void 0
1974
1973
  },
1975
- headerComponent ? headerComponent() : /* @__PURE__ */ React__default.createElement(
1974
+ headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(
1976
1975
  CustomTypography,
1977
1976
  {
1978
1977
  variant: "B4_REGULAR",
@@ -1980,7 +1979,7 @@ const Accordion = ({
1980
1979
  style: [styles$n.title, titleStyle]
1981
1980
  }
1982
1981
  )
1983
- ), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React__default.createElement(Animated.View, { style: [styles$n.content, { height: cardHeight }] }, /* @__PURE__ */ React__default.createElement(
1982
+ ), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$n.content, { height: cardHeight }] }, /* @__PURE__ */ React.createElement(
1984
1983
  View,
1985
1984
  {
1986
1985
  ref: contentRef,
@@ -2024,7 +2023,7 @@ const styles$m = StyleSheet.create({
2024
2023
  }
2025
2024
  });
2026
2025
 
2027
- const Toast = React__default.forwardRef((_props, ref) => {
2026
+ const Toast = React.forwardRef((_props, ref) => {
2028
2027
  const [visible, setVisible] = useState(false);
2029
2028
  const [message, setMessage] = useState("");
2030
2029
  const [isSuccess, setIsSuccess] = useState(true);
@@ -2067,10 +2066,10 @@ const Toast = React__default.forwardRef((_props, ref) => {
2067
2066
  return () => clearInterval(interval);
2068
2067
  }
2069
2068
  }, [visible]);
2070
- React__default.useImperativeHandle(ref, () => ({
2069
+ React.useImperativeHandle(ref, () => ({
2071
2070
  showToast
2072
2071
  }));
2073
- return visible ? /* @__PURE__ */ React__default.createElement(
2072
+ return visible ? /* @__PURE__ */ React.createElement(
2074
2073
  Animated.View,
2075
2074
  {
2076
2075
  style: [
@@ -2080,21 +2079,21 @@ const Toast = React__default.forwardRef((_props, ref) => {
2080
2079
  ],
2081
2080
  testID: "TOAST"
2082
2081
  },
2083
- /* @__PURE__ */ React__default.createElement(View, { style: styles$m.toastContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$m.innerContainer }, /* @__PURE__ */ React__default.createElement(
2082
+ /* @__PURE__ */ React.createElement(View, { style: styles$m.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$m.innerContainer }, /* @__PURE__ */ React.createElement(
2084
2083
  CustomTypography,
2085
2084
  {
2086
2085
  variant: "L2_REGULAR",
2087
2086
  text: message,
2088
2087
  style: styles$m.messageText
2089
2088
  }
2090
- ), btnText && /* @__PURE__ */ React__default.createElement(
2089
+ ), btnText && /* @__PURE__ */ React.createElement(
2091
2090
  Pressable,
2092
2091
  {
2093
2092
  style: styles$m.button,
2094
2093
  onPress: onBtnPress || void 0,
2095
2094
  testID: "TOAST-BTN"
2096
2095
  },
2097
- /* @__PURE__ */ React__default.createElement(
2096
+ /* @__PURE__ */ React.createElement(
2098
2097
  CustomTypography,
2099
2098
  {
2100
2099
  variant: "L2_BOLD",
@@ -2103,7 +2102,7 @@ const Toast = React__default.forwardRef((_props, ref) => {
2103
2102
  }
2104
2103
  )
2105
2104
  ))),
2106
- /* @__PURE__ */ React__default.createElement(
2105
+ /* @__PURE__ */ React.createElement(
2107
2106
  Progress.Bar,
2108
2107
  {
2109
2108
  progress,
@@ -2148,14 +2147,14 @@ const CustomSearchBar = ({
2148
2147
  onCrossIconPress,
2149
2148
  handleOnChangeText,
2150
2149
  setValue,
2151
- rightIcon = /* @__PURE__ */ React__default.createElement(SvgCrossIcon, null),
2150
+ rightIcon = /* @__PURE__ */ React.createElement(CrossIcon, null),
2152
2151
  disableBorderColor = "#4F4F4F",
2153
2152
  borderColor = "#FFFFFF",
2154
2153
  disablePlaceHolderStyle = "#686868",
2155
2154
  enablePlaceHolderStyle = "#A7A7A7",
2156
2155
  ...props
2157
2156
  }) => {
2158
- return /* @__PURE__ */ React__default.createElement(
2157
+ return /* @__PURE__ */ React.createElement(
2159
2158
  View,
2160
2159
  {
2161
2160
  testID,
@@ -2168,7 +2167,7 @@ const CustomSearchBar = ({
2168
2167
  inputContainerStyle
2169
2168
  ]
2170
2169
  },
2171
- /* @__PURE__ */ React__default.createElement(
2170
+ /* @__PURE__ */ React.createElement(
2172
2171
  Pressable,
2173
2172
  {
2174
2173
  onPress: () => {
@@ -2178,7 +2177,7 @@ const CustomSearchBar = ({
2178
2177
  style: searchIconStyle
2179
2178
  }
2180
2179
  ),
2181
- /* @__PURE__ */ React__default.createElement(
2180
+ /* @__PURE__ */ React.createElement(
2182
2181
  TextInput,
2183
2182
  {
2184
2183
  ...props,
@@ -2193,7 +2192,7 @@ const CustomSearchBar = ({
2193
2192
  }
2194
2193
  }
2195
2194
  ),
2196
- value && /* @__PURE__ */ React__default.createElement(
2195
+ value && /* @__PURE__ */ React.createElement(
2197
2196
  Pressable,
2198
2197
  {
2199
2198
  onPress: () => {
@@ -2202,7 +2201,7 @@ const CustomSearchBar = ({
2202
2201
  },
2203
2202
  style: crossIconStyle
2204
2203
  },
2205
- React__default.cloneElement(rightIcon, {
2204
+ React.cloneElement(rightIcon, {
2206
2205
  // width: moderateScale(24),
2207
2206
  // height: moderateScale(24),
2208
2207
  style: [styles$l.crossIconStyle, crossIconStyle]
@@ -2236,31 +2235,21 @@ const styles$k = StyleSheet.create({
2236
2235
  const CustomHeader = ({
2237
2236
  title,
2238
2237
  testId = "CUSTOM-HEADER",
2239
- leftIcon = /* @__PURE__ */ React__default.createElement(SvgCaretLeft, null),
2240
- rightIcon = /* @__PURE__ */ React__default.createElement(SvgDotsThreeVertical, null),
2238
+ leftIcon = /* @__PURE__ */ React.createElement(CaretLeft, null),
2239
+ rightIcon = /* @__PURE__ */ React.createElement(HeaderIcon, null),
2241
2240
  showLeftIcon = true,
2242
2241
  showRightIcon = true,
2243
2242
  onLeftPress,
2244
2243
  onRightPress
2245
2244
  }) => {
2246
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React__default.createElement(View, { style: styles$k.headderContainer }, showLeftIcon && React__default.cloneElement(leftIcon, {
2247
- width: moderateScale(24),
2248
- height: moderateScale(24),
2249
- onPress: onLeftPress,
2250
- style: styles$k.leftIconStyle
2251
- }), /* @__PURE__ */ React__default.createElement(
2245
+ return /* @__PURE__ */ React.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React.createElement(View, { style: styles$k.headderContainer }, /* @__PURE__ */ React.createElement(
2252
2246
  CustomTypography,
2253
2247
  {
2254
2248
  variant: "B2_REGULAR",
2255
2249
  text: title,
2256
2250
  style: styles$k.headerTitle
2257
2251
  }
2258
- )), showRightIcon && React__default.cloneElement(rightIcon, {
2259
- width: moderateScale(24),
2260
- height: moderateScale(24),
2261
- onPress: onRightPress,
2262
- style: styles$k.rightIconStyle
2263
- }));
2252
+ )), /* @__PURE__ */ React.createElement(CaretLeft, null), ",");
2264
2253
  };
2265
2254
 
2266
2255
  const styles$j = StyleSheet.create({
@@ -2319,7 +2308,7 @@ const SwipableList = (props) => {
2319
2308
  onPress,
2320
2309
  style,
2321
2310
  testID
2322
- }) => /* @__PURE__ */ React__default.createElement(
2311
+ }) => /* @__PURE__ */ React.createElement(
2323
2312
  Pressable,
2324
2313
  {
2325
2314
  testID,
@@ -2327,7 +2316,7 @@ const SwipableList = (props) => {
2327
2316
  style: [styles$j.actionButton, style]
2328
2317
  },
2329
2318
  icon,
2330
- /* @__PURE__ */ React__default.createElement(
2319
+ /* @__PURE__ */ React.createElement(
2331
2320
  CustomTypography,
2332
2321
  {
2333
2322
  variant: "L1_REGULAR",
@@ -2336,7 +2325,7 @@ const SwipableList = (props) => {
2336
2325
  }
2337
2326
  )
2338
2327
  );
2339
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$j.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2328
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: [styles$j.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2340
2329
  ActionButton,
2341
2330
  {
2342
2331
  icon: leftPrimaryActionIcon,
@@ -2345,7 +2334,7 @@ const SwipableList = (props) => {
2345
2334
  style: leftPrimaryActionStyle,
2346
2335
  testID: `${testId}-LEFT-PRIMARY-${item.id}`
2347
2336
  }
2348
- ), leftSecondaryActionIcon && /* @__PURE__ */ React__default.createElement(
2337
+ ), leftSecondaryActionIcon && /* @__PURE__ */ React.createElement(
2349
2338
  ActionButton,
2350
2339
  {
2351
2340
  icon: leftSecondaryActionIcon,
@@ -2355,7 +2344,7 @@ const SwipableList = (props) => {
2355
2344
  testID: `${testId}-LEFT-SECONDARY-${item.id}`
2356
2345
  }
2357
2346
  ));
2358
- const rightActionHandle = (item) => /* @__PURE__ */ React__default.createElement(View, { style: [styles$j.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default.createElement(
2347
+ const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$j.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2359
2348
  ActionButton,
2360
2349
  {
2361
2350
  icon: rightPrimaryActionIcon,
@@ -2365,7 +2354,7 @@ const SwipableList = (props) => {
2365
2354
  testID: `${testId}-RIGHT-PRIMARY-${item.id}`
2366
2355
  }
2367
2356
  ));
2368
- const renderItem = ({ item }) => /* @__PURE__ */ React__default.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$j.container }, /* @__PURE__ */ React__default.createElement(
2357
+ const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$j.container }, /* @__PURE__ */ React.createElement(
2369
2358
  Swipeable,
2370
2359
  {
2371
2360
  renderLeftActions: () => leftActionHandle(
@@ -2380,13 +2369,13 @@ const SwipableList = (props) => {
2380
2369
  },
2381
2370
  props?.renderItem(item)
2382
2371
  ));
2383
- return /* @__PURE__ */ React__default.createElement(View, { testID: testId }, /* @__PURE__ */ React__default.createElement(
2372
+ return /* @__PURE__ */ React.createElement(View, { testID: testId }, /* @__PURE__ */ React.createElement(
2384
2373
  FlatList,
2385
2374
  {
2386
2375
  data,
2387
2376
  renderItem,
2388
2377
  keyExtractor: (item) => item.id,
2389
- ItemSeparatorComponent: () => /* @__PURE__ */ React__default.createElement(View, { style: styles$j.seprator })
2378
+ ItemSeparatorComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$j.seprator })
2390
2379
  }
2391
2380
  ));
2392
2381
  };
@@ -2410,7 +2399,7 @@ const CustomIcon = ({
2410
2399
  containerStyle,
2411
2400
  titleStyle
2412
2401
  }) => {
2413
- return /* @__PURE__ */ React__default.createElement(
2402
+ return /* @__PURE__ */ React.createElement(
2414
2403
  Pressable,
2415
2404
  {
2416
2405
  style: [styles$i.container, containerStyle],
@@ -2418,7 +2407,7 @@ const CustomIcon = ({
2418
2407
  testID: testId
2419
2408
  },
2420
2409
  icon,
2421
- title && /* @__PURE__ */ React__default.createElement(
2410
+ title && /* @__PURE__ */ React.createElement(
2422
2411
  CustomTypography,
2423
2412
  {
2424
2413
  variant: titleVariant,
@@ -2444,12 +2433,12 @@ const styles$h = StyleSheet.create({
2444
2433
 
2445
2434
  const CustomLoader = ({ loading }) => {
2446
2435
  if (!loading) return null;
2447
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$h.container }, /* @__PURE__ */ React__default.createElement(ActivityIndicator, { size: "large", color: "#686868" }));
2436
+ return /* @__PURE__ */ React.createElement(View, { style: styles$h.container }, /* @__PURE__ */ React.createElement(ActivityIndicator, { size: "large", color: "#686868" }));
2448
2437
  };
2449
2438
 
2450
2439
  const HorizontalLine = ({ style }) => {
2451
2440
  const { theme } = useTheme();
2452
- return /* @__PURE__ */ React__default.createElement(
2441
+ return /* @__PURE__ */ React.createElement(
2453
2442
  View,
2454
2443
  {
2455
2444
  style: [
@@ -2476,7 +2465,7 @@ const Topic = ({
2476
2465
  containterStyle
2477
2466
  }) => {
2478
2467
  const { theme } = useTheme();
2479
- return /* @__PURE__ */ React__default.createElement(
2468
+ return /* @__PURE__ */ React.createElement(
2480
2469
  TouchableOpacity,
2481
2470
  {
2482
2471
  style: [
@@ -2486,15 +2475,15 @@ const Topic = ({
2486
2475
  ],
2487
2476
  onPress
2488
2477
  },
2489
- rightIcon && /* @__PURE__ */ React__default.createElement(View, { style: styles$f.rightIconContainer }, React__default.cloneElement(rightIcon)),
2490
- /* @__PURE__ */ React__default.createElement(View, { style: styles$f.textContainer }, subTitle && /* @__PURE__ */ React__default.createElement(
2478
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$f.rightIconContainer }, React.cloneElement(rightIcon)),
2479
+ /* @__PURE__ */ React.createElement(View, { style: styles$f.textContainer }, subTitle && /* @__PURE__ */ React.createElement(
2491
2480
  CustomText$1,
2492
2481
  {
2493
2482
  text: subTitle,
2494
2483
  variant: "L3_REGULAR",
2495
2484
  textColor: "CONTENT_PRIMARY"
2496
2485
  }
2497
- ), /* @__PURE__ */ React__default.createElement(
2486
+ ), /* @__PURE__ */ React.createElement(
2498
2487
  CustomText$1,
2499
2488
  {
2500
2489
  text: title,
@@ -2582,27 +2571,27 @@ const ContactModal = ({
2582
2571
  onClose();
2583
2572
  };
2584
2573
  const emailOptions = ["Mail", "Gmail", "Outlook"];
2585
- const renderEmailOptions = () => /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
2574
+ const renderEmailOptions = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
2586
2575
  CustomText$1,
2587
2576
  {
2588
2577
  style: styles$e.title,
2589
2578
  text: "Open email app",
2590
2579
  variant: "L2_REGULAR"
2591
2580
  }
2592
- ), /* @__PURE__ */ React__default.createElement(
2581
+ ), /* @__PURE__ */ React.createElement(
2593
2582
  CustomText$1,
2594
2583
  {
2595
2584
  style: styles$e.subtitle,
2596
2585
  text: "Which app would you like to open?",
2597
2586
  variant: "L2_REGULAR"
2598
2587
  }
2599
- ), emailOptions.map((option) => /* @__PURE__ */ React__default.createElement(React__default.Fragment, { key: option }, /* @__PURE__ */ React__default.createElement(Line, null), /* @__PURE__ */ React__default.createElement(
2588
+ ), emailOptions.map((option) => /* @__PURE__ */ React.createElement(React.Fragment, { key: option }, /* @__PURE__ */ React.createElement(Line, null), /* @__PURE__ */ React.createElement(
2600
2589
  Pressable,
2601
2590
  {
2602
2591
  onPress: () => handleOptionPress(),
2603
2592
  style: styles$e.optionButton
2604
2593
  },
2605
- /* @__PURE__ */ React__default.createElement(
2594
+ /* @__PURE__ */ React.createElement(
2606
2595
  CustomText$1,
2607
2596
  {
2608
2597
  style: styles$e.optionText,
@@ -2611,14 +2600,14 @@ const ContactModal = ({
2611
2600
  }
2612
2601
  )
2613
2602
  ))));
2614
- const renderContent = () => /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(View, { style: styles$e.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React__default.createElement(Pressable, { onPress: handleCall, style: styles$e.optionButton }, /* @__PURE__ */ React__default.createElement(
2603
+ const renderContent = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$e.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React.createElement(Pressable, { onPress: handleCall, style: styles$e.optionButton }, /* @__PURE__ */ React.createElement(
2615
2604
  CustomText$1,
2616
2605
  {
2617
2606
  style: styles$e.optionText,
2618
2607
  text: `Call ${phoneNumber}`,
2619
2608
  variant: "B3_BOLD"
2620
2609
  }
2621
- ))), /* @__PURE__ */ React__default.createElement(Pressable, { onPress: onClose, style: styles$e.cancelButton }, /* @__PURE__ */ React__default.createElement(
2610
+ ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$e.cancelButton }, /* @__PURE__ */ React.createElement(
2622
2611
  CustomText$1,
2623
2612
  {
2624
2613
  style: styles$e.cancelText,
@@ -2626,7 +2615,7 @@ const ContactModal = ({
2626
2615
  variant: "B2_REGULAR"
2627
2616
  }
2628
2617
  )));
2629
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$e.container }, /* @__PURE__ */ React__default.createElement(
2618
+ return /* @__PURE__ */ React.createElement(View, { style: styles$e.container }, /* @__PURE__ */ React.createElement(
2630
2619
  Modal,
2631
2620
  {
2632
2621
  animationType: "slide",
@@ -2634,7 +2623,7 @@ const ContactModal = ({
2634
2623
  visible,
2635
2624
  onRequestClose: onClose
2636
2625
  },
2637
- /* @__PURE__ */ React__default.createElement(View, { style: styles$e.modalContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$e.modalContent }, renderContent()))
2626
+ /* @__PURE__ */ React.createElement(View, { style: styles$e.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$e.modalContent }, renderContent()))
2638
2627
  ));
2639
2628
  };
2640
2629
  const styles$e = StyleSheet.create({
@@ -2757,7 +2746,7 @@ const DateRangePicker = (props) => {
2757
2746
  return markedDates;
2758
2747
  };
2759
2748
  const isButtonDisabled = !selectedRange.startDate || !selectedRange.endDate;
2760
- return /* @__PURE__ */ React__default.createElement(View, null, /* @__PURE__ */ React__default.createElement(
2749
+ return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
2761
2750
  Calendar,
2762
2751
  {
2763
2752
  markedDates: getMarkedDates(),
@@ -2777,7 +2766,7 @@ const DateRangePicker = (props) => {
2777
2766
  onDayPress,
2778
2767
  ...props
2779
2768
  }
2780
- ), /* @__PURE__ */ React__default.createElement(
2769
+ ), /* @__PURE__ */ React.createElement(
2781
2770
  CustomButton$1,
2782
2771
  {
2783
2772
  title: "Apply",
@@ -2804,7 +2793,7 @@ const OurOfficesButton = ({
2804
2793
  descriptionColor = "CONTENT_SECONDARY"
2805
2794
  }) => {
2806
2795
  const { theme } = useTheme();
2807
- return /* @__PURE__ */ React__default.createElement(
2796
+ return /* @__PURE__ */ React.createElement(
2808
2797
  TouchableOpacity,
2809
2798
  {
2810
2799
  style: [
@@ -2814,8 +2803,8 @@ const OurOfficesButton = ({
2814
2803
  ],
2815
2804
  onPress
2816
2805
  },
2817
- leftIcon && /* @__PURE__ */ React__default.createElement(View, { style: styles$c.iconContainer }, React__default.cloneElement(leftIcon)),
2818
- /* @__PURE__ */ React__default.createElement(View, { style: styles$c.textContainer }, /* @__PURE__ */ React__default.createElement(
2806
+ leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.iconContainer }, React.cloneElement(leftIcon)),
2807
+ /* @__PURE__ */ React.createElement(View, { style: styles$c.textContainer }, /* @__PURE__ */ React.createElement(
2819
2808
  CustomText$1,
2820
2809
  {
2821
2810
  text: title,
@@ -2823,7 +2812,7 @@ const OurOfficesButton = ({
2823
2812
  textColor: titleColor,
2824
2813
  style: styles$c.textView
2825
2814
  }
2826
- ), /* @__PURE__ */ React__default.createElement(
2815
+ ), /* @__PURE__ */ React.createElement(
2827
2816
  CustomText$1,
2828
2817
  {
2829
2818
  text: description,
@@ -2832,7 +2821,7 @@ const OurOfficesButton = ({
2832
2821
  style: styles$c.flexWrap
2833
2822
  }
2834
2823
  )),
2835
- rightIcon && /* @__PURE__ */ React__default.createElement(View, { style: styles$c.rightIconContainer }, React__default.cloneElement(rightIcon))
2824
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.rightIconContainer }, React.cloneElement(rightIcon))
2836
2825
  );
2837
2826
  };
2838
2827
  const styles$c = StyleSheet.create({
@@ -2887,7 +2876,7 @@ const NotificationBandge = ({
2887
2876
  if (notificationCount <= 0) {
2888
2877
  return null;
2889
2878
  }
2890
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$b.iconContainer }, /* @__PURE__ */ React__default.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React__default.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
2879
+ return /* @__PURE__ */ React.createElement(View, { style: styles$b.iconContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
2891
2880
  };
2892
2881
 
2893
2882
  const ScrollableList = ({
@@ -2905,7 +2894,7 @@ const ScrollableList = ({
2905
2894
  data && data.length > 0 ? data[0].name : null
2906
2895
  );
2907
2896
  const { theme } = useTheme();
2908
- return /* @__PURE__ */ React__default.createElement(View, { style: [styles$a.container, containerStyle] }, /* @__PURE__ */ React__default.createElement(
2897
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$a.container, containerStyle] }, /* @__PURE__ */ React.createElement(
2909
2898
  ScrollView,
2910
2899
  {
2911
2900
  horizontal: true,
@@ -2915,7 +2904,7 @@ const ScrollableList = ({
2915
2904
  scrollViewContentStyle
2916
2905
  ]
2917
2906
  },
2918
- data?.map((item) => /* @__PURE__ */ React__default.createElement(
2907
+ data?.map((item) => /* @__PURE__ */ React.createElement(
2919
2908
  Pressable,
2920
2909
  {
2921
2910
  key: item.value,
@@ -2932,7 +2921,7 @@ const ScrollableList = ({
2932
2921
  handleSelectCategory(item.name, item.value);
2933
2922
  }
2934
2923
  },
2935
- /* @__PURE__ */ React__default.createElement(
2924
+ /* @__PURE__ */ React.createElement(
2936
2925
  CustomText$1,
2937
2926
  {
2938
2927
  text: item.name,
@@ -2940,7 +2929,7 @@ const ScrollableList = ({
2940
2929
  textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
2941
2930
  }
2942
2931
  ),
2943
- item?.isError && /* @__PURE__ */ React__default.createElement(
2932
+ item?.isError && /* @__PURE__ */ React.createElement(
2944
2933
  View,
2945
2934
  {
2946
2935
  style: [
@@ -3034,7 +3023,7 @@ const FeedbackForm = ({
3034
3023
  setFeedback
3035
3024
  }) => {
3036
3025
  const maxChars = 200;
3037
- return /* @__PURE__ */ React__default.createElement(View, { style: styles$9.container }, /* @__PURE__ */ React__default.createElement(Text, { style: styles$9.headerText }, title), /* @__PURE__ */ React__default.createElement(
3026
+ return /* @__PURE__ */ React.createElement(View, { style: styles$9.container }, /* @__PURE__ */ React.createElement(Text, { style: styles$9.headerText }, title), /* @__PURE__ */ React.createElement(
3038
3027
  TextInput,
3039
3028
  {
3040
3029
  style: [styles$9.textInput, { height: Math.max(100) }],
@@ -3045,7 +3034,7 @@ const FeedbackForm = ({
3045
3034
  value: feedback,
3046
3035
  onChangeText: (text) => setFeedback(text)
3047
3036
  }
3048
- ), /* @__PURE__ */ React__default.createElement(
3037
+ ), /* @__PURE__ */ React.createElement(
3049
3038
  CustomText$1,
3050
3039
  {
3051
3040
  text: `${feedback.length}/${maxChars} characters`,
@@ -3053,14 +3042,14 @@ const FeedbackForm = ({
3053
3042
  textColor: "CONTENT_SECONDRY",
3054
3043
  style: styles$9.charCounter
3055
3044
  }
3056
- ), /* @__PURE__ */ React__default.createElement(View, { style: styles$9.buttonContainer }, /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$9.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React__default.createElement(
3045
+ ), /* @__PURE__ */ React.createElement(View, { style: styles$9.buttonContainer }, /* @__PURE__ */ React.createElement(Pressable, { style: styles$9.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React.createElement(
3057
3046
  CustomText$1,
3058
3047
  {
3059
3048
  text: "Send feedback",
3060
3049
  variant: "L1_REGULAR",
3061
3050
  textColor: "CONTENT_PRIMARY"
3062
3051
  }
3063
- )), /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$9.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React__default.createElement(
3052
+ )), /* @__PURE__ */ React.createElement(Pressable, { style: styles$9.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React.createElement(
3064
3053
  CustomText$1,
3065
3054
  {
3066
3055
  text: "Cancel",
@@ -3097,7 +3086,7 @@ const CountryDropDown = ({
3097
3086
  setCallingCode(`+${country.callingCode[0]}`);
3098
3087
  getCountryCode(`+${country.callingCode[0]}`);
3099
3088
  };
3100
- return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(View, { style: [styles$8.container, containerStyle] }, /* @__PURE__ */ React__default.createElement(View, { style: [styles$8.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React__default.createElement(
3089
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: [styles$8.container, containerStyle] }, /* @__PURE__ */ React.createElement(View, { style: [styles$8.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React.createElement(
3101
3090
  CountryPicker,
3102
3091
  {
3103
3092
  withFilter: true,
@@ -3107,21 +3096,21 @@ const CountryDropDown = ({
3107
3096
  onSelect: handleSelect,
3108
3097
  visible: pickerVisible
3109
3098
  }
3110
- ), /* @__PURE__ */ React__default.createElement(
3099
+ ), /* @__PURE__ */ React.createElement(
3111
3100
  Text,
3112
3101
  {
3113
3102
  onPress: () => setPickerVisible(true),
3114
3103
  style: [styles$8.callingCode, callingCodeStyle]
3115
3104
  },
3116
3105
  callingCode
3117
- )), /* @__PURE__ */ React__default.createElement(View, { style: styles$8.flex }, (isFocused || value) && /* @__PURE__ */ React__default.createElement(
3106
+ )), /* @__PURE__ */ React.createElement(View, { style: styles$8.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
3118
3107
  CustomTypography,
3119
3108
  {
3120
3109
  variant: "L2_REGULAR",
3121
3110
  text: label ?? "",
3122
3111
  style: styles$8.floatingLabel
3123
3112
  }
3124
- ), /* @__PURE__ */ React__default.createElement(
3113
+ ), /* @__PURE__ */ React.createElement(
3125
3114
  TextInput,
3126
3115
  {
3127
3116
  style: [styles$8.input, inputStyle],
@@ -3134,7 +3123,7 @@ const CountryDropDown = ({
3134
3123
  maxLength,
3135
3124
  placeholderTextColor: theme.CONTENT_SECONDRY["light"]
3136
3125
  }
3137
- ))), errorMessage ? /* @__PURE__ */ React__default.createElement(
3126
+ ))), errorMessage ? /* @__PURE__ */ React.createElement(
3138
3127
  CustomTypography,
3139
3128
  {
3140
3129
  variant: "L2_REGULAR",
@@ -3210,7 +3199,7 @@ const CommonTextInput = ({
3210
3199
  handlePress,
3211
3200
  pointerEvents
3212
3201
  }) => {
3213
- return /* @__PURE__ */ React__default.createElement(Pressable, { onPress: handlePress, style: styles$7.container }, /* @__PURE__ */ React__default.createElement(
3202
+ return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$7.container }, /* @__PURE__ */ React.createElement(
3214
3203
  TextInput$1,
3215
3204
  {
3216
3205
  mode: "outlined",
@@ -3235,7 +3224,7 @@ const CommonTextInput = ({
3235
3224
  editable,
3236
3225
  pointerEvents
3237
3226
  }
3238
- ), errorMessage ? /* @__PURE__ */ React__default.createElement(
3227
+ ), errorMessage ? /* @__PURE__ */ React.createElement(
3239
3228
  CustomTypography,
3240
3229
  {
3241
3230
  variant: "L2_REGULAR",
@@ -3300,7 +3289,7 @@ const CustomDropdown = ({
3300
3289
  const [isFocus, setIsFocus] = useState(false);
3301
3290
  const renderLabel = () => {
3302
3291
  if (value || isFocus) {
3303
- return /* @__PURE__ */ React__default.createElement(
3292
+ return /* @__PURE__ */ React.createElement(
3304
3293
  Text,
3305
3294
  {
3306
3295
  style: [
@@ -3322,7 +3311,7 @@ const CustomDropdown = ({
3322
3311
  onValueChange(newValue);
3323
3312
  }
3324
3313
  };
3325
- return /* @__PURE__ */ React__default.createElement(View, { style: [styles$6.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React__default.createElement(
3314
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$6.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
3326
3315
  Dropdown,
3327
3316
  {
3328
3317
  style: [
@@ -3440,20 +3429,20 @@ const CustomSwitchBtn = ({
3440
3429
  const toggleSwitch = () => {
3441
3430
  onValueChange(!value);
3442
3431
  };
3443
- return /* @__PURE__ */ React__default.createElement(
3432
+ return /* @__PURE__ */ React.createElement(
3444
3433
  Pressable,
3445
3434
  {
3446
3435
  disabled,
3447
3436
  onPress: toggleSwitch,
3448
3437
  style: { ...styles$5.mainContainer, ...containerStyle }
3449
3438
  },
3450
- /* @__PURE__ */ React__default.createElement(
3439
+ /* @__PURE__ */ React.createElement(
3451
3440
  Animated.View,
3452
3441
  {
3453
3442
  style: [styles$5.circle, { transform: [{ translateX }], ...circleStyle }]
3454
3443
  }
3455
3444
  ),
3456
- /* @__PURE__ */ React__default.createElement(
3445
+ /* @__PURE__ */ React.createElement(
3457
3446
  CustomTypography,
3458
3447
  {
3459
3448
  style: [styles$5.activeText, value ? inActiveTextStyle : activeTextStyle],
@@ -3461,7 +3450,7 @@ const CustomSwitchBtn = ({
3461
3450
  variant: activeTextVariant
3462
3451
  }
3463
3452
  ),
3464
- /* @__PURE__ */ React__default.createElement(
3453
+ /* @__PURE__ */ React.createElement(
3465
3454
  CustomTypography,
3466
3455
  {
3467
3456
  style: [
@@ -3513,7 +3502,7 @@ const TagsComponent = ({
3513
3502
  }
3514
3503
  return tagList;
3515
3504
  };
3516
- const renderTagItem = ({ item }) => /* @__PURE__ */ React__default.createElement(
3505
+ const renderTagItem = ({ item }) => /* @__PURE__ */ React.createElement(
3517
3506
  Pressable,
3518
3507
  {
3519
3508
  onPress: () => handleTagPress?.(item.name),
@@ -3522,7 +3511,7 @@ const TagsComponent = ({
3522
3511
  selectedTag === item?.name ? styles$4.selectedTagButton : styles$4.unselectedTagButton
3523
3512
  ]
3524
3513
  },
3525
- /* @__PURE__ */ React__default.createElement(
3514
+ /* @__PURE__ */ React.createElement(
3526
3515
  Text,
3527
3516
  {
3528
3517
  style: [
@@ -3532,9 +3521,9 @@ const TagsComponent = ({
3532
3521
  },
3533
3522
  item?.name
3534
3523
  ),
3535
- selectedTag === item?.name && /* @__PURE__ */ React__default.createElement(Text, { style: styles$4.closeButton }, "\u2715")
3524
+ selectedTag === item?.name && /* @__PURE__ */ React.createElement(Text, { style: styles$4.closeButton }, "\u2715")
3536
3525
  );
3537
- return /* @__PURE__ */ React__default.createElement(View, null, /* @__PURE__ */ React__default.createElement(
3526
+ return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
3538
3527
  FlatList,
3539
3528
  {
3540
3529
  data: reorderedTags(),
@@ -3650,7 +3639,7 @@ const CustomDocumentPicker = ({
3650
3639
  useCallback(() => {
3651
3640
  setDocDetails(void 0);
3652
3641
  }, []);
3653
- return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
3642
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
3654
3643
  View,
3655
3644
  {
3656
3645
  style: [
@@ -3660,14 +3649,14 @@ const CustomDocumentPicker = ({
3660
3649
  containerStyle
3661
3650
  ]
3662
3651
  },
3663
- /* @__PURE__ */ React__default.createElement(Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, /* @__PURE__ */ React__default.createElement(View, { style: styles$3.titleContainer }, /* @__PURE__ */ React__default.createElement(
3652
+ /* @__PURE__ */ React.createElement(Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, /* @__PURE__ */ React.createElement(View, { style: styles$3.titleContainer }, /* @__PURE__ */ React.createElement(
3664
3653
  CustomTypography,
3665
3654
  {
3666
3655
  variant: FontStyle.L2_REGULAR,
3667
3656
  text: docDetails?.name ?? title,
3668
3657
  style: [{ color: theme.CONTENT_PRIMARY }, titleStyle]
3669
3658
  }
3670
- ), !docDetails && /* @__PURE__ */ React__default.createElement(
3659
+ ), !docDetails && /* @__PURE__ */ React.createElement(
3671
3660
  CustomTypography,
3672
3661
  {
3673
3662
  variant: FontStyle.L3_REGULAR,
@@ -3675,7 +3664,7 @@ const CustomDocumentPicker = ({
3675
3664
  style: [{ color: theme.CONTENT_SECONDRY }, hintStyle]
3676
3665
  }
3677
3666
  )))
3678
- ), error && /* @__PURE__ */ React__default.createElement(
3667
+ ), error && /* @__PURE__ */ React.createElement(
3679
3668
  CustomTypography,
3680
3669
  {
3681
3670
  variant: FontStyle.L2_REGULAR,
@@ -3711,7 +3700,7 @@ const styles$2 = StyleSheet.create({
3711
3700
  }
3712
3701
  });
3713
3702
 
3714
- const OTPInput = React__default.forwardRef(
3703
+ const OTPInput = React.forwardRef(
3715
3704
  ({
3716
3705
  length = 4,
3717
3706
  onComplete,
@@ -3739,7 +3728,7 @@ const OTPInput = React__default.forwardRef(
3739
3728
  setIsResendOtpEnable(true);
3740
3729
  }, 5e3);
3741
3730
  };
3742
- React__default.useImperativeHandle(ref, () => ({
3731
+ React.useImperativeHandle(ref, () => ({
3743
3732
  reset() {
3744
3733
  setOTP("");
3745
3734
  }
@@ -3770,7 +3759,7 @@ const OTPInput = React__default.forwardRef(
3770
3759
  onComplete?.(otp);
3771
3760
  }
3772
3761
  }, [otp]);
3773
- return /* @__PURE__ */ React__default.createElement(View, { style: { ...otpContainerStyle }, testID: testId }, /* @__PURE__ */ React__default.createElement(
3762
+ return /* @__PURE__ */ React.createElement(View, { style: { ...otpContainerStyle }, testID: testId }, /* @__PURE__ */ React.createElement(
3774
3763
  CustomTypography,
3775
3764
  {
3776
3765
  text: "OTP",
@@ -3780,7 +3769,7 @@ const OTPInput = React__default.forwardRef(
3780
3769
  textAlign: "left"
3781
3770
  }
3782
3771
  }
3783
- ), /* @__PURE__ */ React__default.createElement(View, { style: { ...styles$2.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React__default.createElement(
3772
+ ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$2.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
3784
3773
  TextInput,
3785
3774
  {
3786
3775
  key: index?.toString(),
@@ -3800,7 +3789,7 @@ const OTPInput = React__default.forwardRef(
3800
3789
  returnKeyType: otp.length === length ? "done" : "next",
3801
3790
  selectionColor: theme.CONTENT_PRIMARY
3802
3791
  }
3803
- ))), /* @__PURE__ */ React__default.createElement(View, { style: styles$2.resendOtpContainer }, errorMessage ? /* @__PURE__ */ React__default.createElement(
3792
+ ))), /* @__PURE__ */ React.createElement(View, { style: styles$2.resendOtpContainer }, errorMessage ? /* @__PURE__ */ React.createElement(
3804
3793
  CustomTypography,
3805
3794
  {
3806
3795
  text: errorMessage,
@@ -3809,7 +3798,7 @@ const OTPInput = React__default.forwardRef(
3809
3798
  color: theme.ERROR
3810
3799
  }
3811
3800
  }
3812
- ) : /* @__PURE__ */ React__default.createElement(View, null), /* @__PURE__ */ React__default.createElement(Pressable, { onPress: onClickResendOTP, disabled: !isResendOtpEnable }, /* @__PURE__ */ React__default.createElement(
3801
+ ) : /* @__PURE__ */ React.createElement(View, null), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClickResendOTP, disabled: !isResendOtpEnable }, /* @__PURE__ */ React.createElement(
3813
3802
  CustomTypography,
3814
3803
  {
3815
3804
  text: "Resend OTP",
@@ -3951,18 +3940,18 @@ const Stepper = ({
3951
3940
  return { borderColor: theme.CONTENT_SECONDRY };
3952
3941
  }
3953
3942
  };
3954
- return /* @__PURE__ */ React__default.createElement(View, { style: { ...styles$1.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
3943
+ return /* @__PURE__ */ React.createElement(View, { style: { ...styles$1.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
3955
3944
  const stepCircleStyle = renderCircleStyle(item?.status);
3956
3945
  const dividerStyle = renderDividerStyle(item?.status);
3957
3946
  const labelStyle = renderLableStyle(item?.status);
3958
3947
  const lastViewStyle = index === data?.length - 1 ? styles$1.lastStepWrapper : null;
3959
- return /* @__PURE__ */ React__default.createElement(
3948
+ return /* @__PURE__ */ React.createElement(
3960
3949
  View,
3961
3950
  {
3962
3951
  key: index?.toString(),
3963
3952
  style: { ...styles$1.stepperWrapper, ...lastViewStyle }
3964
3953
  },
3965
- /* @__PURE__ */ React__default.createElement(View, { style: styles$1.stepperSeparatorContainer }, /* @__PURE__ */ React__default.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React__default.createElement(
3954
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
3966
3955
  CustomTypography,
3967
3956
  {
3968
3957
  text: item?.step,
@@ -3971,8 +3960,8 @@ const Stepper = ({
3971
3960
  color: theme.CONTENT_PRIMARY
3972
3961
  }
3973
3962
  }
3974
- )), index != data?.length - 1 && /* @__PURE__ */ React__default.createElement(View, { style: { ...styles$1.separator, ...dividerStyle } })),
3975
- /* @__PURE__ */ React__default.createElement(View, { style: styles$1.lableContainer }, /* @__PURE__ */ React__default.createElement(
3963
+ )), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$1.separator, ...dividerStyle } })),
3964
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.lableContainer }, /* @__PURE__ */ React.createElement(
3976
3965
  CustomTypography,
3977
3966
  {
3978
3967
  text: item?.label,
@@ -4053,7 +4042,7 @@ const CustomSlideButton = ({ label, onComplete }) => {
4053
4042
  })
4054
4043
  ).current;
4055
4044
  const { theme } = useTheme();
4056
- return /* @__PURE__ */ React__default.createElement(
4045
+ return /* @__PURE__ */ React.createElement(
4057
4046
  View,
4058
4047
  {
4059
4048
  style: {
@@ -4061,7 +4050,7 @@ const CustomSlideButton = ({ label, onComplete }) => {
4061
4050
  backgroundColor: theme.SURFACE_INVERTED
4062
4051
  }
4063
4052
  },
4064
- /* @__PURE__ */ React__default.createElement(View, { style: styles.buttonTextCOntainer }, /* @__PURE__ */ React__default.createElement(
4053
+ /* @__PURE__ */ React.createElement(View, { style: styles.buttonTextCOntainer }, /* @__PURE__ */ React.createElement(
4065
4054
  CustomTypography,
4066
4055
  {
4067
4056
  text: label,
@@ -4071,13 +4060,13 @@ const CustomSlideButton = ({ label, onComplete }) => {
4071
4060
  }
4072
4061
  }
4073
4062
  )),
4074
- /* @__PURE__ */ React__default.createElement(
4063
+ /* @__PURE__ */ React.createElement(
4075
4064
  Animated.View,
4076
4065
  {
4077
4066
  style: [styles.slider, { transform: [{ translateX: pan }] }],
4078
4067
  ...panResponder.panHandlers
4079
4068
  },
4080
- /* @__PURE__ */ React__default.createElement(
4069
+ /* @__PURE__ */ React.createElement(
4081
4070
  View,
4082
4071
  {
4083
4072
  style: {