dhre-ui-kit 0.0.293 → 0.0.294
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +74 -71
- package/lib/index.js +79 -66
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +222 -210
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { createContext, useContext, useState, useEffect, useRef, memo, useCallback } from 'react';
|
|
1
|
+
import React$1, { createContext, useContext, useState, useEffect, useRef, memo, useCallback } from 'react';
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { Dimensions, StyleSheet, Text, Pressable, View, Platform, KeyboardAvoidingView, TextInput, ScrollView, Animated, FlatList, TouchableOpacity, Modal as Modal$1, Alert, Linking, PanResponder } from 'react-native';
|
|
4
4
|
import Modal from 'react-native-modal';
|
|
@@ -272,7 +272,7 @@ const ThemeProvider = ({ children }) => {
|
|
|
272
272
|
acc[key] = theme[key][mode];
|
|
273
273
|
return acc;
|
|
274
274
|
}, {});
|
|
275
|
-
return /* @__PURE__ */ React.createElement(ThemeContext.Provider, { value: { theme: filteredTheme, mode } }, children);
|
|
275
|
+
return /* @__PURE__ */ React$1.createElement(ThemeContext.Provider, { value: { theme: filteredTheme, mode } }, children);
|
|
276
276
|
};
|
|
277
277
|
const useTheme = () => {
|
|
278
278
|
const context = useContext(ThemeContext);
|
|
@@ -283,7 +283,7 @@ const useTheme = () => {
|
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
const withThemeProvider = (Component) => {
|
|
286
|
-
return (props) => /* @__PURE__ */ React.createElement(ThemeProvider, null, /* @__PURE__ */ React.createElement(Component, { ...props }));
|
|
286
|
+
return (props) => /* @__PURE__ */ React$1.createElement(ThemeProvider, null, /* @__PURE__ */ React$1.createElement(Component, { ...props }));
|
|
287
287
|
};
|
|
288
288
|
|
|
289
289
|
const { width, height } = Dimensions.get("window");
|
|
@@ -347,7 +347,7 @@ const CustomTypography = ({
|
|
|
347
347
|
...props
|
|
348
348
|
}) => {
|
|
349
349
|
const textStyle = FONT_STYLES[variant];
|
|
350
|
-
return /* @__PURE__ */ React.createElement(
|
|
350
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
351
351
|
Text,
|
|
352
352
|
{
|
|
353
353
|
testID,
|
|
@@ -369,7 +369,7 @@ const CustomText = ({
|
|
|
369
369
|
...props
|
|
370
370
|
}) => {
|
|
371
371
|
const { theme } = useTheme();
|
|
372
|
-
return /* @__PURE__ */ React.createElement(
|
|
372
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
373
373
|
CustomTypography,
|
|
374
374
|
{
|
|
375
375
|
variant,
|
|
@@ -593,15 +593,15 @@ const Badge = ({
|
|
|
593
593
|
iconStyle,
|
|
594
594
|
handleIconPress
|
|
595
595
|
}) => {
|
|
596
|
-
return /* @__PURE__ */ React.createElement(
|
|
596
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
597
597
|
Pressable,
|
|
598
598
|
{
|
|
599
599
|
style: [styles$A.badge, commonStyles.centerRow, style],
|
|
600
600
|
testID: "BADGE",
|
|
601
601
|
onPress: handleIconPress
|
|
602
602
|
},
|
|
603
|
-
iconName && /* @__PURE__ */ React.createElement(View, { style: [styles$A.icon, iconStyle] }, React.cloneElement(iconName)),
|
|
604
|
-
text && /* @__PURE__ */ React.createElement(
|
|
603
|
+
iconName && /* @__PURE__ */ React$1.createElement(View, { style: [styles$A.icon, iconStyle] }, React$1.cloneElement(iconName)),
|
|
604
|
+
text && /* @__PURE__ */ React$1.createElement(
|
|
605
605
|
CustomTypography,
|
|
606
606
|
{
|
|
607
607
|
variant: "B3semiBold",
|
|
@@ -680,7 +680,7 @@ const BottomDrawer = ({
|
|
|
680
680
|
propagateSwipe = true,
|
|
681
681
|
swipeDirection = "down"
|
|
682
682
|
}) => {
|
|
683
|
-
return /* @__PURE__ */ React.createElement(
|
|
683
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
684
684
|
Modal,
|
|
685
685
|
{
|
|
686
686
|
isVisible: isModalVisible,
|
|
@@ -692,25 +692,25 @@ const BottomDrawer = ({
|
|
|
692
692
|
propagateSwipe: true,
|
|
693
693
|
style: { margin: 0 }
|
|
694
694
|
},
|
|
695
|
-
/* @__PURE__ */ React.createElement(
|
|
695
|
+
/* @__PURE__ */ React$1.createElement(
|
|
696
696
|
KeyboardAvoidingView,
|
|
697
697
|
{
|
|
698
698
|
behavior: isIos() ? "padding" : "height",
|
|
699
699
|
style: { flex: 1 }
|
|
700
700
|
},
|
|
701
|
-
/* @__PURE__ */ React.createElement(View, { style: [styles$z.mainContainer, style], testID }, /* @__PURE__ */ React.createElement(View, { style: [styles$z.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React.createElement(Pressable, { onPress: () => swipeDirection === "" && toggleModal() }, showSeparator && /* @__PURE__ */ React.createElement(View, { style: styles$z.separator }), /* @__PURE__ */ React.createElement(View, { style: styles$z.headerContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
|
|
701
|
+
/* @__PURE__ */ React$1.createElement(View, { style: [styles$z.mainContainer, style], testID }, /* @__PURE__ */ React$1.createElement(View, { style: [styles$z.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React$1.createElement(Pressable, { onPress: () => swipeDirection === "" && toggleModal() }, showSeparator && /* @__PURE__ */ React$1.createElement(View, { style: styles$z.separator }), /* @__PURE__ */ React$1.createElement(View, { style: styles$z.headerContainer }, showLeftIcon && leftIcon ? React$1.cloneElement(leftIcon, {
|
|
702
702
|
width: moderateScale(24),
|
|
703
703
|
height: moderateScale(24),
|
|
704
704
|
style: styles$z.leftIconStyle,
|
|
705
705
|
onPress: onLeftIconPress
|
|
706
|
-
}) : null, /* @__PURE__ */ React.createElement(
|
|
706
|
+
}) : null, /* @__PURE__ */ React$1.createElement(
|
|
707
707
|
CustomTypography,
|
|
708
708
|
{
|
|
709
709
|
variant: titleVariant,
|
|
710
710
|
text: title,
|
|
711
711
|
style: { ...styles$z.title, ...titleStyle }
|
|
712
712
|
}
|
|
713
|
-
), showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
|
|
713
|
+
), showRightIcon && rightIcon ? React$1.cloneElement(rightIcon, {
|
|
714
714
|
width: moderateScale(24),
|
|
715
715
|
height: moderateScale(24),
|
|
716
716
|
style: styles$z.rightIconStyle,
|
|
@@ -770,7 +770,7 @@ const CustomLoader = ({ loading, loadingText = "Loading..." }) => {
|
|
|
770
770
|
const styles = createStyles$3(theme);
|
|
771
771
|
if (!loading) return null;
|
|
772
772
|
else {
|
|
773
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(View, { style: styles.backdrop }, /* @__PURE__ */ React.createElement(View, { style: styles.box }, /* @__PURE__ */ React.createElement(View, { style: styles.loader }, /* @__PURE__ */ React.createElement(LottieView, { style: styles.loader, source: loaderJson, autoPlay: true, loop: true })), /* @__PURE__ */ React.createElement(
|
|
773
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles.container }, /* @__PURE__ */ React$1.createElement(View, { style: styles.backdrop }, /* @__PURE__ */ React$1.createElement(View, { style: styles.box }, /* @__PURE__ */ React$1.createElement(View, { style: styles.loader }, /* @__PURE__ */ React$1.createElement(LottieView, { style: styles.loader, source: loaderJson, autoPlay: true, loop: true })), /* @__PURE__ */ React$1.createElement(
|
|
774
774
|
CustomText$1,
|
|
775
775
|
{
|
|
776
776
|
text: loadingText,
|
|
@@ -801,7 +801,7 @@ const CustomButton = ({
|
|
|
801
801
|
isLoading = false
|
|
802
802
|
}) => {
|
|
803
803
|
const { theme } = useTheme();
|
|
804
|
-
return /* @__PURE__ */ React.createElement(
|
|
804
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
805
805
|
Pressable,
|
|
806
806
|
{
|
|
807
807
|
testID,
|
|
@@ -818,8 +818,8 @@ const CustomButton = ({
|
|
|
818
818
|
onPress,
|
|
819
819
|
disabled
|
|
820
820
|
},
|
|
821
|
-
imagePosition === "left" && leftIcon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(leftIcon, { width: 20, height: 20 })),
|
|
822
|
-
isLoading ? /* @__PURE__ */ React.createElement(CustomLoader$1, { loading: isLoading }) : /* @__PURE__ */ React.createElement(
|
|
821
|
+
imagePosition === "left" && leftIcon && /* @__PURE__ */ React$1.createElement(View, { style: iconStyle }, React$1.cloneElement(leftIcon, { width: 20, height: 20 })),
|
|
822
|
+
isLoading ? /* @__PURE__ */ React$1.createElement(CustomLoader$1, { loading: isLoading }) : /* @__PURE__ */ React$1.createElement(
|
|
823
823
|
CustomText$1,
|
|
824
824
|
{
|
|
825
825
|
text: title,
|
|
@@ -833,7 +833,7 @@ const CustomButton = ({
|
|
|
833
833
|
textColor: titleColor
|
|
834
834
|
}
|
|
835
835
|
),
|
|
836
|
-
imagePosition === "right" && rightIcon && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(rightIcon, { width: 20, height: 20 }))
|
|
836
|
+
imagePosition === "right" && rightIcon && /* @__PURE__ */ React$1.createElement(View, { style: iconStyle }, React$1.cloneElement(rightIcon, { width: 20, height: 20 }))
|
|
837
837
|
);
|
|
838
838
|
};
|
|
839
839
|
const styles$y = StyleSheet.create({
|
|
@@ -913,42 +913,42 @@ const Cards = ({
|
|
|
913
913
|
testID,
|
|
914
914
|
onButtonPress
|
|
915
915
|
}) => {
|
|
916
|
-
return /* @__PURE__ */ React.createElement(View, { testID, style: styles$x.container }, topLeftTitle ? /* @__PURE__ */ React.createElement(View, { style: styles$x.topLeft }, /* @__PURE__ */ React.createElement(
|
|
916
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID, style: styles$x.container }, topLeftTitle ? /* @__PURE__ */ React$1.createElement(View, { style: styles$x.topLeft }, /* @__PURE__ */ React$1.createElement(
|
|
917
917
|
CustomTypography,
|
|
918
918
|
{
|
|
919
919
|
variant: "P2regular",
|
|
920
920
|
style: styles$x.title,
|
|
921
921
|
text: topLeftTitle
|
|
922
922
|
}
|
|
923
|
-
)) : null, title ? /* @__PURE__ */ React.createElement(
|
|
923
|
+
)) : null, title ? /* @__PURE__ */ React$1.createElement(
|
|
924
924
|
CustomTypography,
|
|
925
925
|
{
|
|
926
926
|
variant: "H6bold",
|
|
927
927
|
style: styles$x.subTitleBelow,
|
|
928
928
|
text: title
|
|
929
929
|
}
|
|
930
|
-
) : null, subtitle ? /* @__PURE__ */ React.createElement(
|
|
930
|
+
) : null, subtitle ? /* @__PURE__ */ React$1.createElement(
|
|
931
931
|
CustomTypography,
|
|
932
932
|
{
|
|
933
933
|
variant: "P3regular",
|
|
934
934
|
style: styles$x.subtitle,
|
|
935
935
|
text: subtitle
|
|
936
936
|
}
|
|
937
|
-
) : null, /* @__PURE__ */ React.createElement(View, { style: styles$x.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React.createElement(
|
|
937
|
+
) : null, /* @__PURE__ */ React$1.createElement(View, { style: styles$x.leftBottomView }, iconSource ? iconSource : null, iconTitle ? /* @__PURE__ */ React$1.createElement(
|
|
938
938
|
CustomTypography,
|
|
939
939
|
{
|
|
940
940
|
variant: "P3regular",
|
|
941
941
|
style: styles$x.subTitleLeftBelow,
|
|
942
942
|
text: iconTitle
|
|
943
943
|
}
|
|
944
|
-
) : null), buttonShown ? /* @__PURE__ */ React.createElement(
|
|
944
|
+
) : null), buttonShown ? /* @__PURE__ */ React$1.createElement(
|
|
945
945
|
Pressable,
|
|
946
946
|
{
|
|
947
947
|
testID: "Button-Press",
|
|
948
948
|
style: styles$x.button,
|
|
949
949
|
onPress: onButtonPress
|
|
950
950
|
},
|
|
951
|
-
/* @__PURE__ */ React.createElement(
|
|
951
|
+
/* @__PURE__ */ React$1.createElement(
|
|
952
952
|
CustomTypography,
|
|
953
953
|
{
|
|
954
954
|
variant: "B2semiBold",
|
|
@@ -1010,12 +1010,12 @@ const Checkbox = ({
|
|
|
1010
1010
|
setChecked(!checked);
|
|
1011
1011
|
onCheck && onCheck(!checked);
|
|
1012
1012
|
};
|
|
1013
|
-
return /* @__PURE__ */ React.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React.createElement(
|
|
1013
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID, style: containerStyle }, /* @__PURE__ */ React$1.createElement(
|
|
1014
1014
|
View,
|
|
1015
1015
|
{
|
|
1016
1016
|
style: styles$w.directionStyle
|
|
1017
1017
|
},
|
|
1018
|
-
/* @__PURE__ */ React.createElement(
|
|
1018
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1019
1019
|
Pressable,
|
|
1020
1020
|
{
|
|
1021
1021
|
testID: "Checkbox-Press",
|
|
@@ -1023,9 +1023,9 @@ const Checkbox = ({
|
|
|
1023
1023
|
disabled: disable,
|
|
1024
1024
|
style: styles$w.checkboxContainer
|
|
1025
1025
|
},
|
|
1026
|
-
React.cloneElement(checked ? checkedIcon : uncheckedIcon)
|
|
1026
|
+
React$1.cloneElement(checked ? checkedIcon : uncheckedIcon)
|
|
1027
1027
|
),
|
|
1028
|
-
/* @__PURE__ */ React.createElement(
|
|
1028
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1029
1029
|
CustomTypography,
|
|
1030
1030
|
{
|
|
1031
1031
|
variant: titleVariant,
|
|
@@ -1087,26 +1087,26 @@ const CustomDropdown$1 = ({
|
|
|
1087
1087
|
downArrowIcon
|
|
1088
1088
|
}) => {
|
|
1089
1089
|
const [showOptions, setShowOptions] = useState(false);
|
|
1090
|
-
return /* @__PURE__ */ React.createElement(View, { testID: testId }, /* @__PURE__ */ React.createElement(
|
|
1090
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID: testId }, /* @__PURE__ */ React$1.createElement(
|
|
1091
1091
|
CustomTypography,
|
|
1092
1092
|
{
|
|
1093
1093
|
variant: "P3regular",
|
|
1094
1094
|
style: styles$v.labelStyle,
|
|
1095
1095
|
text: label
|
|
1096
1096
|
}
|
|
1097
|
-
), /* @__PURE__ */ React.createElement(
|
|
1097
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
1098
1098
|
Pressable,
|
|
1099
1099
|
{
|
|
1100
1100
|
testID: `${testId}-BTN`,
|
|
1101
1101
|
style: styles$v.dropDownStyle,
|
|
1102
1102
|
onPress: () => setShowOptions(!showOptions)
|
|
1103
1103
|
},
|
|
1104
|
-
iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
|
|
1104
|
+
iconName && /* @__PURE__ */ React$1.createElement(View, { style: iconStyle }, React$1.cloneElement(iconName, {
|
|
1105
1105
|
width: moderateScale(24),
|
|
1106
1106
|
height: moderateScale(24),
|
|
1107
1107
|
style: styles$v.iconStyle
|
|
1108
1108
|
})),
|
|
1109
|
-
/* @__PURE__ */ React.createElement(
|
|
1109
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1110
1110
|
CustomTypography,
|
|
1111
1111
|
{
|
|
1112
1112
|
variant: "P3regular",
|
|
@@ -1114,14 +1114,14 @@ const CustomDropdown$1 = ({
|
|
|
1114
1114
|
text: selectedValue ? selectedValue.label : placeholder
|
|
1115
1115
|
}
|
|
1116
1116
|
),
|
|
1117
|
-
/* @__PURE__ */ React.createElement(View, null, showOptions ? React.cloneElement(upArrowIcon, {
|
|
1117
|
+
/* @__PURE__ */ React$1.createElement(View, null, showOptions ? React$1.cloneElement(upArrowIcon, {
|
|
1118
1118
|
width: moderateScale(24),
|
|
1119
1119
|
height: moderateScale(24)
|
|
1120
|
-
}) : React.cloneElement(downArrowIcon, {
|
|
1120
|
+
}) : React$1.cloneElement(downArrowIcon, {
|
|
1121
1121
|
width: moderateScale(24),
|
|
1122
1122
|
height: moderateScale(24)
|
|
1123
1123
|
}))
|
|
1124
|
-
), showOptions && /* @__PURE__ */ React.createElement(View, { style: styles$v.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React.createElement(
|
|
1124
|
+
), showOptions && /* @__PURE__ */ React$1.createElement(View, { style: styles$v.optionContainer }, options?.map(({ id, value, label: label2 }) => /* @__PURE__ */ React$1.createElement(
|
|
1125
1125
|
Pressable,
|
|
1126
1126
|
{
|
|
1127
1127
|
key: id,
|
|
@@ -1137,12 +1137,12 @@ const CustomDropdown$1 = ({
|
|
|
1137
1137
|
}
|
|
1138
1138
|
]
|
|
1139
1139
|
},
|
|
1140
|
-
iconName && /* @__PURE__ */ React.createElement(View, { style: iconStyle }, React.cloneElement(iconName, {
|
|
1140
|
+
iconName && /* @__PURE__ */ React$1.createElement(View, { style: iconStyle }, React$1.cloneElement(iconName, {
|
|
1141
1141
|
width: moderateScale(24),
|
|
1142
1142
|
height: moderateScale(24),
|
|
1143
1143
|
style: styles$v.iconStyle
|
|
1144
1144
|
})),
|
|
1145
|
-
/* @__PURE__ */ React.createElement(
|
|
1145
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1146
1146
|
CustomTypography,
|
|
1147
1147
|
{
|
|
1148
1148
|
variant: "P3regular",
|
|
@@ -1233,14 +1233,14 @@ const CustomTextInput = ({
|
|
|
1233
1233
|
};
|
|
1234
1234
|
const handleIconPress1 = () => setValue("");
|
|
1235
1235
|
const handleIconPress2 = () => setIsSecureTextEntry(!isSecureTextEntry);
|
|
1236
|
-
return /* @__PURE__ */ React.createElement(View, { testID }, /* @__PURE__ */ React.createElement(
|
|
1236
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID }, /* @__PURE__ */ React$1.createElement(
|
|
1237
1237
|
CustomTypography,
|
|
1238
1238
|
{
|
|
1239
1239
|
variant: "P3medium",
|
|
1240
1240
|
style: [styles$u.labelStyle, disabled && styles$u.disableTextStyle],
|
|
1241
1241
|
text: label
|
|
1242
1242
|
}
|
|
1243
|
-
), /* @__PURE__ */ React.createElement(
|
|
1243
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
1244
1244
|
View,
|
|
1245
1245
|
{
|
|
1246
1246
|
style: [
|
|
@@ -1255,12 +1255,12 @@ const CustomTextInput = ({
|
|
|
1255
1255
|
}
|
|
1256
1256
|
]
|
|
1257
1257
|
},
|
|
1258
|
-
isSearchBar && searchIcon && React.cloneElement(searchIcon, {
|
|
1258
|
+
isSearchBar && searchIcon && React$1.cloneElement(searchIcon, {
|
|
1259
1259
|
width: moderateScale(24),
|
|
1260
1260
|
height: moderateScale(24),
|
|
1261
1261
|
style: styles$u.searchIconStyle
|
|
1262
1262
|
}),
|
|
1263
|
-
/* @__PURE__ */ React.createElement(
|
|
1263
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1264
1264
|
TextInput,
|
|
1265
1265
|
{
|
|
1266
1266
|
...props,
|
|
@@ -1277,15 +1277,15 @@ const CustomTextInput = ({
|
|
|
1277
1277
|
secureTextEntry: isSecureTextEntry
|
|
1278
1278
|
}
|
|
1279
1279
|
),
|
|
1280
|
-
value && !multiline && rightIcon1 && React.cloneElement(rightIcon1, {
|
|
1280
|
+
value && !multiline && rightIcon1 && React$1.cloneElement(rightIcon1, {
|
|
1281
1281
|
onPress: handleIconPress1,
|
|
1282
1282
|
testID: "icon1"
|
|
1283
1283
|
}),
|
|
1284
|
-
secureTextEntry && rightIcon2 && React.cloneElement(rightIcon2, {
|
|
1284
|
+
secureTextEntry && rightIcon2 && React$1.cloneElement(rightIcon2, {
|
|
1285
1285
|
onPress: handleIconPress2,
|
|
1286
1286
|
testID: "icon2"
|
|
1287
1287
|
})
|
|
1288
|
-
), (error || successMessage) && /* @__PURE__ */ React.createElement(
|
|
1288
|
+
), (error || successMessage) && /* @__PURE__ */ React$1.createElement(
|
|
1289
1289
|
CustomTypography,
|
|
1290
1290
|
{
|
|
1291
1291
|
numberOfLines: 2,
|
|
@@ -1308,7 +1308,7 @@ const CustomTooltip = ({
|
|
|
1308
1308
|
backgroundColor,
|
|
1309
1309
|
triggerElement
|
|
1310
1310
|
}) => {
|
|
1311
|
-
return /* @__PURE__ */ React.createElement(
|
|
1311
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1312
1312
|
Tooltip,
|
|
1313
1313
|
{
|
|
1314
1314
|
isVisible,
|
|
@@ -1369,27 +1369,27 @@ const FileUpload = ({
|
|
|
1369
1369
|
icon,
|
|
1370
1370
|
iconStyle
|
|
1371
1371
|
}) => {
|
|
1372
|
-
return /* @__PURE__ */ React.createElement(
|
|
1372
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1373
1373
|
View,
|
|
1374
1374
|
{
|
|
1375
1375
|
style: [styles$t.container, containerStyle],
|
|
1376
1376
|
testID: "file-upload-container"
|
|
1377
1377
|
},
|
|
1378
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$t.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$t.title, text: title }), /* @__PURE__ */ React.createElement(
|
|
1378
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$t.content }, /* @__PURE__ */ React$1.createElement(View, { style: [uploadImageStyling], testID: "file-upload-image" }, icon && React$1.cloneElement(icon, { style: [iconStyle] })), /* @__PURE__ */ React$1.createElement(CustomTypography, { variant: "H8bold", style: styles$t.title, text: title }), /* @__PURE__ */ React$1.createElement(
|
|
1379
1379
|
CustomTypography,
|
|
1380
1380
|
{
|
|
1381
1381
|
variant: "P4regular",
|
|
1382
1382
|
style: styles$t.description,
|
|
1383
1383
|
text: `Drop files directly here or `
|
|
1384
1384
|
}
|
|
1385
|
-
), /* @__PURE__ */ React.createElement(
|
|
1385
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
1386
1386
|
CustomTypography,
|
|
1387
1387
|
{
|
|
1388
1388
|
variant: "P4regular",
|
|
1389
1389
|
style: styles$t.browse,
|
|
1390
1390
|
text: btnText
|
|
1391
1391
|
}
|
|
1392
|
-
), /* @__PURE__ */ React.createElement(
|
|
1392
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
1393
1393
|
CustomTypography,
|
|
1394
1394
|
{
|
|
1395
1395
|
testID: "file-upload-description",
|
|
@@ -1398,14 +1398,14 @@ const FileUpload = ({
|
|
|
1398
1398
|
text: ` from your device`
|
|
1399
1399
|
}
|
|
1400
1400
|
)),
|
|
1401
|
-
/* @__PURE__ */ React.createElement(
|
|
1401
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1402
1402
|
Pressable,
|
|
1403
1403
|
{
|
|
1404
1404
|
style: styles$t.button,
|
|
1405
1405
|
onPress: onUpload,
|
|
1406
1406
|
testID: "file-upload-button"
|
|
1407
1407
|
},
|
|
1408
|
-
/* @__PURE__ */ React.createElement(
|
|
1408
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1409
1409
|
CustomTypography,
|
|
1410
1410
|
{
|
|
1411
1411
|
variant: "B2semiBold",
|
|
@@ -1418,7 +1418,7 @@ const FileUpload = ({
|
|
|
1418
1418
|
};
|
|
1419
1419
|
|
|
1420
1420
|
const PdfView = (props) => {
|
|
1421
|
-
return /* @__PURE__ */ React.createElement(Pdf, { ...props });
|
|
1421
|
+
return /* @__PURE__ */ React$1.createElement(Pdf, { ...props });
|
|
1422
1422
|
};
|
|
1423
1423
|
|
|
1424
1424
|
const styles$s = StyleSheet.create({
|
|
@@ -1477,28 +1477,28 @@ const PopUp = ({
|
|
|
1477
1477
|
leftButtonShown = false,
|
|
1478
1478
|
rightButtonShown = false
|
|
1479
1479
|
}) => {
|
|
1480
|
-
return /* @__PURE__ */ React.createElement(View, { testID, style: styles$s.container }, title ? /* @__PURE__ */ React.createElement(
|
|
1480
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID, style: styles$s.container }, title ? /* @__PURE__ */ React$1.createElement(
|
|
1481
1481
|
CustomTypography,
|
|
1482
1482
|
{
|
|
1483
1483
|
style: styles$s.subTitleBelow,
|
|
1484
1484
|
variant: "H6semiBold",
|
|
1485
1485
|
text: title
|
|
1486
1486
|
}
|
|
1487
|
-
) : null, subtitle ? /* @__PURE__ */ React.createElement(
|
|
1487
|
+
) : null, subtitle ? /* @__PURE__ */ React$1.createElement(
|
|
1488
1488
|
CustomTypography,
|
|
1489
1489
|
{
|
|
1490
1490
|
style: styles$s.subtitle,
|
|
1491
1491
|
variant: "P3regular",
|
|
1492
1492
|
text: subtitle
|
|
1493
1493
|
}
|
|
1494
|
-
) : null, /* @__PURE__ */ React.createElement(View, { style: styles$s.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React.createElement(
|
|
1494
|
+
) : null, /* @__PURE__ */ React$1.createElement(View, { style: styles$s.buttonContainer }, leftButtonShown ? /* @__PURE__ */ React$1.createElement(
|
|
1495
1495
|
Pressable,
|
|
1496
1496
|
{
|
|
1497
1497
|
testID: "Left-Button-Press",
|
|
1498
1498
|
style: styles$s.buttonLeft,
|
|
1499
1499
|
onPress: onButtonPress
|
|
1500
1500
|
},
|
|
1501
|
-
/* @__PURE__ */ React.createElement(
|
|
1501
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1502
1502
|
CustomTypography,
|
|
1503
1503
|
{
|
|
1504
1504
|
style: styles$s.buttonLeftText,
|
|
@@ -1506,7 +1506,7 @@ const PopUp = ({
|
|
|
1506
1506
|
text: buttonText
|
|
1507
1507
|
}
|
|
1508
1508
|
)
|
|
1509
|
-
) : null, rightButtonShown ? /* @__PURE__ */ React.createElement(Pressable, { style: styles$s.button, onPress: onButtonPress }, /* @__PURE__ */ React.createElement(
|
|
1509
|
+
) : null, rightButtonShown ? /* @__PURE__ */ React$1.createElement(Pressable, { style: styles$s.button, onPress: onButtonPress }, /* @__PURE__ */ React$1.createElement(
|
|
1510
1510
|
CustomTypography,
|
|
1511
1511
|
{
|
|
1512
1512
|
style: styles$s.buttonText,
|
|
@@ -1548,7 +1548,7 @@ const CustomProgressBar = ({
|
|
|
1548
1548
|
return () => clearInterval(progressInterval);
|
|
1549
1549
|
}, [progress, value, increment, interval]);
|
|
1550
1550
|
const showPercentage = () => {
|
|
1551
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles$r.flexDirection }, /* @__PURE__ */ React.createElement(
|
|
1551
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles$r.flexDirection }, /* @__PURE__ */ React$1.createElement(
|
|
1552
1552
|
CustomText$1,
|
|
1553
1553
|
{
|
|
1554
1554
|
text: `${value}%`,
|
|
@@ -1556,7 +1556,7 @@ const CustomProgressBar = ({
|
|
|
1556
1556
|
textColor: "CONTENT_PRIMARY",
|
|
1557
1557
|
style: valueTextStyle
|
|
1558
1558
|
}
|
|
1559
|
-
), percentageText ? /* @__PURE__ */ React.createElement(
|
|
1559
|
+
), percentageText ? /* @__PURE__ */ React$1.createElement(
|
|
1560
1560
|
CustomText$1,
|
|
1561
1561
|
{
|
|
1562
1562
|
text: percentageText,
|
|
@@ -1569,7 +1569,7 @@ const CustomProgressBar = ({
|
|
|
1569
1569
|
const renderProgressBar = () => {
|
|
1570
1570
|
switch (type) {
|
|
1571
1571
|
case ShapeType.LINE:
|
|
1572
|
-
return /* @__PURE__ */ React.createElement(
|
|
1572
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1573
1573
|
Progress.Bar,
|
|
1574
1574
|
{
|
|
1575
1575
|
progress: progress / 100,
|
|
@@ -1583,7 +1583,7 @@ const CustomProgressBar = ({
|
|
|
1583
1583
|
}
|
|
1584
1584
|
);
|
|
1585
1585
|
case ShapeType.CIRCLE:
|
|
1586
|
-
return /* @__PURE__ */ React.createElement(
|
|
1586
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1587
1587
|
Progress.Circle,
|
|
1588
1588
|
{
|
|
1589
1589
|
progress: progress / 100,
|
|
@@ -1601,7 +1601,7 @@ const CustomProgressBar = ({
|
|
|
1601
1601
|
return null;
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
|
-
return /* @__PURE__ */ React.createElement(View, { testID: "custom-progress-bar" }, renderProgressBar());
|
|
1604
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID: "custom-progress-bar" }, renderProgressBar());
|
|
1605
1605
|
};
|
|
1606
1606
|
const styles$r = StyleSheet.create({
|
|
1607
1607
|
flexDirection: {
|
|
@@ -1634,19 +1634,19 @@ const splitRating = (rating) => {
|
|
|
1634
1634
|
const drawStar = (starIndex, ratingArray, size, fullStarIcon, halfStarIcon, fullStarColor, emptyStarColor) => {
|
|
1635
1635
|
const [fullStars, decimalPart] = ratingArray;
|
|
1636
1636
|
if (starIndex <= fullStars) {
|
|
1637
|
-
return React.cloneElement(fullStarIcon, {
|
|
1637
|
+
return React$1.cloneElement(fullStarIcon, {
|
|
1638
1638
|
style: { height: size, width: size },
|
|
1639
1639
|
fill: fullStarColor,
|
|
1640
1640
|
testID: `star-${starIndex}`
|
|
1641
1641
|
});
|
|
1642
1642
|
} else if (starIndex === fullStars + 1 && decimalPart >= 0.5) {
|
|
1643
|
-
return React.cloneElement(halfStarIcon, {
|
|
1643
|
+
return React$1.cloneElement(halfStarIcon, {
|
|
1644
1644
|
style: { height: size, width: size },
|
|
1645
1645
|
fill: fullStarColor,
|
|
1646
1646
|
testID: `star-${starIndex}`
|
|
1647
1647
|
});
|
|
1648
1648
|
} else {
|
|
1649
|
-
return React.cloneElement(fullStarIcon, {
|
|
1649
|
+
return React$1.cloneElement(fullStarIcon, {
|
|
1650
1650
|
style: { height: size, width: size },
|
|
1651
1651
|
fill: emptyStarColor,
|
|
1652
1652
|
testID: `star-${starIndex}`
|
|
@@ -1677,10 +1677,10 @@ const Star = ({
|
|
|
1677
1677
|
emptyStarColor
|
|
1678
1678
|
);
|
|
1679
1679
|
stars.push(
|
|
1680
|
-
/* @__PURE__ */ React.createElement(View, { key: i, style: [styles$q.star, starStyle] }, starType)
|
|
1680
|
+
/* @__PURE__ */ React$1.createElement(View, { key: i, style: [styles$q.star, starStyle] }, starType)
|
|
1681
1681
|
);
|
|
1682
1682
|
}
|
|
1683
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles$q.container, testID: "star" }, stars);
|
|
1683
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles$q.container, testID: "star" }, stars);
|
|
1684
1684
|
};
|
|
1685
1685
|
|
|
1686
1686
|
var styles$p = StyleSheet.create({
|
|
@@ -1729,7 +1729,7 @@ const Tabs = ({
|
|
|
1729
1729
|
onSelectionChange(selectedTabs);
|
|
1730
1730
|
}
|
|
1731
1731
|
};
|
|
1732
|
-
return /* @__PURE__ */ React.createElement(View, { style: [styles$p.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React.createElement(
|
|
1732
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: [styles$p.container, style] }, data?.map(({ id, title, isSelected }) => /* @__PURE__ */ React$1.createElement(
|
|
1733
1733
|
Pressable,
|
|
1734
1734
|
{
|
|
1735
1735
|
key: id,
|
|
@@ -1740,7 +1740,7 @@ const Tabs = ({
|
|
|
1740
1740
|
},
|
|
1741
1741
|
onPress: () => handlePress(id)
|
|
1742
1742
|
},
|
|
1743
|
-
/* @__PURE__ */ React.createElement(
|
|
1743
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1744
1744
|
CustomText$1,
|
|
1745
1745
|
{
|
|
1746
1746
|
variant: FontStyle.L2_REGULAR,
|
|
@@ -1810,7 +1810,7 @@ const Tags = ({
|
|
|
1810
1810
|
);
|
|
1811
1811
|
handleTagsChange(tag);
|
|
1812
1812
|
};
|
|
1813
|
-
return /* @__PURE__ */ React.createElement(
|
|
1813
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1814
1814
|
ScrollView,
|
|
1815
1815
|
{
|
|
1816
1816
|
testID,
|
|
@@ -1818,7 +1818,7 @@ const Tags = ({
|
|
|
1818
1818
|
contentContainerStyle: styles$o.contentContainer,
|
|
1819
1819
|
horizontal: false
|
|
1820
1820
|
},
|
|
1821
|
-
tags?.map((tag) => /* @__PURE__ */ React.createElement(
|
|
1821
|
+
tags?.map((tag) => /* @__PURE__ */ React$1.createElement(
|
|
1822
1822
|
Pressable,
|
|
1823
1823
|
{
|
|
1824
1824
|
testID: `${testID}-${tag}-BTN`,
|
|
@@ -1830,7 +1830,7 @@ const Tags = ({
|
|
|
1830
1830
|
selectedTags.includes(tag) ? styles$o.selectedTag : styles$o.tagUnSelected
|
|
1831
1831
|
]
|
|
1832
1832
|
},
|
|
1833
|
-
/* @__PURE__ */ React.createElement(
|
|
1833
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1834
1834
|
CustomTypography,
|
|
1835
1835
|
{
|
|
1836
1836
|
variant: selectedTags.includes(tag) ? "H9semiBold" : "P4regular",
|
|
@@ -1838,13 +1838,13 @@ const Tags = ({
|
|
|
1838
1838
|
text: tag
|
|
1839
1839
|
}
|
|
1840
1840
|
),
|
|
1841
|
-
selectedTags.includes(tag) && icon && /* @__PURE__ */ React.createElement(
|
|
1841
|
+
selectedTags.includes(tag) && icon && /* @__PURE__ */ React$1.createElement(
|
|
1842
1842
|
Pressable,
|
|
1843
1843
|
{
|
|
1844
1844
|
testID: `${testID}-${tag}-PRESS`,
|
|
1845
1845
|
onPress: () => removeTag(tag)
|
|
1846
1846
|
},
|
|
1847
|
-
React.cloneElement(icon, { style: [icon.props.style, iconStyle] })
|
|
1847
|
+
React$1.cloneElement(icon, { style: [icon.props.style, iconStyle] })
|
|
1848
1848
|
)
|
|
1849
1849
|
))
|
|
1850
1850
|
);
|
|
@@ -1911,14 +1911,14 @@ const CustomSwitch = ({
|
|
|
1911
1911
|
const animatedStyle = {
|
|
1912
1912
|
transform: [{ translateX: animatedValue }]
|
|
1913
1913
|
};
|
|
1914
|
-
return /* @__PURE__ */ React.createElement(
|
|
1914
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
1915
1915
|
Pressable,
|
|
1916
1916
|
{
|
|
1917
1917
|
onPress: toggleSwitch,
|
|
1918
1918
|
style: [styles$n.container, { width }],
|
|
1919
1919
|
testID: "custom-switch"
|
|
1920
1920
|
},
|
|
1921
|
-
/* @__PURE__ */ React.createElement(
|
|
1921
|
+
/* @__PURE__ */ React$1.createElement(
|
|
1922
1922
|
View,
|
|
1923
1923
|
{
|
|
1924
1924
|
style: [
|
|
@@ -1928,8 +1928,8 @@ const CustomSwitch = ({
|
|
|
1928
1928
|
}
|
|
1929
1929
|
]
|
|
1930
1930
|
},
|
|
1931
|
-
/* @__PURE__ */ React.createElement(Animated.View, { style: [styles$n.thumb, animatedStyle] }),
|
|
1932
|
-
type !== ToggleButtonType.SMALL && /* @__PURE__ */ React.createElement(
|
|
1931
|
+
/* @__PURE__ */ React$1.createElement(Animated.View, { style: [styles$n.thumb, animatedStyle] }),
|
|
1932
|
+
type !== ToggleButtonType.SMALL && /* @__PURE__ */ React$1.createElement(
|
|
1933
1933
|
CustomTypography,
|
|
1934
1934
|
{
|
|
1935
1935
|
variant: "B3semiBold",
|
|
@@ -2001,7 +2001,7 @@ const Accordion = ({
|
|
|
2001
2001
|
inputRange: [0, 1],
|
|
2002
2002
|
outputRange: [0, contentHeight]
|
|
2003
2003
|
});
|
|
2004
|
-
return /* @__PURE__ */ React.createElement(
|
|
2004
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2005
2005
|
View,
|
|
2006
2006
|
{
|
|
2007
2007
|
style: {
|
|
@@ -2011,13 +2011,13 @@ const Accordion = ({
|
|
|
2011
2011
|
},
|
|
2012
2012
|
testID: testId
|
|
2013
2013
|
},
|
|
2014
|
-
/* @__PURE__ */ React.createElement(
|
|
2014
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2015
2015
|
Pressable,
|
|
2016
2016
|
{
|
|
2017
2017
|
style: [styles$m.header, headerStyle, disabled && { opacity: 0.5 }],
|
|
2018
2018
|
onPress: !disabled ? onToggle : void 0
|
|
2019
2019
|
},
|
|
2020
|
-
headerComponent ? headerComponent() : /* @__PURE__ */ React.createElement(
|
|
2020
|
+
headerComponent ? headerComponent() : /* @__PURE__ */ React$1.createElement(
|
|
2021
2021
|
CustomTypography,
|
|
2022
2022
|
{
|
|
2023
2023
|
variant: titleVariant,
|
|
@@ -2029,14 +2029,14 @@ const Accordion = ({
|
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
2031
|
),
|
|
2032
|
-
icon ? React.cloneElement(icon, {
|
|
2032
|
+
icon ? React$1.cloneElement(icon, {
|
|
2033
2033
|
width: moderateScale(20),
|
|
2034
2034
|
height: moderateScale(20),
|
|
2035
2035
|
style: styles$m.iconStyle
|
|
2036
2036
|
}) : null
|
|
2037
2037
|
),
|
|
2038
2038
|
optionalElement ? optionalElement() : null,
|
|
2039
|
-
isOpen && /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$m.content, { height: cardHeight }] }, /* @__PURE__ */ React.createElement(
|
|
2039
|
+
isOpen && /* @__PURE__ */ React$1.createElement(Animated.View, { style: [styles$m.content, { height: cardHeight }] }, /* @__PURE__ */ React$1.createElement(
|
|
2040
2040
|
View,
|
|
2041
2041
|
{
|
|
2042
2042
|
ref: contentRef,
|
|
@@ -2083,7 +2083,7 @@ const styles$l = StyleSheet.create({
|
|
|
2083
2083
|
}
|
|
2084
2084
|
});
|
|
2085
2085
|
|
|
2086
|
-
const Toast = React.forwardRef(
|
|
2086
|
+
const Toast = React$1.forwardRef(
|
|
2087
2087
|
({ sucessIcon, errorIcon }, ref) => {
|
|
2088
2088
|
const [visible, setVisible] = useState(false);
|
|
2089
2089
|
const [message, setMessage] = useState("");
|
|
@@ -2129,10 +2129,10 @@ const Toast = React.forwardRef(
|
|
|
2129
2129
|
return () => clearInterval(interval);
|
|
2130
2130
|
}
|
|
2131
2131
|
}, [visible]);
|
|
2132
|
-
React.useImperativeHandle(ref, () => ({
|
|
2132
|
+
React$1.useImperativeHandle(ref, () => ({
|
|
2133
2133
|
showToast
|
|
2134
2134
|
}));
|
|
2135
|
-
return visible ? /* @__PURE__ */ React.createElement(
|
|
2135
|
+
return visible ? /* @__PURE__ */ React$1.createElement(
|
|
2136
2136
|
Animated.View,
|
|
2137
2137
|
{
|
|
2138
2138
|
style: [
|
|
@@ -2143,21 +2143,21 @@ const Toast = React.forwardRef(
|
|
|
2143
2143
|
],
|
|
2144
2144
|
testID: "TOAST"
|
|
2145
2145
|
},
|
|
2146
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$l.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$l.innerContainer }, /* @__PURE__ */ React.createElement(Pressable, { onPress: hideToast }, isSuccess ? sucessIcon : errorIcon), /* @__PURE__ */ React.createElement(
|
|
2146
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$l.toastContainer }, /* @__PURE__ */ React$1.createElement(View, { style: styles$l.innerContainer }, /* @__PURE__ */ React$1.createElement(Pressable, { onPress: hideToast }, isSuccess ? sucessIcon : errorIcon), /* @__PURE__ */ React$1.createElement(
|
|
2147
2147
|
CustomTypography,
|
|
2148
2148
|
{
|
|
2149
2149
|
variant: "L2_REGULAR",
|
|
2150
2150
|
text: message,
|
|
2151
2151
|
style: styles$l.messageText
|
|
2152
2152
|
}
|
|
2153
|
-
), btnText && /* @__PURE__ */ React.createElement(
|
|
2153
|
+
), btnText && /* @__PURE__ */ React$1.createElement(
|
|
2154
2154
|
Pressable,
|
|
2155
2155
|
{
|
|
2156
2156
|
style: styles$l.button,
|
|
2157
2157
|
onPress: onBtnPress || void 0,
|
|
2158
2158
|
testID: "TOAST-BTN"
|
|
2159
2159
|
},
|
|
2160
|
-
/* @__PURE__ */ React.createElement(
|
|
2160
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2161
2161
|
CustomTypography,
|
|
2162
2162
|
{
|
|
2163
2163
|
variant: "L2_BOLD",
|
|
@@ -2166,7 +2166,7 @@ const Toast = React.forwardRef(
|
|
|
2166
2166
|
}
|
|
2167
2167
|
)
|
|
2168
2168
|
))),
|
|
2169
|
-
/* @__PURE__ */ React.createElement(
|
|
2169
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2170
2170
|
Progress.Bar,
|
|
2171
2171
|
{
|
|
2172
2172
|
progress,
|
|
@@ -2225,7 +2225,7 @@ const CustomSearchBar = ({
|
|
|
2225
2225
|
pointerEvents,
|
|
2226
2226
|
...props
|
|
2227
2227
|
}) => {
|
|
2228
|
-
return /* @__PURE__ */ React.createElement(
|
|
2228
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2229
2229
|
Pressable,
|
|
2230
2230
|
{
|
|
2231
2231
|
testID,
|
|
@@ -2239,7 +2239,7 @@ const CustomSearchBar = ({
|
|
|
2239
2239
|
],
|
|
2240
2240
|
onPress: handlePress
|
|
2241
2241
|
},
|
|
2242
|
-
/* @__PURE__ */ React.createElement(
|
|
2242
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2243
2243
|
Pressable,
|
|
2244
2244
|
{
|
|
2245
2245
|
onPress: () => {
|
|
@@ -2248,13 +2248,13 @@ const CustomSearchBar = ({
|
|
|
2248
2248
|
},
|
|
2249
2249
|
style: searchIconStyle
|
|
2250
2250
|
},
|
|
2251
|
-
React.cloneElement(searchIcon, {
|
|
2251
|
+
React$1.cloneElement(searchIcon, {
|
|
2252
2252
|
width: moderateScale(24),
|
|
2253
2253
|
height: moderateScale(24),
|
|
2254
2254
|
style: [styles$k.searchIconStyle, searchIconStyle]
|
|
2255
2255
|
})
|
|
2256
2256
|
),
|
|
2257
|
-
/* @__PURE__ */ React.createElement(
|
|
2257
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2258
2258
|
TextInput,
|
|
2259
2259
|
{
|
|
2260
2260
|
...props,
|
|
@@ -2270,7 +2270,7 @@ const CustomSearchBar = ({
|
|
|
2270
2270
|
pointerEvents
|
|
2271
2271
|
}
|
|
2272
2272
|
),
|
|
2273
|
-
value && /* @__PURE__ */ React.createElement(
|
|
2273
|
+
value && /* @__PURE__ */ React$1.createElement(
|
|
2274
2274
|
Pressable,
|
|
2275
2275
|
{
|
|
2276
2276
|
onPress: () => {
|
|
@@ -2279,7 +2279,7 @@ const CustomSearchBar = ({
|
|
|
2279
2279
|
},
|
|
2280
2280
|
style: crossIconStyle
|
|
2281
2281
|
},
|
|
2282
|
-
React.cloneElement(rightIcon, {
|
|
2282
|
+
React$1.cloneElement(rightIcon, {
|
|
2283
2283
|
// width: moderateScale(24),
|
|
2284
2284
|
// height: moderateScale(24),
|
|
2285
2285
|
style: [styles$k.crossIconStyle, crossIconStyle]
|
|
@@ -2316,7 +2316,7 @@ const CustomHeader = ({
|
|
|
2316
2316
|
onRightPress
|
|
2317
2317
|
}) => {
|
|
2318
2318
|
const { theme } = useTheme();
|
|
2319
|
-
return /* @__PURE__ */ React.createElement(
|
|
2319
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2320
2320
|
View,
|
|
2321
2321
|
{
|
|
2322
2322
|
style: {
|
|
@@ -2326,12 +2326,12 @@ const CustomHeader = ({
|
|
|
2326
2326
|
},
|
|
2327
2327
|
testID: testId
|
|
2328
2328
|
},
|
|
2329
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? React.cloneElement(leftIcon, {
|
|
2329
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? React$1.cloneElement(leftIcon, {
|
|
2330
2330
|
width: moderateScale(24),
|
|
2331
2331
|
height: moderateScale(24),
|
|
2332
2332
|
onPress: onLeftPress,
|
|
2333
2333
|
style: styles$j.leftIconStyle
|
|
2334
|
-
}) : null, /* @__PURE__ */ React.createElement(
|
|
2334
|
+
}) : null, /* @__PURE__ */ React$1.createElement(
|
|
2335
2335
|
CustomTypography,
|
|
2336
2336
|
{
|
|
2337
2337
|
variant: "B2_REGULAR",
|
|
@@ -2339,7 +2339,7 @@ const CustomHeader = ({
|
|
|
2339
2339
|
style: { color: theme.CONTENT_PRIMARY }
|
|
2340
2340
|
}
|
|
2341
2341
|
)),
|
|
2342
|
-
showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
|
|
2342
|
+
showRightIcon && rightIcon ? React$1.cloneElement(rightIcon, {
|
|
2343
2343
|
width: moderateScale(24),
|
|
2344
2344
|
height: moderateScale(24),
|
|
2345
2345
|
onPress: onRightPress,
|
|
@@ -2407,7 +2407,7 @@ const SwipableList = (props) => {
|
|
|
2407
2407
|
onPress,
|
|
2408
2408
|
style,
|
|
2409
2409
|
testID
|
|
2410
|
-
}) => /* @__PURE__ */ React.createElement(
|
|
2410
|
+
}) => /* @__PURE__ */ React$1.createElement(
|
|
2411
2411
|
Pressable,
|
|
2412
2412
|
{
|
|
2413
2413
|
testID,
|
|
@@ -2415,7 +2415,7 @@ const SwipableList = (props) => {
|
|
|
2415
2415
|
style: [styles$i.actionButton, style]
|
|
2416
2416
|
},
|
|
2417
2417
|
icon,
|
|
2418
|
-
/* @__PURE__ */ React.createElement(
|
|
2418
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2419
2419
|
CustomTypography,
|
|
2420
2420
|
{
|
|
2421
2421
|
variant: "L1_REGULAR",
|
|
@@ -2424,7 +2424,7 @@ const SwipableList = (props) => {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
)
|
|
2426
2426
|
);
|
|
2427
|
-
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React.createElement(View, { style: styles$i.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React.createElement(
|
|
2427
|
+
const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React$1.createElement(View, { style: styles$i.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React$1.createElement(
|
|
2428
2428
|
ActionButton,
|
|
2429
2429
|
{
|
|
2430
2430
|
icon: leftPrimaryActionIcon,
|
|
@@ -2436,7 +2436,7 @@ const SwipableList = (props) => {
|
|
|
2436
2436
|
style: leftPrimaryActionStyle,
|
|
2437
2437
|
testID: `${testId}-LEFT-PRIMARY-${item.id}`
|
|
2438
2438
|
}
|
|
2439
|
-
), leftSecondaryActionIcon && /* @__PURE__ */ React.createElement(
|
|
2439
|
+
), leftSecondaryActionIcon && /* @__PURE__ */ React$1.createElement(
|
|
2440
2440
|
ActionButton,
|
|
2441
2441
|
{
|
|
2442
2442
|
icon: leftSecondaryActionIcon,
|
|
@@ -2449,7 +2449,7 @@ const SwipableList = (props) => {
|
|
|
2449
2449
|
testID: `${testId}-LEFT-SECONDARY-${item.id}`
|
|
2450
2450
|
}
|
|
2451
2451
|
));
|
|
2452
|
-
const rightActionHandle = (item) => /* @__PURE__ */ React.createElement(View, { style: [styles$i.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React.createElement(
|
|
2452
|
+
const rightActionHandle = (item) => /* @__PURE__ */ React$1.createElement(View, { style: [styles$i.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React$1.createElement(
|
|
2453
2453
|
ActionButton,
|
|
2454
2454
|
{
|
|
2455
2455
|
icon: rightPrimaryActionIcon,
|
|
@@ -2462,7 +2462,7 @@ const SwipableList = (props) => {
|
|
|
2462
2462
|
testID: `${testId}-RIGHT-PRIMARY-${item.id}`
|
|
2463
2463
|
}
|
|
2464
2464
|
));
|
|
2465
|
-
const renderItem = ({ item }) => /* @__PURE__ */ React.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$i.container }, /* @__PURE__ */ React.createElement(
|
|
2465
|
+
const renderItem = ({ item }) => /* @__PURE__ */ React$1.createElement(GestureHandlerRootView, { testID: `${testId}-LIST`, style: styles$i.container }, /* @__PURE__ */ React$1.createElement(
|
|
2466
2466
|
Swipeable,
|
|
2467
2467
|
{
|
|
2468
2468
|
ref: (ref) => swipeableRefs.current[item.id] = ref,
|
|
@@ -2478,13 +2478,13 @@ const SwipableList = (props) => {
|
|
|
2478
2478
|
},
|
|
2479
2479
|
props?.renderItem(item)
|
|
2480
2480
|
));
|
|
2481
|
-
return /* @__PURE__ */ React.createElement(View, { testID: testId }, /* @__PURE__ */ React.createElement(
|
|
2481
|
+
return /* @__PURE__ */ React$1.createElement(View, { testID: testId }, /* @__PURE__ */ React$1.createElement(
|
|
2482
2482
|
FlatList,
|
|
2483
2483
|
{
|
|
2484
2484
|
data,
|
|
2485
2485
|
renderItem,
|
|
2486
2486
|
keyExtractor: (item) => item.id,
|
|
2487
|
-
ItemSeparatorComponent: () => /* @__PURE__ */ React.createElement(
|
|
2487
|
+
ItemSeparatorComponent: () => /* @__PURE__ */ React$1.createElement(
|
|
2488
2488
|
View,
|
|
2489
2489
|
{
|
|
2490
2490
|
style: {
|
|
@@ -2517,7 +2517,7 @@ const CustomIcon = ({
|
|
|
2517
2517
|
containerStyle,
|
|
2518
2518
|
titleStyle
|
|
2519
2519
|
}) => {
|
|
2520
|
-
return /* @__PURE__ */ React.createElement(
|
|
2520
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2521
2521
|
Pressable,
|
|
2522
2522
|
{
|
|
2523
2523
|
style: [styles$h.container, containerStyle],
|
|
@@ -2525,7 +2525,7 @@ const CustomIcon = ({
|
|
|
2525
2525
|
testID: testId
|
|
2526
2526
|
},
|
|
2527
2527
|
icon,
|
|
2528
|
-
title && /* @__PURE__ */ React.createElement(
|
|
2528
|
+
title && /* @__PURE__ */ React$1.createElement(
|
|
2529
2529
|
CustomTypography,
|
|
2530
2530
|
{
|
|
2531
2531
|
variant: titleVariant,
|
|
@@ -2536,9 +2536,21 @@ const CustomIcon = ({
|
|
|
2536
2536
|
);
|
|
2537
2537
|
};
|
|
2538
2538
|
|
|
2539
|
+
function AnimationWithImperativeApi() {
|
|
2540
|
+
return /* @__PURE__ */ React.createElement(View, { style: { flex: 1 } }, /* @__PURE__ */ React.createElement(
|
|
2541
|
+
LottieView,
|
|
2542
|
+
{
|
|
2543
|
+
style: { width: "100%", height: "100%" },
|
|
2544
|
+
source: loaderJson,
|
|
2545
|
+
autoPlay: true,
|
|
2546
|
+
loop: true
|
|
2547
|
+
}
|
|
2548
|
+
));
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2539
2551
|
const HorizontalLine = ({ backgroundColor = "SURFACE_SECONDARY", style }) => {
|
|
2540
2552
|
const { theme } = useTheme();
|
|
2541
|
-
return /* @__PURE__ */ React.createElement(
|
|
2553
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2542
2554
|
View,
|
|
2543
2555
|
{
|
|
2544
2556
|
style: [
|
|
@@ -2568,7 +2580,7 @@ const Topic = ({
|
|
|
2568
2580
|
subTitleStyle
|
|
2569
2581
|
}) => {
|
|
2570
2582
|
const { theme } = useTheme();
|
|
2571
|
-
return /* @__PURE__ */ React.createElement(
|
|
2583
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2572
2584
|
TouchableOpacity,
|
|
2573
2585
|
{
|
|
2574
2586
|
style: [
|
|
@@ -2578,9 +2590,9 @@ const Topic = ({
|
|
|
2578
2590
|
],
|
|
2579
2591
|
onPress
|
|
2580
2592
|
},
|
|
2581
|
-
rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$f.rightIconContainer }, React.cloneElement(rightIcon)),
|
|
2582
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$f.timeContainer }, time && /* @__PURE__ */ React.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
|
|
2583
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$f.textContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$f.paymentView }, statusImage && /* @__PURE__ */ React.createElement(View, null, React.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React.createElement(
|
|
2593
|
+
rightIcon && /* @__PURE__ */ React$1.createElement(View, { style: styles$f.rightIconContainer }, React$1.cloneElement(rightIcon)),
|
|
2594
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$f.timeContainer }, time && /* @__PURE__ */ React$1.createElement(CustomText$1, { text: time, variant: FontStyle.L2_REGULAR })),
|
|
2595
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$f.textContainer }, /* @__PURE__ */ React$1.createElement(View, { style: styles$f.paymentView }, statusImage && /* @__PURE__ */ React$1.createElement(View, null, React$1.cloneElement(statusImage)), subTitle && /* @__PURE__ */ React$1.createElement(
|
|
2584
2596
|
CustomText$1,
|
|
2585
2597
|
{
|
|
2586
2598
|
style: [styles$f.subTitle, subTitleStyle],
|
|
@@ -2588,7 +2600,7 @@ const Topic = ({
|
|
|
2588
2600
|
variant: FontStyle.L2_REGULAR,
|
|
2589
2601
|
textColor: Theme.CONTENT_PRIMARY
|
|
2590
2602
|
}
|
|
2591
|
-
)), /* @__PURE__ */ React.createElement(
|
|
2603
|
+
)), /* @__PURE__ */ React$1.createElement(
|
|
2592
2604
|
CustomText$1,
|
|
2593
2605
|
{
|
|
2594
2606
|
text: title,
|
|
@@ -2691,27 +2703,27 @@ const ContactModal = ({
|
|
|
2691
2703
|
onClose();
|
|
2692
2704
|
};
|
|
2693
2705
|
const emailOptions = ["Mail", "Gmail", "Outlook"];
|
|
2694
|
-
const renderEmailOptions = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2706
|
+
const renderEmailOptions = () => /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(
|
|
2695
2707
|
CustomText$1,
|
|
2696
2708
|
{
|
|
2697
2709
|
style: styles$e.title,
|
|
2698
2710
|
text: "Open email app",
|
|
2699
2711
|
variant: "L2_REGULAR"
|
|
2700
2712
|
}
|
|
2701
|
-
), /* @__PURE__ */ React.createElement(
|
|
2713
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
2702
2714
|
CustomText$1,
|
|
2703
2715
|
{
|
|
2704
2716
|
style: styles$e.subtitle,
|
|
2705
2717
|
text: "Which app would you like to open?",
|
|
2706
2718
|
variant: "L2_REGULAR"
|
|
2707
2719
|
}
|
|
2708
|
-
), emailOptions.map((option) => /* @__PURE__ */ React.createElement(React.Fragment, { key: option }, /* @__PURE__ */ React.createElement(Line, null), /* @__PURE__ */ React.createElement(
|
|
2720
|
+
), emailOptions.map((option) => /* @__PURE__ */ React$1.createElement(React$1.Fragment, { key: option }, /* @__PURE__ */ React$1.createElement(Line, null), /* @__PURE__ */ React$1.createElement(
|
|
2709
2721
|
Pressable,
|
|
2710
2722
|
{
|
|
2711
2723
|
onPress: () => handleOptionPress(),
|
|
2712
2724
|
style: styles$e.optionButton
|
|
2713
2725
|
},
|
|
2714
|
-
/* @__PURE__ */ React.createElement(
|
|
2726
|
+
/* @__PURE__ */ React$1.createElement(
|
|
2715
2727
|
CustomText$1,
|
|
2716
2728
|
{
|
|
2717
2729
|
style: styles$e.optionText,
|
|
@@ -2720,14 +2732,14 @@ const ContactModal = ({
|
|
|
2720
2732
|
}
|
|
2721
2733
|
)
|
|
2722
2734
|
))));
|
|
2723
|
-
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(
|
|
2735
|
+
const renderContent = () => /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(View, { style: styles$e.viewContainer }, isMailOpen ? renderEmailOptions() : /* @__PURE__ */ React$1.createElement(Pressable, { onPress: handleCall, style: styles$e.optionButton }, /* @__PURE__ */ React$1.createElement(
|
|
2724
2736
|
CustomText$1,
|
|
2725
2737
|
{
|
|
2726
2738
|
style: styles$e.optionText,
|
|
2727
2739
|
text: `Call ${phoneNumber}`,
|
|
2728
2740
|
variant: "B3_BOLD"
|
|
2729
2741
|
}
|
|
2730
|
-
))), /* @__PURE__ */ React.createElement(Pressable, { onPress: onClose, style: styles$e.cancelButton }, /* @__PURE__ */ React.createElement(
|
|
2742
|
+
))), /* @__PURE__ */ React$1.createElement(Pressable, { onPress: onClose, style: styles$e.cancelButton }, /* @__PURE__ */ React$1.createElement(
|
|
2731
2743
|
CustomText$1,
|
|
2732
2744
|
{
|
|
2733
2745
|
style: styles$e.cancelText,
|
|
@@ -2735,7 +2747,7 @@ const ContactModal = ({
|
|
|
2735
2747
|
variant: "B2_REGULAR"
|
|
2736
2748
|
}
|
|
2737
2749
|
)));
|
|
2738
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles$e.container }, /* @__PURE__ */ React.createElement(
|
|
2750
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles$e.container }, /* @__PURE__ */ React$1.createElement(
|
|
2739
2751
|
Modal$1,
|
|
2740
2752
|
{
|
|
2741
2753
|
animationType: "slide",
|
|
@@ -2743,7 +2755,7 @@ const ContactModal = ({
|
|
|
2743
2755
|
visible,
|
|
2744
2756
|
onRequestClose: onClose
|
|
2745
2757
|
},
|
|
2746
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$e.modalContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$e.modalContent }, renderContent()))
|
|
2758
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$e.modalContainer }, /* @__PURE__ */ React$1.createElement(View, { style: styles$e.modalContent }, renderContent()))
|
|
2747
2759
|
));
|
|
2748
2760
|
};
|
|
2749
2761
|
const styles$e = StyleSheet.create({
|
|
@@ -2888,7 +2900,7 @@ const DateRangePicker = (props) => {
|
|
|
2888
2900
|
return markedDates;
|
|
2889
2901
|
};
|
|
2890
2902
|
const isButtonDisabled = !selectedRange.startDate || !selectedRange.endDate;
|
|
2891
|
-
return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
|
|
2903
|
+
return /* @__PURE__ */ React$1.createElement(View, null, /* @__PURE__ */ React$1.createElement(
|
|
2892
2904
|
Calendar,
|
|
2893
2905
|
{
|
|
2894
2906
|
markedDates: getMarkedDates(),
|
|
@@ -2911,7 +2923,7 @@ const DateRangePicker = (props) => {
|
|
|
2911
2923
|
firstDay: 1,
|
|
2912
2924
|
...props
|
|
2913
2925
|
}
|
|
2914
|
-
), /* @__PURE__ */ React.createElement(
|
|
2926
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
2915
2927
|
CustomButton$1,
|
|
2916
2928
|
{
|
|
2917
2929
|
title: btnTitle,
|
|
@@ -2942,7 +2954,7 @@ const OurOfficesButton = ({
|
|
|
2942
2954
|
descriptionColor = "CONTENT_SECONDARY"
|
|
2943
2955
|
}) => {
|
|
2944
2956
|
const { theme } = useTheme();
|
|
2945
|
-
return /* @__PURE__ */ React.createElement(
|
|
2957
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
2946
2958
|
TouchableOpacity,
|
|
2947
2959
|
{
|
|
2948
2960
|
style: [
|
|
@@ -2952,8 +2964,8 @@ const OurOfficesButton = ({
|
|
|
2952
2964
|
],
|
|
2953
2965
|
onPress
|
|
2954
2966
|
},
|
|
2955
|
-
leftIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.iconContainer }, React.cloneElement(leftIcon)),
|
|
2956
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$c.textContainer }, /* @__PURE__ */ React.createElement(
|
|
2967
|
+
leftIcon && /* @__PURE__ */ React$1.createElement(View, { style: styles$c.iconContainer }, React$1.cloneElement(leftIcon)),
|
|
2968
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$c.textContainer }, /* @__PURE__ */ React$1.createElement(
|
|
2957
2969
|
CustomText$1,
|
|
2958
2970
|
{
|
|
2959
2971
|
text: title,
|
|
@@ -2961,7 +2973,7 @@ const OurOfficesButton = ({
|
|
|
2961
2973
|
textColor: titleColor,
|
|
2962
2974
|
style: styles$c.textView
|
|
2963
2975
|
}
|
|
2964
|
-
), /* @__PURE__ */ React.createElement(
|
|
2976
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
2965
2977
|
CustomText$1,
|
|
2966
2978
|
{
|
|
2967
2979
|
text: description,
|
|
@@ -2970,7 +2982,7 @@ const OurOfficesButton = ({
|
|
|
2970
2982
|
style: styles$c.flexWrap
|
|
2971
2983
|
}
|
|
2972
2984
|
)),
|
|
2973
|
-
rightIcon && /* @__PURE__ */ React.createElement(View, { style: styles$c.rightIconContainer }, React.cloneElement(rightIcon))
|
|
2985
|
+
rightIcon && /* @__PURE__ */ React$1.createElement(View, { style: styles$c.rightIconContainer }, React$1.cloneElement(rightIcon))
|
|
2974
2986
|
);
|
|
2975
2987
|
};
|
|
2976
2988
|
const styles$c = StyleSheet.create({
|
|
@@ -3026,7 +3038,7 @@ const NotificationBandge = ({
|
|
|
3026
3038
|
if (notificationCount <= 0) {
|
|
3027
3039
|
return icon;
|
|
3028
3040
|
}
|
|
3029
|
-
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)));
|
|
3041
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles$b.iconContainer }, icon, /* @__PURE__ */ React$1.createElement(View, { style: styles$b.badge }, /* @__PURE__ */ React$1.createElement(Text, { style: [styles$b.badgeText] }, notificationCount > 99 ? "99+" : notificationCount)));
|
|
3030
3042
|
};
|
|
3031
3043
|
|
|
3032
3044
|
const ScrollableList = ({
|
|
@@ -3047,7 +3059,7 @@ const ScrollableList = ({
|
|
|
3047
3059
|
);
|
|
3048
3060
|
const { theme } = useTheme();
|
|
3049
3061
|
const styles = createStyles$2({ theme });
|
|
3050
|
-
return /* @__PURE__ */ React.createElement(View, { style: [styles.container, containerStyle] }, /* @__PURE__ */ React.createElement(
|
|
3062
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: [styles.container, containerStyle] }, /* @__PURE__ */ React$1.createElement(
|
|
3051
3063
|
ScrollView,
|
|
3052
3064
|
{
|
|
3053
3065
|
horizontal: true,
|
|
@@ -3057,7 +3069,7 @@ const ScrollableList = ({
|
|
|
3057
3069
|
scrollViewContentStyle
|
|
3058
3070
|
]
|
|
3059
3071
|
},
|
|
3060
|
-
data?.map((item) => /* @__PURE__ */ React.createElement(
|
|
3072
|
+
data?.map((item) => /* @__PURE__ */ React$1.createElement(
|
|
3061
3073
|
Pressable,
|
|
3062
3074
|
{
|
|
3063
3075
|
key: item.value,
|
|
@@ -3074,7 +3086,7 @@ const ScrollableList = ({
|
|
|
3074
3086
|
handleSelectCategory(item.name, item.value);
|
|
3075
3087
|
}
|
|
3076
3088
|
},
|
|
3077
|
-
/* @__PURE__ */ React.createElement(
|
|
3089
|
+
/* @__PURE__ */ React$1.createElement(
|
|
3078
3090
|
CustomText$1,
|
|
3079
3091
|
{
|
|
3080
3092
|
text: item.name,
|
|
@@ -3083,7 +3095,7 @@ const ScrollableList = ({
|
|
|
3083
3095
|
style: (activeTab ?? selectedItem) === item.name ? activeTextStyle ? activeTextStyle : {} : {}
|
|
3084
3096
|
}
|
|
3085
3097
|
),
|
|
3086
|
-
item?.isError ? /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React.createElement(
|
|
3098
|
+
item?.isError ? /* @__PURE__ */ React$1.createElement(View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React$1.createElement(
|
|
3087
3099
|
CustomText$1,
|
|
3088
3100
|
{
|
|
3089
3101
|
text: item?.errorText,
|
|
@@ -3194,7 +3206,7 @@ const FeedbackForm = ({
|
|
|
3194
3206
|
const maxChars = 200;
|
|
3195
3207
|
const { theme } = useTheme();
|
|
3196
3208
|
const styles = createStyles$1(theme);
|
|
3197
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(
|
|
3209
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: styles.container }, /* @__PURE__ */ React$1.createElement(
|
|
3198
3210
|
CustomText$1,
|
|
3199
3211
|
{
|
|
3200
3212
|
text: title,
|
|
@@ -3202,7 +3214,7 @@ const FeedbackForm = ({
|
|
|
3202
3214
|
textColor: Theme.CONTENT_SECONDRY,
|
|
3203
3215
|
style: styles.headerText
|
|
3204
3216
|
}
|
|
3205
|
-
), /* @__PURE__ */ React.createElement(
|
|
3217
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
3206
3218
|
TextInput,
|
|
3207
3219
|
{
|
|
3208
3220
|
style: [styles.textInput, { height: Math.max(100) }],
|
|
@@ -3213,7 +3225,7 @@ const FeedbackForm = ({
|
|
|
3213
3225
|
value: feedback,
|
|
3214
3226
|
onChangeText: (text) => setFeedback(text)
|
|
3215
3227
|
}
|
|
3216
|
-
), /* @__PURE__ */ React.createElement(
|
|
3228
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
3217
3229
|
CustomText$1,
|
|
3218
3230
|
{
|
|
3219
3231
|
text: `${feedback.length}/${maxChars} characters`,
|
|
@@ -3221,14 +3233,14 @@ const FeedbackForm = ({
|
|
|
3221
3233
|
textColor: Theme.CONTENT_SECONDRY,
|
|
3222
3234
|
style: styles.charCounter
|
|
3223
3235
|
}
|
|
3224
|
-
), /* @__PURE__ */ React.createElement(View, { style: styles.buttonContainer }, /* @__PURE__ */ React.createElement(Pressable, { disabled: feedback?.length < 1, style: feedback?.length < 1 ? styles.feedbackButtonDisable : styles.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React.createElement(
|
|
3236
|
+
), /* @__PURE__ */ React$1.createElement(View, { style: styles.buttonContainer }, /* @__PURE__ */ React$1.createElement(Pressable, { disabled: feedback?.length < 1, style: feedback?.length < 1 ? styles.feedbackButtonDisable : styles.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React$1.createElement(
|
|
3225
3237
|
CustomText$1,
|
|
3226
3238
|
{
|
|
3227
3239
|
text: leftBtnTxt,
|
|
3228
3240
|
variant: FontStyle.L1_REGULAR,
|
|
3229
3241
|
textColor: feedback?.length < 1 ? Theme.CONTENT_SECONDRY : Theme.CONTENT_PRIMARY
|
|
3230
3242
|
}
|
|
3231
|
-
)), /* @__PURE__ */ React.createElement(Pressable, { style: styles.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React.createElement(
|
|
3243
|
+
)), /* @__PURE__ */ React$1.createElement(Pressable, { style: styles.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React$1.createElement(
|
|
3232
3244
|
CustomText$1,
|
|
3233
3245
|
{
|
|
3234
3246
|
text: rightBtnTxt,
|
|
@@ -3266,7 +3278,7 @@ const CountryDropDown = ({
|
|
|
3266
3278
|
setCallingCode(`+${country.callingCode[0]}`);
|
|
3267
3279
|
getCountryCode(`+${country.callingCode[0]}`);
|
|
3268
3280
|
};
|
|
3269
|
-
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(
|
|
3281
|
+
return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(View, { style: [styles$a.container, containerStyle] }, /* @__PURE__ */ React$1.createElement(View, { style: [styles$a.countryPickerContainer, countryPickerStyle] }, /* @__PURE__ */ React$1.createElement(
|
|
3270
3282
|
CountryPicker,
|
|
3271
3283
|
{
|
|
3272
3284
|
withFilter: true,
|
|
@@ -3276,21 +3288,21 @@ const CountryDropDown = ({
|
|
|
3276
3288
|
onSelect: handleSelect,
|
|
3277
3289
|
visible: pickerVisible
|
|
3278
3290
|
}
|
|
3279
|
-
), /* @__PURE__ */ React.createElement(
|
|
3291
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
3280
3292
|
Text,
|
|
3281
3293
|
{
|
|
3282
3294
|
onPress: () => setPickerVisible(true),
|
|
3283
3295
|
style: [styles$a.callingCode, callingCodeStyle]
|
|
3284
3296
|
},
|
|
3285
3297
|
callingCode
|
|
3286
|
-
)), /* @__PURE__ */ React.createElement(View, { style: styles$a.flex }, (isFocused || value) && /* @__PURE__ */ React.createElement(
|
|
3298
|
+
)), /* @__PURE__ */ React$1.createElement(View, { style: styles$a.flex }, (isFocused || value) && /* @__PURE__ */ React$1.createElement(
|
|
3287
3299
|
CustomTypography,
|
|
3288
3300
|
{
|
|
3289
3301
|
variant: "L2_REGULAR",
|
|
3290
3302
|
text: label ?? "",
|
|
3291
3303
|
style: styles$a.floatingLabel
|
|
3292
3304
|
}
|
|
3293
|
-
), /* @__PURE__ */ React.createElement(
|
|
3305
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
3294
3306
|
TextInput,
|
|
3295
3307
|
{
|
|
3296
3308
|
style: [styles$a.input, inputStyle],
|
|
@@ -3303,7 +3315,7 @@ const CountryDropDown = ({
|
|
|
3303
3315
|
maxLength,
|
|
3304
3316
|
placeholderTextColor: theme.CONTENT_SECONDRY["light"]
|
|
3305
3317
|
}
|
|
3306
|
-
))), errorMessage ? /* @__PURE__ */ React.createElement(
|
|
3318
|
+
))), errorMessage ? /* @__PURE__ */ React$1.createElement(
|
|
3307
3319
|
CustomTypography,
|
|
3308
3320
|
{
|
|
3309
3321
|
variant: "L2_REGULAR",
|
|
@@ -3385,7 +3397,7 @@ const CommonTextInput = (props) => {
|
|
|
3385
3397
|
onRightIconPress,
|
|
3386
3398
|
onlyErrorBorderLabel
|
|
3387
3399
|
} = props;
|
|
3388
|
-
return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$9.container }, /* @__PURE__ */ React.createElement(
|
|
3400
|
+
return /* @__PURE__ */ React$1.createElement(Pressable, { onPress: handlePress, style: styles$9.container }, /* @__PURE__ */ React$1.createElement(
|
|
3389
3401
|
TextInput$1,
|
|
3390
3402
|
{
|
|
3391
3403
|
mode: "outlined",
|
|
@@ -3423,7 +3435,7 @@ const CommonTextInput = (props) => {
|
|
|
3423
3435
|
error: errorMessage?.length || onlyErrorBorderLabel ? true : false,
|
|
3424
3436
|
multiline,
|
|
3425
3437
|
numberOfLines: multiline ? 4 : 1,
|
|
3426
|
-
right: rightIcon ? /* @__PURE__ */ React.createElement(
|
|
3438
|
+
right: rightIcon ? /* @__PURE__ */ React$1.createElement(
|
|
3427
3439
|
TextInput$1.Icon,
|
|
3428
3440
|
{
|
|
3429
3441
|
icon: rightIcon,
|
|
@@ -3435,7 +3447,7 @@ const CommonTextInput = (props) => {
|
|
|
3435
3447
|
) : null,
|
|
3436
3448
|
...props
|
|
3437
3449
|
}
|
|
3438
|
-
), errorMessage ? /* @__PURE__ */ React.createElement(
|
|
3450
|
+
), errorMessage ? /* @__PURE__ */ React$1.createElement(
|
|
3439
3451
|
CustomTypography,
|
|
3440
3452
|
{
|
|
3441
3453
|
variant: "L2_REGULAR",
|
|
@@ -3510,7 +3522,7 @@ const CustomDropdown = (props) => {
|
|
|
3510
3522
|
const [isFocus, setIsFocus] = useState(false);
|
|
3511
3523
|
const renderLabel = () => {
|
|
3512
3524
|
if (value || isFocus) {
|
|
3513
|
-
return /* @__PURE__ */ React.createElement(
|
|
3525
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
3514
3526
|
Text,
|
|
3515
3527
|
{
|
|
3516
3528
|
style: [
|
|
@@ -3534,7 +3546,7 @@ const CustomDropdown = (props) => {
|
|
|
3534
3546
|
};
|
|
3535
3547
|
const renderItem = (item) => {
|
|
3536
3548
|
const isSelected = item[valueField] === value;
|
|
3537
|
-
return /* @__PURE__ */ React.createElement(View, { style: [styles$8.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React.createElement(
|
|
3549
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: [styles$8.itemContainer, itemContainerStyle] }, /* @__PURE__ */ React$1.createElement(
|
|
3538
3550
|
Text,
|
|
3539
3551
|
{
|
|
3540
3552
|
style: [
|
|
@@ -3548,7 +3560,7 @@ const CustomDropdown = (props) => {
|
|
|
3548
3560
|
item[labelField]
|
|
3549
3561
|
));
|
|
3550
3562
|
};
|
|
3551
|
-
return /* @__PURE__ */ React.createElement(View, { style: [styles$8.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
|
|
3563
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: [styles$8.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React$1.createElement(
|
|
3552
3564
|
Dropdown,
|
|
3553
3565
|
{
|
|
3554
3566
|
...props,
|
|
@@ -3680,20 +3692,20 @@ const CustomSwitchBtn = ({
|
|
|
3680
3692
|
const toggleSwitch = () => {
|
|
3681
3693
|
onValueChange(!value);
|
|
3682
3694
|
};
|
|
3683
|
-
return /* @__PURE__ */ React.createElement(
|
|
3695
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
3684
3696
|
Pressable,
|
|
3685
3697
|
{
|
|
3686
3698
|
disabled,
|
|
3687
3699
|
onPress: toggleSwitch,
|
|
3688
3700
|
style: { ...styles$7.mainContainer, ...containerStyle }
|
|
3689
3701
|
},
|
|
3690
|
-
/* @__PURE__ */ React.createElement(
|
|
3702
|
+
/* @__PURE__ */ React$1.createElement(
|
|
3691
3703
|
Animated.View,
|
|
3692
3704
|
{
|
|
3693
3705
|
style: [styles$7.circle, { transform: [{ translateX }], ...circleStyle }]
|
|
3694
3706
|
}
|
|
3695
3707
|
),
|
|
3696
|
-
/* @__PURE__ */ React.createElement(
|
|
3708
|
+
/* @__PURE__ */ React$1.createElement(
|
|
3697
3709
|
CustomTypography,
|
|
3698
3710
|
{
|
|
3699
3711
|
style: [styles$7.activeText, value ? inActiveTextStyle : activeTextStyle],
|
|
@@ -3701,7 +3713,7 @@ const CustomSwitchBtn = ({
|
|
|
3701
3713
|
variant: activeTextVariant
|
|
3702
3714
|
}
|
|
3703
3715
|
),
|
|
3704
|
-
/* @__PURE__ */ React.createElement(
|
|
3716
|
+
/* @__PURE__ */ React$1.createElement(
|
|
3705
3717
|
CustomTypography,
|
|
3706
3718
|
{
|
|
3707
3719
|
style: [
|
|
@@ -3758,7 +3770,7 @@ const TagsComponent = ({
|
|
|
3758
3770
|
}
|
|
3759
3771
|
return tagList;
|
|
3760
3772
|
};
|
|
3761
|
-
const renderTagItem = ({ item }) => /* @__PURE__ */ React.createElement(
|
|
3773
|
+
const renderTagItem = ({ item }) => /* @__PURE__ */ React$1.createElement(
|
|
3762
3774
|
Pressable,
|
|
3763
3775
|
{
|
|
3764
3776
|
onPress: () => handleTagPress?.(item.name),
|
|
@@ -3767,7 +3779,7 @@ const TagsComponent = ({
|
|
|
3767
3779
|
selectedTag === item?.name ? [styles.selectedTagButton, selectedTagButton] : [styles.unselectedTagButton, unselectedTagButton]
|
|
3768
3780
|
]
|
|
3769
3781
|
},
|
|
3770
|
-
/* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
|
|
3782
|
+
/* @__PURE__ */ React$1.createElement(View, null, /* @__PURE__ */ React$1.createElement(
|
|
3771
3783
|
CustomText$1,
|
|
3772
3784
|
{
|
|
3773
3785
|
textColor: selectedTag === item?.name ? Theme.CONTENT_INVERTED : Theme.CONTENT_SECONDRY,
|
|
@@ -3775,7 +3787,7 @@ const TagsComponent = ({
|
|
|
3775
3787
|
text: item?.name
|
|
3776
3788
|
}
|
|
3777
3789
|
)),
|
|
3778
|
-
/* @__PURE__ */ React.createElement(View, { style: styles.circleViewAlignment }, selectedTag === item?.name && /* @__PURE__ */ React.createElement(
|
|
3790
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles.circleViewAlignment }, selectedTag === item?.name && /* @__PURE__ */ React$1.createElement(
|
|
3779
3791
|
CustomText$1,
|
|
3780
3792
|
{
|
|
3781
3793
|
text: "x",
|
|
@@ -3784,7 +3796,7 @@ const TagsComponent = ({
|
|
|
3784
3796
|
}
|
|
3785
3797
|
))
|
|
3786
3798
|
);
|
|
3787
|
-
return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
|
|
3799
|
+
return /* @__PURE__ */ React$1.createElement(View, null, /* @__PURE__ */ React$1.createElement(
|
|
3788
3800
|
FlatList,
|
|
3789
3801
|
{
|
|
3790
3802
|
data: reorderedTags(),
|
|
@@ -3903,7 +3915,7 @@ const CustomDocumentPicker = ({
|
|
|
3903
3915
|
const removeDocument = useCallback(() => {
|
|
3904
3916
|
setDocDetails(void 0);
|
|
3905
3917
|
}, []);
|
|
3906
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
3918
|
+
return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(
|
|
3907
3919
|
View,
|
|
3908
3920
|
{
|
|
3909
3921
|
style: [
|
|
@@ -3913,14 +3925,14 @@ const CustomDocumentPicker = ({
|
|
|
3913
3925
|
containerStyle
|
|
3914
3926
|
]
|
|
3915
3927
|
},
|
|
3916
|
-
/* @__PURE__ */ React.createElement(Pressable, { style: styles$6.innerContainer, onPress: pickDocument }, docDetails ? fileIcon : uploadIcon, /* @__PURE__ */ React.createElement(View, { style: styles$6.titleContainer }, /* @__PURE__ */ React.createElement(
|
|
3928
|
+
/* @__PURE__ */ React$1.createElement(Pressable, { style: styles$6.innerContainer, onPress: pickDocument }, docDetails ? fileIcon : uploadIcon, /* @__PURE__ */ React$1.createElement(View, { style: styles$6.titleContainer }, /* @__PURE__ */ React$1.createElement(
|
|
3917
3929
|
CustomTypography,
|
|
3918
3930
|
{
|
|
3919
3931
|
variant: FontStyle.L2_REGULAR,
|
|
3920
3932
|
text: docDetails?.name ?? title,
|
|
3921
3933
|
style: [{ color: theme.CONTENT_PRIMARY }, titleStyle]
|
|
3922
3934
|
}
|
|
3923
|
-
), !docDetails && /* @__PURE__ */ React.createElement(
|
|
3935
|
+
), !docDetails && /* @__PURE__ */ React$1.createElement(
|
|
3924
3936
|
CustomTypography,
|
|
3925
3937
|
{
|
|
3926
3938
|
variant: FontStyle.L3_REGULAR,
|
|
@@ -3928,10 +3940,10 @@ const CustomDocumentPicker = ({
|
|
|
3928
3940
|
style: [{ color: theme.CONTENT_SECONDRY }, hintStyle]
|
|
3929
3941
|
}
|
|
3930
3942
|
))),
|
|
3931
|
-
docDetails && React.cloneElement(deleteIcon, {
|
|
3943
|
+
docDetails && React$1.cloneElement(deleteIcon, {
|
|
3932
3944
|
onPress: removeDocument
|
|
3933
3945
|
})
|
|
3934
|
-
), error && /* @__PURE__ */ React.createElement(
|
|
3946
|
+
), error && /* @__PURE__ */ React$1.createElement(
|
|
3935
3947
|
CustomTypography,
|
|
3936
3948
|
{
|
|
3937
3949
|
variant: FontStyle.L2_REGULAR,
|
|
@@ -3980,7 +3992,7 @@ const styles$5 = StyleSheet.create({
|
|
|
3980
3992
|
}
|
|
3981
3993
|
});
|
|
3982
3994
|
|
|
3983
|
-
const OTPInput = React.forwardRef(
|
|
3995
|
+
const OTPInput = React$1.forwardRef(
|
|
3984
3996
|
({
|
|
3985
3997
|
length = 4,
|
|
3986
3998
|
onComplete,
|
|
@@ -4079,7 +4091,7 @@ const OTPInput = React.forwardRef(
|
|
|
4079
4091
|
}
|
|
4080
4092
|
});
|
|
4081
4093
|
};
|
|
4082
|
-
React.useImperativeHandle(ref, () => ({
|
|
4094
|
+
React$1.useImperativeHandle(ref, () => ({
|
|
4083
4095
|
reset() {
|
|
4084
4096
|
setOTP("");
|
|
4085
4097
|
refs.current[0]?.focus();
|
|
@@ -4118,7 +4130,7 @@ const OTPInput = React.forwardRef(
|
|
|
4118
4130
|
onComplete?.(otp);
|
|
4119
4131
|
}
|
|
4120
4132
|
}, [otp]);
|
|
4121
|
-
return /* @__PURE__ */ React.createElement(ThemeProvider, null, /* @__PURE__ */ React.createElement(View, { style: { ...otpContainerStyle }, "data-testid": testId }, /* @__PURE__ */ React.createElement(
|
|
4133
|
+
return /* @__PURE__ */ React$1.createElement(ThemeProvider, null, /* @__PURE__ */ React$1.createElement(View, { style: { ...otpContainerStyle }, "data-testid": testId }, /* @__PURE__ */ React$1.createElement(
|
|
4122
4134
|
CustomTypography,
|
|
4123
4135
|
{
|
|
4124
4136
|
text: label,
|
|
@@ -4129,7 +4141,7 @@ const OTPInput = React.forwardRef(
|
|
|
4129
4141
|
...otpHeaderTextStyle
|
|
4130
4142
|
}
|
|
4131
4143
|
}
|
|
4132
|
-
), /* @__PURE__ */ React.createElement(View, { style: { ...styles$5.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React.createElement(
|
|
4144
|
+
), /* @__PURE__ */ React$1.createElement(View, { style: { ...styles$5.textInputContainer } }, Array.from({ length }).map((_, index) => /* @__PURE__ */ React$1.createElement(
|
|
4133
4145
|
TextInput,
|
|
4134
4146
|
{
|
|
4135
4147
|
key: index?.toString(),
|
|
@@ -4153,21 +4165,21 @@ const OTPInput = React.forwardRef(
|
|
|
4153
4165
|
autoComplete: "sms-otp",
|
|
4154
4166
|
selectionColor: theme$1.CONTENT_PRIMARY
|
|
4155
4167
|
}
|
|
4156
|
-
))), !errorMessageMaxReachCount && /* @__PURE__ */ React.createElement(View, { style: styles$5.timerContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$5.timerIconContainer }, (disableResendButton() || !isResendOtpEnable) && /* @__PURE__ */ React.createElement(React.Fragment, null, timerIcon, /* @__PURE__ */ React.createElement(
|
|
4168
|
+
))), !errorMessageMaxReachCount && /* @__PURE__ */ React$1.createElement(View, { style: styles$5.timerContainer }, /* @__PURE__ */ React$1.createElement(View, { style: styles$5.timerIconContainer }, (disableResendButton() || !isResendOtpEnable) && /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, timerIcon, /* @__PURE__ */ React$1.createElement(
|
|
4157
4169
|
CustomTypography,
|
|
4158
4170
|
{
|
|
4159
4171
|
text: `00:${timeLeft} secs`,
|
|
4160
4172
|
variant: FontStyle.L1_REGULAR,
|
|
4161
4173
|
style: { color: theme$1.INFO }
|
|
4162
4174
|
}
|
|
4163
|
-
))), /* @__PURE__ */ React.createElement(
|
|
4175
|
+
))), /* @__PURE__ */ React$1.createElement(
|
|
4164
4176
|
Pressable,
|
|
4165
4177
|
{
|
|
4166
4178
|
onPress: onClickResendOTP,
|
|
4167
4179
|
style: styles$5.resendOTPStyle,
|
|
4168
4180
|
disabled: disableResendButton() || !isResendOtpEnable
|
|
4169
4181
|
},
|
|
4170
|
-
/* @__PURE__ */ React.createElement(
|
|
4182
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4171
4183
|
CustomTypography,
|
|
4172
4184
|
{
|
|
4173
4185
|
text: resendText,
|
|
@@ -4179,7 +4191,7 @@ const OTPInput = React.forwardRef(
|
|
|
4179
4191
|
}
|
|
4180
4192
|
}
|
|
4181
4193
|
)
|
|
4182
|
-
)), errorMessage ? /* @__PURE__ */ React.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React.createElement(
|
|
4194
|
+
)), errorMessage ? /* @__PURE__ */ React$1.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React$1.createElement(
|
|
4183
4195
|
CustomTypography,
|
|
4184
4196
|
{
|
|
4185
4197
|
text: errorMessage,
|
|
@@ -4189,7 +4201,7 @@ const OTPInput = React.forwardRef(
|
|
|
4189
4201
|
color: theme$1.ERROR
|
|
4190
4202
|
}
|
|
4191
4203
|
}
|
|
4192
|
-
)) : null, errorMessageMaxReachCount ? /* @__PURE__ */ React.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React.createElement(
|
|
4204
|
+
)) : null, errorMessageMaxReachCount ? /* @__PURE__ */ React$1.createElement(View, { style: styles$5.resendOtpContainer }, /* @__PURE__ */ React$1.createElement(
|
|
4193
4205
|
CustomTypography,
|
|
4194
4206
|
{
|
|
4195
4207
|
text: errorMessageMaxReachCount,
|
|
@@ -4331,18 +4343,18 @@ const Stepper = ({
|
|
|
4331
4343
|
return { borderColor: theme.CONTENT_SECONDRY };
|
|
4332
4344
|
}
|
|
4333
4345
|
};
|
|
4334
|
-
return /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
|
|
4346
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: { ...styles$4.stepperContainer, ...containerStyle } }, data?.map((item, index) => {
|
|
4335
4347
|
const stepCircleStyle = renderCircleStyle(item?.status);
|
|
4336
4348
|
const dividerStyle = renderDividerStyle(item?.status);
|
|
4337
4349
|
const labelStyle = renderLableStyle(item?.status);
|
|
4338
4350
|
const lastViewStyle = index === data?.length - 1 ? styles$4.lastStepWrapper : null;
|
|
4339
|
-
return /* @__PURE__ */ React.createElement(
|
|
4351
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
4340
4352
|
View,
|
|
4341
4353
|
{
|
|
4342
4354
|
key: index?.toString(),
|
|
4343
4355
|
style: { ...styles$4.stepperWrapper, ...lastViewStyle }
|
|
4344
4356
|
},
|
|
4345
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$4.stepperSeparatorContainer }, /* @__PURE__ */ React.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React.createElement(
|
|
4357
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$4.stepperSeparatorContainer }, /* @__PURE__ */ React$1.createElement(View, { style: { ...stepCircleStyle } }, showStepCount && /* @__PURE__ */ React$1.createElement(
|
|
4346
4358
|
CustomTypography,
|
|
4347
4359
|
{
|
|
4348
4360
|
text: item?.step,
|
|
@@ -4351,8 +4363,8 @@ const Stepper = ({
|
|
|
4351
4363
|
color: theme.CONTENT_PRIMARY
|
|
4352
4364
|
}
|
|
4353
4365
|
}
|
|
4354
|
-
), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React.createElement(View, { style: { ...styles$4.separator, ...dividerStyle } })),
|
|
4355
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$4.lableContainer }, /* @__PURE__ */ React.createElement(
|
|
4366
|
+
), showStatus && item?.status === Status.Completed && completedStatusIcon), index != data?.length - 1 && /* @__PURE__ */ React$1.createElement(View, { style: { ...styles$4.separator, ...dividerStyle } })),
|
|
4367
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$4.lableContainer }, /* @__PURE__ */ React$1.createElement(
|
|
4356
4368
|
CustomTypography,
|
|
4357
4369
|
{
|
|
4358
4370
|
text: item?.label,
|
|
@@ -4403,7 +4415,7 @@ const styles$3 = StyleSheet.create({
|
|
|
4403
4415
|
});
|
|
4404
4416
|
|
|
4405
4417
|
const BUTTON_WIDTH = 40;
|
|
4406
|
-
const CustomSlideButton = React.forwardRef(
|
|
4418
|
+
const CustomSlideButton = React$1.forwardRef(
|
|
4407
4419
|
({
|
|
4408
4420
|
label,
|
|
4409
4421
|
onComplete,
|
|
@@ -4423,7 +4435,7 @@ const CustomSlideButton = React.forwardRef(
|
|
|
4423
4435
|
const sliderConteinerRef = useRef(null);
|
|
4424
4436
|
const [color, setColor] = useState(new Animated.Value(0));
|
|
4425
4437
|
const [sliderBackgroundColorRef, setSliderBackgroundColorRef] = useState(new Animated.Value(0));
|
|
4426
|
-
React.useImperativeHandle(ref, () => ({
|
|
4438
|
+
React$1.useImperativeHandle(ref, () => ({
|
|
4427
4439
|
reset() {
|
|
4428
4440
|
resetAll();
|
|
4429
4441
|
}
|
|
@@ -4512,32 +4524,32 @@ const CustomSlideButton = React.forwardRef(
|
|
|
4512
4524
|
outputRange: [sliderBackgroundColor, "transparent"]
|
|
4513
4525
|
});
|
|
4514
4526
|
const { theme } = useTheme();
|
|
4515
|
-
return /* @__PURE__ */ React.createElement(View, { style: {
|
|
4527
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: {
|
|
4516
4528
|
...styles$3.sliderContainer,
|
|
4517
4529
|
backgroundColor: theme.SURFACE_INVERTED,
|
|
4518
4530
|
...containerStyle
|
|
4519
|
-
}, onLayout: handleLayout, ref: cardRef }, /* @__PURE__ */ React.createElement(
|
|
4531
|
+
}, onLayout: handleLayout, ref: cardRef }, /* @__PURE__ */ React$1.createElement(
|
|
4520
4532
|
Animated.View,
|
|
4521
4533
|
{
|
|
4522
4534
|
style: [styles$3.buttonTextContainer, { backgroundColor, transform: [{ translateX }] }],
|
|
4523
4535
|
ref: sliderConteinerRef
|
|
4524
4536
|
}
|
|
4525
|
-
), /* @__PURE__ */ React.createElement(
|
|
4537
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
4526
4538
|
View,
|
|
4527
4539
|
{
|
|
4528
4540
|
style: styles$3.buttonTextContainer
|
|
4529
4541
|
},
|
|
4530
|
-
/* @__PURE__ */ React.createElement(Animated.Text, { style: [{
|
|
4542
|
+
/* @__PURE__ */ React$1.createElement(Animated.Text, { style: [{
|
|
4531
4543
|
alignSelf: "center",
|
|
4532
4544
|
...textStyle
|
|
4533
4545
|
}, { color: textColor }] }, label)
|
|
4534
|
-
), /* @__PURE__ */ React.createElement(
|
|
4546
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
4535
4547
|
Animated.View,
|
|
4536
4548
|
{
|
|
4537
4549
|
style: [styles$3.slider, { transform: [{ translateX }] }],
|
|
4538
4550
|
...panResponder.panHandlers
|
|
4539
4551
|
},
|
|
4540
|
-
/* @__PURE__ */ React.createElement(
|
|
4552
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4541
4553
|
View,
|
|
4542
4554
|
{
|
|
4543
4555
|
style: {
|
|
@@ -4654,7 +4666,7 @@ const AppointmentCard = ({
|
|
|
4654
4666
|
directionText
|
|
4655
4667
|
}) => {
|
|
4656
4668
|
const { theme } = useTheme();
|
|
4657
|
-
return /* @__PURE__ */ React.createElement(
|
|
4669
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
4658
4670
|
Accordion$1,
|
|
4659
4671
|
{
|
|
4660
4672
|
title,
|
|
@@ -4667,14 +4679,14 @@ const AppointmentCard = ({
|
|
|
4667
4679
|
borderBottomColor: theme.BORDER_SEPERATOR_HEADER
|
|
4668
4680
|
},
|
|
4669
4681
|
headerStyle: styles$2.accordionHeader,
|
|
4670
|
-
headerComponent: () => /* @__PURE__ */ React.createElement(View, { style: styles$2.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React.createElement(View, { style: styles$2.accordionText }, /* @__PURE__ */ React.createElement(
|
|
4682
|
+
headerComponent: () => /* @__PURE__ */ React$1.createElement(View, { style: styles$2.accordionHeaderContent }, headerIcon, /* @__PURE__ */ React$1.createElement(View, { style: styles$2.accordionText }, /* @__PURE__ */ React$1.createElement(
|
|
4671
4683
|
CustomTypography,
|
|
4672
4684
|
{
|
|
4673
4685
|
text: headerTitle,
|
|
4674
4686
|
variant: FontStyle.L2_REGULAR,
|
|
4675
4687
|
style: { color: theme.CONTENT_SECONDRY }
|
|
4676
4688
|
}
|
|
4677
|
-
), /* @__PURE__ */ React.createElement(
|
|
4689
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
4678
4690
|
CustomTypography,
|
|
4679
4691
|
{
|
|
4680
4692
|
text: headerSubtitle,
|
|
@@ -4684,7 +4696,7 @@ const AppointmentCard = ({
|
|
|
4684
4696
|
))),
|
|
4685
4697
|
icon
|
|
4686
4698
|
},
|
|
4687
|
-
/* @__PURE__ */ React.createElement(
|
|
4699
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4688
4700
|
View,
|
|
4689
4701
|
{
|
|
4690
4702
|
style: [
|
|
@@ -4692,14 +4704,14 @@ const AppointmentCard = ({
|
|
|
4692
4704
|
{ borderTopColor: theme.BORDER_SEPERATOR_HEADER }
|
|
4693
4705
|
]
|
|
4694
4706
|
},
|
|
4695
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$2.appointmentInfo }, data.map(({ title: title2, value, isLocation, isStatus }) => /* @__PURE__ */ React.createElement(View, { style: styles$2.infoColumn, key: title2 }, /* @__PURE__ */ React.createElement(
|
|
4707
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$2.appointmentInfo }, data.map(({ title: title2, value, isLocation, isStatus }) => /* @__PURE__ */ React$1.createElement(View, { style: styles$2.infoColumn, key: title2 }, /* @__PURE__ */ React$1.createElement(
|
|
4696
4708
|
CustomTypography,
|
|
4697
4709
|
{
|
|
4698
4710
|
text: title2,
|
|
4699
4711
|
variant: FontStyle.L3_REGULAR,
|
|
4700
4712
|
style: { color: theme.CONTENT_SECONDRY }
|
|
4701
4713
|
}
|
|
4702
|
-
), /* @__PURE__ */ React.createElement(View, { style: styles$2.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React.createElement(
|
|
4714
|
+
), /* @__PURE__ */ React$1.createElement(View, { style: styles$2.infoRow }, isStatus && statusIcon, /* @__PURE__ */ React$1.createElement(
|
|
4703
4715
|
CustomTypography,
|
|
4704
4716
|
{
|
|
4705
4717
|
text: value,
|
|
@@ -4708,7 +4720,7 @@ const AppointmentCard = ({
|
|
|
4708
4720
|
color: isStatus ? theme.WARNING : theme.CONTENT_PRIMARY
|
|
4709
4721
|
}
|
|
4710
4722
|
}
|
|
4711
|
-
)), isLocation && /* @__PURE__ */ React.createElement(
|
|
4723
|
+
)), isLocation && /* @__PURE__ */ React$1.createElement(
|
|
4712
4724
|
CustomTypography,
|
|
4713
4725
|
{
|
|
4714
4726
|
text: directionText,
|
|
@@ -4720,7 +4732,7 @@ const AppointmentCard = ({
|
|
|
4720
4732
|
onPress: onDirectionPress
|
|
4721
4733
|
}
|
|
4722
4734
|
)))),
|
|
4723
|
-
/* @__PURE__ */ React.createElement(
|
|
4735
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4724
4736
|
View,
|
|
4725
4737
|
{
|
|
4726
4738
|
style: [
|
|
@@ -4731,7 +4743,7 @@ const AppointmentCard = ({
|
|
|
4731
4743
|
]
|
|
4732
4744
|
},
|
|
4733
4745
|
infoIcon,
|
|
4734
|
-
/* @__PURE__ */ React.createElement(
|
|
4746
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4735
4747
|
CustomTypography,
|
|
4736
4748
|
{
|
|
4737
4749
|
text: info,
|
|
@@ -4740,7 +4752,7 @@ const AppointmentCard = ({
|
|
|
4740
4752
|
}
|
|
4741
4753
|
)
|
|
4742
4754
|
),
|
|
4743
|
-
/* @__PURE__ */ React.createElement(
|
|
4755
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4744
4756
|
View,
|
|
4745
4757
|
{
|
|
4746
4758
|
style: [
|
|
@@ -4750,7 +4762,7 @@ const AppointmentCard = ({
|
|
|
4750
4762
|
}
|
|
4751
4763
|
]
|
|
4752
4764
|
},
|
|
4753
|
-
/* @__PURE__ */ React.createElement(
|
|
4765
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4754
4766
|
CustomTypography,
|
|
4755
4767
|
{
|
|
4756
4768
|
text: viewText,
|
|
@@ -4764,7 +4776,7 @@ const AppointmentCard = ({
|
|
|
4764
4776
|
onPress: onViewDetailsPress
|
|
4765
4777
|
}
|
|
4766
4778
|
),
|
|
4767
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$2.actionIcons }, /* @__PURE__ */ React.createElement(
|
|
4779
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$2.actionIcons }, /* @__PURE__ */ React$1.createElement(
|
|
4768
4780
|
CustomIcon,
|
|
4769
4781
|
{
|
|
4770
4782
|
icon: deleteIcon,
|
|
@@ -4774,7 +4786,7 @@ const AppointmentCard = ({
|
|
|
4774
4786
|
},
|
|
4775
4787
|
onPress: onDeletePress
|
|
4776
4788
|
}
|
|
4777
|
-
), /* @__PURE__ */ React.createElement(
|
|
4789
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
4778
4790
|
CustomIcon,
|
|
4779
4791
|
{
|
|
4780
4792
|
icon: editIcon,
|
|
@@ -4828,7 +4840,7 @@ const PropertyDetails = ({
|
|
|
4828
4840
|
onRightIconPress
|
|
4829
4841
|
}) => {
|
|
4830
4842
|
const { theme } = useTheme();
|
|
4831
|
-
return /* @__PURE__ */ React.createElement(
|
|
4843
|
+
return /* @__PURE__ */ React$1.createElement(
|
|
4832
4844
|
View,
|
|
4833
4845
|
{
|
|
4834
4846
|
style: {
|
|
@@ -4838,25 +4850,25 @@ const PropertyDetails = ({
|
|
|
4838
4850
|
...containerStyle
|
|
4839
4851
|
}
|
|
4840
4852
|
},
|
|
4841
|
-
React.cloneElement(icon, {
|
|
4853
|
+
React$1.cloneElement(icon, {
|
|
4842
4854
|
width: moderateScale(87),
|
|
4843
4855
|
height: moderateScale(87)
|
|
4844
4856
|
}),
|
|
4845
|
-
/* @__PURE__ */ React.createElement(View, { style: styles$1.propertyInfo }, brandIcon, /* @__PURE__ */ React.createElement(
|
|
4857
|
+
/* @__PURE__ */ React$1.createElement(View, { style: styles$1.propertyInfo }, brandIcon, /* @__PURE__ */ React$1.createElement(
|
|
4846
4858
|
CustomTypography,
|
|
4847
4859
|
{
|
|
4848
4860
|
text: title,
|
|
4849
4861
|
variant: FontStyle.L2_REGULAR,
|
|
4850
4862
|
style: { color: theme.CONTENT_PRIMARY }
|
|
4851
4863
|
}
|
|
4852
|
-
), /* @__PURE__ */ React.createElement(
|
|
4864
|
+
), /* @__PURE__ */ React$1.createElement(
|
|
4853
4865
|
CustomTypography,
|
|
4854
4866
|
{
|
|
4855
4867
|
text: subTitle,
|
|
4856
4868
|
variant: FontStyle.L1_REGULAR,
|
|
4857
4869
|
style: { color: theme.CONTENT_PRIMARY }
|
|
4858
4870
|
}
|
|
4859
|
-
), propertyNumber && /* @__PURE__ */ React.createElement(View, { style: styles$1.propertyNumber }, /* @__PURE__ */ React.createElement(
|
|
4871
|
+
), propertyNumber && /* @__PURE__ */ React$1.createElement(View, { style: styles$1.propertyNumber }, /* @__PURE__ */ React$1.createElement(
|
|
4860
4872
|
CustomTypography,
|
|
4861
4873
|
{
|
|
4862
4874
|
text: propertyNumber,
|
|
@@ -4866,7 +4878,7 @@ const PropertyDetails = ({
|
|
|
4866
4878
|
}
|
|
4867
4879
|
}
|
|
4868
4880
|
), hintIcon)),
|
|
4869
|
-
btnIcon && /* @__PURE__ */ React.createElement(
|
|
4881
|
+
btnIcon && /* @__PURE__ */ React$1.createElement(
|
|
4870
4882
|
CustomIcon,
|
|
4871
4883
|
{
|
|
4872
4884
|
icon: btnIcon,
|
|
@@ -4911,14 +4923,14 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
|
|
|
4911
4923
|
setSelectedOption(item.value);
|
|
4912
4924
|
onSelect(item);
|
|
4913
4925
|
};
|
|
4914
|
-
return /* @__PURE__ */ React.createElement(View, { style: [styles.container, containerStyle] }, data?.map((item) => /* @__PURE__ */ React.createElement(
|
|
4926
|
+
return /* @__PURE__ */ React$1.createElement(View, { style: [styles.container, containerStyle] }, data?.map((item) => /* @__PURE__ */ React$1.createElement(
|
|
4915
4927
|
TouchableOpacity,
|
|
4916
4928
|
{
|
|
4917
4929
|
key: item.value,
|
|
4918
4930
|
style: [styles.optionContainer, optionContainerStyle],
|
|
4919
4931
|
onPress: () => handleSelect(item)
|
|
4920
4932
|
},
|
|
4921
|
-
/* @__PURE__ */ React.createElement(
|
|
4933
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4922
4934
|
View,
|
|
4923
4935
|
{
|
|
4924
4936
|
style: [
|
|
@@ -4927,7 +4939,7 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
|
|
|
4927
4939
|
]
|
|
4928
4940
|
}
|
|
4929
4941
|
),
|
|
4930
|
-
/* @__PURE__ */ React.createElement(
|
|
4942
|
+
/* @__PURE__ */ React$1.createElement(
|
|
4931
4943
|
CustomTypography,
|
|
4932
4944
|
{
|
|
4933
4945
|
variant: FontStyle.L1_REGULAR,
|
|
@@ -4938,5 +4950,5 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
|
|
|
4938
4950
|
)));
|
|
4939
4951
|
};
|
|
4940
4952
|
|
|
4941
|
-
export { Accordion$1 as 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$1 as CustomHeader, CustomIcon, CustomLoader$1 as 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$1 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, RadioButtonGroup, ShapeType, TagSingleSelection as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList$1 as 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 };
|
|
4953
|
+
export { Accordion$1 as Accordion, AnimationWithImperativeApi as AnimationLoitte, 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$1 as CustomHeader, CustomIcon, CustomLoader$1 as 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$1 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, feedback as FeedbackForm, FileUpload, FontStyle, Line, NotificationBandge, OTPInput, OurOffices as OurOfficesButton, PdfView, PopUp, index as PropertyDetails, RadioButtonGroup, ShapeType, TagSingleSelection as SingleSelectionTags, Star as StarRating, index$3 as Stepper, SwipableList$1 as 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 };
|
|
4942
4954
|
//# sourceMappingURL=index.mjs.map
|