@beppla/tapas-ui 1.0.65 → 1.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commonjs/Alert/Alert.js +109 -0
- package/commonjs/Alert/Alert.js.map +2 -0
- package/commonjs/AnimatedNavItem/AnimatedNavItem.js +246 -0
- package/commonjs/AnimatedNavItem/AnimatedNavItem.js.map +2 -0
- package/commonjs/BarChart/BarChart.js +280 -0
- package/commonjs/BarChart/BarChart.js.map +1 -0
- package/commonjs/BarChart/index.js +13 -0
- package/commonjs/BarChart/index.js.map +2 -0
- package/commonjs/Button/Button.js +150 -0
- package/commonjs/Button/Button.js.map +2 -0
- package/commonjs/Button/ButtonGroup.js +194 -0
- package/commonjs/Button/ButtonGroup.js.map +2 -0
- package/commonjs/Calendar/Calendar.base.js +343 -0
- package/commonjs/Calendar/Calendar.base.js.map +1 -0
- package/commonjs/Calendar/Calendar.js +150 -0
- package/commonjs/Calendar/Calendar.js.map +2 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js +477 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js.map +2 -0
- package/commonjs/Calendar/CustomRange.js +549 -0
- package/commonjs/Calendar/CustomRange.js.map +1 -0
- package/commonjs/Calendar/DaySelector.js +193 -0
- package/commonjs/Calendar/DaySelector.js.map +1 -0
- package/commonjs/Calendar/MonthSelector.js +197 -0
- package/commonjs/Calendar/MonthSelector.js.map +1 -0
- package/commonjs/Calendar/TimeSelector.js +491 -0
- package/commonjs/Calendar/TimeSelector.js.map +1 -0
- package/commonjs/Calendar/WeekDaySelector.js +197 -0
- package/commonjs/Calendar/WeekDaySelector.js.map +1 -0
- package/commonjs/Calendar/helper.js +166 -0
- package/commonjs/Calendar/helper.js.map +2 -0
- package/commonjs/Calendar/local.js.map +2 -0
- package/commonjs/Calendar/types.js +26 -0
- package/commonjs/Calendar/types.js.map +1 -0
- package/commonjs/Card/Card.js +302 -0
- package/commonjs/Card/Card.js.map +2 -0
- package/commonjs/CheckBox/CheckBox.js +183 -0
- package/commonjs/CheckBox/CheckBox.js.map +2 -0
- package/commonjs/CheckBox/CheckBoxItem.js +162 -0
- package/commonjs/CheckBox/CheckBoxItem.js.map +2 -0
- package/commonjs/CheckBox/GroupCheckBox.js +136 -0
- package/commonjs/CheckBox/GroupCheckBox.js.map +2 -0
- package/commonjs/CircularProgress/CircularProgress.js +63 -0
- package/commonjs/CircularProgress/CircularProgress.js.map +2 -0
- package/commonjs/Collapsible/Collapsible.js.map +2 -0
- package/commonjs/DashboardCard/DashboardCard.js +240 -0
- package/commonjs/DashboardCard/DashboardCard.js.map +2 -0
- package/commonjs/DataCell/DataCell.js +579 -0
- package/commonjs/DataCell/DataCell.js.map +1 -0
- package/commonjs/DataCell/index.js.map +2 -0
- package/commonjs/DataTable/DataTable.js +265 -0
- package/commonjs/DataTable/DataTable.js.map +1 -0
- package/commonjs/DataTable/index.js +14 -0
- package/commonjs/DataTable/index.js.map +1 -0
- package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js +356 -0
- package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js.map +1 -0
- package/commonjs/DraggableFlatList/DraggableFlatList.js +20 -0
- package/commonjs/DraggableFlatList/DraggableFlatList.js.map +1 -0
- package/commonjs/Drawer/Drawer.js +214 -0
- package/commonjs/Drawer/Drawer.js.map +2 -0
- package/commonjs/Dropdown/CustomDropdown.js +270 -0
- package/commonjs/Dropdown/CustomDropdown.js.map +1 -0
- package/commonjs/Dropdown/Dropdown.js +755 -0
- package/commonjs/Dropdown/Dropdown.js.map +2 -0
- package/commonjs/Dropdown/InputDropdown.js +218 -0
- package/commonjs/Dropdown/InputDropdown.js.map +2 -0
- package/commonjs/ExternalLink/ExternalLink.js +205 -0
- package/commonjs/ExternalLink/ExternalLink.js.map +1 -0
- package/commonjs/Gantt/Accessories.js +269 -0
- package/commonjs/Gantt/Accessories.js.map +1 -0
- package/commonjs/Gantt/Gantt.js +236 -0
- package/commonjs/Gantt/Gantt.js.map +1 -0
- package/commonjs/Gantt/GanttInnerElementType.js +166 -0
- package/commonjs/Gantt/GanttInnerElementType.js.map +2 -0
- package/commonjs/Gantt/helper.js +403 -0
- package/commonjs/Gantt/helper.js.map +2 -0
- package/commonjs/Gantt/types.js +16 -0
- package/commonjs/Gantt/types.js.map +1 -0
- package/commonjs/Grid/FixedSizeGrid.js +191 -0
- package/commonjs/Grid/FixedSizeGrid.js.map +1 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js +434 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js.map +2 -0
- package/commonjs/Grid/VariableSizeGrid.js +307 -0
- package/commonjs/Grid/VariableSizeGrid.js.map +2 -0
- package/commonjs/Grid/helper.js +58 -0
- package/commonjs/Grid/helper.js.map +2 -0
- package/commonjs/Grid/timer.js +31 -0
- package/commonjs/Grid/timer.js.map +1 -0
- package/commonjs/Header/Header.js +250 -0
- package/commonjs/Header/Header.js.map +2 -0
- package/commonjs/HelloWave/HelloWave.js +95 -0
- package/commonjs/HelloWave/HelloWave.js.map +2 -0
- package/commonjs/Hoverable/Hoverable.js +113 -0
- package/commonjs/Hoverable/Hoverable.js.map +2 -0
- package/commonjs/IconText/IconText.js +136 -0
- package/commonjs/IconText/IconText.js.map +1 -0
- package/commonjs/Icons/TapasIcon.js +194 -0
- package/commonjs/Icons/TapasIcon.js.map +2 -0
- package/commonjs/Icons/TapasIconExpo.js +171 -0
- package/commonjs/Icons/TapasIconExpo.js.map +1 -0
- package/commonjs/Icons/expoFontLoader.js +355 -0
- package/commonjs/Icons/expoFontLoader.js.map +2 -0
- package/commonjs/Icons/fontLoader.js +410 -0
- package/commonjs/Icons/fontLoader.js.map +2 -0
- package/commonjs/Icons/index.js +72 -0
- package/commonjs/Icons/index.js.map +2 -0
- package/commonjs/Icons/smartFontLoader.js +545 -0
- package/commonjs/Icons/smartFontLoader.js.map +2 -0
- package/commonjs/Image/Image.js +194 -0
- package/commonjs/Image/Image.js.map +1 -0
- package/commonjs/Image/PreviewImg.js +173 -0
- package/commonjs/Image/PreviewImg.js.map +2 -0
- package/commonjs/Input/Input.js +145 -0
- package/commonjs/Input/Input.js.map +2 -0
- package/commonjs/Layout/Layout.js +140 -0
- package/commonjs/Layout/Layout.js.map +2 -0
- package/commonjs/Layout/ToastContext.js +87 -0
- package/commonjs/Layout/ToastContext.js.map +2 -0
- package/commonjs/Layout/index.js +51 -0
- package/commonjs/Layout/index.js.map +1 -0
- package/commonjs/LineChart/LineChart.js +271 -0
- package/commonjs/LineChart/LineChart.js.map +2 -0
- package/commonjs/LineChart/index.js +13 -0
- package/commonjs/LineChart/index.js.map +2 -0
- package/commonjs/ListItem/ListItem.js +269 -0
- package/commonjs/ListItem/ListItem.js.map +1 -0
- package/commonjs/Loading/Loading.js +126 -0
- package/commonjs/Loading/Loading.js.map +2 -0
- package/commonjs/MessageBox/MessageBox.js +244 -0
- package/commonjs/MessageBox/MessageBox.js.map +2 -0
- package/commonjs/MultiSelector/MultiSelector.js +578 -0
- package/commonjs/MultiSelector/MultiSelector.js.map +1 -0
- package/commonjs/Navigation/Navigation.js +201 -0
- package/commonjs/Navigation/Navigation.js.map +2 -0
- package/commonjs/Notification/Notification.js +268 -0
- package/commonjs/Notification/Notification.js.map +2 -0
- package/commonjs/Notification/index.js +17 -0
- package/commonjs/Notification/index.js.map +2 -0
- package/commonjs/NumericInput/NumericInput.js +178 -0
- package/commonjs/NumericInput/NumericInput.js.map +2 -0
- package/commonjs/Overlay/Overlay.js +54 -0
- package/commonjs/Overlay/Overlay.js.map +2 -0
- package/commonjs/Pagination/Pagination.js +299 -0
- package/commonjs/Pagination/Pagination.js.map +2 -0
- package/commonjs/PieChart/PieChart.js +165 -0
- package/commonjs/PieChart/PieChart.js.map +2 -0
- package/commonjs/PieChart/index.js +13 -0
- package/commonjs/PieChart/index.js.map +2 -0
- package/commonjs/Popover/Popover.js +182 -0
- package/commonjs/Popover/Popover.js.map +1 -0
- package/commonjs/Quantity/Quantity.js +217 -0
- package/commonjs/Quantity/Quantity.js.map +2 -0
- package/commonjs/RadioButton/RadioButton.js +153 -0
- package/commonjs/RadioButton/RadioButton.js.map +1 -0
- package/commonjs/ReasonModal/ReasonModal.js +252 -0
- package/commonjs/ReasonModal/ReasonModal.js.map +2 -0
- package/commonjs/ScanButton/ScanButton.js +150 -0
- package/commonjs/ScanButton/ScanButton.js.map +1 -0
- package/commonjs/SearchInput/SearchInput.js +186 -0
- package/commonjs/SearchInput/SearchInput.js.map +2 -0
- package/commonjs/SearchInput/index.js +17 -0
- package/commonjs/SearchInput/index.js.map +2 -0
- package/commonjs/SheetTitle/SheetTitle.js +95 -0
- package/commonjs/SheetTitle/SheetTitle.js.map +2 -0
- package/commonjs/Shell/Shell.js +151 -0
- package/commonjs/Shell/Shell.js.map +2 -0
- package/commonjs/Shell/styles.js.map +2 -0
- package/commonjs/Shell/types.js.map +2 -0
- package/commonjs/StatisticCard/StatisticCard.js +121 -0
- package/commonjs/StatisticCard/StatisticCard.js.map +1 -0
- package/commonjs/StatisticCard/index.js +14 -0
- package/commonjs/StatisticCard/index.js.map +2 -0
- package/commonjs/Status/Status.js +135 -0
- package/commonjs/Status/Status.js.map +1 -0
- package/commonjs/TabTitle/TabTitle.js +92 -0
- package/commonjs/TabTitle/TabTitle.js.map +1 -0
- package/commonjs/TabTitle/index.js +33 -0
- package/commonjs/TabTitle/index.js.map +2 -0
- package/commonjs/TableColumnHeader/TableColumnHeader.js +257 -0
- package/commonjs/TableColumnHeader/TableColumnHeader.js.map +2 -0
- package/commonjs/Tag/Tag.js +140 -0
- package/commonjs/Tag/Tag.js.map +2 -0
- package/commonjs/Task/Task.js +254 -0
- package/commonjs/Task/Task.js.map +1 -0
- package/commonjs/Task/type.js +14 -0
- package/commonjs/Task/type.js.map +2 -0
- package/commonjs/Text/Text.js +164 -0
- package/commonjs/Text/Text.js.map +2 -0
- package/commonjs/Theme/ThemeProvider.js +29 -0
- package/commonjs/Theme/ThemeProvider.js.map +1 -0
- package/commonjs/Timeline/Timeline.js +244 -0
- package/commonjs/Timeline/Timeline.js.map +2 -0
- package/commonjs/Toast/Toast.js +197 -0
- package/commonjs/Toast/Toast.js.map +1 -0
- package/commonjs/UserSwitcher/UserSwitcher.js +293 -0
- package/commonjs/UserSwitcher/UserSwitcher.js.map +1 -0
- package/commonjs/common.js +15 -0
- package/commonjs/common.js.map +2 -0
- package/commonjs/index.js +782 -0
- package/commonjs/index.js.map +1 -0
- package/module/Alert/Alert.js +150 -0
- package/module/Alert/Alert.js.map +2 -0
- package/module/AnimatedNavItem/AnimatedNavItem.js +275 -0
- package/module/AnimatedNavItem/AnimatedNavItem.js.map +2 -0
- package/module/AnimatedNavItem/index.js +32 -0
- package/module/AnimatedNavItem/index.js.map +1 -0
- package/module/BarChart/BarChart.js +280 -0
- package/module/BarChart/BarChart.js.map +1 -0
- package/module/BarChart/index.js +12 -0
- package/module/BarChart/index.js.map +1 -0
- package/module/Button/Button.js +141 -0
- package/module/Button/Button.js.map +2 -0
- package/module/Button/ButtonGroup.js +214 -0
- package/module/Button/ButtonGroup.js.map +1 -0
- package/module/Calendar/Calendar.base.js +343 -0
- package/module/Calendar/Calendar.base.js.map +1 -0
- package/module/Calendar/Calendar.js +166 -0
- package/module/Calendar/Calendar.js.map +2 -0
- package/module/Calendar/ConcreteTimeSelector.js +477 -0
- package/module/Calendar/ConcreteTimeSelector.js.map +2 -0
- package/module/Calendar/CustomRange.js +648 -0
- package/module/Calendar/CustomRange.js.map +1 -0
- package/module/Calendar/DaySelector.js +216 -0
- package/module/Calendar/DaySelector.js.map +2 -0
- package/module/Calendar/MonthSelector.js +221 -0
- package/module/Calendar/MonthSelector.js.map +2 -0
- package/module/Calendar/TimeSelector.js +583 -0
- package/module/Calendar/TimeSelector.js.map +2 -0
- package/module/Calendar/WeekDaySelector.js +221 -0
- package/module/Calendar/WeekDaySelector.js.map +2 -0
- package/module/Calendar/helper.js +166 -0
- package/module/Calendar/helper.js.map +2 -0
- package/module/Calendar/local.js +78 -0
- package/module/Calendar/local.js.map +1 -0
- package/module/Calendar/types.js +26 -0
- package/module/Calendar/types.js.map +1 -0
- package/module/Card/Card.js +344 -0
- package/module/Card/Card.js.map +2 -0
- package/module/CheckBox/CheckBox.js +212 -0
- package/module/CheckBox/CheckBox.js.map +2 -0
- package/module/CheckBox/CheckBoxItem.js +198 -0
- package/module/CheckBox/CheckBoxItem.js.map +2 -0
- package/module/CheckBox/GroupCheckBox.js +149 -0
- package/module/CheckBox/GroupCheckBox.js.map +1 -0
- package/module/CircularProgress/CircularProgress.js +67 -0
- package/module/CircularProgress/CircularProgress.js.map +2 -0
- package/module/DashboardCard/DashboardCard.js +260 -0
- package/module/DashboardCard/DashboardCard.js.map +1 -0
- package/module/DataCell/DataCell.js +579 -0
- package/module/DataCell/DataCell.js.map +2 -0
- package/module/DataCell/index.js +31 -0
- package/module/DataCell/index.js.map +2 -0
- package/module/DataTable/DataTable.js +282 -0
- package/module/DataTable/DataTable.js.map +2 -0
- package/module/DataTable/index.js +12 -0
- package/module/DataTable/index.js.map +2 -0
- package/module/DeviceSelectionModal/DeviceSelectionModal.js +419 -0
- package/module/DeviceSelectionModal/DeviceSelectionModal.js.map +2 -0
- package/module/Drawer/Drawer.js +195 -0
- package/module/Drawer/Drawer.js.map +1 -0
- package/module/Dropdown/Dropdown.js +723 -0
- package/module/Dropdown/Dropdown.js.map +1 -0
- package/module/Dropdown/InputDropdown.js +245 -0
- package/module/Dropdown/InputDropdown.js.map +2 -0
- package/module/ExternalLink/ExternalLink.js +200 -0
- package/module/ExternalLink/ExternalLink.js.map +2 -0
- package/module/Gantt/Gantt.js +236 -0
- package/module/Gantt/Gantt.js.map +2 -0
- package/module/Gantt/GanttInnerElementType.js +175 -0
- package/module/Gantt/GanttInnerElementType.js.map +2 -0
- package/module/Gantt/helper.js +377 -0
- package/module/Gantt/helper.js.map +1 -0
- package/module/Gantt/types.js +12 -0
- package/module/Gantt/types.js.map +1 -0
- package/module/Grid/FixedSizeGrid.js +191 -0
- package/module/Grid/FixedSizeGrid.js.map +2 -0
- package/module/Grid/Grid.base.js +612 -0
- package/module/Grid/Grid.base.js.map +2 -0
- package/module/Grid/StaticFixedSizeGrid.js +497 -0
- package/module/Grid/StaticFixedSizeGrid.js.map +2 -0
- package/module/Grid/VariableSizeGrid.js +300 -0
- package/module/Grid/VariableSizeGrid.js.map +1 -0
- package/module/Grid/helper.js +58 -0
- package/module/Grid/helper.js.map +2 -0
- package/module/Grid/timer.js +29 -0
- package/module/Grid/timer.js.map +1 -0
- package/module/Header/Header.js +277 -0
- package/module/Header/Header.js.map +2 -0
- package/module/HelloWave/HelloWave.js +98 -0
- package/module/HelloWave/HelloWave.js.map +2 -0
- package/module/Hoverable/Hoverable.js +130 -0
- package/module/Hoverable/Hoverable.js.map +2 -0
- package/module/IconText/IconText.js +161 -0
- package/module/IconText/IconText.js.map +2 -0
- package/module/Icons/TapasIcon.js +193 -0
- package/module/Icons/TapasIcon.js.map +2 -0
- package/module/Icons/TapasIconExpo.js +171 -0
- package/module/Icons/TapasIconExpo.js.map +2 -0
- package/module/Icons/expoFontLoader.js +354 -0
- package/module/Icons/expoFontLoader.js.map +2 -0
- package/module/Icons/fontLoader.js +410 -0
- package/module/Icons/fontLoader.js.map +1 -0
- package/module/Icons/index.js +67 -0
- package/module/Icons/index.js.map +1 -0
- package/module/Icons/smartFontLoader.js +501 -0
- package/module/Icons/smartFontLoader.js.map +2 -0
- package/module/Image/Image.js +217 -0
- package/module/Image/Image.js.map +2 -0
- package/module/Image/PreviewImg.js +176 -0
- package/module/Image/PreviewImg.js.map +1 -0
- package/module/Input/Input.js +176 -0
- package/module/Input/Input.js.map +1 -0
- package/module/Layout/DrawerContext.js +100 -0
- package/module/Layout/DrawerContext.js.map +2 -0
- package/module/Layout/Layout.js +170 -0
- package/module/Layout/Layout.js.map +2 -0
- package/module/Layout/ToastContext.js +87 -0
- package/module/Layout/ToastContext.js.map +2 -0
- package/module/Layout/index.js +48 -0
- package/module/Layout/index.js.map +2 -0
- package/module/LineChart/LineChart.js +271 -0
- package/module/LineChart/LineChart.js.map +2 -0
- package/module/LineChart/index.js +12 -0
- package/module/LineChart/index.js.map +2 -0
- package/module/ListItem/ListItem.js +269 -0
- package/module/ListItem/ListItem.js.map +1 -0
- package/module/Loading/Loading.js +136 -0
- package/module/MessageBox/MessageBox.js +243 -0
- package/module/MessageBox/MessageBox.js.map +1 -0
- package/module/MultiSelector/MultiSelector.js +669 -0
- package/module/MultiSelector/MultiSelector.js.map +2 -0
- package/module/MultiSelector/index.js +18 -0
- package/module/MultiSelector/index.js.map +2 -0
- package/module/Navigation/Navigation.js +284 -0
- package/module/Navigation/Navigation.js.map +1 -0
- package/module/Notification/Notification.js +289 -0
- package/module/Notification/Notification.js.map +1 -0
- package/module/Notification/index.js +18 -0
- package/module/Notification/index.js.map +2 -0
- package/module/NumericInput/NumericInput.js +200 -0
- package/module/NumericInput/NumericInput.js.map +2 -0
- package/module/Overlay/Overlay.js +56 -0
- package/module/Pagination/Pagination.js +318 -0
- package/module/Pagination/Pagination.js.map +1 -0
- package/module/PieChart/PieChart.js +165 -0
- package/module/PieChart/PieChart.js.map +1 -0
- package/module/PieChart/index.js +12 -0
- package/module/PieChart/index.js.map +2 -0
- package/module/Popover/Popover.js +212 -0
- package/module/Popover/Popover.js.map +2 -0
- package/module/Progress/Progress.js +204 -0
- package/module/Progress/Progress.js.map +2 -0
- package/module/Quantity/Quantity.js +239 -0
- package/module/Quantity/Quantity.js.map +2 -0
- package/module/RadioButton/RadioButton.js +179 -0
- package/module/RadioButton/RadioButton.js.map +2 -0
- package/module/ReasonModal/ReasonModal.js +280 -0
- package/module/ReasonModal/ReasonModal.js.map +2 -0
- package/module/ReasonModal/index.js +30 -0
- package/module/ReasonModal/index.js.map +2 -0
- package/module/ScanButton/ScanButton.js +174 -0
- package/module/SearchInput/SearchInput.js +196 -0
- package/module/SearchInput/SearchInput.js.map +2 -0
- package/module/SearchInput/index.js +18 -0
- package/module/SearchInput/index.js.map +2 -0
- package/module/SheetTitle/SheetTitle.js +97 -0
- package/module/SheetTitle/SheetTitle.js.map +2 -0
- package/module/Shell/Shell.js +172 -0
- package/module/Shell/Shell.js.map +2 -0
- package/module/Shell/styles.js +35 -0
- package/module/Shell/styles.js.map +2 -0
- package/module/Shell/types.js +8 -0
- package/module/Shell/types.js.map +2 -0
- package/module/StatisticCard/StatisticCard.js +121 -0
- package/module/StatisticCard/StatisticCard.js.map +1 -0
- package/module/StatisticCard/index.js +10 -0
- package/module/StatisticCard/index.js.map +2 -0
- package/module/Status/Status.js +145 -0
- package/module/Status/Status.js.map +2 -0
- package/module/Steps/Steps.js +153 -0
- package/module/Steps/Steps.js.map +2 -0
- package/module/TabTitle/TabTitle.js +92 -0
- package/module/TabTitle/TabTitle.js.map +2 -0
- package/module/TabTitle/index.js +31 -0
- package/module/TabTitle/index.js.map +2 -0
- package/module/TableColumnHeader/TableColumnHeader.js +257 -0
- package/module/TableColumnHeader/TableColumnHeader.js.map +1 -0
- package/module/TableColumnHeader/index.js +32 -0
- package/module/TableColumnHeader/index.js.map +2 -0
- package/module/Tag/Tag.js +153 -0
- package/module/Tag/Tag.js.map +1 -0
- package/module/Task/Task.js.map +2 -0
- package/module/Task/type.js +14 -0
- package/module/Task/type.js.map +1 -0
- package/module/Text/Text.js +204 -0
- package/module/Text/Text.js.map +1 -0
- package/module/TextArea/TextArea.js +326 -0
- package/module/TextArea/TextArea.js.map +2 -0
- package/module/Theme/ThemeProvider.js +33 -0
- package/module/Theme/ThemeProvider.js.map +1 -0
- package/module/Theme/defaultTheme.js +231 -0
- package/module/Theme/defaultTheme.js.map +2 -0
- package/module/Timeline/Timeline.js +266 -0
- package/module/Timeline/Timeline.js.map +2 -0
- package/module/Toast/Toast.js +208 -0
- package/module/Toast/Toast.js.map +2 -0
- package/module/UserSwitcher/UserSwitcher.js +293 -0
- package/module/UserSwitcher/UserSwitcher.js.map +1 -0
- package/module/UserSwitcher/index.js +32 -0
- package/module/UserSwitcher/index.js.map +1 -0
- package/module/common.js +13 -0
- package/module/common.js.map +2 -0
- package/module/index.js +728 -0
- package/module/index.js.map +2 -0
- package/package.json +67 -197
- package/typescript/BarChart/BarChart.d.ts +29 -0
- package/typescript/BarChart/BarChart.d.ts.map +1 -0
- package/typescript/BarChart/index.d.ts +3 -0
- package/typescript/BarChart/index.d.ts.map +1 -0
- package/typescript/DataTable/DataTable.d.ts +33 -0
- package/typescript/DataTable/DataTable.d.ts.map +1 -0
- package/typescript/DataTable/index.d.ts +3 -0
- package/typescript/DataTable/index.d.ts.map +1 -0
- package/typescript/LineChart/LineChart.d.ts +33 -0
- package/typescript/LineChart/LineChart.d.ts.map +1 -0
- package/typescript/LineChart/index.d.ts +3 -0
- package/typescript/LineChart/index.d.ts.map +1 -0
- package/typescript/Navigation/Navigation.d.ts.map +1 -0
- package/typescript/PieChart/PieChart.d.ts +22 -0
- package/typescript/PieChart/PieChart.d.ts.map +1 -0
- package/typescript/PieChart/index.d.ts +3 -0
- package/typescript/PieChart/index.d.ts.map +1 -0
- package/typescript/StatisticCard/StatisticCard.d.ts +19 -0
- package/typescript/StatisticCard/StatisticCard.d.ts.map +1 -0
- package/typescript/StatisticCard/index.d.ts +3 -0
- package/typescript/StatisticCard/index.d.ts.map +1 -0
- package/typescript/index.d.ts +105 -0
- package/typescript/index.d.ts.map +1 -0
- package/components/Alert/Alert.tsx +0 -83
- package/components/AnimatedNavItem/AnimatedNavItem.tsx +0 -246
- package/components/AnimatedNavItem/index.tsx +0 -3
- package/components/Button/Button.tsx +0 -86
- package/components/Button/ButtonGroup.tsx +0 -148
- package/components/Button/react-native-hoverable.d.ts +0 -14
- package/components/Calendar/Calendar.base.tsx +0 -279
- package/components/Calendar/Calendar.tsx +0 -105
- package/components/Calendar/ConcreteTimeSelector.tsx +0 -479
- package/components/Calendar/CustomRange.tsx +0 -538
- package/components/Calendar/DaySelector.tsx +0 -159
- package/components/Calendar/MonthSelector.tsx +0 -154
- package/components/Calendar/TimeSelector.tsx +0 -493
- package/components/Calendar/WeekDaySelector.tsx +0 -154
- package/components/Calendar/helper.ts +0 -138
- package/components/Calendar/local.ts +0 -121
- package/components/Calendar/types.ts +0 -111
- package/components/Card/Card.tsx +0 -276
- package/components/CheckBox/CheckBox.tsx +0 -157
- package/components/CheckBox/CheckBoxItem.tsx +0 -133
- package/components/CheckBox/GroupCheckBox.tsx +0 -87
- package/components/CircularProgress/CircularProgress.tsx +0 -45
- package/components/Collapsible/Collapsible.tsx +0 -88
- package/components/DashboardCard/DashboardCard.tsx +0 -222
- package/components/DataCell/DataCell.tsx +0 -670
- package/components/DataCell/index.tsx +0 -9
- package/components/DeviceSelectionModal/DeviceSelectionModal.tsx +0 -368
- package/components/DraggableFlatList/DraggableFlatList.tsx +0 -12
- package/components/Drawer/Drawer.tsx +0 -224
- package/components/Dropdown/CustomDropdown.tsx +0 -251
- package/components/Dropdown/Dropdown.tsx +0 -817
- package/components/Dropdown/InputDropdown.tsx +0 -186
- package/components/ExternalLink/ExternalLink.tsx +0 -69
- package/components/Gantt/Accessories.tsx +0 -302
- package/components/Gantt/Gantt.tsx +0 -246
- package/components/Gantt/GanttInnerElementType.tsx +0 -131
- package/components/Gantt/helper.ts +0 -382
- package/components/Gantt/types.ts +0 -108
- package/components/Grid/FixedSizeGrid.tsx +0 -248
- package/components/Grid/Grid.base.tsx +0 -933
- package/components/Grid/StaticFixedSizeGrid.tsx +0 -511
- package/components/Grid/VariableSizeGrid.tsx +0 -514
- package/components/Grid/helper.ts +0 -69
- package/components/Grid/timer.ts +0 -32
- package/components/Header/Header.tsx +0 -240
- package/components/HelloWave/HelloWave.tsx +0 -70
- package/components/Hoverable/Hoverable.tsx +0 -110
- package/components/IconText/IconText.tsx +0 -132
- package/components/Icons/TapasIcon.tsx +0 -159
- package/components/Icons/TapasIconExpo.tsx +0 -115
- package/components/Icons/expoFontLoader.ts +0 -203
- package/components/Icons/fontLoader.ts +0 -247
- package/components/Icons/index.tsx +0 -19
- package/components/Icons/smartFontLoader.ts +0 -318
- package/components/Image/Image.tsx +0 -157
- package/components/Image/PreviewImg.tsx +0 -137
- package/components/Input/Input.tsx +0 -100
- package/components/Layout/DrawerContext.tsx +0 -31
- package/components/Layout/Layout.tsx +0 -115
- package/components/Layout/ToastContext.tsx +0 -29
- package/components/Layout/index.tsx +0 -24
- package/components/ListItem/ListItem.tsx +0 -307
- package/components/Loading/Loading.tsx +0 -94
- package/components/MessageBox/MessageBox.tsx +0 -243
- package/components/MultiSelector/MultiSelector.tsx +0 -627
- package/components/MultiSelector/index.tsx +0 -2
- package/components/Navigation/Navigation.tsx +0 -326
- package/components/Notification/Notification.tsx +0 -289
- package/components/Notification/index.tsx +0 -2
- package/components/NumericInput/NumericInput.tsx +0 -161
- package/components/Overlay/Overlay.tsx +0 -30
- package/components/Pagination/Pagination.tsx +0 -271
- package/components/Popover/Popover.tsx +0 -172
- package/components/Progress/Progress.tsx +0 -209
- package/components/Quantity/Quantity.tsx +0 -195
- package/components/Quantity/index.tsx +0 -2
- package/components/RadioButton/RadioButton.tsx +0 -119
- package/components/ReasonModal/ReasonModal.tsx +0 -223
- package/components/ReasonModal/index.tsx +0 -3
- package/components/ScanButton/ScanButton.tsx +0 -139
- package/components/SearchInput/SearchInput.tsx +0 -122
- package/components/SearchInput/index.tsx +0 -2
- package/components/SheetTitle/SheetTitle.tsx +0 -84
- package/components/Shell/Shell.tsx +0 -116
- package/components/Shell/styles.ts +0 -29
- package/components/Shell/types.ts +0 -23
- package/components/Status/Status.tsx +0 -124
- package/components/Steps/Steps.tsx +0 -177
- package/components/TabTitle/TabTitle.tsx +0 -89
- package/components/TabTitle/index.tsx +0 -3
- package/components/TableColumnHeader/TableColumnHeader.tsx +0 -273
- package/components/TableColumnHeader/index.tsx +0 -7
- package/components/Tag/Tag.tsx +0 -92
- package/components/Task/Task.tsx +0 -309
- package/components/Task/type.ts +0 -6
- package/components/Text/Text.tsx +0 -152
- package/components/TextArea/TextArea.tsx +0 -256
- package/components/Theme/ThemeProvider.tsx +0 -13
- package/components/Theme/defaultTheme.ts +0 -210
- package/components/Theme/themed.d.ts +0 -102
- package/components/Timeline/Timeline.tsx +0 -230
- package/components/Toast/Toast.tsx +0 -167
- package/components/UserSwitcher/UserSwitcher.tsx +0 -273
- package/components/UserSwitcher/index.tsx +0 -3
- package/components/common.ts +0 -8
- package/components/index.tsx +0 -157
- package/package/README.md +0 -103
- package/package/assets/assets/adaptive-icon.png +0 -0
- package/package/assets/assets/favicon.png +0 -0
- package/package/assets/assets/fonts/customfont.ttf +0 -0
- package/package/assets/assets/icon.png +0 -0
- package/package/assets/assets/logo.png +0 -0
- package/package/assets/assets/splash.png +0 -0
- package/package/assets/assets/svg/customfont.svg +0 -332
- package/package/assets/assets/svg/logo.svg +0 -9
- package/package/assets/assets/tapas/favicon.png +0 -0
- package/package/assets/assets/tapas/logo.png +0 -0
- package/package/assets/assets/tapas/logo_no_word.png +0 -0
- package/package/assets/assets/tapas/logo_transparent_white.png +0 -0
- package/package/commonjs/Alert/Alert.js +0 -82
- package/package/commonjs/Alert/Alert.js.map +0 -1
- package/package/commonjs/AnimatedNavItem/AnimatedNavItem.js +0 -175
- package/package/commonjs/AnimatedNavItem/AnimatedNavItem.js.map +0 -1
- package/package/commonjs/Button/Button.js +0 -83
- package/package/commonjs/Button/Button.js.map +0 -1
- package/package/commonjs/Button/ButtonGroup.js +0 -143
- package/package/commonjs/Button/ButtonGroup.js.map +0 -1
- package/package/commonjs/Calendar/Calendar.base.js +0 -280
- package/package/commonjs/Calendar/Calendar.base.js.map +0 -1
- package/package/commonjs/Calendar/Calendar.js +0 -95
- package/package/commonjs/Calendar/Calendar.js.map +0 -1
- package/package/commonjs/Calendar/ConcreteTimeSelector.js +0 -401
- package/package/commonjs/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/commonjs/Calendar/CustomRange.js +0 -475
- package/package/commonjs/Calendar/CustomRange.js.map +0 -1
- package/package/commonjs/Calendar/DaySelector.js +0 -132
- package/package/commonjs/Calendar/DaySelector.js.map +0 -1
- package/package/commonjs/Calendar/MonthSelector.js +0 -135
- package/package/commonjs/Calendar/MonthSelector.js.map +0 -1
- package/package/commonjs/Calendar/TimeSelector.js +0 -418
- package/package/commonjs/Calendar/TimeSelector.js.map +0 -1
- package/package/commonjs/Calendar/WeekDaySelector.js +0 -135
- package/package/commonjs/Calendar/WeekDaySelector.js.map +0 -1
- package/package/commonjs/Calendar/helper.js +0 -135
- package/package/commonjs/Calendar/helper.js.map +0 -1
- package/package/commonjs/Calendar/local.js.map +0 -1
- package/package/commonjs/Calendar/types.js +0 -26
- package/package/commonjs/Calendar/types.js.map +0 -1
- package/package/commonjs/Card/Card.js +0 -220
- package/package/commonjs/Card/Card.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBox.js +0 -156
- package/package/commonjs/CheckBox/CheckBox.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBoxItem.js +0 -133
- package/package/commonjs/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/commonjs/CheckBox/GroupCheckBox.js +0 -90
- package/package/commonjs/CheckBox/GroupCheckBox.js.map +0 -1
- package/package/commonjs/CircularProgress/CircularProgress.js +0 -52
- package/package/commonjs/CircularProgress/CircularProgress.js.map +0 -1
- package/package/commonjs/Collapsible/Collapsible.js.map +0 -1
- package/package/commonjs/DashboardCard/DashboardCard.js +0 -206
- package/package/commonjs/DashboardCard/DashboardCard.js.map +0 -1
- package/package/commonjs/DataCell/DataCell.js +0 -525
- package/package/commonjs/DataCell/DataCell.js.map +0 -1
- package/package/commonjs/DataCell/index.js.map +0 -1
- package/package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js +0 -303
- package/package/commonjs/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -1
- package/package/commonjs/DraggableFlatList/DraggableFlatList.js +0 -18
- package/package/commonjs/DraggableFlatList/DraggableFlatList.js.map +0 -1
- package/package/commonjs/Drawer/Drawer.js +0 -178
- package/package/commonjs/Drawer/Drawer.js.map +0 -1
- package/package/commonjs/Dropdown/CustomDropdown.js +0 -227
- package/package/commonjs/Dropdown/CustomDropdown.js.map +0 -1
- package/package/commonjs/Dropdown/Dropdown.js +0 -645
- package/package/commonjs/Dropdown/Dropdown.js.map +0 -1
- package/package/commonjs/Dropdown/InputDropdown.js +0 -166
- package/package/commonjs/Dropdown/InputDropdown.js.map +0 -1
- package/package/commonjs/ExternalLink/ExternalLink.js +0 -57
- package/package/commonjs/ExternalLink/ExternalLink.js.map +0 -1
- package/package/commonjs/Gantt/Accessories.js +0 -254
- package/package/commonjs/Gantt/Accessories.js.map +0 -1
- package/package/commonjs/Gantt/Gantt.js +0 -164
- package/package/commonjs/Gantt/Gantt.js.map +0 -1
- package/package/commonjs/Gantt/GanttInnerElementType.js +0 -112
- package/package/commonjs/Gantt/GanttInnerElementType.js.map +0 -1
- package/package/commonjs/Gantt/helper.js +0 -383
- package/package/commonjs/Gantt/helper.js.map +0 -1
- package/package/commonjs/Gantt/types.js +0 -16
- package/package/commonjs/Gantt/types.js.map +0 -1
- package/package/commonjs/Grid/FixedSizeGrid.js +0 -176
- package/package/commonjs/Grid/FixedSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/StaticFixedSizeGrid.js +0 -373
- package/package/commonjs/Grid/StaticFixedSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/VariableSizeGrid.js +0 -285
- package/package/commonjs/Grid/VariableSizeGrid.js.map +0 -1
- package/package/commonjs/Grid/helper.js +0 -59
- package/package/commonjs/Grid/helper.js.map +0 -1
- package/package/commonjs/Grid/timer.js +0 -27
- package/package/commonjs/Grid/timer.js.map +0 -1
- package/package/commonjs/Header/Header.js +0 -196
- package/package/commonjs/Header/Header.js.map +0 -1
- package/package/commonjs/HelloWave/HelloWave.js +0 -64
- package/package/commonjs/HelloWave/HelloWave.js.map +0 -1
- package/package/commonjs/Hoverable/Hoverable.js +0 -93
- package/package/commonjs/Hoverable/Hoverable.js.map +0 -1
- package/package/commonjs/IconText/IconText.js +0 -112
- package/package/commonjs/IconText/IconText.js.map +0 -1
- package/package/commonjs/Icons/TapasIcon.js +0 -138
- package/package/commonjs/Icons/TapasIcon.js.map +0 -1
- package/package/commonjs/Icons/TapasIconExpo.js +0 -112
- package/package/commonjs/Icons/TapasIconExpo.js.map +0 -1
- package/package/commonjs/Icons/expoFontLoader.js +0 -206
- package/package/commonjs/Icons/expoFontLoader.js.map +0 -1
- package/package/commonjs/Icons/fontLoader.js +0 -239
- package/package/commonjs/Icons/fontLoader.js.map +0 -1
- package/package/commonjs/Icons/index.js +0 -60
- package/package/commonjs/Icons/index.js.map +0 -1
- package/package/commonjs/Icons/smartFontLoader.js +0 -313
- package/package/commonjs/Icons/smartFontLoader.js.map +0 -1
- package/package/commonjs/Image/Image.js +0 -133
- package/package/commonjs/Image/Image.js.map +0 -1
- package/package/commonjs/Image/PreviewImg.js +0 -120
- package/package/commonjs/Image/PreviewImg.js.map +0 -1
- package/package/commonjs/Input/Input.js +0 -107
- package/package/commonjs/Input/Input.js.map +0 -1
- package/package/commonjs/Layout/Layout.js +0 -112
- package/package/commonjs/Layout/Layout.js.map +0 -1
- package/package/commonjs/Layout/ToastContext.js +0 -38
- package/package/commonjs/Layout/ToastContext.js.map +0 -1
- package/package/commonjs/Layout/index.js +0 -47
- package/package/commonjs/Layout/index.js.map +0 -1
- package/package/commonjs/ListItem/ListItem.js +0 -202
- package/package/commonjs/ListItem/ListItem.js.map +0 -1
- package/package/commonjs/Loading/Loading.js +0 -96
- package/package/commonjs/Loading/Loading.js.map +0 -1
- package/package/commonjs/MessageBox/MessageBox.js +0 -193
- package/package/commonjs/MessageBox/MessageBox.js.map +0 -1
- package/package/commonjs/MultiSelector/MultiSelector.js +0 -487
- package/package/commonjs/MultiSelector/MultiSelector.js.map +0 -1
- package/package/commonjs/Navigation/Navigation.js +0 -200
- package/package/commonjs/Navigation/Navigation.js.map +0 -1
- package/package/commonjs/Notification/Notification.js +0 -220
- package/package/commonjs/Notification/Notification.js.map +0 -1
- package/package/commonjs/Notification/index.js +0 -14
- package/package/commonjs/Notification/index.js.map +0 -1
- package/package/commonjs/NumericInput/NumericInput.js +0 -155
- package/package/commonjs/NumericInput/NumericInput.js.map +0 -1
- package/package/commonjs/Overlay/Overlay.js +0 -34
- package/package/commonjs/Overlay/Overlay.js.map +0 -1
- package/package/commonjs/Pagination/Pagination.js +0 -260
- package/package/commonjs/Pagination/Pagination.js.map +0 -1
- package/package/commonjs/Popover/Popover.js +0 -161
- package/package/commonjs/Popover/Popover.js.map +0 -1
- package/package/commonjs/Quantity/Quantity.js +0 -147
- package/package/commonjs/Quantity/Quantity.js.map +0 -1
- package/package/commonjs/RadioButton/RadioButton.js +0 -105
- package/package/commonjs/RadioButton/RadioButton.js.map +0 -1
- package/package/commonjs/ReasonModal/ReasonModal.js +0 -182
- package/package/commonjs/ReasonModal/ReasonModal.js.map +0 -1
- package/package/commonjs/ScanButton/ScanButton.js +0 -136
- package/package/commonjs/ScanButton/ScanButton.js.map +0 -1
- package/package/commonjs/SearchInput/SearchInput.js +0 -109
- package/package/commonjs/SearchInput/SearchInput.js.map +0 -1
- package/package/commonjs/SearchInput/index.js +0 -14
- package/package/commonjs/SearchInput/index.js.map +0 -1
- package/package/commonjs/SheetTitle/SheetTitle.js +0 -89
- package/package/commonjs/SheetTitle/SheetTitle.js.map +0 -1
- package/package/commonjs/Shell/Shell.js +0 -105
- package/package/commonjs/Shell/Shell.js.map +0 -1
- package/package/commonjs/Shell/styles.js.map +0 -1
- package/package/commonjs/Shell/types.js.map +0 -1
- package/package/commonjs/Status/Status.js +0 -122
- package/package/commonjs/Status/Status.js.map +0 -1
- package/package/commonjs/TabTitle/TabTitle.js +0 -64
- package/package/commonjs/TabTitle/TabTitle.js.map +0 -1
- package/package/commonjs/TabTitle/index.js +0 -27
- package/package/commonjs/TabTitle/index.js.map +0 -1
- package/package/commonjs/TableColumnHeader/TableColumnHeader.js +0 -192
- package/package/commonjs/TableColumnHeader/TableColumnHeader.js.map +0 -1
- package/package/commonjs/Tag/Tag.js +0 -99
- package/package/commonjs/Tag/Tag.js.map +0 -1
- package/package/commonjs/Task/Task.js +0 -247
- package/package/commonjs/Task/Task.js.map +0 -1
- package/package/commonjs/Task/type.js +0 -14
- package/package/commonjs/Task/type.js.map +0 -1
- package/package/commonjs/Text/Text.js +0 -138
- package/package/commonjs/Text/Text.js.map +0 -1
- package/package/commonjs/Theme/ThemeProvider.js +0 -28
- package/package/commonjs/Theme/ThemeProvider.js.map +0 -1
- package/package/commonjs/Timeline/Timeline.js +0 -221
- package/package/commonjs/Timeline/Timeline.js.map +0 -1
- package/package/commonjs/Toast/Toast.js +0 -144
- package/package/commonjs/Toast/Toast.js.map +0 -1
- package/package/commonjs/UserSwitcher/UserSwitcher.js +0 -219
- package/package/commonjs/UserSwitcher/UserSwitcher.js.map +0 -1
- package/package/commonjs/common.js +0 -14
- package/package/commonjs/common.js.map +0 -1
- package/package/commonjs/index.js +0 -830
- package/package/commonjs/index.js.map +0 -1
- package/package/init.js +0 -179
- package/package/module/Alert/Alert.js +0 -73
- package/package/module/Alert/Alert.js.map +0 -1
- package/package/module/AnimatedNavItem/AnimatedNavItem.js +0 -168
- package/package/module/AnimatedNavItem/AnimatedNavItem.js.map +0 -1
- package/package/module/AnimatedNavItem/README.md +0 -520
- package/package/module/AnimatedNavItem/index.js +0 -3
- package/package/module/AnimatedNavItem/index.js.map +0 -1
- package/package/module/Button/Button.js +0 -73
- package/package/module/Button/Button.js.map +0 -1
- package/package/module/Button/ButtonGroup.js +0 -134
- package/package/module/Button/ButtonGroup.js.map +0 -1
- package/package/module/Calendar/Calendar.base.js +0 -272
- package/package/module/Calendar/Calendar.base.js.map +0 -1
- package/package/module/Calendar/Calendar.js +0 -86
- package/package/module/Calendar/Calendar.js.map +0 -1
- package/package/module/Calendar/ConcreteTimeSelector.js +0 -392
- package/package/module/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/module/Calendar/CustomRange.js +0 -466
- package/package/module/Calendar/CustomRange.js.map +0 -1
- package/package/module/Calendar/DaySelector.js +0 -123
- package/package/module/Calendar/DaySelector.js.map +0 -1
- package/package/module/Calendar/MonthSelector.js +0 -126
- package/package/module/Calendar/MonthSelector.js.map +0 -1
- package/package/module/Calendar/TimeSelector.js +0 -409
- package/package/module/Calendar/TimeSelector.js.map +0 -1
- package/package/module/Calendar/WeekDaySelector.js +0 -126
- package/package/module/Calendar/WeekDaySelector.js.map +0 -1
- package/package/module/Calendar/helper.js +0 -121
- package/package/module/Calendar/helper.js.map +0 -1
- package/package/module/Calendar/local.js +0 -72
- package/package/module/Calendar/local.js.map +0 -1
- package/package/module/Calendar/types.js +0 -20
- package/package/module/Calendar/types.js.map +0 -1
- package/package/module/Card/Card.js +0 -211
- package/package/module/Card/Card.js.map +0 -1
- package/package/module/CheckBox/CheckBox.js +0 -147
- package/package/module/CheckBox/CheckBox.js.map +0 -1
- package/package/module/CheckBox/CheckBoxItem.js +0 -124
- package/package/module/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/module/CheckBox/GroupCheckBox.js +0 -81
- package/package/module/CheckBox/GroupCheckBox.js.map +0 -1
- package/package/module/CircularProgress/CircularProgress.js +0 -45
- package/package/module/CircularProgress/CircularProgress.js.map +0 -1
- package/package/module/DashboardCard/DashboardCard.js +0 -197
- package/package/module/DashboardCard/DashboardCard.js.map +0 -1
- package/package/module/DataCell/DataCell.js +0 -517
- package/package/module/DataCell/DataCell.js.map +0 -1
- package/package/module/DataCell/README.md +0 -1042
- package/package/module/DataCell/index.js +0 -3
- package/package/module/DataCell/index.js.map +0 -1
- package/package/module/DeviceSelectionModal/DeviceSelectionModal.js +0 -295
- package/package/module/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -1
- package/package/module/Drawer/Drawer.js +0 -171
- package/package/module/Drawer/Drawer.js.map +0 -1
- package/package/module/Dropdown/Dropdown.js +0 -626
- package/package/module/Dropdown/Dropdown.js.map +0 -1
- package/package/module/Dropdown/InputDropdown.js +0 -146
- package/package/module/Dropdown/InputDropdown.js.map +0 -1
- package/package/module/ExternalLink/ExternalLink.js +0 -50
- package/package/module/ExternalLink/ExternalLink.js.map +0 -1
- package/package/module/Gantt/Gantt.js +0 -156
- package/package/module/Gantt/Gantt.js.map +0 -1
- package/package/module/Gantt/GanttInnerElementType.js +0 -103
- package/package/module/Gantt/GanttInnerElementType.js.map +0 -1
- package/package/module/Gantt/helper.js +0 -365
- package/package/module/Gantt/helper.js.map +0 -1
- package/package/module/Gantt/types.js +0 -10
- package/package/module/Gantt/types.js.map +0 -1
- package/package/module/Grid/FixedSizeGrid.js +0 -169
- package/package/module/Grid/FixedSizeGrid.js.map +0 -1
- package/package/module/Grid/Grid.base.js +0 -527
- package/package/module/Grid/Grid.base.js.map +0 -1
- package/package/module/Grid/StaticFixedSizeGrid.js +0 -364
- package/package/module/Grid/StaticFixedSizeGrid.js.map +0 -1
- package/package/module/Grid/VariableSizeGrid.js +0 -278
- package/package/module/Grid/VariableSizeGrid.js.map +0 -1
- package/package/module/Grid/helper.js +0 -52
- package/package/module/Grid/helper.js.map +0 -1
- package/package/module/Grid/timer.js +0 -20
- package/package/module/Grid/timer.js.map +0 -1
- package/package/module/Header/Header.js +0 -188
- package/package/module/Header/Header.js.map +0 -1
- package/package/module/HelloWave/HelloWave.js +0 -57
- package/package/module/HelloWave/HelloWave.js.map +0 -1
- package/package/module/Hoverable/Hoverable.js +0 -85
- package/package/module/Hoverable/Hoverable.js.map +0 -1
- package/package/module/IconText/IconText.js +0 -105
- package/package/module/IconText/IconText.js.map +0 -1
- package/package/module/Icons/README.md +0 -182
- package/package/module/Icons/TapasIcon.js +0 -131
- package/package/module/Icons/TapasIcon.js.map +0 -1
- package/package/module/Icons/TapasIconExpo.js +0 -103
- package/package/module/Icons/TapasIconExpo.js.map +0 -1
- package/package/module/Icons/expoFontLoader.js +0 -199
- package/package/module/Icons/expoFontLoader.js.map +0 -1
- package/package/module/Icons/fontLoader.js +0 -232
- package/package/module/Icons/fontLoader.js.map +0 -1
- package/package/module/Icons/icon-categories.json +0 -340
- package/package/module/Icons/index.js +0 -10
- package/package/module/Icons/index.js.map +0 -1
- package/package/module/Icons/real-icon-mapping.json +0 -2578
- package/package/module/Icons/selection.json +0 -1
- package/package/module/Icons/smartFontLoader.js +0 -306
- package/package/module/Icons/smartFontLoader.js.map +0 -1
- package/package/module/Image/Image.js +0 -124
- package/package/module/Image/Image.js.map +0 -1
- package/package/module/Image/PreviewImg.js +0 -111
- package/package/module/Image/PreviewImg.js.map +0 -1
- package/package/module/Input/Input.js +0 -98
- package/package/module/Input/Input.js.map +0 -1
- package/package/module/Layout/DrawerContext.js +0 -31
- package/package/module/Layout/DrawerContext.js.map +0 -1
- package/package/module/Layout/Layout.js +0 -104
- package/package/module/Layout/Layout.js.map +0 -1
- package/package/module/Layout/ToastContext.js +0 -29
- package/package/module/Layout/ToastContext.js.map +0 -1
- package/package/module/Layout/index.js +0 -15
- package/package/module/Layout/index.js.map +0 -1
- package/package/module/ListItem/ListItem.js +0 -193
- package/package/module/ListItem/ListItem.js.map +0 -1
- package/package/module/Loading/Loading.js +0 -88
- package/package/module/Loading/README.md +0 -160
- package/package/module/MessageBox/MessageBox.js +0 -184
- package/package/module/MessageBox/MessageBox.js.map +0 -1
- package/package/module/MultiSelector/MultiSelector.js +0 -478
- package/package/module/MultiSelector/MultiSelector.js.map +0 -1
- package/package/module/MultiSelector/README.md +0 -246
- package/package/module/MultiSelector/index.js +0 -2
- package/package/module/MultiSelector/index.js.map +0 -1
- package/package/module/Navigation/Navigation.js +0 -191
- package/package/module/Navigation/Navigation.js.map +0 -1
- package/package/module/Notification/Notification.js +0 -212
- package/package/module/Notification/Notification.js.map +0 -1
- package/package/module/Notification/README.md +0 -158
- package/package/module/Notification/index.js +0 -2
- package/package/module/Notification/index.js.map +0 -1
- package/package/module/NumericInput/NumericInput.js +0 -146
- package/package/module/NumericInput/NumericInput.js.map +0 -1
- package/package/module/Overlay/Overlay.js +0 -27
- package/package/module/Pagination/Pagination.js +0 -251
- package/package/module/Pagination/Pagination.js.map +0 -1
- package/package/module/Popover/Popover.js +0 -154
- package/package/module/Popover/Popover.js.map +0 -1
- package/package/module/Progress/Progress.js +0 -188
- package/package/module/Progress/Progress.js.map +0 -1
- package/package/module/Quantity/Quantity.js +0 -138
- package/package/module/Quantity/Quantity.js.map +0 -1
- package/package/module/Quantity/README.md +0 -251
- package/package/module/RadioButton/RadioButton.js +0 -97
- package/package/module/RadioButton/RadioButton.js.map +0 -1
- package/package/module/ReasonModal/README.md +0 -320
- package/package/module/ReasonModal/ReasonModal.js +0 -175
- package/package/module/ReasonModal/ReasonModal.js.map +0 -1
- package/package/module/ReasonModal/index.js +0 -3
- package/package/module/ReasonModal/index.js.map +0 -1
- package/package/module/ScanButton/ScanButton.js +0 -129
- package/package/module/SearchInput/README.md +0 -167
- package/package/module/SearchInput/SearchInput.js +0 -102
- package/package/module/SearchInput/SearchInput.js.map +0 -1
- package/package/module/SearchInput/index.js +0 -2
- package/package/module/SearchInput/index.js.map +0 -1
- package/package/module/SheetTitle/SheetTitle.js +0 -82
- package/package/module/SheetTitle/SheetTitle.js.map +0 -1
- package/package/module/Shell/Shell.js +0 -95
- package/package/module/Shell/Shell.js.map +0 -1
- package/package/module/Shell/styles.js +0 -29
- package/package/module/Shell/styles.js.map +0 -1
- package/package/module/Shell/types.js +0 -2
- package/package/module/Shell/types.js.map +0 -1
- package/package/module/Status/Status.js +0 -114
- package/package/module/Status/Status.js.map +0 -1
- package/package/module/Steps/Steps.js +0 -137
- package/package/module/Steps/Steps.js.map +0 -1
- package/package/module/TabTitle/README.md +0 -399
- package/package/module/TabTitle/TabTitle.js +0 -59
- package/package/module/TabTitle/TabTitle.js.map +0 -1
- package/package/module/TabTitle/index.js +0 -3
- package/package/module/TabTitle/index.js.map +0 -1
- package/package/module/TableColumnHeader/README.md +0 -682
- package/package/module/TableColumnHeader/TableColumnHeader.js +0 -185
- package/package/module/TableColumnHeader/TableColumnHeader.js.map +0 -1
- package/package/module/TableColumnHeader/index.js +0 -3
- package/package/module/TableColumnHeader/index.js.map +0 -1
- package/package/module/Tag/Tag.js +0 -90
- package/package/module/Tag/Tag.js.map +0 -1
- package/package/module/Task/Task.js.map +0 -1
- package/package/module/Task/type.js +0 -8
- package/package/module/Task/type.js.map +0 -1
- package/package/module/Text/Text.js +0 -129
- package/package/module/Text/Text.js.map +0 -1
- package/package/module/TextArea/TextArea.js +0 -207
- package/package/module/TextArea/TextArea.js.map +0 -1
- package/package/module/Theme/ThemeProvider.js +0 -21
- package/package/module/Theme/ThemeProvider.js.map +0 -1
- package/package/module/Theme/defaultTheme.js +0 -211
- package/package/module/Theme/defaultTheme.js.map +0 -1
- package/package/module/Timeline/Timeline.js +0 -212
- package/package/module/Timeline/Timeline.js.map +0 -1
- package/package/module/Toast/Toast.js +0 -134
- package/package/module/Toast/Toast.js.map +0 -1
- package/package/module/UserSwitcher/README.md +0 -334
- package/package/module/UserSwitcher/UserSwitcher.js +0 -212
- package/package/module/UserSwitcher/UserSwitcher.js.map +0 -1
- package/package/module/UserSwitcher/index.js +0 -3
- package/package/module/UserSwitcher/index.js.map +0 -1
- package/package/module/common.js +0 -7
- package/package/module/common.js.map +0 -1
- package/package/module/index.js +0 -119
- package/package/module/index.js.map +0 -1
- package/package/package.json +0 -84
- package/package/typescript/Navigation/Navigation.d.ts.map +0 -1
- package/package/typescript/index.d.ts +0 -95
- package/package/typescript/index.d.ts.map +0 -1
- /package/{package/CHANGELOG.md → CHANGELOG.md} +0 -0
- /package/assets/{adaptive-icon.png → assets/adaptive-icon.png} +0 -0
- /package/assets/{favicon.png → assets/favicon.png} +0 -0
- /package/assets/{fonts → assets/fonts}/customfont.ttf +0 -0
- /package/assets/{icon.png → assets/icon.png} +0 -0
- /package/assets/{logo.png → assets/logo.png} +0 -0
- /package/assets/{splash.png → assets/splash.png} +0 -0
- /package/assets/{svg → assets/svg}/customfont.svg +0 -0
- /package/assets/{svg → assets/svg}/logo.svg +0 -0
- /package/assets/{tapas → assets/tapas}/favicon.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo_no_word.png +0 -0
- /package/assets/{tapas → assets/tapas}/logo_transparent_white.png +0 -0
- /package/{components → commonjs}/AnimatedNavItem/README.md +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/local.js +0 -0
- /package/{package/commonjs → commonjs}/Collapsible/Collapsible.js +0 -0
- /package/{components → commonjs}/DataCell/README.md +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/Grid.base.js.map +0 -0
- /package/{components → commonjs}/Icons/README.md +0 -0
- /package/{components → commonjs}/Icons/icon-categories.json +0 -0
- /package/{components → commonjs}/Icons/real-icon-mapping.json +0 -0
- /package/{components → commonjs}/Icons/selection.json +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/DrawerContext.js.map +0 -0
- /package/{components → commonjs}/Loading/README.md +0 -0
- /package/{components → commonjs}/MultiSelector/README.md +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js.map +0 -0
- /package/{components → commonjs}/Notification/README.md +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.js +0 -0
- /package/{package/commonjs → commonjs}/Progress/Progress.js.map +0 -0
- /package/{components → commonjs}/Quantity/README.md +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js.map +0 -0
- /package/{components → commonjs}/ReasonModal/README.md +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js.map +0 -0
- /package/{components → commonjs}/SearchInput/README.md +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/types.js +0 -0
- /package/{package/commonjs → commonjs}/Steps/Steps.js +0 -0
- /package/{package/commonjs → commonjs}/Steps/Steps.js.map +0 -0
- /package/{components → commonjs}/TabTitle/README.md +0 -0
- /package/{components → commonjs}/TableColumnHeader/README.md +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/defaultTheme.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/defaultTheme.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js.map +0 -0
- /package/{components → commonjs}/UserSwitcher/README.md +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js.map +0 -0
- /package/{package/commonjs → module}/AnimatedNavItem/README.md +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/module → module}/Collapsible/Collapsible.js +0 -0
- /package/{package/module → module}/Collapsible/Collapsible.js.map +0 -0
- /package/{package/commonjs → module}/DataCell/README.md +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js.map +0 -0
- /package/{package/module → module}/Dropdown/CustomDropdown.js +0 -0
- /package/{package/module → module}/Dropdown/CustomDropdown.js.map +0 -0
- /package/{package/module → module}/Gantt/Accessories.js +0 -0
- /package/{package/module → module}/Gantt/Accessories.js.map +0 -0
- /package/{package/commonjs → module}/Icons/README.md +0 -0
- /package/{package/commonjs → module}/Icons/icon-categories.json +0 -0
- /package/{package/commonjs → module}/Icons/real-icon-mapping.json +0 -0
- /package/{package/commonjs → module}/Icons/selection.json +0 -0
- /package/{package/module → module}/Loading/Loading.js.map +0 -0
- /package/{package/commonjs → module}/Loading/README.md +0 -0
- /package/{package/commonjs → module}/MultiSelector/README.md +0 -0
- /package/{package/commonjs → module}/Notification/README.md +0 -0
- /package/{package/module → module}/Overlay/Overlay.js.map +0 -0
- /package/{package/commonjs → module}/Quantity/README.md +0 -0
- /package/{package/module → module}/Quantity/index.js +0 -0
- /package/{package/module → module}/Quantity/index.js.map +0 -0
- /package/{package/commonjs → module}/ReasonModal/README.md +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js.map +0 -0
- /package/{package/commonjs → module}/SearchInput/README.md +0 -0
- /package/{package/commonjs → module}/TabTitle/README.md +0 -0
- /package/{package/commonjs → module}/TableColumnHeader/README.md +0 -0
- /package/{package/module → module}/Task/Task.js +0 -0
- /package/{package/module → module}/Theme/themed.d.js +0 -0
- /package/{package/module → module}/Theme/themed.d.js.map +0 -0
- /package/{package/commonjs → module}/UserSwitcher/README.md +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Button/Button.d.ts +0 -0
- /package/{package/typescript → typescript}/Button/Button.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Button/ButtonGroup.d.ts +0 -0
- /package/{package/typescript → typescript}/Button/ButtonGroup.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.base.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.base.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/Calendar.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/ConcreteTimeSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/ConcreteTimeSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/CustomRange.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/CustomRange.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/DaySelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/DaySelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/MonthSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/MonthSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/TimeSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/TimeSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/WeekDaySelector.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/WeekDaySelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/local.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/local.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Calendar/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Calendar/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Card/Card.d.ts +0 -0
- /package/{package/typescript → typescript}/Card/Card.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBox.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBoxItem.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBoxItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CheckBox/GroupCheckBox.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/GroupCheckBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/CircularProgress/CircularProgress.d.ts +0 -0
- /package/{package/typescript → typescript}/CircularProgress/CircularProgress.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Collapsible/Collapsible.d.ts +0 -0
- /package/{package/typescript → typescript}/Collapsible/Collapsible.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DashboardCard/DashboardCard.d.ts +0 -0
- /package/{package/typescript → typescript}/DashboardCard/DashboardCard.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataCell/DataCell.d.ts +0 -0
- /package/{package/typescript → typescript}/DataCell/DataCell.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataCell/index.d.ts +0 -0
- /package/{package/typescript → typescript}/DataCell/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DeviceSelectionModal/DeviceSelectionModal.d.ts +0 -0
- /package/{package/typescript → typescript}/DeviceSelectionModal/DeviceSelectionModal.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DraggableFlatList/DraggableFlatList.d.ts +0 -0
- /package/{package/typescript → typescript}/DraggableFlatList/DraggableFlatList.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Drawer/Drawer.d.ts +0 -0
- /package/{package/typescript → typescript}/Drawer/Drawer.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/CustomDropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/CustomDropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/Dropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/Dropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Dropdown/InputDropdown.d.ts +0 -0
- /package/{package/typescript → typescript}/Dropdown/InputDropdown.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ExternalLink/ExternalLink.d.ts +0 -0
- /package/{package/typescript → typescript}/ExternalLink/ExternalLink.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/Accessories.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/Accessories.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/Gantt.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/Gantt.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/GanttInnerElementType.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/GanttInnerElementType.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Gantt/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/FixedSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/FixedSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/Grid.base.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/Grid.base.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/StaticFixedSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/StaticFixedSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/VariableSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/VariableSizeGrid.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/helper.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/helper.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Grid/timer.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/timer.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Header/Header.d.ts +0 -0
- /package/{package/typescript → typescript}/Header/Header.d.ts.map +0 -0
- /package/{package/typescript → typescript}/HelloWave/HelloWave.d.ts +0 -0
- /package/{package/typescript → typescript}/HelloWave/HelloWave.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Hoverable/Hoverable.d.ts +0 -0
- /package/{package/typescript → typescript}/Hoverable/Hoverable.d.ts.map +0 -0
- /package/{package/typescript → typescript}/IconText/IconText.d.ts +0 -0
- /package/{package/typescript → typescript}/IconText/IconText.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIcon.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIcon.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIconExpo.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/TapasIconExpo.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/expoFontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/expoFontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/fontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/fontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Icons/smartFontLoader.d.ts +0 -0
- /package/{package/typescript → typescript}/Icons/smartFontLoader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Image/Image.d.ts +0 -0
- /package/{package/typescript → typescript}/Image/Image.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Image/PreviewImg.d.ts +0 -0
- /package/{package/typescript → typescript}/Image/PreviewImg.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Input/Input.d.ts +0 -0
- /package/{package/typescript → typescript}/Input/Input.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/DrawerContext.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/DrawerContext.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/Layout.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/Layout.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/ToastContext.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/ToastContext.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Layout/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ListItem/ListItem.d.ts +0 -0
- /package/{package/typescript → typescript}/ListItem/ListItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Navigation/Navigation.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Pagination/Pagination.d.ts +0 -0
- /package/{package/typescript → typescript}/Pagination/Pagination.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Popover/Popover.d.ts +0 -0
- /package/{package/typescript → typescript}/Popover/Popover.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Progress/Progress.d.ts +0 -0
- /package/{package/typescript → typescript}/Progress/Progress.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Quantity/Quantity.d.ts +0 -0
- /package/{package/typescript → typescript}/Quantity/Quantity.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Quantity/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Quantity/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/RadioButton/RadioButton.d.ts +0 -0
- /package/{package/typescript → typescript}/RadioButton/RadioButton.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ReasonModal/ReasonModal.d.ts +0 -0
- /package/{package/typescript → typescript}/ReasonModal/ReasonModal.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ReasonModal/index.d.ts +0 -0
- /package/{package/typescript → typescript}/ReasonModal/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ScanButton/ScanButton.d.ts +0 -0
- /package/{package/typescript → typescript}/ScanButton/ScanButton.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SearchInput/SearchInput.d.ts +0 -0
- /package/{package/typescript → typescript}/SearchInput/SearchInput.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SearchInput/index.d.ts +0 -0
- /package/{package/typescript → typescript}/SearchInput/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/SheetTitle/SheetTitle.d.ts +0 -0
- /package/{package/typescript → typescript}/SheetTitle/SheetTitle.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/Shell.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/Shell.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/styles.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/styles.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Shell/types.d.ts +0 -0
- /package/{package/typescript → typescript}/Shell/types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Status/Status.d.ts +0 -0
- /package/{package/typescript → typescript}/Status/Status.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Steps/Steps.d.ts +0 -0
- /package/{package/typescript → typescript}/Steps/Steps.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TabTitle/TabTitle.d.ts +0 -0
- /package/{package/typescript → typescript}/TabTitle/TabTitle.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TabTitle/index.d.ts +0 -0
- /package/{package/typescript → typescript}/TabTitle/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/TableColumnHeader.d.ts +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/TableColumnHeader.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/index.d.ts +0 -0
- /package/{package/typescript → typescript}/TableColumnHeader/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Tag/Tag.d.ts +0 -0
- /package/{package/typescript → typescript}/Tag/Tag.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Task/Task.d.ts +0 -0
- /package/{package/typescript → typescript}/Task/Task.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Task/type.d.ts +0 -0
- /package/{package/typescript → typescript}/Task/type.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Text/Text.d.ts +0 -0
- /package/{package/typescript → typescript}/Text/Text.d.ts.map +0 -0
- /package/{package/typescript → typescript}/TextArea/TextArea.d.ts +0 -0
- /package/{package/typescript → typescript}/TextArea/TextArea.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Theme/ThemeProvider.d.ts +0 -0
- /package/{package/typescript → typescript}/Theme/ThemeProvider.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Theme/defaultTheme.d.ts +0 -0
- /package/{package/typescript → typescript}/Theme/defaultTheme.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Timeline/Timeline.d.ts +0 -0
- /package/{package/typescript → typescript}/Timeline/Timeline.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Toast/Toast.d.ts +0 -0
- /package/{package/typescript → typescript}/Toast/Toast.d.ts.map +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/UserSwitcher.d.ts +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/UserSwitcher.d.ts.map +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/index.d.ts +0 -0
- /package/{package/typescript → typescript}/UserSwitcher/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/common.d.ts +0 -0
- /package/{package/typescript → typescript}/common.d.ts.map +0 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { TouchableOpacity, View, Platform } from 'react-native';
|
|
3
|
+
import { Text, makeStyles, withTheme } from '@rneui/themed';
|
|
4
|
+
import Icon from '../Icons/TapasIcon';
|
|
5
|
+
const isWeb = Platform.OS === 'web';
|
|
6
|
+
const useStyles = makeStyles(theme => {
|
|
7
|
+
return {
|
|
8
|
+
toastWrapper: {
|
|
9
|
+
zIndex: 99999,
|
|
10
|
+
height: 40,
|
|
11
|
+
textAlign: 'center',
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flexDirection: 'row',
|
|
14
|
+
justifyContent: 'center'
|
|
15
|
+
},
|
|
16
|
+
toastContainer: {
|
|
17
|
+
fontFamily: theme.fonts.fontFamily,
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
height: 40,
|
|
21
|
+
backgroundColor: theme.colors.primary,
|
|
22
|
+
paddingVertical: 8,
|
|
23
|
+
paddingRight: 16,
|
|
24
|
+
paddingLeft: 12,
|
|
25
|
+
borderRadius: theme.radius.rounded,
|
|
26
|
+
maxWidth: isWeb ? 450 : 375,
|
|
27
|
+
minWidth: 168
|
|
28
|
+
},
|
|
29
|
+
hasActionText: {
|
|
30
|
+
flex: 1
|
|
31
|
+
},
|
|
32
|
+
messageContainer: {
|
|
33
|
+
flexGrow: 1,
|
|
34
|
+
flexShrink: 1,
|
|
35
|
+
flexBasis: 'auto',
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
maxWidth: '100%'
|
|
38
|
+
},
|
|
39
|
+
messageText: {
|
|
40
|
+
fontSize: 14,
|
|
41
|
+
color: theme.colors.white,
|
|
42
|
+
// whiteSpace: 'nowrap',
|
|
43
|
+
overflow: 'hidden',
|
|
44
|
+
// textOverflow: 'ellipsis',
|
|
45
|
+
maxWidth: '100%'
|
|
46
|
+
},
|
|
47
|
+
discText: {
|
|
48
|
+
fontSize: 12,
|
|
49
|
+
color: theme.colors.colorInvertNormalIcon,
|
|
50
|
+
// whiteSpace: 'nowrap',
|
|
51
|
+
overflow: 'hidden',
|
|
52
|
+
// textOverflow: 'ellipsis',
|
|
53
|
+
maxWidth: '100%'
|
|
54
|
+
},
|
|
55
|
+
actionText: {
|
|
56
|
+
fontSize: 14,
|
|
57
|
+
color: theme.colors.white,
|
|
58
|
+
paddingHorizontal: 12
|
|
59
|
+
},
|
|
60
|
+
iconContainer: {
|
|
61
|
+
paddingRight: 8
|
|
62
|
+
},
|
|
63
|
+
Success: {
|
|
64
|
+
color: theme.colors.success
|
|
65
|
+
},
|
|
66
|
+
Error: {
|
|
67
|
+
color: theme.colors.error
|
|
68
|
+
},
|
|
69
|
+
Warning: {
|
|
70
|
+
color: theme.colors.warning
|
|
71
|
+
},
|
|
72
|
+
Info: {
|
|
73
|
+
color: theme.colors.info
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
var ToastType = /*#__PURE__*/function (ToastType) {
|
|
78
|
+
ToastType["Success"] = "check_circle_filled";
|
|
79
|
+
ToastType["Error"] = "warning_filled";
|
|
80
|
+
ToastType["Warning"] = "warning_filled";
|
|
81
|
+
ToastType["Info"] = "warning_filled";
|
|
82
|
+
return ToastType;
|
|
83
|
+
}(ToastType || {});
|
|
84
|
+
export const Toast = ({
|
|
85
|
+
visible = false,
|
|
86
|
+
message,
|
|
87
|
+
duration = 2000,
|
|
88
|
+
type = 'Info',
|
|
89
|
+
actionText,
|
|
90
|
+
onActionPress,
|
|
91
|
+
description,
|
|
92
|
+
hideToast,
|
|
93
|
+
style,
|
|
94
|
+
...props
|
|
95
|
+
}) => {
|
|
96
|
+
const styles = useStyles(props);
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
if (visible) {
|
|
99
|
+
const timer = setTimeout(() => {
|
|
100
|
+
hideToast && hideToast();
|
|
101
|
+
}, duration);
|
|
102
|
+
return () => {
|
|
103
|
+
clearTimeout(timer);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}, [visible]);
|
|
107
|
+
const renderMessage = () => {
|
|
108
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
109
|
+
style: [styles.toastWrapper, style]
|
|
110
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
111
|
+
style: [styles.toastContainer, actionText ? styles.hasActionText : {}],
|
|
112
|
+
testID: "toast"
|
|
113
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
114
|
+
style: styles.iconContainer
|
|
115
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
116
|
+
style: styles[type],
|
|
117
|
+
name: ToastType[type],
|
|
118
|
+
size: 24
|
|
119
|
+
})), (message || description) && /*#__PURE__*/React.createElement(View, {
|
|
120
|
+
style: styles.messageContainer
|
|
121
|
+
}, message && /*#__PURE__*/React.createElement(Text, {
|
|
122
|
+
style: styles.messageText
|
|
123
|
+
}, message), description && /*#__PURE__*/React.createElement(Text, {
|
|
124
|
+
style: styles.discText
|
|
125
|
+
}, description)), actionText && /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
126
|
+
onPress: onActionPress
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
128
|
+
style: styles.actionText
|
|
129
|
+
}, actionText))));
|
|
130
|
+
};
|
|
131
|
+
return visible && renderMessage();
|
|
132
|
+
};
|
|
133
|
+
export default withTheme(Toast);
|
|
134
|
+
//# sourceMappingURL=Toast.js.maps: {
|
|
135
|
+
color: theme.colors.success
|
|
136
|
+
},
|
|
137
|
+
Error: {
|
|
138
|
+
color: theme.colors.error
|
|
139
|
+
},
|
|
140
|
+
Warning: {
|
|
141
|
+
color: theme.colors.warning
|
|
142
|
+
},
|
|
143
|
+
Info: {
|
|
144
|
+
color: theme.colors.info
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
var ToastType;
|
|
149
|
+
(function (ToastType) {
|
|
150
|
+
ToastType["Success"] = "check_circle_filled";
|
|
151
|
+
ToastType["Error"] = "warning_filled";
|
|
152
|
+
ToastType["Warning"] = "warning_filled";
|
|
153
|
+
ToastType["Info"] = "warning_filled";
|
|
154
|
+
})(ToastType || (ToastType = {}));
|
|
155
|
+
var Toast = function (_a) {
|
|
156
|
+
var _b = _a.visible,
|
|
157
|
+
visible = _b === void 0 ? false : _b,
|
|
158
|
+
message = _a.message,
|
|
159
|
+
_c = _a.duration,
|
|
160
|
+
duration = _c === void 0 ? 2000 : _c,
|
|
161
|
+
_d = _a.type,
|
|
162
|
+
type = _d === void 0 ? 'Info' : _d,
|
|
163
|
+
actionText = _a.actionText,
|
|
164
|
+
onActionPress = _a.onActionPress,
|
|
165
|
+
description = _a.description,
|
|
166
|
+
hideToast = _a.hideToast,
|
|
167
|
+
style = _a.style,
|
|
168
|
+
props = __rest(_a, ["visible", "message", "duration", "type", "actionText", "onActionPress", "description", "hideToast", "style"]);
|
|
169
|
+
var styles = useStyles(props);
|
|
170
|
+
(0, react_1.useEffect)(function () {
|
|
171
|
+
if (visible) {
|
|
172
|
+
var timer_1 = setTimeout(function () {
|
|
173
|
+
hideToast && hideToast();
|
|
174
|
+
}, duration);
|
|
175
|
+
return function () {
|
|
176
|
+
clearTimeout(timer_1);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}, [visible]);
|
|
180
|
+
var renderMessage = function () {
|
|
181
|
+
return react_1.default.createElement(react_native_1.View, {
|
|
182
|
+
style: [styles.toastWrapper, style]
|
|
183
|
+
}, react_1.default.createElement(react_native_1.View, {
|
|
184
|
+
style: [styles.toastContainer, actionText ? styles.hasActionText : {}],
|
|
185
|
+
testID: "toast"
|
|
186
|
+
}, react_1.default.createElement(react_native_1.View, {
|
|
187
|
+
style: styles.iconContainer
|
|
188
|
+
}, react_1.default.createElement(TapasIcon_1.default, {
|
|
189
|
+
style: styles[type],
|
|
190
|
+
name: ToastType[type],
|
|
191
|
+
size: 24
|
|
192
|
+
})), (message || description) && react_1.default.createElement(react_native_1.View, {
|
|
193
|
+
style: styles.messageContainer
|
|
194
|
+
}, message && react_1.default.createElement(themed_1.Text, {
|
|
195
|
+
style: styles.messageText
|
|
196
|
+
}, message), description && react_1.default.createElement(themed_1.Text, {
|
|
197
|
+
style: styles.discText
|
|
198
|
+
}, description)), actionText && react_1.default.createElement(react_native_1.TouchableOpacity, {
|
|
199
|
+
onPress: onActionPress
|
|
200
|
+
}, react_1.default.createElement(themed_1.Text, {
|
|
201
|
+
style: styles.actionText
|
|
202
|
+
}, actionText))));
|
|
203
|
+
};
|
|
204
|
+
return visible && renderMessage();
|
|
205
|
+
};
|
|
206
|
+
exports.Toast = Toast;
|
|
207
|
+
exports.default = (0, themed_1.withTheme)(exports.Toast);
|
|
208
|
+
//# sourceMappingURL=Toast.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","TouchableOpacity","View","Platform","Text","makeStyles","withTheme","Icon","isWeb","OS","useStyles","theme","toastWrapper","zIndex","height","textAlign","display","flexDirection","justifyContent","toastContainer","fontFamily","fonts","alignItems","backgroundColor","colors","primary","paddingVertical","paddingRight","paddingLeft","borderRadius","radius","rounded","maxWidth","minWidth","hasActionText","flex","messageContainer","flexGrow","flexShrink","flexBasis","messageText","fontSize","color","white","overflow","discText","colorInvertNormalIcon","actionText","paddingHorizontal","iconContainer","Success","success","Error","error","Warning","warning","Info","info","ToastType","Toast","visible","message","duration","type","onActionPress","description","hideToast","style","props","styles","timer","setTimeout","clearTimeout","renderMessage","createElement","testID","name","size","onPress"],"sourceRoot":"../../../components","sources":["Toast/Toast.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAKC,SAAS,QAAQ,OAAO;AACzC,SAAQC,gBAAgB,E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AC6E,OAAO,CAACC,aAAa,CAAC3E,QAAQ,CAACgF,IAAI,EAAE;MAAEd,KAAK,EAAEE,MAAM,CAAC3B;IAAS,CAAC,EAAEuB,WAAW,CAAE,CAAE,EAC5GrB,UAAU,IAAK9C,OAAO,CAAC6E,OAAO,CAACC,aAAa,CAAC5E,cAAc,CAACkF,gBAAgB,EAAE;MAAEC,OAAO,EAAEnB;IAAc,CAAC,EACpGlE,OAAO,CAAC6E,OAAO,CAACC,aAAa,CAAC3E,QAAQ,CAACgF,IAAI,EAAE;MAAEd,KAAK,EAAEE,MAAM,CAACzB;IAAW,CAAC,EAAEA,UAAU,CAAC,CAAE,CAAC,CAAC;EAC1G,CAAC;EACD,OAAQc,OAAO,IAAIgB,aAAa,CAAC,CAAC;AACtC,CAAC;AACD9E,OAAO,CAACC,KAAK,GAAGA,KAAK;AACrBD,OAAO,CAAC+E,OAAO,GAAG,CAAC,CAAC,EAAE1E,QAAQ,CAACmF,SAAS,EAAExF,OAAO,CAACC,KAAK,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __assign = this && this.__assign || function () {
|
|
4
|
+
__assign = Object.assign || function (t) {
|
|
5
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6
|
+
s = arguments[i];
|
|
7
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return m[k];
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
Object.defineProperty(o, k2, desc);
|
|
25
|
+
} : function (o, m, k, k2) {
|
|
26
|
+
if (k2 === undefined) k2 = k;
|
|
27
|
+
o[k2] = m[k];
|
|
28
|
+
});
|
|
29
|
+
var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
|
|
30
|
+
Object.defineProperty(o, "default", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
value: v
|
|
33
|
+
});
|
|
34
|
+
} : function (o, v) {
|
|
35
|
+
o["default"] = v;
|
|
36
|
+
});
|
|
37
|
+
var __importStar = this && this.__importStar || function () {
|
|
38
|
+
var ownKeys = function (o) {
|
|
39
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
40
|
+
var ar = [];
|
|
41
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
42
|
+
return ar;
|
|
43
|
+
};
|
|
44
|
+
return ownKeys(o);
|
|
45
|
+
};
|
|
46
|
+
return function (mod) {
|
|
47
|
+
if (mod && mod.__esModule) return mod;
|
|
48
|
+
var result = {};
|
|
49
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
50
|
+
__setModuleDefault(result, mod);
|
|
51
|
+
return result;
|
|
52
|
+
};
|
|
53
|
+
}();
|
|
54
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
55
|
+
var t = {};
|
|
56
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
57
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
58
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
59
|
+
}
|
|
60
|
+
return t;
|
|
61
|
+
};
|
|
62
|
+
var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
63
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
64
|
+
if (ar || !(i in from)) {
|
|
65
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
66
|
+
ar[i] = from[i];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
70
|
+
};
|
|
71
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
72
|
+
return mod && mod.__esModule ? mod : {
|
|
73
|
+
"default": mod
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
Object.defineProperty(exports, "__esModule", {
|
|
77
|
+
value: true
|
|
78
|
+
});
|
|
79
|
+
exports.TapasUserSwitcher = exports.UserSwitcher = void 0;
|
|
80
|
+
var react_1 = __importStar(require("react"));
|
|
81
|
+
var react_native_1 = require("react-native");
|
|
82
|
+
var themed_1 = require("@rneui/themed");
|
|
83
|
+
var Button_1 = __importDefault(require("../Button/Button"));
|
|
84
|
+
var TapasIcon_1 = __importDefault(require("../Icons/TapasIcon"));
|
|
85
|
+
var Image_1 = __importDefault(require("../Image/Image"));
|
|
86
|
+
var TapasUserSwitcher = function (_a) {
|
|
87
|
+
var _b = _a.userList,
|
|
88
|
+
userList = _b === void 0 ? [] : _b,
|
|
89
|
+
_c = _a.isLoggedIn,
|
|
90
|
+
isLoggedIn = _c === void 0 ? false : _c,
|
|
91
|
+
_d = _a.height,
|
|
92
|
+
height = _d === void 0 ? 40 : _d,
|
|
93
|
+
currentUserId = _a.currentUserId,
|
|
94
|
+
_e = _a.avatarType,
|
|
95
|
+
avatarType = _e === void 0 ? "svg" : _e,
|
|
96
|
+
_f = _a.loginButtonText,
|
|
97
|
+
loginButtonText = _f === void 0 ? "Login" : _f,
|
|
98
|
+
onUserSwitcherPress = _a.onUserSwitcherPress,
|
|
99
|
+
onLoginPress = _a.onLoginPress,
|
|
100
|
+
onUserListChange = _a.onUserListChange,
|
|
101
|
+
_g = _a.animationDuration,
|
|
102
|
+
animationDuration = _g === void 0 ? 500 : _g,
|
|
103
|
+
style = _a.style,
|
|
104
|
+
testID = _a.testID,
|
|
105
|
+
otherProps = __rest(_a, ["userList", "isLoggedIn", "height", "currentUserId", "avatarType", "loginButtonText", "onUserSwitcherPress", "onLoginPress", "onUserListChange", "animationDuration", "style", "testID"]);
|
|
106
|
+
var styles = useStyles();
|
|
107
|
+
var _h = (0, react_1.useState)(80),
|
|
108
|
+
containerWidth = _h[0],
|
|
109
|
+
setContainerWidth = _h[1];
|
|
110
|
+
// 动画相关
|
|
111
|
+
var fadeAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0)).current;
|
|
112
|
+
var scaleAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0.9)).current;
|
|
113
|
+
// 头像尺寸配置
|
|
114
|
+
var avatarSizes = [40, 32, 24];
|
|
115
|
+
// 根据用户数量计算容器宽度
|
|
116
|
+
(0, react_1.useEffect)(function () {
|
|
117
|
+
if (userList.length >= 3) {
|
|
118
|
+
setContainerWidth(68);
|
|
119
|
+
} else if (userList.length === 2) {
|
|
120
|
+
setContainerWidth(56);
|
|
121
|
+
} else {
|
|
122
|
+
setContainerWidth(40);
|
|
123
|
+
}
|
|
124
|
+
}, [userList.length]);
|
|
125
|
+
// 当前用户ID改变时触发动画
|
|
126
|
+
(0, react_1.useEffect)(function () {
|
|
127
|
+
// 在测试环境中跳过动画以避免 act() 警告
|
|
128
|
+
if (process.env.NODE_ENV === 'test') {
|
|
129
|
+
fadeAnim.setValue(1);
|
|
130
|
+
scaleAnim.setValue(1);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
fadeAnim.setValue(0);
|
|
134
|
+
scaleAnim.setValue(0.9);
|
|
135
|
+
react_native_1.Animated.parallel([react_native_1.Animated.timing(fadeAnim, {
|
|
136
|
+
toValue: 1,
|
|
137
|
+
duration: animationDuration,
|
|
138
|
+
useNativeDriver: true
|
|
139
|
+
}), react_native_1.Animated.timing(scaleAnim, {
|
|
140
|
+
toValue: 1,
|
|
141
|
+
duration: animationDuration,
|
|
142
|
+
useNativeDriver: true
|
|
143
|
+
})]).start();
|
|
144
|
+
}, [currentUserId, animationDuration]);
|
|
145
|
+
// 将当前用户移动到列表前面
|
|
146
|
+
var moveUserToFront = (0, react_1.useCallback)(function (users, userId) {
|
|
147
|
+
var currentUserIndex = users.findIndex(function (user) {
|
|
148
|
+
return user.id === userId;
|
|
149
|
+
});
|
|
150
|
+
if (currentUserIndex === -1) return users;
|
|
151
|
+
var currentUser = users[currentUserIndex];
|
|
152
|
+
if (!currentUser) return users;
|
|
153
|
+
var otherUsers = users.filter(function (user) {
|
|
154
|
+
return user.id !== userId;
|
|
155
|
+
});
|
|
156
|
+
return __spreadArray([currentUser], otherUsers, true);
|
|
157
|
+
}, []);
|
|
158
|
+
// 获取要显示的用户列表(最多3个)
|
|
159
|
+
var getDisplayUsers = (0, react_1.useCallback)(function () {
|
|
160
|
+
var orderedUsers = currentUserId ? moveUserToFront(userList, currentUserId) : userList;
|
|
161
|
+
return orderedUsers.slice(0, 3);
|
|
162
|
+
}, [userList, currentUserId, moveUserToFront]);
|
|
163
|
+
// 处理用户切换器点击
|
|
164
|
+
var handleUserSwitcherPress = (0, react_1.useCallback)(function () {
|
|
165
|
+
onUserSwitcherPress === null || onUserSwitcherPress === void 0 ? void 0 : onUserSwitcherPress();
|
|
166
|
+
}, [onUserSwitcherPress]);
|
|
167
|
+
// 处理登录按钮点击
|
|
168
|
+
var handleLoginPress = (0, react_1.useCallback)(function () {
|
|
169
|
+
onLoginPress === null || onLoginPress === void 0 ? void 0 : onLoginPress();
|
|
170
|
+
}, [onLoginPress]);
|
|
171
|
+
// 渲染头像
|
|
172
|
+
var renderAvatar = (0, react_1.useCallback)(function (user, index) {
|
|
173
|
+
var size = avatarSizes[index] || 40;
|
|
174
|
+
var leftPosition = index === 0 ? 0 : index === 1 ? 24 : 44;
|
|
175
|
+
var zIndex = 10 - index * 2;
|
|
176
|
+
var opacity = 1 - index * 0.15;
|
|
177
|
+
var avatarContainerStyle = [styles.avatarContainer, {
|
|
178
|
+
left: leftPosition,
|
|
179
|
+
width: size,
|
|
180
|
+
height: size,
|
|
181
|
+
borderRadius: size / 2,
|
|
182
|
+
zIndex: zIndex,
|
|
183
|
+
opacity: opacity
|
|
184
|
+
}];
|
|
185
|
+
if (user.avatar) {
|
|
186
|
+
return react_1.default.createElement(react_native_1.View, {
|
|
187
|
+
key: user.id || "user-".concat(index),
|
|
188
|
+
style: avatarContainerStyle
|
|
189
|
+
}, avatarType === "svg" ? react_1.default.createElement(react_native_1.View, {
|
|
190
|
+
style: {
|
|
191
|
+
width: size,
|
|
192
|
+
height: size,
|
|
193
|
+
backgroundColor: '#f0f0f0',
|
|
194
|
+
borderRadius: size / 2
|
|
195
|
+
},
|
|
196
|
+
testID: "svg-avatar"
|
|
197
|
+
}, react_1.default.createElement(TapasIcon_1.default, {
|
|
198
|
+
name: "user",
|
|
199
|
+
size: size * 0.6,
|
|
200
|
+
color: "#666"
|
|
201
|
+
})) : react_1.default.createElement(Image_1.default, {
|
|
202
|
+
width: size,
|
|
203
|
+
height: size,
|
|
204
|
+
radius: true,
|
|
205
|
+
uri: user.avatar
|
|
206
|
+
}));
|
|
207
|
+
}
|
|
208
|
+
// 默认头像
|
|
209
|
+
return react_1.default.createElement(react_native_1.View, {
|
|
210
|
+
key: user.id || "user-".concat(index),
|
|
211
|
+
style: avatarContainerStyle
|
|
212
|
+
}, react_1.default.createElement(react_native_1.View, {
|
|
213
|
+
style: [styles.defaultAvatarBackground, {
|
|
214
|
+
opacity: opacity
|
|
215
|
+
}]
|
|
216
|
+
}, react_1.default.createElement(TapasIcon_1.default, {
|
|
217
|
+
style: styles.defaultAvatarIcon,
|
|
218
|
+
size: size / 2,
|
|
219
|
+
color: "#999",
|
|
220
|
+
name: "person"
|
|
221
|
+
})));
|
|
222
|
+
}, [avatarType, styles]);
|
|
223
|
+
// 渲染用户列表
|
|
224
|
+
var renderUserList = (0, react_1.useCallback)(function () {
|
|
225
|
+
var displayUsers = getDisplayUsers();
|
|
226
|
+
return react_1.default.createElement(react_native_1.Pressable, {
|
|
227
|
+
style: [styles.userListContainer, {
|
|
228
|
+
height: height
|
|
229
|
+
}],
|
|
230
|
+
onPress: handleUserSwitcherPress,
|
|
231
|
+
testID: testID
|
|
232
|
+
}, displayUsers.map(function (user, index) {
|
|
233
|
+
return renderAvatar(user, index);
|
|
234
|
+
}));
|
|
235
|
+
}, [getDisplayUsers, height, handleUserSwitcherPress, renderAvatar, styles, testID]);
|
|
236
|
+
return react_1.default.createElement(react_native_1.View, __assign({}, otherProps, {
|
|
237
|
+
style: [styles.container, {
|
|
238
|
+
height: height,
|
|
239
|
+
width: isLoggedIn ? containerWidth : "auto"
|
|
240
|
+
}, style]
|
|
241
|
+
}), react_1.default.createElement(react_native_1.Animated.View, {
|
|
242
|
+
style: {
|
|
243
|
+
opacity: fadeAnim,
|
|
244
|
+
transform: [{
|
|
245
|
+
scale: scaleAnim
|
|
246
|
+
}]
|
|
247
|
+
}
|
|
248
|
+
}, isLoggedIn ? renderUserList() : react_1.default.createElement(Button_1.default, {
|
|
249
|
+
onPress: handleLoginPress
|
|
250
|
+
}, loginButtonText)));
|
|
251
|
+
};
|
|
252
|
+
exports.TapasUserSwitcher = TapasUserSwitcher;
|
|
253
|
+
var useStyles = (0, themed_1.makeStyles)(function (theme) {
|
|
254
|
+
return {
|
|
255
|
+
container: {
|
|
256
|
+
display: "flex",
|
|
257
|
+
height: 40,
|
|
258
|
+
alignSelf: "center"
|
|
259
|
+
},
|
|
260
|
+
userListContainer: {
|
|
261
|
+
display: "flex",
|
|
262
|
+
flexDirection: "row",
|
|
263
|
+
alignItems: "center",
|
|
264
|
+
justifyContent: "center",
|
|
265
|
+
height: 40,
|
|
266
|
+
position: "relative"
|
|
267
|
+
},
|
|
268
|
+
avatarContainer: {
|
|
269
|
+
display: "flex",
|
|
270
|
+
position: "absolute",
|
|
271
|
+
flexDirection: "column",
|
|
272
|
+
justifyContent: "center",
|
|
273
|
+
overflow: "hidden",
|
|
274
|
+
zIndex: 1
|
|
275
|
+
},
|
|
276
|
+
defaultAvatarBackground: {
|
|
277
|
+
display: "flex",
|
|
278
|
+
flexGrow: 1,
|
|
279
|
+
borderRadius: 20,
|
|
280
|
+
justifyContent: "center",
|
|
281
|
+
flexDirection: "column",
|
|
282
|
+
backgroundColor: theme.colors.grey2
|
|
283
|
+
},
|
|
284
|
+
defaultAvatarIcon: {
|
|
285
|
+
display: "flex",
|
|
286
|
+
alignSelf: "center"
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
});
|
|
290
|
+
exports.default = (0, themed_1.withTheme)(TapasUserSwitcher);
|
|
291
|
+
// Export aliases for compatibility
|
|
292
|
+
exports.UserSwitcher = (0, themed_1.withTheme)(TapasUserSwitcher);
|
|
293
|
+
//# sourceMappingURL=UserSwitcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","__createBinding","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","ownKeys","getOwnPropertyNames","ar","mod","result","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","l","Array","slice","concat","__importDefault","exports","TapasUserSwitcher","UserSwitcher","react_1","require","react_native_1","themed_1","Button_1","TapasIcon_1","Image_1","_a","_b","userList","_c","isLoggedIn","_d","height","currentUserId","_e","avatarType","_f","loginButtonText","onUserSwitcherPress","onLoginPress","onUserListChange","_g","animationDuration","style","testID","otherProps","styles","useStyles","_h","useState","containerWidth","setContainerWidth","fadeAnim","useRef","Animated","Value","current","scaleAnim","avatarSizes","useEffect","process","env","NODE_ENV","setValue","parallel","timing","toValue","duration","useNativeDriver","start","moveUserToFront","useCallback","users","userId","currentUserIndex","findIndex","user","id","currentUser","otherUsers","filter","getDisplayUsers","orderedUsers","handleUserSwitcherPress","handleLoginPress","renderAvatar","index","size","leftPosition","zIndex","opacity","avatarContainerStyle","avatarContainer","left","width","borderRadius","avatar","default","createElement","View","key","backgroundColor","name","color","radius","uri","defaultAvatarBackground","defaultAvatarIcon","renderUserList","displayUsers","Pressable","userListContainer","onPress","map","container","transform","scale","makeStyles","theme","display","alignSelf","flexDirection","alignItems","justifyContent","position","overflow","flexGrow","colors","grey2","withTheme"],"sourceRoot":"../../../components","sources":["UserSwitcher/UserSwitcher.js"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,QAAQ,GAAI,IAAI,IAAI,IAAI,CAACA,QAAQ,IAAK,YAAY;EAClDA,QAAQ,GAAGC,MAAM,CAACC,MAAM,IAAI,UAASC,CAAC,EAAE;IACpC,KAAK,IAAIC,CAAC,EAAEC,CAAC,GAAG,CAAC,EAAEC,CAAC,GAAGC,SAAS,CAACC,MAAM,EAAEH,CAAC,GAAGC,CAAC,EAAED,CAAC,EAAE,EAAE;MACjDD,CAAC,GAAGG,SAAS,CAACF,CAAC,CAAC;MAChB,KAAK,IAAII,CAAC,IAAIL,CAAC,EAAE,IAAIH,MAAM,CAACS,SAAS,CAACC,cAAc,CAACC,IAAI,CAACR,CAAC,EAAEK,CAAC,CAAC,EAC3DN,CAAC,CAACM,CAAC,CAAC,GAAGL,CAAC,CAACK,CAAC,CAAC;IACnB;IACA,OAAON,CAAC;EACZ,CAAC;EACD,OAAOH,QAAQ,CAACa,KAAK,CAAC,IAAI,EAAEN,SAAS,CAAC;AAC1C,CAAC;AACD,IAAIO,eAAe,GAAI,IAAI,IAAI,IAAI,CAACA,eAAe,KAAMb,MAAM,CAACc,MAAM,GAAI,UAASC,CAAC,EAAEC,CAAC,EAAEC,CAAC,EAAEC,EAAE,EAAE;EAC5F,IAAIA,EAAE,KAAKC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}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
4
|
+
return mod && mod.__esModule ? mod : {
|
|
5
|
+
"default": mod
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
exports.TapasUserSwitcher = exports.UserSwitcher = exports.default = void 0;
|
|
12
|
+
var UserSwitcher_1 = require("./UserSwitcher");
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return __importDefault(UserSwitcher_1).default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var UserSwitcher_2 = require("./UserSwitcher");
|
|
20
|
+
Object.defineProperty(exports, "UserSwitcher", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return UserSwitcher_2.UserSwitcher;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "TapasUserSwitcher", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () {
|
|
29
|
+
return UserSwitcher_2.TapasUserSwitcher;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__importDefault","mod","__esModule","Object","defineProperty","exports","value","TapasUserSwitcher","UserSwitcher","default","UserSwitcher_1","require","enumerable","get","UserSwitcher_2"],"sourceRoot":"../../../components","sources":["UserSwitcher/index.js"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,eAAe,GAAI,IAAI,IAAI,IAAI,CAACA,eAAe,IAAK,UAAUC,GAAG,EAAE;EACnE,OAAQA,GAAG,IAAIA,GAAG,CAACC,UAAU,GAAID,GAAG,GAAG;IAAE,SAAS,EAAEA;EAAI,CAAC;AAC7D,CAAC;AACDE,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,iBAAiB,GAAGF,OAAO,CAACG,YAAY,GAAGH,OAAO,CAACI,OAAO,GAAG,KAAK,CAAC;AAC3E,IAAIC,cAAc,GAAGC,OAAO,CAAC,gBAAgB,CAAC;AAC9CR,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,SAAS,EAAE;EAAEO,UAAU,EAAE,IAAI;EAAEC,GAAG,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAOb,eAAe,CAACU,cAAc,CAAC,CAACD,OAAO;EAAE;AAAE,CAAC,CAAC;AACrI,IAAIK,cAAc,GAAGH,OAAO,CAAC,gBAAgB,CAAC;AAC9CR,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,cAAc,EAAE;EAAEO,UAAU,EAAE,IAAI;EAAEC,GAAG,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAOC,cAAc,CAACN,YAAY;EAAE;AAAE,CAAC,CAAC;AAC9HL,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,mBAAmB,EAAE;EAAEO,UAAU,EAAE,IAAI;EAAEC,GAAG,EAAE,SAAAA,CAAA,EAAY;IAAE,OAAOC,cAAc,CAACP,iBAAiB;EAAE;AAAE,CAAC,CAAC","ignoreList":[]}
|
package/module/common.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Platform } from "react-native";
|
|
2
|
+
export const isMobile = Platform.OS !== 'web' || Platform.OS === 'web' && typeof window !== 'undefined' && window?.innerWidth <= 430;
|
|
3
|
+
export const capitalizeFirstLetter = str => {
|
|
4
|
+
if (!str) return '';
|
|
5
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=common.js.map|| window === void 0 ? void 0 : window.innerWidth) <= 430;
|
|
8
|
+
var capitalizeFirstLetter = function (str) {
|
|
9
|
+
if (!str) return '';
|
|
10
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
11
|
+
};
|
|
12
|
+
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
|
13
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","isMobile","OS","window","innerWidth","capitalizeFirstLetter","str","charAt","toUpperCase","slice"],"sourceRoot":"../../components","sources":["common.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,QAAQ,GAAGD,QAAQ,CAACE,EAAE,KAAK,KAAK,IAAKF,QAAQ,CAACE,EAAE,KAAK,KAAK,IAAI,OAAOC,MAAM,KAAK,WAAW,IAAIA,MAAM,EAAEC,UAAU,IAAI,GAAI;AAEtI,OAAO,MAAMC,qBAAqB,GAAIC,GAAY,IAAa;EAC7D,IAAI,CAACA,GAAG,EAAE,OAAO,EAAE;EACnB,OAAOA,GAAG,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGF,GAAG,CAACG,KAAK,CAAC,CAAC,CAAC;AACnD,CAAC","ignoreList":[]}
|
|
2
|
+
AI,OAAOC,MAAM,KAAK,WAAW,IAAI,CAACA,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAACC,UAAU,KAAK,GAAI;AAChN,IAAIP,qBAAqB,GAAG,SAAAA,CAAUQ,GAAG,EAAE;EACvC,IAAI,CAACA,GAAG,EACJ,OAAO,EAAE;EACb,OAAOA,GAAG,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGF,GAAG,CAACG,KAAK,CAAC,CAAC,CAAC;AACrD,CAAC;AACDb,OAAO,CAACE,qBAAqB,GAAGA,qBAAqB","ignoreList":[]}
|