@codeleap/mobile 2.4.7 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mobile-packages.code-workspace +27 -0
- package/package.json +25 -33
- package/src/components/ActionIcon/index.tsx +16 -6
- package/src/components/ActionIcon/styles.ts +3 -90
- package/src/components/ActivityIndicator/index.tsx +28 -9
- package/src/components/ActivityIndicator/styles.ts +2 -59
- package/src/components/Autocomplete/index.tsx +235 -0
- package/src/components/Autocomplete/styles.ts +18 -0
- package/src/components/Autocomplete/types.ts +75 -0
- package/src/components/Avatar/index.tsx +126 -0
- package/src/components/Avatar/styles.ts +22 -0
- package/src/components/AvatarGroup/index.tsx +76 -0
- package/src/components/AvatarGroup/styles.ts +11 -0
- package/src/components/Backdrop/index.tsx +14 -13
- package/src/components/Backdrop/styles.ts +3 -24
- package/src/components/Badge/index.tsx +134 -0
- package/src/components/Badge/styles.ts +14 -0
- package/src/components/Button/index.tsx +39 -49
- package/src/components/Button/styles.ts +6 -107
- package/src/components/Calendar/index.tsx +3 -3
- package/src/components/Calendar/style.ts +2 -31
- package/src/components/Checkbox/index.tsx +137 -74
- package/src/components/Checkbox/styles.ts +13 -73
- package/src/components/ContentView/index.tsx +2 -2
- package/src/components/ContentView/styles.ts +1 -17
- package/src/components/DatePickerModal/index.tsx +240 -0
- package/src/components/DatePickerModal/styles.ts +15 -0
- package/src/components/DatePickerModal/types.ts +55 -0
- package/src/components/Drawer/index.tsx +2 -2
- package/src/components/Drawer/styles.ts +4 -39
- package/src/components/EmptyPlaceholder/index.tsx +3 -3
- package/src/components/EmptyPlaceholder/styles.ts +2 -47
- package/src/components/FileInput/styles.ts +1 -8
- package/src/components/Grid/index.tsx +76 -72
- package/src/components/Grid/styles.ts +4 -7
- package/src/components/Icon/index.tsx +46 -8
- package/src/components/Icon/styles.ts +3 -51
- package/src/components/Image/index.tsx +18 -22
- package/src/components/Image/styles.ts +1 -14
- package/src/components/ImageView/Spotlight.tsx +4 -2
- package/src/components/ImageView/component.tsx +0 -3
- package/src/components/InputBase/index.tsx +101 -0
- package/src/components/InputBase/styles.ts +135 -0
- package/src/components/InputBase/types.ts +28 -0
- package/src/components/InputBase/utils.ts +42 -0
- package/src/components/InputLabel/index.tsx +3 -3
- package/src/components/InputLabel/styles.ts +2 -14
- package/src/components/List/PaginationIndicator.tsx +4 -21
- package/src/components/List/index.tsx +84 -46
- package/src/components/List/styles.ts +8 -20
- package/src/components/LoadingOverlay/index.tsx +45 -45
- package/src/components/LoadingOverlay/styles.ts +5 -27
- package/src/components/Modal/index.tsx +56 -32
- package/src/components/Modal/styles.ts +3 -114
- package/src/components/NumberIncrement/index.tsx +318 -0
- package/src/components/NumberIncrement/styles.ts +14 -0
- package/src/components/NumberIncrement/types.ts +44 -0
- package/src/components/NumberIncrement/utils.ts +27 -0
- package/src/components/Pager/index.tsx +120 -67
- package/src/components/Pager/styles.ts +2 -69
- package/src/components/RadioInput/index.tsx +145 -68
- package/src/components/RadioInput/styles.ts +8 -61
- package/src/components/RefreshControl/index.tsx +28 -0
- package/src/components/RefreshControl/styles.ts +7 -0
- package/src/components/Scroll/index.tsx +22 -37
- package/src/components/Scroll/styles.ts +2 -16
- package/src/components/Sections/index.tsx +116 -54
- package/src/components/Sections/styles.ts +7 -0
- package/src/components/SegmentedControl/Option.tsx +51 -0
- package/src/components/SegmentedControl/index.tsx +51 -67
- package/src/components/SegmentedControl/styles.ts +7 -63
- package/src/components/Select/index.tsx +268 -95
- package/src/components/Select/styles.ts +11 -131
- package/src/components/Select/types.ts +47 -11
- package/src/components/Slider/index.tsx +151 -94
- package/src/components/Slider/styles.ts +7 -72
- package/src/components/Slider/types.ts +18 -20
- package/src/components/Switch/index.tsx +115 -63
- package/src/components/Switch/styles.ts +13 -30
- package/src/components/Text/index.tsx +14 -31
- package/src/components/Text/styles.ts +2 -41
- package/src/components/TextInput/index.tsx +237 -259
- package/src/components/TextInput/styles.ts +6 -120
- package/src/components/Touchable/index.tsx +74 -27
- package/src/components/Touchable/styles.ts +1 -12
- package/src/components/View/index.tsx +11 -26
- package/src/components/View/styles.ts +1 -17
- package/src/components/components.ts +9 -5
- package/src/components/defaultStyles.ts +74 -61
- package/src/index.ts +0 -1
- package/src/modules/PressableRipple/index.ts +5 -0
- package/src/modules/PressableRipple/ripple.js +258 -0
- package/src/modules/PressableRipple/styles.js +22 -0
- package/src/modules/PressableRipple/type.ts +17 -0
- package/src/modules/textInputMask.tsx +13 -0
- package/src/types/index.ts +5 -0
- package/src/types/utility.ts +2 -2
- package/src/utils/KeyboardAware/index.ts +0 -13
- package/src/utils/KeyboardAware/keyboardHooks.ts +69 -79
- package/src/utils/hooks.ts +63 -36
- package/src/utils/index.ts +1 -0
- package/src/utils/locale.ts +7 -0
- package/src/utils/theme.ts +1 -21
- package/dist/components/ActionIcon/index.d.ts +0 -13
- package/dist/components/ActionIcon/index.js +0 -51
- package/dist/components/ActionIcon/index.js.map +0 -1
- package/dist/components/ActionIcon/styles.d.ts +0 -65
- package/dist/components/ActionIcon/styles.js +0 -61
- package/dist/components/ActionIcon/styles.js.map +0 -1
- package/dist/components/ActivityIndicator/index.d.ts +0 -15
- package/dist/components/ActivityIndicator/index.js +0 -55
- package/dist/components/ActivityIndicator/index.js.map +0 -1
- package/dist/components/ActivityIndicator/styles.d.ts +0 -59
- package/dist/components/ActivityIndicator/styles.js +0 -52
- package/dist/components/ActivityIndicator/styles.js.map +0 -1
- package/dist/components/Animated.d.ts +0 -15
- package/dist/components/Animated.js +0 -55
- package/dist/components/Animated.js.map +0 -1
- package/dist/components/AutoComplete/index.d.ts +0 -34
- package/dist/components/AutoComplete/index.js +0 -126
- package/dist/components/AutoComplete/index.js.map +0 -1
- package/dist/components/AutoComplete/styles.d.ts +0 -57
- package/dist/components/AutoComplete/styles.js +0 -89
- package/dist/components/AutoComplete/styles.js.map +0 -1
- package/dist/components/Backdrop/index.d.ts +0 -14
- package/dist/components/Backdrop/index.js +0 -59
- package/dist/components/Backdrop/index.js.map +0 -1
- package/dist/components/Backdrop/styles.d.ts +0 -53
- package/dist/components/Backdrop/styles.js +0 -28
- package/dist/components/Backdrop/styles.js.map +0 -1
- package/dist/components/Button/index.d.ts +0 -246
- package/dist/components/Button/index.js +0 -115
- package/dist/components/Button/index.js.map +0 -1
- package/dist/components/Button/styles.d.ts +0 -65
- package/dist/components/Button/styles.js +0 -61
- package/dist/components/Button/styles.js.map +0 -1
- package/dist/components/Calendar/index.d.ts +0 -15
- package/dist/components/Calendar/index.js +0 -76
- package/dist/components/Calendar/index.js.map +0 -1
- package/dist/components/Calendar/style.d.ts +0 -4
- package/dist/components/Calendar/style.js +0 -36
- package/dist/components/Calendar/style.js.map +0 -1
- package/dist/components/Calendar/types.d.ts +0 -95
- package/dist/components/Calendar/types.js +0 -3
- package/dist/components/Calendar/types.js.map +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -15
- package/dist/components/Checkbox/index.js +0 -81
- package/dist/components/Checkbox/index.js.map +0 -1
- package/dist/components/Checkbox/styles.d.ts +0 -56
- package/dist/components/Checkbox/styles.js +0 -53
- package/dist/components/Checkbox/styles.js.map +0 -1
- package/dist/components/ContentView/index.d.ts +0 -12
- package/dist/components/ContentView/index.js +0 -62
- package/dist/components/ContentView/index.js.map +0 -1
- package/dist/components/ContentView/styles.d.ts +0 -53
- package/dist/components/ContentView/styles.js +0 -26
- package/dist/components/ContentView/styles.js.map +0 -1
- package/dist/components/Drawer/index.d.ts +0 -7
- package/dist/components/Drawer/index.js +0 -66
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/Drawer/styles.d.ts +0 -56
- package/dist/components/Drawer/styles.js +0 -39
- package/dist/components/Drawer/styles.js.map +0 -1
- package/dist/components/EmptyPlaceholder/index.d.ts +0 -25
- package/dist/components/EmptyPlaceholder/index.js +0 -88
- package/dist/components/EmptyPlaceholder/index.js.map +0 -1
- package/dist/components/EmptyPlaceholder/styles.d.ts +0 -55
- package/dist/components/EmptyPlaceholder/styles.js +0 -30
- package/dist/components/EmptyPlaceholder/styles.js.map +0 -1
- package/dist/components/FileInput/index.d.ts +0 -24
- package/dist/components/FileInput/index.js +0 -179
- package/dist/components/FileInput/index.js.map +0 -1
- package/dist/components/FileInput/styles.d.ts +0 -53
- package/dist/components/FileInput/styles.js +0 -19
- package/dist/components/FileInput/styles.js.map +0 -1
- package/dist/components/Grid/index.d.ts +0 -32
- package/dist/components/Grid/index.js +0 -80
- package/dist/components/Grid/index.js.map +0 -1
- package/dist/components/Grid/styles.d.ts +0 -54
- package/dist/components/Grid/styles.js +0 -19
- package/dist/components/Grid/styles.js.map +0 -1
- package/dist/components/Icon/index.d.ts +0 -14
- package/dist/components/Icon/index.js +0 -75
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/Icon/styles.d.ts +0 -61
- package/dist/components/Icon/styles.js +0 -49
- package/dist/components/Icon/styles.js.map +0 -1
- package/dist/components/Image/index.d.ts +0 -25
- package/dist/components/Image/index.js +0 -130
- package/dist/components/Image/index.js.map +0 -1
- package/dist/components/Image/styles.d.ts +0 -55
- package/dist/components/Image/styles.js +0 -25
- package/dist/components/Image/styles.js.map +0 -1
- package/dist/components/ImageView/Spotlight.d.ts +0 -25
- package/dist/components/ImageView/Spotlight.js +0 -150
- package/dist/components/ImageView/Spotlight.js.map +0 -1
- package/dist/components/ImageView/component.d.ts +0 -5
- package/dist/components/ImageView/component.js +0 -50
- package/dist/components/ImageView/component.js.map +0 -1
- package/dist/components/ImageView/index.d.ts +0 -2
- package/dist/components/ImageView/index.js +0 -15
- package/dist/components/ImageView/index.js.map +0 -1
- package/dist/components/InputLabel/index.d.ts +0 -12
- package/dist/components/InputLabel/index.js +0 -58
- package/dist/components/InputLabel/index.js.map +0 -1
- package/dist/components/InputLabel/styles.d.ts +0 -4
- package/dist/components/InputLabel/styles.js +0 -26
- package/dist/components/InputLabel/styles.js.map +0 -1
- package/dist/components/List/PaginationIndicator.d.ts +0 -67
- package/dist/components/List/PaginationIndicator.js +0 -51
- package/dist/components/List/PaginationIndicator.js.map +0 -1
- package/dist/components/List/index.d.ts +0 -31
- package/dist/components/List/index.js +0 -77
- package/dist/components/List/index.js.map +0 -1
- package/dist/components/List/styles.d.ts +0 -54
- package/dist/components/List/styles.js +0 -28
- package/dist/components/List/styles.js.map +0 -1
- package/dist/components/LoadingOverlay/index.d.ts +0 -11
- package/dist/components/LoadingOverlay/index.js +0 -60
- package/dist/components/LoadingOverlay/index.js.map +0 -1
- package/dist/components/LoadingOverlay/styles.d.ts +0 -7
- package/dist/components/LoadingOverlay/styles.js +0 -34
- package/dist/components/LoadingOverlay/styles.js.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -43
- package/dist/components/Modal/index.js +0 -147
- package/dist/components/Modal/index.js.map +0 -1
- package/dist/components/Modal/styles.d.ts +0 -58
- package/dist/components/Modal/styles.js +0 -74
- package/dist/components/Modal/styles.js.map +0 -1
- package/dist/components/MultiSelect/index.d.ts +0 -6
- package/dist/components/MultiSelect/index.js +0 -119
- package/dist/components/MultiSelect/index.js.map +0 -1
- package/dist/components/MultiSelect/styles.d.ts +0 -7
- package/dist/components/MultiSelect/styles.js +0 -84
- package/dist/components/MultiSelect/styles.js.map +0 -1
- package/dist/components/MultiSelect/types.d.ts +0 -43
- package/dist/components/MultiSelect/types.js +0 -3
- package/dist/components/MultiSelect/types.js.map +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -3
- package/dist/components/Navigation/Navigation.js +0 -80
- package/dist/components/Navigation/Navigation.js.map +0 -1
- package/dist/components/Navigation/constants.d.ts +0 -5
- package/dist/components/Navigation/constants.js +0 -11
- package/dist/components/Navigation/constants.js.map +0 -1
- package/dist/components/Navigation/index.d.ts +0 -3
- package/dist/components/Navigation/index.js +0 -16
- package/dist/components/Navigation/index.js.map +0 -1
- package/dist/components/Navigation/types.d.ts +0 -26
- package/dist/components/Navigation/types.js +0 -8
- package/dist/components/Navigation/types.js.map +0 -1
- package/dist/components/Navigation/utils.d.ts +0 -3
- package/dist/components/Navigation/utils.js +0 -69
- package/dist/components/Navigation/utils.js.map +0 -1
- package/dist/components/Pager/index.d.ts +0 -26
- package/dist/components/Pager/index.js +0 -84
- package/dist/components/Pager/index.js.map +0 -1
- package/dist/components/Pager/styles.d.ts +0 -87
- package/dist/components/Pager/styles.js +0 -72
- package/dist/components/Pager/styles.js.map +0 -1
- package/dist/components/RadioInput/index.d.ts +0 -27
- package/dist/components/RadioInput/index.js +0 -72
- package/dist/components/RadioInput/index.js.map +0 -1
- package/dist/components/RadioInput/styles.d.ts +0 -58
- package/dist/components/RadioInput/styles.js +0 -50
- package/dist/components/RadioInput/styles.js.map +0 -1
- package/dist/components/Scroll/index.d.ts +0 -124
- package/dist/components/Scroll/index.js +0 -97
- package/dist/components/Scroll/index.js.map +0 -1
- package/dist/components/Scroll/styles.d.ts +0 -53
- package/dist/components/Scroll/styles.js +0 -26
- package/dist/components/Scroll/styles.js.map +0 -1
- package/dist/components/Sections/index.d.ts +0 -115
- package/dist/components/Sections/index.js +0 -76
- package/dist/components/Sections/index.js.map +0 -1
- package/dist/components/SegmentedControl/index.d.ts +0 -52
- package/dist/components/SegmentedControl/index.js +0 -131
- package/dist/components/SegmentedControl/index.js.map +0 -1
- package/dist/components/SegmentedControl/styles.d.ts +0 -60
- package/dist/components/SegmentedControl/styles.js +0 -43
- package/dist/components/SegmentedControl/styles.js.map +0 -1
- package/dist/components/Select/index.d.ts +0 -16
- package/dist/components/Select/index.js +0 -122
- package/dist/components/Select/index.js.map +0 -1
- package/dist/components/Select/styles.d.ts +0 -60
- package/dist/components/Select/styles.js +0 -83
- package/dist/components/Select/styles.js.map +0 -1
- package/dist/components/Select/types.d.ts +0 -43
- package/dist/components/Select/types.js +0 -3
- package/dist/components/Select/types.js.map +0 -1
- package/dist/components/Slider/Mark.d.ts +0 -3
- package/dist/components/Slider/Mark.js +0 -32
- package/dist/components/Slider/Mark.js.map +0 -1
- package/dist/components/Slider/Thumb.d.ts +0 -7
- package/dist/components/Slider/Thumb.js +0 -30
- package/dist/components/Slider/Thumb.js.map +0 -1
- package/dist/components/Slider/index.d.ts +0 -4
- package/dist/components/Slider/index.js +0 -99
- package/dist/components/Slider/index.js.map +0 -1
- package/dist/components/Slider/styles.d.ts +0 -54
- package/dist/components/Slider/styles.js +0 -61
- package/dist/components/Slider/styles.js.map +0 -1
- package/dist/components/Slider/types.d.ts +0 -26
- package/dist/components/Slider/types.js +0 -3
- package/dist/components/Slider/types.js.map +0 -1
- package/dist/components/Switch/index.d.ts +0 -14
- package/dist/components/Switch/index.js +0 -81
- package/dist/components/Switch/index.js.map +0 -1
- package/dist/components/Switch/styles.d.ts +0 -55
- package/dist/components/Switch/styles.js +0 -34
- package/dist/components/Switch/styles.js.map +0 -1
- package/dist/components/Text/index.d.ts +0 -25
- package/dist/components/Text/index.js +0 -121
- package/dist/components/Text/index.js.map +0 -1
- package/dist/components/Text/styles.d.ts +0 -70
- package/dist/components/Text/styles.js +0 -34
- package/dist/components/Text/styles.js.map +0 -1
- package/dist/components/TextInput/index.d.ts +0 -181
- package/dist/components/TextInput/index.js +0 -213
- package/dist/components/TextInput/index.js.map +0 -1
- package/dist/components/TextInput/styles.d.ts +0 -63
- package/dist/components/TextInput/styles.js +0 -65
- package/dist/components/TextInput/styles.js.map +0 -1
- package/dist/components/Touchable/index.d.ts +0 -22
- package/dist/components/Touchable/index.js +0 -165
- package/dist/components/Touchable/index.js.map +0 -1
- package/dist/components/Touchable/styles.d.ts +0 -58
- package/dist/components/Touchable/styles.js +0 -24
- package/dist/components/Touchable/styles.js.map +0 -1
- package/dist/components/View/index.d.ts +0 -25
- package/dist/components/View/index.js +0 -107
- package/dist/components/View/index.js.map +0 -1
- package/dist/components/View/styles.d.ts +0 -54
- package/dist/components/View/styles.js +0 -29
- package/dist/components/View/styles.js.map +0 -1
- package/dist/components/components.d.ts +0 -37
- package/dist/components/components.js +0 -50
- package/dist/components/components.js.map +0 -1
- package/dist/components/defaultStyles.d.ts +0 -1468
- package/dist/components/defaultStyles.js +0 -67
- package/dist/components/defaultStyles.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -39
- package/dist/index.js.map +0 -1
- package/dist/modules/documentPicker.d.ts +0 -3
- package/dist/modules/documentPicker.js +0 -12
- package/dist/modules/documentPicker.js.map +0 -1
- package/dist/modules/fastImage.d.ts +0 -1
- package/dist/modules/fastImage.js +0 -10
- package/dist/modules/fastImage.js.map +0 -1
- package/dist/modules/reactNavigation.d.ts +0 -5
- package/dist/modules/reactNavigation.js +0 -26
- package/dist/modules/reactNavigation.js.map +0 -1
- package/dist/modules/rnDeviceInfo.d.ts +0 -2
- package/dist/modules/rnDeviceInfo.js +0 -10
- package/dist/modules/rnDeviceInfo.js.map +0 -1
- package/dist/modules/textInputMask.d.ts +0 -10
- package/dist/modules/textInputMask.js +0 -19
- package/dist/modules/textInputMask.js.map +0 -1
- package/dist/modules/types/fileTypes.d.ts +0 -138
- package/dist/modules/types/fileTypes.js +0 -3
- package/dist/modules/types/fileTypes.js.map +0 -1
- package/dist/modules/types/textInputMask.d.ts +0 -7
- package/dist/modules/types/textInputMask.js +0 -3
- package/dist/modules/types/textInputMask.js.map +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -14
- package/dist/types/index.js.map +0 -1
- package/dist/types/utility.d.ts +0 -14
- package/dist/types/utility.js +0 -3
- package/dist/types/utility.js.map +0 -1
- package/dist/utils/KeyboardAware/context.d.ts +0 -13
- package/dist/utils/KeyboardAware/context.js +0 -63
- package/dist/utils/KeyboardAware/context.js.map +0 -1
- package/dist/utils/KeyboardAware/index.d.ts +0 -8
- package/dist/utils/KeyboardAware/index.js +0 -29
- package/dist/utils/KeyboardAware/index.js.map +0 -1
- package/dist/utils/KeyboardAware/keyboardHooks.d.ts +0 -26
- package/dist/utils/KeyboardAware/keyboardHooks.js +0 -87
- package/dist/utils/KeyboardAware/keyboardHooks.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js +0 -9
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.d.ts +0 -67
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js +0 -439
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.d.ts +0 -7
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js +0 -4
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js +0 -10
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js +0 -10
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js.map +0 -1
- package/dist/utils/KeyboardAware/types.d.ts +0 -1
- package/dist/utils/KeyboardAware/types.js +0 -7
- package/dist/utils/KeyboardAware/types.js.map +0 -1
- package/dist/utils/ModalManager/components.d.ts +0 -20
- package/dist/utils/ModalManager/components.js +0 -114
- package/dist/utils/ModalManager/components.js.map +0 -1
- package/dist/utils/ModalManager/context.d.ts +0 -48
- package/dist/utils/ModalManager/context.js +0 -201
- package/dist/utils/ModalManager/context.js.map +0 -1
- package/dist/utils/ModalManager/index.d.ts +0 -11
- package/dist/utils/ModalManager/index.js +0 -13
- package/dist/utils/ModalManager/index.js.map +0 -1
- package/dist/utils/OSAlert.d.ts +0 -32
- package/dist/utils/OSAlert.js +0 -143
- package/dist/utils/OSAlert.js.map +0 -1
- package/dist/utils/PermissionManager/context.d.ts +0 -53
- package/dist/utils/PermissionManager/context.js +0 -320
- package/dist/utils/PermissionManager/context.js.map +0 -1
- package/dist/utils/PermissionManager/index.d.ts +0 -4
- package/dist/utils/PermissionManager/index.js +0 -9
- package/dist/utils/PermissionManager/index.js.map +0 -1
- package/dist/utils/PermissionManager/types.d.ts +0 -13
- package/dist/utils/PermissionManager/types.js +0 -3
- package/dist/utils/PermissionManager/types.js.map +0 -1
- package/dist/utils/hooks.d.ts +0 -61
- package/dist/utils/hooks.js +0 -233
- package/dist/utils/hooks.js.map +0 -1
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/index.js +0 -36
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/input.d.ts +0 -35
- package/dist/utils/input.js +0 -49
- package/dist/utils/input.js.map +0 -1
- package/dist/utils/misc.d.ts +0 -6
- package/dist/utils/misc.js +0 -87
- package/dist/utils/misc.js.map +0 -1
- package/dist/utils/notifications.d.ts +0 -34
- package/dist/utils/notifications.js +0 -268
- package/dist/utils/notifications.js.map +0 -1
- package/dist/utils/theme.d.ts +0 -42
- package/dist/utils/theme.js +0 -50
- package/dist/utils/theme.js.map +0 -1
- package/src/components/Animated.tsx +0 -34
- package/src/components/AutoComplete/index.tsx +0 -167
- package/src/components/AutoComplete/styles.ts +0 -150
- package/src/components/MultiSelect/index.tsx +0 -148
- package/src/components/MultiSelect/styles.ts +0 -131
- package/src/components/MultiSelect/types.ts +0 -51
- package/src/components/Slider/Mark.tsx +0 -46
- package/src/components/Slider/Thumb.tsx +0 -29
- package/src/modules/textInputMask.ts +0 -11
- package/src/utils/KeyboardAware/lib/KeyboardAwareFlatList.ts +0 -4
- package/src/utils/KeyboardAware/lib/KeyboardAwareHOC.tsx +0 -592
- package/src/utils/KeyboardAware/lib/KeyboardAwareInterface.ts +0 -13
- package/src/utils/KeyboardAware/lib/KeyboardAwareScrollView.ts +0 -6
- package/src/utils/KeyboardAware/lib/KeyboardAwareSectionList.ts +0 -6
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultStyles = void 0;
|
|
4
|
-
var View_1 = require("./View");
|
|
5
|
-
var Icon_1 = require("./Icon");
|
|
6
|
-
var Touchable_1 = require("./Touchable");
|
|
7
|
-
var Text_1 = require("./Text");
|
|
8
|
-
var Image_1 = require("./Image");
|
|
9
|
-
var Checkbox_1 = require("./Checkbox");
|
|
10
|
-
var TextInput_1 = require("./TextInput");
|
|
11
|
-
var RadioInput_1 = require("./RadioInput");
|
|
12
|
-
var Switch_1 = require("./Switch");
|
|
13
|
-
var Select_1 = require("./Select");
|
|
14
|
-
var FileInput_1 = require("./FileInput");
|
|
15
|
-
var Slider_1 = require("./Slider");
|
|
16
|
-
var SegmentedControl_1 = require("./SegmentedControl");
|
|
17
|
-
var ActivityIndicator_1 = require("./ActivityIndicator");
|
|
18
|
-
var Button_1 = require("./Button");
|
|
19
|
-
var ContentView_1 = require("./ContentView");
|
|
20
|
-
var Modal_1 = require("./Modal");
|
|
21
|
-
var EmptyPlaceholder_1 = require("./EmptyPlaceholder");
|
|
22
|
-
var Backdrop_1 = require("./Backdrop");
|
|
23
|
-
var Pager_1 = require("./Pager");
|
|
24
|
-
var Calendar_1 = require("./Calendar");
|
|
25
|
-
var styles_1 = require("./Drawer/styles");
|
|
26
|
-
var List_1 = require("./List");
|
|
27
|
-
var AutoComplete_1 = require("./AutoComplete");
|
|
28
|
-
var MultiSelect_1 = require("./MultiSelect");
|
|
29
|
-
var Scroll_1 = require("./Scroll");
|
|
30
|
-
var ActionIcon_1 = require("./ActionIcon");
|
|
31
|
-
var Grid_1 = require("./Grid");
|
|
32
|
-
var InputLabel_1 = require("./InputLabel");
|
|
33
|
-
var LoadingOverlay_1 = require("./LoadingOverlay");
|
|
34
|
-
exports.defaultStyles = {
|
|
35
|
-
View: View_1.ViewStyles,
|
|
36
|
-
Icon: Icon_1.IconStyles,
|
|
37
|
-
Touchable: Touchable_1.TouchableStyles,
|
|
38
|
-
Text: Text_1.TextStyles,
|
|
39
|
-
Image: Image_1.ImageStyles,
|
|
40
|
-
Checkbox: Checkbox_1.CheckboxStyles,
|
|
41
|
-
TextInput: TextInput_1.TextInputStyles,
|
|
42
|
-
RadioInput: RadioInput_1.RadioInputStyles,
|
|
43
|
-
Switch: Switch_1.SwitchStyles,
|
|
44
|
-
Select: Select_1.SelectStyles,
|
|
45
|
-
FileInput: FileInput_1.FileInputStyles,
|
|
46
|
-
List: List_1.ListStyles,
|
|
47
|
-
Slider: Slider_1.SliderStyles,
|
|
48
|
-
SegmentedControl: SegmentedControl_1.SegmentedControlStyles,
|
|
49
|
-
ActivityIndicator: ActivityIndicator_1.ActivityIndicatorStyles,
|
|
50
|
-
Button: Button_1.ButtonStyles,
|
|
51
|
-
ContentView: ContentView_1.ContentViewStyles,
|
|
52
|
-
Modal: Modal_1.ModalStyles,
|
|
53
|
-
EmptyPlaceholder: EmptyPlaceholder_1.EmptyPlaceholderStyles,
|
|
54
|
-
Backdrop: Backdrop_1.BackdropStyles,
|
|
55
|
-
Calendar: Calendar_1.CalendarStyles,
|
|
56
|
-
Pager: Pager_1.PagerStyles,
|
|
57
|
-
Drawer: styles_1.DrawerStyles,
|
|
58
|
-
AutoComplete: AutoComplete_1.AutoCompleteStyles,
|
|
59
|
-
MultiSelect: MultiSelect_1.MultiSelectStyles,
|
|
60
|
-
Scroll: Scroll_1.ScrollStyles,
|
|
61
|
-
PaginationIndicator: List_1.PaginationIndicatorStyles,
|
|
62
|
-
ActionIcon: ActionIcon_1.ActionIconStyles,
|
|
63
|
-
Grid: Grid_1.GridStyles,
|
|
64
|
-
LoadingOverlay: LoadingOverlay_1.LoadingOverlayStyles,
|
|
65
|
-
InputLabel: InputLabel_1.InputLabelStyles,
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=defaultStyles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultStyles.js","sourceRoot":"","sources":["../../src/components/defaultStyles.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AACnC,+BAAmC;AACnC,yCAA6C;AAC7C,+BAAmC;AACnC,iCAAqC;AACrC,uCAA2C;AAC3C,yCAA6C;AAC7C,2CAA+C;AAC/C,mCAAuC;AACvC,mCAAuC;AACvC,yCAA6C;AAC7C,mCAAuC;AACvC,uDAA2D;AAC3D,yDAA6D;AAC7D,mCAAuC;AACvC,6CAAiD;AACjD,iCAAqC;AACrC,uDAA2D;AAC3D,uCAA2C;AAC3C,iCAAqC;AACrC,uCAA2C;AAC3C,0CAA8C;AAC9C,+BAA8D;AAC9D,+CAAmD;AACnD,6CAAiD;AACjD,mCAAuC;AACvC,2CAA+C;AAC/C,+BAAmC;AACnC,2CAA+C;AAC/C,mDAAuD;AAE1C,QAAA,aAAa,GAAG;IAC3B,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,iBAAU;IAChB,SAAS,EAAE,2BAAe;IAC1B,IAAI,EAAE,iBAAU;IAChB,KAAK,EAAE,mBAAW;IAClB,QAAQ,EAAE,yBAAc;IACxB,SAAS,EAAE,2BAAe;IAC1B,UAAU,EAAE,6BAAgB;IAC5B,MAAM,EAAE,qBAAY;IACpB,MAAM,EAAE,qBAAY;IACpB,SAAS,EAAE,2BAAe;IAC1B,IAAI,EAAE,iBAAU;IAChB,MAAM,EAAE,qBAAY;IACpB,gBAAgB,EAAE,yCAAsB;IACxC,iBAAiB,EAAE,2CAAuB;IAC1C,MAAM,EAAE,qBAAY;IACpB,WAAW,EAAE,+BAAiB;IAC9B,KAAK,EAAE,mBAAW;IAClB,gBAAgB,EAAE,yCAAsB;IACxC,QAAQ,EAAE,yBAAc;IACxB,QAAQ,EAAE,yBAAc;IACxB,KAAK,EAAE,mBAAW;IAClB,MAAM,EAAE,qBAAY;IACpB,YAAY,EAAE,iCAAkB;IAChC,WAAW,EAAE,+BAAiB;IAC9B,MAAM,EAAE,qBAAY;IACpB,mBAAmB,EAAE,gCAAyB;IAC9C,UAAU,EAAE,6BAAgB;IAC5B,IAAI,EAAE,iBAAU;IAChB,cAAc,EAAE,qCAAoB;IACpC,UAAU,EAAE,6BAAgB;CAC7B,CAAA"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './components/components';
|
|
2
|
-
export { default as posed } from 'react-native-pose';
|
|
3
|
-
export { Linking } from 'react-native';
|
|
4
|
-
export * from './utils';
|
|
5
|
-
import uuid from 'react-native-uuid';
|
|
6
|
-
import * as RNKeyboardAwareScrollView from './utils/KeyboardAware';
|
|
7
|
-
export { uuid, RNKeyboardAwareScrollView };
|
package/dist/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
-
};
|
|
17
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
18
|
-
if (mod && mod.__esModule) return mod;
|
|
19
|
-
var result = {};
|
|
20
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
21
|
-
__setModuleDefault(result, mod);
|
|
22
|
-
return result;
|
|
23
|
-
};
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.RNKeyboardAwareScrollView = exports.uuid = exports.Linking = exports.posed = void 0;
|
|
29
|
-
__exportStar(require("./components/components"), exports);
|
|
30
|
-
var react_native_pose_1 = require("react-native-pose");
|
|
31
|
-
Object.defineProperty(exports, "posed", { enumerable: true, get: function () { return __importDefault(react_native_pose_1).default; } });
|
|
32
|
-
var react_native_1 = require("react-native");
|
|
33
|
-
Object.defineProperty(exports, "Linking", { enumerable: true, get: function () { return react_native_1.Linking; } });
|
|
34
|
-
__exportStar(require("./utils"), exports);
|
|
35
|
-
var react_native_uuid_1 = __importDefault(require("react-native-uuid"));
|
|
36
|
-
exports.uuid = react_native_uuid_1.default;
|
|
37
|
-
var RNKeyboardAwareScrollView = __importStar(require("./utils/KeyboardAware"));
|
|
38
|
-
exports.RNKeyboardAwareScrollView = RNKeyboardAwareScrollView;
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,uDAAoD;AAA3C,2HAAA,OAAO,OAAS;AACzB,6CAAsC;AAA7B,uGAAA,OAAO,OAAA;AAChB,0CAAuB;AACvB,wEAAoC;AAE3B,eAFF,2BAAI,CAEE;AADb,+EAAkE;AACnD,8DAAyB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ImageCropPicker = exports.DocumentPicker = void 0;
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
var react_native_document_picker_1 = __importDefault(require("react-native-document-picker"));
|
|
9
|
-
exports.DocumentPicker = react_native_document_picker_1.default;
|
|
10
|
-
var react_native_image_crop_picker_1 = require("react-native-image-crop-picker");
|
|
11
|
-
Object.defineProperty(exports, "ImageCropPicker", { enumerable: true, get: function () { return __importDefault(react_native_image_crop_picker_1).default; } });
|
|
12
|
-
//# sourceMappingURL=documentPicker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documentPicker.js","sourceRoot":"","sources":["../../src/modules/documentPicker.ts"],"names":[],"mappings":";;;;;;AAAA,aAAa;AACb,8FAA6C;AAGhC,QAAA,cAAc,GAAG,sCAAwC,CAAA;AAEtE,iFAA2E;AAAlE,kJAAA,OAAO,OAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FastImage } from 'react-native-fast-image';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.FastImage = void 0;
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
var react_native_fast_image_1 = require("react-native-fast-image");
|
|
9
|
-
Object.defineProperty(exports, "FastImage", { enumerable: true, get: function () { return __importDefault(react_native_fast_image_1).default; } });
|
|
10
|
-
//# sourceMappingURL=fastImage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fastImage.js","sourceRoot":"","sources":["../../src/modules/fastImage.ts"],"names":[],"mappings":";;;;;;AAAA,aAAa;AACb,mEAA8D;AAArD,qIAAA,OAAO,OAAa"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { createStackNavigator } from '@react-navigation/stack';
|
|
2
|
-
export { createDrawerNavigator } from '@react-navigation/drawer';
|
|
3
|
-
export { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
|
4
|
-
export { useIsFocused } from '@react-navigation/native';
|
|
5
|
-
export declare function useNavigationContext(): any;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useNavigationContext = exports.useIsFocused = exports.createBottomTabNavigator = exports.createDrawerNavigator = exports.createStackNavigator = void 0;
|
|
7
|
-
// @ts-nocheck
|
|
8
|
-
var react_1 = __importDefault(require("react"));
|
|
9
|
-
var stack_1 = require("@react-navigation/stack");
|
|
10
|
-
Object.defineProperty(exports, "createStackNavigator", { enumerable: true, get: function () { return stack_1.createStackNavigator; } });
|
|
11
|
-
var drawer_1 = require("@react-navigation/drawer");
|
|
12
|
-
Object.defineProperty(exports, "createDrawerNavigator", { enumerable: true, get: function () { return drawer_1.createDrawerNavigator; } });
|
|
13
|
-
var bottom_tabs_1 = require("@react-navigation/bottom-tabs");
|
|
14
|
-
Object.defineProperty(exports, "createBottomTabNavigator", { enumerable: true, get: function () { return bottom_tabs_1.createBottomTabNavigator; } });
|
|
15
|
-
var core_1 = require("@react-navigation/core");
|
|
16
|
-
var native_1 = require("@react-navigation/native");
|
|
17
|
-
Object.defineProperty(exports, "useIsFocused", { enumerable: true, get: function () { return native_1.useIsFocused; } });
|
|
18
|
-
function useNavigationContext() {
|
|
19
|
-
var root = react_1.default.useContext(core_1.NavigationContainerRefContext);
|
|
20
|
-
var navigation = react_1.default.useContext(core_1.NavigationContext);
|
|
21
|
-
if (!navigation && !root)
|
|
22
|
-
return undefined;
|
|
23
|
-
return (navigation !== null && navigation !== void 0 ? navigation : root);
|
|
24
|
-
}
|
|
25
|
-
exports.useNavigationContext = useNavigationContext;
|
|
26
|
-
//# sourceMappingURL=reactNavigation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reactNavigation.js","sourceRoot":"","sources":["../../src/modules/reactNavigation.ts"],"names":[],"mappings":";;;;;;AAAA,cAAc;AACd,gDAAyB;AACzB,iDAA8D;AAArD,6GAAA,oBAAoB,OAAA;AAC7B,mDAAgE;AAAvD,+GAAA,qBAAqB,OAAA;AAC9B,6DAAwE;AAA/D,uHAAA,wBAAwB,OAAA;AACjC,+CAAyF;AACzF,mDAAuD;AAA9C,sGAAA,YAAY,OAAA;AAErB,SAAgB,oBAAoB;IAClC,IAAM,IAAI,GAAG,eAAK,CAAC,UAAU,CAAC,oCAA6B,CAAC,CAAA;IAC5D,IAAM,UAAU,GAAG,eAAK,CAAC,UAAU,CAAC,wBAAiB,CAAC,CAAA;IACtD,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAA;IAE1C,OAAO,CAAC,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,IAAI,CAAiB,CAAA;AAC7C,CAAC;AAND,oDAMC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DeviceInfo = void 0;
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
var react_native_device_info_1 = __importDefault(require("react-native-device-info"));
|
|
9
|
-
exports.DeviceInfo = react_native_device_info_1.default;
|
|
10
|
-
//# sourceMappingURL=rnDeviceInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rnDeviceInfo.js","sourceRoot":"","sources":["../../src/modules/rnDeviceInfo.ts"],"names":[],"mappings":";;;;;;AAAA,aAAa;AACb,sFAAiD;AAG7C,qBAHG,kCAAU,CAGH"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MaskedTextInput: import("react").ForwardRefExoticComponent<Omit<import("react-native-masked-text").TextInputMaskProps, keyof import("react-native").TextInputProps> & {
|
|
3
|
-
masking: Partial<import("@codeleap/common/dist/types/third-party/react-native-masked-text").TextInputMaskProps> & {
|
|
4
|
-
saveFormatted?: boolean;
|
|
5
|
-
};
|
|
6
|
-
onChangeText: (text: string, rawText?: string) => void;
|
|
7
|
-
} & {
|
|
8
|
-
ref?: any;
|
|
9
|
-
}>;
|
|
10
|
-
export * from './types/textInputMask';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.MaskedTextInput = void 0;
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
// import MaskInput from 'react-native-mask-input'
|
|
16
|
-
var react_native_masked_text_1 = require("react-native-masked-text");
|
|
17
|
-
exports.MaskedTextInput = react_native_masked_text_1.TextInputMask;
|
|
18
|
-
__exportStar(require("./types/textInputMask"), exports);
|
|
19
|
-
//# sourceMappingURL=textInputMask.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInputMask.js","sourceRoot":"","sources":["../../src/modules/textInputMask.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,aAAa;AACb,kDAAkD;AAClD,qEAAwD;AAI3C,QAAA,eAAe,GAAG,wCAE7B,CAAA;AAEF,wDAAqC"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
declare const mimeTypes: Readonly<{
|
|
2
|
-
readonly allFiles: '*/*';
|
|
3
|
-
readonly audio: 'audio/*';
|
|
4
|
-
readonly csv: 'text/csv';
|
|
5
|
-
readonly doc: 'application/msword';
|
|
6
|
-
readonly docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
|
7
|
-
readonly images: 'image/*';
|
|
8
|
-
readonly pdf: 'application/pdf';
|
|
9
|
-
readonly plainText: 'text/plain';
|
|
10
|
-
readonly ppt: 'application/vnd.ms-powerpoint';
|
|
11
|
-
readonly pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
|
|
12
|
-
readonly video: 'video/*';
|
|
13
|
-
readonly xls: 'application/vnd.ms-excel';
|
|
14
|
-
readonly xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
15
|
-
readonly zip: 'application/zip';
|
|
16
|
-
}>;
|
|
17
|
-
declare const utis: Readonly<{
|
|
18
|
-
readonly allFiles: 'public.item';
|
|
19
|
-
readonly audio: 'public.audio';
|
|
20
|
-
readonly csv: 'public.comma-separated-values-text';
|
|
21
|
-
readonly doc: 'com.microsoft.word.doc';
|
|
22
|
-
readonly docx: 'org.openxmlformats.wordprocessingml.document';
|
|
23
|
-
readonly images: 'public.image';
|
|
24
|
-
readonly pdf: 'com.adobe.pdf';
|
|
25
|
-
readonly plainText: 'public.plain-text';
|
|
26
|
-
readonly ppt: 'com.microsoft.powerpoint.ppt';
|
|
27
|
-
readonly pptx: 'org.openxmlformats.presentationml.presentation';
|
|
28
|
-
readonly video: 'public.movie';
|
|
29
|
-
readonly xls: 'com.microsoft.excel.xls';
|
|
30
|
-
readonly xlsx: 'org.openxmlformats.spreadsheetml.sheet';
|
|
31
|
-
readonly zip: 'public.zip-archive';
|
|
32
|
-
}>;
|
|
33
|
-
declare const extensions: Readonly<{
|
|
34
|
-
readonly allFiles: '*';
|
|
35
|
-
readonly audio: '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma';
|
|
36
|
-
readonly csv: '.csv';
|
|
37
|
-
readonly doc: '.doc';
|
|
38
|
-
readonly docx: '.docx';
|
|
39
|
-
readonly images: '.jpeg .jpg .png';
|
|
40
|
-
readonly pdf: '.pdf';
|
|
41
|
-
readonly plainText: '.txt';
|
|
42
|
-
readonly ppt: '.ppt';
|
|
43
|
-
readonly pptx: '.pptx';
|
|
44
|
-
readonly video: '.mp4';
|
|
45
|
-
readonly xls: '.xls';
|
|
46
|
-
readonly xlsx: '.xlsx';
|
|
47
|
-
readonly zip: '.zip .gz';
|
|
48
|
-
}>;
|
|
49
|
-
export declare type PlatformTypes = {
|
|
50
|
-
android: typeof mimeTypes;
|
|
51
|
-
ios: typeof utis;
|
|
52
|
-
windows: typeof extensions;
|
|
53
|
-
};
|
|
54
|
-
export declare type SupportedPlatforms = 'ios' | 'android' | 'windows';
|
|
55
|
-
export declare const perPlatformTypes: {
|
|
56
|
-
android: Readonly<{
|
|
57
|
-
readonly allFiles: '*/*';
|
|
58
|
-
readonly audio: 'audio/*';
|
|
59
|
-
readonly csv: 'text/csv';
|
|
60
|
-
readonly doc: 'application/msword';
|
|
61
|
-
readonly docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
|
62
|
-
readonly images: 'image/*';
|
|
63
|
-
readonly pdf: 'application/pdf';
|
|
64
|
-
readonly plainText: 'text/plain';
|
|
65
|
-
readonly ppt: 'application/vnd.ms-powerpoint';
|
|
66
|
-
readonly pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
|
|
67
|
-
readonly video: 'video/*';
|
|
68
|
-
readonly xls: 'application/vnd.ms-excel';
|
|
69
|
-
readonly xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
70
|
-
readonly zip: 'application/zip';
|
|
71
|
-
}>;
|
|
72
|
-
ios: Readonly<{
|
|
73
|
-
readonly allFiles: 'public.item';
|
|
74
|
-
readonly audio: 'public.audio';
|
|
75
|
-
readonly csv: 'public.comma-separated-values-text';
|
|
76
|
-
readonly doc: 'com.microsoft.word.doc';
|
|
77
|
-
readonly docx: 'org.openxmlformats.wordprocessingml.document';
|
|
78
|
-
readonly images: 'public.image';
|
|
79
|
-
readonly pdf: 'com.adobe.pdf';
|
|
80
|
-
readonly plainText: 'public.plain-text';
|
|
81
|
-
readonly ppt: 'com.microsoft.powerpoint.ppt';
|
|
82
|
-
readonly pptx: 'org.openxmlformats.presentationml.presentation';
|
|
83
|
-
readonly video: 'public.movie';
|
|
84
|
-
readonly xls: 'com.microsoft.excel.xls';
|
|
85
|
-
readonly xlsx: 'org.openxmlformats.spreadsheetml.sheet';
|
|
86
|
-
readonly zip: 'public.zip-archive';
|
|
87
|
-
}>;
|
|
88
|
-
windows: Readonly<{
|
|
89
|
-
readonly allFiles: '*';
|
|
90
|
-
readonly audio: '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma';
|
|
91
|
-
readonly csv: '.csv';
|
|
92
|
-
readonly doc: '.doc';
|
|
93
|
-
readonly docx: '.docx';
|
|
94
|
-
readonly images: '.jpeg .jpg .png';
|
|
95
|
-
readonly pdf: '.pdf';
|
|
96
|
-
readonly plainText: '.txt';
|
|
97
|
-
readonly ppt: '.ppt';
|
|
98
|
-
readonly pptx: '.pptx';
|
|
99
|
-
readonly video: '.mp4';
|
|
100
|
-
readonly xls: '.xls';
|
|
101
|
-
readonly xlsx: '.xlsx';
|
|
102
|
-
readonly zip: '.zip .gz';
|
|
103
|
-
}>;
|
|
104
|
-
macos: Readonly<{
|
|
105
|
-
readonly allFiles: '*';
|
|
106
|
-
readonly audio: '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma';
|
|
107
|
-
readonly csv: '.csv';
|
|
108
|
-
readonly doc: '.doc';
|
|
109
|
-
readonly docx: '.docx';
|
|
110
|
-
readonly images: '.jpeg .jpg .png';
|
|
111
|
-
readonly pdf: '.pdf';
|
|
112
|
-
readonly plainText: '.txt';
|
|
113
|
-
readonly ppt: '.ppt';
|
|
114
|
-
readonly pptx: '.pptx';
|
|
115
|
-
readonly video: '.mp4';
|
|
116
|
-
readonly xls: '.xls';
|
|
117
|
-
readonly xlsx: '.xlsx';
|
|
118
|
-
readonly zip: '.zip .gz';
|
|
119
|
-
}>;
|
|
120
|
-
web: Readonly<{
|
|
121
|
-
readonly allFiles: '*';
|
|
122
|
-
readonly audio: '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma';
|
|
123
|
-
readonly csv: '.csv';
|
|
124
|
-
readonly doc: '.doc';
|
|
125
|
-
readonly docx: '.docx';
|
|
126
|
-
readonly images: '.jpeg .jpg .png';
|
|
127
|
-
readonly pdf: '.pdf';
|
|
128
|
-
readonly plainText: '.txt';
|
|
129
|
-
readonly ppt: '.ppt';
|
|
130
|
-
readonly pptx: '.pptx';
|
|
131
|
-
readonly video: '.mp4';
|
|
132
|
-
readonly xls: '.xls';
|
|
133
|
-
readonly xlsx: '.xlsx';
|
|
134
|
-
readonly zip: '.zip .gz';
|
|
135
|
-
}>;
|
|
136
|
-
};
|
|
137
|
-
export declare const typesAreEqual: true;
|
|
138
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileTypes.js","sourceRoot":"","sources":["../../../src/modules/types/fileTypes.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FormTypes } from '@codeleap/common';
|
|
2
|
-
import { TextInputProps } from 'react-native';
|
|
3
|
-
import { TextInputMaskProps as RNTextInputMaskProps } from 'react-native-masked-text';
|
|
4
|
-
export declare type TextInputMaskProps = Omit<RNTextInputMaskProps, keyof TextInputProps> & {
|
|
5
|
-
masking: FormTypes.TextField['masking'];
|
|
6
|
-
onChangeText: RNTextInputMaskProps['onChangeText'];
|
|
7
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInputMask.js","sourceRoot":"","sources":["../../../src/modules/types/textInputMask.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './utility';
|
package/dist/types/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./utility"), exports);
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB"}
|
package/dist/types/utility.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyleProp } from 'react-native';
|
|
3
|
-
import { EasingFunction } from 'react-native-animatable';
|
|
4
|
-
export declare type StylesOf<C extends string> = Partial<Record<C, StyleProp<any>>>;
|
|
5
|
-
declare type TransitionBase = {
|
|
6
|
-
easing?: EasingFunction;
|
|
7
|
-
type?: string;
|
|
8
|
-
duration?: number;
|
|
9
|
-
};
|
|
10
|
-
export declare type TransitionConfig = TransitionBase | {
|
|
11
|
-
[p: string]: TransitionBase;
|
|
12
|
-
};
|
|
13
|
-
export declare type ChildrenProp = ReactNode | ReactNode[] | undefined;
|
|
14
|
-
export {};
|
package/dist/types/utility.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utility.js","sourceRoot":"","sources":["../../src/types/utility.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KeyboardEvent } from 'react-native';
|
|
3
|
-
declare type TKeyboardCtx = {
|
|
4
|
-
event: KeyboardEvent;
|
|
5
|
-
isVisible: boolean;
|
|
6
|
-
height: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const KeyboardCtx: React.Context<TKeyboardCtx>;
|
|
9
|
-
export declare const KeyboardProvider: ({ children }: {
|
|
10
|
-
children: any;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
export declare const useKeyboard: () => TKeyboardCtx;
|
|
13
|
-
export {};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.useKeyboard = exports.KeyboardProvider = exports.KeyboardCtx = void 0;
|
|
18
|
-
var react_1 = __importDefault(require("react"));
|
|
19
|
-
var common_1 = require("@codeleap/common");
|
|
20
|
-
var react_native_1 = require("react-native");
|
|
21
|
-
exports.KeyboardCtx = react_1.default.createContext({});
|
|
22
|
-
var KeyboardProvider = function (_a) {
|
|
23
|
-
var _b, _c;
|
|
24
|
-
var children = _a.children;
|
|
25
|
-
var _d = (0, common_1.useState)(null), keyboardEvent = _d[0], setKeyboardEvent = _d[1];
|
|
26
|
-
var _e = (0, common_1.useState)(false), keyboardVisible = _e[0], setKeyboardVisible = _e[1];
|
|
27
|
-
(0, common_1.useEffect)(function () {
|
|
28
|
-
var eventNames = react_native_1.Platform.select({
|
|
29
|
-
ios: {
|
|
30
|
-
show: 'keyboardWillShow',
|
|
31
|
-
hide: 'keyboardWillHide',
|
|
32
|
-
},
|
|
33
|
-
android: {
|
|
34
|
-
show: 'keyboardDidShow',
|
|
35
|
-
hide: 'keyboardDidHide',
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
var events = [
|
|
39
|
-
react_native_1.Keyboard.addListener(eventNames.show, function (e) {
|
|
40
|
-
setKeyboardEvent(e);
|
|
41
|
-
setKeyboardVisible(true);
|
|
42
|
-
}),
|
|
43
|
-
react_native_1.Keyboard.addListener(eventNames.hide, function (e) {
|
|
44
|
-
setKeyboardEvent(e);
|
|
45
|
-
setKeyboardVisible(false);
|
|
46
|
-
}),
|
|
47
|
-
];
|
|
48
|
-
return function () {
|
|
49
|
-
events.forEach(function (e) { return e.remove(); });
|
|
50
|
-
};
|
|
51
|
-
}, []);
|
|
52
|
-
var height = (_c = (_b = keyboardEvent === null || keyboardEvent === void 0 ? void 0 : keyboardEvent.endCoordinates) === null || _b === void 0 ? void 0 : _b.height) !== null && _c !== void 0 ? _c : 0;
|
|
53
|
-
var _return = __assign({ event: keyboardEvent, isVisible: keyboardVisible, height: (!!height && keyboardVisible) ? height : 0 }, react_native_1.Keyboard);
|
|
54
|
-
return <exports.KeyboardCtx.Provider value={_return}>
|
|
55
|
-
{children}
|
|
56
|
-
</exports.KeyboardCtx.Provider>;
|
|
57
|
-
};
|
|
58
|
-
exports.KeyboardProvider = KeyboardProvider;
|
|
59
|
-
var useKeyboard = function () {
|
|
60
|
-
return (0, common_1.useContext)(exports.KeyboardCtx);
|
|
61
|
-
};
|
|
62
|
-
exports.useKeyboard = useKeyboard;
|
|
63
|
-
//# sourceMappingURL=context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/utils/KeyboardAware/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,2CAAsF;AACtF,6CAKqB;AAWR,QAAA,WAAW,GAAG,eAAK,CAAC,aAAa,CAAC,EAAkB,CAAC,CAAA;AAE3D,IAAM,gBAAgB,GAAG,UAAC,EAAY;;QAAV,QAAQ,cAAA;IACnC,IAAA,KAAoC,IAAA,iBAAQ,EAAgB,IAAI,CAAC,EAAhE,aAAa,QAAA,EAAE,gBAAgB,QAAiC,CAAA;IACjE,IAAA,KAAwC,IAAA,iBAAQ,EAAC,KAAK,CAAC,EAAtD,eAAe,QAAA,EAAE,kBAAkB,QAAmB,CAAA;IAE7D,IAAA,kBAAS,EAAC;QACR,IAAM,UAAU,GAAG,uBAAQ,CAAC,MAAM,CAA2B;YAC3D,GAAG,EAAE;gBACH,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,kBAAkB;aACzB;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,iBAAiB;aACxB;SACF,CAAC,CAAA;QACF,IAAM,MAAM,GAAG;YACb,uBAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,EAAE,UAAC,CAAC;gBAEtC,gBAAgB,CAAC,CAAC,CAAC,CAAA;gBACnB,kBAAkB,CAAC,IAAI,CAAC,CAAA;YAC1B,CAAC,CAAC;YACF,uBAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,EAAE,UAAC,CAAC;gBAEtC,gBAAgB,CAAC,CAAC,CAAC,CAAA;gBACnB,kBAAkB,CAAC,KAAK,CAAC,CAAA;YAC3B,CAAC,CAAC;SACH,CAAA;QACD,OAAO;YACL,MAAM,CAAC,OAAO,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,MAAM,EAAE,EAAV,CAAU,CAAC,CAAA;QACjC,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,IAAM,MAAM,GAAG,MAAA,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,cAAc,0CAAE,MAAM,mCAAI,CAAC,CAAA;IAEzD,IAAM,OAAO,cACX,KAAK,EAAE,aAAa,EACpB,SAAS,EAAE,eAAe,EAC1B,MAAM,EAAE,CAAC,CAAC,CAAC,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAC/C,uBAAQ,CACZ,CAAA;IAED,OAAO,CAAC,mBAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAC1C;IAAA,CAAC,QAAQ,CACX;EAAA,EAAE,mBAAW,CAAC,QAAQ,CAAE,CAAA;AAE1B,CAAC,CAAA;AA7CY,QAAA,gBAAgB,oBA6C5B;AAEM,IAAM,WAAW,GAAG;IACzB,OAAO,IAAA,mBAAU,EAAC,mBAAW,CAAC,CAAA;AAChC,CAAC,CAAA;AAFY,QAAA,WAAW,eAEvB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import listenToKeyboardEvents from './lib/KeyboardAwareHOC';
|
|
2
|
-
import KeyboardAwareScrollView from './lib/KeyboardAwareScrollView';
|
|
3
|
-
import KeyboardAwareFlatList from './lib/KeyboardAwareFlatList';
|
|
4
|
-
import KeyboardAwareSectionList from './lib/KeyboardAwareSectionList';
|
|
5
|
-
export * from './keyboardHooks';
|
|
6
|
-
export * from './context';
|
|
7
|
-
export { listenToKeyboardEvents, KeyboardAwareFlatList, KeyboardAwareSectionList, KeyboardAwareScrollView, };
|
|
8
|
-
export * from './types';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* @flow */
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
6
|
-
}) : (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
o[k2] = m[k];
|
|
9
|
-
}));
|
|
10
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
11
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.KeyboardAwareScrollView = exports.KeyboardAwareSectionList = exports.KeyboardAwareFlatList = exports.listenToKeyboardEvents = void 0;
|
|
18
|
-
var KeyboardAwareHOC_1 = __importDefault(require("./lib/KeyboardAwareHOC"));
|
|
19
|
-
exports.listenToKeyboardEvents = KeyboardAwareHOC_1.default;
|
|
20
|
-
var KeyboardAwareScrollView_1 = __importDefault(require("./lib/KeyboardAwareScrollView"));
|
|
21
|
-
exports.KeyboardAwareScrollView = KeyboardAwareScrollView_1.default;
|
|
22
|
-
var KeyboardAwareFlatList_1 = __importDefault(require("./lib/KeyboardAwareFlatList"));
|
|
23
|
-
exports.KeyboardAwareFlatList = KeyboardAwareFlatList_1.default;
|
|
24
|
-
var KeyboardAwareSectionList_1 = __importDefault(require("./lib/KeyboardAwareSectionList"));
|
|
25
|
-
exports.KeyboardAwareSectionList = KeyboardAwareSectionList_1.default;
|
|
26
|
-
__exportStar(require("./keyboardHooks"), exports);
|
|
27
|
-
__exportStar(require("./context"), exports);
|
|
28
|
-
__exportStar(require("./types"), exports);
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/KeyboardAware/index.ts"],"names":[],"mappings":";AAAA,WAAW;;;;;;;;;;;;;;;;AAEX,4EAA2D;AAQzD,iCARK,0BAAsB,CAQL;AAPxB,0FAAmE;AAUjE,kCAVK,iCAAuB,CAUL;AATzB,sFAA+D;AAO7D,gCAPK,+BAAqB,CAOL;AANvB,4FAAqE;AAOnE,mCAPK,kCAAwB,CAOL;AAN1B,kDAA+B;AAC/B,4CAAyB;AASzB,0CAAuB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { PropsOf } from '@codeleap/common';
|
|
2
|
-
import { ScrollView } from 'react-native';
|
|
3
|
-
import { TransitionConfig } from '../../types';
|
|
4
|
-
declare type ScrollViewProps = Partial<Pick<PropsOf<typeof ScrollView>, 'horizontal' | 'contentContainerStyle' | 'style'>> & {
|
|
5
|
-
transition?: TransitionConfig;
|
|
6
|
-
};
|
|
7
|
-
export declare type GetKeyboardAwarePropsOptions = {
|
|
8
|
-
baseStyleProp?: 'style' | 'contentContainerStyle';
|
|
9
|
-
adapt?: 'height' | 'maxHeight' | 'paddingBottom' | 'marginBottom' | 'bottom';
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
animated?: boolean;
|
|
12
|
-
transition?: TransitionConfig;
|
|
13
|
-
enableOnAndroid?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare type UseKeyboardAwareViewParams = {
|
|
16
|
-
debugName?: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const useKeyboardAwareView: (params?: UseKeyboardAwareViewParams) => {
|
|
19
|
-
keyboard: {
|
|
20
|
-
event: import("react-native").KeyboardEvent;
|
|
21
|
-
isVisible: boolean;
|
|
22
|
-
height: number;
|
|
23
|
-
};
|
|
24
|
-
getKeyboardAwareProps: <T extends ScrollViewProps>(props?: T, options?: GetKeyboardAwarePropsOptions) => T;
|
|
25
|
-
};
|
|
26
|
-
export {};
|