@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.
- package/README.md +39 -0
- package/dist/constants.d.ts +26 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts +7 -0
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +91 -0
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts +12 -0
- package/dist/geo/GeoMapCard/MapLegend.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts +17 -0
- package/dist/geo/GeoMapCard/MapViewport.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts +14 -0
- package/dist/geo/GeoMapCard/PointListing.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts +47 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/buildMarkerStyle.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/index.d.ts +3 -0
- package/dist/geo/GeoMapCard/index.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts +26 -0
- package/dist/geo/GeoMapCard/normalizePoints.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/normalizePoints.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts +13 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/warnMissingLeafletStylesheet.test.d.ts.map +1 -0
- package/dist/geo/index.d.ts +3 -0
- package/dist/geo/index.d.ts.map +1 -0
- package/dist/hooks/useThemeMode.d.ts +8 -0
- package/dist/hooks/useThemeMode.d.ts.map +1 -0
- package/dist/index.cjs +52 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -48
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +45 -14
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +46 -15
- package/dist/index10.js.map +1 -1
- package/dist/index100.cjs +24 -6
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +23 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +20 -16
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +19 -15
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +14 -22
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +13 -21
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +57 -36
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +57 -36
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +19 -16
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +20 -17
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +49 -19
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +49 -19
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +33 -0
- package/dist/index106.cjs.map +1 -0
- package/dist/index106.js +33 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.cjs +18 -0
- package/dist/index107.cjs.map +1 -0
- package/dist/index107.js +18 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.cjs +12 -0
- package/dist/index108.cjs.map +1 -0
- package/dist/index108.js +12 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.cjs +21 -0
- package/dist/index109.cjs.map +1 -0
- package/dist/index109.js +21 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.cjs +14 -15
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +15 -16
- package/dist/index11.js.map +1 -1
- package/dist/index110.cjs +24 -0
- package/dist/index110.cjs.map +1 -0
- package/dist/index110.js +24 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.cjs +9 -0
- package/dist/index111.cjs.map +1 -0
- package/dist/index111.js +9 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.cjs +9 -0
- package/dist/index112.cjs.map +1 -0
- package/dist/index112.js +9 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.cjs +27 -0
- package/dist/index113.cjs.map +1 -0
- package/dist/index113.js +27 -0
- package/dist/index113.js.map +1 -0
- package/dist/index12.cjs +15 -4
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +15 -4
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +4 -16
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +4 -16
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +16 -10
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +16 -10
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +10 -100
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +11 -101
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +100 -20
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +101 -21
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +20 -54
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +20 -54
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +52 -16
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +54 -18
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +16 -24
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +17 -25
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +22 -39
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +23 -40
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +38 -85
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +40 -87
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +85 -153
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +87 -155
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +150 -128
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +150 -128
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +121 -106
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +122 -107
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +121 -17
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +121 -17
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +16 -163
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +16 -163
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +163 -21
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +164 -22
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +20 -129
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +20 -129
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +129 -75
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +131 -77
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +152 -7
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +154 -9
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +74 -128
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +76 -130
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +6 -54
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +8 -56
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +128 -35
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +128 -35
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +51 -221
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +52 -222
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +38 -34
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +39 -35
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +222 -106
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +224 -108
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +30 -64
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +31 -65
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +106 -74
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +108 -76
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +63 -54
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +64 -55
- package/dist/index39.js.map +1 -1
- package/dist/index40.cjs +69 -144
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +70 -145
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +57 -96
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +59 -98
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +147 -66
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +149 -68
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +97 -7
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +99 -9
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +72 -17
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +73 -18
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +7 -76
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +9 -78
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +17 -143
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +17 -143
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +72 -59
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +74 -61
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +136 -98
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +137 -99
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +49 -32
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +49 -32
- package/dist/index49.js.map +1 -1
- package/dist/index50.cjs +105 -6
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +106 -7
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +44 -144
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +45 -145
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +6 -8
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +6 -8
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +145 -15
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +147 -17
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +7 -65
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +8 -66
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +19 -16
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +18 -15
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +67 -24
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +66 -23
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +15 -69
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +15 -69
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +3 -15
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +3 -15
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +24 -89
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +23 -88
- package/dist/index59.js.map +1 -1
- package/dist/index60.cjs +64 -16
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +64 -16
- package/dist/index60.js.map +1 -1
- package/dist/index62.cjs +18 -9
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +18 -9
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +13 -16
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +13 -16
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +13 -13
- package/dist/index64.js +13 -13
- package/dist/index65.cjs +17 -2
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +18 -3
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +2 -20
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +3 -21
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +116 -28
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +114 -26
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +17 -17
- package/dist/index68.js +18 -18
- package/dist/index69.cjs +20 -5
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +20 -5
- package/dist/index69.js.map +1 -1
- package/dist/index7.cjs +32 -64
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +32 -64
- package/dist/index7.js.map +1 -1
- package/dist/index70.cjs +10 -16
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +10 -16
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +16 -28
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +16 -28
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +79 -19
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +80 -20
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +47 -2
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +48 -3
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +53 -2
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +54 -3
- package/dist/index74.js.map +1 -1
- package/dist/index76.cjs +28 -13
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +29 -14
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +3 -30
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +3 -30
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +31 -7
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +32 -8
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +10 -34
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +11 -35
- package/dist/index79.js.map +1 -1
- package/dist/index8.cjs +58 -75
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +58 -75
- package/dist/index8.js.map +1 -1
- package/dist/index80.cjs +16 -10
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +17 -11
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +16 -4
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +17 -5
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +10 -134
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +9 -133
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +24 -36
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +25 -37
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +36 -81
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +36 -81
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +38 -2
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +39 -3
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +49 -43
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +50 -44
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +39 -57
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +38 -56
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +92 -42
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +91 -41
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +34 -16
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +34 -16
- package/dist/index89.js.map +1 -1
- package/dist/index9.cjs +81 -45
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +81 -45
- package/dist/index9.js.map +1 -1
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +1 -1
- package/dist/index92.cjs +34 -34
- package/dist/index92.js +34 -34
- package/dist/index93.cjs +134 -34
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +133 -33
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +45 -39
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +44 -38
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +33 -92
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +32 -91
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +16 -34
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +16 -34
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +13 -49
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +14 -50
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +35 -30
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +34 -29
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +43 -57
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +42 -56
- package/dist/index99.js.map +1 -1
- package/dist/style.css +207 -0
- package/dist/types/geo.types.d.ts +45 -0
- package/dist/types/geo.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +13 -2
package/dist/index84.js
CHANGED
|
@@ -1,87 +1,42 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const search = "krc-search-4gQgB";
|
|
14
|
-
const headerActions = "krc-headerActions-orxXD";
|
|
15
|
-
const chip = "krc-chip--n-9m";
|
|
16
|
-
const chipGhost = "krc-chipGhost-oayjh";
|
|
17
|
-
const list = "krc-list-NRoxf";
|
|
18
|
-
const status = "krc-status-j7xbM";
|
|
19
|
-
const statusError = "krc-statusError-u6rfB";
|
|
20
|
-
const option = "krc-option-ZAXum";
|
|
21
|
-
const optionLabel = "krc-optionLabel-MdDyI";
|
|
22
|
-
const optionCount = "krc-optionCount-JSQl9";
|
|
23
|
-
const create = "krc-create-hO8Cq";
|
|
24
|
-
const footer = "krc-footer-2yk6S";
|
|
25
|
-
const selection = "krc-selection-aYDH-";
|
|
26
|
-
const selectionDelta = "krc-selectionDelta-S1dV7";
|
|
27
|
-
const footerActions = "krc-footerActions-77iCX";
|
|
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";
|
|
28
13
|
const styles = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
search,
|
|
42
|
-
headerActions,
|
|
43
|
-
chip,
|
|
44
|
-
chipGhost,
|
|
45
|
-
list,
|
|
46
|
-
status,
|
|
47
|
-
statusError,
|
|
48
|
-
option,
|
|
49
|
-
optionLabel,
|
|
50
|
-
optionCount,
|
|
51
|
-
create,
|
|
52
|
-
footer,
|
|
53
|
-
selection,
|
|
54
|
-
selectionDelta,
|
|
55
|
-
footerActions
|
|
14
|
+
throbber,
|
|
15
|
+
spinner,
|
|
16
|
+
loadingSpin,
|
|
17
|
+
titleRow,
|
|
18
|
+
titleSpinner,
|
|
19
|
+
steps,
|
|
20
|
+
step,
|
|
21
|
+
pending,
|
|
22
|
+
iconSlot,
|
|
23
|
+
stepSpinner,
|
|
24
|
+
checkIcon,
|
|
25
|
+
nonClosable
|
|
56
26
|
};
|
|
57
27
|
export {
|
|
58
|
-
|
|
59
|
-
badge,
|
|
60
|
-
chevron,
|
|
61
|
-
chip,
|
|
62
|
-
chipGhost,
|
|
63
|
-
clear,
|
|
64
|
-
create,
|
|
28
|
+
checkIcon,
|
|
65
29
|
styles as default,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
search,
|
|
78
|
-
selection,
|
|
79
|
-
selectionDelta,
|
|
80
|
-
status,
|
|
81
|
-
statusError,
|
|
82
|
-
trigger,
|
|
83
|
-
triggerContent,
|
|
84
|
-
value,
|
|
85
|
-
valueGroup
|
|
30
|
+
iconSlot,
|
|
31
|
+
loadingSpin,
|
|
32
|
+
nonClosable,
|
|
33
|
+
pending,
|
|
34
|
+
spinner,
|
|
35
|
+
step,
|
|
36
|
+
stepSpinner,
|
|
37
|
+
steps,
|
|
38
|
+
throbber,
|
|
39
|
+
titleRow,
|
|
40
|
+
titleSpinner
|
|
86
41
|
};
|
|
87
42
|
//# sourceMappingURL=index84.js.map
|
package/dist/index84.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index84.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index84.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index85.cjs
CHANGED
|
@@ -1,9 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
3
|
+
const root = "krc-root-0iK-T";
|
|
4
|
+
const header = "krc-header-vLmNI";
|
|
5
|
+
const title = "krc-title-J9FSG";
|
|
6
|
+
const headerActions = "krc-headerActions-8Sd6i";
|
|
7
|
+
const toolbar = "krc-toolbar-65kLR";
|
|
8
|
+
const toolbarLabel = "krc-toolbarLabel-kmRLQ";
|
|
9
|
+
const toolbarSelect = "krc-toolbarSelect-t7OKN";
|
|
10
|
+
const chartContainer = "krc-chartContainer-1-iIe";
|
|
11
|
+
const loading = "krc-loading-MRlom";
|
|
12
|
+
const error = "krc-error-esslq";
|
|
13
|
+
const retryButton = "krc-retryButton-js385";
|
|
14
|
+
const empty = "krc-empty-qYFPa";
|
|
15
|
+
const warning = "krc-warning-ll4Hc";
|
|
4
16
|
const styles = {
|
|
5
|
-
root
|
|
17
|
+
root,
|
|
18
|
+
header,
|
|
19
|
+
title,
|
|
20
|
+
headerActions,
|
|
21
|
+
toolbar,
|
|
22
|
+
toolbarLabel,
|
|
23
|
+
toolbarSelect,
|
|
24
|
+
chartContainer,
|
|
25
|
+
loading,
|
|
26
|
+
error,
|
|
27
|
+
retryButton,
|
|
28
|
+
empty,
|
|
29
|
+
warning
|
|
6
30
|
};
|
|
31
|
+
exports.chartContainer = chartContainer;
|
|
7
32
|
exports.default = styles;
|
|
33
|
+
exports.empty = empty;
|
|
34
|
+
exports.error = error;
|
|
35
|
+
exports.header = header;
|
|
36
|
+
exports.headerActions = headerActions;
|
|
37
|
+
exports.loading = loading;
|
|
38
|
+
exports.retryButton = retryButton;
|
|
8
39
|
exports.root = root;
|
|
40
|
+
exports.title = title;
|
|
41
|
+
exports.toolbar = toolbar;
|
|
42
|
+
exports.toolbarLabel = toolbarLabel;
|
|
43
|
+
exports.toolbarSelect = toolbarSelect;
|
|
44
|
+
exports.warning = warning;
|
|
9
45
|
//# sourceMappingURL=index85.cjs.map
|
package/dist/index85.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index85.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index85.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index85.js
CHANGED
|
@@ -1,9 +1,45 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
1
|
+
const root = "krc-root-0iK-T";
|
|
2
|
+
const header = "krc-header-vLmNI";
|
|
3
|
+
const title = "krc-title-J9FSG";
|
|
4
|
+
const headerActions = "krc-headerActions-8Sd6i";
|
|
5
|
+
const toolbar = "krc-toolbar-65kLR";
|
|
6
|
+
const toolbarLabel = "krc-toolbarLabel-kmRLQ";
|
|
7
|
+
const toolbarSelect = "krc-toolbarSelect-t7OKN";
|
|
8
|
+
const chartContainer = "krc-chartContainer-1-iIe";
|
|
9
|
+
const loading = "krc-loading-MRlom";
|
|
10
|
+
const error = "krc-error-esslq";
|
|
11
|
+
const retryButton = "krc-retryButton-js385";
|
|
12
|
+
const empty = "krc-empty-qYFPa";
|
|
13
|
+
const warning = "krc-warning-ll4Hc";
|
|
2
14
|
const styles = {
|
|
3
|
-
root
|
|
15
|
+
root,
|
|
16
|
+
header,
|
|
17
|
+
title,
|
|
18
|
+
headerActions,
|
|
19
|
+
toolbar,
|
|
20
|
+
toolbarLabel,
|
|
21
|
+
toolbarSelect,
|
|
22
|
+
chartContainer,
|
|
23
|
+
loading,
|
|
24
|
+
error,
|
|
25
|
+
retryButton,
|
|
26
|
+
empty,
|
|
27
|
+
warning
|
|
4
28
|
};
|
|
5
29
|
export {
|
|
30
|
+
chartContainer,
|
|
6
31
|
styles as default,
|
|
7
|
-
|
|
32
|
+
empty,
|
|
33
|
+
error,
|
|
34
|
+
header,
|
|
35
|
+
headerActions,
|
|
36
|
+
loading,
|
|
37
|
+
retryButton,
|
|
38
|
+
root,
|
|
39
|
+
title,
|
|
40
|
+
toolbar,
|
|
41
|
+
toolbarLabel,
|
|
42
|
+
toolbarSelect,
|
|
43
|
+
warning
|
|
8
44
|
};
|
|
9
45
|
//# sourceMappingURL=index85.js.map
|
package/dist/index85.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index85.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index85.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index86.cjs
CHANGED
|
@@ -1,54 +1,60 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
3
|
+
const root = "krc-root-GYECa";
|
|
4
|
+
const header = "krc-header-7V-0i";
|
|
5
|
+
const title = "krc-title-SiRcV";
|
|
6
|
+
const headerActions = "krc-headerActions-HY6nM";
|
|
7
|
+
const splitContainer = "krc-splitContainer-ovkIf";
|
|
8
|
+
const tablePanel = "krc-tablePanel-gbWQx";
|
|
9
|
+
const chartPanel = "krc-chartPanel-eBJ9W";
|
|
10
|
+
const table = "krc-table-40WZx";
|
|
11
|
+
const tableRow = "krc-tableRow-yQlEa";
|
|
12
|
+
const tableRowSelected = "krc-tableRowSelected-vIEfO";
|
|
13
|
+
const pagination = "krc-pagination-nyCxO";
|
|
14
|
+
const paginationButton = "krc-paginationButton-k-cQB";
|
|
15
|
+
const paginationInfo = "krc-paginationInfo-ouuPw";
|
|
16
|
+
const placeholder = "krc-placeholder-YDeIw";
|
|
17
|
+
const loading = "krc-loading-UoiCd";
|
|
18
|
+
const error = "krc-error-Subfi";
|
|
19
|
+
const retryButton = "krc-retryButton-k8HPu";
|
|
20
|
+
const empty = "krc-empty-OoPZo";
|
|
19
21
|
const styles = {
|
|
20
22
|
root,
|
|
21
|
-
|
|
22
|
-
isOpen,
|
|
23
|
-
icon,
|
|
24
|
-
arrow,
|
|
25
|
-
pop,
|
|
26
|
-
head,
|
|
27
|
-
nav,
|
|
23
|
+
header,
|
|
28
24
|
title,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
headerActions,
|
|
26
|
+
splitContainer,
|
|
27
|
+
tablePanel,
|
|
28
|
+
chartPanel,
|
|
29
|
+
table,
|
|
30
|
+
tableRow,
|
|
31
|
+
tableRowSelected,
|
|
32
|
+
pagination,
|
|
33
|
+
paginationButton,
|
|
34
|
+
paginationInfo,
|
|
35
|
+
placeholder,
|
|
36
|
+
loading,
|
|
37
|
+
error,
|
|
38
|
+
retryButton,
|
|
39
|
+
empty
|
|
36
40
|
};
|
|
37
|
-
exports.
|
|
38
|
-
exports.arrow = arrow;
|
|
39
|
-
exports.day = day;
|
|
41
|
+
exports.chartPanel = chartPanel;
|
|
40
42
|
exports.default = styles;
|
|
41
|
-
exports.dows = dows;
|
|
42
43
|
exports.empty = empty;
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
44
|
+
exports.error = error;
|
|
45
|
+
exports.header = header;
|
|
46
|
+
exports.headerActions = headerActions;
|
|
47
|
+
exports.loading = loading;
|
|
48
|
+
exports.pagination = pagination;
|
|
49
|
+
exports.paginationButton = paginationButton;
|
|
50
|
+
exports.paginationInfo = paginationInfo;
|
|
51
|
+
exports.placeholder = placeholder;
|
|
52
|
+
exports.retryButton = retryButton;
|
|
50
53
|
exports.root = root;
|
|
51
|
-
exports.
|
|
54
|
+
exports.splitContainer = splitContainer;
|
|
55
|
+
exports.table = table;
|
|
56
|
+
exports.tablePanel = tablePanel;
|
|
57
|
+
exports.tableRow = tableRow;
|
|
58
|
+
exports.tableRowSelected = tableRowSelected;
|
|
52
59
|
exports.title = title;
|
|
53
|
-
exports.trigger = trigger;
|
|
54
60
|
//# sourceMappingURL=index86.cjs.map
|
package/dist/index86.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index86.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index86.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index86.js
CHANGED
|
@@ -1,54 +1,60 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
1
|
+
const root = "krc-root-GYECa";
|
|
2
|
+
const header = "krc-header-7V-0i";
|
|
3
|
+
const title = "krc-title-SiRcV";
|
|
4
|
+
const headerActions = "krc-headerActions-HY6nM";
|
|
5
|
+
const splitContainer = "krc-splitContainer-ovkIf";
|
|
6
|
+
const tablePanel = "krc-tablePanel-gbWQx";
|
|
7
|
+
const chartPanel = "krc-chartPanel-eBJ9W";
|
|
8
|
+
const table = "krc-table-40WZx";
|
|
9
|
+
const tableRow = "krc-tableRow-yQlEa";
|
|
10
|
+
const tableRowSelected = "krc-tableRowSelected-vIEfO";
|
|
11
|
+
const pagination = "krc-pagination-nyCxO";
|
|
12
|
+
const paginationButton = "krc-paginationButton-k-cQB";
|
|
13
|
+
const paginationInfo = "krc-paginationInfo-ouuPw";
|
|
14
|
+
const placeholder = "krc-placeholder-YDeIw";
|
|
15
|
+
const loading = "krc-loading-UoiCd";
|
|
16
|
+
const error = "krc-error-Subfi";
|
|
17
|
+
const retryButton = "krc-retryButton-k8HPu";
|
|
18
|
+
const empty = "krc-empty-OoPZo";
|
|
17
19
|
const styles = {
|
|
18
20
|
root,
|
|
19
|
-
|
|
20
|
-
isOpen,
|
|
21
|
-
icon,
|
|
22
|
-
arrow,
|
|
23
|
-
pop,
|
|
24
|
-
head,
|
|
25
|
-
nav,
|
|
21
|
+
header,
|
|
26
22
|
title,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
headerActions,
|
|
24
|
+
splitContainer,
|
|
25
|
+
tablePanel,
|
|
26
|
+
chartPanel,
|
|
27
|
+
table,
|
|
28
|
+
tableRow,
|
|
29
|
+
tableRowSelected,
|
|
30
|
+
pagination,
|
|
31
|
+
paginationButton,
|
|
32
|
+
paginationInfo,
|
|
33
|
+
placeholder,
|
|
34
|
+
loading,
|
|
35
|
+
error,
|
|
36
|
+
retryButton,
|
|
37
|
+
empty
|
|
34
38
|
};
|
|
35
39
|
export {
|
|
36
|
-
|
|
37
|
-
arrow,
|
|
38
|
-
day,
|
|
40
|
+
chartPanel,
|
|
39
41
|
styles as default,
|
|
40
|
-
dows,
|
|
41
42
|
empty,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
error,
|
|
44
|
+
header,
|
|
45
|
+
headerActions,
|
|
46
|
+
loading,
|
|
47
|
+
pagination,
|
|
48
|
+
paginationButton,
|
|
49
|
+
paginationInfo,
|
|
50
|
+
placeholder,
|
|
51
|
+
retryButton,
|
|
49
52
|
root,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
splitContainer,
|
|
54
|
+
table,
|
|
55
|
+
tablePanel,
|
|
56
|
+
tableRow,
|
|
57
|
+
tableRowSelected,
|
|
58
|
+
title
|
|
53
59
|
};
|
|
54
60
|
//# sourceMappingURL=index86.js.map
|
package/dist/index86.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index86.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index86.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index87.cjs
CHANGED
|
@@ -1,60 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const empty = "krc-empty-OoPZo";
|
|
21
|
-
const styles = {
|
|
22
|
-
root,
|
|
23
|
-
header,
|
|
24
|
-
title,
|
|
25
|
-
headerActions,
|
|
26
|
-
splitContainer,
|
|
27
|
-
tablePanel,
|
|
28
|
-
chartPanel,
|
|
29
|
-
table,
|
|
30
|
-
tableRow,
|
|
31
|
-
tableRowSelected,
|
|
32
|
-
pagination,
|
|
33
|
-
paginationButton,
|
|
34
|
-
paginationInfo,
|
|
35
|
-
placeholder,
|
|
36
|
-
loading,
|
|
37
|
-
error,
|
|
38
|
-
retryButton,
|
|
39
|
-
empty
|
|
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()];
|
|
40
20
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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;
|
|
60
42
|
//# sourceMappingURL=index87.cjs.map
|
package/dist/index87.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index87.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index87.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;;"}
|
package/dist/index87.js
CHANGED
|
@@ -1,60 +1,42 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
+
};
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
41
|
-
styles as default,
|
|
42
|
-
empty,
|
|
43
|
-
error,
|
|
44
|
-
header,
|
|
45
|
-
headerActions,
|
|
46
|
-
loading,
|
|
47
|
-
pagination,
|
|
48
|
-
paginationButton,
|
|
49
|
-
paginationInfo,
|
|
50
|
-
placeholder,
|
|
51
|
-
retryButton,
|
|
52
|
-
root,
|
|
53
|
-
splitContainer,
|
|
54
|
-
table,
|
|
55
|
-
tablePanel,
|
|
56
|
-
tableRow,
|
|
57
|
-
tableRowSelected,
|
|
58
|
-
title
|
|
40
|
+
foldPoints
|
|
59
41
|
};
|
|
60
42
|
//# sourceMappingURL=index87.js.map
|