@ktnpm_devops/react-component 0.5.0 → 0.7.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/MultiSelectDropdown/MultiSelectDropdown.d.ts +5 -1
- package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/constants.d.ts +7 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.cjs +18 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index12.cjs +2 -2
- package/dist/index12.js +2 -2
- 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 +3 -3
- package/dist/index15.js +3 -3
- package/dist/index16.cjs +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.cjs +2 -2
- package/dist/index17.js +2 -2
- package/dist/index18.cjs +3 -3
- package/dist/index18.js +3 -3
- package/dist/index19.cjs +3 -3
- package/dist/index19.js +3 -3
- package/dist/index20.cjs +3 -3
- package/dist/index20.js +3 -3
- 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 +2 -2
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +2 -2
- package/dist/index26.js +2 -2
- package/dist/index27.cjs +3 -3
- package/dist/index27.js +3 -3
- package/dist/index28.cjs +2 -2
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +12 -10
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +12 -10
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +2 -2
- package/dist/index30.js +2 -2
- package/dist/index31.cjs +106 -74
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +108 -76
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +76 -57
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +78 -59
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +56 -150
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +58 -152
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +147 -66
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +149 -68
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +71 -7
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +72 -8
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +8 -17
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +9 -18
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +15 -75
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +16 -76
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +68 -134
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +70 -136
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +137 -58
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +138 -59
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +61 -102
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +62 -103
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +102 -44
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +103 -45
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +47 -6
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +48 -7
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +6 -216
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +7 -217
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +215 -7
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +217 -9
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +6 -15
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +6 -15
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +15 -64
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +17 -66
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +67 -15
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +66 -14
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +15 -6
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +15 -6
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +2 -23
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +3 -24
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +24 -15
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +24 -15
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +6 -69
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +5 -68
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +5 -23
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +6 -24
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +19 -13
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +19 -13
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +76 -15
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +75 -14
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +16 -19
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +17 -20
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +20 -2
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +20 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +20 -2
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +21 -3
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +22 -34
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +22 -34
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +31 -13
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +32 -14
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -16
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -16
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +13 -16
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +13 -16
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +2 -11
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +2 -11
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +2 -14
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +2 -14
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +46 -16
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +46 -16
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +10 -49
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +10 -49
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +16 -25
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +17 -26
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +10 -46
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +11 -47
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +22 -31
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +23 -32
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +35 -2
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +36 -3
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +134 -25
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +133 -24
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +36 -15
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +37 -16
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +49 -4
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +50 -5
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +19 -31
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +20 -32
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +42 -18
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +42 -18
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +79 -64
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +79 -64
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +16 -19
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +17 -20
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +16 -134
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +15 -133
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +14 -41
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +14 -41
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +33 -75
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +33 -75
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +4 -52
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +5 -53
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +17 -29
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +17 -29
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +13 -25
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +14 -26
- package/dist/index82.js.map +1 -1
- package/dist/index84.cjs +13 -52
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +14 -53
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +17 -5
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +18 -6
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +25 -10
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +25 -10
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +60 -0
- package/dist/index87.cjs.map +1 -0
- package/dist/index87.js +60 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.cjs +45 -0
- package/dist/index88.cjs.map +1 -0
- package/dist/index88.js +45 -0
- package/dist/index88.js.map +1 -0
- package/dist/index9.cjs +2 -2
- package/dist/index9.js +2 -2
- package/dist/primitives/Pagination/Pagination.d.ts +4 -0
- package/dist/primitives/Pagination/Pagination.d.ts.map +1 -0
- package/dist/primitives/Pagination/Pagination.types.d.ts +21 -0
- package/dist/primitives/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/primitives/Pagination/index.d.ts +3 -0
- package/dist/primitives/Pagination/index.d.ts.map +1 -0
- package/dist/style.css +70 -1
- package/package.json +1 -1
package/dist/index75.js
CHANGED
|
@@ -1,72 +1,87 @@
|
|
|
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
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
1
|
+
const root = "krc-root-WYIsp";
|
|
2
|
+
const trigger = "krc-trigger-UedSS";
|
|
3
|
+
const active = "krc-active-cH8Tl";
|
|
4
|
+
const triggerContent = "krc-triggerContent-Kkhoi";
|
|
5
|
+
const chevron = "krc-chevron-NoNsI";
|
|
6
|
+
const label = "krc-label-RPlXR";
|
|
7
|
+
const valueGroup = "krc-valueGroup-xfNcx";
|
|
8
|
+
const value = "krc-value-aKdIW";
|
|
9
|
+
const badge = "krc-badge-yVq9o";
|
|
10
|
+
const clear = "krc-clear-11V9Q";
|
|
11
|
+
const panel = "krc-panel-xf2f8";
|
|
12
|
+
const header = "krc-header--VMR-";
|
|
13
|
+
const search = "krc-search-4gQgB";
|
|
14
|
+
const headerActions = "krc-headerActions-orxXD";
|
|
15
|
+
const chip = "krc-chip--n-9m";
|
|
16
|
+
const chipGhost = "krc-chipGhost-oayjh";
|
|
17
|
+
const list = "krc-list-NRoxf";
|
|
18
|
+
const status = "krc-status-j7xbM";
|
|
19
|
+
const statusError = "krc-statusError-u6rfB";
|
|
20
|
+
const option = "krc-option-ZAXum";
|
|
21
|
+
const optionLabel = "krc-optionLabel-MdDyI";
|
|
22
|
+
const optionCount = "krc-optionCount-JSQl9";
|
|
23
|
+
const create = "krc-create-hO8Cq";
|
|
24
|
+
const footer = "krc-footer-2yk6S";
|
|
25
|
+
const selection = "krc-selection-aYDH-";
|
|
26
|
+
const selectionDelta = "krc-selectionDelta-S1dV7";
|
|
27
|
+
const footerActions = "krc-footerActions-77iCX";
|
|
23
28
|
const styles = {
|
|
24
29
|
root,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
trigger,
|
|
31
|
+
active,
|
|
32
|
+
triggerContent,
|
|
33
|
+
chevron,
|
|
34
|
+
label,
|
|
35
|
+
valueGroup,
|
|
36
|
+
value,
|
|
37
|
+
badge,
|
|
38
|
+
clear,
|
|
39
|
+
panel,
|
|
40
|
+
header,
|
|
41
|
+
search,
|
|
42
|
+
headerActions,
|
|
43
|
+
chip,
|
|
44
|
+
chipGhost,
|
|
45
|
+
list,
|
|
46
|
+
status,
|
|
47
|
+
statusError,
|
|
48
|
+
option,
|
|
49
|
+
optionLabel,
|
|
50
|
+
optionCount,
|
|
51
|
+
create,
|
|
52
|
+
footer,
|
|
53
|
+
selection,
|
|
54
|
+
selectionDelta,
|
|
55
|
+
footerActions
|
|
46
56
|
};
|
|
47
57
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
active,
|
|
59
|
+
badge,
|
|
60
|
+
chevron,
|
|
61
|
+
chip,
|
|
62
|
+
chipGhost,
|
|
63
|
+
clear,
|
|
64
|
+
create,
|
|
53
65
|
styles as default,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
justifyCenter,
|
|
65
|
-
justifyEnd,
|
|
66
|
-
justifyEvenly,
|
|
67
|
-
justifyStart,
|
|
68
|
-
nowrap,
|
|
66
|
+
footer,
|
|
67
|
+
footerActions,
|
|
68
|
+
header,
|
|
69
|
+
headerActions,
|
|
70
|
+
label,
|
|
71
|
+
list,
|
|
72
|
+
option,
|
|
73
|
+
optionCount,
|
|
74
|
+
optionLabel,
|
|
75
|
+
panel,
|
|
69
76
|
root,
|
|
70
|
-
|
|
77
|
+
search,
|
|
78
|
+
selection,
|
|
79
|
+
selectionDelta,
|
|
80
|
+
status,
|
|
81
|
+
statusError,
|
|
82
|
+
trigger,
|
|
83
|
+
triggerContent,
|
|
84
|
+
value,
|
|
85
|
+
valueGroup
|
|
71
86
|
};
|
|
72
87
|
//# sourceMappingURL=index75.js.map
|
package/dist/index75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index75.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index75.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index76.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 body = "krc-body-pZ1Bk";
|
|
3
|
+
const root = "krc-root-pS02L";
|
|
4
|
+
const sidebar = "krc-sidebar-n1HeR";
|
|
5
|
+
const conversationList = "krc-conversationList-E8ODD";
|
|
6
|
+
const mainArea = "krc-mainArea-E0cNf";
|
|
7
|
+
const messages = "krc-messages-S9aU-";
|
|
8
|
+
const input = "krc-input-HAMJ3";
|
|
10
9
|
const styles = {
|
|
11
10
|
root,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
body
|
|
11
|
+
sidebar,
|
|
12
|
+
conversationList,
|
|
13
|
+
mainArea,
|
|
14
|
+
messages,
|
|
15
|
+
input
|
|
18
16
|
};
|
|
19
|
-
exports.
|
|
20
|
-
exports.chev = chev;
|
|
17
|
+
exports.conversationList = conversationList;
|
|
21
18
|
exports.default = styles;
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.item = item;
|
|
19
|
+
exports.input = input;
|
|
20
|
+
exports.mainArea = mainArea;
|
|
21
|
+
exports.messages = messages;
|
|
26
22
|
exports.root = root;
|
|
23
|
+
exports.sidebar = sidebar;
|
|
27
24
|
//# sourceMappingURL=index76.cjs.map
|
package/dist/index76.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index76.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index76.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index76.js
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const body = "krc-body-pZ1Bk";
|
|
1
|
+
const root = "krc-root-pS02L";
|
|
2
|
+
const sidebar = "krc-sidebar-n1HeR";
|
|
3
|
+
const conversationList = "krc-conversationList-E8ODD";
|
|
4
|
+
const mainArea = "krc-mainArea-E0cNf";
|
|
5
|
+
const messages = "krc-messages-S9aU-";
|
|
6
|
+
const input = "krc-input-HAMJ3";
|
|
8
7
|
const styles = {
|
|
9
8
|
root,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
body
|
|
9
|
+
sidebar,
|
|
10
|
+
conversationList,
|
|
11
|
+
mainArea,
|
|
12
|
+
messages,
|
|
13
|
+
input
|
|
16
14
|
};
|
|
17
15
|
export {
|
|
18
|
-
|
|
19
|
-
chev,
|
|
16
|
+
conversationList,
|
|
20
17
|
styles as default,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
input,
|
|
19
|
+
mainArea,
|
|
20
|
+
messages,
|
|
21
|
+
root,
|
|
22
|
+
sidebar
|
|
26
23
|
};
|
|
27
24
|
//# sourceMappingURL=index76.js.map
|
package/dist/index76.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index76.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index76.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/index77.cjs
CHANGED
|
@@ -1,136 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return { cat, subMap, total };
|
|
19
|
-
}).sort((a, b) => b.total - a.total);
|
|
20
|
-
const topCategories = sortedCategories.slice(0, maxCats);
|
|
21
|
-
const overflowCategories = sortedCategories.slice(maxCats);
|
|
22
|
-
if (showOthers && overflowCategories.length > 0) {
|
|
23
|
-
const othersMap = /* @__PURE__ */ new Map();
|
|
24
|
-
for (const { subMap } of overflowCategories) {
|
|
25
|
-
for (const [sub, val] of subMap) {
|
|
26
|
-
othersMap.set(sub, (othersMap.get(sub) ?? 0) + val);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
let othersTotal = 0;
|
|
30
|
-
for (const v of othersMap.values()) othersTotal += v;
|
|
31
|
-
topCategories.push({ cat: "Others", subMap: othersMap, total: othersTotal });
|
|
32
|
-
}
|
|
33
|
-
const allSubCategories = /* @__PURE__ */ new Set();
|
|
34
|
-
for (const { subMap } of topCategories) {
|
|
35
|
-
for (const sub of subMap.keys()) {
|
|
36
|
-
allSubCategories.add(sub);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
const sortedSubs = [...allSubCategories];
|
|
40
|
-
const limitedSubs = sortedSubs.slice(0, maxSubs);
|
|
41
|
-
const hasOverflowSubs = sortedSubs.length > maxSubs;
|
|
42
|
-
const categories = topCategories.map((entry) => entry.cat);
|
|
43
|
-
const series = limitedSubs.map((sub) => ({
|
|
44
|
-
name: sub,
|
|
45
|
-
values: topCategories.map((entry) => entry.subMap.get(sub) ?? 0)
|
|
46
|
-
}));
|
|
47
|
-
if (hasOverflowSubs && showOthers) {
|
|
48
|
-
const overflowSubs = sortedSubs.slice(maxSubs);
|
|
49
|
-
series.push({
|
|
50
|
-
name: "Other subcategories",
|
|
51
|
-
values: topCategories.map((entry) => {
|
|
52
|
-
let sum = 0;
|
|
53
|
-
for (const sub of overflowSubs) {
|
|
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-la9-1";
|
|
4
|
+
const logo = "krc-logo-b73UT";
|
|
5
|
+
const card = "krc-card-1ev-q";
|
|
6
|
+
const footer = "krc-footer-E0B15";
|
|
7
|
+
const styles = {
|
|
8
|
+
root,
|
|
9
|
+
logo,
|
|
10
|
+
card,
|
|
11
|
+
footer
|
|
12
|
+
};
|
|
13
|
+
exports.card = card;
|
|
14
|
+
exports.default = styles;
|
|
15
|
+
exports.footer = footer;
|
|
16
|
+
exports.logo = logo;
|
|
17
|
+
exports.root = root;
|
|
136
18
|
//# sourceMappingURL=index77.cjs.map
|
package/dist/index77.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index77.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/index77.js
CHANGED
|
@@ -1,136 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
subMap.set(sub, (subMap.get(sub) ?? 0) + point.value);
|
|
12
|
-
}
|
|
13
|
-
const sortedCategories = [...categoryMap.entries()].map(([cat, subMap]) => {
|
|
14
|
-
let total = 0;
|
|
15
|
-
for (const v of subMap.values()) total += v;
|
|
16
|
-
return { cat, subMap, total };
|
|
17
|
-
}).sort((a, b) => b.total - a.total);
|
|
18
|
-
const topCategories = sortedCategories.slice(0, maxCats);
|
|
19
|
-
const overflowCategories = sortedCategories.slice(maxCats);
|
|
20
|
-
if (showOthers && overflowCategories.length > 0) {
|
|
21
|
-
const othersMap = /* @__PURE__ */ new Map();
|
|
22
|
-
for (const { subMap } of overflowCategories) {
|
|
23
|
-
for (const [sub, val] of subMap) {
|
|
24
|
-
othersMap.set(sub, (othersMap.get(sub) ?? 0) + val);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
let othersTotal = 0;
|
|
28
|
-
for (const v of othersMap.values()) othersTotal += v;
|
|
29
|
-
topCategories.push({ cat: "Others", subMap: othersMap, total: othersTotal });
|
|
30
|
-
}
|
|
31
|
-
const allSubCategories = /* @__PURE__ */ new Set();
|
|
32
|
-
for (const { subMap } of topCategories) {
|
|
33
|
-
for (const sub of subMap.keys()) {
|
|
34
|
-
allSubCategories.add(sub);
|
|
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-la9-1";
|
|
2
|
+
const logo = "krc-logo-b73UT";
|
|
3
|
+
const card = "krc-card-1ev-q";
|
|
4
|
+
const footer = "krc-footer-E0B15";
|
|
5
|
+
const styles = {
|
|
6
|
+
root,
|
|
7
|
+
logo,
|
|
8
|
+
card,
|
|
9
|
+
footer
|
|
10
|
+
};
|
|
130
11
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
12
|
+
card,
|
|
13
|
+
styles as default,
|
|
14
|
+
footer,
|
|
15
|
+
logo,
|
|
16
|
+
root
|
|
135
17
|
};
|
|
136
18
|
//# sourceMappingURL=index77.js.map
|
package/dist/index77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.js","sources":[
|
|
1
|
+
{"version":3,"file":"index77.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|