dhre-ui-kit 0.0.124 → 0.0.125

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
@@ -12,6 +12,7 @@ import { TextInput as TextInput$1 } from 'react-native-paper';
12
12
  import { Dropdown } from 'react-native-element-dropdown';
13
13
  import DocumentPicker from 'react-native-document-picker';
14
14
  import RNFS from 'react-native-fs';
15
+ import { verticalScale as verticalScale$1 } from 'src/utils/stylehelper';
15
16
  import Clipboard from '@react-native-clipboard/clipboard';
16
17
 
17
18
  var ShapeType = /* @__PURE__ */ ((ShapeType2) => {
@@ -534,7 +535,7 @@ const DHRE_COLORS_TEXT = {
534
535
  DH_LIGHTGREEN: "#00B578"
535
536
  };
536
537
 
537
- const styles$C = StyleSheet.create({
538
+ const styles$E = StyleSheet.create({
538
539
  badge: {
539
540
  backgroundColor: DHRE_COLORS_ALERT.DH_SUCCESS_GREEN,
540
541
  borderRadius: 15,
@@ -561,16 +562,16 @@ const Badge = ({
561
562
  return /* @__PURE__ */ React.createElement(
562
563
  Pressable,
563
564
  {
564
- style: [styles$C.badge, commonStyles.centerRow, style],
565
+ style: [styles$E.badge, commonStyles.centerRow, style],
565
566
  testID: "BADGE",
566
567
  onPress: handleIconPress
567
568
  },
568
- iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$C.icon, iconStyle] }, React.cloneElement(iconName)),
569
+ iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$E.icon, iconStyle] }, React.cloneElement(iconName)),
569
570
  text && /* @__PURE__ */ React.createElement(
570
571
  CustomTypography,
571
572
  {
572
573
  variant: "B3semiBold",
573
- style: [styles$C.text, textStyle],
574
+ style: [styles$E.text, textStyle],
574
575
  text
575
576
  }
576
577
  )
@@ -578,7 +579,7 @@ const Badge = ({
578
579
  };
579
580
  var Badge$1 = withThemeProvider(Badge);
580
581
 
581
- const styles$B = StyleSheet.create({
582
+ const styles$D = StyleSheet.create({
582
583
  mainContainer: {
583
584
  flex: 1,
584
585
  justifyContent: "flex-end"
@@ -657,29 +658,29 @@ const BottomDrawer = ({
657
658
  behavior: Platform.OS === "ios" ? "padding" : "height",
658
659
  style: { flex: 1 }
659
660
  },
660
- /* @__PURE__ */ React.createElement(View, { style: [styles$B.mainContainer, style], testID }, showBlurView ? /* @__PURE__ */ React.createElement(
661
+ /* @__PURE__ */ React.createElement(View, { style: [styles$D.mainContainer, style], testID }, showBlurView ? /* @__PURE__ */ React.createElement(
661
662
  BlurView,
662
663
  {
663
- style: [styles$B.blurView, blurViewStyle],
664
+ style: [styles$D.blurView, blurViewStyle],
664
665
  blurType: "light",
665
666
  blurAmount
666
667
  }
667
- ) : 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 }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
668
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: [styles$D.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$D.separator }), /* @__PURE__ */ React.createElement(View, { style: styles$D.headerContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
668
669
  width: moderateScale(24),
669
670
  height: moderateScale(24),
670
- style: styles$B.leftIconStyle,
671
+ style: styles$D.leftIconStyle,
671
672
  onPress: onLeftIconPress
672
673
  }) : null, /* @__PURE__ */ React.createElement(
673
674
  CustomTypography,
674
675
  {
675
676
  variant: titleVariant,
676
677
  text: title,
677
- style: { ...styles$B.title, ...titleStyle }
678
+ style: { ...styles$D.title, ...titleStyle }
678
679
  }
679
680
  ), showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
680
681
  width: moderateScale(24),
681
682
  height: moderateScale(24),
682
- style: styles$B.rightIconStyle,
683
+ style: styles$D.rightIconStyle,
683
684
  onPress: toggleModal
684
685
  }) : null)), children))
685
686
  ))
@@ -708,7 +709,7 @@ const CustomButton = ({
708
709
  {
709
710
  testID,
710
711
  style: [
711
- styles$A.buttonContainer,
712
+ styles$C.buttonContainer,
712
713
  containerStyle,
713
714
  disabled ? {
714
715
  backgroundColor: disabledColor ? disabledColor : theme.SURFACE_DISABLE
@@ -735,7 +736,7 @@ const CustomButton = ({
735
736
  imagePosition === "right" && rightIcon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(rightIcon, { width: 20, height: 20 }))
736
737
  );
737
738
  };
738
- const styles$A = StyleSheet.create({
739
+ const styles$C = StyleSheet.create({
739
740
  buttonContainer: {
740
741
  flexDirection: "row",
741
742
  alignItems: "center",
@@ -747,7 +748,7 @@ const styles$A = StyleSheet.create({
747
748
  });
748
749
  var CustomButton$1 = withThemeProvider(CustomButton);
749
750
 
750
- const styles$z = StyleSheet.create({
751
+ const styles$B = StyleSheet.create({
751
752
  container: {
752
753
  padding: horizontalScale(20),
753
754
  marginHorizontal: horizontalScale(16),
@@ -812,53 +813,53 @@ const Cards = ({
812
813
  testID,
813
814
  onButtonPress
814
815
  }) => {
815
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$z.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$z.topLeft }, /* @__PURE__ */ React.createElement(
816
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$B.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$B.topLeft }, /* @__PURE__ */ React.createElement(
816
817
  CustomTypography,
817
818
  {
818
819
  variant: "P2regular",
819
- style: styles$z.title,
820
+ style: styles$B.title,
820
821
  text: topLeftTitle
821
822
  }
822
823
  )) : null, title ? /* @__PURE__ */ React.createElement(
823
824
  CustomTypography,
824
825
  {
825
826
  variant: "H6bold",
826
- style: styles$z.subTitleBelow,
827
+ style: styles$B.subTitleBelow,
827
828
  text: title
828
829
  }
829
830
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
830
831
  CustomTypography,
831
832
  {
832
833
  variant: "P3regular",
833
- style: styles$z.subtitle,
834
+ style: styles$B.subtitle,
834
835
  text: subtitle
835
836
  }
836
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$z.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
837
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$B.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
837
838
  CustomTypography,
838
839
  {
839
840
  variant: "P3regular",
840
- style: styles$z.subTitleLeftBelow,
841
+ style: styles$B.subTitleLeftBelow,
841
842
  text: iconTitle
842
843
  }
843
844
  ) : null), buttonShown ? /* @__PURE__ */ React.createElement(
844
845
  Pressable,
845
846
  {
846
847
  testID: "Button-Press",
847
- style: styles$z.button,
848
+ style: styles$B.button,
848
849
  onPress: onButtonPress
849
850
  },
850
851
  /* @__PURE__ */ React.createElement(
851
852
  CustomTypography,
852
853
  {
853
854
  variant: "B2semiBold",
854
- style: styles$z.buttonText,
855
+ style: styles$B.buttonText,
855
856
  text: buttonText
856
857
  }
857
858
  )
858
859
  ) : null);
859
860
  };
860
861
 
861
- const styles$y = StyleSheet.create({
862
+ const styles$A = StyleSheet.create({
862
863
  checkboxContainer: {
863
864
  alignItems: "center",
864
865
  justifyContent: "center"
@@ -914,9 +915,9 @@ const Checkbox = ({
914
915
  testID: "Checkbox-Press",
915
916
  onPress: handlePress,
916
917
  disabled: disable,
917
- style: styles$y.directionStyle
918
+ style: styles$A.directionStyle
918
919
  },
919
- /* @__PURE__ */ React.createElement(View, { style: styles$y.checkboxContainer }, React.cloneElement(checked ? checkedIcon : uncheckedIcon)),
920
+ /* @__PURE__ */ React.createElement(View, { style: styles$A.checkboxContainer }, React.cloneElement(checked ? checkedIcon : uncheckedIcon)),
920
921
  /* @__PURE__ */ React.createElement(
921
922
  CustomTypography,
922
923
  {
@@ -928,7 +929,7 @@ const Checkbox = ({
928
929
  ));
929
930
  };
930
931
 
931
- const styles$x = StyleSheet.create({
932
+ const styles$z = StyleSheet.create({
932
933
  labelStyle: {
933
934
  color: DHRE_COLORS_TEXT.DH_TEXTLIGHT
934
935
  },
@@ -982,26 +983,26 @@ const CustomDropdown$1 = ({
982
983
  CustomTypography,
983
984
  {
984
985
  variant: "P3regular",
985
- style: styles$x.labelStyle,
986
+ style: styles$z.labelStyle,
986
987
  text: label
987
988
  }
988
989
  ), /* @__PURE__ */ React.createElement(
989
990
  Pressable,
990
991
  {
991
992
  testID: `${testId}-BTN`,
992
- style: styles$x.dropDownStyle,
993
+ style: styles$z.dropDownStyle,
993
994
  onPress: () => setShowOptions(!showOptions)
994
995
  },
995
996
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
996
997
  width: moderateScale(24),
997
998
  height: moderateScale(24),
998
- style: styles$x.iconStyle
999
+ style: styles$z.iconStyle
999
1000
  })),
1000
1001
  /* @__PURE__ */ React.createElement(
1001
1002
  CustomTypography,
1002
1003
  {
1003
1004
  variant: "P3regular",
1004
- style: styles$x.selectedValueStyle,
1005
+ style: styles$z.selectedValueStyle,
1005
1006
  text: selectedValue ? selectedValue.label : placeholder
1006
1007
  }
1007
1008
  ),
@@ -1012,7 +1013,7 @@ const CustomDropdown$1 = ({
1012
1013
  width: moderateScale(24),
1013
1014
  height: moderateScale(24)
1014
1015
  }))
1015
- ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$x.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
1016
+ ), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$z.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
1016
1017
  Pressable,
1017
1018
  {
1018
1019
  key: id,
@@ -1022,7 +1023,7 @@ const CustomDropdown$1 = ({
1022
1023
  oneSelect({ id, value, label: label2 });
1023
1024
  },
1024
1025
  style: [
1025
- styles$x.item,
1026
+ styles$z.item,
1026
1027
  {
1027
1028
  backgroundColor: id === selectedValue?.id ? DHRE_COLORS_BG.DH_GREY1 : DHRE_COLORS_TEXT.DH_WHITE
1028
1029
  }
@@ -1031,7 +1032,7 @@ const CustomDropdown$1 = ({
1031
1032
  iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
1032
1033
  width: moderateScale(24),
1033
1034
  height: moderateScale(24),
1034
- style: styles$x.iconStyle
1035
+ style: styles$z.iconStyle
1035
1036
  })),
1036
1037
  /* @__PURE__ */ React.createElement(
1037
1038
  CustomTypography,
@@ -1046,7 +1047,7 @@ const CustomDropdown$1 = ({
1046
1047
  ))));
1047
1048
  };
1048
1049
 
1049
- const styles$w = StyleSheet.create({
1050
+ const styles$y = StyleSheet.create({
1050
1051
  labelStyle: {
1051
1052
  color: DHRE_COLORS_TEXT.DH_TEXTDARK
1052
1053
  },
@@ -1128,18 +1129,18 @@ const CustomTextInput = ({
1128
1129
  CustomTypography,
1129
1130
  {
1130
1131
  variant: "P3medium",
1131
- style: [styles$w.labelStyle, disabled && styles$w.disableTextStyle],
1132
+ style: [styles$y.labelStyle, disabled && styles$y.disableTextStyle],
1132
1133
  text: label
1133
1134
  }
1134
1135
  ), /* @__PURE__ */ React.createElement(
1135
1136
  View,
1136
1137
  {
1137
1138
  style: [
1138
- styles$w.inputContainer,
1139
- isFocused && styles$w.inputFocused,
1140
- error && styles$w.inputError,
1141
- disabled && styles$w.disableInputStyle,
1142
- successMessage ? styles$w.inputSucess : {},
1139
+ styles$y.inputContainer,
1140
+ isFocused && styles$y.inputFocused,
1141
+ error && styles$y.inputError,
1142
+ disabled && styles$y.disableInputStyle,
1143
+ successMessage ? styles$y.inputSucess : {},
1143
1144
  {
1144
1145
  height: multiline ? 120 : 48,
1145
1146
  alignItems: multiline ? "flex-start" : "center"
@@ -1149,7 +1150,7 @@ const CustomTextInput = ({
1149
1150
  isSearchBar && searchIcon && React.cloneElement(searchIcon, {
1150
1151
  width: moderateScale(24),
1151
1152
  height: moderateScale(24),
1152
- style: styles$w.searchIconStyle
1153
+ style: styles$y.searchIconStyle
1153
1154
  }),
1154
1155
  /* @__PURE__ */ React.createElement(
1155
1156
  TextInput,
@@ -1157,7 +1158,7 @@ const CustomTextInput = ({
1157
1158
  ...props,
1158
1159
  onFocus,
1159
1160
  onBlur,
1160
- style: styles$w.input,
1161
+ style: styles$y.input,
1161
1162
  placeholderTextColor: DHRE_COLORS_TEXT.DH_TEXTLIGHTEST,
1162
1163
  editable: !disabled,
1163
1164
  value,
@@ -1190,7 +1191,7 @@ const CustomTextInput = ({
1190
1191
  ));
1191
1192
  };
1192
1193
 
1193
- const styles$v = StyleSheet.create({
1194
+ const styles$x = StyleSheet.create({
1194
1195
  tooltipContainerStyle: {
1195
1196
  flex: 1,
1196
1197
  borderRadius: moderateScale(16),
@@ -1219,18 +1220,18 @@ const CustomTooltip = ({
1219
1220
  iconStyle,
1220
1221
  iconColor = DHRE_COLORS_TEXT.DH_BLACK
1221
1222
  }) => {
1222
- const defaultPopoverContent = /* @__PURE__ */ React.createElement(View, { style: styles$v.mesageContainer, testID: testId }, /* @__PURE__ */ React.createElement(
1223
+ const defaultPopoverContent = /* @__PURE__ */ React.createElement(View, { style: styles$x.mesageContainer, testID: testId }, /* @__PURE__ */ React.createElement(
1223
1224
  CustomTypography,
1224
1225
  {
1225
1226
  variant: "P4regular",
1226
- style: styles$v.messageStyle,
1227
+ style: styles$x.messageStyle,
1227
1228
  text: message
1228
1229
  }
1229
1230
  ), icon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(icon, { fill: iconColor })));
1230
1231
  return /* @__PURE__ */ React.createElement(
1231
1232
  Tooltip,
1232
1233
  {
1233
- containerStyle: styles$v.tooltipContainerStyle,
1234
+ containerStyle: styles$x.tooltipContainerStyle,
1234
1235
  backgroundColor,
1235
1236
  popover: popoverContent || defaultPopoverContent,
1236
1237
  actionType
@@ -1239,7 +1240,7 @@ const CustomTooltip = ({
1239
1240
  );
1240
1241
  };
1241
1242
 
1242
- const styles$u = StyleSheet.create({
1243
+ const styles$w = StyleSheet.create({
1243
1244
  container: {
1244
1245
  backgroundColor: DHRE_COLORS_TEXT.DH_BLACK,
1245
1246
  paddingHorizontal: horizontalScale(16),
@@ -1289,21 +1290,21 @@ const FileUpload = ({
1289
1290
  return /* @__PURE__ */ React.createElement(
1290
1291
  View,
1291
1292
  {
1292
- style: [styles$u.container, containerStyle],
1293
+ style: [styles$w.container, containerStyle],
1293
1294
  testID: "file-upload-container"
1294
1295
  },
1295
- /* @__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(
1296
+ /* @__PURE__ */ React.createElement(View, { style: styles$w.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$w.title, text: title }), /* @__PURE__ */ React.createElement(
1296
1297
  CustomTypography,
1297
1298
  {
1298
1299
  variant: "P4regular",
1299
- style: styles$u.description,
1300
+ style: styles$w.description,
1300
1301
  text: `Drop files directly here or `
1301
1302
  }
1302
1303
  ), /* @__PURE__ */ React.createElement(
1303
1304
  CustomTypography,
1304
1305
  {
1305
1306
  variant: "P4regular",
1306
- style: styles$u.browse,
1307
+ style: styles$w.browse,
1307
1308
  text: btnText
1308
1309
  }
1309
1310
  ), /* @__PURE__ */ React.createElement(
@@ -1311,14 +1312,14 @@ const FileUpload = ({
1311
1312
  {
1312
1313
  testID: "file-upload-description",
1313
1314
  variant: "P4regular",
1314
- style: styles$u.description,
1315
+ style: styles$w.description,
1315
1316
  text: ` from your device`
1316
1317
  }
1317
1318
  )),
1318
1319
  /* @__PURE__ */ React.createElement(
1319
1320
  Pressable,
1320
1321
  {
1321
- style: styles$u.button,
1322
+ style: styles$w.button,
1322
1323
  onPress: onUpload,
1323
1324
  testID: "file-upload-button"
1324
1325
  },
@@ -1326,7 +1327,7 @@ const FileUpload = ({
1326
1327
  CustomTypography,
1327
1328
  {
1328
1329
  variant: "B2semiBold",
1329
- style: styles$u.buttonText,
1330
+ style: styles$w.buttonText,
1330
1331
  text: btnText
1331
1332
  }
1332
1333
  )
@@ -1338,7 +1339,7 @@ const PdfView = (props) => {
1338
1339
  return /* @__PURE__ */ React.createElement(Pdf, { ...props });
1339
1340
  };
1340
1341
 
1341
- const styles$t = StyleSheet.create({
1342
+ const styles$v = StyleSheet.create({
1342
1343
  container: {
1343
1344
  padding: horizontalScale(20),
1344
1345
  marginHorizontal: horizontalScale(16),
@@ -1394,39 +1395,39 @@ const PopUp = ({
1394
1395
  leftButtonShown = false,
1395
1396
  rightButtonShown = false
1396
1397
  }) => {
1397
- return /* @__PURE__ */ React.createElement(View, { testID, style: styles$t.container }, title ? /* @__PURE__ */ React.createElement(
1398
+ return /* @__PURE__ */ React.createElement(View, { testID, style: styles$v.container }, title ? /* @__PURE__ */ React.createElement(
1398
1399
  CustomTypography,
1399
1400
  {
1400
- style: styles$t.subTitleBelow,
1401
+ style: styles$v.subTitleBelow,
1401
1402
  variant: "H6semiBold",
1402
1403
  text: title
1403
1404
  }
1404
1405
  ) : null, subtitle ? /* @__PURE__ */ React.createElement(
1405
1406
  CustomTypography,
1406
1407
  {
1407
- style: styles$t.subtitle,
1408
+ style: styles$v.subtitle,
1408
1409
  variant: "P3regular",
1409
1410
  text: subtitle
1410
1411
  }
1411
- ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$t.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
1412
+ ) : null, /* @__PURE__ */ React.createElement(View, { style: styles$v.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
1412
1413
  Pressable,
1413
1414
  {
1414
1415
  testID: "Left-Button-Press",
1415
- style: styles$t.buttonLeft,
1416
+ style: styles$v.buttonLeft,
1416
1417
  onPress: onButtonPress
1417
1418
  },
1418
1419
  /* @__PURE__ */ React.createElement(
1419
1420
  CustomTypography,
1420
1421
  {
1421
- style: styles$t.buttonLeftText,
1422
+ style: styles$v.buttonLeftText,
1422
1423
  variant: "B2semiBold",
1423
1424
  text: buttonText
1424
1425
  }
1425
1426
  )
1426
- ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$t.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
1427
+ ) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$v.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
1427
1428
  CustomTypography,
1428
1429
  {
1429
- style: styles$t.buttonText,
1430
+ style: styles$v.buttonText,
1430
1431
  variant: "B2semiBold",
1431
1432
  text: buttonText
1432
1433
  }
@@ -1464,7 +1465,7 @@ const CustomProgressBar = ({
1464
1465
  return () => clearInterval(progressInterval);
1465
1466
  }, [progress, value, increment, interval]);
1466
1467
  const showPercentage = () => {
1467
- return /* @__PURE__ */ React.createElement(View, { style: styles$s.flexDirection }, /* @__PURE__ */ React.createElement(
1468
+ return /* @__PURE__ */ React.createElement(View, { style: styles$u.flexDirection }, /* @__PURE__ */ React.createElement(
1468
1469
  CustomText$1,
1469
1470
  {
1470
1471
  text: `${value}%`,
@@ -1518,7 +1519,7 @@ const CustomProgressBar = ({
1518
1519
  };
1519
1520
  return /* @__PURE__ */ React.createElement(View, { testID: "custom-progress-bar" }, renderProgressBar());
1520
1521
  };
1521
- const styles$s = StyleSheet.create({
1522
+ const styles$u = StyleSheet.create({
1522
1523
  flexDirection: {
1523
1524
  flexDirection: "column",
1524
1525
  justifyContent: "center",
@@ -1526,7 +1527,7 @@ const styles$s = StyleSheet.create({
1526
1527
  }
1527
1528
  });
1528
1529
 
1529
- const styles$r = StyleSheet.create({
1530
+ const styles$t = StyleSheet.create({
1530
1531
  container: {
1531
1532
  flexDirection: "row",
1532
1533
  alignItems: "center"
@@ -1592,13 +1593,13 @@ const Star = ({
1592
1593
  emptyStarColor
1593
1594
  );
1594
1595
  stars.push(
1595
- /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$r.star, starStyle] }, starType)
1596
+ /* @__PURE__ */ React.createElement(View, { key: i, style: [styles$t.star, starStyle] }, starType)
1596
1597
  );
1597
1598
  }
1598
- return /* @__PURE__ */ React.createElement(View, { style: styles$r.container, testID: "star" }, stars);
1599
+ return /* @__PURE__ */ React.createElement(View, { style: styles$t.container, testID: "star" }, stars);
1599
1600
  };
1600
1601
 
1601
- var styles$q = StyleSheet.create({
1602
+ var styles$s = StyleSheet.create({
1602
1603
  container: {
1603
1604
  flexDirection: "row",
1604
1605
  gap: horizontalScale(5),
@@ -1640,12 +1641,12 @@ const Tabs = ({
1640
1641
  onSelectionChange(selectedTabs);
1641
1642
  }
1642
1643
  };
1643
- return /* @__PURE__ */ React.createElement(View, { style: [styles$q.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
1644
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$s.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
1644
1645
  Pressable,
1645
1646
  {
1646
1647
  key: id,
1647
1648
  style: {
1648
- ...styles$q.button,
1649
+ ...styles$s.button,
1649
1650
  backgroundColor: isSelected ? theme.CONTENT_PRIMARY : theme.CONTENT_INVERTED,
1650
1651
  borderColor: isSelected ? theme.CONTENT_INVERTED : theme.CONTENT_SECONDRY
1651
1652
  },
@@ -1665,7 +1666,7 @@ const Tabs = ({
1665
1666
  };
1666
1667
  var Tabs$1 = withThemeProvider(Tabs);
1667
1668
 
1668
- const styles$p = StyleSheet.create({
1669
+ const styles$r = StyleSheet.create({
1669
1670
  container: {
1670
1671
  width: "100%"
1671
1672
  },
@@ -1724,8 +1725,8 @@ const Tags = ({
1724
1725
  ScrollView,
1725
1726
  {
1726
1727
  testID,
1727
- style: styles$p.container,
1728
- contentContainerStyle: styles$p.contentContainer,
1728
+ style: styles$r.container,
1729
+ contentContainerStyle: styles$r.contentContainer,
1729
1730
  horizontal: false
1730
1731
  },
1731
1732
  tags?.map((tag) => /* @__PURE__ */ React.createElement(
@@ -1735,16 +1736,16 @@ const Tags = ({
1735
1736
  key: tag,
1736
1737
  onPress: () => toggleTag(tag),
1737
1738
  style: [
1738
- styles$p.tag,
1739
+ styles$r.tag,
1739
1740
  tagStyles,
1740
- selectedTags.includes(tag) ? styles$p.selectedTag : styles$p.tagUnSelected
1741
+ selectedTags.includes(tag) ? styles$r.selectedTag : styles$r.tagUnSelected
1741
1742
  ]
1742
1743
  },
1743
1744
  /* @__PURE__ */ React.createElement(
1744
1745
  CustomTypography,
1745
1746
  {
1746
1747
  variant: selectedTags.includes(tag) ? "H9semiBold" : "P4regular",
1747
- style: selectedTags.includes(tag) ? styles$p.tagText : styles$p.tagUnselectedText,
1748
+ style: selectedTags.includes(tag) ? styles$r.tagText : styles$r.tagUnselectedText,
1748
1749
  text: tag
1749
1750
  }
1750
1751
  ),
@@ -1760,7 +1761,7 @@ const Tags = ({
1760
1761
  );
1761
1762
  };
1762
1763
 
1763
- const styles$o = StyleSheet.create({
1764
+ const styles$q = StyleSheet.create({
1764
1765
  container: {
1765
1766
  width: horizontalScale(70),
1766
1767
  height: verticalScale(25),
@@ -1825,26 +1826,26 @@ const CustomSwitch = ({
1825
1826
  Pressable,
1826
1827
  {
1827
1828
  onPress: toggleSwitch,
1828
- style: [styles$o.container, { width }],
1829
+ style: [styles$q.container, { width }],
1829
1830
  testID: "custom-switch"
1830
1831
  },
1831
1832
  /* @__PURE__ */ React.createElement(
1832
1833
  View,
1833
1834
  {
1834
1835
  style: [
1835
- styles$o.track,
1836
+ styles$q.track,
1836
1837
  {
1837
1838
  backgroundColor: isOn ? DHRE_COLORS_ALERT.DH_SUCCESS_GREEN_ACCENT : DHRE_COLORS_TEXT.DH_TEXTDISABLED
1838
1839
  }
1839
1840
  ]
1840
1841
  },
1841
- /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$o.thumb, animatedStyle] }),
1842
+ /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$q.thumb, animatedStyle] }),
1842
1843
  type !== ToggleButtonType.SMALL && /* @__PURE__ */ React.createElement(
1843
1844
  CustomTypography,
1844
1845
  {
1845
1846
  variant: "B3semiBold",
1846
1847
  style: [
1847
- styles$o.text,
1848
+ styles$q.text,
1848
1849
  { textAlign: isOn ? TextDirectType.left : TextDirectType.right }
1849
1850
  ],
1850
1851
  text: isOn ? ToggleTextType.ON : ToggleTextType.OFF
@@ -1854,7 +1855,7 @@ const CustomSwitch = ({
1854
1855
  );
1855
1856
  };
1856
1857
 
1857
- const styles$n = StyleSheet.create({
1858
+ const styles$p = StyleSheet.create({
1858
1859
  container: {
1859
1860
  paddingVertical: verticalScale(24),
1860
1861
  borderBottomWidth: moderateScale(1),
@@ -1887,7 +1888,8 @@ const Accordion = ({
1887
1888
  // Destructure the new prop,
1888
1889
  headerComponent,
1889
1890
  disabled = false,
1890
- icon
1891
+ icon,
1892
+ onHeaderPress
1891
1893
  }) => {
1892
1894
  const contentRef = useRef(null);
1893
1895
  const [animation] = useState(new Animated.Value(0));
@@ -1910,26 +1912,18 @@ const Accordion = ({
1910
1912
  inputRange: [0, 1],
1911
1913
  outputRange: [0, contentHeight]
1912
1914
  });
1913
- return /* @__PURE__ */ React.createElement(View, { style: [styles$n.container, containerStyle], testID: testId }, /* @__PURE__ */ React.createElement(
1914
- Pressable,
1915
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$p.container, containerStyle], testID: testId }, /* @__PURE__ */ React.createElement(View, { style: [styles$p.header, headerStyle, disabled && { opacity: 0.5 }] }, headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(Pressable, { onPress: onHeaderPress }, /* @__PURE__ */ React.createElement(
1916
+ CustomTypography,
1915
1917
  {
1916
- style: [styles$n.header, headerStyle, disabled && { opacity: 0.5 }],
1917
- onPress: !disabled ? onToggle : void 0
1918
- },
1919
- headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(
1920
- CustomTypography,
1921
- {
1922
- variant: "B4_REGULAR",
1923
- text: title,
1924
- style: [styles$n.title, titleStyle]
1925
- }
1926
- ),
1927
- React.cloneElement(icon, {
1928
- width: moderateScale(20),
1929
- height: moderateScale(20),
1930
- style: styles$n.iconStyle
1931
- })
1932
- ), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$n.content, { height: cardHeight }] }, /* @__PURE__ */ React.createElement(
1918
+ variant: "B4_REGULAR",
1919
+ text: title,
1920
+ style: [styles$p.title, titleStyle]
1921
+ }
1922
+ )), /* @__PURE__ */ React.createElement(Pressable, { onPress: !disabled ? onToggle : void 0 }, React.cloneElement(icon, {
1923
+ width: moderateScale(20),
1924
+ height: moderateScale(20),
1925
+ style: styles$p.iconStyle
1926
+ }))), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$p.content, { height: cardHeight }] }, /* @__PURE__ */ React.createElement(
1933
1927
  View,
1934
1928
  {
1935
1929
  ref: contentRef,
@@ -1941,7 +1935,7 @@ const Accordion = ({
1941
1935
  )));
1942
1936
  };
1943
1937
 
1944
- const styles$m = StyleSheet.create({
1938
+ const styles$o = StyleSheet.create({
1945
1939
  container: {
1946
1940
  position: "absolute",
1947
1941
  alignSelf: "center",
@@ -2023,23 +2017,23 @@ const Toast = React.forwardRef(({ sucessIcon, errorIcon }, ref) => {
2023
2017
  Animated.View,
2024
2018
  {
2025
2019
  style: [
2026
- styles$m.container,
2020
+ styles$o.container,
2027
2021
  { bottom },
2028
2022
  { backgroundColor: isSuccess ? "#04743F" : "#DB3056" }
2029
2023
  ],
2030
2024
  testID: "TOAST"
2031
2025
  },
2032
- /* @__PURE__ */ React.createElement(View, { style: styles$m.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$m.innerContainer }, isSuccess ? sucessIcon : errorIcon, /* @__PURE__ */ React.createElement(
2026
+ /* @__PURE__ */ React.createElement(View, { style: styles$o.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$o.innerContainer }, isSuccess ? sucessIcon : errorIcon, /* @__PURE__ */ React.createElement(
2033
2027
  CustomTypography,
2034
2028
  {
2035
2029
  variant: "L2_REGULAR",
2036
2030
  text: message,
2037
- style: styles$m.messageText
2031
+ style: styles$o.messageText
2038
2032
  }
2039
2033
  ), btnText && /* @__PURE__ */ React.createElement(
2040
2034
  Pressable,
2041
2035
  {
2042
- style: styles$m.button,
2036
+ style: styles$o.button,
2043
2037
  onPress: onBtnPress || void 0,
2044
2038
  testID: "TOAST-BTN"
2045
2039
  },
@@ -2048,7 +2042,7 @@ const Toast = React.forwardRef(({ sucessIcon, errorIcon }, ref) => {
2048
2042
  {
2049
2043
  variant: "L2_BOLD",
2050
2044
  text: btnText,
2051
- style: styles$m.buttonText
2045
+ style: styles$o.buttonText
2052
2046
  }
2053
2047
  )
2054
2048
  ))),
@@ -2066,7 +2060,7 @@ const Toast = React.forwardRef(({ sucessIcon, errorIcon }, ref) => {
2066
2060
  });
2067
2061
  Toast.displayName = "Toast";
2068
2062
 
2069
- const styles$l = StyleSheet.create({
2063
+ const styles$n = StyleSheet.create({
2070
2064
  inputContainer: {
2071
2065
  flexDirection: "row",
2072
2066
  justifyContent: "center",
@@ -2110,7 +2104,7 @@ const CustomSearchBar = ({
2110
2104
  {
2111
2105
  testID,
2112
2106
  style: [
2113
- styles$l.inputContainer,
2107
+ styles$n.inputContainer,
2114
2108
  {
2115
2109
  height: verticalScale(height),
2116
2110
  borderColor: disabled ? disableBorderColor : value ? borderColor : "#A7A7A7"
@@ -2130,7 +2124,7 @@ const CustomSearchBar = ({
2130
2124
  React.cloneElement(searchIcon, {
2131
2125
  width: moderateScale(24),
2132
2126
  height: moderateScale(24),
2133
- style: [styles$l.searchIconStyle, searchIconStyle]
2127
+ style: [styles$n.searchIconStyle, searchIconStyle]
2134
2128
  })
2135
2129
  ),
2136
2130
  /* @__PURE__ */ React.createElement(
@@ -2138,7 +2132,7 @@ const CustomSearchBar = ({
2138
2132
  {
2139
2133
  ...props,
2140
2134
  testID: `${testID}-INPUT`,
2141
- style: [styles$l.input, inputStyle],
2135
+ style: [styles$n.input, inputStyle],
2142
2136
  editable: !disabled,
2143
2137
  value,
2144
2138
  placeholderTextColor: disabled ? disablePlaceHolderStyle : enablePlaceHolderStyle,
@@ -2160,13 +2154,13 @@ const CustomSearchBar = ({
2160
2154
  React.cloneElement(rightIcon, {
2161
2155
  // width: moderateScale(24),
2162
2156
  // height: moderateScale(24),
2163
- style: [styles$l.crossIconStyle, crossIconStyle]
2157
+ style: [styles$n.crossIconStyle, crossIconStyle]
2164
2158
  })
2165
2159
  )
2166
2160
  );
2167
2161
  };
2168
2162
 
2169
- const styles$k = StyleSheet.create({
2163
+ const styles$m = StyleSheet.create({
2170
2164
  container: {
2171
2165
  flexDirection: "row",
2172
2166
  justifyContent: "space-between",
@@ -2198,27 +2192,27 @@ const CustomHeader = ({
2198
2192
  onLeftPress,
2199
2193
  onRightPress
2200
2194
  }) => {
2201
- return /* @__PURE__ */ React.createElement(View, { style: styles$k.container, testID: testId }, /* @__PURE__ */ React.createElement(View, { style: styles$k.headderContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
2195
+ return /* @__PURE__ */ React.createElement(View, { style: styles$m.container, testID: testId }, /* @__PURE__ */ React.createElement(View, { style: styles$m.headderContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
2202
2196
  width: moderateScale(24),
2203
2197
  height: moderateScale(24),
2204
2198
  onPress: onLeftPress,
2205
- style: styles$k.leftIconStyle
2199
+ style: styles$m.leftIconStyle
2206
2200
  }) : null, /* @__PURE__ */ React.createElement(
2207
2201
  CustomTypography,
2208
2202
  {
2209
2203
  variant: "B2_REGULAR",
2210
2204
  text: title,
2211
- style: styles$k.headerTitle
2205
+ style: styles$m.headerTitle
2212
2206
  }
2213
2207
  )), showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
2214
2208
  width: moderateScale(24),
2215
2209
  height: moderateScale(24),
2216
2210
  onPress: onRightPress,
2217
- style: styles$k.rightIconStyle
2211
+ style: styles$m.rightIconStyle
2218
2212
  }) : null);
2219
2213
  };
2220
2214
 
2221
- const styles$j = StyleSheet.create({
2215
+ const styles$l = StyleSheet.create({
2222
2216
  container: {
2223
2217
  flex: 1
2224
2218
  },
@@ -2279,19 +2273,19 @@ const SwipableList = (props) => {
2279
2273
  {
2280
2274
  testID,
2281
2275
  onPress,
2282
- style: [styles$j.actionButton, style]
2276
+ style: [styles$l.actionButton, style]
2283
2277
  },
2284
2278
  icon,
2285
2279
  /* @__PURE__ */ React.createElement(
2286
2280
  CustomTypography,
2287
2281
  {
2288
2282
  variant: "L1_REGULAR",
2289
- style: [styles$j.titleStyle, titleStyle],
2283
+ style: [styles$l.titleStyle, titleStyle],
2290
2284
  text: title
2291
2285
  }
2292
2286
  )
2293
2287
  );
2294
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: [styles$j.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2288
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: [styles$l.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2295
2289
  ActionButton,
2296
2290
  {
2297
2291
  icon: leftPrimaryActionIcon,
@@ -2310,7 +2304,7 @@ const SwipableList = (props) => {
2310
2304
  testID: `${testId}-LEFT-SECONDARY-${item.id}`
2311
2305
  }
2312
2306
  ));
2313
- const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$j.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2307
+ const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$l.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
2314
2308
  ActionButton,
2315
2309
  {
2316
2310
  icon: rightPrimaryActionIcon,
@@ -2320,7 +2314,7 @@ const SwipableList = (props) => {
2320
2314
  testID: `${testId}-RIGHT-PRIMARY-${item.id}`
2321
2315
  }
2322
2316
  ));
2323
- const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$j.container }, /* @__PURE__ */ React.createElement(
2317
+ const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$l.container }, /* @__PURE__ */ React.createElement(
2324
2318
  Swipeable,
2325
2319
  {
2326
2320
  renderLeftActions: () => leftActionHandle(
@@ -2331,7 +2325,7 @@ const SwipableList = (props) => {
2331
2325
  item.isRead ? leftSecondaryActionInActiveTitle : leftSecondaryActionActiveTitle
2332
2326
  ),
2333
2327
  renderRightActions: () => rightActionHandle(item),
2334
- containerStyle: styles$j.swippableContainer
2328
+ containerStyle: styles$l.swippableContainer
2335
2329
  },
2336
2330
  props?.renderItem(item)
2337
2331
  ));
@@ -2341,12 +2335,12 @@ const SwipableList = (props) => {
2341
2335
  data,
2342
2336
  renderItem,
2343
2337
  keyExtractor: (item) => item.id,
2344
- ItemSeparatorComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$j.seprator })
2338
+ ItemSeparatorComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$l.seprator })
2345
2339
  }
2346
2340
  ));
2347
2341
  };
2348
2342
 
2349
- const styles$i = StyleSheet.create({
2343
+ const styles$k = StyleSheet.create({
2350
2344
  container: {
2351
2345
  justifyContent: "center",
2352
2346
  alignItems: "center"
@@ -2368,7 +2362,7 @@ const CustomIcon = ({
2368
2362
  return /* @__PURE__ */ React.createElement(
2369
2363
  Pressable,
2370
2364
  {
2371
- style: [styles$i.container, containerStyle],
2365
+ style: [styles$k.container, containerStyle],
2372
2366
  onPress,
2373
2367
  testID: testId
2374
2368
  },
@@ -2378,13 +2372,13 @@ const CustomIcon = ({
2378
2372
  {
2379
2373
  variant: titleVariant,
2380
2374
  text: title,
2381
- style: [styles$i.title, titleStyle]
2375
+ style: [styles$k.title, titleStyle]
2382
2376
  }
2383
2377
  )
2384
2378
  );
2385
2379
  };
2386
2380
 
2387
- const styles$h = StyleSheet.create({
2381
+ const styles$j = StyleSheet.create({
2388
2382
  container: {
2389
2383
  flex: 1,
2390
2384
  justifyContent: "center",
@@ -2399,7 +2393,7 @@ const styles$h = StyleSheet.create({
2399
2393
 
2400
2394
  const CustomLoader = ({ loading }) => {
2401
2395
  if (!loading) return null;
2402
- return /* @__PURE__ */ React.createElement(View, { style: styles$h.container }, /* @__PURE__ */ React.createElement(ActivityIndicator, { size: "large", color: "#686868" }));
2396
+ return /* @__PURE__ */ React.createElement(View, { style: styles$j.container }, /* @__PURE__ */ React.createElement(ActivityIndicator, { size: "large", color: "#686868" }));
2403
2397
  };
2404
2398
 
2405
2399
  const HorizontalLine = ({ style }) => {
@@ -2408,14 +2402,14 @@ const HorizontalLine = ({ style }) => {
2408
2402
  View,
2409
2403
  {
2410
2404
  style: [
2411
- styles$g.line,
2405
+ styles$i.line,
2412
2406
  { backgroundColor: theme["SURFACE_SECONDARY"] },
2413
2407
  style
2414
2408
  ]
2415
2409
  }
2416
2410
  );
2417
2411
  };
2418
- const styles$g = StyleSheet.create({
2412
+ const styles$i = StyleSheet.create({
2419
2413
  line: {
2420
2414
  height: 1,
2421
2415
  width: "100%"
@@ -2435,14 +2429,14 @@ const Topic = ({
2435
2429
  TouchableOpacity,
2436
2430
  {
2437
2431
  style: [
2438
- styles$f.button,
2432
+ styles$h.button,
2439
2433
  { backgroundColor: theme["SURFACE_SECONDARY"] },
2440
2434
  containterStyle
2441
2435
  ],
2442
2436
  onPress
2443
2437
  },
2444
- rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$f.rightIconContainer }, React.cloneElement(rightIcon)),
2445
- /* @__PURE__ */ React.createElement(View, { style: styles$f.textContainer }, subTitle && /* @__PURE__ */ React.createElement(
2438
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$h.rightIconContainer }, React.cloneElement(rightIcon)),
2439
+ /* @__PURE__ */ React.createElement(View, { style: styles$h.textContainer }, subTitle && /* @__PURE__ */ React.createElement(
2446
2440
  CustomText$1,
2447
2441
  {
2448
2442
  text: subTitle,
@@ -2459,7 +2453,7 @@ const Topic = ({
2459
2453
  ))
2460
2454
  );
2461
2455
  };
2462
- const styles$f = StyleSheet.create({
2456
+ const styles$h = StyleSheet.create({
2463
2457
  button: {
2464
2458
  flexDirection: "row",
2465
2459
  alignItems: "center",
@@ -2540,14 +2534,14 @@ const ContactModal = ({
2540
2534
  const renderEmailOptions = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
2541
2535
  CustomText$1,
2542
2536
  {
2543
- style: styles$e.title,
2537
+ style: styles$g.title,
2544
2538
  text: "Open email app",
2545
2539
  variant: "L2_REGULAR"
2546
2540
  }
2547
2541
  ), /* @__PURE__ */ React.createElement(
2548
2542
  CustomText$1,
2549
2543
  {
2550
- style: styles$e.subtitle,
2544
+ style: styles$g.subtitle,
2551
2545
  text: "Which app would you like to open?",
2552
2546
  variant: "L2_REGULAR"
2553
2547
  }
@@ -2555,33 +2549,33 @@ const ContactModal = ({
2555
2549
  Pressable,
2556
2550
  {
2557
2551
  onPress: () => handleOptionPress(),
2558
- style: styles$e.optionButton
2552
+ style: styles$g.optionButton
2559
2553
  },
2560
2554
  /* @__PURE__ */ React.createElement(
2561
2555
  CustomText$1,
2562
2556
  {
2563
- style: styles$e.optionText,
2557
+ style: styles$g.optionText,
2564
2558
  text: option,
2565
2559
  variant: "B3_BOLD"
2566
2560
  }
2567
2561
  )
2568
2562
  ))));
2569
- 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(
2563
+ const renderContent = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: styles$g.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React.createElement(Pressable, { onPress: handleCall, style: styles$g.optionButton }, /* @__PURE__ */ React.createElement(
2570
2564
  CustomText$1,
2571
2565
  {
2572
- style: styles$e.optionText,
2566
+ style: styles$g.optionText,
2573
2567
  text: `Call ${phoneNumber}`,
2574
2568
  variant: "B3_BOLD"
2575
2569
  }
2576
- ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$e.cancelButton }, /* @__PURE__ */ React.createElement(
2570
+ ))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$g.cancelButton }, /* @__PURE__ */ React.createElement(
2577
2571
  CustomText$1,
2578
2572
  {
2579
- style: styles$e.cancelText,
2573
+ style: styles$g.cancelText,
2580
2574
  text: "Cancel",
2581
2575
  variant: "B2_REGULAR"
2582
2576
  }
2583
2577
  )));
2584
- return /* @__PURE__ */ React.createElement(View, { style: styles$e.container }, /* @__PURE__ */ React.createElement(
2578
+ return /* @__PURE__ */ React.createElement(View, { style: styles$g.container }, /* @__PURE__ */ React.createElement(
2585
2579
  Modal,
2586
2580
  {
2587
2581
  animationType: "slide",
@@ -2589,10 +2583,10 @@ const ContactModal = ({
2589
2583
  visible,
2590
2584
  onRequestClose: onClose
2591
2585
  },
2592
- /* @__PURE__ */ React.createElement(View, { style: styles$e.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$e.modalContent }, renderContent()))
2586
+ /* @__PURE__ */ React.createElement(View, { style: styles$g.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$g.modalContent }, renderContent()))
2593
2587
  ));
2594
2588
  };
2595
- const styles$e = StyleSheet.create({
2589
+ const styles$g = StyleSheet.create({
2596
2590
  container: {
2597
2591
  flex: 1,
2598
2592
  justifyContent: "center",
@@ -2648,7 +2642,7 @@ const styles$e = StyleSheet.create({
2648
2642
  });
2649
2643
  var ContactModel = withThemeProvider(ContactModal);
2650
2644
 
2651
- const styles$d = StyleSheet.create({
2645
+ const styles$f = StyleSheet.create({
2652
2646
  applyButton: {
2653
2647
  marginTop: verticalScale(24),
2654
2648
  height: verticalScale(48),
@@ -2739,8 +2733,8 @@ const DateRangePicker = (props) => {
2739
2733
  onPress: () => {
2740
2734
  onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
2741
2735
  },
2742
- containerStyle: styles$d.applyButton,
2743
- textStyle: styles$d.applyButtonText,
2736
+ containerStyle: styles$f.applyButton,
2737
+ textStyle: styles$f.applyButtonText,
2744
2738
  disabled: isButtonDisabled
2745
2739
  }
2746
2740
  ));
@@ -2763,20 +2757,20 @@ const OurOfficesButton = ({
2763
2757
  TouchableOpacity,
2764
2758
  {
2765
2759
  style: [
2766
- styles$c.button,
2760
+ styles$e.button,
2767
2761
  { backgroundColor: theme["SURFACE_SECONDARY"] },
2768
2762
  containerStyle
2769
2763
  ],
2770
2764
  onPress
2771
2765
  },
2772
- leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.iconContainer }, React.cloneElement(leftIcon)),
2773
- /* @__PURE__ */ React.createElement(View, { style: styles$c.textContainer }, /* @__PURE__ */ React.createElement(
2766
+ leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$e.iconContainer }, React.cloneElement(leftIcon)),
2767
+ /* @__PURE__ */ React.createElement(View, { style: styles$e.textContainer }, /* @__PURE__ */ React.createElement(
2774
2768
  CustomText$1,
2775
2769
  {
2776
2770
  text: title,
2777
2771
  variant: titleVariant,
2778
2772
  textColor: titleColor,
2779
- style: styles$c.textView
2773
+ style: styles$e.textView
2780
2774
  }
2781
2775
  ), /* @__PURE__ */ React.createElement(
2782
2776
  CustomText$1,
@@ -2784,13 +2778,13 @@ const OurOfficesButton = ({
2784
2778
  text: description,
2785
2779
  variant: descriptionVariant,
2786
2780
  textColor: descriptionColor,
2787
- style: styles$c.flexWrap
2781
+ style: styles$e.flexWrap
2788
2782
  }
2789
2783
  )),
2790
- rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.rightIconContainer }, React.cloneElement(rightIcon))
2784
+ rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$e.rightIconContainer }, React.cloneElement(rightIcon))
2791
2785
  );
2792
2786
  };
2793
- const styles$c = StyleSheet.create({
2787
+ const styles$e = StyleSheet.create({
2794
2788
  button: {
2795
2789
  flexDirection: "row",
2796
2790
  alignItems: "center",
@@ -2814,7 +2808,7 @@ const styles$c = StyleSheet.create({
2814
2808
  });
2815
2809
  var OurOffices = withThemeProvider(OurOfficesButton);
2816
2810
 
2817
- const styles$b = StyleSheet.create({
2811
+ const styles$d = StyleSheet.create({
2818
2812
  iconContainer: {
2819
2813
  position: "relative",
2820
2814
  alignItems: "center"
@@ -2843,7 +2837,7 @@ const NotificationBandge = ({
2843
2837
  if (notificationCount <= 0) {
2844
2838
  return icon;
2845
2839
  }
2846
- return /* @__PURE__ */ React.createElement(View, { style: styles$b.iconContainer }, icon, /* @__PURE__ */ React.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
2840
+ return /* @__PURE__ */ React.createElement(View, { style: styles$d.iconContainer }, icon, /* @__PURE__ */ React.createElement(View, { style: styles$d.badge }, /* @__PURE__ */ React.createElement(Text, { style: [styles$d.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
2847
2841
  };
2848
2842
 
2849
2843
  const ScrollableList = ({
@@ -2861,13 +2855,13 @@ const ScrollableList = ({
2861
2855
  data && data.length > 0 ? data[0].name : null
2862
2856
  );
2863
2857
  const { theme } = useTheme();
2864
- return /* @__PURE__ */ React.createElement(View, { style: [styles$a.container, containerStyle] }, /* @__PURE__ */ React.createElement(
2858
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$c.container, containerStyle] }, /* @__PURE__ */ React.createElement(
2865
2859
  ScrollView,
2866
2860
  {
2867
2861
  horizontal: true,
2868
2862
  showsHorizontalScrollIndicator: false,
2869
2863
  contentContainerStyle: [
2870
- styles$a.scrollViewContent,
2864
+ styles$c.scrollViewContent,
2871
2865
  scrollViewContentStyle
2872
2866
  ]
2873
2867
  },
@@ -2876,10 +2870,10 @@ const ScrollableList = ({
2876
2870
  {
2877
2871
  key: item.value,
2878
2872
  style: [
2879
- styles$a.item,
2873
+ styles$c.item,
2880
2874
  itemStyle,
2881
2875
  (activeTab ?? selectedItem) === item.name && [
2882
- styles$a.selectedItem,
2876
+ styles$c.selectedItem,
2883
2877
  selectedItemStyle
2884
2878
  ]
2885
2879
  ],
@@ -2900,7 +2894,7 @@ const ScrollableList = ({
2900
2894
  View,
2901
2895
  {
2902
2896
  style: [
2903
- styles$a.errorViewStyle,
2897
+ styles$c.errorViewStyle,
2904
2898
  {
2905
2899
  backgroundColor: theme.SURFACE_BRAND_STATIC
2906
2900
  }
@@ -2910,7 +2904,7 @@ const ScrollableList = ({
2910
2904
  ))
2911
2905
  ));
2912
2906
  };
2913
- const styles$a = StyleSheet.create({
2907
+ const styles$c = StyleSheet.create({
2914
2908
  container: {
2915
2909
  paddingVertical: 10
2916
2910
  },
@@ -2937,7 +2931,7 @@ const styles$a = StyleSheet.create({
2937
2931
  });
2938
2932
  var category = withThemeProvider(ScrollableList);
2939
2933
 
2940
- const styles$9 = StyleSheet.create({
2934
+ const styles$b = StyleSheet.create({
2941
2935
  container: {
2942
2936
  flex: 1,
2943
2937
  backgroundColor: "black",
@@ -2990,10 +2984,10 @@ const FeedbackForm = ({
2990
2984
  setFeedback
2991
2985
  }) => {
2992
2986
  const maxChars = 200;
2993
- return /* @__PURE__ */ React.createElement(View, { style: styles$9.container }, /* @__PURE__ */ React.createElement(Text, { style: styles$9.headerText }, title), /* @__PURE__ */ React.createElement(
2987
+ return /* @__PURE__ */ React.createElement(View, { style: styles$b.container }, /* @__PURE__ */ React.createElement(Text, { style: styles$b.headerText }, title), /* @__PURE__ */ React.createElement(
2994
2988
  TextInput,
2995
2989
  {
2996
- style: [styles$9.textInput, { height: Math.max(100) }],
2990
+ style: [styles$b.textInput, { height: Math.max(100) }],
2997
2991
  placeholder: "Would you like to tell us more...",
2998
2992
  placeholderTextColor: "gray",
2999
2993
  multiline: true,
@@ -3007,16 +3001,16 @@ const FeedbackForm = ({
3007
3001
  text: `${feedback.length}/${maxChars} characters`,
3008
3002
  variant: "L2_REGULAR",
3009
3003
  textColor: "CONTENT_SECONDRY",
3010
- style: styles$9.charCounter
3004
+ style: styles$b.charCounter
3011
3005
  }
3012
- ), /* @__PURE__ */ React.createElement(View, { style: styles$9.buttonContainer }, /* @__PURE__ */ React.createElement(Pressable, { style: styles$9.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React.createElement(
3006
+ ), /* @__PURE__ */ React.createElement(View, { style: styles$b.buttonContainer }, /* @__PURE__ */ React.createElement(Pressable, { style: styles$b.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React.createElement(
3013
3007
  CustomText$1,
3014
3008
  {
3015
3009
  text: "Send feedback",
3016
3010
  variant: "L1_REGULAR",
3017
3011
  textColor: "CONTENT_PRIMARY"
3018
3012
  }
3019
- )), /* @__PURE__ */ React.createElement(Pressable, { style: styles$9.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React.createElement(
3013
+ )), /* @__PURE__ */ React.createElement(Pressable, { style: styles$b.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React.createElement(
3020
3014
  CustomText$1,
3021
3015
  {
3022
3016
  text: "Cancel",
@@ -3053,7 +3047,7 @@ const CountryDropDown = ({
3053
3047
  setCallingCode(`+${country.callingCode[0]}`);
3054
3048
  getCountryCode(`+${country.callingCode[0]}`);
3055
3049
  };
3056
- 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(
3050
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(View, { style: [styles$a.container, containerStyle] }, /* @__PURE__ */ React.createElement(View, { style: [styles$a.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React.createElement(
3057
3051
  CountryPicker,
3058
3052
  {
3059
3053
  withFilter: true,
@@ -3067,20 +3061,20 @@ const CountryDropDown = ({
3067
3061
  Text,
3068
3062
  {
3069
3063
  onPress: () => setPickerVisible(true),
3070
- style: [styles$8.callingCode, callingCodeStyle]
3064
+ style: [styles$a.callingCode, callingCodeStyle]
3071
3065
  },
3072
3066
  callingCode
3073
- )), /* @__PURE__ */ React.createElement(View, { style: styles$8.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
3067
+ )), /* @__PURE__ */ React.createElement(View, { style: styles$a.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
3074
3068
  CustomTypography,
3075
3069
  {
3076
3070
  variant: "L2_REGULAR",
3077
3071
  text: label ?? "",
3078
- style: styles$8.floatingLabel
3072
+ style: styles$a.floatingLabel
3079
3073
  }
3080
3074
  ), /* @__PURE__ */ React.createElement(
3081
3075
  TextInput,
3082
3076
  {
3083
- style: [styles$8.input, inputStyle],
3077
+ style: [styles$a.input, inputStyle],
3084
3078
  placeholder: !isFocused ? placeholder : "",
3085
3079
  keyboardType: "phone-pad",
3086
3080
  value,
@@ -3096,13 +3090,13 @@ const CountryDropDown = ({
3096
3090
  variant: "L2_REGULAR",
3097
3091
  text: errorMessage ?? "",
3098
3092
  style: {
3099
- ...styles$8.errorStyle,
3093
+ ...styles$a.errorStyle,
3100
3094
  color: DHRE_DEFAULT.DH_SEMENTIC_ERROR
3101
3095
  }
3102
3096
  }
3103
3097
  ) : null);
3104
3098
  };
3105
- const styles$8 = StyleSheet.create({
3099
+ const styles$a = StyleSheet.create({
3106
3100
  flex: {
3107
3101
  flex: 1
3108
3102
  },
@@ -3166,12 +3160,12 @@ const CommonTextInput = ({
3166
3160
  handlePress,
3167
3161
  pointerEvents
3168
3162
  }) => {
3169
- return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$7.container }, /* @__PURE__ */ React.createElement(
3163
+ return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$9.container }, /* @__PURE__ */ React.createElement(
3170
3164
  TextInput$1,
3171
3165
  {
3172
3166
  mode: "outlined",
3173
3167
  outlineStyle: {
3174
- ...styles$7.outlineStyle,
3168
+ ...styles$9.outlineStyle,
3175
3169
  borderColor: value?.length ? activeBorderColor : inactiveBorderColor
3176
3170
  },
3177
3171
  label,
@@ -3184,7 +3178,7 @@ const CommonTextInput = ({
3184
3178
  primary: labelColor ? labelColor : DHRE_COLORS_TEXT.DH_BLACK
3185
3179
  }
3186
3180
  },
3187
- style: [errorMessage ? styles$7.errorInput : styles$7.input, inputStyle],
3181
+ style: [errorMessage ? styles$9.errorInput : styles$9.input, inputStyle],
3188
3182
  maxLength,
3189
3183
  textColor,
3190
3184
  placeholder: placeholderText,
@@ -3197,13 +3191,13 @@ const CommonTextInput = ({
3197
3191
  variant: "L2_REGULAR",
3198
3192
  text: errorMessage ?? "",
3199
3193
  style: {
3200
- ...styles$7.errorStyle,
3194
+ ...styles$9.errorStyle,
3201
3195
  color: DHRE_DEFAULT.DH_SEMENTIC_ERROR
3202
3196
  }
3203
3197
  }
3204
3198
  ) : null);
3205
3199
  };
3206
- const styles$7 = StyleSheet.create({
3200
+ const styles$9 = StyleSheet.create({
3207
3201
  container: {
3208
3202
  justifyContent: "center"
3209
3203
  },
@@ -3264,7 +3258,7 @@ const CustomDropdown = ({
3264
3258
  Text,
3265
3259
  {
3266
3260
  style: [
3267
- styles$6.label,
3261
+ styles$8.label,
3268
3262
  labelStyle,
3269
3263
  isFocus && (labelFocusStyle ?? { color: theme.BORDER_INVERTED["light"] })
3270
3264
  ]
@@ -3282,17 +3276,17 @@ const CustomDropdown = ({
3282
3276
  onValueChange(newValue);
3283
3277
  }
3284
3278
  };
3285
- return /* @__PURE__ */ React.createElement(View, { style: [styles$6.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
3279
+ return /* @__PURE__ */ React.createElement(View, { style: [styles$8.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
3286
3280
  Dropdown,
3287
3281
  {
3288
3282
  style: [
3289
- styles$6.dropdown,
3283
+ styles$8.dropdown,
3290
3284
  dropdownStyle,
3291
3285
  isFocus && (dropdownFocusStyle ?? { borderColor: theme.BORDER_INVERTED["light"] })
3292
3286
  ],
3293
- placeholderStyle: [styles$6.placeholderStyle, placeholderStyle],
3294
- selectedTextStyle: [styles$6.selectedTextStyle, selectedTextStyle],
3295
- iconStyle: [styles$6.iconStyle, iconStyle],
3287
+ placeholderStyle: [styles$8.placeholderStyle, placeholderStyle],
3288
+ selectedTextStyle: [styles$8.selectedTextStyle, selectedTextStyle],
3289
+ iconStyle: [styles$8.iconStyle, iconStyle],
3296
3290
  data: data ?? [],
3297
3291
  labelField,
3298
3292
  valueField,
@@ -3306,11 +3300,11 @@ const CustomDropdown = ({
3306
3300
  itemTextStyle,
3307
3301
  containerStyle: menuContainerStyle,
3308
3302
  activeColor,
3309
- itemContainerStyle: [styles$6.itemListStyle, itemContainerStyle]
3303
+ itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle]
3310
3304
  }
3311
3305
  ));
3312
3306
  };
3313
- const styles$6 = StyleSheet.create({
3307
+ const styles$8 = StyleSheet.create({
3314
3308
  container: {
3315
3309
  backgroundColor: theme.SURFACE_STATIC["light"],
3316
3310
  marginVertical: verticalScale(4)
@@ -3348,7 +3342,7 @@ const styles$6 = StyleSheet.create({
3348
3342
  }
3349
3343
  });
3350
3344
 
3351
- const styles$5 = StyleSheet.create({
3345
+ const styles$7 = StyleSheet.create({
3352
3346
  mainContainer: {
3353
3347
  flexDirection: "row",
3354
3348
  justifyContent: "space-between",
@@ -3407,18 +3401,18 @@ const CustomSwitchBtn = ({
3407
3401
  {
3408
3402
  disabled,
3409
3403
  onPress: toggleSwitch,
3410
- style: { ...styles$5.mainContainer, ...containerStyle }
3404
+ style: { ...styles$7.mainContainer, ...containerStyle }
3411
3405
  },
3412
3406
  /* @__PURE__ */ React.createElement(
3413
3407
  Animated.View,
3414
3408
  {
3415
- style: [styles$5.circle, { transform: [{ translateX }], ...circleStyle }]
3409
+ style: [styles$7.circle, { transform: [{ translateX }], ...circleStyle }]
3416
3410
  }
3417
3411
  ),
3418
3412
  /* @__PURE__ */ React.createElement(
3419
3413
  CustomTypography,
3420
3414
  {
3421
- style: [styles$5.activeText, value ? inActiveTextStyle : activeTextStyle],
3415
+ style: [styles$7.activeText, value ? inActiveTextStyle : activeTextStyle],
3422
3416
  text: activeText,
3423
3417
  variant: activeTextVariant
3424
3418
  }
@@ -3427,7 +3421,7 @@ const CustomSwitchBtn = ({
3427
3421
  CustomTypography,
3428
3422
  {
3429
3423
  style: [
3430
- styles$5.inActiveText,
3424
+ styles$7.inActiveText,
3431
3425
  value ? activeTextStyle : inActiveTextStyle
3432
3426
  ],
3433
3427
  text: inActiveText,
@@ -3480,21 +3474,21 @@ const TagsComponent = ({
3480
3474
  {
3481
3475
  onPress: () => handleTagPress?.(item.name),
3482
3476
  style: [
3483
- styles$4.tagButton,
3484
- selectedTag === item?.name ? styles$4.selectedTagButton : styles$4.unselectedTagButton
3477
+ styles$6.tagButton,
3478
+ selectedTag === item?.name ? styles$6.selectedTagButton : styles$6.unselectedTagButton
3485
3479
  ]
3486
3480
  },
3487
3481
  /* @__PURE__ */ React.createElement(
3488
3482
  Text,
3489
3483
  {
3490
3484
  style: [
3491
- styles$4.tagText,
3492
- selectedTag === item?.name ? styles$4.selectedTagText : styles$4.unselectedTagText
3485
+ styles$6.tagText,
3486
+ selectedTag === item?.name ? styles$6.selectedTagText : styles$6.unselectedTagText
3493
3487
  ]
3494
3488
  },
3495
3489
  item?.name
3496
3490
  ),
3497
- selectedTag === item?.name && /* @__PURE__ */ React.createElement(Text, { style: styles$4.closeButton }, "\u2715")
3491
+ selectedTag === item?.name && /* @__PURE__ */ React.createElement(Text, { style: styles$6.closeButton }, "\u2715")
3498
3492
  );
3499
3493
  return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
3500
3494
  FlatList,
@@ -3504,11 +3498,11 @@ const TagsComponent = ({
3504
3498
  keyExtractor: (item) => item?.name,
3505
3499
  horizontal: true,
3506
3500
  showsHorizontalScrollIndicator: false,
3507
- contentContainerStyle: styles$4.listContainer
3501
+ contentContainerStyle: styles$6.listContainer
3508
3502
  }
3509
3503
  ));
3510
3504
  };
3511
- const styles$4 = StyleSheet.create({
3505
+ const styles$6 = StyleSheet.create({
3512
3506
  listContainer: {
3513
3507
  paddingHorizontal: 10,
3514
3508
  alignItems: "center"
@@ -3546,7 +3540,7 @@ const styles$4 = StyleSheet.create({
3546
3540
  }
3547
3541
  });
3548
3542
 
3549
- const styles$3 = StyleSheet.create({
3543
+ const styles$5 = StyleSheet.create({
3550
3544
  container: {
3551
3545
  flexDirection: "row",
3552
3546
  alignItems: "center",
@@ -3619,13 +3613,13 @@ const CustomDocumentPicker = ({
3619
3613
  View,
3620
3614
  {
3621
3615
  style: [
3622
- docDetails ? styles$3.fileUploadContainerStyle : styles$3.container,
3616
+ docDetails ? styles$5.fileUploadContainerStyle : styles$5.container,
3623
3617
  { borderColor: error ? theme.ERROR : theme.BORDER_SECONDRY },
3624
3618
  docDetails ? { backgroundColor: theme.SURFACE_SECONDARY } : {},
3625
3619
  containerStyle
3626
3620
  ]
3627
3621
  },
3628
- /* @__PURE__ */ React.createElement(Pressable, { style: styles$3.innerContainer, onPress: pickDocument }, docDetails ? fileIcon : uploadIcon, /* @__PURE__ */ React.createElement(View, { style: styles$3.titleContainer }, /* @__PURE__ */ React.createElement(
3622
+ /* @__PURE__ */ React.createElement(Pressable, { style: styles$5.innerContainer, onPress: pickDocument }, docDetails ? fileIcon : uploadIcon, /* @__PURE__ */ React.createElement(View, { style: styles$5.titleContainer }, /* @__PURE__ */ React.createElement(
3629
3623
  CustomTypography,
3630
3624
  {
3631
3625
  variant: FontStyle.L2_REGULAR,
@@ -3654,7 +3648,7 @@ const CustomDocumentPicker = ({
3654
3648
  };
3655
3649
  var CustomDocumentPicker$1 = withThemeProvider(memo(CustomDocumentPicker));
3656
3650
 
3657
- const styles$2 = StyleSheet.create({
3651
+ const styles$4 = StyleSheet.create({
3658
3652
  textInputContainer: {
3659
3653
  flexDirection: "row",
3660
3654
  justifyContent: "space-between",
@@ -3754,12 +3748,12 @@ const OTPInput = React.forwardRef(
3754
3748
  ...otpHeaderTextStyle
3755
3749
  }
3756
3750
  }
3757
- ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$2.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
3751
+ ), /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
3758
3752
  TextInput,
3759
3753
  {
3760
3754
  key: index?.toString(),
3761
3755
  style: {
3762
- ...styles$2.textInputStyle,
3756
+ ...styles$4.textInputStyle,
3763
3757
  color: theme.CONTENT_PRIMARY,
3764
3758
  borderColor: errorMessage ? theme.ERROR : otp.length === length ? theme.SUCCESS : activeInput === index ? theme.BORDER_INVERTED : theme.BORDER_PRIMARY,
3765
3759
  ...textInputStyle
@@ -3775,7 +3769,7 @@ const OTPInput = React.forwardRef(
3775
3769
  returnKeyType: otp.length === length ? "done" : "next",
3776
3770
  selectionColor: theme.CONTENT_PRIMARY
3777
3771
  }
3778
- ))), /* @__PURE__ */ React.createElement(View, { style: styles$2.resendOtpContainer }, errorMessage ? /* @__PURE__ */ React.createElement(
3772
+ ))), /* @__PURE__ */ React.createElement(View, { style: styles$4.resendOtpContainer }, errorMessage ? /* @__PURE__ */ React.createElement(
3779
3773
  CustomTypography,
3780
3774
  {
3781
3775
  text: errorMessage,
@@ -3798,10 +3792,10 @@ const OTPInput = React.forwardRef(
3798
3792
  ))));
3799
3793
  }
3800
3794
  );
3801
- var index$2 = withThemeProvider(OTPInput);
3795
+ var index$4 = withThemeProvider(OTPInput);
3802
3796
  OTPInput.displayName = "OTPInput";
3803
3797
 
3804
- const styles$1 = StyleSheet.create({
3798
+ const styles$3 = StyleSheet.create({
3805
3799
  stepperContainer: {
3806
3800
  flexDirection: "row",
3807
3801
  marginBottom: 24,
@@ -3891,27 +3885,27 @@ const Stepper = ({
3891
3885
  const { theme } = useTheme();
3892
3886
  const renderCircleStyle = (status) => {
3893
3887
  if (status === Status.Active) {
3894
- return { ...styles$1.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
3888
+ return { ...styles$3.activeStepCircle, borderColor: theme.CONTENT_PRIMARY };
3895
3889
  } else if (status === Status.Inactive) {
3896
3890
  return {
3897
- ...styles$1.inactiveStepCircle,
3891
+ ...styles$3.inactiveStepCircle,
3898
3892
  borderColor: theme.CONTENT_SECONDRY
3899
3893
  };
3900
3894
  } else if (status === Status.Completed) {
3901
- return { ...styles$1.completeStepCircle, backgroundColor: theme.SUCCESS };
3895
+ return { ...styles$3.completeStepCircle, backgroundColor: theme.SUCCESS };
3902
3896
  } else {
3903
- return { ...styles$1.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
3897
+ return { ...styles$3.stepCountCircle, borderColor: theme.BORDER_PRIMARY };
3904
3898
  }
3905
3899
  };
3906
3900
  const renderLableStyle = (status) => {
3907
3901
  if (status === Status.Active) {
3908
- return { ...styles$1.activeStepLabel, color: theme.CONTENT_PRIMARY };
3902
+ return { ...styles$3.activeStepLabel, color: theme.CONTENT_PRIMARY };
3909
3903
  } else if (status === Status.Inactive) {
3910
- return { ...styles$1.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
3904
+ return { ...styles$3.inactiveStepLabel, color: theme.CONTENT_SECONDRY };
3911
3905
  } else if (status === Status.Completed) {
3912
- return { ...styles$1.completeStepLabel, color: theme.CONTENT_PRIMARY };
3906
+ return { ...styles$3.completeStepLabel, color: theme.CONTENT_PRIMARY };
3913
3907
  } else {
3914
- return { ...styles$1.countStepLabel, color: theme.CONTENT_PRIMARY };
3908
+ return { ...styles$3.countStepLabel, color: theme.CONTENT_PRIMARY };
3915
3909
  }
3916
3910
  };
3917
3911
  const renderDividerStyle = (status) => {
@@ -3921,25 +3915,25 @@ const Stepper = ({
3921
3915
  return { borderColor: theme.BORDER_PRIMARY };
3922
3916
  } else if (status === Status.Completed) {
3923
3917
  return {
3924
- ...styles$1.completeStepDivider,
3918
+ ...styles$3.completeStepDivider,
3925
3919
  borderColor: theme.CONTENT_PRIMARY
3926
3920
  };
3927
3921
  } else {
3928
3922
  return { borderColor: theme.CONTENT_SECONDRY };
3929
3923
  }
3930
3924
  };
3931
- return /* @__PURE__ */ React.createElement(View, { style: { ...styles$1.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
3925
+ return /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
3932
3926
  const stepCircleStyle = renderCircleStyle(item?.status);
3933
3927
  const dividerStyle = renderDividerStyle(item?.status);
3934
3928
  const labelStyle = renderLableStyle(item?.status);
3935
- const lastViewStyle = index === data?.length - 1 ? styles$1.lastStepWrapper : null;
3929
+ const lastViewStyle = index === data?.length - 1 ? styles$3.lastStepWrapper : null;
3936
3930
  return /* @__PURE__ */ React.createElement(
3937
3931
  View,
3938
3932
  {
3939
3933
  key: index?.toString(),
3940
- style: { ...styles$1.stepperWrapper, ...lastViewStyle }
3934
+ style: { ...styles$3.stepperWrapper, ...lastViewStyle }
3941
3935
  },
3942
- /* @__PURE__ */ React.createElement(View, { style: styles$1.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
3936
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
3943
3937
  CustomTypography,
3944
3938
  {
3945
3939
  text: item?.step,
@@ -3948,8 +3942,8 @@ const Stepper = ({
3948
3942
  color: theme.CONTENT_PRIMARY
3949
3943
  }
3950
3944
  }
3951
- ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$1.separator, ...dividerStyle } })),
3952
- /* @__PURE__ */ React.createElement(View, { style: styles$1.lableContainer }, /* @__PURE__ */ React.createElement(
3945
+ ), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$3.separator, ...dividerStyle } })),
3946
+ /* @__PURE__ */ React.createElement(View, { style: styles$3.lableContainer }, /* @__PURE__ */ React.createElement(
3953
3947
  CustomTypography,
3954
3948
  {
3955
3949
  text: item?.label,
@@ -3960,9 +3954,9 @@ const Stepper = ({
3960
3954
  );
3961
3955
  }));
3962
3956
  };
3963
- var index$1 = withThemeProvider(Stepper);
3957
+ var index$3 = withThemeProvider(Stepper);
3964
3958
 
3965
- const styles = StyleSheet.create({
3959
+ const styles$2 = StyleSheet.create({
3966
3960
  container: {
3967
3961
  flex: 1,
3968
3962
  justifyContent: "center",
@@ -3977,7 +3971,8 @@ const styles = StyleSheet.create({
3977
3971
  slider: {
3978
3972
  height: "100%",
3979
3973
  width: "100%",
3980
- position: "absolute"
3974
+ position: "absolute",
3975
+ justifyContent: "center"
3981
3976
  },
3982
3977
  button: {
3983
3978
  height: verticalScale(40),
@@ -4001,7 +3996,8 @@ const BUTTON_WIDTH = 40;
4001
3996
  const CustomSlideButton = ({
4002
3997
  label,
4003
3998
  onComplete,
4004
- icon
3999
+ icon,
4000
+ size = BUTTON_WIDTH
4005
4001
  }) => {
4006
4002
  const value = useRef(0);
4007
4003
  const cardRef = useRef(null);
@@ -4046,9 +4042,9 @@ const CustomSlideButton = ({
4046
4042
  ).current;
4047
4043
  const { theme } = useTheme();
4048
4044
  return /* @__PURE__ */ React.createElement(View, { style: {
4049
- ...styles.sliderContainer,
4045
+ ...styles$2.sliderContainer,
4050
4046
  backgroundColor: theme.SURFACE_INVERTED
4051
- }, onLayout: handleLayout, ref: cardRef }, /* @__PURE__ */ React.createElement(View, { style: styles.buttonTextCOntainer }, /* @__PURE__ */ React.createElement(
4047
+ }, onLayout: handleLayout, ref: cardRef }, /* @__PURE__ */ React.createElement(View, { style: styles$2.buttonTextCOntainer }, /* @__PURE__ */ React.createElement(
4052
4048
  CustomTypography,
4053
4049
  {
4054
4050
  text: label,
@@ -4060,27 +4056,273 @@ const CustomSlideButton = ({
4060
4056
  )), /* @__PURE__ */ React.createElement(
4061
4057
  Animated.View,
4062
4058
  {
4063
- style: [styles.slider, { transform: [{ translateX: pan }] }],
4059
+ style: [styles$2.slider, { transform: [{ translateX: pan }] }],
4064
4060
  ...panResponder.panHandlers
4065
4061
  },
4066
4062
  /* @__PURE__ */ React.createElement(
4067
4063
  View,
4068
4064
  {
4069
4065
  style: {
4070
- ...styles.button,
4066
+ ...styles$2.button,
4071
4067
  backgroundColor: theme.SURFACE_PRIMARY,
4072
- width: BUTTON_WIDTH
4068
+ width: verticalScale$1(size),
4069
+ height: verticalScale$1(size),
4070
+ borderRadius: verticalScale$1(size / 2)
4073
4071
  }
4074
4072
  },
4075
4073
  icon
4076
4074
  )
4077
4075
  ));
4078
4076
  };
4079
- var index = withThemeProvider(CustomSlideButton);
4077
+ var index$2 = withThemeProvider(CustomSlideButton);
4080
4078
 
4081
4079
  const copyToClipboard = (textToCopy) => {
4082
4080
  Clipboard.setString(textToCopy);
4083
4081
  };
4084
4082
 
4085
- export { Accordion, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index as CustomSlideButton, CustomSwitchBtn, CustomText$1 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, Line, NotificationBandge, index$2 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, index$1 as Stepper, SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
4083
+ const styles$1 = StyleSheet.create({
4084
+ accordionContainer: {
4085
+ gap: verticalScale(8),
4086
+ marginHorizontal: horizontalScale(24),
4087
+ marginVertical: verticalScale(16)
4088
+ },
4089
+ accordionStyle: {
4090
+ paddingHorizontal: moderateScale(16),
4091
+ borderWidth: 1,
4092
+ borderRadius: moderateScale(8)
4093
+ },
4094
+ accordionHeader: {
4095
+ paddingHorizontal: 0
4096
+ },
4097
+ accordionHeaderContent: {
4098
+ flex: 1,
4099
+ flexDirection: "row",
4100
+ alignItems: "center",
4101
+ columnGap: horizontalScale(16)
4102
+ },
4103
+ accordionText: {
4104
+ rowGap: verticalScale(4)
4105
+ },
4106
+ accordionDetails: {
4107
+ paddingTop: verticalScale(16),
4108
+ borderTopWidth: 1,
4109
+ rowGap: verticalScale(16)
4110
+ },
4111
+ appointmentInfo: {
4112
+ flex: 1,
4113
+ flexDirection: "row",
4114
+ justifyContent: "space-between"
4115
+ },
4116
+ infoColumn: {
4117
+ flex: 1,
4118
+ rowGap: verticalScale(4)
4119
+ },
4120
+ locationInfo: {
4121
+ rowGap: verticalScale(4)
4122
+ },
4123
+ getDirectionsText: {
4124
+ textDecorationLine: "underline"
4125
+ }
4126
+ });
4127
+
4128
+ const AppointmentCard = ({
4129
+ isOpen,
4130
+ onToggle,
4131
+ icon,
4132
+ headerIcon,
4133
+ title,
4134
+ headerTitle,
4135
+ headerSubtitle,
4136
+ appointmentId,
4137
+ requestId,
4138
+ location,
4139
+ onPress
4140
+ }) => {
4141
+ const { theme } = useTheme();
4142
+ return /* @__PURE__ */ React.createElement(
4143
+ Accordion,
4144
+ {
4145
+ title,
4146
+ isOpen,
4147
+ onToggle,
4148
+ containerStyle: {
4149
+ ...styles$1.accordionStyle,
4150
+ backgroundColor: theme.SURFACE_SECONDARY,
4151
+ borderColor: theme.BORDER_SEPERATOR_HEADER,
4152
+ borderBottomColor: theme.BORDER_SEPERATOR_HEADER
4153
+ },
4154
+ headerStyle: styles$1.accordionHeader,
4155
+ headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$1.accordionText }, /* @__PURE__ */ React.createElement(
4156
+ CustomTypography,
4157
+ {
4158
+ text: headerTitle,
4159
+ variant: FontStyle.L2_REGULAR,
4160
+ style: { color: theme.CONTENT_SECONDRY }
4161
+ }
4162
+ ), /* @__PURE__ */ React.createElement(
4163
+ CustomTypography,
4164
+ {
4165
+ text: headerSubtitle,
4166
+ variant: FontStyle.B3_REGULAR,
4167
+ style: { color: theme.CONTENT_PRIMARY }
4168
+ }
4169
+ ))),
4170
+ icon
4171
+ },
4172
+ /* @__PURE__ */ React.createElement(
4173
+ View,
4174
+ {
4175
+ style: {
4176
+ ...styles$1.accordionDetails,
4177
+ borderTopColor: theme.BORDER_SEPERATOR_HEADER
4178
+ }
4179
+ },
4180
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.appointmentInfo }, /* @__PURE__ */ React.createElement(View, { style: styles$1.infoColumn }, /* @__PURE__ */ React.createElement(
4181
+ CustomTypography,
4182
+ {
4183
+ text: "APPOINTMENT ID",
4184
+ variant: FontStyle.L3_REGULAR,
4185
+ style: { color: theme.CONTENT_SECONDRY }
4186
+ }
4187
+ ), /* @__PURE__ */ React.createElement(
4188
+ CustomTypography,
4189
+ {
4190
+ text: appointmentId,
4191
+ variant: FontStyle.L1_REGULAR,
4192
+ style: { color: theme.CONTENT_PRIMARY }
4193
+ }
4194
+ )), /* @__PURE__ */ React.createElement(View, { style: styles$1.infoColumn }, /* @__PURE__ */ React.createElement(
4195
+ CustomTypography,
4196
+ {
4197
+ text: "REQUEST ID",
4198
+ variant: FontStyle.L3_REGULAR,
4199
+ style: { color: theme.CONTENT_SECONDRY }
4200
+ }
4201
+ ), /* @__PURE__ */ React.createElement(
4202
+ CustomTypography,
4203
+ {
4204
+ text: requestId,
4205
+ variant: FontStyle.L1_REGULAR,
4206
+ style: { color: theme.CONTENT_PRIMARY }
4207
+ }
4208
+ ))),
4209
+ /* @__PURE__ */ React.createElement(View, { style: styles$1.locationInfo }, /* @__PURE__ */ React.createElement(
4210
+ CustomTypography,
4211
+ {
4212
+ text: "LOCATION",
4213
+ variant: FontStyle.L3_REGULAR,
4214
+ style: { color: theme.CONTENT_SECONDRY }
4215
+ }
4216
+ ), /* @__PURE__ */ React.createElement(
4217
+ CustomTypography,
4218
+ {
4219
+ text: location,
4220
+ variant: FontStyle.L1_REGULAR,
4221
+ style: { color: theme.CONTENT_PRIMARY }
4222
+ }
4223
+ ), /* @__PURE__ */ React.createElement(Pressable, { onPress }, /* @__PURE__ */ React.createElement(
4224
+ CustomTypography,
4225
+ {
4226
+ text: "Get directions",
4227
+ variant: FontStyle.L2_REGULAR,
4228
+ style: {
4229
+ ...styles$1.getDirectionsText,
4230
+ color: theme.CONTENT_PRIMARY
4231
+ }
4232
+ }
4233
+ )))
4234
+ )
4235
+ );
4236
+ };
4237
+ var index$1 = withThemeProvider(AppointmentCard);
4238
+
4239
+ const styles = StyleSheet.create({
4240
+ container: {
4241
+ flexDirection: "row",
4242
+ justifyContent: "space-between",
4243
+ alignItems: "center",
4244
+ paddingHorizontal: horizontalScale(24),
4245
+ paddingVertical: verticalScale(16),
4246
+ borderTopWidth: 1,
4247
+ borderBottomWidth: 1
4248
+ },
4249
+ propertyInfo: {
4250
+ rowGap: verticalScale(4)
4251
+ },
4252
+ arrowIconContainer: {
4253
+ width: moderateScale(32),
4254
+ height: moderateScale(32),
4255
+ borderRadius: moderateScale(25)
4256
+ },
4257
+ propertyNumber: {
4258
+ flexDirection: "row",
4259
+ alignItems: "center",
4260
+ columnGap: horizontalScale(4)
4261
+ }
4262
+ });
4263
+
4264
+ const PropertyDetails = ({
4265
+ icon,
4266
+ brandIcon,
4267
+ title,
4268
+ subTitle,
4269
+ propertyNumber,
4270
+ hintIcon,
4271
+ btnIcon,
4272
+ onRightIconPress
4273
+ }) => {
4274
+ const { theme } = useTheme();
4275
+ return /* @__PURE__ */ React.createElement(
4276
+ View,
4277
+ {
4278
+ style: {
4279
+ ...styles.container,
4280
+ backgroundColor: theme.SURFACE_SECONDARY,
4281
+ borderColor: theme.BORDER_SEPERATOR_HEADER
4282
+ }
4283
+ },
4284
+ React.cloneElement(icon, {
4285
+ width: moderateScale(87),
4286
+ height: moderateScale(87)
4287
+ }),
4288
+ /* @__PURE__ */ React.createElement(View, { style: styles.propertyInfo }, brandIcon, /* @__PURE__ */ React.createElement(
4289
+ CustomTypography,
4290
+ {
4291
+ text: title,
4292
+ variant: FontStyle.L2_REGULAR,
4293
+ style: { color: theme.CONTENT_PRIMARY }
4294
+ }
4295
+ ), /* @__PURE__ */ React.createElement(
4296
+ CustomTypography,
4297
+ {
4298
+ text: subTitle,
4299
+ variant: FontStyle.L1_REGULAR,
4300
+ style: { color: theme.CONTENT_PRIMARY }
4301
+ }
4302
+ ), /* @__PURE__ */ React.createElement(View, { style: styles.propertyNumber }, /* @__PURE__ */ React.createElement(
4303
+ CustomTypography,
4304
+ {
4305
+ text: propertyNumber,
4306
+ variant: FontStyle.L2_REGULAR,
4307
+ style: {
4308
+ color: theme.CONTENT_SECONDRY
4309
+ }
4310
+ }
4311
+ ), hintIcon)),
4312
+ /* @__PURE__ */ React.createElement(
4313
+ CustomIcon,
4314
+ {
4315
+ icon: btnIcon,
4316
+ containerStyle: {
4317
+ ...styles.arrowIconContainer,
4318
+ backgroundColor: theme.SURFACE_INVERTED
4319
+ },
4320
+ onPress: onRightIconPress
4321
+ }
4322
+ )
4323
+ );
4324
+ };
4325
+ var index = withThemeProvider(PropertyDetails);
4326
+
4327
+ export { Accordion, index$1 as AppointmentCard, Badge$1 as Badge, BottomDrawer, CustomButton$1 as Button, Cards, category as Category, Checkbox as CheckBox, ContactModel, CountryDropDown as CountryPicker, CustomDocumentPicker$1 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, index$2 as CustomSlideButton, CustomSwitchBtn, CustomText$1 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, Line, NotificationBandge, index$4 as OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList, Tabs$1 as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, Topic$1 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
4086
4328
  //# sourceMappingURL=index.mjs.map