intergalactic 15.128.0 → 15.129.0-prerelease.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/CHANGELOG.md +7 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +60 -60
- package/accordion/package.json +1 -1
- package/add-filter/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 +50 -50
- package/base-trigger/lib/esm/ButtonTrigger.mjs +20 -20
- package/base-trigger/lib/esm/FilterTrigger.mjs +79 -79
- package/base-trigger/lib/esm/LinkTrigger.mjs +44 -44
- 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 +41 -41
- package/breadcrumbs/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +171 -171
- package/bulk-textarea/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 +14 -14
- 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 +72 -72
- package/carousel/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 +70 -70
- package/color-picker/lib/esm/PaletteManager.mjs +53 -53
- package/color-picker/lib/esm/components/InputColor.mjs +64 -64
- package/color-picker/package.json +1 -1
- package/components.json +29 -29
- 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 +68 -68
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +154 -154
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +62 -62
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +78 -78
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +99 -99
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +129 -129
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +54 -54
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +17 -17
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +85 -85
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +25 -25
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +138 -138
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +65 -65
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +66 -66
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +62 -62
- 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 +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +20 -20
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +101 -101
- 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 +69 -69
- package/data-table/lib/esm/DataTable.mjs +253 -253
- 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 +151 -151
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +158 -158
- package/date-picker/lib/esm/components/InputTrigger.mjs +232 -232
- package/date-picker/lib/esm/components/PickerAbstract.mjs +89 -89
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +124 -124
- package/date-picker/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 +225 -225
- package/drag-and-drop/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 +143 -143
- package/dropdown-menu/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 +47 -47
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +51 -51
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +21 -21
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +41 -41
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +75 -75
- package/feedback-form/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 +44 -44
- package/fullscreen-modal/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 +33 -33
- 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/icon/platform/AIToolkit/index.d.ts +6 -0
- package/icon/platform/AIToolkit/index.js +36 -0
- package/icon/platform/AIToolkit/index.mjs +25 -0
- package/icon/platform/SEOToolkit/index.js +2 -2
- package/icon/platform/SEOToolkit/index.mjs +2 -2
- 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 +127 -127
- package/inline-input/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/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +73 -73
- 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 +123 -123
- 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 +49 -49
- package/notice-global/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 +13 -13
- package/pagination/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +35 -35
- package/select/lib/esm/Select.mjs +60 -60
- 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/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +184 -184
- package/tag/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +93 -93
- package/time-picker/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 +20 -20
- package/typography/lib/esm/Hint.mjs +19 -19
- package/typography/lib/esm/List.mjs +36 -36
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/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
@@ -2,12 +2,12 @@ import F from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import z from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import $ from "@babel/runtime/helpers/esm/classCallCheck";
|
4
4
|
import A from "@babel/runtime/helpers/esm/createClass";
|
5
|
-
import
|
5
|
+
import m from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
6
|
import I from "@babel/runtime/helpers/esm/inherits";
|
7
7
|
import W from "@babel/runtime/helpers/esm/createSuper";
|
8
|
-
import
|
8
|
+
import f from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as U } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import { sstyled as
|
10
|
+
import { sstyled as b, Component as j, assignProps as R } from 'intergalactic/core';
|
11
11
|
import u from "react";
|
12
12
|
import Y from 'intergalactic/utils/lib/uniqueID';
|
13
13
|
import X from "./createElement.mjs";
|
@@ -23,26 +23,26 @@ var te = (
|
|
23
23
|
/*__reshadow_css_start__*/
|
24
24
|
(U.insert(
|
25
25
|
/*__inner_css_start__*/
|
26
|
-
".
|
27
|
-
"
|
26
|
+
".___SBar_xbdpf_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_xbdpf);transition-timing-function:ease-in-out}.___SBar_xbdpf_gg_.__color_xbdpf_gg_{fill:var(--color_xbdpf)}.___SBar_xbdpf_gg_.__pattern_xbdpf_gg_.__color_xbdpf_gg_{fill:var(--pattern_xbdpf);stroke:var(--color_xbdpf);stroke-width:1px}.___SBar_xbdpf_gg_.__hide_xbdpf_gg_{display:none}.___SBar_xbdpf_gg_.__transparent_xbdpf_gg_{opacity:.3}.___SBackground_xbdpf_gg_.__onClick_xbdpf_gg_,.___SBar_xbdpf_gg_.__onClick_xbdpf_gg_{cursor:pointer}.___SBackground_xbdpf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_xbdpf_gg_{display:flex;justify-content:space-between}.___SBarLabel_xbdpf_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_xbdpf_gg_,.___SBarPercent_xbdpf_gg_,.___SBarValue_xbdpf_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_xbdpf_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_xbdpf_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_xbdpf_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
27
|
+
"xbdpf_gg_"
|
28
28
|
), {
|
29
|
-
__SBar: "
|
30
|
-
"--duration": "--
|
31
|
-
_color: "
|
32
|
-
"--color": "--
|
33
|
-
_pattern: "
|
34
|
-
"--pattern": "--
|
35
|
-
_hide: "
|
36
|
-
_transparent: "
|
37
|
-
_onClick: "
|
38
|
-
__SBackground: "
|
39
|
-
__SBarAnnotation: "
|
40
|
-
__SBarLabel: "
|
41
|
-
__SBarPercent: "
|
42
|
-
__SBarValue: "
|
43
|
-
__SCompactHorizontalBarHoverRect: "
|
29
|
+
__SBar: "___SBar_xbdpf_gg_",
|
30
|
+
"--duration": "--duration_xbdpf",
|
31
|
+
_color: "__color_xbdpf_gg_",
|
32
|
+
"--color": "--color_xbdpf",
|
33
|
+
_pattern: "__pattern_xbdpf_gg_",
|
34
|
+
"--pattern": "--pattern_xbdpf",
|
35
|
+
_hide: "__hide_xbdpf_gg_",
|
36
|
+
_transparent: "__transparent_xbdpf_gg_",
|
37
|
+
_onClick: "__onClick_xbdpf_gg_",
|
38
|
+
__SBackground: "___SBackground_xbdpf_gg_",
|
39
|
+
__SBarAnnotation: "___SBarAnnotation_xbdpf_gg_",
|
40
|
+
__SBarLabel: "___SBarLabel_xbdpf_gg_",
|
41
|
+
__SBarPercent: "___SBarPercent_xbdpf_gg_",
|
42
|
+
__SBarValue: "___SBarValue_xbdpf_gg_",
|
43
|
+
__SCompactHorizontalBarHoverRect: "___SCompactHorizontalBarHoverRect_xbdpf_gg_"
|
44
44
|
})
|
45
|
-
), re = 4,
|
45
|
+
), re = 4, x = 20, H = 6, C = /* @__PURE__ */ function(n) {
|
46
46
|
I(c, n);
|
47
47
|
var _ = W(c);
|
48
48
|
function c() {
|
@@ -50,7 +50,7 @@ var te = (
|
|
50
50
|
$(this, c);
|
51
51
|
for (var a = arguments.length, e = new Array(a), t = 0; t < a; t++)
|
52
52
|
e[t] = arguments[t];
|
53
|
-
return r = _.call.apply(_, [this].concat(e)),
|
53
|
+
return r = _.call.apply(_, [this].concat(e)), f(m(r), "percentFormatter", null), f(m(r), "percentFormatterLocale", null), f(m(r), "valueFormatter", null), f(m(r), "valueFormatterLocale", null), r;
|
54
54
|
}
|
55
55
|
return A(c, [{
|
56
56
|
key: "getBarProps",
|
@@ -67,28 +67,28 @@ var te = (
|
|
67
67
|
scale: s,
|
68
68
|
index: e,
|
69
69
|
x: o.x,
|
70
|
-
y: o.y + o.height -
|
71
|
-
height:
|
70
|
+
y: o.y + o.height - x - H,
|
71
|
+
height: x,
|
72
72
|
width: o.fullWidth
|
73
73
|
};
|
74
74
|
}
|
75
75
|
}, {
|
76
76
|
key: "getBarFillProps",
|
77
77
|
value: function(a, e) {
|
78
|
-
var t = this.asProps, l = t.data, s = t.uid, o = t.patterns,
|
78
|
+
var t = this.asProps, l = t.data, s = t.uid, o = t.patterns, h = t.color, d = t.transparent, p = t.hide, v = t.scale, g = this.computeBarData(l[e], e);
|
79
79
|
return {
|
80
|
-
x:
|
81
|
-
y:
|
82
|
-
height:
|
83
|
-
width:
|
80
|
+
x: g.x,
|
81
|
+
y: g.y + g.height - x - H,
|
82
|
+
height: x,
|
83
|
+
width: g.width,
|
84
84
|
i: e,
|
85
85
|
uid: s,
|
86
86
|
resolveColor: this.asProps.resolveColor,
|
87
87
|
patterns: o,
|
88
|
-
color:
|
89
|
-
transparent:
|
90
|
-
hide:
|
91
|
-
scale:
|
88
|
+
color: h,
|
89
|
+
transparent: d,
|
90
|
+
hide: p,
|
91
|
+
scale: v,
|
92
92
|
index: e
|
93
93
|
};
|
94
94
|
}
|
@@ -98,7 +98,7 @@ var te = (
|
|
98
98
|
var t = this.asProps, l = t.data, s = t.size, o = this.computeBarData(l[e], e);
|
99
99
|
return {
|
100
100
|
y: o.y,
|
101
|
-
height:
|
101
|
+
height: x * 2,
|
102
102
|
width: s[0],
|
103
103
|
index: e
|
104
104
|
};
|
@@ -127,20 +127,20 @@ var te = (
|
|
127
127
|
}, {
|
128
128
|
key: "getPercentProps",
|
129
129
|
value: function(a, e) {
|
130
|
-
var t = this.asProps, l = t.data, s = t.x, o = t.scale,
|
130
|
+
var t = this.asProps, l = t.data, s = t.x, o = t.scale, h = l[e][s], d = o[0].domain(), p = h / d[1], v = this.getPercentFormatter(), g = v.format(p);
|
131
131
|
return {
|
132
|
-
children:
|
133
|
-
formatted:
|
134
|
-
percent:
|
132
|
+
children: g,
|
133
|
+
formatted: g,
|
134
|
+
percent: p
|
135
135
|
};
|
136
136
|
}
|
137
137
|
}, {
|
138
138
|
key: "getValueProps",
|
139
139
|
value: function(a, e) {
|
140
|
-
var t = this.asProps, l = t.data, s = t.x, o = l[e][s],
|
140
|
+
var t = this.asProps, l = t.data, s = t.x, o = l[e][s], h = this.getValueFormatter(), d = h.format(o);
|
141
141
|
return {
|
142
|
-
children:
|
143
|
-
formatted:
|
142
|
+
children: d,
|
143
|
+
formatted: d,
|
144
144
|
value: o
|
145
145
|
};
|
146
146
|
}
|
@@ -167,22 +167,22 @@ var te = (
|
|
167
167
|
}, {
|
168
168
|
key: "computeBarData",
|
169
169
|
value: function(a) {
|
170
|
-
var e = this.asProps, t = e.x, l = e.y, s = e.scale, o = e.offset,
|
170
|
+
var e = this.asProps, t = e.x, l = e.y, s = e.scale, o = e.offset, h = e.wMin, d = e.height, p = e.maxBarSize, v = p === void 0 ? 1 / 0 : p, g = e.size, B = typeof o == "function" ? o(i) : o, S = z(s, 2), k = S[0], E = S[1], y = k(a[t]), M = d || J(E).bandwidth(), P = Math.min(M, v), O = y === 0 ? 0 : Math.max(y, h), K = E(a[l]) + M / 2 - P / 2 + B[1];
|
171
171
|
return {
|
172
172
|
x: 0,
|
173
173
|
y: K,
|
174
174
|
width: O,
|
175
|
-
fullWidth:
|
176
|
-
height:
|
175
|
+
fullWidth: g[0],
|
176
|
+
height: P
|
177
177
|
};
|
178
178
|
}
|
179
179
|
}, {
|
180
180
|
key: "renderBar",
|
181
181
|
value: function(a, e) {
|
182
|
-
var t, l = this.Element, s = this.asProps, o = s.styles,
|
183
|
-
return this.asProps.dataHintsHandler.describeValueEntity("".concat(e, ".").concat(
|
182
|
+
var t, l = this.Element, s = this.asProps, o = s.styles, h = s.groupKey, d = this.computeBarData(a, e), p = d.x, v = d.y;
|
183
|
+
return this.asProps.dataHintsHandler.describeValueEntity("".concat(e, ".").concat(p), h ?? a[v]), /* @__PURE__ */ u.createElement(u.Fragment, {
|
184
184
|
key: "horizontal-bar-".concat(e)
|
185
|
-
}, (t =
|
185
|
+
}, (t = b(o), /* @__PURE__ */ u.createElement(l, t.cn("SCompactHorizontalBarGroup", {
|
186
186
|
render: "g"
|
187
187
|
}))));
|
188
188
|
}
|
@@ -208,10 +208,10 @@ var te = (
|
|
208
208
|
}
|
209
209
|
}]), c;
|
210
210
|
}(j);
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
211
|
+
f(C, "displayName", "CompactHorizontalBar");
|
212
|
+
f(C, "enhance", [Y()]);
|
213
|
+
f(C, "style", te);
|
214
|
+
f(C, "defaultProps", {
|
215
215
|
offset: [0, 0],
|
216
216
|
duration: 500,
|
217
217
|
wMin: re,
|
@@ -220,9 +220,9 @@ p(b, "defaultProps", {
|
|
220
220
|
});
|
221
221
|
function ae(n) {
|
222
222
|
var _, c = n.Children, r = n.y, a = n.height, e = n.width, t = n.styles, l = "div";
|
223
|
-
return _ =
|
223
|
+
return _ = b(t), /* @__PURE__ */ u.createElement("foreignObject", _.cn("foreignObject", {
|
224
224
|
x: "0",
|
225
|
-
y: r -
|
225
|
+
y: r - x,
|
226
226
|
height: a,
|
227
227
|
width: e
|
228
228
|
}), /* @__PURE__ */ u.createElement(l, _.cn("SBarAnnotation", {}), /* @__PURE__ */ u.createElement(c, _.cn("Children", {}))));
|
@@ -230,19 +230,19 @@ function ae(n) {
|
|
230
230
|
var D = ["data", "scale", "value", "offset"];
|
231
231
|
function ne(n) {
|
232
232
|
var _ = arguments[0], c, r = L, a = n.styles, e = n.Children;
|
233
|
-
return c =
|
233
|
+
return c = b(a), /* @__PURE__ */ u.createElement(r, c.cn("SBarLabel", F({}, R({
|
234
234
|
__excludeProps: D
|
235
235
|
}, _))), /* @__PURE__ */ u.createElement(e, c.cn("Children", {})));
|
236
236
|
}
|
237
237
|
function oe(n) {
|
238
238
|
var _ = arguments[0], c, r = L, a = n.styles, e = n.Children;
|
239
|
-
return c =
|
239
|
+
return c = b(a), /* @__PURE__ */ u.createElement(r, c.cn("SBarPercent", F({}, R({
|
240
240
|
__excludeProps: D
|
241
241
|
}, _))), /* @__PURE__ */ u.createElement(e, c.cn("Children", {})));
|
242
242
|
}
|
243
243
|
function ie(n) {
|
244
244
|
var _ = arguments[0], c, r = L, a = n.styles, e = n.Children;
|
245
|
-
return c =
|
245
|
+
return c = b(a), /* @__PURE__ */ u.createElement(r, c.cn("SBarValue", F({}, R({
|
246
246
|
__excludeProps: D
|
247
247
|
}, _))), /* @__PURE__ */ u.createElement(e, c.cn("Children", {})));
|
248
248
|
}
|
@@ -262,49 +262,49 @@ function le(n) {
|
|
262
262
|
}, /* @__PURE__ */ u.createElement(_, null));
|
263
263
|
}
|
264
264
|
function se(n) {
|
265
|
-
var _, c = n.Element, r = n.styles, a = n.color, e = n.x, t = n.y, l = n.width, s = n.height, o = n.uid,
|
266
|
-
return E -
|
267
|
-
}, [e, t, s, l,
|
268
|
-
return /* @__PURE__ */ u.createElement(u.Fragment, null, (_ =
|
265
|
+
var _, c = n.Element, r = n.styles, a = n.color, e = n.x, t = n.y, l = n.width, s = n.height, o = n.uid, h = n.duration, d = n.resolveColor, p = n.patterns, v = n.i, g = n.scale, B = z(g, 1), S = B[0], k = S.range(), E = k[1] - k[0], y = 0, M = u.useMemo(function() {
|
266
|
+
return E - y > l ? w(e, t, l, s, y) : w(e, t, l, s, y, !1, !0, !1, !0);
|
267
|
+
}, [e, t, s, l, y]), P = u.useContext(T);
|
268
|
+
return /* @__PURE__ */ u.createElement(u.Fragment, null, (_ = b(r), /* @__PURE__ */ u.createElement(c, _.cn("SBar", {
|
269
269
|
"aria-hidden": !0,
|
270
270
|
render: "path",
|
271
271
|
d: M,
|
272
272
|
clipPath: "url(#".concat(o, ")"),
|
273
273
|
__excludeProps: ["data", "scale", "value", "offset"],
|
274
274
|
childrenPosition: "above",
|
275
|
-
index:
|
276
|
-
color:
|
277
|
-
pattern:
|
275
|
+
index: v,
|
276
|
+
color: d(a),
|
277
|
+
pattern: p ? "url(#".concat(o, "-").concat(v, "-pattern)") : void 0,
|
278
278
|
x: e,
|
279
279
|
y: t,
|
280
280
|
width: l,
|
281
281
|
height: s,
|
282
|
-
"use:duration": "".concat(
|
283
|
-
onClick: N(n.onClick,
|
284
|
-
transparent:
|
285
|
-
hide:
|
286
|
-
}))),
|
287
|
-
id: "".concat(o, "-").concat(
|
282
|
+
"use:duration": "".concat(h, "ms"),
|
283
|
+
onClick: N(n.onClick, P.onClick),
|
284
|
+
transparent: P.transparent || n.transparent,
|
285
|
+
hide: P.hide || n.hide
|
286
|
+
}))), p && /* @__PURE__ */ u.createElement(Z, _.cn("PatternFill", {
|
287
|
+
id: "".concat(o, "-").concat(v, "-pattern"),
|
288
288
|
patternKey: a,
|
289
|
-
color:
|
290
|
-
patterns:
|
289
|
+
color: d(a),
|
290
|
+
patterns: p
|
291
291
|
})));
|
292
292
|
}
|
293
293
|
function ce(n) {
|
294
|
-
var _, c = n.Element, r = n.styles, a = n.scale, e = n.y, t = n.x, l = n.height, s = z(a, 1), o = s[0],
|
295
|
-
return w(t, e,
|
296
|
-
}, [t, e, l,
|
297
|
-
return _ =
|
294
|
+
var _, c = n.Element, r = n.styles, a = n.scale, e = n.y, t = n.x, l = n.height, s = z(a, 1), o = s[0], h = o.range(), d = h[1] - h[0], p = 0, v = u.useMemo(function() {
|
295
|
+
return w(t, e, d, l, p, !1, !0, !1, !0);
|
296
|
+
}, [t, e, l, d, p]), g = u.useContext(T);
|
297
|
+
return _ = b(r), /* @__PURE__ */ u.createElement(c, _.cn("SBackground", {
|
298
298
|
"aria-hidden": !0,
|
299
299
|
render: "path",
|
300
|
-
d:
|
300
|
+
d: v,
|
301
301
|
childrenPosition: "above",
|
302
|
-
width:
|
302
|
+
width: h[1] - h[0],
|
303
303
|
height: l,
|
304
304
|
x: t,
|
305
305
|
y: e,
|
306
|
-
transparent:
|
307
|
-
onClick: N(n.onClick,
|
306
|
+
transparent: g.transparent,
|
307
|
+
onClick: N(n.onClick, g.onClick)
|
308
308
|
}));
|
309
309
|
}
|
310
310
|
var ue = /* @__PURE__ */ function(n) {
|
@@ -315,19 +315,19 @@ var ue = /* @__PURE__ */ function(n) {
|
|
315
315
|
$(this, c);
|
316
316
|
for (var a = arguments.length, e = new Array(a), t = 0; t < a; t++)
|
317
317
|
e[t] = arguments[t];
|
318
|
-
return r = _.call.apply(_, [this].concat(e)),
|
318
|
+
return r = _.call.apply(_, [this].concat(e)), f(m(r), "state", {
|
319
319
|
index: null
|
320
|
-
}),
|
321
|
-
var s = r.asProps, o = s.eventEmitter,
|
320
|
+
}), f(m(r), "virtualElement", ee() ? document.createElement("div") : {}), f(m(r), "unsubscribeMouseMoveRoot", null), f(m(r), "unsubscribeMouseLeaveRoot", null), f(m(r), "handlerMouseMoveRoot", V(function(l) {
|
321
|
+
var s = r.asProps, o = s.eventEmitter, h = s.rootRef, d = s.patterns, p = Q(l, h.current), v = l.clientX, g = l.clientY, B = r.getIndex(p);
|
322
322
|
r.setState({
|
323
|
-
index:
|
323
|
+
index: B
|
324
324
|
}, function() {
|
325
|
-
o.emit("setTooltipPosition",
|
326
|
-
index:
|
327
|
-
patterns:
|
328
|
-
}), o.emit("setTooltipVisible",
|
325
|
+
o.emit("setTooltipPosition", v, g), o.emit("setTooltipRenderingProps", {}, {
|
326
|
+
index: B,
|
327
|
+
patterns: d
|
328
|
+
}), o.emit("setTooltipVisible", B !== null);
|
329
329
|
});
|
330
|
-
})),
|
330
|
+
})), f(m(r), "handlerMouseLeaveRoot", V(function() {
|
331
331
|
r.setState({
|
332
332
|
index: null
|
333
333
|
}, function() {
|
@@ -378,15 +378,15 @@ var ue = /* @__PURE__ */ function(n) {
|
|
378
378
|
value: function() {
|
379
379
|
var a, e = this.asProps, t = e.styles, l = e.getBarData, s = e.render;
|
380
380
|
if (!s) return null;
|
381
|
-
var o = this.state.index,
|
381
|
+
var o = this.state.index, h = this.Element;
|
382
382
|
if (o === null) return null;
|
383
|
-
var
|
384
|
-
return a =
|
383
|
+
var d = l(o);
|
384
|
+
return a = b(t), /* @__PURE__ */ u.createElement(h, a.cn("SCompactHorizontalBarHoverRect", {
|
385
385
|
render: "rect",
|
386
|
-
x:
|
387
|
-
y:
|
388
|
-
width:
|
389
|
-
height:
|
386
|
+
x: d.x,
|
387
|
+
y: d.y + d.height - x - H * 2,
|
388
|
+
width: d.fullWidth,
|
389
|
+
height: x + H * 2
|
390
390
|
}));
|
391
391
|
}
|
392
392
|
}]), c;
|
@@ -394,11 +394,11 @@ var ue = /* @__PURE__ */ function(n) {
|
|
394
394
|
var c = arguments[0], r;
|
395
395
|
if (!_.render) return null;
|
396
396
|
var a = G;
|
397
|
-
return r =
|
398
|
-
tag:
|
397
|
+
return r = b(_.styles), /* @__PURE__ */ u.createElement(a, r.cn("SCompactHorizontalBarRadarTooltip", F({}, R({
|
398
|
+
tag: de.Hover,
|
399
399
|
excludeAnchorProps: !0
|
400
400
|
}, c))));
|
401
|
-
},
|
401
|
+
}, de = X(C, {
|
402
402
|
Annotation: ae,
|
403
403
|
Label: ne,
|
404
404
|
Percent: oe,
|
@@ -412,5 +412,5 @@ var ue = /* @__PURE__ */ function(n) {
|
|
412
412
|
});
|
413
413
|
export {
|
414
414
|
re as MIN_WIDTH,
|
415
|
-
|
415
|
+
de as default
|
416
416
|
};
|