@ktnpm_devops/react-component 0.15.0 → 0.16.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/constants.d.ts +2 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrix.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts +42 -0
- package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts.map +1 -1
- package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts +9 -0
- package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts.map +1 -0
- package/dist/data/HeatmapMatrix/getColumnRuns.d.ts +11 -0
- package/dist/data/HeatmapMatrix/getColumnRuns.d.ts.map +1 -0
- package/dist/data/HeatmapMatrix/getColumnRuns.test.d.ts +2 -0
- package/dist/data/HeatmapMatrix/getColumnRuns.test.d.ts.map +1 -0
- package/dist/data/HeatmapMatrix/index.d.ts +1 -1
- package/dist/data/HeatmapMatrix/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.cjs +32 -8
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +33 -9
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +53 -2
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +54 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +39 -6
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +38 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +92 -69
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +91 -68
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +34 -19
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +35 -20
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +116 -22
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +115 -21
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +43 -134
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +42 -133
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +16 -40
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +16 -40
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +4 -25
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +5 -26
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +35 -39
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +34 -38
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +43 -57
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +42 -56
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +24 -24
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +23 -23
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +20 -7
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +19 -6
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +14 -25
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +13 -24
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +57 -36
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +57 -36
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +21 -39
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +20 -38
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +18 -92
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +17 -91
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +15 -33
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +16 -34
- package/dist/index117.js.map +1 -1
- package/dist/index118.cjs +16 -116
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +15 -115
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +32 -35
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +32 -35
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +48 -85
- package/dist/index120.cjs.map +1 -1
- package/dist/index120.js +47 -84
- package/dist/index120.js.map +1 -1
- package/dist/index121.cjs +18 -25
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +17 -24
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +37 -1164
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +35 -1163
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +42 -1575
- package/dist/index123.cjs.map +1 -1
- package/dist/index123.js +41 -1575
- package/dist/index123.js.map +1 -1
- package/dist/index124.cjs +1166 -0
- package/dist/index124.cjs.map +1 -0
- package/dist/index124.js +1167 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.cjs +1578 -0
- package/dist/index125.cjs.map +1 -0
- package/dist/index125.js +1579 -0
- package/dist/index125.js.map +1 -0
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.cjs +2 -2
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +2 -2
- package/dist/index23.js +2 -2
- package/dist/index24.cjs +2 -2
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index30.cjs +7 -7
- package/dist/index30.js +7 -7
- package/dist/index31.cjs +4 -4
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +78 -53
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +79 -54
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.js +2 -2
- package/dist/index35.cjs +2 -2
- package/dist/index35.js +2 -2
- package/dist/index36.cjs +2 -2
- package/dist/index36.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +2 -2
- package/dist/index38.js +2 -2
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.cjs +2 -2
- package/dist/index41.js +2 -2
- package/dist/index42.cjs +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index44.cjs +2 -2
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +4 -4
- package/dist/index45.js +4 -4
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +2 -2
- package/dist/index49.js +2 -2
- package/dist/index50.cjs +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +3 -3
- package/dist/index52.js +3 -3
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +3 -3
- package/dist/index55.js +3 -3
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.cjs +22 -10
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +22 -10
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +23 -5
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +24 -6
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +18 -17
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +17 -16
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +142 -6
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +141 -5
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +20 -2
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +21 -3
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +19 -141
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +17 -139
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +13 -16
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +14 -17
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +16 -46
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +16 -46
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +16 -52
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +16 -52
- package/dist/index68.js.map +1 -1
- package/dist/index70.cjs +20 -2
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +20 -2
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +45 -12
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +46 -13
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +2 -35
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +3 -36
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +77 -26
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +77 -26
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +52 -13
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +53 -14
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +34 -10
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +35 -11
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +17 -21
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +16 -20
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +2 -5
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +2 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +2 -38
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +3 -39
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +5 -29
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +6 -30
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +29 -17
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +29 -17
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +21 -22
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +20 -21
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +15 -69
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +14 -68
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +24 -7
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +23 -6
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +2 -35
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +3 -36
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +24 -35
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +23 -34
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +69 -43
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +68 -42
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +24 -24
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +23 -23
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +7 -20
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +6 -19
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +7 -14
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +6 -13
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +8 -53
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +9 -54
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +13 -19
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +14 -20
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +49 -13
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +49 -13
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +134 -55
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +133 -54
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +40 -22
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +40 -22
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +36 -15
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +36 -15
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +28 -13
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +28 -13
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +22 -27
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +21 -26
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +69 -21
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +68 -20
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +7 -21
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +6 -20
- package/dist/index99.js.map +1 -1
- package/dist/style.css +19 -5
- package/package.json +1 -1
package/dist/index63.js
CHANGED
|
@@ -1,9 +1,145 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const ICON_SIZE = {
|
|
2
|
+
SM: 14,
|
|
3
|
+
MD: 16,
|
|
4
|
+
LG: 18
|
|
4
5
|
};
|
|
6
|
+
const SVG_VIEWBOX = "0 0 24 24";
|
|
7
|
+
const SVG_STROKE_WIDTH = 2;
|
|
8
|
+
const KEYBOARD_STEP = 2;
|
|
9
|
+
const VIEWPORT_MARGIN = 32;
|
|
10
|
+
const CONTEXT_MENU_MARGIN = 10;
|
|
11
|
+
const CHART_MODAL = {
|
|
12
|
+
MIN_WIDTH: 960,
|
|
13
|
+
MIN_HEIGHT: 480,
|
|
14
|
+
MAX_WIDTH: 2400,
|
|
15
|
+
MAX_HEIGHT: 1300,
|
|
16
|
+
DEFAULT_WIDTH: 1500,
|
|
17
|
+
DEFAULT_HEIGHT: 820,
|
|
18
|
+
FALLBACK_WIDTH: 1400,
|
|
19
|
+
FALLBACK_HEIGHT: 800
|
|
20
|
+
};
|
|
21
|
+
const MAX_SANKEY_NODES = 150;
|
|
22
|
+
const MAX_SERIES = 20;
|
|
23
|
+
const MAX_CATEGORIES = 20;
|
|
24
|
+
const MAX_SUBCATEGORIES = 10;
|
|
25
|
+
const CHART_COLORS = [
|
|
26
|
+
"#FF6B5A",
|
|
27
|
+
"#5B8DEF",
|
|
28
|
+
"#4ECDC4",
|
|
29
|
+
"#F7B731",
|
|
30
|
+
"#A55EEA",
|
|
31
|
+
"#26DE81",
|
|
32
|
+
"#FC5C65",
|
|
33
|
+
"#45AAF2",
|
|
34
|
+
"#FD9644",
|
|
35
|
+
"#2BCBBA",
|
|
36
|
+
"#D1D8E0",
|
|
37
|
+
"#778CA3",
|
|
38
|
+
"#EB3B5A",
|
|
39
|
+
"#3867D6",
|
|
40
|
+
"#20BF6B",
|
|
41
|
+
"#F7B731",
|
|
42
|
+
"#8854D0",
|
|
43
|
+
"#0FB9B1",
|
|
44
|
+
"#FA8231",
|
|
45
|
+
"#4B6584"
|
|
46
|
+
];
|
|
47
|
+
const MIN_COLUMN_WIDTH = 40;
|
|
48
|
+
const SIDEBAR = {
|
|
49
|
+
WIDTH: 240,
|
|
50
|
+
COLLAPSED_WIDTH: 80
|
|
51
|
+
};
|
|
52
|
+
const COUNTERS_PAGE_SIZE = 100;
|
|
53
|
+
const TOAST_DURATION_MS = 3200;
|
|
54
|
+
const PAGINATION = {
|
|
55
|
+
/** Page numbers shown on each side of the current page. */
|
|
56
|
+
SIBLING_COUNT: 1,
|
|
57
|
+
/** Page numbers pinned at the first/last boundaries. */
|
|
58
|
+
BOUNDARY_COUNT: 1
|
|
59
|
+
};
|
|
60
|
+
const SCATTER = {
|
|
61
|
+
/** Marks drawn before deterministic sampling kicks in. */
|
|
62
|
+
MAX_POINTS: 2e3,
|
|
63
|
+
MIN_SYMBOL_SIZE: 6,
|
|
64
|
+
MAX_SYMBOL_SIZE: 28,
|
|
65
|
+
/** Symbol size used when no point carries a weight. */
|
|
66
|
+
BASE_SYMBOL_SIZE: 10
|
|
67
|
+
};
|
|
68
|
+
const GROUPED_BAR = {
|
|
69
|
+
/**
|
|
70
|
+
* Grid margins. `containLabel` reserves room for the tick labels only, so the
|
|
71
|
+
* value-axis name and the legend need their own margin or they get clipped.
|
|
72
|
+
*/
|
|
73
|
+
GRID_MARGIN: {
|
|
74
|
+
BASE: 8,
|
|
75
|
+
TOP: 16,
|
|
76
|
+
RIGHT: 16,
|
|
77
|
+
/** Extra left margin for a vertical value-axis name. */
|
|
78
|
+
VALUE_NAME_Y: 34,
|
|
79
|
+
/** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */
|
|
80
|
+
VALUE_NAME_X: 23,
|
|
81
|
+
LEGEND: 30
|
|
82
|
+
},
|
|
83
|
+
/** Distance from the value axis line to its name. */
|
|
84
|
+
AXIS_NAME_GAP: { X: 28, Y: 38 },
|
|
85
|
+
/** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */
|
|
86
|
+
MIN_BAR_HEIGHT: 2,
|
|
87
|
+
/** Diameter of the colour dot before each tooltip line. */
|
|
88
|
+
TOOLTIP_MARKER_SIZE: 10,
|
|
89
|
+
/** Space between the tooltip colour dot and the series name. */
|
|
90
|
+
TOOLTIP_MARKER_GAP: 4
|
|
91
|
+
};
|
|
92
|
+
const RANGE_SLIDER = {
|
|
93
|
+
DEFAULT_STEP: 1
|
|
94
|
+
};
|
|
95
|
+
const GEO_MAP = {
|
|
96
|
+
/** Markers drawn before deterministic sampling kicks in. */
|
|
97
|
+
MAX_POINTS: 2e3,
|
|
98
|
+
MIN_MARKER_RADIUS: 4,
|
|
99
|
+
MAX_MARKER_RADIUS: 18,
|
|
100
|
+
/** Radius used when no point carries a weight. */
|
|
101
|
+
BASE_MARKER_RADIUS: 8,
|
|
102
|
+
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
103
|
+
SELECTED_RADIUS_BOOST: 3,
|
|
104
|
+
MARKER_STROKE_WIDTH: 1,
|
|
105
|
+
SELECTED_STROKE_WIDTH: 3,
|
|
106
|
+
MARKER_FILL_OPACITY: 0.7,
|
|
107
|
+
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
108
|
+
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
109
|
+
DEFAULT_ZOOM: 13,
|
|
110
|
+
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
111
|
+
SINGLE_POINT_ZOOM: 14,
|
|
112
|
+
FIT_BOUNDS_PADDING: [24, 24]
|
|
113
|
+
};
|
|
114
|
+
const BASEMAP_TILES = {
|
|
115
|
+
light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
|
116
|
+
dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
|
|
117
|
+
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
118
|
+
};
|
|
119
|
+
const HEATMAP_GROUPED_HEADER_ROWS = 2;
|
|
5
120
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
121
|
+
BASEMAP_TILES,
|
|
122
|
+
CHART_COLORS,
|
|
123
|
+
CHART_MODAL,
|
|
124
|
+
CONTEXT_MENU_MARGIN,
|
|
125
|
+
COUNTERS_PAGE_SIZE,
|
|
126
|
+
GEO_MAP,
|
|
127
|
+
GROUPED_BAR,
|
|
128
|
+
HEATMAP_GROUPED_HEADER_ROWS,
|
|
129
|
+
ICON_SIZE,
|
|
130
|
+
KEYBOARD_STEP,
|
|
131
|
+
MAX_CATEGORIES,
|
|
132
|
+
MAX_SANKEY_NODES,
|
|
133
|
+
MAX_SERIES,
|
|
134
|
+
MAX_SUBCATEGORIES,
|
|
135
|
+
MIN_COLUMN_WIDTH,
|
|
136
|
+
PAGINATION,
|
|
137
|
+
RANGE_SLIDER,
|
|
138
|
+
SCATTER,
|
|
139
|
+
SIDEBAR,
|
|
140
|
+
SVG_STROKE_WIDTH,
|
|
141
|
+
SVG_VIEWBOX,
|
|
142
|
+
TOAST_DURATION_MS,
|
|
143
|
+
VIEWPORT_MARGIN
|
|
8
144
|
};
|
|
9
145
|
//# sourceMappingURL=index63.js.map
|
package/dist/index63.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index63.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index63.js","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',\n '#5B8DEF',\n '#4ECDC4',\n '#F7B731',\n '#A55EEA',\n '#26DE81',\n '#FC5C65',\n '#45AAF2',\n '#FD9644',\n '#2BCBBA',\n '#D1D8E0',\n '#778CA3',\n '#EB3B5A',\n '#3867D6',\n '#20BF6B',\n '#F7B731',\n '#8854D0',\n '#0FB9B1',\n '#FA8231',\n '#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\n/** Default time a toast stays visible before auto-dismiss (ms). */\nexport const TOAST_DURATION_MS = 3200;\n\n/** Pagination page-range defaults. */\nexport const PAGINATION = {\n /** Page numbers shown on each side of the current page. */\n SIBLING_COUNT: 1,\n /** Page numbers pinned at the first/last boundaries. */\n BOUNDARY_COUNT: 1,\n} as const;\n\n/** ScatterChartCard mark cap and symbol radii (px — echarts canvas attributes, not CSS). */\nexport const SCATTER = {\n /** Marks drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_SYMBOL_SIZE: 6,\n MAX_SYMBOL_SIZE: 28,\n /** Symbol size used when no point carries a weight. */\n BASE_SYMBOL_SIZE: 10,\n} as const;\n\n/** GroupedBarChartCard layout (px — echarts canvas attributes, not CSS). */\nexport const GROUPED_BAR = {\n /**\n * Grid margins. `containLabel` reserves room for the tick labels only, so the\n * value-axis name and the legend need their own margin or they get clipped.\n */\n GRID_MARGIN: {\n BASE: 8,\n TOP: 16,\n RIGHT: 16,\n /** Extra left margin for a vertical value-axis name. */\n VALUE_NAME_Y: 34,\n /** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */\n VALUE_NAME_X: 23,\n LEGEND: 30,\n },\n /** Distance from the value axis line to its name. */\n AXIS_NAME_GAP: { X: 28, Y: 38 },\n /** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */\n MIN_BAR_HEIGHT: 2,\n /** Diameter of the colour dot before each tooltip line. */\n TOOLTIP_MARKER_SIZE: 10,\n /** Space between the tooltip colour dot and the series name. */\n TOOLTIP_MARKER_GAP: 4,\n} as const;\n\n/** RangeSlider defaults. */\nexport const RANGE_SLIDER = {\n DEFAULT_STEP: 1,\n} as const;\n\n/** GeoMapCard marker caps and dimensions (px — Leaflet SVG attributes, not CSS). */\nexport const GEO_MAP = {\n /** Markers drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_MARKER_RADIUS: 4,\n MAX_MARKER_RADIUS: 18,\n /** Radius used when no point carries a weight. */\n BASE_MARKER_RADIUS: 8,\n /** Extra radius on a selected marker, so colour is never the only cue. */\n SELECTED_RADIUS_BOOST: 3,\n MARKER_STROKE_WIDTH: 1,\n SELECTED_STROKE_WIDTH: 3,\n MARKER_FILL_OPACITY: 0.7,\n /** Fallback view when there is nothing to fit to (roughly central Spain). */\n DEFAULT_CENTER: [40.4168, -3.7038],\n DEFAULT_ZOOM: 13,\n /** `fitBounds` on a single point collapses to max zoom; this caps it. */\n SINGLE_POINT_ZOOM: 14,\n FIT_BOUNDS_PADDING: [24, 24],\n} as const;\n\n/** CARTO basemaps: deliberately muted so the markers carry the reading. */\nexport const BASEMAP_TILES = {\n light: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',\n dark: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png',\n attribution:\n '© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors ' +\n '© <a href=\"https://carto.com/attributions\">CARTO</a>',\n} as const;\n\n/** HeatmapMatrix header rows when column groups are in use (group row + column row). */\nexport const HEATMAP_GROUPED_HEADER_ROWS = 2;\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,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;AAG3B,MAAM,oBAAoB;AAG1B,MAAM,aAAa;AAAA;AAAA,EAExB,eAAe;AAAA;AAAA,EAEf,gBAAgB;AAClB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA;AAAA,EAEjB,kBAAkB;AACpB;AAGO,MAAM,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzB,aAAa;AAAA,IACX,MAAM;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA;AAAA,IAEP,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA,IACd,QAAQ;AAAA,EAAA;AAAA;AAAA,EAGV,eAAe,EAAE,GAAG,IAAI,GAAG,GAAA;AAAA;AAAA,EAE3B,gBAAgB;AAAA;AAAA,EAEhB,qBAAqB;AAAA;AAAA,EAErB,oBAAoB;AACtB;AAGO,MAAM,eAAe;AAAA,EAC1B,cAAc;AAChB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA;AAAA,EAEnB,oBAAoB;AAAA;AAAA,EAEpB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA;AAAA,EAErB,gBAAgB,CAAC,SAAS,OAAO;AAAA,EACjC,cAAc;AAAA;AAAA,EAEd,mBAAmB;AAAA,EACnB,oBAAoB,CAAC,IAAI,EAAE;AAC7B;AAGO,MAAM,gBAAgB;AAAA,EAC3B,OAAO;AAAA,EACP,MAAM;AAAA,EACN,aACE;AAEJ;AAGO,MAAM,8BAA8B;"}
|
package/dist/index64.cjs
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
3
|
+
const root = "krc-root-vqaJ6";
|
|
4
|
+
const pill = "krc-pill-8z557";
|
|
5
|
+
const square = "krc-square-g0EM3";
|
|
6
|
+
const segment = "krc-segment-5-V31";
|
|
7
|
+
const isOn = "krc-isOn-7tAhJ";
|
|
8
|
+
const md = "krc-md-pA-Ck";
|
|
9
|
+
const sm = "krc-sm-VMB3s";
|
|
4
10
|
const styles = {
|
|
5
|
-
root
|
|
11
|
+
root,
|
|
12
|
+
pill,
|
|
13
|
+
square,
|
|
14
|
+
segment,
|
|
15
|
+
isOn,
|
|
16
|
+
md,
|
|
17
|
+
sm
|
|
6
18
|
};
|
|
7
19
|
exports.default = styles;
|
|
20
|
+
exports.isOn = isOn;
|
|
21
|
+
exports.md = md;
|
|
22
|
+
exports.pill = pill;
|
|
8
23
|
exports.root = root;
|
|
24
|
+
exports.segment = segment;
|
|
25
|
+
exports.sm = sm;
|
|
26
|
+
exports.square = square;
|
|
9
27
|
//# sourceMappingURL=index64.cjs.map
|
package/dist/index64.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index64.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index64.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index64.js
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
1
|
+
const root = "krc-root-vqaJ6";
|
|
2
|
+
const pill = "krc-pill-8z557";
|
|
3
|
+
const square = "krc-square-g0EM3";
|
|
4
|
+
const segment = "krc-segment-5-V31";
|
|
5
|
+
const isOn = "krc-isOn-7tAhJ";
|
|
6
|
+
const md = "krc-md-pA-Ck";
|
|
7
|
+
const sm = "krc-sm-VMB3s";
|
|
2
8
|
const styles = {
|
|
3
|
-
root
|
|
9
|
+
root,
|
|
10
|
+
pill,
|
|
11
|
+
square,
|
|
12
|
+
segment,
|
|
13
|
+
isOn,
|
|
14
|
+
md,
|
|
15
|
+
sm
|
|
4
16
|
};
|
|
5
17
|
export {
|
|
6
18
|
styles as default,
|
|
7
|
-
|
|
19
|
+
isOn,
|
|
20
|
+
md,
|
|
21
|
+
pill,
|
|
22
|
+
root,
|
|
23
|
+
segment,
|
|
24
|
+
sm,
|
|
25
|
+
square
|
|
8
26
|
};
|
|
9
27
|
//# sourceMappingURL=index64.js.map
|
package/dist/index64.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index64.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/index65.cjs
CHANGED
|
@@ -1,143 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
const TOAST_DURATION_MS = 3200;
|
|
56
|
-
const PAGINATION = {
|
|
57
|
-
/** Page numbers shown on each side of the current page. */
|
|
58
|
-
SIBLING_COUNT: 1,
|
|
59
|
-
/** Page numbers pinned at the first/last boundaries. */
|
|
60
|
-
BOUNDARY_COUNT: 1
|
|
61
|
-
};
|
|
62
|
-
const SCATTER = {
|
|
63
|
-
/** Marks drawn before deterministic sampling kicks in. */
|
|
64
|
-
MAX_POINTS: 2e3,
|
|
65
|
-
MIN_SYMBOL_SIZE: 6,
|
|
66
|
-
MAX_SYMBOL_SIZE: 28,
|
|
67
|
-
/** Symbol size used when no point carries a weight. */
|
|
68
|
-
BASE_SYMBOL_SIZE: 10
|
|
69
|
-
};
|
|
70
|
-
const GROUPED_BAR = {
|
|
71
|
-
/**
|
|
72
|
-
* Grid margins. `containLabel` reserves room for the tick labels only, so the
|
|
73
|
-
* value-axis name and the legend need their own margin or they get clipped.
|
|
74
|
-
*/
|
|
75
|
-
GRID_MARGIN: {
|
|
76
|
-
BASE: 8,
|
|
77
|
-
TOP: 16,
|
|
78
|
-
RIGHT: 16,
|
|
79
|
-
/** Extra left margin for a vertical value-axis name. */
|
|
80
|
-
VALUE_NAME_Y: 34,
|
|
81
|
-
/** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */
|
|
82
|
-
VALUE_NAME_X: 23,
|
|
83
|
-
LEGEND: 30
|
|
84
|
-
},
|
|
85
|
-
/** Distance from the value axis line to its name. */
|
|
86
|
-
AXIS_NAME_GAP: { X: 28, Y: 38 },
|
|
87
|
-
/** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */
|
|
88
|
-
MIN_BAR_HEIGHT: 2,
|
|
89
|
-
/** Diameter of the colour dot before each tooltip line. */
|
|
90
|
-
TOOLTIP_MARKER_SIZE: 10,
|
|
91
|
-
/** Space between the tooltip colour dot and the series name. */
|
|
92
|
-
TOOLTIP_MARKER_GAP: 4
|
|
93
|
-
};
|
|
94
|
-
const RANGE_SLIDER = {
|
|
95
|
-
DEFAULT_STEP: 1
|
|
96
|
-
};
|
|
97
|
-
const GEO_MAP = {
|
|
98
|
-
/** Markers drawn before deterministic sampling kicks in. */
|
|
99
|
-
MAX_POINTS: 2e3,
|
|
100
|
-
MIN_MARKER_RADIUS: 4,
|
|
101
|
-
MAX_MARKER_RADIUS: 18,
|
|
102
|
-
/** Radius used when no point carries a weight. */
|
|
103
|
-
BASE_MARKER_RADIUS: 8,
|
|
104
|
-
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
105
|
-
SELECTED_RADIUS_BOOST: 3,
|
|
106
|
-
MARKER_STROKE_WIDTH: 1,
|
|
107
|
-
SELECTED_STROKE_WIDTH: 3,
|
|
108
|
-
MARKER_FILL_OPACITY: 0.7,
|
|
109
|
-
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
110
|
-
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
111
|
-
DEFAULT_ZOOM: 13,
|
|
112
|
-
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
113
|
-
SINGLE_POINT_ZOOM: 14,
|
|
114
|
-
FIT_BOUNDS_PADDING: [24, 24]
|
|
115
|
-
};
|
|
116
|
-
const BASEMAP_TILES = {
|
|
117
|
-
light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
|
118
|
-
dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
|
|
119
|
-
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
120
|
-
};
|
|
121
|
-
exports.BASEMAP_TILES = BASEMAP_TILES;
|
|
122
|
-
exports.CHART_COLORS = CHART_COLORS;
|
|
123
|
-
exports.CHART_MODAL = CHART_MODAL;
|
|
124
|
-
exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
|
|
125
|
-
exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
|
|
126
|
-
exports.GEO_MAP = GEO_MAP;
|
|
127
|
-
exports.GROUPED_BAR = GROUPED_BAR;
|
|
128
|
-
exports.ICON_SIZE = ICON_SIZE;
|
|
129
|
-
exports.KEYBOARD_STEP = KEYBOARD_STEP;
|
|
130
|
-
exports.MAX_CATEGORIES = MAX_CATEGORIES;
|
|
131
|
-
exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
|
|
132
|
-
exports.MAX_SERIES = MAX_SERIES;
|
|
133
|
-
exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
|
|
134
|
-
exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
|
|
135
|
-
exports.PAGINATION = PAGINATION;
|
|
136
|
-
exports.RANGE_SLIDER = RANGE_SLIDER;
|
|
137
|
-
exports.SCATTER = SCATTER;
|
|
138
|
-
exports.SIDEBAR = SIDEBAR;
|
|
139
|
-
exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
|
|
140
|
-
exports.SVG_VIEWBOX = SVG_VIEWBOX;
|
|
141
|
-
exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
|
|
142
|
-
exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-XLK9Q";
|
|
4
|
+
const selected = "krc-selected-1CnTu";
|
|
5
|
+
const sm = "krc-sm-MR9Wa";
|
|
6
|
+
const md = "krc-md-Q8uX7";
|
|
7
|
+
const lg = "krc-lg-bMnPn";
|
|
8
|
+
const styles = {
|
|
9
|
+
root,
|
|
10
|
+
selected,
|
|
11
|
+
sm,
|
|
12
|
+
md,
|
|
13
|
+
lg
|
|
14
|
+
};
|
|
15
|
+
exports.default = styles;
|
|
16
|
+
exports.lg = lg;
|
|
17
|
+
exports.md = md;
|
|
18
|
+
exports.root = root;
|
|
19
|
+
exports.selected = selected;
|
|
20
|
+
exports.sm = sm;
|
|
143
21
|
//# sourceMappingURL=index65.cjs.map
|
package/dist/index65.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index65.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index65.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index65.js
CHANGED
|
@@ -1,143 +1,21 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
MIN_WIDTH: 960,
|
|
13
|
-
MIN_HEIGHT: 480,
|
|
14
|
-
MAX_WIDTH: 2400,
|
|
15
|
-
MAX_HEIGHT: 1300,
|
|
16
|
-
DEFAULT_WIDTH: 1500,
|
|
17
|
-
DEFAULT_HEIGHT: 820,
|
|
18
|
-
FALLBACK_WIDTH: 1400,
|
|
19
|
-
FALLBACK_HEIGHT: 800
|
|
20
|
-
};
|
|
21
|
-
const MAX_SANKEY_NODES = 150;
|
|
22
|
-
const MAX_SERIES = 20;
|
|
23
|
-
const MAX_CATEGORIES = 20;
|
|
24
|
-
const MAX_SUBCATEGORIES = 10;
|
|
25
|
-
const CHART_COLORS = [
|
|
26
|
-
"#FF6B5A",
|
|
27
|
-
"#5B8DEF",
|
|
28
|
-
"#4ECDC4",
|
|
29
|
-
"#F7B731",
|
|
30
|
-
"#A55EEA",
|
|
31
|
-
"#26DE81",
|
|
32
|
-
"#FC5C65",
|
|
33
|
-
"#45AAF2",
|
|
34
|
-
"#FD9644",
|
|
35
|
-
"#2BCBBA",
|
|
36
|
-
"#D1D8E0",
|
|
37
|
-
"#778CA3",
|
|
38
|
-
"#EB3B5A",
|
|
39
|
-
"#3867D6",
|
|
40
|
-
"#20BF6B",
|
|
41
|
-
"#F7B731",
|
|
42
|
-
"#8854D0",
|
|
43
|
-
"#0FB9B1",
|
|
44
|
-
"#FA8231",
|
|
45
|
-
"#4B6584"
|
|
46
|
-
];
|
|
47
|
-
const MIN_COLUMN_WIDTH = 40;
|
|
48
|
-
const SIDEBAR = {
|
|
49
|
-
WIDTH: 240,
|
|
50
|
-
COLLAPSED_WIDTH: 80
|
|
51
|
-
};
|
|
52
|
-
const COUNTERS_PAGE_SIZE = 100;
|
|
53
|
-
const TOAST_DURATION_MS = 3200;
|
|
54
|
-
const PAGINATION = {
|
|
55
|
-
/** Page numbers shown on each side of the current page. */
|
|
56
|
-
SIBLING_COUNT: 1,
|
|
57
|
-
/** Page numbers pinned at the first/last boundaries. */
|
|
58
|
-
BOUNDARY_COUNT: 1
|
|
59
|
-
};
|
|
60
|
-
const SCATTER = {
|
|
61
|
-
/** Marks drawn before deterministic sampling kicks in. */
|
|
62
|
-
MAX_POINTS: 2e3,
|
|
63
|
-
MIN_SYMBOL_SIZE: 6,
|
|
64
|
-
MAX_SYMBOL_SIZE: 28,
|
|
65
|
-
/** Symbol size used when no point carries a weight. */
|
|
66
|
-
BASE_SYMBOL_SIZE: 10
|
|
67
|
-
};
|
|
68
|
-
const GROUPED_BAR = {
|
|
69
|
-
/**
|
|
70
|
-
* Grid margins. `containLabel` reserves room for the tick labels only, so the
|
|
71
|
-
* value-axis name and the legend need their own margin or they get clipped.
|
|
72
|
-
*/
|
|
73
|
-
GRID_MARGIN: {
|
|
74
|
-
BASE: 8,
|
|
75
|
-
TOP: 16,
|
|
76
|
-
RIGHT: 16,
|
|
77
|
-
/** Extra left margin for a vertical value-axis name. */
|
|
78
|
-
VALUE_NAME_Y: 34,
|
|
79
|
-
/** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */
|
|
80
|
-
VALUE_NAME_X: 23,
|
|
81
|
-
LEGEND: 30
|
|
82
|
-
},
|
|
83
|
-
/** Distance from the value axis line to its name. */
|
|
84
|
-
AXIS_NAME_GAP: { X: 28, Y: 38 },
|
|
85
|
-
/** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */
|
|
86
|
-
MIN_BAR_HEIGHT: 2,
|
|
87
|
-
/** Diameter of the colour dot before each tooltip line. */
|
|
88
|
-
TOOLTIP_MARKER_SIZE: 10,
|
|
89
|
-
/** Space between the tooltip colour dot and the series name. */
|
|
90
|
-
TOOLTIP_MARKER_GAP: 4
|
|
91
|
-
};
|
|
92
|
-
const RANGE_SLIDER = {
|
|
93
|
-
DEFAULT_STEP: 1
|
|
94
|
-
};
|
|
95
|
-
const GEO_MAP = {
|
|
96
|
-
/** Markers drawn before deterministic sampling kicks in. */
|
|
97
|
-
MAX_POINTS: 2e3,
|
|
98
|
-
MIN_MARKER_RADIUS: 4,
|
|
99
|
-
MAX_MARKER_RADIUS: 18,
|
|
100
|
-
/** Radius used when no point carries a weight. */
|
|
101
|
-
BASE_MARKER_RADIUS: 8,
|
|
102
|
-
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
103
|
-
SELECTED_RADIUS_BOOST: 3,
|
|
104
|
-
MARKER_STROKE_WIDTH: 1,
|
|
105
|
-
SELECTED_STROKE_WIDTH: 3,
|
|
106
|
-
MARKER_FILL_OPACITY: 0.7,
|
|
107
|
-
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
108
|
-
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
109
|
-
DEFAULT_ZOOM: 13,
|
|
110
|
-
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
111
|
-
SINGLE_POINT_ZOOM: 14,
|
|
112
|
-
FIT_BOUNDS_PADDING: [24, 24]
|
|
113
|
-
};
|
|
114
|
-
const BASEMAP_TILES = {
|
|
115
|
-
light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
|
116
|
-
dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
|
|
117
|
-
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
1
|
+
const root = "krc-root-XLK9Q";
|
|
2
|
+
const selected = "krc-selected-1CnTu";
|
|
3
|
+
const sm = "krc-sm-MR9Wa";
|
|
4
|
+
const md = "krc-md-Q8uX7";
|
|
5
|
+
const lg = "krc-lg-bMnPn";
|
|
6
|
+
const styles = {
|
|
7
|
+
root,
|
|
8
|
+
selected,
|
|
9
|
+
sm,
|
|
10
|
+
md,
|
|
11
|
+
lg
|
|
118
12
|
};
|
|
119
13
|
export {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
GROUPED_BAR,
|
|
127
|
-
ICON_SIZE,
|
|
128
|
-
KEYBOARD_STEP,
|
|
129
|
-
MAX_CATEGORIES,
|
|
130
|
-
MAX_SANKEY_NODES,
|
|
131
|
-
MAX_SERIES,
|
|
132
|
-
MAX_SUBCATEGORIES,
|
|
133
|
-
MIN_COLUMN_WIDTH,
|
|
134
|
-
PAGINATION,
|
|
135
|
-
RANGE_SLIDER,
|
|
136
|
-
SCATTER,
|
|
137
|
-
SIDEBAR,
|
|
138
|
-
SVG_STROKE_WIDTH,
|
|
139
|
-
SVG_VIEWBOX,
|
|
140
|
-
TOAST_DURATION_MS,
|
|
141
|
-
VIEWPORT_MARGIN
|
|
14
|
+
styles as default,
|
|
15
|
+
lg,
|
|
16
|
+
md,
|
|
17
|
+
root,
|
|
18
|
+
selected,
|
|
19
|
+
sm
|
|
142
20
|
};
|
|
143
21
|
//# sourceMappingURL=index65.js.map
|
package/dist/index65.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index65.js","sources":[
|
|
1
|
+
{"version":3,"file":"index65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index66.cjs
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
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 ellipsis = "krc-ellipsis-vMrZ6";
|
|
3
|
+
const root = "krc-root-oc0XP";
|
|
4
|
+
const success = "krc-success-JzpGX";
|
|
5
|
+
const warning = "krc-warning-lTskX";
|
|
6
|
+
const danger = "krc-danger-zFPHk";
|
|
7
|
+
const info = "krc-info-k9uTn";
|
|
9
8
|
const styles = {
|
|
10
9
|
root,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ellipsis
|
|
10
|
+
success,
|
|
11
|
+
warning,
|
|
12
|
+
danger,
|
|
13
|
+
info
|
|
16
14
|
};
|
|
17
|
-
exports.
|
|
15
|
+
exports.danger = danger;
|
|
18
16
|
exports.default = styles;
|
|
19
|
-
exports.
|
|
20
|
-
exports.isActive = isActive;
|
|
21
|
-
exports.list = list;
|
|
22
|
-
exports.page = page;
|
|
17
|
+
exports.info = info;
|
|
23
18
|
exports.root = root;
|
|
19
|
+
exports.success = success;
|
|
20
|
+
exports.warning = warning;
|
|
24
21
|
//# sourceMappingURL=index66.cjs.map
|
package/dist/index66.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index66.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index66.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|