@ktnpm_devops/react-component 0.13.0 → 0.13.1
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/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.cjs +39 -24
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +38 -23
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +58 -20
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +57 -19
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +132 -12
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +132 -12
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +27 -42
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +28 -43
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +35 -24
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +34 -23
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +43 -54
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +42 -53
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +24 -30
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +23 -29
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +20 -16
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +19 -15
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +14 -10
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +13 -9
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +56 -14
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +56 -14
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +28 -16
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +29 -17
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +11 -2
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +12 -3
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +20 -2
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +20 -2
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +13 -19
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +14 -20
- package/dist/index113.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- 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 +2 -2
- package/dist/index29.js +2 -2
- package/dist/index30.cjs +7 -7
- package/dist/index30.js +7 -7
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index33.cjs +2 -2
- package/dist/index33.js +2 -2
- package/dist/index34.cjs +2 -2
- package/dist/index34.js +2 -2
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +1 -1
- 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 +2 -2
- package/dist/index39.js +2 -2
- package/dist/index40.cjs +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index42.cjs +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.cjs +4 -4
- package/dist/index43.js +4 -4
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +2 -2
- package/dist/index47.js +2 -2
- package/dist/index48.cjs +2 -2
- package/dist/index48.js +2 -2
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.cjs +3 -3
- package/dist/index50.js +3 -3
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.cjs +3 -3
- package/dist/index53.js +3 -3
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +1 -1
- package/dist/index56.cjs +2 -2
- package/dist/index56.js +2 -2
- package/dist/index58.cjs +15 -3
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +15 -3
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +116 -25
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +114 -23
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +13 -64
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +13 -64
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +10 -22
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +11 -23
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +11 -20
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +11 -20
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +20 -11
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +20 -11
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +34 -13
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +34 -13
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +2 -17
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +3 -18
- package/dist/index65.js.map +1 -1
- package/dist/index67.cjs +10 -116
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +8 -114
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +19 -19
- package/dist/index68.js +19 -19
- package/dist/index69.cjs +19 -19
- package/dist/index69.js +20 -20
- package/dist/index70.cjs +16 -10
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +16 -10
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +13 -16
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +14 -17
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +2 -80
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +3 -81
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +28 -46
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +29 -47
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +36 -54
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +36 -54
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +34 -13
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +35 -14
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +22 -28
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +22 -28
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +1 -1
- package/dist/index78.cjs +16 -34
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +17 -35
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +8 -8
- package/dist/index79.js +8 -8
- package/dist/index80.cjs +64 -16
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +64 -16
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +15 -15
- package/dist/index81.js +15 -15
- package/dist/index82.cjs +46 -4
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +47 -5
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +54 -30
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +54 -30
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +21 -36
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +21 -36
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +19 -37
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +20 -38
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +75 -48
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +75 -48
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +6 -39
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +5 -38
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +21 -92
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +20 -91
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +28 -34
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +28 -34
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +22 -116
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +21 -115
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +116 -43
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +115 -42
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +35 -32
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +35 -32
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +43 -134
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +42 -133
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +4 -40
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +5 -41
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +16 -28
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +16 -28
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +49 -16
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +49 -16
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +25 -13
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +26 -14
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +30 -26
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +30 -26
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +85 -36
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +85 -36
- package/dist/index99.js.map +1 -1
- package/package.json +4 -1
package/dist/index52.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { clsx } from "./index57.js";
|
|
3
|
-
import styles from "./
|
|
3
|
+
import styles from "./index67.js";
|
|
4
4
|
const TableContainer = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: clsx(styles.container, className), ...props });
|
|
5
5
|
const Table = ({ className, ...props }) => /* @__PURE__ */ jsx("table", { className: clsx(styles.root, className), ...props });
|
|
6
6
|
export {
|
package/dist/index53.cjs
CHANGED
|
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index57.cjs");
|
|
6
6
|
const ReactECharts = require("echarts-for-react");
|
|
7
|
-
const constants = require("./
|
|
8
|
-
const buildChartOption = require("./
|
|
9
|
-
const TemporalTrendChartCard_module = require("./
|
|
7
|
+
const constants = require("./index59.cjs");
|
|
8
|
+
const buildChartOption = require("./index91.cjs");
|
|
9
|
+
const TemporalTrendChartCard_module = require("./index92.cjs");
|
|
10
10
|
function TemporalTrendChartCard({
|
|
11
11
|
title,
|
|
12
12
|
data,
|
package/dist/index53.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useCallback } from "react";
|
|
3
3
|
import { clsx } from "./index57.js";
|
|
4
4
|
import ReactECharts from "echarts-for-react";
|
|
5
|
-
import { MAX_SERIES } from "./
|
|
6
|
-
import { groupByCategory, buildTemporalTrendOption } from "./
|
|
7
|
-
import styles from "./
|
|
5
|
+
import { MAX_SERIES } from "./index59.js";
|
|
6
|
+
import { groupByCategory, buildTemporalTrendOption } from "./index91.js";
|
|
7
|
+
import styles from "./index92.js";
|
|
8
8
|
function TemporalTrendChartCard({
|
|
9
9
|
title,
|
|
10
10
|
data,
|
package/dist/index54.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index57.cjs");
|
|
6
|
-
const Textarea_module = require("./
|
|
6
|
+
const Textarea_module = require("./index65.cjs");
|
|
7
7
|
const Textarea = react.forwardRef(
|
|
8
8
|
({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("textarea", { ref, className: clsx.clsx(Textarea_module.default.root, className), ...props })
|
|
9
9
|
);
|
package/dist/index54.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index57.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index65.js";
|
|
5
5
|
const Textarea = forwardRef(
|
|
6
6
|
({ className, ...props }, ref) => /* @__PURE__ */ jsx("textarea", { ref, className: clsx(styles.root, className), ...props })
|
|
7
7
|
);
|
package/dist/index55.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index57.cjs");
|
|
6
|
-
const Toast_module = require("./
|
|
6
|
+
const Toast_module = require("./index58.cjs");
|
|
7
7
|
const Toast = react.forwardRef(
|
|
8
8
|
({ variant = "default", className, role = "status", children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
9
9
|
"div",
|
package/dist/index55.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index57.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index58.js";
|
|
5
5
|
const Toast = forwardRef(
|
|
6
6
|
({ variant = "default", className, role = "status", children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
7
|
"div",
|
package/dist/index56.cjs
CHANGED
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const reactDom = require("react-dom");
|
|
6
|
-
const constants = require("./
|
|
6
|
+
const constants = require("./index59.cjs");
|
|
7
7
|
const Toast = require("./index55.cjs");
|
|
8
|
-
const Toast_module = require("./
|
|
8
|
+
const Toast_module = require("./index58.cjs");
|
|
9
9
|
const ToastContext = react.createContext(null);
|
|
10
10
|
const ToastProvider = ({
|
|
11
11
|
children,
|
package/dist/index56.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useCallback, useEffect, useContext, createContext } from "react";
|
|
3
3
|
import { createPortal } from "react-dom";
|
|
4
|
-
import { TOAST_DURATION_MS } from "./
|
|
4
|
+
import { TOAST_DURATION_MS } from "./index59.js";
|
|
5
5
|
import { Toast } from "./index55.js";
|
|
6
|
-
import styles from "./
|
|
6
|
+
import styles from "./index58.js";
|
|
7
7
|
const ToastContext = createContext(null);
|
|
8
8
|
const ToastProvider = ({
|
|
9
9
|
children,
|
package/dist/index58.cjs
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const region = "krc-region-4A3qS";
|
|
4
|
+
const toast = "krc-toast-VuzaK";
|
|
5
|
+
const toastIn = "krc-toast-in-TA6-r";
|
|
6
|
+
const success = "krc-success-oDnTy";
|
|
7
|
+
const error = "krc-error-dSTQn";
|
|
4
8
|
const styles = {
|
|
5
|
-
|
|
9
|
+
region,
|
|
10
|
+
toast,
|
|
11
|
+
toastIn,
|
|
12
|
+
success,
|
|
13
|
+
error
|
|
6
14
|
};
|
|
7
15
|
exports.default = styles;
|
|
8
|
-
exports.
|
|
16
|
+
exports.error = error;
|
|
17
|
+
exports.region = region;
|
|
18
|
+
exports.success = success;
|
|
19
|
+
exports.toast = toast;
|
|
20
|
+
exports.toastIn = toastIn;
|
|
9
21
|
//# sourceMappingURL=index58.cjs.map
|
package/dist/index58.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index58.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index58.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index58.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
const
|
|
1
|
+
const region = "krc-region-4A3qS";
|
|
2
|
+
const toast = "krc-toast-VuzaK";
|
|
3
|
+
const toastIn = "krc-toast-in-TA6-r";
|
|
4
|
+
const success = "krc-success-oDnTy";
|
|
5
|
+
const error = "krc-error-dSTQn";
|
|
2
6
|
const styles = {
|
|
3
|
-
|
|
7
|
+
region,
|
|
8
|
+
toast,
|
|
9
|
+
toastIn,
|
|
10
|
+
success,
|
|
11
|
+
error
|
|
4
12
|
};
|
|
5
13
|
export {
|
|
6
14
|
styles as default,
|
|
7
|
-
|
|
15
|
+
error,
|
|
16
|
+
region,
|
|
17
|
+
success,
|
|
18
|
+
toast,
|
|
19
|
+
toastIn
|
|
8
20
|
};
|
|
9
21
|
//# sourceMappingURL=index58.js.map
|
package/dist/index58.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index58.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index58.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index59.cjs
CHANGED
|
@@ -1,27 +1,118 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const ICON_SIZE = {
|
|
4
|
+
SM: 14,
|
|
5
|
+
MD: 16,
|
|
6
|
+
LG: 18
|
|
7
|
+
};
|
|
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
|
+
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 RANGE_SLIDER = {
|
|
71
|
+
DEFAULT_STEP: 1
|
|
72
|
+
};
|
|
73
|
+
const GEO_MAP = {
|
|
74
|
+
/** Markers drawn before deterministic sampling kicks in. */
|
|
75
|
+
MAX_POINTS: 2e3,
|
|
76
|
+
MIN_MARKER_RADIUS: 4,
|
|
77
|
+
MAX_MARKER_RADIUS: 18,
|
|
78
|
+
/** Radius used when no point carries a weight. */
|
|
79
|
+
BASE_MARKER_RADIUS: 8,
|
|
80
|
+
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
81
|
+
SELECTED_RADIUS_BOOST: 3,
|
|
82
|
+
MARKER_STROKE_WIDTH: 1,
|
|
83
|
+
SELECTED_STROKE_WIDTH: 3,
|
|
84
|
+
MARKER_FILL_OPACITY: 0.7,
|
|
85
|
+
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
86
|
+
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
87
|
+
DEFAULT_ZOOM: 13,
|
|
88
|
+
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
89
|
+
SINGLE_POINT_ZOOM: 14,
|
|
90
|
+
FIT_BOUNDS_PADDING: [24, 24]
|
|
91
|
+
};
|
|
92
|
+
const BASEMAP_TILES = {
|
|
93
|
+
light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
|
94
|
+
dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
|
|
95
|
+
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
96
|
+
};
|
|
97
|
+
exports.BASEMAP_TILES = BASEMAP_TILES;
|
|
98
|
+
exports.CHART_COLORS = CHART_COLORS;
|
|
99
|
+
exports.CHART_MODAL = CHART_MODAL;
|
|
100
|
+
exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
|
|
101
|
+
exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
|
|
102
|
+
exports.GEO_MAP = GEO_MAP;
|
|
103
|
+
exports.ICON_SIZE = ICON_SIZE;
|
|
104
|
+
exports.KEYBOARD_STEP = KEYBOARD_STEP;
|
|
105
|
+
exports.MAX_CATEGORIES = MAX_CATEGORIES;
|
|
106
|
+
exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
|
|
107
|
+
exports.MAX_SERIES = MAX_SERIES;
|
|
108
|
+
exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
|
|
109
|
+
exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
|
|
110
|
+
exports.PAGINATION = PAGINATION;
|
|
111
|
+
exports.RANGE_SLIDER = RANGE_SLIDER;
|
|
112
|
+
exports.SCATTER = SCATTER;
|
|
113
|
+
exports.SIDEBAR = SIDEBAR;
|
|
114
|
+
exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
|
|
115
|
+
exports.SVG_VIEWBOX = SVG_VIEWBOX;
|
|
116
|
+
exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
|
|
117
|
+
exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
|
|
27
118
|
//# sourceMappingURL=index59.cjs.map
|
package/dist/index59.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index59.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\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/** 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"],"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;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,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;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index59.js
CHANGED
|
@@ -1,27 +1,118 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
const ICON_SIZE = {
|
|
2
|
+
SM: 14,
|
|
3
|
+
MD: 16,
|
|
4
|
+
LG: 18
|
|
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 RANGE_SLIDER = {
|
|
69
|
+
DEFAULT_STEP: 1
|
|
70
|
+
};
|
|
71
|
+
const GEO_MAP = {
|
|
72
|
+
/** Markers drawn before deterministic sampling kicks in. */
|
|
73
|
+
MAX_POINTS: 2e3,
|
|
74
|
+
MIN_MARKER_RADIUS: 4,
|
|
75
|
+
MAX_MARKER_RADIUS: 18,
|
|
76
|
+
/** Radius used when no point carries a weight. */
|
|
77
|
+
BASE_MARKER_RADIUS: 8,
|
|
78
|
+
/** Extra radius on a selected marker, so colour is never the only cue. */
|
|
79
|
+
SELECTED_RADIUS_BOOST: 3,
|
|
80
|
+
MARKER_STROKE_WIDTH: 1,
|
|
81
|
+
SELECTED_STROKE_WIDTH: 3,
|
|
82
|
+
MARKER_FILL_OPACITY: 0.7,
|
|
83
|
+
/** Fallback view when there is nothing to fit to (roughly central Spain). */
|
|
84
|
+
DEFAULT_CENTER: [40.4168, -3.7038],
|
|
85
|
+
DEFAULT_ZOOM: 13,
|
|
86
|
+
/** `fitBounds` on a single point collapses to max zoom; this caps it. */
|
|
87
|
+
SINGLE_POINT_ZOOM: 14,
|
|
88
|
+
FIT_BOUNDS_PADDING: [24, 24]
|
|
89
|
+
};
|
|
90
|
+
const BASEMAP_TILES = {
|
|
91
|
+
light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
|
|
92
|
+
dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
|
|
93
|
+
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
|
|
16
94
|
};
|
|
17
95
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
96
|
+
BASEMAP_TILES,
|
|
97
|
+
CHART_COLORS,
|
|
98
|
+
CHART_MODAL,
|
|
99
|
+
CONTEXT_MENU_MARGIN,
|
|
100
|
+
COUNTERS_PAGE_SIZE,
|
|
101
|
+
GEO_MAP,
|
|
102
|
+
ICON_SIZE,
|
|
103
|
+
KEYBOARD_STEP,
|
|
104
|
+
MAX_CATEGORIES,
|
|
105
|
+
MAX_SANKEY_NODES,
|
|
106
|
+
MAX_SERIES,
|
|
107
|
+
MAX_SUBCATEGORIES,
|
|
108
|
+
MIN_COLUMN_WIDTH,
|
|
109
|
+
PAGINATION,
|
|
110
|
+
RANGE_SLIDER,
|
|
111
|
+
SCATTER,
|
|
112
|
+
SIDEBAR,
|
|
113
|
+
SVG_STROKE_WIDTH,
|
|
114
|
+
SVG_VIEWBOX,
|
|
115
|
+
TOAST_DURATION_MS,
|
|
116
|
+
VIEWPORT_MARGIN
|
|
26
117
|
};
|
|
27
118
|
//# sourceMappingURL=index59.js.map
|
package/dist/index59.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index59.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index59.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', '#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\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/** 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"],"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;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,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;"}
|
package/dist/index60.cjs
CHANGED
|
@@ -1,72 +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 gapLg = "krc-gapLg-ehuIZ";
|
|
9
|
-
const gapXl = "krc-gapXl-kNEyc";
|
|
10
|
-
const alignStart = "krc-alignStart-q6fMC";
|
|
11
|
-
const alignCenter = "krc-alignCenter-Py2Kt";
|
|
12
|
-
const alignEnd = "krc-alignEnd-ialGn";
|
|
13
|
-
const alignStretch = "krc-alignStretch-J-rq4";
|
|
14
|
-
const alignBaseline = "krc-alignBaseline-Hg-4L";
|
|
15
|
-
const justifyStart = "krc-justifyStart-tBqbD";
|
|
16
|
-
const justifyCenter = "krc-justifyCenter-6QDaO";
|
|
17
|
-
const justifyEnd = "krc-justifyEnd-2tbcB";
|
|
18
|
-
const justifyBetween = "krc-justifyBetween-5W1AJ";
|
|
19
|
-
const justifyAround = "krc-justifyAround-AMU1m";
|
|
20
|
-
const justifyEvenly = "krc-justifyEvenly-Vj3C-";
|
|
21
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
22
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
23
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
24
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
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";
|
|
25
8
|
const styles = {
|
|
26
9
|
root,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
gapLg,
|
|
32
|
-
gapXl,
|
|
33
|
-
alignStart,
|
|
34
|
-
alignCenter,
|
|
35
|
-
alignEnd,
|
|
36
|
-
alignStretch,
|
|
37
|
-
alignBaseline,
|
|
38
|
-
justifyStart,
|
|
39
|
-
justifyCenter,
|
|
40
|
-
justifyEnd,
|
|
41
|
-
justifyBetween,
|
|
42
|
-
justifyAround,
|
|
43
|
-
justifyEvenly,
|
|
44
|
-
wrap,
|
|
45
|
-
nowrap,
|
|
46
|
-
dirRow,
|
|
47
|
-
dirColumn
|
|
10
|
+
selected,
|
|
11
|
+
sm,
|
|
12
|
+
md,
|
|
13
|
+
lg
|
|
48
14
|
};
|
|
49
|
-
exports.alignBaseline = alignBaseline;
|
|
50
|
-
exports.alignCenter = alignCenter;
|
|
51
|
-
exports.alignEnd = alignEnd;
|
|
52
|
-
exports.alignStart = alignStart;
|
|
53
|
-
exports.alignStretch = alignStretch;
|
|
54
15
|
exports.default = styles;
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.gapLg = gapLg;
|
|
58
|
-
exports.gapMd = gapMd;
|
|
59
|
-
exports.gapNone = gapNone;
|
|
60
|
-
exports.gapSm = gapSm;
|
|
61
|
-
exports.gapXl = gapXl;
|
|
62
|
-
exports.gapXs = gapXs;
|
|
63
|
-
exports.justifyAround = justifyAround;
|
|
64
|
-
exports.justifyBetween = justifyBetween;
|
|
65
|
-
exports.justifyCenter = justifyCenter;
|
|
66
|
-
exports.justifyEnd = justifyEnd;
|
|
67
|
-
exports.justifyEvenly = justifyEvenly;
|
|
68
|
-
exports.justifyStart = justifyStart;
|
|
69
|
-
exports.nowrap = nowrap;
|
|
16
|
+
exports.lg = lg;
|
|
17
|
+
exports.md = md;
|
|
70
18
|
exports.root = root;
|
|
71
|
-
exports.
|
|
19
|
+
exports.selected = selected;
|
|
20
|
+
exports.sm = sm;
|
|
72
21
|
//# sourceMappingURL=index60.cjs.map
|
package/dist/index60.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index60.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index60.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index60.js
CHANGED
|
@@ -1,72 +1,21 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const gapLg = "krc-gapLg-ehuIZ";
|
|
7
|
-
const gapXl = "krc-gapXl-kNEyc";
|
|
8
|
-
const alignStart = "krc-alignStart-q6fMC";
|
|
9
|
-
const alignCenter = "krc-alignCenter-Py2Kt";
|
|
10
|
-
const alignEnd = "krc-alignEnd-ialGn";
|
|
11
|
-
const alignStretch = "krc-alignStretch-J-rq4";
|
|
12
|
-
const alignBaseline = "krc-alignBaseline-Hg-4L";
|
|
13
|
-
const justifyStart = "krc-justifyStart-tBqbD";
|
|
14
|
-
const justifyCenter = "krc-justifyCenter-6QDaO";
|
|
15
|
-
const justifyEnd = "krc-justifyEnd-2tbcB";
|
|
16
|
-
const justifyBetween = "krc-justifyBetween-5W1AJ";
|
|
17
|
-
const justifyAround = "krc-justifyAround-AMU1m";
|
|
18
|
-
const justifyEvenly = "krc-justifyEvenly-Vj3C-";
|
|
19
|
-
const wrap = "krc-wrap-Q4txZ";
|
|
20
|
-
const nowrap = "krc-nowrap-BUcfT";
|
|
21
|
-
const dirRow = "krc-dirRow-NBoPO";
|
|
22
|
-
const dirColumn = "krc-dirColumn-gJ7qS";
|
|
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";
|
|
23
6
|
const styles = {
|
|
24
7
|
root,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
gapLg,
|
|
30
|
-
gapXl,
|
|
31
|
-
alignStart,
|
|
32
|
-
alignCenter,
|
|
33
|
-
alignEnd,
|
|
34
|
-
alignStretch,
|
|
35
|
-
alignBaseline,
|
|
36
|
-
justifyStart,
|
|
37
|
-
justifyCenter,
|
|
38
|
-
justifyEnd,
|
|
39
|
-
justifyBetween,
|
|
40
|
-
justifyAround,
|
|
41
|
-
justifyEvenly,
|
|
42
|
-
wrap,
|
|
43
|
-
nowrap,
|
|
44
|
-
dirRow,
|
|
45
|
-
dirColumn
|
|
8
|
+
selected,
|
|
9
|
+
sm,
|
|
10
|
+
md,
|
|
11
|
+
lg
|
|
46
12
|
};
|
|
47
13
|
export {
|
|
48
|
-
alignBaseline,
|
|
49
|
-
alignCenter,
|
|
50
|
-
alignEnd,
|
|
51
|
-
alignStart,
|
|
52
|
-
alignStretch,
|
|
53
14
|
styles as default,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
gapLg,
|
|
57
|
-
gapMd,
|
|
58
|
-
gapNone,
|
|
59
|
-
gapSm,
|
|
60
|
-
gapXl,
|
|
61
|
-
gapXs,
|
|
62
|
-
justifyAround,
|
|
63
|
-
justifyBetween,
|
|
64
|
-
justifyCenter,
|
|
65
|
-
justifyEnd,
|
|
66
|
-
justifyEvenly,
|
|
67
|
-
justifyStart,
|
|
68
|
-
nowrap,
|
|
15
|
+
lg,
|
|
16
|
+
md,
|
|
69
17
|
root,
|
|
70
|
-
|
|
18
|
+
selected,
|
|
19
|
+
sm
|
|
71
20
|
};
|
|
72
21
|
//# sourceMappingURL=index60.js.map
|