@ktnpm_devops/react-component 0.13.1 → 0.14.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 +24 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -22
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +2 -2
- package/dist/index10.js +2 -2
- package/dist/index100.cjs +39 -21
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +40 -22
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +14 -50
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +14 -50
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +55 -134
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +54 -133
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +13 -40
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +14 -41
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +9 -35
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +8 -34
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +15 -43
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +14 -42
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +33 -24
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +32 -23
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +58 -20
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +57 -19
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +34 -14
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +33 -13
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +19 -55
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +20 -56
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.js +2 -2
- package/dist/index110.cjs +16 -28
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +16 -28
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +10 -10
- package/dist/index111.js +11 -11
- package/dist/index112.cjs +16 -19
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +17 -20
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +34 -13
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +35 -14
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +118 -0
- package/dist/index114.cjs.map +1 -0
- package/dist/index114.js +118 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.cjs +45 -0
- package/dist/index115.cjs.map +1 -0
- package/dist/index115.js +45 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.cjs +33 -0
- package/dist/index116.cjs.map +1 -0
- package/dist/index116.js +33 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.cjs +1166 -0
- package/dist/index117.cjs.map +1 -0
- package/dist/index117.js +1167 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.cjs +1578 -0
- package/dist/index118.cjs.map +1 -0
- package/dist/index118.js +1579 -0
- package/dist/index118.js.map +1 -0
- 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 +2 -2
- package/dist/index15.js +2 -2
- package/dist/index16.cjs +3 -3
- package/dist/index16.js +3 -3
- package/dist/index17.cjs +2 -2
- package/dist/index17.js +2 -2
- package/dist/index18.cjs +2 -2
- package/dist/index18.js +2 -2
- package/dist/index19.cjs +2 -2
- package/dist/index19.js +2 -2
- package/dist/index20.cjs +2 -2
- package/dist/index20.js +2 -2
- package/dist/index21.cjs +2 -2
- package/dist/index21.js +2 -2
- package/dist/index22.cjs +3 -3
- package/dist/index22.js +3 -3
- package/dist/index23.cjs +3 -3
- package/dist/index23.js +3 -3
- package/dist/index24.cjs +3 -3
- package/dist/index24.js +3 -3
- package/dist/index25.cjs +2 -2
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +2 -2
- package/dist/index26.js +2 -2
- package/dist/index27.cjs +2 -2
- package/dist/index27.js +2 -2
- package/dist/index28.cjs +2 -2
- package/dist/index28.js +2 -2
- package/dist/index29.cjs +3 -3
- package/dist/index29.js +3 -3
- package/dist/index30.cjs +8 -8
- package/dist/index30.js +8 -8
- package/dist/index31.cjs +2 -2
- package/dist/index31.js +2 -2
- package/dist/index32.cjs +2 -2
- package/dist/index32.js +2 -2
- package/dist/index33.cjs +3 -3
- package/dist/index33.js +3 -3
- package/dist/index34.cjs +4 -4
- package/dist/index34.js +4 -4
- package/dist/index35.cjs +20 -38
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +21 -39
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +36 -224
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +37 -225
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +220 -28
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +222 -30
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +30 -106
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +31 -107
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +100 -58
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +101 -59
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +66 -76
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +67 -77
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +76 -57
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +78 -59
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +56 -150
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +58 -152
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +128 -73
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +123 -68
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +94 -68
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +96 -70
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +71 -7
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +72 -8
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +8 -17
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +9 -18
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +15 -75
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +16 -76
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +68 -134
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +70 -136
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +137 -58
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +138 -59
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +61 -102
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +62 -103
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +102 -44
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +103 -45
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +47 -6
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +48 -7
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +6 -147
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +7 -148
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +146 -7
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +148 -9
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +6 -15
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +6 -15
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +15 -64
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +17 -66
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +67 -15
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +66 -14
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +15 -18
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +15 -18
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +19 -116
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +17 -114
- package/dist/index59.js.map +1 -1
- 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 +22 -10
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +23 -11
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +22 -13
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +22 -13
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +2 -23
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +3 -24
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +2 -35
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +3 -36
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +17 -2
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +18 -3
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index67.cjs +11 -5
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +12 -6
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +2 -20
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +3 -21
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +17 -24
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +16 -23
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +2 -17
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +3 -18
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +116 -19
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +114 -17
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +29 -2
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +30 -3
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +18 -30
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +18 -30
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +21 -36
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +21 -36
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +5 -35
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +6 -36
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +2 -23
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +3 -24
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +65 -2
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +66 -3
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +19 -16
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +20 -17
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +13 -10
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +14 -11
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +19 -64
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +20 -65
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +35 -21
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +34 -20
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +43 -51
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +42 -50
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +24 -57
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +23 -56
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +20 -25
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +19 -24
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +14 -25
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +13 -24
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +51 -75
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +51 -75
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +47 -2
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +48 -3
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +34 -16
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +34 -16
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +69 -18
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +70 -19
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +39 -21
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +38 -20
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +83 -106
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +83 -106
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +19 -22
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +20 -23
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +13 -37
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +14 -38
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +36 -6
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +36 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +15 -18
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +15 -18
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +35 -47
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +35 -47
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +16 -25
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +16 -25
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +129 -35
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +129 -35
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +45 -92
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +44 -91
- package/dist/index99.js.map +1 -1
- package/dist/primitives/MarkdownContent/MarkdownContent.d.ts +4 -0
- package/dist/primitives/MarkdownContent/MarkdownContent.d.ts.map +1 -0
- package/dist/primitives/MarkdownContent/MarkdownContent.types.d.ts +5 -0
- package/dist/primitives/MarkdownContent/MarkdownContent.types.d.ts.map +1 -0
- package/dist/primitives/MarkdownContent/index.d.ts +3 -0
- package/dist/primitives/MarkdownContent/index.d.ts.map +1 -0
- package/dist/style.css +108 -0
- package/dist/utils/markdown.d.ts +3 -0
- package/dist/utils/markdown.d.ts.map +1 -0
- package/dist/utils/markdown.test.d.ts +2 -0
- package/dist/utils/markdown.test.d.ts.map +1 -0
- package/package.json +23 -4
package/dist/index104.js
CHANGED
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const step = (points.length - 1) / (cap - 1);
|
|
7
|
-
return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);
|
|
8
|
-
};
|
|
9
|
-
const boundsOf = (points) => {
|
|
10
|
-
if (points.length === 0) return null;
|
|
11
|
-
const latitudes = points.map((p) => p.point.latitude);
|
|
12
|
-
const longitudes = points.map((p) => p.point.longitude);
|
|
13
|
-
return [
|
|
14
|
-
[Math.min(...latitudes), Math.min(...longitudes)],
|
|
15
|
-
[Math.max(...latitudes), Math.max(...longitudes)]
|
|
16
|
-
];
|
|
17
|
-
};
|
|
18
|
-
const normalizePoints = (points, maxPoints) => {
|
|
19
|
-
const usable = [];
|
|
20
|
-
points.forEach((point, sourceIndex) => {
|
|
21
|
-
if (hasUsableCoordinates(point)) usable.push({ point, sourceIndex });
|
|
22
|
-
});
|
|
23
|
-
const drawn = usable.length > maxPoints ? sample(usable, maxPoints) : usable;
|
|
24
|
-
return {
|
|
25
|
-
drawn,
|
|
26
|
-
bounds: boundsOf(drawn),
|
|
27
|
-
info: {
|
|
28
|
-
total: points.length,
|
|
29
|
-
drawn: drawn.length,
|
|
30
|
-
skipped: points.length - usable.length,
|
|
31
|
-
dropped: usable.length - drawn.length
|
|
32
|
-
}
|
|
33
|
-
};
|
|
1
|
+
const root = "krc-root--zhUO";
|
|
2
|
+
const dot = "krc-dot-uJk1V";
|
|
3
|
+
const styles = {
|
|
4
|
+
root,
|
|
5
|
+
dot
|
|
34
6
|
};
|
|
35
7
|
export {
|
|
36
|
-
|
|
8
|
+
styles as default,
|
|
9
|
+
dot,
|
|
10
|
+
root
|
|
37
11
|
};
|
|
38
12
|
//# sourceMappingURL=index104.js.map
|
package/dist/index104.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index104.js","sources":[
|
|
1
|
+
{"version":3,"file":"index104.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index105.cjs
CHANGED
|
@@ -1,46 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
8
12
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
const buildWeightScale = (points) => {
|
|
16
|
-
const weights = points.map((p) => p.weight).filter((w) => w != null && Number.isFinite(w));
|
|
17
|
-
if (weights.length === 0) return null;
|
|
18
|
-
const min = Math.min(...weights);
|
|
19
|
-
const max = Math.max(...weights);
|
|
20
|
-
return min === max ? null : { min, max };
|
|
21
|
-
};
|
|
22
|
-
const radiusFor = (weight, scale) => {
|
|
23
|
-
if (scale == null || weight == null || !Number.isFinite(weight)) return constants.GEO_MAP.BASE_MARKER_RADIUS;
|
|
24
|
-
const ratio = (weight - scale.min) / (scale.max - scale.min);
|
|
25
|
-
const clamped = Math.min(Math.max(ratio, 0), 1);
|
|
26
|
-
const minArea = constants.GEO_MAP.MIN_MARKER_RADIUS ** 2;
|
|
27
|
-
const maxArea = constants.GEO_MAP.MAX_MARKER_RADIUS ** 2;
|
|
28
|
-
return Math.sqrt(minArea + clamped * (maxArea - minArea));
|
|
29
|
-
};
|
|
30
|
-
const buildMarkerStyle = (point, { categoryColors, weightScale, selected, theme }) => {
|
|
31
|
-
const fillColor = (point.category != null ? categoryColors.get(point.category) : void 0) ?? UNCATEGORISED_COLOR;
|
|
32
|
-
const radius = radiusFor(point.weight, weightScale);
|
|
33
|
-
return {
|
|
34
|
-
radius: selected ? radius + constants.GEO_MAP.SELECTED_RADIUS_BOOST : radius,
|
|
35
|
-
color: selected ? SELECTION_RING[theme] : fillColor,
|
|
36
|
-
weight: selected ? constants.GEO_MAP.SELECTED_STROKE_WIDTH : constants.GEO_MAP.MARKER_STROKE_WIDTH,
|
|
37
|
-
fillColor,
|
|
38
|
-
fillOpacity: selected ? 1 : constants.GEO_MAP.MARKER_FILL_OPACITY
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
const buildLegendItems = (categoryColors) => [...categoryColors].map(([label, color]) => ({ label, color }));
|
|
42
|
-
exports.buildCategoryColors = buildCategoryColors;
|
|
43
|
-
exports.buildLegendItems = buildLegendItems;
|
|
44
|
-
exports.buildMarkerStyle = buildMarkerStyle;
|
|
45
|
-
exports.buildWeightScale = buildWeightScale;
|
|
13
|
+
exports.card = card;
|
|
14
|
+
exports.default = styles;
|
|
15
|
+
exports.footer = footer;
|
|
16
|
+
exports.logo = logo;
|
|
17
|
+
exports.root = root;
|
|
46
18
|
//# sourceMappingURL=index105.cjs.map
|
package/dist/index105.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index105.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index105.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/index105.js
CHANGED
|
@@ -1,46 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
6
10
|
};
|
|
7
|
-
const UNCATEGORISED_COLOR = orbitTokens.brand.orange;
|
|
8
|
-
const buildCategoryColors = (points) => {
|
|
9
|
-
const categories = [...new Set(points.map((p) => p.category).filter((c) => c != null))];
|
|
10
|
-
categories.sort((a, b) => a.localeCompare(b));
|
|
11
|
-
return new Map(categories.map((category, i) => [category, CHART_COLORS[i % CHART_COLORS.length]]));
|
|
12
|
-
};
|
|
13
|
-
const buildWeightScale = (points) => {
|
|
14
|
-
const weights = points.map((p) => p.weight).filter((w) => w != null && Number.isFinite(w));
|
|
15
|
-
if (weights.length === 0) return null;
|
|
16
|
-
const min = Math.min(...weights);
|
|
17
|
-
const max = Math.max(...weights);
|
|
18
|
-
return min === max ? null : { min, max };
|
|
19
|
-
};
|
|
20
|
-
const radiusFor = (weight, scale) => {
|
|
21
|
-
if (scale == null || weight == null || !Number.isFinite(weight)) return GEO_MAP.BASE_MARKER_RADIUS;
|
|
22
|
-
const ratio = (weight - scale.min) / (scale.max - scale.min);
|
|
23
|
-
const clamped = Math.min(Math.max(ratio, 0), 1);
|
|
24
|
-
const minArea = GEO_MAP.MIN_MARKER_RADIUS ** 2;
|
|
25
|
-
const maxArea = GEO_MAP.MAX_MARKER_RADIUS ** 2;
|
|
26
|
-
return Math.sqrt(minArea + clamped * (maxArea - minArea));
|
|
27
|
-
};
|
|
28
|
-
const buildMarkerStyle = (point, { categoryColors, weightScale, selected, theme }) => {
|
|
29
|
-
const fillColor = (point.category != null ? categoryColors.get(point.category) : void 0) ?? UNCATEGORISED_COLOR;
|
|
30
|
-
const radius = radiusFor(point.weight, weightScale);
|
|
31
|
-
return {
|
|
32
|
-
radius: selected ? radius + GEO_MAP.SELECTED_RADIUS_BOOST : radius,
|
|
33
|
-
color: selected ? SELECTION_RING[theme] : fillColor,
|
|
34
|
-
weight: selected ? GEO_MAP.SELECTED_STROKE_WIDTH : GEO_MAP.MARKER_STROKE_WIDTH,
|
|
35
|
-
fillColor,
|
|
36
|
-
fillOpacity: selected ? 1 : GEO_MAP.MARKER_FILL_OPACITY
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
const buildLegendItems = (categoryColors) => [...categoryColors].map(([label, color]) => ({ label, color }));
|
|
40
11
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
12
|
+
card,
|
|
13
|
+
styles as default,
|
|
14
|
+
footer,
|
|
15
|
+
logo,
|
|
16
|
+
root
|
|
45
17
|
};
|
|
46
18
|
//# sourceMappingURL=index105.js.map
|
package/dist/index105.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index105.js","sources":[
|
|
1
|
+
{"version":3,"file":"index105.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/index106.cjs
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const overlay = "krc-overlay-WWw5c";
|
|
4
|
+
const modal = "krc-modal-ZLlQ4";
|
|
5
|
+
const resizable = "krc-resizable-G8TND";
|
|
6
|
+
const header = "krc-header-RFEXB";
|
|
7
|
+
const title = "krc-title-FhVKX";
|
|
8
|
+
const headerActions = "krc-headerActions-Qj5SG";
|
|
9
|
+
const close = "krc-close-EQ-3d";
|
|
10
|
+
const body = "krc-body-ZLPhV";
|
|
11
|
+
const loading = "krc-loading-lxD8d";
|
|
12
|
+
const resizeHandle = "krc-resizeHandle-Q0J-B";
|
|
13
|
+
const styles = {
|
|
14
|
+
overlay,
|
|
15
|
+
modal,
|
|
16
|
+
resizable,
|
|
17
|
+
header,
|
|
18
|
+
title,
|
|
19
|
+
headerActions,
|
|
20
|
+
close,
|
|
21
|
+
body,
|
|
22
|
+
loading,
|
|
23
|
+
resizeHandle
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
exports.
|
|
25
|
+
exports.body = body;
|
|
26
|
+
exports.close = close;
|
|
27
|
+
exports.default = styles;
|
|
28
|
+
exports.header = header;
|
|
29
|
+
exports.headerActions = headerActions;
|
|
30
|
+
exports.loading = loading;
|
|
31
|
+
exports.modal = modal;
|
|
32
|
+
exports.overlay = overlay;
|
|
33
|
+
exports.resizable = resizable;
|
|
34
|
+
exports.resizeHandle = resizeHandle;
|
|
35
|
+
exports.title = title;
|
|
27
36
|
//# sourceMappingURL=index106.cjs.map
|
package/dist/index106.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index106.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index106.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index106.js
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
const overlay = "krc-overlay-WWw5c";
|
|
2
|
+
const modal = "krc-modal-ZLlQ4";
|
|
3
|
+
const resizable = "krc-resizable-G8TND";
|
|
4
|
+
const header = "krc-header-RFEXB";
|
|
5
|
+
const title = "krc-title-FhVKX";
|
|
6
|
+
const headerActions = "krc-headerActions-Qj5SG";
|
|
7
|
+
const close = "krc-close-EQ-3d";
|
|
8
|
+
const body = "krc-body-ZLPhV";
|
|
9
|
+
const loading = "krc-loading-lxD8d";
|
|
10
|
+
const resizeHandle = "krc-resizeHandle-Q0J-B";
|
|
11
|
+
const styles = {
|
|
12
|
+
overlay,
|
|
13
|
+
modal,
|
|
14
|
+
resizable,
|
|
15
|
+
header,
|
|
16
|
+
title,
|
|
17
|
+
headerActions,
|
|
18
|
+
close,
|
|
19
|
+
body,
|
|
20
|
+
loading,
|
|
21
|
+
resizeHandle
|
|
22
22
|
};
|
|
23
|
-
MapViewport.displayName = "MapViewport";
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
body,
|
|
25
|
+
close,
|
|
26
|
+
styles as default,
|
|
27
|
+
header,
|
|
28
|
+
headerActions,
|
|
29
|
+
loading,
|
|
30
|
+
modal,
|
|
31
|
+
overlay,
|
|
32
|
+
resizable,
|
|
33
|
+
resizeHandle,
|
|
34
|
+
title
|
|
26
35
|
};
|
|
27
36
|
//# sourceMappingURL=index106.js.map
|
package/dist/index106.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index106.js","sources":[
|
|
1
|
+
{"version":3,"file":"index106.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index107.cjs
CHANGED
|
@@ -1,22 +1,60 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root--s1oD";
|
|
4
|
+
const trigger = "krc-trigger-WMlNa";
|
|
5
|
+
const active = "krc-active-O65lj";
|
|
6
|
+
const triggerContent = "krc-triggerContent-JipmE";
|
|
7
|
+
const chevron = "krc-chevron-J2Zsy";
|
|
8
|
+
const label = "krc-label-lZlV-";
|
|
9
|
+
const value = "krc-value-HsQrC";
|
|
10
|
+
const clear = "krc-clear-bsi5j";
|
|
11
|
+
const panel = "krc-panel--0odx";
|
|
12
|
+
const searchContainer = "krc-searchContainer-WRS-U";
|
|
13
|
+
const search = "krc-search-Dh3pY";
|
|
14
|
+
const list = "krc-list-1RUtr";
|
|
15
|
+
const noResults = "krc-noResults-Hin1U";
|
|
16
|
+
const option = "krc-option-0mFGi";
|
|
17
|
+
const focused = "krc-focused-0-7tE";
|
|
18
|
+
const selected = "krc-selected-1zIqI";
|
|
19
|
+
const optionLabel = "krc-optionLabel-pj-hL";
|
|
20
|
+
const optionCount = "krc-optionCount-rVlCP";
|
|
21
|
+
const styles = {
|
|
22
|
+
root,
|
|
23
|
+
trigger,
|
|
24
|
+
active,
|
|
25
|
+
triggerContent,
|
|
26
|
+
chevron,
|
|
27
|
+
label,
|
|
28
|
+
value,
|
|
29
|
+
clear,
|
|
30
|
+
panel,
|
|
31
|
+
searchContainer,
|
|
32
|
+
search,
|
|
33
|
+
list,
|
|
34
|
+
noResults,
|
|
35
|
+
option,
|
|
36
|
+
focused,
|
|
37
|
+
selected,
|
|
38
|
+
optionLabel,
|
|
39
|
+
optionCount
|
|
40
|
+
};
|
|
41
|
+
exports.active = active;
|
|
42
|
+
exports.chevron = chevron;
|
|
43
|
+
exports.clear = clear;
|
|
44
|
+
exports.default = styles;
|
|
45
|
+
exports.focused = focused;
|
|
46
|
+
exports.label = label;
|
|
47
|
+
exports.list = list;
|
|
48
|
+
exports.noResults = noResults;
|
|
49
|
+
exports.option = option;
|
|
50
|
+
exports.optionCount = optionCount;
|
|
51
|
+
exports.optionLabel = optionLabel;
|
|
52
|
+
exports.panel = panel;
|
|
53
|
+
exports.root = root;
|
|
54
|
+
exports.search = search;
|
|
55
|
+
exports.searchContainer = searchContainer;
|
|
56
|
+
exports.selected = selected;
|
|
57
|
+
exports.trigger = trigger;
|
|
58
|
+
exports.triggerContent = triggerContent;
|
|
59
|
+
exports.value = value;
|
|
22
60
|
//# sourceMappingURL=index107.cjs.map
|
package/dist/index107.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index107.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index107.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index107.js
CHANGED
|
@@ -1,22 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
const root = "krc-root--s1oD";
|
|
2
|
+
const trigger = "krc-trigger-WMlNa";
|
|
3
|
+
const active = "krc-active-O65lj";
|
|
4
|
+
const triggerContent = "krc-triggerContent-JipmE";
|
|
5
|
+
const chevron = "krc-chevron-J2Zsy";
|
|
6
|
+
const label = "krc-label-lZlV-";
|
|
7
|
+
const value = "krc-value-HsQrC";
|
|
8
|
+
const clear = "krc-clear-bsi5j";
|
|
9
|
+
const panel = "krc-panel--0odx";
|
|
10
|
+
const searchContainer = "krc-searchContainer-WRS-U";
|
|
11
|
+
const search = "krc-search-Dh3pY";
|
|
12
|
+
const list = "krc-list-1RUtr";
|
|
13
|
+
const noResults = "krc-noResults-Hin1U";
|
|
14
|
+
const option = "krc-option-0mFGi";
|
|
15
|
+
const focused = "krc-focused-0-7tE";
|
|
16
|
+
const selected = "krc-selected-1zIqI";
|
|
17
|
+
const optionLabel = "krc-optionLabel-pj-hL";
|
|
18
|
+
const optionCount = "krc-optionCount-rVlCP";
|
|
19
|
+
const styles = {
|
|
20
|
+
root,
|
|
21
|
+
trigger,
|
|
22
|
+
active,
|
|
23
|
+
triggerContent,
|
|
24
|
+
chevron,
|
|
25
|
+
label,
|
|
26
|
+
value,
|
|
27
|
+
clear,
|
|
28
|
+
panel,
|
|
29
|
+
searchContainer,
|
|
30
|
+
search,
|
|
31
|
+
list,
|
|
32
|
+
noResults,
|
|
33
|
+
option,
|
|
34
|
+
focused,
|
|
35
|
+
selected,
|
|
36
|
+
optionLabel,
|
|
37
|
+
optionCount
|
|
38
|
+
};
|
|
19
39
|
export {
|
|
20
|
-
|
|
40
|
+
active,
|
|
41
|
+
chevron,
|
|
42
|
+
clear,
|
|
43
|
+
styles as default,
|
|
44
|
+
focused,
|
|
45
|
+
label,
|
|
46
|
+
list,
|
|
47
|
+
noResults,
|
|
48
|
+
option,
|
|
49
|
+
optionCount,
|
|
50
|
+
optionLabel,
|
|
51
|
+
panel,
|
|
52
|
+
root,
|
|
53
|
+
search,
|
|
54
|
+
searchContainer,
|
|
55
|
+
selected,
|
|
56
|
+
trigger,
|
|
57
|
+
triggerContent,
|
|
58
|
+
value
|
|
21
59
|
};
|
|
22
60
|
//# sourceMappingURL=index107.js.map
|
package/dist/index107.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index107.js","sources":[
|
|
1
|
+
{"version":3,"file":"index107.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index108.cjs
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-rUudF";
|
|
4
|
+
const header = "krc-header-zjbPA";
|
|
5
|
+
const title = "krc-title-ScYja";
|
|
6
|
+
const timeRangeGroup = "krc-timeRangeGroup-FP1TP";
|
|
7
|
+
const timeRangeButton = "krc-timeRangeButton-9XCxb";
|
|
8
|
+
const timeRangeButtonActive = "krc-timeRangeButtonActive-Y-KCh";
|
|
9
|
+
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
10
|
+
const loading = "krc-loading-EWhol";
|
|
11
|
+
const error = "krc-error-erDaP";
|
|
12
|
+
const empty = "krc-empty---cYi";
|
|
13
|
+
const styles = {
|
|
14
|
+
root,
|
|
15
|
+
header,
|
|
16
|
+
title,
|
|
17
|
+
timeRangeGroup,
|
|
18
|
+
timeRangeButton,
|
|
19
|
+
timeRangeButtonActive,
|
|
20
|
+
chartContainer,
|
|
21
|
+
loading,
|
|
22
|
+
error,
|
|
23
|
+
empty
|
|
24
|
+
};
|
|
25
|
+
exports.chartContainer = chartContainer;
|
|
26
|
+
exports.default = styles;
|
|
27
|
+
exports.empty = empty;
|
|
28
|
+
exports.error = error;
|
|
29
|
+
exports.header = header;
|
|
30
|
+
exports.loading = loading;
|
|
31
|
+
exports.root = root;
|
|
32
|
+
exports.timeRangeButton = timeRangeButton;
|
|
33
|
+
exports.timeRangeButtonActive = timeRangeButtonActive;
|
|
34
|
+
exports.timeRangeGroup = timeRangeGroup;
|
|
35
|
+
exports.title = title;
|
|
16
36
|
//# sourceMappingURL=index108.cjs.map
|
package/dist/index108.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index108.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index108.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|