@beppla/tapas-ui 1.0.65 → 1.0.67
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/commonjs/Alert/Alert.js +109 -0
- package/commonjs/Alert/Alert.js.map +2 -0
- package/commonjs/AnimatedNavItem/AnimatedNavItem.js +246 -0
- package/commonjs/AnimatedNavItem/AnimatedNavItem.js.map +2 -0
- package/commonjs/BarChart/BarChart.js +280 -0
- package/commonjs/BarChart/BarChart.js.map +1 -0
- package/commonjs/BarChart/index.js +13 -0
- package/commonjs/BarChart/index.js.map +2 -0
- package/commonjs/Button/Button.js +150 -0
- package/commonjs/Button/Button.js.map +2 -0
- package/commonjs/Button/ButtonGroup.js +194 -0
- package/commonjs/Button/ButtonGroup.js.map +2 -0
- package/commonjs/Calendar/Calendar.base.js +343 -0
- package/commonjs/Calendar/Calendar.base.js.map +1 -0
- package/commonjs/Calendar/Calendar.js +150 -0
- package/commonjs/Calendar/Calendar.js.map +2 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js +477 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js.map +2 -0
- package/commonjs/Calendar/CustomRange.js +549 -0
- package/commonjs/Calendar/CustomRange.js.map +1 -0
- package/commonjs/Calendar/DaySelector.js +193 -0
- package/commonjs/Calendar/DaySelector.js.map +1 -0
- package/commonjs/Calendar/MonthSelector.js +197 -0
- package/commonjs/Calendar/MonthSelector.js.map +1 -0
- package/commonjs/Calendar/TimeSelector.js +491 -0
- package/commonjs/Calendar/TimeSelector.js.map +1 -0
- package/commonjs/Calendar/WeekDaySelector.js +197 -0
- package/commonjs/Calendar/WeekDaySelector.js.map +1 -0
- package/commonjs/Calendar/helper.js +166 -0
- package/commonjs/Calendar/helper.js.map +2 -0
- package/commonjs/Calendar/local.js.map +2 -0
- package/commonjs/Calendar/types.js +26 -0
- package/commonjs/Calendar/types.js.map +1 -0
- package/commonjs/Card/Card.js +302 -0
- package/commonjs/Card/Card.js.map +2 -0
- package/commonjs/CheckBox/CheckBox.js +183 -0
- package/commonjs/CheckBox/CheckBox.js.map +2 -0
- package/commonjs/CheckBox/CheckBoxItem.js +162 -0
- package/commonjs/CheckBox/CheckBoxItem.js.map +2 -0
- package/commonjs/CheckBox/GroupCheckBox.js +136 -0
- package/commonjs/CheckBox/GroupCheckBox.js.map +2 -0
- package/commonjs/CircularProgress/CircularProgress.js +63 -0
- package/commonjs/CircularProgress/CircularProgress.js.map +2 -0
- package/commonjs/Collapsible/Collapsible.js.map +2 -0
- package/commonjs/DashboardCard/DashboardCard.js +240 -0
- package/commonjs/DashboardCard/DashboardCard.js.map +2 -0
- package/commonjs/DataCell/DataCell.js +579 -0
- package/commonjs/DataCell/DataCell.js.map +1 -0
- package/commonjs/DataCell/index.js.map +2 -0
- package/commonjs/DataTable/DataTable.js +265 -0
- package/commonjs/DataTable/DataTable.js.map +1 -0
- package/commonjs/DataTable/index.js +14 -0
- package/commonjs/DataTable/index.js.map +1 -0
- package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js +356 -0
- package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js.map +1 -0
- package/commonjs/DraggableFlatList/DraggableFlatList.js +20 -0
- package/commonjs/DraggableFlatList/DraggableFlatList.js.map +1 -0
- package/commonjs/Drawer/Drawer.js +214 -0
- package/commonjs/Drawer/Drawer.js.map +2 -0
- package/commonjs/Dropdown/CustomDropdown.js +270 -0
- package/commonjs/Dropdown/CustomDropdown.js.map +1 -0
- package/commonjs/Dropdown/Dropdown.js +755 -0
- package/commonjs/Dropdown/Dropdown.js.map +2 -0
- package/commonjs/Dropdown/InputDropdown.js +218 -0
- package/commonjs/Dropdown/InputDropdown.js.map +2 -0
- package/commonjs/ExternalLink/ExternalLink.js +205 -0
- package/commonjs/ExternalLink/ExternalLink.js.map +1 -0
- package/commonjs/Gantt/Accessories.js +269 -0
- package/commonjs/Gantt/Accessories.js.map +1 -0
- package/commonjs/Gantt/Gantt.js +236 -0
- package/commonjs/Gantt/Gantt.js.map +1 -0
- package/commonjs/Gantt/GanttInnerElementType.js +166 -0
- package/commonjs/Gantt/GanttInnerElementType.js.map +2 -0
- package/commonjs/Gantt/helper.js +403 -0
- package/commonjs/Gantt/helper.js.map +2 -0
- package/commonjs/Gantt/types.js +16 -0
- package/commonjs/Gantt/types.js.map +1 -0
- package/commonjs/Grid/FixedSizeGrid.js +191 -0
- package/commonjs/Grid/FixedSizeGrid.js.map +1 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js +434 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js.map +2 -0
- package/commonjs/Grid/VariableSizeGrid.js +307 -0
- package/commonjs/Grid/VariableSizeGrid.js.map +2 -0
- package/commonjs/Grid/helper.js +58 -0
- package/commonjs/Grid/helper.js.map +2 -0
- package/commonjs/Grid/timer.js +31 -0
- package/commonjs/Grid/timer.js.map +1 -0
- package/commonjs/Header/Header.js +250 -0
- package/commonjs/Header/Header.js.map +2 -0
- package/commonjs/HelloWave/HelloWave.js +95 -0
- package/commonjs/HelloWave/HelloWave.js.map +2 -0
- package/commonjs/Hoverable/Hoverable.js +113 -0
- package/commonjs/Hoverable/Hoverable.js.map +2 -0
- package/commonjs/IconText/IconText.js +136 -0
- package/commonjs/IconText/IconText.js.map +1 -0
- package/commonjs/Icons/TapasIcon.js +194 -0
- package/commonjs/Icons/TapasIcon.js.map +2 -0
- package/commonjs/Icons/TapasIconExpo.js +171 -0
- package/commonjs/Icons/TapasIconExpo.js.map +1 -0
- package/commonjs/Icons/expoFontLoader.js +355 -0
- package/commonjs/Icons/expoFontLoader.js.map +2 -0
- package/commonjs/Icons/fontLoader.js +410 -0
- package/commonjs/Icons/fontLoader.js.map +2 -0
- package/commonjs/Icons/index.js +72 -0
- package/commonjs/Icons/index.js.map +2 -0
- package/commonjs/Icons/smartFontLoader.js +545 -0
- package/commonjs/Icons/smartFontLoader.js.map +2 -0
- package/commonjs/Image/Image.js +194 -0
- package/commonjs/Image/Image.js.map +1 -0
- package/commonjs/Image/PreviewImg.js +173 -0
- package/commonjs/Image/PreviewImg.js.map +2 -0
- package/commonjs/Input/Input.js +145 -0
- package/commonjs/Input/Input.js.map +2 -0
- package/commonjs/Layout/Layout.js +140 -0
- package/commonjs/Layout/Layout.js.map +2 -0
- package/commonjs/Layout/ToastContext.js +87 -0
- package/commonjs/Layout/ToastContext.js.map +2 -0
- package/commonjs/Layout/index.js +51 -0
- package/commonjs/Layout/index.js.map +1 -0
- package/commonjs/LineChart/LineChart.js +271 -0
- package/commonjs/LineChart/LineChart.js.map +2 -0
- package/commonjs/LineChart/index.js +13 -0
- package/commonjs/LineChart/index.js.map +2 -0
- package/commonjs/ListItem/ListItem.js +269 -0
- package/commonjs/ListItem/ListItem.js.map +1 -0
- package/commonjs/Loading/Loading.js +126 -0
- package/commonjs/Loading/Loading.js.map +2 -0
- package/commonjs/MessageBox/MessageBox.js +244 -0
- package/commonjs/MessageBox/MessageBox.js.map +2 -0
- package/commonjs/MultiSelector/MultiSelector.js +578 -0
- package/commonjs/MultiSelector/MultiSelector.js.map +1 -0
- package/commonjs/Navigation/Navigation.js +201 -0
- package/commonjs/Navigation/Navigation.js.map +2 -0
- package/commonjs/Notification/Notification.js +268 -0
- package/commonjs/Notification/Notification.js.map +2 -0
- package/commonjs/Notification/index.js +17 -0
- package/commonjs/Notification/index.js.map +2 -0
- package/commonjs/NumericInput/NumericInput.js +178 -0
- package/commonjs/NumericInput/NumericInput.js.map +2 -0
- package/commonjs/Overlay/Overlay.js +54 -0
- package/commonjs/Overlay/Overlay.js.map +2 -0
- package/commonjs/Pagination/Pagination.js +299 -0
- package/commonjs/Pagination/Pagination.js.map +2 -0
- package/commonjs/PieChart/PieChart.js +165 -0
- package/commonjs/PieChart/PieChart.js.map +2 -0
- package/commonjs/PieChart/index.js +13 -0
- package/commonjs/PieChart/index.js.map +2 -0
- package/commonjs/Popover/Popover.js +182 -0
- package/commonjs/Popover/Popover.js.map +1 -0
- package/commonjs/Quantity/Quantity.js +217 -0
- package/commonjs/Quantity/Quantity.js.map +2 -0
- package/commonjs/RadioButton/RadioButton.js +153 -0
- package/commonjs/RadioButton/RadioButton.js.map +1 -0
- package/commonjs/ReasonModal/ReasonModal.js +252 -0
- package/commonjs/ReasonModal/ReasonModal.js.map +2 -0
- package/commonjs/ScanButton/ScanButton.js +150 -0
- package/commonjs/ScanButton/ScanButton.js.map +1 -0
- package/commonjs/SearchInput/SearchInput.js +186 -0
- package/commonjs/SearchInput/SearchInput.js.map +2 -0
- package/commonjs/SearchInput/index.js +17 -0
- package/commonjs/SearchInput/index.js.map +2 -0
- package/commonjs/SheetTitle/SheetTitle.js +95 -0
- package/commonjs/SheetTitle/SheetTitle.js.map +2 -0
- package/commonjs/Shell/Shell.js +151 -0
- package/commonjs/Shell/Shell.js.map +2 -0
- package/commonjs/Shell/styles.js.map +2 -0
- package/commonjs/Shell/types.js.map +2 -0
- package/commonjs/StatisticCard/StatisticCard.js +121 -0
- package/commonjs/StatisticCard/StatisticCard.js.map +1 -0
- package/commonjs/StatisticCard/index.js +14 -0
- package/commonjs/StatisticCard/index.js.map +2 -0
- package/commonjs/Status/Status.js +135 -0
- package/commonjs/Status/Status.js.map +1 -0
- package/commonjs/TabTitle/TabTitle.js +92 -0
- package/commonjs/TabTitle/TabTitle.js.map +1 -0
- package/commonjs/TabTitle/index.js +33 -0
- package/commonjs/TabTitle/index.js.map +2 -0
- package/commonjs/TableColumnHeader/TableColumnHeader.js +257 -0
- package/commonjs/TableColumnHeader/TableColumnHeader.js.map +2 -0
- package/commonjs/Tag/Tag.js +140 -0
- package/commonjs/Tag/Tag.js.map +2 -0
- package/commonjs/Task/Task.js +254 -0
- package/commonjs/Task/Task.js.map +1 -0
- package/commonjs/Task/type.js +14 -0
- package/commonjs/Task/type.js.map +2 -0
- package/commonjs/Text/Text.js +164 -0
- package/commonjs/Text/Text.js.map +2 -0
- package/commonjs/Theme/ThemeProvider.js +29 -0
- package/commonjs/Theme/ThemeProvider.js.map +1 -0
- package/commonjs/Timeline/Timeline.js +244 -0
- package/commonjs/Timeline/Timeline.js.map +2 -0
- package/commonjs/Toast/Toast.js +197 -0
- package/commonjs/Toast/Toast.js.map +1 -0
- package/commonjs/UserSwitcher/UserSwitcher.js +293 -0
- package/commonjs/UserSwitcher/UserSwitcher.js.map +1 -0
- package/commonjs/common.js +15 -0
- package/commonjs/common.js.map +2 -0
- package/commonjs/index.js +782 -0
- package/commonjs/index.js.map +1 -0
- package/module/Alert/Alert.js +150 -0
- package/module/Alert/Alert.js.map +2 -0
- package/module/AnimatedNavItem/AnimatedNavItem.js +275 -0
- package/module/AnimatedNavItem/AnimatedNavItem.js.map +2 -0
- package/module/AnimatedNavItem/index.js +32 -0
- package/module/AnimatedNavItem/index.js.map +1 -0
- package/module/BarChart/BarChart.js +280 -0
- package/module/BarChart/BarChart.js.map +1 -0
- package/module/BarChart/index.js +12 -0
- package/module/BarChart/index.js.map +1 -0
- package/module/Button/Button.js +141 -0
- package/module/Button/Button.js.map +2 -0
- package/module/Button/ButtonGroup.js +214 -0
- package/module/Button/ButtonGroup.js.map +1 -0
- package/module/Calendar/Calendar.base.js +343 -0
- package/module/Calendar/Calendar.base.js.map +1 -0
- package/module/Calendar/Calendar.js +166 -0
- package/module/Calendar/Calendar.js.map +2 -0
- package/module/Calendar/ConcreteTimeSelector.js +477 -0
- package/module/Calendar/ConcreteTimeSelector.js.map +2 -0
- package/module/Calendar/CustomRange.js +648 -0
- package/module/Calendar/CustomRange.js.map +1 -0
- package/module/Calendar/DaySelector.js +216 -0
- package/module/Calendar/DaySelector.js.map +2 -0
- package/module/Calendar/MonthSelector.js +221 -0
- package/module/Calendar/MonthSelector.js.map +2 -0
- package/module/Calendar/TimeSelector.js +583 -0
- package/module/Calendar/TimeSelector.js.map +2 -0
- package/module/Calendar/WeekDaySelector.js +221 -0
- package/module/Calendar/WeekDaySelector.js.map +2 -0
- package/module/Calendar/helper.js +166 -0
- package/module/Calendar/helper.js.map +2 -0
- package/module/Calendar/local.js +78 -0
- package/module/Calendar/local.js.map +1 -0
- package/module/Calendar/types.js +26 -0
- package/module/Calendar/types.js.map +1 -0
- package/module/Card/Card.js +344 -0
- package/module/Card/Card.js.map +2 -0
- package/module/CheckBox/CheckBox.js +212 -0
- package/module/CheckBox/CheckBox.js.map +2 -0
- package/module/CheckBox/CheckBoxItem.js +198 -0
- package/module/CheckBox/CheckBoxItem.js.map +2 -0
- package/module/CheckBox/GroupCheckBox.js +149 -0
- package/module/CheckBox/GroupCheckBox.js.map +1 -0
- package/module/CircularProgress/CircularProgress.js +67 -0
- package/module/CircularProgress/CircularProgress.js.map +2 -0
- package/module/DashboardCard/DashboardCard.js +260 -0
- package/module/DashboardCard/DashboardCard.js.map +1 -0
- package/module/DataCell/DataCell.js +579 -0
- package/module/DataCell/DataCell.js.map +2 -0
- package/module/DataCell/index.js +31 -0
- package/module/DataCell/index.js.map +2 -0
- package/module/DataTable/DataTable.js +282 -0
- package/module/DataTable/DataTable.js.map +2 -0
- package/module/DataTable/index.js +12 -0
- package/module/DataTable/index.js.map +2 -0
- package/module/DeviceSelectionModal/DeviceSelectionModal.js +419 -0
- package/module/DeviceSelectionModal/DeviceSelectionModal.js.map +2 -0
- package/module/Drawer/Drawer.js +195 -0
- package/module/Drawer/Drawer.js.map +1 -0
- package/module/Dropdown/Dropdown.js +723 -0
- package/module/Dropdown/Dropdown.js.map +1 -0
- package/module/Dropdown/InputDropdown.js +245 -0
- package/module/Dropdown/InputDropdown.js.map +2 -0
- package/module/ExternalLink/ExternalLink.js +200 -0
- package/module/ExternalLink/ExternalLink.js.map +2 -0
- package/module/Gantt/Gantt.js +236 -0
- package/module/Gantt/Gantt.js.map +2 -0
- package/module/Gantt/GanttInnerElementType.js +175 -0
- package/module/Gantt/GanttInnerElementType.js.map +2 -0
- package/module/Gantt/helper.js +377 -0
- package/module/Gantt/helper.js.map +1 -0
- package/module/Gantt/types.js +12 -0
- package/module/Gantt/types.js.map +1 -0
- package/module/Grid/FixedSizeGrid.js +191 -0
- package/module/Grid/FixedSizeGrid.js.map +2 -0
- package/module/Grid/Grid.base.js +612 -0
- package/module/Grid/Grid.base.js.map +2 -0
- package/module/Grid/StaticFixedSizeGrid.js +497 -0
- package/module/Grid/StaticFixedSizeGrid.js.map +2 -0
- package/module/Grid/VariableSizeGrid.js +300 -0
- package/module/Grid/VariableSizeGrid.js.map +1 -0
- package/module/Grid/helper.js +58 -0
- package/module/Grid/helper.js.map +2 -0
- package/module/Grid/timer.js +29 -0
- package/module/Grid/timer.js.map +1 -0
- package/module/Header/Header.js +277 -0
- package/module/Header/Header.js.map +2 -0
- package/module/HelloWave/HelloWave.js +98 -0
- package/module/HelloWave/HelloWave.js.map +2 -0
- package/module/Hoverable/Hoverable.js +130 -0
- package/module/Hoverable/Hoverable.js.map +2 -0
- package/module/IconText/IconText.js +161 -0
- package/module/IconText/IconText.js.map +2 -0
- package/module/Icons/TapasIcon.js +193 -0
- package/module/Icons/TapasIcon.js.map +2 -0
- package/module/Icons/TapasIconExpo.js +171 -0
- package/module/Icons/TapasIconExpo.js.map +2 -0
- package/module/Icons/expoFontLoader.js +354 -0
- package/module/Icons/expoFontLoader.js.map +2 -0
- package/module/Icons/fontLoader.js +410 -0
- package/module/Icons/fontLoader.js.map +1 -0
- package/module/Icons/index.js +67 -0
- package/module/Icons/index.js.map +1 -0
- package/module/Icons/smartFontLoader.js +501 -0
- package/module/Icons/smartFontLoader.js.map +2 -0
- package/module/Image/Image.js +217 -0
- package/module/Image/Image.js.map +2 -0
- package/module/Image/PreviewImg.js +176 -0
- package/module/Image/PreviewImg.js.map +1 -0
- package/module/Input/Input.js +176 -0
- package/module/Input/Input.js.map +1 -0
- package/module/Layout/DrawerContext.js +100 -0
- package/module/Layout/DrawerContext.js.map +2 -0
- package/module/Layout/Layout.js +170 -0
- package/module/Layout/Layout.js.map +2 -0
- package/module/Layout/ToastContext.js +87 -0
- package/module/Layout/ToastContext.js.map +2 -0
- package/module/Layout/index.js +48 -0
- package/module/Layout/index.js.map +2 -0
- package/module/LineChart/LineChart.js +271 -0
- package/module/LineChart/LineChart.js.map +2 -0
- package/module/LineChart/index.js +12 -0
- package/module/LineChart/index.js.map +2 -0
- package/module/ListItem/ListItem.js +269 -0
- package/module/ListItem/ListItem.js.map +1 -0
- package/module/Loading/Loading.js +136 -0
- package/module/MessageBox/MessageBox.js +243 -0
- package/module/MessageBox/MessageBox.js.map +1 -0
- package/module/MultiSelector/MultiSelector.js +669 -0
- package/module/MultiSelector/MultiSelector.js.map +2 -0
- package/module/MultiSelector/index.js +18 -0
- package/module/MultiSelector/index.js.map +2 -0
- package/module/Navigation/Navigation.js +284 -0
- package/module/Navigation/Navigation.js.map +1 -0
- package/module/Notification/Notification.js +289 -0
- package/module/Notification/Notification.js.map +1 -0
- package/module/Notification/index.js +18 -0
- package/module/Notification/index.js.map +2 -0
- package/module/NumericInput/NumericInput.js +200 -0
- package/module/NumericInput/NumericInput.js.map +2 -0
- package/module/Overlay/Overlay.js +56 -0
- package/module/Pagination/Pagination.js +318 -0
- package/module/Pagination/Pagination.js.map +1 -0
- package/module/PieChart/PieChart.js +165 -0
- package/module/PieChart/PieChart.js.map +1 -0
- package/module/PieChart/index.js +12 -0
- package/module/PieChart/index.js.map +2 -0
- package/module/Popover/Popover.js +212 -0
- package/module/Popover/Popover.js.map +2 -0
- package/module/Progress/Progress.js +204 -0
- package/module/Progress/Progress.js.map +2 -0
- package/module/Quantity/Quantity.js +239 -0
- package/module/Quantity/Quantity.js.map +2 -0
- package/module/RadioButton/RadioButton.js +179 -0
- package/module/RadioButton/RadioButton.js.map +2 -0
- package/module/ReasonModal/ReasonModal.js +280 -0
- package/module/ReasonModal/ReasonModal.js.map +2 -0
- package/module/ReasonModal/index.js +30 -0
- package/module/ReasonModal/index.js.map +2 -0
- package/module/ScanButton/ScanButton.js +174 -0
- package/module/SearchInput/SearchInput.js +196 -0
- package/module/SearchInput/SearchInput.js.map +2 -0
- package/module/SearchInput/index.js +18 -0
- package/module/SearchInput/index.js.map +2 -0
- package/module/SheetTitle/SheetTitle.js +97 -0
- package/module/SheetTitle/SheetTitle.js.map +2 -0
- package/module/Shell/Shell.js +172 -0
- package/module/Shell/Shell.js.map +2 -0
- package/module/Shell/styles.js +35 -0
- package/module/Shell/styles.js.map +2 -0
- package/module/Shell/types.js +8 -0
- package/module/Shell/types.js.map +2 -0
- package/module/StatisticCard/StatisticCard.js +121 -0
- package/module/StatisticCard/StatisticCard.js.map +1 -0
- package/module/StatisticCard/index.js +10 -0
- package/module/StatisticCard/index.js.map +2 -0
- package/module/Status/Status.js +145 -0
- package/module/Status/Status.js.map +2 -0
- package/module/Steps/Steps.js +153 -0
- package/module/Steps/Steps.js.map +2 -0
- package/module/TabTitle/TabTitle.js +92 -0
- package/module/TabTitle/TabTitle.js.map +2 -0
- package/module/TabTitle/index.js +31 -0
- package/module/TabTitle/index.js.map +2 -0
- package/module/TableColumnHeader/TableColumnHeader.js +257 -0
- package/module/TableColumnHeader/TableColumnHeader.js.map +1 -0
- package/module/TableColumnHeader/index.js +32 -0
- package/module/TableColumnHeader/index.js.map +2 -0
- package/module/Tag/Tag.js +153 -0
- package/module/Tag/Tag.js.map +1 -0
- package/module/Task/Task.js.map +2 -0
- package/module/Task/type.js +14 -0
- package/module/Task/type.js.map +1 -0
- package/module/Text/Text.js +204 -0
- package/module/Text/Text.js.map +1 -0
- package/module/TextArea/TextArea.js +326 -0
- package/module/TextArea/TextArea.js.map +2 -0
- package/module/Theme/ThemeProvider.js +33 -0
- package/module/Theme/ThemeProvider.js.map +1 -0
- package/module/Theme/defaultTheme.js +231 -0
- package/module/Theme/defaultTheme.js.map +2 -0
- package/module/Timeline/Timeline.js +266 -0
- package/module/Timeline/Timeline.js.map +2 -0
- package/module/Toast/Toast.js +208 -0
- package/module/Toast/Toast.js.map +2 -0
- package/module/UserSwitcher/UserSwitcher.js +293 -0
- package/module/UserSwitcher/UserSwitcher.js.map +1 -0
- package/module/UserSwitcher/index.js +32 -0
- package/module/UserSwitcher/index.js.map +1 -0
- package/module/common.js +13 -0
- package/module/common.js.map +2 -0
- package/module/index.js +728 -0
- package/module/index.js.map +2 -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/Navigation/Navigation.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/typescript/index.d.ts +105 -0
- package/typescript/index.d.ts.map +1 -0
- 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/Alert/Alert.js +0 -82
- package/package/commonjs/Alert/Alert.js.map +0 -1
- package/package/commonjs/AnimatedNavItem/AnimatedNavItem.js +0 -175
- package/package/commonjs/AnimatedNavItem/AnimatedNavItem.js.map +0 -1
- package/package/commonjs/Button/Button.js +0 -83
- package/package/commonjs/Button/Button.js.map +0 -1
- package/package/commonjs/Button/ButtonGroup.js +0 -143
- package/package/commonjs/Button/ButtonGroup.js.map +0 -1
- package/package/commonjs/Calendar/Calendar.base.js +0 -280
- package/package/commonjs/Calendar/Calendar.base.js.map +0 -1
- package/package/commonjs/Calendar/Calendar.js +0 -95
- package/package/commonjs/Calendar/Calendar.js.map +0 -1
- package/package/commonjs/Calendar/ConcreteTimeSelector.js +0 -401
- package/package/commonjs/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/commonjs/Calendar/CustomRange.js +0 -475
- package/package/commonjs/Calendar/CustomRange.js.map +0 -1
- package/package/commonjs/Calendar/DaySelector.js +0 -132
- package/package/commonjs/Calendar/DaySelector.js.map +0 -1
- package/package/commonjs/Calendar/MonthSelector.js +0 -135
- package/package/commonjs/Calendar/MonthSelector.js.map +0 -1
- package/package/commonjs/Calendar/TimeSelector.js +0 -418
- package/package/commonjs/Calendar/TimeSelector.js.map +0 -1
- package/package/commonjs/Calendar/WeekDaySelector.js +0 -135
- package/package/commonjs/Calendar/WeekDaySelector.js.map +0 -1
- package/package/commonjs/Calendar/helper.js +0 -135
- package/package/commonjs/Calendar/helper.js.map +0 -1
- package/package/commonjs/Calendar/local.js.map +0 -1
- package/package/commonjs/Calendar/types.js +0 -26
- package/package/commonjs/Calendar/types.js.map +0 -1
- package/package/commonjs/Card/Card.js +0 -220
- package/package/commonjs/Card/Card.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBox.js +0 -156
- package/package/commonjs/CheckBox/CheckBox.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBoxItem.js +0 -133
- package/package/commonjs/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/commonjs/CheckBox/GroupCheckBox.js +0 -90
- package/package/commonjs/CheckBox/GroupCheckBox.js.map +0 -1
- package/package/commonjs/CircularProgress/CircularProgress.js +0 -52
- package/package/commonjs/CircularProgress/CircularProgress.js.map +0 -1
- package/package/commonjs/Collapsible/Collapsible.js.map +0 -1
- package/package/commonjs/DashboardCard/DashboardCard.js +0 -206
- package/package/commonjs/DashboardCard/DashboardCard.js.map +0 -1
- package/package/commonjs/DataCell/DataCell.js +0 -525
- package/package/commonjs/DataCell/DataCell.js.map +0 -1
- package/package/commonjs/DataCell/index.js.map +0 -1
- package/package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js +0 -303
- package/package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -1
- package/package/commonjs/DraggableFlatList/DraggableFlatList.js +0 -18
- package/package/commonjs/DraggableFlatList/DraggableFlatList.js.map +0 -1
- package/package/commonjs/Drawer/Drawer.js +0 -178
- package/package/commonjs/Drawer/Drawer.js.map +0 -1
- package/package/commonjs/Dropdown/CustomDropdown.js +0 -227
- package/package/commonjs/Dropdown/CustomDropdown.js.map +0 -1
- package/package/commonjs/Dropdown/Dropdown.js +0 -645
- package/package/commonjs/Dropdown/Dropdown.js.map +0 -1
- package/package/commonjs/Dropdown/InputDropdown.js +0 -166
- package/package/commonjs/Dropdown/InputDropdown.js.map +0 -1
- package/package/commonjs/ExternalLink/ExternalLink.js +0 -57
- package/package/commonjs/ExternalLink/ExternalLink.js.map +0 -1
- package/package/commonjs/Gantt/Accessories.js +0 -254
- package/package/commonjs/Gantt/Accessories.js.map +0 -1
- package/package/commonjs/Gantt/Gantt.js +0 -164
- package/package/commonjs/Gantt/Gantt.js.map +0 -1
- package/package/commonjs/Gantt/GanttInnerElementType.js +0 -112
- package/package/commonjs/Gantt/GanttInnerElementType.js.map +0 -1
- package/package/commonjs/Gantt/helper.js +0 -383
- package/package/commonjs/Gantt/helper.js.map +0 -1
- package/package/commonjs/Gantt/types.js +0 -16
- package/package/commonjs/Gantt/types.js.map +0 -1
- package/package/commonjs/Grid/FixedSizeGrid.js +0 -176
- package/package/commonjs/Grid/FixedSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/StaticFixedSizeGrid.js +0 -373
- package/package/commonjs/Grid/StaticFixedSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/VariableSizeGrid.js +0 -285
- package/package/commonjs/Grid/VariableSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/helper.js +0 -59
- package/package/commonjs/Grid/helper.js.map +0 -1
- package/package/commonjs/Grid/timer.js +0 -27
- package/package/commonjs/Grid/timer.js.map +0 -1
- package/package/commonjs/Header/Header.js +0 -196
- package/package/commonjs/Header/Header.js.map +0 -1
- package/package/commonjs/HelloWave/HelloWave.js +0 -64
- package/package/commonjs/HelloWave/HelloWave.js.map +0 -1
- package/package/commonjs/Hoverable/Hoverable.js +0 -93
- package/package/commonjs/Hoverable/Hoverable.js.map +0 -1
- package/package/commonjs/IconText/IconText.js +0 -112
- package/package/commonjs/IconText/IconText.js.map +0 -1
- package/package/commonjs/Icons/TapasIcon.js +0 -138
- package/package/commonjs/Icons/TapasIcon.js.map +0 -1
- package/package/commonjs/Icons/TapasIconExpo.js +0 -112
- package/package/commonjs/Icons/TapasIconExpo.js.map +0 -1
- package/package/commonjs/Icons/expoFontLoader.js +0 -206
- package/package/commonjs/Icons/expoFontLoader.js.map +0 -1
- package/package/commonjs/Icons/fontLoader.js +0 -239
- package/package/commonjs/Icons/fontLoader.js.map +0 -1
- package/package/commonjs/Icons/index.js +0 -60
- package/package/commonjs/Icons/index.js.map +0 -1
- package/package/commonjs/Icons/smartFontLoader.js +0 -313
- package/package/commonjs/Icons/smartFontLoader.js.map +0 -1
- package/package/commonjs/Image/Image.js +0 -133
- package/package/commonjs/Image/Image.js.map +0 -1
- package/package/commonjs/Image/PreviewImg.js +0 -120
- package/package/commonjs/Image/PreviewImg.js.map +0 -1
- package/package/commonjs/Input/Input.js +0 -107
- package/package/commonjs/Input/Input.js.map +0 -1
- package/package/commonjs/Layout/Layout.js +0 -112
- package/package/commonjs/Layout/Layout.js.map +0 -1
- package/package/commonjs/Layout/ToastContext.js +0 -38
- package/package/commonjs/Layout/ToastContext.js.map +0 -1
- package/package/commonjs/Layout/index.js +0 -47
- package/package/commonjs/Layout/index.js.map +0 -1
- package/package/commonjs/ListItem/ListItem.js +0 -202
- package/package/commonjs/ListItem/ListItem.js.map +0 -1
- package/package/commonjs/Loading/Loading.js +0 -96
- package/package/commonjs/Loading/Loading.js.map +0 -1
- package/package/commonjs/MessageBox/MessageBox.js +0 -193
- package/package/commonjs/MessageBox/MessageBox.js.map +0 -1
- package/package/commonjs/MultiSelector/MultiSelector.js +0 -487
- package/package/commonjs/MultiSelector/MultiSelector.js.map +0 -1
- package/package/commonjs/Navigation/Navigation.js +0 -200
- package/package/commonjs/Navigation/Navigation.js.map +0 -1
- package/package/commonjs/Notification/Notification.js +0 -220
- package/package/commonjs/Notification/Notification.js.map +0 -1
- package/package/commonjs/Notification/index.js +0 -14
- package/package/commonjs/Notification/index.js.map +0 -1
- package/package/commonjs/NumericInput/NumericInput.js +0 -155
- package/package/commonjs/NumericInput/NumericInput.js.map +0 -1
- package/package/commonjs/Overlay/Overlay.js +0 -34
- package/package/commonjs/Overlay/Overlay.js.map +0 -1
- package/package/commonjs/Pagination/Pagination.js +0 -260
- package/package/commonjs/Pagination/Pagination.js.map +0 -1
- package/package/commonjs/Popover/Popover.js +0 -161
- package/package/commonjs/Popover/Popover.js.map +0 -1
- package/package/commonjs/Quantity/Quantity.js +0 -147
- package/package/commonjs/Quantity/Quantity.js.map +0 -1
- package/package/commonjs/RadioButton/RadioButton.js +0 -105
- package/package/commonjs/RadioButton/RadioButton.js.map +0 -1
- package/package/commonjs/ReasonModal/ReasonModal.js +0 -182
- package/package/commonjs/ReasonModal/ReasonModal.js.map +0 -1
- package/package/commonjs/ScanButton/ScanButton.js +0 -136
- package/package/commonjs/ScanButton/ScanButton.js.map +0 -1
- package/package/commonjs/SearchInput/SearchInput.js +0 -109
- package/package/commonjs/SearchInput/SearchInput.js.map +0 -1
- package/package/commonjs/SearchInput/index.js +0 -14
- package/package/commonjs/SearchInput/index.js.map +0 -1
- package/package/commonjs/SheetTitle/SheetTitle.js +0 -89
- package/package/commonjs/SheetTitle/SheetTitle.js.map +0 -1
- package/package/commonjs/Shell/Shell.js +0 -105
- package/package/commonjs/Shell/Shell.js.map +0 -1
- package/package/commonjs/Shell/styles.js.map +0 -1
- package/package/commonjs/Shell/types.js.map +0 -1
- package/package/commonjs/Status/Status.js +0 -122
- package/package/commonjs/Status/Status.js.map +0 -1
- package/package/commonjs/TabTitle/TabTitle.js +0 -64
- package/package/commonjs/TabTitle/TabTitle.js.map +0 -1
- package/package/commonjs/TabTitle/index.js +0 -27
- package/package/commonjs/TabTitle/index.js.map +0 -1
- package/package/commonjs/TableColumnHeader/TableColumnHeader.js +0 -192
- package/package/commonjs/TableColumnHeader/TableColumnHeader.js.map +0 -1
- package/package/commonjs/Tag/Tag.js +0 -99
- package/package/commonjs/Tag/Tag.js.map +0 -1
- package/package/commonjs/Task/Task.js +0 -247
- package/package/commonjs/Task/Task.js.map +0 -1
- package/package/commonjs/Task/type.js +0 -14
- package/package/commonjs/Task/type.js.map +0 -1
- package/package/commonjs/Text/Text.js +0 -138
- package/package/commonjs/Text/Text.js.map +0 -1
- package/package/commonjs/Theme/ThemeProvider.js +0 -28
- package/package/commonjs/Theme/ThemeProvider.js.map +0 -1
- package/package/commonjs/Timeline/Timeline.js +0 -221
- package/package/commonjs/Timeline/Timeline.js.map +0 -1
- package/package/commonjs/Toast/Toast.js +0 -144
- package/package/commonjs/Toast/Toast.js.map +0 -1
- package/package/commonjs/UserSwitcher/UserSwitcher.js +0 -219
- package/package/commonjs/UserSwitcher/UserSwitcher.js.map +0 -1
- package/package/commonjs/common.js +0 -14
- package/package/commonjs/common.js.map +0 -1
- package/package/commonjs/index.js +0 -830
- package/package/commonjs/index.js.map +0 -1
- package/package/init.js +0 -179
- package/package/module/Alert/Alert.js +0 -73
- package/package/module/Alert/Alert.js.map +0 -1
- package/package/module/AnimatedNavItem/AnimatedNavItem.js +0 -168
- package/package/module/AnimatedNavItem/AnimatedNavItem.js.map +0 -1
- package/package/module/AnimatedNavItem/README.md +0 -520
- package/package/module/AnimatedNavItem/index.js +0 -3
- package/package/module/AnimatedNavItem/index.js.map +0 -1
- package/package/module/Button/Button.js +0 -73
- package/package/module/Button/Button.js.map +0 -1
- package/package/module/Button/ButtonGroup.js +0 -134
- package/package/module/Button/ButtonGroup.js.map +0 -1
- package/package/module/Calendar/Calendar.base.js +0 -272
- package/package/module/Calendar/Calendar.base.js.map +0 -1
- package/package/module/Calendar/Calendar.js +0 -86
- package/package/module/Calendar/Calendar.js.map +0 -1
- package/package/module/Calendar/ConcreteTimeSelector.js +0 -392
- package/package/module/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/module/Calendar/CustomRange.js +0 -466
- package/package/module/Calendar/CustomRange.js.map +0 -1
- package/package/module/Calendar/DaySelector.js +0 -123
- package/package/module/Calendar/DaySelector.js.map +0 -1
- package/package/module/Calendar/MonthSelector.js +0 -126
- package/package/module/Calendar/MonthSelector.js.map +0 -1
- package/package/module/Calendar/TimeSelector.js +0 -409
- package/package/module/Calendar/TimeSelector.js.map +0 -1
- package/package/module/Calendar/WeekDaySelector.js +0 -126
- package/package/module/Calendar/WeekDaySelector.js.map +0 -1
- package/package/module/Calendar/helper.js +0 -121
- package/package/module/Calendar/helper.js.map +0 -1
- package/package/module/Calendar/local.js +0 -72
- package/package/module/Calendar/local.js.map +0 -1
- package/package/module/Calendar/types.js +0 -20
- package/package/module/Calendar/types.js.map +0 -1
- package/package/module/Card/Card.js +0 -211
- package/package/module/Card/Card.js.map +0 -1
- package/package/module/CheckBox/CheckBox.js +0 -147
- package/package/module/CheckBox/CheckBox.js.map +0 -1
- package/package/module/CheckBox/CheckBoxItem.js +0 -124
- package/package/module/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/module/CheckBox/GroupCheckBox.js +0 -81
- package/package/module/CheckBox/GroupCheckBox.js.map +0 -1
- package/package/module/CircularProgress/CircularProgress.js +0 -45
- package/package/module/CircularProgress/CircularProgress.js.map +0 -1
- package/package/module/DashboardCard/DashboardCard.js +0 -197
- package/package/module/DashboardCard/DashboardCard.js.map +0 -1
- package/package/module/DataCell/DataCell.js +0 -517
- package/package/module/DataCell/DataCell.js.map +0 -1
- package/package/module/DataCell/README.md +0 -1042
- package/package/module/DataCell/index.js +0 -3
- package/package/module/DataCell/index.js.map +0 -1
- package/package/module/DeviceSelectionModal/DeviceSelectionModal.js +0 -295
- package/package/module/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -1
- package/package/module/Drawer/Drawer.js +0 -171
- package/package/module/Drawer/Drawer.js.map +0 -1
- package/package/module/Dropdown/Dropdown.js +0 -626
- package/package/module/Dropdown/Dropdown.js.map +0 -1
- package/package/module/Dropdown/InputDropdown.js +0 -146
- package/package/module/Dropdown/InputDropdown.js.map +0 -1
- package/package/module/ExternalLink/ExternalLink.js +0 -50
- package/package/module/ExternalLink/ExternalLink.js.map +0 -1
- package/package/module/Gantt/Gantt.js +0 -156
- package/package/module/Gantt/Gantt.js.map +0 -1
- package/package/module/Gantt/GanttInnerElementType.js +0 -103
- package/package/module/Gantt/GanttInnerElementType.js.map +0 -1
- package/package/module/Gantt/helper.js +0 -365
- package/package/module/Gantt/helper.js.map +0 -1
- package/package/module/Gantt/types.js +0 -10
- package/package/module/Gantt/types.js.map +0 -1
- package/package/module/Grid/FixedSizeGrid.js +0 -169
- package/package/module/Grid/FixedSizeGrid.js.map +0 -1
- package/package/module/Grid/Grid.base.js +0 -527
- package/package/module/Grid/Grid.base.js.map +0 -1
- package/package/module/Grid/StaticFixedSizeGrid.js +0 -364
- package/package/module/Grid/StaticFixedSizeGrid.js.map +0 -1
- package/package/module/Grid/VariableSizeGrid.js +0 -278
- package/package/module/Grid/VariableSizeGrid.js.map +0 -1
- package/package/module/Grid/helper.js +0 -52
- package/package/module/Grid/helper.js.map +0 -1
- package/package/module/Grid/timer.js +0 -20
- package/package/module/Grid/timer.js.map +0 -1
- package/package/module/Header/Header.js +0 -188
- package/package/module/Header/Header.js.map +0 -1
- package/package/module/HelloWave/HelloWave.js +0 -57
- package/package/module/HelloWave/HelloWave.js.map +0 -1
- package/package/module/Hoverable/Hoverable.js +0 -85
- package/package/module/Hoverable/Hoverable.js.map +0 -1
- package/package/module/IconText/IconText.js +0 -105
- package/package/module/IconText/IconText.js.map +0 -1
- package/package/module/Icons/README.md +0 -182
- package/package/module/Icons/TapasIcon.js +0 -131
- package/package/module/Icons/TapasIcon.js.map +0 -1
- package/package/module/Icons/TapasIconExpo.js +0 -103
- package/package/module/Icons/TapasIconExpo.js.map +0 -1
- package/package/module/Icons/expoFontLoader.js +0 -199
- package/package/module/Icons/expoFontLoader.js.map +0 -1
- package/package/module/Icons/fontLoader.js +0 -232
- package/package/module/Icons/fontLoader.js.map +0 -1
- package/package/module/Icons/icon-categories.json +0 -340
- package/package/module/Icons/index.js +0 -10
- package/package/module/Icons/index.js.map +0 -1
- package/package/module/Icons/real-icon-mapping.json +0 -2578
- package/package/module/Icons/selection.json +0 -1
- package/package/module/Icons/smartFontLoader.js +0 -306
- package/package/module/Icons/smartFontLoader.js.map +0 -1
- package/package/module/Image/Image.js +0 -124
- package/package/module/Image/Image.js.map +0 -1
- package/package/module/Image/PreviewImg.js +0 -111
- package/package/module/Image/PreviewImg.js.map +0 -1
- package/package/module/Input/Input.js +0 -98
- package/package/module/Input/Input.js.map +0 -1
- package/package/module/Layout/DrawerContext.js +0 -31
- package/package/module/Layout/DrawerContext.js.map +0 -1
- package/package/module/Layout/Layout.js +0 -104
- package/package/module/Layout/Layout.js.map +0 -1
- package/package/module/Layout/ToastContext.js +0 -29
- package/package/module/Layout/ToastContext.js.map +0 -1
- package/package/module/Layout/index.js +0 -15
- package/package/module/Layout/index.js.map +0 -1
- package/package/module/ListItem/ListItem.js +0 -193
- package/package/module/ListItem/ListItem.js.map +0 -1
- package/package/module/Loading/Loading.js +0 -88
- package/package/module/Loading/README.md +0 -160
- package/package/module/MessageBox/MessageBox.js +0 -184
- package/package/module/MessageBox/MessageBox.js.map +0 -1
- package/package/module/MultiSelector/MultiSelector.js +0 -478
- package/package/module/MultiSelector/MultiSelector.js.map +0 -1
- package/package/module/MultiSelector/README.md +0 -246
- package/package/module/MultiSelector/index.js +0 -2
- package/package/module/MultiSelector/index.js.map +0 -1
- package/package/module/Navigation/Navigation.js +0 -191
- package/package/module/Navigation/Navigation.js.map +0 -1
- package/package/module/Notification/Notification.js +0 -212
- package/package/module/Notification/Notification.js.map +0 -1
- package/package/module/Notification/README.md +0 -158
- package/package/module/Notification/index.js +0 -2
- package/package/module/Notification/index.js.map +0 -1
- package/package/module/NumericInput/NumericInput.js +0 -146
- package/package/module/NumericInput/NumericInput.js.map +0 -1
- package/package/module/Overlay/Overlay.js +0 -27
- package/package/module/Pagination/Pagination.js +0 -251
- package/package/module/Pagination/Pagination.js.map +0 -1
- package/package/module/Popover/Popover.js +0 -154
- package/package/module/Popover/Popover.js.map +0 -1
- package/package/module/Progress/Progress.js +0 -188
- package/package/module/Progress/Progress.js.map +0 -1
- package/package/module/Quantity/Quantity.js +0 -138
- package/package/module/Quantity/Quantity.js.map +0 -1
- package/package/module/Quantity/README.md +0 -251
- package/package/module/RadioButton/RadioButton.js +0 -97
- package/package/module/RadioButton/RadioButton.js.map +0 -1
- package/package/module/ReasonModal/README.md +0 -320
- package/package/module/ReasonModal/ReasonModal.js +0 -175
- package/package/module/ReasonModal/ReasonModal.js.map +0 -1
- package/package/module/ReasonModal/index.js +0 -3
- package/package/module/ReasonModal/index.js.map +0 -1
- package/package/module/ScanButton/ScanButton.js +0 -129
- package/package/module/SearchInput/README.md +0 -167
- package/package/module/SearchInput/SearchInput.js +0 -102
- package/package/module/SearchInput/SearchInput.js.map +0 -1
- package/package/module/SearchInput/index.js +0 -2
- package/package/module/SearchInput/index.js.map +0 -1
- package/package/module/SheetTitle/SheetTitle.js +0 -82
- package/package/module/SheetTitle/SheetTitle.js.map +0 -1
- package/package/module/Shell/Shell.js +0 -95
- package/package/module/Shell/Shell.js.map +0 -1
- package/package/module/Shell/styles.js +0 -29
- package/package/module/Shell/styles.js.map +0 -1
- package/package/module/Shell/types.js +0 -2
- package/package/module/Shell/types.js.map +0 -1
- package/package/module/Status/Status.js +0 -114
- package/package/module/Status/Status.js.map +0 -1
- package/package/module/Steps/Steps.js +0 -137
- package/package/module/Steps/Steps.js.map +0 -1
- package/package/module/TabTitle/README.md +0 -399
- package/package/module/TabTitle/TabTitle.js +0 -59
- package/package/module/TabTitle/TabTitle.js.map +0 -1
- package/package/module/TabTitle/index.js +0 -3
- package/package/module/TabTitle/index.js.map +0 -1
- package/package/module/TableColumnHeader/README.md +0 -682
- package/package/module/TableColumnHeader/TableColumnHeader.js +0 -185
- package/package/module/TableColumnHeader/TableColumnHeader.js.map +0 -1
- package/package/module/TableColumnHeader/index.js +0 -3
- package/package/module/TableColumnHeader/index.js.map +0 -1
- package/package/module/Tag/Tag.js +0 -90
- package/package/module/Tag/Tag.js.map +0 -1
- package/package/module/Task/Task.js.map +0 -1
- package/package/module/Task/type.js +0 -8
- package/package/module/Task/type.js.map +0 -1
- package/package/module/Text/Text.js +0 -129
- package/package/module/Text/Text.js.map +0 -1
- package/package/module/TextArea/TextArea.js +0 -207
- package/package/module/TextArea/TextArea.js.map +0 -1
- package/package/module/Theme/ThemeProvider.js +0 -21
- package/package/module/Theme/ThemeProvider.js.map +0 -1
- package/package/module/Theme/defaultTheme.js +0 -211
- package/package/module/Theme/defaultTheme.js.map +0 -1
- package/package/module/Timeline/Timeline.js +0 -212
- package/package/module/Timeline/Timeline.js.map +0 -1
- package/package/module/Toast/Toast.js +0 -134
- package/package/module/Toast/Toast.js.map +0 -1
- package/package/module/UserSwitcher/README.md +0 -334
- package/package/module/UserSwitcher/UserSwitcher.js +0 -212
- package/package/module/UserSwitcher/UserSwitcher.js.map +0 -1
- package/package/module/UserSwitcher/index.js +0 -3
- package/package/module/UserSwitcher/index.js.map +0 -1
- package/package/module/common.js +0 -7
- package/package/module/common.js.map +0 -1
- package/package/module/index.js +0 -119
- package/package/module/index.js.map +0 -1
- package/package/package.json +0 -84
- package/package/typescript/Navigation/Navigation.d.ts.map +0 -1
- package/package/typescript/index.d.ts +0 -95
- package/package/typescript/index.d.ts.map +0 -1
- /package/{package/CHANGELOG.md → CHANGELOG.md} +0 -0
- /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/{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/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/local.js +0 -0
- /package/{package/commonjs → commonjs}/Collapsible/Collapsible.js +0 -0
- /package/{components → commonjs}/DataCell/README.md +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js.map +0 -0
- /package/{components → commonjs}/Icons/README.md +0 -0
- /package/{components → commonjs}/Icons/icon-categories.json +0 -0
- /package/{components → commonjs}/Icons/real-icon-mapping.json +0 -0
- /package/{components → commonjs}/Icons/selection.json +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js.map +0 -0
- /package/{components → commonjs}/Loading/README.md +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/{components → commonjs}/Notification/README.md +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.js +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.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/{components → commonjs}/ReasonModal/README.md +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js.map +0 -0
- /package/{components → commonjs}/SearchInput/README.md +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/types.js +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/{components → commonjs}/TableColumnHeader/README.md +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}/TextArea/TextArea.js +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.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/{components → commonjs}/UserSwitcher/README.md +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js.map +0 -0
- /package/{package/commonjs → module}/AnimatedNavItem/README.md +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}/Collapsible/Collapsible.js +0 -0
- /package/{package/module → module}/Collapsible/Collapsible.js.map +0 -0
- /package/{package/commonjs → module}/DataCell/README.md +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}/Dropdown/CustomDropdown.js +0 -0
- /package/{package/module → module}/Dropdown/CustomDropdown.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/commonjs → module}/Icons/README.md +0 -0
- /package/{package/commonjs → module}/Icons/icon-categories.json +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}/Loading/Loading.js.map +0 -0
- /package/{package/commonjs → module}/Loading/README.md +0 -0
- /package/{package/commonjs → module}/MultiSelector/README.md +0 -0
- /package/{package/commonjs → module}/Notification/README.md +0 -0
- /package/{package/module → module}/Overlay/Overlay.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/commonjs → module}/ReasonModal/README.md +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js.map +0 -0
- /package/{package/commonjs → module}/SearchInput/README.md +0 -0
- /package/{package/commonjs → module}/TabTitle/README.md +0 -0
- /package/{package/commonjs → module}/TableColumnHeader/README.md +0 -0
- /package/{package/module → module}/Task/Task.js +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/commonjs → module}/UserSwitcher/README.md +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}/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
|
@@ -0,0 +1,755 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
TapasDropdownModal: true
|
|
8
|
+
};
|
|
9
|
+
exports.default = exports.TapasDropdownModal = void 0;
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _reactNative = require("react-native");
|
|
12
|
+
var _CustomDropdown = _interopRequireWildcard(require("./CustomDropdown"));
|
|
13
|
+
Object.keys(_CustomDropdown).forEach(function (key) {
|
|
14
|
+
if (key === "default" || key === "__esModule") return;
|
|
15
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
16
|
+
if (key in exports && exports[key] === _CustomDropdown[key]) return;
|
|
17
|
+
Object.defineProperty(exports, key, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return _CustomDropdown[key];
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
var _ListItem = _interopRequireDefault(require("../ListItem/ListItem"));
|
|
25
|
+
var _themed = require("@rneui/themed");
|
|
26
|
+
var _TapasIcon = _interopRequireDefault(require("../Icons/TapasIcon"));
|
|
27
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
29
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
30
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
31
|
+
// 新增接口定义
|
|
32
|
+
|
|
33
|
+
//@ts-ignore
|
|
34
|
+
|
|
35
|
+
const useStyles = (0, _themed.makeStyles)(theme => ({
|
|
36
|
+
searchBarContainer: {
|
|
37
|
+
backgroundColor: theme.colors.white,
|
|
38
|
+
height: 50,
|
|
39
|
+
padding: 0
|
|
40
|
+
},
|
|
41
|
+
inputContainer: {
|
|
42
|
+
backgroundColor: theme.colors.white,
|
|
43
|
+
height: 48,
|
|
44
|
+
borderTopWidth: 0,
|
|
45
|
+
padding: 0
|
|
46
|
+
},
|
|
47
|
+
inputStyle: {
|
|
48
|
+
height: 24,
|
|
49
|
+
fontFamily: theme.fonts.fontFamily,
|
|
50
|
+
fontSize: theme.fonts.sizeM,
|
|
51
|
+
fontWeight: theme.fonts.weightR,
|
|
52
|
+
color: theme.colors.colorTextPrimary,
|
|
53
|
+
marginLeft: 0
|
|
54
|
+
},
|
|
55
|
+
leftIconContainer: {
|
|
56
|
+
height: 24,
|
|
57
|
+
marginLeft: 16
|
|
58
|
+
},
|
|
59
|
+
iconStyle: {
|
|
60
|
+
color: theme.colors.secondary
|
|
61
|
+
},
|
|
62
|
+
// Modal 模式样式
|
|
63
|
+
modalContainer: {
|
|
64
|
+
display: "flex",
|
|
65
|
+
flexGrow: 0,
|
|
66
|
+
flexShrink: 0,
|
|
67
|
+
flexBasis: "auto",
|
|
68
|
+
flexDirection: "column",
|
|
69
|
+
justifyContent: "flex-start",
|
|
70
|
+
// 改为顶部对齐,与 CustomDropdown 保持一致
|
|
71
|
+
alignItems: "stretch",
|
|
72
|
+
// 改为拉伸对齐,与 CustomDropdown 保持一致
|
|
73
|
+
width: "100%"
|
|
74
|
+
},
|
|
75
|
+
modalIcon: {
|
|
76
|
+
color: theme.colors.primary
|
|
77
|
+
},
|
|
78
|
+
modalOptionsCon: {
|
|
79
|
+
position: "absolute",
|
|
80
|
+
display: "flex",
|
|
81
|
+
flexDirection: "column",
|
|
82
|
+
overflow: "hidden",
|
|
83
|
+
backgroundColor: theme.colors.white,
|
|
84
|
+
paddingTop: 12,
|
|
85
|
+
paddingBottom: 12,
|
|
86
|
+
borderRadius: 12,
|
|
87
|
+
maxHeight: 224,
|
|
88
|
+
shadowColor: "#000",
|
|
89
|
+
shadowOffset: {
|
|
90
|
+
width: 0,
|
|
91
|
+
height: 4
|
|
92
|
+
},
|
|
93
|
+
shadowOpacity: 0.15,
|
|
94
|
+
shadowRadius: 12,
|
|
95
|
+
elevation: 8
|
|
96
|
+
},
|
|
97
|
+
modalOptionsScrollView: {
|
|
98
|
+
flex: 1,
|
|
99
|
+
display: "flex"
|
|
100
|
+
},
|
|
101
|
+
modalOptionsInner: {
|
|
102
|
+
display: "flex",
|
|
103
|
+
flexDirection: "column",
|
|
104
|
+
justifyContent: "flex-start",
|
|
105
|
+
gap: 8
|
|
106
|
+
},
|
|
107
|
+
modalOption: {
|
|
108
|
+
display: "flex",
|
|
109
|
+
flexDirection: "row",
|
|
110
|
+
width: "100%",
|
|
111
|
+
overflow: "hidden",
|
|
112
|
+
justifyContent: "space-between",
|
|
113
|
+
minHeight: 40,
|
|
114
|
+
alignItems: "center"
|
|
115
|
+
},
|
|
116
|
+
modalOptionText: {
|
|
117
|
+
marginLeft: 16,
|
|
118
|
+
marginRight: 16,
|
|
119
|
+
fontSize: 14,
|
|
120
|
+
fontWeight: "400",
|
|
121
|
+
color: theme.colors.primary,
|
|
122
|
+
alignSelf: "center",
|
|
123
|
+
overflow: "hidden",
|
|
124
|
+
flex: 1
|
|
125
|
+
},
|
|
126
|
+
modalNoOptions: {
|
|
127
|
+
width: "100%",
|
|
128
|
+
textAlign: "center",
|
|
129
|
+
color: theme.colors.grey2,
|
|
130
|
+
marginLeft: 16,
|
|
131
|
+
marginRight: 16
|
|
132
|
+
},
|
|
133
|
+
modalBtn: {
|
|
134
|
+
display: "flex",
|
|
135
|
+
flexDirection: "row",
|
|
136
|
+
justifyContent: "space-between",
|
|
137
|
+
alignItems: "center",
|
|
138
|
+
// 确保垂直居中对齐
|
|
139
|
+
minHeight: 40,
|
|
140
|
+
width: "100%",
|
|
141
|
+
overflow: "hidden",
|
|
142
|
+
position: "relative"
|
|
143
|
+
},
|
|
144
|
+
modalSolidBtn: {
|
|
145
|
+
borderWidth: 1,
|
|
146
|
+
borderRadius: 12,
|
|
147
|
+
borderStyle: "solid",
|
|
148
|
+
borderColor: theme.colors.grey2,
|
|
149
|
+
paddingLeft: 16,
|
|
150
|
+
paddingRight: 12,
|
|
151
|
+
paddingTop: 9,
|
|
152
|
+
paddingBottom: 9,
|
|
153
|
+
alignItems: "center" // 确保垂直居中对齐
|
|
154
|
+
},
|
|
155
|
+
alignCenter: {
|
|
156
|
+
alignSelf: "center"
|
|
157
|
+
},
|
|
158
|
+
labelCon: {
|
|
159
|
+
position: "absolute",
|
|
160
|
+
left: 16,
|
|
161
|
+
paddingLeft: 1,
|
|
162
|
+
paddingRight: 1,
|
|
163
|
+
display: "flex",
|
|
164
|
+
flexDirection: "row",
|
|
165
|
+
zIndex: 30
|
|
166
|
+
},
|
|
167
|
+
labelInner: {
|
|
168
|
+
display: "flex",
|
|
169
|
+
flexDirection: "row"
|
|
170
|
+
},
|
|
171
|
+
labelText: {
|
|
172
|
+
fontSize: 12,
|
|
173
|
+
color: theme.colors.primary
|
|
174
|
+
},
|
|
175
|
+
required: {
|
|
176
|
+
fontSize: 12,
|
|
177
|
+
fontWeight: "400",
|
|
178
|
+
color: theme.colors.error || "#FF4444",
|
|
179
|
+
marginLeft: 1
|
|
180
|
+
},
|
|
181
|
+
msg: {
|
|
182
|
+
display: "flex",
|
|
183
|
+
flexDirection: "row",
|
|
184
|
+
paddingLeft: 16,
|
|
185
|
+
paddingRight: 8,
|
|
186
|
+
marginTop: 1,
|
|
187
|
+
width: "100%",
|
|
188
|
+
height: 15
|
|
189
|
+
},
|
|
190
|
+
msgText: {
|
|
191
|
+
fontSize: 12,
|
|
192
|
+
fontWeight: "400",
|
|
193
|
+
color: theme.colors.secondary
|
|
194
|
+
},
|
|
195
|
+
extendBtnCon: {
|
|
196
|
+
display: "flex",
|
|
197
|
+
flexDirection: "row",
|
|
198
|
+
justifyContent: "center",
|
|
199
|
+
height: 40,
|
|
200
|
+
overflow: "hidden",
|
|
201
|
+
backgroundColor: theme.colors.white,
|
|
202
|
+
borderRadius: 20,
|
|
203
|
+
gap: 8,
|
|
204
|
+
alignItems: "center",
|
|
205
|
+
shadowColor: "#000",
|
|
206
|
+
shadowOffset: {
|
|
207
|
+
width: 0,
|
|
208
|
+
height: 4
|
|
209
|
+
},
|
|
210
|
+
shadowOpacity: 0.15,
|
|
211
|
+
shadowRadius: 12,
|
|
212
|
+
elevation: 8
|
|
213
|
+
},
|
|
214
|
+
extendBtnText: {
|
|
215
|
+
fontSize: 14,
|
|
216
|
+
fontWeight: "400",
|
|
217
|
+
color: theme.colors.primary
|
|
218
|
+
}
|
|
219
|
+
}));
|
|
220
|
+
const Dropdown = ({
|
|
221
|
+
value,
|
|
222
|
+
prefix = '',
|
|
223
|
+
options,
|
|
224
|
+
onChange,
|
|
225
|
+
width,
|
|
226
|
+
subWidth,
|
|
227
|
+
subHeight = 150,
|
|
228
|
+
isVisible,
|
|
229
|
+
onSearchChange,
|
|
230
|
+
type = 'option',
|
|
231
|
+
// 新增 Modal 模式相关属性
|
|
232
|
+
useModal = false,
|
|
233
|
+
dropdownItems = [],
|
|
234
|
+
selected,
|
|
235
|
+
showSelectedValue = false,
|
|
236
|
+
dropdownType = "clear",
|
|
237
|
+
arrowIcon: _arrowIcon = false,
|
|
238
|
+
onSelect,
|
|
239
|
+
backgroundColor,
|
|
240
|
+
labelColor,
|
|
241
|
+
state = "normal",
|
|
242
|
+
stateMsg,
|
|
243
|
+
showCheckedStatusInList = false,
|
|
244
|
+
showStateMsg = false,
|
|
245
|
+
offsetWidth = 0,
|
|
246
|
+
extendBtn,
|
|
247
|
+
extendBtnIcon,
|
|
248
|
+
emptyText,
|
|
249
|
+
onExtendBtnPress,
|
|
250
|
+
noLabelAnim = false,
|
|
251
|
+
radius = 12,
|
|
252
|
+
modalVisible,
|
|
253
|
+
customPopoverContent,
|
|
254
|
+
setModalVisible,
|
|
255
|
+
iconStyle,
|
|
256
|
+
label,
|
|
257
|
+
required,
|
|
258
|
+
testID,
|
|
259
|
+
...props
|
|
260
|
+
}) => {
|
|
261
|
+
const styles = useStyles(props);
|
|
262
|
+
const theme = (0, _themed.useTheme)();
|
|
263
|
+
const [selected_old, selectedItem] = _react.default.useState(value);
|
|
264
|
+
const searchRef = _react.default.useRef(null);
|
|
265
|
+
const [search, setSearch] = (0, _react.useState)('');
|
|
266
|
+
|
|
267
|
+
// Modal 模式相关状态
|
|
268
|
+
const [internalModalVisible, setInternalModalVisible] = (0, _react.useState)(false);
|
|
269
|
+
const [dropdownPosition, setDropdownPosition] = (0, _react.useState)({
|
|
270
|
+
top: 0,
|
|
271
|
+
left: 0
|
|
272
|
+
});
|
|
273
|
+
const [dropdownWidthCalc, setDropdownWidthCalc] = (0, _react.useState)(subWidth ?? 151);
|
|
274
|
+
const [selectedItemKey, setSelectedItemKey] = (0, _react.useState)(selected ?? "");
|
|
275
|
+
const [top, setTop] = (0, _react.useState)(18);
|
|
276
|
+
const [optionListHeight, setOptionListHeight] = (0, _react.useState)(0);
|
|
277
|
+
const buttonRef = (0, _react.useRef)(null);
|
|
278
|
+
const topAnim = (0, _react.useRef)(new _reactNative.Animated.Value(18)).current;
|
|
279
|
+
const offsetSpace = 8;
|
|
280
|
+
const offsetHeight = 10;
|
|
281
|
+
(0, _react.useEffect)(() => {
|
|
282
|
+
selectedItem(value);
|
|
283
|
+
}, [value]);
|
|
284
|
+
|
|
285
|
+
// Modal 模式相关 useEffect
|
|
286
|
+
(0, _react.useEffect)(() => {
|
|
287
|
+
setSelectedItemKey(selected ?? "");
|
|
288
|
+
}, [selected]);
|
|
289
|
+
(0, _react.useEffect)(() => {
|
|
290
|
+
if (typeof modalVisible === "boolean" && modalVisible !== undefined) {
|
|
291
|
+
setInternalModalVisible(modalVisible);
|
|
292
|
+
}
|
|
293
|
+
}, [modalVisible]);
|
|
294
|
+
|
|
295
|
+
// 标签动画效果
|
|
296
|
+
(0, _react.useEffect)(() => {
|
|
297
|
+
if (!useModal || noLabelAnim) return;
|
|
298
|
+
const start = !selectedItemKey ? 0 : 18;
|
|
299
|
+
const target = !selectedItemKey ? 18 : 0;
|
|
300
|
+
if (top === target) return;
|
|
301
|
+
setTop(target);
|
|
302
|
+
topAnim.setValue(start);
|
|
303
|
+
_reactNative.Animated.timing(topAnim, {
|
|
304
|
+
toValue: target,
|
|
305
|
+
duration: 300,
|
|
306
|
+
useNativeDriver: true
|
|
307
|
+
}).start();
|
|
308
|
+
}, [selectedItemKey, useModal, noLabelAnim]);
|
|
309
|
+
const handleStopEvent = event => {
|
|
310
|
+
event.stopPropagation();
|
|
311
|
+
};
|
|
312
|
+
const updateSearch = search => {
|
|
313
|
+
setSearch(search);
|
|
314
|
+
onSearchChange && onSearchChange(search);
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
// Modal 模式下的弹出逻辑
|
|
318
|
+
const openDropdown = () => {
|
|
319
|
+
if (props.disabled) return;
|
|
320
|
+
if (buttonRef.current) {
|
|
321
|
+
buttonRef.current.measure((_fx, _fy, width, height, px, py) => {
|
|
322
|
+
const window = _reactNative.Dimensions.get("window");
|
|
323
|
+
const dropdownHeight = subHeight ?? Math.min(40 * dropdownItems.length + 24, 224);
|
|
324
|
+
const dropdownWidth = Math.max(width, subWidth ?? 151);
|
|
325
|
+
setDropdownWidthCalc(dropdownWidth);
|
|
326
|
+
|
|
327
|
+
// 计算显示位置
|
|
328
|
+
const enoughSpaceBelow = py + height + dropdownHeight + offsetHeight <= window.height;
|
|
329
|
+
const enoughSpaceAbove = py - dropdownHeight >= 0;
|
|
330
|
+
const enoughSpaceRight = px + dropdownWidth <= window.width;
|
|
331
|
+
const adjustedPx = px % window.width + (px > window.width ? 56 : 0) + offsetWidth;
|
|
332
|
+
const top = enoughSpaceBelow ? py + height + offsetSpace : enoughSpaceAbove ? py - dropdownHeight - offsetHeight - 16 : py + height + offsetSpace;
|
|
333
|
+
const left = enoughSpaceRight ? adjustedPx : adjustedPx + width - dropdownWidth;
|
|
334
|
+
setDropdownPosition({
|
|
335
|
+
top,
|
|
336
|
+
left
|
|
337
|
+
});
|
|
338
|
+
if (setModalVisible) {
|
|
339
|
+
setModalVisible(true);
|
|
340
|
+
} else {
|
|
341
|
+
setInternalModalVisible(true);
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
const closeModal = () => {
|
|
347
|
+
if (setModalVisible) {
|
|
348
|
+
setModalVisible(false);
|
|
349
|
+
} else {
|
|
350
|
+
setInternalModalVisible(false);
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
const handleConLayout = event => {
|
|
354
|
+
const {
|
|
355
|
+
height
|
|
356
|
+
} = event.nativeEvent.layout;
|
|
357
|
+
setOptionListHeight(height);
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
// 如果使用 Modal 模式,渲染新的 Modal 界面
|
|
361
|
+
if (useModal) {
|
|
362
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
363
|
+
style: [styles.modalContainer, width ? {
|
|
364
|
+
width: width
|
|
365
|
+
} : null, {
|
|
366
|
+
minHeight: 40 + (label ? 7 : 0) + (showStateMsg ? 15 : 0)
|
|
367
|
+
}]
|
|
368
|
+
}, label && !noLabelAnim && /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
369
|
+
style: [styles.labelCon, {
|
|
370
|
+
top: topAnim
|
|
371
|
+
}, {
|
|
372
|
+
backgroundColor: backgroundColor || theme.theme.colors.white
|
|
373
|
+
}]
|
|
374
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
375
|
+
style: styles.labelInner,
|
|
376
|
+
onPress: openDropdown
|
|
377
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
378
|
+
style: [styles.labelText, state === "error" && {
|
|
379
|
+
color: theme.theme.colors.error
|
|
380
|
+
}, !selectedItemKey && {
|
|
381
|
+
color: theme.theme.colors.grey2
|
|
382
|
+
}, props.disabled && {
|
|
383
|
+
color: theme.theme.colors.grey3
|
|
384
|
+
}],
|
|
385
|
+
numberOfLines: 1,
|
|
386
|
+
ellipsizeMode: "tail"
|
|
387
|
+
}, !selectedItemKey ? props.placeholder || label : label), required && /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
388
|
+
style: styles.required
|
|
389
|
+
}, "*"))), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
390
|
+
ref: buttonRef,
|
|
391
|
+
style: [showSelectedValue || noLabelAnim && label ? styles.modalBtn : null, dropdownType === "solid" ? styles.modalSolidBtn : null, dropdownType === "solid" && radius ? {
|
|
392
|
+
borderRadius: radius
|
|
393
|
+
} : null,
|
|
394
|
+
// 统一主体容器的位置,无论是否使用 customPopoverContent
|
|
395
|
+
label && !noLabelAnim ? {
|
|
396
|
+
marginTop: 7
|
|
397
|
+
} : null, noLabelAnim && label && backgroundColor ? {
|
|
398
|
+
backgroundColor
|
|
399
|
+
} : null, state === "error" ? {
|
|
400
|
+
borderColor: theme.theme.colors.error
|
|
401
|
+
} : null, props.disabled ? {
|
|
402
|
+
borderColor: theme.theme.colors.grey3
|
|
403
|
+
} : null,
|
|
404
|
+
// 确保主体容器始终有统一的垂直对齐
|
|
405
|
+
{
|
|
406
|
+
alignItems: "center"
|
|
407
|
+
}],
|
|
408
|
+
disabled: props.disabled,
|
|
409
|
+
onPress: openDropdown
|
|
410
|
+
}, showSelectedValue ? /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
411
|
+
style: [styles.alignCenter, {
|
|
412
|
+
flexGrow: 1,
|
|
413
|
+
marginRight: 12
|
|
414
|
+
}, props.disabled && {
|
|
415
|
+
color: theme.theme.colors.grey3
|
|
416
|
+
}],
|
|
417
|
+
numberOfLines: 1,
|
|
418
|
+
ellipsizeMode: "tail"
|
|
419
|
+
}, dropdownItems.find(item => item.key === selectedItemKey)?.value) : noLabelAnim && label ? /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
420
|
+
style: [styles.alignCenter, {
|
|
421
|
+
flexGrow: 1,
|
|
422
|
+
marginRight: 2
|
|
423
|
+
}, labelColor ? {
|
|
424
|
+
color: labelColor
|
|
425
|
+
} : null, props.disabled ? {
|
|
426
|
+
color: theme.theme.colors.grey3
|
|
427
|
+
} : null],
|
|
428
|
+
numberOfLines: 1,
|
|
429
|
+
ellipsizeMode: "tail"
|
|
430
|
+
}, label) : null, /*#__PURE__*/_react.default.createElement(_TapasIcon.default, {
|
|
431
|
+
size: 20,
|
|
432
|
+
style: [styles.alignCenter, styles.modalIcon, iconStyle, props.disabled && {
|
|
433
|
+
color: theme.theme.colors.grey3
|
|
434
|
+
}],
|
|
435
|
+
name: internalModalVisible && props.icon === "arrow_drop_down" ? "arrow_drop_up" : props.icon === "arrow_drop_up" ? "arrow_drop_down" : props.icon || "arrow_drop_down"
|
|
436
|
+
})), showStateMsg && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
437
|
+
style: styles.msg
|
|
438
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
439
|
+
style: [styles.msgText, state === "error" && {
|
|
440
|
+
color: theme.theme.colors.error
|
|
441
|
+
}],
|
|
442
|
+
numberOfLines: 1,
|
|
443
|
+
ellipsizeMode: "tail"
|
|
444
|
+
}, stateMsg)), /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
445
|
+
transparent: true,
|
|
446
|
+
visible: internalModalVisible,
|
|
447
|
+
onRequestClose: closeModal,
|
|
448
|
+
animationType: "fade"
|
|
449
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
450
|
+
style: {
|
|
451
|
+
flex: 1
|
|
452
|
+
},
|
|
453
|
+
onPress: closeModal
|
|
454
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
455
|
+
style: [styles.modalOptionsCon, {
|
|
456
|
+
top: dropdownPosition.top,
|
|
457
|
+
left: dropdownPosition.left,
|
|
458
|
+
width: dropdownWidthCalc
|
|
459
|
+
}, subHeight ? {
|
|
460
|
+
maxHeight: subHeight
|
|
461
|
+
} : null],
|
|
462
|
+
onLayout: handleConLayout
|
|
463
|
+
}, customPopoverContent ? customPopoverContent : /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
464
|
+
style: styles.modalOptionsScrollView,
|
|
465
|
+
showsHorizontalScrollIndicator: false,
|
|
466
|
+
showsVerticalScrollIndicator: false
|
|
467
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
468
|
+
style: styles.modalOptionsInner
|
|
469
|
+
}, dropdownItems.length > 0 ? dropdownItems.map((item, index) => /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
470
|
+
style: ({
|
|
471
|
+
pressed
|
|
472
|
+
}) => [styles.modalOption, item.secondaryValue ? {
|
|
473
|
+
flexWrap: "wrap"
|
|
474
|
+
} : null, {
|
|
475
|
+
padding: 10,
|
|
476
|
+
backgroundColor: pressed ? theme.theme.colors.grey4 || "#f0f0f0" : "transparent"
|
|
477
|
+
},
|
|
478
|
+
// 第一个 item 添加左上和右上圆角
|
|
479
|
+
index === 0 && {
|
|
480
|
+
borderTopLeftRadius: 12,
|
|
481
|
+
borderTopRightRadius: 12
|
|
482
|
+
},
|
|
483
|
+
// 最后一个 item 添加左下和右下圆角
|
|
484
|
+
index === dropdownItems.length - 1 && {
|
|
485
|
+
borderBottomLeftRadius: 12,
|
|
486
|
+
borderBottomRightRadius: 12
|
|
487
|
+
}, showCheckedStatusInList && selectedItemKey === item.key ? {
|
|
488
|
+
backgroundColor: theme.theme.colors.grey4 || "#f0f0f0"
|
|
489
|
+
} : null],
|
|
490
|
+
key: `dropdown-option-${item.key}-${index}`,
|
|
491
|
+
onPress: () => {
|
|
492
|
+
closeModal();
|
|
493
|
+
if (onSelect) {
|
|
494
|
+
onSelect(item);
|
|
495
|
+
} else {
|
|
496
|
+
setSelectedItemKey(item.key);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
500
|
+
style: {
|
|
501
|
+
display: "flex",
|
|
502
|
+
flexDirection: "row",
|
|
503
|
+
justifyContent: "space-between",
|
|
504
|
+
overflow: "hidden",
|
|
505
|
+
width: "100%"
|
|
506
|
+
}
|
|
507
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
508
|
+
style: [styles.modalOptionText],
|
|
509
|
+
numberOfLines: 1,
|
|
510
|
+
ellipsizeMode: "tail"
|
|
511
|
+
}, item.value), selectedItemKey === item.key && /*#__PURE__*/_react.default.createElement(_TapasIcon.default, {
|
|
512
|
+
name: "check",
|
|
513
|
+
size: 20,
|
|
514
|
+
color: theme.theme.colors.primary
|
|
515
|
+
})), item.secondaryValue && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
516
|
+
style: {
|
|
517
|
+
display: "flex",
|
|
518
|
+
flexDirection: "row",
|
|
519
|
+
flex: 1,
|
|
520
|
+
height: 14,
|
|
521
|
+
overflow: "hidden",
|
|
522
|
+
minWidth: dropdownWidthCalc - 32
|
|
523
|
+
}
|
|
524
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
525
|
+
style: [styles.modalOptionText, {
|
|
526
|
+
fontSize: 12,
|
|
527
|
+
color: theme.theme.colors.secondary
|
|
528
|
+
}],
|
|
529
|
+
numberOfLines: 1,
|
|
530
|
+
ellipsizeMode: "tail"
|
|
531
|
+
}, item.secondaryValue)))) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
532
|
+
numberOfLines: 1,
|
|
533
|
+
ellipsizeMode: "tail",
|
|
534
|
+
style: [styles.modalOptionText, styles.modalNoOptions]
|
|
535
|
+
}, emptyText || "No options")))), extendBtn && /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
536
|
+
onPress: () => {
|
|
537
|
+
closeModal();
|
|
538
|
+
setTimeout(() => {
|
|
539
|
+
onExtendBtnPress?.();
|
|
540
|
+
}, 300);
|
|
541
|
+
},
|
|
542
|
+
style: [styles.extendBtnCon, {
|
|
543
|
+
left: dropdownPosition.left,
|
|
544
|
+
top: dropdownPosition.top + optionListHeight + 8,
|
|
545
|
+
width: dropdownWidthCalc
|
|
546
|
+
}]
|
|
547
|
+
}, extendBtnIcon && /*#__PURE__*/_react.default.createElement(_TapasIcon.default, {
|
|
548
|
+
size: 20,
|
|
549
|
+
name: extendBtnIcon
|
|
550
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
551
|
+
style: styles.extendBtnText,
|
|
552
|
+
numberOfLines: 1,
|
|
553
|
+
ellipsizeMode: "tail"
|
|
554
|
+
}, extendBtn)))));
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
// 原有的 CustomDropdown 模式
|
|
558
|
+
return /*#__PURE__*/_react.default.createElement(_CustomDropdown.default, _extends({
|
|
559
|
+
title: props?.title,
|
|
560
|
+
value: `${prefix}${selected_old?.name}`,
|
|
561
|
+
isVisible: isVisible,
|
|
562
|
+
width: width,
|
|
563
|
+
subWidth: subWidth,
|
|
564
|
+
subHeight: subHeight,
|
|
565
|
+
testID: testID
|
|
566
|
+
}, props, {
|
|
567
|
+
onClose: () => {
|
|
568
|
+
props.onClose && props.onClose();
|
|
569
|
+
},
|
|
570
|
+
onPress: () => {
|
|
571
|
+
props.onPress && props.onPress();
|
|
572
|
+
},
|
|
573
|
+
sheetTitlePros: {
|
|
574
|
+
...props.sheetTitlePros,
|
|
575
|
+
onClose: () => {
|
|
576
|
+
props.onClose && props.onClose();
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
580
|
+
onPress: handleStopEvent
|
|
581
|
+
}, props.showSearchBar && /*#__PURE__*/_react.default.createElement(_themed.SearchBar, {
|
|
582
|
+
ref: search => searchRef.current = search,
|
|
583
|
+
containerStyle: {
|
|
584
|
+
...styles.searchBarContainer,
|
|
585
|
+
borderEndWidth: 1,
|
|
586
|
+
borderTopWidth: 0,
|
|
587
|
+
borderRightWidth: 0,
|
|
588
|
+
width: subWidth
|
|
589
|
+
},
|
|
590
|
+
inputContainerStyle: styles.inputContainer,
|
|
591
|
+
placeholder: props.placeholder,
|
|
592
|
+
onChangeText: updateSearch,
|
|
593
|
+
inputStyle: {
|
|
594
|
+
...styles.inputStyle
|
|
595
|
+
},
|
|
596
|
+
leftIconContainerStyle: styles.leftIconContainer,
|
|
597
|
+
value: search,
|
|
598
|
+
lightTheme: true,
|
|
599
|
+
searchIcon: /*#__PURE__*/_react.default.createElement(_TapasIcon.default, {
|
|
600
|
+
name: "search",
|
|
601
|
+
style: styles.iconStyle,
|
|
602
|
+
size: 20
|
|
603
|
+
}),
|
|
604
|
+
clearIcon: /*#__PURE__*/_react.default.createElement(_TapasIcon.default, {
|
|
605
|
+
name: "close",
|
|
606
|
+
onPress: () => {
|
|
607
|
+
const search = searchRef.current;
|
|
608
|
+
if (search) {
|
|
609
|
+
search.clear();
|
|
610
|
+
search.blur();
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
size: 20
|
|
614
|
+
})
|
|
615
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
616
|
+
style: {
|
|
617
|
+
width: subWidth,
|
|
618
|
+
height: subHeight
|
|
619
|
+
}
|
|
620
|
+
}, options?.map((item, index) => {
|
|
621
|
+
const visibleItems = options.filter(item => !item.hide);
|
|
622
|
+
const currentVisibleIndex = visibleItems.findIndex(visibleItem => visibleItem === item);
|
|
623
|
+
const isFirst = currentVisibleIndex === 0;
|
|
624
|
+
const isLast = currentVisibleIndex === visibleItems.length - 1;
|
|
625
|
+
return !item.hide && /*#__PURE__*/_react.default.createElement(_ListItem.default, {
|
|
626
|
+
onItemPress: value => {
|
|
627
|
+
if (type === 'button') {
|
|
628
|
+
props.onItemPress && props.onItemPress(item.value);
|
|
629
|
+
} else {
|
|
630
|
+
selectedItem(value);
|
|
631
|
+
onChange && onChange(value);
|
|
632
|
+
}
|
|
633
|
+
props.onClose && props.onClose();
|
|
634
|
+
},
|
|
635
|
+
key: index,
|
|
636
|
+
item: item,
|
|
637
|
+
selected: selected_old,
|
|
638
|
+
isFirst: isFirst,
|
|
639
|
+
isLast: isLast
|
|
640
|
+
});
|
|
641
|
+
})));
|
|
642
|
+
};
|
|
643
|
+
var _default = exports.default = (0, _themed.withTheme)(Dropdown); // 向后兼容的别名导出
|
|
644
|
+
const TapasDropdownModal = exports.TapasDropdownModal = (0, _themed.withTheme)(Dropdown);
|
|
645
|
+
//# sourceMappingURL=Dropdown.js.map closeModal();
|
|
646
|
+
setTimeout(function () {
|
|
647
|
+
onExtendBtnPress === null || onExtendBtnPress === void 0 ? void 0 : onExtendBtnPress();
|
|
648
|
+
}, 300);
|
|
649
|
+
},
|
|
650
|
+
style: [styles.extendBtnCon, {
|
|
651
|
+
left: dropdownPosition.left,
|
|
652
|
+
top: dropdownPosition.top + optionListHeight + 8,
|
|
653
|
+
width: dropdownWidthCalc
|
|
654
|
+
}]
|
|
655
|
+
}, extendBtnIcon && react_1.default.createElement(TapasIcon_1.default, {
|
|
656
|
+
size: 20,
|
|
657
|
+
name: extendBtnIcon
|
|
658
|
+
}), react_1.default.createElement(react_native_1.Text, {
|
|
659
|
+
style: styles.extendBtnText,
|
|
660
|
+
numberOfLines: 1,
|
|
661
|
+
ellipsizeMode: "tail"
|
|
662
|
+
}, extendBtn)))));
|
|
663
|
+
}
|
|
664
|
+
// 原有的 CustomDropdown 模式
|
|
665
|
+
return react_1.default.createElement(CustomDropdown_1.default, __assign({
|
|
666
|
+
title: props === null || props === void 0 ? void 0 : props.title,
|
|
667
|
+
value: "".concat(prefix).concat(selected_old === null || selected_old === void 0 ? void 0 : selected_old.name),
|
|
668
|
+
isVisible: isVisible,
|
|
669
|
+
width: width,
|
|
670
|
+
subWidth: subWidth,
|
|
671
|
+
subHeight: subHeight,
|
|
672
|
+
testID: testID
|
|
673
|
+
}, props, {
|
|
674
|
+
onClose: function () {
|
|
675
|
+
props.onClose && props.onClose();
|
|
676
|
+
},
|
|
677
|
+
onPress: function () {
|
|
678
|
+
props.onPress && props.onPress();
|
|
679
|
+
},
|
|
680
|
+
sheetTitlePros: __assign(__assign({}, props.sheetTitlePros), {
|
|
681
|
+
onClose: function () {
|
|
682
|
+
props.onClose && props.onClose();
|
|
683
|
+
}
|
|
684
|
+
})
|
|
685
|
+
}), react_1.default.createElement(react_native_1.Pressable, {
|
|
686
|
+
onPress: handleStopEvent
|
|
687
|
+
}, props.showSearchBar && react_1.default.createElement(themed_1.SearchBar, {
|
|
688
|
+
ref: function (search) {
|
|
689
|
+
return searchRef.current = search;
|
|
690
|
+
},
|
|
691
|
+
containerStyle: __assign(__assign({}, styles.searchBarContainer), {
|
|
692
|
+
borderEndWidth: 1,
|
|
693
|
+
borderTopWidth: 0,
|
|
694
|
+
borderRightWidth: 0,
|
|
695
|
+
width: subWidth
|
|
696
|
+
}),
|
|
697
|
+
inputContainerStyle: styles.inputContainer,
|
|
698
|
+
placeholder: props.placeholder,
|
|
699
|
+
onChangeText: updateSearch,
|
|
700
|
+
inputStyle: __assign({}, styles.inputStyle),
|
|
701
|
+
leftIconContainerStyle: styles.leftIconContainer,
|
|
702
|
+
value: search,
|
|
703
|
+
lightTheme: true,
|
|
704
|
+
searchIcon: react_1.default.createElement(TapasIcon_1.default, {
|
|
705
|
+
name: "search",
|
|
706
|
+
style: styles.iconStyle,
|
|
707
|
+
size: 20
|
|
708
|
+
}),
|
|
709
|
+
clearIcon: react_1.default.createElement(TapasIcon_1.default, {
|
|
710
|
+
name: "close",
|
|
711
|
+
onPress: function () {
|
|
712
|
+
var search = searchRef.current;
|
|
713
|
+
if (search) {
|
|
714
|
+
search.clear();
|
|
715
|
+
search.blur();
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
size: 20
|
|
719
|
+
})
|
|
720
|
+
})), react_1.default.createElement(react_native_1.ScrollView, {
|
|
721
|
+
style: {
|
|
722
|
+
width: subWidth,
|
|
723
|
+
height: subHeight
|
|
724
|
+
}
|
|
725
|
+
}, options === null || options === void 0 ? void 0 : options.map(function (item, index) {
|
|
726
|
+
var visibleItems = options.filter(function (item) {
|
|
727
|
+
return !item.hide;
|
|
728
|
+
});
|
|
729
|
+
var currentVisibleIndex = visibleItems.findIndex(function (visibleItem) {
|
|
730
|
+
return visibleItem === item;
|
|
731
|
+
});
|
|
732
|
+
var isFirst = currentVisibleIndex === 0;
|
|
733
|
+
var isLast = currentVisibleIndex === visibleItems.length - 1;
|
|
734
|
+
return !item.hide && react_1.default.createElement(ListItem_1.default, {
|
|
735
|
+
onItemPress: function (value) {
|
|
736
|
+
if (type === 'button') {
|
|
737
|
+
props.onItemPress && props.onItemPress(item.value);
|
|
738
|
+
} else {
|
|
739
|
+
selectedItem(value);
|
|
740
|
+
onChange && onChange(value);
|
|
741
|
+
}
|
|
742
|
+
props.onClose && props.onClose();
|
|
743
|
+
},
|
|
744
|
+
key: index,
|
|
745
|
+
item: item,
|
|
746
|
+
selected: selected_old,
|
|
747
|
+
isFirst: isFirst,
|
|
748
|
+
isLast: isLast
|
|
749
|
+
});
|
|
750
|
+
})));
|
|
751
|
+
};
|
|
752
|
+
exports.default = (0, themed_1.withTheme)(Dropdown);
|
|
753
|
+
// 向后兼容的别名导出
|
|
754
|
+
exports.TapasDropdownModal = (0, themed_1.withTheme)(Dropdown);
|
|
755
|
+
//# sourceMappingURL=Dropdown.js.map
|