@ecohouse/ui 0.1.35 → 0.1.36
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/README.md +1 -0
- package/dist/index.cjs +508 -347
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +158 -128
- package/dist/index.d.ts +158 -128
- package/dist/index.js +505 -348
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SegmentedToggle/SegmentedToggle.stories.tsx +9 -0
- package/src/components/SegmentedToggle/SegmentedToggle.tsx +19 -13
- package/src/icons/MoreHorizontal/MoreHorizontalIcon.tsx +26 -0
- package/src/icons/MoreHorizontal/MoreHorizontalIcon.web.tsx +25 -0
- package/src/icons/MoreHorizontal/index.ts +1 -0
- package/src/icons/MoreHorizontal/moreHorizontalPath.ts +2 -0
- package/src/icons/TableView/TableViewIcon.tsx +20 -0
- package/src/icons/TableView/TableViewIcon.web.tsx +26 -0
- package/src/icons/TableView/index.ts +1 -0
- package/src/icons/TableView/tableViewPath.ts +2 -0
- package/src/icons/index.ts +2 -0
- package/src/icons/registry.ts +6 -0
- package/src/index.ts +6 -0
- package/src/primitives/IconStatusBadge/IconStatusBadge.stories.tsx +21 -0
- package/src/primitives/IconStatusBadge/IconStatusBadge.tsx +76 -0
- package/src/primitives/IconStatusBadge/index.ts +2 -0
- package/src/primitives/InfoCardV2/InfoCardV2.stories.tsx +64 -0
- package/src/primitives/InfoCardV2/InfoCardV2.tsx +116 -0
- package/src/primitives/InfoCardV2/index.ts +2 -0
- package/src/primitives/index.ts +7 -0
package/dist/index.cjs
CHANGED
|
@@ -9455,15 +9455,15 @@ var require_react_dom_development = __commonJS({
|
|
|
9455
9455
|
};
|
|
9456
9456
|
}
|
|
9457
9457
|
var warnValidStyle$1 = warnValidStyle;
|
|
9458
|
-
function createDangerousStringForStyles(
|
|
9458
|
+
function createDangerousStringForStyles(styles36) {
|
|
9459
9459
|
{
|
|
9460
9460
|
var serialized = "";
|
|
9461
9461
|
var delimiter = "";
|
|
9462
|
-
for (var styleName in
|
|
9463
|
-
if (!
|
|
9462
|
+
for (var styleName in styles36) {
|
|
9463
|
+
if (!styles36.hasOwnProperty(styleName)) {
|
|
9464
9464
|
continue;
|
|
9465
9465
|
}
|
|
9466
|
-
var styleValue =
|
|
9466
|
+
var styleValue = styles36[styleName];
|
|
9467
9467
|
if (styleValue != null) {
|
|
9468
9468
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9469
9469
|
serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName(styleName)) + ":";
|
|
@@ -9474,19 +9474,19 @@ var require_react_dom_development = __commonJS({
|
|
|
9474
9474
|
return serialized || null;
|
|
9475
9475
|
}
|
|
9476
9476
|
}
|
|
9477
|
-
function setValueForStyles(node,
|
|
9477
|
+
function setValueForStyles(node, styles36) {
|
|
9478
9478
|
var style2 = node.style;
|
|
9479
|
-
for (var styleName in
|
|
9480
|
-
if (!
|
|
9479
|
+
for (var styleName in styles36) {
|
|
9480
|
+
if (!styles36.hasOwnProperty(styleName)) {
|
|
9481
9481
|
continue;
|
|
9482
9482
|
}
|
|
9483
9483
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9484
9484
|
{
|
|
9485
9485
|
if (!isCustomProperty) {
|
|
9486
|
-
warnValidStyle$1(styleName,
|
|
9486
|
+
warnValidStyle$1(styleName, styles36[styleName]);
|
|
9487
9487
|
}
|
|
9488
9488
|
}
|
|
9489
|
-
var styleValue = dangerousStyleValue(styleName,
|
|
9489
|
+
var styleValue = dangerousStyleValue(styleName, styles36[styleName], isCustomProperty);
|
|
9490
9490
|
if (styleName === "float") {
|
|
9491
9491
|
styleName = "cssFloat";
|
|
9492
9492
|
}
|
|
@@ -9500,9 +9500,9 @@ var require_react_dom_development = __commonJS({
|
|
|
9500
9500
|
function isValueEmpty(value) {
|
|
9501
9501
|
return value == null || typeof value === "boolean" || value === "";
|
|
9502
9502
|
}
|
|
9503
|
-
function expandShorthandMap(
|
|
9503
|
+
function expandShorthandMap(styles36) {
|
|
9504
9504
|
var expanded = {};
|
|
9505
|
-
for (var key in
|
|
9505
|
+
for (var key in styles36) {
|
|
9506
9506
|
var longhands = shorthandToLonghand[key] || [key];
|
|
9507
9507
|
for (var i = 0; i < longhands.length; i++) {
|
|
9508
9508
|
expanded[longhands[i]] = key;
|
|
@@ -29699,6 +29699,26 @@ function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
29699
29699
|
) });
|
|
29700
29700
|
}
|
|
29701
29701
|
|
|
29702
|
+
// src/icons/MoreHorizontal/moreHorizontalPath.ts
|
|
29703
|
+
var MORE_HORIZONTAL_PATH = "M6.33333 2.33333C6.70152 2.33333 7 2.03486 7 1.66667C7 1.29848 6.70152 1 6.33333 1C5.96514 1 5.66667 1.29848 5.66667 1.66667C5.66667 2.03486 5.96514 2.33333 6.33333 2.33333ZM11 2.33333C11.3682 2.33333 11.6667 2.03486 11.6667 1.66667C11.6667 1.29848 11.3682 1 11 1C10.6318 1 10.3333 1.29848 10.3333 1.66667C10.3333 2.03486 10.6318 2.33333 11 2.33333ZM1.66667 2.33333C2.03486 2.33333 2.33333 2.03486 2.33333 1.66667C2.33333 1.29848 2.03486 1 1.66667 1C1.29848 1 1 1.29848 1 1.66667C1 2.03486 1.29848 2.33333 1.66667 2.33333Z";
|
|
29704
|
+
var ASPECT_RATIO = 4 / 13;
|
|
29705
|
+
function MoreHorizontalIcon({
|
|
29706
|
+
size = 13,
|
|
29707
|
+
color = colors.white,
|
|
29708
|
+
strokeWidth = 2
|
|
29709
|
+
}) {
|
|
29710
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg20__default.default, { width: size, height: size * ASPECT_RATIO, viewBox: "0 0 13 4", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29711
|
+
Svg20.Path,
|
|
29712
|
+
{
|
|
29713
|
+
d: MORE_HORIZONTAL_PATH,
|
|
29714
|
+
stroke: color,
|
|
29715
|
+
strokeWidth,
|
|
29716
|
+
strokeLinecap: "round",
|
|
29717
|
+
strokeLinejoin: "round"
|
|
29718
|
+
}
|
|
29719
|
+
) });
|
|
29720
|
+
}
|
|
29721
|
+
|
|
29702
29722
|
// src/icons/Navigate/navigatePath.ts
|
|
29703
29723
|
var NAVIGATE_PATH = "M5.691 14.2339C11.5836 17.7694 16.2976 13.0554 15.7084 4.21658C6.86968 3.62732 2.15584 8.34151 5.691 14.2339ZM5.691 14.2339C5.69093 14.2338 5.69107 14.234 5.691 14.2339ZM5.691 14.2339L4.16675 15.7576M5.691 14.2339L8.88079 11.0436";
|
|
29704
29724
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
@@ -29924,6 +29944,21 @@ function StarFilledIcon({
|
|
|
29924
29944
|
) });
|
|
29925
29945
|
}
|
|
29926
29946
|
|
|
29947
|
+
// src/icons/TableView/tableViewPath.ts
|
|
29948
|
+
var TABLE_VIEW_PATH = "M1 6L16 6M6 1L6 16M5 1H12C13.4001 1 14.1002 1 14.635 1.27248C15.1054 1.51217 15.4878 1.89462 15.7275 2.36502C16 2.8998 16 3.59987 16 5V12C16 13.4001 16 14.1002 15.7275 14.635C15.4878 15.1054 15.1054 15.4878 14.635 15.7275C14.1002 16 13.4001 16 12 16H5C3.59987 16 2.8998 16 2.36502 15.7275C1.89462 15.4878 1.51217 15.1054 1.27248 14.635C1 14.1002 1 13.4001 1 12V5C1 3.59987 1 2.8998 1.27248 2.36502C1.51217 1.89462 1.89462 1.51217 2.36502 1.27248C2.8998 1 3.59987 1 5 1Z";
|
|
29949
|
+
function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
29950
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg20__default.default, { width: size, height: size, viewBox: "0 0 17 17", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29951
|
+
Svg20.Path,
|
|
29952
|
+
{
|
|
29953
|
+
d: TABLE_VIEW_PATH,
|
|
29954
|
+
stroke: color,
|
|
29955
|
+
strokeWidth,
|
|
29956
|
+
strokeLinecap: "round",
|
|
29957
|
+
strokeLinejoin: "round"
|
|
29958
|
+
}
|
|
29959
|
+
) });
|
|
29960
|
+
}
|
|
29961
|
+
|
|
29927
29962
|
// src/icons/User/userPath.ts
|
|
29928
29963
|
var USER_PATH = "M15.8334 17.5C15.8334 14.2783 13.2217 11.6667 10 11.6667C6.77836 11.6667 4.16669 14.2783 4.16669 17.5M10 9.16667C8.15907 9.16667 6.66669 7.67428 6.66669 5.83333C6.66669 3.99238 8.15907 2.5 10 2.5C11.841 2.5 13.3334 3.99238 13.3334 5.83333C13.3334 7.67428 11.841 9.16667 10 9.16667Z";
|
|
29929
29964
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
@@ -30049,6 +30084,7 @@ var icons = {
|
|
|
30049
30084
|
menu: MenuIcon,
|
|
30050
30085
|
menuLines: MenuLinesIcon,
|
|
30051
30086
|
minus: MinusIcon,
|
|
30087
|
+
moreHorizontal: MoreHorizontalIcon,
|
|
30052
30088
|
navigate: NavigateIcon,
|
|
30053
30089
|
noSmoking: NoSmokingIcon,
|
|
30054
30090
|
paw: PawIcon,
|
|
@@ -30068,6 +30104,7 @@ var icons = {
|
|
|
30068
30104
|
sort: SortIcon,
|
|
30069
30105
|
star: StarIcon,
|
|
30070
30106
|
starFilled: StarFilledIcon,
|
|
30107
|
+
tableView: TableViewIcon,
|
|
30071
30108
|
tooltipArrow: TooltipArrowIcon,
|
|
30072
30109
|
trash: TrashIcon,
|
|
30073
30110
|
user: UserIcon,
|
|
@@ -30092,7 +30129,8 @@ var iconGroups = {
|
|
|
30092
30129
|
"mapView",
|
|
30093
30130
|
"menu",
|
|
30094
30131
|
"menuLines",
|
|
30095
|
-
"navigate"
|
|
30132
|
+
"navigate",
|
|
30133
|
+
"tableView"
|
|
30096
30134
|
],
|
|
30097
30135
|
actions: [
|
|
30098
30136
|
"show",
|
|
@@ -30123,6 +30161,7 @@ var iconGroups = {
|
|
|
30123
30161
|
"star",
|
|
30124
30162
|
"starFilled",
|
|
30125
30163
|
"minus",
|
|
30164
|
+
"moreHorizontal",
|
|
30126
30165
|
"plus",
|
|
30127
30166
|
"refresh",
|
|
30128
30167
|
"refundStatus",
|
|
@@ -30520,7 +30559,87 @@ var styles2 = reactNative.StyleSheet.create({
|
|
|
30520
30559
|
flex: 1
|
|
30521
30560
|
}
|
|
30522
30561
|
});
|
|
30523
|
-
var
|
|
30562
|
+
var ICON_SLOT_SIZE = 41;
|
|
30563
|
+
var ICON_SIZE2 = 20;
|
|
30564
|
+
var InfoCardV2 = react.forwardRef(
|
|
30565
|
+
function InfoCardV22({
|
|
30566
|
+
label,
|
|
30567
|
+
value,
|
|
30568
|
+
icon: Icon2,
|
|
30569
|
+
iconProps,
|
|
30570
|
+
iconSize = ICON_SIZE2,
|
|
30571
|
+
style,
|
|
30572
|
+
className,
|
|
30573
|
+
accessibilityLabel,
|
|
30574
|
+
...rest
|
|
30575
|
+
}, forwardedRef) {
|
|
30576
|
+
const containerRef = react.useRef(null);
|
|
30577
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
30578
|
+
useApplyWebClassName(containerRef, className?.trim() || void 0);
|
|
30579
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30580
|
+
reactNative.View,
|
|
30581
|
+
{
|
|
30582
|
+
...rest,
|
|
30583
|
+
ref: setContainerRef,
|
|
30584
|
+
accessibilityRole: "text",
|
|
30585
|
+
accessibilityLabel: accessibilityLabel ?? `${label}. ${value}`,
|
|
30586
|
+
style: [styles3.root, style],
|
|
30587
|
+
children: [
|
|
30588
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles3.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.primary }) }),
|
|
30589
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles3.content, children: [
|
|
30590
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles3.label, children: label }),
|
|
30591
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles3.value, children: value })
|
|
30592
|
+
] })
|
|
30593
|
+
]
|
|
30594
|
+
}
|
|
30595
|
+
);
|
|
30596
|
+
}
|
|
30597
|
+
);
|
|
30598
|
+
var styles3 = reactNative.StyleSheet.create({
|
|
30599
|
+
root: {
|
|
30600
|
+
minHeight: 65,
|
|
30601
|
+
padding: 12,
|
|
30602
|
+
flexDirection: "row",
|
|
30603
|
+
alignItems: "center",
|
|
30604
|
+
flexGrow: 1,
|
|
30605
|
+
flexShrink: 0,
|
|
30606
|
+
flexBasis: 0,
|
|
30607
|
+
gap: 16,
|
|
30608
|
+
borderRadius: 16,
|
|
30609
|
+
backgroundColor: colors.grey700
|
|
30610
|
+
},
|
|
30611
|
+
iconSlot: {
|
|
30612
|
+
width: ICON_SLOT_SIZE,
|
|
30613
|
+
height: ICON_SLOT_SIZE,
|
|
30614
|
+
borderRadius: 10,
|
|
30615
|
+
alignItems: "center",
|
|
30616
|
+
justifyContent: "center",
|
|
30617
|
+
flexShrink: 0,
|
|
30618
|
+
backgroundColor: colors.grey600
|
|
30619
|
+
},
|
|
30620
|
+
content: {
|
|
30621
|
+
minWidth: 0,
|
|
30622
|
+
flexShrink: 1,
|
|
30623
|
+
gap: 6
|
|
30624
|
+
},
|
|
30625
|
+
label: {
|
|
30626
|
+
fontFamily: fonts.sans,
|
|
30627
|
+
fontSize: 14,
|
|
30628
|
+
fontWeight: "500",
|
|
30629
|
+
lineHeight: 16,
|
|
30630
|
+
letterSpacing: 0,
|
|
30631
|
+
color: colors.lightGrey
|
|
30632
|
+
},
|
|
30633
|
+
value: {
|
|
30634
|
+
fontFamily: fonts.sans,
|
|
30635
|
+
fontSize: 16,
|
|
30636
|
+
fontWeight: "700",
|
|
30637
|
+
lineHeight: 19,
|
|
30638
|
+
letterSpacing: 0,
|
|
30639
|
+
color: colors.white
|
|
30640
|
+
}
|
|
30641
|
+
});
|
|
30642
|
+
var ICON_SIZE3 = 16;
|
|
30524
30643
|
var BACKGROUND_COLOR = "#09090966";
|
|
30525
30644
|
var webBlurStyle = reactNative.Platform.OS === "web" ? {
|
|
30526
30645
|
backdropFilter: "blur(10px)",
|
|
@@ -30561,10 +30680,10 @@ var FavoritesButton = react.forwardRef(
|
|
|
30561
30680
|
hitSlop,
|
|
30562
30681
|
onPress: handlePress,
|
|
30563
30682
|
style: ({ pressed }) => [
|
|
30564
|
-
|
|
30683
|
+
styles4.button,
|
|
30565
30684
|
webBlurStyle,
|
|
30566
|
-
pressed &&
|
|
30567
|
-
disabled &&
|
|
30685
|
+
pressed && styles4.pressed,
|
|
30686
|
+
disabled && styles4.disabled,
|
|
30568
30687
|
style
|
|
30569
30688
|
],
|
|
30570
30689
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -30572,7 +30691,7 @@ var FavoritesButton = react.forwardRef(
|
|
|
30572
30691
|
{
|
|
30573
30692
|
color: isActive ? colors.red : colors.white,
|
|
30574
30693
|
fillOpacity: isActive ? 1 : 0,
|
|
30575
|
-
size:
|
|
30694
|
+
size: ICON_SIZE3,
|
|
30576
30695
|
strokeWidth: 2
|
|
30577
30696
|
}
|
|
30578
30697
|
)
|
|
@@ -30580,7 +30699,7 @@ var FavoritesButton = react.forwardRef(
|
|
|
30580
30699
|
);
|
|
30581
30700
|
}
|
|
30582
30701
|
);
|
|
30583
|
-
var
|
|
30702
|
+
var styles4 = reactNative.StyleSheet.create({
|
|
30584
30703
|
button: {
|
|
30585
30704
|
padding: 12,
|
|
30586
30705
|
gap: 10,
|
|
@@ -30599,6 +30718,44 @@ var styles3 = reactNative.StyleSheet.create({
|
|
|
30599
30718
|
opacity: 0.5
|
|
30600
30719
|
}
|
|
30601
30720
|
});
|
|
30721
|
+
var webBlurStyle2 = reactNative.Platform.OS === "web" ? {
|
|
30722
|
+
backdropFilter: "blur(10px)",
|
|
30723
|
+
WebkitBackdropFilter: "blur(10px)"
|
|
30724
|
+
} : {};
|
|
30725
|
+
var IconStatusBadge = react.forwardRef(
|
|
30726
|
+
function IconStatusBadge2({ label, icon: Icon2, iconProps, iconSize = 16, style, className, ...rest }, forwardedRef) {
|
|
30727
|
+
const badgeRef = react.useRef(null);
|
|
30728
|
+
const setBadgeRef = react.useMemo(() => mergeRefs(badgeRef, forwardedRef), [forwardedRef]);
|
|
30729
|
+
useApplyWebClassName(badgeRef, className);
|
|
30730
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setBadgeRef, style: [styles5.root, webBlurStyle2, style], children: [
|
|
30731
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize }),
|
|
30732
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles5.label, children: label })
|
|
30733
|
+
] });
|
|
30734
|
+
}
|
|
30735
|
+
);
|
|
30736
|
+
var styles5 = reactNative.StyleSheet.create({
|
|
30737
|
+
root: {
|
|
30738
|
+
minHeight: 34,
|
|
30739
|
+
paddingHorizontal: 12,
|
|
30740
|
+
paddingVertical: 8,
|
|
30741
|
+
flexDirection: "row",
|
|
30742
|
+
alignItems: "center",
|
|
30743
|
+
justifyContent: "center",
|
|
30744
|
+
gap: 10,
|
|
30745
|
+
alignSelf: "flex-start",
|
|
30746
|
+
borderRadius: 39,
|
|
30747
|
+
borderWidth: 1,
|
|
30748
|
+
borderColor: colors.whiteAlpha10,
|
|
30749
|
+
backgroundColor: "#09090966"
|
|
30750
|
+
},
|
|
30751
|
+
label: {
|
|
30752
|
+
color: colors.white,
|
|
30753
|
+
fontFamily: fonts.sans,
|
|
30754
|
+
fontSize: 12,
|
|
30755
|
+
fontWeight: "700",
|
|
30756
|
+
lineHeight: 15
|
|
30757
|
+
}
|
|
30758
|
+
});
|
|
30602
30759
|
|
|
30603
30760
|
// src/primitives/BrandLogo/brandLogoPaths.ts
|
|
30604
30761
|
var BRAND_LOGO_PATHS = [
|
|
@@ -30758,7 +30915,7 @@ var Avatar = react.forwardRef(function Avatar2({
|
|
|
30758
30915
|
}, [isOpen, closeAndFocusTrigger]);
|
|
30759
30916
|
const hasImage = Boolean(imageUrl) && !imageFailed;
|
|
30760
30917
|
const resolvedAccessibilityLabel = accessibilityLabel ?? [name, email].filter(Boolean).join(", ");
|
|
30761
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: wrapperRef, style: [
|
|
30918
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: wrapperRef, style: [styles6.wrapper, isOpen && styles6.wrapperOpen], children: [
|
|
30762
30919
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
30763
30920
|
reactNative.Pressable,
|
|
30764
30921
|
{
|
|
@@ -30770,25 +30927,25 @@ var Avatar = react.forwardRef(function Avatar2({
|
|
|
30770
30927
|
accessibilityRole: isInteractive ? "button" : void 0,
|
|
30771
30928
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
30772
30929
|
accessibilityState: isInteractive ? { disabled, expanded: hasMenu ? isOpen : void 0 } : void 0,
|
|
30773
|
-
style: [
|
|
30930
|
+
style: [styles6.root, disabled && styles6.disabled, style],
|
|
30774
30931
|
children: [
|
|
30775
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
30932
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles6.imageWrap, children: hasImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
30776
30933
|
reactNative.Image,
|
|
30777
30934
|
{
|
|
30778
30935
|
source: { uri: imageUrl ?? void 0 },
|
|
30779
|
-
style:
|
|
30936
|
+
style: styles6.image,
|
|
30780
30937
|
onError: () => setImageFailed(true)
|
|
30781
30938
|
}
|
|
30782
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
30783
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
30784
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
30785
|
-
email ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
30939
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles6.imageFallback, children: /* @__PURE__ */ jsxRuntime.jsx(UserIcon, { size: FALLBACK_ICON_SIZE, color: colors.primary }) }) }),
|
|
30940
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles6.textColumn, children: [
|
|
30941
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles6.name, numberOfLines: 1, children: name }),
|
|
30942
|
+
email ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles6.email, numberOfLines: 1, children: email }) : null
|
|
30786
30943
|
] }),
|
|
30787
|
-
showChevron ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
30944
|
+
showChevron ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles6.chevronSlot, isOpen && styles6.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: CHEVRON_SIZE, color: isOpen ? colors.primary : colors.grey100 }) }) : null
|
|
30788
30945
|
]
|
|
30789
30946
|
}
|
|
30790
30947
|
),
|
|
30791
|
-
hasMenu && isOpen ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
30948
|
+
hasMenu && isOpen ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles6.menu, menuWidth != null && { right: void 0, width: menuWidth }], children: resolvedMenuItems.map((item) => {
|
|
30792
30949
|
const itemKey = item.key ?? item.label;
|
|
30793
30950
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30794
30951
|
MenuItem,
|
|
@@ -30805,7 +30962,7 @@ var Avatar = react.forwardRef(function Avatar2({
|
|
|
30805
30962
|
}) }) : null
|
|
30806
30963
|
] });
|
|
30807
30964
|
});
|
|
30808
|
-
var
|
|
30965
|
+
var styles6 = reactNative.StyleSheet.create({
|
|
30809
30966
|
wrapper: {
|
|
30810
30967
|
position: "relative",
|
|
30811
30968
|
alignSelf: "flex-start"
|
|
@@ -30916,23 +31073,23 @@ var AvatarSimple = react.forwardRef(
|
|
|
30916
31073
|
{
|
|
30917
31074
|
...rest,
|
|
30918
31075
|
ref: setContainerRef,
|
|
30919
|
-
style: [
|
|
31076
|
+
style: [styles7.root, compact ? styles7.rootCompact : styles7.rootCard, style],
|
|
30920
31077
|
accessibilityRole: "summary",
|
|
30921
31078
|
accessibilityLabel: `${name}, ${email}`,
|
|
30922
31079
|
children: [
|
|
30923
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
31080
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles7.avatar, children: showImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
30924
31081
|
reactNative.Image,
|
|
30925
31082
|
{
|
|
30926
31083
|
source: { uri: imageUrl ?? void 0 },
|
|
30927
|
-
style:
|
|
31084
|
+
style: styles7.avatarImage,
|
|
30928
31085
|
onError: () => setImageFailed(true),
|
|
30929
31086
|
accessibilityIgnoresInvertColors: true
|
|
30930
31087
|
}
|
|
30931
31088
|
) : null }),
|
|
30932
|
-
!compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
30933
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
30934
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
30935
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31089
|
+
!compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles7.details, children: [
|
|
31090
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles7.textBlock, children: [
|
|
31091
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles7.name, numberOfLines: 1, ellipsizeMode: "tail", children: name }),
|
|
31092
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles7.email, numberOfLines: 1, ellipsizeMode: "tail", children: email })
|
|
30936
31093
|
] }),
|
|
30937
31094
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30938
31095
|
reactNative.Pressable,
|
|
@@ -30941,7 +31098,7 @@ var AvatarSimple = react.forwardRef(
|
|
|
30941
31098
|
accessibilityRole: "button",
|
|
30942
31099
|
accessibilityLabel: logOutAccessibilityLabel,
|
|
30943
31100
|
hitSlop: 8,
|
|
30944
|
-
style:
|
|
31101
|
+
style: styles7.logOutButton,
|
|
30945
31102
|
children: /* @__PURE__ */ jsxRuntime.jsx(LogOutIcon, { color: colors.primary, size: LOG_OUT_SIZE, strokeWidth: 2 })
|
|
30946
31103
|
}
|
|
30947
31104
|
)
|
|
@@ -30951,7 +31108,7 @@ var AvatarSimple = react.forwardRef(
|
|
|
30951
31108
|
);
|
|
30952
31109
|
}
|
|
30953
31110
|
);
|
|
30954
|
-
var
|
|
31111
|
+
var styles7 = reactNative.StyleSheet.create({
|
|
30955
31112
|
root: {
|
|
30956
31113
|
flexDirection: "row",
|
|
30957
31114
|
alignItems: "center",
|
|
@@ -31060,15 +31217,15 @@ var AccountHeader = react.forwardRef(
|
|
|
31060
31217
|
...webClassName(className),
|
|
31061
31218
|
ref: setContainerRef,
|
|
31062
31219
|
accessibilityRole: "header",
|
|
31063
|
-
style: [
|
|
31220
|
+
style: [styles8.base, style],
|
|
31064
31221
|
children: [
|
|
31065
31222
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
31066
31223
|
reactNative.View,
|
|
31067
31224
|
{
|
|
31068
31225
|
style: [
|
|
31069
|
-
|
|
31070
|
-
showBack ?
|
|
31071
|
-
showMenu ?
|
|
31226
|
+
styles8.start,
|
|
31227
|
+
showBack ? styles8.startWithBack : null,
|
|
31228
|
+
showMenu ? styles8.startWithMenu : null
|
|
31072
31229
|
],
|
|
31073
31230
|
children: [
|
|
31074
31231
|
showBack ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31078,7 +31235,7 @@ var AccountHeader = react.forwardRef(
|
|
|
31078
31235
|
accessibilityLabel: backAccessibilityLabel,
|
|
31079
31236
|
hitSlop: 8,
|
|
31080
31237
|
onPress: onBackPress,
|
|
31081
|
-
style:
|
|
31238
|
+
style: styles8.iconButton,
|
|
31082
31239
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31083
31240
|
ChevronLeftIcon,
|
|
31084
31241
|
{
|
|
@@ -31099,34 +31256,34 @@ var AccountHeader = react.forwardRef(
|
|
|
31099
31256
|
accessibilityLabel: menuAccessibilityLabel,
|
|
31100
31257
|
hitSlop: 8,
|
|
31101
31258
|
onPress: onMenuPress,
|
|
31102
|
-
style:
|
|
31259
|
+
style: styles8.menuButton,
|
|
31103
31260
|
children: /* @__PURE__ */ jsxRuntime.jsx(MenuLinesIcon, { color: colors.white, size: MENU_ICON_SIZE, strokeWidth: 2 })
|
|
31104
31261
|
}
|
|
31105
31262
|
) : null,
|
|
31106
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31263
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.titleRow, children: [
|
|
31107
31264
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31108
31265
|
reactNative.Text,
|
|
31109
31266
|
{
|
|
31110
31267
|
...webClassName("account-header-title"),
|
|
31111
31268
|
numberOfLines: 1,
|
|
31112
|
-
style: [
|
|
31269
|
+
style: [styles8.title, titleStyle],
|
|
31113
31270
|
children: title
|
|
31114
31271
|
}
|
|
31115
31272
|
),
|
|
31116
|
-
badge != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
31273
|
+
badge != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles8.badgeSlot, children: badge }) : null
|
|
31117
31274
|
] })
|
|
31118
31275
|
]
|
|
31119
31276
|
}
|
|
31120
31277
|
),
|
|
31121
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31122
|
-
languageSlot != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
31278
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.end, children: [
|
|
31279
|
+
languageSlot != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles8.languageSlot, children: languageSlot }) : null,
|
|
31123
31280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31124
31281
|
reactNative.Pressable,
|
|
31125
31282
|
{
|
|
31126
31283
|
accessibilityRole: "button",
|
|
31127
31284
|
accessibilityLabel: notificationsAccessibilityLabel,
|
|
31128
31285
|
onPress: onNotificationsPress,
|
|
31129
|
-
style:
|
|
31286
|
+
style: styles8.iconButton,
|
|
31130
31287
|
children: /* @__PURE__ */ jsxRuntime.jsx(BellIcon, { color: colors.white, size: ICON_BUTTON_ICON_SIZE, strokeWidth: 1.5 })
|
|
31131
31288
|
}
|
|
31132
31289
|
)
|
|
@@ -31136,7 +31293,7 @@ var AccountHeader = react.forwardRef(
|
|
|
31136
31293
|
);
|
|
31137
31294
|
}
|
|
31138
31295
|
);
|
|
31139
|
-
var
|
|
31296
|
+
var styles8 = reactNative.StyleSheet.create({
|
|
31140
31297
|
base: {
|
|
31141
31298
|
height: HEADER_HEIGHT,
|
|
31142
31299
|
width: "100%",
|
|
@@ -31219,8 +31376,8 @@ var styles6 = reactNative.StyleSheet.create({
|
|
|
31219
31376
|
flexShrink: 0
|
|
31220
31377
|
}
|
|
31221
31378
|
});
|
|
31222
|
-
var
|
|
31223
|
-
var
|
|
31379
|
+
var ICON_SIZE4 = 20;
|
|
31380
|
+
var webBlurStyle3 = reactNative.Platform.OS === "web" ? {
|
|
31224
31381
|
backdropFilter: "blur(10.3px)",
|
|
31225
31382
|
WebkitBackdropFilter: "blur(10.3px)"
|
|
31226
31383
|
} : {};
|
|
@@ -31250,22 +31407,22 @@ var Badge = react.forwardRef(function Badge2({ label, variant = "default", icon:
|
|
|
31250
31407
|
...rest,
|
|
31251
31408
|
ref: setContainerRef,
|
|
31252
31409
|
style: [
|
|
31253
|
-
|
|
31410
|
+
styles9.base,
|
|
31254
31411
|
{ backgroundColor: preset.backgroundColor },
|
|
31255
|
-
preset.border ?
|
|
31256
|
-
preset.blur ?
|
|
31412
|
+
preset.border ? styles9.transparentBorder : null,
|
|
31413
|
+
preset.blur ? webBlurStyle3 : null,
|
|
31257
31414
|
style
|
|
31258
31415
|
],
|
|
31259
31416
|
accessibilityRole: "text",
|
|
31260
31417
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
31261
31418
|
children: [
|
|
31262
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
31263
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
31419
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles9.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE4, color: preset.iconColor }) }) : null,
|
|
31420
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.label, reactNative.Platform.OS === "android" ? styles9.labelAndroid : null], children: label })
|
|
31264
31421
|
]
|
|
31265
31422
|
}
|
|
31266
31423
|
);
|
|
31267
31424
|
});
|
|
31268
|
-
var
|
|
31425
|
+
var styles9 = reactNative.StyleSheet.create({
|
|
31269
31426
|
base: {
|
|
31270
31427
|
flexDirection: "row",
|
|
31271
31428
|
alignItems: "center",
|
|
@@ -31286,8 +31443,8 @@ var styles7 = reactNative.StyleSheet.create({
|
|
|
31286
31443
|
borderStyle: "solid"
|
|
31287
31444
|
},
|
|
31288
31445
|
iconSlot: {
|
|
31289
|
-
width:
|
|
31290
|
-
height:
|
|
31446
|
+
width: ICON_SIZE4,
|
|
31447
|
+
height: ICON_SIZE4,
|
|
31291
31448
|
alignItems: "center",
|
|
31292
31449
|
justifyContent: "center",
|
|
31293
31450
|
flexShrink: 0
|
|
@@ -31314,7 +31471,7 @@ var toneConfig = {
|
|
|
31314
31471
|
color: colors.red
|
|
31315
31472
|
}
|
|
31316
31473
|
};
|
|
31317
|
-
var
|
|
31474
|
+
var webBlurStyle4 = reactNative.Platform.OS === "web" ? {
|
|
31318
31475
|
backdropFilter: "blur(39.5px)",
|
|
31319
31476
|
WebkitBackdropFilter: "blur(39.5px)"
|
|
31320
31477
|
} : {};
|
|
@@ -31331,14 +31488,14 @@ var StatusBadge = react.forwardRef(
|
|
|
31331
31488
|
ref: setContainerRef,
|
|
31332
31489
|
accessibilityRole: "text",
|
|
31333
31490
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
31334
|
-
style: [
|
|
31491
|
+
style: [styles10.base, { backgroundColor: preset.backgroundColor }, webBlurStyle4, style],
|
|
31335
31492
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31336
31493
|
reactNative.Text,
|
|
31337
31494
|
{
|
|
31338
31495
|
style: [
|
|
31339
|
-
|
|
31496
|
+
styles10.label,
|
|
31340
31497
|
{ color: preset.color },
|
|
31341
|
-
reactNative.Platform.OS === "android" ?
|
|
31498
|
+
reactNative.Platform.OS === "android" ? styles10.labelAndroid : null
|
|
31342
31499
|
],
|
|
31343
31500
|
children: label
|
|
31344
31501
|
}
|
|
@@ -31347,7 +31504,7 @@ var StatusBadge = react.forwardRef(
|
|
|
31347
31504
|
);
|
|
31348
31505
|
}
|
|
31349
31506
|
);
|
|
31350
|
-
var
|
|
31507
|
+
var styles10 = reactNative.StyleSheet.create({
|
|
31351
31508
|
base: {
|
|
31352
31509
|
height: 28,
|
|
31353
31510
|
minHeight: 28,
|
|
@@ -31399,7 +31556,7 @@ var PaginationDots = react.forwardRef(
|
|
|
31399
31556
|
ref: setContainerRef,
|
|
31400
31557
|
accessibilityRole: "adjustable",
|
|
31401
31558
|
accessibilityLabel: accessibilityLabel ?? `Slide ${safeActive + 1} of ${safeCount}`,
|
|
31402
|
-
style: [
|
|
31559
|
+
style: [styles11.root, style],
|
|
31403
31560
|
children: Array.from({ length: safeCount }, (_, index) => {
|
|
31404
31561
|
const active = index === safeActive;
|
|
31405
31562
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31412,8 +31569,8 @@ var PaginationDots = react.forwardRef(
|
|
|
31412
31569
|
hitSlop: 8,
|
|
31413
31570
|
onPress: () => onDotPress?.(index),
|
|
31414
31571
|
style: [
|
|
31415
|
-
|
|
31416
|
-
active ? [
|
|
31572
|
+
styles11.dot,
|
|
31573
|
+
active ? [styles11.dotActive, { width: pillWidth }] : styles11.dotInactive
|
|
31417
31574
|
]
|
|
31418
31575
|
},
|
|
31419
31576
|
index
|
|
@@ -31423,7 +31580,7 @@ var PaginationDots = react.forwardRef(
|
|
|
31423
31580
|
);
|
|
31424
31581
|
}
|
|
31425
31582
|
);
|
|
31426
|
-
var
|
|
31583
|
+
var styles11 = reactNative.StyleSheet.create({
|
|
31427
31584
|
root: {
|
|
31428
31585
|
width: TRACK_WIDTH,
|
|
31429
31586
|
flexDirection: "row",
|
|
@@ -31445,7 +31602,7 @@ var styles9 = reactNative.StyleSheet.create({
|
|
|
31445
31602
|
});
|
|
31446
31603
|
var WIDTH = 121;
|
|
31447
31604
|
var HEIGHT = 48;
|
|
31448
|
-
var
|
|
31605
|
+
var ICON_SIZE5 = 24;
|
|
31449
31606
|
var StepPager = react.forwardRef(function StepPager2({
|
|
31450
31607
|
index,
|
|
31451
31608
|
count,
|
|
@@ -31479,7 +31636,7 @@ var StepPager = react.forwardRef(function StepPager2({
|
|
|
31479
31636
|
now: safeCount === 0 ? 0 : safeIndex + 1,
|
|
31480
31637
|
text: label
|
|
31481
31638
|
},
|
|
31482
|
-
style: [
|
|
31639
|
+
style: [styles12.root, webBlurStyle5, style],
|
|
31483
31640
|
children: [
|
|
31484
31641
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31485
31642
|
reactNative.Pressable,
|
|
@@ -31490,11 +31647,11 @@ var StepPager = react.forwardRef(function StepPager2({
|
|
|
31490
31647
|
accessibilityRole: "button",
|
|
31491
31648
|
accessibilityLabel: previousAccessibilityLabel,
|
|
31492
31649
|
accessibilityState: { disabled: atStart || !onPrevious },
|
|
31493
|
-
style: [
|
|
31494
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size:
|
|
31650
|
+
style: [styles12.navButton, (atStart || !onPrevious) && styles12.navDisabled],
|
|
31651
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: ICON_SIZE5, color: colors.white, strokeWidth: 2 })
|
|
31495
31652
|
}
|
|
31496
31653
|
),
|
|
31497
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31654
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles12.label, children: label }),
|
|
31498
31655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31499
31656
|
reactNative.Pressable,
|
|
31500
31657
|
{
|
|
@@ -31504,19 +31661,19 @@ var StepPager = react.forwardRef(function StepPager2({
|
|
|
31504
31661
|
accessibilityRole: "button",
|
|
31505
31662
|
accessibilityLabel: nextAccessibilityLabel,
|
|
31506
31663
|
accessibilityState: { disabled: atEnd || !onNext },
|
|
31507
|
-
style: [
|
|
31508
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
31664
|
+
style: [styles12.navButton, (atEnd || !onNext) && styles12.navDisabled],
|
|
31665
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles12.chevronRight, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: ICON_SIZE5, color: colors.white, strokeWidth: 2 }) })
|
|
31509
31666
|
}
|
|
31510
31667
|
)
|
|
31511
31668
|
]
|
|
31512
31669
|
}
|
|
31513
31670
|
);
|
|
31514
31671
|
});
|
|
31515
|
-
var
|
|
31672
|
+
var webBlurStyle5 = reactNative.Platform.OS === "web" ? {
|
|
31516
31673
|
backdropFilter: "blur(50px)",
|
|
31517
31674
|
WebkitBackdropFilter: "blur(50px)"
|
|
31518
31675
|
} : {};
|
|
31519
|
-
var
|
|
31676
|
+
var styles12 = reactNative.StyleSheet.create({
|
|
31520
31677
|
root: {
|
|
31521
31678
|
width: WIDTH,
|
|
31522
31679
|
height: HEIGHT,
|
|
@@ -31530,8 +31687,8 @@ var styles10 = reactNative.StyleSheet.create({
|
|
|
31530
31687
|
overflow: "hidden"
|
|
31531
31688
|
},
|
|
31532
31689
|
navButton: {
|
|
31533
|
-
width:
|
|
31534
|
-
height:
|
|
31690
|
+
width: ICON_SIZE5,
|
|
31691
|
+
height: ICON_SIZE5,
|
|
31535
31692
|
alignItems: "center",
|
|
31536
31693
|
justifyContent: "center"
|
|
31537
31694
|
},
|
|
@@ -31552,13 +31709,13 @@ var styles10 = reactNative.StyleSheet.create({
|
|
|
31552
31709
|
}
|
|
31553
31710
|
});
|
|
31554
31711
|
var ICON_SLOT = 36;
|
|
31555
|
-
var
|
|
31712
|
+
var ICON_SIZE6 = 20;
|
|
31556
31713
|
var InfoTile = react.forwardRef(function InfoTile2({
|
|
31557
31714
|
title,
|
|
31558
31715
|
description,
|
|
31559
31716
|
icon: Icon2,
|
|
31560
31717
|
iconProps,
|
|
31561
|
-
iconSize =
|
|
31718
|
+
iconSize = ICON_SIZE6,
|
|
31562
31719
|
iconSlotBackgroundColor = colors.grey600,
|
|
31563
31720
|
style,
|
|
31564
31721
|
className,
|
|
@@ -31576,18 +31733,18 @@ var InfoTile = react.forwardRef(function InfoTile2({
|
|
|
31576
31733
|
ref: setContainerRef,
|
|
31577
31734
|
accessibilityRole: "text",
|
|
31578
31735
|
accessibilityLabel: accessibilityLabel ?? (hasDescription ? `${title}. ${description}` : title),
|
|
31579
|
-
style: [
|
|
31736
|
+
style: [styles13.root, style],
|
|
31580
31737
|
children: [
|
|
31581
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
31582
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31583
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31584
|
-
hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31738
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles13.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }) }),
|
|
31739
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.textBlock, children: [
|
|
31740
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles13.title, children: title }),
|
|
31741
|
+
hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles13.description, children: description }) : null
|
|
31585
31742
|
] })
|
|
31586
31743
|
]
|
|
31587
31744
|
}
|
|
31588
31745
|
);
|
|
31589
31746
|
});
|
|
31590
|
-
var
|
|
31747
|
+
var styles13 = reactNative.StyleSheet.create({
|
|
31591
31748
|
root: {
|
|
31592
31749
|
flexDirection: "row",
|
|
31593
31750
|
alignItems: "center",
|
|
@@ -31637,7 +31794,7 @@ var CARD_PADDING_DESKTOP = 24;
|
|
|
31637
31794
|
var CARD_GAP_MOBILE = 16;
|
|
31638
31795
|
var CARD_GAP_DESKTOP = 24;
|
|
31639
31796
|
var ICON_SLOT2 = 48;
|
|
31640
|
-
var
|
|
31797
|
+
var ICON_SIZE7 = 24;
|
|
31641
31798
|
var ICON_SLOT_BG = "#E38E5E0F";
|
|
31642
31799
|
var ICON_COLOR = "#B76533";
|
|
31643
31800
|
var ContactInfoCard = react.forwardRef(
|
|
@@ -31646,7 +31803,7 @@ var ContactInfoCard = react.forwardRef(
|
|
|
31646
31803
|
value,
|
|
31647
31804
|
icon: Icon2,
|
|
31648
31805
|
iconProps,
|
|
31649
|
-
iconSize =
|
|
31806
|
+
iconSize = ICON_SIZE7,
|
|
31650
31807
|
iconSlotBackgroundColor = ICON_SLOT_BG,
|
|
31651
31808
|
style,
|
|
31652
31809
|
className,
|
|
@@ -31666,7 +31823,7 @@ var ContactInfoCard = react.forwardRef(
|
|
|
31666
31823
|
accessibilityRole: "text",
|
|
31667
31824
|
accessibilityLabel: accessibilityLabel ?? `${title}. ${value}`,
|
|
31668
31825
|
style: [
|
|
31669
|
-
|
|
31826
|
+
styles14.root,
|
|
31670
31827
|
{
|
|
31671
31828
|
height: isDesktop ? CARD_HEIGHT_DESKTOP : CARD_HEIGHT_MOBILE,
|
|
31672
31829
|
gap: isDesktop ? CARD_GAP_DESKTOP : CARD_GAP_MOBILE,
|
|
@@ -31675,7 +31832,7 @@ var ContactInfoCard = react.forwardRef(
|
|
|
31675
31832
|
style
|
|
31676
31833
|
],
|
|
31677
31834
|
children: [
|
|
31678
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
31835
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31679
31836
|
Icon2,
|
|
31680
31837
|
{
|
|
31681
31838
|
...iconProps,
|
|
@@ -31684,16 +31841,16 @@ var ContactInfoCard = react.forwardRef(
|
|
|
31684
31841
|
strokeWidth: iconProps?.strokeWidth ?? 2
|
|
31685
31842
|
}
|
|
31686
31843
|
) }),
|
|
31687
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31688
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31689
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31844
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.textBlock, children: [
|
|
31845
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles14.title, children: title }),
|
|
31846
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles14.value, children: value })
|
|
31690
31847
|
] })
|
|
31691
31848
|
]
|
|
31692
31849
|
}
|
|
31693
31850
|
);
|
|
31694
31851
|
}
|
|
31695
31852
|
);
|
|
31696
|
-
var
|
|
31853
|
+
var styles14 = reactNative.StyleSheet.create({
|
|
31697
31854
|
root: {
|
|
31698
31855
|
width: "100%",
|
|
31699
31856
|
flexDirection: "row",
|
|
@@ -31798,7 +31955,7 @@ var AccordionItem = react.forwardRef(
|
|
|
31798
31955
|
inputRange: [0, 1],
|
|
31799
31956
|
outputRange: ["0deg", "180deg"]
|
|
31800
31957
|
});
|
|
31801
|
-
const bodyTextStyle = [
|
|
31958
|
+
const bodyTextStyle = [styles15.body, { fontSize: bodyFontSize, lineHeight: bodyLineHeight }];
|
|
31802
31959
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31803
31960
|
reactNative.Pressable,
|
|
31804
31961
|
{
|
|
@@ -31809,19 +31966,19 @@ var AccordionItem = react.forwardRef(
|
|
|
31809
31966
|
accessibilityLabel: accessibilityLabel ?? title,
|
|
31810
31967
|
onPress: toggle,
|
|
31811
31968
|
style: [
|
|
31812
|
-
|
|
31969
|
+
styles15.root,
|
|
31813
31970
|
{
|
|
31814
31971
|
borderRadius: isDesktop ? RADIUS_DESKTOP : RADIUS_MOBILE,
|
|
31815
31972
|
paddingRight: paddingX,
|
|
31816
31973
|
paddingLeft: paddingX
|
|
31817
31974
|
},
|
|
31818
|
-
reactNative.Platform.OS === "web" ?
|
|
31975
|
+
reactNative.Platform.OS === "web" ? styles15.rootWeb : null,
|
|
31819
31976
|
style
|
|
31820
31977
|
],
|
|
31821
31978
|
children: [
|
|
31822
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31823
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
31824
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [
|
|
31979
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.header, children: [
|
|
31980
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles15.title, children: title }),
|
|
31981
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles15.chevron, { transform: [{ rotate: chevronRotate }] }], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31825
31982
|
ChevronDownIcon,
|
|
31826
31983
|
{
|
|
31827
31984
|
size: CHEVRON_SIZE2,
|
|
@@ -31833,19 +31990,19 @@ var AccordionItem = react.forwardRef(
|
|
|
31833
31990
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31834
31991
|
reactNative.View,
|
|
31835
31992
|
{
|
|
31836
|
-
style: [
|
|
31993
|
+
style: [styles15.measureHidden, { left: paddingX, right: paddingX }],
|
|
31837
31994
|
pointerEvents: "none",
|
|
31838
31995
|
onLayout: onBodyLayout,
|
|
31839
31996
|
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: bodyTextStyle, children })
|
|
31840
31997
|
}
|
|
31841
31998
|
),
|
|
31842
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [
|
|
31999
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [styles15.bodyClip, { height: bodyHeight }], pointerEvents: "none", children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.bodyInner, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: bodyTextStyle, children }) }) })
|
|
31843
32000
|
]
|
|
31844
32001
|
}
|
|
31845
32002
|
);
|
|
31846
32003
|
}
|
|
31847
32004
|
);
|
|
31848
|
-
var
|
|
32005
|
+
var styles15 = reactNative.StyleSheet.create({
|
|
31849
32006
|
root: {
|
|
31850
32007
|
width: "100%",
|
|
31851
32008
|
paddingTop: 16,
|
|
@@ -31904,7 +32061,7 @@ var ROW_GAP = 12;
|
|
|
31904
32061
|
var CONNECTOR_WIDTH = 2;
|
|
31905
32062
|
var CONNECTOR_HEIGHT = 19;
|
|
31906
32063
|
var CONNECTOR_GAP = 8;
|
|
31907
|
-
var
|
|
32064
|
+
var webBlurStyle6 = reactNative.Platform.OS === "web" ? {
|
|
31908
32065
|
backdropFilter: "blur(20px)",
|
|
31909
32066
|
WebkitBackdropFilter: "blur(20px)"
|
|
31910
32067
|
} : {};
|
|
@@ -31922,18 +32079,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
31922
32079
|
ref: setContainerRef,
|
|
31923
32080
|
accessibilityRole: "summary",
|
|
31924
32081
|
accessibilityLabel,
|
|
31925
|
-
style: [
|
|
32082
|
+
style: [styles16.root, style],
|
|
31926
32083
|
children: steps.map((description, index) => {
|
|
31927
32084
|
const isLast = index === steps.length - 1;
|
|
31928
32085
|
const number = index + 1;
|
|
31929
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31930
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
31931
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
32086
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.stepBlock, children: [
|
|
32087
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.row, children: [
|
|
32088
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.badge, webBlurStyle6], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31932
32089
|
reactNative.Text,
|
|
31933
32090
|
{
|
|
31934
32091
|
style: [
|
|
31935
|
-
|
|
31936
|
-
reactNative.Platform.OS === "android" ?
|
|
32092
|
+
styles16.badgeLabel,
|
|
32093
|
+
reactNative.Platform.OS === "android" ? styles16.labelAndroid : null
|
|
31937
32094
|
],
|
|
31938
32095
|
children: String(number)
|
|
31939
32096
|
}
|
|
@@ -31941,18 +32098,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
31941
32098
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31942
32099
|
reactNative.Text,
|
|
31943
32100
|
{
|
|
31944
|
-
style: [
|
|
32101
|
+
style: [styles16.description, reactNative.Platform.OS === "android" ? styles16.labelAndroid : null],
|
|
31945
32102
|
children: description
|
|
31946
32103
|
}
|
|
31947
32104
|
)
|
|
31948
32105
|
] }),
|
|
31949
|
-
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
32106
|
+
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.connectorSlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.connector }) }) : null
|
|
31950
32107
|
] }, `${number}-${description}`);
|
|
31951
32108
|
})
|
|
31952
32109
|
}
|
|
31953
32110
|
);
|
|
31954
32111
|
});
|
|
31955
|
-
var
|
|
32112
|
+
var styles16 = reactNative.StyleSheet.create({
|
|
31956
32113
|
root: {
|
|
31957
32114
|
width: "100%"
|
|
31958
32115
|
},
|
|
@@ -32010,7 +32167,7 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
32010
32167
|
}
|
|
32011
32168
|
});
|
|
32012
32169
|
var BUTTON_SIZE = 32;
|
|
32013
|
-
var
|
|
32170
|
+
var webBlurStyle7 = reactNative.Platform.OS === "web" ? {
|
|
32014
32171
|
backdropFilter: "blur(20px)",
|
|
32015
32172
|
WebkitBackdropFilter: "blur(20px)"
|
|
32016
32173
|
} : {};
|
|
@@ -32047,7 +32204,7 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
32047
32204
|
if (!isControlled) setUncontrolledValue(next);
|
|
32048
32205
|
onValueChange?.(next);
|
|
32049
32206
|
};
|
|
32050
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
32207
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles17.base, style], children: [
|
|
32051
32208
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32052
32209
|
reactNative.Pressable,
|
|
32053
32210
|
{
|
|
@@ -32057,11 +32214,11 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
32057
32214
|
accessibilityRole: "button",
|
|
32058
32215
|
accessibilityLabel: "Decrease value",
|
|
32059
32216
|
accessibilityState: { disabled: decrementDisabled },
|
|
32060
|
-
style: [
|
|
32217
|
+
style: [styles17.button, webBlurStyle7, decrementDisabled && styles17.buttonDisabled],
|
|
32061
32218
|
children: /* @__PURE__ */ jsxRuntime.jsx(MinusIcon, {})
|
|
32062
32219
|
}
|
|
32063
32220
|
),
|
|
32064
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
32221
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles17.value, children: resolvedValue }),
|
|
32065
32222
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32066
32223
|
reactNative.Pressable,
|
|
32067
32224
|
{
|
|
@@ -32071,13 +32228,13 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
32071
32228
|
accessibilityRole: "button",
|
|
32072
32229
|
accessibilityLabel: "Increase value",
|
|
32073
32230
|
accessibilityState: { disabled: incrementDisabled },
|
|
32074
|
-
style: [
|
|
32231
|
+
style: [styles17.button, webBlurStyle7, incrementDisabled && styles17.buttonDisabled],
|
|
32075
32232
|
children: /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, {})
|
|
32076
32233
|
}
|
|
32077
32234
|
)
|
|
32078
32235
|
] });
|
|
32079
32236
|
});
|
|
32080
|
-
var
|
|
32237
|
+
var styles17 = reactNative.StyleSheet.create({
|
|
32081
32238
|
base: {
|
|
32082
32239
|
flexDirection: "row",
|
|
32083
32240
|
alignItems: "center",
|
|
@@ -32101,7 +32258,7 @@ var styles15 = reactNative.StyleSheet.create({
|
|
|
32101
32258
|
color: colors.white
|
|
32102
32259
|
}
|
|
32103
32260
|
});
|
|
32104
|
-
var
|
|
32261
|
+
var ICON_SIZE8 = 20;
|
|
32105
32262
|
var ANIMATION_DURATION2 = 200;
|
|
32106
32263
|
var OPTION_HORIZONTAL_PADDING = 16;
|
|
32107
32264
|
var OPTION_CONTENT_GAP = 12;
|
|
@@ -32197,14 +32354,14 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32197
32354
|
onLayout?.(event);
|
|
32198
32355
|
},
|
|
32199
32356
|
style: [
|
|
32200
|
-
|
|
32201
|
-
fullWidth ?
|
|
32202
|
-
disabled &&
|
|
32357
|
+
styles18.base,
|
|
32358
|
+
fullWidth ? styles18.fullWidth : styles18.contentWidth,
|
|
32359
|
+
disabled && styles18.disabled,
|
|
32203
32360
|
style
|
|
32204
32361
|
],
|
|
32205
32362
|
accessibilityRole: "radiogroup",
|
|
32206
32363
|
children: [
|
|
32207
|
-
!fullWidth ? options.map(({ value: optionValue, label, icon: Icon2 }, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32364
|
+
!fullWidth ? options.map(({ value: optionValue, label, icon: Icon2, showLabel = true }, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32208
32365
|
reactNative.View,
|
|
32209
32366
|
{
|
|
32210
32367
|
pointerEvents: "none",
|
|
@@ -32220,10 +32377,10 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32220
32377
|
return nextWidths;
|
|
32221
32378
|
});
|
|
32222
32379
|
},
|
|
32223
|
-
style:
|
|
32380
|
+
style: styles18.optionMeasurement,
|
|
32224
32381
|
children: [
|
|
32225
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
32226
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
32382
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE8 }) : null,
|
|
32383
|
+
showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.label, styles18.contentWidthLabel], children: label }) : null
|
|
32227
32384
|
]
|
|
32228
32385
|
},
|
|
32229
32386
|
`${optionValue}-measurement`
|
|
@@ -32233,12 +32390,12 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32233
32390
|
{
|
|
32234
32391
|
pointerEvents: "none",
|
|
32235
32392
|
style: [
|
|
32236
|
-
|
|
32393
|
+
styles18.activeIndicator,
|
|
32237
32394
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
32238
32395
|
]
|
|
32239
32396
|
}
|
|
32240
32397
|
) : null,
|
|
32241
|
-
options.map(({ value: optionValue, label, icon: Icon2 }, index) => {
|
|
32398
|
+
options.map(({ value: optionValue, label, icon: Icon2, showLabel = true }, index) => {
|
|
32242
32399
|
const selected = optionValue === selectedValue;
|
|
32243
32400
|
const iconColor = selected ? colors.primary : colors.whiteAlpha20;
|
|
32244
32401
|
const labelColor = selected ? colors.whiteAlpha86 : colors.whiteAlpha40;
|
|
@@ -32253,23 +32410,23 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32253
32410
|
accessibilityLabel: label,
|
|
32254
32411
|
accessibilityState: { selected, disabled },
|
|
32255
32412
|
style: [
|
|
32256
|
-
|
|
32257
|
-
fullWidth ?
|
|
32413
|
+
styles18.option,
|
|
32414
|
+
fullWidth ? styles18.optionFullWidth : [styles18.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
32258
32415
|
],
|
|
32259
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
32260
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
32261
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32416
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.optionContent, children: [
|
|
32417
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE8, color: iconColor }) : null,
|
|
32418
|
+
showLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32262
32419
|
reactNative.Text,
|
|
32263
32420
|
{
|
|
32264
32421
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
32265
32422
|
style: [
|
|
32266
|
-
|
|
32267
|
-
!fullWidth &&
|
|
32423
|
+
styles18.label,
|
|
32424
|
+
!fullWidth && styles18.contentWidthLabel,
|
|
32268
32425
|
{ color: labelColor }
|
|
32269
32426
|
],
|
|
32270
32427
|
children: label
|
|
32271
32428
|
}
|
|
32272
|
-
)
|
|
32429
|
+
) : null
|
|
32273
32430
|
] })
|
|
32274
32431
|
},
|
|
32275
32432
|
optionValue
|
|
@@ -32280,7 +32437,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32280
32437
|
);
|
|
32281
32438
|
}
|
|
32282
32439
|
);
|
|
32283
|
-
var
|
|
32440
|
+
var styles18 = reactNative.StyleSheet.create({
|
|
32284
32441
|
base: {
|
|
32285
32442
|
height: 44,
|
|
32286
32443
|
flexDirection: "row",
|
|
@@ -32408,16 +32565,16 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32408
32565
|
{
|
|
32409
32566
|
...rest,
|
|
32410
32567
|
ref: setContainerRef,
|
|
32411
|
-
style: [
|
|
32568
|
+
style: [styles19.root, { width: widthAnim }, style],
|
|
32412
32569
|
accessibilityRole: "menu",
|
|
32413
32570
|
children: [
|
|
32414
32571
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
32415
32572
|
reactNative.View,
|
|
32416
32573
|
{
|
|
32417
32574
|
style: [
|
|
32418
|
-
|
|
32419
|
-
collapsed ?
|
|
32420
|
-
!showCollapseToggle && !onClose ?
|
|
32575
|
+
styles19.header,
|
|
32576
|
+
collapsed ? styles19.headerCollapsed : styles19.headerExpanded,
|
|
32577
|
+
!showCollapseToggle && !onClose ? styles19.headerNoToggle : null
|
|
32421
32578
|
],
|
|
32422
32579
|
children: [
|
|
32423
32580
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32425,7 +32582,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32425
32582
|
{
|
|
32426
32583
|
pointerEvents: collapsed ? "none" : "auto",
|
|
32427
32584
|
style: [
|
|
32428
|
-
|
|
32585
|
+
styles19.logoSlot,
|
|
32429
32586
|
{
|
|
32430
32587
|
opacity: labelOpacity,
|
|
32431
32588
|
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
@@ -32451,7 +32608,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32451
32608
|
accessibilityLabel: closeAccessibilityLabel,
|
|
32452
32609
|
hitSlop: 8,
|
|
32453
32610
|
onPress: onClose,
|
|
32454
|
-
style:
|
|
32611
|
+
style: styles19.toggleButton,
|
|
32455
32612
|
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32456
32613
|
}
|
|
32457
32614
|
) : showCollapseToggle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32462,7 +32619,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32462
32619
|
accessibilityState: { expanded: !collapsed },
|
|
32463
32620
|
hitSlop: 8,
|
|
32464
32621
|
onPress: () => setCollapsed(!collapsed),
|
|
32465
|
-
style:
|
|
32622
|
+
style: styles19.toggleButton,
|
|
32466
32623
|
children: /* @__PURE__ */ jsxRuntime.jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32467
32624
|
}
|
|
32468
32625
|
) : null
|
|
@@ -32474,7 +32631,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32474
32631
|
{
|
|
32475
32632
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
32476
32633
|
accessibilityRole: "menu",
|
|
32477
|
-
style:
|
|
32634
|
+
style: styles19.nav,
|
|
32478
32635
|
children: items.map((item) => {
|
|
32479
32636
|
const isActive = Boolean(item.active);
|
|
32480
32637
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
@@ -32490,18 +32647,18 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32490
32647
|
hoverColor: colors.grey700,
|
|
32491
32648
|
onPress: item.onPress,
|
|
32492
32649
|
labelStyle: [
|
|
32493
|
-
|
|
32650
|
+
styles19.menuLabel,
|
|
32494
32651
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
32495
|
-
collapsed ?
|
|
32652
|
+
collapsed ? styles19.menuLabelCollapsed : styles19.menuLabelExpanded
|
|
32496
32653
|
],
|
|
32497
|
-
style: [
|
|
32654
|
+
style: [styles19.menuItem, collapsed ? styles19.menuItemCollapsed : null]
|
|
32498
32655
|
},
|
|
32499
32656
|
item.key
|
|
32500
32657
|
);
|
|
32501
32658
|
})
|
|
32502
32659
|
}
|
|
32503
32660
|
),
|
|
32504
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
32661
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.footer, collapsed ? styles19.footerCollapsed : styles19.footerExpanded], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32505
32662
|
AvatarSimple,
|
|
32506
32663
|
{
|
|
32507
32664
|
name: user.name,
|
|
@@ -32516,7 +32673,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32516
32673
|
}
|
|
32517
32674
|
);
|
|
32518
32675
|
});
|
|
32519
|
-
var
|
|
32676
|
+
var styles19 = reactNative.StyleSheet.create({
|
|
32520
32677
|
root: {
|
|
32521
32678
|
flexDirection: "column",
|
|
32522
32679
|
alignSelf: "stretch",
|
|
@@ -32621,7 +32778,7 @@ var defaultLanguageOptions = [
|
|
|
32621
32778
|
];
|
|
32622
32779
|
var CONTROL_WIDTH = 90;
|
|
32623
32780
|
var CONTROL_HEIGHT = 35;
|
|
32624
|
-
var
|
|
32781
|
+
var ICON_SIZE9 = 16;
|
|
32625
32782
|
var ICON_BUTTON_SIZE2 = 32;
|
|
32626
32783
|
var ICON_MENU_WIDTH = 67;
|
|
32627
32784
|
var ICON_MENU_HEIGHT = 129;
|
|
@@ -32710,11 +32867,11 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32710
32867
|
...rest,
|
|
32711
32868
|
ref: setWrapperRef,
|
|
32712
32869
|
style: [
|
|
32713
|
-
|
|
32714
|
-
isIconVariant ?
|
|
32715
|
-
isOpen &&
|
|
32716
|
-
isOpen && isIconVariant &&
|
|
32717
|
-
disabled &&
|
|
32870
|
+
styles20.wrapper,
|
|
32871
|
+
isIconVariant ? styles20.wrapperIcon : styles20.wrapperDefault,
|
|
32872
|
+
isOpen && styles20.wrapperOpen,
|
|
32873
|
+
isOpen && isIconVariant && styles20.wrapperOpenIcon,
|
|
32874
|
+
disabled && styles20.disabled,
|
|
32718
32875
|
style
|
|
32719
32876
|
],
|
|
32720
32877
|
children: [
|
|
@@ -32731,14 +32888,14 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32731
32888
|
onHoverIn: () => setTriggerHovered(true),
|
|
32732
32889
|
onHoverOut: () => setTriggerHovered(false),
|
|
32733
32890
|
style: ({ pressed }) => [
|
|
32734
|
-
isIconVariant ?
|
|
32735
|
-
!isIconVariant && (triggerHovered || pressed || isOpen) &&
|
|
32891
|
+
isIconVariant ? styles20.triggerIcon : styles20.trigger,
|
|
32892
|
+
!isIconVariant && (triggerHovered || pressed || isOpen) && styles20.triggerActive
|
|
32736
32893
|
],
|
|
32737
32894
|
children: [
|
|
32738
|
-
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size:
|
|
32895
|
+
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: isIconVariant ? 1.5 : 2 }),
|
|
32739
32896
|
!isIconVariant ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32740
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
32741
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
32897
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles20.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
32898
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles20.chevron, isOpen && styles20.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: 2 }) })
|
|
32742
32899
|
] }) : null
|
|
32743
32900
|
]
|
|
32744
32901
|
}
|
|
@@ -32746,7 +32903,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32746
32903
|
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32747
32904
|
reactNative.View,
|
|
32748
32905
|
{
|
|
32749
|
-
style: [
|
|
32906
|
+
style: [styles20.menu, isIconVariant ? styles20.menuIcon : styles20.menuDefault],
|
|
32750
32907
|
accessibilityRole: "menu",
|
|
32751
32908
|
children: options.map((option) => {
|
|
32752
32909
|
const selected = option.value === selectedValue;
|
|
@@ -32760,16 +32917,16 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32760
32917
|
onHoverIn: () => setHoveredValue(option.value),
|
|
32761
32918
|
onHoverOut: () => setHoveredValue(null),
|
|
32762
32919
|
style: ({ pressed }) => [
|
|
32763
|
-
|
|
32764
|
-
isIconVariant ?
|
|
32765
|
-
selected ? isIconVariant ?
|
|
32920
|
+
styles20.item,
|
|
32921
|
+
isIconVariant ? styles20.itemIcon : null,
|
|
32922
|
+
selected ? isIconVariant ? styles20.itemSelectedIcon : styles20.itemSelected : (hoveredValue === option.value || pressed) && styles20.itemHovered
|
|
32766
32923
|
],
|
|
32767
32924
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32768
32925
|
reactNative.Text,
|
|
32769
32926
|
{
|
|
32770
32927
|
style: [
|
|
32771
|
-
|
|
32772
|
-
selected && (isIconVariant ?
|
|
32928
|
+
styles20.itemLabel,
|
|
32929
|
+
selected && (isIconVariant ? styles20.itemLabelSelectedIcon : styles20.itemLabelSelected)
|
|
32773
32930
|
],
|
|
32774
32931
|
children: option.label
|
|
32775
32932
|
}
|
|
@@ -32785,7 +32942,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32785
32942
|
);
|
|
32786
32943
|
}
|
|
32787
32944
|
);
|
|
32788
|
-
var
|
|
32945
|
+
var styles20 = reactNative.StyleSheet.create({
|
|
32789
32946
|
wrapper: {
|
|
32790
32947
|
position: "relative",
|
|
32791
32948
|
alignSelf: "flex-start"
|
|
@@ -32837,8 +32994,8 @@ var styles18 = reactNative.StyleSheet.create({
|
|
|
32837
32994
|
color: colors.white
|
|
32838
32995
|
},
|
|
32839
32996
|
chevron: {
|
|
32840
|
-
width:
|
|
32841
|
-
height:
|
|
32997
|
+
width: ICON_SIZE9,
|
|
32998
|
+
height: ICON_SIZE9,
|
|
32842
32999
|
flexShrink: 0,
|
|
32843
33000
|
alignItems: "center",
|
|
32844
33001
|
justifyContent: "center"
|
|
@@ -32906,12 +33063,12 @@ var styles18 = reactNative.StyleSheet.create({
|
|
|
32906
33063
|
color: colors.primary
|
|
32907
33064
|
}
|
|
32908
33065
|
});
|
|
32909
|
-
var
|
|
33066
|
+
var ICON_SIZE10 = 25.63181;
|
|
32910
33067
|
var StatCard = react.forwardRef(function StatCard2({
|
|
32911
33068
|
label,
|
|
32912
33069
|
icon: Icon2,
|
|
32913
33070
|
iconProps,
|
|
32914
|
-
iconSize =
|
|
33071
|
+
iconSize = ICON_SIZE10,
|
|
32915
33072
|
style,
|
|
32916
33073
|
className,
|
|
32917
33074
|
accessibilityLabel,
|
|
@@ -32926,17 +33083,17 @@ var StatCard = react.forwardRef(function StatCard2({
|
|
|
32926
33083
|
{
|
|
32927
33084
|
...rest,
|
|
32928
33085
|
ref: setContainerRef,
|
|
32929
|
-
style: [
|
|
33086
|
+
style: [styles21.base, style],
|
|
32930
33087
|
accessibilityRole: "text",
|
|
32931
33088
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
32932
33089
|
children: [
|
|
32933
33090
|
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
32934
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33091
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles21.label, children: label })
|
|
32935
33092
|
]
|
|
32936
33093
|
}
|
|
32937
33094
|
);
|
|
32938
33095
|
});
|
|
32939
|
-
var
|
|
33096
|
+
var styles21 = reactNative.StyleSheet.create({
|
|
32940
33097
|
base: {
|
|
32941
33098
|
width: 204.5,
|
|
32942
33099
|
minHeight: 114,
|
|
@@ -33048,7 +33205,7 @@ var Button = react.forwardRef(
|
|
|
33048
33205
|
useApplyWebClassName(textRef, textClassName);
|
|
33049
33206
|
const iconNode = customIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
33050
33207
|
const containerStyle = [
|
|
33051
|
-
|
|
33208
|
+
styles22.base,
|
|
33052
33209
|
{
|
|
33053
33210
|
minHeight: metrics.minHeight,
|
|
33054
33211
|
height: variant === "danger" ? 33 : void 0,
|
|
@@ -33060,16 +33217,16 @@ var Button = react.forwardRef(
|
|
|
33060
33217
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
33061
33218
|
gap: hasIcon ? metrics.gap : 0
|
|
33062
33219
|
},
|
|
33063
|
-
hasIcon ?
|
|
33064
|
-
disabled &&
|
|
33220
|
+
hasIcon ? styles22.contentWithIcon : styles22.contentWithoutIcon,
|
|
33221
|
+
disabled && styles22.disabled,
|
|
33065
33222
|
style
|
|
33066
33223
|
];
|
|
33067
33224
|
const labelStyle = [
|
|
33068
|
-
|
|
33225
|
+
styles22.label,
|
|
33069
33226
|
metrics.text,
|
|
33070
33227
|
{ color: preset.textColor },
|
|
33071
|
-
reactNative.Platform.OS === "android" ?
|
|
33072
|
-
!hasIcon &&
|
|
33228
|
+
reactNative.Platform.OS === "android" ? styles22.labelAndroid : null,
|
|
33229
|
+
!hasIcon && styles22.labelCentered,
|
|
33073
33230
|
textStyle
|
|
33074
33231
|
];
|
|
33075
33232
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -33090,7 +33247,7 @@ var Button = react.forwardRef(
|
|
|
33090
33247
|
reactNative.View,
|
|
33091
33248
|
{
|
|
33092
33249
|
style: [
|
|
33093
|
-
|
|
33250
|
+
styles22.iconContainer,
|
|
33094
33251
|
{
|
|
33095
33252
|
width: metrics.iconContainerSize,
|
|
33096
33253
|
height: metrics.iconContainerSize,
|
|
@@ -33106,7 +33263,7 @@ var Button = react.forwardRef(
|
|
|
33106
33263
|
);
|
|
33107
33264
|
}
|
|
33108
33265
|
);
|
|
33109
|
-
var
|
|
33266
|
+
var styles22 = reactNative.StyleSheet.create({
|
|
33110
33267
|
base: {
|
|
33111
33268
|
flexDirection: "row",
|
|
33112
33269
|
alignItems: "center",
|
|
@@ -33190,13 +33347,13 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
33190
33347
|
accessibilityRole: "checkbox",
|
|
33191
33348
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33192
33349
|
accessibilityState: { checked: isActive, disabled },
|
|
33193
|
-
style: [
|
|
33350
|
+
style: [styles23.root, disabled && styles23.disabled, style],
|
|
33194
33351
|
children: [
|
|
33195
33352
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33196
33353
|
reactNative.View,
|
|
33197
33354
|
{
|
|
33198
33355
|
style: [
|
|
33199
|
-
|
|
33356
|
+
styles23.box,
|
|
33200
33357
|
{
|
|
33201
33358
|
backgroundColor: chrome.backgroundColor,
|
|
33202
33359
|
borderColor: chrome.borderColor
|
|
@@ -33205,12 +33362,12 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
33205
33362
|
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
33206
33363
|
}
|
|
33207
33364
|
),
|
|
33208
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
33365
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.label, labelStyle], children: labelContent }) : labelContent : null
|
|
33209
33366
|
]
|
|
33210
33367
|
}
|
|
33211
33368
|
);
|
|
33212
33369
|
});
|
|
33213
|
-
var
|
|
33370
|
+
var styles23 = reactNative.StyleSheet.create({
|
|
33214
33371
|
root: {
|
|
33215
33372
|
flexDirection: "row",
|
|
33216
33373
|
alignItems: "center",
|
|
@@ -33330,7 +33487,7 @@ var TRIGGER_HEIGHT = 44;
|
|
|
33330
33487
|
var TRIGGER_RADIUS = 60;
|
|
33331
33488
|
var MENU_RADIUS2 = 20;
|
|
33332
33489
|
var MENU_PADDING = 12;
|
|
33333
|
-
var
|
|
33490
|
+
var ICON_SIZE11 = 20;
|
|
33334
33491
|
var NAV_ICON_SIZE = 20;
|
|
33335
33492
|
var HEADER_HEIGHT3 = 36;
|
|
33336
33493
|
var WEEKDAY_ROW_HEIGHT = 44;
|
|
@@ -33345,13 +33502,13 @@ function RangeTriggerField({
|
|
|
33345
33502
|
value,
|
|
33346
33503
|
time
|
|
33347
33504
|
}) {
|
|
33348
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33349
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
33350
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33351
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33352
|
-
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33505
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.rangeField, children: [
|
|
33506
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles24.rangeLabel, children: label }),
|
|
33507
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.rangeValueRow, children: [
|
|
33508
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.rangeDate, children: value }),
|
|
33509
|
+
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.rangeTimeWrap, children: [
|
|
33353
33510
|
/* @__PURE__ */ jsxRuntime.jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
33354
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33511
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.rangeTime, children: time })
|
|
33355
33512
|
] }) : null
|
|
33356
33513
|
] })
|
|
33357
33514
|
] });
|
|
@@ -33541,15 +33698,15 @@ var DatePicker = react.forwardRef(
|
|
|
33541
33698
|
...rest,
|
|
33542
33699
|
ref: setRootRef,
|
|
33543
33700
|
style: [
|
|
33544
|
-
|
|
33545
|
-
usesRangeTrigger &&
|
|
33546
|
-
hideTrigger &&
|
|
33547
|
-
isOpen &&
|
|
33548
|
-
disabled &&
|
|
33701
|
+
styles24.root,
|
|
33702
|
+
usesRangeTrigger && styles24.rangeRoot,
|
|
33703
|
+
hideTrigger && styles24.rootHideTrigger,
|
|
33704
|
+
isOpen && styles24.rootOpen,
|
|
33705
|
+
disabled && styles24.disabled,
|
|
33549
33706
|
style
|
|
33550
33707
|
],
|
|
33551
33708
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33552
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
33709
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles24.triggerWrap, isOpen && styles24.triggerWrapOpen], children: [
|
|
33553
33710
|
hideTrigger ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
33554
33711
|
reactNative.Pressable,
|
|
33555
33712
|
{
|
|
@@ -33560,9 +33717,9 @@ var DatePicker = react.forwardRef(
|
|
|
33560
33717
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33561
33718
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33562
33719
|
style: [
|
|
33563
|
-
|
|
33564
|
-
usesRangeTrigger &&
|
|
33565
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
33720
|
+
styles24.trigger,
|
|
33721
|
+
usesRangeTrigger && styles24.rangeTrigger,
|
|
33722
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles24.rangeTriggerVertical : styles24.rangeTriggerHorizontal),
|
|
33566
33723
|
{
|
|
33567
33724
|
borderColor: triggerBorderColor,
|
|
33568
33725
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -33573,13 +33730,13 @@ var DatePicker = react.forwardRef(
|
|
|
33573
33730
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33574
33731
|
reactNative.View,
|
|
33575
33732
|
{
|
|
33576
|
-
style: usesVerticalRangeTrigger ?
|
|
33733
|
+
style: usesVerticalRangeTrigger ? styles24.rangeDividerVertical : styles24.rangeDividerHorizontal
|
|
33577
33734
|
}
|
|
33578
33735
|
),
|
|
33579
33736
|
/* @__PURE__ */ jsxRuntime.jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
33580
33737
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33581
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
33582
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
33738
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
33739
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(CalendarOutlineIcon, { size: ICON_SIZE11, color: colors.grey100 }) })
|
|
33583
33740
|
] })
|
|
33584
33741
|
}
|
|
33585
33742
|
),
|
|
@@ -33587,13 +33744,13 @@ var DatePicker = react.forwardRef(
|
|
|
33587
33744
|
reactNative.View,
|
|
33588
33745
|
{
|
|
33589
33746
|
style: [
|
|
33590
|
-
|
|
33591
|
-
usesRangeTrigger &&
|
|
33592
|
-
hideTrigger ?
|
|
33747
|
+
styles24.menu,
|
|
33748
|
+
usesRangeTrigger && styles24.rangeMenu,
|
|
33749
|
+
hideTrigger ? styles24.menuInline : menuAlignEnd ? styles24.menuAlignEnd : styles24.menuAlignStart,
|
|
33593
33750
|
calendarStyle
|
|
33594
33751
|
],
|
|
33595
33752
|
children: [
|
|
33596
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33753
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.calendarHeader, children: [
|
|
33597
33754
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33598
33755
|
reactNative.Pressable,
|
|
33599
33756
|
{
|
|
@@ -33601,11 +33758,11 @@ var DatePicker = react.forwardRef(
|
|
|
33601
33758
|
hitSlop: 8,
|
|
33602
33759
|
accessibilityRole: "button",
|
|
33603
33760
|
accessibilityLabel: "Previous month",
|
|
33604
|
-
style:
|
|
33761
|
+
style: styles24.navButton,
|
|
33605
33762
|
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
33606
33763
|
}
|
|
33607
33764
|
),
|
|
33608
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style:
|
|
33765
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: styles24.monthHeading, children: [
|
|
33609
33766
|
monthNames[visibleMonth.getMonth()],
|
|
33610
33767
|
" ",
|
|
33611
33768
|
visibleMonth.getFullYear()
|
|
@@ -33617,13 +33774,13 @@ var DatePicker = react.forwardRef(
|
|
|
33617
33774
|
hitSlop: 8,
|
|
33618
33775
|
accessibilityRole: "button",
|
|
33619
33776
|
accessibilityLabel: "Next month",
|
|
33620
|
-
style:
|
|
33621
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
33777
|
+
style: styles24.navButton,
|
|
33778
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.navIconMirror, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
33622
33779
|
}
|
|
33623
33780
|
)
|
|
33624
33781
|
] }),
|
|
33625
33782
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
|
|
33626
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
33783
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.weekdayRow, children: weekdayLabels.map((weekdayLabel, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.weekdayCell, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.weekdayText, children: weekdayLabel }) }, `${weekdayLabel}-${index}`)) }),
|
|
33627
33784
|
weeks.map((week, weekIndex) => {
|
|
33628
33785
|
let rangeHighlightStyle = null;
|
|
33629
33786
|
if (isRange && rangeValue.start && rangeValue.end) {
|
|
@@ -33660,13 +33817,13 @@ var DatePicker = react.forwardRef(
|
|
|
33660
33817
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33661
33818
|
reactNative.View,
|
|
33662
33819
|
{
|
|
33663
|
-
style: [
|
|
33820
|
+
style: [styles24.weekRow, weekIndex > 0 && styles24.weekRowSpaced],
|
|
33664
33821
|
children: [
|
|
33665
33822
|
rangeHighlightStyle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
33666
33823
|
reactNative.View,
|
|
33667
33824
|
{
|
|
33668
33825
|
pointerEvents: "none",
|
|
33669
|
-
style: [
|
|
33826
|
+
style: [styles24.rangeHighlight, rangeHighlightStyle]
|
|
33670
33827
|
}
|
|
33671
33828
|
) : null,
|
|
33672
33829
|
week.map((day, dayIndex) => {
|
|
@@ -33689,7 +33846,7 @@ var DatePicker = react.forwardRef(
|
|
|
33689
33846
|
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33690
33847
|
onPressIn: () => setHoveredDayKey(dayKey),
|
|
33691
33848
|
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33692
|
-
style:
|
|
33849
|
+
style: styles24.dayCellWrap,
|
|
33693
33850
|
accessibilityRole: "button",
|
|
33694
33851
|
accessibilityLabel: formatValue(day),
|
|
33695
33852
|
accessibilityState: {
|
|
@@ -33701,14 +33858,14 @@ var DatePicker = react.forwardRef(
|
|
|
33701
33858
|
reactNative.View,
|
|
33702
33859
|
{
|
|
33703
33860
|
style: [
|
|
33704
|
-
|
|
33705
|
-
isSelectedEndpoint &&
|
|
33706
|
-
isHovered &&
|
|
33861
|
+
styles24.dayCircle,
|
|
33862
|
+
isSelectedEndpoint && styles24.dayCircleSelected,
|
|
33863
|
+
isHovered && styles24.dayCircleHovered
|
|
33707
33864
|
],
|
|
33708
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
33865
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
33709
33866
|
}
|
|
33710
33867
|
),
|
|
33711
|
-
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
33868
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.todayDot }) : null
|
|
33712
33869
|
]
|
|
33713
33870
|
},
|
|
33714
33871
|
dayIndex
|
|
@@ -33728,7 +33885,7 @@ var DatePicker = react.forwardRef(
|
|
|
33728
33885
|
);
|
|
33729
33886
|
}
|
|
33730
33887
|
);
|
|
33731
|
-
var
|
|
33888
|
+
var styles24 = reactNative.StyleSheet.create({
|
|
33732
33889
|
root: {
|
|
33733
33890
|
width: DEFAULT_WIDTH,
|
|
33734
33891
|
gap: 8,
|
|
@@ -33833,8 +33990,8 @@ var styles22 = reactNative.StyleSheet.create({
|
|
|
33833
33990
|
backgroundColor: colors.grey500
|
|
33834
33991
|
},
|
|
33835
33992
|
iconSlot: {
|
|
33836
|
-
width:
|
|
33837
|
-
height:
|
|
33993
|
+
width: ICON_SIZE11,
|
|
33994
|
+
height: ICON_SIZE11,
|
|
33838
33995
|
alignItems: "center",
|
|
33839
33996
|
justifyContent: "center",
|
|
33840
33997
|
flexShrink: 0
|
|
@@ -33979,7 +34136,7 @@ var styles22 = reactNative.StyleSheet.create({
|
|
|
33979
34136
|
});
|
|
33980
34137
|
var SIZE = 48;
|
|
33981
34138
|
var PADDING = 12;
|
|
33982
|
-
var
|
|
34139
|
+
var ICON_SIZE12 = 24;
|
|
33983
34140
|
var RADIUS = 64;
|
|
33984
34141
|
var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onPress, disabled = false, icon, accessibilityLabel = "Add", style, className, ...rest }, forwardedRef) {
|
|
33985
34142
|
const containerRef = react.useRef(null);
|
|
@@ -33997,12 +34154,12 @@ var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onP
|
|
|
33997
34154
|
accessibilityRole: "button",
|
|
33998
34155
|
accessibilityLabel,
|
|
33999
34156
|
accessibilityState: { disabled },
|
|
34000
|
-
style: [
|
|
34001
|
-
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size:
|
|
34157
|
+
style: [styles25.base, disabled && styles25.disabled, style],
|
|
34158
|
+
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size: ICON_SIZE12, strokeWidth: 2 })
|
|
34002
34159
|
}
|
|
34003
34160
|
);
|
|
34004
34161
|
});
|
|
34005
|
-
var
|
|
34162
|
+
var styles25 = reactNative.StyleSheet.create({
|
|
34006
34163
|
base: {
|
|
34007
34164
|
width: SIZE,
|
|
34008
34165
|
height: SIZE,
|
|
@@ -34077,7 +34234,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34077
34234
|
reactNative.View,
|
|
34078
34235
|
{
|
|
34079
34236
|
ref: setContentRef,
|
|
34080
|
-
style: [
|
|
34237
|
+
style: [styles26.content, contentStyle],
|
|
34081
34238
|
onStartShouldSetResponder: () => true,
|
|
34082
34239
|
children
|
|
34083
34240
|
}
|
|
@@ -34109,7 +34266,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34109
34266
|
animationType: "fade",
|
|
34110
34267
|
onRequestClose: onClose,
|
|
34111
34268
|
statusBarTranslucent: true,
|
|
34112
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34269
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.root, accessibilityViewIsModal: true, children: [
|
|
34113
34270
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34114
34271
|
reactNative.Pressable,
|
|
34115
34272
|
{
|
|
@@ -34117,7 +34274,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34117
34274
|
accessibilityLabel: backdropAccessibilityLabel,
|
|
34118
34275
|
disabled: !closeOnBackdropPress,
|
|
34119
34276
|
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34120
|
-
style:
|
|
34277
|
+
style: styles26.backdrop
|
|
34121
34278
|
}
|
|
34122
34279
|
),
|
|
34123
34280
|
content
|
|
@@ -34125,7 +34282,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34125
34282
|
}
|
|
34126
34283
|
);
|
|
34127
34284
|
});
|
|
34128
|
-
var
|
|
34285
|
+
var styles26 = reactNative.StyleSheet.create({
|
|
34129
34286
|
root: {
|
|
34130
34287
|
flex: 1,
|
|
34131
34288
|
alignItems: "center",
|
|
@@ -34291,7 +34448,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34291
34448
|
useApplyWebClassName(rootRef, className);
|
|
34292
34449
|
useApplyWebClassName(inputRef, inputClassName);
|
|
34293
34450
|
const fieldChromeStyle = [
|
|
34294
|
-
|
|
34451
|
+
styles27.field,
|
|
34295
34452
|
{
|
|
34296
34453
|
height: metrics.height,
|
|
34297
34454
|
borderRadius: metrics.borderRadius,
|
|
@@ -34303,11 +34460,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
34303
34460
|
borderColor: chrome.borderColor,
|
|
34304
34461
|
backgroundColor: chrome.backgroundColor
|
|
34305
34462
|
},
|
|
34306
|
-
reactNative.Platform.OS === "web" ?
|
|
34463
|
+
reactNative.Platform.OS === "web" ? styles27.fieldWeb : null,
|
|
34307
34464
|
fieldStyle
|
|
34308
34465
|
];
|
|
34309
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
34310
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style:
|
|
34466
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles27.root, disabled && styles27.disabled, style], children: [
|
|
34467
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style: styles27.labelPressable, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
34311
34468
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34312
34469
|
reactNative.Pressable,
|
|
34313
34470
|
{
|
|
@@ -34316,7 +34473,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34316
34473
|
onPress: focusInput,
|
|
34317
34474
|
style: fieldChromeStyle,
|
|
34318
34475
|
children: [
|
|
34319
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
34476
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles27.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
34320
34477
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34321
34478
|
reactNative.TextInput,
|
|
34322
34479
|
{
|
|
@@ -34341,11 +34498,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
34341
34498
|
onBlur?.(event);
|
|
34342
34499
|
},
|
|
34343
34500
|
style: [
|
|
34344
|
-
|
|
34501
|
+
styles27.input,
|
|
34345
34502
|
metrics.text,
|
|
34346
34503
|
{ color: chrome.textColor },
|
|
34347
|
-
reactNative.Platform.OS === "web" ?
|
|
34348
|
-
reactNative.Platform.OS === "android" ?
|
|
34504
|
+
reactNative.Platform.OS === "web" ? styles27.inputWeb : null,
|
|
34505
|
+
reactNative.Platform.OS === "android" ? styles27.inputAndroid : null,
|
|
34349
34506
|
inputStyle
|
|
34350
34507
|
],
|
|
34351
34508
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -34357,7 +34514,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34357
34514
|
{
|
|
34358
34515
|
onPress: onRightIconPress,
|
|
34359
34516
|
disabled,
|
|
34360
|
-
style: [
|
|
34517
|
+
style: [styles27.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34361
34518
|
accessibilityRole: "button",
|
|
34362
34519
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
34363
34520
|
hitSlop: 8,
|
|
@@ -34369,17 +34526,17 @@ var Input = react.forwardRef(function Input2({
|
|
|
34369
34526
|
accessibilityRole: "none",
|
|
34370
34527
|
disabled,
|
|
34371
34528
|
onPress: focusInput,
|
|
34372
|
-
style: [
|
|
34529
|
+
style: [styles27.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34373
34530
|
children: rightIconNode
|
|
34374
34531
|
}
|
|
34375
34532
|
) : null
|
|
34376
34533
|
]
|
|
34377
34534
|
}
|
|
34378
34535
|
),
|
|
34379
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
34536
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles27.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
34380
34537
|
] });
|
|
34381
34538
|
});
|
|
34382
|
-
var
|
|
34539
|
+
var styles27 = reactNative.StyleSheet.create({
|
|
34383
34540
|
root: {
|
|
34384
34541
|
width: DEFAULT_WIDTH2,
|
|
34385
34542
|
gap: 8,
|
|
@@ -34546,8 +34703,8 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34546
34703
|
const cellGap = mobile ? MOBILE_GAP : DESKTOP_GAP;
|
|
34547
34704
|
const rowWidth = cellWidth * safeLength + cellGap * Math.max(0, safeLength - 1);
|
|
34548
34705
|
const showErrorMessage = Boolean(error && errorMessage);
|
|
34549
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...viewProps, ref: rootRef, style: [
|
|
34550
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
34706
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...viewProps, ref: rootRef, style: [styles28.wrapper, disabled && styles28.disabled, style], children: [
|
|
34707
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles28.row, { width: rowWidth, maxWidth: "100%", gap: cellGap }], children: Array.from({ length: safeLength }, (_, index) => {
|
|
34551
34708
|
const active = focusedIndex === index;
|
|
34552
34709
|
const borderColor = error ? colors.red : active ? colors.primary : colors.grey600;
|
|
34553
34710
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -34572,15 +34729,15 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34572
34729
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
34573
34730
|
selectTextOnFocus: true,
|
|
34574
34731
|
style: [
|
|
34575
|
-
|
|
34732
|
+
styles28.cell,
|
|
34576
34733
|
{
|
|
34577
34734
|
width: cellWidth,
|
|
34578
34735
|
height: cellHeight,
|
|
34579
34736
|
borderColor,
|
|
34580
34737
|
color: error ? colors.red : colors.white
|
|
34581
34738
|
},
|
|
34582
|
-
reactNative.Platform.OS === "web" ?
|
|
34583
|
-
reactNative.Platform.OS === "android" ?
|
|
34739
|
+
reactNative.Platform.OS === "web" ? styles28.cellWeb : null,
|
|
34740
|
+
reactNative.Platform.OS === "android" ? styles28.cellAndroid : null,
|
|
34584
34741
|
inputStyle
|
|
34585
34742
|
],
|
|
34586
34743
|
value: currentCode[index] ?? ""
|
|
@@ -34588,10 +34745,10 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34588
34745
|
index
|
|
34589
34746
|
);
|
|
34590
34747
|
}) }),
|
|
34591
|
-
showErrorMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "assertive", style:
|
|
34748
|
+
showErrorMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "assertive", style: styles28.errorMessage, children: errorMessage }) : null
|
|
34592
34749
|
] });
|
|
34593
34750
|
});
|
|
34594
|
-
var
|
|
34751
|
+
var styles28 = reactNative.StyleSheet.create({
|
|
34595
34752
|
wrapper: {
|
|
34596
34753
|
minWidth: 0,
|
|
34597
34754
|
alignSelf: "center",
|
|
@@ -34642,7 +34799,7 @@ var TRIGGER_RADIUS2 = 60;
|
|
|
34642
34799
|
var MENU_RADIUS3 = 24;
|
|
34643
34800
|
var MENU_MAX_LIST_HEIGHT = 248;
|
|
34644
34801
|
var ITEM_RADIUS2 = 12;
|
|
34645
|
-
var
|
|
34802
|
+
var ICON_SIZE13 = 20;
|
|
34646
34803
|
var CHIP_GAP = 6;
|
|
34647
34804
|
var FALLBACK_ELLIPSIS_WIDTH = 20;
|
|
34648
34805
|
function itemBackground(state) {
|
|
@@ -34715,25 +34872,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34715
34872
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
34716
34873
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
34717
34874
|
};
|
|
34718
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34719
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style:
|
|
34875
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.multiValueRoot, children: [
|
|
34876
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style: styles29.measureRow, children: [
|
|
34720
34877
|
options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34721
34878
|
reactNative.View,
|
|
34722
34879
|
{
|
|
34723
|
-
style:
|
|
34880
|
+
style: styles29.chip,
|
|
34724
34881
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
34725
34882
|
children: [
|
|
34726
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
34727
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
34883
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.chipLabel, numberOfLines: 1, children: option.label }),
|
|
34884
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.chipRemove, children: "\xD7" })
|
|
34728
34885
|
]
|
|
34729
34886
|
},
|
|
34730
34887
|
`measure-${option.value}`
|
|
34731
34888
|
)),
|
|
34732
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34889
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.ellipsisText, children: "..." }) })
|
|
34733
34890
|
] }),
|
|
34734
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34735
|
-
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34736
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
34891
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.chipsRow, onLayout: handleContainerLayout, children: [
|
|
34892
|
+
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.chip, children: [
|
|
34893
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.chipLabel, numberOfLines: 1, children: option.label }),
|
|
34737
34894
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34738
34895
|
reactNative.Pressable,
|
|
34739
34896
|
{
|
|
@@ -34745,11 +34902,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34745
34902
|
hitSlop: 6,
|
|
34746
34903
|
accessibilityRole: "button",
|
|
34747
34904
|
accessibilityLabel: `Remove ${option.label}`,
|
|
34748
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
34905
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.chipRemove, children: "\xD7" })
|
|
34749
34906
|
}
|
|
34750
34907
|
)
|
|
34751
34908
|
] }, option.value)),
|
|
34752
|
-
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34909
|
+
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.ellipsis, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.ellipsisText, children: "..." }) }) : null
|
|
34753
34910
|
] })
|
|
34754
34911
|
] });
|
|
34755
34912
|
}
|
|
@@ -35005,7 +35162,7 @@ var Select = react.forwardRef(
|
|
|
35005
35162
|
setOpen
|
|
35006
35163
|
]);
|
|
35007
35164
|
const leftIconNode = renderStatefulIcon(leftIcon, UserIcon, {
|
|
35008
|
-
size:
|
|
35165
|
+
size: ICON_SIZE13,
|
|
35009
35166
|
color: error ? colors.red : colors.primary
|
|
35010
35167
|
});
|
|
35011
35168
|
const hasLeftIcon = showLeftIcon || leftIcon != null;
|
|
@@ -35020,11 +35177,11 @@ var Select = react.forwardRef(
|
|
|
35020
35177
|
{
|
|
35021
35178
|
...rest,
|
|
35022
35179
|
ref: setRootRef,
|
|
35023
|
-
style: [
|
|
35180
|
+
style: [styles29.root, isOpen && styles29.rootOpen, disabled && styles29.disabled, style],
|
|
35024
35181
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35025
35182
|
children: [
|
|
35026
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35027
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
35183
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.label, { color: labelColor }], children: label }) : null,
|
|
35184
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles29.triggerWrap, isOpen && styles29.triggerWrapOpen], children: [
|
|
35028
35185
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35029
35186
|
reactNative.Pressable,
|
|
35030
35187
|
{
|
|
@@ -35035,23 +35192,23 @@ var Select = react.forwardRef(
|
|
|
35035
35192
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35036
35193
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35037
35194
|
style: [
|
|
35038
|
-
|
|
35195
|
+
styles29.trigger,
|
|
35039
35196
|
{
|
|
35040
35197
|
borderColor: triggerBorderColor,
|
|
35041
35198
|
backgroundColor: colors.grey700
|
|
35042
35199
|
}
|
|
35043
35200
|
],
|
|
35044
35201
|
children: [
|
|
35045
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35046
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35202
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.iconSlot, children: leftIconNode }) : null,
|
|
35203
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35047
35204
|
MultiValueChips,
|
|
35048
35205
|
{
|
|
35049
35206
|
options: selectedOptions,
|
|
35050
35207
|
disabled,
|
|
35051
35208
|
onRemove: handleRemoveChip
|
|
35052
35209
|
}
|
|
35053
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35054
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
35210
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
35211
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles29.iconSlot, isOpen && styles29.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE13, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
35055
35212
|
]
|
|
35056
35213
|
}
|
|
35057
35214
|
),
|
|
@@ -35059,14 +35216,14 @@ var Select = react.forwardRef(
|
|
|
35059
35216
|
reactNative.View,
|
|
35060
35217
|
{
|
|
35061
35218
|
style: [
|
|
35062
|
-
|
|
35063
|
-
menuAlignEnd ?
|
|
35064
|
-
menuPlaceAbove ?
|
|
35219
|
+
styles29.menu,
|
|
35220
|
+
menuAlignEnd ? styles29.menuAlignEnd : styles29.menuAlignStart,
|
|
35221
|
+
menuPlaceAbove ? styles29.menuAbove : styles29.menuBelow,
|
|
35065
35222
|
menuStyle
|
|
35066
35223
|
],
|
|
35067
35224
|
children: [
|
|
35068
|
-
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
35069
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35225
|
+
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.searchField, children: [
|
|
35226
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon, { size: ICON_SIZE13, color: colors.grey100 }) }),
|
|
35070
35227
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35071
35228
|
reactNative.TextInput,
|
|
35072
35229
|
{
|
|
@@ -35077,9 +35234,9 @@ var Select = react.forwardRef(
|
|
|
35077
35234
|
placeholder: searchPlaceholder,
|
|
35078
35235
|
placeholderTextColor: colors.grey100,
|
|
35079
35236
|
style: [
|
|
35080
|
-
|
|
35081
|
-
reactNative.Platform.OS === "web" ?
|
|
35082
|
-
reactNative.Platform.OS === "android" ?
|
|
35237
|
+
styles29.searchInput,
|
|
35238
|
+
reactNative.Platform.OS === "web" ? styles29.searchInputWeb : null,
|
|
35239
|
+
reactNative.Platform.OS === "android" ? styles29.searchInputAndroid : null
|
|
35083
35240
|
],
|
|
35084
35241
|
accessibilityLabel: searchPlaceholder
|
|
35085
35242
|
}
|
|
@@ -35088,12 +35245,12 @@ var Select = react.forwardRef(
|
|
|
35088
35245
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35089
35246
|
reactNative.ScrollView,
|
|
35090
35247
|
{
|
|
35091
|
-
style:
|
|
35092
|
-
contentContainerStyle:
|
|
35248
|
+
style: styles29.optionList,
|
|
35249
|
+
contentContainerStyle: styles29.optionListContent,
|
|
35093
35250
|
keyboardShouldPersistTaps: "handled",
|
|
35094
35251
|
showsVerticalScrollIndicator: false,
|
|
35095
35252
|
children: [
|
|
35096
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35253
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.statusText, children: emptyText }) }) : null,
|
|
35097
35254
|
!loading && filteredOptions.map((option) => {
|
|
35098
35255
|
const isSelected = selectedValues.includes(option.value);
|
|
35099
35256
|
const isHovered = hoveredValue === option.value;
|
|
@@ -35110,14 +35267,14 @@ var Select = react.forwardRef(
|
|
|
35110
35267
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
35111
35268
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
35112
35269
|
style: [
|
|
35113
|
-
|
|
35270
|
+
styles29.item,
|
|
35114
35271
|
{
|
|
35115
35272
|
backgroundColor: itemBackground(visualState)
|
|
35116
35273
|
}
|
|
35117
35274
|
],
|
|
35118
35275
|
children: [
|
|
35119
|
-
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
35120
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
35276
|
+
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles29.itemCheckbox, children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
35277
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.itemLabel, numberOfLines: 1, children: option.label })
|
|
35121
35278
|
]
|
|
35122
35279
|
},
|
|
35123
35280
|
option.value
|
|
@@ -35130,13 +35287,13 @@ var Select = react.forwardRef(
|
|
|
35130
35287
|
}
|
|
35131
35288
|
) : null
|
|
35132
35289
|
] }),
|
|
35133
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35290
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles29.hint, { color: hintColor }], children: hint }) : null
|
|
35134
35291
|
]
|
|
35135
35292
|
}
|
|
35136
35293
|
);
|
|
35137
35294
|
}
|
|
35138
35295
|
);
|
|
35139
|
-
var
|
|
35296
|
+
var styles29 = reactNative.StyleSheet.create({
|
|
35140
35297
|
root: {
|
|
35141
35298
|
width: DEFAULT_WIDTH3,
|
|
35142
35299
|
gap: 8,
|
|
@@ -35226,8 +35383,8 @@ var styles27 = reactNative.StyleSheet.create({
|
|
|
35226
35383
|
lineHeight: 16
|
|
35227
35384
|
},
|
|
35228
35385
|
iconSlot: {
|
|
35229
|
-
width:
|
|
35230
|
-
height:
|
|
35386
|
+
width: ICON_SIZE13,
|
|
35387
|
+
height: ICON_SIZE13,
|
|
35231
35388
|
alignItems: "center",
|
|
35232
35389
|
justifyContent: "center",
|
|
35233
35390
|
flexShrink: 0
|
|
@@ -35421,8 +35578,8 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35421
35578
|
};
|
|
35422
35579
|
useApplyWebClassName(rootRef, className);
|
|
35423
35580
|
useApplyWebClassName(inputRef, inputClassName);
|
|
35424
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
35425
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style:
|
|
35581
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles30.root, disabled && styles30.disabled, style], children: [
|
|
35582
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style: styles30.labelPressable, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
35426
35583
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35427
35584
|
reactNative.Pressable,
|
|
35428
35585
|
{
|
|
@@ -35430,12 +35587,12 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35430
35587
|
disabled,
|
|
35431
35588
|
onPress: focusInput,
|
|
35432
35589
|
style: [
|
|
35433
|
-
|
|
35590
|
+
styles30.field,
|
|
35434
35591
|
{
|
|
35435
35592
|
borderColor: chrome.borderColor,
|
|
35436
35593
|
backgroundColor: chrome.backgroundColor
|
|
35437
35594
|
},
|
|
35438
|
-
reactNative.Platform.OS === "web" ?
|
|
35595
|
+
reactNative.Platform.OS === "web" ? styles30.fieldWeb : null,
|
|
35439
35596
|
fieldStyle
|
|
35440
35597
|
],
|
|
35441
35598
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -35464,11 +35621,11 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35464
35621
|
onBlur?.(event);
|
|
35465
35622
|
},
|
|
35466
35623
|
style: [
|
|
35467
|
-
|
|
35624
|
+
styles30.input,
|
|
35468
35625
|
textareaTypography.field,
|
|
35469
35626
|
{ color: chrome.textColor },
|
|
35470
|
-
reactNative.Platform.OS === "web" ?
|
|
35471
|
-
reactNative.Platform.OS === "android" ?
|
|
35627
|
+
reactNative.Platform.OS === "web" ? styles30.inputWeb : null,
|
|
35628
|
+
reactNative.Platform.OS === "android" ? styles30.inputAndroid : null,
|
|
35472
35629
|
inputStyle
|
|
35473
35630
|
],
|
|
35474
35631
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -35477,10 +35634,10 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35477
35634
|
)
|
|
35478
35635
|
}
|
|
35479
35636
|
),
|
|
35480
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35637
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
35481
35638
|
] });
|
|
35482
35639
|
});
|
|
35483
|
-
var
|
|
35640
|
+
var styles30 = reactNative.StyleSheet.create({
|
|
35484
35641
|
root: {
|
|
35485
35642
|
width: DEFAULT_WIDTH4,
|
|
35486
35643
|
gap: 8,
|
|
@@ -35590,13 +35747,13 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35590
35747
|
accessibilityRole: "switch",
|
|
35591
35748
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35592
35749
|
accessibilityState: { checked: isActive, disabled },
|
|
35593
|
-
style: [
|
|
35750
|
+
style: [styles31.pressable, disabled && styles31.disabled, style],
|
|
35594
35751
|
children: [
|
|
35595
35752
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35596
35753
|
reactNative.Animated.View,
|
|
35597
35754
|
{
|
|
35598
35755
|
style: [
|
|
35599
|
-
|
|
35756
|
+
styles31.track,
|
|
35600
35757
|
{
|
|
35601
35758
|
backgroundColor: trackBackgroundColor
|
|
35602
35759
|
}
|
|
@@ -35605,7 +35762,7 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35605
35762
|
reactNative.Animated.View,
|
|
35606
35763
|
{
|
|
35607
35764
|
style: [
|
|
35608
|
-
|
|
35765
|
+
styles31.thumb,
|
|
35609
35766
|
{
|
|
35610
35767
|
transform: [{ translateX: thumbTranslateX }]
|
|
35611
35768
|
}
|
|
@@ -35614,12 +35771,12 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35614
35771
|
)
|
|
35615
35772
|
}
|
|
35616
35773
|
),
|
|
35617
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35774
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles31.label, labelStyle], children: labelContent }) : labelContent : null
|
|
35618
35775
|
]
|
|
35619
35776
|
}
|
|
35620
35777
|
);
|
|
35621
35778
|
});
|
|
35622
|
-
var
|
|
35779
|
+
var styles31 = reactNative.StyleSheet.create({
|
|
35623
35780
|
pressable: {
|
|
35624
35781
|
flexDirection: "row",
|
|
35625
35782
|
alignItems: "center",
|
|
@@ -35672,13 +35829,13 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35672
35829
|
...rest,
|
|
35673
35830
|
ref: setContainerRef,
|
|
35674
35831
|
style: [
|
|
35675
|
-
|
|
35832
|
+
styles32.root,
|
|
35676
35833
|
{
|
|
35677
35834
|
minHeight: isDesktop ? 65 : 57,
|
|
35678
35835
|
paddingTop: isDesktop ? 20 : 16,
|
|
35679
35836
|
paddingBottom: isDesktop ? 20 : 16
|
|
35680
35837
|
},
|
|
35681
|
-
!showBorder &&
|
|
35838
|
+
!showBorder && styles32.noBorder,
|
|
35682
35839
|
style
|
|
35683
35840
|
],
|
|
35684
35841
|
children: [
|
|
@@ -35686,7 +35843,7 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35686
35843
|
reactNative.Text,
|
|
35687
35844
|
{
|
|
35688
35845
|
style: [
|
|
35689
|
-
|
|
35846
|
+
styles32.label,
|
|
35690
35847
|
{
|
|
35691
35848
|
fontSize: labelSize,
|
|
35692
35849
|
lineHeight: isDesktop ? 20 : 18,
|
|
@@ -35711,7 +35868,7 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35711
35868
|
}
|
|
35712
35869
|
);
|
|
35713
35870
|
});
|
|
35714
|
-
var
|
|
35871
|
+
var styles32 = reactNative.StyleSheet.create({
|
|
35715
35872
|
root: {
|
|
35716
35873
|
width: "100%",
|
|
35717
35874
|
flexDirection: "row",
|
|
@@ -35783,21 +35940,21 @@ var RatingInput = react.forwardRef(
|
|
|
35783
35940
|
{
|
|
35784
35941
|
...rest,
|
|
35785
35942
|
ref: setContainerRef,
|
|
35786
|
-
style: [
|
|
35943
|
+
style: [styles33.root, disabled && styles33.disabled, style],
|
|
35787
35944
|
children: [
|
|
35788
|
-
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [
|
|
35945
|
+
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles33.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
35789
35946
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35790
35947
|
reactNative.View,
|
|
35791
35948
|
{
|
|
35792
35949
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
35793
35950
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35794
35951
|
accessibilityState: { disabled },
|
|
35795
|
-
style: [
|
|
35952
|
+
style: [styles33.stars, { gap: resolvedStarGap }],
|
|
35796
35953
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
35797
35954
|
const starValue = index + 1;
|
|
35798
35955
|
const isSelected = starValue <= selectedStarCount;
|
|
35799
35956
|
const icon = isSelected ? /* @__PURE__ */ jsxRuntime.jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsxRuntime.jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
35800
|
-
const itemStyle = [
|
|
35957
|
+
const itemStyle = [styles33.starItem, { width: size, height: size }];
|
|
35801
35958
|
if (readOnly) {
|
|
35802
35959
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: itemStyle, children: icon }, starValue);
|
|
35803
35960
|
}
|
|
@@ -35823,7 +35980,7 @@ var RatingInput = react.forwardRef(
|
|
|
35823
35980
|
);
|
|
35824
35981
|
}
|
|
35825
35982
|
);
|
|
35826
|
-
var
|
|
35983
|
+
var styles33 = reactNative.StyleSheet.create({
|
|
35827
35984
|
root: {
|
|
35828
35985
|
flexDirection: "row",
|
|
35829
35986
|
alignItems: "center",
|
|
@@ -35887,19 +36044,19 @@ var CommentCard = react.forwardRef(
|
|
|
35887
36044
|
setExpanded(next);
|
|
35888
36045
|
onExpandedChange?.(next);
|
|
35889
36046
|
};
|
|
35890
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
35891
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
35892
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
36047
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles34.root, style], children: [
|
|
36048
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles34.header, children: [
|
|
36049
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles34.avatar, children: hasImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35893
36050
|
reactNative.Image,
|
|
35894
36051
|
{
|
|
35895
36052
|
source: { uri: imageUrl ?? void 0 },
|
|
35896
|
-
style:
|
|
36053
|
+
style: styles34.avatarImage,
|
|
35897
36054
|
onError: () => setImageFailed(true)
|
|
35898
36055
|
}
|
|
35899
36056
|
) : /* @__PURE__ */ jsxRuntime.jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
35900
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
35901
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
35902
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
36057
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles34.identity, children: [
|
|
36058
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles34.name, children: userName }),
|
|
36059
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles34.date, children: date })
|
|
35903
36060
|
] }),
|
|
35904
36061
|
/* @__PURE__ */ jsxRuntime.jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
35905
36062
|
] }),
|
|
@@ -35907,7 +36064,7 @@ var CommentCard = react.forwardRef(
|
|
|
35907
36064
|
reactNative.Text,
|
|
35908
36065
|
{
|
|
35909
36066
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
35910
|
-
style: [
|
|
36067
|
+
style: [styles34.comment, commentStyle],
|
|
35911
36068
|
children: commentText
|
|
35912
36069
|
}
|
|
35913
36070
|
),
|
|
@@ -35920,14 +36077,14 @@ var CommentCard = react.forwardRef(
|
|
|
35920
36077
|
hitSlop: 6,
|
|
35921
36078
|
onHoverIn: () => setActionHovered(true),
|
|
35922
36079
|
onHoverOut: () => setActionHovered(false),
|
|
35923
|
-
style:
|
|
36080
|
+
style: styles34.action,
|
|
35924
36081
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35925
36082
|
reactNative.Text,
|
|
35926
36083
|
{
|
|
35927
36084
|
style: [
|
|
35928
|
-
|
|
35929
|
-
expanded &&
|
|
35930
|
-
actionHovered && (expanded ?
|
|
36085
|
+
styles34.actionText,
|
|
36086
|
+
expanded && styles34.closeActionText,
|
|
36087
|
+
actionHovered && (expanded ? styles34.closeActionTextHovered : styles34.openActionTextHovered)
|
|
35931
36088
|
],
|
|
35932
36089
|
children: expanded ? readLessLabel : readMoreLabel
|
|
35933
36090
|
}
|
|
@@ -35937,7 +36094,7 @@ var CommentCard = react.forwardRef(
|
|
|
35937
36094
|
] });
|
|
35938
36095
|
}
|
|
35939
36096
|
);
|
|
35940
|
-
var
|
|
36097
|
+
var styles34 = reactNative.StyleSheet.create({
|
|
35941
36098
|
root: {
|
|
35942
36099
|
width: CARD_WIDTH2,
|
|
35943
36100
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -36376,7 +36533,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
36376
36533
|
...rest,
|
|
36377
36534
|
ref: setRootRef,
|
|
36378
36535
|
onLayout,
|
|
36379
|
-
style: [
|
|
36536
|
+
style: [styles35.root, disabled && styles35.disabled, style],
|
|
36380
36537
|
children: [
|
|
36381
36538
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36382
36539
|
reactNative.Pressable,
|
|
@@ -36390,16 +36547,16 @@ var Range = react.forwardRef(function Range2({
|
|
|
36390
36547
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
36391
36548
|
} : void 0,
|
|
36392
36549
|
onPress: reactNative.Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
36393
|
-
style:
|
|
36550
|
+
style: styles35.sliderPlane,
|
|
36394
36551
|
tabIndex: -1,
|
|
36395
36552
|
children: [
|
|
36396
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
36553
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles35.track }),
|
|
36397
36554
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36398
36555
|
reactNative.View,
|
|
36399
36556
|
{
|
|
36400
36557
|
pointerEvents: "none",
|
|
36401
36558
|
style: [
|
|
36402
|
-
|
|
36559
|
+
styles35.activeTrack,
|
|
36403
36560
|
{
|
|
36404
36561
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
36405
36562
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -36441,9 +36598,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
36441
36598
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
36442
36599
|
pointerEvents: disabled ? "none" : "auto",
|
|
36443
36600
|
style: [
|
|
36444
|
-
|
|
36445
|
-
reactNative.Platform.OS === "web" &&
|
|
36446
|
-
focusedThumb === "from" && reactNative.Platform.OS === "web" &&
|
|
36601
|
+
styles35.thumb,
|
|
36602
|
+
reactNative.Platform.OS === "web" && styles35.thumbWeb,
|
|
36603
|
+
focusedThumb === "from" && reactNative.Platform.OS === "web" && styles35.thumbFocusedWeb,
|
|
36447
36604
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
36448
36605
|
],
|
|
36449
36606
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36483,9 +36640,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
36483
36640
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
36484
36641
|
pointerEvents: disabled ? "none" : "auto",
|
|
36485
36642
|
style: [
|
|
36486
|
-
|
|
36487
|
-
reactNative.Platform.OS === "web" &&
|
|
36488
|
-
focusedThumb === "to" && reactNative.Platform.OS === "web" &&
|
|
36643
|
+
styles35.thumb,
|
|
36644
|
+
reactNative.Platform.OS === "web" && styles35.thumbWeb,
|
|
36645
|
+
focusedThumb === "to" && reactNative.Platform.OS === "web" && styles35.thumbFocusedWeb,
|
|
36489
36646
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
36490
36647
|
],
|
|
36491
36648
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36494,7 +36651,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
36494
36651
|
]
|
|
36495
36652
|
}
|
|
36496
36653
|
),
|
|
36497
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
36654
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles35.inputs, children: [
|
|
36498
36655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36499
36656
|
RangeInput,
|
|
36500
36657
|
{
|
|
@@ -36545,7 +36702,7 @@ function RangeInput({
|
|
|
36545
36702
|
placeholder,
|
|
36546
36703
|
value
|
|
36547
36704
|
}) {
|
|
36548
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
36705
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles35.inputField, focused && styles35.inputFieldFocused], children: [
|
|
36549
36706
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36550
36707
|
reactNative.TextInput,
|
|
36551
36708
|
{
|
|
@@ -36561,15 +36718,15 @@ function RangeInput({
|
|
|
36561
36718
|
placeholder,
|
|
36562
36719
|
placeholderTextColor: colors.grey150,
|
|
36563
36720
|
returnKeyType: "done",
|
|
36564
|
-
style: [
|
|
36721
|
+
style: [styles35.input, reactNative.Platform.OS === "web" && styles35.inputWeb],
|
|
36565
36722
|
tabIndex: disabled ? -1 : void 0,
|
|
36566
36723
|
value
|
|
36567
36724
|
}
|
|
36568
36725
|
),
|
|
36569
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
36726
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles35.currencySlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles35.currency, children: currency }) })
|
|
36570
36727
|
] });
|
|
36571
36728
|
}
|
|
36572
|
-
var
|
|
36729
|
+
var styles35 = reactNative.StyleSheet.create({
|
|
36573
36730
|
root: {
|
|
36574
36731
|
width: DEFAULT_WIDTH5,
|
|
36575
36732
|
gap: 15,
|
|
@@ -36835,6 +36992,8 @@ exports.HelpCircleIcon = HelpCircleIcon;
|
|
|
36835
36992
|
exports.HideIcon = HideIcon;
|
|
36836
36993
|
exports.HomeIcon = HomeIcon;
|
|
36837
36994
|
exports.Icon = Icon;
|
|
36995
|
+
exports.IconStatusBadge = IconStatusBadge;
|
|
36996
|
+
exports.InfoCardV2 = InfoCardV2;
|
|
36838
36997
|
exports.InfoTile = InfoTile;
|
|
36839
36998
|
exports.Input = Input;
|
|
36840
36999
|
exports.InstagramIcon = InstagramIcon;
|
|
@@ -36856,6 +37015,7 @@ exports.MenuItem = MenuItem;
|
|
|
36856
37015
|
exports.MenuLinesIcon = MenuLinesIcon;
|
|
36857
37016
|
exports.MinusIcon = MinusIcon;
|
|
36858
37017
|
exports.Modal = Modal;
|
|
37018
|
+
exports.MoreHorizontalIcon = MoreHorizontalIcon;
|
|
36859
37019
|
exports.NavigateIcon = NavigateIcon;
|
|
36860
37020
|
exports.NoSmokingIcon = NoSmokingIcon;
|
|
36861
37021
|
exports.PaginationDots = PaginationDots;
|
|
@@ -36885,6 +37045,7 @@ exports.StatCard = StatCard;
|
|
|
36885
37045
|
exports.StatusBadge = StatusBadge;
|
|
36886
37046
|
exports.StepList = StepList;
|
|
36887
37047
|
exports.StepPager = StepPager;
|
|
37048
|
+
exports.TableViewIcon = TableViewIcon;
|
|
36888
37049
|
exports.Textarea = Textarea;
|
|
36889
37050
|
exports.Toggle = Toggle;
|
|
36890
37051
|
exports.ToggleRow = ToggleRow;
|