@ktnpm_devops/react-component 0.9.0 → 0.10.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.
Files changed (320) hide show
  1. package/dist/charts/ScatterChartCard/ScatterChartCard.d.ts +7 -0
  2. package/dist/charts/ScatterChartCard/ScatterChartCard.d.ts.map +1 -0
  3. package/dist/charts/ScatterChartCard/ScatterChartCard.types.d.ts +31 -0
  4. package/dist/charts/ScatterChartCard/ScatterChartCard.types.d.ts.map +1 -0
  5. package/dist/charts/ScatterChartCard/buildScatterOption.d.ts +67 -0
  6. package/dist/charts/ScatterChartCard/buildScatterOption.d.ts.map +1 -0
  7. package/dist/charts/ScatterChartCard/foldPoints.d.ts +23 -0
  8. package/dist/charts/ScatterChartCard/foldPoints.d.ts.map +1 -0
  9. package/dist/charts/ScatterChartCard/index.d.ts +3 -0
  10. package/dist/charts/ScatterChartCard/index.d.ts.map +1 -0
  11. package/dist/constants.d.ts +9 -0
  12. package/dist/constants.d.ts.map +1 -1
  13. package/dist/index.cjs +15 -13
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.ts +3 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +15 -13
  18. package/dist/index.js.map +1 -1
  19. package/dist/index10.cjs +2 -2
  20. package/dist/index10.js +2 -2
  21. package/dist/index11.cjs +2 -2
  22. package/dist/index11.js +2 -2
  23. package/dist/index12.cjs +2 -2
  24. package/dist/index12.js +2 -2
  25. package/dist/index13.cjs +2 -2
  26. package/dist/index13.js +2 -2
  27. package/dist/index14.cjs +2 -2
  28. package/dist/index14.js +2 -2
  29. package/dist/index15.cjs +3 -3
  30. package/dist/index15.js +3 -3
  31. package/dist/index16.cjs +2 -2
  32. package/dist/index16.js +2 -2
  33. package/dist/index17.cjs +2 -2
  34. package/dist/index17.js +2 -2
  35. package/dist/index18.cjs +2 -2
  36. package/dist/index18.js +2 -2
  37. package/dist/index19.cjs +2 -2
  38. package/dist/index19.js +2 -2
  39. package/dist/index20.cjs +3 -3
  40. package/dist/index20.js +3 -3
  41. package/dist/index21.cjs +3 -3
  42. package/dist/index21.js +3 -3
  43. package/dist/index22.cjs +3 -3
  44. package/dist/index22.js +3 -3
  45. package/dist/index23.cjs +2 -2
  46. package/dist/index23.js +2 -2
  47. package/dist/index24.cjs +2 -2
  48. package/dist/index24.js +2 -2
  49. package/dist/index25.cjs +2 -2
  50. package/dist/index25.js +2 -2
  51. package/dist/index26.cjs +3 -3
  52. package/dist/index26.js +3 -3
  53. package/dist/index27.cjs +2 -2
  54. package/dist/index27.js +2 -2
  55. package/dist/index28.cjs +2 -2
  56. package/dist/index28.js +2 -2
  57. package/dist/index29.cjs +3 -3
  58. package/dist/index29.js +3 -3
  59. package/dist/index30.cjs +2 -2
  60. package/dist/index30.js +2 -2
  61. package/dist/index31.cjs +3 -3
  62. package/dist/index31.js +3 -3
  63. package/dist/index32.cjs +2 -2
  64. package/dist/index32.js +2 -2
  65. package/dist/index33.cjs +3 -3
  66. package/dist/index33.js +3 -3
  67. package/dist/index34.cjs +3 -3
  68. package/dist/index34.js +3 -3
  69. package/dist/index35.cjs +2 -2
  70. package/dist/index35.js +2 -2
  71. package/dist/index36.cjs +2 -2
  72. package/dist/index36.js +2 -2
  73. package/dist/index37.cjs +3 -3
  74. package/dist/index37.js +3 -3
  75. package/dist/index38.cjs +94 -68
  76. package/dist/index38.cjs.map +1 -1
  77. package/dist/index38.js +96 -70
  78. package/dist/index38.js.map +1 -1
  79. package/dist/index39.cjs +71 -7
  80. package/dist/index39.cjs.map +1 -1
  81. package/dist/index39.js +72 -8
  82. package/dist/index39.js.map +1 -1
  83. package/dist/index40.cjs +8 -17
  84. package/dist/index40.cjs.map +1 -1
  85. package/dist/index40.js +9 -18
  86. package/dist/index40.js.map +1 -1
  87. package/dist/index41.cjs +15 -75
  88. package/dist/index41.cjs.map +1 -1
  89. package/dist/index41.js +16 -76
  90. package/dist/index41.js.map +1 -1
  91. package/dist/index42.cjs +68 -134
  92. package/dist/index42.cjs.map +1 -1
  93. package/dist/index42.js +70 -136
  94. package/dist/index42.js.map +1 -1
  95. package/dist/index43.cjs +137 -58
  96. package/dist/index43.cjs.map +1 -1
  97. package/dist/index43.js +138 -59
  98. package/dist/index43.js.map +1 -1
  99. package/dist/index44.cjs +61 -102
  100. package/dist/index44.cjs.map +1 -1
  101. package/dist/index44.js +62 -103
  102. package/dist/index44.js.map +1 -1
  103. package/dist/index45.cjs +102 -44
  104. package/dist/index45.cjs.map +1 -1
  105. package/dist/index45.js +103 -45
  106. package/dist/index45.js.map +1 -1
  107. package/dist/index46.cjs +47 -6
  108. package/dist/index46.cjs.map +1 -1
  109. package/dist/index46.js +48 -7
  110. package/dist/index46.js.map +1 -1
  111. package/dist/index47.cjs +6 -216
  112. package/dist/index47.cjs.map +1 -1
  113. package/dist/index47.js +7 -217
  114. package/dist/index47.js.map +1 -1
  115. package/dist/index48.cjs +215 -7
  116. package/dist/index48.cjs.map +1 -1
  117. package/dist/index48.js +217 -9
  118. package/dist/index48.js.map +1 -1
  119. package/dist/index49.cjs +6 -15
  120. package/dist/index49.cjs.map +1 -1
  121. package/dist/index49.js +6 -15
  122. package/dist/index49.js.map +1 -1
  123. package/dist/index50.cjs +15 -64
  124. package/dist/index50.cjs.map +1 -1
  125. package/dist/index50.js +17 -66
  126. package/dist/index50.js.map +1 -1
  127. package/dist/index51.cjs +67 -15
  128. package/dist/index51.cjs.map +1 -1
  129. package/dist/index51.js +66 -14
  130. package/dist/index51.js.map +1 -1
  131. package/dist/index52.cjs +15 -27
  132. package/dist/index52.cjs.map +1 -1
  133. package/dist/index52.js +15 -27
  134. package/dist/index52.js.map +1 -1
  135. package/dist/index53.cjs +21 -18
  136. package/dist/index53.cjs.map +1 -1
  137. package/dist/index53.js +22 -19
  138. package/dist/index53.js.map +1 -1
  139. package/dist/index54.cjs +2 -23
  140. package/dist/index54.cjs.map +1 -1
  141. package/dist/index54.js +3 -24
  142. package/dist/index54.js.map +1 -1
  143. package/dist/index55.cjs +7 -4
  144. package/dist/index55.cjs.map +1 -1
  145. package/dist/index55.js +7 -4
  146. package/dist/index55.js.map +1 -1
  147. package/dist/index56.cjs +18 -80
  148. package/dist/index56.cjs.map +1 -1
  149. package/dist/index56.js +17 -79
  150. package/dist/index56.js.map +1 -1
  151. package/dist/index57.cjs +2 -29
  152. package/dist/index57.cjs.map +1 -1
  153. package/dist/index57.js +3 -30
  154. package/dist/index57.js.map +1 -1
  155. package/dist/index58.cjs +3 -15
  156. package/dist/index58.cjs.map +1 -1
  157. package/dist/index58.js +3 -15
  158. package/dist/index58.js.map +1 -1
  159. package/dist/index59.cjs +89 -18
  160. package/dist/index59.cjs.map +1 -1
  161. package/dist/index59.js +88 -17
  162. package/dist/index59.js.map +1 -1
  163. package/dist/index60.cjs +19 -10
  164. package/dist/index60.cjs.map +1 -1
  165. package/dist/index60.js +20 -11
  166. package/dist/index60.js.map +1 -1
  167. package/dist/index61.cjs +37 -13
  168. package/dist/index61.cjs.map +1 -1
  169. package/dist/index61.js +37 -13
  170. package/dist/index61.js.map +1 -1
  171. package/dist/index62.cjs +15 -48
  172. package/dist/index62.cjs.map +1 -1
  173. package/dist/index62.js +16 -49
  174. package/dist/index62.js.map +1 -1
  175. package/dist/index63.cjs +1 -1
  176. package/dist/index63.js +1 -1
  177. package/dist/index64.cjs +20 -2
  178. package/dist/index64.cjs.map +1 -1
  179. package/dist/index64.js +20 -2
  180. package/dist/index64.js.map +1 -1
  181. package/dist/index65.cjs +65 -5
  182. package/dist/index65.cjs.map +1 -1
  183. package/dist/index65.js +66 -6
  184. package/dist/index65.js.map +1 -1
  185. package/dist/index66.cjs +17 -44
  186. package/dist/index66.cjs.map +1 -1
  187. package/dist/index66.js +18 -45
  188. package/dist/index66.js.map +1 -1
  189. package/dist/index67.cjs +5 -20
  190. package/dist/index67.cjs.map +1 -1
  191. package/dist/index67.js +5 -20
  192. package/dist/index67.js.map +1 -1
  193. package/dist/index68.cjs +10 -19
  194. package/dist/index68.cjs.map +1 -1
  195. package/dist/index68.js +11 -20
  196. package/dist/index68.js.map +1 -1
  197. package/dist/index69.cjs +1 -1
  198. package/dist/index69.js +1 -1
  199. package/dist/index70.cjs +29 -14
  200. package/dist/index70.cjs.map +1 -1
  201. package/dist/index70.js +29 -14
  202. package/dist/index70.js.map +1 -1
  203. package/dist/index71.cjs +11 -2
  204. package/dist/index71.cjs.map +1 -1
  205. package/dist/index71.js +11 -2
  206. package/dist/index71.js.map +1 -1
  207. package/dist/index72.cjs +18 -30
  208. package/dist/index72.cjs.map +1 -1
  209. package/dist/index72.js +18 -30
  210. package/dist/index72.js.map +1 -1
  211. package/dist/index73.cjs +46 -64
  212. package/dist/index73.cjs.map +1 -1
  213. package/dist/index73.js +46 -64
  214. package/dist/index73.js.map +1 -1
  215. package/dist/index74.cjs +17 -2
  216. package/dist/index74.cjs.map +1 -1
  217. package/dist/index74.js +18 -3
  218. package/dist/index74.js.map +1 -1
  219. package/dist/index75.cjs +39 -39
  220. package/dist/index75.cjs.map +1 -1
  221. package/dist/index75.js +38 -38
  222. package/dist/index75.js.map +1 -1
  223. package/dist/index76.cjs +92 -18
  224. package/dist/index76.cjs.map +1 -1
  225. package/dist/index76.js +91 -17
  226. package/dist/index76.js.map +1 -1
  227. package/dist/index77.cjs +34 -16
  228. package/dist/index77.cjs.map +1 -1
  229. package/dist/index77.js +35 -17
  230. package/dist/index77.js.map +1 -1
  231. package/dist/index78.cjs +52 -19
  232. package/dist/index78.cjs.map +1 -1
  233. package/dist/index78.js +53 -20
  234. package/dist/index78.js.map +1 -1
  235. package/dist/index79.cjs +26 -77
  236. package/dist/index79.cjs.map +1 -1
  237. package/dist/index79.js +26 -77
  238. package/dist/index79.js.map +1 -1
  239. package/dist/index80.cjs +134 -31
  240. package/dist/index80.cjs.map +1 -1
  241. package/dist/index80.js +133 -30
  242. package/dist/index80.js.map +1 -1
  243. package/dist/index81.cjs +39 -48
  244. package/dist/index81.cjs.map +1 -1
  245. package/dist/index81.js +39 -48
  246. package/dist/index81.js.map +1 -1
  247. package/dist/index82.cjs +36 -15
  248. package/dist/index82.cjs.map +1 -1
  249. package/dist/index82.js +37 -16
  250. package/dist/index82.js.map +1 -1
  251. package/dist/index83.cjs +25 -4
  252. package/dist/index83.cjs.map +1 -1
  253. package/dist/index83.js +26 -5
  254. package/dist/index83.js.map +1 -1
  255. package/dist/index84.cjs +32 -26
  256. package/dist/index84.cjs.map +1 -1
  257. package/dist/index84.js +32 -26
  258. package/dist/index84.js.map +1 -1
  259. package/dist/index85.cjs +10 -134
  260. package/dist/index85.cjs.map +1 -1
  261. package/dist/index85.js +9 -133
  262. package/dist/index85.js.map +1 -1
  263. package/dist/index86.cjs +24 -36
  264. package/dist/index86.cjs.map +1 -1
  265. package/dist/index86.js +25 -37
  266. package/dist/index86.js.map +1 -1
  267. package/dist/index87.cjs +13 -37
  268. package/dist/index87.cjs.map +1 -1
  269. package/dist/index87.js +14 -38
  270. package/dist/index87.js.map +1 -1
  271. package/dist/index88.cjs +75 -48
  272. package/dist/index88.cjs.map +1 -1
  273. package/dist/index88.js +75 -48
  274. package/dist/index88.js.map +1 -1
  275. package/dist/index89.cjs +49 -13
  276. package/dist/index89.cjs.map +1 -1
  277. package/dist/index89.js +50 -14
  278. package/dist/index89.js.map +1 -1
  279. package/dist/index9.cjs +2 -2
  280. package/dist/index9.js +2 -2
  281. package/dist/index90.cjs +10 -16
  282. package/dist/index90.cjs.map +1 -1
  283. package/dist/index90.js +10 -16
  284. package/dist/index90.js.map +1 -1
  285. package/dist/index91.cjs +22 -10
  286. package/dist/index91.cjs.map +1 -1
  287. package/dist/index91.js +23 -11
  288. package/dist/index91.js.map +1 -1
  289. package/dist/index92.cjs +13 -34
  290. package/dist/index92.cjs.map +1 -1
  291. package/dist/index92.js +14 -35
  292. package/dist/index92.js.map +1 -1
  293. package/dist/index93.cjs +16 -16
  294. package/dist/index93.js +17 -17
  295. package/dist/index94.cjs +16 -37
  296. package/dist/index94.cjs.map +1 -1
  297. package/dist/index94.js +16 -37
  298. package/dist/index94.js.map +1 -1
  299. package/dist/index95.cjs +36 -0
  300. package/dist/index95.cjs.map +1 -0
  301. package/dist/index95.js +36 -0
  302. package/dist/index95.js.map +1 -0
  303. package/dist/index96.cjs +60 -0
  304. package/dist/index96.cjs.map +1 -0
  305. package/dist/index96.js +60 -0
  306. package/dist/index96.js.map +1 -0
  307. package/dist/index97.cjs +21 -0
  308. package/dist/index97.cjs.map +1 -0
  309. package/dist/index97.js +21 -0
  310. package/dist/index97.js.map +1 -0
  311. package/dist/index98.cjs +27 -0
  312. package/dist/index98.cjs.map +1 -0
  313. package/dist/index98.js +27 -0
  314. package/dist/index98.js.map +1 -0
  315. package/dist/style.css +134 -0
  316. package/dist/types/chart.types.d.ts +28 -0
  317. package/dist/types/chart.types.d.ts.map +1 -1
  318. package/dist/types/index.d.ts +1 -1
  319. package/dist/types/index.d.ts.map +1 -1
  320. package/package.json +1 -1
package/dist/index22.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const constants = require("./index56.cjs");
7
- const CountersAnalysisCard_module = require("./index88.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const constants = require("./index59.cjs");
7
+ const CountersAnalysisCard_module = require("./index78.cjs");
8
8
  const CounterTimeseriesChart = require("./index21.cjs");
9
9
  const COLUMN_HEADERS = [
10
10
  { key: "counter", label: "Counter" },
package/dist/index22.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useMemo } from "react";
3
- import { clsx } from "./index51.js";
4
- import { COUNTERS_PAGE_SIZE } from "./index56.js";
5
- import styles from "./index88.js";
3
+ import { clsx } from "./index52.js";
4
+ import { COUNTERS_PAGE_SIZE } from "./index59.js";
5
+ import styles from "./index78.js";
6
6
  import { CounterTimeseriesChart } from "./index21.js";
7
7
  const COLUMN_HEADERS = [
8
8
  { key: "counter", label: "Counter" },
package/dist/index23.cjs CHANGED
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
5
+ const clsx = require("./index52.cjs");
6
6
  const useClickOutside = require("./index4.cjs");
7
7
  const useEscapeKey = require("./index5.cjs");
8
8
  const format = require("./index7.cjs");
9
- const CustomRangePicker_module = require("./index75.cjs");
9
+ const CustomRangePicker_module = require("./index84.cjs");
10
10
  const formatInputValue = (iso) => {
11
11
  if (!iso) return "";
12
12
  const date = new Date(iso);
package/dist/index23.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useCallback, useEffect, useMemo } from "react";
3
- import { clsx } from "./index51.js";
3
+ import { clsx } from "./index52.js";
4
4
  import { useClickOutside } from "./index4.js";
5
5
  import { useEscapeKey } from "./index5.js";
6
6
  import { formatLocalISOString } from "./index7.js";
7
- import styles from "./index75.js";
7
+ import styles from "./index84.js";
8
8
  const formatInputValue = (iso) => {
9
9
  if (!iso) return "";
10
10
  const date = new Date(iso);
package/dist/index24.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const clsx = require("./index51.cjs");
5
- const DashboardLayout_module = require("./index93.cjs");
4
+ const clsx = require("./index52.cjs");
5
+ const DashboardLayout_module = require("./index94.cjs");
6
6
  const DashboardLayout = ({
7
7
  sidebar,
8
8
  filterBar,
package/dist/index24.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { clsx } from "./index51.js";
3
- import styles from "./index93.js";
2
+ import { clsx } from "./index52.js";
3
+ import styles from "./index94.js";
4
4
  const DashboardLayout = ({
5
5
  sidebar,
6
6
  filterBar,
package/dist/index25.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
5
+ const clsx = require("./index52.cjs");
6
6
  const useClickOutside = require("./index4.cjs");
7
7
  const useEscapeKey = require("./index5.cjs");
8
- const DatePickerDropdown_module = require("./index66.cjs");
8
+ const DatePickerDropdown_module = require("./index73.cjs");
9
9
  const MONTHS = [
10
10
  "January",
11
11
  "February",
package/dist/index25.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useCallback, useEffect, useMemo } from "react";
3
- import { clsx } from "./index51.js";
3
+ import { clsx } from "./index52.js";
4
4
  import { useClickOutside } from "./index4.js";
5
5
  import { useEscapeKey } from "./index5.js";
6
- import styles from "./index66.js";
6
+ import styles from "./index73.js";
7
7
  const MONTHS = [
8
8
  "January",
9
9
  "February",
package/dist/index26.cjs CHANGED
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
5
+ const clsx = require("./index52.cjs");
6
6
  const useClickOutside = require("./index4.cjs");
7
7
  const useEscapeKey = require("./index5.cjs");
8
- const constants = require("./index56.cjs");
9
- const FilterDropdown_module = require("./index57.cjs");
8
+ const constants = require("./index59.cjs");
9
+ const FilterDropdown_module = require("./index95.cjs");
10
10
  const Chip = require("./index17.cjs");
11
11
  const FilterDropdown = ({
12
12
  label,
package/dist/index26.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from "react";
3
- import { clsx } from "./index51.js";
3
+ import { clsx } from "./index52.js";
4
4
  import { useClickOutside } from "./index4.js";
5
5
  import { useEscapeKey } from "./index5.js";
6
- import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index56.js";
7
- import styles from "./index57.js";
6
+ import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index59.js";
7
+ import styles from "./index95.js";
8
8
  import { Chip } from "./index17.js";
9
9
  const FilterDropdown = ({
10
10
  label,
package/dist/index27.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const HeatmapMatrix_module = require("./index80.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const HeatmapMatrix_module = require("./index83.cjs");
7
7
  function activateOnKey(event, action) {
8
8
  if (event.key === "Enter" || event.key === " ") {
9
9
  event.preventDefault();
package/dist/index27.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import styles from "./index80.js";
3
+ import { clsx } from "./index52.js";
4
+ import styles from "./index83.js";
5
5
  function activateOnKey(event, action) {
6
6
  if (event.key === "Enter" || event.key === " ") {
7
7
  event.preventDefault();
package/dist/index28.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const Input_module = require("./index64.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const Input_module = require("./index58.cjs");
7
7
  const Input = react.forwardRef(
8
8
  ({ className, type = "text", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("input", { ref, type, className: clsx.clsx(Input_module.default.root, className), ...props })
9
9
  );
package/dist/index28.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import styles from "./index64.js";
3
+ import { clsx } from "./index52.js";
4
+ import styles from "./index58.js";
5
5
  const Input = forwardRef(
6
6
  ({ className, type = "text", ...props }, ref) => /* @__PURE__ */ jsx("input", { ref, type, className: clsx(styles.root, className), ...props })
7
7
  );
package/dist/index29.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const constants = require("./index56.cjs");
7
- const LiveExplorerTable_module = require("./index81.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const constants = require("./index59.cjs");
7
+ const LiveExplorerTable_module = require("./index89.cjs");
8
8
  const SKELETON_ROWS = 5;
9
9
  const FULL_PERCENT = 100;
10
10
  const LiveExplorerTable = ({
package/dist/index29.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useRef, useEffect, useCallback } from "react";
3
- import { clsx } from "./index51.js";
4
- import { MIN_COLUMN_WIDTH } from "./index56.js";
5
- import styles from "./index81.js";
3
+ import { clsx } from "./index52.js";
4
+ import { MIN_COLUMN_WIDTH } from "./index59.js";
5
+ import styles from "./index89.js";
6
6
  const SKELETON_ROWS = 5;
7
7
  const FULL_PERCENT = 100;
8
8
  const LiveExplorerTable = ({
package/dist/index30.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const reactDom = require("react-dom");
5
- const clsx = require("./index51.cjs");
5
+ const clsx = require("./index52.cjs");
6
6
  const useEscapeKey = require("./index5.cjs");
7
- const Modal_module = require("./index70.cjs");
7
+ const Modal_module = require("./index66.cjs");
8
8
  const Modal = ({
9
9
  open,
10
10
  title,
package/dist/index30.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createPortal } from "react-dom";
3
- import { clsx } from "./index51.js";
3
+ import { clsx } from "./index52.js";
4
4
  import { useEscapeKey } from "./index5.js";
5
- import styles from "./index70.js";
5
+ import styles from "./index66.js";
6
6
  const Modal = ({
7
7
  open,
8
8
  title,
package/dist/index31.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
5
+ const clsx = require("./index52.cjs");
6
6
  const useClickOutside = require("./index4.cjs");
7
- const constants = require("./index56.cjs");
8
- const MultiSelectDropdown_module = require("./index79.cjs");
7
+ const constants = require("./index59.cjs");
8
+ const MultiSelectDropdown_module = require("./index88.cjs");
9
9
  const arraysMatch = (a, b) => {
10
10
  if (a.length !== b.length) return false;
11
11
  const set = new Set(b);
package/dist/index31.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useMemo, useCallback, useEffect } from "react";
3
- import { clsx } from "./index51.js";
3
+ import { clsx } from "./index52.js";
4
4
  import { useClickOutside } from "./index4.js";
5
- import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index56.js";
6
- import styles from "./index79.js";
5
+ import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index59.js";
6
+ import styles from "./index88.js";
7
7
  const arraysMatch = (a, b) => {
8
8
  if (a.length !== b.length) return false;
9
9
  const set = new Set(b);
package/dist/index32.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const NavItem_module = require("./index78.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const NavItem_module = require("./index62.cjs");
7
7
  const NavItem = react.forwardRef(
8
8
  ({ icon, label, active = false, badge, collapsed = false, disabled = false, href, onClick, className }, ref) => {
9
9
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
package/dist/index32.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import styles from "./index78.js";
3
+ import { clsx } from "./index52.js";
4
+ import styles from "./index62.js";
5
5
  const NavItem = forwardRef(
6
6
  ({ icon, label, active = false, badge, collapsed = false, disabled = false, href, onClick, className }, ref) => {
7
7
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
package/dist/index33.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const constants = require("./index56.cjs");
7
- const Pagination_module = require("./index77.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const constants = require("./index59.cjs");
7
+ const Pagination_module = require("./index93.cjs");
8
8
  function range(start, end) {
9
9
  const out = [];
10
10
  for (let page = start; page <= end; page += 1) out.push(page);
package/dist/index33.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import { PAGINATION, SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index56.js";
5
- import styles from "./index77.js";
3
+ import { clsx } from "./index52.js";
4
+ import { PAGINATION, SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index59.js";
5
+ import styles from "./index93.js";
6
6
  function range(start, end) {
7
7
  const out = [];
8
8
  for (let page = start; page <= end; page += 1) out.push(page);
package/dist/index34.cjs CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const constants = require("./index56.cjs");
7
- const RangeSlider_module = require("./index68.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const constants = require("./index59.cjs");
7
+ const RangeSlider_module = require("./index60.cjs");
8
8
  const buildTicks = (min, max, step) => {
9
9
  const count = Math.round((max - min) / step);
10
10
  return Array.from({ length: count + 1 }, (_, i) => min + i * step);
package/dist/index34.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import { RANGE_SLIDER } from "./index56.js";
5
- import styles from "./index68.js";
3
+ import { clsx } from "./index52.js";
4
+ import { RANGE_SLIDER } from "./index59.js";
5
+ import styles from "./index60.js";
6
6
  const buildTicks = (min, max, step) => {
7
7
  const count = Math.round((max - min) / step);
8
8
  return Array.from({ length: count + 1 }, (_, i) => min + i * step);
package/dist/index35.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const constants = require("./index56.cjs");
6
- const ResizableSplitPanel_module = require("./index76.cjs");
5
+ const constants = require("./index59.cjs");
6
+ const ResizableSplitPanel_module = require("./index87.cjs");
7
7
  const FULL_PERCENT = 100;
8
8
  const ResizableSplitPanel = ({
9
9
  leftPanel,
package/dist/index35.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useCallback, useEffect } from "react";
3
- import { KEYBOARD_STEP } from "./index56.js";
4
- import styles from "./index76.js";
3
+ import { KEYBOARD_STEP } from "./index59.js";
4
+ import styles from "./index87.js";
5
5
  const FULL_PERCENT = 100;
6
6
  const ResizableSplitPanel = ({
7
7
  leftPanel,
package/dist/index36.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const Row_module = require("./index73.cjs");
5
+ const clsx = require("./index52.cjs");
6
+ const Row_module = require("./index65.cjs");
7
7
  const gapClass = {
8
8
  none: Row_module.default.gapNone,
9
9
  "2xs": Row_module.default.gap2xs,
package/dist/index36.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { clsx } from "./index51.js";
4
- import styles from "./index73.js";
3
+ import { clsx } from "./index52.js";
4
+ import styles from "./index65.js";
5
5
  const gapClass = {
6
6
  none: styles.gapNone,
7
7
  "2xs": styles.gap2xs,
package/dist/index37.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 ReactECharts = require("echarts-for-react");
6
- const clsx = require("./index51.cjs");
7
- const constants = require("./index56.cjs");
8
- const SankeyChartCard_module = require("./index94.cjs");
6
+ const clsx = require("./index52.cjs");
7
+ const constants = require("./index59.cjs");
8
+ const SankeyChartCard_module = require("./index61.cjs");
9
9
  const COLOR_METRIC_OPTIONS = [
10
10
  { value: "deviation", label: "Deviation" },
11
11
  { value: "severity", label: "Severity" },
package/dist/index37.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import ReactECharts from "echarts-for-react";
4
- import { clsx } from "./index51.js";
5
- import { MAX_SANKEY_NODES, CHART_COLORS } from "./index56.js";
6
- import styles from "./index94.js";
4
+ import { clsx } from "./index52.js";
5
+ import { MAX_SANKEY_NODES, CHART_COLORS } from "./index59.js";
6
+ import styles from "./index61.js";
7
7
  const COLOR_METRIC_OPTIONS = [
8
8
  { value: "deviation", label: "Deviation" },
9
9
  { value: "severity", label: "Severity" },
package/dist/index38.cjs CHANGED
@@ -2,75 +2,101 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const clsx = require("./index51.cjs");
6
- const SegmentedControl_module = require("./index53.cjs");
7
- function nextEnabledIndex(options, from, step) {
8
- const count = options.length;
9
- for (let i = 1; i <= count; i += 1) {
10
- const idx = (from + step * i + count * i) % count;
11
- if (!options[idx].disabled) return idx;
12
- }
13
- return from;
14
- }
15
- function SegmentedControlInner({
16
- options,
17
- value,
18
- onChange,
19
- shape = "pill",
20
- size = "md",
21
- className,
22
- ...props
23
- }, ref) {
24
- const buttonsRef = react.useRef([]);
25
- const move = (currentIndex, step) => {
26
- var _a;
27
- const target = nextEnabledIndex(options, currentIndex, step);
28
- if (target === currentIndex) return;
29
- onChange(options[target].value);
30
- (_a = buttonsRef.current[target]) == null ? void 0 : _a.focus();
31
- };
32
- const handleKeyDown = (event, index) => {
33
- if (event.key === "ArrowRight" || event.key === "ArrowDown") {
34
- event.preventDefault();
35
- move(index, 1);
36
- } else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
37
- event.preventDefault();
38
- move(index, -1);
5
+ const ReactECharts = require("echarts-for-react");
6
+ const clsx = require("./index52.cjs");
7
+ const foldPoints = require("./index75.cjs");
8
+ const buildScatterOption = require("./index76.cjs");
9
+ const constants = require("./index59.cjs");
10
+ const ScatterChartCard_module = require("./index77.cjs");
11
+ const SOURCE_INDEX_DIM = 3;
12
+ const buildAriaLabel = (title, xLabel, yLabel) => xLabel && yLabel ? `${title}: scatter plot of ${yLabel} against ${xLabel}` : `${title}: scatter plot`;
13
+ const ScatterChartCard = ({
14
+ title,
15
+ data,
16
+ xLabel,
17
+ yLabel,
18
+ categoryLabel,
19
+ mergeCoincident = true,
20
+ maxPoints = constants.SCATTER.MAX_POINTS,
21
+ onRender,
22
+ onSelectPoint,
23
+ enableDataZoom = false,
24
+ hideLegend = false,
25
+ compact = false,
26
+ toolbar,
27
+ isLoading = false,
28
+ error = null,
29
+ onRetry,
30
+ onChartReady,
31
+ actions,
32
+ className
33
+ }) => {
34
+ const { points, info } = react.useMemo(
35
+ () => foldPoints.foldPoints(data, maxPoints, mergeCoincident),
36
+ [data, maxPoints, mergeCoincident]
37
+ );
38
+ const hasCategories = points.some((p) => p.point.category != null);
39
+ const showLegend = !hideLegend && !compact && hasCategories;
40
+ const option = react.useMemo(
41
+ () => buildScatterOption.buildScatterOption(points, { xLabel, yLabel, categoryLabel, showLegend, enableDataZoom }),
42
+ [points, xLabel, yLabel, categoryLabel, showLegend, enableDataZoom]
43
+ );
44
+ react.useEffect(() => {
45
+ onRender == null ? void 0 : onRender(info);
46
+ }, [onRender, info]);
47
+ const handleChartReady = (instance) => {
48
+ if (onSelectPoint) {
49
+ instance.on("click", (params) => {
50
+ var _a;
51
+ const index = (_a = params.value) == null ? void 0 : _a[SOURCE_INDEX_DIM];
52
+ if (index != null && data[index]) onSelectPoint({ point: data[index], index });
53
+ });
39
54
  }
55
+ onChartReady == null ? void 0 : onChartReady(instance);
40
56
  };
41
- return /* @__PURE__ */ jsxRuntime.jsx(
42
- "div",
43
- {
44
- ref,
45
- role: "radiogroup",
46
- className: clsx.clsx(SegmentedControl_module.default.root, SegmentedControl_module.default[shape], SegmentedControl_module.default[size], className),
47
- ...props,
48
- children: options.map((option, index) => {
49
- const selected = option.value === value;
50
- return /* @__PURE__ */ jsxRuntime.jsx(
51
- "button",
57
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx(ScatterChartCard_module.default.root, compact && ScatterChartCard_module.default.compact, className), children: [
58
+ /* @__PURE__ */ jsxRuntime.jsxs("header", { className: ScatterChartCard_module.default.header, children: [
59
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: ScatterChartCard_module.default.title, children: title }),
60
+ actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ScatterChartCard_module.default.headerActions, children: actions })
61
+ ] }),
62
+ toolbar && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ScatterChartCard_module.default.toolbar, children: toolbar }),
63
+ info.dropped > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ScatterChartCard_module.default.warning, role: "status", children: [
64
+ "Showing ",
65
+ info.total - info.dropped,
66
+ " of ",
67
+ info.total,
68
+ " points (",
69
+ info.dropped,
70
+ " dropped by the",
71
+ " ",
72
+ maxPoints,
73
+ " mark cap)."
74
+ ] }),
75
+ isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ScatterChartCard_module.default.loading, children: "Loading chart..." }),
76
+ !isLoading && error && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ScatterChartCard_module.default.error, children: [
77
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: error }),
78
+ onRetry && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: ScatterChartCard_module.default.retryButton, onClick: onRetry, children: "Retry" })
79
+ ] }),
80
+ !isLoading && !error && data.length === 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ScatterChartCard_module.default.empty, children: "No point data available." }),
81
+ !isLoading && !error && data.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
82
+ "div",
83
+ {
84
+ className: ScatterChartCard_module.default.chartContainer,
85
+ role: "figure",
86
+ "aria-label": buildAriaLabel(title, xLabel, yLabel),
87
+ children: /* @__PURE__ */ jsxRuntime.jsx(
88
+ ReactECharts,
52
89
  {
53
- ref: (node) => {
54
- buttonsRef.current[index] = node;
55
- },
56
- type: "button",
57
- role: "radio",
58
- "aria-checked": selected,
59
- tabIndex: selected ? 0 : -1,
60
- disabled: option.disabled,
61
- className: clsx.clsx(SegmentedControl_module.default.segment, selected && SegmentedControl_module.default.isOn),
62
- onClick: () => onChange(option.value),
63
- onKeyDown: (event) => handleKeyDown(event, index),
64
- children: option.label
65
- },
66
- option.value
67
- );
68
- })
69
- }
70
- );
71
- }
72
- const SegmentedControlBase = react.forwardRef(SegmentedControlInner);
73
- SegmentedControlBase.displayName = "SegmentedControl";
74
- const SegmentedControl = SegmentedControlBase;
75
- exports.SegmentedControl = SegmentedControl;
90
+ option,
91
+ style: { height: "100%", width: "100%" },
92
+ onChartReady: handleChartReady,
93
+ notMerge: true
94
+ }
95
+ )
96
+ }
97
+ )
98
+ ] });
99
+ };
100
+ ScatterChartCard.displayName = "ScatterChartCard";
101
+ exports.ScatterChartCard = ScatterChartCard;
76
102
  //# sourceMappingURL=index38.cjs.map