@ktnpm_devops/react-component 0.14.0 → 0.15.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/dist/charts/GroupedBarChartCard/GroupedBarChartCard.d.ts +7 -0
- package/dist/charts/GroupedBarChartCard/GroupedBarChartCard.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/GroupedBarChartCard.types.d.ts +38 -0
- package/dist/charts/GroupedBarChartCard/GroupedBarChartCard.types.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/buildGroupedBarOption.d.ts +69 -0
- package/dist/charts/GroupedBarChartCard/buildGroupedBarOption.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/buildGroupedBarOption.test.d.ts +2 -0
- package/dist/charts/GroupedBarChartCard/buildGroupedBarOption.test.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/defaultLabels.d.ts +5 -0
- package/dist/charts/GroupedBarChartCard/defaultLabels.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/index.d.ts +3 -0
- package/dist/charts/GroupedBarChartCard/index.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/pivotGroupedBars.d.ts +22 -0
- package/dist/charts/GroupedBarChartCard/pivotGroupedBars.d.ts.map +1 -0
- package/dist/charts/GroupedBarChartCard/pivotGroupedBars.test.d.ts +2 -0
- package/dist/charts/GroupedBarChartCard/pivotGroupedBars.test.d.ts.map +1 -0
- package/dist/constants.d.ts +28 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.cjs +29 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -27
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index100.cjs +8 -50
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +9 -51
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +2 -17
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +3 -18
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +2 -50
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +3 -51
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +64 -13
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +65 -14
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +19 -4
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +19 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +16 -10
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +17 -11
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +134 -34
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +133 -33
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +38 -50
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +38 -50
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +25 -28
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +25 -28
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +34 -19
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +35 -20
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index110.cjs +52 -16
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +52 -16
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +15 -6
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +16 -7
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +2 -17
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +3 -18
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +18 -33
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +19 -34
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +40 -116
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +39 -115
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +39 -42
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +38 -41
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +92 -30
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +91 -29
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +40 -1164
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +38 -1163
- package/dist/index117.js.map +1 -1
- package/dist/index118.cjs +102 -1562
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +101 -1562
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +45 -0
- package/dist/index119.cjs.map +1 -0
- package/dist/index119.js +45 -0
- package/dist/index119.js.map +1 -0
- package/dist/index12.cjs +2 -2
- package/dist/index12.js +2 -2
- package/dist/index120.cjs +87 -0
- package/dist/index120.cjs.map +1 -0
- package/dist/index120.js +87 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.cjs +27 -0
- package/dist/index121.cjs.map +1 -0
- package/dist/index121.js +27 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.cjs +1166 -0
- package/dist/index122.cjs.map +1 -0
- package/dist/index122.js +1167 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.cjs +1578 -0
- package/dist/index123.cjs.map +1 -0
- package/dist/index123.js +1579 -0
- package/dist/index123.js.map +1 -0
- package/dist/index13.cjs +2 -2
- package/dist/index13.js +2 -2
- package/dist/index14.cjs +2 -2
- package/dist/index14.js +2 -2
- package/dist/index15.cjs +2 -2
- package/dist/index15.js +2 -2
- package/dist/index16.cjs +3 -3
- package/dist/index16.js +3 -3
- package/dist/index17.cjs +2 -2
- package/dist/index17.js +2 -2
- package/dist/index18.cjs +2 -2
- package/dist/index18.js +2 -2
- package/dist/index19.cjs +2 -2
- package/dist/index19.js +2 -2
- package/dist/index20.cjs +2 -2
- package/dist/index20.js +2 -2
- package/dist/index21.cjs +2 -2
- package/dist/index21.js +2 -2
- package/dist/index22.cjs +3 -3
- package/dist/index22.js +3 -3
- package/dist/index23.cjs +3 -3
- package/dist/index23.js +3 -3
- package/dist/index24.cjs +3 -3
- package/dist/index24.js +3 -3
- package/dist/index25.cjs +2 -2
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +2 -2
- package/dist/index26.js +2 -2
- package/dist/index27.cjs +2 -2
- package/dist/index27.js +2 -2
- package/dist/index28.cjs +2 -2
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +3 -3
- package/dist/index29.js +3 -3
- package/dist/index30.cjs +8 -8
- package/dist/index30.js +8 -8
- package/dist/index31.cjs +84 -76
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +86 -78
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +75 -6
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +76 -7
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +7 -130
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +9 -132
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +127 -52
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +129 -54
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +49 -13
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +51 -15
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +20 -38
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +21 -39
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +36 -224
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +37 -225
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +220 -28
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +222 -30
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +30 -106
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +31 -107
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +100 -58
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +101 -59
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +66 -76
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +67 -77
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +76 -57
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +78 -59
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +56 -150
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +58 -152
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +128 -73
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +123 -68
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +94 -68
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +96 -70
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +71 -7
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +72 -8
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +8 -17
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +9 -18
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +15 -75
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +16 -76
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +68 -134
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +70 -136
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +137 -58
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +138 -59
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +61 -102
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +62 -103
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +102 -44
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +103 -45
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +47 -6
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +48 -7
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +6 -147
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +7 -148
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +146 -7
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +148 -9
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +6 -15
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +6 -15
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +14 -63
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +16 -65
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +67 -15
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +66 -14
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +15 -18
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +15 -18
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +7 -16
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +8 -17
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +5 -23
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +6 -24
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +17 -27
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +16 -26
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +1 -1
- package/dist/index65.cjs +141 -22
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +139 -20
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +17 -2
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +17 -2
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +46 -10
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +46 -10
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +53 -2
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +54 -3
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +33 -17
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +32 -16
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.cjs +19 -116
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +17 -114
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +34 -28
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +34 -28
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +30 -18
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +30 -18
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +13 -19
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +14 -20
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +11 -5
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +11 -5
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +17 -2
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +18 -3
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +4 -64
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +5 -65
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +37 -19
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +37 -19
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +28 -13
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +28 -13
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +16 -19
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +17 -20
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +20 -33
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +20 -33
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +63 -37
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +63 -37
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +6 -23
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +6 -23
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +40 -20
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +39 -19
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +35 -13
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +35 -13
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +43 -60
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +42 -59
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +24 -51
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +23 -50
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +20 -40
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +19 -39
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +14 -85
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +13 -84
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +60 -39
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +59 -38
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +24 -92
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +23 -91
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +13 -34
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +13 -34
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +49 -13
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +50 -14
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +24 -36
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +24 -36
- package/dist/index94.js.map +1 -1
- package/dist/index96.cjs +12 -36
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +12 -36
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +22 -16
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +22 -16
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +22 -134
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +21 -133
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +14 -38
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +15 -39
- package/dist/index99.js.map +1 -1
- package/dist/style.css +111 -0
- package/dist/types/chart.types.d.ts +14 -0
- package/dist/types/chart.types.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index77.cjs
CHANGED
|
@@ -1,72 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root
|
|
4
|
-
const
|
|
5
|
-
const gapXs = "krc-gapXs-Jketq";
|
|
6
|
-
const gapSm = "krc-gapSm-BFLhK";
|
|
7
|
-
const gapMd = "krc-gapMd--7IRg";
|
|
8
|
-
const gapLg = "krc-gapLg-ehuIZ";
|
|
9
|
-
const gapXl = "krc-gapXl-kNEyc";
|
|
10
|
-
const alignStart = "krc-alignStart-q6fMC";
|
|
11
|
-
const alignCenter = "krc-alignCenter-Py2Kt";
|
|
12
|
-
const alignEnd = "krc-alignEnd-ialGn";
|
|
13
|
-
const alignStretch = "krc-alignStretch-J-rq4";
|
|
14
|
-
const alignBaseline = "krc-alignBaseline-Hg-4L";
|
|
15
|
-
const justifyStart = "krc-justifyStart-tBqbD";
|
|
16
|
-
const justifyCenter = "krc-justifyCenter-6QDaO";
|
|
17
|
-
const justifyEnd = "krc-justifyEnd-2tbcB";
|
|
18
|
-
const justifyBetween = "krc-justifyBetween-5W1AJ";
|
|
19
|
-
const justifyAround = "krc-justifyAround-AMU1m";
|
|
20
|
-
const justifyEvenly = "krc-justifyEvenly-Vj3C-";
|
|
21
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
22
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
23
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
24
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
3
|
+
const root = "krc-root--zhUO";
|
|
4
|
+
const dot = "krc-dot-uJk1V";
|
|
25
5
|
const styles = {
|
|
26
6
|
root,
|
|
27
|
-
|
|
28
|
-
gapXs,
|
|
29
|
-
gapSm,
|
|
30
|
-
gapMd,
|
|
31
|
-
gapLg,
|
|
32
|
-
gapXl,
|
|
33
|
-
alignStart,
|
|
34
|
-
alignCenter,
|
|
35
|
-
alignEnd,
|
|
36
|
-
alignStretch,
|
|
37
|
-
alignBaseline,
|
|
38
|
-
justifyStart,
|
|
39
|
-
justifyCenter,
|
|
40
|
-
justifyEnd,
|
|
41
|
-
justifyBetween,
|
|
42
|
-
justifyAround,
|
|
43
|
-
justifyEvenly,
|
|
44
|
-
wrap,
|
|
45
|
-
nowrap,
|
|
46
|
-
dirRow,
|
|
47
|
-
dirColumn
|
|
7
|
+
dot
|
|
48
8
|
};
|
|
49
|
-
exports.alignBaseline = alignBaseline;
|
|
50
|
-
exports.alignCenter = alignCenter;
|
|
51
|
-
exports.alignEnd = alignEnd;
|
|
52
|
-
exports.alignStart = alignStart;
|
|
53
|
-
exports.alignStretch = alignStretch;
|
|
54
9
|
exports.default = styles;
|
|
55
|
-
exports.
|
|
56
|
-
exports.dirRow = dirRow;
|
|
57
|
-
exports.gapLg = gapLg;
|
|
58
|
-
exports.gapMd = gapMd;
|
|
59
|
-
exports.gapNone = gapNone;
|
|
60
|
-
exports.gapSm = gapSm;
|
|
61
|
-
exports.gapXl = gapXl;
|
|
62
|
-
exports.gapXs = gapXs;
|
|
63
|
-
exports.justifyAround = justifyAround;
|
|
64
|
-
exports.justifyBetween = justifyBetween;
|
|
65
|
-
exports.justifyCenter = justifyCenter;
|
|
66
|
-
exports.justifyEnd = justifyEnd;
|
|
67
|
-
exports.justifyEvenly = justifyEvenly;
|
|
68
|
-
exports.justifyStart = justifyStart;
|
|
69
|
-
exports.nowrap = nowrap;
|
|
10
|
+
exports.dot = dot;
|
|
70
11
|
exports.root = root;
|
|
71
|
-
exports.wrap = wrap;
|
|
72
12
|
//# sourceMappingURL=index77.cjs.map
|
package/dist/index77.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index77.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/index77.js
CHANGED
|
@@ -1,72 +1,12 @@
|
|
|
1
|
-
const root = "krc-root
|
|
2
|
-
const
|
|
3
|
-
const gapXs = "krc-gapXs-Jketq";
|
|
4
|
-
const gapSm = "krc-gapSm-BFLhK";
|
|
5
|
-
const gapMd = "krc-gapMd--7IRg";
|
|
6
|
-
const gapLg = "krc-gapLg-ehuIZ";
|
|
7
|
-
const gapXl = "krc-gapXl-kNEyc";
|
|
8
|
-
const alignStart = "krc-alignStart-q6fMC";
|
|
9
|
-
const alignCenter = "krc-alignCenter-Py2Kt";
|
|
10
|
-
const alignEnd = "krc-alignEnd-ialGn";
|
|
11
|
-
const alignStretch = "krc-alignStretch-J-rq4";
|
|
12
|
-
const alignBaseline = "krc-alignBaseline-Hg-4L";
|
|
13
|
-
const justifyStart = "krc-justifyStart-tBqbD";
|
|
14
|
-
const justifyCenter = "krc-justifyCenter-6QDaO";
|
|
15
|
-
const justifyEnd = "krc-justifyEnd-2tbcB";
|
|
16
|
-
const justifyBetween = "krc-justifyBetween-5W1AJ";
|
|
17
|
-
const justifyAround = "krc-justifyAround-AMU1m";
|
|
18
|
-
const justifyEvenly = "krc-justifyEvenly-Vj3C-";
|
|
19
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
20
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
21
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
22
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
1
|
+
const root = "krc-root--zhUO";
|
|
2
|
+
const dot = "krc-dot-uJk1V";
|
|
23
3
|
const styles = {
|
|
24
4
|
root,
|
|
25
|
-
|
|
26
|
-
gapXs,
|
|
27
|
-
gapSm,
|
|
28
|
-
gapMd,
|
|
29
|
-
gapLg,
|
|
30
|
-
gapXl,
|
|
31
|
-
alignStart,
|
|
32
|
-
alignCenter,
|
|
33
|
-
alignEnd,
|
|
34
|
-
alignStretch,
|
|
35
|
-
alignBaseline,
|
|
36
|
-
justifyStart,
|
|
37
|
-
justifyCenter,
|
|
38
|
-
justifyEnd,
|
|
39
|
-
justifyBetween,
|
|
40
|
-
justifyAround,
|
|
41
|
-
justifyEvenly,
|
|
42
|
-
wrap,
|
|
43
|
-
nowrap,
|
|
44
|
-
dirRow,
|
|
45
|
-
dirColumn
|
|
5
|
+
dot
|
|
46
6
|
};
|
|
47
7
|
export {
|
|
48
|
-
alignBaseline,
|
|
49
|
-
alignCenter,
|
|
50
|
-
alignEnd,
|
|
51
|
-
alignStart,
|
|
52
|
-
alignStretch,
|
|
53
8
|
styles as default,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
gapLg,
|
|
57
|
-
gapMd,
|
|
58
|
-
gapNone,
|
|
59
|
-
gapSm,
|
|
60
|
-
gapXl,
|
|
61
|
-
gapXs,
|
|
62
|
-
justifyAround,
|
|
63
|
-
justifyBetween,
|
|
64
|
-
justifyCenter,
|
|
65
|
-
justifyEnd,
|
|
66
|
-
justifyEvenly,
|
|
67
|
-
justifyStart,
|
|
68
|
-
nowrap,
|
|
69
|
-
root,
|
|
70
|
-
wrap
|
|
9
|
+
dot,
|
|
10
|
+
root
|
|
71
11
|
};
|
|
72
12
|
//# sourceMappingURL=index77.js.map
|
package/dist/index77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index77.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index78.cjs
CHANGED
|
@@ -1,27 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
3
|
+
const root = "krc-root-0iK-T";
|
|
4
|
+
const header = "krc-header-vLmNI";
|
|
5
|
+
const title = "krc-title-J9FSG";
|
|
6
|
+
const headerActions = "krc-headerActions-8Sd6i";
|
|
7
|
+
const toolbar = "krc-toolbar-65kLR";
|
|
8
|
+
const toolbarLabel = "krc-toolbarLabel-kmRLQ";
|
|
9
|
+
const toolbarSelect = "krc-toolbarSelect-t7OKN";
|
|
10
|
+
const chartContainer = "krc-chartContainer-1-iIe";
|
|
11
|
+
const loading = "krc-loading-MRlom";
|
|
12
|
+
const error = "krc-error-esslq";
|
|
13
|
+
const retryButton = "krc-retryButton-js385";
|
|
14
|
+
const empty = "krc-empty-qYFPa";
|
|
15
|
+
const warning = "krc-warning-ll4Hc";
|
|
10
16
|
const styles = {
|
|
11
17
|
root,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
header,
|
|
19
|
+
title,
|
|
20
|
+
headerActions,
|
|
21
|
+
toolbar,
|
|
22
|
+
toolbarLabel,
|
|
23
|
+
toolbarSelect,
|
|
24
|
+
chartContainer,
|
|
25
|
+
loading,
|
|
26
|
+
error,
|
|
27
|
+
retryButton,
|
|
28
|
+
empty,
|
|
29
|
+
warning
|
|
18
30
|
};
|
|
31
|
+
exports.chartContainer = chartContainer;
|
|
19
32
|
exports.default = styles;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
33
|
+
exports.empty = empty;
|
|
34
|
+
exports.error = error;
|
|
35
|
+
exports.header = header;
|
|
36
|
+
exports.headerActions = headerActions;
|
|
37
|
+
exports.loading = loading;
|
|
38
|
+
exports.retryButton = retryButton;
|
|
23
39
|
exports.root = root;
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
40
|
+
exports.title = title;
|
|
41
|
+
exports.toolbar = toolbar;
|
|
42
|
+
exports.toolbarLabel = toolbarLabel;
|
|
43
|
+
exports.toolbarSelect = toolbarSelect;
|
|
44
|
+
exports.warning = warning;
|
|
27
45
|
//# sourceMappingURL=index78.cjs.map
|
package/dist/index78.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index78.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index78.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index78.js
CHANGED
|
@@ -1,27 +1,45 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
1
|
+
const root = "krc-root-0iK-T";
|
|
2
|
+
const header = "krc-header-vLmNI";
|
|
3
|
+
const title = "krc-title-J9FSG";
|
|
4
|
+
const headerActions = "krc-headerActions-8Sd6i";
|
|
5
|
+
const toolbar = "krc-toolbar-65kLR";
|
|
6
|
+
const toolbarLabel = "krc-toolbarLabel-kmRLQ";
|
|
7
|
+
const toolbarSelect = "krc-toolbarSelect-t7OKN";
|
|
8
|
+
const chartContainer = "krc-chartContainer-1-iIe";
|
|
9
|
+
const loading = "krc-loading-MRlom";
|
|
10
|
+
const error = "krc-error-esslq";
|
|
11
|
+
const retryButton = "krc-retryButton-js385";
|
|
12
|
+
const empty = "krc-empty-qYFPa";
|
|
13
|
+
const warning = "krc-warning-ll4Hc";
|
|
8
14
|
const styles = {
|
|
9
15
|
root,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
header,
|
|
17
|
+
title,
|
|
18
|
+
headerActions,
|
|
19
|
+
toolbar,
|
|
20
|
+
toolbarLabel,
|
|
21
|
+
toolbarSelect,
|
|
22
|
+
chartContainer,
|
|
23
|
+
loading,
|
|
24
|
+
error,
|
|
25
|
+
retryButton,
|
|
26
|
+
empty,
|
|
27
|
+
warning
|
|
16
28
|
};
|
|
17
29
|
export {
|
|
30
|
+
chartContainer,
|
|
18
31
|
styles as default,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
32
|
+
empty,
|
|
33
|
+
error,
|
|
34
|
+
header,
|
|
35
|
+
headerActions,
|
|
36
|
+
loading,
|
|
37
|
+
retryButton,
|
|
22
38
|
root,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
title,
|
|
40
|
+
toolbar,
|
|
41
|
+
toolbarLabel,
|
|
42
|
+
toolbarSelect,
|
|
43
|
+
warning
|
|
26
44
|
};
|
|
27
45
|
//# sourceMappingURL=index78.js.map
|
package/dist/index78.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index78.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index78.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index79.cjs
CHANGED
|
@@ -1,21 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
3
|
+
const root = "krc-root-rUudF";
|
|
4
|
+
const header = "krc-header-zjbPA";
|
|
5
|
+
const title = "krc-title-ScYja";
|
|
6
|
+
const timeRangeGroup = "krc-timeRangeGroup-FP1TP";
|
|
7
|
+
const timeRangeButton = "krc-timeRangeButton-9XCxb";
|
|
8
|
+
const timeRangeButtonActive = "krc-timeRangeButtonActive-Y-KCh";
|
|
9
|
+
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
10
|
+
const loading = "krc-loading-EWhol";
|
|
11
|
+
const error = "krc-error-erDaP";
|
|
12
|
+
const empty = "krc-empty---cYi";
|
|
8
13
|
const styles = {
|
|
9
14
|
root,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
header,
|
|
16
|
+
title,
|
|
17
|
+
timeRangeGroup,
|
|
18
|
+
timeRangeButton,
|
|
19
|
+
timeRangeButtonActive,
|
|
20
|
+
chartContainer,
|
|
21
|
+
loading,
|
|
22
|
+
error,
|
|
23
|
+
empty
|
|
14
24
|
};
|
|
15
|
-
exports.
|
|
25
|
+
exports.chartContainer = chartContainer;
|
|
16
26
|
exports.default = styles;
|
|
17
|
-
exports.
|
|
27
|
+
exports.empty = empty;
|
|
28
|
+
exports.error = error;
|
|
29
|
+
exports.header = header;
|
|
30
|
+
exports.loading = loading;
|
|
18
31
|
exports.root = root;
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
32
|
+
exports.timeRangeButton = timeRangeButton;
|
|
33
|
+
exports.timeRangeButtonActive = timeRangeButtonActive;
|
|
34
|
+
exports.timeRangeGroup = timeRangeGroup;
|
|
35
|
+
exports.title = title;
|
|
21
36
|
//# sourceMappingURL=index79.cjs.map
|
package/dist/index79.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index79.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index79.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index79.js
CHANGED
|
@@ -1,21 +1,36 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
1
|
+
const root = "krc-root-rUudF";
|
|
2
|
+
const header = "krc-header-zjbPA";
|
|
3
|
+
const title = "krc-title-ScYja";
|
|
4
|
+
const timeRangeGroup = "krc-timeRangeGroup-FP1TP";
|
|
5
|
+
const timeRangeButton = "krc-timeRangeButton-9XCxb";
|
|
6
|
+
const timeRangeButtonActive = "krc-timeRangeButtonActive-Y-KCh";
|
|
7
|
+
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
8
|
+
const loading = "krc-loading-EWhol";
|
|
9
|
+
const error = "krc-error-erDaP";
|
|
10
|
+
const empty = "krc-empty---cYi";
|
|
6
11
|
const styles = {
|
|
7
12
|
root,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
header,
|
|
14
|
+
title,
|
|
15
|
+
timeRangeGroup,
|
|
16
|
+
timeRangeButton,
|
|
17
|
+
timeRangeButtonActive,
|
|
18
|
+
chartContainer,
|
|
19
|
+
loading,
|
|
20
|
+
error,
|
|
21
|
+
empty
|
|
12
22
|
};
|
|
13
23
|
export {
|
|
14
|
-
|
|
24
|
+
chartContainer,
|
|
15
25
|
styles as default,
|
|
16
|
-
|
|
26
|
+
empty,
|
|
27
|
+
error,
|
|
28
|
+
header,
|
|
29
|
+
loading,
|
|
17
30
|
root,
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
timeRangeButton,
|
|
32
|
+
timeRangeButtonActive,
|
|
33
|
+
timeRangeGroup,
|
|
34
|
+
title
|
|
20
35
|
};
|
|
21
36
|
//# sourceMappingURL=index79.js.map
|
package/dist/index79.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index79.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index79.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index80.cjs
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const badge = "krc-badge-D8UnW";
|
|
3
|
+
const root = "krc-root-jkFwM";
|
|
4
|
+
const sidebar = "krc-sidebar-g7vxQ";
|
|
5
|
+
const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
|
|
6
|
+
const main = "krc-main-B4HyG";
|
|
7
|
+
const content = "krc-content-72sFf";
|
|
8
|
+
const title = "krc-title-pe-1P";
|
|
10
9
|
const styles = {
|
|
11
10
|
root,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
badge
|
|
11
|
+
sidebar,
|
|
12
|
+
sidebarCollapsed,
|
|
13
|
+
main,
|
|
14
|
+
content,
|
|
15
|
+
title
|
|
18
16
|
};
|
|
19
|
-
exports.
|
|
20
|
-
exports.badge = badge;
|
|
21
|
-
exports.collapsed = collapsed;
|
|
17
|
+
exports.content = content;
|
|
22
18
|
exports.default = styles;
|
|
23
|
-
exports.
|
|
24
|
-
exports.icon = icon;
|
|
25
|
-
exports.label = label;
|
|
19
|
+
exports.main = main;
|
|
26
20
|
exports.root = root;
|
|
21
|
+
exports.sidebar = sidebar;
|
|
22
|
+
exports.sidebarCollapsed = sidebarCollapsed;
|
|
23
|
+
exports.title = title;
|
|
27
24
|
//# sourceMappingURL=index80.cjs.map
|
package/dist/index80.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index80.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index80.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index80.js
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const badge = "krc-badge-D8UnW";
|
|
1
|
+
const root = "krc-root-jkFwM";
|
|
2
|
+
const sidebar = "krc-sidebar-g7vxQ";
|
|
3
|
+
const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
|
|
4
|
+
const main = "krc-main-B4HyG";
|
|
5
|
+
const content = "krc-content-72sFf";
|
|
6
|
+
const title = "krc-title-pe-1P";
|
|
8
7
|
const styles = {
|
|
9
8
|
root,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
badge
|
|
9
|
+
sidebar,
|
|
10
|
+
sidebarCollapsed,
|
|
11
|
+
main,
|
|
12
|
+
content,
|
|
13
|
+
title
|
|
16
14
|
};
|
|
17
15
|
export {
|
|
18
|
-
|
|
19
|
-
badge,
|
|
20
|
-
collapsed,
|
|
16
|
+
content,
|
|
21
17
|
styles as default,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
main,
|
|
19
|
+
root,
|
|
20
|
+
sidebar,
|
|
21
|
+
sidebarCollapsed,
|
|
22
|
+
title
|
|
26
23
|
};
|
|
27
24
|
//# sourceMappingURL=index80.js.map
|
package/dist/index80.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index80.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index80.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/index81.cjs
CHANGED
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const latitudes = points.map((p) => p.point.latitude);
|
|
14
|
-
const longitudes = points.map((p) => p.point.longitude);
|
|
15
|
-
return [
|
|
16
|
-
[Math.min(...latitudes), Math.min(...longitudes)],
|
|
17
|
-
[Math.max(...latitudes), Math.max(...longitudes)]
|
|
18
|
-
];
|
|
19
|
-
};
|
|
20
|
-
const normalizePoints = (points, maxPoints) => {
|
|
21
|
-
const usable = [];
|
|
22
|
-
points.forEach((point, sourceIndex) => {
|
|
23
|
-
if (hasUsableCoordinates(point)) usable.push({ point, sourceIndex });
|
|
24
|
-
});
|
|
25
|
-
const drawn = usable.length > maxPoints ? sample(usable, maxPoints) : usable;
|
|
26
|
-
return {
|
|
27
|
-
drawn,
|
|
28
|
-
bounds: boundsOf(drawn),
|
|
29
|
-
info: {
|
|
30
|
-
total: points.length,
|
|
31
|
-
drawn: drawn.length,
|
|
32
|
-
skipped: points.length - usable.length,
|
|
33
|
-
dropped: usable.length - drawn.length
|
|
3
|
+
const merge = (a, b) => a == null ? b : b == null ? a : a + b;
|
|
4
|
+
const pivotGroupedBars = (data) => {
|
|
5
|
+
const categories = /* @__PURE__ */ new Set();
|
|
6
|
+
const cells = /* @__PURE__ */ new Map();
|
|
7
|
+
for (const { category, series: series2, value } of data) {
|
|
8
|
+
categories.add(category);
|
|
9
|
+
let row = cells.get(series2);
|
|
10
|
+
if (!row) {
|
|
11
|
+
row = /* @__PURE__ */ new Map();
|
|
12
|
+
cells.set(series2, row);
|
|
34
13
|
}
|
|
35
|
-
|
|
14
|
+
row.set(category, row.has(category) ? merge(row.get(category) ?? null, value) : value);
|
|
15
|
+
}
|
|
16
|
+
const categoryList = [...categories];
|
|
17
|
+
const series = [...cells.entries()].map(([name, row]) => ({
|
|
18
|
+
name,
|
|
19
|
+
values: categoryList.map((category) => row.get(category) ?? null)
|
|
20
|
+
}));
|
|
21
|
+
const hasValues = series.some((s) => s.values.some((v) => v != null));
|
|
22
|
+
return { categories: categoryList, series, hasValues };
|
|
36
23
|
};
|
|
37
|
-
exports.
|
|
24
|
+
exports.pivotGroupedBars = pivotGroupedBars;
|
|
38
25
|
//# sourceMappingURL=index81.cjs.map
|
package/dist/index81.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index81.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index81.cjs","sources":["../src/charts/GroupedBarChartCard/pivotGroupedBars.ts"],"sourcesContent":["import type { GroupedBarPoint } from '../../types/chart.types';\n\n/** One series with its values aligned to `categories`; `null` is a gap. */\nexport interface PivotedSeries {\n name: string;\n values: (number | null)[];\n}\n\n/** Category × series matrix of a grouped bar chart. */\nexport interface GroupedBarPivot {\n /** First-seen order. */\n categories: string[];\n /** First-seen order. */\n series: PivotedSeries[];\n /** Whether any value is non-null — false means there is nothing to draw. */\n hasValues: boolean;\n}\n\n/** `null` adds nothing: only nulls stay a gap. */\nconst merge = (a: number | null, b: number | null) => (a == null ? b : b == null ? a : a + b);\n\n/**\n * Pivot points into a category × series matrix, keeping first-appearance order,\n * summing repeated pairs and filling missing pairs with `null` — never `0`.\n */\nexport const pivotGroupedBars = (data: GroupedBarPoint[]): GroupedBarPivot => {\n const categories = new Set<string>();\n const cells = new Map<string, Map<string, number | null>>();\n\n for (const { category, series, value } of data) {\n categories.add(category);\n let row = cells.get(series);\n if (!row) {\n row = new Map();\n cells.set(series, row);\n }\n row.set(category, row.has(category) ? merge(row.get(category) ?? null, value) : value);\n }\n\n const categoryList = [...categories];\n const series = [...cells.entries()].map(([name, row]) => ({\n name,\n values: categoryList.map((category) => row.get(category) ?? null),\n }));\n const hasValues = series.some((s) => s.values.some((v) => v != null));\n\n return { categories: categoryList, series, hasValues };\n};\n"],"names":["series"],"mappings":";;AAmBA,MAAM,QAAQ,CAAC,GAAkB,MAAsB,KAAK,OAAO,IAAI,KAAK,OAAO,IAAI,IAAI;AAMpF,MAAM,mBAAmB,CAAC,SAA6C;AAC5E,QAAM,iCAAiB,IAAA;AACvB,QAAM,4BAAY,IAAA;AAElB,aAAW,EAAE,UAAU,QAAAA,SAAQ,MAAA,KAAW,MAAM;AAC9C,eAAW,IAAI,QAAQ;AACvB,QAAI,MAAM,MAAM,IAAIA,OAAM;AAC1B,QAAI,CAAC,KAAK;AACR,gCAAU,IAAA;AACV,YAAM,IAAIA,SAAQ,GAAG;AAAA,IACvB;AACA,QAAI,IAAI,UAAU,IAAI,IAAI,QAAQ,IAAI,MAAM,IAAI,IAAI,QAAQ,KAAK,MAAM,KAAK,IAAI,KAAK;AAAA,EACvF;AAEA,QAAM,eAAe,CAAC,GAAG,UAAU;AACnC,QAAM,SAAS,CAAC,GAAG,MAAM,QAAA,CAAS,EAAE,IAAI,CAAC,CAAC,MAAM,GAAG,OAAO;AAAA,IACxD;AAAA,IACA,QAAQ,aAAa,IAAI,CAAC,aAAa,IAAI,IAAI,QAAQ,KAAK,IAAI;AAAA,EAAA,EAChE;AACF,QAAM,YAAY,OAAO,KAAK,CAAC,MAAM,EAAE,OAAO,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;AAEpE,SAAO,EAAE,YAAY,cAAc,QAAQ,UAAA;AAC7C;;"}
|