@sis-cc/dotstatsuite-visions 12.56.0 → 13.0.0
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/README.md +2 -34
- package/dist/Alert/Alert.js +185 -0
- package/dist/Alert/Alert.js.map +1 -0
- package/dist/ApiQueries/ApiQueries.js +163 -0
- package/dist/ApiQueries/ApiQueries.js.map +1 -0
- package/dist/AuthDialog/AuthDialog.js +114 -0
- package/dist/AuthDialog/AuthDialog.js.map +1 -0
- package/dist/Breadcrumbs/Breadcrumbs.js +51 -0
- package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/dist/Button/Button.js +50 -0
- package/dist/Button/Button.js.map +1 -0
- package/dist/ChartsConfig/ChartsConfig.js +507 -0
- package/dist/ChartsConfig/ChartsConfig.js.map +1 -0
- package/dist/CollapseButtons/CollapseButtons.js +320 -0
- package/dist/CollapseButtons/CollapseButtons.js.map +1 -0
- package/dist/CollapsibleTree/CollapsibleTree.js +199 -0
- package/dist/CollapsibleTree/CollapsibleTree.js.map +1 -0
- package/dist/Contact/Contact.js +439 -0
- package/dist/Contact/Contact.js.map +1 -0
- package/dist/DataFooter/DataFooter.js +106 -0
- package/dist/DataFooter/DataFooter.js.map +1 -0
- package/dist/DataHeader/DataHeader.js +341 -0
- package/dist/DataHeader/DataHeader.js.map +1 -0
- package/dist/Dataflow/Dataflow.js +325 -0
- package/dist/Dataflow/Dataflow.js.map +1 -0
- package/dist/DeleteAllChip/DeleteAllChip.js +24 -0
- package/dist/DeleteAllChip/DeleteAllChip.js.map +1 -0
- package/dist/DynamicDrawer/DynamicDrawer.js +875 -0
- package/dist/DynamicDrawer/DynamicDrawer.js.map +1 -0
- package/dist/ExpansionPanel/ExpansionPanel.js +199 -0
- package/dist/ExpansionPanel/ExpansionPanel.js.map +1 -0
- package/dist/GroupedChips/GroupedChips.js +78 -0
- package/dist/GroupedChips/GroupedChips.js.map +1 -0
- package/dist/HierarchicalFilter/HierarchicalFilter.js +144 -0
- package/dist/HierarchicalFilter/HierarchicalFilter.js.map +1 -0
- package/dist/Icons/AccessibilityFilled.js +8 -0
- package/dist/Icons/AccessibilityFilled.js.map +1 -0
- package/dist/Icons/AccessibilityOutlined.js +8 -0
- package/dist/Icons/AccessibilityOutlined.js.map +1 -0
- package/dist/Icons/AccountFilled.js +8 -0
- package/dist/Icons/AccountFilled.js.map +1 -0
- package/dist/Icons/AccountOutlined.js +8 -0
- package/dist/Icons/AccountOutlined.js.map +1 -0
- package/dist/Icons/Api.js +8 -0
- package/dist/Icons/Api.js.map +1 -0
- package/dist/Icons/Asterisk.js +8 -0
- package/dist/Icons/Asterisk.js.map +1 -0
- package/dist/Icons/Bar.js +8 -0
- package/dist/Icons/Bar.js.map +1 -0
- package/dist/Icons/CopyContent.js +8 -0
- package/dist/Icons/CopyContent.js.map +1 -0
- package/dist/Icons/Cross.js +8 -0
- package/dist/Icons/Cross.js.map +1 -0
- package/dist/Icons/HSymbol.js +8 -0
- package/dist/Icons/HSymbol.js.map +1 -0
- package/dist/Icons/Row.js +8 -0
- package/dist/Icons/Row.js.map +1 -0
- package/dist/Icons/Scatter.js +8 -0
- package/dist/Icons/Scatter.js.map +1 -0
- package/dist/Icons/StackedBar.js +8 -0
- package/dist/Icons/StackedBar.js.map +1 -0
- package/dist/Icons/StackedRow.js +8 -0
- package/dist/Icons/StackedRow.js.map +1 -0
- package/dist/Icons/Timeline.js +8 -0
- package/dist/Icons/Timeline.js.map +1 -0
- package/dist/Icons/VSymbol.js +8 -0
- package/dist/Icons/VSymbol.js.map +1 -0
- package/dist/Icons/Warning.js +18 -0
- package/dist/Icons/Warning.js.map +1 -0
- package/dist/Input/Input.js +72 -0
- package/dist/Input/Input.js.map +1 -0
- package/dist/InputNumber/InputNumber.js +86 -0
- package/dist/InputNumber/InputNumber.js.map +1 -0
- package/dist/LabelDivider/LabelDivider.js +35 -0
- package/dist/LabelDivider/LabelDivider.js.map +1 -0
- package/dist/Loading/Loading.js +72 -0
- package/dist/Loading/Loading.js.map +1 -0
- package/dist/Logo/Logo.js +38 -0
- package/dist/Logo/Logo.js.map +1 -0
- package/dist/Mode/Mode.js +90 -0
- package/dist/Mode/Mode.js.map +1 -0
- package/dist/NoData/NoData.js +27 -0
- package/dist/NoData/NoData.js.map +1 -0
- package/dist/Pagination/Pagination.js +142 -0
- package/dist/Pagination/Pagination.js.map +1 -0
- package/dist/PeriodPicker/PeriodPicker.js +550 -0
- package/dist/PeriodPicker/PeriodPicker.js.map +1 -0
- package/dist/Select/Select.js +125 -0
- package/dist/Select/Select.js.map +1 -0
- package/dist/Share/Share.js +292 -0
- package/dist/Share/Share.js.map +1 -0
- package/dist/ShortUrls/ShortUrls.js +106 -0
- package/dist/ShortUrls/ShortUrls.js.map +1 -0
- package/dist/SisccFooter/SisccFooter.js +65 -0
- package/dist/SisccFooter/SisccFooter.js.map +1 -0
- package/dist/Spotlight/Spotlight.js +349 -0
- package/dist/Spotlight/Spotlight.js.map +1 -0
- package/dist/TableFooter/TableFooter.js +42 -0
- package/dist/TableFooter/TableFooter.js.map +1 -0
- package/dist/TableHeader/TableHeader.js +35 -0
- package/dist/TableHeader/TableHeader.js.map +1 -0
- package/dist/TableHtml5/TableHtml5.js +1045 -0
- package/dist/TableHtml5/TableHtml5.js.map +1 -0
- package/dist/TableLayout/TableLayout.js +529 -0
- package/dist/TableLayout/TableLayout.js.map +1 -0
- package/dist/TablePreview/TablePreview.js +209 -0
- package/dist/TablePreview/TablePreview.js.map +1 -0
- package/dist/Tag/Tag.js +23 -0
- package/dist/Tag/Tag.js.map +1 -0
- package/dist/Tooltip/Tooltip.js +54 -0
- package/dist/Tooltip/Tooltip.js.map +1 -0
- package/dist/UserRightForm/UserRightForm.js +545 -0
- package/dist/UserRightForm/UserRightForm.js.map +1 -0
- package/dist/VerticalButton/VerticalButton.js +43 -0
- package/dist/VerticalButton/VerticalButton.js.map +1 -0
- package/dist/chunks/CustomChip-CMYCIorJ.js +181 -0
- package/dist/chunks/CustomChip-CMYCIorJ.js.map +1 -0
- package/dist/chunks/useKeybordEscapeHandler-DRsOrnwc.js +22 -0
- package/dist/chunks/useKeybordEscapeHandler-DRsOrnwc.js.map +1 -0
- package/dist/chunks/utils-BQc_rN44.js +15 -0
- package/dist/chunks/utils-BQc_rN44.js.map +1 -0
- package/dist/chunks/utils-kslX1mzh.js +20 -0
- package/dist/chunks/utils-kslX1mzh.js.map +1 -0
- package/dist/chunks/with-input-DRWNlMdA.js +35 -0
- package/dist/chunks/with-input-DRWNlMdA.js.map +1 -0
- package/dist/chunks/withSpotlight-CYQVWD78.js +903 -0
- package/dist/chunks/withSpotlight-CYQVWD78.js.map +1 -0
- package/{es → dist/theme}/theme.js +147 -149
- package/dist/theme/theme.js.map +1 -0
- package/package.json +55 -199
- package/es/AdvancedFilterDialog/AdvancedFilterDialog.js +0 -583
- package/es/AdvancedFilterDialog/SelectionModeMenu.js +0 -85
- package/es/AdvancedFilterDialog/images/all-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/branch-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/children-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/level-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/single-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/small-all-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/small-branch-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/small-children-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/small-level-selection.png +0 -0
- package/es/AdvancedFilterDialog/images/small-single-selection.png +0 -0
- package/es/AdvancedFilterDialog/index.js +0 -26
- package/es/Alert/Alert.js +0 -284
- package/es/Alert/index.js +0 -13
- package/es/ApiQueries/ApiQueries.js +0 -107
- package/es/ApiQueries/Query.js +0 -175
- package/es/ApiQueries/index.js +0 -45
- package/es/AuthDialog/index.js +0 -211
- package/es/Breadcrumbs/Breadcrumbs.js +0 -72
- package/es/Breadcrumbs/index.js +0 -30
- package/es/Button/Button.js +0 -63
- package/es/Button/index.js +0 -52
- package/es/ChartsConfig/ChartsConfig.js +0 -470
- package/es/ChartsConfig/Input.js +0 -152
- package/es/ChartsConfig/InputProxy.js +0 -57
- package/es/ChartsConfig/Proxy.js +0 -20
- package/es/ChartsConfig/Title.js +0 -37
- package/es/ChartsConfig/index.js +0 -213
- package/es/ChartsConfig/useAxisOptions.js +0 -9
- package/es/ChartsConfig/useDimensionOptions.js +0 -12
- package/es/ChartsConfig/useFocusOptions.js +0 -22
- package/es/ChartsConfig/utils.js +0 -6
- package/es/Chips/CustomChip.js +0 -139
- package/es/Chips/DeleteChip.js +0 -32
- package/es/Chips/GroupedChips.js +0 -106
- package/es/Chips/index.js +0 -69
- package/es/Chips/styles.js +0 -67
- package/es/Chips/utils.js +0 -21
- package/es/CollapseButtons/CollapseButtons.js +0 -159
- package/es/CollapseButtons/Item.js +0 -146
- package/es/CollapseButtons/Paper.js +0 -58
- package/es/CollapseButtons/index.js +0 -90
- package/es/CollapsibleTree/Collapse.js +0 -98
- package/es/CollapsibleTree/CollapsibleTree.js +0 -229
- package/es/CollapsibleTree/index.js +0 -49
- package/es/Contact/Contact.js +0 -360
- package/es/Contact/Input.js +0 -129
- package/es/Contact/Mode.js +0 -134
- package/es/Contact/index.js +0 -36
- package/es/DataEdit/DataEdit.js +0 -154
- package/es/DataEdit/Input.js +0 -151
- package/es/DataEdit/index.js +0 -70
- package/es/DataFooter/DataFooter.js +0 -178
- package/es/DataFooter/index.js +0 -33
- package/es/DataHeader/DataHeader.js +0 -314
- package/es/DataHeader/Flags.js +0 -42
- package/es/DataHeader/Title.js +0 -27
- package/es/DataHeader/TooltipHeader.js +0 -78
- package/es/DataHeader/index.js +0 -82
- package/es/DataHeader/utils.js +0 -19
- package/es/Dataflow/Dataflow.js +0 -441
- package/es/Dataflow/index.js +0 -62
- package/es/DynamicDrawer/AdvancedSelection.js +0 -503
- package/es/DynamicDrawer/DynamicDrawer.js +0 -418
- package/es/DynamicDrawer/SelectionModesMobile.js +0 -88
- package/es/DynamicDrawer/index.js +0 -44
- package/es/ExpansionPanel/ExpansionPanel.js +0 -151
- package/es/ExpansionPanel/index.js +0 -58
- package/es/ExpansionPanel/styles.js +0 -89
- package/es/HierarchicalFilter/HierarchicalFilter.js +0 -178
- package/es/HierarchicalFilter/index.js +0 -26
- package/es/Icons/AccessibilityFilled.js +0 -12
- package/es/Icons/AccessibilityOutlined.js +0 -12
- package/es/Icons/AccountFilled.js +0 -12
- package/es/Icons/AccountOutlined.js +0 -12
- package/es/Icons/Api.js +0 -12
- package/es/Icons/Asterisk.js +0 -12
- package/es/Icons/Bar.js +0 -12
- package/es/Icons/CopyContent.js +0 -12
- package/es/Icons/Cross.js +0 -12
- package/es/Icons/HSymbol.js +0 -12
- package/es/Icons/Row.js +0 -12
- package/es/Icons/Scatter.js +0 -12
- package/es/Icons/StackedBar.js +0 -12
- package/es/Icons/StackedRow.js +0 -12
- package/es/Icons/Timeline.js +0 -12
- package/es/Icons/VSymbol.js +0 -12
- package/es/Icons/Warning.js +0 -25
- package/es/Icons/index.js +0 -28
- package/es/Input/Input.js +0 -128
- package/es/Input/index.js +0 -26
- package/es/Input/with-input.js +0 -55
- package/es/InputNumber/InputNumber.js +0 -116
- package/es/InputNumber/index.js +0 -23
- package/es/LabelDivider/LabelDivider.js +0 -52
- package/es/LabelDivider/index.js +0 -32
- package/es/Loading/Loading.js +0 -84
- package/es/Loading/index.js +0 -24
- package/es/Logo/Logo.js +0 -55
- package/es/Logo/index.js +0 -18
- package/es/Mode/Mode.js +0 -135
- package/es/Mode/index.js +0 -24
- package/es/NoData/NoData.js +0 -48
- package/es/NoData/index.js +0 -15
- package/es/Pagination/Pagination.js +0 -207
- package/es/Pagination/index.js +0 -31
- package/es/PeriodPicker/PeriodPicker.js +0 -236
- package/es/PeriodPicker/constants.js +0 -39
- package/es/PeriodPicker/index.js +0 -26
- package/es/PeriodPicker/lib.js +0 -206
- package/es/PeriodPicker/styles.js +0 -23
- package/es/ScopeList/Header.js +0 -80
- package/es/ScopeList/Item.js +0 -245
- package/es/ScopeList/ScopeList.js +0 -323
- package/es/ScopeList/Selection.js +0 -129
- package/es/ScopeList/index.deprecated.js +0 -94
- package/es/ScopeList/index.js +0 -94
- package/es/ScopeList/styles.js +0 -143
- package/es/ScopeList/with-scope-list.js +0 -492
- package/es/Select/Select.js +0 -169
- package/es/Select/index.js +0 -33
- package/es/Share/Form.js +0 -164
- package/es/Share/Mode.js +0 -136
- package/es/Share/Share.js +0 -115
- package/es/Share/index.js +0 -64
- package/es/ShortUrls/ShortUrls.js +0 -136
- package/es/ShortUrls/index.js +0 -22
- package/es/SisccFooter/SisccFooter.js +0 -99
- package/es/SisccFooter/index.js +0 -27
- package/es/Spotlight/Fields.js +0 -100
- package/es/Spotlight/Spotlight.js +0 -157
- package/es/Spotlight/index.js +0 -75
- package/es/Spotlight/useSpotlight.js +0 -75
- package/es/Spotlight/useStyles.js +0 -77
- package/es/TableFooter/TableFooter.js +0 -100
- package/es/TableFooter/index.js +0 -33
- package/es/TableHeader/TableHeader.js +0 -63
- package/es/TableHeader/index.js +0 -17
- package/es/TableHtml5/TableHtml5.js +0 -213
- package/es/TableHtml5/cell.js +0 -130
- package/es/TableHtml5/flags.js +0 -138
- package/es/TableHtml5/header.js +0 -177
- package/es/TableHtml5/index.js +0 -62
- package/es/TableHtml5/section.js +0 -243
- package/es/TableHtml5/sectionHeader.js +0 -171
- package/es/TableHtml5/subHeader.js +0 -154
- package/es/TableHtml5/utils.js +0 -23
- package/es/TableLayout/Box.js +0 -123
- package/es/TableLayout/DnDItem.js +0 -142
- package/es/TableLayout/TableLayout.js +0 -427
- package/es/TableLayout/constants.js +0 -11
- package/es/TableLayout/index.js +0 -75
- package/es/TableLayout/lib.js +0 -31
- package/es/TablePreview/TablePreview.js +0 -244
- package/es/TablePreview/index.js +0 -44
- package/es/TablePreview/lib.js +0 -34
- package/es/TablePreview/styles.js +0 -71
- package/es/Tag/Tag.js +0 -44
- package/es/Tag/index.js +0 -30
- package/es/ToggleButton/ToggleButton.js +0 -79
- package/es/ToggleButton/index.js +0 -50
- package/es/Tooltip/Tooltip.js +0 -69
- package/es/Tooltip/index.js +0 -36
- package/es/UserRightForm/Input.js +0 -129
- package/es/UserRightForm/Permissions.js +0 -124
- package/es/UserRightForm/PermsissionsTabs.js +0 -107
- package/es/UserRightForm/UserRightForm.js +0 -445
- package/es/UserRightForm/index.js +0 -60
- package/es/VerticalButton/VerticalButton.js +0 -67
- package/es/VerticalButton/index.js +0 -27
- package/es/VirtualizedTree/Item.js +0 -200
- package/es/VirtualizedTree/VirtualizedTree.js +0 -366
- package/es/VirtualizedTree/index.js +0 -38
- package/es/VirtualizedTree/utils.js +0 -170
- package/es/VirtualizedTree/withExpansionTree.js +0 -65
- package/es/VirtualizedTree/withSpotlight.js +0 -113
- package/es/hooks/useKeybordEscapeHandler.js +0 -22
- package/es/index.js +0 -52
- package/es/utils.js +0 -78
- package/lib/AdvancedFilterDialog/AdvancedFilterDialog.js +0 -658
- package/lib/AdvancedFilterDialog/SelectionModeMenu.js +0 -118
- package/lib/AdvancedFilterDialog/images/all-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/branch-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/children-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/level-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/single-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/small-all-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/small-branch-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/small-children-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/small-level-selection.png +0 -0
- package/lib/AdvancedFilterDialog/images/small-single-selection.png +0 -0
- package/lib/AdvancedFilterDialog/index.js +0 -16
- package/lib/Alert/Alert.js +0 -325
- package/lib/Alert/index.js +0 -16
- package/lib/ApiQueries/ApiQueries.js +0 -139
- package/lib/ApiQueries/Query.js +0 -205
- package/lib/ApiQueries/index.js +0 -16
- package/lib/AuthDialog/index.js +0 -251
- package/lib/Breadcrumbs/Breadcrumbs.js +0 -107
- package/lib/Breadcrumbs/index.js +0 -16
- package/lib/Button/Button.js +0 -89
- package/lib/Button/index.js +0 -16
- package/lib/ChartsConfig/ChartsConfig.js +0 -533
- package/lib/ChartsConfig/Input.js +0 -187
- package/lib/ChartsConfig/InputProxy.js +0 -80
- package/lib/ChartsConfig/Proxy.js +0 -34
- package/lib/ChartsConfig/Title.js +0 -63
- package/lib/ChartsConfig/index.js +0 -16
- package/lib/ChartsConfig/useAxisOptions.js +0 -18
- package/lib/ChartsConfig/useDimensionOptions.js +0 -22
- package/lib/ChartsConfig/useFocusOptions.js +0 -32
- package/lib/ChartsConfig/utils.js +0 -15
- package/lib/Chips/CustomChip.js +0 -183
- package/lib/Chips/DeleteChip.js +0 -56
- package/lib/Chips/GroupedChips.js +0 -138
- package/lib/Chips/index.js +0 -23
- package/lib/Chips/styles.js +0 -77
- package/lib/Chips/utils.js +0 -30
- package/lib/CollapseButtons/CollapseButtons.js +0 -198
- package/lib/CollapseButtons/Item.js +0 -179
- package/lib/CollapseButtons/Paper.js +0 -82
- package/lib/CollapseButtons/index.js +0 -16
- package/lib/CollapsibleTree/Collapse.js +0 -130
- package/lib/CollapsibleTree/CollapsibleTree.js +0 -288
- package/lib/CollapsibleTree/index.js +0 -16
- package/lib/Contact/Contact.js +0 -409
- package/lib/Contact/Input.js +0 -165
- package/lib/Contact/Mode.js +0 -174
- package/lib/Contact/index.js +0 -16
- package/lib/DataEdit/DataEdit.js +0 -190
- package/lib/DataEdit/Input.js +0 -186
- package/lib/DataEdit/index.js +0 -16
- package/lib/DataFooter/DataFooter.js +0 -219
- package/lib/DataFooter/index.js +0 -16
- package/lib/DataHeader/DataHeader.js +0 -358
- package/lib/DataHeader/Flags.js +0 -61
- package/lib/DataHeader/Title.js +0 -40
- package/lib/DataHeader/TooltipHeader.js +0 -99
- package/lib/DataHeader/index.js +0 -16
- package/lib/DataHeader/utils.js +0 -29
- package/lib/Dataflow/Dataflow.js +0 -505
- package/lib/Dataflow/index.js +0 -16
- package/lib/DynamicDrawer/AdvancedSelection.js +0 -563
- package/lib/DynamicDrawer/DynamicDrawer.js +0 -466
- package/lib/DynamicDrawer/SelectionModesMobile.js +0 -119
- package/lib/DynamicDrawer/index.js +0 -16
- package/lib/ExpansionPanel/ExpansionPanel.js +0 -198
- package/lib/ExpansionPanel/index.js +0 -16
- package/lib/ExpansionPanel/styles.js +0 -103
- package/lib/HierarchicalFilter/HierarchicalFilter.js +0 -208
- package/lib/HierarchicalFilter/index.js +0 -16
- package/lib/Icons/AccessibilityFilled.js +0 -25
- package/lib/Icons/AccessibilityOutlined.js +0 -25
- package/lib/Icons/AccountFilled.js +0 -25
- package/lib/Icons/AccountOutlined.js +0 -25
- package/lib/Icons/Api.js +0 -25
- package/lib/Icons/Asterisk.js +0 -25
- package/lib/Icons/Bar.js +0 -25
- package/lib/Icons/CopyContent.js +0 -25
- package/lib/Icons/Cross.js +0 -25
- package/lib/Icons/HSymbol.js +0 -25
- package/lib/Icons/Row.js +0 -25
- package/lib/Icons/Scatter.js +0 -25
- package/lib/Icons/StackedBar.js +0 -25
- package/lib/Icons/StackedRow.js +0 -25
- package/lib/Icons/Timeline.js +0 -25
- package/lib/Icons/VSymbol.js +0 -25
- package/lib/Icons/Warning.js +0 -45
- package/lib/Icons/index.js +0 -155
- package/lib/Input/Input.js +0 -164
- package/lib/Input/index.js +0 -16
- package/lib/Input/with-input.js +0 -69
- package/lib/InputNumber/InputNumber.js +0 -152
- package/lib/InputNumber/index.js +0 -16
- package/lib/LabelDivider/LabelDivider.js +0 -78
- package/lib/LabelDivider/index.js +0 -16
- package/lib/Loading/Loading.js +0 -110
- package/lib/Loading/index.js +0 -16
- package/lib/Logo/Logo.js +0 -73
- package/lib/Logo/index.js +0 -16
- package/lib/Mode/Mode.js +0 -168
- package/lib/Mode/index.js +0 -16
- package/lib/NoData/NoData.js +0 -69
- package/lib/NoData/index.js +0 -16
- package/lib/Pagination/Pagination.js +0 -250
- package/lib/Pagination/index.js +0 -16
- package/lib/PeriodPicker/PeriodPicker.js +0 -266
- package/lib/PeriodPicker/constants.js +0 -43
- package/lib/PeriodPicker/index.js +0 -16
- package/lib/PeriodPicker/lib.js +0 -222
- package/lib/PeriodPicker/styles.js +0 -32
- package/lib/ScopeList/Header.js +0 -110
- package/lib/ScopeList/Item.js +0 -284
- package/lib/ScopeList/ScopeList.js +0 -377
- package/lib/ScopeList/Selection.js +0 -170
- package/lib/ScopeList/index.deprecated.js +0 -16
- package/lib/ScopeList/index.js +0 -16
- package/lib/ScopeList/styles.js +0 -153
- package/lib/ScopeList/with-scope-list.js +0 -507
- package/lib/Select/Select.js +0 -201
- package/lib/Select/index.js +0 -16
- package/lib/Share/Form.js +0 -201
- package/lib/Share/Mode.js +0 -176
- package/lib/Share/Share.js +0 -148
- package/lib/Share/index.js +0 -16
- package/lib/ShortUrls/ShortUrls.js +0 -181
- package/lib/ShortUrls/index.js +0 -16
- package/lib/SisccFooter/SisccFooter.js +0 -131
- package/lib/SisccFooter/index.js +0 -16
- package/lib/Spotlight/Fields.js +0 -132
- package/lib/Spotlight/Spotlight.js +0 -202
- package/lib/Spotlight/index.js +0 -16
- package/lib/Spotlight/useSpotlight.js +0 -85
- package/lib/Spotlight/useStyles.js +0 -91
- package/lib/TableFooter/TableFooter.js +0 -129
- package/lib/TableFooter/index.js +0 -16
- package/lib/TableHeader/TableHeader.js +0 -89
- package/lib/TableHeader/index.js +0 -16
- package/lib/TableHtml5/TableHtml5.js +0 -249
- package/lib/TableHtml5/cell.js +0 -164
- package/lib/TableHtml5/flags.js +0 -174
- package/lib/TableHtml5/header.js +0 -215
- package/lib/TableHtml5/index.js +0 -23
- package/lib/TableHtml5/section.js +0 -289
- package/lib/TableHtml5/sectionHeader.js +0 -212
- package/lib/TableHtml5/subHeader.js +0 -191
- package/lib/TableHtml5/utils.js +0 -32
- package/lib/TableLayout/Box.js +0 -159
- package/lib/TableLayout/DnDItem.js +0 -177
- package/lib/TableLayout/TableLayout.js +0 -487
- package/lib/TableLayout/constants.js +0 -14
- package/lib/TableLayout/index.js +0 -16
- package/lib/TableLayout/lib.js +0 -40
- package/lib/TablePreview/TablePreview.js +0 -279
- package/lib/TablePreview/index.js +0 -16
- package/lib/TablePreview/lib.js +0 -48
- package/lib/TablePreview/styles.js +0 -81
- package/lib/Tag/Tag.js +0 -67
- package/lib/Tag/index.js +0 -16
- package/lib/ToggleButton/ToggleButton.js +0 -111
- package/lib/ToggleButton/index.js +0 -16
- package/lib/Tooltip/Tooltip.js +0 -95
- package/lib/Tooltip/index.js +0 -16
- package/lib/UserRightForm/Input.js +0 -165
- package/lib/UserRightForm/Permissions.js +0 -159
- package/lib/UserRightForm/PermsissionsTabs.js +0 -145
- package/lib/UserRightForm/UserRightForm.js +0 -484
- package/lib/UserRightForm/index.js +0 -16
- package/lib/VerticalButton/VerticalButton.js +0 -88
- package/lib/VerticalButton/index.js +0 -16
- package/lib/VirtualizedTree/Item.js +0 -244
- package/lib/VirtualizedTree/VirtualizedTree.js +0 -402
- package/lib/VirtualizedTree/index.js +0 -16
- package/lib/VirtualizedTree/utils.js +0 -179
- package/lib/VirtualizedTree/withExpansionTree.js +0 -80
- package/lib/VirtualizedTree/withSpotlight.js +0 -129
- package/lib/hooks/useKeybordEscapeHandler.js +0 -28
- package/lib/index.js +0 -460
- package/lib/theme.js +0 -437
- package/lib/utils.js +0 -96
- package/umd/@sis-cc/dotstatsuite-visions.js +0 -82495
- package/umd/@sis-cc/dotstatsuite-visions.min.js +0 -222
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +0 -1
- package/umd/branch-selection.54dd3bc1.png +0 -0
- package/umd/children-selection.20d94242.png +0 -0
- package/umd/level-selection.df116629.png +0 -0
- package/umd/single-selection.a729a6c8.png +0 -0
|
@@ -1,470 +0,0 @@
|
|
|
1
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import * as R from 'ramda';
|
|
6
|
-
import Grid from '@mui/material/Grid';
|
|
7
|
-
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
|
8
|
-
import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
|
|
9
|
-
import Title from './Title';
|
|
10
|
-
import Button from '@mui/material/Button';
|
|
11
|
-
import InputAdornment from '@mui/material/InputAdornment';
|
|
12
|
-
import Typography from '@mui/material/Typography';
|
|
13
|
-
import useFocusOptions from './useFocusOptions';
|
|
14
|
-
import Select from '../Select';
|
|
15
|
-
import { extractMultipleValue, getValue } from './utils';
|
|
16
|
-
import useDimensionOptions from './useDimensionOptions';
|
|
17
|
-
import InputProxy from './InputProxy';
|
|
18
|
-
import Proxy from './Proxy';
|
|
19
|
-
import useAxisOptions from './useAxisOptions';
|
|
20
|
-
import makeStyles from '@mui/styles/makeStyles';
|
|
21
|
-
import DataEdit from '../DataEdit';
|
|
22
|
-
|
|
23
|
-
export var useStyles = makeStyles(function (theme) {
|
|
24
|
-
return {
|
|
25
|
-
greyVariant: {
|
|
26
|
-
backgroundColor: theme.palette.secondary.dark,
|
|
27
|
-
color: theme.palette.grey[600]
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
var ChartConfig = function ChartConfig(_ref) {
|
|
33
|
-
var _ref$labels = _ref.labels,
|
|
34
|
-
labels = _ref$labels === undefined ? {} : _ref$labels,
|
|
35
|
-
_ref$properties = _ref.properties,
|
|
36
|
-
properties = _ref$properties === undefined ? {} : _ref$properties;
|
|
37
|
-
|
|
38
|
-
var classes = useStyles();
|
|
39
|
-
|
|
40
|
-
var _useDimensionOptions = useDimensionOptions(properties),
|
|
41
|
-
dimensions = _useDimensionOptions[0];
|
|
42
|
-
|
|
43
|
-
var xKeys = useAxisOptions(properties, 'X');
|
|
44
|
-
var yKeys = useAxisOptions(properties, 'Y');
|
|
45
|
-
|
|
46
|
-
var highlight = properties.highlight,
|
|
47
|
-
baseline = properties.baseline;
|
|
48
|
-
|
|
49
|
-
var _useFocusOptions = useFocusOptions(highlight, labels),
|
|
50
|
-
highlightOptions = _useFocusOptions[0],
|
|
51
|
-
xhighlightOptions = _useFocusOptions[1];
|
|
52
|
-
|
|
53
|
-
var _useFocusOptions2 = useFocusOptions(baseline, labels),
|
|
54
|
-
baselineOptions = _useFocusOptions2[0],
|
|
55
|
-
xbaselineOptions = _useFocusOptions2[1];
|
|
56
|
-
|
|
57
|
-
var _properties$stackedMo = properties.stackedMode,
|
|
58
|
-
stackedMode = _properties$stackedMo === undefined ? {} : _properties$stackedMo;
|
|
59
|
-
var _stackedMode$options = stackedMode.options,
|
|
60
|
-
stackedModeOptions = _stackedMode$options === undefined ? [] : _stackedMode$options;
|
|
61
|
-
var _properties$displayMo = properties.displayMode,
|
|
62
|
-
displayMode = _properties$displayMo === undefined ? {} : _properties$displayMo;
|
|
63
|
-
var _displayMode$options = displayMode.options,
|
|
64
|
-
displayModeOptions = _displayMode$options === undefined ? [] : _displayMode$options;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var dKeys = ['dimensions', 'stackedDimension', 'scatterDimension', 'symbolDimension'];
|
|
68
|
-
var eKeys = ['title', 'subtitle', 'source', 'logo', 'copyright'];
|
|
69
|
-
|
|
70
|
-
if (R.isEmpty(properties)) return null;
|
|
71
|
-
|
|
72
|
-
return React.createElement(
|
|
73
|
-
Grid,
|
|
74
|
-
{ container: true, spacing: 3, 'data-testid': 'charts-config-test-id' },
|
|
75
|
-
React.createElement(
|
|
76
|
-
Proxy,
|
|
77
|
-
{ keys: dKeys, properties: properties },
|
|
78
|
-
React.createElement(
|
|
79
|
-
Grid,
|
|
80
|
-
{ item: true, xs: 12, container: true, spacing: 2 },
|
|
81
|
-
React.createElement(
|
|
82
|
-
Grid,
|
|
83
|
-
{ item: true, xs: 12, container: true },
|
|
84
|
-
React.createElement(
|
|
85
|
-
Grid,
|
|
86
|
-
{ item: true, xs: 12 },
|
|
87
|
-
React.createElement(Title, { label: labels.series })
|
|
88
|
-
),
|
|
89
|
-
React.createElement(
|
|
90
|
-
Grid,
|
|
91
|
-
{ item: true, xs: 12 },
|
|
92
|
-
React.createElement(
|
|
93
|
-
Grid,
|
|
94
|
-
{ container: true, spacing: 1 },
|
|
95
|
-
React.createElement(
|
|
96
|
-
Proxy,
|
|
97
|
-
{ keys: ['stackedMode'], properties: properties },
|
|
98
|
-
React.createElement(
|
|
99
|
-
Grid,
|
|
100
|
-
{ item: true, container: true, spacing: 1, alignItems: 'center', style: { minWidth: 320 } },
|
|
101
|
-
React.createElement(
|
|
102
|
-
Grid,
|
|
103
|
-
{ item: true, xs: true },
|
|
104
|
-
React.createElement(
|
|
105
|
-
Typography,
|
|
106
|
-
{ variant: 'body2' },
|
|
107
|
-
labels.stackedMode
|
|
108
|
-
)
|
|
109
|
-
),
|
|
110
|
-
R.map(function (option) {
|
|
111
|
-
return React.createElement(
|
|
112
|
-
Grid,
|
|
113
|
-
{ item: true, key: option.value },
|
|
114
|
-
React.createElement(
|
|
115
|
-
Button,
|
|
116
|
-
{
|
|
117
|
-
variant: option.value === stackedMode.value ? 'contained' : 'outlined',
|
|
118
|
-
onClick: function onClick() {
|
|
119
|
-
return stackedMode.onChange(option.value);
|
|
120
|
-
},
|
|
121
|
-
color: 'primary'
|
|
122
|
-
},
|
|
123
|
-
React.createElement(
|
|
124
|
-
Typography,
|
|
125
|
-
{ variant: 'body2' },
|
|
126
|
-
R.path(['stackedModeOptions', option.value], labels)
|
|
127
|
-
)
|
|
128
|
-
)
|
|
129
|
-
);
|
|
130
|
-
}, stackedModeOptions)
|
|
131
|
-
)
|
|
132
|
-
),
|
|
133
|
-
R.map(function (_ref2) {
|
|
134
|
-
var key = _ref2[0],
|
|
135
|
-
dimension = _ref2[1];
|
|
136
|
-
return React.createElement(
|
|
137
|
-
Grid,
|
|
138
|
-
{ item: true, xs: 12, style: { minWidth: 320 }, key: key },
|
|
139
|
-
React.createElement(Select, _extends({}, dimension, {
|
|
140
|
-
onChange: dimension.onChange,
|
|
141
|
-
label: R.prop(key, labels),
|
|
142
|
-
value: getValue(dimension.value),
|
|
143
|
-
items: dimension.options
|
|
144
|
-
}))
|
|
145
|
-
);
|
|
146
|
-
}, dimensions)
|
|
147
|
-
)
|
|
148
|
-
)
|
|
149
|
-
)
|
|
150
|
-
)
|
|
151
|
-
),
|
|
152
|
-
React.createElement(
|
|
153
|
-
Grid,
|
|
154
|
-
{ item: true, xs: 12, container: true, spacing: 2 },
|
|
155
|
-
React.createElement(
|
|
156
|
-
Proxy,
|
|
157
|
-
{ keys: ['highlight', 'baseline'], properties: properties },
|
|
158
|
-
React.createElement(
|
|
159
|
-
Grid,
|
|
160
|
-
{ item: true, xs: 12, lg: 8, container: true, alignContent: 'flex-start' },
|
|
161
|
-
React.createElement(
|
|
162
|
-
Grid,
|
|
163
|
-
{ item: true, xs: 12 },
|
|
164
|
-
React.createElement(Title, { label: labels.focus })
|
|
165
|
-
),
|
|
166
|
-
React.createElement(
|
|
167
|
-
Grid,
|
|
168
|
-
{ item: true, xs: 12 },
|
|
169
|
-
React.createElement(
|
|
170
|
-
Grid,
|
|
171
|
-
{ container: true, spacing: 1 },
|
|
172
|
-
React.createElement(
|
|
173
|
-
Grid,
|
|
174
|
-
{ item: true, xs: 12, style: { minWidth: 320 } },
|
|
175
|
-
React.createElement(Select, _extends({}, highlight, {
|
|
176
|
-
onChange: function onChange(ids) {
|
|
177
|
-
return highlight.onChange(R.props(ids, xhighlightOptions));
|
|
178
|
-
},
|
|
179
|
-
value: extractMultipleValue(highlight),
|
|
180
|
-
items: highlightOptions,
|
|
181
|
-
isMultiple: true,
|
|
182
|
-
isClearable: true,
|
|
183
|
-
label: R.prop('highlight', labels),
|
|
184
|
-
placeholder: R.prop('select', labels),
|
|
185
|
-
optionsKey: 'highlight'
|
|
186
|
-
}))
|
|
187
|
-
),
|
|
188
|
-
React.createElement(
|
|
189
|
-
Grid,
|
|
190
|
-
{ item: true, xs: 12, style: { minWidth: 320 } },
|
|
191
|
-
React.createElement(Select, _extends({}, baseline, {
|
|
192
|
-
onChange: function onChange(id) {
|
|
193
|
-
return baseline.onChange(R.pipe(R.props([id]), R.without(baseline.value))(xbaselineOptions));
|
|
194
|
-
},
|
|
195
|
-
value: R.pipe(R.propOr([], 'value'), R.head, R.prop('value'))(baseline),
|
|
196
|
-
items: baselineOptions,
|
|
197
|
-
isClearable: true,
|
|
198
|
-
label: R.prop('baseline', labels),
|
|
199
|
-
placeholder: R.prop('select', labels),
|
|
200
|
-
optionsKey: 'baseline'
|
|
201
|
-
}))
|
|
202
|
-
)
|
|
203
|
-
)
|
|
204
|
-
)
|
|
205
|
-
)
|
|
206
|
-
),
|
|
207
|
-
React.createElement(
|
|
208
|
-
Grid,
|
|
209
|
-
{ item: true, xs: 12, lg: 4, container: true, alignContent: 'flex-start' },
|
|
210
|
-
React.createElement(
|
|
211
|
-
Grid,
|
|
212
|
-
{ item: true, xs: 12 },
|
|
213
|
-
React.createElement(Title, { label: labels.size })
|
|
214
|
-
),
|
|
215
|
-
React.createElement(
|
|
216
|
-
Grid,
|
|
217
|
-
{ item: true, xs: 12 },
|
|
218
|
-
React.createElement(
|
|
219
|
-
Grid,
|
|
220
|
-
{ container: true, spacing: 1 },
|
|
221
|
-
React.createElement(InputProxy, {
|
|
222
|
-
pkey: 'width',
|
|
223
|
-
labels: labels,
|
|
224
|
-
properties: properties,
|
|
225
|
-
InputProps: {
|
|
226
|
-
endAdornment: React.createElement(
|
|
227
|
-
InputAdornment,
|
|
228
|
-
{ position: 'end' },
|
|
229
|
-
'px'
|
|
230
|
-
)
|
|
231
|
-
}
|
|
232
|
-
}),
|
|
233
|
-
React.createElement(InputProxy, {
|
|
234
|
-
pkey: 'height',
|
|
235
|
-
labels: labels,
|
|
236
|
-
properties: properties,
|
|
237
|
-
InputProps: {
|
|
238
|
-
endAdornment: React.createElement(
|
|
239
|
-
InputAdornment,
|
|
240
|
-
{ position: 'end' },
|
|
241
|
-
'px'
|
|
242
|
-
)
|
|
243
|
-
}
|
|
244
|
-
})
|
|
245
|
-
)
|
|
246
|
-
)
|
|
247
|
-
)
|
|
248
|
-
),
|
|
249
|
-
React.createElement(
|
|
250
|
-
Grid,
|
|
251
|
-
{ item: true, xs: 12, container: true, spacing: 2 },
|
|
252
|
-
React.createElement(
|
|
253
|
-
Proxy,
|
|
254
|
-
{ keys: xKeys, properties: properties },
|
|
255
|
-
React.createElement(
|
|
256
|
-
Grid,
|
|
257
|
-
{ item: true, xs: 12, container: true, className: classes.greyVariant },
|
|
258
|
-
React.createElement(
|
|
259
|
-
Grid,
|
|
260
|
-
{ item: true, xs: 12 },
|
|
261
|
-
React.createElement(Title, { label: labels.axisX, icon: React.createElement(ArrowForwardIcon, null) })
|
|
262
|
-
),
|
|
263
|
-
React.createElement(
|
|
264
|
-
Grid,
|
|
265
|
-
{ item: true, xs: 12 },
|
|
266
|
-
React.createElement(
|
|
267
|
-
Grid,
|
|
268
|
-
{ container: true, spacing: 1 },
|
|
269
|
-
R.map(function (key) {
|
|
270
|
-
return React.createElement(InputProxy, {
|
|
271
|
-
pkey: key,
|
|
272
|
-
mkey: R.init(key),
|
|
273
|
-
key: key,
|
|
274
|
-
lg: 12 / R.length(xKeys),
|
|
275
|
-
labels: labels,
|
|
276
|
-
properties: properties
|
|
277
|
-
});
|
|
278
|
-
}, xKeys)
|
|
279
|
-
)
|
|
280
|
-
)
|
|
281
|
-
)
|
|
282
|
-
),
|
|
283
|
-
React.createElement(
|
|
284
|
-
Proxy,
|
|
285
|
-
{ keys: ['freqStep'], properties: properties },
|
|
286
|
-
React.createElement(
|
|
287
|
-
Grid,
|
|
288
|
-
{ item: true, xs: 12, container: true, className: classes.greyVariant },
|
|
289
|
-
React.createElement(
|
|
290
|
-
Grid,
|
|
291
|
-
{ item: true, xs: 12 },
|
|
292
|
-
React.createElement(Title, { label: labels.axisX, icon: React.createElement(ArrowForwardIcon, null) })
|
|
293
|
-
),
|
|
294
|
-
React.createElement(
|
|
295
|
-
Grid,
|
|
296
|
-
{ item: true, xs: 12 },
|
|
297
|
-
React.createElement(
|
|
298
|
-
Grid,
|
|
299
|
-
{ container: true, spacing: 1 },
|
|
300
|
-
React.createElement(InputProxy, { pkey: 'freqStep', labels: labels, properties: properties })
|
|
301
|
-
)
|
|
302
|
-
)
|
|
303
|
-
)
|
|
304
|
-
),
|
|
305
|
-
React.createElement(
|
|
306
|
-
Proxy,
|
|
307
|
-
{ keys: yKeys, properties: properties },
|
|
308
|
-
React.createElement(
|
|
309
|
-
Grid,
|
|
310
|
-
{ item: true, xs: 12, container: true, className: classes.greyVariant },
|
|
311
|
-
React.createElement(
|
|
312
|
-
Grid,
|
|
313
|
-
{ item: true, xs: 12 },
|
|
314
|
-
React.createElement(Title, { label: labels.axisY, icon: React.createElement(ArrowUpwardIcon, null) })
|
|
315
|
-
),
|
|
316
|
-
React.createElement(
|
|
317
|
-
Grid,
|
|
318
|
-
{ item: true, xs: 12 },
|
|
319
|
-
React.createElement(
|
|
320
|
-
Grid,
|
|
321
|
-
{ container: true, spacing: 1 },
|
|
322
|
-
R.map(function (key) {
|
|
323
|
-
return React.createElement(InputProxy, {
|
|
324
|
-
pkey: key,
|
|
325
|
-
mkey: R.init(key),
|
|
326
|
-
key: key,
|
|
327
|
-
lg: 12 / R.length(yKeys),
|
|
328
|
-
labels: labels,
|
|
329
|
-
properties: properties
|
|
330
|
-
});
|
|
331
|
-
}, yKeys)
|
|
332
|
-
)
|
|
333
|
-
)
|
|
334
|
-
)
|
|
335
|
-
)
|
|
336
|
-
),
|
|
337
|
-
React.createElement(
|
|
338
|
-
Proxy,
|
|
339
|
-
{ keys: eKeys, properties: properties },
|
|
340
|
-
React.createElement(
|
|
341
|
-
Grid,
|
|
342
|
-
{ item: true, xs: 12, container: true, spacing: 2 },
|
|
343
|
-
React.createElement(
|
|
344
|
-
Grid,
|
|
345
|
-
{ item: true, xs: 12, container: true },
|
|
346
|
-
React.createElement(DataEdit, { labels: labels, properties: properties })
|
|
347
|
-
)
|
|
348
|
-
)
|
|
349
|
-
),
|
|
350
|
-
React.createElement(
|
|
351
|
-
Proxy,
|
|
352
|
-
{ keys: ['displayMode'], properties: properties },
|
|
353
|
-
React.createElement(
|
|
354
|
-
Grid,
|
|
355
|
-
{ item: true, xs: 12, container: true, spacing: 2 },
|
|
356
|
-
React.createElement(
|
|
357
|
-
Grid,
|
|
358
|
-
{ item: true, xs: 12, container: true },
|
|
359
|
-
React.createElement(
|
|
360
|
-
Grid,
|
|
361
|
-
{ item: true, container: true, spacing: 1, alignItems: 'center', style: { minWidth: 320 } },
|
|
362
|
-
React.createElement(
|
|
363
|
-
Grid,
|
|
364
|
-
{ item: true, xs: true },
|
|
365
|
-
React.createElement(
|
|
366
|
-
Typography,
|
|
367
|
-
{ variant: 'body2' },
|
|
368
|
-
labels.display
|
|
369
|
-
)
|
|
370
|
-
),
|
|
371
|
-
R.map(function (option) {
|
|
372
|
-
return React.createElement(
|
|
373
|
-
Grid,
|
|
374
|
-
{ item: true, key: option.value },
|
|
375
|
-
React.createElement(
|
|
376
|
-
Button,
|
|
377
|
-
{
|
|
378
|
-
variant: option.value === displayMode.value ? 'contained' : 'outlined',
|
|
379
|
-
onClick: function onClick() {
|
|
380
|
-
return displayMode.onChange(option.value);
|
|
381
|
-
},
|
|
382
|
-
color: 'primary'
|
|
383
|
-
},
|
|
384
|
-
React.createElement(
|
|
385
|
-
Typography,
|
|
386
|
-
{ variant: 'body2' },
|
|
387
|
-
R.path(['displayOptions', option.value], labels)
|
|
388
|
-
)
|
|
389
|
-
)
|
|
390
|
-
);
|
|
391
|
-
}, displayModeOptions)
|
|
392
|
-
)
|
|
393
|
-
)
|
|
394
|
-
)
|
|
395
|
-
)
|
|
396
|
-
);
|
|
397
|
-
};
|
|
398
|
-
|
|
399
|
-
var submitableInputProptypes = PropTypes.shape({
|
|
400
|
-
id: PropTypes.string,
|
|
401
|
-
isActive: PropTypes.bool,
|
|
402
|
-
onSubmit: PropTypes.func,
|
|
403
|
-
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
var selectableInputProptypes = PropTypes.shape({
|
|
407
|
-
id: PropTypes.string,
|
|
408
|
-
isActive: PropTypes.bool,
|
|
409
|
-
onChange: PropTypes.func,
|
|
410
|
-
options: PropTypes.arrayOf(PropTypes.shape({
|
|
411
|
-
value: PropTypes.string,
|
|
412
|
-
label: PropTypes.string
|
|
413
|
-
})),
|
|
414
|
-
value: PropTypes.shape({
|
|
415
|
-
value: PropTypes.string,
|
|
416
|
-
label: PropTypes.string
|
|
417
|
-
})
|
|
418
|
-
});
|
|
419
|
-
|
|
420
|
-
var multiSelectableInputProptypes = PropTypes.shape({
|
|
421
|
-
id: PropTypes.string,
|
|
422
|
-
isActive: PropTypes.bool,
|
|
423
|
-
onChange: PropTypes.func,
|
|
424
|
-
options: PropTypes.arrayOf(PropTypes.shape({
|
|
425
|
-
value: PropTypes.string,
|
|
426
|
-
label: PropTypes.string
|
|
427
|
-
})),
|
|
428
|
-
value: PropTypes.arrayOf(PropTypes.shape({
|
|
429
|
-
value: PropTypes.string,
|
|
430
|
-
label: PropTypes.string
|
|
431
|
-
}))
|
|
432
|
-
});
|
|
433
|
-
|
|
434
|
-
ChartConfig.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
435
|
-
labels: PropTypes.object,
|
|
436
|
-
properties: PropTypes.shape({
|
|
437
|
-
highlight: multiSelectableInputProptypes,
|
|
438
|
-
baseline: multiSelectableInputProptypes,
|
|
439
|
-
width: submitableInputProptypes,
|
|
440
|
-
height: submitableInputProptypes,
|
|
441
|
-
scatterDimension: selectableInputProptypes,
|
|
442
|
-
scatterX: selectableInputProptypes,
|
|
443
|
-
scatterY: selectableInputProptypes,
|
|
444
|
-
symbolDimension: selectableInputProptypes,
|
|
445
|
-
stackedDimension: selectableInputProptypes,
|
|
446
|
-
stackedMode: PropTypes.shape({
|
|
447
|
-
id: PropTypes.string,
|
|
448
|
-
isActive: PropTypes.bool,
|
|
449
|
-
onChange: PropTypes.func,
|
|
450
|
-
options: PropTypes.arrayOf(PropTypes.shape({
|
|
451
|
-
value: PropTypes.string
|
|
452
|
-
})),
|
|
453
|
-
value: PropTypes.string
|
|
454
|
-
}),
|
|
455
|
-
freqStep: submitableInputProptypes,
|
|
456
|
-
maxX: submitableInputProptypes,
|
|
457
|
-
minX: submitableInputProptypes,
|
|
458
|
-
pivotX: submitableInputProptypes,
|
|
459
|
-
stepX: submitableInputProptypes,
|
|
460
|
-
maxY: submitableInputProptypes,
|
|
461
|
-
minY: submitableInputProptypes,
|
|
462
|
-
pivotY: submitableInputProptypes,
|
|
463
|
-
stepY: submitableInputProptypes,
|
|
464
|
-
title: submitableInputProptypes,
|
|
465
|
-
subtitle: submitableInputProptypes,
|
|
466
|
-
source: submitableInputProptypes
|
|
467
|
-
})
|
|
468
|
-
} : {};
|
|
469
|
-
|
|
470
|
-
export default ChartConfig;
|
package/es/ChartsConfig/Input.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
2
|
-
|
|
3
|
-
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
4
|
-
|
|
5
|
-
import React, { useEffect, useState } from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import * as R from 'ramda';
|
|
8
|
-
import makeStyles from '@mui/styles/makeStyles';
|
|
9
|
-
import TextField from '@mui/material/TextField';
|
|
10
|
-
import InputAdornment from '@mui/material/InputAdornment';
|
|
11
|
-
import IconButton from '@mui/material/IconButton';
|
|
12
|
-
import Done from '@mui/icons-material/Done';
|
|
13
|
-
import RotateLeftIcon from '@mui/icons-material/RotateLeft';
|
|
14
|
-
|
|
15
|
-
var useStyles = makeStyles(function () {
|
|
16
|
-
return {
|
|
17
|
-
visibility: {
|
|
18
|
-
visibility: 'hidden'
|
|
19
|
-
},
|
|
20
|
-
input: {
|
|
21
|
-
'&[type=number]::-webkit-inner-spin-button, &[type=number]::-webkit-outer-spin-button': {
|
|
22
|
-
'-webkit-appearance': 'none',
|
|
23
|
-
margin: 0
|
|
24
|
-
},
|
|
25
|
-
'&[type=number]': {
|
|
26
|
-
'-moz-appearance': 'textfield'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
var LefttIcon = function LefttIcon(_ref) {
|
|
33
|
-
var Icon = _ref.Icon;
|
|
34
|
-
return React.createElement(Icon, null);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
LefttIcon.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
38
|
-
Icon: PropTypes.object
|
|
39
|
-
} : {};
|
|
40
|
-
|
|
41
|
-
var RightIcon = function RightIcon(_ref2) {
|
|
42
|
-
var onSubmit = _ref2.onSubmit,
|
|
43
|
-
_ref2$Icon = _ref2.Icon,
|
|
44
|
-
Icon = _ref2$Icon === undefined ? Done : _ref2$Icon;
|
|
45
|
-
return React.createElement(
|
|
46
|
-
IconButton,
|
|
47
|
-
{ color: 'primary', onClick: function onClick() {
|
|
48
|
-
return onSubmit();
|
|
49
|
-
}, size: 'large' },
|
|
50
|
-
React.createElement(Icon, null)
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
RightIcon.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
55
|
-
Icon: PropTypes.object,
|
|
56
|
-
onSubmit: PropTypes.func,
|
|
57
|
-
classes: PropTypes.object
|
|
58
|
-
} : {};
|
|
59
|
-
|
|
60
|
-
var MyInput = function MyInput(_ref3) {
|
|
61
|
-
var id = _ref3.id,
|
|
62
|
-
value = _ref3.value,
|
|
63
|
-
onSubmit = _ref3.onSubmit,
|
|
64
|
-
onReset = _ref3.onReset,
|
|
65
|
-
resetLabel = _ref3.resetLabel,
|
|
66
|
-
placeholder = _ref3.placeholder,
|
|
67
|
-
props = _objectWithoutProperties(_ref3, ['id', 'value', 'onSubmit', 'onReset', 'resetLabel', 'placeholder']);
|
|
68
|
-
|
|
69
|
-
var classes = useStyles();
|
|
70
|
-
|
|
71
|
-
var _useState = useState(value || ''),
|
|
72
|
-
inputValue = _useState[0],
|
|
73
|
-
setInputValue = _useState[1];
|
|
74
|
-
|
|
75
|
-
useEffect(function () {
|
|
76
|
-
setInputValue(value);
|
|
77
|
-
}, [value]);
|
|
78
|
-
|
|
79
|
-
var resetId = 'reset-' + id;
|
|
80
|
-
|
|
81
|
-
var handleBlur = function handleBlur(event) {
|
|
82
|
-
if (R.is(Function, onSubmit) && inputValue !== value) {
|
|
83
|
-
onSubmit(event.target.value);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
var handleReset = function handleReset() {
|
|
88
|
-
if (R.is(Function, onReset)) {
|
|
89
|
-
onReset();
|
|
90
|
-
} else {
|
|
91
|
-
setInputValue(value);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
var onEnterLabel = function onEnterLabel(event) {
|
|
96
|
-
if (event.key === 'Enter') {
|
|
97
|
-
if (R.is(Function, onSubmit)) {
|
|
98
|
-
onSubmit(event.target.value);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
var handleChange = function handleChange(event) {
|
|
104
|
-
setInputValue(event.target.value);
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
var endAdornment = R.is(Function, onReset) || inputValue !== value ? React.createElement(
|
|
108
|
-
InputAdornment,
|
|
109
|
-
{ position: 'end' },
|
|
110
|
-
React.createElement(
|
|
111
|
-
IconButton,
|
|
112
|
-
{
|
|
113
|
-
id: resetId,
|
|
114
|
-
'aria-label': resetLabel,
|
|
115
|
-
onKeyPress: onEnterLabel,
|
|
116
|
-
onClick: handleReset,
|
|
117
|
-
size: 'large'
|
|
118
|
-
},
|
|
119
|
-
React.createElement(RotateLeftIcon, { fontSize: 'small' })
|
|
120
|
-
)
|
|
121
|
-
) : null;
|
|
122
|
-
|
|
123
|
-
return React.createElement(TextField, _extends({
|
|
124
|
-
inputProps: {
|
|
125
|
-
className: classes.input
|
|
126
|
-
},
|
|
127
|
-
onBlur: handleBlur,
|
|
128
|
-
margin: 'dense',
|
|
129
|
-
size: 'small',
|
|
130
|
-
variant: 'outlined',
|
|
131
|
-
onKeyPress: onEnterLabel,
|
|
132
|
-
onChange: handleChange,
|
|
133
|
-
id: id,
|
|
134
|
-
value: inputValue,
|
|
135
|
-
InputProps: {
|
|
136
|
-
endAdornment: endAdornment
|
|
137
|
-
},
|
|
138
|
-
placeholder: R.is(Number)(placeholder) ? R.toString(placeholder) : placeholder
|
|
139
|
-
}, R.omit(['isActive'])(props)));
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export { MyInput };
|
|
143
|
-
MyInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
144
|
-
id: PropTypes.string,
|
|
145
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
146
|
-
onSubmit: PropTypes.func,
|
|
147
|
-
onReset: PropTypes.func,
|
|
148
|
-
resetLabel: PropTypes.string,
|
|
149
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
150
|
-
} : {};
|
|
151
|
-
|
|
152
|
-
export default MyInput;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import * as R from 'ramda';
|
|
6
|
-
import Grid from '@mui/material/Grid';
|
|
7
|
-
import Input from './Input';
|
|
8
|
-
|
|
9
|
-
var InputProxy = function InputProxy(_ref) {
|
|
10
|
-
var _ref$minWidth = _ref.minWidth,
|
|
11
|
-
minWidth = _ref$minWidth === undefined ? 220 : _ref$minWidth,
|
|
12
|
-
_ref$properties = _ref.properties,
|
|
13
|
-
properties = _ref$properties === undefined ? {} : _ref$properties,
|
|
14
|
-
_ref$labels = _ref.labels,
|
|
15
|
-
labels = _ref$labels === undefined ? {} : _ref$labels,
|
|
16
|
-
pkey = _ref.pkey,
|
|
17
|
-
mkey = _ref.mkey,
|
|
18
|
-
_ref$xs = _ref.xs,
|
|
19
|
-
xs = _ref$xs === undefined ? 12 : _ref$xs,
|
|
20
|
-
_ref$sm = _ref.sm,
|
|
21
|
-
sm = _ref$sm === undefined ? 12 : _ref$sm,
|
|
22
|
-
_ref$lg = _ref.lg,
|
|
23
|
-
lg = _ref$lg === undefined ? 12 : _ref$lg,
|
|
24
|
-
_ref$InputProps = _ref.InputProps,
|
|
25
|
-
InputProps = _ref$InputProps === undefined ? {} : _ref$InputProps;
|
|
26
|
-
|
|
27
|
-
if (R.isNil(pkey)) return null;
|
|
28
|
-
if (!R.has(pkey, properties)) return null;
|
|
29
|
-
|
|
30
|
-
var prop = R.propOr({}, pkey, properties);
|
|
31
|
-
|
|
32
|
-
return React.createElement(
|
|
33
|
-
Grid,
|
|
34
|
-
{ item: true, xs: xs, sm: sm, lg: lg, style: { minWidth: minWidth } },
|
|
35
|
-
React.createElement(Input, _extends({}, prop, {
|
|
36
|
-
value: R.when(R.isNil, R.always(''))(prop.value),
|
|
37
|
-
type: 'number',
|
|
38
|
-
label: R.prop(mkey || pkey, labels),
|
|
39
|
-
fullWidth: true,
|
|
40
|
-
InputProps: R.mergeRight({ endAdornment: null }, InputProps)
|
|
41
|
-
}))
|
|
42
|
-
);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
InputProxy.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
46
|
-
minWidth: PropTypes.number,
|
|
47
|
-
properties: PropTypes.object,
|
|
48
|
-
labels: PropTypes.object,
|
|
49
|
-
pkey: PropTypes.string,
|
|
50
|
-
mkey: PropTypes.string,
|
|
51
|
-
xs: PropTypes.number,
|
|
52
|
-
sm: PropTypes.number,
|
|
53
|
-
lg: PropTypes.number,
|
|
54
|
-
InputProps: PropTypes.object
|
|
55
|
-
} : {};
|
|
56
|
-
|
|
57
|
-
export default InputProxy;
|
package/es/ChartsConfig/Proxy.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import * as R from 'ramda';
|
|
3
|
-
|
|
4
|
-
var Proxy = function Proxy(_ref) {
|
|
5
|
-
var keys = _ref.keys,
|
|
6
|
-
properties = _ref.properties,
|
|
7
|
-
children = _ref.children;
|
|
8
|
-
|
|
9
|
-
if (!R.any(R.flip(R.has)(properties), keys)) return null;
|
|
10
|
-
|
|
11
|
-
return children;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
Proxy.propTypes = {
|
|
15
|
-
children: PropTypes.node,
|
|
16
|
-
keys: PropTypes.array,
|
|
17
|
-
properties: PropTypes.object
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default Proxy;
|