@ktnpm_devops/react-component 0.16.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.
- package/README.md +38 -2
- package/dist/constants.d.ts +7 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.d.ts.map +1 -1
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts +28 -2
- package/dist/geo/GeoMapCard/GeoMapCard.types.d.ts.map +1 -1
- package/dist/geo/GeoMapCard/MapStatusBars.d.ts +11 -0
- package/dist/geo/GeoMapCard/MapStatusBars.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/ViewportReporter.d.ts +15 -0
- package/dist/geo/GeoMapCard/ViewportReporter.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/describePoints.d.ts +7 -0
- package/dist/geo/GeoMapCard/describePoints.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizeViewport.d.ts +13 -0
- package/dist/geo/GeoMapCard/normalizeViewport.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/normalizeViewport.test.d.ts +2 -0
- package/dist/geo/GeoMapCard/normalizeViewport.test.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/resolveTiles.d.ts +9 -0
- package/dist/geo/GeoMapCard/resolveTiles.d.ts.map +1 -0
- package/dist/geo/GeoMapCard/warnMissingBasemapKey.d.ts +9 -0
- package/dist/geo/GeoMapCard/warnMissingBasemapKey.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.cjs +39 -39
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +38 -38
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +9 -58
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +8 -57
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +9 -38
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +10 -39
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +19 -92
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +19 -92
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +14 -40
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +13 -39
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +8 -113
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +8 -113
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +51 -24
- package/dist/index106.cjs.map +1 -1
- package/dist/index106.js +52 -25
- package/dist/index106.js.map +1 -1
- package/dist/index107.cjs +9 -15
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +10 -16
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +48 -10
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +47 -9
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +16 -34
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +16 -34
- package/dist/index109.js.map +1 -1
- package/dist/index110.cjs +36 -43
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +35 -42
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +54 -24
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +53 -23
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +40 -20
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +39 -19
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +16 -14
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +15 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +15 -54
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +16 -55
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +36 -18
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +36 -18
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +64 -13
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +65 -14
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +52 -16
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +52 -16
- package/dist/index117.js.map +1 -1
- package/dist/index119.cjs +16 -34
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +16 -34
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +16 -46
- package/dist/index120.cjs.map +1 -1
- package/dist/index120.js +16 -46
- package/dist/index120.js.map +1 -1
- package/dist/index121.cjs +7 -18
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +6 -17
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +15 -33
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +15 -33
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +2 -38
- package/dist/index123.cjs.map +1 -1
- package/dist/index123.js +3 -39
- package/dist/index123.js.map +1 -1
- package/dist/index124.cjs +19 -1164
- package/dist/index124.cjs.map +1 -1
- package/dist/index124.js +17 -1163
- package/dist/index124.js.map +1 -1
- package/dist/index125.cjs +84 -1575
- package/dist/index125.cjs.map +1 -1
- package/dist/index125.js +83 -1575
- package/dist/index125.js.map +1 -1
- package/dist/index126.cjs +24 -0
- package/dist/index126.cjs.map +1 -0
- package/dist/index126.js +24 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.cjs +36 -0
- package/dist/index127.cjs.map +1 -0
- package/dist/index127.js +36 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.cjs +1166 -0
- package/dist/index128.cjs.map +1 -0
- package/dist/index128.js +1167 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.cjs +1578 -0
- package/dist/index129.cjs.map +1 -0
- package/dist/index129.js +1579 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.cjs +37 -0
- package/dist/index130.cjs.map +1 -0
- package/dist/index130.js +37 -0
- package/dist/index130.js.map +1 -0
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.cjs +2 -2
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +2 -2
- package/dist/index23.js +2 -2
- package/dist/index24.cjs +2 -2
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +2 -2
- package/dist/index29.js +2 -2
- package/dist/index30.cjs +37 -35
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +35 -33
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +4 -4
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +3 -3
- package/dist/index32.js +3 -3
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.js +2 -2
- package/dist/index35.cjs +2 -2
- package/dist/index35.js +2 -2
- package/dist/index36.cjs +2 -2
- package/dist/index36.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +2 -2
- package/dist/index38.js +2 -2
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.cjs +2 -2
- package/dist/index41.js +2 -2
- package/dist/index42.cjs +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index44.cjs +2 -2
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +4 -4
- package/dist/index45.js +4 -4
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +2 -2
- package/dist/index49.js +2 -2
- package/dist/index50.cjs +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +3 -3
- package/dist/index52.js +3 -3
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +3 -3
- package/dist/index55.js +3 -3
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.cjs +13 -22
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +13 -22
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +18 -21
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +19 -22
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +13 -13
- package/dist/index62.js +13 -13
- package/dist/index63.cjs +10 -143
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +8 -141
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +143 -25
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +141 -23
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +16 -13
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +17 -14
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +19 -13
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +20 -14
- package/dist/index66.js.map +1 -1
- package/dist/index68.cjs +35 -14
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +36 -15
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +28 -28
- package/dist/index69.js +28 -28
- package/dist/index70.cjs +19 -19
- package/dist/index70.js +20 -20
- package/dist/index71.cjs +4 -46
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +5 -47
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +116 -7
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +115 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +35 -77
- package/dist/index73.cjs.map +1 -1
- package/dist/index73.js +35 -77
- package/dist/index73.js.map +1 -1
- package/dist/index74.cjs +52 -52
- package/dist/index74.js +52 -52
- package/dist/index75.cjs +39 -39
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +38 -38
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +89 -14
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +89 -14
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +35 -2
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +36 -3
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +22 -6
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +21 -5
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +70 -10
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +68 -8
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +7 -33
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +6 -32
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +34 -16
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +35 -17
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +134 -16
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +133 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +36 -15
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +37 -16
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +1 -1
- package/dist/index85.cjs +32 -17
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +33 -18
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +28 -64
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +28 -64
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +2 -20
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +3 -21
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +17 -2
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +18 -3
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +20 -2
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +20 -2
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +46 -10
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +47 -11
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +22 -13
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +23 -14
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +22 -49
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +22 -49
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +7 -134
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +6 -133
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +13 -40
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +14 -41
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +3 -36
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +3 -36
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +15 -24
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +15 -24
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +33 -20
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +33 -20
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +37 -63
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +37 -63
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +23 -6
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +23 -6
- package/dist/index99.js.map +1 -1
- package/dist/style.css +45 -0
- package/dist/types/geo.types.d.ts +14 -0
- package/dist/types/geo.types.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index30.js","sources":["../src/geo/GeoMapCard/GeoMapCard.tsx"],"sourcesContent":["import { useEffect, useMemo, useRef } from 'react';\nimport { CircleMarker, MapContainer, TileLayer, Tooltip } from 'react-leaflet';\nimport clsx from 'clsx';\nimport { EmptyState } from '../../primitives/EmptyState';\nimport { useThemeMode } from '../../hooks/useThemeMode';\nimport { BASEMAP_TILES, GEO_MAP } from '../../constants';\nimport type { GeoPoint, GeoRenderInfo } from '../../types/geo.types';\nimport type { GeoMapCardProps, MarkerDescriptor } from './GeoMapCard.types';\nimport { normalizePoints } from './normalizePoints';\nimport { buildCategoryColors, buildLegendItems, buildMarkerStyle, buildWeightScale } from './buildMarkerStyle';\nimport { MapViewport } from './MapViewport';\nimport { MapLegend } from './MapLegend';\nimport { PointListing } from './PointListing';\nimport { warnMissingLeafletStylesheet } from './warnMissingLeafletStylesheet';\nimport styles from './GeoMapCard.module.css';\n\n/** States what was left out, so a truncated map never passes for a complete one. */\nconst buildNotice = (info: GeoRenderInfo, maxPoints: number): string | null => {\n const reasons: string[] = [];\n\n if (info.skipped > 0) reasons.push(`${info.skipped} without usable coordinates`);\n if (info.dropped > 0) reasons.push(`${info.dropped} over the ${maxPoints} marker cap`);\n\n if (reasons.length === 0) return null;\n\n return `Showing ${info.drawn} of ${info.total} points (${reasons.join(', ')}).`;\n};\n\n/** One line carrying everything the tooltip shows, for the screen reader too. */\nconst describePoint = (point: GeoPoint, categoryLabel: string): string =>\n [point.label, point.category != null ? `${categoryLabel}: ${point.category}` : null, point.detail]\n .filter((part): part is string => part != null && part !== '')\n .join(' — ');\n\nexport const GeoMapCard = ({\n title,\n points,\n selectedIds,\n onSelectPoint,\n categoryLabel = 'Category',\n legendTitle = 'Legend',\n hideLegend = false,\n maxPoints = GEO_MAP.MAX_POINTS,\n onRender,\n fitBounds = true,\n center,\n zoom,\n scrollWheelZoom = false,\n basemap = 'auto',\n tileLayer,\n compact = false,\n toolbar,\n actions,\n isLoading = false,\n error = null,\n onRetry,\n emptyTitle = 'No mappable points',\n emptyDescription = 'None of the points received carry usable coordinates.',\n retryLabel = 'Retry',\n loadingLabel = 'Loading map...',\n pointListLabel = 'Map points',\n className,\n}: GeoMapCardProps) => {\n const theme = useThemeMode();\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { drawn, bounds, info } = useMemo(\n () => normalizePoints(points, maxPoints),\n [points, maxPoints],\n );\n\n const categoryColors = useMemo(() => buildCategoryColors(points), [points]);\n const legendItems = useMemo(() => buildLegendItems(categoryColors), [categoryColors]);\n\n const markers = useMemo<MarkerDescriptor[]>(() => {\n const weightScale = buildWeightScale(points);\n const selection = new Set(selectedIds ?? []);\n\n return drawn.map(({ point, sourceIndex }) => {\n const selected = selection.has(point.id);\n\n return {\n point,\n sourceIndex,\n selected,\n style: buildMarkerStyle(point, { categoryColors, weightScale, selected, theme }),\n description: describePoint(point, categoryLabel),\n };\n });\n }, [drawn, points, selectedIds, categoryColors, theme, categoryLabel]);\n\n const tiles = tileLayer ?? {\n url: BASEMAP_TILES[basemap === 'auto' ? theme : basemap],\n attribution: BASEMAP_TILES.attribution,\n };\n\n // Manual framing and automatic framing would fight over the viewport.\n const shouldFitBounds = fitBounds && center == null && zoom == null;\n const showLegend = !hideLegend && legendItems.length > 0;\n const notice = buildNotice(info, maxPoints);\n const hasMap = !isLoading && error == null && info.drawn > 0;\n\n useEffect(() => {\n onRender?.(info);\n }, [onRender, info]);\n\n useEffect(() => {\n if (import.meta.env.DEV && hasMap) warnMissingLeafletStylesheet(containerRef.current);\n }, [hasMap]);\n\n return (\n <div className={clsx(styles.root, compact && styles.compact, className)}>\n <header className={styles.header}>\n <h3 className={styles.title}>{title}</h3>\n {actions && <div className={styles.headerActions}>{actions}</div>}\n </header>\n\n {toolbar && <div className={styles.toolbar}>{toolbar}</div>}\n\n {hasMap && notice && (\n <div className={styles.warning} role=\"status\">\n {notice}\n </div>\n )}\n\n {isLoading && <div className={styles.loading}>{loadingLabel}</div>}\n\n {!isLoading && error != null && (\n <div className={styles.error}>\n <span>{error}</span>\n {onRetry && (\n <button type=\"button\" className={styles.retryButton} onClick={onRetry}>\n {retryLabel}\n </button>\n )}\n </div>\n )}\n\n {!isLoading && error == null && info.drawn === 0 && (\n <EmptyState\n className={styles.empty}\n variant=\"plain\"\n title={emptyTitle}\n description={emptyDescription}\n />\n )}\n\n {hasMap && (\n <div\n ref={containerRef}\n className={styles.mapContainer}\n role=\"figure\"\n aria-label={`${title}: map of ${info.drawn} points`}\n >\n <MapContainer\n className={styles.map}\n center={center ?? [...GEO_MAP.DEFAULT_CENTER]}\n zoom={zoom ?? GEO_MAP.DEFAULT_ZOOM}\n scrollWheelZoom={scrollWheelZoom}\n >\n <TileLayer key={tiles.url} url={tiles.url} attribution={tiles.attribution} />\n <MapViewport bounds={bounds} fitBounds={shouldFitBounds} />\n\n {markers.map(({ point, sourceIndex, style, description }) => (\n <CircleMarker\n key={point.id}\n center={[point.latitude, point.longitude]}\n radius={style.radius}\n pathOptions={style}\n eventHandlers={\n onSelectPoint ? { click: () => onSelectPoint({ point, index: sourceIndex }) } : {}\n }\n >\n <Tooltip>{description}</Tooltip>\n </CircleMarker>\n ))}\n\n {showLegend && <MapLegend items={legendItems} title={legendTitle} />}\n </MapContainer>\n\n <PointListing\n markers={markers}\n label={pointListLabel}\n onSelectPoint={onSelectPoint}\n />\n </div>\n )}\n </div>\n );\n};\n\nGeoMapCard.displayName = 'GeoMapCard';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAiB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M,UAAU,MAAM,SAAS;AAAA,oBACxC,QAAQ,MAAM;AAAA,oBACd,aAAa;AAAA,oBACb,eACE,gBAAgB,EAAE,OAAO,MAAM,cAAc,EAAE,OAAO,OAAO,aAAa,EAAA,IAAM,CAAA;AAAA,oBAGlF,UAAA,oBAAC,WAAS,UAAA,aAAY;AAAA,kBAAA;AAAA,kBARjB,MAAM;AAAA,gBAAA,CAUd;AAAA,gBAEA,kCAAe,WAAA,EAAU,OAAO,aAAa,OAAO,aAAa;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,UAGpE;AAAA,YAAC;AAAA,YAAA;AAAA,cACC;AAAA,cACA,OAAO;AAAA,cACP;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GAEJ;AAEJ;AAEA,WAAW,cAAc;"}
|
|
1
|
+
{"version":3,"file":"index30.js","sources":["../src/geo/GeoMapCard/GeoMapCard.tsx"],"sourcesContent":["import { useEffect, useMemo, useRef } from 'react';\nimport { CircleMarker, MapContainer, TileLayer, Tooltip } from 'react-leaflet';\nimport clsx from 'clsx';\nimport { EmptyState } from '../../primitives/EmptyState';\nimport { useThemeMode } from '../../hooks/useThemeMode';\nimport { GEO_MAP } from '../../constants';\nimport type { GeoMapCardProps, MarkerDescriptor } from './GeoMapCard.types';\nimport { normalizePoints } from './normalizePoints';\nimport {\n buildCategoryColors,\n buildLegendItems,\n buildMarkerStyle,\n buildWeightScale,\n} from './buildMarkerStyle';\nimport { MapViewport } from './MapViewport';\nimport { ViewportReporter } from './ViewportReporter';\nimport { MapStatusBars } from './MapStatusBars';\nimport { buildNotice, describePoint } from './describePoints';\nimport { MapLegend } from './MapLegend';\nimport { PointListing } from './PointListing';\nimport { warnMissingLeafletStylesheet } from './warnMissingLeafletStylesheet';\nimport { warnMissingBasemapKey } from './warnMissingBasemapKey';\nimport { resolveTiles } from './resolveTiles';\nimport styles from './GeoMapCard.module.css';\n\nexport const GeoMapCard = ({\n title,\n points,\n selectedIds,\n onSelectPoint,\n categoryLabel = 'Category',\n legendTitle = 'Legend',\n hideLegend = false,\n maxPoints = GEO_MAP.MAX_POINTS,\n onRender,\n fitBounds = true,\n center,\n zoom,\n scrollWheelZoom = false,\n onViewportChange,\n isRefreshing = false,\n refreshingLabel = 'Updating…',\n basemap = 'auto',\n basemapKey,\n tileLayer,\n compact = false,\n toolbar,\n actions,\n isLoading = false,\n error = null,\n onRetry,\n emptyTitle = 'No mappable points',\n emptyDescription = 'None of the points received carry usable coordinates.',\n retryLabel = 'Retry',\n loadingLabel = 'Loading map...',\n pointListLabel = 'Map points',\n className,\n}: GeoMapCardProps) => {\n const theme = useThemeMode();\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { drawn, bounds, info } = useMemo(\n () => normalizePoints(points, maxPoints),\n [points, maxPoints],\n );\n\n const categoryColors = useMemo(() => buildCategoryColors(points), [points]);\n const legendItems = useMemo(() => buildLegendItems(categoryColors), [categoryColors]);\n\n const markers = useMemo<MarkerDescriptor[]>(() => {\n const weightScale = buildWeightScale(points);\n const selection = new Set(selectedIds ?? []);\n\n return drawn.map(({ point, sourceIndex }) => {\n const selected = selection.has(point.id);\n\n return {\n point,\n sourceIndex,\n selected,\n style: buildMarkerStyle(point, { categoryColors, weightScale, selected, theme }),\n description: describePoint(point, categoryLabel),\n };\n });\n }, [drawn, points, selectedIds, categoryColors, theme, categoryLabel]);\n\n const tiles = resolveTiles(tileLayer, basemap, theme, basemapKey);\n\n // Viewport mode: the view drives the points, so the map must outlive an empty\n // area, and the points must never move the view (that would be a fetch loop).\n const viewportMode = onViewportChange != null;\n // Manual framing and automatic framing would fight over the viewport.\n const shouldFitBounds = fitBounds && center == null && zoom == null && !viewportMode;\n const showLegend = !hideLegend && legendItems.length > 0;\n const notice = buildNotice(info, maxPoints);\n const isBlocked = isLoading || error != null;\n const hasMap = !isBlocked && (info.drawn > 0 || viewportMode);\n const showEmptyState = !isBlocked && info.drawn === 0 && !viewportMode;\n\n useEffect(() => {\n onRender?.(info);\n }, [onRender, info]);\n\n useEffect(() => {\n if (!import.meta.env.DEV || !hasMap) return;\n\n warnMissingLeafletStylesheet(containerRef.current);\n if (tileLayer == null && !basemapKey) warnMissingBasemapKey();\n }, [hasMap, tileLayer, basemapKey]);\n\n return (\n <div className={clsx(styles.root, compact && styles.compact, className)}>\n <header className={styles.header}>\n <h3 className={styles.title}>{title}</h3>\n {(isRefreshing || actions) && (\n <div className={styles.headerActions}>\n {isRefreshing && (\n <span className={styles.refreshing} role=\"status\">\n <span className={styles.refreshingDot} aria-hidden=\"true\" />\n {refreshingLabel}\n </span>\n )}\n {actions}\n </div>\n )}\n </header>\n\n {toolbar && <div className={styles.toolbar}>{toolbar}</div>}\n\n {hasMap && (\n <MapStatusBars notice={notice} emptyMessage={info.drawn === 0 ? emptyTitle : null} />\n )}\n\n {isLoading && <div className={styles.loading}>{loadingLabel}</div>}\n\n {!isLoading && error != null && (\n <div className={styles.error}>\n <span>{error}</span>\n {onRetry && (\n <button type=\"button\" className={styles.retryButton} onClick={onRetry}>\n {retryLabel}\n </button>\n )}\n </div>\n )}\n\n {showEmptyState && (\n <EmptyState\n className={styles.empty}\n variant=\"plain\"\n title={emptyTitle}\n description={emptyDescription}\n />\n )}\n\n {hasMap && (\n <div\n ref={containerRef}\n className={styles.mapContainer}\n role=\"figure\"\n aria-label={`${title}: map of ${info.drawn} points`}\n aria-busy={isRefreshing || undefined}\n >\n <MapContainer\n className={styles.map}\n center={center ?? [...GEO_MAP.DEFAULT_CENTER]}\n zoom={zoom ?? GEO_MAP.DEFAULT_ZOOM}\n scrollWheelZoom={scrollWheelZoom}\n >\n <TileLayer key={tiles.url} url={tiles.url} attribution={tiles.attribution} />\n <MapViewport bounds={bounds} fitBounds={shouldFitBounds} />\n {onViewportChange && <ViewportReporter onViewportChange={onViewportChange} />}\n\n {markers.map(({ point, sourceIndex, style, description }) => (\n <CircleMarker\n key={point.id}\n center={[point.latitude, point.longitude]}\n radius={style.radius}\n pathOptions={style}\n eventHandlers={\n onSelectPoint ? { click: () => onSelectPoint({ point, index: sourceIndex }) } : {}\n }\n >\n <Tooltip>{description}</Tooltip>\n </CircleMarker>\n ))}\n\n {showLegend && <MapLegend items={legendItems} title={legendTitle} />}\n </MapContainer>\n\n <PointListing markers={markers} label={pointListLabel} onSelectPoint={onSelectPoint} />\n </div>\n )}\n </div>\n );\n};\n\nGeoMapCard.displayName = 'GeoMapCard';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAyBO,MAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,aAAa;AAAA,EACb,YAAY,QAAQ;AAAA,EACpB;AAAA,EACA,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA,kBAAkB;AAAA,EAClB;AAAA,EACA,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB;AACF,MAAuB;AACrB,QAAM,QAAQ,aAAA;AACd,QAAM,eAAe,OAAuB,IAAI;AAEhD,QAAM,EAAE,OAAO,QAAQ,KAAA,IAAS;AAAA,IAC9B,MAAM,gBAAgB,QAAQ,SAAS;AAAA,IACvC,CAAC,QAAQ,SAAS;AAAA,EAAA;AAGpB,QAAM,iBAAiB,QAAQ,MAAM,oBAAoB,MAAM,GAAG,CAAC,MAAM,CAAC;AAC1E,QAAM,cAAc,QAAQ,MAAM,iBAAiB,cAAc,GAAG,CAAC,cAAc,CAAC;AAEpF,QAAM,UAAU,QAA4B,MAAM;AAChD,UAAM,cAAc,iBAAiB,MAAM;AAC3C,UAAM,YAAY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AAoC;AAAA,gBAE1E,QAAQ,IAAI,CAAC,EAAE,OAAO,aAAa,OAAO,kBACzC;AAAA,kBAAC;AAAA,kBAAA;AAAA,oBAEC,QAAQ,CAAC,MAAM,UAAU,MAAM,SAAS;AAAA,oBACxC,QAAQ,MAAM;AAAA,oBACd,aAAa;AAAA,oBACb,eACE,gBAAgB,EAAE,OAAO,MAAM,cAAc,EAAE,OAAO,OAAO,aAAa,EAAA,IAAM,CAAA;AAAA,oBAGlF,UAAA,oBAAC,WAAS,UAAA,aAAY;AAAA,kBAAA;AAAA,kBARjB,MAAM;AAAA,gBAAA,CAUd;AAAA,gBAEA,kCAAe,WAAA,EAAU,OAAO,aAAa,OAAO,aAAa;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,8BAGnE,cAAA,EAAa,SAAkB,OAAO,gBAAgB,eAA8B;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACvF,GAEJ;AAEJ;AAEA,WAAW,cAAc;"}
|
package/dist/index31.cjs
CHANGED
|
@@ -4,10 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const ReactECharts = require("echarts-for-react");
|
|
6
6
|
const clsx = require("./index59.cjs");
|
|
7
|
-
const pivotGroupedBars = require("./
|
|
8
|
-
const buildGroupedBarOption = require("./
|
|
9
|
-
const defaultLabels = require("./
|
|
10
|
-
const GroupedBarChartCard_module = require("./
|
|
7
|
+
const pivotGroupedBars = require("./index78.cjs");
|
|
8
|
+
const buildGroupedBarOption = require("./index79.cjs");
|
|
9
|
+
const defaultLabels = require("./index80.cjs");
|
|
10
|
+
const GroupedBarChartCard_module = require("./index81.cjs");
|
|
11
11
|
const buildAriaLabel = (title, valueLabel) => valueLabel ? `${title}: grouped bar chart of ${valueLabel}` : `${title}: grouped bar chart`;
|
|
12
12
|
const GroupedBarChartCard = ({
|
|
13
13
|
title,
|
package/dist/index31.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useCallback } from "react";
|
|
3
3
|
import ReactECharts from "echarts-for-react";
|
|
4
4
|
import { clsx } from "./index59.js";
|
|
5
|
-
import { pivotGroupedBars } from "./
|
|
6
|
-
import { buildGroupedBarOption } from "./
|
|
7
|
-
import { DEFAULT_LABELS } from "./
|
|
8
|
-
import styles from "./
|
|
5
|
+
import { pivotGroupedBars } from "./index78.js";
|
|
6
|
+
import { buildGroupedBarOption } from "./index79.js";
|
|
7
|
+
import { DEFAULT_LABELS } from "./index80.js";
|
|
8
|
+
import styles from "./index81.js";
|
|
9
9
|
const buildAriaLabel = (title, valueLabel) => valueLabel ? `${title}: grouped bar chart of ${valueLabel}` : `${title}: grouped bar chart`;
|
|
10
10
|
const GroupedBarChartCard = ({
|
|
11
11
|
title,
|
package/dist/index32.cjs
CHANGED
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const HeatmapMatrixHeader = require("./
|
|
7
|
-
const getColumnRuns = require("./
|
|
8
|
-
const HeatmapMatrix_module = require("./
|
|
6
|
+
const HeatmapMatrixHeader = require("./index108.cjs");
|
|
7
|
+
const getColumnRuns = require("./index109.cjs");
|
|
8
|
+
const HeatmapMatrix_module = require("./index110.cjs");
|
|
9
9
|
function activateOnKey(event, action) {
|
|
10
10
|
if (event.key === "Enter" || event.key === " ") {
|
|
11
11
|
event.preventDefault();
|
package/dist/index32.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { HeatmapMatrixHeader } from "./
|
|
5
|
-
import { hasColumnGroups, getColumnRuns } from "./
|
|
6
|
-
import styles from "./
|
|
4
|
+
import { HeatmapMatrixHeader } from "./index108.js";
|
|
5
|
+
import { hasColumnGroups, getColumnRuns } from "./index109.js";
|
|
6
|
+
import styles from "./index110.js";
|
|
7
7
|
function activateOnKey(event, action) {
|
|
8
8
|
if (event.key === "Enter" || event.key === " ") {
|
|
9
9
|
event.preventDefault();
|
package/dist/index33.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const Input_module = require("./
|
|
6
|
+
const Input_module = require("./index93.cjs");
|
|
7
7
|
const Input = react.forwardRef(
|
|
8
8
|
({ className, type = "text", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("input", { ref, type, className: clsx.clsx(Input_module.default.root, className), ...props })
|
|
9
9
|
);
|
package/dist/index33.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index93.js";
|
|
5
5
|
const Input = forwardRef(
|
|
6
6
|
({ className, type = "text", ...props }, ref) => /* @__PURE__ */ jsx("input", { ref, type, className: clsx(styles.root, className), ...props })
|
|
7
7
|
);
|
package/dist/index34.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const constants = require("./
|
|
7
|
-
const LiveExplorerTable_module = require("./
|
|
6
|
+
const constants = require("./index64.cjs");
|
|
7
|
+
const LiveExplorerTable_module = require("./index111.cjs");
|
|
8
8
|
const SKELETON_ROWS = 5;
|
|
9
9
|
const FULL_PERCENT = 100;
|
|
10
10
|
const LiveExplorerTable = ({
|
package/dist/index34.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { MIN_COLUMN_WIDTH } from "./
|
|
5
|
-
import styles from "./
|
|
4
|
+
import { MIN_COLUMN_WIDTH } from "./index64.js";
|
|
5
|
+
import styles from "./index111.js";
|
|
6
6
|
const SKELETON_ROWS = 5;
|
|
7
7
|
const FULL_PERCENT = 100;
|
|
8
8
|
const LiveExplorerTable = ({
|
package/dist/index35.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const lucideReact = require("lucide-react");
|
|
6
6
|
const clsx = require("./index59.cjs");
|
|
7
|
-
const constants = require("./
|
|
8
|
-
const Loading_module = require("./
|
|
7
|
+
const constants = require("./index64.cjs");
|
|
8
|
+
const Loading_module = require("./index115.cjs");
|
|
9
9
|
const Modal = require("./index37.cjs");
|
|
10
10
|
const noop = () => {
|
|
11
11
|
};
|
package/dist/index35.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo, forwardRef, useState, useEffect, useImperativeHandle } from "react";
|
|
3
3
|
import { Check } from "lucide-react";
|
|
4
4
|
import { clsx } from "./index59.js";
|
|
5
|
-
import { ICON_SIZE } from "./
|
|
6
|
-
import styles from "./
|
|
5
|
+
import { ICON_SIZE } from "./index64.js";
|
|
6
|
+
import styles from "./index115.js";
|
|
7
7
|
import { Modal } from "./index37.js";
|
|
8
8
|
const noop = () => {
|
|
9
9
|
};
|
package/dist/index36.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const markdown = require("./
|
|
7
|
-
const MarkdownContent_module = require("./
|
|
6
|
+
const markdown = require("./index120.cjs");
|
|
7
|
+
const MarkdownContent_module = require("./index121.cjs");
|
|
8
8
|
const MarkdownContent = react.forwardRef(
|
|
9
9
|
({ markdown: markdown$1, className, ...props }, ref) => {
|
|
10
10
|
const html = react.useMemo(() => markdown.parseMarkdown(markdown$1), [markdown$1]);
|
package/dist/index36.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useMemo } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { parseMarkdown } from "./
|
|
5
|
-
import styles from "./
|
|
4
|
+
import { parseMarkdown } from "./index120.js";
|
|
5
|
+
import styles from "./index121.js";
|
|
6
6
|
const MarkdownContent = forwardRef(
|
|
7
7
|
({ markdown, className, ...props }, ref) => {
|
|
8
8
|
const html = useMemo(() => parseMarkdown(markdown), [markdown]);
|
package/dist/index37.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const reactDom = require("react-dom");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
6
|
const useEscapeKey = require("./index5.cjs");
|
|
7
|
-
const Modal_module = require("./
|
|
7
|
+
const Modal_module = require("./index96.cjs");
|
|
8
8
|
const Modal = ({
|
|
9
9
|
open,
|
|
10
10
|
title,
|
package/dist/index37.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { createPortal } from "react-dom";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
4
|
import { useEscapeKey } from "./index5.js";
|
|
5
|
-
import styles from "./
|
|
5
|
+
import styles from "./index96.js";
|
|
6
6
|
const Modal = ({
|
|
7
7
|
open,
|
|
8
8
|
title,
|
package/dist/index38.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
6
|
const useClickOutside = require("./index4.cjs");
|
|
7
|
-
const constants = require("./
|
|
8
|
-
const MultiSelectDropdown_module = require("./
|
|
7
|
+
const constants = require("./index64.cjs");
|
|
8
|
+
const MultiSelectDropdown_module = require("./index125.cjs");
|
|
9
9
|
const arraysMatch = (a, b) => {
|
|
10
10
|
if (a.length !== b.length) return false;
|
|
11
11
|
const set = new Set(b);
|
package/dist/index38.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
4
|
import { useClickOutside } from "./index4.js";
|
|
5
|
-
import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./
|
|
6
|
-
import styles from "./
|
|
5
|
+
import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index64.js";
|
|
6
|
+
import styles from "./index125.js";
|
|
7
7
|
const arraysMatch = (a, b) => {
|
|
8
8
|
if (a.length !== b.length) return false;
|
|
9
9
|
const set = new Set(b);
|
package/dist/index39.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const NavItem_module = require("./
|
|
6
|
+
const NavItem_module = require("./index66.cjs");
|
|
7
7
|
const NavItem = react.forwardRef(
|
|
8
8
|
({ icon, label, active = false, badge, collapsed = false, disabled = false, href, onClick, className }, ref) => {
|
|
9
9
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
package/dist/index39.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index66.js";
|
|
5
5
|
const NavItem = forwardRef(
|
|
6
6
|
({ icon, label, active = false, badge, collapsed = false, disabled = false, href, onClick, className }, ref) => {
|
|
7
7
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
package/dist/index40.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const constants = require("./
|
|
7
|
-
const Pagination_module = require("./
|
|
6
|
+
const constants = require("./index64.cjs");
|
|
7
|
+
const Pagination_module = require("./index65.cjs");
|
|
8
8
|
function range(start, end) {
|
|
9
9
|
const out = [];
|
|
10
10
|
for (let page = start; page <= end; page += 1) out.push(page);
|
package/dist/index40.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { PAGINATION, SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./
|
|
5
|
-
import styles from "./
|
|
4
|
+
import { PAGINATION, SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index64.js";
|
|
5
|
+
import styles from "./index65.js";
|
|
6
6
|
function range(start, end) {
|
|
7
7
|
const out = [];
|
|
8
8
|
for (let page = start; page <= end; page += 1) out.push(page);
|
package/dist/index41.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const constants = require("./
|
|
7
|
-
const RangeSlider_module = require("./
|
|
6
|
+
const constants = require("./index64.cjs");
|
|
7
|
+
const RangeSlider_module = require("./index70.cjs");
|
|
8
8
|
const buildTicks = (min, max, step) => {
|
|
9
9
|
const count = Math.round((max - min) / step);
|
|
10
10
|
return Array.from({ length: count + 1 }, (_, i) => min + i * step);
|
package/dist/index41.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { RANGE_SLIDER } from "./
|
|
5
|
-
import styles from "./
|
|
4
|
+
import { RANGE_SLIDER } from "./index64.js";
|
|
5
|
+
import styles from "./index70.js";
|
|
6
6
|
const buildTicks = (min, max, step) => {
|
|
7
7
|
const count = Math.round((max - min) / step);
|
|
8
8
|
return Array.from({ length: count + 1 }, (_, i) => min + i * step);
|
package/dist/index42.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
|
-
const constants = require("./
|
|
6
|
-
const ResizableSplitPanel_module = require("./
|
|
5
|
+
const constants = require("./index64.cjs");
|
|
6
|
+
const ResizableSplitPanel_module = require("./index124.cjs");
|
|
7
7
|
const FULL_PERCENT = 100;
|
|
8
8
|
const ResizableSplitPanel = ({
|
|
9
9
|
leftPanel,
|
package/dist/index42.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useCallback, useEffect } from "react";
|
|
3
|
-
import { KEYBOARD_STEP } from "./
|
|
4
|
-
import styles from "./
|
|
3
|
+
import { KEYBOARD_STEP } from "./index64.js";
|
|
4
|
+
import styles from "./index124.js";
|
|
5
5
|
const FULL_PERCENT = 100;
|
|
6
6
|
const ResizableSplitPanel = ({
|
|
7
7
|
leftPanel,
|
package/dist/index43.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const Row_module = require("./
|
|
6
|
+
const Row_module = require("./index116.cjs");
|
|
7
7
|
const gapClass = {
|
|
8
8
|
none: Row_module.default.gapNone,
|
|
9
9
|
"2xs": Row_module.default.gap2xs,
|
package/dist/index43.js
CHANGED
package/dist/index44.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const ReactECharts = require("echarts-for-react");
|
|
6
6
|
const clsx = require("./index59.cjs");
|
|
7
|
-
const constants = require("./
|
|
8
|
-
const SankeyChartCard_module = require("./
|
|
7
|
+
const constants = require("./index64.cjs");
|
|
8
|
+
const SankeyChartCard_module = require("./index68.cjs");
|
|
9
9
|
const COLOR_METRIC_OPTIONS = [
|
|
10
10
|
{ value: "deviation", label: "Deviation" },
|
|
11
11
|
{ value: "severity", label: "Severity" },
|
package/dist/index44.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import ReactECharts from "echarts-for-react";
|
|
4
4
|
import { clsx } from "./index59.js";
|
|
5
|
-
import { MAX_SANKEY_NODES, CHART_COLORS } from "./
|
|
6
|
-
import styles from "./
|
|
5
|
+
import { MAX_SANKEY_NODES, CHART_COLORS } from "./index64.js";
|
|
6
|
+
import styles from "./index68.js";
|
|
7
7
|
const COLOR_METRIC_OPTIONS = [
|
|
8
8
|
{ value: "deviation", label: "Deviation" },
|
|
9
9
|
{ value: "severity", label: "Severity" },
|
package/dist/index45.cjs
CHANGED
|
@@ -4,10 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const ReactECharts = require("echarts-for-react");
|
|
6
6
|
const clsx = require("./index59.cjs");
|
|
7
|
-
const foldPoints = require("./
|
|
8
|
-
const buildScatterOption = require("./
|
|
9
|
-
const constants = require("./
|
|
10
|
-
const ScatterChartCard_module = require("./
|
|
7
|
+
const foldPoints = require("./index75.cjs");
|
|
8
|
+
const buildScatterOption = require("./index76.cjs");
|
|
9
|
+
const constants = require("./index64.cjs");
|
|
10
|
+
const ScatterChartCard_module = require("./index77.cjs");
|
|
11
11
|
const SOURCE_INDEX_DIM = 3;
|
|
12
12
|
const buildAriaLabel = (title, xLabel, yLabel) => xLabel && yLabel ? `${title}: scatter plot of ${yLabel} against ${xLabel}` : `${title}: scatter plot`;
|
|
13
13
|
const ScatterChartCard = ({
|
package/dist/index45.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useEffect } from "react";
|
|
3
3
|
import ReactECharts from "echarts-for-react";
|
|
4
4
|
import { clsx } from "./index59.js";
|
|
5
|
-
import { foldPoints } from "./
|
|
6
|
-
import { buildScatterOption } from "./
|
|
7
|
-
import { SCATTER } from "./
|
|
8
|
-
import styles from "./
|
|
5
|
+
import { foldPoints } from "./index75.js";
|
|
6
|
+
import { buildScatterOption } from "./index76.js";
|
|
7
|
+
import { SCATTER } from "./index64.js";
|
|
8
|
+
import styles from "./index77.js";
|
|
9
9
|
const SOURCE_INDEX_DIM = 3;
|
|
10
10
|
const buildAriaLabel = (title, xLabel, yLabel) => xLabel && yLabel ? `${title}: scatter plot of ${yLabel} against ${xLabel}` : `${title}: scatter plot`;
|
|
11
11
|
const ScatterChartCard = ({
|
package/dist/index46.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const SegmentedControl_module = require("./
|
|
6
|
+
const SegmentedControl_module = require("./index61.cjs");
|
|
7
7
|
function nextEnabledIndex(options, from, step) {
|
|
8
8
|
const count = options.length;
|
|
9
9
|
for (let i = 1; i <= count; i += 1) {
|
package/dist/index46.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index61.js";
|
|
5
5
|
function nextEnabledIndex(options, from, step) {
|
|
6
6
|
const count = options.length;
|
|
7
7
|
for (let i = 1; i <= count; i += 1) {
|
package/dist/index47.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const Select_module = require("./
|
|
6
|
+
const Select_module = require("./index95.cjs");
|
|
7
7
|
const Select = react.forwardRef(
|
|
8
8
|
({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("select", { ref, className: clsx.clsx(Select_module.default.root, className), ...props, children })
|
|
9
9
|
);
|
package/dist/index47.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import styles from "./
|
|
4
|
+
import styles from "./index95.js";
|
|
5
5
|
const Select = forwardRef(
|
|
6
6
|
({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("select", { ref, className: clsx(styles.root, className), ...props, children })
|
|
7
7
|
);
|
package/dist/index48.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("./index59.cjs");
|
|
5
|
-
const SettingsLayout_module = require("./
|
|
5
|
+
const SettingsLayout_module = require("./index114.cjs");
|
|
6
6
|
const SettingsLayout = ({
|
|
7
7
|
sidebar,
|
|
8
8
|
children,
|
package/dist/index48.js
CHANGED
package/dist/index49.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const constants = require("./
|
|
7
|
-
const Sidebar_module = require("./
|
|
6
|
+
const constants = require("./index64.cjs");
|
|
7
|
+
const Sidebar_module = require("./index112.cjs");
|
|
8
8
|
const SidebarContext = react.createContext({ isCollapsed: false });
|
|
9
9
|
const useSidebarContext = () => react.useContext(SidebarContext);
|
|
10
10
|
const SidebarSection = ({
|
package/dist/index49.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useContext, useState, useId, createContext } from "react";
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
|
-
import { SIDEBAR } from "./
|
|
5
|
-
import styles from "./
|
|
4
|
+
import { SIDEBAR } from "./index64.js";
|
|
5
|
+
import styles from "./index112.js";
|
|
6
6
|
const SidebarContext = createContext({ isCollapsed: false });
|
|
7
7
|
const useSidebarContext = () => useContext(SidebarContext);
|
|
8
8
|
const SidebarSection = ({
|
package/dist/index50.cjs
CHANGED
|
@@ -5,8 +5,8 @@ const react = require("react");
|
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
6
|
const useClickOutside = require("./index4.cjs");
|
|
7
7
|
const useEscapeKey = require("./index5.cjs");
|
|
8
|
-
const constants = require("./
|
|
9
|
-
const SingleSelectDropdown_module = require("./
|
|
8
|
+
const constants = require("./index64.cjs");
|
|
9
|
+
const SingleSelectDropdown_module = require("./index117.cjs");
|
|
10
10
|
const SingleSelectDropdown = ({
|
|
11
11
|
label,
|
|
12
12
|
options,
|
package/dist/index50.js
CHANGED
|
@@ -3,8 +3,8 @@ import { useState, useRef, useCallback, useMemo } from "react";
|
|
|
3
3
|
import { clsx } from "./index59.js";
|
|
4
4
|
import { useClickOutside } from "./index4.js";
|
|
5
5
|
import { useEscapeKey } from "./index5.js";
|
|
6
|
-
import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./
|
|
7
|
-
import styles from "./
|
|
6
|
+
import { SVG_STROKE_WIDTH, SVG_VIEWBOX, ICON_SIZE } from "./index64.js";
|
|
7
|
+
import styles from "./index117.js";
|
|
8
8
|
const SingleSelectDropdown = ({
|
|
9
9
|
label,
|
|
10
10
|
options,
|
package/dist/index51.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const Sparkline_module = require("./
|
|
6
|
+
const Sparkline_module = require("./index71.cjs");
|
|
7
7
|
const PAD = 3;
|
|
8
8
|
const Sparkline = react.forwardRef(
|
|
9
9
|
({
|
package/dist/index51.js
CHANGED
package/dist/index52.cjs
CHANGED
|
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const ReactECharts = require("echarts-for-react");
|
|
6
6
|
const clsx = require("./index59.cjs");
|
|
7
|
-
const constants = require("./
|
|
8
|
-
const buildChartOptions = require("./
|
|
9
|
-
const StackedBarChartCard_module = require("./
|
|
7
|
+
const constants = require("./index64.cjs");
|
|
8
|
+
const buildChartOptions = require("./index82.cjs");
|
|
9
|
+
const StackedBarChartCard_module = require("./index83.cjs");
|
|
10
10
|
const CHART_TYPE_LABELS = {
|
|
11
11
|
bar: "Bar",
|
|
12
12
|
pie: "Pie",
|
package/dist/index52.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useCallback } from "react";
|
|
3
3
|
import ReactECharts from "echarts-for-react";
|
|
4
4
|
import { clsx } from "./index59.js";
|
|
5
|
-
import { MAX_CATEGORIES, MAX_SUBCATEGORIES } from "./
|
|
6
|
-
import { aggregateData, buildBarOption, buildSunburstOption, buildPieOption } from "./
|
|
7
|
-
import styles from "./
|
|
5
|
+
import { MAX_CATEGORIES, MAX_SUBCATEGORIES } from "./index64.js";
|
|
6
|
+
import { aggregateData, buildBarOption, buildSunburstOption, buildPieOption } from "./index82.js";
|
|
7
|
+
import styles from "./index83.js";
|
|
8
8
|
const CHART_TYPE_LABELS = {
|
|
9
9
|
bar: "Bar",
|
|
10
10
|
pie: "Pie",
|
package/dist/index53.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const react = require("react");
|
|
5
5
|
const clsx = require("./index59.cjs");
|
|
6
|
-
const StatCard_module = require("./
|
|
6
|
+
const StatCard_module = require("./index92.cjs");
|
|
7
7
|
const StatCard = react.forwardRef(
|
|
8
8
|
({
|
|
9
9
|
label,
|
package/dist/index53.js
CHANGED
package/dist/index54.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("./index59.cjs");
|
|
5
|
-
const Table_module = require("./
|
|
5
|
+
const Table_module = require("./index63.cjs");
|
|
6
6
|
const TableContainer = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx(Table_module.default.container, className), ...props });
|
|
7
7
|
const Table = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("table", { className: clsx.clsx(Table_module.default.root, className), ...props });
|
|
8
8
|
exports.Table = Table;
|