@ktnpm_devops/react-component 0.15.0 → 0.17.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 (424) hide show
  1. package/README.md +38 -2
  2. package/dist/constants.d.ts +9 -3
  3. package/dist/constants.d.ts.map +1 -1
  4. package/dist/data/HeatmapMatrix/HeatmapMatrix.d.ts.map +1 -1
  5. package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts +42 -0
  6. package/dist/data/HeatmapMatrix/HeatmapMatrix.types.d.ts.map +1 -1
  7. package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts +9 -0
  8. package/dist/data/HeatmapMatrix/HeatmapMatrixHeader.d.ts.map +1 -0
  9. package/dist/data/HeatmapMatrix/getColumnRuns.d.ts +11 -0
  10. package/dist/data/HeatmapMatrix/getColumnRuns.d.ts.map +1 -0
  11. package/dist/data/HeatmapMatrix/getColumnRuns.test.d.ts +2 -0
  12. package/dist/data/HeatmapMatrix/getColumnRuns.test.d.ts.map +1 -0
  13. package/dist/data/HeatmapMatrix/index.d.ts +1 -1
  14. package/dist/data/HeatmapMatrix/index.d.ts.map +1 -1
  15. package/dist/geo/GeoMapCard/GeoMapCard.d.ts +1 -1
  16. package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -1
  17. package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +28 -2
  18. package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -1
  19. package/dist/geo/GeoMapCard/MapStatusBars.d.ts +11 -0
  20. package/dist/geo/GeoMapCard/MapStatusBars.d.ts.map +1 -0
  21. package/dist/geo/GeoMapCard/ViewportReporter.d.ts +15 -0
  22. package/dist/geo/GeoMapCard/ViewportReporter.d.ts.map +1 -0
  23. package/dist/geo/GeoMapCard/describePoints.d.ts +7 -0
  24. package/dist/geo/GeoMapCard/describePoints.d.ts.map +1 -0
  25. package/dist/geo/GeoMapCard/normalizeViewport.d.ts +13 -0
  26. package/dist/geo/GeoMapCard/normalizeViewport.d.ts.map +1 -0
  27. package/dist/geo/GeoMapCard/normalizeViewport.test.d.ts +2 -0
  28. package/dist/geo/GeoMapCard/normalizeViewport.test.d.ts.map +1 -0
  29. package/dist/geo/GeoMapCard/resolveTiles.d.ts +9 -0
  30. package/dist/geo/GeoMapCard/resolveTiles.d.ts.map +1 -0
  31. package/dist/geo/GeoMapCard/warnMissingBasemapKey.d.ts +9 -0
  32. package/dist/geo/GeoMapCard/warnMissingBasemapKey.d.ts.map +1 -0
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index10.cjs +1 -1
  36. package/dist/index10.js +1 -1
  37. package/dist/index100.cjs +39 -15
  38. package/dist/index100.cjs.map +1 -1
  39. package/dist/index100.js +38 -14
  40. package/dist/index100.js.map +1 -1
  41. package/dist/index101.cjs +9 -7
  42. package/dist/index101.cjs.map +1 -1
  43. package/dist/index101.js +8 -6
  44. package/dist/index101.js.map +1 -1
  45. package/dist/index102.cjs +10 -6
  46. package/dist/index102.cjs.map +1 -1
  47. package/dist/index102.js +9 -5
  48. package/dist/index102.js.map +1 -1
  49. package/dist/index103.cjs +20 -70
  50. package/dist/index103.cjs.map +1 -1
  51. package/dist/index103.js +19 -69
  52. package/dist/index103.js.map +1 -1
  53. package/dist/index104.cjs +14 -25
  54. package/dist/index104.cjs.map +1 -1
  55. package/dist/index104.js +13 -24
  56. package/dist/index104.js.map +1 -1
  57. package/dist/index105.cjs +10 -21
  58. package/dist/index105.cjs.map +1 -1
  59. package/dist/index105.js +9 -20
  60. package/dist/index105.js.map +1 -1
  61. package/dist/index106.cjs +70 -134
  62. package/dist/index106.cjs.map +1 -1
  63. package/dist/index106.js +69 -133
  64. package/dist/index106.js.map +1 -1
  65. package/dist/index107.cjs +8 -38
  66. package/dist/index107.cjs.map +1 -1
  67. package/dist/index107.js +9 -39
  68. package/dist/index107.js.map +1 -1
  69. package/dist/index108.cjs +48 -31
  70. package/dist/index108.cjs.map +1 -1
  71. package/dist/index108.js +47 -30
  72. package/dist/index108.js.map +1 -1
  73. package/dist/index109.cjs +18 -40
  74. package/dist/index109.cjs.map +1 -1
  75. package/dist/index109.js +17 -39
  76. package/dist/index109.js.map +1 -1
  77. package/dist/index11.cjs +1 -1
  78. package/dist/index11.js +1 -1
  79. package/dist/index110.cjs +31 -52
  80. package/dist/index110.cjs.map +1 -1
  81. package/dist/index110.js +31 -52
  82. package/dist/index110.js.map +1 -1
  83. package/dist/index111.cjs +49 -19
  84. package/dist/index111.cjs.map +1 -1
  85. package/dist/index111.js +49 -19
  86. package/dist/index111.js.map +1 -1
  87. package/dist/index112.cjs +35 -2
  88. package/dist/index112.cjs.map +1 -1
  89. package/dist/index112.js +36 -3
  90. package/dist/index112.js.map +1 -1
  91. package/dist/index113.cjs +10 -19
  92. package/dist/index113.cjs.map +1 -1
  93. package/dist/index113.js +11 -20
  94. package/dist/index113.js.map +1 -1
  95. package/dist/index114.cjs +18 -36
  96. package/dist/index114.cjs.map +1 -1
  97. package/dist/index114.js +18 -36
  98. package/dist/index114.js.map +1 -1
  99. package/dist/index115.cjs +39 -39
  100. package/dist/index115.cjs.map +1 -1
  101. package/dist/index115.js +38 -38
  102. package/dist/index115.js.map +1 -1
  103. package/dist/index116.cjs +69 -92
  104. package/dist/index116.cjs.map +1 -1
  105. package/dist/index116.js +68 -91
  106. package/dist/index116.js.map +1 -1
  107. package/dist/index117.cjs +52 -34
  108. package/dist/index117.cjs.map +1 -1
  109. package/dist/index117.js +52 -34
  110. package/dist/index117.js.map +1 -1
  111. package/dist/index118.cjs +16 -116
  112. package/dist/index118.cjs.map +1 -1
  113. package/dist/index118.js +15 -115
  114. package/dist/index118.js.map +1 -1
  115. package/dist/index119.cjs +16 -37
  116. package/dist/index119.cjs.map +1 -1
  117. package/dist/index119.js +16 -37
  118. package/dist/index119.js.map +1 -1
  119. package/dist/index12.cjs +1 -1
  120. package/dist/index12.js +1 -1
  121. package/dist/index120.cjs +17 -84
  122. package/dist/index120.cjs.map +1 -1
  123. package/dist/index120.js +16 -83
  124. package/dist/index120.js.map +1 -1
  125. package/dist/index121.cjs +2 -20
  126. package/dist/index121.cjs.map +1 -1
  127. package/dist/index121.js +3 -21
  128. package/dist/index121.js.map +1 -1
  129. package/dist/index122.cjs +19 -1164
  130. package/dist/index122.cjs.map +1 -1
  131. package/dist/index122.js +17 -1163
  132. package/dist/index122.js.map +1 -1
  133. package/dist/index123.cjs +6 -1575
  134. package/dist/index123.cjs.map +1 -1
  135. package/dist/index123.js +5 -1575
  136. package/dist/index123.js.map +1 -1
  137. package/dist/index124.cjs +21 -0
  138. package/dist/index124.cjs.map +1 -0
  139. package/dist/index124.js +21 -0
  140. package/dist/index124.js.map +1 -0
  141. package/dist/index125.cjs +87 -0
  142. package/dist/index125.cjs.map +1 -0
  143. package/dist/index125.js +87 -0
  144. package/dist/index125.js.map +1 -0
  145. package/dist/index126.cjs +24 -0
  146. package/dist/index126.cjs.map +1 -0
  147. package/dist/index126.js +24 -0
  148. package/dist/index126.js.map +1 -0
  149. package/dist/index127.cjs +36 -0
  150. package/dist/index127.cjs.map +1 -0
  151. package/dist/index127.js +36 -0
  152. package/dist/index127.js.map +1 -0
  153. package/dist/index128.cjs +1166 -0
  154. package/dist/index128.cjs.map +1 -0
  155. package/dist/index128.js +1167 -0
  156. package/dist/index128.js.map +1 -0
  157. package/dist/index129.cjs +1578 -0
  158. package/dist/index129.cjs.map +1 -0
  159. package/dist/index129.js +1579 -0
  160. package/dist/index129.js.map +1 -0
  161. package/dist/index13.cjs +1 -1
  162. package/dist/index13.js +1 -1
  163. package/dist/index130.cjs +37 -0
  164. package/dist/index130.cjs.map +1 -0
  165. package/dist/index130.js +37 -0
  166. package/dist/index130.js.map +1 -0
  167. package/dist/index14.cjs +1 -1
  168. package/dist/index14.js +1 -1
  169. package/dist/index15.cjs +1 -1
  170. package/dist/index15.js +1 -1
  171. package/dist/index16.cjs +2 -2
  172. package/dist/index16.js +2 -2
  173. package/dist/index17.cjs +1 -1
  174. package/dist/index17.js +1 -1
  175. package/dist/index18.cjs +1 -1
  176. package/dist/index18.js +1 -1
  177. package/dist/index19.cjs +1 -1
  178. package/dist/index19.js +1 -1
  179. package/dist/index20.cjs +1 -1
  180. package/dist/index20.js +1 -1
  181. package/dist/index21.cjs +1 -1
  182. package/dist/index21.js +1 -1
  183. package/dist/index22.cjs +2 -2
  184. package/dist/index22.js +2 -2
  185. package/dist/index23.cjs +2 -2
  186. package/dist/index23.js +2 -2
  187. package/dist/index24.cjs +2 -2
  188. package/dist/index24.js +2 -2
  189. package/dist/index25.cjs +1 -1
  190. package/dist/index25.js +1 -1
  191. package/dist/index26.cjs +1 -1
  192. package/dist/index26.js +1 -1
  193. package/dist/index27.cjs +1 -1
  194. package/dist/index27.js +1 -1
  195. package/dist/index28.cjs +1 -1
  196. package/dist/index28.js +1 -1
  197. package/dist/index29.cjs +2 -2
  198. package/dist/index29.js +2 -2
  199. package/dist/index30.cjs +37 -35
  200. package/dist/index30.cjs.map +1 -1
  201. package/dist/index30.js +35 -33
  202. package/dist/index30.js.map +1 -1
  203. package/dist/index31.cjs +4 -4
  204. package/dist/index31.js +4 -4
  205. package/dist/index32.cjs +78 -53
  206. package/dist/index32.cjs.map +1 -1
  207. package/dist/index32.js +79 -54
  208. package/dist/index32.js.map +1 -1
  209. package/dist/index33.cjs +1 -1
  210. package/dist/index33.js +1 -1
  211. package/dist/index34.cjs +2 -2
  212. package/dist/index34.js +2 -2
  213. package/dist/index35.cjs +2 -2
  214. package/dist/index35.js +2 -2
  215. package/dist/index36.cjs +2 -2
  216. package/dist/index36.js +2 -2
  217. package/dist/index37.cjs +1 -1
  218. package/dist/index37.js +1 -1
  219. package/dist/index38.cjs +2 -2
  220. package/dist/index38.js +2 -2
  221. package/dist/index39.cjs +1 -1
  222. package/dist/index39.js +1 -1
  223. package/dist/index40.cjs +2 -2
  224. package/dist/index40.js +2 -2
  225. package/dist/index41.cjs +2 -2
  226. package/dist/index41.js +2 -2
  227. package/dist/index42.cjs +2 -2
  228. package/dist/index42.js +2 -2
  229. package/dist/index43.cjs +1 -1
  230. package/dist/index43.js +1 -1
  231. package/dist/index44.cjs +2 -2
  232. package/dist/index44.js +2 -2
  233. package/dist/index45.cjs +4 -4
  234. package/dist/index45.js +4 -4
  235. package/dist/index46.cjs +1 -1
  236. package/dist/index46.js +1 -1
  237. package/dist/index47.cjs +1 -1
  238. package/dist/index47.js +1 -1
  239. package/dist/index48.cjs +1 -1
  240. package/dist/index48.js +1 -1
  241. package/dist/index49.cjs +2 -2
  242. package/dist/index49.js +2 -2
  243. package/dist/index50.cjs +2 -2
  244. package/dist/index50.js +2 -2
  245. package/dist/index51.cjs +1 -1
  246. package/dist/index51.js +1 -1
  247. package/dist/index52.cjs +3 -3
  248. package/dist/index52.js +3 -3
  249. package/dist/index53.cjs +1 -1
  250. package/dist/index53.js +1 -1
  251. package/dist/index54.cjs +1 -1
  252. package/dist/index54.js +1 -1
  253. package/dist/index55.cjs +3 -3
  254. package/dist/index55.js +3 -3
  255. package/dist/index56.cjs +1 -1
  256. package/dist/index56.js +1 -1
  257. package/dist/index57.cjs +1 -1
  258. package/dist/index57.js +1 -1
  259. package/dist/index58.cjs +2 -2
  260. package/dist/index58.js +2 -2
  261. package/dist/index60.cjs +7 -4
  262. package/dist/index60.cjs.map +1 -1
  263. package/dist/index60.js +7 -4
  264. package/dist/index60.js.map +1 -1
  265. package/dist/index61.cjs +20 -5
  266. package/dist/index61.cjs.map +1 -1
  267. package/dist/index61.js +21 -6
  268. package/dist/index61.js.map +1 -1
  269. package/dist/index62.cjs +18 -17
  270. package/dist/index62.cjs.map +1 -1
  271. package/dist/index62.js +17 -16
  272. package/dist/index62.js.map +1 -1
  273. package/dist/index63.cjs +4 -1
  274. package/dist/index63.cjs.map +1 -1
  275. package/dist/index63.js +4 -1
  276. package/dist/index63.js.map +1 -1
  277. package/dist/index64.cjs +142 -6
  278. package/dist/index64.cjs.map +1 -1
  279. package/dist/index64.js +141 -5
  280. package/dist/index64.js.map +1 -1
  281. package/dist/index65.cjs +22 -141
  282. package/dist/index65.cjs.map +1 -1
  283. package/dist/index65.js +20 -139
  284. package/dist/index65.js.map +1 -1
  285. package/dist/index66.cjs +19 -16
  286. package/dist/index66.cjs.map +1 -1
  287. package/dist/index66.js +19 -16
  288. package/dist/index66.js.map +1 -1
  289. package/dist/index67.cjs +16 -46
  290. package/dist/index67.cjs.map +1 -1
  291. package/dist/index67.js +16 -46
  292. package/dist/index67.js.map +1 -1
  293. package/dist/index68.cjs +37 -52
  294. package/dist/index68.cjs.map +1 -1
  295. package/dist/index68.js +37 -52
  296. package/dist/index68.js.map +1 -1
  297. package/dist/index69.cjs +28 -28
  298. package/dist/index69.js +28 -28
  299. package/dist/index70.cjs +20 -2
  300. package/dist/index70.cjs.map +1 -1
  301. package/dist/index70.js +21 -3
  302. package/dist/index70.js.map +1 -1
  303. package/dist/index71.cjs +4 -13
  304. package/dist/index71.cjs.map +1 -1
  305. package/dist/index71.js +4 -13
  306. package/dist/index71.js.map +1 -1
  307. package/dist/index72.cjs +116 -40
  308. package/dist/index72.cjs.map +1 -1
  309. package/dist/index72.js +115 -39
  310. package/dist/index72.js.map +1 -1
  311. package/dist/index73.cjs +33 -24
  312. package/dist/index73.cjs.map +1 -1
  313. package/dist/index73.js +34 -25
  314. package/dist/index73.js.map +1 -1
  315. package/dist/index74.cjs +52 -13
  316. package/dist/index74.cjs.map +1 -1
  317. package/dist/index74.js +53 -14
  318. package/dist/index74.js.map +1 -1
  319. package/dist/index75.cjs +39 -15
  320. package/dist/index75.cjs.map +1 -1
  321. package/dist/index75.js +38 -14
  322. package/dist/index75.js.map +1 -1
  323. package/dist/index76.cjs +92 -21
  324. package/dist/index76.cjs.map +1 -1
  325. package/dist/index76.js +91 -20
  326. package/dist/index76.js.map +1 -1
  327. package/dist/index77.cjs +34 -4
  328. package/dist/index77.cjs.map +1 -1
  329. package/dist/index77.js +35 -5
  330. package/dist/index77.js.map +1 -1
  331. package/dist/index78.cjs +22 -42
  332. package/dist/index78.cjs.map +1 -1
  333. package/dist/index78.js +21 -41
  334. package/dist/index78.js.map +1 -1
  335. package/dist/index79.cjs +69 -33
  336. package/dist/index79.cjs.map +1 -1
  337. package/dist/index79.js +68 -32
  338. package/dist/index79.js.map +1 -1
  339. package/dist/index80.cjs +7 -21
  340. package/dist/index80.cjs.map +1 -1
  341. package/dist/index80.js +6 -20
  342. package/dist/index80.js.map +1 -1
  343. package/dist/index81.cjs +39 -22
  344. package/dist/index81.cjs.map +1 -1
  345. package/dist/index81.js +38 -21
  346. package/dist/index81.js.map +1 -1
  347. package/dist/index82.cjs +127 -63
  348. package/dist/index82.cjs.map +1 -1
  349. package/dist/index82.js +127 -63
  350. package/dist/index82.js.map +1 -1
  351. package/dist/index83.cjs +45 -7
  352. package/dist/index83.cjs.map +1 -1
  353. package/dist/index83.js +44 -6
  354. package/dist/index83.js.map +1 -1
  355. package/dist/index84.cjs +2 -35
  356. package/dist/index84.cjs.map +1 -1
  357. package/dist/index84.js +3 -36
  358. package/dist/index84.js.map +1 -1
  359. package/dist/index85.cjs +39 -35
  360. package/dist/index85.cjs.map +1 -1
  361. package/dist/index85.js +38 -34
  362. package/dist/index85.js.map +1 -1
  363. package/dist/index86.cjs +33 -43
  364. package/dist/index86.cjs.map +1 -1
  365. package/dist/index86.js +32 -42
  366. package/dist/index86.js.map +1 -1
  367. package/dist/index87.cjs +6 -24
  368. package/dist/index87.cjs.map +1 -1
  369. package/dist/index87.js +5 -23
  370. package/dist/index87.js.map +1 -1
  371. package/dist/index88.cjs +22 -20
  372. package/dist/index88.cjs.map +1 -1
  373. package/dist/index88.js +21 -19
  374. package/dist/index88.js.map +1 -1
  375. package/dist/index89.cjs +25 -14
  376. package/dist/index89.cjs.map +1 -1
  377. package/dist/index89.js +24 -13
  378. package/dist/index89.js.map +1 -1
  379. package/dist/index90.cjs +42 -51
  380. package/dist/index90.cjs.map +1 -1
  381. package/dist/index90.js +42 -51
  382. package/dist/index90.js.map +1 -1
  383. package/dist/index91.cjs +21 -18
  384. package/dist/index91.cjs.map +1 -1
  385. package/dist/index91.js +22 -19
  386. package/dist/index91.js.map +1 -1
  387. package/dist/index92.cjs +22 -13
  388. package/dist/index92.cjs.map +1 -1
  389. package/dist/index92.js +22 -13
  390. package/dist/index92.js.map +1 -1
  391. package/dist/index93.cjs +2 -50
  392. package/dist/index93.cjs.map +1 -1
  393. package/dist/index93.js +3 -51
  394. package/dist/index93.js.map +1 -1
  395. package/dist/index94.cjs +13 -22
  396. package/dist/index94.cjs.map +1 -1
  397. package/dist/index94.js +14 -23
  398. package/dist/index94.js.map +1 -1
  399. package/dist/index95.cjs +3 -15
  400. package/dist/index95.cjs.map +1 -1
  401. package/dist/index95.js +3 -15
  402. package/dist/index95.js.map +1 -1
  403. package/dist/index96.cjs +19 -13
  404. package/dist/index96.cjs.map +1 -1
  405. package/dist/index96.js +19 -13
  406. package/dist/index96.js.map +1 -1
  407. package/dist/index97.cjs +35 -27
  408. package/dist/index97.cjs.map +1 -1
  409. package/dist/index97.js +34 -26
  410. package/dist/index97.js.map +1 -1
  411. package/dist/index98.cjs +43 -21
  412. package/dist/index98.cjs.map +1 -1
  413. package/dist/index98.js +42 -20
  414. package/dist/index98.js.map +1 -1
  415. package/dist/index99.cjs +24 -21
  416. package/dist/index99.cjs.map +1 -1
  417. package/dist/index99.js +23 -20
  418. package/dist/index99.js.map +1 -1
  419. package/dist/style.css +64 -5
  420. package/dist/types/geo.types.d.ts +14 -0
  421. package/dist/types/geo.types.d.ts.map +1 -1
  422. package/dist/types/index.d.ts +1 -1
  423. package/dist/types/index.d.ts.map +1 -1
  424. package/package.json +1 -1
package/dist/index111.js CHANGED
@@ -1,27 +1,57 @@
1
- const overlay = "krc-overlay-4gFc3";
2
- const root = "krc-root-eKDda";
3
- const header = "krc-header-YrzLd";
4
- const title = "krc-title-9rzEH";
5
- const closeBtn = "krc-closeBtn-vGJ7P";
6
- const body = "krc-body-g43Cd";
7
- const footer = "krc-footer-JRwi5";
1
+ const root = "krc-root-W2sel";
2
+ const tableContainer = "krc-tableContainer-Ed3uk";
3
+ const table = "krc-table-7p0H-";
4
+ const th = "krc-th-fNmfv";
5
+ const sortable = "krc-sortable-Ve0MQ";
6
+ const thContent = "krc-thContent-BRDIL";
7
+ const sortIndicator = "krc-sortIndicator-PtGYj";
8
+ const resizeHandle = "krc-resizeHandle--St-g";
9
+ const td = "krc-td-ZVsrU";
10
+ const row = "krc-row-JivMH";
11
+ const rowClickable = "krc-rowClickable-lTgQW";
12
+ const rowSelected = "krc-rowSelected-Sv0qs";
13
+ const skeletonRow = "krc-skeletonRow-uD1y7";
14
+ const skeleton = "krc-skeleton-eeYso";
15
+ const empty = "krc-empty-xKpKS";
16
+ const loadMore = "krc-loadMore-njxDN";
17
+ const loadMoreButton = "krc-loadMoreButton-C3Q-f";
8
18
  const styles = {
9
- overlay,
10
19
  root,
11
- header,
12
- title,
13
- closeBtn,
14
- body,
15
- footer
20
+ tableContainer,
21
+ table,
22
+ th,
23
+ sortable,
24
+ thContent,
25
+ sortIndicator,
26
+ resizeHandle,
27
+ td,
28
+ row,
29
+ rowClickable,
30
+ rowSelected,
31
+ skeletonRow,
32
+ skeleton,
33
+ empty,
34
+ loadMore,
35
+ loadMoreButton
16
36
  };
17
37
  export {
18
- body,
19
- closeBtn,
20
38
  styles as default,
21
- footer,
22
- header,
23
- overlay,
39
+ empty,
40
+ loadMore,
41
+ loadMoreButton,
42
+ resizeHandle,
24
43
  root,
25
- title
44
+ row,
45
+ rowClickable,
46
+ rowSelected,
47
+ skeleton,
48
+ skeletonRow,
49
+ sortIndicator,
50
+ sortable,
51
+ table,
52
+ tableContainer,
53
+ td,
54
+ th,
55
+ thContent
26
56
  };
27
57
  //# sourceMappingURL=index111.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index111.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index111.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index112.cjs CHANGED
@@ -1,9 +1,42 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-bWynN";
3
+ const root = "krc-root-uKAJr";
4
+ const header = "krc-header-BWJPo";
5
+ const body = "krc-body-LCUxY";
6
+ const footer = "krc-footer-z4n8R";
7
+ const toggle = "krc-toggle-9T9IZ";
8
+ const section = "krc-section-us0Me";
9
+ const sectionTitle = "krc-sectionTitle-On1X-";
10
+ const sectionToggle = "krc-sectionToggle-eriVJ";
11
+ const sectionChevron = "krc-sectionChevron-cgn7M";
12
+ const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
13
+ const sectionItems = "krc-sectionItems-iwvxo";
14
+ const collapsed = "krc-collapsed-JRXBy";
4
15
  const styles = {
5
- root
16
+ root,
17
+ header,
18
+ body,
19
+ footer,
20
+ toggle,
21
+ section,
22
+ sectionTitle,
23
+ sectionToggle,
24
+ sectionChevron,
25
+ sectionChevronOpen,
26
+ sectionItems,
27
+ collapsed
6
28
  };
29
+ exports.body = body;
30
+ exports.collapsed = collapsed;
7
31
  exports.default = styles;
32
+ exports.footer = footer;
33
+ exports.header = header;
8
34
  exports.root = root;
35
+ exports.section = section;
36
+ exports.sectionChevron = sectionChevron;
37
+ exports.sectionChevronOpen = sectionChevronOpen;
38
+ exports.sectionItems = sectionItems;
39
+ exports.sectionTitle = sectionTitle;
40
+ exports.sectionToggle = sectionToggle;
41
+ exports.toggle = toggle;
9
42
  //# sourceMappingURL=index112.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index112.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index112.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index112.js CHANGED
@@ -1,9 +1,42 @@
1
- const root = "krc-root-bWynN";
1
+ const root = "krc-root-uKAJr";
2
+ const header = "krc-header-BWJPo";
3
+ const body = "krc-body-LCUxY";
4
+ const footer = "krc-footer-z4n8R";
5
+ const toggle = "krc-toggle-9T9IZ";
6
+ const section = "krc-section-us0Me";
7
+ const sectionTitle = "krc-sectionTitle-On1X-";
8
+ const sectionToggle = "krc-sectionToggle-eriVJ";
9
+ const sectionChevron = "krc-sectionChevron-cgn7M";
10
+ const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
11
+ const sectionItems = "krc-sectionItems-iwvxo";
12
+ const collapsed = "krc-collapsed-JRXBy";
2
13
  const styles = {
3
- root
14
+ root,
15
+ header,
16
+ body,
17
+ footer,
18
+ toggle,
19
+ section,
20
+ sectionTitle,
21
+ sectionToggle,
22
+ sectionChevron,
23
+ sectionChevronOpen,
24
+ sectionItems,
25
+ collapsed
4
26
  };
5
27
  export {
28
+ body,
29
+ collapsed,
6
30
  styles as default,
7
- root
31
+ footer,
32
+ header,
33
+ root,
34
+ section,
35
+ sectionChevron,
36
+ sectionChevronOpen,
37
+ sectionItems,
38
+ sectionTitle,
39
+ sectionToggle,
40
+ toggle
8
41
  };
9
42
  //# sourceMappingURL=index112.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index112.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index113.cjs CHANGED
@@ -1,27 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
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";
3
+ const root = "krc-root-GPZXT";
4
+ const sm = "krc-sm-QGnvH";
5
+ const md = "krc-md-rQKlJ";
6
+ const lg = "krc-lg-eC2yT";
10
7
  const styles = {
11
8
  root,
12
- item,
13
- head,
14
- headContent,
15
- chev,
16
- isOpen,
17
- body
9
+ sm,
10
+ md,
11
+ lg
18
12
  };
19
- exports.body = body;
20
- exports.chev = chev;
21
13
  exports.default = styles;
22
- exports.head = head;
23
- exports.headContent = headContent;
24
- exports.isOpen = isOpen;
25
- exports.item = item;
14
+ exports.lg = lg;
15
+ exports.md = md;
26
16
  exports.root = root;
17
+ exports.sm = sm;
27
18
  //# sourceMappingURL=index113.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index113.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index113.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
package/dist/index113.js CHANGED
@@ -1,27 +1,18 @@
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";
1
+ const root = "krc-root-GPZXT";
2
+ const sm = "krc-sm-QGnvH";
3
+ const md = "krc-md-rQKlJ";
4
+ const lg = "krc-lg-eC2yT";
8
5
  const styles = {
9
6
  root,
10
- item,
11
- head,
12
- headContent,
13
- chev,
14
- isOpen,
15
- body
7
+ sm,
8
+ md,
9
+ lg
16
10
  };
17
11
  export {
18
- body,
19
- chev,
20
12
  styles as default,
21
- head,
22
- headContent,
23
- isOpen,
24
- item,
25
- root
13
+ lg,
14
+ md,
15
+ root,
16
+ sm
26
17
  };
27
18
  //# sourceMappingURL=index113.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index113.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index113.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/index114.cjs CHANGED
@@ -1,42 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const throbber = "krc-throbber-sSMfc";
4
- const spinner = "krc-spinner-vmNIY";
5
- const loadingSpin = "krc-loading-spin-cFeV6";
6
- const titleRow = "krc-titleRow--Go1f";
7
- const titleSpinner = "krc-titleSpinner-BPUs5";
8
- const steps = "krc-steps-zu1EV";
9
- const step = "krc-step-hzz-Q";
10
- const pending = "krc-pending-sxbM4";
11
- const iconSlot = "krc-iconSlot-74ZD2";
12
- const stepSpinner = "krc-stepSpinner-0d1jM";
13
- const checkIcon = "krc-checkIcon-FhWlj";
14
- const nonClosable = "krc-nonClosable-7NB7j";
3
+ const root = "krc-root-jkFwM";
4
+ const sidebar = "krc-sidebar-g7vxQ";
5
+ const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
6
+ const main = "krc-main-B4HyG";
7
+ const content = "krc-content-72sFf";
8
+ const title = "krc-title-pe-1P";
15
9
  const styles = {
16
- throbber,
17
- spinner,
18
- loadingSpin,
19
- titleRow,
20
- titleSpinner,
21
- steps,
22
- step,
23
- pending,
24
- iconSlot,
25
- stepSpinner,
26
- checkIcon,
27
- nonClosable
10
+ root,
11
+ sidebar,
12
+ sidebarCollapsed,
13
+ main,
14
+ content,
15
+ title
28
16
  };
29
- exports.checkIcon = checkIcon;
17
+ exports.content = content;
30
18
  exports.default = styles;
31
- exports.iconSlot = iconSlot;
32
- exports.loadingSpin = loadingSpin;
33
- exports.nonClosable = nonClosable;
34
- exports.pending = pending;
35
- exports.spinner = spinner;
36
- exports.step = step;
37
- exports.stepSpinner = stepSpinner;
38
- exports.steps = steps;
39
- exports.throbber = throbber;
40
- exports.titleRow = titleRow;
41
- exports.titleSpinner = titleSpinner;
19
+ exports.main = main;
20
+ exports.root = root;
21
+ exports.sidebar = sidebar;
22
+ exports.sidebarCollapsed = sidebarCollapsed;
23
+ exports.title = title;
42
24
  //# sourceMappingURL=index114.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index114.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index114.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index114.js CHANGED
@@ -1,42 +1,24 @@
1
- const throbber = "krc-throbber-sSMfc";
2
- const spinner = "krc-spinner-vmNIY";
3
- const loadingSpin = "krc-loading-spin-cFeV6";
4
- const titleRow = "krc-titleRow--Go1f";
5
- const titleSpinner = "krc-titleSpinner-BPUs5";
6
- const steps = "krc-steps-zu1EV";
7
- const step = "krc-step-hzz-Q";
8
- const pending = "krc-pending-sxbM4";
9
- const iconSlot = "krc-iconSlot-74ZD2";
10
- const stepSpinner = "krc-stepSpinner-0d1jM";
11
- const checkIcon = "krc-checkIcon-FhWlj";
12
- const nonClosable = "krc-nonClosable-7NB7j";
1
+ const root = "krc-root-jkFwM";
2
+ const sidebar = "krc-sidebar-g7vxQ";
3
+ const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
4
+ const main = "krc-main-B4HyG";
5
+ const content = "krc-content-72sFf";
6
+ const title = "krc-title-pe-1P";
13
7
  const styles = {
14
- throbber,
15
- spinner,
16
- loadingSpin,
17
- titleRow,
18
- titleSpinner,
19
- steps,
20
- step,
21
- pending,
22
- iconSlot,
23
- stepSpinner,
24
- checkIcon,
25
- nonClosable
8
+ root,
9
+ sidebar,
10
+ sidebarCollapsed,
11
+ main,
12
+ content,
13
+ title
26
14
  };
27
15
  export {
28
- checkIcon,
16
+ content,
29
17
  styles as default,
30
- iconSlot,
31
- loadingSpin,
32
- nonClosable,
33
- pending,
34
- spinner,
35
- step,
36
- stepSpinner,
37
- steps,
38
- throbber,
39
- titleRow,
40
- titleSpinner
18
+ main,
19
+ root,
20
+ sidebar,
21
+ sidebarCollapsed,
22
+ title
41
23
  };
42
24
  //# sourceMappingURL=index114.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index114.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index114.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/dist/index115.cjs CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const weightOf = (point) => point.weight ?? 1;
4
- const fold = (data) => {
5
- const byPosition = /* @__PURE__ */ new Map();
6
- data.forEach((point, index) => {
7
- const key = `${point.x}|${point.y}`;
8
- const existing = byPosition.get(key);
9
- if (!existing) {
10
- byPosition.set(key, { point, index, count: 1 });
11
- return;
12
- }
13
- existing.count += 1;
14
- existing.point = {
15
- ...existing.point,
16
- weight: weightOf(existing.point) + weightOf(point)
17
- };
18
- });
19
- return [...byPosition.values()];
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const throbber = "krc-throbber-sSMfc";
4
+ const spinner = "krc-spinner-vmNIY";
5
+ const loadingSpin = "krc-loading-spin-cFeV6";
6
+ const titleRow = "krc-titleRow--Go1f";
7
+ const titleSpinner = "krc-titleSpinner-BPUs5";
8
+ const steps = "krc-steps-zu1EV";
9
+ const step = "krc-step-hzz-Q";
10
+ const pending = "krc-pending-sxbM4";
11
+ const iconSlot = "krc-iconSlot-74ZD2";
12
+ const stepSpinner = "krc-stepSpinner-0d1jM";
13
+ const checkIcon = "krc-checkIcon-FhWlj";
14
+ const nonClosable = "krc-nonClosable-7NB7j";
15
+ const styles = {
16
+ throbber,
17
+ spinner,
18
+ loadingSpin,
19
+ titleRow,
20
+ titleSpinner,
21
+ steps,
22
+ step,
23
+ pending,
24
+ iconSlot,
25
+ stepSpinner,
26
+ checkIcon,
27
+ nonClosable
20
28
  };
21
- const sample = (points, cap) => {
22
- if (cap <= 1) return points.slice(0, Math.max(cap, 0));
23
- const lastIndex = points.length - 1;
24
- const step = lastIndex / (cap - 1);
25
- return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);
26
- };
27
- const foldPoints = (data, maxPoints, mergeCoincident) => {
28
- const folded = mergeCoincident ? fold(data) : data.map((point, index) => ({ point, index, count: 1 }));
29
- const points = folded.length > maxPoints ? sample(folded, maxPoints) : folded;
30
- const represented = points.reduce((sum, p) => sum + p.count, 0);
31
- return {
32
- points,
33
- info: {
34
- total: data.length,
35
- drawn: points.length,
36
- merged: represented - points.length,
37
- dropped: data.length - represented
38
- }
39
- };
40
- };
41
- exports.foldPoints = foldPoints;
29
+ exports.checkIcon = checkIcon;
30
+ exports.default = styles;
31
+ exports.iconSlot = iconSlot;
32
+ exports.loadingSpin = loadingSpin;
33
+ exports.nonClosable = nonClosable;
34
+ exports.pending = pending;
35
+ exports.spinner = spinner;
36
+ exports.step = step;
37
+ exports.stepSpinner = stepSpinner;
38
+ exports.steps = steps;
39
+ exports.throbber = throbber;
40
+ exports.titleRow = titleRow;
41
+ exports.titleSpinner = titleSpinner;
42
42
  //# sourceMappingURL=index115.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index115.cjs","sources":["../src/charts/ScatterChartCard/foldPoints.ts"],"sourcesContent":["import type { ScatterPoint, ScatterRenderInfo } from '../../types/chart.types';\n\n/** A drawn mark, standing for one or more coincident source points. */\nexport interface FoldedPoint {\n /** Representative point. `weight` is the sum across the folded group. */\n point: ScatterPoint;\n /** Index of the representative in the original `data` array. */\n index: number;\n /** How many source points this mark stands for (1 when nothing folded). */\n count: number;\n}\n\nexport interface FoldResult {\n points: FoldedPoint[];\n info: ScatterRenderInfo;\n}\n\n/** Weight a point contributes when folding; unweighted points count as one. */\nconst weightOf = (point: ScatterPoint) => point.weight ?? 1;\n\n/**\n * Group points sharing the same (x, y) into a single mark, summing their weights.\n * A group of one keeps its original weight — including `undefined`, so a dataset\n * with no weights at all stays unweighted and renders at the base symbol size.\n */\nconst fold = (data: ScatterPoint[]): FoldedPoint[] => {\n const byPosition = new Map<string, FoldedPoint>();\n\n data.forEach((point, index) => {\n const key = `${point.x}|${point.y}`;\n const existing = byPosition.get(key);\n\n if (!existing) {\n byPosition.set(key, { point, index, count: 1 });\n return;\n }\n\n existing.count += 1;\n existing.point = {\n ...existing.point,\n weight: weightOf(existing.point) + weightOf(point),\n };\n });\n\n return [...byPosition.values()];\n};\n\n/**\n * Evenly spread `cap` marks across `points`, always keeping the first and last.\n * Deterministic on purpose: the same data must always draw the same chart.\n */\nconst sample = (points: FoldedPoint[], cap: number): FoldedPoint[] => {\n if (cap <= 1) return points.slice(0, Math.max(cap, 0));\n\n const lastIndex = points.length - 1;\n const step = lastIndex / (cap - 1);\n\n return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);\n};\n\n/**\n * Fold coincident points, then cap the mark count, then report what happened.\n * Folding runs first because it often removes the need to sample at all.\n *\n * The reported counts satisfy `total === drawn + merged + dropped`.\n */\nexport const foldPoints = (\n data: ScatterPoint[],\n maxPoints: number,\n mergeCoincident: boolean,\n): FoldResult => {\n const folded = mergeCoincident\n ? fold(data)\n : data.map((point, index) => ({ point, index, count: 1 }));\n\n const points = folded.length > maxPoints ? sample(folded, maxPoints) : folded;\n\n const represented = points.reduce((sum, p) => sum + p.count, 0);\n\n return {\n points,\n info: {\n total: data.length,\n drawn: points.length,\n merged: represented - points.length,\n dropped: data.length - represented,\n },\n };\n};\n"],"names":[],"mappings":";;AAkBA,MAAM,WAAW,CAAC,UAAwB,MAAM,UAAU;AAO1D,MAAM,OAAO,CAAC,SAAwC;AACpD,QAAM,iCAAiB,IAAA;AAEvB,OAAK,QAAQ,CAAC,OAAO,UAAU;AAC7B,UAAM,MAAM,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC;AACjC,UAAM,WAAW,WAAW,IAAI,GAAG;AAEnC,QAAI,CAAC,UAAU;AACb,iBAAW,IAAI,KAAK,EAAE,OAAO,OAAO,OAAO,GAAG;AAC9C;AAAA,IACF;AAEA,aAAS,SAAS;AAClB,aAAS,QAAQ;AAAA,MACf,GAAG,SAAS;AAAA,MACZ,QAAQ,SAAS,SAAS,KAAK,IAAI,SAAS,KAAK;AAAA,IAAA;AAAA,EAErD,CAAC;AAED,SAAO,CAAC,GAAG,WAAW,QAAQ;AAChC;AAMA,MAAM,SAAS,CAAC,QAAuB,QAA+B;AACpE,MAAI,OAAO,EAAG,QAAO,OAAO,MAAM,GAAG,KAAK,IAAI,KAAK,CAAC,CAAC;AAErD,QAAM,YAAY,OAAO,SAAS;AAClC,QAAM,OAAO,aAAa,MAAM;AAEhC,SAAO,MAAM,KAAK,EAAE,QAAQ,OAAO,CAAC,GAAG,MAAM,OAAO,KAAK,MAAM,IAAI,IAAI,CAAC,CAAC;AAC3E;AAQO,MAAM,aAAa,CACxB,MACA,WACA,oBACe;AACf,QAAM,SAAS,kBACX,KAAK,IAAI,IACT,KAAK,IAAI,CAAC,OAAO,WAAW,EAAE,OAAO,OAAO,OAAO,IAAI;AAE3D,QAAM,SAAS,OAAO,SAAS,YAAY,OAAO,QAAQ,SAAS,IAAI;AAEvE,QAAM,cAAc,OAAO,OAAO,CAAC,KAAK,MAAM,MAAM,EAAE,OAAO,CAAC;AAE9D,SAAO;AAAA,IACL;AAAA,IACA,MAAM;AAAA,MACJ,OAAO,KAAK;AAAA,MACZ,OAAO,OAAO;AAAA,MACd,QAAQ,cAAc,OAAO;AAAA,MAC7B,SAAS,KAAK,SAAS;AAAA,IAAA;AAAA,EACzB;AAEJ;;"}
1
+ {"version":3,"file":"index115.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index115.js CHANGED
@@ -1,42 +1,42 @@
1
- const weightOf = (point) => point.weight ?? 1;
2
- const fold = (data) => {
3
- const byPosition = /* @__PURE__ */ new Map();
4
- data.forEach((point, index) => {
5
- const key = `${point.x}|${point.y}`;
6
- const existing = byPosition.get(key);
7
- if (!existing) {
8
- byPosition.set(key, { point, index, count: 1 });
9
- return;
10
- }
11
- existing.count += 1;
12
- existing.point = {
13
- ...existing.point,
14
- weight: weightOf(existing.point) + weightOf(point)
15
- };
16
- });
17
- return [...byPosition.values()];
18
- };
19
- const sample = (points, cap) => {
20
- if (cap <= 1) return points.slice(0, Math.max(cap, 0));
21
- const lastIndex = points.length - 1;
22
- const step = lastIndex / (cap - 1);
23
- return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);
24
- };
25
- const foldPoints = (data, maxPoints, mergeCoincident) => {
26
- const folded = mergeCoincident ? fold(data) : data.map((point, index) => ({ point, index, count: 1 }));
27
- const points = folded.length > maxPoints ? sample(folded, maxPoints) : folded;
28
- const represented = points.reduce((sum, p) => sum + p.count, 0);
29
- return {
30
- points,
31
- info: {
32
- total: data.length,
33
- drawn: points.length,
34
- merged: represented - points.length,
35
- dropped: data.length - represented
36
- }
37
- };
1
+ const throbber = "krc-throbber-sSMfc";
2
+ const spinner = "krc-spinner-vmNIY";
3
+ const loadingSpin = "krc-loading-spin-cFeV6";
4
+ const titleRow = "krc-titleRow--Go1f";
5
+ const titleSpinner = "krc-titleSpinner-BPUs5";
6
+ const steps = "krc-steps-zu1EV";
7
+ const step = "krc-step-hzz-Q";
8
+ const pending = "krc-pending-sxbM4";
9
+ const iconSlot = "krc-iconSlot-74ZD2";
10
+ const stepSpinner = "krc-stepSpinner-0d1jM";
11
+ const checkIcon = "krc-checkIcon-FhWlj";
12
+ const nonClosable = "krc-nonClosable-7NB7j";
13
+ const styles = {
14
+ throbber,
15
+ spinner,
16
+ loadingSpin,
17
+ titleRow,
18
+ titleSpinner,
19
+ steps,
20
+ step,
21
+ pending,
22
+ iconSlot,
23
+ stepSpinner,
24
+ checkIcon,
25
+ nonClosable
38
26
  };
39
27
  export {
40
- foldPoints
28
+ checkIcon,
29
+ styles as default,
30
+ iconSlot,
31
+ loadingSpin,
32
+ nonClosable,
33
+ pending,
34
+ spinner,
35
+ step,
36
+ stepSpinner,
37
+ steps,
38
+ throbber,
39
+ titleRow,
40
+ titleSpinner
41
41
  };
42
42
  //# sourceMappingURL=index115.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index115.js","sources":["../src/charts/ScatterChartCard/foldPoints.ts"],"sourcesContent":["import type { ScatterPoint, ScatterRenderInfo } from '../../types/chart.types';\n\n/** A drawn mark, standing for one or more coincident source points. */\nexport interface FoldedPoint {\n /** Representative point. `weight` is the sum across the folded group. */\n point: ScatterPoint;\n /** Index of the representative in the original `data` array. */\n index: number;\n /** How many source points this mark stands for (1 when nothing folded). */\n count: number;\n}\n\nexport interface FoldResult {\n points: FoldedPoint[];\n info: ScatterRenderInfo;\n}\n\n/** Weight a point contributes when folding; unweighted points count as one. */\nconst weightOf = (point: ScatterPoint) => point.weight ?? 1;\n\n/**\n * Group points sharing the same (x, y) into a single mark, summing their weights.\n * A group of one keeps its original weight — including `undefined`, so a dataset\n * with no weights at all stays unweighted and renders at the base symbol size.\n */\nconst fold = (data: ScatterPoint[]): FoldedPoint[] => {\n const byPosition = new Map<string, FoldedPoint>();\n\n data.forEach((point, index) => {\n const key = `${point.x}|${point.y}`;\n const existing = byPosition.get(key);\n\n if (!existing) {\n byPosition.set(key, { point, index, count: 1 });\n return;\n }\n\n existing.count += 1;\n existing.point = {\n ...existing.point,\n weight: weightOf(existing.point) + weightOf(point),\n };\n });\n\n return [...byPosition.values()];\n};\n\n/**\n * Evenly spread `cap` marks across `points`, always keeping the first and last.\n * Deterministic on purpose: the same data must always draw the same chart.\n */\nconst sample = (points: FoldedPoint[], cap: number): FoldedPoint[] => {\n if (cap <= 1) return points.slice(0, Math.max(cap, 0));\n\n const lastIndex = points.length - 1;\n const step = lastIndex / (cap - 1);\n\n return Array.from({ length: cap }, (_, i) => points[Math.round(i * step)]);\n};\n\n/**\n * Fold coincident points, then cap the mark count, then report what happened.\n * Folding runs first because it often removes the need to sample at all.\n *\n * The reported counts satisfy `total === drawn + merged + dropped`.\n */\nexport const foldPoints = (\n data: ScatterPoint[],\n maxPoints: number,\n mergeCoincident: boolean,\n): FoldResult => {\n const folded = mergeCoincident\n ? fold(data)\n : data.map((point, index) => ({ point, index, count: 1 }));\n\n const points = folded.length > maxPoints ? sample(folded, maxPoints) : folded;\n\n const represented = points.reduce((sum, p) => sum + p.count, 0);\n\n return {\n points,\n info: {\n total: data.length,\n drawn: points.length,\n merged: represented - points.length,\n dropped: data.length - represented,\n },\n };\n};\n"],"names":[],"mappings":"AAkBA,MAAM,WAAW,CAAC,UAAwB,MAAM,UAAU;AAO1D,MAAM,OAAO,CAAC,SAAwC;AACpD,QAAM,iCAAiB,IAAA;AAEvB,OAAK,QAAQ,CAAC,OAAO,UAAU;AAC7B,UAAM,MAAM,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC;AACjC,UAAM,WAAW,WAAW,IAAI,GAAG;AAEnC,QAAI,CAAC,UAAU;AACb,iBAAW,IAAI,KAAK,EAAE,OAAO,OAAO,OAAO,GAAG;AAC9C;AAAA,IACF;AAEA,aAAS,SAAS;AAClB,aAAS,QAAQ;AAAA,MACf,GAAG,SAAS;AAAA,MACZ,QAAQ,SAAS,SAAS,KAAK,IAAI,SAAS,KAAK;AAAA,IAAA;AAAA,EAErD,CAAC;AAED,SAAO,CAAC,GAAG,WAAW,QAAQ;AAChC;AAMA,MAAM,SAAS,CAAC,QAAuB,QAA+B;AACpE,MAAI,OAAO,EAAG,QAAO,OAAO,MAAM,GAAG,KAAK,IAAI,KAAK,CAAC,CAAC;AAErD,QAAM,YAAY,OAAO,SAAS;AAClC,QAAM,OAAO,aAAa,MAAM;AAEhC,SAAO,MAAM,KAAK,EAAE,QAAQ,OAAO,CAAC,GAAG,MAAM,OAAO,KAAK,MAAM,IAAI,IAAI,CAAC,CAAC;AAC3E;AAQO,MAAM,aAAa,CACxB,MACA,WACA,oBACe;AACf,QAAM,SAAS,kBACX,KAAK,IAAI,IACT,KAAK,IAAI,CAAC,OAAO,WAAW,EAAE,OAAO,OAAO,OAAO,IAAI;AAE3D,QAAM,SAAS,OAAO,SAAS,YAAY,OAAO,QAAQ,SAAS,IAAI;AAEvE,QAAM,cAAc,OAAO,OAAO,CAAC,KAAK,MAAM,MAAM,EAAE,OAAO,CAAC;AAE9D,SAAO;AAAA,IACL;AAAA,IACA,MAAM;AAAA,MACJ,OAAO,KAAK;AAAA,MACZ,OAAO,OAAO;AAAA,MACd,QAAQ,cAAc,OAAO;AAAA,MAC7B,SAAS,KAAK,SAAS;AAAA,IAAA;AAAA,EACzB;AAEJ;"}
1
+ {"version":3,"file":"index115.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}