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