@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
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
# TapasMultiSelector
|
|
2
|
-
|
|
3
|
-
一个功能完整的多选下拉组件,支持搜索、验证、动画标签和丰富的自定义选项。
|
|
4
|
-
|
|
5
|
-
## 功能特性
|
|
6
|
-
|
|
7
|
-
- ✅ 多选支持:可以选择多个选项
|
|
8
|
-
- ✅ 搜索功能:内置搜索栏,支持过滤选项
|
|
9
|
-
- ✅ 动画标签:平滑的标签动画效果
|
|
10
|
-
- ✅ 状态管理:支持正常和错误状态
|
|
11
|
-
- ✅ 验证支持:必填字段验证和状态消息
|
|
12
|
-
- ✅ 动态定位:智能计算弹出位置和方向
|
|
13
|
-
- ✅ 自定义样式:支持多种样式类型和尺寸
|
|
14
|
-
- ✅ 操作按钮:清除和确认按钮
|
|
15
|
-
- ✅ 响应式设计:适配不同屏幕尺寸
|
|
16
|
-
- ✅ 无障碍支持:完整的可访问性支持
|
|
17
|
-
|
|
18
|
-
## 安装使用
|
|
19
|
-
|
|
20
|
-
```tsx
|
|
21
|
-
import { TapasMultiSelector } from '@beppla/tapas-ui';
|
|
22
|
-
|
|
23
|
-
// 基础用法
|
|
24
|
-
<TapasMultiSelector
|
|
25
|
-
label="选择水果"
|
|
26
|
-
dropdownItems={fruitOptions}
|
|
27
|
-
onSelect={(keys) => console.log('选中:', keys)}
|
|
28
|
-
/>
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Props
|
|
32
|
-
|
|
33
|
-
| 属性 | 类型 | 默认值 | 说明 |
|
|
34
|
-
|------|------|--------|------|
|
|
35
|
-
| `label` | `string` | - | 标签文本 |
|
|
36
|
-
| `title` | `string` | - | 弹出框标题 |
|
|
37
|
-
| `dropdownItems` | `TapasMultiSelectorItem[]` | `[]` | 选项列表 |
|
|
38
|
-
| `selected` | `number[]` | `[]` | 当前选中的选项键值数组 |
|
|
39
|
-
| `onSelect` | `(keys: number[]) => void` | - | 选择变化回调 |
|
|
40
|
-
| `placeholder` | `string` | - | 占位符文本 |
|
|
41
|
-
| `required` | `boolean` | `false` | 是否必填 |
|
|
42
|
-
| `disabled` | `boolean` | `false` | 是否禁用 |
|
|
43
|
-
| `state` | `"normal" \| "error"` | `"normal"` | 状态类型 |
|
|
44
|
-
| `stateMsg` | `string` | - | 状态消息 |
|
|
45
|
-
| `showStateMsg` | `boolean` | `false` | 是否显示状态消息 |
|
|
46
|
-
| `showSelectedValue` | `boolean` | `false` | 是否显示选中值 |
|
|
47
|
-
| `showSearchBar` | `boolean` | `false` | 是否显示搜索栏 |
|
|
48
|
-
| `type` | `"clear" \| "solid"` | `"clear"` | 按钮类型 |
|
|
49
|
-
| `width` | `number` | - | 组件宽度 |
|
|
50
|
-
| `height` | `number` | - | 组件高度 |
|
|
51
|
-
| `radius` | `number` | `12` | 圆角半径 |
|
|
52
|
-
| `icon` | `string` | `"arrow_drop_down"` | 图标名称 |
|
|
53
|
-
| `iconStyle` | `ViewStyle \| TextStyle` | - | 图标样式 |
|
|
54
|
-
| `backgroundColor` | `string` | - | 背景颜色 |
|
|
55
|
-
| `noLabelAnim` | `boolean` | `false` | 是否禁用标签动画 |
|
|
56
|
-
| `offsetWidth` | `number` | `0` | 位置偏移宽度 |
|
|
57
|
-
| `dropdownSubWidth` | `number` | `151` | 弹出框宽度 |
|
|
58
|
-
| `dropdownSubHeight` | `number` | - | 弹出框最大高度 |
|
|
59
|
-
| `visible` | `boolean` | - | 控制弹出框可见性 |
|
|
60
|
-
| `setVisible` | `(val: boolean) => void` | - | 设置弹出框可见性 |
|
|
61
|
-
| `searchPlaceholder` | `string` | `"Search"` | 搜索框占位符 |
|
|
62
|
-
| `clearButtonText` | `string` | `"Clear"` | 清除按钮文本 |
|
|
63
|
-
| `confirmButtonText` | `string` | `"Done"` | 确认按钮文本 |
|
|
64
|
-
|
|
65
|
-
## TapasMultiSelectorItem 接口
|
|
66
|
-
|
|
67
|
-
```tsx
|
|
68
|
-
interface TapasMultiSelectorItem {
|
|
69
|
-
key: number; // 唯一标识
|
|
70
|
-
value: string; // 显示文本
|
|
71
|
-
secondaryValue?: string; // 次要文本(可选)
|
|
72
|
-
}
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## 使用示例
|
|
76
|
-
|
|
77
|
-
### 基础多选
|
|
78
|
-
|
|
79
|
-
```tsx
|
|
80
|
-
import React, { useState } from 'react';
|
|
81
|
-
import { TapasMultiSelector, TapasMultiSelectorItem } from '@beppla/tapas-ui';
|
|
82
|
-
|
|
83
|
-
const MultiSelectDemo = () => {
|
|
84
|
-
const [selectedFruits, setSelectedFruits] = useState<number[]>([]);
|
|
85
|
-
|
|
86
|
-
const fruitOptions: TapasMultiSelectorItem[] = [
|
|
87
|
-
{ key: 1, value: '苹果' },
|
|
88
|
-
{ key: 2, value: '香蕉' },
|
|
89
|
-
{ key: 3, value: '橙子' },
|
|
90
|
-
{ key: 4, value: '葡萄' },
|
|
91
|
-
];
|
|
92
|
-
|
|
93
|
-
const handleSelection = (keys: number[]) => {
|
|
94
|
-
setSelectedFruits(keys);
|
|
95
|
-
console.log('选中的水果:', keys);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
return (
|
|
99
|
-
<TapasMultiSelector
|
|
100
|
-
label="选择水果"
|
|
101
|
-
dropdownItems={fruitOptions}
|
|
102
|
-
selected={selectedFruits}
|
|
103
|
-
onSelect={handleSelection}
|
|
104
|
-
placeholder="请选择您喜欢的水果"
|
|
105
|
-
showSelectedValue={true}
|
|
106
|
-
/>
|
|
107
|
-
);
|
|
108
|
-
};
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### 带搜索和验证
|
|
112
|
-
|
|
113
|
-
```tsx
|
|
114
|
-
import React, { useState } from 'react';
|
|
115
|
-
import { TapasMultiSelector } from '@beppla/tapas-ui';
|
|
116
|
-
|
|
117
|
-
const ValidatedMultiSelect = () => {
|
|
118
|
-
const [selectedTags, setSelectedTags] = useState<number[]>([]);
|
|
119
|
-
const [isValid, setIsValid] = useState(true);
|
|
120
|
-
|
|
121
|
-
const tagOptions = [
|
|
122
|
-
{ key: 1, value: '新上市', secondaryValue: '最近添加的产品' },
|
|
123
|
-
{ key: 2, value: '热销', secondaryValue: '销量最高的产品' },
|
|
124
|
-
{ key: 3, value: '促销', secondaryValue: '打折产品' },
|
|
125
|
-
{ key: 4, value: '推荐', secondaryValue: '精选产品' },
|
|
126
|
-
];
|
|
127
|
-
|
|
128
|
-
const handleSelection = (keys: number[]) => {
|
|
129
|
-
setSelectedTags(keys);
|
|
130
|
-
setIsValid(keys.length > 0);
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
return (
|
|
134
|
-
<TapasMultiSelector
|
|
135
|
-
label="产品标签"
|
|
136
|
-
title="选择产品标签"
|
|
137
|
-
dropdownItems={tagOptions}
|
|
138
|
-
selected={selectedTags}
|
|
139
|
-
onSelect={handleSelection}
|
|
140
|
-
required={true}
|
|
141
|
-
showSearchBar={true}
|
|
142
|
-
showStateMsg={true}
|
|
143
|
-
state={isValid ? 'normal' : 'error'}
|
|
144
|
-
stateMsg={isValid ? '已选择标签' : '请至少选择一个标签'}
|
|
145
|
-
searchPlaceholder="搜索标签..."
|
|
146
|
-
placeholder="选择产品标签"
|
|
147
|
-
clearButtonText="清除所有"
|
|
148
|
-
confirmButtonText="应用标签"
|
|
149
|
-
/>
|
|
150
|
-
);
|
|
151
|
-
};
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### 自定义样式
|
|
155
|
-
|
|
156
|
-
```tsx
|
|
157
|
-
import React from 'react';
|
|
158
|
-
import { TapasMultiSelector } from '@beppla/tapas-ui';
|
|
159
|
-
|
|
160
|
-
const CustomStyledMultiSelect = () => {
|
|
161
|
-
const categoryOptions = [
|
|
162
|
-
{ key: 1, value: '电子产品' },
|
|
163
|
-
{ key: 2, value: '服装' },
|
|
164
|
-
{ key: 3, value: '图书' },
|
|
165
|
-
{ key: 4, value: '运动' },
|
|
166
|
-
];
|
|
167
|
-
|
|
168
|
-
return (
|
|
169
|
-
<TapasMultiSelector
|
|
170
|
-
label="产品分类"
|
|
171
|
-
dropdownItems={categoryOptions}
|
|
172
|
-
type="solid"
|
|
173
|
-
radius={20}
|
|
174
|
-
width={350}
|
|
175
|
-
height={70}
|
|
176
|
-
backgroundColor="#f8f9fa"
|
|
177
|
-
iconStyle={{ color: '#007bff' }}
|
|
178
|
-
clearButtonText="重置"
|
|
179
|
-
confirmButtonText="确认选择"
|
|
180
|
-
/>
|
|
181
|
-
);
|
|
182
|
-
};
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### 带次要文本的选项
|
|
186
|
-
|
|
187
|
-
```tsx
|
|
188
|
-
import React from 'react';
|
|
189
|
-
import { TapasMultiSelector } from '@beppla/tapas-ui';
|
|
190
|
-
|
|
191
|
-
const SecondaryValueDemo = () => {
|
|
192
|
-
const departmentOptions = [
|
|
193
|
-
{ key: 1, value: '技术部', secondaryValue: '负责产品开发和维护' },
|
|
194
|
-
{ key: 2, value: '市场部', secondaryValue: '负责品牌推广和销售' },
|
|
195
|
-
{ key: 3, value: '人事部', secondaryValue: '负责人员招聘和管理' },
|
|
196
|
-
{ key: 4, value: '财务部', secondaryValue: '负责财务核算和预算' },
|
|
197
|
-
];
|
|
198
|
-
|
|
199
|
-
return (
|
|
200
|
-
<TapasMultiSelector
|
|
201
|
-
label="选择部门"
|
|
202
|
-
title="部门选择"
|
|
203
|
-
dropdownItems={departmentOptions}
|
|
204
|
-
showSearchBar={true}
|
|
205
|
-
searchPlaceholder="搜索部门..."
|
|
206
|
-
placeholder="请选择您感兴趣的部门"
|
|
207
|
-
/>
|
|
208
|
-
);
|
|
209
|
-
};
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
## 最佳实践
|
|
213
|
-
|
|
214
|
-
1. **合理的选项数量**:建议选项数量控制在 5-20 个之间,过多选项考虑分页
|
|
215
|
-
2. **清晰的标签文案**:标签和选项文案应该简洁明确,避免歧义
|
|
216
|
-
3. **适当的验证**:对于重要选择,使用 `required` 和状态消息
|
|
217
|
-
4. **搜索功能**:当选项较多时,启用搜索功能提升用户体验
|
|
218
|
-
5. **自定义按钮文案**:根据业务场景自定义清除和确认按钮文案
|
|
219
|
-
|
|
220
|
-
## 使用场景
|
|
221
|
-
|
|
222
|
-
- 产品分类选择
|
|
223
|
-
- 用户权限配置
|
|
224
|
-
- 标签管理系统
|
|
225
|
-
- 兴趣爱好选择
|
|
226
|
-
- 技能评估表单
|
|
227
|
-
- 多选问卷调查
|
|
228
|
-
- 文件类型过滤
|
|
229
|
-
- 用户分组管理
|
|
230
|
-
|
|
231
|
-
## 注意事项
|
|
232
|
-
|
|
233
|
-
1. `dropdownItems` 数组为空时,组件仍会正常渲染,但不会显示任何选项
|
|
234
|
-
2. 当 `required` 为 `true` 且没有选择任何选项时,建议显示错误状态
|
|
235
|
-
3. 组件会自动计算弹出位置,确保在屏幕边界内显示
|
|
236
|
-
4. 支持 React Native 和 React Native Web 环境
|
|
237
|
-
5. 动画效果在测试环境中可能需要特殊处理
|
|
238
|
-
|
|
239
|
-
## 技术实现
|
|
240
|
-
|
|
241
|
-
- 使用 `Modal` 实现弹出效果
|
|
242
|
-
- 动态计算弹出位置和方向
|
|
243
|
-
- 支持标签动画效果
|
|
244
|
-
- 集成搜索和过滤功能
|
|
245
|
-
- 完整的键盘导航支持
|
|
246
|
-
- 响应式布局设计
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["default"],"sourceRoot":"../../../components","sources":["MultiSelector/index.tsx"],"mappings":"AAAA,SAASA,OAAO,QAAQ,iBAAiB","ignoreList":[]}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useCallback } from "react";
|
|
2
|
-
import { View, TouchableOpacity, Text, StyleSheet, Platform } from "react-native";
|
|
3
|
-
import { Image, withTheme, makeStyles } from "@rneui/themed";
|
|
4
|
-
import Icon from "../Icons/TapasIcon";
|
|
5
|
-
export let NavItemType = /*#__PURE__*/function (NavItemType) {
|
|
6
|
-
NavItemType["Nav"] = "nav";
|
|
7
|
-
NavItemType["System"] = "system";
|
|
8
|
-
return NavItemType;
|
|
9
|
-
}({});
|
|
10
|
-
const useStyles = makeStyles(theme => {
|
|
11
|
-
return {
|
|
12
|
-
menuContainer: {
|
|
13
|
-
backgroundColor: theme?.colors?.bg1,
|
|
14
|
-
display: "flex",
|
|
15
|
-
height: "100%",
|
|
16
|
-
overflow: "hidden"
|
|
17
|
-
},
|
|
18
|
-
navItem: {
|
|
19
|
-
flexDirection: "row",
|
|
20
|
-
alignItems: "center",
|
|
21
|
-
height: 40,
|
|
22
|
-
marginBottom: theme?.spacing?.tpSm,
|
|
23
|
-
borderRadius: theme?.radius?.full,
|
|
24
|
-
minWidth: 80,
|
|
25
|
-
minHeight: 40,
|
|
26
|
-
maxHeight: 56
|
|
27
|
-
},
|
|
28
|
-
selectedNavItem: {
|
|
29
|
-
backgroundColor: theme?.colors?.secondary
|
|
30
|
-
},
|
|
31
|
-
iconContainer: {
|
|
32
|
-
borderRadius: theme?.radius?.full,
|
|
33
|
-
padding: 10
|
|
34
|
-
},
|
|
35
|
-
selectedIconContainer: {
|
|
36
|
-
backgroundColor: theme?.colors?.secondary
|
|
37
|
-
},
|
|
38
|
-
navItemText: {
|
|
39
|
-
fontFamily: theme?.fonts?.fontFamily,
|
|
40
|
-
color: theme?.colors?.white,
|
|
41
|
-
fontSize: theme.fonts.sizeM,
|
|
42
|
-
fontWeight: theme.fonts.weightM
|
|
43
|
-
},
|
|
44
|
-
logoContainer: {
|
|
45
|
-
display: "flex",
|
|
46
|
-
justifyContent: "center",
|
|
47
|
-
alignItems: "center",
|
|
48
|
-
height: 56,
|
|
49
|
-
backgroundColor: theme?.colors?.black
|
|
50
|
-
},
|
|
51
|
-
navItemsContainer: {
|
|
52
|
-
marginTop: 10,
|
|
53
|
-
padding: theme?.spacing?.tpXs
|
|
54
|
-
},
|
|
55
|
-
bottomContainer: {
|
|
56
|
-
position: "absolute",
|
|
57
|
-
bottom: 0,
|
|
58
|
-
left: 0,
|
|
59
|
-
right: 0,
|
|
60
|
-
borderTopWidth: 1,
|
|
61
|
-
borderTopColor: theme?.colors?.grey3,
|
|
62
|
-
padding: theme?.spacing?.tpXs
|
|
63
|
-
},
|
|
64
|
-
mask: {
|
|
65
|
-
position: "absolute",
|
|
66
|
-
top: 0,
|
|
67
|
-
bottom: 0,
|
|
68
|
-
left: 0,
|
|
69
|
-
right: 0,
|
|
70
|
-
width: "500%",
|
|
71
|
-
backgroundColor: "rgba(0,0,0,0.5)"
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
});
|
|
75
|
-
const defaultProps = {
|
|
76
|
-
expanded: false // 统一默认收起状态
|
|
77
|
-
};
|
|
78
|
-
const Navigation = ({
|
|
79
|
-
onLogoPress,
|
|
80
|
-
navItems,
|
|
81
|
-
systemItems,
|
|
82
|
-
logoImg,
|
|
83
|
-
expanded,
|
|
84
|
-
onItemPress,
|
|
85
|
-
defaultSelectedItem,
|
|
86
|
-
selectedIndex,
|
|
87
|
-
onMaskPress,
|
|
88
|
-
theme,
|
|
89
|
-
visible = true,
|
|
90
|
-
navigation,
|
|
91
|
-
...props
|
|
92
|
-
}) => {
|
|
93
|
-
const [isExpanded, setIsExpanded] = useState(expanded || defaultProps.expanded);
|
|
94
|
-
const [selectedItem, setSelectedItem] = useState(defaultSelectedItem);
|
|
95
|
-
const themeStyles = useStyles(props);
|
|
96
|
-
const handleToggle = useCallback(() => {
|
|
97
|
-
setIsExpanded(prev => !prev);
|
|
98
|
-
onLogoPress?.();
|
|
99
|
-
}, [onLogoPress]);
|
|
100
|
-
useEffect(() => {
|
|
101
|
-
if (typeof selectedIndex === "number" && navItems && navItems[selectedIndex]) {
|
|
102
|
-
setSelectedItem({
|
|
103
|
-
type: NavItemType.Nav,
|
|
104
|
-
selectedItemIndex: selectedIndex
|
|
105
|
-
});
|
|
106
|
-
} else {
|
|
107
|
-
setSelectedItem(undefined);
|
|
108
|
-
}
|
|
109
|
-
}, [selectedIndex, navItems]);
|
|
110
|
-
const handleItemPress = useCallback((selectedItemIndex, type) => {
|
|
111
|
-
setSelectedItem({
|
|
112
|
-
type,
|
|
113
|
-
selectedItemIndex
|
|
114
|
-
});
|
|
115
|
-
const item = type === NavItemType.Nav ? navItems?.[selectedItemIndex] : systemItems?.[selectedItemIndex];
|
|
116
|
-
if (item) {
|
|
117
|
-
onItemPress?.(item);
|
|
118
|
-
if (navigation && item.name) {
|
|
119
|
-
navigation.navigate(item.name, item.params);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}, [navItems, systemItems, onItemPress, navigation]);
|
|
123
|
-
return visible && /*#__PURE__*/React.createElement(View, {
|
|
124
|
-
style: styles.container
|
|
125
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
126
|
-
onPress: Platform.OS === "web" ? handleToggle : onMaskPress,
|
|
127
|
-
style: isExpanded && themeStyles.mask
|
|
128
|
-
}, /*#__PURE__*/React.createElement(View, null)), /*#__PURE__*/React.createElement(View, {
|
|
129
|
-
style: [styles.container, !isExpanded ? styles.smallContainer : styles.expendedContainer]
|
|
130
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
131
|
-
style: themeStyles.menuContainer
|
|
132
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
133
|
-
onPress: handleToggle,
|
|
134
|
-
accessibilityRole: "button"
|
|
135
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
136
|
-
style: themeStyles.logoContainer
|
|
137
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
138
|
-
source: logoImg,
|
|
139
|
-
style: {
|
|
140
|
-
width: 48,
|
|
141
|
-
height: 48
|
|
142
|
-
}
|
|
143
|
-
}))), /*#__PURE__*/React.createElement(View, {
|
|
144
|
-
style: [themeStyles.navItemsContainer]
|
|
145
|
-
}, navItems?.map((item, index) => /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
146
|
-
key: item.name,
|
|
147
|
-
onPress: () => handleItemPress(index, NavItemType.Nav),
|
|
148
|
-
style: [themeStyles.navItem, !isExpanded && styles.smallMenusItemContainer, selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.Nav && isExpanded && themeStyles.selectedNavItem]
|
|
149
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
150
|
-
style: [themeStyles.iconContainer, !isExpanded && selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.Nav && themeStyles.selectedIconContainer]
|
|
151
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
152
|
-
name: item.iconName,
|
|
153
|
-
size: 20,
|
|
154
|
-
color: theme?.colors?.white
|
|
155
|
-
})), isExpanded && /*#__PURE__*/React.createElement(Text, {
|
|
156
|
-
style: [themeStyles.navItemText, selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.Nav && styles.selectedItemText]
|
|
157
|
-
}, item.name)))), /*#__PURE__*/React.createElement(View, {
|
|
158
|
-
style: themeStyles.bottomContainer
|
|
159
|
-
}, systemItems?.map((item, index) => /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
160
|
-
key: item.name,
|
|
161
|
-
onPress: () => handleItemPress(index, NavItemType.System),
|
|
162
|
-
style: [themeStyles.navItem, !isExpanded && styles.smallMenusItemContainer, selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.System && isExpanded && themeStyles.selectedNavItem]
|
|
163
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
164
|
-
style: [themeStyles.iconContainer, selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.System && !isExpanded && themeStyles.selectedIconContainer]
|
|
165
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
166
|
-
name: item.iconName,
|
|
167
|
-
size: 20,
|
|
168
|
-
color: theme?.colors?.white
|
|
169
|
-
})), isExpanded && /*#__PURE__*/React.createElement(Text, {
|
|
170
|
-
style: [themeStyles.navItemText, selectedItem?.selectedItemIndex === index && selectedItem?.type === NavItemType.System && styles.selectedItemText]
|
|
171
|
-
}, item.name)))))));
|
|
172
|
-
};
|
|
173
|
-
const styles = StyleSheet.create({
|
|
174
|
-
container: {
|
|
175
|
-
height: "100%"
|
|
176
|
-
},
|
|
177
|
-
smallMenusItemContainer: {
|
|
178
|
-
marginLeft: 0
|
|
179
|
-
},
|
|
180
|
-
smallContainer: {
|
|
181
|
-
width: 56
|
|
182
|
-
},
|
|
183
|
-
expendedContainer: {
|
|
184
|
-
width: 336
|
|
185
|
-
},
|
|
186
|
-
selectedItemText: {
|
|
187
|
-
fontWeight: "bold"
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
export default withTheme(Navigation);
|
|
191
|
-
//# sourceMappingURL=Navigation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","useCallback","View","TouchableOpacity","Text","StyleSheet","Platform","Image","withTheme","makeStyles","Icon","NavItemType","useStyles","theme","menuContainer","backgroundColor","colors","bg1","display","height","overflow","navItem","flexDirection","alignItems","marginBottom","spacing","tpSm","borderRadius","radius","full","minWidth","minHeight","maxHeight","selectedNavItem","secondary","iconContainer","padding","selectedIconContainer","navItemText","fontFamily","fonts","color","white","fontSize","sizeM","fontWeight","weightM","logoContainer","justifyContent","black","navItemsContainer","marginTop","tpXs","bottomContainer","position","bottom","left","right","borderTopWidth","borderTopColor","grey3","mask","top","width","defaultProps","expanded","Navigation","onLogoPress","navItems","systemItems","logoImg","onItemPress","defaultSelectedItem","selectedIndex","onMaskPress","visible","navigation","props","isExpanded","setIsExpanded","selectedItem","setSelectedItem","themeStyles","handleToggle","prev","type","Nav","selectedItemIndex","undefined","handleItemPress","item","name","navigate","params","createElement","style","styles","container","onPress","OS","smallContainer","expendedContainer","accessibilityRole","source","map","index","key","smallMenusItemContainer","iconName","size","selectedItemText","System","create","marginLeft"],"sourceRoot":"../../../components","sources":["Navigation/Navigation.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, { useEffect, useRef } from 'react';
|
|
3
|
-
import { Animated, Easing, View, Text, Pressable } from 'react-native';
|
|
4
|
-
import { ScrollView } from 'react-native';
|
|
5
|
-
import { makeStyles, withTheme } from '@rneui/themed';
|
|
6
|
-
import TapasIcon from '../Icons/TapasIcon';
|
|
7
|
-
import TapasButton from '../Button/Button';
|
|
8
|
-
const useStyles = makeStyles(theme => {
|
|
9
|
-
return {
|
|
10
|
-
container: {
|
|
11
|
-
display: 'flex',
|
|
12
|
-
flexDirection: 'column',
|
|
13
|
-
overflow: 'hidden',
|
|
14
|
-
backgroundColor: theme.colors.colorSurface2
|
|
15
|
-
},
|
|
16
|
-
mainContent: {
|
|
17
|
-
display: 'flex',
|
|
18
|
-
flexGrow: 1,
|
|
19
|
-
flexDirection: 'column',
|
|
20
|
-
overflow: 'hidden',
|
|
21
|
-
flex: 1,
|
|
22
|
-
marginRight: 8,
|
|
23
|
-
marginLeft: 8,
|
|
24
|
-
marginTop: 24,
|
|
25
|
-
marginBottom: 24
|
|
26
|
-
},
|
|
27
|
-
header: {
|
|
28
|
-
display: 'flex',
|
|
29
|
-
flexDirection: 'row',
|
|
30
|
-
height: 40,
|
|
31
|
-
marginBottom: 10,
|
|
32
|
-
overflow: 'hidden',
|
|
33
|
-
marginLeft: 8
|
|
34
|
-
},
|
|
35
|
-
headerTitleContainer: {
|
|
36
|
-
marginRight: 8,
|
|
37
|
-
display: 'flex',
|
|
38
|
-
flexDirection: 'row',
|
|
39
|
-
flexGrow: 1,
|
|
40
|
-
overflow: 'hidden',
|
|
41
|
-
justifyContent: 'space-between'
|
|
42
|
-
},
|
|
43
|
-
headerTitle: {
|
|
44
|
-
fontSize: 16,
|
|
45
|
-
fontWeight: '700',
|
|
46
|
-
color: theme.colors.white,
|
|
47
|
-
flex: 1,
|
|
48
|
-
lineHeight: 40
|
|
49
|
-
},
|
|
50
|
-
headerButton: {
|
|
51
|
-
width: 40,
|
|
52
|
-
height: 40,
|
|
53
|
-
display: 'flex'
|
|
54
|
-
},
|
|
55
|
-
iconButton: {
|
|
56
|
-
alignSelf: 'center'
|
|
57
|
-
},
|
|
58
|
-
list: {
|
|
59
|
-
display: 'flex',
|
|
60
|
-
flexDirection: 'column',
|
|
61
|
-
justifyContent: 'flex-start',
|
|
62
|
-
overflow: 'hidden',
|
|
63
|
-
flex: 1,
|
|
64
|
-
marginTop: 12,
|
|
65
|
-
marginBottom: 12
|
|
66
|
-
},
|
|
67
|
-
inner: {
|
|
68
|
-
display: 'flex',
|
|
69
|
-
flexDirection: 'column',
|
|
70
|
-
gap: 12
|
|
71
|
-
},
|
|
72
|
-
emptyContainer: {
|
|
73
|
-
display: 'flex',
|
|
74
|
-
flexDirection: 'column',
|
|
75
|
-
justifyContent: 'center',
|
|
76
|
-
flexGrow: 1,
|
|
77
|
-
overflow: 'hidden',
|
|
78
|
-
gap: 10
|
|
79
|
-
},
|
|
80
|
-
emptyIcon: {
|
|
81
|
-
width: 40,
|
|
82
|
-
height: 40,
|
|
83
|
-
opacity: 0.3,
|
|
84
|
-
alignSelf: 'center'
|
|
85
|
-
},
|
|
86
|
-
emptyText: {
|
|
87
|
-
textAlign: 'center',
|
|
88
|
-
fontSize: 14,
|
|
89
|
-
fontWeight: '500',
|
|
90
|
-
color: theme.colors.colorSurface11
|
|
91
|
-
},
|
|
92
|
-
row: {
|
|
93
|
-
display: 'flex',
|
|
94
|
-
flexDirection: 'row',
|
|
95
|
-
height: 40,
|
|
96
|
-
paddingLeft: 12,
|
|
97
|
-
paddingRight: 16,
|
|
98
|
-
borderRadius: 20,
|
|
99
|
-
justifyContent: 'flex-start',
|
|
100
|
-
alignItems: 'center',
|
|
101
|
-
gap: 8
|
|
102
|
-
},
|
|
103
|
-
rowText: {
|
|
104
|
-
fontSize: 14,
|
|
105
|
-
fontWeight: '600',
|
|
106
|
-
color: theme.colors.colorTextInvert1
|
|
107
|
-
},
|
|
108
|
-
selectedRow: {
|
|
109
|
-
backgroundColor: theme.colors.secondary
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
});
|
|
113
|
-
const TapasNotification = ({
|
|
114
|
-
open = false,
|
|
115
|
-
headerTitleStyle,
|
|
116
|
-
items = [],
|
|
117
|
-
title = 'Notification',
|
|
118
|
-
emptyText = 'No Data',
|
|
119
|
-
hideHeaderButton = false,
|
|
120
|
-
style,
|
|
121
|
-
selectedItem,
|
|
122
|
-
onSelectItem,
|
|
123
|
-
onHeaderButtonPress,
|
|
124
|
-
animationDuration = 500,
|
|
125
|
-
expandedWidth = 288,
|
|
126
|
-
...otherProps
|
|
127
|
-
}) => {
|
|
128
|
-
const styles = useStyles();
|
|
129
|
-
|
|
130
|
-
// 动画
|
|
131
|
-
const expandAnim = useRef(new Animated.Value(0)).current;
|
|
132
|
-
const mainContentAnim = useRef(new Animated.Value(0)).current;
|
|
133
|
-
useEffect(() => {
|
|
134
|
-
expandAnim.setValue(open ? 0 : expandedWidth);
|
|
135
|
-
mainContentAnim.setValue(open ? 0 : expandedWidth - 16);
|
|
136
|
-
Animated.parallel([Animated.timing(expandAnim, {
|
|
137
|
-
toValue: open ? expandedWidth : 0,
|
|
138
|
-
duration: animationDuration,
|
|
139
|
-
easing: Easing.inOut(Easing.ease),
|
|
140
|
-
useNativeDriver: false
|
|
141
|
-
}), Animated.timing(mainContentAnim, {
|
|
142
|
-
toValue: open ? expandedWidth - 16 : 0,
|
|
143
|
-
duration: animationDuration,
|
|
144
|
-
easing: Easing.inOut(Easing.ease),
|
|
145
|
-
useNativeDriver: false
|
|
146
|
-
})]).start();
|
|
147
|
-
}, [open, expandedWidth, animationDuration]);
|
|
148
|
-
const handleItemPress = item => {
|
|
149
|
-
onSelectItem?.(item);
|
|
150
|
-
};
|
|
151
|
-
const handleHeaderButtonPress = () => {
|
|
152
|
-
onHeaderButtonPress?.();
|
|
153
|
-
};
|
|
154
|
-
return /*#__PURE__*/React.createElement(Animated.View, _extends({}, otherProps, {
|
|
155
|
-
style: [style, styles.container, {
|
|
156
|
-
width: expandAnim
|
|
157
|
-
}]
|
|
158
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
159
|
-
style: styles.mainContent
|
|
160
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
161
|
-
style: styles.header
|
|
162
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
163
|
-
style: styles.headerTitleContainer
|
|
164
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
165
|
-
style: [styles.headerTitle, headerTitleStyle],
|
|
166
|
-
numberOfLines: 1,
|
|
167
|
-
ellipsizeMode: "tail"
|
|
168
|
-
}, title)), !hideHeaderButton && /*#__PURE__*/React.createElement(View, {
|
|
169
|
-
style: styles.headerButton
|
|
170
|
-
}, /*#__PURE__*/React.createElement(TapasButton, {
|
|
171
|
-
type: "clear",
|
|
172
|
-
onPress: handleHeaderButtonPress
|
|
173
|
-
}, /*#__PURE__*/React.createElement(TapasIcon, {
|
|
174
|
-
size: 20,
|
|
175
|
-
color: "#FFF",
|
|
176
|
-
style: styles.iconButton,
|
|
177
|
-
name: "more_vert"
|
|
178
|
-
})))), /*#__PURE__*/React.createElement(Animated.View, {
|
|
179
|
-
style: [styles.list, {
|
|
180
|
-
width: mainContentAnim
|
|
181
|
-
}]
|
|
182
|
-
}, items.length > 0 ? /*#__PURE__*/React.createElement(ScrollView, {
|
|
183
|
-
showsHorizontalScrollIndicator: false
|
|
184
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
185
|
-
style: styles.inner
|
|
186
|
-
}, items.map((item, index) => /*#__PURE__*/React.createElement(Pressable, {
|
|
187
|
-
onPress: () => handleItemPress(item),
|
|
188
|
-
key: `${item.id}-notify-${index}`,
|
|
189
|
-
style: [styles.row, selectedItem === item.id && styles.selectedRow]
|
|
190
|
-
}, item.icon && /*#__PURE__*/React.createElement(TapasIcon, {
|
|
191
|
-
size: 20,
|
|
192
|
-
color: "#FFF",
|
|
193
|
-
name: item.icon
|
|
194
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
195
|
-
style: styles.rowText,
|
|
196
|
-
numberOfLines: 1,
|
|
197
|
-
ellipsizeMode: "tail"
|
|
198
|
-
}, item.title))))) : /*#__PURE__*/React.createElement(View, {
|
|
199
|
-
style: styles.emptyContainer
|
|
200
|
-
}, /*#__PURE__*/React.createElement(TapasIcon, {
|
|
201
|
-
name: "notifications",
|
|
202
|
-
size: 40,
|
|
203
|
-
color: "#FFF",
|
|
204
|
-
style: styles.emptyIcon
|
|
205
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
206
|
-
style: styles.emptyText,
|
|
207
|
-
numberOfLines: 1,
|
|
208
|
-
ellipsizeMode: "tail"
|
|
209
|
-
}, emptyText)))));
|
|
210
|
-
};
|
|
211
|
-
export default withTheme(TapasNotification);
|
|
212
|
-
//# sourceMappingURL=Notification.js.map
|