@ornikar/kitt-universal 23.3.0 → 23.4.0
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/CHANGELOG.md +9 -0
- package/dist/definitions/BottomSheet/useStaticBottomSheet.d.ts +3 -3
- package/dist/definitions/BottomSheet/useStaticBottomSheet.d.ts.map +1 -1
- package/dist/definitions/forms/DocumentPicker/DocumentPicker.d.ts +15 -0
- package/dist/definitions/forms/DocumentPicker/DocumentPicker.d.ts.map +1 -0
- package/dist/definitions/forms/FilePicker/BottomSheetActions/BottomSheetActions.d.ts +13 -0
- package/dist/definitions/forms/FilePicker/BottomSheetActions/BottomSheetActions.d.ts.map +1 -0
- package/dist/definitions/forms/FilePicker/BottomSheetActions/BottomSheetActionsItem.d.ts +7 -0
- package/dist/definitions/forms/FilePicker/BottomSheetActions/BottomSheetActionsItem.d.ts.map +1 -0
- package/dist/definitions/forms/FilePicker/FilePicker.d.ts +17 -0
- package/dist/definitions/forms/FilePicker/FilePicker.d.ts.map +1 -0
- package/dist/definitions/forms/FilePicker/FilePicker.web.d.ts +4 -0
- package/dist/definitions/forms/FilePicker/FilePicker.web.d.ts.map +1 -0
- package/dist/definitions/forms/ImagePicker/ImagePicker.d.ts +15 -0
- package/dist/definitions/forms/ImagePicker/ImagePicker.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +7 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +311 -164
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +311 -164
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +231 -83
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +62 -0
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +231 -86
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +60 -1
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +343 -158
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +104 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +4 -1
- package/translations/fr-FR.json +2 -0
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import React, { useContext, createContext, forwardRef, cloneElement, useRef, useEffect, useState, useMemo, Children, useReducer,
|
|
3
|
+
import React, { useContext, createContext, forwardRef, cloneElement, useRef, useEffect, useState, useMemo, Children, useReducer, Fragment as Fragment$1, useCallback, createElement } from 'react';
|
|
4
4
|
import { View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, useSx, Text, Input, useBreakpointValue as useBreakpointValue$1, NativeBaseProvider, extendTheme, useMediaQuery } from 'native-base';
|
|
5
5
|
export { useClipboard, useMediaQuery, useSx, useToken } from 'native-base';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
@@ -15,7 +15,7 @@ import _regeneratorRuntime from '@babel/runtime/helpers/regeneratorRuntime';
|
|
|
15
15
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
16
16
|
import { ArcIcon, UserIcon, MapPinIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, RotateCCWIcon } from '@ornikar/kitt-icons';
|
|
17
17
|
export * from '@ornikar/kitt-icons';
|
|
18
|
-
import { BottomSheetScrollView, BottomSheetView, useBottomSheetDynamicSnapPoints, BottomSheetModal, BottomSheetHandle, BottomSheetBackdrop } from '@gorhom/bottom-sheet';
|
|
18
|
+
import { BottomSheetScrollView, BottomSheetView, useBottomSheetDynamicSnapPoints, BottomSheetModal, BottomSheetHandle, BottomSheetBackdrop, useBottomSheetModal } from '@gorhom/bottom-sheet';
|
|
19
19
|
import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
20
20
|
import { parse } from 'twemoji-parser';
|
|
21
21
|
import * as WebBrowser from 'expo-web-browser';
|
|
@@ -23,6 +23,8 @@ import { CaretUpFillIcon, CaretDownFillIcon, EyeClosedRegularIcon, EyeRegularIco
|
|
|
23
23
|
import Downshift from 'downshift';
|
|
24
24
|
import DateTimePicker, { DateTimePickerAndroid } from '@react-native-community/datetimepicker';
|
|
25
25
|
import { FormattedMessage } from 'react-intl';
|
|
26
|
+
import { getDocumentAsync } from 'expo-document-picker';
|
|
27
|
+
import { launchImageLibraryAsync } from 'expo-image-picker';
|
|
26
28
|
import { useDebouncedCallback } from 'use-debounce';
|
|
27
29
|
import { parseNumber, getCountryCallingCode, isValidNumber } from 'libphonenumber-js';
|
|
28
30
|
import Svg, { Circle as Circle$1 } from 'react-native-svg';
|
|
@@ -1901,7 +1903,7 @@ function ActionCardDisabled(_ref) {
|
|
|
1901
1903
|
});
|
|
1902
1904
|
}
|
|
1903
1905
|
|
|
1904
|
-
var _excluded$
|
|
1906
|
+
var _excluded$N = ["children", "variant", "borderVariant", "disabled", "isHovered", "isPressed", "isFocused"];
|
|
1905
1907
|
function ActionCard(_ref) {
|
|
1906
1908
|
var children = _ref.children,
|
|
1907
1909
|
_ref$variant = _ref.variant,
|
|
@@ -1912,7 +1914,7 @@ function ActionCard(_ref) {
|
|
|
1912
1914
|
isHovered = _ref.isHovered,
|
|
1913
1915
|
isPressed = _ref.isPressed,
|
|
1914
1916
|
isFocused = _ref.isFocused,
|
|
1915
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1917
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
1916
1918
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
1917
1919
|
children: disabled ? /*#__PURE__*/jsx(ActionCardDisabled, {
|
|
1918
1920
|
variant: variant,
|
|
@@ -2136,7 +2138,7 @@ var getTypographyFamilyWithAncestorValue = function (type, typographyFamilyInCon
|
|
|
2136
2138
|
throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
|
|
2137
2139
|
};
|
|
2138
2140
|
|
|
2139
|
-
var _excluded$
|
|
2141
|
+
var _excluded$M = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
|
|
2140
2142
|
var TypographyFamilyContext = /*#__PURE__*/createContext(null);
|
|
2141
2143
|
var TypographyTypeContext = /*#__PURE__*/createContext(null);
|
|
2142
2144
|
var TypographyColorContext = /*#__PURE__*/createContext('black');
|
|
@@ -2190,7 +2192,7 @@ function Typography(_ref) {
|
|
|
2190
2192
|
} : _ref$type,
|
|
2191
2193
|
variant = _ref.variant,
|
|
2192
2194
|
color = _ref.color,
|
|
2193
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
2195
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
2194
2196
|
var sx = useSx();
|
|
2195
2197
|
var typographyFamilyInContext = useContext(TypographyFamilyContext);
|
|
2196
2198
|
var defaultColor = useTypographyDefaultColor();
|
|
@@ -2301,7 +2303,7 @@ function Icon(_ref) {
|
|
|
2301
2303
|
});
|
|
2302
2304
|
}
|
|
2303
2305
|
|
|
2304
|
-
var _excluded$
|
|
2306
|
+
var _excluded$L = ["color", "size"],
|
|
2305
2307
|
_excluded2$5 = ["color"];
|
|
2306
2308
|
function getIconSizeConfigKeyFromTypeName(breakpointName) {
|
|
2307
2309
|
return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
|
|
@@ -2322,7 +2324,7 @@ function createNativeBaseIconSize(type) {
|
|
|
2322
2324
|
function TypographyIconSpecifiedColor(_ref) {
|
|
2323
2325
|
var color = _ref.color,
|
|
2324
2326
|
size = _ref.size,
|
|
2325
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2327
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
2326
2328
|
var ancestorType = useTypographyAncestorType();
|
|
2327
2329
|
var iconSize = size || (ancestorType ? createNativeBaseIconSize(ancestorType) : undefined);
|
|
2328
2330
|
var colorValue = getTypographyColorValue(color);
|
|
@@ -2371,7 +2373,7 @@ var getButtonTextColorByType = function (type, variant, isHovered, isPressed) {
|
|
|
2371
2373
|
}
|
|
2372
2374
|
};
|
|
2373
2375
|
|
|
2374
|
-
var _excluded$
|
|
2376
|
+
var _excluded$K = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused"];
|
|
2375
2377
|
function ButtonIcon(_ref) {
|
|
2376
2378
|
var icon = _ref.icon,
|
|
2377
2379
|
color = _ref.color,
|
|
@@ -2446,7 +2448,7 @@ function ButtonContent(_ref3) {
|
|
|
2446
2448
|
isHovered = _ref3.isHovered,
|
|
2447
2449
|
isPressed = _ref3.isPressed;
|
|
2448
2450
|
_ref3.isFocused;
|
|
2449
|
-
var props = _objectWithoutProperties(_ref3, _excluded$
|
|
2451
|
+
var props = _objectWithoutProperties(_ref3, _excluded$K);
|
|
2450
2452
|
var color = isDisabled ? 'black-light' : getButtonTextColorByType(type, variant, isHovered, isPressed);
|
|
2451
2453
|
return /*#__PURE__*/jsx(View, {
|
|
2452
2454
|
_web: {
|
|
@@ -2739,7 +2741,7 @@ function LoaderIcon(_ref) {
|
|
|
2739
2741
|
});
|
|
2740
2742
|
}
|
|
2741
2743
|
|
|
2742
|
-
var _excluded$
|
|
2744
|
+
var _excluded$J = ["as", "onPress", "disabled", "icon", "stretch"];
|
|
2743
2745
|
var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
2744
2746
|
var as = _ref.as,
|
|
2745
2747
|
onPress = _ref.onPress,
|
|
@@ -2750,7 +2752,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
2750
2752
|
base: true,
|
|
2751
2753
|
medium: false
|
|
2752
2754
|
} : _ref$stretch,
|
|
2753
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2755
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
2754
2756
|
var _useState = useState(false),
|
|
2755
2757
|
_useState2 = _slicedToArray(_useState, 2),
|
|
2756
2758
|
isLoading = _useState2[0],
|
|
@@ -2823,7 +2825,7 @@ function ActionsButton(_ref) {
|
|
|
2823
2825
|
}, props));
|
|
2824
2826
|
}
|
|
2825
2827
|
|
|
2826
|
-
var _excluded$
|
|
2828
|
+
var _excluded$I = ["children", "layout", "reversed"];
|
|
2827
2829
|
function getCurrentLayout(layout) {
|
|
2828
2830
|
if (!layout) return {
|
|
2829
2831
|
base: 'stretch',
|
|
@@ -2852,7 +2854,7 @@ function Actions(_ref) {
|
|
|
2852
2854
|
var children = _ref.children,
|
|
2853
2855
|
layout = _ref.layout,
|
|
2854
2856
|
reversed = _ref.reversed,
|
|
2855
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2857
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
2856
2858
|
var currentAlignItems = getCurrentLayout(layout);
|
|
2857
2859
|
var currentDirection = getCurrentDirection(layout);
|
|
2858
2860
|
var currentAlignSelf = getCurrentAlignSelf(layout);
|
|
@@ -2901,7 +2903,7 @@ function getInitials(firstname, lastname) {
|
|
|
2901
2903
|
return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
|
|
2902
2904
|
}
|
|
2903
2905
|
|
|
2904
|
-
var _excluded$
|
|
2906
|
+
var _excluded$H = ["size", "round", "light", "sizeVariant"];
|
|
2905
2907
|
function AvatarContent(_ref) {
|
|
2906
2908
|
var size = _ref.size,
|
|
2907
2909
|
src = _ref.src,
|
|
@@ -2940,7 +2942,7 @@ function Avatar(_ref2) {
|
|
|
2940
2942
|
round = _ref2.round,
|
|
2941
2943
|
light = _ref2.light,
|
|
2942
2944
|
sizeVariant = _ref2.sizeVariant,
|
|
2943
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
2945
|
+
props = _objectWithoutProperties(_ref2, _excluded$H);
|
|
2944
2946
|
var currentSize = getCurrentSize({
|
|
2945
2947
|
size: size,
|
|
2946
2948
|
sizeVariant: sizeVariant
|
|
@@ -3286,13 +3288,13 @@ function CardModalAnimation(_ref) {
|
|
|
3286
3288
|
});
|
|
3287
3289
|
}
|
|
3288
3290
|
|
|
3289
|
-
var _excluded$
|
|
3291
|
+
var _excluded$G = ["children", "visible", "onClose", "onExited"];
|
|
3290
3292
|
function CardModalBehaviour(_ref) {
|
|
3291
3293
|
var children = _ref.children,
|
|
3292
3294
|
visible = _ref.visible,
|
|
3293
3295
|
onClose = _ref.onClose,
|
|
3294
3296
|
onExited = _ref.onExited,
|
|
3295
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3297
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
3296
3298
|
var _useState = useState(visible),
|
|
3297
3299
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3298
3300
|
isModalBehaviourVisible = _useState2[0],
|
|
@@ -3317,7 +3319,7 @@ function CardModalBehaviour(_ref) {
|
|
|
3317
3319
|
});
|
|
3318
3320
|
}
|
|
3319
3321
|
|
|
3320
|
-
var _excluded$
|
|
3322
|
+
var _excluded$F = ["children", "paddingX", "paddingY"];
|
|
3321
3323
|
function CardModalBody(_ref) {
|
|
3322
3324
|
var children = _ref.children,
|
|
3323
3325
|
_ref$paddingX = _ref.paddingX,
|
|
@@ -3327,7 +3329,7 @@ function CardModalBody(_ref) {
|
|
|
3327
3329
|
} : _ref$paddingX,
|
|
3328
3330
|
_ref$paddingY = _ref.paddingY,
|
|
3329
3331
|
paddingY = _ref$paddingY === void 0 ? 'kitt.4' : _ref$paddingY,
|
|
3330
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3332
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
3331
3333
|
return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({
|
|
3332
3334
|
showsVerticalScrollIndicator: false,
|
|
3333
3335
|
_contentContainerStyle: {
|
|
@@ -3339,7 +3341,7 @@ function CardModalBody(_ref) {
|
|
|
3339
3341
|
}));
|
|
3340
3342
|
}
|
|
3341
3343
|
|
|
3342
|
-
var _excluded$
|
|
3344
|
+
var _excluded$E = ["children", "padding", "hasSeparator"];
|
|
3343
3345
|
function CardModalFooter(_ref) {
|
|
3344
3346
|
var children = _ref.children,
|
|
3345
3347
|
_ref$padding = _ref.padding,
|
|
@@ -3349,7 +3351,7 @@ function CardModalFooter(_ref) {
|
|
|
3349
3351
|
} : _ref$padding,
|
|
3350
3352
|
_ref$hasSeparator = _ref.hasSeparator,
|
|
3351
3353
|
hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
|
|
3352
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3354
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
3353
3355
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
3354
3356
|
marginTop: "kitt.2",
|
|
3355
3357
|
padding: padding,
|
|
@@ -3363,7 +3365,7 @@ function CardModalFooter(_ref) {
|
|
|
3363
3365
|
}));
|
|
3364
3366
|
}
|
|
3365
3367
|
|
|
3366
|
-
var _excluded$
|
|
3368
|
+
var _excluded$D = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
|
|
3367
3369
|
function CardModalHeader(_ref) {
|
|
3368
3370
|
var children = _ref.children,
|
|
3369
3371
|
title = _ref.title,
|
|
@@ -3376,7 +3378,7 @@ function CardModalHeader(_ref) {
|
|
|
3376
3378
|
hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
|
|
3377
3379
|
right = _ref.right,
|
|
3378
3380
|
left = _ref.left,
|
|
3379
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3381
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
3380
3382
|
var defaultContainerPadding = {
|
|
3381
3383
|
base: 'kitt.4',
|
|
3382
3384
|
medium: 'kitt.6'
|
|
@@ -3414,7 +3416,7 @@ function CardModalHeader(_ref) {
|
|
|
3414
3416
|
}));
|
|
3415
3417
|
}
|
|
3416
3418
|
|
|
3417
|
-
var _excluded$
|
|
3419
|
+
var _excluded$C = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
|
|
3418
3420
|
function CardModal(_ref) {
|
|
3419
3421
|
var _ref$backgroundColor = _ref.backgroundColor,
|
|
3420
3422
|
backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
|
|
@@ -3425,7 +3427,7 @@ function CardModal(_ref) {
|
|
|
3425
3427
|
header = _ref.header,
|
|
3426
3428
|
body = _ref.body,
|
|
3427
3429
|
footer = _ref.footer,
|
|
3428
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3430
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
3429
3431
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
3430
3432
|
overflow: "hidden",
|
|
3431
3433
|
backgroundColor: backgroundColor,
|
|
@@ -3642,10 +3644,10 @@ function ChoiceItemContainer(_ref) {
|
|
|
3642
3644
|
});
|
|
3643
3645
|
}
|
|
3644
3646
|
|
|
3645
|
-
var _excluded$
|
|
3647
|
+
var _excluded$B = ["direction"];
|
|
3646
3648
|
function ChoicesContainer(_ref) {
|
|
3647
3649
|
var direction = _ref.direction,
|
|
3648
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3650
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
3649
3651
|
if (direction === 'row') {
|
|
3650
3652
|
return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
|
|
3651
3653
|
horizontal: true
|
|
@@ -3870,13 +3872,13 @@ function DialogModalAnimation(_ref) {
|
|
|
3870
3872
|
});
|
|
3871
3873
|
}
|
|
3872
3874
|
|
|
3873
|
-
var _excluded$
|
|
3875
|
+
var _excluded$A = ["children", "visible", "onClose", "onExited"];
|
|
3874
3876
|
function DialogModalBehaviour(_ref) {
|
|
3875
3877
|
var children = _ref.children,
|
|
3876
3878
|
visible = _ref.visible,
|
|
3877
3879
|
onClose = _ref.onClose,
|
|
3878
3880
|
onExited = _ref.onExited,
|
|
3879
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3881
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
3880
3882
|
var _useState = useState(visible),
|
|
3881
3883
|
_useState2 = _slicedToArray(_useState, 2),
|
|
3882
3884
|
isModalBehaviourVisible = _useState2[0],
|
|
@@ -3907,7 +3909,7 @@ function DialogModalBehaviour(_ref) {
|
|
|
3907
3909
|
});
|
|
3908
3910
|
}
|
|
3909
3911
|
|
|
3910
|
-
var _excluded$
|
|
3912
|
+
var _excluded$z = ["stretch"];
|
|
3911
3913
|
function DialogModal(_ref) {
|
|
3912
3914
|
var illustration = _ref.illustration,
|
|
3913
3915
|
title = _ref.title,
|
|
@@ -3947,7 +3949,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
|
|
|
3947
3949
|
function DialogModalButton(_ref2) {
|
|
3948
3950
|
var _ref2$stretch = _ref2.stretch,
|
|
3949
3951
|
stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
|
|
3950
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
3952
|
+
props = _objectWithoutProperties(_ref2, _excluded$z);
|
|
3951
3953
|
return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
|
|
3952
3954
|
stretch: stretch
|
|
3953
3955
|
}, props));
|
|
@@ -3984,7 +3986,7 @@ function Emoji(_ref) {
|
|
|
3984
3986
|
});
|
|
3985
3987
|
}
|
|
3986
3988
|
|
|
3987
|
-
var _excluded$
|
|
3989
|
+
var _excluded$y = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
|
|
3988
3990
|
_excluded2$4 = ["phoneNumber", "children"],
|
|
3989
3991
|
_excluded3$3 = ["phoneNumber", "children"],
|
|
3990
3992
|
_excluded4$3 = ["emailAddress", "children"];
|
|
@@ -3994,7 +3996,7 @@ function ExternalAppLink(_ref) {
|
|
|
3994
3996
|
appValue = _ref.appValue,
|
|
3995
3997
|
onPress = _ref.onPress,
|
|
3996
3998
|
onOpenAppError = _ref.onOpenAppError,
|
|
3997
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3999
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
3998
4000
|
var href = "".concat(appScheme, ":").concat(appValue);
|
|
3999
4001
|
var handleOnPress = /*#__PURE__*/function () {
|
|
4000
4002
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
|
|
@@ -4120,7 +4122,7 @@ function useOpenExternalLink() {
|
|
|
4120
4122
|
}();
|
|
4121
4123
|
}
|
|
4122
4124
|
|
|
4123
|
-
var _excluded$
|
|
4125
|
+
var _excluded$x = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
|
|
4124
4126
|
function ExternalLink(_ref) {
|
|
4125
4127
|
var Component = _ref.as,
|
|
4126
4128
|
href = _ref.href,
|
|
@@ -4129,7 +4131,7 @@ function ExternalLink(_ref) {
|
|
|
4129
4131
|
onPress = _ref.onPress,
|
|
4130
4132
|
_ref$onOpenLinkError = _ref.onOpenLinkError,
|
|
4131
4133
|
onOpenLinkError = _ref$onOpenLinkError === void 0 ? console.error : _ref$onOpenLinkError,
|
|
4132
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4134
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
4133
4135
|
var openExternalLink = useOpenExternalLink();
|
|
4134
4136
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4135
4137
|
return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
|
|
@@ -4186,7 +4188,7 @@ function InputTextContainer(_ref) {
|
|
|
4186
4188
|
});
|
|
4187
4189
|
}
|
|
4188
4190
|
|
|
4189
|
-
var _excluded$
|
|
4191
|
+
var _excluded$w = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "onSubmitEditing"];
|
|
4190
4192
|
var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
4191
4193
|
var id = _ref.id,
|
|
4192
4194
|
right = _ref.right;
|
|
@@ -4206,7 +4208,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
4206
4208
|
inputMode = _ref$inputMode === void 0 ? 'text' : _ref$inputMode,
|
|
4207
4209
|
multiline = _ref.multiline,
|
|
4208
4210
|
onSubmitEditing = _ref.onSubmitEditing,
|
|
4209
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4211
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
4210
4212
|
var theme = useTheme();
|
|
4211
4213
|
var fontSizeForNativeBase = createNativeBaseFontSize({
|
|
4212
4214
|
base: 'body'
|
|
@@ -4323,10 +4325,10 @@ function AutocompleteItemsListContainer(_ref) {
|
|
|
4323
4325
|
});
|
|
4324
4326
|
}
|
|
4325
4327
|
|
|
4326
|
-
var _excluded$
|
|
4328
|
+
var _excluded$v = ["children"];
|
|
4327
4329
|
function AutocompleteOption(_ref) {
|
|
4328
4330
|
var children = _ref.children,
|
|
4329
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4331
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
4330
4332
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
4331
4333
|
paddingX: {
|
|
4332
4334
|
base: 'kitt.2',
|
|
@@ -4338,7 +4340,7 @@ function AutocompleteOption(_ref) {
|
|
|
4338
4340
|
}));
|
|
4339
4341
|
}
|
|
4340
4342
|
|
|
4341
|
-
var _excluded$
|
|
4343
|
+
var _excluded$u = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex"],
|
|
4342
4344
|
_excluded2$3 = ["onClick", "onPress"],
|
|
4343
4345
|
_excluded3$2 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
|
|
4344
4346
|
_excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
|
|
@@ -4377,7 +4379,7 @@ function Autocomplete(_ref) {
|
|
|
4377
4379
|
listContainerTestID = _ref$listContainerTes === void 0 ? 'kitt.Autocomplete.listContainer' : _ref$listContainerTes,
|
|
4378
4380
|
_ref$zIndex = _ref.zIndex,
|
|
4379
4381
|
zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
|
|
4380
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4382
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
4381
4383
|
var childrenArray = Children.toArray(_children);
|
|
4382
4384
|
var items = childrenArray.filter(isReactElement).map(function (child) {
|
|
4383
4385
|
return {
|
|
@@ -4916,7 +4918,7 @@ function PartContainer(_ref) {
|
|
|
4916
4918
|
});
|
|
4917
4919
|
}
|
|
4918
4920
|
|
|
4919
|
-
var _excluded$
|
|
4921
|
+
var _excluded$t = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
|
|
4920
4922
|
var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
4921
4923
|
var id = _ref.id,
|
|
4922
4924
|
value = _ref.value,
|
|
@@ -4934,7 +4936,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
4934
4936
|
onBlur = _ref.onBlur,
|
|
4935
4937
|
onFocus = _ref.onFocus,
|
|
4936
4938
|
onSubmitEditing = _ref.onSubmitEditing;
|
|
4937
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
4939
|
+
_objectWithoutProperties(_ref, _excluded$t);
|
|
4938
4940
|
var monthRef = useRef(null);
|
|
4939
4941
|
var yearRef = useRef(null);
|
|
4940
4942
|
var defaultValue = value;
|
|
@@ -5146,7 +5148,7 @@ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5146
5148
|
});
|
|
5147
5149
|
});
|
|
5148
5150
|
|
|
5149
|
-
var _excluded$
|
|
5151
|
+
var _excluded$s = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
|
|
5150
5152
|
var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5151
5153
|
var onBlur = _ref.onBlur,
|
|
5152
5154
|
onFocus = _ref.onFocus,
|
|
@@ -5155,7 +5157,7 @@ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5155
5157
|
isDefaultVisible = _ref.isDefaultVisible,
|
|
5156
5158
|
value = _ref.value,
|
|
5157
5159
|
_onChange = _ref.onChange,
|
|
5158
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5160
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
5159
5161
|
var _useState = useState(false),
|
|
5160
5162
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5161
5163
|
isFocused = _useState2[0],
|
|
@@ -5231,7 +5233,7 @@ function PlatformDateTimePicker(_ref) {
|
|
|
5231
5233
|
}));
|
|
5232
5234
|
}
|
|
5233
5235
|
|
|
5234
|
-
var _excluded$
|
|
5236
|
+
var _excluded$r = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
|
|
5235
5237
|
function ModalTitle(_ref) {
|
|
5236
5238
|
var children = _ref.children;
|
|
5237
5239
|
return /*#__PURE__*/jsx(CardModal.Header, {
|
|
@@ -5249,7 +5251,7 @@ function ModalPlatformDateTimePicker(_ref2) {
|
|
|
5249
5251
|
validateButtonLabel = _ref2.validateButtonLabel,
|
|
5250
5252
|
onClose = _ref2.onClose,
|
|
5251
5253
|
onChange = _ref2.onChange,
|
|
5252
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
5254
|
+
props = _objectWithoutProperties(_ref2, _excluded$r);
|
|
5253
5255
|
var _useState = useState(value),
|
|
5254
5256
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5255
5257
|
currentValue = _useState2[0],
|
|
@@ -5295,7 +5297,7 @@ function ModalPlatformDateTimePicker(_ref2) {
|
|
|
5295
5297
|
});
|
|
5296
5298
|
}
|
|
5297
5299
|
|
|
5298
|
-
var _excluded$
|
|
5300
|
+
var _excluded$q = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
|
|
5299
5301
|
var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5300
5302
|
var value = _ref.value,
|
|
5301
5303
|
pickerUITestID = _ref.pickerUITestID,
|
|
@@ -5309,7 +5311,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5309
5311
|
onChange = _ref.onChange,
|
|
5310
5312
|
onFocus = _ref.onFocus,
|
|
5311
5313
|
onBlur = _ref.onBlur,
|
|
5312
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5314
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
5313
5315
|
var _useState = useState(isDefaultVisible),
|
|
5314
5316
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5315
5317
|
isPickerUIVisible = _useState2[0],
|
|
@@ -5356,7 +5358,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5356
5358
|
});
|
|
5357
5359
|
});
|
|
5358
5360
|
|
|
5359
|
-
var _excluded$
|
|
5361
|
+
var _excluded$p = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
|
|
5360
5362
|
var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5361
5363
|
var value = _ref.value,
|
|
5362
5364
|
pickerUITestID = _ref.pickerUITestID,
|
|
@@ -5364,7 +5366,7 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5364
5366
|
pickerDefaultDate = _ref.pickerDefaultDate,
|
|
5365
5367
|
onChange = _ref.onChange,
|
|
5366
5368
|
onBlur = _ref.onBlur,
|
|
5367
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5369
|
+
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
5368
5370
|
if (Platform.OS === 'android') {
|
|
5369
5371
|
return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
|
|
5370
5372
|
ref: ref,
|
|
@@ -5386,14 +5388,14 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5386
5388
|
}, props));
|
|
5387
5389
|
});
|
|
5388
5390
|
|
|
5389
|
-
var _excluded$
|
|
5391
|
+
var _excluded$o = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
|
|
5390
5392
|
var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5391
5393
|
var _ref$fillMode = _ref.fillMode,
|
|
5392
5394
|
fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
|
|
5393
5395
|
enterKeyHint = _ref.enterKeyHint,
|
|
5394
5396
|
value = _ref.value,
|
|
5395
5397
|
onSubmitEditing = _ref.onSubmitEditing,
|
|
5396
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5398
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
5397
5399
|
// in apps, final-form can give a string value that will break the component
|
|
5398
5400
|
var currentValue = value || undefined;
|
|
5399
5401
|
if (fillMode === 'keyboard') {
|
|
@@ -5412,6 +5414,272 @@ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5412
5414
|
}));
|
|
5413
5415
|
});
|
|
5414
5416
|
|
|
5417
|
+
function DocumentPicker(_ref) {
|
|
5418
|
+
var onDocumentUpload = _ref.onDocumentUpload,
|
|
5419
|
+
children = _ref.children,
|
|
5420
|
+
disabled = _ref.disabled,
|
|
5421
|
+
documentPickerOptions = _ref.documentPickerOptions;
|
|
5422
|
+
var childElement = Children.only(children);
|
|
5423
|
+
var handlePickDocument = /*#__PURE__*/function () {
|
|
5424
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5425
|
+
var _childElement$props$o, _childElement$props;
|
|
5426
|
+
var result;
|
|
5427
|
+
return _regeneratorRuntime().wrap(function (_context) {
|
|
5428
|
+
while (1) switch (_context.prev = _context.next) {
|
|
5429
|
+
case 0:
|
|
5430
|
+
if (!disabled) {
|
|
5431
|
+
_context.next = 2;
|
|
5432
|
+
break;
|
|
5433
|
+
}
|
|
5434
|
+
return _context.abrupt("return");
|
|
5435
|
+
case 2:
|
|
5436
|
+
(_childElement$props$o = (_childElement$props = childElement.props).onPress) === null || _childElement$props$o === void 0 || _childElement$props$o.call(_childElement$props);
|
|
5437
|
+
_context.next = 5;
|
|
5438
|
+
return getDocumentAsync(_objectSpread(_objectSpread({}, documentPickerOptions), {}, {
|
|
5439
|
+
multiple: false
|
|
5440
|
+
}));
|
|
5441
|
+
case 5:
|
|
5442
|
+
result = _context.sent;
|
|
5443
|
+
if (!result.canceled && result.assets[0].file) {
|
|
5444
|
+
onDocumentUpload(result.assets[0].file);
|
|
5445
|
+
}
|
|
5446
|
+
case 7:
|
|
5447
|
+
case "end":
|
|
5448
|
+
return _context.stop();
|
|
5449
|
+
}
|
|
5450
|
+
}, _callee);
|
|
5451
|
+
}));
|
|
5452
|
+
return function () {
|
|
5453
|
+
return _ref2.apply(this, arguments);
|
|
5454
|
+
};
|
|
5455
|
+
}();
|
|
5456
|
+
return /*#__PURE__*/cloneElement(childElement, {
|
|
5457
|
+
// ensure that the press event is not prevented by Button component
|
|
5458
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
5459
|
+
onPress: handlePickDocument,
|
|
5460
|
+
disabled: disabled
|
|
5461
|
+
});
|
|
5462
|
+
}
|
|
5463
|
+
|
|
5464
|
+
function ImagePicker(_ref) {
|
|
5465
|
+
var onImageSelected = _ref.onImageSelected,
|
|
5466
|
+
children = _ref.children,
|
|
5467
|
+
disabled = _ref.disabled,
|
|
5468
|
+
imagePickerOptions = _ref.imagePickerOptions;
|
|
5469
|
+
var childElement = Children.only(children);
|
|
5470
|
+
var handlePickImage = /*#__PURE__*/function () {
|
|
5471
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5472
|
+
var _childElement$props$o, _childElement$props;
|
|
5473
|
+
var result;
|
|
5474
|
+
return _regeneratorRuntime().wrap(function (_context) {
|
|
5475
|
+
while (1) switch (_context.prev = _context.next) {
|
|
5476
|
+
case 0:
|
|
5477
|
+
if (!disabled) {
|
|
5478
|
+
_context.next = 2;
|
|
5479
|
+
break;
|
|
5480
|
+
}
|
|
5481
|
+
return _context.abrupt("return");
|
|
5482
|
+
case 2:
|
|
5483
|
+
(_childElement$props$o = (_childElement$props = childElement.props).onPress) === null || _childElement$props$o === void 0 || _childElement$props$o.call(_childElement$props);
|
|
5484
|
+
|
|
5485
|
+
// No permissions request is necessary for launching the image library
|
|
5486
|
+
_context.next = 5;
|
|
5487
|
+
return launchImageLibraryAsync(_objectSpread(_objectSpread({}, imagePickerOptions), {}, {
|
|
5488
|
+
allowsMultipleSelection: false
|
|
5489
|
+
}));
|
|
5490
|
+
case 5:
|
|
5491
|
+
result = _context.sent;
|
|
5492
|
+
if (!result.canceled) {
|
|
5493
|
+
onImageSelected(result.assets[0]);
|
|
5494
|
+
}
|
|
5495
|
+
case 7:
|
|
5496
|
+
case "end":
|
|
5497
|
+
return _context.stop();
|
|
5498
|
+
}
|
|
5499
|
+
}, _callee);
|
|
5500
|
+
}));
|
|
5501
|
+
return function () {
|
|
5502
|
+
return _ref2.apply(this, arguments);
|
|
5503
|
+
};
|
|
5504
|
+
}();
|
|
5505
|
+
return /*#__PURE__*/jsx(View, {
|
|
5506
|
+
children: /*#__PURE__*/cloneElement(childElement, {
|
|
5507
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
5508
|
+
onPress: handlePickImage,
|
|
5509
|
+
disabled: disabled
|
|
5510
|
+
})
|
|
5511
|
+
});
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
var _excluded$n = ["children"];
|
|
5515
|
+
function ListItemContent(_ref) {
|
|
5516
|
+
var children = _ref.children,
|
|
5517
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
5518
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
5519
|
+
alignSelf: "center",
|
|
5520
|
+
flexBasis: "0%",
|
|
5521
|
+
flexGrow: 1,
|
|
5522
|
+
flexShrink: 0
|
|
5523
|
+
}, rest), {}, {
|
|
5524
|
+
children: children
|
|
5525
|
+
}));
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
var _excluded$m = ["children", "side"],
|
|
5529
|
+
_excluded2$2 = ["children", "align"];
|
|
5530
|
+
// Handles the vertical alignment of the side elements of the list item
|
|
5531
|
+
function ListItemSideContainer(_ref) {
|
|
5532
|
+
var children = _ref.children,
|
|
5533
|
+
_ref$side = _ref.side,
|
|
5534
|
+
side = _ref$side === void 0 ? 'left' : _ref$side,
|
|
5535
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
5536
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
5537
|
+
flexDirection: "row",
|
|
5538
|
+
marginLeft: side === 'right' ? 'kitt.2' : undefined,
|
|
5539
|
+
marginRight: side === 'left' ? 'kitt.2' : undefined
|
|
5540
|
+
}, rest), {}, {
|
|
5541
|
+
children: children
|
|
5542
|
+
}));
|
|
5543
|
+
}
|
|
5544
|
+
function ListItemSideContent(_ref2) {
|
|
5545
|
+
var children = _ref2.children,
|
|
5546
|
+
_ref2$align = _ref2.align,
|
|
5547
|
+
align = _ref2$align === void 0 ? 'auto' : _ref2$align,
|
|
5548
|
+
rest = _objectWithoutProperties(_ref2, _excluded2$2);
|
|
5549
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
5550
|
+
alignSelf: align
|
|
5551
|
+
}, rest), {}, {
|
|
5552
|
+
children: children
|
|
5553
|
+
}));
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
var _excluded$l = ["children", "withPadding", "borders", "left", "right", "onPress"];
|
|
5557
|
+
function ListItem(_ref) {
|
|
5558
|
+
var children = _ref.children,
|
|
5559
|
+
withPadding = _ref.withPadding,
|
|
5560
|
+
borders = _ref.borders,
|
|
5561
|
+
left = _ref.left,
|
|
5562
|
+
right = _ref.right,
|
|
5563
|
+
onPress = _ref.onPress,
|
|
5564
|
+
rest = _objectWithoutProperties(_ref, _excluded$l);
|
|
5565
|
+
var Wrapper = onPress ? Pressable$2 : Fragment$1;
|
|
5566
|
+
var wrapperProps = onPress ? _objectSpread({
|
|
5567
|
+
accessibilityRole: 'button',
|
|
5568
|
+
onPress: onPress
|
|
5569
|
+
}, rest) : undefined;
|
|
5570
|
+
var containerProps = onPress ? undefined : rest;
|
|
5571
|
+
return /*#__PURE__*/jsx(Wrapper, _objectSpread(_objectSpread({}, wrapperProps), {}, {
|
|
5572
|
+
children: /*#__PURE__*/jsxs(View, _objectSpread(_objectSpread({
|
|
5573
|
+
flexDirection: "row",
|
|
5574
|
+
paddingX: withPadding ? 'kitt.listItem.horizontalPadding' : undefined,
|
|
5575
|
+
paddingY: withPadding ? 'kitt.listItem.verticalPadding' : undefined,
|
|
5576
|
+
borderColor: "kitt.listItem.borderColor",
|
|
5577
|
+
backgroundColor: "kitt.uiBackgroundLight",
|
|
5578
|
+
borderTopWidth: borders === 'top' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined,
|
|
5579
|
+
borderBottomWidth: borders === 'bottom' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined
|
|
5580
|
+
}, containerProps), {}, {
|
|
5581
|
+
children: [left ? /*#__PURE__*/jsx(ListItemSideContainer, {
|
|
5582
|
+
side: "left",
|
|
5583
|
+
children: left
|
|
5584
|
+
}) : null, /*#__PURE__*/jsx(ListItemContent, {
|
|
5585
|
+
children: children
|
|
5586
|
+
}), right ? /*#__PURE__*/jsx(ListItemSideContainer, {
|
|
5587
|
+
side: "right",
|
|
5588
|
+
children: right
|
|
5589
|
+
}) : null]
|
|
5590
|
+
}))
|
|
5591
|
+
}));
|
|
5592
|
+
}
|
|
5593
|
+
ListItem.Content = ListItemContent;
|
|
5594
|
+
ListItem.SideContent = ListItemSideContent;
|
|
5595
|
+
ListItem.SideContainer = ListItemSideContainer;
|
|
5596
|
+
|
|
5597
|
+
var _excluded$k = ["title"];
|
|
5598
|
+
function BottomSheetActionsItem(_ref) {
|
|
5599
|
+
var title = _ref.title,
|
|
5600
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
5601
|
+
return /*#__PURE__*/jsx(Pressable$2, _objectSpread(_objectSpread({}, props), {}, {
|
|
5602
|
+
children: /*#__PURE__*/jsx(ListItem, {
|
|
5603
|
+
withPadding: true,
|
|
5604
|
+
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
5605
|
+
variant: "bold",
|
|
5606
|
+
base: "body",
|
|
5607
|
+
children: title
|
|
5608
|
+
})
|
|
5609
|
+
})
|
|
5610
|
+
}));
|
|
5611
|
+
}
|
|
5612
|
+
|
|
5613
|
+
function BottomSheetActions(_ref) {
|
|
5614
|
+
var onBottomSheetActionsChange = _ref.onBottomSheetActionsChange,
|
|
5615
|
+
imagePickerOptions = _ref.imagePickerOptions,
|
|
5616
|
+
documentPickerOptions = _ref.documentPickerOptions,
|
|
5617
|
+
disabled = _ref.disabled;
|
|
5618
|
+
var isPlatformIOS = Platform.OS === 'ios';
|
|
5619
|
+
return /*#__PURE__*/jsxs(VStack, {
|
|
5620
|
+
marginBottom: "kitt.8",
|
|
5621
|
+
children: [/*#__PURE__*/jsx(ImagePicker, {
|
|
5622
|
+
imagePickerOptions: imagePickerOptions,
|
|
5623
|
+
disabled: disabled,
|
|
5624
|
+
onImageSelected: onBottomSheetActionsChange,
|
|
5625
|
+
children: /*#__PURE__*/jsx(BottomSheetActionsItem, {
|
|
5626
|
+
title: /*#__PURE__*/jsx(FormattedMessage, {
|
|
5627
|
+
id: "account.BottomSheetActions.openLibrary",
|
|
5628
|
+
values: {
|
|
5629
|
+
isPlatformIOS: isPlatformIOS
|
|
5630
|
+
}
|
|
5631
|
+
})
|
|
5632
|
+
})
|
|
5633
|
+
}), /*#__PURE__*/jsx(DocumentPicker, {
|
|
5634
|
+
disabled: disabled,
|
|
5635
|
+
documentPickerOptions: documentPickerOptions,
|
|
5636
|
+
onDocumentUpload: onBottomSheetActionsChange,
|
|
5637
|
+
children: /*#__PURE__*/jsx(BottomSheetActionsItem, {
|
|
5638
|
+
title: /*#__PURE__*/jsx(FormattedMessage, {
|
|
5639
|
+
id: "account.BottomSheetActions.openFileExplorer",
|
|
5640
|
+
values: {
|
|
5641
|
+
isPlatformIOS: isPlatformIOS
|
|
5642
|
+
}
|
|
5643
|
+
})
|
|
5644
|
+
})
|
|
5645
|
+
})]
|
|
5646
|
+
});
|
|
5647
|
+
}
|
|
5648
|
+
|
|
5649
|
+
function FilePicker(_ref) {
|
|
5650
|
+
var onFileSelected = _ref.onFileSelected,
|
|
5651
|
+
children = _ref.children,
|
|
5652
|
+
disabled = _ref.disabled,
|
|
5653
|
+
imagePickerOptions = _ref.imagePickerOptions,
|
|
5654
|
+
documentPickerOptions = _ref.documentPickerOptions;
|
|
5655
|
+
var childElement = Children.only(children);
|
|
5656
|
+
var _useStaticBottomSheet = useStaticBottomSheet(BottomSheetActions),
|
|
5657
|
+
bottomSheetRef = _useStaticBottomSheet.bottomSheetRef,
|
|
5658
|
+
BottomSheet = _useStaticBottomSheet.BottomSheet;
|
|
5659
|
+
var _useBottomSheetModal = useBottomSheetModal(),
|
|
5660
|
+
dismissAll = _useBottomSheetModal.dismissAll;
|
|
5661
|
+
var handleBottomSheetActionsChange = function (file) {
|
|
5662
|
+
dismissAll();
|
|
5663
|
+
onFileSelected(file);
|
|
5664
|
+
};
|
|
5665
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
5666
|
+
children: [/*#__PURE__*/cloneElement(childElement, {
|
|
5667
|
+
// ensure that the press event is not prevented by Button component
|
|
5668
|
+
onPress: function onPress() {
|
|
5669
|
+
var _childElement$props$o, _childElement$props, _bottomSheetRef$curre;
|
|
5670
|
+
if (disabled) return;
|
|
5671
|
+
(_childElement$props$o = (_childElement$props = childElement.props).onPress) === null || _childElement$props$o === void 0 || _childElement$props$o.call(_childElement$props);
|
|
5672
|
+
(_bottomSheetRef$curre = bottomSheetRef.current) === null || _bottomSheetRef$curre === void 0 || _bottomSheetRef$curre.present({
|
|
5673
|
+
onBottomSheetActionsChange: handleBottomSheetActionsChange,
|
|
5674
|
+
imagePickerOptions: imagePickerOptions,
|
|
5675
|
+
documentPickerOptions: documentPickerOptions
|
|
5676
|
+
});
|
|
5677
|
+
},
|
|
5678
|
+
disabled: disabled
|
|
5679
|
+
}), /*#__PURE__*/jsx(BottomSheet, {})]
|
|
5680
|
+
});
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5415
5683
|
var GoogleMapsApiKeyContext = /*#__PURE__*/createContext(undefined);
|
|
5416
5684
|
function GoogleMapsApiKeyProvider(_ref) {
|
|
5417
5685
|
var children = _ref.children,
|
|
@@ -5872,7 +6140,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
|
|
|
5872
6140
|
};
|
|
5873
6141
|
}
|
|
5874
6142
|
|
|
5875
|
-
var _excluded$
|
|
6143
|
+
var _excluded$j = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
|
|
5876
6144
|
function InputAddress(_ref) {
|
|
5877
6145
|
var initialValue = _ref.initialValue,
|
|
5878
6146
|
_ref$itemToString = _ref.itemToString,
|
|
@@ -5880,7 +6148,7 @@ function InputAddress(_ref) {
|
|
|
5880
6148
|
errorElement = _ref.errorElement,
|
|
5881
6149
|
emptyResultsElement = _ref.emptyResultsElement,
|
|
5882
6150
|
_onChange = _ref.onChange,
|
|
5883
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6151
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
5884
6152
|
var _useGoogleMapsAutocom = useGoogleMapsAutocomplete(),
|
|
5885
6153
|
state = _useGoogleMapsAutocom.state,
|
|
5886
6154
|
_onInputChange = _useGoogleMapsAutocom.onInputChange,
|
|
@@ -5970,10 +6238,10 @@ function InputField(_ref) {
|
|
|
5970
6238
|
});
|
|
5971
6239
|
}
|
|
5972
6240
|
|
|
5973
|
-
var _excluded$
|
|
6241
|
+
var _excluded$i = ["onChange"];
|
|
5974
6242
|
var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5975
6243
|
var onChange = _ref.onChange,
|
|
5976
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6244
|
+
props = _objectWithoutProperties(_ref, _excluded$i);
|
|
5977
6245
|
return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
|
|
5978
6246
|
ref: ref
|
|
5979
6247
|
}, props), {}, {
|
|
@@ -5990,11 +6258,11 @@ var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
5990
6258
|
}));
|
|
5991
6259
|
});
|
|
5992
6260
|
|
|
5993
|
-
var _excluded$
|
|
6261
|
+
var _excluded$h = ["isPasswordDefaultVisible", "right"];
|
|
5994
6262
|
var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
5995
6263
|
var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
|
|
5996
6264
|
right = _ref.right,
|
|
5997
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6265
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
5998
6266
|
var _useState = useState(Boolean(isPasswordDefaultVisible)),
|
|
5999
6267
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6000
6268
|
isVisible = _useState2[0],
|
|
@@ -6022,7 +6290,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6022
6290
|
}));
|
|
6023
6291
|
});
|
|
6024
6292
|
|
|
6025
|
-
var _excluded$
|
|
6293
|
+
var _excluded$g = ["enterKeyHint", "autoComplete", "phoneNumberLength", "value", "onChange"];
|
|
6026
6294
|
function isPhoneNumberValid(number) {
|
|
6027
6295
|
return isValidNumber(number);
|
|
6028
6296
|
}
|
|
@@ -6037,7 +6305,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6037
6305
|
phoneNumberLength = _ref$phoneNumberLengt === void 0 ? 10 : _ref$phoneNumberLengt,
|
|
6038
6306
|
value = _ref.value,
|
|
6039
6307
|
onChange = _ref.onChange,
|
|
6040
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6308
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
6041
6309
|
var _useState = useState(value),
|
|
6042
6310
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6043
6311
|
currentValue = _useState2[0],
|
|
@@ -6472,7 +6740,7 @@ function RadioButton(_ref) {
|
|
|
6472
6740
|
});
|
|
6473
6741
|
}
|
|
6474
6742
|
|
|
6475
|
-
var _excluded$
|
|
6743
|
+
var _excluded$f = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
|
|
6476
6744
|
function RadioButtonGroupItem(_ref) {
|
|
6477
6745
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
6478
6746
|
return /*#__PURE__*/jsx(RadioButton, _objectSpread({}, props));
|
|
@@ -6485,7 +6753,7 @@ function RadioButtonGroup(_ref2) {
|
|
|
6485
6753
|
onFocus = _ref2.onFocus,
|
|
6486
6754
|
onBlur = _ref2.onBlur,
|
|
6487
6755
|
onChange = _ref2.onChange,
|
|
6488
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
6756
|
+
props = _objectWithoutProperties(_ref2, _excluded$f);
|
|
6489
6757
|
var _useState = useState(value),
|
|
6490
6758
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6491
6759
|
currentValue = _useState2[0],
|
|
@@ -6527,13 +6795,13 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6527
6795
|
}, props));
|
|
6528
6796
|
});
|
|
6529
6797
|
|
|
6530
|
-
var _excluded$
|
|
6798
|
+
var _excluded$e = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
|
|
6531
6799
|
function FullscreenModalBody(_ref) {
|
|
6532
6800
|
var children = _ref.children,
|
|
6533
6801
|
shouldHandleBottomNotch = _ref.shouldHandleBottomNotch,
|
|
6534
6802
|
style = _ref.style,
|
|
6535
6803
|
shouldHandleTopNotch = _ref.shouldHandleTopNotch,
|
|
6536
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6804
|
+
props = _objectWithoutProperties(_ref, _excluded$e);
|
|
6537
6805
|
var _useSafeAreaInsets = useSafeAreaInsets(),
|
|
6538
6806
|
bottom = _useSafeAreaInsets.bottom,
|
|
6539
6807
|
top = _useSafeAreaInsets.top;
|
|
@@ -6550,14 +6818,14 @@ function FullscreenModalBody(_ref) {
|
|
|
6550
6818
|
}));
|
|
6551
6819
|
}
|
|
6552
6820
|
|
|
6553
|
-
var _excluded$
|
|
6821
|
+
var _excluded$d = ["shouldHandleBottomNotch", "hasSeparator", "children"];
|
|
6554
6822
|
function FullscreenModalFooter(_ref) {
|
|
6555
6823
|
var _ref$shouldHandleBott = _ref.shouldHandleBottomNotch,
|
|
6556
6824
|
shouldHandleBottomNotch = _ref$shouldHandleBott === void 0 ? true : _ref$shouldHandleBott,
|
|
6557
6825
|
_ref$hasSeparator = _ref.hasSeparator,
|
|
6558
6826
|
hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
|
|
6559
6827
|
children = _ref.children,
|
|
6560
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6828
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
6561
6829
|
var _useSafeAreaInsets = useSafeAreaInsets(),
|
|
6562
6830
|
bottom = _useSafeAreaInsets.bottom;
|
|
6563
6831
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
@@ -6715,13 +6983,13 @@ function FullscreenModalAnimation(_ref) {
|
|
|
6715
6983
|
});
|
|
6716
6984
|
}
|
|
6717
6985
|
|
|
6718
|
-
var _excluded$
|
|
6986
|
+
var _excluded$c = ["children", "visible", "onClose", "onExited"];
|
|
6719
6987
|
function FullscreenModalBehaviour(_ref) {
|
|
6720
6988
|
var children = _ref.children,
|
|
6721
6989
|
visible = _ref.visible,
|
|
6722
6990
|
onClose = _ref.onClose,
|
|
6723
6991
|
onExited = _ref.onExited,
|
|
6724
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6992
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
6725
6993
|
var _useState = useState(visible),
|
|
6726
6994
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6727
6995
|
isModalBehaviourVisible = _useState2[0],
|
|
@@ -6768,7 +7036,7 @@ function FullscreenModalContainer(_ref) {
|
|
|
6768
7036
|
});
|
|
6769
7037
|
}
|
|
6770
7038
|
|
|
6771
|
-
var _excluded$
|
|
7039
|
+
var _excluded$b = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
|
|
6772
7040
|
function FullscreenModalHeader(_ref) {
|
|
6773
7041
|
var _ref$hasSeparator = _ref.hasSeparator,
|
|
6774
7042
|
hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
|
|
@@ -6779,7 +7047,7 @@ function FullscreenModalHeader(_ref) {
|
|
|
6779
7047
|
left = _ref.left,
|
|
6780
7048
|
_ref$shouldHandleTopN = _ref.shouldHandleTopNotch,
|
|
6781
7049
|
shouldHandleTopNotch = _ref$shouldHandleTopN === void 0 ? true : _ref$shouldHandleTopN,
|
|
6782
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7050
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
6783
7051
|
var _useSafeAreaInsets = useSafeAreaInsets(),
|
|
6784
7052
|
top = _useSafeAreaInsets.top;
|
|
6785
7053
|
var hasRight = Boolean(right);
|
|
@@ -7092,7 +7360,7 @@ function Highlight(_ref) {
|
|
|
7092
7360
|
// eslint-disable-next-line no-restricted-imports
|
|
7093
7361
|
var useBreakpointValue = useBreakpointValue$1;
|
|
7094
7362
|
|
|
7095
|
-
var _excluded$
|
|
7363
|
+
var _excluded$a = ["color", "isDisabled"];
|
|
7096
7364
|
function getBackgroundColor(color, isDisabled) {
|
|
7097
7365
|
if (isDisabled) {
|
|
7098
7366
|
return 'kitt.iconButton.disabled.backgroundColor';
|
|
@@ -7110,7 +7378,7 @@ function getBackgroundColor(color, isDisabled) {
|
|
|
7110
7378
|
function Background(_ref) {
|
|
7111
7379
|
var color = _ref.color,
|
|
7112
7380
|
isDisabled = _ref.isDisabled,
|
|
7113
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7381
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
7114
7382
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
7115
7383
|
width: "100%",
|
|
7116
7384
|
height: "100%",
|
|
@@ -7307,89 +7575,6 @@ function useKittMapConfig() {
|
|
|
7307
7575
|
return context;
|
|
7308
7576
|
}
|
|
7309
7577
|
|
|
7310
|
-
var _excluded$c = ["children"];
|
|
7311
|
-
function ListItemContent(_ref) {
|
|
7312
|
-
var children = _ref.children,
|
|
7313
|
-
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
7314
|
-
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
7315
|
-
alignSelf: "center",
|
|
7316
|
-
flexBasis: "0%",
|
|
7317
|
-
flexGrow: 1,
|
|
7318
|
-
flexShrink: 0
|
|
7319
|
-
}, rest), {}, {
|
|
7320
|
-
children: children
|
|
7321
|
-
}));
|
|
7322
|
-
}
|
|
7323
|
-
|
|
7324
|
-
var _excluded$b = ["children", "side"],
|
|
7325
|
-
_excluded2$2 = ["children", "align"];
|
|
7326
|
-
// Handles the vertical alignment of the side elements of the list item
|
|
7327
|
-
function ListItemSideContainer(_ref) {
|
|
7328
|
-
var children = _ref.children,
|
|
7329
|
-
_ref$side = _ref.side,
|
|
7330
|
-
side = _ref$side === void 0 ? 'left' : _ref$side,
|
|
7331
|
-
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
7332
|
-
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
7333
|
-
flexDirection: "row",
|
|
7334
|
-
marginLeft: side === 'right' ? 'kitt.2' : undefined,
|
|
7335
|
-
marginRight: side === 'left' ? 'kitt.2' : undefined
|
|
7336
|
-
}, rest), {}, {
|
|
7337
|
-
children: children
|
|
7338
|
-
}));
|
|
7339
|
-
}
|
|
7340
|
-
function ListItemSideContent(_ref2) {
|
|
7341
|
-
var children = _ref2.children,
|
|
7342
|
-
_ref2$align = _ref2.align,
|
|
7343
|
-
align = _ref2$align === void 0 ? 'auto' : _ref2$align,
|
|
7344
|
-
rest = _objectWithoutProperties(_ref2, _excluded2$2);
|
|
7345
|
-
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
7346
|
-
alignSelf: align
|
|
7347
|
-
}, rest), {}, {
|
|
7348
|
-
children: children
|
|
7349
|
-
}));
|
|
7350
|
-
}
|
|
7351
|
-
|
|
7352
|
-
var _excluded$a = ["children", "withPadding", "borders", "left", "right", "onPress"];
|
|
7353
|
-
function ListItem(_ref) {
|
|
7354
|
-
var children = _ref.children,
|
|
7355
|
-
withPadding = _ref.withPadding,
|
|
7356
|
-
borders = _ref.borders,
|
|
7357
|
-
left = _ref.left,
|
|
7358
|
-
right = _ref.right,
|
|
7359
|
-
onPress = _ref.onPress,
|
|
7360
|
-
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
7361
|
-
var Wrapper = onPress ? Pressable$2 : Fragment$1;
|
|
7362
|
-
var wrapperProps = onPress ? _objectSpread({
|
|
7363
|
-
accessibilityRole: 'button',
|
|
7364
|
-
onPress: onPress
|
|
7365
|
-
}, rest) : undefined;
|
|
7366
|
-
var containerProps = onPress ? undefined : rest;
|
|
7367
|
-
return /*#__PURE__*/jsx(Wrapper, _objectSpread(_objectSpread({}, wrapperProps), {}, {
|
|
7368
|
-
children: /*#__PURE__*/jsxs(View, _objectSpread(_objectSpread({
|
|
7369
|
-
flexDirection: "row",
|
|
7370
|
-
paddingX: withPadding ? 'kitt.listItem.horizontalPadding' : undefined,
|
|
7371
|
-
paddingY: withPadding ? 'kitt.listItem.verticalPadding' : undefined,
|
|
7372
|
-
borderColor: "kitt.listItem.borderColor",
|
|
7373
|
-
backgroundColor: "kitt.uiBackgroundLight",
|
|
7374
|
-
borderTopWidth: borders === 'top' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined,
|
|
7375
|
-
borderBottomWidth: borders === 'bottom' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined
|
|
7376
|
-
}, containerProps), {}, {
|
|
7377
|
-
children: [left ? /*#__PURE__*/jsx(ListItemSideContainer, {
|
|
7378
|
-
side: "left",
|
|
7379
|
-
children: left
|
|
7380
|
-
}) : null, /*#__PURE__*/jsx(ListItemContent, {
|
|
7381
|
-
children: children
|
|
7382
|
-
}), right ? /*#__PURE__*/jsx(ListItemSideContainer, {
|
|
7383
|
-
side: "right",
|
|
7384
|
-
children: right
|
|
7385
|
-
}) : null]
|
|
7386
|
-
}))
|
|
7387
|
-
}));
|
|
7388
|
-
}
|
|
7389
|
-
ListItem.Content = ListItemContent;
|
|
7390
|
-
ListItem.SideContent = ListItemSideContent;
|
|
7391
|
-
ListItem.SideContainer = ListItemSideContainer;
|
|
7392
|
-
|
|
7393
7578
|
var SvgMarkerLargeinline = function SvgMarkerLargeinline(props) {
|
|
7394
7579
|
return /*#__PURE__*/jsxs("svg", _objectSpread(_objectSpread({
|
|
7395
7580
|
fill: "currentColor",
|
|
@@ -11506,5 +11691,5 @@ function VerticalSteps(_ref) {
|
|
|
11506
11691
|
}
|
|
11507
11692
|
VerticalSteps.Step = ExternalStep;
|
|
11508
11693
|
|
|
11509
|
-
export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, CardModal, Center, Checkbox, ChoicesElements, CloseIconButton, DatePicker, DialogModal, Emoji, ExternalAppLink, ExternalLink, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, HStack, Highlight, Icon, IconButton, Image, InputAddress, InputEmail, InputFeedback, InputField, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarkerLarge, MapMarkerPosition, MapMarkerSimple, MatchWindowSize, Message, ModalBehaviour, FlatList as NativeOnlyFlatList, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
|
|
11694
|
+
export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, CardModal, Center, Checkbox, ChoicesElements, CloseIconButton, DatePicker, DialogModal, DocumentPicker, Emoji, ExternalAppLink, ExternalLink, FilePicker, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, HStack, Highlight, Icon, IconButton, Image, ImagePicker, InputAddress, InputEmail, InputFeedback, InputField, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarkerLarge, MapMarkerPosition, MapMarkerSimple, MatchWindowSize, Message, ModalBehaviour, FlatList as NativeOnlyFlatList, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
|
|
11510
11695
|
//# sourceMappingURL=index.es.js.map
|