@ktnpm_devops/react-component 0.12.1 → 0.13.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 (451) hide show
  1. package/README.md +39 -0
  2. package/dist/constants.d.ts +26 -0
  3. package/dist/constants.d.ts.map +1 -1
  4. package/dist/geo/GeoMapCard/GeoMapCard.d.ts +7 -0
  5. package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -0
  6. package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +91 -0
  7. package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -0
  8. package/dist/geo/GeoMapCard/MapLegend.d.ts +12 -0
  9. package/dist/geo/GeoMapCard/MapLegend.d.ts.map +1 -0
  10. package/dist/geo/GeoMapCard/MapViewport.d.ts +17 -0
  11. package/dist/geo/GeoMapCard/MapViewport.d.ts.map +1 -0
  12. package/dist/geo/GeoMapCard/PointListing.d.ts +14 -0
  13. package/dist/geo/GeoMapCard/PointListing.d.ts.map +1 -0
  14. package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts +47 -0
  15. package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts.map +1 -0
  16. package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts +2 -0
  17. package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts.map +1 -0
  18. package/dist/geo/GeoMapCard/index.d.ts +3 -0
  19. package/dist/geo/GeoMapCard/index.d.ts.map +1 -0
  20. package/dist/geo/GeoMapCard/normalizePoints.d.ts +26 -0
  21. package/dist/geo/GeoMapCard/normalizePoints.d.ts.map +1 -0
  22. package/dist/geo/GeoMapCard/normalizePoints.test.d.ts +2 -0
  23. package/dist/geo/GeoMapCard/normalizePoints.test.d.ts.map +1 -0
  24. package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts +13 -0
  25. package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts.map +1 -0
  26. package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts +2 -0
  27. package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts.map +1 -0
  28. package/dist/geo/index.d.ts +3 -0
  29. package/dist/geo/index.d.ts.map +1 -0
  30. package/dist/hooks/useThemeMode.d.ts +8 -0
  31. package/dist/hooks/useThemeMode.d.ts.map +1 -0
  32. package/dist/index.cjs +52 -48
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.ts +5 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +52 -48
  37. package/dist/index.js.map +1 -1
  38. package/dist/index10.cjs +45 -14
  39. package/dist/index10.cjs.map +1 -1
  40. package/dist/index10.js +46 -15
  41. package/dist/index10.js.map +1 -1
  42. package/dist/index100.cjs +24 -6
  43. package/dist/index100.cjs.map +1 -1
  44. package/dist/index100.js +23 -5
  45. package/dist/index100.js.map +1 -1
  46. package/dist/index101.cjs +20 -16
  47. package/dist/index101.cjs.map +1 -1
  48. package/dist/index101.js +19 -15
  49. package/dist/index101.js.map +1 -1
  50. package/dist/index102.cjs +14 -22
  51. package/dist/index102.cjs.map +1 -1
  52. package/dist/index102.js +13 -21
  53. package/dist/index102.js.map +1 -1
  54. package/dist/index103.cjs +57 -36
  55. package/dist/index103.cjs.map +1 -1
  56. package/dist/index103.js +57 -36
  57. package/dist/index103.js.map +1 -1
  58. package/dist/index104.cjs +19 -16
  59. package/dist/index104.cjs.map +1 -1
  60. package/dist/index104.js +20 -17
  61. package/dist/index104.js.map +1 -1
  62. package/dist/index105.cjs +49 -19
  63. package/dist/index105.cjs.map +1 -1
  64. package/dist/index105.js +49 -19
  65. package/dist/index105.js.map +1 -1
  66. package/dist/index106.cjs +33 -0
  67. package/dist/index106.cjs.map +1 -0
  68. package/dist/index106.js +33 -0
  69. package/dist/index106.js.map +1 -0
  70. package/dist/index107.cjs +18 -0
  71. package/dist/index107.cjs.map +1 -0
  72. package/dist/index107.js +18 -0
  73. package/dist/index107.js.map +1 -0
  74. package/dist/index108.cjs +12 -0
  75. package/dist/index108.cjs.map +1 -0
  76. package/dist/index108.js +12 -0
  77. package/dist/index108.js.map +1 -0
  78. package/dist/index109.cjs +21 -0
  79. package/dist/index109.cjs.map +1 -0
  80. package/dist/index109.js +21 -0
  81. package/dist/index109.js.map +1 -0
  82. package/dist/index11.cjs +14 -15
  83. package/dist/index11.cjs.map +1 -1
  84. package/dist/index11.js +15 -16
  85. package/dist/index11.js.map +1 -1
  86. package/dist/index110.cjs +24 -0
  87. package/dist/index110.cjs.map +1 -0
  88. package/dist/index110.js +24 -0
  89. package/dist/index110.js.map +1 -0
  90. package/dist/index111.cjs +9 -0
  91. package/dist/index111.cjs.map +1 -0
  92. package/dist/index111.js +9 -0
  93. package/dist/index111.js.map +1 -0
  94. package/dist/index112.cjs +9 -0
  95. package/dist/index112.cjs.map +1 -0
  96. package/dist/index112.js +9 -0
  97. package/dist/index112.js.map +1 -0
  98. package/dist/index113.cjs +27 -0
  99. package/dist/index113.cjs.map +1 -0
  100. package/dist/index113.js +27 -0
  101. package/dist/index113.js.map +1 -0
  102. package/dist/index12.cjs +15 -4
  103. package/dist/index12.cjs.map +1 -1
  104. package/dist/index12.js +15 -4
  105. package/dist/index12.js.map +1 -1
  106. package/dist/index13.cjs +4 -16
  107. package/dist/index13.cjs.map +1 -1
  108. package/dist/index13.js +4 -16
  109. package/dist/index13.js.map +1 -1
  110. package/dist/index14.cjs +16 -10
  111. package/dist/index14.cjs.map +1 -1
  112. package/dist/index14.js +16 -10
  113. package/dist/index14.js.map +1 -1
  114. package/dist/index15.cjs +10 -100
  115. package/dist/index15.cjs.map +1 -1
  116. package/dist/index15.js +11 -101
  117. package/dist/index15.js.map +1 -1
  118. package/dist/index16.cjs +100 -20
  119. package/dist/index16.cjs.map +1 -1
  120. package/dist/index16.js +101 -21
  121. package/dist/index16.js.map +1 -1
  122. package/dist/index17.cjs +20 -54
  123. package/dist/index17.cjs.map +1 -1
  124. package/dist/index17.js +20 -54
  125. package/dist/index17.js.map +1 -1
  126. package/dist/index18.cjs +52 -16
  127. package/dist/index18.cjs.map +1 -1
  128. package/dist/index18.js +54 -18
  129. package/dist/index18.js.map +1 -1
  130. package/dist/index19.cjs +16 -24
  131. package/dist/index19.cjs.map +1 -1
  132. package/dist/index19.js +17 -25
  133. package/dist/index19.js.map +1 -1
  134. package/dist/index20.cjs +22 -39
  135. package/dist/index20.cjs.map +1 -1
  136. package/dist/index20.js +23 -40
  137. package/dist/index20.js.map +1 -1
  138. package/dist/index21.cjs +38 -85
  139. package/dist/index21.cjs.map +1 -1
  140. package/dist/index21.js +40 -87
  141. package/dist/index21.js.map +1 -1
  142. package/dist/index22.cjs +85 -153
  143. package/dist/index22.cjs.map +1 -1
  144. package/dist/index22.js +87 -155
  145. package/dist/index22.js.map +1 -1
  146. package/dist/index23.cjs +150 -128
  147. package/dist/index23.cjs.map +1 -1
  148. package/dist/index23.js +150 -128
  149. package/dist/index23.js.map +1 -1
  150. package/dist/index24.cjs +121 -106
  151. package/dist/index24.cjs.map +1 -1
  152. package/dist/index24.js +122 -107
  153. package/dist/index24.js.map +1 -1
  154. package/dist/index25.cjs +121 -17
  155. package/dist/index25.cjs.map +1 -1
  156. package/dist/index25.js +121 -17
  157. package/dist/index25.js.map +1 -1
  158. package/dist/index26.cjs +16 -163
  159. package/dist/index26.cjs.map +1 -1
  160. package/dist/index26.js +16 -163
  161. package/dist/index26.js.map +1 -1
  162. package/dist/index27.cjs +163 -21
  163. package/dist/index27.cjs.map +1 -1
  164. package/dist/index27.js +164 -22
  165. package/dist/index27.js.map +1 -1
  166. package/dist/index28.cjs +20 -129
  167. package/dist/index28.cjs.map +1 -1
  168. package/dist/index28.js +20 -129
  169. package/dist/index28.js.map +1 -1
  170. package/dist/index29.cjs +129 -75
  171. package/dist/index29.cjs.map +1 -1
  172. package/dist/index29.js +131 -77
  173. package/dist/index29.js.map +1 -1
  174. package/dist/index30.cjs +152 -7
  175. package/dist/index30.cjs.map +1 -1
  176. package/dist/index30.js +154 -9
  177. package/dist/index30.js.map +1 -1
  178. package/dist/index31.cjs +74 -128
  179. package/dist/index31.cjs.map +1 -1
  180. package/dist/index31.js +76 -130
  181. package/dist/index31.js.map +1 -1
  182. package/dist/index32.cjs +6 -54
  183. package/dist/index32.cjs.map +1 -1
  184. package/dist/index32.js +8 -56
  185. package/dist/index32.js.map +1 -1
  186. package/dist/index33.cjs +128 -35
  187. package/dist/index33.cjs.map +1 -1
  188. package/dist/index33.js +128 -35
  189. package/dist/index33.js.map +1 -1
  190. package/dist/index34.cjs +51 -221
  191. package/dist/index34.cjs.map +1 -1
  192. package/dist/index34.js +52 -222
  193. package/dist/index34.js.map +1 -1
  194. package/dist/index35.cjs +38 -34
  195. package/dist/index35.cjs.map +1 -1
  196. package/dist/index35.js +39 -35
  197. package/dist/index35.js.map +1 -1
  198. package/dist/index36.cjs +222 -106
  199. package/dist/index36.cjs.map +1 -1
  200. package/dist/index36.js +224 -108
  201. package/dist/index36.js.map +1 -1
  202. package/dist/index37.cjs +30 -64
  203. package/dist/index37.cjs.map +1 -1
  204. package/dist/index37.js +31 -65
  205. package/dist/index37.js.map +1 -1
  206. package/dist/index38.cjs +106 -74
  207. package/dist/index38.cjs.map +1 -1
  208. package/dist/index38.js +108 -76
  209. package/dist/index38.js.map +1 -1
  210. package/dist/index39.cjs +63 -54
  211. package/dist/index39.cjs.map +1 -1
  212. package/dist/index39.js +64 -55
  213. package/dist/index39.js.map +1 -1
  214. package/dist/index40.cjs +69 -144
  215. package/dist/index40.cjs.map +1 -1
  216. package/dist/index40.js +70 -145
  217. package/dist/index40.js.map +1 -1
  218. package/dist/index41.cjs +57 -96
  219. package/dist/index41.cjs.map +1 -1
  220. package/dist/index41.js +59 -98
  221. package/dist/index41.js.map +1 -1
  222. package/dist/index42.cjs +147 -66
  223. package/dist/index42.cjs.map +1 -1
  224. package/dist/index42.js +149 -68
  225. package/dist/index42.js.map +1 -1
  226. package/dist/index43.cjs +97 -7
  227. package/dist/index43.cjs.map +1 -1
  228. package/dist/index43.js +99 -9
  229. package/dist/index43.js.map +1 -1
  230. package/dist/index44.cjs +72 -17
  231. package/dist/index44.cjs.map +1 -1
  232. package/dist/index44.js +73 -18
  233. package/dist/index44.js.map +1 -1
  234. package/dist/index45.cjs +7 -76
  235. package/dist/index45.cjs.map +1 -1
  236. package/dist/index45.js +9 -78
  237. package/dist/index45.js.map +1 -1
  238. package/dist/index46.cjs +17 -143
  239. package/dist/index46.cjs.map +1 -1
  240. package/dist/index46.js +17 -143
  241. package/dist/index46.js.map +1 -1
  242. package/dist/index47.cjs +72 -59
  243. package/dist/index47.cjs.map +1 -1
  244. package/dist/index47.js +74 -61
  245. package/dist/index47.js.map +1 -1
  246. package/dist/index48.cjs +136 -98
  247. package/dist/index48.cjs.map +1 -1
  248. package/dist/index48.js +137 -99
  249. package/dist/index48.js.map +1 -1
  250. package/dist/index49.cjs +49 -32
  251. package/dist/index49.cjs.map +1 -1
  252. package/dist/index49.js +49 -32
  253. package/dist/index49.js.map +1 -1
  254. package/dist/index50.cjs +105 -6
  255. package/dist/index50.cjs.map +1 -1
  256. package/dist/index50.js +106 -7
  257. package/dist/index50.js.map +1 -1
  258. package/dist/index51.cjs +44 -144
  259. package/dist/index51.cjs.map +1 -1
  260. package/dist/index51.js +45 -145
  261. package/dist/index51.js.map +1 -1
  262. package/dist/index52.cjs +6 -8
  263. package/dist/index52.cjs.map +1 -1
  264. package/dist/index52.js +6 -8
  265. package/dist/index52.js.map +1 -1
  266. package/dist/index53.cjs +145 -15
  267. package/dist/index53.cjs.map +1 -1
  268. package/dist/index53.js +147 -17
  269. package/dist/index53.js.map +1 -1
  270. package/dist/index54.cjs +7 -65
  271. package/dist/index54.cjs.map +1 -1
  272. package/dist/index54.js +8 -66
  273. package/dist/index54.js.map +1 -1
  274. package/dist/index55.cjs +19 -16
  275. package/dist/index55.cjs.map +1 -1
  276. package/dist/index55.js +18 -15
  277. package/dist/index55.js.map +1 -1
  278. package/dist/index56.cjs +67 -24
  279. package/dist/index56.cjs.map +1 -1
  280. package/dist/index56.js +66 -23
  281. package/dist/index56.js.map +1 -1
  282. package/dist/index57.cjs +15 -69
  283. package/dist/index57.cjs.map +1 -1
  284. package/dist/index57.js +15 -69
  285. package/dist/index57.js.map +1 -1
  286. package/dist/index58.cjs +3 -15
  287. package/dist/index58.cjs.map +1 -1
  288. package/dist/index58.js +3 -15
  289. package/dist/index58.js.map +1 -1
  290. package/dist/index59.cjs +24 -89
  291. package/dist/index59.cjs.map +1 -1
  292. package/dist/index59.js +23 -88
  293. package/dist/index59.js.map +1 -1
  294. package/dist/index60.cjs +64 -16
  295. package/dist/index60.cjs.map +1 -1
  296. package/dist/index60.js +64 -16
  297. package/dist/index60.js.map +1 -1
  298. package/dist/index62.cjs +18 -9
  299. package/dist/index62.cjs.map +1 -1
  300. package/dist/index62.js +18 -9
  301. package/dist/index62.js.map +1 -1
  302. package/dist/index63.cjs +13 -16
  303. package/dist/index63.cjs.map +1 -1
  304. package/dist/index63.js +13 -16
  305. package/dist/index63.js.map +1 -1
  306. package/dist/index64.cjs +13 -13
  307. package/dist/index64.js +13 -13
  308. package/dist/index65.cjs +17 -2
  309. package/dist/index65.cjs.map +1 -1
  310. package/dist/index65.js +18 -3
  311. package/dist/index65.js.map +1 -1
  312. package/dist/index66.cjs +2 -20
  313. package/dist/index66.cjs.map +1 -1
  314. package/dist/index66.js +3 -21
  315. package/dist/index66.js.map +1 -1
  316. package/dist/index67.cjs +116 -28
  317. package/dist/index67.cjs.map +1 -1
  318. package/dist/index67.js +114 -26
  319. package/dist/index67.js.map +1 -1
  320. package/dist/index68.cjs +17 -17
  321. package/dist/index68.js +18 -18
  322. package/dist/index69.cjs +20 -5
  323. package/dist/index69.cjs.map +1 -1
  324. package/dist/index69.js +20 -5
  325. package/dist/index69.js.map +1 -1
  326. package/dist/index7.cjs +32 -64
  327. package/dist/index7.cjs.map +1 -1
  328. package/dist/index7.js +32 -64
  329. package/dist/index7.js.map +1 -1
  330. package/dist/index70.cjs +10 -16
  331. package/dist/index70.cjs.map +1 -1
  332. package/dist/index70.js +10 -16
  333. package/dist/index70.js.map +1 -1
  334. package/dist/index71.cjs +16 -28
  335. package/dist/index71.cjs.map +1 -1
  336. package/dist/index71.js +16 -28
  337. package/dist/index71.js.map +1 -1
  338. package/dist/index72.cjs +79 -19
  339. package/dist/index72.cjs.map +1 -1
  340. package/dist/index72.js +80 -20
  341. package/dist/index72.js.map +1 -1
  342. package/dist/index73.cjs +47 -2
  343. package/dist/index73.cjs.map +1 -1
  344. package/dist/index73.js +48 -3
  345. package/dist/index73.js.map +1 -1
  346. package/dist/index74.cjs +53 -2
  347. package/dist/index74.cjs.map +1 -1
  348. package/dist/index74.js +54 -3
  349. package/dist/index74.js.map +1 -1
  350. package/dist/index76.cjs +28 -13
  351. package/dist/index76.cjs.map +1 -1
  352. package/dist/index76.js +29 -14
  353. package/dist/index76.js.map +1 -1
  354. package/dist/index77.cjs +3 -30
  355. package/dist/index77.cjs.map +1 -1
  356. package/dist/index77.js +3 -30
  357. package/dist/index77.js.map +1 -1
  358. package/dist/index78.cjs +31 -7
  359. package/dist/index78.cjs.map +1 -1
  360. package/dist/index78.js +32 -8
  361. package/dist/index78.js.map +1 -1
  362. package/dist/index79.cjs +10 -34
  363. package/dist/index79.cjs.map +1 -1
  364. package/dist/index79.js +11 -35
  365. package/dist/index79.js.map +1 -1
  366. package/dist/index8.cjs +58 -75
  367. package/dist/index8.cjs.map +1 -1
  368. package/dist/index8.js +58 -75
  369. package/dist/index8.js.map +1 -1
  370. package/dist/index80.cjs +16 -10
  371. package/dist/index80.cjs.map +1 -1
  372. package/dist/index80.js +17 -11
  373. package/dist/index80.js.map +1 -1
  374. package/dist/index81.cjs +16 -4
  375. package/dist/index81.cjs.map +1 -1
  376. package/dist/index81.js +17 -5
  377. package/dist/index81.js.map +1 -1
  378. package/dist/index82.cjs +10 -134
  379. package/dist/index82.cjs.map +1 -1
  380. package/dist/index82.js +9 -133
  381. package/dist/index82.js.map +1 -1
  382. package/dist/index83.cjs +24 -36
  383. package/dist/index83.cjs.map +1 -1
  384. package/dist/index83.js +25 -37
  385. package/dist/index83.js.map +1 -1
  386. package/dist/index84.cjs +36 -81
  387. package/dist/index84.cjs.map +1 -1
  388. package/dist/index84.js +36 -81
  389. package/dist/index84.js.map +1 -1
  390. package/dist/index85.cjs +38 -2
  391. package/dist/index85.cjs.map +1 -1
  392. package/dist/index85.js +39 -3
  393. package/dist/index85.js.map +1 -1
  394. package/dist/index86.cjs +49 -43
  395. package/dist/index86.cjs.map +1 -1
  396. package/dist/index86.js +50 -44
  397. package/dist/index86.js.map +1 -1
  398. package/dist/index87.cjs +39 -57
  399. package/dist/index87.cjs.map +1 -1
  400. package/dist/index87.js +38 -56
  401. package/dist/index87.js.map +1 -1
  402. package/dist/index88.cjs +92 -42
  403. package/dist/index88.cjs.map +1 -1
  404. package/dist/index88.js +91 -41
  405. package/dist/index88.js.map +1 -1
  406. package/dist/index89.cjs +34 -16
  407. package/dist/index89.cjs.map +1 -1
  408. package/dist/index89.js +34 -16
  409. package/dist/index89.js.map +1 -1
  410. package/dist/index9.cjs +81 -45
  411. package/dist/index9.cjs.map +1 -1
  412. package/dist/index9.js +81 -45
  413. package/dist/index9.js.map +1 -1
  414. package/dist/index90.cjs +1 -1
  415. package/dist/index90.js +1 -1
  416. package/dist/index92.cjs +34 -34
  417. package/dist/index92.js +34 -34
  418. package/dist/index93.cjs +134 -34
  419. package/dist/index93.cjs.map +1 -1
  420. package/dist/index93.js +133 -33
  421. package/dist/index93.js.map +1 -1
  422. package/dist/index94.cjs +45 -39
  423. package/dist/index94.cjs.map +1 -1
  424. package/dist/index94.js +44 -38
  425. package/dist/index94.js.map +1 -1
  426. package/dist/index95.cjs +33 -92
  427. package/dist/index95.cjs.map +1 -1
  428. package/dist/index95.js +32 -91
  429. package/dist/index95.js.map +1 -1
  430. package/dist/index96.cjs +16 -34
  431. package/dist/index96.cjs.map +1 -1
  432. package/dist/index96.js +16 -34
  433. package/dist/index96.js.map +1 -1
  434. package/dist/index97.cjs +13 -49
  435. package/dist/index97.cjs.map +1 -1
  436. package/dist/index97.js +14 -50
  437. package/dist/index97.js.map +1 -1
  438. package/dist/index98.cjs +35 -30
  439. package/dist/index98.cjs.map +1 -1
  440. package/dist/index98.js +34 -29
  441. package/dist/index98.js.map +1 -1
  442. package/dist/index99.cjs +43 -57
  443. package/dist/index99.cjs.map +1 -1
  444. package/dist/index99.js +42 -56
  445. package/dist/index99.js.map +1 -1
  446. package/dist/style.css +207 -0
  447. package/dist/types/geo.types.d.ts +45 -0
  448. package/dist/types/geo.types.d.ts.map +1 -0
  449. package/dist/types/index.d.ts +1 -0
  450. package/dist/types/index.d.ts.map +1 -1
  451. package/package.json +13 -2
package/dist/index66.js CHANGED
@@ -1,27 +1,9 @@
1
- const root = "krc-root-1fbld";
2
- const rail = "krc-rail-S-V5h";
3
- const fill = "krc-fill-NAEy9";
4
- const tick = "krc-tick-j75qi";
5
- const disabled = "krc-disabled-DgBiL";
6
- const thumb = "krc-thumb-QVYVM";
7
- const valueTooltip = "krc-valueTooltip-Vuimh";
1
+ const root = "krc-root-bWynN";
8
2
  const styles = {
9
- root,
10
- rail,
11
- fill,
12
- tick,
13
- disabled,
14
- thumb,
15
- valueTooltip
3
+ root
16
4
  };
17
5
  export {
18
6
  styles as default,
19
- disabled,
20
- fill,
21
- rail,
22
- root,
23
- thumb,
24
- tick,
25
- valueTooltip
7
+ root
26
8
  };
27
9
  //# sourceMappingURL=index66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index66.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index66.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index67.cjs CHANGED
@@ -1,30 +1,118 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-Kdtyn";
4
- const primary = "krc-primary-6l6aH";
5
- const secondary = "krc-secondary-29n8Y";
6
- const outline = "krc-outline-U1Mlr";
7
- const ghost = "krc-ghost-5wRsR";
8
- const danger = "krc-danger-gL4NM";
9
- const sm = "krc-sm-zP51s";
10
- const lg = "krc-lg-ZefGA";
11
- const styles = {
12
- root,
13
- primary,
14
- secondary,
15
- outline,
16
- ghost,
17
- danger,
18
- sm,
19
- lg
20
- };
21
- exports.danger = danger;
22
- exports.default = styles;
23
- exports.ghost = ghost;
24
- exports.lg = lg;
25
- exports.outline = outline;
26
- exports.primary = primary;
27
- exports.root = root;
28
- exports.secondary = secondary;
29
- exports.sm = sm;
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: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <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;
30
118
  //# sourceMappingURL=index67.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index67.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index67.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 '&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors ' +\n '&copy; <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/index67.js CHANGED
@@ -1,30 +1,118 @@
1
- const root = "krc-root-Kdtyn";
2
- const primary = "krc-primary-6l6aH";
3
- const secondary = "krc-secondary-29n8Y";
4
- const outline = "krc-outline-U1Mlr";
5
- const ghost = "krc-ghost-5wRsR";
6
- const danger = "krc-danger-gL4NM";
7
- const sm = "krc-sm-zP51s";
8
- const lg = "krc-lg-ZefGA";
9
- const styles = {
10
- root,
11
- primary,
12
- secondary,
13
- outline,
14
- ghost,
15
- danger,
16
- sm,
17
- lg
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: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
18
94
  };
19
95
  export {
20
- danger,
21
- styles as default,
22
- ghost,
23
- lg,
24
- outline,
25
- primary,
26
- root,
27
- secondary,
28
- sm
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
29
117
  };
30
118
  //# sourceMappingURL=index67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index67.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 '&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors ' +\n '&copy; <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/index68.cjs CHANGED
@@ -1,27 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-cQSdQ";
4
- const disabled = "krc-disabled-mXUpZ";
5
- const active = "krc-active-c6Qv6";
6
- const collapsed = "krc-collapsed-zZjr3";
7
- const icon = "krc-icon-dmCQi";
8
- const label = "krc-label-ohVFC";
9
- const badge = "krc-badge-D8UnW";
3
+ const root = "krc-root-1fbld";
4
+ const rail = "krc-rail-S-V5h";
5
+ const fill = "krc-fill-NAEy9";
6
+ const tick = "krc-tick-j75qi";
7
+ const disabled = "krc-disabled-DgBiL";
8
+ const thumb = "krc-thumb-QVYVM";
9
+ const valueTooltip = "krc-valueTooltip-Vuimh";
10
10
  const styles = {
11
11
  root,
12
+ rail,
13
+ fill,
14
+ tick,
12
15
  disabled,
13
- active,
14
- collapsed,
15
- icon,
16
- label,
17
- badge
16
+ thumb,
17
+ valueTooltip
18
18
  };
19
- exports.active = active;
20
- exports.badge = badge;
21
- exports.collapsed = collapsed;
22
19
  exports.default = styles;
23
20
  exports.disabled = disabled;
24
- exports.icon = icon;
25
- exports.label = label;
21
+ exports.fill = fill;
22
+ exports.rail = rail;
26
23
  exports.root = root;
24
+ exports.thumb = thumb;
25
+ exports.tick = tick;
26
+ exports.valueTooltip = valueTooltip;
27
27
  //# sourceMappingURL=index68.cjs.map
package/dist/index68.js CHANGED
@@ -1,27 +1,27 @@
1
- const root = "krc-root-cQSdQ";
2
- const disabled = "krc-disabled-mXUpZ";
3
- const active = "krc-active-c6Qv6";
4
- const collapsed = "krc-collapsed-zZjr3";
5
- const icon = "krc-icon-dmCQi";
6
- const label = "krc-label-ohVFC";
7
- const badge = "krc-badge-D8UnW";
1
+ const root = "krc-root-1fbld";
2
+ const rail = "krc-rail-S-V5h";
3
+ const fill = "krc-fill-NAEy9";
4
+ const tick = "krc-tick-j75qi";
5
+ const disabled = "krc-disabled-DgBiL";
6
+ const thumb = "krc-thumb-QVYVM";
7
+ const valueTooltip = "krc-valueTooltip-Vuimh";
8
8
  const styles = {
9
9
  root,
10
+ rail,
11
+ fill,
12
+ tick,
10
13
  disabled,
11
- active,
12
- collapsed,
13
- icon,
14
- label,
15
- badge
14
+ thumb,
15
+ valueTooltip
16
16
  };
17
17
  export {
18
- active,
19
- badge,
20
- collapsed,
21
18
  styles as default,
22
19
  disabled,
23
- icon,
24
- label,
25
- root
20
+ fill,
21
+ rail,
22
+ root,
23
+ thumb,
24
+ tick,
25
+ valueTooltip
26
26
  };
27
27
  //# sourceMappingURL=index68.js.map
package/dist/index69.cjs CHANGED
@@ -1,12 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const container = "krc-container-cpDoQ";
4
- const root = "krc-root-20TMP";
3
+ const root = "krc-root-xKc1n";
4
+ const item = "krc-item-Omuyb";
5
+ const head = "krc-head-ePoJ-";
6
+ const headContent = "krc-headContent-wymxG";
7
+ const chev = "krc-chev-yPNHx";
8
+ const isOpen = "krc-isOpen-wp7DR";
9
+ const body = "krc-body-pZ1Bk";
5
10
  const styles = {
6
- container,
7
- root
11
+ root,
12
+ item,
13
+ head,
14
+ headContent,
15
+ chev,
16
+ isOpen,
17
+ body
8
18
  };
9
- exports.container = container;
19
+ exports.body = body;
20
+ exports.chev = chev;
10
21
  exports.default = styles;
22
+ exports.head = head;
23
+ exports.headContent = headContent;
24
+ exports.isOpen = isOpen;
25
+ exports.item = item;
11
26
  exports.root = root;
12
27
  //# sourceMappingURL=index69.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index69.js CHANGED
@@ -1,12 +1,27 @@
1
- const container = "krc-container-cpDoQ";
2
- const root = "krc-root-20TMP";
1
+ const root = "krc-root-xKc1n";
2
+ const item = "krc-item-Omuyb";
3
+ const head = "krc-head-ePoJ-";
4
+ const headContent = "krc-headContent-wymxG";
5
+ const chev = "krc-chev-yPNHx";
6
+ const isOpen = "krc-isOpen-wp7DR";
7
+ const body = "krc-body-pZ1Bk";
3
8
  const styles = {
4
- container,
5
- root
9
+ root,
10
+ item,
11
+ head,
12
+ headContent,
13
+ chev,
14
+ isOpen,
15
+ body
6
16
  };
7
17
  export {
8
- container,
18
+ body,
19
+ chev,
9
20
  styles as default,
21
+ head,
22
+ headContent,
23
+ isOpen,
24
+ item,
10
25
  root
11
26
  };
12
27
  //# sourceMappingURL=index69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
package/dist/index7.cjs CHANGED
@@ -1,68 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const truncateWithEllipsis = (value, maxLength = 36) => {
4
- if (value.length <= maxLength) return value;
5
- if (maxLength <= 3) return value.slice(0, maxLength);
6
- return `${value.slice(0, maxLength - 3)}...`;
3
+ const react = require("react");
4
+ const THEME_ATTRIBUTE = "data-theme";
5
+ const DARK_QUERY = "(prefers-color-scheme: dark)";
6
+ const readThemeMode = () => {
7
+ var _a;
8
+ if (typeof document === "undefined") return "light";
9
+ const explicit = document.documentElement.getAttribute(THEME_ATTRIBUTE);
10
+ if (explicit === "dark" || explicit === "light") return explicit;
11
+ return typeof window !== "undefined" && ((_a = window.matchMedia) == null ? void 0 : _a.call(window, DARK_QUERY).matches) ? "dark" : "light";
7
12
  };
8
- const formatNumber = (value, options) => Number.isFinite(value) ? value.toLocaleString(void 0, options) : "0";
9
- const formatBytes = (value) => {
10
- if (!Number.isFinite(value) || value === 0) return "0 B";
11
- const units = ["B", "KB", "MB", "GB", "TB", "PB"];
12
- let index = 0;
13
- let current = Math.abs(value);
14
- while (current >= 1024 && index < units.length - 1) {
15
- current /= 1024;
16
- index += 1;
17
- }
18
- const formatted = current.toFixed(current >= 10 || index === 0 ? 0 : 1);
19
- return `${value < 0 ? "-" : ""}${formatted} ${units[index]}`;
20
- };
21
- const DATETIME_FORMATTERS = /* @__PURE__ */ new Map();
22
- const getDateTimeFormatter = (timeZone, withSeconds) => {
23
- const key = `${timeZone}-${withSeconds ? "s" : "n"}`;
24
- const cached = DATETIME_FORMATTERS.get(key);
25
- if (cached) return cached;
26
- const formatter = new Intl.DateTimeFormat(void 0, {
27
- year: "numeric",
28
- month: "2-digit",
29
- day: "2-digit",
30
- hour: "2-digit",
31
- minute: "2-digit",
32
- second: withSeconds ? "2-digit" : void 0,
33
- hour12: false,
34
- timeZone
35
- });
36
- DATETIME_FORMATTERS.set(key, formatter);
37
- return formatter;
38
- };
39
- const formatDataTimestamp = (value, options = {}) => {
40
- const { fallback = "Unknown", withSeconds = false, timeZone = "UTC", showTimeZoneLabel = false } = options;
41
- if (!value) return fallback;
42
- const date = new Date(value);
43
- if (Number.isNaN(date.getTime())) return typeof value === "string" ? value : fallback;
44
- const formatter = getDateTimeFormatter(timeZone, withSeconds);
45
- const formatted = formatter.format(date);
46
- return showTimeZoneLabel ? `${formatted} ${timeZone}` : formatted;
47
- };
48
- const formatLocalISOString = (date) => {
49
- const pad = (n) => `${n}`.padStart(2, "0");
50
- return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}:${pad(date.getSeconds())}`;
51
- };
52
- const generateUUID = () => {
53
- if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
54
- return crypto.randomUUID();
55
- }
56
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
57
- const r = Math.random() * 16 | 0;
58
- const v = c === "x" ? r : r & 3 | 8;
59
- return v.toString(16);
60
- });
61
- };
62
- exports.formatBytes = formatBytes;
63
- exports.formatDataTimestamp = formatDataTimestamp;
64
- exports.formatLocalISOString = formatLocalISOString;
65
- exports.formatNumber = formatNumber;
66
- exports.generateUUID = generateUUID;
67
- exports.truncateWithEllipsis = truncateWithEllipsis;
13
+ function useThemeMode() {
14
+ const [mode, setMode] = react.useState(readThemeMode);
15
+ react.useEffect(() => {
16
+ var _a, _b;
17
+ if (typeof document === "undefined") return;
18
+ const sync = () => setMode(readThemeMode());
19
+ sync();
20
+ const observer = new MutationObserver(sync);
21
+ observer.observe(document.documentElement, {
22
+ attributes: true,
23
+ attributeFilter: [THEME_ATTRIBUTE]
24
+ });
25
+ const media = (_a = window.matchMedia) == null ? void 0 : _a.call(window, DARK_QUERY);
26
+ (_b = media == null ? void 0 : media.addEventListener) == null ? void 0 : _b.call(media, "change", sync);
27
+ return () => {
28
+ var _a2;
29
+ observer.disconnect();
30
+ (_a2 = media == null ? void 0 : media.removeEventListener) == null ? void 0 : _a2.call(media, "change", sync);
31
+ };
32
+ }, []);
33
+ return mode;
34
+ }
35
+ exports.useThemeMode = useThemeMode;
68
36
  //# sourceMappingURL=index7.cjs.map