@beppla/tapas-ui 1.0.64 → 1.0.66
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/{package/CHANGELOG.md → CHANGELOG.md} +9 -0
- package/commonjs/BarChart/BarChart.js +150 -0
- package/commonjs/BarChart/BarChart.js.map +1 -0
- package/commonjs/BarChart/index.js +13 -0
- package/commonjs/BarChart/index.js.map +1 -0
- package/commonjs/DataTable/DataTable.js +191 -0
- package/commonjs/DataTable/DataTable.js.map +1 -0
- package/commonjs/DataTable/index.js +13 -0
- package/commonjs/DataTable/index.js.map +1 -0
- package/commonjs/LineChart/LineChart.js +120 -0
- package/commonjs/LineChart/LineChart.js.map +1 -0
- package/commonjs/LineChart/index.js +13 -0
- package/commonjs/LineChart/index.js.map +1 -0
- package/commonjs/PieChart/PieChart.js +147 -0
- package/commonjs/PieChart/PieChart.js.map +1 -0
- package/commonjs/PieChart/index.js +13 -0
- package/commonjs/PieChart/index.js.map +1 -0
- package/commonjs/StatisticCard/StatisticCard.js +114 -0
- package/commonjs/StatisticCard/StatisticCard.js.map +1 -0
- package/commonjs/StatisticCard/index.js +13 -0
- package/commonjs/StatisticCard/index.js.map +1 -0
- package/{package/commonjs → commonjs}/index.js +42 -0
- package/commonjs/index.js.map +1 -0
- package/module/BarChart/BarChart.js +142 -0
- package/module/BarChart/BarChart.js.map +1 -0
- package/module/BarChart/index.js +2 -0
- package/module/BarChart/index.js.map +1 -0
- package/module/DataTable/DataTable.js +182 -0
- package/module/DataTable/DataTable.js.map +1 -0
- package/module/DataTable/index.js +2 -0
- package/module/DataTable/index.js.map +1 -0
- package/module/LineChart/LineChart.js +112 -0
- package/module/LineChart/LineChart.js.map +1 -0
- package/module/LineChart/index.js +2 -0
- package/module/LineChart/index.js.map +1 -0
- package/module/PieChart/PieChart.js +139 -0
- package/module/PieChart/PieChart.js.map +1 -0
- package/module/PieChart/index.js +2 -0
- package/module/PieChart/index.js.map +1 -0
- package/module/StatisticCard/StatisticCard.js +106 -0
- package/module/StatisticCard/StatisticCard.js.map +1 -0
- package/module/StatisticCard/index.js +2 -0
- package/module/StatisticCard/index.js.map +1 -0
- package/{package/module → module}/index.js +6 -0
- package/module/index.js.map +1 -0
- package/package.json +67 -197
- package/typescript/BarChart/BarChart.d.ts +29 -0
- package/typescript/BarChart/BarChart.d.ts.map +1 -0
- package/typescript/BarChart/index.d.ts +3 -0
- package/typescript/BarChart/index.d.ts.map +1 -0
- package/typescript/DataTable/DataTable.d.ts +33 -0
- package/typescript/DataTable/DataTable.d.ts.map +1 -0
- package/typescript/DataTable/index.d.ts +3 -0
- package/typescript/DataTable/index.d.ts.map +1 -0
- package/typescript/LineChart/LineChart.d.ts +33 -0
- package/typescript/LineChart/LineChart.d.ts.map +1 -0
- package/typescript/LineChart/index.d.ts +3 -0
- package/typescript/LineChart/index.d.ts.map +1 -0
- package/typescript/PieChart/PieChart.d.ts +22 -0
- package/typescript/PieChart/PieChart.d.ts.map +1 -0
- package/typescript/PieChart/index.d.ts +3 -0
- package/typescript/PieChart/index.d.ts.map +1 -0
- package/typescript/StatisticCard/StatisticCard.d.ts +19 -0
- package/typescript/StatisticCard/StatisticCard.d.ts.map +1 -0
- package/typescript/StatisticCard/index.d.ts +3 -0
- package/typescript/StatisticCard/index.d.ts.map +1 -0
- package/{package/typescript → typescript}/index.d.ts +10 -0
- package/{package/typescript → typescript}/index.d.ts.map +1 -1
- package/components/Alert/Alert.tsx +0 -83
- package/components/AnimatedNavItem/AnimatedNavItem.tsx +0 -246
- package/components/AnimatedNavItem/index.tsx +0 -3
- package/components/Button/Button.tsx +0 -86
- package/components/Button/ButtonGroup.tsx +0 -148
- package/components/Button/react-native-hoverable.d.ts +0 -14
- package/components/Calendar/Calendar.base.tsx +0 -279
- package/components/Calendar/Calendar.tsx +0 -105
- package/components/Calendar/ConcreteTimeSelector.tsx +0 -479
- package/components/Calendar/CustomRange.tsx +0 -538
- package/components/Calendar/DaySelector.tsx +0 -159
- package/components/Calendar/MonthSelector.tsx +0 -154
- package/components/Calendar/TimeSelector.tsx +0 -493
- package/components/Calendar/WeekDaySelector.tsx +0 -154
- package/components/Calendar/helper.ts +0 -138
- package/components/Calendar/local.ts +0 -121
- package/components/Calendar/types.ts +0 -111
- package/components/Card/Card.tsx +0 -276
- package/components/CheckBox/CheckBox.tsx +0 -157
- package/components/CheckBox/CheckBoxItem.tsx +0 -133
- package/components/CheckBox/GroupCheckBox.tsx +0 -87
- package/components/CircularProgress/CircularProgress.tsx +0 -45
- package/components/Collapsible/Collapsible.tsx +0 -88
- package/components/DashboardCard/DashboardCard.tsx +0 -222
- package/components/DataCell/DataCell.tsx +0 -670
- package/components/DataCell/index.tsx +0 -9
- package/components/DeviceSelectionModal/DeviceSelectionModal.tsx +0 -368
- package/components/DraggableFlatList/DraggableFlatList.tsx +0 -12
- package/components/Drawer/Drawer.tsx +0 -224
- package/components/Dropdown/CustomDropdown.tsx +0 -251
- package/components/Dropdown/Dropdown.tsx +0 -817
- package/components/Dropdown/InputDropdown.tsx +0 -186
- package/components/ExternalLink/ExternalLink.tsx +0 -69
- package/components/Gantt/Accessories.tsx +0 -302
- package/components/Gantt/Gantt.tsx +0 -246
- package/components/Gantt/GanttInnerElementType.tsx +0 -131
- package/components/Gantt/helper.ts +0 -382
- package/components/Gantt/types.ts +0 -108
- package/components/Grid/FixedSizeGrid.tsx +0 -248
- package/components/Grid/Grid.base.tsx +0 -933
- package/components/Grid/StaticFixedSizeGrid.tsx +0 -511
- package/components/Grid/VariableSizeGrid.tsx +0 -514
- package/components/Grid/helper.ts +0 -69
- package/components/Grid/timer.ts +0 -32
- package/components/Header/Header.tsx +0 -240
- package/components/HelloWave/HelloWave.tsx +0 -70
- package/components/Hoverable/Hoverable.tsx +0 -110
- package/components/IconText/IconText.tsx +0 -132
- package/components/Icons/TapasIcon.tsx +0 -159
- package/components/Icons/TapasIconExpo.tsx +0 -115
- package/components/Icons/expoFontLoader.ts +0 -203
- package/components/Icons/fontLoader.ts +0 -247
- package/components/Icons/index.tsx +0 -19
- package/components/Icons/smartFontLoader.ts +0 -318
- package/components/Image/Image.tsx +0 -157
- package/components/Image/PreviewImg.tsx +0 -137
- package/components/Input/Input.tsx +0 -100
- package/components/Layout/DrawerContext.tsx +0 -31
- package/components/Layout/Layout.tsx +0 -115
- package/components/Layout/ToastContext.tsx +0 -29
- package/components/Layout/index.tsx +0 -24
- package/components/ListItem/ListItem.tsx +0 -307
- package/components/Loading/Loading.tsx +0 -94
- package/components/MessageBox/MessageBox.tsx +0 -243
- package/components/MultiSelector/MultiSelector.tsx +0 -627
- package/components/MultiSelector/index.tsx +0 -2
- package/components/Navigation/Navigation.tsx +0 -326
- package/components/Notification/Notification.tsx +0 -289
- package/components/Notification/index.tsx +0 -2
- package/components/NumericInput/NumericInput.tsx +0 -161
- package/components/Overlay/Overlay.tsx +0 -30
- package/components/Pagination/Pagination.tsx +0 -271
- package/components/Popover/Popover.tsx +0 -172
- package/components/Progress/Progress.tsx +0 -209
- package/components/Quantity/Quantity.tsx +0 -195
- package/components/Quantity/index.tsx +0 -2
- package/components/RadioButton/RadioButton.tsx +0 -119
- package/components/ReasonModal/ReasonModal.tsx +0 -223
- package/components/ReasonModal/index.tsx +0 -3
- package/components/ScanButton/ScanButton.tsx +0 -139
- package/components/SearchInput/SearchInput.tsx +0 -122
- package/components/SearchInput/index.tsx +0 -2
- package/components/SheetTitle/SheetTitle.tsx +0 -84
- package/components/Shell/Shell.tsx +0 -116
- package/components/Shell/styles.ts +0 -29
- package/components/Shell/types.ts +0 -23
- package/components/Status/Status.tsx +0 -124
- package/components/Steps/Steps.tsx +0 -177
- package/components/TabTitle/TabTitle.tsx +0 -89
- package/components/TabTitle/index.tsx +0 -3
- package/components/TableColumnHeader/TableColumnHeader.tsx +0 -273
- package/components/TableColumnHeader/index.tsx +0 -7
- package/components/Tag/Tag.tsx +0 -92
- package/components/Task/Task.tsx +0 -309
- package/components/Task/type.ts +0 -6
- package/components/Text/Text.tsx +0 -152
- package/components/TextArea/TextArea.tsx +0 -256
- package/components/Theme/ThemeProvider.tsx +0 -13
- package/components/Theme/defaultTheme.ts +0 -210
- package/components/Theme/themed.d.ts +0 -102
- package/components/Timeline/Timeline.tsx +0 -230
- package/components/Toast/Toast.tsx +0 -167
- package/components/UserSwitcher/UserSwitcher.tsx +0 -273
- package/components/UserSwitcher/index.tsx +0 -3
- package/components/common.ts +0 -8
- package/components/index.tsx +0 -157
- package/package/README.md +0 -103
- package/package/assets/assets/adaptive-icon.png +0 -0
- package/package/assets/assets/favicon.png +0 -0
- package/package/assets/assets/fonts/customfont.ttf +0 -0
- package/package/assets/assets/icon.png +0 -0
- package/package/assets/assets/logo.png +0 -0
- package/package/assets/assets/splash.png +0 -0
- package/package/assets/assets/svg/customfont.svg +0 -332
- package/package/assets/assets/svg/logo.svg +0 -9
- package/package/assets/assets/tapas/favicon.png +0 -0
- package/package/assets/assets/tapas/logo.png +0 -0
- package/package/assets/assets/tapas/logo_no_word.png +0 -0
- package/package/assets/assets/tapas/logo_transparent_white.png +0 -0
- package/package/commonjs/index.js.map +0 -1
- package/package/init.js +0 -179
- package/package/module/AnimatedNavItem/README.md +0 -520
- package/package/module/DataCell/README.md +0 -1042
- package/package/module/Icons/README.md +0 -182
- package/package/module/Icons/icon-categories.json +0 -340
- package/package/module/Icons/real-icon-mapping.json +0 -2578
- package/package/module/Icons/selection.json +0 -1
- package/package/module/Loading/README.md +0 -160
- package/package/module/MultiSelector/README.md +0 -246
- package/package/module/Notification/README.md +0 -158
- package/package/module/Quantity/README.md +0 -251
- package/package/module/ReasonModal/README.md +0 -320
- package/package/module/SearchInput/README.md +0 -167
- package/package/module/TabTitle/README.md +0 -399
- package/package/module/TableColumnHeader/README.md +0 -682
- package/package/module/UserSwitcher/README.md +0 -334
- package/package/module/index.js.map +0 -1
- package/package/package.json +0 -84
- /package/assets/{adaptive-icon.png → assets/adaptive-icon.png} +0 -0
- /package/assets/{favicon.png → assets/favicon.png} +0 -0
- /package/assets/{fonts → assets/fonts}/customfont.ttf +0 -0
- /package/assets/{icon.png → assets/icon.png} +0 -0
- /package/assets/{logo.png → assets/logo.png} +0 -0
- /package/assets/{splash.png → assets/splash.png} +0 -0
- /package/assets/{svg → assets/svg}/customfont.svg +0 -0
- /package/assets/{svg → assets/svg}/logo.svg +0 -0
- /package/assets/{tapas → assets/tapas}/favicon.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo_no_word.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo_transparent_white.png +0 -0
- /package/{package/commonjs → commonjs}/Alert/Alert.js +0 -0
- /package/{package/commonjs → commonjs}/Alert/Alert.js.map +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/AnimatedNavItem.js +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/AnimatedNavItem.js.map +0 -0
- /package/{components → commonjs}/AnimatedNavItem/README.md +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/Button.js +0 -0
- /package/{package/commonjs → commonjs}/Button/Button.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/ButtonGroup.js +0 -0
- /package/{package/commonjs → commonjs}/Button/ButtonGroup.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.base.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.base.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/ConcreteTimeSelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/ConcreteTimeSelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/CustomRange.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/CustomRange.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/DaySelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/DaySelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/MonthSelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/MonthSelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/TimeSelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/TimeSelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/WeekDaySelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/WeekDaySelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/helper.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/helper.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/local.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/local.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/types.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/types.js.map +0 -0
- /package/{package/commonjs → commonjs}/Card/Card.js +0 -0
- /package/{package/commonjs → commonjs}/Card/Card.js.map +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/CheckBox.js +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/CheckBox.js.map +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/CheckBoxItem.js +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/CheckBoxItem.js.map +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/GroupCheckBox.js +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/GroupCheckBox.js.map +0 -0
- /package/{package/commonjs → commonjs}/CircularProgress/CircularProgress.js +0 -0
- /package/{package/commonjs → commonjs}/CircularProgress/CircularProgress.js.map +0 -0
- /package/{package/commonjs → commonjs}/Collapsible/Collapsible.js +0 -0
- /package/{package/commonjs → commonjs}/Collapsible/Collapsible.js.map +0 -0
- /package/{package/commonjs → commonjs}/DashboardCard/DashboardCard.js +0 -0
- /package/{package/commonjs → commonjs}/DashboardCard/DashboardCard.js.map +0 -0
- /package/{package/commonjs → commonjs}/DataCell/DataCell.js +0 -0
- /package/{package/commonjs → commonjs}/DataCell/DataCell.js.map +0 -0
- /package/{components → commonjs}/DataCell/README.md +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/DeviceSelectionModal/DeviceSelectionModal.js +0 -0
- /package/{package/commonjs → commonjs}/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -0
- /package/{package/commonjs → commonjs}/DraggableFlatList/DraggableFlatList.js +0 -0
- /package/{package/commonjs → commonjs}/DraggableFlatList/DraggableFlatList.js.map +0 -0
- /package/{package/commonjs → commonjs}/Drawer/Drawer.js +0 -0
- /package/{package/commonjs → commonjs}/Drawer/Drawer.js.map +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/CustomDropdown.js +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/CustomDropdown.js.map +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/Dropdown.js +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/Dropdown.js.map +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/InputDropdown.js +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/InputDropdown.js.map +0 -0
- /package/{package/commonjs → commonjs}/ExternalLink/ExternalLink.js +0 -0
- /package/{package/commonjs → commonjs}/ExternalLink/ExternalLink.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Accessories.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Accessories.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Gantt.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Gantt.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/GanttInnerElementType.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/GanttInnerElementType.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/helper.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/helper.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/types.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/types.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/FixedSizeGrid.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/FixedSizeGrid.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/StaticFixedSizeGrid.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/StaticFixedSizeGrid.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/VariableSizeGrid.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/VariableSizeGrid.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/helper.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/helper.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/timer.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/timer.js.map +0 -0
- /package/{package/commonjs → commonjs}/Header/Header.js +0 -0
- /package/{package/commonjs → commonjs}/Header/Header.js.map +0 -0
- /package/{package/commonjs → commonjs}/HelloWave/HelloWave.js +0 -0
- /package/{package/commonjs → commonjs}/HelloWave/HelloWave.js.map +0 -0
- /package/{package/commonjs → commonjs}/Hoverable/Hoverable.js +0 -0
- /package/{package/commonjs → commonjs}/Hoverable/Hoverable.js.map +0 -0
- /package/{package/commonjs → commonjs}/IconText/IconText.js +0 -0
- /package/{package/commonjs → commonjs}/IconText/IconText.js.map +0 -0
- /package/{components → commonjs}/Icons/README.md +0 -0
- /package/{package/commonjs → commonjs}/Icons/TapasIcon.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/TapasIcon.js.map +0 -0
- /package/{package/commonjs → commonjs}/Icons/TapasIconExpo.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/TapasIconExpo.js.map +0 -0
- /package/{package/commonjs → commonjs}/Icons/expoFontLoader.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/expoFontLoader.js.map +0 -0
- /package/{package/commonjs → commonjs}/Icons/fontLoader.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/fontLoader.js.map +0 -0
- /package/{components → commonjs}/Icons/icon-categories.json +0 -0
- /package/{package/commonjs → commonjs}/Icons/index.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/index.js.map +0 -0
- /package/{components → commonjs}/Icons/real-icon-mapping.json +0 -0
- /package/{components → commonjs}/Icons/selection.json +0 -0
- /package/{package/commonjs → commonjs}/Icons/smartFontLoader.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/smartFontLoader.js.map +0 -0
- /package/{package/commonjs → commonjs}/Image/Image.js +0 -0
- /package/{package/commonjs → commonjs}/Image/Image.js.map +0 -0
- /package/{package/commonjs → commonjs}/Image/PreviewImg.js +0 -0
- /package/{package/commonjs → commonjs}/Image/PreviewImg.js.map +0 -0
- /package/{package/commonjs → commonjs}/Input/Input.js +0 -0
- /package/{package/commonjs → commonjs}/Input/Input.js.map +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js.map +0 -0
- /package/{package/commonjs → commonjs}/Layout/Layout.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/Layout.js.map +0 -0
- /package/{package/commonjs → commonjs}/Layout/ToastContext.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/ToastContext.js.map +0 -0
- /package/{package/commonjs → commonjs}/Layout/index.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/ListItem/ListItem.js +0 -0
- /package/{package/commonjs → commonjs}/ListItem/ListItem.js.map +0 -0
- /package/{package/commonjs → commonjs}/Loading/Loading.js +0 -0
- /package/{package/commonjs → commonjs}/Loading/Loading.js.map +0 -0
- /package/{components → commonjs}/Loading/README.md +0 -0
- /package/{package/commonjs → commonjs}/MessageBox/MessageBox.js +0 -0
- /package/{package/commonjs → commonjs}/MessageBox/MessageBox.js.map +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/MultiSelector.js +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/MultiSelector.js.map +0 -0
- /package/{components → commonjs}/MultiSelector/README.md +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Navigation/Navigation.js +0 -0
- /package/{package/commonjs → commonjs}/Navigation/Navigation.js.map +0 -0
- /package/{package/commonjs → commonjs}/Notification/Notification.js +0 -0
- /package/{package/commonjs → commonjs}/Notification/Notification.js.map +0 -0
- /package/{components → commonjs}/Notification/README.md +0 -0
- /package/{package/commonjs → commonjs}/Notification/index.js +0 -0
- /package/{package/commonjs → commonjs}/Notification/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/NumericInput/NumericInput.js +0 -0
- /package/{package/commonjs → commonjs}/NumericInput/NumericInput.js.map +0 -0
- /package/{package/commonjs → commonjs}/Overlay/Overlay.js +0 -0
- /package/{package/commonjs → commonjs}/Overlay/Overlay.js.map +0 -0
- /package/{package/commonjs → commonjs}/Pagination/Pagination.js +0 -0
- /package/{package/commonjs → commonjs}/Pagination/Pagination.js.map +0 -0
- /package/{package/commonjs → commonjs}/Popover/Popover.js +0 -0
- /package/{package/commonjs → commonjs}/Popover/Popover.js.map +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.js +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.js.map +0 -0
- /package/{package/commonjs → commonjs}/Quantity/Quantity.js +0 -0
- /package/{package/commonjs → commonjs}/Quantity/Quantity.js.map +0 -0
- /package/{components → commonjs}/Quantity/README.md +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/RadioButton/RadioButton.js +0 -0
- /package/{package/commonjs → commonjs}/RadioButton/RadioButton.js.map +0 -0
- /package/{components → commonjs}/ReasonModal/README.md +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/ReasonModal.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/ReasonModal.js.map +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/ScanButton/ScanButton.js +0 -0
- /package/{package/commonjs → commonjs}/ScanButton/ScanButton.js.map +0 -0
- /package/{components → commonjs}/SearchInput/README.md +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/SearchInput.js +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/SearchInput.js.map +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/index.js +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/SheetTitle/SheetTitle.js +0 -0
- /package/{package/commonjs → commonjs}/SheetTitle/SheetTitle.js.map +0 -0
- /package/{package/commonjs → commonjs}/Shell/Shell.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/Shell.js.map +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js.map +0 -0
- /package/{package/commonjs → commonjs}/Shell/types.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/types.js.map +0 -0
- /package/{package/commonjs → commonjs}/Status/Status.js +0 -0
- /package/{package/commonjs → commonjs}/Status/Status.js.map +0 -0
- /package/{package/commonjs → commonjs}/Steps/Steps.js +0 -0
- /package/{package/commonjs → commonjs}/Steps/Steps.js.map +0 -0
- /package/{components → commonjs}/TabTitle/README.md +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/TabTitle.js +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/TabTitle.js.map +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/index.js +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/index.js.map +0 -0
- /package/{components → commonjs}/TableColumnHeader/README.md +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/TableColumnHeader.js +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/TableColumnHeader.js.map +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Tag/Tag.js +0 -0
- /package/{package/commonjs → commonjs}/Tag/Tag.js.map +0 -0
- /package/{package/commonjs → commonjs}/Task/Task.js +0 -0
- /package/{package/commonjs → commonjs}/Task/Task.js.map +0 -0
- /package/{package/commonjs → commonjs}/Task/type.js +0 -0
- /package/{package/commonjs → commonjs}/Task/type.js.map +0 -0
- /package/{package/commonjs → commonjs}/Text/Text.js +0 -0
- /package/{package/commonjs → commonjs}/Text/Text.js.map +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/ThemeProvider.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/ThemeProvider.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/defaultTheme.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/defaultTheme.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js.map +0 -0
- /package/{package/commonjs → commonjs}/Timeline/Timeline.js +0 -0
- /package/{package/commonjs → commonjs}/Timeline/Timeline.js.map +0 -0
- /package/{package/commonjs → commonjs}/Toast/Toast.js +0 -0
- /package/{package/commonjs → commonjs}/Toast/Toast.js.map +0 -0
- /package/{components → commonjs}/UserSwitcher/README.md +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/UserSwitcher.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/UserSwitcher.js.map +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/common.js +0 -0
- /package/{package/commonjs → commonjs}/common.js.map +0 -0
- /package/{package/module → module}/Alert/Alert.js +0 -0
- /package/{package/module → module}/Alert/Alert.js.map +0 -0
- /package/{package/module → module}/AnimatedNavItem/AnimatedNavItem.js +0 -0
- /package/{package/module → module}/AnimatedNavItem/AnimatedNavItem.js.map +0 -0
- /package/{package/commonjs → module}/AnimatedNavItem/README.md +0 -0
- /package/{package/module → module}/AnimatedNavItem/index.js +0 -0
- /package/{package/module → module}/AnimatedNavItem/index.js.map +0 -0
- /package/{package/module → module}/Button/Button.js +0 -0
- /package/{package/module → module}/Button/Button.js.map +0 -0
- /package/{package/module → module}/Button/ButtonGroup.js +0 -0
- /package/{package/module → module}/Button/ButtonGroup.js.map +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/module → module}/Calendar/Calendar.base.js +0 -0
- /package/{package/module → module}/Calendar/Calendar.base.js.map +0 -0
- /package/{package/module → module}/Calendar/Calendar.js +0 -0
- /package/{package/module → module}/Calendar/Calendar.js.map +0 -0
- /package/{package/module → module}/Calendar/ConcreteTimeSelector.js +0 -0
- /package/{package/module → module}/Calendar/ConcreteTimeSelector.js.map +0 -0
- /package/{package/module → module}/Calendar/CustomRange.js +0 -0
- /package/{package/module → module}/Calendar/CustomRange.js.map +0 -0
- /package/{package/module → module}/Calendar/DaySelector.js +0 -0
- /package/{package/module → module}/Calendar/DaySelector.js.map +0 -0
- /package/{package/module → module}/Calendar/MonthSelector.js +0 -0
- /package/{package/module → module}/Calendar/MonthSelector.js.map +0 -0
- /package/{package/module → module}/Calendar/TimeSelector.js +0 -0
- /package/{package/module → module}/Calendar/TimeSelector.js.map +0 -0
- /package/{package/module → module}/Calendar/WeekDaySelector.js +0 -0
- /package/{package/module → module}/Calendar/WeekDaySelector.js.map +0 -0
- /package/{package/module → module}/Calendar/helper.js +0 -0
- /package/{package/module → module}/Calendar/helper.js.map +0 -0
- /package/{package/module → module}/Calendar/local.js +0 -0
- /package/{package/module → module}/Calendar/local.js.map +0 -0
- /package/{package/module → module}/Calendar/types.js +0 -0
- /package/{package/module → module}/Calendar/types.js.map +0 -0
- /package/{package/module → module}/Card/Card.js +0 -0
- /package/{package/module → module}/Card/Card.js.map +0 -0
- /package/{package/module → module}/CheckBox/CheckBox.js +0 -0
- /package/{package/module → module}/CheckBox/CheckBox.js.map +0 -0
- /package/{package/module → module}/CheckBox/CheckBoxItem.js +0 -0
- /package/{package/module → module}/CheckBox/CheckBoxItem.js.map +0 -0
- /package/{package/module → module}/CheckBox/GroupCheckBox.js +0 -0
- /package/{package/module → module}/CheckBox/GroupCheckBox.js.map +0 -0
- /package/{package/module → module}/CircularProgress/CircularProgress.js +0 -0
- /package/{package/module → module}/CircularProgress/CircularProgress.js.map +0 -0
- /package/{package/module → module}/Collapsible/Collapsible.js +0 -0
- /package/{package/module → module}/Collapsible/Collapsible.js.map +0 -0
- /package/{package/module → module}/DashboardCard/DashboardCard.js +0 -0
- /package/{package/module → module}/DashboardCard/DashboardCard.js.map +0 -0
- /package/{package/module → module}/DataCell/DataCell.js +0 -0
- /package/{package/module → module}/DataCell/DataCell.js.map +0 -0
- /package/{package/commonjs → module}/DataCell/README.md +0 -0
- /package/{package/module → module}/DataCell/index.js +0 -0
- /package/{package/module → module}/DataCell/index.js.map +0 -0
- /package/{package/module → module}/DeviceSelectionModal/DeviceSelectionModal.js +0 -0
- /package/{package/module → module}/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js.map +0 -0
- /package/{package/module → module}/Drawer/Drawer.js +0 -0
- /package/{package/module → module}/Drawer/Drawer.js.map +0 -0
- /package/{package/module → module}/Dropdown/CustomDropdown.js +0 -0
- /package/{package/module → module}/Dropdown/CustomDropdown.js.map +0 -0
- /package/{package/module → module}/Dropdown/Dropdown.js +0 -0
- /package/{package/module → module}/Dropdown/Dropdown.js.map +0 -0
- /package/{package/module → module}/Dropdown/InputDropdown.js +0 -0
- /package/{package/module → module}/Dropdown/InputDropdown.js.map +0 -0
- /package/{package/module → module}/ExternalLink/ExternalLink.js +0 -0
- /package/{package/module → module}/ExternalLink/ExternalLink.js.map +0 -0
- /package/{package/module → module}/Gantt/Accessories.js +0 -0
- /package/{package/module → module}/Gantt/Accessories.js.map +0 -0
- /package/{package/module → module}/Gantt/Gantt.js +0 -0
- /package/{package/module → module}/Gantt/Gantt.js.map +0 -0
- /package/{package/module → module}/Gantt/GanttInnerElementType.js +0 -0
- /package/{package/module → module}/Gantt/GanttInnerElementType.js.map +0 -0
- /package/{package/module → module}/Gantt/helper.js +0 -0
- /package/{package/module → module}/Gantt/helper.js.map +0 -0
- /package/{package/module → module}/Gantt/types.js +0 -0
- /package/{package/module → module}/Gantt/types.js.map +0 -0
- /package/{package/module → module}/Grid/FixedSizeGrid.js +0 -0
- /package/{package/module → module}/Grid/FixedSizeGrid.js.map +0 -0
- /package/{package/module → module}/Grid/Grid.base.js +0 -0
- /package/{package/module → module}/Grid/Grid.base.js.map +0 -0
- /package/{package/module → module}/Grid/StaticFixedSizeGrid.js +0 -0
- /package/{package/module → module}/Grid/StaticFixedSizeGrid.js.map +0 -0
- /package/{package/module → module}/Grid/VariableSizeGrid.js +0 -0
- /package/{package/module → module}/Grid/VariableSizeGrid.js.map +0 -0
- /package/{package/module → module}/Grid/helper.js +0 -0
- /package/{package/module → module}/Grid/helper.js.map +0 -0
- /package/{package/module → module}/Grid/timer.js +0 -0
- /package/{package/module → module}/Grid/timer.js.map +0 -0
- /package/{package/module → module}/Header/Header.js +0 -0
- /package/{package/module → module}/Header/Header.js.map +0 -0
- /package/{package/module → module}/HelloWave/HelloWave.js +0 -0
- /package/{package/module → module}/HelloWave/HelloWave.js.map +0 -0
- /package/{package/module → module}/Hoverable/Hoverable.js +0 -0
- /package/{package/module → module}/Hoverable/Hoverable.js.map +0 -0
- /package/{package/module → module}/IconText/IconText.js +0 -0
- /package/{package/module → module}/IconText/IconText.js.map +0 -0
- /package/{package/commonjs → module}/Icons/README.md +0 -0
- /package/{package/module → module}/Icons/TapasIcon.js +0 -0
- /package/{package/module → module}/Icons/TapasIcon.js.map +0 -0
- /package/{package/module → module}/Icons/TapasIconExpo.js +0 -0
- /package/{package/module → module}/Icons/TapasIconExpo.js.map +0 -0
- /package/{package/module → module}/Icons/expoFontLoader.js +0 -0
- /package/{package/module → module}/Icons/expoFontLoader.js.map +0 -0
- /package/{package/module → module}/Icons/fontLoader.js +0 -0
- /package/{package/module → module}/Icons/fontLoader.js.map +0 -0
- /package/{package/commonjs → module}/Icons/icon-categories.json +0 -0
- /package/{package/module → module}/Icons/index.js +0 -0
- /package/{package/module → module}/Icons/index.js.map +0 -0
- /package/{package/commonjs → module}/Icons/real-icon-mapping.json +0 -0
- /package/{package/commonjs → module}/Icons/selection.json +0 -0
- /package/{package/module → module}/Icons/smartFontLoader.js +0 -0
- /package/{package/module → module}/Icons/smartFontLoader.js.map +0 -0
- /package/{package/module → module}/Image/Image.js +0 -0
- /package/{package/module → module}/Image/Image.js.map +0 -0
- /package/{package/module → module}/Image/PreviewImg.js +0 -0
- /package/{package/module → module}/Image/PreviewImg.js.map +0 -0
- /package/{package/module → module}/Input/Input.js +0 -0
- /package/{package/module → module}/Input/Input.js.map +0 -0
- /package/{package/module → module}/Layout/DrawerContext.js +0 -0
- /package/{package/module → module}/Layout/DrawerContext.js.map +0 -0
- /package/{package/module → module}/Layout/Layout.js +0 -0
- /package/{package/module → module}/Layout/Layout.js.map +0 -0
- /package/{package/module → module}/Layout/ToastContext.js +0 -0
- /package/{package/module → module}/Layout/ToastContext.js.map +0 -0
- /package/{package/module → module}/Layout/index.js +0 -0
- /package/{package/module → module}/Layout/index.js.map +0 -0
- /package/{package/module → module}/ListItem/ListItem.js +0 -0
- /package/{package/module → module}/ListItem/ListItem.js.map +0 -0
- /package/{package/module → module}/Loading/Loading.js +0 -0
- /package/{package/module → module}/Loading/Loading.js.map +0 -0
- /package/{package/commonjs → module}/Loading/README.md +0 -0
- /package/{package/module → module}/MessageBox/MessageBox.js +0 -0
- /package/{package/module → module}/MessageBox/MessageBox.js.map +0 -0
- /package/{package/module → module}/MultiSelector/MultiSelector.js +0 -0
- /package/{package/module → module}/MultiSelector/MultiSelector.js.map +0 -0
- /package/{package/commonjs → module}/MultiSelector/README.md +0 -0
- /package/{package/module → module}/MultiSelector/index.js +0 -0
- /package/{package/module → module}/MultiSelector/index.js.map +0 -0
- /package/{package/module → module}/Navigation/Navigation.js +0 -0
- /package/{package/module → module}/Navigation/Navigation.js.map +0 -0
- /package/{package/module → module}/Notification/Notification.js +0 -0
- /package/{package/module → module}/Notification/Notification.js.map +0 -0
- /package/{package/commonjs → module}/Notification/README.md +0 -0
- /package/{package/module → module}/Notification/index.js +0 -0
- /package/{package/module → module}/Notification/index.js.map +0 -0
- /package/{package/module → module}/NumericInput/NumericInput.js +0 -0
- /package/{package/module → module}/NumericInput/NumericInput.js.map +0 -0
- /package/{package/module → module}/Overlay/Overlay.js +0 -0
- /package/{package/module → module}/Overlay/Overlay.js.map +0 -0
- /package/{package/module → module}/Pagination/Pagination.js +0 -0
- /package/{package/module → module}/Pagination/Pagination.js.map +0 -0
- /package/{package/module → module}/Popover/Popover.js +0 -0
- /package/{package/module → module}/Popover/Popover.js.map +0 -0
- /package/{package/module → module}/Progress/Progress.js +0 -0
- /package/{package/module → module}/Progress/Progress.js.map +0 -0
- /package/{package/module → module}/Quantity/Quantity.js +0 -0
- /package/{package/module → module}/Quantity/Quantity.js.map +0 -0
- /package/{package/commonjs → module}/Quantity/README.md +0 -0
- /package/{package/module → module}/Quantity/index.js +0 -0
- /package/{package/module → module}/Quantity/index.js.map +0 -0
- /package/{package/module → module}/RadioButton/RadioButton.js +0 -0
- /package/{package/module → module}/RadioButton/RadioButton.js.map +0 -0
- /package/{package/commonjs → module}/ReasonModal/README.md +0 -0
- /package/{package/module → module}/ReasonModal/ReasonModal.js +0 -0
- /package/{package/module → module}/ReasonModal/ReasonModal.js.map +0 -0
- /package/{package/module → module}/ReasonModal/index.js +0 -0
- /package/{package/module → module}/ReasonModal/index.js.map +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js.map +0 -0
- /package/{package/commonjs → module}/SearchInput/README.md +0 -0
- /package/{package/module → module}/SearchInput/SearchInput.js +0 -0
- /package/{package/module → module}/SearchInput/SearchInput.js.map +0 -0
- /package/{package/module → module}/SearchInput/index.js +0 -0
- /package/{package/module → module}/SearchInput/index.js.map +0 -0
- /package/{package/module → module}/SheetTitle/SheetTitle.js +0 -0
- /package/{package/module → module}/SheetTitle/SheetTitle.js.map +0 -0
- /package/{package/module → module}/Shell/Shell.js +0 -0
- /package/{package/module → module}/Shell/Shell.js.map +0 -0
- /package/{package/module → module}/Shell/styles.js +0 -0
- /package/{package/module → module}/Shell/styles.js.map +0 -0
- /package/{package/module → module}/Shell/types.js +0 -0
- /package/{package/module → module}/Shell/types.js.map +0 -0
- /package/{package/module → module}/Status/Status.js +0 -0
- /package/{package/module → module}/Status/Status.js.map +0 -0
- /package/{package/module → module}/Steps/Steps.js +0 -0
- /package/{package/module → module}/Steps/Steps.js.map +0 -0
- /package/{package/commonjs → module}/TabTitle/README.md +0 -0
- /package/{package/module → module}/TabTitle/TabTitle.js +0 -0
- /package/{package/module → module}/TabTitle/TabTitle.js.map +0 -0
- /package/{package/module → module}/TabTitle/index.js +0 -0
- /package/{package/module → module}/TabTitle/index.js.map +0 -0
- /package/{package/commonjs → module}/TableColumnHeader/README.md +0 -0
- /package/{package/module → module}/TableColumnHeader/TableColumnHeader.js +0 -0
- /package/{package/module → module}/TableColumnHeader/TableColumnHeader.js.map +0 -0
- /package/{package/module → module}/TableColumnHeader/index.js +0 -0
- /package/{package/module → module}/TableColumnHeader/index.js.map +0 -0
- /package/{package/module → module}/Tag/Tag.js +0 -0
- /package/{package/module → module}/Tag/Tag.js.map +0 -0
- /package/{package/module → module}/Task/Task.js +0 -0
- /package/{package/module → module}/Task/Task.js.map +0 -0
- /package/{package/module → module}/Task/type.js +0 -0
- /package/{package/module → module}/Task/type.js.map +0 -0
- /package/{package/module → module}/Text/Text.js +0 -0
- /package/{package/module → module}/Text/Text.js.map +0 -0
- /package/{package/module → module}/TextArea/TextArea.js +0 -0
- /package/{package/module → module}/TextArea/TextArea.js.map +0 -0
- /package/{package/module → module}/Theme/ThemeProvider.js +0 -0
- /package/{package/module → module}/Theme/ThemeProvider.js.map +0 -0
- /package/{package/module → module}/Theme/defaultTheme.js +0 -0
- /package/{package/module → module}/Theme/defaultTheme.js.map +0 -0
- /package/{package/module → module}/Theme/themed.d.js +0 -0
- /package/{package/module → module}/Theme/themed.d.js.map +0 -0
- /package/{package/module → module}/Timeline/Timeline.js +0 -0
- /package/{package/module → module}/Timeline/Timeline.js.map +0 -0
- /package/{package/module → module}/Toast/Toast.js +0 -0
- /package/{package/module → module}/Toast/Toast.js.map +0 -0
- /package/{package/commonjs → module}/UserSwitcher/README.md +0 -0
- /package/{package/module → module}/UserSwitcher/UserSwitcher.js +0 -0
- /package/{package/module → module}/UserSwitcher/UserSwitcher.js.map +0 -0
- /package/{package/module → module}/UserSwitcher/index.js +0 -0
- /package/{package/module → module}/UserSwitcher/index.js.map +0 -0
- /package/{package/module → module}/common.js +0 -0
- /package/{package/module → module}/common.js.map +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Button/Button.d.ts +0 -0
- /package/{package/typescript → typescript}/Button/Button.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Button/ButtonGroup.d.ts +0 -0
- /package/{package/typescript → typescript}/Button/ButtonGroup.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.base.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.base.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/ConcreteTimeSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/ConcreteTimeSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/CustomRange.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/CustomRange.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/DaySelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/DaySelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/MonthSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/MonthSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/TimeSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/TimeSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/WeekDaySelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/WeekDaySelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/local.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/local.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Card/Card.d.ts +0 -0
- /package/{package/typescript → typescript}/Card/Card.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBox.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBoxItem.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBoxItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/GroupCheckBox.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/GroupCheckBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CircularProgress/CircularProgress.d.ts +0 -0
- /package/{package/typescript → typescript}/CircularProgress/CircularProgress.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Collapsible/Collapsible.d.ts +0 -0
- /package/{package/typescript → typescript}/Collapsible/Collapsible.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DashboardCard/DashboardCard.d.ts +0 -0
- /package/{package/typescript → typescript}/DashboardCard/DashboardCard.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataCell/DataCell.d.ts +0 -0
- /package/{package/typescript → typescript}/DataCell/DataCell.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataCell/index.d.ts +0 -0
- /package/{package/typescript → typescript}/DataCell/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DeviceSelectionModal/DeviceSelectionModal.d.ts +0 -0
- /package/{package/typescript → typescript}/DeviceSelectionModal/DeviceSelectionModal.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DraggableFlatList/DraggableFlatList.d.ts +0 -0
- /package/{package/typescript → typescript}/DraggableFlatList/DraggableFlatList.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Drawer/Drawer.d.ts +0 -0
- /package/{package/typescript → typescript}/Drawer/Drawer.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/CustomDropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/CustomDropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/Dropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/Dropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/InputDropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/InputDropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ExternalLink/ExternalLink.d.ts +0 -0
- /package/{package/typescript → typescript}/ExternalLink/ExternalLink.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/Accessories.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/Accessories.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/Gantt.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/Gantt.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/GanttInnerElementType.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/GanttInnerElementType.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/FixedSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/FixedSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/Grid.base.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/Grid.base.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/StaticFixedSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/StaticFixedSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/VariableSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/VariableSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/timer.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/timer.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Header/Header.d.ts +0 -0
- /package/{package/typescript → typescript}/Header/Header.d.ts.map +0 -0
- /package/{package/typescript → typescript}/HelloWave/HelloWave.d.ts +0 -0
- /package/{package/typescript → typescript}/HelloWave/HelloWave.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Hoverable/Hoverable.d.ts +0 -0
- /package/{package/typescript → typescript}/Hoverable/Hoverable.d.ts.map +0 -0
- /package/{package/typescript → typescript}/IconText/IconText.d.ts +0 -0
- /package/{package/typescript → typescript}/IconText/IconText.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIcon.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIcon.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIconExpo.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIconExpo.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/expoFontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/expoFontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/fontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/fontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/smartFontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/smartFontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Image/Image.d.ts +0 -0
- /package/{package/typescript → typescript}/Image/Image.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Image/PreviewImg.d.ts +0 -0
- /package/{package/typescript → typescript}/Image/PreviewImg.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Input/Input.d.ts +0 -0
- /package/{package/typescript → typescript}/Input/Input.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/DrawerContext.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/DrawerContext.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/Layout.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/Layout.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/ToastContext.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/ToastContext.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ListItem/ListItem.d.ts +0 -0
- /package/{package/typescript → typescript}/ListItem/ListItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Navigation/Navigation.d.ts +0 -0
- /package/{package/typescript → typescript}/Navigation/Navigation.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Pagination/Pagination.d.ts +0 -0
- /package/{package/typescript → typescript}/Pagination/Pagination.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Popover/Popover.d.ts +0 -0
- /package/{package/typescript → typescript}/Popover/Popover.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Progress/Progress.d.ts +0 -0
- /package/{package/typescript → typescript}/Progress/Progress.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Quantity/Quantity.d.ts +0 -0
- /package/{package/typescript → typescript}/Quantity/Quantity.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Quantity/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Quantity/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/RadioButton/RadioButton.d.ts +0 -0
- /package/{package/typescript → typescript}/RadioButton/RadioButton.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ReasonModal/ReasonModal.d.ts +0 -0
- /package/{package/typescript → typescript}/ReasonModal/ReasonModal.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ReasonModal/index.d.ts +0 -0
- /package/{package/typescript → typescript}/ReasonModal/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ScanButton/ScanButton.d.ts +0 -0
- /package/{package/typescript → typescript}/ScanButton/ScanButton.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SearchInput/SearchInput.d.ts +0 -0
- /package/{package/typescript → typescript}/SearchInput/SearchInput.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SearchInput/index.d.ts +0 -0
- /package/{package/typescript → typescript}/SearchInput/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SheetTitle/SheetTitle.d.ts +0 -0
- /package/{package/typescript → typescript}/SheetTitle/SheetTitle.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/Shell.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/Shell.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/styles.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/styles.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Status/Status.d.ts +0 -0
- /package/{package/typescript → typescript}/Status/Status.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Steps/Steps.d.ts +0 -0
- /package/{package/typescript → typescript}/Steps/Steps.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TabTitle/TabTitle.d.ts +0 -0
- /package/{package/typescript → typescript}/TabTitle/TabTitle.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TabTitle/index.d.ts +0 -0
- /package/{package/typescript → typescript}/TabTitle/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/TableColumnHeader.d.ts +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/TableColumnHeader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/index.d.ts +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Tag/Tag.d.ts +0 -0
- /package/{package/typescript → typescript}/Tag/Tag.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Task/Task.d.ts +0 -0
- /package/{package/typescript → typescript}/Task/Task.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Task/type.d.ts +0 -0
- /package/{package/typescript → typescript}/Task/type.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Text/Text.d.ts +0 -0
- /package/{package/typescript → typescript}/Text/Text.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TextArea/TextArea.d.ts +0 -0
- /package/{package/typescript → typescript}/TextArea/TextArea.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Theme/ThemeProvider.d.ts +0 -0
- /package/{package/typescript → typescript}/Theme/ThemeProvider.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Theme/defaultTheme.d.ts +0 -0
- /package/{package/typescript → typescript}/Theme/defaultTheme.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Timeline/Timeline.d.ts +0 -0
- /package/{package/typescript → typescript}/Timeline/Timeline.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Toast/Toast.d.ts +0 -0
- /package/{package/typescript → typescript}/Toast/Toast.d.ts.map +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/UserSwitcher.d.ts +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/UserSwitcher.d.ts.map +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/index.d.ts +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/common.d.ts +0 -0
- /package/{package/typescript → typescript}/common.d.ts.map +0 -0
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useCallback, useMemo } from "react";
|
|
2
|
-
import { View, Text, Modal, ViewProps } from "react-native";
|
|
3
|
-
import { withTheme, makeStyles } from "@rneui/themed";
|
|
4
|
-
import TapasButton from "../Button/Button";
|
|
5
|
-
import TapasRadioButton from "../RadioButton/RadioButton";
|
|
6
|
-
|
|
7
|
-
export interface ReasonOption {
|
|
8
|
-
key: string;
|
|
9
|
-
text: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface ReasonModalProps extends ViewProps {
|
|
13
|
-
/** 是否显示模态框 */
|
|
14
|
-
visible?: boolean;
|
|
15
|
-
/** 模态框标题 */
|
|
16
|
-
title?: string;
|
|
17
|
-
/** 副标题或说明文字 */
|
|
18
|
-
subtitle?: string;
|
|
19
|
-
/** 可选择的原因选项 */
|
|
20
|
-
options: ReasonOption[];
|
|
21
|
-
/** 当前选中的原因key */
|
|
22
|
-
selectedReason?: string;
|
|
23
|
-
/** 确认按钮文字 */
|
|
24
|
-
confirmText?: string;
|
|
25
|
-
/** 取消按钮文字 */
|
|
26
|
-
cancelText?: string;
|
|
27
|
-
/** 模态框宽度 */
|
|
28
|
-
width?: number;
|
|
29
|
-
/** 是否禁用确认按钮(当没有选择时) */
|
|
30
|
-
disableConfirmWhenEmpty?: boolean;
|
|
31
|
-
/** 关闭模态框的回调 */
|
|
32
|
-
onClose?: () => void;
|
|
33
|
-
/** 确认选择的回调 */
|
|
34
|
-
onConfirm?: (reason: ReasonOption) => void;
|
|
35
|
-
/** 选择改变的回调 */
|
|
36
|
-
onSelectionChange?: (reason: ReasonOption | null) => void;
|
|
37
|
-
/** 模态框请求关闭的回调(Android返回键等) */
|
|
38
|
-
onRequestClose?: () => void;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const TapasReasonModal: React.FC<ReasonModalProps> = ({
|
|
42
|
-
visible = false,
|
|
43
|
-
title = "Select Reason",
|
|
44
|
-
subtitle,
|
|
45
|
-
options = [],
|
|
46
|
-
selectedReason,
|
|
47
|
-
confirmText = "Confirm",
|
|
48
|
-
cancelText = "Cancel",
|
|
49
|
-
width = 480,
|
|
50
|
-
disableConfirmWhenEmpty = true,
|
|
51
|
-
onClose,
|
|
52
|
-
onConfirm,
|
|
53
|
-
onSelectionChange,
|
|
54
|
-
onRequestClose,
|
|
55
|
-
style,
|
|
56
|
-
...otherProps
|
|
57
|
-
}) => {
|
|
58
|
-
const styles = useStyles();
|
|
59
|
-
const [localSelectedReason, setLocalSelectedReason] = useState<string>("");
|
|
60
|
-
|
|
61
|
-
// 同步外部选中状态
|
|
62
|
-
useEffect(() => {
|
|
63
|
-
setLocalSelectedReason(selectedReason || "");
|
|
64
|
-
}, [selectedReason]);
|
|
65
|
-
|
|
66
|
-
// 重置选择当模态框显示/隐藏时
|
|
67
|
-
useEffect(() => {
|
|
68
|
-
if (visible) {
|
|
69
|
-
setLocalSelectedReason(selectedReason || "");
|
|
70
|
-
} else {
|
|
71
|
-
setLocalSelectedReason("");
|
|
72
|
-
}
|
|
73
|
-
}, [visible, selectedReason]);
|
|
74
|
-
|
|
75
|
-
// 处理选择改变
|
|
76
|
-
const handleSelectionChange = useCallback((option: ReasonOption) => {
|
|
77
|
-
setLocalSelectedReason(option.key);
|
|
78
|
-
onSelectionChange?.(option);
|
|
79
|
-
}, [onSelectionChange]);
|
|
80
|
-
|
|
81
|
-
// 处理关闭
|
|
82
|
-
const handleClose = useCallback(() => {
|
|
83
|
-
setLocalSelectedReason("");
|
|
84
|
-
onClose?.();
|
|
85
|
-
}, [onClose]);
|
|
86
|
-
|
|
87
|
-
// 处理确认
|
|
88
|
-
const handleConfirm = useCallback(() => {
|
|
89
|
-
const selectedOption = options.find(option => option.key === localSelectedReason);
|
|
90
|
-
if (selectedOption) {
|
|
91
|
-
onConfirm?.(selectedOption);
|
|
92
|
-
}
|
|
93
|
-
}, [localSelectedReason, options, onConfirm]);
|
|
94
|
-
|
|
95
|
-
// 处理模态框请求关闭
|
|
96
|
-
const handleRequestClose = useCallback(() => {
|
|
97
|
-
if (onRequestClose) {
|
|
98
|
-
onRequestClose();
|
|
99
|
-
} else {
|
|
100
|
-
handleClose();
|
|
101
|
-
}
|
|
102
|
-
}, [onRequestClose, handleClose]);
|
|
103
|
-
|
|
104
|
-
// 计算是否应该禁用确认按钮
|
|
105
|
-
const isConfirmDisabled = useMemo(() => {
|
|
106
|
-
return disableConfirmWhenEmpty && !localSelectedReason;
|
|
107
|
-
}, [disableConfirmWhenEmpty, localSelectedReason]);
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
return (
|
|
112
|
-
<Modal
|
|
113
|
-
animationType="fade"
|
|
114
|
-
transparent={true}
|
|
115
|
-
visible={visible}
|
|
116
|
-
onRequestClose={handleRequestClose}
|
|
117
|
-
{...otherProps}
|
|
118
|
-
>
|
|
119
|
-
<View style={[styles.modalContainer, style]}>
|
|
120
|
-
<View style={[styles.modalContent, { width }]}>
|
|
121
|
-
{/* 标题区域 */}
|
|
122
|
-
<View style={styles.titleContainer}>
|
|
123
|
-
<Text style={styles.title}>{title}</Text>
|
|
124
|
-
{subtitle && (
|
|
125
|
-
<Text style={styles.subtitle}>{subtitle}</Text>
|
|
126
|
-
)}
|
|
127
|
-
</View>
|
|
128
|
-
|
|
129
|
-
{/* 选项区域 */}
|
|
130
|
-
<View style={styles.optionsContainer}>
|
|
131
|
-
<TapasRadioButton
|
|
132
|
-
options={options}
|
|
133
|
-
selected={localSelectedReason}
|
|
134
|
-
onPress={handleSelectionChange}
|
|
135
|
-
/>
|
|
136
|
-
</View>
|
|
137
|
-
|
|
138
|
-
{/* 按钮区域 */}
|
|
139
|
-
<View style={styles.buttonsContainer}>
|
|
140
|
-
<TapasButton
|
|
141
|
-
title={cancelText}
|
|
142
|
-
type="clear"
|
|
143
|
-
onPress={handleClose}
|
|
144
|
-
style={styles.cancelButton}
|
|
145
|
-
/>
|
|
146
|
-
<TapasButton
|
|
147
|
-
title={confirmText}
|
|
148
|
-
type="solid"
|
|
149
|
-
disabled={isConfirmDisabled}
|
|
150
|
-
onPress={handleConfirm}
|
|
151
|
-
style={styles.confirmButton}
|
|
152
|
-
/>
|
|
153
|
-
</View>
|
|
154
|
-
</View>
|
|
155
|
-
</View>
|
|
156
|
-
</Modal>
|
|
157
|
-
);
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
const useStyles = makeStyles((theme) => ({
|
|
161
|
-
modalContainer: {
|
|
162
|
-
flex: 1,
|
|
163
|
-
justifyContent: "center",
|
|
164
|
-
alignItems: "center",
|
|
165
|
-
backgroundColor: "rgba(0, 0, 0, 0.6)",
|
|
166
|
-
zIndex: 10,
|
|
167
|
-
},
|
|
168
|
-
modalContent: {
|
|
169
|
-
borderRadius: theme?.radius?.rounded || 12,
|
|
170
|
-
backgroundColor: theme?.colors?.white || '#ffffff',
|
|
171
|
-
boxShadow: "0px 12px 40px 0px rgba(0, 0, 0, 0.14), 0px 24px 56px 0px rgba(0, 0, 0, 0.10)",
|
|
172
|
-
display: "flex",
|
|
173
|
-
flexDirection: "column",
|
|
174
|
-
maxHeight: "80%",
|
|
175
|
-
minWidth: 320,
|
|
176
|
-
maxWidth: "90%",
|
|
177
|
-
},
|
|
178
|
-
titleContainer: {
|
|
179
|
-
padding: theme?.spacing?.tpRg || 16,
|
|
180
|
-
paddingBottom: theme?.spacing?.tpXs || 8,
|
|
181
|
-
borderBottomWidth: 1,
|
|
182
|
-
borderBottomColor: theme?.colors?.grey4 || '#e0e0e0',
|
|
183
|
-
},
|
|
184
|
-
title: {
|
|
185
|
-
fontSize: 18,
|
|
186
|
-
fontWeight: theme?.fonts?.weightL || "600",
|
|
187
|
-
color: theme?.colors?.primary || '#007AFF',
|
|
188
|
-
lineHeight: 24,
|
|
189
|
-
},
|
|
190
|
-
subtitle: {
|
|
191
|
-
marginTop: theme?.spacing?.tp2xs || 4,
|
|
192
|
-
fontSize: 14,
|
|
193
|
-
color: theme?.colors?.colorTextSecondary || theme?.colors?.grey1 || '#666666',
|
|
194
|
-
lineHeight: 20,
|
|
195
|
-
},
|
|
196
|
-
optionsContainer: {
|
|
197
|
-
flex: 1,
|
|
198
|
-
padding: theme?.spacing?.tpRg || 16,
|
|
199
|
-
minHeight: 100,
|
|
200
|
-
maxHeight: 400,
|
|
201
|
-
},
|
|
202
|
-
buttonsContainer: {
|
|
203
|
-
flexDirection: "row",
|
|
204
|
-
justifyContent: "flex-end",
|
|
205
|
-
padding: theme?.spacing?.tpRg || 16,
|
|
206
|
-
paddingTop: theme?.spacing?.tpXs || 8,
|
|
207
|
-
borderTopWidth: 1,
|
|
208
|
-
borderTopColor: theme?.colors?.grey4 || '#e0e0e0',
|
|
209
|
-
gap: 12,
|
|
210
|
-
},
|
|
211
|
-
cancelButton: {
|
|
212
|
-
minWidth: 80,
|
|
213
|
-
},
|
|
214
|
-
confirmButton: {
|
|
215
|
-
minWidth: 80,
|
|
216
|
-
},
|
|
217
|
-
}));
|
|
218
|
-
|
|
219
|
-
export default withTheme(TapasReasonModal);
|
|
220
|
-
|
|
221
|
-
// Export aliases for compatibility
|
|
222
|
-
export const ReasonModal = withTheme(TapasReasonModal);
|
|
223
|
-
export { TapasReasonModal };
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, Text, Pressable } from "react-native";
|
|
3
|
-
import { withTheme, makeStyles, useTheme } from "@rneui/themed";
|
|
4
|
-
import TapasIcon from "../Icons/TapasIcon";
|
|
5
|
-
|
|
6
|
-
export interface ScanButtonProps {
|
|
7
|
-
onPress?: () => void;
|
|
8
|
-
text?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
size?: number;
|
|
11
|
-
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'center';
|
|
12
|
-
backgroundColor?: string;
|
|
13
|
-
textColor?: string;
|
|
14
|
-
iconColor?: string;
|
|
15
|
-
testID?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const ScanButton: React.FC<ScanButtonProps> = ({
|
|
19
|
-
onPress,
|
|
20
|
-
text = "Scan QR Code",
|
|
21
|
-
icon = "qr_code_scan",
|
|
22
|
-
size = 20,
|
|
23
|
-
position = 'bottom-right',
|
|
24
|
-
backgroundColor,
|
|
25
|
-
textColor,
|
|
26
|
-
iconColor,
|
|
27
|
-
testID,
|
|
28
|
-
}) => {
|
|
29
|
-
const theme = useTheme();
|
|
30
|
-
const styles = useStyles({ position });
|
|
31
|
-
|
|
32
|
-
return (
|
|
33
|
-
<View style={styles.scanWrapper} testID={testID}>
|
|
34
|
-
<View style={styles.barCon}>
|
|
35
|
-
<Pressable
|
|
36
|
-
style={[
|
|
37
|
-
styles.scanBtn,
|
|
38
|
-
backgroundColor ? { backgroundColor } : null
|
|
39
|
-
]}
|
|
40
|
-
onPress={() => {
|
|
41
|
-
onPress && onPress();
|
|
42
|
-
}}
|
|
43
|
-
>
|
|
44
|
-
<TapasIcon
|
|
45
|
-
style={styles.scanIcon}
|
|
46
|
-
name={icon}
|
|
47
|
-
size={size}
|
|
48
|
-
color={iconColor || theme.theme.colors.white}
|
|
49
|
-
/>
|
|
50
|
-
<Text
|
|
51
|
-
style={[
|
|
52
|
-
styles.scanText,
|
|
53
|
-
textColor ? { color: textColor } : null
|
|
54
|
-
]}
|
|
55
|
-
numberOfLines={1}
|
|
56
|
-
ellipsizeMode="tail"
|
|
57
|
-
>
|
|
58
|
-
{text}
|
|
59
|
-
</Text>
|
|
60
|
-
</Pressable>
|
|
61
|
-
</View>
|
|
62
|
-
</View>
|
|
63
|
-
);
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
const useStyles = makeStyles((theme, props?: { position?: string }) => {
|
|
67
|
-
const { position = 'bottom-right' } = props || {};
|
|
68
|
-
|
|
69
|
-
let positionStyle: any = {
|
|
70
|
-
bottom: 24,
|
|
71
|
-
right: 24,
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
switch (position) {
|
|
75
|
-
case 'bottom-left':
|
|
76
|
-
positionStyle = { bottom: 24, left: 24 };
|
|
77
|
-
break;
|
|
78
|
-
case 'top-right':
|
|
79
|
-
positionStyle = { top: 24, right: 24 };
|
|
80
|
-
break;
|
|
81
|
-
case 'top-left':
|
|
82
|
-
positionStyle = { top: 24, left: 24 };
|
|
83
|
-
break;
|
|
84
|
-
case 'center':
|
|
85
|
-
positionStyle = {
|
|
86
|
-
top: '50%',
|
|
87
|
-
left: '50%',
|
|
88
|
-
marginTop: -20,
|
|
89
|
-
marginLeft: -50,
|
|
90
|
-
};
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
return {
|
|
95
|
-
scanWrapper: {
|
|
96
|
-
display: "flex",
|
|
97
|
-
position: "absolute",
|
|
98
|
-
flexDirection: "column",
|
|
99
|
-
height: 40,
|
|
100
|
-
justifyContent: "flex-end",
|
|
101
|
-
...positionStyle,
|
|
102
|
-
},
|
|
103
|
-
barCon: {
|
|
104
|
-
height: 40,
|
|
105
|
-
flex: 1,
|
|
106
|
-
maxHeight: 40,
|
|
107
|
-
display: "flex",
|
|
108
|
-
flexDirection: "row",
|
|
109
|
-
zIndex: 20,
|
|
110
|
-
},
|
|
111
|
-
scanBtn: {
|
|
112
|
-
display: "flex",
|
|
113
|
-
flexDirection: "row",
|
|
114
|
-
alignItems: "center",
|
|
115
|
-
alignContent: "center",
|
|
116
|
-
height: 40,
|
|
117
|
-
paddingLeft: 16,
|
|
118
|
-
paddingRight: 16,
|
|
119
|
-
borderRadius: 20,
|
|
120
|
-
shadowColor: "#000",
|
|
121
|
-
shadowOffset: { width: 0, height: 4 },
|
|
122
|
-
shadowOpacity: 0.08,
|
|
123
|
-
shadowRadius: 16,
|
|
124
|
-
elevation: 8,
|
|
125
|
-
backgroundColor: theme.colors.primary,
|
|
126
|
-
},
|
|
127
|
-
scanIcon: {
|
|
128
|
-
display: "flex",
|
|
129
|
-
marginRight: 8,
|
|
130
|
-
},
|
|
131
|
-
scanText: {
|
|
132
|
-
fontSize: 14,
|
|
133
|
-
fontWeight: "600",
|
|
134
|
-
color: theme.colors.white,
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
export default withTheme(ScanButton);
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useCallback, useMemo } from "react";
|
|
2
|
-
import { Platform, View, ViewProps } from "react-native";
|
|
3
|
-
import { withTheme, makeStyles, useTheme } from "@rneui/themed";
|
|
4
|
-
import TapasInput from "../Input/Input";
|
|
5
|
-
import TapasIcon from "../Icons/TapasIcon";
|
|
6
|
-
|
|
7
|
-
const inputStyle = Platform.select({
|
|
8
|
-
web: {
|
|
9
|
-
outlineStyle: "none",
|
|
10
|
-
},
|
|
11
|
-
default: {
|
|
12
|
-
borderWidth: 0,
|
|
13
|
-
height: 40,
|
|
14
|
-
width: 112,
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
export interface SearchInputProps extends ViewProps {
|
|
19
|
-
placeholder?: string;
|
|
20
|
-
value?: string;
|
|
21
|
-
height?: number;
|
|
22
|
-
width?: number;
|
|
23
|
-
onSearch?: (val?: string) => void;
|
|
24
|
-
attachSearch?: (val?: string) => void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const TapasSearchInput: React.FC<SearchInputProps> = ({
|
|
28
|
-
style,
|
|
29
|
-
height = 40,
|
|
30
|
-
width = 168,
|
|
31
|
-
placeholder,
|
|
32
|
-
value,
|
|
33
|
-
onSearch,
|
|
34
|
-
attachSearch,
|
|
35
|
-
...otherProps
|
|
36
|
-
}) => {
|
|
37
|
-
const theme = useTheme();
|
|
38
|
-
const styles = useStyles();
|
|
39
|
-
const [searchValue, setSearchValue] = useState(value);
|
|
40
|
-
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
setSearchValue(value);
|
|
43
|
-
}, [value]);
|
|
44
|
-
|
|
45
|
-
const handleSearch = useCallback((text?: string) => {
|
|
46
|
-
onSearch?.(text);
|
|
47
|
-
attachSearch?.(text);
|
|
48
|
-
}, [onSearch, attachSearch]);
|
|
49
|
-
|
|
50
|
-
const containerStyle = useMemo(() => [
|
|
51
|
-
styles.search,
|
|
52
|
-
style,
|
|
53
|
-
{ width }
|
|
54
|
-
], [styles.search, style, width]);
|
|
55
|
-
|
|
56
|
-
const inputContainerStyle = useMemo(() => [
|
|
57
|
-
styles.inputContainer,
|
|
58
|
-
{ width, height, maxHeight: height, minHeight: height },
|
|
59
|
-
], [styles.inputContainer, width, height]);
|
|
60
|
-
|
|
61
|
-
const inputInnerContainerStyle = useMemo(() => [
|
|
62
|
-
styles.inputInnerContainer,
|
|
63
|
-
{ width: width - 56, height, maxHeight: height, minHeight: height },
|
|
64
|
-
], [styles.inputInnerContainer, width, height]);
|
|
65
|
-
|
|
66
|
-
const inputStyleMemo = useMemo(() => [
|
|
67
|
-
inputStyle,
|
|
68
|
-
{ width: width - 56, height }
|
|
69
|
-
], [width, height]);
|
|
70
|
-
|
|
71
|
-
return (
|
|
72
|
-
<View {...otherProps} style={containerStyle}>
|
|
73
|
-
<TapasInput
|
|
74
|
-
inputStyle={inputStyleMemo}
|
|
75
|
-
labelBg="transparent"
|
|
76
|
-
inputContainerStyle={inputInnerContainerStyle}
|
|
77
|
-
value={searchValue}
|
|
78
|
-
onChangeText={handleSearch}
|
|
79
|
-
containerStyle={inputContainerStyle}
|
|
80
|
-
leftIcon={
|
|
81
|
-
<TapasIcon
|
|
82
|
-
onPress={() => handleSearch(searchValue)}
|
|
83
|
-
name="search"
|
|
84
|
-
size={24}
|
|
85
|
-
color={theme.theme.colors.grey1}
|
|
86
|
-
/>
|
|
87
|
-
}
|
|
88
|
-
placeholder={placeholder}
|
|
89
|
-
/>
|
|
90
|
-
</View>
|
|
91
|
-
);
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
const useStyles = makeStyles((theme) => ({
|
|
95
|
-
inputContainer: {
|
|
96
|
-
backgroundColor: theme?.colors?.grey4,
|
|
97
|
-
width: 168,
|
|
98
|
-
height: 40,
|
|
99
|
-
maxHeight: 40,
|
|
100
|
-
minHeight: 40,
|
|
101
|
-
borderRadius: 20,
|
|
102
|
-
},
|
|
103
|
-
inputInnerContainer: {
|
|
104
|
-
borderWidth: 0,
|
|
105
|
-
width: 112,
|
|
106
|
-
height: 40,
|
|
107
|
-
maxHeight: 40,
|
|
108
|
-
minHeight: 40,
|
|
109
|
-
borderBottomWidth: 0,
|
|
110
|
-
},
|
|
111
|
-
search: {
|
|
112
|
-
width: 168,
|
|
113
|
-
display: "flex",
|
|
114
|
-
overflow: "hidden",
|
|
115
|
-
},
|
|
116
|
-
}));
|
|
117
|
-
|
|
118
|
-
export default withTheme(TapasSearchInput);
|
|
119
|
-
|
|
120
|
-
// Export aliases for compatibility
|
|
121
|
-
export const SearchInput = withTheme(TapasSearchInput);
|
|
122
|
-
export { TapasSearchInput };
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import {withTheme, makeStyles, Text} from "@rneui/themed";
|
|
3
|
-
import {StyleProp, TouchableOpacity, View, ViewStyle} from "react-native";
|
|
4
|
-
import Button from "../Button/Button";
|
|
5
|
-
import Icon from '../Icons/TapasIcon';
|
|
6
|
-
export interface Props {
|
|
7
|
-
title?: string,
|
|
8
|
-
icon?: React.ReactNode | string,
|
|
9
|
-
showClear?: Boolean,
|
|
10
|
-
showClose?: Boolean,
|
|
11
|
-
clearText?: string,
|
|
12
|
-
onClear?: () => void,
|
|
13
|
-
onClose?: () => void,
|
|
14
|
-
titleContainerStyle?: StyleProp<ViewStyle>,
|
|
15
|
-
titleStyle?: StyleProp<ViewStyle>,
|
|
16
|
-
clearStyle?: StyleProp<ViewStyle>,
|
|
17
|
-
closeStyle?: StyleProp<ViewStyle>,
|
|
18
|
-
testID?: string,
|
|
19
|
-
}
|
|
20
|
-
const useStyles = makeStyles((theme) => {
|
|
21
|
-
return {
|
|
22
|
-
titleContainer: {
|
|
23
|
-
backgroundColor: theme.colors.white,
|
|
24
|
-
height: 40,
|
|
25
|
-
width: '100%',
|
|
26
|
-
display: 'flex',
|
|
27
|
-
flexDirection: 'row',
|
|
28
|
-
justifyContent: 'space-between',
|
|
29
|
-
alignItems: 'center',
|
|
30
|
-
paddingVertical: 8,
|
|
31
|
-
paddingLeft: 16,
|
|
32
|
-
borderBottomWidth: 1,
|
|
33
|
-
borderBottomColor: theme.colors.greyOutline,
|
|
34
|
-
borderBottomStyle: 'solid'
|
|
35
|
-
},
|
|
36
|
-
title: {
|
|
37
|
-
fontFamily: theme.fonts.fontFamily,
|
|
38
|
-
fontSize: theme.fonts.sizeL,
|
|
39
|
-
fontWeight: theme.fonts.weightL,
|
|
40
|
-
color: theme.colors.colorTextPrimary,
|
|
41
|
-
flex: 1,
|
|
42
|
-
},
|
|
43
|
-
clear: {
|
|
44
|
-
marginRight: 8,
|
|
45
|
-
},
|
|
46
|
-
close: {
|
|
47
|
-
width: 40,
|
|
48
|
-
height: 40,
|
|
49
|
-
justifyContent: 'center',
|
|
50
|
-
alignItems: 'center'
|
|
51
|
-
},
|
|
52
|
-
closeWrapper: {
|
|
53
|
-
display: 'flex',
|
|
54
|
-
flexDirection: 'row',
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
const SheetTitle:FC<Props> = (props) => {
|
|
59
|
-
const {title, icon = 'close', showClose = true, showClear, onClose, clearText, clearStyle, onClear, titleContainerStyle, titleStyle, closeStyle, testID} = props;
|
|
60
|
-
const styles = useStyles(props);
|
|
61
|
-
return (
|
|
62
|
-
<View style={[styles.titleContainer, titleContainerStyle]} testID={testID}>
|
|
63
|
-
<Text style={[styles.title, titleStyle]} numberOfLines={1} ellipsizeMode="tail" >{title}</Text>
|
|
64
|
-
<View style={styles.closeWrapper}>
|
|
65
|
-
{
|
|
66
|
-
showClear && <Button style={[styles.clear, clearStyle]} onPress={onClear} type={'clear'}>
|
|
67
|
-
{
|
|
68
|
-
clearText || 'Clear'
|
|
69
|
-
}
|
|
70
|
-
</Button>
|
|
71
|
-
}
|
|
72
|
-
{
|
|
73
|
-
(showClose && icon) && (<TouchableOpacity style={[styles.close, closeStyle]} onPress={onClose}>
|
|
74
|
-
{
|
|
75
|
-
typeof icon === 'string' ? <Icon name={icon as string} size={20} /> : icon
|
|
76
|
-
}
|
|
77
|
-
</TouchableOpacity>)
|
|
78
|
-
}
|
|
79
|
-
</View>
|
|
80
|
-
</View>
|
|
81
|
-
)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export default withTheme(SheetTitle)
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
2
|
-
import { View, Animated } from "react-native";
|
|
3
|
-
import { withTheme } from "@rneui/themed";
|
|
4
|
-
import {
|
|
5
|
-
ShellDrawerProps,
|
|
6
|
-
ShellPorps,
|
|
7
|
-
ShellViewProps,
|
|
8
|
-
defaultDrawerWidth,
|
|
9
|
-
} from "./types";
|
|
10
|
-
import { styles } from "./styles";
|
|
11
|
-
|
|
12
|
-
const Shell: React.FC<ShellPorps> & {
|
|
13
|
-
Main: React.FC<ShellViewProps>;
|
|
14
|
-
Drawer: React.FC<ShellDrawerProps>;
|
|
15
|
-
} = ({
|
|
16
|
-
children,
|
|
17
|
-
border = true,
|
|
18
|
-
drawerWidth = defaultDrawerWidth,
|
|
19
|
-
style = {},
|
|
20
|
-
openDrawer = false,
|
|
21
|
-
testID,
|
|
22
|
-
...props
|
|
23
|
-
}: ShellPorps) => {
|
|
24
|
-
let mainContent = null;
|
|
25
|
-
let drawerContent = null;
|
|
26
|
-
|
|
27
|
-
const [open, setOpen] = useState<boolean>(openDrawer);
|
|
28
|
-
const animatedWidth = new Animated.Value(openDrawer ? drawerWidth : 0);
|
|
29
|
-
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
setOpen(openDrawer);
|
|
32
|
-
}, [openDrawer]);
|
|
33
|
-
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
Animated.spring(animatedWidth, {
|
|
36
|
-
toValue: open ? drawerWidth : 0,
|
|
37
|
-
tension: 300,
|
|
38
|
-
friction: 20,
|
|
39
|
-
useNativeDriver: false,
|
|
40
|
-
}).start();
|
|
41
|
-
}, [open, drawerWidth]);
|
|
42
|
-
|
|
43
|
-
React.Children.forEach(children, (child) => {
|
|
44
|
-
if (React.isValidElement(child)) {
|
|
45
|
-
if (child.type === Shell.Main) {
|
|
46
|
-
mainContent = child.props.children;
|
|
47
|
-
} else if (child.type === Shell.Drawer) {
|
|
48
|
-
drawerContent = child.props.children;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
return (
|
|
54
|
-
<View style={{...styles.container, ...style}} testID={testID} {...props}>
|
|
55
|
-
<ShellView
|
|
56
|
-
style={{ ...styles.mainContainer, borderTopWidth: border ? 1 : 0 }}
|
|
57
|
-
>
|
|
58
|
-
{mainContent}
|
|
59
|
-
</ShellView>
|
|
60
|
-
<Animated.View style={{ ...styles.drawerContainer, width: animatedWidth }}>
|
|
61
|
-
<ShellDrawer
|
|
62
|
-
style={{
|
|
63
|
-
borderTopWidth: border ? 1 : 0,
|
|
64
|
-
borderLeftWidth: border ? 1 : 0,
|
|
65
|
-
}}
|
|
66
|
-
>
|
|
67
|
-
{drawerContent}
|
|
68
|
-
</ShellDrawer>
|
|
69
|
-
</Animated.View>
|
|
70
|
-
</View>
|
|
71
|
-
);
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export const ShellView: React.FC<ShellViewProps> = ({
|
|
75
|
-
children,
|
|
76
|
-
style = {},
|
|
77
|
-
theme,
|
|
78
|
-
}) => {
|
|
79
|
-
return (
|
|
80
|
-
<View
|
|
81
|
-
style={{
|
|
82
|
-
...style,
|
|
83
|
-
borderTopColor: theme?.greyOutline ?? "rgba(0, 0, 0, 0.12)",
|
|
84
|
-
borderTopStyle: "solid",
|
|
85
|
-
}}
|
|
86
|
-
>
|
|
87
|
-
{children}
|
|
88
|
-
</View>
|
|
89
|
-
);
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export const ShellDrawer: React.FC<ShellDrawerProps> = ({
|
|
93
|
-
children,
|
|
94
|
-
style,
|
|
95
|
-
theme,
|
|
96
|
-
}) => {
|
|
97
|
-
return (
|
|
98
|
-
<View
|
|
99
|
-
style={{
|
|
100
|
-
...style,
|
|
101
|
-
...styles.drawerInnerCon,
|
|
102
|
-
borderTopColor: theme?.greyOutline ?? "rgba(0, 0, 0, 0.12)",
|
|
103
|
-
borderTopStyle: "solid",
|
|
104
|
-
borderLeftColor: theme?.greyOutline ?? "rgba(0, 0, 0, 0.12)",
|
|
105
|
-
borderLeftStyle: "solid",
|
|
106
|
-
}}
|
|
107
|
-
>
|
|
108
|
-
{children}
|
|
109
|
-
</View>
|
|
110
|
-
);
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
Shell.Main = withTheme(ShellView) as React.FC<ShellViewProps>;
|
|
114
|
-
Shell.Drawer = withTheme(ShellDrawer) as React.FC<ShellDrawerProps>;
|
|
115
|
-
|
|
116
|
-
export default Shell;
|