@ktnpm_devops/react-component 0.17.0 → 0.18.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/composites/CustomRangePicker/CustomRangePicker.d.ts.map +1 -1
- package/dist/composites/DatePickerDropdown/DatePickerDropdown.d.ts.map +1 -1
- package/dist/composites/FilterDropdown/FilterDropdown.d.ts.map +1 -1
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts.map +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/hooks/usePanelPlacement.d.ts +24 -0
- package/dist/hooks/usePanelPlacement.d.ts.map +1 -0
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.cjs +33 -39
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +32 -38
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +22 -9
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +21 -8
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +34 -9
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +35 -10
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +43 -19
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +43 -19
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +24 -13
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +24 -13
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +38 -9
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +38 -9
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +9 -70
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +8 -69
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +10 -15
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +9 -14
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +18 -46
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +18 -46
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +13 -17
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +13 -17
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +10 -36
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +9 -35
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +62 -47
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +62 -47
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +49 -34
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +49 -34
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +13 -7
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +13 -7
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +2 -17
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +3 -18
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +48 -40
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +47 -39
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +18 -70
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +17 -69
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +31 -52
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +31 -52
- package/dist/index117.js.map +1 -1
- package/dist/index118.cjs +22 -15
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +21 -14
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +69 -21
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +68 -20
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +6 -16
- package/dist/index120.cjs.map +1 -1
- package/dist/index120.js +6 -16
- package/dist/index120.js.map +1 -1
- package/dist/index121.cjs +35 -2
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +36 -3
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +38 -14
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +38 -14
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.cjs +52 -13
- package/dist/index124.cjs.map +1 -1
- package/dist/index124.js +53 -14
- package/dist/index124.js.map +1 -1
- package/dist/index125.cjs +27 -54
- package/dist/index125.cjs.map +1 -1
- package/dist/index125.js +28 -55
- package/dist/index125.js.map +1 -1
- package/dist/index126.cjs +39 -21
- package/dist/index126.cjs.map +1 -1
- package/dist/index126.js +38 -20
- package/dist/index126.js.map +1 -1
- package/dist/index127.cjs +92 -33
- package/dist/index127.cjs.map +1 -1
- package/dist/index127.js +91 -32
- package/dist/index127.js.map +1 -1
- package/dist/index128.cjs +40 -1164
- package/dist/index128.cjs.map +1 -1
- package/dist/index128.js +38 -1163
- package/dist/index128.js.map +1 -1
- package/dist/index129.cjs +13 -1574
- package/dist/index129.cjs.map +1 -1
- package/dist/index129.js +12 -1574
- package/dist/index129.js.map +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.cjs +1161 -32
- package/dist/index130.cjs.map +1 -1
- package/dist/index130.js +1162 -32
- package/dist/index130.js.map +1 -1
- package/dist/index131.cjs +1578 -0
- package/dist/index131.cjs.map +1 -0
- package/dist/index131.js +1579 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.cjs +37 -0
- package/dist/index132.cjs.map +1 -0
- package/dist/index132.js +37 -0
- package/dist/index132.js.map +1 -0
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.cjs +2 -2
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +2 -2
- package/dist/index23.js +2 -2
- package/dist/index24.cjs +2 -2
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +49 -35
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +49 -35
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.cjs +83 -56
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +83 -56
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +51 -39
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +51 -39
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +11 -11
- package/dist/index30.js +11 -11
- package/dist/index31.cjs +4 -4
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +3 -3
- package/dist/index32.js +3 -3
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.js +2 -2
- package/dist/index35.cjs +2 -2
- package/dist/index35.js +2 -2
- package/dist/index36.cjs +2 -2
- package/dist/index36.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +138 -62
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +138 -62
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.cjs +2 -2
- package/dist/index41.js +2 -2
- package/dist/index42.cjs +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index44.cjs +2 -2
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +4 -4
- package/dist/index45.js +4 -4
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +2 -2
- package/dist/index49.js +2 -2
- package/dist/index50.cjs +86 -47
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +86 -47
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +3 -3
- package/dist/index52.js +3 -3
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +3 -3
- package/dist/index55.js +3 -3
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.cjs +16 -10
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +17 -11
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +15 -21
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +15 -21
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +145 -19
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +143 -17
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +23 -5
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +24 -6
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +19 -143
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +17 -141
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +2 -17
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +2 -17
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +10 -19
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +10 -19
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +20 -14
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +20 -14
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +5 -38
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +6 -39
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +13 -28
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +13 -28
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +16 -19
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +17 -20
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +19 -4
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +19 -4
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +25 -116
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +24 -115
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +10 -37
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +10 -37
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +2 -53
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +3 -54
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +24 -39
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +23 -38
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +45 -91
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +45 -91
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +28 -34
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +28 -34
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +15 -20
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +15 -20
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +6 -69
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +5 -68
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +6 -7
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +5 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +64 -34
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +64 -34
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +52 -134
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +51 -133
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +13 -40
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +14 -41
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +30 -3
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +30 -3
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +36 -36
- package/dist/index85.js +36 -36
- package/dist/index86.cjs +34 -28
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +34 -28
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +14 -2
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +14 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +16 -16
- package/dist/index88.js +16 -16
- package/dist/index89.cjs +16 -19
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +17 -20
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +10 -46
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +11 -47
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +116 -28
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +115 -27
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +37 -22
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +37 -22
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +35 -2
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +36 -3
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +16 -13
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +17 -14
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +80 -2
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +81 -3
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +4 -19
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +5 -20
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +130 -32
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +130 -32
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +45 -43
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +44 -42
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +24 -24
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +23 -23
- package/dist/index99.js.map +1 -1
- package/dist/style.css +42 -4
- package/dist/utils/clippingRect.d.ts +15 -0
- package/dist/utils/clippingRect.d.ts.map +1 -0
- package/dist/utils/clippingRect.test.d.ts +2 -0
- package/dist/utils/clippingRect.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index81.cjs
CHANGED
|
@@ -1,42 +1,72 @@
|
|
|
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
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
3
|
+
const root = "krc-root-HS837";
|
|
4
|
+
const gapNone = "krc-gapNone-MmCvp";
|
|
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";
|
|
15
25
|
const styles = {
|
|
16
26
|
root,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
gapNone,
|
|
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
|
|
28
48
|
};
|
|
29
|
-
exports.
|
|
49
|
+
exports.alignBaseline = alignBaseline;
|
|
50
|
+
exports.alignCenter = alignCenter;
|
|
51
|
+
exports.alignEnd = alignEnd;
|
|
52
|
+
exports.alignStart = alignStart;
|
|
53
|
+
exports.alignStretch = alignStretch;
|
|
30
54
|
exports.default = styles;
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
55
|
+
exports.dirColumn = dirColumn;
|
|
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;
|
|
38
70
|
exports.root = root;
|
|
39
|
-
exports.
|
|
40
|
-
exports.title = title;
|
|
41
|
-
exports.toolbar = toolbar;
|
|
71
|
+
exports.wrap = wrap;
|
|
42
72
|
//# sourceMappingURL=index81.cjs.map
|
package/dist/index81.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index81.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index81.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index81.js
CHANGED
|
@@ -1,42 +1,72 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
1
|
+
const root = "krc-root-HS837";
|
|
2
|
+
const gapNone = "krc-gapNone-MmCvp";
|
|
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";
|
|
13
23
|
const styles = {
|
|
14
24
|
root,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
gapNone,
|
|
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
|
|
26
46
|
};
|
|
27
47
|
export {
|
|
28
|
-
|
|
48
|
+
alignBaseline,
|
|
49
|
+
alignCenter,
|
|
50
|
+
alignEnd,
|
|
51
|
+
alignStart,
|
|
52
|
+
alignStretch,
|
|
29
53
|
styles as default,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
54
|
+
dirColumn,
|
|
55
|
+
dirRow,
|
|
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,
|
|
37
69
|
root,
|
|
38
|
-
|
|
39
|
-
title,
|
|
40
|
-
toolbar
|
|
70
|
+
wrap
|
|
41
71
|
};
|
|
42
72
|
//# sourceMappingURL=index81.js.map
|
package/dist/index81.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index82.cjs
CHANGED
|
@@ -1,136 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
sum += entry.subMap.get(sub) ?? 0;
|
|
55
|
-
}
|
|
56
|
-
return sum;
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
return { categories, series };
|
|
61
|
-
}
|
|
62
|
-
function buildBarOption(categories, series, invertAxis, hideLegend, enableScroll) {
|
|
63
|
-
const categoryAxis = { type: "category", data: categories };
|
|
64
|
-
const valueAxis = { type: "value" };
|
|
65
|
-
const dataZoom = enableScroll ? [{ type: "slider", show: true, ...invertAxis ? { yAxisIndex: 0 } : { xAxisIndex: 0 } }] : [];
|
|
66
|
-
return {
|
|
67
|
-
tooltip: { trigger: "axis", axisPointer: { type: "shadow" } },
|
|
68
|
-
legend: { show: !hideLegend, bottom: 0, type: "scroll" },
|
|
69
|
-
grid: { left: "3%", right: "4%", top: "3%", bottom: hideLegend ? "3%" : "12%", containLabel: true },
|
|
70
|
-
xAxis: invertAxis ? valueAxis : categoryAxis,
|
|
71
|
-
yAxis: invertAxis ? categoryAxis : valueAxis,
|
|
72
|
-
dataZoom,
|
|
73
|
-
series: series.map((s, i) => ({
|
|
74
|
-
name: s.name,
|
|
75
|
-
type: "bar",
|
|
76
|
-
stack: "total",
|
|
77
|
-
emphasis: { focus: "series" },
|
|
78
|
-
data: s.values,
|
|
79
|
-
itemStyle: { color: constants.CHART_COLORS[i % constants.CHART_COLORS.length] }
|
|
80
|
-
}))
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function buildPieOption(categories, series, hideLegend) {
|
|
84
|
-
const pieData = categories.map((cat, catIdx) => {
|
|
85
|
-
let total = 0;
|
|
86
|
-
for (const s of series) {
|
|
87
|
-
total += s.values[catIdx] ?? 0;
|
|
88
|
-
}
|
|
89
|
-
return { name: cat, value: total };
|
|
90
|
-
});
|
|
91
|
-
return {
|
|
92
|
-
tooltip: { trigger: "item" },
|
|
93
|
-
legend: { show: !hideLegend, bottom: 0, type: "scroll" },
|
|
94
|
-
series: [
|
|
95
|
-
{
|
|
96
|
-
type: "pie",
|
|
97
|
-
radius: ["30%", "65%"],
|
|
98
|
-
center: ["50%", "45%"],
|
|
99
|
-
data: pieData.map((d, i) => ({
|
|
100
|
-
...d,
|
|
101
|
-
itemStyle: { color: constants.CHART_COLORS[i % constants.CHART_COLORS.length] }
|
|
102
|
-
})),
|
|
103
|
-
emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0,0,0,0.3)" } },
|
|
104
|
-
label: { show: true, formatter: "{b}: {d}%" }
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function buildSunburstOption(categories, series) {
|
|
110
|
-
const sunburstData = categories.map((cat, catIdx) => {
|
|
111
|
-
const children = series.map((s, sIdx) => ({
|
|
112
|
-
name: s.name,
|
|
113
|
-
value: s.values[catIdx] ?? 0,
|
|
114
|
-
itemStyle: { color: constants.CHART_COLORS[(catIdx * series.length + sIdx) % constants.CHART_COLORS.length] }
|
|
115
|
-
})).filter((child) => child.value > 0);
|
|
116
|
-
return { name: cat, children };
|
|
117
|
-
});
|
|
118
|
-
return {
|
|
119
|
-
tooltip: { trigger: "item" },
|
|
120
|
-
series: [
|
|
121
|
-
{
|
|
122
|
-
type: "sunburst",
|
|
123
|
-
data: sunburstData,
|
|
124
|
-
radius: ["15%", "80%"],
|
|
125
|
-
label: { rotate: "radial", fontSize: 10 },
|
|
126
|
-
itemStyle: { borderRadius: 4, borderWidth: 1 },
|
|
127
|
-
emphasis: { focus: "ancestor" }
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
exports.aggregateData = aggregateData;
|
|
133
|
-
exports.buildBarOption = buildBarOption;
|
|
134
|
-
exports.buildPieOption = buildPieOption;
|
|
135
|
-
exports.buildSunburstOption = buildSunburstOption;
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-zHJLB";
|
|
4
|
+
const trigger = "krc-trigger-kRS4l";
|
|
5
|
+
const isOpen = "krc-isOpen-4fsg7";
|
|
6
|
+
const icon = "krc-icon-YS-DJ";
|
|
7
|
+
const arrow = "krc-arrow-wiq8b";
|
|
8
|
+
const pop = "krc-pop-boLzq";
|
|
9
|
+
const head = "krc-head-FDhHr";
|
|
10
|
+
const nav = "krc-nav-ZcR0Q";
|
|
11
|
+
const title = "krc-title-MqB3H";
|
|
12
|
+
const dows = "krc-dows-EshP3";
|
|
13
|
+
const grid = "krc-grid-xiUF-";
|
|
14
|
+
const day = "krc-day-2W9yq";
|
|
15
|
+
const empty = "krc-empty-Mf05c";
|
|
16
|
+
const off = "krc-off-tATo-";
|
|
17
|
+
const able = "krc-able-bD-du";
|
|
18
|
+
const selected = "krc-selected-Q1am3";
|
|
19
|
+
const styles = {
|
|
20
|
+
root,
|
|
21
|
+
trigger,
|
|
22
|
+
isOpen,
|
|
23
|
+
icon,
|
|
24
|
+
arrow,
|
|
25
|
+
pop,
|
|
26
|
+
head,
|
|
27
|
+
nav,
|
|
28
|
+
title,
|
|
29
|
+
dows,
|
|
30
|
+
grid,
|
|
31
|
+
day,
|
|
32
|
+
empty,
|
|
33
|
+
off,
|
|
34
|
+
able,
|
|
35
|
+
selected
|
|
36
|
+
};
|
|
37
|
+
exports.able = able;
|
|
38
|
+
exports.arrow = arrow;
|
|
39
|
+
exports.day = day;
|
|
40
|
+
exports.default = styles;
|
|
41
|
+
exports.dows = dows;
|
|
42
|
+
exports.empty = empty;
|
|
43
|
+
exports.grid = grid;
|
|
44
|
+
exports.head = head;
|
|
45
|
+
exports.icon = icon;
|
|
46
|
+
exports.isOpen = isOpen;
|
|
47
|
+
exports.nav = nav;
|
|
48
|
+
exports.off = off;
|
|
49
|
+
exports.pop = pop;
|
|
50
|
+
exports.root = root;
|
|
51
|
+
exports.selected = selected;
|
|
52
|
+
exports.title = title;
|
|
53
|
+
exports.trigger = trigger;
|
|
136
54
|
//# sourceMappingURL=index82.cjs.map
|
package/dist/index82.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index82.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index82.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index82.js
CHANGED
|
@@ -1,136 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
const sortedSubs = [...allSubCategories];
|
|
38
|
-
const limitedSubs = sortedSubs.slice(0, maxSubs);
|
|
39
|
-
const hasOverflowSubs = sortedSubs.length > maxSubs;
|
|
40
|
-
const categories = topCategories.map((entry) => entry.cat);
|
|
41
|
-
const series = limitedSubs.map((sub) => ({
|
|
42
|
-
name: sub,
|
|
43
|
-
values: topCategories.map((entry) => entry.subMap.get(sub) ?? 0)
|
|
44
|
-
}));
|
|
45
|
-
if (hasOverflowSubs && showOthers) {
|
|
46
|
-
const overflowSubs = sortedSubs.slice(maxSubs);
|
|
47
|
-
series.push({
|
|
48
|
-
name: "Other subcategories",
|
|
49
|
-
values: topCategories.map((entry) => {
|
|
50
|
-
let sum = 0;
|
|
51
|
-
for (const sub of overflowSubs) {
|
|
52
|
-
sum += entry.subMap.get(sub) ?? 0;
|
|
53
|
-
}
|
|
54
|
-
return sum;
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
return { categories, series };
|
|
59
|
-
}
|
|
60
|
-
function buildBarOption(categories, series, invertAxis, hideLegend, enableScroll) {
|
|
61
|
-
const categoryAxis = { type: "category", data: categories };
|
|
62
|
-
const valueAxis = { type: "value" };
|
|
63
|
-
const dataZoom = enableScroll ? [{ type: "slider", show: true, ...invertAxis ? { yAxisIndex: 0 } : { xAxisIndex: 0 } }] : [];
|
|
64
|
-
return {
|
|
65
|
-
tooltip: { trigger: "axis", axisPointer: { type: "shadow" } },
|
|
66
|
-
legend: { show: !hideLegend, bottom: 0, type: "scroll" },
|
|
67
|
-
grid: { left: "3%", right: "4%", top: "3%", bottom: hideLegend ? "3%" : "12%", containLabel: true },
|
|
68
|
-
xAxis: invertAxis ? valueAxis : categoryAxis,
|
|
69
|
-
yAxis: invertAxis ? categoryAxis : valueAxis,
|
|
70
|
-
dataZoom,
|
|
71
|
-
series: series.map((s, i) => ({
|
|
72
|
-
name: s.name,
|
|
73
|
-
type: "bar",
|
|
74
|
-
stack: "total",
|
|
75
|
-
emphasis: { focus: "series" },
|
|
76
|
-
data: s.values,
|
|
77
|
-
itemStyle: { color: CHART_COLORS[i % CHART_COLORS.length] }
|
|
78
|
-
}))
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function buildPieOption(categories, series, hideLegend) {
|
|
82
|
-
const pieData = categories.map((cat, catIdx) => {
|
|
83
|
-
let total = 0;
|
|
84
|
-
for (const s of series) {
|
|
85
|
-
total += s.values[catIdx] ?? 0;
|
|
86
|
-
}
|
|
87
|
-
return { name: cat, value: total };
|
|
88
|
-
});
|
|
89
|
-
return {
|
|
90
|
-
tooltip: { trigger: "item" },
|
|
91
|
-
legend: { show: !hideLegend, bottom: 0, type: "scroll" },
|
|
92
|
-
series: [
|
|
93
|
-
{
|
|
94
|
-
type: "pie",
|
|
95
|
-
radius: ["30%", "65%"],
|
|
96
|
-
center: ["50%", "45%"],
|
|
97
|
-
data: pieData.map((d, i) => ({
|
|
98
|
-
...d,
|
|
99
|
-
itemStyle: { color: CHART_COLORS[i % CHART_COLORS.length] }
|
|
100
|
-
})),
|
|
101
|
-
emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0,0,0,0.3)" } },
|
|
102
|
-
label: { show: true, formatter: "{b}: {d}%" }
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
function buildSunburstOption(categories, series) {
|
|
108
|
-
const sunburstData = categories.map((cat, catIdx) => {
|
|
109
|
-
const children = series.map((s, sIdx) => ({
|
|
110
|
-
name: s.name,
|
|
111
|
-
value: s.values[catIdx] ?? 0,
|
|
112
|
-
itemStyle: { color: CHART_COLORS[(catIdx * series.length + sIdx) % CHART_COLORS.length] }
|
|
113
|
-
})).filter((child) => child.value > 0);
|
|
114
|
-
return { name: cat, children };
|
|
115
|
-
});
|
|
116
|
-
return {
|
|
117
|
-
tooltip: { trigger: "item" },
|
|
118
|
-
series: [
|
|
119
|
-
{
|
|
120
|
-
type: "sunburst",
|
|
121
|
-
data: sunburstData,
|
|
122
|
-
radius: ["15%", "80%"],
|
|
123
|
-
label: { rotate: "radial", fontSize: 10 },
|
|
124
|
-
itemStyle: { borderRadius: 4, borderWidth: 1 },
|
|
125
|
-
emphasis: { focus: "ancestor" }
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
};
|
|
129
|
-
}
|
|
1
|
+
const root = "krc-root-zHJLB";
|
|
2
|
+
const trigger = "krc-trigger-kRS4l";
|
|
3
|
+
const isOpen = "krc-isOpen-4fsg7";
|
|
4
|
+
const icon = "krc-icon-YS-DJ";
|
|
5
|
+
const arrow = "krc-arrow-wiq8b";
|
|
6
|
+
const pop = "krc-pop-boLzq";
|
|
7
|
+
const head = "krc-head-FDhHr";
|
|
8
|
+
const nav = "krc-nav-ZcR0Q";
|
|
9
|
+
const title = "krc-title-MqB3H";
|
|
10
|
+
const dows = "krc-dows-EshP3";
|
|
11
|
+
const grid = "krc-grid-xiUF-";
|
|
12
|
+
const day = "krc-day-2W9yq";
|
|
13
|
+
const empty = "krc-empty-Mf05c";
|
|
14
|
+
const off = "krc-off-tATo-";
|
|
15
|
+
const able = "krc-able-bD-du";
|
|
16
|
+
const selected = "krc-selected-Q1am3";
|
|
17
|
+
const styles = {
|
|
18
|
+
root,
|
|
19
|
+
trigger,
|
|
20
|
+
isOpen,
|
|
21
|
+
icon,
|
|
22
|
+
arrow,
|
|
23
|
+
pop,
|
|
24
|
+
head,
|
|
25
|
+
nav,
|
|
26
|
+
title,
|
|
27
|
+
dows,
|
|
28
|
+
grid,
|
|
29
|
+
day,
|
|
30
|
+
empty,
|
|
31
|
+
off,
|
|
32
|
+
able,
|
|
33
|
+
selected
|
|
34
|
+
};
|
|
130
35
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
36
|
+
able,
|
|
37
|
+
arrow,
|
|
38
|
+
day,
|
|
39
|
+
styles as default,
|
|
40
|
+
dows,
|
|
41
|
+
empty,
|
|
42
|
+
grid,
|
|
43
|
+
head,
|
|
44
|
+
icon,
|
|
45
|
+
isOpen,
|
|
46
|
+
nav,
|
|
47
|
+
off,
|
|
48
|
+
pop,
|
|
49
|
+
root,
|
|
50
|
+
selected,
|
|
51
|
+
title,
|
|
52
|
+
trigger
|
|
135
53
|
};
|
|
136
54
|
//# sourceMappingURL=index82.js.map
|
package/dist/index82.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index82.js","sources":[
|
|
1
|
+
{"version":3,"file":"index82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|