@burdenoff/microfe-ecoimpacthub 2026.525.1 → 2026.704.2
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/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/ecoimpacthub/EcoImpactHubRoot.js +99 -110
- package/dist/ecoimpacthub/EcoImpactHubRoot.js.map +1 -1
- package/dist/ecoimpacthub/EcoImpactHubRoutes.js +74 -49
- package/dist/ecoimpacthub/EcoImpactHubRoutes.js.map +1 -1
- package/dist/ecoimpacthub/components/DataTable.js +71 -0
- package/dist/ecoimpacthub/components/DataTable.js.map +1 -0
- package/dist/ecoimpacthub/components/EmptyState.js +35 -0
- package/dist/ecoimpacthub/components/EmptyState.js.map +1 -0
- package/dist/ecoimpacthub/components/FilterTabs.js +27 -0
- package/dist/ecoimpacthub/components/FilterTabs.js.map +1 -0
- package/dist/ecoimpacthub/components/MetricsCard.js +64 -0
- package/dist/ecoimpacthub/components/MetricsCard.js.map +1 -0
- package/dist/ecoimpacthub/components/MiniBar.js +22 -0
- package/dist/ecoimpacthub/components/MiniBar.js.map +1 -0
- package/dist/ecoimpacthub/components/PageLayout.js +38 -0
- package/dist/ecoimpacthub/components/PageLayout.js.map +1 -0
- package/dist/ecoimpacthub/components/Pagination.js +50 -0
- package/dist/ecoimpacthub/components/Pagination.js.map +1 -0
- package/dist/ecoimpacthub/components/StateViews.js +49 -0
- package/dist/ecoimpacthub/components/StateViews.js.map +1 -0
- package/dist/ecoimpacthub/components/StatusBadge.js +77 -0
- package/dist/ecoimpacthub/components/StatusBadge.js.map +1 -0
- package/dist/ecoimpacthub/components/Tabs.js +31 -0
- package/dist/ecoimpacthub/components/Tabs.js.map +1 -0
- package/dist/ecoimpacthub/context/EcoImpactHubContext.js +85 -0
- package/dist/ecoimpacthub/context/EcoImpactHubContext.js.map +1 -0
- package/dist/ecoimpacthub/context/index.js +1 -0
- package/dist/ecoimpacthub/hooks/index.js +2 -0
- package/dist/ecoimpacthub/hooks/useCursorPager.js +25 -0
- package/dist/ecoimpacthub/hooks/useCursorPager.js.map +1 -0
- package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js +450 -0
- package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js.map +1 -0
- package/dist/ecoimpacthub/index.js +5 -2
- package/dist/ecoimpacthub/pages/DashboardPage.js +353 -359
- package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/carbon/CarbonPage.js +1052 -0
- package/dist/ecoimpacthub/pages/carbon/CarbonPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js +403 -0
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js +361 -0
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js +874 -0
- package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/observations/ObservationsPage.js +424 -0
- package/dist/ecoimpacthub/pages/observations/ObservationsPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js +324 -0
- package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/reports/ReportsPage.js +295 -0
- package/dist/ecoimpacthub/pages/reports/ReportsPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js +772 -0
- package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/sites/SitesPage.js +394 -0
- package/dist/ecoimpacthub/pages/sites/SitesPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js +543 -0
- package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/species/SpeciesPage.js +339 -0
- package/dist/ecoimpacthub/pages/species/SpeciesPage.js.map +1 -0
- package/dist/ecoimpacthub/utils/cn.js +10 -0
- package/dist/ecoimpacthub/utils/cn.js.map +1 -0
- package/dist/ecoimpacthub/utils/formatters.js +57 -0
- package/dist/ecoimpacthub/utils/formatters.js.map +1 -0
- package/dist/ecoimpacthub/utils/navigation.js +2 -1
- package/dist/ecoimpacthub/utils/navigation.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +46 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +541 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +127 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/package.json +2 -2
- package/dist/ecoimpacthub/pages/ActionTrackerPage.js +0 -449
- package/dist/ecoimpacthub/pages/ActionTrackerPage.js.map +0 -1
- package/dist/ecoimpacthub/pages/ChallengesPage.js +0 -242
- package/dist/ecoimpacthub/pages/ChallengesPage.js.map +0 -1
- package/dist/ecoimpacthub/pages/CitizenSciencePage.js +0 -443
- package/dist/ecoimpacthub/pages/CitizenSciencePage.js.map +0 -1
- package/dist/ecoimpacthub/pages/CommunityPage.js +0 -377
- package/dist/ecoimpacthub/pages/CommunityPage.js.map +0 -1
- package/dist/ecoimpacthub/pages/LearningPage.js +0 -276
- package/dist/ecoimpacthub/pages/LearningPage.js.map +0 -1
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js +0 -27
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js.map +0 -1
- package/dist/ecoimpacthub/store/ecoimpacthubStore.js +0 -551
- package/dist/ecoimpacthub/store/ecoimpacthubStore.js.map +0 -1
- package/dist/ecoimpacthub/utils/i18n.js +0 -15
- package/dist/ecoimpacthub/utils/i18n.js.map +0 -1
|
@@ -1,380 +1,374 @@
|
|
|
1
|
-
import { useEcoImpactHub as e } from "../
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { useEcoImpactHub as e } from "../context/EcoImpactHubContext.js";
|
|
2
|
+
import { Tooltip as t } from "../../node_modules/recharts/es6/component/Tooltip.js";
|
|
3
|
+
import { ResponsiveContainer as n } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
4
|
+
import { Cell as r } from "../../node_modules/recharts/es6/component/Cell.js";
|
|
5
|
+
import { LabelList as i } from "../../node_modules/recharts/es6/component/LabelList.js";
|
|
6
|
+
import { Bar as ee } from "../../node_modules/recharts/es6/cartesian/Bar.js";
|
|
7
|
+
import { XAxis as a } from "../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
8
|
+
import { YAxis as o } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
9
|
+
import { BarChart as s } from "../../node_modules/recharts/es6/chart/BarChart.js";
|
|
10
|
+
import { PageLayout as c } from "../components/PageLayout.js";
|
|
11
|
+
import { MetricsCard as l } from "../components/MetricsCard.js";
|
|
12
|
+
import { formatCo2e as u, formatEnumLabel as te, formatNumber as d, formatRelativeTime as f } from "../utils/formatters.js";
|
|
13
|
+
import { StatusBadge as p } from "../components/StatusBadge.js";
|
|
14
|
+
import { MiniBar as m } from "../components/MiniBar.js";
|
|
15
|
+
import { LoadingView as h, Section as g } from "../components/StateViews.js";
|
|
16
|
+
import { EmptyState as _ } from "../components/EmptyState.js";
|
|
17
|
+
import "../context/index.js";
|
|
18
|
+
import { useEcoCarbonTotals as v, useEcoHabitatProjects as y, useEcoMeasurements as b, useEcoObservations as x, useEcoSensors as S, useEcoSites as C, useEcoSpecies as w } from "../hooks/useEcoImpactHubApi.js";
|
|
19
|
+
import "../hooks/index.js";
|
|
20
|
+
import { useMemo as ne } from "react";
|
|
21
|
+
import { ArrowRight as T, Binoculars as re, Factory as E, MapPin as ie, PawPrint as ae, Radio as D, ShieldCheck as O, Trees as k, TriangleAlert as A } from "lucide-react";
|
|
22
|
+
import { jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
23
|
+
import { GlassCard as N } from "@burdenoff/fe-libs/ui";
|
|
9
24
|
//#region src/ecoimpacthub/pages/DashboardPage.tsx
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
color: "text-amber-600"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: j("ecoimpacthub.dashboard.stats.impactScore.title", "Impact Score"),
|
|
35
|
-
value: "87",
|
|
36
|
-
change: j("ecoimpacthub.dashboard.stats.impactScore.change", "+5 points"),
|
|
37
|
-
icon: l,
|
|
38
|
-
color: "text-purple-600"
|
|
25
|
+
var P = new Set([
|
|
26
|
+
"PLANNED",
|
|
27
|
+
"IN_PROGRESS",
|
|
28
|
+
"MONITORING"
|
|
29
|
+
]), F = {
|
|
30
|
+
SCOPE_1: "var(--color-status-error-text)",
|
|
31
|
+
SCOPE_2: "var(--color-status-warning-text)",
|
|
32
|
+
SCOPE_3: "var(--color-accent)"
|
|
33
|
+
};
|
|
34
|
+
function I() {
|
|
35
|
+
let { navigateTo: I, currentUser: L } = e(), R = C({ pagination: {
|
|
36
|
+
limit: 100,
|
|
37
|
+
offset: 0
|
|
38
|
+
} }), z = w({ pagination: {
|
|
39
|
+
limit: 100,
|
|
40
|
+
offset: 0
|
|
41
|
+
} }), B = y(), V = v(), H = b({
|
|
42
|
+
breachesOnly: !0,
|
|
43
|
+
pagination: {
|
|
44
|
+
limit: 6,
|
|
45
|
+
offset: 0
|
|
39
46
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
className: "
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ x("p", {
|
|
143
|
-
className: "text-sm font-medium text-muted-foreground",
|
|
144
|
-
children: e.title
|
|
145
|
-
}),
|
|
146
|
-
/* @__PURE__ */ x("p", {
|
|
147
|
-
className: "mt-1 text-xs text-muted-foreground",
|
|
148
|
-
children: e.change
|
|
149
|
-
})
|
|
150
|
-
] })]
|
|
151
|
-
}) }, e.title);
|
|
47
|
+
}), U = x({ pagination: {
|
|
48
|
+
limit: 6,
|
|
49
|
+
offset: 0
|
|
50
|
+
} }), W = S(), G = R.data?.items ?? [], K = z.data?.items ?? [], q = B.data ?? [], J = W.data ?? [], oe = G.filter((e) => e.status === "ACTIVE").length, se = K.filter((e) => e.isPriority).length, Y = K.filter((e) => [
|
|
51
|
+
"VULNERABLE",
|
|
52
|
+
"ENDANGERED",
|
|
53
|
+
"CRITICALLY_ENDANGERED"
|
|
54
|
+
].includes(e.conservationStatus)).length, ce = q.filter((e) => P.has(e.status)).length, le = J.filter((e) => e.status === "ONLINE").length, X = J.filter((e) => [
|
|
55
|
+
"OFFLINE",
|
|
56
|
+
"DEGRADED",
|
|
57
|
+
"MAINTENANCE"
|
|
58
|
+
].includes(e.status)).length, Z = ne(() => {
|
|
59
|
+
let e = V.data;
|
|
60
|
+
return e ? [
|
|
61
|
+
{
|
|
62
|
+
scope: "SCOPE_1",
|
|
63
|
+
label: "Scope 1",
|
|
64
|
+
kg: e.scope1
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
scope: "SCOPE_2",
|
|
68
|
+
label: "Scope 2",
|
|
69
|
+
kg: e.scope2
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
scope: "SCOPE_3",
|
|
73
|
+
label: "Scope 3",
|
|
74
|
+
kg: e.scope3
|
|
75
|
+
}
|
|
76
|
+
] : [];
|
|
77
|
+
}, [V.data]);
|
|
78
|
+
if (R.isLoading && z.isLoading && B.isLoading && V.isLoading) return /* @__PURE__ */ j(c, {
|
|
79
|
+
title: "EcoImpactHub",
|
|
80
|
+
titleGradient: !0,
|
|
81
|
+
aurora: !0,
|
|
82
|
+
children: /* @__PURE__ */ j(h, { label: "Loading your impact overview…" })
|
|
83
|
+
});
|
|
84
|
+
let ue = L?.firstName || L?.name || "there", Q = H.data?.items ?? [], $ = U.data?.items ?? [];
|
|
85
|
+
return /* @__PURE__ */ M(c, {
|
|
86
|
+
title: "EcoImpactHub",
|
|
87
|
+
titleGradient: !0,
|
|
88
|
+
aurora: !0,
|
|
89
|
+
description: `Welcome back, ${ue} — your environment, conservation & sustainability control room.`,
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ M("div", {
|
|
92
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6",
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ j(l, {
|
|
95
|
+
icon: /* @__PURE__ */ j(ie, { className: "h-5 w-5" }),
|
|
96
|
+
value: R.data?.pageInfo?.hasMore ? `${G.length}+` : d(G.length),
|
|
97
|
+
label: "Monitored sites",
|
|
98
|
+
footer: /* @__PURE__ */ M("p", {
|
|
99
|
+
className: "text-xs text-text-tertiary",
|
|
100
|
+
children: [oe, " active"]
|
|
101
|
+
})
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ j(l, {
|
|
104
|
+
icon: /* @__PURE__ */ j(ae, { className: "h-5 w-5" }),
|
|
105
|
+
value: z.data?.pageInfo?.hasMore ? `${K.length}+` : d(K.length),
|
|
106
|
+
label: "Species tracked",
|
|
107
|
+
accent: Y > 0 ? "warning" : void 0,
|
|
108
|
+
footer: /* @__PURE__ */ M("p", {
|
|
109
|
+
className: "text-xs text-text-tertiary",
|
|
110
|
+
children: [
|
|
111
|
+
se,
|
|
112
|
+
" priority · ",
|
|
113
|
+
Y,
|
|
114
|
+
" threatened"
|
|
115
|
+
]
|
|
116
|
+
})
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ j(l, {
|
|
119
|
+
icon: /* @__PURE__ */ j(k, { className: "h-5 w-5" }),
|
|
120
|
+
value: d(ce),
|
|
121
|
+
label: "Active habitat projects",
|
|
122
|
+
footer: /* @__PURE__ */ M("p", {
|
|
123
|
+
className: "text-xs text-text-tertiary",
|
|
124
|
+
children: [d(q.length), " total"]
|
|
125
|
+
})
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ j(l, {
|
|
128
|
+
icon: /* @__PURE__ */ j(E, { className: "h-5 w-5" }),
|
|
129
|
+
value: V.data ? u(V.data.total) : "—",
|
|
130
|
+
label: "Total footprint",
|
|
131
|
+
featured: !0
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ j(l, {
|
|
134
|
+
icon: /* @__PURE__ */ j(D, { className: "h-5 w-5" }),
|
|
135
|
+
value: d(le),
|
|
136
|
+
label: "Sensors online",
|
|
137
|
+
accent: X > 0 ? "warning" : "success",
|
|
138
|
+
footer: /* @__PURE__ */ M("p", {
|
|
139
|
+
className: "text-xs text-text-tertiary",
|
|
140
|
+
children: [X, " need attention"]
|
|
141
|
+
})
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ j(l, {
|
|
144
|
+
icon: /* @__PURE__ */ j(A, { className: "h-5 w-5" }),
|
|
145
|
+
value: H.data?.pageInfo?.hasMore ? `${Q.length}+` : d(Q.length),
|
|
146
|
+
label: "Open breaches",
|
|
147
|
+
accent: Q.length > 0 ? "error" : "success"
|
|
152
148
|
})
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
})
|
|
166
|
-
className: "
|
|
167
|
-
children:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
})]
|
|
193
|
-
}) }), /* @__PURE__ */ x(v, {
|
|
194
|
-
className: "space-y-4",
|
|
195
|
-
children: F.map((e) => /* @__PURE__ */ S("div", {
|
|
196
|
-
className: "space-y-3 rounded-lg border p-4",
|
|
197
|
-
children: [
|
|
198
|
-
/* @__PURE__ */ S("div", {
|
|
199
|
-
className: "flex items-start justify-between",
|
|
200
|
-
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h3", {
|
|
201
|
-
className: "font-semibold",
|
|
202
|
-
children: e.title
|
|
203
|
-
}), /* @__PURE__ */ x("p", {
|
|
204
|
-
className: "line-clamp-2 text-sm text-muted-foreground",
|
|
205
|
-
children: e.description
|
|
206
|
-
})] }), /* @__PURE__ */ x(h, {
|
|
207
|
-
variant: "outline",
|
|
208
|
-
children: j("ecoimpacthub.dashboard.challenge.points", "{{points}} pts", { points: e.points })
|
|
209
|
-
})]
|
|
210
|
-
}),
|
|
211
|
-
e.progress !== void 0 && /* @__PURE__ */ S("div", {
|
|
212
|
-
className: "space-y-2",
|
|
213
|
-
children: [/* @__PURE__ */ S("div", {
|
|
214
|
-
className: "flex justify-between text-sm",
|
|
215
|
-
children: [/* @__PURE__ */ x("span", { children: j("ecoimpacthub.dashboard.challenge.progress", "Progress") }), /* @__PURE__ */ S("span", { children: [e.progress, "%"] })]
|
|
216
|
-
}), /* @__PURE__ */ x("div", {
|
|
217
|
-
className: "h-2 w-full rounded-full bg-muted",
|
|
218
|
-
children: /* @__PURE__ */ x("div", {
|
|
219
|
-
className: "h-2 rounded-full bg-primary transition-all",
|
|
220
|
-
style: { width: `${e.progress}%` }
|
|
221
|
-
})
|
|
222
|
-
})]
|
|
223
|
-
}),
|
|
224
|
-
/* @__PURE__ */ S("div", {
|
|
225
|
-
className: "flex items-center justify-between text-sm text-muted-foreground",
|
|
226
|
-
children: [/* @__PURE__ */ S("div", {
|
|
227
|
-
className: "flex items-center gap-1",
|
|
228
|
-
children: [/* @__PURE__ */ x(p, { className: "h-3 w-3" }), /* @__PURE__ */ x("span", { children: j("ecoimpacthub.dashboard.challenge.participants", "{{count}} participants", { count: e.participants }) })]
|
|
229
|
-
}), /* @__PURE__ */ S("div", {
|
|
230
|
-
className: "flex items-center gap-1",
|
|
231
|
-
children: [/* @__PURE__ */ x(o, { className: "h-3 w-3" }), /* @__PURE__ */ x("span", { children: j("ecoimpacthub.dashboard.challenge.ends", "Ends {{date}}", { date: new Date(e.endDate).toLocaleDateString() }) })]
|
|
232
|
-
})]
|
|
233
|
-
})
|
|
234
|
-
]
|
|
235
|
-
}, e.id))
|
|
236
|
-
})] })]
|
|
237
|
-
}), /* @__PURE__ */ S("div", {
|
|
238
|
-
className: "space-y-6",
|
|
239
|
-
children: [
|
|
240
|
-
/* @__PURE__ */ S(_, { children: [/* @__PURE__ */ x(y, { children: /* @__PURE__ */ x(b, {
|
|
241
|
-
className: "text-lg",
|
|
242
|
-
children: j("ecoimpacthub.dashboard.sections.quickActions", "Quick Actions")
|
|
243
|
-
}) }), /* @__PURE__ */ x(v, { children: /* @__PURE__ */ S("div", {
|
|
244
|
-
className: "grid grid-cols-2 gap-3",
|
|
149
|
+
]
|
|
150
|
+
}),
|
|
151
|
+
/* @__PURE__ */ M("div", {
|
|
152
|
+
className: "mt-6 grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
153
|
+
children: [/* @__PURE__ */ M(N, {
|
|
154
|
+
treatment: "glass",
|
|
155
|
+
className: "p-6 lg:col-span-2",
|
|
156
|
+
children: [/* @__PURE__ */ M("div", {
|
|
157
|
+
className: "mb-4 flex items-center justify-between",
|
|
158
|
+
children: [/* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("h2", {
|
|
159
|
+
className: "text-base font-semibold text-text-primary",
|
|
160
|
+
children: "Carbon footprint by scope"
|
|
161
|
+
}), /* @__PURE__ */ j("p", {
|
|
162
|
+
className: "mt-0.5 text-sm text-text-secondary",
|
|
163
|
+
children: "GHG Protocol Scope 1 / 2 / 3 emissions (CO₂e)."
|
|
164
|
+
})] }), /* @__PURE__ */ M("button", {
|
|
165
|
+
type: "button",
|
|
166
|
+
onClick: () => I("carbon"),
|
|
167
|
+
className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
|
|
168
|
+
children: ["Ledger ", /* @__PURE__ */ j(T, { className: "h-4 w-4" })]
|
|
169
|
+
})]
|
|
170
|
+
}), Z.every((e) => e.kg === 0) ? /* @__PURE__ */ j(_, {
|
|
171
|
+
illustration: "empty-data",
|
|
172
|
+
icon: /* @__PURE__ */ j(E, { className: "h-10 w-10" }),
|
|
173
|
+
title: "No carbon entries yet",
|
|
174
|
+
description: "Record activity in the carbon ledger to see your Scope 1–3 footprint here."
|
|
175
|
+
}) : /* @__PURE__ */ j("div", {
|
|
176
|
+
className: "h-56",
|
|
177
|
+
children: /* @__PURE__ */ j(n, {
|
|
178
|
+
width: "100%",
|
|
179
|
+
height: "100%",
|
|
180
|
+
children: /* @__PURE__ */ M(s, {
|
|
181
|
+
data: Z,
|
|
182
|
+
margin: {
|
|
183
|
+
top: 16,
|
|
184
|
+
right: 8,
|
|
185
|
+
left: 8,
|
|
186
|
+
bottom: 0
|
|
187
|
+
},
|
|
245
188
|
children: [
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
189
|
+
/* @__PURE__ */ j(a, {
|
|
190
|
+
dataKey: "label",
|
|
191
|
+
tick: {
|
|
192
|
+
fill: "var(--color-text-secondary)",
|
|
193
|
+
fontSize: 12
|
|
194
|
+
},
|
|
195
|
+
axisLine: { stroke: "var(--color-border-seam)" },
|
|
196
|
+
tickLine: !1
|
|
254
197
|
}),
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
198
|
+
/* @__PURE__ */ j(o, {
|
|
199
|
+
tick: {
|
|
200
|
+
fill: "var(--color-text-tertiary)",
|
|
201
|
+
fontSize: 11
|
|
202
|
+
},
|
|
203
|
+
axisLine: !1,
|
|
204
|
+
tickLine: !1,
|
|
205
|
+
width: 48,
|
|
206
|
+
tickFormatter: (e) => e >= 1e3 ? `${Math.round(e / 1e3)}t` : `${e}`
|
|
263
207
|
}),
|
|
264
|
-
/* @__PURE__ */
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
208
|
+
/* @__PURE__ */ j(t, {
|
|
209
|
+
cursor: {
|
|
210
|
+
fill: "var(--color-bg-sunken)",
|
|
211
|
+
opacity: .4
|
|
212
|
+
},
|
|
213
|
+
contentStyle: {
|
|
214
|
+
background: "var(--color-bg-surface)",
|
|
215
|
+
border: "1px solid var(--color-border-seam)",
|
|
216
|
+
borderRadius: 12,
|
|
217
|
+
color: "var(--color-text-primary)"
|
|
218
|
+
},
|
|
219
|
+
formatter: (e) => [u(e), "Emissions"]
|
|
272
220
|
}),
|
|
273
|
-
/* @__PURE__ */
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
221
|
+
/* @__PURE__ */ M(ee, {
|
|
222
|
+
dataKey: "kg",
|
|
223
|
+
radius: [
|
|
224
|
+
6,
|
|
225
|
+
6,
|
|
226
|
+
0,
|
|
227
|
+
0
|
|
228
|
+
],
|
|
229
|
+
maxBarSize: 80,
|
|
230
|
+
children: [Z.map((e) => /* @__PURE__ */ j(r, { fill: F[e.scope] }, e.scope)), /* @__PURE__ */ j(i, {
|
|
231
|
+
dataKey: "kg",
|
|
232
|
+
position: "top",
|
|
233
|
+
formatter: (e) => e > 0 ? u(e) : "",
|
|
234
|
+
style: {
|
|
235
|
+
fill: "var(--color-text-secondary)",
|
|
236
|
+
fontSize: 11
|
|
237
|
+
}
|
|
280
238
|
})]
|
|
281
239
|
})
|
|
282
240
|
]
|
|
283
|
-
})
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
241
|
+
})
|
|
242
|
+
})
|
|
243
|
+
})]
|
|
244
|
+
}), /* @__PURE__ */ M(N, {
|
|
245
|
+
treatment: "glass",
|
|
246
|
+
className: "p-6",
|
|
247
|
+
children: [/* @__PURE__ */ M("div", {
|
|
248
|
+
className: "mb-4 flex items-center justify-between",
|
|
249
|
+
children: [/* @__PURE__ */ j("h2", {
|
|
250
|
+
className: "text-base font-semibold text-text-primary",
|
|
251
|
+
children: "Recent breaches"
|
|
252
|
+
}), /* @__PURE__ */ M("button", {
|
|
253
|
+
type: "button",
|
|
254
|
+
onClick: () => I("monitoring"),
|
|
255
|
+
className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
|
|
256
|
+
children: ["Monitoring ", /* @__PURE__ */ j(T, { className: "h-4 w-4" })]
|
|
257
|
+
})]
|
|
258
|
+
}), Q.length === 0 ? /* @__PURE__ */ M("div", {
|
|
259
|
+
className: "flex flex-col items-center justify-center py-8 text-center",
|
|
260
|
+
children: [/* @__PURE__ */ j(O, { className: "h-10 w-10 text-status-success-text opacity-70" }), /* @__PURE__ */ j("p", {
|
|
261
|
+
className: "mt-3 text-sm text-text-secondary",
|
|
262
|
+
children: "No threshold breaches — all parameters within range."
|
|
263
|
+
})]
|
|
264
|
+
}) : /* @__PURE__ */ j("ul", {
|
|
265
|
+
className: "space-y-3",
|
|
266
|
+
children: Q.map((e) => /* @__PURE__ */ M("li", {
|
|
267
|
+
className: "flex items-start justify-between gap-3",
|
|
268
|
+
children: [/* @__PURE__ */ M("div", {
|
|
269
|
+
className: "min-w-0",
|
|
270
|
+
children: [/* @__PURE__ */ j("p", {
|
|
271
|
+
className: "truncate text-sm font-medium text-text-primary",
|
|
272
|
+
children: e.parameter
|
|
273
|
+
}), /* @__PURE__ */ M("p", {
|
|
274
|
+
className: "text-xs text-text-tertiary",
|
|
275
|
+
children: [
|
|
276
|
+
d(e.value),
|
|
277
|
+
" ",
|
|
278
|
+
e.unit,
|
|
279
|
+
" · ",
|
|
280
|
+
f(e.recordedAt)
|
|
281
|
+
]
|
|
282
|
+
})]
|
|
283
|
+
}), /* @__PURE__ */ j(p, { status: "BREACH" })]
|
|
284
|
+
}, e.id))
|
|
285
|
+
})]
|
|
286
|
+
})]
|
|
287
|
+
}),
|
|
288
|
+
/* @__PURE__ */ j(g, {
|
|
289
|
+
title: "Recent field observations",
|
|
290
|
+
description: "Latest wildlife & biodiversity sightings recorded across your sites.",
|
|
291
|
+
action: /* @__PURE__ */ M("button", {
|
|
292
|
+
type: "button",
|
|
293
|
+
onClick: () => I("observations"),
|
|
294
|
+
className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
|
|
295
|
+
children: ["All observations ", /* @__PURE__ */ j(T, { className: "h-4 w-4" })]
|
|
296
|
+
}),
|
|
297
|
+
children: $.length === 0 ? /* @__PURE__ */ j(_, {
|
|
298
|
+
illustration: "empty-data",
|
|
299
|
+
icon: /* @__PURE__ */ j(re, { className: "h-10 w-10" }),
|
|
300
|
+
title: "No observations yet",
|
|
301
|
+
description: "Record your first field observation to build your biodiversity dataset."
|
|
302
|
+
}) : /* @__PURE__ */ j("div", {
|
|
303
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
304
|
+
children: $.map((e) => /* @__PURE__ */ M(N, {
|
|
305
|
+
treatment: "plain",
|
|
306
|
+
className: "p-4",
|
|
307
|
+
children: [/* @__PURE__ */ M("div", {
|
|
308
|
+
className: "flex items-start justify-between gap-2",
|
|
309
|
+
children: [/* @__PURE__ */ M("div", {
|
|
310
|
+
className: "min-w-0",
|
|
311
|
+
children: [/* @__PURE__ */ j("p", {
|
|
312
|
+
className: "truncate text-sm font-semibold text-text-primary",
|
|
313
|
+
children: e.species?.commonName ?? "Unknown species"
|
|
314
|
+
}), e.species?.scientificName && /* @__PURE__ */ j("p", {
|
|
315
|
+
className: "truncate text-xs italic text-text-tertiary",
|
|
316
|
+
children: e.species.scientificName
|
|
323
317
|
})]
|
|
324
|
-
})
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
318
|
+
}), /* @__PURE__ */ M("span", {
|
|
319
|
+
className: "shrink-0 rounded-full bg-bg-sunken px-2 py-0.5 text-xs tabular-nums text-text-secondary",
|
|
320
|
+
children: ["×", d(e.count)]
|
|
321
|
+
})]
|
|
322
|
+
}), /* @__PURE__ */ M("div", {
|
|
323
|
+
className: "mt-3 flex items-center justify-between",
|
|
324
|
+
children: [/* @__PURE__ */ j("span", {
|
|
325
|
+
className: "text-xs text-text-tertiary",
|
|
326
|
+
children: te(e.method)
|
|
327
|
+
}), /* @__PURE__ */ j("span", {
|
|
328
|
+
className: "text-xs text-text-tertiary",
|
|
329
|
+
children: f(e.observedAt)
|
|
330
|
+
})]
|
|
331
|
+
})]
|
|
332
|
+
}, e.id))
|
|
333
|
+
})
|
|
334
|
+
}),
|
|
335
|
+
K.length > 0 && /* @__PURE__ */ j(g, {
|
|
336
|
+
title: "Conservation status",
|
|
337
|
+
description: "Distribution of tracked species by IUCN-style status.",
|
|
338
|
+
children: /* @__PURE__ */ j(N, {
|
|
339
|
+
treatment: "plain",
|
|
340
|
+
className: "p-6",
|
|
341
|
+
children: /* @__PURE__ */ j("div", {
|
|
342
|
+
className: "space-y-3",
|
|
343
|
+
children: (() => {
|
|
344
|
+
let e = /* @__PURE__ */ new Map();
|
|
345
|
+
for (let t of K) e.set(t.conservationStatus, (e.get(t.conservationStatus) ?? 0) + 1);
|
|
346
|
+
let t = K.length;
|
|
347
|
+
return [...e.entries()].sort((e, t) => t[1] - e[1]).map(([e, n]) => /* @__PURE__ */ M("div", {
|
|
348
|
+
className: "flex items-center gap-4",
|
|
349
349
|
children: [
|
|
350
|
-
|
|
351
|
-
className: "
|
|
352
|
-
children:
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
/* @__PURE__ */ S("div", {
|
|
358
|
-
className: "flex items-center justify-between",
|
|
359
|
-
children: [/* @__PURE__ */ x("span", { children: j("ecoimpacthub.dashboard.metrics.workItems", "Work Items") }), /* @__PURE__ */ x("span", {
|
|
360
|
-
className: "font-medium text-foreground",
|
|
361
|
-
children: O.length
|
|
362
|
-
})]
|
|
350
|
+
/* @__PURE__ */ j("div", {
|
|
351
|
+
className: "w-48 shrink-0",
|
|
352
|
+
children: /* @__PURE__ */ j(p, { status: e })
|
|
353
|
+
}),
|
|
354
|
+
/* @__PURE__ */ j(m, {
|
|
355
|
+
value: n / t * 100,
|
|
356
|
+
className: "flex-1"
|
|
363
357
|
}),
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
className: "
|
|
366
|
-
children:
|
|
358
|
+
/* @__PURE__ */ j("span", {
|
|
359
|
+
className: "w-10 shrink-0 text-right text-sm tabular-nums text-text-secondary",
|
|
360
|
+
children: n
|
|
367
361
|
})
|
|
368
362
|
]
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
})
|
|
363
|
+
}, e));
|
|
364
|
+
})()
|
|
365
|
+
})
|
|
372
366
|
})
|
|
373
|
-
|
|
374
|
-
|
|
367
|
+
})
|
|
368
|
+
]
|
|
375
369
|
});
|
|
376
370
|
}
|
|
377
371
|
//#endregion
|
|
378
|
-
export {
|
|
372
|
+
export { I as DashboardPage };
|
|
379
373
|
|
|
380
374
|
//# sourceMappingURL=DashboardPage.js.map
|