@burdenoff/microfe-ecoimpacthub 2026.1203.4 → 2026.1205.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/ecoimpacthub/components/AiInsightsPanel.d.ts +3 -0
- package/dist/ecoimpacthub/components/AiInsightsPanel.js +79 -87
- package/dist/ecoimpacthub/components/AiInsightsPanel.js.map +1 -1
- package/dist/ecoimpacthub/components/EcoDiscussion.js +7 -9
- package/dist/ecoimpacthub/components/EcoDiscussion.js.map +1 -1
- package/dist/ecoimpacthub/components/EcoTags.js +0 -1
- package/dist/ecoimpacthub/components/EcoTags.js.map +1 -1
- package/dist/ecoimpacthub/components/EvidenceUpload.js +0 -1
- package/dist/ecoimpacthub/components/EvidenceUpload.js.map +1 -1
- package/dist/ecoimpacthub/components/FileLink.js +0 -1
- package/dist/ecoimpacthub/components/FileLink.js.map +1 -1
- package/dist/ecoimpacthub/components/ai/AiAnomalyPanel.js +9 -10
- package/dist/ecoimpacthub/components/ai/AiAnomalyPanel.js.map +1 -1
- package/dist/ecoimpacthub/components/ai/AiThresholdSuggest.js +3 -4
- package/dist/ecoimpacthub/components/ai/AiThresholdSuggest.js.map +1 -1
- package/dist/ecoimpacthub/components/ai/AiTriageDialog.js +8 -9
- package/dist/ecoimpacthub/components/ai/AiTriageDialog.js.map +1 -1
- package/dist/ecoimpacthub/field/useFieldQueue.js +0 -1
- package/dist/ecoimpacthub/field/useFieldQueue.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoAiMonitoring.js +0 -1
- package/dist/ecoimpacthub/hooks/useEcoAiMonitoring.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoAiOperations.js +0 -1
- package/dist/ecoimpacthub/hooks/useEcoAiOperations.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoComments.js +0 -1
- package/dist/ecoimpacthub/hooks/useEcoComments.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoFiles.js +0 -1
- package/dist/ecoimpacthub/hooks/useEcoFiles.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.d.ts +5 -1
- package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js +128 -105
- package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.d.ts +9 -1
- package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.js +5 -6
- package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.js.map +1 -1
- package/dist/ecoimpacthub/hooks/useEcoTags.js +0 -1
- package/dist/ecoimpacthub/hooks/useEcoTags.js.map +1 -1
- package/dist/ecoimpacthub/pages/DashboardPage.d.ts +6 -3
- package/dist/ecoimpacthub/pages/DashboardPage.js +263 -292
- package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/_shared/EvidenceThumb.js +0 -1
- package/dist/ecoimpacthub/pages/_shared/EvidenceThumb.js.map +1 -1
- package/dist/ecoimpacthub/pages/ai/AiOperationsPage.js +126 -128
- package/dist/ecoimpacthub/pages/ai/AiOperationsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/carbon/CarbonPage.js +12 -13
- package/dist/ecoimpacthub/pages/carbon/CarbonPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/circularity/CircularityPage.js +11 -12
- package/dist/ecoimpacthub/pages/circularity/CircularityPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/compliance/CompliancePage.js +70 -71
- package/dist/ecoimpacthub/pages/compliance/CompliancePage.js.map +1 -1
- package/dist/ecoimpacthub/pages/credits/CreditsPage.js +140 -141
- package/dist/ecoimpacthub/pages/credits/CreditsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/dashboardKpis.d.ts +35 -0
- package/dist/ecoimpacthub/pages/dashboardKpis.js +60 -0
- package/dist/ecoimpacthub/pages/dashboardKpis.js.map +1 -0
- package/dist/ecoimpacthub/pages/ehs/EhsPage.js +467 -468
- package/dist/ecoimpacthub/pages/ehs/EhsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/energy/EnergyPage.js +414 -415
- package/dist/ecoimpacthub/pages/energy/EnergyPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/grants/DonorPortalPage.js +0 -1
- package/dist/ecoimpacthub/pages/grants/DonorPortalPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/grants/GrantDetailPage.js +11 -13
- package/dist/ecoimpacthub/pages/grants/GrantDetailPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/grants/GrantsPage.js +28 -30
- package/dist/ecoimpacthub/pages/grants/GrantsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js +16 -18
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js +16 -18
- package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/habitat/StewardshipPage.js +17 -18
- package/dist/ecoimpacthub/pages/habitat/StewardshipPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/habitat/stewardship.js +0 -1
- package/dist/ecoimpacthub/pages/habitat/stewardship.js.map +1 -1
- package/dist/ecoimpacthub/pages/metrics/MetricDetailDialog.js +0 -1
- package/dist/ecoimpacthub/pages/metrics/MetricDetailDialog.js.map +1 -1
- package/dist/ecoimpacthub/pages/metrics/MetricsPage.js +11 -12
- package/dist/ecoimpacthub/pages/metrics/MetricsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/mobile/FieldQueuePanel.js +0 -1
- package/dist/ecoimpacthub/pages/mobile/FieldQueuePanel.js.map +1 -1
- package/dist/ecoimpacthub/pages/mobile/MobileDashboardPage.js +14 -16
- package/dist/ecoimpacthub/pages/mobile/MobileDashboardPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/mobile/MobileRecordObservationPage.js +4 -6
- package/dist/ecoimpacthub/pages/mobile/MobileRecordObservationPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/mobile/MobileShell.js +0 -2
- package/dist/ecoimpacthub/pages/mobile/MobileShell.js.map +1 -1
- package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js +118 -120
- package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/observations/ObservationsPage.js +25 -27
- package/dist/ecoimpacthub/pages/observations/ObservationsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/products/ProductFootprintPage.js +5 -6
- package/dist/ecoimpacthub/pages/products/ProductFootprintPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js +26 -28
- package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/reports/ReportsPage.js +22 -24
- package/dist/ecoimpacthub/pages/reports/ReportsPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/satellite/SatellitePage.js +120 -121
- package/dist/ecoimpacthub/pages/satellite/SatellitePage.js.map +1 -1
- package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js +274 -277
- package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/sites/SitesPage.js +99 -101
- package/dist/ecoimpacthub/pages/sites/SitesPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js +31 -33
- package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/species/SpeciesPage.js +20 -22
- package/dist/ecoimpacthub/pages/species/SpeciesPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/suppliers/SuppliersPage.js +12 -13
- package/dist/ecoimpacthub/pages/suppliers/SuppliersPage.js.map +1 -1
- package/dist/ecoimpacthub/pages/telemetry/TelemetryPage.js +14 -15
- package/dist/ecoimpacthub/pages/telemetry/TelemetryPage.js.map +1 -1
- package/dist/ecoimpacthub/types/index.d.ts +30 -0
- package/dist/ecoimpacthub/utils/cn.js +2 -2
- package/dist/generated/wspace-types.d.ts +132863 -10029
- package/dist/index.js +0 -1
- package/package.json +4 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -19
- package/dist/ecoimpacthub/components/ai/index.js +0 -5
- package/dist/ecoimpacthub/context/index.js +0 -1
- package/dist/ecoimpacthub/hooks/index.js +0 -12
- package/dist/ecoimpacthub/index.js +0 -12
- package/dist/ecoimpacthub/services/index.js +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -19
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/d3-array/dist/d3-array.js +0 -204
- package/dist/node_modules/d3-array/dist/d3-array.js.map +0 -1
- package/dist/node_modules/d3-color/dist/d3-color.js +0 -388
- package/dist/node_modules/d3-color/dist/d3-color.js.map +0 -1
- package/dist/node_modules/d3-format/dist/d3-format.js +0 -186
- package/dist/node_modules/d3-format/dist/d3-format.js.map +0 -1
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -185
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +0 -1
- package/dist/node_modules/d3-path/dist/d3-path.js +0 -90
- package/dist/node_modules/d3-path/dist/d3-path.js.map +0 -1
- package/dist/node_modules/d3-scale/dist/d3-scale.js +0 -622
- package/dist/node_modules/d3-scale/dist/d3-scale.js.map +0 -1
- package/dist/node_modules/d3-shape/dist/d3-shape.js +0 -901
- package/dist/node_modules/d3-shape/dist/d3-shape.js.map +0 -1
- package/dist/node_modules/d3-time/dist/d3-time.js +0 -241
- package/dist/node_modules/d3-time/dist/d3-time.js.map +0 -1
- package/dist/node_modules/d3-time-format/dist/d3-time-format.js +0 -545
- package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +0 -1
- package/dist/node_modules/decimal.js-light/decimal.js +0 -381
- package/dist/node_modules/decimal.js-light/decimal.js.map +0 -1
- package/dist/node_modules/eventemitter3/index.js +0 -94
- package/dist/node_modules/eventemitter3/index.js.map +0 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +0 -297
- package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
- package/dist/node_modules/lodash/_DataView.js +0 -11
- package/dist/node_modules/lodash/_DataView.js.map +0 -1
- package/dist/node_modules/lodash/_Hash.js +0 -22
- package/dist/node_modules/lodash/_Hash.js.map +0 -1
- package/dist/node_modules/lodash/_ListCache.js +0 -22
- package/dist/node_modules/lodash/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash/_Map.js +0 -11
- package/dist/node_modules/lodash/_Map.js.map +0 -1
- package/dist/node_modules/lodash/_MapCache.js +0 -22
- package/dist/node_modules/lodash/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash/_Promise.js +0 -11
- package/dist/node_modules/lodash/_Promise.js.map +0 -1
- package/dist/node_modules/lodash/_Set.js +0 -11
- package/dist/node_modules/lodash/_Set.js.map +0 -1
- package/dist/node_modules/lodash/_SetCache.js +0 -17
- package/dist/node_modules/lodash/_SetCache.js.map +0 -1
- package/dist/node_modules/lodash/_Stack.js +0 -20
- package/dist/node_modules/lodash/_Stack.js.map +0 -1
- package/dist/node_modules/lodash/_Symbol.js +0 -10
- package/dist/node_modules/lodash/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash/_Uint8Array.js +0 -10
- package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
- package/dist/node_modules/lodash/_WeakMap.js +0 -11
- package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
- package/dist/node_modules/lodash/_apply.js +0 -18
- package/dist/node_modules/lodash/_apply.js.map +0 -1
- package/dist/node_modules/lodash/_arrayEvery.js +0 -13
- package/dist/node_modules/lodash/_arrayEvery.js.map +0 -1
- package/dist/node_modules/lodash/_arrayFilter.js +0 -16
- package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +0 -14
- package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -13
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -21
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_arrayMap.js +0 -13
- package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash/_arrayPush.js +0 -13
- package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
- package/dist/node_modules/lodash/_arraySome.js +0 -13
- package/dist/node_modules/lodash/_arraySome.js.map +0 -1
- package/dist/node_modules/lodash/_asciiToArray.js +0 -12
- package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -15
- package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -19
- package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseEach.js +0 -12
- package/dist/node_modules/lodash/_baseEach.js.map +0 -1
- package/dist/node_modules/lodash/_baseEvery.js +0 -17
- package/dist/node_modules/lodash/_baseEvery.js.map +0 -1
- package/dist/node_modules/lodash/_baseExtremum.js +0 -18
- package/dist/node_modules/lodash/_baseExtremum.js.map +0 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +0 -13
- package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
- package/dist/node_modules/lodash/_baseFlatten.js +0 -20
- package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
- package/dist/node_modules/lodash/_baseFor.js +0 -10
- package/dist/node_modules/lodash/_baseFor.js.map +0 -1
- package/dist/node_modules/lodash/_baseForOwn.js +0 -15
- package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
- package/dist/node_modules/lodash/_baseGet.js +0 -17
- package/dist/node_modules/lodash/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -16
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetTag.js +0 -16
- package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash/_baseGt.js +0 -12
- package/dist/node_modules/lodash/_baseGt.js.map +0 -1
- package/dist/node_modules/lodash/_baseHasIn.js +0 -12
- package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +0 -16
- package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -15
- package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -15
- package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -36
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -32
- package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +0 -12
- package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNative.js +0 -17
- package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -17
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_baseIteratee.js +0 -18
- package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeys.js +0 -18
- package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseLt.js +0 -12
- package/dist/node_modules/lodash/_baseLt.js.map +0 -1
- package/dist/node_modules/lodash/_baseMap.js +0 -18
- package/dist/node_modules/lodash/_baseMap.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatches.js +0 -19
- package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -23
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
- package/dist/node_modules/lodash/_baseOrderBy.js +0 -38
- package/dist/node_modules/lodash/_baseOrderBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseProperty.js +0 -14
- package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseRange.js +0 -14
- package/dist/node_modules/lodash/_baseRange.js.map +0 -1
- package/dist/node_modules/lodash/_baseRest.js +0 -16
- package/dist/node_modules/lodash/_baseRest.js.map +0 -1
- package/dist/node_modules/lodash/_baseSetToString.js +0 -20
- package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseSlice.js +0 -15
- package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
- package/dist/node_modules/lodash/_baseSome.js +0 -17
- package/dist/node_modules/lodash/_baseSome.js.map +0 -1
- package/dist/node_modules/lodash/_baseSortBy.js +0 -14
- package/dist/node_modules/lodash/_baseSortBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseTimes.js +0 -13
- package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
- package/dist/node_modules/lodash/_baseToString.js +0 -21
- package/dist/node_modules/lodash/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseTrim.js +0 -14
- package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnary.js +0 -14
- package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
- package/dist/node_modules/lodash/_baseUniq.js +0 -33
- package/dist/node_modules/lodash/_baseUniq.js.map +0 -1
- package/dist/node_modules/lodash/_cacheHas.js +0 -12
- package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_castPath.js +0 -17
- package/dist/node_modules/lodash/_castPath.js.map +0 -1
- package/dist/node_modules/lodash/_castSlice.js +0 -15
- package/dist/node_modules/lodash/_castSlice.js.map +0 -1
- package/dist/node_modules/lodash/_compareAscending.js +0 -19
- package/dist/node_modules/lodash/_compareAscending.js.map +0 -1
- package/dist/node_modules/lodash/_compareMultiple.js +0 -18
- package/dist/node_modules/lodash/_compareMultiple.js.map +0 -1
- package/dist/node_modules/lodash/_coreJsData.js +0 -10
- package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseEach.js +0 -19
- package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseFor.js +0 -18
- package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +0 -21
- package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
- package/dist/node_modules/lodash/_createFind.js +0 -26
- package/dist/node_modules/lodash/_createFind.js.map +0 -1
- package/dist/node_modules/lodash/_createRange.js +0 -18
- package/dist/node_modules/lodash/_createRange.js.map +0 -1
- package/dist/node_modules/lodash/_createSet.js +0 -15
- package/dist/node_modules/lodash/_createSet.js.map +0 -1
- package/dist/node_modules/lodash/_defineProperty.js +0 -16
- package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
- package/dist/node_modules/lodash/_equalArrays.js +0 -41
- package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
- package/dist/node_modules/lodash/_equalByTag.js +0 -41
- package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
- package/dist/node_modules/lodash/_equalObjects.js +0 -38
- package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
- package/dist/node_modules/lodash/_freeGlobal.js +0 -9
- package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeys.js +0 -16
- package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_getMapData.js +0 -15
- package/dist/node_modules/lodash/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash/_getMatchData.js +0 -23
- package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
- package/dist/node_modules/lodash/_getNative.js +0 -16
- package/dist/node_modules/lodash/_getNative.js.map +0 -1
- package/dist/node_modules/lodash/_getPrototype.js +0 -10
- package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_getRawTag.js +0 -20
- package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbols.js +0 -16
- package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
- package/dist/node_modules/lodash/_getTag.js +0 -27
- package/dist/node_modules/lodash/_getTag.js.map +0 -1
- package/dist/node_modules/lodash/_getValue.js +0 -12
- package/dist/node_modules/lodash/_getValue.js.map +0 -1
- package/dist/node_modules/lodash/_hasPath.js +0 -25
- package/dist/node_modules/lodash/_hasPath.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicode.js +0 -13
- package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
- package/dist/node_modules/lodash/_hashClear.js +0 -14
- package/dist/node_modules/lodash/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash/_hashDelete.js +0 -13
- package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash/_hashGet.js +0 -19
- package/dist/node_modules/lodash/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash/_hashHas.js +0 -15
- package/dist/node_modules/lodash/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash/_hashSet.js +0 -15
- package/dist/node_modules/lodash/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash/_isFlattenable.js +0 -16
- package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
- package/dist/node_modules/lodash/_isIndex.js +0 -14
- package/dist/node_modules/lodash/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -19
- package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash/_isKey.js +0 -17
- package/dist/node_modules/lodash/_isKey.js.map +0 -1
- package/dist/node_modules/lodash/_isKeyable.js +0 -13
- package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash/_isMasked.js +0 -17
- package/dist/node_modules/lodash/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash/_isPrototype.js +0 -14
- package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -14
- package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheClear.js +0 -12
- package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -15
- package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheGet.js +0 -15
- package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheHas.js +0 -14
- package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheSet.js +0 -15
- package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -20
- package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -15
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -14
- package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -14
- package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -15
- package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapToArray.js +0 -15
- package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -14
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -17
- package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash/_nativeCreate.js +0 -10
- package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeys.js +0 -10
- package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_nodeUtil.js +0 -15
- package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/dist/node_modules/lodash/_objectToString.js +0 -13
- package/dist/node_modules/lodash/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash/_overArg.js +0 -14
- package/dist/node_modules/lodash/_overArg.js.map +0 -1
- package/dist/node_modules/lodash/_overRest.js +0 -19
- package/dist/node_modules/lodash/_overRest.js.map +0 -1
- package/dist/node_modules/lodash/_root.js +0 -11
- package/dist/node_modules/lodash/_root.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -12
- package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheHas.js +0 -12
- package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_setToArray.js +0 -15
- package/dist/node_modules/lodash/_setToArray.js.map +0 -1
- package/dist/node_modules/lodash/_setToString.js +0 -12
- package/dist/node_modules/lodash/_setToString.js.map +0 -1
- package/dist/node_modules/lodash/_shortOut.js +0 -20
- package/dist/node_modules/lodash/_shortOut.js.map +0 -1
- package/dist/node_modules/lodash/_stackClear.js +0 -14
- package/dist/node_modules/lodash/_stackClear.js.map +0 -1
- package/dist/node_modules/lodash/_stackDelete.js +0 -13
- package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
- package/dist/node_modules/lodash/_stackGet.js +0 -12
- package/dist/node_modules/lodash/_stackGet.js.map +0 -1
- package/dist/node_modules/lodash/_stackHas.js +0 -12
- package/dist/node_modules/lodash/_stackHas.js.map +0 -1
- package/dist/node_modules/lodash/_stackSet.js +0 -22
- package/dist/node_modules/lodash/_stackSet.js.map +0 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +0 -13
- package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_stringToArray.js +0 -16
- package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
- package/dist/node_modules/lodash/_stringToPath.js +0 -16
- package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash/_toKey.js +0 -16
- package/dist/node_modules/lodash/_toKey.js.map +0 -1
- package/dist/node_modules/lodash/_toSource.js +0 -21
- package/dist/node_modules/lodash/_toSource.js.map +0 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -14
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +0 -23
- package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
- package/dist/node_modules/lodash/constant.js +0 -14
- package/dist/node_modules/lodash/constant.js.map +0 -1
- package/dist/node_modules/lodash/debounce.js +0 -56
- package/dist/node_modules/lodash/debounce.js.map +0 -1
- package/dist/node_modules/lodash/eq.js +0 -12
- package/dist/node_modules/lodash/eq.js.map +0 -1
- package/dist/node_modules/lodash/every.js +0 -19
- package/dist/node_modules/lodash/every.js.map +0 -1
- package/dist/node_modules/lodash/find.js +0 -11
- package/dist/node_modules/lodash/find.js.map +0 -1
- package/dist/node_modules/lodash/findIndex.js +0 -19
- package/dist/node_modules/lodash/findIndex.js.map +0 -1
- package/dist/node_modules/lodash/flatMap.js +0 -15
- package/dist/node_modules/lodash/flatMap.js.map +0 -1
- package/dist/node_modules/lodash/get.js +0 -15
- package/dist/node_modules/lodash/get.js.map +0 -1
- package/dist/node_modules/lodash/hasIn.js +0 -15
- package/dist/node_modules/lodash/hasIn.js.map +0 -1
- package/dist/node_modules/lodash/identity.js +0 -12
- package/dist/node_modules/lodash/identity.js.map +0 -1
- package/dist/node_modules/lodash/isArguments.js +0 -16
- package/dist/node_modules/lodash/isArguments.js.map +0 -1
- package/dist/node_modules/lodash/isArray.js +0 -9
- package/dist/node_modules/lodash/isArray.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLike.js +0 -15
- package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash/isBoolean.js +0 -15
- package/dist/node_modules/lodash/isBoolean.js.map +0 -1
- package/dist/node_modules/lodash/isBuffer.js +0 -12
- package/dist/node_modules/lodash/isBuffer.js.map +0 -1
- package/dist/node_modules/lodash/isEqual.js +0 -14
- package/dist/node_modules/lodash/isEqual.js.map +0 -1
- package/dist/node_modules/lodash/isFunction.js +0 -17
- package/dist/node_modules/lodash/isFunction.js.map +0 -1
- package/dist/node_modules/lodash/isLength.js +0 -12
- package/dist/node_modules/lodash/isLength.js.map +0 -1
- package/dist/node_modules/lodash/isNaN.js +0 -14
- package/dist/node_modules/lodash/isNaN.js.map +0 -1
- package/dist/node_modules/lodash/isNil.js +0 -12
- package/dist/node_modules/lodash/isNil.js.map +0 -1
- package/dist/node_modules/lodash/isNumber.js +0 -15
- package/dist/node_modules/lodash/isNumber.js.map +0 -1
- package/dist/node_modules/lodash/isObject.js +0 -13
- package/dist/node_modules/lodash/isObject.js.map +0 -1
- package/dist/node_modules/lodash/isObjectLike.js +0 -12
- package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash/isPlainObject.js +0 -20
- package/dist/node_modules/lodash/isPlainObject.js.map +0 -1
- package/dist/node_modules/lodash/isString.js +0 -16
- package/dist/node_modules/lodash/isString.js.map +0 -1
- package/dist/node_modules/lodash/isSymbol.js +0 -15
- package/dist/node_modules/lodash/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash/isTypedArray.js +0 -13
- package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/keys.js +0 -16
- package/dist/node_modules/lodash/keys.js.map +0 -1
- package/dist/node_modules/lodash/last.js +0 -13
- package/dist/node_modules/lodash/last.js.map +0 -1
- package/dist/node_modules/lodash/map.js +0 -17
- package/dist/node_modules/lodash/map.js.map +0 -1
- package/dist/node_modules/lodash/mapValues.js +0 -19
- package/dist/node_modules/lodash/mapValues.js.map +0 -1
- package/dist/node_modules/lodash/max.js +0 -16
- package/dist/node_modules/lodash/max.js.map +0 -1
- package/dist/node_modules/lodash/memoize.js +0 -21
- package/dist/node_modules/lodash/memoize.js.map +0 -1
- package/dist/node_modules/lodash/min.js +0 -16
- package/dist/node_modules/lodash/min.js.map +0 -1
- package/dist/node_modules/lodash/noop.js +0 -10
- package/dist/node_modules/lodash/noop.js.map +0 -1
- package/dist/node_modules/lodash/now.js +0 -13
- package/dist/node_modules/lodash/now.js.map +0 -1
- package/dist/node_modules/lodash/property.js +0 -17
- package/dist/node_modules/lodash/property.js.map +0 -1
- package/dist/node_modules/lodash/range.js +0 -10
- package/dist/node_modules/lodash/range.js.map +0 -1
- package/dist/node_modules/lodash/some.js +0 -19
- package/dist/node_modules/lodash/some.js.map +0 -1
- package/dist/node_modules/lodash/sortBy.js +0 -18
- package/dist/node_modules/lodash/sortBy.js.map +0 -1
- package/dist/node_modules/lodash/stubArray.js +0 -12
- package/dist/node_modules/lodash/stubArray.js.map +0 -1
- package/dist/node_modules/lodash/stubFalse.js +0 -12
- package/dist/node_modules/lodash/stubFalse.js.map +0 -1
- package/dist/node_modules/lodash/throttle.js +0 -21
- package/dist/node_modules/lodash/throttle.js.map +0 -1
- package/dist/node_modules/lodash/toFinite.js +0 -14
- package/dist/node_modules/lodash/toFinite.js.map +0 -1
- package/dist/node_modules/lodash/toInteger.js +0 -15
- package/dist/node_modules/lodash/toInteger.js.map +0 -1
- package/dist/node_modules/lodash/toNumber.js +0 -25
- package/dist/node_modules/lodash/toNumber.js.map +0 -1
- package/dist/node_modules/lodash/toString.js +0 -14
- package/dist/node_modules/lodash/toString.js.map +0 -1
- package/dist/node_modules/lodash/uniqBy.js +0 -15
- package/dist/node_modules/lodash/uniqBy.js.map +0 -1
- package/dist/node_modules/lodash/upperFirst.js +0 -10
- package/dist/node_modules/lodash/upperFirst.js.map +0 -1
- package/dist/node_modules/object-assign/index.js +0 -40
- package/dist/node_modules/object-assign/index.js.map +0 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -45
- package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -48
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -272
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/dist/node_modules/prop-types/index.js +0 -15
- package/dist/node_modules/prop-types/index.js.map +0 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -9
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/node_modules/prop-types/lib/has.js +0 -9
- package/dist/node_modules/prop-types/lib/has.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -83
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -63
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -11
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -86
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -64
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/react-is/index.js +0 -11
- package/dist/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +0 -366
- package/dist/node_modules/react-smooth/es6/Animate.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -70
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -172
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/easing.js +0 -151
- package/dist/node_modules/react-smooth/es6/easing.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/index.js +0 -8
- package/dist/node_modules/react-smooth/es6/index.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -13
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +0 -1
- package/dist/node_modules/react-smooth/es6/util.js +0 -93
- package/dist/node_modules/react-smooth/es6/util.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -434
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -386
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -498
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -331
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -304
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -242
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -472
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -172
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -177
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -253
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js +0 -367
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -143
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -142
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +0 -102
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -17
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -120
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -98
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/BarChart.js +0 -23
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +0 -37
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -1246
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Cell.js +0 -8
- package/dist/node_modules/recharts/es6/component/Cell.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Cursor.js +0 -92
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -236
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -170
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Label.js +0 -352
- package/dist/node_modules/recharts/es6/component/Label.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/LabelList.js +0 -165
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Legend.js +0 -237
- package/dist/node_modules/recharts/es6/component/Legend.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -186
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Text.js +0 -222
- package/dist/node_modules/recharts/es6/component/Text.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -181
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +0 -1
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -197
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
- package/dist/node_modules/recharts/es6/container/Layer.js +0 -39
- package/dist/node_modules/recharts/es6/container/Layer.js.map +0 -1
- package/dist/node_modules/recharts/es6/container/Surface.js +0 -59
- package/dist/node_modules/recharts/es6/container/Surface.js.map +0 -1
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -57
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Cross.js +0 -111
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +0 -125
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +0 -26
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -204
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Sector.js +0 -191
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -135
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +0 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -174
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -180
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -111
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -233
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -557
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -69
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -107
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -66
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -57
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/Events.js +0 -6
- package/dist/node_modules/recharts/es6/util/Events.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -20
- package/dist/node_modules/recharts/es6/util/Global.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -8
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -16
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -115
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -136
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -180
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js +0 -47
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -9
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -31
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -24
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -24
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -15
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -16
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -11
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -87
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -12
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -11
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -86
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +0 -1
- package/dist/node_modules/recharts/es6/util/types.js +0 -42
- package/dist/node_modules/recharts/es6/util/types.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -131
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/index.js +0 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -31
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +0 -1
- package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -78
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1778
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -12
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
- package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -36
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +0 -1
|
@@ -1,38 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { useTr as ge } from "../hooks/useTr.js";
|
|
23
|
-
import "../context/index.js";
|
|
24
|
-
import "../hooks/index.js";
|
|
25
|
-
import { formatCo2e as h, formatEnumLabel as _e, formatNumber as g, formatPercent as ve, formatRelativeTime as _ } from "../utils/formatters.js";
|
|
26
|
-
import { useMemo as v, useState as ye } from "react";
|
|
27
|
-
import { ArrowRight as y, Binoculars as b, Factory as x, LayoutGrid as be, MapPin as xe, PawPrint as Se, Radio as Ce, ShieldCheck as we, StickyNote as Te, Trees as Ee, TriangleAlert as De } from "lucide-react";
|
|
28
|
-
import { Fragment as Oe, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
29
|
-
import { Button as w, GlassCard as T } from "@burdenoff/fe-libs/ui";
|
|
1
|
+
import { PageLayout as e } from "../components/PageLayout.js";
|
|
2
|
+
import { MetricsCard as t } from "../components/MetricsCard.js";
|
|
3
|
+
import { StatusBadge as n } from "../components/StatusBadge.js";
|
|
4
|
+
import { MiniBar as r } from "../components/MiniBar.js";
|
|
5
|
+
import { LoadingView as i, Section as a } from "../components/StateViews.js";
|
|
6
|
+
import { EmptyState as o } from "../components/EmptyState.js";
|
|
7
|
+
import { DashboardCustomizerDialog as ee } from "../components/DashboardCustomizerDialog.js";
|
|
8
|
+
import { AiInsightsPanel as s } from "../components/AiInsightsPanel.js";
|
|
9
|
+
import { Meter as te, SCOPE_HUE as c, ScopeLegend as l, ScopeSplitBar as u } from "./carbonVisuals.js";
|
|
10
|
+
import { useEcoImpactHub as ne } from "../context/EcoImpactHubContext.js";
|
|
11
|
+
import { useEcoCarbonTotals as d, useEcoHabitatProjectCounts as re, useEcoMeasurements as ie, useEcoObservations as ae, useEcoSensorCounts as oe, useEcoSiteCounts as se, useEcoSpeciesCounts as ce } from "../hooks/useEcoImpactHubApi.js";
|
|
12
|
+
import { useEcoAiDashboardInsights as le } from "../hooks/useEcoPlatformModulesApi.js";
|
|
13
|
+
import { useDashboardLayout as ue } from "../hooks/useDashboardLayout.js";
|
|
14
|
+
import { useTr as de } from "../hooks/useTr.js";
|
|
15
|
+
import { formatCo2e as f, formatEnumLabel as fe, formatNumber as p, formatPercent as pe, formatRelativeTime as m } from "../utils/formatters.js";
|
|
16
|
+
import { conservationStatusRows as me, projectKpis as he, sensorKpis as ge, shareOf as h, siteKpis as _e, speciesKpis as ve } from "./dashboardKpis.js";
|
|
17
|
+
import { useMemo as ye, useState as be } from "react";
|
|
18
|
+
import { ArrowRight as g, Binoculars as _, Factory as v, LayoutGrid as xe, MapPin as Se, PawPrint as Ce, Radio as we, ShieldCheck as y, StickyNote as b, Trees as x, TriangleAlert as S } from "lucide-react";
|
|
19
|
+
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
20
|
+
import { Button as E, GlassCard as D } from "@burdenoff/fe-libs/ui";
|
|
21
|
+
import { Bar as O, BarChart as k, CartesianGrid as Te, Cell as Ee, LabelList as De, ResponsiveContainer as Oe, Tooltip as ke, XAxis as Ae, YAxis as je } from "recharts";
|
|
30
22
|
// src/ecoimpacthub/pages/DashboardPage.tsx
|
|
31
|
-
var
|
|
32
|
-
"PLANNED",
|
|
33
|
-
"IN_PROGRESS",
|
|
34
|
-
"MONITORING"
|
|
35
|
-
]), Ae = {
|
|
23
|
+
var Me = {
|
|
36
24
|
LEAST_CONCERN: "var(--color-status-success-text)",
|
|
37
25
|
NEAR_THREATENED: "var(--color-accent-teal)",
|
|
38
26
|
VULNERABLE: "var(--color-status-warning-text)",
|
|
@@ -42,32 +30,20 @@ var ke = /* @__PURE__ */ new Set([
|
|
|
42
30
|
DATA_DEFICIENT: "var(--color-text-tertiary)",
|
|
43
31
|
NOT_EVALUATED: "var(--color-text-tertiary)"
|
|
44
32
|
};
|
|
45
|
-
function
|
|
46
|
-
let
|
|
47
|
-
limit: 100,
|
|
48
|
-
offset: 0
|
|
49
|
-
} }), M = he({ pagination: {
|
|
50
|
-
limit: 100,
|
|
51
|
-
offset: 0
|
|
52
|
-
} }), N = ue(), P = le(), F = de({
|
|
33
|
+
function A() {
|
|
34
|
+
let A = de(), { navigateTo: j, currentUser: M, workspaceId: Ne } = ne(), [Pe, N] = be(!1), P = ue(Ne, M?.id), F = se(), I = ce(), L = re(), Fe = oe(), R = d(), z = ie({
|
|
53
35
|
breachesOnly: !0,
|
|
54
36
|
pagination: {
|
|
55
37
|
limit: 6,
|
|
56
38
|
offset: 0
|
|
57
39
|
}
|
|
58
|
-
}),
|
|
40
|
+
}), Ie = ae({ pagination: {
|
|
59
41
|
limit: 6,
|
|
60
42
|
offset: 0
|
|
61
|
-
} })
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
].includes(e.conservationStatus)).length, H = R.filter((e) => ke.has(e.status)).length, U = z.filter((e) => e.status === "ONLINE").length, W = z.filter((e) => [
|
|
66
|
-
"OFFLINE",
|
|
67
|
-
"DEGRADED",
|
|
68
|
-
"MAINTENANCE"
|
|
69
|
-
].includes(e.status)).length, G = v(() => {
|
|
70
|
-
let e = P.data;
|
|
43
|
+
} });
|
|
44
|
+
le(365, 3, { enabled: P.isWidgetVisible("aiInsights") });
|
|
45
|
+
let B = _e(F.data), V = ve(I.data), H = he(L.data), U = ge(Fe.data), W = ye(() => {
|
|
46
|
+
let e = R.data;
|
|
71
47
|
return e ? [
|
|
72
48
|
{
|
|
73
49
|
scope: "SCOPE_1",
|
|
@@ -85,199 +61,199 @@ function E() {
|
|
|
85
61
|
kg: e.scope3
|
|
86
62
|
}
|
|
87
63
|
] : [];
|
|
88
|
-
}, [
|
|
64
|
+
}, [R.data]), Le = F.isLoading && I.isLoading && L.isLoading && R.isLoading, G = /* @__PURE__ */ T(E, {
|
|
89
65
|
type: "button",
|
|
90
66
|
variant: "outline",
|
|
91
67
|
size: "sm",
|
|
92
|
-
onClick: () =>
|
|
93
|
-
children: [/* @__PURE__ */
|
|
68
|
+
onClick: () => N(!0),
|
|
69
|
+
children: [/* @__PURE__ */ w(xe, { className: "me-1.5 h-3.5 w-3.5" }), A("ecoDashboard.customize", "Customize dashboard")]
|
|
94
70
|
});
|
|
95
|
-
if (
|
|
96
|
-
title:
|
|
71
|
+
if (Le) return /* @__PURE__ */ w(e, {
|
|
72
|
+
title: A("ecoDashboard.title", "EcoImpactHub"),
|
|
97
73
|
titleGradient: !0,
|
|
98
74
|
aurora: !0,
|
|
99
|
-
actions:
|
|
100
|
-
children: /* @__PURE__ */
|
|
75
|
+
actions: G,
|
|
76
|
+
children: /* @__PURE__ */ w(i, { label: A("ecoDashboard.loading", "Loading your impact overview…") })
|
|
101
77
|
});
|
|
102
|
-
let
|
|
78
|
+
let Re = M?.firstName || M?.name || "there", K = z.data?.items ?? [], q = Ie.data?.items ?? [], ze = /* @__PURE__ */ T("div", {
|
|
103
79
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6",
|
|
104
80
|
children: [
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
icon: /* @__PURE__ */
|
|
107
|
-
value:
|
|
108
|
-
label:
|
|
109
|
-
footer: /* @__PURE__ */
|
|
81
|
+
/* @__PURE__ */ w(t, {
|
|
82
|
+
icon: /* @__PURE__ */ w(Se, { className: "h-5 w-5" }),
|
|
83
|
+
value: p(B.total),
|
|
84
|
+
label: A("ecoDashboard.kpis.monitoredSites", "Monitored sites"),
|
|
85
|
+
footer: /* @__PURE__ */ T("div", {
|
|
110
86
|
className: "space-y-2",
|
|
111
|
-
children: [/* @__PURE__ */
|
|
112
|
-
value:
|
|
87
|
+
children: [/* @__PURE__ */ w(r, {
|
|
88
|
+
value: h(B.active, B.total),
|
|
113
89
|
height: 4,
|
|
114
90
|
barClassName: "bg-action-primary-bg"
|
|
115
|
-
}), /* @__PURE__ */
|
|
91
|
+
}), /* @__PURE__ */ T("p", {
|
|
116
92
|
className: "text-xs text-text-tertiary",
|
|
117
93
|
children: [
|
|
118
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ w("span", {
|
|
119
95
|
className: "tabular-nums text-text-secondary",
|
|
120
|
-
children: B
|
|
96
|
+
children: p(B.active)
|
|
121
97
|
}),
|
|
122
98
|
" ",
|
|
123
|
-
|
|
99
|
+
A("ecoDashboard.kpis.active", "active")
|
|
124
100
|
]
|
|
125
101
|
})]
|
|
126
102
|
})
|
|
127
103
|
}),
|
|
128
|
-
/* @__PURE__ */
|
|
129
|
-
icon: /* @__PURE__ */
|
|
130
|
-
value:
|
|
131
|
-
label:
|
|
132
|
-
accent: V > 0 ? "warning" : void 0,
|
|
133
|
-
footer: /* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ w(t, {
|
|
105
|
+
icon: /* @__PURE__ */ w(Ce, { className: "h-5 w-5" }),
|
|
106
|
+
value: p(V.total),
|
|
107
|
+
label: A("ecoDashboard.kpis.speciesTracked", "Species tracked"),
|
|
108
|
+
accent: V.threatened > 0 ? "warning" : void 0,
|
|
109
|
+
footer: /* @__PURE__ */ T("div", {
|
|
134
110
|
className: "space-y-2",
|
|
135
|
-
children: [/* @__PURE__ */
|
|
136
|
-
value:
|
|
111
|
+
children: [/* @__PURE__ */ w(r, {
|
|
112
|
+
value: h(V.threatened, V.total),
|
|
137
113
|
height: 4,
|
|
138
114
|
barClassName: "bg-status-warning-text"
|
|
139
|
-
}), /* @__PURE__ */
|
|
115
|
+
}), /* @__PURE__ */ T("p", {
|
|
140
116
|
className: "text-xs text-text-tertiary",
|
|
141
117
|
children: [
|
|
142
|
-
/* @__PURE__ */
|
|
118
|
+
/* @__PURE__ */ w("span", {
|
|
143
119
|
className: "tabular-nums text-text-secondary",
|
|
144
|
-
children:
|
|
120
|
+
children: p(V.priority)
|
|
145
121
|
}),
|
|
146
122
|
" ",
|
|
147
|
-
|
|
123
|
+
A("ecoDashboard.kpis.priority", "priority"),
|
|
148
124
|
" ·",
|
|
149
125
|
" ",
|
|
150
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ w("span", {
|
|
151
127
|
className: "tabular-nums text-text-secondary",
|
|
152
|
-
children: V
|
|
128
|
+
children: p(V.threatened)
|
|
153
129
|
}),
|
|
154
130
|
" ",
|
|
155
|
-
|
|
131
|
+
A("ecoDashboard.kpis.threatened", "threatened")
|
|
156
132
|
]
|
|
157
133
|
})]
|
|
158
134
|
})
|
|
159
135
|
}),
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
icon: /* @__PURE__ */
|
|
162
|
-
value:
|
|
163
|
-
label:
|
|
164
|
-
footer: /* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ w(t, {
|
|
137
|
+
icon: /* @__PURE__ */ w(x, { className: "h-5 w-5" }),
|
|
138
|
+
value: p(H.active),
|
|
139
|
+
label: A("ecoDashboard.kpis.activeHabitatProjects", "Active habitat projects"),
|
|
140
|
+
footer: /* @__PURE__ */ T("div", {
|
|
165
141
|
className: "space-y-2",
|
|
166
|
-
children: [/* @__PURE__ */
|
|
167
|
-
value:
|
|
142
|
+
children: [/* @__PURE__ */ w(r, {
|
|
143
|
+
value: h(H.active, H.total),
|
|
168
144
|
height: 4,
|
|
169
145
|
barClassName: "bg-action-primary-bg"
|
|
170
|
-
}), /* @__PURE__ */
|
|
146
|
+
}), /* @__PURE__ */ T("p", {
|
|
171
147
|
className: "text-xs text-text-tertiary",
|
|
172
148
|
children: [
|
|
173
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ w("span", {
|
|
174
150
|
className: "tabular-nums text-text-secondary",
|
|
175
|
-
children:
|
|
151
|
+
children: p(H.total)
|
|
176
152
|
}),
|
|
177
153
|
" ",
|
|
178
|
-
|
|
154
|
+
A("ecoDashboard.kpis.total", "total")
|
|
179
155
|
]
|
|
180
156
|
})]
|
|
181
157
|
})
|
|
182
158
|
}),
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
icon: /* @__PURE__ */
|
|
185
|
-
value:
|
|
186
|
-
label:
|
|
159
|
+
/* @__PURE__ */ w(t, {
|
|
160
|
+
icon: /* @__PURE__ */ w(v, { className: "h-5 w-5" }),
|
|
161
|
+
value: R.data ? f(R.data.total) : "—",
|
|
162
|
+
label: A("ecoDashboard.kpis.totalFootprint", "Total footprint"),
|
|
187
163
|
featured: !0,
|
|
188
|
-
footer:
|
|
164
|
+
footer: R.data && R.data.total > 0 ? /* @__PURE__ */ T("div", {
|
|
189
165
|
className: "space-y-2",
|
|
190
|
-
children: [/* @__PURE__ */
|
|
191
|
-
scope1:
|
|
192
|
-
scope2:
|
|
193
|
-
scope3:
|
|
166
|
+
children: [/* @__PURE__ */ w(u, {
|
|
167
|
+
scope1: R.data.scope1,
|
|
168
|
+
scope2: R.data.scope2,
|
|
169
|
+
scope3: R.data.scope3,
|
|
194
170
|
height: 6
|
|
195
|
-
}), /* @__PURE__ */
|
|
171
|
+
}), /* @__PURE__ */ w("p", {
|
|
196
172
|
className: "text-xs text-text-tertiary",
|
|
197
|
-
children:
|
|
173
|
+
children: A("ecoDashboard.kpis.scopeSplit", "Scope 1 · 2 · 3 split")
|
|
198
174
|
})]
|
|
199
175
|
}) : void 0
|
|
200
176
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
-
icon: /* @__PURE__ */
|
|
203
|
-
value:
|
|
204
|
-
label:
|
|
205
|
-
accent:
|
|
206
|
-
footer: /* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ w(t, {
|
|
178
|
+
icon: /* @__PURE__ */ w(we, { className: "h-5 w-5" }),
|
|
179
|
+
value: p(U.online),
|
|
180
|
+
label: A("ecoDashboard.kpis.sensorsOnline", "Sensors online"),
|
|
181
|
+
accent: U.needAttention > 0 ? "warning" : "success",
|
|
182
|
+
footer: /* @__PURE__ */ T("div", {
|
|
207
183
|
className: "space-y-2",
|
|
208
|
-
children: [/* @__PURE__ */
|
|
209
|
-
value:
|
|
184
|
+
children: [/* @__PURE__ */ w(r, {
|
|
185
|
+
value: h(U.online, U.total),
|
|
210
186
|
height: 4,
|
|
211
187
|
barClassName: "bg-status-success-text"
|
|
212
|
-
}), /* @__PURE__ */
|
|
188
|
+
}), /* @__PURE__ */ T("p", {
|
|
213
189
|
className: "text-xs text-text-tertiary",
|
|
214
190
|
children: [
|
|
215
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ w("span", {
|
|
216
192
|
className: "tabular-nums text-text-secondary",
|
|
217
|
-
children:
|
|
193
|
+
children: p(U.needAttention)
|
|
218
194
|
}),
|
|
219
195
|
" ",
|
|
220
|
-
|
|
196
|
+
A("ecoDashboard.kpis.needAttention", "need attention")
|
|
221
197
|
]
|
|
222
198
|
})]
|
|
223
199
|
})
|
|
224
200
|
}),
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
icon: /* @__PURE__ */ S
|
|
227
|
-
value:
|
|
228
|
-
label:
|
|
229
|
-
accent:
|
|
230
|
-
footer: /* @__PURE__ */
|
|
231
|
-
className:
|
|
232
|
-
children:
|
|
201
|
+
/* @__PURE__ */ w(t, {
|
|
202
|
+
icon: /* @__PURE__ */ w(S, { className: "h-5 w-5" }),
|
|
203
|
+
value: z.data?.pageInfo?.hasMore ? `${K.length}+` : p(K.length),
|
|
204
|
+
label: A("ecoDashboard.kpis.openBreaches", "Open breaches"),
|
|
205
|
+
accent: K.length > 0 ? "error" : "success",
|
|
206
|
+
footer: /* @__PURE__ */ w("p", {
|
|
207
|
+
className: K.length > 0 ? "text-xs font-medium text-status-error-text" : "text-xs text-text-tertiary",
|
|
208
|
+
children: K.length > 0 ? A("ecoDashboard.kpis.needsAttention", "Needs attention") : A("ecoDashboard.kpis.allParametersInRange", "All parameters in range")
|
|
233
209
|
})
|
|
234
210
|
})
|
|
235
211
|
]
|
|
236
|
-
}),
|
|
212
|
+
}), J = /* @__PURE__ */ T(D, {
|
|
237
213
|
treatment: "glass",
|
|
238
214
|
className: "p-6 h-full",
|
|
239
|
-
children: [/* @__PURE__ */
|
|
215
|
+
children: [/* @__PURE__ */ T("div", {
|
|
240
216
|
className: "mb-4 flex flex-wrap items-start justify-between gap-3",
|
|
241
|
-
children: [/* @__PURE__ */
|
|
217
|
+
children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h2", {
|
|
242
218
|
className: "text-base font-semibold text-text-primary",
|
|
243
|
-
children:
|
|
244
|
-
}), /* @__PURE__ */
|
|
219
|
+
children: A("ecoDashboard.carbonByScope.title", "Carbon footprint by scope")
|
|
220
|
+
}), /* @__PURE__ */ w("p", {
|
|
245
221
|
className: "mt-0.5 text-sm text-text-secondary",
|
|
246
|
-
children:
|
|
247
|
-
})] }), /* @__PURE__ */
|
|
222
|
+
children: A("ecoDashboard.carbonByScope.description", "GHG Protocol Scope 1 / 2 / 3 emissions (CO₂e).")
|
|
223
|
+
})] }), /* @__PURE__ */ T("div", {
|
|
248
224
|
className: "flex items-center gap-4",
|
|
249
|
-
children: [
|
|
225
|
+
children: [R.data && R.data.total > 0 && /* @__PURE__ */ T("div", {
|
|
250
226
|
className: "text-end",
|
|
251
|
-
children: [/* @__PURE__ */
|
|
227
|
+
children: [/* @__PURE__ */ w("p", {
|
|
252
228
|
className: "text-lg font-semibold tabular-nums text-text-primary",
|
|
253
|
-
children:
|
|
254
|
-
}), /* @__PURE__ */
|
|
229
|
+
children: f(R.data.total)
|
|
230
|
+
}), /* @__PURE__ */ w("p", {
|
|
255
231
|
className: "text-xs text-text-tertiary",
|
|
256
|
-
children:
|
|
232
|
+
children: A("ecoDashboard.carbonByScope.total", "total")
|
|
257
233
|
})]
|
|
258
|
-
}), /* @__PURE__ */
|
|
234
|
+
}), /* @__PURE__ */ T("button", {
|
|
259
235
|
type: "button",
|
|
260
|
-
onClick: () =>
|
|
236
|
+
onClick: () => j("carbon"),
|
|
261
237
|
className: "inline-flex items-center gap-1 text-sm font-medium text-action-primary-bg hover:underline",
|
|
262
238
|
children: [
|
|
263
|
-
|
|
239
|
+
A("ecoDashboard.carbonByScope.ledger", "Ledger"),
|
|
264
240
|
" ",
|
|
265
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ w(g, { className: "h-4 w-4" })
|
|
266
242
|
]
|
|
267
243
|
})]
|
|
268
244
|
})]
|
|
269
|
-
}),
|
|
245
|
+
}), W.every((e) => e.kg === 0) ? /* @__PURE__ */ w(o, {
|
|
270
246
|
illustration: "empty-data",
|
|
271
|
-
icon: /* @__PURE__ */
|
|
272
|
-
title:
|
|
273
|
-
description:
|
|
274
|
-
}) : /* @__PURE__ */ C
|
|
247
|
+
icon: /* @__PURE__ */ w(v, { className: "h-10 w-10" }),
|
|
248
|
+
title: A("ecoDashboard.carbonByScope.noDataTitle", "No carbon entries yet"),
|
|
249
|
+
description: A("ecoDashboard.carbonByScope.noDataDescription", "Record activity in the carbon ledger to see your Scope 1–3 footprint here.")
|
|
250
|
+
}) : /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("div", {
|
|
275
251
|
className: "h-56",
|
|
276
|
-
children: /* @__PURE__ */
|
|
252
|
+
children: /* @__PURE__ */ w(Oe, {
|
|
277
253
|
width: "100%",
|
|
278
254
|
height: "100%",
|
|
279
|
-
children: /* @__PURE__ */
|
|
280
|
-
data:
|
|
255
|
+
children: /* @__PURE__ */ T(k, {
|
|
256
|
+
data: W,
|
|
281
257
|
margin: {
|
|
282
258
|
top: 20,
|
|
283
259
|
right: 8,
|
|
@@ -285,33 +261,33 @@ function E() {
|
|
|
285
261
|
bottom: 0
|
|
286
262
|
},
|
|
287
263
|
children: [
|
|
288
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ w("defs", { children: W.map((e) => /* @__PURE__ */ T("linearGradient", {
|
|
289
265
|
id: `ecoScopeGrad-${e.scope}`,
|
|
290
266
|
x1: "0",
|
|
291
267
|
y1: "0",
|
|
292
268
|
x2: "0",
|
|
293
269
|
y2: "1",
|
|
294
|
-
children: [/* @__PURE__ */
|
|
270
|
+
children: [/* @__PURE__ */ w("stop", {
|
|
295
271
|
offset: "0%",
|
|
296
272
|
style: {
|
|
297
|
-
stopColor:
|
|
273
|
+
stopColor: c[e.scope],
|
|
298
274
|
stopOpacity: 1
|
|
299
275
|
}
|
|
300
|
-
}), /* @__PURE__ */
|
|
276
|
+
}), /* @__PURE__ */ w("stop", {
|
|
301
277
|
offset: "100%",
|
|
302
278
|
style: {
|
|
303
|
-
stopColor:
|
|
279
|
+
stopColor: c[e.scope],
|
|
304
280
|
stopOpacity: .55
|
|
305
281
|
}
|
|
306
282
|
})]
|
|
307
283
|
}, e.scope)) }),
|
|
308
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ w(Te, {
|
|
309
285
|
vertical: !1,
|
|
310
286
|
stroke: "var(--color-border-seam)",
|
|
311
287
|
strokeOpacity: .6,
|
|
312
288
|
strokeDasharray: "3 4"
|
|
313
289
|
}),
|
|
314
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ w(Ae, {
|
|
315
291
|
dataKey: "label",
|
|
316
292
|
tick: {
|
|
317
293
|
fill: "var(--color-text-secondary)",
|
|
@@ -321,7 +297,7 @@ function E() {
|
|
|
321
297
|
tickLine: !1,
|
|
322
298
|
dy: 4
|
|
323
299
|
}),
|
|
324
|
-
/* @__PURE__ */
|
|
300
|
+
/* @__PURE__ */ w(je, {
|
|
325
301
|
tick: {
|
|
326
302
|
fill: "var(--color-text-tertiary)",
|
|
327
303
|
fontSize: 11
|
|
@@ -331,7 +307,7 @@ function E() {
|
|
|
331
307
|
width: 48,
|
|
332
308
|
tickFormatter: (e) => e >= 1e3 ? `${Math.round(e / 1e3)}t` : `${e}`
|
|
333
309
|
}),
|
|
334
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ w(ke, {
|
|
335
311
|
cursor: {
|
|
336
312
|
fill: "var(--color-bg-sunken)",
|
|
337
313
|
opacity: .4
|
|
@@ -342,9 +318,9 @@ function E() {
|
|
|
342
318
|
borderRadius: 12,
|
|
343
319
|
color: "var(--color-text-primary)"
|
|
344
320
|
},
|
|
345
|
-
formatter: (e) => [
|
|
321
|
+
formatter: (e) => [f(e), A("ecoDashboard.carbonByScope.emissions", "Emissions")]
|
|
346
322
|
}),
|
|
347
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ T(O, {
|
|
348
324
|
dataKey: "kg",
|
|
349
325
|
radius: [
|
|
350
326
|
8,
|
|
@@ -353,10 +329,10 @@ function E() {
|
|
|
353
329
|
2
|
|
354
330
|
],
|
|
355
331
|
maxBarSize: 72,
|
|
356
|
-
children: [
|
|
332
|
+
children: [W.map((e) => /* @__PURE__ */ w(Ee, { fill: `url(#ecoScopeGrad-${e.scope})` }, e.scope)), /* @__PURE__ */ w(De, {
|
|
357
333
|
dataKey: "kg",
|
|
358
334
|
position: "top",
|
|
359
|
-
formatter: (e) => e > 0 ?
|
|
335
|
+
formatter: (e) => e > 0 ? f(e) : "",
|
|
360
336
|
style: {
|
|
361
337
|
fill: "var(--color-text-secondary)",
|
|
362
338
|
fontSize: 11,
|
|
@@ -367,232 +343,227 @@ function E() {
|
|
|
367
343
|
]
|
|
368
344
|
})
|
|
369
345
|
})
|
|
370
|
-
}), /* @__PURE__ */
|
|
371
|
-
data:
|
|
346
|
+
}), /* @__PURE__ */ w(l, {
|
|
347
|
+
data: W,
|
|
372
348
|
className: "mt-4 border-t border-border-seam pt-4"
|
|
373
349
|
})] })]
|
|
374
|
-
}),
|
|
350
|
+
}), Y = /* @__PURE__ */ T(D, {
|
|
375
351
|
treatment: "glass",
|
|
376
352
|
className: "p-6 h-full",
|
|
377
|
-
children: [/* @__PURE__ */
|
|
353
|
+
children: [/* @__PURE__ */ T("div", {
|
|
378
354
|
className: "mb-4 flex items-center justify-between gap-3",
|
|
379
|
-
children: [/* @__PURE__ */
|
|
355
|
+
children: [/* @__PURE__ */ T("div", {
|
|
380
356
|
className: "flex items-center gap-2",
|
|
381
|
-
children: [/* @__PURE__ */
|
|
357
|
+
children: [/* @__PURE__ */ w("h2", {
|
|
382
358
|
className: "text-base font-semibold text-text-primary",
|
|
383
|
-
children:
|
|
384
|
-
}),
|
|
359
|
+
children: A("ecoDashboard.recentBreaches.title", "Recent breaches")
|
|
360
|
+
}), K.length > 0 && /* @__PURE__ */ w("span", {
|
|
385
361
|
className: "rounded-full bg-status-error-bg-subtle px-2 py-0.5 text-xs font-medium tabular-nums text-status-error-text",
|
|
386
|
-
children:
|
|
362
|
+
children: z.data?.pageInfo?.hasMore ? `${K.length}+` : K.length
|
|
387
363
|
})]
|
|
388
|
-
}), /* @__PURE__ */
|
|
364
|
+
}), /* @__PURE__ */ T("button", {
|
|
389
365
|
type: "button",
|
|
390
|
-
onClick: () =>
|
|
366
|
+
onClick: () => j("monitoring"),
|
|
391
367
|
className: "inline-flex items-center gap-1 text-sm font-medium text-action-primary-bg hover:underline",
|
|
392
368
|
children: [
|
|
393
|
-
|
|
369
|
+
A("ecoDashboard.recentBreaches.monitoring", "Monitoring"),
|
|
394
370
|
" ",
|
|
395
|
-
/* @__PURE__ */
|
|
371
|
+
/* @__PURE__ */ w(g, { className: "h-4 w-4" })
|
|
396
372
|
]
|
|
397
373
|
})]
|
|
398
|
-
}),
|
|
374
|
+
}), K.length === 0 ? /* @__PURE__ */ T("div", {
|
|
399
375
|
className: "flex flex-col items-center justify-center rounded-xl border border-dashed border-border-seam py-10 text-center",
|
|
400
376
|
children: [
|
|
401
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ w("span", {
|
|
402
378
|
className: "flex size-12 items-center justify-center rounded-full bg-status-success-bg-subtle",
|
|
403
|
-
children: /* @__PURE__ */
|
|
379
|
+
children: /* @__PURE__ */ w(y, { className: "h-6 w-6 text-status-success-text" })
|
|
404
380
|
}),
|
|
405
|
-
/* @__PURE__ */
|
|
381
|
+
/* @__PURE__ */ w("p", {
|
|
406
382
|
className: "mt-3 text-sm font-medium text-text-primary",
|
|
407
|
-
children:
|
|
383
|
+
children: A("ecoDashboard.recentBreaches.noBreachesTitle", "All parameters in range")
|
|
408
384
|
}),
|
|
409
|
-
/* @__PURE__ */
|
|
385
|
+
/* @__PURE__ */ w("p", {
|
|
410
386
|
className: "mt-1 text-xs text-text-tertiary",
|
|
411
|
-
children:
|
|
387
|
+
children: A("ecoDashboard.recentBreaches.noBreachesDescription", "No open threshold breaches.")
|
|
412
388
|
})
|
|
413
389
|
]
|
|
414
|
-
}) : /* @__PURE__ */
|
|
390
|
+
}) : /* @__PURE__ */ w("ul", {
|
|
415
391
|
className: "space-y-2.5",
|
|
416
|
-
children:
|
|
392
|
+
children: K.map((e) => /* @__PURE__ */ T("li", {
|
|
417
393
|
className: "flex items-start justify-between gap-3 rounded-xl bg-bg-sunken/50 p-3",
|
|
418
|
-
children: [/* @__PURE__ */
|
|
394
|
+
children: [/* @__PURE__ */ T("div", {
|
|
419
395
|
className: "flex min-w-0 items-start gap-2.5",
|
|
420
|
-
children: [/* @__PURE__ */
|
|
396
|
+
children: [/* @__PURE__ */ w("span", {
|
|
421
397
|
"aria-hidden": "true",
|
|
422
398
|
className: "mt-1.5 size-2 shrink-0 rounded-full bg-status-error-text motion-safe:animate-vc-glow-pulse"
|
|
423
|
-
}), /* @__PURE__ */
|
|
399
|
+
}), /* @__PURE__ */ T("div", {
|
|
424
400
|
className: "min-w-0",
|
|
425
|
-
children: [/* @__PURE__ */
|
|
401
|
+
children: [/* @__PURE__ */ w("p", {
|
|
426
402
|
className: "truncate text-sm font-medium text-text-primary",
|
|
427
403
|
children: e.parameter
|
|
428
|
-
}), /* @__PURE__ */
|
|
404
|
+
}), /* @__PURE__ */ T("p", {
|
|
429
405
|
className: "text-xs text-text-tertiary",
|
|
430
406
|
children: [
|
|
431
|
-
/* @__PURE__ */
|
|
407
|
+
/* @__PURE__ */ T("span", {
|
|
432
408
|
className: "tabular-nums",
|
|
433
409
|
children: [
|
|
434
|
-
|
|
410
|
+
p(e.value),
|
|
435
411
|
" ",
|
|
436
412
|
e.unit
|
|
437
413
|
]
|
|
438
414
|
}),
|
|
439
415
|
" ",
|
|
440
416
|
"· ",
|
|
441
|
-
|
|
417
|
+
m(e.recordedAt)
|
|
442
418
|
]
|
|
443
419
|
})]
|
|
444
420
|
})]
|
|
445
|
-
}), /* @__PURE__ */
|
|
421
|
+
}), /* @__PURE__ */ w(n, { status: "BREACH" })]
|
|
446
422
|
}, e.id))
|
|
447
423
|
})]
|
|
448
|
-
}),
|
|
449
|
-
title:
|
|
450
|
-
description:
|
|
451
|
-
action: /* @__PURE__ */
|
|
424
|
+
}), Be = /* @__PURE__ */ w(a, {
|
|
425
|
+
title: A("ecoDashboard.recentObservations.title", "Recent field observations"),
|
|
426
|
+
description: A("ecoDashboard.recentObservations.description", "Latest wildlife & biodiversity sightings recorded across your sites."),
|
|
427
|
+
action: /* @__PURE__ */ T("button", {
|
|
452
428
|
type: "button",
|
|
453
|
-
onClick: () =>
|
|
429
|
+
onClick: () => j("observations"),
|
|
454
430
|
className: "inline-flex items-center gap-1 text-sm font-medium text-action-primary-bg hover:underline",
|
|
455
431
|
children: [
|
|
456
|
-
|
|
432
|
+
A("ecoDashboard.recentObservations.all", "All observations"),
|
|
457
433
|
" ",
|
|
458
|
-
/* @__PURE__ */
|
|
434
|
+
/* @__PURE__ */ w(g, { className: "h-4 w-4" })
|
|
459
435
|
]
|
|
460
436
|
}),
|
|
461
|
-
children:
|
|
437
|
+
children: q.length === 0 ? /* @__PURE__ */ w(o, {
|
|
462
438
|
illustration: "empty-data",
|
|
463
|
-
icon: /* @__PURE__ */
|
|
464
|
-
title:
|
|
465
|
-
description:
|
|
466
|
-
}) : /* @__PURE__ */
|
|
439
|
+
icon: /* @__PURE__ */ w(_, { className: "h-10 w-10" }),
|
|
440
|
+
title: A("ecoDashboard.recentObservations.noDataTitle", "No observations yet"),
|
|
441
|
+
description: A("ecoDashboard.recentObservations.noDataDescription", "Record your first field observation to build your biodiversity dataset.")
|
|
442
|
+
}) : /* @__PURE__ */ w("div", {
|
|
467
443
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
468
|
-
children:
|
|
444
|
+
children: q.map((e) => /* @__PURE__ */ T(D, {
|
|
469
445
|
treatment: "plain",
|
|
470
446
|
className: "p-4 transition-shadow hover:shadow-float",
|
|
471
|
-
children: [/* @__PURE__ */
|
|
447
|
+
children: [/* @__PURE__ */ T("div", {
|
|
472
448
|
className: "flex items-start justify-between gap-2",
|
|
473
|
-
children: [/* @__PURE__ */
|
|
449
|
+
children: [/* @__PURE__ */ T("div", {
|
|
474
450
|
className: "flex min-w-0 items-start gap-2.5",
|
|
475
|
-
children: [/* @__PURE__ */
|
|
451
|
+
children: [/* @__PURE__ */ w("span", {
|
|
476
452
|
className: "mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-[var(--color-accent-soft)] text-action-primary-bg",
|
|
477
|
-
children: /* @__PURE__ */
|
|
478
|
-
}), /* @__PURE__ */
|
|
453
|
+
children: /* @__PURE__ */ w(_, { className: "h-4 w-4" })
|
|
454
|
+
}), /* @__PURE__ */ T("div", {
|
|
479
455
|
className: "min-w-0",
|
|
480
|
-
children: [/* @__PURE__ */
|
|
456
|
+
children: [/* @__PURE__ */ w("p", {
|
|
481
457
|
className: "truncate text-sm font-semibold text-text-primary",
|
|
482
|
-
children: e.species?.commonName ??
|
|
483
|
-
}), e.species?.scientificName && /* @__PURE__ */
|
|
458
|
+
children: e.species?.commonName ?? A("ecoDashboard.recentObservations.unknownSpecies", "Unknown species")
|
|
459
|
+
}), e.species?.scientificName && /* @__PURE__ */ w("p", {
|
|
484
460
|
className: "truncate text-xs italic text-text-tertiary",
|
|
485
461
|
children: e.species.scientificName
|
|
486
462
|
})]
|
|
487
463
|
})]
|
|
488
|
-
}), /* @__PURE__ */
|
|
464
|
+
}), /* @__PURE__ */ T("span", {
|
|
489
465
|
className: "shrink-0 rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium tabular-nums text-text-primary",
|
|
490
|
-
children: ["×",
|
|
466
|
+
children: ["×", p(e.count)]
|
|
491
467
|
})]
|
|
492
|
-
}), /* @__PURE__ */
|
|
468
|
+
}), /* @__PURE__ */ T("div", {
|
|
493
469
|
className: "mt-3 flex items-center justify-between border-t border-border-seam/70 pt-2.5",
|
|
494
|
-
children: [/* @__PURE__ */
|
|
470
|
+
children: [/* @__PURE__ */ w("span", {
|
|
495
471
|
className: "rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
496
|
-
children:
|
|
497
|
-
}), /* @__PURE__ */
|
|
472
|
+
children: fe(e.method)
|
|
473
|
+
}), /* @__PURE__ */ w("span", {
|
|
498
474
|
className: "text-xs text-text-tertiary",
|
|
499
|
-
children:
|
|
475
|
+
children: m(e.observedAt)
|
|
500
476
|
})]
|
|
501
477
|
})]
|
|
502
478
|
}, e.id))
|
|
503
479
|
})
|
|
504
|
-
}),
|
|
505
|
-
title:
|
|
506
|
-
description:
|
|
507
|
-
children: /* @__PURE__ */
|
|
480
|
+
}), X = me(I.data), Ve = X.length > 0 ? /* @__PURE__ */ w(a, {
|
|
481
|
+
title: A("ecoDashboard.conservationStatus.title", "Conservation status"),
|
|
482
|
+
description: A("ecoDashboard.conservationStatus.description", "Distribution of tracked species by IUCN-style status."),
|
|
483
|
+
children: /* @__PURE__ */ w(D, {
|
|
508
484
|
treatment: "plain",
|
|
509
485
|
className: "p-6",
|
|
510
|
-
children: /* @__PURE__ */
|
|
486
|
+
children: /* @__PURE__ */ w("div", {
|
|
511
487
|
className: "space-y-3.5",
|
|
512
|
-
children: (() => {
|
|
513
|
-
let
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
})
|
|
538
|
-
]
|
|
539
|
-
}, e);
|
|
540
|
-
});
|
|
541
|
-
})()
|
|
488
|
+
children: X.map(({ status: e, count: t, pct: r }) => {
|
|
489
|
+
let i = Me[e] ?? "var(--color-text-tertiary)";
|
|
490
|
+
return /* @__PURE__ */ T("div", {
|
|
491
|
+
className: "flex items-center gap-3 sm:gap-4",
|
|
492
|
+
children: [
|
|
493
|
+
/* @__PURE__ */ w("div", {
|
|
494
|
+
className: "w-36 shrink-0 sm:w-48",
|
|
495
|
+
children: /* @__PURE__ */ w(n, { status: e })
|
|
496
|
+
}),
|
|
497
|
+
/* @__PURE__ */ w(te, {
|
|
498
|
+
value: r,
|
|
499
|
+
color: i,
|
|
500
|
+
className: "flex-1"
|
|
501
|
+
}),
|
|
502
|
+
/* @__PURE__ */ w("span", {
|
|
503
|
+
className: "w-9 shrink-0 text-end text-sm font-medium tabular-nums text-text-primary",
|
|
504
|
+
children: p(t)
|
|
505
|
+
}),
|
|
506
|
+
/* @__PURE__ */ w("span", {
|
|
507
|
+
className: "hidden w-12 shrink-0 text-end text-xs tabular-nums text-text-tertiary sm:inline",
|
|
508
|
+
children: pe(r)
|
|
509
|
+
})
|
|
510
|
+
]
|
|
511
|
+
}, e);
|
|
512
|
+
})
|
|
542
513
|
})
|
|
543
514
|
})
|
|
544
515
|
}) : null, Z = {
|
|
545
|
-
kpis:
|
|
546
|
-
aiInsights: /* @__PURE__ */
|
|
547
|
-
carbonByScope:
|
|
548
|
-
recentBreaches:
|
|
549
|
-
recentObservations:
|
|
550
|
-
conservationStatus:
|
|
551
|
-
}, Q =
|
|
516
|
+
kpis: ze,
|
|
517
|
+
aiInsights: /* @__PURE__ */ w(s, {}),
|
|
518
|
+
carbonByScope: J,
|
|
519
|
+
recentBreaches: Y,
|
|
520
|
+
recentObservations: Be,
|
|
521
|
+
conservationStatus: Ve
|
|
522
|
+
}, Q = P.layout.widgetOrder, $ = [];
|
|
552
523
|
for (let e = 0; e < Q.length; e++) {
|
|
553
524
|
let t = Q[e];
|
|
554
525
|
if (t === "kpis") {
|
|
555
|
-
$.push(/* @__PURE__ */
|
|
526
|
+
$.push(/* @__PURE__ */ w("div", { children: Z[t] }, t));
|
|
556
527
|
continue;
|
|
557
528
|
}
|
|
558
529
|
if (t === "carbonByScope" && Q[e + 1] === "recentBreaches") {
|
|
559
|
-
$.push(/* @__PURE__ */
|
|
530
|
+
$.push(/* @__PURE__ */ T("div", {
|
|
560
531
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
561
|
-
children: [/* @__PURE__ */
|
|
532
|
+
children: [/* @__PURE__ */ w("div", {
|
|
562
533
|
className: "lg:col-span-2",
|
|
563
|
-
children:
|
|
564
|
-
}), /* @__PURE__ */
|
|
534
|
+
children: J
|
|
535
|
+
}), /* @__PURE__ */ w("div", { children: Y })]
|
|
565
536
|
}, `${t}-pair`)), e += 1;
|
|
566
537
|
continue;
|
|
567
538
|
}
|
|
568
539
|
if (t === "recentBreaches" && Q[e - 1] === "carbonByScope") continue;
|
|
569
540
|
let n = Z[t];
|
|
570
|
-
n && $.push(/* @__PURE__ */
|
|
541
|
+
n && $.push(/* @__PURE__ */ w("div", { children: n }, t));
|
|
571
542
|
}
|
|
572
|
-
return /* @__PURE__ */
|
|
573
|
-
title:
|
|
543
|
+
return /* @__PURE__ */ T(e, {
|
|
544
|
+
title: A("ecoDashboard.title", "EcoImpactHub"),
|
|
574
545
|
titleGradient: !0,
|
|
575
546
|
aurora: !0,
|
|
576
|
-
description:
|
|
577
|
-
actions:
|
|
578
|
-
children: [/* @__PURE__ */
|
|
547
|
+
description: A("ecoDashboard.description", "Welcome back, {{name}} — your environment, conservation & sustainability control room.", { name: Re }),
|
|
548
|
+
actions: G,
|
|
549
|
+
children: [/* @__PURE__ */ T("div", {
|
|
579
550
|
className: "space-y-6",
|
|
580
|
-
children: [$,
|
|
581
|
-
title:
|
|
582
|
-
description:
|
|
583
|
-
children: /* @__PURE__ */
|
|
551
|
+
children: [$, P.layout.notes.length > 0 && /* @__PURE__ */ w(a, {
|
|
552
|
+
title: A("ecoDashboard.customNotes.title", "Custom notes"),
|
|
553
|
+
description: A("ecoDashboard.customNotes.description", "Your personal notes, visible only to you."),
|
|
554
|
+
children: /* @__PURE__ */ w("div", {
|
|
584
555
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
585
|
-
children:
|
|
556
|
+
children: P.layout.notes.map((e) => /* @__PURE__ */ w(D, {
|
|
586
557
|
treatment: "plain",
|
|
587
558
|
className: "p-4",
|
|
588
|
-
children: /* @__PURE__ */
|
|
559
|
+
children: /* @__PURE__ */ T("div", {
|
|
589
560
|
className: "flex items-start gap-2.5",
|
|
590
|
-
children: [/* @__PURE__ */
|
|
561
|
+
children: [/* @__PURE__ */ w(b, { className: "mt-0.5 h-4 w-4 shrink-0 text-action-primary-bg" }), /* @__PURE__ */ T("div", {
|
|
591
562
|
className: "min-w-0",
|
|
592
|
-
children: [e.title && /* @__PURE__ */
|
|
563
|
+
children: [e.title && /* @__PURE__ */ w("p", {
|
|
593
564
|
className: "truncate text-sm font-semibold text-text-primary",
|
|
594
565
|
children: e.title
|
|
595
|
-
}), e.body && /* @__PURE__ */
|
|
566
|
+
}), e.body && /* @__PURE__ */ w("p", {
|
|
596
567
|
className: "mt-0.5 text-sm text-text-secondary",
|
|
597
568
|
children: e.body
|
|
598
569
|
})]
|
|
@@ -601,13 +572,13 @@ function E() {
|
|
|
601
572
|
}, e.id))
|
|
602
573
|
})
|
|
603
574
|
})]
|
|
604
|
-
}), /* @__PURE__ */
|
|
605
|
-
open:
|
|
606
|
-
onOpenChange:
|
|
607
|
-
layout:
|
|
575
|
+
}), /* @__PURE__ */ w(ee, {
|
|
576
|
+
open: Pe,
|
|
577
|
+
onOpenChange: N,
|
|
578
|
+
layout: P
|
|
608
579
|
})]
|
|
609
580
|
});
|
|
610
581
|
}
|
|
611
|
-
export {
|
|
582
|
+
export { A as DashboardPage };
|
|
612
583
|
|
|
613
584
|
//# sourceMappingURL=DashboardPage.js.map
|