intergalactic 15.128.0-prerelease.0 → 15.128.0-prerelease.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +85 -85
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +57 -57
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +35 -35
- package/animation/lib/esm/Scale.mjs +45 -45
- package/animation/lib/esm/Slide.mjs +34 -34
- package/animation/lib/esm/Transform.mjs +42 -42
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +19 -19
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +51 -51
- package/base-trigger/lib/esm/ButtonTrigger.mjs +19 -19
- package/base-trigger/lib/esm/FilterTrigger.mjs +67 -67
- package/base-trigger/lib/esm/LinkTrigger.mjs +45 -45
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +46 -46
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +28 -28
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +28 -28
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +56 -56
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +54 -54
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +31 -31
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +132 -132
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +88 -88
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +96 -96
- package/color-picker/lib/esm/PaletteManager.mjs +61 -61
- package/color-picker/lib/esm/components/InputColor.mjs +86 -86
- package/color-picker/package.json +1 -1
- package/components.json +68 -68
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +21 -21
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +72 -72
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +169 -169
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +104 -104
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +75 -75
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +127 -127
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +46 -46
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +55 -55
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +37 -37
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +80 -80
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +18 -18
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +206 -206
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +102 -102
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +32 -32
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +49 -49
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +69 -69
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +39 -39
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +27 -27
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +66 -66
- package/data-table/lib/esm/DataTable.mjs +237 -237
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/components/Calendar.mjs +134 -134
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +114 -114
- package/date-picker/lib/esm/components/InputTrigger.mjs +150 -150
- package/date-picker/lib/esm/components/PickerAbstract.mjs +58 -58
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +46 -46
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +37 -37
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +37 -37
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +186 -186
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +84 -84
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +138 -138
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +73 -73
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +35 -35
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +58 -58
- package/feature-popover/package.json +1 -1
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +50 -50
- package/flex-box/lib/esm/Flex/useFlex.mjs +15 -15
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +10 -10
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +73 -73
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +160 -160
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +32 -32
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +38 -38
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +125 -125
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +91 -91
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +70 -70
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +126 -126
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +112 -112
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +54 -54
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +38 -38
- package/mini-chart/lib/esm/component/score/Line.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Bar.mjs +31 -31
- package/mini-chart/lib/esm/component/trend/Line.mjs +32 -32
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +96 -96
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +70 -70
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +115 -115
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +51 -51
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +69 -69
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +74 -74
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +79 -79
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +26 -26
- package/product-head/lib/esm/ProductHead.mjs +37 -37
- package/product-head/lib/esm/Title.mjs +17 -17
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +60 -60
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +113 -113
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +98 -98
- package/scroll-area/lib/esm/ScrollBar.mjs +40 -40
- package/scroll-area/package.json +1 -1
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +56 -56
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +27 -27
- package/skeleton/lib/esm/Charts/Bar.mjs +23 -23
- package/skeleton/lib/esm/Charts/Bubble.mjs +24 -24
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +22 -22
- package/skeleton/lib/esm/Charts/Donut.mjs +24 -24
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +25 -25
- package/skeleton/lib/esm/Charts/RadialTree.mjs +10 -10
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +19 -19
- package/skeleton/lib/esm/Charts/Venn.mjs +24 -24
- package/skeleton/lib/esm/Skeleton.mjs +44 -44
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +78 -78
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +41 -41
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +43 -43
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +18 -18
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +104 -104
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +76 -76
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +39 -39
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +114 -114
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +49 -49
- package/textarea/package.json +1 -1
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +113 -113
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +41 -41
- package/typography/lib/esm/List.mjs +48 -48
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +19 -19
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +94 -94
- package/wizard/package.json +1 -1
@@ -1,17 +1,17 @@
|
|
1
|
-
import
|
1
|
+
import O from "@babel/runtime/helpers/esm/objectSpread2";
|
2
2
|
import ra from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
|
-
import
|
3
|
+
import D from "@babel/runtime/helpers/esm/slicedToArray";
|
4
4
|
import na from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
5
|
+
import F from "@babel/runtime/helpers/esm/classCallCheck";
|
6
|
+
import B from "@babel/runtime/helpers/esm/createClass";
|
7
|
+
import H from "@babel/runtime/helpers/esm/assertThisInitialized";
|
8
|
+
import j from "@babel/runtime/helpers/esm/inherits";
|
9
|
+
import U from "@babel/runtime/helpers/esm/createSuper";
|
10
10
|
import d from "@babel/runtime/helpers/esm/defineProperty";
|
11
11
|
import { sstyled as ia } from 'intergalactic/utils/lib/core/index';
|
12
12
|
import b from "react";
|
13
|
-
import { transition as
|
14
|
-
import { sstyled as
|
13
|
+
import { transition as w } from "d3-transition";
|
14
|
+
import { sstyled as q, Component as G } from 'intergalactic/core';
|
15
15
|
import oa from 'intergalactic/utils/lib/uniqueID';
|
16
16
|
import la from 'intergalactic/utils/lib/assignProps';
|
17
17
|
import sa from 'intergalactic/utils/lib/getOriginChildren';
|
@@ -23,29 +23,29 @@ var _a = ["data"], Q = (
|
|
23
23
|
/*__reshadow_css_start__*/
|
24
24
|
(ia.insert(
|
25
25
|
/*__inner_css_start__*/
|
26
|
-
".
|
27
|
-
"
|
26
|
+
".___SRadian_1qnqi_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1qnqi_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1qnqi_gg_.__stroke_1qnqi_gg_{stroke:var(--stroke_1qnqi)}.___SLine_1qnqi_gg_.__transparent_1qnqi_gg_{opacity:.3}.___SCap_1qnqi_gg_{transition:r .1s}.___SCap_1qnqi_gg_.__pattern_1qnqi_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1qnqi_gg_.__transparent_1qnqi_gg_,.___SIcon_1qnqi_gg_.__transparent_1qnqi_gg_,.___SLabel_1qnqi_gg_.__transparent_1qnqi_gg_{opacity:.3}.___SLabel_1qnqi_gg_{fill:var(--color_1qnqi)}@media (hover:hover){.___SRadian_1qnqi_gg_:hover .___SLabel_1qnqi_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1qnqi_gg_{transition:none}}",
|
27
|
+
"1qnqi_gg_"
|
28
28
|
), {
|
29
|
-
__SRadian: "
|
30
|
-
__SLine: "
|
31
|
-
_stroke: "
|
32
|
-
"--stroke": "--
|
33
|
-
_transparent: "
|
34
|
-
__SCap: "
|
35
|
-
_pattern: "
|
36
|
-
__SIcon: "
|
37
|
-
__SLabel: "
|
38
|
-
"--color": "--
|
39
|
-
__SLineCap: "
|
29
|
+
__SRadian: "___SRadian_1qnqi_gg_",
|
30
|
+
__SLine: "___SLine_1qnqi_gg_",
|
31
|
+
_stroke: "__stroke_1qnqi_gg_",
|
32
|
+
"--stroke": "--stroke_1qnqi",
|
33
|
+
_transparent: "__transparent_1qnqi_gg_",
|
34
|
+
__SCap: "___SCap_1qnqi_gg_",
|
35
|
+
_pattern: "__pattern_1qnqi_gg_",
|
36
|
+
__SIcon: "___SIcon_1qnqi_gg_",
|
37
|
+
__SLabel: "___SLabel_1qnqi_gg_",
|
38
|
+
"--color": "--color_1qnqi",
|
39
|
+
__SLineCap: "___SLineCap_1qnqi_gg_"
|
40
40
|
})
|
41
|
-
),
|
42
|
-
|
43
|
-
var i =
|
44
|
-
function
|
41
|
+
), T = -Math.PI / 2, N = /* @__PURE__ */ function(R) {
|
42
|
+
j(y, R);
|
43
|
+
var i = U(y);
|
44
|
+
function y(p) {
|
45
45
|
var a;
|
46
|
-
return
|
46
|
+
return F(this, y), a = i.call(this, p), d(H(a), "Element", void 0), a.handleRadianClick = a.handleRadianClick.bind(H(a)), a;
|
47
47
|
}
|
48
|
-
return
|
48
|
+
return B(y, [{
|
49
49
|
key: "uncontrolledProps",
|
50
50
|
value: function() {
|
51
51
|
return {
|
@@ -59,14 +59,14 @@ var _a = ["data"], Q = (
|
|
59
59
|
if (da()) {
|
60
60
|
var e = (a = window.matchMedia("(prefers-reduced-motion: reduce)")) === null || a === void 0 ? void 0 : a.matches;
|
61
61
|
if (r > 0 && !e) {
|
62
|
-
var v =
|
63
|
-
if (
|
64
|
-
var P =
|
65
|
-
var s, t, S, g,
|
62
|
+
var v = w().selection().selectAll("[data-radial-animation=".concat(o, "-cap-circle]")).interrupt(), l = w().selection().selectAll("[data-radial-animation=".concat(o, "-cap-icon]")).interrupt(), u = w().selection().selectAll("[data-radial-animation=".concat(o, "-line]")).interrupt(), _ = w().selection().selectAll("[data-radial-animation=".concat(o, "-label]")).interrupt(), h = v.nodes(), x = l.nodes(), m = u.nodes(), f = u.nodes();
|
63
|
+
if (h.length > 0) {
|
64
|
+
var P = h.map(function(c) {
|
65
|
+
var s, t, S, g, k = parseInt(c.dataset.radianIndex, 10), z = m[k];
|
66
66
|
return {
|
67
67
|
from: {
|
68
|
-
cx: (s =
|
69
|
-
cy: (S =
|
68
|
+
cx: (s = z.x1) === null || s === void 0 || (t = s.baseVal) === null || t === void 0 ? void 0 : t.value,
|
69
|
+
cy: (S = z.y1) === null || S === void 0 || (g = S.baseVal) === null || g === void 0 ? void 0 : g.value
|
70
70
|
},
|
71
71
|
to: {
|
72
72
|
cx: c.dataset.cx,
|
@@ -90,11 +90,11 @@ var _a = ["data"], Q = (
|
|
90
90
|
}
|
91
91
|
if (x.length > 0) {
|
92
92
|
var C = x.map(function(c) {
|
93
|
-
var s, t, S, g,
|
93
|
+
var s, t, S, g, k, z, E, A, L = (s = c.width) === null || s === void 0 || (t = s.baseVal) === null || t === void 0 ? void 0 : t.value, I = (S = c.height) === null || S === void 0 || (g = S.baseVal) === null || g === void 0 ? void 0 : g.value, V = parseInt(c.dataset.radianIndex, 10), M = m[V];
|
94
94
|
return {
|
95
95
|
from: {
|
96
|
-
x: ((
|
97
|
-
y: ((
|
96
|
+
x: ((k = M.x1) === null || k === void 0 || (z = k.baseVal) === null || z === void 0 ? void 0 : z.value) - L / 2,
|
97
|
+
y: ((E = M.y1) === null || E === void 0 || (A = E.baseVal) === null || A === void 0 ? void 0 : A.value) - I / 2
|
98
98
|
},
|
99
99
|
to: {
|
100
100
|
x: c.dataset.x,
|
@@ -179,10 +179,10 @@ var _a = ["data"], Q = (
|
|
179
179
|
}, {
|
180
180
|
key: "getTitleProps",
|
181
181
|
value: function() {
|
182
|
-
var a = this.asProps, n = a.uid, r = a.size, o = a.textSize, e =
|
182
|
+
var a = this.asProps, n = a.uid, r = a.size, o = a.textSize, e = D(r, 2), v = e[0], l = e[1], u = [v / 2, l / 2], _ = u[0], h = u[1];
|
183
183
|
return d({
|
184
184
|
x: _,
|
185
|
-
y,
|
185
|
+
y: h,
|
186
186
|
textSize: o * 1.5
|
187
187
|
}, "data-radial-animation", "".concat(n, "-label"));
|
188
188
|
}
|
@@ -190,7 +190,7 @@ var _a = ["data"], Q = (
|
|
190
190
|
key: "getRadianProps",
|
191
191
|
value: function() {
|
192
192
|
var a = this.asProps, n = a.data, r = ra(a, _a), o = this.computeTextWidth();
|
193
|
-
return
|
193
|
+
return O(O({}, r), {}, {
|
194
194
|
radiansCount: n.length,
|
195
195
|
data: n,
|
196
196
|
textWidth: o,
|
@@ -201,16 +201,16 @@ var _a = ["data"], Q = (
|
|
201
201
|
key: "render",
|
202
202
|
value: function() {
|
203
203
|
var a, n = this.Element, r = this.asProps.Children;
|
204
|
-
return this.asProps.dataHintsHandler.establishDataType("values-set"), a =
|
204
|
+
return this.asProps.dataHintsHandler.establishDataType("values-set"), a = q(this.asProps.styles), /* @__PURE__ */ b.createElement(n, a.cn("SRadialTree", {
|
205
205
|
render: "g"
|
206
206
|
}), /* @__PURE__ */ b.createElement(r, a.cn("Children", {})));
|
207
207
|
}
|
208
|
-
}]),
|
208
|
+
}]), y;
|
209
209
|
}(G);
|
210
|
-
d(
|
211
|
-
d(
|
212
|
-
d(
|
213
|
-
d(
|
210
|
+
d(N, "displayName", "RadialTree");
|
211
|
+
d(N, "style", Q);
|
212
|
+
d(N, "enhance", [oa()]);
|
213
|
+
d(N, "defaultProps", {
|
214
214
|
angleOffset: 0,
|
215
215
|
duration: 300,
|
216
216
|
centralMargin: 50,
|
@@ -221,52 +221,52 @@ d(V, "defaultProps", {
|
|
221
221
|
textSize: 14,
|
222
222
|
defaultActiveKey: null
|
223
223
|
});
|
224
|
-
var
|
225
|
-
|
226
|
-
var i =
|
227
|
-
function
|
224
|
+
var K = /* @__PURE__ */ function(R) {
|
225
|
+
j(y, R);
|
226
|
+
var i = U(y);
|
227
|
+
function y(p) {
|
228
228
|
var a;
|
229
|
-
return
|
229
|
+
return F(this, y), a = i.call(this, p), d(H(a), "Element", void 0), a.renderRadian = a.renderRadian.bind(H(a)), a;
|
230
230
|
}
|
231
|
-
return
|
231
|
+
return B(y, [{
|
232
232
|
key: "getInteractiveAreaProps",
|
233
233
|
value: function(a, n) {
|
234
|
-
var r, o = a.$rootProps, e = (r = o.data) === null || r === void 0 ? void 0 : r[n], v = this.computeRadianPosition(e, n), l = v.xStart, u = v.yStart, _ = v.xLabelCenter,
|
234
|
+
var r, o = a.$rootProps, e = (r = o.data) === null || r === void 0 ? void 0 : r[n], v = this.computeRadianPosition(e, n), l = v.xStart, u = v.yStart, _ = v.xLabelCenter, h = v.yLabelCenter, x = v.capSize;
|
235
235
|
return {
|
236
236
|
x1: l,
|
237
237
|
y1: u,
|
238
238
|
x2: _,
|
239
|
-
y2:
|
239
|
+
y2: h,
|
240
240
|
strokeWidth: x * 3
|
241
241
|
};
|
242
242
|
}
|
243
243
|
}, {
|
244
244
|
key: "getLineProps",
|
245
245
|
value: function(a, n) {
|
246
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xStart,
|
246
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xStart, h = u.yStart, x = u.xEnd, m = u.yEnd, f = this.asProps, P = f.uid, C = f.transparent, $ = f.resolveColor, c = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
247
247
|
return e = {
|
248
248
|
x1: _,
|
249
|
-
y1:
|
249
|
+
y1: h,
|
250
250
|
x2: x,
|
251
251
|
y2: m,
|
252
252
|
stroke: c,
|
253
253
|
resolveColor: $,
|
254
254
|
transparent: C
|
255
|
-
}, d(e, "data-x1", _), d(e, "data-y1",
|
255
|
+
}, d(e, "data-x1", _), d(e, "data-y1", h), d(e, "data-x2", x), d(e, "data-y2", m), d(e, "data-radial-animation", "".concat(P, "-line")), d(e, "data-radian-index", n), e;
|
256
256
|
}
|
257
257
|
}, {
|
258
258
|
key: "getCapProps",
|
259
259
|
value: function(a, n) {
|
260
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xEnd,
|
260
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xEnd, h = u.yEnd, x = u.capSize, m = this.asProps, f = m.uid, P = m.transparent, C = m.resolveColor, $ = m.patterns, c = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
261
261
|
return e = {
|
262
262
|
x: _,
|
263
|
-
y
|
264
|
-
}, d(e, "data-cx", _), d(e, "data-cy",
|
263
|
+
y: h
|
264
|
+
}, d(e, "data-cx", _), d(e, "data-cy", h), d(e, "radius", x), d(e, "color", c), d(e, "resolveColor", C), d(e, "transparent", P), d(e, "patterns", $), d(e, "uid", "".concat(f, "-cap-").concat(n)), d(e, "data-radial-animation", "".concat(f, "-cap-circle")), d(e, "data-radian-index", n), e;
|
265
265
|
}
|
266
266
|
}, {
|
267
267
|
key: "getIconProps",
|
268
268
|
value: function(a, n) {
|
269
|
-
var r, o, e, v, l, u = a.$rootProps, _ = (r = u.data) === null || r === void 0 ? void 0 : r[n],
|
269
|
+
var r, o, e, v, l, u = a.$rootProps, _ = (r = u.data) === null || r === void 0 ? void 0 : r[n], h = this.computeRadianPosition(_, n), x = h.xEnd, m = h.yEnd, f = h.isActive, P = this.asProps, C = P.uid, $ = P.resolveColor, c = (o = _.iconColor) !== null && o !== void 0 ? o : this.asProps.iconColor, s = (e = _.iconSize) !== null && e !== void 0 ? e : this.asProps.iconSize, t = (v = _.icon) !== null && v !== void 0 ? v : this.asProps.icon, S = x - s / 2, g = m - s / 2;
|
270
270
|
return l = {
|
271
271
|
x: S,
|
272
272
|
y: g
|
@@ -275,10 +275,10 @@ var D = /* @__PURE__ */ function(z) {
|
|
275
275
|
}, {
|
276
276
|
key: "getLabelProps",
|
277
277
|
value: function(a, n) {
|
278
|
-
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xLabelCenter,
|
278
|
+
var r, o, e, v = a.$rootProps, l = (r = v.data) === null || r === void 0 ? void 0 : r[n], u = this.computeRadianPosition(l, n), _ = u.xLabelCenter, h = u.yLabelCenter, x = u.labelAngle, m = u.isHorizontal, f = this.asProps, P = f.uid, C = f.textSize, $ = f.transparent, c = f.resolveColor, s = l, t = s.label, S = (o = l.color) !== null && o !== void 0 ? o : this.asProps.color;
|
279
279
|
return e = {
|
280
280
|
x: _,
|
281
|
-
y,
|
281
|
+
y: h,
|
282
282
|
angle: x
|
283
283
|
}, d(e, "data-radial-animation", "".concat(P, "-label")), d(e, "data-radian-index", n), d(e, "label", t), d(e, "color", S), d(e, "resolveColor", c), d(e, "isHorizontal", m), d(e, "textSize", C), d(e, "transparent", $), e;
|
284
284
|
}
|
@@ -291,7 +291,7 @@ var D = /* @__PURE__ */ function(z) {
|
|
291
291
|
}, {
|
292
292
|
key: "computeRadianPosition",
|
293
293
|
value: function(a, n) {
|
294
|
-
var r, o = this.asProps, e = o.centralMargin, v = o.labelMargin, l = o.angleOffset, u = o.activeKey, _ = o.size,
|
294
|
+
var r, o = this.asProps, e = o.centralMargin, v = o.labelMargin, l = o.angleOffset, u = o.activeKey, _ = o.size, h = o.radiansCount, x = o.textWidth, m = D(_, 2), f = m[0], P = m[1], C = this.getRadianKey(a, n), $ = u === C, c = (r = a.capSize) !== null && r !== void 0 ? r : this.asProps.capSize, s = c * ($ ? 1 : 0.5), t = Math.min(f, P) / 2, S = Math.max(t - x - c - e - v * 2, 10), g = T + l + n / h * (Math.PI * 2), k = g - T > 1 / 6 * Math.PI && g - T < 5 / 6 * Math.PI || g - T > 7 / 6 * Math.PI && g - T < 11 / 6 * Math.PI, z = -Math.PI / 2, E = (g - z) % Math.PI + z, A = [f / 2, P / 2], L = A[0], I = A[1], V = [L + Math.cos(g) * e, I + Math.sin(g) * e], M = [L + Math.cos(g) * (e + S), I + Math.sin(g) * (e + S)], X = V[0], Y = V[1], Z = M[0], aa = M[1], W = [L + Math.cos(g) * (e + S + c + x / 2 + v), I + Math.sin(g) * (e + S + c + x / 2 + v)], ta = W[0], ea = W[1];
|
295
295
|
return {
|
296
296
|
xStart: X,
|
297
297
|
yStart: Y,
|
@@ -299,8 +299,8 @@ var D = /* @__PURE__ */ function(z) {
|
|
299
299
|
yEnd: aa,
|
300
300
|
xLabelCenter: ta,
|
301
301
|
yLabelCenter: ea,
|
302
|
-
labelAngle:
|
303
|
-
isHorizontal:
|
302
|
+
labelAngle: E,
|
303
|
+
isHorizontal: k,
|
304
304
|
capSize: s,
|
305
305
|
isActive: $
|
306
306
|
};
|
@@ -308,32 +308,32 @@ var D = /* @__PURE__ */ function(z) {
|
|
308
308
|
}, {
|
309
309
|
key: "renderRadian",
|
310
310
|
value: function(a, n) {
|
311
|
-
var r, o = this.asProps, e = o.styles, v = o.Children, l = o.onRadianClick, u = this.getRadianKey(a, n), _ = "g",
|
312
|
-
if (typeof
|
313
|
-
var x = this.asProps.children, m = la(
|
314
|
-
|
311
|
+
var r, o = this.asProps, e = o.styles, v = o.Children, l = o.onRadianClick, u = this.getRadianKey(a, n), _ = "g", h = sa(v);
|
312
|
+
if (typeof h == "function") {
|
313
|
+
var x = this.asProps.children, m = la(h(this.asProps), this.asProps);
|
314
|
+
h = m.children, m.children = x;
|
315
315
|
}
|
316
316
|
this.asProps.dataHintsHandler.describeValueEntity("".concat(n, ".").concat(a.label), a.label);
|
317
317
|
var f = Pa.Radian.InteractiveArea;
|
318
|
-
return r =
|
318
|
+
return r = q(e), /* @__PURE__ */ b.createElement(_, r.cn("SRadian", {
|
319
319
|
"aria-hidden": !0,
|
320
320
|
key: u,
|
321
321
|
onClick: l(u)
|
322
|
-
}), /* @__PURE__ */ b.createElement(f, r.cn("InteractiveArea", {})),
|
322
|
+
}), /* @__PURE__ */ b.createElement(f, r.cn("InteractiveArea", {})), h);
|
323
323
|
}
|
324
324
|
}, {
|
325
325
|
key: "render",
|
326
326
|
value: function() {
|
327
327
|
var a, n = this, r = this.asProps.data, o = "g";
|
328
|
-
return a =
|
328
|
+
return a = q(this.asProps.styles), /* @__PURE__ */ b.createElement(o, a.cn("SRadianList", {}), r.map(function(e, v) {
|
329
329
|
return n.renderRadian(e, v);
|
330
330
|
}));
|
331
331
|
}
|
332
|
-
}]),
|
332
|
+
}]), y;
|
333
333
|
}(G);
|
334
|
-
d(
|
335
|
-
d(
|
336
|
-
d(
|
334
|
+
d(K, "displayName", "RadialTreeRadian");
|
335
|
+
d(K, "style", Q);
|
336
|
+
d(K, "defaultProps", {
|
337
337
|
centralMargin: 50,
|
338
338
|
labelMargin: 2,
|
339
339
|
iconColor: "#fff",
|
@@ -341,24 +341,24 @@ d(D, "defaultProps", {
|
|
341
341
|
iconSize: 16,
|
342
342
|
textSize: 14
|
343
343
|
});
|
344
|
-
var
|
345
|
-
var
|
346
|
-
return
|
344
|
+
var ha = function(i) {
|
345
|
+
var y, p = i.Element, a = i.styles;
|
346
|
+
return y = q(a), /* @__PURE__ */ b.createElement(p, y.cn("SInteractiveArea", {
|
347
347
|
stroke: "transparent",
|
348
348
|
render: "line"
|
349
349
|
}));
|
350
|
-
},
|
351
|
-
var
|
352
|
-
return
|
350
|
+
}, ya = function(i) {
|
351
|
+
var y, p = i.Element, a = i.styles, n = i.stroke, r = i.resolveColor, o = i.transparent;
|
352
|
+
return y = q(a), /* @__PURE__ */ b.createElement(p, y.cn("SLine", {
|
353
353
|
render: "line",
|
354
354
|
stroke: r(n),
|
355
355
|
transparent: o
|
356
356
|
}));
|
357
357
|
}, ma = function(i) {
|
358
|
-
var
|
359
|
-
if (!
|
358
|
+
var y, p = i.Element, a = i.styles, n = i.x, r = n === void 0 ? 0 : n, o = i.y, e = o === void 0 ? 0 : o, v = i.radius, l = i.color, u = i.resolveColor, _ = i.transparent, h = i.patterns;
|
359
|
+
if (!h) {
|
360
360
|
var x;
|
361
|
-
return x =
|
361
|
+
return x = q(a), /* @__PURE__ */ b.createElement(p, x.cn("SCap", {
|
362
362
|
render: "circle",
|
363
363
|
cx: r,
|
364
364
|
cy: e,
|
@@ -369,9 +369,9 @@ var ya = function(i) {
|
|
369
369
|
}
|
370
370
|
var m = l || va(0), f = ua({
|
371
371
|
patternKey: m,
|
372
|
-
patterns:
|
373
|
-
}), P =
|
374
|
-
return
|
372
|
+
patterns: h
|
373
|
+
}), P = D(f, 2), C = P[0], $ = P[1];
|
374
|
+
return y = q(a), /* @__PURE__ */ b.createElement(p, y.cn("SCap", {
|
375
375
|
render: pa,
|
376
376
|
patternKey: l,
|
377
377
|
x: r - (C || 0) / 2,
|
@@ -381,10 +381,10 @@ var ya = function(i) {
|
|
381
381
|
pattern: !0
|
382
382
|
}));
|
383
383
|
}, ga = function(i) {
|
384
|
-
var
|
384
|
+
var y, p = i.Element, a = i.styles, n = i.isActive, r = i.tag, o = i.x, e = i.y, v = i.iconSize, l = i.transparent;
|
385
385
|
if (!(n && r)) return null;
|
386
386
|
var u = v, _ = v;
|
387
|
-
return
|
387
|
+
return y = q(a), /* @__PURE__ */ b.createElement(p, y.cn("SIcon", {
|
388
388
|
x: o,
|
389
389
|
y: e,
|
390
390
|
width: u,
|
@@ -393,13 +393,13 @@ var ya = function(i) {
|
|
393
393
|
transparent: l
|
394
394
|
}));
|
395
395
|
}, xa = function(i) {
|
396
|
-
var
|
397
|
-
`), m = x.length, f = "tspan", P = (_ / Math.PI * 180).toFixed(2), C = [v.toFixed(2), l.toFixed(2)], $ = "rotate(".concat([P].concat(C).join(", "), ")"), c =
|
396
|
+
var y = i.Element, p = i.Children, a = i.styles, n = i.label, r = i.color, o = i.resolveColor, e = i.isHorizontal, v = i.x, l = i.y, u = i.textSize, _ = i.angle, h = i.transparent, x = String(n).split(`
|
397
|
+
`), m = x.length, f = "tspan", P = (_ / Math.PI * 180).toFixed(2), C = [v.toFixed(2), l.toFixed(2)], $ = "rotate(".concat([P].concat(C).join(", "), ")"), c = q(a), s = c.cn("SLabel", {
|
398
398
|
color: o(r),
|
399
399
|
"text-cursor": e ? "text" : "vertical-text",
|
400
|
-
transparent:
|
400
|
+
transparent: h
|
401
401
|
});
|
402
|
-
return /* @__PURE__ */ b.createElement(
|
402
|
+
return /* @__PURE__ */ b.createElement(y, {
|
403
403
|
"aria-hidden": !0,
|
404
404
|
render: "text",
|
405
405
|
textAnchor: "middle",
|
@@ -416,15 +416,15 @@ var ya = function(i) {
|
|
416
416
|
key: "#".concat(S, "-").concat(t)
|
417
417
|
}, t);
|
418
418
|
}), /* @__PURE__ */ b.createElement(p, null));
|
419
|
-
}, fa = J(
|
420
|
-
InteractiveArea:
|
421
|
-
Line:
|
419
|
+
}, fa = J(K, {
|
420
|
+
InteractiveArea: ha,
|
421
|
+
Line: ya,
|
422
422
|
Cap: ma,
|
423
423
|
Icon: ga,
|
424
424
|
Label: xa
|
425
425
|
}), Sa = function(i) {
|
426
|
-
var
|
427
|
-
return typeof n == "string" && _.setTitle("vertical", n),
|
426
|
+
var y, p = i.Element, a = i.Children, n = i.children, r = i.styles, o = i.textSize, e = i.color, v = i.resolveColor, l = i.x, u = i.y, _ = i.dataHintsHandler;
|
427
|
+
return typeof n == "string" && _.setTitle("vertical", n), y = q(r), /* @__PURE__ */ b.createElement(p, y.cn("STitle", {
|
428
428
|
"aria-hidden": !0,
|
429
429
|
render: "text",
|
430
430
|
textAnchor: "middle",
|
@@ -433,8 +433,8 @@ var ya = function(i) {
|
|
433
433
|
fill: v(e),
|
434
434
|
x: l,
|
435
435
|
y: u
|
436
|
-
}), /* @__PURE__ */ b.createElement(a,
|
437
|
-
}, Pa = J(
|
436
|
+
}), /* @__PURE__ */ b.createElement(a, y.cn("Children", {})));
|
437
|
+
}, Pa = J(N, {
|
438
438
|
Title: Sa,
|
439
439
|
Radian: fa
|
440
440
|
});
|