@beppla/tapas-ui 1.4.35 → 1.5.2
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 +88 -0
- package/commonjs/BarChart/BarChart.js +543 -0
- package/commonjs/BarChart/BarChart.js.map +1 -0
- package/commonjs/Button/ButtonGroup.js +154 -0
- package/commonjs/Button/ButtonGroup.js.map +1 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js +415 -0
- package/commonjs/Calendar/ConcreteTimeSelector.js.map +1 -0
- package/commonjs/Calendar/TimeSelector.js +435 -0
- package/commonjs/Calendar/TimeSelector.js.map +1 -0
- package/commonjs/Calendar/types.js +29 -0
- package/commonjs/Calendar/types.js.map +1 -0
- package/commonjs/Card/Card.js +235 -0
- package/commonjs/Card/Card.js.map +1 -0
- package/commonjs/CheckBox/CheckBox.js +139 -0
- package/commonjs/CheckBox/CheckBox.js.map +1 -0
- package/commonjs/CheckBox/CheckBoxItem.js +138 -0
- package/commonjs/CheckBox/CheckBoxItem.js.map +1 -0
- package/commonjs/CircularProgress/CircularProgress.js +54 -0
- package/commonjs/CircularProgress/CircularProgress.js.map +1 -0
- package/commonjs/Collapsible/Collapsible.js +79 -0
- package/commonjs/Collapsible/Collapsible.js.map +1 -0
- package/commonjs/ComboChart/ComboChart.js +185 -0
- package/commonjs/ComboChart/ComboChart.js.map +1 -0
- package/commonjs/DashboardCard/DashboardCard.js +229 -0
- package/commonjs/DashboardCard/DashboardCard.js.map +1 -0
- package/commonjs/DataCell/DataCell.js +520 -0
- package/commonjs/DataCell/DataCell.js.map +1 -0
- package/commonjs/DataTable/DataTable.js.map +1 -0
- package/commonjs/Dropdown/CustomDropdown.js +262 -0
- package/commonjs/Dropdown/CustomDropdown.js.map +1 -0
- package/commonjs/Dropdown/Dropdown.js +679 -0
- package/commonjs/Dropdown/InputDropdown.js +169 -0
- package/commonjs/Dropdown/InputDropdown.js.map +1 -0
- package/commonjs/Gantt/Gantt.js +196 -0
- package/commonjs/Gantt/Gantt.js.map +1 -0
- package/commonjs/Gantt/helper.js +387 -0
- package/commonjs/Gantt/helper.js.map +1 -0
- package/commonjs/Grid/FixedSizeGrid.js +175 -0
- package/commonjs/Grid/FixedSizeGrid.js.map +1 -0
- package/commonjs/Grid/Grid.base.js +530 -0
- package/commonjs/Grid/Grid.base.js.map +1 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js +383 -0
- package/commonjs/Grid/StaticFixedSizeGrid.js.map +1 -0
- package/commonjs/Grid/VariableSizeGrid.js +280 -0
- package/commonjs/Grid/VariableSizeGrid.js.map +1 -0
- package/commonjs/Header/Header.js +202 -0
- package/commonjs/Header/Header.js.map +1 -0
- package/commonjs/IconText/IconText.js +115 -0
- package/commonjs/IconText/IconText.js.map +1 -0
- package/commonjs/Icons/TapasIcon.js +170 -0
- package/commonjs/Icons/TapasIcon.js.map +1 -0
- package/commonjs/Icons/TapasIconExpo.js +113 -0
- package/commonjs/Icons/TapasIconExpo.js.map +1 -0
- package/commonjs/Icons/expoFontLoader.js +18 -0
- package/commonjs/Icons/expoFontLoader.js.map +1 -0
- package/commonjs/Icons/fontLoader.js +18 -0
- package/commonjs/Icons/fontLoader.js.map +1 -0
- package/commonjs/Icons/smartFontLoader.js +316 -0
- package/commonjs/Icons/smartFontLoader.js.map +1 -0
- package/commonjs/Image/PreviewImg.js +126 -0
- package/commonjs/Image/PreviewImg.js.map +1 -0
- package/commonjs/Input/Input.js +288 -0
- package/commonjs/Input/Input.js.map +1 -0
- package/commonjs/Layout/DrawerContext.js +43 -0
- package/commonjs/Layout/DrawerContext.js.map +1 -0
- package/commonjs/Layout/Layout.js +124 -0
- package/commonjs/Layout/Layout.js.map +1 -0
- package/commonjs/Layout/ToastContext.js +41 -0
- package/commonjs/Layout/ToastContext.js.map +1 -0
- package/commonjs/LineChart/LineChart.js +461 -0
- package/commonjs/LineChart/LineChart.js.map +1 -0
- package/commonjs/ListItem/ListItem.js +207 -0
- package/commonjs/ListItem/ListItem.js.map +1 -0
- package/commonjs/Navigation/Navigation.js.map +1 -0
- package/commonjs/NumericInput/NumericInput.js +228 -0
- package/commonjs/Pagination/Pagination.js +300 -0
- package/commonjs/Pagination/Pagination.js.map +1 -0
- package/commonjs/PieChart/PieChart.js +406 -0
- package/commonjs/PieChart/PieChart.js.map +1 -0
- package/commonjs/Progress/Progress.js +224 -0
- package/commonjs/Progress/Progress.js.map +1 -0
- package/commonjs/RadioButton/RadioButton.js +110 -0
- package/commonjs/RadioButton/RadioButton.js.map +1 -0
- package/commonjs/SearchInput/SearchInput.js +331 -0
- package/commonjs/SearchInput/SearchInput.js.map +1 -0
- package/commonjs/SheetTitle/SheetTitle.js +95 -0
- package/commonjs/SheetTitle/SheetTitle.js.map +1 -0
- package/commonjs/Shell/types.js +12 -0
- package/commonjs/Shell/types.js.map +1 -0
- package/commonjs/StatisticCard/StatisticCard.js +128 -0
- package/commonjs/StatisticCard/StatisticCard.js.map +1 -0
- package/commonjs/StatisticsTable/StatisticsTable.js.map +1 -0
- package/commonjs/Status/Status.js +128 -0
- package/commonjs/Status/Status.js.map +1 -0
- package/commonjs/Steps/Steps.js +153 -0
- package/commonjs/Steps/Steps.js.map +1 -0
- package/commonjs/Tag/Tag.js +106 -0
- package/commonjs/Tag/Tag.js.map +1 -0
- package/commonjs/Theme/ThemeProvider.js +34 -0
- package/commonjs/Theme/ThemeProvider.js.map +1 -0
- package/commonjs/Theme/defaultTheme.js +338 -0
- package/commonjs/Theme/defaultTheme.js.map +1 -0
- package/commonjs/Theme/types.js +2 -0
- package/commonjs/Theme/types.js.map +1 -0
- package/commonjs/Timeline/Timeline.js +230 -0
- package/commonjs/Timeline/Timeline.js.map +1 -0
- package/commonjs/WebViewBridge/WebViewBridge.js +975 -0
- package/commonjs/WebViewBridge/WebViewBridge.js.map +1 -0
- package/commonjs/common/bridgelessUtils.js +29 -0
- package/commonjs/common/bridgelessUtils.js.map +1 -0
- package/commonjs/common/hooks/useBridgelessFix.js +76 -0
- package/commonjs/common/hooks/useBridgelessFix.js.map +1 -0
- package/commonjs/index.js +975 -0
- package/commonjs/index.js.map +1 -0
- package/module/Alert/Alert.js +82 -0
- package/module/BarChart/BarChart.js +537 -0
- package/module/BarChart/BarChart.js.map +1 -0
- package/module/Button/ButtonGroup.js +148 -0
- package/module/Button/ButtonGroup.js.map +1 -0
- package/module/Calendar/ConcreteTimeSelector.js +409 -0
- package/module/Calendar/ConcreteTimeSelector.js.map +1 -0
- package/module/Calendar/TimeSelector.js +429 -0
- package/module/Calendar/TimeSelector.js.map +1 -0
- package/module/Calendar/types.js +27 -0
- package/module/Calendar/types.js.map +1 -0
- package/module/Card/Card.js +229 -0
- package/module/Card/Card.js.map +1 -0
- package/module/CheckBox/CheckBox.js +133 -0
- package/module/CheckBox/CheckBox.js.map +1 -0
- package/module/CheckBox/CheckBoxItem.js +132 -0
- package/module/CheckBox/CheckBoxItem.js.map +1 -0
- package/module/CircularProgress/CircularProgress.js +49 -0
- package/module/CircularProgress/CircularProgress.js.map +1 -0
- package/module/Collapsible/Collapsible.js +73 -0
- package/module/Collapsible/Collapsible.js.map +1 -0
- package/module/ComboChart/ComboChart.js +180 -0
- package/module/ComboChart/ComboChart.js.map +1 -0
- package/module/DashboardCard/DashboardCard.js +223 -0
- package/module/DashboardCard/DashboardCard.js.map +1 -0
- package/module/DataCell/DataCell.js +515 -0
- package/module/DataCell/DataCell.js.map +1 -0
- package/module/DataTable/DataTable.js.map +1 -0
- package/module/Dropdown/CustomDropdown.js +254 -0
- package/module/Dropdown/CustomDropdown.js.map +1 -0
- package/module/Dropdown/Dropdown.js +663 -0
- package/module/Dropdown/InputDropdown.js +152 -0
- package/module/Dropdown/InputDropdown.js.map +1 -0
- package/module/Gantt/Gantt.js +191 -0
- package/module/Gantt/Gantt.js.map +1 -0
- package/module/Gantt/helper.js +371 -0
- package/module/Gantt/helper.js.map +1 -0
- package/module/Grid/FixedSizeGrid.js +170 -0
- package/module/Grid/FixedSizeGrid.js.map +1 -0
- package/module/Grid/Grid.base.js +526 -0
- package/module/Grid/Grid.base.js.map +1 -0
- package/module/Grid/StaticFixedSizeGrid.js +377 -0
- package/module/Grid/StaticFixedSizeGrid.js.map +1 -0
- package/module/Grid/VariableSizeGrid.js +275 -0
- package/module/Grid/VariableSizeGrid.js.map +1 -0
- package/module/Header/Header.js +197 -0
- package/module/Header/Header.js.map +1 -0
- package/module/IconText/IconText.js +110 -0
- package/module/IconText/IconText.js.map +1 -0
- package/module/Icons/TapasIcon.js +163 -0
- package/module/Icons/TapasIcon.js.map +1 -0
- package/module/Icons/TapasIconExpo.js +107 -0
- package/module/Icons/TapasIconExpo.js.map +1 -0
- package/module/Icons/expoFontLoader.js +14 -0
- package/module/Icons/expoFontLoader.js.map +1 -0
- package/module/Icons/fontLoader.js +14 -0
- package/module/Icons/fontLoader.js.map +1 -0
- package/module/Icons/smartFontLoader.js +311 -0
- package/module/Icons/smartFontLoader.js.map +1 -0
- package/module/Image/PreviewImg.js +120 -0
- package/module/Image/PreviewImg.js.map +1 -0
- package/module/Input/Input.js +283 -0
- package/module/Input/Input.js.map +1 -0
- package/module/Layout/DrawerContext.js +37 -0
- package/module/Layout/DrawerContext.js.map +1 -0
- package/module/Layout/Layout.js +119 -0
- package/module/Layout/Layout.js.map +1 -0
- package/module/Layout/ToastContext.js +35 -0
- package/module/Layout/ToastContext.js.map +1 -0
- package/module/LineChart/LineChart.js +455 -0
- package/module/LineChart/LineChart.js.map +1 -0
- package/module/ListItem/ListItem.js +201 -0
- package/module/ListItem/ListItem.js.map +1 -0
- package/module/Navigation/Navigation.js.map +1 -0
- package/module/NumericInput/NumericInput.js +222 -0
- package/module/Pagination/Pagination.js +294 -0
- package/module/Pagination/Pagination.js.map +1 -0
- package/module/PieChart/PieChart.js +400 -0
- package/module/PieChart/PieChart.js.map +1 -0
- package/module/Progress/Progress.js +219 -0
- package/module/Progress/Progress.js.map +1 -0
- package/module/RadioButton/RadioButton.js +105 -0
- package/module/RadioButton/RadioButton.js.map +1 -0
- package/module/SearchInput/SearchInput.js +327 -0
- package/module/SearchInput/SearchInput.js.map +1 -0
- package/module/SheetTitle/SheetTitle.js +90 -0
- package/module/SheetTitle/SheetTitle.js.map +1 -0
- package/module/Shell/types.js +8 -0
- package/module/Shell/types.js.map +1 -0
- package/module/StatisticCard/StatisticCard.js +123 -0
- package/module/StatisticCard/StatisticCard.js.map +1 -0
- package/module/StatisticsTable/StatisticsTable.js.map +1 -0
- package/module/Status/Status.js +122 -0
- package/module/Status/Status.js.map +1 -0
- package/module/Steps/Steps.js +148 -0
- package/module/Steps/Steps.js.map +1 -0
- package/module/Tag/Tag.js +100 -0
- package/module/Tag/Tag.js.map +1 -0
- package/module/Theme/ThemeProvider.js +29 -0
- package/module/Theme/ThemeProvider.js.map +1 -0
- package/module/Theme/defaultTheme.js +333 -0
- package/module/Theme/defaultTheme.js.map +1 -0
- package/module/Theme/types.js +2 -0
- package/module/Theme/types.js.map +1 -0
- package/module/Timeline/Timeline.js +224 -0
- package/module/Timeline/Timeline.js.map +1 -0
- package/module/WebViewBridge/WebViewBridge.js +967 -0
- package/module/WebViewBridge/WebViewBridge.js.map +1 -0
- package/module/common/bridgelessUtils.js +24 -0
- package/module/common/bridgelessUtils.js.map +1 -0
- package/module/common/hooks/useBridgelessFix.js +73 -0
- package/module/common/hooks/useBridgelessFix.js.map +1 -0
- package/module/index.js +135 -0
- package/module/index.js.map +1 -0
- package/package.json +66 -203
- package/typescript/BarChart/BarChart.d.ts.map +1 -0
- package/typescript/Button/ButtonGroup.d.ts +16 -0
- package/typescript/Button/ButtonGroup.d.ts.map +1 -0
- package/typescript/Calendar/ConcreteTimeSelector.d.ts.map +1 -0
- package/typescript/Calendar/CustomRange.d.ts +4 -0
- package/typescript/Calendar/CustomRange.d.ts.map +1 -0
- package/typescript/Calendar/TimeSelector.d.ts.map +1 -0
- package/typescript/Calendar/types.d.ts +102 -0
- package/typescript/Calendar/types.d.ts.map +1 -0
- package/typescript/Card/Card.d.ts.map +1 -0
- package/typescript/CheckBox/CheckBox.d.ts.map +1 -0
- package/typescript/CheckBox/CheckBoxItem.d.ts.map +1 -0
- package/typescript/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/typescript/Collapsible/Collapsible.d.ts.map +1 -0
- package/typescript/ComboChart/ComboChart.d.ts.map +1 -0
- package/typescript/DashboardCard/DashboardCard.d.ts +30 -0
- package/typescript/DashboardCard/DashboardCard.d.ts.map +1 -0
- package/typescript/DataCell/DataCell.d.ts.map +1 -0
- package/typescript/Dropdown/CustomDropdown.d.ts.map +1 -0
- package/typescript/Dropdown/InputDropdown.d.ts.map +1 -0
- package/typescript/Gantt/Gantt.d.ts.map +1 -0
- package/typescript/Gantt/helper.d.ts +110 -0
- package/typescript/Gantt/helper.d.ts.map +1 -0
- package/typescript/Grid/FixedSizeGrid.d.ts.map +1 -0
- package/typescript/Grid/Grid.base.d.ts.map +1 -0
- package/typescript/Grid/StaticFixedSizeGrid.d.ts.map +1 -0
- package/typescript/Grid/VariableSizeGrid.d.ts.map +1 -0
- package/typescript/Header/Header.d.ts +21 -0
- package/typescript/Header/Header.d.ts.map +1 -0
- package/typescript/IconText/IconText.d.ts.map +1 -0
- package/typescript/Icons/TapasIcon.d.ts +32 -0
- package/typescript/Icons/TapasIcon.d.ts.map +1 -0
- package/typescript/Icons/TapasIconExpo.d.ts.map +1 -0
- package/typescript/Icons/expoFontLoader.d.ts +12 -0
- package/typescript/Icons/expoFontLoader.d.ts.map +1 -0
- package/typescript/Icons/fontLoader.d.ts +12 -0
- package/typescript/Icons/fontLoader.d.ts.map +1 -0
- package/typescript/Icons/smartFontLoader.d.ts +17 -0
- package/typescript/Icons/smartFontLoader.d.ts.map +1 -0
- package/typescript/Image/PreviewImg.d.ts.map +1 -0
- package/typescript/Input/Input.d.ts.map +1 -0
- package/typescript/Layout/DrawerContext.d.ts +10 -0
- package/typescript/Layout/DrawerContext.d.ts.map +1 -0
- package/typescript/Layout/Layout.d.ts.map +1 -0
- package/typescript/Layout/ToastContext.d.ts +10 -0
- package/typescript/Layout/ToastContext.d.ts.map +1 -0
- package/typescript/LineChart/LineChart.d.ts.map +1 -0
- package/typescript/ListItem/ListItem.d.ts.map +1 -0
- package/typescript/Pagination/Pagination.d.ts +27 -0
- package/typescript/Pagination/Pagination.d.ts.map +1 -0
- package/typescript/PieChart/PieChart.d.ts.map +1 -0
- package/typescript/Progress/Progress.d.ts.map +1 -0
- package/typescript/RadioButton/RadioButton.d.ts.map +1 -0
- package/typescript/SearchInput/SearchInput.d.ts.map +1 -0
- package/typescript/SheetTitle/SheetTitle.d.ts.map +1 -0
- package/typescript/Shell/types.d.ts +25 -0
- package/typescript/Shell/types.d.ts.map +1 -0
- package/typescript/StatisticCard/StatisticCard.d.ts +19 -0
- package/typescript/StatisticCard/StatisticCard.d.ts.map +1 -0
- package/typescript/Status/Status.d.ts.map +1 -0
- package/typescript/Steps/Steps.d.ts.map +1 -0
- package/typescript/Tag/Tag.d.ts +14 -0
- package/typescript/Tag/Tag.d.ts.map +1 -0
- package/typescript/Theme/ThemeProvider.d.ts +8 -0
- package/typescript/Theme/ThemeProvider.d.ts.map +1 -0
- package/typescript/Theme/defaultTheme.d.ts +290 -0
- package/typescript/Theme/defaultTheme.d.ts.map +1 -0
- package/typescript/Theme/types.d.ts +27 -0
- package/typescript/Theme/types.d.ts.map +1 -0
- package/typescript/Timeline/Timeline.d.ts.map +1 -0
- package/typescript/WebViewBridge/WebViewBridge.d.ts.map +1 -0
- package/typescript/common/hooks/useBridgelessFix.d.ts +12 -0
- package/typescript/common/hooks/useBridgelessFix.d.ts.map +1 -0
- package/typescript/index.d.ts +690 -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/BarChart/BarChart.tsx +0 -594
- package/components/BarChart/index.tsx +0 -2
- package/components/Button/Button.tsx +0 -96
- package/components/Button/ButtonGroup.tsx +0 -148
- package/components/Button/react-native-hoverable.d.ts +0 -14
- package/components/Calendar/Calendar.base.tsx +0 -393
- package/components/Calendar/Calendar.tsx +0 -107
- 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 -124
- package/components/Calendar/types.ts +0 -113
- 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/ComboChart/ComboChart.tsx +0 -214
- package/components/ComboChart/index.tsx +0 -3
- package/components/DashboardCard/DashboardCard.tsx +0 -221
- package/components/DataCell/DataCell.tsx +0 -670
- package/components/DataCell/index.tsx +0 -9
- package/components/DataTable/DataTable.tsx +0 -263
- package/components/DataTable/index.tsx +0 -3
- package/components/DeviceSelectionModal/DeviceSelectionModal.tsx +0 -368
- package/components/DraggableFlatList/DraggableFlatList.tsx +0 -12
- package/components/Drawer/Drawer.tsx +0 -227
- package/components/Dropdown/CustomDropdown.tsx +0 -288
- package/components/Dropdown/Dropdown.tsx +0 -830
- package/components/Dropdown/InputDropdown.tsx +0 -190
- 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 -65
- package/components/IconText/IconText.tsx +0 -132
- package/components/Icons/TapasIcon.tsx +0 -160
- 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 -297
- package/components/Layout/DrawerContext.tsx +0 -31
- package/components/Layout/Layout.tsx +0 -119
- package/components/Layout/ToastContext.tsx +0 -29
- package/components/Layout/index.tsx +0 -24
- package/components/LineChart/LineChart.tsx +0 -479
- package/components/LineChart/index.tsx +0 -2
- 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 -327
- package/components/Notification/Notification.tsx +0 -289
- package/components/Notification/index.tsx +0 -2
- package/components/NumericInput/NumericInput.tsx +0 -244
- package/components/Overlay/Overlay.tsx +0 -30
- package/components/Pagination/Pagination.tsx +0 -296
- package/components/PieChart/GroupedLegend.tsx +0 -284
- package/components/PieChart/NestedPieChart.tsx +0 -606
- package/components/PieChart/NestedPieChart.types.ts +0 -171
- package/components/PieChart/NestedPieChart.utils.ts +0 -425
- package/components/PieChart/PieChart.tsx +0 -452
- package/components/PieChart/index.tsx +0 -19
- 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 -361
- 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/StatisticCard/StatisticCard.tsx +0 -132
- package/components/StatisticCard/index.tsx +0 -3
- package/components/StatisticsTable/StatisticsTable.tsx +0 -1301
- package/components/StatisticsTable/index.tsx +0 -10
- package/components/Status/Status.tsx +0 -124
- package/components/Steps/Steps.tsx +0 -177
- package/components/Tab/TapasTab.tsx +0 -188
- package/components/Tab/index.tsx +0 -3
- 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 -348
- package/components/Theme/ThemeProvider.tsx +0 -13
- package/components/Theme/defaultTheme.ts +0 -222
- 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 -272
- package/components/UserSwitcher/index.tsx +0 -3
- package/components/WebViewBridge/WebViewBridge.tsx +0 -1140
- package/components/WebViewBridge/index.tsx +0 -12
- package/components/WebViewBridge/useWebViewBridge.ts +0 -145
- package/components/WordCloud/WordCloud.tsx +0 -553
- package/components/WordCloud/index.tsx +0 -3
- package/components/common/bridgelessUtils.ts +0 -22
- package/components/common.ts +0 -8
- package/components/index.tsx +0 -205
- package/package/README.md +0 -107
- package/package/assets/adaptive-icon.png +0 -0
- package/package/assets/favicon.png +0 -0
- package/package/assets/fonts/customfont.ttf +0 -0
- package/package/assets/icon.png +0 -0
- package/package/assets/logo.png +0 -0
- package/package/assets/splash.png +0 -0
- package/package/assets/svg/customfont.svg +0 -333
- package/package/assets/svg/logo.svg +0 -9
- package/package/assets/tapas/favicon.png +0 -0
- package/package/assets/tapas/logo.png +0 -0
- package/package/assets/tapas/logo_no_word.png +0 -0
- package/package/assets/tapas/logo_transparent_white.png +0 -0
- package/package/commonjs/Alert/Alert.js +0 -88
- package/package/commonjs/BarChart/BarChart.js +0 -580
- package/package/commonjs/BarChart/BarChart.js.map +0 -1
- package/package/commonjs/Button/ButtonGroup.js +0 -150
- package/package/commonjs/Button/ButtonGroup.js.map +0 -1
- package/package/commonjs/Calendar/ConcreteTimeSelector.js +0 -416
- package/package/commonjs/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/commonjs/Calendar/TimeSelector.js +0 -437
- package/package/commonjs/Calendar/TimeSelector.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 -235
- package/package/commonjs/Card/Card.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBox.js +0 -161
- package/package/commonjs/CheckBox/CheckBox.js.map +0 -1
- package/package/commonjs/CheckBox/CheckBoxItem.js +0 -134
- package/package/commonjs/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/commonjs/CircularProgress/CircularProgress.js +0 -54
- package/package/commonjs/CircularProgress/CircularProgress.js.map +0 -1
- package/package/commonjs/Collapsible/Collapsible.js +0 -79
- package/package/commonjs/Collapsible/Collapsible.js.map +0 -1
- package/package/commonjs/ComboChart/ComboChart.js +0 -184
- package/package/commonjs/ComboChart/ComboChart.js.map +0 -1
- package/package/commonjs/DashboardCard/DashboardCard.js +0 -225
- package/package/commonjs/DashboardCard/DashboardCard.js.map +0 -1
- package/package/commonjs/DataCell/DataCell.js +0 -535
- package/package/commonjs/DataCell/DataCell.js.map +0 -1
- package/package/commonjs/DataTable/DataTable.js.map +0 -1
- package/package/commonjs/Dropdown/CustomDropdown.js +0 -270
- package/package/commonjs/Dropdown/CustomDropdown.js.map +0 -1
- package/package/commonjs/Dropdown/Dropdown.js +0 -679
- package/package/commonjs/Dropdown/InputDropdown.js +0 -173
- package/package/commonjs/Dropdown/InputDropdown.js.map +0 -1
- package/package/commonjs/Gantt/Gantt.js +0 -169
- package/package/commonjs/Gantt/Gantt.js.map +0 -1
- package/package/commonjs/Gantt/helper.js +0 -383
- package/package/commonjs/Gantt/helper.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/Grid.base.js +0 -533
- package/package/commonjs/Grid/Grid.base.js.map +0 -1
- package/package/commonjs/Grid/StaticFixedSizeGrid.js +0 -389
- 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/Header/Header.js +0 -203
- package/package/commonjs/Header/Header.js.map +0 -1
- package/package/commonjs/IconText/IconText.js +0 -115
- package/package/commonjs/IconText/IconText.js.map +0 -1
- package/package/commonjs/Icons/TapasIcon.js +0 -142
- package/package/commonjs/Icons/TapasIcon.js.map +0 -1
- package/package/commonjs/Icons/TapasIconExpo.js +0 -113
- 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/smartFontLoader.js +0 -313
- package/package/commonjs/Icons/smartFontLoader.js.map +0 -1
- package/package/commonjs/Image/PreviewImg.js +0 -124
- package/package/commonjs/Image/PreviewImg.js.map +0 -1
- package/package/commonjs/Input/Input.js +0 -289
- package/package/commonjs/Input/Input.js.map +0 -1
- package/package/commonjs/Layout/DrawerContext.js +0 -41
- package/package/commonjs/Layout/DrawerContext.js.map +0 -1
- package/package/commonjs/Layout/Layout.js +0 -126
- package/package/commonjs/Layout/Layout.js.map +0 -1
- package/package/commonjs/Layout/ToastContext.js +0 -39
- package/package/commonjs/Layout/ToastContext.js.map +0 -1
- package/package/commonjs/LineChart/LineChart.js +0 -453
- package/package/commonjs/LineChart/LineChart.js.map +0 -1
- package/package/commonjs/ListItem/ListItem.js +0 -210
- package/package/commonjs/ListItem/ListItem.js.map +0 -1
- package/package/commonjs/Navigation/Navigation.js.map +0 -1
- package/package/commonjs/NumericInput/NumericInput.js +0 -228
- package/package/commonjs/Pagination/Pagination.js +0 -298
- package/package/commonjs/Pagination/Pagination.js.map +0 -1
- package/package/commonjs/PieChart/PieChart.js +0 -403
- package/package/commonjs/PieChart/PieChart.js.map +0 -1
- package/package/commonjs/Progress/Progress.js +0 -224
- package/package/commonjs/Progress/Progress.js.map +0 -1
- package/package/commonjs/RadioButton/RadioButton.js +0 -110
- package/package/commonjs/RadioButton/RadioButton.js.map +0 -1
- package/package/commonjs/SearchInput/SearchInput.js +0 -321
- package/package/commonjs/SearchInput/SearchInput.js.map +0 -1
- package/package/commonjs/SheetTitle/SheetTitle.js +0 -95
- package/package/commonjs/SheetTitle/SheetTitle.js.map +0 -1
- package/package/commonjs/Shell/types.js +0 -8
- package/package/commonjs/Shell/types.js.map +0 -1
- package/package/commonjs/StatisticCard/StatisticCard.js +0 -128
- package/package/commonjs/StatisticCard/StatisticCard.js.map +0 -1
- package/package/commonjs/StatisticsTable/StatisticsTable.js.map +0 -1
- package/package/commonjs/Status/Status.js +0 -128
- package/package/commonjs/Status/Status.js.map +0 -1
- package/package/commonjs/Steps/Steps.js +0 -153
- package/package/commonjs/Steps/Steps.js.map +0 -1
- package/package/commonjs/Tag/Tag.js +0 -104
- package/package/commonjs/Tag/Tag.js.map +0 -1
- package/package/commonjs/Theme/ThemeProvider.js +0 -31
- package/package/commonjs/Theme/ThemeProvider.js.map +0 -1
- package/package/commonjs/Theme/defaultTheme.js +0 -238
- package/package/commonjs/Theme/defaultTheme.js.map +0 -1
- package/package/commonjs/Timeline/Timeline.js +0 -230
- package/package/commonjs/Timeline/Timeline.js.map +0 -1
- package/package/commonjs/WebViewBridge/WebViewBridge.js +0 -973
- package/package/commonjs/WebViewBridge/WebViewBridge.js.map +0 -1
- package/package/commonjs/common/bridgelessUtils.js +0 -29
- package/package/commonjs/common/bridgelessUtils.js.map +0 -1
- package/package/commonjs/index.js +0 -941
- package/package/commonjs/index.js.map +0 -1
- package/package/init.js +0 -179
- package/package/module/Alert/Alert.js +0 -82
- package/package/module/AnimatedNavItem/README.md +0 -520
- package/package/module/BarChart/BarChart.js +0 -575
- package/package/module/BarChart/BarChart.js.map +0 -1
- package/package/module/Button/ButtonGroup.js +0 -144
- package/package/module/Button/ButtonGroup.js.map +0 -1
- package/package/module/Calendar/ConcreteTimeSelector.js +0 -410
- package/package/module/Calendar/ConcreteTimeSelector.js.map +0 -1
- package/package/module/Calendar/TimeSelector.js +0 -431
- package/package/module/Calendar/TimeSelector.js.map +0 -1
- package/package/module/Calendar/types.js +0 -22
- package/package/module/Calendar/types.js.map +0 -1
- package/package/module/Card/Card.js +0 -229
- package/package/module/Card/Card.js.map +0 -1
- package/package/module/CheckBox/CheckBox.js +0 -155
- package/package/module/CheckBox/CheckBox.js.map +0 -1
- package/package/module/CheckBox/CheckBoxItem.js +0 -128
- package/package/module/CheckBox/CheckBoxItem.js.map +0 -1
- package/package/module/CircularProgress/CircularProgress.js +0 -49
- package/package/module/CircularProgress/CircularProgress.js.map +0 -1
- package/package/module/Collapsible/Collapsible.js +0 -73
- package/package/module/Collapsible/Collapsible.js.map +0 -1
- package/package/module/ComboChart/ComboChart.js +0 -179
- package/package/module/ComboChart/ComboChart.js.map +0 -1
- package/package/module/DEPENDENCY_WARNINGS.md +0 -242
- package/package/module/DashboardCard/DashboardCard.js +0 -219
- package/package/module/DashboardCard/DashboardCard.js.map +0 -1
- package/package/module/DataCell/DataCell.js +0 -530
- package/package/module/DataCell/DataCell.js.map +0 -1
- package/package/module/DataCell/README.md +0 -1042
- package/package/module/DataTable/DataTable.js.map +0 -1
- package/package/module/Drawer/SCROLLVIEW_FIX.md +0 -127
- package/package/module/Dropdown/CustomDropdown.js +0 -261
- package/package/module/Dropdown/CustomDropdown.js.map +0 -1
- package/package/module/Dropdown/Dropdown.js +0 -663
- package/package/module/Dropdown/InputDropdown.js +0 -156
- package/package/module/Dropdown/InputDropdown.js.map +0 -1
- package/package/module/Gantt/Gantt.js +0 -164
- package/package/module/Gantt/Gantt.js.map +0 -1
- package/package/module/Gantt/helper.js +0 -367
- package/package/module/Gantt/helper.js.map +0 -1
- package/package/module/Grid/FixedSizeGrid.js +0 -171
- package/package/module/Grid/FixedSizeGrid.js.map +0 -1
- package/package/module/Grid/Grid.base.js +0 -529
- package/package/module/Grid/Grid.base.js.map +0 -1
- package/package/module/Grid/StaticFixedSizeGrid.js +0 -383
- package/package/module/Grid/StaticFixedSizeGrid.js.map +0 -1
- package/package/module/Grid/VariableSizeGrid.js +0 -280
- package/package/module/Grid/VariableSizeGrid.js.map +0 -1
- package/package/module/Header/Header.js +0 -198
- package/package/module/Header/Header.js.map +0 -1
- package/package/module/IconText/IconText.js +0 -110
- package/package/module/IconText/IconText.js.map +0 -1
- package/package/module/Icons/README.md +0 -182
- package/package/module/Icons/TapasIcon.js +0 -136
- package/package/module/Icons/TapasIcon.js.map +0 -1
- package/package/module/Icons/TapasIconExpo.js +0 -107
- package/package/module/Icons/TapasIconExpo.js.map +0 -1
- package/package/module/Icons/expoFontLoader.js +0 -201
- package/package/module/Icons/expoFontLoader.js.map +0 -1
- package/package/module/Icons/fontLoader.js +0 -234
- package/package/module/Icons/fontLoader.js.map +0 -1
- package/package/module/Icons/icon-categories.json +0 -341
- package/package/module/Icons/real-icon-mapping.json +0 -1940
- package/package/module/Icons/selection.json +0 -1
- package/package/module/Icons/smartFontLoader.js +0 -308
- package/package/module/Icons/smartFontLoader.js.map +0 -1
- package/package/module/Image/PreviewImg.js +0 -118
- package/package/module/Image/PreviewImg.js.map +0 -1
- package/package/module/Input/FOCUS_FIX_SUMMARY.md +0 -201
- package/package/module/Input/FOCUS_ISSUE_ANALYSIS.md +0 -188
- package/package/module/Input/Input.js +0 -284
- package/package/module/Input/Input.js.map +0 -1
- package/package/module/Input/README.md +0 -157
- package/package/module/Layout/DrawerContext.js +0 -35
- package/package/module/Layout/DrawerContext.js.map +0 -1
- package/package/module/Layout/Layout.js +0 -121
- package/package/module/Layout/Layout.js.map +0 -1
- package/package/module/Layout/ToastContext.js +0 -33
- package/package/module/Layout/ToastContext.js.map +0 -1
- package/package/module/LineChart/LineChart.js +0 -448
- package/package/module/LineChart/LineChart.js.map +0 -1
- package/package/module/ListItem/ListItem.js +0 -204
- package/package/module/ListItem/ListItem.js.map +0 -1
- package/package/module/Loading/README.md +0 -160
- package/package/module/MultiSelector/README.md +0 -246
- package/package/module/Navigation/Navigation.js.map +0 -1
- package/package/module/Notification/README.md +0 -158
- package/package/module/NumericInput/NumericInput.js +0 -222
- package/package/module/Pagination/BACKGROUND_COLOR.md +0 -173
- package/package/module/Pagination/DROPDOWN_IMPROVEMENTS.md +0 -321
- package/package/module/Pagination/Pagination.js +0 -292
- package/package/module/Pagination/Pagination.js.map +0 -1
- package/package/module/PieChart/BACKWARD_COMPATIBILITY.md +0 -157
- package/package/module/PieChart/BUGFIX_EMPTY_DATA.md +0 -86
- package/package/module/PieChart/IMPLEMENTATION_SUMMARY.md +0 -306
- package/package/module/PieChart/NestedPieChart.README.md +0 -421
- package/package/module/PieChart/PieChart.js +0 -398
- package/package/module/PieChart/PieChart.js.map +0 -1
- package/package/module/Progress/Progress.js +0 -219
- package/package/module/Progress/Progress.js.map +0 -1
- package/package/module/Quantity/README.md +0 -251
- package/package/module/RadioButton/RadioButton.js +0 -105
- package/package/module/RadioButton/RadioButton.js.map +0 -1
- package/package/module/ReasonModal/README.md +0 -320
- package/package/module/SearchInput/README.md +0 -304
- package/package/module/SearchInput/SearchInput.js +0 -317
- package/package/module/SearchInput/SearchInput.js.map +0 -1
- package/package/module/SheetTitle/SheetTitle.js +0 -90
- package/package/module/SheetTitle/SheetTitle.js.map +0 -1
- package/package/module/Shell/types.js +0 -4
- package/package/module/Shell/types.js.map +0 -1
- package/package/module/StatisticCard/StatisticCard.js +0 -122
- package/package/module/StatisticCard/StatisticCard.js.map +0 -1
- package/package/module/StatisticsTable/PLACEHOLDER_FEATURE.md +0 -287
- package/package/module/StatisticsTable/README.md +0 -470
- package/package/module/StatisticsTable/SORTING_FEATURE.md +0 -271
- package/package/module/StatisticsTable/STATS_CELL_CLICK.md +0 -120
- package/package/module/StatisticsTable/StatisticsTable.js.map +0 -1
- package/package/module/StatisticsTable/VIRTUAL_SCROLLING.md +0 -254
- package/package/module/Status/Status.js +0 -122
- package/package/module/Status/Status.js.map +0 -1
- package/package/module/Steps/Steps.js +0 -148
- package/package/module/Steps/Steps.js.map +0 -1
- package/package/module/TabTitle/README.md +0 -399
- package/package/module/TableColumnHeader/README.md +0 -682
- package/package/module/Tag/Tag.js +0 -98
- package/package/module/Tag/Tag.js.map +0 -1
- package/package/module/Theme/ThemeProvider.js +0 -26
- package/package/module/Theme/ThemeProvider.js.map +0 -1
- package/package/module/Theme/defaultTheme.js +0 -233
- package/package/module/Theme/defaultTheme.js.map +0 -1
- package/package/module/Timeline/Timeline.js +0 -224
- package/package/module/Timeline/Timeline.js.map +0 -1
- package/package/module/UserSwitcher/README.md +0 -334
- package/package/module/WebViewBridge/OPTIMIZATION_SUMMARY.md +0 -187
- package/package/module/WebViewBridge/README.md +0 -564
- package/package/module/WebViewBridge/WebViewBridge.js +0 -965
- package/package/module/WebViewBridge/WebViewBridge.js.map +0 -1
- package/package/module/WordCloud/README.md +0 -379
- package/package/module/common/bridgelessUtils.js +0 -24
- package/package/module/common/bridgelessUtils.js.map +0 -1
- package/package/module/index.js +0 -133
- package/package/module/index.js.map +0 -1
- package/package/package.json +0 -84
- package/package/typescript/BarChart/BarChart.d.ts.map +0 -1
- package/package/typescript/Button/ButtonGroup.d.ts +0 -16
- package/package/typescript/Button/ButtonGroup.d.ts.map +0 -1
- package/package/typescript/Calendar/ConcreteTimeSelector.d.ts.map +0 -1
- package/package/typescript/Calendar/CustomRange.d.ts +0 -5
- package/package/typescript/Calendar/CustomRange.d.ts.map +0 -1
- package/package/typescript/Calendar/TimeSelector.d.ts.map +0 -1
- package/package/typescript/Calendar/types.d.ts +0 -98
- package/package/typescript/Calendar/types.d.ts.map +0 -1
- package/package/typescript/Card/Card.d.ts.map +0 -1
- package/package/typescript/CheckBox/CheckBox.d.ts.map +0 -1
- package/package/typescript/CheckBox/CheckBoxItem.d.ts.map +0 -1
- package/package/typescript/CircularProgress/CircularProgress.d.ts.map +0 -1
- package/package/typescript/Collapsible/Collapsible.d.ts.map +0 -1
- package/package/typescript/ComboChart/ComboChart.d.ts.map +0 -1
- package/package/typescript/DashboardCard/DashboardCard.d.ts +0 -30
- package/package/typescript/DashboardCard/DashboardCard.d.ts.map +0 -1
- package/package/typescript/DataCell/DataCell.d.ts.map +0 -1
- package/package/typescript/Dropdown/CustomDropdown.d.ts.map +0 -1
- package/package/typescript/Dropdown/InputDropdown.d.ts.map +0 -1
- package/package/typescript/Gantt/Gantt.d.ts.map +0 -1
- package/package/typescript/Gantt/helper.d.ts +0 -110
- package/package/typescript/Gantt/helper.d.ts.map +0 -1
- package/package/typescript/Grid/FixedSizeGrid.d.ts.map +0 -1
- package/package/typescript/Grid/Grid.base.d.ts.map +0 -1
- package/package/typescript/Grid/StaticFixedSizeGrid.d.ts.map +0 -1
- package/package/typescript/Grid/VariableSizeGrid.d.ts.map +0 -1
- package/package/typescript/Header/Header.d.ts +0 -20
- package/package/typescript/Header/Header.d.ts.map +0 -1
- package/package/typescript/IconText/IconText.d.ts.map +0 -1
- package/package/typescript/Icons/TapasIcon.d.ts +0 -19
- package/package/typescript/Icons/TapasIcon.d.ts.map +0 -1
- package/package/typescript/Icons/TapasIconExpo.d.ts.map +0 -1
- package/package/typescript/Icons/expoFontLoader.d.ts +0 -54
- package/package/typescript/Icons/expoFontLoader.d.ts.map +0 -1
- package/package/typescript/Icons/fontLoader.d.ts +0 -55
- package/package/typescript/Icons/fontLoader.d.ts.map +0 -1
- package/package/typescript/Icons/smartFontLoader.d.ts +0 -72
- package/package/typescript/Icons/smartFontLoader.d.ts.map +0 -1
- package/package/typescript/Image/PreviewImg.d.ts.map +0 -1
- package/package/typescript/Input/Input.d.ts.map +0 -1
- package/package/typescript/Layout/DrawerContext.d.ts +0 -4
- package/package/typescript/Layout/DrawerContext.d.ts.map +0 -1
- package/package/typescript/Layout/Layout.d.ts.map +0 -1
- package/package/typescript/Layout/ToastContext.d.ts +0 -4
- package/package/typescript/Layout/ToastContext.d.ts.map +0 -1
- package/package/typescript/LineChart/LineChart.d.ts.map +0 -1
- package/package/typescript/ListItem/ListItem.d.ts.map +0 -1
- package/package/typescript/Pagination/Pagination.d.ts +0 -27
- package/package/typescript/Pagination/Pagination.d.ts.map +0 -1
- package/package/typescript/PieChart/PieChart.d.ts.map +0 -1
- package/package/typescript/Progress/Progress.d.ts.map +0 -1
- package/package/typescript/RadioButton/RadioButton.d.ts.map +0 -1
- package/package/typescript/SearchInput/SearchInput.d.ts.map +0 -1
- package/package/typescript/SheetTitle/SheetTitle.d.ts.map +0 -1
- package/package/typescript/Shell/types.d.ts +0 -21
- package/package/typescript/Shell/types.d.ts.map +0 -1
- package/package/typescript/StatisticCard/StatisticCard.d.ts +0 -19
- package/package/typescript/StatisticCard/StatisticCard.d.ts.map +0 -1
- package/package/typescript/Status/Status.d.ts.map +0 -1
- package/package/typescript/Steps/Steps.d.ts.map +0 -1
- package/package/typescript/Tag/Tag.d.ts +0 -14
- package/package/typescript/Tag/Tag.d.ts.map +0 -1
- package/package/typescript/Theme/ThemeProvider.d.ts +0 -8
- package/package/typescript/Theme/ThemeProvider.d.ts.map +0 -1
- package/package/typescript/Theme/defaultTheme.d.ts +0 -3
- package/package/typescript/Theme/defaultTheme.d.ts.map +0 -1
- package/package/typescript/Timeline/Timeline.d.ts.map +0 -1
- package/package/typescript/WebViewBridge/WebViewBridge.d.ts.map +0 -1
- package/package/typescript/index.d.ts +0 -118
- package/package/typescript/index.d.ts.map +0 -1
- /package/{package/CHANGELOG.md → CHANGELOG.md} +0 -0
- /package/{package/commonjs → commonjs}/Alert/Alert.js.map +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/AnimatedNavItem.js +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/AnimatedNavItem.js.map +0 -0
- /package/{components → commonjs}/AnimatedNavItem/README.md +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js +0 -0
- /package/{package/commonjs → commonjs}/AnimatedNavItem/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/BarChart/index.js +0 -0
- /package/{package/commonjs → commonjs}/BarChart/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/Button.js +0 -0
- /package/{package/commonjs → commonjs}/Button/Button.js.map +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/commonjs → commonjs}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.base.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.base.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/Calendar.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/CustomRange.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/CustomRange.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/DaySelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/DaySelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/MonthSelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/MonthSelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/WeekDaySelector.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/WeekDaySelector.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/helper.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/helper.js.map +0 -0
- /package/{package/commonjs → commonjs}/Calendar/local.js +0 -0
- /package/{package/commonjs → commonjs}/Calendar/local.js.map +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/GroupCheckBox.js +0 -0
- /package/{package/commonjs → commonjs}/CheckBox/GroupCheckBox.js.map +0 -0
- /package/{package/commonjs → commonjs}/ComboChart/index.js +0 -0
- /package/{package/commonjs → commonjs}/ComboChart/index.js.map +0 -0
- /package/{components → commonjs}/DEPENDENCY_WARNINGS.md +0 -0
- /package/{components → commonjs}/DataCell/README.md +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js +0 -0
- /package/{package/commonjs → commonjs}/DataCell/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/DataTable/DataTable.js +0 -0
- /package/{package/commonjs → commonjs}/DataTable/index.js +0 -0
- /package/{package/commonjs → commonjs}/DataTable/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/DeviceSelectionModal/DeviceSelectionModal.js +0 -0
- /package/{package/commonjs → commonjs}/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -0
- /package/{package/commonjs → commonjs}/DraggableFlatList/DraggableFlatList.js +0 -0
- /package/{package/commonjs → commonjs}/DraggableFlatList/DraggableFlatList.js.map +0 -0
- /package/{package/commonjs → commonjs}/Drawer/Drawer.js +0 -0
- /package/{package/commonjs → commonjs}/Drawer/Drawer.js.map +0 -0
- /package/{components → commonjs}/Drawer/SCROLLVIEW_FIX.md +0 -0
- /package/{package/commonjs → commonjs}/Dropdown/Dropdown.js.map +0 -0
- /package/{package/commonjs → commonjs}/ExternalLink/ExternalLink.js +0 -0
- /package/{package/commonjs → commonjs}/ExternalLink/ExternalLink.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Accessories.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/Accessories.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/GanttInnerElementType.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/GanttInnerElementType.js.map +0 -0
- /package/{package/commonjs → commonjs}/Gantt/types.js +0 -0
- /package/{package/commonjs → commonjs}/Gantt/types.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/helper.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/helper.js.map +0 -0
- /package/{package/commonjs → commonjs}/Grid/timer.js +0 -0
- /package/{package/commonjs → commonjs}/Grid/timer.js.map +0 -0
- /package/{package/commonjs → commonjs}/HelloWave/HelloWave.js +0 -0
- /package/{package/commonjs → commonjs}/HelloWave/HelloWave.js.map +0 -0
- /package/{package/commonjs → commonjs}/Hoverable/Hoverable.js +0 -0
- /package/{package/commonjs → commonjs}/Hoverable/Hoverable.js.map +0 -0
- /package/{components → commonjs}/Icons/README.md +0 -0
- /package/{components → commonjs}/Icons/icon-categories.json +0 -0
- /package/{package/commonjs → commonjs}/Icons/index.js +0 -0
- /package/{package/commonjs → commonjs}/Icons/index.js.map +0 -0
- /package/{components → commonjs}/Icons/real-icon-mapping.json +0 -0
- /package/{components → commonjs}/Icons/selection.json +0 -0
- /package/{package/commonjs → commonjs}/Image/Image.js +0 -0
- /package/{package/commonjs → commonjs}/Image/Image.js.map +0 -0
- /package/{components → commonjs}/Input/FOCUS_FIX_SUMMARY.md +0 -0
- /package/{components → commonjs}/Input/FOCUS_ISSUE_ANALYSIS.md +0 -0
- /package/{components → commonjs}/Input/README.md +0 -0
- /package/{package/commonjs → commonjs}/Layout/index.js +0 -0
- /package/{package/commonjs → commonjs}/Layout/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/LineChart/index.js +0 -0
- /package/{package/commonjs → commonjs}/LineChart/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Loading/Loading.js +0 -0
- /package/{package/commonjs → commonjs}/Loading/Loading.js.map +0 -0
- /package/{components → commonjs}/Loading/README.md +0 -0
- /package/{package/commonjs → commonjs}/MessageBox/MessageBox.js +0 -0
- /package/{package/commonjs → commonjs}/MessageBox/MessageBox.js.map +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/MultiSelector.js +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/MultiSelector.js.map +0 -0
- /package/{components → commonjs}/MultiSelector/README.md +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js +0 -0
- /package/{package/commonjs → commonjs}/MultiSelector/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Navigation/Navigation.js +0 -0
- /package/{package/commonjs → commonjs}/Notification/Notification.js +0 -0
- /package/{package/commonjs → commonjs}/Notification/Notification.js.map +0 -0
- /package/{components → commonjs}/Notification/README.md +0 -0
- /package/{package/commonjs → commonjs}/Notification/index.js +0 -0
- /package/{package/commonjs → commonjs}/Notification/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/NumericInput/NumericInput.js.map +0 -0
- /package/{package/commonjs → commonjs}/Overlay/Overlay.js +0 -0
- /package/{package/commonjs → commonjs}/Overlay/Overlay.js.map +0 -0
- /package/{components → commonjs}/Pagination/BACKGROUND_COLOR.md +0 -0
- /package/{components → commonjs}/Pagination/DROPDOWN_IMPROVEMENTS.md +0 -0
- /package/{components → commonjs}/PieChart/BACKWARD_COMPATIBILITY.md +0 -0
- /package/{components → commonjs}/PieChart/BUGFIX_EMPTY_DATA.md +0 -0
- /package/{package/commonjs → commonjs}/PieChart/GroupedLegend.js +0 -0
- /package/{package/commonjs → commonjs}/PieChart/GroupedLegend.js.map +0 -0
- /package/{components → commonjs}/PieChart/IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{components → commonjs}/PieChart/NestedPieChart.README.md +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.js +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.js.map +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.types.js +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.types.js.map +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.utils.js +0 -0
- /package/{package/commonjs → commonjs}/PieChart/NestedPieChart.utils.js.map +0 -0
- /package/{package/commonjs → commonjs}/PieChart/index.js +0 -0
- /package/{package/commonjs → commonjs}/PieChart/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Popover/Popover.js +0 -0
- /package/{package/commonjs → commonjs}/Popover/Popover.js.map +0 -0
- /package/{package/commonjs → commonjs}/Quantity/Quantity.js +0 -0
- /package/{package/commonjs → commonjs}/Quantity/Quantity.js.map +0 -0
- /package/{components → commonjs}/Quantity/README.md +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js +0 -0
- /package/{package/commonjs → commonjs}/Quantity/index.js.map +0 -0
- /package/{components → commonjs}/ReasonModal/README.md +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/ReasonModal.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/ReasonModal.js.map +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js +0 -0
- /package/{package/commonjs → commonjs}/ReasonModal/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/ScanButton/ScanButton.js +0 -0
- /package/{package/commonjs → commonjs}/ScanButton/ScanButton.js.map +0 -0
- /package/{components → commonjs}/SearchInput/README.md +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/index.js +0 -0
- /package/{package/commonjs → commonjs}/SearchInput/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Shell/Shell.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/Shell.js.map +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js +0 -0
- /package/{package/commonjs → commonjs}/Shell/styles.js.map +0 -0
- /package/{package/commonjs → commonjs}/StatisticCard/index.js +0 -0
- /package/{package/commonjs → commonjs}/StatisticCard/index.js.map +0 -0
- /package/{components → commonjs}/StatisticsTable/PLACEHOLDER_FEATURE.md +0 -0
- /package/{components → commonjs}/StatisticsTable/README.md +0 -0
- /package/{components → commonjs}/StatisticsTable/SORTING_FEATURE.md +0 -0
- /package/{components → commonjs}/StatisticsTable/STATS_CELL_CLICK.md +0 -0
- /package/{package/commonjs → commonjs}/StatisticsTable/StatisticsTable.js +0 -0
- /package/{components → commonjs}/StatisticsTable/VIRTUAL_SCROLLING.md +0 -0
- /package/{package/commonjs → commonjs}/StatisticsTable/index.js +0 -0
- /package/{package/commonjs → commonjs}/StatisticsTable/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Tab/TapasTab.js +0 -0
- /package/{package/commonjs → commonjs}/Tab/TapasTab.js.map +0 -0
- /package/{package/commonjs → commonjs}/Tab/index.js +0 -0
- /package/{package/commonjs → commonjs}/Tab/index.js.map +0 -0
- /package/{components → commonjs}/TabTitle/README.md +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/TabTitle.js +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/TabTitle.js.map +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/index.js +0 -0
- /package/{package/commonjs → commonjs}/TabTitle/index.js.map +0 -0
- /package/{components → commonjs}/TableColumnHeader/README.md +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/TableColumnHeader.js +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/TableColumnHeader.js.map +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js +0 -0
- /package/{package/commonjs → commonjs}/TableColumnHeader/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/Task/Task.js +0 -0
- /package/{package/commonjs → commonjs}/Task/Task.js.map +0 -0
- /package/{package/commonjs → commonjs}/Task/type.js +0 -0
- /package/{package/commonjs → commonjs}/Task/type.js.map +0 -0
- /package/{package/commonjs → commonjs}/Text/Text.js +0 -0
- /package/{package/commonjs → commonjs}/Text/Text.js.map +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js +0 -0
- /package/{package/commonjs → commonjs}/TextArea/TextArea.js.map +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js +0 -0
- /package/{package/commonjs → commonjs}/Theme/themed.d.js.map +0 -0
- /package/{package/commonjs → commonjs}/Toast/Toast.js +0 -0
- /package/{package/commonjs → commonjs}/Toast/Toast.js.map +0 -0
- /package/{components → commonjs}/UserSwitcher/README.md +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/UserSwitcher.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/UserSwitcher.js.map +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js +0 -0
- /package/{package/commonjs → commonjs}/UserSwitcher/index.js.map +0 -0
- /package/{components → commonjs}/WebViewBridge/OPTIMIZATION_SUMMARY.md +0 -0
- /package/{components → commonjs}/WebViewBridge/README.md +0 -0
- /package/{package/commonjs → commonjs}/WebViewBridge/index.js +0 -0
- /package/{package/commonjs → commonjs}/WebViewBridge/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/WebViewBridge/useWebViewBridge.js +0 -0
- /package/{package/commonjs → commonjs}/WebViewBridge/useWebViewBridge.js.map +0 -0
- /package/{components → commonjs}/WordCloud/README.md +0 -0
- /package/{package/commonjs → commonjs}/WordCloud/WordCloud.js +0 -0
- /package/{package/commonjs → commonjs}/WordCloud/WordCloud.js.map +0 -0
- /package/{package/commonjs → commonjs}/WordCloud/index.js +0 -0
- /package/{package/commonjs → commonjs}/WordCloud/index.js.map +0 -0
- /package/{package/commonjs → commonjs}/common.js +0 -0
- /package/{package/commonjs → commonjs}/common.js.map +0 -0
- /package/{package/commonjs → commonjs}/package.json +0 -0
- /package/{package/module → module}/Alert/Alert.js.map +0 -0
- /package/{package/module → module}/AnimatedNavItem/AnimatedNavItem.js +0 -0
- /package/{package/module → module}/AnimatedNavItem/AnimatedNavItem.js.map +0 -0
- /package/{package/commonjs → module}/AnimatedNavItem/README.md +0 -0
- /package/{package/module → module}/AnimatedNavItem/index.js +0 -0
- /package/{package/module → module}/AnimatedNavItem/index.js.map +0 -0
- /package/{package/module → module}/BarChart/index.js +0 -0
- /package/{package/module → module}/BarChart/index.js.map +0 -0
- /package/{package/module → module}/Button/Button.js +0 -0
- /package/{package/module → module}/Button/Button.js.map +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js +0 -0
- /package/{package/module → module}/Button/react-native-hoverable.d.js.map +0 -0
- /package/{package/module → module}/Calendar/Calendar.base.js +0 -0
- /package/{package/module → module}/Calendar/Calendar.base.js.map +0 -0
- /package/{package/module → module}/Calendar/Calendar.js +0 -0
- /package/{package/module → module}/Calendar/Calendar.js.map +0 -0
- /package/{package/module → module}/Calendar/CustomRange.js +0 -0
- /package/{package/module → module}/Calendar/CustomRange.js.map +0 -0
- /package/{package/module → module}/Calendar/DaySelector.js +0 -0
- /package/{package/module → module}/Calendar/DaySelector.js.map +0 -0
- /package/{package/module → module}/Calendar/MonthSelector.js +0 -0
- /package/{package/module → module}/Calendar/MonthSelector.js.map +0 -0
- /package/{package/module → module}/Calendar/WeekDaySelector.js +0 -0
- /package/{package/module → module}/Calendar/WeekDaySelector.js.map +0 -0
- /package/{package/module → module}/Calendar/helper.js +0 -0
- /package/{package/module → module}/Calendar/helper.js.map +0 -0
- /package/{package/module → module}/Calendar/local.js +0 -0
- /package/{package/module → module}/Calendar/local.js.map +0 -0
- /package/{package/module → module}/CheckBox/GroupCheckBox.js +0 -0
- /package/{package/module → module}/CheckBox/GroupCheckBox.js.map +0 -0
- /package/{package/module → module}/ComboChart/index.js +0 -0
- /package/{package/module → module}/ComboChart/index.js.map +0 -0
- /package/{package/commonjs → module}/DEPENDENCY_WARNINGS.md +0 -0
- /package/{package/commonjs → module}/DataCell/README.md +0 -0
- /package/{package/module → module}/DataCell/index.js +0 -0
- /package/{package/module → module}/DataCell/index.js.map +0 -0
- /package/{package/module → module}/DataTable/DataTable.js +0 -0
- /package/{package/module → module}/DataTable/index.js +0 -0
- /package/{package/module → module}/DataTable/index.js.map +0 -0
- /package/{package/module → module}/DeviceSelectionModal/DeviceSelectionModal.js +0 -0
- /package/{package/module → module}/DeviceSelectionModal/DeviceSelectionModal.js.map +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js +0 -0
- /package/{package/module → module}/DraggableFlatList/DraggableFlatList.js.map +0 -0
- /package/{package/module → module}/Drawer/Drawer.js +0 -0
- /package/{package/module → module}/Drawer/Drawer.js.map +0 -0
- /package/{package/commonjs → module}/Drawer/SCROLLVIEW_FIX.md +0 -0
- /package/{package/module → module}/Dropdown/Dropdown.js.map +0 -0
- /package/{package/module → module}/ExternalLink/ExternalLink.js +0 -0
- /package/{package/module → module}/ExternalLink/ExternalLink.js.map +0 -0
- /package/{package/module → module}/Gantt/Accessories.js +0 -0
- /package/{package/module → module}/Gantt/Accessories.js.map +0 -0
- /package/{package/module → module}/Gantt/GanttInnerElementType.js +0 -0
- /package/{package/module → module}/Gantt/GanttInnerElementType.js.map +0 -0
- /package/{package/module → module}/Gantt/types.js +0 -0
- /package/{package/module → module}/Gantt/types.js.map +0 -0
- /package/{package/module → module}/Grid/helper.js +0 -0
- /package/{package/module → module}/Grid/helper.js.map +0 -0
- /package/{package/module → module}/Grid/timer.js +0 -0
- /package/{package/module → module}/Grid/timer.js.map +0 -0
- /package/{package/module → module}/HelloWave/HelloWave.js +0 -0
- /package/{package/module → module}/HelloWave/HelloWave.js.map +0 -0
- /package/{package/module → module}/Hoverable/Hoverable.js +0 -0
- /package/{package/module → module}/Hoverable/Hoverable.js.map +0 -0
- /package/{package/commonjs → module}/Icons/README.md +0 -0
- /package/{package/commonjs → module}/Icons/icon-categories.json +0 -0
- /package/{package/module → module}/Icons/index.js +0 -0
- /package/{package/module → module}/Icons/index.js.map +0 -0
- /package/{package/commonjs → module}/Icons/real-icon-mapping.json +0 -0
- /package/{package/commonjs → module}/Icons/selection.json +0 -0
- /package/{package/module → module}/Image/Image.js +0 -0
- /package/{package/module → module}/Image/Image.js.map +0 -0
- /package/{package/commonjs → module}/Input/FOCUS_FIX_SUMMARY.md +0 -0
- /package/{package/commonjs → module}/Input/FOCUS_ISSUE_ANALYSIS.md +0 -0
- /package/{package/commonjs → module}/Input/README.md +0 -0
- /package/{package/module → module}/Layout/index.js +0 -0
- /package/{package/module → module}/Layout/index.js.map +0 -0
- /package/{package/module → module}/LineChart/index.js +0 -0
- /package/{package/module → module}/LineChart/index.js.map +0 -0
- /package/{package/module → module}/Loading/Loading.js +0 -0
- /package/{package/module → module}/Loading/Loading.js.map +0 -0
- /package/{package/commonjs → module}/Loading/README.md +0 -0
- /package/{package/module → module}/MessageBox/MessageBox.js +0 -0
- /package/{package/module → module}/MessageBox/MessageBox.js.map +0 -0
- /package/{package/module → module}/MultiSelector/MultiSelector.js +0 -0
- /package/{package/module → module}/MultiSelector/MultiSelector.js.map +0 -0
- /package/{package/commonjs → module}/MultiSelector/README.md +0 -0
- /package/{package/module → module}/MultiSelector/index.js +0 -0
- /package/{package/module → module}/MultiSelector/index.js.map +0 -0
- /package/{package/module → module}/Navigation/Navigation.js +0 -0
- /package/{package/module → module}/Notification/Notification.js +0 -0
- /package/{package/module → module}/Notification/Notification.js.map +0 -0
- /package/{package/commonjs → module}/Notification/README.md +0 -0
- /package/{package/module → module}/Notification/index.js +0 -0
- /package/{package/module → module}/Notification/index.js.map +0 -0
- /package/{package/module → module}/NumericInput/NumericInput.js.map +0 -0
- /package/{package/module → module}/Overlay/Overlay.js +0 -0
- /package/{package/module → module}/Overlay/Overlay.js.map +0 -0
- /package/{package/commonjs → module}/Pagination/BACKGROUND_COLOR.md +0 -0
- /package/{package/commonjs → module}/Pagination/DROPDOWN_IMPROVEMENTS.md +0 -0
- /package/{package/commonjs → module}/PieChart/BACKWARD_COMPATIBILITY.md +0 -0
- /package/{package/commonjs → module}/PieChart/BUGFIX_EMPTY_DATA.md +0 -0
- /package/{package/module → module}/PieChart/GroupedLegend.js +0 -0
- /package/{package/module → module}/PieChart/GroupedLegend.js.map +0 -0
- /package/{package/commonjs → module}/PieChart/IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{package/commonjs → module}/PieChart/NestedPieChart.README.md +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.js +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.js.map +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.types.js +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.types.js.map +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.utils.js +0 -0
- /package/{package/module → module}/PieChart/NestedPieChart.utils.js.map +0 -0
- /package/{package/module → module}/PieChart/index.js +0 -0
- /package/{package/module → module}/PieChart/index.js.map +0 -0
- /package/{package/module → module}/Popover/Popover.js +0 -0
- /package/{package/module → module}/Popover/Popover.js.map +0 -0
- /package/{package/module → module}/Quantity/Quantity.js +0 -0
- /package/{package/module → module}/Quantity/Quantity.js.map +0 -0
- /package/{package/commonjs → module}/Quantity/README.md +0 -0
- /package/{package/module → module}/Quantity/index.js +0 -0
- /package/{package/module → module}/Quantity/index.js.map +0 -0
- /package/{package/commonjs → module}/ReasonModal/README.md +0 -0
- /package/{package/module → module}/ReasonModal/ReasonModal.js +0 -0
- /package/{package/module → module}/ReasonModal/ReasonModal.js.map +0 -0
- /package/{package/module → module}/ReasonModal/index.js +0 -0
- /package/{package/module → module}/ReasonModal/index.js.map +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js +0 -0
- /package/{package/module → module}/ScanButton/ScanButton.js.map +0 -0
- /package/{package/commonjs → module}/SearchInput/README.md +0 -0
- /package/{package/module → module}/SearchInput/index.js +0 -0
- /package/{package/module → module}/SearchInput/index.js.map +0 -0
- /package/{package/module → module}/Shell/Shell.js +0 -0
- /package/{package/module → module}/Shell/Shell.js.map +0 -0
- /package/{package/module → module}/Shell/styles.js +0 -0
- /package/{package/module → module}/Shell/styles.js.map +0 -0
- /package/{package/module → module}/StatisticCard/index.js +0 -0
- /package/{package/module → module}/StatisticCard/index.js.map +0 -0
- /package/{package/commonjs → module}/StatisticsTable/PLACEHOLDER_FEATURE.md +0 -0
- /package/{package/commonjs → module}/StatisticsTable/README.md +0 -0
- /package/{package/commonjs → module}/StatisticsTable/SORTING_FEATURE.md +0 -0
- /package/{package/commonjs → module}/StatisticsTable/STATS_CELL_CLICK.md +0 -0
- /package/{package/module → module}/StatisticsTable/StatisticsTable.js +0 -0
- /package/{package/commonjs → module}/StatisticsTable/VIRTUAL_SCROLLING.md +0 -0
- /package/{package/module → module}/StatisticsTable/index.js +0 -0
- /package/{package/module → module}/StatisticsTable/index.js.map +0 -0
- /package/{package/module → module}/Tab/TapasTab.js +0 -0
- /package/{package/module → module}/Tab/TapasTab.js.map +0 -0
- /package/{package/module → module}/Tab/index.js +0 -0
- /package/{package/module → module}/Tab/index.js.map +0 -0
- /package/{package/commonjs → module}/TabTitle/README.md +0 -0
- /package/{package/module → module}/TabTitle/TabTitle.js +0 -0
- /package/{package/module → module}/TabTitle/TabTitle.js.map +0 -0
- /package/{package/module → module}/TabTitle/index.js +0 -0
- /package/{package/module → module}/TabTitle/index.js.map +0 -0
- /package/{package/commonjs → module}/TableColumnHeader/README.md +0 -0
- /package/{package/module → module}/TableColumnHeader/TableColumnHeader.js +0 -0
- /package/{package/module → module}/TableColumnHeader/TableColumnHeader.js.map +0 -0
- /package/{package/module → module}/TableColumnHeader/index.js +0 -0
- /package/{package/module → module}/TableColumnHeader/index.js.map +0 -0
- /package/{package/module → module}/Task/Task.js +0 -0
- /package/{package/module → module}/Task/Task.js.map +0 -0
- /package/{package/module → module}/Task/type.js +0 -0
- /package/{package/module → module}/Task/type.js.map +0 -0
- /package/{package/module → module}/Text/Text.js +0 -0
- /package/{package/module → module}/Text/Text.js.map +0 -0
- /package/{package/module → module}/TextArea/TextArea.js +0 -0
- /package/{package/module → module}/TextArea/TextArea.js.map +0 -0
- /package/{package/module → module}/Theme/themed.d.js +0 -0
- /package/{package/module → module}/Theme/themed.d.js.map +0 -0
- /package/{package/module → module}/Toast/Toast.js +0 -0
- /package/{package/module → module}/Toast/Toast.js.map +0 -0
- /package/{package/commonjs → module}/UserSwitcher/README.md +0 -0
- /package/{package/module → module}/UserSwitcher/UserSwitcher.js +0 -0
- /package/{package/module → module}/UserSwitcher/UserSwitcher.js.map +0 -0
- /package/{package/module → module}/UserSwitcher/index.js +0 -0
- /package/{package/module → module}/UserSwitcher/index.js.map +0 -0
- /package/{package/commonjs → module}/WebViewBridge/OPTIMIZATION_SUMMARY.md +0 -0
- /package/{package/commonjs → module}/WebViewBridge/README.md +0 -0
- /package/{package/module → module}/WebViewBridge/index.js +0 -0
- /package/{package/module → module}/WebViewBridge/index.js.map +0 -0
- /package/{package/module → module}/WebViewBridge/useWebViewBridge.js +0 -0
- /package/{package/module → module}/WebViewBridge/useWebViewBridge.js.map +0 -0
- /package/{package/commonjs → module}/WordCloud/README.md +0 -0
- /package/{package/module → module}/WordCloud/WordCloud.js +0 -0
- /package/{package/module → module}/WordCloud/WordCloud.js.map +0 -0
- /package/{package/module → module}/WordCloud/index.js +0 -0
- /package/{package/module → module}/WordCloud/index.js.map +0 -0
- /package/{package/module → module}/common.js +0 -0
- /package/{package/module → module}/common.js.map +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts +0 -0
- /package/{package/typescript → typescript}/Alert/Alert.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/AnimatedNavItem.d.ts.map +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts +0 -0
- /package/{package/typescript → typescript}/AnimatedNavItem/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/BarChart/BarChart.d.ts +0 -0
- /package/{package/typescript → typescript}/BarChart/index.d.ts +0 -0
- /package/{package/typescript → typescript}/BarChart/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}/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/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/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}/Card/Card.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBox.d.ts +0 -0
- /package/{package/typescript → typescript}/CheckBox/CheckBoxItem.d.ts +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}/Collapsible/Collapsible.d.ts +0 -0
- /package/{package/typescript → typescript}/ComboChart/ComboChart.d.ts +0 -0
- /package/{package/typescript → typescript}/ComboChart/index.d.ts +0 -0
- /package/{package/typescript → typescript}/ComboChart/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataCell/DataCell.d.ts +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}/DataTable/DataTable.d.ts +0 -0
- /package/{package/typescript → typescript}/DataTable/DataTable.d.ts.map +0 -0
- /package/{package/typescript → typescript}/DataTable/index.d.ts +0 -0
- /package/{package/typescript → typescript}/DataTable/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/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}/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/GanttInnerElementType.d.ts +0 -0
- /package/{package/typescript → typescript}/Gantt/GanttInnerElementType.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/Grid.base.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/StaticFixedSizeGrid.d.ts +0 -0
- /package/{package/typescript → typescript}/Grid/VariableSizeGrid.d.ts +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}/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}/Icons/TapasIconExpo.d.ts +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}/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}/Input/Input.d.ts +0 -0
- /package/{package/typescript → typescript}/Layout/Layout.d.ts +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}/LineChart/LineChart.d.ts +0 -0
- /package/{package/typescript → typescript}/LineChart/index.d.ts +0 -0
- /package/{package/typescript → typescript}/LineChart/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/ListItem/ListItem.d.ts +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts +0 -0
- /package/{package/typescript → typescript}/Loading/Loading.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts +0 -0
- /package/{package/typescript → typescript}/MessageBox/MessageBox.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/MultiSelector.d.ts.map +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts +0 -0
- /package/{package/typescript → typescript}/MultiSelector/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Navigation/Navigation.d.ts +0 -0
- /package/{package/typescript → typescript}/Navigation/Navigation.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/Notification.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Notification/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts +0 -0
- /package/{package/typescript → typescript}/NumericInput/NumericInput.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts +0 -0
- /package/{package/typescript → typescript}/Overlay/Overlay.d.ts.map +0 -0
- /package/{package/typescript → typescript}/PieChart/GroupedLegend.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/GroupedLegend.d.ts.map +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.d.ts.map +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.types.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.types.d.ts.map +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.utils.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/NestedPieChart.utils.d.ts.map +0 -0
- /package/{package/typescript → typescript}/PieChart/PieChart.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/index.d.ts +0 -0
- /package/{package/typescript → typescript}/PieChart/index.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}/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}/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/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}/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}/StatisticCard/index.d.ts +0 -0
- /package/{package/typescript → typescript}/StatisticCard/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/StatisticsTable/StatisticsTable.d.ts +0 -0
- /package/{package/typescript → typescript}/StatisticsTable/StatisticsTable.d.ts.map +0 -0
- /package/{package/typescript → typescript}/StatisticsTable/index.d.ts +0 -0
- /package/{package/typescript → typescript}/StatisticsTable/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Status/Status.d.ts +0 -0
- /package/{package/typescript → typescript}/Steps/Steps.d.ts +0 -0
- /package/{package/typescript → typescript}/Tab/TapasTab.d.ts +0 -0
- /package/{package/typescript → typescript}/Tab/TapasTab.d.ts.map +0 -0
- /package/{package/typescript → typescript}/Tab/index.d.ts +0 -0
- /package/{package/typescript → typescript}/Tab/index.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}/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}/Timeline/Timeline.d.ts +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}/WebViewBridge/WebViewBridge.d.ts +0 -0
- /package/{package/typescript → typescript}/WebViewBridge/index.d.ts +0 -0
- /package/{package/typescript → typescript}/WebViewBridge/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/WebViewBridge/useWebViewBridge.d.ts +0 -0
- /package/{package/typescript → typescript}/WebViewBridge/useWebViewBridge.d.ts.map +0 -0
- /package/{package/typescript → typescript}/WordCloud/WordCloud.d.ts +0 -0
- /package/{package/typescript → typescript}/WordCloud/WordCloud.d.ts.map +0 -0
- /package/{package/typescript → typescript}/WordCloud/index.d.ts +0 -0
- /package/{package/typescript → typescript}/WordCloud/index.d.ts.map +0 -0
- /package/{package/typescript → typescript}/common/bridgelessUtils.d.ts +0 -0
- /package/{package/typescript → typescript}/common/bridgelessUtils.d.ts.map +0 -0
- /package/{package/typescript → typescript}/common.d.ts +0 -0
- /package/{package/typescript → typescript}/common.d.ts.map +0 -0
|
@@ -1,594 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View, StyleSheet, Platform } from 'react-native';
|
|
3
|
-
import Text from '../Text/Text';
|
|
4
|
-
|
|
5
|
-
// 动态导入依赖
|
|
6
|
-
let RNBarChart: any, Grid: any, RNXAxis: any, RNYAxis: any, SVGText: any;
|
|
7
|
-
let RechartsBarChart: any, RechartsBar: any, RechartsXAxis: any, RechartsYAxis: any, CartesianGrid: any, Tooltip: any, Legend: any, ResponsiveContainer: any, Cell: any;
|
|
8
|
-
let RechartsComposedChart: any, RechartsLine: any;
|
|
9
|
-
|
|
10
|
-
if (Platform.OS === 'web') {
|
|
11
|
-
// Web 环境使用 recharts
|
|
12
|
-
try {
|
|
13
|
-
const recharts = require('recharts');
|
|
14
|
-
RechartsBarChart = recharts.BarChart;
|
|
15
|
-
RechartsBar = recharts.Bar;
|
|
16
|
-
RechartsXAxis = recharts.XAxis;
|
|
17
|
-
RechartsYAxis = recharts.YAxis;
|
|
18
|
-
CartesianGrid = recharts.CartesianGrid;
|
|
19
|
-
Tooltip = recharts.Tooltip;
|
|
20
|
-
Legend = recharts.Legend;
|
|
21
|
-
ResponsiveContainer = recharts.ResponsiveContainer;
|
|
22
|
-
Cell = recharts.Cell;
|
|
23
|
-
RechartsComposedChart = recharts.ComposedChart;
|
|
24
|
-
RechartsLine = recharts.Line;
|
|
25
|
-
} catch (e) {
|
|
26
|
-
console.warn('Recharts not available for Web', e);
|
|
27
|
-
}
|
|
28
|
-
} else {
|
|
29
|
-
// 移动端使用 react-native-svg-charts
|
|
30
|
-
try {
|
|
31
|
-
const svgCharts = require('react-native-svg-charts');
|
|
32
|
-
const svg = require('react-native-svg');
|
|
33
|
-
RNBarChart = svgCharts.BarChart;
|
|
34
|
-
Grid = svgCharts.Grid;
|
|
35
|
-
RNXAxis = svgCharts.XAxis;
|
|
36
|
-
RNYAxis = svgCharts.YAxis;
|
|
37
|
-
SVGText = svg.Text;
|
|
38
|
-
} catch (e) {
|
|
39
|
-
console.warn('react-native-svg-charts not available');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface BarChartData {
|
|
44
|
-
value: number;
|
|
45
|
-
label?: string;
|
|
46
|
-
color?: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface BarChartSeriesData {
|
|
50
|
-
name: string;
|
|
51
|
-
data: number[];
|
|
52
|
-
color?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface BarChartLineSeriesData {
|
|
56
|
-
name: string;
|
|
57
|
-
data: number[];
|
|
58
|
-
color?: string;
|
|
59
|
-
strokeWidth?: number;
|
|
60
|
-
dotRadius?: number;
|
|
61
|
-
activeDotRadius?: number;
|
|
62
|
-
hideDot?: boolean;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface BarChartProps {
|
|
66
|
-
data: BarChartData[] | { categories: string[]; series: BarChartSeriesData[] };
|
|
67
|
-
width?: number;
|
|
68
|
-
height?: number;
|
|
69
|
-
color?: string;
|
|
70
|
-
colors?: string[];
|
|
71
|
-
showGrid?: boolean;
|
|
72
|
-
showLabels?: boolean;
|
|
73
|
-
showValues?: boolean;
|
|
74
|
-
horizontal?: boolean;
|
|
75
|
-
stacked?: boolean;
|
|
76
|
-
showLegend?: boolean;
|
|
77
|
-
legendPosition?: 'top' | 'bottom' | 'left' | 'right'; // 图例位置,默认 bottom
|
|
78
|
-
lineSeries?: BarChartLineSeriesData[]; // 折线图数据系列,支持柱状图和折线图同时显示
|
|
79
|
-
xAxisAngle?: number; // X轴标签旋转角度,默认0(不旋转),负数表示逆时针旋转
|
|
80
|
-
xAxisInterval?: number | 'preserveStartEnd' | 'preserveStart' | 'preserveEnd'; // X轴标签显示间隔
|
|
81
|
-
contentInset?: {
|
|
82
|
-
top?: number;
|
|
83
|
-
bottom?: number;
|
|
84
|
-
left?: number;
|
|
85
|
-
right?: number;
|
|
86
|
-
};
|
|
87
|
-
yAxisFormat?: (value: number) => string;
|
|
88
|
-
xAxisFormat?: (value: number, index: number) => string;
|
|
89
|
-
style?: any;
|
|
90
|
-
testID?: string;
|
|
91
|
-
onBarPress?: (data: BarChartData, index: number) => void; // 柱条点击事件
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export const BarChart: React.FC<BarChartProps> = ({
|
|
95
|
-
data,
|
|
96
|
-
width,
|
|
97
|
-
height = 300,
|
|
98
|
-
color = '#FF6B00',
|
|
99
|
-
colors,
|
|
100
|
-
onBarPress,
|
|
101
|
-
showGrid = true,
|
|
102
|
-
showLabels = true,
|
|
103
|
-
showValues = false,
|
|
104
|
-
horizontal = false,
|
|
105
|
-
stacked = false,
|
|
106
|
-
showLegend = false,
|
|
107
|
-
legendPosition = 'bottom',
|
|
108
|
-
lineSeries,
|
|
109
|
-
xAxisAngle = 0,
|
|
110
|
-
xAxisInterval,
|
|
111
|
-
contentInset = { top: 20, bottom: 20, left: 20, right: 20 },
|
|
112
|
-
yAxisFormat = (value) => value.toString(),
|
|
113
|
-
xAxisFormat,
|
|
114
|
-
style,
|
|
115
|
-
testID,
|
|
116
|
-
}) => {
|
|
117
|
-
// 判断是否为堆叠数据格式
|
|
118
|
-
const isStackedData = !Array.isArray(data) && 'categories' in data && 'series' in data;
|
|
119
|
-
|
|
120
|
-
if (Array.isArray(data) && data.length === 0) {
|
|
121
|
-
return (
|
|
122
|
-
<View style={[styles.container, { height }, style]} testID={testID}>
|
|
123
|
-
<Text style={styles.emptyText}>No data available</Text>
|
|
124
|
-
</View>
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (isStackedData && (!data.categories || data.categories.length === 0)) {
|
|
129
|
-
return (
|
|
130
|
-
<View style={[styles.container, { height }, style]} testID={testID}>
|
|
131
|
-
<Text style={styles.emptyText}>No data available</Text>
|
|
132
|
-
</View>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// Web 环境使用 Recharts(完全参考 ComboChart 的实现)
|
|
137
|
-
if (Platform.OS === 'web' && RechartsBarChart) {
|
|
138
|
-
let chartData: any[] = [];
|
|
139
|
-
let seriesKeys: string[] = [];
|
|
140
|
-
const defaultColors = colors || [
|
|
141
|
-
'#FF6B00', '#0066CC', '#00B894', '#6C5CE7', '#FFB800', '#D63031',
|
|
142
|
-
'#FF9F43', '#0984E3', '#00CEC9', '#A29BFE'
|
|
143
|
-
];
|
|
144
|
-
const hasLineSeries = lineSeries && lineSeries.length > 0;
|
|
145
|
-
|
|
146
|
-
if (isStackedData) {
|
|
147
|
-
// 多系列数据(堆叠/分组)- 参考 ComboChart
|
|
148
|
-
const stackedData = data as { categories: string[]; series: BarChartSeriesData[] };
|
|
149
|
-
seriesKeys = stackedData.series.map(s => s.name);
|
|
150
|
-
|
|
151
|
-
chartData = stackedData.categories.map((category, categoryIndex) => {
|
|
152
|
-
const point: any = { name: category };
|
|
153
|
-
stackedData.series.forEach((serie) => {
|
|
154
|
-
point[serie.name] = serie.data[categoryIndex] || 0;
|
|
155
|
-
});
|
|
156
|
-
// 添加折线图数据
|
|
157
|
-
if (hasLineSeries) {
|
|
158
|
-
lineSeries.forEach((lineSerie) => {
|
|
159
|
-
point[lineSerie.name] = lineSerie.data[categoryIndex] || 0;
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
return point;
|
|
163
|
-
});
|
|
164
|
-
} else {
|
|
165
|
-
// 单系列数据
|
|
166
|
-
const simpleData = data as BarChartData[];
|
|
167
|
-
|
|
168
|
-
chartData = simpleData.map((item, index) => {
|
|
169
|
-
const point: any = {
|
|
170
|
-
name: item.label || `Item ${index + 1}`,
|
|
171
|
-
value: item.value,
|
|
172
|
-
};
|
|
173
|
-
// 添加折线图数据
|
|
174
|
-
if (hasLineSeries) {
|
|
175
|
-
lineSeries.forEach((lineSerie) => {
|
|
176
|
-
point[lineSerie.name] = lineSerie.data[index] || 0;
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
return point;
|
|
180
|
-
});
|
|
181
|
-
seriesKeys = ['value'];
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// 根据 xAxisAngle 计算底部边距
|
|
185
|
-
const bottomMargin = showLabels
|
|
186
|
-
? (xAxisAngle !== 0 ? Math.max(60, Math.abs(xAxisAngle) * 0.5 + 40) : 60)
|
|
187
|
-
: 20;
|
|
188
|
-
|
|
189
|
-
// 如果有折线图系列,使用 ComposedChart
|
|
190
|
-
const ChartBase = hasLineSeries && RechartsComposedChart ? RechartsComposedChart : RechartsBarChart;
|
|
191
|
-
|
|
192
|
-
const ChartComponent = horizontal ? (
|
|
193
|
-
// 横向柱状图(条形图):必须设置 layout="vertical"
|
|
194
|
-
<ChartBase
|
|
195
|
-
data={chartData}
|
|
196
|
-
layout="vertical"
|
|
197
|
-
margin={{ top: 20, right: 30, left: 20, bottom: bottomMargin }}
|
|
198
|
-
>
|
|
199
|
-
{showGrid && <CartesianGrid strokeDasharray="3 3" stroke="#E0E0E0" />}
|
|
200
|
-
<RechartsXAxis
|
|
201
|
-
type="number"
|
|
202
|
-
tickFormatter={yAxisFormat}
|
|
203
|
-
style={{ fontSize: 10 }}
|
|
204
|
-
/>
|
|
205
|
-
<RechartsYAxis
|
|
206
|
-
dataKey="name"
|
|
207
|
-
type="category"
|
|
208
|
-
width={100}
|
|
209
|
-
style={{ fontSize: 10 }}
|
|
210
|
-
angle={xAxisAngle}
|
|
211
|
-
textAnchor={xAxisAngle !== 0 ? (xAxisAngle < 0 ? 'end' : 'start') : 'middle'}
|
|
212
|
-
interval={xAxisInterval}
|
|
213
|
-
/>
|
|
214
|
-
<Tooltip
|
|
215
|
-
contentStyle={{
|
|
216
|
-
backgroundColor: 'rgba(255, 255, 255, 0.95)',
|
|
217
|
-
border: '1px solid #E0E0E0',
|
|
218
|
-
borderRadius: 4,
|
|
219
|
-
}}
|
|
220
|
-
/>
|
|
221
|
-
{(showLegend || isStackedData || hasLineSeries) && (
|
|
222
|
-
<Legend
|
|
223
|
-
verticalAlign={legendPosition === 'top' || legendPosition === 'bottom' ? legendPosition : 'top'}
|
|
224
|
-
align={legendPosition === 'left' || legendPosition === 'right' ? legendPosition : 'center'}
|
|
225
|
-
layout={legendPosition === 'left' || legendPosition === 'right' ? 'vertical' : 'horizontal'}
|
|
226
|
-
wrapperStyle={{
|
|
227
|
-
paddingBottom: legendPosition === 'top' ? 24 : 0,
|
|
228
|
-
}}
|
|
229
|
-
/>
|
|
230
|
-
)}
|
|
231
|
-
{isStackedData ? (
|
|
232
|
-
seriesKeys.map((key, index) => {
|
|
233
|
-
const seriesData = (data as { categories: string[]; series: BarChartSeriesData[] }).series[index];
|
|
234
|
-
const seriesColor = seriesData?.color || defaultColors[index % defaultColors.length];
|
|
235
|
-
return (
|
|
236
|
-
<RechartsBar
|
|
237
|
-
key={key}
|
|
238
|
-
dataKey={key}
|
|
239
|
-
stackId={stacked ? "stack" : undefined}
|
|
240
|
-
fill={seriesColor}
|
|
241
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
242
|
-
onClick={onBarPress ? (_clickedData: any, index: number, _e: any) => {
|
|
243
|
-
// recharts 的 onClick 事件:clickedData 是图表数据项 { name, value },index 是索引
|
|
244
|
-
// 对于堆叠图,需要从 categories 中获取对应的数据
|
|
245
|
-
if (isStackedData) {
|
|
246
|
-
const stackedData = data as { categories: string[]; series: BarChartSeriesData[] };
|
|
247
|
-
if (stackedData.categories && stackedData.categories[index]) {
|
|
248
|
-
// 为堆叠图创建一个临时的 BarChartData 对象
|
|
249
|
-
const categoryName = stackedData.categories[index];
|
|
250
|
-
const totalValue = stackedData.series.reduce((sum, serie) => sum + (serie.data[index] || 0), 0);
|
|
251
|
-
onBarPress({ label: categoryName, value: totalValue }, index);
|
|
252
|
-
}
|
|
253
|
-
} else {
|
|
254
|
-
const originalData = data as BarChartData[];
|
|
255
|
-
if (originalData && originalData[index] !== undefined) {
|
|
256
|
-
onBarPress(originalData[index], index);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
} : undefined}
|
|
260
|
-
/>
|
|
261
|
-
);
|
|
262
|
-
})
|
|
263
|
-
) : (
|
|
264
|
-
<>
|
|
265
|
-
{(colors || (data as BarChartData[]).some(d => d.color)) ? (
|
|
266
|
-
<RechartsBar
|
|
267
|
-
dataKey="value"
|
|
268
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
269
|
-
>
|
|
270
|
-
{chartData.map((_entry: any, index: number) => {
|
|
271
|
-
const originalData = data as BarChartData[];
|
|
272
|
-
const itemColor = originalData[index]?.color || (colors ? colors[index % colors.length] : color);
|
|
273
|
-
return (
|
|
274
|
-
<Cell
|
|
275
|
-
key={`cell-${index}`}
|
|
276
|
-
fill={itemColor}
|
|
277
|
-
onClick={onBarPress ? () => {
|
|
278
|
-
// Cell 的 onClick 事件:直接使用索引访问原始数据
|
|
279
|
-
if (originalData && originalData[index] !== undefined) {
|
|
280
|
-
onBarPress(originalData[index], index);
|
|
281
|
-
}
|
|
282
|
-
} : undefined}
|
|
283
|
-
style={{ cursor: onBarPress ? 'pointer' : 'default' }}
|
|
284
|
-
/>
|
|
285
|
-
);
|
|
286
|
-
})}
|
|
287
|
-
</RechartsBar>
|
|
288
|
-
) : (
|
|
289
|
-
<RechartsBar
|
|
290
|
-
dataKey="value"
|
|
291
|
-
fill={color}
|
|
292
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
293
|
-
onClick={onBarPress ? (_clickedData: any, index: number, _e: any) => {
|
|
294
|
-
// recharts Bar 的 onClick 事件:clickedData 是图表数据项 { name, value },index 是索引
|
|
295
|
-
const originalData = data as BarChartData[];
|
|
296
|
-
if (originalData && originalData[index] !== undefined) {
|
|
297
|
-
onBarPress(originalData[index], index);
|
|
298
|
-
}
|
|
299
|
-
} : undefined}
|
|
300
|
-
style={{ cursor: onBarPress ? 'pointer' : 'default' }}
|
|
301
|
-
/>
|
|
302
|
-
)}
|
|
303
|
-
{/* 渲染折线图系列 */}
|
|
304
|
-
{hasLineSeries && lineSeries.map((lineSerie, lineIndex) => {
|
|
305
|
-
const lineColor = lineSerie.color || defaultColors[(seriesKeys.length + lineIndex) % defaultColors.length];
|
|
306
|
-
return (
|
|
307
|
-
<RechartsLine
|
|
308
|
-
key={lineSerie.name}
|
|
309
|
-
type="monotone"
|
|
310
|
-
dataKey={lineSerie.name}
|
|
311
|
-
stroke={lineColor}
|
|
312
|
-
strokeWidth={lineSerie.strokeWidth ?? 2}
|
|
313
|
-
dot={lineSerie.hideDot ? false : { fill: lineColor, r: lineSerie.dotRadius ?? 4 }}
|
|
314
|
-
activeDot={{ r: lineSerie.activeDotRadius ?? 6 }}
|
|
315
|
-
/>
|
|
316
|
-
);
|
|
317
|
-
})}
|
|
318
|
-
</>
|
|
319
|
-
)}
|
|
320
|
-
</ChartBase>
|
|
321
|
-
) : (
|
|
322
|
-
// 垂直柱状图:不设置 layout(默认就是垂直)
|
|
323
|
-
<ChartBase
|
|
324
|
-
data={chartData}
|
|
325
|
-
margin={{ top: 20, right: 30, left: 20, bottom: bottomMargin }}
|
|
326
|
-
>
|
|
327
|
-
{showGrid && <CartesianGrid strokeDasharray="3 3" stroke="#E0E0E0" />}
|
|
328
|
-
{showLabels && (
|
|
329
|
-
<RechartsXAxis
|
|
330
|
-
dataKey="name"
|
|
331
|
-
style={{ fontSize: 10 }}
|
|
332
|
-
angle={xAxisAngle}
|
|
333
|
-
textAnchor={xAxisAngle !== 0 ? (xAxisAngle < 0 ? 'end' : 'start') : 'middle'}
|
|
334
|
-
height={xAxisAngle !== 0 ? Math.max(60, Math.abs(xAxisAngle) * 0.5 + 40) : undefined}
|
|
335
|
-
interval={xAxisInterval}
|
|
336
|
-
/>
|
|
337
|
-
)}
|
|
338
|
-
<RechartsYAxis
|
|
339
|
-
tickFormatter={yAxisFormat}
|
|
340
|
-
style={{ fontSize: 10 }}
|
|
341
|
-
/>
|
|
342
|
-
<Tooltip
|
|
343
|
-
contentStyle={{
|
|
344
|
-
backgroundColor: 'rgba(255, 255, 255, 0.95)',
|
|
345
|
-
border: '1px solid #E0E0E0',
|
|
346
|
-
borderRadius: 4,
|
|
347
|
-
}}
|
|
348
|
-
/>
|
|
349
|
-
{(showLegend || isStackedData || hasLineSeries) && (
|
|
350
|
-
<Legend
|
|
351
|
-
verticalAlign={legendPosition === 'top' || legendPosition === 'bottom' ? legendPosition : 'top'}
|
|
352
|
-
align={legendPosition === 'left' || legendPosition === 'right' ? legendPosition : 'center'}
|
|
353
|
-
layout={legendPosition === 'left' || legendPosition === 'right' ? 'vertical' : 'horizontal'}
|
|
354
|
-
wrapperStyle={{
|
|
355
|
-
paddingBottom: legendPosition === 'top' ? 24 : 0,
|
|
356
|
-
}}
|
|
357
|
-
/>
|
|
358
|
-
)}
|
|
359
|
-
{isStackedData ? (
|
|
360
|
-
seriesKeys.map((key, index) => {
|
|
361
|
-
const seriesData = (data as { categories: string[]; series: BarChartSeriesData[] }).series[index];
|
|
362
|
-
const seriesColor = seriesData?.color || defaultColors[index % defaultColors.length];
|
|
363
|
-
return (
|
|
364
|
-
<RechartsBar
|
|
365
|
-
key={key}
|
|
366
|
-
dataKey={key}
|
|
367
|
-
stackId={stacked ? "stack" : undefined}
|
|
368
|
-
fill={seriesColor}
|
|
369
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
370
|
-
onClick={onBarPress ? (_clickedData: any, index: number, _e: any) => {
|
|
371
|
-
// recharts 的 onClick 事件:clickedData 是图表数据项 { name, value },index 是索引
|
|
372
|
-
// 对于堆叠图,需要从 categories 中获取对应的数据
|
|
373
|
-
if (isStackedData) {
|
|
374
|
-
const stackedData = data as { categories: string[]; series: BarChartSeriesData[] };
|
|
375
|
-
if (stackedData.categories && stackedData.categories[index]) {
|
|
376
|
-
// 为堆叠图创建一个临时的 BarChartData 对象
|
|
377
|
-
const categoryName = stackedData.categories[index];
|
|
378
|
-
const totalValue = stackedData.series.reduce((sum, serie) => sum + (serie.data[index] || 0), 0);
|
|
379
|
-
onBarPress({ label: categoryName, value: totalValue }, index);
|
|
380
|
-
}
|
|
381
|
-
} else {
|
|
382
|
-
const originalData = data as BarChartData[];
|
|
383
|
-
if (originalData && originalData[index] !== undefined) {
|
|
384
|
-
onBarPress(originalData[index], index);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
} : undefined}
|
|
388
|
-
/>
|
|
389
|
-
);
|
|
390
|
-
})
|
|
391
|
-
) : (
|
|
392
|
-
<>
|
|
393
|
-
{(colors || (data as BarChartData[]).some(d => d.color)) ? (
|
|
394
|
-
<RechartsBar
|
|
395
|
-
dataKey="value"
|
|
396
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
397
|
-
>
|
|
398
|
-
{chartData.map((_entry: any, index: number) => {
|
|
399
|
-
const originalData = data as BarChartData[];
|
|
400
|
-
const itemColor = originalData[index]?.color || (colors ? colors[index % colors.length] : color);
|
|
401
|
-
return (
|
|
402
|
-
<Cell
|
|
403
|
-
key={`cell-${index}`}
|
|
404
|
-
fill={itemColor}
|
|
405
|
-
onClick={onBarPress ? () => {
|
|
406
|
-
// Cell 的 onClick 事件:直接使用索引访问原始数据
|
|
407
|
-
if (originalData && originalData[index] !== undefined) {
|
|
408
|
-
onBarPress(originalData[index], index);
|
|
409
|
-
}
|
|
410
|
-
} : undefined}
|
|
411
|
-
style={{ cursor: onBarPress ? 'pointer' : 'default' }}
|
|
412
|
-
/>
|
|
413
|
-
);
|
|
414
|
-
})}
|
|
415
|
-
</RechartsBar>
|
|
416
|
-
) : (
|
|
417
|
-
<RechartsBar
|
|
418
|
-
dataKey="value"
|
|
419
|
-
fill={color}
|
|
420
|
-
label={showValues ? { position: 'top', fontSize: 12 } : false}
|
|
421
|
-
onClick={onBarPress ? (_clickedData: any, index: number, _e: any) => {
|
|
422
|
-
// recharts Bar 的 onClick 事件:clickedData 是图表数据项 { name, value },index 是索引
|
|
423
|
-
const originalData = data as BarChartData[];
|
|
424
|
-
if (originalData && originalData[index] !== undefined) {
|
|
425
|
-
onBarPress(originalData[index], index);
|
|
426
|
-
}
|
|
427
|
-
} : undefined}
|
|
428
|
-
style={{ cursor: onBarPress ? 'pointer' : 'default' }}
|
|
429
|
-
/>
|
|
430
|
-
)}
|
|
431
|
-
{/* 渲染折线图系列 */}
|
|
432
|
-
{hasLineSeries && lineSeries.map((lineSerie, lineIndex) => {
|
|
433
|
-
const lineColor = lineSerie.color || defaultColors[(seriesKeys.length + lineIndex) % defaultColors.length];
|
|
434
|
-
return (
|
|
435
|
-
<RechartsLine
|
|
436
|
-
key={lineSerie.name}
|
|
437
|
-
type="monotone"
|
|
438
|
-
dataKey={lineSerie.name}
|
|
439
|
-
stroke={lineColor}
|
|
440
|
-
strokeWidth={lineSerie.strokeWidth ?? 2}
|
|
441
|
-
dot={lineSerie.hideDot ? false : { fill: lineColor, r: lineSerie.dotRadius ?? 4 }}
|
|
442
|
-
activeDot={{ r: lineSerie.activeDotRadius ?? 6 }}
|
|
443
|
-
/>
|
|
444
|
-
);
|
|
445
|
-
})}
|
|
446
|
-
</>
|
|
447
|
-
)}
|
|
448
|
-
</ChartBase>
|
|
449
|
-
);
|
|
450
|
-
|
|
451
|
-
return (
|
|
452
|
-
<View style={[styles.container, { height, width: width || '100%' }, style]} testID={testID}>
|
|
453
|
-
{ResponsiveContainer ? (
|
|
454
|
-
<ResponsiveContainer width="100%" height={height - 20}>
|
|
455
|
-
{ChartComponent}
|
|
456
|
-
</ResponsiveContainer>
|
|
457
|
-
) : (
|
|
458
|
-
ChartComponent
|
|
459
|
-
)}
|
|
460
|
-
</View>
|
|
461
|
-
);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
// 移动端使用 react-native-svg-charts
|
|
465
|
-
if (!RNBarChart) {
|
|
466
|
-
return (
|
|
467
|
-
<View style={[styles.container, { height }, style]} testID={testID}>
|
|
468
|
-
<Text style={styles.emptyText}>Chart library not available</Text>
|
|
469
|
-
</View>
|
|
470
|
-
);
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
// 移动端只支持简单数据格式
|
|
474
|
-
if (isStackedData) {
|
|
475
|
-
return (
|
|
476
|
-
<View style={[styles.container, { height }, style]} testID={testID}>
|
|
477
|
-
<Text style={styles.emptyText}>Stacked charts are only available on Web platform</Text>
|
|
478
|
-
</View>
|
|
479
|
-
);
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
const simpleData = data as BarChartData[];
|
|
483
|
-
const chartData = simpleData.map((item: BarChartData, index: number) => ({
|
|
484
|
-
value: item.value,
|
|
485
|
-
svg: {
|
|
486
|
-
fill: colors ? colors[index % colors.length] : (item.color || color),
|
|
487
|
-
onPress: onBarPress ? () => {
|
|
488
|
-
// 移动端触摸事件:直接使用索引访问原始数据
|
|
489
|
-
if (simpleData && simpleData[index] !== undefined) {
|
|
490
|
-
onBarPress(simpleData[index], index);
|
|
491
|
-
}
|
|
492
|
-
} : undefined,
|
|
493
|
-
},
|
|
494
|
-
}));
|
|
495
|
-
|
|
496
|
-
const CUT_OFF = 0;
|
|
497
|
-
const Labels = ({ x, y, bandwidth, data: labelData }: any) => {
|
|
498
|
-
if (!showValues || !SVGText) return null;
|
|
499
|
-
|
|
500
|
-
return labelData.map((value: any, index: number) => (
|
|
501
|
-
<SVGText
|
|
502
|
-
key={index}
|
|
503
|
-
x={x(index) + (bandwidth / 2)}
|
|
504
|
-
y={value < CUT_OFF ? y(value) - 10 : y(value) + 15}
|
|
505
|
-
fontSize={12}
|
|
506
|
-
fill={value >= CUT_OFF ? 'white' : 'black'}
|
|
507
|
-
alignmentBaseline={'middle'}
|
|
508
|
-
textAnchor={'middle'}
|
|
509
|
-
>
|
|
510
|
-
{value.toFixed(0)}
|
|
511
|
-
</SVGText>
|
|
512
|
-
));
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
const defaultXAxisFormat = (_value: number, index: number) => {
|
|
516
|
-
return simpleData[index]?.label || index.toString();
|
|
517
|
-
};
|
|
518
|
-
|
|
519
|
-
return (
|
|
520
|
-
<View style={[styles.container, { height, width: width || '100%' }, style]} testID={testID}>
|
|
521
|
-
{!horizontal ? (
|
|
522
|
-
<View style={styles.chartWrapper}>
|
|
523
|
-
<RNBarChart
|
|
524
|
-
style={{ flex: 1 }}
|
|
525
|
-
data={chartData}
|
|
526
|
-
contentInset={contentInset}
|
|
527
|
-
gridMin={0}
|
|
528
|
-
>
|
|
529
|
-
{showGrid && Grid && <Grid />}
|
|
530
|
-
{showValues && <Labels />}
|
|
531
|
-
</RNBarChart>
|
|
532
|
-
|
|
533
|
-
{showLabels && RNXAxis && (
|
|
534
|
-
<RNXAxis
|
|
535
|
-
style={styles.xAxis}
|
|
536
|
-
data={simpleData}
|
|
537
|
-
formatLabel={xAxisFormat || defaultXAxisFormat}
|
|
538
|
-
contentInset={{ left: 20, right: 20 }}
|
|
539
|
-
svg={{ fontSize: 10, fill: 'black' }}
|
|
540
|
-
/>
|
|
541
|
-
)}
|
|
542
|
-
</View>
|
|
543
|
-
) : (
|
|
544
|
-
<View style={styles.horizontalWrapper}>
|
|
545
|
-
{showLabels && RNYAxis && (
|
|
546
|
-
<RNYAxis
|
|
547
|
-
data={simpleData.map((d: BarChartData) => d.value)}
|
|
548
|
-
contentInset={{ top: 10, bottom: 10 }}
|
|
549
|
-
formatLabel={yAxisFormat}
|
|
550
|
-
svg={{ fontSize: 10, fill: 'black' }}
|
|
551
|
-
style={styles.yAxis}
|
|
552
|
-
/>
|
|
553
|
-
)}
|
|
554
|
-
|
|
555
|
-
<RNBarChart
|
|
556
|
-
style={{ flex: 1 }}
|
|
557
|
-
data={chartData}
|
|
558
|
-
contentInset={{ top: 10, bottom: 10 }}
|
|
559
|
-
horizontal={true}
|
|
560
|
-
gridMin={0}
|
|
561
|
-
>
|
|
562
|
-
{showGrid && Grid && <Grid direction={Grid.Direction.VERTICAL} />}
|
|
563
|
-
</RNBarChart>
|
|
564
|
-
</View>
|
|
565
|
-
)}
|
|
566
|
-
</View>
|
|
567
|
-
);
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
const styles = StyleSheet.create({
|
|
571
|
-
container: {
|
|
572
|
-
backgroundColor: 'transparent',
|
|
573
|
-
},
|
|
574
|
-
chartWrapper: {
|
|
575
|
-
flex: 1,
|
|
576
|
-
},
|
|
577
|
-
horizontalWrapper: {
|
|
578
|
-
flex: 1,
|
|
579
|
-
flexDirection: 'row',
|
|
580
|
-
},
|
|
581
|
-
xAxis: {
|
|
582
|
-
marginHorizontal: -10,
|
|
583
|
-
height: 30,
|
|
584
|
-
},
|
|
585
|
-
yAxis: {
|
|
586
|
-
marginVertical: -4,
|
|
587
|
-
width: 60,
|
|
588
|
-
},
|
|
589
|
-
emptyText: {
|
|
590
|
-
textAlign: 'center',
|
|
591
|
-
marginTop: 100,
|
|
592
|
-
color: '#999',
|
|
593
|
-
},
|
|
594
|
-
});
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import React, { useState, useCallback, useMemo } from 'react';
|
|
2
|
-
import { Button as RneButton, ButtonProps, makeStyles} from '@rneui/themed';
|
|
3
|
-
import {Platform} from 'react-native';
|
|
4
|
-
import Hoverable from '../Hoverable/Hoverable';
|
|
5
|
-
export interface Props extends ButtonProps {
|
|
6
|
-
hoverStyle?: any;
|
|
7
|
-
buttonStyle?: any;
|
|
8
|
-
titleStyle?: any;
|
|
9
|
-
selectedTitleStyle?: any;
|
|
10
|
-
width?: number;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const useStyles = makeStyles((theme) => ({
|
|
14
|
-
buttonHovered: {
|
|
15
|
-
backgroundColor: theme?.colors?.colorSurface2,
|
|
16
|
-
},
|
|
17
|
-
outlineButtonHovered: {
|
|
18
|
-
backgroundColor: theme?.colors?.grey4,
|
|
19
|
-
borderColor: theme?.colors?.grey4,
|
|
20
|
-
borderWidth: 1, // 固定边框宽度,防止 hover 时尺寸变化
|
|
21
|
-
},
|
|
22
|
-
button: {
|
|
23
|
-
backgroundColor: theme?.colors?.primary,
|
|
24
|
-
},
|
|
25
|
-
baseButton: {
|
|
26
|
-
fontFamily: theme?.fonts?.fontFamily,
|
|
27
|
-
fontSize: theme?.fonts.sizeM,
|
|
28
|
-
fontWeight: theme?.fonts.weightM,
|
|
29
|
-
},
|
|
30
|
-
outlineButton: {
|
|
31
|
-
borderColor: theme?.colors?.grey4,
|
|
32
|
-
backgroundColor: theme?.colors?.white || '#ffffff',
|
|
33
|
-
borderWidth: 1, // 固定边框宽度,防止 hover 时尺寸变化
|
|
34
|
-
}
|
|
35
|
-
}));
|
|
36
|
-
export const Button: React.FC<Props> = ({hoverStyle, buttonStyle, width, ...props}) => {
|
|
37
|
-
|
|
38
|
-
const [isHovered, setIsHovered] = useState(false);
|
|
39
|
-
const styles = useStyles(props);
|
|
40
|
-
|
|
41
|
-
const handleMouseEnter = useCallback(() => {
|
|
42
|
-
setIsHovered(true);
|
|
43
|
-
}, []);
|
|
44
|
-
|
|
45
|
-
const handleMouseLeave = useCallback(() => {
|
|
46
|
-
setIsHovered(false);
|
|
47
|
-
}, []);
|
|
48
|
-
|
|
49
|
-
const { primaryStyle, hoveredStyle } = useMemo(() => ({
|
|
50
|
-
primaryStyle: props.type === 'solid' ? styles.button : props.type === 'outline' ? styles.outlineButton : {},
|
|
51
|
-
hoveredStyle: props.type === 'solid' ? styles.buttonHovered : props.type === 'outline' ? styles.outlineButtonHovered : {}
|
|
52
|
-
}), [props.type, styles]);
|
|
53
|
-
|
|
54
|
-
const newButtonStyle = useMemo(() => {
|
|
55
|
-
if (isHovered && props.type !== 'clear') {
|
|
56
|
-
// 合并样式:primaryStyle < hoveredStyle < buttonStyle < hoverStyle
|
|
57
|
-
// 这样用户自定义的 buttonStyle(如 borderWidth)不会被 hoveredStyle 覆盖
|
|
58
|
-
const merged = {...primaryStyle, ...hoveredStyle, ...buttonStyle, ...hoverStyle};
|
|
59
|
-
// 如果用户自定义了 borderWidth,保持用户的值
|
|
60
|
-
if (buttonStyle?.borderWidth !== undefined) {
|
|
61
|
-
merged.borderWidth = buttonStyle.borderWidth;
|
|
62
|
-
}
|
|
63
|
-
return merged;
|
|
64
|
-
}
|
|
65
|
-
return { ...primaryStyle, ...buttonStyle};
|
|
66
|
-
}, [isHovered, props.type, hoveredStyle, hoverStyle, primaryStyle, buttonStyle]);
|
|
67
|
-
|
|
68
|
-
const containerStyle = useMemo(() => ({ width }), [width]);
|
|
69
|
-
const titleStyleMemo = useMemo(() => [styles.baseButton, props.titleStyle], [styles.baseButton, props.titleStyle]);
|
|
70
|
-
|
|
71
|
-
return Platform.OS === 'web' && props.type !== 'clear' ? (
|
|
72
|
-
<Hoverable
|
|
73
|
-
onHoverIn={handleMouseEnter}
|
|
74
|
-
onHoverOut={handleMouseLeave}
|
|
75
|
-
>
|
|
76
|
-
{(isHovered: boolean) => (
|
|
77
|
-
<RneButton
|
|
78
|
-
containerStyle={containerStyle}
|
|
79
|
-
buttonStyle={newButtonStyle}
|
|
80
|
-
titleStyle={isHovered ? [titleStyleMemo, props.selectedTitleStyle].filter(Boolean) : titleStyleMemo}
|
|
81
|
-
{...props}
|
|
82
|
-
/>
|
|
83
|
-
)}
|
|
84
|
-
</Hoverable>
|
|
85
|
-
) : (
|
|
86
|
-
<RneButton
|
|
87
|
-
containerStyle={containerStyle}
|
|
88
|
-
buttonStyle={newButtonStyle}
|
|
89
|
-
titleStyle={titleStyleMemo}
|
|
90
|
-
{...props}
|
|
91
|
-
/>
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export default Button;
|