reactnatively 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animations.js +6 -7
- package/dist/animations.mjs +1 -2
- package/dist/{chunk-STYEL3E3.mjs → chunk-NMNPWEDQ.mjs} +591 -682
- package/dist/chunk-NMNPWEDQ.mjs.map +1 -0
- package/dist/{chunk-N2PBBXCI.js → chunk-QWNBJBUF.js} +591 -682
- package/dist/chunk-QWNBJBUF.js.map +1 -0
- package/dist/glass.js +9 -10
- package/dist/glass.mjs +1 -2
- package/dist/hooks.js +0 -1
- package/dist/hooks.mjs +0 -1
- package/dist/index.js +182 -183
- package/dist/index.mjs +1 -2
- package/dist/primitives.js +0 -1
- package/dist/primitives.mjs +0 -1
- package/package.json +7 -11
- package/dist/chunk-BJTO5JO5.mjs +0 -10
- package/dist/chunk-BJTO5JO5.mjs.map +0 -1
- package/dist/chunk-DGUM43GV.js +0 -12
- package/dist/chunk-DGUM43GV.js.map +0 -1
- package/dist/chunk-N2PBBXCI.js.map +0 -1
- package/dist/chunk-STYEL3E3.mjs.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkDGUM43GV_js = require('./chunk-DGUM43GV.js');
|
|
4
3
|
var reactnativelyTheme = require('reactnatively-theme');
|
|
5
4
|
var reactnativelyGlass = require('reactnatively-glass');
|
|
6
5
|
var reactnativelyAnimations = require('reactnatively-animations');
|
|
@@ -17,6 +16,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
17
16
|
var React38__default = /*#__PURE__*/_interopDefault(React38);
|
|
18
17
|
var Animated10__default = /*#__PURE__*/_interopDefault(Animated10);
|
|
19
18
|
|
|
19
|
+
// src/providers/ReactnativelyProvider.tsx
|
|
20
20
|
var TYPE_COLORS = {
|
|
21
21
|
success: "#22c55e",
|
|
22
22
|
error: "#ef4444",
|
|
@@ -940,18 +940,6 @@ reactNative.StyleSheet.create({});
|
|
|
940
940
|
var DEFAULT_COLORS = ["#6366f1", "#8b5cf6", "#ec4899"];
|
|
941
941
|
var DEFAULT_START = { x: 0, y: 0 };
|
|
942
942
|
var DEFAULT_END = { x: 1, y: 0 };
|
|
943
|
-
var MaskedView = null;
|
|
944
|
-
var LinearGradient = null;
|
|
945
|
-
try {
|
|
946
|
-
MaskedView = chunkDGUM43GV_js.__require("@react-native-masked-view/masked-view").default;
|
|
947
|
-
} catch {
|
|
948
|
-
MaskedView = null;
|
|
949
|
-
}
|
|
950
|
-
try {
|
|
951
|
-
LinearGradient = chunkDGUM43GV_js.__require("react-native-linear-gradient").default;
|
|
952
|
-
} catch {
|
|
953
|
-
LinearGradient = null;
|
|
954
|
-
}
|
|
955
943
|
var GradientText = React38__default.default.memo(
|
|
956
944
|
({
|
|
957
945
|
colors = DEFAULT_COLORS,
|
|
@@ -964,46 +952,6 @@ var GradientText = React38__default.default.memo(
|
|
|
964
952
|
const fallbackStyle = React38.useMemo(() => ({
|
|
965
953
|
color: colors[0] ?? DEFAULT_COLORS[0]
|
|
966
954
|
}), [colors]);
|
|
967
|
-
const maskedTextStyle = React38.useMemo(() => ({
|
|
968
|
-
opacity: 0
|
|
969
|
-
}), []);
|
|
970
|
-
const canUseGradient = reactNative.Platform.OS === "ios" && MaskedView !== null && LinearGradient !== null;
|
|
971
|
-
if (canUseGradient && MaskedView !== null && LinearGradient !== null) {
|
|
972
|
-
const MV = MaskedView;
|
|
973
|
-
const LG = LinearGradient;
|
|
974
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
975
|
-
MV,
|
|
976
|
-
{
|
|
977
|
-
style: styles14.masked,
|
|
978
|
-
maskElement: /* @__PURE__ */ jsxRuntime.jsx(
|
|
979
|
-
reactNative.Text,
|
|
980
|
-
{
|
|
981
|
-
...rest,
|
|
982
|
-
style: [styles14.maskText, style],
|
|
983
|
-
children
|
|
984
|
-
}
|
|
985
|
-
),
|
|
986
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
987
|
-
LG,
|
|
988
|
-
{
|
|
989
|
-
colors,
|
|
990
|
-
start,
|
|
991
|
-
end,
|
|
992
|
-
style: styles14.gradient,
|
|
993
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
994
|
-
reactNative.Text,
|
|
995
|
-
{
|
|
996
|
-
...rest,
|
|
997
|
-
style: [styles14.gradientText, style, maskedTextStyle],
|
|
998
|
-
"aria-hidden": true,
|
|
999
|
-
children
|
|
1000
|
-
}
|
|
1001
|
-
)
|
|
1002
|
-
}
|
|
1003
|
-
)
|
|
1004
|
-
}
|
|
1005
|
-
);
|
|
1006
|
-
}
|
|
1007
955
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1008
956
|
reactNative.Text,
|
|
1009
957
|
{
|
|
@@ -1015,20 +963,6 @@ var GradientText = React38__default.default.memo(
|
|
|
1015
963
|
}
|
|
1016
964
|
);
|
|
1017
965
|
GradientText.displayName = "GradientText";
|
|
1018
|
-
var styles14 = reactNative.StyleSheet.create({
|
|
1019
|
-
masked: {
|
|
1020
|
-
flexDirection: "row"
|
|
1021
|
-
},
|
|
1022
|
-
maskText: {
|
|
1023
|
-
backgroundColor: "transparent"
|
|
1024
|
-
},
|
|
1025
|
-
gradient: {
|
|
1026
|
-
flex: 1
|
|
1027
|
-
},
|
|
1028
|
-
gradientText: {
|
|
1029
|
-
backgroundColor: "transparent"
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
966
|
var SIZE_CONFIG2 = reactnativelyUtils.defineVariants({
|
|
1033
967
|
xs: { paddingVertical: 5, paddingHorizontal: 12, fontSize: 12, lineHeight: 16, borderRadius: 8, iconSize: 12, loaderSize: "small" },
|
|
1034
968
|
sm: { paddingVertical: 7, paddingHorizontal: 16, fontSize: 13, lineHeight: 18, borderRadius: 10, iconSize: 14, loaderSize: "small" },
|
|
@@ -1119,11 +1053,11 @@ var Button = React38__default.default.memo(
|
|
|
1119
1053
|
const isDisabled = disabled || loading;
|
|
1120
1054
|
const resolvedLabel = label ?? (typeof children === "string" ? children : void 0);
|
|
1121
1055
|
const customContent = label == null ? children : null;
|
|
1122
|
-
const innerContent = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
1123
|
-
leftIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
1056
|
+
const innerContent = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.inner, { paddingVertical: sz.paddingVertical, paddingHorizontal: sz.paddingHorizontal }], children: loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { testID: `${testID ?? ""}-spinner`, size: sz.loaderSize, color: loaderColor }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1057
|
+
leftIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.iconLeft, children: leftIcon }),
|
|
1124
1058
|
resolvedLabel != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [resolvedTextStyle, textStyle], numberOfLines: 1, allowFontScaling: false, children: resolvedLabel }),
|
|
1125
1059
|
customContent != null && typeof customContent !== "string" && customContent,
|
|
1126
|
-
rightIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
1060
|
+
rightIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles14.iconRight, children: rightIcon })
|
|
1127
1061
|
] }) });
|
|
1128
1062
|
if (variant === "glass") {
|
|
1129
1063
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1142,7 +1076,7 @@ var Button = React38__default.default.memo(
|
|
|
1142
1076
|
accessibilityState: { disabled: isDisabled, busy: loading },
|
|
1143
1077
|
style: [
|
|
1144
1078
|
animatedStyle,
|
|
1145
|
-
fullWidth ?
|
|
1079
|
+
fullWidth ? styles14.fullWidth : flex !== void 0 ? { flex } : styles14.selfStart,
|
|
1146
1080
|
{ opacity: disabled ? 0.45 : 1 },
|
|
1147
1081
|
style
|
|
1148
1082
|
],
|
|
@@ -1183,7 +1117,7 @@ var Button = React38__default.default.memo(
|
|
|
1183
1117
|
}
|
|
1184
1118
|
);
|
|
1185
1119
|
Button.displayName = "Button";
|
|
1186
|
-
var
|
|
1120
|
+
var styles14 = reactNative.StyleSheet.create({
|
|
1187
1121
|
inner: { flexDirection: "row", alignItems: "center", justifyContent: "center" },
|
|
1188
1122
|
iconLeft: { marginRight: 8 },
|
|
1189
1123
|
iconRight: { marginLeft: 8 },
|
|
@@ -1279,7 +1213,7 @@ var IconButton = React38__default.default.memo(
|
|
|
1279
1213
|
animatedStyle,
|
|
1280
1214
|
style
|
|
1281
1215
|
],
|
|
1282
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: resolvedBorderRadius, style:
|
|
1216
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: resolvedBorderRadius, style: styles15.fill, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.center, children: content }) })
|
|
1283
1217
|
}
|
|
1284
1218
|
);
|
|
1285
1219
|
}
|
|
@@ -1301,7 +1235,7 @@ var IconButton = React38__default.default.memo(
|
|
|
1301
1235
|
}
|
|
1302
1236
|
);
|
|
1303
1237
|
IconButton.displayName = "IconButton";
|
|
1304
|
-
var
|
|
1238
|
+
var styles15 = reactNative.StyleSheet.create({
|
|
1305
1239
|
fill: { flex: 1 },
|
|
1306
1240
|
center: { flex: 1, alignItems: "center", justifyContent: "center" }
|
|
1307
1241
|
});
|
|
@@ -1377,7 +1311,7 @@ var FAB = React38__default.default.memo(
|
|
|
1377
1311
|
isExtended && label != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1378
1312
|
reactNative.Text,
|
|
1379
1313
|
{
|
|
1380
|
-
style: [
|
|
1314
|
+
style: [styles16.label, { color: variant === "glass" ? theme.colors.text : "#fff" }],
|
|
1381
1315
|
allowFontScaling: false,
|
|
1382
1316
|
numberOfLines: 1,
|
|
1383
1317
|
children: label
|
|
@@ -1426,7 +1360,7 @@ var FAB = React38__default.default.memo(
|
|
|
1426
1360
|
}
|
|
1427
1361
|
);
|
|
1428
1362
|
FAB.displayName = "FAB";
|
|
1429
|
-
var
|
|
1363
|
+
var styles16 = reactNative.StyleSheet.create({
|
|
1430
1364
|
label: {
|
|
1431
1365
|
marginLeft: 10,
|
|
1432
1366
|
fontSize: 15,
|
|
@@ -1471,13 +1405,13 @@ var FormControl = React38__default.default.memo(
|
|
|
1471
1405
|
color: isInvalid && errorText ? theme.colors.error : theme.colors.textSecondary
|
|
1472
1406
|
}), [isInvalid, errorText, theme.colors.error, theme.colors.textSecondary]);
|
|
1473
1407
|
const subText = isInvalid && errorText ? errorText : helperText;
|
|
1474
|
-
return /* @__PURE__ */ jsxRuntime.jsx(FormControlContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
1408
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FormControlContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.container, style], children: [
|
|
1475
1409
|
label != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1476
1410
|
reactNative.Text,
|
|
1477
1411
|
{
|
|
1478
1412
|
nativeID: `${id}-label`,
|
|
1479
1413
|
style: [
|
|
1480
|
-
|
|
1414
|
+
styles17.label,
|
|
1481
1415
|
{ color: theme.colors.text }
|
|
1482
1416
|
],
|
|
1483
1417
|
allowFontScaling: false,
|
|
@@ -1493,7 +1427,7 @@ var FormControl = React38__default.default.memo(
|
|
|
1493
1427
|
}
|
|
1494
1428
|
);
|
|
1495
1429
|
FormControl.displayName = "FormControl";
|
|
1496
|
-
var
|
|
1430
|
+
var styles17 = reactNative.StyleSheet.create({
|
|
1497
1431
|
container: {
|
|
1498
1432
|
width: "100%"
|
|
1499
1433
|
},
|
|
@@ -1673,14 +1607,14 @@ var TextInput = React38__default.default.memo(
|
|
|
1673
1607
|
textAlignVertical: "center"
|
|
1674
1608
|
}), [sz.fontSize, sz.px, theme.colors.text, resolvedLabel, sz.height]);
|
|
1675
1609
|
const showClear = clearable && hasValue && !resolvedIsDisabled && !resolvedIsReadOnly;
|
|
1676
|
-
const innerContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
1677
|
-
leftAddon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
1678
|
-
leftIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
1679
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
1610
|
+
const innerContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.row, children: [
|
|
1611
|
+
leftAddon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.addon, children: leftAddon }),
|
|
1612
|
+
leftIcon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles18.iconContainer, { marginLeft: sz.px }], children: leftIcon }),
|
|
1613
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.inputWrapper, { paddingHorizontal: leftIcon || leftAddon ? 8 : sz.px }], children: [
|
|
1680
1614
|
resolvedLabel != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1681
1615
|
Animated10__default.default.Text,
|
|
1682
1616
|
{
|
|
1683
|
-
style: [
|
|
1617
|
+
style: [styles18.floatingLabel, labelScaleStyle, labelColorStyle],
|
|
1684
1618
|
allowFontScaling: false,
|
|
1685
1619
|
onPress: () => inputRef.current?.focus(),
|
|
1686
1620
|
children: [
|
|
@@ -1714,19 +1648,19 @@ var TextInput = React38__default.default.memo(
|
|
|
1714
1648
|
reactNative.Pressable,
|
|
1715
1649
|
{
|
|
1716
1650
|
onPress: handleClear,
|
|
1717
|
-
style: [
|
|
1651
|
+
style: [styles18.iconContainer, { marginRight: 8 }],
|
|
1718
1652
|
accessible: true,
|
|
1719
1653
|
accessibilityRole: "button",
|
|
1720
1654
|
accessibilityLabel: "Clear input",
|
|
1721
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
1655
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.clearIcon, { color: theme.colors.textMuted }], children: "\u2715" })
|
|
1722
1656
|
}
|
|
1723
1657
|
),
|
|
1724
|
-
rightIcon != null && !showClear && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
1725
|
-
rightAddon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
1658
|
+
rightIcon != null && !showClear && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles18.iconContainer, { marginRight: sz.px }], children: rightIcon }),
|
|
1659
|
+
rightAddon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.addon, children: rightAddon })
|
|
1726
1660
|
] });
|
|
1727
1661
|
const subText = resolvedIsInvalid && resolvedErrorText ? resolvedErrorText : resolvedHelperText;
|
|
1728
1662
|
if (resolvedVariant === "glass") {
|
|
1729
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
1663
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.outerContainer, containerStyle, style], children: [
|
|
1730
1664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1731
1665
|
reactnativelyGlass.GlassView,
|
|
1732
1666
|
{
|
|
@@ -1741,7 +1675,7 @@ var TextInput = React38__default.default.memo(
|
|
|
1741
1675
|
reactNative.Text,
|
|
1742
1676
|
{
|
|
1743
1677
|
style: [
|
|
1744
|
-
|
|
1678
|
+
styles18.subText,
|
|
1745
1679
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
1746
1680
|
],
|
|
1747
1681
|
allowFontScaling: false,
|
|
@@ -1750,14 +1684,14 @@ var TextInput = React38__default.default.memo(
|
|
|
1750
1684
|
)
|
|
1751
1685
|
] });
|
|
1752
1686
|
}
|
|
1753
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
1687
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles18.outerContainer, containerStyle, style], children: [
|
|
1754
1688
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1755
1689
|
Animated10__default.default.View,
|
|
1756
1690
|
{
|
|
1757
1691
|
style: [
|
|
1758
1692
|
containerBase,
|
|
1759
1693
|
(resolvedVariant === "outline" || resolvedVariant === "underline") && borderAnimStyle,
|
|
1760
|
-
|
|
1694
|
+
styles18.inputContainer
|
|
1761
1695
|
],
|
|
1762
1696
|
children: innerContent
|
|
1763
1697
|
}
|
|
@@ -1766,7 +1700,7 @@ var TextInput = React38__default.default.memo(
|
|
|
1766
1700
|
reactNative.Text,
|
|
1767
1701
|
{
|
|
1768
1702
|
style: [
|
|
1769
|
-
|
|
1703
|
+
styles18.subText,
|
|
1770
1704
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
1771
1705
|
],
|
|
1772
1706
|
allowFontScaling: false,
|
|
@@ -1777,7 +1711,7 @@ var TextInput = React38__default.default.memo(
|
|
|
1777
1711
|
}
|
|
1778
1712
|
);
|
|
1779
1713
|
TextInput.displayName = "TextInput";
|
|
1780
|
-
var
|
|
1714
|
+
var styles18 = reactNative.StyleSheet.create({
|
|
1781
1715
|
outerContainer: {
|
|
1782
1716
|
width: "100%"
|
|
1783
1717
|
},
|
|
@@ -1819,7 +1753,7 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
1819
1753
|
marginTop: 4
|
|
1820
1754
|
}
|
|
1821
1755
|
});
|
|
1822
|
-
var EyeIcon = React38__default.default.memo(({ visible, color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
1756
|
+
var EyeIcon = React38__default.default.memo(({ visible, color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.eyeText, { color }], children: visible ? "\u2299" : "\u2297" }));
|
|
1823
1757
|
EyeIcon.displayName = "EyeIcon";
|
|
1824
1758
|
var PasswordInput = React38__default.default.memo(
|
|
1825
1759
|
({
|
|
@@ -1836,7 +1770,7 @@ var PasswordInput = React38__default.default.memo(
|
|
|
1836
1770
|
reactNative.Pressable,
|
|
1837
1771
|
{
|
|
1838
1772
|
onPress: toggleVisibility,
|
|
1839
|
-
style:
|
|
1773
|
+
style: styles19.toggleButton,
|
|
1840
1774
|
accessible: true,
|
|
1841
1775
|
accessibilityRole: "button",
|
|
1842
1776
|
accessibilityLabel: visible ? "Hide password" : "Show password",
|
|
@@ -1860,7 +1794,7 @@ var PasswordInput = React38__default.default.memo(
|
|
|
1860
1794
|
}
|
|
1861
1795
|
);
|
|
1862
1796
|
PasswordInput.displayName = "PasswordInput";
|
|
1863
|
-
var
|
|
1797
|
+
var styles19 = reactNative.StyleSheet.create({
|
|
1864
1798
|
toggleButton: {
|
|
1865
1799
|
justifyContent: "center",
|
|
1866
1800
|
alignItems: "center",
|
|
@@ -1994,11 +1928,11 @@ var TextArea = React38__default.default.memo(
|
|
|
1994
1928
|
...rest
|
|
1995
1929
|
}
|
|
1996
1930
|
);
|
|
1997
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
1931
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles20.outerContainer, containerStyle, style], children: [
|
|
1998
1932
|
resolvedLabel != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1999
1933
|
reactNative.Text,
|
|
2000
1934
|
{
|
|
2001
|
-
style: [
|
|
1935
|
+
style: [styles20.label, { color: theme.colors.text }],
|
|
2002
1936
|
allowFontScaling: false,
|
|
2003
1937
|
children: [
|
|
2004
1938
|
resolvedLabel,
|
|
@@ -2029,7 +1963,7 @@ var TextArea = React38__default.default.memo(
|
|
|
2029
1963
|
reactNative.Text,
|
|
2030
1964
|
{
|
|
2031
1965
|
style: [
|
|
2032
|
-
|
|
1966
|
+
styles20.subText,
|
|
2033
1967
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
2034
1968
|
],
|
|
2035
1969
|
allowFontScaling: false,
|
|
@@ -2040,7 +1974,7 @@ var TextArea = React38__default.default.memo(
|
|
|
2040
1974
|
}
|
|
2041
1975
|
);
|
|
2042
1976
|
TextArea.displayName = "TextArea";
|
|
2043
|
-
var
|
|
1977
|
+
var styles20 = reactNative.StyleSheet.create({
|
|
2044
1978
|
outerContainer: {
|
|
2045
1979
|
width: "100%"
|
|
2046
1980
|
},
|
|
@@ -2137,11 +2071,11 @@ var SearchBar = React38__default.default.memo(
|
|
|
2137
2071
|
const inputBg = {
|
|
2138
2072
|
backgroundColor: isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)"
|
|
2139
2073
|
};
|
|
2140
|
-
const innerContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
2074
|
+
const innerContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles21.inputRow, { height: sz.height, paddingHorizontal: sz.px }], children: [
|
|
2141
2075
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2142
2076
|
reactNative.Text,
|
|
2143
2077
|
{
|
|
2144
|
-
style: [
|
|
2078
|
+
style: [styles21.searchIcon, { fontSize: sz.iconSize, color: theme.colors.textMuted }],
|
|
2145
2079
|
allowFontScaling: false,
|
|
2146
2080
|
children: "\u2315"
|
|
2147
2081
|
}
|
|
@@ -2162,7 +2096,7 @@ var SearchBar = React38__default.default.memo(
|
|
|
2162
2096
|
onChangeText: handleChangeText,
|
|
2163
2097
|
onSubmitEditing: handleSubmit,
|
|
2164
2098
|
style: [
|
|
2165
|
-
|
|
2099
|
+
styles21.input,
|
|
2166
2100
|
{
|
|
2167
2101
|
fontSize: sz.fontSize,
|
|
2168
2102
|
color: theme.colors.text
|
|
@@ -2175,7 +2109,7 @@ var SearchBar = React38__default.default.memo(
|
|
|
2175
2109
|
reactNative.Pressable,
|
|
2176
2110
|
{
|
|
2177
2111
|
onPress: handleClear,
|
|
2178
|
-
style:
|
|
2112
|
+
style: styles21.clearBtn,
|
|
2179
2113
|
accessible: true,
|
|
2180
2114
|
accessibilityRole: "button",
|
|
2181
2115
|
accessibilityLabel: "Clear search",
|
|
@@ -2183,7 +2117,7 @@ var SearchBar = React38__default.default.memo(
|
|
|
2183
2117
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2184
2118
|
reactNative.Text,
|
|
2185
2119
|
{
|
|
2186
|
-
style: [
|
|
2120
|
+
style: [styles21.clearIcon, { color: theme.colors.textMuted }],
|
|
2187
2121
|
allowFontScaling: false,
|
|
2188
2122
|
children: "\u2715"
|
|
2189
2123
|
}
|
|
@@ -2191,10 +2125,10 @@ var SearchBar = React38__default.default.memo(
|
|
|
2191
2125
|
}
|
|
2192
2126
|
)
|
|
2193
2127
|
] });
|
|
2194
|
-
const searchContainer = glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style:
|
|
2195
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
2196
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
2197
|
-
showCancel && /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
2128
|
+
const searchContainer = glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: styles21.glassContainer, children: innerContent }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles21.inputContainer, inputBg, { borderRadius: 12 }], children: innerContent });
|
|
2129
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles21.outerRow, style], children: [
|
|
2130
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles21.searchWrapper, children: searchContainer }),
|
|
2131
|
+
showCancel && /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles21.cancelWrapper, cancelAnimStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2198
2132
|
reactNative.Pressable,
|
|
2199
2133
|
{
|
|
2200
2134
|
onPress: handleCancel,
|
|
@@ -2204,7 +2138,7 @@ var SearchBar = React38__default.default.memo(
|
|
|
2204
2138
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2205
2139
|
reactNative.Text,
|
|
2206
2140
|
{
|
|
2207
|
-
style: [
|
|
2141
|
+
style: [styles21.cancelText, { color: theme.colors.primary }],
|
|
2208
2142
|
allowFontScaling: false,
|
|
2209
2143
|
numberOfLines: 1,
|
|
2210
2144
|
children: "Cancel"
|
|
@@ -2216,7 +2150,7 @@ var SearchBar = React38__default.default.memo(
|
|
|
2216
2150
|
}
|
|
2217
2151
|
);
|
|
2218
2152
|
SearchBar.displayName = "SearchBar";
|
|
2219
|
-
var
|
|
2153
|
+
var styles21 = reactNative.StyleSheet.create({
|
|
2220
2154
|
outerRow: { flexDirection: "row", alignItems: "center" },
|
|
2221
2155
|
searchWrapper: { flex: 1 },
|
|
2222
2156
|
inputContainer: { overflow: "hidden" },
|
|
@@ -2322,7 +2256,7 @@ var Checkbox = React38__default.default.memo(
|
|
|
2322
2256
|
Animated10__default.default.Text,
|
|
2323
2257
|
{
|
|
2324
2258
|
style: [
|
|
2325
|
-
|
|
2259
|
+
styles22.checkmark,
|
|
2326
2260
|
{ fontSize: sz.fontSize, color: "#fff" },
|
|
2327
2261
|
checkmarkStyle
|
|
2328
2262
|
],
|
|
@@ -2331,7 +2265,7 @@ var Checkbox = React38__default.default.memo(
|
|
|
2331
2265
|
}
|
|
2332
2266
|
) });
|
|
2333
2267
|
const wrappedBox = glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: sz.borderRadius, children: boxContent }) : boxContent;
|
|
2334
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
2268
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles22.container, { opacity: resolvedIsDisabled ? 0.45 : 1 }, style], children: [
|
|
2335
2269
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2336
2270
|
reactNative.Pressable,
|
|
2337
2271
|
{
|
|
@@ -2341,13 +2275,13 @@ var Checkbox = React38__default.default.memo(
|
|
|
2341
2275
|
accessibilityRole: "checkbox",
|
|
2342
2276
|
accessibilityState: { checked: isIndeterminate ? "mixed" : isChecked, disabled: resolvedIsDisabled },
|
|
2343
2277
|
accessibilityLabel: label,
|
|
2344
|
-
style:
|
|
2278
|
+
style: styles22.row,
|
|
2345
2279
|
children: [
|
|
2346
2280
|
wrappedBox,
|
|
2347
2281
|
label != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2348
2282
|
reactNative.Text,
|
|
2349
2283
|
{
|
|
2350
|
-
style: [
|
|
2284
|
+
style: [styles22.label, { fontSize: sz.labelSize, color: theme.colors.text }],
|
|
2351
2285
|
allowFontScaling: false,
|
|
2352
2286
|
children: label
|
|
2353
2287
|
}
|
|
@@ -2359,7 +2293,7 @@ var Checkbox = React38__default.default.memo(
|
|
|
2359
2293
|
reactNative.Text,
|
|
2360
2294
|
{
|
|
2361
2295
|
style: [
|
|
2362
|
-
|
|
2296
|
+
styles22.subText,
|
|
2363
2297
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
2364
2298
|
],
|
|
2365
2299
|
allowFontScaling: false,
|
|
@@ -2370,7 +2304,7 @@ var Checkbox = React38__default.default.memo(
|
|
|
2370
2304
|
}
|
|
2371
2305
|
);
|
|
2372
2306
|
Checkbox.displayName = "Checkbox";
|
|
2373
|
-
var
|
|
2307
|
+
var styles22 = reactNative.StyleSheet.create({
|
|
2374
2308
|
container: {
|
|
2375
2309
|
alignSelf: "flex-start"
|
|
2376
2310
|
},
|
|
@@ -2438,7 +2372,7 @@ var Radio = React38__default.default.memo(
|
|
|
2438
2372
|
accessibilityState: { checked: isSelected, disabled },
|
|
2439
2373
|
accessibilityLabel: label ?? value,
|
|
2440
2374
|
style: [
|
|
2441
|
-
|
|
2375
|
+
styles23.row,
|
|
2442
2376
|
{ opacity: disabled ? 0.45 : 1 },
|
|
2443
2377
|
style
|
|
2444
2378
|
],
|
|
@@ -2447,7 +2381,7 @@ var Radio = React38__default.default.memo(
|
|
|
2447
2381
|
reactNative.View,
|
|
2448
2382
|
{
|
|
2449
2383
|
style: [
|
|
2450
|
-
|
|
2384
|
+
styles23.outerRing,
|
|
2451
2385
|
{
|
|
2452
2386
|
width: sz.outer,
|
|
2453
2387
|
height: sz.outer,
|
|
@@ -2478,7 +2412,7 @@ var Radio = React38__default.default.memo(
|
|
|
2478
2412
|
reactNative.Text,
|
|
2479
2413
|
{
|
|
2480
2414
|
style: [
|
|
2481
|
-
|
|
2415
|
+
styles23.label,
|
|
2482
2416
|
{ fontSize: sz.labelSize, color: theme.colors.text }
|
|
2483
2417
|
],
|
|
2484
2418
|
allowFontScaling: false,
|
|
@@ -2491,7 +2425,7 @@ var Radio = React38__default.default.memo(
|
|
|
2491
2425
|
}
|
|
2492
2426
|
);
|
|
2493
2427
|
Radio.displayName = "Radio";
|
|
2494
|
-
var
|
|
2428
|
+
var styles23 = reactNative.StyleSheet.create({
|
|
2495
2429
|
row: { flexDirection: "row", alignItems: "center" },
|
|
2496
2430
|
outerRing: {},
|
|
2497
2431
|
label: { marginLeft: 10, fontWeight: "400" }
|
|
@@ -2533,8 +2467,8 @@ var RadioGroup = React38__default.default.memo(
|
|
|
2533
2467
|
reactNative.View,
|
|
2534
2468
|
{
|
|
2535
2469
|
style: [
|
|
2536
|
-
|
|
2537
|
-
direction === "row" ?
|
|
2470
|
+
styles24.container,
|
|
2471
|
+
direction === "row" ? styles24.row : styles24.column,
|
|
2538
2472
|
style
|
|
2539
2473
|
],
|
|
2540
2474
|
accessible: true,
|
|
@@ -2545,7 +2479,7 @@ var RadioGroup = React38__default.default.memo(
|
|
|
2545
2479
|
}
|
|
2546
2480
|
);
|
|
2547
2481
|
RadioGroup.displayName = "RadioGroup";
|
|
2548
|
-
var
|
|
2482
|
+
var styles24 = reactNative.StyleSheet.create({
|
|
2549
2483
|
container: {},
|
|
2550
2484
|
row: { flexDirection: "row", flexWrap: "wrap", gap: 12 },
|
|
2551
2485
|
column: { flexDirection: "column", gap: 10 }
|
|
@@ -2643,9 +2577,9 @@ var Switch = React38__default.default.memo(
|
|
|
2643
2577
|
reactNative.Text,
|
|
2644
2578
|
{
|
|
2645
2579
|
style: [
|
|
2646
|
-
|
|
2580
|
+
styles25.label,
|
|
2647
2581
|
{ color: theme.colors.text },
|
|
2648
|
-
labelPosition === "left" ?
|
|
2582
|
+
labelPosition === "left" ? styles25.labelLeft : styles25.labelRight
|
|
2649
2583
|
],
|
|
2650
2584
|
allowFontScaling: false,
|
|
2651
2585
|
children: label
|
|
@@ -2661,7 +2595,7 @@ var Switch = React38__default.default.memo(
|
|
|
2661
2595
|
accessibilityState: { checked: isChecked, disabled: resolvedIsDisabled },
|
|
2662
2596
|
accessibilityLabel: label,
|
|
2663
2597
|
style: [
|
|
2664
|
-
|
|
2598
|
+
styles25.row,
|
|
2665
2599
|
{ opacity: resolvedIsDisabled ? 0.45 : 1 },
|
|
2666
2600
|
style
|
|
2667
2601
|
],
|
|
@@ -2675,7 +2609,7 @@ var Switch = React38__default.default.memo(
|
|
|
2675
2609
|
}
|
|
2676
2610
|
);
|
|
2677
2611
|
Switch.displayName = "Switch";
|
|
2678
|
-
var
|
|
2612
|
+
var styles25 = reactNative.StyleSheet.create({
|
|
2679
2613
|
row: { flexDirection: "row", alignItems: "center" },
|
|
2680
2614
|
label: { fontSize: 15, fontWeight: "400" },
|
|
2681
2615
|
labelLeft: { marginRight: 10 },
|
|
@@ -2788,7 +2722,7 @@ function Slider({
|
|
|
2788
2722
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2789
2723
|
reactNative.View,
|
|
2790
2724
|
{
|
|
2791
|
-
style: [
|
|
2725
|
+
style: [styles26.wrapper, style],
|
|
2792
2726
|
accessible: true,
|
|
2793
2727
|
accessibilityRole: "adjustable",
|
|
2794
2728
|
accessibilityValue: { min, max, now: resolvedValue },
|
|
@@ -2799,27 +2733,27 @@ function Slider({
|
|
|
2799
2733
|
reactNative.Animated.View,
|
|
2800
2734
|
{
|
|
2801
2735
|
style: [
|
|
2802
|
-
|
|
2736
|
+
styles26.tooltip,
|
|
2803
2737
|
{
|
|
2804
2738
|
left: reactNative.Animated.subtract(thumbAnim, new reactNative.Animated.Value(containerPadding - resolvedThumbSize / 2)),
|
|
2805
2739
|
backgroundColor: resolvedColor
|
|
2806
2740
|
}
|
|
2807
2741
|
],
|
|
2808
2742
|
pointerEvents: "none",
|
|
2809
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
2743
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles26.tooltipText, children: Math.round(resolvedValue) })
|
|
2810
2744
|
}
|
|
2811
2745
|
),
|
|
2812
2746
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2813
2747
|
reactNative.View,
|
|
2814
2748
|
{
|
|
2815
|
-
style: [
|
|
2749
|
+
style: [styles26.trackContainer, { paddingHorizontal: containerPadding }],
|
|
2816
2750
|
onLayout,
|
|
2817
2751
|
children: [
|
|
2818
2752
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2819
2753
|
reactNative.View,
|
|
2820
2754
|
{
|
|
2821
2755
|
style: [
|
|
2822
|
-
|
|
2756
|
+
styles26.track,
|
|
2823
2757
|
{
|
|
2824
2758
|
height: sz.trackHeight,
|
|
2825
2759
|
backgroundColor: resolvedTrackColor,
|
|
@@ -2849,7 +2783,7 @@ function Slider({
|
|
|
2849
2783
|
reactNative.View,
|
|
2850
2784
|
{
|
|
2851
2785
|
style: [
|
|
2852
|
-
|
|
2786
|
+
styles26.mark,
|
|
2853
2787
|
{
|
|
2854
2788
|
left: markOffset + containerPadding - 2,
|
|
2855
2789
|
top: (sz.thumbSize - 6) / 2,
|
|
@@ -2866,7 +2800,7 @@ function Slider({
|
|
|
2866
2800
|
{
|
|
2867
2801
|
...panResponder.panHandlers,
|
|
2868
2802
|
style: [
|
|
2869
|
-
|
|
2803
|
+
styles26.thumb,
|
|
2870
2804
|
{
|
|
2871
2805
|
width: resolvedThumbSize,
|
|
2872
2806
|
height: resolvedThumbSize,
|
|
@@ -2887,7 +2821,7 @@ function Slider({
|
|
|
2887
2821
|
);
|
|
2888
2822
|
}
|
|
2889
2823
|
Slider.displayName = "Slider";
|
|
2890
|
-
var
|
|
2824
|
+
var styles26 = reactNative.StyleSheet.create({
|
|
2891
2825
|
wrapper: {
|
|
2892
2826
|
width: "100%"
|
|
2893
2827
|
},
|
|
@@ -3074,14 +3008,14 @@ var RangeSlider = React38__default.default.memo(
|
|
|
3074
3008
|
const track = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3075
3009
|
reactNative.View,
|
|
3076
3010
|
{
|
|
3077
|
-
style: [
|
|
3011
|
+
style: [styles27.trackContainer, { paddingHorizontal: thumbPad }],
|
|
3078
3012
|
onLayout,
|
|
3079
3013
|
children: [
|
|
3080
3014
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3081
3015
|
reactNative.View,
|
|
3082
3016
|
{
|
|
3083
3017
|
style: [
|
|
3084
|
-
|
|
3018
|
+
styles27.track,
|
|
3085
3019
|
{
|
|
3086
3020
|
backgroundColor: resolvedTrackColor,
|
|
3087
3021
|
opacity: isDisabled ? 0.4 : 1
|
|
@@ -3094,7 +3028,7 @@ var RangeSlider = React38__default.default.memo(
|
|
|
3094
3028
|
{
|
|
3095
3029
|
pointerEvents: "none",
|
|
3096
3030
|
style: [
|
|
3097
|
-
|
|
3031
|
+
styles27.activeSegment,
|
|
3098
3032
|
{
|
|
3099
3033
|
backgroundColor: resolvedActiveColor,
|
|
3100
3034
|
left: activeLeft,
|
|
@@ -3108,7 +3042,7 @@ var RangeSlider = React38__default.default.memo(
|
|
|
3108
3042
|
{
|
|
3109
3043
|
...lowPan.panHandlers,
|
|
3110
3044
|
style: [
|
|
3111
|
-
|
|
3045
|
+
styles27.thumb,
|
|
3112
3046
|
{
|
|
3113
3047
|
width: thumbSize,
|
|
3114
3048
|
height: thumbSize,
|
|
@@ -3128,7 +3062,7 @@ var RangeSlider = React38__default.default.memo(
|
|
|
3128
3062
|
{
|
|
3129
3063
|
...highPan.panHandlers,
|
|
3130
3064
|
style: [
|
|
3131
|
-
|
|
3065
|
+
styles27.thumb,
|
|
3132
3066
|
{
|
|
3133
3067
|
width: thumbSize,
|
|
3134
3068
|
height: thumbSize,
|
|
@@ -3147,13 +3081,13 @@ var RangeSlider = React38__default.default.memo(
|
|
|
3147
3081
|
}
|
|
3148
3082
|
);
|
|
3149
3083
|
if (glass) {
|
|
3150
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: [
|
|
3084
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: [styles27.wrapper, style], children: track });
|
|
3151
3085
|
}
|
|
3152
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3086
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles27.wrapper, style], children: track });
|
|
3153
3087
|
}
|
|
3154
3088
|
);
|
|
3155
3089
|
RangeSlider.displayName = "RangeSlider";
|
|
3156
|
-
var
|
|
3090
|
+
var styles27 = reactNative.StyleSheet.create({
|
|
3157
3091
|
wrapper: {
|
|
3158
3092
|
width: "100%",
|
|
3159
3093
|
paddingVertical: 12
|
|
@@ -3212,29 +3146,29 @@ var OTPBox = React38__default.default.memo(({ char, isFocused, isInvalid, glass,
|
|
|
3212
3146
|
const filled = char.length > 0;
|
|
3213
3147
|
const fillColor = isDark ? "rgba(255,255,255,0.07)" : "rgba(0,0,0,0.04)";
|
|
3214
3148
|
if (glass) {
|
|
3215
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
3149
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles28.boxWrapper, entranceStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3216
3150
|
reactnativelyGlass.GlassView,
|
|
3217
3151
|
{
|
|
3218
3152
|
elevation: 1,
|
|
3219
3153
|
borderRadius: 12,
|
|
3220
3154
|
style: [
|
|
3221
|
-
|
|
3155
|
+
styles28.box,
|
|
3222
3156
|
isInvalid && { borderColor: theme.colors.error, borderWidth: 2 },
|
|
3223
3157
|
isFocused && { borderColor: theme.colors.primary, borderWidth: 2 }
|
|
3224
3158
|
],
|
|
3225
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3159
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles28.char, { color: theme.colors.text }], children: char })
|
|
3226
3160
|
}
|
|
3227
3161
|
) });
|
|
3228
3162
|
}
|
|
3229
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
3163
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles28.boxWrapper, entranceStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3230
3164
|
Animated10__default.default.View,
|
|
3231
3165
|
{
|
|
3232
3166
|
style: [
|
|
3233
|
-
|
|
3167
|
+
styles28.box,
|
|
3234
3168
|
{ backgroundColor: filled ? fillColor : "transparent" },
|
|
3235
3169
|
borderStyle
|
|
3236
3170
|
],
|
|
3237
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3171
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles28.char, { color: theme.colors.text }], children: char })
|
|
3238
3172
|
}
|
|
3239
3173
|
) });
|
|
3240
3174
|
});
|
|
@@ -3277,7 +3211,7 @@ var OTPInput = React38__default.default.memo(
|
|
|
3277
3211
|
reactNative.Pressable,
|
|
3278
3212
|
{
|
|
3279
3213
|
onPress: handlePress,
|
|
3280
|
-
style: [
|
|
3214
|
+
style: [styles28.container, style],
|
|
3281
3215
|
accessible: true,
|
|
3282
3216
|
accessibilityRole: "none",
|
|
3283
3217
|
accessibilityLabel: `OTP input, ${length} digits`,
|
|
@@ -3294,13 +3228,13 @@ var OTPInput = React38__default.default.memo(
|
|
|
3294
3228
|
autoFocus,
|
|
3295
3229
|
editable: !isDisabled,
|
|
3296
3230
|
caretHidden: true,
|
|
3297
|
-
style:
|
|
3231
|
+
style: styles28.hiddenInput,
|
|
3298
3232
|
importantForAccessibility: "no",
|
|
3299
3233
|
autoComplete: "one-time-code",
|
|
3300
3234
|
textContentType: "oneTimeCode"
|
|
3301
3235
|
}
|
|
3302
3236
|
),
|
|
3303
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3237
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.boxes, pointerEvents: "none", children: Array.from({ length }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3304
3238
|
OTPBox,
|
|
3305
3239
|
{
|
|
3306
3240
|
index: i,
|
|
@@ -3317,7 +3251,7 @@ var OTPInput = React38__default.default.memo(
|
|
|
3317
3251
|
}
|
|
3318
3252
|
);
|
|
3319
3253
|
OTPInput.displayName = "OTPInput";
|
|
3320
|
-
var
|
|
3254
|
+
var styles28 = reactNative.StyleSheet.create({
|
|
3321
3255
|
container: {
|
|
3322
3256
|
alignSelf: "stretch"
|
|
3323
3257
|
},
|
|
@@ -3361,18 +3295,18 @@ var OptionRow = React38__default.default.memo(({ option, isSelected, onSelect, t
|
|
|
3361
3295
|
{
|
|
3362
3296
|
onPress: handlePress,
|
|
3363
3297
|
style: ({ pressed }) => [
|
|
3364
|
-
|
|
3298
|
+
styles29.optionRow,
|
|
3365
3299
|
pressed && { backgroundColor: theme.colors.neutralSubtle },
|
|
3366
3300
|
option.disabled && { opacity: 0.4 }
|
|
3367
3301
|
],
|
|
3368
3302
|
accessibilityRole: "menuitem",
|
|
3369
3303
|
accessibilityState: { selected: isSelected, disabled: option.disabled },
|
|
3370
3304
|
children: [
|
|
3371
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3372
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3373
|
-
option.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3305
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.optionContent, children: [
|
|
3306
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.optionLabel, { color: theme.colors.text }], children: option.label }),
|
|
3307
|
+
option.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.optionDesc, { color: theme.colors.textSecondary }], children: option.description })
|
|
3374
3308
|
] }),
|
|
3375
|
-
isSelected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3309
|
+
isSelected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.checkmark, { color: theme.colors.primary }], children: "\u2713" })
|
|
3376
3310
|
]
|
|
3377
3311
|
}
|
|
3378
3312
|
);
|
|
@@ -3454,7 +3388,7 @@ var Select = React38__default.default.memo(
|
|
|
3454
3388
|
reactNative.Pressable,
|
|
3455
3389
|
{
|
|
3456
3390
|
onPress: openSheet,
|
|
3457
|
-
style: [
|
|
3391
|
+
style: [styles29.triggerRow, { paddingHorizontal: px }],
|
|
3458
3392
|
accessibilityRole: "combobox",
|
|
3459
3393
|
accessibilityState: { expanded: open, disabled: isDisabled },
|
|
3460
3394
|
accessibilityLabel: label ?? placeholder,
|
|
@@ -3463,7 +3397,7 @@ var Select = React38__default.default.memo(
|
|
|
3463
3397
|
reactNative.Text,
|
|
3464
3398
|
{
|
|
3465
3399
|
style: [
|
|
3466
|
-
|
|
3400
|
+
styles29.triggerText,
|
|
3467
3401
|
{
|
|
3468
3402
|
fontSize: fs,
|
|
3469
3403
|
color: displayLabel ? theme.colors.text : theme.colors.textMuted,
|
|
@@ -3474,18 +3408,18 @@ var Select = React38__default.default.memo(
|
|
|
3474
3408
|
children: displayLabel || placeholder
|
|
3475
3409
|
}
|
|
3476
3410
|
),
|
|
3477
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: chevronStyle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3411
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: chevronStyle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.chevron, { color: theme.colors.textSecondary }], children: "\u203A" }) })
|
|
3478
3412
|
]
|
|
3479
3413
|
}
|
|
3480
3414
|
);
|
|
3481
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3482
|
-
label != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3415
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles29.wrapper, style], children: [
|
|
3416
|
+
label != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.label, { color: theme.colors.text }], children: label }),
|
|
3483
3417
|
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: { opacity: isDisabled ? 0.5 : 1 }, children: triggerInner }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: triggerBorder, children: triggerInner }),
|
|
3484
3418
|
subText != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3485
3419
|
reactNative.Text,
|
|
3486
3420
|
{
|
|
3487
3421
|
style: [
|
|
3488
|
-
|
|
3422
|
+
styles29.subText,
|
|
3489
3423
|
{ color: resolvedIsInvalid ? theme.colors.error : theme.colors.textSecondary }
|
|
3490
3424
|
],
|
|
3491
3425
|
children: subText
|
|
@@ -3500,17 +3434,17 @@ var Select = React38__default.default.memo(
|
|
|
3500
3434
|
onRequestClose: closeSheet,
|
|
3501
3435
|
statusBarTranslucent: true,
|
|
3502
3436
|
children: [
|
|
3503
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style:
|
|
3437
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles29.backdrop, onPress: closeSheet, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.backdropFill }) }),
|
|
3504
3438
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3505
3439
|
reactNative.Animated.View,
|
|
3506
3440
|
{
|
|
3507
|
-
style: [
|
|
3508
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsxs(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style:
|
|
3509
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3441
|
+
style: [styles29.sheet, { transform: [{ translateY: slideAnim }] }],
|
|
3442
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsxs(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: styles29.panelFill, children: [
|
|
3443
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.handle }),
|
|
3510
3444
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3511
3445
|
reactNative.ScrollView,
|
|
3512
3446
|
{
|
|
3513
|
-
style:
|
|
3447
|
+
style: styles29.optionScroll,
|
|
3514
3448
|
keyboardShouldPersistTaps: "handled",
|
|
3515
3449
|
showsVerticalScrollIndicator: false,
|
|
3516
3450
|
children: options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3529,7 +3463,7 @@ var Select = React38__default.default.memo(
|
|
|
3529
3463
|
reactNative.View,
|
|
3530
3464
|
{
|
|
3531
3465
|
style: [
|
|
3532
|
-
|
|
3466
|
+
styles29.panelFill,
|
|
3533
3467
|
{
|
|
3534
3468
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
3535
3469
|
borderTopLeftRadius: 20,
|
|
@@ -3537,11 +3471,11 @@ var Select = React38__default.default.memo(
|
|
|
3537
3471
|
}
|
|
3538
3472
|
],
|
|
3539
3473
|
children: [
|
|
3540
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3474
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.handle }),
|
|
3541
3475
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3542
3476
|
reactNative.ScrollView,
|
|
3543
3477
|
{
|
|
3544
|
-
style:
|
|
3478
|
+
style: styles29.optionScroll,
|
|
3545
3479
|
keyboardShouldPersistTaps: "handled",
|
|
3546
3480
|
showsVerticalScrollIndicator: false,
|
|
3547
3481
|
children: options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3568,7 +3502,7 @@ var Select = React38__default.default.memo(
|
|
|
3568
3502
|
}
|
|
3569
3503
|
);
|
|
3570
3504
|
Select.displayName = "Select";
|
|
3571
|
-
var
|
|
3505
|
+
var styles29 = reactNative.StyleSheet.create({
|
|
3572
3506
|
wrapper: {
|
|
3573
3507
|
width: "100%"
|
|
3574
3508
|
},
|
|
@@ -3646,8 +3580,8 @@ var styles30 = reactNative.StyleSheet.create({
|
|
|
3646
3580
|
marginLeft: 12
|
|
3647
3581
|
}
|
|
3648
3582
|
});
|
|
3649
|
-
var Chip = React38__default.default.memo(({ label, onRemove, theme }) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3650
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3583
|
+
var Chip = React38__default.default.memo(({ label, onRemove, theme }) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles30.chip, { backgroundColor: theme.colors.primaryMuted }], children: [
|
|
3584
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.chipLabel, { color: theme.colors.primary }], numberOfLines: 1, children: label }),
|
|
3651
3585
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3652
3586
|
reactNative.Pressable,
|
|
3653
3587
|
{
|
|
@@ -3655,7 +3589,7 @@ var Chip = React38__default.default.memo(({ label, onRemove, theme }) => /* @__P
|
|
|
3655
3589
|
hitSlop: { top: 6, bottom: 6, left: 4, right: 4 },
|
|
3656
3590
|
accessibilityRole: "button",
|
|
3657
3591
|
accessibilityLabel: `Remove ${label}`,
|
|
3658
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3592
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.chipDismiss, { color: theme.colors.primary }], children: "\u2715" })
|
|
3659
3593
|
}
|
|
3660
3594
|
)
|
|
3661
3595
|
] }));
|
|
@@ -3669,7 +3603,7 @@ var OptionRow2 = React38__default.default.memo(({ option, isSelected, isDisabled
|
|
|
3669
3603
|
{
|
|
3670
3604
|
onPress: handlePress,
|
|
3671
3605
|
style: ({ pressed }) => [
|
|
3672
|
-
|
|
3606
|
+
styles30.optionRow,
|
|
3673
3607
|
pressed && { backgroundColor: theme.colors.neutralSubtle },
|
|
3674
3608
|
(option.disabled || isDisabled) && { opacity: 0.4 }
|
|
3675
3609
|
],
|
|
@@ -3680,18 +3614,18 @@ var OptionRow2 = React38__default.default.memo(({ option, isSelected, isDisabled
|
|
|
3680
3614
|
reactNative.View,
|
|
3681
3615
|
{
|
|
3682
3616
|
style: [
|
|
3683
|
-
|
|
3617
|
+
styles30.checkbox,
|
|
3684
3618
|
{
|
|
3685
3619
|
borderColor: isSelected ? theme.colors.primary : theme.colors.border,
|
|
3686
3620
|
backgroundColor: isSelected ? theme.colors.primary : "transparent"
|
|
3687
3621
|
}
|
|
3688
3622
|
],
|
|
3689
|
-
children: isSelected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3623
|
+
children: isSelected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles30.checkboxTick, children: "\u2713" })
|
|
3690
3624
|
}
|
|
3691
3625
|
),
|
|
3692
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3693
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3694
|
-
option.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3626
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles30.optionContent, children: [
|
|
3627
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.optionLabel, { color: theme.colors.text }], children: option.label }),
|
|
3628
|
+
option.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.optionDesc, { color: theme.colors.textSecondary }], children: option.description })
|
|
3695
3629
|
] })
|
|
3696
3630
|
]
|
|
3697
3631
|
}
|
|
@@ -3771,12 +3705,12 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3771
3705
|
reactNative.Pressable,
|
|
3772
3706
|
{
|
|
3773
3707
|
onPress: openSheet,
|
|
3774
|
-
style: [
|
|
3708
|
+
style: [styles30.triggerRow],
|
|
3775
3709
|
accessibilityRole: "combobox",
|
|
3776
3710
|
accessibilityState: { expanded: open, disabled: isDisabled },
|
|
3777
3711
|
accessibilityLabel: placeholder,
|
|
3778
3712
|
children: [
|
|
3779
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3713
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.chipsContainer, children: selectedOptions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.placeholder, { color: theme.colors.textMuted }], children: placeholder }) : selectedOptions.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3780
3714
|
Chip,
|
|
3781
3715
|
{
|
|
3782
3716
|
label: opt.label,
|
|
@@ -3785,7 +3719,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3785
3719
|
},
|
|
3786
3720
|
opt.value
|
|
3787
3721
|
)) }),
|
|
3788
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: chevronStyle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3722
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: chevronStyle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.chevron, { color: theme.colors.textSecondary }], children: "\u203A" }) })
|
|
3789
3723
|
]
|
|
3790
3724
|
}
|
|
3791
3725
|
);
|
|
@@ -3796,7 +3730,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3796
3730
|
minHeight: 52,
|
|
3797
3731
|
opacity: isDisabled ? 0.5 : 1
|
|
3798
3732
|
};
|
|
3799
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3733
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles30.wrapper, style], children: [
|
|
3800
3734
|
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: { opacity: isDisabled ? 0.5 : 1 }, children: triggerContent }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: triggerBorder, children: triggerContent }),
|
|
3801
3735
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3802
3736
|
reactNative.Modal,
|
|
@@ -3807,14 +3741,14 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3807
3741
|
onRequestClose: closeSheet,
|
|
3808
3742
|
statusBarTranslucent: true,
|
|
3809
3743
|
children: [
|
|
3810
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style:
|
|
3744
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles30.backdrop, onPress: closeSheet, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.backdropFill }) }),
|
|
3811
3745
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3812
3746
|
reactNative.Animated.View,
|
|
3813
3747
|
{
|
|
3814
|
-
style: [
|
|
3815
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsxs(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style:
|
|
3816
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3817
|
-
maxSelections != null && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [
|
|
3748
|
+
style: [styles30.sheet, { transform: [{ translateY: slideAnim }] }],
|
|
3749
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsxs(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: styles30.panelFill, children: [
|
|
3750
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.handle }),
|
|
3751
|
+
maxSelections != null && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles30.limitText, { color: theme.colors.textSecondary }], children: [
|
|
3818
3752
|
currentValues.length,
|
|
3819
3753
|
"/",
|
|
3820
3754
|
maxSelections,
|
|
@@ -3823,7 +3757,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3823
3757
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3824
3758
|
reactNative.ScrollView,
|
|
3825
3759
|
{
|
|
3826
|
-
style:
|
|
3760
|
+
style: styles30.optionScroll,
|
|
3827
3761
|
keyboardShouldPersistTaps: "handled",
|
|
3828
3762
|
showsVerticalScrollIndicator: false,
|
|
3829
3763
|
children: options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3843,7 +3777,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3843
3777
|
reactNative.View,
|
|
3844
3778
|
{
|
|
3845
3779
|
style: [
|
|
3846
|
-
|
|
3780
|
+
styles30.panelFill,
|
|
3847
3781
|
{
|
|
3848
3782
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
3849
3783
|
borderTopLeftRadius: 20,
|
|
@@ -3851,8 +3785,8 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3851
3785
|
}
|
|
3852
3786
|
],
|
|
3853
3787
|
children: [
|
|
3854
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3855
|
-
maxSelections != null && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [
|
|
3788
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.handle }),
|
|
3789
|
+
maxSelections != null && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles30.limitText, { color: theme.colors.textSecondary }], children: [
|
|
3856
3790
|
currentValues.length,
|
|
3857
3791
|
"/",
|
|
3858
3792
|
maxSelections,
|
|
@@ -3861,7 +3795,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3861
3795
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3862
3796
|
reactNative.ScrollView,
|
|
3863
3797
|
{
|
|
3864
|
-
style:
|
|
3798
|
+
style: styles30.optionScroll,
|
|
3865
3799
|
keyboardShouldPersistTaps: "handled",
|
|
3866
3800
|
showsVerticalScrollIndicator: false,
|
|
3867
3801
|
children: options.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3889,7 +3823,7 @@ var MultiSelect = React38__default.default.memo(
|
|
|
3889
3823
|
}
|
|
3890
3824
|
);
|
|
3891
3825
|
MultiSelect.displayName = "MultiSelect";
|
|
3892
|
-
var
|
|
3826
|
+
var styles30 = reactNative.StyleSheet.create({
|
|
3893
3827
|
wrapper: {
|
|
3894
3828
|
width: "100%"
|
|
3895
3829
|
},
|
|
@@ -4051,12 +3985,12 @@ var WheelColumn = React38__default.default.memo(({ items, selectedIndex, onSelec
|
|
|
4051
3985
|
},
|
|
4052
3986
|
[items.length, onSelect]
|
|
4053
3987
|
);
|
|
4054
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3988
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles31.wheel, { width }], children: [
|
|
4055
3989
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4056
3990
|
reactNative.View,
|
|
4057
3991
|
{
|
|
4058
3992
|
pointerEvents: "none",
|
|
4059
|
-
style: [
|
|
3993
|
+
style: [styles31.selectionHighlight, { borderColor: theme.colors.primary }]
|
|
4060
3994
|
}
|
|
4061
3995
|
),
|
|
4062
3996
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4072,11 +4006,11 @@ var WheelColumn = React38__default.default.memo(({ items, selectedIndex, onSelec
|
|
|
4072
4006
|
contentContainerStyle: { paddingVertical: ITEM_HEIGHT * 2 },
|
|
4073
4007
|
children: items.map((item, i) => {
|
|
4074
4008
|
const isSelected = i === selectedIndex;
|
|
4075
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4009
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.wheelItem, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4076
4010
|
reactNative.Text,
|
|
4077
4011
|
{
|
|
4078
4012
|
style: [
|
|
4079
|
-
|
|
4013
|
+
styles31.wheelText,
|
|
4080
4014
|
{
|
|
4081
4015
|
color: isSelected ? theme.colors.primary : theme.colors.textSecondary,
|
|
4082
4016
|
fontWeight: isSelected ? "600" : "400",
|
|
@@ -4143,9 +4077,9 @@ var DatePicker = React38__default.default.memo(
|
|
|
4143
4077
|
const hours = Array.from({ length: 24 }, (_, i) => i.toString().padStart(2, "0"));
|
|
4144
4078
|
const minutes = Array.from({ length: 60 }, (_, i) => i.toString().padStart(2, "0"));
|
|
4145
4079
|
const panelContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4146
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4147
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4148
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4080
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.handle }),
|
|
4081
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.panelTitle, { color: theme.colors.text }], children: "Select Date" }),
|
|
4082
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.wheelsRow, children: [
|
|
4149
4083
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4150
4084
|
WheelColumn,
|
|
4151
4085
|
{
|
|
@@ -4178,8 +4112,8 @@ var DatePicker = React38__default.default.memo(
|
|
|
4178
4112
|
)
|
|
4179
4113
|
] }),
|
|
4180
4114
|
mode === "datetime" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4181
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
4182
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4115
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles31.divider, { backgroundColor: theme.colors.border }] }),
|
|
4116
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.wheelsRow, children: [
|
|
4183
4117
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4184
4118
|
WheelColumn,
|
|
4185
4119
|
{
|
|
@@ -4190,7 +4124,7 @@ var DatePicker = React38__default.default.memo(
|
|
|
4190
4124
|
width: 80
|
|
4191
4125
|
}
|
|
4192
4126
|
),
|
|
4193
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4127
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.timeSep, { color: theme.colors.textSecondary }], children: ":" }),
|
|
4194
4128
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4195
4129
|
WheelColumn,
|
|
4196
4130
|
{
|
|
@@ -4203,25 +4137,25 @@ var DatePicker = React38__default.default.memo(
|
|
|
4203
4137
|
)
|
|
4204
4138
|
] })
|
|
4205
4139
|
] }),
|
|
4206
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4207
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleCancel, style:
|
|
4140
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.actions, children: [
|
|
4141
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleCancel, style: styles31.actionBtn, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.cancelText, { color: theme.colors.textSecondary }], children: "Cancel" }) }),
|
|
4208
4142
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4209
4143
|
reactNative.Pressable,
|
|
4210
4144
|
{
|
|
4211
4145
|
onPress: handleConfirm,
|
|
4212
|
-
style: [
|
|
4213
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4146
|
+
style: [styles31.actionBtn, styles31.confirmBtn, { backgroundColor: theme.colors.primary }],
|
|
4147
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles31.confirmText, children: "Confirm" })
|
|
4214
4148
|
}
|
|
4215
4149
|
)
|
|
4216
4150
|
] })
|
|
4217
4151
|
] });
|
|
4218
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
4152
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles31.wrapper, style], children: [
|
|
4219
4153
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4220
4154
|
reactNative.Pressable,
|
|
4221
4155
|
{
|
|
4222
4156
|
onPress: openPicker,
|
|
4223
4157
|
style: [
|
|
4224
|
-
|
|
4158
|
+
styles31.trigger,
|
|
4225
4159
|
{
|
|
4226
4160
|
borderColor: theme.colors.border,
|
|
4227
4161
|
opacity: isDisabled ? 0.5 : 1,
|
|
@@ -4232,8 +4166,8 @@ var DatePicker = React38__default.default.memo(
|
|
|
4232
4166
|
accessibilityLabel: `Date picker, current value: ${displayText}`,
|
|
4233
4167
|
accessibilityState: { disabled: isDisabled },
|
|
4234
4168
|
children: [
|
|
4235
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4236
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4169
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.triggerText, { color: theme.colors.text }], children: displayText }),
|
|
4170
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.triggerIcon, { color: theme.colors.textSecondary }], children: "\u{1F4C5}" })
|
|
4237
4171
|
]
|
|
4238
4172
|
}
|
|
4239
4173
|
),
|
|
@@ -4246,12 +4180,12 @@ var DatePicker = React38__default.default.memo(
|
|
|
4246
4180
|
onRequestClose: handleCancel,
|
|
4247
4181
|
statusBarTranslucent: true,
|
|
4248
4182
|
children: [
|
|
4249
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style:
|
|
4250
|
-
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style:
|
|
4183
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles31.backdrop, onPress: handleCancel, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.backdropFill }) }),
|
|
4184
|
+
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: styles31.panel, children: panelContent }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
4251
4185
|
reactNative.View,
|
|
4252
4186
|
{
|
|
4253
4187
|
style: [
|
|
4254
|
-
|
|
4188
|
+
styles31.panel,
|
|
4255
4189
|
{
|
|
4256
4190
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
4257
4191
|
borderTopLeftRadius: 20,
|
|
@@ -4268,7 +4202,7 @@ var DatePicker = React38__default.default.memo(
|
|
|
4268
4202
|
}
|
|
4269
4203
|
);
|
|
4270
4204
|
DatePicker.displayName = "DatePicker";
|
|
4271
|
-
var
|
|
4205
|
+
var styles31 = reactNative.StyleSheet.create({
|
|
4272
4206
|
wrapper: {
|
|
4273
4207
|
width: "100%"
|
|
4274
4208
|
},
|
|
@@ -4426,12 +4360,12 @@ var WheelColumn2 = React38__default.default.memo(({ items, selectedIndex, onSele
|
|
|
4426
4360
|
},
|
|
4427
4361
|
[items.length, onSelect]
|
|
4428
4362
|
);
|
|
4429
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
4363
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles32.wheel, { width }], children: [
|
|
4430
4364
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4431
4365
|
reactNative.View,
|
|
4432
4366
|
{
|
|
4433
4367
|
pointerEvents: "none",
|
|
4434
|
-
style: [
|
|
4368
|
+
style: [styles32.selectionHighlight, { borderColor: theme.colors.primary }]
|
|
4435
4369
|
}
|
|
4436
4370
|
),
|
|
4437
4371
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4447,11 +4381,11 @@ var WheelColumn2 = React38__default.default.memo(({ items, selectedIndex, onSele
|
|
|
4447
4381
|
contentContainerStyle: { paddingVertical: ITEM_HEIGHT2 * 2 },
|
|
4448
4382
|
children: items.map((item, i) => {
|
|
4449
4383
|
const isSelected = i === selectedIndex;
|
|
4450
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4384
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.wheelItem, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4451
4385
|
reactNative.Text,
|
|
4452
4386
|
{
|
|
4453
4387
|
style: [
|
|
4454
|
-
|
|
4388
|
+
styles32.wheelText,
|
|
4455
4389
|
{
|
|
4456
4390
|
color: isSelected ? theme.colors.primary : theme.colors.textSecondary,
|
|
4457
4391
|
fontWeight: isSelected ? "600" : "400",
|
|
@@ -4526,9 +4460,9 @@ var TimePicker = React38__default.default.memo(
|
|
|
4526
4460
|
const displayText = formatTime(currentDate, use24Hour);
|
|
4527
4461
|
const hourItems = use24Hour ? HOURS_24 : HOURS_12;
|
|
4528
4462
|
const panelContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4529
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4530
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4531
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4463
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.handle }),
|
|
4464
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.panelTitle, { color: theme.colors.text }], children: "Select Time" }),
|
|
4465
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.wheelsRow, children: [
|
|
4532
4466
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4533
4467
|
WheelColumn2,
|
|
4534
4468
|
{
|
|
@@ -4539,7 +4473,7 @@ var TimePicker = React38__default.default.memo(
|
|
|
4539
4473
|
width: 80
|
|
4540
4474
|
}
|
|
4541
4475
|
),
|
|
4542
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4476
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.timeSep, { color: theme.colors.textSecondary }], children: ":" }),
|
|
4543
4477
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4544
4478
|
WheelColumn2,
|
|
4545
4479
|
{
|
|
@@ -4561,25 +4495,25 @@ var TimePicker = React38__default.default.memo(
|
|
|
4561
4495
|
}
|
|
4562
4496
|
)
|
|
4563
4497
|
] }),
|
|
4564
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4565
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleCancel, style:
|
|
4498
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.actions, children: [
|
|
4499
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleCancel, style: styles32.actionBtn, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.cancelText, { color: theme.colors.textSecondary }], children: "Cancel" }) }),
|
|
4566
4500
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4567
4501
|
reactNative.Pressable,
|
|
4568
4502
|
{
|
|
4569
4503
|
onPress: handleConfirm,
|
|
4570
|
-
style: [
|
|
4571
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4504
|
+
style: [styles32.actionBtn, { backgroundColor: theme.colors.primary }],
|
|
4505
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles32.confirmText, children: "Confirm" })
|
|
4572
4506
|
}
|
|
4573
4507
|
)
|
|
4574
4508
|
] })
|
|
4575
4509
|
] });
|
|
4576
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
4510
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles32.wrapper, style], children: [
|
|
4577
4511
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4578
4512
|
reactNative.Pressable,
|
|
4579
4513
|
{
|
|
4580
4514
|
onPress: openPicker,
|
|
4581
4515
|
style: [
|
|
4582
|
-
|
|
4516
|
+
styles32.trigger,
|
|
4583
4517
|
{
|
|
4584
4518
|
borderColor: theme.colors.border,
|
|
4585
4519
|
opacity: isDisabled ? 0.5 : 1,
|
|
@@ -4590,8 +4524,8 @@ var TimePicker = React38__default.default.memo(
|
|
|
4590
4524
|
accessibilityLabel: `Time picker, current value: ${displayText}`,
|
|
4591
4525
|
accessibilityState: { disabled: isDisabled },
|
|
4592
4526
|
children: [
|
|
4593
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4594
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4527
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.triggerText, { color: theme.colors.text }], children: displayText }),
|
|
4528
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles32.triggerIcon, { color: theme.colors.textSecondary }], children: "\u23F0" })
|
|
4595
4529
|
]
|
|
4596
4530
|
}
|
|
4597
4531
|
),
|
|
@@ -4604,12 +4538,12 @@ var TimePicker = React38__default.default.memo(
|
|
|
4604
4538
|
onRequestClose: handleCancel,
|
|
4605
4539
|
statusBarTranslucent: true,
|
|
4606
4540
|
children: [
|
|
4607
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style:
|
|
4608
|
-
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style:
|
|
4541
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles32.backdrop, onPress: handleCancel, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.backdropFill }) }),
|
|
4542
|
+
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: styles32.panel, children: panelContent }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
4609
4543
|
reactNative.View,
|
|
4610
4544
|
{
|
|
4611
4545
|
style: [
|
|
4612
|
-
|
|
4546
|
+
styles32.panel,
|
|
4613
4547
|
{
|
|
4614
4548
|
backgroundColor: isDark ? theme.colors.surface : "#fff",
|
|
4615
4549
|
borderTopLeftRadius: 20,
|
|
@@ -4626,7 +4560,7 @@ var TimePicker = React38__default.default.memo(
|
|
|
4626
4560
|
}
|
|
4627
4561
|
);
|
|
4628
4562
|
TimePicker.displayName = "TimePicker";
|
|
4629
|
-
var
|
|
4563
|
+
var styles32 = reactNative.StyleSheet.create({
|
|
4630
4564
|
wrapper: {
|
|
4631
4565
|
width: "100%"
|
|
4632
4566
|
},
|
|
@@ -4741,8 +4675,8 @@ var LiquidCardHeader = React38__default.default.memo(
|
|
|
4741
4675
|
reactNative.View,
|
|
4742
4676
|
{
|
|
4743
4677
|
style: [
|
|
4744
|
-
|
|
4745
|
-
compact &&
|
|
4678
|
+
styles33.header,
|
|
4679
|
+
compact && styles33.compact,
|
|
4746
4680
|
bordered && {
|
|
4747
4681
|
borderBottomWidth: reactNative.StyleSheet.hairlineWidth,
|
|
4748
4682
|
borderBottomColor: isDark ? "rgba(255,255,255,0.10)" : "rgba(0,0,0,0.08)"
|
|
@@ -4756,7 +4690,7 @@ var LiquidCardHeader = React38__default.default.memo(
|
|
|
4756
4690
|
);
|
|
4757
4691
|
LiquidCardHeader.displayName = "LiquidCard.Header";
|
|
4758
4692
|
var LiquidCardBody = React38__default.default.memo(
|
|
4759
|
-
({ children, style, compact = false }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
4693
|
+
({ children, style, compact = false }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles33.body, compact && styles33.compact, style], children })
|
|
4760
4694
|
);
|
|
4761
4695
|
LiquidCardBody.displayName = "LiquidCard.Body";
|
|
4762
4696
|
var LiquidCardFooter = React38__default.default.memo(
|
|
@@ -4766,8 +4700,8 @@ var LiquidCardFooter = React38__default.default.memo(
|
|
|
4766
4700
|
reactNative.View,
|
|
4767
4701
|
{
|
|
4768
4702
|
style: [
|
|
4769
|
-
|
|
4770
|
-
compact &&
|
|
4703
|
+
styles33.footer,
|
|
4704
|
+
compact && styles33.compact,
|
|
4771
4705
|
bordered && {
|
|
4772
4706
|
borderTopWidth: reactNative.StyleSheet.hairlineWidth,
|
|
4773
4707
|
borderTopColor: isDark ? "rgba(255,255,255,0.10)" : "rgba(0,0,0,0.08)"
|
|
@@ -4786,7 +4720,7 @@ var LiquidCardImage = React38__default.default.memo(
|
|
|
4786
4720
|
{
|
|
4787
4721
|
source,
|
|
4788
4722
|
style: [
|
|
4789
|
-
|
|
4723
|
+
styles33.image,
|
|
4790
4724
|
{ height },
|
|
4791
4725
|
rounded && { borderRadius: 12 },
|
|
4792
4726
|
style
|
|
@@ -4839,7 +4773,7 @@ var LiquidCardRoot = React38__default.default.memo(
|
|
|
4839
4773
|
borderRadius,
|
|
4840
4774
|
border,
|
|
4841
4775
|
glow,
|
|
4842
|
-
style: fullWidth ?
|
|
4776
|
+
style: fullWidth ? styles33.fullWidth : void 0,
|
|
4843
4777
|
contentStyle,
|
|
4844
4778
|
children
|
|
4845
4779
|
}
|
|
@@ -4856,7 +4790,7 @@ var LiquidCardRoot = React38__default.default.memo(
|
|
|
4856
4790
|
accessibilityRole: "button",
|
|
4857
4791
|
accessibilityLabel,
|
|
4858
4792
|
accessibilityHint,
|
|
4859
|
-
style: fullWidth ?
|
|
4793
|
+
style: fullWidth ? styles33.fullWidth : void 0,
|
|
4860
4794
|
children: /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [animatedStyle, style], children: glass })
|
|
4861
4795
|
}
|
|
4862
4796
|
);
|
|
@@ -4871,7 +4805,7 @@ var LiquidCard = Object.assign(LiquidCardRoot, {
|
|
|
4871
4805
|
Footer: LiquidCardFooter,
|
|
4872
4806
|
Image: LiquidCardImage
|
|
4873
4807
|
});
|
|
4874
|
-
var
|
|
4808
|
+
var styles33 = reactNative.StyleSheet.create({
|
|
4875
4809
|
header: {
|
|
4876
4810
|
paddingHorizontal: 20,
|
|
4877
4811
|
paddingTop: 20,
|
|
@@ -4994,7 +4928,7 @@ var Avatar = React38__default.default.memo(
|
|
|
4994
4928
|
reactNative.View,
|
|
4995
4929
|
{
|
|
4996
4930
|
style: [
|
|
4997
|
-
|
|
4931
|
+
styles34.container,
|
|
4998
4932
|
{
|
|
4999
4933
|
width: sizePx,
|
|
5000
4934
|
height: sizePx,
|
|
@@ -5036,7 +4970,7 @@ var Avatar = React38__default.default.memo(
|
|
|
5036
4970
|
reactNative.View,
|
|
5037
4971
|
{
|
|
5038
4972
|
style: [
|
|
5039
|
-
|
|
4973
|
+
styles34.indicator,
|
|
5040
4974
|
{
|
|
5041
4975
|
width: indicatorSize,
|
|
5042
4976
|
height: indicatorSize,
|
|
@@ -5056,7 +4990,7 @@ var Avatar = React38__default.default.memo(
|
|
|
5056
4990
|
}
|
|
5057
4991
|
);
|
|
5058
4992
|
Avatar.displayName = "Avatar";
|
|
5059
|
-
var
|
|
4993
|
+
var styles34 = reactNative.StyleSheet.create({
|
|
5060
4994
|
container: {
|
|
5061
4995
|
alignItems: "center",
|
|
5062
4996
|
justifyContent: "center",
|
|
@@ -5185,11 +5119,11 @@ var BadgePill = React38__default.default.memo(
|
|
|
5185
5119
|
{
|
|
5186
5120
|
borderRadius: height / 2,
|
|
5187
5121
|
style: { height, minWidth, paddingHorizontal: px },
|
|
5188
|
-
contentStyle:
|
|
5122
|
+
contentStyle: styles35.pillContent,
|
|
5189
5123
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5190
5124
|
reactNative.Text,
|
|
5191
5125
|
{
|
|
5192
|
-
style: [
|
|
5126
|
+
style: [styles35.pillText, { fontSize, color: colors.text }],
|
|
5193
5127
|
allowFontScaling: false,
|
|
5194
5128
|
numberOfLines: 1,
|
|
5195
5129
|
children: displayText
|
|
@@ -5212,12 +5146,12 @@ var BadgePill = React38__default.default.memo(
|
|
|
5212
5146
|
borderWidth: variant === "outline" ? 1.5 : 0,
|
|
5213
5147
|
borderColor: colors.border
|
|
5214
5148
|
},
|
|
5215
|
-
|
|
5149
|
+
styles35.pillContent
|
|
5216
5150
|
],
|
|
5217
5151
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5218
5152
|
reactNative.Text,
|
|
5219
5153
|
{
|
|
5220
|
-
style: [
|
|
5154
|
+
style: [styles35.pillText, { fontSize, color: colors.text }],
|
|
5221
5155
|
allowFontScaling: false,
|
|
5222
5156
|
numberOfLines: 1,
|
|
5223
5157
|
children: displayText
|
|
@@ -5269,14 +5203,14 @@ var Badge = React38__default.default.memo(
|
|
|
5269
5203
|
if (!children) {
|
|
5270
5204
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style, children: pill });
|
|
5271
5205
|
}
|
|
5272
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
5206
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles35.wrapper, style], children: [
|
|
5273
5207
|
children,
|
|
5274
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5208
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles35.positioned, placementStyle(placement, size)], children: pill })
|
|
5275
5209
|
] });
|
|
5276
5210
|
}
|
|
5277
5211
|
);
|
|
5278
5212
|
Badge.displayName = "Badge";
|
|
5279
|
-
var
|
|
5213
|
+
var styles35 = reactNative.StyleSheet.create({
|
|
5280
5214
|
wrapper: {
|
|
5281
5215
|
position: "relative",
|
|
5282
5216
|
alignSelf: "flex-start"
|
|
@@ -5348,10 +5282,10 @@ var DismissButton = React38__default.default.memo(({ onPress, size, color }) =>
|
|
|
5348
5282
|
accessibilityLabel: "Dismiss",
|
|
5349
5283
|
accessibilityRole: "button",
|
|
5350
5284
|
style: [
|
|
5351
|
-
|
|
5285
|
+
styles36.dismiss,
|
|
5352
5286
|
{ width: dim, height: dim, borderRadius: dim / 2 }
|
|
5353
5287
|
],
|
|
5354
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5288
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles36.dismissText, { fontSize: dim * 0.55, color }], children: "\u2715" })
|
|
5355
5289
|
}
|
|
5356
5290
|
);
|
|
5357
5291
|
});
|
|
@@ -5392,7 +5326,7 @@ var Chip2 = React38__default.default.memo(
|
|
|
5392
5326
|
reactNative.View,
|
|
5393
5327
|
{
|
|
5394
5328
|
style: [
|
|
5395
|
-
|
|
5329
|
+
styles36.row,
|
|
5396
5330
|
{
|
|
5397
5331
|
height,
|
|
5398
5332
|
borderRadius: height / 2,
|
|
@@ -5408,24 +5342,24 @@ var Chip2 = React38__default.default.memo(
|
|
|
5408
5342
|
reactNative.View,
|
|
5409
5343
|
{
|
|
5410
5344
|
style: [
|
|
5411
|
-
|
|
5345
|
+
styles36.avatarSlot,
|
|
5412
5346
|
{ width: avatarSz, height: avatarSz, borderRadius: avatarSz / 2 },
|
|
5413
5347
|
{ marginRight: 6 }
|
|
5414
5348
|
],
|
|
5415
5349
|
children: avatar
|
|
5416
5350
|
}
|
|
5417
5351
|
),
|
|
5418
|
-
icon != null && avatar == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5352
|
+
icon != null && avatar == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles36.iconSlot, { marginRight: 4 }], children: icon }),
|
|
5419
5353
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5420
5354
|
reactNative.Text,
|
|
5421
5355
|
{
|
|
5422
|
-
style: [
|
|
5356
|
+
style: [styles36.label, { fontSize, color: activeText }],
|
|
5423
5357
|
numberOfLines: 1,
|
|
5424
5358
|
allowFontScaling: false,
|
|
5425
5359
|
children: label
|
|
5426
5360
|
}
|
|
5427
5361
|
),
|
|
5428
|
-
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5362
|
+
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles36.iconSlot, { marginLeft: 4 }], children: trailingIcon }),
|
|
5429
5363
|
onDismiss != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5430
5364
|
DismissButton,
|
|
5431
5365
|
{
|
|
@@ -5443,7 +5377,7 @@ var Chip2 = React38__default.default.memo(
|
|
|
5443
5377
|
borderRadius: height / 2,
|
|
5444
5378
|
style: { overflow: "hidden" },
|
|
5445
5379
|
contentStyle: [
|
|
5446
|
-
|
|
5380
|
+
styles36.row,
|
|
5447
5381
|
{
|
|
5448
5382
|
height,
|
|
5449
5383
|
paddingHorizontal: px,
|
|
@@ -5455,23 +5389,23 @@ var Chip2 = React38__default.default.memo(
|
|
|
5455
5389
|
reactNative.View,
|
|
5456
5390
|
{
|
|
5457
5391
|
style: [
|
|
5458
|
-
|
|
5392
|
+
styles36.avatarSlot,
|
|
5459
5393
|
{ width: avatarSz, height: avatarSz, borderRadius: avatarSz / 2, marginRight: 6 }
|
|
5460
5394
|
],
|
|
5461
5395
|
children: avatar
|
|
5462
5396
|
}
|
|
5463
5397
|
),
|
|
5464
|
-
icon != null && avatar == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5398
|
+
icon != null && avatar == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles36.iconSlot, { marginRight: 4 }], children: icon }),
|
|
5465
5399
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5466
5400
|
reactNative.Text,
|
|
5467
5401
|
{
|
|
5468
|
-
style: [
|
|
5402
|
+
style: [styles36.label, { fontSize, color: isSelected ? "#fff" : colors.text }],
|
|
5469
5403
|
numberOfLines: 1,
|
|
5470
5404
|
allowFontScaling: false,
|
|
5471
5405
|
children: label
|
|
5472
5406
|
}
|
|
5473
5407
|
),
|
|
5474
|
-
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5408
|
+
trailingIcon != null && onDismiss == null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles36.iconSlot, { marginLeft: 4 }], children: trailingIcon }),
|
|
5475
5409
|
onDismiss != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5476
5410
|
DismissButton,
|
|
5477
5411
|
{
|
|
@@ -5502,7 +5436,7 @@ var Chip2 = React38__default.default.memo(
|
|
|
5502
5436
|
}
|
|
5503
5437
|
);
|
|
5504
5438
|
Chip2.displayName = "Chip";
|
|
5505
|
-
var
|
|
5439
|
+
var styles36 = reactNative.StyleSheet.create({
|
|
5506
5440
|
row: {
|
|
5507
5441
|
flexDirection: "row",
|
|
5508
5442
|
alignItems: "center",
|
|
@@ -5556,12 +5490,12 @@ var ListItem = React38__default.default.memo(
|
|
|
5556
5490
|
});
|
|
5557
5491
|
const dividerColor = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)";
|
|
5558
5492
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5559
|
-
leading != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5560
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5493
|
+
leading != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles37.leadingSlot, children: leading }),
|
|
5494
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles37.textBlock, children: [
|
|
5561
5495
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5562
5496
|
reactNative.Text,
|
|
5563
5497
|
{
|
|
5564
|
-
style: [
|
|
5498
|
+
style: [styles37.title, { color: isDisabled ? theme.colors.textDisabled : theme.colors.text }],
|
|
5565
5499
|
numberOfLines: 2,
|
|
5566
5500
|
children: title
|
|
5567
5501
|
}
|
|
@@ -5569,7 +5503,7 @@ var ListItem = React38__default.default.memo(
|
|
|
5569
5503
|
subtitle != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5570
5504
|
reactNative.Text,
|
|
5571
5505
|
{
|
|
5572
|
-
style: [
|
|
5506
|
+
style: [styles37.subtitle, { color: isDisabled ? theme.colors.textDisabled : theme.colors.textSecondary }],
|
|
5573
5507
|
numberOfLines: 1,
|
|
5574
5508
|
children: subtitle
|
|
5575
5509
|
}
|
|
@@ -5577,16 +5511,16 @@ var ListItem = React38__default.default.memo(
|
|
|
5577
5511
|
description != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5578
5512
|
reactNative.Text,
|
|
5579
5513
|
{
|
|
5580
|
-
style: [
|
|
5514
|
+
style: [styles37.description, { color: theme.colors.textMuted }],
|
|
5581
5515
|
numberOfLines: 3,
|
|
5582
5516
|
children: description
|
|
5583
5517
|
}
|
|
5584
5518
|
)
|
|
5585
5519
|
] }),
|
|
5586
|
-
trailing != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5520
|
+
trailing != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles37.trailingSlot, children: trailing })
|
|
5587
5521
|
] });
|
|
5588
5522
|
const rowStyle = [
|
|
5589
|
-
|
|
5523
|
+
styles37.row,
|
|
5590
5524
|
showDivider && { borderBottomWidth: reactNative.StyleSheet.hairlineWidth, borderBottomColor: dividerColor },
|
|
5591
5525
|
{ opacity: isDisabled ? 0.5 : 1 },
|
|
5592
5526
|
style
|
|
@@ -5596,8 +5530,8 @@ var ListItem = React38__default.default.memo(
|
|
|
5596
5530
|
reactnativelyGlass.GlassView,
|
|
5597
5531
|
{
|
|
5598
5532
|
borderRadius: 12,
|
|
5599
|
-
style:
|
|
5600
|
-
contentStyle:
|
|
5533
|
+
style: styles37.glassContainer,
|
|
5534
|
+
contentStyle: styles37.row,
|
|
5601
5535
|
children: content
|
|
5602
5536
|
}
|
|
5603
5537
|
);
|
|
@@ -5639,7 +5573,7 @@ var ListItem = React38__default.default.memo(
|
|
|
5639
5573
|
}
|
|
5640
5574
|
);
|
|
5641
5575
|
ListItem.displayName = "ListItem";
|
|
5642
|
-
var
|
|
5576
|
+
var styles37 = reactNative.StyleSheet.create({
|
|
5643
5577
|
row: {
|
|
5644
5578
|
flexDirection: "row",
|
|
5645
5579
|
alignItems: "center",
|
|
@@ -5690,14 +5624,14 @@ var SectionHeader = React38__default.default.memo(({ title }) => {
|
|
|
5690
5624
|
reactNative.View,
|
|
5691
5625
|
{
|
|
5692
5626
|
style: [
|
|
5693
|
-
|
|
5627
|
+
styles38.sectionHeader,
|
|
5694
5628
|
{
|
|
5695
5629
|
borderBottomWidth: reactNative.StyleSheet.hairlineWidth,
|
|
5696
5630
|
borderBottomColor: isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)",
|
|
5697
5631
|
backgroundColor: isDark ? theme.colors.backgroundDeep : theme.colors.background
|
|
5698
5632
|
}
|
|
5699
5633
|
],
|
|
5700
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5634
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles38.sectionTitle, { color: theme.colors.textSecondary }], children: title.toUpperCase() })
|
|
5701
5635
|
}
|
|
5702
5636
|
);
|
|
5703
5637
|
});
|
|
@@ -5738,7 +5672,7 @@ var ListRoot = React38__default.default.memo(
|
|
|
5738
5672
|
stickySectionHeadersEnabled: false,
|
|
5739
5673
|
showsVerticalScrollIndicator: false,
|
|
5740
5674
|
style: glass ? void 0 : style,
|
|
5741
|
-
contentContainerStyle:
|
|
5675
|
+
contentContainerStyle: styles38.content
|
|
5742
5676
|
}
|
|
5743
5677
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5744
5678
|
reactNative.FlatList,
|
|
@@ -5748,7 +5682,7 @@ var ListRoot = React38__default.default.memo(
|
|
|
5748
5682
|
renderItem: defaultRenderItem,
|
|
5749
5683
|
showsVerticalScrollIndicator: false,
|
|
5750
5684
|
style: glass ? void 0 : style,
|
|
5751
|
-
contentContainerStyle:
|
|
5685
|
+
contentContainerStyle: styles38.content
|
|
5752
5686
|
}
|
|
5753
5687
|
);
|
|
5754
5688
|
if (glass) {
|
|
@@ -5757,7 +5691,7 @@ var ListRoot = React38__default.default.memo(
|
|
|
5757
5691
|
{
|
|
5758
5692
|
borderRadius: 16,
|
|
5759
5693
|
style,
|
|
5760
|
-
contentStyle:
|
|
5694
|
+
contentStyle: styles38.glassContent,
|
|
5761
5695
|
children: container
|
|
5762
5696
|
}
|
|
5763
5697
|
);
|
|
@@ -5767,7 +5701,7 @@ var ListRoot = React38__default.default.memo(
|
|
|
5767
5701
|
);
|
|
5768
5702
|
ListRoot.displayName = "List";
|
|
5769
5703
|
var List = Object.assign(ListRoot, { Item: ListItem });
|
|
5770
|
-
var
|
|
5704
|
+
var styles38 = reactNative.StyleSheet.create({
|
|
5771
5705
|
content: {
|
|
5772
5706
|
flexGrow: 1
|
|
5773
5707
|
},
|
|
@@ -5835,7 +5769,7 @@ var AccordionItem = React38__default.default.memo(
|
|
|
5835
5769
|
accessibilityRole: "button",
|
|
5836
5770
|
accessibilityState: { expanded: isOpen, disabled: isDisabled },
|
|
5837
5771
|
style: [
|
|
5838
|
-
|
|
5772
|
+
styles39.trigger,
|
|
5839
5773
|
{
|
|
5840
5774
|
backgroundColor: isOpen ? triggerBg : "transparent",
|
|
5841
5775
|
opacity: isDisabled ? 0.45 : 1,
|
|
@@ -5844,23 +5778,23 @@ var AccordionItem = React38__default.default.memo(
|
|
|
5844
5778
|
}
|
|
5845
5779
|
],
|
|
5846
5780
|
children: [
|
|
5847
|
-
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5781
|
+
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles39.triggerIcon, children: icon }),
|
|
5848
5782
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5849
5783
|
reactNative.Text,
|
|
5850
5784
|
{
|
|
5851
|
-
style: [
|
|
5785
|
+
style: [styles39.triggerTitle, { color: theme.colors.text, flex: 1 }],
|
|
5852
5786
|
numberOfLines: 2,
|
|
5853
5787
|
children: title
|
|
5854
5788
|
}
|
|
5855
5789
|
),
|
|
5856
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
5790
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles39.chevronWrap, chevronStyle], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles39.chevron, { color: theme.colors.textMuted }], children: "\u203A" }) })
|
|
5857
5791
|
]
|
|
5858
5792
|
}
|
|
5859
5793
|
);
|
|
5860
5794
|
const contentInner = /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: contentStyle, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5861
5795
|
reactNative.View,
|
|
5862
5796
|
{
|
|
5863
|
-
style:
|
|
5797
|
+
style: styles39.contentPad,
|
|
5864
5798
|
onLayout: (e) => {
|
|
5865
5799
|
const h = e.nativeEvent.layout.height;
|
|
5866
5800
|
if (h > 0) measured.current = h;
|
|
@@ -5873,8 +5807,8 @@ var AccordionItem = React38__default.default.memo(
|
|
|
5873
5807
|
reactnativelyGlass.GlassView,
|
|
5874
5808
|
{
|
|
5875
5809
|
borderRadius: 12,
|
|
5876
|
-
style:
|
|
5877
|
-
contentStyle:
|
|
5810
|
+
style: styles39.glassItem,
|
|
5811
|
+
contentStyle: styles39.glassContent,
|
|
5878
5812
|
children: [
|
|
5879
5813
|
trigger,
|
|
5880
5814
|
contentInner
|
|
@@ -5886,7 +5820,7 @@ var AccordionItem = React38__default.default.memo(
|
|
|
5886
5820
|
reactNative.View,
|
|
5887
5821
|
{
|
|
5888
5822
|
style: [
|
|
5889
|
-
|
|
5823
|
+
styles39.item,
|
|
5890
5824
|
{
|
|
5891
5825
|
borderWidth: reactNative.StyleSheet.hairlineWidth,
|
|
5892
5826
|
borderColor,
|
|
@@ -5932,12 +5866,12 @@ var AccordionRoot = React38__default.default.memo(
|
|
|
5932
5866
|
},
|
|
5933
5867
|
[openItems, allowMultiple, controlledValue, onChange]
|
|
5934
5868
|
);
|
|
5935
|
-
return /* @__PURE__ */ jsxRuntime.jsx(AccordionContext.Provider, { value: { openItems, toggle, glass }, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5869
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AccordionContext.Provider, { value: { openItems, toggle, glass }, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles39.root, style], children }) });
|
|
5936
5870
|
}
|
|
5937
5871
|
);
|
|
5938
5872
|
AccordionRoot.displayName = "Accordion";
|
|
5939
5873
|
var Accordion = Object.assign(AccordionRoot, { Item: AccordionItem });
|
|
5940
|
-
var
|
|
5874
|
+
var styles39 = reactNative.StyleSheet.create({
|
|
5941
5875
|
root: {
|
|
5942
5876
|
gap: 8
|
|
5943
5877
|
},
|
|
@@ -6007,12 +5941,12 @@ var PulsingDot = React38__default.default.memo(({ color }) => {
|
|
|
6007
5941
|
anim.start();
|
|
6008
5942
|
return () => anim.stop();
|
|
6009
5943
|
}, []);
|
|
6010
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5944
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles40.dotOuter, children: [
|
|
6011
5945
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6012
5946
|
reactNative.Animated.View,
|
|
6013
5947
|
{
|
|
6014
5948
|
style: [
|
|
6015
|
-
|
|
5949
|
+
styles40.pulseRing,
|
|
6016
5950
|
{
|
|
6017
5951
|
backgroundColor: color,
|
|
6018
5952
|
transform: [{ scale }],
|
|
@@ -6021,7 +5955,7 @@ var PulsingDot = React38__default.default.memo(({ color }) => {
|
|
|
6021
5955
|
]
|
|
6022
5956
|
}
|
|
6023
5957
|
),
|
|
6024
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5958
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles40.dot, { backgroundColor: color }] })
|
|
6025
5959
|
] });
|
|
6026
5960
|
});
|
|
6027
5961
|
PulsingDot.displayName = "Timeline.PulsingDot";
|
|
@@ -6032,13 +5966,13 @@ var StaticDot = React38__default.default.memo(
|
|
|
6032
5966
|
if (status === "active") {
|
|
6033
5967
|
return /* @__PURE__ */ jsxRuntime.jsx(PulsingDot, { color: primaryColor });
|
|
6034
5968
|
}
|
|
6035
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5969
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles40.dotOuter, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6036
5970
|
reactNative.View,
|
|
6037
5971
|
{
|
|
6038
5972
|
style: [
|
|
6039
|
-
|
|
5973
|
+
styles40.dot,
|
|
6040
5974
|
{ backgroundColor: color },
|
|
6041
|
-
status === "pending" &&
|
|
5975
|
+
status === "pending" && styles40.dotPending
|
|
6042
5976
|
]
|
|
6043
5977
|
}
|
|
6044
5978
|
) });
|
|
@@ -6053,13 +5987,13 @@ var TimelineRow = React38__default.default.memo(
|
|
|
6053
5987
|
const isActive = status === "active";
|
|
6054
5988
|
const isComplete = status === "complete";
|
|
6055
5989
|
const lineColor = isComplete || isActive ? primaryColor : connectorColorBelow;
|
|
6056
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6057
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5990
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles40.row, children: [
|
|
5991
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles40.leftCol, children: [
|
|
6058
5992
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6059
5993
|
reactNative.View,
|
|
6060
5994
|
{
|
|
6061
5995
|
style: [
|
|
6062
|
-
|
|
5996
|
+
styles40.connector,
|
|
6063
5997
|
{ backgroundColor: connectorColorAbove }
|
|
6064
5998
|
]
|
|
6065
5999
|
}
|
|
@@ -6068,7 +6002,7 @@ var TimelineRow = React38__default.default.memo(
|
|
|
6068
6002
|
reactNative.View,
|
|
6069
6003
|
{
|
|
6070
6004
|
style: [
|
|
6071
|
-
|
|
6005
|
+
styles40.iconDot,
|
|
6072
6006
|
{ backgroundColor: isComplete ? primaryColor : isDark ? "#374151" : "#e5e7eb" }
|
|
6073
6007
|
],
|
|
6074
6008
|
children: item.icon
|
|
@@ -6078,16 +6012,16 @@ var TimelineRow = React38__default.default.memo(
|
|
|
6078
6012
|
reactNative.View,
|
|
6079
6013
|
{
|
|
6080
6014
|
style: [
|
|
6081
|
-
|
|
6015
|
+
styles40.connectorBottom,
|
|
6082
6016
|
{ backgroundColor: lineColor }
|
|
6083
6017
|
]
|
|
6084
6018
|
}
|
|
6085
6019
|
)
|
|
6086
6020
|
] }),
|
|
6087
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6088
|
-
item.timestamp != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6089
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6090
|
-
item.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6021
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles40.rightCol, children: [
|
|
6022
|
+
item.timestamp != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.timestamp, { color: theme.colors.textMuted }], children: item.timestamp }),
|
|
6023
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.title, { color: theme.colors.text }], children: item.title }),
|
|
6024
|
+
item.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.description, { color: theme.colors.textSecondary }], children: item.description })
|
|
6091
6025
|
] })
|
|
6092
6026
|
] });
|
|
6093
6027
|
}
|
|
@@ -6124,7 +6058,7 @@ var Timeline = React38__default.default.memo(
|
|
|
6124
6058
|
{
|
|
6125
6059
|
borderRadius: 16,
|
|
6126
6060
|
style,
|
|
6127
|
-
contentStyle:
|
|
6061
|
+
contentStyle: styles40.glassPad,
|
|
6128
6062
|
children: inner
|
|
6129
6063
|
}
|
|
6130
6064
|
);
|
|
@@ -6133,7 +6067,7 @@ var Timeline = React38__default.default.memo(
|
|
|
6133
6067
|
}
|
|
6134
6068
|
);
|
|
6135
6069
|
Timeline.displayName = "Timeline";
|
|
6136
|
-
var
|
|
6070
|
+
var styles40 = reactNative.StyleSheet.create({
|
|
6137
6071
|
row: {
|
|
6138
6072
|
flexDirection: "row",
|
|
6139
6073
|
minHeight: 60
|
|
@@ -6216,13 +6150,13 @@ var styles41 = reactNative.StyleSheet.create({
|
|
|
6216
6150
|
var SCREEN_WIDTH = reactNative.Dimensions.get("window").width;
|
|
6217
6151
|
var Dots = React38__default.default.memo(({ count, activeIndex, primaryColor }) => {
|
|
6218
6152
|
if (count <= 1) return null;
|
|
6219
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
6153
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles41.dotsRow, children: Array.from({ length: count }).map((_, i) => {
|
|
6220
6154
|
const isActive = i === activeIndex;
|
|
6221
6155
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6222
6156
|
reactNative.View,
|
|
6223
6157
|
{
|
|
6224
6158
|
style: [
|
|
6225
|
-
|
|
6159
|
+
styles41.dot,
|
|
6226
6160
|
{
|
|
6227
6161
|
backgroundColor: isActive ? primaryColor : "rgba(150,150,150,0.35)",
|
|
6228
6162
|
width: isActive ? 20 : 8,
|
|
@@ -6324,7 +6258,7 @@ var Carousel = React38__default.default.memo(
|
|
|
6324
6258
|
{
|
|
6325
6259
|
borderRadius: 16,
|
|
6326
6260
|
style,
|
|
6327
|
-
contentStyle:
|
|
6261
|
+
contentStyle: styles41.glassContent,
|
|
6328
6262
|
children: [
|
|
6329
6263
|
list,
|
|
6330
6264
|
showDots && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6352,7 +6286,7 @@ var Carousel = React38__default.default.memo(
|
|
|
6352
6286
|
}
|
|
6353
6287
|
);
|
|
6354
6288
|
Carousel.displayName = "Carousel";
|
|
6355
|
-
var
|
|
6289
|
+
var styles41 = reactNative.StyleSheet.create({
|
|
6356
6290
|
glassContent: {
|
|
6357
6291
|
overflow: "hidden"
|
|
6358
6292
|
},
|
|
@@ -6377,7 +6311,7 @@ var TrendBadge = React38__default.default.memo(({ value, direction }) => {
|
|
|
6377
6311
|
const isDark = reactnativelyTheme.useIsDark();
|
|
6378
6312
|
const trendColor = direction === "up" ? isDark ? "#4ade80" : "#16a34a" : direction === "down" ? isDark ? "#f87171" : "#dc2626" : isDark ? "#94a3b8" : "#64748b";
|
|
6379
6313
|
const trendBg = direction === "up" ? isDark ? "rgba(74,222,128,0.12)" : "rgba(22,163,74,0.10)" : direction === "down" ? isDark ? "rgba(248,113,113,0.12)" : "rgba(220,38,38,0.10)" : isDark ? "rgba(148,163,184,0.12)" : "rgba(100,116,139,0.10)";
|
|
6380
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
6314
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles42.trendBadge, { backgroundColor: trendBg }], children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles42.trendText, { color: trendColor }], children: [
|
|
6381
6315
|
TREND_ARROW[direction],
|
|
6382
6316
|
" ",
|
|
6383
6317
|
value
|
|
@@ -6398,27 +6332,27 @@ var StatsCard = React38__default.default.memo(
|
|
|
6398
6332
|
const { theme } = reactnativelyTheme.useTheme();
|
|
6399
6333
|
const entranceStyle = reactnativelyAnimations.useEntranceAnimation({ variant: "slideUp" });
|
|
6400
6334
|
const cardContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6401
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6335
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles42.topRow, children: [
|
|
6402
6336
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6403
6337
|
reactNative.Text,
|
|
6404
6338
|
{
|
|
6405
|
-
style: [
|
|
6339
|
+
style: [styles42.label, { color: theme.colors.textSecondary }],
|
|
6406
6340
|
numberOfLines: 1,
|
|
6407
6341
|
children: label
|
|
6408
6342
|
}
|
|
6409
6343
|
),
|
|
6410
|
-
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
6344
|
+
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles42.iconSlot, children: icon })
|
|
6411
6345
|
] }),
|
|
6412
6346
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6413
6347
|
reactNative.Text,
|
|
6414
6348
|
{
|
|
6415
|
-
style: [
|
|
6349
|
+
style: [styles42.value, { color: theme.colors.text }],
|
|
6416
6350
|
numberOfLines: 1,
|
|
6417
6351
|
adjustsFontSizeToFit: true,
|
|
6418
6352
|
children: [
|
|
6419
|
-
prefix && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6353
|
+
prefix && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.valueAffix, { color: theme.colors.textSecondary }], children: prefix }),
|
|
6420
6354
|
String(value),
|
|
6421
|
-
suffix && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6355
|
+
suffix && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.valueAffix, { color: theme.colors.textSecondary }], children: suffix })
|
|
6422
6356
|
]
|
|
6423
6357
|
}
|
|
6424
6358
|
),
|
|
@@ -6429,7 +6363,7 @@ var StatsCard = React38__default.default.memo(
|
|
|
6429
6363
|
reactnativelyGlass.GlassView,
|
|
6430
6364
|
{
|
|
6431
6365
|
borderRadius: 16,
|
|
6432
|
-
contentStyle:
|
|
6366
|
+
contentStyle: styles42.cardPad,
|
|
6433
6367
|
children: cardContent
|
|
6434
6368
|
}
|
|
6435
6369
|
) });
|
|
@@ -6439,7 +6373,7 @@ var StatsCard = React38__default.default.memo(
|
|
|
6439
6373
|
{
|
|
6440
6374
|
style: [
|
|
6441
6375
|
entranceStyle,
|
|
6442
|
-
|
|
6376
|
+
styles42.card,
|
|
6443
6377
|
{
|
|
6444
6378
|
backgroundColor: theme.colors.surface,
|
|
6445
6379
|
borderColor: theme.colors.border
|
|
@@ -6452,7 +6386,7 @@ var StatsCard = React38__default.default.memo(
|
|
|
6452
6386
|
}
|
|
6453
6387
|
);
|
|
6454
6388
|
StatsCard.displayName = "StatsCard";
|
|
6455
|
-
var
|
|
6389
|
+
var styles42 = reactNative.StyleSheet.create({
|
|
6456
6390
|
card: {
|
|
6457
6391
|
borderRadius: 16,
|
|
6458
6392
|
padding: 20,
|
|
@@ -6506,7 +6440,7 @@ var SortIcon = React38__default.default.memo(({ active, direction, color }) => /
|
|
|
6506
6440
|
reactNative.Text,
|
|
6507
6441
|
{
|
|
6508
6442
|
style: [
|
|
6509
|
-
|
|
6443
|
+
styles43.sortIcon,
|
|
6510
6444
|
{ color: active ? color : "rgba(150,150,150,0.45)" }
|
|
6511
6445
|
],
|
|
6512
6446
|
children: active ? direction === "asc" ? "\u2191" : "\u2193" : "\u2195"
|
|
@@ -6552,13 +6486,13 @@ var Table = React38__default.default.memo(
|
|
|
6552
6486
|
reactNative.View,
|
|
6553
6487
|
{
|
|
6554
6488
|
style: [
|
|
6555
|
-
|
|
6489
|
+
styles43.headerRow,
|
|
6556
6490
|
{
|
|
6557
6491
|
backgroundColor: headerBg,
|
|
6558
6492
|
borderBottomWidth: reactNative.StyleSheet.hairlineWidth,
|
|
6559
6493
|
borderBottomColor: borderColor
|
|
6560
6494
|
},
|
|
6561
|
-
stickyHeader &&
|
|
6495
|
+
stickyHeader && styles43.stickyHeader
|
|
6562
6496
|
],
|
|
6563
6497
|
children: columns.map((col, ci) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6564
6498
|
reactNative.Pressable,
|
|
@@ -6566,7 +6500,7 @@ var Table = React38__default.default.memo(
|
|
|
6566
6500
|
onPress: () => handleHeaderPress(col),
|
|
6567
6501
|
disabled: !col.sortable,
|
|
6568
6502
|
style: [
|
|
6569
|
-
|
|
6503
|
+
styles43.headerCell,
|
|
6570
6504
|
{ width: col.width ?? 120 },
|
|
6571
6505
|
ci < columns.length - 1 ? cellBorderStyle : {}
|
|
6572
6506
|
],
|
|
@@ -6575,7 +6509,7 @@ var Table = React38__default.default.memo(
|
|
|
6575
6509
|
reactNative.Text,
|
|
6576
6510
|
{
|
|
6577
6511
|
style: [
|
|
6578
|
-
|
|
6512
|
+
styles43.headerText,
|
|
6579
6513
|
{ color: theme.colors.textSecondary, textAlign: textAlign(col.align) }
|
|
6580
6514
|
],
|
|
6581
6515
|
numberOfLines: 2,
|
|
@@ -6600,7 +6534,7 @@ var Table = React38__default.default.memo(
|
|
|
6600
6534
|
reactNative.View,
|
|
6601
6535
|
{
|
|
6602
6536
|
style: [
|
|
6603
|
-
|
|
6537
|
+
styles43.dataRow,
|
|
6604
6538
|
{ backgroundColor: rowBg(ri) },
|
|
6605
6539
|
ri < data.length - 1 && {
|
|
6606
6540
|
borderBottomWidth: reactNative.StyleSheet.hairlineWidth,
|
|
@@ -6613,7 +6547,7 @@ var Table = React38__default.default.memo(
|
|
|
6613
6547
|
reactNative.View,
|
|
6614
6548
|
{
|
|
6615
6549
|
style: [
|
|
6616
|
-
|
|
6550
|
+
styles43.dataCell,
|
|
6617
6551
|
{ width: col.width ?? 120 },
|
|
6618
6552
|
ci < columns.length - 1 ? cellBorderStyle : {}
|
|
6619
6553
|
],
|
|
@@ -6621,7 +6555,7 @@ var Table = React38__default.default.memo(
|
|
|
6621
6555
|
reactNative.Text,
|
|
6622
6556
|
{
|
|
6623
6557
|
style: [
|
|
6624
|
-
|
|
6558
|
+
styles43.cellText,
|
|
6625
6559
|
{ color: theme.colors.text, textAlign: textAlign(col.align) }
|
|
6626
6560
|
],
|
|
6627
6561
|
numberOfLines: 3,
|
|
@@ -6648,7 +6582,7 @@ var Table = React38__default.default.memo(
|
|
|
6648
6582
|
{
|
|
6649
6583
|
nestedScrollEnabled: true,
|
|
6650
6584
|
showsVerticalScrollIndicator: true,
|
|
6651
|
-
style:
|
|
6585
|
+
style: styles43.bodyScroll,
|
|
6652
6586
|
children: dataRows
|
|
6653
6587
|
}
|
|
6654
6588
|
)
|
|
@@ -6659,7 +6593,7 @@ var Table = React38__default.default.memo(
|
|
|
6659
6593
|
{
|
|
6660
6594
|
borderRadius: 12,
|
|
6661
6595
|
style,
|
|
6662
|
-
contentStyle:
|
|
6596
|
+
contentStyle: styles43.glassContent,
|
|
6663
6597
|
children: tableInner
|
|
6664
6598
|
}
|
|
6665
6599
|
);
|
|
@@ -6668,7 +6602,7 @@ var Table = React38__default.default.memo(
|
|
|
6668
6602
|
}
|
|
6669
6603
|
);
|
|
6670
6604
|
Table.displayName = "Table";
|
|
6671
|
-
var
|
|
6605
|
+
var styles43 = reactNative.StyleSheet.create({
|
|
6672
6606
|
stickyHeader: {
|
|
6673
6607
|
// On native, sticky positioning in ScrollView is done per-platform;
|
|
6674
6608
|
// this flag just signals intent — full sticky requires SectionList headers
|
|
@@ -6770,20 +6704,20 @@ var Alert = React38__default.default.memo(
|
|
|
6770
6704
|
const iconChar = STATUS_ICONS[status];
|
|
6771
6705
|
const containerStyle = resolveContainerStyle(variant, status);
|
|
6772
6706
|
const textColor = resolveTextColor(variant, isDark);
|
|
6773
|
-
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6774
|
-
showIcon && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
6775
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6776
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6777
|
-
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6707
|
+
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.inner, children: [
|
|
6708
|
+
showIcon && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles44.iconWrap, variant === "solid" ? styles44.iconWrapSolid : { backgroundColor: `${accentColor}20` }], children: icon != null ? icon : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.iconText, { color: variant === "solid" ? "#fff" : accentColor }], children: iconChar }) }),
|
|
6709
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.textBlock, children: [
|
|
6710
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.title, { color: textColor }], numberOfLines: 2, children: title }),
|
|
6711
|
+
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.description, { color: variant === "solid" ? "rgba(255,255,255,0.85)" : isDark ? "#94a3b8" : "#475569" }], children: description }),
|
|
6778
6712
|
children
|
|
6779
6713
|
] }),
|
|
6780
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6781
|
-
action != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: action.onPress, style:
|
|
6782
|
-
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleDismiss, style:
|
|
6714
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles44.actionsRow, children: [
|
|
6715
|
+
action != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: action.onPress, style: styles44.actionBtn, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.actionText, { color: variant === "solid" ? "#fff" : accentColor }], children: action.label }) }),
|
|
6716
|
+
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleDismiss, style: styles44.closeBtn, accessibilityLabel: "Dismiss alert", accessibilityRole: "button", children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.closeText, { color: variant === "solid" ? "rgba(255,255,255,0.7)" : isDark ? "#64748b" : "#94a3b8" }], children: "\u2715" }) })
|
|
6783
6717
|
] })
|
|
6784
6718
|
] });
|
|
6785
6719
|
if (variant === "glass") {
|
|
6786
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: [
|
|
6720
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 12, style: [styles44.glassLeftBorder, { borderLeftColor: accentColor }], children: inner }) });
|
|
6787
6721
|
}
|
|
6788
6722
|
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [containerStyle, entranceStyle, exitStyle, style], children: inner });
|
|
6789
6723
|
}
|
|
@@ -6823,7 +6757,7 @@ function resolveTextColor(variant, isDark) {
|
|
|
6823
6757
|
if (variant === "solid") return "#ffffff";
|
|
6824
6758
|
return isDark ? "#f1f5f9" : "#0f172a";
|
|
6825
6759
|
}
|
|
6826
|
-
var
|
|
6760
|
+
var styles44 = reactNative.StyleSheet.create({
|
|
6827
6761
|
inner: {
|
|
6828
6762
|
flexDirection: "row",
|
|
6829
6763
|
alignItems: "flex-start",
|
|
@@ -6938,37 +6872,37 @@ var Banner = React38__default.default.memo(
|
|
|
6938
6872
|
const iconChar = STATUS_ICONS2[status];
|
|
6939
6873
|
const textColor = isDark ? "#f1f5f9" : "#0f172a";
|
|
6940
6874
|
const subColor = isDark ? "#94a3b8" : "#475569";
|
|
6941
|
-
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6942
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
6943
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
6944
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6945
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6946
|
-
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6947
|
-
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6948
|
-
action != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: action.onPress, style:
|
|
6949
|
-
secondaryAction != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: secondaryAction.onPress, style:
|
|
6875
|
+
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.inner, children: [
|
|
6876
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles45.colorBar, { backgroundColor: accentColor }] }),
|
|
6877
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles45.iconWrap, { backgroundColor: `${accentColor}20` }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.iconText, { color: accentColor }], children: iconChar }) }),
|
|
6878
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.textBlock, children: [
|
|
6879
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.title, { color: textColor }], numberOfLines: 2, children: title }),
|
|
6880
|
+
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.description, { color: subColor }], children: description }),
|
|
6881
|
+
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.actionsRow, children: [
|
|
6882
|
+
action != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: action.onPress, style: styles45.actionBtn, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.actionText, { color: accentColor }], children: action.label }) }),
|
|
6883
|
+
secondaryAction != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: secondaryAction.onPress, style: styles45.actionBtn, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.secondaryActionText, { color: subColor }], children: secondaryAction.label }) })
|
|
6950
6884
|
] })
|
|
6951
6885
|
] }),
|
|
6952
6886
|
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6953
6887
|
reactNative.Pressable,
|
|
6954
6888
|
{
|
|
6955
6889
|
onPress: handleDismiss,
|
|
6956
|
-
style:
|
|
6890
|
+
style: styles45.closeBtn,
|
|
6957
6891
|
accessibilityLabel: "Dismiss banner",
|
|
6958
6892
|
accessibilityRole: "button",
|
|
6959
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6893
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles45.closeText, { color: subColor }], children: "\u2715" })
|
|
6960
6894
|
}
|
|
6961
6895
|
)
|
|
6962
6896
|
] });
|
|
6963
6897
|
if (glass) {
|
|
6964
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
6898
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles45.wrapper, entranceStyle, exitStyle, style], children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 4, children: inner }) });
|
|
6965
6899
|
}
|
|
6966
6900
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6967
6901
|
Animated10__default.default.View,
|
|
6968
6902
|
{
|
|
6969
6903
|
style: [
|
|
6970
|
-
|
|
6971
|
-
|
|
6904
|
+
styles45.wrapper,
|
|
6905
|
+
styles45.solidBg,
|
|
6972
6906
|
{ backgroundColor: isDark ? "#1e293b" : "#f8fafc" },
|
|
6973
6907
|
entranceStyle,
|
|
6974
6908
|
exitStyle,
|
|
@@ -6980,7 +6914,7 @@ var Banner = React38__default.default.memo(
|
|
|
6980
6914
|
}
|
|
6981
6915
|
);
|
|
6982
6916
|
Banner.displayName = "Banner";
|
|
6983
|
-
var
|
|
6917
|
+
var styles45 = reactNative.StyleSheet.create({
|
|
6984
6918
|
wrapper: {
|
|
6985
6919
|
width: "100%",
|
|
6986
6920
|
borderRadius: 4,
|
|
@@ -7061,19 +6995,6 @@ var styles46 = reactNative.StyleSheet.create({
|
|
|
7061
6995
|
lineHeight: 18
|
|
7062
6996
|
}
|
|
7063
6997
|
});
|
|
7064
|
-
var LinearGradientImpl = null;
|
|
7065
|
-
var gradientLoaded = false;
|
|
7066
|
-
function loadLinearGradient() {
|
|
7067
|
-
if (gradientLoaded) return LinearGradientImpl;
|
|
7068
|
-
try {
|
|
7069
|
-
const gradientModule = chunkDGUM43GV_js.__require("react-native-linear-gradient");
|
|
7070
|
-
LinearGradientImpl = gradientModule?.default ?? gradientModule;
|
|
7071
|
-
} catch {
|
|
7072
|
-
LinearGradientImpl = null;
|
|
7073
|
-
}
|
|
7074
|
-
gradientLoaded = true;
|
|
7075
|
-
return LinearGradientImpl;
|
|
7076
|
-
}
|
|
7077
6998
|
var Skeleton = React38__default.default.memo(
|
|
7078
6999
|
({
|
|
7079
7000
|
variant = "rect",
|
|
@@ -7094,7 +7015,6 @@ var Skeleton = React38__default.default.memo(
|
|
|
7094
7015
|
}, [isReduced]);
|
|
7095
7016
|
const baseBg = isDark ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.06)";
|
|
7096
7017
|
const shimmerLight = isDark ? "rgba(255,255,255,0.12)" : "rgba(255,255,255,0.65)";
|
|
7097
|
-
const shimmerColors = [baseBg, shimmerLight, baseBg];
|
|
7098
7018
|
const resolvedRadius = (() => {
|
|
7099
7019
|
if (borderRadius !== void 0) return borderRadius;
|
|
7100
7020
|
if (variant === "circle") return 9999;
|
|
@@ -7131,26 +7051,15 @@ var Skeleton = React38__default.default.memo(
|
|
|
7131
7051
|
},
|
|
7132
7052
|
key === void 0 ? style : void 0
|
|
7133
7053
|
],
|
|
7134
|
-
children: !isReduced && /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [reactNative.StyleSheet.absoluteFill, animatedStyle], children:
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
}
|
|
7144
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
7145
|
-
reactNative.View,
|
|
7146
|
-
{
|
|
7147
|
-
style: [
|
|
7148
|
-
reactNative.StyleSheet.absoluteFill,
|
|
7149
|
-
{ backgroundColor: shimmerLight, width: 300 }
|
|
7150
|
-
]
|
|
7151
|
-
}
|
|
7152
|
-
);
|
|
7153
|
-
})() })
|
|
7054
|
+
children: !isReduced && /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [reactNative.StyleSheet.absoluteFill, animatedStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7055
|
+
reactNative.View,
|
|
7056
|
+
{
|
|
7057
|
+
style: [
|
|
7058
|
+
reactNative.StyleSheet.absoluteFill,
|
|
7059
|
+
{ backgroundColor: shimmerLight, width: 300 }
|
|
7060
|
+
]
|
|
7061
|
+
}
|
|
7062
|
+
) })
|
|
7154
7063
|
},
|
|
7155
7064
|
key
|
|
7156
7065
|
);
|
|
@@ -7236,7 +7145,7 @@ var ProgressBar = React38__default.default.memo(
|
|
|
7236
7145
|
reactNative.Animated.View,
|
|
7237
7146
|
{
|
|
7238
7147
|
style: [
|
|
7239
|
-
|
|
7148
|
+
styles46.fill,
|
|
7240
7149
|
{
|
|
7241
7150
|
backgroundColor: fillColor,
|
|
7242
7151
|
borderRadius: br,
|
|
@@ -7257,7 +7166,7 @@ var ProgressBar = React38__default.default.memo(
|
|
|
7257
7166
|
reactNative.Animated.View,
|
|
7258
7167
|
{
|
|
7259
7168
|
style: [
|
|
7260
|
-
|
|
7169
|
+
styles46.fill,
|
|
7261
7170
|
{
|
|
7262
7171
|
backgroundColor: variant === "gradient" ? void 0 : fillColor,
|
|
7263
7172
|
borderRadius: br,
|
|
@@ -7277,7 +7186,7 @@ var ProgressBar = React38__default.default.memo(
|
|
|
7277
7186
|
{
|
|
7278
7187
|
style: [
|
|
7279
7188
|
reactNative.StyleSheet.absoluteFill,
|
|
7280
|
-
|
|
7189
|
+
styles46.stripes,
|
|
7281
7190
|
{ opacity: stripeAnim }
|
|
7282
7191
|
]
|
|
7283
7192
|
}
|
|
@@ -7285,14 +7194,14 @@ var ProgressBar = React38__default.default.memo(
|
|
|
7285
7194
|
}
|
|
7286
7195
|
) : null;
|
|
7287
7196
|
const trackContent = /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: indeterminate ? indeterminateFill : determinateFill });
|
|
7288
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
7197
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles46.wrapper, style], children: [
|
|
7289
7198
|
glass ? /* @__PURE__ */ jsxRuntime.jsxs(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: br, style: trackStyle, children: [
|
|
7290
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
7199
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles46.glassFill, { width: `${pct}%`, backgroundColor: `${fillColor}cc`, borderRadius: br }] }),
|
|
7291
7200
|
indeterminate && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7292
7201
|
reactNative.Animated.View,
|
|
7293
7202
|
{
|
|
7294
7203
|
style: [
|
|
7295
|
-
|
|
7204
|
+
styles46.fill,
|
|
7296
7205
|
{
|
|
7297
7206
|
backgroundColor: fillColor,
|
|
7298
7207
|
borderRadius: br,
|
|
@@ -7313,12 +7222,12 @@ var ProgressBar = React38__default.default.memo(
|
|
|
7313
7222
|
}
|
|
7314
7223
|
)
|
|
7315
7224
|
] }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [trackStyle, { backgroundColor: trackBg }], children: trackContent }),
|
|
7316
|
-
showLabel && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7225
|
+
showLabel && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.label, { color: isDark ? "#94a3b8" : "#64748b" }], children: displayLabel })
|
|
7317
7226
|
] });
|
|
7318
7227
|
}
|
|
7319
7228
|
);
|
|
7320
7229
|
ProgressBar.displayName = "ProgressBar";
|
|
7321
|
-
var
|
|
7230
|
+
var styles46 = reactNative.StyleSheet.create({
|
|
7322
7231
|
wrapper: {
|
|
7323
7232
|
width: "100%"
|
|
7324
7233
|
},
|
|
@@ -7393,7 +7302,7 @@ var Spinner = React38__default.default.memo(
|
|
|
7393
7302
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7394
7303
|
reactNative.View,
|
|
7395
7304
|
{
|
|
7396
|
-
style: [
|
|
7305
|
+
style: [styles47.container, { width: dim, height: dim }, style],
|
|
7397
7306
|
accessible: true,
|
|
7398
7307
|
accessibilityLabel: label ?? "Loading",
|
|
7399
7308
|
accessibilityRole: "progressbar",
|
|
@@ -7402,7 +7311,7 @@ var Spinner = React38__default.default.memo(
|
|
|
7402
7311
|
reactNative.View,
|
|
7403
7312
|
{
|
|
7404
7313
|
style: [
|
|
7405
|
-
|
|
7314
|
+
styles47.ring,
|
|
7406
7315
|
{
|
|
7407
7316
|
width: dim,
|
|
7408
7317
|
height: dim,
|
|
@@ -7417,8 +7326,8 @@ var Spinner = React38__default.default.memo(
|
|
|
7417
7326
|
reactNative.Animated.View,
|
|
7418
7327
|
{
|
|
7419
7328
|
style: [
|
|
7420
|
-
|
|
7421
|
-
|
|
7329
|
+
styles47.ring,
|
|
7330
|
+
styles47.arc,
|
|
7422
7331
|
{
|
|
7423
7332
|
width: dim,
|
|
7424
7333
|
height: dim,
|
|
@@ -7439,7 +7348,7 @@ var Spinner = React38__default.default.memo(
|
|
|
7439
7348
|
}
|
|
7440
7349
|
);
|
|
7441
7350
|
Spinner.displayName = "Spinner";
|
|
7442
|
-
var
|
|
7351
|
+
var styles47 = reactNative.StyleSheet.create({
|
|
7443
7352
|
container: {
|
|
7444
7353
|
alignItems: "center",
|
|
7445
7354
|
justifyContent: "center"
|
|
@@ -7468,26 +7377,26 @@ var EmptyState = React38__default.default.memo(
|
|
|
7468
7377
|
const iconBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.06)";
|
|
7469
7378
|
const titleColor = isDark ? "#f1f5f9" : "#0f172a";
|
|
7470
7379
|
const descColor = isDark ? "#94a3b8" : "#64748b";
|
|
7471
|
-
const defaultIcon = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
7472
|
-
const content = /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
7473
|
-
illustration != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7474
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7475
|
-
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7476
|
-
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
7380
|
+
const defaultIcon = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles48.defaultIconWrap, { backgroundColor: iconBg }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles48.defaultIconText, children: "\u{1F4ED}" }) });
|
|
7381
|
+
const content = /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles48.inner, animStyle], children: [
|
|
7382
|
+
illustration != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles48.illustrationSlot, children: illustration }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles48.iconSlot, children: icon ?? defaultIcon }),
|
|
7383
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.title, { color: titleColor }], children: title }),
|
|
7384
|
+
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.description, { color: descColor }], children: description }),
|
|
7385
|
+
(action != null || secondaryAction != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles48.actionsRow, children: [
|
|
7477
7386
|
action != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7478
7387
|
reactNative.Pressable,
|
|
7479
7388
|
{
|
|
7480
7389
|
onPress: action.onPress,
|
|
7481
7390
|
style: [
|
|
7482
|
-
|
|
7483
|
-
action.variant === "outline" ? [
|
|
7391
|
+
styles48.actionBtn,
|
|
7392
|
+
action.variant === "outline" ? [styles48.outlineBtn, { borderColor: theme.colors.primary }] : [styles48.solidBtn, { backgroundColor: theme.colors.primary }]
|
|
7484
7393
|
],
|
|
7485
7394
|
accessibilityRole: "button",
|
|
7486
7395
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7487
7396
|
reactNative.Text,
|
|
7488
7397
|
{
|
|
7489
7398
|
style: [
|
|
7490
|
-
|
|
7399
|
+
styles48.actionText,
|
|
7491
7400
|
{ color: action.variant === "outline" ? theme.colors.primary : "#fff" }
|
|
7492
7401
|
],
|
|
7493
7402
|
children: action.label
|
|
@@ -7499,21 +7408,21 @@ var EmptyState = React38__default.default.memo(
|
|
|
7499
7408
|
reactNative.Pressable,
|
|
7500
7409
|
{
|
|
7501
7410
|
onPress: secondaryAction.onPress,
|
|
7502
|
-
style:
|
|
7411
|
+
style: styles48.ghostBtn,
|
|
7503
7412
|
accessibilityRole: "button",
|
|
7504
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7413
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.ghostText, { color: descColor }], children: secondaryAction.label })
|
|
7505
7414
|
}
|
|
7506
7415
|
)
|
|
7507
7416
|
] })
|
|
7508
7417
|
] });
|
|
7509
7418
|
if (glass) {
|
|
7510
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: [
|
|
7419
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 20, style: [styles48.glassWrapper, style], children: content });
|
|
7511
7420
|
}
|
|
7512
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
7421
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles48.wrapper, style], children: content });
|
|
7513
7422
|
}
|
|
7514
7423
|
);
|
|
7515
7424
|
EmptyState.displayName = "EmptyState";
|
|
7516
|
-
var
|
|
7425
|
+
var styles48 = reactNative.StyleSheet.create({
|
|
7517
7426
|
wrapper: {
|
|
7518
7427
|
alignItems: "center",
|
|
7519
7428
|
justifyContent: "center",
|
|
@@ -7668,18 +7577,18 @@ var Dialog = React38__default.default.memo(
|
|
|
7668
7577
|
reactNative.Pressable,
|
|
7669
7578
|
{
|
|
7670
7579
|
onPress: action.onPress,
|
|
7671
|
-
style: [
|
|
7580
|
+
style: [styles49.actionBtn, btnStyle, !isLast && styles49.actionBtnMargin],
|
|
7672
7581
|
accessibilityRole: "button",
|
|
7673
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7582
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles49.actionText, { color: textColor }], children: action.label })
|
|
7674
7583
|
},
|
|
7675
7584
|
`action-${i}`
|
|
7676
7585
|
);
|
|
7677
7586
|
});
|
|
7678
7587
|
const cardContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7679
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7680
|
-
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7681
|
-
children != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7682
|
-
actions != null && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7588
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles49.title, { color: isDark ? "#f1f5f9" : "#0f172a" }], children: title }),
|
|
7589
|
+
description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles49.description, { color: isDark ? "#94a3b8" : "#64748b" }], children: description }),
|
|
7590
|
+
children != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles49.childrenWrap, children }),
|
|
7591
|
+
actions != null && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles49.actionsRow, children: actionButtons })
|
|
7683
7592
|
] });
|
|
7684
7593
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7685
7594
|
reactNative.Modal,
|
|
@@ -7689,20 +7598,20 @@ var Dialog = React38__default.default.memo(
|
|
|
7689
7598
|
animationType: "none",
|
|
7690
7599
|
statusBarTranslucent: true,
|
|
7691
7600
|
onRequestClose: isDismissible ? closeDialog : void 0,
|
|
7692
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
7693
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [reactNative.StyleSheet.absoluteFill,
|
|
7601
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles49.overlay, children: [
|
|
7602
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [reactNative.StyleSheet.absoluteFill, styles49.backdrop, backdropStyle] }),
|
|
7694
7603
|
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: reactNative.StyleSheet.absoluteFill, onPress: closeDialog }),
|
|
7695
7604
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7696
7605
|
Animated10__default.default.View,
|
|
7697
7606
|
{
|
|
7698
|
-
style: [
|
|
7607
|
+
style: [styles49.cardWrapper, { maxWidth }, cardStyle],
|
|
7699
7608
|
pointerEvents: "box-none",
|
|
7700
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 20, style: [
|
|
7609
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 20, style: [styles49.card, style], children: cardContent }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
7701
7610
|
reactNative.View,
|
|
7702
7611
|
{
|
|
7703
7612
|
style: [
|
|
7704
|
-
|
|
7705
|
-
|
|
7613
|
+
styles49.card,
|
|
7614
|
+
styles49.solidCard,
|
|
7706
7615
|
{ backgroundColor: cardBg },
|
|
7707
7616
|
style
|
|
7708
7617
|
],
|
|
@@ -7717,7 +7626,7 @@ var Dialog = React38__default.default.memo(
|
|
|
7717
7626
|
}
|
|
7718
7627
|
);
|
|
7719
7628
|
Dialog.displayName = "Dialog";
|
|
7720
|
-
var
|
|
7629
|
+
var styles49 = reactNative.StyleSheet.create({
|
|
7721
7630
|
overlay: {
|
|
7722
7631
|
flex: 1,
|
|
7723
7632
|
alignItems: "center",
|
|
@@ -7891,9 +7800,9 @@ var BottomSheet = React38__default.default.memo(
|
|
|
7891
7800
|
if (!visible && !isOpen) return null;
|
|
7892
7801
|
const sheetBg = isDark ? "#1e293b" : "#ffffff";
|
|
7893
7802
|
const sheetContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7894
|
-
showHandle && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7895
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
7896
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7803
|
+
showHandle && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles50.handleWrap, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles50.handle }) }),
|
|
7804
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles50.title, { color: isDark ? "#f1f5f9" : "#0f172a" }], children: title }),
|
|
7805
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles50.content, children })
|
|
7897
7806
|
] });
|
|
7898
7807
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7899
7808
|
reactNative.Modal,
|
|
@@ -7903,11 +7812,11 @@ var BottomSheet = React38__default.default.memo(
|
|
|
7903
7812
|
animationType: "none",
|
|
7904
7813
|
statusBarTranslucent: true,
|
|
7905
7814
|
onRequestClose: isDismissible ? closeSheet : void 0,
|
|
7906
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
7815
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles50.overlay, pointerEvents: "box-none", children: [
|
|
7907
7816
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7908
7817
|
reactNative.Animated.View,
|
|
7909
7818
|
{
|
|
7910
|
-
style: [reactNative.StyleSheet.absoluteFill,
|
|
7819
|
+
style: [reactNative.StyleSheet.absoluteFill, styles50.backdrop, { opacity: backdropOpacity }]
|
|
7911
7820
|
}
|
|
7912
7821
|
),
|
|
7913
7822
|
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: reactNative.StyleSheet.absoluteFill, onPress: closeSheet }),
|
|
@@ -7915,7 +7824,7 @@ var BottomSheet = React38__default.default.memo(
|
|
|
7915
7824
|
reactNative.Animated.View,
|
|
7916
7825
|
{
|
|
7917
7826
|
style: [
|
|
7918
|
-
|
|
7827
|
+
styles50.sheet,
|
|
7919
7828
|
{ height: snapHeight, transform: [{ translateY }] }
|
|
7920
7829
|
],
|
|
7921
7830
|
...panResponder.panHandlers,
|
|
@@ -7924,15 +7833,15 @@ var BottomSheet = React38__default.default.memo(
|
|
|
7924
7833
|
{
|
|
7925
7834
|
elevation: 4,
|
|
7926
7835
|
borderRadius: 24,
|
|
7927
|
-
style: [
|
|
7836
|
+
style: [styles50.sheetInner, style],
|
|
7928
7837
|
children: sheetContent
|
|
7929
7838
|
}
|
|
7930
7839
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
7931
7840
|
reactNative.View,
|
|
7932
7841
|
{
|
|
7933
7842
|
style: [
|
|
7934
|
-
|
|
7935
|
-
|
|
7843
|
+
styles50.sheetInner,
|
|
7844
|
+
styles50.solidSheet,
|
|
7936
7845
|
{ backgroundColor: sheetBg },
|
|
7937
7846
|
style
|
|
7938
7847
|
],
|
|
@@ -7963,7 +7872,7 @@ function findNearestSnap(snapPoints, draggedY, velocity) {
|
|
|
7963
7872
|
}
|
|
7964
7873
|
return best;
|
|
7965
7874
|
}
|
|
7966
|
-
var
|
|
7875
|
+
var styles50 = reactNative.StyleSheet.create({
|
|
7967
7876
|
overlay: {
|
|
7968
7877
|
flex: 1,
|
|
7969
7878
|
justifyContent: "flex-end"
|
|
@@ -8087,15 +7996,15 @@ var Tooltip = React38__default.default.memo(
|
|
|
8087
7996
|
const tipContent = /* @__PURE__ */ jsxRuntime.jsx(
|
|
8088
7997
|
reactNative.View,
|
|
8089
7998
|
{
|
|
8090
|
-
style:
|
|
7999
|
+
style: styles51.tipInner,
|
|
8091
8000
|
onLayout: (e) => setTipSize({ width: e.nativeEvent.layout.width, height: e.nativeEvent.layout.height }),
|
|
8092
|
-
children: typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
8001
|
+
children: typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles51.tipText, children: content }) : content
|
|
8093
8002
|
}
|
|
8094
8003
|
);
|
|
8095
8004
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8096
8005
|
reactNative.View,
|
|
8097
8006
|
{
|
|
8098
|
-
style: [
|
|
8007
|
+
style: [styles51.triggerWrap, style],
|
|
8099
8008
|
onLayout: (e) => setLayout(e.nativeEvent.layout),
|
|
8100
8009
|
children: [
|
|
8101
8010
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8113,11 +8022,11 @@ var Tooltip = React38__default.default.memo(
|
|
|
8113
8022
|
shown && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8114
8023
|
Animated10__default.default.View,
|
|
8115
8024
|
{
|
|
8116
|
-
style: [
|
|
8025
|
+
style: [styles51.tooltipAbs, computePosition2(), tooltipStyle],
|
|
8117
8026
|
pointerEvents: "none",
|
|
8118
8027
|
children: [
|
|
8119
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8120
|
-
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 8, children: tipContent }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8028
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles51.arrow, arrowStyle] }),
|
|
8029
|
+
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 8, children: tipContent }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles51.solidTip, { backgroundColor: tooltipBg }], children: tipContent })
|
|
8121
8030
|
]
|
|
8122
8031
|
}
|
|
8123
8032
|
)
|
|
@@ -8188,7 +8097,7 @@ function arrowStyles(placement, isDark, glass) {
|
|
|
8188
8097
|
return base;
|
|
8189
8098
|
}
|
|
8190
8099
|
}
|
|
8191
|
-
var
|
|
8100
|
+
var styles51 = reactNative.StyleSheet.create({
|
|
8192
8101
|
triggerWrap: {
|
|
8193
8102
|
position: "relative"
|
|
8194
8103
|
},
|
|
@@ -8275,30 +8184,30 @@ var Popover = React38__default.default.memo(
|
|
|
8275
8184
|
animationType: "none",
|
|
8276
8185
|
statusBarTranslucent: true,
|
|
8277
8186
|
onRequestClose: isDismissible ? close : void 0,
|
|
8278
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8187
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles52.overlay, pointerEvents: "box-none", children: [
|
|
8279
8188
|
isDismissible && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: reactNative.StyleSheet.absoluteFill, onPress: close }),
|
|
8280
8189
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8281
8190
|
Animated10__default.default.View,
|
|
8282
8191
|
{
|
|
8283
8192
|
style: [
|
|
8284
|
-
|
|
8193
|
+
styles52.popover,
|
|
8285
8194
|
popoverPosition,
|
|
8286
8195
|
animStyle,
|
|
8287
8196
|
style
|
|
8288
8197
|
],
|
|
8289
8198
|
pointerEvents: "box-none",
|
|
8290
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 14, style:
|
|
8199
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 14, style: styles52.popInner, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8291
8200
|
reactNative.ScrollView,
|
|
8292
8201
|
{
|
|
8293
|
-
style:
|
|
8202
|
+
style: styles52.scroll,
|
|
8294
8203
|
showsVerticalScrollIndicator: false,
|
|
8295
8204
|
keyboardShouldPersistTaps: "handled",
|
|
8296
8205
|
children: content
|
|
8297
8206
|
}
|
|
8298
|
-
) }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8207
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles52.popInner, styles52.solidPop, { backgroundColor: popBg }], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8299
8208
|
reactNative.ScrollView,
|
|
8300
8209
|
{
|
|
8301
|
-
style:
|
|
8210
|
+
style: styles52.scroll,
|
|
8302
8211
|
showsVerticalScrollIndicator: false,
|
|
8303
8212
|
keyboardShouldPersistTaps: "handled",
|
|
8304
8213
|
children: content
|
|
@@ -8341,7 +8250,7 @@ function computePosition(layout, placement) {
|
|
|
8341
8250
|
return { top: pageY + height + POPOVER_GAP, left: pageX };
|
|
8342
8251
|
}
|
|
8343
8252
|
}
|
|
8344
|
-
var
|
|
8253
|
+
var styles52 = reactNative.StyleSheet.create({
|
|
8345
8254
|
overlay: {
|
|
8346
8255
|
flex: 1
|
|
8347
8256
|
},
|
|
@@ -8419,8 +8328,8 @@ var SnackbarBar = React38__default.default.memo(({ opts, onHide }) => {
|
|
|
8419
8328
|
};
|
|
8420
8329
|
});
|
|
8421
8330
|
const bg = isDark ? "#1e293b" : "#1a1a2e";
|
|
8422
|
-
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8423
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
8331
|
+
const inner = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles53.snackInner, children: [
|
|
8332
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles53.message, numberOfLines: 2, children: opts.message }),
|
|
8424
8333
|
opts.action != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8425
8334
|
reactNative.Pressable,
|
|
8426
8335
|
{
|
|
@@ -8428,13 +8337,13 @@ var SnackbarBar = React38__default.default.memo(({ opts, onHide }) => {
|
|
|
8428
8337
|
opts.action.onPress();
|
|
8429
8338
|
doHide();
|
|
8430
8339
|
},
|
|
8431
|
-
style:
|
|
8340
|
+
style: styles53.actionBtn,
|
|
8432
8341
|
accessibilityRole: "button",
|
|
8433
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
8342
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles53.actionText, children: opts.action.label })
|
|
8434
8343
|
}
|
|
8435
8344
|
)
|
|
8436
8345
|
] });
|
|
8437
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
8346
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles53.snack, animStyle], children: opts.glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 12, children: inner }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles53.solidSnack, { backgroundColor: bg }], children: inner }) });
|
|
8438
8347
|
});
|
|
8439
8348
|
SnackbarBar.displayName = "SnackbarBar";
|
|
8440
8349
|
function SnackbarProvider({ children }) {
|
|
@@ -8461,7 +8370,7 @@ function SnackbarProvider({ children }) {
|
|
|
8461
8370
|
reactNative.View,
|
|
8462
8371
|
{
|
|
8463
8372
|
style: [
|
|
8464
|
-
|
|
8373
|
+
styles53.container,
|
|
8465
8374
|
position === "top" ? { top: topOff } : { bottom: botOff }
|
|
8466
8375
|
],
|
|
8467
8376
|
pointerEvents: "box-none",
|
|
@@ -8478,7 +8387,7 @@ function SnackbarProvider({ children }) {
|
|
|
8478
8387
|
] });
|
|
8479
8388
|
}
|
|
8480
8389
|
SnackbarProvider.displayName = "SnackbarProvider";
|
|
8481
|
-
var
|
|
8390
|
+
var styles53 = reactNative.StyleSheet.create({
|
|
8482
8391
|
container: {
|
|
8483
8392
|
position: "absolute",
|
|
8484
8393
|
left: 16,
|
|
@@ -8605,23 +8514,23 @@ var Tab = React38__default.default.memo(({ value, label, icon, isDisabled = fals
|
|
|
8605
8514
|
disabled: isDisabled,
|
|
8606
8515
|
accessibilityRole: "tab",
|
|
8607
8516
|
accessibilityState: { selected: isActive, disabled: isDisabled },
|
|
8608
|
-
style: [
|
|
8609
|
-
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 10, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8610
|
-
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
8517
|
+
style: [styles54.tab, styles54.tabGlass],
|
|
8518
|
+
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 10, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles54.tabInner, children: [
|
|
8519
|
+
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles54.tabIcon, children: icon }),
|
|
8611
8520
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8612
8521
|
reactNative.Text,
|
|
8613
8522
|
{
|
|
8614
|
-
style: [
|
|
8523
|
+
style: [styles54.tabLabel, { color: theme.colors.primary, fontWeight: "600" }],
|
|
8615
8524
|
allowFontScaling: false,
|
|
8616
8525
|
children: label
|
|
8617
8526
|
}
|
|
8618
8527
|
)
|
|
8619
|
-
] }) }) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8620
|
-
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
8528
|
+
] }) }) : /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles54.tabInner, children: [
|
|
8529
|
+
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles54.tabIcon, children: icon }),
|
|
8621
8530
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8622
8531
|
reactNative.Text,
|
|
8623
8532
|
{
|
|
8624
|
-
style: [
|
|
8533
|
+
style: [styles54.tabLabel, { color: labelColor }],
|
|
8625
8534
|
allowFontScaling: false,
|
|
8626
8535
|
children: label
|
|
8627
8536
|
}
|
|
@@ -8637,26 +8546,26 @@ var Tab = React38__default.default.memo(({ value, label, icon, isDisabled = fals
|
|
|
8637
8546
|
disabled: isDisabled,
|
|
8638
8547
|
accessibilityRole: "tab",
|
|
8639
8548
|
accessibilityState: { selected: isActive, disabled: isDisabled },
|
|
8640
|
-
style:
|
|
8549
|
+
style: styles54.tab,
|
|
8641
8550
|
children: [
|
|
8642
8551
|
(variant === "pills" || variant === "enclosed") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8643
8552
|
Animated10__default.default.View,
|
|
8644
8553
|
{
|
|
8645
8554
|
style: [
|
|
8646
8555
|
reactNative.StyleSheet.absoluteFill,
|
|
8647
|
-
|
|
8556
|
+
styles54.pillBg,
|
|
8648
8557
|
{ backgroundColor: variant === "enclosed" ? theme.colors.surface : theme.colors.primaryMuted },
|
|
8649
8558
|
pillBgStyle
|
|
8650
8559
|
]
|
|
8651
8560
|
}
|
|
8652
8561
|
),
|
|
8653
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8654
|
-
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
8562
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles54.tabInner, children: [
|
|
8563
|
+
icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles54.tabIcon, children: icon }),
|
|
8655
8564
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8656
8565
|
reactNative.Text,
|
|
8657
8566
|
{
|
|
8658
8567
|
style: [
|
|
8659
|
-
|
|
8568
|
+
styles54.tabLabel,
|
|
8660
8569
|
{ color: labelColor, fontWeight: isActive ? "600" : "400" }
|
|
8661
8570
|
],
|
|
8662
8571
|
allowFontScaling: false,
|
|
@@ -8668,7 +8577,7 @@ var Tab = React38__default.default.memo(({ value, label, icon, isDisabled = fals
|
|
|
8668
8577
|
Animated10__default.default.View,
|
|
8669
8578
|
{
|
|
8670
8579
|
style: [
|
|
8671
|
-
|
|
8580
|
+
styles54.lineIndicator,
|
|
8672
8581
|
{ backgroundColor: theme.colors.primary },
|
|
8673
8582
|
indicatorStyle
|
|
8674
8583
|
]
|
|
@@ -8682,7 +8591,7 @@ Tab.displayName = "Tabs.Tab";
|
|
|
8682
8591
|
var TabPanel = React38__default.default.memo(({ value, children, style }) => {
|
|
8683
8592
|
const { activeTab } = useTabsContext();
|
|
8684
8593
|
if (activeTab !== value) return null;
|
|
8685
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8594
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles54.panel, style], children });
|
|
8686
8595
|
});
|
|
8687
8596
|
TabPanel.displayName = "Tabs.Panel";
|
|
8688
8597
|
var TabsRoot = React38__default.default.memo(
|
|
@@ -8709,7 +8618,7 @@ var TabsRoot = React38__default.default.memo(
|
|
|
8709
8618
|
() => ({ activeTab, setActiveTab, variant, orientation }),
|
|
8710
8619
|
[activeTab, setActiveTab, variant, orientation]
|
|
8711
8620
|
);
|
|
8712
|
-
return /* @__PURE__ */ jsxRuntime.jsx(TabsContext.Provider, { value: ctx, children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 16, style, children }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8621
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TabsContext.Provider, { value: ctx, children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 16, style, children }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles54.root, style], children }) });
|
|
8713
8622
|
}
|
|
8714
8623
|
);
|
|
8715
8624
|
TabsRoot.displayName = "Tabs";
|
|
@@ -8718,7 +8627,7 @@ var Tabs = Object.assign(TabsRoot, {
|
|
|
8718
8627
|
Panel: TabPanel,
|
|
8719
8628
|
List: TabList
|
|
8720
8629
|
});
|
|
8721
|
-
var
|
|
8630
|
+
var styles54 = reactNative.StyleSheet.create({
|
|
8722
8631
|
root: {
|
|
8723
8632
|
flexShrink: 1
|
|
8724
8633
|
},
|
|
@@ -8815,14 +8724,14 @@ var SegmentedTabs = React38__default.default.memo(
|
|
|
8815
8724
|
const inner = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8816
8725
|
reactNative.View,
|
|
8817
8726
|
{
|
|
8818
|
-
style: [
|
|
8727
|
+
style: [styles55.track, { height: sz.height, borderRadius: sz.borderRadius }],
|
|
8819
8728
|
onLayout: handleLayout,
|
|
8820
8729
|
children: [
|
|
8821
8730
|
indicatorWidth > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8822
8731
|
Animated10__default.default.View,
|
|
8823
8732
|
{
|
|
8824
8733
|
style: [
|
|
8825
|
-
|
|
8734
|
+
styles55.indicator,
|
|
8826
8735
|
{
|
|
8827
8736
|
width: indicatorWidth,
|
|
8828
8737
|
height: sz.height - sz.indicatorInset * 2,
|
|
@@ -8842,14 +8751,14 @@ var SegmentedTabs = React38__default.default.memo(
|
|
|
8842
8751
|
onPress: () => handleSelect(option.value),
|
|
8843
8752
|
accessibilityRole: "tab",
|
|
8844
8753
|
accessibilityState: { selected: isActive },
|
|
8845
|
-
style:
|
|
8754
|
+
style: styles55.segment,
|
|
8846
8755
|
children: [
|
|
8847
|
-
option.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
8756
|
+
option.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles55.segmentIcon, children: option.icon }),
|
|
8848
8757
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8849
8758
|
reactNative.Text,
|
|
8850
8759
|
{
|
|
8851
8760
|
style: [
|
|
8852
|
-
|
|
8761
|
+
styles55.segmentLabel,
|
|
8853
8762
|
{
|
|
8854
8763
|
fontSize: sz.fontSize,
|
|
8855
8764
|
color: isActive ? isDark ? "#ffffff" : theme.colors.text : theme.colors.textSecondary,
|
|
@@ -8884,7 +8793,7 @@ var SegmentedTabs = React38__default.default.memo(
|
|
|
8884
8793
|
reactNative.View,
|
|
8885
8794
|
{
|
|
8886
8795
|
style: [
|
|
8887
|
-
|
|
8796
|
+
styles55.outer,
|
|
8888
8797
|
{ backgroundColor: containerBg, borderRadius: sz.borderRadius },
|
|
8889
8798
|
style
|
|
8890
8799
|
],
|
|
@@ -8894,7 +8803,7 @@ var SegmentedTabs = React38__default.default.memo(
|
|
|
8894
8803
|
}
|
|
8895
8804
|
);
|
|
8896
8805
|
SegmentedTabs.displayName = "SegmentedTabs";
|
|
8897
|
-
var
|
|
8806
|
+
var styles55 = reactNative.StyleSheet.create({
|
|
8898
8807
|
outer: {
|
|
8899
8808
|
overflow: "hidden"
|
|
8900
8809
|
},
|
|
@@ -8952,11 +8861,11 @@ var TopNavigation = React38__default.default.memo(
|
|
|
8952
8861
|
};
|
|
8953
8862
|
});
|
|
8954
8863
|
const backdropColor = isDark ? "rgba(15,15,25,0.75)" : "rgba(255,255,255,0.80)";
|
|
8955
|
-
const titleContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
8864
|
+
const titleContent = /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles56.titleBlock, pointerEvents: "none", children: [
|
|
8956
8865
|
title != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8957
8866
|
reactNative.Text,
|
|
8958
8867
|
{
|
|
8959
|
-
style: [
|
|
8868
|
+
style: [styles56.title, { color: theme.colors.text }],
|
|
8960
8869
|
numberOfLines: 1,
|
|
8961
8870
|
allowFontScaling: false,
|
|
8962
8871
|
children: title
|
|
@@ -8965,7 +8874,7 @@ var TopNavigation = React38__default.default.memo(
|
|
|
8965
8874
|
subtitle != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8966
8875
|
reactNative.Text,
|
|
8967
8876
|
{
|
|
8968
|
-
style: [
|
|
8877
|
+
style: [styles56.subtitle, { color: theme.colors.textSecondary }],
|
|
8969
8878
|
numberOfLines: 1,
|
|
8970
8879
|
allowFontScaling: false,
|
|
8971
8880
|
children: subtitle
|
|
@@ -8976,13 +8885,13 @@ var TopNavigation = React38__default.default.memo(
|
|
|
8976
8885
|
reactNative.View,
|
|
8977
8886
|
{
|
|
8978
8887
|
style: [
|
|
8979
|
-
|
|
8888
|
+
styles56.row,
|
|
8980
8889
|
{ height: NAV_HEIGHT }
|
|
8981
8890
|
],
|
|
8982
8891
|
children: [
|
|
8983
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
8892
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles56.sideSlot, children: leading != null ? leading : null }),
|
|
8984
8893
|
titleContent,
|
|
8985
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
8894
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles56.sideSlot, styles56.trailingSlot], children: trailing != null ? trailing : null })
|
|
8986
8895
|
]
|
|
8987
8896
|
}
|
|
8988
8897
|
);
|
|
@@ -9015,7 +8924,7 @@ var TopNavigation = React38__default.default.memo(
|
|
|
9015
8924
|
reactNative.View,
|
|
9016
8925
|
{
|
|
9017
8926
|
style: [
|
|
9018
|
-
|
|
8927
|
+
styles56.solidContainer,
|
|
9019
8928
|
{
|
|
9020
8929
|
paddingTop: safeTop,
|
|
9021
8930
|
minHeight: totalHeight,
|
|
@@ -9043,7 +8952,7 @@ var TopNavigation = React38__default.default.memo(
|
|
|
9043
8952
|
}
|
|
9044
8953
|
);
|
|
9045
8954
|
TopNavigation.displayName = "TopNavigation";
|
|
9046
|
-
var
|
|
8955
|
+
var styles56 = reactNative.StyleSheet.create({
|
|
9047
8956
|
solidContainer: {
|
|
9048
8957
|
width: "100%",
|
|
9049
8958
|
borderBottomWidth: reactNative.StyleSheet.hairlineWidth
|
|
@@ -9118,17 +9027,17 @@ var NavItem = React38__default.default.memo(({ item, isActive, showLabel, onPres
|
|
|
9118
9027
|
accessibilityRole: "tab",
|
|
9119
9028
|
accessibilityState: { selected: isActive },
|
|
9120
9029
|
accessibilityLabel: item.label,
|
|
9121
|
-
style:
|
|
9122
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
9123
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9030
|
+
style: styles57.navItem,
|
|
9031
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles57.navItemInner, animatedStyle], children: [
|
|
9032
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles57.iconWrapper, children: [
|
|
9124
9033
|
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: iconWrapStyle, children: isActive && item.activeIcon != null ? item.activeIcon : item.icon }),
|
|
9125
|
-
hasBadge && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
9034
|
+
hasBadge && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles57.badge, { backgroundColor: theme.colors.error }], children: badgeCount != null && badgeCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles57.badgeText, allowFontScaling: false, children: badgeCount > 99 ? "99+" : String(badgeCount) }) })
|
|
9126
9035
|
] }),
|
|
9127
9036
|
showLabel && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9128
9037
|
reactNative.Text,
|
|
9129
9038
|
{
|
|
9130
9039
|
style: [
|
|
9131
|
-
|
|
9040
|
+
styles57.navLabel,
|
|
9132
9041
|
{
|
|
9133
9042
|
color,
|
|
9134
9043
|
fontWeight: isActive ? "600" : "400"
|
|
@@ -9143,7 +9052,7 @@ var NavItem = React38__default.default.memo(({ item, isActive, showLabel, onPres
|
|
|
9143
9052
|
Animated10__default.default.View,
|
|
9144
9053
|
{
|
|
9145
9054
|
style: [
|
|
9146
|
-
|
|
9055
|
+
styles57.activeDot,
|
|
9147
9056
|
{ backgroundColor: activeColor },
|
|
9148
9057
|
dotStyle
|
|
9149
9058
|
]
|
|
@@ -9177,7 +9086,7 @@ var BottomNavigation = React38__default.default.memo(
|
|
|
9177
9086
|
[value, onChange]
|
|
9178
9087
|
);
|
|
9179
9088
|
const safeBottom = reactNative.Platform.OS === "ios" ? IOS_SAFE_BOTTOM : ANDROID_SAFE_BOTTOM;
|
|
9180
|
-
const bar = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
9089
|
+
const bar = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles57.bar, { paddingBottom: safeBottom }], children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9181
9090
|
NavItem,
|
|
9182
9091
|
{
|
|
9183
9092
|
item,
|
|
@@ -9194,7 +9103,7 @@ var BottomNavigation = React38__default.default.memo(
|
|
|
9194
9103
|
reactNative.View,
|
|
9195
9104
|
{
|
|
9196
9105
|
style: [
|
|
9197
|
-
|
|
9106
|
+
styles57.solidContainer,
|
|
9198
9107
|
{
|
|
9199
9108
|
backgroundColor: theme.colors.surface,
|
|
9200
9109
|
borderTopColor: theme.colors.border
|
|
@@ -9207,7 +9116,7 @@ var BottomNavigation = React38__default.default.memo(
|
|
|
9207
9116
|
}
|
|
9208
9117
|
);
|
|
9209
9118
|
BottomNavigation.displayName = "BottomNavigation";
|
|
9210
|
-
var
|
|
9119
|
+
var styles57 = reactNative.StyleSheet.create({
|
|
9211
9120
|
solidContainer: {
|
|
9212
9121
|
borderTopWidth: reactNative.StyleSheet.hairlineWidth,
|
|
9213
9122
|
shadowColor: "#000",
|
|
@@ -9338,7 +9247,7 @@ var Drawer = React38__default.default.memo(
|
|
|
9338
9247
|
Animated10__default.default.View,
|
|
9339
9248
|
{
|
|
9340
9249
|
style: [
|
|
9341
|
-
|
|
9250
|
+
styles58.panel,
|
|
9342
9251
|
{
|
|
9343
9252
|
width,
|
|
9344
9253
|
[placement]: 0
|
|
@@ -9346,12 +9255,12 @@ var Drawer = React38__default.default.memo(
|
|
|
9346
9255
|
panelAnimStyle
|
|
9347
9256
|
],
|
|
9348
9257
|
...panResponder.panHandlers,
|
|
9349
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 0, style: [
|
|
9258
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 0, style: [styles58.panelInner, style], children }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
9350
9259
|
reactNative.View,
|
|
9351
9260
|
{
|
|
9352
9261
|
style: [
|
|
9353
|
-
|
|
9354
|
-
|
|
9262
|
+
styles58.panelInner,
|
|
9263
|
+
styles58.solidPanel,
|
|
9355
9264
|
{
|
|
9356
9265
|
backgroundColor: isDark ? "#1a1a2e" : "#ffffff",
|
|
9357
9266
|
shadowColor: placement === "left" ? "#000" : "#000"
|
|
@@ -9371,11 +9280,11 @@ var Drawer = React38__default.default.memo(
|
|
|
9371
9280
|
animationType: "none",
|
|
9372
9281
|
onRequestClose: onClose,
|
|
9373
9282
|
statusBarTranslucent: true,
|
|
9374
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9283
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles58.root, children: [
|
|
9375
9284
|
backdrop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9376
9285
|
Animated10__default.default.View,
|
|
9377
9286
|
{
|
|
9378
|
-
style: [
|
|
9287
|
+
style: [styles58.backdrop, backdropAnimStyle],
|
|
9379
9288
|
pointerEvents: "auto",
|
|
9380
9289
|
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: reactNative.StyleSheet.absoluteFill, onPress: onClose })
|
|
9381
9290
|
}
|
|
@@ -9387,7 +9296,7 @@ var Drawer = React38__default.default.memo(
|
|
|
9387
9296
|
}
|
|
9388
9297
|
);
|
|
9389
9298
|
Drawer.displayName = "Drawer";
|
|
9390
|
-
var
|
|
9299
|
+
var styles58 = reactNative.StyleSheet.create({
|
|
9391
9300
|
root: {
|
|
9392
9301
|
flex: 1
|
|
9393
9302
|
},
|
|
@@ -9435,13 +9344,13 @@ var Sidebar = React38__default.default.memo(
|
|
|
9435
9344
|
return { width: animatedWidth.value };
|
|
9436
9345
|
});
|
|
9437
9346
|
if (glass) {
|
|
9438
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
9347
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles59.root, animStyle], children: /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 0, style: [styles59.inner, style], children }) });
|
|
9439
9348
|
}
|
|
9440
9349
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9441
9350
|
Animated10__default.default.View,
|
|
9442
9351
|
{
|
|
9443
9352
|
style: [
|
|
9444
|
-
|
|
9353
|
+
styles59.root,
|
|
9445
9354
|
animStyle,
|
|
9446
9355
|
{
|
|
9447
9356
|
backgroundColor: theme.colors.surface,
|
|
@@ -9449,13 +9358,13 @@ var Sidebar = React38__default.default.memo(
|
|
|
9449
9358
|
},
|
|
9450
9359
|
style
|
|
9451
9360
|
],
|
|
9452
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9361
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles59.inner, children })
|
|
9453
9362
|
}
|
|
9454
9363
|
);
|
|
9455
9364
|
}
|
|
9456
9365
|
);
|
|
9457
9366
|
Sidebar.displayName = "Sidebar";
|
|
9458
|
-
var
|
|
9367
|
+
var styles59 = reactNative.StyleSheet.create({
|
|
9459
9368
|
root: {
|
|
9460
9369
|
borderRightWidth: reactNative.StyleSheet.hairlineWidth,
|
|
9461
9370
|
overflow: "hidden",
|
|
@@ -9483,21 +9392,21 @@ var Breadcrumb = React38__default.default.memo(
|
|
|
9483
9392
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9484
9393
|
reactNative.Text,
|
|
9485
9394
|
{
|
|
9486
|
-
style: [
|
|
9395
|
+
style: [styles60.separator, { color: theme.colors.textMuted }],
|
|
9487
9396
|
allowFontScaling: false,
|
|
9488
9397
|
children: separator
|
|
9489
9398
|
},
|
|
9490
9399
|
key
|
|
9491
9400
|
);
|
|
9492
9401
|
}
|
|
9493
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9402
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles60.separatorView, children: separator }, key);
|
|
9494
9403
|
};
|
|
9495
9404
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9496
9405
|
reactNative.ScrollView,
|
|
9497
9406
|
{
|
|
9498
9407
|
horizontal: true,
|
|
9499
9408
|
showsHorizontalScrollIndicator: false,
|
|
9500
|
-
contentContainerStyle: [
|
|
9409
|
+
contentContainerStyle: [styles60.container, style],
|
|
9501
9410
|
children: visibleItems.map((item, index) => {
|
|
9502
9411
|
const isLast = index === visibleItems.length - 1;
|
|
9503
9412
|
const sepKey = `sep-${index}`;
|
|
@@ -9506,7 +9415,7 @@ var Breadcrumb = React38__default.default.memo(
|
|
|
9506
9415
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9507
9416
|
reactNative.Text,
|
|
9508
9417
|
{
|
|
9509
|
-
style: [
|
|
9418
|
+
style: [styles60.ellipsis, { color: theme.colors.textMuted }],
|
|
9510
9419
|
allowFontScaling: false,
|
|
9511
9420
|
children: "..."
|
|
9512
9421
|
}
|
|
@@ -9517,14 +9426,14 @@ var Breadcrumb = React38__default.default.memo(
|
|
|
9517
9426
|
const crumb = /* @__PURE__ */ jsxRuntime.jsxs(React38__default.default.Fragment, { children: [
|
|
9518
9427
|
isLast ? (
|
|
9519
9428
|
// Last item — not pressable, bold
|
|
9520
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9521
|
-
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9429
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles60.crumb, children: [
|
|
9430
|
+
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles60.crumbIcon, children: item.icon }),
|
|
9522
9431
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9523
9432
|
reactNative.Text,
|
|
9524
9433
|
{
|
|
9525
9434
|
style: [
|
|
9526
|
-
|
|
9527
|
-
|
|
9435
|
+
styles60.crumbLabel,
|
|
9436
|
+
styles60.crumbLabelActive,
|
|
9528
9437
|
{ color: theme.colors.text }
|
|
9529
9438
|
],
|
|
9530
9439
|
numberOfLines: 1,
|
|
@@ -9541,16 +9450,16 @@ var Breadcrumb = React38__default.default.memo(
|
|
|
9541
9450
|
onPress: item.onPress,
|
|
9542
9451
|
accessibilityRole: "link",
|
|
9543
9452
|
style: ({ pressed }) => [
|
|
9544
|
-
|
|
9545
|
-
pressed &&
|
|
9453
|
+
styles60.crumb,
|
|
9454
|
+
pressed && styles60.crumbPressed
|
|
9546
9455
|
],
|
|
9547
9456
|
children: [
|
|
9548
|
-
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9457
|
+
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles60.crumbIcon, children: item.icon }),
|
|
9549
9458
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9550
9459
|
reactNative.Text,
|
|
9551
9460
|
{
|
|
9552
9461
|
style: [
|
|
9553
|
-
|
|
9462
|
+
styles60.crumbLabel,
|
|
9554
9463
|
{ color: theme.colors.textSecondary }
|
|
9555
9464
|
],
|
|
9556
9465
|
numberOfLines: 1,
|
|
@@ -9571,7 +9480,7 @@ var Breadcrumb = React38__default.default.memo(
|
|
|
9571
9480
|
}
|
|
9572
9481
|
);
|
|
9573
9482
|
Breadcrumb.displayName = "Breadcrumb";
|
|
9574
|
-
var
|
|
9483
|
+
var styles60 = reactNative.StyleSheet.create({
|
|
9575
9484
|
container: {
|
|
9576
9485
|
flexDirection: "row",
|
|
9577
9486
|
alignItems: "center",
|
|
@@ -9640,12 +9549,12 @@ var StepIndicator = React38__default.default.memo(({ status, stepNumber, variant
|
|
|
9640
9549
|
const isCurrent = status === "current";
|
|
9641
9550
|
if (variant === "dots") {
|
|
9642
9551
|
const dotColor = isDone || isCurrent ? primaryColor : grayColor;
|
|
9643
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9552
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.dotWrapper, children: [
|
|
9644
9553
|
isCurrent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9645
9554
|
Animated10__default.default.View,
|
|
9646
9555
|
{
|
|
9647
9556
|
style: [
|
|
9648
|
-
|
|
9557
|
+
styles61.dotRing,
|
|
9649
9558
|
{ borderColor: primaryColor },
|
|
9650
9559
|
pulseStyle
|
|
9651
9560
|
]
|
|
@@ -9655,7 +9564,7 @@ var StepIndicator = React38__default.default.memo(({ status, stepNumber, variant
|
|
|
9655
9564
|
reactNative.View,
|
|
9656
9565
|
{
|
|
9657
9566
|
style: [
|
|
9658
|
-
|
|
9567
|
+
styles61.dot,
|
|
9659
9568
|
{ backgroundColor: dotColor }
|
|
9660
9569
|
]
|
|
9661
9570
|
}
|
|
@@ -9664,12 +9573,12 @@ var StepIndicator = React38__default.default.memo(({ status, stepNumber, variant
|
|
|
9664
9573
|
}
|
|
9665
9574
|
const bgColor = isDone ? primaryColor : isCurrent ? "transparent" : "transparent";
|
|
9666
9575
|
const borderColor = isDone || isCurrent ? primaryColor : grayColor;
|
|
9667
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9576
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.circleWrapper, children: [
|
|
9668
9577
|
isCurrent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9669
9578
|
Animated10__default.default.View,
|
|
9670
9579
|
{
|
|
9671
9580
|
style: [
|
|
9672
|
-
|
|
9581
|
+
styles61.circleRing,
|
|
9673
9582
|
{ borderColor: primaryColor },
|
|
9674
9583
|
pulseStyle
|
|
9675
9584
|
]
|
|
@@ -9679,18 +9588,18 @@ var StepIndicator = React38__default.default.memo(({ status, stepNumber, variant
|
|
|
9679
9588
|
reactNative.View,
|
|
9680
9589
|
{
|
|
9681
9590
|
style: [
|
|
9682
|
-
|
|
9591
|
+
styles61.circle,
|
|
9683
9592
|
{
|
|
9684
9593
|
backgroundColor: bgColor,
|
|
9685
9594
|
borderColor,
|
|
9686
9595
|
borderWidth: isDone ? 0 : 2
|
|
9687
9596
|
}
|
|
9688
9597
|
],
|
|
9689
|
-
children: isDone ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
9598
|
+
children: isDone ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles61.checkmark, allowFontScaling: false, children: "\u2713" }) : variant === "numbers" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
9690
9599
|
reactNative.Text,
|
|
9691
9600
|
{
|
|
9692
9601
|
style: [
|
|
9693
|
-
|
|
9602
|
+
styles61.stepNumber,
|
|
9694
9603
|
{ color: isCurrent ? primaryColor : grayColor }
|
|
9695
9604
|
],
|
|
9696
9605
|
allowFontScaling: false,
|
|
@@ -9720,15 +9629,15 @@ var Connector = React38__default.default.memo(({ isComplete, orientation }) => {
|
|
|
9720
9629
|
reactNative.View,
|
|
9721
9630
|
{
|
|
9722
9631
|
style: [
|
|
9723
|
-
|
|
9724
|
-
isHoriz ?
|
|
9632
|
+
styles61.connectorTrack,
|
|
9633
|
+
isHoriz ? styles61.connectorHoriz : styles61.connectorVert,
|
|
9725
9634
|
{ backgroundColor: theme.colors.border }
|
|
9726
9635
|
],
|
|
9727
9636
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9728
9637
|
Animated10__default.default.View,
|
|
9729
9638
|
{
|
|
9730
9639
|
style: [
|
|
9731
|
-
isHoriz ?
|
|
9640
|
+
isHoriz ? styles61.connectorFillHoriz : styles61.connectorFillVert,
|
|
9732
9641
|
{ backgroundColor: theme.colors.primary },
|
|
9733
9642
|
fillStyle
|
|
9734
9643
|
]
|
|
@@ -9746,16 +9655,16 @@ var Step = React38__default.default.memo(({ step, index, total, activeStep, vari
|
|
|
9746
9655
|
const labelColor = status === "upcoming" ? theme.colors.textMuted : theme.colors.text;
|
|
9747
9656
|
const descColor = theme.colors.textSecondary;
|
|
9748
9657
|
if (isHoriz) {
|
|
9749
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9750
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9658
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepHoriz, children: [
|
|
9659
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepHorizTrack, children: [
|
|
9751
9660
|
/* @__PURE__ */ jsxRuntime.jsx(StepIndicator, { status, stepNumber: index + 1, variant }),
|
|
9752
|
-
!isLast && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9661
|
+
!isLast && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles61.connectorHorizWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(Connector, { isComplete: status === "complete", orientation: "horizontal" }) })
|
|
9753
9662
|
] }),
|
|
9754
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9663
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepLabelHoriz, children: [
|
|
9755
9664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9756
9665
|
reactNative.Text,
|
|
9757
9666
|
{
|
|
9758
|
-
style: [
|
|
9667
|
+
style: [styles61.stepLabel, { color: labelColor }],
|
|
9759
9668
|
numberOfLines: 2,
|
|
9760
9669
|
allowFontScaling: false,
|
|
9761
9670
|
children: step.label
|
|
@@ -9764,7 +9673,7 @@ var Step = React38__default.default.memo(({ step, index, total, activeStep, vari
|
|
|
9764
9673
|
step.description != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9765
9674
|
reactNative.Text,
|
|
9766
9675
|
{
|
|
9767
|
-
style: [
|
|
9676
|
+
style: [styles61.stepDesc, { color: descColor }],
|
|
9768
9677
|
numberOfLines: 2,
|
|
9769
9678
|
allowFontScaling: false,
|
|
9770
9679
|
children: step.description
|
|
@@ -9773,16 +9682,16 @@ var Step = React38__default.default.memo(({ step, index, total, activeStep, vari
|
|
|
9773
9682
|
] })
|
|
9774
9683
|
] });
|
|
9775
9684
|
}
|
|
9776
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9777
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9685
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepVert, children: [
|
|
9686
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepVertLeft, children: [
|
|
9778
9687
|
/* @__PURE__ */ jsxRuntime.jsx(StepIndicator, { status, stepNumber: index + 1, variant }),
|
|
9779
|
-
!isLast && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9688
|
+
!isLast && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles61.connectorVertWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(Connector, { isComplete: status === "complete", orientation: "vertical" }) })
|
|
9780
9689
|
] }),
|
|
9781
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9690
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles61.stepVertContent, children: [
|
|
9782
9691
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9783
9692
|
reactNative.Text,
|
|
9784
9693
|
{
|
|
9785
|
-
style: [
|
|
9694
|
+
style: [styles61.stepLabel, { color: labelColor }],
|
|
9786
9695
|
allowFontScaling: false,
|
|
9787
9696
|
children: step.label
|
|
9788
9697
|
}
|
|
@@ -9790,7 +9699,7 @@ var Step = React38__default.default.memo(({ step, index, total, activeStep, vari
|
|
|
9790
9699
|
step.description != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9791
9700
|
reactNative.Text,
|
|
9792
9701
|
{
|
|
9793
|
-
style: [
|
|
9702
|
+
style: [styles61.stepDesc, { color: descColor }],
|
|
9794
9703
|
allowFontScaling: false,
|
|
9795
9704
|
children: step.description
|
|
9796
9705
|
}
|
|
@@ -9812,7 +9721,7 @@ var Stepper = React38__default.default.memo(
|
|
|
9812
9721
|
reactNative.View,
|
|
9813
9722
|
{
|
|
9814
9723
|
style: [
|
|
9815
|
-
orientation === "horizontal" ?
|
|
9724
|
+
orientation === "horizontal" ? styles61.rootHoriz : styles61.rootVert
|
|
9816
9725
|
],
|
|
9817
9726
|
children: steps.map((step, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9818
9727
|
Step,
|
|
@@ -9829,13 +9738,13 @@ var Stepper = React38__default.default.memo(
|
|
|
9829
9738
|
}
|
|
9830
9739
|
);
|
|
9831
9740
|
if (glass) {
|
|
9832
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 16, style, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9741
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 1, borderRadius: 16, style, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles61.glassPadding, children: content }) });
|
|
9833
9742
|
}
|
|
9834
9743
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style, children: content });
|
|
9835
9744
|
}
|
|
9836
9745
|
);
|
|
9837
9746
|
Stepper.displayName = "Stepper";
|
|
9838
|
-
var
|
|
9747
|
+
var styles61 = reactNative.StyleSheet.create({
|
|
9839
9748
|
rootHoriz: {
|
|
9840
9749
|
flexDirection: "row",
|
|
9841
9750
|
alignItems: "flex-start"
|
|
@@ -10030,23 +9939,23 @@ var Modal9 = React38__default.default.memo(
|
|
|
10030
9939
|
});
|
|
10031
9940
|
const maxWidth = resolveMaxWidth2(size);
|
|
10032
9941
|
const cardBg = isDark ? "#1e1e30" : "#ffffff";
|
|
10033
|
-
const headerRow = showCloseButton || title != null ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9942
|
+
const headerRow = showCloseButton || title != null ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles62.headerRow, children: [
|
|
10034
9943
|
title != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
10035
9944
|
reactNative.Text,
|
|
10036
9945
|
{
|
|
10037
|
-
style: [
|
|
9946
|
+
style: [styles62.title, { color: isDark ? "#f1f5f9" : "#0f172a" }],
|
|
10038
9947
|
numberOfLines: 2,
|
|
10039
9948
|
children: title
|
|
10040
9949
|
}
|
|
10041
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
9950
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles62.flex }),
|
|
10042
9951
|
showCloseButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10043
9952
|
reactNative.Pressable,
|
|
10044
9953
|
{
|
|
10045
9954
|
onPress: handleClose,
|
|
10046
|
-
style:
|
|
9955
|
+
style: styles62.closeBtn,
|
|
10047
9956
|
accessibilityLabel: "Close modal",
|
|
10048
9957
|
accessibilityRole: "button",
|
|
10049
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
9958
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles62.closeText, { color: isDark ? "#94a3b8" : "#64748b" }], children: "\u2715" })
|
|
10050
9959
|
}
|
|
10051
9960
|
)
|
|
10052
9961
|
] }) : null;
|
|
@@ -10063,7 +9972,7 @@ var Modal9 = React38__default.default.memo(
|
|
|
10063
9972
|
animationType: "none",
|
|
10064
9973
|
onRequestClose: isDismissible ? handleClose : void 0,
|
|
10065
9974
|
statusBarTranslucent: true,
|
|
10066
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
9975
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles62.backdrop, children: [
|
|
10067
9976
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10068
9977
|
reactNative.Pressable,
|
|
10069
9978
|
{
|
|
@@ -10076,12 +9985,12 @@ var Modal9 = React38__default.default.memo(
|
|
|
10076
9985
|
Animated10__default.default.View,
|
|
10077
9986
|
{
|
|
10078
9987
|
style: [
|
|
10079
|
-
|
|
9988
|
+
styles62.card,
|
|
10080
9989
|
{ maxWidth, backgroundColor: glass ? "transparent" : cardBg },
|
|
10081
9990
|
animatedCardStyle,
|
|
10082
9991
|
style
|
|
10083
9992
|
],
|
|
10084
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 20, style:
|
|
9993
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 20, style: styles62.glassCard, children: cardContent }) : cardContent
|
|
10085
9994
|
}
|
|
10086
9995
|
)
|
|
10087
9996
|
] })
|
|
@@ -10090,7 +9999,7 @@ var Modal9 = React38__default.default.memo(
|
|
|
10090
9999
|
}
|
|
10091
10000
|
);
|
|
10092
10001
|
Modal9.displayName = "Modal";
|
|
10093
|
-
var
|
|
10002
|
+
var styles62 = reactNative.StyleSheet.create({
|
|
10094
10003
|
backdrop: {
|
|
10095
10004
|
flex: 1,
|
|
10096
10005
|
backgroundColor: "rgba(0,0,0,0.6)",
|
|
@@ -10179,12 +10088,12 @@ var ActionSheet = React38__default.default.memo(
|
|
|
10179
10088
|
const textBase = isDark ? "#f1f5f9" : "#0f172a";
|
|
10180
10089
|
const subText = isDark ? "#94a3b8" : "#64748b";
|
|
10181
10090
|
const actionItems = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10182
|
-
(title != null || message != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
10183
|
-
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10184
|
-
message != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10091
|
+
(title != null || message != null) && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles63.header, { borderBottomColor: divider }], children: [
|
|
10092
|
+
title != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles63.headerTitle, { color: subText }], children: title }),
|
|
10093
|
+
message != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles63.headerMessage, { color: subText }], children: message })
|
|
10185
10094
|
] }),
|
|
10186
10095
|
actions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React38__default.default.Fragment, { children: [
|
|
10187
|
-
idx > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
10096
|
+
idx > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles63.divider, { backgroundColor: divider }] }),
|
|
10188
10097
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10189
10098
|
reactNative.Pressable,
|
|
10190
10099
|
{
|
|
@@ -10194,19 +10103,19 @@ var ActionSheet = React38__default.default.memo(
|
|
|
10194
10103
|
handleClose();
|
|
10195
10104
|
},
|
|
10196
10105
|
style: ({ pressed }) => [
|
|
10197
|
-
|
|
10198
|
-
pressed &&
|
|
10106
|
+
styles63.actionRow,
|
|
10107
|
+
pressed && styles63.actionRowPressed
|
|
10199
10108
|
],
|
|
10200
10109
|
disabled: action.isDisabled,
|
|
10201
10110
|
accessibilityRole: "button",
|
|
10202
10111
|
accessibilityLabel: action.label,
|
|
10203
10112
|
children: [
|
|
10204
|
-
action.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10113
|
+
action.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles63.actionIcon, children: action.icon }),
|
|
10205
10114
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10206
10115
|
reactNative.Text,
|
|
10207
10116
|
{
|
|
10208
10117
|
style: [
|
|
10209
|
-
|
|
10118
|
+
styles63.actionLabel,
|
|
10210
10119
|
{
|
|
10211
10120
|
color: action.isDestructive ? "#ef4444" : action.isDisabled ? subText : textBase,
|
|
10212
10121
|
opacity: action.isDisabled ? 0.45 : 1
|
|
@@ -10229,7 +10138,7 @@ var ActionSheet = React38__default.default.memo(
|
|
|
10229
10138
|
animationType: "none",
|
|
10230
10139
|
onRequestClose: handleClose,
|
|
10231
10140
|
statusBarTranslucent: true,
|
|
10232
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
10141
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles63.backdrop, children: [
|
|
10233
10142
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10234
10143
|
reactNative.Pressable,
|
|
10235
10144
|
{
|
|
@@ -10238,40 +10147,40 @@ var ActionSheet = React38__default.default.memo(
|
|
|
10238
10147
|
accessibilityLabel: "Close action sheet"
|
|
10239
10148
|
}
|
|
10240
10149
|
),
|
|
10241
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
10242
|
-
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 16, style:
|
|
10150
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles63.container, animatedStyle], children: [
|
|
10151
|
+
glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 16, style: styles63.panelGlass, children: actionItems }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
10243
10152
|
reactNative.View,
|
|
10244
10153
|
{
|
|
10245
10154
|
style: [
|
|
10246
|
-
|
|
10155
|
+
styles63.panel,
|
|
10247
10156
|
{ backgroundColor: panelBg }
|
|
10248
10157
|
],
|
|
10249
10158
|
children: actionItems
|
|
10250
10159
|
}
|
|
10251
10160
|
),
|
|
10252
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10161
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles63.cancelSpacing, children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 16, style: styles63.cancelGlass, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
10253
10162
|
reactNative.Pressable,
|
|
10254
10163
|
{
|
|
10255
10164
|
onPress: handleClose,
|
|
10256
10165
|
style: ({ pressed }) => [
|
|
10257
|
-
|
|
10258
|
-
pressed &&
|
|
10166
|
+
styles63.cancelRow,
|
|
10167
|
+
pressed && styles63.actionRowPressed
|
|
10259
10168
|
],
|
|
10260
10169
|
accessibilityRole: "button",
|
|
10261
10170
|
accessibilityLabel: cancelLabel,
|
|
10262
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10171
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles63.cancelLabel, { color: textBase }], children: cancelLabel })
|
|
10263
10172
|
}
|
|
10264
|
-
) }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
10173
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles63.cancelPanel, { backgroundColor: panelBg }], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
10265
10174
|
reactNative.Pressable,
|
|
10266
10175
|
{
|
|
10267
10176
|
onPress: handleClose,
|
|
10268
10177
|
style: ({ pressed }) => [
|
|
10269
|
-
|
|
10270
|
-
pressed &&
|
|
10178
|
+
styles63.cancelRow,
|
|
10179
|
+
pressed && styles63.actionRowPressed
|
|
10271
10180
|
],
|
|
10272
10181
|
accessibilityRole: "button",
|
|
10273
10182
|
accessibilityLabel: cancelLabel,
|
|
10274
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10183
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles63.cancelLabel, { color: textBase }], children: cancelLabel })
|
|
10275
10184
|
}
|
|
10276
10185
|
) }) })
|
|
10277
10186
|
] })
|
|
@@ -10281,7 +10190,7 @@ var ActionSheet = React38__default.default.memo(
|
|
|
10281
10190
|
}
|
|
10282
10191
|
);
|
|
10283
10192
|
ActionSheet.displayName = "ActionSheet";
|
|
10284
|
-
var
|
|
10193
|
+
var styles63 = reactNative.StyleSheet.create({
|
|
10285
10194
|
backdrop: {
|
|
10286
10195
|
flex: 1,
|
|
10287
10196
|
backgroundColor: "rgba(0,0,0,0.45)",
|
|
@@ -10433,20 +10342,20 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10433
10342
|
const highlightBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)";
|
|
10434
10343
|
const renderItems = () => {
|
|
10435
10344
|
if (filtered.length === 0) {
|
|
10436
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10345
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles64.emptyState, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.emptyText, { color: subText }], children: "No commands found" }) });
|
|
10437
10346
|
}
|
|
10438
10347
|
const sections = [];
|
|
10439
10348
|
let first = true;
|
|
10440
10349
|
grouped.forEach((groupItems, groupKey) => {
|
|
10441
10350
|
if (!first) {
|
|
10442
10351
|
sections.push(
|
|
10443
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
10352
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles64.sectionDivider, { backgroundColor: divider }] }, `divider-${groupKey}`)
|
|
10444
10353
|
);
|
|
10445
10354
|
}
|
|
10446
10355
|
first = false;
|
|
10447
10356
|
if (groupKey) {
|
|
10448
10357
|
sections.push(
|
|
10449
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10358
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.groupLabel, { color: groupLabelClr }], children: groupKey.toUpperCase() }, `header-${groupKey}`)
|
|
10450
10359
|
);
|
|
10451
10360
|
}
|
|
10452
10361
|
sections.push(
|
|
@@ -10458,18 +10367,18 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10458
10367
|
handleClose();
|
|
10459
10368
|
},
|
|
10460
10369
|
style: ({ pressed }) => [
|
|
10461
|
-
|
|
10370
|
+
styles64.itemRow,
|
|
10462
10371
|
pressed && { backgroundColor: highlightBg }
|
|
10463
10372
|
],
|
|
10464
10373
|
accessibilityRole: "button",
|
|
10465
10374
|
accessibilityLabel: item.label,
|
|
10466
10375
|
children: [
|
|
10467
|
-
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10468
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
10469
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10470
|
-
item.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10376
|
+
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles64.itemIcon, children: item.icon }),
|
|
10377
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles64.itemText, children: [
|
|
10378
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.itemLabel, { color: textBase }], numberOfLines: 1, children: item.label }),
|
|
10379
|
+
item.description != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.itemDescription, { color: subText }], numberOfLines: 1, children: item.description })
|
|
10471
10380
|
] }),
|
|
10472
|
-
item.shortcut != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
10381
|
+
item.shortcut != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles64.shortcutBadge, { backgroundColor: inputBg }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.shortcutText, { color: subText }], children: item.shortcut }) })
|
|
10473
10382
|
]
|
|
10474
10383
|
},
|
|
10475
10384
|
item.id
|
|
@@ -10479,12 +10388,12 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10479
10388
|
return sections;
|
|
10480
10389
|
};
|
|
10481
10390
|
const cardContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
10482
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
10483
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
10391
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles64.searchRow, { borderBottomColor: divider }], children: [
|
|
10392
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.searchIcon, { color: subText }], children: "\u2315" }),
|
|
10484
10393
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10485
10394
|
reactNative.TextInput,
|
|
10486
10395
|
{
|
|
10487
|
-
style: [
|
|
10396
|
+
style: [styles64.searchInput, { color: textBase }],
|
|
10488
10397
|
value: query,
|
|
10489
10398
|
onChangeText: setQuery,
|
|
10490
10399
|
placeholder,
|
|
@@ -10496,17 +10405,17 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10496
10405
|
clearButtonMode: "while-editing"
|
|
10497
10406
|
}
|
|
10498
10407
|
),
|
|
10499
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleClose, style:
|
|
10408
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handleClose, style: styles64.closeBtn, accessibilityLabel: "Close", children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles64.closeText, { color: subText }], children: "\u2715" }) })
|
|
10500
10409
|
] }),
|
|
10501
10410
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10502
10411
|
reactNative.ScrollView,
|
|
10503
10412
|
{
|
|
10504
|
-
style: [
|
|
10413
|
+
style: [styles64.list, { maxHeight: 400 }],
|
|
10505
10414
|
keyboardShouldPersistTaps: "handled",
|
|
10506
10415
|
showsVerticalScrollIndicator: false,
|
|
10507
10416
|
children: [
|
|
10508
10417
|
renderItems(),
|
|
10509
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10418
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles64.listBottom })
|
|
10510
10419
|
]
|
|
10511
10420
|
}
|
|
10512
10421
|
)
|
|
@@ -10520,7 +10429,7 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10520
10429
|
animationType: "none",
|
|
10521
10430
|
onRequestClose: handleClose,
|
|
10522
10431
|
statusBarTranslucent: true,
|
|
10523
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
10432
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles64.backdrop, children: [
|
|
10524
10433
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10525
10434
|
reactNative.Pressable,
|
|
10526
10435
|
{
|
|
@@ -10529,14 +10438,14 @@ var CommandPalette = React38__default.default.memo(
|
|
|
10529
10438
|
accessibilityLabel: "Close command palette"
|
|
10530
10439
|
}
|
|
10531
10440
|
),
|
|
10532
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
10441
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles64.card, animatedStyle], children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 16, style: styles64.glassCard, children: cardContent }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles64.solidCard, { backgroundColor: cardBg }], children: cardContent }) })
|
|
10533
10442
|
] })
|
|
10534
10443
|
}
|
|
10535
10444
|
);
|
|
10536
10445
|
}
|
|
10537
10446
|
);
|
|
10538
10447
|
CommandPalette.displayName = "CommandPalette";
|
|
10539
|
-
var
|
|
10448
|
+
var styles64 = reactNative.StyleSheet.create({
|
|
10540
10449
|
backdrop: {
|
|
10541
10450
|
flex: 1,
|
|
10542
10451
|
backgroundColor: "rgba(0,0,0,0.65)",
|
|
@@ -10694,8 +10603,8 @@ var ContextMenu = React38__default.default.memo(
|
|
|
10694
10603
|
const subText = isDark ? "#94a3b8" : "#64748b";
|
|
10695
10604
|
const divider = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.07)";
|
|
10696
10605
|
const pressedBg = isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.05)";
|
|
10697
|
-
const menuItems = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10698
|
-
idx > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
10606
|
+
const menuItems = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles65.menuInner, children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React38__default.default.Fragment, { children: [
|
|
10607
|
+
idx > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles65.itemDivider, { backgroundColor: divider }] }),
|
|
10699
10608
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10700
10609
|
reactNative.Pressable,
|
|
10701
10610
|
{
|
|
@@ -10705,20 +10614,20 @@ var ContextMenu = React38__default.default.memo(
|
|
|
10705
10614
|
item.onPress();
|
|
10706
10615
|
},
|
|
10707
10616
|
style: ({ pressed }) => [
|
|
10708
|
-
|
|
10617
|
+
styles65.menuItem,
|
|
10709
10618
|
pressed && { backgroundColor: pressedBg },
|
|
10710
|
-
item.isDisabled &&
|
|
10619
|
+
item.isDisabled && styles65.disabledItem
|
|
10711
10620
|
],
|
|
10712
10621
|
disabled: item.isDisabled,
|
|
10713
10622
|
accessibilityRole: "menuitem",
|
|
10714
10623
|
accessibilityLabel: item.label,
|
|
10715
10624
|
children: [
|
|
10716
|
-
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
10625
|
+
item.icon != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles65.menuItemIcon, children: item.icon }),
|
|
10717
10626
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10718
10627
|
reactNative.Text,
|
|
10719
10628
|
{
|
|
10720
10629
|
style: [
|
|
10721
|
-
|
|
10630
|
+
styles65.menuItemLabel,
|
|
10722
10631
|
{
|
|
10723
10632
|
color: item.isDestructive ? "#ef4444" : item.isDisabled ? subText : textBase
|
|
10724
10633
|
}
|
|
@@ -10765,14 +10674,14 @@ var ContextMenu = React38__default.default.memo(
|
|
|
10765
10674
|
Animated10__default.default.View,
|
|
10766
10675
|
{
|
|
10767
10676
|
style: [
|
|
10768
|
-
|
|
10677
|
+
styles65.menuCard,
|
|
10769
10678
|
{
|
|
10770
10679
|
left: position.x,
|
|
10771
10680
|
top: position.y
|
|
10772
10681
|
},
|
|
10773
10682
|
animatedStyle
|
|
10774
10683
|
],
|
|
10775
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 12, style:
|
|
10684
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 3, borderRadius: 12, style: styles65.glassMenu, children: menuItems }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles65.solidMenu, { backgroundColor: cardBg }], children: menuItems })
|
|
10776
10685
|
}
|
|
10777
10686
|
)
|
|
10778
10687
|
]
|
|
@@ -10782,7 +10691,7 @@ var ContextMenu = React38__default.default.memo(
|
|
|
10782
10691
|
}
|
|
10783
10692
|
);
|
|
10784
10693
|
ContextMenu.displayName = "ContextMenu";
|
|
10785
|
-
var
|
|
10694
|
+
var styles65 = reactNative.StyleSheet.create({
|
|
10786
10695
|
menuCard: {
|
|
10787
10696
|
position: "absolute",
|
|
10788
10697
|
width: MENU_WIDTH
|
|
@@ -10877,29 +10786,29 @@ var HoverCard = React38__default.default.memo(
|
|
|
10877
10786
|
Animated10__default.default.View,
|
|
10878
10787
|
{
|
|
10879
10788
|
style: [
|
|
10880
|
-
|
|
10789
|
+
styles66.card,
|
|
10881
10790
|
{ position: "absolute", left: position.left, top: position.top },
|
|
10882
10791
|
animatedStyle
|
|
10883
10792
|
],
|
|
10884
10793
|
pointerEvents: "box-none",
|
|
10885
|
-
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 12, style:
|
|
10794
|
+
children: glass ? /* @__PURE__ */ jsxRuntime.jsx(reactnativelyGlass.GlassView, { elevation: 2, borderRadius: 12, style: styles66.glassCard, children: content }) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles66.solidCard, { backgroundColor: cardBg }], children: content })
|
|
10886
10795
|
}
|
|
10887
10796
|
);
|
|
10888
10797
|
if (isWeb) {
|
|
10889
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
10798
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles66.triggerWrap, children: [
|
|
10890
10799
|
React38__default.default.createElement(
|
|
10891
10800
|
reactNative.Pressable,
|
|
10892
10801
|
{
|
|
10893
10802
|
ref: triggerRef,
|
|
10894
10803
|
...webProps,
|
|
10895
|
-
style:
|
|
10804
|
+
style: styles66.triggerInner
|
|
10896
10805
|
},
|
|
10897
10806
|
trigger
|
|
10898
10807
|
),
|
|
10899
10808
|
visible && cardContent
|
|
10900
10809
|
] });
|
|
10901
10810
|
}
|
|
10902
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
10811
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles66.triggerWrap, children: [
|
|
10903
10812
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10904
10813
|
reactNative.Pressable,
|
|
10905
10814
|
{
|
|
@@ -10907,7 +10816,7 @@ var HoverCard = React38__default.default.memo(
|
|
|
10907
10816
|
onLongPress: show2,
|
|
10908
10817
|
onPressOut: hide,
|
|
10909
10818
|
delayLongPress: 500,
|
|
10910
|
-
style:
|
|
10819
|
+
style: styles66.triggerInner,
|
|
10911
10820
|
children: trigger
|
|
10912
10821
|
}
|
|
10913
10822
|
),
|
|
@@ -10937,7 +10846,7 @@ var HoverCard = React38__default.default.memo(
|
|
|
10937
10846
|
}
|
|
10938
10847
|
);
|
|
10939
10848
|
HoverCard.displayName = "HoverCard";
|
|
10940
|
-
var
|
|
10849
|
+
var styles66 = reactNative.StyleSheet.create({
|
|
10941
10850
|
triggerWrap: {
|
|
10942
10851
|
alignSelf: "flex-start"
|
|
10943
10852
|
},
|
|
@@ -11156,7 +11065,7 @@ var MagneticPressable = React38__default.default.memo(
|
|
|
11156
11065
|
{
|
|
11157
11066
|
onPress,
|
|
11158
11067
|
accessibilityRole: "button",
|
|
11159
|
-
style:
|
|
11068
|
+
style: styles67.pressable,
|
|
11160
11069
|
children
|
|
11161
11070
|
}
|
|
11162
11071
|
)
|
|
@@ -11165,7 +11074,7 @@ var MagneticPressable = React38__default.default.memo(
|
|
|
11165
11074
|
}
|
|
11166
11075
|
);
|
|
11167
11076
|
MagneticPressable.displayName = "MagneticPressable";
|
|
11168
|
-
var
|
|
11077
|
+
var styles67 = reactNative.StyleSheet.create({
|
|
11169
11078
|
pressable: {
|
|
11170
11079
|
alignSelf: "flex-start"
|
|
11171
11080
|
}
|
|
@@ -11184,14 +11093,14 @@ var BlurSurface = React38__default.default.memo(
|
|
|
11184
11093
|
elevation,
|
|
11185
11094
|
variant,
|
|
11186
11095
|
borderRadius,
|
|
11187
|
-
style: [
|
|
11096
|
+
style: [styles68.surface, style],
|
|
11188
11097
|
children
|
|
11189
11098
|
}
|
|
11190
11099
|
);
|
|
11191
11100
|
}
|
|
11192
11101
|
);
|
|
11193
11102
|
BlurSurface.displayName = "BlurSurface";
|
|
11194
|
-
var
|
|
11103
|
+
var styles68 = reactNative.StyleSheet.create({
|
|
11195
11104
|
surface: {
|
|
11196
11105
|
// Intentionally minimal — this is a decoration primitive
|
|
11197
11106
|
}
|
|
@@ -11250,7 +11159,7 @@ var DynamicIsland = React38__default.default.memo(
|
|
|
11250
11159
|
if (activeState === "expanded") return expandedContent ?? null;
|
|
11251
11160
|
return compactContent ?? null;
|
|
11252
11161
|
};
|
|
11253
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
11162
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles69.wrapper, animatedStyle, style], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: handlePress, style: styles69.pressable, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11254
11163
|
reactnativelyGlass.GlassView,
|
|
11255
11164
|
{
|
|
11256
11165
|
elevation: 4,
|
|
@@ -11259,13 +11168,13 @@ var DynamicIsland = React38__default.default.memo(
|
|
|
11259
11168
|
borderRadius: 0,
|
|
11260
11169
|
border: false,
|
|
11261
11170
|
style: reactNative.StyleSheet.absoluteFill,
|
|
11262
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11171
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles69.content, children: renderContent() })
|
|
11263
11172
|
}
|
|
11264
11173
|
) }) });
|
|
11265
11174
|
}
|
|
11266
11175
|
);
|
|
11267
11176
|
DynamicIsland.displayName = "DynamicIsland";
|
|
11268
|
-
var
|
|
11177
|
+
var styles69 = reactNative.StyleSheet.create({
|
|
11269
11178
|
wrapper: {
|
|
11270
11179
|
alignSelf: "center",
|
|
11271
11180
|
overflow: "hidden"
|
|
@@ -11314,9 +11223,9 @@ var DockItemView = React38__default.default.memo(
|
|
|
11314
11223
|
onPressOut: handlers.onPressOut,
|
|
11315
11224
|
accessibilityLabel: item.label,
|
|
11316
11225
|
accessibilityRole: "button",
|
|
11317
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
11318
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11319
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
11226
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles70.itemContainer, pressStyle], children: [
|
|
11227
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles70.iconWrapper, children: item.icon }),
|
|
11228
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles70.itemLabel, numberOfLines: 1, children: item.label })
|
|
11320
11229
|
] })
|
|
11321
11230
|
}
|
|
11322
11231
|
) });
|
|
@@ -11351,11 +11260,11 @@ var FloatingDock = React38__default.default.memo(
|
|
|
11351
11260
|
}
|
|
11352
11261
|
})
|
|
11353
11262
|
).current;
|
|
11354
|
-
const positionStyle = position === "top" ?
|
|
11263
|
+
const positionStyle = position === "top" ? styles70.positionTop : styles70.positionBottom;
|
|
11355
11264
|
const container = /* @__PURE__ */ jsxRuntime.jsx(
|
|
11356
11265
|
reactNative.View,
|
|
11357
11266
|
{
|
|
11358
|
-
style: [
|
|
11267
|
+
style: [styles70.row, positionStyle, style],
|
|
11359
11268
|
...magnification ? panResponder.panHandlers : {},
|
|
11360
11269
|
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
11361
11270
|
DockItemView,
|
|
@@ -11371,7 +11280,7 @@ var FloatingDock = React38__default.default.memo(
|
|
|
11371
11280
|
}
|
|
11372
11281
|
);
|
|
11373
11282
|
if (!glass) {
|
|
11374
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
11283
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles70.pillFallback, positionStyle, style], children: container });
|
|
11375
11284
|
}
|
|
11376
11285
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11377
11286
|
reactnativelyGlass.GlassView,
|
|
@@ -11383,7 +11292,7 @@ var FloatingDock = React38__default.default.memo(
|
|
|
11383
11292
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11384
11293
|
reactNative.View,
|
|
11385
11294
|
{
|
|
11386
|
-
style:
|
|
11295
|
+
style: styles70.row,
|
|
11387
11296
|
...magnification ? panResponder.panHandlers : {},
|
|
11388
11297
|
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
11389
11298
|
DockItemView,
|
|
@@ -11403,7 +11312,7 @@ var FloatingDock = React38__default.default.memo(
|
|
|
11403
11312
|
}
|
|
11404
11313
|
);
|
|
11405
11314
|
FloatingDock.displayName = "FloatingDock";
|
|
11406
|
-
var
|
|
11315
|
+
var styles70 = reactNative.StyleSheet.create({
|
|
11407
11316
|
positionBottom: {
|
|
11408
11317
|
alignSelf: "center",
|
|
11409
11318
|
marginBottom: 16
|
|
@@ -11468,7 +11377,7 @@ var MorphingContainer = React38__default.default.memo(
|
|
|
11468
11377
|
overflow: "hidden"
|
|
11469
11378
|
}));
|
|
11470
11379
|
if (!glass) {
|
|
11471
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
11380
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles71.fallback, animatedStyle, style], children });
|
|
11472
11381
|
}
|
|
11473
11382
|
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [animatedStyle, style], children: [
|
|
11474
11383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -11480,12 +11389,12 @@ var MorphingContainer = React38__default.default.memo(
|
|
|
11480
11389
|
style: reactNative.StyleSheet.absoluteFill
|
|
11481
11390
|
}
|
|
11482
11391
|
),
|
|
11483
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11392
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles71.content, children })
|
|
11484
11393
|
] });
|
|
11485
11394
|
}
|
|
11486
11395
|
);
|
|
11487
11396
|
MorphingContainer.displayName = "MorphingContainer";
|
|
11488
|
-
var
|
|
11397
|
+
var styles71 = reactNative.StyleSheet.create({
|
|
11489
11398
|
fallback: {
|
|
11490
11399
|
backgroundColor: "rgba(0,0,0,0.06)"
|
|
11491
11400
|
},
|
|
@@ -11523,7 +11432,7 @@ var GlassNavbar = React38__default.default.memo(
|
|
|
11523
11432
|
return { opacity };
|
|
11524
11433
|
});
|
|
11525
11434
|
const elevation = scrollY ? 2 : 0;
|
|
11526
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
11435
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles72.wrapper, style], children: [
|
|
11527
11436
|
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [reactNative.StyleSheet.absoluteFill, glassOpacityStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11528
11437
|
reactnativelyGlass.GlassView,
|
|
11529
11438
|
{
|
|
@@ -11538,30 +11447,30 @@ var GlassNavbar = React38__default.default.memo(
|
|
|
11538
11447
|
Animated10__default.default.View,
|
|
11539
11448
|
{
|
|
11540
11449
|
style: [
|
|
11541
|
-
|
|
11450
|
+
styles72.border,
|
|
11542
11451
|
{ borderBottomColor: theme.colors.border },
|
|
11543
11452
|
borderAnimStyle
|
|
11544
11453
|
],
|
|
11545
11454
|
pointerEvents: "none"
|
|
11546
11455
|
}
|
|
11547
11456
|
),
|
|
11548
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
11549
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11550
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11457
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles72.row, children: [
|
|
11458
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles72.side, children: leading }),
|
|
11459
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles72.titleContainer, children: title != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11551
11460
|
reactNative.Text,
|
|
11552
11461
|
{
|
|
11553
|
-
style: [
|
|
11462
|
+
style: [styles72.title, { color: theme.colors.text }],
|
|
11554
11463
|
numberOfLines: 1,
|
|
11555
11464
|
children: title
|
|
11556
11465
|
}
|
|
11557
11466
|
) }),
|
|
11558
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
11467
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles72.side, styles72.trailingSide], children: trailing })
|
|
11559
11468
|
] })
|
|
11560
11469
|
] });
|
|
11561
11470
|
}
|
|
11562
11471
|
);
|
|
11563
11472
|
GlassNavbar.displayName = "GlassNavbar";
|
|
11564
|
-
var
|
|
11473
|
+
var styles72 = reactNative.StyleSheet.create({
|
|
11565
11474
|
wrapper: {
|
|
11566
11475
|
height: NAVBAR_HEIGHT,
|
|
11567
11476
|
zIndex: 10
|
|
@@ -11622,16 +11531,16 @@ var SidebarItemView = React38__default.default.memo(
|
|
|
11622
11531
|
reactNative.View,
|
|
11623
11532
|
{
|
|
11624
11533
|
style: [
|
|
11625
|
-
|
|
11534
|
+
styles73.itemRow,
|
|
11626
11535
|
{ backgroundColor: activeBackground }
|
|
11627
11536
|
],
|
|
11628
11537
|
children: [
|
|
11629
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
11630
|
-
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [
|
|
11538
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles73.itemIcon, { tintColor: iconColor }], children: item.icon }),
|
|
11539
|
+
/* @__PURE__ */ jsxRuntime.jsx(Animated10__default.default.View, { style: [styles73.labelWrapper, labelStyle], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11631
11540
|
reactNative.Text,
|
|
11632
11541
|
{
|
|
11633
11542
|
style: [
|
|
11634
|
-
|
|
11543
|
+
styles73.itemLabel,
|
|
11635
11544
|
{
|
|
11636
11545
|
color: isActive ? theme.colors.primary : theme.colors.text,
|
|
11637
11546
|
fontWeight: isActive ? "600" : "400"
|
|
@@ -11641,7 +11550,7 @@ var SidebarItemView = React38__default.default.memo(
|
|
|
11641
11550
|
children: item.label
|
|
11642
11551
|
}
|
|
11643
11552
|
) }),
|
|
11644
|
-
item.badge != null && item.badge > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
11553
|
+
item.badge != null && item.badge > 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles73.badge, { backgroundColor: theme.colors.primary }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles73.badgeText, children: item.badge > 99 ? "99+" : item.badge }) })
|
|
11645
11554
|
]
|
|
11646
11555
|
}
|
|
11647
11556
|
)
|
|
@@ -11675,7 +11584,7 @@ var GlassSidebar = React38__default.default.memo(
|
|
|
11675
11584
|
},
|
|
11676
11585
|
[onItemPress]
|
|
11677
11586
|
);
|
|
11678
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
11587
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles73.wrapper, animatedStyle, style], children: [
|
|
11679
11588
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11680
11589
|
reactnativelyGlass.GlassView,
|
|
11681
11590
|
{
|
|
@@ -11685,7 +11594,7 @@ var GlassSidebar = React38__default.default.memo(
|
|
|
11685
11594
|
style: reactNative.StyleSheet.absoluteFill
|
|
11686
11595
|
}
|
|
11687
11596
|
),
|
|
11688
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11597
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles73.itemList, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
11689
11598
|
SidebarItemView,
|
|
11690
11599
|
{
|
|
11691
11600
|
item,
|
|
@@ -11700,7 +11609,7 @@ var GlassSidebar = React38__default.default.memo(
|
|
|
11700
11609
|
}
|
|
11701
11610
|
);
|
|
11702
11611
|
GlassSidebar.displayName = "GlassSidebar";
|
|
11703
|
-
var
|
|
11612
|
+
var styles73 = reactNative.StyleSheet.create({
|
|
11704
11613
|
wrapper: {
|
|
11705
11614
|
overflow: "hidden",
|
|
11706
11615
|
alignSelf: "stretch"
|
|
@@ -11807,7 +11716,7 @@ var InteractiveGlassSurface = React38__default.default.memo(
|
|
|
11807
11716
|
rotateX.value = Animated10.withSpring(0, reactnativelyAnimations.SPRING_SNAPPY);
|
|
11808
11717
|
rotateY.value = Animated10.withSpring(0, reactnativelyAnimations.SPRING_SNAPPY);
|
|
11809
11718
|
}
|
|
11810
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
11719
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles74.wrapper, animatedStyle, style], children: [
|
|
11811
11720
|
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: reactNative.StyleSheet.absoluteFill, onLayout: handleLayout, ...responderHandlers }),
|
|
11812
11721
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11813
11722
|
reactnativelyGlass.GlassView,
|
|
@@ -11815,7 +11724,7 @@ var InteractiveGlassSurface = React38__default.default.memo(
|
|
|
11815
11724
|
elevation,
|
|
11816
11725
|
variant: "surface",
|
|
11817
11726
|
borderRadius: 20,
|
|
11818
|
-
style:
|
|
11727
|
+
style: styles74.glass,
|
|
11819
11728
|
children
|
|
11820
11729
|
}
|
|
11821
11730
|
)
|
|
@@ -11823,7 +11732,7 @@ var InteractiveGlassSurface = React38__default.default.memo(
|
|
|
11823
11732
|
}
|
|
11824
11733
|
);
|
|
11825
11734
|
InteractiveGlassSurface.displayName = "InteractiveGlassSurface";
|
|
11826
|
-
var
|
|
11735
|
+
var styles74 = reactNative.StyleSheet.create({
|
|
11827
11736
|
wrapper: {
|
|
11828
11737
|
// perspective is set via transform in animatedStyle
|
|
11829
11738
|
},
|
|
@@ -11904,7 +11813,7 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11904
11813
|
overflow: "hidden"
|
|
11905
11814
|
}));
|
|
11906
11815
|
const clampedProgress = Math.max(0, Math.min(1, progress));
|
|
11907
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [
|
|
11816
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Animated10__default.default.View, { style: [styles75.wrapper, animatedStyle, style], children: [
|
|
11908
11817
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11909
11818
|
reactnativelyGlass.GlassView,
|
|
11910
11819
|
{
|
|
@@ -11914,22 +11823,22 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11914
11823
|
style: reactNative.StyleSheet.absoluteFill
|
|
11915
11824
|
}
|
|
11916
11825
|
),
|
|
11917
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11826
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles75.dragArea, ...panResponder.panHandlers, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles75.dragHandle, { backgroundColor: theme.colors.border }] }) }),
|
|
11918
11827
|
activeState === "mini" && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11919
11828
|
reactNative.Pressable,
|
|
11920
11829
|
{
|
|
11921
|
-
style:
|
|
11830
|
+
style: styles75.miniBar,
|
|
11922
11831
|
onPress: () => setActiveState("expanded"),
|
|
11923
11832
|
accessibilityRole: "button",
|
|
11924
11833
|
accessibilityLabel: "Open media player",
|
|
11925
11834
|
children: [
|
|
11926
|
-
artwork != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11927
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
11928
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
11835
|
+
artwork != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles75.miniArtwork, children: artwork }),
|
|
11836
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles75.miniText, children: [
|
|
11837
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles75.miniTitle, { color: theme.colors.text }], numberOfLines: 1, children: title ?? "Not playing" }),
|
|
11929
11838
|
subtitle != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11930
11839
|
reactNative.Text,
|
|
11931
11840
|
{
|
|
11932
|
-
style: [
|
|
11841
|
+
style: [styles75.miniSubtitle, { color: theme.colors.textSecondary }],
|
|
11933
11842
|
numberOfLines: 1,
|
|
11934
11843
|
children: subtitle
|
|
11935
11844
|
}
|
|
@@ -11946,13 +11855,13 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11946
11855
|
]
|
|
11947
11856
|
}
|
|
11948
11857
|
),
|
|
11949
|
-
activeState === "expanded" && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
11950
|
-
artwork != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
11951
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
11858
|
+
activeState === "expanded" && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles75.expanded, children: [
|
|
11859
|
+
artwork != null && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles75.expandedArtwork, children: artwork }),
|
|
11860
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles75.expandedText, children: [
|
|
11952
11861
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11953
11862
|
reactNative.Text,
|
|
11954
11863
|
{
|
|
11955
|
-
style: [
|
|
11864
|
+
style: [styles75.expandedTitle, { color: theme.colors.text }],
|
|
11956
11865
|
numberOfLines: 1,
|
|
11957
11866
|
children: title ?? "Not playing"
|
|
11958
11867
|
}
|
|
@@ -11960,17 +11869,17 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11960
11869
|
subtitle != null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11961
11870
|
reactNative.Text,
|
|
11962
11871
|
{
|
|
11963
|
-
style: [
|
|
11872
|
+
style: [styles75.expandedSubtitle, { color: theme.colors.textSecondary }],
|
|
11964
11873
|
numberOfLines: 1,
|
|
11965
11874
|
children: subtitle
|
|
11966
11875
|
}
|
|
11967
11876
|
)
|
|
11968
11877
|
] }),
|
|
11969
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
11878
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles75.progressTrack, { backgroundColor: theme.colors.border }], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11970
11879
|
reactNative.View,
|
|
11971
11880
|
{
|
|
11972
11881
|
style: [
|
|
11973
|
-
|
|
11882
|
+
styles75.progressFill,
|
|
11974
11883
|
{
|
|
11975
11884
|
backgroundColor: theme.colors.primary,
|
|
11976
11885
|
width: `${clampedProgress * 100}%`
|
|
@@ -11978,7 +11887,7 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11978
11887
|
]
|
|
11979
11888
|
}
|
|
11980
11889
|
) }),
|
|
11981
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
11890
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles75.controls, children: [
|
|
11982
11891
|
/* @__PURE__ */ jsxRuntime.jsx(ControlButton, { label: "\u23EE", onPress: onPrevious, size: 28 }),
|
|
11983
11892
|
/* @__PURE__ */ jsxRuntime.jsx(ControlButton, { label: isPlaying ? "\u23F8" : "\u25B6", onPress: onPlayPause, size: 36 }),
|
|
11984
11893
|
/* @__PURE__ */ jsxRuntime.jsx(ControlButton, { label: "\u23ED", onPress: onNext, size: 28 })
|
|
@@ -11987,10 +11896,10 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11987
11896
|
reactNative.Pressable,
|
|
11988
11897
|
{
|
|
11989
11898
|
onPress: () => setActiveState("mini"),
|
|
11990
|
-
style:
|
|
11899
|
+
style: styles75.collapseBtn,
|
|
11991
11900
|
accessibilityRole: "button",
|
|
11992
11901
|
accessibilityLabel: "Collapse media player",
|
|
11993
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
11902
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles75.collapseLabel, { color: theme.colors.textSecondary }], children: "\u2228" })
|
|
11994
11903
|
}
|
|
11995
11904
|
)
|
|
11996
11905
|
] })
|
|
@@ -11998,7 +11907,7 @@ var FloatingMediaPanel = React38__default.default.memo(
|
|
|
11998
11907
|
}
|
|
11999
11908
|
);
|
|
12000
11909
|
FloatingMediaPanel.displayName = "FloatingMediaPanel";
|
|
12001
|
-
var
|
|
11910
|
+
var styles75 = reactNative.StyleSheet.create({
|
|
12002
11911
|
wrapper: {
|
|
12003
11912
|
borderRadius: 20,
|
|
12004
11913
|
overflow: "hidden"
|
|
@@ -12541,5 +12450,5 @@ exports.VStack = VStack;
|
|
|
12541
12450
|
exports.snackbar = snackbar;
|
|
12542
12451
|
exports.toast = toast;
|
|
12543
12452
|
exports.useFormControl = useFormControl;
|
|
12544
|
-
//# sourceMappingURL=chunk-
|
|
12545
|
-
//# sourceMappingURL=chunk-
|
|
12453
|
+
//# sourceMappingURL=chunk-QWNBJBUF.js.map
|
|
12454
|
+
//# sourceMappingURL=chunk-QWNBJBUF.js.map
|