@ktnpm_devops/react-component 0.2.1 → 0.4.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/index.cjs +38 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -33
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +15 -4
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +15 -4
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +4 -16
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +4 -16
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +16 -10
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +16 -10
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +10 -100
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +11 -101
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +100 -20
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +101 -21
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +20 -90
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +21 -91
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +40 -155
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +42 -157
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +86 -132
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +88 -134
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +150 -113
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +151 -114
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +136 -17
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +136 -17
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +120 -7
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +122 -9
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +16 -130
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +16 -130
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +8 -38
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +9 -39
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +118 -211
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +119 -212
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +38 -34
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +39 -35
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +211 -65
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +211 -65
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +29 -148
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +31 -150
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +77 -7
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +79 -9
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +59 -17
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +60 -18
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +146 -70
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +148 -72
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +76 -16
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +76 -16
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +7 -142
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +9 -144
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +15 -103
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +14 -102
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +77 -6
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +78 -7
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +133 -206
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +134 -207
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +104 -7
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +106 -9
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +8 -16
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +7 -15
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +218 -7
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +217 -6
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +10 -7
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +9 -6
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +15 -6
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +15 -6
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +9 -15
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +10 -16
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +12 -8
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +12 -8
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +24 -67
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +23 -66
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +10 -37
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +10 -37
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +2 -17
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +3 -18
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +2 -11
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +2 -11
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +22 -16
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +22 -16
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +16 -134
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +15 -133
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +15 -39
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +16 -40
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +16 -28
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +16 -28
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +67 -57
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +66 -56
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +77 -26
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +77 -26
- package/dist/index49.js.map +1 -1
- package/dist/index5.cjs +9 -16
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +10 -17
- package/dist/index5.js.map +1 -1
- package/dist/index51.cjs +30 -21
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +30 -21
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +13 -13
- package/dist/index52.js +14 -14
- package/dist/index54.cjs +1 -4
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +1 -4
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +5 -14
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +5 -14
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +37 -10
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +37 -10
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +2 -11
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +2 -11
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +13 -19
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +13 -19
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +27 -54
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +28 -55
- package/dist/index59.js.map +1 -1
- package/dist/index6.cjs +19 -65
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +19 -65
- package/dist/index6.js.map +1 -1
- package/dist/index60.cjs +64 -22
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -22
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +15 -48
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +16 -49
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +16 -13
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +17 -14
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +27 -48
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +27 -48
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -37
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +14 -38
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +45 -0
- package/dist/index65.cjs.map +1 -0
- package/dist/index65.js +45 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.cjs +136 -0
- package/dist/index66.cjs.map +1 -0
- package/dist/index66.js +136 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.cjs +48 -0
- package/dist/index67.cjs.map +1 -0
- package/dist/index67.js +48 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.cjs +60 -0
- package/dist/index68.cjs.map +1 -0
- package/dist/index68.js +60 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.cjs +57 -0
- package/dist/index69.cjs.map +1 -0
- package/dist/index69.js +57 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.cjs +58 -75
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +58 -75
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +82 -15
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +82 -15
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +14 -15
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +15 -16
- package/dist/index9.js.map +1 -1
- package/dist/primitives/Col/Col.d.ts +4 -0
- package/dist/primitives/Col/Col.d.ts.map +1 -0
- package/dist/primitives/Col/Col.types.d.ts +13 -0
- package/dist/primitives/Col/Col.types.d.ts.map +1 -0
- package/dist/primitives/Col/index.d.ts +3 -0
- package/dist/primitives/Col/index.d.ts.map +1 -0
- package/dist/primitives/Row/Row.d.ts +4 -0
- package/dist/primitives/Row/Row.d.ts.map +1 -0
- package/dist/primitives/Row/Row.types.d.ts +16 -0
- package/dist/primitives/Row/Row.types.d.ts.map +1 -0
- package/dist/primitives/Row/index.d.ts +3 -0
- package/dist/primitives/Row/index.d.ts.map +1 -0
- package/dist/style.css +312 -0
- package/dist/tokens/semantic-tokens.css +21 -0
- package/dist/tokens/tokens.d.ts +35 -0
- package/dist/tokens/tokens.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/index2.cjs +0 -44
- package/dist/index2.cjs.map +0 -1
- package/dist/index2.js +0 -44
- package/dist/index2.js.map +0 -1
package/dist/index45.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=index45.js.map
|
package/dist/index45.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index45.js","sources":[
|
|
1
|
+
{"version":3,"file":"index45.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index46.cjs
CHANGED
|
@@ -1,48 +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 toolbar = "krc-toolbar-h6ALf";
|
|
10
|
-
const chartTypeToggle = "krc-chartTypeToggle-6DRWb";
|
|
11
|
-
const active = "krc-active-Un9q0";
|
|
12
|
-
const chartContainer = "krc-chartContainer-2Oz2N";
|
|
13
|
-
const loading = "krc-loading-hTkxl";
|
|
14
|
-
const error = "krc-error--F7yO";
|
|
15
|
-
const retryButton = "krc-retryButton-w0SS7";
|
|
16
|
-
const empty = "krc-empty-HWTS-";
|
|
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";
|
|
17
9
|
const styles = {
|
|
18
10
|
root,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
toolbar,
|
|
25
|
-
chartTypeToggle,
|
|
26
|
-
active,
|
|
27
|
-
chartContainer,
|
|
28
|
-
loading,
|
|
29
|
-
error,
|
|
30
|
-
retryButton,
|
|
31
|
-
empty
|
|
11
|
+
sidebar,
|
|
12
|
+
sidebarCollapsed,
|
|
13
|
+
main,
|
|
14
|
+
content,
|
|
15
|
+
title
|
|
32
16
|
};
|
|
33
|
-
exports.
|
|
34
|
-
exports.chartContainer = chartContainer;
|
|
35
|
-
exports.chartTypeToggle = chartTypeToggle;
|
|
17
|
+
exports.content = content;
|
|
36
18
|
exports.default = styles;
|
|
37
|
-
exports.
|
|
38
|
-
exports.error = error;
|
|
39
|
-
exports.header = header;
|
|
40
|
-
exports.headerLeft = headerLeft;
|
|
41
|
-
exports.headerRight = headerRight;
|
|
42
|
-
exports.loading = loading;
|
|
43
|
-
exports.retryButton = retryButton;
|
|
19
|
+
exports.main = main;
|
|
44
20
|
exports.root = root;
|
|
45
|
-
exports.
|
|
21
|
+
exports.sidebar = sidebar;
|
|
22
|
+
exports.sidebarCollapsed = sidebarCollapsed;
|
|
46
23
|
exports.title = title;
|
|
47
|
-
exports.toolbar = toolbar;
|
|
48
24
|
//# sourceMappingURL=index46.cjs.map
|
package/dist/index46.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index46.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index46.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index46.js
CHANGED
|
@@ -1,48 +1,24 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const toolbar = "krc-toolbar-h6ALf";
|
|
8
|
-
const chartTypeToggle = "krc-chartTypeToggle-6DRWb";
|
|
9
|
-
const active = "krc-active-Un9q0";
|
|
10
|
-
const chartContainer = "krc-chartContainer-2Oz2N";
|
|
11
|
-
const loading = "krc-loading-hTkxl";
|
|
12
|
-
const error = "krc-error--F7yO";
|
|
13
|
-
const retryButton = "krc-retryButton-w0SS7";
|
|
14
|
-
const empty = "krc-empty-HWTS-";
|
|
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";
|
|
15
7
|
const styles = {
|
|
16
8
|
root,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
toolbar,
|
|
23
|
-
chartTypeToggle,
|
|
24
|
-
active,
|
|
25
|
-
chartContainer,
|
|
26
|
-
loading,
|
|
27
|
-
error,
|
|
28
|
-
retryButton,
|
|
29
|
-
empty
|
|
9
|
+
sidebar,
|
|
10
|
+
sidebarCollapsed,
|
|
11
|
+
main,
|
|
12
|
+
content,
|
|
13
|
+
title
|
|
30
14
|
};
|
|
31
15
|
export {
|
|
32
|
-
|
|
33
|
-
chartContainer,
|
|
34
|
-
chartTypeToggle,
|
|
16
|
+
content,
|
|
35
17
|
styles as default,
|
|
36
|
-
|
|
37
|
-
error,
|
|
38
|
-
header,
|
|
39
|
-
headerLeft,
|
|
40
|
-
headerRight,
|
|
41
|
-
loading,
|
|
42
|
-
retryButton,
|
|
18
|
+
main,
|
|
43
19
|
root,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
20
|
+
sidebar,
|
|
21
|
+
sidebarCollapsed,
|
|
22
|
+
title
|
|
47
23
|
};
|
|
48
24
|
//# sourceMappingURL=index46.js.map
|
package/dist/index46.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/index47.cjs
CHANGED
|
@@ -1,36 +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 chartContainer = "krc-chartContainer-6rb4Z";
|
|
10
|
-
const loading = "krc-loading-EWhol";
|
|
11
|
-
const error = "krc-error-erDaP";
|
|
12
|
-
const empty = "krc-empty---cYi";
|
|
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";
|
|
13
9
|
const styles = {
|
|
14
10
|
root,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
chartContainer,
|
|
21
|
-
loading,
|
|
22
|
-
error,
|
|
23
|
-
empty
|
|
11
|
+
sidebar,
|
|
12
|
+
conversationList,
|
|
13
|
+
mainArea,
|
|
14
|
+
messages,
|
|
15
|
+
input
|
|
24
16
|
};
|
|
25
|
-
exports.
|
|
17
|
+
exports.conversationList = conversationList;
|
|
26
18
|
exports.default = styles;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.loading = loading;
|
|
19
|
+
exports.input = input;
|
|
20
|
+
exports.mainArea = mainArea;
|
|
21
|
+
exports.messages = messages;
|
|
31
22
|
exports.root = root;
|
|
32
|
-
exports.
|
|
33
|
-
exports.timeRangeButtonActive = timeRangeButtonActive;
|
|
34
|
-
exports.timeRangeGroup = timeRangeGroup;
|
|
35
|
-
exports.title = title;
|
|
23
|
+
exports.sidebar = sidebar;
|
|
36
24
|
//# sourceMappingURL=index47.cjs.map
|
package/dist/index47.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index47.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index47.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index47.js
CHANGED
|
@@ -1,36 +1,24 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
8
|
-
const loading = "krc-loading-EWhol";
|
|
9
|
-
const error = "krc-error-erDaP";
|
|
10
|
-
const empty = "krc-empty---cYi";
|
|
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";
|
|
11
7
|
const styles = {
|
|
12
8
|
root,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
chartContainer,
|
|
19
|
-
loading,
|
|
20
|
-
error,
|
|
21
|
-
empty
|
|
9
|
+
sidebar,
|
|
10
|
+
conversationList,
|
|
11
|
+
mainArea,
|
|
12
|
+
messages,
|
|
13
|
+
input
|
|
22
14
|
};
|
|
23
15
|
export {
|
|
24
|
-
|
|
16
|
+
conversationList,
|
|
25
17
|
styles as default,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
loading,
|
|
18
|
+
input,
|
|
19
|
+
mainArea,
|
|
20
|
+
messages,
|
|
30
21
|
root,
|
|
31
|
-
|
|
32
|
-
timeRangeButtonActive,
|
|
33
|
-
timeRangeGroup,
|
|
34
|
-
title
|
|
22
|
+
sidebar
|
|
35
23
|
};
|
|
36
24
|
//# sourceMappingURL=index47.js.map
|
package/dist/index47.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index47.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index47.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/index48.cjs
CHANGED
|
@@ -1,60 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const splitContainer = "krc-splitContainer-ovkIf";
|
|
8
|
-
const tablePanel = "krc-tablePanel-gbWQx";
|
|
9
|
-
const chartPanel = "krc-chartPanel-eBJ9W";
|
|
10
|
-
const table = "krc-table-40WZx";
|
|
11
|
-
const tableRow = "krc-tableRow-yQlEa";
|
|
12
|
-
const tableRowSelected = "krc-tableRowSelected-vIEfO";
|
|
13
|
-
const pagination = "krc-pagination-nyCxO";
|
|
14
|
-
const paginationButton = "krc-paginationButton-k-cQB";
|
|
15
|
-
const paginationInfo = "krc-paginationInfo-ouuPw";
|
|
16
|
-
const placeholder = "krc-placeholder-YDeIw";
|
|
17
|
-
const loading = "krc-loading-UoiCd";
|
|
18
|
-
const error = "krc-error-Subfi";
|
|
19
|
-
const retryButton = "krc-retryButton-k8HPu";
|
|
20
|
-
const empty = "krc-empty-OoPZo";
|
|
21
|
-
const styles = {
|
|
22
|
-
root,
|
|
23
|
-
header,
|
|
24
|
-
title,
|
|
25
|
-
headerActions,
|
|
26
|
-
splitContainer,
|
|
27
|
-
tablePanel,
|
|
28
|
-
chartPanel,
|
|
29
|
-
table,
|
|
30
|
-
tableRow,
|
|
31
|
-
tableRowSelected,
|
|
32
|
-
pagination,
|
|
33
|
-
paginationButton,
|
|
34
|
-
paginationInfo,
|
|
35
|
-
placeholder,
|
|
36
|
-
loading,
|
|
37
|
-
error,
|
|
38
|
-
retryButton,
|
|
39
|
-
empty
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const ICON_SIZE = {
|
|
4
|
+
SM: 14,
|
|
5
|
+
MD: 16,
|
|
6
|
+
LG: 18
|
|
40
7
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
8
|
+
const SVG_VIEWBOX = "0 0 24 24";
|
|
9
|
+
const SVG_STROKE_WIDTH = 2;
|
|
10
|
+
const KEYBOARD_STEP = 2;
|
|
11
|
+
const VIEWPORT_MARGIN = 32;
|
|
12
|
+
const CONTEXT_MENU_MARGIN = 10;
|
|
13
|
+
const CHART_MODAL = {
|
|
14
|
+
MIN_WIDTH: 960,
|
|
15
|
+
MIN_HEIGHT: 480,
|
|
16
|
+
MAX_WIDTH: 2400,
|
|
17
|
+
MAX_HEIGHT: 1300,
|
|
18
|
+
DEFAULT_WIDTH: 1500,
|
|
19
|
+
DEFAULT_HEIGHT: 820,
|
|
20
|
+
FALLBACK_WIDTH: 1400,
|
|
21
|
+
FALLBACK_HEIGHT: 800
|
|
22
|
+
};
|
|
23
|
+
const MAX_SANKEY_NODES = 150;
|
|
24
|
+
const MAX_SERIES = 20;
|
|
25
|
+
const MAX_CATEGORIES = 20;
|
|
26
|
+
const MAX_SUBCATEGORIES = 10;
|
|
27
|
+
const CHART_COLORS = [
|
|
28
|
+
"#FF6B5A",
|
|
29
|
+
"#5B8DEF",
|
|
30
|
+
"#4ECDC4",
|
|
31
|
+
"#F7B731",
|
|
32
|
+
"#A55EEA",
|
|
33
|
+
"#26DE81",
|
|
34
|
+
"#FC5C65",
|
|
35
|
+
"#45AAF2",
|
|
36
|
+
"#FD9644",
|
|
37
|
+
"#2BCBBA",
|
|
38
|
+
"#D1D8E0",
|
|
39
|
+
"#778CA3",
|
|
40
|
+
"#EB3B5A",
|
|
41
|
+
"#3867D6",
|
|
42
|
+
"#20BF6B",
|
|
43
|
+
"#F7B731",
|
|
44
|
+
"#8854D0",
|
|
45
|
+
"#0FB9B1",
|
|
46
|
+
"#FA8231",
|
|
47
|
+
"#4B6584"
|
|
48
|
+
];
|
|
49
|
+
const MIN_COLUMN_WIDTH = 40;
|
|
50
|
+
const SIDEBAR = {
|
|
51
|
+
WIDTH: 240,
|
|
52
|
+
COLLAPSED_WIDTH: 80
|
|
53
|
+
};
|
|
54
|
+
const COUNTERS_PAGE_SIZE = 100;
|
|
55
|
+
exports.CHART_COLORS = CHART_COLORS;
|
|
56
|
+
exports.CHART_MODAL = CHART_MODAL;
|
|
57
|
+
exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
|
|
58
|
+
exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
|
|
59
|
+
exports.ICON_SIZE = ICON_SIZE;
|
|
60
|
+
exports.KEYBOARD_STEP = KEYBOARD_STEP;
|
|
61
|
+
exports.MAX_CATEGORIES = MAX_CATEGORIES;
|
|
62
|
+
exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
|
|
63
|
+
exports.MAX_SERIES = MAX_SERIES;
|
|
64
|
+
exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
|
|
65
|
+
exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
|
|
66
|
+
exports.SIDEBAR = SIDEBAR;
|
|
67
|
+
exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
|
|
68
|
+
exports.SVG_VIEWBOX = SVG_VIEWBOX;
|
|
69
|
+
exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
|
|
60
70
|
//# sourceMappingURL=index48.cjs.map
|
package/dist/index48.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index48.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index48.cjs","sources":["../src/constants.ts"],"sourcesContent":["/**\n * Shared constants for the component library.\n * Centralises magic numbers used across components.\n */\n\n/** SVG icon rendered sizes (px — used as HTML/SVG attributes, not CSS). */\nexport const ICON_SIZE = {\n SM: 14,\n MD: 16,\n LG: 18,\n} as const;\n\n/** Standard SVG viewBox for 24×24 icon grid. */\nexport const SVG_VIEWBOX = '0 0 24 24';\n\n/** Standard SVG stroke width. */\nexport const SVG_STROKE_WIDTH = 2;\n\n/** Keyboard accessibility step (percentage points per arrow press). */\nexport const KEYBOARD_STEP = 2;\n\n/** Viewport safety margin (px — used in JS calculations with DOM APIs). */\nexport const VIEWPORT_MARGIN = 32;\n\n/** ContextMenu viewport margin (px). */\nexport const CONTEXT_MENU_MARGIN = 10;\n\n/** ChartExpandModal dimension constraints (px — used with window.innerWidth). */\nexport const CHART_MODAL = {\n MIN_WIDTH: 960,\n MIN_HEIGHT: 480,\n MAX_WIDTH: 2400,\n MAX_HEIGHT: 1300,\n DEFAULT_WIDTH: 1500,\n DEFAULT_HEIGHT: 820,\n FALLBACK_WIDTH: 1400,\n FALLBACK_HEIGHT: 800,\n} as const;\n\n/** Maximum Sankey nodes before truncation warning. */\nexport const MAX_SANKEY_NODES = 150;\n\n/** Maximum stacked series before \"Other\" aggregation. */\nexport const MAX_SERIES = 20;\n\n/** Maximum categories in stacked bar chart. */\nexport const MAX_CATEGORIES = 20;\n\n/** Maximum subcategories per category. */\nexport const MAX_SUBCATEGORIES = 10;\n\n/** Time range preset durations in milliseconds. */\nexport const TIME_PRESET_MS = {\n '1h': 3_600_000,\n '6h': 21_600_000,\n '24h': 86_400_000,\n '7d': 604_800_000,\n '30d': 2_592_000_000,\n} as const;\n\n/** Default chart color palette. */\nexport const CHART_COLORS = [\n '#FF6B5A', '#5B8DEF', '#4ECDC4', '#F7B731', '#A55EEA',\n '#26DE81', '#FC5C65', '#45AAF2', '#FD9644', '#2BCBBA',\n '#D1D8E0', '#778CA3', '#EB3B5A', '#3867D6', '#20BF6B',\n '#F7B731', '#8854D0', '#0FB9B1', '#FA8231', '#4B6584',\n] as const;\n\n/** Minimum column width for resizable tables (px — used in JS calculations). */\nexport const MIN_COLUMN_WIDTH = 40;\n\n/** Sidebar dimension constants (px — used as inline styles). */\nexport const SIDEBAR = {\n WIDTH: 240,\n COLLAPSED_WIDTH: 80,\n} as const;\n\n/** Counters analysis pagination. */\nexport const COUNTERS_PAGE_SIZE = 100;\n"],"names":[],"mappings":";;AAMO,MAAM,YAAY;AAAA,EACvB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAGO,MAAM,cAAc;AAGpB,MAAM,mBAAmB;AAGzB,MAAM,gBAAgB;AAGtB,MAAM,kBAAkB;AAGxB,MAAM,sBAAsB;AAG5B,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;AAGO,MAAM,mBAAmB;AAGzB,MAAM,aAAa;AAGnB,MAAM,iBAAiB;AAGvB,MAAM,oBAAoB;AAY1B,MAAM,eAAe;AAAA,EAC1B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC9C;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;;;;;;;;;;;;;;;;"}
|