@sis-cc/dotstatsuite-visions 12.56.0 → 13.0.1
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 +56 -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,178 +0,0 @@
|
|
|
1
|
-
import React, { Fragment } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import cx from 'classnames';
|
|
4
|
-
import * as R from 'ramda';
|
|
5
|
-
import useSize from '@react-hook/size';
|
|
6
|
-
import Grid from '@mui/material/Grid';
|
|
7
|
-
import Typography from '@mui/material/Typography';
|
|
8
|
-
import Link from '@mui/material/Link';
|
|
9
|
-
import makeStyles from '@mui/styles/makeStyles';
|
|
10
|
-
import { visuallyHidden } from '@mui/utils';
|
|
11
|
-
import { Tooltip } from '../';
|
|
12
|
-
import { T4_BREAKPOINTS } from '../theme';
|
|
13
|
-
import useKeyboardEscapeHandler from '../hooks/useKeybordEscapeHandler';
|
|
14
|
-
|
|
15
|
-
var HEIGHT = 42;
|
|
16
|
-
|
|
17
|
-
var useStyles = makeStyles(function (theme) {
|
|
18
|
-
return {
|
|
19
|
-
footer: {
|
|
20
|
-
minHeight: HEIGHT
|
|
21
|
-
},
|
|
22
|
-
legend: {
|
|
23
|
-
flexGrow: 1
|
|
24
|
-
},
|
|
25
|
-
copyright: {
|
|
26
|
-
padding: 0
|
|
27
|
-
},
|
|
28
|
-
source: {
|
|
29
|
-
padding: theme.spacing(0, 1, 0, 1)
|
|
30
|
-
},
|
|
31
|
-
logo: {
|
|
32
|
-
height: HEIGHT / 2,
|
|
33
|
-
display: 'flex'
|
|
34
|
-
},
|
|
35
|
-
sticky: {
|
|
36
|
-
position: 'sticky',
|
|
37
|
-
right: 0
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
var DataFooter = function DataFooter(_ref) {
|
|
43
|
-
var _cx;
|
|
44
|
-
|
|
45
|
-
var logo = _ref.logo,
|
|
46
|
-
source = _ref.source,
|
|
47
|
-
copyright = _ref.copyright,
|
|
48
|
-
legend = _ref.legend,
|
|
49
|
-
_ref$isSticky = _ref.isSticky,
|
|
50
|
-
isSticky = _ref$isSticky === undefined ? false : _ref$isSticky;
|
|
51
|
-
|
|
52
|
-
var target = React.useRef(null);
|
|
53
|
-
|
|
54
|
-
var _useSize = useSize(target),
|
|
55
|
-
width = _useSize[0];
|
|
56
|
-
|
|
57
|
-
var isWidthUp = R.gt(width);
|
|
58
|
-
var isSourced = source && source.label && source.link;
|
|
59
|
-
var isCopyrighted = copyright && copyright.label && copyright.content;
|
|
60
|
-
var classes = useStyles();
|
|
61
|
-
|
|
62
|
-
var _useKeyboardEscapeHan = useKeyboardEscapeHandler(),
|
|
63
|
-
open = _useKeyboardEscapeHan.open,
|
|
64
|
-
setOpen = _useKeyboardEscapeHan.setOpen;
|
|
65
|
-
|
|
66
|
-
var typoSize = isWidthUp(T4_BREAKPOINTS.lg) ? 14 : 12;
|
|
67
|
-
if (!isWidthUp(T4_BREAKPOINTS.xs)) return React.createElement(Grid, { ref: target });
|
|
68
|
-
|
|
69
|
-
return React.createElement(
|
|
70
|
-
Grid,
|
|
71
|
-
{
|
|
72
|
-
ref: target,
|
|
73
|
-
container: true,
|
|
74
|
-
className: classes.footer,
|
|
75
|
-
direction: 'row',
|
|
76
|
-
justifyContent: 'flex-end',
|
|
77
|
-
alignItems: 'center'
|
|
78
|
-
},
|
|
79
|
-
React.createElement(
|
|
80
|
-
Grid,
|
|
81
|
-
{ item: true, className: classes.legend },
|
|
82
|
-
isWidthUp(T4_BREAKPOINTS.sm) && legend
|
|
83
|
-
),
|
|
84
|
-
React.createElement(
|
|
85
|
-
Grid,
|
|
86
|
-
{ item: true, style: { alignSelf: 'flex-end' }, className: cx((_cx = {}, _cx[classes.sticky] = isSticky, _cx)) },
|
|
87
|
-
React.createElement(
|
|
88
|
-
Grid,
|
|
89
|
-
{
|
|
90
|
-
container: true,
|
|
91
|
-
justifyContent: 'flex-end',
|
|
92
|
-
alignItems: 'center',
|
|
93
|
-
className: classes.footer,
|
|
94
|
-
spacing: 0
|
|
95
|
-
},
|
|
96
|
-
React.createElement(
|
|
97
|
-
Grid,
|
|
98
|
-
{
|
|
99
|
-
item: true,
|
|
100
|
-
className: isWidthUp(T4_BREAKPOINTS.sm) && isSourced ? classes.copyright : classes.source
|
|
101
|
-
},
|
|
102
|
-
isCopyrighted && React.createElement(
|
|
103
|
-
Fragment,
|
|
104
|
-
null,
|
|
105
|
-
React.createElement(
|
|
106
|
-
Tooltip,
|
|
107
|
-
{
|
|
108
|
-
title: React.createElement(
|
|
109
|
-
Typography,
|
|
110
|
-
{ variant: 'body2' },
|
|
111
|
-
copyright.content
|
|
112
|
-
),
|
|
113
|
-
'aria-label': copyright.content,
|
|
114
|
-
variant: 'light',
|
|
115
|
-
tabIndex: 0,
|
|
116
|
-
'aria-hidden': false,
|
|
117
|
-
placement: 'top',
|
|
118
|
-
enterNextDelay: 100,
|
|
119
|
-
arrow: true,
|
|
120
|
-
open: open,
|
|
121
|
-
onOpen: function onOpen() {
|
|
122
|
-
return setOpen(true);
|
|
123
|
-
},
|
|
124
|
-
onClose: function onClose() {
|
|
125
|
-
return setOpen(false);
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
React.createElement(
|
|
129
|
-
Typography,
|
|
130
|
-
{ variant: 'body2', style: { cursor: 'pointer', fontSize: typoSize } },
|
|
131
|
-
copyright.label
|
|
132
|
-
)
|
|
133
|
-
),
|
|
134
|
-
React.createElement(
|
|
135
|
-
Typography,
|
|
136
|
-
{ sx: visuallyHidden },
|
|
137
|
-
copyright.content
|
|
138
|
-
)
|
|
139
|
-
)
|
|
140
|
-
),
|
|
141
|
-
isWidthUp(T4_BREAKPOINTS.sm) && isSourced && React.createElement(
|
|
142
|
-
Grid,
|
|
143
|
-
{ item: true, className: classes.source },
|
|
144
|
-
React.createElement(
|
|
145
|
-
Typography,
|
|
146
|
-
{ variant: 'body2', style: { fontSize: typoSize } },
|
|
147
|
-
React.createElement(
|
|
148
|
-
Link,
|
|
149
|
-
{ href: source.link, rel: 'noopener noreferrer', target: '_blank', variant: 'body2' },
|
|
150
|
-
source.label
|
|
151
|
-
)
|
|
152
|
-
)
|
|
153
|
-
),
|
|
154
|
-
isWidthUp(T4_BREAKPOINTS.xs) && logo && React.createElement(
|
|
155
|
-
Grid,
|
|
156
|
-
{ item: true },
|
|
157
|
-
React.createElement('img', { src: logo, alt: 'logo', className: classes.logo })
|
|
158
|
-
)
|
|
159
|
-
)
|
|
160
|
-
)
|
|
161
|
-
);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
DataFooter.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
165
|
-
logo: PropTypes.string,
|
|
166
|
-
source: PropTypes.shape({
|
|
167
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
168
|
-
link: PropTypes.string
|
|
169
|
-
}),
|
|
170
|
-
copyright: PropTypes.shape({
|
|
171
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
172
|
-
content: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
|
|
173
|
-
}),
|
|
174
|
-
legend: PropTypes.element,
|
|
175
|
-
isSticky: PropTypes.bool
|
|
176
|
-
} : {};
|
|
177
|
-
|
|
178
|
-
export default DataFooter;
|
package/es/DataFooter/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataFooter is the footer of the datavis component (tables, charts, maps).
|
|
3
|
-
*
|
|
4
|
-
* Responsive rules:
|
|
5
|
-
* - no footer below 120px
|
|
6
|
-
* - no legend below 370px
|
|
7
|
-
* - no source below 370px, adaptative fontSize when displayed
|
|
8
|
-
* - copyright, adaptative fontSize when displayed
|
|
9
|
-
* - invariant logo, 21px (half min height of the footer)
|
|
10
|
-
*
|
|
11
|
-
* @memberOf VISIONS
|
|
12
|
-
* @name DataFooter
|
|
13
|
-
* @tag component
|
|
14
|
-
* @api public
|
|
15
|
-
* @props
|
|
16
|
-
* logo: PropTypes.string.isRequired,
|
|
17
|
-
* source: PropTypes.shape({
|
|
18
|
-
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
19
|
-
* link: PropTypes.string,
|
|
20
|
-
* }),
|
|
21
|
-
* copyright: PropTypes.shape({
|
|
22
|
-
* label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
23
|
-
* content: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
24
|
-
* }),
|
|
25
|
-
* legend: PropTypes.element,
|
|
26
|
-
* isSticky: PropTypes.bool,
|
|
27
|
-
* @theme
|
|
28
|
-
* // tooltip (see Tooltip Component)
|
|
29
|
-
* @demoReady
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
export { default } from './DataFooter';
|
|
@@ -1,314 +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 from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import * as R from 'ramda';
|
|
8
|
-
import useSize from '@react-hook/size';
|
|
9
|
-
import cx from 'classnames';
|
|
10
|
-
import makeStyles from '@mui/styles/makeStyles';
|
|
11
|
-
import { useTheme } from '@mui/material/styles';
|
|
12
|
-
import Info from '@mui/icons-material/Info';
|
|
13
|
-
import Typography from '@mui/material/Typography';
|
|
14
|
-
import { T4_BREAKPOINTS } from '../theme';
|
|
15
|
-
import Title from './Title';
|
|
16
|
-
import Flags from './Flags';
|
|
17
|
-
import TooltipHeader from './TooltipHeader';
|
|
18
|
-
import { getReducedContent } from './utils';
|
|
19
|
-
|
|
20
|
-
var useStyles = makeStyles(function (theme) {
|
|
21
|
-
return {
|
|
22
|
-
header: {
|
|
23
|
-
alignItems: 'center',
|
|
24
|
-
display: 'flex'
|
|
25
|
-
},
|
|
26
|
-
container: _extends({
|
|
27
|
-
display: 'flex',
|
|
28
|
-
flexDirection: 'column',
|
|
29
|
-
justifyContent: 'flex-start',
|
|
30
|
-
marginBottom: 10,
|
|
31
|
-
marginTop: 10,
|
|
32
|
-
alignItems: 'baseline'
|
|
33
|
-
}, R.pathOr({}, ['mixins', 'dataHeader', 'root'], theme)),
|
|
34
|
-
title: _extends({
|
|
35
|
-
display: 'inline-block',
|
|
36
|
-
width: '100%',
|
|
37
|
-
lineHeight: 1.5
|
|
38
|
-
}, R.pathOr({}, ['mixins', 'dataHeader', 'title'], theme)),
|
|
39
|
-
wrapperSubtitle: {
|
|
40
|
-
alignItems: 'center',
|
|
41
|
-
display: 'flex',
|
|
42
|
-
flexWrap: 'wrap',
|
|
43
|
-
width: '100%',
|
|
44
|
-
lineHeight: 1.3
|
|
45
|
-
},
|
|
46
|
-
subtitle: _extends({
|
|
47
|
-
display: 'flex',
|
|
48
|
-
alignItems: 'center',
|
|
49
|
-
lineHeight: 1.6,
|
|
50
|
-
color: theme.palette.grey[600]
|
|
51
|
-
}, R.pathOr({}, ['mixins', 'dataHeader', 'subtitle'], theme)),
|
|
52
|
-
disclaimer: _extends({
|
|
53
|
-
padding: theme.spacing(0.5),
|
|
54
|
-
lineHeight: 1.5
|
|
55
|
-
}, R.pathOr({}, ['mixins', 'dataHeader', 'disclaimer'], theme)),
|
|
56
|
-
pagination: _extends({
|
|
57
|
-
padding: theme.spacing(0.5),
|
|
58
|
-
lineHeight: 1.5
|
|
59
|
-
}, R.pathOr({}, ['mixins', 'dataHeader', 'subtitle'], theme)),
|
|
60
|
-
infoIcon: {
|
|
61
|
-
height: '0.8em',
|
|
62
|
-
color: theme.palette.grey[600]
|
|
63
|
-
},
|
|
64
|
-
svgWrapper: _extends({
|
|
65
|
-
marginLeft: 4
|
|
66
|
-
}, theme.typography.body1),
|
|
67
|
-
svg: {
|
|
68
|
-
fontSize: 'inherit',
|
|
69
|
-
borderBottom: '1px dotted',
|
|
70
|
-
borderBottomColor: 'inherit'
|
|
71
|
-
},
|
|
72
|
-
content: _extends({
|
|
73
|
-
boxSizing: 'border-box',
|
|
74
|
-
color: 'white',
|
|
75
|
-
listStyleType: 'none',
|
|
76
|
-
maxWidth: 270,
|
|
77
|
-
padding: 0,
|
|
78
|
-
margin: 0,
|
|
79
|
-
fontSize: 12,
|
|
80
|
-
fontWeight: 400,
|
|
81
|
-
lineHeight: 1.43
|
|
82
|
-
}, theme.typography.body1),
|
|
83
|
-
subContent: _extends({
|
|
84
|
-
listStyle: 'none',
|
|
85
|
-
padding: 0,
|
|
86
|
-
marginLeft: 20,
|
|
87
|
-
maxWidth: 270
|
|
88
|
-
}, theme.typography.body1),
|
|
89
|
-
sticky: {
|
|
90
|
-
position: 'sticky',
|
|
91
|
-
left: 0
|
|
92
|
-
},
|
|
93
|
-
sideIconContainer: {
|
|
94
|
-
marginLeft: '10px'
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
});
|
|
98
|
-
var BasicHTMLRenderer = function BasicHTMLRenderer(_ref) {
|
|
99
|
-
var html = _ref.html,
|
|
100
|
-
rest = _objectWithoutProperties(_ref, ['html']);
|
|
101
|
-
|
|
102
|
-
return React.createElement('span', _extends({ dangerouslySetInnerHTML: { __html: html } }, rest));
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
BasicHTMLRenderer.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
106
|
-
html: PropTypes.string
|
|
107
|
-
} : {};
|
|
108
|
-
var DataHeader = function DataHeader(_ref2) {
|
|
109
|
-
var _cx;
|
|
110
|
-
|
|
111
|
-
var children = _ref2.children,
|
|
112
|
-
title = _ref2.title,
|
|
113
|
-
_ref2$subtitle = _ref2.subtitle,
|
|
114
|
-
subtitle = _ref2$subtitle === undefined ? [] : _ref2$subtitle,
|
|
115
|
-
combinations = _ref2.combinations,
|
|
116
|
-
disclaimer = _ref2.disclaimer,
|
|
117
|
-
sideProps = _ref2.sideProps,
|
|
118
|
-
SideIcon = _ref2.SideIcon,
|
|
119
|
-
_ref2$isSticky = _ref2.isSticky,
|
|
120
|
-
isSticky = _ref2$isSticky === undefined ? false : _ref2$isSticky,
|
|
121
|
-
_ref2$HTMLRenderer = _ref2.HTMLRenderer,
|
|
122
|
-
HTMLRenderer = _ref2$HTMLRenderer === undefined ? BasicHTMLRenderer : _ref2$HTMLRenderer,
|
|
123
|
-
pagination = _ref2.pagination;
|
|
124
|
-
|
|
125
|
-
var target = React.useRef(null);
|
|
126
|
-
|
|
127
|
-
var _useSize = useSize(target),
|
|
128
|
-
width = _useSize[0];
|
|
129
|
-
|
|
130
|
-
var isWidthUp = R.gte(width);
|
|
131
|
-
var isWidthLess = R.lt(width);
|
|
132
|
-
var classes = useStyles();
|
|
133
|
-
|
|
134
|
-
var reducedContent = getReducedContent({
|
|
135
|
-
isWidthLess: isWidthLess,
|
|
136
|
-
title: title,
|
|
137
|
-
subtitle: subtitle,
|
|
138
|
-
combinations: combinations,
|
|
139
|
-
disclaimer: disclaimer
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
var theme = useTheme();
|
|
143
|
-
var iconColor = R.path(['mixins', 'dataHeader', 'icon', 'color'], theme);
|
|
144
|
-
var fontSizeTitle = R.cond([[R.always(isWidthLess(T4_BREAKPOINTS.xs3)), R.always(12)], [R.always(isWidthLess(T4_BREAKPOINTS.sm)), R.always(14)], [R.always(isWidthLess(T4_BREAKPOINTS.md2)), R.always(16)], [R.T, R.identity]])(18);
|
|
145
|
-
var fontSizeSubtitle = R.cond([[R.always(isWidthLess(T4_BREAKPOINTS.xs3)), R.always(12)], [R.always(isWidthLess(T4_BREAKPOINTS.sm)), R.always(13)]])(14);
|
|
146
|
-
var subtitleLength = R.length(subtitle);
|
|
147
|
-
var combinationsLength = R.length(combinations);
|
|
148
|
-
|
|
149
|
-
return React.createElement(
|
|
150
|
-
'div',
|
|
151
|
-
{
|
|
152
|
-
className: classes.header,
|
|
153
|
-
style: {
|
|
154
|
-
justifyContent: isWidthLess(T4_BREAKPOINTS.xs2) ? 'flex-end' : 'space-between'
|
|
155
|
-
},
|
|
156
|
-
ref: target,
|
|
157
|
-
'data-testid': 'data-header'
|
|
158
|
-
},
|
|
159
|
-
React.createElement(
|
|
160
|
-
'div',
|
|
161
|
-
{ className: cx(classes.container, (_cx = {}, _cx[classes.sticky] = isSticky, _cx)) },
|
|
162
|
-
isWidthUp(T4_BREAKPOINTS.xs2) && title && React.createElement(
|
|
163
|
-
Typography,
|
|
164
|
-
{
|
|
165
|
-
variant: 'h1',
|
|
166
|
-
className: classes.title,
|
|
167
|
-
style: { fontSize: fontSizeTitle },
|
|
168
|
-
'data-testid': 'data-header-title',
|
|
169
|
-
tabIndex: '-1',
|
|
170
|
-
'aria-label': title.label
|
|
171
|
-
},
|
|
172
|
-
title.label,
|
|
173
|
-
!R.isNil(SideIcon) && React.createElement(
|
|
174
|
-
'span',
|
|
175
|
-
{ className: classes.sideIconContainer },
|
|
176
|
-
React.createElement(SideIcon, { sideProps: sideProps })
|
|
177
|
-
),
|
|
178
|
-
React.createElement(Flags, {
|
|
179
|
-
classes: classes,
|
|
180
|
-
HTMLRenderer: HTMLRenderer,
|
|
181
|
-
content: R.propOr([], 'flags', title)
|
|
182
|
-
})
|
|
183
|
-
),
|
|
184
|
-
isWidthUp(T4_BREAKPOINTS.xs3) && subtitle && R.not(R.isEmpty(subtitle)) && React.createElement(
|
|
185
|
-
'div',
|
|
186
|
-
{ className: classes.wrapperSubtitle },
|
|
187
|
-
R.pipe(R.addIndex(R.map)(function (sub, index) {
|
|
188
|
-
return React.createElement(
|
|
189
|
-
'div',
|
|
190
|
-
{
|
|
191
|
-
key: 'subtitle-' + index,
|
|
192
|
-
className: classes.subtitle,
|
|
193
|
-
style: { fontSize: fontSizeSubtitle },
|
|
194
|
-
'data-testid': 'data-header-subtitle',
|
|
195
|
-
'aria-label': sub.header
|
|
196
|
-
},
|
|
197
|
-
React.createElement(Title, { header: sub.header }),
|
|
198
|
-
React.createElement(
|
|
199
|
-
Typography,
|
|
200
|
-
{ variant: 'inherit' },
|
|
201
|
-
sub.label
|
|
202
|
-
),
|
|
203
|
-
R.not(R.isEmpty(R.propOr([], 'flags', sub))) && React.createElement(Flags, {
|
|
204
|
-
classes: classes,
|
|
205
|
-
HTMLRenderer: HTMLRenderer,
|
|
206
|
-
content: R.prop('flags', sub)
|
|
207
|
-
}),
|
|
208
|
-
R.lt(index + 1, subtitleLength) && React.createElement(
|
|
209
|
-
'svg',
|
|
210
|
-
{ width: '24', height: '8' },
|
|
211
|
-
React.createElement('circle', { cx: '12', cy: '4', r: '3', stroke: iconColor, fill: iconColor })
|
|
212
|
-
)
|
|
213
|
-
);
|
|
214
|
-
}))(subtitle)
|
|
215
|
-
),
|
|
216
|
-
isWidthUp(T4_BREAKPOINTS.xs3) && combinations && R.not(R.isEmpty(combinations)) && React.createElement(
|
|
217
|
-
'div',
|
|
218
|
-
{ className: classes.wrapperSubtitle },
|
|
219
|
-
R.pipe(R.addIndex(R.map)(function (comb, index) {
|
|
220
|
-
return React.createElement(
|
|
221
|
-
'div',
|
|
222
|
-
{
|
|
223
|
-
key: 'combination-' + index,
|
|
224
|
-
className: classes.subtitle,
|
|
225
|
-
'data-testid': 'data-header-combination',
|
|
226
|
-
'aria-label': comb.header
|
|
227
|
-
},
|
|
228
|
-
React.createElement(Title, { header: comb.header }),
|
|
229
|
-
React.createElement(
|
|
230
|
-
Typography,
|
|
231
|
-
{ variant: 'inherit' },
|
|
232
|
-
comb.label
|
|
233
|
-
),
|
|
234
|
-
R.not(R.isEmpty(R.propOr([], 'flags', comb))) && React.createElement(Flags, {
|
|
235
|
-
classes: classes,
|
|
236
|
-
HTMLRenderer: HTMLRenderer,
|
|
237
|
-
content: R.prop('flags', comb)
|
|
238
|
-
}),
|
|
239
|
-
R.lt(index + 1, combinationsLength) && React.createElement(
|
|
240
|
-
'svg',
|
|
241
|
-
{ width: '24', height: '8' },
|
|
242
|
-
React.createElement('circle', { cx: '12', cy: '4', r: '3', stroke: iconColor, fill: iconColor })
|
|
243
|
-
)
|
|
244
|
-
);
|
|
245
|
-
}))(combinations)
|
|
246
|
-
),
|
|
247
|
-
isWidthUp(T4_BREAKPOINTS.xs3) && disclaimer && React.createElement(
|
|
248
|
-
Typography,
|
|
249
|
-
{
|
|
250
|
-
'data-testid': 'data-header-disclaimer',
|
|
251
|
-
className: classes.disclaimer,
|
|
252
|
-
style: { fontSize: fontSizeSubtitle }
|
|
253
|
-
},
|
|
254
|
-
disclaimer
|
|
255
|
-
),
|
|
256
|
-
pagination && React.createElement(
|
|
257
|
-
'div',
|
|
258
|
-
{
|
|
259
|
-
'data-testid': 'data-header-pagination',
|
|
260
|
-
className: classes.pagination,
|
|
261
|
-
style: { fontSize: fontSizeSubtitle }
|
|
262
|
-
},
|
|
263
|
-
pagination
|
|
264
|
-
)
|
|
265
|
-
),
|
|
266
|
-
React.createElement(
|
|
267
|
-
'div',
|
|
268
|
-
{ className: classes.children },
|
|
269
|
-
R.not(R.isEmpty(reducedContent)) && React.createElement(
|
|
270
|
-
TooltipHeader,
|
|
271
|
-
{ classes: classes, content: reducedContent, HTMLRenderer: HTMLRenderer },
|
|
272
|
-
React.createElement(Info, { className: classes.infoIcon })
|
|
273
|
-
),
|
|
274
|
-
children
|
|
275
|
-
)
|
|
276
|
-
);
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
DataHeader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
280
|
-
title: PropTypes.shape({
|
|
281
|
-
label: PropTypes.string,
|
|
282
|
-
flags: PropTypes.arrayOf(PropTypes.shape({
|
|
283
|
-
header: PropTypes.string,
|
|
284
|
-
label: PropTypes.string,
|
|
285
|
-
sub: PropTypes.arrayOf(PropTypes.shape({
|
|
286
|
-
label: PropTypes.string
|
|
287
|
-
}))
|
|
288
|
-
}))
|
|
289
|
-
}),
|
|
290
|
-
subtitle: PropTypes.arrayOf(PropTypes.shape({
|
|
291
|
-
header: PropTypes.string,
|
|
292
|
-
label: PropTypes.string,
|
|
293
|
-
flags: PropTypes.arrayOf(PropTypes.shape({
|
|
294
|
-
header: PropTypes.string,
|
|
295
|
-
label: PropTypes.string,
|
|
296
|
-
sub: PropTypes.arrayOf(PropTypes.shape({
|
|
297
|
-
label: PropTypes.string
|
|
298
|
-
}))
|
|
299
|
-
}))
|
|
300
|
-
})),
|
|
301
|
-
combinations: PropTypes.arrayOf(PropTypes.shape({
|
|
302
|
-
header: PropTypes.string,
|
|
303
|
-
label: PropTypes.string
|
|
304
|
-
})),
|
|
305
|
-
sideProps: PropTypes.object,
|
|
306
|
-
SideIcon: PropTypes.func,
|
|
307
|
-
disclaimer: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
308
|
-
children: PropTypes.node,
|
|
309
|
-
isSticky: PropTypes.bool,
|
|
310
|
-
HTMLRenderer: PropTypes.func,
|
|
311
|
-
pagination: PropTypes.element
|
|
312
|
-
} : {};
|
|
313
|
-
|
|
314
|
-
export default DataHeader;
|
package/es/DataHeader/Flags.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import * as R from 'ramda';
|
|
4
|
-
import { Asterisk } from '../';
|
|
5
|
-
import { TooltipHeader } from './TooltipHeader';
|
|
6
|
-
|
|
7
|
-
var Flags = function Flags(_ref) {
|
|
8
|
-
var classes = _ref.classes,
|
|
9
|
-
content = _ref.content,
|
|
10
|
-
HTMLRenderer = _ref.HTMLRenderer;
|
|
11
|
-
|
|
12
|
-
var codes = R.pipe(R.pluck('code'), R.filter(R.identity))(content);
|
|
13
|
-
var hasCodes = !R.isEmpty(codes);
|
|
14
|
-
var hasUncoded = R.length(codes) !== R.length(content);
|
|
15
|
-
var joinedCodes = R.pipe(R.join(','), function (codes) {
|
|
16
|
-
return hasUncoded ? codes + ',' : codes;
|
|
17
|
-
})(codes);
|
|
18
|
-
return React.createElement(
|
|
19
|
-
TooltipHeader,
|
|
20
|
-
{ classes: classes, content: content, HTMLRenderer: HTMLRenderer },
|
|
21
|
-
React.createElement(
|
|
22
|
-
'sup',
|
|
23
|
-
{ className: classes.svgWrapper },
|
|
24
|
-
hasCodes && joinedCodes,
|
|
25
|
-
hasUncoded && React.createElement(Asterisk, { className: classes.svg })
|
|
26
|
-
)
|
|
27
|
-
);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
Flags.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
31
|
-
classes: PropTypes.object,
|
|
32
|
-
HTMLRenderer: PropTypes.func,
|
|
33
|
-
content: PropTypes.arrayOf(PropTypes.shape({
|
|
34
|
-
header: PropTypes.string,
|
|
35
|
-
label: PropTypes.string,
|
|
36
|
-
sub: PropTypes.arrayOf(PropTypes.shape({
|
|
37
|
-
label: PropTypes.string
|
|
38
|
-
}))
|
|
39
|
-
}))
|
|
40
|
-
} : {};
|
|
41
|
-
|
|
42
|
-
export default Flags;
|
package/es/DataHeader/Title.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { isNil } from 'ramda';
|
|
4
|
-
|
|
5
|
-
var Title = function Title(_ref) {
|
|
6
|
-
var header = _ref.header;
|
|
7
|
-
|
|
8
|
-
if (isNil(header)) {
|
|
9
|
-
return '';
|
|
10
|
-
}
|
|
11
|
-
return React.createElement(
|
|
12
|
-
'b',
|
|
13
|
-
null,
|
|
14
|
-
React.createElement(
|
|
15
|
-
'i',
|
|
16
|
-
null,
|
|
17
|
-
header
|
|
18
|
-
),
|
|
19
|
-
'\xA0'
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
Title.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
24
|
-
header: PropTypes.string
|
|
25
|
-
} : {};
|
|
26
|
-
|
|
27
|
-
export default Title;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import * as R from 'ramda';
|
|
4
|
-
import { Tooltip } from '../';
|
|
5
|
-
import Title from './Title';
|
|
6
|
-
|
|
7
|
-
export var TooltipHeader = function TooltipHeader(_ref) {
|
|
8
|
-
var children = _ref.children,
|
|
9
|
-
classes = _ref.classes,
|
|
10
|
-
HTMLRenderer = _ref.HTMLRenderer,
|
|
11
|
-
_ref$content = _ref.content,
|
|
12
|
-
content = _ref$content === undefined ? [] : _ref$content;
|
|
13
|
-
|
|
14
|
-
if (R.isEmpty(content)) return null;
|
|
15
|
-
|
|
16
|
-
var listContent = React.createElement(
|
|
17
|
-
'ul',
|
|
18
|
-
{ className: classes.content },
|
|
19
|
-
R.addIndex(R.map)(function (_ref2, index) {
|
|
20
|
-
var header = _ref2.header,
|
|
21
|
-
label = _ref2.label,
|
|
22
|
-
_ref2$sub = _ref2.sub,
|
|
23
|
-
sub = _ref2$sub === undefined ? [] : _ref2$sub;
|
|
24
|
-
return React.createElement(
|
|
25
|
-
'li',
|
|
26
|
-
{ key: label + '-' + index },
|
|
27
|
-
React.createElement(Title, { header: header }),
|
|
28
|
-
R.is(Function, HTMLRenderer) ? React.createElement(HTMLRenderer, { html: label }) : label,
|
|
29
|
-
R.not(R.isEmpty(sub)) && React.createElement(
|
|
30
|
-
'ul',
|
|
31
|
-
{ className: classes.subContent },
|
|
32
|
-
R.addIndex(R.map)(function (_ref3, index) {
|
|
33
|
-
var label = _ref3.label;
|
|
34
|
-
return React.createElement(
|
|
35
|
-
'li',
|
|
36
|
-
{ key: label + '-' + index },
|
|
37
|
-
R.is(Function, HTMLRenderer) ? React.createElement(HTMLRenderer, { html: label }) : label
|
|
38
|
-
);
|
|
39
|
-
}, sub)
|
|
40
|
-
)
|
|
41
|
-
);
|
|
42
|
-
}, content)
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
return React.createElement(
|
|
46
|
-
Tooltip,
|
|
47
|
-
{
|
|
48
|
-
title: listContent,
|
|
49
|
-
tabIndex: 0,
|
|
50
|
-
'aria-label': R.pipe(R.pluck('label'), R.join(', '))(content),
|
|
51
|
-
'aria-hidden': false,
|
|
52
|
-
placement: 'top',
|
|
53
|
-
PopperProps: {
|
|
54
|
-
modifiers: {
|
|
55
|
-
flip: {
|
|
56
|
-
behavior: ['top', 'bottom', 'left', 'right']
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
children
|
|
62
|
-
);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
TooltipHeader.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
66
|
-
children: PropTypes.node,
|
|
67
|
-
classes: PropTypes.object,
|
|
68
|
-
content: PropTypes.arrayOf(PropTypes.shape({
|
|
69
|
-
header: PropTypes.string,
|
|
70
|
-
label: PropTypes.string,
|
|
71
|
-
sub: PropTypes.arrayOf(PropTypes.shape({
|
|
72
|
-
label: PropTypes.string
|
|
73
|
-
}))
|
|
74
|
-
})),
|
|
75
|
-
HTMLRenderer: PropTypes.func
|
|
76
|
-
} : {};
|
|
77
|
-
|
|
78
|
-
export default TooltipHeader;
|