{"version":3,"sources":["webpack:///./web-ui/src/models/bill.ts","webpack:///./web-ui/src/models/siteEmission.ts","webpack:///./web-ui/src/models/site.ts","webpack:///./web-ui/src/services/utils/createMutationOutputStatus/createMutationOutputStatus.ts","webpack:///./web-ui/src/services/utils/useMutationReturnHandle/useMutationReturnHandle.ts","webpack:///./web-ui/src/services/utils/createOutputMutation/createOutputMutation.ts","webpack:///./web-ui/src/modules/settings/contexts/userSettings.sagas.ts","webpack:///./web-ui/src/models/sort.ts","webpack:///./web-ui/src/services/utils/schema/zodRelationship.ts","webpack:///./web-ui/src/services/utils/schema/hydrateSchemas.ts","webpack:///./web-ui/src/services/utils/schema/schema.ts","webpack:///./web-ui/src/services/utils/schema/defineSchema.ts","webpack:///./web-ui/src/services/utils/schema/generateValidation.ts","webpack:///./web-ui/src/utils/colors.ts","webpack:///./web-ui/src/modules/settings/contexts/userSettings.store.ts","webpack:///./web-ui/src/models/meter.ts","webpack:///./web-ui/src/utils/constants.ts","webpack:///./web-ui/src/utils/decimal.ts","webpack:///./web-ui/src/components/graph/product.ts","webpack:///./web-ui/src/nzds/layout/h-stack/h-stack.tsx","webpack:///./web-ui/src/components/impersonate-alert/impersonate-alert.tsx","webpack:///./web-ui/src/components/logo/nzeroLogo.tsx","webpack:///./web-ui/src/models/reportingData.ts","webpack:///./web-ui/src/utils/date.ts","webpack:///./web-ui/src/services/useAvailableReportDates/useAvailableReportDatesUtils.ts","webpack:///./web-ui/src/services/useAvailableReportDates/useAvailableReportDates.ts","webpack:///./web-ui/src/services/data/use-data.ts","webpack:///./web-ui/src/services/user/useCreateUser.ts","webpack:///./web-ui/src/services/user/use-resend-email.ts","webpack:///./web-ui/src/services/user/use-user-access.ts","webpack:///./web-ui/src/services/user/use-validate-account.ts","webpack:///./web-ui/src/utils/url/url-utils/url-utils.ts","webpack:///./web-ui/src/utils/url/use-search-params-page/use-search-params-page.ts","webpack:///./web-ui/src/models/route.ts","webpack:///./web-ui/src/utils/url/use-url.ts","webpack:///./web-ui/src/components/nav/authenticated-layout/navigation-drawer/components/nav-item-button/nav-item-button.tsx","webpack:///./web-ui/src/components/nav/authenticated-layout/navigation-drawer/navigation-drawer.tsx","webpack:///./web-ui/src/components/nav/authenticated-layout/authenticated-layout.tsx","webpack:///./web-ui/src/components/error-boundary/error-boundary-fallback.tsx","webpack:///./web-ui/src/components/error-boundary/error-boundary-fallback-utils.ts","webpack:///./web-ui/src/components/unauthenticatedAppHeader/unauthenticatedAppHeader.tsx","webpack:///./web-ui/src/components/route/unauthenticated-route/unauthenticated-route.tsx","webpack:///./web-ui/src/components/whiteBox.tsx","webpack:///./web-ui/src/modules/about/pages/about-index/about-index.tsx","webpack:///./web-ui/src/modules/about/routes.tsx","webpack:///./web-ui/src/components/data-guard/data-guard.tsx","webpack:///./web-ui/src/components/nav/page404/page404.tsx","webpack:///./web-ui/src/nzds/forms/form/form.tsx","webpack:///./web-ui/src/nzds/forms/form/dialog-form.tsx","webpack:///./web-ui/src/nzds/inputs/checkbox/checkbox.tsx","webpack:///./web-ui/src/nzds/forms/form-checkbox/form-checkbox.tsx","webpack:///./web-ui/src/nzds/inputs/text-field/text-field.tsx","webpack:///./web-ui/src/nzds/forms/form-text-field/form-text-field.tsx","webpack:///./web-ui/src/nzds/forms/submit-button/submit-button.tsx","webpack:///./web-ui/src/nzds/forms/use-form/use-form.ts","webpack:///./web-ui/src/nzds/ui-effects/blur/blur.tsx","webpack:///./web-ui/src/nzds/ui-effects/use-blur/use-blur.ts","webpack:///./web-ui/src/nzds/inputs/button/button.tsx","webpack:///./web-ui/src/nzds/inputs/multi-select-checkbox-field/multi-select-checkbox-field.tsx","webpack:///./web-ui/src/nzds/inputs/numeric-text-field/numeric-format-custom.tsx","webpack:///./web-ui/src/nzds/inputs/numeric-text-field/numeric-text-field.tsx","webpack:///./web-ui/src/nzds/inputs/select-field/select-field.tsx","webpack:///./web-ui/src/nzds/graphs/graph-menu/graph-menu-ref-context.ts","webpack:///./web-ui/src/components/if/if.tsx","webpack:///./web-ui/src/components/unit/use-unit.ts","webpack:///./web-ui/src/components/unit/unit.tsx","webpack:///./web-ui/src/components/decimal/decimal/decimal.tsx","webpack:///./web-ui/src/components/decimal/decimalPlaceholder/decimalPlaceholder.tsx","webpack:///./web-ui/src/components/decimal/decimalWithPlaceholder/decimalWithPlaceholder.tsx","webpack:///./web-ui/src/components/currency/currencyWithPlaceholder/currencyWithPlaceholder.tsx","webpack:///./web-ui/src/components/decimal/emissionDecimal/emissionDecimal.tsx","webpack:///./web-ui/src/components/decimal/energyUnitDecimal/energyUnitDecimal.tsx","webpack:///./web-ui/src/models/decimal/decimal.ts","webpack:///./web-ui/src/nzds/graphs/stacked-area-graph/stacked-area-graph-tooltip/stacked-area-graph-tooltip-row.tsx","webpack:///./web-ui/src/nzds/graphs/stacked-area-graph/stacked-area-graph-tooltip/stacked-area-graph-tooltip-rows.tsx","webpack:///./web-ui/src/nzds/graphs/stacked-area-graph/stacked-area-graph-tooltip/stacked-area-graph-tooltip.tsx","webpack:///./web-ui/src/nzds/graphs/stacked-area-graph/stacked-area-graph.tsx","webpack:///./web-ui/src/nzds/graphs/stacked-area-graph/stacked-area-graph.types.ts","webpack:///./web-ui/src/nzds/graphs/graph-to-png/graph-to-png.ts","webpack:///./web-ui/src/nzds/graphs/graph-menu/graph-menu-container.tsx","webpack:///./web-ui/src/nzds/navigation/tabs/contained-tab.tsx","webpack:///./web-ui/src/nzds/navigation/tabs/contained-tabs.tsx","webpack:///./web-ui/src/nzds/data-display/nzero-logo-icon/nzero-logo-icon.tsx","webpack:///./web-ui/src/nzds/feedback/dialog-title/dialog-title.tsx","webpack:///./web-ui/src/services/email/useSendContactEmail.ts","webpack:///./web-ui/src/schemas/schema-utils.ts","webpack:///./web-ui/src/schemas/schema-constants.ts","webpack:///./web-ui/src/schemas/email.schema.ts","webpack:///./web-ui/src/schemas/string.schema.ts","webpack:///./web-ui/src/schemas/password.schema.ts","webpack:///./web-ui/src/components/contact-dialog/contact.schema.ts","webpack:///./web-ui/src/components/contact-dialog/contact-dialog.types.ts","webpack:///./web-ui/src/components/contact-dialog/contact-dialog.tsx","webpack:///./web-ui/src/nzds/utils/use-callback-ref/use-callback-ref.ts","webpack:///./web-ui/src/nzds/utils/use-disclosure/use-disclosure.ts","webpack:///./web-ui/src/nzds/utils/use-timeout/use-timeout.ts","webpack:///./web-ui/src/nzds/utils/useCountryOptions/useCountryOptions.ts","webpack:///./web-ui/src/services/gtag/use-gtag.ts","webpack:///./web-ui/src/components/share-button/share-button.tsx","webpack:///./web-ui/src/components/nav/change-organization/change-organization.tsx","webpack:///./web-ui/src/services/useSitePreviews/useSitePreviewsUtils.tsx","webpack:///./web-ui/src/services/useSitePreviews/useSitePreviews.ts","webpack:///./web-ui/src/components/nav/site-search/site-search.tsx","webpack:///./web-ui/src/services/user/use-users.ts","webpack:///./web-ui/src/components/user-selection-dialog/user-selection-dialog.tsx","webpack:///./web-ui/src/styles/utils.ts","webpack:///./web-ui/src/components/nav/user-menu/user-menu.tsx","webpack:///./web-ui/src/components/nav/page-header/page-header.tsx","webpack:///./web-ui/src/components/section-header/section-header.tsx","webpack:///./web-ui/src/components/page-card/page-card.tsx","webpack:///./web-ui/src/components/page/page.tsx","webpack:///./web-ui/src/components/route/consultant-data-guard/consultant-data-guard.tsx","webpack:///./web-ui/src/components/route/limited-access-user-guard/limited-access-user-guard.tsx","webpack:///./web-ui/src/models/typography.ts","webpack:///./web-ui/src/modules/assistant/services/assistant/assistant-utils.ts","webpack:///./web-ui/src/modules/assistant/components/assistant-chat/assistant-chat.tsx","webpack:///./web-ui/src/modules/assistant/components/threads/threads.tsx","webpack:///./web-ui/src/modules/assistant/services/assistant/use-threads.ts","webpack:///./web-ui/src/modules/assistant/pages/assistant-index/assistant-index.tsx","webpack:///./web-ui/src/modules/assistant/routes.ts","webpack:///./web-ui/src/modules/assistant/pages/assistant-root/assistant-root.tsx","webpack:///./web-ui/src/utils/date/date/date.ts","webpack:///./web-ui/src/utils/date/use-date-range/use-save-date-range.ts","webpack:///./web-ui/src/utils/date/use-date-range/use-search-params-date-range.ts","webpack:///./web-ui/src/utils/date/use-date-range/use-date-range.ts","webpack:///./web-ui/src/components/graph/drawCircularAxisLabels.ts","webpack:///./web-ui/src/components/graph/generateSemiAnnularPath.ts","webpack:///./web-ui/src/components/graph/drawSemiAnnularGroup.ts","webpack:///./web-ui/src/components/dialGraph.tsx","webpack:///./web-ui/src/components/graph/drawOverlayGroup.ts","webpack:///./web-ui/src/components/graph/drawGraphNeedle.ts","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardItem/organizationDashboardItem.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardNoData/organizationDashboardNoData.tsx","webpack:///./web-ui/src/models/scope.ts","webpack:///./web-ui/src/components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph-label.tsx","webpack:///./web-ui/src/components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph-tick.tsx","webpack:///./web-ui/src/components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph-util.ts","webpack:///./web-ui/src/components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph.tsx","webpack:///./web-ui/src/nzds/graphs/utils/utils.ts","webpack:///./web-ui/src/hooks/useTranslateUnit/useTranslateUnit.ts","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardMetricTitle/organizationDashboardMetricTitle.tsx","webpack:///./web-ui/src/components/organizationDashboard/scopeReportButton/scopeReportButton.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardScopeOne/organizationDashboardScopeOneLegend/organizationDashboardScopeOneLegend.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardScopeOne/organizationDashboardScopeOne.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardScopeThree/scopeThreeMetrics.tsx","webpack:///./web-ui/src/hooks/useResizeObserver/useResizeObserver.tsx","webpack:///./web-ui/src/modules/dashboard/models/dashboard.ts","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardScopeThree/scopeThreeWidgetGraph.tsx","webpack:///./web-ui/src/hooks/useD3/useD3.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardScopeThree/organizationDashboardScopeThree.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardTooltip/organizationDashboardTooltip.tsx","webpack:///./web-ui/src/components/organizationDashboard/scope2Card/scope2Metrics.tsx","webpack:///./web-ui/src/components/organizationDashboard/scope2Card/scope2Tooltip.tsx","webpack:///./web-ui/src/components/organizationDashboard/scope2Card/scope2CardContent.tsx","webpack:///./web-ui/src/components/organizationSummary/electricityVolumesTable.tsx","webpack:///./web-ui/src/modules/dashboard/components/organizationDashboardScopeSection/organizationDashboardScopeSection.tsx","webpack:///./web-ui/src/models/monthSummary.ts","webpack:///./web-ui/src/modules/dashboard/services/useElectricityCost/useElectricityCostUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useElectricityCost/useElectricityCost.ts","webpack:///./web-ui/src/models/organizationEmissionDay.ts","webpack:///./web-ui/src/models/resource.ts","webpack:///./web-ui/src/models/siteEmissionDay.ts","webpack:///./web-ui/src/modules/dashboard/services/useEmissionsStats/useEmissionsStatsUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useEmissionsStats/useEmissionsStats.ts","webpack:///./web-ui/src/modules/dashboard/services/useEnergyConsumption/useEnergyConsumptionUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useEnergyConsumption/useEnergyConsumption.ts","webpack:///./web-ui/src/modules/dashboard/services/useEnergyStats/useEnergyStatsUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useEnergyStats/useEnergyStats.tsx","webpack:///./web-ui/src/modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStats.tsx","webpack:///./web-ui/src/models/scopeOne.ts","webpack:///./web-ui/src/modules/dashboard/services/useScopeOneEmissions/useScopeOneEmissionsUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useScopeOneEmissions/useScopeOneEmissions.ts","webpack:///./web-ui/src/modules/dashboard/services/useScopeTwoEmissions/useScopeTwoEmissionsUtils.ts","webpack:///./web-ui/src/modules/dashboard/services/useScopeTwoEmissions/useScopeTwoEmissions.ts","webpack:///./web-ui/src/modules/dashboard/util/organizationDashboardUtils.ts","webpack:///./web-ui/src/models/baCode.ts","webpack:///./web-ui/src/services/baCode/useBaCodes.ts","webpack:///./web-ui/src/services/billingGroup/useBillingGroup.ts","webpack:///./web-ui/src/services/billingGroup/useBillingGroups.ts","webpack:///./web-ui/src/services/billingGroup/useBillingGroupCounts.ts","webpack:///./web-ui/src/services/billingGroup/billingGroupSchema.ts","webpack:///./web-ui/src/services/billingGroup/useUpdateBillingGroup.ts","webpack:///./web-ui/src/services/billingGroup/useCreateBillingGroup.ts","webpack:///./web-ui/src/services/billingGroup/useDeleteBillingGroup.ts","webpack:///./web-ui/src/services/currency/useCurrencies.ts","webpack:///./web-ui/src/services/department/use-departments-spraypaint.ts","webpack:///./web-ui/src/services/department/useDepartment.ts","webpack:///./web-ui/src/services/department/useDepartments.ts","webpack:///./web-ui/src/services/department/useCreateDepartment.ts","webpack:///./web-ui/src/services/department/useUpdateDepartment.ts","webpack:///./web-ui/src/services/department/useDeleteDepartment.ts","webpack:///./web-ui/src/services/department/departmentSchema.ts","webpack:///./web-ui/src/models/energyAllocator.ts","webpack:///./web-ui/src/services/energyAllocator/useEnergyAllocators.ts","webpack:///./web-ui/src/services/location/useLocations.ts","webpack:///./web-ui/src/services/meter/useMeter.ts","webpack:///./web-ui/src/services/meter/useMeters.ts","webpack:///./web-ui/src/services/meter/useMeterCounts.ts","webpack:///./web-ui/src/services/meter/useMeterSourceTypes.ts","webpack:///./web-ui/src/services/meter/useUpdateMeter.ts","webpack:///./web-ui/src/services/meter/useCreateMeter.ts","webpack:///./web-ui/src/services/meter/useDeleteMeter.ts","webpack:///./web-ui/src/services/meter/meterSchema.ts","webpack:///./web-ui/src/services/node/useNodes.ts","webpack:///./web-ui/src/services/organizationalUnit/utils.ts","webpack:///./web-ui/src/services/organizationalUnit/useOrganizationalUnits.ts","webpack:///./web-ui/src/services/organizationalUnit/useCreateOrganizationalUnit.ts","webpack:///./web-ui/src/services/organizationalUnit/useUpdateOrganizationalUnit.ts","webpack:///./web-ui/src/services/organizationalUnit/useDeleteOrganizationalUnit.ts","webpack:///./web-ui/src/services/sink/useSinks.ts","webpack:///./web-ui/src/services/site/use-get-building-types.ts","webpack:///./web-ui/src/services/site/siteSchema.ts","webpack:///./web-ui/src/services/site/useSite.ts","webpack:///./web-ui/src/services/site/utils.ts","webpack:///./web-ui/src/services/site/useSites.ts","webpack:///./web-ui/src/services/site/useSiteCounts.ts","webpack:///./web-ui/src/services/site/useCreateSite.ts","webpack:///./web-ui/src/services/site/useDeleteSite.ts","webpack:///./web-ui/src/services/site/useUpdateSite.ts","webpack:///./web-ui/src/services/useGetPlans/get-plans.ts","webpack:///./web-ui/src/services/useGetPlans/use-get-plans.ts","webpack:///./web-ui/src/models/scopeThree.ts","webpack:///./web-ui/src/services/useScopeThreeEmissions/useScopeThreeEmissionsUtils.ts","webpack:///./web-ui/src/services/useScopeThreeEmissions/useScopeThreeEmissions.ts","webpack:///./web-ui/src/services/validations.ts","webpack:///./web-ui/src/components/date/monthRangeSelector/monthRangeSelector.tsx","webpack:///./web-ui/src/components/nav/page-header-action-bar/page-header-action-bar.tsx","webpack:///./web-ui/src/modules/site/components/site/emptyChart.tsx","webpack:///./web-ui/src/components/graph/legend/legendRow/legendRow.tsx","webpack:///./web-ui/src/components/graph/legend/legendRows/legendRows.tsx","webpack:///./web-ui/src/components/graph/legend/legend.tsx","webpack:///./web-ui/src/components/organizationDashboard/emissionsByScope/emissionsByScope.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboardMetric/organizationDashboardMetric.tsx","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboard.tsx","webpack:///./web-ui/src/modules/dashboard/services/useScope2CarbonIntensity/useScope2CarbonIntensity.ts","webpack:///./web-ui/src/components/organizationDashboard/organizationDashboard.resolver.tsx","webpack:///./web-ui/src/components/organizationDashboard/organization-dashboard-index-route/organization-dashboard-index-route.tsx","webpack:///./web-ui/src/components/route/role-guard/role-guard.tsx","webpack:///./web-ui/src/modules/dashboard/routes.tsx","webpack:///./web-ui/src/modules/data/pages/data-index-route/data-index-route.tsx","webpack:///./web-ui/src/services/sigma/sigma.types.ts","webpack:///./web-ui/src/services/sigma/useSigmaAccessToken/useSigmaAccessTokenUtils.ts","webpack:///./web-ui/src/services/sigma/useSigmaAccessToken/useSigmaRefreshAccessToken.ts","webpack:///./web-ui/src/services/sigma/useSigmaAccessToken/useSigmaAccessToken.ts","webpack:///./web-ui/src/services/sigma/useSigmaApi.ts","webpack:///./web-ui/src/services/sigma/use-sigma-workbook.ts","webpack:///./web-ui/src/services/sigma/useSigmaWorkbooks.ts","webpack:///./web-ui/src/services/sigma/sigma-utils.ts","webpack:///./web-ui/src/services/sigma/use-sigma-teams.ts","webpack:///./web-ui/src/services/sigma/useSigmaWorkbookSecureEmbedUrl.ts","webpack:///./web-ui/src/modules/report/components/sigma-report/sigma-report.tsx","webpack:///./web-ui/src/services/sigma/useSigmaWorkbookEmbeds.ts","webpack:///./web-ui/src/modules/data/pages/data-qa-route/data-qa-route.tsx","webpack:///./web-ui/src/components/error-dialog/error-dialog.tsx","webpack:///./web-ui/src/components/error-dialog/error-dialog-csv-upload-content/error-dialog-csv-upload-content.tsx","webpack:///./web-ui/src/components/upload-file/upload-file.tsx","webpack:///./web-ui/src/components/upload-csv-dialog/upload-csv-dialog.tsx","webpack:///./web-ui/src/models/analytics.ts","webpack:///./web-ui/src/modules/data/components/upload-step/upload-step.tsx","webpack:///./web-ui/src/modules/data/services/use-upload-entities/use-upload-entities.ts","webpack:///./web-ui/src/modules/data/services/use-upload-usage/use-upload-usage.ts","webpack:///./web-ui/src/modules/data/pages/data-upload-route/data-upload-route.tsx","webpack:///./web-ui/src/services/entities/use-entities.ts","webpack:///./web-ui/src/modules/data/routes.tsx","webpack:///./web-ui/src/components/loadingSpinner.tsx","webpack:///./web-ui/src/components/organizationSummary/sitesTable/siteRow.tsx","webpack:///./web-ui/src/modules/financialSummary/components/directAccessSitesTable.tsx","webpack:///./web-ui/src/modules/financialSummary/services/useSiteTotals/useSiteTotalsUtils.ts","webpack:///./web-ui/src/modules/financialSummary/services/useSiteTotals/useSiteTotals.ts","webpack:///./web-ui/src/components/date/dateDisplay/dateDisplay.tsx","webpack:///./web-ui/src/components/date/dateRangeDisplay/dateRangeDisplay.tsx","webpack:///./web-ui/src/models/date/date.ts","webpack:///./web-ui/src/components/date/monthRangeWithPeriodsSelector/monthRangeWithPeriodsSelector.tsx","webpack:///./web-ui/src/components/decimal/usageRateDecimal/usageRateDecimal.tsx","webpack:///./web-ui/src/components/metric/metric.tsx","webpack:///./web-ui/src/components/organizationSummary/financialSummaryMetrics.tsx","webpack:///./web-ui/src/components/organizationSummary/graphSelect/graphSelect.tsx","webpack:///./web-ui/src/components/organizationSummary/groupFinancialMetrics.tsx","webpack:///./web-ui/src/modules/financialSummary/services/useSiteTotalsByOrgUnit/useSiteTotalsByOrgUnitUtils.ts","webpack:///./web-ui/src/modules/financialSummary/services/useSiteTotalsByOrgUnit/useSiteTotalsByOrgUnit.ts","webpack:///./web-ui/src/components/organizationSummary/sitesTable/sitesTable.tsx","webpack:///./web-ui/src/components/organizationSummary/collapsibleGroup.tsx","webpack:///./web-ui/src/components/organizationSummary/groupViews.tsx","webpack:///./web-ui/src/components/organizationSummary/organizationBarGraph.tsx","webpack:///./web-ui/src/components/organizationSummary/organizationSummary.tsx","webpack:///./web-ui/src/modules/financialSummary/routes.tsx","webpack:///./web-ui/src/components/page-loading/page-loading.tsx","webpack:///./web-ui/src/formatters/utils.ts","webpack:///./web-ui/src/formatters/useFormatPercentage.ts","webpack:///./web-ui/src/modules/recommendations/services/use-create-goal/create-goal.ts","webpack:///./web-ui/src/modules/recommendations/services/use-create-goal/use-create-goal.ts","webpack:///./web-ui/src/modules/recommendations/services/use-udpate-goal/update-goal.ts","webpack:///./web-ui/src/modules/recommendations/services/use-udpate-goal/use-update-goal.ts","webpack:///./web-ui/src/modules/recommendations/components/goals-progress-bar/goals-progress-bar.tsx","webpack:///./web-ui/src/nzds/data-grid/data-grid-cell-popover/data-grid-cell-popover.tsx","webpack:///./web-ui/src/nzds/data-grid/data-grid-column/data-grid-column.model.ts","webpack:///./web-ui/src/nzds/data-grid/data-grid-column-header/data-grid-column-header.tsx","webpack:///./web-ui/src/formatters/useFormatDecimal.ts","webpack:///./web-ui/src/formatters/useFormatMoney.ts","webpack:///./web-ui/src/nzds/data-grid/data-grid-legend-item/data-grid-legend-item.tsx","webpack:///./web-ui/src/nzds/data-grid/data-grid-legend/data-grid-legend.tsx","webpack:///./web-ui/src/nzds/data-grid/data-grid-number-edit-cell/data-grid-number-edit-cell.tsx","webpack:///./web-ui/src/nzds/data-grid/data-grid-toolbar/data-grid-toolbar.tsx","webpack:///./web-ui/src/nzds/data-grid/use-edit-row/use-edit-row.ts","webpack:///./web-ui/src/nzds/data-grid/use-grid-filter-model-change/use-grid-filter-model-change.ts","webpack:///./web-ui/src/nzds/data-grid/use-paginated-scroll/use-paginated-scroll.ts","webpack:///./web-ui/src/nzds/data-grid/use-save-grid-model/use-grid-column-visibility-model/use-grid-column-visibility-model.ts","webpack:///./web-ui/src/modules/rep/pages/constants.ts","webpack:///./web-ui/src/nzds/data-grid/use-save-grid-model/use-grid-sort-model/use-grid-sort-model.ts","webpack:///./web-ui/src/nzds/data-grid/use-save-grid-model/use-save-grid-model.ts","webpack:///./web-ui/src/nzds/data-grid/use-save-grid-model/use-grid-columns/use-grid-columns.ts","webpack:///./web-ui/src/nzds/data-grid/use-save-grid-model/use-grid-pinned-columns/use-grid-pinned-columns.ts","webpack:///./web-ui/src/nzds/data-grid/use-scroll-page-change/use-scroll-page-change.ts","webpack:///./web-ui/src/hooks/useCurrencySymbol/useCurrencySymbol.ts","webpack:///./web-ui/src/utils/render-row-number.ts","webpack:///./web-ui/src/modules/recommendations/enums.ts","webpack:///./web-ui/src/modules/recommendations/utils/calculateAnnualSavings.ts","webpack:///./web-ui/src/modules/recommendations/utils/calculateEmissionSavingsPercentage.ts","webpack:///./web-ui/src/modules/recommendations/components/planned-sites-grid/planned-sites-grid.tsx","webpack:///./web-ui/src/modules/recommendations/utils/calculateCarbonRemovedLbs.ts","webpack:///./web-ui/src/modules/recommendations/services/use-site-stats/use-site-stats.ts","webpack:///./web-ui/src/modules/recommendations/components/stat-card-content/stat-card-content.tsx","webpack:///./web-ui/src/modules/recommendations/utils/format-text-to-id.ts","webpack:///./web-ui/src/modules/recommendations/components/stat-card/stat-card.tsx","webpack:///./web-ui/src/modules/recommendations/components/portfolio-overview-stats/portfolio-overview-stats.tsx","webpack:///./web-ui/src/modules/recommendations/services/use-get-goals/get-goals.ts","webpack:///./web-ui/src/modules/recommendations/services/use-get-goals/use-get-goals.ts","webpack:///./web-ui/src/modules/recommendations/services/use-get-potential-sites/get-potential-sites.ts","webpack:///./web-ui/src/modules/recommendations/services/use-get-potential-sites/use-get-potential-sites.ts","webpack:///./web-ui/src/modules/recommendations/components/site-card/site-card.tsx","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-index-route/recommendations-index-recommended-sites.tsx","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-index-route/recommendations-index-route.tsx","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-teaser-route/recommendations-teaser-route.tsx","webpack:///./web-ui/src/components/route/featureGuard/featureGuard.tsx","webpack:///./web-ui/src/hocs/feature-guarded/feature-guarded.tsx","webpack:///./web-ui/src/modules/recommendations/constants.ts","webpack:///./web-ui/src/modules/recommendations/components/planning-steps/planning-steps.tsx","webpack:///./web-ui/src/modules/recommendations/components/potential-sites-card/potential-sites-grid.tsx","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-plan-route/recommendations-plan-route.tsx","webpack:///./web-ui/src/components/page-card/styled-page-card.tsx","webpack:///./web-ui/src/components/mui-icons/RightPanelCloseIcon.tsx","webpack:///./web-ui/src/components/mui-icons/RightPanelOpenIcon.tsx","webpack:///./web-ui/src/modules/site/components/siteInfo/siteInfoButton/siteInfoButton.tsx","webpack:///./web-ui/src/modules/recommendations/components/edit-site-information/edit-site-confirmation.tsx","webpack:///./web-ui/src/nzds/forms/form-multi-select-checkbox-field/form-multi-select-checkbox-field.tsx","webpack:///./web-ui/src/nzds/forms/form-numeric-text-field/form-numeric-text-field.tsx","webpack:///./web-ui/src/nzds/forms/form-select-field/form-select-field.tsx","webpack:///./web-ui/src/modules/recommendations/services/useGetInterventions/get-interventions.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetInterventions/use-intervention-options.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetInterventions/use-get-interventions.ts","webpack:///./web-ui/src/modules/recommendations/utils/snakeToTitleCase.ts","webpack:///./web-ui/src/modules/recommendations/components/accordion/accordion-card.tsx","webpack:///./web-ui/src/modules/recommendations/components/filter-bar/render-intervention-value.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/generate-schema-default-values.ts","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/convert-model-values-to-schema-values.ts","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/build-physical-details-model-values.ts","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/schema.ts","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/schema-field-array.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/schema-field-input.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/schema-field.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/site-goals-form.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/section-to-icon-map.tsx","webpack:///./web-ui/src/modules/recommendations/components/site-goals-form/build-physical-details-default-values.ts","webpack:///./web-ui/src/nzds/utils/useStateOptions/useStateOptions.ts","webpack:///./web-ui/src/services/googleMaps/useCalculateCoordinates.ts","webpack:///./web-ui/src/services/googleMaps/useGoogleMaps.ts","webpack:///./web-ui/src/modules/site/components/map/siteMap.tsx","webpack:///./web-ui/src/modules/site/components/siteInfo/siteInfoContent.tsx","webpack:///./web-ui/src/modules/site/components/siteInfo/siteInfoUtils.ts","webpack:///./web-ui/src/modules/recommendations/components/site-info-drawer/site-info-drawer.constants.ts","webpack:///./web-ui/src/modules/recommendations/components/site-info-drawer/site-info-drawer.tsx","webpack:///./web-ui/src/models/physical-detail-types.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetPhysicalDetailTypes/get-physical-detail-types.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetSite/get-site.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetSite/use-get-site.ts","webpack:///./web-ui/src/modules/recommendations/pages/site-goals-route/site-goals-route.tsx","webpack:///./web-ui/src/modules/recommendations/services/useGetPhysicalDetailTypes/use-get-physical-detail-types.ts","webpack:///./web-ui/src/utils/render-column-header.tsx","webpack:///./web-ui/src/modules/recommendations/services/useInterventionTypeColors/use-intervention-type-colors.ts","webpack:///./web-ui/src/modules/recommendations/components/intervention-type-cell/intervention-type-cell.tsx","webpack:///./web-ui/src/modules/recommendations/services/useInterventionTypeLabels/use-intervention-type-labels.ts","webpack:///./web-ui/src/modules/recommendations/components/interventions-table/interventions-table.tsx","webpack:///./web-ui/src/modules/recommendations/components/plan-confirmation-dialog/plan-confirmation-dialog.tsx","webpack:///./web-ui/src/modules/recommendations/components/plan-details-savings-breakdown/components/tooltip/tooltip.tsx","webpack:///./web-ui/src/modules/recommendations/components/plan-details-savings-breakdown/plan-details-savings-breakdown.tsx","webpack:///./web-ui/src/modules/recommendations/components/plan-stats-bar/plan-stats-bar.tsx","webpack:///./web-ui/src/modules/recommendations/services/useCreateSitePlan/create-site-plan.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetSiteRecommendation/get-site-recommendation.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetSiteRecommendation/use-get-site-recommendation.ts","webpack:///./web-ui/src/modules/recommendations/utils/build-plan-name.tsx","webpack:///./web-ui/src/modules/recommendations/pages/site-plan-details-edit-route/site-plan-details-edit-route.tsx","webpack:///./web-ui/src/modules/recommendations/services/useCreateSitePlan/use-create-site-plan.ts","webpack:///./web-ui/src/modules/recommendations/services/useDeleteSitePlan/delete-site-plan.ts","webpack:///./web-ui/src/modules/recommendations/pages/site-plan-details-route/site-plan-details-route.tsx","webpack:///./web-ui/src/modules/recommendations/services/useDeleteSitePlan/use-delete-site-plan.ts","webpack:///./web-ui/src/modules/recommendations/components/filter-bar/filter-bar.tsx","webpack:///./web-ui/src/modules/recommendations/components/plans-scatter-chart/plans-scatter-chart.tsx","webpack:///./web-ui/src/modules/recommendations/components/plan-name-cell/plan-name-cell.tsx","webpack:///./web-ui/src/modules/recommendations/components/recommended-plans-table/recommended-plans-comparator.ts","webpack:///./web-ui/src/modules/recommendations/components/recommended-plans-table/utils/use-build-row-data.ts","webpack:///./web-ui/src/modules/recommendations/components/recommended-plans-table/recommended-plans-table.tsx","webpack:///./web-ui/src/modules/recommendations/services/useGetSiteRecommendations/get-site-recommendations.ts","webpack:///./web-ui/src/modules/recommendations/services/useGetSiteRecommendations/use-get-site-recommendations.ts","webpack:///./web-ui/src/modules/recommendations/pages/site-recommendations-route/site-recommendations-route.tsx","webpack:///./web-ui/src/modules/recommendations/routes.ts","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-root/recommendations-root.tsx","webpack:///./web-ui/src/modules/recommendations/pages/recommendations-index-route-guard/recommendations-index-route-guard.tsx","webpack:///./web-ui/src/components/nzDataGrid/constants.ts","webpack:///./web-ui/src/components/nzDataGrid/nzDataGrid.tsx","webpack:///./web-ui/src/components/form/checkboxList/checkboxList.tsx","webpack:///./web-ui/src/hooks/useFilters/useFilters.ts","webpack:///./web-ui/src/models/filter/multiSelectStringFilter.ts","webpack:///./web-ui/src/nzds/inputs/month-range-picker/month-range-picker.tsx","webpack:///./web-ui/src/models/metric.ts","webpack:///./web-ui/src/modules/report/models/monthlySite.ts","webpack:///./web-ui/src/models/scopeTwo.ts","webpack:///./web-ui/src/modules/report/models/resourceSummary.ts","webpack:///./web-ui/src/modules/report/util/util.ts","webpack:///./web-ui/src/modules/report/models/activityEmissions.ts","webpack:///./web-ui/src/modules/report/models/report.ts","webpack:///./web-ui/src/modules/report/services/useActivityEmissionsReport/useActivityEmissionsReportUtils.ts","webpack:///./web-ui/src/modules/report/services/useActivityEmissionsReport/useActivityEmissionsReport.tsx","webpack:///./web-ui/src/modules/report/components/downloadCsv/downloadCsv.tsx","webpack:///./web-ui/src/modules/report/components/reporting-link/reporting-link.tsx","webpack:///./web-ui/src/modules/report/components/reportTwoColumnLayout/reportTwoColumnLayout.tsx","webpack:///./web-ui/src/modules/report/components/activityEmissions/activityEmissions.tsx","webpack:///./web-ui/src/modules/report/models/gresb.ts","webpack:///./web-ui/src/modules/report/services/useGresbReport/useGresbReportUtils.ts","webpack:///./web-ui/src/modules/report/services/useGresbReport/useGresbReport.ts","webpack:///./web-ui/src/modules/report/components/dataAlertBase/dataAlertBase.tsx","webpack:///./web-ui/src/modules/report/components/dataAlertComplete/dataAlertComplete.tsx","webpack:///./web-ui/src/modules/report/components/dataAlertInProgress/dataAlertInProgress.tsx","webpack:///./web-ui/src/modules/report/components/dataAlertPreview/dataAlertPreview.tsx","webpack:///./web-ui/src/modules/report/components/dataAlert/dataAlert.tsx","webpack:///./web-ui/src/modules/report/components/dataSummary/dataSummary.tsx","webpack:///./web-ui/src/modules/report/components/downloadPreviewCsv/downloadPreviewCsv.tsx","webpack:///./web-ui/src/modules/report/components/reportLayout/reportLayout.tsx","webpack:///./web-ui/src/modules/report/components/gresb/gresb.tsx","webpack:///./web-ui/src/modules/report/models/gri.ts","webpack:///./web-ui/src/modules/report/services/useGriReport/useGriReportUtils.ts","webpack:///./web-ui/src/modules/report/services/useGriReport/useGriReport.ts","webpack:///./web-ui/src/modules/report/components/gri/gri.tsx","webpack:///./web-ui/src/models/filter/singleSelectStringFilter.ts","webpack:///./web-ui/src/nzds/inputs/autocomplete/autocomplete.tsx","webpack:///./web-ui/src/modules/report/services/useResourceSummaryReport/useResourceSummaryReportUtils.ts","webpack:///./web-ui/src/services/useMonthlySiteData/useMonthlySiteData.tsx","webpack:///./web-ui/src/modules/report/services/useMonthlySiteReport/useMonthlySiteReportUtils.ts","webpack:///./web-ui/src/modules/report/components/reportSummary/advancedReportingTools/advancedReportingTools.tsx","webpack:///./web-ui/src/modules/report/components/monthlySiteData/monthlySiteData.tsx","webpack:///./web-ui/src/modules/report/services/useMonthlySiteReport/useMonthlySiteReport.tsx","webpack:///./web-ui/src/modules/report/components/monthlySiteDataResolver/monthlySiteDataResolver.tsx","webpack:///./web-ui/src/components/toggleButtonList/toggleButtonList.tsx","webpack:///./web-ui/src/components/weightUnitToggle/weightUnitToggle.tsx","webpack:///./web-ui/src/modules/report/services/useResourceSummaryReport/useResourceSummaryReport.ts","webpack:///./web-ui/src/modules/report/components/reportSummary/departmentSelector/departmentSelector.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/reportSummaryUtils.ts","webpack:///./web-ui/src/components/if/loading/provideChildrenUnlessLoading.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableContent/virtualizedReportingTableContent.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/resourceMetricDisplayUnit/resourceMetricDisplayUnit.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/resourceMetricHeader/resourceMetricHeader.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableHeader/virtualizedReportingTableHeader.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableTotalRow/virtualizedReportingTableTotalRow.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTable.tsx","webpack:///./web-ui/src/modules/report/components/reportSummary/reportSummary.tsx","webpack:///./web-ui/src/modules/report/components/reportingCard/reportingCard.tsx","webpack:///./web-ui/src/modules/report/components/reporting-cards/reporting-cards.tsx","webpack:///./web-ui/src/modules/report/components/reporting/reporting.tsx","webpack:///./web-ui/src/models/filter/booleanFilter.ts","webpack:///./web-ui/src/models/filter/multiSelectNumberFilter.ts","webpack:///./web-ui/src/models/filter/singleSelectNumberFilter.ts","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThreeDataLevel/scopeThreeDataLevel.tsx","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThreeDataPreview/scopeThreeDataPreview.tsx","webpack:///./web-ui/src/modules/report/models/scopeThree.ts","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThreeUtils.ts","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThree.tsx","webpack:///./web-ui/src/modules/report/components/scopeThreeResolver/scopeThreeResolver.tsx","webpack:///./web-ui/src/modules/report/pages/sigma-report-route/sigma-report-route.tsx","webpack:///./web-ui/src/modules/report/routes.tsx","webpack:///./web-ui/src/modules/settings/components/settings/settings.tsx","webpack:///./web-ui/src/modules/settings/routes.tsx","webpack:///./web-ui/src/components/dashboard/useDashboardContext.ts","webpack:///./web-ui/src/components/panel.tsx","webpack:///./web-ui/src/components/overflowTooltip/overflowTooltip.tsx","webpack:///./web-ui/src/components/financialSummary/bundledSiteFinancialSummaryCardItem.tsx","webpack:///./web-ui/src/components/financialSummary/bundledSiteFinancialSummaryCardTitle.tsx","webpack:///./web-ui/src/components/financialSummary/bundledSiteFinancialSummaryCard.tsx","webpack:///./web-ui/src/components/financialSummary/bundledSiteFinancialSummaryPanel.tsx","webpack:///./web-ui/src/hooks/useMeasure/useMeasure.ts","webpack:///./web-ui/src/components/currency/currencyWithPreciseFraction/currencyWithPreciseFraction.tsx","webpack:///./web-ui/src/components/currency/currencyRange/currencyRange.tsx","webpack:///./web-ui/src/components/graphFlyout.tsx","webpack:///./web-ui/src/components/graphLegend.tsx","webpack:///./web-ui/src/components/tooltip.tsx","webpack:///./web-ui/src/components/graph/xAxis.ts","webpack:///./web-ui/src/components/graph/barBackgroundComponent.tsx","webpack:///./web-ui/src/components/graph/avgCarbonIntensityLine.tsx","webpack:///./web-ui/src/components/graph/avgCostLine.tsx","webpack:///./web-ui/src/components/graph/curtailmentIcon.tsx","webpack:///./web-ui/src/components/graph/groupLabel.tsx","webpack:///./web-ui/src/components/graph/meterLine.tsx","webpack:///./web-ui/src/components/graph/barGraphComponent.tsx","webpack:///./web-ui/src/components/graph/yAxis.ts","webpack:///./web-ui/src/components/graph/secondaryYAxis.tsx","webpack:///./web-ui/src/components/monthlySummary/monthlyEnergyProfileGraph.tsx","webpack:///./web-ui/src/components/monthlySummary/monthlyEnergyProfileGraphContainer.tsx","webpack:///./web-ui/src/components/monthlySummary/monthlySummaryGraphPanel.tsx","webpack:///./web-ui/src/models/loadAggregationPoint.ts","webpack:///./web-ui/src/models/price.ts","webpack:///./web-ui/src/modules/site/services/useSiteLoadAggregationPointAndPrices/useSiteLoadAggregationPointAndPricesUtils.ts","webpack:///./web-ui/src/modules/site/services/useSiteLoadAggregationPointAndPrices/useLAP.tsx","webpack:///./web-ui/src/modules/site/services/useSiteLoadAggregationPointAndPrices/useLAPPrices.tsx","webpack:///./web-ui/src/modules/site/services/useYtdMeteredKwh/useYtdMeteredKwhUtils.ts","webpack:///./web-ui/src/modules/site/services/useYtdMeteredKwh/useYtdMeteredKwh.ts","webpack:///./web-ui/src/components/priceDisplay.tsx","webpack:///./web-ui/src/components/dayAheadPricing.tsx","webpack:///./web-ui/src/components/pricingOverview.tsx","webpack:///./web-ui/src/components/siteOverview.tsx","webpack:///./web-ui/src/modules/site/services/useSiteLoadAggregationPointAndPrices/useSiteLoadAggregationPointAndPrices.tsx","webpack:///./web-ui/src/models/filter/dateFilter.ts","webpack:///./web-ui/src/nzds/inputs/date-range-picker/date-range-picker.tsx","webpack:///./web-ui/src/modules/site/services/useBundledEmissionsAndEnergyVolume/useBundledEmissionsAndEnergyVolumeUtils.ts","webpack:///./web-ui/src/modules/site/services/useBundledEmissionsAndEnergyVolume/useBundledEmissionsAndEnergyVolume.ts","webpack:///./web-ui/src/models/etagHour.ts","webpack:///./web-ui/src/models/serviceHour.ts","webpack:///./web-ui/src/modules/site/services/useDirectEmissionsAndEnergyVolume/useDirectEmissionsAndEnergyVolumeUtils.ts","webpack:///./web-ui/src/modules/site/services/useDirectEmissionsAndEnergyVolume/useDirectEmissionsAndEnergyVolume.ts","webpack:///./web-ui/src/models/eiaCalculatedHour.ts","webpack:///./web-ui/src/modules/site/services/useEia/useEiaUtils.ts","webpack:///./web-ui/src/modules/site/services/useEia/useEia.ts","webpack:///./web-ui/src/modules/site/services/useElectricityMeter/useElectricityMeterUtils.ts","webpack:///./web-ui/src/modules/site/services/useElectricityMeter/useElectricityMeter.ts","webpack:///./web-ui/src/modules/site/services/useMonthSummaries/useMonthSummariesUtils.ts","webpack:///./web-ui/src/modules/site/services/useMonthSummaries/useMonthSummaries.ts","webpack:///./web-ui/src/modules/site/services/useMonthSummariesMinMaxDates/useMonthSummariesMinMaxDatesUtils.ts","webpack:///./web-ui/src/modules/site/services/useMonthSummariesMinMaxDates/useMonthSummariesMinMaxDates.ts","webpack:///./web-ui/src/modules/site/services/useServiceHourMinMaxDates/useServiceHourMinMaxDates.ts","webpack:///./web-ui/src/modules/site/util/api/api.ts","webpack:///./web-ui/src/modules/site/services/useSiteEnergyAllocation/useSiteEnergyAllocationUtils.ts","webpack:///./web-ui/src/modules/site/services/useSiteEnergyAllocation/useSiteEnergyAllocation.ts","webpack:///./web-ui/src/modules/site/services/useSiteExtraAttributes/useSiteExtraAttributes.tsx","webpack:///./web-ui/src/modules/site/services/useSiteExtraAttributes/useSiteExtraAttributesUtils.ts","webpack:///./web-ui/src/modules/site/services/useSiteFinancialSummaries/useSiteFinancialSummaries.ts","webpack:///./web-ui/src/modules/site/services/useSiteFinancialSummaries/useSiteFinancialSummariesUtils.ts","webpack:///./web-ui/src/models/forecastDay.ts","webpack:///./web-ui/src/modules/site/services/useForecastDays/useForecastDaysUtils.ts","webpack:///./web-ui/src/modules/site/services/useForecastDays/useForecastDays.ts","webpack:///./web-ui/src/models/forecastHour.ts","webpack:///./web-ui/src/modules/site/services/useForecastHours/useForecastHoursUtils.ts","webpack:///./web-ui/src/modules/site/services/useForecastHours/useForecastHours.ts","webpack:///./web-ui/src/modules/site/components/electricity/dailySummaryPanel/energyMetrics/energyMetrics.tsx","webpack:///./web-ui/src/modules/site/components/electricity/dailySummaryPanel/energyProfile/energyProfileGraph/energyProfileGraph.tsx","webpack:///./web-ui/src/utils/timeHelpers.ts","webpack:///./web-ui/src/modules/site/components/electricity/dailySummaryPanel/energyProfile/energyProfileUtils.ts","webpack:///./web-ui/src/modules/site/components/electricity/dailySummaryPanel/energyProfile/energyProfile.tsx","webpack:///./web-ui/src/modules/site/components/electricity/dailySummaryPanel/dailySummaryPanel.tsx","webpack:///./web-ui/src/modules/site/services/useSiteProRatedUsageMeters/useSiteProRatedUsageMetersUtils.ts","webpack:///./web-ui/src/modules/site/services/useSiteProRatedUsageMeters/useSiteProRatedUsageMeters.ts","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/electricityHeaderMeterData/electricityHeaderMeterDataCard/electricityHeaderMeterDataCard.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/electricityHeaderMeterData/electricityHeaderMeterDataUtils.ts","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/electricityHeaderMeterData/electricityHeaderMeterData.tsx","webpack:///./web-ui/src/components/settingsPopup.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/electricitySettings/electricitySettings.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/cellRenderer/cellRenderer.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/headerTable/headerTable.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/modalMetricsConsumptionUtils.ts","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/modalMetricsConsumption.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/electricityHeader.tsx","webpack:///./web-ui/src/modules/site/components/electricity/sitePerformance/buildingMetrics/buildingMetrics.tsx","webpack:///./web-ui/src/modules/site/components/electricity/sitePerformance/carbonMetrics/carbonMetrics.tsx","webpack:///./web-ui/src/modules/site/components/electricity/sitePerformance/sitePerformance.tsx","webpack:///./web-ui/src/modules/site/components/electricity/electricity.tsx","webpack:///./web-ui/src/modules/site/services/useMonthlyElectricityDateRange/useMonthlyElectricityDateRange.ts","webpack:///./web-ui/src/modules/site/services/useNonMonthlyElectricityDateRange/useNonMonthlyElectricityDateRange.ts","webpack:///./web-ui/src/modules/site/services/useNaturalGasAvailableMonths/useNaturalGasAvailableMonthsUtil.tsx","webpack:///./web-ui/src/modules/site/services/useNaturalGasAvailableMonths/useNaturalGasAvailableMonths.tsx","webpack:///./web-ui/src/components/naturalGasPanel.tsx","webpack:///./web-ui/src/services/utils/utils.ts","webpack:///./web-ui/src/modules/site/services/useMonthlyConsumptionGraphData/useMonthlyConsumptionGraphDataUtil.ts","webpack:///./web-ui/src/modules/site/services/useSiteDailyNaturalGasEmissions/useSiteDailyNaturalGasEmissionsUtils.ts","webpack:///./web-ui/src/modules/site/services/useSiteDailyNaturalGasEmissions/useSiteDailyNaturalGasEmissions.tsx","webpack:///./web-ui/src/modules/site/services/useMonthlySiteNaturalGasEmissionsData/useMonthlySiteNaturalGasEmissionsDataUtil.ts","webpack:///./web-ui/src/modules/site/services/useMonthlySiteNaturalGasEmissionsData/useMonthlySiteNaturalGasEmissionsData.tsx","webpack:///./web-ui/src/modules/site/services/useMonthlyConsumptionGraphData/useMonthlyConsumptionGraphData.tsx","webpack:///./web-ui/src/modules/site/components/naturalGas/naturalGas.tsx","webpack:///./web-ui/src/modules/site/services/useNaturalGasDateRange/useNaturalGasDateRange.ts","webpack:///./web-ui/src/modules/site/services/useMonthlyEmissionsGraphData/useMonthlyEmissionsGraphDataUtil.ts","webpack:///./web-ui/src/modules/site/components/siteAnalysis/siteAnalysis.tsx","webpack:///./web-ui/src/modules/site/services/useEmissionsDateRange/useEmissionsDateRange.ts","webpack:///./web-ui/src/modules/site/services/useMonthlyEmissionsGraphData/useMonthlyEmissionsGraphData.tsx","webpack:///./web-ui/src/modules/site/pages/site-details-route/site-details-route.tsx","webpack:///./web-ui/src/services/toggle/useToggle.ts","webpack:///./web-ui/src/modules/site/components/siteInfo/siteInfo.tsx","webpack:///./web-ui/src/modules/site/pages/site-index-route/site-index-route.tsx","webpack:///./web-ui/src/modules/site/pages/site-overview-route/site-overview-route.tsx","webpack:///./web-ui/src/components/compliance/compliance-dates/compliance-dates.tsx","webpack:///./web-ui/src/components/compliance/compliance-emission-factor-name/compliance-emission-factor-name.tsx","webpack:///./web-ui/src/components/compliance/compliance-emission-factor-value/compliance-emission-factor-value.tsx","webpack:///./web-ui/src/components/compliance/compliance-fines/compliance-fines.tsx","webpack:///./web-ui/src/components/compliance/compliance-icon/complianceIcon.tsx","webpack:///./web-ui/src/components/compliance/compliance-status/compliance-status.tsx","webpack:///./web-ui/src/components/compliance/compliance-grid-legend/compliance-grid-legend.tsx","webpack:///./web-ui/src/components/compliance/compliance-reduction/compliance-reduction.tsx","webpack:///./web-ui/src/components/compliance/compliance-standard/compliance-standard.tsx","webpack:///./web-ui/src/components/compliance/compliance-standards/compliance-standards.tsx","webpack:///./web-ui/src/components/compliance/compliance-status-reduced/compliance-status-reduced.tsx","webpack:///./web-ui/src/components/compliance/compliance-target-usage-intensity/compliance-target-usage-intensity.tsx","webpack:///./web-ui/src/components/compliance/compliance-total-emissions/compliance-total-emissions.tsx","webpack:///./web-ui/src/components/compliance/compliance-usage-intensity/compliance-usage-intensity.tsx","webpack:///./web-ui/src/nzds/inputs/year-picker/year-picker.tsx","webpack:///./web-ui/src/utils/date/use-year/use-save-year.ts","webpack:///./web-ui/src/utils/date/use-year/use-search-params-year.ts","webpack:///./web-ui/src/utils/date/use-year/use-year.ts","webpack:///./web-ui/src/modules/site/services/use-get-site-explorer/get-site-explorer.ts","webpack:///./web-ui/src/modules/site/services/use-get-site-explorer/use-get-site-explorer.ts","webpack:///./web-ui/src/components/planning-cell/planning-cell.tsx","webpack:///./web-ui/src/modules/site/models/sites.ts","webpack:///./web-ui/src/modules/site/pages/utils/use-common-site-explorer-grid-columns/use-common-site-explorer-grid-columns.tsx","webpack:///./web-ui/src/modules/site/pages/utils/use-computed-site-rows/use-computed-site-rows.ts","webpack:///./web-ui/src/modules/site/pages/utils/use-sites-with-plans.ts","webpack:///./web-ui/src/modules/site/components/edit-site-confirm-content/edit-site-confirm-content.tsx","webpack:///./web-ui/src/modules/site/pages/utils/use-handle-process-row-update/use-handle-process-row-update.tsx","webpack:///./web-ui/src/components/combined-volume-percent/combined-volume-percent.tsx","webpack:///./web-ui/src/modules/site/pages/utils/use-common-site-grid-columns/use-common-site-grid-columns.tsx","webpack:///./web-ui/src/utils/render-row-number-paginated.ts","webpack:///./web-ui/src/modules/site/pages/sites-compliance-route/utils/use-compliance-grid-columns/use-compliance-grid-columns.tsx","webpack:///./web-ui/src/utils/site/use-common-site-data-grid-columns/use-common-site-data-grid-columns.tsx","webpack:///./web-ui/src/modules/site/pages/sites-compliance-route/sites-compliance-route.tsx","webpack:///./web-ui/src/nzds/data-grid/constants.ts","webpack:///./web-ui/src/modules/site/services/use-site-plans/use-site-plans.ts","webpack:///./web-ui/src/modules/site/pages/sites-decarbonize-route/utils/use-decarbonize-grid-columns/use-decarbonize-grid-columns.tsx","webpack:///./web-ui/src/modules/site/pages/sites-decarbonize-route/sites-decarbonize-route.tsx","webpack:///./web-ui/src/modules/site/pages/sites-index-route/sites-index-route.tsx","webpack:///./web-ui/src/modules/site/pages/sites-overview-route/utils/use-overview-grid-columns/use-overview-grid-columns.tsx","webpack:///./web-ui/src/modules/site/pages/sites-overview-route/sites-overview-route.tsx","webpack:///./web-ui/src/components/performance/performance-cell/performance-cell.tsx","webpack:///./web-ui/src/components/performance/performance-tier/performance-tier-icon/performance-tier-icon.tsx","webpack:///./web-ui/src/components/performance/performance-tier/performance-tier.tsx","webpack:///./web-ui/src/components/performance/performance-grid-legend/performance-grid-legend.tsx","webpack:///./web-ui/src/modules/site/pages/sites-performance-route/components/performance-tooltip-legend/performance-tooltip-legend.tsx","webpack:///./web-ui/src/modules/site/pages/sites-performance-route/utils/use-performance-grid-columns/use-performance-grid-columns.tsx","webpack:///./web-ui/src/modules/site/pages/sites-performance-route/sites-performance-route.tsx","webpack:///./web-ui/src/modules/site/routes.tsx","webpack:///./web-ui/src/services/dialog/useDialog.tsx","webpack:///./web-ui/src/components/form/fieldWrapper.tsx","webpack:///./web-ui/src/components/form/resetButton.tsx","webpack:///./web-ui/src/components/form/createEntityButton/createEntityButton.tsx","webpack:///./web-ui/src/components/form/cancelButton/cancelButton.tsx","webpack:///./web-ui/src/components/form/utils/selectOptions.ts","webpack:///./web-ui/src/components/form/useOptions.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/tamForm.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/tamResetButton.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/tamSubmitButton.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/baseInputs/tamSelectField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/formFields/tamFormSelectField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/baseInputs/tamTextField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/formFields/tamFormTextField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/baseInputs/tamYesNoField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/formFields/tamFormYesNoField.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/baseInputs/tamDateTimePicker.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/formFields/tamFormDateTimePicker.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/schemas/billingGroup.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogBillingGroupCreateContent/orgViewDialogBillingGroupCreateContent.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/schemas/department.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogDepartmentCreateContent/orgViewDialogDepartmentCreateContent.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/schemas/meter.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogMeterCreateContent/orgViewDialogMeterCreateContent.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/schemas/site.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogSiteCreateContent/orgViewDialogSiteCreateContent.tsx","webpack:///./web-ui/src/modules/tamAdmin/models/onboarding/onboarding.ts","webpack:///./web-ui/src/modules/tamAdmin/util/onboarding/onboarding.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailFooter/orgViewDetailFooter.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewBillingGroupDetail/orgViewBillingGroupDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDeleteDialog/orgViewDeleteDialog.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailMenuButton/orgViewDetailMenuButton.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailHeader/orgViewDetailHeader.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailCreateButton/orgViewDetailCreateButton.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailEntityDeleteButton/useEntityDelete/useEntityDelete.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailEntityDeleteButton/orgViewDetailEntityDeleteButton.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDetailLinkSection/orgViewDetailLinkSection.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialog.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/billing-group-detail/billing-group-detail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewMeterDetail/orgViewMeterDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/meter-detail/meter-detail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewSiteDetail/orgViewSiteDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/site-detail/site-detail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminPageHeader/tamAdminPageHeader.tsx","webpack:///./web-ui/src/modules/tamAdmin/hooks/useTabIndex/useTabIndex.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgLayout/orgLayout.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewContainer/orgViewContainer.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewDepartmentDetail/orgViewDepartmentDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewList/orgViewList.tsx","webpack:///./web-ui/src/services/locale/useLocales.ts","webpack:///./web-ui/src/modules/tamAdmin/hooks/useIsFlexibleHierarchyEnabled/useIsFlexibleHierarchyEnabled.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamForm/schemas/organization.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgViewOrganizationDetail/orgViewOrganizationDetail.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/orgView/orgView.tsx","webpack:///./web-ui/src/services/department/useDepartmentCounts.ts","webpack:///./web-ui/src/components/featureReleaseCallout/featureReleaseCallout.tsx","webpack:///./web-ui/src/modules/tamAdmin/util/tamAdmin/tamAdmin.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/tamAdminOrganizationTable/tamAdminOrganizationTableContent/tamAdminOrganizationTableContent.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/tamAdminOrganizationTable/tamAdminOrganizationTableHeader/tamAdminOrganizationTableHeader.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/tamAdminOrganizationTable/tamAdminOrganizationTable.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminOnboarding/tamAdminOnboarding.tsx","webpack:///./web-ui/src/modules/tamAdmin/contexts/data-grid-provider.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/create-ou-dialog/schema.ts","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/create-ou-dialog/create-ou-dialog.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/edit-ou-dialog/schema.ts","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/edit-ou-dialog/edit-ou-dialog.tsx","webpack:///./web-ui/src/modules/tamAdmin/hooks/use-batch-update-org-units/use-batch-update-org-units.ts","webpack:///./web-ui/src/modules/tamAdmin/hooks/use-batch-update-sites/use-batch-update-sites.ts","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/move-items-dialog/schema.ts","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/move-items-dialog/utils.ts","webpack:///./web-ui/src/modules/tamAdmin/components/dialog/move-items-dialog/move-items-dialog.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/delete-groups-button/delete-groups-button.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/move-items-button/move-items-button.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/ou-display-cell/ou-display-cell.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/site-display-cell/site-display-cell.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/hierarchy-grouping-cell/hierarchy-grouping-cell.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/organize-data-grid/organize-data-grid.tsx","webpack:///./web-ui/src/modules/tamAdmin/hooks/use-hierarchy-tree-data/use-organizational-hierarchy.ts","webpack:///./web-ui/src/modules/tamAdmin/hooks/use-hierarchy-tree-data/utils.ts","webpack:///./web-ui/src/modules/tamAdmin/hooks/use-hierarchy-tree-data/use-hierarchy-tree-data.ts","webpack:///./web-ui/src/modules/tamAdmin/pages/organize-route/organize-route.tsx","webpack:///./web-ui/src/modules/tamAdmin/pages/overview-route/overview-route.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/create-site-button/create-site-button.tsx","webpack:///./web-ui/src/modules/tamAdmin/pages/site-list-route/site-list-route.tsx","webpack:///./web-ui/src/modules/tamAdmin/routes.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminUserMenu/tamAdminUserMenu.tsx","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdminAppBar/tamAdminAppBar.tsx","webpack:///./web-ui/src/modules/tamAdmin/module.ts","webpack:///./web-ui/src/modules/tamAdmin/components/tamAdmin/tamAdmin.tsx","webpack:///./web-ui/src/utils/queryClient.ts","webpack:///./web-ui/src/services/sso/use-sso-for-internal-users.ts","webpack:///./web-ui/src/components/forgot-password/forgot-password.tsx","webpack:///./web-ui/src/components/forgot-password/forgot-password-utils.ts","webpack:///./web-ui/src/components/organization-guard/organization-guard.tsx","webpack:///./web-ui/src/components/form/password-text-field/password-text-field.tsx","webpack:///./web-ui/src/components/reset-password/reset-password-form/reset-password-form.schema.ts","webpack:///./web-ui/src/components/reset-password/reset-password-form/reset-password-form.tsx","webpack:///./web-ui/src/components/reset-password/reset-password-invalid/reset-password-invalid.tsx","webpack:///./web-ui/src/components/reset-password/reset-password-success/reset-password-success.tsx","webpack:///./web-ui/src/components/reset-password/reset-password-utils.ts","webpack:///./web-ui/src/components/reset-password/reset-password.tsx","webpack:///./web-ui/src/components/organizationResolver/organizationResolver.tsx","webpack:///./web-ui/src/services/pendo/usePendoUtils.ts","webpack:///./web-ui/src/services/pendo/use-pendo-init.ts","webpack:///./web-ui/src/services/pendo/usePendo.ts","webpack:///./web-ui/src/components/route/authenticated-route/authenticated-route.tsx","webpack:///./web-ui/src/services/datadog-rum/use-datadog-rum-set-user.ts","webpack:///./web-ui/src/services/gtag/use-gtag-set-user.ts","webpack:///./web-ui/src/components/sign-up/sign-up.schema.ts","webpack:///./web-ui/src/components/sign-up/verify-email/verify-email.tsx","webpack:///./web-ui/src/components/sign-up/sign-up.tsx","webpack:///./web-ui/src/components/login/login.schema.ts","webpack:///./web-ui/src/components/login/login.tsx","webpack:///./web-ui/src/components/signIn/signIn.tsx","webpack:///./web-ui/src/components/validate-account/re-send.schema.ts","webpack:///./web-ui/src/components/validate-account/validate-account.tsx","webpack:///./web-ui/src/components/app/app.tsx","webpack:///./web-ui/src/components/logo/nzero-symbol-left.tsx","webpack:///./web-ui/src/components/logo/nzero-symbol-right.tsx","webpack:///./web-ui/src/components/route/app-loader/app-loader.tsx","webpack:///./web-ui/src/styles/spectrum.ts","webpack:///./web-ui/src/styles/theme.ts","webpack:///./app/javascript/packs/application.tsx","webpack:///./web-ui/src/models/unit.ts","webpack:///./web-ui/src/models/billingGroup.ts","webpack:///./web-ui/src/models/department.ts","webpack:///./web-ui/src/models/organizationEmissions.ts","webpack:///./web-ui/src/models/organization.ts","webpack:///./web-ui/src/utils/currency.ts","webpack:///./web-ui/src/models/currency.ts","webpack:///./web-ui/src/services/client.ts","webpack:///./web-ui/src/utils/localStorage.ts","webpack:///./web-ui/src/components/weightUnitToggle/weightUnitToggle.module.scss","webpack:///./web-ui/src/services/utils/useQueryKey.ts","webpack:///./web-ui/src/contexts/authentication-context/authentication-context-utils.ts","webpack:///./web-ui/src/contexts/authentication-context/authentication-context.tsx","webpack:///./web-ui/src/contexts/authorization-context/authorization-context.tsx","webpack:///./web-ui/src/contexts/notification-context/notification-context.tsx","webpack:///./web-ui/src/contexts/organization-context/organization-context.tsx","webpack:///./web-ui/src/models/currencyCode.ts","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableContent/virtualizedReportingTableContent.module.scss","webpack:///./web-ui/src/models/user.ts","webpack:///./web-ui/src/utils/urls.ts","webpack:///./web-ui/src/utils/e2e.ts","webpack:///./web-ui/src/modules/settings/contexts/userSettings.provider.tsx","webpack:///./web-ui/src/services/feature/useFeature.ts","webpack:///./web-ui/src/services/feature/useFeature.types.ts","webpack:///./web-ui/src/utils/unit.ts","webpack:///./web-ui/src/models/address.ts","webpack:///./web-ui/src/models/organizationalUnit.ts","webpack:///./web-ui/src/utils/aggregation.ts","webpack:///./web-ui/src/utils/calculations.ts","webpack:///./web-ui/src/utils/chunk-requests.ts","webpack:///./web-ui/src/utils/converters.ts","webpack:///./web-ui/src/utils/d3helpers.ts","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableHeader/virtualizedReportingTableHeader.module.scss","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTableTotalRow/virtualizedReportingTableTotalRow.module.scss","webpack:///./web-ui/src/utils/interceptors.ts","webpack:///./web-ui/src/utils/object.ts","webpack:///./web-ui/src/services/utils/createRenamedQueryData/createRenamedQueryData.ts","webpack:///./web-ui/src/services/utils/useRenamedQueryResult/useRenamedQueryResult.ts","webpack:///./web-ui/src/services/utils/createRenamedQueryProps/createRenamedQueryProps.ts","webpack:///./web-ui/src/models/fee.ts","webpack:///./web-ui/src/services/types.ts","webpack:///./web-ui/src/icons/weather/rain.svg","webpack:///./web-ui/src/services/utils/createQueryKey.ts","webpack:///./web-ui/src/utils/download.ts","webpack:///./web-ui/src/utils/i18n.ts","webpack:///./web-ui/src/models/error.ts","webpack:///./web-ui/src/modules/settings/util/settings/settings.ts","webpack:///./web-ui/src/state/store.ts","webpack:///./web-ui/src/modules/report/components/reportSummary/departmentSelector/departmentSelector.module.scss","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/cellRenderer/cellRenderer.module.scss","webpack:///./web-ui/src/utils/error.ts","webpack:///./web-ui/src/utils/graph.ts","webpack:///./web-ui/src/utils/measurementSystem.ts","webpack:///./web-ui/src/utils/formatters.ts","webpack:///./web-ui/src/utils/table.ts","webpack:///./web-ui/src/utils/user.ts","webpack:///./web-ui/src/services/utils/useRenameQueryResult/useRenameQueryResult.ts","webpack:///./web-ui/src/models/meterHour.ts","webpack:///./web-ui/src/models/meterSourceType.ts","webpack:///./web-ui/src/models/i18n.ts","webpack:///./web-ui/src/models/location.ts","webpack:///./web-ui/src/models/node.ts","webpack:///./web-ui/src/models/physcialDetails.ts","webpack:///./web-ui/src/models/sink.ts","webpack:///./web-ui/src/models/locale.ts","webpack:///./web-ui/src/assets/images/recommendations/city-street.png","webpack:///./web-ui/src/assets/images/recommendations/knowledge.png","webpack:///./web-ui/src/models/applicationRecord/applicationRecord.ts","webpack:///./web-ui/src/utils/use-user-state/use-user-state.ts","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThreeDataLevel/scopeThreeDataLevel.module.scss","webpack:///./web-ui/src/modules/report/components/scopeThree/scopeThree.module.scss","webpack:///./web-ui/src/icons/weather/clear-day.svg","webpack:///./web-ui/src/modules/site/components/electricity/electricityHeader/modalMetricsConsumption/modalMetricsConsumption.module.scss","webpack:///./web-ui/src/models/api.ts","webpack:///./web-ui/src/services/utils/spraypaint/useSpraypaintModel.ts","webpack:///./web-ui/src/icons/weather/cloudy.svg","webpack:///./web-ui/src/icons/weather/partly-cloudy-day.svg","webpack:///./web-ui/src/utils/api.ts","webpack:///./web-ui/src/modules/about/components/about/about.tsx","webpack:///./web-ui/src/services/utils/index.ts","webpack:///./web-ui/src/services/utils/useInvalidateQueries.ts","webpack:///./web-ui/src/models/energyAllocation.ts","webpack:///./web-ui/src/models/http.ts","webpack:///./web-ui/src/state/reducers.ts","webpack:///./web-ui/src/state/sagas.ts","webpack:///./web-ui/src/components/unauthenticatedAppHeader/unauthenticatedAppHeader.module.scss","webpack:///./web-ui/src/assets/images/nzero-symbol.svg","webpack:///./web-ui/src/assets/images/organizationDashboard/scope-1-no-data.png","webpack:///./web-ui/src/assets/images/organizationDashboard/scope-2-carbon-intensity-no-data.png","webpack:///./web-ui/src/models/measurementSystem.ts","webpack:///./web-ui/src/assets/images/organizationDashboard/scope-2-no-data.png","webpack:///./web-ui/src/assets/images/organizationDashboard/scope-3-no-data.png","webpack:///./web-ui/src/services/fetch-client/client.ts","webpack:///./web-ui/src/modules/site/assets/city street-gray.svg","webpack:///./web-ui/src/assets/images/recommendations/book-shelf.png","webpack:///./web-ui/src/services/organization/useAuthorizedOrganizations.ts","webpack:///./web-ui/src/services/organization/useOrganization.ts","webpack:///./web-ui/src/services/organization/useOrganizations.ts","webpack:///./web-ui/src/services/organization/useOrganizationCounts.ts","webpack:///./web-ui/src/services/organization/useUpdateOrganization.ts","webpack:///./web-ui/src/services/organization/useActiveOrganizationId.ts","webpack:///./web-ui/src/services/organization/organizationSchema.ts","webpack:///./web-ui/src/modules/report/assets/images/gresb-logo.png","webpack:///./web-ui/src/modules/report/assets/images/gri-logo.png","webpack:///./web-ui/src/modules/report/assets/images/report-complete.svg","webpack:///./web-ui/src/modules/report/assets/images/report-in-progress.svg","webpack:///./web-ui/src/modules/report/components/downloadPreviewCsv/images/in-review.svg","webpack:///./web-ui/src/modules/report/components/reportSummary/virtualizedReportingTable/virtualizedReportingTable.module.scss","webpack:///./web-ui/src/components/overflowTooltip/overflowTooltip.module.scss","webpack:///./web-ui/src/icons/warning.svg","webpack:///./web-ui/src/icons/help.svg","webpack:///./web-ui/src/icons/weather/clear-night.svg","webpack:///./web-ui/src/icons/weather/fog.svg","webpack:///./web-ui/src/icons/weather/partly-cloudy-night.svg","webpack:///./web-ui/src/icons/weather/sleet.svg","webpack:///./web-ui/src/icons/weather/snow.svg","webpack:///./web-ui/src/icons/weather/wind.svg","webpack:///./web-ui/src/components/sign-up/verify-email/verify-email.png"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","key","info","error","Bill","_dec","Model","_dec2","Attr","_Bill","_ApplicationRecord","_this","_classCallCheck","_len","arguments","args","Array","_key","_callSuper","concat","_descriptor","_assertThisInitialized","_inherits","ApplicationRecord","jsonapiType","_class2","initializer","_class","fetchSiteBillCount","fn","_ref","_callee","siteId","response","_context","where","site_id","stats","total","per","all","res","meta","count","self","apply","err","undefined","_x","SiteEmission","_SiteEmission","_initializerDefineProperty","_applyDecoratedDescriptor","fetchSiteSiteEmissionCount","_asyncToGenerator","target","property","descriptor","context","_defineProperties","props","_toPropertyKey","input","hint","prim","toPrimitive","String","Number","_toPrimitive","derived","_getPrototypeOf","_possibleConstructorReturn","Reflect","construct","sham","Proxy","Boolean","valueOf","isNativeReflectConstruct","bind","ReferenceError","_setPrototypeOf","decorators","desc","reduce","decorator","Site","BelongsTo","_dec3","Location","_dec4","_dec5","_dec6","_dec7","Sink","_dec8","HasMany","Node","_dec9","HasOne","_dec10","Address","_dec11","PhysicalDetail","_dec12","_dec13","_dec14","_dec15","_dec16","_dec17","_dec18","_dec19","_dec20","_dec21","_dec22","_dec23","_dec24","_dec25","_dec26","_dec27","_dec28","_dec29","_dec30","_dec31","_dec32","_dec33","_dec34","_dec35","_dec36","_dec37","_dec38","_dec39","_dec40","_dec41","_Site","instance","Constructor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","protoProps","staticProps","subClass","superClass","this","electricityType","fetchOrganizationSiteCount","orgId","organization_id","fetchSiteCounts","_ref2","_callee2","_yield$Promise$all","_yield$Promise$all2","bills","siteEmissions","billingGroups","counts","_context2","fetchSiteBillingGroupCount","_slicedToArray","_x2","fetchDepartmentSiteCount","_ref3","_callee3","departmentId","_context3","department_id","_x3","createOutputStatus","serviceName","serviceAction","inputObject","_objectSpread","fromEntries","mutationStatusNames","map","statusKey","upperFirst","useMutationReturnHandle","outputStatus","useMemo","outputMutation","mutate","_defineProperty","serviceEntityKey","newAttributes","createOutputMutation","_marked","fetchSupportedCurrencies","_marked2","watchUserSettings","serverSupportedCurrencies","uiSupportedCurrencyCodes","fetchCurrencies","currenciesToCurrencyCodes","filter","serverCurrencyCode","isSupportedCurrency","alphaCode","put","loadSupportedCurrenciesSuccess","t0","loadSupportedCurrenciesFail","handleError","saveCurrencyChange","payload","saveCurrency","saveLanguageChange","i18nService","saveLanguage","getContext","SagaContextKeys","i18n","changeLanguage","saveDefaultLanguage","_context4","_context5","takeEvery","changeCurrency","takeLatest","loadSupportedCurrencies","changeLocale","setInitialUserLocale","Order","createRelationship","relationshipMeta","relationshipSchema","z","custom","assign","_def","__relationshipMeta","buildOptions","relationshipType","targetName","isArray","getRelationshipMeta","schema","_schema$_def$__relati","_schema$_def$innerTyp","innerType","string","belongsTo","hasMany","hasOne","schemaName","zodObject","attributeNames","relationshipNames","relationshipsMeta","isRelationship","zodSchema","object","relationshipsByName","isHydrated","hydrate","schemasArg","schemas","mapValues","relationshipsByTarget","relationshipName","targetSchema","generateValidation","includes","form","pick","shape","obj","fieldName","baseSchema","ZodNullable","nullable","array","biomassGreen","Color","black","black25","coalBrown","darkBlue","darkCarbon","darkGray","dustyGray","gasBrown","geothermalBlue","hydroBlue","lightGray","lighterGray","lightGreen","lightSolarOrange","nuclearGreen","offWhite","pickledBluewood","solidGray","solarYellow","transparent","white","windGreen","coral","darkestTeal","lightestBlue","lightestTeal","newBlue","placeholder","fossilFuelGray","grayScale","darkSlateBlue","cometBlue","lightSlateBlue","linkWater","ghostWhite","colorDarken","Map","color","desaturate","primary25","primary50","primary100","primary200","primary300","primary400","darken","primary500","primary600","primary700","primary800","cerulean25","lighten","cerulean50","cerulean100","cerulean200","cerulean300","cerulean400","cerulean500","cerulean600","cerulean700","cerulean800","gray25","gray50","gray100","gray200","gray300","gray400","gray500","gray600","gray700","gray800","green25","green50","green100","green200","green300","green400","green500","green600","green700","green800","red25","red50","red100","red200","red300","red400","red500","red600","red700","red800","mustard25","mustard50","mustard100","mustard200","mustard300","mustard400","mustard500","mustard600","mustard700","mustard800","peach25","peach50","peach100","peach200","peach300","peach400","peach500","peach600","peach700","peach800","purple25","purple50","purple100","purple200","purple300","purple400","purple500","purple600","purple700","purple800","carbonIntensity1","carbonIntensity2","carbonIntensity3","carbonIntensity4","carbonIntensity5","carbonIntensity6","getProductColor","sourceType","getUserSettingsSelector","state","userSettings","initialState","currency","defaultCurrencyCode","hasLoadedSupportedCurrencies","isLoadingSupportedCurrencies","supportedCurrencies","userSettingsSlice","createSlice","reducers","action","setInitialUserCurrency","_state","_action","setUserSettings","_userSettingsSlice$ac","actions","Meter","MeterSourceType","_Meter","fetchBillingGroupMeterCount","billingGroupId","billing_group_id","fetchOrganizationMeterCount","fetchMeterCounts","meterId","meterHours","fetchMeterMeterHourCount","appCompanyName","KILO","BTU_PER_GJ","MAX_CUSTOMER_BILLING_PERIOD_DAYS","MAX_MONTHS_IN_RANGE","DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER","EMPTY_DATA_PLACEHOLDER","ORGANIZATION_DASHBOARD_TICK_TEXT_LIMIT","HOURS_IN_DAY","KWH_PER_MWH","METERED_LINE","CENTS_PER_DOLLAR","LBS_PER_METRIC_TON","LBS_PER_KG","GJ_PER_KWH","GJ_PER_THERM","KG_PER_METRIC_TON","CUBIC_METERS_PER_US_LIQUID_GALLON","SQUARE_FOOT_PER_SQUARE_METER","FOOT_PER_METER","GRID_CO2E_RATE_MAP","KBTU_PER_KWH","KBTU_PER_THERM","THERMS_PER_MMBTU","LEFT_NAV_COLLAPSED_WIDTH","LEFT_NAV_EXPANDED_WIDTH","APPNAME","SOLAR_TO_GRID","CSV_LIMITER","CSV_NEW_LINE","MONTHS","set","EnergyUnit","TOKEN","WATTAGE","GRAPH_DETAIL_MODAL_ORIENTATION","GRAPH_COST_OR_CARBON_INTENSITY","TIME_RANGES","yAxisText","timeRange","DAY","YEAR","bundledCustomerCarbonDelimiters","ratio","stroke","fill","svgRotationOffset","Math","PI","CarbonIntensityGraphDefaults","range","domain","intervals","outlineThickness","annulusThicknessRatio","data","overlayData","units","UnitName","MetricTonsOfCarbonDioxideEquivalentPerMegawattHour","defaultFormatConfig","maximumFractionDigits","defaultOptionsConfig","useAccountingFormatWhenNegative","defaultEmptyDecimalOptions","includeZero","DEFAULT_DECIMAL_PLACEHOLDER","isDecimalEmpty","options","numericValue","config","isFinite","translateDecimal","format","formatConfig","optionsConfig","signDisplay","parseFloat","minimumSignificantDigits","maximumSignificantDigits","significantified","Intl","NumberFormat","LanguageRegion","EnglishUnitedStates","replace","isInteger","precision","minimumFractionDigits","showAccountingParenthesis","Translation","Common","Decimal","formatParams","translateDecimalWithPlaceholder","replaceZeroWithPlaceholder","translateEmissionDecimal","setMaxProductOrder","allocationsByHours","allocationsForHour","allocationsByIds","allocationsById","minStackOrder","min","alloc","stackOrder","allocationById","productOrder","setStackOrder","groupBy","allocationForHour","allocationId","ProductType","productsUsingImbalanceKwh","ShortImbalance","LongImbalance","ReceivedBundled","DeliveredBundled","Product","attrs","cost","kwh","co2eLbs","id","imbalanceKwh","price","priceRange","taggedKwh","order","emissionsRates","confirmId","lineLossCost","dailyAvgKwh","productType","energyProviderName","carbonIntensity","confirmName","newProduct","products","sortedProductIds","sortedIds","flattenedProducts","flatten","productId","find","product","strokeColor","fillColor","productArrays","productsById","maxOrders","toPairs","displayOrders","displaySortOrder","max","sortBy","maxOrder","last","energyAllocations","defaultProduct","empty","aggregateProduct","currAllocation","_aggregatePrice","displayPrice","currentPriceAndNotAggregatePrice","priceChangedAndNoPriceRange","priceIsValidAndRangeIsNotNull","aggregatePrice","displayCost","aggregateCost","aggregateImbalance","aggregateCo2eLbs","isResourceBased","confirm","hour","keyValuePair","aggregateProductForAllocation","_keyValuePair","allocationsForId","productFromAllocations","aggregateProductFromEnergyAllocations","get","_parsedAllocationId$","parsedAllocationId","split","shortImbalance","longImbalance","curtailment","receivedEnergy","deliveredEnergy","newId","deriveProductType","setCost","isBundledEnergyCustomer","Curtailment","FixedConfirm","MarketConfirm","ResourceBasedConfirm","ElectricityType","DirectAccess","Bundled","isNull","directAccessFillColor","bundledFillColor","isDirectAccessEnergyCustomer","resourceBased","fixed","market","HStack","React","createElement","MuiStack","direction","ImpersonateAlert","isNavOpen","_useAuthentication","useAuthentication","activeUser","authenticatedUser","setActiveUser","leftNavWidth","handleCancelClick","useCallback","Box","px","py","sx","backgroundColor","theme","palette","primary","dark","borderRadius","contrastText","left","position","top","transform","zIndex","alignItems","gap","Typography","variant","Button","onClick","size","NzeroLogo","_ref$height","height","_ref$width","width","focusable","viewBox","xmlns","clipPath","clipRule","fillRule","ReportingData","_ReportingData","getDateFormatFromTimeRange","year","clampDateRange","dateRange","bounds","start","isBefore","clone","isAfter","end","isDateRangeWithinBounds","_dateRange$start","_dateRange$end","isBetween","isValidCrossYearDateRange","_dateRange$start2","_dateRange$end2","_dateRange$start3","_dateRange$end3","isValid","getMonthsInRange","startDate","endDate","diff","getDaysInRange","abs","add","getYearMonthDayISOString","month","day","toString","padStart","removeTimeFromISODateString","isoString","_isoString$split$","translateDate","DateTimeFormat","language","timeZone","tz","toDate","convertDateStringDashesToSlashes","date","fetchAvailableReportDates","availableReportDates","min_max_months","result","calculate","DateTime","fromISO","startOf","endOf","Interval","fromDateTimes","HttpError","errors","detail","status","title","message","useAvailableReportDates","_queryResult$data","queryKey","useQueryKey","ApiQueryName","AvailableReportDates","ignoreCurrency","queryResult","useQuery","enabled","queryFn","retry","modifiedQueryResult","invalid","useRenameQueryResult","useData","activeOrganizationId","useActiveOrganizationId","_useAvailableReportDa","availableReportDatesData","availableReportDatesIsFetched","dataHasData","dataIsFetched","createUserApi","newUser","httpClient","post","user","console","useCreateUser","_mutationFn","useMutationOptions","mutationFn","_useMutation","useMutation","isError","isLoading","isSuccess","createUser","mutateAsync","createUserData","createUserIsError","createUserIsLoading","createUserIsSuccess","resendEmailApi","email","useResendEmail","resendEmail","resendEmailData","resendEmailIsError","resendEmailIsLoading","resendEmailIsSuccess","useUserAccess","isLimitedAccessUser","limitedAccessOrganizationIds","validateAccount","token","params","confirmation_token","sortAlphabetically","b","localeCompare","buildUrlSearchParamsString","newParams","currentParams","URLSearchParams","dateFormat","qs","stringify","entries","prefix","toFormat","sort","isPageValid","page","useSearchParamsPage","_useSearchParams2","useSearchParams","searchParams","setSearchParams","pageParam","parseInt","useEffect","newSearchParamsString","RootPath","AssistantPath","DataPath","DeveloperAdminPath","SitePath","TamAdminPath","OrgViewPath","RecommendationsPath","ReportPath","getAuthenticatedRoutePath","organizationId","path","useUrl","assistantPath","Assistant","dashboardPath","Dashboard","dataPath","Data","financialPath","Financial","recommendationsPath","Recommendations","reportingPath","Report","sitesPath","buildRecommendationsPlanDetailsPath","generatePath","SitePlanEdit","planId","buildReportingUrl","report","buildSiteUrl","tab","buildSitesUrl","IconBadge","styled","Badge","boxShadow","fontSize","fontWeight","typography","fontWeightBold","padding","right","TextBadge","NavItemButton","dataE2e","from","icon","isBeta","isOpen","to","label","ListItem","disablePadding","display","Tooltip","disableHoverListener","placement","ListItemButton","component","NavLink","datadogRum","addAction","description","minHeight","justifyContent","main","common","hoverOpacity","focusOpacity","badgeContent","invisible","ListItemIcon","minWidth","mr","ListItemText","Drawer","MuiDrawer","open","boxSizing","flexShrink","whiteSpace","overflow","NavigationDrawer","toggleDrawer","organization","isFeatureEnabled","useFeature","location","useLocation","_useUrl","isConsultantUser","_useState2","useState","isSkipNavigationVisible","setIsSkipNavigationVisible","isConsultantReady","spacing","IconButton","MenuRoundedIcon","flex","pr","href","onBlur","onFocusVisible","visuallyHidden","List","pt","pathname","InsightsIcon","LeaderboardIcon","AccountBalanceIcon","HomeWorkIcon","ListAltIcon","FeatureFlags","ASSISTANT","AssistantIcon","DatasetOutlinedIcon","PLANNING","RadarRoundedIcon","AuthenticatedLayout","useOrganizationContext","collapsed","setCollapsed","styles","content","flexGrow","flexDirection","contentOpen","marginLeft","contentCollapsed","contentClass","Fragment","Outlet","ErrorBoundaryFallback","navigate","useNavigate","currentUrl","search","Stack","role","alt","src","imgSrc","align","Link","logError","addError","UnauthenticatedAppHeader","useTheme","className","root","style","background","paper","borderBottom","grey","RouterLink","text","underline","UnauthenticatedRoute","mx","mb","maxWidth","StyledPaper","Paper","border","WhiteBox","elevation","children","AboutIndex","About","aboutRoutes","element","ErrorBoundary","FallbackComponent","onError","index","DataGuard","_useData","bottom","pointerEvents","Page404","pxToRem","lineHeight","Form","ariaLabel","ariaLabelledBy","onSubmit","onSubmitInternal","handleSubmit","FormProvider","DialogForm","overflowY","Checkbox","required","helperText","rest","_objectWithoutProperties","_excluded","checkboxLabel","FormControl","FormGroup","FormControlLabel","control","MuiCheckbox","FormHelperText","mt","FormCheckbox","inputRef","_useController","useController","field","fieldState","fieldRef","ref","fieldRest","_excluded2","innerRef","useRef","useImperativeHandle","current","checked","node","TextField","forwardRef","MuiTextField","FormTextField","InputProps","_useController$field","restField","SubmitButton","disabled","disableFormStateCheck","_methods$formState","useFormContext","formState","isDirty","isDisabled","isSubmitting","LoadingButton","useForm","_ref$mode","mode","useRHForm","resolver","zodResolver","Blur","_ref$blurRadius","blurRadius","_ref$component","_ref$isBlurred","isBlurred","_ref$sx","blurStyles","useBlur","MuiButton","DefaultMenuProps","PaperProps","maxHeight","ITEM_HEIGHT","marginTop","MultiSelectCheckboxField","checkboxes","fullWidth","onChange","renderValue","MenuProps","_ref$value","renderValueFn","selected","val","_checkboxes$find","checkbox","join","setOpen","handleToggleSelect","prevOpen","handleOpenSelectIfNeeded","onKeyDown","event","code","InputLabel","Select","OutlinedInput","labelId","multiple","eventValue","onClose","MenuItem","NumericFormatCustom","_props$NumericFormatP","NumericFormatProps","_NumericFormatProps$t","thousandSeparator","_NumericFormatProps$d","decimalScale","_NumericFormatProps$v","valueIsNumericString","restNumericFormatProps","NumericFormat","getInputRef","onValueChange","NumericTextField","inputProps","inputComponent","SelectField","_options$find2","_options$find","option","displayEmpty","MenuRefContext","createContext","If","condition","useUnit","unit","useTranslation","useUserSettings","translateUnit","Unit","unitString","_ref$useAccountingFor","DecimalPlaceholder","_ref$placeholder","Children","child","_index","isValidElement","DecimalWithPlaceholder","defaultCurrencyFormatConfig","CurrencyWithPlaceholder","currencyFormatConfig","currencySymbol","getCurrencySymbol","currencySymbolPosition","getCurrencySymbolPosition","currencyPlaceholderLeft","DEFAULT_CURRENCY_PLACEHOLDER","currencyPlaceholderRight","currencyPlaceholder","CurrencySymbolPosition","Left","EmissionDecimal","EnergyUnitDecimal","MetricType","metricFormattingComponentMap","Emission","CurrencyWithPlaceholderComponent","getMetricFormattingComponent","metricType","StackedAreaGraphTooltipRow","_rowItem$decimalCompo","rowItem","decimalComponent","StackedAreaGraphTooltipRows","rows","StackedAreaGraphTooltip","active","isTotalHidden","container","transition","header","footer","borderTop","column1Header","tooltipColumn1Header","column2Header","tooltipColumn2Header","tooltipLabelsMap","reversedRows","_toConsumableArray","item","tooltip","dataKey","metricFormattingComponentId","StackedAreaGraph","colors","customTooltip","keysToNotGraph","legendAlign","legendLayout","legendVerticalAlign","yAxisLabel","xAxes","defaultColors","spectrum","cerulean","graphKeys","areaRef","useContext","stackedAreas","Area","activeDot","animationDuration","fillOpacity","stackId","tooltipComponent","ResponsiveContainer","AreaChart","margin","CartesianGrid","strokeDasharray","XAxis","dx","dy","tickLine","YAxis","Label","angle","textAnchor","tick","tickFormatter","Legend","layout","verticalAlign","cursor","useGraphToPng","savePng","fileName","exportHiddenElements","ADDITIONAL_PADDING","currentRef","containerElement","exportContainer","clonedElement","exportContainerStyles","document","cloneNode","offsetWidth","offsetHeight","selector","querySelector","appendChild","body","html2canvas","logging","toBlob","blob","saveAs","removeChild","GraphMenuContainer","_React$useState2","menuAnchorEl","setMenuAnchorEl","handleMenuClose","_useGraphToPng","graphRef","Provider","currentTarget","ml","MoreVertIcon","Menu","anchorEl","anchorOrigin","vertical","horizontal","transformOrigin","Tab","textTransform","fontWeightRegular","alpha","blue","Tabs","NZeroLogoIcon","createSvgIcon","DialogTitle","MuiDialogTitle","CloseIconRounded","minLength","sendContactEmail","useSendContactEmail","emailParams","sendContactEmailData","sendContactEmailIsError","sendContactEmailIsLoading","sendContactEmailIsSuccess","requiredMessage","getMaxLengthMessage","maxLength","emailSchema","trim","baseStringSchema","passwordRequirementsMessage","passwordSchema","validatePasswordMatch","confirmPassword","password","validatePasswordMatchParams","contactSchema","partial","typeToTitle","bps","decarbonize","support","typeToDescription","ContactDialog","isSent","setIsSent","defaultValues","_useSendContactEmail","onSuccess","handleClose","Dialog","TransitionProps","onExited","DialogContent","maxRows","minRows","multiline","DialogActions","loading","useCallbackRef","callback","deps","callbackRef","_callbackRef$current","useDisclosure","_props$defaultIsOpen","onOpen","isOpenProp","idProp","handleOpen","defaultIsOpen","isOpenState","setIsOpenState","isControlled","uid","useId","close","toggle","getButtonProps","buttonProps","_buttonProps$onClick","getDisclosureProps","hidden","useTimeout","delay","timeoutId","window","setTimeout","clearTimeout","useCountryOptions","Country","getAllCountries","isoCode","loadGtag","handleGtagLoad","tagId","dataLayer","gtag","Date","initGtag","scriptElement","allScriptElements","getElementsByTagName","onload","parentNode","insertBefore","useGtag","query","cacheTime","Infinity","Gtag","staleTime","ShareButton","iconButton","gtagData","_useDisclosure","_useCopyToClipboard2","useCopyToClipboard","copiedText","copyToClipboard","setAnchorEl","hasText","ms","currentHref","ShareOutlinedIcon","startIcon","Popover","CloseIcon","readOnly","content_type","item_id","CheckRoundedIcon","ContentCopyRoundedIcon","ChangeOrganization","organizations","authorizedOrganizations","useAuthorization","isInputOpen","setIsInputOpen","toggleInputVisibility","ClickAwayListener","onClickAway","Autocomplete","isOptionEqualToValue","_","selectedOrganization","toUrl","openOnFocus","noOptionsText","renderInput","startAdornment","InputAdornment","DomainIcon","sitePreviewResponseToFormattedData","snakeCaseToCamelCase","site_preview","siteNavItemA","siteNavItemB","siteName","siteNavItem","departmentName","timezone","topOrgUnitName","useSitePreviews","SitePreviews","fetchSitePreviewsByOrgId","SiteSearch","sites","sitePreviewsData","isSearchOpen","setIsSearchOpen","toggleSearchInputVisibility","selectedSite","site","SearchIcon","placeholderUsers","User","getUsers","pageSize","users","_args","minSearchText","UserSelectionDialog","_ref$confirmText","confirmText","onConfirm","searchText","setSearchText","debouncedSearchText","useDebounce","_useState4","selectedUser","setSelectedUser","_useUsers","_queryFn","apiQueryOptions","queryOptions","createQueryKey","Users","placeholderData","useUsers","first_name","usersData","usersIsFetching","usersIsPlaceholderData","handleConfirm","handleInputChange","Skeleton","handleListItemClick","secondary","singleLineEllipsisStyles","textOverflow","UserMenu","_activeUser$name","isMenuOpen","isFreeUser","signOut","isImpersonateUserEnabled","ADMIN_IMPERSONATE","contactDialogClose","contactDialogIsOpen","contactDialogOpen","_useDisclosure2","impersonateUserDialogClose","impersonateUserDialogIsOpen","impersonateUserDialogOpen","closeMenu","userInitials","userName","getUserInitials","Avatar","bgcolor","peach","MenuListProps","Divider","admin","noWrap","Settings","SettingsTitle","DeveloperAdmin","PageHeader","navigation","backLink","ArrowBackIosNewRoundedIcon","SectionHeader","_ref$divider","divider","camelCase","PageCard","Page","fullHeight","ConsultantDataGuard","LimitedAccessUserGuard","FONT_WEIGHT","TYPOGRAPHY_VARIANT","getBase64EncodedFile","createThread","sendMessage","observer","sse","SSE","headers","JSON","addEventListener","_data","_iterator","_step","_content$text","_content$image_file$d","image","_message","parse","delta","_createForOfIteratorHelper","image_file","file_id","t1","_x4","readyState","CLOSED","conversationStarters","BarChartIcon","prompt","TrendingUpIcon","FormatListNumberedIcon","AssistantChat","api","events","initialConversation","onThreadCreate","thread","assistantAdapter","useAsStreamAdapter","_thread$assistantId","_organization$id3","_thread$threadId","_organization$id","assistant_id","assistantId","messages","specialty","thread_id","threadId","_organization$id2","AiChat","adapter","composerOptions","conversationOptions","historyPayloadSize","displayOptions","colorScheme","themeId","messageOptions","waitTimeBeforeStreamCompletion","personaOptions","assistant","avatar","nzeroSymbol","tagline","AiChatUI","Loader","CircularProgress","Threads","threads","onThreadClick","selectedThread","_thread$messages$0$co","_thread$messages","disableTypography","m","ownKeys","getOwnPropertySymbols","getOwnPropertyDescriptor","getOwnPropertyDescriptors","defineProperties","placeholderThread","userId","placeholderThreads","getThreads","AssistantIndex","queryClient","useQueryClient","useParams","assistantApi","useAiChatApi","activeThread","setActiveThread","setInitialConversation","_useThreads","AssistantThreads","useQueryOptions","keepPreviousData","assistantThreadsData","assistantThreadsIsFetched","conversation","updateThreads","threadsParams","threadsQueryKey","invalidateQueries","handleNewThreadButtonClick","handleThreadClick","handleThreadCreate","sm","md","xs","AddIcon","bold","paddingBottom","messageStreamStarted","alignSelf","assistantRoutes","Component","Thread","getMostRecentPreviousYearDateRange","mostRecentPreviousYearStart","now","minus","mostRecentPreviousYearEnd","intersection","isValidDateTimeRange","engulfs","useSaveDateRange","_useQuery","_queryClient$getQuery","getQueryData","select","rawData","saveDateRange","setQueryData","toISODate","savedDateRange","useSearchParamsDateRange","searchParamsStart","searchParamsEnd","isDateRangeInSearchParams","searchParamsDateRange","setSearchParamsDateRange","_options$replace","useDateRange","fallbackDateRange","_useSearchParamsDateR","_useSaveDateRange","defaultFallbackDateRange","savedFallbackDateRange","setDateRange","newDateRange","drawCircularAxisLabels","svgRef","svg","innerRadius","labelCircleInnerWidth","scale","scaleLinear","ticks","append","attr","selectAll","enter","_d","nodes","floor","getBoundingClientRect","setTextXOffset","setTextAnchor","generateSemiAnnularPath","startAngle","endAngle","outerRadius","arc","annularRange","DialGraph","graphData","doubledOutline","viewWidth","childElementCount","innerHTML","_ref$range","viewHeight","dataGroup","centerX","centerY","maxArcLength","graphDataGroup","shouldStroke","chevronPathLength","baseClassName","toLowerCase","drawSemiAnnularGroup","overlayText","ReactDOMServer","renderToString","displayValue","overlayUnitsText","graphOverlay","html","drawOverlayGroup","circleOuterWidth","circleInnerWidth","dialLimitedRatio","dialReadingAngle","angleScale","needleGroup","drawGraphNeedle","classNames","classNamePrepend","OrganizationDashboardItem","contentSx","h2","OrganizationDashboardNoData","illustration","scope","altText","Scope","CustomLabel","_viewBox$width","_viewBox$x","_viewBox$y","x","CustomXAxisTick","buildLegendItems","emissionsTotals","emissionsMap","MonthlyStackedAreaGraph","graphTitle","dateRangeText","unitLabel","useTranslateUnit","graphDataGroups","yearTickValue","dateTime","parsedDate","parsedYear","formatStackedAreaGraphData","exportFileTitle","renderTick","axisLine","xAxisId","OrganizationDashboardMetricTitle","ScopeReportButton","isVisible","REPORT_ACTIVITY_EMISSIONS","endIcon","ListAlt","EmissionsSources","OrganizationDashboardScopeOneLegend","legendItems","Grid","columnSpacing","rowSpacing","emissionsByScopeTooltipLabelsMap","costMajor","fugitive","OrganizationDashboardScopeOne","scopeOneData","scopeOneMap","process","datum","newDatum","_datum$key","body2","MetricTonsOfCarbonDioxideEquivalent","totalEmissions","One","ScopeThreeMetrics","h6","Three","SCOPE_CARD_HEIGHT","scopeOneCategoryToGraphKeyMap","organizationDashboardGraphTheme","emissionsByScope","scopeOne","scopeTwo","scopeThree","scopeEmissionToolTipDescriptions","scope3","scope2","scope2CarbonIntensity","scope1","GRAPH_HEIGHT","MARGIN","initialPerimeter","enterNode","xAxisScale","yAxisScale","classed","categoryName","bandwidth","enterTransition","mtCo2E","addBar","titleize","addLabelTop","ScopeThreeWidgetGraph","elmRef","_useResizeObserver","dimensions","setDimensions","resizeObserver","ResizeObserver","entry","contentRect","observe","unobserve","useResizeObserver","perimeter","setPerimeter","hasRunOnce","setHasRunOnce","renderChartFn","dependencies","nodeRef","isInitialized","setIsInitialized","selection","setSelection","_useState6","renderChart","setSVGDimensions","isResizeEvent","remove","parentElement","_owner$children","_newSVG$node","_newSVG","newSVG","owner","nodeName","useD3","_axisScaleFunctions","isAnyValueGreaterThanZero","yScaleRangeMax","yScalePaddingInner","scaleBand","paddingInner","axisScaleFunctions","transitionDuration","duration","drawGraph","OrganizationDashboardScopeThree","tooltipButton","toolTipTitle","OrganizationDashboardTooltip","tooltipText","h5","isStringValueANumber","textIndent","setTooltipText","componentsProps","InfoRoundedIcon","paddingRight","Scope2Metrics","averageCost","totalCost","totalEmissionsValue","Two","PerKilowattHour","Scope2Tooltip","_payload$0$payload","Scope2E2eAttr","cardContent","metricsContainer","pb","graphContainer","scopeTwoTooltipLabelsMap","Scope2CardContent","scopeTwoData","totalKwh","ElectricityVolumesTable","carbonFreeKwh","meteredMwh","carbonFreeWh","round","formatEnergyVolumeInUnit","KilowattHour","MegawattHour","meteredWh","OnSiteGenerated","scopeTwoGraphColorData","OrganizationDashboardScopeSection","_scopeTwoCarbonIntens","_scopeTwoCarbonIntens2","_scopeOneProps$graphD","OrgDashboardE2eAttr","scopeOneProps","scopeThreeProps","scopeTwoProps","scopeTwoCarbonIntensityProps","scopeTwoCarbonIntensity","NaN","totalMwh","carbonIntensityGraphData","isAbleToDisplayCarbonIntensity","lg","scopeThreeEmissionsValue","ScopeThreeNoDataIllustration","isFetched","scopeOneEmissionsValue","ScopeOneNoDataIllustration","ScopeTwoNoDataIllustration","ScopeTwoCarbonIntensityNoDataIllustration","isScope2CarbonIntensityLoading","arr","_arrayWithHoles","_iterableToArrayLimit","minLen","_arrayLikeToArray","test","_unsupportedIterableToArray","_nonIterableRest","len","arr2","MonthSummary","_MonthSummary","fetchInPages","_ref4","clause","_ref3$includes","_ref3$selects","selects","_ref3$stats","defaultStats","whereObj","metaParams","monthSummaryMeta","recordCount","promises","pageCount","monthSummaries","monthSummaryStats","reduceStats","renameKeysToSnakeCase","ea","statsArray","statKeys","accumulatedStats","_ref5","_ref6","statKey","statKeyType","CollectionProxy","flatMap","collection","raw","getElectricityCost","cost_major","sum","useElectricityCost","ElectricityCost","useRenamedQueryResult","OrganizationEmissionDay","_OrganizationEmissionDay","kgCo2e","ResourceName","Resource","Electricity","NaturalGas","Fuel","Water","None","Refrigerants","resources","SiteEmissionDay","_SiteEmissionDay","reduceEmissionStatsByName","siteAndOrgEmissionStats","group","acc","amount","kg_co2e","fetchEmissionDays","siteIds","rangeStart","rangeEnd","scopes","siteEmissionDaysPromise","orgEmissionDaysPromise","amount_and_kg_co2e_by_resource_name","gte","lte","resolvedPromises","resolvedPromise","flat","filterEmissionStats","emissionStats","directEmissions","indirectEmissions","waterEmissions","directEmissionStats","indirectEmissionStats","waterEmissionStats","indirectEmissionStatsByName","emission","indirectEmissionsTonsCo2e","waterEmissionStatsByName","waterEmissionsAmount","directEmissionStatsByName","directEmissionsTonsCo2e","useEmissionsStats","EmissionsStats","filteredQueryResult","getEnergyConsumption","start_date","end_date","parsedResult","totalEnergyConsumption","rawReportDatum","natural_gas_thms","useEnergyConsumption","EnergyConsumption","useEnergyStats","EnergyStats","carbon_free_kwh","co2e_lbs","unknown_resource_based_kwh","carbon_based_kwh","battery_based_kwh","_data$","statsWithFloatValues","k","unFormattedStats","energyTotals","carbonBasedKwh","unknownResourceBasedKwh","batteryBasedKwh","carbonEquivalentEmissionLbs","energyTotalEntriesWithFloatValues","unFormattedEnergyTotals","getCo2eLbsAndCarbonFreeKwh","transformTotalValuesToNumeric","totalValues","confirm_cost_minor","energy_cost_minor","imbalance_cost_minor","metered_kwh","scheduling_cost_minor","sq_ft","transmission_cost_major","getDepartmentTotals","department_totals","getOrganizationChildrenTotals","organization_children_totals","useOrgSummaryStats","OrganizationSummaryStats","getGroupTotals","isUseFlexibleHierarchyEnabled","isFlexibleHierarchyEnabledOrDefault","isBundled","ScopeOneReportingData","_ScopeOneReportingData","useScopeOneEmissions","ScopeOneEmissions","startMonth","endMonth","filters","organization_ids","start_month","end_month","scope_one_reporting_data","fetchScopeTwoEmissions","monthSummary","_monthSummary$typedAt","typedAttributes","meteredKwh","monthSummaryStartDate","costDollars","startDateTime","poundsToMetricTon","useScopeTwoEmissions","ScopeTwoEmissions","defaultGraphOutput","emissionsByMonth","getGraphDataWithMissingMonths","initialGraphKeysData","graphDataWithMissingMonths","graphDataIncludingMissingMonths","monthIndex","_graphData$monthIndex","graphDatum","plus","months","getScopeTotalEmissions","scopeEmissions","every","getScopeOneEmissionsGraphData","scopeOneEmissions","scopeOneEmissionsByMonth","scopeOneEmissionsByMonthAcc","getScopeTwoTotalEmissions","scopeTwoEmissions","getScopeTwoTotalKwh","pv","cv","_cv$meteredKwh","getScopeTwoEmissionsGraphData","scopeTwoEmissionsByMonth","scopeTwoEmissionsByMonthAcc","emissionsByMonthAcc","emissionMonth","newScopeTwoEmissionsByMonth","cloneDeep","setScopeTwoEmissionsByMonth","getScopeThreeEmissionsGraphData","scopeThreeEmissions","scopeThreeEmissionsByCategory","scopeThreeEmissionsByCategoryAcc","addScopeEmissionsByMonth","emissions","scopeEmissionsByMonth","getScopeEmissionsGraphData","scope1Emissions","scope2Emissions","scope3Emissions","sortedScopeTotals","scopeOneTotalEmissions","scopeTwoTotalEmissions","scopeThreeTotalEmissions","BaCode","_BaCode","useBaCodes","getMany","useSpraypaintModel","BaCodes","useBillingGroup","getOne","BillingGroupModel","BillingGroup","isNil","useBillingGroups","BillingGroups","useBillingGroupCounts","BillingGroupCounts","fetchBillingGroupCounts","billingGroupSchema","groupName","alias","optional","useUpdateBillingGroup","mutationKey","update","useInvalidateQueries","mutationResult","useCreateBillingGroup","billingGroup","OrganizationCounts","SiteCounts","useCurrencies","CurrencyModel","Currencies","getDepartments","extraFields","departments","Department","selectExtra","defaultUseDepartmentsSpraypaintOptions","useDepartmentsSpraypaint","DepartmentsSpraypaint","useDepartment","DepartmentModel","useDepartments","Departments","useCreateDepartment","department","useUpdateDepartment","departmentSchema","EnergyAllocator","_EnergyAllocator","useEnergyAllocators","EnergyAllocators","useLocations","Locations","useMeter","MeterModel","include","extra","useMeters","Meters","useMeterCounts","MeterCounts","useMeterSourceTypes","MeterSourceTypeModel","MeterSourceTypes","useUpdateMeter","useCreateMeter","meter","meterSchema","meterCode","meterType","meterProvider","energyAllocator","fullMeter","probeMeter","isOnSiteGeneration","isNetMeter","isChildMeter","meterSourceType","fetchOrganizationalUnits","mergedOptions","orderBy","pageNumber","fetchOptions","OrganizationalUnit","useOrganizationalUnits","OrganizationalUnits","useCreateOrganizationalUnit","orgUnitAttributes","orgUnit","save","OrganizationHierarchy","useUpdateOrganizationalUnit","organizationalUnit","with","useDeleteOrganizationalUnit","_yield$Organizational","orgUnitInstance","first","destroy","getBuildingTypes","_error$detail","_yield$client$GET","client","GET","msg","defaultUseGetBuildingTypesOptions","parameters","useGetBuildingTypes","BuildingTypes","siteSchema","notes","tariffMajor","coerce","number","yearBuilt","baCode","siteAlias","sqFt","useSite","SiteModel","fetchSites","useSites","Sites","useSiteCounts","useUpdateSiteModel","_mutationFn2","setNotification","useNotification","vars","onSettled","SiteExplorer","getPlans","useGetPlans","hasOrg","queryParams","RecommendationsPlans","ScopeThreeReportingData","_ScopeThreeReportingData","useScopeThreeEmissions","ScopeThreeEmissions","scope_three_reporting_data","organizationSchema","monthSelectContainer","yearSelectContainer","marginRight","YEAR_DEFAULT_TEXT","FIRST_MONTH_DEFAULT_TEXT","SECOND_MONTH_DEFAULT_TEXT","placeholderValue","monthIsBeforeAvailableMonth","availableMaxMinMonths","newSelectedYear","newMonth","monthIsAfterAvailableMonth","MonthRangeSelector","_value$start","_value$start2","_value$end","selectedYear","setSelectedYear","selectedStartMonth","setSelectedStartMonth","selectedEndMonth","setSelectedEndMonth","yearOptions","startYear","endYear","getYearOptions","isStartMonthUnavailable","isEndMonthUnavailable","row","native","newStartMonth","newEndMonth","fromObject","trySetStartEndMonth","monthNumber","PageHeaderActionBar","_ref$hasTabs","hasTabs","borderColor","DATE_PICKER_ERROR_MESSAGE","DATE_RANGE_ERROR_SUBHEADER","DEFAULT_HEADER","EmptyChart","subHeader","fontStyle","emptyCity","LegendRow","LegendRows","getDataE2EAttribute","marginBottom","items","itemsTitle","EmissionsByScopeTooltipLabels","EmissionsByScope","scopeData","isButtonVisible","scopeTotals","totals","scopeTotal","emissionsByScopeMap","bottomContent","subBottomContent","subBottomContentText","OrganizationDashboardMetric","unitText","isValidYoY","previousValue","isDateRangeOverAYear","isLoadingPreviousValue","percentDifference","getPercentDifference","isPositive","isNegative","isNeutral","yearOverYearText","green","red","ThumbUpRoundedIcon","ThumbDownRoundedIcon","arrow","METRIC_MIN_HEIGHT","energyConsumptionValue","energyCostValue","waterConsumptionValue","dashboardMetrics","waterConsumption","OrganizationDashboard","_scope2CarbonIntensit","_scope2CarbonIntensit2","_useOrganization","useOrganization","isOrganizationLoading","_useDateRange","previousDateRange","years","_useSitePreviews","sitePreviewsIsLoading","USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS","_useEmissionsStats","emissionsStats","isEmissionsStatsLoading","_useEnergyConsumption","energyConsumption","isEnergyConsumptionFetched","_useEnergyConsumption2","previousEnergyConsumption","isPreviousEnergyConsumptionFetched","_useElectricityCost","electricityCost","isElectricityCostFetched","_useElectricityCost2","previousElectricityCost","isPreviousElectricityCostFetched","_useScopeOneEmissions","isScopeOneEmissionsFetched","_useScopeOneEmissions2","previousScopeOneEmissions","isPreviousScopeOneEmissionsFetched","previousScopeOneTotalEmissions","scopeOneGraphKeys","scopeOneEmissionCategories","categories","category","getScopeOneEmissionsCategories","_useScopeTwoEmissions","isScopeTwoEmissionsFetched","_useScopeTwoEmissions2","previousScopeTwoEmissions","isPreviousScopeTwoEmissionsFetched","previousScopeTwoTotalEmissions","_useScopeThreeEmissio","isScopeThreeEmissionsFetched","_useScopeThreeEmissio2","previousScopeThreeEmissions","isPreviousScopeThreeEmissionsFetched","previousScopeThreeTotalEmissions","_useEmissionsStats2","previousEmissionStats","isPreviousEmissionsStatsLoading","_useScope2CarbonInten","_useEnergyStats","energyStats","isEnergyStatsFetched","isEnergyStatsFetching","isEnergyStatsLoading","_useOrgSummaryStats","organizationSummaryStats","isOrganizationSummaryStatsFetched","isOrganizationSummaryStatsFetching","isOrganizationSummaryStatsLoading","typedOrganizationSummaryStats","scope2CarbonIntensityStats","isScope2CarbonIntensityFetching","isScope2CarbonIntensityFetched","useScope2CarbonIntensity","hasBundled","currentDepartmentSummary","previousTotalEmissions","monthEmissionsScopeData","scope1EmissionsCount","scope2EmissionsCount","scope3EmissionsCount","handleDateRangeChange","DashboardTitle","GigaJoule","co2ELbs","OrganizationDashboardResolver","moment","setDefault","OrganizationDashboardIndexRoute","RoleGuard","allowedRoles","disallowedRoles","dashboardRoutes","DataIndexRoute","indexMatch","useMatch","uploadMatch","Upload","qaMatch","QA","Navigate","activeTabPath","allCustomersTeamName","allSitesTeamName","allConsultantsWorkspaceName","allQAWorkspaceName","allSitesWorkspaceName","consultantTeamNames","consultantWorkspaceNames","sigmaAuthHttpClient","axios","baseURL","initCaseResponseInterceptor","SIGMA_API_CLIENT_ID","SIGMA_API_SECRET","getSigmaAccessToken","refreshSigmaAccessToken","refreshToken","useSigmaRefreshAccessToken","SigmaRefreshAccessToken","useSigmaAccessToken","accessToken","setAccessToken","SigmaAccessToken","accessTokenQueryResult","refreshAccessTokenQueryResult","initialData","refetchInterval","expiresIn","refetchIntervalInBackground","sigmaHttpClient","useSigmaApi","_useSigmaAccessToken","sigmaAccessTokenData","sigmaAccessTokenIsFetched","requestInterceptor","interceptors","request","use","Authorization","accept","eject","fetchSigmaTeams","fetchSigmaWorkbook","workbookId","fetchSigmaWorkbooks","limit","fetchSigmaWorkbookEmbeds","_callee4","useSigmaWorkbook","_useSigmaApi","SigmaWorkbooks","SigmaWorkbook","placeholderWorkbook","createdAt","createdBy","latestVersion","ownerId","updatedAt","updatedBy","url","workbookUrlId","placeholderWorkbooks","hasMore","nextPage","filterWorkbooks","workbooks","workspaceNames","workbook","useSigmaWorkbooks","workspaceName","_data$entries","nzeroMailServerAndDomain","getSafeSigmaEmbedUserEmail","_email$endsWith","endsWith","isNzeroEmail","emailParts","username","mailServerAndDomain","createSafeSigmaEmbedUserEmail","useSigmaTeams","SigmaTeams","fetchSigmaWorkbookSecureEmbedUrl","embed_path","embedPath","external_user_team","externalUserTeams","hide_folder_navigation","SigmaReport","_sigmaWorkbookEmbedsD","_sigmaWorkbookData$na","_sigmaTeamsData$entri","_useSigmaTeams","sigmaTeamsData","sigmaTeamsIsFetched","fetchConfig","sigmaWorkbookData","_useSigmaWorkbookEmbe","SigmaWorkbookEmbeds","embed","useSigmaWorkbookEmbeds","sigmaWorkbookEmbedsData","_useSigmaWorkbookSecu","embedUrl","externalUserTeam","SigmaWorkbookSecureEmbedUrl","sigmaWorkbookSecureEmbedUrlData","sigmaWorkbookSecureEmbedUrlIsFetched","isReportLoading","setIsReportLoading","reportName","onLoad","secureEmbedUrl","visibility","DataQARoute","sigmaWorkbooksData","siteDetailWorkbook","ErrorDialog","details","WarningRoundedIcon","ErrorDialogCsvUploadContent","record","typedRecord","isHeaderRow","rowNumber","rowName","column","UploadFile","fileType","file","setFile","setFileAndNotify","newFile","fileSize","filesize","standard","handleFileChange","_event$target$files","fileInput","files","handleRemoveFileClick","Card","CardContent","htmlFor","UploadCsvDialog","onUpload","handleUpload","toUpperCase","errorActionPrefix","successActionPrefix","buildActionName","AnalyticsActionName","DataUploadBuildingDataError","DataUploadBuildingDataSuccess","DataUploadUtilityDataError","DataUploadUtilityDataSuccess","DownloadCsv","UploadStep","downloadTemplateButton","downloadTemplateDescription","successMessage","uploadDescription","uploadQuery","displayType","startCase","_uploadQuery","uploadClose","uploadIsOpen","uploadOpen","uploadSuccessClose","uploadSuccessIsOpen","uploadSuccessOpen","_useDisclosure3","uploadErrorClose","uploadErrorIsOpen","uploadErrorOpen","handleUploadClick","FileUploadOutlinedIcon","Collapse","in","Alert","severity","AlertTitle","kebabCase","uploadEntities","formData","_typedError$response$","_typedError$response","_error$response$statu","_error$response","_error$response$statu2","_error$response2","typedError","FormData","AxiosError","statusText","useUploadEntities","mutationOptions","mutation","uploadUsage","useUploadUsage","DataUploadRoute","isDataUploadEnabled","DATA_UPLOAD","_useEntities","entitiesIsFetched","sitePreviewsIsFetched","entitiesHasData","activeStepIndex","setActiveStepIndex","isUsageAndEmissionsEnabled","steps","download","FileDownloadOutlinedIcon","isStepEnabled","step","indexOf","Stepper","activeStep","Step","completed","StepButton","disableRipple","Fade","prevActiveStepIndex","my","textAlign","dataRoutes","LoadingSpinner","_rest$className","_ref$text","classes","flexFlow","SiteRow","siteSummaryDatum","whDisplayUnit","energyCost","energyCostMinor","meteredEnergy","avgEnergyCost","transformPricePerWhIntoUnit","imbalanceCost","imbalanceCostMinor","textDecoration","DirectAccessSitesTable","directAccessSiteTotals","isDirectAccessSiteTotalsFetched","orderedGroupSummaryData","fetchSiteTotals","site_totals","siteTotal","useSiteTotals","whereClause","SiteTotals","DateDisplay","DateRangeDisplay","DatePeriod","MonthRangeWithPeriodsSelector","isPeriodButtonDisabled","hasSame","datePeriod","equals","isYTD","YTD","isMTD","MTD","onMonthRangeSelectorChange","monthRange","ToggleButtonGroup","exclusive","_event","period","ToggleButton","UsageRateDecimal","Metric","FinancialSummaryMetrics","orgSummaryData","orgEnergyCost","meteredEnergyWh","lgBreakPoint","mdBreakPoint","GraphSelect","graphIsLog","setGraphIsLog","isMenuVisible","setIsMenuVisible","graphSelectRef","handleOutsideGraphSelectClick","contains","toggleButtonGroupValue","removeEventListener","newToggleValue","GroupFinancialMetrics","groupSummaryData","groupSummary","totalVolume","avgDepartmentEnergyCost","fetchSiteTotalsByOrgUnit","totals_by_organizational_unit","SitesTable","groupId","_useSiteTotalsByOrgUn","SiteTotalsByOrgUnit","useSiteTotalsByOrgUnit","organizational_unit_id","siteTotalsByOrgUnit","isSiteTotalsByOrgUnitFetched","_useSiteTotals","siteTotals","isSiteTotalsFetched","orderedDepartmentSummaryData","organizationalUnitName","summaryData","isTotalsFetched","CollapsibleGroup","groupsData","sitePreviews","groupsSummaryData","numSitesInDepartment","sitePreview","numSitesInTopOrgUnit","numSitesInGroup","organizationalUnitId","tabIndex","ExpandLessRounded","neutral","light","ExpandMoreRounded","GroupViews","groupAggCost","agg","has","sortedGroupCost","_groupsData$find","_groupsData$find2","baselineOffset","OrganizationBarGraph","colorMap","purple","xyAxisLabelColor","dataValues","draw","isLog","domainSize","accessType","scaleLog","base","workingAreaWidth","clientWidth","workingAreaHeight","barWidth","domainStart","yScale","yAxis","axisLeft","tickSize","tickFormat","translateCurrency","yAxisSvg","elements","barsGroup","priceTexts","colorMapper","labelTexts","exit","OrganizationSummary","setOrgSummaryData","setGraphData","_useState8","availableReportDatesIsInitialLoading","mostRecentMonthDateRange","mostRecentMonthStart","mostRecentMonthEnd","getMostRecentMonthDateRange","dateRangeMoment","sitePreviewsIsInitialLoading","isOrganizationSummaryStatsInitialLoading","displaySummary","orgData","siteSummarySums","deptData","schedulingCostMinor","transmissionCostMajor","schedulingCost","transmissionCost","dAggCost","siteSummaryDatums","generateOrgSummaryDataFromSites","graphDataMap","gDataMap","FinancialSummary","AccountBalanceRounded","financialRoutes","PageLoading","showContent","shouldShowPlaceholder","useFormatPercentage","createGoal","requestBody","_yield$client$POST","POST","useCreateGoal","variables","RecommendationsGoals","updateGoal","_yield$client$PUT","PUT","useUpdateGoal","StyledInnerProgressBar","_templateObject","_taggedTemplateLiteral","transitions","complex","easing","easeInOut","LegendItem","colorLevel","legendIcon","StyledInnerProgressBarStriped","_templateObject2","GoalsProgressBar","_goal$reduction_goal","_goal$reduction_goal4","goal","completedPercentageWidth","setCompletedPercentageWidthWidth","isFirstRender","useIsFirstRender","reduction_goal","goalPercentValue","setGoalPercentValue","isEditMode","setIsEditMode","_goal$reduction_goal2","_goal$reduction_goal3","initialGoalPercentValue","goalInputRef","_goalInputRef$current","focus","completeProportion","completePercentage","goalProportion","goalPercentageWidth","endAdornment","goal_id","subject_id","subject_type","CheckRounded","_initialGoalPercentVa","CloseRounded","EditRounded","DataGridCellPopover","handlePopoverClose","cloneElement","onMouseEnter","onMouseLeave","disableRestoreFocus","baseColumnDef","baseNumberColumnDef","headerAlign","isOverflown","scrollHeight","clientHeight","scrollWidth","DataGridColumnHeader","headerName","tooltipContent","subHeaderName","titleContainerRef","isTitleOverflown","setIsTitleOverflown","apiRef","useGridApiContext","useGridApiEventHandler","colDef","onMouseOver","describeChild","disableInteractive","InfoOutlinedIcon","defaultOptions","useFormatDecimal","formatOptions","useFormatMoney","DataGridLegendItem","DataGridLegend","itemCount","itemLabel","formatInteger","flexItem","orientation","DataGridNumberEditCell","allowNegative","hasFocus","useLayoutEffect","_ref$current","newValue","setEditCellValue","preventDefault","DataGridToolbar","columnsButtonEl","endActions","moreMenuItems","setColumnsButtonEl","_ref$showQuickFilter","showQuickFilter","startActions","moreMenuAnchor","setMoreMenuAnchor","columnsButtonRef","closeMoreMenu","Portal","getElementById","GridToolbarColumnsButton","GridToolbarQuickFilter","MoreVert","useEditRow","rowModesModel","setRowModesModel","handleRowEditStop","reason","GridRowEditStopReasons","rowFocusOut","defaultMuiPrevented","handleRowEditClick","GridRowModes","Edit","handleRowEditSaveClick","View","handleRowEditCancelClick","ignoreModifications","useGridFilterModelChange","model","quickFilterValues","buildSearchParamsString","qF","graphitiCollectionResponseToPaginatedData","pages","usePaginatedScroll","fetchNextPage","fetchPreviousPage","hasNextPage","hasPreviousPage","isFetchingNextPage","isFetchingPreviousPage","onScrollPageChange","currentPage","isEnabled","hasFetchedPreviousPageIfNeeded","initialScrollId","_data$pages$length","_data$pages$","idToScrollTo","firstRowIdOfPageAfterPreviousPage","subscribeEvent","rowIndex","gridPaginatedVisibleSortedGridRowEntriesSelector","findIndex","scrollToIndexes","prevGridScrollTop","_params$renderContext","_params$renderContext2","_data$pages","lastRowId","getRowIdFromRowIndex","renderContext","lastRowIndex","_step2","_iterator2","isScrollingUp","useGridColumnVisibilityModel","savedColumnVisibilityModel","validColumns","newColumnVisibilityModel","updatedColumnVisibilityModel","columnKey","validColumn","computeValidSortModel","sortModel","baseStorageKey","orderColumns","columns","pinnedColumns","_pinnedColumns$left","_pinnedColumns$right","_columns$filter$map","_pinnedColumns$left2","_pinnedColumns$right2","pinnedColumnFields","unpinnedColumnFields","col","pinnedField","useSaveGridModel","gridName","gridModel","orderedDefaultColumns","defaultGridModel","_useLocalStorage2","useLocalStorage","savedGridModel","saveGridModel","mergedGridModel","savedColumns","updatedColumns","savedColumn","savedCol","hydrateSavedColumns","useGridColumns","columnVisibilityModel","savedPinnedColumns","_savedPinnedColumns$l","_savedPinnedColumns$r","filterInvalidColumnKeys","useGridPinnedColumns","defaultSortModel","savedSortModel","fieldSearchParam","sortSearchParam","newSortModel","sortItem","useGridSortModel","finalGridModel","handleColumnOrderChange","oldIndex","targetIndex","reorderedColumns","columnToMove","splice","handleColumnVisibilityModelChange","newModel","handlePinnedColumnsChange","newPinnedColumns","orderedColumns","handleSortModelChange","_newSortModel$","usePageScrollChange","useCurrencySymbol","renderRowNumber","getRowIndexRelativeToVisibleRows","calcuateAnnualSavings","capitalCost","paybackPeriod","calculateEmissionSavingsPercentage","emissionsDiff","baseTotalEmissions","disableColumnMenu","hideable","disableReorder","PlannedSitesGrid","useGridApiRef","quickFilter","setQuickFilter","setQuickFilterValues","getPlanDetailsHref","SitePlan","site_name","capital_cost","annual_cost_savings","payback_period","carbon_removed_lbs","base_total_emissions","total_emissions","emission_savings","emissions_diff","roi_year","columnDefinitions","sortable","renderCell","RRLink","renderHeader","valueFormatter","SearchRoundedIcon","DataGridPro","columnHeaderHeight","disableColumnFilter","disableColumnSelector","disableDensitySelector","disableVirtualization","sorting","filterModel","quickFilterLogicOperator","GridLogicOperator","Or","rowHeight","useSiteStats","plannedSites","potentialSites","_plannedSites$length","_potentialSites$lengt","plannedSitesCount","totalSitesCount","totalCapitalCost","totalC02MTsRemoved","totalBaseEmissions","totalAnnualSavings","plan","emissionSavingsPercent","totalRoi","StatCardContent","StyledStatCard","StatCard","PortfolioOverviewStats","formatPercentage","formatDecimal","formatMoney","co2eUnit","flexBasis","getGoals","useGetGoals","_ref$useQueryOptions","queryKeyValues","getPotentialSites","useGetPotentialSites","RecommendationsPotentialSites","LinkButton","SiteCard","portfolioImpact","eui","portfolioImpactString","euiString","goalsLink","SiteGoals","RecommendationsIndexRecommendedSites","exploreAllSitesButton","Plan","hasPlannedSites","pS","portfolio_impact","RecommendationsIndexRoute","_useGetGoals","goals","isGoalsLoading","orgReductionGoal","_useGetPlans","recommendationsPlansData","recommendationsPlansIsLoading","_useGetPotentialSites","isPotentialSitesLoading","hasPlannedASite","AddCircleOutlineRounded","knowledgeImageSrc","RecommendationsTeaserRoute","rel","allow","allowFullScreen","FeatureGuard","feature","invert","featureGuarded","planningSteps","getUrl","emptyDataPlaceholder","getStepButtonHref","activeStepInfo","stepInfo","isClickableStep","PlanningSteps","_ref$activeStep","alternativeLabel","resizable","PotentialSitesGrid","getGoalsHref","gjSqFtUnit","GigaJoulePerSquareFoot","base_total_usage","total_cost","disableRowSelectionOnClick","RecommendationsPlanRoute","StyledPageCard","shouldForwardProp","prop","offset","sharp","leavingScreen","easeOut","enteringScreen","RightPanelCloseIcon","SvgIcon","RightPanelOpenIcon","SiteInfoButton","EditSiteConfirmation","onContinue","BookshelfImageSrc","FormMultiSelectCheckboxField","FormNumericTextField","FormSelectField","getInterventions","useInterventionOptions","_useGetInterventions","RecommendationsSite","useGetInterventions","_useGetInterventions$","_i","_Object$keys","interventionName","labelA","labelB","snakeToTitleCase","textWithoutUnderscores","replaceAll","titleCase","AccordionCard","MuiAccordion","disableGutters","AccordionCardTitle","MuiAccordionSummary","expandIcon","ArrowForwardIosRounded","h3","borderBottomLeftRadius","borderBottomRightRadius","AccordionCardContent","MuiAccordionDetails","renderInterventionValue","interventionOptions","moreMessage","_interventionOptions$","Chip","generateShchemaDefaultValues","properties","_loop","defaultValue","_entries","_details$key","_details$key2","itemsProperties","sPd","convertModelValuesToSchemaValues","convertedValue","detailsValue","buildPhysicalDetailsModelValues","physicalDetailTypes","physicalDetails","processedPhysicalDetails","detailType","physicalDetailTypeId","sitePhysicalDetail","physicalDetail","_physicalDetail$physi","_detailType$id","numberOfFloors","buildingType","locationId","budget","reduction_target","refine","excluded_interventions","physical_details","any","address","address_line_1","address_line_2","city","country","postal_code","SchemaFieldArray","_schema$title","_useFieldArray","useFieldArray","fields","insert","lastPathString","useWatch","emptyObjectDefault","SchemaField","DeleteOutlineRoundedIcon","AddCircleOutlineRoundedIcon","SchemaFieldInput","isFieldRequired","oneOf","opt","_opt$title","flexWrap","_value$title","ajv","Ajv","goalFields","SiteGoalsForm","_site$numberOfFloors$","_site$numberOfFloors","_site$sqFt$toString","_site$sqFt","_site$yearBuilt$toStr","_site$yearBuilt","_site$locationId$toSt","_site$locationId","_site$buildingType","_site$address$address","_site$address","_site$address$address2","_site$address2","_site$address$city","_site$address3","_site$address$country","_site$address4","_site$address$postal_","_site$address5","_site$address$state","_site$address6","_site$id$toString","_site$id","_buildingTypesData$ma","onSubmitSuccess","siteGoal","iconMap","building_envelope_information","StraightenOutlinedIcon","equipment_information","LightOutlinedIcon","validators","validatorsByType","allowArrayLike","it","F","_e","normalCompletion","didErr","_e2","pDT","func","compile","defaultPhysicalDetails","buildPhysicalDetailsDefaultValues","_useGetBuildingTypes","buildingTypesData","buildingTypesIsLoading","countryOptions","exclusions","_form$formState","isSubmitSuccessful","dirtyFields","getValues","resetField","watch","currentFormCountry","currentFormState","isStateRequired","stateOptions","countryCode","states","State","getStatesOfCountry","useStateOptions","some","_useUpdateSiteModel","updateSite","_useCreateGoal","isCreateGoalSuccess","_useUpdateGoal","isUpdateGoalSuccess","locations","locationOptions","_location$id","siteRecommendationsHref","processedPd","_site$physicalDetails","existingSitePhysicalDetail","siteDetail","_siteDetail$physicalD","_details$physicalDeta","subjectId","subjectType","pD","validate","valid","warn","_currentFormValues$ex","currentFormValues","isSiteModified","siteModified","reductionTarget","excludedInterventions","thousandsGroupStyle","autoWidth","borderTopLeftRadius","borderTopRightRadius","HomeWorkOutlinedIcon","physicalDetailType","_physicalDetailTypeSc","physicalDetailTypeSchema","expanded","section","useCalculateCoordinates","coordinates","setCoordinates","_useGoogleMaps","googleMaps","isLoaded","useLoadScript","googleMapsApiKey","google","maps","useGoogleMaps","geocoder","Geocoder","geocode","results","GeocoderStatus","OK","geometry","toJSON","SiteMap","GoogleMap","center","mapContainerStyle","disableDefaultUI","featureType","elementType","stylers","zoom","OverlayView","mapPaneName","OVERLAY_LAYER","PlaceIcon","SiteInfoContent","_site$departmentName","_address$address_line","_address$address_line2","_address$city","_address$state","_address$postal_code","_address$country","supplementalInfo","siteArea","getMeasurementSystem","MeasurementSystem","USCU","squareFootToSquareMeter","siteAddress","CloseRoundedIcon","Grid2","SquareFoot","drawerWidth","SiteInfoDrawer","potentialSite","foundSite","InfoOutlined","anchor","PhysicalDetailType","_PhysicalDetailType","getPhysicalDetailTypes","getSite","useGetSite","SiteGoalsRoute","drawerClose","drawerIsOpen","drawerToggle","_useGetSite","isSiteLoading","_useGetPhysicalDetail","PhysicalDetailTypes","useGetPhysicalDetailTypes","isPhysicalDetailTypesLoading","renderColumnHeader","useInterventionTypeColors","behavioral","hover","foreground","energy_efficiency","energy_transition","InterventionTypeCell","interventionType","labelMap","InterventionsTable","moneyFormatParams","minimumFactionDigits","PlanConfirmationDialog","CityStreetImageSrc","BreakdownTooltip","popper","tooltipClasses","shadows","DataGroup","PlanDetailsSavingsBreakdown","breakdown","typeToColors","breakdownRemaining","toPrecision","interventions","intervention","emission_savings_ratio","PlanStatsBar","createSitePlan","getSiteRecommendation","useGetSiteRecommendation","RecommendationSite","buildPlanName","interventionsList","_interventionValues","interventionSet","_i2","_Object$entries","included","contribution","percentage_emissions_savings","planNameList","_i3","_interventionsList","nameListValue","percentage","useBuildPlanNameString","buildPlanNameString","SitePlanDetailsEditRoute","_state$goBackTo","_options$queryOptions","plansQueryKey","_useParams","_useCreateSitePlan","_options$queryOptions2","isCreateSitePlanLoading","_useGetSiteRecommenda","planIsFetching","isFetching","planIsloading","emissionsSavingsBreakdown","breakDown","computedRows","_interventionData$con","annual_emissions_savings","annualEmissionsSavings","annualCostSavings","percentEmissionSavings","roiYears","handleClickSave","plan_id","inverentionsCount","costDiff","cost_diff","siteRecommendationsTo","backButtonTo","goBackTo","planNameFromInterventions","deleteSitePlan","SitePlanDetailsRoute","useConfirm","_useDeleteSitePlan","isDeleteSitePlanLoading","_confirmThenDeletePlan","confirmationText","confirmationButtonProps","DeleteRoundedIcon","cancellationText","cancellationButtonProps","confirmThenDeletePlan","isValidTarget","FilterBar","_searchParams$get","_searchParams$get2","setBudget","setReductionTarget","reduction_target_error","setReductionTargetError","CustomTooltip","displayItemsString","dataPoint","createPlanChartDataPoint","_buildPlanName","emissionReduction","RenderDot","cx","cy","isHovered","setIsHovered","Dot","PlansScatterChart","_theme$typography$dat","_theme$typography$dat2","allPlans","recommendedPlans","chartData","allPlansChartData","rP","recommendedChartData","recommendedPlansChartData","ScatterChart","accessibilityLayer","dataLabel","tickCount","Scatter","PlanNameCell","isRecommended","planHref","nameItems","displayItems","additionalItemsCount","planNameIsRecommendedComparator","v1","v2","param1","param2","gridNumberComparator","gridStringOrNumberComparator","buildRow","isPlanRecommended","RecommendedPlansTable","recommendedRows","recPlan","_loop2","isPlanInRecommended","useBuildRowData","sortColumn","defaultSort","setSortModel","sortComparator","baseColumnWidth","getSiteRecommendations","searchParamsString","useGetSiteRecommendations","_options$useQueryOpti","site_ids","SiteRecommendationsRoute","_siteGoal$exclusions","_recommendedPlansResu","confirmationOpen","setConfirmationOpen","budgetSearch","reductionTargetSearch","savedSiteExlcusions","recommendedPlansResult","optimization_protocol","allPlansResult","page_size","siteGoalsHref","recommendationsRoutes","isPlanningEnabled","UNITLESS_ROW_HEIGHT","EmptyOverlay","GridOverlay","TableRowsRoundedIcon","NzDataGrid","editMode","hideFooter","scrollEndThreshold","sortingOrder","slotProps","baseButton","baseTextField","slots","loadingOverlay","LinearProgress","noRowsOverlay","CheckboxList","handleOnChange","newValues","useFilters","initialFilterTypes","filterTypes","decodeURIComponent","filtersFromQueryString","prevFilters","filterName","Class","newFilters","fromQueryParamValue","setFilters","urlSearchParams","newFilterName","newFilter","isEqualTo","areFiltersChanged","prevFilter","prevFilterHasValue","newFilterHasValue","shouldDeleteFilter","shouldUpdateFilter","toQueryParamValue","cleanValue","MultiSelectStringFilter","queryParamValue","_this$value","_filter$value","_this$value$join","_this$value2","MonthRangePicker","_value$end2","_availableMaxMinMonth","_availableMaxMinMonth2","errorMessage","debouncedOnChange","debounce","handleStartChange","_date$startOf","handleEndChange","_date$endOf","LocalizationProvider","dateAdapter","AdapterLuxon","DatePicker","maxDate","minDate","textField","openPickerButton","inputAdornment","views","Volume","GHG","GJ","metrics","MonthlySitesReportColumnUnit","MonthlySitesReportColumnName","Therm","MonthlySitesReportKey","defaultMonthlySiteReportColumns","SiteName","SiteId","MonthlySiteReportReportName","emissionOptions","emissionOptionLabel","Kwh","ElectricityEmissionsFactorMtCo2e","NaturalGasThms","NaturalGasMtCo2e","TotalMtCo2e","ElectricityEmissionsFactor","AdvancedGridStudy","mtCo2eKeyName","LocationBased","ElectricityEmissionsFactorIds","emissionsFactorValue","ElectricityEmissionsFactorById","ORG_LEVEL_SITE_ID","FLEET_SITE_NAME","specialSiteIds","ResourceSummaryReportName","ResourceSummaryReportColumn","metadata","isTitleDynamic","metric","resource","advancedGridStudyCo2ELbs","PoundsOfCarbonDioxideEquivalent","electricityEmissionsFactor","locationElectricityCo2ELbs","electricityGj","formatMetric","naturalGasThms","naturalGasCo2ELbs","naturalGasGj","fuelCo2ELbs","refrigerantCo2ELbs","waterGallons","resourceDisplayName","Organization","WaterUseTitle","CubicMeter","totalGj","isTotal","totalGhgLbsCO2e","resourceSummaryReportColumns","energyColumns","_column$metadata","volumeColumns","_column$metadata2","_column$metadata3","_column$metadata4","_column$metadata5","getReportFileName","isDataReady","getReportRows","getReportMultiSelectStringFilterByScope","isOrgLevelSite","isUniqueSite","ActivityEmissionsReportColumnName","ActivityEmissionsReportKey","activityEmissionsReportColumns","EmissionSource","Category","TotalEmissionsMtCo2e","MtCo2e","ActivityData","AmountConsumed","ActivityEmissionsScopeCheckboxes","ScopeEnum","ActivityEmissionsReportName","ReportGroup","reportCard","ResourceSummary","buttonLink","buttonText","isVisibleToLimitedAccessUser","featureFlag","MonthlySiteData","REPORT_MONTHLY_SITE_DATA","Scope3","ScopeThree","Gri","dataReadyFeatureFlag","REPORT_GRI_READY_TO_REPORT","REPORT_GRI","logo","GriLogo","underReviewFeatureFlag","REPORT_GRI_UNDER_REVIEW","Gresb","REPORT_GRESB_READY_TO_REPORT","REPORT_GRESB","GresbLogo","REPORT_GRESB_UNDER_REVIEW","reportCards","DataAlertInProgressText","DataAlertCompleteText","DataAlertPreviewText","hasResultMatchingFilters","hasNoFilters","hasResultAndFilterMatchingScopeNumber","hasResultAndFilterMatchingWater","processActivityEmissionsResponse","_Number","fetchActivityEmissionsReport","reportDates","_reportDates$start","_reportDates$end","activity_emissions","_ref$onClick","_ref$asyncOnClick","asyncOnClick","generateReportOnDemand","_ref$title","handleClick","rep","downloadCsvNew","DownloadIcon","ReportingLink","ChevronLeftRoundedIcon","column1Section","ReportTwoColumnLayout","detailsTitle","notifications","isMdBreakpoint","useMediaQuery","breakpoints","up","valueGetter","ActivityEmissions","_filters$filter$value","_filters$filter","_filters$filter$value2","_filters$filter2","_useFilters","mostRecentPreviousYearDateRange","_useActivityEmissions","ActivityEmissionsReport","activityEmissionsReport","_queryResult$data2","filteredActivityEmissionsReportData","useActivityEmissionsReport","isActivityEmissionsReportFetching","onFilterChange","REPORT_ACTIVITY_EMISSIONS_NZ_DATE_RANGE_SELECTOR","GresbReportName","GresbEnergyReportColumnName","GresbGhgReportColumnName","GresbWaterReportColumnName","gresbEnergyReportColumns","AssetName","Year","From","To","gresbGhgReportColumns","Scope1MtCo2E","Scope2LocationBasedMtCo2E","Scope2MarketBasedMtCo2E","Scope2AdvancedGridStudyMtCo2E","Scope3MtCo2E","gresbWaterReportColumns","getGresbEnergyFromDtos","energyDtos","dto","electricityConsumptionKwh","fuelConsumptionKwh","getGresbGhgFromDtos","ghgDtos","scope1MtCo2E","scope2AdvancedGridStudyMtCo2E","scope2LocationBasedMtCo2E","scope2MarketBasedMtCo2E","scope3MtCo2E","getGresbWaterFromDtos","waterDtos","waterConsumptionM3","processGresbResponse","reportDataDto","gresb_service","energy","ghg","water","fetchGresbReport","DataAlertBase","img","paragraph","DataAlertComplete","AltText","Body","reportComplete","Title","DataAlertInProgress","reportInProgress","DataAlertPreview","DataAlert","isDataUnderReview","isDataPreviewAlertVisible","isDataUnderReviewAlertVisible","isDataReadyAlertVisible","ReportCompleteAlert","DataSummary","DownloadPreviewCsv","setIsOpen","inReviewIllustration","ReportLayout","_useGresbReport","GresbReport","gresbReport","Energy","Ghg","useGresbReport","isGresbReportLoading","reports","pl","WarningAmberRounded","FormLabel","GriReportName","Gri302ReportColumnName","Gri303ReportColumnName","Gri305ReportColumnName","Gri306ReportColumnName","GriEntitySourceName","gri302ReportColumns","Source","Disclosure","NonRenewable","Renewable","Heating","gri303ReportColumns","gri305ReportColumns","Gases","GrossScope1","GrossScope2Location","GrossScope2Market","GrossScope2AdvancedGridStudy","GrossScope3","Scope3Category1","Scope3Category2","Scope3Category3","Scope3Category4","Scope3Category5","Scope3Category6","Scope3Category7","Scope3Category8","Scope3Category9","Scope3Category10","Scope3Category11","Scope3Category12","Scope3Category13","Scope3Category14","Scope3Category15","gri306ReportColumns","Waste","getGri302FromDtos","disclosure","electricityConsumptionGj","heatingConsumptionGj","nonRenewableFuelConsumptionGj","renewableFuelConsumptionGj","source","Gri302","totalEnergyConsumptionGj","getGri303FromDtos","dtos","Gri303","waterConsumptionMl","getGri305FromDtos","emissionDtos","gases","grossScope1MtCo2E","grossScope2AdvancedGridStudyMtCo2E","grossScope2LocationBasedMtCo2E","grossScope2MarketBasedMtCo2E","grossScope3MtCo2E","scope3Category1MtCo2E","scope3Category2MtCo2E","scope3Category3MtCo2E","scope3Category4MtCo2E","scope3Category5MtCo2E","scope3Category6MtCo2E","scope3Category7MtCo2E","scope3Category8MtCo2E","scope3Category9MtCo2E","scope3Category10MtCo2E","scope3Category11MtCo2E","scope3Category12MtCo2E","scope3Category13MtCo2E","scope3Category14MtCo2E","scope3Category15MtCo2E","Gri305","getGri306FromDtos","Gri306","wasteWeightMt","fetchGriReport","griData","gri_service","gri302","gri302Energy","gri303","gri303Water","gri305","gri305Emissions","gri306","gri306Waste","_useGriReport","GriReport","griReport","useGriReport","isGriReportLoading","SingleSelectStringFilter","MuiAutocomplete","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","addGjValuesToReportData","reportData","dataWithGj","energyValue","buildColumnTitle","weightUnit","_metadata$resource","_metadata$electricity","_metadata$metric","_metadata$metric2","_metadata$metric3","resourcePart","locationBasedPart","scopePart","metricPart","selectedDisplayUnit","GhgWeightUnit","Mt","MetricTon","unitPart","getFormattedColumns","isSiteEmpty","getSiteTotalGhgLbsCo2e","isOrg","isAdvancedGridStudySelected","sortReportData","orgSites","uniqueSites","nonUniqueSites","sortedUniqueSites","sortedNonUniqueSites","sumReportData","summedReportData","summedData","siteDataForMonth","summedSiteData","omit","getFormattedRecords","records","fleetSiteRecords","adjustedRecords","_site$departmentId","_site$siteId","adjustedSite","reportRecords","localizedReportRecords","selectedWeightUnit","newData","poundsToKilogram","gallonsToCubicMeter","convertReportDataUnits","fetchResourceSummaryMonthRecords","criteria","groupIds","department_ids","organizational_unit_ids","parsedRecords","_record$departmentId$","_record$departmentId","_record$siteId$toStri","_record$siteId","useMonthlySiteData","_ref$departments","_ref$groupIds","getDateStringWithOffset","getKeyNameWithDate","getMonthlySitesReportTitle","getAdditionalColumnCount","ceil","getMonthlySiteReportColumns","getMonthlySiteReportColumn","getConvertedValues","monthRecord","totalMtCo2e","convertedValues","_convertLbsToMt","convertFrom","convertTo","mtCo2e","convertLbsToMt","resultIsNotAdvancedGridStudyElectricityEmissionsFactor","resultIsNotLocationBasedElectricityEmissionsFactor","isLocationElectricitySelected","getResourceSummariesWithConvertedMtResults","monthlySiteData","emissionSelected","emissionsDataBySite","currValue","isElectricityEmissionsFactor","emissionsKeyWithDate","accumulateEmissionsDataBySite","formControlLabel","AdvancedReportingTools","RadioGroup","Radio","_monthlySiteReport$da","_monthlySiteReport$da2","styledDataColumns","_useMonthlySiteReport","_useMonthlySiteData","isMonthlySiteDataFetched","isMonthlySiteDataLoading","isMonthlySiteDataFetching","monthlySiteReport","MonthlySiteReport","isMonthlySiteReportFetched","isMonthlySiteReportLoading","isMonthlySiteReportFetching","useMonthlySiteReport","defaultColumns","handleDataChange","handleSelectedElectricityEmissionsFactorChange","_header$match2","match","disableClearable","getOptionLabel","REPORT_MONTHLY_SITE_DATA_ADVANCED_REPORTING_TOOLS","MonthlySiteDataResolver","StyledToggleButton","paddingLeft","ToggleButtonList","isSelected","itemValue","onButtonClick","CheckIcon","WeightUnitToggle","weightUnitHandler","showToggle","isLbsActive","Lbs","toggleMenuInactive","lbsClass","unitActive","unitInactive","mtClass","lbsBorderRightClass","lbsUnit__inactive","mtBorderLeftClass","mtUnit__inactive","toggleMenu","CarbonDioxideEquivalent","buttonContainer","mtUnit","lbsUnit","Pound","CustomPopper","Popper","CustomPaper","DepartmentSelector","initialValues","onInputChange","dept","placeHolderText","criteriaField","disableCloseOnSelect","PaperComponent","PopperComponent","renderOption","checkedIcon","CheckBox","CheckBoxOutlineBlank","selectedId","getVisibleColumns","resourceIds","metricIds","electricityEmissionsFactorId","selectedResources","selectedMetrics","newVisibleStatColumns","_column$metadata6","hasAResource","hasAMetric","hasElectricityEmissionsRecord","resourceIsSelected","metricIsSelected","electricityEmissionsRecordIsSelected","ProvideChildrenUnlessLoading","loadingComponent","loadingText","VirtualizedReportingTableContent","columnIndex","isUnique","rowValues","uniqueRowClass","uniqueRowContent","nonUniqueRowContent","rowContent","stickyColumn","visibleRowContent","ResourceMetricDisplayUnit","displayUnit","ResourceMetricHeader","VirtualizedReportingTableHeader","_column$metadata7","_column$metadata8","createSortHandler","TableSortLabel","headerAlignRight","tableSortLabel","VirtualizedReportingTableTotalRow","curr","electricityEmissionsFactorColumnIndices","VirtualizedReportingTable","onSort","multiGrid","columnCount","getRowHeight","getColumnWidth","outputs","isDesc","asc","forceUpdateGrids","handleRequestSort","columnKeys","LoadingGridState","loadingSpinner","MultiGridCellRenderer","propDefaults","fixedColumnCount","fixedRowCount","rowCount","enableFixedColumnScroll","hideBottomLeftGridScrollbar","AutoSizer","MultiGrid","cellRenderer","columnWidth","defaultWeightUnit","fieldContainer","fieldLabel","gridActions","ReportSummary","_filters$electricityE","_filters$department$v","_filters$department","_filters$group$value","_filters$group","_filters$weightUnit","_useDepartments","isDepartmentsFetched","isDepartmentsFetching","_useOrganizationalUni","level","organizationalUnits","isOrganizationalUnitsFetched","isOrganizationalUnitsFetching","_useTranslation","setOrder","setOrderBy","buttonRef","setShowToggle","selectedElectricityEmissionsFactor","_filters$resource$val","_filters$metric$value","_useResourceSummaryRe","translateFn","isResourceSummaryReportInitialLoading","isMonthlySiteDataInitialLoading","isResourceSummaryReportLoading","isResourceSummaryReportFetched","resourceSummaryReport","filteredReportData","sortedReportData","sortedReportColumns","columnA","columnB","Summary","useResourceSummaryReport","onWeightUnitChange","handleWeightUnitSelect","setToggle","handleClickOutside","_filters$resource$val2","_filters$metric$value2","_filters$weightUnit$v","defaultResources","defaultMetrics","metricId","selectedGroupIds","filteredGroup","selectedResourceIds","selectedMetricIds","_filters$resource$val3","_filters$metric$value3","_filters$weightUnit$v2","selectedDepartmentIds","filteredDept","validElectricityEmissionsFactor","onGroupsChange","onSelectedResourcesChange","onSelectedMetricsChange","newOrder","newOrderBy","onSelectedElectricityEmissionsFactorChange","REPORT_RESOURCE_SUMMARY_ADVANCED_REPORTING_TOOLS","ReportingCardRoot","ReportingCard","_card$dataE2e","card","isUnderReviewChipVisible","isNewChipVisible","newFeatureFlag","startsWith","ChevronRightRoundedIcon","ReportingCardsRoot","ReportingCards","cards","workbooksToReportCards","Reporting","_customWorkbooksData$","_consultantWorkbooksD","isCustomReportsEnabled","REPORT_CUSTOM_REPORTS","_useSigmaWorkbooks","customWorkbooksData","customWorkbooksIsPlaceholderData","sigmaWorkbooksIsPlaceholderData","_useSigmaWorkbooks2","consultantWorkbooksData","consultantWorkbooksIsPlaceholderData","customReportCards","Custom","consultantReportCards","Consultant","group1ReportCards","group2ReportCards","BooleanFilter","_this$value$toString","MultiSelectNumberFilter","SingleSelectNumberFilter","ScopeThreeDataLevel","isSummaryPresent","categoryData","subcategoryData","onSummaryChange","onCategoryChange","onSubcategoryChange","initialCategoryValue","initialSubcategoryValue","hasScopeThreeEmissions","selectedCategoryId","selectedSubcategoryIds","_initialSubcategoryVa","selectedCategory","subcategory","categoryId","onCategorySelectChange","_category$id","subcategoryIds","onSubcategoryAutocompleteChange","selectedSubcategoryNames","onSummaryToggle","categorySelect","ScopeThreeDataPreview","isSummaryReport","ScopeThreeReportName","ScopeThreeReportColumnName","ScopeThreeReportColumnKey","scopeThreeSummaryReportColumns","MtCo2E","scopeThreeCategoryReportColumns","EmissionsName","Subcategory","getScopeThreeReportTitle","isSummary","summaryReportName","categoryReportName","isScopeThreeCategoryFilterValid","categoryFilter","isScopeThreeSubcategoryFilterValid","subcategoryFilter","subcategories","_subcategoryFilter$va","_subcategoryFilter$va2","subcategoryFilterValue","areScopeThreeReportFiltersValid","isCategoryValid","isSubcategoryValid","summary","getScopeThreeCategoryReport","rowData","subcategoryId","emissionNameSubcategoryNameKey","ghgEmissionsFactorsName","subcategoryName","emissionsName","getScopeThreeSummaryReport","_scopeThreeReport$dat3","_filters$summary$valu","isControlsOpen","setIsControlsOpen","isScopeThreeEmissionsFetching","scopeCategories","categoriesById","scopeSubcategories","subcategoriesById","scopeThreeReport","_filters$subcategory$","reportTitle","reportFileName","isDownloadDisabled","_scopeThreeReport$dat","downloadButtonHelperText","_scopeThreeReport$dat2","disabledButtonText","caption","dateRangeContainer","criteriaLabel","KeyboardArrowUpIcon","KeyboardArrowDownIcon","ScopeThreeResolver","SigmaReportRoute","reportRoutes","Workbook","_i18n$options","supportedLocales","supportedLngs","onCurrencyChange","setCurrency","onLanguageChange","setLanguage","CurrencyLabel","SelectProps","Currency","SETTINGS_LANGUAGE_SELECTOR","LanguageLabel","locale","Locale","region","intlLocale","Language","settingsRoutes","useDashboardContext","useOutletContext","Panel","buttons","midTitle","midSubtitle","_ref$className","OverflowTooltip","setIsDisabled","textElementRef","updateIsDisabled","_textElementRef$curre","_textElementRef$curre2","only","BundledSiteFinancialSummaryCardItem","feeName","feeUsage","feeRate","feeTotal","feeType","BundledSiteFinancialSummaryCardTitle","titleName","titleTotal","BundledSiteFinancialSummaryCard","sitePremiseFinancialSummary","isExpanded","isOpenValues","setIsOpenValues","sortedEnergyAllocatorList","energyAllocatorList","ea1","ea2","displayOrder","initialValuesIsOpen","energyAllocatorIndex","isLastTotalVisible","billingGroupAlias","billingGroupName","_energyAllocator$vari","_energyAllocator$vari2","_energyAllocator$fixe","_energyAllocator$taxe","firstVariableFee","variableFees","Fee","feeCost","energyAllocatorType","rateScheduleName","getUnitKeyFromFeeType","newUniqueId","newisOpen","variableCost","FeeType","Kilowatt","fixedFees","fixedCost","taxes","tax","sumOfTotal","energyAllocatorItem","calculateTotal","premiseFinancialSummaryResults","subReducer","premiseFinancialSummary","BundledSiteFinancialSummaryPanel","timeWindow","searchStartDate","searchEndDate","siteMetersCount","summaryContainerPremises","isParentLoading","regularParagraphClassName","summaryValueClassName","ComponentForPremise","MONTH","RANGE","calculateTotalVolume","calculateTotalCost","useMeasure","rect","setRect","throttle","disconnect","_rect$width","_rect$height","CurrencyWithPreciseFraction","CurrencyRange","EnergySum","wattUnit","lineValue","isMetered","transformKwhToWattUnit","GraphFlyout","weather","_ref3$dateRangeWithTy","dateRangeWithType","divStyles","RIGHT","kwhToMwh","_getFlyoutData","productSummaries","productPrices","productCosts","rawCosts","productVolumes","sortedProducts","productPrice","productCost","curtailmentImbalance","productColor","rgb","productCount","productIdToNumber","imbalanceSum","imbalanceClass","costSum","rawCostSum","volumeSumKwh","volumeSum","volume","getFlyoutData","gridColumn","hoverLabel","temp","Fahrenheit","humidity","_productPrices$find","_productPrices$find2","_productCosts$find","AvgCostLineSample","x1","x2","y1","y2","MeterLineSample","strokeWidth","GraphLegend","showMeterData","showCostOrCarbonIntensityLine","toggleShowMeterData","toggleShowCostOrCarbonIntensityLine","graphIsLoading","costCarbonSelected","setCostCarbonSelected","isEpgCostCarbonLineEnabled","EPG_COST_CARBON_LINE","handleCostCarbonSelected","NONE","LegacyCostToggle","COST","ToggleOnIcon","ToggleOffIcon","CostCarbonToggle","CARBON_INTENSITY","MeterToggle","emptyConfig","constructXAxis","groupSize","xDomain","unix","times","calculateFillTarget","ident","identity","backgroundShading","BarGraphBackground","outerPadding","middlePadding","graphWidth","idx","_ref$isMonthlySummary","isMonthlySummary","xAxis","setXAxis","startWidth","constructedXAxis","stackNames","dataset","transpose","stack","stackOrderNone","stackOffsetNone","productData","AvgCarbonIntensityLine","tickWidth","secondaryYLineScale","pointCount","point","xLineScale","lin","line","defined","AvgCostLine","avgCost","CurtailmentIcon","xPadding","barXPos","barYPos","yPadding","showTooltip","setShowTooltip","xOffset","xPos","yPos","onMouseOut","fontFamily","rx","GroupLabel","MeterLine","maxDomainValue","yLineScale","nice","BarGraph","baseWidth","maxVolumeDomain","onHover","primaryYLineScale","showCostOrCarbonIntensity","isFlyoutActive","_React$useState4","hoverTimestamp","setHoverTimestamp","graphKey","marginX","getMarginX","productIndex","transposedDataset","barValues","barValuesForHour","curtailedProduct","minYThreshold","lastProduct","curtailedOffset","generateBarValues","shouldOverlapPreviousBar","receivedAndDeliveredHour","costCents","avgCarbonIntensity","totalCarbon","isProductTypeReceivedBundledOrLongImbalance","isBarActive","activeUnixTimestamp","hasActiveBar","getBackgroundBarX","barX","getBarFill","getBarOpacity","getBarWidth","initialWidth","getInnerBarFill","getInnerBarHeight","barHeight","barStrokeWidth","totalStrokeWidth","getInnerBarWidth","getInnerBarX","getInnerBarY","barY","transposedProductData","offsetYTotal","currentProduct","datumCollection","_datumCollection","previousProduct","offsetYFromPrevious","currentProductIsSameAsPreviousProduct","getBarOffsetY","offsetY","secondGraph","groupOffset","renderedXAxis","axisBottom","barLabels","barColors","timestamp","bar","barLabelColor","each","_textContent","$elements","textElement","textContent","renderXAxis","productIdx","elem","graphBoundingRect","productBoundingRect","innerWidth","LEFT","isEqual","barFullWidth","scaler","chartHeight","y0","clamp","getBarHeight","getBarY","opacity","productDatum","customTickValues","tickValues","constructYAxis","axisUnit","_constructWattageUnit","formatter","axisValue","mwh","sigDigits","formattedData","toLocaleString","constructWattageUnitFormatter","renderYAxis","_constructYAxis","yScaleAndAxis","axisType","getCarbonIntensityText","getCurrencyText","axisRight","scaleY","clearYAxis","selectChildren","renderSecondaryYAxis","axisLabel","MonthlyEnergyProfileGraph","pageWidth","onBarClick","maxAvgCostDomain","maxAvgCarbonIntensityDomain","setPrimaryYLineScale","setSecondaryYLineScale","secondaryYRenderer","setSecondaryYRenderer","isSingleDay","isMonth","firstGraph","yFunc","yFunc2","renderYAxis2","renderFunc","patternTransform","patternUnits","getGraphDataByMonth","monthlySummary","avgKwhPerDay","barLabel","sharedDropdownFormat","hours","calculateMeteredKwhByProduct","displayKwh","serviceHourIds","MonthlyEnergyProfileGraphContainer","_useMeasure","containerRef","hoverXPos","setHoverXPos","hoverYPos","setHoverYPos","activeHour","setActiveHour","graphDetailOrientation","setGraphDetailOrientation","_useState10","setShowMeterData","_useState12","setShowCostOrCarbonIntensity","_useState14","_useState16","tooltipConfig","graphdata","monthSummariesToGraphData","totalKwhs","getMaxVolumeDomain","avgCosts","getMaxAvgCostDomain","avgCarbonIntensities","getMaxAvgCarbonIntensityDomain","selectedGraphData","goToTimeRange","MonthlySummaryGraphPanel","LoadAggregationPoint","_LoadAggregationPoint","Price","_Price","fetchPricesForLAP","loadAggregationPointId","daysToFetch","subtract","load_aggregation_point_id","fetchLAP","useLAP","SiteLoadAggregationPoint","useLAPPrices","SiteLoadAggregationPointPrices","fetchYtdMeteredKwh","EnergyAllocation","start_time","end_time","_result$meta$stats$me","useYtdMeteredKwh","_timeWindow$start","_timeWindow$end","_timeWindow$start2","_timeWindow$end2","YtdMeteredKwh","PriceDisplay","_ref$previousAmount","previousAmount","_amount$toFixed$split2","toFixed","changePercent","changeIcon","percentageChange","warning","DayAheadPricing","prices","widthModifier","heightModifier","lmp","pricingTrendData","HEIGHT","pricingTrendLine","curve","curveLinear","startOfThisHour","indexForThisHour","isSame","thisHourPricePoint","area","DrawDayAheadCostGraphic","dayAheadPrice","priceDate","lmpMajor","getKeyByValue","localizedHour","hour12","numericLocalizedHour","getHourEnding","averageCostForHours","aggregatedAllocations","tariffDollars","contractCost","getLossAdjustedConfirmCosts","getLineLossCosts","getLossAdjustedImbalanceCosts","getSchedulingCosts","PricingOverview","grouped","allocation","inPairs","pair","nth","allocationGroups","averageDailyCosts","allocations","averageDailyPrices","maxPrice","minPrice","lastPricePoint","DrawAverageCostGraphic","CurrencyPerMegawattHour","SiteOverview","ytdMeteredKwh","aggregatedMeteredAllocations","aggregateByHour","transmissionAndDistributionCost","_useSiteLoadAggregati","_useLAP","siteLoadAggregationPoint","isSiteLoadAggregationPointFetched","isSiteLoadAggregationPointLoading","_useLAPPrices","siteLoadAggregationPointPrices","isSiteLoadAggregationPointPricesFetched","isSiteLoadAggregationPointAndPricesLoading","isSiteLoadAggregationPointPricesLoading","isSiteLoadAggregationPointAndPricesFetched","useSiteLoadAggregationPointAndPrices","pricesForToday","currentLmpMajor","displayNullState","DateFilter","DateRangePicker","AdapterMoment","MuiDateRangePicker","calendars","localeText","onAccept","newStartValue","newEndValue","EventRoundedIcon","fetchBundledEmissionsAndEnergyVolume","yearStart","dayStart","carbonBasedAndFreeStats","ytdCarbonEmissionsInMtCo2e","parseFloatMetaStatSum","carbon_stats","ytdCarbonBasedKwh","ytdCarbonFreeKwh","useBundledEmissionsAndEnergyVolume","BundledEmissionsAndEnergyVolume","EtagHour","_EtagHour","ServiceHour","_ServiceHour","carbon_equivalent_emissions","lt","prescheduleKwh","fetchDirectEmissionsAndEnergyVolume","fetchCarbonBasedAndFreeStats","fetchTotals","carbonFreeStats","_fetchedTotals$meta","_fetchedCarbonBasedAn","_fetchedCarbonBasedAn2","fetchedCarbonBasedAndFreeTotals","fetchedTotals","useDirectEmissionsAndEnergyVolume","DirectEmissionsAndEnergyVolume","isDirect","EiaCalculatedHour","_EiaCalculatedHour","fetchEia","ba_code","co2e_factor_calculated","promise","average","useEia","Eia","gridRate","getTypedAttributesFromMeterCollection","resolvedResponse","meters","parentMeterAndChildData","_ref$typedAttributes","childMeterNamesAndIds","energyAllocatorId","meterCount","electricity_meters","useElectricityMeter","ElectricityMeter","meter_source_type","full_meter","fetchElectricityMeter","fetchMonthSummaries","fetchedMonthlySummaries","useMonthSummaries","MonthSummaries","fetchMonthSummariesMinMaxDates","useMonthSummariesMinMaxDates","MonthSummariesMinMaxDates","useServiceHourMinMaxDates","ServiceHourMinMaxDates","min_max_dates","gt","fetchedMinDate","min_date","fetchedMaxDate","max_date","fetchServiceHourMinMaxDates","modifiedData","allocationStatsFromData","totalMWH","totalCarbonBasedMWH","totalCarbonFreeMWH","allocationsByBillingGroup","billingGroupIdWithValues","financial_summaries_for_premise","_meta$stats","_meta$stats2","_meta$stats3","financialSummary","_totalCarbonBasedMWH$","useSiteEnergyAllocation","SiteEnergyAllocation","startTime","endTime","allStats","stat","isSameOrBefore","useSiteExtraAttributes","SiteExtraAttributes","fetchedSite","hasAmiMeter","attributes","hasAmrMeter","hasSubMeter","fetchSiteExtraAttributes","useSiteFinancialSummaries","siteIsAmi","SiteFinancialSummaries","fetchBillingGroups","billingGroupIds","promiseArray","fetchFinancialSummary","fetchSequentially","fetchSiteFinancialSummaries","ForecastDay","_ForecastDay","fetchForecastDays","selectExtraClause","useForecastDays","languageRegion","formattedStartDate","formattedEndDate","ForecastDays","SI","location_id","ForecastHour","_ForecastHour","fetchForecastHours","useForecastHours","ForecastHours","EnergyMetrics","energyAllocationStats","unitizedTotalCarbon","unitizedCarbonIntensity","isMwhSelected","MetricTonsOfCarbonDioxideEquivalentPerKilowattHour","EnergyProfileGraph","onHourSelect","displayedEnergyAllocations","setDisplayedEnergyAllocations","HoverLabelUnit","constructHoverLabel","Hour","Day","energyAllocationsToDailyGraphData","calculateMeteredKwhByProducts","energyAllocationsToMultiDayData","aggregateByDay","energyAllocation","uniqBy","hourMoment","selectDataGroupByTimeKey","getGraphData","opts","weatherUrls","clearDayUrl","clearNightUrl","cloudy","cloudyUrl","fog","fogUrl","partlyCloudyDayUrl","partlyCloudyNightUrl","rain","rainUrl","sleet","sleetUrl","snow","snowUrl","wind","windUrl","Clear","Overcast","Sunny","getWeather","forecastDays","forecastHours","emptyForecast","helpUrl","forecast","forecastHour","forecastDay","isFahrenheit","isForecastHour","localForecast","high","highC","tempC","EnergyProfile","CurrencyPerKilowattHour","DailySummaryPanel","siteEnergyAllocationStats","_useForecastDays","isForecastDaysFetching","_useForecastHours","isForecastHoursFetching","handleSelectedBar","selectedBar","sortedHours","h1","firstHour","lastHour","isDST","fetchSiteProRatedUsageMeters","meterName","parentMeterVolume","_ref3$childMeterNames","emptyMeters","totalUsage","subMeters","_ref$timeRange","MeterHour","power_flow_type","eq","fetchTotalUsage","childProRatedUsageData","costRelativeVolume","relativeConsumption","_ref7","childMeterName","childMeterCode","childMeterType","meter_name","meter_code","meter_type","t2","ElectricityHeaderMeterDataCard","meterTypeContent","_ref$showFooter","showFooter","InfoIcon","MeterDataTypeDescription","siteHasSubMeter","siteIsAmr","siteIsProbe","LabelText","initialSiteDetailDefaults","containsAllSubMeters","containsAnySubMeters","containsAllAreAmi","containsAllAreAmr","containsAllAreProbe","containsAnyAmi","containsAnyAmr","containsAnyProbe","containsAmiAndAmr","containsAnyOfType","previousValueOfType","typePresent","containsAllOfType","currentIsType","currentValue","reduceToSiteDetails","_Object$fromEntries","_allAreAmr$allAreAmi$","allAreAmr","allAreAmi","allAreProbe","_anyProbe$anyAmi$anyA","anyProbe","anyAmi","anyAmr","ElectricityHeaderMeterData","matrixOfPresentSiteDetails","getSiteDetailsMatrix","UpdateIcon","_matrixOfPresentSiteD","siteDetails","getPopoverButtonText","SettingsPopup","closePopup","_ref$location","recomputeLocation","setWattUnit","handleKeyDown","keyCode","ElectricitySettings","onEnergyUsageUnitChange","settingsPopupLocation","setSettingsPopupLocation","wrapperRef","settingsToggle","boundingRect","offsetLeft","offsetTop","togglePopup","SettingsRoundedIcon","ColumnIndex","FormattedComponent","formattedText","TotalUsage","TotalCost","MeterType","MeterName","MeterId","CellRenderer","gridData","_gridData$rowIndex","_gridData$rowIndex2","_gridData$rowIndex3","_gridData$rowIndex4","currentCell","isIncomplete","SubMeter","SubdirectoryArrowRightIcon","incompletenessLabel","headerItem","HeaderTable","formatterMeterName","meterDisplayName","meterAndSubmeterDataArray","_ref8","_subMeterData$map","resolvedData","metersData","subMeterVolume","_resolvedData$subMete","_resolvedData$subMete2","subMeter","proRatedSubMeterVolume","addIncompletenessLabel","resolvedMetersData","meterDataArray","subMeterData","_resolvedData$subMete3","_resolvedData$subMete4","subMeterDataArray","structuredDataSubmeterData","structuredData","formattedSubMeterDataArray","ModalMetricsConsumption","tableHeight","modalSubtitle","containerGrid","containerCells","ElectricityHeader","openModalSiteMetersDetails","setOpenModalSiteMetersDetails","_useSiteProRatedUsage","metersWithEnergyAllocator","SiteProRatedUsageMeters","useSiteProRatedUsageMeters","electricityMetersWithEnergyAllocator","siteProRatedUsageMeters","isSiteProRatedUsageMetersFetched","BuildingMetrics","squareFoot","isMetric","carbonInMtCo2e","calculatedArea","usageIntensity","costIntensity","emissionIntensity","MegawattHourPerSquareFoot","KilowattHourPerSquareFoot","PerSquareFoot","MetricTonsOfCarbonDioxideEquivalentPerSquareFoot","CarbonMetrics","emissionsAndEnergyVolume","isBundledAmi","ytdMeteredMwh","gridComparisonPercentage","carbonFreeIntensity","isGridComparisonNegative","SitePerformance","currentYear","borderRight","SquareFootRoundedIcon","TodayRoundedIcon","_startDate$clone","_endDate$clone","_timeWindow$startDate","_yearToDateRange$star","_timeWindow$startDate2","_timeWindow$endDate","_useDashboardContext","isSiteInfoOpen","siteInfoButton","_useMonthlyElectricit","MonthlyElectricityDateRange","monthlyElectricityDateRange","setMonthlyElectricityDateRange","useMonthlyElectricityDateRange","_useNonMonthlyElectri","NonMonthlyElectricityDateRange","nonMonthlyElectricityDateRange","setNonMonthlyElectricityDateRange","useNonMonthlyElectricityDateRange","_useSiteExtraAttribut","_useSiteExtraAttribut2","siteExtraAttributes","_useSiteExtraAttribut3","isSiteExtraAttributesLoading","dateRangeLuxon","_filters$start$value","_filters$end$value","toISOString","_useServiceHourMinMax","serviceHourMinMaxDates","isServiceHourMinMaxDatesFetched","isServiceHourMinMaxDatesLoading","getWattUnit","isMonthlySummaryVisible","saveWattUnit","getRangeType","updateDate","_useSiteEnergyAllocat","siteEnergyAllocation","isSiteEnergyAllocationFetched","isSiteEnergyAllocationFetching","yearToDateRange","eia","bundledEmissionsAndEnergyVolume","directEmissionsAndEnergyVolume","_useMonthSummaries","isMonthSummariesFetching","_useMonthSummariesMin","monthSummariesMinMaxDates","isMonthSummariesMinMaxDatesFetched","monthSummariesMinMaxDatesLuxon","_monthSummariesDateRa","_monthSummariesDateRa2","monthSummariesDateRange","_useElectricityMeter","electricityMeter","isElectricityMeterLoading","_useSiteFinancialSumm","siteFinancialSummaries","isSiteFinancialSummariesLoading","_premise$energyAlloca","premise","premises","allocator","isDailySummaryPanelDataLoading","isMonthlySummaryGraphPanelDataLoading","groupedByDate","dayEnergyAllocations","meteredKwhSum","clampedDateRange","daysInRange","_serviceHourMinMaxDat","over35DaysUrlFilterEndValue","isNewEndValueBeforeAvailableData","_nonMonthlyElectricit","_nonMonthlyElectricit2","_nonMonthlyElectricit3","_monthlyElectricityDa","_monthlyElectricityDa2","_monthlyElectricityDa3","getMonthlyArray","currentDate","fetchNaturalGasAvailableMonths","statsScope","getMetaMonths","ghg_emissions_factor","sub_category","available_months","minimum","ngDateFormat","maximum","useNaturalGasAvailableMonths","NaturalGasAvailableMonths","thermsReducer","currentIndex","kgCo2eReducer","parsedKgCo2e","NaturalGasCard","availableMonths","avg","beenSelectedGetAndSet","dateGetAndSet","therms","IconComponent","ExpandMore","formattedMonth","NaturalGasPanel","dateRangeLeft","setDateRangeLeft","dateRangeRight","setDateRangeRight","thermsLeft","setThermsLeft","thermsAvgLeft","setThermsAvgLeft","kgCo2eLeft","setKgCo2eLeft","thermsRight","setThermsRight","thermsAvgRight","setThermsAvgRight","kgCo2eRight","setKgCo2eRight","_useState18","hasBeenSet","setBeenSelected","setInitialDateRanges","naturalGasAvailableMonths","fetchEmissions","thermsSetter","setterAvg","kgCo2eSetter","metered_day","getPseudoEndValue","getMonthlySiteConsumptionGraphData","monthlyDataForSite","duplicatedRecord","getSiteDailyNaturalGasEmissions","_timeRange$start","_timeRange$end","siteEmissionDay","convertMmbtuToTherms","useSiteDailyNaturalGasEmissions","SiteDailyNaturalGasEmissions","getMonthlySiteNaturalGasEmissionsData","getTotalVolumeNaturalGasThm","_getMonthlySiteNatura","currentData","getDailyAverageNaturalGasThm","days","useMonthlySiteNaturalGasEmissionsData","_getMonthlySiteNatura2","_useMonthlyConsumptio","monthlyConsumptionGraphData","isMonthlyConsumptionGraphDataLoading","isMonthlyConsumptionGraphDataFetching","isMonthlyConsumptionGraphDataFetched","useMonthlyConsumptionGraphData","_useSiteDailyNaturalG","siteDailyNaturalGasEmissions","isSiteDailyNaturalGasEmissionsFetched","isSiteDailyNaturalGasEmissionsFetching","isMonthlySiteNaturalGasEmissionsDataLoading","isSiteDailyNaturalGasEmissionsLoading","isMonthlySiteNaturalGasEmissionsDataFetching","isMonthlySiteNaturalGasEmissionsDataFetched","dailyAvgNaturalGasThm","totalEmissionsNaturalGasCo2eLbs","totalVolumeNaturalGasGasThm","naturalGasTooltipLabelsMap","_filters$start$value2","_filters$end$value2","_useNaturalGasDateRan","NaturalGasDateRange","naturalGasDateRange","setNaturalGasDateRange","useNaturalGasDateRange","datePickerError","setDatePickerError","availableReportDatesDataMoment","_availableReportDates","_availableReportDates2","naturalGasOverviewTitle","_useMonthlySiteNatura","_naturalGasDateRange$","_naturalGasDateRange$2","_naturalGasDateRange$3","_naturalGasDateRange$4","_naturalGasDateRange$5","_naturalGasDateRange$6","defaultStart","defaultEnd","getMonthlySiteEmissionsGraphData","monthlyDataBySite","monthlyEmissionsGraphData","electricity","naturalGas","monthlySiteEmissionsTotals","emissionsTooltipLabelsMap","SiteAnalysis","_monthlyEmissionsGrap","siteHasNoData","_useEmissionsDateRang","EmissionsDateRange","emissionsDateRange","setEmissionsDateRange","useEmissionsDateRange","energyUnit","_useMonthlyEmissionsG","isMonthlyEmissionsGraphDataLoading","isMonthlyEmissionsGraphDataFetching","isMonthlyEmissionsGraphDataFetched","useMonthlyEmissionsGraphData","_emissionsDateRange$s","_emissionsDateRange$e","_emissionsDateRange$s2","_emissionsDateRange$e2","_emissionsDateRange$s3","_emissionsDateRange$e3","siteAnalysisOverviewTitle","SiteDetailsRoute","SiteInfo","SiteIndexRoute","_params$siteId","_activeSite$name","locationSearch","_useSite","isSiteFetched","activeSite","isSiteInActiveOrg","setIsSiteInActiveOrg","isNewTabsEnabled","SITE_NEW_TABS","siteDetailRootMatch","electricityMatch","emissionsMatch","Emissions","naturalGasMatch","overviewMatch","Overview","detailsMatch","SiteDetails","urlStart","urlEnd","setTimeWindow","setEnergyAllocations","isSiteExtraAttributesFetched","_useToggle","isOn","setIsOn","useToggle","toggleSiteInfo","_useNaturalGasAvailab","isNaturalGasAvailableMonthsFetched","siteTracksAndHasGas","siteHasElectricityServiceHours","siteHasElectricityMonthlySummary","siteTracksAndHasElectricity","naturalGasMatchNoData","electricityMatchNoData","isReadyToRender","outletContext","newTabs","oldTabs","tabs","Slide","SiteOverviewRoute","siteOverviewWorkbook","ComplianceDates","regulations","regulation","regulation_name","effective_date","ComplianceEmissionFactorName","emissionFactorType","emissionFactorRef","emissionFactors","_regulation$emission_","_regulation$emission_2","emission_factors","ComplianceEmissionFactorValue","formatDecimalToTenThousandths","ComplianceFines","fines","is_supported_without_fines","penalties","computeColor","isCompliant","ComplianceIcon","ComplianceStatus","computeStatus","ComplianceGridLegend","compliantCount","nonCompliantCount","siteCount","totalPenalties","ComplianceReduction","formatDecimalToHundredths","_regulation$metric_ty","reductionPercent","cui_reduction_percentage","eui_reduction_percentage","metric_type","isComingSoon","isSupported","ComplianceStandard","deleteIcon","onDelete","ComplianceStandards","in_compliance","ComplianceStatusReduced","isInCompliance","calculateCompliance","ComplianceTargetUsageIntensity","usageIntensityType","formatDecimalToTenths","ComplianceTotalEmissions","formatWholeNumber","total_emissions_mt_co2e","ComplianceUsageIntensity","YearPicker","_availableDateRange$e","_availableDateRange$s","availableDateRange","setError","newError","useSaveYear","saveYear","savedYear","useYear","_useSearchParamsYear","searchParamsYear","isYearInSearchParams","setSearchParamsYear","useSearchParamsYear","_useSaveYear","setYear","_dateRange$start$year","newYear","getSiteExplorer","_yield$fetchClient$GE","_data$meta$stats$aver","_data$meta$stats$aver2","_data$meta$stats$comp","_data$meta$stats$comp2","_data$meta$stats$effi","_data$meta$stats$effi2","_data$meta$stats$inef","_data$meta$stats$inef2","_data$meta$stats$non_","_data$meta$stats$non_2","_data$meta$stats$tota","_data$meta$stats$tota2","_data$meta$stats$very","_data$meta$stats$very2","_data$meta$stats$very3","_data$meta$stats$very4","paginatedData","finalResponse","fetchClient","compliant","efficient","inefficient","non_compliant","total_penalties","very_efficient","very_inefficient","useGetSiteExplorer","initialPage","_ref2$pageParam","newParameters","useInfiniteQuery","getNextPageParam","lastPage","getPreviousPageParam","firstPage","PlanningCell","ExitToAppRoundedIcon","AddRoundedIcon","baseSiteColumnDef","filterable","baseSiteNumberColumnDef","useCommonSiteExplorerGridColumns","buildingTypes","departmentNames","_departments$map","cellClassName","getActions","_rowModesModel$id","GridActionsCellItem","SaveIcon","CancelIcon","EditIcon","buildingArea","editable","renderEditCell","_params$value","_params$value2","valueOptions","combinedEmissions","combinedEnergyUsage","KiloBritishThermalUnit","combinedEui","electricityEmissions","electricityEui","electricityUsage","_params$value3","_params$value4","naturalGasEmissions","naturalGasEui","naturalGasUsage","planning","useComputedSiteRows","sitesWithPlans","pagesMap","_sitesWithPlans$item$","pageIndex","orderedRows","useSitesWithPlans","EditSiteConfirmContent","useHandleProcessRowUpdate","siteUpdateMutateAsync","handleProcessRowUpdate","buildingTypeIsDirty","departmentNameIsDirty","sqFtIsDirty","_yield$Site$includes$","withRelationships","newDepartment","building_type","department_name","dialogActionsProps","disableSpacing","dialogProps","CombinedVolumePercent","conversionFactor","percent","useCommonSiteGridColumns","defaultColumnVisibilityModel","electricity_ef","electricity_source","natural_gas_ef","natural_gas_source","defaultPinnedColumns","useComplianceGridColumns","commonSiteGridColumns","commonSiteExplorerGridColumns","commonSiteDataGridColumns","isBlurEnabled","_params$row$annual_vo","_params$row$annual_vo2","rowId","annual_volume_electricity","combined_volume","annual_volume_nat_gas","useCommonSiteDataGridColumns","SitesComplianceRoute","_siteExplorerData$pag","_siteExplorerData$pag2","_siteExplorerData$pag3","_siteExplorerData$pag4","gridApiRef","handleOnFilterModelChange","buildingTypesIsFetching","_useDepartmentsSprayp","departmentsSpraypaintData","departmentsSpraypaintIsFetching","_useEditRow","_useYear","_useSaveGridModel","_useSaveGridModel$gri","isSiteExplorerQueryEnabled","_useGetSiteExplorer","include_compliance","siteExplorerData","siteExplorerIsFetching","siteExplorerFetchNextPage","siteExplorerFetchPreviousPage","siteExplorerHasNextPage","siteExplorerHasPreviousPage","siteExplorerIsFetchingNextPage","siteExplorerIsFetchingPreviousPage","handleProcessRowUpdateError","onColumnOrderChange","onColumnVisibilityModelChange","onFilterModelChange","onPinnedColumnsChange","onProcessRowUpdateError","onRowEditStop","onSortModelChange","processRowUpdate","toolbar","panel","sortingMode","getPlansPaginated","_response$map","responseWithMeta","SitesDecarbonizeRoute","formatMoneyInteger","formatDecimalTens","selectedRetrofit","setSelectedRetrofit","isDecarbonizeQueryEnabled","_useSitePlans","_ref2$initialPage","_ref2$queryOptions","_ref3$pageParam","SitePlans","useSitePlans","sitePlansData","sitePlansIsFetching","sitePlansFetchNextPage","sitePlansFetchPreviousPage","sitePlansHasNextPage","sitePlansHasPreviousPage","sitePlansIsFetchingNextPage","sitePlansIsFetchingPreviousPage","SitesIndexRoute","isDecarbonizeEnabled","SITE_DECARBONIZE","Performance","Compliance","Decarbonize","electricity_kbtu","electricity_kbtu_per_sq_ft","electricity_mt_co2e","nat_gas_kbtu","nat_gas_kbtu_per_sq_ft","nat_gas_mt_co2e","water_usage_gallons","SitesOverviewRoute","canEditSite","Gallon","useOverviewGridColumns","PerformanceCell","computeLevelFromValue","computeColorSchemeFromLevel","tierToColorScheme","atBenchmark","extremelyInefficient","highlyEfficient","PerformanceTierIcon","tier","tierToName","PerformanceTier","PerformanceGridLegend","extremelyInefficientCount","inefficientCount","atBenchmarkCount","efficientCount","highlyEfficientCount","PerformanceTooltipLegend","benchmark_electric_eui_percentile","benchmark_gas_eui_percentile","benchmark_majorfuel_eui_percentile","benchmark_electric_eui_median","benchmark_gas_eui_median","benchmark_majorfuel_eui_median","SitesPerformanceRoute","_siteExplorerData$pag5","_siteExplorerData$pag6","usePerformanceGridColumns","include_benchmarks","siteRoutes","useDialog","isDialogOpen","setIsDialogOpen","dialogTitle","setDialogTitle","dialogContent","setDialogContent","dialogActions","setDialogActions","onDialogClose","onDialogOpen","FieldWrapper","gutterBottom","CreateEntityButton","entityName","_useFormState","useFormState","CancelButton","onCancel","isPrimitive","subject","isNumber","isString","getSelectOptionValue","isOption","getSelectOptionLabel","parseSelectOption","useOptions","pathArg","_pathArg$","useTamForm","useHookForm","reValidateMode","TamForm","formName","noValidate","TamResetButton","dataE2E","_useFormContext","_useFormContext$formS","TamSubmitButton","submitting","TamSelectField","parsedOptions","SelectMUI","MenuItemMUI","TamFormSelectField","TamTextField","TextFieldMUI","TamFormTextField","capitalize","TamYesNoField","isNoDisabled","TamFormYesNoField","_parseValueIn","valueIn","valueOut","parseValueOut","TamDateTimePicker","disableFuture","disablePast","DateTimePicker","actionBar","TamFormDateTimePicker","formattedDate","ISO_8601","OrgViewDialogBillingGroupCreateContent","objectName","parentObjectIds","createOneBillingGroup","handleFormSubmit","OrgViewDialogDepartmentCreateContent","createOneDepartment","meterStatus","required_error","meterSourceTypeId","invalid_type_error","datetime","superRefine","ctx","addIssue","ZodIssueCode","OrgViewDialogMeterCreateContent","createOneMeter","_useMeterSourceTypes","meterSourceTypes","isMeterSourceTypesLoading","meterSourceTypeOptions","_useEnergyAllocators","energyAllocators","isEnergyAllocatorsLoading","energyAllocatorOptions","meterSourceTypeSelection","clearErrors","METER_TYPE_OPTIONS","emptyAddressSchema","addressLine1","or","addressLine2","postalCode","isAddressEmpty","safeParse","success","currencyId","literal","granularity","OrgViewDialogSiteCreateContent","_useCreateSiteWithAdd","addressModel","currencyModel","DepartmentCounts","createOneSite","setStateOptions","_useCurrencies","currencies","isCurrenciesLoading","currencyOptions","_useLocations","isLocationsLoading","_useBaCodes","baCodes","isBaCodesLoading","baCodeOptions","addressDirty","getFieldState","watchCountry","countryIsUSOrCA","filterStatesAndProvinces","_State$getStatesOfCou","selectedState","_parentObjectIds$depa","ELECTRICITY_TYPE_OPTIONS","routeMatchPattern","departmentRouteMatchPattern","siteRouteMatchPattern","billingGroupRouteMatchPattern","meterRouteMatchPattern","overviewMatchPattern","organizeMatchPattern","siteListMatchPattern","siteDetailMatchPattern","billingGroupDetailMatchPattern","meterDetailMatchPattern","LIST_ITEM_NAME_PROPERTY","OrgViewDialogEntity","OrgViewDialogCreateContent","OrgViewDialogDeleteActions","deleteBillingGroup","deleteDepartment","deleteMeter","deleteSite","organizationDisplayCounts","OrganizationEmission","departmentDisplayCounts","siteDisplayCounts","billingGroupDisplayCounts","meterDisplayCounts","TamAdminOrganizationsColumnKey","tamAdminOrganizationsColumns","convertOrganizationsToTabularData","demoOrganization","dateCreated","dateUpdated","convertToDisplayCounts","displayCounts","OrgViewDetailFooter","linkSection","OrgViewBillingGroupDetail","_useBillingGroup","isBillingGroupLoading","_useUpdateBillingGrou","updateOneBillingGroup","isUpdateOneBillingGroupLoading","isUpdateOneBillingGroupSuccess","keepValues","OrgViewDeleteDialog","OrgViewDetailMenuButton","datUrl","deleteButton","webAppUrl","MoreVertRoundedIcon","OpenInNewRoundedIcon","OrgViewDetailHeader","createButton","minute","OrgViewDetail","OrgViewDetailCreateButton","createObjectName","redirectPath","newEntityId","OrgViewDialogCreateContentComponent","useEntityDelete","useEntityDeleteAction","entityDeleteName","entityDelete","deleteOne","OrgViewDetailEntityDeleteButton","entityId","navLink","canEntityBeDeleted","isButtonDisabled","onDeleteDialogClose","onDeleteDialogOpen","lowerCasedEntityName","OrgViewDetailLinkSection","OrgViewDialog","BillingGroupDetail","numberOfChildObjects","billingGroupCounts","currentBillingGroupDisplayCounts","_useMeters","isMetersLoading","_useDialog","onCreateDialogOpen","onCreateDialogClose","createDialogTitle","createDialogContent","isCreateDialogOpen","_useDialog2","deleteDialogActions","deleteDialogContent","deleteDialogTitle","isDeleteDialogOpen","TamAdmin","Onboarding","OrgViewMeterDetail","_meter$childMeterName","_useMeter","isMeterLoading","_useUpdateMeter","updateOneMeter","isUpdateOneMeterLoading","isUpdateOneMeterSuccess","hasChildMeters","xl","MeterDetail","meterCounts","currentMeterDisplayCounts","OrgViewSiteDetail","_mutationFn3","_useUpdateSiteWithAdd","_yield$Site$where$inc","updateOneSite","isUpdateOneSiteLoading","isUpdateOneSiteSuccess","electricityTypeDisplayName","borderWidth","SiteDetail","siteCounts","_useBillingGroups","isBillingGroupsLoading","currentSiteDisplayCounts","TamAdminPageHeader","organizationName","isFlexibleHierarchyEnabled","_match$index","matchPath","useTabIndex","ArrowBackIosNewIcon","CorporateFareRoundedIcon","iconPosition","StorageRoundedIcon","RoomIcon","OrgLayout","OrgViewContainer","isContentPresent","filterText","setFilterText","isSearchClicked","setIsSearchClicked","borderLeft","disableTouchRipple","OrgViewDepartmentDetail","_useDepartment","isDepartmentLoading","_useUpdateDepartment","updateOneDepartment","isUpdateOneDepartmentLoading","isUpdateOneDepartmentSuccess","OrgViewList","selectedItemId","nameProperty","fixedContent","_value","Name","GroupName","MeterCode","useLocales","Locales","useIsFlexibleHierarchyEnabled","_location$pathname$sp","activeOrganization","OAT_FLEXIBLE_HIERARCHY","localeId","OrgViewOrganizationDetail","_useUpdateOrganizatio","useUpdateOrganization","updateOneOrganization","isUpdateOneOrganizationLoading","isUpdateOneOrganizationSuccess","_useOrganizationCount","useOrganizationCounts","organizationCounts","isOrganizationCountsLoading","currentOrgDisplayCounts","_useLocales","locales","isLocalesLoading","localeOptions","organizationCount","paddingX","paddingY","orgViewE2eAttributes","OrgView","routeMatch","departmentRouteMatch","siteRouteMatch","billingGroupRouteMatch","meterRouteMatch","filterDepartmentText","setFilterDepartmentText","filterSiteText","setFilterSiteText","filterBillingGroupText","setFilterBillingGroupText","filterMeterText","setFilterMeterText","isDepartmentsLoading","_useDepartmentCounts","fetchDepartmentCounts","useDepartmentCounts","departmentCounts","isDepartmentCountsLoading","_useSites","isSitesLoading","currentDepartmentDisplayCounts","filteredDepartmentResults","filteredDepartment","filteredSiteResults","filteredSite","filteredBillingGroupResults","filteredBillingGroup","filteredMeterResults","filteredMeter","overflowX","FeatureReleaseCalloutTypes","borderStyle","paddingTop","FeatureReleaseCallout","getActiveTabIndex","TamAdminOrganizationTableContent","TableBody","TableRow","_row$id","_row$locale","_row$demoOrganization","TableCell","Id","DemoOrganization","DateCreated","DateUpdated","TamAdminOrganizationTableHeader","TableHead","TamAdminOrganizationTable","_useOrganizations","useOrganizations","isOrganizationsLoading","organizationsTabularData","getSkeletonTableData","TableContainer","Table","TamAdminOnboarding","activeTabIndex","DataGridContext","editedOU","setEditedOU","DataGridProvider","dataGridContextValue","useDataGridContext","_useContext","CreateOUDialog","parentId","_useCreateOrganizatio","AddRounded","EditOUDialog","SaveIconRounded","useBatchUpdateOrgUnits","orgUnits","useBatchUpdateSites","destination","checkChildrenForEligibility","ineligibleOrgUnitIDs","_child$parent_id","parent_id","MoveItemsDialog","selectedRows","_useBatchUpdateOrgUni","mutateOrgUnits","isUpdateOrgUnitLoading","_useBatchUpdateSites","mutateSites","isUpdateSiteLoading","autocompleteOptions","_row$parentId","ou","buildAutocompleteOptions","destinationOU","orgUnitsToUpdate","sitesToUpdate","DialogContentText","Controller","render","_autocompleteOptions$","DriveFileMoveRounded","DeleteGroupsButton","rowsElibleForDelete","deleteButtonDisabled","confirmThenDeleteGroups","deletePromises","preventDeleteGroups","hideCancelButton","canDeleteOUs","MoveItemsButton","DriveFileMoveRoundedIcon","OUDisplayCell","rowNode","childrenExpanded","ExpandLessRoundedIcon","ExpandMoreRoundedIcon","EditRoundedIcon","SiteDisplayCell","Room","HierarchyGroupingCell","memo","depth","setRowChildrenExpansion","setCellFocus","stopPropagation","OrganizeDataGrid","onRowSelect","initialRowsRef","setRowSelectionModel","groupingColDef","hideDescendantCount","mainGroupingCriteria","checkboxSelection","getRowId","getTreeDataPath","onRowSelectionModelChange","treeData","useOrganizationalHierarchy","_yield$Organization$w","hierarchy","generateDataGridRows","treeNodes","newPath","useHierarchyTreeData","_useOrganizationalHie","organizationHierarchy","isOrganizationHierarchyLoading","isOrganizationalUnitsLoading","rootOU","rootID","flattenedHierarchy","structuredClone","flattenChildren","flattenOrganizationalUnits","siteNodes","siteNode","convertSitesToTreeNodes","siteParent","hierarchyTree","isHierarchyLoading","OrganizeRoute","isOrganizationalUnitsSuccess","createRootOU","_useHierarchyTreeData","_useDataGridContext","createDialogClose","createDialogIsOpen","createDialogOpen","moveItemsDialogClose","moveItemsDialogIsOpen","moveItemsDialogOpen","setSelectedRows","handleRowSelect","ids","newSelectedRows","OverviewRoute","CreateSiteButton","showErrorDialog","SiteListRoute","AdminRoute","_useIsFlexibleHierarc","Routes","Route","Organize","SiteList","TamAdminUserMenu","handleSignOutClick","PersonRounded","keepMounted","TamAdminAppBar","AppBar","Toolbar","QueryClient","queryCache","QueryCache","queries","useSSOForInternalUsers","isSSORequiredForInternalUsersEnabled","SSO_REQUIRE_INTERNAL_USERS","isInternalUser","isSSORequiredForInternalUsers","sendForgotPasswordEmail","EmailStatus","ForgotPassword","setEmail","Unknown","emailStatus","setEmailStatus","isValidEmail","setIsValidEmail","Success","Warning","emailHelperText","validateEmail","OrganizationGuard","_useOrganizationConte","setOrganization","urlOrganization","org","PasswordTextField","isPasswordVisible","onPasswordVisibleClick","handlePasswordVisibleClick","handlePasswordVisibleMouseDown","autoComplete","onMouseDown","edge","VisibilityOff","Visibility","resetPasswordSchema","ResetPasswordForm","setIsPasswordVisible","ResetPasswordInvalid","ResetPasswordSuccess","Root","getUserByPasswordResetToken","updateUserPassword","patch","ResetPassword","setUser","isPasswordReset","setIsPasswordReset","changePassword","getUserByToken","fetchedUser","OrganizationResolver","savedOrganizationId","useUserState","userState","isOrganizationAuthorized","setAndSaveOrganization","_activeUser$organizat","_activeUser$organizat2","defaultOrgId","organizationIds","isCinBellUser","CIN_BELL_ID","defaultOrganization","savedOrganization","setActiveOrganization","fetchPendo","handleOnPendoLoad","pendo","w","_q","usePendoInit","_usePendo","Pendo","initialize","visitor","full_name","AuthenticatedRoute","isAuthenticated","_organization$name","useDatadogRumSetUser","_useGtag","gtagIsFetched","user_id","useGtagSetUser","startSessionReplayRecording","getCurrentAppUrl","encodedCurrentUrl","encodeURIComponent","UserSettingsProvider","signUpSchema","firstName","lastName","recaptcha","termsAndConditions","VerifyEmail","verifyEmailImage","hasServerError","regex","SignUp","_form$formState$error","_form$formState$error2","_form$formState$error3","_form$formState$error4","_form$formState$error5","_form$formState$error6","isEmailSent","setIsEmailSent","isSignUpEnabled","APP_SIGN_UP","recaptchaRef","_useCreateUser","_recaptchaRef$current","emailDisallowedErrorMessage","emailTakenErrorMessage","organizationNameTakenErrorMessage","recaptchaErrorMessage","signUp","company_name","last_name","organizationNameServerError","emailServerError","OpenInNew","ReCAPTCHA","setValue","shouldDirty","shouldValidate","sitekey","recaptchaServerError","loginSchema","Login","signIn","isAccountError","setIsAccountError","Icon","SignIn","landingPage","landingPath","reSendSchema","ValidateAccount","_useValidateAccount","useValidateAccount","validateAccountData","validateAccountIsError","validateAccountIsSuccess","_useResendEmail","emailErrorMessage","authenticatedRouteLoader","invalidSessionValue","isSessionValid","fetchQuery","isSessionValidQueryKey","fetchSessionValidity","getUser","getAuthenticatedUserQueryKey","router","createBrowserRouter","loader","App","RouterProvider","NzeroSymbolLeft","NzeroSymbolRight","AppLoader","isFeaturesFetched","isAuthenticatedUserFetched","isSessionValidFetched","minLoadingTimeReached","setMinLoadingTimeReached","isReady","isAnimationComplete","setIsAnimationComplete","_useSprings2","useSprings","easings","easeOutExpo","easeOutQuart","springs","springsApi","easeInExpo","easeInQuart","onRest","springsCount","animated","div","hex","mustard","_createTheme","createTheme","themeOptions","augmentColor","components","MuiAlert","styleOverrides","MuiAlertTitle","MuiCssBaseline","MuiCircularProgress","defaultProps","sizeSmall","sizeMedium","sizeLarge","MuiIconButton","MuiToggleButton","_ref9","MuiToggleButtonGroup","MuiStepConnector","_ref10","MuiStepContent","_ref11","MuiStepLabel","iconContainer","_ref12","_ref13","MuiFormControlLabel","labelPlacementTop","_ref14","MuiInputLabel","_ref15","outlined","MuiFormLabel","_ref16","MuiFormHelperText","contained","_ref17","MuiSvgIcon","fontSizeLarge","colorSecondary","MuiListItemButton","_ref18","MuiListItemIcon","MuiListItemText","MuiAppBar","_ref19","MuiOutlinedInput","_ref20","notchedOutline","inputSizeSmall","MuiTable","stickyHeader","MuiTablePagination","MuiPaper","MuiInputBase","_ref21","letterSpacing","MuiCard","variants","MuiCardContent","_ref22","MuiChip","_ref23","labelSmall","_ref24","labelMedium","_ref25","MuiTabs","_ref26","MuiTab","_ref27","MuiDialogActions","_ref28","MuiDialogContentText","_ref29","MuiRadio","_ref30","MuiLink","_ref31","MuiSkeleton","rounded","_ref32","MuiTooltip","_ref33","MuiDataGrid","_ref34","_ref35","columnHeaders","_ref36","columnHeaderTitle","_ref37","body1","columnHeaderTitleContainer","_ref38","ownerState","columnSeparator","_ref39","menuIcon","_ref40","iconButtonContainer","_ref41","hero","normal","h4","header100","header200","header300","body100","body200","body300","body400","overview","MainTheme","LicenseInfo","setLicenseKey","init","actionNameAttribute","allowedTracingUrls","applicationId","clientToken","defaultPrivacyLevel","env","service","sessionReplaySampleRate","sessionSampleRate","startSessionReplayRecordingManually","trackLongTasks","trackResources","trackUserInteractions","version","APP_VERSION","createI18nService","initializeI18nService","store","createStore","sagaMiddlewareContext","createRoot","StrictMode","QueryClientProvider","ReduxProvider","StyledEngineProvider","injectFirst","ThemeProvider","NotificationProvider","ConfirmProvider","CssBaseline","AuthenticationProvider","AuthorizationProvider","OrganizationProvider","ReactQueryDevtools","initialIsOpen","UnitSeparator","UnitSeparators","Of","tokenValue","Per","UnitNameToUSCUnitNameMap","Celsius","Kilogram","SquareMeter","USCUnitNameToUnitNameMap","CustomVariableNameToUnitKeyMap","FeeTypeToUnitKeyMap","Units","isECMAScriptSupported","measurementSystem","shortDisplayValue","MeasurementSystemName","USC","RenewableEnergyCertificates","BIS","MetricMillionBritishThermalUnits","_BillingGroup","fetchOrganizationBillingGroupCount","_Department","fetchOrganizationDepartmentCount","OrganizationEmissions","_OrganizationEmissions","fetchOrganizationEmissionsCount","_Organization","fetchOrganizationCounts","_yield$Promise$allSet","_yield$Promise$allSet2","organizationEmissions","energyManagers","allSettled","fetchOrganizationalUnitCount","fetchOrganizationEnergyManagerCount","getCurrencyFormatConfig","_Intl$NumberFormat$fo","formatToParts","part","Right","_Currency","_process$env$REACT_AP","createClient","baseUrl","REACT_APP_API_BASE_URL","bodySerializer","createFetchClient","_process$env$REACT_AP2","WattUnit","CURRENCY_KEY","LANGUAGE_KEY","WATT_UNIT_KEY","getCurrency","savedCurrencyCode","localStorage","getItem","LanguageCurrencyMap","getLanguage","setItem","savedWattUnit","module","exports","_args$","serviceOptions","doLogin","_ref$data","_ref$params","doLogout","_args2","getSessionTimeout","_callee5","_args5","_signOut","_signIn","AuthenticationContext","isAuthenticatedUserLoading","isAuthenticating","isGetAuthenticatedUserLoading","isSessionValidLoading","isUserLoading","IsSessionValid","Authentication","signInMutationKey","signOutMutationKey","signOutMutation","stopSessionReplayRecording","stopSession","pollSessionMilliseconds","_useQuery2","_useMutation2","credentials","loginResult","userResult","cancelQueries","UserRoleName","Admin","BuildingManager","ConsultantUser","consultantUser","freeUser","AuthorizationContext","authorizedOrganizationsData","useAuthorizedOrganizations","NotificationContext","_notification$type","notification","setNotificationPublic","newNotification","Snackbar","autoHideDuration","OrganizationContext","saveActiveOrganization","setOrganizationPublic","_org$locale","CurrencyCode","USD","DanishDenmark","DKK","DutchNetherlands","EUR","EnglishCanada","CAD","EnglishGreatBritain","GBP","EnglishIreland","EnglishSingapore","SGD","FrenchBelgium","FrenchFrance","FrenchLuxembourg","FrenchSwitzerland","CHF","GermanGermany","GermanLuxembourg","GermanSwitzerland","ItalianItaly","ItalianSwitzerland","NorwegianNorway","NOK","SpanishSpain","SwedishSweden","SEK","_User","activeLocation","newURL","URL","protocol","host","initialSearchParams","_window$location$path","_window$location$sear","countName","UserSettingsContext","_props$userSettings$s","_props$userSettings","_props$userSettings2","_props$userSettings$s2","_props$userSettings3","_props$userSettings4","_props$userSettings$f","_props$userSettings5","_props$userSettings6","dispatch","useDispatch","useSelector","shallowEqual","currencyCode","_LanguageCurrencyMap$","userCurrencySetting","_getLanguage","getDataFromUserSettings","fetchFeatures","features","Feature","isFeaturesLoading","featureName","feat","_feature$gates$find$v","_feature$gates","gates","gate","actor","isActorInFeature","_FeeTypeToUnitKeyMap$","tokens","separator","tokenizeUnit","unitDisplays","isTokenASeparator","unitSeparator","_translatedNumberPart","translateIndividualUnit","unitName","unitTranslationMap","getUnit","keyCase","server","_Address","_OrganizationalUnit","startOfToday","fnPromiseArr","promiseResultList","fnPromise","oldValue","currentHour","_premiseFinancialSumm","_premiseFinancialSumm2","_premiseFinancialSumm3","_premiseFinancialSumm4","chunkRequests","chunkSize","totalSize","pageNumbers","requests","responses","shift","combinedResponse","currentResponse","mmbtu","allowPassThrough","passThroughUrl","createRenamedQueryData","renamedQueryProps","attributeProps","queryAttributePropNames","functionProps","queryFunctionPropNames","statusProps","queryStatusPropNames","createRenamedQueryProps","renamedQueryData","_createClass","stableStringify","filename","fileData","csv","_data$columns","_data$columns2","_data$columns3","_data$columns4","_cellAColumn$order","_cellBColumn$order","cellAKey","cellBKey","cellAColumn","cellBColumn","convertTabularDataToCSV","click","revokeObjectURL","invokeDownloadAndCleanup","Blob","createObjectURL","LOCALIZATION_CDN_KEY","LOCALIZATION_CDN_URL_ORIGIN","defaultI18nServiceConfig","lng","fallbackLng","English","load","interpolation","escapeValue","ns","TranslationNamespace","defaultNS","fallbackNS","react","useSuspense","manifest","languages","languageMapping","languageRegions","initOptions","_initOptions","backend","backends","HttpBackend","backendOptions","loadPath","GermanBelgium","FrenchCanada","DutchBelgium","i18next","createInstance","ChainedBackend","initReactI18next","CANCELED_PROMISE_ERROR_MESSAGE","_process","_process2","sagaMiddleware","createSagaMiddleware","reducer","combineReducers","rootReducer","configureStore","middleware","getDefaultMiddleware","serializableCheck","thunk","devTools","run","saga","rootSaga","formatToSnakeCase","inString","formatMethod","renameKeys","str","energyVolume","inputUnitType","outputUnitType","pricePerMwh","getSkeletonTableRows","_user$organizationIds","hasCinBellEmail","hasCinBellAccess","_MeterHour","meter_id","_MeterSourceType","CarbonFreeEnergy","Danish","Dutch","French","German","Italian","Norwegian","Spanish","Swedish","WaterUseValue","CarbonFreeEnergyConsumedYTD","_Location","_Node","_PhysicalDetail","_Sink","_Locale","_SpraypaintBase","lookupOptions","_fetchInstances","_saveValues","attributeName","_attributeList$attrib","attributeList","_this$lookupOptions$i","_this$lookupOptions","attributeInfo","_this$lookupOptions$e","_this$lookupOptions2","_this2","attributeValues","pickBy","isAttribute","relationshipInfoByAttributeName","getRelationshipsInfo","relationshipValues","relation","relationships","isIncludedRelationship","relationshipInfoByIdName","mapKeys","idName","relationshipIds","relationshipsInfo","relationshipIdNames","withOption","_this3","getAttributeNames","getRelationshipNames","isExtraAttribute","RelationshipModel","_this3$attributeName","prevRelationships","prevIds","relationship","isMarkedForDisassociation","_this3$attributeName2","isPersisted","pojoRelationships","newPojoRelationships","toPojo","_this4","_this5","_relationshipValue$ty","relationshipValue","lowerFirst","freeze","typeRegistry","_this6","getRelationshipInfo","_result$map","_yield$scope$all","SpraypaintBase","sync","apiNamespace","MiddlewareStack","beforeFilters","_url","_getCurrency","HttpHeaderName","XDisplayCurrency","middlewareStack","emptyUserState","_usersState$authentic2","usersState","setUserState","_usersState$authentic","newUserState","createSpraypaintSort","serviceSortOptions","createSpraypaintWhere","serviceWhereOptions","getInstance","fetchInstances","getInstances","instances","_getOne","_yield$getInstance","_getMany","_yield$getInstances","_update","saveValues","_x5","_x6","delete","_delete2","_callee6","_context6","_x7","_create","_callee7","_context7","_x8","_Error","_wrapNativeSuper","metaStatSum","_unused","queryKeys","predicate","_ref3$queryKey","_EnergyAllocation","_fetchInPages","imbalancePriceCents","contractPriceCents","obligationCents","confirmCostCents","imbalanceCostCents","totalCostCents","_ref$includes","_ref$selects","_ref$stats","energyAllocationsMeta","energyAllocationsCollection","confirmLineLossCostCents","imbalanceLineLossCostCents","schedulingCostCents","serviceHourId","energyAllocationsByHour","hourAllocations","displayCo2eLbs","meteredAllocations","productsFromEnergyAllocations","confirmCostsSum","confirmLineLossCostSum","imbalanceCostSum","imbalanceLineLossCostSum","schedulingCostSum","energyAllocationsByDay","dayAllocations","serviceHour","allocationsWithConfirms","isConfirmAllocation","allocationsGroupedByConfirm","billing_groups","resolvedFinancialSummariesPerPremise","userSettingsReducer","spawn","DEFAULT_HEADERS","_ref$baseUrl","_ref$headers","baseApiUrl","baseHeaders","coreFetch","_coreFetch","fetchHeaders","finalHeaders","requestInit","finalURL","mergeHeaders","redirect","createFinalURL","Request","fetch","ok","json","substring","Headers","_options$params$query","fetchAuthorizedOrganizations","orgIds","AuthorizedOrganizations","OrganizationModel","Organizations"],"mappings":";uoDACAA,EAAA,kBAAAC,CAAA,MAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,KAAA,EAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,EAAA,K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AASwS,IAAI,GACrBi6H,OAAQvtI,IAAEc,SACVu/D,MAAOrgE,IAAEc,SAAS8B,WAAW63D,Y,sBCT/BskJ,EAAOC,QAAU,IAA0B,sC,sBCA3CD,EAAOC,QAAU,IAA0B,oC,sBCA3CD,EAAOC,QAAU,IAA0B,2C,sBCA3CD,EAAOC,QAAU,IAA0B,8C,sBCA3CD,EAAOC,QAAU,IAA0B,qC,sBCC3CD,EAAOC,QAAU,CAAC,KAAO,iDAAiD,eAAiB,2D,sBCA3FD,EAAOC,QAAU,CAAC,KAAO,uC,sBCDzBD,EAAOC,QAAU,IAA0B,kC,sBCA3CD,EAAOC,QAAU,IAA0B,+B,sBCA3CD,EAAOC,QAAU,IAA0B,wC,sBCA3CD,EAAOC,QAAU,IAA0B,gC,sBCA3CD,EAAOC,QAAU,IAA0B,gD,sBCA3CD,EAAOC,QAAU,IAA0B,kC,sBCA3CD,EAAOC,QAAU,IAA0B,iC,sBCA3CD,EAAOC,QAAU,IAA0B,iC,sBCA3CD,EAAOC,QAAU,IAA0B,8C","file":"js/application-4afcb99f81cc373e5e59.chunk.js","sourcesContent":["import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class Bill extends ApplicationRecord {\n public static jsonapiType = \"bills\"\n\n @Attr() public readonly siteId: number\n}\n\n/**\n * Fetches the bill count for an site\n *\n * @param siteId - The site id\n * @returns - The bill count\n * @example\n * fetchSiteBillCount(\"15\")\n */\nexport const fetchSiteBillCount = async (siteId: string): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Bill.where({\n site_id: siteId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class SiteEmission extends ApplicationRecord {\n public static jsonapiType = \"site_emissions\"\n\n @Attr() public readonly siteId: number\n}\n\n/**\n * Fetches the site emission count for an site\n *\n * @param siteId - The site id\n * @returns - The site emission count\n * @example\n * fetchSiteSiteEmissionCount(\"15\")\n */\nexport const fetchSiteSiteEmissionCount = async (\n siteId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await SiteEmission.where({\n site_id: siteId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n","import { reject } from \"lodash-es\"\nimport type { WhereClause } from \"spraypaint\"\nimport { Attr, BelongsTo, HasMany, HasOne, Model } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport { chunkRequests } from \"../utils\"\nimport Address from \"./address\"\nimport type { IFetchApplicationRecordOptions } from \"./applicationRecord/applicationRecord\"\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport { fetchSiteBillCount } from \"./bill\"\nimport { fetchSiteBillingGroupCount } from \"./billingGroup\"\nimport Currency from \"./currency\"\nimport Department from \"./department\"\nimport LoadAggregationPoint from \"./loadAggregationPoint\"\n// Cannot yet be imported as a type\n// because the class must be imported somewhere for it to be added to the modelRegistry\n// See spraypaint.js/src/decorators.js -> modelFactory() -> ModelClass.registerType()\nimport Location from \"./location\"\n// Cannot yet be imported as a type\n// because the class must be imported somewhere for it to be added to the modelRegistry\n// See spraypaint.js/src/decorators.js -> modelFactory() -> ModelClass.registerType()\nimport Node from \"./node\"\nimport Organization from \"./organization\"\nimport OrganizationalUnit from \"./organizationalUnit\"\nimport PhysicalDetail from \"./physcialDetails\"\n// Cannot yet be imported as a type\n// because the class must be imported somewhere for it to be added to the modelRegistry\n// See spraypaint.js/src/decorators.js -> modelFactory() -> ModelClass.registerType()\nimport Sink from \"./sink\"\nimport { fetchSiteSiteEmissionCount } from \"./siteEmission\"\nimport { Order } from \"./sort\"\n\nexport interface SiteInterface {\n readonly carbonEquivalentEmissionsGoal: number\n readonly lineLossFactor: number\n readonly locationId: string\n readonly name: string\n readonly tariffDollars: number\n}\n\ninterface CustomVariablesInterface {\n description: string | null\n name: string\n value: number\n}\n\nexport interface ISitePreviewDto {\n departmentName: string | null\n electricityType: string\n siteId: string\n siteName: string\n timezone: string\n topOrgUnitName: string\n}\n\nexport interface ISitePreview {\n departmentName: string | null\n electricityType: string\n id: string\n name: string\n timezone: string\n topOrgUnitName: string\n}\n\nexport interface ISiteCounts {\n billingGroups: number\n bills: number\n siteEmissions: number\n}\n\n@Model()\nexport class Site extends ApplicationRecord {\n public static jsonapiType = \"sites\"\n\n @BelongsTo(\"currencies\") public currency: Currency\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"locations\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @BelongsTo(Location) public location: Location\n\n @BelongsTo(\"organizations\") public organization: Organization\n\n @BelongsTo(\"organizational_units\")\n public organizationalUnit: OrganizationalUnit\n\n @BelongsTo(\"departments\") public department: Department\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"sinks\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @BelongsTo(Sink) public sink: Sink\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"nodes\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @HasMany(Node) public nodes: Node[]\n\n @HasOne(\"load_aggregation_points\")\n public loadAggregationPoint: LoadAggregationPoint\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"addresses\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @HasOne(Address)\n public address: Address | undefined\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"nodes\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @HasMany(PhysicalDetail)\n public physicalDetails: PhysicalDetail[] | undefined\n\n @Attr() public readonly dateCreated: string\n\n @Attr() public readonly dateUpdated: string\n\n @Attr() public readonly granularity: string\n\n @Attr() public readonly lineLossFactor: number\n\n @Attr() public readonly notes: string\n\n @Attr() public readonly tariffDollars: number\n\n @Attr() public readonly tariffMajor: number\n\n @Attr() public yearBuilt?: number\n\n @Attr() public readonly name: string\n\n @Attr() public readonly baCode: string\n\n @Attr() public readonly timezone: string\n\n @Attr() public readonly loadAggregationPointId: number\n\n @Attr() public locationId?: string\n\n @Attr() public readonly carbonEquivalentEmissionsGoal: number\n\n @Attr() public readonly organizationId: number\n\n @Attr() public readonly organizationalUnitId: number\n\n @Attr() public readonly electricityType: string\n\n @Attr() public readonly departmentId: number\n\n @Attr() public readonly departmentName: string\n\n @Attr() public readonly hasAmiMeter: boolean\n\n @Attr() public readonly hasAmrMeter: boolean\n\n @Attr() public readonly hasSubMeter: boolean\n\n @Attr() public readonly probeMeter: boolean\n\n @Attr() public readonly customVariables: CustomVariablesInterface[]\n\n @Attr() public readonly locationName: string\n\n @Attr() public readonly billingGroupNames: string[]\n\n @Attr() public readonly siteAlias: string\n\n @Attr() public sqFt?: string | null\n\n @Attr() public numberOfFloors?: number\n\n @Attr() public buildingType?: string | null\n\n isBundledEnergyCustomer(): boolean {\n return this.electricityType === \"bundled\"\n }\n}\n\nexport default Site\n\n/**\n * Fetches the site count for an organization\n *\n * @param orgId - The organization id\n * @returns - The site count\n * @example\n * fetchOrganizationSiteCount(\"15\")\n */\nexport const fetchOrganizationSiteCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Site.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\n/**\n * Fetches the counts for an site\n *\n * @param siteId - The site id\n * @returns - The site counts\n * @example\n * fetchSiteCounts(\"15\")\n */\nexport const fetchSiteCounts = async (siteId: string): Promise => {\n const [bills, siteEmissions, billingGroups] = await Promise.all([\n fetchSiteBillCount(siteId),\n fetchSiteSiteEmissionCount(siteId),\n fetchSiteBillingGroupCount(siteId),\n ])\n const counts: ISiteCounts = {\n bills,\n siteEmissions,\n billingGroups,\n } as ISiteCounts\n\n return counts\n}\n\n/**\n * Fetches the site count for a department\n *\n * @param departmentId - The department id\n * @returns - The site count\n * @example\n * fetchDepartmentSiteCount(\"15\")\n */\nexport const fetchDepartmentSiteCount = async (\n departmentId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Site.where({\n department_id: departmentId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\nexport const filterOrganizationSites = (\n organizationSites: Site[],\n departmentId\n): Site[] =>\n departmentId\n ? reject(\n organizationSites,\n (site) => site.departmentId !== Number(departmentId)\n )\n : organizationSites\n\nexport const fetchSites = async (\n clause: WhereClause,\n options?: Partial\n): Promise => {\n const mergedOptions: IFetchApplicationRecordOptions = {\n ...{\n order: Order.asc,\n orderBy: \"name\",\n pageSize: 1000,\n pageNumber: 1,\n },\n ...options,\n }\n\n if (!clause) {\n return []\n }\n\n const response: CollectionProxy = await Site.where(clause)\n .includes([\n \"currency\",\n \"nodes\",\n \"sink\",\n \"location\",\n \"billing_groups\",\n \"address\",\n ])\n .selectExtra([\"location_name\", \"billing_group_names\", \"sq_ft\"])\n .order({ [mergedOptions.orderBy]: mergedOptions.order })\n .per(mergedOptions.pageSize)\n .page(mergedOptions.pageNumber)\n .all()\n return response.data\n}\n\nexport const fetchAllSites = async (\n departmentId: string,\n chunkSize: number,\n totalCount: number\n): Promise => {\n if (!Number.isInteger(totalCount)) {\n return []\n }\n const request = (pageNumber: number, pageSize: number) =>\n fetchSites(\n { department_id: departmentId },\n { orderBy: \"name\", pageNumber, pageSize }\n )\n return chunkRequests(request, chunkSize, totalCount)\n}\n","import { upperFirst } from \"lodash-es\"\n\nimport type {\n MutationInputStatus,\n MutationOutputStatus,\n ServiceAction,\n ServiceName,\n} from \"../../types\"\nimport { mutationStatusNames } from \"../../types\"\n\n/**\n * Creates an object of React Query based status names customized to the entity and action.\n * @param serviceName The name of the service.\n * @param serviceAction The action of the service.\n * @param inputObject The input object to be remapped.\n * @returns The remapped object.\n * @example\n * createOutputStatus(\"test\", \"updateOne\", {\n * isIdle: false,\n * isLoading: false,\n * isSuccess: true,\n * isError: false,\n * })\n */\nexport const createOutputStatus = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n>(\n serviceName: NameT,\n serviceAction: ActionT,\n inputObject: MutationInputStatus\n) =>\n ({\n // is[NameActionStatus] (e.g. isCreateOneDepartmentLoading)\n ...Object.fromEntries(\n mutationStatusNames.map((statusKey) => [\n `is${upperFirst(serviceAction)}${upperFirst(serviceName)}${upperFirst(\n statusKey\n )}`,\n inputObject[`is${upperFirst(statusKey)}`],\n ])\n ),\n }) as MutationOutputStatus\n","import { useMemo } from \"react\"\n\nimport type {\n InputMutation,\n MutationInputStatus,\n ServiceAction,\n ServiceName,\n ServiceValue,\n} from \"../../types\"\nimport { createOutputStatus } from \"../createMutationOutputStatus/createMutationOutputStatus\"\nimport { createOutputMutation } from \"../createOutputMutation/createOutputMutation\"\n\n/**\n * @deprecated Use {@link UseRenameQueryResult} instead\n *\n * Create a renamed and memoized return object for a particular service.\n * Renames data to serviceName and isLoading to isServiceGetOneLoading, etc.\n *\n * @param serviceName The name of the service.\n * @param serviceAction The action of the service.\n * @param inputObject The input object to be remapped.\n * @returns The return object.\n * @example\n * useMutationReturnHandle([\"test\", \"updateOne\"], {\n * isIdle: false,\n * isLoading: false,\n * isSuccess: true,\n * isError: false,\n * })\n */\nexport const useMutationReturnHandle = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n>(\n // Accept a query key, but allow any other tuple as well:\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [serviceName, serviceAction]: [NameT, ActionT, ...any],\n // Formatted to accept the return value of react-query's useMutation.\n inputObject: MutationInputStatus & InputMutation\n) => {\n const outputStatus = useMemo(\n () => createOutputStatus(serviceName, serviceAction, inputObject),\n [inputObject, serviceAction, serviceName]\n )\n\n const outputMutation = useMemo(\n () => createOutputMutation(serviceName, serviceAction, inputObject),\n [inputObject, serviceAction, serviceName]\n )\n\n return useMemo(\n () => ({\n ...outputStatus,\n ...outputMutation,\n }),\n [outputStatus, outputMutation]\n )\n}\n","import { upperFirst } from \"lodash-es\"\n\nimport type {\n OutputMutation,\n QueryMutation,\n ServiceAction,\n ServiceMutation,\n ServiceName,\n ServiceValue,\n} from \"../../types\"\n\n/**\n * Customizes a React Query mutation result with property names based on the service entity.\n * @param serviceName The name of the service.\n * @param serviceAction The action of the service.\n * @param mutate The mutate function.\n * @returns The mutation result.\n * @example\n * createOutputMutation(\"test\", \"updateOne\", {\n * mutate: () => {},\n * })\n */\nexport const createOutputMutation = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n>(\n serviceName: NameT,\n serviceAction: ActionT,\n { mutate }: { mutate: QueryMutation }\n) => {\n const wrappedMutation = (serviceEntityKey, newAttributes) => {\n if (!mutate) {\n throw new Error(\"No mutation defined.\")\n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n mutate({ serviceEntityKey, newAttributes })\n }\n\n return {\n [`${serviceAction}${upperFirst(serviceName)}`]: wrappedMutation,\n } as OutputMutation>\n}\n","import { all, getContext, put, takeEvery, takeLatest } from \"redux-saga/effects\"\n\nimport type Currency from \"../../../models/currency\"\nimport { fetchCurrencies } from \"../../../models/currency\"\nimport type { CurrencyCode } from \"../../../models/currencyCode\"\nimport { SagaContextKeys } from \"../../../state/store\"\nimport { handleError } from \"../../../utils/error\"\nimport { saveCurrency, saveLanguage } from \"../../../utils/localStorage\"\nimport {\n currenciesToCurrencyCodes,\n isSupportedCurrency,\n} from \"../util/settings/settings\"\nimport type {\n ChangeCurrencyAction,\n ChangeLanguageAction,\n SetInitialUserLanguageAction,\n} from \"./userSettings.store\"\nimport {\n changeCurrency,\n changeLocale,\n loadSupportedCurrencies,\n loadSupportedCurrenciesFail,\n loadSupportedCurrenciesSuccess,\n setInitialUserLocale,\n} from \"./userSettings.store\"\n\n/**\n * Fetches the user-selectable currencies\n *\n * @yields\n */\nexport function* fetchSupportedCurrencies() {\n try {\n // Fetch the currencies\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response = yield fetchCurrencies()\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const serverSupportedCurrencies: Currency[] = response\n\n const uiSupportedCurrencyCodes: CurrencyCode[] = currenciesToCurrencyCodes(\n serverSupportedCurrencies.filter((serverCurrencyCode) =>\n isSupportedCurrency(serverCurrencyCode.alphaCode as CurrencyCode)\n )\n )\n\n yield put(loadSupportedCurrenciesSuccess(uiSupportedCurrencyCodes))\n } catch (error) {\n yield put(loadSupportedCurrenciesFail())\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n handleError(error)\n }\n}\n\n/**\n * Saves the selected currency code to local storage\n *\n * @param action\n * @param action.payload\n * @generator\n * @yields\n */\nexport function* saveCurrencyChange({ payload }: ChangeCurrencyAction) {\n // Don't bother fixing this eslint violation as we will replace this with React Query\n // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression\n yield saveCurrency(payload)\n}\n\n/**\n * Saves the selected language region to local storage and sets the change in the i18n service\n *\n * @param action\n * @param action.payload\n * @generator\n * @yields\n */\nexport function* saveLanguageChange({ payload }: ChangeLanguageAction) {\n // Don't bother fixing this eslint violation as we will replace this with React Query\n // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression\n yield saveLanguage(payload)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const i18nService = yield getContext(SagaContextKeys.i18n)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n yield i18nService.changeLanguage(payload)\n}\n\n/**\n * Saves the default language region to the i18n service.\n *\n * @param action\n * @param action.payload\n * @generator\n * @yields\n */\nexport function* saveDefaultLanguage({\n payload,\n}: SetInitialUserLanguageAction) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const i18nService = yield getContext(SagaContextKeys.i18n)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n yield i18nService.changeLanguage(payload)\n}\n\n/**\n * Saga watchers for UserSettings actions\n *\n * @yields\n */\nexport default function* watchUserSettings() {\n yield all([\n takeEvery(changeCurrency, saveCurrencyChange),\n takeLatest(loadSupportedCurrencies, fetchSupportedCurrencies),\n takeEvery(changeLocale, saveLanguageChange),\n takeEvery(setInitialUserLocale, saveDefaultLanguage),\n ])\n}\n","/**\n * @deprecated Use SortOrder type instead\n */\nexport enum Order {\n asc = \"asc\",\n desc = \"desc\",\n}\nexport type SortOrder = \"asc\" | \"desc\"\n","import { z } from \"zod\"\n\nimport type { RelationshipMeta } from \"./types\"\n\n/**\n * Create a special Zod Object schema with relationship information attached as meta.\n */\nconst createRelationship = (\n relationshipMeta: Readonly // Readonly so string literals are preserved.\n) => {\n const relationshipSchema = z.custom(\n (value) => value === null || value === undefined,\n \"Overwrite this schema relationship to set it's value\"\n )\n Object.assign(relationshipSchema._def, {\n __relationshipMeta: relationshipMeta,\n })\n return relationshipSchema\n}\n\nconst buildOptions = <\n T extends RelationshipMeta[\"relationshipType\"],\n N extends RelationshipMeta[\"targetName\"],\n>(\n relationshipType: T,\n targetName: N\n) =>\n ({\n relationshipType,\n targetName,\n isArray: relationshipType === \"hasMany\",\n }) as Readonly<{\n isArray: T extends \"hasMany\" ? true : false\n relationshipType: T\n targetName: N\n }>\n\nexport const hasOne = (\n targetName: N\n) => createRelationship(buildOptions(\"hasOne\", targetName))\n\nexport const belongsTo = (\n targetName: N\n) => createRelationship(buildOptions(\"belongsTo\", targetName))\n\nexport const hasMany = (\n targetName: N\n) => createRelationship(buildOptions(\"hasMany\", targetName))\n\nexport type GetRelationshipMeta = Exclude<\n z.infer,\n null\n>[\"__relationshipMeta\"]\n\nexport const getRelationshipMeta = (schema: Z) =>\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (schema._def.__relationshipMeta ??\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n schema._def.innerType?._def.__relationshipMeta) as GetRelationshipMeta\n\nexport type IsRelationship =\n GetRelationshipMeta extends RelationshipMeta ? true : false\n\nexport const isRelationship = (schema: Z) =>\n !!getRelationshipMeta(schema)\n","import { forEach, mapValues } from \"lodash-es\"\n\nimport type {\n RelationshipMeta,\n SchemaDefinition,\n SchemasArgument,\n} from \"./types\"\n\ntype HydrateSchemasObject> = {\n [S in SchemasT[keyof SchemasT] as S[\"name\"]]: Omit<\n S,\n \"isHydrated\" | \"relationshipsByName\"\n > & {\n isHydrated: true\n relationshipsByName: {\n [K in keyof S[\"relationshipsMeta\"]]: SchemasT[S[\"relationshipsMeta\"][K][\"targetName\"]]\n }\n }\n}\n\nexport type HydratedSchemas = HydrateSchemas>\n\nexport type HydratedSchema = HydratedSchemas[string]\n\n// TODO: Also accept a single hydrated schema and infer SchemasObject\n// TODO: Option to do this destructively?\n\nexport type HydrateSchemas =\n HydrateSchemasObject<{\n [S in SchemasT extends ArrayLike\n ? V\n : SchemasT[keyof SchemasT] as S[\"name\"]]: S\n }>\n\n/**\n * Add references based on relationships between all provided schemas.\n * Returns an object of new schemas indexed by schema name.\n */\nexport const hydrateSchemas = (\n schemasArg: SchemasT\n) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const schemas = Array.isArray(schemasArg)\n ? Object.fromEntries(\n schemasArg.map((schema) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!schema.name) {\n throw new Error(\"Schema does not have a name set.\")\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return [schema.name, schema]\n })\n )\n : schemasArg\n\n const hydratedSchemas = mapValues(schemas, (schema: SchemaDefinition) => {\n if (schema.isHydrated) {\n return schema\n }\n\n const relationshipsByName: Record = {}\n const relationshipsByTarget: Record = {}\n forEach(\n schema.relationshipsMeta,\n ({ targetName }: RelationshipMeta, relationshipName: string) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const targetSchema = schemas[targetName]\n if (!targetSchema) {\n throw new Error(`Relationship \"${targetName}\" not found.`)\n }\n // TODO: Warn if the other side of a hasOne or a hasMany is also a hasOne.\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n relationshipsByName[relationshipName] = targetSchema\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n relationshipsByTarget[targetSchema.name] = targetSchema\n }\n )\n return {\n ...schema,\n relationshipsByName,\n isHydrated: true,\n }\n })\n\n return hydratedSchemas as unknown as HydrateSchemas // TODO: Remove coercion\n}\n","import { string } from \"zod\"\n\nimport { defineSchema } from \"./defineSchema\"\nimport { hydrateSchemas } from \"./hydrateSchemas\"\nimport { belongsTo, hasMany, hasOne } from \"./zodRelationship\"\n\n// TODO: Include allowed zod methods\n\nexport const s = {\n string,\n belongsTo,\n hasMany,\n hasOne,\n define: defineSchema,\n hydrate: hydrateSchemas,\n}\n","import { z } from \"zod\"\n\nimport type { GetRelationshipMeta, IsRelationship } from \"./zodRelationship\"\nimport { getRelationshipMeta, isRelationship } from \"./zodRelationship\"\n\ntype GetRelationshipNames = keyof {\n [N in keyof ZodObjectT as IsRelationship extends false\n ? never\n : N]: unknown\n}\n\ntype GetAttributeNames = keyof {\n [N in keyof ZodObjectT as IsRelationship extends true\n ? never\n : N]: unknown\n}\n\nexport const defineSchema = <\n SchemaNameT extends string,\n ZodObjectT extends z.ZodRawShape,\n>(\n schemaName: SchemaNameT,\n zodObject: ZodObjectT\n) => {\n const attributeNames: GetAttributeNames[] = []\n const relationshipNames: GetRelationshipNames[] = []\n const relationshipsMeta = {} as {\n [N in GetRelationshipNames]: GetRelationshipMeta\n }\n\n Object.keys(zodObject).forEach((name) => {\n if (isRelationship(zodObject[name])) {\n relationshipNames.push(name as GetRelationshipNames)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n relationshipsMeta[name as GetRelationshipNames] =\n getRelationshipMeta(zodObject[name])\n } else {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any\n attributeNames.push(name as any)\n }\n })\n\n const schema = {\n name: schemaName,\n zodSchema: z.object(zodObject),\n attributeNames,\n relationshipNames,\n relationshipsMeta,\n relationshipsByName: {},\n isHydrated: false,\n }\n\n return schema\n}\n","import { pick } from \"lodash\"\nimport { z } from \"zod\"\n\nimport type {\n GetAttributeFields,\n GetRelationshipIdFields,\n GetRelationshipNames,\n SchemaDefinition,\n} from \"./types\"\n\nexport type FormValidation<\n SchemaT extends SchemaDefinition,\n IncludesT extends GetRelationshipNames,\n> = z.ZodObject<\n GetAttributeFields & GetRelationshipIdFields\n>\n\nexport const generateValidation = <\n SchemaT extends SchemaDefinition,\n IncludesT extends GetRelationshipNames,\n>(\n schema: SchemaT,\n includes: null | IncludesT[] = null\n) => ({\n form: () =>\n z.object({\n // Deliberately omitting full relationships here.\n ...pick(schema.zodSchema.shape, schema.attributeNames),\n ...schema.relationshipNames.reduce((obj, fieldName) => {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any\n if (includes !== null && !includes.includes(fieldName as any)) {\n return obj\n }\n const { isArray } = schema.relationshipsMeta[fieldName]\n const baseSchema =\n schema.zodSchema.shape[fieldName] instanceof z.ZodNullable\n ? z.string().nullable()\n : z.string()\n\n return {\n ...obj,\n [isArray ? `${fieldName}Ids` : `${fieldName}Id`]: schema\n .relationshipsMeta[fieldName].isArray\n ? z.array(baseSchema)\n : baseSchema,\n }\n }, {}),\n }) as FormValidation,\n})\n","import Color from \"color\"\n\n/**\n *\n *\n * PLEASE READ:\n * All approved colors for design are now also in the theme.ts file.\n * This means you should use the tokens from the theme file\n * instead of directly importing them from here. You also do not\n * need to call `toString()` or anything like that on the color from\n * the theme. If a figma file has a color that does not map to the theme,\n * please have a conversation with them and the design team as a whole.\n * There is also a slack channel, #design-system-mui, for asking these sorts of questions.\n *\n *\n */\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const almond = new Color(\"#EFDDC9\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const biomassGreen = new Color(\"#6C8446\")\n\nexport const black = new Color(\"#000000\")\n\n/**\n * @deprecated Use palette.action.disabled from the theme\n */\nexport const black25 = new Color(\"rgba(0,0,0,0.25)\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const coalBrown = new Color(\"#635A49\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const darkBlue = new Color(\"#2B3671\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const darkCarbon = new Color(\"#A6A9B2\")\n\n/**\n * @deprecated Use palette.grey.800 from the theme\n */\nexport const darkGray = new Color(\"#1D1D1D\")\n\n/**\n * @deprecated Use palette.grey.300 from the theme\n */\nexport const dustyGray = new Color(\"#9B9B9B\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const gasBrown = new Color(\"#968257\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const geothermalBlue = new Color(\"#00D4CD\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const hydroBlue = new Color(\"#9FC5FF\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightCarbon = new Color(\"#D6D9E5\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightGray = new Color(\"#CECECD\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lighterGray = new Color(\"#E9E9E9\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightGreen = new Color(\"#98D4AD\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightSolarOrange = new Color(\"#FEAB0F\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const nuclearGreen = new Color(\"#A3EE18\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const offWhite = new Color(\"#F9F9F9\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const pickledBluewood = new Color(\"#233143\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const solarOrange = new Color(\"#D68D40\")\n\n/**\n * @deprecated The alternate color is grey600 from the theme.ts\n */\nexport const solidGray = new Color(\"#545454\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const solarYellow = new Color(\"#FEAB0F\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const warningYellowAccent = new Color(\"#FEE0A7\")\n\nexport const transparent = new Color(\"rgba(0,0,0,0)\")\n\nexport const white = new Color(\"#FFFFFF\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const windGreen = new Color(\"#C7DC67\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const coral = new Color(\"#FE6504\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const darkTeal = new Color(\"#018281\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const darkestTeal = new Color(\"#006060\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightBlue = new Color(\"#BACCE9\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightestBlue = new Color(\"#DBE6F7\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightestTeal = new Color(\"#DAEBE9\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const limeGreen = new Color(\"#479A5E\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const newBlue = new Color(\"#3362AB\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const placeholder = new Color(\"#C4C4C4\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const fossilFuelGray = new Color(\"#92949C\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const teal = new Color(\"#84BDBA\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const scope2Blue = new Color(\"#A4C8D1\")\n\n/**\n * @deprecated Use grey from theme palette\n */\nexport const grayScale = new Color(\"#E9E9E9\")\n\n// carbon intensity colors -- feel free to change any of the names\n// some taken from https://www.color-blindness.com/color-name-hue/\n\n// darkest color is above: darkGray = #1D1D1D\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const darkSlateBlue = new Color(\"#404866\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const cometBlue = new Color(\"#676C84\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const lightSlateBlue = new Color(\"#A4A7B5\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const linkWater = new Color(\"#D6D9E5\")\n\n/**\n * @deprecated Please ask the design team for an alternate color that is in the theme.ts\n */\nexport const ghostWhite = new Color(\"#EEF1FE\")\n\n/**\n * @deprecated It doesn't belong in this file\n */\nexport const fuelColorMap = new Map([\n [\n \"BATTERY\",\n {\n name: \"Battery\",\n color: placeholder,\n },\n ],\n [\n \"BIOMASS\",\n {\n name: \"Biomass\",\n color: biomassGreen,\n },\n ],\n [\n \"COAL\",\n {\n name: \"Coal\",\n color: coalBrown,\n },\n ],\n [\n \"GAS\",\n {\n name: \"Gas\",\n color: gasBrown,\n },\n ],\n [\n \"GEOTHERMAL\",\n {\n name: \"Geothermal\",\n color: geothermalBlue,\n },\n ],\n [\n \"HYDRO\",\n {\n name: \"Hydro\",\n color: hydroBlue,\n },\n ],\n [\n \"IMBALANCE\",\n {\n name: \"Imbalance\",\n color: lightGray,\n },\n ],\n [\n \"NUCLEAR\",\n {\n name: \"Nuclear\",\n color: nuclearGreen,\n },\n ],\n [\n \"OFSL\",\n {\n name: \"Other Fossil Fuel\",\n color: placeholder,\n },\n ],\n [\n \"OIL\",\n {\n name: \"Oil\",\n color: black,\n },\n ],\n [\n \"OTHF\",\n {\n name: \"Other Fuel\",\n color: placeholder,\n },\n ],\n [\n \"SOLAR\",\n {\n name: \"Solar\",\n color: solarYellow,\n },\n ],\n [\n \"Unspecified\",\n {\n name: \"Market Hub (Unspecified)\",\n color: white,\n },\n ],\n [\n \"WIND\",\n {\n name: \"Wind\",\n color: windGreen,\n },\n ],\n [\n \"CARBON-FREE\",\n {\n name: \"Carbon-Free Electricity\",\n color: lightGreen,\n },\n ],\n [\n \"FOSSIL-FUEL\",\n {\n name: \"Fossil Fuels\",\n color: fossilFuelGray,\n },\n ],\n [\n \"City of Reno Rooftop Solar\",\n {\n name: \"City of Reno Rooftop Solar\",\n color: solarYellow,\n },\n ],\n [\n \"NV Energy North\",\n {\n name: \"NV Energy North\",\n color: placeholder,\n },\n ],\n])\n\nexport const colorDarken = (color: Readonly): Color =>\n color.desaturate(0.3)\n\n// UI refresh color palette\nexport const primary25 = new Color(\"#F5F9FF\")\nexport const primary50 = new Color(\"#E7F2FF\")\nexport const primary100 = new Color(\"#BEDCFF\")\nexport const primary200 = new Color(\"#9FCBFF\")\nexport const primary300 = new Color(\"#74B0F8\")\nexport const primary400 = new Color(\"#1073EB\").darken(0.04) // Darken to pass accessibility checker in all scenarios\nexport const primary500 = new Color(\"#135CB1\")\nexport const primary600 = new Color(\"#144F95\")\nexport const primary700 = new Color(\"#0A3F7D\")\nexport const primary800 = new Color(\"#0D2E54\")\n\nexport const cerulean25 = new Color(\"#E6F3F6\").lighten(0.1)\nexport const cerulean50 = new Color(\"#E6F3F6\")\nexport const cerulean100 = new Color(\"#B8DAE4\")\nexport const cerulean200 = new Color(\"#7FBED2\")\nexport const cerulean300 = new Color(\"#559EB5\")\nexport const cerulean400 = new Color(\"#297D97\")\nexport const cerulean500 = new Color(\"#046381\")\nexport const cerulean600 = new Color(\"#045771\")\nexport const cerulean700 = new Color(\"#03465B\")\nexport const cerulean800 = new Color(\"#023241\")\n\nexport const gray25 = new Color(\"#F9F9F9\")\nexport const gray50 = new Color(\"#F0F0F0\")\nexport const gray100 = new Color(\"#E3E3E3\")\nexport const gray200 = new Color(\"#BDBDBD\")\nexport const gray300 = new Color(\"#8E8E8E\")\nexport const gray400 = new Color(\"#7A7A7A\")\nexport const gray500 = new Color(\"#636363\")\nexport const gray600 = new Color(\"#4E4E4E\")\nexport const gray700 = new Color(\"#3A3A3A\")\nexport const gray800 = new Color(\"#1D1D1D\")\n\nexport const green25 = new Color(\"#EBF3EA\").lighten(0.1)\nexport const green50 = new Color(\"#EBF3EA\")\nexport const green100 = new Color(\"#A9E49E\")\nexport const green200 = new Color(\"#84CD7A\")\nexport const green300 = new Color(\"#479A5E\")\nexport const green400 = new Color(\"#408854\").darken(0.03) // Darken to pass accessibility checker\nexport const green500 = new Color(\"#346942\")\nexport const green600 = new Color(\"#2E5939\")\nexport const green700 = new Color(\"#26472E\")\nexport const green800 = new Color(\"#1D3222\")\n\nexport const red25 = new Color(\"#FFEDE7\").lighten(0.1)\nexport const red50 = new Color(\"#FFEDE7\")\nexport const red100 = new Color(\"#FFCCBC\")\nexport const red200 = new Color(\"#FDA58D\")\nexport const red300 = new Color(\"#F57F63\")\nexport const red400 = new Color(\"#CF2517\")\nexport const red500 = new Color(\"#BE0B0B\")\nexport const red600 = new Color(\"#A50000\")\nexport const red700 = new Color(\"#860000\")\nexport const red800 = new Color(\"#630000\")\n\nexport const mustard25 = new Color(\"#FEFBF6\")\nexport const mustard50 = new Color(\"#FFF1CF\")\nexport const mustard100 = new Color(\"#FFE4A6\")\nexport const mustard200 = new Color(\"#F2BA39\")\nexport const mustard300 = new Color(\"#E29E03\")\nexport const mustard400 = new Color(\"#AC6B0E\")\nexport const mustard500 = new Color(\"#7E530E\")\nexport const mustard600 = new Color(\"#6F480D\")\nexport const mustard700 = new Color(\"#5A390A\")\nexport const mustard800 = new Color(\"#402807\")\n\nexport const peach25 = new Color(\"#FEFBF6\")\nexport const peach50 = new Color(\"#FBE4D6\")\nexport const peach100 = new Color(\"#FFD6BD\")\nexport const peach200 = new Color(\"#FCB486\")\nexport const peach300 = new Color(\"#E18245\")\nexport const peach400 = new Color(\"#BC5818\")\nexport const peach500 = new Color(\"#944513\")\nexport const peach600 = new Color(\"#813C10\")\nexport const peach700 = new Color(\"#67300D\")\nexport const peach800 = new Color(\"#4A2209\")\n\nexport const purple25 = new Color(\"#F3EFF6\").lighten(0.1)\nexport const purple50 = new Color(\"#F3EFF6\")\nexport const purple100 = new Color(\"#F5E8FF\")\nexport const purple200 = new Color(\"#E0C7F4\")\nexport const purple300 = new Color(\"#B08BCD\")\nexport const purple400 = new Color(\"#8767A7\")\nexport const purple500 = new Color(\"#684B8D\")\nexport const purple600 = new Color(\"#503375\")\nexport const purple700 = new Color(\"#42226A\")\nexport const purple800 = new Color(\"#2F1452\")\n\nexport const carbonIntensity1 = new Color(\"#CAFE96\")\nexport const carbonIntensity2 = new Color(\"#D7F139\")\nexport const carbonIntensity3 = new Color(\"#F2E00B\")\nexport const carbonIntensity4 = new Color(\"#ECC125\")\nexport const carbonIntensity5 = new Color(\"#DF8838\")\nexport const carbonIntensity6 = new Color(\"#AE3C0F\")\n\nexport const getProductColor = (sourceType: string): Color => {\n switch (sourceType) {\n case \"fixed\":\n case \"market\":\n case \"hub_market\":\n case \"custom_market\":\n case \"bundled_delivered\":\n return cerulean300\n case \"resource\":\n return lightSolarOrange\n case \"curtailment\":\n return white\n case \"short_imbalance\":\n return coral\n case \"long_imbalance\":\n case \"bundled_received\":\n return transparent\n default:\n return cerulean300\n }\n}\n","import type { PayloadAction } from \"@reduxjs/toolkit\"\nimport { createSlice } from \"@reduxjs/toolkit\"\n\nimport type { CurrencyCode } from \"../../../models/currencyCode\"\nimport { defaultCurrencyCode } from \"../../../models/currencyCode\"\nimport type { LanguageRegion } from \"../../../models/i18n\"\n\nexport const getUserSettingsSelector = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n state: Record\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n): IUserSettingsData => state.userSettings\n\nexport interface IUserSettingsData {\n currency: CurrencyCode\n hasLoadedSupportedCurrencies: boolean\n isLoadingSupportedCurrencies: boolean\n supportedCurrencies: CurrencyCode[]\n}\n\nconst initialState: IUserSettingsData = {\n currency: defaultCurrencyCode,\n hasLoadedSupportedCurrencies: false,\n isLoadingSupportedCurrencies: false,\n supportedCurrencies: [],\n}\n\nexport type ChangeCurrencyAction = PayloadAction\nexport type SetInitialUserCurrencyAction = PayloadAction\nexport type ChangeLanguageAction = PayloadAction\nexport type SetInitialUserLanguageAction = PayloadAction\n\nconst userSettingsSlice = createSlice({\n name: \"userSettings\",\n initialState,\n reducers: {\n changeCurrency: (state, action: ChangeCurrencyAction) => {\n state.currency = action.payload\n },\n setInitialUserCurrency: (state, action: SetInitialUserCurrencyAction) => {\n state.currency = action.payload\n },\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n changeLocale: (_state, _action: ChangeLanguageAction) => {\n // State is not modified, this used to execute a side effect (saga)\n },\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setInitialUserLocale: (_state, _action: SetInitialUserLanguageAction) => {\n // State is not modified, this used to execute a side effect (saga)\n },\n loadSupportedCurrencies: (state) => {\n state.isLoadingSupportedCurrencies = true\n },\n loadSupportedCurrenciesFail: (state) => {\n state.isLoadingSupportedCurrencies = false\n },\n loadSupportedCurrenciesSuccess: (\n state,\n action: PayloadAction\n ) => {\n state.isLoadingSupportedCurrencies = false\n state.hasLoadedSupportedCurrencies = true\n state.supportedCurrencies = action.payload\n },\n setUserSettings: (state, action: PayloadAction) => {\n state.currency = action.payload.currency\n state.hasLoadedSupportedCurrencies =\n action.payload.hasLoadedSupportedCurrencies\n state.isLoadingSupportedCurrencies =\n action.payload.isLoadingSupportedCurrencies\n state.supportedCurrencies = action.payload.supportedCurrencies\n },\n },\n})\n\nexport const {\n changeCurrency,\n changeLocale,\n loadSupportedCurrencies,\n loadSupportedCurrenciesFail,\n loadSupportedCurrenciesSuccess,\n setInitialUserLocale,\n setInitialUserCurrency,\n setUserSettings,\n} = userSettingsSlice.actions\n\nexport default userSettingsSlice.reducer\n","import { Attr, BelongsTo, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport BillingGroup from \"./billingGroup\"\nimport { fetchMeterMeterHourCount } from \"./meterHour\"\n// Cannot yet be imported as a type\n// because the class must be imported somewhere for it to be added to the modelRegistry\n// See spraypaint.js/src/decorators.js -> modelFactory() -> ModelClass.registerType()\nimport MeterSourceType from \"./meterSourceType\"\nimport Site from \"./site\"\n\nexport interface IMeterCounts {\n meterHours: number\n}\n@Model()\nexport class Meter extends ApplicationRecord {\n public static jsonapiType = \"meters\"\n\n // Cannot yet be written as a string (e.g. @BelongsTo(\"meter_source_types\"))\n // because the class must be imported somewhere for it to be added to the modelRegistry\n @BelongsTo(MeterSourceType) meterSourceType: MeterSourceType\n\n @BelongsTo(\"sites\") public site: Site\n\n @BelongsTo(\"billing_groups\") public billingGroup: BillingGroup\n\n @Attr() public readonly name: string\n\n @Attr() public readonly meterCode: string\n\n @Attr() public readonly meterStatus: string\n\n @Attr() public readonly meterType: string\n\n @Attr() public readonly meterProvider: string\n\n @Attr() public readonly energyAllocatorId: string\n\n @Attr() public readonly energyAllocatorName: string\n\n @Attr() public readonly billingGroupId: number\n\n @Attr() public readonly siteId: number\n\n @Attr() public readonly dateCreated: string\n\n @Attr() public readonly dateUpdated: string\n\n @Attr() public readonly fullMeter: boolean\n\n @Attr() public readonly probeMeter: boolean\n\n @Attr() public readonly isOnSiteGeneration: boolean\n\n @Attr() public readonly isNetMeter: boolean\n\n @Attr() public readonly isChildMeter: boolean\n\n @Attr() public readonly startDate: string\n\n @Attr() public readonly endDate: string\n\n @Attr() public childMeterNamesAndIds: {\n id: typeof Meter.prototype.id\n meterCode: typeof Meter.prototype.meterCode\n name: typeof Meter.prototype.name\n }[]\n}\n\n/**\n * Fetches the meter count for an billing group\n *\n * @param billingGroupId - The billing group id\n * @returns - The meter count\n * @example\n * fetchBillingGroupMeterCount(\"15\")\n */\nexport const fetchBillingGroupMeterCount = async (\n billingGroupId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Meter.where({\n billing_group_id: billingGroupId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\n/**\n * Fetches the meter count for an organization\n *\n * @param orgId - The organization id\n * @returns - The meter count\n * @example\n * fetchOrganizationMeterCount(\"15\")\n */\nexport const fetchOrganizationMeterCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Meter.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\nexport const fetchMeterCounts = async (\n meterId: string\n): Promise => {\n const meterHours = await fetchMeterMeterHourCount(meterId)\n\n return { meterHours }\n}\n\nexport default Meter\n","import \"moment-timezone\"\n\nimport { UnitName } from \"../models/unit\"\nimport {\n cometBlue,\n darkGray,\n darkSlateBlue,\n ghostWhite,\n lightSlateBlue,\n linkWater,\n} from \"./colors\"\n\nexport const appCompanyName = \"NZero\"\nexport const KILO = 1000\nexport const BTU_PER_GJ = 947817\nexport const UTC_TIMEZONE = \"Etc/UTC\"\nexport const MAX_CUSTOMER_BILLING_PERIOD_DAYS = 35\nexport const MAX_MONTHS_IN_RANGE = 36\nexport const DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER = \"--\"\nexport const EMPTY_DATA_PLACEHOLDER = \"--\"\nexport const TOOLTIP_WIDTH_RIGHT_EXTENSION = 36\nexport const ORGANIZATION_DASHBOARD_TICK_TEXT_LIMIT = 8\nexport const DAYS_IN_WEEK = 7\nexport const MAX_DAYS_IN_MONTH = 31\nexport const HOURS_IN_DAY = 24\nexport const KWH_PER_MWH = 1_000.0\nexport const METERED_LINE = 0.01\nexport const CENTS_PER_DOLLAR = 100\nexport const LBS_PER_METRIC_TON = 2_204.62\nexport const LBS_PER_KG = LBS_PER_METRIC_TON / 1_000\nexport const GJ_PER_KWH = 0.0036\nexport const GJ_PER_THERM = 0.1054804\nexport const CUSTOMER_MTD_OFFSET_DAYS = 7\nexport const KG_PER_METRIC_TON = 1_000.0\nexport const CUBIC_METERS_PER_US_LIQUID_GALLON = 264.1721\nexport const FOOT_PER_METER = 3.28084\nexport const SQUARE_FOOT_PER_SQUARE_METER = FOOT_PER_METER * FOOT_PER_METER\nexport const GRID_CO2E_RATE = 803.341\nexport const GRID_CO2E_RATE_MAP = new Map()\nexport const KBTU_PER_KWH = 3.412142\nexport const KBTU_PER_THERM = 99.976\nexport const THERMS_PER_MMBTU = 10\nexport const LEFT_NAV_COLLAPSED_WIDTH = 56\nexport const LEFT_NAV_EXPANDED_WIDTH = 214\nexport const APPNAME = \"NZero\"\nexport const SOLAR_TO_GRID = \"Solar to Grid\"\nexport const DATE_FORMAT = \"MM/DD/YYYY\"\nexport const CSV_LIMITER = \",\"\nexport const CSV_NEW_LINE = \"\\r\\n\"\nexport const MONTHS = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n]\nexport const MAX_API_PAGE_SIZE = 250\n\nGRID_CO2E_RATE_MAP.set(\"CISO\", 504.837)\nGRID_CO2E_RATE_MAP.set(\"PSCO\", 1217.372)\nGRID_CO2E_RATE_MAP.set(\"PJM\", 810.87)\nGRID_CO2E_RATE_MAP.set(\"NEVP\", 803.341)\n\nexport const enum EnergyUnit {\n TOKEN = \"TOKEN\",\n WATTAGE = \"WATTAGE\",\n}\n\nexport enum GRAPH_DETAIL_MODAL_ORIENTATION {\n LEFT = \"LEFT\",\n RIGHT = \"RIGHT\",\n}\n\nexport enum GRAPH_COST_OR_CARBON_INTENSITY {\n CARBON_INTENSITY = \"CARBON_INTENSITY\",\n COST = \"COST\",\n NONE = \"NONE\",\n}\n\nexport enum TIME_RANGES {\n DAY,\n MONTH,\n YEAR,\n RANGE,\n}\n\nexport const yAxisText = (timeRange: TIME_RANGES) => {\n switch (timeRange) {\n case TIME_RANGES.DAY:\n return \"HOUR END\"\n case TIME_RANGES.YEAR:\n return \"MONTH\"\n default:\n return \"DAY\"\n }\n}\n\nexport const bundledCustomerCarbonDelimiters = new Map([\n [\n \"lowest\",\n {\n name: \"lowest\",\n ratio: 0.25,\n color: ghostWhite,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"low\",\n {\n name: \"low\",\n ratio: 0.125,\n color: linkWater,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"medium low\",\n {\n name: \"medium low\",\n ratio: 0.125,\n color: lightSlateBlue,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"medium high\",\n {\n name: \"medium high\",\n ratio: 0.125,\n color: cometBlue,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"high\",\n {\n name: \"high\",\n ratio: 0.125,\n color: darkSlateBlue,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"highest\",\n {\n name: \"highest\",\n ratio: 0.25,\n color: darkGray,\n stroke: false,\n fill: \"\",\n },\n ],\n])\n\nconst svgRotationOffset = -Math.PI\nconst θs: [number, number] = [\n Math.PI / 4 + svgRotationOffset,\n (7 * Math.PI) / 4 + svgRotationOffset,\n]\n\nexport const CarbonIntensityGraphDefaults: {\n annulusThicknessRatio: number\n data: typeof bundledCustomerCarbonDelimiters\n domain: [number, number]\n intervals: number\n outlineThickness: number\n overlayData: {\n name: string\n units: UnitName\n }\n range: [number, number]\n} = {\n range: θs,\n domain: [0, 0.8],\n intervals: 9,\n outlineThickness: 1,\n annulusThicknessRatio: 5,\n data: bundledCustomerCarbonDelimiters,\n overlayData: {\n name: \"Carbon Intensity\",\n units: UnitName.MetricTonsOfCarbonDioxideEquivalentPerMegawattHour,\n },\n}\n","import type { NumberValue } from \"d3\"\nimport { format as d3Format } from \"d3\"\nimport type { i18n } from \"i18next\"\n\nimport { LanguageRegion, Translation } from \"../models/i18n\"\n\nexport interface IDecimalFormat extends Intl.NumberFormatOptions {\n precision?: number\n}\n\nexport interface IDecimalOptions {\n useAccountingFormatWhenNegative?: boolean\n}\n\nexport interface IDecimalWithPlaceholderOptions extends IDecimalOptions {\n placeholder?: string\n replaceZeroWithPlaceholder?: boolean\n}\n\nconst defaultFormatConfig: IDecimalFormat = {\n maximumFractionDigits: 20,\n}\n\nconst defaultOptionsConfig: IDecimalOptions = {\n useAccountingFormatWhenNegative: true,\n}\n\nexport interface IEmptyDecimalOptions {\n includeZero?: boolean\n}\n\nconst defaultEmptyDecimalOptions: IEmptyDecimalOptions = {\n includeZero: false,\n}\n\nexport const DEFAULT_DECIMAL_PLACEHOLDER = \"--\"\nexport const DECIMAL_LESS_THAN_ONE_PLACEHOLDER = \"< 1\"\n\n/**\n * Determines whether a decimal is less than 1 or not\n *\n * @param value {number | string | null | undefined} - The value\n * @returns {boolean} - Whether the value is less than 1 or not\n * @example\n * isDecimalLessThanOne(waterUsage)\n */\nexport const isDecimalLessThanOne = (\n value: number | string | null | undefined\n): boolean => {\n let numericValue: number\n\n if (typeof value === \"number\" || typeof value === \"string\") {\n numericValue = Number(value)\n\n return numericValue < 1\n }\n\n return false\n}\n\n/**\n * Determines whether a value is \"empty\" (e.g. null, undefined, NaN) or not\n *\n * @param value {number | string | null | undefined} - The value\n * @param options {IEmptyDecimalOptions} - The options\n * @param options.includeZero {boolean} - Whether to consider 0 as an \"empty\" value\n * @returns {boolean} - Whether the value is \"empty\" or not\n * @example\n * isDecimalEmpty(waterUsage, { includeZero: true })\n */\nexport const isDecimalEmpty = (\n value: number | string | null | undefined,\n options?: IEmptyDecimalOptions\n): boolean => {\n const config: IEmptyDecimalOptions = {\n ...defaultEmptyDecimalOptions,\n ...options,\n }\n\n let numericValue: number\n\n if (typeof value === \"number\" || typeof value === \"string\") {\n numericValue = Number(value)\n }\n\n return (\n value === null ||\n value === undefined ||\n !Number.isFinite(numericValue) ||\n (config.includeZero && numericValue === 0)\n )\n}\n\nexport const translateDecimal = (\n i18nService: i18n,\n value: number | string | null | undefined,\n format?: IDecimalFormat | null,\n options?: IDecimalOptions\n): string => {\n let numericValue: number | null = null\n const formatConfig: IDecimalFormat = {\n ...defaultFormatConfig,\n ...format,\n }\n const optionsConfig: IDecimalOptions = {\n ...defaultOptionsConfig,\n ...options,\n }\n\n if (optionsConfig.useAccountingFormatWhenNegative) {\n formatConfig.signDisplay = \"never\"\n }\n\n // Handling for both numbers and numbers as strings\n if (\n Number.isFinite(value) ||\n (typeof value === \"string\" && Number.isFinite(Number.parseFloat(value)))\n ) {\n numericValue = Number(value)\n }\n\n // We need to handle significantDigits before fractionDigits in order to have fractionDigits win out\n // https://stackoverflow.com/questions/55834596/use-intl-numberformat-with-maximumfractiondigits-and-maximumsignificantdigi\n if (\n formatConfig.minimumSignificantDigits ||\n formatConfig.maximumSignificantDigits\n ) {\n // Run through Intl.NumberFormat with hardcoded en-US to get significant digits set before applying other internationalization\n const significantified: string = Intl.NumberFormat(\n LanguageRegion.EnglishUnitedStates,\n {\n minimumSignificantDigits: formatConfig.minimumSignificantDigits,\n maximumSignificantDigits: formatConfig.maximumSignificantDigits,\n }\n )\n .format(numericValue)\n .replace(/,/g, \"\")\n\n numericValue = Number(significantified)\n\n delete formatConfig.minimumSignificantDigits\n delete formatConfig.maximumSignificantDigits\n }\n\n // Handling of custom \"precision\" format\n if (Number.isInteger(formatConfig?.precision)) {\n formatConfig.minimumFractionDigits = formatConfig.precision\n formatConfig.maximumFractionDigits = formatConfig.precision\n }\n\n const showAccountingParenthesis: boolean =\n numericValue < 0 && optionsConfig?.useAccountingFormatWhenNegative\n\n if (Number.isFinite(numericValue)) {\n return `${showAccountingParenthesis ? \"(\" : \"\"}${i18nService.t(\n Translation.Common.Decimal,\n {\n value: numericValue,\n formatParams: {\n value: formatConfig,\n },\n }\n )}${showAccountingParenthesis ? \")\" : \"\"}`\n }\n return \"\"\n}\n\nexport const translateDecimalWithPlaceholder = (\n i18nService: i18n,\n value: number | string | null | undefined,\n format?: IDecimalFormat | null,\n options?: IDecimalWithPlaceholderOptions\n): string => {\n if (\n isDecimalEmpty(value, { includeZero: options?.replaceZeroWithPlaceholder })\n ) {\n return options?.placeholder || DEFAULT_DECIMAL_PLACEHOLDER\n }\n\n return translateDecimal(i18nService, value, format, options)\n}\n\n/**\n * Translates a decimal to an emission format for the corresponding locale\n *\n * @param i18nService - The internationalization service\n * @param value - The value\n * @param options - The emission decimal options\n * @returns - The formatted decimal as a string\n * @example\n * translateEmissionDecimal(i18n, 0.000012345) // 0.000012\n * translateEmissionDecimal(i18n, 1234.567) // 1,234.57\n */\nexport const translateEmissionDecimal = (\n i18nService: i18n,\n value: number | string | null | undefined,\n options?: IDecimalWithPlaceholderOptions\n): string => {\n let format: IDecimalFormat\n\n if (Number(value) < 1) {\n format = { maximumFractionDigits: 6, maximumSignificantDigits: 3 }\n } else {\n format = { precision: 2 }\n }\n\n return translateDecimalWithPlaceholder(i18nService, value, format, options)\n}\n\n/**\n * Sets the value to a string or SI suffix format\n *\n * @param numberValue - A number value\n * @returns Stringified or SI suffix formatted number\n */\nexport const formatNumberWithAbbreviation = (\n numberValue: NumberValue\n): string => {\n const value =\n typeof numberValue === \"number\" ? numberValue : numberValue.valueOf()\n if (value > 1) {\n return d3Format(\"~s\")(numberValue)\n }\n return value.toString()\n}\n","import type Color from \"color\"\nimport {\n flatten,\n groupBy,\n includes,\n isNull,\n last,\n map,\n max,\n min,\n sortBy,\n toPairs,\n values,\n} from \"lodash-es\"\n\nimport type EnergyAllocation from \"../../models/energyAllocation\"\nimport { ElectricityType } from \"../../models/energyAllocation\"\nimport {\n black,\n getProductColor,\n darkSlateBlue as highCarbonBundledColor,\n cometBlue as highMidCarbonBundledColor,\n darkGray as highestCarbonBundledColor,\n lightSolarOrange,\n lightSlateBlue as lowMidCarbonBundledColor,\n linkWater as lowerCarbonBundledColor,\n ghostWhite as lowestCarbonBundledColor,\n transparent,\n} from \"../../utils/colors\"\n\nconst aggregatePrice = (\n aggregateProduct: Product,\n currAllocation: EnergyAllocation\n) => {\n const price = currAllocation.displayPrice()\n\n let maxPrice = null\n let minPrice = null\n let priceRange = null\n\n const currentPriceAndNotAggregatePrice: boolean =\n Number.isFinite(price) && !Number.isFinite(aggregateProduct.price)\n\n const priceChangedAndNoPriceRange: boolean =\n aggregateProduct.priceRange === null && price !== aggregateProduct.price\n\n const priceIsValidAndRangeIsNotNull: boolean =\n Number.isFinite(price) && aggregateProduct.priceRange !== null\n\n if (currentPriceAndNotAggregatePrice && priceChangedAndNoPriceRange) {\n priceRange = {\n min: Math.min(price, aggregateProduct.price),\n max: Math.min(price, aggregateProduct.price),\n }\n }\n\n if (priceIsValidAndRangeIsNotNull) {\n maxPrice = Math.max(price, aggregateProduct.priceRange.max)\n minPrice = Math.min(price, aggregateProduct.priceRange.min)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n priceRange = { max: maxPrice, min: minPrice }\n }\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n return { price, priceRange }\n}\n\nconst aggregateImbalance = (aggregateProduct, currAllocation) => {\n if (\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n aggregateProduct.imbalanceKwh == null ||\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n currAllocation.imbalanceKwh == null\n ) {\n return null\n }\n\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return currAllocation.imbalanceKwh + aggregateProduct.imbalanceKwh\n}\n\nconst aggregateCo2eLbs = (aggregateProduct, currAllocation) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (aggregateProduct.co2eLbs == null || currAllocation.co2eLbs == null) {\n return null\n }\n\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return currAllocation.co2eLbs + aggregateProduct.co2eLbs\n}\n\nconst aggregateCost = (aggregateProduct, currAllocation) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (aggregateProduct.cost == null || currAllocation.displayCost() == null) {\n return null\n }\n\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n return currAllocation.displayCost() + aggregateProduct.cost\n}\n\nconst idLongImbalance = (aggregateProductForAllocation) => {\n if (\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n aggregateProductForAllocation.id === \"imbalance\" &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n aggregateProductForAllocation.imbalanceKwh != null &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n aggregateProductForAllocation.imbalanceKwh < 0\n ) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n aggregateProductForAllocation.id = \"longImbalance\"\n }\n}\n\n/**\n * Sets productOrder on each Energy Allocation based on the minimum stack order value found in the collection\n *\n * @param allocationsByIds - A dictionary of energy allocations grouped by allocationId\n */\nconst setStackOrder = (allocationsByIds: EnergyAllocation[][]) => {\n allocationsByIds.forEach((allocationsById) => {\n const minStackOrder = min(allocationsById.map((alloc) => alloc.stackOrder))\n allocationsById.forEach((allocationById) => {\n allocationById.productOrder = minStackOrder\n })\n })\n}\n\n/**\n * Sets the stack order for all Energy Allocations in each hour\n *\n * @param allocationsByHours - A dictionary of energy allocations without productOrder set\n */\nconst setMaxProductOrder = (allocationsByHours: EnergyAllocation[][]) => {\n allocationsByHours.forEach((allocationsForHour) => {\n const allocationsByIds = values(\n groupBy(\n allocationsForHour,\n (allocationForHour) => allocationForHour.allocationId\n )\n )\n setStackOrder(allocationsByIds)\n })\n}\n\nexport {\n lowestCarbonBundledColor,\n lowerCarbonBundledColor,\n lowMidCarbonBundledColor,\n highMidCarbonBundledColor,\n highCarbonBundledColor,\n highestCarbonBundledColor,\n}\n\ninterface PriceRange {\n max: number | null\n min: number | null\n}\n\nexport enum ProductType {\n Curtailment = \"curtailment\",\n DeliveredBundled = \"delivered\",\n FixedConfirm = \"fixed\",\n LongImbalance = \"longImbalance\",\n MarketConfirm = \"market\",\n ReceivedBundled = \"received\",\n ResourceBasedConfirm = \"resource\",\n ShortImbalance = \"shortImbalance\",\n}\n\nconst productsUsingImbalanceKwh = [\n ProductType.ShortImbalance,\n ProductType.LongImbalance,\n ProductType.ReceivedBundled,\n ProductType.DeliveredBundled,\n]\n\nexport default class Product {\n public confirmId?: number | null\n\n public lineLossCost?: number | null\n\n public kwh: number\n\n public taggedKwh: number\n\n public dailyAvgKwh: number\n\n public imbalanceKwh: number | null\n\n public cost: number | null\n\n public priceRange: PriceRange | null\n\n public price: number | null\n\n public order: number\n\n public productType: ProductType\n\n public electricityType: ElectricityType\n\n public energyProviderName: string | null\n\n public co2eLbs: number | null\n\n public carbonIntensity: number | null\n\n public emissionsRates?: Record | null\n\n public confirmName: string\n\n private allocationId: string\n\n public get displayName() {\n const parsedAllocationId = this.allocationId.split(\"-\")\n if (this.shortImbalance()) {\n return \"Short Imbalance\"\n }\n if (this.longImbalance()) {\n return \"Long Imbalance\"\n }\n if (this.curtailment()) {\n return \"Curtailment\"\n }\n if (this.receivedEnergy()) {\n return \"To Grid\"\n }\n if (this.deliveredEnergy()) {\n return parsedAllocationId[0] ?? \"\"\n }\n return this.confirmName\n }\n\n public get id() {\n return this.allocationId\n }\n\n public set id(newId) {\n this.allocationId = newId\n this.productType = this.deriveProductType()\n this.setCost(newId)\n }\n\n private setCost(allocationId) {\n if (allocationId === ProductType.LongImbalance) {\n this.cost = -this.cost\n }\n }\n\n constructor(\n attrs = {\n cost: 0,\n kwh: 0,\n co2eLbs: 0,\n id: \"\",\n imbalanceKwh: 0,\n price: null,\n priceRange: null,\n taggedKwh: null,\n order: null,\n electricityType: null,\n },\n emissionsRates?: Record\n ) {\n this.cost = attrs.cost\n this.kwh = attrs.kwh\n this.co2eLbs = attrs.co2eLbs\n this.id = attrs.id\n this.imbalanceKwh = attrs.imbalanceKwh\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.price = attrs.price\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.priceRange = attrs.priceRange\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.taggedKwh = attrs.taggedKwh\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.order = attrs.order\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.electricityType = attrs.electricityType\n this.emissionsRates = emissionsRates\n this.carbonIntensity = attrs.co2eLbs / attrs.kwh\n }\n\n static empty(allocationId = \"\") {\n const newProduct = new Product()\n\n newProduct.cost = 0\n newProduct.kwh = 0\n newProduct.co2eLbs = 0\n newProduct.id = allocationId\n newProduct.imbalanceKwh = 0\n newProduct.price = null\n newProduct.priceRange = null\n newProduct.taggedKwh = 0\n newProduct.order = -Infinity\n newProduct.electricityType = null\n newProduct.emissionsRates = null\n\n return newProduct\n }\n\n static toStrokeColors(products: Product[][]): Color[] {\n const sortedProductIds = this.sortedIds(products)\n const flattenedProducts = flatten(products)\n const sortedProducts = sortedProductIds.map((productId) =>\n flattenedProducts.find((product) => product.id === productId)\n )\n\n return sortedProducts.map(\n (product: Product): Color => product.strokeColor()\n )\n }\n\n static toColors(products: Product[][]): Color[] {\n const sortedProductIds = this.sortedIds(products)\n const flattenedProducts = flatten(products)\n const sortedProducts = sortedProductIds.map((productId) =>\n flattenedProducts.find((product) => product.id === productId)\n )\n return sortedProducts.map((product: Product): Color => product.fillColor())\n }\n\n static sortedIds(productArrays: Product[][]): string[] {\n const flattenedProducts = flatten(productArrays)\n const productsById = groupBy(flattenedProducts, (product) => product.id)\n const productIdPairs = toPairs(productsById)\n const maxOrders: [string, number][] = productIdPairs.map(\n ([productId, products]) => {\n const displayOrders = map(products, (p) => p.displaySortOrder())\n return [productId, max(displayOrders)]\n }\n )\n const sortedMaxOrders = sortBy(maxOrders, (maxOrder) => last(maxOrder))\n\n return sortedMaxOrders.map((maxOrder) => maxOrder[0])\n }\n\n static sort(products: Product[]): Product[] {\n return sortBy(products, (product) => product.displaySortOrder())\n }\n\n static aggregateProductFromEnergyAllocations(\n energyAllocations: EnergyAllocation[],\n allocationId: string\n ): Product {\n const defaultProduct = this.empty(allocationId)\n return energyAllocations.reduce(\n (aggregateProduct: Product, currAllocation: EnergyAllocation) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { price, priceRange } = aggregatePrice(\n aggregateProduct,\n currAllocation\n )\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n aggregateProduct.priceRange = priceRange\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n aggregateProduct.cost = aggregateCost(aggregateProduct, currAllocation)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n aggregateProduct.imbalanceKwh = aggregateImbalance(\n aggregateProduct,\n currAllocation\n )\n aggregateProduct.price = price\n aggregateProduct.kwh = productsUsingImbalanceKwh.includes(\n aggregateProduct.productType\n )\n ? aggregateProduct.imbalanceKwh\n : currAllocation.kwh + aggregateProduct.kwh\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n aggregateProduct.co2eLbs = aggregateCo2eLbs(\n aggregateProduct,\n currAllocation\n )\n aggregateProduct.id = currAllocation.isResourceBased\n ? `${allocationId}-resource`\n : allocationId\n aggregateProduct.order = Math.max(\n currAllocation.productOrder,\n aggregateProduct.order\n )\n aggregateProduct.taggedKwh += currAllocation.taggedKwh\n aggregateProduct.confirmName = currAllocation.confirm\n ? currAllocation.confirm.name\n : null\n aggregateProduct.electricityType =\n currAllocation.electricityType as ElectricityType\n aggregateProduct.energyProviderName = currAllocation.energyProviderName\n\n aggregateProduct.emissionsRates = currAllocation.emissionsRates\n\n aggregateProduct.carbonIntensity =\n aggregateProduct.co2eLbs / aggregateProduct.kwh\n\n return aggregateProduct\n },\n defaultProduct\n )\n }\n\n static productsFromEnergyAllocations(\n energyAllocations: EnergyAllocation[]\n ): Product[] {\n const allocationsByHours = groupBy(energyAllocations, (alloc) => alloc.hour)\n setMaxProductOrder(values(allocationsByHours))\n const allocationsById = groupBy(\n energyAllocations,\n (alloc) => alloc.allocationId\n )\n\n return toPairs(allocationsById).map((keyValuePair) => {\n const [allocationId, allocationsForId] = keyValuePair\n const productFromAllocations: Product =\n this.aggregateProductFromEnergyAllocations(\n allocationsForId,\n allocationId\n )\n idLongImbalance(productFromAllocations)\n return productFromAllocations\n })\n }\n\n confirmBased() {\n if (this.isBundledEnergyCustomer()) {\n return false\n }\n return !(\n this.shortImbalance() ||\n this.longImbalance() ||\n this.curtailment()\n )\n }\n\n // TODO: add check for bundled or direct access as qualfiers for these types (..later)\n curtailment() {\n return this.productType === ProductType.Curtailment\n }\n\n shortImbalance() {\n return this.productType === ProductType.ShortImbalance\n }\n\n longImbalance() {\n return this.productType === ProductType.LongImbalance\n }\n\n fixed() {\n return this.productType === ProductType.FixedConfirm\n }\n\n market() {\n return this.productType === ProductType.MarketConfirm\n }\n\n resourceBased() {\n return this.productType === ProductType.ResourceBasedConfirm\n }\n\n deliveredEnergy() {\n return this.productType === ProductType.DeliveredBundled\n }\n\n receivedEnergy() {\n return this.productType === ProductType.ReceivedBundled\n }\n\n isDirectAccessEnergyCustomer() {\n return this.electricityType === ElectricityType.DirectAccess\n }\n\n isBundledEnergyCustomer() {\n return this.electricityType === ElectricityType.Bundled\n }\n\n displaySortOrder(): number {\n if (this.curtailment()) {\n return 10000\n }\n if (this.shortImbalance() || this.longImbalance()) {\n return 10001\n }\n return this.order\n }\n\n fillColor(): Color {\n if (isNull(this.electricityType)) {\n return this.directAccessFillColor()\n }\n if (this.isBundledEnergyCustomer()) {\n return this.bundledFillColor()\n }\n if (this.isDirectAccessEnergyCustomer()) {\n return this.directAccessFillColor()\n }\n }\n\n bundledFillColor(): Color {\n if (this.receivedEnergy()) {\n return getProductColor(\"bundled_received\")\n }\n\n const bundledTokens = this.allocationId.split(\"-\")\n if (bundledTokens[1] !== \"grid\") {\n return getProductColor(\"resource\") // since resource is only for solar currently\n }\n\n return getProductColor(\"bundled_delivered\")\n }\n\n directAccessFillColor(): Color {\n if (this.resourceBased()) {\n return getProductColor(\"resource\")\n }\n if (this.shortImbalance()) {\n return getProductColor(\"short_imbalance\")\n }\n if (this.longImbalance()) {\n return getProductColor(\"long_imbalance\")\n }\n if (this.curtailment()) {\n return getProductColor(\"curtailment\")\n }\n if (this.fixed()) {\n return getProductColor(\"fixed\")\n }\n if (this.market()) {\n return getProductColor(\"market\")\n }\n\n return lightSolarOrange\n }\n\n strokeColor(): Color {\n if (\n this.isDirectAccessEnergyCustomer() &&\n (this.longImbalance() || this.shortImbalance())\n ) {\n return getProductColor(\"short_imbalance\")\n }\n if (this.curtailment()) {\n return black\n }\n if (this.isBundledEnergyCustomer() && this.receivedEnergy()) {\n return lightSolarOrange\n }\n\n if (this.isDirectAccessEnergyCustomer()) {\n return this.directAccessFillColor()\n }\n if (this.isBundledEnergyCustomer()) {\n return this.bundledFillColor()\n }\n\n return transparent\n }\n\n private deriveProductType(): ProductType {\n if (includes(this.id, \"resource\")) {\n return ProductType.ResourceBasedConfirm\n }\n if (this.id === \"longImbalance\") {\n return ProductType.LongImbalance\n }\n if (this.id === \"shortImbalance\" || this.id === \"imbalance\") {\n return ProductType.ShortImbalance\n }\n if (this.id === \"curtailment\") {\n return ProductType.Curtailment\n }\n if (includes(this.id, \"fixed\")) {\n return ProductType.FixedConfirm\n }\n if (includes(this.id, \"market\")) {\n return ProductType.MarketConfirm\n }\n if (includes(this.id, \"Received\")) {\n return ProductType.ReceivedBundled\n }\n if (includes(this.id, \"Delivered\")) {\n return ProductType.DeliveredBundled\n }\n }\n}\n","import React from \"react\"\n\nimport { Stack as MuiStack } from \"@mui/material\"\n\nimport type { HStackProps } from \"./h-stack.types\"\n\n/**\n * Wrapper for `Stack` that sets the direction to 'row'\n *\n * @example\n * ```tsx\n * import { HStack } from 'nzds'\n *\n * \n * \n * i'm next to the button with a gap of 16px\n * \n * ```\n */\nexport const HStack = (props: HStackProps) => (\n \n)\n","import React, { useCallback } from \"react\"\nimport type { FC } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport {\n LEFT_NAV_COLLAPSED_WIDTH,\n LEFT_NAV_EXPANDED_WIDTH,\n} from \"@/utils/constants\"\n\nimport { Box, Button, Typography } from \"@mui/material\"\n\nimport type { ImpersonateAlertProps } from \"./impersonate-alert.types\"\n\nexport const ImpersonateAlert: FC = ({ isNavOpen }) => {\n const { activeUser, authenticatedUser, setActiveUser } = useAuthentication()\n\n const leftNavWidth = isNavOpen\n ? LEFT_NAV_EXPANDED_WIDTH\n : LEFT_NAV_COLLAPSED_WIDTH\n\n const handleCancelClick = useCallback(() => {\n setActiveUser(authenticatedUser)\n }, [authenticatedUser, setActiveUser])\n\n return (\n authenticatedUser?.id !== activeUser?.id && (\n theme.palette.primary.dark,\n borderRadius: \"0 0 8px 8px\",\n color: (theme) => theme.palette.primary.contrastText,\n left: `calc((100vw - ${leftNavWidth}px) * 0.5 + ${leftNavWidth}px)`,\n position: \"fixed\",\n top: 0,\n transform: \"translateX(-50%)\",\n zIndex: 1101,\n }}\n >\n \n \n Impersonating {activeUser.name}\n \n \n \n \n )\n )\n}\n","import React from \"react\"\n\ninterface INzeroLogoProps {\n height?: number | string\n width?: number | string\n}\n\nexport const NzeroLogo = ({\n height = \"100%\",\n width = \"100%\",\n}: INzeroLogoProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n","import { Attr, Model } from \"spraypaint\"\n\nimport { snakeCaseToCamelCase } from \"../utils/formatters\"\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport type { IRange } from \"./range\"\n\n@Model()\nexport default class ReportingData extends ApplicationRecord {\n public static jsonapiType = \"reporting_datas\"\n\n @Attr() public startDate: moment.Moment\n\n @Attr() public endDate: moment.Moment\n}\n\nexport const fetchMinMaxDates = (\n orgId: string | string[]\n): Promise> =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n ReportingData.where({\n organization_id: orgId,\n })\n .stats({\n min_max_months: \"calculate\",\n })\n .all()\n .then((result) =>\n Promise.resolve(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n snakeCaseToCamelCase(result.meta.stats.min_max_months.calculate)\n )\n )\n","import type { i18n } from \"i18next\"\nimport type { Moment } from \"moment\"\n\nimport type { IDateFormat } from \"../models/date/date\"\nimport { Translation } from \"../models/i18n\"\nimport type { IRange } from \"../models/range\"\nimport { TIME_RANGES } from \"./constants\"\n\nexport const getDateFormatFromTimeRange = (\n timeRange: TIME_RANGES\n): IDateFormat => ({\n year: timeRange === TIME_RANGES.YEAR ? \"numeric\" : undefined,\n})\n\n/**\n * Get an internationalized hour ending string (01-24) from a date\n *\n * @param date {Moment} - The date\n * @param t - The i18n translation function\n * @returns {string} - The hour ending\n * @example\n * getHourEnding(date, t)\n */\nexport const getHourEnding = (date: Moment, t): string => {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const localizedHour: string = t(Translation.Common.Date, {\n value: date.toDate(),\n formatParams: {\n value: {\n hour: \"numeric\",\n hour12: false,\n timeZone: date.tz(), // Ensure we're always showing the date in the date's timezone, not the client's timezone\n },\n },\n })\n\n const numericLocalizedHour = Number(localizedHour)\n\n // Midnight is internationalized to either 00 or 24 depending on the locale\n // A midnight hour ending should always be 01\n const numericLocalizedHourEnding: number =\n numericLocalizedHour === 24 ? 1 : numericLocalizedHour + 1\n\n return numericLocalizedHourEnding.toString().padStart(2, \"0\")\n}\n\n/**\n * @deprecated Migrate to Luxon\n * Clamps a date range within the bounds of another date range\n *\n * @param dateRange - The date range to clamp\n * @param bounds - The date range to clamp against\n * @returns - The new range of the clamped date range\n * @example\n * clampDateRange(dateRange, bounds)\n */\nexport const clampDateRange = (\n dateRange: IRange,\n bounds: IRange\n): IRange => {\n let start: Moment\n let end: Moment\n\n if (dateRange.start.isBefore(bounds.start)) {\n start = bounds.start.clone()\n } else if (dateRange.start.isAfter(bounds.end)) {\n start = bounds.end.clone()\n } else {\n start = dateRange.start.clone()\n }\n\n if (dateRange.end.isBefore(bounds.start)) {\n end = bounds.start.clone()\n } else if (dateRange.end.isAfter(bounds.end)) {\n end = bounds.end.clone()\n } else {\n end = dateRange.end.clone()\n }\n\n return {\n start,\n end,\n }\n}\n\n/**\n * @deprecated Migrate to Luxon\n * Determines if a date range is within the bounds of another date range\n *\n * @param dateRange - The date range to verify\n * @param bounds - The date range to verify against\n * @returns - Whether the date range is within the bounds\n * @example\n * isDateRangeWithinBounds(dateRange, bounds)\n */\nexport const isDateRangeWithinBounds = (\n dateRange: IRange,\n bounds: IRange\n): boolean =>\n !!dateRange.start?.isBetween(bounds.start, bounds.end, \"day\", \"[]\") &&\n !!dateRange.end?.isBetween(bounds.start, bounds.end, \"day\", \"[]\")\n\n/**\n * @deprecated Migrate to Luxon\n * Determines if the start date is after the end date and both are valid dates\n *\n * @param dateRange - The date range to verify\n * @param bounds - The date range to verify against (is sent as a parameter to the function isDateRangeWithinBounds)\n * @returns - Whether the date range is within bounds and the start date is after the end date\n * @example\n * isValidCrossYearDateRange(dateRange, bounds)\n */\nexport const isValidCrossYearDateRange = (\n dateRange: IRange,\n bounds: IRange\n): boolean => {\n if (\n dateRange.start?.isValid() &&\n dateRange.end?.isValid() &&\n dateRange.start?.isAfter(dateRange.end) &&\n dateRange.end?.isBefore(dateRange.start)\n ) {\n return false\n }\n return isDateRangeWithinBounds(dateRange, bounds)\n}\n\n/**\n * Determines the range in months between the start and end date\n * @param startDate - The start date of the range\n * @param endDate - The end date of the range\n * @returns - The time range in months\n * @example\n * getMonthsInRange(startDate, endDate)\n */\nexport const getMonthsInRange = (startDate: Moment, endDate: Moment): number =>\n endDate.diff(startDate, \"months\")\n\n/**\n * Determines the range in days between the start and end date\n * @param startDate - The start date of the range\n * @param endDate - The end date of the range\n * @returns - The time range in days\n * @example\n * getDaysInRange(startDate, endDate)\n */\nexport const getDaysInRange = (startDate: Moment, endDate: Moment) =>\n Math.abs(startDate?.diff(endDate.clone().add(1, \"day\"), \"days\"))\n\n/**\n * Determines the time range based on the start and end date\n * @param startDate - The start date of the range\n * @param endDate - The end date of the range\n * @returns - The time range\n * @example\n * getRangeType(startDate, endDate)\n */\nexport const getRangeType = ({\n startDate,\n endDate,\n}: {\n endDate: Moment\n startDate: Moment\n}): TIME_RANGES.DAY | TIME_RANGES.MONTH | TIME_RANGES.RANGE => {\n const dayDiff = Math.abs(endDate?.diff(startDate, \"days\"))\n return dayDiff < 2 ? TIME_RANGES.DAY : TIME_RANGES.MONTH\n}\n\nexport const getYearMonthDayISOString = (\n year: number | string,\n month: number | string,\n day: number | string = 1\n): string =>\n `${year}-${Number(month).toString().padStart(2, \"0\")}-${Number(day)\n .toString()\n .padStart(2, \"0\")}`\n\nexport const removeTimeFromISODateString = (isoString: string): string | null =>\n isoString?.split(\"T\")[0] ?? null\n\n/**\n * Formats and internationalizes the provided date\n *\n * @param i18nService - The internationalization service\n * @param props.value - The date\n * @param props.format - The format configuration for the date\n * @returns - Internationalized date in requested format\n * @example\n * translateDate(i18n,\n date,\n {\n day: \"numeric\",\n month: \"numeric\",\n })) // day and month ordered with separator appropriately for internationalization\n * translateDate(i18n, date)) // day, month and year ordered with separator appropriately for internationalization\n */\n\nexport const translateDate = (\n i18nService: i18n,\n value: moment.Moment,\n format?: IDateFormat | null\n) =>\n // Ensure we're always showing the date in the date's timezone, not the client's timezone\n Intl.DateTimeFormat(i18nService.language, {\n ...format,\n timeZone: value.tz(),\n }).format(value.toDate())\n\n// DEPRECATED: DO NOT USE\n/**\n * This function is only to be used as a temporary solution because the backend\n * is delivering some date strings in a UTC string and safari cannot interpret them.\n * @deprecated Remove use of this function once backend delivers date strings in\n * the standard ISO format which all browser Date constructors can interpret.\n * @param date\n */\nexport const convertDateStringDashesToSlashes = (date: string): string =>\n date.replace(/-/g, \"/\")\n","import { HttpError } from \"@/utils/api\"\nimport { DateTime, Interval } from \"luxon\"\n\nimport ReportingData from \"../../models/reportingData\"\nimport type { AvailableReportDatesDto } from \"../../modules/report/models/api\"\nimport { removeTimeFromISODateString } from \"../../utils/date\"\n\n/**\n * Fetches a range of the available report dates for an organization\n * where 'start' is the beginning of the start month\n * and 'end' is the end of the end month\n *\n * @param orgId - The organization id\n * @returns The available report dates\n * @example\n * fetchAvailableReportDates(\"1\")\n */\nexport const fetchAvailableReportDates = async (\n orgId: string\n): Promise => {\n try {\n const availableReportDates = await ReportingData.where({\n organization_id: orgId,\n })\n .stats({\n min_max_months: \"calculate\",\n })\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const dateRange: AvailableReportDatesDto =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n result.meta.stats.min_max_months.calculate\n\n // Remove timezone from server dates so they can be compared to YYYY-MM-DD dates\n const start = DateTime.fromISO(\n removeTimeFromISODateString(dateRange.start)\n ).startOf(\"month\")\n const end = DateTime.fromISO(\n removeTimeFromISODateString(dateRange.end)\n ).endOf(\"month\")\n\n return Interval.fromDateTimes(start, end)\n })\n\n return availableReportDates\n } catch (error: unknown) {\n if (typeof error === \"string\") {\n throw new HttpError({\n errors: [\n {\n detail: error,\n status: \"500\",\n title: \"Internal Server Error\",\n },\n ],\n message: error,\n status: 500,\n })\n }\n\n throw new HttpError({\n errors: [],\n message: \"Unknown error\",\n status: 0,\n })\n }\n}\n\nexport default {\n fetchAvailableReportDates,\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { Interval } from \"luxon\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { fetchAvailableReportDates } from \"./useAvailableReportDatesUtils\"\n\n/**\n * The useAvailableReportDates service/hook returns a range of the available report dates\n * for an organization\n *\n * @returns The available report dates\n * @example\n * const {\n * availableReportDatesData,\n * availableReportDatesIsFetched,\n * availableReportDatesIsLoading\n * } = useAvailableReportDates(\"8\")\n */\nexport const useAvailableReportDates = (orgId: string) => {\n const queryKey = useQueryKey(\n ApiQueryName.AvailableReportDates,\n \"getOne\",\n orgId,\n {\n ignoreCurrency: true,\n }\n )\n\n const queryResult = useQuery({\n enabled: Boolean(orgId),\n queryFn: () => fetchAvailableReportDates(orgId),\n queryKey,\n // Retrying delays the display of the UI\n // because we're using this data to determine if any org data is available\n retry: false,\n })\n\n const modifiedQueryResult = {\n ...queryResult,\n data: queryResult.data ?? Interval.invalid(\"Invalid date range\"),\n } as UseQueryResult\n\n return useRenameQueryResult(\n modifiedQueryResult,\n ApiQueryName.AvailableReportDates\n )\n}\n","import { useActiveOrganizationId } from \"../organization\"\nimport { useAvailableReportDates } from \"../useAvailableReportDates\"\n\ninterface UseDataValue {\n dataHasData: boolean\n dataIsFetched: boolean\n}\n\n/**\n * Determines if the active organization has the necessary data for the app to display\n *\n * @returns The data status\n */\nexport const useData = (): UseDataValue => {\n const { activeOrganizationId } = useActiveOrganizationId()\n const { availableReportDatesData, availableReportDatesIsFetched } =\n useAvailableReportDates(activeOrganizationId)\n\n return {\n dataHasData: availableReportDatesData.isValid,\n dataIsFetched: availableReportDatesIsFetched,\n }\n}\n","import type { UserCreate } from \"@/models/user\"\nimport { httpClient } from \"@/utils/api\"\nimport type { SuccessData } from \"@/utils/api\"\nimport { useMutation } from \"@tanstack/react-query\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport type { AxiosError, AxiosResponse } from \"axios\"\n\nconst createUserApi = async (\n newUser: UserCreate\n): Promise> => {\n try {\n const response = await httpClient.post(\"/api/v1/users\", {\n user: newUser,\n })\n\n return response\n } catch {\n console.error(\"Error creating user\")\n }\n}\n\nexport interface CreateUserError extends SuccessData {\n errors: string[]\n}\n\nexport const useCreateUser = (\n options: UseMutationOptions<\n AxiosResponse,\n AxiosError,\n UserCreate\n >\n) => {\n const useMutationOptions = {\n mutationFn: async (newUser: UserCreate) => createUserApi(newUser),\n ...options,\n }\n\n const { data, isError, isLoading, isSuccess, mutateAsync } =\n useMutation(useMutationOptions)\n\n return {\n createUser: mutateAsync,\n createUserData: data,\n createUserIsError: isError,\n createUserIsLoading: isLoading,\n createUserIsSuccess: isSuccess,\n }\n}\n","import { useMutation } from \"@tanstack/react-query\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport type { AxiosError, AxiosResponse } from \"axios\"\n\nimport type { User } from \"../../models/user\"\nimport { httpClient } from \"../../utils/api\"\nimport type { SuccessData } from \"../../utils/api\"\n\nexport interface ResendEmailError extends SuccessData {\n errors: string[]\n}\n\nexport const resendEmailApi = async (\n email: User[\"email\"]\n): Promise> => {\n return await httpClient.post(\"/users/confirmation\", {\n user: { email: email },\n })\n}\n\nexport const useResendEmail = (\n options: UseMutationOptions<\n AxiosResponse,\n AxiosError,\n User[\"email\"]\n >\n) => {\n const useMutationOptions = {\n mutationFn: async (email: User[\"email\"]) => resendEmailApi(email),\n ...options,\n }\n\n const { data, isError, isLoading, isSuccess, mutateAsync } =\n useMutation(useMutationOptions)\n\n return {\n resendEmail: mutateAsync,\n resendEmailData: data,\n resendEmailIsError: isError,\n resendEmailIsLoading: isLoading,\n resendEmailIsSuccess: isSuccess,\n }\n}\n","import { useAuthentication } from \"@/contexts\"\n\nimport { useActiveOrganizationId } from \"../organization\"\n\ninterface UseUserAccessValue {\n isLimitedAccessUser: boolean | undefined\n}\n\nexport const useUserAccess = (): UseUserAccessValue => {\n const { activeUser } = useAuthentication()\n const { activeOrganizationId } = useActiveOrganizationId()\n\n const isLimitedAccessUser: boolean | undefined =\n !activeUser || !activeOrganizationId\n ? undefined\n : activeUser.limitedAccessOrganizationIds.includes(\n Number(activeOrganizationId)\n )\n\n return {\n isLimitedAccessUser,\n }\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { httpClient } from \"@/utils/api\"\nimport type { SuccessData } from \"@/utils/api\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { useRenameQueryResult } from \"../utils/useRenameQueryResult\"\n\nconst validateAccount = async (token: string) => {\n try {\n const response = await httpClient.get(\"/users/confirmation\", {\n params: { confirmation_token: token },\n })\n\n return response\n } catch (error: unknown) {\n if (error instanceof Error) {\n throw error\n }\n }\n}\n\n/**\n * Validates an account with the given token\n *\n * @param token The token with which to validate the account\n */\nexport const useValidateAccount = (token: string) => {\n const queryKey = createQueryKey(ApiQueryName.ValidateAccount, \"getOne\", token)\n\n const queryResult = useQuery({\n cacheTime: Infinity,\n queryFn: async () => validateAccount(token),\n queryKey,\n staleTime: Infinity,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.ValidateAccount)\n}\n","import { DateTime } from \"luxon\"\nimport qs from \"qs\"\n\nconst sortAlphabetically = (a: string, b: string) => {\n return a.localeCompare(b)\n}\n\ninterface BuildUrlSearchParamsStringOptions {\n dateFormat: \"yyyy\" | \"yyyy-MM-dd\"\n}\n\n/**\n * Builds a URL search params string\n * @param newParams - The new params to add or update\n * @param currentParams - The current URL search params\n * @param options.dateFormat - The date format to use for any params that are dates\n * @returns The URL search params string\n * @example\n * buildUrlSearchParamsString(\n * {\n * year: dateRange.start,\n * },\n * searchParams,\n * {\n * dateFormat: \"yyyy\",\n * })\n */\nexport const buildUrlSearchParamsString = (\n newParams: Record,\n currentParams: URLSearchParams = new URLSearchParams(),\n { dateFormat }: BuildUrlSearchParamsStringOptions = {\n dateFormat: \"yyyy-MM-dd\",\n }\n) =>\n qs.stringify(\n {\n ...Object.fromEntries(currentParams.entries()),\n ...newParams,\n },\n {\n filter: (prefix, value): string => {\n if (value instanceof DateTime) {\n return (value as DateTime).toFormat(dateFormat)\n }\n\n return value as string\n },\n sort: sortAlphabetically,\n }\n )\n","import { useEffect } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { buildUrlSearchParamsString } from \"../url-utils\"\n\nconst defaultPage = 1\n\nconst isPageValid = (page: number): boolean => {\n return Number.isFinite(page) && page > 0\n}\n\ninterface UseSearchParamsPageValue {\n /** The page */\n page: number\n}\n\n/**\n * Returns the page from the search params\n * and sets a default page if the search params are invalid or missing.\n * @example\n * const { page } = useSearchParamsPage()\n */\nexport const useSearchParamsPage = (): UseSearchParamsPageValue => {\n const [searchParams, setSearchParams] = useSearchParams()\n\n const pageParam: number = Number.parseInt(searchParams.get(\"page\"))\n\n useEffect(() => {\n if (!isPageValid(pageParam)) {\n const newSearchParamsString = buildUrlSearchParamsString(\n {\n page: defaultPage,\n },\n searchParams\n )\n\n setSearchParams(newSearchParamsString, { replace: true })\n }\n }, [pageParam, searchParams, setSearchParams])\n\n return { page: isPageValid(pageParam) ? pageParam : defaultPage }\n}\n","export enum RootPath {\n About = \"/about\",\n Admin = \"/admin\",\n Assistant = \"assistant\",\n Dashboard = \"dashboard\",\n Data = \"data\",\n // This route is used by rails\n DeveloperAdmin = \"/developer_admin\",\n Financial = \"financial\",\n ForgotPassword = \"/forgot-password\",\n NotFound = \"/not-found\",\n Organization = \"organizations\",\n Recommendations = \"recommendations\",\n Rep = \"/rep\",\n Report = \"reporting\",\n ResetPassword = \"/reset-password\",\n Root = \"/\",\n Settings = \"/settings\",\n SignUp = \"/sign-up\",\n Site = \"sites\",\n TamAdmin = \"/tam-admin\",\n ValidateAccount = \"/validate-account\",\n}\n\nexport enum AdminPath {\n Rep = \"rep\",\n}\n\nexport enum AssistantPath {\n Thread = \":threadId\",\n}\n\nexport enum DataPath {\n QA = \"qa\",\n Upload = \"upload\",\n}\n\nexport enum DeveloperAdminPath {\n Bill = \"/bills\",\n BillingGroup = \"/billing_groups\",\n Department = \"/departments\",\n Meter = \"/meters\",\n MeterHour = \"/meter_hours\",\n Organization = \"/organizations\",\n OrganizationEmission = \"/organization_emissions\",\n Site = \"/sites\",\n SiteEmission = \"/site_emissions\",\n User = \"/users\",\n}\n\nexport enum SitePath {\n ActivityEmissions = \"activity-emissions\",\n CarbonFootprint = \"/carbon-footprint\",\n Compliance = \"compliance\",\n DashboardRoot = \"/\",\n Decarbonize = \"decarbonize\",\n Electricity = \"electricity\",\n Emissions = \"emissions\",\n NaturalGas = \"natural-gas\",\n Overview = \"overview\",\n Performance = \"performance\",\n Site = \":siteId\",\n SiteDetails = \"details\",\n}\n\nexport enum TamAdminPath {\n BillingGroupDetail = \"/onboarding/:orgId/sites/:siteId/billing-group/:billingGroupId\",\n MeterDetail = \"/onboarding/:orgId/sites/:siteId/billing-group/:billingGroupId/meter/:meterId\",\n Onboarding = \"/onboarding\",\n OrgView = \"/onboarding/:orgId\",\n Organize = \"/onboarding/:orgId/organize\",\n SiteDetail = \"/onboarding/:orgId/sites/:siteId\",\n SiteList = \"/onboarding/:orgId/sites\",\n}\n\nexport enum OrgViewPath {\n BillingGroup = \"/billing-group\",\n Department = \"/department\",\n Meter = \"/meter\",\n Site = \"/site\",\n}\n\nexport enum RecommendationsPath {\n JumpStart = \"site-explorer\",\n JumpStartResult = \"site-explorer/result\",\n Plan = \"plan\",\n Site = \"sites/:siteId\",\n SiteGoals = \"sites/:siteId/goals\",\n SitePlan = \"sites/:siteId/plans/:planId\",\n SitePlanEdit = \"sites/:siteId/plans/:planId/edit\",\n}\n\nexport enum ReportPath {\n CustomReports = \"custom-reports\",\n EmissionsSources = \"emissions-sources\",\n Gresb = \"gresb\",\n Gri = \"gri\",\n MonthlySiteData = \"monthly-site\",\n ResourceSummary = \"resource-summary\",\n ScopeThree = \"scope-three\",\n Workbook = \":workbookId\",\n}\n","import { useCallback } from \"react\"\nimport { generatePath } from \"react-router-dom\"\n\nimport type { Organization } from \"@/models/organization\"\nimport { RecommendationsPath, RootPath } from \"@/models/route\"\nimport { useActiveOrganizationId } from \"@/services/organization\"\n\nconst getAuthenticatedRoutePath = (\n organizationId: Organization[\"id\"],\n path: string\n): string => {\n return `/${organizationId}/${path}`\n}\n\ninterface UseUrlValue {\n /**\n * The root assistant path taking into account the active organization\n */\n assistantPath: string\n\n buildRecommendationsPlanDetailsPath: (id: number, site_id: number) => string\n\n /**\n * Builds a reporting url taking into account the active organization\n *\n * @param report The report\n * @returns A reporting url\n *\n * @example\n * const url = buildReportingUrl(\"resource-summary\")\n */\n buildReportingUrl: (report: string) => string\n\n /**\n * Builds a site url taking into account the active organization\n *\n * @param siteId The site id or url param\n * @param tab The active tab\n * @returns A site url\n *\n * @example\n * const url = buildSitesUrl(\":siteId\")\n * @example\n * const url = buildSitesUrl(\"1\")\n * @example\n * const url = buildSitesUrl(\"1\", \"overview\")\n */\n buildSiteUrl: (siteId: string, tab?: string) => string\n\n /**\n * Builds a sites url taking into account the active organization\n *\n * @param tab The active tab\n * @returns A sites url\n *\n * @example\n * const url = buildSitesUrl()\n * @example\n * const url = buildSitesUrl(\"overview\")\n */\n buildSitesUrl: (tab?: string) => string\n\n /**\n * The root dashboard path taking into account the active organization\n */\n dashboardPath: string\n\n /**\n * The root data path taking into account the active organization\n */\n dataPath: string\n\n /**\n * The root financial path taking into account the active organization\n */\n financialPath: string\n\n /**\n * The root recommendations path taking into account the active organization\n */\n recommendationsPath: string\n\n /**\n * The root reporting path taking into account the active organization\n */\n reportingPath: string\n\n /**\n * The root sites path taking into account the active organization\n */\n sitesPath: string\n}\n\n/**\n * Provides url paths and utility functions for the application\n *\n * @returns The paths and functions\n * @example\n * const {\n * assistantPath,\n * buildSiteUrl,\n * buildSitesUrl,\n * dashboardPath,\n * } = useUrl()\n */\nexport const useUrl = (): UseUrlValue => {\n const { activeOrganizationId } = useActiveOrganizationId()\n\n const assistantPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Assistant\n )\n\n const dashboardPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Dashboard\n )\n\n const dataPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Data\n )\n\n const financialPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Financial\n )\n\n const recommendationsPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Recommendations\n )\n\n const reportingPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Report\n )\n\n const sitesPath = getAuthenticatedRoutePath(\n activeOrganizationId,\n RootPath.Site\n )\n\n const buildRecommendationsPlanDetailsPath = useCallback(\n (id: number, site_id: number) =>\n generatePath(\n `${recommendationsPath}/${RecommendationsPath.SitePlanEdit}`,\n {\n planId: `${id}`,\n siteId: `${site_id}`,\n }\n ),\n [recommendationsPath]\n )\n\n const buildReportingUrl = useCallback(\n (report: string) => {\n return `${reportingPath}/${report}`\n },\n [reportingPath]\n )\n\n const buildSiteUrl = useCallback(\n (siteId: string, tab?: string) => {\n if (tab) {\n return `${sitesPath}/${siteId}/${tab}`\n }\n\n return `${sitesPath}/${siteId}`\n },\n [sitesPath]\n )\n\n const buildSitesUrl = useCallback(\n (tab?: string) => {\n if (tab) {\n return `${sitesPath}/${tab}`\n }\n\n return sitesPath\n },\n [sitesPath]\n )\n\n return {\n assistantPath,\n buildRecommendationsPlanDetailsPath,\n buildReportingUrl,\n buildSiteUrl,\n buildSitesUrl,\n dashboardPath,\n dataPath,\n financialPath,\n recommendationsPath,\n reportingPath,\n sitesPath,\n }\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { NavLink } from \"react-router-dom\"\n\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nimport {\n Badge,\n ListItem,\n ListItemButton,\n ListItemIcon,\n ListItemText,\n Tooltip,\n Typography,\n styled,\n} from \"@mui/material\"\nimport type { BadgeProps, ListItemButtonProps } from \"@mui/material\"\n\nconst IconBadge = styled(Badge)(({ theme }) => ({\n \"& .MuiBadge-badge\": {\n boxShadow: \"0px 1px 3px 0px rgba(0,0,0,0.0.5)\",\n fontSize: \"0.55rem\",\n fontWeight: theme.typography.fontWeightBold,\n height: \"14px\",\n padding: \"0 5px\",\n right: \"2px\",\n },\n}))\n\nconst TextBadge = styled(Badge)(({ theme }) => ({\n \"& .MuiBadge-badge\": {\n boxShadow: \"0px 1px 3px 0px rgba(0,0,0,0.0.5)\",\n fontSize: \"0.55rem\",\n fontWeight: theme.typography.fontWeightBold,\n height: \"14px\",\n padding: \"0 5px\",\n right: \"-20px\",\n top: \"10px\",\n },\n}))\n\ninterface NavItemButtonProps extends ListItemButtonProps {\n dataE2e?: string\n from?: string\n icon: JSX.Element\n isBeta?: boolean\n isOpen: boolean\n title: string\n to: string\n}\n\nexport const NavItemButton: FC = ({\n dataE2e,\n from,\n icon,\n isBeta,\n isOpen,\n id,\n title,\n to,\n}) => {\n const label = isBeta ? `${title} (BETA)` : title\n\n return (\n \n \n {\n datadogRum.addAction(\"navigate\", {\n description: `main nav: ${title}`,\n from: from,\n to: to,\n })\n }}\n sx={(theme) => ({\n color: \"inherit\",\n minHeight: 48,\n justifyContent: isOpen ? \"initial\" : \"center\",\n \"&.active\": {\n backgroundColor: `rgba(from ${theme.palette.primary.main} r g b / 0.54)`,\n color: \"inherit\",\n \":hover\": {\n backgroundColor: `rgba(from ${theme.palette.primary.main} r g b / 0.62)`,\n },\n },\n \"&.MuiListItemButton-root:hover:not(.active)\": {\n backgroundColor: `rgba(from ${theme.palette.common.white} r g b / ${theme.palette.action.hoverOpacity})`,\n },\n \"&.MuiListItemButton-root.Mui-focusVisible:not(.active)\": {\n backgroundColor: `rgba(from ${theme.palette.common.white} r g b / ${theme.palette.action.focusOpacity})`,\n },\n })}\n to={to}\n >\n \n theme.palette.common.white,\n minWidth: 0,\n mr: isOpen ? 1 : \"auto\",\n justifyContent: \"center\",\n }}\n >\n {icon}\n \n \n {isOpen ? (\n \n {title}}\n />\n \n ) : null}\n \n \n \n )\n}\n","import React, { useState } from \"react\"\nimport { useLocation } from \"react-router-dom\"\n\nimport { NzeroLogo } from \"@/components/logo/nzeroLogo\"\nimport { useAuthentication } from \"@/contexts\"\nimport type Organization from \"@/models/organization\"\nimport { useData } from \"@/services/data\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useUserAccess } from \"@/services/user\"\nimport {\n LEFT_NAV_COLLAPSED_WIDTH,\n LEFT_NAV_EXPANDED_WIDTH,\n primary800,\n} from \"@/utils\"\nimport { useUrl } from \"@/utils/url\"\n\nimport AccountBalanceIcon from \"@mui/icons-material/AccountBalance\"\nimport AssistantIcon from \"@mui/icons-material/Assistant\"\nimport DatasetOutlinedIcon from \"@mui/icons-material/DatasetOutlined\"\nimport HomeWorkIcon from \"@mui/icons-material/HomeWork\"\nimport InsightsIcon from \"@mui/icons-material/Insights\"\nimport LeaderboardIcon from \"@mui/icons-material/Leaderboard\"\nimport ListAltIcon from \"@mui/icons-material/ListAlt\"\nimport MenuRoundedIcon from \"@mui/icons-material/MenuRounded\"\nimport RadarRoundedIcon from \"@mui/icons-material/RadarRounded\"\nimport {\n Box,\n Button,\n IconButton,\n List,\n Drawer as MuiDrawer,\n styled,\n} from \"@mui/material\"\nimport { visuallyHidden } from \"@mui/utils\"\n\nimport { NavItemButton } from \"./components/nav-item-button/nav-item-button\"\n\ninterface NavigationDrawerProps {\n isOpen: boolean\n organization: Organization | null\n toggleDrawer: () => void\n}\n\nconst Drawer = styled(MuiDrawer)(({ open, theme }) => ({\n boxSizing: \"border-box\",\n flexShrink: 0,\n whiteSpace: \"nowrap\",\n width: open ? LEFT_NAV_EXPANDED_WIDTH : LEFT_NAV_COLLAPSED_WIDTH,\n \"& .MuiDrawer-paper\": {\n backgroundColor: primary800.toString(),\n borderRadius: 0,\n color: theme.palette.common.white,\n overflow: \"visible !important\", // For skip navigation link\n width: open ? LEFT_NAV_EXPANDED_WIDTH : LEFT_NAV_COLLAPSED_WIDTH,\n },\n}))\n\nexport const NavigationDrawer = ({\n isOpen,\n toggleDrawer,\n organization,\n}: NavigationDrawerProps) => {\n const { isFeatureEnabled } = useFeature()\n const location = useLocation()\n const {\n assistantPath,\n dashboardPath,\n dataPath,\n financialPath,\n recommendationsPath,\n reportingPath,\n sitesPath,\n } = useUrl()\n const { isConsultantUser } = useAuthentication()\n const { isLimitedAccessUser } = useUserAccess()\n const [isSkipNavigationVisible, setIsSkipNavigationVisible] =\n useState(false)\n const { dataHasData } = useData()\n\n const isConsultantReady = dataHasData && isConsultantUser\n\n const handleSkipNavigationBlur = () => {\n setIsSkipNavigationVisible(false)\n }\n\n const handleSkipNavigationKeyboardFocus = () => {\n setIsSkipNavigationVisible(true)\n }\n\n return (\n \n theme.spacing(0, 0, 0, 1) }\n : null),\n }}\n >\n \n \n \n {isOpen ? (\n \n \n \n ) : null}\n \n \n Skip Navigation\n \n \n {isConsultantReady ? (\n }\n id=\"analyze-button\"\n isOpen={isOpen}\n title=\"Analyze\"\n to={reportingPath}\n />\n ) : null}\n {!isConsultantUser ? (\n }\n id=\"dashboard-button\"\n isOpen={isOpen}\n title=\"Dashboard\"\n to={dashboardPath}\n />\n ) : null}\n {!isConsultantUser ? (\n }\n id=\"organization-button\"\n isOpen={isOpen}\n title=\"Financial\"\n to={financialPath}\n />\n ) : null}\n {isConsultantReady || !isConsultantUser ? (\n }\n id=\"sites-link\"\n isOpen={isOpen}\n title=\"Site Explorer\"\n to={sitesPath}\n />\n ) : null}\n {!isConsultantUser ? (\n }\n id=\"reporting-button\"\n isOpen={isOpen}\n title=\"Reporting\"\n to={reportingPath}\n />\n ) : null}\n {(isConsultantReady || (!isConsultantUser && !isLimitedAccessUser)) &&\n isFeatureEnabled(FeatureFlags.ASSISTANT, organization) ? (\n }\n id=\"assistant-button\"\n isBeta={true}\n isOpen={isOpen}\n title=\"Assistant\"\n to={assistantPath}\n />\n ) : null}\n {isConsultantUser ? (\n }\n id=\"data-manager-button\"\n isOpen={isOpen}\n title=\"Data Manager\"\n to={dataPath}\n />\n ) : null}\n {isConsultantReady ||\n (!isConsultantUser &&\n !isLimitedAccessUser &&\n isFeatureEnabled(FeatureFlags.PLANNING, organization)) ? (\n }\n id=\"recommendations-button\"\n isOpen={isOpen}\n title=\"Planning\"\n to={recommendationsPath}\n />\n ) : null}\n \n \n )\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport { Outlet } from \"react-router-dom\"\n\nimport { ImpersonateAlert } from \"@/components/impersonate-alert\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport {\n LEFT_NAV_COLLAPSED_WIDTH,\n LEFT_NAV_EXPANDED_WIDTH,\n} from \"@/utils/constants\"\n\nimport { Box } from \"@mui/material\"\n\nimport { NavigationDrawer } from \"./navigation-drawer/navigation-drawer\"\n\nexport const AuthenticatedLayout: FC = () => {\n const { organization } = useOrganizationContext()\n\n const [collapsed, setCollapsed] = useState(true)\n\n const toggleCollapsed = (): void => {\n setCollapsed(!collapsed)\n }\n\n const styles = {\n content: {\n flexGrow: 1,\n display: \"flex\",\n flexDirection: \"column\",\n minHeight: \"100vh\",\n position: \"relative\",\n },\n contentOpen: {\n marginLeft: `${LEFT_NAV_EXPANDED_WIDTH}px`,\n },\n contentCollapsed: {\n marginLeft: `${LEFT_NAV_COLLAPSED_WIDTH}px`,\n },\n }\n\n const contentClass = collapsed ? styles.contentCollapsed : styles.contentOpen\n\n return (\n <>\n \n {organization ? (\n \n \n \n ) : null}\n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FallbackProps } from \"react-error-boundary\"\nimport { useLocation, useNavigate } from \"react-router-dom\"\n\nimport imgSrc from \"@/assets/images/recommendations/city-street.png\"\n\nimport { Button, Link, Stack, Typography } from \"@mui/material\"\n\nexport const ErrorBoundaryFallback = ({ error }: FallbackProps) => {\n const navigate = useNavigate()\n const location = useLocation()\n const currentUrl = `${location.pathname}${location.search}`\n\n console.error(error)\n\n return (\n \n \"\"\n \n Oops… Something went wrong\n \n {\n navigate(0)\n }}\n variant=\"contained\"\n >\n Refresh Page\n \n \n )\n}\n","import type { ErrorInfo } from \"react\"\n\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nexport const logError = (error: Error, info: ErrorInfo) => {\n datadogRum.addError(error, info)\n}\n","import React from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { Link } from \"@mui/material\"\nimport { useTheme } from \"@mui/material/styles\"\n\nimport { NzeroLogo } from \"../logo/nzeroLogo\"\n\nimport styles from \"./unauthenticatedAppHeader.module.scss\"\n\nexport const UnauthenticatedAppHeader = () => {\n const theme = useTheme()\n\n return (\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Outlet } from \"react-router-dom\"\n\nimport { UnauthenticatedAppHeader } from \"@/components/unauthenticatedAppHeader/unauthenticatedAppHeader\"\n\nimport { Box } from \"@mui/material\"\n\nexport const UnauthenticatedRoute: FC = () => {\n return (\n <>\n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\n\nimport type { RequireExactlyOne } from \"type-fest\"\n\nimport Paper from \"@mui/material/Paper\"\nimport type { PaperProps } from \"@mui/material/Paper\"\nimport { styled } from \"@mui/material/styles\"\n\n// See https://mui.com/material-ui/guides/composition/#with-typescript\nconst StyledPaper = styled(Paper)(({ theme }) => ({\n border: `1px solid ${theme.palette.grey[200]}`,\n borderRadius: theme.spacing(1.5),\n padding: theme.spacing(8),\n}))\n\ntype WhiteBoxProps = RequireExactlyOne<\n PaperProps,\n \"aria-labelledby\"\n>\n\nexport const WhiteBox = (\n props: WhiteBoxProps\n) => {\n return (\n \n {props.children}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { WhiteBox } from \"@/components/whiteBox\"\n\nimport { About } from \"../../components/about\"\n\nexport const AboutIndex: FC = () => (\n \n \n \n)\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { UnauthenticatedRoute } from \"@/components/route/unauthenticated-route/unauthenticated-route\"\nimport { RootPath } from \"@/models/route\"\n\nimport { AboutIndex } from \"./pages/about-index\"\n\nexport const aboutRoutes: RouteObject[] = [\n {\n path: RootPath.About,\n element: (\n \n \n \n ),\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n]\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useData } from \"@/services/data\"\n\nimport { Stack, Typography } from \"@mui/material\"\n\nimport type { DataGuardProps } from \"./data-guard.types\"\n\nexport const DataGuard: FC = ({ children }) => {\n const { dataHasData, dataIsFetched } = useData()\n\n return (\n <>\n {!dataIsFetched && <>}\n {dataIsFetched && !dataHasData && (\n \n You need data!\n \n Contact NZero to get your data into the system.\n \n \n )}\n {dataIsFetched && dataHasData && <>{children}}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { Button, Stack, Typography, useTheme } from \"@mui/material\"\n\nexport const Page404: FC = () => {\n const theme = useTheme()\n\n return (\n \n \n Page Not Found\n \n \n Sorry! We couldn't find this page.\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FieldValues } from \"react-hook-form\"\nimport { FormProvider } from \"react-hook-form\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { FormProps } from \"./form.types\"\n\nexport const Form = ({\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n children,\n form,\n onSubmit,\n sx,\n}: FormProps) => {\n const onSubmitInternal = onSubmit ? form.handleSubmit(onSubmit) : undefined\n\n return (\n \n \n {children}\n \n \n )\n}\n","import React from \"react\"\nimport type { FieldValues } from \"react-hook-form\"\n\nimport { Form } from \"./form\"\nimport type { FormProps } from \"./form.types\"\n\nexport const DialogForm = (\n props: FormProps\n) => (\n \n)\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport {\n Box,\n FormControl,\n FormControlLabel,\n FormGroup,\n FormHelperText,\n Checkbox as MuiCheckbox,\n} from \"@mui/material\"\n\nimport type { CheckboxProps } from \"./checkbox.types\"\n\nexport const Checkbox: FC = ({\n label,\n error,\n required,\n helperText,\n sx,\n ...rest\n}) => {\n // this is a workaround until material ui is at 5.14.12 or more, then can just pass required and error to formcontrol label and formcontrol I believe\n const checkboxLabel = required ? (\n \n {label}\n \n  *\n \n \n ) : (\n label\n )\n\n return (\n \n \n }\n label={checkboxLabel}\n />\n \n {helperText ? (\n {helperText}\n ) : null}\n \n )\n}\n","import React, { useImperativeHandle, useRef } from \"react\"\nimport type { FieldPath, FieldValues } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport { Checkbox } from \"../../inputs/checkbox/checkbox\"\nimport type { FormCheckboxProps } from \"./form-checkbox.types\"\n\nexport const FormCheckbox = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath = FieldPath,\n>({\n name,\n id,\n inputRef,\n helperText,\n ...rest\n}: FormCheckboxProps) => {\n const { field, fieldState } = useController({\n name,\n })\n\n const { ref: fieldRef, ...fieldRest } = field\n\n const innerRef = useRef(null)\n\n useImperativeHandle(\n inputRef,\n () => innerRef.current,\n []\n )\n\n return (\n // helperText is always a string to avoid jarring UI shifts\n {\n fieldRef(node)\n innerRef.current = node\n }}\n />\n )\n}\n","import React from \"react\"\n\nimport { TextField as MuiTextField } from \"@mui/material\"\n\nimport type { TextFieldProps } from \"./text-field.types\"\n\nexport const TextField = React.forwardRef(\n (props, ref) => \n)\n","import React, { useImperativeHandle, useRef } from \"react\"\nimport type { FieldPath, FieldValues } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport { TextField } from \"../../inputs/text-field/text-field\"\nimport type { FormTextFieldProps } from \"./form-text-field.types\"\n\nexport const FormTextField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath = FieldPath,\n>({\n name,\n id,\n error,\n helperText,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ref,\n inputRef,\n InputProps,\n ...rest\n}: FormTextFieldProps) => {\n const {\n field: { ref: fieldRef, ...restField },\n fieldState,\n } = useController({\n name,\n })\n\n const innerRef = useRef(null)\n\n useImperativeHandle(inputRef, () => innerRef.current)\n\n // helperText is always a string to avoid jarring UI shifts\n // required is false below to disable native browser ui\n return (\n {\n fieldRef(node)\n innerRef.current = node as HTMLInputElement\n }}\n />\n )\n}\n","import React, { forwardRef } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\n\nimport { LoadingButton } from \"@mui/lab\"\n\nimport type { SubmitButtonProps } from \"./submit-button.types\"\n\nexport const SubmitButton = forwardRef(\n ({ variant, children, disabled, disableFormStateCheck, ...rest }, ref) => {\n const methods = useFormContext()\n\n const { isValid, isDirty, isSubmitting } = methods.formState\n\n let isDisabled: boolean = disabled ?? false\n\n if (isSubmitting || ((!isValid || !isDirty) && !disableFormStateCheck)) {\n isDisabled = true\n }\n\n return (\n \n {children}\n \n )\n }\n)\n","import { useForm as useRHForm } from \"react-hook-form\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport type { z } from \"zod\"\n\nimport type { UseFormOptions } from \"./use-form-types\"\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const useForm = >({\n schema,\n mode = \"onBlur\",\n ...rest\n}: UseFormOptions) => {\n // Union type allows for setting server errors\n // See https://react-hook-form.com/docs/useform/seterror\n const useFormMethods = useRHForm<\n z.infer & { root?: Record }\n >({\n ...rest,\n mode,\n resolver: zodResolver(schema),\n })\n\n return useFormMethods\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box } from \"@mui/material\"\nimport type { SxProps } from \"@mui/material\"\n\nimport { useBlur } from \"../use-blur\"\nimport type { BlurProps } from \"./blur.types\"\n\nexport const Blur: FC = ({\n blurRadius = 4,\n children,\n component = \"div\",\n isBlurred = true,\n sx = {},\n}) => {\n const blurStyles: SxProps = useBlur({ blurRadius, isBlurred })\n const styles = {\n ...sx,\n ...blurStyles,\n } as unknown as SxProps\n\n return (\n \n {children}\n \n )\n}\n","import type { SxProps } from \"@mui/material\"\n\nimport type { UseBlurProps } from \"./use-blur.types\"\n\nexport const useBlur = ({\n blurRadius = 4,\n isBlurred = true,\n}: UseBlurProps): SxProps => {\n return {\n filter: isBlurred ? `blur(${blurRadius}px)` : \"none\",\n pointerEvents: isBlurred ? \"none\" : \"auto\",\n }\n}\n","import React from \"react\"\n\nimport { Button as MuiButton } from \"@mui/material\"\n\nimport type { ButtonProps } from \"./button.types\"\n\nexport const Button = React.forwardRef(\n (props, ref) => \n)\n","/* eslint-disable react/require-default-props */\nimport React, { forwardRef, useState } from \"react\"\n\nimport {\n Checkbox,\n FormControl,\n FormHelperText,\n InputLabel,\n ListItemText,\n MenuItem,\n OutlinedInput,\n Select,\n} from \"@mui/material\"\nimport type { SelectChangeEvent } from \"@mui/material/Select\"\n\nimport {\n ITEM_HEIGHT,\n ITEM_PADDING_TOP,\n} from \"./multi-select-checkbox-field.constants\"\nimport type { MultiSelectCheckboxFieldProps } from \"./multi-select-checkbox-field.types\"\n\nconst DefaultMenuProps = {\n PaperProps: {\n style: {\n maxHeight: ITEM_HEIGHT * 4.5 + ITEM_PADDING_TOP,\n marginTop: \"0.25rem\",\n },\n },\n}\n\n/**\n * Select field with multiple checkboxes\n */\nexport const MultiSelectCheckboxField = forwardRef<\n HTMLDivElement,\n MultiSelectCheckboxFieldProps\n>(\n (\n {\n checkboxes,\n disabled,\n error,\n fullWidth,\n helperText,\n id,\n label,\n name,\n onChange,\n renderValue,\n MenuProps,\n inputRef,\n sx,\n value = [],\n ...rest\n },\n ref\n ) => {\n let renderValueFn = renderValue\n if (!renderValueFn) {\n renderValueFn = (selected: string[]) =>\n selected\n .map(\n (val) =>\n checkboxes.find((checkbox) => checkbox.value === val)?.label\n )\n .join(\", \")\n }\n const handleChange = (event: SelectChangeEvent) => {\n const {\n target: { value: eventValue },\n } = event\n if (onChange && Array.isArray(eventValue)) {\n onChange(eventValue)\n }\n }\n\n const [open, setOpen] = useState(false)\n\n const handleToggleSelect = () => {\n setOpen((prevOpen) => !prevOpen)\n }\n\n const handleOpenSelectIfNeeded = () => {\n if (open) {\n return\n }\n setOpen(true)\n }\n\n const handleKeyDownFormControl = (\n event: React.KeyboardEvent\n ) => {\n switch (event.code) {\n case \"Enter\": {\n handleOpenSelectIfNeeded()\n break\n }\n case \"Space\": {\n handleOpenSelectIfNeeded()\n break\n }\n\n default:\n break\n }\n }\n\n return (\n \n \n {label}\n \n }\n inputRef={inputRef}\n labelId={id}\n MenuProps={MenuProps ?? DefaultMenuProps}\n multiple\n name={name}\n onChange={handleChange}\n onClick={handleOpenSelectIfNeeded}\n onClose={handleToggleSelect}\n open={open}\n renderValue={renderValueFn}\n value={value}\n variant=\"outlined\"\n >\n {checkboxes.map((checkbox) => (\n \n \n \n \n ))}\n \n {helperText ? {helperText} : null}\n \n )\n }\n)\n","import React from \"react\"\nimport type {\n NumberFormatValues,\n NumericFormatProps,\n} from \"react-number-format\"\nimport { NumericFormat } from \"react-number-format\"\n\nimport type { NumericFormatCustomProps } from \"./numeric-text-field.types\"\n\nexport const NumericFormatCustom = React.forwardRef<\n NumericFormatProps,\n NumericFormatCustomProps\n>((props, ref) => {\n const { onChange, NumericFormatProps = {}, ...rest } = props\n\n const {\n thousandSeparator = true,\n decimalScale = 2,\n valueIsNumericString = true,\n ...restNumericFormatProps\n } = NumericFormatProps\n\n return (\n {\n onChange({\n target: {\n name: props.name,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n value: values.value,\n },\n })\n }}\n thousandSeparator={thousandSeparator}\n valueIsNumericString={valueIsNumericString}\n />\n )\n})\n","import React, { forwardRef } from \"react\"\n\nimport TextField from \"@mui/material/TextField\"\n\nimport { NumericFormatCustom } from \"./numeric-format-custom\"\nimport type { NumericTextFieldProps } from \"./numeric-text-field.types\"\n\n/**\n * Wrapper around TextField component that uses [react-number-format](https://s-yadav.github.io/react-number-format/) under the hood\n *\n * You can configure react-number-format via the `NumericFormatProps` prop, which allows you to fully configure react-number-format\n * The component defaults to `decimalScale = 2`, `thousandSeparator = true`, and `valueIsNumericString = true`\n *\n * ```tsx\n * {\n * console.log(event)\n * }}\n * NumericFormatProps={{\n * allowNegative: false\n * }}\n * inputRef={refYouWant}\n * />\n * ```\n */\nexport const NumericTextField = forwardRef<\n HTMLDivElement,\n NumericTextFieldProps\n>(({ NumericFormatProps, InputProps, inputProps, inputRef, ...rest }, ref) => (\n \n))\n","// @ts-strict-ignore\n\n/* eslint-disable react/require-default-props */\nimport React, { forwardRef } from \"react\"\n\nimport {\n Box,\n FormControl,\n FormHelperText,\n InputLabel,\n MenuItem,\n OutlinedInput,\n Select,\n} from \"@mui/material\"\n\nimport type { SelectFieldProps } from \"./select-field.types\"\n\n/**\n * Select field that composes formcontrol, helpertext, formlabel, the same way text field does\n *\n * ```tsx\n * \n * ```\n */\nexport const SelectField = forwardRef(\n (\n {\n disabled,\n error,\n fullWidth,\n helperText,\n id,\n label,\n options,\n inputRef,\n name,\n value,\n placeholder,\n sx,\n renderValue,\n multiple,\n required,\n ...rest\n },\n ref\n ) => {\n let renderValueFn = (selected?: string | string[]) => {\n if (!selected && placeholder) {\n return {placeholder}\n }\n if (selected && selected.length === 0 && placeholder) {\n return {placeholder}\n }\n if (!selected && !placeholder) {\n return \"\"\n }\n\n if (multiple && Array.isArray(selected)) {\n return selected\n .map((val) => options.find((option) => option.value === val)?.label)\n .join(\", \")\n }\n\n return options.find((option) => option.value === selected)?.label\n }\n if (renderValue) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n renderValueFn = renderValue as any\n }\n return (\n \n {label && (\n \n {label}\n \n )}\n }\n inputRef={inputRef}\n labelId={id ?? name}\n multiple={multiple}\n name={name}\n renderValue={renderValueFn}\n value={value}\n variant=\"outlined\"\n >\n {placeholder ? (\n \n {placeholder}\n \n ) : null}\n\n {options.map((option) => (\n \n {option.label}\n \n ))}\n \n {helperText ? {helperText} : null}\n \n )\n }\n)\n","import type { MutableRefObject } from \"react\"\nimport React from \"react\"\n\nconst MenuRefContext = React.createContext | null>(\n null\n)\n\nexport default MenuRefContext\n","import React from \"react\"\n\ninterface ComponentProps {\n children?: React.ReactNode\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n condition: any\n}\n\n/**\n * A component that conditionally displays its children\n *\n * @param props {ComponentProps} - The component properties\n * @param props.children {React.ReactNode} - The child nodes to render\n * @param props.condition {any} - The condition that determines if the children are rendered\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const If = ({ children, condition }: ComponentProps) => (\n <>{!!condition && children}\n)\n","import { useTranslation } from \"react-i18next\"\n\nimport type { UnitName } from \"../../models/unit\"\nimport { useUserSettings } from \"../../modules/settings/contexts/userSettings.provider\"\nimport { translateUnit } from \"../../utils/unit\"\n\n/**\n * Hook to get the string for a unit label in the current language.\n * A value is needed in some cases to determine the appropriate label by getting the unit\n * portion of Intl's `formatToParts` method.\n *\n * You must also import UnitName from the models/unit file.\n *\n * @example\n * const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n *\n * @example\n * const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent, 2000)\n */\nexport const useUnit = (unit: UnitName, value?: number | string | null) => {\n const { i18n } = useTranslation()\n const { currency } = useUserSettings()\n\n return translateUnit(i18n.language, unit, currency, value)\n}\n","import React from \"react\"\n\nimport type { UnitName } from \"../../models/unit\"\nimport { useUnit } from \"./use-unit\"\n\ninterface IUnitProps {\n unit: UnitName\n value?: number | string | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided unit\n *\n * @param props - The component properties\n * @param props.unit - The unit\n * @param props.value - The number to use for handling pluralization\n * @example\n * return (\n * \n * )\n */\nexport const Unit = ({ unit, value }: IUnitProps) => {\n const unitString = useUnit(unit, value)\n\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return unitString ? <>{unitString} : null\n}\n","import React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { translateDecimal } from \"../../../utils/decimal\"\n\nexport interface IDecimalFormat extends Intl.NumberFormatOptions {\n precision?: number\n}\n\nexport interface IDecimalProps {\n format?: IDecimalFormat\n useAccountingFormatWhenNegative?: boolean\n value: number | string | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided decimal\n *\n * @param props {IDecimalProps} - The component properties\n * @param props.value {number | string | null} - The decimal\n * @param props.format {IDecimalFormat} - The format configuration for the decimal\n * @param props.useAccountingFormatWhenNegative {boolean} - Whether to wrap negative decimals in parenthesis or not\n * @example\n * return (\n * \n * )\n */\nexport const Decimal = ({\n value,\n format,\n useAccountingFormatWhenNegative = true,\n}: IDecimalProps) => {\n const { i18n } = useTranslation()\n return (\n <>\n {translateDecimal(i18n, value, format, {\n useAccountingFormatWhenNegative,\n })}\n \n )\n}\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport {\n DEFAULT_DECIMAL_PLACEHOLDER,\n isDecimalEmpty,\n} from \"../../../utils/decimal\"\nimport { Decimal } from \"../decimal/decimal\"\n\nexport interface IDecimalPlaceholderProps {\n children?: ReactNode\n placeholder?: string\n replaceZeroWithPlaceholder?: boolean\n value: number | string | null | undefined\n}\n\n/**\n * A component that conditionally displays its children or a placeholder based on a numeric input\n *\n * @param props {IDecimalPlaceholderProps} - The component properties\n * @param props.children {IDecimalPlaceholderProps[\"children\"]} - The child nodes to render\n * @param props.placeholder {string} - The placeholder to render instead of the decimal\n * @param props.replaceZeroWithPlaceholder {boolean} - Whether to consider 0 as an empty value\n * @param props.value {number | string | null | undefined} - The numeric value to use to determine what to display\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const DecimalPlaceholder = ({\n children,\n replaceZeroWithPlaceholder,\n placeholder = DEFAULT_DECIMAL_PLACEHOLDER,\n value,\n}: IDecimalPlaceholderProps) => {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n React.Children.forEach(children, (child, _index) => {\n if (React.isValidElement(child) && child.type !== Decimal) {\n throw new Error(\n `${DecimalPlaceholder.name} children must be of type ${Decimal.name}`\n )\n }\n })\n\n if (isDecimalEmpty(value, { includeZero: replaceZeroWithPlaceholder })) {\n return <>{placeholder}\n }\n\n return <>{children}\n}\n","import React from \"react\"\n\nimport type { UnitName } from \"../../../models/unit\"\nimport { If } from \"../../if/if\"\nimport { Unit } from \"../../unit/unit\"\nimport type { IDecimalProps } from \"../decimal/decimal\"\nimport { Decimal } from \"../decimal/decimal\"\nimport { DecimalPlaceholder } from \"../decimalPlaceholder/decimalPlaceholder\"\n\nexport interface IDecimalWithPlaceholderProps extends IDecimalProps {\n placeholder?: string\n replaceZeroWithPlaceholder?: boolean\n unit?: UnitName\n}\n\n/**\n * A component that properly formats and internationalizes the provided decimal and displays a placeholder\n *\n * @param props - The component properties\n * @param props.value - The decimal\n * @param props.format - The format configuration for the decimal\n * @param props.placeholder - The placeholder to render instead of the decimal\n * @param props.replaceZeroWithPlaceholder - Whether to consider 0 as an empty value\n * @param props.unit - The unit to display\n * @param props.useAccountingFormatWhenNegative - Whether to wrap negative decimals in parenthesis or not\n * @example\n * return (\n * \n * )\n */\nexport const DecimalWithPlaceholder = ({\n value,\n format,\n replaceZeroWithPlaceholder,\n placeholder,\n unit,\n useAccountingFormatWhenNegative,\n}: IDecimalWithPlaceholderProps) => (\n <>\n \n \n \n \n {\" \"}\n \n \n \n)\n","import React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport {\n CurrencySymbolPosition,\n DEFAULT_CURRENCY_PLACEHOLDER,\n} from \"../../../models/currency\"\nimport { useUserSettings } from \"../../../modules/settings\"\nimport {\n getCurrencySymbol,\n getCurrencySymbolPosition,\n} from \"../../../utils/currency\"\nimport type { IDecimalFormat } from \"../../decimal/decimal/decimal\"\nimport type { IDecimalWithPlaceholderProps } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\n\nconst defaultCurrencyFormatConfig: IDecimalFormat = {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n}\n\ntype ICurrencyWithPlaceholderProps = Omit<\n IDecimalWithPlaceholderProps,\n \"placeholder\"\n>\n\n/**\n * A component that properly formats and internationalizes the provided currency\n *\n * @param props - The component properties\n * @param props.value - The currency\n * @param props.format - The format configuration for the currency\n * @param props.replaceZeroWithPlaceholder - Whether to consider 0 as an empty value\n * @param props.useAccountingFormatWhenNegative - Whether to wrap negative currencies in parenthesis or not\n * @param props.unit - The unit to display with the currency\n * @example\n * return (\n * \n * )\n */\nexport const CurrencyWithPlaceholder = ({\n value,\n format,\n replaceZeroWithPlaceholder,\n unit,\n useAccountingFormatWhenNegative,\n}: ICurrencyWithPlaceholderProps) => {\n const { i18n } = useTranslation()\n const { currency } = useUserSettings()\n\n const currencyFormatConfig: IDecimalFormat = {\n ...defaultCurrencyFormatConfig,\n ...format,\n style: \"currency\",\n currency,\n }\n\n // Ensure precision overrides any fraction digits\n if (Number.isFinite(format?.precision)) {\n delete currencyFormatConfig.minimumFractionDigits\n delete currencyFormatConfig.maximumFractionDigits\n }\n\n // Internationalize the currency placeholder\n // Some languages display the currency symbol on the right\n const currencySymbol: string = getCurrencySymbol(i18n.language, currency)\n const currencySymbolPosition: CurrencySymbolPosition =\n getCurrencySymbolPosition(i18n.language, currency)\n const currencyPlaceholderLeft = `${currencySymbol}${DEFAULT_CURRENCY_PLACEHOLDER}`\n const currencyPlaceholderRight = `${DEFAULT_CURRENCY_PLACEHOLDER}${currencySymbol}`\n const currencyPlaceholder =\n currencySymbolPosition === CurrencySymbolPosition.Left\n ? currencyPlaceholderLeft\n : currencyPlaceholderRight\n\n return (\n \n )\n}\n","import React from \"react\"\n\nimport type { IDecimalFormat } from \"../decimal/decimal\"\nimport { DecimalWithPlaceholder } from \"../decimalWithPlaceholder/decimalWithPlaceholder\"\n\nexport interface IEmissionDecimalProps {\n placeholder?: string\n value: number | string | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided decimal for displaying an emission\n *\n * @param props {IEmissionDecimalProps} - The component properties\n * @param children: {never[]} - The children\n * @param props.value {number | string | null} - The decimal\n * @param props.placeholder {string} - The placeholder to render instead of the decimal\n * @example\n * return (\n * \n * )\n */\nexport const EmissionDecimal = ({\n value,\n placeholder,\n}: IEmissionDecimalProps) => {\n let format: IDecimalFormat\n\n if (Number(value) < 1) {\n format = { maximumFractionDigits: 6, maximumSignificantDigits: 4 }\n } else {\n format = { precision: 2 }\n }\n\n return (\n \n )\n}\n","import React from \"react\"\n\nimport type { IDecimalFormat } from \"../decimal/decimal\"\nimport { DecimalWithPlaceholder } from \"../decimalWithPlaceholder/decimalWithPlaceholder\"\n\ninterface IEnergyUnitDecimalProps {\n placeholder?: string\n value: number | string | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided decimal for displaying an energy unit\n *\n * @param props {IEnergyUnitDecimalProps} - The component properties\n * @param children: {never[]} - The children\n * @param props.value {number | string | null} - The decimal\n * @param props.placeholder {string} - The placeholder to render instead of the decimal\n * @example\n * return (\n * \n * )\n */\nexport const EnergyUnitDecimal = ({\n value,\n placeholder,\n}: IEnergyUnitDecimalProps) => {\n let format: IDecimalFormat\n\n if (Number(value) < 1) {\n format = { maximumFractionDigits: 6, maximumSignificantDigits: 4 }\n } else {\n format = { precision: 2 }\n }\n\n return (\n \n )\n}\n","import { CurrencyWithPlaceholder as CurrencyWithPlaceholderComponent } from \"../../components/currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { EmissionDecimal } from \"../../components/decimal/emissionDecimal/emissionDecimal\"\nimport { EnergyUnitDecimal } from \"../../components/decimal/energyUnitDecimal/energyUnitDecimal\"\n\nexport enum MetricType {\n Emission = 0,\n EnergyUnit = 1,\n CurrencyWithPlaceholder = 2,\n}\n\nexport const metricFormattingComponentMap: Record<\n number,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (props: any) => JSX.Element\n> = {\n [MetricType.Emission]: EmissionDecimal,\n [MetricType.EnergyUnit]: EnergyUnitDecimal,\n [MetricType.CurrencyWithPlaceholder]: CurrencyWithPlaceholderComponent,\n}\n\nexport const getMetricFormattingComponent = (metricType: number) =>\n metricFormattingComponentMap[metricType]\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport { pxToRem } from \"../../../../utils/unit\"\nimport type { StackedAreaGraphTooltipRowProps } from \"./stacked-area-graph-tooltip.types\"\n\nconst StackedAreaGraphTooltipRow = ({\n rowItem,\n}: StackedAreaGraphTooltipRowProps): JSX.Element => (\n \n \n {rowItem.color && (\n \n )}\n {rowItem.label}\n \n \n {rowItem.decimalComponent?.({ value: rowItem.value })}\n \n \n)\n\nexport default StackedAreaGraphTooltipRow\n","import React from \"react\"\n\nimport { Stack } from \"@mui/material\"\n\nimport StackedAreaGraphTooltipRow from \"./stacked-area-graph-tooltip-row\"\nimport type { StackedAreaGraphTooltipRowsProps } from \"./stacked-area-graph-tooltip.types\"\n\nconst StackedAreaGraphTooltipRows = ({\n rows,\n}: StackedAreaGraphTooltipRowsProps): JSX.Element => (\n \n {rows.map((rowItem) => (\n \n ))}\n \n)\n\nexport default StackedAreaGraphTooltipRows\n","import React from \"react\"\n\nimport { Box, Paper, Typography, useTheme } from \"@mui/material\"\n\nimport {\n MetricType,\n getMetricFormattingComponent,\n} from \"../../../../models/decimal/decimal\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport StackedAreaGraphTooltipRow from \"./stacked-area-graph-tooltip-row\"\nimport StackedAreaGraphTooltipRows from \"./stacked-area-graph-tooltip-rows\"\nimport type { StackedAreaGraphTooltipProps } from \"./stacked-area-graph-tooltip.types\"\n\nexport const StackedAreaGraphTooltip: React.FC<\n StackedAreaGraphTooltipProps\n> = ({ active, isTotalHidden, payload }) => {\n const theme = useTheme()\n const styles = {\n container: {\n border: `1px solid ${theme.palette.grey[500]}`,\n transition: \"opacity 0.45s\",\n width: \"148px\",\n },\n header: {\n backgroundColor: theme.palette.grey[100],\n borderRadius: `${pxToRem(8)} ${pxToRem(8)} 0 0`, // needed for the background color to go over the border\n display: \"flex\",\n justifyContent: \"space-between\",\n whiteSpace: \"nowrap\",\n p: 1,\n },\n footer: {\n borderTop: `1px solid ${theme.palette.grey[500]}`,\n p: 1,\n },\n }\n\n if (active && payload?.length) {\n let total = 0\n const column1Header = payload[0].payload.tooltipColumn1Header\n const column2Header = payload[0].payload.tooltipColumn2Header\n const { tooltipLabelsMap } = payload[0].payload\n const rows = payload.map((item) => {\n total += item.value\n const tooltip = tooltipLabelsMap[item.dataKey]\n return {\n label: tooltip.label,\n value: item.value,\n color: item.color,\n decimalComponent: getMetricFormattingComponent(\n tooltip.metricFormattingComponentId\n ),\n }\n })\n // Ensure that the rows are in the correct display order\n const reversedRows = [...rows].reverse()\n return (\n \n \n \n {column1Header}\n \n \n {column2Header}\n \n \n \n {!isTotalHidden && (\n \n \n \n )}\n \n )\n }\n\n return null\n}\n\nexport default StackedAreaGraphTooltip\n","import React, { useContext } from \"react\"\n\nimport {\n Area,\n AreaChart,\n CartesianGrid,\n Label,\n Legend,\n ResponsiveContainer,\n Tooltip,\n XAxis,\n YAxis,\n} from \"recharts\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport MenuRefContext from \"../graph-menu/graph-menu-ref-context\"\nimport { StackedAreaGraphTooltip } from \"./stacked-area-graph-tooltip/stacked-area-graph-tooltip\"\nimport {\n LEFT_AREA_CHART_ADDITIONAL_SPACING,\n type StackedAreaGraphProps,\n} from \"./stacked-area-graph.types\"\n\nexport const StackedAreaGraph: React.FC = ({\n children,\n colors,\n customTooltip,\n data,\n isTotalHidden,\n keys,\n keysToNotGraph,\n legendAlign,\n legendLayout,\n legendVerticalAlign,\n yAxisLabel,\n xAxes,\n}: StackedAreaGraphProps) => {\n const theme = useTheme()\n const defaultColors: string[] = [\n theme.palette.spectrum.cerulean[400],\n theme.palette.spectrum.cerulean[300],\n theme.palette.spectrum.cerulean[50],\n ]\n\n const graphKeys = keys.filter((key) => !keysToNotGraph?.includes(key))\n\n const areaRef = useContext(MenuRefContext)\n const stackedAreas = graphKeys.map((key, index) => (\n \n ))\n\n const tickFormatter = (tick: number): string => {\n if (tick >= 1000) {\n return `${tick / 1000}k`\n }\n return `${tick}`\n }\n\n const tooltipComponent = customTooltip ?? (\n \n )\n\n return (\n \n \n \n {xAxes?.length ? (\n [...xAxes]\n ) : (\n \n )}\n \n }\n padding={{ bottom: 0.5 }}\n stroke={theme.palette.grey[300]}\n tick={{ fill: theme.palette.grey[600], fontSize: 10 }}\n tickFormatter={tickFormatter}\n tickLine={false}\n width={44}\n />\n {children && (\n <>{children}}\n layout={legendLayout}\n verticalAlign={legendVerticalAlign}\n />\n )}\n {stackedAreas}\n \n \n \n )\n}\n","import type { ReactNode } from \"react\"\n\nimport type {\n HorizontalAlignmentType,\n VerticalAlignmentType,\n} from \"recharts/types/component/DefaultLegendContent\"\nimport type { LayoutType } from \"recharts/types/util/types\"\n\nimport type { ToolTipLabel } from \"../../../components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph.types\"\n\nexport const LEFT_AREA_CHART_ADDITIONAL_SPACING = 12\n\nexport interface StackedAreaGraphProps {\n children?: ReactNode\n colors?: string[]\n customTooltip?: React.JSX.Element\n data: StackedAreaGraphDataPoint[]\n isTotalHidden?: boolean\n keys: string[]\n keysToNotGraph?: string[]\n legendAlign?: HorizontalAlignmentType | undefined\n legendLayout?: LayoutType | undefined\n legendVerticalAlign?: VerticalAlignmentType | undefined\n xAxes?: React.ReactNode[]\n yAxisLabel: string\n}\n\nexport interface StackedAreaGraphDataPoint {\n [key: string]: number | string | Record | undefined\n tooltipLabelsMap: Record\n xaxis?: string\n}\n","/**\n * This custom hooks uses https://github.com/brammitch/recharts-to-png as the base and adds\n * ability to modify chart before converting to png, and save as a png file.\n * Currently the only modification is to the chart add padding to the chart without affecting the original chart\n * */\nimport { useCallback, useRef } from \"react\"\n\nimport saveAs from \"file-saver\"\nimport html2canvas from \"html2canvas\"\n\nimport { LEFT_AREA_CHART_ADDITIONAL_SPACING } from \"../stacked-area-graph/stacked-area-graph.types\"\nimport type { GraphToPng } from \"./graph-to-png.types\"\n\nexport function useGraphToPng(): GraphToPng {\n const ref = useRef()\n const savePng = useCallback(\n async (fileName: string, exportHiddenElements?: string[] | undefined) => {\n if (\n typeof ref.current === \"object\" &&\n ref.current !== null &&\n \"container\" in ref.current\n ) {\n const ADDITIONAL_PADDING = 48\n // Clone the chart container and add padding to it\n const currentRef = ref.current as { container: HTMLElement }\n const containerElement = currentRef.container\n const exportContainer = document.createElement(\"div\")\n const clonedElement = containerElement.cloneNode(true) as HTMLElement\n\n const exportContainerStyles = {\n padding: `${ADDITIONAL_PADDING}px ${ADDITIONAL_PADDING}px ${ADDITIONAL_PADDING}px ${\n ADDITIONAL_PADDING - LEFT_AREA_CHART_ADDITIONAL_SPACING\n }px`,\n position: \"absolute\",\n left: \"-9999px\",\n top: \"0\",\n width: `${containerElement.offsetWidth + ADDITIONAL_PADDING * 2}px`,\n height: `${containerElement.offsetHeight + ADDITIONAL_PADDING * 2}px`,\n }\n Object.assign(exportContainer.style, exportContainerStyles)\n clonedElement.style.position = \"relative\"\n\n // Hide elements that are not needed in the png\n if (exportHiddenElements) {\n exportHiddenElements.forEach((selector) => {\n const element: HTMLElement | null =\n clonedElement.querySelector(selector)\n if (element) {\n element.style.display = \"none\"\n }\n })\n }\n\n exportContainer.appendChild(clonedElement)\n document.body.appendChild(exportContainer)\n\n const canvas = await html2canvas(exportContainer, { logging: false })\n canvas.toBlob((blob) => {\n if (blob) {\n saveAs(blob, `${fileName}.png`)\n }\n }, \"image/png\")\n document.body.removeChild(exportContainer)\n }\n },\n [ref]\n )\n\n return {\n savePng,\n ref,\n }\n}\n","import React from \"react\"\n\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\"\nimport { IconButton, Menu, MenuItem, Stack } from \"@mui/material\"\n\nimport { useGraphToPng } from \"../graph-to-png/graph-to-png\"\nimport type { GraphMenuContainerProps } from \"./graph-menu-container.types\"\nimport MenuRefContext from \"./graph-menu-ref-context\"\n\n/**\n * A component that wraps a graph (child) and provides a menu for exporting the graph as a PNG\n * For example:\n * return (\n * \n * \n * \n * )\n */\n\nexport const GraphMenuContainer: React.FC = ({\n children,\n exportHiddenElements,\n fileName,\n}) => {\n const [menuAnchorEl, setMenuAnchorEl] = React.useState(\n null\n )\n const open = Boolean(menuAnchorEl)\n const handleMenuClick = (event: React.MouseEvent) => {\n setMenuAnchorEl(event.currentTarget)\n }\n const handleMenuClose = () => {\n setMenuAnchorEl(null)\n }\n\n const { savePng, ref: graphRef } = useGraphToPng()\n\n const exportPNG = () => {\n handleMenuClose()\n savePng(fileName, exportHiddenElements).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n })\n }\n\n return (\n \n \n {children}\n \n \n \n \n \n \n Export PNG\n \n \n \n )\n}\n","import type { TabProps } from \"@mui/material\"\nimport { Tab } from \"@mui/material\"\nimport { alpha, styled } from \"@mui/material/styles\"\n\nexport const ContainedTab = styled(Tab)(({ theme }) => ({\n textTransform: \"capitalize\",\n fontSize: theme.typography.pxToRem(16),\n borderRadius: theme.typography.pxToRem(24),\n backgroundColor: theme.palette.grey[100],\n color: theme.palette.grey[700],\n fontWeight: theme.typography.fontWeightRegular,\n border: `1px solid ${theme.palette.grey[100]}`,\n \"&:hover\": {\n backgroundColor: alpha(theme.palette.common.black, 0.1),\n },\n \"&:active\": {\n backgroundColor: alpha(theme.palette.common.black, 0.1),\n },\n \"&.MuiButtonBase-root\": {\n minHeight: theme.typography.pxToRem(32),\n height: theme.typography.pxToRem(32),\n padding: theme.spacing(0.5, 1),\n },\n \"&.Mui-selected\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n color: theme.palette.spectrum.blue[700],\n border: `1px solid ${theme.palette.spectrum.blue[600]}`,\n \"&:hover\": {\n backgroundColor: alpha(theme.palette.spectrum.blue[400], 0.2),\n },\n \"&:active\": {\n backgroundColor: alpha(theme.palette.spectrum.blue[400], 0.2),\n },\n },\n})) as unknown as typeof Tab\n","import type { TabsProps } from \"@mui/material\"\nimport { Tabs } from \"@mui/material\"\nimport { styled } from \"@mui/material/styles\"\n\nexport const ContainedTabs = styled(Tabs)(({ theme }) => ({\n minHeight: theme.typography.pxToRem(32),\n \"& div.MuiTabs-scroller\": {\n \"& .MuiTabs-flexContainer\": {\n gap: theme.spacing(1),\n },\n },\n \"& .MuiTabs-indicator\": {\n display: \"none\",\n },\n}))\n","import React from \"react\"\n\nimport { createSvgIcon } from \"@mui/material/utils\"\n\nexport const NZeroLogoIcon = createSvgIcon(\n \n \n ,\n \"NZeroLogoIcon\"\n)\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport CloseIconRounded from \"@mui/icons-material/CloseRounded\"\nimport type { DialogTitleProps as MuiDialogTitleProps } from \"@mui/material\"\nimport { IconButton, DialogTitle as MuiDialogTitle } from \"@mui/material\"\n\ninterface DialogTitleProps extends MuiDialogTitleProps {\n /**\n * provide an id for accessibility, see https://mui.com/material-ui/react-modal/#accessibility\n */\n id: string\n onClose: React.MouseEventHandler | undefined\n}\n\nexport const DialogTitle: FC = ({\n children,\n onClose,\n id,\n}) => (\n \n {children}\n \n \n \n \n)\n","import type { ContactDialogType } from \"@/components/contact-dialog\"\nimport { useMutation } from \"@tanstack/react-query\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport type { AxiosError, AxiosResponse } from \"axios\"\n\nimport { httpClient } from \"../../utils/api\"\nimport type { SuccessData } from \"../../utils/api\"\n\ninterface SendContactEmailParams {\n message: string\n type: ContactDialogType\n}\n\nconst sendContactEmail = async ({\n message,\n type,\n}: SendContactEmailParams): Promise> => {\n const response: AxiosResponse = await httpClient.post(\n \"/api/v1/contact_us\",\n { text: message, type }\n )\n\n return response\n}\n\nexport const useSendContactEmail = (\n options?: UseMutationOptions<\n AxiosResponse,\n AxiosError,\n SendContactEmailParams\n >\n) => {\n const useMutationOptions = {\n mutationFn: async (emailParams: SendContactEmailParams) =>\n sendContactEmail(emailParams),\n ...options,\n }\n\n const { data, isError, isLoading, isSuccess, mutateAsync } =\n useMutation(useMutationOptions)\n\n return {\n sendContactEmail: mutateAsync,\n sendContactEmailData: data,\n sendContactEmailIsError: isError,\n sendContactEmailIsLoading: isLoading,\n sendContactEmailIsSuccess: isSuccess,\n }\n}\n","export const getMaxLengthMessage = (maxLength: number) =>\n `Must be ${maxLength} characters or less`\n\nexport const getMinLengthMessage = (minLength: number) =>\n `Must be at least ${minLength} characters`\n","export const defaultMaxLength = 50\nexport const requiredMessage = \"Required\"\n","import { z } from \"zod\"\n\nimport { defaultMaxLength, requiredMessage } from \"./schema-constants\"\nimport { getMaxLengthMessage } from \"./schema-utils\"\n\nexport const emailSchema = z\n .string()\n .trim()\n .min(1, { message: requiredMessage })\n .max(defaultMaxLength, { message: getMaxLengthMessage(defaultMaxLength) })\n .email({ message: \"Must be a properly formatted email address\" })\n","import { z } from \"zod\"\n\nimport { defaultMaxLength } from \"./schema-constants\"\nimport { getMaxLengthMessage } from \"./schema-utils\"\n\nexport const baseStringSchema = z\n .string()\n .trim()\n .max(defaultMaxLength, { message: getMaxLengthMessage(defaultMaxLength) })\n","import type { CustomErrorParams } from \"zod\"\n\nimport { getMinLengthMessage } from \"./schema-utils\"\nimport { baseStringSchema } from \"./string.schema\"\n\nconst minPasswordLength = 8\nexport const passwordRequirementsMessage = `Must be at least ${minPasswordLength} characters`\n\nexport const passwordSchema = baseStringSchema.min(minPasswordLength, {\n message: getMinLengthMessage(minPasswordLength),\n})\n\nexport const validatePasswordMatch = ({ confirmPassword, password }) =>\n confirmPassword === password\n\nexport const validatePasswordMatchParams: CustomErrorParams = {\n message: \"Passwords must match\",\n path: [\"confirmPassword\"],\n}\n","import { getMaxLengthMessage, requiredMessage } from \"@/schemas\"\nimport z from \"zod\"\n\nimport { contactDialogTypes } from \"./contact-dialog.types\"\n\nconst messageMaxLength = 500\n\nexport const contactSchema = z\n .object({\n message: z\n .string()\n .trim()\n .max(messageMaxLength, { message: getMaxLengthMessage(messageMaxLength) })\n .min(1, { message: requiredMessage }),\n type: z.enum(contactDialogTypes),\n })\n // Why partial? To allow the confirmPassword validation to display without having to complete the entire form.\n // See https://github.com/colinhacks/zod/issues/479#issuecomment-854822386\n .partial()\n\nexport type ContactSchema = z.infer\n","export const contactDialogTypes = [\"bps\", \"decarbonize\", \"support\"] as const\n\nexport type ContactDialogType = (typeof contactDialogTypes)[number]\n\nexport interface ContactDialogProps {\n onClose: () => void\n open: boolean\n type: ContactDialogType\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\n\nimport { Form, FormTextField, SubmitButton, useForm } from \"@/nzds\"\nimport { DialogTitle } from \"@/nzds/feedback/dialog-title/dialog-title\"\nimport { useSendContactEmail } from \"@/services/email/useSendContactEmail\"\n\nimport { Dialog, DialogActions, DialogContent, Typography } from \"@mui/material\"\n\nimport { If } from \"../if/if\"\nimport type {\n ContactDialogProps,\n ContactDialogType,\n} from \"./contact-dialog.types\"\nimport { contactSchema } from \"./contact.schema\"\nimport type { ContactSchema } from \"./contact.schema\"\n\nconst typeToTitle: Record = {\n bps: \"Request a Building Performance Standard\",\n decarbonize: \"Contact Us\",\n support: \"Contact Support\",\n} as const\n\nconst typeToDescription: Record = {\n bps: \"If you’d like to see a building performance standard that has not yet been built out by NZero, tell us below. We’re always looking to improve the reach of our product and your feedback is critical to make sure we’re delivering the most value to our users.\",\n decarbonize:\n \"If you have questions or would like to schedule a demo, please contact us below and an NZero team member will be happy to connect with you.\",\n support:\n \"Please let us know how we can assist you. Once submitted, someone from our team will reach out to you shortly.\",\n} as const\n\nexport const ContactDialog: FC = ({\n onClose,\n open,\n type,\n}) => {\n const [isSent, setIsSent] = useState(false)\n\n const defaultFormValues: ContactSchema = {\n message: \"\",\n type,\n }\n\n const form = useForm({\n schema: contactSchema,\n defaultValues: defaultFormValues,\n })\n\n const { sendContactEmail, sendContactEmailIsLoading } = useSendContactEmail({\n onError: (error) => {\n console.error(error)\n },\n onSuccess: () => {\n setIsSent(true)\n },\n })\n\n const handleClose = () => {\n onClose()\n }\n\n const handleSubmit: SubmitHandler = (\n value: ContactSchema\n ): void => {\n void sendContactEmail({ message: value.message, type: value.type })\n }\n\n const handleExited = (): void => {\n form.reset()\n setIsSent(false)\n }\n\n return (\n \n \n \n {typeToTitle[type]}\n \n \n aria-label={typeToTitle[type]}\n form={form}\n onSubmit={handleSubmit}\n >\n \n {typeToDescription[type]}\n \n fullWidth\n id=\"message\"\n label=\"\"\n maxRows={12}\n minRows={4}\n multiline\n name=\"message\"\n placeholder=\"Anything you’d like to share\"\n />\n \n \n \n Submit\n \n \n \n \n\n \n \n Submission Successful\n \n \n \n Your message has been successfully sent. Someone from the NZero team\n will reach out shortly!\n \n \n \n \n )\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-argument */\n\n/* eslint-disable @typescript-eslint/no-unsafe-return */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { useCallback, useEffect, useRef } from \"react\"\n\nexport function useCallbackRef any>(\n callback: T | undefined,\n deps: React.DependencyList = []\n) {\n const callbackRef = useRef(callback)\n\n useEffect(() => {\n callbackRef.current = callback\n })\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return useCallback(((...args) => callbackRef.current?.(...args)) as T, deps)\n}\n","/* eslint-disable @typescript-eslint/unbound-method */\nimport type React from \"react\"\nimport { useCallback, useId, useState } from \"react\"\n\nimport { useCallbackRef } from \"../use-callback-ref\"\n\nexport interface UseDisclosureProps {\n defaultIsOpen?: boolean\n id?: string\n isOpen?: boolean\n onClose?: () => void\n onOpen?: () => void\n}\n\ntype HTMLProps = React.HTMLAttributes\n\n/**\n * `useDisclosure` is a custom hook used to help handle common open, close, or toggle scenarios.\n * It can be used to control feedback component such as `Modal`, `AlertDialog`, `Drawer`, etc.\n * Borrowed from @chakra/ui\n *\n * @see Docs https://chakra-ui.com/docs/hooks/use-disclosure\n */\nexport function useDisclosure(props: UseDisclosureProps = {}) {\n const { onClose, onOpen, isOpen: isOpenProp, id: idProp } = props\n\n const handleOpen = useCallbackRef(onOpen)\n const handleClose = useCallbackRef(onClose)\n\n const [isOpenState, setIsOpenState] = useState(props.defaultIsOpen ?? false)\n\n const isOpen = isOpenProp ?? isOpenState\n\n const isControlled = isOpenProp !== undefined\n\n const uid = useId()\n const id = idProp ?? `disclosure-${uid}`\n\n const close = useCallback(() => {\n if (!isControlled) {\n setIsOpenState(false)\n }\n handleClose()\n }, [isControlled, handleClose])\n\n const open = useCallback(() => {\n if (!isControlled) {\n setIsOpenState(true)\n }\n handleOpen()\n }, [isControlled, handleOpen])\n\n const toggle = useCallback(() => {\n if (isOpen) {\n close()\n } else {\n open()\n }\n }, [isOpen, open, close])\n\n function getButtonProps(buttonProps: HTMLProps = {}): HTMLProps {\n return {\n ...buttonProps,\n \"aria-expanded\": isOpen,\n \"aria-controls\": id,\n onClick(event) {\n buttonProps.onClick?.(event)\n toggle()\n },\n }\n }\n\n function getDisclosureProps(disclosureProps: HTMLProps = {}): HTMLProps {\n return {\n ...disclosureProps,\n hidden: !isOpen,\n id,\n }\n }\n\n return {\n close,\n getButtonProps,\n getDisclosureProps,\n isControlled,\n isOpen,\n open,\n toggle,\n }\n}\n\nexport type UseDisclosureReturn = ReturnType\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { useEffect } from \"react\"\n\nimport { useCallbackRef } from \"../use-callback-ref\"\n\n/**\n * React hook that provides a declarative `setTimeout`\n *\n * @param callback the callback to run after specified delay\n * @param delay the delay (in ms)\n */\nexport function useTimeout(callback: (...args: any[]) => void, delay?: number) {\n const fn = useCallbackRef(callback)\n\n useEffect(() => {\n if (!delay) {\n return undefined\n }\n\n let timeoutId: number | null = null\n\n timeoutId = window.setTimeout(() => {\n fn()\n }, delay)\n\n return () => {\n if (timeoutId) {\n window.clearTimeout(timeoutId)\n }\n }\n }, [delay, fn])\n}\n","import { Country } from \"country-state-city\"\n\ninterface CountryOptions {\n label: string\n value: string\n}\n\n/**\n * Returns a list of countries as options for a select field, where\n * the label is the country name and the value is the ISO code.\n *\n * @example\n * import { useCountryOptions } from \"@/nzds/utils/useCountryOptions\"\n * const countryOptions = useCountryOptions()\n *\n */\nexport const useCountryOptions = (): CountryOptions[] =>\n Country.getAllCountries().map(({ name, isoCode }) => ({\n label: name,\n value: isoCode,\n }))\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport type { GtagData } from \"./use-gtag.types\"\n\nconst initGtag = (tagId: string): void => {\n window.dataLayer = window.dataLayer || []\n\n window.gtag = function () {\n // eslint-disable-next-line prefer-rest-params\n window.dataLayer.push(arguments)\n }\n\n window.gtag(\"js\", new Date())\n window.gtag(\"config\", tagId)\n}\n\nconst loadGtag = (): Promise => {\n return new Promise((resolve) => {\n const handleGtagLoad = (tagId: string) => {\n initGtag(tagId)\n resolve({\n gtag: window.gtag,\n })\n }\n\n // Add script element\n const tagId = \"G-ZXY1XWP5YD\"\n const scriptTagName = \"script\"\n const scriptElement = document.createElement(\"script\")\n const allScriptElements: HTMLScriptElement | undefined =\n document.getElementsByTagName(scriptTagName)[0]\n\n scriptElement.async = true\n scriptElement.src = \"https://www.googletagmanager.com/gtag/js?id=\" + tagId\n scriptElement.onload = () => {\n handleGtagLoad(tagId)\n }\n\n allScriptElements?.parentNode.insertBefore(scriptElement, allScriptElements)\n })\n}\n\n/**\n * The useGtag service/hook loads and provides gtag\n *\n * @returns GtagData\n * @example\n * const {\n * gtagData,\n * gtagisFetched,\n * } = useGtag()\n */\nexport const useGtag = () => {\n const query = useQuery({\n // Loading gtag (a third-party script) only needs to be done once\n cacheTime: Infinity,\n queryFn: loadGtag,\n queryKey: [ApiQueryName.Gtag],\n staleTime: Infinity,\n })\n\n return useRenameQueryResult(query, ApiQueryName.Gtag)\n}\n","import React, { useEffect, useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport { Button } from \"@/nzds\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { useGtag } from \"@/services/gtag\"\nimport { useCopyToClipboard } from \"@uidotdev/usehooks\"\n\nimport CheckRoundedIcon from \"@mui/icons-material/CheckRounded\"\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport ContentCopyRoundedIcon from \"@mui/icons-material/ContentCopyRounded\"\nimport ShareOutlinedIcon from \"@mui/icons-material/ShareOutlined\"\nimport {\n IconButton,\n Popover,\n Stack,\n TextField,\n Tooltip,\n Typography,\n} from \"@mui/material\"\n\nimport type { ShareButtonProps } from \"./share-button.types\"\n\nconst delay = (ms: number) =>\n new Promise((resolve) => {\n setTimeout(resolve, ms)\n })\n\nexport const ShareButton: FC = ({ title, iconButton }) => {\n const { gtagData } = useGtag()\n const { close, isOpen, open } = useDisclosure()\n const [copiedText, copyToClipboard] = useCopyToClipboard()\n const [anchorEl, setAnchorEl] = useState(null)\n const hasText = Boolean(copiedText)\n\n useEffect(() => {\n if (hasText) {\n void delay(2000).then(() => {\n void copyToClipboard(\"\")\n })\n }\n }, [hasText, copyToClipboard])\n\n const currentHref = window.location.href\n\n const handleCopyButtonClick = () => {\n void copyToClipboard(currentHref)\n\n gtagData?.gtag(\"event\", \"share\", {\n content_type: \"url\",\n item_id: currentHref,\n })\n }\n\n const handleOpen = (event: React.MouseEvent) => {\n open()\n setAnchorEl(event.currentTarget)\n }\n\n return (\n <>\n {iconButton ? (\n \n \n \n \n \n ) : (\n }\n variant=\"text\"\n >\n Share\n \n )}\n \n theme.typography.pxToRem(484)}>\n \n {title}\n \n \n \n \n \n \n \n \n {hasText ? : }\n \n \n \n \n \n \n )\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport { useLocation, useNavigate } from \"react-router-dom\"\n\nimport { useAuthorization, useOrganizationContext } from \"@/contexts\"\nimport type { Organization } from \"@/models/organization\"\n\nimport DomainIcon from \"@mui/icons-material/Domain\"\nimport Autocomplete from \"@mui/material/Autocomplete\"\nimport Box from \"@mui/material/Box\"\nimport ClickAwayListener from \"@mui/material/ClickAwayListener\"\nimport IconButton from \"@mui/material/IconButton\"\nimport InputAdornment from \"@mui/material/InputAdornment\"\nimport TextField from \"@mui/material/TextField\"\nimport Tooltip from \"@mui/material/Tooltip\"\n\ninterface Option {\n id: string\n label: string\n}\n\nconst createOptions = (organizations: Organization[] | undefined): Option[] => {\n const options: Option[] = organizations.map((organization) => ({\n id: organization.id,\n label: organization.name,\n }))\n\n return options\n}\n\nexport const ChangeOrganization: FC = () => {\n const navigate = useNavigate()\n const location = useLocation()\n const { authorizedOrganizations } = useAuthorization()\n const { organization } = useOrganizationContext()\n const [isInputOpen, setIsInputOpen] = useState(false)\n\n const handleChange = (_, selectedOrganization: Option) => {\n if (\n organization?.id &&\n selectedOrganization?.id &&\n organization.id !== selectedOrganization.id\n ) {\n const toUrl = location.pathname.replace(\n `/${organization.id}/`,\n `/${selectedOrganization.id}/`\n )\n\n navigate(toUrl)\n }\n }\n\n const handleClickAway = () => {\n setIsInputOpen(false)\n }\n\n const toggleInputVisibility = () => {\n setIsInputOpen((prev) => !prev)\n }\n\n return (\n authorizedOrganizations?.length > 1 && (\n \n \n {isInputOpen ? (\n option.id === value.id}\n onBlur={toggleInputVisibility}\n onChange={handleChange}\n openOnFocus\n options={createOptions(authorizedOrganizations)}\n noOptionsText=\"No organizations found\"\n renderInput={(params) => (\n \n \n \n ),\n }}\n placeholder=\"Change organization\"\n variant=\"outlined\"\n />\n )}\n size=\"small\"\n sx={{\n width: 248,\n }}\n />\n ) : (\n \n \n \n \n \n )}\n \n \n )\n )\n}\n","import type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport type { ISitePreview, ISitePreviewDto } from \"../../models/site\"\nimport Site from \"../../models/site\"\nimport { snakeCaseToCamelCase } from \"../../utils/formatters\"\n\nexport const sitePreviewResponseToFormattedData = (\n response: CollectionProxy\n): ISitePreview[] =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n snakeCaseToCamelCase(response.meta.stats.site_preview.map)\n .sort((siteNavItemA, siteNavItemB) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n siteNavItemA.siteName.localeCompare(siteNavItemB.siteName)\n )\n .map(\n (siteNavItem: ISitePreviewDto): ISitePreview => ({\n departmentName: siteNavItem.departmentName,\n id: siteNavItem.siteId.toString(),\n name: siteNavItem.siteName,\n electricityType: siteNavItem.electricityType,\n timezone: siteNavItem.timezone,\n topOrgUnitName: siteNavItem.topOrgUnitName,\n })\n )\n\nexport const fetchSitePreviewsByOrgId = ({\n orgId,\n}: {\n orgId: string\n}): Promise =>\n Site.where({\n organization_id: orgId,\n })\n .stats({ site_preview: \"map\" })\n .per(0)\n .all()\n .then(sitePreviewResponseToFormattedData)\n","import { ApiQueryName } from \"@/models/api\"\nimport type { ISitePreview } from \"@/models/site\"\nimport { useRenameQueryResult } from \"@/services/utils\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { fetchSitePreviewsByOrgId } from \"./useSitePreviewsUtils\"\n\nexport const useSitePreviews = (orgId: string | undefined) => {\n const queryKey = useQueryKey(ApiQueryName.SitePreviews, \"getMany\", orgId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchSitePreviewsByOrgId({ orgId }),\n enabled: !!orgId,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SitePreviews)\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport { useNavigate } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport type { ISitePreview } from \"@/models/site\"\nimport { useSitePreviews } from \"@/services/useSitePreviews/useSitePreviews\"\nimport { useUrl } from \"@/utils/url\"\n\nimport SearchIcon from \"@mui/icons-material/Search\"\nimport {\n Autocomplete,\n Box,\n ClickAwayListener,\n IconButton,\n InputAdornment,\n TextField,\n Tooltip,\n} from \"@mui/material\"\n\ninterface Option {\n id: string\n label: string\n}\n\nconst createSiteOptions = (sites: ISitePreview[] | undefined): Option[] => {\n const options: Option[] = sites.map((site) => ({\n id: site.id,\n label: site.name,\n }))\n\n return options\n}\n\nexport const SiteSearch: FC = () => {\n const navigate = useNavigate()\n const { sitesPath } = useUrl()\n const { organization } = useOrganizationContext()\n const { sitePreviewsData } = useSitePreviews(organization?.id)\n const [isSearchOpen, setIsSearchOpen] = useState(false)\n\n const handleClickAway = () => {\n setIsSearchOpen(false)\n }\n\n const handleSearchChange = (_, selectedSite: Option) => {\n navigate(`${sitesPath}/${selectedSite.id}`)\n }\n\n const toggleSearchInputVisibility = () => {\n setIsSearchOpen((prev) => !prev)\n }\n\n return (\n \n \n {isSearchOpen ? (\n (\n \n \n \n ),\n }}\n placeholder=\"Search sites\"\n variant=\"outlined\"\n />\n )}\n size=\"small\"\n sx={{\n width: 248,\n }}\n />\n ) : (\n \n \n \n \n \n )}\n \n \n )\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { User } from \"@/models/user\"\nimport { HttpError } from \"@/utils/api\"\nimport type { ApiQueryOptions } from \"@/utils/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\n\nconst placeholderUsers: User[] = [\n new User({ email: \"user1@placeholder.com\", id: \"1\", name: \"User 1\" }),\n new User({ email: \"user2@placeholder.com\", id: \"2\", name: \"User 2\" }),\n new User({ email: \"user3@placeholder.com\", id: \"3\", name: \"User 3\" }),\n]\n\nconst getUsers = async ({\n page,\n pageSize,\n sort,\n where,\n}: ApiQueryOptions = {}): Promise => {\n const users = await User.where(where ?? {})\n .order(sort ?? {})\n .page(page ?? 1)\n .per(pageSize ?? 50)\n .all()\n .then((response) => {\n return response.data as User[]\n })\n .catch((error: unknown) => {\n if (error instanceof Error) {\n throw new HttpError({\n errors: [],\n message: error.message,\n status: 0,\n })\n }\n\n return []\n })\n\n return users\n}\n\nexport const useUsers = (\n apiQueryOptions: ApiQueryOptions = {},\n queryOptions: UseQueryOptions = {}\n) => {\n const queryKey = createQueryKey(ApiQueryName.Users, \"getMany\", null, {\n apiQueryOptions,\n })\n\n const queryResult = useQuery({\n ...queryOptions,\n placeholderData: placeholderUsers,\n queryFn: async () => getUsers(apiQueryOptions),\n queryKey,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.Users)\n}\n","import React, { useCallback, useState } from \"react\"\nimport type { ChangeEvent, FC } from \"react\"\n\nimport type { User } from \"@/models/user\"\nimport { DialogTitle } from \"@/nzds/feedback/dialog-title/dialog-title\"\nimport { useUsers } from \"@/services/user/use-users\"\nimport { useDebounce } from \"@uidotdev/usehooks\"\n\nimport SearchIcon from \"@mui/icons-material/Search\"\nimport Button from \"@mui/material/Button\"\nimport Dialog from \"@mui/material/Dialog\"\nimport DialogActions from \"@mui/material/DialogActions\"\nimport DialogContent from \"@mui/material/DialogContent\"\nimport InputAdornment from \"@mui/material/InputAdornment\"\nimport List from \"@mui/material/List\"\nimport ListItem from \"@mui/material/ListItem\"\nimport ListItemButton from \"@mui/material/ListItemButton\"\nimport ListItemText from \"@mui/material/ListItemText\"\nimport Skeleton from \"@mui/material/Skeleton\"\nimport TextField from \"@mui/material/TextField\"\nimport Typography from \"@mui/material/Typography\"\n\nimport type { UserSelectionDialogProps } from \"./user-selection-dialog.types\"\n\nconst itemHeight = 60\nconst minCharacterCount = 3\nconst minSearchText = `Enter at least ${minCharacterCount} characters`\nconst notFoundText = \"No users found\"\nconst placeholderText = \"Search users by first name\"\n\nexport const UserSelectionDialog: FC = ({\n confirmText = \"OK\",\n description,\n onClose,\n onConfirm,\n open,\n title,\n}) => {\n const [searchText, setSearchText] = useState(\"\")\n const debouncedSearchText = useDebounce(searchText, 250)\n const [selectedUser, setSelectedUser] = useState()\n const { usersData, usersIsFetching, usersIsPlaceholderData } = useUsers(\n {\n pageSize: 50,\n sort: { first_name: \"asc\" },\n where: { first_name: debouncedSearchText },\n },\n {\n enabled: debouncedSearchText.length > 2,\n }\n )\n\n const reset = useCallback((): void => {\n setSearchText(\"\")\n setSelectedUser(undefined)\n }, [setSearchText, setSelectedUser])\n\n const handleClose = useCallback((): void => {\n onClose()\n reset()\n }, [onClose, reset])\n\n const handleConfirm = useCallback((): void => {\n if (selectedUser) {\n onConfirm(selectedUser)\n reset()\n }\n }, [onConfirm, reset, selectedUser])\n\n const handleInputChange = useCallback(\n (event: ChangeEvent) => {\n setSearchText(event.target.value)\n },\n []\n )\n\n const handleListItemClick = (user: User): void => {\n setSelectedUser(user)\n }\n\n return (\n \n \n {title}\n \n \n {description && (\n \n {description}\n \n )}\n 0 &&\n debouncedSearchText.length < minCharacterCount\n }\n fullWidth\n helperText={minSearchText}\n InputProps={{\n inputProps: {\n \"aria-label\": \"Search users\",\n },\n startAdornment: (\n \n \n \n ),\n }}\n onChange={handleInputChange}\n placeholder={placeholderText}\n />\n \n {debouncedSearchText.length >= minCharacterCount &&\n usersData?.length === 0 && (\n \n \n \n )}\n {usersData?.map((user) => {\n if (usersIsFetching && usersIsPlaceholderData) {\n return \n }\n\n if (!usersIsPlaceholderData) {\n return (\n {\n handleListItemClick(user)\n }}\n selected={user.id === selectedUser?.id}\n >\n \n \n )\n }\n })}\n \n \n \n \n \n {confirmText}\n \n \n \n )\n}\n","import type { SxProps } from \"@mui/material/styles\"\n\nexport const singleLineEllipsisStyles: SxProps = {\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { useTranslation } from \"react-i18next\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { ContactDialog } from \"@/components/contact-dialog\"\nimport { If } from \"@/components/if/if\"\nimport { UserSelectionDialog } from \"@/components/user-selection-dialog\"\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { Translation } from \"@/models/i18n\"\nimport { RootPath } from \"@/models/route\"\nimport type { User } from \"@/models/user\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { singleLineEllipsisStyles } from \"@/styles/utils\"\n\nimport {\n Avatar,\n Box,\n Divider,\n IconButton,\n Link,\n Menu,\n MenuItem,\n Typography,\n useTheme,\n} from \"@mui/material\"\n\nexport const UserMenu: FC = () => {\n const theme = useTheme()\n const { t } = useTranslation()\n const [menuAnchorEl, setMenuAnchorEl] = React.useState(\n null\n )\n const isMenuOpen = Boolean(menuAnchorEl)\n const { activeUser, isConsultantUser, isFreeUser, setActiveUser, signOut } =\n useAuthentication()\n const { organization } = useOrganizationContext()\n const { isFeatureEnabled } = useFeature()\n\n const isImpersonateUserEnabled = isFeatureEnabled(\n FeatureFlags.ADMIN_IMPERSONATE,\n null\n )\n\n const {\n close: contactDialogClose,\n isOpen: contactDialogIsOpen,\n open: contactDialogOpen,\n } = useDisclosure()\n\n const {\n close: impersonateUserDialogClose,\n isOpen: impersonateUserDialogIsOpen,\n open: impersonateUserDialogOpen,\n } = useDisclosure()\n\n const getUserInitials = (userName: string): string => {\n if (!userName) {\n return \"\"\n }\n\n const name = userName.split(\" \")\n return `${name[0][0]}${name[1][0]}`\n }\n\n const closeMenu = (): void => {\n setMenuAnchorEl(null)\n }\n\n const openMenu = (element: HTMLElement): void => {\n setMenuAnchorEl(element)\n }\n\n const handleAvatarClick = (event: React.MouseEvent): void => {\n openMenu(event.currentTarget)\n }\n\n const handleImpersonateUserDialogConfirm = (user: User): void => {\n setActiveUser(user)\n impersonateUserDialogClose()\n }\n\n const handleSignOutClick = () => {\n void signOut()\n }\n\n const userInitials = getUserInitials(activeUser?.name ?? \"\")\n\n return (\n <>\n \n \n {userInitials}\n \n \n \n \n \n \n \n \n {activeUser?.name}\n \n \n {organization?.name}\n \n \n \n \n\n \n \n \n Impersonate User\n \n \n {!isConsultantUser && !isFreeUser && (\n \n \n {t(Translation.Settings.SettingsTitle)}\n \n \n )}\n \n Contact Support\n \n {activeUser?.admin && (\n \n Administration Settings\n \n )}\n \n Sign Out\n \n \n\n \n\n \n \n )\n}\n","import React from \"react\"\nimport type { ReactNode } from \"react\"\nimport type { LinkProps } from \"react-router-dom\"\nimport { Link } from \"react-router-dom\"\n\nimport { ContactDialog } from \"@/components/contact-dialog\"\nimport { useAuthentication } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport { Box, Button, Divider, IconButton, Typography } from \"@mui/material\"\n\nimport { ShareButton } from \"../../share-button/share-button\"\nimport { ChangeOrganization } from \"../change-organization\"\nimport { SiteSearch } from \"../site-search/site-search\"\nimport { UserMenu } from \"../user-menu\"\n\ninterface PageHeaderProps {\n actions?: ReactNode\n backLink?: LinkProps\n navigation?: ReactNode\n title: string\n}\n\nexport const PageHeader = ({\n title,\n actions,\n navigation,\n backLink,\n}: PageHeaderProps) => {\n const { isFreeUser } = useAuthentication()\n\n const {\n close: contactDialogClose,\n isOpen: contactDialogIsOpen,\n open: contactDialogOpen,\n } = useDisclosure()\n\n return (\n \n \n \n {backLink ? (\n \n \n \n ) : null}\n \n {title}\n \n \n \n {isFreeUser ? (\n <>\n \n Contact Us\n \n \n \n ) : null}\n\n \n \n \n \n \n \n {navigation ? <>{navigation} : null}\n \n {actions ? (\n <>\n \n {actions}\n \n \n \n ) : null}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { camelCase } from \"lodash-es\"\n\nimport { Divider, Stack, Typography } from \"@mui/material\"\n\nimport type { SectionHeaderProps } from \"./section-header.types\"\n\nexport const SectionHeader: FC = ({\n title,\n divider = true,\n actions,\n sx,\n}) => (\n \n \n \n {title}\n \n {actions ?? null}\n \n {divider ? : null}\n \n)\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Box, Paper } from \"@mui/material\"\n\nimport { SectionHeader } from \"../section-header/section-header\"\nimport type { PageCardProps } from \"./page-card.types\"\n\nexport const PageCard: FC = ({\n title,\n children,\n sx,\n ...rest\n}) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {title ? (\n \n \n \n ) : null}\n {children}\n \n)\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box, Stack } from \"@mui/material\"\n\nimport type { PageProps } from \"./page.types\"\n\nexport const Page: FC = ({ children, fullHeight, ...rest }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {fullHeight ? (\n \n \n {children}\n \n \n ) : (\n children\n )}\n \n)\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\nimport { useData } from \"@/services/data\"\n\nimport { Page404 } from \"../../nav/page404\"\nimport type { ConsultantDataGuardProps } from \"./consultant-data-guard.types\"\n\n/**\n * A guard that displays a 404 UI when the user is a consultant and no data is available\n */\nexport const ConsultantDataGuard: FC = ({\n children,\n}) => {\n const { isConsultantUser } = useAuthentication()\n const { dataHasData } = useData()\n\n // Hide UI from consultants\n return <>{isConsultantUser && !dataHasData ? : children}\n}\n","import React from \"react\"\nimport type { FC, ReactNode } from \"react\"\n\nimport { useUserAccess } from \"@/services/user\"\n\nimport { Page404 } from \"../../nav/page404\"\n\ninterface LimitedAccessUserGuardProps {\n children: ReactNode\n}\n\n/**\n * A guard that displays a 404 UI when the user is a limited access user\n */\nexport const LimitedAccessUserGuard: FC = ({\n children,\n}) => {\n const { isLimitedAccessUser } = useUserAccess()\n\n if (isLimitedAccessUser === undefined) {\n return null\n }\n\n return isLimitedAccessUser ? : children\n}\n","export enum FONT_WEIGHT {\n light = 300,\n normal = 400,\n bold = 700,\n}\n/**\n * @deprecated - use theme typography instead (e.g. \"h1\", \"caption\", \"dataLabel\", etc.)\n */\nexport enum TYPOGRAPHY_VARIANT {\n body1 = \"body1\",\n body2 = \"body2\",\n caption = \"caption\",\n dataLabel = \"dataLabel\",\n h1 = \"h1\",\n h2 = \"h2\",\n h3 = \"h3\",\n h4 = \"h4\",\n h5 = \"h5\",\n h6 = \"h6\",\n hero = \"hero\",\n}\n","import type { Organization } from \"@/models/organization\"\nimport type { Schemas } from \"@/services/types\"\nimport { httpClient } from \"@/utils/api\"\nimport type { StreamingAdapterObserver } from \"@nlux/react\"\nimport { SSE } from \"sse.js\"\nimport type { ReadyStateEvent, SSEvent } from \"sse.js\"\n\nimport type { Thread } from \"../../assistant.types\"\nimport type { SSEMessageData } from \"./assistant-utils.types\"\n\n/** Gets a file encoded in base64 */\nconst getBase64EncodedFile = async (\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n id: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n organization_id: Organization[\"id\"]\n): Promise => {\n // Image is hardcoded until Rails API is implemented\n const response = await Promise.resolve({\n data: {\n content:\n \"PHN2ZyB3aWR0aD0iMTEyIiBoZWlnaHQ9IjY1IiB2aWV3Qm94PSIwIDAgMTEyIDY1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEyIDI2QzExMiAzLjc0NjA0IDc5LjAxNjEgMCA1NiAwVjEzQzMyLjk4MzkgMTMgMCAxNi43NDYgMCAzOUMwIDYxLjI1NCAzMi45ODM5IDY1IDU2IDY1VjUyQzc5LjAxNjEgNTIgMTEyIDQ4LjI1NCAxMTIgMjZaTTU2IDUyVjM5Qzc2Ljk2MTEgMzkgMTA3IDM3LjEyNyAxMDcgMjZDMTA3IDE0Ljg3MyA3Ni45NjExIDEzIDU2IDEzVjI2QzM1LjAzODkgMjYgNSAyNy44NzMgNSAzOUM1IDUwLjEyNyAzNS4wMzg5IDUyIDU2IDUyWiIgZmlsbD0iIzE4MTgxQiIvPgo8L3N2Zz4K\",\n },\n })\n\n // const response = await httpClient.get(\n // `/api/v1/recommendations/assistant_files/${id}`,\n // {\n // params: {\n // organization_id,\n // },\n // }\n // )\n\n return response.data.content\n}\n\ntype CreateThreadParams = Omit\n\n/**\n * Initializes an assistant thread and returns prior messages\n */\nexport const createThread = async (\n params: CreateThreadParams\n): Promise => {\n const response = await httpClient.post(\n \"/api/v1/recommendations/assistant/threads\",\n params\n )\n\n return response.data\n}\n\ntype SendMessageParams = Omit<\n Schemas[\"AssistantRequest\"],\n \"organization_name\" | \"version\"\n>\n\n/**\n * Sends a message to the assistant which streams the response using server-sent events\n */\nexport const sendMessage = (\n observer: StreamingAdapterObserver,\n params: SendMessageParams\n): void => {\n const sse = new SSE(\"/api/v1/recommendations/assistant/conversation\", {\n headers: { \"Content-Type\": \"application/json\" },\n payload: JSON.stringify(params),\n })\n\n sse.addEventListener(\"message\", async (e: SSEvent): Promise => {\n let data: SSEMessageData | undefined\n\n try {\n data = (\n JSON.parse(e.data) as {\n data: SSEMessageData | undefined\n }\n ).data\n } catch (error) {\n const message = \"Failed to parse assistant conversation response\"\n\n console.error(message)\n observer.error(new Error(message))\n }\n\n if (data?.delta?.content?.length) {\n for (const content of data.delta.content) {\n if (content.type === \"image_file\" && content.image_file) {\n try {\n const image = await getBase64EncodedFile(\n content.image_file.file_id,\n params.organization_id\n )\n\n // Markdown reference: `![${content.image_file.detail ?? \"\"}](data:image/svg+xml;base64,${image})`\n // HTML reference: `
\"${content.image_file.detail
`\n observer.next(\n `
\"${content.image_file.detail
`\n )\n } catch (error) {\n const message = \"Failed to request image\"\n\n console.error(message)\n observer.error(new Error(message))\n }\n }\n\n if (content.type === \"text\" && content.text?.value) {\n observer.next(content.text.value)\n }\n }\n }\n })\n\n sse.addEventListener(\"readystatechange\", (e: ReadyStateEvent) => {\n if (e.readyState === sse.CLOSED) {\n sse.close()\n observer.complete()\n }\n })\n\n sse.addEventListener(\"error\", () => {\n const message = \"Failed to stream assistant conversation\"\n\n console.error(message)\n observer.error(new Error(message))\n })\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport nzeroSymbol from \"@/assets/images/nzero-symbol.svg\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { AiChat, AiChatUI, useAsStreamAdapter } from \"@nlux/react\"\nimport type { StreamingAdapterObserver } from \"@nlux/react\"\nimport \"@nlux/themes/unstyled.css\"\n\nimport BarChartIcon from \"@mui/icons-material/BarChart\"\nimport FormatListNumberedIcon from \"@mui/icons-material/FormatListNumbered\"\nimport TrendingUpIcon from \"@mui/icons-material/TrendingUp\"\nimport { CircularProgress } from \"@mui/material\"\n\nimport { createThread, sendMessage } from \"../../services/assistant\"\nimport \"./assistant-chat-theme.css\"\nimport type { AssistantChatProps } from \"./assistant-chat.types\"\n\nconst conversationStarters = [\n {\n icon: ,\n label: \"Which buildings have the highest combined EUI?\",\n prompt: \"What are the 5 buildings with the highest combined EUI?\",\n },\n {\n icon: ,\n label: \"Which buildings have increasing energy consumption?\",\n prompt:\n \"What buildings have had the highest year over year increase in energy consumption?\",\n },\n {\n icon: ,\n label: \"Rank my buildings by GHG emissions.\",\n prompt:\n \"Rank my buildings in order from highest GHG emissions to lowest GHG emissions.\",\n },\n]\n\nexport const AssistantChat: FC = ({\n api,\n events,\n initialConversation,\n onThreadCreate,\n thread,\n}) => {\n const { organization } = useOrganizationContext()\n\n const assistantAdapter = useAsStreamAdapter(\n (message: string, observer: StreamingAdapterObserver): void => {\n if (!thread) {\n void createThread({\n organization_id: organization?.id ?? \"\",\n specialty: \"two-layer\",\n }).then((response) => {\n onThreadCreate(response)\n sendMessage(observer, {\n assistant_id: response.assistantId,\n messages: [\n {\n content: message,\n role: \"user\",\n },\n ],\n organization_id: organization?.id ?? \"\",\n specialty: \"two-layer\",\n thread_id: response.threadId,\n })\n })\n } else {\n sendMessage(observer, {\n assistant_id: thread?.assistantId ?? \"\",\n messages: [\n {\n content: message,\n role: \"user\",\n },\n ],\n organization_id: organization?.id ?? \"\",\n specialty: \"two-layer\",\n thread_id: thread?.threadId ?? \"\",\n })\n }\n },\n [organization, thread]\n )\n\n return (\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport {\n List,\n ListItemButton,\n ListItemText,\n Skeleton,\n Typography,\n} from \"@mui/material\"\n\nimport type { ThreadsProps } from \"./threads.types\"\n\nexport const Threads: FC = ({\n threads,\n isLoading,\n onThreadClick,\n selectedThread,\n}) => {\n return isLoading || (!isLoading && threads?.length) ? (\n \n {threads?.map((thread) => (\n {\n if (isLoading) {\n return\n }\n\n onThreadClick(thread)\n }}\n selected={thread.threadId === selectedThread?.threadId}\n sx={{ borderRadius: 2 }}\n >\n \n )\n }\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n }}\n />\n \n ))}\n \n ) : (\n No conversations\n )\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport type { Schemas } from \"@/services/types\"\nimport { useRenameQueryResult } from \"@/services/utils\"\nimport { createQueryKey } from \"@/services/utils/createQueryKey\"\nimport { httpClient } from \"@/utils/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\n\nimport type { Thread } from \"../../assistant.types\"\n\n// \"specialty\" should be optional\nexport type GetThreadsParams = Omit<\n Schemas[\"ThreadRequest\"],\n \"assistant_user_id\"\n>\n\nconst placeholderThread: Thread = {\n assistantId: \"1\",\n messages: [\n {\n content: \"\",\n role: \"user\",\n },\n {\n content: \"\",\n role: \"assistant\",\n },\n ],\n organizationId: \"1\",\n specialty: \"default\",\n status: \"active\",\n threadId: \"1\",\n userId: \"1\",\n}\n\nconst placeholderThreads: Thread[] = [\n {\n ...placeholderThread,\n threadId: \"1\",\n },\n {\n ...placeholderThread,\n threadId: \"2\",\n },\n {\n ...placeholderThread,\n threadId: \"3\",\n },\n {\n ...placeholderThread,\n threadId: \"4\",\n },\n {\n ...placeholderThread,\n threadId: \"5\",\n },\n]\n\n/**\n * Gets a list of threads\n */\nexport const getThreads = async (\n params: GetThreadsParams\n): Promise => {\n try {\n const response = await httpClient.get(\n \"/api/v1/recommendations/assistant/threads\",\n {\n params,\n }\n )\n\n return response.data\n } catch {\n console.error(\"Failed to fetch threads\")\n return []\n }\n}\n\ninterface UseThreadsOptions {\n params: GetThreadsParams\n useQueryOptions?: Omit, \"queryFn\" | \"queryKey\">\n}\n\n/**\n * Gets threads\n */\nexport const useThreads = (options: UseThreadsOptions) => {\n const queryKey = createQueryKey(\n ApiQueryName.AssistantThreads,\n \"getMany\",\n null,\n options.params\n )\n\n const queryResult = useQuery({\n ...options.useQueryOptions,\n keepPreviousData: true,\n placeholderData: placeholderThreads,\n queryKey,\n queryFn: async () => getThreads(options.params),\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.AssistantThreads)\n}\n","import React, { useCallback, useEffect, useState } from \"react\"\nimport type { FC } from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport { useNavigate, useParams } from \"react-router-dom\"\n\nimport { DataGuard } from \"@/components/data-guard\"\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { Page404 } from \"@/components/nav/page404\"\nimport { PageHeader } from \"@/components/nav/page-header/page-header\"\nimport { PageCard } from \"@/components/page-card/page-card\"\nimport { Page } from \"@/components/page/page\"\nimport { ConsultantDataGuard } from \"@/components/route/consultant-data-guard\"\nimport { LimitedAccessUserGuard } from \"@/components/route/limited-access-user-guard\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport { RootPath } from \"@/models/route\"\nimport { FONT_WEIGHT } from \"@/models/typography\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useActiveOrganizationId } from \"@/services/organization\"\nimport { createQueryKey } from \"@/services/utils/createQueryKey\"\nimport { useAiChatApi } from \"@nlux/react\"\nimport type { ChatItem } from \"@nlux/react\"\nimport { useQueryClient } from \"@tanstack/react-query\"\n\nimport AddIcon from \"@mui/icons-material/Add\"\nimport { Box, Button, Paper, Skeleton, Stack, Typography } from \"@mui/material\"\n\nimport type { Message, Thread } from \"../../assistant.types\"\nimport { AssistantChat } from \"../../components/assistant-chat\"\nimport { Threads } from \"../../components/threads\"\nimport { useThreads } from \"../../services/assistant/use-threads\"\nimport type { GetThreadsParams } from \"../../services/assistant/use-threads\"\n\nconst convertMessagesToChatItems = (\n messages: Message[] | undefined\n): ChatItem[] | undefined => {\n return messages?.map((message) => ({\n message: message.content,\n role: message.role as ChatItem[\"role\"],\n }))\n}\n\nexport const AssistantIndex: FC = () => {\n const queryClient = useQueryClient()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const { activeOrganizationId } = useActiveOrganizationId()\n const navigate = useNavigate()\n const { threadId } = useParams<{ threadId: string | undefined }>()\n\n const assistantApi = useAiChatApi()\n const [activeThread, setActiveThread] = useState(null)\n const [initialConversation, setInitialConversation] = useState<\n ChatItem[] | undefined\n >(undefined)\n\n const { assistantThreadsData, assistantThreadsIsFetched } = useThreads({\n params: {\n organization_id: organization?.id ?? \"\",\n },\n })\n\n // Set active thread state when :threadId is present in the URL\n useEffect(() => {\n if (threadId && threadId !== activeThread?.threadId) {\n const thread = assistantThreadsData?.find((t) => t.threadId === threadId)\n\n if (thread) {\n setInitialConversation(convertMessagesToChatItems(thread.messages))\n setActiveThread(thread)\n }\n }\n }, [\n activeThread?.threadId,\n assistantApi.conversation,\n assistantThreadsData,\n threadId,\n ])\n\n // Invalidate threads query when a new message stream is started\n // to display the new thread message/title in the list\n const updateThreads = useCallback((): void => {\n const threadsParams: GetThreadsParams = {\n organization_id: activeOrganizationId ?? \"\",\n }\n\n const threadsQueryKey = createQueryKey(\n ApiQueryName.AssistantThreads,\n \"getMany\",\n null,\n threadsParams\n )\n\n void queryClient.invalidateQueries(threadsQueryKey)\n }, [activeOrganizationId, queryClient])\n\n const handleNewThreadButtonClick = useCallback(() => {\n updateThreads()\n setInitialConversation(undefined)\n setActiveThread(null)\n assistantApi.conversation.reset()\n navigate(`/${activeOrganizationId}/${RootPath.Assistant}`)\n }, [activeOrganizationId, assistantApi.conversation, navigate, updateThreads])\n\n const handleThreadClick = useCallback(\n (thread: Thread) => {\n navigate(\n `/${activeOrganizationId}/${RootPath.Assistant}/${thread.threadId}`\n )\n },\n [activeOrganizationId, navigate]\n )\n\n // Invalidate threads query when a new thread is created\n // to display the new thread in the list\n const handleThreadCreate = useCallback(\n (thread: Thread) => {\n updateThreads()\n navigate(\n `/${activeOrganizationId}/${RootPath.Assistant}/${thread.threadId}`\n )\n },\n [activeOrganizationId, navigate, updateThreads]\n )\n\n return isFeatureEnabled(FeatureFlags.ASSISTANT, organization) ? (\n \n \n \n \n \n \n \n \n \n }\n >\n New Conversation\n \n ({\n backgroundColor: theme.palette.grey[50],\n display: \"flex\",\n flex: 1,\n flexDirection: \"column\",\n px: 1,\n py: 2,\n })}\n >\n \n \n Conversations\n \n {/* Must have flex-basis for scrolling */}\n \n \n \n \n \n \n \n \n {!assistantThreadsIsFetched ? (\n \n ) : (\n \n )}\n \n ({\n alignSelf: \"center\",\n color: theme.palette.grey[300],\n margin: \"0 !important\",\n })}\n variant=\"caption\"\n >\n The NZero Assistant can make mistakes. Check important\n info.\n \n \n \n \n \n \n \n \n \n ) : (\n \n )\n}\n","import type { RouteObject } from \"react-router-dom\"\n\nimport { AssistantPath, RootPath } from \"@/models/route\"\n\nimport { AssistantIndex, AssistantRoot } from \"./pages\"\n\nexport const assistantRoutes: RouteObject[] = [\n {\n path: RootPath.Assistant,\n Component: AssistantRoot,\n children: [\n {\n index: true,\n Component: AssistantIndex,\n },\n {\n path: AssistantPath.Thread,\n Component: AssistantIndex,\n },\n ],\n },\n]\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport { Outlet } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { LimitedAccessUserGuard } from \"@/components/route/limited-access-user-guard\"\n\nexport const AssistantRoot: FC = () => {\n return (\n \n \n \n \n \n )\n}\n","import { DateTime, Interval } from \"luxon\"\n\n/**\n * Gets the most recent month date range within the bounds\n *\n * @param bounds - The date range to verify against\n * @returns - The most recent month date range within the bounds\n * @example\n * getMostRecentMonthDateRange({\n * start: DateTime.fromISO(\"2021-01-01\"),\n * end: DateTime.fromISO(\"2022-12-31\"),\n * })\n */\nexport const getMostRecentMonthDateRange = (bounds: Interval): Interval => {\n if (!bounds.isValid) {\n return Interval.invalid(\"Invalid bounds\")\n }\n\n const mostRecentMonthStart = bounds.end.startOf(\"month\")\n\n const mostRecentMonthEnd = mostRecentMonthStart.endOf(\"month\")\n const mostRecentMonthDateRange = Interval.fromDateTimes(\n mostRecentMonthStart,\n mostRecentMonthEnd\n )\n\n return mostRecentMonthDateRange.intersection(bounds)\n}\n\n/**\n * Gets the most recent previous year date range within the bounds\n *\n * @param bounds - The date range to verify against\n * @returns - The most recent previous year date range within the bounds\n * @example\n * getMostRecentPreviousYearDateRange({\n * start: DateTime.fromISO(\"2013-03-01\"),\n * end: DateTime.fromISO(\"2022-12-31\"),\n * })\n */\nexport const getMostRecentPreviousYearDateRange = (\n bounds: Interval\n): Interval => {\n if (!bounds.isValid) {\n return Interval.invalid(\"Invalid bounds\")\n }\n\n const mostRecentPreviousYearStart = DateTime.min(\n DateTime.now().minus({ year: 1 }).startOf(\"year\"),\n bounds.end.startOf(\"year\")\n )\n\n bounds.end.minus({ year: 1 }).startOf(\"year\")\n const mostRecentPreviousYearEnd = mostRecentPreviousYearStart.endOf(\"year\")\n const mostRecentPreviousYearDateRange = Interval.fromDateTimes(\n mostRecentPreviousYearStart,\n mostRecentPreviousYearEnd\n )\n\n return mostRecentPreviousYearDateRange.intersection(bounds)\n}\n\n/**\n * Determines if the date range is valid and within the bounds\n *\n * @param dateRange - The date range to verify\n * @param bounds - The date range to verify against\n * @returns - Whether the date range is valid and within the bounds\n * @example\n * isValidDateTimeRange(dateRange, bounds)\n */\nexport const isValidDateTimeRange = (\n dateRange: Interval,\n bounds: Interval\n): boolean => {\n return dateRange.isValid && bounds.engulfs(dateRange)\n}\n","import { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\nimport { Interval } from \"luxon\"\n\ninterface UseSaveDateRangeProps {\n id: string\n}\n\ninterface UseSaveDateRangeValue {\n saveDateRange: (dateRange: Interval) => void\n savedDateRange: Interval | null\n}\n\n/**\n * Manages the date range in the persistence layer.\n *\n * @example\n * const {\n * savedDateRange,\n * saveDateRange,\n * } = useSaveDateRange({\n * id: \"sitesOverviewDateRange\",\n * })\n */\nexport const useSaveDateRange = ({\n id,\n}: UseSaveDateRangeProps): UseSaveDateRangeValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(() => [id], [id])\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: async (): Promise<{ end: string; start: string } | null> =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n select: (rawData) =>\n rawData ? Interval.fromISO(`${rawData.start}/${rawData.end}`) : null,\n staleTime: Infinity,\n })\n\n const saveDateRange = useCallback(\n (dateRange: Interval) => {\n queryClient.setQueryData(queryKey, {\n start: dateRange.start.toISODate(),\n end: dateRange.end.toISODate(),\n })\n void queryClient.invalidateQueries(queryKey)\n },\n [queryClient, queryKey]\n )\n\n return {\n saveDateRange,\n savedDateRange: data,\n }\n}\n","import { useCallback } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { buildUrlSearchParamsString } from \"@/utils/url/url-utils\"\nimport { Interval } from \"luxon\"\n\ninterface UseSearchParamsDateRangeValue {\n isDateRangeInSearchParams: boolean\n searchParamsDateRange: Interval | undefined\n setSearchParamsDateRange: (\n dateRange: Interval,\n options?: SetSearchParamsDateRangeOptions\n ) => void\n}\n\ninterface SetSearchParamsDateRangeOptions {\n replace?: boolean\n}\n\n/**\n * Manages the date range value in the search params.\n *\n * @example\n * const {\n * isDateRangeInSearchParams,\n * searchParamsDateRange,\n * setSearchParamsDateRange\n * } = useSearchParamsDateRange()\n */\nexport const useSearchParamsDateRange = (): UseSearchParamsDateRangeValue => {\n const [searchParams, setSearchParams] = useSearchParams()\n\n const searchParamsStart: string | null = searchParams.get(\"start\")\n const searchParamsEnd: string | null = searchParams.get(\"end\")\n\n const isDateRangeInSearchParams =\n Boolean(searchParamsStart) && Boolean(searchParamsEnd)\n const searchParamsDateRange: Interval | undefined = isDateRangeInSearchParams\n ? Interval.fromISO(`${searchParamsStart}/${searchParamsEnd}`)\n : undefined\n\n const setSearchParamsDateRange = useCallback(\n (dateRange: Interval, options: SetSearchParamsDateRangeOptions = {}) => {\n const { replace = false } = options\n\n const newSearchParamsString = buildUrlSearchParamsString(\n {\n start: dateRange.start.toISODate(),\n end: dateRange.end.toISODate(),\n },\n searchParams\n )\n\n setSearchParams(newSearchParamsString, { replace })\n },\n [searchParams, setSearchParams]\n )\n\n return {\n isDateRangeInSearchParams,\n searchParamsDateRange,\n setSearchParamsDateRange,\n }\n}\n","import { useCallback, useEffect, useMemo } from \"react\"\n\nimport { Interval } from \"luxon\"\n\nimport { isValidDateTimeRange } from \"../date\"\nimport { useSaveDateRange } from \"./use-save-date-range\"\nimport { useSearchParamsDateRange } from \"./use-search-params-date-range\"\n\ninterface UseDateRangeProps {\n /** The valid bounds of the date range */\n bounds: Interval | undefined\n\n /** The fallback date range to use if the current date range is invalid */\n fallbackDateRange?: Interval\n\n /** A unique id to identify the date range for purposes of saving */\n id: string\n}\n\ninterface UseDateRangeValue {\n /** The date range's date range */\n dateRange: Interval\n\n /** Sets the year in both the url and it's persistence layer */\n setDateRange: (value: Interval) => void\n}\n\n/**\n * Manages the date range value that powers a UI including search params,\n * saving the date range, validity, and default value.\n *\n * @example\n * const {\n * dateRange,\n * setDateRange\n * } = useDateRange({\n * id: \"sitesOverviewDateRange\",\n * bounds: Interval.fromDateTimes(\n * DateTime.fromISO(\"2024-01-01\"),\n * DateTime.fromISO(\"2024-12-31\"),\n * )\n * })\n */\nexport const useDateRange = ({\n id,\n bounds,\n fallbackDateRange,\n}: UseDateRangeProps): UseDateRangeValue => {\n const {\n isDateRangeInSearchParams,\n searchParamsDateRange,\n setSearchParamsDateRange,\n } = useSearchParamsDateRange()\n const { saveDateRange, savedDateRange } = useSaveDateRange({ id })\n\n const defaultFallbackDateRange: Interval = useMemo(() => {\n if (!bounds?.isValid) {\n return Interval.invalid(\"Invalid bounds\")\n }\n\n return Interval.fromDateTimes(\n bounds.end.startOf(\"year\"),\n bounds.end.endOf(\"month\")\n ).intersection(\n Interval.fromDateTimes(\n bounds.start.startOf(\"month\"),\n bounds.end.endOf(\"month\")\n )\n )\n }, [bounds])\n\n const savedFallbackDateRange = savedDateRange?.isValid\n ? savedDateRange\n : Interval.invalid(\"Invalid saved date range\")\n\n const dateRange: Interval = searchParamsDateRange?.isValid\n ? searchParamsDateRange\n : savedFallbackDateRange\n\n const setDateRange = useCallback(\n (value: Interval): void => {\n setSearchParamsDateRange(value)\n saveDateRange(value)\n },\n [saveDateRange, setSearchParamsDateRange]\n )\n\n // Handle missing search params and invalid date range\n useEffect(() => {\n if (bounds?.isValid) {\n let newDateRange: Interval = dateRange\n\n // Use fallback date range if range is invalid\n if (!isValidDateTimeRange(dateRange, bounds)) {\n newDateRange = fallbackDateRange?.isValid\n ? fallbackDateRange\n : defaultFallbackDateRange\n }\n\n // Ensure correct date range is in url\n if (\n newDateRange.isValid &&\n (newDateRange !== dateRange || !isDateRangeInSearchParams)\n ) {\n setSearchParamsDateRange(newDateRange, { replace: true })\n }\n\n // Ensure date range is saved if necessary\n if (newDateRange.isValid && newDateRange !== savedDateRange) {\n saveDateRange(newDateRange)\n }\n }\n }, [\n dateRange,\n isDateRangeInSearchParams,\n saveDateRange,\n savedDateRange,\n setSearchParamsDateRange,\n bounds,\n fallbackDateRange,\n defaultFallbackDateRange,\n ])\n\n return { dateRange, setDateRange }\n}\n","import { scaleLinear, select } from \"d3\"\n\nconst setTextAnchor = (i, nodes) =>\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Math.floor(nodes.length / 2) > i\n ? \"end\"\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Math.floor(nodes.length / 2) < i\n ? \"start\"\n : \"middle\"\nconst setTextXOffset = (i, nodes) => {\n const edgeOffset = 2\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Math.floor(nodes.length / 2) > i\n ? // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n String(nodes[i].getBoundingClientRect().width / 2 + edgeOffset)\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Math.floor(nodes.length / 2) < i\n ? // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n String(-nodes[i].getBoundingClientRect().width / 2 - edgeOffset)\n : \"0\"\n}\n\nexport interface CircularAxisLabelsInterface {\n domain: [number, number]\n innerRadius: number\n intervals: number\n range: [number, number]\n svg: React.MutableRefObject\n}\n\nexport const drawCircularAxisLabels = ({\n svg: svgRef,\n domain,\n range,\n intervals,\n innerRadius,\n}: CircularAxisLabelsInterface) => {\n const svg = select(svgRef.current)\n const labelCircleInnerWidth = innerRadius * 0.825\n\n const scale = scaleLinear().domain(domain).range(range)\n const ticks = scale.ticks(intervals)\n const axis = svg\n .append(\"g\")\n .attr(\"class\", \"labels axis\")\n .style(\"transform\", \"translate(49%, 50%)\")\n .selectAll(\"g\")\n .data(ticks)\n .enter()\n .append(\"g\")\n .attr(\"data-label\", \"rotation-group\")\n .attr(\"transform\", (d) => `rotate(${(scale(d) * 180) / Math.PI - 90})`)\n axis\n .append(\"text\")\n .attr(\"class\", \"axis__text\")\n .attr(\"x\", labelCircleInnerWidth)\n .attr(\n \"transform\",\n (d) =>\n `rotate(${90 - (scale(d) * 180) / Math.PI},${labelCircleInnerWidth},0)`\n )\n .text((d) => d)\n .attr(\"dx\", (_d, i, nodes) => setTextXOffset(i, nodes))\n .style(\"text-anchor\", (_d, i, nodes) => setTextAnchor(i, nodes))\n}\n","import { arc } from \"d3\"\n\nexport const generateSemiAnnularPath = (\n startAngle: number,\n endAngle: number,\n outerRadius: number,\n innerRadius: number\n) =>\n arc()\n .innerRadius(innerRadius)\n .outerRadius(outerRadius)\n .startAngle(startAngle)\n .endAngle(endAngle)\n","import { select } from \"d3\"\n\nimport { darkCarbon as strokeColor, transparent } from \"../../utils/colors\"\nimport type { DialGraphDataInterFace } from \"../dialGraph\"\nimport { generateSemiAnnularPath } from \"./generateSemiAnnularPath\"\n\nconst annularRange: [number, number] = [0.0, Math.PI * 2]\n\nexport interface SemiAnnuliInterface {\n data: Map\n innerRadius: number\n outerRadius: number\n range?: [number, number]\n svg: React.MutableRefObject\n viewHeight: number\n viewWidth: number\n}\n\nexport const drawSemiAnnularGroup = ({\n svg: svgRef,\n range = annularRange,\n viewWidth,\n viewHeight,\n data: dataGroup,\n innerRadius,\n outerRadius,\n}: SemiAnnuliInterface) => {\n const centerX = viewWidth / 2\n const centerY = viewHeight / 2\n let endAngle: number = range[1] + Math.PI / 2 || 0.0\n const maxArcLength: number = endAngle - (range[0] + Math.PI / 2 || 0.0)\n\n const svg = select(svgRef.current)\n .attr(\"width\", viewWidth)\n .attr(\"height\", viewHeight)\n const graphDataGroup = svg\n .append(\"g\")\n .attr(\"class\", \"dial-graph__graph-group\")\n\n dataGroup.forEach((data: DialGraphDataInterFace) => {\n const shouldStroke = \"stroke\" in data && data.stroke\n const startAngle = endAngle\n const chevronPathLength = data.ratio * maxArcLength\n const nextEndAngle = endAngle + chevronPathLength\n endAngle = nextEndAngle\n\n const baseClassName = data.name\n .replace(/\\s/g, \"-\")\n .replace(/\\(|\\)/g, \"\")\n .toLowerCase()\n const className = shouldStroke\n ? `${baseClassName}--stroke_shape`\n : baseClassName\n const stroke = shouldStroke\n ? strokeColor.toString()\n : transparent.toString()\n\n const path = graphDataGroup\n .append(\"path\")\n .attr(\"class\", className)\n .attr(\n \"d\",\n generateSemiAnnularPath(startAngle, endAngle, outerRadius, innerRadius)\n )\n .attr(\"fill\", data.color.toString())\n .attr(\"stroke\", stroke)\n .attr(\"transform\", `translate(${centerX} ${centerY})`)\n if (shouldStroke) {\n path.style(\"stroke\", stroke)\n }\n if (data.fill !== \"\") {\n path.attr(\"fill\", `url(${data.fill})`)\n }\n })\n}\n","import React, { useEffect, useRef } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport classNames from \"classnames\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport type { CircularGraph, CircularGraphData } from \"../models/circularGraph\"\nimport type { UnitName } from \"../models/unit\"\nimport { useUserSettings } from \"../modules/settings\"\nimport { drawCircularAxisLabels } from \"./graph/drawCircularAxisLabels\"\nimport { drawGraphNeedle } from \"./graph/drawGraphNeedle\"\nimport { drawOverlayGroup } from \"./graph/drawOverlayGroup\"\nimport { drawSemiAnnularGroup } from \"./graph/drawSemiAnnularGroup\"\n\nexport interface DialGraphDataInterFace extends CircularGraphData {\n fill?: string\n stroke?: boolean\n units?: UnitName\n}\n\nexport interface DialGraphInterface extends CircularGraph {\n data: Map\n domain: [number, number]\n intervals: number\n overlayData: DialGraphDataInterFace\n range: [number, number]\n}\n\nexport const DialGraph = ({\n graphData,\n children,\n}: {\n children?: JSX.Element\n graphData: DialGraphInterface\n}): React.ReactElement => {\n const theme = useTheme()\n const { i18n } = useTranslation()\n const userSettings = useUserSettings()\n const ref = useRef()\n\n const doubledOutline = graphData.outlineThickness * 2\n const outerRadius = graphData.viewWidth / 2 - doubledOutline\n const innerRadius =\n outerRadius - outerRadius / graphData.annulusThicknessRatio\n\n useEffect(() => {\n // TODO: Will refactor and remove the need for this ref in the future\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (ref.current) {\n const currentRef: SVGElement = ref.current\n if (currentRef.childElementCount > 0) {\n currentRef.innerHTML = \"\"\n }\n }\n drawSemiAnnularGroup({\n svg: ref,\n viewWidth: graphData.viewWidth,\n viewHeight: graphData.viewHeight,\n range: graphData.range,\n data: graphData.data,\n innerRadius,\n outerRadius,\n })\n drawOverlayGroup({\n svg: ref,\n viewWidth: graphData.viewWidth,\n viewHeight: graphData.viewHeight,\n overlayData: graphData.overlayData,\n i18nService: i18n,\n userSettings,\n })\n drawGraphNeedle({\n svg: ref,\n viewWidth: graphData.viewWidth,\n viewHeight: graphData.viewHeight,\n domain: graphData.domain,\n range: graphData.range,\n ratio: graphData.overlayData.ratio,\n palette: theme.palette,\n })\n drawCircularAxisLabels({\n svg: ref,\n domain: graphData.domain,\n range: graphData.range,\n intervals: graphData.intervals,\n innerRadius,\n })\n }, [graphData])\n return (\n <>\n {children}\n \n \n )\n}\n","import ReactDOMServer from \"react-dom/server\"\n\nimport { select } from \"d3\"\nimport type { i18n } from \"i18next\"\n\nimport type { IUserSettingsData } from \"../../modules/settings\"\nimport { DEFAULT_DECIMAL_PLACEHOLDER } from \"../../utils/decimal\"\nimport { translateUnit } from \"../../utils/unit\"\nimport { EmissionDecimal } from \"../decimal/emissionDecimal/emissionDecimal\"\nimport type { DialGraphDataInterFace } from \"../dialGraph\"\n\ninterface OverlayGroupInterface {\n i18nService: i18n\n overlayData: DialGraphDataInterFace\n svg: React.MutableRefObject\n userSettings: IUserSettingsData\n viewHeight: number\n viewWidth: number\n}\n\nexport const drawOverlayGroup = ({\n svg: svgRef,\n viewWidth,\n viewHeight,\n overlayData,\n i18nService,\n userSettings,\n}: OverlayGroupInterface) => {\n const overlayText: string = ReactDOMServer.renderToString(\n EmissionDecimal({ value: overlayData.displayValue })\n )\n\n const overlayUnitsText: string = translateUnit(\n i18nService.language,\n overlayData.units,\n userSettings.currency\n )\n\n const svg = select(svgRef.current)\n .attr(\"width\", viewWidth)\n .attr(\"height\", viewHeight)\n const graphOverlay = svg\n .append(\"g\")\n .attr(\"class\", \"dial-graph__graph-overlay\")\n\n const labelText = graphOverlay\n .append(\"text\")\n .attr(\"x\", \"50%\")\n .attr(\"y\", \"69.5%\")\n .text(overlayData.name)\n .attr(\"class\", \"graph-overlay text-box__label\")\n labelText.attr(\"dx\", (_d, i, nodes) =>\n String(-nodes[i].getBoundingClientRect().width / 2)\n )\n\n const valueText = graphOverlay\n .append(\"text\")\n .attr(\"x\", \"50%\")\n .attr(\"y\", \"80%\")\n .text(overlayText)\n .attr(\n \"class\",\n `graph-overlay text-box__value${\n overlayText === DEFAULT_DECIMAL_PLACEHOLDER ? \"--empty\" : \"\"\n }`\n )\n .attr(\"fill\", overlayData.color.toString())\n valueText.attr(\"dx\", (_d, i, nodes) =>\n String(-nodes[i].getBoundingClientRect().width / 2)\n )\n\n const unitsText = graphOverlay\n .append(\"text\")\n .attr(\"x\", \"50%\")\n .attr(\"y\", \"88%\")\n .html(overlayUnitsText)\n .attr(\"class\", \"graph-overlay text-box__units\")\n unitsText.attr(\"dx\", (_d, i, nodes) =>\n String(-nodes[i].getBoundingClientRect().width / 2)\n )\n}\n","import { scaleLinear, select } from \"d3\"\n\nimport type { Palette } from \"@mui/material\"\n\nimport { generateSemiAnnularPath } from \"./generateSemiAnnularPath\"\n\nexport interface NeedleDataInterface {\n domain: [number, number]\n palette: Palette\n range: [number, number]\n ratio: number\n svg: React.MutableRefObject\n viewHeight: number\n viewWidth: number\n}\n\nexport const drawGraphNeedle = ({\n ratio,\n domain,\n range,\n svg: svgRef,\n viewWidth,\n viewHeight,\n palette,\n}: NeedleDataInterface) => {\n const circleOuterWidth = viewWidth / 50\n const circleInnerWidth = viewWidth / 90\n const dialLimitedRatio = (() => {\n if (ratio < 1.0) {\n return ratio\n }\n if (ratio > 1.0) {\n return 1.0\n }\n return 0.0\n })()\n const angleScale = scaleLinear().domain(domain).range(range)\n const dialReadingAngle =\n (angleScale(dialLimitedRatio * domain[1]) * 180) / Math.PI\n const svg = select(svgRef.current)\n const needleGroup = svg\n .append(\"g\")\n .attr(\"class\", \"dial-graph__needle\")\n .style(\"transform\", \"translate(50%, 50%)\")\n\n needleGroup\n .append(\"path\")\n .attr(\n \"d\",\n generateSemiAnnularPath(\n 0,\n Math.PI * 2,\n circleOuterWidth,\n circleInnerWidth\n )\n )\n .style(\"fill\", palette.common.black)\n\n needleGroup\n .append(\"line\")\n .style(\"stroke\", palette.common.black)\n .style(\"stroke-width\", circleOuterWidth - circleInnerWidth)\n .attr(\"stroke-linecap\", \"round\")\n .attr(\"x1\", 0)\n .attr(\"y1\", -circleOuterWidth)\n .attr(\"x2\", 0)\n .attr(\"y2\", -viewHeight / 4)\n .attr(\"transform\", `rotate(${dialReadingAngle})`)\n}\n","import React from \"react\"\nimport type { ReactNode } from \"react\"\n\nimport { camelCase } from \"lodash-es\"\n\nimport { Paper, Skeleton, Stack, Typography } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\nimport { lightGray } from \"../../../utils/colors\"\nimport { pxToRem } from \"../../../utils/unit\"\nimport { If } from \"../../if/if\"\n\ninterface OrganizationDashboardItemProps {\n content: ReactNode\n contentSx?: Record\n footer?: ReactNode\n isLoading: boolean\n minHeight: number\n title?: string\n tooltip?: JSX.Element\n}\n\nconst OrganizationDashboardItem = ({\n isLoading,\n minHeight,\n content,\n contentSx,\n title,\n tooltip,\n footer,\n}: OrganizationDashboardItemProps): JSX.Element => (\n \n \n \n \n \n \n \n \n {title}\n \n {tooltip}\n \n \n \n {content}\n \n \n \n {footer}\n \n \n \n \n)\n\nexport default OrganizationDashboardItem\n","import React from \"react\"\n\nimport { Box, Stack, Typography } from \"@mui/material\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { solidGray } from \"../../../utils/colors\"\nimport { pxToRem } from \"../../../utils/unit\"\n\ninterface IOrganizationDashboardNoDataProps {\n altText: string\n illustration: string\n scope: string | number\n}\nexport const OrganizationDashboardNoData = ({\n illustration,\n scope,\n altText,\n}: IOrganizationDashboardNoDataProps): JSX.Element => (\n \n \n There is no scope {scope} data available for this selected time range.\n \n \n \n)\n","export enum Scope {\n None = -1,\n One = 1,\n Two = 2,\n Three = 3,\n}\n\nexport interface IScopeCategory {\n id: number\n name: string\n}\n\nexport interface IScopeSubcategory extends IScopeCategory {\n categoryId: number\n}\n\nexport interface ScopeEmissionBase {\n month: number\n mtCo2E: number\n year: number\n}\n","import React from \"react\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport type { StackedAreaGraphCustomLabelProps } from \"./monthly-stacked-area-graph.types\"\n\nconst LABEL_LINE_Y_OFFSET = 16\n/**\n *\n * @param param0\n * @returns a solid line to be used as a custom label for the monthly stacked area graph x axis\n */\nexport const CustomLabel: React.FC = ({\n viewBox,\n}) => {\n const theme = useTheme()\n return (\n \n \n \n )\n}\n","import React from \"react\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport type { CustomXAxisTickProps } from \"./monthly-stacked-area-graph.types\"\n\n/**\n *\n * @param param0\n * @returns This is a custom x-axis tick component for the monthly stacked area graph.\n * It displays the year and adds a gap between the years\n */\nexport const CustomXAxisTick: React.FC = ({\n x,\n y,\n payload,\n}: CustomXAxisTickProps) => {\n const gapWidth = 8\n const theme = useTheme()\n if (payload.value) {\n return (\n \n \n {payload.value}\n \n \n \n )\n }\n return null\n}\n","import { DateTime } from \"luxon\"\n\nimport type { StackedAreaGraphDataPoint } from \"../../../nzds\"\nimport type {\n AreaGraphMap,\n MonthlyAreaGraphDatum,\n MonthlyEmissionsByScopeGraphValues,\n MonthlyEmissionsGraphValues,\n RowItem,\n} from \"../types\"\nimport type { ToolTipLabel } from \"./monthly-stacked-area-graph.types\"\n\n/* This is a utility function that converts graph data into shape that Recharts expects. \n It also sets up axes tick values, and tooltip labels */\nexport const formatStackedAreaGraphData = (\n graphDataGroups: MonthlyAreaGraphDatum[],\n keys: string[],\n unitLabel: string,\n tooltipLabelsMap: Record\n) => {\n let year\n return graphDataGroups.map((graphDataGroup: MonthlyAreaGraphDatum) => {\n // x-axis tick values\n const dateTime = DateTime.fromISO(graphDataGroup.date)\n const parsedDate = dateTime.toFormat(\"MMM\")\n const parsedYear = dateTime.year.toString()\n let yearTickValue\n if (year !== parsedYear) {\n year = parsedYear\n yearTickValue = parsedYear\n }\n // tooltip labels\n const tooltipColumn1Header = dateTime.toFormat(\"MMM yyyy\")\n const tooltipColumn2Header = unitLabel\n const data: StackedAreaGraphDataPoint = {\n month: parsedDate,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n year: yearTickValue,\n tooltipColumn1Header,\n tooltipColumn2Header,\n tooltipLabelsMap,\n }\n\n // actual graph data\n keys.forEach((key) => {\n data[key] = graphDataGroup[key] as number\n })\n return data\n })\n}\n\n// This is a utility function that sets up the legend items\nexport const buildLegendItems = (\n emissionsTotals:\n | MonthlyEmissionsByScopeGraphValues\n | MonthlyEmissionsGraphValues,\n emissionsMap: AreaGraphMap\n): RowItem[] =>\n Object.keys(emissionsTotals).map((key) => ({\n ...emissionsMap[key],\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: emissionsTotals[key],\n }))\n","import React, { useCallback } from \"react\"\n\nimport { Interval } from \"luxon\"\nimport { Label, XAxis } from \"recharts\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { useTranslateUnit } from \"../../../hooks/useTranslateUnit/useTranslateUnit\"\nimport type { StackedAreaGraphDataPoint } from \"../../../nzds\"\nimport {\n GraphMenuContainer,\n StackedAreaGraph,\n getGraphExportFileName,\n} from \"../../../nzds\"\nimport { CustomLabel } from \"./monthly-stacked-area-graph-label\"\nimport { CustomXAxisTick } from \"./monthly-stacked-area-graph-tick\"\nimport { formatStackedAreaGraphData } from \"./monthly-stacked-area-graph-util\"\nimport type {\n CustomXAxisTickProps,\n MonthlyStackedAreaGraphProps,\n} from \"./monthly-stacked-area-graph.types\"\n\nexport const MonthlyStackedAreaGraph: React.FC<\n MonthlyStackedAreaGraphProps\n> = ({\n children,\n colors,\n customTooltip,\n exportHiddenElements,\n isTotalHidden,\n keys,\n keysToNotGraph,\n legendAlign,\n legendLayout,\n legendVerticalAlign,\n rawData,\n tooltipLabelsMap,\n title,\n unit,\n}: MonthlyStackedAreaGraphProps) => {\n const theme = useTheme()\n const unitLabel: string = useTranslateUnit(unit)\n const data: StackedAreaGraphDataPoint[] = formatStackedAreaGraphData(\n rawData,\n keys,\n unitLabel,\n tooltipLabelsMap\n )\n\n const exportFileTitle: string = getGraphExportFileName(\n title,\n Interval.fromISO(`${rawData[0].date}/${rawData[rawData.length - 1].date}`)\n )\n\n const yAxisLabel: string = unitLabel\n\n const renderTick = useCallback(\n (props: CustomXAxisTickProps) => (\n \n ),\n []\n )\n // 3 x axes to display months, separator line, and years\n const xAxes: React.ReactNode[] = [\n ,\n } position=\"insideBottomLeft\" />}\n padding={{ left: 0.5 }}\n tick={false}\n tickLine={false}\n xAxisId=\"separator\"\n />,\n ,\n ]\n\n return (\n \n \n {children}\n \n \n )\n}\n","import type { Interval } from \"luxon\"\n\nexport const getGraphExportFileName = (\n graphTitle: string,\n dateRange: Interval | null | undefined\n): string => {\n const dateRangeText = dateRange?.isValid\n ? `${dateRange.start?.toFormat(\"yyyy-MM\")} through ${dateRange.end?.toFormat(\"yyyy-MM\")}`\n : \"unknown date range\"\n\n return `${graphTitle} ${dateRangeText}`\n}\n","import { useTranslation } from \"react-i18next\"\n\nimport type { UnitName } from \"../../models/unit\"\nimport { translateUnit } from \"../../utils/unit\"\n\nexport const useTranslateUnit = (unit: UnitName): string => {\n const { i18n } = useTranslation()\n return translateUnit(i18n.language, unit)\n}\n","import React from \"react\"\n\ninterface OrganizationDashboardMetricTitleProps {\n descriptor?: JSX.Element | string\n title: string\n}\n\nexport const OrganizationDashboardMetricTitle = ({\n title,\n descriptor,\n}: OrganizationDashboardMetricTitleProps) => (\n <>\n {title}\n {descriptor && <> ({descriptor})}\n \n)\n","import React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useSearchParamsDateRange } from \"@/utils/date/use-date-range\"\nimport { buildUrlSearchParamsString, useUrl } from \"@/utils/url\"\n\nimport { ListAlt } from \"@mui/icons-material\"\nimport { Box, Button } from \"@mui/material\"\n\nimport { ReportPath } from \"../../../models/route\"\nimport type { Scope } from \"../../../models/scope\"\n\ninterface ScopeReportButtonProps {\n isLimitedAccessUser: boolean\n scope: Scope\n}\n\nexport const ScopeReportButton = ({\n isLimitedAccessUser,\n scope,\n}: ScopeReportButtonProps) => {\n const { buildReportingUrl } = useUrl()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const isVisible =\n isFeatureEnabled(FeatureFlags.REPORT_ACTIVITY_EMISSIONS, organization) &&\n !isLimitedAccessUser\n const label = `Scope ${scope} Data`\n\n const { searchParamsDateRange } = useSearchParamsDateRange()\n\n return (\n isVisible && (\n \n }\n size=\"small\"\n to={`${buildReportingUrl(ReportPath.EmissionsSources)}?${buildUrlSearchParamsString(\n {\n start: searchParamsDateRange?.start,\n end: searchParamsDateRange?.end,\n }\n )}&filter=scope${scope}`}\n variant=\"outlined\"\n >\n {label}\n \n \n )\n )\n}\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Box, Grid, Typography, useTheme } from \"@mui/material\"\n\nimport type { AreaGraphProperties } from \"../../../graph/types\"\n\ninterface OrganizationDashboardScopeOneLegendProps {\n legendItems: AreaGraphProperties[]\n}\n\nconst OrganizationDashboardScopeOneLegend: React.FC<\n OrganizationDashboardScopeOneLegendProps\n> = ({ legendItems }) => {\n const theme = useTheme()\n return (\n // Require negative margin to align with graph\n \n {legendItems.map((key) => (\n \n \n \n \n {key.label}\n \n \n \n ))}\n \n )\n}\n\nexport default OrganizationDashboardScopeOneLegend\n","import React, { useMemo } from \"react\"\n\nimport { Box, Stack, Typography, useTheme } from \"@mui/material\"\n\nimport { MetricType } from \"../../../models/decimal/decimal\"\nimport { Scope } from \"../../../models/scope\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\nimport { UnitName } from \"../../../models/unit\"\nimport type { ScopeOneEmissionsData } from \"../../../modules/dashboard/components/organizationDashboardScopeSection/organizationDashboardScopeSection\"\nimport { EmissionDecimal } from \"../../decimal/emissionDecimal/emissionDecimal\"\nimport { MonthlyStackedAreaGraph } from \"../../graph/monthly-stacked-area-graph/monthly-stacked-area-graph\"\nimport type {\n AreaGraphMap,\n AreaGraphProperties,\n MonthlyAreaGraphDatum,\n} from \"../../graph/types\"\nimport { Unit } from \"../../unit/unit\"\nimport { OrganizationDashboardMetricTitle } from \"../organizationDashboardMetricTitle/organizationDashboardMetricTitle\"\nimport { ScopeReportButton } from \"../scopeReportButton/scopeReportButton\"\nimport OrganizationDashboardScopeOneLegend from \"./organizationDashboardScopeOneLegend/organizationDashboardScopeOneLegend\"\n\ninterface OrganizationDashboardScopeOneProps {\n dataE2e: string\n isLimitedAccessUser: boolean\n scopeOneData: ScopeOneEmissionsData\n}\n\nconst emissionsByScopeTooltipLabelsMap = {\n costMajor: {\n label: \"Process\",\n metricFormattingComponentId: MetricType.Emission,\n },\n fugitive: {\n label: \"Fugitive\",\n metricFormattingComponentId: MetricType.Emission,\n },\n \"stationary combustion\": {\n label: \"Stationary Combustion\",\n metricFormattingComponentId: MetricType.Emission,\n },\n \"mobile combustion\": {\n label: \"Mobile Combustion\",\n metricFormattingComponentId: MetricType.Emission,\n },\n}\n\nexport const OrganizationDashboardScopeOne = ({\n scopeOneData,\n isLimitedAccessUser,\n dataE2e,\n}: OrganizationDashboardScopeOneProps): JSX.Element => {\n const theme = useTheme()\n\n const { graphKeys, graphData } = scopeOneData\n\n const colors: string[] = [\n theme.palette.spectrum.blue[300],\n theme.palette.spectrum.blue[700],\n theme.palette.spectrum.blue[50],\n theme.palette.spectrum.blue[500],\n ]\n\n const scopeOneMap: AreaGraphMap = {\n \"mobile combustion\": {\n label: \"Mobile Combustion\",\n color: colors[3],\n },\n \"stationary combustion\": {\n label: \"Stationary Combustion\",\n color: colors[2],\n },\n fugitive: {\n label: \"Fugitive\",\n color: colors[1],\n },\n process: {\n label: \"Process\",\n color: colors[0],\n },\n }\n\n // Ensure each graph item returns a number value\n const data = useMemo(\n () =>\n graphData.map((datum) => {\n const newDatum = { ...datum } as MonthlyAreaGraphDatum\n graphKeys.forEach((key) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n newDatum[key] = datum[key] ?? 0\n })\n return newDatum\n }),\n [graphData, graphKeys]\n )\n\n const legendItems: AreaGraphProperties[] = useMemo(\n () =>\n graphKeys.map((key) => ({\n label: scopeOneMap[key].label,\n color: scopeOneMap[key].color,\n })),\n [graphKeys, scopeOneMap]\n )\n\n return (\n <>\n \n \n \n \n }\n title=\"Total Emissions\"\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Box, Stack, Typography } from \"@mui/material\"\n\nimport { Scope } from \"../../../models/scope\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\nimport { UnitName } from \"../../../models/unit\"\nimport { EmissionDecimal } from \"../../decimal/emissionDecimal/emissionDecimal\"\nimport { Unit } from \"../../unit/unit\"\nimport { OrganizationDashboardMetricTitle } from \"../organizationDashboardMetricTitle/organizationDashboardMetricTitle\"\nimport { ScopeReportButton } from \"../scopeReportButton/scopeReportButton\"\n\ninterface IScopeThreeMetricsProps {\n dataE2e: string\n isLimitedAccessUser: boolean\n totalEmissions: number\n}\n\nexport const ScopeThreeMetrics = ({\n totalEmissions,\n isLimitedAccessUser,\n dataE2e,\n}: IScopeThreeMetricsProps) => (\n \n \n \n \n }\n title=\"Total Emissions\"\n />\n \n \n \n \n {!!totalEmissions && (\n \n Top Categories by{\" \"}\n \n \n )}\n \n \n \n)\n","import type { MutableRefObject } from \"react\"\nimport { useEffect, useState } from \"react\"\n\nexport const useResizeObserver = (\n ref: MutableRefObject\n): Record | null => {\n const [dimensions, setDimensions] = useState(null)\n\n useEffect(() => {\n const target = ref?.current\n const resizeObserver = new ResizeObserver((entries) => {\n entries.forEach((entry) => {\n setDimensions(entry.contentRect)\n })\n })\n\n if (target) {\n resizeObserver.observe(target)\n }\n\n return () => {\n if (target) {\n resizeObserver.unobserve(target)\n }\n }\n }, [ref])\n\n if (!ref) {\n return null\n }\n\n return { dimensions }\n}\n","import {\n cerulean200,\n darkBlue,\n lightestBlue,\n newBlue,\n peach100,\n} from \"../../../utils\"\n\nconst SCOPE_CARD_HEIGHT = 468\n\ninterface OrgDashboardDataE2eAttributes {\n energyConsumptionValue: string\n energyCostValue: string\n scopeOneEmissionsValue: string\n scopeThreeEmissionsValue: string\n totalEmissionsValue: string\n waterConsumptionValue: string\n}\n\ninterface AllScopeEmissionsData {\n graphData: ScopeEmissionsGraphItem[]\n graphKeys: ScopeGraphKeyNames[]\n scopeTotals: ScopeEmissionsScopeTotal[]\n totalEmissions: number\n}\n\ninterface ScopeOneEmissionData {\n name: string\n order: number\n}\n\ninterface ScopeOneEmissionDataMap {\n fugitive: ScopeOneEmissionData\n \"mobile combustion\": ScopeOneEmissionData\n \"stationary combustion\": ScopeOneEmissionData\n}\n\ninterface ScopeOneEmissionsGraphItem {\n /**\n * The fugitive for a scope one emission\n */\n Fugitive?: number\n /**\n * The mobile combustion for a scope one emission\n */\n \"Mobile Combustion\"?: number\n /**\n * The stationary combustion for a scope one emission\n */\n \"Stationary Combustion\"?: number\n /**\n * The date of the scope two emission\n */\n date: string\n /**\n * The index of the scope two emission\n */\n index?: number\n}\n\ninterface ScopeTwoEmissionsGraphItem {\n /**\n * The costMajor for a scope two emission\n */\n costMajor: number\n /**\n * The date of the scope two emission\n */\n date: string\n /**\n * The index of the scope two emission\n */\n index?: number\n /**\n * The value of the scope two emission\n */\n value: number\n}\n\ninterface ScopeThreeEmissionsGraphItem {\n categoryName: string\n mtCo2E: number\n}\n\ninterface ScopeEmissionsGraphItem {\n \"Scope 1\"?: number\n \"Scope 2\"?: number\n \"Scope 3\"?: number\n date: string\n index?: number\n}\n\ninterface ScopeEmissionsScopeTotal {\n /**\n * @param order The display sort order\n */\n order: number\n /**\n * @param scope Scope type (1,2,3)\n */\n scope: number\n /**\n * @param total Scope's total MT CO2e Emissions\n */\n value: number\n}\n\ninterface OrganizationDashboardTheme {\n emissionsByScope: Record\n scopeOne: Record\n scopeThree: Record\n scopeTwo: Record\n}\n\ntype ScopeGraphKeyNames = \"Scope 1\" | \"Scope 2\" | \"Scope 3\"\n\nconst scopeOneCategoryToGraphKeyMap: ScopeOneEmissionDataMap = {\n \"mobile combustion\": { name: \"mobile combustion\", order: 0 },\n \"stationary combustion\": { name: \"stationary combustion\", order: 1 },\n fugitive: { name: \"fugitive\", order: 2 },\n}\n\nconst organizationDashboardGraphTheme: OrganizationDashboardTheme = {\n emissionsByScope: {\n \"Scope 1\": newBlue.toString(),\n \"Scope 2\": cerulean200.toString(),\n \"Scope 3\": peach100.toString(),\n },\n scopeOne: {\n \"mobile combustion\": newBlue.toString(),\n \"stationary combustion\": lightestBlue.toString(),\n fugitive: darkBlue.toString(),\n },\n scopeTwo: {\n \"Scope 2\": cerulean200.toString(),\n },\n scopeThree: {\n \"Scope 3\": peach100.toString(),\n },\n}\n\nconst scopeEmissionToolTipDescriptions: Record = {\n scope3: [\n \"Emissions that are the result of activities from assets not owned or controlled by your organization, but that indirectly impact your value chain.\",\n \"There are 15 possible GHG protocol categories. Here we show your org's top categories (up to 5).\",\n ],\n scope2: [\n \"Indirect GHG emissions associated with the purchase of electricity, steam, heat, or cooling.\",\n ],\n scope2CarbonIntensity: [\n \"Measures how clean the electricity is that your organization consumes. It indicates how many metric tons of carbon dioxide equivalent (CO2e) are released to produce a megawatt hour (MWh) of electricity.\",\n ],\n scope1: [\n \"Direct GHG emissions that occur from sources that are controlled or owned by your organization. There are four categories of emissions:\",\n \"1. Mobile combustion: Transportation (gasoline, diesel fuel, etc.)\",\n \"2. Stationary combustion: Boilers, furnaces, turbines, incinerators, engines, gas ranges (natural gas, diesel fuel, etc.)\",\n \"3. Fugitive: Equipment leaks, refrigeration, industrial gases, wastewater treatment (methane, HFCs, HCFCs, etc.)\",\n \"4. Process: Physical or chemical processing (cement, aluminum, etc.)\",\n ],\n}\n\ninterface EmissionDayStats {\n amount: number\n kgCo2e: number\n name: string\n scope: number\n}\n\ntype EmissionRecord<\n T =\n | ScopeThreeEmissionsGraphItem\n | ScopeTwoEmissionsGraphItem\n | ScopeOneEmissionsGraphItem,\n> = Record\n\ntype GraphData = EmissionRecord<\n | ScopeOneEmissionsGraphItem\n | ScopeTwoEmissionsGraphItem\n | ScopeEmissionsGraphItem\n>\n\nexport {\n SCOPE_CARD_HEIGHT,\n organizationDashboardGraphTheme,\n scopeOneCategoryToGraphKeyMap,\n scopeEmissionToolTipDescriptions,\n type GraphData,\n type EmissionRecord,\n type AllScopeEmissionsData,\n type ScopeGraphKeyNames,\n type ScopeOneEmissionData,\n type ScopeOneEmissionDataMap,\n type ScopeOneEmissionsGraphItem,\n type ScopeTwoEmissionsGraphItem,\n type ScopeThreeEmissionsGraphItem,\n type ScopeEmissionsGraphItem,\n type ScopeEmissionsScopeTotal,\n type OrganizationDashboardTheme,\n type OrgDashboardDataE2eAttributes,\n type EmissionDayStats,\n}\n","import React, { useEffect, useRef, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { ScaleBand, ScaleLinear } from \"d3\"\nimport { max, scaleBand, scaleLinear } from \"d3\"\n\nimport { Box } from \"@mui/material\"\n\nimport { useD3 } from \"../../../hooks/useD3/useD3\"\nimport { useResizeObserver } from \"../../../hooks/useResizeObserver/useResizeObserver\"\nimport { organizationDashboardGraphTheme } from \"../../../modules/dashboard/models/dashboard\"\nimport type { ScopeThreeEmissionsGraphItem } from \"../../../modules/dashboard/models/dashboard\"\nimport { translateEmissionDecimal } from \"../../../utils/decimal\"\nimport { titleize } from \"../../../utils/formatters\"\nimport type { GraphPerimeter } from \"../../graph/types\"\nimport \"./scopeThreeWidget.scss\"\n\nconst GRAPH_MIN_WIDTH = 310\nconst GRAPH_HEIGHT = 252\nconst MIN_HEIGHT_CHART = GRAPH_HEIGHT / 2\nconst RIGHT_LABEL_WIDTH = 68\nconst SEPARATION_LABEL_BAR = 4\nconst INITIAL_X_POSITION_TEXT = 100 // This is to make the text position start from right-outside of the chart to see data entering with animation\nconst MARGIN = { top: 20, right: 24, left: 24, bottom: 20 } // Refactor this part\nconst Y_SCALE_PADDING_INNER_MAX = 0.6\nconst Y_SCALE_PADDING_INNER_MIN = 0.5\n\nconst initialPerimeter: GraphPerimeter = {\n height: GRAPH_HEIGHT,\n width: 0,\n}\n\nconst axisScaleFunctions = (data, width: number) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const isAnyValueGreaterThanZero = data.find((d) => d.mtCo2E > 0)\n\n const yScaleRangeMax =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n data.length > 2 ? GRAPH_HEIGHT : MIN_HEIGHT_CHART - MARGIN.top\n const yScalePaddingInner =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n data.length === 1 ? Y_SCALE_PADDING_INNER_MAX : Y_SCALE_PADDING_INNER_MIN\n\n const xAxisScale = scaleLinear() // x is the scale for the x axis\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .domain([0, max(data, (d: ScopeThreeEmissionsGraphItem) => d.mtCo2E)])\n .range([0, isAnyValueGreaterThanZero ? width : 0])\n\n const yAxisScale = scaleBand()\n .range([0, yScaleRangeMax]) // height of the chart\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n .domain(data.map((d) => d.categoryName))\n .paddingInner(yScalePaddingInner) // padding between bars\n .align(0) // align the bars to the top\n\n return { xAxisScale, yAxisScale }\n}\n\nconst addBar = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n g: any,\n yAxisScale: ScaleBand,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n transition: any,\n xAxisScale: ScaleLinear,\n fillColor: string\n) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n g\n .append(\"rect\") // bar\n .attr(\"x\", 0) // x position of the bar\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"y\", (d) => yAxisScale(d.categoryName)) // y position of the bar\n .attr(\"height\", yAxisScale.bandwidth()) // height of bar\n .attr(\"width\", 0) // width of bar (will be updated in the next step)\n .call((enterTransition) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n enterTransition\n .transition(transition)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"width\", (d) => xAxisScale(d.mtCo2E))\n ) // width of bar\n .attr(\"fill\", fillColor)\n\nconst addLabelRight = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n g: any,\n yAxisScale: ScaleBand,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n transition: any,\n xAxisScale: ScaleLinear,\n i18nService\n) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n g\n .append(\"text\") // text label for the bar (next to the bar)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"x\", (d) => xAxisScale(d.mtCo2E) + INITIAL_X_POSITION_TEXT) // x initial position of the text\n .attr(\n \"y\",\n (d) =>\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n yAxisScale(d.categoryName) +\n yAxisScale.bandwidth() / 2 +\n SEPARATION_LABEL_BAR\n ) // y position of the text (middle of the bar)\n .call((enterTransition) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n enterTransition\n .transition(transition)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"width\", (d) => xAxisScale(d.mtCo2E))\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"x\", (d) => xAxisScale(d.mtCo2E) + SEPARATION_LABEL_BAR)\n ) // width of bar\n .classed(\"right-legend\", true)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .text((d) => translateEmissionDecimal(i18nService, d.mtCo2E))\n\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst addLabelTop = (g: any, yAxisScale: ScaleBand, transition: any) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n g\n .append(\"text\") // text label for the bar (top of the bar)\n .attr(\"x\", -INITIAL_X_POSITION_TEXT)\n .call((enterTransition) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n enterTransition.transition(transition).attr(\"x\", 0)\n ) // width of bar\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .attr(\"y\", (d) => yAxisScale(d.categoryName) - SEPARATION_LABEL_BAR)\n .classed(\"top-legend\", true)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n .text((d) => titleize(d.categoryName))\n\nconst enterNode = ({\n enter,\n transition,\n xAxisScale,\n yAxisScale,\n i18nService,\n fillColor,\n}: {\n enter\n fillColor: string\n i18nService\n transition\n xAxisScale: ScaleLinear\n yAxisScale: ScaleBand\n}) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const g = enter.append(\"g\").classed(\"group-item\", true)\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n g.call(() => addBar(g, yAxisScale, transition, xAxisScale, fillColor))\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n g.call(() =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n addLabelRight(g, yAxisScale, transition, xAxisScale, i18nService)\n )\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n g.call(() => addLabelTop(g, yAxisScale, transition))\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return g\n}\n\nconst drawGraph = (\n selection,\n data,\n xAxisScale: ScaleLinear,\n yAxisScale: ScaleBand,\n i18nService,\n fillColor: string,\n animate = true\n) => {\n const transitionDuration = animate ? 500 : 0\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const transition = selection.transition().duration(transitionDuration)\n // add bars\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n selection\n .selectAll(\"g\")\n .data(data)\n .join((enter) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n enterNode({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n enter,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n transition,\n xAxisScale,\n yAxisScale,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n i18nService,\n fillColor,\n })\n )\n}\n\ninterface IScopeThreeWidgetGraphProps {\n data: ScopeThreeEmissionsGraphItem[]\n}\n\nexport const ScopeThreeWidgetGraph = ({\n data,\n}: IScopeThreeWidgetGraphProps) => {\n const { i18n } = useTranslation()\n const elmRef = useRef()\n const { dimensions } = useResizeObserver(elmRef)\n const [perimeter, setPerimeter] = useState(initialPerimeter)\n const [hasRunOnce, setHasRunOnce] = useState(false)\n\n // TODO: This may be able to extracted so each graph component wouldn't need this template here\n useEffect(() => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const width =\n !dimensions || dimensions?.width < GRAPH_MIN_WIDTH\n ? GRAPH_MIN_WIDTH\n : dimensions?.width\n setPerimeter({\n height: GRAPH_HEIGHT,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n width,\n })\n }, [dimensions])\n\n useD3(\n (selection, isInitialized, isResizeEvent) => {\n const { xAxisScale, yAxisScale } = axisScaleFunctions(\n data,\n perimeter.width - RIGHT_LABEL_WIDTH\n )\n\n if (isInitialized && isResizeEvent) {\n setHasRunOnce(true)\n }\n\n if (!isInitialized || (isInitialized && isResizeEvent)) {\n drawGraph(\n selection,\n data,\n xAxisScale,\n yAxisScale,\n i18n,\n organizationDashboardGraphTheme.scopeThree[\"Scope 3\"],\n !hasRunOnce\n )\n }\n },\n elmRef,\n data,\n {\n height: perimeter.height + MARGIN.top,\n width: perimeter.width,\n },\n [i18n.language, hasRunOnce]\n )\n\n return \n}\n","import { useEffect, useMemo, useRef, useState } from \"react\"\n\nimport type { Selection } from \"d3\"\nimport { select } from \"d3\"\n\nexport interface IPerimeter {\n height: number\n width: number\n}\n\n// DEPRECATED: DO NOT USE\n/**\n * @deprecated\n */\nexport const useD3 = (\n renderChartFn,\n ref,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: any[],\n perimeter?: IPerimeter,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n dependencies: any[] = []\n) => {\n const nodeRef = useRef(null)\n const [isInitialized, setIsInitialized] = useState(false)\n const [selection, setSelection] = useState>(null)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const [dimensions, setDimensions] = useState(null)\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return\n const renderChart = useMemo(() => renderChartFn, [renderChartFn])\n const GRAPH_TOP_OFFSET = 4\n\n const setSVGDimensions = (node) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n node\n .attr(\"width\", perimeter.width)\n .attr(\"height\", perimeter.height)\n .attr(\"viewBox\", `0 0 ${perimeter.width} ${perimeter.height}`)\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return node\n }\n\n useEffect(() => {\n if (!perimeter?.height && !perimeter?.width) {\n return\n }\n\n if (!selection) {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const owner = ref.current\n\n let newSVG:\n | undefined\n | Selection\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (owner?.nodeName !== \"SVG\" && owner?.children?.length === 0) {\n setDimensions(perimeter)\n\n newSVG = select(owner)\n .append(\"svg\")\n .call(setSVGDimensions)\n .append(\"g\")\n .attr(\"transform\", `translate(0,${GRAPH_TOP_OFFSET})`)\n }\n\n // Get the raw SVG from from the Selection so we don't have a nested Selection up when set\n const svg = newSVG?.node() ?? nodeRef.current\n\n if (svg) {\n setSelection(select(svg))\n }\n } else if (data?.length > 0 && perimeter?.height && perimeter?.width) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const isResizeEvent = perimeter.width !== dimensions?.width\n\n if (isResizeEvent) {\n setDimensions(perimeter)\n selection.selectAll(\"*\").remove()\n selection.call((node) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n setSVGDimensions(select(node.node().parentElement))\n )\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n renderChart(selection, isInitialized, isResizeEvent)\n } else {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n renderChart(selection, isInitialized, isResizeEvent)\n }\n\n if (!isInitialized) {\n setIsInitialized(true)\n }\n }\n\n return () => {\n /* noop */\n }\n\n /* The dependencies are passed so we are not sure what they will be here */\n // migration to strict mode batch disable\n // eslint-disable-next-line react-hooks/exhaustive-deps, @typescript-eslint/no-unsafe-assignment\n }, [renderChartFn, ref, data, perimeter, ...dependencies])\n\n return nodeRef\n}\n","import React from \"react\"\n\nimport type { ScopeThreeEmissionsData } from \"../../../modules/dashboard/components/organizationDashboardScopeSection/organizationDashboardScopeSection\"\nimport { ScopeThreeMetrics } from \"./scopeThreeMetrics\"\nimport { ScopeThreeWidgetGraph } from \"./scopeThreeWidgetGraph\"\n\nexport interface IOrganizationDashboardScopeThreeProps {\n data: ScopeThreeEmissionsData\n dataE2e: string\n isLimitedAccessUser: boolean\n}\nexport const OrganizationDashboardScopeThree = ({\n data,\n dataE2e,\n isLimitedAccessUser,\n}: IOrganizationDashboardScopeThreeProps): JSX.Element => (\n <>\n \n \n \n)\n","import React from \"react\"\n\nimport InfoRoundedIcon from \"@mui/icons-material/InfoRounded\"\nimport { IconButton, Stack, Tooltip, Typography, useTheme } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\nimport { isStringValueANumber } from \"../../../utils\"\nimport { black25, darkGray, dustyGray } from \"../../../utils/colors\"\nimport { pxToRem } from \"../../../utils/unit\"\n\nconst styles = {\n tooltip: {\n color: darkGray.toString(),\n borderRadius: pxToRem(4),\n boxShadow: `0px 3px 16px ${black25.toString()}`,\n padding: `${pxToRem(8)} ${pxToRem(16)}`,\n },\n tooltipButton: {\n color: dustyGray.toString(),\n },\n toolTipTitle: {\n mb: pxToRem(4),\n },\n}\n\ninterface IOrganizationDashboardTooltipProps {\n content: string[]\n label: string\n title: string\n}\n\nconst setTooltipText = (title: string, content: string[]): JSX.Element => (\n \n \n {title}\n \n {content.map((text, index) => (\n \n {text}\n \n ))}\n \n)\n\nexport const OrganizationDashboardTooltip = ({\n content,\n label,\n title,\n}: IOrganizationDashboardTooltipProps): JSX.Element => {\n const theme = useTheme()\n const tooltipText: JSX.Element = setTooltipText(title, content)\n return (\n \n \n \n \n \n )\n}\n","import type { CSSProperties } from \"react\"\nimport React from \"react\"\n\nimport { Grid, Stack, Typography } from \"@mui/material\"\n\nimport { Scope } from \"../../../models/scope\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../models/typography\"\nimport { UnitName } from \"../../../models/unit\"\nimport { CurrencyWithPlaceholder } from \"../../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Unit } from \"../../unit/unit\"\nimport { OrganizationDashboardMetricTitle } from \"../organizationDashboardMetricTitle/organizationDashboardMetricTitle\"\nimport { ScopeReportButton } from \"../scopeReportButton/scopeReportButton\"\nimport type { Scope2DataE2eAttributes } from \"./scope2CardContent\"\n\ninterface IScope2MetricsProps {\n averageCost: number\n dataE2e: Scope2DataE2eAttributes\n isLimitedAccessUser: boolean\n totalCost: number\n totalEmissions: number\n}\n\nconst styles: Record = {\n column: {\n flexDirection: \"column\",\n },\n \"pr-3\": {\n paddingRight: 3,\n },\n}\n\nexport const Scope2Metrics = ({\n averageCost,\n isLimitedAccessUser,\n totalCost,\n totalEmissions,\n dataE2e,\n}: IScope2MetricsProps) => (\n \n \n \n \n \n }\n title=\"Total Emissions\"\n />\n \n \n \n \n \n \n \n \n Total Cost\n \n \n \n \n \n Average Cost\n \n \n \n \n \n \n \n \n)\n","import React from \"react\"\n\nimport { Box, Paper, Typography, useTheme } from \"@mui/material\"\n\nimport { getMetricFormattingComponent } from \"../../../models/decimal/decimal\"\nimport StackedAreaGraphTooltipRows from \"../../../nzds/graphs/stacked-area-graph/stacked-area-graph-tooltip/stacked-area-graph-tooltip-rows\"\nimport type {\n StackedAreaGraphTooltipPayload,\n TooltipPayload,\n} from \"../../../nzds/graphs/stacked-area-graph/stacked-area-graph-tooltip/stacked-area-graph-tooltip.types\"\n\nexport interface ScopeTwoGraphTooltipPayload\n extends StackedAreaGraphTooltipPayload {\n payload: TooltipPayload & {\n costMajor: number\n }\n}\n\ninterface Scope2TooltipProps {\n active?: boolean\n payload?: ScopeTwoGraphTooltipPayload[]\n}\n\nconst Scope2Tooltip: React.FC = ({ active, payload }) => {\n const theme = useTheme()\n\n if (!active || payload?.length <= 0) {\n return null\n }\n\n const { tooltipLabelsMap, tooltipColumn1Header, costMajor } =\n payload[0].payload\n\n const rows = [\n {\n label: tooltipLabelsMap.value.label,\n value: payload[0].value,\n decimalComponent: getMetricFormattingComponent(\n tooltipLabelsMap.value.metricFormattingComponentId\n ),\n },\n {\n label: tooltipLabelsMap.costMajor.label,\n value: costMajor,\n decimalComponent: getMetricFormattingComponent(\n tooltipLabelsMap.costMajor.metricFormattingComponentId\n ),\n },\n ]\n\n return (\n \n \n \n {tooltipColumn1Header}\n \n \n \n \n )\n}\n\nexport default Scope2Tooltip\n","import React, { useMemo } from \"react\"\n\nimport { Box, useTheme } from \"@mui/material\"\n\nimport { MetricType } from \"../../../models/decimal/decimal\"\nimport { UnitName } from \"../../../models/unit\"\nimport type { ScopeTwoEmissionsData } from \"../../../modules/dashboard/components/organizationDashboardScopeSection/organizationDashboardScopeSection\"\nimport { MonthlyStackedAreaGraph } from \"../../graph/monthly-stacked-area-graph/monthly-stacked-area-graph\"\nimport type { MonthlyAreaGraphDatum } from \"../../graph/types\"\nimport { Scope2Metrics } from \"./scope2Metrics\"\nimport Scope2Tooltip from \"./scope2Tooltip\"\n\ninterface IScope2CardContentProps {\n isLimitedAccessUser: boolean\n scopeTwoData: ScopeTwoEmissionsData\n}\n\nexport interface Scope2DataE2eAttributes {\n averageCost: string\n totalCost: string\n totalEmissionsValue: string\n}\n\nconst Scope2E2eAttr: Scope2DataE2eAttributes = {\n totalEmissionsValue: \"scope-two-emissions-value\",\n totalCost: \"scope-two-total-cost\",\n averageCost: \"scope-two-average-cost\",\n}\n\nconst styles = {\n cardContent: {\n flexGrow: 1,\n display: \"flex\",\n flexDirection: \"column\",\n },\n metricsContainer: {\n pb: 2,\n },\n graphContainer: {\n position: \"relative\",\n display: \"flex\",\n },\n}\n\nconst scopeTwoTooltipLabelsMap = {\n costMajor: {\n label: \"Cost\",\n metricFormattingComponentId: MetricType.CurrencyWithPlaceholder,\n },\n value: {\n label: \"MT CO2e\",\n metricFormattingComponentId: MetricType.Emission,\n },\n}\n\nexport const Scope2CardContent = ({\n scopeTwoData,\n isLimitedAccessUser,\n}: IScope2CardContentProps) => {\n const theme = useTheme()\n\n const { graphData, totalCost, totalEmissions, totalKwh } = scopeTwoData\n\n const averageCost = totalCost / totalKwh\n\n const colors: string[] = [theme.palette.spectrum.cerulean[200]]\n\n // Ensure each graph item returns a number value\n const data = useMemo(\n () =>\n graphData.map((datum) => {\n const newDatum = { ...datum } as MonthlyAreaGraphDatum\n ;[\"value\"].forEach((key) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n newDatum[key] = datum[key] ?? 0\n })\n return newDatum\n }),\n [graphData]\n )\n\n return (\n \n \n \n \n \n }\n keys={[\"costMajor\", \"value\"]}\n keysToNotGraph={[\"costMajor\"]}\n rawData={data}\n title=\"Scope 2\"\n tooltipLabelsMap={scopeTwoTooltipLabelsMap}\n unit={UnitName.MetricTonsOfCarbonDioxideEquivalent}\n />\n \n \n )\n}\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Translation } from \"../../models/i18n\"\nimport { UnitName } from \"../../models/unit\"\nimport { formatEnergyVolumeInUnit } from \"../../utils/formatters\"\nimport { DecimalWithPlaceholder } from \"../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Unit } from \"../unit/unit\"\n\nexport const ElectricityVolumesTable = ({\n carbonFreeKwh,\n meteredMwh,\n children,\n}: {\n carbonFreeKwh: number\n children?: ReactNode\n meteredMwh: number\n}) => {\n const { t } = useTranslation()\n\n const carbonFreeWh = Math.round(\n formatEnergyVolumeInUnit(\n carbonFreeKwh,\n UnitName.KilowattHour,\n UnitName.MegawattHour\n )\n )\n const meteredWh = formatEnergyVolumeInUnit(\n meteredMwh,\n UnitName.MegawattHour,\n UnitName.MegawattHour\n )\n return (\n
\n {children}\n \n {t(Translation.Common.OnSiteGenerated)} (\n )\n
\n \n {\n // Intentionally displaying 0 when value is null\n }\n \n \n
\n Total Volume ()\n
\n
\n \n
\n \n )\n}\n","import React from \"react\"\n\nimport Color from \"color\"\n\nimport { Grid } from \"@mui/material\"\n\nimport ScopeOneNoDataIllustration from \"../../../../assets/images/organizationDashboard/scope-1-no-data.png\"\nimport ScopeTwoCarbonIntensityNoDataIllustration from \"../../../../assets/images/organizationDashboard/scope-2-carbon-intensity-no-data.png\"\nimport ScopeTwoNoDataIllustration from \"../../../../assets/images/organizationDashboard/scope-2-no-data.png\"\nimport ScopeThreeNoDataIllustration from \"../../../../assets/images/organizationDashboard/scope-3-no-data.png\"\nimport { DialGraph } from \"../../../../components/dialGraph\"\nimport OrganizationDashboardItem from \"../../../../components/organizationDashboard/organizationDashboardItem/organizationDashboardItem\"\nimport { OrganizationDashboardNoData } from \"../../../../components/organizationDashboard/organizationDashboardNoData/organizationDashboardNoData\"\nimport { OrganizationDashboardScopeOne } from \"../../../../components/organizationDashboard/organizationDashboardScopeOne/organizationDashboardScopeOne\"\nimport { OrganizationDashboardScopeThree } from \"../../../../components/organizationDashboard/organizationDashboardScopeThree/organizationDashboardScopeThree\"\nimport { OrganizationDashboardTooltip } from \"../../../../components/organizationDashboard/organizationDashboardTooltip/organizationDashboardTooltip\"\nimport { Scope2CardContent } from \"../../../../components/organizationDashboard/scope2Card/scope2CardContent\"\nimport { ElectricityVolumesTable } from \"../../../../components/organizationSummary/electricityVolumesTable\"\nimport { Scope } from \"../../../../models/scope\"\nimport {\n carbonIntensity1,\n carbonIntensity2,\n carbonIntensity3,\n carbonIntensity4,\n carbonIntensity5,\n carbonIntensity6,\n} from \"../../../../utils/colors\"\nimport { CarbonIntensityGraphDefaults } from \"../../../../utils/constants\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport type {\n OrgDashboardDataE2eAttributes,\n ScopeOneEmissionsGraphItem,\n ScopeThreeEmissionsGraphItem,\n ScopeTwoEmissionsGraphItem,\n} from \"../../models/dashboard\"\nimport {\n SCOPE_CARD_HEIGHT,\n scopeEmissionToolTipDescriptions,\n} from \"../../models/dashboard\"\n\nexport interface ScopeOneEmissionsData {\n graphData: ScopeOneEmissionsGraphItem[]\n graphKeys: string[]\n isFetched: boolean\n totalEmissions: number\n}\nexport interface ScopeTwoEmissionsData {\n graphData: ScopeTwoEmissionsGraphItem[]\n isFetched: boolean\n totalCost: number\n totalEmissions: number\n totalKwh: number\n}\n\nexport interface ScopeThreeEmissionsData {\n graphData: ScopeThreeEmissionsGraphItem[]\n isFetched: boolean\n totalEmissions: number\n}\n\ninterface OrganizationDashboardScopeSectionProps {\n OrgDashboardE2eAttr: OrgDashboardDataE2eAttributes\n isLimitedAccessUser: boolean\n scopeOneProps: ScopeOneEmissionsData\n scopeThreeProps: ScopeThreeEmissionsData\n scopeTwoCarbonIntensityProps: {\n carbonFreeKwh: number\n isScope2CarbonIntensityLoading: boolean\n mtCo2E: number\n totalMwh: number\n }\n scopeTwoProps: ScopeTwoEmissionsData\n}\n\nconst scopeTwoGraphColorData = new Map([\n [\n \"lowest\",\n {\n name: \"lowest\",\n ratio: 0.25,\n color: carbonIntensity1,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"low\",\n {\n name: \"low\",\n ratio: 0.125,\n color: carbonIntensity2,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"medium low\",\n {\n name: \"medium low\",\n ratio: 0.125,\n color: carbonIntensity3,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"medium high\",\n {\n name: \"medium high\",\n ratio: 0.125,\n color: carbonIntensity4,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"high\",\n {\n name: \"high\",\n ratio: 0.125,\n color: carbonIntensity5,\n stroke: false,\n fill: \"\",\n },\n ],\n [\n \"highest\",\n {\n name: \"highest\",\n ratio: 0.25,\n color: carbonIntensity6,\n stroke: false,\n fill: \"\",\n },\n ],\n])\n\nconst OrganizationDashboardScopeSection = ({\n isLimitedAccessUser,\n OrgDashboardE2eAttr,\n scopeOneProps,\n scopeThreeProps,\n scopeTwoProps,\n scopeTwoCarbonIntensityProps,\n}: OrganizationDashboardScopeSectionProps): JSX.Element => {\n const scopeTwoCarbonIntensity =\n (scopeTwoCarbonIntensityProps?.mtCo2E ?? NaN) /\n (scopeTwoCarbonIntensityProps?.totalMwh ?? NaN)\n\n const carbonIntensityGraphData: Parameters[0][\"graphData\"] =\n {\n ...CarbonIntensityGraphDefaults,\n ...{\n classNamePrepend: \"organization\",\n // Provides the graph as a square, and in a multiple of 4 px\n viewWidth: 236,\n viewHeight: 236,\n data: scopeTwoGraphColorData,\n },\n ...{\n overlayData: {\n ...CarbonIntensityGraphDefaults.overlayData,\n name: \"\",\n displayValue: scopeTwoCarbonIntensity,\n ratio:\n scopeTwoCarbonIntensity / CarbonIntensityGraphDefaults.domain[1],\n color: new Color(),\n },\n },\n }\n\n const isAbleToDisplayCarbonIntensity = Number.isFinite(\n scopeTwoCarbonIntensity\n )\n\n return (\n <>\n {/* Scope 3 Module */}\n \n 0 ? (\n \n ) : (\n \n )\n }\n isLoading={!scopeThreeProps?.isFetched}\n minHeight={SCOPE_CARD_HEIGHT}\n title=\"Scope 3\"\n tooltip={\n \n }\n />\n \n\n {/* Scope 1 Module */}\n \n 0 ? (\n \n ) : (\n \n )\n }\n isLoading={!scopeOneProps.isFetched}\n minHeight={SCOPE_CARD_HEIGHT}\n title=\"Scope 1\"\n tooltip={\n \n }\n />\n \n\n {/* Scope 2 Module */}\n \n 0 ? (\n \n ) : (\n \n )\n }\n isLoading={!scopeTwoProps.isFetched}\n minHeight={SCOPE_CARD_HEIGHT}\n title=\"Scope 2\"\n tooltip={\n \n }\n />\n \n\n {/* Scope 2 Carbon Intensity */}\n \n \n \n \n \n ) : (\n \n )\n }\n contentSx={\n isAbleToDisplayCarbonIntensity\n ? {\n padding: `${pxToRem(40)} ${pxToRem(24)} ${pxToRem(\n 24\n )} ${pxToRem(24)}`,\n gap: pxToRem(24),\n }\n : {}\n }\n isLoading={\n scopeTwoCarbonIntensityProps?.isScope2CarbonIntensityLoading\n }\n minHeight={SCOPE_CARD_HEIGHT}\n title=\"Scope 2 Carbon Intensity\"\n tooltip={\n \n }\n />\n \n \n )\n}\n\nexport default OrganizationDashboardScopeSection\n","import { flatMap, pick } from \"lodash-es\"\nimport type { Moment } from \"moment\"\nimport type { IncludeScope } from \"spraypaint\"\nimport { Attr, BelongsTo, Model } from \"spraypaint\"\nimport { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\nimport type { FieldArg } from \"spraypaint/lib-esm/scope\"\n\nimport type {\n IDepartmentSummary,\n IDepartmentSummaryDto,\n OrganizationChildrenSummary,\n} from \"../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport {\n renameKeysToSnakeCase,\n snakeCaseToCamelCase,\n} from \"../utils/formatters\"\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Site from \"./site\"\n\ntype EnergyTotals = Record<\n | \"carbon_equivalent_emission_lbs\"\n | \"carbon_free_kwh\"\n | \"carbon_based_kwh\"\n | \"battery_based_kwh\"\n | \"unknown_resource_based_kwh\",\n BigDecimal\n>\n\ninterface ISiteSummaryDto extends IDepartmentSummaryDto {\n site_id: number\n site_name: string\n}\n\nexport interface ISiteSummary extends IDepartmentSummary {\n siteId: number\n siteName: string\n}\n\nexport interface SiteSummary extends OrganizationChildrenSummary {\n siteId: number\n siteName: string\n}\n\n@Model()\nexport default class MonthSummary extends ApplicationRecord {\n public static jsonapiType = \"month_summaries\"\n\n @BelongsTo(\"sites\") public site: Site\n\n @Attr() public startDate: string\n\n @Attr() public endDate: string\n\n @Attr() public avgKwhPerDay: number\n\n @Attr() public co2eLbs: BigDecimal\n\n @Attr() public costDollars: string\n\n @Attr() public meteredKwh: number\n\n @Attr() public carbonFreeKwh: BigDecimal\n\n @Attr() public unknownResourceBasedKwh: BigDecimal\n\n @Attr() public carbonBasedKwh: BigDecimal\n\n @Attr() public batteryBasedKwh: BigDecimal\n\n @Attr() public energyTotals: EnergyTotals\n}\n\n/**\n * @deprecated\n */\nexport const getSiteTotals = (\n orgId: string,\n deptId: string,\n startDate: Moment,\n endDate: Moment\n): Promise => {\n if (deptId != null) {\n return MonthSummary.where({\n department_id: deptId,\n start_date: startDate.format(\"YYYY-MM-DD\"),\n end_date: endDate.clone().endOf(\"month\").format(\"YYYY-MM-DD\"),\n })\n .stats({\n site_totals: \"calculate\",\n })\n .per(0)\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: ISiteSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.site_totals.calculate.map(\n (siteTotal: ISiteSummaryDto) =>\n // Transform numbers as strings into numbers\n // The BE shouldn't be delivering numbers as strings\n ({\n ...siteTotal,\n confirm_cost_minor: Number.parseFloat(\n siteTotal.confirm_cost_minor\n ),\n cost_major: Number.parseFloat(siteTotal.cost_major),\n energy_cost_minor: Number.parseFloat(\n siteTotal.energy_cost_minor\n ),\n imbalance_cost_minor: Number.parseFloat(\n siteTotal.imbalance_cost_minor\n ),\n metered_kwh: Number.parseFloat(siteTotal.metered_kwh),\n scheduling_cost_minor: Number.parseFloat(\n siteTotal.scheduling_cost_minor\n ),\n sq_ft: Number.parseFloat(siteTotal.sq_ft),\n transmission_cost_major: Number.parseFloat(\n siteTotal.transmission_cost_major\n ),\n })\n )\n )\n\n return data\n })\n }\n return MonthSummary.where({\n organization_id: orgId,\n start_date: startDate.format(\"YYYY-MM-DD\"),\n end_date: endDate.clone().endOf(\"month\").format(\"YYYY-MM-DD\"),\n })\n .stats({\n site_totals: \"calculate\",\n })\n .per(0)\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: ISiteSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.site_totals.calculate.map(\n (siteTotal: ISiteSummaryDto) =>\n // Transform numbers as strings into numbers\n // The BE shouldn't be delivering numbers as strings\n ({\n ...siteTotal,\n confirm_cost_minor: Number.parseFloat(\n siteTotal.confirm_cost_minor\n ),\n cost_major: Number.parseFloat(siteTotal.cost_major),\n energy_cost_minor: Number.parseFloat(siteTotal.energy_cost_minor),\n imbalance_cost_minor: Number.parseFloat(\n siteTotal.imbalance_cost_minor\n ),\n metered_kwh: Number.parseFloat(siteTotal.metered_kwh),\n scheduling_cost_minor: Number.parseFloat(\n siteTotal.scheduling_cost_minor\n ),\n sq_ft: Number.parseFloat(siteTotal.sq_ft),\n transmission_cost_major: Number.parseFloat(\n siteTotal.transmission_cost_major\n ),\n })\n )\n )\n\n return data\n })\n}\n\nexport const getMonthSummaries = ({\n organizationId,\n pageSize = 1000,\n ...rest // start_date or end_date\n}: {\n organizationId: string | string[]\n pageSize?: number\n}) =>\n MonthSummary.where({\n organization_id: organizationId,\n ...rest,\n })\n .per(pageSize)\n .all()\n .then(({ data }) => data)\n\n/**\n * Fetches Month Summary Data in pages, determined by the number of 1000 records that the backend would return\n * See EnergyAllocation.fetchInPages\n *\n * @async\n * @param root0\n * @param root0.clause\n * @param root0.clause.siteId\n * @param root0.clause.organizationId\n * @param root0.includes\n * @param root0.selects\n * @param root0.stats\n * @returns {Promise>} a collection of Month Summaries that can be greater than 1000 records\n */\nexport const fetchInPages = async ({\n clause,\n includes = \"\",\n selects = [],\n stats = {},\n}: {\n clause: {\n [x: string]: string | string[]\n organizationId?: string | string[]\n siteId?: string\n }\n includes?: IncludeScope\n selects?: FieldArg\n stats?: Record\n}): Promise> => {\n const defaultStats = { total: \"count\" }\n const whereObj = renameKeysToSnakeCase(clause)\n const metaParams = pick(whereObj, [\n \"start_date\",\n \"end_date\",\n \"site_id\",\n \"organization_id\",\n ])\n const monthSummaryMeta = await MonthSummary.where(metaParams)\n .stats(defaultStats)\n .per(0)\n .all()\n\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n let recordCount = monthSummaryMeta.meta.stats.total.count\n const promises: Promise>[] = []\n let pageCount = 1\n while (recordCount > 0) {\n promises.push(\n MonthSummary.where(whereObj)\n .stats(stats)\n .includes(includes)\n .order(\"id\")\n .select(selects)\n .per(1000)\n .page(pageCount)\n .all()\n )\n pageCount += 1\n recordCount -= 1000\n }\n const monthSummaries = await Promise.all(promises)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const monthSummaryStats: Record>[] =\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n monthSummaries.map((ea) => ea.meta.stats)\n const reduceStats = (statsArray: typeof monthSummaryStats) => {\n const statKeys: string[][] = Object.entries(stats)\n if (statsArray.length === 0) {\n return\n }\n\n return statsArray.reduce((accumulatedStats, current) => {\n statKeys.forEach(([statKey, statKeyType]) => {\n if (\n accumulatedStats &&\n statKey in accumulatedStats &&\n statKeyType in accumulatedStats[statKey] &&\n current &&\n statKey in current &&\n statKeyType in current[statKey]\n ) {\n accumulatedStats[statKey][statKeyType] =\n current[statKey][statKeyType] +\n accumulatedStats[statKey][statKeyType]\n } else if (\n current &&\n statKey in current &&\n statKeyType in current[statKey] &&\n accumulatedStats &&\n !(statKey in accumulatedStats)\n ) {\n accumulatedStats[statKey] = current[statKey]\n }\n })\n return accumulatedStats\n })\n }\n\n return new CollectionProxy(\n flatMap(monthSummaries, (ea) => ea.data),\n {\n data: flatMap(monthSummaries, (collection) => collection.raw.data),\n meta: { stats: reduceStats(monthSummaryStats) },\n }\n )\n}\n","import MonthSummary from \"../../../../models/monthSummary\"\n\ninterface GetTotalElectricityCostProps {\n /**\n * The end date of the date range to get the total electricity cost for\n */\n endDate: string\n /**\n * The id of the organization to get the total electricity cost for\n */\n organizationId: string\n /**\n * The start date of the date range to get the total electricity cost for\n */\n startDate: string\n}\n\nexport interface GetTotalElectricityCostValue {\n /**\n * The total energy consumption value\n */\n total: number\n}\n\nexport const getElectricityCost = async ({\n organizationId,\n startDate,\n endDate,\n}: GetTotalElectricityCostProps): Promise => {\n const monthSummaries = await MonthSummary.stats({\n cost_major: \"sum\",\n })\n .where({\n organization_id: organizationId,\n startDate,\n endDate,\n })\n .per(0)\n .all()\n\n const stats = monthSummaries.meta.stats as Record<\n string,\n Record\n >\n\n return { total: Number(stats.cost_major.sum) }\n}\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getElectricityCost } from \"./useElectricityCostUtils\"\n\n/**\n * This hook fetches and provides the total electricity cost for a given organization\n *\n * @param orgId - The id of the organization whose dates to get\n * @param dateRange - The date range to get the report dates for\n * @returns The total electricity cost of the top-most user accessible group for the given organization\n *\n * @example\n * ```tsx\n * import { useElectricityCost } from '../services'\n *\n * const {\n * electricityCost,\n * isElectricityCostFetched,\n * isElectricityCostLoading\n * } = useElectricityCost(orgId, Interval.fromISO(\"2022-01-01/2022-12-31\"))\n * ```\n */\nexport const useElectricityCost = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(ApiQueryName.ElectricityCost, \"getOne\", orgId, {\n dateRange: dateRange.toISODate(),\n })\n\n const queryFn = () =>\n getElectricityCost({\n organizationId: orgId,\n startDate: dateRange.start?.toISODate(),\n endDate: dateRange.end?.toISODate(),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class OrganizationEmissionDay extends ApplicationRecord {\n public static jsonapiType = \"organization_emission_days\"\n\n @Attr() public amount: string\n\n @Attr() public category: string\n\n @Attr() public kgCo2e: string\n\n @Attr() public name: string\n\n @Attr() public scope: string\n\n @Attr() public subCategory: string\n\n get parsedKgCo2e() {\n return parseFloat(this.kgCo2e)\n }\n}\n","import { Scope } from \"./scope\"\n\nexport enum ResourceName {\n Electricity = \"Electricity\",\n Fuel = \"Fuel\",\n NaturalGas = \"Natural Gas\",\n Refrigerants = \"Refrigerants\",\n Water = \"Water\",\n}\n\nexport interface IResource {\n id: string\n name: ResourceName\n order: number\n scope?: Scope\n}\n\ninterface IResourceMap {\n Electricity: IResource\n Fuel: IResource\n NaturalGas: IResource\n Refrigerants: IResource\n Water: IResource\n}\n\nexport const Resource: IResourceMap = {\n Electricity: {\n id: \"1\",\n name: ResourceName.Electricity,\n order: 1,\n scope: Scope.Two,\n },\n NaturalGas: {\n id: \"2\",\n name: ResourceName.NaturalGas,\n order: 2,\n scope: Scope.One,\n },\n Fuel: {\n id: \"3\",\n name: ResourceName.Fuel,\n order: 3,\n scope: Scope.One,\n },\n Water: {\n id: \"4\",\n name: ResourceName.Water,\n order: 4,\n scope: Scope.None,\n },\n Refrigerants: {\n id: \"5\",\n name: ResourceName.Refrigerants,\n order: 5,\n scope: Scope.One,\n },\n}\n\n// migration to strict mode batch disable\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const resources: IResource[] = Object.values(Resource)\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class SiteEmissionDay extends ApplicationRecord {\n public static jsonapiType = \"site_emission_days\"\n\n @Attr() public amount: number\n\n @Attr() public category: string\n\n @Attr() public kgCo2e: string\n\n @Attr() public name: string\n\n @Attr() public scope: string\n\n @Attr() public subCategory: string\n\n /**\n * @deprecated Use the kgCo2e property and retype it to a number\n */\n get parsedKgCo2e() {\n return parseFloat(this.kgCo2e)\n }\n}\n","import { groupBy, map } from \"lodash-es\"\n\nimport OrganizationEmissionDay from \"../../../../models/organizationEmissionDay\"\nimport { ResourceName } from \"../../../../models/resource\"\nimport { Scope } from \"../../../../models/scope\"\nimport SiteEmissionDay from \"../../../../models/siteEmissionDay\"\nimport { KG_PER_METRIC_TON } from \"../../../../utils/constants\"\nimport type { EmissionDayStats } from \"../../models/dashboard\"\n\ninterface EmissionDaysProps {\n organizationId: string\n rangeEnd: string\n rangeStart: string\n scopes: number[]\n siteIds: string[]\n}\n\nexport interface EmissionsDayStats {\n directEmissionStats: EmissionDayStats[]\n directEmissions: number\n indirectEmissionStats: EmissionDayStats[]\n indirectEmissions: number\n waterEmissionStats: EmissionDayStats[]\n waterEmissions: number\n}\n\nconst reduceEmissionStatsByName = (siteAndOrgEmissionStats) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n map(groupBy(siteAndOrgEmissionStats, \"name\"), (group, name) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n group.reduce(\n (acc, obj) => {\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n acc.amount += parseFloat(obj.amount)\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n acc.kgCo2e += parseFloat(obj.kg_co2e)\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return acc\n },\n {\n name,\n amount: 0.0,\n kgCo2e: 0.0,\n }\n )\n )\n\nexport const fetchEmissionDays = async ({\n organizationId,\n siteIds,\n rangeStart,\n rangeEnd,\n scopes,\n}: EmissionDaysProps): Promise => {\n const siteEmissionDaysPromise = SiteEmissionDay.stats({\n amount_and_kg_co2e_by_resource_name: \"sum\",\n })\n .where({\n day: {\n gte: rangeStart,\n lte: rangeEnd,\n },\n site_id: siteIds,\n scopes,\n })\n .per(0)\n .all()\n .then((data) => data)\n\n const orgEmissionDaysPromise = OrganizationEmissionDay.stats({\n amount_and_kg_co2e_by_resource_name: \"sum\",\n })\n .where({\n day: {\n gte: rangeStart,\n lte: rangeEnd,\n },\n organization_id: organizationId,\n scopes,\n })\n .per(0)\n .all()\n .then((data) => data)\n\n return Promise.all([siteEmissionDaysPromise, orgEmissionDaysPromise]).then(\n (resolvedPromises) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n resolvedPromises\n .reduce((acc, resolvedPromise) => {\n acc.push(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n resolvedPromise.meta.stats.amount_and_kg_co2e_by_resource_name.sum\n )\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return acc\n }, [])\n .flat()\n )\n}\n\nexport const filterEmissionStats = (\n emissionStats: EmissionDayStats[]\n): EmissionsDayStats => {\n if (!emissionStats) {\n return {\n directEmissions: 0,\n indirectEmissions: 0,\n waterEmissions: 0,\n directEmissionStats: [],\n indirectEmissionStats: [],\n waterEmissionStats: [],\n }\n }\n const indirectEmissionStatsByName = reduceEmissionStatsByName(\n emissionStats.filter((emission) => emission.scope === Scope.Three)\n )\n\n const indirectEmissionsTonsCo2e =\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n indirectEmissionStatsByName.reduce((sum, stats) => sum + stats.kgCo2e, 0) /\n KG_PER_METRIC_TON\n\n const waterEmissionStatsByName = reduceEmissionStatsByName(\n emissionStats.filter((emission) => emission.name === ResourceName.Water)\n )\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const waterEmissionsAmount = waterEmissionStatsByName.reduce(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (sum, stats) => sum + stats.amount,\n 0\n )\n\n const directEmissionStatsByName = reduceEmissionStatsByName(\n emissionStats.filter((emission) => emission.scope === Scope.One)\n )\n\n const directEmissionsTonsCo2e =\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n directEmissionStatsByName.reduce((sum, stats) => sum + stats.kgCo2e, 0) /\n KG_PER_METRIC_TON\n\n return {\n directEmissions: directEmissionsTonsCo2e,\n indirectEmissions: indirectEmissionsTonsCo2e,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n waterEmissions: waterEmissionsAmount,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n directEmissionStats: directEmissionStatsByName,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n indirectEmissionStats: indirectEmissionStatsByName,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n waterEmissionStats: waterEmissionStatsByName,\n }\n}\n\nexport default { fetchEmissionDays, filterEmissionStats }\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { EmissionsDayStats } from \"./useEmissionsStatsUtils\"\nimport {\n fetchEmissionDays,\n filterEmissionStats,\n} from \"./useEmissionsStatsUtils\"\n\n/**\n * The useEmissionsStats service/hook returns the direct, indirect, and water emissions stats\n * for a given organization, site ids, and date range.\n *\n * @returns The useEmissionsStatsHook\n * @example\n * const {\n * useEmissionsStats,\n * isUseEmissionsStatsLoading\n * } = useEmissionsStats(8, [23, 24], Interval.fromISO(\"2022-01-01/2022-12-31\"), [1, 3])\n */\nexport const useEmissionsStats = (\n organizationId: string,\n siteIds: string[],\n dateRange: Interval,\n scopes: number[]\n) => {\n const queryKey = useQueryKey(ApiQueryName.EmissionsStats, \"getOne\", null, {\n organizationId,\n siteIds,\n dateRange: dateRange.toISODate(),\n scopes,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () =>\n fetchEmissionDays({\n organizationId,\n siteIds,\n rangeStart: dateRange.start?.toISODate(),\n rangeEnd: dateRange.end?.toISODate(),\n scopes,\n }),\n enabled:\n !!organizationId &&\n !!siteIds?.length &&\n dateRange.isValid &&\n !!scopes?.length,\n })\n\n // TODO: Remove the type conversion when we have this properly typed\n const filteredQueryResult = {\n ...queryResult,\n data: filterEmissionStats(queryResult.data),\n } as UseQueryResult\n\n return useRenamedQueryResult(queryKey, filteredQueryResult)\n}\n","import ReportingData from \"../../../../models/reportingData\"\nimport { GJ_PER_KWH, GJ_PER_THERM } from \"../../../../utils\"\n\nexport interface EnergyConsumptionBase {\n department_id: number | null\n department_name: string | null\n electricity_co2e_lbs: number\n fuel_co2e_lbs: number\n kwh: number\n month: number\n natural_gas_co2e_lbs: number\n natural_gas_thms: number\n refrigerant_co2e_lbs: number\n site_id: number | null\n site_name: string | null\n water_gallons: number\n year: number\n}\n\ninterface GetTotalEnergyConsumptionProps {\n /**\n * The end date of the date range to get the total energy consumption for\n */\n endDate: string\n /**\n * The id of the organization to get the total energy consumption for\n */\n organizationId: string\n /**\n * The start date of the date range to get the total energy consumption for\n */\n startDate: string\n}\n\nexport interface GetTotalEnergyConsumptionValue {\n /**\n * The total energy consumption value\n */\n total: number\n}\n\n/**\n * Reduces report data to a total energy consumption value\n * @param reportRawData The array of IReportDataRawDto objects to reduce\n * @returns The total energy consumption value\n */\nexport const reduceReportDataRawDtosToTotalEnergyConsumption = (\n reportRawData: EnergyConsumptionBase[]\n): number =>\n /* Electricity falls under Scope 1 and natural gas falls under Scope 2. Convert the\n returned kWh and Therm values to GJ */\n reportRawData.reduce((totalEnergyConsumption, rawReportDatum) => {\n totalEnergyConsumption += (rawReportDatum.kwh || 0) * GJ_PER_KWH\n totalEnergyConsumption +=\n (rawReportDatum.natural_gas_thms || 0) * GJ_PER_THERM\n\n return totalEnergyConsumption\n }, 0)\n\n/**\n * This util fetches the total energy consumption for a given organization\n */\nexport const getEnergyConsumption = async ({\n organizationId,\n startDate,\n endDate,\n}: GetTotalEnergyConsumptionProps): Promise =>\n ReportingData.where({\n organization_id: Number(organizationId),\n start_date: startDate,\n end_date: endDate,\n })\n .stats({\n data: \"calculate\",\n })\n .all()\n .then((result) => {\n const stats = result.meta.stats as Record>\n const parsedResult = JSON.parse(\n stats.data.calculate\n ) as EnergyConsumptionBase[]\n\n const res = reduceReportDataRawDtosToTotalEnergyConsumption(parsedResult)\n return {\n total: res,\n }\n })\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getEnergyConsumption } from \"./useEnergyConsumptionUtils\"\n\n/**\n * The useEnergyConsumption hook fetches the total energy consumption for a given organization\n *\n * @param orgId - The id of the organization whose dates to get\n * @param dateRange - The date range to get the report dates for\n * @returns The total energy consumption of the top-most user accessible group for the given organization\n *\n * @example\n * ```tsx\n * import { useEnergyConsumption } from '../services'\n *\n * const {\n * energyConsumption,\n * isEnergyConsumptionFetched,\n * isEnergyConsumptionLoading\n * } = useEnergyConsumption(orgId, Interval.fromISO(\"2022-01-01/2022-12-31\"))\n * ```\n */\nexport const useEnergyConsumption = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(\n ApiQueryName.EnergyConsumption,\n \"getOne\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n ignoreCurrency: true,\n }\n )\n\n const queryFn = () =>\n getEnergyConsumption({\n organizationId: orgId,\n startDate: dateRange.start?.toISODate(),\n endDate: dateRange.end?.toISODate(),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import type { Interval } from \"luxon\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport MonthSummary from \"../../../../models/monthSummary\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\n\ninterface IGetCo2eLbsAndCarbonFreeKwh {\n data: Record<\n | \"carbonBasedKwh\"\n | \"carbonFreeKwh\"\n | \"unknownResourceBasedKwh\"\n | \"batteryBasedKwh\"\n | \"carbonEquivalentEmissionLbs\",\n number\n >\n stats: {\n batteryBasedKwh: Record<\"sum\", number>\n carbonBasedKwh: Record<\"sum\", number>\n carbonFreeKwh: Record<\"sum\", number>\n co2ELbs: Record<\"sum\", number>\n unknownResourceBasedKwh: Record<\"sum\", number>\n }\n}\n\n/**\n * Queries the API for a MonthSummary in range of the startTime, endTime and organizationId\n * and stats in range of the startTime, endTime and organizationId.\n *\n * Note the only consumer of this function that uses data is only using carbonEquivalentEmissionLbs.\n * It is not clear why we are returning all of the other data\n * or why carbonEquivalentEmissionLbs is used instead of the total sum co2ELbs.\n *\n * @returns The stat for sums in range and the attributes for the result as data.\n * @example\n * const {\n * meta,\n * stats,\n * } = getCo2eLbsAndCarbonFreeKwh({\n * organizationId: \"1\",\n * dateRange: Interval.fromISO(\"2022-01-01/2022-02-28\"),\n * })\n */\nconst getCo2eLbsAndCarbonFreeKwh = ({\n dateRange,\n organizationId,\n}: {\n dateRange: Interval\n organizationId: string | string[]\n}): Promise =>\n MonthSummary.where({\n organization_id: organizationId,\n start_date: dateRange.start?.toISODate(),\n // api/v1/monthSummary queries require end_date to be the last day of the month\n end_date: dateRange.end?.endOf(\"month\").toISODate(),\n })\n .stats({\n carbon_free_kwh: \"sum\",\n co2e_lbs: \"sum\",\n unknown_resource_based_kwh: \"sum\",\n carbon_based_kwh: \"sum\",\n battery_based_kwh: \"sum\",\n })\n .per(1)\n .all()\n .then(({ meta, data }: CollectionProxy) => {\n // Turns the stats from snake_case to camelCase and converts the values to floats\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const statsWithFloatValues = Object.entries(meta.stats).map(\n ([k, v]: [\n keyof IGetCo2eLbsAndCarbonFreeKwh[\"stats\"],\n Record<\"sum\", string>,\n ]) => [k, { sum: parseFloat(v.sum) }]\n )\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const unFormattedStats = Object.fromEntries(statsWithFloatValues)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const stats: IGetCo2eLbsAndCarbonFreeKwh[\"stats\"] =\n snakeCaseToCamelCase(unFormattedStats)\n // Exit early statement\n if (data.length === 0 || data[0]?.energyTotals === null) {\n return {\n stats,\n data: {\n // Not sure the reason we don't just return an empty object or null here\n carbonBasedKwh: 0,\n carbonFreeKwh: 0,\n unknownResourceBasedKwh: 0,\n batteryBasedKwh: 0,\n carbonEquivalentEmissionLbs: 0,\n } as IGetCo2eLbsAndCarbonFreeKwh[\"data\"],\n }\n }\n // Turns the energyTotals from snake_case to camelCase and converts the values to floats\n const energyTotalEntriesWithFloatValues = Object.entries(\n data[0].energyTotals\n ).map(([k, v]) => [k, parseFloat(v)])\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const unFormattedEnergyTotals = Object.fromEntries(\n energyTotalEntriesWithFloatValues\n )\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const formattedEnergyTotals: IGetCo2eLbsAndCarbonFreeKwh[\"data\"] =\n snakeCaseToCamelCase(unFormattedEnergyTotals)\n\n return {\n stats,\n data: formattedEnergyTotals,\n }\n })\n\nexport { getCo2eLbsAndCarbonFreeKwh }\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getCo2eLbsAndCarbonFreeKwh } from \"./useEnergyStatsUtils\"\n\nexport const useEnergyStats = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(ApiQueryName.EnergyStats, \"getOne\", orgId, {\n dateRange: dateRange.toISODate(),\n ignoreCurrency: true,\n })\n\n const queryFn = () =>\n getCo2eLbsAndCarbonFreeKwh({\n dateRange,\n organizationId: orgId,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Organization } from \"@/services/organization/useOrganization\"\nimport type { Interval } from \"luxon\"\n\nimport MonthSummary from \"../../../../models/monthSummary\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\n\ninterface GroupSummary {\n confirmCostMinor: number | null\n costMajor: number | null\n currencyId: number | null\n energyCostMinor: number | null\n id: number | string | null\n imbalanceCostMinor: number | null\n meteredKwh: number | null\n schedulingCostMinor: number | null\n transmissionCostMajor: number | null\n}\n\ninterface IDepartmentSummary extends GroupSummary {\n departmentId: number | null\n departmentName: string\n}\n\ninterface OrganizationChildrenSummary extends GroupSummary {\n organizationalUnitId: number | null\n organizationalUnitName: string\n}\n\ninterface IDepartmentSummaryDto {\n confirm_cost_minor: string\n cost_major: string\n currency_id: number\n department_id: number\n department_name: string\n energy_cost_minor: string\n id: number | string | null\n imbalance_cost_minor: string\n metered_kwh: string\n scheduling_cost_minor: string\n sq_ft: string | null\n transmission_cost_major: string\n}\n\ninterface OrganizationChildrenSummaryDto {\n confirm_cost_minor: string\n cost_major: string\n currency_id: number\n energy_cost_minor: string\n id: number | string | null\n imbalance_cost_minor: string\n metered_kwh: string\n organizational_unit_id: number\n organizational_unit_name: string\n scheduling_cost_minor: string\n sq_ft: string | null\n transmission_cost_major: string\n}\n\nconst transformTotalValuesToNumeric = (totalValues: IDepartmentSummaryDto) => ({\n ...totalValues,\n confirm_cost_minor: Number.parseFloat(totalValues.confirm_cost_minor),\n cost_major: Number.parseFloat(totalValues.cost_major),\n energy_cost_minor: Number.parseFloat(totalValues.energy_cost_minor),\n imbalance_cost_minor: Number.parseFloat(totalValues.imbalance_cost_minor),\n metered_kwh: Number.parseFloat(totalValues.metered_kwh),\n scheduling_cost_minor: Number.parseFloat(totalValues.scheduling_cost_minor),\n sq_ft: Number.parseFloat(totalValues.sq_ft),\n transmission_cost_major: Number.parseFloat(\n totalValues.transmission_cost_major\n ),\n})\n\nconst getDepartmentTotals = async (\n orgId: string,\n dateRange: Interval\n): Promise => {\n const response = MonthSummary.where({\n organization_id: orgId,\n start_date: dateRange.start?.toISODate(),\n end_date: dateRange.end?.endOf(\"month\").toISODate(),\n })\n .stats({\n department_totals: \"calculate\",\n })\n .per(0)\n .all()\n return response.then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: IDepartmentSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.department_totals.calculate.map(\n transformTotalValuesToNumeric\n )\n )\n\n return data\n })\n}\n\n/**\n * The getOrganizationChildrenTotals function is a hook that returns the totals of the organization's children\n *\n * @param orgId - The id of the organization we are fetching the children totals for\n * @param startDate - The start date of the totals we are fetching\n * @param endDate - The end date of the totals we are fetching\n * @returns The organization children totals\n *\n * @example\n * ```tsx\n * import { getOrganizationChildrenTotals } from '@/services/useOrgSummaryStats/useOrgSummaryStatsUtils'\n *\n * const {\n * organizationChildrenTotals,\n * isOrganizationChildrenTotalsFetched,\n * isOrganizationChildrenTotalsLoading\n * } = useOrganizationChildrenTotals(organizationId, startDate, endDate)\n * ```\n */\nconst getOrganizationChildrenTotals = async (\n orgId: string,\n dateRange: Interval\n): Promise => {\n const response = MonthSummary.where({\n organization_id: orgId,\n start_date: dateRange.start?.toISODate(),\n end_date: dateRange.end?.endOf(\"month\").toISODate(),\n })\n .stats({\n organization_children_totals: \"calculate\",\n })\n .per(0)\n .all()\n return response.then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: OrganizationChildrenSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.organization_children_totals.calculate.map(\n transformTotalValuesToNumeric\n )\n )\n\n return data\n })\n}\n\nexport {\n getDepartmentTotals,\n getOrganizationChildrenTotals,\n type GroupSummary,\n type IDepartmentSummary,\n type IDepartmentSummaryDto,\n type OrganizationChildrenSummary,\n type OrganizationChildrenSummaryDto,\n}\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport {\n getDepartmentTotals,\n getOrganizationChildrenTotals,\n} from \"./useOrgSummaryStatsUtils\"\n\n/**\n * The orgSummaryStats service/hook returns the summary stats for an organization based on\n * the parameter provided\n *\n * @param orgId - The id of the organization to get the summary stats for\n * @param dateRange - The date range from where we get the summary stats\n * @param isUseFlexibleHierarchyEnabled - Whether or not the flexible hierarchy feature is enabled\n * @returns The summary stats for an organization\n *\n * @example\n * ```tsx\n * import { useOrgSummaryStats } from '../services'\n *\n * const {\n * orgSummaryStats,\n * isOrgSummaryStatsFetched,\n * isOrgSummaryStatsLoading\n * } = useOrgSummaryStats(23, Interval.fromISO('2022-01-01/2022-12-31'))\n * ```\n */\nexport const useOrgSummaryStats = (\n orgId: string,\n dateRange: Interval,\n options?: { isBundled?: boolean; isUseFlexibleHierarchyEnabled?: boolean }\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.OrganizationSummaryStats,\n \"getMany\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n }\n )\n\n // TODO: Remove this once the flexible hierarchy feature is enabled by default\n const getGroupTotals = options?.isUseFlexibleHierarchyEnabled\n ? getOrganizationChildrenTotals\n : getDepartmentTotals\n\n const isFlexibleHierarchyEnabledOrDefault =\n options?.isUseFlexibleHierarchyEnabled ? options?.isBundled : true\n\n const queryResult = useQuery<\n Awaited> | undefined\n >({\n queryKey,\n queryFn: () => getGroupTotals(orgId, dateRange),\n enabled:\n !!orgId && isFlexibleHierarchyEnabledOrDefault && dateRange.isValid,\n keepPreviousData: true,\n })\n\n // We need to cast queryResult as any because this service can return two different types of data types.\n // After flexible hierarchy is enabled for everyone, we can remove the use of IDepartmentSummary, which\n // should address this issue.\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any\n return useRenamedQueryResult(queryKey, queryResult as any)\n}\n","import { Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class ScopeOneReportingData extends ApplicationRecord {\n public static jsonapiType = \"scope_one_reports\"\n}\n","import type { ScopeEmissionBase } from \"../../../../models/scope\"\nimport ScopeOneReportingData from \"../../../../models/scopeOne\"\nimport { snakeCaseToCamelCase } from \"../../../../utils\"\n\ninterface FetchScopeOneEmissionsProps {\n endMonth: string\n organizationId: number\n startMonth: string\n year: string\n}\n\nexport interface FetchScopeOneEmissionsValue extends ScopeEmissionBase {\n categoryId: number\n categoryName: string\n subcategoryId: number\n subcategoryName: string\n}\n\ninterface FetchScopeOneReportingDataFilters {\n end_month: string\n organization_ids: number\n start_month: string\n year: string\n}\n\nexport const fetchScopeOneEmissions = ({\n organizationId,\n startMonth,\n endMonth,\n year,\n}: FetchScopeOneEmissionsProps): Promise => {\n const filters: FetchScopeOneReportingDataFilters = {\n organization_ids: organizationId,\n year,\n start_month: startMonth,\n end_month: endMonth,\n }\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return ScopeOneReportingData.where(filters)\n .stats({\n scope_one_reporting_data: \"calculate\",\n })\n .all()\n .then((result) => {\n const stats = result.meta.stats as Record<\n string,\n Record\n >\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return (\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n snakeCaseToCamelCase(stats.scope_one_reporting_data.calculate).map(\n (emission: FetchScopeOneEmissionsValue) => ({\n ...emission,\n // The API returns mtCo2E as a string, but it's a number\n mtCo2E: Number.parseFloat(emission.mtCo2E as unknown as string),\n })\n )\n )\n })\n}\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchScopeOneEmissions } from \"./useScopeOneEmissionsUtils\"\n\n/**\n * This hook fetches and provides the scope one emissions for a given organization\n *\n * @param orgId - The id of the organization whose dates to get\n * @param dateRange - The date range to get the report dates for\n * @returns The scope one emissions of the top-most user accessible group for the given organization\n *\n * @example\n * ```tsx\n * import { useScopeOneEmissions } from '../services'\n *\n * const {\n * scopeOneData,\n * isScopeOneDataFetched,\n * isScopeOneDataLoading\n * } = useScopeOneEmissions(orgId, Interval.fromISO(\"2022-01-01/2022-12-31\"))\n * ```\n */\nexport const useScopeOneEmissions = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(\n ApiQueryName.ScopeOneEmissions,\n \"getMany\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n }\n )\n\n const queryFn = () =>\n fetchScopeOneEmissions({\n organizationId: Number(orgId),\n startMonth: dateRange.start?.month.toString(),\n endMonth: dateRange.end?.month.toString(),\n year: dateRange.start?.year.toString(),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { DateTime } from \"luxon\"\n\nimport { fetchInPages } from \"../../../../models/monthSummary\"\nimport type { ScopeEmissionBase } from \"../../../../models/scope\"\nimport { poundsToMetricTon } from \"../../../../utils\"\n\ninterface FetchScopeTwoEmissionsProps {\n endDate: string\n organizationId: string\n startDate: string\n}\n\nexport interface FetchScopeTwoEmissionsValue extends ScopeEmissionBase {\n costMajor: number\n meteredKwh: number\n}\n\nexport const fetchScopeTwoEmissions = async ({\n organizationId,\n startDate,\n endDate,\n}: FetchScopeTwoEmissionsProps): Promise =>\n fetchInPages({\n clause: {\n startDate,\n endDate,\n organizationId,\n },\n }).then((monthSummaries) =>\n monthSummaries.data.map((monthSummary) => {\n const {\n co2eLbs,\n meteredKwh,\n startDate: monthSummaryStartDate,\n costDollars,\n } = monthSummary.typedAttributes\n\n const startDateTime = DateTime.fromISO(monthSummaryStartDate)\n\n return {\n costMajor: Number(costDollars),\n month: startDateTime.month,\n mtCo2E: poundsToMetricTon(Number(co2eLbs)),\n meteredKwh: Number(meteredKwh),\n year: startDateTime.year,\n }\n })\n )\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchScopeTwoEmissions } from \"./useScopeTwoEmissionsUtils\"\n\n/**\n * This hook fetches and provides the scope two emissions for a given organization\n *\n * @param orgId - The id of the organization whose dates to get\n * @param dateRange - The date range to get the report dates for\n * @returns The scope two emissions of the top-most user accessible group for the given organization\n *\n * @example\n * ```tsx\n * import { useScopeTwoEmissions } from '../services'\n *\n * const {\n * scopeTwoData,\n * isScopeTwoDataFetched,\n * isScopeTwoDataLoading\n * } = useScopeTwoEmissions(orgId, Interval.fromISO(\"2022-01-01/2022-12-31\"))\n * ```\n */\nexport const useScopeTwoEmissions = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(\n ApiQueryName.ScopeTwoEmissions,\n \"getMany\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n }\n )\n\n const queryFn = () =>\n fetchScopeTwoEmissions({\n organizationId: orgId,\n startDate: dateRange.start?.toISODate(),\n endDate: dateRange.end?.toISODate(),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { cloneDeep, range, sortBy } from \"lodash-es\"\nimport { DateTime, type Interval } from \"luxon\"\n\nimport { Scope } from \"../../../models/scope\"\nimport type { ScopeEmissionBase } from \"../../../models/scope\"\nimport type { FetchScopeThreeEmissionsValue } from \"../../../services\"\nimport { getYearMonthDayISOString } from \"../../../utils/date\"\nimport type {\n EmissionRecord,\n GraphData,\n ScopeEmissionsGraphItem,\n ScopeEmissionsScopeTotal,\n ScopeGraphKeyNames,\n ScopeOneEmissionData,\n ScopeOneEmissionsGraphItem,\n ScopeThreeEmissionsGraphItem,\n ScopeTwoEmissionsGraphItem,\n} from \"../models/dashboard\"\nimport {\n organizationDashboardGraphTheme,\n scopeOneCategoryToGraphKeyMap,\n} from \"../models/dashboard\"\nimport type { FetchScopeOneEmissionsValue } from \"../services/useScopeOneEmissions/useScopeOneEmissionsUtils\"\nimport type { FetchScopeTwoEmissionsValue } from \"../services/useScopeTwoEmissions/useScopeTwoEmissionsUtils\"\n\nconst getPseudoEndValue = (\n data:\n | ScopeOneEmissionsGraphItem\n | ScopeTwoEmissionsGraphItem\n | ScopeEmissionsGraphItem\n):\n | ScopeOneEmissionsGraphItem\n | ScopeTwoEmissionsGraphItem\n | ScopeEmissionsGraphItem => {\n return {\n ...data,\n index: data.index + 1,\n date: DateTime.fromISO(data.date).endOf(\"month\").toISODate(),\n }\n}\n\n// TODO: refactor; better define the interface and rename\nexport const defaultGraphOutput = (\n emissionsByMonth\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n): TGraphItem[] => Object.values(emissionsByMonth)\n\nexport const getGraphDataWithMissingMonths = (\n dateRange: Interval,\n graphData: GraphData,\n graphKeys: string[]\n): GraphData => {\n if (!Object.keys(graphData).length || !dateRange.isValid) {\n return {} as GraphData\n }\n\n const initialGraphKeysData: Record = graphKeys.reduce(\n (acc, key) => {\n acc[key] = null\n return acc\n },\n {}\n )\n\n const graphDataWithMissingMonths: GraphData = range(\n dateRange.start?.month,\n dateRange.end?.month + 1 // Just add 1 since end value is not included in generated range\n ).reduce(\n (\n graphDataIncludingMissingMonths: GraphData,\n monthIndex: number\n ): GraphData => {\n const graphDatum = graphData[monthIndex] ?? initialGraphKeysData\n\n graphDataIncludingMissingMonths[monthIndex] = {\n date: dateRange.start\n ?.plus({ months: monthIndex - dateRange.start?.month })\n .toISODate(),\n index: monthIndex,\n ...graphDatum,\n }\n\n return graphDataIncludingMissingMonths\n },\n {}\n )\n\n // This is needed for the graph to display correctly.\n // If there is only one month, a duplicate is created\n // with an end date set to the end of the month.\n if (Object.keys(graphDataWithMissingMonths).length === 1) {\n const additionalDataPointKey: number =\n Number(Object.keys(graphDataWithMissingMonths)[0]) + 1\n\n graphDataWithMissingMonths[additionalDataPointKey] = getPseudoEndValue(\n Object.values(graphDataWithMissingMonths)[0]\n )\n }\n\n return graphDataWithMissingMonths\n}\n\nexport const getEmissionByMonth = ({\n emissionsByMonthAcc,\n emissionMonth,\n}: {\n emissionMonth: number\n emissionsByMonthAcc: EmissionRecord\n}): TEmission | undefined => emissionsByMonthAcc[emissionMonth]\n\nexport const setScopeTwoEmissionsByMonth = (\n scopeTwoEmissionsByMonth: EmissionRecord,\n emission: FetchScopeTwoEmissionsValue,\n value: number,\n costMajor: number\n): EmissionRecord => {\n const newScopeTwoEmissionsByMonth: EmissionRecord =\n cloneDeep(scopeTwoEmissionsByMonth)\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n newScopeTwoEmissionsByMonth[emission.month] = {\n // Mass eslint disable for @typescript-eslint/no-unsafe-argument\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n date: getYearMonthDayISOString(emission.year, emission.month),\n value,\n costMajor,\n }\n\n return newScopeTwoEmissionsByMonth\n}\n\nexport const getScopeTotalEmissions = (\n scopeEmissions: ScopeEmissionBase[] | undefined\n): number | null => {\n if (scopeEmissions?.every((emission) => !Number.isFinite(emission.mtCo2E))) {\n return null\n }\n\n return scopeEmissions?.reduce(\n (total: number, emission: FetchScopeOneEmissionsValue) => {\n const newTotal = total + (emission.mtCo2E || 0)\n\n return newTotal\n },\n 0\n )\n}\n\nexport const getScopeOneEmissionsCategories = (\n scopeOneEmissions: FetchScopeOneEmissionsValue[] | undefined\n): string[] => {\n if (!scopeOneEmissions) {\n return []\n }\n const scopeOneEmissionCategories = scopeOneEmissions.reduce(\n (\n categories: ScopeOneEmissionData[],\n emission: FetchScopeOneEmissionsValue\n ) => {\n const includesCategoryName = categories\n .map((category) => category.name)\n .includes(emission.categoryName.toLowerCase())\n if (!includesCategoryName) {\n categories.push(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n scopeOneCategoryToGraphKeyMap[emission.categoryName.toLowerCase()]\n )\n }\n return categories\n },\n []\n )\n const sortedScopeOneEmissionCategories = sortBy(\n scopeOneEmissionCategories,\n \"order\"\n )\n\n return sortedScopeOneEmissionCategories.map((category) => category.name)\n}\n\nexport const getScopeOneEmissionsGraphData = (\n dateRange: Interval,\n scopeOneEmissions: FetchScopeOneEmissionsValue[],\n graphKeys: string[]\n): ScopeOneEmissionsGraphItem[] => {\n if (!scopeOneEmissions || !dateRange.isValid) {\n return []\n }\n const scopeOneEmissionsByMonth: Record =\n scopeOneEmissions.reduce(\n (\n scopeOneEmissionsByMonthAcc: Record,\n emission: FetchScopeOneEmissionsValue\n ) => {\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!scopeOneEmissionsByMonthAcc[emission.month]) {\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n scopeOneEmissionsByMonthAcc[emission.month] = {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n date: getYearMonthDayISOString(emission.year, emission.month),\n }\n }\n\n if (\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n !scopeOneEmissionsByMonthAcc[emission.month][\n emission.categoryName.toLowerCase()\n ]\n ) {\n // Create the category record\n scopeOneEmissionsByMonthAcc[emission.month][\n emission.categoryName.toLowerCase()\n ] = emission.mtCo2E || 0\n\n graphKeys.forEach((key) => {\n if (\n !Object.keys(\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n scopeOneEmissionsByMonthAcc[emission.month]\n ).includes(key)\n ) {\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n scopeOneEmissionsByMonthAcc[emission.month][key] = 0\n }\n })\n } else {\n // Otherwise add to the existing record\n scopeOneEmissionsByMonthAcc[emission.month][\n emission.categoryName.toLowerCase()\n ] += emission.mtCo2E || 0\n }\n\n return scopeOneEmissionsByMonthAcc\n },\n {}\n )\n\n const graphDataWithMissingMonths = getGraphDataWithMissingMonths(\n dateRange,\n scopeOneEmissionsByMonth,\n graphKeys\n )\n\n return defaultGraphOutput(\n graphDataWithMissingMonths\n )\n}\n\nexport const getScopeTwoTotalEmissions = (\n scopeTwoEmissions: FetchScopeTwoEmissionsValue[] | undefined\n): number | null => {\n if (\n scopeTwoEmissions?.every((emission) => !Number.isFinite(emission.mtCo2E))\n ) {\n return null\n }\n return scopeTwoEmissions?.reduce(\n (total: number, emission: FetchScopeTwoEmissionsValue) =>\n total + (emission.mtCo2E || 0),\n 0\n )\n}\n\nexport const getScopeTwoTotalKwh = (\n scopeTwoEmissions: FetchScopeTwoEmissionsValue[] | undefined\n) =>\n Number(\n scopeTwoEmissions?.reduce((pv, cv) => pv + Number(cv?.meteredKwh ?? 0), 0)\n )\n\nexport const getScopeTwoEmissionsGraphData = (\n dateRange: Interval,\n scopeTwoEmissions: FetchScopeTwoEmissionsValue[] | undefined\n): ScopeTwoEmissionsGraphItem[] => {\n if (!scopeTwoEmissions) {\n return []\n }\n\n const scopeTwoEmissionsByMonth: EmissionRecord =\n scopeTwoEmissions?.reduce(\n (\n scopeTwoEmissionsByMonthAcc: EmissionRecord,\n emission: FetchScopeTwoEmissionsValue\n ) => {\n if (\n !getEmissionByMonth({\n emissionsByMonthAcc: scopeTwoEmissionsByMonthAcc,\n // Mass eslint disable for @typescript-eslint/no-unsafe-assignment\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n emissionMonth: emission.month,\n })\n ) {\n // If an emission record for the month doesn't exist yet, create it\n scopeTwoEmissionsByMonthAcc = setScopeTwoEmissionsByMonth(\n scopeTwoEmissionsByMonthAcc,\n emission,\n emission.mtCo2E,\n emission.costMajor\n )\n } else {\n // Otherwise, add to the existing month emission value\n scopeTwoEmissionsByMonthAcc[emission.month].value += emission.mtCo2E\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n scopeTwoEmissionsByMonthAcc[emission.month].costMajor +=\n emission.costMajor\n }\n\n return scopeTwoEmissionsByMonthAcc\n },\n {}\n )\n\n const graphDataWithMissingMonths = getGraphDataWithMissingMonths(\n dateRange,\n scopeTwoEmissionsByMonth,\n [\"value\", \"costMajor\"]\n )\n\n return defaultGraphOutput(\n graphDataWithMissingMonths\n )\n}\n\nexport const getScopeThreeEmissionsGraphData = (\n scopeThreeEmissions: FetchScopeThreeEmissionsValue[] | undefined\n): ScopeThreeEmissionsGraphItem[] => {\n if (!scopeThreeEmissions) {\n return []\n }\n const scopeThreeEmissionsByCategory: Record<\n string,\n ScopeThreeEmissionsGraphItem\n > = scopeThreeEmissions.reduce(\n (\n scopeThreeEmissionsByCategoryAcc: Record<\n string,\n ScopeThreeEmissionsGraphItem\n >,\n emission: FetchScopeThreeEmissionsValue\n ) => {\n if (!scopeThreeEmissionsByCategoryAcc[emission.categoryName]) {\n scopeThreeEmissionsByCategoryAcc[emission.categoryName] = {\n categoryName: emission.categoryName,\n mtCo2E: 0,\n }\n }\n\n scopeThreeEmissionsByCategoryAcc[emission.categoryName].mtCo2E +=\n emission.mtCo2E || 0\n\n return scopeThreeEmissionsByCategoryAcc\n },\n {}\n )\n\n const sortedScopeThreeItems = sortBy(\n Object.values(scopeThreeEmissionsByCategory),\n [\"mtCo2E\"]\n ).reverse()\n\n // Return the top 5 items\n return sortedScopeThreeItems.slice(0, 5)\n}\n\nexport const addScopeEmissionsByMonth = (\n emissions: ScopeEmissionBase[],\n scope: Scope,\n scopeEmissionsByMonth: Record\n): void => {\n emissions.forEach((emission) => {\n if (!scopeEmissionsByMonth[emission.month]) {\n // A record for this month does not exist, create a default record with this scope\n\n scopeEmissionsByMonth[emission.month] = {\n date: getYearMonthDayISOString(emission.year, emission.month),\n \"Scope 1\": 0,\n \"Scope 2\": 0,\n \"Scope 3\": 0,\n }\n }\n\n scopeEmissionsByMonth[emission.month][`Scope ${scope}`] +=\n emission.mtCo2E || 0\n\n return scopeEmissionsByMonth\n }, {})\n}\n\nexport const getScopeEmissionsGraphData = (\n dateRange: Interval,\n scope1Emissions?: ScopeEmissionBase[],\n scope2Emissions?: ScopeEmissionBase[],\n scope3Emissions?: ScopeEmissionBase[]\n): ScopeEmissionsGraphItem[] => {\n const scopeEmissionsByMonth: Record = {}\n\n if (scope1Emissions) {\n addScopeEmissionsByMonth(scope1Emissions, Scope.One, scopeEmissionsByMonth)\n }\n\n if (scope2Emissions) {\n addScopeEmissionsByMonth(scope2Emissions, Scope.Two, scopeEmissionsByMonth)\n }\n\n if (scope3Emissions) {\n addScopeEmissionsByMonth(\n scope3Emissions,\n Scope.Three,\n scopeEmissionsByMonth\n )\n }\n\n const graphDataWithMissingMonths = getGraphDataWithMissingMonths(\n dateRange,\n scopeEmissionsByMonth,\n Object.keys(organizationDashboardGraphTheme.emissionsByScope)\n )\n\n return defaultGraphOutput(graphDataWithMissingMonths)\n}\n\nexport const getAllScopeEmissionsCategories = (\n scope1EmissionsCount: number,\n scope2EmissionsCount: number,\n scope3EmissionsCount: number\n): ScopeGraphKeyNames[] => {\n const categories: ScopeGraphKeyNames[] = []\n\n // Don't like the hard-coded category names, but works for now\n if (scope1EmissionsCount) {\n categories.push(\"Scope 1\")\n }\n\n if (scope2EmissionsCount) {\n categories.push(\"Scope 2\")\n }\n\n if (scope3EmissionsCount) {\n categories.push(\"Scope 3\")\n }\n\n return categories\n}\n\nexport const sortedScopeTotals = (\n scopeOneTotalEmissions: number,\n scopeTwoTotalEmissions: number,\n scopeThreeTotalEmissions: number\n): ScopeEmissionsScopeTotal[] =>\n sortBy(\n [\n { order: 2, scope: Scope.One, value: scopeOneTotalEmissions },\n { order: 1, scope: Scope.Two, value: scopeTwoTotalEmissions },\n {\n order: 0,\n scope: Scope.Three,\n value: scopeThreeTotalEmissions,\n },\n ],\n \"order\"\n ) // ascending by order, descending by scope\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class BaCode extends ApplicationRecord {\n public static jsonapiType = \"ba_codes\"\n\n @Attr() public readonly name: string\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BaCode from \"../../models/baCode\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useBaCodes = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(BaCode)\n\n const queryKey = useQueryKey(ApiQueryName.BaCodes, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BillingGroupModel from \"../../models/billingGroup\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useBillingGroup = (\n billingGroupId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const { getOne } = useSpraypaintModel(BillingGroupModel)\n\n const queryKey = useQueryKey(\n ApiQueryName.BillingGroup,\n \"getOne\",\n billingGroupId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => getOne(billingGroupId),\n enabled: !isNil(billingGroupId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type BillingGroup = InferredQueryServiceValue<\n typeof useBillingGroup,\n ApiQueryName.BillingGroup\n>\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BillingGroup from \"../../models/billingGroup\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useBillingGroups = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(BillingGroup)\n\n const queryKey = useQueryKey(ApiQueryName.BillingGroups, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchBillingGroupCounts } from \"../../models/billingGroup\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useBillingGroupCounts = (\n billingGroupId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.BillingGroupCounts,\n \"getOne\",\n billingGroupId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchBillingGroupCounts(billingGroupId),\n enabled: !isNil(billingGroupId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type BillingGroupCounts = InferredQueryServiceValue<\n typeof useBillingGroupCounts,\n ApiQueryName.BillingGroupCounts\n>\n","import { z } from \"zod\"\n\nimport { s } from \"../utils/schema\"\n\n// This schema currently supports only \"create\" and \"edit\" form validation\n// It is not ready to be used to generate TypeScript types\nexport const billingGroupSchema = s.define(\"billingGroup\", {\n groupName: z.string().min(1),\n alias: z.string().nullable().optional(),\n})\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BillingGroup from \"../../models/billingGroup\"\nimport type { QueryMutation } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateBillingGroup = () => {\n const mutationKey = useQueryKey(ApiQueryName.BillingGroup, \"updateOne\")\n const { update } = useSpraypaintModel(BillingGroup)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters<\n QueryMutation<\"updateOne\", ModelAttributes>\n >[0]) => {\n await update(serviceEntityKey, newAttributes)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n invalidateQueries([\n createQueryKey(ApiQueryName.BillingGroup, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.BillingGroups, \"getMany\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BillingGroup from \"../../models/billingGroup\"\nimport type { QueryMutation, UseCreateEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useCreateBillingGroup = ({\n onSuccess,\n}: UseCreateEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.BillingGroup, \"createOne\")\n const { create } = useSpraypaintModel(BillingGroup)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n newAttributes,\n }: Parameters<\n QueryMutation<\"createOne\", ModelAttributes>\n >[0]) => {\n const billingGroup = create(newAttributes)\n return billingGroup\n },\n onSuccess: (billingGroup) => {\n onSuccess?.(billingGroup?.id)\n invalidateQueries([\n createQueryKey(ApiQueryName.BillingGroups, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n createQueryKey(ApiQueryName.SiteCounts, \"getOne\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport BillingGroup from \"../../models/billingGroup\"\nimport type { QueryMutation, UseDeleteEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useDeleteBillingGroup = ({\n onSuccess,\n}: UseDeleteEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.BillingGroup, \"deleteOne\")\n const { delete: deleteBillingGroup } = useSpraypaintModel(BillingGroup)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n }: Parameters<\n QueryMutation<\"deleteOne\", ModelAttributes>\n >[0]) => {\n await deleteBillingGroup(serviceEntityKey)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n onSuccess()\n invalidateQueries([\n createQueryKey(ApiQueryName.BillingGroup, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n createQueryKey(ApiQueryName.BillingGroups, \"getMany\"),\n createQueryKey(ApiQueryName.SiteCounts, \"getOne\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport CurrencyModel from \"../../models/currency\"\nimport type { ServiceOptions } from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useCurrencies = ({\n disabled: isDisabled,\n}: ServiceOptions<\"getMany\"> = {}) => {\n const { getMany } = useSpraypaintModel(CurrencyModel)\n\n const queryKey = useQueryKey(ApiQueryName.Currencies, \"getMany\", null)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => {\n const result = await getMany()\n return result as Currency[] // TODO: Fix this typing problem.\n },\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Currency = ModelAttributes\n","import { ApiQueryName } from \"@/models/api\"\nimport { Department } from \"@/models/department\"\nimport { HttpError } from \"@/utils/api\"\nimport type { ApiQueryOptions } from \"@/utils/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\n\nconst getDepartments = async ({\n extraFields,\n includes,\n page,\n pageSize,\n sort,\n where,\n}: ApiQueryOptions = {}): Promise => {\n const departments = await Department.where(where ?? {})\n .includes(includes ?? [])\n .order(sort ?? { name: \"asc\" })\n .page(page ?? 1)\n .per(pageSize ?? 250)\n .selectExtra(extraFields ?? [])\n .all()\n .then((response) => {\n return response.data as Department[]\n })\n .catch((error: unknown) => {\n if (error instanceof Error) {\n throw new HttpError({\n errors: [],\n message: error.message,\n status: 0,\n })\n }\n\n return []\n })\n\n return departments\n}\n\ninterface UseDepartmentsSpraypaintOptions {\n apiQueryOptions?: ApiQueryOptions\n queryOptions?: Omit, \"queryKey\" | \"queryFn\">\n}\n\nconst defaultUseDepartmentsSpraypaintOptions: UseDepartmentsSpraypaintOptions =\n {\n apiQueryOptions: {},\n queryOptions: {},\n }\n\n/**\n * Returns departments\n *\n * @example\n * const {\n * departmentsSpraypaintData,\n * departmentsSpraypaintError,\n * departmentsSpraypaintIsError\n * departmentsSpraypaintIsLoading,\n * } = useDepartmentsSpraypaint({\n * apiQueryOptions: { where: { organization_id: \"1\" } },\n * queryOptions // react query options\n * })\n */\nexport const useDepartmentsSpraypaint = ({\n apiQueryOptions,\n queryOptions,\n}: UseDepartmentsSpraypaintOptions = defaultUseDepartmentsSpraypaintOptions) => {\n // Ensure consumer can omit optional properties\n const options = {\n ...defaultUseDepartmentsSpraypaintOptions,\n apiQueryOptions,\n queryOptions,\n }\n\n const queryKey = createQueryKey(\n ApiQueryName.DepartmentsSpraypaint,\n \"getMany\",\n null,\n apiQueryOptions\n )\n\n const queryFn = async (): Promise => {\n return getDepartments(apiQueryOptions)\n }\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n ...options.queryOptions,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.DepartmentsSpraypaint)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport DepartmentModel from \"../../models/department\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useDepartment = (\n departmentId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const { getOne } = useSpraypaintModel(DepartmentModel)\n\n const queryKey = useQueryKey(ApiQueryName.Department, \"getOne\", departmentId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => getOne(departmentId),\n enabled: !isNil(departmentId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Department = InferredQueryServiceValue<\n typeof useDepartment,\n ApiQueryName.Department\n>\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Department from \"../../models/department\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useDepartments = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(Department)\n\n const queryKey = useQueryKey(ApiQueryName.Departments, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Department from \"../../models/department\"\nimport type { QueryMutation, UseCreateEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useCreateDepartment = ({ onSuccess }: UseCreateEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Department, \"createOne\")\n const { create } = useSpraypaintModel(Department)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n newAttributes,\n }: Parameters<\n QueryMutation<\"createOne\", ModelAttributes>\n >[0]) => {\n const department = await create(newAttributes)\n return department\n },\n onSuccess: (department) => {\n onSuccess?.(department?.id)\n invalidateQueries([\n createQueryKey(ApiQueryName.Departments, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Department from \"../../models/department\"\nimport type { QueryMutation } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateDepartment = () => {\n const mutationKey = useQueryKey(ApiQueryName.Department, \"updateOne\")\n const { update } = useSpraypaintModel(Department)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters<\n QueryMutation<\"updateOne\", ModelAttributes>\n >[0]) => {\n await update(serviceEntityKey, newAttributes)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n invalidateQueries([\n createQueryKey(ApiQueryName.Department, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Departments, \"getMany\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Department from \"../../models/department\"\nimport type { QueryMutation, UseDeleteEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useDeleteDepartment = ({ onSuccess }: UseDeleteEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Department, \"deleteOne\")\n const { delete: deleteDepartment } = useSpraypaintModel(Department)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n }: Parameters<\n QueryMutation<\"deleteOne\", ModelAttributes>\n >[0]) => {\n await deleteDepartment(serviceEntityKey)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n onSuccess()\n invalidateQueries([\n createQueryKey(ApiQueryName.Department, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Departments, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { z } from \"zod\"\n\nimport { s } from \"../utils/schema\"\n\n// This schema currently supports only \"create\" and \"edit\" form validation\n// It is not ready to be used to generate TypeScript types\nexport const departmentSchema = s.define(\"department\", {\n name: z.string().min(1),\n})\n","import { Attr, Model } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\nexport const DEFAULT_ENERGY_ALLOCATOR_PLACEHOLDER = \"_.__\"\n\n@Model()\nexport default class EnergyAllocator extends ApplicationRecord {\n public static jsonapiType = \"energy_allocators\"\n\n @Attr() public readonly name: string\n\n @Attr() public readonly baCode: string\n\n @Attr() public readonly providerType: string\n}\n\nexport const fetchCurrencies = async (): Promise => {\n const response: CollectionProxy = await EnergyAllocator.all()\n return response.data\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport EnergyAllocator from \"../../models/energyAllocator\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useEnergyAllocators = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(EnergyAllocator)\n\n const queryKey = useQueryKey(ApiQueryName.EnergyAllocators, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Location from \"../../models/location\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useLocations = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(Location)\n\n const queryKey = useQueryKey(ApiQueryName.Locations, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport MeterModel from \"../../models/meter\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useMeter = (\n meterId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const { getOne } = useSpraypaintModel(MeterModel)\n\n const queryKey = useQueryKey(ApiQueryName.Meter, \"getOne\", meterId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () =>\n getOne(meterId, {\n include: [\"meterSourceType\"],\n extra: [\"energyAllocatorName\"],\n }),\n enabled: !isNil(meterId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Meter = InferredQueryServiceValue<\n typeof useMeter,\n ApiQueryName.Meter\n>\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Meter from \"../../models/meter\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useMeters = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(Meter)\n\n const queryKey = useQueryKey(ApiQueryName.Meters, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchMeterCounts } from \"../../models/meter\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useMeterCounts = (\n meterId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const queryKey = useQueryKey(ApiQueryName.MeterCounts, \"getOne\", meterId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchMeterCounts(meterId),\n enabled: !isNil(meterId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type MeterCounts = InferredQueryServiceValue<\n typeof useMeterCounts,\n ApiQueryName.MeterCounts\n>\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport MeterSourceTypeModel from \"../../models/meterSourceType\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useMeterSourceTypes = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(MeterSourceTypeModel)\n\n const queryKey = useQueryKey(ApiQueryName.MeterSourceTypes, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Meter from \"../../models/meter\"\nimport type { QueryMutation } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateMeter = () => {\n const mutationKey = useQueryKey(ApiQueryName.Meter, \"updateOne\")\n const { update } = useSpraypaintModel(Meter)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters>>[0]) => {\n await update(serviceEntityKey, newAttributes)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n invalidateQueries([\n createQueryKey(ApiQueryName.Meter, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Meters, \"getMany\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Meter from \"../../models/meter\"\nimport type { QueryMutation, UseCreateEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useCreateMeter = ({\n onSuccess,\n onError,\n}: UseCreateEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Meter, \"createOne\")\n const { create } = useSpraypaintModel(Meter)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n newAttributes,\n }: Parameters>>[0]) => {\n const meter = await create(newAttributes)\n return meter\n },\n onSuccess: (meter) => {\n onSuccess?.(meter?.id)\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n createQueryKey(ApiQueryName.BillingGroupCounts, \"getOne\"),\n createQueryKey(ApiQueryName.Meters, \"getMany\"),\n ])\n },\n onError: (error: Error) => {\n onError?.(error.message)\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Meter from \"../../models/meter\"\nimport type { QueryMutation, UseDeleteEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useDeleteMeter = ({\n onSuccess,\n onError,\n}: UseDeleteEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Meter, \"deleteOne\")\n const { delete: deleteMeter } = useSpraypaintModel(Meter)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n }: Parameters>>[0]) => {\n await deleteMeter(serviceEntityKey)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n onSuccess()\n invalidateQueries([\n createQueryKey(ApiQueryName.Meter, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Meters, \"getMany\"),\n createQueryKey(ApiQueryName.BillingGroupCounts, \"getOne\"),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n ])\n },\n onError: () => {\n onError?.()\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { z } from \"zod\"\n\nimport { s } from \"../utils/schema\"\n\n// This schema currently supports only \"create\" and \"edit\" form validation\n// It is not ready to be used to generate TypeScript types\nexport const meterSchema = s.define(\"meter\", {\n name: z.string().nullable().optional(),\n meterCode: z.string(),\n meterType: z.string(),\n meterProvider: z.string(),\n // We would like to use optional() on energyAllocator, but it returns undefined.\n energyAllocator: s.hasOne(\"energyAllocator\"),\n fullMeter: z.boolean(),\n probeMeter: z.boolean(),\n isOnSiteGeneration: z.boolean(),\n isNetMeter: z.boolean(),\n isChildMeter: z.boolean().optional(),\n meterSourceType: s.belongsTo(\"meterSourceType\"),\n})\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport NodeModel from \"../../models/node\"\nimport type { ServiceOptions } from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useNodes = ({\n // TODO: Limit by organization\n disabled: isDisabled,\n}: ServiceOptions<\"getMany\"> = {}) => {\n const { getMany } = useSpraypaintModel(NodeModel)\n\n const queryKey = useQueryKey(ApiQueryName.Nodes, \"getMany\", null)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany(),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Node = ModelAttributes\n","import type { WhereClause } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport type { IFetchApplicationRecordOptions } from \"../../models/applicationRecord/applicationRecord\"\nimport OrganizationalUnit from \"../../models/organizationalUnit\"\n\n/**\n * Fetches organizational units. Results are filtered by provided orgId and any additional params\n * included in the clause.\n * @param organizationId - The organizationId to retrieve OUs for\n * @param options.clause - Used to construct graphiti filter query params https://www.graphiti.dev/js/reads/filtering\n * @param options.fetchOptions - Used to configure sorting and pagination for the response.\n * @example\n * const options = {clause: {level: 1}, fetchOptions:{order: \"desc\"}}\n * const { data } = await fetchOrganizationalUnits(oganizationId: 5, options)\n */\nexport const fetchOrganizationalUnits = async (\n organizationId: string,\n options?: {\n clause?: WhereClause\n fetchOptions?: Partial\n }\n): Promise => {\n const mergedOptions: IFetchApplicationRecordOptions = {\n ...{\n order: \"asc\",\n orderBy: \"name\",\n pageSize: 1000,\n pageNumber: 1,\n },\n ...options?.fetchOptions,\n }\n const response: CollectionProxy =\n await OrganizationalUnit.order({\n [mergedOptions.orderBy]: mergedOptions.order,\n })\n .where({ organizationId, ...options?.clause })\n .per(mergedOptions.pageSize)\n .page(mergedOptions.pageNumber)\n .all()\n\n return response.data\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport type { WhereClause } from \"spraypaint\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport type { IFetchApplicationRecordOptions } from \"../../models/applicationRecord/applicationRecord\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { fetchOrganizationalUnits } from \"./utils\"\n\n/**\n * Fetches OrganizationalUnits and provides info on the state of the request from react-query.\n * @param organizationId - The organizationId to retrieve OUs for\n * @param options.clause - Used to construct graphiti filter query params https://www.graphiti.dev/js/reads/filtering\n * @param options.fetchOptions - Used to configure sorting and pagination for the response.\n * @example\n * const options = {clause: {level: 1}, fetchOptions:{order: \"desc\"}}\n * const { organizationalUnits, isOrganizationalUnitsLoading } = useOrganizationalUnits(5, options)\n */\nexport const useOrganizationalUnits = (\n organizationId: string,\n options?: {\n clause?: WhereClause\n disabled?: boolean\n fetchOptions?: Partial\n }\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.OrganizationalUnits,\n \"getMany\",\n null,\n {\n organizationId,\n options,\n }\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => fetchOrganizationalUnits(organizationId, options),\n onError: (error) => {\n console.error(\"Error fetching organizational units:\", error)\n },\n enabled: !options?.disabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport OrganizationalUnit from \"../../models/organizationalUnit\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useCreateOrganizationalUnit = () => {\n const mutationKey = useQueryKey(ApiQueryName.OrganizationalUnit, \"createOne\")\n const { invalidateQueries } = useInvalidateQueries()\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async (orgUnitAttributes: Partial) => {\n const orgUnit = new OrganizationalUnit(orgUnitAttributes)\n await orgUnit.save()\n },\n onSuccess: () => {\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationalUnits, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationHierarchy, \"getOne\"),\n ])\n },\n })\n\n return mutationResult\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport type OrganizationalUnit from \"../../models/organizationalUnit\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateOrganizationalUnit = () => {\n const mutationKey = useQueryKey(ApiQueryName.OrganizationalUnit, \"updateOne\")\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n organizationalUnit,\n }: {\n organizationalUnit: OrganizationalUnit\n }) => {\n await organizationalUnit.save({ with: [\"sites\"] })\n },\n onSuccess: () => {\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationalUnits, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationHierarchy, \"getOne\"),\n ])\n },\n })\n\n return mutationResult\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport OrganizationalUnit from \"../../models/organizationalUnit\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useDeleteOrganizationalUnit = () => {\n const mutationKey = useQueryKey(ApiQueryName.OrganizationalUnit, \"deleteOne\")\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async (id: string) => {\n const { data: orgUnitInstance } = await OrganizationalUnit.where({\n id,\n }).first()\n\n if (orgUnitInstance) {\n await orgUnitInstance.destroy()\n } else {\n throw new Error(`Organizational unit with id ${id} not found`)\n }\n },\n onSuccess: () => {\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationalUnits, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationHierarchy, \"getOne\"),\n ])\n },\n })\n\n return mutationResult\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport SinkModel from \"../../models/sink\"\nimport type { ServiceOptions } from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useSinks = ({\n // TODO: Limit by organization\n disabled: isDisabled,\n}: ServiceOptions<\"getMany\"> = {}) => {\n const { getMany } = useSpraypaintModel(SinkModel)\n\n const queryKey = useQueryKey(ApiQueryName.Sinks, \"getMany\", null)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany(),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Sink = ModelAttributes\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\n\nimport { client } from \"../client\"\nimport type { Paths } from \"../types\"\nimport { useQueryKey, useRenameQueryResult } from \"../utils\"\n\nconst getBuildingTypes = async (\n params: Paths[\"/api/v1/recommendations/building_types\"][\"get\"][\"parameters\"]\n): Promise => {\n const { data, error } = await client().GET(\n \"/api/v1/recommendations/building_types\",\n {\n params,\n }\n )\n\n if (data) {\n return data\n }\n\n if (typeof error === \"object\" && error.detail?.length) {\n throw new Error(error.detail[0].msg)\n }\n\n throw new Error(error as string)\n}\n\ninterface UseGetBuildingTypesOptions {\n parameters?: Paths[\"/api/v1/recommendations/building_types\"][\"get\"][\"parameters\"]\n queryOptions?: Omit, \"queryKey\" | \"queryFn\">\n}\n\nconst defaultUseGetBuildingTypesOptions: UseGetBuildingTypesOptions = {\n parameters: {},\n queryOptions: {},\n}\n\n/**\n * Returns a list of building types\n *\n * @example\n * const {\n * buildingTypesData,\n * buildingTypesError,\n * buildingTypesIsError\n * buildingTypesIsLoading,\n * } = useGetBuildingTypes({\n * parameters: { query: { dataset: \"CBECS\" } },\n * queryOptions // react query options\n * })\n */\nexport const useGetBuildingTypes = ({\n parameters,\n queryOptions,\n}: UseGetBuildingTypesOptions = defaultUseGetBuildingTypesOptions) => {\n // Ensure consumer can omit optional properties\n const options = {\n ...defaultUseGetBuildingTypesOptions,\n parameters,\n queryOptions,\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.BuildingTypes,\n \"getMany\",\n null,\n parameters\n )\n\n const queryFn = async (): Promise => {\n return getBuildingTypes(parameters)\n }\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n ...options.queryOptions,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.BuildingTypes)\n}\n","import { z } from \"zod\"\n\nimport { s } from \"../utils/schema\"\n\n// This schema currently supports only \"create\" and \"edit\" form validation\n// It is not ready to be used to generate TypeScript types\nexport const siteSchema = s.define(\"site\", {\n name: z.string().min(1),\n // We would like to use optional() on currency, but it returns undefined.\n currency: s.belongsTo(\"currency\"),\n location: s.belongsTo(\"location\"),\n notes: z.string().nullable().optional(),\n tariffMajor: z.coerce.number().nullable().optional(),\n yearBuilt: z.coerce.number().nullable().optional(),\n baCode: z.string(),\n electricityType: z.enum([\"direct_access\", \"bundled\"]),\n siteAlias: z.string().nullable().optional(),\n sqFt: z.coerce.number().nullable().optional(),\n})\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport SiteModel from \"../../models/site\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useSite = (\n siteId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const { getOne } = useSpraypaintModel(SiteModel)\n\n const queryKey = useQueryKey(ApiQueryName.Site, \"getOne\", siteId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () =>\n getOne(siteId, {\n include: [\n \"address\",\n \"currency\",\n \"location\",\n \"nodes\",\n \"organization\",\n \"sink\",\n ],\n extra: [\n \"billingGroupNames\",\n \"buildingType\",\n \"departmentName\",\n \"loadAggregationPointId\",\n \"locationName\",\n \"numberOfFloors\",\n \"sqFt\",\n ],\n }),\n enabled: !isNil(siteId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Site = InferredQueryServiceValue\n","import type { WhereClause } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport type { IFetchApplicationRecordOptions } from \"../../models/applicationRecord/applicationRecord\"\nimport Site from \"../../models/site\"\n\n/**\n * Fetches sites. Results are filtered by provided orgId and any additional params\n * included in the clause.\n * @param organizationId - The organizationId to retrieve sites for\n * @param options.clause - Used to construct graphiti filter query params https://www.graphiti.dev/js/reads/filtering\n * @param options.fetchOptions - Used to configure sorting and pagination for the response.\n * @example\n * const options = {clause: {department_id: 1}, fetchOptions:{order: \"asc\"}}\n * const { data } = await fetchSites(oganizationId: 5, options)\n */\nexport const fetchSites = async (\n organizationId: string,\n options?: {\n clause?: WhereClause\n fetchOptions?: Partial\n }\n): Promise => {\n const mergedOptions: IFetchApplicationRecordOptions = {\n ...{\n order: \"asc\",\n orderBy: \"name\",\n pageSize: 1000,\n pageNumber: 1,\n },\n ...options?.fetchOptions,\n }\n const response: CollectionProxy = await Site.order({\n [mergedOptions.orderBy]: mergedOptions.order,\n })\n .where({ organizationId, ...options?.clause })\n .includes([\"organizationalUnit\", \"address\"])\n .per(mergedOptions.pageSize)\n .page(mergedOptions.pageNumber)\n .all()\n\n return response.data\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport type { WhereClause } from \"spraypaint\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport type { IFetchApplicationRecordOptions } from \"../../models/applicationRecord/applicationRecord\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { fetchSites } from \"./utils\"\n\nexport const useSites = (\n organizationId: string,\n options?: {\n clause?: WhereClause\n enabled?: boolean\n fetchOptions?: Partial\n }\n) => {\n const queryKey = useQueryKey(ApiQueryName.Sites, \"getMany\", null, {\n organizationId,\n ...options,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => fetchSites(organizationId, options),\n enabled: options?.enabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchSiteCounts } from \"../../models/site\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useSiteCounts = (\n siteId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const queryKey = useQueryKey(ApiQueryName.SiteCounts, \"getOne\", siteId)\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchSiteCounts(siteId),\n enabled: !isNil(siteId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type SiteCounts = InferredQueryServiceValue<\n typeof useSiteCounts,\n ApiQueryName.SiteCounts\n>\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport Address from \"../../models/address\"\nimport { ApiQueryName } from \"../../models/api\"\nimport Currency from \"../../models/currency\"\nimport Site from \"../../models/site\"\nimport type { QueryMutation, UseCreateEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useCreateSite = ({\n onSuccess,\n onError,\n}: UseCreateEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Site, \"createOne\")\n const { create } = useSpraypaintModel(Site)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n newAttributes,\n }: Parameters>>[0]) => {\n const site = await create(newAttributes)\n return site\n },\n onSuccess: (site) => {\n onSuccess?.(site?.id)\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n createQueryKey(ApiQueryName.DepartmentCounts, \"getOne\"),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n ])\n },\n onError: (error: Error) => {\n onError?.(error.message)\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n\n/**\n * @deprecated Remove this hook once we're able to sidepost multiple resources with our\n * ActiveRecord wrapper's create() function.\n */\nexport const useCreateSiteWithAddress = ({\n onSuccess,\n onError,\n}: UseCreateEntityOptions) => {\n const { invalidateQueries } = useInvalidateQueries()\n const mutationKey = useQueryKey(ApiQueryName.Site, \"createOne\")\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n newAttributes,\n }: Parameters>>[0]) => {\n const { address, currency, ...rest } = newAttributes\n const addressModel = address ? new Address(address) : undefined\n\n // Even though we receive a Currency object in our param, Spraypaint won't recognize it\n // as an existing record without fetching the actual instance first.\n const currencyModel = currency?.id\n ? (await Currency.where({ id: currency.id }).first()).data\n : undefined\n\n const site = new Site({ ...rest })\n site.address = addressModel\n site.currency = currencyModel\n\n const success = await site.save({\n with: [\"address\", \"location.id\", \"sink.id\", \"currency.id\", \"nodes\"],\n })\n if (!success) {\n throw new Error(\"Failed to create site\")\n }\n return site.id\n },\n onSuccess: (siteId) => {\n onSuccess?.(siteId)\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n createQueryKey(ApiQueryName.DepartmentCounts, \"getOne\"),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n ])\n },\n onError: (error: Error) => {\n onError?.(error.message)\n },\n })\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Site from \"../../models/site\"\nimport type { QueryMutation, UseDeleteEntityOptions } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useDeleteSite = ({\n onSuccess,\n onError,\n}: UseDeleteEntityOptions) => {\n const mutationKey = useQueryKey(ApiQueryName.Site, \"deleteOne\")\n const { delete: deleteSite } = useSpraypaintModel(Site)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n }: Parameters>>[0]) => {\n await deleteSite(serviceEntityKey)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n onSuccess()\n invalidateQueries([\n createQueryKey(ApiQueryName.Site, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n createQueryKey(ApiQueryName.DepartmentCounts, \"getOne\"),\n createQueryKey(ApiQueryName.OrganizationCounts, \"getOne\"),\n ])\n },\n onError: () => {\n onError?.()\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useNotification } from \"@/contexts\"\nimport Address from \"@/models/address\"\nimport { ApiQueryName } from \"@/models/api\"\nimport Currency from \"@/models/currency\"\nimport Site from \"@/models/site\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\n\nimport type { QueryMutation } from \"../types\"\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateSite = () => {\n const queryClient = useQueryClient()\n const mutationKey = useQueryKey(ApiQueryName.SiteUpdate, \"updateOne\")\n const { update } = useSpraypaintModel(Site)\n const { invalidateQueries } = useInvalidateQueries()\n const { setNotification } = useNotification()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters>>[0]) => {\n return await update(serviceEntityKey, newAttributes)\n },\n onSettled: (data, error, vars) => {\n // Handle success\n if (data === true) {\n invalidateQueries([\n createQueryKey(ApiQueryName.Site, \"getOne\", vars.serviceEntityKey),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n ])\n\n queryClient\n .invalidateQueries([ApiQueryName.SiteExplorer])\n .catch((e: unknown) => {\n if (e instanceof Error) {\n console.error(e)\n }\n })\n }\n\n // Handle error\n // Spraypaint successfully returns 422 data as false\n // https://www.graphiti.dev/js/writes/\n if (data === false || error) {\n setNotification({\n message: \"Failed to update site. Please try again.\",\n type: \"error\",\n })\n }\n },\n })\n\n return useRenameQueryResult(mutationResult, ApiQueryName.SiteUpdate)\n}\n\n/**\n * temporarily used for updating site on the rec and planning screen for setting goals\n * and updating metadata about a site.\n *\n */\nexport const useUpdateSiteModel = () => {\n const queryClient = useQueryClient()\n const mutationKey = useQueryKey(ApiQueryName.Site, \"updateOne\")\n const { invalidateQueries } = useInvalidateQueries()\n const { setNotification } = useNotification()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async (vars: { site: Site; with?: string[] }) => {\n return await vars.site.save({\n with: vars.with,\n })\n },\n onSettled: (data, error, vars) => {\n // Handle success\n if (data === true) {\n invalidateQueries([\n createQueryKey(ApiQueryName.Site, \"getOne\", vars.site.id),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n ])\n\n queryClient\n .invalidateQueries([ApiQueryName.SiteExplorer])\n .catch((e: unknown) => {\n if (e instanceof Error) {\n console.error(e)\n }\n })\n }\n\n // Handle error\n // Spraypaint successfully returns 422 data as false\n // https://www.graphiti.dev/js/writes/\n if (data === false || error) {\n setNotification({\n message: \"Failed to update site. Please try again.\",\n type: \"error\",\n })\n }\n },\n })\n\n return mutationResult\n}\n\n/**\n * @deprecated Remove this hook once we're able to sidepost multiple resources with our\n * ActiveRecord wrapper's update() function.\n */\nexport const useUpdateSiteWithAddress = () => {\n const { invalidateQueries } = useInvalidateQueries()\n const mutationKey = useQueryKey(ApiQueryName.Site, \"updateOne\")\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters>>[0]) => {\n const { address, currency, ...rest } = newAttributes\n\n // Even though the site already exists, we have to fetch the instance with Spraypaint\n // or it will try creating the site instead of updating on save().\n const { data: site } = await Site.where({ id: serviceEntityKey })\n .includes([\"address\", \"currency\"])\n .first()\n\n if (site.address) {\n site.address.attributes = address\n } else {\n site.address = new Address(address)\n }\n\n if (site.currency) {\n site.currency.attributes = currency\n } else {\n site.currency = (\n await Currency.where({ id: currency?.id }).first()\n ).data\n }\n\n site.attributes = rest\n\n await site.save({\n with: [\"address\", \"location.id\", \"sink.id\", \"currency.id\", \"nodes\"],\n })\n return site.id\n },\n onSuccess: (_, { serviceEntityKey }) => {\n invalidateQueries([\n createQueryKey(ApiQueryName.Site, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Sites, \"getMany\"),\n ])\n },\n })\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { client } from \"../client\"\nimport type { Operations, Schemas } from \"../types\"\n\nexport const getPlans = async ({\n query,\n}: {\n query: Operations[\"get_bs_list_api_v1_plans_get\"][\"parameters\"][\"query\"]\n}): Promise => {\n const { data } = await client().GET(\"/api/v1/recommendations/plans\", {\n params: {\n query,\n },\n })\n\n return data ?? null\n\n // Don't throw until we're handling in site module\n // throw error as Error\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport type { UseQueryOptions, UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport type { Schemas } from \"../types\"\nimport { useQueryKey, useRenameQueryResult } from \"../utils\"\nimport type { RenamedQueryResult } from \"../utils\"\nimport { getPlans } from \"./get-plans\"\n\ninterface UseGetPlansOptions {\n queryOptions?: Omit\n}\n\n/**\n * Returns a sites list that have been planned with recommendations\n *\n * @example\n * const {\n * recommendationsPlansData,\n * recommendationsPlansError,\n * recommendationsPlansIsError\n * recommendationsPlansIsLoading,\n * } = useGetPlans({ queryOptions })\n */\nexport const useGetPlans = (\n options: UseGetPlansOptions = {}\n): RenamedQueryResult<\n UseQueryResult,\n ApiQueryName.RecommendationsPlans\n> => {\n const { organization } = useOrganizationContext()\n\n const hasOrg = Boolean(organization)\n\n const query = {\n organization_id: Number(organization?.id),\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationsPlans,\n \"getMany\",\n null,\n {\n ...query,\n }\n )\n\n let queryParams = {\n queryKey,\n queryFn: () =>\n getPlans({\n query,\n }),\n enabled: hasOrg,\n }\n\n if (options.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const queryResult = useQuery(queryParams)\n\n return useRenameQueryResult(queryResult, ApiQueryName.RecommendationsPlans)\n}\n","import { Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class ScopeThreeReportingData extends ApplicationRecord {\n public static jsonapiType = \"scope_three_reporting_data\"\n}\n","import type { ScopeEmissionBase } from \"../../models/scope\"\nimport ScopeThreeReportingData from \"../../models/scopeThree\"\nimport { snakeCaseToCamelCase } from \"../../utils/formatters\"\n\ninterface FetchScopeThreeEmissionsProps {\n endMonth: string\n organizationId: number\n startMonth: string\n year: string\n}\n\nexport interface FetchScopeThreeEmissionsValue extends ScopeEmissionBase {\n categoryId: number\n categoryName: string\n ghgEmissionsFactorsName: string\n siteId: number\n subcategoryId: number\n subcategoryName: string\n}\n\ninterface FetchScopeThreeReportingDataFilters {\n end_month: string\n organization_id: number\n start_month: string\n year: string\n}\n\nexport const fetchScopeThreeEmissions = ({\n organizationId,\n startMonth,\n endMonth,\n year,\n}: FetchScopeThreeEmissionsProps): Promise => {\n const filters: FetchScopeThreeReportingDataFilters = {\n organization_id: organizationId,\n year,\n start_month: startMonth,\n end_month: endMonth,\n }\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return ScopeThreeReportingData.where(filters)\n .stats({\n scope_three_reporting_data: \"calculate\",\n })\n .all()\n .then((result) => {\n const stats = result.meta.stats as Record<\n string,\n Record\n >\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return (\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n snakeCaseToCamelCase(stats.scope_three_reporting_data.calculate).map(\n (emission: FetchScopeThreeEmissionsValue) => ({\n ...emission,\n // The API returns mtCo2E as a string, but it's a number\n mtCo2E: Number.parseFloat(emission.mtCo2E as unknown as string),\n })\n )\n )\n })\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { fetchScopeThreeEmissions } from \"./useScopeThreeEmissionsUtils\"\n\n/**\n * This hook fetches and provides the scope three emissions for a given organization\n *\n * @param orgId - The id of the organization whose dates to get\n * @param dateRange - The date range to get the report dates for\n * @returns The scope three emissions of the top-most user accessible group for the given organization\n *\n * @example\n * ```tsx\n * import { useScopeThreeEmissions } from '../services'\n *\n * const {\n * scopeThreeData,\n * isScopeThreeDataFetched,\n * isScopeThreeDataLoading\n * } = useScopeThreeEmissions(orgId, Interval.fromISO(\"2022-01-01/2022-12-31\"))\n * ```\n */\nexport const useScopeThreeEmissions = (orgId: string, dateRange: Interval) => {\n const queryKey = useQueryKey(\n ApiQueryName.ScopeThreeEmissions,\n \"getMany\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n }\n )\n\n const queryFn = () =>\n fetchScopeThreeEmissions({\n organizationId: Number(orgId),\n startMonth: dateRange.start?.month.toString(),\n endMonth: dateRange.end?.month.toString(),\n year: dateRange.start?.year.toString(),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n // Disable caching so that our custom d3 scope three chart rerenders when the data changes\n // Using recharts would allow us to turn caching back on\n cacheTime: 0,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { billingGroupSchema } from \"./billingGroup\"\nimport { departmentSchema } from \"./department\"\nimport { meterSchema } from \"./meter\"\nimport { organizationSchema } from \"./organization\"\nimport { siteSchema } from \"./site\"\nimport { generateValidation } from \"./utils/schema\"\n\nexport const billingGroupFormValidation =\n generateValidation(billingGroupSchema).form()\n\nexport const departmentFormValidation =\n generateValidation(departmentSchema).form()\n\nexport const meterFormValidation = generateValidation(meterSchema).form()\n\nexport const organizationFormValidation =\n generateValidation(organizationSchema).form()\n\nexport const siteFormValidation = generateValidation(siteSchema).form()\n","import React, { useEffect, useMemo, useState } from \"react\"\n\nimport { DateTime, Interval } from \"luxon\"\n\nimport Box from \"@mui/material/Box\"\nimport FormControl from \"@mui/material/FormControl\"\nimport FormGroup from \"@mui/material/FormGroup\"\nimport FormHelperText from \"@mui/material/FormHelperText\"\nimport Select from \"@mui/material/Select\"\nimport type { SelectChangeEvent } from \"@mui/material/Select\"\n\nimport { MONTHS } from \"../../../utils/constants\"\nimport { pxToRem } from \"../../../utils/unit\"\n\nconst styles = {\n monthSelectContainer: {\n width: pxToRem(128),\n },\n yearSelectContainer: {\n marginRight: 2,\n width: pxToRem(80),\n },\n}\n\nconst YEAR_DEFAULT_TEXT = \"Year\"\nconst FIRST_MONTH_DEFAULT_TEXT = \"Start Month\"\nconst SECOND_MONTH_DEFAULT_TEXT = \"End Month\"\nconst placeholderValue = -1\n\nconst getYearOptions = (availableMaxMinMonths: Interval | null): string[] => {\n if (availableMaxMinMonths.isValid) {\n const startYear = availableMaxMinMonths.start.year\n const endYear = availableMaxMinMonths.end.year\n\n return Array.from({ length: endYear - startYear + 1 }, (_, index) =>\n (startYear + index).toString()\n )\n }\n\n return []\n}\n\nconst monthIsBeforeAvailableMonth = (\n availableMaxMinMonths: Interval,\n newSelectedYear: number,\n newMonth: number\n): boolean =>\n newSelectedYear === availableMaxMinMonths.start.year &&\n newMonth < availableMaxMinMonths.start.month\n\nconst monthIsAfterAvailableMonth = (\n availableMaxMinMonths: Interval,\n newSelectedYear: number,\n newMonth: number\n): boolean =>\n newSelectedYear === availableMaxMinMonths.end.year &&\n availableMaxMinMonths.end.month < newMonth\n\ninterface MonthRangeSelectorProps {\n availableMaxMinMonths?: Interval\n disabled?: boolean\n onChange: (value: Interval, context: undefined) => void\n value: Interval\n}\n\n/**\n * @deprecated Use MonthRangePicker component from nzds\n */\nexport const MonthRangeSelector = ({\n availableMaxMinMonths,\n value,\n onChange,\n disabled,\n}: MonthRangeSelectorProps) => {\n const [selectedYear, setSelectedYear] = useState(\n value.start?.isValid ? value.start.year : placeholderValue\n )\n const [selectedStartMonth, setSelectedStartMonth] = useState(\n value.start?.isValid ? value.start.month : placeholderValue\n )\n const [selectedEndMonth, setSelectedEndMonth] = useState(\n value.end?.isValid ? value.end.month : placeholderValue\n )\n\n const yearOptions = useMemo(\n () => getYearOptions(availableMaxMinMonths),\n [availableMaxMinMonths]\n )\n\n const isDisabled = useMemo(\n () => disabled || !availableMaxMinMonths.isValid,\n [availableMaxMinMonths, disabled]\n )\n\n const trySetStartEndMonth = (newSelectedYear: number): void => {\n let newStartMonth = selectedStartMonth\n\n if (\n monthIsBeforeAvailableMonth(\n availableMaxMinMonths,\n newSelectedYear,\n newStartMonth\n ) ||\n monthIsAfterAvailableMonth(\n availableMaxMinMonths,\n newSelectedYear,\n newStartMonth\n )\n ) {\n newStartMonth = placeholderValue\n setSelectedStartMonth(newStartMonth)\n }\n\n let newEndMonth = selectedEndMonth\n\n if (\n monthIsAfterAvailableMonth(\n availableMaxMinMonths,\n newSelectedYear,\n newEndMonth\n ) ||\n monthIsBeforeAvailableMonth(\n availableMaxMinMonths,\n newSelectedYear,\n newEndMonth\n )\n ) {\n newEndMonth = placeholderValue\n setSelectedEndMonth(newEndMonth)\n }\n\n const newDateRange = Interval.fromDateTimes(\n DateTime.fromObject({\n year: newSelectedYear,\n month: newStartMonth,\n day: 1,\n }),\n DateTime.fromObject({\n year: newSelectedYear,\n month: newEndMonth,\n day: 1,\n }).endOf(\"month\")\n )\n\n if (newDateRange) {\n onChange(newDateRange, undefined)\n }\n }\n\n const onYearChange = (e: SelectChangeEvent): void => {\n const newSelectedYear = Number(e.target.value)\n setSelectedYear(newSelectedYear)\n trySetStartEndMonth(newSelectedYear)\n }\n\n const onStartMonthChange = (e: SelectChangeEvent): void => {\n setSelectedStartMonth(Number(e.target.value))\n\n const newDateRange = Interval.fromDateTimes(\n DateTime.fromObject({\n year: selectedYear,\n month: Number(e.target.value),\n day: 1,\n }),\n DateTime.fromObject({\n year: selectedYear,\n month: selectedEndMonth,\n day: 1,\n }).endOf(\"month\")\n )\n\n if (newDateRange.isValid) {\n onChange(newDateRange, undefined)\n }\n }\n\n const onEndMonthChange = (e: SelectChangeEvent): void => {\n setSelectedEndMonth(Number(e.target.value))\n\n const newDateRange = Interval.fromDateTimes(\n DateTime.fromObject({\n year: selectedYear,\n month: selectedStartMonth,\n day: 1,\n }),\n DateTime.fromObject({\n year: selectedYear,\n month: Number(e.target.value),\n day: 1,\n }).endOf(\"month\")\n )\n\n if (newDateRange.isValid) {\n onChange(newDateRange, undefined)\n }\n }\n\n const isStartMonthUnavailable: boolean =\n selectedYear !== placeholderValue && selectedStartMonth === placeholderValue\n\n const isEndMonthUnavailable: boolean =\n selectedYear !== placeholderValue && selectedEndMonth === placeholderValue\n\n useEffect(() => {\n if (value.isValid) {\n setSelectedYear(value.start.year)\n setSelectedStartMonth(value.start.month)\n setSelectedEndMonth(value.end.month)\n }\n }, [value])\n\n return (\n \n \n \n \n {yearOptions.map((option) => (\n \n ))}\n \n \n \n \n \n \n {FIRST_MONTH_DEFAULT_TEXT}\n \n {[...Array(12).keys()].map((option) => {\n const monthNumber = option + 1\n\n return (\n \n {MONTHS[option]}\n \n )\n })}\n \n {isStartMonthUnavailable && (\n \n Previous selection unavailable\n \n )}\n \n \n \n —\n \n \n \n \n \n {SECOND_MONTH_DEFAULT_TEXT}\n \n {[...Array(12).keys()].map((option) => {\n const monthNumber = option + 1\n\n return (\n monthNumber ||\n yearOptions?.length === 0\n }\n value={monthNumber}\n >\n {MONTHS[option]}\n \n )\n })}\n \n {isEndMonthUnavailable && (\n \n Previous selection unavailable\n \n )}\n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { PageHeaderActionBarProps } from \"./page-header-action-bar.types\"\n\n/**\n * Used to display action buttons under the page header\n * Use if you need to display action buttons under the page header, and are not passing\n * any actions to the page header itself\n */\nexport const PageHeaderActionBar: FC = ({\n children,\n hasTabs = true,\n}) => {\n return (\n \n {children}\n \n )\n}\n","/* eslint-disable react/require-default-props */\nimport React from \"react\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport { MAX_MONTHS_IN_RANGE } from \"../../../../utils/constants\"\nimport emptyCity from \"../../assets/city street-gray.svg\"\n\ninterface EmptyChartProps {\n header?: string\n subHeader?: string\n}\n\nexport const DATE_PICKER_ERROR_MESSAGE = `Must be within ${MAX_MONTHS_IN_RANGE} months`\nexport const EMPTY_HEADER = \"There is no activity data available for this site.\"\nexport const DATE_RANGE_ERROR_SUBHEADER =\n \"Please select a different date range.\"\nexport const DEFAULT_HEADER = \"Data Unavailable\"\n\nconst EmptyChart: React.FC = ({ header, subHeader }) => (\n ({\n color: theme.palette.text.secondary,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexDirection: \"column\",\n })}\n >\n \n {header ?? DEFAULT_HEADER}\n \n {subHeader && (\n \n {subHeader}\n \n )}\n \n \n)\n\nexport default EmptyChart\n","import React from \"react\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport { EmissionDecimal } from \"../../../decimal/emissionDecimal/emissionDecimal\"\nimport type { RowItem } from \"../../types\"\n\ninterface LegendRowProps {\n rowItem: RowItem\n}\n\nconst LegendRow = ({ rowItem }: LegendRowProps): JSX.Element => (\n \n \n {rowItem.color && (\n \n )}\n \n {rowItem.label}\n \n \n \n \n \n \n \n \n)\n\nexport default LegendRow\n","import React from \"react\"\n\nimport { Divider } from \"@mui/material\"\n\nimport { gray50 } from \"../../../../utils/colors\"\nimport { getDataE2EAttribute } from \"../../../../utils/e2e\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport type { RowItem } from \"../../types\"\nimport LegendRow from \"../legendRow/legendRow\"\n\ninterface LegendRowsProps {\n rows: RowItem[]\n}\n\nconst LegendRows = ({ rows }: LegendRowsProps): JSX.Element => (\n <>\n {rows.map((rowItem, i, array) => (\n \n \n {array.length - 1 !== i && (\n \n )}\n \n ))}\n \n)\n\nexport default LegendRows\n","import React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Box, Divider, Typography } from \"@mui/material\"\n\nimport { FONT_WEIGHT } from \"../../../models/typography\"\nimport type { UnitName } from \"../../../models/unit\"\nimport { gray50, gray100 } from \"../../../utils/colors\"\nimport { pxToRem, translateUnit } from \"../../../utils/unit\"\nimport type { RowItem } from \"../types\"\nimport LegendRow from \"./legendRow/legendRow\"\nimport LegendRows from \"./legendRows/legendRows\"\n\ninterface LegendProps {\n items: RowItem[]\n itemsTitle: string\n unit: UnitName\n}\n\nconst Legend = ({ items, itemsTitle, unit }: LegendProps): JSX.Element => {\n const { i18n } = useTranslation()\n const total: number | null = items?.every(\n (item) => !Number.isFinite(item.value)\n )\n ? null\n : items.reduce((acc, item) => acc + item.value, 0)\n\n return (\n \n \n {itemsTitle}\n \n {translateUnit(i18n.language, unit)}\n \n \n \n \n \n \n \n )\n}\n\nexport default Legend\n","import React, { useMemo } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { buildUrlSearchParamsString, useUrl } from \"@/utils/url\"\nimport type { Interval } from \"luxon\"\n\nimport { ListAlt } from \"@mui/icons-material\"\nimport { Box, Button, Stack, useTheme } from \"@mui/material\"\n\nimport { MetricType } from \"../../../models/decimal/decimal\"\nimport { ReportPath } from \"../../../models/route\"\nimport { UnitName } from \"../../../models/unit\"\nimport type { AllScopeEmissionsData } from \"../../../modules/dashboard/models/dashboard\"\nimport EmptyChart from \"../../../modules/site/components/site/emptyChart\"\nimport type { Organization } from \"../../../services\"\nimport Legend from \"../../graph/legend/legend\"\nimport { MonthlyStackedAreaGraph } from \"../../graph/monthly-stacked-area-graph/monthly-stacked-area-graph\"\nimport { buildLegendItems } from \"../../graph/monthly-stacked-area-graph/monthly-stacked-area-graph-util\"\nimport type {\n AreaGraphMap,\n MonthlyAreaGraphDatum,\n MonthlyEmissionsByScopeGraphValues,\n} from \"../../graph/types\"\n\ninterface EmissionsByScopeProps {\n dateRange: Interval\n isLimitedAccessUser: boolean\n organization: Organization\n scopeData: AllScopeEmissionsData | undefined\n}\n\nconst emissionsByScopeTooltipLabelsMap = {\n \"Scope 1\": {\n label: \"Scope 1\",\n metricFormattingComponentId: MetricType.Emission,\n },\n \"Scope 2\": {\n label: \"Scope 2\",\n metricFormattingComponentId: MetricType.Emission,\n },\n \"Scope 3\": {\n label: \"Scope 3\",\n metricFormattingComponentId: MetricType.Emission,\n },\n}\n\nconst EmissionsByScopeTooltipLabels: Record<\n number,\n keyof MonthlyEmissionsByScopeGraphValues\n> = {\n 1: \"scopeOne\",\n 2: \"scopeTwo\",\n 3: \"scopeThree\",\n}\n\nconst EmissionsByScope: React.FC = ({\n dateRange,\n isLimitedAccessUser,\n organization,\n scopeData,\n}) => {\n const theme = useTheme()\n const { buildReportingUrl } = useUrl()\n\n const { isFeatureEnabled } = useFeature()\n\n const isButtonVisible =\n isFeatureEnabled(FeatureFlags.REPORT_ACTIVITY_EMISSIONS, organization) &&\n !isLimitedAccessUser\n\n const colors: string[] = [\n theme.palette.spectrum.blue[500],\n theme.palette.spectrum.cerulean[200],\n theme.palette.spectrum.peach[100],\n ]\n\n const { graphData, graphKeys } = scopeData\n\n // Ensure each graph item returns a number value\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data = useMemo(\n () =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n graphData.map((datum) => {\n const newDatum = { ...datum } as MonthlyAreaGraphDatum\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n graphKeys.forEach((key) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n newDatum[key] = datum[key] ?? 0\n })\n return newDatum\n }),\n [graphData, graphKeys]\n )\n\n const scopeTotals: MonthlyEmissionsByScopeGraphValues = useMemo(() => {\n const totals: MonthlyEmissionsByScopeGraphValues = {\n scopeThree: 0,\n scopeTwo: 0,\n scopeOne: 0,\n }\n scopeData?.scopeTotals.forEach((scopeTotal) => {\n totals[EmissionsByScopeTooltipLabels[scopeTotal.scope]] = scopeTotal.value\n })\n return totals\n }, [scopeData?.scopeTotals])\n\n const emissionsByScopeMap: AreaGraphMap = {\n scopeThree: {\n label: \"Scope 3\",\n color: colors[2],\n },\n scopeTwo: {\n label: \"Scope 2\",\n color: colors[1],\n },\n scopeOne: {\n label: \"Scope 1\",\n color: colors[0],\n },\n }\n\n if (data?.length < 1) {\n return (\n \n )\n }\n\n return (\n \n \n \n \n {isButtonVisible && (\n }\n size=\"small\"\n to={`${buildReportingUrl(ReportPath.EmissionsSources)}?${buildUrlSearchParamsString(\n {\n start: dateRange.start,\n end: dateRange.end,\n }\n )}`}\n variant=\"outlined\"\n >\n Emissions Sources\n \n )}\n \n \n \n )\n}\n\nexport default EmissionsByScope\n","import type { ReactNode } from \"react\"\nimport React, { useMemo } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport InfoRoundedIcon from \"@mui/icons-material/InfoRounded\"\nimport ThumbDownRoundedIcon from \"@mui/icons-material/ThumbDownRounded\"\nimport ThumbUpRoundedIcon from \"@mui/icons-material/ThumbUpRounded\"\nimport { Box, Skeleton, Tooltip, Typography, useTheme } from \"@mui/material\"\n\nimport type { UnitName } from \"../../../models/unit\"\nimport { pxToRem } from \"../../../utils/unit\"\nimport { DecimalWithPlaceholder } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { If } from \"../../if/if\"\nimport { Unit } from \"../../unit/unit\"\n\ninterface IOrganizationDashboardMetricProps {\n dataE2e: string\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n decimalComponent: any\n isDateRangeOverAYear: boolean\n isLoadingPreviousValue?: boolean\n isValidYoY: boolean\n previousValue: number | undefined\n title: ReactNode\n unit?: UnitName\n unitText?: string\n value: number | undefined\n}\n\nconst styles = {\n bottomContent: {\n mr: pxToRem(4),\n },\n subBottomContent: {\n color: \"inherit\",\n },\n subBottomContentText: {\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n },\n}\n\nconst getPercentDifference = (value: number, previousValue: number) =>\n ((value - previousValue) / Math.abs(previousValue)) * 100\n\nconst OrganizationDashboardMetric = ({\n title,\n value,\n unit,\n unitText,\n isValidYoY,\n previousValue,\n decimalComponent,\n isDateRangeOverAYear,\n isLoadingPreviousValue,\n dataE2e,\n}: IOrganizationDashboardMetricProps): JSX.Element => {\n const percentDifference: number = useMemo(\n () =>\n isValidYoY && value && previousValue\n ? getPercentDifference(value, previousValue)\n : NaN,\n [isValidYoY, value, previousValue]\n )\n\n const isPositive: boolean = percentDifference && percentDifference < 0\n const isNegative: boolean = percentDifference && percentDifference > 0\n const isNeutral = !percentDifference\n const yearOverYearText: string = isPositive\n ? \"Lower, Year-Over-Year\"\n : \"Higher, Year-Over-Year\"\n const tooltipText: string = isDateRangeOverAYear\n ? \"Select 12 months or less to view a Year-Over-Year comparison\"\n : \"Not enough available data for Year-Over-Year comparison\"\n\n const theme = useTheme()\n\n return (\n \n \n {title}\n \n \n \n {/* Mass eslint disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-call */}\n {decimalComponent({ value })}\n \n {unit && (\n \n {\" \"}\n \n \n )}\n {/* TODO: Remove when the unit component supports this use case */}\n {unitText && (\n \n {\" \"}\n {unitText}\n \n )}\n \n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n %\n \n \n \n {yearOverYearText}\n \n \n \n \n \n )\n}\n\nexport default OrganizationDashboardMetric\n","import React, { useCallback, useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { DataGuard } from \"@/components/data-guard\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport {\n useActiveOrganizationId,\n useOrganization,\n} from \"@/services/organization\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates/useAvailableReportDates\"\nimport { useSitePreviews } from \"@/services/useSitePreviews/useSitePreviews\"\nimport { useUserAccess } from \"@/services/user\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport { Interval } from \"luxon\"\n\nimport { Grid } from \"@mui/material\"\n\nimport { Translation } from \"../../models/i18n\"\nimport { UnitName } from \"../../models/unit\"\nimport OrganizationDashboardScopeSection from \"../../modules/dashboard/components/organizationDashboardScopeSection/organizationDashboardScopeSection\"\nimport type {\n AllScopeEmissionsData,\n OrgDashboardDataE2eAttributes,\n} from \"../../modules/dashboard/models/dashboard\"\nimport { useElectricityCost } from \"../../modules/dashboard/services/useElectricityCost/useElectricityCost\"\nimport { useEmissionsStats } from \"../../modules/dashboard/services/useEmissionsStats/useEmissionsStats\"\nimport { useEnergyConsumption } from \"../../modules/dashboard/services/useEnergyConsumption/useEnergyConsumption\"\nimport type { GroupSummary } from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport { useScope2CarbonIntensity } from \"../../modules/dashboard/services/useScope2CarbonIntensity/useScope2CarbonIntensity\"\nimport { useScopeOneEmissions } from \"../../modules/dashboard/services/useScopeOneEmissions/useScopeOneEmissions\"\nimport { useScopeTwoEmissions } from \"../../modules/dashboard/services/useScopeTwoEmissions/useScopeTwoEmissions\"\nimport {\n getAllScopeEmissionsCategories,\n getScopeEmissionsGraphData,\n getScopeOneEmissionsCategories,\n getScopeOneEmissionsGraphData,\n getScopeThreeEmissionsGraphData,\n getScopeTotalEmissions,\n getScopeTwoEmissionsGraphData,\n getScopeTwoTotalEmissions,\n getScopeTwoTotalKwh,\n sortedScopeTotals,\n} from \"../../modules/dashboard/util/organizationDashboardUtils\"\nimport { useScopeThreeEmissions } from \"../../services\"\nimport { KWH_PER_MWH, LBS_PER_METRIC_TON } from \"../../utils/constants\"\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { MonthRangeSelector } from \"../date/monthRangeSelector/monthRangeSelector\"\nimport { EmissionDecimal } from \"../decimal/emissionDecimal/emissionDecimal\"\nimport { EnergyUnitDecimal } from \"../decimal/energyUnitDecimal/energyUnitDecimal\"\nimport { PageHeaderActionBar } from \"../nav/page-header-action-bar/page-header-action-bar\"\nimport { PageHeader } from \"../nav/page-header/page-header\"\nimport { Page } from \"../page/page\"\nimport EmissionsByScope from \"./emissionsByScope/emissionsByScope\"\nimport OrganizationDashboardItem from \"./organizationDashboardItem/organizationDashboardItem\"\nimport OrganizationDashboardMetric from \"./organizationDashboardMetric/organizationDashboardMetric\"\nimport { OrganizationDashboardMetricTitle } from \"./organizationDashboardMetricTitle/organizationDashboardMetricTitle\"\n\nconst MIN_HEIGHT_CARD = 320\nconst METRIC_MIN_HEIGHT = 124\n\nconst OrgDashboardE2eAttr: OrgDashboardDataE2eAttributes = {\n totalEmissionsValue: \"total-emissions-value\",\n energyConsumptionValue: \"energy-consumption-value\",\n energyCostValue: \"energy-cost-value\",\n waterConsumptionValue: \"water-consumption-value\",\n scopeOneEmissionsValue: \"scope-one-emissions-value\",\n scopeThreeEmissionsValue: \"scope-three-emissions-value\",\n}\n\nconst dashboardMetrics = {\n waterConsumption: {\n name: \"Water Consumption\",\n unit: \"m³\",\n decimalComponent: EmissionDecimal,\n },\n}\n\nexport const OrganizationDashboard: React.FC = () => {\n const { isLimitedAccessUser } = useUserAccess()\n const { activeOrganizationId } = useActiveOrganizationId()\n\n const { organization, isOrganizationLoading } =\n useOrganization(activeOrganizationId)\n\n const { availableReportDatesData } = useAvailableReportDates(organization?.id)\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"dashboardDateRange\",\n bounds: availableReportDatesData,\n })\n\n const previousDateRange = useMemo(\n () =>\n dateRange.isValid\n ? Interval.fromDateTimes(\n dateRange.start.minus({ years: 1 }),\n dateRange.end.minus({ years: 1 })\n )\n : Interval.invalid(\"Invalid date range\"),\n [dateRange.end, dateRange.isValid, dateRange.start]\n )\n\n const { sitePreviewsData, sitePreviewsIsLoading } = useSitePreviews(\n organization?.id\n )\n\n const { isFeatureEnabled } = useFeature()\n\n const { t } = useTranslation()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const { emissionsStats, isEmissionsStatsLoading } = useEmissionsStats(\n organization?.id,\n // Mass eslint disable\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n sitePreviewsData?.map((site) => site.id),\n dateRange,\n [1, 3]\n )\n\n const { energyConsumption, isEnergyConsumptionFetched } =\n useEnergyConsumption(organization?.id, dateRange)\n const {\n energyConsumption: previousEnergyConsumption,\n isEnergyConsumptionFetched: isPreviousEnergyConsumptionFetched,\n } = useEnergyConsumption(organization?.id, previousDateRange)\n\n const { electricityCost, isElectricityCostFetched } = useElectricityCost(\n organization?.id,\n dateRange\n )\n const {\n electricityCost: previousElectricityCost,\n isElectricityCostFetched: isPreviousElectricityCostFetched,\n } = useElectricityCost(organization?.id, previousDateRange)\n\n const { scopeOneEmissions, isScopeOneEmissionsFetched } =\n useScopeOneEmissions(organization?.id, dateRange)\n\n const {\n scopeOneEmissions: previousScopeOneEmissions,\n isScopeOneEmissionsFetched: isPreviousScopeOneEmissionsFetched,\n } = useScopeOneEmissions(organization?.id, previousDateRange)\n\n const scopeOneTotalEmissions = useMemo(\n () => getScopeTotalEmissions(scopeOneEmissions),\n [scopeOneEmissions]\n )\n\n const previousScopeOneTotalEmissions = useMemo(\n () => getScopeTotalEmissions(previousScopeOneEmissions),\n [previousScopeOneEmissions]\n )\n\n const scopeOneGraphKeys = useMemo(\n () => getScopeOneEmissionsCategories(scopeOneEmissions),\n [scopeOneEmissions]\n )\n\n const { scopeTwoEmissions, isScopeTwoEmissionsFetched } =\n useScopeTwoEmissions(organization?.id, dateRange)\n\n const {\n scopeTwoEmissions: previousScopeTwoEmissions,\n isScopeTwoEmissionsFetched: isPreviousScopeTwoEmissionsFetched,\n } = useScopeTwoEmissions(organization?.id, previousDateRange)\n\n const scopeTwoTotalEmissions = useMemo(\n () => getScopeTwoTotalEmissions(scopeTwoEmissions),\n [scopeTwoEmissions]\n )\n\n const previousScopeTwoTotalEmissions = useMemo(\n () => getScopeTwoTotalEmissions(previousScopeTwoEmissions),\n [previousScopeTwoEmissions]\n )\n const { scopeThreeEmissions, isScopeThreeEmissionsFetched } =\n useScopeThreeEmissions(organization?.id, dateRange)\n\n const {\n scopeThreeEmissions: previousScopeThreeEmissions,\n isScopeThreeEmissionsFetched: isPreviousScopeThreeEmissionsFetched,\n } = useScopeThreeEmissions(organization?.id, previousDateRange)\n\n const scopeThreeTotalEmissions = useMemo(\n () => getScopeTotalEmissions(scopeThreeEmissions),\n [scopeThreeEmissions]\n )\n\n const previousScopeThreeTotalEmissions = useMemo(\n () => getScopeTotalEmissions(previousScopeThreeEmissions),\n [previousScopeThreeEmissions]\n )\n\n const {\n emissionsStats: previousEmissionStats,\n isEmissionsStatsLoading: isPreviousEmissionsStatsLoading,\n } = useEmissionsStats(\n organization?.id,\n // Mass eslint disable\n // Mass eslint disable for @typescript-eslint/no-unsafe-member-access\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n sitePreviewsData?.map((site) => site.id),\n previousDateRange,\n [1, 3]\n )\n\n // TODO: Remove this boolean prop once the flexible hierarchy feature is enabled by default\n const { scope2CarbonIntensityStats, isScope2CarbonIntensityLoading } =\n useScope2CarbonIntensity(organization?.id, dateRange, {\n isUseFlexibleHierarchyEnabled,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n isBundled: organization?.hasBundled,\n })\n\n const totalMwh = useMemo(() => {\n const organizationSummaryStats =\n scope2CarbonIntensityStats.organizationSummaryStats as\n | GroupSummary[]\n | undefined\n if (!organizationSummaryStats) {\n return NaN\n }\n return (\n organizationSummaryStats.reduce(\n (total, currentDepartmentSummary) =>\n total + currentDepartmentSummary.meteredKwh,\n 0\n ) / KWH_PER_MWH\n )\n }, [scope2CarbonIntensityStats.organizationSummaryStats])\n\n const totalEmissions: number | null = useMemo(() => {\n if (\n !Number.isFinite(scopeOneTotalEmissions) &&\n !Number.isFinite(scopeTwoTotalEmissions) &&\n !Number.isFinite(scopeThreeTotalEmissions)\n ) {\n return null\n }\n return (\n scopeOneTotalEmissions + scopeTwoTotalEmissions + scopeThreeTotalEmissions\n )\n }, [scopeOneTotalEmissions, scopeThreeTotalEmissions, scopeTwoTotalEmissions])\n const previousTotalEmissions = useMemo(\n () =>\n previousScopeOneTotalEmissions +\n previousScopeTwoTotalEmissions +\n previousScopeThreeTotalEmissions,\n [\n previousScopeOneTotalEmissions,\n previousScopeThreeTotalEmissions,\n previousScopeTwoTotalEmissions,\n ]\n )\n\n const monthEmissionsScopeData: AllScopeEmissionsData = useMemo(\n () => ({\n graphData: getScopeEmissionsGraphData(\n dateRange,\n scopeOneEmissions,\n scopeTwoEmissions,\n scopeThreeEmissions\n ),\n graphKeys: getAllScopeEmissionsCategories(\n scopeOneEmissions?.length,\n scopeTwoEmissions?.length,\n scopeThreeEmissions?.length\n ),\n scopeTotals: sortedScopeTotals(\n scopeOneTotalEmissions,\n scopeTwoTotalEmissions,\n scopeThreeTotalEmissions\n ),\n totalEmissions,\n }),\n [\n dateRange,\n scopeOneEmissions,\n scopeOneTotalEmissions,\n scopeThreeEmissions,\n scopeThreeTotalEmissions,\n scopeTwoEmissions,\n scopeTwoTotalEmissions,\n totalEmissions,\n ]\n )\n\n const isDateRangeOverAYear: boolean = useMemo(\n () => dateRange.isValid && dateRange.length(\"months\") >= 12,\n [dateRange]\n )\n\n const handleDateRangeChange = useCallback(\n (newDateRange: Interval | null): void => {\n if (newDateRange?.isValid) {\n setDateRange(newDateRange)\n }\n },\n [setDateRange]\n )\n\n const isValidYoY: boolean = useMemo(\n () =>\n previousDateRange.isValid &&\n availableReportDatesData.isValid &&\n availableReportDatesData.engulfs(\n Interval.fromDateTimes(\n previousDateRange.start.startOf(\"month\"),\n previousDateRange.end\n )\n ),\n [previousDateRange, availableReportDatesData]\n )\n\n return (\n <>\n \n \n \n \n \n \n \n {\n // Metrics must be rendered separately due to various api calls gathering their data\n }\n \n \n }\n unit={UnitName.MetricTonsOfCarbonDioxideEquivalent}\n value={totalEmissions}\n />\n }\n isLoading={\n !(\n isScopeOneEmissionsFetched &&\n isScopeTwoEmissionsFetched &&\n isScopeThreeEmissionsFetched &&\n isPreviousScopeOneEmissionsFetched &&\n isPreviousScopeTwoEmissionsFetched &&\n isPreviousScopeThreeEmissionsFetched\n )\n }\n minHeight={METRIC_MIN_HEIGHT}\n />\n \n \n \n }\n unit={UnitName.GigaJoule}\n // Mass eslint disable for @typescript-eslint/no-unsafe-assignment\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value={energyConsumption?.total}\n />\n }\n isLoading={\n !(\n isEnergyConsumptionFetched &&\n isPreviousEnergyConsumptionFetched\n )\n }\n minHeight={METRIC_MIN_HEIGHT}\n />\n \n \n \n }\n // Mass eslint disable for @typescript-eslint/no-unsafe-assignment\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value={electricityCost?.total}\n />\n }\n isLoading={\n !(\n isElectricityCostFetched && isPreviousElectricityCostFetched\n )\n }\n minHeight={METRIC_MIN_HEIGHT}\n />\n \n \n \n }\n unitText={dashboardMetrics.waterConsumption.unit}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value={emissionsStats?.waterEmissions}\n />\n }\n isLoading={\n isEmissionsStatsLoading ||\n isPreviousEmissionsStatsLoading ||\n isOrganizationLoading ||\n sitePreviewsIsLoading\n }\n minHeight={METRIC_MIN_HEIGHT}\n />\n \n {/* Full width content: Monthly Emissions by Scope section (FULL WIDTH) */}\n \n \n }\n isLoading={\n !(\n isScopeOneEmissionsFetched &&\n isScopeTwoEmissionsFetched &&\n isScopeThreeEmissionsFetched\n )\n }\n minHeight={MIN_HEIGHT_CARD}\n title=\"Monthly Emissions by Scope\"\n />\n \n \n \n \n \n \n )\n}\n\nexport default OrganizationDashboard\n","import { useMemo } from \"react\"\n\nimport type { Interval } from \"luxon\"\n\nimport { useEnergyStats } from \"../useEnergyStats/useEnergyStats\"\nimport { useOrgSummaryStats } from \"../useOrgSummaryStats/useOrgSummaryStats\"\nimport type {\n IDepartmentSummary,\n OrganizationChildrenSummary,\n} from \"../useOrgSummaryStats/useOrgSummaryStatsUtils\"\n\nconst useScope2CarbonIntensity = (\n orgId: string,\n dateRange: Interval,\n options?: { isBundled?: boolean; isUseFlexibleHierarchyEnabled?: boolean }\n): {\n isScope2CarbonIntensityFetched: boolean\n isScope2CarbonIntensityFetching: boolean\n isScope2CarbonIntensityLoading: boolean\n scope2CarbonIntensityStats: {\n energyStats: Awaited[\"energyStats\"]>\n organizationSummaryStats:\n | OrganizationChildrenSummary[]\n | IDepartmentSummary[]\n }\n} => {\n const {\n energyStats,\n isEnergyStatsFetched,\n isEnergyStatsFetching,\n isEnergyStatsLoading,\n } = useEnergyStats(orgId, dateRange)\n const {\n organizationSummaryStats,\n isOrganizationSummaryStatsFetched,\n isOrganizationSummaryStatsFetching,\n isOrganizationSummaryStatsLoading,\n } = useOrgSummaryStats(orgId, dateRange, {\n isUseFlexibleHierarchyEnabled: options?.isUseFlexibleHierarchyEnabled,\n isBundled: options?.isBundled,\n })\n\n // TODO: Remove this once the flexible hierarchy feature is enabled by default\n const typedOrganizationSummaryStats = organizationSummaryStats as\n | OrganizationChildrenSummary[]\n | IDepartmentSummary[]\n\n return useMemo(\n () => ({\n scope2CarbonIntensityStats: {\n energyStats,\n organizationSummaryStats: typedOrganizationSummaryStats,\n },\n isScope2CarbonIntensityFetching:\n isOrganizationSummaryStatsFetching || isEnergyStatsFetching,\n isScope2CarbonIntensityLoading:\n isEnergyStatsLoading || isOrganizationSummaryStatsLoading,\n isScope2CarbonIntensityFetched:\n isEnergyStatsFetched && isOrganizationSummaryStatsFetched,\n }),\n [\n energyStats,\n typedOrganizationSummaryStats,\n isOrganizationSummaryStatsFetching,\n isEnergyStatsFetching,\n isEnergyStatsLoading,\n isOrganizationSummaryStatsLoading,\n isEnergyStatsFetched,\n isOrganizationSummaryStatsFetched,\n ]\n )\n}\n\nexport { useScope2CarbonIntensity }\n","import React from \"react\"\nimport type { ReactNode } from \"react\"\n\nimport moment from \"moment-timezone\"\n\ninterface OrganizationDashboardResolverProps {\n children: ReactNode\n}\n\n/**\n * A component that ensures the organization dashboard is set up before rendering\n *\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const OrganizationDashboardResolver = ({\n children,\n}: OrganizationDashboardResolverProps) => {\n // Ensure timezone is the client's timezone\n moment.tz.setDefault()\n\n return <>{children}\n}\n\nexport default OrganizationDashboardResolver\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\n\nimport OrganizationDashboard from \"../organizationDashboard\"\nimport OrganizationDashboardResolver from \"../organizationDashboard.resolver\"\n\nexport const OrganizationDashboardIndexRoute: FC = () => {\n return (\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Page404 } from \"@/components/nav/page404\"\nimport { useAuthentication } from \"@/contexts\"\n\nimport type { RoleGuardProps } from \"./role-guard.types\"\n\n/**\n * A guard that displays a 404 UI when the user is not one of the allowed roles\n *\n * @example\n * \n *\n * @example\n * \n */\nexport const RoleGuard: FC = ({\n allowedRoles,\n children,\n disallowedRoles,\n}) => {\n const { activeUser } = useAuthentication()\n\n if (!activeUser) {\n return null\n }\n\n const isAllowed = allowedRoles\n ? allowedRoles.includes(activeUser?.role)\n : !disallowedRoles?.includes(activeUser?.role)\n\n return isAllowed ? <>{children} : \n}\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { OrganizationDashboardIndexRoute } from \"@/components/organizationDashboard/organization-dashboard-index-route\"\nimport { RoleGuard } from \"@/components/route/role-guard\"\nimport { RootPath } from \"@/models/route\"\n\nexport const dashboardRoutes: RouteObject[] = [\n {\n path: RootPath.Dashboard,\n element: (\n \n \n \n \n \n ),\n },\n]\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link, Navigate, Outlet, useMatch } from \"react-router-dom\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { DataPath, RootPath } from \"@/models/route\"\nimport { useActiveOrganizationId } from \"@/services/organization\"\n\nimport { Tab, Tabs } from \"@mui/material\"\n\nexport const DataIndexRoute: FC = () => {\n const { activeOrganizationId } = useActiveOrganizationId()\n\n const indexMatch = useMatch(`${activeOrganizationId}/${RootPath.Data}`)\n const uploadMatch = useMatch(\n `${activeOrganizationId}/${RootPath.Data}/${DataPath.Upload}`\n )\n const qaMatch = useMatch(\n `${activeOrganizationId}/${RootPath.Data}/${DataPath.QA}`\n )\n\n if (indexMatch) {\n return \n }\n\n let activeTabPath = \"\"\n\n if (uploadMatch) {\n activeTabPath = DataPath.Upload\n } else if (qaMatch) {\n activeTabPath = DataPath.QA\n }\n\n return (\n <>\n element\n // So must use it manually\n \n }\n title=\"Data Manager\"\n />\n \n \n )\n}\n","export const allConsultantsTeamName = \"All Consultants\"\nexport const allCustomersTeamName = \"All Customers\"\nexport const allQATeamName = \"All QA\"\nexport const allSitesTeamName = \"All Sites\"\nexport const allConsultantsWorkspaceName = allConsultantsTeamName\nexport const allCustomersWorkspaceName = allCustomersTeamName\nexport const allQAWorkspaceName = allQATeamName\nexport const allSitesWorkspaceName = allSitesTeamName\n\nexport const consultantTeamNames = [\n allConsultantsWorkspaceName,\n allQAWorkspaceName,\n]\nexport const consultantWorkspaceNames = [...consultantTeamNames]\n\nexport interface SigmaAccessToken {\n accessToken: string\n expiresIn: number\n refreshToken: string\n tokenType: string\n}\n\nexport interface SigmaAccessTokenResponse {\n access_token: string\n expires_in: number\n refresh_token: string\n token_type: string\n}\n\nexport type SigmaEmbedSourceType = \"page\" | \"workbook\"\n\nexport interface SigmaPaginatedResponse {\n entries: ResponseT[]\n hasMore: boolean\n nextPage: string | null\n total: number\n}\n\nexport type SigmaTeamVisibility = \"public\" | \"private\"\n\nexport interface SigmaTeam {\n createdAt: string\n createdBy: string\n description: string\n isArchived: boolean\n name: string\n teamId: string\n updatedAt: string\n updatedBy: string\n visibility: SigmaTeamVisibility\n}\n\nexport interface SigmaWorkbook {\n createdAt: string\n createdBy: string\n id: string // We're adding id to the response, we shouldn't do this\n latestVersion: number\n name: string\n ownerId: string\n path: string // e.g. \"Boyd\", \"Engineering\", \"ENVS\"\n updatedAt: string\n updatedBy: string\n url: string\n workbookId: string\n workbookUrlId: string\n}\n\nexport interface SigmaWorkbookEmbed {\n embedId: string\n embedUrl: string\n public: boolean\n sourceId: string\n sourceName: string\n sourceType: SigmaEmbedSourceType\n}\n","import { initCaseResponseInterceptor } from \"@/utils\"\nimport axios from \"axios\"\nimport type { AxiosInstance } from \"axios\"\n\nimport type { SigmaAccessToken } from \"../sigma.types\"\n\nconst sigmaAuthHttpClient: AxiosInstance = axios.create({\n baseURL: process.env.SIGMA_API_URL,\n})\n\ninitCaseResponseInterceptor(sigmaAuthHttpClient)\n\nconst SIGMA_API_CLIENT_ID = `${process.env.SIGMA_API_CLIENT_ID}`\nconst SIGMA_API_SECRET = `${process.env.SIGMA_API_SECRET}`\n\n/**\n *\n * @returns new sigma access token, refresh token and expiration time\n */\nexport const getSigmaAccessToken = async (): Promise => {\n const SIGMA_ACCESS_TOKEN_API_URL = `/auth/token`\n const data = new URLSearchParams()\n\n data.append(\"grant_type\", \"client_credentials\")\n data.append(\"client_id\", SIGMA_API_CLIENT_ID)\n data.append(\"client_secret\", SIGMA_API_SECRET)\n\n try {\n const response = await sigmaAuthHttpClient.post(\n SIGMA_ACCESS_TOKEN_API_URL,\n data,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded\",\n },\n }\n )\n\n return response.data\n } catch (error) {\n return null\n }\n}\n\n/**\n *\n * @returns refreshed sigma access token, refresh token and expiration time\n */\nexport const refreshSigmaAccessToken = async (\n refreshToken: string\n): Promise => {\n const SIGMA_ACCESS_TOKEN_API_URL = `/auth/token`\n const data = new URLSearchParams()\n\n data.append(\"grant_type\", \"refresh_token\")\n data.append(\"client_id\", SIGMA_API_CLIENT_ID)\n data.append(\"client_secret\", SIGMA_API_SECRET)\n data.append(\"refresh_token\", refreshToken)\n\n try {\n const response = await sigmaAuthHttpClient.post(\n SIGMA_ACCESS_TOKEN_API_URL,\n data,\n {\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded\",\n },\n }\n )\n\n return response.data\n } catch (error) {\n return null\n }\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\n\nimport { createQueryKey } from \"../../utils/createQueryKey\"\nimport type { SigmaAccessToken } from \"../sigma.types\"\nimport { refreshSigmaAccessToken } from \"./useSigmaAccessTokenUtils\"\n\n/**\n * Service that refreshes a sigma access token\n */\nexport const useSigmaRefreshAccessToken = (\n refreshToken: string,\n queryOptions: UseQueryOptions = {}\n) => {\n const queryKey = createQueryKey(\n ApiQueryName.SigmaRefreshAccessToken,\n \"getOne\"\n )\n\n const queryResult = useQuery({\n ...queryOptions,\n cacheTime: Infinity,\n queryKey,\n queryFn: async (): Promise =>\n refreshSigmaAccessToken(refreshToken),\n staleTime: Infinity,\n })\n\n return queryResult\n}\n","import { useEffect, useState } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../../utils\"\nimport { createQueryKey } from \"../../utils/createQueryKey\"\nimport type { SigmaAccessToken } from \"../sigma.types\"\nimport { getSigmaAccessToken } from \"./useSigmaAccessTokenUtils\"\nimport { useSigmaRefreshAccessToken } from \"./useSigmaRefreshAccessToken\"\n\n/**\n * Gets a Sigma access token and refreshes it when it expires\n *\n * @returns The Sigma access token\n *\n * @example\n * const {\n * sigmaAccessTokenData,\n * sigmaAccessTokenIsFetched\n * } = useSigmaAccessToken()\n */\nexport const useSigmaAccessToken = () => {\n const [accessToken, setAccessToken] = useState(\n undefined\n )\n\n const queryKey = createQueryKey(ApiQueryName.SigmaAccessToken, \"getOne\")\n\n const accessTokenQueryResult = useQuery({\n cacheTime: Infinity,\n queryKey,\n queryFn: async (): Promise => getSigmaAccessToken(),\n staleTime: Infinity,\n })\n\n const refreshAccessTokenQueryResult = useSigmaRefreshAccessToken(\n accessToken?.refreshToken,\n {\n enabled: Boolean(accessToken),\n // Prevent unnecessary initial fetch from happening\n initialData: null,\n // Refresh token after every expiration (seconds * 1000 = milliseconds)\n refetchInterval: () =>\n accessToken ? accessToken.expiresIn * 1000 : false,\n refetchIntervalInBackground: true,\n }\n )\n\n // Update accessToken whenever we have a new one\n useEffect(() => {\n const token: SigmaAccessToken | undefined =\n refreshAccessTokenQueryResult.data\n ? refreshAccessTokenQueryResult.data\n : accessTokenQueryResult.data\n\n if (token) {\n setAccessToken(token)\n }\n }, [accessTokenQueryResult.data, refreshAccessTokenQueryResult.data])\n\n return useRenameQueryResult(\n refreshAccessTokenQueryResult.data\n ? refreshAccessTokenQueryResult\n : accessTokenQueryResult,\n ApiQueryName.SigmaAccessToken\n )\n}\n","import { useCallback, useEffect } from \"react\"\n\nimport { initCaseResponseInterceptor } from \"@/utils/interceptors\"\nimport axios from \"axios\"\nimport type { AxiosInstance } from \"axios\"\n\nimport type {\n SigmaPaginatedResponse,\n SigmaTeam,\n SigmaTeamVisibility,\n SigmaWorkbook,\n SigmaWorkbookEmbed,\n} from \"./sigma.types\"\nimport { useSigmaAccessToken } from \"./useSigmaAccessToken/useSigmaAccessToken\"\n\nexport const sigmaHttpClient: AxiosInstance = axios.create({\n baseURL: process.env.SIGMA_API_URL,\n})\n\ninitCaseResponseInterceptor(sigmaHttpClient)\n\nexport interface FetchSigmaTeamsOptions {\n description?: string\n limit?: number\n name?: string\n page?: number\n visibility?: SigmaTeamVisibility\n}\n\n/**\n * Provides the Sigma api configured with an access token\n *\n * @returns The Sigma api\n *\n * @example\n * const {\n * fetchSigmaTeams,\n * fetchSigmaWorkbook,\n * fetchSigmaWorkbooks,\n * fetchSigmaWorkbookEmbeds,\n * sigmaAccessTokenIsFetched,\n * } = useSigmaApi()\n */\nexport const useSigmaApi = () => {\n const { sigmaAccessTokenData, sigmaAccessTokenIsFetched } =\n useSigmaAccessToken()\n\n // Update request interceptor with latest access token\n useEffect(() => {\n const requestInterceptor = sigmaHttpClient.interceptors.request.use(\n (config) => {\n if (config.headers) {\n config.headers.Authorization = `Bearer ${sigmaAccessTokenData?.accessToken}`\n config.headers.accept = \"application/json\"\n }\n\n return config\n }\n )\n\n // Clean up previous request interceptor so we're not adding infinitely\n return () => {\n sigmaHttpClient.interceptors.request.eject(requestInterceptor)\n }\n }, [sigmaAccessTokenData?.accessToken])\n\n const fetchSigmaTeams = useCallback(\n async (\n options: FetchSigmaTeamsOptions = {}\n ): Promise | null> => {\n try {\n if (sigmaAccessTokenIsFetched) {\n const response = await sigmaHttpClient.get<\n Promise | null>\n >(`/teams`, { params: options })\n\n return response.data\n }\n } catch (error) {\n return null\n }\n\n return null\n },\n [sigmaAccessTokenIsFetched]\n )\n\n const fetchSigmaWorkbook = useCallback(\n async (\n workbookId: SigmaWorkbook[\"workbookId\"]\n ): Promise => {\n try {\n if (sigmaAccessTokenIsFetched) {\n const response = await sigmaHttpClient.get(\n `/workbooks/${workbookId}`\n )\n\n return response.data\n }\n } catch (error) {\n return null\n }\n\n return null\n },\n [sigmaAccessTokenIsFetched]\n )\n\n const fetchSigmaWorkbooks =\n useCallback(async (): Promise | null> => {\n try {\n if (sigmaAccessTokenIsFetched) {\n const response = await sigmaHttpClient.get<\n SigmaPaginatedResponse\n >(\"/workbooks\", { params: { limit: 500 } })\n\n return {\n ...response.data,\n entries: response.data.entries.map((entry) => ({\n ...entry,\n id: entry.workbookId,\n })),\n }\n }\n } catch (error) {\n return null\n }\n\n return null\n }, [sigmaAccessTokenIsFetched])\n\n const fetchSigmaWorkbookEmbeds = useCallback(\n async (workbookId: string): Promise => {\n try {\n if (sigmaAccessTokenIsFetched) {\n const response = await sigmaHttpClient.get<\n SigmaPaginatedResponse\n >(`/workbooks/${workbookId}/embeds`)\n\n return response.data.entries\n }\n } catch (error) {\n return null\n }\n\n return null\n },\n [sigmaAccessTokenIsFetched]\n )\n\n return {\n fetchSigmaTeams,\n fetchSigmaWorkbook,\n fetchSigmaWorkbooks,\n fetchSigmaWorkbookEmbeds,\n sigmaAccessTokenIsFetched,\n }\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { SigmaWorkbook } from \"./sigma.types\"\nimport { useSigmaApi } from \"./useSigmaApi\"\n\n/**\n * Gets the Sigma workbook with the given workbook ID\n *\n * @returns The Sigma workbook\n *\n * @example\n * const {\n * sigmaWorkbookData,\n * } = useSigmaWorkbook(\"asdf-1234\")\n */\nexport const useSigmaWorkbook = (\n workbookId: SigmaWorkbook[\"workbookId\"] | undefined\n) => {\n const { fetchSigmaWorkbook, sigmaAccessTokenIsFetched } = useSigmaApi()\n\n const enabled = sigmaAccessTokenIsFetched && Boolean(workbookId)\n\n const queryKey = createQueryKey(\n ApiQueryName.SigmaWorkbooks,\n \"getMany\",\n workbookId\n )\n\n const queryResult = useQuery({\n enabled,\n queryFn: async () => fetchSigmaWorkbook(workbookId),\n queryKey: [queryKey],\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SigmaWorkbook)\n}\n","import { useAuthentication } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\n\nimport { useQueryKey, useRenameQueryResult } from \"../utils\"\nimport { consultantWorkspaceNames } from \"./sigma.types\"\nimport type { SigmaPaginatedResponse, SigmaWorkbook } from \"./sigma.types\"\nimport { useSigmaApi } from \"./useSigmaApi\"\n\nconst placeholderWorkbook: SigmaWorkbook = {\n createdAt: \"\",\n createdBy: \"\",\n id: \"\",\n latestVersion: 1,\n name: \"\",\n ownerId: \"\",\n path: \"\",\n updatedAt: \"\",\n updatedBy: \"\",\n url: \"\",\n workbookId: \"\",\n workbookUrlId: \"\",\n}\n\nconst placeholderWorkbook1 = {\n ...placeholderWorkbook,\n ...({ id: \"1\", name: \"1\", workbookId: \"1\" } as SigmaWorkbook),\n}\nconst placeholderWorkbook2 = {\n ...placeholderWorkbook,\n ...({ id: \"2\", name: \"2\", workbookId: \"2\" } as SigmaWorkbook),\n}\nconst placeholderWorkbook3 = {\n ...placeholderWorkbook,\n ...({ id: \"3\", name: \"3\", workbookId: \"3\" } as SigmaWorkbook),\n}\nconst placeholderWorkbooks: SigmaWorkbook[] = [\n placeholderWorkbook1,\n placeholderWorkbook2,\n placeholderWorkbook3,\n]\n\nconst placeholderData: SigmaPaginatedResponse = {\n entries: placeholderWorkbooks,\n hasMore: false,\n nextPage: null,\n total: placeholderWorkbooks.length,\n}\n\n// Filtering is necessary because the user associated with the API secret\n// has access to all org teams/workspaces\nconst filterWorkbooks = (\n workbooks: SigmaWorkbook[],\n workspaceNames: UseSigmaWorkbooksOptions[\"workspaceNames\"]\n): SigmaWorkbook[] => {\n const accessibleWorkbooks = workbooks.filter(\n (workbook) =>\n workbook.path === \"\" ||\n workspaceNames\n .map((name) => name.toLowerCase())\n .includes(workbook.path.toLowerCase())\n )\n\n return accessibleWorkbooks\n}\n\ninterface UseSigmaWorkbooksOptions {\n workspaceNames: SigmaWorkbook[\"path\"][]\n}\n\n/**\n * Gets the Sigma workbooks for the requested workspaces\n *\n * @returns The paginated Sigma workbooks\n *\n * @example\n * const {\n * sigmaWorkbooksData,\n * sigmaWorkbooksIsPlaceholderData,\n * } = useSigmaWorkbooks({\n * workspaceNames: [organization?.name],\n * })\n *\n * @example\n * const {\n * sigmaWorkbooksData,\n * sigmaWorkbooksIsPlaceholderData,\n * } = useSigmaWorkbooks({\n * workspaceNames: [\"All Consultants\"],\n * })\n */\nexport const useSigmaWorkbooks = (options: UseSigmaWorkbooksOptions) => {\n const { isConsultantUser } = useAuthentication()\n const { fetchSigmaWorkbooks, sigmaAccessTokenIsFetched } = useSigmaApi()\n\n const enabled = sigmaAccessTokenIsFetched && options.workspaceNames.length > 0\n\n const queryKey = useQueryKey(\n ApiQueryName.SigmaWorkbooks,\n \"getMany\",\n null,\n options\n )\n\n // Filter out consultant workspace names if not a consultant user\n const workspaceNames: string[] = [\n ...(isConsultantUser\n ? options.workspaceNames\n : options.workspaceNames.filter(\n (workspaceName) => !consultantWorkspaceNames.includes(workspaceName)\n )),\n ]\n\n const queryResult: UseQueryResult> =\n useQuery>({\n enabled,\n placeholderData,\n queryFn: fetchSigmaWorkbooks,\n queryKey: [queryKey],\n select: (data) => ({\n ...data,\n entries: filterWorkbooks(data?.entries ?? [], workspaceNames),\n }),\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SigmaWorkbooks)\n}\n","import { appCompanyName } from \"@/utils/constants\"\n\nconst nzeroMailServerAndDomain = `${appCompanyName.toLowerCase()}.com`\n\nconst isNzeroEmail = (email: string | null | undefined): boolean => {\n return email?.endsWith(`@${nzeroMailServerAndDomain}`) ?? false\n}\n\nconst createSafeSigmaEmbedUserEmail = (email: string): string => {\n const emailParts = email.split(\"@\")\n const username = emailParts[0]\n const mailServerAndDomain = emailParts[1]\n\n return `${username}+sigma@${mailServerAndDomain}`\n}\n\nexport const getSafeSigmaEmbedUserEmail = (\n email: string | null | undefined\n): string => {\n if (isNzeroEmail(email)) {\n return createSafeSigmaEmbedUserEmail(email)\n }\n\n return email ?? \"\"\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\n\nimport { useQueryKey, useRenameQueryResult } from \"../utils\"\nimport type { SigmaPaginatedResponse, SigmaTeam } from \"./sigma.types\"\nimport { useSigmaApi } from \"./useSigmaApi\"\nimport type { FetchSigmaTeamsOptions } from \"./useSigmaApi\"\n\ntype UseSigmaTeamsOptions = FetchSigmaTeamsOptions\n\n/**\n * Gets the Sigma teams optionally filtered by team name\n *\n * @returns The Sigma teams\n *\n * @example\n * const {\n * sigmaTeamsData,\n * } = useSigmaTeams()\n *\n * @example\n * const {\n * sigmaTeamsData,\n * } = useSigmaTeams({\n * name: \"ABC Inc.\",\n * })\n */\nexport const useSigmaTeams = (options: UseSigmaTeamsOptions = {}) => {\n const { fetchSigmaTeams, sigmaAccessTokenIsFetched } = useSigmaApi()\n\n const enabled = sigmaAccessTokenIsFetched\n\n const queryKey = useQueryKey(\n ApiQueryName.SigmaWorkbooks,\n \"getMany\",\n null,\n options\n )\n\n const queryResult: UseQueryResult> =\n useQuery>({\n enabled,\n queryFn: async () => fetchSigmaTeams(options),\n queryKey,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SigmaTeams)\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport type { Organization } from \"@/models/organization\"\nimport type { Site } from \"@/models/site\"\nimport { httpClient } from \"@/utils\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport { getSafeSigmaEmbedUserEmail } from \"./sigma-utils\"\nimport {\n allCustomersTeamName,\n allSitesTeamName,\n consultantTeamNames,\n} from \"./sigma.types\"\nimport type { SigmaTeam, SigmaWorkbookEmbed } from \"./sigma.types\"\nimport { useSigmaTeams } from \"./use-sigma-teams\"\n\ninterface FetchSigmaWorkbookSecureEmbedUrlConfig {\n email: string\n embedPath: SigmaWorkbookEmbed[\"embedUrl\"]\n externalUserTeams: SigmaTeam[\"name\"][]\n isConsultantUser: boolean\n organizationId: Organization[\"id\"]\n siteId?: Site[\"id\"]\n}\n\ninterface UseSigmaWorkbookSecureEmbedUrlConfig\n extends Omit {\n externalUserTeam: string\n}\n\ninterface SigmaWorkbookSecureEmbedUrlData {\n secureEmbedUrl: string\n}\n\ninterface SigmaWorkbookSecureEmbedUrlResponse {\n data: SigmaWorkbookSecureEmbedUrlData\n status: string\n title: string\n}\n\nconst fetchSigmaWorkbookSecureEmbedUrl = async (\n config: FetchSigmaWorkbookSecureEmbedUrlConfig\n): Promise =>\n httpClient\n .get(\n `/api/v1/sigma_secure_embed_url`,\n {\n params: {\n email: config.email,\n embed_path: config.embedPath,\n external_user_team: config.externalUserTeams,\n hide_folder_navigation: true,\n organization_id: config.organizationId,\n site_id: config.siteId,\n },\n }\n )\n .then((response) => response.data.data)\n\n/**\n * Gets the secure embed url for the requested Sigma embed\n *\n * @returns The secure embed url\n *\n * @example\n * const {\n * sigmaWorkbookSecureEmbedUrlData,\n * } = useSigmaWorkbookSecureEmbedUrl({\n * email: \"user@nzero.com\",\n * embedPath: \"https://app.sigmacomputing.com/embed/1-234asdf\",\n * externalUserTeam: \"City of Reno\",\n * isConsultantUser: false,\n * organizationId: \"8\",\n * })\n */\nexport const useSigmaWorkbookSecureEmbedUrl = (\n config: UseSigmaWorkbookSecureEmbedUrlConfig\n) => {\n const { sigmaTeamsData, sigmaTeamsIsFetched } = useSigmaTeams({\n name: config.externalUserTeam,\n })\n\n const fetchConfig: FetchSigmaWorkbookSecureEmbedUrlConfig = {\n ...config,\n email: getSafeSigmaEmbedUserEmail(config.email),\n externalUserTeams: [\n // Include consultant-only teams\n ...(config.isConsultantUser ? consultantTeamNames : []),\n // Include \"All Customers\" team for all users\n allCustomersTeamName,\n // Include \"All Sites\" team for all users\n allSitesTeamName,\n // Only include team (e.g. \"City of Reno\") if it exists in Sigma\n ...(sigmaTeamsData?.entries?.[0] ? [config.externalUserTeam] : []),\n ],\n }\n\n const enabled =\n sigmaTeamsIsFetched &&\n Boolean(fetchConfig.embedPath) &&\n Boolean(fetchConfig.externalUserTeams.length)\n\n const queryKey = createQueryKey(\n ApiQueryName.SigmaWorkbookSecureEmbedUrl,\n \"getOne\",\n null,\n config\n )\n\n const queryResult = useQuery({\n // We never want to cache the url because it can only be used once\n cacheTime: 0,\n enabled,\n queryKey: [queryKey],\n queryFn: () => fetchSigmaWorkbookSecureEmbedUrl(fetchConfig),\n // We don't want to fetch a new url while on the page\n staleTime: Infinity,\n })\n\n return useRenameQueryResult(\n queryResult,\n ApiQueryName.SigmaWorkbookSecureEmbedUrl\n )\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport {\n useSigmaWorkbook,\n useSigmaWorkbookEmbeds,\n useSigmaWorkbookSecureEmbedUrl,\n} from \"@/services/sigma\"\n\nimport { Box, Skeleton } from \"@mui/material\"\n\nimport type { SigmaReportProps } from \"./sigma-report.types\"\n\nexport const SigmaReport: FC = ({ siteId, workbookId }) => {\n const { activeUser, isConsultantUser } = useAuthentication()\n const { organization } = useOrganizationContext()\n const { sigmaWorkbookData } = useSigmaWorkbook(workbookId)\n const { sigmaWorkbookEmbedsData } = useSigmaWorkbookEmbeds(workbookId)\n const {\n sigmaWorkbookSecureEmbedUrlData,\n sigmaWorkbookSecureEmbedUrlIsFetched,\n } = useSigmaWorkbookSecureEmbedUrl({\n email: activeUser?.email,\n embedPath: sigmaWorkbookEmbedsData?.[0]?.embedUrl,\n externalUserTeam: organization?.name,\n isConsultantUser,\n organizationId: organization?.id,\n siteId,\n })\n\n const [isReportLoading, setIsReportLoading] = useState(true)\n\n const reportName = sigmaWorkbookData?.name ?? \"\"\n\n return (\n \n {isReportLoading && (\n \n )}\n {sigmaWorkbookSecureEmbedUrlIsFetched && (\n {\n setIsReportLoading(false)\n }}\n src={sigmaWorkbookSecureEmbedUrlData?.secureEmbedUrl}\n style={{\n border: \"none\",\n visibility: isReportLoading ? \"hidden\" : \"visible\",\n }}\n title={reportName}\n width=\"100%\"\n />\n )}\n \n )\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type {\n SigmaEmbedSourceType,\n SigmaWorkbook,\n SigmaWorkbookEmbed,\n} from \"./sigma.types\"\nimport { useSigmaApi } from \"./useSigmaApi\"\n\n// Filtering is necessary because the workbook\n// may have multiple embeds\nconst filterEmbeds = (\n embeds: SigmaWorkbookEmbed[],\n type: SigmaEmbedSourceType\n): SigmaWorkbookEmbed[] => {\n const filteredEmbeds = embeds.filter((embed) => embed.sourceType === type)\n\n return filteredEmbeds\n}\n\n/**\n * Gets the Sigma embeds for the requested workbook\n *\n * @returns The Sigma embeds\n *\n * @example\n * const {\n * sigmaWorkbookEmbedsData,\n * } = useSigmaWorkbookEmbeds(\"asdf-1234\")\n */\nexport const useSigmaWorkbookEmbeds = (\n workbookId: SigmaWorkbook[\"workbookId\"] | undefined\n) => {\n const { fetchSigmaWorkbookEmbeds, sigmaAccessTokenIsFetched } = useSigmaApi()\n\n const enabled = sigmaAccessTokenIsFetched && Boolean(workbookId)\n\n const queryKey = createQueryKey(\n ApiQueryName.SigmaWorkbookEmbeds,\n \"getOne\",\n workbookId\n )\n\n const queryResult = useQuery({\n enabled,\n queryKey: [queryKey],\n queryFn: () => fetchSigmaWorkbookEmbeds(workbookId),\n select: (data) => {\n return data && filterEmbeds(data, \"workbook\")\n },\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SigmaWorkbookEmbeds)\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Page } from \"@/components/page\"\nimport { SigmaReport } from \"@/modules/report/components/sigma-report\"\nimport { allQAWorkspaceName, useSigmaWorkbooks } from \"@/services/sigma\"\nimport type { SigmaWorkbook } from \"@/services/sigma\"\n\nexport const DataQARoute: FC = () => {\n const { sigmaWorkbooksData } = useSigmaWorkbooks({\n workspaceNames: [allQAWorkspaceName],\n })\n\n const siteDetailWorkbook: SigmaWorkbook | undefined =\n sigmaWorkbooksData?.entries.find(\n (workbook) => workbook.name === \"Data Completeness\"\n )\n\n return (\n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { DialogTitle } from \"@/nzds/feedback/dialog-title/dialog-title\"\nimport { HStack } from \"@/nzds/layout\"\n\nimport WarningRoundedIcon from \"@mui/icons-material/WarningRounded\"\nimport {\n Box,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n} from \"@mui/material\"\n\nimport type { ErrorDialogProps } from \"./error-dialog.types\"\n\nexport const ErrorDialog: FC = ({\n confirmText,\n details,\n message,\n id,\n isOpen,\n onClose,\n onConfirm,\n title,\n}) => (\n \n \n {title}\n \n \n \n theme.palette.error.dark }}\n />\n {message}\n \n {details}\n \n \n {\n onClose()\n onConfirm?.()\n }}\n variant=\"outlined\"\n >\n {confirmText ?? \"Ok\"}\n \n \n \n)\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport type { Schemas } from \"@/services/types\"\nimport type { HttpErrorRecord } from \"@/utils/api\"\n\nimport type { ErrorDialogCsvUploadContentProps } from \"./error-dialog-csv-upload-content.types\"\n\nexport const ErrorDialogCsvUploadContent: FC<\n ErrorDialogCsvUploadContentProps\n> = ({ error }) => {\n // Standard error implementation\n if (\n Array.isArray(error?.errors) &&\n error.errors.length &&\n // eslint-disable-next-line @typescript-eslint/dot-notation\n error.errors[0][\"detail\"]\n ) {\n return (\n
    \n {error.errors.map((record) => {\n const typedRecord = record as unknown as HttpErrorRecord\n\n return (\n
  • \n {typedRecord.detail}\n
  • \n )\n })}\n
\n )\n }\n\n // Row implementation (used for REP CSV upload)\n if (\n Array.isArray(error?.errors) &&\n error.errors.length &&\n // eslint-disable-next-line @typescript-eslint/dot-notation\n Number.isInteger(error.errors[0][\"row\"])\n ) {\n return (\n
    \n {error.errors.map((record) => {\n const typedRecord =\n record as unknown as Schemas[\"EmissionProfileUploadError\"]\n const isHeaderRow = typedRecord.row === -1\n const rowNumber = typedRecord.row + 1\n const rowName = isHeaderRow ? \"Header Row\" : `Row ${rowNumber}`\n const description = typedRecord.description\n\n return (\n
  • \n {rowName}: {description}\n
  • \n )\n })}\n
\n )\n }\n\n return null\n}\n","import React, { useCallback, useState } from \"react\"\nimport type { ChangeEvent, FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { filesize } from \"filesize\"\n\nimport CloseIconRounded from \"@mui/icons-material/CloseRounded\"\nimport {\n Box,\n Button,\n Card,\n CardContent,\n IconButton,\n Typography,\n} from \"@mui/material\"\nimport { visuallyHidden } from \"@mui/utils\"\n\nimport type { UploadFileProps } from \"./upload-file.types\"\n\nexport const UploadFile: FC = ({\n fileType,\n isLoading,\n onChange,\n}) => {\n const [file, setFile] = useState(undefined)\n\n const setFileAndNotify = useCallback(\n (newFile: File | undefined): void => {\n setFile(newFile)\n onChange(newFile)\n },\n [onChange, setFile]\n )\n\n const fileSize: string = file\n ? filesize(file.size, { standard: \"jedec\" })\n : \"\"\n\n const handleFileChange = useCallback(\n (event: ChangeEvent): void => {\n const fileInput = event.target.files?.[0]\n\n if (fileInput) {\n setFileAndNotify(fileInput)\n }\n },\n [setFileAndNotify]\n )\n\n const handleRemoveFileClick = useCallback((): void => {\n setFileAndNotify(undefined)\n }, [setFileAndNotify])\n\n return (\n \n \n {file ? (\n \n \n \n {file.name}\n \n \n {fileSize}\n \n \n \n \n \n \n ) : (\n <>\n \n \n \n No file selected\n \n \n )}\n \n \n )\n}\n","import React, { useCallback, useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport { DialogTitle } from \"@/nzds/feedback/dialog-title/dialog-title\"\nimport { HStack } from \"@/nzds/layout\"\nimport { filesize } from \"filesize\"\n\nimport { LoadingButton } from \"@mui/lab\"\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n Stack,\n Typography,\n} from \"@mui/material\"\n\nimport { UploadFile } from \"../upload-file\"\nimport type { UploadCsvDialogProps } from \"./upload-csv-dialog.types\"\n\nexport const UploadCsvDialog: FC = ({\n isSubmitting,\n onClose,\n onUpload,\n open,\n title,\n}) => {\n const [file, setFile] = useState(undefined)\n\n const fileType = \"csv\"\n\n const handleClose = useCallback((): void => {\n onClose()\n }, [onClose])\n\n const handleFileChange = useCallback((newFile: File | undefined): void => {\n setFile(newFile)\n }, [])\n\n const handleUpload = useCallback((): void => {\n if (file) {\n onUpload(file)\n setFile(undefined)\n }\n }, [file, onUpload])\n\n return (\n \n \n {title ?? `Upload ${fileType.toUpperCase()}`}\n \n \n \n \n \n \n Supported file type: {fileType.toUpperCase()}\n \n \n Max file size: {filesize(20 * 1024 * 1024, { standard: \"jedec\" })}\n \n \n \n \n \n \n Upload\n \n \n \n )\n}\n","const errorActionPrefix = \"error on\"\nconst successActionPrefix = \"success on\"\n\nconst buildActionName = (action: string, prefix: string): string => {\n return `${prefix} ${action}`\n}\n\nexport const AnalyticsActionName = {\n DataUploadBuildingDataError: buildActionName(\n \"Upload Building Data\",\n errorActionPrefix\n ),\n DataUploadBuildingDataSuccess: buildActionName(\n \"Upload Building Data\",\n successActionPrefix\n ),\n DataUploadUtilityDataError: buildActionName(\n \"Upload Utility Data\",\n errorActionPrefix\n ),\n DataUploadUtilityDataSuccess: buildActionName(\n \"Upload Utility Data\",\n successActionPrefix\n ),\n DownloadCsv: \"Download CSV\",\n}\n","import React, { useCallback, useEffect } from \"react\"\nimport type { FC } from \"react\"\n\nimport {\n ErrorDialog,\n ErrorDialogCsvUploadContent,\n} from \"@/components/error-dialog\"\nimport { UploadCsvDialog } from \"@/components/upload-csv-dialog\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { AnalyticsActionName } from \"@/models/analytics\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { datadogRum } from \"@datadog/browser-rum\"\nimport { kebabCase, startCase } from \"lodash-es\"\n\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport FileUploadOutlinedIcon from \"@mui/icons-material/FileUploadOutlined\"\nimport {\n Alert,\n AlertTitle,\n Button,\n Collapse,\n IconButton,\n Stack,\n Typography,\n} from \"@mui/material\"\n\nimport type { UploadStepProps } from \"./upload-step.types\"\n\nexport const UploadStep: FC = ({\n downloadTemplateButton,\n downloadTemplateDescription,\n successMessage,\n type,\n uploadDescription,\n uploadQuery,\n}) => {\n const { organization } = useOrganizationContext()\n const displayType = startCase(type)\n\n const { error, isError, isLoading, isSuccess, mutate, reset } = uploadQuery()\n\n const {\n close: uploadClose,\n isOpen: uploadIsOpen,\n open: uploadOpen,\n } = useDisclosure()\n\n const {\n close: uploadSuccessClose,\n isOpen: uploadSuccessIsOpen,\n open: uploadSuccessOpen,\n } = useDisclosure()\n\n const {\n close: uploadErrorClose,\n isOpen: uploadErrorIsOpen,\n open: uploadErrorOpen,\n } = useDisclosure()\n\n const handleUploadClick = useCallback(() => {\n reset()\n uploadSuccessClose()\n uploadOpen()\n }, [reset, uploadOpen, uploadSuccessClose])\n\n const handleUpload = useCallback(\n (file: File): void => {\n mutate({ file, organizationId: organization?.id })\n },\n [mutate, organization?.id]\n )\n\n // Handle upload success\n useEffect(() => {\n if (isSuccess) {\n uploadClose()\n uploadSuccessOpen()\n\n if (type === \"building data\") {\n datadogRum.addAction(AnalyticsActionName.DataUploadBuildingDataSuccess)\n }\n\n if (type === \"utility data\") {\n datadogRum.addAction(AnalyticsActionName.DataUploadUtilityDataSuccess)\n }\n }\n }, [isSuccess, type, uploadClose, uploadSuccessOpen])\n\n // Handle upload error\n useEffect(() => {\n if (isError) {\n uploadClose()\n uploadErrorOpen()\n\n if (type === \"building data\") {\n datadogRum.addAction(AnalyticsActionName.DataUploadBuildingDataError)\n }\n\n if (type === \"utility data\") {\n datadogRum.addAction(AnalyticsActionName.DataUploadUtilityDataError)\n }\n }\n }, [isError, type, uploadClose, uploadErrorOpen])\n\n return (\n \n \n {downloadTemplateDescription}\n
{downloadTemplateButton}
\n
\n \n {uploadDescription}\n
\n }\n variant=\"outlined\"\n >\n {`Upload ${displayType} CSV`}\n \n
\n \n \n \n \n }\n severity=\"success\"\n >\n Success\n {successMessage}\n \n \n
\n\n \n\n }\n id={`upload-${kebabCase(type)}-error`}\n isOpen={uploadErrorIsOpen}\n message={\"Resolve errors and try again\"}\n onClose={() => {\n uploadErrorClose()\n reset()\n }}\n onConfirm={uploadOpen}\n title={`Upload ${displayType} Error`}\n />\n
\n )\n}\n","import { useEffect } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Schemas } from \"@/services/types\"\nimport { HttpError, httpClient } from \"@/utils/api\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { AxiosError } from \"axios\"\n\nimport type { UseUploadMutationVariables } from \"../services.types\"\n\ntype UseUploadEntitiesOptions = Omit<\n UseMutationOptions<\n unknown,\n HttpError,\n UseUploadMutationVariables\n >,\n \"mutationFn\"\n>\n\nconst uploadEntities = async ({\n file,\n organizationId,\n}: UseUploadMutationVariables) => {\n try {\n const formData = new FormData()\n formData.append(\"file\", file)\n formData.append(\"organization_id\", organizationId ?? \"\")\n\n const response = await httpClient.post(\"/api/v1/site_uploads\", formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n })\n\n return response\n } catch (error: unknown) {\n if (error instanceof AxiosError) {\n const typedError = error as AxiosError<{\n errors: { detail: string; status: string; title: string }[]\n }>\n\n throw new HttpError({\n errors: typedError.response?.data.errors ?? [],\n message: error.response?.statusText ?? \"Unknown error\",\n status: error.response?.status ?? 0,\n })\n }\n\n throw new HttpError({\n errors: [],\n message: \"Unknown error\",\n status: 0,\n })\n }\n}\n\n/**\n * Uploads a CSV file of entities data\n *\n * @example\n * const {\n * error,\n * isError,\n * isLoading,\n * mutate\n * } = useUploadEntities(options)\n *\n * mutate({ file, organizationId })\n */\nexport const useUploadEntities = (options: UseUploadEntitiesOptions = {}) => {\n const mutationOptions = options\n\n const queryClient = useQueryClient()\n\n const mutation = useMutation(uploadEntities, mutationOptions)\n\n useEffect(() => {\n if (mutation.isSuccess) {\n void queryClient.invalidateQueries([ApiQueryName.SitePreviews])\n }\n }, [mutation.isSuccess, queryClient])\n\n return mutation\n}\n","import type { Schemas } from \"@/services/types\"\nimport { HttpError, httpClient } from \"@/utils/api\"\nimport { useMutation } from \"@tanstack/react-query\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { AxiosError } from \"axios\"\n\nimport type { UseUploadMutationVariables } from \"../services.types\"\n\ntype UseUploadUsageOptions = Omit<\n UseMutationOptions<\n unknown,\n HttpError,\n UseUploadMutationVariables\n >,\n \"mutationFn\"\n>\n\nconst uploadUsage = async ({\n file,\n organizationId,\n}: UseUploadMutationVariables) => {\n try {\n const formData = new FormData()\n formData.append(\"file\", file)\n formData.append(\"organization_id\", organizationId ?? \"\")\n\n const response = await httpClient.post(\n \"/api/v1/utility_data_uploads\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n }\n )\n\n return response\n } catch (error: unknown) {\n if (error instanceof AxiosError) {\n const typedError = error as AxiosError<{\n errors: { detail: string; status: string; title: string }[]\n }>\n\n throw new HttpError({\n errors: typedError.response?.data.errors ?? [],\n message: error.response?.statusText ?? \"Unknown error\",\n status: error.response?.status ?? 0,\n })\n }\n\n throw new HttpError({\n errors: [],\n message: \"Unknown error\",\n status: 0,\n })\n }\n}\n\n/**\n * Uploads a CSV file of usage data\n *\n * @example\n * const {\n * error,\n * isError,\n * isLoading,\n * mutate\n * } = useUploadUsage(options)\n *\n * mutate({ file, organizationId })\n */\nexport const useUploadUsage = (options: UseUploadUsageOptions = {}) => {\n const mutationOptions = options\n\n const mutation = useMutation(uploadUsage, mutationOptions)\n\n return mutation\n}\n","import React, { useState } from \"react\"\nimport type { FC, ReactNode } from \"react\"\n\nimport { If } from \"@/components/if/if\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FONT_WEIGHT } from \"@/models/typography\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useEntities } from \"@/services/entities\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport FileDownloadOutlinedIcon from \"@mui/icons-material/FileDownloadOutlined\"\nimport {\n Box,\n Button,\n Divider,\n Fade,\n Stack,\n Step,\n StepButton,\n Stepper,\n Typography,\n} from \"@mui/material\"\n\nimport { UploadStep } from \"../../components/upload-step\"\nimport { useUploadEntities } from \"../../services/use-upload-entities\"\nimport { useUploadUsage } from \"../../services/use-upload-usage\"\n\ninterface UploadStep {\n content: ReactNode\n name: string\n}\n\nexport const DataUploadRoute: FC = () => {\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isDataUploadEnabled = isFeatureEnabled(\n FeatureFlags.DATA_UPLOAD,\n organization\n )\n\n const { entitiesHasData, entitiesIsFetched } = useEntities()\n const [activeStepIndex, setActiveStepIndex] = useState(0)\n const isUsageAndEmissionsEnabled = entitiesIsFetched && entitiesHasData\n\n const steps: UploadStep[] = [\n {\n name: \"Building Data\",\n content: (\n }\n variant=\"contained\"\n >\n Download Building Data Template\n \n }\n downloadTemplateDescription=\"Download our Excel template and enter your building data\"\n successMessage=\"Your building data have been created.\"\n type=\"building data\"\n uploadDescription=\"Export your completed building data template to a CSV and upload it\"\n uploadQuery={useUploadEntities}\n />\n ),\n },\n {\n name: \"Utility Data\",\n content: (\n }\n variant=\"contained\"\n >\n Download Utility Data Template\n \n }\n downloadTemplateDescription=\"Download our Excel template and enter your utility data\"\n successMessage=\"Your utility data will be processed over night. Check back tomorrow.\"\n type=\"utility data\"\n uploadDescription=\"Export your completed utility data template to a CSV and upload it\"\n uploadQuery={useUploadUsage}\n />\n ),\n },\n // {\n // name: \"Additional Usage\",\n // content: (\n // }\n // variant=\"contained\"\n // >\n // Additional Usage Template\n // \n // }\n // downloadTemplateDescription=\"Download our Excel template and enter your additional usage\"\n // successMessage=\"Your additional usage data will be processed over night. Check back tomorrow.\"\n // type=\"additional usage\"\n // uploadDescription=\"Export your completed additional usage template to a CSV and upload it\"\n // uploadQuery={useUploadAdditionalUsage}\n // />\n // ),\n // },\n ]\n\n const handleBackClick = (): void => {\n setActiveStepIndex((prevActiveStepIndex) => prevActiveStepIndex - 1)\n }\n\n const handleNextClick = (): void => {\n setActiveStepIndex((prevActiveStepIndex) => prevActiveStepIndex + 1)\n }\n\n const isStepEnabled = (step: UploadStep): boolean => {\n return steps.indexOf(step) === 0 || isUsageAndEmissionsEnabled\n }\n\n return isDataUploadEnabled ? (\n \n \n \n \n Upload your data, gain insights\n \n \n Navigate through a step-by-step workflow to unlock the power of\n NZeroOS.\n \n \n ({ margin: `${theme.spacing(2)} 0` })} />\n \n \n {steps.map((step) => (\n \n {\n setActiveStepIndex(steps.indexOf(step))\n }}\n >\n {step.name}\n \n \n ))}\n \n \n {steps.map((step, index) => {\n return (\n \n
{step.content}
\n
\n )\n })}\n \n \n \n \n Back\n \n \n \n \n \n \n Next\n \n \n \n \n
\n
\n
\n
\n ) : (\n \n \n \n \n Self service data uploads are coming soon!\n \n \n You'll be able to upload your building data, resource\n consumption, and emissions with the click of a button.\n \n \n \n \n )\n}\n","import { useActiveOrganizationId } from \"../organization\"\nimport { useSitePreviews } from \"../useSitePreviews/useSitePreviews\"\n\ninterface UseEntitiesValue {\n entitiesHasData: boolean\n entitiesIsFetched: boolean\n}\n\n/**\n * Determines if the active organization has entities\n *\n * @returns The entities status\n */\nexport const useEntities = (): UseEntitiesValue => {\n const { activeOrganizationId } = useActiveOrganizationId()\n const { sitePreviewsData, sitePreviewsIsFetched } =\n useSitePreviews(activeOrganizationId)\n\n return {\n entitiesIsFetched: sitePreviewsIsFetched,\n entitiesHasData: sitePreviewsData?.length > 0,\n }\n}\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { LimitedAccessUserGuard } from \"@/components/route/limited-access-user-guard\"\nimport { RoleGuard } from \"@/components/route/role-guard\"\nimport { DataPath, RootPath } from \"@/models/route\"\n\nimport { DataIndexRoute } from \"./pages/data-index-route\"\nimport { DataQARoute } from \"./pages/data-qa-route\"\nimport { DataUploadRoute } from \"./pages/data-upload-route\"\n\nexport const dataRoutes: RouteObject[] = [\n {\n path: RootPath.Data,\n element: (\n \n \n \n \n \n \n \n ),\n children: [\n {\n path: DataPath.Upload,\n element: ,\n },\n {\n path: DataPath.QA,\n element: ,\n },\n ],\n },\n]\n","import React from \"react\"\n\nimport type { PaperProps } from \"@mui/material\"\nimport { CircularProgress, Paper, Typography } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../models/typography\"\n\nexport const LoadingSpinner = ({\n text = true,\n size,\n color,\n classes,\n dataE2e,\n ...rest\n}: PaperProps & {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n classes?: Record\n color?: string\n dataE2e?: string\n size?: number\n text?: boolean\n}) => (\n \n \n {text && (\n \n {rest.children ? rest.children : \"Loading data...\"}\n \n )}\n \n)\n","import React from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { buildUrlSearchParamsString, useUrl } from \"@/utils/url\"\nimport type { Interval } from \"luxon\"\n\nimport { Link } from \"@mui/material\"\n\nimport type { ISiteSummary } from \"../../../models/monthSummary\"\nimport { UnitName } from \"../../../models/unit\"\nimport { CENTS_PER_DOLLAR } from \"../../../utils/constants\"\nimport {\n formatEnergyVolumeInUnit,\n transformPricePerWhIntoUnit,\n} from \"../../../utils/formatters\"\nimport { CurrencyWithPlaceholder } from \"../../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Unit } from \"../../unit/unit\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\nexport const SiteRow = (props: {\n dateRange: Interval\n hasBundled: boolean\n siteSummaryDatum: ISiteSummary\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const { buildSiteUrl } = useUrl()\n const { siteSummaryDatum, hasBundled, whDisplayUnit, dateRange } = props\n\n const totalCost: number = siteSummaryDatum.costMajor\n const energyCost: number = hasBundled\n ? totalCost\n : siteSummaryDatum.energyCostMinor / CENTS_PER_DOLLAR\n const meteredEnergy: number = formatEnergyVolumeInUnit(\n siteSummaryDatum.meteredKwh,\n UnitName.KilowattHour,\n whDisplayUnit\n )\n const avgEnergyCost: number = transformPricePerWhIntoUnit(\n !meteredEnergy ? 0 : energyCost / meteredEnergy,\n whDisplayUnit,\n UnitName.KilowattHour\n )\n const imbalanceCost: number =\n siteSummaryDatum.imbalanceCostMinor / CENTS_PER_DOLLAR\n\n return (\n \n \n \n {siteSummaryDatum.siteName}\n \n \n \n \n \n \n \n \n {\" \"}\n \n \n \n \n \n \n \n \n \n {!hasBundled && (\n \n \n \n )}\n \n )\n}\n","import React from \"react\"\n\nimport type { Interval } from \"luxon\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { LoadingSpinner } from \"../../../components/loadingSpinner\"\nimport { SiteRow } from \"../../../components/organizationSummary/sitesTable/siteRow\"\nimport type { ISiteSummary } from \"../../../models/monthSummary\"\nimport type { UnitName } from \"../../../models/unit\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\nexport const DirectAccessSitesTable = ({\n dateRange,\n directAccessSiteTotals,\n isDirectAccessSiteTotalsFetched,\n whDisplayUnit,\n}: {\n dateRange: Interval\n directAccessSiteTotals: ISiteSummary[]\n isDirectAccessSiteTotalsFetched: boolean\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const theme = useTheme()\n\n const orderedGroupSummaryData: ISiteSummary[] | undefined =\n directAccessSiteTotals?.sort((a, b) => b.costMajor - a.costMajor)\n\n return (\n
\n {!isDirectAccessSiteTotalsFetched && (\n \n Loading...\n \n )}\n {isDirectAccessSiteTotalsFetched && (\n \n \n \n Site Detail\n Total Cost\n Total Volume\n Avg. Energy Cost\n Imbalance\n \n \n \n {orderedGroupSummaryData?.map((siteSummaryDatum) => (\n \n ))}\n \n \n )}\n
\n )\n}\n","import type { WhereClause } from \"spraypaint\"\n\nimport type { ISiteSummary } from \"../../../../models/monthSummary\"\nimport MonthSummary from \"../../../../models/monthSummary\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type { IDepartmentSummaryDto } from \"../../../dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\n\ninterface ISiteSummaryDto extends IDepartmentSummaryDto {\n site_id: number\n site_name: string\n}\n\n/**\n * This returns the site totals based on the where clause.\n * @deprecated This service will be deleted when we remove the use flexibleHierarchy flag\n *\n * @param where - The where clause to filter the totals by\n * @returns The filtered totals\n *\n * @example\n * ```tsx\n * import { fetchSiteTotals } from '../services/useSiteTotals/useSiteTotalsUtils'\n *\n * const siteTotals = await fetchSiteTotals({ department_id: 3, start_date: '2021-01-01', end_date: '2021-01-31' })\n * ```\n */\nconst fetchSiteTotals = async (where: WhereClause) =>\n MonthSummary.where(where)\n .stats({\n site_totals: \"calculate\",\n })\n .per(0)\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: ISiteSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.site_totals.calculate.map(\n (siteTotal: ISiteSummaryDto) =>\n // Transform numbers as strings into numbers\n ({\n ...siteTotal,\n confirm_cost_minor: Number.parseFloat(\n siteTotal.confirm_cost_minor\n ),\n cost_major: Number.parseFloat(siteTotal.cost_major),\n energy_cost_minor: Number.parseFloat(siteTotal.energy_cost_minor),\n imbalance_cost_minor: Number.parseFloat(\n siteTotal.imbalance_cost_minor\n ),\n metered_kwh: Number.parseFloat(siteTotal.metered_kwh),\n scheduling_cost_minor: Number.parseFloat(\n siteTotal.scheduling_cost_minor\n ),\n sq_ft: Number.parseFloat(siteTotal.sq_ft),\n transmission_cost_major: Number.parseFloat(\n siteTotal.transmission_cost_major\n ),\n })\n )\n )\n return data\n })\n\nexport { fetchSiteTotals }\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\nimport type { WhereClause } from \"spraypaint\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchSiteTotals } from \"./useSiteTotalsUtils\"\n\n/**\n * The useSiteTotals service/hook returns the site totals.\n * @deprecated This service will be deleted when we remove the use flexibleHierarchy flag\n *\n * @returns The useSiteTotals service/hook return object\n * @example\n * const {\n * siteTotals,\n * isSiteTotalsLoading\n * } = useSiteTotals({department_id: 3}, dateRange, {isDisabled: false})\n */\nexport const useSiteTotals = (\n where: WhereClause,\n dateRange: Interval,\n options?: { isDisabled?: boolean }\n) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const whereClause = {\n ...where,\n start_date: dateRange.start?.toISODate(),\n end_date: dateRange.end?.endOf(\"month\").toISODate(),\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.SiteTotals,\n \"getMany\",\n null,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n whereClause\n )\n\n const queryResult = useQuery<\n Awaited> | undefined\n >({\n queryKey,\n queryFn: () => fetchSiteTotals(whereClause),\n enabled: !options?.isDisabled && dateRange.isValid,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FC } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { IDateFormat } from \"@/models/date/date\"\nimport { translateDate } from \"@/utils/date\"\nimport type { Moment } from \"moment\"\n\nimport { Typography } from \"@mui/material\"\nimport type { TypographyProps } from \"@mui/material\"\n\ninterface IDateDisplayProps extends TypographyProps {\n /**\n * The format configuration for the date\n */\n format?: IDateFormat\n\n /**\n * The date\n */\n value: Moment | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided date\n *\n * @example\n * \n */\nexport const DateDisplay: FC = ({\n value,\n format,\n ...rest\n}) => {\n const { i18n } = useTranslation()\n\n return (\n \n {value?.isValid() && translateDate(i18n, value, format)}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport type { IDateFormat } from \"@/models/date/date\"\nimport type { Moment } from \"moment\"\n\nimport { Box } from \"@mui/material\"\n\nimport { If } from \"../../if/if\"\nimport { DateDisplay } from \"../dateDisplay/dateDisplay\"\n\ninterface IDateRangeDisplayProps {\n /**\n * The end date\n */\n end: Moment | null\n\n /**\n * The format configuration for the date range\n */\n format?: IDateFormat\n\n /**\n * The start date\n */\n start: Moment | null\n}\n\n/**\n * A component that properly formats and internationalizes the provided date range\n *\n * @example\n * \n */\nexport const DateRangeDisplay: FC = ({\n start,\n end,\n format,\n}) => (\n \n \n \n \n –\n \n \n \n \n)\n","export interface IDateFormat extends Intl.DateTimeFormatOptions {\n dateStyle?: \"full\" | \"long\" | \"medium\" | \"short\"\n timeStyle?: \"full\" | \"long\" | \"medium\" | \"short\"\n}\n\nexport enum DatePeriod {\n MTD = \"MTD\",\n YTD = \"YTD\",\n}\n","import React, { useCallback, useMemo } from \"react\"\n\nimport { DateTime, Interval } from \"luxon\"\n\nimport { Box, ToggleButton, ToggleButtonGroup } from \"@mui/material\"\n\nimport { DatePeriod } from \"../../../models/date/date\"\nimport { MonthRangeSelector } from \"../monthRangeSelector/monthRangeSelector\"\n\ninterface IMonthRangeWithPeriodsProps {\n availableMaxMinMonths: Interval\n onChange: (value: Interval) => void\n value?: Interval\n}\n\nexport const MonthRangeWithPeriodsSelector = ({\n availableMaxMinMonths,\n value,\n onChange,\n}: IMonthRangeWithPeriodsProps) => {\n const isPeriodButtonDisabled: boolean = useMemo(\n () =>\n !availableMaxMinMonths.isValid ||\n !availableMaxMinMonths.end.hasSame(DateTime.now(), \"month\"),\n [availableMaxMinMonths.end, availableMaxMinMonths.isValid]\n )\n\n const isYTD = (dateRange: Interval): boolean => {\n if (!dateRange.isValid) {\n return false\n }\n\n const now = DateTime.now()\n return (\n dateRange.start.equals(now.startOf(\"year\")) &&\n dateRange.end.hasSame(now, \"month\")\n )\n }\n\n const isMTD = (dateRange: Interval): boolean => {\n if (!dateRange.isValid) {\n return false\n }\n\n const now = DateTime.now()\n return (\n dateRange.start.equals(now.startOf(\"month\")) &&\n dateRange.end.hasSame(now, \"month\")\n )\n }\n\n const datePeriod = useMemo((): DatePeriod | null => {\n if (isYTD(value)) {\n return DatePeriod.YTD\n }\n if (isMTD(value)) {\n return DatePeriod.MTD\n }\n return null\n }, [value])\n\n const onMonthRangeSelectorChange = useCallback(\n (monthRange: Interval): void => {\n onChange(monthRange)\n },\n [onChange]\n )\n\n const handlePeriodChange = (\n _event: React.MouseEvent,\n period: DatePeriod\n ) => {\n const startDate = {\n [DatePeriod.MTD]: DateTime.now().startOf(\"month\"),\n [DatePeriod.YTD]: DateTime.now().startOf(\"year\"),\n }\n const monthRange = Interval.fromDateTimes(\n startDate[period],\n DateTime.now().endOf(\"hour\")\n )\n onChange(monthRange)\n }\n\n if (!availableMaxMinMonths) {\n return\n }\n\n return (\n \n \n \n \n \n {DatePeriod.MTD}\n {DatePeriod.YTD}\n \n \n )\n}\n","import React from \"react\"\n\nimport type { IDecimalFormat } from \"../decimal/decimal\"\nimport type { IDecimalWithPlaceholderProps } from \"../decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../decimalWithPlaceholder/decimalWithPlaceholder\"\n\ntype IUsageRateDecimalProps = Omit<\n IDecimalWithPlaceholderProps,\n \"format\" | \"replaceZeroWithPlaceholder\" | \"useAccountingFormatWhenNegative\"\n>\n\n/**\n * A component that properly formats and internationalizes the provided decimal for displaying a usage rate\n *\n * @param props - The component properties\n * @param children - The children\n * @param props.value - The decimal\n * @param props.placeholder - The placeholder to render instead of the decimal\n * @param props.unit - The unit to display\n * @example\n * return (\n * \n * )\n */\nexport const UsageRateDecimal = ({\n value,\n placeholder,\n unit,\n}: IUsageRateDecimalProps) => {\n let format: IDecimalFormat\n\n if (Number(value) < 1) {\n format = { maximumFractionDigits: 6, maximumSignificantDigits: 4 }\n } else {\n format = { precision: 2 }\n }\n\n return (\n \n )\n}\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Box, Stack, Typography } from \"@mui/material\"\n\nimport type { MetricProps } from \"./metric.types\"\n\n/**\n * Wrapper for displaying a metric with a title and a value.\n *\n * ```tsx\n * import { Metric } from 'nzds'\n *\n * \n * \n * \n * \n * \n * ```\n */\nconst Metric: React.FC = ({\n title,\n children,\n \"data-e2e\": dataE2e,\n}) => (\n ({\n backgroundColor: theme.palette.grey[25],\n })}\n >\n \n {title}\n \n {children}\n \n \n \n)\n\nexport default Metric\n","import React from \"react\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport { UnitName } from \"../../models/unit\"\nimport {\n formatEnergyVolumeInUnit,\n transformPricePerWhIntoUnit,\n} from \"../../utils/formatters\"\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { UsageRateDecimal } from \"../decimal/usageRateDecimal/usageRateDecimal\"\nimport Metric from \"../metric/metric\"\nimport { Unit } from \"../unit/unit\"\nimport type { IOrgSummary } from \"./organizationSummary\"\n\nexport const FinancialSummaryMetrics = ({\n orgSummaryData,\n hasBundled,\n whDisplayUnit,\n}: {\n hasBundled: boolean\n orgSummaryData: IOrgSummary\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const { energyCost: orgEnergyCost, totalCost } = orgSummaryData\n const energyCost = hasBundled ? totalCost : orgEnergyCost\n const meteredEnergyWh = formatEnergyVolumeInUnit(\n orgSummaryData.meteredMwh,\n UnitName.MegawattHour,\n whDisplayUnit\n )\n const avgEnergyCost = transformPricePerWhIntoUnit(\n !meteredEnergyWh ? 0 : energyCost / meteredEnergyWh,\n whDisplayUnit,\n UnitName.KilowattHour\n )\n\n const lgBreakPoint = hasBundled ? 4 : 3\n const mdBreakPoint = hasBundled ? 4 : 6\n const xsBreakPoint = 12\n\n return (\n \n \n \n {/* TODO: Address font size setting in _organizationSummary.scss */}\n \n \n \n \n \n \n \n {/* TODO: Address font size setting in _organizationSummary.scss */}\n \n \n \n \n \n \n \n \n \n \n {/* TODO: Address font size setting in _organizationSummary.scss */}\n \n \n \n \n \n \n \n \n {!hasBundled && (\n \n \n {/* TODO: Address font size setting in _organizationSummary.scss */}\n \n \n \n \n \n )}\n \n )\n}\n","import type { Dispatch, FC, SetStateAction } from \"react\"\nimport React, { useEffect, useMemo, useRef, useState } from \"react\"\n\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\"\nimport {\n Box,\n ToggleButton,\n ToggleButtonGroup,\n Typography,\n useTheme,\n} from \"@mui/material\"\nimport IconButton from \"@mui/material/IconButton\"\n\ninterface GraphSelectProps {\n graphIsLog: boolean\n setGraphIsLog: Dispatch>\n}\n\nexport const GraphSelect: FC = ({\n graphIsLog,\n setGraphIsLog,\n}) => {\n const [isMenuVisible, setIsMenuVisible] = useState(false)\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const graphSelectRef = useRef(null)\n\n const theme = useTheme()\n\n const handleMenuButtonClick = () => {\n if (isMenuVisible) {\n setIsMenuVisible(false)\n } else {\n setIsMenuVisible(true)\n }\n }\n\n const handleOutsideGraphSelectClick = (event) => {\n if (\n graphSelectRef.current &&\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n !graphSelectRef.current.contains(event.target)\n ) {\n setIsMenuVisible(false)\n }\n }\n\n const handleToggleButtonGroupChange = (\n _event,\n newToggleValue: \"log\" | \"linear\" | null\n ) => {\n if (!newToggleValue) {\n return\n }\n setGraphIsLog(newToggleValue === \"log\")\n }\n\n const toggleButtonGroupValue = useMemo(\n () => (graphIsLog ? \"log\" : \"linear\"),\n [graphIsLog]\n )\n\n useEffect(() => {\n document.addEventListener(\"click\", handleOutsideGraphSelectClick, true)\n return () => {\n document.removeEventListener(\"click\", handleOutsideGraphSelectClick, true)\n }\n })\n\n return (\n \n \n \n \n {isMenuVisible && (\n \n \n Y-Axis Scale\n \n \n Linear\n Log\n \n \n )}\n \n )\n}\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport { UnitName } from \"../../models/unit\"\nimport type { IDepartmentSummary } from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport { CENTS_PER_DOLLAR, KWH_PER_MWH } from \"../../utils/constants\"\nimport {\n formatEnergyVolumeInUnit,\n transformPricePerWhIntoUnit,\n} from \"../../utils/formatters\"\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Unit } from \"../unit/unit\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\nexport const GroupFinancialMetrics = ({\n groupSummaryData,\n hasBundled,\n whDisplayUnit,\n}: {\n groupSummaryData: IDepartmentSummary\n hasBundled: boolean\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const groupSummary = {\n totalCost: 0.0,\n energyCost: 0.0,\n totalVolume: 0.0,\n carbonIntensity: 0.0,\n }\n\n groupSummary.totalCost = groupSummaryData.costMajor\n\n groupSummary.energyCost = hasBundled\n ? groupSummaryData.costMajor\n : groupSummaryData.energyCostMinor / CENTS_PER_DOLLAR\n\n groupSummary.totalVolume = formatEnergyVolumeInUnit(\n groupSummaryData.meteredKwh / KWH_PER_MWH,\n UnitName.MegawattHour,\n whDisplayUnit\n )\n\n const avgDepartmentEnergyCost = transformPricePerWhIntoUnit(\n !groupSummary.totalVolume\n ? 0\n : groupSummary.energyCost / groupSummary.totalVolume,\n whDisplayUnit,\n UnitName.KilowattHour\n )\n\n return (\n \n \n
\n {hasBundled ? \"Total Estimated Cost\" : \"Energy Usage Cost\"}\n
\n
\n \n
\n
\n \n
Total Volume
\n
\n \n \n {\" \"}\n \n \n
\n
\n \n
Avg. Energy Cost
\n
\n \n \n \n \n
\n
\n \n )\n}\n","import type { WhereClause } from \"spraypaint\"\n\nimport type { SiteSummary } from \"../../../../models/monthSummary\"\nimport MonthSummary from \"../../../../models/monthSummary\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type { OrganizationChildrenSummaryDto } from \"../../../dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\n\ninterface SiteSummaryDto extends OrganizationChildrenSummaryDto {\n site_id: number\n site_name: string\n}\n\n/**\n * This returns the site totals of a org unit based on the where clause.\n *\n * @param where - The where clause to filter the totals by\n * @returns The filtered totals\n *\n * @example\n * ```tsx\n * import { fetchTotalsByOrgUnit } from '../services/useSiteTotalsByOrgUnit/useSiteTotalsByOrgUnitUtils'\n *\n * const totalsByOrgUnit = await fetchSiteTotalsByOrgUnit({ organizational_unit_id: 3, start_date: '2021-01-01', end_date: '2021-01-31' })\n * ```\n */\nconst fetchSiteTotalsByOrgUnit = async (where: WhereClause) =>\n MonthSummary.where(where)\n .stats({\n totals_by_organizational_unit: \"calculate\",\n })\n .per(0)\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const data: SiteSummary[] = snakeCaseToCamelCase(\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n result.meta.stats.totals_by_organizational_unit.calculate.map(\n (siteTotal: SiteSummaryDto) =>\n // Transform numbers as strings into numbers\n ({\n ...siteTotal,\n confirm_cost_minor: Number.parseFloat(\n siteTotal.confirm_cost_minor\n ),\n cost_major: Number.parseFloat(siteTotal.cost_major),\n energy_cost_minor: Number.parseFloat(siteTotal.energy_cost_minor),\n imbalance_cost_minor: Number.parseFloat(\n siteTotal.imbalance_cost_minor\n ),\n metered_kwh: Number.parseFloat(siteTotal.metered_kwh),\n scheduling_cost_minor: Number.parseFloat(\n siteTotal.scheduling_cost_minor\n ),\n sq_ft: Number.parseFloat(siteTotal.sq_ft),\n transmission_cost_major: Number.parseFloat(\n siteTotal.transmission_cost_major\n ),\n })\n )\n )\n return data\n })\n\nexport { fetchSiteTotalsByOrgUnit }\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\nimport type { WhereClause } from \"spraypaint\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchSiteTotalsByOrgUnit } from \"./useSiteTotalsByOrgUnitUtils\"\n\n/**\n * The useSiteTotalsByOrgUnit service/hook returns the site totals of an org unit.\n *\n * @returns The useSiteTotalsByOrgUnit service/hook return object\n * @example\n * const {\n * siteTotalsByOrgUnit,\n * isSiteTotalsByOrgUnitLoading\n * } = useSiteTotalsByOrgUnit({organizational_unit_id: 3}, dateRange, {isDisabled: false})\n */\nexport const useSiteTotalsByOrgUnit = (\n where: WhereClause,\n dateRange: Interval,\n options?: { isDisabled?: boolean }\n) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const whereClause = {\n ...where,\n start_date: dateRange.start?.toISODate(),\n end_date: dateRange.end?.endOf(\"month\").toISODate(),\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.SiteTotalsByOrgUnit,\n \"getMany\",\n null,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n whereClause\n )\n\n const queryResult = useQuery<\n Awaited> | undefined\n >({\n queryKey,\n queryFn: () => fetchSiteTotalsByOrgUnit(whereClause),\n enabled: !options?.isDisabled && dateRange.isValid,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import React from \"react\"\n\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport type { Interval } from \"luxon\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport type { ISiteSummary, SiteSummary } from \"../../../models/monthSummary\"\nimport type Organization from \"../../../models/organization\"\nimport type { UnitName } from \"../../../models/unit\"\nimport { useSiteTotals } from \"../../../modules/financialSummary/services/useSiteTotals/useSiteTotals\"\nimport { useSiteTotalsByOrgUnit } from \"../../../modules/financialSummary/services/useSiteTotalsByOrgUnit/useSiteTotalsByOrgUnit\"\nimport { LoadingSpinner } from \"../../loadingSpinner\"\nimport { SiteRow } from \"./siteRow\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\nexport const SitesTable = ({\n groupId,\n groupName,\n isOpen,\n dateRange,\n whDisplayUnit,\n organization,\n}: {\n dateRange: Interval\n groupId: string | null\n groupName: string | null\n isOpen: boolean\n organization: Organization\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const theme = useTheme()\n\n const { isFeatureEnabled } = useFeature()\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const { siteTotalsByOrgUnit, isSiteTotalsByOrgUnitFetched } =\n useSiteTotalsByOrgUnit(\n { organizational_unit_id: groupId, organization_id: organization.id },\n dateRange,\n { isDisabled: !groupId || !isUseFlexibleHierarchyEnabled || !isOpen }\n )\n\n const { siteTotals, isSiteTotalsFetched } = useSiteTotals(\n { department_id: groupId },\n dateRange,\n { isDisabled: !groupId || isUseFlexibleHierarchyEnabled || !isOpen }\n )\n\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const orderedDepartmentSummaryData: ISiteSummary[] | undefined = siteTotals\n ?.filter(\n (group) =>\n group.departmentName === groupName ||\n (groupName === null && group.departmentName == null)\n )\n .sort((a, b) => b.costMajor - a.costMajor)\n\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const orderedGroupSummaryData: SiteSummary[] | undefined = siteTotalsByOrgUnit\n ?.filter(\n (group) =>\n group.organizationalUnitName === groupName ||\n (groupName === null && group.organizationalUnitName == null)\n )\n .sort((a, b) => b.costMajor - a.costMajor)\n\n const summaryData = isUseFlexibleHierarchyEnabled\n ? orderedGroupSummaryData\n : orderedDepartmentSummaryData\n\n const isTotalsFetched = isUseFlexibleHierarchyEnabled\n ? isSiteTotalsByOrgUnitFetched\n : isSiteTotalsFetched\n\n return (\n
\n {!isTotalsFetched && (\n \n Loading...\n \n )}\n {isTotalsFetched && (\n \n \n \n \n Site Detail\n \n \n Total Estimated Cost\n \n \n Total Volume\n \n \n Avg. Energy Cost\n \n \n \n \n {summaryData?.map((siteSummaryDatum) => (\n \n ))}\n \n \n )}\n
\n )\n}\n","import React, { useState } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport type { Interval } from \"luxon\"\n\nimport { ExpandLessRounded, ExpandMoreRounded } from \"@mui/icons-material\"\nimport { Box, Collapse, Divider, Typography, useTheme } from \"@mui/material\"\n\nimport type Organization from \"../../models/organization\"\nimport type { ISitePreview } from \"../../models/site\"\nimport type { UnitName } from \"../../models/unit\"\nimport type {\n IDepartmentSummary,\n OrganizationChildrenSummary,\n} from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport { GroupFinancialMetrics } from \"./groupFinancialMetrics\"\nimport { SitesTable } from \"./sitesTable/sitesTable\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\n\nexport const CollapsibleGroup = ({\n groupId,\n groupName,\n dateRange,\n hasBundled,\n organization,\n sitePreviews,\n whDisplayUnit,\n groupsSummaryData,\n}: {\n dateRange: Interval\n groupId: string\n groupName: string\n groupsSummaryData: IDepartmentSummary[] | OrganizationChildrenSummary[]\n hasBundled: boolean\n organization: Organization\n sitePreviews: ISitePreview[]\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const theme = useTheme()\n const [open, setOpen] = useState(false)\n\n const { isFeatureEnabled } = useFeature()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const name = groupName ?? \"Other\"\n const numSitesInDepartment: number | undefined = sitePreviews?.filter(\n (sitePreview) => sitePreview.departmentName === groupName\n ).length\n\n const numSitesInTopOrgUnit = sitePreviews?.filter(\n (sitePreview) => sitePreview.topOrgUnitName === groupName\n ).length\n\n const numSitesInGroup = isUseFlexibleHierarchyEnabled\n ? numSitesInTopOrgUnit\n : numSitesInDepartment\n\n // This is a hack in order to filter based on the data we receive\n let groupsData\n if (isUseFlexibleHierarchyEnabled) {\n groupsData = groupsSummaryData as OrganizationChildrenSummary[]\n } else {\n groupsData = groupsSummaryData as IDepartmentSummary[]\n }\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const groupSummaryData = isUseFlexibleHierarchyEnabled\n ? // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n groupsData.filter(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (site) => site.organizationalUnitId === Number.parseInt(groupId, 10)\n )[0]\n : // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n groupsData.filter(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (site) => site.departmentId === Number.parseInt(groupId, 10)\n )[0]\n\n return (\n groupSummaryData && (\n \n {\n setOpen(!open)\n }}\n style={{\n backgroundColor: \"transparent\",\n border: 0,\n cursor: \"pointer\",\n display: \"block\",\n padding: 0,\n width: \"100%\",\n }}\n tabIndex={0}\n type=\"button\"\n >\n \n {open ? (\n \n ) : (\n \n )}\n \n {`${name} (${numSitesInGroup})`}\n \n \n \n \n\n \n\n \n \n \n \n \n \n )\n )\n}\n","import React from \"react\"\n\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport type { Interval } from \"luxon\"\n\nimport type Organization from \"../../models/organization\"\nimport type { ISitePreview } from \"../../models/site\"\nimport type { UnitName } from \"../../models/unit\"\nimport type {\n IDepartmentSummary,\n OrganizationChildrenSummary,\n} from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport { CollapsibleGroup } from \"./collapsibleGroup\"\n\n/**\n * @deprecated This UI is slated to be replaced and this component will be deleted\n */\nexport const GroupViews = ({\n dateRange,\n groupsSummaryData,\n hasBundled,\n organization,\n sitePreviews,\n whDisplayUnit,\n}: {\n dateRange: Interval\n groupsSummaryData: IDepartmentSummary[] | OrganizationChildrenSummary[]\n hasBundled: boolean\n organization: Organization\n sitePreviews: ISitePreview[]\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const { isFeatureEnabled } = useFeature()\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n // This is a hack in order to reduce based on the data we receive\n let groupsData\n\n if (isUseFlexibleHierarchyEnabled) {\n groupsData = groupsSummaryData as OrganizationChildrenSummary[]\n } else {\n groupsData = groupsSummaryData as IDepartmentSummary[]\n }\n\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const groupAggCost: Map | undefined = groupsData.reduce(\n (agg, group) => {\n if (isUseFlexibleHierarchyEnabled) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { organizationalUnitId } = group\n\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (!agg.has(organizationalUnitId)) {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(organizationalUnitId, group.costMajor)\n } else {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(\n organizationalUnitId,\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.get(organizationalUnitId) + group.costMajor\n )\n }\n } else {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { departmentId } = group\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (!agg.has(departmentId)) {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(departmentId, group.costMajor)\n } else {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(departmentId, agg.get(departmentId) + group.costMajor)\n }\n }\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return agg\n },\n new Map()\n )\n\n const sortedGroupCost = groupAggCost\n ? [...groupAggCost.entries()].sort((a, b) => b[1] - a[1])\n : []\n\n return (\n <>\n {sortedGroupCost.map(([groupId]) => (\n \n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n group.organizationalUnitId === Number.parseInt(groupId, 10)\n )?.organizationalUnitName\n : // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n groupsData.find(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (group) => group.departmentId === Number.parseInt(groupId, 10)\n )?.departmentName\n }\n groupsSummaryData={groupsSummaryData}\n hasBundled={hasBundled}\n organization={organization}\n sitePreviews={sitePreviews}\n whDisplayUnit={whDisplayUnit}\n />\n ))}\n \n )\n}\n","import React, { useEffect, useRef } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { axisLeft, max, min, scaleLinear, scaleLog, select } from \"d3\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { useUserSettings } from \"../../modules/settings\"\nimport { dustyGray, solidGray } from \"../../utils/colors\"\nimport { translateCurrency } from \"../../utils/currency\"\n\nconst spaceBetween = 40\nconst baselineOffset = 40\nconst offsetLeft = 96\nconst labelOffset = 4\n\nexport const BAR_ANIMATION_TIME_MS = 500\nexport const BASELINE_ANIMATION_TIME_MS = 250\n\nexport const OrganizationBarGraph = ({\n height,\n data,\n graphIsLog,\n}: {\n data: Map\n graphIsLog: boolean\n height: number\n}) => {\n const { i18n } = useTranslation()\n const { currency } = useUserSettings()\n const ref = useRef()\n const theme = useTheme()\n\n const colorMap = new Map([\n [\"Energy\", theme.palette.spectrum.cerulean[300]],\n [\"Imbalance\", theme.palette.spectrum.peach[300]],\n [\"Scheduling Fees\", theme.palette.spectrum.purple[300]],\n [\"Transmission & Distribution\", theme.palette.spectrum.cerulean[100]],\n [\"Resource Adequacy\", theme.palette.grey[200]],\n [\"RECs\", theme.palette.grey[200]],\n [\"Other\", theme.palette.grey[200]],\n ])\n\n const xyAxisLabelColor: string = solidGray.toString()\n\n const dataValues: number[] =\n [...data.values()].length > 0 ? [...data.values()] : [0]\n const maxValue = 10\n\n const draw = (isLog) => {\n let scale\n let domainSize\n let accessType\n\n if (dataValues[0] === 0) {\n return\n }\n\n if (min(dataValues) * maxValue < max(dataValues)) {\n scale = scaleLog().base(2)\n domainSize = max(dataValues) + max(dataValues)\n accessType = \"log-graph\"\n } else if (min(dataValues) * maxValue >= max(dataValues)) {\n scale = scaleLinear()\n domainSize = max(dataValues)\n accessType = \"linear-graph\"\n }\n\n if (isLog) {\n scale = scaleLog().base(2)\n domainSize = max(dataValues) + max(dataValues)\n accessType = \"log-graph\"\n } else if (!isLog) {\n scale = scaleLinear()\n domainSize = max(dataValues)\n accessType = \"linear-graph\"\n }\n\n const svg = select(ref.current)\n const svgDom = svg.node() as SVGElement\n const areaWidth = svgDom.clientWidth\n const workingAreaWidth = areaWidth - offsetLeft - spaceBetween * data.size\n const workingAreaHeight = height - baselineOffset + labelOffset\n const barWidth = workingAreaWidth / data.size\n\n const domainStart = min(dataValues) / 2\n\n const range = [baselineOffset, workingAreaHeight]\n const domain = [domainSize, domainStart]\n\n const selection = svg.selectAll(\"rect\").data([...data.entries()])\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const yScale = scale.domain(domain).range(range)\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const yAxis = axisLeft(yScale)\n .tickSize(8)\n .tickFormat((d) =>\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n translateCurrency(i18n, currency, d as number, {\n precision: 0,\n })\n )\n\n const getBarColor = (key) => {\n const colorMapper = colorMap\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n if (colorMapper.has(key)) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n return colorMapper.get(key)\n }\n // default color\n return theme.palette.spectrum.cerulean[300]\n }\n\n const yAxisSvg = svg\n .append(\"g\")\n .attr(\"class\", \"y-axis\")\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .attr(\"data-name\", accessType)\n .attr(\"stroke\", \"rgb(221, 221, 221)\")\n .attr(\"stroke-width\", 0.5)\n .attr(\"stroke-opacity\", 0.5)\n .call((self) => self.attr(\"transform\", \"translate(-20 0)\"))\n if (dataValues.length > 0) {\n yAxisSvg.call(yAxis)\n }\n yAxisSvg\n .call((self) =>\n self\n .selectAll(\".tick text\")\n .style(\"color\", xyAxisLabelColor)\n .style(\"text-anchor\", \"start\")\n .attr(\"x\", 20)\n .attr(\"dy\", -2)\n .attr(\n \"dx\",\n (_d, i, elements: SVGTextElement[]) =>\n max([...elements].map((e) => e.getBoundingClientRect().width)) -\n elements[i].getBoundingClientRect().width\n )\n )\n .call((self) => self.selectAll(\".tick line\").remove())\n .call((self) => self.select(\".domain\").remove())\n .call((self) => self.selectAll(\"g.tick:nth-child(2n)\").remove())\n\n selection\n .transition()\n .duration(BAR_ANIMATION_TIME_MS)\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n .attr(\"height\", (d) => yScale(d[1]))\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n .attr(\"y\", (d) => height - yScale(d[1]))\n\n const barsGroup = selection.enter().append(\"g\").attr(\"class\", \"bar-group\")\n const priceTexts = barsGroup\n .append(\"text\")\n .attr(\"class\", \"price\")\n .text((d) => translateCurrency(i18n, currency, d[1], { precision: 0 }))\n\n barsGroup\n .append(\"rect\")\n .attr(\"class\", \"bar\")\n .attr(\"x\", (_d, i) => offsetLeft + i * barWidth + i * spaceBetween)\n .attr(\"width\", barWidth)\n .attr(\"fill\", (d) => getBarColor(d[0]))\n .attr(\"y\", height / 2)\n .attr(\"height\", 0)\n .transition()\n .duration(BAR_ANIMATION_TIME_MS)\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n .attr(\"y\", (d) => yScale(d[1]))\n .attr(\"height\", (d) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n Math.max(height - yScale(d[1]) - baselineOffset, 0)\n )\n .attr(\"data-e2e\", \"bar-graph\")\n\n const labelTexts = barsGroup\n .append(\"foreignObject\")\n .attr(\"color\", xyAxisLabelColor)\n .attr(\"class\", \"label\")\n .attr(\"width\", barWidth + spaceBetween)\n .attr(\"height\", 200)\n .text((d) => d[0])\n\n priceTexts\n .attr(\n \"x\",\n (_d, i, elements) =>\n offsetLeft +\n i * barWidth +\n i * spaceBetween +\n (barWidth - elements[i].getBoundingClientRect().width) / 2\n )\n .attr(\"y\", workingAreaHeight / 2)\n .transition()\n .duration(500)\n .attr(\n \"y\",\n (d, i, elements) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n yScale(d[1]) +\n elements[i].getBoundingClientRect().height -\n baselineOffset / 2 -\n labelOffset\n )\n labelTexts\n .attr(\n \"x\",\n (_d, i, elements) =>\n offsetLeft +\n i * barWidth +\n i * spaceBetween +\n (barWidth - elements[i].getBoundingClientRect().width) / 2\n )\n .attr(\"y\", height)\n .transition()\n .duration(BAR_ANIMATION_TIME_MS)\n .attr(\"y\", workingAreaHeight + 5)\n\n svg.call((self) => {\n self\n .append(\"line\")\n .attr(\"class\", \"baseline\")\n .attr(\"shape-rendering\", \"crispEdges\")\n .attr(\"stroke-width\", \"1px\")\n .attr(\"stroke\", dustyGray.toString())\n .attr(\"y1\", height - baselineOffset)\n .attr(\"y2\", height - baselineOffset)\n .attr(\n \"x1\",\n (_d, i, elements) =>\n elements[i].parentElement.getBoundingClientRect().width / 2\n )\n .attr(\n \"x2\",\n (_d, i, elements) =>\n elements[i].parentElement.getBoundingClientRect().width / 2\n )\n .transition()\n .duration(BASELINE_ANIMATION_TIME_MS)\n .attr(\"x1\", 0)\n .attr(\n \"x2\",\n (_d, i, elements) =>\n elements[i].parentElement.getBoundingClientRect().width\n )\n })\n\n selection\n .exit()\n .transition()\n .duration(500)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n .attr(\"y\", (d) => height)\n .attr(\"height\", 0)\n .remove()\n }\n\n useEffect(() => {\n select(ref.current).attr(\"width\", \"100%\").attr(\"height\", height)\n }, [])\n\n useEffect(() => {\n draw(graphIsLog)\n }, [data])\n\n return \n}\n","import React, { useCallback, useEffect, useMemo, useState } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { useSitePreviews } from \"@/services/useSitePreviews/useSitePreviews\"\nimport { getMostRecentMonthDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport type { Interval } from \"luxon\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { AccountBalanceRounded } from \"@mui/icons-material\"\nimport { Box, Typography } from \"@mui/material\"\n\nimport type { ISiteSummary } from \"../../models/monthSummary\"\nimport type { IRange } from \"../../models/range\"\nimport { UnitName } from \"../../models/unit\"\nimport { useOrgSummaryStats } from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStats\"\nimport type {\n GroupSummary,\n IDepartmentSummary,\n OrganizationChildrenSummary,\n} from \"../../modules/dashboard/services/useOrgSummaryStats/useOrgSummaryStatsUtils\"\nimport { DirectAccessSitesTable } from \"../../modules/financialSummary/components/directAccessSitesTable\"\nimport { useSiteTotals } from \"../../modules/financialSummary/services/useSiteTotals/useSiteTotals\"\nimport { CENTS_PER_DOLLAR, KWH_PER_MWH } from \"../../utils/constants\"\nimport { DataGuard } from \"../data-guard\"\nimport { DateRangeDisplay } from \"../date/dateRangeDisplay/dateRangeDisplay\"\nimport { MonthRangeWithPeriodsSelector } from \"../date/monthRangeWithPeriodsSelector/monthRangeWithPeriodsSelector\"\nimport { LoadingSpinner } from \"../loadingSpinner\"\nimport { PageHeader } from \"../nav/page-header\"\nimport { PageHeaderActionBar } from \"../nav/page-header-action-bar\"\nimport { Page } from \"../page\"\nimport { PageCard } from \"../page-card\"\nimport { FinancialSummaryMetrics } from \"./financialSummaryMetrics\"\nimport { GraphSelect } from \"./graphSelect/graphSelect\"\nimport { GroupViews } from \"./groupViews\"\nimport { OrganizationBarGraph } from \"./organizationBarGraph\"\n\nexport interface IOrgSummary {\n energyCost: number\n imbalanceCost: number\n meteredMwh: number\n schedulingCost: number\n totalCost: number\n transmissionCost: number\n}\n\ntype SiteSummarySums = Pick<\n IDepartmentSummary,\n | \"costMajor\"\n | \"energyCostMinor\"\n | \"imbalanceCostMinor\"\n | \"meteredKwh\"\n | \"schedulingCostMinor\"\n | \"transmissionCostMajor\"\n>\n\nexport const OrganizationSummary = () => {\n const { organization } = useOrganizationContext()\n const { hasBundled } = organization\n const { isFeatureEnabled } = useFeature()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n const [orgSummaryData, setOrgSummaryData] = useState(null)\n\n const [graphIsLog, setGraphIsLog] = useState(false)\n\n const [graphData, setGraphData] = useState | null>(null)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [whDisplayUnit, _setWhDisplayUnit] = useState<\n UnitName.KilowattHour | UnitName.MegawattHour\n >(UnitName.MegawattHour)\n\n const { availableReportDatesData, availableReportDatesIsInitialLoading } =\n useAvailableReportDates(organization?.id)\n\n const mostRecentMonthDateRange = getMostRecentMonthDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"financialSummaryDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentMonthDateRange,\n })\n\n // Moment version of date range to be used until migration to luxon is complete\n const dateRangeMoment: IRange = useMemo(\n () => ({\n start: moment(dateRange.start?.toISODate()),\n end: moment(dateRange.end?.toISODate()),\n }),\n [dateRange.end, dateRange.start]\n )\n\n const {\n siteTotals: directAccessSiteTotals,\n isSiteTotalsFetched: isDirectAccessSiteTotalsFetched,\n } = useSiteTotals({ organization_id: organization.id }, dateRange, {\n isDisabled: !organization.id || hasBundled,\n })\n\n const { sitePreviewsData, sitePreviewsIsInitialLoading } = useSitePreviews(\n organization?.id\n )\n\n // TODO: Remove this boolean prop once the flexible hierarchy feature is enabled by default\n const { organizationSummaryStats, isOrganizationSummaryStatsInitialLoading } =\n useOrgSummaryStats(organization.id, dateRange, {\n isUseFlexibleHierarchyEnabled,\n isBundled: hasBundled,\n })\n\n // TODO: Remove this once the flexible hierarchy feature is enabled by default\n const typedOrganizationSummaryStats = organizationSummaryStats as\n | OrganizationChildrenSummary[]\n | IDepartmentSummary[]\n | undefined\n\n const displaySummary: boolean =\n orgSummaryData !== null &&\n graphData !== null &&\n !availableReportDatesIsInitialLoading &&\n !isOrganizationSummaryStatsInitialLoading &&\n !sitePreviewsIsInitialLoading\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null) => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n const generateOrgSummaryData = (\n groupSummaryDatums: IDepartmentSummary[] | OrganizationChildrenSummary[]\n ): IOrgSummary => {\n // This is a hack in order to get around eslint error with using reduce\n const siteSummarySums: SiteSummarySums = (\n groupSummaryDatums as GroupSummary[]\n ).reduce(\n (result: SiteSummarySums, deptData) => ({\n costMajor: result.costMajor + deptData.costMajor,\n energyCostMinor: result.energyCostMinor + deptData.energyCostMinor,\n imbalanceCostMinor:\n result.imbalanceCostMinor + deptData.imbalanceCostMinor,\n meteredKwh: result.meteredKwh + deptData.meteredKwh,\n schedulingCostMinor:\n result.schedulingCostMinor + deptData.schedulingCostMinor,\n transmissionCostMajor:\n result.transmissionCostMajor + deptData.transmissionCostMajor,\n }),\n {\n costMajor: 0,\n energyCostMinor: 0,\n imbalanceCostMinor: 0,\n meteredKwh: 0,\n schedulingCostMinor: 0,\n transmissionCostMajor: 0,\n }\n )\n\n const orgData: IOrgSummary = {\n totalCost: siteSummarySums.costMajor,\n energyCost: siteSummarySums.energyCostMinor / CENTS_PER_DOLLAR,\n imbalanceCost: siteSummarySums.imbalanceCostMinor / CENTS_PER_DOLLAR,\n meteredMwh: siteSummarySums.meteredKwh / KWH_PER_MWH,\n schedulingCost: siteSummarySums.schedulingCostMinor / CENTS_PER_DOLLAR,\n transmissionCost: siteSummarySums.transmissionCostMajor,\n }\n\n return orgData\n }\n\n const generateOrgSummaryDataFromSites = (\n siteSummaryDatums: ISiteSummary[]\n ): IOrgSummary => {\n const siteSummarySums: SiteSummarySums = siteSummaryDatums.reduce(\n (result, deptData) => ({\n costMajor: result.costMajor + deptData.costMajor,\n energyCostMinor: result.energyCostMinor + deptData.energyCostMinor,\n imbalanceCostMinor:\n result.imbalanceCostMinor + deptData.imbalanceCostMinor,\n meteredKwh: result.meteredKwh + deptData.meteredKwh,\n schedulingCostMinor:\n result.schedulingCostMinor + deptData.schedulingCostMinor,\n transmissionCostMajor:\n result.transmissionCostMajor + deptData.transmissionCostMajor,\n }),\n {\n costMajor: 0,\n energyCostMinor: 0,\n imbalanceCostMinor: 0,\n meteredKwh: 0,\n schedulingCostMinor: 0,\n transmissionCostMajor: 0,\n }\n )\n\n const orgData: IOrgSummary = {\n totalCost: siteSummarySums.costMajor,\n energyCost: siteSummarySums.energyCostMinor / CENTS_PER_DOLLAR,\n imbalanceCost: siteSummarySums.imbalanceCostMinor / CENTS_PER_DOLLAR,\n meteredMwh: siteSummarySums.meteredKwh / KWH_PER_MWH,\n schedulingCost: siteSummarySums.schedulingCostMinor / CENTS_PER_DOLLAR,\n transmissionCost: siteSummarySums.transmissionCostMajor,\n }\n\n return orgData\n }\n\n useEffect(() => {\n if (hasBundled) {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!typedOrganizationSummaryStats) {\n return\n }\n // This is for bundled customers\n const orgData: IOrgSummary = generateOrgSummaryData(\n typedOrganizationSummaryStats\n )\n setOrgSummaryData(orgData)\n // This is a hack in order to get around eslint error with using reduce\n let groupData\n if (isUseFlexibleHierarchyEnabled) {\n groupData =\n typedOrganizationSummaryStats as OrganizationChildrenSummary[]\n } else {\n groupData = typedOrganizationSummaryStats as IDepartmentSummary[]\n }\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const groupAggCost: Map = groupData.reduce(\n (agg, group) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const departmentName =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n group.departmentName === null ? \"Other\" : group.departmentName\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const organizationalUnitName =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n group.organizationalUnitName === null\n ? \"Other\"\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n group.organizationalUnitName\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const groupName = isUseFlexibleHierarchyEnabled\n ? organizationalUnitName\n : departmentName\n\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (!agg.has(groupName)) {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(groupName, group.costMajor)\n } else {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n agg.set(groupName, agg.get(groupName) + group.costMajor)\n }\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return agg\n },\n new Map()\n )\n\n groupAggCost.forEach((value, key, dAggCost) => {\n if (value === 0) {\n dAggCost.delete(key)\n }\n })\n\n const maxGroupCostCount = 10\n const sortedGroupCost = new Map(\n [...groupAggCost.entries()]\n .sort((a, b) => b[1] - a[1])\n .slice(0, maxGroupCostCount)\n )\n\n setGraphData(sortedGroupCost)\n } else {\n if (!directAccessSiteTotals?.length) {\n return\n }\n\n // this is for direct access customers\n const orgData = generateOrgSummaryDataFromSites(directAccessSiteTotals)\n setOrgSummaryData(orgData)\n\n const graphDataMap = new Map([\n [\"Energy\", orgData.energyCost],\n [\"Imbalance\", Math.abs(orgData.imbalanceCost)],\n [\"Scheduling Fees\", orgData.schedulingCost],\n [\"Transmission & Distribution\", orgData.transmissionCost],\n ])\n graphDataMap.forEach((value, key, gDataMap) => {\n if (value === 0) {\n gDataMap.delete(key)\n }\n })\n setGraphData(graphDataMap)\n }\n }, [\n typedOrganizationSummaryStats,\n directAccessSiteTotals,\n hasBundled,\n isUseFlexibleHierarchyEnabled,\n ])\n\n const FinancialSummary = () =>\n !displaySummary ? (\n \n Loading...\n \n ) : (\n \n
\n \n \n \n {organization.name}, Electricity Financial Summary\n \n
\n
\n \n
\n \n \n \n \n {hasBundled ? (\n \n ) : (\n \n )}\n \n )\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { OrganizationSummary } from \"@/components/organizationSummary/organizationSummary\"\nimport { RoleGuard } from \"@/components/route/role-guard\"\nimport { RootPath } from \"@/models/route\"\n\nexport const financialRoutes: RouteObject[] = [\n {\n path: RootPath.Financial,\n element: (\n \n \n
\n \n
\n
\n \n ),\n },\n]\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { Box, CircularProgress } from \"@mui/material\"\n\ninterface PageLoadingProps {\n children?: ReactNode\n isLoading: boolean\n showContent?: boolean\n}\n\n/**\n * Shows page loading spinner in the middle of the page\n * by default it will show a spinner when isLoading is true\n * and show the children contents when isLoading is false\n *\n * you can optionally show the child contents by setting showContent\n * to true while isLoading is also true, for example after the initial\n * data fetch and you are refetching some new data\n *\n * ```tsx\n * import { PageLoading } from 'page-loading'\n *\n * \n */\nexport const PageLoading: React.FC = ({\n isLoading,\n showContent,\n children,\n}) => {\n // default behavior\n if (isLoading && !showContent) {\n return (\n \n \n \n )\n }\n\n if (!isLoading && !showContent) {\n return <>{children}\n }\n\n if (showContent) {\n return (\n <>\n {isLoading ? (\n \n \n \n ) : null}\n {children}\n \n )\n }\n\n return null\n}\n","export const shouldShowPlaceholder = (value?: string | number | null) => {\n return typeof value !== \"string\" && !Number.isFinite(value)\n}\n","import { useTranslation } from \"react-i18next\"\n\nimport { EMPTY_DATA_PLACEHOLDER } from \"../utils\"\nimport { shouldShowPlaceholder } from \"./utils\"\n\nexport const useFormatPercentage = (options: Intl.NumberFormatOptions = {}) => {\n const { t } = useTranslation()\n\n const format = (value?: string | number | null) => {\n if (shouldShowPlaceholder(value)) {\n return EMPTY_DATA_PLACEHOLDER\n }\n return t(\"common:percentage\", {\n value,\n formatParams: {\n value: {\n ...options,\n },\n },\n })\n }\n\n return { format }\n}\n","import type { Organization } from \"@/models/organization\"\nimport { client } from \"@/services/client\"\nimport type { Paths } from \"@/services/types\"\n\nexport type CreateGoalBody =\n Paths[\"/api/v1/recommendations/goals\"][\"post\"][\"requestBody\"][\"content\"][\"application/json\"] & {\n organization_id: Organization[\"id\"]\n }\n\nexport const createGoal = async (requestBody: CreateGoalBody) => {\n const { data, error } = await client().POST(\"/api/v1/recommendations/goals\", {\n body: requestBody,\n })\n\n if (data) {\n return data\n }\n throw error as Error\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport type { Paths } from \"@/services/types\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\n\nimport { createGoal } from \"./create-goal\"\nimport type { CreateGoalBody } from \"./create-goal\"\n\ninterface UseCreateGoalOptions {\n mutationOptions?: Omit<\n UseMutationOptions<\n Paths[\"/api/v1/recommendations/goals\"][\"post\"][\"responses\"][\"200\"][\"content\"][\"application/json\"],\n Paths[\"/api/v1/recommendations/goals\"][\"post\"][\"responses\"][\"422\"][\"content\"][\"application/json\"],\n CreateGoalBody\n >,\n \"mutationFn\"\n >\n}\n\n/**\n * Creates a goal\n *\n * @example\n * const { mutateAsync, data, isLoading, error, isError } =\n * useCreateGoal({\n * queryOptions // react query options\n * });\n *\n * await mutateAsync({ subject_type: \"Site\", subject_id: 123, ....})\n */\nexport const useCreateGoal = (options?: UseCreateGoalOptions) => {\n const mutationOptions = options?.mutationOptions\n const queryClient = useQueryClient()\n\n const mutation = useMutation(createGoal, {\n ...(mutationOptions ?? {}),\n onSuccess: (data, variables, context) => {\n if (mutationOptions?.onSuccess) {\n void mutationOptions.onSuccess(data, variables, context)\n }\n\n void queryClient.invalidateQueries([\n ApiQueryName.RecommendationsGoals,\n \"getMany\",\n ])\n },\n })\n return mutation\n}\n","import type { Organization } from \"@/models/organization\"\nimport { client } from \"@/services/client\"\nimport type { Paths } from \"@/services/types\"\n\nexport interface UpdateGoalParams {\n parameters: Paths[\"/api/v1/recommendations/goals/{goal_id}\"][\"put\"][\"parameters\"] & {\n organization_id: Organization[\"id\"]\n }\n requestBody: Paths[\"/api/v1/recommendations/goals/{goal_id}\"][\"put\"][\"requestBody\"][\"content\"][\"application/json\"] & {\n organization_id: Organization[\"id\"]\n }\n}\n\nexport const updateGoal = async ({\n requestBody,\n parameters,\n}: UpdateGoalParams) => {\n const { data, error } = await client().PUT(\n \"/api/v1/recommendations/goals/{goal_id}\",\n {\n body: requestBody,\n params: parameters,\n }\n )\n\n if (data) {\n return data\n }\n throw error as Error\n}\n","import type { Paths } from \"@/services/types\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { UpdateGoalParams } from \"./update-goal\"\nimport { updateGoal } from \"./update-goal\"\n\ninterface UseUpdateGoalOptions {\n mutationOptions?: Omit<\n UseMutationOptions<\n Paths[\"/api/v1/recommendations/goals/{goal_id}\"][\"put\"][\"responses\"][\"200\"][\"content\"][\"application/json\"],\n Paths[\"/api/v1/recommendations/goals/{goal_id}\"][\"put\"][\"responses\"][\"422\"][\"content\"][\"application/json\"],\n UpdateGoalParams\n >,\n \"mutationFn\"\n >\n}\n\n/**\n * Updates a goal\n *\n * @example\n * const { mutateAsync, data, isLoading, error, isError } =\n * useUpdateGoal({\n * mutationOptions // react query options\n * });\n *\n */\nexport const useUpdateGoal = (options?: UseUpdateGoalOptions) => {\n const mutationOptions = options?.mutationOptions\n const queryClient = useQueryClient()\n\n const mutation = useMutation(updateGoal, {\n ...(mutationOptions ?? {}),\n onSuccess: (data, variables, context) => {\n if (mutationOptions?.onSuccess) {\n void mutationOptions.onSuccess(data, variables, context)\n }\n\n void queryClient.invalidateQueries([\n ApiQueryName.RecommendationsGoals,\n \"getMany\",\n ])\n },\n })\n return mutation\n}\n","import type { FC, ReactNode } from \"react\"\nimport React, { useEffect, useRef, useState } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useTimeout } from \"@/nzds/utils\"\nimport { useIsFirstRender } from \"@uidotdev/usehooks\"\n\nimport { CheckRounded, CloseRounded, EditRounded } from \"@mui/icons-material\"\nimport {\n Box,\n IconButton,\n InputAdornment,\n Stack,\n Typography,\n styled,\n} from \"@mui/material\"\n\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { NumericTextField } from \"../../../../nzds\"\nimport { useCreateGoal } from \"../../services/use-create-goal/use-create-goal\"\nimport { useUpdateGoal } from \"../../services/use-udpate-goal/use-update-goal\"\nimport type { GoalsProgressBarProps } from \"./goals-progress-bar.types\"\n\nconst StyledInnerProgressBar = styled(Box)`\n ${({ theme }) => `\n transition: ${theme.transitions.create([\"width\"], {\n duration: theme.transitions.duration.complex,\n easing: theme.transitions.easing.easeInOut,\n })};\n `}\n`\n\nconst LegendItem = ({\n colorLevel,\n label,\n legendIcon,\n}: {\n colorLevel?: number\n label: string\n legendIcon?: ReactNode\n}) => (\n \n {colorLevel && !legendIcon ? (\n \n ) : null}\n {legendIcon && !colorLevel ? legendIcon : null}\n\n {label}\n \n)\n\nconst StyledInnerProgressBarStriped = styled(Box)`\n ${({ theme }) => `\n background-image: repeating-linear-gradient(45deg, ${theme.palette.spectrum.purple[50]}, ${theme.palette.spectrum.purple[50]} 6px, ${theme.palette.spectrum.purple[200]} 6px, ${theme.palette.spectrum.purple[200]} 7px)\n `}\n`\n\n/**\n * Displays percentage complete of total, and allows for a goal percentage(passed as a proportion/decimal)\n *\n * ```tsx\n * import { GoalsProgressBar } from ....\n *\n * \n * // progress of 50%, goal of 75%\n * ```\n */\nexport const GoalsProgressBar: FC = ({\n complete,\n total,\n goal,\n}) => {\n const [completedPercentageWidth, setCompletedPercentageWidthWidth] =\n useState(0)\n\n const isFirstRender = useIsFirstRender()\n\n const { organization } = useOrganizationContext()\n\n const { mutateAsync: createGoal } = useCreateGoal()\n const { mutateAsync: updateGoal } = useUpdateGoal()\n\n const [goalPercentValue, setGoalPercentValue] = useState(\n `${(goal?.reduction_goal ?? 0) * 100}`\n )\n\n const [isEditMode, setIsEditMode] = useState(false)\n\n useEffect(() => {\n if (\n `${(goal?.reduction_goal ?? 0) * 100}` !== goalPercentValue &&\n !isEditMode\n ) {\n setGoalPercentValue(`${(goal?.reduction_goal ?? 0) * 100}`)\n }\n }, [goal?.reduction_goal, goalPercentValue, isEditMode])\n\n const initialGoalPercentValue = useRef(goal?.reduction_goal)\n\n const goalInputRef = useRef(null)\n\n useEffect(() => {\n if (isEditMode) {\n goalInputRef.current?.focus()\n }\n }, [isEditMode])\n\n const completeProportion = complete / total\n const completePercentage = completeProportion * 100\n const goalProportion = goal?.reduction_goal ?? 0\n const goalPercentageWidth = goalProportion * 100\n useTimeout(() => {\n setCompletedPercentageWidthWidth(completePercentage)\n }, 150)\n\n useEffect(() => {\n if (isFirstRender) {\n return\n }\n setCompletedPercentageWidthWidth(completePercentage)\n }, [completePercentage, isFirstRender])\n\n const { format } = useFormatPercentage({ maximumFractionDigits: 2 })\n\n return (\n \n \n \n \n \n }\n />\n {isEditMode ? (\n %,\n }}\n inputProps={{ \"aria-label\": \"Goal percentage\" }}\n inputRef={goalInputRef}\n onChange={(event) => {\n setGoalPercentValue(event.target.value)\n }}\n size=\"small\"\n sx={{ maxWidth: (theme) => theme.typography.pxToRem(75) }}\n value={goalPercentValue}\n />\n ) : null}\n {!isEditMode ? (\n {\n setIsEditMode(true)\n }}\n size=\"small\"\n >\n \n \n ) : (\n \n {\n if (goal) {\n void updateGoal({\n parameters: {\n organization_id: organization?.id,\n path: { goal_id: goal.id },\n },\n requestBody: {\n ...goal,\n reduction_goal: Number(goalPercentValue) / 100,\n organization_id: organization?.id,\n },\n })\n } else {\n void createGoal({\n subject_id: Number(organization?.id),\n subject_type: \"Organization\",\n reduction_goal: Number(goalPercentValue) / 100,\n organization_id: organization?.id,\n })\n }\n\n setIsEditMode(false)\n }}\n size=\"small\"\n >\n \n \n {\n setIsEditMode(false)\n setGoalPercentValue(\n `${initialGoalPercentValue.current ?? 0 * 100}`\n )\n }}\n size=\"small\"\n >\n \n \n \n )}\n \n\n 0 ? goalProportion : completeProportion)\n )}`}\n />\n \n \n \n {goal?.reduction_goal ? (\n \n ) : null}\n\n \n \n \n {format(0)}\n {format(1)}\n {goal?.reduction_goal ? (\n \n \n {format(goalProportion)}\n \n \n ) : null}\n \n {/* this hides it if its really close to the zero or 100 label */}\n {completedPercentageWidth > 3 && completedPercentageWidth < 97 ? (\n \n {format(completeProportion)}\n \n ) : null}\n \n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React, { cloneElement, useState } from \"react\"\n\nimport { Box, Popover } from \"@mui/material\"\n\nimport type { DataGridCellPopoverProps } from \"./data-grid-cell-popover.types\"\n\nexport const DataGridCellPopover: FC = ({\n children,\n content,\n disableTypography,\n}) => {\n const [anchorEl, setAnchorEl] = useState(null)\n\n const handlePopoverOpen = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handlePopoverClose = () => {\n setAnchorEl(null)\n }\n\n const open = Boolean(anchorEl)\n\n const clonedElement = cloneElement(children, {\n \"aria-haspopup\": \"true\",\n \"aria-owns\": open ? \"mouse-over-popover\" : undefined,\n onMouseEnter: handlePopoverOpen,\n onMouseLeave: handlePopoverClose,\n })\n\n return (\n <>\n {clonedElement}\n \n \n {content}\n \n \n \n )\n}\n","import type { GridColDef } from \"@mui/x-data-grid-pro\"\n\nexport const baseColumnDef: Partial = {\n width: 200,\n}\n\nexport const baseNumberColumnDef: Partial = {\n ...baseColumnDef,\n align: \"right\",\n headerAlign: \"right\",\n type: \"number\",\n}\n","import React, { useRef } from \"react\"\nimport type { FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport InfoOutlinedIcon from \"@mui/icons-material/InfoOutlined\"\nimport { IconButton, Stack, Tooltip, Typography } from \"@mui/material\"\nimport type { GridEventListener } from \"@mui/x-data-grid-pro\"\nimport { useGridApiContext, useGridApiEventHandler } from \"@mui/x-data-grid-pro\"\n\nimport { DataGridCellPopover } from \"../data-grid-cell-popover/data-grid-cell-popover\"\nimport type { DataGridColumnHeaderProps } from \"./data-grid-column-header.types\"\n\nfunction isOverflown(element: HTMLElement) {\n return (\n element.scrollHeight > element.clientHeight ||\n element.scrollWidth > element.clientWidth\n )\n}\n\nexport const DataGridColumnHeader: FC = ({\n headerName,\n tooltipContent,\n unit,\n field,\n description,\n subHeaderName,\n}) => {\n const titleContainerRef = useRef(null)\n\n const [isTitleOverflown, setIsTitleOverflown] = React.useState(false)\n\n const apiRef = useGridApiContext()\n\n const handleColumnWidthChange: GridEventListener<\"columnWidthChange\"> = (\n params\n ) => {\n if (params.colDef.field !== field) {\n return\n }\n if (titleContainerRef.current) {\n setIsTitleOverflown(isOverflown(titleContainerRef.current))\n }\n }\n\n // Results in a memory leak warning, but there is no leak\n // https://github.com/mui/mui-x/issues/9261\n useGridApiEventHandler(apiRef, \"columnWidthChange\", handleColumnWidthChange)\n\n return (\n {\n if (titleContainerRef.current) {\n setIsTitleOverflown(isOverflown(titleContainerRef.current))\n }\n }}\n overflow=\"hidden\"\n textOverflow=\"ellipsis\"\n whiteSpace=\"nowrap\"\n >\n \n \n {isTitleOverflown ? (\n \n \n {headerName}\n \n \n ) : (\n \n {headerName}\n \n )}\n {tooltipContent ? (\n \n theme.typography.pxToRem(24),\n width: (theme) => theme.typography.pxToRem(24),\n minHeight: (theme) => theme.typography.pxToRem(24),\n minWidth: (theme) => theme.typography.pxToRem(24),\n }}\n tabIndex={-1}\n >\n \n \n \n ) : null}\n \n\n {unit ? (\n \n {unit}\n \n ) : null}\n {subHeaderName ? (\n \n {subHeaderName}\n \n ) : null}\n \n \n )\n}\n","import { useCallback } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { EMPTY_DATA_PLACEHOLDER } from \"../utils\"\nimport { shouldShowPlaceholder } from \"./utils\"\n\nexport const defaultOptions = {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n}\n\nexport const useFormatDecimal = (\n options: Intl.NumberFormatOptions = defaultOptions\n) => {\n const { t } = useTranslation()\n\n const format = useCallback(\n (\n value?: string | number | null,\n formatOptions?: Intl.NumberFormatOptions\n ) => {\n if (shouldShowPlaceholder(value)) {\n return EMPTY_DATA_PLACEHOLDER\n }\n return t(\"common:decimal\", {\n value,\n formatParams: {\n value: formatOptions ? { ...formatOptions } : { ...options },\n },\n })\n },\n [options, t]\n )\n\n return { format }\n}\n","import { useTranslation } from \"react-i18next\"\n\nimport { useUserSettings } from \"../modules/settings\"\nimport { EMPTY_DATA_PLACEHOLDER } from \"../utils\"\nimport { shouldShowPlaceholder } from \"./utils\"\n\nconst defaultOptions: Intl.NumberFormatOptions = {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n}\n\nexport const useFormatMoney = (\n options: Intl.NumberFormatOptions = defaultOptions\n) => {\n const { t } = useTranslation()\n const { currency } = useUserSettings()\n\n const format = (value?: string | number | null) => {\n if (shouldShowPlaceholder(value)) {\n return EMPTY_DATA_PLACEHOLDER\n }\n\n return t(\"common:money\", {\n value,\n formatParams: {\n value: {\n ...options,\n currency,\n },\n },\n })\n }\n\n return { format }\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport type { DataGridLegendItemProps } from \"./data-grid-legend-item.types\"\n\nexport const DataGridLegendItem: FC = ({\n label,\n value,\n ...rest\n}) => {\n return (\n \n {label} {value}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters\"\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Divider, Typography } from \"@mui/material\"\n\nimport { DataGridLegendItem } from \"../data-grid-legend-item\"\nimport type { DataGridLegendProps } from \"./data-grid-legend.types\"\n\nexport const DataGridLegend: FC = ({\n children,\n itemCount,\n itemLabel,\n}) => {\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n return (\n \n \n }\n gap={3}\n >\n \n\n {children ? (\n }\n gap={1}\n >\n {children}\n \n ) : null}\n \n \n )\n}\n","import React, { useLayoutEffect, useRef } from \"react\"\nimport type { ChangeEvent, KeyboardEvent } from \"react\"\n\nimport { TextField } from \"@mui/material\"\nimport { useGridApiContext } from \"@mui/x-data-grid-pro\"\nimport type { GridValidRowModel } from \"@mui/x-data-grid-pro\"\n\nimport type { DataGridNumberEditCellProps } from \"./data-grid-number-edit-cell.types\"\n\nexport const DataGridNumberEditCell = ({\n allowNegative,\n field,\n hasFocus,\n id,\n value,\n}: DataGridNumberEditCellProps) => {\n const apiRef = useGridApiContext()\n const ref = useRef()\n\n const handleKeyDown = (event: KeyboardEvent): void => {\n if (!allowNegative && event.key === \"-\") {\n event.preventDefault()\n }\n }\n\n const handleValueChange = (event: ChangeEvent): void => {\n const newValue = event.target.value\n void apiRef.current.setEditCellValue({ field, id, value: newValue }, event)\n }\n\n useLayoutEffect(() => {\n if (hasFocus) {\n ref.current?.focus()\n }\n }, [hasFocus])\n\n return (\n \n )\n}\n","import type { FC, MouseEvent } from \"react\"\nimport React, { useEffect, useRef, useState } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { MoreVert } from \"@mui/icons-material\"\nimport { IconButton, Menu, Portal } from \"@mui/material\"\nimport {\n GridToolbarColumnsButton,\n GridToolbarQuickFilter,\n} from \"@mui/x-data-grid-pro\"\n\nimport type { DataGridToolbarProps } from \"./data-grid-toolbar.types\"\n\n/**\n * Custom toolbar for the DataGrid component. Must be used in the toolbar slot of the DataGrid component.\n */\nexport const DataGridToolbar: FC = ({\n columnsButtonEl,\n endActions,\n id,\n moreMenuItems,\n setColumnsButtonEl,\n showQuickFilter = false,\n startActions,\n}) => {\n const [moreMenuAnchor, setMoreMenuAnchor] = useState(null)\n const open = Boolean(moreMenuAnchor)\n\n const columnsButtonRef = useRef(null)\n\n const handleMoreMenuButtonClick = (event: MouseEvent) => {\n setMoreMenuAnchor(event.currentTarget)\n }\n\n const closeMoreMenu = (): void => {\n setMoreMenuAnchor(null)\n }\n\n const handleMoreMenuClick = (): void => {\n closeMoreMenu()\n }\n\n const handleMoreMenuClose = (): void => {\n closeMoreMenu()\n }\n\n useEffect(() => {\n if (!columnsButtonEl && columnsButtonRef.current) {\n // Set the columns button element so it can be triggered\n // by either the button or the MUI header menu item\n setColumnsButtonEl(columnsButtonRef.current)\n }\n // Must have ref.current as a dependency to trigger the effect\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [columnsButtonEl, columnsButtonRef.current, setColumnsButtonEl])\n\n return (\n document.getElementById(id ?? \"datagrid-toolbar\")!}\n >\n \n \n {startActions ?? null}\n \n {endActions ?? null}\n \n \n {showQuickFilter ? (\n \n ) : null}\n {moreMenuItems ? (\n <>\n \n \n \n \n {moreMenuItems}\n \n \n ) : null}\n \n \n \n )\n}\n","import { useCallback, useMemo, useState } from \"react\"\n\nimport { GridRowEditStopReasons, GridRowModes } from \"@mui/x-data-grid-pro\"\nimport type {\n GridEventListener,\n GridRowEditStopParams,\n GridRowId,\n GridRowModesModel,\n MuiEvent,\n} from \"@mui/x-data-grid-pro\"\n\nexport const useEditRow = () => {\n const [rowModesModel, setRowModesModel] = useState({})\n\n const handleRowEditStop: GridEventListener<\"rowEditStop\"> = useCallback(\n (params: GridRowEditStopParams, event: MuiEvent): void => {\n if (params.reason === GridRowEditStopReasons.rowFocusOut) {\n event.defaultMuiPrevented = true\n }\n },\n []\n )\n\n const handleRowEditClick = useCallback(\n (id: GridRowId): void => {\n setRowModesModel({ ...rowModesModel, [id]: { mode: GridRowModes.Edit } })\n },\n [rowModesModel]\n )\n\n const handleRowEditSaveClick = useCallback(\n (id: GridRowId): void => {\n setRowModesModel({ ...rowModesModel, [id]: { mode: GridRowModes.View } })\n },\n [rowModesModel]\n )\n\n const handleRowEditCancelClick = useCallback(\n (id: GridRowId): void => {\n setRowModesModel({\n ...rowModesModel,\n [id]: { mode: GridRowModes.View, ignoreModifications: true },\n })\n },\n [rowModesModel]\n )\n\n return useMemo(\n () => ({\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n handleRowEditStop,\n rowModesModel,\n }),\n [\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditStop,\n handleRowEditSaveClick,\n rowModesModel,\n ]\n )\n}\n","import { useCallback } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport type { GridFilterModel } from \"@mui/x-data-grid-pro\"\n\nimport { buildSearchParamsString } from \"../../../utils\"\n\nexport const useGridFilterModelChange = () => {\n const [searchParams, setSearchParams] = useSearchParams()\n\n /**\n * onModel change, syncs up to the search params\n */\n const handleOnFilterModelChange = useCallback(\n (model: GridFilterModel) => {\n const { quickFilterValues } = model\n const newSearchParamsString = buildSearchParamsString(\n {\n qF: quickFilterValues,\n },\n searchParams\n )\n setSearchParams(newSearchParamsString)\n },\n [searchParams, setSearchParams]\n )\n\n return handleOnFilterModelChange\n}\n","import { useEffect, useRef } from \"react\"\n\nimport type {\n FetchNextPageOptions,\n FetchPreviousPageOptions,\n InfiniteData,\n InfiniteQueryObserverResult,\n} from \"@tanstack/react-query\"\n\nimport type { GridEventListener, useGridApiRef } from \"@mui/x-data-grid-pro\"\nimport { gridPaginatedVisibleSortedGridRowEntriesSelector } from \"@mui/x-data-grid-pro\"\n\ninterface BaseRecord {\n id: number | string\n}\n\nexport interface PaginatedRecord extends BaseRecord {\n page: number\n pageIndex: number\n pageSize: number\n}\n\nexport interface PageStats {\n number: number\n pages: number\n size: number\n total: number\n}\n\ninterface MetaWithPageStats {\n stats: {\n page: {\n count: PageStats\n }\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport interface GraphitiRecord> {\n attributes: TRecord\n id: string\n type: string\n}\n\ninterface PaginatedGraphitiCollectionResponse {\n data: GraphitiRecord[]\n meta: MetaWithPageStats\n}\n\nexport const graphitiCollectionResponseToPaginatedData = <\n TRecord extends PaginatedRecord,\n>(\n response: PaginatedGraphitiCollectionResponse\n): PaginatedData> => {\n return {\n items: response.data,\n page: response.meta.stats.page.count.number,\n pages: response.meta.stats.page.count.pages,\n size: response.meta.stats.page.count.size,\n total: response.meta.stats.page.count.total,\n }\n}\n\nexport interface PaginatedData {\n items: TRecord[]\n /** page number of this page */\n page: number\n /** total number of pages */\n pages: number\n /** page size */\n size: number\n /** total number of items */\n total: number\n}\n\ninterface UsePaginatedScrollOptions {\n apiRef: ReturnType\n /**\n * The current page number, usually taken from a searchParam in the url and sent as a number\n * ie `Number(searchParams.get(\"page\"))`\n */\n currentPage?: number\n data?: InfiniteData\n fetchNextPage: (\n options?: FetchNextPageOptions\n ) => Promise>\n fetchPreviousPage: (\n options?: FetchPreviousPageOptions\n ) => Promise>\n hasNextPage?: boolean\n hasPreviousPage?: boolean\n /** is the query enabled? similar to react query enabled option */\n isEnabled: boolean\n isFetchingNextPage?: boolean\n isFetchingPreviousPage?: boolean\n /**\n * Callback to be called when the page changes due to scrolling\n * typically used to update the url searchParams\n */\n onScrollPageChange?: (page: number) => void\n}\n\nexport function usePaginatedScroll({\n apiRef,\n data,\n fetchNextPage,\n fetchPreviousPage,\n hasNextPage,\n hasPreviousPage,\n isFetchingNextPage,\n isFetchingPreviousPage,\n onScrollPageChange,\n currentPage,\n isEnabled,\n}: UsePaginatedScrollOptions) {\n const hasFetchedPreviousPageIfNeeded = useRef(false)\n\n const initialScrollId = useRef(undefined)\n\n /**\n * fetch the previous page if the initial page is not the first page\n */\n useEffect(() => {\n if (\n isEnabled &&\n !hasFetchedPreviousPageIfNeeded.current &&\n (data?.pages.length ?? 0) >= 1 // some data has been fetched\n ) {\n // grab the id to scroll to the initial page after this page is loaded\n const idToScrollTo = data?.pages[0]?.items[0]?.id\n\n if (currentPage && currentPage > 1) {\n void fetchPreviousPage({ pageParam: currentPage - 1 }).then(() => {\n initialScrollId.current = idToScrollTo\n hasFetchedPreviousPageIfNeeded.current = true\n })\n } else {\n hasFetchedPreviousPageIfNeeded.current = true\n }\n }\n }, [\n currentPage,\n data?.pages,\n data?.pages.length,\n fetchPreviousPage,\n isEnabled,\n ])\n\n const firstRowIdOfPageAfterPreviousPage = useRef(\n undefined\n )\n\n /**\n * - scroll to the initial page after the page before it is loaded\n * - scroll to the page you were on when scrolling up to load more pages,\n * aka the opposite of scrolling down to load more pages\n */\n useEffect(() => {\n const handleVirtualScollSizeChange: GridEventListener<\n \"virtualScrollerContentSizeChange\"\n > = () => {\n // scroll to the initial page after the page before it is loaded\n if (data?.pages.length === 2 && initialScrollId.current) {\n const allRows = gridPaginatedVisibleSortedGridRowEntriesSelector(apiRef)\n const rowIndex = allRows.findIndex(\n (row) => row.id === initialScrollId.current\n )\n\n if (rowIndex > 0) {\n apiRef.current.scrollToIndexes({ rowIndex })\n initialScrollId.current = undefined\n }\n }\n\n // if the user scrolls up to load more pages, scroll to the page they were on\n if (\n firstRowIdOfPageAfterPreviousPage.current &&\n data?.pages[0].items[0].id &&\n data.pages[0].items[0].id !== firstRowIdOfPageAfterPreviousPage.current\n ) {\n const allRows = gridPaginatedVisibleSortedGridRowEntriesSelector(apiRef)\n const rowIndex = allRows.findIndex(\n (row) => row.id === firstRowIdOfPageAfterPreviousPage.current\n )\n\n if (rowIndex > 0) {\n apiRef.current.scrollToIndexes({ rowIndex })\n firstRowIdOfPageAfterPreviousPage.current = undefined\n }\n }\n }\n\n return apiRef.current.subscribeEvent(\n \"virtualScrollerContentSizeChange\",\n handleVirtualScollSizeChange\n )\n }, [data?.pages, data?.pages.length, apiRef])\n\n /**\n * fetch the next page when the user scrolls to the end of the current page\n */\n useEffect(() => {\n const handleRowScrollEnd: GridEventListener<\"rowsScrollEnd\"> = () => {\n if (hasNextPage) {\n void fetchNextPage()\n }\n }\n\n return apiRef.current.subscribeEvent(\"rowsScrollEnd\", handleRowScrollEnd)\n }, [fetchNextPage, apiRef, hasNextPage])\n\n const prevGridScrollTop = useRef(0)\n\n /**\n * detects when the user scrolls up to the top of the grid and fetches the previous page if needed\n * also keeps track of what page the user is on as they scroll\n */\n useEffect(() => {\n const handleScrollPositionChange: GridEventListener<\n \"scrollPositionChange\"\n > = (params) => {\n if (params.top === prevGridScrollTop.current) {\n return\n }\n\n if (\n !isFetchingPreviousPage &&\n !isFetchingNextPage &&\n hasFetchedPreviousPageIfNeeded.current && // if true the previous page has been fetched if needed\n !initialScrollId.current\n ) {\n const lastRowId = apiRef.current.getRowIdFromRowIndex(\n params.renderContext?.lastRowIndex ?? 0\n )\n for (const page of data?.pages ?? []) {\n for (const item of page.items) {\n if (item.id === lastRowId) {\n if (page.page !== (currentPage ?? 1)) {\n if (onScrollPageChange) {\n onScrollPageChange(page.page)\n }\n }\n break\n }\n }\n }\n }\n\n const isScrollingUp = params.top < prevGridScrollTop.current\n\n if (\n data?.pages &&\n isScrollingUp &&\n params.top < 80 &&\n hasPreviousPage &&\n !isFetchingPreviousPage &&\n !isFetchingNextPage &&\n hasFetchedPreviousPageIfNeeded.current && // if true the previous page has been fetched if needed\n !initialScrollId.current &&\n !firstRowIdOfPageAfterPreviousPage.current\n ) {\n // store the id of the first row of the page that is currently\n // the first page, to scroll to it after the previous page is loaded\n firstRowIdOfPageAfterPreviousPage.current = data.pages[0].items[0].id\n void fetchPreviousPage()\n }\n\n prevGridScrollTop.current = params.top\n }\n\n // The `subscribeEvent` method will automatically unsubscribe in the cleanup function of the `useEffect`.\n return apiRef.current.subscribeEvent(\n \"scrollPositionChange\",\n handleScrollPositionChange\n )\n }, [\n data,\n fetchPreviousPage,\n apiRef,\n hasPreviousPage,\n isFetchingNextPage,\n isFetchingPreviousPage,\n onScrollPageChange,\n currentPage,\n ])\n}\n","import { useMemo } from \"react\"\n\nimport type {\n GridColumnVisibilityModel,\n GridValidRowModel,\n} from \"@mui/x-data-grid-pro\"\n\nimport type { UseGridColumnVisibilityModelProps } from \"./use-grid-column-visibility-model.types\"\n\n/**\n * Returns the new column visibility model by taking into account removed columns\n *\n * @returns The new column visibility model\n * @example\n * const columnVisibilityModel = useGridColumnVisibilityModel({\n * savedColumnVisibilityModel,\n * validColumns,\n * })\n */\nexport const useGridColumnVisibilityModel = ({\n savedColumnVisibilityModel,\n validColumns,\n}: UseGridColumnVisibilityModelProps): GridColumnVisibilityModel => {\n // compute new column visibility model by taking into account removed columns\n const newColumnVisibilityModel: GridColumnVisibilityModel = useMemo(() => {\n const updatedColumnVisibilityModel = { ...savedColumnVisibilityModel }\n\n // if columns have been removed after a deployment\n // remove them from the visibility model\n Object.keys(savedColumnVisibilityModel).forEach((columnKey) => {\n const isRemovedColumn = !validColumns.find(\n (validColumn) => validColumn.field === columnKey\n )\n\n if (isRemovedColumn) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete updatedColumnVisibilityModel[columnKey]\n }\n })\n\n return updatedColumnVisibilityModel\n }, [savedColumnVisibilityModel, validColumns])\n\n return newColumnVisibilityModel\n}\n","import type { SortOrder } from \"../../../models/sort\"\n\nconst templateId = \"1in_Iscjb-cnX4jKOC-Mh5ZbIIQU-ugB27ZyeF5UC2b0\"\nexport const templateExportLink = `https://docs.google.com/spreadsheets/d/${templateId}/export?format=xlsx`\n\nconst completedTemplateId = \"1rH9ZKEy734vNdjlWuYwLlWObSEeIvHzpUTZpjRsL7Ao\"\nexport const completedTemplateExportLink = `https://docs.google.com/spreadsheets/d/${completedTemplateId}/export?format=csv`\n\nexport const ASC: SortOrder = \"asc\"\nexport const DESC: SortOrder = \"desc\"\n","import { useEffect, useMemo } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\n// This should not be reaching into a module, lift this constant up\nimport { ASC, DESC } from \"@/modules/rep/pages/constants\"\nimport { buildUrlSearchParamsString } from \"@/utils/url\"\n\nimport type {\n GridColDef,\n GridSortItem,\n GridSortModel,\n GridValidRowModel,\n} from \"@mui/x-data-grid-pro\"\n\nimport type { UseGridSortModelProps } from \"./use-grid-sort-model.types\"\n\nconst computeValidSortModel = (\n sortModel: GridSortModel,\n validColumns: GridColDef[]\n): GridSortModel => {\n const validSortModel = sortModel.filter((sort) => {\n return Boolean(\n validColumns.find((validColumn) => validColumn.field === sort.field)\n )\n })\n\n return validSortModel\n}\n\n/**\n * Returns the new sort model by taking into account removed columns\n * Only supports single sort at this time\n *\n * @returns The new sort model\n * @example\n * const sortModel = useGridSortModel({\n * defaultSortModel,\n * savedSortModel,\n * validColumns,\n * })\n */\nexport const useGridSortModel = ({\n defaultSortModel,\n savedSortModel,\n validColumns,\n}: UseGridSortModelProps): GridSortModel => {\n const [searchParams, setSearchParams] = useSearchParams()\n\n const fieldSearchParam: string | null = searchParams.get(\"orderBy\")\n const sortSearchParam: string | null = searchParams.get(\"order\")\n\n // compute new sort model by taking into account removed columns\n const sortModel: GridSortModel = useMemo(() => {\n let newSortModel: GridSortModel\n\n if (fieldSearchParam && sortSearchParam) {\n const urlSortModel: GridSortModel = [\n {\n field: fieldSearchParam,\n sort: sortSearchParam === ASC ? ASC : DESC,\n },\n ]\n\n newSortModel = computeValidSortModel(urlSortModel, validColumns)\n } else {\n newSortModel = computeValidSortModel(savedSortModel, validColumns)\n }\n\n if (newSortModel.length === 0) {\n newSortModel = defaultSortModel\n }\n\n return newSortModel\n }, [\n defaultSortModel,\n fieldSearchParam,\n savedSortModel,\n sortSearchParam,\n validColumns,\n ])\n\n // Add sort to url if not present\n useEffect(() => {\n if (!fieldSearchParam || !sortSearchParam) {\n const sortItem: GridSortItem = sortModel[0]\n\n const newSearchParamsString = buildUrlSearchParamsString(\n {\n orderBy: sortItem.field,\n order: sortItem.sort,\n },\n searchParams\n )\n\n setSearchParams(newSearchParamsString, { replace: true })\n }\n }, [\n fieldSearchParam,\n searchParams,\n setSearchParams,\n sortModel,\n sortSearchParam,\n ])\n\n return sortModel\n}\n","import { useCallback, useMemo } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { buildSearchParamsString } from \"@/utils\"\nimport { useLocalStorage } from \"@uidotdev/usehooks\"\n\nimport type {\n GridColDef,\n GridColumnOrderChangeParams,\n GridColumnVisibilityModel,\n GridPinnedColumns,\n GridSortModel,\n GridValidRowModel,\n} from \"@mui/x-data-grid-pro\"\n\nimport { useGridColumnVisibilityModel } from \"./use-grid-column-visibility-model/use-grid-column-visibility-model\"\nimport { useGridColumns } from \"./use-grid-columns/use-grid-columns\"\nimport { useGridPinnedColumns } from \"./use-grid-pinned-columns/use-grid-pinned-columns\"\nimport { useGridSortModel } from \"./use-grid-sort-model/use-grid-sort-model\"\nimport type {\n GridModel,\n UseSaveGridModelOptions,\n UseSaveGridModelValue,\n} from \"./use-save-grid-model.types\"\n\nconst baseStorageKey = `${process.env.REACT_APP_ENV}gridModel`\n\nconst orderColumns = (\n columns: GridColDef[] | undefined,\n pinnedColumns: GridPinnedColumns | undefined\n): GridColDef[] => {\n const pinnedColumnFields: string[] = [\n ...(pinnedColumns?.left ?? []),\n ...(pinnedColumns?.right ?? []),\n ]\n\n const unpinnedColumnFields: string[] =\n columns\n ?.filter(\n (col) =>\n !pinnedColumnFields.find((pinnedField) => pinnedField === col.field)\n )\n .map((col) => col.field) ?? []\n\n const orderedColumnFields: string[] = [\n ...(pinnedColumns?.left ?? []),\n ...unpinnedColumnFields,\n ...(pinnedColumns?.right ?? []),\n ]\n\n const orderedColumns = orderedColumnFields\n .map((field) => columns?.find((col) => col.field === field))\n .filter((col) => col !== undefined)\n\n return orderedColumns\n}\n\nexport const useSaveGridModel = ({\n gridName,\n gridModel,\n}: UseSaveGridModelOptions): UseSaveGridModelValue => {\n const [searchParams, setSearchParams] = useSearchParams()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n // Order default columns taking into account pinned columns\n const orderedDefaultColumns: GridColDef[] = useMemo(() => {\n return orderColumns(gridModel.columns, gridModel.pinnedColumns)\n }, [gridModel])\n\n const defaultGridModel: GridModel = {\n ...gridModel,\n columns: orderedDefaultColumns,\n }\n\n const [savedGridModel, saveGridModel] = useLocalStorage>(\n `${baseStorageKey}:${gridName}`,\n defaultGridModel\n )\n\n // Provides future compatibility for the addition of properties\n // The base grid model fills in any new properties that are not saved (e.g. pinnedColumns)\n const mergedGridModel: GridModel = {\n ...defaultGridModel,\n ...savedGridModel,\n // Ensure saved columns are properly ordered\n // Otherwise reordering via the UI will not work\n // Necessary for self healing when:\n // 1) Columns in local storage are in an invalid order after a column is added\n columns: orderColumns(savedGridModel.columns, savedGridModel.pinnedColumns),\n }\n\n const columns = useGridColumns({\n savedColumns: mergedGridModel.columns,\n validColumns: defaultGridModel.columns,\n })\n\n const columnVisibilityModel = useGridColumnVisibilityModel({\n savedColumnVisibilityModel: mergedGridModel.columnVisibilityModel,\n validColumns: defaultGridModel.columns,\n })\n\n const pinnedColumns = useGridPinnedColumns({\n savedPinnedColumns: mergedGridModel.pinnedColumns,\n validColumns: defaultGridModel.columns,\n })\n\n const sortModel = useGridSortModel({\n defaultSortModel: defaultGridModel.sortModel,\n savedSortModel: mergedGridModel.sortModel,\n validColumns: defaultGridModel.columns,\n })\n\n const finalGridModel: GridModel = useMemo(\n () => ({\n columns,\n columnVisibilityModel,\n pinnedColumns,\n sortModel,\n }),\n [columns, columnVisibilityModel, pinnedColumns, sortModel]\n )\n\n const handleColumnOrderChange = useCallback(\n ({ oldIndex, targetIndex }: GridColumnOrderChangeParams): void => {\n const reorderedColumns = [...finalGridModel.columns]\n const columnToMove = reorderedColumns[oldIndex]\n\n reorderedColumns.splice(oldIndex, 1)\n reorderedColumns.splice(targetIndex, 0, columnToMove)\n\n saveGridModel({\n ...finalGridModel,\n columns: reorderedColumns,\n })\n },\n [finalGridModel, saveGridModel]\n )\n\n const handleColumnVisibilityModelChange = useCallback(\n (newModel: GridColumnVisibilityModel): void => {\n saveGridModel({\n ...finalGridModel,\n columnVisibilityModel: newModel,\n })\n },\n [finalGridModel, saveGridModel]\n )\n\n const handlePinnedColumnsChange = useCallback(\n (newPinnedColumns: GridPinnedColumns): void => {\n // Must order columns based on new pinned columns\n // because MUI DataGrid considers pinned columns in GridColumnOrderChangeParams\n const orderedColumns = orderColumns(\n finalGridModel.columns,\n newPinnedColumns\n )\n\n saveGridModel({\n ...finalGridModel,\n columns: orderedColumns,\n pinnedColumns: newPinnedColumns,\n })\n },\n [finalGridModel, saveGridModel]\n )\n\n // For server-side sorting only\n const handleSortModelChange = useCallback(\n (newSortModel: GridSortModel): void => {\n if (newSortModel.length) {\n const { field, sort } = newSortModel[0]\n let orderBy: string = field\n\n // This logic does not belong here, but it is a temporary solution\n // while flexible hierarchy is being implemented\n if (field === \"groups\") {\n orderBy = isUseFlexibleHierarchyEnabled\n ? \"organizational_unit_name\"\n : \"department_name\"\n }\n\n const params = buildSearchParamsString(\n {\n order: sort,\n orderBy,\n page: 1, // reset the page when sorting happens\n },\n searchParams\n )\n\n setSearchParams(params)\n }\n\n saveGridModel({\n ...finalGridModel,\n sortModel: newSortModel,\n })\n },\n [\n finalGridModel,\n isUseFlexibleHierarchyEnabled,\n saveGridModel,\n searchParams,\n setSearchParams,\n ]\n )\n\n return {\n gridModel: finalGridModel,\n handleColumnOrderChange,\n handleColumnVisibilityModelChange,\n handlePinnedColumnsChange,\n handleSortModelChange,\n }\n}\n","import { useMemo } from \"react\"\n\nimport type { GridColDef, GridValidRowModel } from \"@mui/x-data-grid-pro\"\n\nimport type { UseGridColumnsProps } from \"./use-grid-columns.types\"\n\nconst hydrateSavedColumns = (\n savedColumns: GridColDef[],\n columns: GridColDef[]\n): GridColDef[] => {\n const hydratedColumns = savedColumns\n .map((savedCol) => {\n return columns.find((col) => col.field === savedCol.field)\n })\n .filter((col) => col !== undefined)\n\n return hydratedColumns\n}\n\n/**\n * Returns the new valid columns by taking into account added/removed columns\n *\n * @returns The new valid columns\n * @example\n * const columns = useGridColumns({\n * savedColumns,\n * validColumns,\n * })\n */\nexport const useGridColumns = ({\n savedColumns,\n validColumns,\n}: UseGridColumnsProps): GridColDef[] => {\n // compute new columns by taking into account added/removed columns\n const newColumns: GridColDef[] = useMemo(() => {\n // if columns have been removed after a deployment\n // remove them from the columns\n const updatedColumns: GridColDef[] = savedColumns.filter(\n (savedColumn) => {\n const isValidColumn = Boolean(\n validColumns.find(\n (validColumn) => validColumn.field === savedColumn.field\n )\n )\n\n return isValidColumn\n }\n )\n\n // if new columns have been added after a deployment\n // add them to the columns\n validColumns.forEach((validColumn) => {\n const isNewColumn =\n updatedColumns.find((column) => column.field === validColumn.field) ===\n undefined\n\n if (isNewColumn) {\n updatedColumns.push(validColumn)\n }\n })\n\n // only basic types are allowed in local storage\n // so we have to re-hydrate the saved columns\n // to revive properties like renderHeader and valueFormatter\n return hydrateSavedColumns(updatedColumns, validColumns)\n }, [savedColumns, validColumns])\n\n return newColumns\n}\n","import { useMemo } from \"react\"\n\nimport type { GridPinnedColumns, GridValidRowModel } from \"@mui/x-data-grid-pro\"\n\nimport type { UseGridPinnedColumnsProps } from \"./use-grid-pinned-columns.types\"\n\n/**\n * Returns the new pinned columns by taking into account removed columns\n *\n * @returns The new pinned columns\n * @example\n * const pinnedColumns = useGridPinnedColumns({\n * savedPinnedColumns,\n * validColumns,\n * })\n */\nexport const useGridPinnedColumns = ({\n savedPinnedColumns,\n validColumns,\n}: UseGridPinnedColumnsProps): GridPinnedColumns => {\n // compute new pinned columns by taking into account removed columns\n const newPinnedColumns: GridPinnedColumns = useMemo(() => {\n const filterInvalidColumnKeys = (columnKey: string) => {\n return validColumns.find((validColumn) => validColumn.field === columnKey)\n }\n\n return {\n left: savedPinnedColumns.left?.filter(filterInvalidColumnKeys),\n right: savedPinnedColumns.right?.filter(filterInvalidColumnKeys),\n }\n }, [savedPinnedColumns, validColumns])\n\n return newPinnedColumns\n}\n","import { useCallback } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { buildSearchParamsString } from \"../../../utils\"\n\nexport const usePageScrollChange = () => {\n const [searchParams, setSearchParams] = useSearchParams()\n const handleScrollPageChange = useCallback(\n (page: number) => {\n const newSearchParamsString = buildSearchParamsString(\n {\n page,\n },\n searchParams\n )\n setSearchParams(newSearchParamsString, { replace: true })\n },\n [searchParams, setSearchParams]\n )\n\n return handleScrollPageChange\n}\n","import { useTranslation } from \"react-i18next\"\n\nimport { useUserSettings } from \"../../modules/settings\"\nimport { getCurrencySymbol } from \"../../utils/currency\"\n\n/**\n * The useCurrencySymbol service returns the currency symbol string that should displayed based on the user's settings\n *\n * @returns The currency symbol string\n * @example\n * const currencySymbol = useCurrencySymbol()\n */\nexport const useCurrencySymbol = (): string => {\n const { currency } = useUserSettings()\n const { i18n } = useTranslation()\n const symbol = getCurrencySymbol(i18n.language, currency)\n return symbol\n}\n","import type { GridRenderCellParams } from \"@mui/x-data-grid-pro\"\n\nexport const renderRowNumber = (\n params: GridRenderCellParams\n) => params.api.getRowIndexRelativeToVisibleRows(params.row.id) + 1\n","export enum RecommendationsPath {\n JumpStart = \"site-explorer\",\n JumpStartResult = \"site-explorer/result\",\n Plan = \"plan\",\n Site = \"sites/:siteId\",\n SiteGoals = \"sites/:siteId/goals\",\n SitePlan = \"sites/:siteId/plans/:planId\",\n SitePlanEdit = \"sites/:siteId/plans/:planId/edit\",\n}\n","export const calcuateAnnualSavings = (\n capitalCost: number,\n paybackPeriod: number\n) => capitalCost / paybackPeriod\n","export const calculateEmissionSavingsPercentage = (\n emissionsDiff: number,\n baseTotalEmissions: number\n) => emissionsDiff / baseTotalEmissions\n","import type { FC } from \"react\"\nimport React, { useCallback, useEffect, useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\nimport { Link as RRLink, generatePath } from \"react-router-dom\"\n\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { useUrl } from \"@/utils/url\"\n\nimport SearchRoundedIcon from \"@mui/icons-material/SearchRounded\"\nimport { InputAdornment, Link } from \"@mui/material\"\nimport type {\n GridColDef,\n GridColumnHeaderParams,\n GridRenderCellParams,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\nimport {\n DataGridPro,\n GridLogicOperator,\n useGridApiRef,\n} from \"@mui/x-data-grid-pro\"\n\nimport { SectionHeader } from \"../../../../components/section-header/section-header\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { TextField } from \"../../../../nzds\"\nimport { renderRowNumber } from \"../../../../utils/render-row-number\"\nimport { useUserSettings } from \"../../../settings\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { calcuateAnnualSavings } from \"../../utils/calculateAnnualSavings\"\nimport { calcuateCarbonRemovedLbs } from \"../../utils/calculateCarbonRemovedLbs\"\nimport { calculateEmissionSavingsPercentage } from \"../../utils/calculateEmissionSavingsPercentage\"\nimport type { PlannedSitesCardProps, RowData } from \"./planned-sites-grid.types\"\n\nconst baseColumnDef: Partial = {\n disableColumnMenu: true,\n hideable: false,\n disableReorder: true,\n}\n\nexport const PlannedSitesGrid: FC = ({ sites }) => {\n const { t } = useTranslation()\n const currencySymbol = useCurrencySymbol()\n const { currency } = useUserSettings()\n const { recommendationsPath } = useUrl()\n const apiRef = useGridApiRef()\n\n const [quickFilter, setQuickFilter] = React.useState(\"\")\n\n useEffect(() => {\n apiRef.current.setQuickFilterValues(quickFilter.split(\" \"))\n }, [apiRef, quickFilter])\n\n const getPlanDetailsHref = useCallback(\n (id: number, planId: number) =>\n generatePath(`${recommendationsPath}/${RecommendationsPath.SitePlan}`, {\n siteId: `${id}`,\n planId: `${planId}`,\n }),\n [recommendationsPath]\n )\n\n const rows: RowData[] = useMemo(\n () =>\n (sites ?? []).map((site) => ({\n id: site.site_id,\n planId: site.id,\n name: site.site_name,\n capital_cost: site.capital_cost,\n annual_cost_savings: calcuateAnnualSavings(\n site.capital_cost,\n site.payback_period\n ),\n carbon_removed_lbs: calcuateCarbonRemovedLbs(\n site.base_total_emissions,\n site.total_emissions\n ),\n emission_savings: calculateEmissionSavingsPercentage(\n site.emissions_diff,\n site.base_total_emissions\n ),\n roi_year: site.payback_period,\n })),\n [sites]\n )\n\n const columnDefinitions = useMemo(() => {\n const columns: GridColDef[] = [\n {\n ...baseColumnDef,\n field: \"number\",\n align: \"center\",\n headerAlign: \"center\",\n sortable: false,\n headerName: \"#\",\n width: 44,\n renderCell: renderRowNumber,\n },\n {\n ...baseColumnDef,\n flex: 1,\n field: \"name\",\n align: \"left\",\n headerName: \"Site name\",\n width: 200,\n renderCell: (params: GridRenderCellParams) => (\n \n {params.value}\n \n ),\n },\n {\n ...baseColumnDef,\n field: \"capital_cost\",\n align: \"right\",\n headerAlign: \"right\",\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n width: 150,\n valueFormatter: (params: GridValueFormatterParams) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n t(\"common:money\", {\n value: params.value,\n formatParams: {\n value: {\n currency,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n },\n },\n }),\n },\n {\n ...baseColumnDef,\n field: \"annual_cost_savings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Annual cost savings (${currencySymbol})`,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n width: 200,\n valueFormatter: (params) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n t(\"common:money\", {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: params.value,\n formatParams: {\n value: {\n currency,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n },\n },\n }),\n },\n {\n ...baseColumnDef,\n field: \"emission_savings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"Emission Savings (%)\",\n width: 200,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n valueFormatter: (params) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n t(\"common:percentage\", {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: params.value,\n style: \"percent\",\n }),\n },\n {\n ...baseColumnDef,\n field: \"carbon_removed_lbs\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"CO2e Removed (MT)\",\n width: 225,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n valueFormatter: (params) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n t(\"common:decimal\", {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: params.value,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n }),\n },\n {\n ...baseColumnDef,\n field: \"roi_year\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"ROI (Years)\",\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n width: 125,\n valueFormatter: (params) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n t(\"common:decimal\", {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: params.value,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n }),\n },\n ]\n\n return columns\n }, [currency, currencySymbol, getPlanDetailsHref, t])\n\n return (\n <>\n \n \n \n ),\n }}\n onChange={(e) => {\n setQuickFilter(e.target.value)\n }}\n size=\"small\"\n />\n }\n title=\"Planned Sites\"\n />\n \n \n )\n}\n","export const calcuateCarbonRemovedLbs = (\n baseTotalEmissions: number,\n totalEmissions: number\n) => baseTotalEmissions - totalEmissions\n","import { useMemo } from \"react\"\n\nimport type { Schemas } from \"@/services/types\"\n\nimport { calcuateAnnualSavings } from \"../../utils/calculateAnnualSavings\"\nimport { calculateEmissionSavingsPercentage } from \"../../utils/calculateEmissionSavingsPercentage\"\n\nexport function useSiteStats(\n plannedSites?: Schemas[\"PlanResponse\"][],\n potentialSites?: Schemas[\"PotentialSiteResponse\"][]\n) {\n return useMemo(() => {\n const plannedSitesCount = plannedSites?.length ?? 0\n const totalSitesCount = plannedSitesCount + (potentialSites?.length ?? 0)\n\n let totalCapitalCost = 0\n let totalC02MTsRemoved = 0\n let totalBaseEmissions = 0\n let totalAnnualSavings = 0\n for (const plan of plannedSites ?? []) {\n totalCapitalCost += plan.capital_cost\n totalC02MTsRemoved += plan.emissions_diff\n totalBaseEmissions += plan.base_total_emissions\n totalAnnualSavings += calcuateAnnualSavings(\n plan.capital_cost,\n plan.payback_period\n )\n }\n\n // add in base emissions from rest of portfolio\n for (const potentialSite of potentialSites ?? []) {\n totalBaseEmissions += potentialSite.base_total_emissions\n }\n\n return {\n plannedSitesCount,\n totalSitesCount,\n totalCapitalCost,\n totalC02MTsRemoved,\n totalAnnualSavings,\n emissionSavingsPercent: calculateEmissionSavingsPercentage(\n totalC02MTsRemoved,\n totalBaseEmissions\n ),\n totalRoi: Number.isFinite(totalCapitalCost / totalAnnualSavings)\n ? totalCapitalCost / totalAnnualSavings\n : 0,\n }\n }, [potentialSites, plannedSites])\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Stack, Typography } from \"@mui/material\"\n\nimport { formatTextToId } from \"../../utils/format-text-to-id\"\nimport type { StatCardContentProps } from \"./stat-card-content.types\"\n\nexport const StatCardContent: FC = ({ title, value }) => (\n \n \n {title}\n \n \n {value}\n \n \n)\n","export function formatTextToId(text: string): string {\n return text.replace(/\\s+/g, \"-\").toLowerCase()\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport type { CardProps } from \"@mui/material\"\nimport { Card } from \"@mui/material\"\nimport { styled } from \"@mui/material/styles\"\n\nimport type { StatCardProps } from \"./stat-card.types\"\n\nconst StyledStatCard = styled(Card)(({ theme }) => ({\n flex: 1,\n padding: theme.spacing(2),\n gap: theme.spacing(3),\n display: \"flex\",\n alignItems: \"stretch\",\n height: theme.typography.pxToRem(98),\n}))\n\nexport const StatCard: FC = ({ children, sx }) => (\n \n {children}\n \n)\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Stack } from \"@mui/material\"\n\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { useFormatDecimal } from \"../../../../formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"../../../../formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { useSiteStats } from \"../../services/use-site-stats/use-site-stats\"\nimport { StatCardContent } from \"../stat-card-content/stat-card-content\"\nimport { StatCard } from \"../stat-card/stat-card\"\nimport type { PortfolioOverviewStatsProps } from \"./portfolio-overview-stats.types\"\n\nexport const PortfolioOverviewStats: FC = ({\n plannedSites,\n potentialSites,\n}) => {\n const { format: formatPercentage } = useFormatPercentage({\n maximumFractionDigits: 2,\n })\n const { format: formatDecimal } = useFormatDecimal({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const stats = useSiteStats(plannedSites, potentialSites)\n\n const co2eUnit = useUnit(\n UnitName.MetricTonsOfCarbonDioxideEquivalent,\n stats.totalC02MTsRemoved\n )\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import { client } from \"@/services/client\"\nimport type { Paths } from \"@/services/types\"\n\nexport const getGoals = async (\n params: Paths[\"/api/v1/recommendations/goals\"][\"get\"][\"parameters\"]\n) => {\n const { data, error } = await client().GET(\"/api/v1/recommendations/goals\", {\n params,\n })\n\n if (data) {\n return data\n }\n\n throw error as Error\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Paths, Schemas } from \"@/services/types\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { getGoals } from \"./get-goals\"\n\ninterface UseGetGoalsOptions {\n query: Paths[\"/api/v1/recommendations/goals\"][\"get\"][\"parameters\"][\"query\"]\n useQueryOptions?: Omit<\n UseQueryOptions,\n \"queryKey\" | \"queryFn\"\n >\n}\n\n/**\n * Returns Goals matching a subject id and subject type\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetGoals({\n * query: { subject_id: 123, subject_type: 'Site'},\n * queryOptions // react query options\n * });\n */\nexport const useGetGoals = ({\n query,\n useQueryOptions = {},\n}: UseGetGoalsOptions) => {\n const { organization } = useOrganizationContext()\n\n const queryKeyValues = {\n orgId: organization?.id,\n siteId: query?.site_id,\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationsGoals,\n \"getMany\",\n null,\n { ...queryKeyValues }\n )\n\n const queryOptions = {\n queryKey,\n queryFn: () =>\n getGoals({\n query: {\n ...query,\n organization_id: organization?.id,\n },\n }),\n ...useQueryOptions,\n }\n\n const queryResult = useQuery(queryOptions)\n\n return queryResult\n}\n","import { client } from \"@/services/client\"\nimport type { Paths } from \"@/services/types\"\n\nexport const getPotentialSites = async (\n params: Paths[\"/api/v1/recommendations/potential_sites\"][\"get\"][\"parameters\"]\n) => {\n const { data, error } = await client().GET(\n \"/api/v1/recommendations/potential_sites\",\n {\n params,\n }\n )\n\n if (data) {\n return data\n }\n throw error as Error\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getPotentialSites } from \"./get-potential-sites\"\n\ninterface UseGetPotentialSitesOptions {\n queryOptions?: Omit\n}\n\n/**\n * Returns a list of potential sites for a given organization.\n * Relies on organization context\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetPotentialSites({\n * queryOptions // react query options\n * });\n */\nexport const useGetPotentialSites = (options?: UseGetPotentialSitesOptions) => {\n const { organization } = useOrganizationContext()\n const hasOrg = Boolean(organization)\n\n const params = {\n query: { organization_id: Number(organization?.id) },\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationsPotentialSites,\n \"getMany\",\n null,\n { ...params }\n )\n\n let queryParams = {\n queryKey,\n queryFn: () => getPotentialSites(params),\n enabled: hasOrg,\n }\n\n if (options?.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const query = useQuery(queryParams)\n\n return query\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link as RRLink, generatePath } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport { Box, Card, Link, Stack, Typography, styled } from \"@mui/material\"\n\nimport { useFormatDecimal } from \"../../../../formatters/useFormatDecimal\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { RecommendationsPath } from \"../../enums\"\nimport type { SiteCardProps } from \"./site-card.types\"\n\nconst LinkButton = styled(Link)(({ theme }) => ({\n textDecoration: \"none\",\n fontWeight: theme.typography.fontWeightBold,\n textTransform: \"none\",\n})) as typeof Link\n\nexport const SiteCard: FC = ({\n name,\n portfolioImpact,\n eui,\n siteId,\n ...rest\n}) => {\n const { recommendationsPath } = useUrl()\n\n const { format: formatPercentage } = useFormatPercentage()\n const { format: formatDecimal } = useFormatDecimal()\n\n const portfolioImpactString = formatPercentage(portfolioImpact)\n const euiString = formatDecimal(eui ?? 0)\n\n const goalsLink = generatePath(\n `${recommendationsPath}/${RecommendationsPath.SiteGoals}`,\n { siteId: `${siteId}` }\n )\n\n return (\n \n \n \n \n \n {name}\n \n \n This site accounts for{\" \"}\n \n {portfolioImpactString}\n {\" \"}\n of the total emissions{eui ? \", \" : \". \"}\n {eui ? (\n <>\n with an Energy Use Intensity (EUI) of{\" \"}\n \n {euiString}\n \n .\n \n ) : null}\n \n \n \n Plan Now\n \n \n \n \n )\n}\n","// @ts-strict-ignore\nimport React from \"react\"\nimport type { FC } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { Box, Button, Stack } from \"@mui/material\"\n\nimport { SectionHeader } from \"../../../../components/section-header/section-header\"\nimport { SiteCard } from \"../../components/site-card/site-card\"\nimport { RecommendationsPath } from \"../../enums\"\nimport type { RecommendationsIndexRecommendedSitesProps } from \"./recommendations-index-recommended-sites.types\"\n\nexport const RecommendationsIndexRecommendedSites: FC<\n RecommendationsIndexRecommendedSitesProps\n> = ({ potentialSites, plannedSites }) => {\n const exploreAllSitesButton = (\n \n Explore all sites\n \n )\n\n if (!potentialSites) {\n return null\n }\n\n const hasPlannedSites = plannedSites && plannedSites.length > 0\n return (\n <>\n {potentialSites.length >= 2 ? (\n \n {exploreAllSitesButton} : null\n }\n divider={hasPlannedSites}\n title=\"Recommended Sites\"\n />\n \n {potentialSites.slice(0, 3).map((pS) => (\n \n ))}\n \n {!hasPlannedSites ? exploreAllSitesButton : null}\n \n ) : null}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport knowledgeImageSrc from \"@/assets/images/recommendations/knowledge.png\"\nimport { DataGuard } from \"@/components/data-guard\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useGetPlans } from \"@/services/useGetPlans\"\n\nimport { AddCircleOutlineRounded } from \"@mui/icons-material\"\nimport { Button, Divider, Stack, Typography } from \"@mui/material\"\n\nimport { GoalsProgressBar } from \"../../components/goals-progress-bar/goals-progress-bar\"\nimport { PlannedSitesGrid } from \"../../components/planned-sites-grid/planned-sites-grid\"\nimport { PortfolioOverviewStats } from \"../../components/portfolio-overview-stats/portfolio-overview-stats\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useGetGoals } from \"../../services/use-get-goals/use-get-goals\"\nimport { useGetPotentialSites } from \"../../services/use-get-potential-sites/use-get-potential-sites\"\nimport { useSiteStats } from \"../../services/use-site-stats/use-site-stats\"\nimport { RecommendationsIndexRecommendedSites } from \"./recommendations-index-recommended-sites\"\n\nexport const RecommendationsIndexRoute: FC = () => {\n const { organization } = useOrganizationContext()\n\n const hasOrg = Boolean(organization)\n\n const { data: goals, isLoading: isGoalsLoading } = useGetGoals({\n query: {\n organization_id: organization?.id,\n },\n useQueryOptions: {\n enabled: hasOrg,\n },\n })\n\n const orgReductionGoal = goals?.find((goal) => \"reduction_goal\" in goal)\n\n const { recommendationsPlansData, recommendationsPlansIsLoading } =\n useGetPlans()\n const { data: potentialSites, isLoading: isPotentialSitesLoading } =\n useGetPotentialSites()\n\n const isLoading =\n !hasOrg ||\n recommendationsPlansIsLoading ||\n isPotentialSitesLoading ||\n isGoalsLoading\n\n const stats = useSiteStats(recommendationsPlansData, potentialSites)\n\n const hasPlannedASite =\n recommendationsPlansData &&\n recommendationsPlansData.length > 0 &&\n potentialSites &&\n potentialSites.length > 0\n\n return (\n \n \n \n {hasPlannedASite ? (\n \n \n }\n to={RecommendationsPath.Plan}\n variant=\"contained\"\n >\n Plan a site\n \n \n \n ) : undefined}\n \n \n \n {hasPlannedASite ? (\n <>\n \n \n \n\n \n \n ) : (\n \n \n \n \n \n Start your emissions reduction journey\n \n \n Take the guesswork out of building your decarbonization\n plan.\n \n }\n sx={{ alignSelf: \"flex-start\", mt: \"auto\" }}\n to={RecommendationsPath.Plan}\n variant=\"contained\"\n >\n Plan a site\n \n \n \n\n \n\n \n \n )}\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { FONT_WEIGHT } from \"@/models/typography\"\n\nimport { Box, Link, Typography } from \"@mui/material\"\n\nexport const RecommendationsTeaserRoute: FC = () => {\n return (\n <>\n \n \n \n \n \n Planning is the first of its kind decarbonization tool built for\n consultants.\n \n \n To learn more, click through our demo or{\" \"}\n \n contact us\n {\" \"}\n to upgrade and gain access to Planning.\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC, ReactNode } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport type { FeatureFlags } from \"@/services/feature\"\nimport { useFeature } from \"@/services/feature\"\n\nimport { Page404 } from \"../../nav/page404\"\n\ninterface FeatureGuardProps {\n children: ReactNode\n /**\n * If the feature is enabled the children will be rendered unless invert is true\n */\n feature: FeatureFlags\n /**\n * If true the children will be rendered when the feature is off and a 404 will be rendered when the feature is on\n */\n invert?: boolean\n}\n\n/**\n * @description A guard that displays or hides the feature\n */\nexport const FeatureGuard: FC = ({\n children,\n feature,\n invert,\n}) => {\n const { organization } = useOrganizationContext()\n const { isFeatureEnabled } = useFeature()\n\n if (!organization) {\n return <>\n }\n\n const isEnabled = isFeatureEnabled(feature, organization)\n\n const isAllowed = invert ? !isEnabled : isEnabled\n\n if (isAllowed) {\n return children\n }\n\n return \n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { FeatureGuard } from \"@/components/route/featureGuard/featureGuard\"\nimport type { FeatureFlags } from \"@/services/feature\"\n\nexport const featureGuarded = (\n Component: FC,\n feature: FeatureFlags\n) => {\n const EnhancedComponent: FC = (props) => {\n return (\n \n \n \n )\n }\n\n return EnhancedComponent\n}\n","import { EMPTY_DATA_PLACEHOLDER } from \"../../utils\"\n\nexport const buildingTypes = [\n \"Education\",\n \"Enclosed mall\",\n \"Food sales\",\n \"Food service\",\n \"Inpatient health care\",\n \"Laboratory\",\n \"Lodging\",\n \"Nonrefrigerated warehouse\",\n \"Nursing\",\n \"Office\",\n \"Other\",\n \"Outpatient health care\",\n \"Public assembly\",\n \"Public order and safety\",\n \"Refrigerated warehouse\",\n \"Religious worship\",\n \"Retail other than mall\",\n \"Service\",\n \"Strip shopping center\",\n \"Vacant\",\n]\n\nexport const selectedInterventionsThreshold = 1\n\nexport type Step =\n | \"Select Site\"\n | \"Set Goals\"\n | \"Select Plan\"\n | \"Review and Save\"\n\nexport interface StepInfoSelectSite {\n getUrl: (organizationId: string) => string\n label: \"Select Site\"\n}\nexport interface StepInfoSetGoals {\n getUrl: (organizationId: string, siteId: string) => string\n label: \"Set Goals\"\n}\nexport interface StepInfoSelectPlan {\n getUrl: (organizationId: string, siteId: string) => string\n label: \"Select Plan\"\n}\nexport interface StepInfoSavePlan {\n label: \"Review and Save\"\n}\n\nexport type StepInfo =\n | StepInfoSelectSite\n | StepInfoSetGoals\n | StepInfoSelectPlan\n | StepInfoSavePlan\n\nexport const planningSteps: StepInfo[] = [\n {\n label: \"Select Site\",\n getUrl: (organizationId) => `/${organizationId}/recommendations/plan`,\n },\n {\n label: \"Set Goals\",\n getUrl: (organizationId, siteId) =>\n `/${organizationId}/recommendations/sites/${siteId}/goals`,\n },\n {\n label: \"Select Plan\",\n getUrl: (organizationId, siteId) =>\n `/${organizationId}/recommendations/sites/${siteId}`,\n },\n { label: \"Review and Save\" },\n]\n\nexport const emptyDataPlaceholder = EMPTY_DATA_PLACEHOLDER\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\n\nimport { Step, StepButton, Stepper } from \"@mui/material\"\n\nimport type { StepInfo } from \"../../constants\"\nimport { planningSteps } from \"../../constants\"\nimport type { PlanningStepsProps } from \"./planning-steps.types\"\n\nfunction isClickableStep(activeStepInfo: StepInfo, stepInfo: StepInfo) {\n return activeStepInfo.label !== stepInfo.label\n}\n\nfunction getStepButtonHref(\n activeStepInfo: StepInfo,\n step: StepInfo,\n data?: { organizationId: string; planId?: string; siteId?: string }\n) {\n let to = \"\"\n if (!isClickableStep(activeStepInfo, step)) {\n return to\n }\n if (step.label === \"Set Goals\" && data?.siteId) {\n to = step.getUrl(data.organizationId, data.siteId)\n }\n if (step.label === \"Select Plan\" && data?.siteId) {\n to = step.getUrl(data.organizationId, data.siteId)\n }\n if (step.label === \"Select Site\" && data?.organizationId) {\n to = step.getUrl(data.organizationId)\n }\n\n return to\n}\nexport const PlanningSteps: FC = ({\n activeStep = 0,\n sx,\n siteId,\n planId,\n}) => {\n const { organization } = useOrganizationContext()\n const activeStepInfo = planningSteps[activeStep]\n\n return (\n \n {planningSteps.map((step) => (\n \n \n {step.label}\n \n \n ))}\n \n )\n}\n","import type { FC } from \"react\"\nimport React, { useCallback, useEffect, useMemo } from \"react\"\nimport { Link as RRLink, generatePath } from \"react-router-dom\"\n\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { useUrl } from \"@/utils/url\"\n\nimport SearchRoundedIcon from \"@mui/icons-material/SearchRounded\"\nimport { InputAdornment, Link, Stack } from \"@mui/material\"\nimport type {\n GridColDef,\n GridColumnHeaderParams,\n GridRenderCellParams,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\nimport {\n DataGridPro,\n GridLogicOperator,\n useGridApiRef,\n} from \"@mui/x-data-grid-pro\"\n\nimport { PageCard } from \"../../../../components/page-card/page-card\"\nimport { SectionHeader } from \"../../../../components/section-header/section-header\"\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { useFormatDecimal } from \"../../../../formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"../../../../formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { TextField } from \"../../../../nzds\"\nimport { renderRowNumber } from \"../../../../utils/render-row-number\"\nimport { emptyDataPlaceholder } from \"../../constants\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { PlanningSteps } from \"../planning-steps/planning-steps\"\nimport type {\n PotentialSitesGridProps,\n RowData,\n} from \"./potential-sites-grid.types\"\n\nconst baseColumnDef: Partial = {\n disableColumnMenu: true,\n hideable: false,\n align: \"left\",\n disableReorder: true,\n resizable: false,\n}\n\nexport const PotentialSitesGrid: FC = ({ sites }) => {\n const { recommendationsPath } = useUrl()\n\n const { format: formatPercentage } = useFormatPercentage({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const { format: formatDecimal } = useFormatDecimal({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const apiRef = useGridApiRef()\n\n const [quickFilter, setQuickFilter] = React.useState(\"\")\n\n useEffect(() => {\n apiRef.current.setQuickFilterValues(quickFilter.split(\" \"))\n }, [apiRef, quickFilter])\n\n const getGoalsHref = useCallback(\n (id: number) =>\n generatePath(`${recommendationsPath}/${RecommendationsPath.SiteGoals}`, {\n siteId: `${id}`,\n }),\n [recommendationsPath]\n )\n\n const currencySymbol = useCurrencySymbol()\n\n const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n\n const gjSqFtUnit = useUnit(UnitName.GigaJoulePerSquareFoot)\n\n const rows: RowData[] = useMemo(\n () =>\n (sites ?? []).map((site) => ({\n base_total_emissions: site.base_total_emissions,\n base_total_usage: site.base_total_usage,\n eui: site.eui,\n portfolio_impact: site.portfolio_impact,\n id: site.site_id,\n site_name: site.site_name,\n total_cost: site.total_cost,\n })),\n [sites]\n )\n\n const columnDefinitions = useMemo(() => {\n const columns: GridColDef[] = [\n {\n ...baseColumnDef,\n field: \"number\",\n align: \"center\",\n headerAlign: \"center\",\n sortable: false,\n headerName: \"#\",\n width: 44,\n renderCell: renderRowNumber,\n },\n {\n ...baseColumnDef,\n field: \"site_name\",\n flex: 1,\n headerName: \"Site\",\n minWidth: 200,\n renderCell: (params: GridRenderCellParams) => (\n \n {params.value}\n \n ),\n },\n {\n ...baseColumnDef,\n field: \"portfolio_impact\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"Portfolio Emissions (%)\",\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n flex: 1,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => formatPercentage(params.value),\n },\n {\n ...baseColumnDef,\n field: \"base_total_emissions\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Annual Emissions (${co2eUnit})`,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n flex: 1,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => formatDecimal(params.value),\n },\n {\n ...baseColumnDef,\n field: \"base_total_usage\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Annual Volume (${gjSqFtUnit})`,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n flex: 1,\n valueFormatter: (\n params: GridValueFormatterParams\n ) =>\n formatDecimal(params.value, {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n }),\n },\n {\n ...baseColumnDef,\n field: \"eui\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `EUI (${gjSqFtUnit})`,\n resizable: true,\n flex: 1,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n params.value\n ? formatDecimal(params.value, {\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })\n : emptyDataPlaceholder,\n },\n {\n ...baseColumnDef,\n field: \"total_cost\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Operational Cost (${currencySymbol})`,\n renderHeader: (params: GridColumnHeaderParams) => (\n \n ),\n flex: 1,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => formatMoney(params.value),\n },\n ]\n\n return columns\n }, [\n co2eUnit,\n currencySymbol,\n formatDecimal,\n formatMoney,\n formatPercentage,\n getGoalsHref,\n gjSqFtUnit,\n ])\n\n return (\n \n \n \n \n \n \n ),\n }}\n onChange={(e) => {\n setQuickFilter(e.target.value)\n }}\n size=\"small\"\n />\n }\n title=\"Forecasted Site Performance\"\n />\n\n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport knowledgeImageSrc from \"@/assets/images/recommendations/knowledge.png\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { featureGuarded } from \"@/hocs/feature-guarded\"\nimport { HStack } from \"@/nzds/layout\"\nimport { FeatureFlags } from \"@/services/feature\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport { Button, IconButton, Stack, Typography } from \"@mui/material\"\n\nimport { PotentialSitesGrid } from \"../../components/potential-sites-card/potential-sites-grid\"\nimport { useGetPotentialSites } from \"../../services/use-get-potential-sites/use-get-potential-sites\"\n\nconst RecommendationsPlanRouteBase: FC = () => {\n const { organization } = useOrganizationContext()\n\n const hasOrg = Boolean(organization)\n\n const { data: potentialSites, isLoading: isPotentialSitesLoading } =\n useGetPotentialSites()\n\n const isLoading = !hasOrg || isPotentialSitesLoading\n\n return (\n \n \n \n \n \n \n \n \n \n \n {potentialSites && potentialSites.length > 0 ? (\n \n ) : (\n \n \n \n \n \n No sites found\n\n \n We are working on creating recommendations for your sites.\n Please check back later.\n \n\n \n View planning overview\n \n \n \n \n \n )}\n \n \n )\n}\n\nexport const RecommendationsPlanRoute = featureGuarded(\n RecommendationsPlanRouteBase,\n FeatureFlags.PLANNING\n)\n","import { styled } from \"@mui/material\"\n\nimport { PageCard } from \"./page-card\"\n\nexport const StyledPageCard = styled(PageCard, {\n shouldForwardProp: (prop) => prop !== \"open\" && prop !== \"offset\",\n})<{\n offset: number\n open?: boolean\n}>(({ theme, open, offset }) => ({\n flex: 1,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.leavingScreen,\n }),\n width: \"100%\",\n marginRight: `-${offset}px`,\n ...(open && {\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.easeOut,\n duration: theme.transitions.duration.enteringScreen,\n }),\n width: `calc(100% - ${offset}px)`,\n marginRight: 0,\n }),\n position: \"relative\",\n}))\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { SvgIcon } from \"@mui/material\"\n\nexport const RightPanelCloseIcon: FC = () => (\n \n \n \n \n \n)\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport SvgIcon from \"@mui/material/SvgIcon\"\n\nexport const RightPanelOpenIcon: FC = () => (\n \n \n \n \n \n)\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { RightPanelCloseIcon } from \"@/components/mui-icons/RightPanelCloseIcon\"\nimport { RightPanelOpenIcon } from \"@/components/mui-icons/RightPanelOpenIcon\"\n\nimport { Button } from \"@mui/material\"\n\ninterface SiteInfoButtonProps {\n isOpen: boolean\n onClick: () => void\n}\n\nconst SiteInfoButton: FC = ({ isOpen, onClick }) => (\n : }\n onClick={onClick}\n size=\"small\"\n >\n Site Info\n \n)\n\nexport default SiteInfoButton\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport {\n Box,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n Typography,\n} from \"@mui/material\"\n\nimport BookshelfImageSrc from \"../../../../assets/images/recommendations/book-shelf.png\"\nimport { DialogTitle } from \"../../../../nzds/feedback/dialog-title/dialog-title\"\n\ninterface EditSiteConfirmationProps {\n onClose: () => void\n onContinue: () => void\n open: boolean\n}\n\nexport const EditSiteConfirmation: FC = ({\n open,\n onClose,\n onContinue,\n}) => {\n const { recommendationsPath } = useUrl()\n\n return (\n \n \n Site information successfully saved\n \n \n \n \n New plans, incorporating the added metadata, will be generated within\n 24 hours. Check back then for updated plans, or explore the current\n ones in the meantime.\n \n \n \n \n Go to Portfolio Overview\n \n \n \n \n )\n}\n","// @ts-strict-ignore\nimport React, { forwardRef, useImperativeHandle, useRef } from \"react\"\nimport { useController } from \"react-hook-form\"\n\nimport { MultiSelectCheckboxField } from \"../../inputs/multi-select-checkbox-field\"\nimport type {\n FormMultiSelectCheckboxFieldProps,\n WithForwardRefType,\n} from \"./form-multi-select-checkbox-field.types\"\n\nexport const FormMultiSelectCheckboxField: WithForwardRefType = forwardRef<\n HTMLInputElement,\n FormMultiSelectCheckboxFieldProps\n>(({ name, id, helperText, ...rest }, ref) => {\n const { field, fieldState } = useController({\n name,\n })\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const innerRef = useRef()\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n useImperativeHandle(ref, () => innerRef.current)\n\n return (\n {\n field.ref(node)\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n innerRef.current = node\n }}\n />\n )\n})\n","import React, { useImperativeHandle, useRef } from \"react\"\nimport type { FieldPath, FieldValues } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport { NumericTextField } from \"../../inputs/numeric-text-field/numeric-text-field\"\nimport type { FormNumericTextFieldProps } from \"./form-numeric-text-field.types\"\n\nexport const FormNumericTextField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath = FieldPath,\n>({\n name,\n id,\n inputRef,\n helperText,\n InputProps,\n ...rest\n}: FormNumericTextFieldProps) => {\n const { field, fieldState } = useController({\n name,\n })\n\n const { ref: fieldRef, ...fieldRest } = field\n\n const innerRef = useRef(null)\n\n useImperativeHandle(\n inputRef,\n () => innerRef.current,\n []\n )\n\n return (\n {\n fieldRef(node)\n innerRef.current = node as HTMLInputElement\n }}\n />\n )\n}\n","import React, { useImperativeHandle, useRef } from \"react\"\nimport type { FieldPath, FieldValues } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport { SelectField } from \"../../inputs/select-field\"\nimport type { FormSelectFieldProps } from \"./form-select-field.types\"\n\nexport const FormSelectField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath = FieldPath,\n>({\n name,\n id,\n helperText,\n required,\n inputRef,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ref,\n ...rest\n}: FormSelectFieldProps) => {\n const {\n field: { ref: fieldRef, ...restField },\n fieldState,\n } = useController({\n name,\n })\n\n const innerRef = useRef(null)\n\n useImperativeHandle(\n inputRef,\n () => innerRef.current,\n []\n )\n\n return (\n {\n fieldRef(node)\n innerRef.current = node as HTMLSelectElement\n }}\n required={required}\n />\n )\n}\n","import type { Organization } from \"@/models/organization\"\nimport type { Schemas } from \"@/services/types\"\nimport { httpClient } from \"@/utils/api\"\n\n/**\n * Gets list of interventions to use in input fields\n */\nexport const getInterventions = async (\n organizationId: Organization[\"id\"]\n): Promise => {\n const response = await httpClient.get(\n `/api/v1/recommendations/interventions`,\n {\n params: {\n organization_id: organizationId,\n },\n }\n )\n\n return response.data\n}\n","// @ts-strict-ignore\nimport type { Option } from \"../../../../nzds\"\nimport { useGetInterventions } from \"./use-get-interventions\"\n\nexport const useInterventionOptions = () => {\n const { data = [] } = useGetInterventions()\n const options: Option[] = []\n for (const interventionGroupName of Object.keys(data)) {\n for (const interventionName of data[interventionGroupName]) {\n options.push({\n label: interventionName as string,\n value: interventionName as string,\n })\n }\n }\n options.sort((a, b) => {\n const labelA = a.label.toUpperCase()\n const labelB = b.label.toUpperCase()\n if (labelA < labelB) {\n return -1\n }\n if (labelA > labelB) {\n return 1\n }\n\n return 0\n })\n\n return options\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { getInterventions } from \"./get-interventions\"\n\ninterface UseGetInterventionsOptions {\n queryOptions?: Omit\n}\n\n/**\n * Returns a list of intervention types\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetInterventions(227);\n */\nexport const useGetInterventions = (\n options: UseGetInterventionsOptions = {}\n) => {\n const { organization } = useOrganizationContext()\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationsSite,\n \"getMany\",\n null\n )\n\n let queryParams = {\n queryKey,\n queryFn: () => getInterventions(organization?.id),\n }\n\n if (options.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const query = useQuery(queryParams)\n\n return query\n}\n","import { titleCase } from \"title-case\"\n\n/**\n * transforms snake_case_thing into Snake Case Thing\n */\nexport const snakeToTitleCase = (text?: string): string => {\n if (!text) {\n return \"\"\n }\n const textWithoutUnderscores = text.replaceAll(\"_\", \" \")\n return titleCase(textWithoutUnderscores)\n}\n","import * as React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { ArrowForwardIosRounded } from \"@mui/icons-material\"\nimport type { AccordionProps } from \"@mui/material/Accordion\"\nimport MuiAccordion from \"@mui/material/Accordion\"\nimport MuiAccordionDetails from \"@mui/material/AccordionDetails\"\nimport type { AccordionSummaryProps } from \"@mui/material/AccordionSummary\"\nimport MuiAccordionSummary from \"@mui/material/AccordionSummary\"\nimport { styled } from \"@mui/material/styles\"\n\nexport const AccordionCard = styled((props: AccordionProps) => (\n \n))(({ theme }) => ({\n backgroundColor: theme.palette.background.paper,\n borderRadius: theme.typography.pxToRem(8),\n \"&:before\": {\n display: \"none\",\n },\n}))\n\nexport const AccordionCardTitle = styled(\n ({\n icon,\n children,\n ...rest\n }: AccordionSummaryProps & { icon?: React.ReactElement }) => (\n }\n {...rest}\n >\n \n {icon}\n {children}\n \n \n )\n)(({ theme }) => ({\n ...theme.typography.h3,\n transition: theme.transitions.create([\"border-radius\"], {\n duration: theme.transitions.duration.complex,\n easing: theme.transitions.easing.easeInOut,\n }),\n borderRadius: theme.typography.pxToRem(8),\n padding: theme.spacing(2),\n backgroundColor: theme.palette.grey[25],\n justifyContent: \"flex-start\",\n minHeight: \"unset\",\n \"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded\": {\n transform: \"rotate(90deg)\",\n },\n \"& .MuiAccordionSummary-content\": {\n flex: \"0 1 auto\",\n margin: \"0\",\n marginRight: theme.spacing(1),\n },\n \"&.Mui-expanded\": {\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0,\n },\n}))\n\nexport const AccordionCardContent = styled(MuiAccordionDetails)(\n ({ theme }) => ({\n padding: theme.spacing(2),\n backgroundColor: \"transparent\",\n })\n)\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Chip, Typography } from \"@mui/material\"\n\nimport type { Option } from \"../../../../nzds\"\nimport { selectedInterventionsThreshold } from \"../../constants\"\n\nexport function renderInterventionValue(\n interventionOptions: Option[]\n): ((value: string[]) => React.ReactNode) | undefined {\n return function renderer(selected?: string[]) {\n if (selected && selected.length > 0) {\n let moreMessage\n if (selected.length > selectedInterventionsThreshold) {\n moreMessage = `+${selected.length - selectedInterventionsThreshold}`\n }\n return (\n \n \n {selected.slice(0, selectedInterventionsThreshold).map((val) => {\n const label = interventionOptions.find(\n (checkbox) => checkbox.value === val\n )?.label\n return (\n \n )\n })}\n \n\n {moreMessage ? (\n \n {moreMessage}\n \n ) : null}\n \n )\n }\n\n return null\n }\n}\n","import type { JSONSchema6 } from \"json-schema\"\nimport type { Entries } from \"type-fest\"\n\nimport type PhysicalDetail from \"../../../../models/physcialDetails\"\n\nexport function generateShchemaDefaultValues(\n properties: JSONSchema6[\"properties\"],\n details?: PhysicalDetail[\"details\"]\n) {\n if (!properties) {\n return {}\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const defaultValues: Record = {}\n\n const entries = Object.entries(properties) as Entries\n for (const [key, value] of entries) {\n let defaultValue\n\n if (typeof value !== \"boolean\") {\n if (\n value.type === \"string\" ||\n value.type === \"number\" ||\n value.type === \"integer\"\n ) {\n if (value.type !== \"string\") {\n // integer or number\n // convert numeric to string explicitly to mirror the opposite happening on submit\n // this is reliant on the fact that react-number-format is aware of numeric strings as well\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n defaultValue = `${details?.[key] ?? \"\"}`\n } else {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n defaultValue = details?.[key] ?? \"\"\n }\n }\n if (value.type === \"boolean\") {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n defaultValue =\n details && key in details\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n details[key]\n : false\n }\n if (value.type === \"object\") {\n defaultValue = generateShchemaDefaultValues(\n value.properties,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n details?.[key]\n )\n }\n if (\n value.type === \"array\" &&\n value.items &&\n typeof value.items !== \"boolean\" &&\n !Array.isArray(value.items)\n ) {\n if (\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Array.isArray(details?.[key])\n ) {\n const itemsProperties = value.items.properties\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n defaultValue = details[key].map((sPd: any) =>\n generateShchemaDefaultValues(itemsProperties, sPd)\n )\n } else {\n defaultValue = []\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n defaultValues[key] = defaultValue\n }\n }\n\n return defaultValues\n}\n","import type { JSONSchema6 } from \"json-schema\"\nimport type { Entries } from \"type-fest\"\n\nimport type PhysicalDetail from \"../../../../models/physcialDetails\"\n\nexport function convertModelValuesToSchemaValues(\n properties: JSONSchema6[\"properties\"],\n details?: PhysicalDetail[\"details\"]\n) {\n if (!properties || !details) {\n return {}\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const defaultValues: Record = {}\n\n const entries = Object.entries(properties) as Entries\n for (const [key, value] of entries) {\n let convertedValue\n\n if (typeof value !== \"boolean\") {\n if (\n value.type === \"string\" ||\n value.type === \"number\" ||\n value.type === \"integer\"\n ) {\n if (value.type !== \"string\") {\n // integer or number\n // convert string from form back to number explicitly to mirror the opposite happening on building defaults\n // this is reliant on the fact that react-number-format is aware of numeric strings as well\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n convertedValue = details[key]\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Number(details[key])\n : undefined\n } else {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n convertedValue = details[key]\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n details[key]\n : undefined\n }\n }\n if (value.type === \"boolean\") {\n convertedValue = undefined\n if (key in details && typeof key === \"string\") {\n const detailsValue = (details as Record)[\n key\n ]\n if (detailsValue === \"yes\") {\n convertedValue = true\n }\n if (detailsValue === \"no\") {\n convertedValue = false\n }\n }\n }\n if (value.type === \"object\") {\n convertedValue = convertModelValuesToSchemaValues(\n value.properties,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n details[key]\n )\n }\n if (\n value.type === \"array\" &&\n value.items &&\n typeof value.items !== \"boolean\" &&\n !Array.isArray(value.items) &&\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Array.isArray(details[key])\n ) {\n const itemsProperties = value.items.properties\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-explicit-any\n convertedValue = details[key].map((sPd: any) =>\n convertModelValuesToSchemaValues(itemsProperties, sPd)\n )\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n defaultValues[key] = convertedValue\n }\n }\n\n return defaultValues\n}\n","import type PhysicalDetail from \"../../../../models/physcialDetails\"\nimport type PhysicalDetailType from \"../../../../models/physical-detail-types\"\nimport { convertModelValuesToSchemaValues } from \"./convert-model-values-to-schema-values\"\n\nexport const buildPhysicalDetailsModelValues = (\n physicalDetailTypes: PhysicalDetailType[],\n physicalDetails: Pick[]\n): Pick[] => {\n const processedPhysicalDetails: Pick<\n PhysicalDetail,\n \"details\" | \"physicalDetailTypeId\"\n >[] = []\n for (const detailType of physicalDetailTypes) {\n const detail: Pick = {\n physicalDetailTypeId: detailType.id,\n details: {},\n }\n // find site physical detail with same id\n const sitePhysicalDetail = physicalDetails.find(\n (physicalDetail) =>\n physicalDetail.physicalDetailTypeId?.toString() ===\n detailType.id?.toString()\n )\n if (\n sitePhysicalDetail &&\n detailType.schema.type === \"object\" &&\n detailType.schema.properties\n ) {\n const details = convertModelValuesToSchemaValues(\n detailType.schema.properties,\n sitePhysicalDetail.details as Pick\n )\n detail.details = details\n }\n processedPhysicalDetails.push(detail)\n }\n return processedPhysicalDetails\n}\n","import z from \"zod\"\n\nexport const schema = z.object({\n yearBuilt: z.string().trim().min(1, { message: \"Year built is required\" }),\n sqFt: z.string().trim().min(1, { message: \"Square footage is required\" }),\n numberOfFloors: z\n .string()\n .trim()\n .min(1, { message: \"Number of floors is required\" }),\n buildingType: z\n .string()\n .trim()\n .min(1, { message: \"Building type is required\" }),\n locationId: z.string().trim().optional(),\n budget: z.string().trim().optional(),\n reduction_target: z\n .string()\n .optional()\n .refine((target) => Number(target) <= 100, {\n message: \"Reduction target cannot exceed 100%\",\n }),\n excluded_interventions: z.string().array().optional(),\n physical_details: z.any().array().optional(),\n address: z\n .object({\n address_line_1: z\n .string()\n .trim()\n .min(1, { message: \"Address line 1 is required\" }),\n address_line_2: z.string().trim().optional(),\n city: z.string().trim().min(1, { message: \"City is required\" }),\n state: z.string().trim().optional(),\n country: z.string().trim().min(1, { message: \"Country is required\" }),\n postal_code: z\n .string()\n .trim()\n .min(1, { message: \"Zip code is required\" }),\n })\n .refine(\n (address) =>\n address.country &&\n [\"US\", \"CA\"].includes(address.country) &&\n address.state,\n {\n message: \"State is required\",\n path: [\"state\"],\n }\n ),\n})\n\nexport type Schema = z.infer\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { useFieldArray, useWatch } from \"react-hook-form\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport AddCircleOutlineRoundedIcon from \"@mui/icons-material/AddCircleOutlineRounded\"\nimport ContentCopyRoundedIcon from \"@mui/icons-material/ContentCopyRounded\"\nimport DeleteOutlineRoundedIcon from \"@mui/icons-material/DeleteOutlineRounded\"\nimport { Button, IconButton, Stack, Typography } from \"@mui/material\"\n\nimport { snakeToTitleCase } from \"../../utils/snakeToTitleCase\"\nimport { generateShchemaDefaultValues } from \"./generate-schema-default-values\"\nimport { SchemaField } from \"./schema-field\"\nimport type { SchemaFieldArrayProps } from \"./schema-field-array.types\"\n\nexport const SchemaFieldArray: FC = ({\n name,\n schema,\n}) => {\n const { fields, append, remove, insert } = useFieldArray({\n name,\n })\n const width = { width: \"calc(100% - (1rem * 1 / 2));\" }\n const lastPathString = name.split(\".\").pop()\n const label = schema.title ?? snakeToTitleCase(lastPathString)\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const values = useWatch({ name })\n\n const emptyObjectDefault = generateShchemaDefaultValues(\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (schema.items as unknown as any).properties\n )\n return (\n \n \n {label}\n \n {fields.map((field, index) => (\n \n {typeof schema.items !== \"boolean\" &&\n schema.items &&\n !Array.isArray(schema.items) ? (\n \n ) : null}\n \n {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n insert(index + 1, values[index])\n }}\n size=\"small\"\n sx={{ alignSelf: \"flex-end\" }}\n >\n \n \n {\n remove(index)\n }}\n size=\"small\"\n sx={{ alignSelf: \"flex-end\" }}\n >\n \n \n \n \n ))}\n {\n append({ ...emptyObjectDefault })\n }}\n size=\"small\"\n startIcon={}\n sx={{ alignSelf: \"flex-start\" }}\n variant=\"outlined\"\n >\n Add {label}\n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport type { Option } from \"../../../../nzds\"\nimport { FormNumericTextField } from \"../../../../nzds/forms/form-numeric-text-field/form-numeric-text-field\"\nimport { FormSelectField } from \"../../../../nzds/forms/form-select-field/form-select-field\"\nimport { FormTextField } from \"../../../../nzds/forms/form-text-field/form-text-field\"\nimport { snakeToTitleCase } from \"../../utils/snakeToTitleCase\"\nimport { SchemaFieldArray } from \"./schema-field-array\"\nimport type { SchemaFieldProps } from \"./schema-field.types\"\n\nexport const SchemaFieldInput: FC = ({\n schema,\n name,\n required,\n}) => {\n const lastPathString = name.split(\".\").pop()\n const label = schema.title ?? snakeToTitleCase(lastPathString)\n const width = \"calc(100% / 2 - (1rem * 1 / 2))\"\n\n let isFieldRequired = false\n if (lastPathString && required?.includes(lastPathString)) {\n isFieldRequired = true\n }\n\n if (schema.type === \"boolean\") {\n return (\n \n )\n }\n if (schema.type === \"integer\") {\n return (\n \n )\n }\n if (schema.type === \"number\") {\n return (\n \n )\n }\n if (schema.type === \"string\") {\n if (schema.oneOf && schema.oneOf.length > 0) {\n // render select\n const options = schema.oneOf.map((opt) => ({\n label: typeof opt !== \"boolean\" ? (opt.title ?? opt.const) : \"\",\n value: typeof opt !== \"boolean\" ? opt.const : \"\",\n }))\n return (\n \n )\n }\n return (\n \n )\n }\n\n if (schema.type === \"array\") {\n return \n }\n\n // if we get here there's a case we don't have yet :(\n return null\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Divider, Stack, Typography } from \"@mui/material\"\n\nimport { snakeToTitleCase } from \"../../utils/snakeToTitleCase\"\nimport { SchemaFieldInput } from \"./schema-field-input\"\nimport type { SchemaFieldProps } from \"./schema-field.types\"\n\ntype Entries = {\n [K in keyof T]: [key: K, value: T[K]]\n}[keyof T][]\n\nexport const SchemaField: FC = ({ schema, name }) => {\n const { type, properties, required } = schema\n\n const entries =\n type === \"object\" && properties\n ? (Object.entries(properties) as Entries)\n : null\n\n return (\n \n {entries && entries.length > 0 ? (\n <>\n {entries.map(([key, value]) => {\n if (value && typeof value !== \"boolean\") {\n const label = value.title ?? snakeToTitleCase(key)\n if (value.type === \"object\") {\n return (\n \n \n {label}\n \n \n \n \n )\n }\n\n return (\n \n )\n }\n return null\n })}\n \n ) : null}\n \n )\n}\n","import type { FC } from \"react\"\nimport React, { useEffect, useMemo } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\nimport {\n Link,\n generatePath,\n useNavigate,\n useSearchParams,\n} from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { useCountryOptions, useStateOptions } from \"@/nzds/utils\"\nimport { useLocations } from \"@/services/location\"\nimport { useGetBuildingTypes } from \"@/services/site\"\nimport { useUpdateSiteModel } from \"@/services/site/useUpdateSite\"\nimport { useUrl } from \"@/utils/url\"\nimport { datadogRum } from \"@datadog/browser-rum\"\nimport type { ValidateFunction } from \"ajv\"\nimport Ajv from \"ajv\"\n\nimport HomeWorkOutlinedIcon from \"@mui/icons-material/HomeWorkOutlined\"\nimport {\n Alert,\n Button,\n Card,\n CardContent,\n Divider,\n InputAdornment,\n Stack,\n Typography,\n} from \"@mui/material\"\nimport Grid from \"@mui/material/Unstable_Grid2\"\n\nimport { SectionHeader } from \"../../../../components/section-header/section-header\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport Address from \"../../../../models/address\"\nimport type Location from \"../../../../models/location\"\nimport PhysicalDetail from \"../../../../models/physcialDetails\"\nimport type { Option } from \"../../../../nzds\"\nimport { NZeroLogoIcon } from \"../../../../nzds/data-display/nzero-logo-icon/nzero-logo-icon\"\nimport { FormMultiSelectCheckboxField } from \"../../../../nzds/forms/form-multi-select-checkbox-field/form-multi-select-checkbox-field\"\nimport { FormNumericTextField } from \"../../../../nzds/forms/form-numeric-text-field/form-numeric-text-field\"\nimport { FormSelectField } from \"../../../../nzds/forms/form-select-field/form-select-field\"\nimport { FormTextField } from \"../../../../nzds/forms/form-text-field/form-text-field\"\nimport { Form } from \"../../../../nzds/forms/form/form\"\nimport { SubmitButton } from \"../../../../nzds/forms/submit-button/submit-button\"\nimport { useForm } from \"../../../../nzds/forms/use-form/use-form\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useCreateGoal } from \"../../services/use-create-goal/use-create-goal\"\nimport { useUpdateGoal } from \"../../services/use-udpate-goal/use-update-goal\"\nimport { useInterventionOptions } from \"../../services/useGetInterventions/use-intervention-options\"\nimport { snakeToTitleCase } from \"../../utils/snakeToTitleCase\"\nimport {\n AccordionCard,\n AccordionCardContent,\n AccordionCardTitle,\n} from \"../accordion/accordion-card\"\nimport { renderInterventionValue } from \"../filter-bar/render-intervention-value\"\nimport { buildPhysicalDetailsDefaultValues } from \"./build-physical-details-default-values\"\nimport { buildPhysicalDetailsModelValues } from \"./build-physical-details-model-values\"\nimport type { Schema } from \"./schema\"\nimport { schema } from \"./schema\"\nimport { SchemaField } from \"./schema-field\"\nimport { useSectionToIconMap } from \"./section-to-icon-map\"\nimport type { SiteGoalsFormProps } from \"./site-goals-form.types\"\n\nconst ajv = new Ajv()\n\n/**\n * used two main ways\n * - saved as goals for this site\n * - used to check if site was modified in the form by excluding these\n * from the field state check(dirty)\n */\nconst goalFields = [\"budget\", \"reduction_target\", \"excluded_interventions\"]\n\nexport const SiteGoalsForm: FC = ({\n site,\n physicalDetailTypes,\n goals,\n onSubmitSuccess,\n}) => {\n const { recommendationsPath } = useUrl()\n\n // only 1 goal per site, that has budget, target, etc\n const siteGoal = goals.length > 0 ? goals[0] : undefined\n const iconMap = useSectionToIconMap()\n const validators = useMemo(() => {\n const validatorsByType: Record = {}\n for (const pDT of physicalDetailTypes) {\n const func = ajv.compile(pDT.schema)\n const { id } = pDT\n if (id) {\n validatorsByType[id] = func\n }\n }\n return validatorsByType\n }, [physicalDetailTypes])\n\n const defaultPhysicalDetails = buildPhysicalDetailsDefaultValues(\n physicalDetailTypes,\n site.physicalDetails\n )\n\n const [searchParams] = useSearchParams()\n const { buildingTypesData, buildingTypesIsLoading } = useGetBuildingTypes()\n const countryOptions = useCountryOptions()\n\n const form = useForm({\n schema,\n defaultValues: {\n numberOfFloors: site.numberOfFloors?.toString() ?? \"\",\n sqFt: site.sqFt?.toString() ?? \"\",\n yearBuilt: site.yearBuilt?.toString() ?? \"\",\n locationId: site.locationId?.toString() ?? \"\",\n buildingType: site.buildingType ?? \"\",\n reduction_target: siteGoal?.reduction_goal\n ? `${siteGoal.reduction_goal * 100}`\n : \"\",\n budget: siteGoal?.budget ? `${siteGoal.budget}` : \"\",\n excluded_interventions: siteGoal?.exclusions ? siteGoal.exclusions : [],\n address: {\n address_line_1: site.address?.address_line_1 ?? \"\",\n address_line_2: site.address?.address_line_2 ?? \"\",\n city: site.address?.city ?? \"\",\n country: site.address?.country ?? \"\",\n postal_code: site.address?.postal_code ?? \"\",\n state: site.address?.state ?? \"\",\n },\n physical_details: defaultPhysicalDetails,\n },\n })\n\n const currencySymbol = useCurrencySymbol()\n\n const {\n formState: { isSubmitSuccessful, dirtyFields, isSubmitting },\n getValues,\n reset,\n resetField,\n watch,\n } = form\n\n const currentFormCountry = watch(\"address.country\")\n const currentFormState = watch(\"address.state\")\n\n const isStateRequired = [\"US\", \"CA\"].includes(currentFormCountry)\n\n const stateOptions = useStateOptions(currentFormCountry)\n\n useEffect(() => {\n // if the current state is not in the list of states,\n // reset it\n if (!currentFormCountry || !currentFormState) {\n return\n }\n const currentStateInStates = stateOptions.some(\n ({ value }) => value === currentFormState\n )\n if (!currentStateInStates) {\n resetField(\"address.state\", { defaultValue: \"\" })\n }\n }, [currentFormCountry, currentFormState, resetField, stateOptions])\n\n const { mutateAsync: updateSite, isSuccess } = useUpdateSiteModel()\n\n const { mutateAsync: createGoal, isSuccess: isCreateGoalSuccess } =\n useCreateGoal()\n const { mutateAsync: updateGoal, isSuccess: isUpdateGoalSuccess } =\n useUpdateGoal()\n\n const { locations } = useLocations()\n\n const interventionOptions = useInterventionOptions()\n\n const navigate = useNavigate()\n\n const locationOptions: Option[] = useMemo(() => {\n let options: Option[] = []\n\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!locations) {\n return []\n }\n options = (locations as unknown as Location[]).map((location) => ({\n value: location.id ?? location.name,\n label: location.name,\n }))\n return options\n }, [locations])\n\n const siteRecommendationsHref = generatePath(\n `${recommendationsPath}/${RecommendationsPath.Site}`,\n { siteId: site.id?.toString() ?? null }\n )\n\n const handleSubmit: SubmitHandler = async ({\n reduction_target,\n excluded_interventions,\n budget,\n yearBuilt,\n sqFt,\n locationId,\n buildingType,\n numberOfFloors,\n address,\n physical_details,\n }) => {\n if (site.id) {\n if (site.address) {\n if (address.address_line_1) {\n site.address.address_line_1 = address.address_line_1\n }\n if (address.address_line_2) {\n site.address.address_line_2 = address.address_line_2\n }\n if (address.city) {\n site.address.city = address.city\n }\n if (address.state) {\n site.address.state = address.state\n }\n if (address.country) {\n site.address.country = address.country\n }\n if (address.postal_code) {\n site.address.postal_code = address.postal_code\n }\n } else {\n site.address = new Address(address)\n }\n\n site.yearBuilt = Number(yearBuilt)\n site.sqFt = sqFt\n site.locationId = locationId\n site.buildingType = buildingType\n site.numberOfFloors = Number(numberOfFloors)\n\n // convert number types to numbers instead of strings\n const processedPd = buildPhysicalDetailsModelValues(\n physicalDetailTypes,\n physical_details as Pick<\n PhysicalDetail,\n \"details\" | \"physicalDetailTypeId\"\n >[]\n )\n\n if (physical_details) {\n site.physicalDetails = processedPd.map(\n (\n details: Pick\n ) => {\n const existingSitePhysicalDetail = site.physicalDetails?.find(\n (siteDetail) =>\n siteDetail.physicalDetailTypeId?.toString() ===\n details.physicalDetailTypeId?.toString()\n )\n if (existingSitePhysicalDetail) {\n // update the instance\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n existingSitePhysicalDetail.details = details.details\n return existingSitePhysicalDetail\n }\n // create new\n return new PhysicalDetail({\n subjectId: site.id,\n subjectType: \"Site\",\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n details: details.details,\n physicalDetailTypeId: details.physicalDetailTypeId,\n })\n }\n )\n }\n\n processedPd.forEach(\n (pD: Pick) => {\n let validate\n if (pD.physicalDetailTypeId) {\n validate = validators[pD.physicalDetailTypeId]\n }\n if (validate) {\n const valid = validate(pD.details)\n if (!valid) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n console.warn({ valid, errors: validate.errors, data: pD.details })\n }\n }\n }\n )\n\n await updateSite({ site, with: [\"address\", \"physicalDetails\"] })\n }\n\n // goals\n if (siteGoal) {\n await updateGoal({\n parameters: {\n organization_id: site.organizationId.toString(),\n path: { goal_id: siteGoal.id },\n },\n requestBody: {\n ...siteGoal,\n reduction_goal: reduction_target\n ? Number(reduction_target) / 100\n : undefined,\n budget: budget ? Number(budget) : undefined,\n exclusions: excluded_interventions ?? undefined,\n organization_id: site.organizationId.toString(),\n },\n })\n } else {\n await createGoal({\n subject_id: Number(site.id),\n subject_type: \"Site\",\n reduction_goal: reduction_target\n ? Number(reduction_target) / 100\n : undefined,\n budget: budget ? Number(budget) : undefined,\n exclusions: excluded_interventions ?? undefined,\n organization_id: site.organizationId.toString(),\n })\n }\n }\n\n useEffect(() => {\n if (\n isSubmitSuccessful &&\n isSuccess &&\n (isCreateGoalSuccess || isUpdateGoalSuccess)\n ) {\n const currentFormValues = getValues()\n\n const dirtyFieldsArray = Object.entries(dirtyFields) as [\n keyof Schema,\n boolean,\n ][]\n\n const isSiteModified = dirtyFieldsArray.some(([fieldName, isDirty]) => {\n if (goalFields.includes(fieldName)) {\n return false // do not worry about these fields as only query string values\n }\n return isDirty\n })\n\n datadogRum.addAction(\"Goals saved\", {\n siteModified: isSiteModified,\n budget: currentFormValues.budget,\n reductionTarget: currentFormValues.reduction_target,\n excludedInterventions:\n currentFormValues.excluded_interventions?.join(\"|\"),\n })\n\n reset(currentFormValues) // also resets isDirty and what not\n // check if site changed, if it has, call submit success, if only goals\n // navigate\n if (isSiteModified) {\n onSubmitSuccess()\n } else {\n navigate(`${siteRecommendationsHref}?${searchParams.toString()}`)\n }\n }\n }, [\n dirtyFields,\n getValues,\n isCreateGoalSuccess,\n isSubmitSuccessful,\n isSuccess,\n isUpdateGoalSuccess,\n navigate,\n onSubmitSuccess,\n reset,\n searchParams,\n siteRecommendationsHref,\n ])\n\n return (\n
\n {!buildingTypesIsLoading && locationOptions.length > 0 ? (\n \n \n \n \n InputProps={{\n endAdornment: %,\n }}\n inputProps={{ maxLength: \"3\" }}\n label=\"Emission Reduction\"\n name=\"reduction_target\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n thousandsGroupStyle: \"none\",\n thousandSeparator: \"\",\n }}\n sx={{ flex: 1 }}\n />\n \n fullWidth\n id=\"max_budget\"\n InputProps={{\n startAdornment: (\n \n {currencySymbol}\n \n ),\n }}\n label=\"Max budget\"\n name=\"budget\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n }}\n sx={{ flex: 1 }}\n />\n \n \n \n } severity=\"info\">\n \n Pro Tip:\n {\" \"}\n \n Improve recommendation accuracy by adding additional site\n information.\n \n \n\n \n \n \n \n Building Information\n \n \n \n \n \n \n Location\n \n \n \n \n \n fullWidth\n label=\"Address Line 1\"\n name=\"address.address_line_1\"\n required\n />\n \n \n \n fullWidth\n label=\"Address Line 2\"\n name=\"address.address_line_2\"\n />\n \n \n \n fullWidth\n label=\"City\"\n name=\"address.city\"\n required\n />\n \n \n \n fullWidth\n label=\"Zip Code\"\n name=\"address.postal_code\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n thousandsGroupStyle: \"none\",\n thousandSeparator: \"\",\n }}\n placeholder=\"Enter zip code\"\n required\n />\n \n \n \n fullWidth\n label=\"Country\"\n name=\"address.country\"\n options={countryOptions}\n placeholder=\"Select country\"\n required\n />\n \n \n \n fullWidth\n label=\"State\"\n name=\"address.state\"\n options={stateOptions}\n placeholder=\"Select state\"\n required={isStateRequired}\n />\n \n\n \n \n fullWidth\n label=\"Location\"\n name=\"locationId\"\n options={locationOptions}\n placeholder=\"Select site location\"\n />\n \n \n \n \n \n Building Details\n \n \n \n \n \n fullWidth\n label=\"Building Type\"\n name=\"buildingType\"\n options={\n buildingTypesData?.map((type) => {\n return {\n label: type,\n value: type,\n }\n }) ?? []\n }\n placeholder=\"Select building type\"\n required\n />\n \n \n \n fullWidth\n label=\"Building Area (sq. ft)\"\n name=\"sqFt\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n }}\n required\n />\n \n \n \n fullWidth\n label=\"Year Built\"\n name=\"yearBuilt\"\n required\n />\n \n\n \n \n fullWidth\n label=\"Number of Floors\"\n name=\"numberOfFloors\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n }}\n required\n type=\"number\"\n />\n \n \n \n \n \n \n\n {physicalDetailTypes.length > 0 ? (\n <>\n {physicalDetailTypes.map((physicalDetailType, index) => {\n const { schema: physicalDetailTypeSchema } = physicalDetailType\n const icon = iconMap[physicalDetailType.name]\n return (\n {\n if (expanded) {\n datadogRum.addAction(\"Site metadata section expanded\", {\n section: physicalDetailType.name,\n })\n }\n }}\n >\n \n {physicalDetailTypeSchema.title ??\n snakeToTitleCase(physicalDetailType.name)}\n \n \n \n \n \n )\n })}\n \n ) : null}\n\n \n \n Save and generate plans\n \n {\n datadogRum.addAction(\"Goals skipped\")\n }}\n to={`${siteRecommendationsHref}?${searchParams.toString()}`}\n variant=\"text\"\n >\n Skip\n \n \n \n ) : null}\n
\n )\n}\n","import type { ReactElement } from \"react\"\nimport React from \"react\"\n\nimport LightOutlinedIcon from \"@mui/icons-material/LightOutlined\"\nimport StraightenOutlinedIcon from \"@mui/icons-material/StraightenOutlined\"\n\nexport const useSectionToIconMap = (): Record => ({\n building_envelope_information: ,\n equipment_information: ,\n})\n","import type PhysicalDetail from \"../../../../models/physcialDetails\"\nimport type PhysicalDetailType from \"../../../../models/physical-detail-types\"\nimport type Site from \"../../../../models/site\"\nimport { generateShchemaDefaultValues } from \"./generate-schema-default-values\"\n\nexport const buildPhysicalDetailsDefaultValues = (\n physicalDetailTypes: PhysicalDetailType[],\n physicalDetails?: Site[\"physicalDetails\"]\n): Pick[] => {\n const defaultPhysicalDetails: Pick<\n PhysicalDetail,\n \"details\" | \"physicalDetailTypeId\"\n >[] = []\n for (const detailType of physicalDetailTypes) {\n const detail: Pick = {\n physicalDetailTypeId: detailType.id,\n details: {},\n }\n // find site physical detail with same id\n const sitePhysicalDetail = physicalDetails?.find(\n (physicalDetail) =>\n physicalDetail.physicalDetailTypeId?.toString() ===\n detailType.id?.toString()\n )\n if (\n detailType.schema.type === \"object\" &&\n detailType.schema.properties &&\n sitePhysicalDetail\n ) {\n const details = generateShchemaDefaultValues(\n detailType.schema.properties,\n sitePhysicalDetail.details\n )\n detail.details = details\n }\n defaultPhysicalDetails.push(detail)\n }\n return defaultPhysicalDetails\n}\n","import { State } from \"country-state-city\"\n\ninterface StateOptions {\n label: string\n value: string\n}\n\n/**\n * Returns a list of states for a given country code as options for a select field, where\n * the label is the state name and the value is the state iso code.\n *\n * @example\n * import { useStateOptions } from \"@/nzds/utils/useStateOptions\"\n * const stateOptions = useStateOptions('US')\n *\n */\nexport const useStateOptions = (countryCode?: string): StateOptions[] => {\n if (!countryCode) {\n return []\n }\n const states = State.getStatesOfCountry(countryCode).map(\n ({ name, isoCode }) => ({\n label: name,\n value: isoCode,\n })\n )\n const countryIsUSOrCA = [\"US\", \"CA\"].includes(countryCode)\n // Filters out minor territories which conveniently have an ISO code of 3 or more characters.\n if (countryIsUSOrCA) {\n return states.filter(({ value }) => value.length === 2)\n }\n return states\n}\n","import { useEffect, useState } from \"react\"\n\nimport { useGoogleMaps } from \"./useGoogleMaps\"\n\ninterface UseCalculateCoordinatesValue {\n coordinates: google.maps.LatLngLiteral\n}\n/**\n * The useCalculateCoordinates service/hook uses google maps\n * api to convert address to coordinates\n *\n * @returns coordinates\n * @example\n * const {\n * coordinates\n * } = useCalculateCoordinates(\"address\")\n */\nexport const useCalculateCoordinates = (\n address: string\n): UseCalculateCoordinatesValue => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const [coordinates, setCoordinates] = useState(null)\n const { isLoaded, googleMaps } = useGoogleMaps()\n\n useEffect(() => {\n if (isLoaded) {\n const geocoder = new googleMaps.Geocoder()\n if (geocoder) {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n geocoder.geocode({ address }, (results, status) => {\n if (status === googleMaps.GeocoderStatus.OK) {\n setCoordinates(results[0].geometry.location.toJSON())\n }\n })\n }\n }\n }, [address, isLoaded, googleMaps])\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n return { coordinates }\n}\n","import { useLoadScript } from \"@react-google-maps/api\"\n\ninterface UseGoogleMapsValue {\n googleMaps: typeof window.google.maps\n isLoaded: boolean\n}\n/**\n * The useGoogleMaps service/hook loads google maps api\n *\n * @returns isLoaded and google maps api handler\n * @example\n * const {\n * isLoaded, googleMaps\n * } = useGoogleMaps()\n */\nexport const useGoogleMaps = (): UseGoogleMapsValue => {\n let googleMaps = null\n const { isLoaded } = useLoadScript({\n googleMapsApiKey: process.env.REACT_APP_GOOGLE_API_KEY,\n })\n if (isLoaded) {\n googleMaps = window.google.maps\n }\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n return { isLoaded, googleMaps }\n}\n","import React from \"react\"\n\nimport { useCalculateCoordinates } from \"@/services/googleMaps\"\nimport { GoogleMap, OverlayView } from \"@react-google-maps/api\"\n\nimport PlaceIcon from \"@mui/icons-material/Place\"\nimport { Box, SvgIcon, Typography } from \"@mui/material\"\n\ninterface SiteMapProps {\n address: string\n}\nexport const SiteMap: React.FC = ({ address }) => {\n const { coordinates } = useCalculateCoordinates(address)\n return (\n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {coordinates ? (\n \n \n \n \n \n ) : (\n <>\n ({ color: theme.palette.text.secondary, mr: 1 })}\n />\n ({ color: theme.palette.text.secondary })}\n variant=\"body2\"\n >\n No Address Found\n \n \n )}\n \n )\n}\n","// @ts-strict-ignore\nimport React, { useMemo } from \"react\"\nimport type { FC, ReactNode } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { DecimalWithPlaceholder } from \"@/components/decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Unit } from \"@/components/unit/unit\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { MeasurementSystem } from \"@/models/measurementSystem\"\nimport type { Site } from \"@/models/site\"\nimport { UnitName } from \"@/models/unit\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { getMeasurementSystem, squareFootToSquareMeter } from \"@/utils\"\n\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\"\nimport { Box, Divider, IconButton, Stack, Typography } from \"@mui/material\"\nimport Grid2 from \"@mui/material/Unstable_Grid2\"\n\nimport { SiteMap } from \"../map/siteMap\"\nimport { getSiteAddress } from \"./siteInfoUtils\"\n\ninterface SiteInfoContentProps {\n onClose: () => void\n site: Site | null\n /**\n * Optional content to display below the primary site info\n */\n supplementalInfo?: ReactNode\n}\n\nexport const SiteInfoContent: FC = ({\n onClose,\n site,\n supplementalInfo,\n}) => {\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const { i18n } = useTranslation()\n const isMetric = useMemo(\n () => getMeasurementSystem(i18n.language) !== MeasurementSystem.USCU,\n [i18n.language]\n )\n const siteArea = isMetric\n ? squareFootToSquareMeter(Number(site?.sqFt))\n : site?.sqFt\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const siteAddress = getSiteAddress(site?.address)\n return (\n \n theme.palette.background.paper,\n position: \"sticky\",\n top: 0,\n zIndex: 4, // Above the Google map\n }}\n >\n \n {site?.name}\n \n \n \n \n \n \n \n \n \n \n \n Location\n \n \n \n {site?.address ? (\n \n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {site.address.address_line_1 ?? \"\"}\n {site.address.address_line_2\n ? ` ${site.address.address_line_2}`\n : \"\"}\n ,\n \n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {site.address.city ?? \"\"}, {site.address.state ?? \"\"}{\" \"}\n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {site.address.postal_code ?? \"\"}\n \n \n ) : (\n No Address Found\n )}\n \n \n \n {isUseFlexibleHierarchyEnabled ? \"Group\" : \"Department\"}\n \n \n \n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {site?.departmentName ??\n `No ${\n isUseFlexibleHierarchyEnabled ? \"Group\" : \"Department\"\n } Found`}{\" \"}\n \n \n \n \n \n \n\n \n\n \n \n \n \n \n Building Type\n \n \n \n \n {site?.buildingType ?? \"No Building Type Found\"}\n \n \n \n \n Building Area\n \n \n \n \n {\" \"}\n \n \n \n \n \n Year Built\n \n \n \n \n {site?.yearBuilt ?? \"No Year Built Found\"}\n \n \n \n \n\n {supplementalInfo ? (\n <>\n \n {supplementalInfo}\n \n ) : null}\n \n )\n}\n","import type Address from \"../../../../models/address\"\n\nexport const getSiteAddress = (address: Address) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (address) {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n return `${address.address_line_1 ?? \"\"} ${address.address_line_2 ?? \"\"} ${\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n address.city ?? \"\"\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n } ${address.state ?? \"\"} ${address.postal_code ?? \"\"} ${\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n address.country ?? \"\"\n }`\n }\n return null\n}\n","export const drawerWidth = 300\nexport const drawerContainerGap = 16\n","import React, { useMemo } from \"react\"\nimport type { FC } from \"react\"\n\nimport { InfoOutlined } from \"@mui/icons-material\"\nimport { Box, Drawer, IconButton, Tooltip, Typography } from \"@mui/material\"\nimport Grid2 from \"@mui/material/Unstable_Grid2\"\n\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { useFormatDecimal } from \"../../../../formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"../../../../formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { SiteInfoContent } from \"../../../site/components/siteInfo/siteInfoContent\"\nimport { emptyDataPlaceholder } from \"../../constants\"\nimport { useGetPotentialSites } from \"../../services/use-get-potential-sites/use-get-potential-sites\"\nimport { drawerWidth } from \"./site-info-drawer.constants\"\nimport type { SiteInfoDrawerProps } from \"./site-info-drawer.types\"\n\nexport const SiteInfoDrawer: FC = ({\n open,\n onClose,\n site,\n}) => {\n const { data } = useGetPotentialSites()\n\n const { format: formatDecimal } = useFormatDecimal({\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n\n const { format: formatPercentage } = useFormatPercentage({\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n const gjSqFtUnit = useUnit(UnitName.GigaJoulePerSquareFoot)\n\n // temporary for now, as other endpionts are not ready\n const potentialSite = useMemo(() => {\n let foundSite\n if (data && data.length > 0) {\n foundSite = data.find((item) => item.site_id === Number(site.id))\n }\n\n return foundSite\n }, [data, site.id])\n\n let supplementalInfo = null\n if (potentialSite) {\n supplementalInfo = (\n \n \n \n \n Annual Emissions\n \n \n \n \n {formatDecimal(potentialSite.base_total_emissions)} {co2eUnit}\n \n \n \n \n Portfolio Impact\n \n \n \n \n \n \n \n \n \n {formatPercentage(potentialSite.portfolio_impact)}\n \n \n \n \n Annual Volume\n \n \n \n \n {formatDecimal(potentialSite.base_total_usage)} {gjSqFtUnit}\n \n \n \n \n EUI\n \n \n \n \n {potentialSite.eui ? (\n <>\n {formatDecimal(potentialSite.eui)} {gjSqFtUnit}\n \n ) : (\n emptyDataPlaceholder\n )}\n \n \n \n \n Operational Cost\n \n \n \n \n {formatMoney(potentialSite.total_cost)}\n \n \n \n \n )\n }\n\n return (\n \n \n \n )\n}\n","import { type JSONSchema6 } from \"json-schema\"\nimport { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class PhysicalDetailType extends ApplicationRecord {\n public static jsonapiType = \"physical_detail_types\"\n\n @Attr() public name: string\n\n @Attr() public description: string | null\n\n @Attr() public schema: JSONSchema6\n}\n","import type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport PhysicalDetailType from \"../../../../models/physical-detail-types\"\n\n/**\n * gets list of physcial detail types\n */\nexport const getPhysicalDetailTypes = async (): Promise<\n PhysicalDetailType[] | undefined\n> => {\n const response: CollectionProxy =\n await PhysicalDetailType.all()\n\n return response.data\n}\n","import type { RecordProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport Site from \"../../../../models/site\"\n\n/**\n * Gets site by id\n */\nexport const getSite = async (siteId: string): Promise => {\n const response: RecordProxy = await Site.includes([\n \"organization\",\n \"address\",\n \"location\",\n \"physical_details\",\n ])\n .selectExtra([\n \"sq_ft\",\n \"number_of_floors\",\n \"building_type\",\n \"department_name\",\n ])\n .find(siteId)\n\n return response.data\n}\n","import { ApiQueryName } from \"@/models/api\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { getSite } from \"./get-site\"\n\ninterface UseGetSiteOptions {\n queryOptions?: Omit\n}\n\n/**\n * Returns a site by id\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetSite({ queryOptions }); // react query options\n */\nexport const useGetSite = (siteId: string, options: UseGetSiteOptions = {}) => {\n const queryKey = useQueryKey(ApiQueryName.Site, \"getOne\", siteId)\n\n let queryParams = {\n queryKey,\n queryFn: () => getSite(siteId),\n }\n\n if (options.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const queryResult = useQuery(queryParams)\n\n return queryResult\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport {\n Link,\n generatePath,\n useNavigate,\n useParams,\n useSearchParams,\n} from \"react-router-dom\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { StyledPageCard } from \"@/components/page-card/styled-page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { featureGuarded } from \"@/hocs/feature-guarded\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { FeatureFlags } from \"@/services/feature\"\nimport { useUrl } from \"@/utils/url\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport { IconButton } from \"@mui/material\"\n\nimport SiteInfoButton from \"../../../site/components/siteInfo/siteInfoButton/siteInfoButton\"\nimport { EditSiteConfirmation } from \"../../components/edit-site-information/edit-site-confirmation\"\nimport { PlanningSteps } from \"../../components/planning-steps/planning-steps\"\nimport { SiteGoalsForm } from \"../../components/site-goals-form/site-goals-form\"\nimport { SiteInfoDrawer } from \"../../components/site-info-drawer/site-info-drawer\"\nimport {\n drawerContainerGap,\n drawerWidth,\n} from \"../../components/site-info-drawer/site-info-drawer.constants\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useGetGoals } from \"../../services/use-get-goals/use-get-goals\"\nimport { useGetPhysicalDetailTypes } from \"../../services/useGetPhysicalDetailTypes/use-get-physical-detail-types\"\nimport { useGetSite } from \"../../services/useGetSite/use-get-site\"\n\nconst SiteGoalsRouteBase: FC = () => {\n const { recommendationsPath } = useUrl()\n const { siteId } = useParams<{ siteId: string }>()\n\n const {\n close: drawerClose,\n isOpen: drawerIsOpen,\n toggle: drawerToggle,\n } = useDisclosure()\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const { data: site, isLoading: isSiteLoading } = useGetSite(siteId!)\n\n const { data: goals, isLoading: isGoalsLoading } = useGetGoals({\n query: {\n site_id: siteId,\n },\n useQueryOptions: {\n enabled: Boolean(siteId),\n },\n })\n\n const { data: physicalDetailTypes, isLoading: isPhysicalDetailTypesLoading } =\n useGetPhysicalDetailTypes()\n\n const { close, isOpen, open } = useDisclosure()\n\n const isLoading =\n isSiteLoading || isPhysicalDetailTypesLoading || isGoalsLoading\n\n const navigate = useNavigate()\n\n const [searchParams] = useSearchParams()\n\n const siteRecommendationsHref = generatePath(\n `${recommendationsPath}/${RecommendationsPath.Site}`,\n { siteId: siteId ?? null }\n )\n\n return (\n \n {site && goals ? (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n navigate(\n `${siteRecommendationsHref}?${searchParams.toString()}`\n )\n }}\n open={isOpen}\n />\n {physicalDetailTypes ? (\n {\n open()\n }}\n physicalDetailTypes={physicalDetailTypes}\n site={site}\n />\n ) : null}\n \n \n \n \n \n ) : null}\n \n )\n}\n\nexport const SiteGoalsRoute = featureGuarded(\n SiteGoalsRouteBase,\n FeatureFlags.PLANNING\n)\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getPhysicalDetailTypes } from \"./get-physical-detail-types\"\n\ninterface UseGetPhysicalDetailTypesOptions {\n queryOptions?: Omit\n}\n\n/**\n * returns physical details schema\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetPhysicalDetailTypes({ queryOptions }); // react query options\n */\nexport const useGetPhysicalDetailTypes = (\n options: UseGetPhysicalDetailTypesOptions = {}\n) => {\n const queryKey = useQueryKey(ApiQueryName.PhysicalDetailTypes, \"getMany\")\n\n let queryParams = {\n queryKey,\n queryFn: () => getPhysicalDetailTypes(),\n }\n\n if (options.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const queryResult = useQuery(queryParams)\n\n return queryResult\n}\n","import React from \"react\"\n\nimport type { GridColumnHeaderParams } from \"@mui/x-data-grid-pro\"\n\nexport const renderColumnHeader = (params: GridColumnHeaderParams) => (\n {params.colDef.headerName}\n)\n","import { useTheme } from \"@mui/material\"\n\nimport type { InterventionToColorMap } from \"./use-intervention-type-colors.types\"\n\nexport const useInterventionTypeColors = (): InterventionToColorMap => {\n const theme = useTheme()\n\n return {\n behavioral: {\n hover: theme.palette.spectrum.purple[500],\n background: theme.palette.spectrum.purple[200],\n foreground: theme.palette.spectrum.purple[400],\n },\n energy_efficiency: {\n hover: theme.palette.spectrum.peach[400],\n background: theme.palette.spectrum.peach[100],\n foreground: theme.palette.spectrum.peach[300],\n },\n energy_transition: {\n hover: theme.palette.spectrum.cerulean[300],\n background: theme.palette.spectrum.cerulean[50],\n foreground: theme.palette.spectrum.cerulean[200],\n },\n }\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Box, Stack, Typography } from \"@mui/material\"\n\nimport { useInterventionTypeColors } from \"../../services/useInterventionTypeColors/use-intervention-type-colors\"\nimport { useInterventionTypeLabels } from \"../../services/useInterventionTypeLabels/use-intervention-type-labels\"\nimport type { InterventionTypeCellProps } from \"./intervention-type-cell.types\"\n\nexport const InterventionTypeCell: FC = ({\n interventionType,\n}) => {\n const colorMap = useInterventionTypeColors()\n const labelMap = useInterventionTypeLabels()\n return (\n \n \n {labelMap[interventionType]}\n \n )\n}\n","import type { InterventionToLabelMap } from \"./use-intervention-type-labels.types\"\n\nexport const useInterventionTypeLabels = (): InterventionToLabelMap => ({\n behavioral: \"Behavioral\",\n energy_efficiency: \"Efficiency\",\n energy_transition: \"Transition\",\n})\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type {\n GridColDef,\n GridRenderCellParams,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\nimport { DataGridPro } from \"@mui/x-data-grid-pro\"\n\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { renderColumnHeader } from \"../../../../utils/render-column-header\"\nimport { renderRowNumber } from \"../../../../utils/render-row-number\"\nimport { useUserSettings } from \"../../../settings\"\nimport { emptyDataPlaceholder } from \"../../constants\"\nimport { InterventionTypeCell } from \"../intervention-type-cell/intervention-type-cell\"\nimport type { RowData } from \"./interventions-table.types\"\n\ninterface InterventionsTableProps {\n rows: RowData[]\n}\n\nconst baseColumnDef: Partial = {\n disableColumnMenu: true,\n hideable: false,\n disableReorder: true,\n renderHeader: renderColumnHeader,\n flex: 1,\n}\n\nexport const InterventionsTable: FC = ({ rows }) => {\n const { t } = useTranslation()\n const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n const currencySymbol = useCurrencySymbol()\n const { currency } = useUserSettings()\n const columnDefinitions: GridColDef[] = useMemo(() => {\n const moneyFormatParams = {\n currency,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n }\n return [\n {\n ...baseColumnDef,\n field: \"number\",\n align: \"center\",\n headerAlign: \"center\",\n sortable: false,\n resizable: false,\n headerName: \"#\",\n width: 44,\n maxWidth: 44,\n renderCell: renderRowNumber,\n },\n {\n ...baseColumnDef,\n field: \"name\",\n align: \"left\",\n headerName: \"Intervention name\",\n minWidth: 230,\n },\n {\n ...baseColumnDef,\n field: \"interventionType\",\n align: \"left\",\n headerName: \"Intervention type\",\n sortable: false,\n renderCell: (\n params: GridRenderCellParams\n ) => {\n if (params.value) {\n return \n }\n return emptyDataPlaceholder\n },\n },\n {\n ...baseColumnDef,\n field: \"percentEmissionSavings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"Emission Reduction (%)\",\n minWidth: 200,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => {\n if (!params.value) {\n return emptyDataPlaceholder\n }\n const formatted = t(\"common:percentage\", {\n value: params.value,\n maximumFractionDigits: 2,\n minimumFactionDigits: 2,\n })\n return formatted\n },\n },\n {\n ...baseColumnDef,\n field: \"annualEmissionsSavings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `${co2eUnit} Removed`,\n valueFormatter: (params: GridValueFormatterParams) => {\n if (typeof params.value === \"string\") {\n return emptyDataPlaceholder\n }\n const formattedDecimal = t(\"common:decimal\", {\n value: params.value,\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n return formattedDecimal\n },\n },\n {\n ...baseColumnDef,\n field: \"capitalCost\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Capital cost (${currencySymbol})`,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => {\n if (!params.value) {\n return emptyDataPlaceholder\n }\n const formatted = t(\"common:money\", {\n value: params.value,\n formatParams: {\n value: moneyFormatParams,\n },\n })\n return formatted\n },\n },\n {\n ...baseColumnDef,\n field: \"annualCostSavings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Annual cost savings (${currencySymbol})`,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => {\n if (!params.value) {\n return emptyDataPlaceholder\n }\n const formatted = t(\"common:money\", {\n value: params.value,\n formatParams: {\n value: moneyFormatParams,\n },\n })\n return formatted\n },\n },\n {\n ...baseColumnDef,\n field: \"roiYears\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `ROI (Years)`,\n maxWidth: 100,\n valueFormatter: (\n params: GridValueFormatterParams\n ) => {\n if (!params.value) {\n return emptyDataPlaceholder\n }\n const formatted = t(\"common:decimal\", {\n value: params.value,\n minimumFractionDigits: 0,\n maximumFractionDigits: 2,\n })\n return formatted\n },\n },\n ]\n }, [co2eUnit, currency, currencySymbol, t])\n\n return (\n \n )\n}\n","import type { FC, MouseEventHandler } from \"react\"\nimport React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport {\n Box,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n Typography,\n} from \"@mui/material\"\n\nimport CityStreetImageSrc from \"../../../../assets/images/recommendations/city-street.png\"\nimport { DialogTitle } from \"../../../../nzds/feedback/dialog-title/dialog-title\"\n\ninterface PlanConfirmationDialogProps {\n onClose: MouseEventHandler | undefined\n open: boolean\n}\n\nexport const PlanConfirmationDialog: FC = ({\n open,\n onClose,\n}) => {\n const { recommendationsPath } = useUrl()\n\n return (\n \n \n You're on Track!\n \n \n \n \n \n We’ve successfully added this plan to your roadmap.\n \n \n \n \n \n View portfolio overview\n \n \n \n )\n}\n","import React from \"react\"\n\nimport type { TooltipProps } from \"@mui/material\"\nimport { Tooltip, tooltipClasses } from \"@mui/material\"\nimport { styled } from \"@mui/material/styles\"\n\nexport const BreakdownTooltip = styled(\n ({ className, ...props }: TooltipProps) => (\n \n )\n)(({ theme }) => ({\n [`& .${tooltipClasses.tooltip}`]: {\n color: theme.palette.text.primary,\n backgroundColor: theme.palette.common.white,\n maxWidth: theme.typography.pxToRem(200),\n boxShadow: theme.shadows[3],\n },\n}))\n","// @ts-strict-ignore\nimport type { FC } from \"react\"\nimport React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Box, Stack, Typography, styled } from \"@mui/material\"\n\nimport { useInterventionTypeColors } from \"../../services/useInterventionTypeColors/use-intervention-type-colors\"\nimport { useInterventionTypeLabels } from \"../../services/useInterventionTypeLabels/use-intervention-type-labels\"\nimport { BreakdownTooltip } from \"./components/tooltip/tooltip\"\nimport type { PlanDetailsSavingsBreakdownProps } from \"./plan-details-savings-breakdown.types\"\n\nconst DataGroup = styled(Box)`\n ${({ theme }) => `\n border-radius: 2px;\n padding: ${theme.spacing(0.25)};\n display: flex;\n transition: ${theme.transitions.create([\"background-color\"], {\n duration: theme.transitions.duration.short,\n easing: theme.transitions.easing.easeInOut,\n })};\n `}\n`\n\nexport const PlanDetailsSavingsBreakdown: FC<\n PlanDetailsSavingsBreakdownProps\n> = ({ breakdown }) => {\n const typeToColors = useInterventionTypeColors()\n const labelMap = useInterventionTypeLabels()\n\n const { t } = useTranslation()\n\n let breakdownRemaining = 1\n for (const dataGroup of breakdown) {\n if (dataGroup.value > breakdownRemaining) {\n breakdownRemaining = 0\n break\n }\n breakdownRemaining -= Number(dataGroup.value.toPrecision(2))\n }\n\n return (\n \n \n {breakdown.map((group) => (\n \n \n {labelMap[group.type]}\n \n {t(\"common:percentage\", {\n value: group.value,\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })}\n \n \n ))}\n {breakdownRemaining > 0 ? (\n \n \n Remaining\n \n {t(\"common:percentage\", {\n value: breakdownRemaining,\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })}\n \n \n ) : null}\n \n\n \n {breakdown.map((dataGroup) => (\n theme.typography.pxToRem(62)}\n width={`${dataGroup.value * 100}%`}\n >\n \n {dataGroup.interventions.map((intervention) => (\n \n \n {intervention.name}\n \n \n Type:{\" \"}\n \n {labelMap[dataGroup.type]}\n \n \n \n Emission savings:{\" \"}\n \n {t(\"common:percentage\", {\n value: intervention.emission_savings_ratio,\n maximumFractionDigits: 2,\n minimumFactionDigits: 2,\n })}\n \n \n \n }\n >\n \n \n ))}\n \n \n ))}\n {breakdownRemaining > 0 ? (\n \n ) : null}\n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Stack } from \"@mui/material\"\n\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { useUserSettings } from \"../../../settings\"\nimport { calcuateAnnualSavings } from \"../../utils/calculateAnnualSavings\"\nimport { calculateEmissionSavingsPercentage } from \"../../utils/calculateEmissionSavingsPercentage\"\nimport { StatCardContent } from \"../stat-card-content/stat-card-content\"\nimport { StatCard } from \"../stat-card/stat-card\"\nimport type { PlanStatsBarProps } from \"./plan-stats-bar.types\"\n\nexport const PlanStatsBar: FC = ({ plan }) => {\n const { currency } = useUserSettings()\n const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n const { t } = useTranslation()\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import type { Organization } from \"@/models/organization\"\nimport type { Operations } from \"@/services/types\"\nimport { httpClient } from \"@/utils/api\"\n\nexport type CreateSitePlanProps =\n Operations[\"create_site_plan_api_v1_plans_post\"][\"requestBody\"][\"content\"][\"application/json\"] & {\n organization_id: Organization[\"id\"]\n }\n\n/**\n * makes a post request to save a plan to a site for an org\n */\nexport const createSitePlan = async (\n body: CreateSitePlanProps\n): Promise<\n Operations[\"create_site_plan_api_v1_plans_post\"][\"responses\"][\"200\"]\n> => {\n const response = await httpClient.post<\n Operations[\"create_site_plan_api_v1_plans_post\"][\"responses\"][\"200\"]\n >(`/api/v1/recommendations/plans`, body)\n\n return response.data\n}\n","import type { Organization } from \"@/models/organization\"\nimport type { Operations, Schemas } from \"@/services/types\"\nimport { httpClient } from \"@/utils/api\"\n\ninterface GetSiteRecommendationOptions {\n organization_id: Organization[\"id\"]\n path: Operations[\"get_bs_summary_api_v1_building_simulations__id__get\"][\"parameters\"][\"path\"]\n}\n\nexport const getSiteRecommendation = async (\n options: GetSiteRecommendationOptions\n): Promise => {\n const response = await httpClient.get(\n `/api/v1/recommendations/building_simulations/${options.path.id}`,\n {\n params: {\n organization_id: options.organization_id,\n },\n }\n )\n\n return response.data\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { getSiteRecommendation } from \"./get-site-recommendation\"\n\ninterface UseGetSiteRecommendationOptions {\n queryOptions?: Omit\n}\n\n/**\n * Returns a recommendation by id\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetSiteRecommendation(227, { queryOptions });\n */\nexport const useGetSiteRecommendation = (\n planId: number,\n options: UseGetSiteRecommendationOptions = {}\n) => {\n const { organization } = useOrganizationContext()\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationSite,\n \"getOne\",\n null,\n {\n planId,\n }\n )\n\n let queryParams = {\n queryKey,\n queryFn: () =>\n getSiteRecommendation({\n organization_id: organization?.id,\n path: {\n id: planId,\n },\n }),\n }\n\n if (options.queryOptions) {\n queryParams = {\n ...options.queryOptions,\n ...queryParams,\n }\n }\n\n const query = useQuery(queryParams)\n\n return query\n}\n","// @ts-strict-ignore\nimport type { components } from \"@/services/generated/schema\"\nimport type { Schemas } from \"@/services/types\"\n\nimport { useFormatPercentage } from \"../../../formatters/useFormatPercentage\"\n\nexport const buildPlanName = (plan: Schemas[\"BuildSimResponse\"]) => {\n if (!plan.interventions) {\n return undefined\n }\n const interventionValues = Object.values(\n plan.interventions as Record<\n string,\n Record\n >\n )\n const interventionsList = []\n for (const interventionSet of interventionValues) {\n for (const [interventionName, intervention] of Object.entries(\n interventionSet\n )) {\n if (intervention.included) {\n interventionsList.push({ name: interventionName, ...intervention })\n }\n }\n }\n\n interventionsList.sort(\n (a, b) =>\n b.contribution.percentage_emissions_savings -\n a.contribution.percentage_emissions_savings\n )\n\n const planNameList: { name: string; percentage?: number }[] = []\n\n for (const i of interventionsList) {\n const nameListValue = {\n name: i.name,\n percentage: i.contribution.emission_savings_ratio,\n }\n planNameList.push(nameListValue)\n }\n\n return planNameList\n}\n\nexport const useBuildPlanNameString = () => {\n const { format } = useFormatPercentage()\n\n const buildPlanNameString = (plan?: Schemas[\"BuildSimResponse\"]): string => {\n if (!plan) {\n return \"\"\n }\n\n const planNameList = buildPlanName(plan)\n const planNameString = (planNameList ?? [])\n .map(\n (value) =>\n `${value.name}: ${value.percentage ? format(value.percentage) : \"\"}`\n )\n .join(\", \")\n\n return planNameString\n }\n\n return { buildPlanNameString }\n}\n","// @ts-strict-ignore\nimport React, { useMemo, useState } from \"react\"\nimport type { FC } from \"react\"\nimport {\n Link,\n generatePath,\n useLocation,\n useNavigate,\n useParams,\n} from \"react-router-dom\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { StyledPageCard } from \"@/components/page-card/styled-page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { SectionHeader } from \"@/components/section-header/section-header\"\nimport { featureGuarded } from \"@/hocs/feature-guarded\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { FeatureFlags } from \"@/services/feature\"\nimport type { Schemas } from \"@/services/types\"\nimport { useUrl } from \"@/utils/url\"\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport { Box, Button, IconButton, Stack } from \"@mui/material\"\n\nimport SiteInfoButton from \"../../../site/components/siteInfo/siteInfoButton/siteInfoButton\"\nimport { InterventionsTable } from \"../../components/interventions-table/interventions-table\"\nimport type { RowData } from \"../../components/interventions-table/interventions-table.types\"\nimport { PlanConfirmationDialog } from \"../../components/plan-confirmation-dialog/plan-confirmation-dialog\"\nimport { PlanDetailsSavingsBreakdown } from \"../../components/plan-details-savings-breakdown/plan-details-savings-breakdown\"\nimport type { Breakdown } from \"../../components/plan-details-savings-breakdown/plan-details-savings-breakdown.types\"\nimport { PlanStatsBar } from \"../../components/plan-stats-bar/plan-stats-bar\"\nimport { PlanningSteps } from \"../../components/planning-steps/planning-steps\"\nimport { SiteInfoDrawer } from \"../../components/site-info-drawer/site-info-drawer\"\nimport {\n drawerContainerGap,\n drawerWidth,\n} from \"../../components/site-info-drawer/site-info-drawer.constants\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useCreateSitePlan } from \"../../services/useCreateSitePlan/use-create-site-plan\"\nimport { useGetSite } from \"../../services/useGetSite/use-get-site\"\nimport { useGetSiteRecommendation } from \"../../services/useGetSiteRecommendation/use-get-site-recommendation\"\nimport { useBuildPlanNameString } from \"../../utils/build-plan-name\"\n\nconst SitePlanDetailsEditRouteBase: FC = () => {\n const { recommendationsPath } = useUrl()\n const { siteId, planId } = useParams>()\n const [open, setOpen] = useState(false)\n const navigate = useNavigate()\n\n const {\n close: drawerClose,\n isOpen: drawerIsOpen,\n toggle: drawerToggle,\n } = useDisclosure()\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const { data: site } = useGetSite(siteId!)\n\n const location = useLocation()\n\n const state = location.state as\n | { goBackTo?: string; searchParams?: string }\n | undefined\n\n const { mutateAsync, isLoading: isCreateSitePlanLoading } =\n useCreateSitePlan()\n\n const {\n data: plan,\n isFetching: planIsFetching,\n isLoading: planIsloading,\n } = useGetSiteRecommendation(Number(planId))\n\n const emissionsSavingsBreakdown = useMemo(() => {\n const breakDown: Breakdown[] = []\n if (plan?.interventions) {\n for (const group in plan.interventions) {\n // calc total value\n let value = 0\n // reformat interventions\n const interventions = []\n\n for (const intervention in plan.interventions[group]) {\n interventions.push({\n name: intervention,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ...plan.interventions[group][intervention].contribution,\n })\n value +=\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n plan.interventions[group][intervention].contribution\n .emission_savings_ratio\n }\n\n breakDown.push({\n type: group,\n value,\n interventions,\n })\n }\n }\n return breakDown\n }, [plan?.interventions])\n\n const rows = useMemo(() => {\n const computedRows: RowData[] = []\n if (plan?.interventions) {\n for (const group in plan.interventions) {\n for (const intervention in plan.interventions[group]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const interventionData: Schemas[\"InterventionContribution\"] =\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n plan.interventions[group][intervention]\n\n const {\n annual_emissions_savings,\n capital_cost,\n annual_cost_savings,\n emission_savings_ratio,\n } = interventionData.contribution\n\n computedRows.push({\n interventionType: group,\n name: intervention,\n id: intervention,\n annualEmissionsSavings: annual_emissions_savings,\n capitalCost: capital_cost,\n annualCostSavings: annual_cost_savings,\n percentEmissionSavings: emission_savings_ratio,\n roiYears: capital_cost / annual_cost_savings,\n })\n }\n }\n }\n\n return computedRows\n }, [plan?.interventions])\n\n const handleClickSave = async () => {\n await mutateAsync({\n organization_id: site?.organizationId.toString(),\n plan_id: Number(planId),\n site_id: Number(siteId),\n })\n datadogRum.addAction(\"Plan saved\", {\n interventions: rows.map((row) => row.name).join(\"|\"),\n inverentionsCount: rows.length,\n emissionsDiff: plan?.emissions_diff,\n costDiff: plan?.cost_diff,\n })\n setOpen(true)\n }\n\n const handleOnClose = () => {\n setOpen(false)\n navigate(recommendationsPath)\n }\n\n const isLoading = planIsFetching || planIsloading\n\n const siteRecommendationsTo = `${generatePath(\n `${recommendationsPath}/${RecommendationsPath.Site}`,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n { siteId: siteId! }\n )}${state?.searchParams ? `?${state.searchParams}` : \"\"}`\n\n const backButtonTo = state?.goBackTo ?? siteRecommendationsTo\n\n const { buildPlanNameString } = useBuildPlanNameString()\n const planNameFromInterventions = buildPlanNameString(plan)\n\n return (\n \n <>\n {site ? (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n {!isLoading && plan ? (\n \n \n {planNameFromInterventions ? (\n {\n void handleClickSave()\n }}\n sx={{ whiteSpace: \"nowrap\" }}\n variant=\"contained\"\n >\n Save Plan\n \n }\n title={planNameFromInterventions}\n />\n ) : null}\n\n \n \n \n \n \n \n ) : null}\n \n \n \n \n \n ) : null}\n \n \n \n )\n}\n\nexport const SitePlanDetailsEditRoute = featureGuarded(\n SitePlanDetailsEditRouteBase,\n FeatureFlags.PLANNING\n)\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Operations } from \"@/services/types\"\nimport { createQueryKey } from \"@/services/utils/createQueryKey\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport type { AxiosError } from \"axios\"\n\nimport { createSitePlan } from \"./create-site-plan\"\nimport type { CreateSitePlanProps } from \"./create-site-plan\"\n\ninterface UseCreateSitePlanOptions {\n queryOptions?: Omit<\n UseMutationOptions<\n Operations[\"create_site_plan_api_v1_plans_post\"][\"responses\"][\"200\"],\n AxiosError<\n Operations[\"create_site_plan_api_v1_plans_post\"][\"responses\"][\"422\"][\"content\"][\"application/json\"]\n >,\n CreateSitePlanProps\n >,\n \"mutationFn\"\n >\n}\n\n/**\n * returns a mutation to save a plan id to a site\n * will automatically invalidate the queries for getting planned sites\n * and for getting a plan for a site\n */\nexport const useCreateSitePlan = (options?: UseCreateSitePlanOptions) => {\n const queryClient = useQueryClient()\n const { organization } = useOrganizationContext()\n const query = {\n organization_id: Number(organization?.id),\n }\n const plansQueryKey = useQueryKey(\n ApiQueryName.RecommendationsPlans,\n \"getMany\",\n null,\n {\n ...query,\n }\n )\n const mutation = useMutation(createSitePlan, {\n ...(options?.queryOptions ?? {}),\n onSuccess: (data, variables, context) => {\n if (options?.queryOptions?.onSuccess) {\n void options.queryOptions.onSuccess(data, variables, context)\n }\n\n void queryClient.invalidateQueries(plansQueryKey)\n void queryClient.invalidateQueries(\n createQueryKey(ApiQueryName.RecommendationSite, \"getOne\")\n )\n },\n })\n return mutation\n}\n","import type { Organization } from \"@/models/organization\"\nimport type { Site } from \"@/models/site\"\nimport type { Operations } from \"@/services/types\"\nimport { httpClient } from \"@/utils\"\n\nexport interface DeleteSitePlanProps {\n organizationId: Organization[\"id\"]\n siteId: Site[\"id\"]\n}\n\n/**\n * makes a delete request to delete a site plan\n */\nexport const deleteSitePlan = async ({\n organizationId,\n siteId,\n}: DeleteSitePlanProps): Promise<\n Operations[\"delete_site_plan_api_v1_plans__site_id__delete\"][\"responses\"][\"200\"]\n> => {\n const response = await httpClient.delete<\n Operations[\"delete_site_plan_api_v1_plans__site_id__delete\"][\"responses\"][\"200\"]\n >(`/api/v1/recommendations/plans/${siteId}`, {\n params: {\n organization_id: organizationId,\n },\n })\n\n return response.data\n}\n","// @ts-strict-ignore\nimport React, { useEffect, useMemo } from \"react\"\nimport type { FC } from \"react\"\nimport {\n Link,\n generatePath,\n useLocation,\n useNavigate,\n useParams,\n} from \"react-router-dom\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { SectionHeader } from \"@/components/section-header/section-header\"\nimport { featureGuarded } from \"@/hocs/feature-guarded\"\nimport { HStack } from \"@/nzds/layout\"\nimport { FeatureFlags } from \"@/services/feature\"\nimport type { Schemas } from \"@/services/types\"\nimport { useUrl } from \"@/utils/url\"\nimport { datadogRum } from \"@datadog/browser-rum\"\nimport { useConfirm } from \"material-ui-confirm\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport DeleteRoundedIcon from \"@mui/icons-material/DeleteRounded\"\nimport { Box, Button, IconButton, Stack } from \"@mui/material\"\n\nimport { InterventionsTable } from \"../../components/interventions-table/interventions-table\"\nimport type { RowData } from \"../../components/interventions-table/interventions-table.types\"\nimport { PlanDetailsSavingsBreakdown } from \"../../components/plan-details-savings-breakdown/plan-details-savings-breakdown\"\nimport type { Breakdown } from \"../../components/plan-details-savings-breakdown/plan-details-savings-breakdown.types\"\nimport { PlanStatsBar } from \"../../components/plan-stats-bar/plan-stats-bar\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useDeleteSitePlan } from \"../../services/useDeleteSitePlan/use-delete-site-plan\"\nimport { useGetSite } from \"../../services/useGetSite/use-get-site\"\nimport { useGetSiteRecommendation } from \"../../services/useGetSiteRecommendation/use-get-site-recommendation\"\nimport { useBuildPlanNameString } from \"../../utils/build-plan-name\"\n\nconst SitePlanDetailsRouteBase: FC = () => {\n const { recommendationsPath } = useUrl()\n const { siteId, planId } = useParams>()\n\n const confirm = useConfirm()\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const { data: site } = useGetSite(siteId!)\n\n const {\n mutateAsync,\n isSuccess,\n isLoading: isDeleteSitePlanLoading,\n } = useDeleteSitePlan()\n\n const handleClickDeletePlan = () => {\n async function confirmThenDeletePlan() {\n await confirm({\n title: `Remove decarbonization plan from ${site?.name}?`,\n description:\n \"This will remove the selected plan from this site. You can revisit this site in the 'Plan a Site' section to choose a new plan.\",\n confirmationText: \"Remove Plan\",\n confirmationButtonProps: {\n variant: \"contained\",\n color: \"error\",\n endIcon: ,\n },\n cancellationText: \"Cancel\",\n cancellationButtonProps: { variant: \"text\", color: \"neutral\" },\n })\n\n void mutateAsync({\n organizationId: site.organizationId.toString(),\n siteId,\n })\n datadogRum.addAction(\"Plan removed\")\n }\n void confirmThenDeletePlan()\n }\n\n const navigate = useNavigate()\n\n useEffect(() => {\n if (isSuccess) {\n navigate(`${recommendationsPath}`)\n }\n }, [isSuccess, navigate, recommendationsPath])\n\n const location = useLocation()\n\n const state = location.state as\n | { goBackTo?: string; searchParams?: string }\n | undefined\n\n const { data: plan, isLoading: planIsloading } = useGetSiteRecommendation(\n Number(planId)\n )\n\n const emissionsSavingsBreakdown = useMemo(() => {\n const breakDown: Breakdown[] = []\n if (plan?.interventions) {\n for (const group in plan.interventions) {\n // calc total value\n let value = 0\n // reformat interventions\n const interventions = []\n\n for (const intervention in plan.interventions[group]) {\n // value += intervention.con\n interventions.push({\n name: intervention,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ...plan.interventions[group][intervention].contribution,\n })\n value +=\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n plan.interventions[group][intervention].contribution\n .emission_savings_ratio\n }\n\n breakDown.push({\n type: group,\n value,\n interventions,\n })\n }\n }\n return breakDown\n }, [plan?.interventions])\n\n const rows = useMemo(() => {\n const computedRows: RowData[] = []\n if (plan?.interventions) {\n for (const group in plan.interventions) {\n for (const intervention in plan.interventions[group]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const interventionData: Schemas[\"InterventionContribution\"] =\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n plan.interventions[group][intervention]\n\n const {\n annual_emissions_savings,\n capital_cost,\n annual_cost_savings,\n emission_savings_ratio,\n } = interventionData.contribution\n\n computedRows.push({\n annualEmissionsSavings: annual_emissions_savings,\n interventionType: group,\n name: intervention,\n id: intervention,\n capitalCost: capital_cost,\n annualCostSavings: annual_cost_savings,\n percentEmissionSavings: emission_savings_ratio,\n roiYears: capital_cost / annual_cost_savings,\n })\n }\n }\n }\n\n return computedRows\n }, [plan?.interventions])\n\n const isLoading = planIsloading || isDeleteSitePlanLoading\n\n const siteRecommendationsTo = `${generatePath(\n `${recommendationsPath}`\n )}${state?.searchParams ? `?${state.searchParams}` : \"\"}`\n\n const backButtonTo = state?.goBackTo ?? siteRecommendationsTo\n\n const { buildPlanNameString } = useBuildPlanNameString()\n const planNameFromInterventions = buildPlanNameString(plan)\n\n return (\n \n <>\n {site ? (\n <>\n \n \n \n \n \n \n \n \n Delete plan\n \n {\n datadogRum.addAction(\"Plan choose different plan\")\n }}\n to={generatePath(\n `${recommendationsPath}/${RecommendationsPath.Site}`,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n { siteId: siteId! }\n )}\n variant=\"outlined\"\n >\n Choose different plan\n \n \n \n \n \n \n {plan ? (\n \n {/* move actions to here after other pr is merged with full delete flow */}\n {planNameFromInterventions ? (\n \n ) : null}\n \n \n \n \n \n \n ) : null}\n \n \n \n ) : null}\n \n \n )\n}\n\nexport const SitePlanDetailsRoute = featureGuarded(\n SitePlanDetailsRouteBase,\n FeatureFlags.PLANNING\n)\n","import type { Operations } from \"@/services/types\"\nimport type { UseMutationOptions } from \"@tanstack/react-query\"\nimport { useMutation, useQueryClient } from \"@tanstack/react-query\"\nimport type { AxiosError } from \"axios\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { deleteSitePlan } from \"./delete-site-plan\"\nimport type { DeleteSitePlanProps } from \"./delete-site-plan\"\n\ninterface UseDeleteSitePlanOptions {\n queryOptions?: Omit<\n UseMutationOptions<\n Operations[\"delete_site_plan_api_v1_plans__site_id__delete\"][\"responses\"][\"200\"],\n AxiosError<\n Operations[\"delete_site_plan_api_v1_plans__site_id__delete\"][\"responses\"][\"422\"][\"content\"][\"application/json\"]\n >,\n DeleteSitePlanProps\n >,\n \"mutationFn\"\n >\n}\n\n/**\n * returns a mutation to delete a plan for a site\n */\nexport const useDeleteSitePlan = (options?: UseDeleteSitePlanOptions) => {\n const queryClient = useQueryClient()\n const mutation = useMutation(deleteSitePlan, {\n ...(options?.queryOptions ?? {}),\n onSuccess: (data, variables, context) => {\n if (options?.queryOptions?.onSuccess) {\n void options.queryOptions.onSuccess(data, variables, context)\n }\n void queryClient.invalidateQueries([\n ApiQueryName.RecommendationsPlans,\n \"getMany\",\n ])\n void queryClient.invalidateQueries([\n ApiQueryName.RecommendationSite,\n \"getOne\",\n ])\n void queryClient.invalidateQueries([\n ApiQueryName.RecommendationsPotentialSites,\n \"getMany\",\n ])\n },\n })\n return mutation\n}\n","import type { ChangeEventHandler, FC } from \"react\"\nimport React, { useState } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { Button, InputAdornment, Stack } from \"@mui/material\"\n\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { NumericTextField } from \"../../../../nzds\"\nimport { buildSearchParamsString } from \"../../../../utils/urls\"\nimport type { FilterBarProps } from \"./filter-bar.types\"\n\nfunction isValidTarget(reduction_target: string | undefined) {\n return Number(reduction_target) <= 100\n}\n\nexport const FilterBar: FC = ({ goal }) => {\n const currencySymbol = useCurrencySymbol()\n\n const [searchParams, setSearchParams] = useSearchParams()\n\n // the inputs get the default values from site goal, but if a search param exists that\n // takes precedence\n\n const [budget, setBudget] = useState(\n searchParams.has(\"budget\")\n ? (searchParams.get(\"budget\") ?? undefined)\n : goal?.budget\n ? `${goal.budget}`\n : \"\"\n )\n\n const [reduction_target, setReductionTarget] = useState(\n searchParams.get(\"reduction_target\")\n ? (searchParams.get(\"reduction_target\") ?? undefined)\n : goal?.reduction_goal\n ? `${goal.reduction_goal * 100}`\n : \"\"\n )\n\n const [reduction_target_error, setReductionTargetError] = useState(\"\")\n\n const handleChangeMaxBudget: ChangeEventHandler<\n HTMLTextAreaElement | HTMLInputElement\n > = (event) => {\n setBudget(event.target.value)\n }\n\n const handleChangeReductionTarget: ChangeEventHandler<\n HTMLTextAreaElement | HTMLInputElement\n > = (event) => {\n setReductionTarget(event.target.value)\n if (reduction_target_error && isValidTarget(event.target.value)) {\n setReductionTargetError(\"\")\n }\n }\n\n const handleValidateReductionTarget = () => {\n if (!isValidTarget(reduction_target)) {\n setReductionTargetError(\"Reduction target must be less than 100%\")\n } else {\n setReductionTargetError(\"\")\n }\n }\n\n const handleUpdate = () => {\n if (reduction_target_error) {\n return\n }\n const params: Record = {\n budget,\n reduction_target,\n }\n const newSearchParamsString = buildSearchParamsString(params, searchParams)\n setSearchParams(newSearchParamsString)\n }\n\n return (\n \n %,\n }}\n label=\"Emission Reduction\"\n name=\"reduction_target\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n }}\n onBlur={handleValidateReductionTarget}\n onChange={handleChangeReductionTarget}\n sx={{ flex: 1 }}\n value={reduction_target}\n />\n {currencySymbol}\n ),\n }}\n label=\"Max budget\"\n name=\"budget\"\n NumericFormatProps={{\n decimalScale: 0,\n allowNegative: false,\n }}\n onChange={handleChangeMaxBudget}\n sx={{ flex: 1 }}\n value={budget}\n />\n\n \n \n )\n}\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport { useNavigate } from \"react-router-dom\"\n\nimport type { Schemas } from \"@/services/types\"\nimport { useUrl } from \"@/utils/url\"\nimport type { DotProps, TooltipProps } from \"recharts\"\nimport {\n CartesianGrid,\n Dot,\n ResponsiveContainer,\n Scatter,\n ScatterChart,\n Tooltip,\n XAxis,\n YAxis,\n} from \"recharts\"\n\nimport { Box, Card, Stack, Typography, alpha, useTheme } from \"@mui/material\"\n\nimport { SectionHeader } from \"../../../../components/section-header/section-header\"\nimport { useFormatMoney } from \"../../../../formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { buildPlanName } from \"../../utils/build-plan-name\"\nimport { calculateEmissionSavingsPercentage } from \"../../utils/calculateEmissionSavingsPercentage\"\nimport type {\n PlanChartData,\n PlansScatterChartProps,\n} from \"./plans-scatter-chart.types\"\n\nconst CustomTooltip = ({ active, payload }: TooltipProps) => {\n const { format: formatPercentage } = useFormatPercentage({\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n //\n if (active && payload?.length) {\n const nameItems = (payload[0].payload as PlanChartData).name\n const displayItems = nameItems.slice(0, 2)\n const displayItemsString = displayItems\n .map(\n (intervention) =>\n `${intervention.name}: ${\n intervention.percentage\n ? formatPercentage(intervention.percentage)\n : \"\"\n }`\n )\n .join(\" | \")\n return (\n \n \n \n {/* eslint-disable-next-line\n @typescript-eslint/no-unsafe-member-access */}\n {displayItemsString}\n \n \n {payload.map((dataPoint) => (\n \n {dataPoint.name}:\n \n {dataPoint.dataKey === \"capitalCost\"\n ? formatMoney(dataPoint.value)\n : formatPercentage(dataPoint.value)}\n \n \n ))}\n \n \n \n )\n }\n\n return null\n}\n\nfunction createPlanChartDataPoint(\n plan: Schemas[\"BuildSimResponse\"]\n): PlanChartData {\n return {\n name: buildPlanName(plan) ?? [],\n capitalCost: plan.capital_cost,\n emissionReduction: calculateEmissionSavingsPercentage(\n plan.emissions_diff,\n plan.base_total_emissions\n ),\n planId: plan.id,\n siteId: plan.site_id,\n }\n}\n\nconst RenderDot: FC = ({\n cx,\n cy,\n stroke,\n fill,\n transition,\n}) => {\n const [isHovered, setIsHovered] = React.useState(false)\n\n return (\n {\n setIsHovered(true)\n }}\n onMouseLeave={() => {\n setIsHovered(false)\n }}\n r={isHovered ? 14 : 7}\n stroke={stroke}\n style={{ transition }}\n />\n )\n}\n\nexport const PlansScatterChart: FC = ({\n allPlans,\n recommendedPlans,\n}) => {\n const theme = useTheme()\n const { buildRecommendationsPlanDetailsPath } = useUrl()\n const currencySymbol = useCurrencySymbol()\n const { format: formatPercentage } = useFormatPercentage({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const chartData = useMemo(() => {\n const allPlansChartData: PlanChartData[] = []\n\n if (recommendedPlans.length > 0 && allPlans.length > 0) {\n for (const plan of allPlans) {\n const isRecommended = recommendedPlans.some((rP) => rP.id === plan.id)\n if (!isRecommended) {\n allPlansChartData.push(createPlanChartDataPoint(plan))\n }\n }\n }\n return allPlansChartData\n }, [recommendedPlans, allPlans])\n\n const recommendedChartData = useMemo(() => {\n const recommendedPlansChartData: PlanChartData[] = []\n\n if (recommendedPlans.length > 0) {\n for (const plan of recommendedPlans) {\n recommendedPlansChartData.push(createPlanChartDataPoint(plan))\n }\n }\n\n return recommendedPlansChartData\n }, [recommendedPlans])\n\n const transition = theme.transitions.create([\"r\"], {\n duration: theme.transitions.duration.short,\n easing: theme.transitions.easing.easeInOut,\n })\n\n const navigate = useNavigate()\n\n return (\n \n \n \n \n\n \n \n \n Recommended plans\n \n \n \n All plans\n \n \n \n \n \n formatMoney(tick)}\n type=\"number\"\n />\n formatPercentage(tick)}\n type=\"number\"\n />\n }\n cursor={{ strokeDasharray: \"3 3\" }}\n />\n {\n navigate(\n buildRecommendationsPlanDetailsPath(\n payload.planId,\n payload.siteId\n )\n )\n }}\n shape={\n \n }\n />\n {\n navigate(\n buildRecommendationsPlanDetailsPath(\n payload.planId,\n payload.siteId\n )\n )\n }}\n shape={\n \n }\n />\n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { useUrl } from \"@/utils/url\"\n\nimport { Box, Chip, Popover, Typography } from \"@mui/material\"\n\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { NZeroLogoIcon } from \"../../../../nzds\"\nimport type { PlanNameCellProps } from \"./plan-name-cell.types\"\n\nexport const PlanNameCell: FC = ({\n planId,\n name,\n isRecommended,\n siteId,\n}) => {\n const { buildRecommendationsPlanDetailsPath } = useUrl()\n const [anchorEl, setAnchorEl] = React.useState(null)\n\n const handlePopoverOpen = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handlePopoverClose = () => {\n setAnchorEl(null)\n }\n\n const planHref = buildRecommendationsPlanDetailsPath(planId, siteId)\n\n const { format: formatPercentage } = useFormatPercentage()\n\n const open = Boolean(anchorEl)\n const id = open ? `${planId}` : undefined\n\n const nameItems = name\n const displayItems = nameItems.slice(0, 2)\n const displayItemsString = displayItems\n .map(\n (intervention) =>\n `${intervention.name}: ${\n intervention.percentage\n ? formatPercentage(intervention.percentage)\n : \"\"\n }`\n )\n .join(\" | \")\n const additionalItemsCount = nameItems.length - displayItems.length\n return (\n \n {isRecommended ? (\n \n ) : null}\n \n {displayItemsString}\n \n {additionalItemsCount > 0 ? (\n <>\n \n \n {nameItems.map((item) => (\n \n {item.name}:{\" \"}\n {item.percentage ? formatPercentage(item.percentage) : null}\n \n ))}\n \n \n \n \n ) : null}\n \n )\n}\n","import type { GridComparatorFn } from \"@mui/x-data-grid-pro\"\nimport {\n gridNumberComparator,\n gridStringOrNumberComparator,\n} from \"@mui/x-data-grid-pro\"\n\nimport type { RowData } from \"./recommended-plans-table.types\"\n\n/**\n * Custom comparator for the `name` column. takes into account that a\n * plan can be recommended or not.\n *\n * @see https://mui.com/x/react-data-grid/sorting/#combine-built-in-comparators\n */\nexport const planNameIsRecommendedComparator: GridComparatorFn = (\n v1,\n v2,\n param1,\n param2\n) => {\n const result = gridNumberComparator(\n v1.isRecommended,\n v2.isRecommended,\n param1,\n param2\n )\n\n // The `isRecommended` values of the two cells are different\n // We can stop here and sort based on the `isAdmin` field.\n if (result !== 0) {\n return result\n }\n\n return gridStringOrNumberComparator(v1.name, v2.name, param1, param2)\n}\n","import { useMemo } from \"react\"\n\nimport type { Schemas } from \"@/services/types\"\n\nimport { buildPlanName } from \"../../../utils/build-plan-name\"\nimport { calculateEmissionSavingsPercentage } from \"../../../utils/calculateEmissionSavingsPercentage\"\nimport type { RowData } from \"../recommended-plans-table.types\"\n\nconst buildRow = (\n plan: Schemas[\"BuildSimResponse\"],\n isPlanRecommended: boolean\n): RowData => ({\n id: plan.id,\n site_id: plan.site_id,\n name: buildPlanName(plan) ?? [],\n capital_cost: plan.capital_cost,\n payback_period: plan.payback_period,\n emission_savings: calculateEmissionSavingsPercentage(\n plan.emissions_diff,\n plan.base_total_emissions\n ),\n plan,\n emissions_diff: plan.emissions_diff,\n portfolio_impact: plan.portfolio_impact,\n isRecommended: isPlanRecommended,\n})\n\nexport const useBuildRowData = (\n allPlans: Schemas[\"BuildSimResponse\"][],\n recommendedPlans: Schemas[\"BuildSimResponse\"][]\n) => {\n const rows = useMemo(() => {\n const recommendedRows: RowData[] = []\n const computedRows: RowData[] = []\n for (const plan of allPlans) {\n const isPlanRecommended = recommendedPlans.some(\n (recPlan) => recPlan.id === plan.id\n )\n const row = buildRow(plan, isPlanRecommended)\n if (isPlanRecommended) {\n recommendedRows.push(row)\n } else {\n computedRows.push(row)\n }\n }\n\n for (const plan of recommendedPlans) {\n const isPlanInRecommended = recommendedRows.some(\n (row) => row.id === plan.id\n )\n if (!isPlanInRecommended) {\n const row = buildRow(plan, true)\n recommendedRows.push(row)\n }\n }\n\n return [...recommendedRows, ...computedRows]\n }, [allPlans, recommendedPlans])\n\n return rows\n}\n","import type { FC } from \"react\"\nimport React, { useEffect, useMemo } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport type {\n GridColDef,\n GridRenderCellParams,\n GridSortItem,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\nimport { DataGridPro, useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport { useUnit } from \"../../../../components/unit/use-unit\"\nimport { useFormatDecimal } from \"../../../../formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"../../../../formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"../../../../formatters/useFormatPercentage\"\nimport { useCurrencySymbol } from \"../../../../hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { renderColumnHeader } from \"../../../../utils/render-column-header\"\nimport { renderRowNumber } from \"../../../../utils/render-row-number\"\nimport { PlanNameCell } from \"../plan-name-cell/plan-name-cell\"\nimport { planNameIsRecommendedComparator } from \"./recommended-plans-comparator\"\nimport type {\n RecommendedPlansTableProps,\n RowData,\n} from \"./recommended-plans-table.types\"\nimport { useBuildRowData } from \"./utils/use-build-row-data\"\n\nconst baseColumnDef: Partial = {\n disableColumnMenu: true,\n resizable: false,\n hideable: false,\n renderHeader: renderColumnHeader,\n disableReorder: true,\n align: \"left\",\n}\n\nconst baseColumnWidth = 52 // padding of 10px on left and right + 32px for the sorting button\n\nexport const RecommendedPlansTable: FC = ({\n allPlans,\n recommendedPlans,\n}) => {\n const [searchParams] = useSearchParams()\n\n const apiRef = useGridApiRef()\n\n const currencySymbol = useCurrencySymbol()\n\n const { format: formatMoney } = useFormatMoney({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const { format: formatPercentage } = useFormatPercentage({\n maximumFractionDigits: 2,\n minimumFractionDigits: 2,\n })\n\n const { format: formatDecimal } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const rows = useBuildRowData(allPlans, recommendedPlans)\n\n const sortColumn = useMemo(() => {\n let defaultSort: GridSortItem | undefined\n\n if (searchParams.get(\"budget\") && !searchParams.get(\"reduction_target\")) {\n defaultSort = { field: \"emission_savings\", sort: \"desc\" }\n } else if (\n !searchParams.get(\"budget\") &&\n searchParams.get(\"reduction_target\")\n ) {\n defaultSort = { field: \"capital_cost\", sort: \"asc\" }\n } else if (\n searchParams.get(\"budget\") &&\n searchParams.get(\"reduction_target\")\n ) {\n defaultSort = { field: \"capital_cost\", sort: \"asc\" }\n }\n\n return defaultSort\n }, [searchParams])\n\n useEffect(() => {\n if (sortColumn) {\n apiRef.current.setSortModel([sortColumn])\n }\n }, [apiRef, sortColumn])\n\n const co2eUnit = useUnit(UnitName.MetricTonsOfCarbonDioxideEquivalent)\n\n const columnDefinitions: GridColDef[] = useMemo(() => {\n const columns: GridColDef[] = [\n {\n ...baseColumnDef,\n field: \"number\",\n align: \"center\",\n headerAlign: \"center\",\n sortable: false,\n resizable: false,\n headerName: \"#\",\n width: 52,\n renderCell: renderRowNumber,\n },\n {\n ...baseColumnDef,\n field: \"name\",\n sortable: false,\n align: \"left\",\n headerName: \"Plan Overview\",\n minWidth: 300,\n flex: 1,\n sortComparator: planNameIsRecommendedComparator,\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n },\n {\n ...baseColumnDef,\n field: \"emission_savings\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"Emissions Reduction (%)\",\n width: baseColumnWidth + 152,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatPercentage(params.value),\n },\n {\n ...baseColumnDef,\n resizable: true,\n field: \"emissions_diff\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `${co2eUnit} Removed`,\n width: baseColumnWidth + 122,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n },\n {\n ...baseColumnDef,\n field: \"portfolio_impact\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"Portfolio Reduction (%)\",\n width: baseColumnWidth + 146,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatPercentage(params.value),\n },\n {\n ...baseColumnDef,\n field: \"capital_cost\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: `Capital cost (${currencySymbol})`,\n width: baseColumnWidth + 94,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatMoney(params.value),\n },\n {\n ...baseColumnDef,\n field: \"payback_period\",\n align: \"right\",\n headerAlign: \"right\",\n headerName: \"ROI (Years)\",\n resizable: false,\n width: baseColumnWidth + 71,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n },\n ]\n\n return columns\n }, [co2eUnit, currencySymbol, formatDecimal, formatMoney, formatPercentage])\n\n return (\n \n )\n}\n","import type { Operations, Schemas } from \"@/services/types\"\nimport { httpClient } from \"@/utils/api\"\nimport { buildSearchParamsString } from \"@/utils/urls\"\n\nexport const getSiteRecommendations = async (\n query: Operations[\"get_bs_list_api_v1_building_simulations_get\"][\"parameters\"][\"query\"] & {\n organization_id: string | undefined\n }\n): Promise => {\n const searchParamsString = buildSearchParamsString(query)\n\n const response = await httpClient.get(\n `/api/v1/recommendations/building_simulations?${searchParamsString}`\n )\n\n return response.data\n}\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Operations, Schemas } from \"@/services/types\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport type { UseQueryOptions } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { getSiteRecommendations } from \"./get-site-recommendations\"\n\ninterface UseGetSiteRecommendationsOptions {\n query: Omit<\n Operations[\"get_bs_list_api_v1_building_simulations_get\"][\"parameters\"][\"query\"],\n \"site_ids\"\n >\n useQueryOptions?: Omit<\n UseQueryOptions,\n \"queryKey\" | \"queryFn\"\n >\n}\n\n/**\n * Returns a sites list of recommendations\n *\n * @example\n * const { data, isLoading, error, isError } =\n * useGetSiteRecommendations(227, { query, useQueryOptions });\n */\nexport const useGetSiteRecommendations = (\n siteId: number,\n options: UseGetSiteRecommendationsOptions\n) => {\n const { organization } = useOrganizationContext()\n\n const queryKey = useQueryKey(\n ApiQueryName.RecommendationsSite,\n \"getMany\",\n null,\n {\n siteId,\n ...options.query,\n }\n )\n\n const queryOptions = {\n queryKey,\n queryFn: () =>\n getSiteRecommendations({\n site_ids: [siteId],\n ...options.query,\n organization_id: organization?.id,\n }),\n ...(options.useQueryOptions ?? {}),\n }\n\n const queryResult = useQuery(queryOptions)\n\n return queryResult\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport {\n Link,\n generatePath,\n useParams,\n useSearchParams,\n} from \"react-router-dom\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { StyledPageCard } from \"@/components/page-card/styled-page-card\"\nimport { PageLoading } from \"@/components/page-loading/page-loading\"\nimport { featureGuarded } from \"@/hocs/feature-guarded\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { FeatureFlags } from \"@/services/feature\"\nimport { useUrl } from \"@/utils/url\"\n\nimport ArrowBackIosNewRoundedIcon from \"@mui/icons-material/ArrowBackIosNewRounded\"\nimport { Box, Grid, IconButton, Stack, Typography } from \"@mui/material\"\n\nimport SiteInfoButton from \"../../../site/components/siteInfo/siteInfoButton/siteInfoButton\"\nimport { EditSiteConfirmation } from \"../../components/edit-site-information/edit-site-confirmation\"\nimport { FilterBar } from \"../../components/filter-bar/filter-bar\"\nimport { PlanningSteps } from \"../../components/planning-steps/planning-steps\"\nimport { PlansScatterChart } from \"../../components/plans-scatter-chart/plans-scatter-chart\"\nimport { RecommendedPlansTable } from \"../../components/recommended-plans-table/recommended-plans-table\"\nimport { SiteInfoDrawer } from \"../../components/site-info-drawer/site-info-drawer\"\nimport {\n drawerContainerGap,\n drawerWidth,\n} from \"../../components/site-info-drawer/site-info-drawer.constants\"\nimport { RecommendationsPath } from \"../../enums\"\nimport { useGetGoals } from \"../../services/use-get-goals/use-get-goals\"\nimport { useGetSite } from \"../../services/useGetSite/use-get-site\"\nimport { useGetSiteRecommendations } from \"../../services/useGetSiteRecommendations/use-get-site-recommendations\"\n\nconst SiteRecommendationsRouteBase: FC = () => {\n const { recommendationsPath } = useUrl()\n const { siteId } = useParams<{ siteId: string }>()\n\n const [confirmationOpen, setConfirmationOpen] = useState(false)\n\n const [searchParams] = useSearchParams()\n\n const {\n close: drawerClose,\n isOpen: drawerIsOpen,\n toggle: drawerToggle,\n } = useDisclosure()\n\n const {\n data: site,\n isLoading: isSiteLoading,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n } = useGetSite(siteId!)\n\n const { data: goals, isLoading: isGoalsLoading } = useGetGoals({\n query: {\n site_id: siteId,\n },\n useQueryOptions: {\n enabled: Boolean(siteId),\n },\n })\n\n // only 1 goal per site, that has budget, target, etc\n const siteGoal = goals && goals.length > 0 ? goals[0] : undefined\n\n // default search values are from the site goal, then from query string\n const budgetSearch = searchParams.get(\"budget\")\n ? Number(searchParams.get(\"budget\"))\n : siteGoal?.budget\n\n const reductionTargetSearch = searchParams.get(\"reduction_target\")\n ? Number(searchParams.get(\"reduction_target\"))\n : siteGoal?.reduction_goal\n ? siteGoal.reduction_goal * 100\n : undefined\n\n const savedSiteExlcusions = siteGoal?.exclusions ?? []\n\n const recommendedPlansResult = useGetSiteRecommendations(Number(siteId), {\n query: {\n budget: budgetSearch,\n reduction_target: reductionTargetSearch,\n excluded_interventions: savedSiteExlcusions,\n optimization_protocol: \"recommended_only\",\n },\n useQueryOptions: {\n keepPreviousData: true,\n },\n })\n\n const allPlansResult = useGetSiteRecommendations(Number(siteId), {\n query: {\n excluded_interventions: savedSiteExlcusions,\n page_size: 2000,\n },\n useQueryOptions: {\n keepPreviousData: true,\n },\n })\n\n const isLoading =\n recommendedPlansResult.isFetching ||\n isSiteLoading ||\n isGoalsLoading ||\n allPlansResult.isFetching\n\n const siteGoalsHref = `${generatePath(\n `${recommendationsPath}/${RecommendationsPath.SiteGoals}`,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n { siteId: siteId! }\n )}?${searchParams.toString()}`\n\n return (\n \n {site ? (\n <>\n \n \n \n \n \n \n \n \n \n \n {\n setConfirmationOpen(false)\n }}\n onContinue={() => {\n setConfirmationOpen(false)\n }}\n open={confirmationOpen}\n />\n {!recommendedPlansResult.isLoading && !allPlansResult.isLoading ? (\n \n \n \n {site.id && goals ? (\n \n ) : null}\n {recommendedPlansResult.data &&\n recommendedPlansResult.data.length > 0 &&\n allPlansResult.data &&\n allPlansResult.data.length > 0 ? (\n \n \n \n \n\n \n \n \n \n ) : null}\n\n {recommendedPlansResult.data?.length === 0 ? (\n theme.typography.pxToRem(200),\n }}\n xs={12}\n >\n \n No plans found\n \n \n Try adjusting your budget or emission target values\n \n \n ) : null}\n \n \n \n ) : null}\n \n \n ) : null}\n \n )\n}\n\nexport const SiteRecommendationsRoute = featureGuarded(\n SiteRecommendationsRouteBase,\n FeatureFlags.PLANNING\n)\n","import type { RouteObject } from \"react-router-dom\"\n\nimport { RecommendationsPath, RootPath } from \"@/models/route\"\n\nimport {\n RecommendationsIndexRouteGuard,\n RecommendationsPlanRoute,\n RecommendationsRoot,\n SiteGoalsRoute,\n SitePlanDetailsEditRoute,\n SitePlanDetailsRoute,\n SiteRecommendationsRoute,\n} from \"./pages\"\n\nexport const recommendationsRoutes: RouteObject[] = [\n {\n path: RootPath.Recommendations,\n Component: RecommendationsRoot,\n children: [\n {\n index: true,\n Component: RecommendationsIndexRouteGuard,\n },\n {\n path: RecommendationsPath.Plan,\n Component: RecommendationsPlanRoute,\n },\n {\n path: RecommendationsPath.Site,\n Component: SiteRecommendationsRoute,\n },\n {\n path: RecommendationsPath.SiteGoals,\n Component: SiteGoalsRoute,\n },\n {\n path: RecommendationsPath.SitePlan,\n Component: SitePlanDetailsRoute,\n },\n {\n path: RecommendationsPath.SitePlanEdit,\n Component: SitePlanDetailsEditRoute,\n },\n ],\n },\n]\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport { Outlet } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { ConsultantDataGuard } from \"@/components/route/consultant-data-guard\"\nimport { LimitedAccessUserGuard } from \"@/components/route/limited-access-user-guard\"\n\nexport const RecommendationsRoot: FC = () => {\n return (\n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Page404 } from \"@/components/nav/page404\"\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport { RecommendationsIndexRoute } from \"../recommendations-index-route/recommendations-index-route\"\nimport { RecommendationsTeaserRoute } from \"../recommendations-teaser-route\"\n\nexport const RecommendationsIndexRouteGuard: FC = () => {\n const { isConsultantUser } = useAuthentication()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const isPlanningEnabled = isFeatureEnabled(\n FeatureFlags.PLANNING,\n organization\n )\n\n if (isConsultantUser && !isPlanningEnabled) {\n return \n }\n\n return isPlanningEnabled ? : \n}\n","// this is for if no columns have data units under them\nexport const UNITLESS_ROW_HEIGHT = 48\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport type { RequireAtLeastOne } from \"type-fest\"\n\nimport TableRowsRoundedIcon from \"@mui/icons-material/TableRowsRounded\"\nimport { LinearProgress, Stack, Typography } from \"@mui/material\"\nimport { DataGridPro, GridOverlay } from \"@mui/x-data-grid-pro\"\nimport type { DataGridProProps } from \"@mui/x-data-grid-pro\"\n\nconst EmptyOverlay = () => (\n \n \n \n \n No data available\n \n \n \n)\n\nconst defaultColumnHeaderHeight = 62\n\nexport const NzDataGrid: FC<\n RequireAtLeastOne\n> = (props) => {\n return (\n \n )\n}\n","import type { ReactElement } from \"react\"\nimport React from \"react\"\n\nimport { Checkbox, FormControlLabel, FormGroup } from \"@mui/material\"\n\nexport interface ICheckbox {\n label: string\n value: string\n}\ninterface CheckboxListProps {\n onChange: (options: string[]) => void\n options: ICheckbox[]\n value: string[]\n}\n\n/**\n * A generic component that renders a checkbox list.\n * Maintains a list of checked options and calls onChange provided by the parent\n * when the list changes.\n *\n * @param props - The component properties\n * @param props.value - an array of values that are currently checked\n * @param props.onChange - a callback function that is called when one of the checkboxes is clicked\n * @param props.options - an array of objects that contain the label and value of each checkbox\n * @example\n * return (\n * \n * )\n */\nexport const CheckboxList: React.FC = ({\n value,\n onChange,\n options,\n}: CheckboxListProps): ReactElement => {\n const handleOnChange = (event: React.ChangeEvent) => {\n const newValues = [...value]\n if (event.target.checked) {\n newValues.push(event.target.value)\n } else {\n const index = newValues.indexOf(event.target.value)\n newValues.splice(index, 1)\n }\n onChange(newValues)\n }\n\n return (\n \n {options.map((checkbox, index) => (\n \n }\n label={checkbox.label}\n />\n ))}\n \n )\n}\n","import { useCallback, useMemo, useState } from \"react\"\nimport type { NavigateFunction } from \"react-router-dom\"\nimport { useLocation, useNavigate } from \"react-router-dom\"\n\nimport type { Location } from \"history\"\n\nimport type { FilterClass, IFilter } from \"../../models/filter/filter\"\n\nexport interface IUseFiltersSetOptions {\n replace?: boolean\n}\n\ninterface IUseFiltersValue {\n filters: TFilters\n setFilters: (\n filters: Partial,\n options?: IUseFiltersSetOptions\n ) => void\n}\n\n/**\n * Determines whether or not the new filter values are different from the previous filter values\n *\n * @param prevFilters - The previous filters\n * @param newFilters - The new filters\n * @returns Whether or not the new filter values are different from the previous filter values\n * @example\n * areFiltersChanged(filters, newFilters)\n */\nconst areFiltersChanged = (\n prevFilters: TFilters,\n newFilters: Partial\n): boolean =>\n Object.entries(newFilters).some(\n ([newFilterName, newFilter]: [string, IFilter]) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const prevFilter: IFilter = prevFilters[newFilterName]\n\n return !prevFilter.isEqualTo(newFilter)\n }\n )\n\n/**\n * The `useFilters` hook returns a set of `filters` based on the url search params\n * and a `setFilters` function to update the url based on a set of filters.\n *\n * @param initialFilterTypes - An object whose keys are filter names and values are filter classes\n * @returns The filters and a filters setter\n * @example\n * const { filters, setFilters } = useFilters({\n * start: DateFilter,\n * end: DateFilter,\n * summary: BooleanFilter,\n * category: SingleSelectNumberFilter,\n * subcategory: MultiSelectNumberFilter,\n * })\n */\nconst useFilters = (\n initialFilterTypes: Record\n): IUseFiltersValue => {\n let navigate: NavigateFunction\n let location: Location\n\n try {\n navigate = useNavigate()\n location = useLocation()\n } catch (error) {\n throw new Error(\"'useFilters' must be used within a 'Router'\")\n }\n\n // Store initialFilterTypes in state so it's the same object used in dependency arrays\n const [filterTypes] =\n useState>(initialFilterTypes)\n\n // The set of filters derived from the url\n // The url is the source of truth\n const filters: TFilters = useMemo((): TFilters => {\n const searchParams: URLSearchParams = new URLSearchParams(\n decodeURIComponent(location.search)\n )\n\n const filtersFromQueryString: TFilters = Object.entries(filterTypes).reduce(\n (prevFilters, [filterName, Class]: [string, FilterClass]) => {\n const newFilters = { ...prevFilters }\n newFilters[filterName] = Class.fromQueryParamValue(\n searchParams.get(filterName)\n )\n\n return newFilters\n },\n // We will want to address this in the future\n // eslint-disable-next-line @typescript-eslint/prefer-reduce-type-parameter\n {} as TFilters\n )\n\n return filtersFromQueryString\n }, [filterTypes, location.search])\n\n // Update the url if filter values have changed\n // The url is the source of truth\n const setFilters = useCallback(\n (\n newFilters: Partial,\n options: IUseFiltersSetOptions = { replace: false }\n ): void => {\n const urlSearchParams = new URLSearchParams(\n decodeURIComponent(location.search)\n )\n\n // Only set filters if at least one has changed to avoid unnecessary render cycles\n if (areFiltersChanged(filters, newFilters)) {\n Object.entries(newFilters).forEach(\n ([newFilterName, newFilter]: [string, IFilter]) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const prevFilter: IFilter = filters[newFilterName]\n const prevFilterHasValue: boolean = prevFilter.value !== null\n const newFilterHasValue: boolean = newFilter.value !== null\n const shouldDeleteFilter: boolean =\n prevFilterHasValue && !newFilterHasValue\n const shouldUpdateFilter: boolean =\n !shouldDeleteFilter && !prevFilter.isEqualTo(newFilter)\n\n if (shouldDeleteFilter) {\n urlSearchParams.delete(newFilterName)\n } else if (shouldUpdateFilter) {\n urlSearchParams.set(newFilterName, newFilter.toQueryParamValue())\n }\n }\n )\n\n if (options.replace) {\n navigate({ search: urlSearchParams.toString() }, { replace: true })\n } else {\n navigate({ search: urlSearchParams.toString() })\n }\n }\n },\n [filters, navigate, location.search]\n )\n\n return useMemo(\n () => ({\n filters,\n setFilters,\n }),\n [filters, setFilters]\n )\n}\n\nexport default useFilters\n","import type { IFilter } from \"./filter\"\n\nconst cleanValue = (value: string[]): string[] =>\n value.filter((element) => element.trim() !== \"\")\n\n/**\n * A filter for multiple string\n *\n * @param value - An array of strings\n * @returns The filter instance\n * @example\n * new MultiSelectStringFilter()\n * new MultiSelectStringFilter([])\n * new MultiSelectStringFilter([\"one\", \"two\", \"three\"])\n * MultiSelectStringFilter.fromQueryParamValue()\n * MultiSelectStringFilter.fromQueryParamValue(\"\")\n * MultiSelectStringFilter.fromQueryParamValue(\"one,two,three\")\n */\nexport default class MultiSelectStringFilter\n implements IFilter\n{\n value: string[] | null\n\n constructor(value?: string[]) {\n this.value = value ? cleanValue(value) : null\n }\n\n isEqualTo(filter: MultiSelectStringFilter) {\n return (\n (this.value === null && filter.value === null) ||\n (this.value?.length === filter.value?.length &&\n this.value.every((value) => filter.value.includes(value)))\n )\n }\n\n toQueryParamValue() {\n return this.value?.join(\",\") ?? \"\"\n }\n\n static fromQueryParamValue(queryParamValue: string): MultiSelectStringFilter {\n const newValue: string[] | undefined =\n queryParamValue?.split(\",\") || undefined\n\n return new MultiSelectStringFilter(\n newValue ? cleanValue(newValue) : newValue\n )\n }\n}\n","import React, { useCallback, useMemo } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { debounce } from \"lodash-es\"\nimport { DateTime, Interval } from \"luxon\"\n\nimport { Box, useTheme } from \"@mui/material\"\nimport { DatePicker, LocalizationProvider } from \"@mui/x-date-pickers-pro\"\nimport type {\n DateValidationError,\n PickerChangeHandlerContext,\n} from \"@mui/x-date-pickers-pro\"\nimport { AdapterLuxon } from \"@mui/x-date-pickers-pro/AdapterLuxon\"\n\nimport type { MonthRangePickerProps } from \"./month-range-picker.types\"\n\nexport const MonthRangePicker = ({\n availableMaxMinMonths,\n value,\n onChange,\n disabled,\n error,\n errorMessage,\n fullWidth,\n}: MonthRangePickerProps): JSX.Element => {\n const theme = useTheme()\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const debouncedOnChange = useCallback(debounce(onChange, 250), [onChange])\n\n const isDisabled: boolean = useMemo(\n () => disabled ?? !availableMaxMinMonths?.isValid,\n [availableMaxMinMonths, disabled]\n )\n\n const handleStartChange = useCallback(\n (\n date: DateTime | null,\n context: PickerChangeHandlerContext\n ) => {\n debouncedOnChange(\n Interval.fromDateTimes(\n date?.startOf(\"month\") ?? DateTime.invalid(\"Invalid date\"),\n value?.end ?? DateTime.invalid(\"Invalid date\")\n ),\n context\n )\n },\n [debouncedOnChange, value]\n )\n\n const handleEndChange = useCallback(\n (\n date: DateTime | null,\n context: PickerChangeHandlerContext\n ) => {\n debouncedOnChange(\n Interval.fromDateTimes(\n value?.start ?? DateTime.invalid(\"Invalid date\"),\n date?.endOf(\"month\") ?? DateTime.invalid(\"Invalid date\")\n ),\n context\n )\n },\n [debouncedOnChange, value]\n )\n\n return (\n \n \n \n \n –\n \n \n \n \n )\n}\n","export interface IMetric {\n id: string\n name: string\n order: number\n}\n\ninterface IMetricMap {\n GHG: IMetric\n GJ: IMetric\n Volume: IMetric\n}\n\nexport const Metric: IMetricMap = {\n Volume: {\n id: \"1\",\n name: \"Volume\",\n order: 1,\n },\n GHG: {\n id: \"2\",\n name: \"GHG\",\n order: 2,\n },\n GJ: {\n id: \"3\",\n name: \"Energy Consumption\",\n order: 3,\n },\n}\n\n// migration to strict mode batch disable\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const metrics: IMetric[] = Object.values(Metric)\n","// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { ElectricityEmissionsFactorRecord } from \"../../../models/scopeTwo\"\nimport type { ITableColumn, ITableRow } from \"../../../models/table\"\nimport { UnitName } from \"../../../models/unit\"\nimport type { Report } from \"./report\"\nimport type { ResourceSummaryMonthRecord } from \"./resourceSummary\"\n\ninterface MonthlySiteReportResultBase\n extends Omit<\n ResourceSummaryMonthRecord,\n | \"advancedGridStudyCo2ELbs\"\n | \"locationElectricityCo2ELbs\"\n | \"naturalGasCo2ELbs\"\n | \"fuelCo2ELbs\"\n | \"refrigerantCo2ELbs\"\n > {\n advancedGridStudyMtCo2e: number\n fuelMtCo2e: number\n locationElectricityMtCo2e: number\n naturalGasMtCo2e: number\n refrigerantMtCo2e: number\n totalMtCo2e: number\n}\n\ntype MonthlySiteReportResult = MonthlySiteReportResultBase &\n Record\n\ntype MonthlySiteReport = Report\n\ntype MonthlySiteReportTableRow = MonthlySiteReportResult & ITableRow\n\n// Design currently only specifies these columns for display\ntype DisplayColumnAttributes =\n | \"siteName\"\n | \"siteId\"\n | \"kwh\"\n | \"advancedGridStudyMtCo2e\"\n | \"electricityEmissionsFactorMtCo2e\"\n | \"locationElectricityMtCo2e\"\n | \"naturalGasMtCo2e\"\n | \"naturalGasThms\"\n | \"totalMtCo2e\"\ntype ValidDisplayColumnAttributes = keyof Pick<\n MonthlySiteReportResult,\n DisplayColumnAttributes\n>\n\n/*\n This type is used to ensure that the key types are coming from the MonthlySiteReportResult\n attributes and, are the ones that design specifies, and that they are capitalized\n*/\ntype DisplayMonthlySiteReportKeys = {\n [K in ValidDisplayColumnAttributes as Capitalize]: K\n}\n\n// Used for accessing column header titles\nenum MonthlySitesReportColumnName {\n ElectricityEmissionsFactorMtCo2e = \"Electricity Emissions\",\n Kwh = \"Electricity Usage\",\n NaturalGasMtCo2e = \"Natural Gas Emissions\",\n NaturalGasThms = \"Natural Gas Usage\",\n SiteId = \"Site ID\",\n SiteName = \"Site Name\",\n TotalMtCo2e = \"Total Emissions\",\n}\n\nenum MonthlySitesReportColumnUnit {\n AdvancedGridStudyMtCo2e = UnitName.MetricTonsOfCarbonDioxideEquivalent,\n ElectricityEmissionsFactorMtCo2e = UnitName.MetricTonsOfCarbonDioxideEquivalent,\n Kwh = UnitName.KilowattHour,\n LocationElectricityMtCo2e = UnitName.MetricTonsOfCarbonDioxideEquivalent,\n NaturalGasMtCo2e = UnitName.MetricTonsOfCarbonDioxideEquivalent,\n NaturalGasThms = UnitName.Therm,\n TotalMtCo2e = UnitName.MetricTonsOfCarbonDioxideEquivalent,\n}\n\n// Used for mapping columns to data properties by key\nconst MonthlySitesReportKey: DisplayMonthlySiteReportKeys = {\n AdvancedGridStudyMtCo2e: \"advancedGridStudyMtCo2e\",\n ElectricityEmissionsFactorMtCo2e: \"electricityEmissionsFactorMtCo2e\",\n Kwh: \"kwh\",\n LocationElectricityMtCo2e: \"locationElectricityMtCo2e\",\n NaturalGasMtCo2e: \"naturalGasMtCo2e\",\n NaturalGasThms: \"naturalGasThms\",\n SiteId: \"siteId\",\n SiteName: \"siteName\",\n TotalMtCo2e: \"totalMtCo2e\",\n}\n\nconst defaultMonthlySiteReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: MonthlySitesReportColumnName.SiteName,\n key: \"siteName\",\n },\n {\n id: 1,\n order: 1,\n title: MonthlySitesReportColumnName.SiteId,\n key: \"siteId\",\n },\n ]\n\nenum MonthlySiteReportReportName {\n MonthlySiteReport = \"Monthly Site Report\",\n}\n\nconst emissionOptions: string[] = [\n MonthlySitesReportKey.TotalMtCo2e,\n MonthlySitesReportKey.Kwh,\n MonthlySitesReportKey.ElectricityEmissionsFactorMtCo2e,\n MonthlySitesReportKey.NaturalGasMtCo2e,\n MonthlySitesReportKey.NaturalGasThms,\n]\n\nconst emissionOptionLabel: Record = {\n [MonthlySitesReportKey.Kwh]: MonthlySitesReportColumnName.Kwh,\n [MonthlySitesReportKey.ElectricityEmissionsFactorMtCo2e]:\n MonthlySitesReportColumnName.ElectricityEmissionsFactorMtCo2e,\n [MonthlySitesReportKey.NaturalGasThms]:\n MonthlySitesReportColumnName.NaturalGasThms,\n [MonthlySitesReportKey.NaturalGasMtCo2e]:\n MonthlySitesReportColumnName.NaturalGasMtCo2e,\n [MonthlySitesReportKey.TotalMtCo2e]: MonthlySitesReportColumnName.TotalMtCo2e,\n}\n\nexport {\n emissionOptions,\n emissionOptionLabel,\n MonthlySitesReportColumnName,\n type MonthlySiteReportResult,\n MonthlySitesReportColumnUnit,\n defaultMonthlySiteReportColumns,\n type MonthlySiteReportTableRow,\n MonthlySiteReportReportName,\n type MonthlySiteReport,\n MonthlySitesReportKey,\n}\n","import { MonthlySitesReportKey } from \"../modules/report/models/monthlySite\"\nimport MonthSummary from \"./monthSummary\"\n\nexport interface ElectricityEmissionsFactorRecord {\n id: string\n mtCo2eKeyName: string\n}\n\ninterface ElectricityEmissionsFactorMap {\n AdvancedGridStudy: ElectricityEmissionsFactorRecord\n LocationBased: ElectricityEmissionsFactorRecord\n}\n\nconst ElectricityEmissionsFactor: ElectricityEmissionsFactorMap = {\n AdvancedGridStudy: {\n id: \"1\",\n mtCo2eKeyName: MonthlySitesReportKey.AdvancedGridStudyMtCo2e,\n },\n LocationBased: {\n id: \"2\",\n mtCo2eKeyName: MonthlySitesReportKey.LocationElectricityMtCo2e,\n },\n}\n\nconst ElectricityEmissionsFactorIds = Object.values(\n ElectricityEmissionsFactor\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n).map((emissionsFactorValue) => emissionsFactorValue.id)\n\nconst ElectricityEmissionsFactorById = {\n 1: ElectricityEmissionsFactor.AdvancedGridStudy,\n 2: ElectricityEmissionsFactor.LocationBased,\n}\n\nclass ScopeTwoReportingData extends MonthSummary {}\n\nexport {\n ElectricityEmissionsFactor,\n ElectricityEmissionsFactorIds,\n ElectricityEmissionsFactorById,\n}\n\n// TODO: update ScopeTwoReportingData from class to functional component and remove this export\nexport default ScopeTwoReportingData\n","import { sortBy } from \"lodash-es\"\nimport type { Interval } from \"luxon\"\n\nimport type MultiSelectStringFilter from \"../../../models/filter/multiSelectStringFilter\"\nimport type SingleSelectStringFilter from \"../../../models/filter/singleSelectStringFilter\"\nimport { Translation } from \"../../../models/i18n\"\nimport { Metric } from \"../../../models/metric\"\nimport { Resource } from \"../../../models/resource\"\nimport { ElectricityEmissionsFactor } from \"../../../models/scopeTwo\"\nimport type { ITableColumn, ITableRow } from \"../../../models/table\"\nimport { UnitName } from \"../../../models/unit\"\nimport type { Report } from \"./report\"\n\nexport const ORG_LEVEL_SITE_ID = \"-2\" // \"-2\" indicates the record is org level data not associated with a site\nexport const ORG_LEVEL_SITE_NAME = \"General Org (Non-Site)\"\n\nexport const FLEET_SITE_ID_RAW = \"-1\"\nexport const FLEET_SITE_ID = \"-1\" // -1 indicates the record is a special interpolated fleet site\nexport const FLEET_SITE_NAME = \"Fleet\" // \"-1\" indicates the record is a special interpolated fleet site\n\nexport const specialSiteIds: string[] = [ORG_LEVEL_SITE_ID, FLEET_SITE_ID]\n\nexport const extraRows = 2 // 2 represents including the header row and the total row\n\nexport interface ResourceSummaryMonthRecordDto {\n advancedGridStudyCo2ELbs: number\n departmentId: number | null\n departmentName: string | null\n fuelCo2ELbs: number\n kwh: number\n locationElectricityCo2ELbs: number\n month: number\n naturalGasCo2ELbs: number\n naturalGasThms: number\n organizationalUnitId: number | null\n organizationalUnitName: string | null\n refrigerantCo2ELbs: number\n siteId: number | null\n siteName: string | null\n waterGallons: number\n year: number\n}\n\nexport interface ResourceSummaryMonthRecord\n extends Omit {\n departmentId: string | null\n electricityGj?: number\n id?: number\n naturalGasGj?: number\n siteId: string | null\n totalGj?: number\n}\n\nexport interface ResourceSummaryMonthRecordWithTotalGhg\n extends ResourceSummaryMonthRecord {\n totalGhgLbsCO2e: number\n}\n\nexport type ResourceSummaryRecord = Omit<\n ResourceSummaryMonthRecordWithTotalGhg,\n \"month\" | \"year\"\n>\n\nexport type ResourceSummaryReport = Report\n\nexport interface IGetReportDataCriteria {\n dateRange: Interval\n departments: string[]\n groupIds: string[]\n}\n\nexport interface IReportFilters {\n department: MultiSelectStringFilter\n electricityEmissionsFactor: SingleSelectStringFilter\n group: MultiSelectStringFilter\n metric: MultiSelectStringFilter\n resource: MultiSelectStringFilter\n weightUnit: SingleSelectStringFilter\n}\n\nexport type DisplayFormatCallback = (value: string) => string\n\nexport enum ResourceSummaryReportName {\n Summary = \"Resource Summary\",\n}\n\nexport default {\n ResourceSummaryReportName,\n}\n\nexport type ResourceSummaryReportTableRow = ResourceSummaryRecord & ITableRow\n\nexport type ResourceSummaryReportTableColumn =\n ITableColumn\n\n// Columns\nexport const ResourceSummaryReportColumn: Record<\n keyof Omit<\n ResourceSummaryReportTableRow,\n \"departmentId\" | \"id\" | \"organizationalUnitId\"\n >,\n ResourceSummaryReportTableColumn\n> = {\n siteName: {\n id: 0,\n order: 0,\n key: \"siteName\",\n title: \"Site Name\",\n },\n siteId: {\n id: 1,\n order: 1,\n key: \"siteId\",\n title: \"Site ID\",\n },\n departmentName: {\n id: 2,\n order: 2,\n key: \"departmentName\",\n title: \"Department\",\n },\n organizationalUnitName: {\n id: 3,\n order: 2,\n key: \"organizationalUnitName\",\n title: \"Group\",\n },\n kwh: {\n id: 4,\n order: 3,\n key: \"kwh\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.Volume,\n resource: Resource.Electricity,\n scope: Resource.Electricity.scope,\n unit: UnitName.KilowattHour,\n },\n title: \"\",\n },\n advancedGridStudyCo2ELbs: {\n id: 5,\n order: 4,\n key: \"advancedGridStudyCo2ELbs\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n resource: Resource.Electricity,\n scope: Resource.Electricity.scope,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n electricityEmissionsFactor: ElectricityEmissionsFactor.AdvancedGridStudy,\n },\n title: \"\",\n },\n locationElectricityCo2ELbs: {\n id: 6,\n order: 5,\n key: \"locationElectricityCo2ELbs\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n resource: Resource.Electricity,\n scope: Resource.Electricity.scope,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n electricityEmissionsFactor: ElectricityEmissionsFactor.LocationBased,\n },\n title: \"\",\n },\n electricityGj: {\n id: 7,\n order: 6,\n key: \"electricityGj\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GJ,\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n formatMetric: (value) => value.replace(\" Consumption\", \"\"),\n resource: Resource.Electricity,\n scope: Resource.Electricity.scope,\n unit: UnitName.GigaJoule,\n },\n title: \"\",\n },\n naturalGasThms: {\n id: 8,\n order: 7,\n key: \"naturalGasThms\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.Volume,\n resource: Resource.NaturalGas,\n scope: Resource.NaturalGas.scope,\n unit: UnitName.Therm,\n },\n title: \"\",\n },\n naturalGasCo2ELbs: {\n id: 9,\n order: 8,\n key: \"naturalGasCo2ELbs\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n resource: Resource.NaturalGas,\n scope: Resource.NaturalGas.scope,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n },\n title: \"\",\n },\n naturalGasGj: {\n id: 10,\n order: 9,\n key: \"naturalGasGj\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GJ,\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n formatMetric: (value) => value.replace(\" Consumption\", \"\"),\n resource: Resource.NaturalGas,\n scope: Resource.NaturalGas.scope,\n unit: UnitName.GigaJoule,\n },\n title: \"\",\n },\n fuelCo2ELbs: {\n id: 11,\n order: 10,\n key: \"fuelCo2ELbs\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n resource: Resource.Fuel,\n scope: Resource.NaturalGas.scope,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n },\n title: \"\",\n },\n refrigerantCo2ELbs: {\n id: 12,\n order: 11,\n key: \"refrigerantCo2ELbs\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n resource: Resource.Refrigerants,\n scope: Resource.NaturalGas.scope,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n },\n title: \"\",\n },\n waterGallons: {\n id: 13,\n order: 12,\n key: \"waterGallons\",\n metadata: {\n isTitleDynamic: true,\n resource: Resource.Water,\n resourceDisplayName: Translation.Organization.WaterUseTitle,\n unit: UnitName.CubicMeter,\n },\n title: \"\",\n },\n totalGj: {\n id: 14,\n order: 13,\n key: \"totalGj\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GJ,\n unit: UnitName.GigaJoule,\n isTotal: true,\n },\n title: \"\",\n },\n totalGhgLbsCO2e: {\n id: 15,\n order: 14,\n key: \"totalGhgLbsCO2e\",\n metadata: {\n isTitleDynamic: true,\n metric: Metric.GHG,\n unit: UnitName.PoundsOfCarbonDioxideEquivalent,\n isTotal: true,\n },\n title: \"\",\n },\n}\n\nexport const resourceSummaryReportColumns: ResourceSummaryReportTableColumn[] =\n Object.values(ResourceSummaryReportColumn)\n\nexport const energyColumns: ResourceSummaryReportTableColumn[] = sortBy(\n resourceSummaryReportColumns.filter(\n (column) =>\n column.metadata?.metric === Metric.GJ &&\n column.key !== ResourceSummaryReportColumn.totalGj.key\n ),\n \"order\"\n)\n\nexport const volumeColumns: ResourceSummaryReportTableColumn[] = sortBy(\n resourceSummaryReportColumns.filter(\n (column) =>\n (column.metadata?.resource === Resource.Electricity &&\n column.metadata?.metric === Metric.Volume) ||\n (column.metadata?.resource === Resource.NaturalGas &&\n column.metadata?.metric === Metric.Volume)\n ),\n \"order\"\n)\n","import type { Interval } from \"luxon\"\n\nimport type { Scope } from \"../../../models/scope\"\nimport type { ITableRow } from \"../../../models/table\"\nimport { APPNAME } from \"../../../utils/constants\"\nimport type { ResourceSummaryRecord } from \"../models/resourceSummary\"\nimport { FLEET_SITE_NAME, ORG_LEVEL_SITE_ID } from \"../models/resourceSummary\"\n\n/**\n * Generates a file name for a report\n *\n * @param reportName - The main title of the report\n * @param dateRange - The start and end dates of the report\n * @params isDataUnderReview - Whether the data is under review or not\n * @returns The file name\n * @example\n * const getReportFileName(\n * \"Gri\",\n * Interval.fromISO(\"2022-01-01/2022-02-28\"),\n * true)\n */\nexport const getReportFileName = (\n reportName: string,\n dateRange: Interval | null | undefined,\n isDataReady?: boolean\n): string => {\n if (!dateRange?.isValid) {\n return \"\"\n }\n\n return `${\n isDataReady ? \"\" : \"(preview) \"\n }${APPNAME} ${reportName} ${dateRange.start?.toISODate()} through ${dateRange.end?.toISODate()}`\n}\n\n/**\n * Adds an id to the provided row data so it implements the ITableRow interface\n *\n * @param data - The row data\n * @returns The row data implementing the ITableRow interface\n * @example\n * getReportRows(gresbEnergyData)\n */\nexport const getReportRows = (data: TData[]): (TData & ITableRow)[] =>\n data.map((datum, index) => ({\n id: index,\n ...datum,\n }))\n\nexport const getReportMultiSelectStringFilterByScope = (scope: Scope) =>\n `scope${scope}`\n\n/**\n * Returns whether a site is considered an org level site or not\n *\n * @param site - The site\n * @returns Whether the site is org level or not\n * @example\n * isOrgLevelSite(site)\n */\nexport const isOrgLevelSite = (siteId: number | string | null): boolean =>\n siteId === null || siteId === ORG_LEVEL_SITE_ID\n\n/**\n * Returns whether a site is considered unique or not\n *\n * @param site - The site\n * @returns Whether the site is unique or not\n * @example\n * isUniqueSite(site)\n */\nexport const isUniqueSite = (site: ResourceSummaryRecord): boolean =>\n site.siteName === FLEET_SITE_NAME\n\nexport default {\n getReportFileName,\n getReportRows,\n isOrgLevelSite,\n isUniqueSite,\n}\n","import type MultiSelectStringFilter from \"../../../models/filter/multiSelectStringFilter\"\nimport { Scope as ScopeEnum } from \"../../../models/scope\"\nimport type { ITableColumn, ITableRow } from \"../../../models/table\"\nimport { getReportMultiSelectStringFilterByScope } from \"../util/util\"\nimport type { Report } from \"./report\"\n\nexport interface ActivityEmissionsFilters {\n filter: MultiSelectStringFilter\n}\n\ninterface ActivityEmissionsReportResult {\n amountConsumed: number\n category: string\n emissionSource: string\n mtCo2E: number\n scope: ScopeEnum\n unitsForAmountConsumed: string\n}\n\ntype ActivityEmissionsReport = Report\n\ntype ActivityEmissionsReportTableRow = ActivityEmissionsReportResult & ITableRow\n\n// Columns\nenum ActivityEmissionsReportColumnName {\n ActivityData = \"Activity Data\",\n Category = \"Category\",\n EmissionSource = \"Emission Source\",\n Scope = \"Scope\",\n TotalEmissionsMtCo2e = \"Total Emissions (MT CO2e)\",\n Unit = \"Unit\",\n}\n\nenum ActivityEmissionsReportKey {\n AmountConsumed = \"amountConsumed\",\n Category = \"category\",\n EmissionSource = \"emissionSource\",\n MtCo2e = \"mtCo2E\",\n Scope = \"scope\",\n Unit = \"unitsForAmountConsumed\",\n}\n\nconst activityEmissionsReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: ActivityEmissionsReportColumnName.EmissionSource,\n key: ActivityEmissionsReportKey.EmissionSource,\n },\n {\n id: 1,\n order: 1,\n title: ActivityEmissionsReportColumnName.Scope,\n key: ActivityEmissionsReportKey.Scope,\n },\n {\n id: 2,\n order: 2,\n title: ActivityEmissionsReportColumnName.Category,\n key: ActivityEmissionsReportKey.Category,\n },\n {\n id: 3,\n order: 3,\n title: ActivityEmissionsReportColumnName.TotalEmissionsMtCo2e,\n key: ActivityEmissionsReportKey.MtCo2e,\n },\n {\n id: 4,\n order: 4,\n title: ActivityEmissionsReportColumnName.ActivityData,\n key: ActivityEmissionsReportKey.AmountConsumed,\n },\n {\n id: 5,\n order: 5,\n title: ActivityEmissionsReportColumnName.Unit,\n key: ActivityEmissionsReportKey.Unit,\n },\n ]\n\nconst ActivityEmissionsScopeCheckboxes = [\n {\n label: `Scope ${ScopeEnum.One} (Direct Emissions)`,\n value: getReportMultiSelectStringFilterByScope(ScopeEnum.One),\n },\n {\n label: `Scope ${ScopeEnum.Two} (Indirect Emissions)`,\n value: getReportMultiSelectStringFilterByScope(ScopeEnum.Two),\n },\n {\n label: `Scope ${ScopeEnum.Three} (Indirect Emissions)`,\n value: getReportMultiSelectStringFilterByScope(ScopeEnum.Three),\n },\n {\n label: \"Water\",\n value: \"water\",\n },\n]\n\nenum ActivityEmissionsReportName {\n EmissionsSources = \"Emissions Sources\",\n}\n\nexport {\n type ActivityEmissionsReportResult,\n ActivityEmissionsScopeCheckboxes,\n activityEmissionsReportColumns,\n ActivityEmissionsReportColumnName,\n type ActivityEmissionsReportTableRow,\n ActivityEmissionsReportName,\n type ActivityEmissionsReport,\n ActivityEmissionsReportKey,\n}\n","import { ReportPath } from \"@/models/route\"\nimport type { ITableData, ITableRow } from \"@/models/table\"\nimport { FeatureFlags } from \"@/services/feature\"\n\nimport GresbLogo from \"../assets/images/gresb-logo.png\"\nimport GriLogo from \"../assets/images/gri-logo.png\"\n\nexport enum ReportGroup {\n Consultant,\n Custom,\n One,\n Two,\n}\n\nexport interface ReportCard {\n buttonLink: string\n buttonText: string\n dataE2e?: string\n dataReadyFeatureFlag?: FeatureFlags\n description?: string\n featureFlag?: FeatureFlags\n group: ReportGroup\n isPlaceholder?: boolean\n isVisibleToLimitedAccessUser?: boolean\n logo?: string\n newFeatureFlag?: FeatureFlags\n title: string\n underReviewFeatureFlag?: FeatureFlags\n}\n\ninterface ReportCardMap {\n EmissionsSources: ReportCard\n Gresb: ReportCard\n Gri: ReportCard\n MonthlySiteData: ReportCard\n ResourceSummary: ReportCard\n Scope3: ReportCard\n}\n\nexport const reportCard: ReportCardMap = {\n ResourceSummary: {\n buttonLink: ReportPath.ResourceSummary,\n buttonText: \"Start Resource Summary\",\n dataE2e: \"resource-summary-report-button\",\n description:\n \"Select and sort all sites based on volume, usage, and emissions\",\n group: ReportGroup.One,\n isVisibleToLimitedAccessUser: true,\n title: \"Resource Summary\",\n },\n EmissionsSources: {\n buttonLink: ReportPath.EmissionsSources,\n buttonText: \"Start Sources Summary\",\n dataE2e: \"emissions-sources-report-button\",\n description: \"Download activity and emissions totals for your organization\",\n featureFlag: FeatureFlags.REPORT_ACTIVITY_EMISSIONS,\n group: ReportGroup.One,\n isVisibleToLimitedAccessUser: false,\n title: \"Emissions Sources\",\n },\n MonthlySiteData: {\n buttonLink: ReportPath.MonthlySiteData,\n buttonText: \"Start Site Data Download\",\n dataE2e: \"monthly-site-data-report-button\",\n description: \"Download monthly activity or emission values for all sites\",\n featureFlag: FeatureFlags.REPORT_MONTHLY_SITE_DATA,\n group: ReportGroup.One,\n isVisibleToLimitedAccessUser: true,\n title: \"Monthly Site Data\",\n },\n Scope3: {\n buttonLink: ReportPath.ScopeThree,\n buttonText: \"Start Scope 3 Report\",\n dataE2e: \"scope3-report-button\",\n description: \"Download granular scope 3 emissions within your organization\",\n group: ReportGroup.One,\n isVisibleToLimitedAccessUser: false,\n title: \"Scope 3\",\n },\n Gri: {\n buttonLink: ReportPath.Gri,\n buttonText: \"Start GRI Data Export\",\n dataE2e: \"gri-data-export-button\",\n dataReadyFeatureFlag: FeatureFlags.REPORT_GRI_READY_TO_REPORT,\n featureFlag: FeatureFlags.REPORT_GRI,\n group: ReportGroup.Two,\n isVisibleToLimitedAccessUser: false,\n logo: GriLogo,\n title: \"GRI Data Export\",\n underReviewFeatureFlag: FeatureFlags.REPORT_GRI_UNDER_REVIEW,\n },\n Gresb: {\n buttonLink: ReportPath.Gresb,\n buttonText: \"Start GRESB Data Export\",\n dataE2e: \"gresb-data-export-button\",\n dataReadyFeatureFlag: FeatureFlags.REPORT_GRESB_READY_TO_REPORT,\n featureFlag: FeatureFlags.REPORT_GRESB,\n group: ReportGroup.Two,\n isVisibleToLimitedAccessUser: false,\n logo: GresbLogo,\n title: \"GRESB Data Export\",\n underReviewFeatureFlag: FeatureFlags.REPORT_GRESB_UNDER_REVIEW,\n },\n}\n\nexport const reportCards: ReportCard[] = Object.values(\n reportCard\n) as ReportCard[]\n\nexport interface Report {\n data: ITableData\n name: string\n}\n\nexport enum DataAlertInProgressText {\n AltText = \"Report in progress stepper, preview available\",\n Body = \"Our Environmental Science & Sustainability team is reviewing your data. Feel free to download a preview but don’t use it for reporting just yet. We will let you know when your data is ready.\",\n Title = \"We’re preparing your data\",\n}\n\nexport enum DataAlertCompleteText {\n AltText = \"Report complete stepper, ready to report\",\n Body = \"Our Environmental Science & Sustainability team has reviewed your data. This download can be used in your yearly reports.\",\n Title = \"Your data is ready for sharing\",\n}\n\nexport enum DataAlertPreviewText {\n Body = \"Contact us if you would like to use this data for reporting purposes\",\n Title = \"Preview Only\",\n}\n","import type { Interval } from \"luxon\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ReportingData from \"../../../../models/reportingData\"\nimport type { Scope } from \"../../../../models/scope\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type { ActivityEmissionsReportResult } from \"../../models/activityEmissions\"\nimport { ActivityEmissionsScopeCheckboxes } from \"../../models/activityEmissions\"\nimport { getReportMultiSelectStringFilterByScope } from \"../../util/util\"\n\ninterface ActivityEmissionsReportResponse\n extends CollectionProxy {\n meta: {\n stats: {\n activity_emissions: {\n // app/services/activity_emissions_service.rb ATTR_NAMES\n calculate: {\n amount_consumed: string\n category: string\n emission_source: string\n mt_co2e: string\n scope: Scope\n units_for_amount_consumed: string\n }[]\n }\n }\n }\n}\n\ninterface ActivityEmissionsReportFilters {\n filter: string[]\n}\n\nconst hasNoFilters = (filters: ActivityEmissionsReportFilters): boolean =>\n filters.filter.length === 0\n\nconst hasResultAndFilterMatchingScopeNumber = (\n result: ActivityEmissionsReportResult,\n filters: ActivityEmissionsReportFilters\n) =>\n filters.filter.find(\n // Identifies a result that matches a filter and matches a checkbox value\n (filter) =>\n ActivityEmissionsScopeCheckboxes.find(\n ({ value }) =>\n value === getReportMultiSelectStringFilterByScope(result.scope) &&\n filter === value\n ) !== undefined\n ) !== undefined\n\nconst hasResultAndFilterMatchingWater = (\n result: ActivityEmissionsReportResult,\n filters: ActivityEmissionsReportFilters\n) =>\n filters.filter.find((filter) => filter === \"water\") !== undefined &&\n result.scope === -1\n\nexport const hasResultMatchingFilters = (\n result: ActivityEmissionsReportResult,\n filters: ActivityEmissionsReportFilters\n) => {\n if (hasNoFilters(filters)) {\n return true\n }\n if (hasResultAndFilterMatchingScopeNumber(result, filters)) {\n return true\n }\n if (hasResultAndFilterMatchingWater(result, filters)) {\n return true\n }\n\n return false\n}\n\nconst processActivityEmissionsResponse = (\n calculate: ActivityEmissionsReportResponse[\"meta\"][\"stats\"][\"activity_emissions\"][\"calculate\"]\n): ActivityEmissionsReportResult[] =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n calculate.map((result) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n snakeCaseToCamelCase(\n Object.fromEntries(\n Object.entries(result).map(([key, value]) => {\n if ([\"mt_co2e\", \"amount_consumed\", \"scope\"].includes(key)) {\n return [key, Number(value) ?? 0]\n }\n return [key, value]\n })\n )\n )\n )\n\n/**\n * Passes through props to Rails ActivityEmissionsService via the API\n * which runs ActivityEmissionsService and returns the response\n *\n * @returns - A promise of the report data\n * @example\n * fetchActivityEmissionsReport(\n * \"1\",\n * Interval.fromISO(\"2021-01-01/2021-12-31\")\n * )\n */\nexport const fetchActivityEmissionsReport = async (\n orgId: string,\n reportDates: Interval\n): Promise => {\n try {\n return await ReportingData.where({\n organization_id: orgId,\n start_date: reportDates.start?.toISODate(),\n end_date: reportDates.end?.toISODate(),\n })\n .stats({\n activity_emissions: \"calculate\",\n })\n .all()\n .then(\n ({\n meta: {\n stats: {\n activity_emissions: { calculate },\n },\n },\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n }) => processActivityEmissionsResponse(calculate)\n )\n } catch {\n return null\n }\n}\n\nexport default {\n fetchActivityEmissionsReport,\n hasResultMatchingFilters,\n}\n","import { useMemo } from \"react\"\n\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { ActivityEmissionsReport } from \"../../models/activityEmissions\"\nimport {\n ActivityEmissionsReportName,\n activityEmissionsReportColumns,\n} from \"../../models/activityEmissions\"\nimport { getReportFileName, getReportRows } from \"../../util/util\"\nimport {\n fetchActivityEmissionsReport,\n hasResultMatchingFilters,\n} from \"./useActivityEmissionsReportUtils\"\n\n/**\n * The useActivityEmissionsReport service/hook returns report of emissions, including water\n * for a given organization and date range, filtered by given parameter.\n * Currently the only filter is scope but can be expanded in the future\n *\n * @returns The Activity Emissions Report\n * @example\n * const {\n * activityEmissionsReport,\n * isActivityEmissionsReportFetched,\n * isActivityEmissionsReportLoading\n * } = useActivityEmissionsReport(\"1\", dateRange)\n */\nexport const useActivityEmissionsReport = (\n orgId: string,\n dateRange: Interval,\n filters: { filter: string[] }\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.ActivityEmissionsReport,\n \"getOne\",\n orgId,\n {\n dateRange: dateRange.toISODate(),\n }\n )\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: () => fetchActivityEmissionsReport(orgId, dateRange),\n enabled: !!orgId && dateRange.isValid,\n })\n\n const activityEmissionsReport: ActivityEmissionsReport = useMemo(() => {\n if (queryResult.data?.length) {\n const filteredActivityEmissionsReportData = queryResult.data?.filter(\n (value) => hasResultMatchingFilters(value, filters)\n )\n return {\n name: getReportFileName(\n ActivityEmissionsReportName.EmissionsSources,\n dateRange,\n true // preview not relevant\n ),\n data: {\n columns: activityEmissionsReportColumns,\n rows: getReportRows(filteredActivityEmissionsReportData),\n },\n }\n }\n\n return null\n }, [queryResult.data, dateRange, filters])\n\n const modifiedQueryResult = {\n ...queryResult,\n data: activityEmissionsReport,\n } as UseQueryResult\n\n return useRenamedQueryResult(queryKey, modifiedQueryResult)\n}\n","import React, { useCallback, useEffect } from \"react\"\n\nimport { AnalyticsActionName } from \"@/models/analytics\"\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nimport DownloadIcon from \"@mui/icons-material/Download\"\nimport { LoadingButton } from \"@mui/lab\"\nimport type { SxProps } from \"@mui/material\"\n\nimport { downloadCsvNew } from \"../../../../utils/download\"\nimport type { Report } from \"../../models/report\"\n\ninterface IDownloadCsvProps {\n /**\n * Handler for button click when generating the file on demand\n */\n asyncOnClick?: () => void\n /**\n * Indicates if the report should be generated on demand\n */\n generateReportOnDemand?: boolean\n isDisabled?: boolean\n isLoading?: boolean\n /**\n * Optional handler when the file is ready to be downloaded on mount\n */\n onClick?: () => void\n /**\n * The given report that will be downloaded\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n report: Report | Report[] | null\n size?: \"small\" | \"medium\"\n sx?: SxProps\n title?: string\n variant?: \"contained\" | \"text\"\n}\n\n/**\n * A component that will convert the report the user is seeing into csv file and download it.\n * If the report is ready to be downloaded on component mount, it gets passed in as a prop and downloaded automatically via onClick handler.\n * If the report is generated on click, the asyncOnClick handler is called first, the report is generated, and then downloaded when ready.\n * ```tsx\n * import DownloadCsv from \"../downloadCsv/downloadCsv\"\n *\n * \n * ```\n */\nconst DownloadCsv = ({\n isDisabled,\n isLoading,\n onClick = () => {\n // This is left empty because the onClick is optional\n },\n asyncOnClick = async () => {\n // This is left empty because the asyncOnClick is optional\n },\n generateReportOnDemand,\n report,\n title = \"Download CSV\",\n variant,\n size,\n sx,\n}: IDownloadCsvProps) => {\n const handleClick = useCallback((): void => {\n if (Array.isArray(report)) {\n report.forEach((rep) => {\n downloadCsvNew(rep.data, rep.name)\n })\n } else {\n downloadCsvNew(report.data, report.name)\n }\n\n // Must trigger a custom action because Download CSV button doesn't trigger page activity\n // which is necessary for DataDog's automatic interaction tracking\n datadogRum.addAction(AnalyticsActionName.DownloadCsv)\n\n onClick()\n }, [onClick, report])\n\n // If we are generating file on demand (asyncOnClick is set) and report is ready, fire handleClick.\n // This is to handle the case where the user clicks the download button before the report is ready.\n // We don't want to fire handleClick here if report is ready on mount but we're not generating on demand.\n useEffect(() => {\n if (generateReportOnDemand && report) {\n handleClick()\n }\n }, [generateReportOnDemand, handleClick, report])\n\n const handleAsyncClick = () => {\n asyncOnClick()\n }\n\n return (\n }\n loading={isLoading}\n onClick={generateReportOnDemand ? handleAsyncClick : handleClick}\n size={size}\n sx={sx}\n title={title}\n variant={variant ?? \"contained\"}\n >\n {title}\n \n )\n}\n\nexport default DownloadCsv\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { NavLink } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport ChevronLeftRoundedIcon from \"@mui/icons-material/ChevronLeftRounded\"\nimport { Button } from \"@mui/material\"\n\nexport const ReportingLink: FC = () => {\n const { reportingPath } = useUrl()\n\n return (\n }\n to={reportingPath}\n >\n Report Selection\n \n )\n}\n","import React from \"react\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\n\nimport {\n Box,\n Divider,\n Paper,\n Stack,\n Typography,\n useMediaQuery,\n useTheme,\n} from \"@mui/material\"\n\nimport type { ReportCard } from \"../../models/report\"\nimport { ReportingLink } from \"../reporting-link\"\n\ninterface ReportTwoColumnLayoutProps {\n actions: JSX.Element\n details: JSX.Element\n detailsTitle: string\n filters: JSX.Element\n notifications?: JSX.Element\n report: ReportCard\n}\n\nconst styles = {\n column1Section: {\n padding: 2,\n },\n}\n\nexport const ReportTwoColumnLayout = ({\n actions,\n detailsTitle,\n details,\n filters,\n notifications,\n report,\n}: ReportTwoColumnLayoutProps): JSX.Element => {\n const theme = useTheme()\n const isMdBreakpoint: boolean = useMediaQuery(theme.breakpoints.up(\"md\"))\n\n return (\n <>\n \n \n \n \n \n \n \n \n {report.description}\n {notifications && {notifications}}\n \n {filters}\n \n \n \n {actions}\n \n \n \n \n {detailsTitle}\n \n \n {/* This is necessary for the MUI Grid to take up the available height */}\n \n {details}\n \n \n \n \n \n \n )\n}\n","import React, { useCallback } from \"react\"\n\nimport { NzDataGrid, UNITLESS_ROW_HEIGHT } from \"@/components/nzDataGrid\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { getMostRecentPreviousYearDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport { round } from \"lodash-es\"\nimport type { Interval } from \"luxon\"\n\nimport { Stack, Typography } from \"@mui/material\"\nimport type { GridColDef, GridRenderCellParams } from \"@mui/x-data-grid-pro\"\n\nimport { MonthRangeSelector } from \"../../../../components/date/monthRangeSelector/monthRangeSelector\"\nimport { DecimalWithPlaceholder } from \"../../../../components/decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { CheckboxList } from \"../../../../components/form/checkboxList/checkboxList\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport MultiSelectStringFilter from \"../../../../models/filter/multiSelectStringFilter\"\nimport { MonthRangePicker } from \"../../../../nzds/inputs/month-range-picker\"\nimport { useActiveOrganizationId } from \"../../../../services\"\nimport type { ActivityEmissionsFilters } from \"../../models/activityEmissions\"\nimport {\n ActivityEmissionsReportColumnName,\n ActivityEmissionsReportKey,\n ActivityEmissionsScopeCheckboxes,\n} from \"../../models/activityEmissions\"\nimport { reportCard } from \"../../models/report\"\nimport { useActivityEmissionsReport } from \"../../services/useActivityEmissionsReport/useActivityEmissionsReport\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport { ReportTwoColumnLayout } from \"../reportTwoColumnLayout\"\n\nconst columns: GridColDef[] = [\n {\n field: ActivityEmissionsReportKey.EmissionSource,\n headerName: ActivityEmissionsReportColumnName.EmissionSource,\n width: 264,\n },\n {\n field: ActivityEmissionsReportKey.Scope,\n headerName: ActivityEmissionsReportColumnName.Scope,\n renderCell: (params: GridRenderCellParams) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n params.value === -1 ? \"\" : params.value,\n width: 108,\n },\n {\n field: ActivityEmissionsReportKey.Category,\n headerName: ActivityEmissionsReportColumnName.Category,\n width: 188,\n },\n {\n align: \"right\",\n field: ActivityEmissionsReportKey.MtCo2e,\n headerAlign: \"right\",\n headerName: ActivityEmissionsReportColumnName.TotalEmissionsMtCo2e,\n renderCell: (params: GridRenderCellParams) => (\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n \n ),\n type: \"number\",\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n valueGetter: (params) => round(params.value, 2),\n width: 236,\n },\n {\n align: \"right\",\n field: ActivityEmissionsReportKey.AmountConsumed,\n headerAlign: \"right\",\n headerName: ActivityEmissionsReportColumnName.ActivityData,\n renderCell: (params: GridRenderCellParams) => (\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n \n ),\n type: \"number\",\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n valueGetter: (params) => round(params.value, 2),\n width: 152,\n },\n {\n field: ActivityEmissionsReportKey.Unit,\n flex: 1,\n headerName: ActivityEmissionsReportColumnName.Unit,\n minWidth: 96,\n },\n]\n\nconst ActivityEmissions = () => {\n const { filters, setFilters } = useFilters({\n filter: MultiSelectStringFilter,\n })\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const { activeOrganizationId } = useActiveOrganizationId()\n const { availableReportDatesData } =\n useAvailableReportDates(activeOrganizationId)\n\n const mostRecentPreviousYearDateRange = getMostRecentPreviousYearDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportActivityEmissionsDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentPreviousYearDateRange,\n })\n\n const { activityEmissionsReport, isActivityEmissionsReportFetching } =\n useActivityEmissionsReport(activeOrganizationId, dateRange, {\n filter: filters.filter?.value ?? [],\n })\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n const onFilterChange = useCallback(\n (filter: string[]): void => {\n setFilters({\n filter: new MultiSelectStringFilter(filter),\n })\n },\n [setFilters]\n )\n\n return (\n \n }\n details={\n \n }\n detailsTitle=\"Data Preview\"\n filters={\n <>\n \n Date Range\n {!isFeatureEnabled(\n FeatureFlags.REPORT_ACTIVITY_EMISSIONS_NZ_DATE_RANGE_SELECTOR,\n organization\n ) && (\n \n )}\n {isFeatureEnabled(\n FeatureFlags.REPORT_ACTIVITY_EMISSIONS_NZ_DATE_RANGE_SELECTOR,\n organization\n ) && (\n \n )}\n \n \n Filter By\n \n \n \n }\n report={reportCard.EmissionsSources}\n />\n )\n}\n\nexport default ActivityEmissions\n","import type { ITableColumn, ITableRow } from \"../../../models/table\"\nimport type { Report } from \"./report\"\n\nexport interface GresbEntityDto {\n assetName: string\n endDate: string\n startDate: string\n}\n\nexport interface GresbEnergyDto extends GresbEntityDto {\n electricityConsumptionKwh: string | null\n fuelConsumptionKwh: string | null\n}\n\nexport interface GresbGhgDto extends GresbEntityDto {\n scope1MtCo2E: string | null\n scope2AdvancedGridStudyMtCo2E: string | null\n scope2LocationBasedMtCo2E: string | null\n scope2MarketBasedMtCo2E: string | null\n scope3MtCo2E: string | null\n}\n\nexport interface GresbWaterDto extends GresbEntityDto {\n waterConsumptionM3: string | null\n}\n\nexport interface GresbDataDto {\n energy: GresbEnergyDto[]\n ghg: GresbGhgDto[]\n water: GresbWaterDto[]\n}\n\nexport interface GresbEntity extends GresbEntityDto {\n year: number\n}\n\nexport interface GresbEnergy extends GresbEntity {\n electricityConsumptionKwh: number\n fuelConsumptionKwh: number\n}\n\nexport interface GresbGhg extends GresbEntity {\n scope1MtCo2E: number\n scope2AdvancedGridStudyMtCo2E: number\n scope2LocationBasedMtCo2E: number\n scope2MarketBasedMtCo2E: number\n scope3MtCo2E: number\n}\n\nexport interface GresbWater extends GresbEntity {\n waterConsumptionM3: number\n}\n\nexport interface GresbData {\n energy: GresbEnergy[]\n ghg: GresbGhg[]\n water: GresbWater[]\n}\n\n// Report\nexport enum GresbReportName {\n Energy = \"GRESB Energy\",\n Ghg = \"GRESB GHG\",\n Water = \"GRESB Water\",\n}\n\nexport type GresbEnergyReportTableRow = GresbEnergy & ITableRow\n\nexport type GresbGhgReportTableRow = GresbGhg & ITableRow\n\nexport type GresbWaterReportTableRow = GresbWater & ITableRow\n\nexport interface GresbReport {\n energy: Report\n ghg: Report\n water: Report\n}\n\n// Columns\nexport enum GresbEnergyReportColumnName {\n AssetName = \"Asset Name\",\n Electricity = \"Whole Building Electricity Consumption (kWh)\",\n From = \"Data Available From (in reporting year)\",\n Fuel = \"Whole Building Fuels Consumption (kWh)\",\n To = \"Data Available To (in reporting year)\",\n Year = \"Reporting Year\",\n}\n\nexport enum GresbGhgReportColumnName {\n AssetName = \"Asset Name\",\n From = \"Data Available From (in reporting year)\",\n Scope1MtCo2E = \"Scope 1 Emissions (tonne)\",\n Scope2AdvancedGridStudyMtCo2E = \"Scope 2: Advanced Grid Study Emissions (tonne)\",\n Scope2LocationBasedMtCo2E = \"Scope 2: Location Based Emissions (tonne)\",\n Scope2MarketBasedMtCo2E = \"Scope 2: Market Based Emissions (tonne)\",\n Scope3MtCo2E = \"Scope 3: Tenant Emissions (tonne)\",\n To = \"Data Available To (in reporting year)\",\n Year = \"Reporting Year\",\n}\n\nexport enum GresbWaterReportColumnName {\n AssetName = \"Asset Name\",\n From = \"Data Available From (in reporting year)\",\n To = \"Data Available To (in reporting year)\",\n Water = \"Whole Building Consumption (m3)\",\n Year = \"Reporting Year\",\n}\n\nexport const gresbEnergyReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: GresbEnergyReportColumnName.AssetName,\n key: \"assetName\",\n },\n {\n id: 1,\n order: 1,\n title: GresbEnergyReportColumnName.Year,\n key: \"year\",\n },\n {\n id: 2,\n order: 2,\n title: GresbEnergyReportColumnName.From,\n key: \"startDate\",\n },\n {\n id: 3,\n order: 3,\n title: GresbEnergyReportColumnName.To,\n key: \"endDate\",\n },\n {\n id: 4,\n order: 4,\n title: GresbEnergyReportColumnName.Fuel,\n key: \"fuelConsumptionKwh\",\n },\n {\n id: 5,\n order: 5,\n title: GresbEnergyReportColumnName.Electricity,\n key: \"electricityConsumptionKwh\",\n },\n ]\n\nexport const gresbGhgReportColumns: ITableColumn[] = [\n {\n id: 0,\n order: 0,\n title: GresbGhgReportColumnName.AssetName,\n key: \"assetName\",\n },\n {\n id: 1,\n order: 1,\n title: GresbGhgReportColumnName.Year,\n key: \"year\",\n },\n {\n id: 2,\n order: 2,\n title: GresbGhgReportColumnName.From,\n key: \"startDate\",\n },\n {\n id: 3,\n order: 3,\n title: GresbGhgReportColumnName.To,\n key: \"endDate\",\n },\n {\n id: 4,\n order: 4,\n title: GresbGhgReportColumnName.Scope1MtCo2E,\n key: \"scope1MtCo2E\",\n },\n {\n id: 5,\n order: 5,\n title: GresbGhgReportColumnName.Scope2LocationBasedMtCo2E,\n key: \"scope2LocationBasedMtCo2E\",\n },\n {\n id: 6,\n order: 6,\n title: GresbGhgReportColumnName.Scope2MarketBasedMtCo2E,\n key: \"scope2MarketBasedMtCo2E\",\n },\n {\n id: 7,\n order: 7,\n title: GresbGhgReportColumnName.Scope2AdvancedGridStudyMtCo2E,\n key: \"scope2AdvancedGridStudyMtCo2E\",\n },\n {\n id: 8,\n order: 8,\n title: GresbGhgReportColumnName.Scope3MtCo2E,\n key: \"scope3MtCo2E\",\n },\n]\n\nexport const gresbWaterReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: GresbEnergyReportColumnName.AssetName,\n key: \"assetName\",\n },\n {\n id: 1,\n order: 1,\n title: GresbEnergyReportColumnName.Year,\n key: \"year\",\n },\n {\n id: 2,\n order: 2,\n title: GresbEnergyReportColumnName.From,\n key: \"startDate\",\n },\n {\n id: 3,\n order: 3,\n title: GresbEnergyReportColumnName.To,\n key: \"endDate\",\n },\n {\n id: 4,\n order: 4,\n title: GresbWaterReportColumnName.Water,\n key: \"waterConsumptionM3\",\n },\n ]\n","import { DateTime } from \"luxon\"\nimport type { Interval } from \"luxon\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ReportingData from \"../../../../models/reportingData\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type {\n GresbData,\n GresbDataDto,\n GresbEnergy,\n GresbEnergyDto,\n GresbGhg,\n GresbGhgDto,\n GresbWater,\n GresbWaterDto,\n} from \"../../models/gresb\"\n\n/**\n * Converts GRESB energy DTOs into GRESB energy objects\n *\n * @returns The GRESB energy objects\n * @example\n * getGresbEnergyFromDtos(gresbEnergyDtos)\n */\nexport const getGresbEnergyFromDtos = (\n energyDtos: GresbEnergyDto[]\n): GresbEnergy[] =>\n energyDtos.map((dto) => ({\n ...dto,\n electricityConsumptionKwh: Number.parseFloat(dto.electricityConsumptionKwh),\n fuelConsumptionKwh: Number.parseFloat(dto.fuelConsumptionKwh),\n year: DateTime.fromISO(dto.startDate).year,\n }))\n\n/**\n * Converts GRESB GHG DTOs into GRESB GHG objects\n *\n * @returns The GRESB GHG objects\n * @example\n * getGresbGhgFromDtos(gresbGhgDtos)\n */\nexport const getGresbGhgFromDtos = (ghgDtos: GresbGhgDto[]): GresbGhg[] =>\n ghgDtos.map((dto) => ({\n ...dto,\n scope1MtCo2E: Number.parseFloat(dto.scope1MtCo2E),\n scope2AdvancedGridStudyMtCo2E: Number.parseFloat(\n dto.scope2AdvancedGridStudyMtCo2E\n ),\n scope2LocationBasedMtCo2E: Number.parseFloat(dto.scope2LocationBasedMtCo2E),\n scope2MarketBasedMtCo2E: Number.parseFloat(dto.scope2MarketBasedMtCo2E),\n scope3MtCo2E: Number.parseFloat(dto.scope3MtCo2E),\n year: DateTime.fromISO(dto.startDate).year,\n }))\n\n/**\n * Converts GRESB water DTOs into GRESB water objects\n *\n * @returns The GRESB water objects\n * @example\n * getGresbWaterFromDtos(gresbWaterDtos)\n */\nexport const getGresbWaterFromDtos = (\n waterDtos: GresbWaterDto[]\n): GresbWater[] =>\n waterDtos.map((dto) => ({\n ...dto,\n waterConsumptionM3: Number.parseFloat(dto.waterConsumptionM3),\n year: DateTime.fromISO(dto.startDate).year,\n }))\n\n/**\n * Normalizes a response's keys into snake-case from ReportingData\n * and converts its values to Energy, Ghg, and Water objects\n */\nexport const processGresbResponse = (\n value: CollectionProxy\n): GresbData => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const reportDataDto: GresbDataDto = snakeCaseToCamelCase(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n value.meta.stats.gresb_service.calculate\n )\n\n const reportData: GresbData = {\n energy: getGresbEnergyFromDtos(reportDataDto.energy),\n ghg: getGresbGhgFromDtos(reportDataDto.ghg),\n water: getGresbWaterFromDtos(reportDataDto.water),\n }\n\n return reportData\n}\n\n/**\n * Fetches GRESB report data for the given organization and timeframe\n *\n * @param orgId - The organization id\n * @param dateRange - The date range for the report data\n * @returns The report data\n * @example\n * fetchGresbReport(\n * \"1\",\n * Interval.fromISO(\"2022-01-01/2022-02-28\")\n * )\n */\nexport const fetchGresbReport = async (\n orgId: string,\n dateRange: Interval\n): Promise =>\n ReportingData.where({\n organization_id: Number.parseInt(orgId, 10),\n year: dateRange.start?.year,\n start_month: dateRange.start?.month,\n end_month: dateRange.end?.month,\n })\n .stats({\n gresb_service: \"calculate\",\n })\n .all()\n .then(processGresbResponse)\n\nexport default {\n getGresbEnergyFromDtos,\n getGresbGhgFromDtos,\n getGresbWaterFromDtos,\n fetchGresbReport,\n}\n","import { useMemo } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport type {\n GresbData,\n GresbEnergy,\n GresbGhg,\n GresbReport,\n GresbWater,\n} from \"../../models/gresb\"\nimport {\n GresbReportName,\n gresbEnergyReportColumns,\n gresbGhgReportColumns,\n gresbWaterReportColumns,\n} from \"../../models/gresb\"\nimport { getReportFileName, getReportRows } from \"../../util/util\"\nimport { fetchGresbReport } from \"./useGresbReportUtils\"\n\n/**\n * A service that returns a GRESB report\n *\n * @returns The report\n * @example\n * const {\n * gresbReport,\n * isGresbReportFetched,\n * isGresbReportLoading\n * } = useGresbReport(\"1\", dateRange)\n */\nexport const useGresbReport = (\n orgId: string,\n dateRange: Interval,\n isDataReady: boolean\n) => {\n const queryKey = useQueryKey(ApiQueryName.GresbReport, \"getOne\", null, {\n orgId,\n dateRange: dateRange.toISODate(),\n })\n const queryResult = useQuery({\n enabled: !!orgId && dateRange.isValid,\n queryFn: () => fetchGresbReport(orgId, dateRange),\n queryKey,\n })\n\n const gresbReport: GresbReport = useMemo(() => {\n if (queryResult.data) {\n return {\n energy: {\n name: getReportFileName(\n GresbReportName.Energy,\n dateRange,\n isDataReady\n ),\n data: {\n columns: gresbEnergyReportColumns,\n rows: getReportRows(queryResult.data.energy),\n },\n },\n ghg: {\n name: getReportFileName(GresbReportName.Ghg, dateRange, isDataReady),\n data: {\n columns: gresbGhgReportColumns,\n rows: getReportRows(queryResult.data.ghg),\n },\n },\n water: {\n name: getReportFileName(\n GresbReportName.Water,\n dateRange,\n isDataReady\n ),\n data: {\n columns: gresbWaterReportColumns,\n rows: getReportRows(queryResult.data.water),\n },\n },\n }\n }\n\n return null\n }, [queryResult.data, dateRange, isDataReady])\n\n const modifiedQueryResult = {\n ...queryResult,\n data: gresbReport,\n } as UseQueryResult\n\n return useRenamedQueryResult(queryKey, modifiedQueryResult)\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box, Paper, Typography } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport {\n lightestBlue,\n newBlue,\n pickledBluewood,\n} from \"../../../../utils/colors\"\nimport { pxToRem } from \"../../../../utils/unit\"\n\ninterface DataAlertBaseProps {\n altText?: string\n body: string\n img?: string\n title: string\n}\n\nconst styles = {\n container: {\n backgroundColor: lightestBlue.toString(),\n borderColor: newBlue.toString(),\n width: pxToRem(376),\n p: 2,\n },\n}\n\nconst DataAlertBase: FC = ({\n title,\n body,\n img,\n altText,\n}) => (\n \n {img && (\n \n )}\n \n {title}\n \n \n {body}\n \n \n)\n\nexport default DataAlertBase\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport reportComplete from \"../../assets/images/report-complete.svg\"\nimport { DataAlertCompleteText } from \"../../models/report\"\nimport DataAlertBase from \"../dataAlertBase/dataAlertBase\"\n\nconst DataAlertComplete: FC = () => (\n \n)\n\nexport default DataAlertComplete\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport reportInProgress from \"../../assets/images/report-in-progress.svg\"\nimport { DataAlertInProgressText } from \"../../models/report\"\nimport DataAlertBase from \"../dataAlertBase/dataAlertBase\"\n\nconst DataAlertInProgress: FC = () => (\n \n)\n\nexport default DataAlertInProgress\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { DataAlertPreviewText } from \"../../models/report\"\nimport DataAlertBase from \"../dataAlertBase/dataAlertBase\"\n\nconst DataAlertPreview: FC = () => (\n \n)\n\nexport default DataAlertPreview\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport ReportCompleteAlert from \"../dataAlertComplete/dataAlertComplete\"\nimport DataAlertInProgress from \"../dataAlertInProgress/dataAlertInProgress\"\nimport DataAlertPreview from \"../dataAlertPreview/dataAlertPreview\"\n\ninterface DataAlertProps {\n isDataReady: boolean\n isDataUnderReview: boolean\n}\n\nconst DataAlert: FC = ({ isDataReady, isDataUnderReview }) => {\n const isDataPreviewAlertVisible: boolean = !isDataUnderReview && !isDataReady\n const isDataUnderReviewAlertVisible: boolean =\n isDataUnderReview && !isDataReady\n const isDataReadyAlertVisible: boolean = isDataReady\n\n return (\n \n {isDataPreviewAlertVisible && }\n {isDataUnderReviewAlertVisible && }\n {isDataReadyAlertVisible && }\n \n )\n}\n\nexport default DataAlert\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { Box, Paper, Typography } from \"@mui/material\"\n\ninterface ReportSummaryProps {\n children: ReactNode\n}\n\nconst DataSummary = ({ children }: ReportSummaryProps) => (\n \n \n Data Summary\n \n \n {children}\n \n \n)\n\nexport default DataSummary\n","import React, { useState } from \"react\"\n\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport DownloadIcon from \"@mui/icons-material/Download\"\nimport { LoadingButton } from \"@mui/lab\"\nimport {\n Box,\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n IconButton,\n Typography,\n} from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport type { Report } from \"../../models/report\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport inReviewIllustration from \"./images/in-review.svg\"\n\ninterface IDownloadPreviewCsvProps {\n isDisabled: boolean\n isLoading: boolean\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n report: Report | Report[]\n variant?: \"contained\" | \"text\"\n}\n\nconst DownloadPreviewCsv = ({\n isDisabled,\n isLoading,\n report,\n variant,\n}: IDownloadPreviewCsvProps) => {\n const [isOpen, setIsOpen] = useState(false)\n const handleOpen = () => {\n setIsOpen(true)\n }\n const handleClose = () => {\n setIsOpen(false)\n }\n\n return (\n <>\n }\n loading={isLoading}\n onClick={handleOpen}\n title=\"Download Preview CSV\"\n variant={variant ?? \"contained\"}\n >\n Download Preview CSV\n \n \n \n \n \n \n \n \n \n Get ready for reporting season\n \n \n Take a look at your preliminary emissions data and familiarize\n yourself with the report formatting.\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default DownloadPreviewCsv\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { ReportCard } from \"../../models/report\"\nimport { ReportingLink } from \"../reporting-link\"\n\ninterface ReportLayoutProps {\n actions: ReactNode\n details?: ReactNode\n filters: ReactNode\n notifications?: ReactNode\n report: ReportCard\n}\n\nconst ReportLayout = ({\n actions,\n details,\n filters,\n notifications,\n report,\n}: ReportLayoutProps) => (\n <>\n \n \n \n \n \n {notifications}\n \n {filters}\n \n {actions}\n {details}\n \n \n)\n\nexport default ReportLayout\n","import React, { useCallback, useMemo } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { getMostRecentPreviousYearDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport type { Interval } from \"luxon\"\n\nimport { WarningAmberRounded } from \"@mui/icons-material\"\nimport { Alert, Box, FormControl, FormLabel } from \"@mui/material\"\n\nimport { MonthRangeSelector } from \"../../../../components/date/monthRangeSelector/monthRangeSelector\"\nimport type {\n GresbEnergyReportTableRow,\n GresbGhgReportTableRow,\n GresbWaterReportTableRow,\n} from \"../../models/gresb\"\nimport type { Report } from \"../../models/report\"\nimport { reportCard } from \"../../models/report\"\nimport { useGresbReport } from \"../../services/useGresbReport/useGresbReport\"\nimport DataAlert from \"../dataAlert/dataAlert\"\nimport DataSummary from \"../dataSummary/dataSummary\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport DownloadPreviewCsv from \"../downloadPreviewCsv/downloadPreviewCsv\"\nimport ReportLayout from \"../reportLayout/reportLayout\"\n\n/**\n * A component used to build a GRESB report\n *\n * @example\n * return (\n * \n * )\n */\nconst Gresb = () => {\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(organization?.id)\n\n const mostRecentPreviousYearDateRange = getMostRecentPreviousYearDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportGresbDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentPreviousYearDateRange,\n })\n\n const isDataUnderReview: boolean = isFeatureEnabled(\n FeatureFlags.REPORT_GRESB_UNDER_REVIEW,\n organization\n )\n\n const isDataReady: boolean = isFeatureEnabled(\n FeatureFlags.REPORT_GRESB_READY_TO_REPORT,\n organization\n )\n\n const { gresbReport, isGresbReportLoading } = useGresbReport(\n organization?.id,\n dateRange,\n isDataReady\n )\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const reports: Report<\n | GresbEnergyReportTableRow\n | GresbGhgReportTableRow\n | GresbWaterReportTableRow\n >[] = useMemo(\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n () => (gresbReport ? Object.values(gresbReport) : []),\n [gresbReport]\n )\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n return (\n \n {!isDataReady && (\n \n )}\n {isDataReady && (\n \n )}\n \n }\n details={\n \n \n Your data download includes 3 individual CSV files for energy,\n emissions, and water sections of a GRESB report\n \n \n Your emissions CSV will include two data points for scope 2\n emissions:\n \n \n
  • Location based emissions (eGRID)
  • \n
  • NZero advanced grid study
  • \n
    \n } severity=\"warning\">\n This download does not include market-based emissions (optional for\n GRESB). Contact us to explore adding market-based emissions.\n \n
    \n }\n filters={\n \n Date Range\n \n \n }\n notifications={\n \n }\n report={reportCard.Gresb}\n />\n )\n}\n\nexport default Gresb\n","import type { ITableColumn, ITableRow } from \"../../../models/table\"\nimport type { Report } from \"./report\"\n\nexport interface GriEntityDto {\n disclosure: string\n}\n\nexport interface Gri302Dto extends GriEntityDto {\n electricityConsumptionGj: string\n heatingConsumptionGj: string\n nonRenewableFuelConsumptionGj: string\n renewableFuelConsumptionGj: string\n totalEnergyConsumptionGj: string\n}\n\nexport interface Gri303Dto extends GriEntityDto {\n waterConsumptionMl: string\n}\n\nexport interface Gri305Dto extends GriEntityDto {\n grossScope1MtCo2E: string\n grossScope2AdvancedGridStudyMtCo2E: string\n grossScope2LocationBasedMtCo2E: string\n grossScope2MarketBasedMtCo2E: string\n grossScope3MtCo2E: string\n scope3Category10MtCo2E: string\n scope3Category11MtCo2E: string\n scope3Category12MtCo2E: string\n scope3Category13MtCo2E: string\n scope3Category14MtCo2E: string\n scope3Category15MtCo2E: string\n scope3Category1MtCo2E: string\n scope3Category2MtCo2E: string\n scope3Category3MtCo2E: string\n scope3Category4MtCo2E: string\n scope3Category5MtCo2E: string\n scope3Category6MtCo2E: string\n scope3Category7MtCo2E: string\n scope3Category8MtCo2E: string\n scope3Category9MtCo2E: string\n}\n\nexport interface Gri306Dto extends GriEntityDto {\n wasteWeightMt: string\n}\n\nexport interface GriDataDto {\n gri302Energy: Gri302Dto[]\n gri303Water: Gri303Dto[]\n gri305Emissions: Gri305Dto[]\n gri306Waste: Gri306Dto[]\n}\n\nexport interface GriEntity extends GriEntityDto {\n source: string\n}\n\nexport interface Gri302 extends GriEntity {\n electricityConsumptionGj: number\n heatingConsumptionGj: number\n nonRenewableFuelConsumptionGj: number\n renewableFuelConsumptionGj: number\n totalEnergyConsumptionGj: number\n}\n\nexport interface Gri303 extends GriEntity {\n waterConsumptionMl: number\n}\n\nexport interface Gri305 extends GriEntity {\n gases: string\n grossScope1MtCo2E: number\n grossScope2AdvancedGridStudyMtCo2E: number\n grossScope2LocationBasedMtCo2E: number\n grossScope2MarketBasedMtCo2E: number\n grossScope3MtCo2E: number\n scope3Category10MtCo2E: number\n scope3Category11MtCo2E: number\n scope3Category12MtCo2E: number\n scope3Category13MtCo2E: number\n scope3Category14MtCo2E: number\n scope3Category15MtCo2E: number\n scope3Category1MtCo2E: number\n scope3Category2MtCo2E: number\n scope3Category3MtCo2E: number\n scope3Category4MtCo2E: number\n scope3Category5MtCo2E: number\n scope3Category6MtCo2E: number\n scope3Category7MtCo2E: number\n scope3Category8MtCo2E: number\n scope3Category9MtCo2E: number\n}\n\nexport interface Gri306 extends GriEntity {\n wasteWeightMt: number\n}\n\nexport interface GriData {\n gri302: Gri302[]\n gri303: Gri303[]\n gri305: Gri305[]\n gri306: Gri306[]\n}\n\n// Report\nexport enum GriReportName {\n Gri302 = \"GRI 302\",\n Gri303 = \"GRI 303\",\n Gri305 = \"GRI 305\",\n Gri306 = \"GRI 306\",\n}\n\nexport type Gri302ReportTableRow = Gri302 & ITableRow\n\nexport type Gri303ReportTableRow = Gri303 & ITableRow\n\nexport type Gri305ReportTableRow = Gri305 & ITableRow\n\nexport type Gri306ReportTableRow = Gri306 & ITableRow\n\nexport interface GriReport {\n gri302: Report\n gri303: Report\n gri305: Report\n gri306: Report\n}\n\n// Columns\nexport enum Gri302ReportColumnName {\n Disclosure = \"Disclosure\",\n Electricity = \"Electricity consumption\",\n Energy = \"Total energy consumption within the organization, in gigajoules or multiples\",\n Heating = \"Heating consumption\",\n NonRenewable = \"Total fuel consumption within the organization from non-renewable sources (gigajoules)\",\n Renewable = \"Total fuel consumption within the organization from renewable sources (gigajoules)\",\n Source = \"GRI STANDARD/ OTHER SOURCE\",\n}\n\nexport enum Gri303ReportColumnName {\n Disclosure = \"Disclosure\",\n Source = \"GRI STANDARD/ OTHER SOURCE\",\n Water = \"Total water consumption from all areas in megaliters\",\n}\n\nexport enum Gri305ReportColumnName {\n Disclosure = \"Disclosure\",\n Gases = \"Gases included in the calculation; whether CO2, CH4, N2O, HFCs, PFCs, SF6, NF3, or all\",\n GrossScope1 = \"Gross Scope 1\",\n GrossScope2AdvancedGridStudy = \"Gross Scope 2: Advanced Grid Study\",\n GrossScope2Location = \"Gross Scope 2: Location Based\",\n GrossScope2Market = \"Gross Scope 2: Market Based\",\n GrossScope3 = \"Gross Scope 3\",\n Scope3Category1 = \"Scope 3: Category 1\",\n Scope3Category10 = \"Scope 3: Category 10\",\n Scope3Category11 = \"Scope 3: Category 11\",\n Scope3Category12 = \"Scope 3: Category 12\",\n Scope3Category13 = \"Scope 3: Category 13\",\n Scope3Category14 = \"Scope 3: Category 14\",\n Scope3Category15 = \"Scope 3: Category 15\",\n Scope3Category2 = \"Scope 3: Category 2\",\n Scope3Category3 = \"Scope 3: Category 3\",\n Scope3Category4 = \"Scope 3: Category 4\",\n Scope3Category5 = \"Scope 3: Category 5\",\n Scope3Category6 = \"Scope 3: Category 6\",\n Scope3Category7 = \"Scope 3: Category 7\",\n Scope3Category8 = \"Scope 3: Category 8\",\n Scope3Category9 = \"Scope 3: Category 9\",\n Source = \"GRI STANDARD/ OTHER SOURCE\",\n}\n\nexport enum Gri306ReportColumnName {\n Disclosure = \"Disclosure\",\n Source = \"GRI STANDARD/ OTHER SOURCE\",\n Waste = \"Total weight of waste generated in metric tons, and a breakdown of this total by composition of the waste\",\n}\n\nexport enum GriEntitySourceName {\n Gri302 = \"GRI 302: Energy 2016\",\n Gri303 = \"GRI 303: Water and Effluents 2018\",\n Gri305 = \"GRI 305: Emissions 2016\",\n Gri306 = \"GRI 306: Waste 2020\",\n}\n\nexport const gri302ReportColumns: ITableColumn[] = [\n {\n id: 0,\n order: 0,\n title: Gri302ReportColumnName.Source,\n key: \"source\",\n },\n {\n id: 1,\n order: 1,\n title: Gri302ReportColumnName.Disclosure,\n key: \"disclosure\",\n },\n {\n id: 2,\n order: 2,\n title: Gri302ReportColumnName.NonRenewable,\n key: \"nonRenewableFuelConsumptionGj\",\n },\n {\n id: 3,\n order: 3,\n title: Gri302ReportColumnName.Renewable,\n key: \"renewableFuelConsumptionGj\",\n },\n {\n id: 4,\n order: 4,\n title: Gri302ReportColumnName.Electricity,\n key: \"electricityConsumptionGj\",\n },\n {\n id: 5,\n order: 5,\n title: Gri302ReportColumnName.Heating,\n key: \"heatingConsumptionGj\",\n },\n {\n id: 6,\n order: 6,\n title: Gri302ReportColumnName.Energy,\n key: \"totalEnergyConsumptionGj\",\n },\n]\n\nexport const gri303ReportColumns: ITableColumn[] = [\n {\n id: 0,\n order: 0,\n title: Gri303ReportColumnName.Source,\n key: \"source\",\n },\n {\n id: 1,\n order: 1,\n title: Gri303ReportColumnName.Disclosure,\n key: \"disclosure\",\n },\n {\n id: 2,\n order: 2,\n title: Gri303ReportColumnName.Water,\n key: \"waterConsumptionMl\",\n },\n]\n\nexport const gri305ReportColumns: ITableColumn[] = [\n {\n id: 0,\n order: 0,\n title: Gri305ReportColumnName.Source,\n key: \"source\",\n },\n {\n id: 1,\n order: 1,\n title: Gri305ReportColumnName.Disclosure,\n key: \"disclosure\",\n },\n {\n id: 2,\n order: 2,\n title: Gri305ReportColumnName.Gases,\n key: \"gases\",\n },\n {\n id: 3,\n order: 3,\n title: Gri305ReportColumnName.GrossScope1,\n key: \"grossScope1MtCo2E\",\n },\n {\n id: 4,\n order: 4,\n title: Gri305ReportColumnName.GrossScope2Location,\n key: \"grossScope2LocationBasedMtCo2E\",\n },\n {\n id: 5,\n order: 5,\n title: Gri305ReportColumnName.GrossScope2Market,\n key: \"grossScope2MarketBasedMtCo2E\",\n },\n {\n id: 6,\n order: 6,\n title: Gri305ReportColumnName.GrossScope2AdvancedGridStudy,\n key: \"grossScope2AdvancedGridStudyMtCo2E\",\n },\n {\n id: 7,\n order: 7,\n title: Gri305ReportColumnName.GrossScope3,\n key: \"grossScope3MtCo2E\",\n },\n {\n id: 8,\n order: 8,\n title: Gri305ReportColumnName.Scope3Category1,\n key: \"scope3Category1MtCo2E\",\n },\n {\n id: 9,\n order: 9,\n title: Gri305ReportColumnName.Scope3Category2,\n key: \"scope3Category2MtCo2E\",\n },\n {\n id: 10,\n order: 10,\n title: Gri305ReportColumnName.Scope3Category3,\n key: \"scope3Category3MtCo2E\",\n },\n {\n id: 11,\n order: 11,\n title: Gri305ReportColumnName.Scope3Category4,\n key: \"scope3Category4MtCo2E\",\n },\n {\n id: 12,\n order: 12,\n title: Gri305ReportColumnName.Scope3Category5,\n key: \"scope3Category5MtCo2E\",\n },\n {\n id: 13,\n order: 13,\n title: Gri305ReportColumnName.Scope3Category6,\n key: \"scope3Category6MtCo2E\",\n },\n {\n id: 14,\n order: 14,\n title: Gri305ReportColumnName.Scope3Category7,\n key: \"scope3Category7MtCo2E\",\n },\n {\n id: 15,\n order: 15,\n title: Gri305ReportColumnName.Scope3Category8,\n key: \"scope3Category8MtCo2E\",\n },\n {\n id: 16,\n order: 16,\n title: Gri305ReportColumnName.Scope3Category9,\n key: \"scope3Category9MtCo2E\",\n },\n {\n id: 17,\n order: 17,\n title: Gri305ReportColumnName.Scope3Category10,\n key: \"scope3Category10MtCo2E\",\n },\n {\n id: 18,\n order: 18,\n title: Gri305ReportColumnName.Scope3Category11,\n key: \"scope3Category11MtCo2E\",\n },\n {\n id: 19,\n order: 19,\n title: Gri305ReportColumnName.Scope3Category12,\n key: \"scope3Category12MtCo2E\",\n },\n {\n id: 20,\n order: 20,\n title: Gri305ReportColumnName.Scope3Category13,\n key: \"scope3Category13MtCo2E\",\n },\n {\n id: 21,\n order: 21,\n title: Gri305ReportColumnName.Scope3Category14,\n key: \"scope3Category14MtCo2E\",\n },\n {\n id: 22,\n order: 22,\n title: Gri305ReportColumnName.Scope3Category15,\n key: \"scope3Category15MtCo2E\",\n },\n]\n\nexport const gri306ReportColumns: ITableColumn[] = [\n {\n id: 0,\n order: 0,\n title: Gri306ReportColumnName.Source,\n key: \"source\",\n },\n {\n id: 1,\n order: 1,\n title: Gri306ReportColumnName.Disclosure,\n key: \"disclosure\",\n },\n {\n id: 2,\n order: 2,\n title: Gri306ReportColumnName.Waste,\n key: \"wasteWeightMt\",\n },\n]\n","import type { Interval } from \"luxon\"\n\nimport ReportingData from \"../../../../models/reportingData\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type {\n Gri302,\n Gri302Dto,\n Gri303,\n Gri303Dto,\n Gri305,\n Gri305Dto,\n Gri306,\n Gri306Dto,\n GriData,\n GriDataDto,\n} from \"../../models/gri\"\nimport { GriEntitySourceName } from \"../../models/gri\"\n\nexport const getGri302FromDtos = (energyDtos: Gri302Dto[]): Gri302[] =>\n energyDtos.map((dto) => ({\n disclosure: dto.disclosure,\n electricityConsumptionGj: Number.parseFloat(dto.electricityConsumptionGj),\n heatingConsumptionGj: Number.parseFloat(dto.heatingConsumptionGj),\n nonRenewableFuelConsumptionGj: Number.parseFloat(\n dto.nonRenewableFuelConsumptionGj\n ),\n renewableFuelConsumptionGj: Number.parseFloat(\n dto.renewableFuelConsumptionGj\n ),\n source: GriEntitySourceName.Gri302,\n totalEnergyConsumptionGj: Number.parseFloat(dto.totalEnergyConsumptionGj),\n }))\n\nexport const getGri303FromDtos = (dtos: Gri303Dto[]): Gri303[] =>\n dtos.map((dto) => ({\n disclosure: dto.disclosure,\n source: GriEntitySourceName.Gri303,\n waterConsumptionMl: Number.parseFloat(dto.waterConsumptionMl),\n }))\n\nexport const getGri305FromDtos = (emissionDtos: Gri305Dto[]): Gri305[] =>\n emissionDtos.map((dto) => ({\n disclosure: dto.disclosure,\n gases: \"CO2, CH4, N20\",\n grossScope1MtCo2E: Number.parseFloat(dto.grossScope1MtCo2E),\n grossScope2AdvancedGridStudyMtCo2E: Number.parseFloat(\n dto.grossScope2AdvancedGridStudyMtCo2E\n ),\n grossScope2LocationBasedMtCo2E: Number.parseFloat(\n dto.grossScope2LocationBasedMtCo2E\n ),\n grossScope2MarketBasedMtCo2E: Number.parseFloat(\n dto.grossScope2MarketBasedMtCo2E\n ),\n grossScope3MtCo2E: Number.parseFloat(dto.grossScope3MtCo2E),\n scope3Category1MtCo2E: Number.parseFloat(dto.scope3Category1MtCo2E),\n scope3Category2MtCo2E: Number.parseFloat(dto.scope3Category2MtCo2E),\n scope3Category3MtCo2E: Number.parseFloat(dto.scope3Category3MtCo2E),\n scope3Category4MtCo2E: Number.parseFloat(dto.scope3Category4MtCo2E),\n scope3Category5MtCo2E: Number.parseFloat(dto.scope3Category5MtCo2E),\n scope3Category6MtCo2E: Number.parseFloat(dto.scope3Category6MtCo2E),\n scope3Category7MtCo2E: Number.parseFloat(dto.scope3Category7MtCo2E),\n scope3Category8MtCo2E: Number.parseFloat(dto.scope3Category8MtCo2E),\n scope3Category9MtCo2E: Number.parseFloat(dto.scope3Category9MtCo2E),\n scope3Category10MtCo2E: Number.parseFloat(dto.scope3Category10MtCo2E),\n scope3Category11MtCo2E: Number.parseFloat(dto.scope3Category11MtCo2E),\n scope3Category12MtCo2E: Number.parseFloat(dto.scope3Category12MtCo2E),\n scope3Category13MtCo2E: Number.parseFloat(dto.scope3Category13MtCo2E),\n scope3Category14MtCo2E: Number.parseFloat(dto.scope3Category14MtCo2E),\n scope3Category15MtCo2E: Number.parseFloat(dto.scope3Category15MtCo2E),\n source: GriEntitySourceName.Gri305,\n }))\n\nexport const getGri306FromDtos = (dtos: Gri306Dto[]): Gri306[] =>\n dtos.map((dto) => ({\n disclosure: dto.disclosure,\n source: GriEntitySourceName.Gri306,\n wasteWeightMt: Number.parseFloat(dto.wasteWeightMt),\n }))\n\n/**\n * Fetches GRI report data for the given organization and timeframe\n *\n * @param orgId - The organization id\n * @param dateRange - The date range for the report data\n * @returns The report data\n * @example\n * fetchGriReport(\n * \"1\",\n * Interval.fromISO(\"2022-01-01/2022-02-28\")\n * )\n */\nexport const fetchGriReport = async (\n orgId: string,\n dateRange: Interval\n): Promise => {\n const griData = await ReportingData.where({\n organization_id: Number.parseInt(orgId, 10),\n year: dateRange.start?.year,\n start_month: dateRange.start?.month,\n end_month: dateRange.end?.month,\n })\n .stats({\n gri_service: \"calculate\",\n })\n .all()\n .then((response) => {\n const reportDataDto = snakeCaseToCamelCase(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n response.meta.stats.gri_service.calculate\n ) as GriDataDto\n\n const reportData: GriData = {\n gri302: getGri302FromDtos(reportDataDto.gri302Energy),\n gri303: getGri303FromDtos(reportDataDto.gri303Water),\n gri305: getGri305FromDtos(reportDataDto.gri305Emissions),\n gri306: getGri306FromDtos(reportDataDto.gri306Waste),\n }\n\n return reportData\n })\n\n return griData\n}\n\nexport default {\n getGri302FromDto: getGri302FromDtos,\n getGri303FromDto: getGri303FromDtos,\n getGri305FromDto: getGri305FromDtos,\n getGri306FromDto: getGri306FromDtos,\n fetchGriReport,\n}\n","import { useMemo } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport type {\n Gri302,\n Gri303,\n Gri305,\n Gri306,\n GriData,\n GriReport,\n} from \"../../models/gri\"\nimport {\n GriReportName,\n gri302ReportColumns,\n gri303ReportColumns,\n gri305ReportColumns,\n gri306ReportColumns,\n} from \"../../models/gri\"\nimport { getReportFileName, getReportRows } from \"../../util/util\"\nimport { fetchGriReport } from \"./useGriReportUtils\"\n\n/**\n * The useGriReport service/hook returns a GRI Report\n *\n * @returns The report\n * @example\n * const {\n * griReport,\n * isGriReportFetched,\n * isGriReportLoading\n * } = useGriReport(\"1\", dateRange)\n */\nexport const useGriReport = (\n orgId: string,\n dateRange: Interval,\n isDataReady: boolean\n) => {\n const queryKey = useQueryKey(ApiQueryName.GriReport, \"getOne\", null, {\n orgId,\n dateRange: dateRange.toISODate(),\n })\n const queryResult = useQuery({\n enabled: !!orgId && dateRange.isValid,\n queryFn: () => fetchGriReport(orgId, dateRange),\n queryKey,\n })\n\n const griReport: GriReport = useMemo(() => {\n if (queryResult.data) {\n return {\n gri302: {\n name: getReportFileName(GriReportName.Gri302, dateRange, isDataReady),\n data: {\n columns: gri302ReportColumns,\n rows: getReportRows(queryResult.data.gri302),\n },\n },\n gri303: {\n name: getReportFileName(GriReportName.Gri303, dateRange, isDataReady),\n data: {\n columns: gri303ReportColumns,\n rows: queryResult.data\n ? getReportRows(queryResult.data.gri303)\n : [],\n },\n },\n gri305: {\n name: getReportFileName(GriReportName.Gri305, dateRange, isDataReady),\n data: {\n columns: gri305ReportColumns,\n rows: queryResult.data\n ? getReportRows(queryResult.data.gri305)\n : [],\n },\n },\n gri306: {\n name: getReportFileName(GriReportName.Gri306, dateRange, isDataReady),\n data: {\n columns: gri306ReportColumns,\n rows: queryResult.data\n ? getReportRows(queryResult.data.gri306)\n : [],\n },\n },\n }\n }\n\n return null\n }, [queryResult.data, dateRange, isDataReady])\n\n const modifiedQueryResult = {\n ...queryResult,\n data: griReport,\n } as UseQueryResult\n\n return useRenamedQueryResult(queryKey, modifiedQueryResult)\n}\n","import React, { useCallback, useMemo } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { getMostRecentPreviousYearDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport type { Interval } from \"luxon\"\n\nimport { WarningAmberRounded } from \"@mui/icons-material\"\nimport { Alert, Box, FormControl, FormLabel } from \"@mui/material\"\n\nimport { MonthRangeSelector } from \"../../../../components/date/monthRangeSelector/monthRangeSelector\"\nimport type {\n Gri302ReportTableRow,\n Gri303ReportTableRow,\n Gri305ReportTableRow,\n Gri306ReportTableRow,\n} from \"../../models/gri\"\nimport type { Report } from \"../../models/report\"\nimport { reportCard } from \"../../models/report\"\nimport { useGriReport } from \"../../services/useGriReport/useGriReport\"\nimport DataAlert from \"../dataAlert/dataAlert\"\nimport DataSummary from \"../dataSummary/dataSummary\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport DownloadPreviewCsv from \"../downloadPreviewCsv/downloadPreviewCsv\"\nimport ReportLayout from \"../reportLayout/reportLayout\"\n\nconst Gri = () => {\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(organization?.id)\n\n const mostRecentPreviousYearDateRange = getMostRecentPreviousYearDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportGriDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentPreviousYearDateRange,\n })\n\n const isDataUnderReview: boolean = isFeatureEnabled(\n FeatureFlags.REPORT_GRI_UNDER_REVIEW,\n organization\n )\n\n const isDataReady: boolean = isFeatureEnabled(\n FeatureFlags.REPORT_GRI_READY_TO_REPORT,\n organization\n )\n\n const { griReport, isGriReportLoading } = useGriReport(\n organization?.id,\n dateRange,\n isDataReady\n )\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const reports: Report<\n | Gri302ReportTableRow\n | Gri303ReportTableRow\n | Gri305ReportTableRow\n | Gri306ReportTableRow\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n >[] = useMemo(() => (griReport ? Object.values(griReport) : []), [griReport])\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n return (\n \n {!isDataReady && (\n \n )}\n {isDataReady && (\n \n )}\n \n }\n details={\n \n \n Your data download includes 4 individual CSV files for energy\n (GRI–302), water (GRI–303), emissions (GRI–305), and waste (GRI–306)\n \n \n Your emissions CSV (GRI-305) will include two data points for scope\n 2 emissions:\n \n \n
  • Location based emissions (eGRID)
  • \n
  • NZero advanced grid study
  • \n
    \n } severity=\"warning\">\n This download does not include market-based emissions. Contact us to\n explore adding them.\n \n
    \n }\n filters={\n \n Date Range\n \n \n }\n notifications={\n \n }\n report={reportCard.Gri}\n />\n )\n}\n\nexport default Gri\n","import type { IFilter } from \"./filter\"\n\n/**\n * A filter for one string\n *\n * @param value - The string\n * @returns The filter instance\n * @example\n * new SingleSelectStringFilter()\n * new SingleSelectStringFilter(\"1\")\n * SingleSelectStringFilter.fromQueryParamValue()\n * SingleSelectStringFilter.fromQueryParamValue(\"\")\n * SingleSelectStringFilter.fromQueryParamValue(\"1\")\n */\nexport default class SingleSelectStringFilter\n implements IFilter\n{\n value: string | null\n\n constructor(value?: string) {\n // Take only the first comma separated value\n this.value = typeof value === \"string\" ? value.split(\",\")[0] : null\n }\n\n isEqualTo(filter: SingleSelectStringFilter) {\n return this.value === filter.value\n }\n\n toQueryParamValue() {\n return this.value ?? \"\"\n }\n\n static fromQueryParamValue(\n queryParamValue: string | undefined\n ): SingleSelectStringFilter {\n return new SingleSelectStringFilter(queryParamValue)\n }\n}\n","// @ts-strict-ignore\nimport type { Ref } from \"react\"\nimport React, { forwardRef } from \"react\"\n\nimport { Autocomplete as MuiAutocomplete } from \"@mui/material\"\n\nimport type { WithForwardRefType } from \"./autocomplete.types\"\n\nexport const Autocomplete: WithForwardRefType = forwardRef(\n (props, ref: Ref) => \n)\n","import { cloneDeep, omit, sortBy } from \"lodash-es\"\n\nimport type { CurrencyCode } from \"../../../../models/currencyCode\"\nimport type { Language, LanguageRegion } from \"../../../../models/i18n\"\nimport { MeasurementSystem } from \"../../../../models/measurementSystem\"\nimport ReportingData from \"../../../../models/reportingData\"\nimport { ElectricityEmissionsFactor } from \"../../../../models/scopeTwo\"\nimport type { Order } from \"../../../../models/sort\"\nimport type { ITableColumnMetadata } from \"../../../../models/table\"\nimport { GhgWeightUnit, UnitName } from \"../../../../models/unit\"\nimport {\n gallonsToCubicMeter,\n getMeasurementSystem,\n poundsToKilogram,\n poundsToMetricTon,\n translateUnit,\n} from \"../../../../utils\"\nimport { GJ_PER_KWH, GJ_PER_THERM } from \"../../../../utils/constants\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\nimport type {\n IGetReportDataCriteria,\n ResourceSummaryMonthRecord,\n ResourceSummaryMonthRecordDto,\n ResourceSummaryMonthRecordWithTotalGhg,\n ResourceSummaryRecord,\n ResourceSummaryReportTableColumn,\n} from \"../../models/resourceSummary\"\nimport {\n FLEET_SITE_ID_RAW,\n FLEET_SITE_NAME,\n ORG_LEVEL_SITE_ID,\n ORG_LEVEL_SITE_NAME,\n ResourceSummaryReportColumn,\n energyColumns, // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n resourceSummaryReportColumns,\n volumeColumns,\n} from \"../../models/resourceSummary\"\nimport { isOrgLevelSite, isUniqueSite } from \"../../util/util\"\n\nexport const addGjValuesToReportData = (\n reportData: ResourceSummaryRecord[]\n): ResourceSummaryRecord[] => {\n const reportDataWithGj = reportData.map((data) => {\n let totalGj = 0\n const dataWithGj: ResourceSummaryRecord = { ...data }\n\n volumeColumns.forEach((column, index) => {\n let energyValue: number\n if (column.key === ResourceSummaryReportColumn.kwh.key) {\n energyValue = Number(data[column.key]) * GJ_PER_KWH\n }\n if (column.key === ResourceSummaryReportColumn.naturalGasThms.key) {\n energyValue = Number(data[column.key]) * GJ_PER_THERM\n }\n dataWithGj[energyColumns[index].key.toString()] = energyValue\n totalGj += energyValue\n })\n dataWithGj.totalGj = totalGj\n\n return dataWithGj\n })\n\n return reportDataWithGj\n}\n\nconst buildColumnTitle = (\n metadata: ITableColumnMetadata,\n t,\n language: string,\n currency: CurrencyCode,\n weightUnit: string\n): string => {\n // Otherwise dynamically build the header string parts\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const resourcePart = metadata.resourceDisplayName\n ? // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n t(metadata.resourceDisplayName)\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n metadata.resource?.name || \"\"\n\n const locationBasedPart =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n metadata?.electricityEmissionsFactor?.id ===\n ElectricityEmissionsFactor.LocationBased.id\n ? \" Location-Based\"\n : \"\"\n\n const scopePart = metadata.scope\n ? `(Scope ${metadata.scope}${locationBasedPart})`\n : \"\"\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const metricPart =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n metadata.formatMetric && metadata.metric?.name\n ? // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n metadata.formatMetric(metadata.metric?.name)\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n metadata.metric?.name || \"\"\n\n // Convert to the user-selected weight display unit if necessary\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const selectedDisplayUnit =\n weightUnit === GhgWeightUnit.Mt &&\n metadata.unit === UnitName.PoundsOfCarbonDioxideEquivalent\n ? UnitName.MetricTon\n : metadata.unit\n\n // Translate the unit if necessary\n const unitPart = selectedDisplayUnit\n ? // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n `(${translateUnit(language, selectedDisplayUnit, currency)})`\n : \"\"\n\n // Form the full header, cleaning up any unnecessary spaces\n const title = `${\n metadata.isTotal ? \"Total \" : \"\"\n } ${resourcePart} ${scopePart} ${metricPart} ${unitPart}`\n .replace(/\\s+/g, \" \")\n .trim()\n\n return title\n}\n\n/**\n * Handles conversion to/from `lb`, `kg`, and `MT` for weight units and `gal`, `cu m` for liquid\n * volume units of report data values. Returns a new array.\n *\n * @param data - The original data set, weight values are expected to be in\n * `lb CO2e` and water volume should be in `gal`\n * @param selectedWeightUnit - The selected report display weight unit (`MT` or\n * `lb`)\n * @param language - The selected language determines the conversion calculation\n * @returns The converted/localized data values\n */\nexport const convertReportDataUnits = (\n data: ResourceSummaryRecord[],\n selectedWeightUnit: GhgWeightUnit,\n language: LanguageRegion | Language\n): ResourceSummaryRecord[] => {\n const newData = cloneDeep(data)\n\n if (selectedWeightUnit === GhgWeightUnit.Mt) {\n // `MT` is selected, convert weight units to MT\n newData.forEach((datum) => {\n datum.advancedGridStudyCo2ELbs = poundsToMetricTon(\n datum.advancedGridStudyCo2ELbs\n )\n datum.fuelCo2ELbs = poundsToMetricTon(datum.fuelCo2ELbs)\n datum.locationElectricityCo2ELbs = poundsToMetricTon(\n datum.locationElectricityCo2ELbs\n )\n datum.naturalGasCo2ELbs = poundsToMetricTon(datum.naturalGasCo2ELbs)\n datum.refrigerantCo2ELbs = poundsToMetricTon(datum.refrigerantCo2ELbs)\n datum.totalGhgLbsCO2e = poundsToMetricTon(datum.totalGhgLbsCO2e)\n })\n } else if (getMeasurementSystem(language) !== MeasurementSystem.USCU) {\n // `lbs` is selected and org uses non-USC measurement system, convert to SI units\n newData.forEach((datum) => {\n datum.advancedGridStudyCo2ELbs = poundsToKilogram(\n datum.advancedGridStudyCo2ELbs\n )\n datum.fuelCo2ELbs = poundsToKilogram(datum.fuelCo2ELbs)\n datum.locationElectricityCo2ELbs = poundsToKilogram(\n datum.locationElectricityCo2ELbs\n )\n datum.naturalGasCo2ELbs = poundsToKilogram(datum.naturalGasCo2ELbs)\n datum.refrigerantCo2ELbs = poundsToKilogram(datum.refrigerantCo2ELbs)\n datum.totalGhgLbsCO2e = poundsToKilogram(datum.totalGhgLbsCO2e)\n })\n }\n\n if (getMeasurementSystem(language) !== MeasurementSystem.USCU) {\n // org uses non-USC measurement system, convert gallons to `cu m`\n newData.forEach((datum) => {\n datum.waterGallons = gallonsToCubicMeter(datum.waterGallons)\n })\n }\n\n return newData\n}\n\n/**\n * Returns the provided Resource Summary columns with their titles properly formatted\n *\n * @param columns - The array of Resource Summary columns\n * @param t - The translation function\n * @param language - The language (e.g. \"en-US\")\n * @param currency - The currency code (e.g. \"USD\")\n * @param weightUnit - The weight unit (e.g. \"MT\")\n * @returns The columns\n * @example\n * getFormattedColumns(\n * resourceSummaryReportColumns,\n * t,\n * i18n.language,\n * currency,\n * GhgWeightUnit.Mt)\n */\nexport const getFormattedColumns = (\n columns: ResourceSummaryReportTableColumn[],\n t,\n language: string,\n currency: CurrencyCode,\n weightUnit: string\n): ResourceSummaryReportTableColumn[] =>\n columns.map((column) => ({\n ...column,\n title: !column.metadata?.isTitleDynamic\n ? column.title\n : buildColumnTitle(column.metadata, t, language, currency, weightUnit),\n }))\n\n/**\n * Returns whether a site is considered empty or not\n *\n * @param site - The site\n * @param columns - The array of resource summary report columns\n * @returns Whether the site is empty or not\n * @example\n * isSiteEmpty(site, resourceSummaryReportColumns)\n */\nexport const isSiteEmpty = (\n site: ResourceSummaryRecord,\n columns: ResourceSummaryReportTableColumn[]\n): boolean =>\n columns\n .filter(\n (column) =>\n column.id !== ResourceSummaryReportColumn.siteName.id &&\n column.id !== ResourceSummaryReportColumn.siteId.id &&\n column.id !== ResourceSummaryReportColumn.departmentName.id &&\n column.id !== ResourceSummaryReportColumn.organizationalUnitName.id\n )\n .every((column) => site[column.key] === 0)\n\nexport const getSiteTotalGhgLbsCo2e = (\n site: ResourceSummaryMonthRecord,\n electricityEmissionsFactor: string\n): number => {\n const isOrg: boolean = isOrgLevelSite(site.siteId)\n const isAdvancedGridStudySelected: boolean =\n electricityEmissionsFactor ===\n ElectricityEmissionsFactor.AdvancedGridStudy.id\n\n let totalGhgLbsCO2e: number = site.naturalGasCo2ELbs + site.refrigerantCo2ELbs\n\n if (!isOrg) {\n totalGhgLbsCO2e += site.fuelCo2ELbs\n }\n\n totalGhgLbsCO2e += isAdvancedGridStudySelected\n ? site.advancedGridStudyCo2ELbs\n : site.locationElectricityCo2ELbs\n\n return totalGhgLbsCO2e\n}\n\nexport const sortReportData = (\n rows: ResourceSummaryRecord[],\n order: Order,\n orderBy: keyof ResourceSummaryRecord\n): ResourceSummaryRecord[] => {\n // There will only ever be 1 org site\n const orgSites: ResourceSummaryRecord[] = rows.filter((site) =>\n isOrgLevelSite(site.siteId)\n )\n\n const uniqueSites: ResourceSummaryRecord[] = rows.filter((site) =>\n isUniqueSite(site)\n )\n\n const nonUniqueSites: ResourceSummaryRecord[] = rows.filter(\n (site) => !isOrgLevelSite(site.siteId) && !isUniqueSite(site)\n )\n\n const sortedUniqueSites = sortBy(uniqueSites, [\n ResourceSummaryReportColumn.siteName.key,\n ])\n\n const sortedNonUniqueSites: ResourceSummaryRecord[] = sortBy(nonUniqueSites, [\n orderBy,\n ])\n\n if (order === \"desc\") {\n sortedNonUniqueSites.reverse()\n }\n\n const sortedAllSites: ResourceSummaryRecord[] = [\n ...orgSites,\n ...sortedUniqueSites,\n ...sortedNonUniqueSites,\n ]\n\n return sortedAllSites\n}\n\nexport const sumReportData = (\n data: ResourceSummaryMonthRecordWithTotalGhg[]\n): ResourceSummaryRecord[] => {\n const summedReportData: Record = data.reduce(\n (summedData, siteDataForMonth): Record => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const summedSiteData: ResourceSummaryRecord | undefined =\n summedData[siteDataForMonth.siteId]\n\n if (!summedSiteData) {\n return {\n ...summedData,\n [siteDataForMonth.siteId]: omit(siteDataForMonth, [\"month\", \"year\"]),\n }\n }\n\n return {\n ...summedData,\n [siteDataForMonth.siteId]: {\n ...summedSiteData,\n advancedGridStudyCo2ELbs:\n summedSiteData.advancedGridStudyCo2ELbs +\n siteDataForMonth.advancedGridStudyCo2ELbs,\n fuelCo2ELbs:\n summedSiteData.fuelCo2ELbs + siteDataForMonth.fuelCo2ELbs,\n kwh: summedSiteData.kwh + siteDataForMonth.kwh,\n locationElectricityCo2ELbs:\n summedSiteData.locationElectricityCo2ELbs +\n siteDataForMonth.locationElectricityCo2ELbs,\n naturalGasCo2ELbs:\n summedSiteData.naturalGasCo2ELbs +\n siteDataForMonth.naturalGasCo2ELbs,\n naturalGasThms:\n summedSiteData.naturalGasThms + siteDataForMonth.naturalGasThms,\n refrigerantCo2ELbs:\n summedSiteData.refrigerantCo2ELbs +\n siteDataForMonth.refrigerantCo2ELbs,\n siteId: summedSiteData.siteId,\n siteName: summedSiteData.siteName,\n totalGhgLbsCO2e:\n summedSiteData.totalGhgLbsCO2e + siteDataForMonth.totalGhgLbsCO2e,\n waterGallons:\n summedSiteData.waterGallons + siteDataForMonth.waterGallons,\n },\n }\n },\n {}\n )\n\n return Object.values(summedReportData)\n}\n\nexport const getFormattedRecords = (\n records: ResourceSummaryMonthRecord[],\n language: LanguageRegion,\n weightUnit: GhgWeightUnit,\n electricityEmissionsFactor: string\n): ResourceSummaryRecord[] => {\n // Add special \"Fleet\" site to records\n const fleetSiteRecords: ResourceSummaryMonthRecord[] = records\n .filter((site) => isOrgLevelSite(site.siteId))\n .map(\n (site): ResourceSummaryMonthRecord => ({\n ...site,\n advancedGridStudyCo2ELbs: 0,\n kwh: 0,\n locationElectricityCo2ELbs: 0,\n naturalGasCo2ELbs: 0,\n naturalGasThms: 0,\n refrigerantCo2ELbs: 0,\n siteId: FLEET_SITE_ID_RAW,\n siteName: FLEET_SITE_NAME,\n waterGallons: 0,\n })\n )\n\n const recordsWithFleetSites: ResourceSummaryMonthRecord[] = [\n ...records,\n ...fleetSiteRecords,\n ]\n\n // Adjust prop types, calculate total GHG, and adjust org level site data\n const adjustedRecords: ResourceSummaryMonthRecordWithTotalGhg[] =\n recordsWithFleetSites.map(\n (site): ResourceSummaryMonthRecordWithTotalGhg => {\n const isOrg: boolean = isOrgLevelSite(site.siteId)\n\n const adjustedSite: ResourceSummaryMonthRecordWithTotalGhg = {\n ...site,\n departmentId: site.departmentId?.toString(),\n siteId: site.siteId?.toString(),\n totalGhgLbsCO2e: getSiteTotalGhgLbsCo2e(\n site,\n electricityEmissionsFactor\n ),\n }\n\n if (isOrg) {\n adjustedSite.fuelCo2ELbs = 0\n adjustedSite.siteId = ORG_LEVEL_SITE_ID\n adjustedSite.siteName = ORG_LEVEL_SITE_NAME\n }\n\n return adjustedSite\n }\n )\n\n // Transform into summed report records\n const reportRecords: ResourceSummaryRecord[] = sumReportData(adjustedRecords)\n\n // Add the Energy Consumption filter's columns\n const reportRecordsWithGjValues = addGjValuesToReportData(reportRecords)\n\n // Convert according to localization and selected display unit\n const localizedReportRecords = convertReportDataUnits(\n reportRecordsWithGjValues,\n weightUnit,\n language\n )\n\n return localizedReportRecords\n}\n\n/**\n * Fetches Resource Summary month records used to generate the report\n *\n * @param orgId - The organization id\n * @param criteria - The criteria\n * @param criteria.departments - The department ids\n * @param criteria.dateRange - The date range\n * @returns - A promise of the report data\n * @example\n * fetchResourceSummaryMonthRecords(\"1\", {\n * dateRange: Interval.fromISO(\"2022-01-01/2022-02-28\"),\n * departments: [\"1\", \"2\", \"3\"],\n * groupIds: [\"1\", \"2\", \"3\"],\n * })\n */\nexport const fetchResourceSummaryMonthRecords = async (\n orgId: string,\n criteria: IGetReportDataCriteria\n): Promise => {\n const { dateRange, departments, groupIds } = criteria\n\n try {\n return await ReportingData.where({\n organization_id: Number(orgId),\n start_date: dateRange.start?.toISODate(),\n end_date: dateRange.end?.toISODate(),\n department_ids: departments.map((id) => Number(id)),\n organizational_unit_ids: groupIds.map((id) => Number(id)),\n })\n .stats({\n data: \"calculate\",\n })\n .all()\n .then((response) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const parsedRecords: ResourceSummaryMonthRecordDto[] = JSON.parse(\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n response.meta.stats.data.calculate\n )\n\n return (\n snakeCaseToCamelCase(parsedRecords) as ResourceSummaryMonthRecordDto[]\n ).map(\n (record): ResourceSummaryMonthRecord => ({\n ...record,\n departmentId: record.departmentId?.toString() ?? null,\n siteId: record.siteId?.toString() ?? null,\n })\n )\n })\n } catch {\n return []\n }\n}\n\nexport default {\n fetchResourceSummaryMonthRecords,\n addGjValuesToReportData,\n buildColumnTitle,\n getFormattedColumns,\n getFormattedRecords,\n getSiteTotalGhgLbsCo2e,\n isSiteEmpty,\n sortReportData,\n sumReportData,\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport type { Organization } from \"..\"\nimport { ApiQueryName } from \"../../models/api\"\nimport type { ResourceSummaryMonthRecord } from \"../../modules/report/models/resourceSummary\"\nimport { fetchResourceSummaryMonthRecords } from \"../../modules/report/services/useResourceSummaryReport/useResourceSummaryReportUtils\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\n/**\n * Returns monthly site data for the given organization, date range, and departments.\n *\n * @example\n * const { monthlySiteData, isMonthlySiteDataFetched, isMonthlySiteDataLoading } =\n * useMonthlySiteData(\n * \"1\",\n * Interval.fromISO(\"2021-01-01/2021-01-31\"),\n * { departments: [\"1\", \"2\"], groupIds: [\"3\", \"4\"] }\n * )\n */\nconst useMonthlySiteData = (\n orgId: Organization[\"id\"],\n dateRange: Interval,\n options?: {\n departments?: string[]\n groupIds?: string[]\n }\n) => {\n const { departments = [], groupIds = [] } = options ?? {}\n // Sort department ids so array order is the same for query caching\n departments.sort((a, b) => Number(a) - Number(b))\n groupIds.sort((a, b) => Number(a) - Number(b))\n\n const queryFn = () =>\n fetchResourceSummaryMonthRecords(orgId, {\n dateRange,\n departments,\n groupIds,\n })\n\n const queryKey = useQueryKey(ApiQueryName.MonthlySiteData, \"getMany\", orgId, {\n dateRange: dateRange.toISODate(),\n departments: departments.join(\",\"),\n groupIds: groupIds.join(\",\"),\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn,\n enabled: !!orgId && dateRange.isValid,\n keepPreviousData: true, // Prevent flash of previous data on date range change\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport default useMonthlySiteData\n","import { upperFirst } from \"lodash-es\"\nimport type { DateTime, Interval } from \"luxon\"\n\nimport {\n ElectricityEmissionsFactor,\n ElectricityEmissionsFactorById,\n} from \"../../../../models/scopeTwo\"\nimport { poundsToMetricTon } from \"../../../../utils\"\nimport { translateUnit } from \"../../../../utils/unit\"\nimport type { MonthlySiteReportResult } from \"../../models/monthlySite\"\nimport {\n MonthlySitesReportColumnName,\n MonthlySitesReportColumnUnit,\n MonthlySitesReportKey,\n defaultMonthlySiteReportColumns,\n} from \"../../models/monthlySite\"\nimport type { ResourceSummaryMonthRecord } from \"../../models/resourceSummary\"\n\nconst delimiter = \"_\"\n\nconst getDateStringWithOffset = (\n date: DateTime,\n offset: number,\n format: string\n): string => date.plus({ months: offset }).toFormat(format)\n\nconst getKeyNameWithDate = (\n key: keyof MonthlySiteReportResult,\n date: DateTime,\n offset: number,\n electricityEmissionsFactor: string\n): string => {\n const isElectricityEmissionsFactor: boolean =\n key === MonthlySitesReportKey.ElectricityEmissionsFactorMtCo2e\n if (isElectricityEmissionsFactor) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n key =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ElectricityEmissionsFactorById[electricityEmissionsFactor].mtCo2eKeyName\n }\n return `${key}${delimiter}${getDateStringWithOffset(date, offset, \"yyyy_M\")}`\n}\n\nconst getMonthlySitesReportTitle = (\n key: string,\n dateRange: Interval,\n monthNumber: number,\n language: string\n) =>\n `${MonthlySitesReportColumnName[upperFirst(key)]} (${translateUnit(\n language,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n MonthlySitesReportColumnUnit[upperFirst(key)]\n )}) ${getDateStringWithOffset(dateRange.start, monthNumber, \"MMMM yyyy\")}`\n\nconst getAdditionalColumnCount = (dateRange: Interval): number => {\n if (!dateRange.isValid) {\n return 0\n }\n\n return Math.ceil(dateRange.length(\"months\"))\n}\n\nconst getMonthlySiteReportColumn = (\n offset: number,\n i: number,\n key: string,\n dateRange: Interval,\n language: string,\n electricityEmissionsFactor: string\n) => ({\n id: i + offset,\n order: i + offset,\n title: getMonthlySitesReportTitle(\n key,\n dateRange,\n i,\n language\n ) as MonthlySitesReportColumnName,\n key: getKeyNameWithDate(key, dateRange.start, i, electricityEmissionsFactor),\n})\n\nconst getMonthlySiteReportColumns = (\n dateRange: Interval,\n key: string,\n language: string,\n electricityEmissionsFactor: string\n): typeof defaultMonthlySiteReportColumns =>\n defaultMonthlySiteReportColumns.concat(\n Array.from({ length: getAdditionalColumnCount(dateRange) }, (_, i) =>\n getMonthlySiteReportColumn(\n defaultMonthlySiteReportColumns.length,\n i,\n key,\n dateRange,\n language,\n electricityEmissionsFactor\n )\n )\n )\n\n// refactor to return a very clear interface (result and mtCo2e is unnecessarily complicated)\nconst convertLbsToMt = (\n key,\n value\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): { mtCo2e: number; result: [keyof MonthlySiteReportResult, any] } => {\n const { convertFrom, convertTo } = {\n convertFrom: \"Co2ELbs\",\n convertTo: \"MtCo2e\",\n }\n // This expects the keys to be in the format of Co2ELbs\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (key.endsWith(convertFrom)) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const convertedValue = poundsToMetricTon(value)\n\n return {\n result: [\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n key.replace(convertFrom, convertTo) as keyof MonthlySiteReportResult,\n convertedValue,\n ],\n mtCo2e: convertedValue,\n }\n }\n return { result: [key as keyof MonthlySiteReportResult, value], mtCo2e: NaN }\n}\n\nconst addUnlessNaN = (a: number, b: number) => {\n if (Number.isNaN(a)) {\n return b\n }\n\n if (!Number.isNaN(a) && !Number.isNaN(b)) {\n return a + b\n }\n return a\n}\n\nconst getConvertedValues = (\n monthRecord: ResourceSummaryMonthRecord,\n electricityEmissionsFactor: string\n) => {\n let totalMtCo2e = NaN\n const convertedValues = Object.fromEntries(\n Object.entries(monthRecord).map(\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ([key, value]: [keyof ResourceSummaryMonthRecord, any]): [\n keyof MonthlySiteReportResult,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any,\n ] => {\n const { result, mtCo2e } = convertLbsToMt(key, value)\n const resultIsNotAdvancedGridStudyElectricityEmissionsFactor: boolean =\n result[0] !==\n ElectricityEmissionsFactor.AdvancedGridStudy.mtCo2eKeyName\n const resultIsNotLocationBasedElectricityEmissionsFactor: boolean =\n result[0] !== ElectricityEmissionsFactor.LocationBased.mtCo2eKeyName\n const isAdvancedGridStudySelected: boolean =\n electricityEmissionsFactor ===\n ElectricityEmissionsFactor.AdvancedGridStudy.id\n const isLocationElectricitySelected: boolean =\n electricityEmissionsFactor ===\n ElectricityEmissionsFactor.LocationBased.id\n\n if (\n (isAdvancedGridStudySelected &&\n resultIsNotLocationBasedElectricityEmissionsFactor) ||\n (isLocationElectricitySelected &&\n resultIsNotAdvancedGridStudyElectricityEmissionsFactor)\n ) {\n totalMtCo2e = addUnlessNaN(mtCo2e, totalMtCo2e)\n }\n\n return result\n }\n )\n ) as MonthlySiteReportResult\n\n convertedValues.totalMtCo2e = totalMtCo2e\n return convertedValues\n}\ntype EmissionsAccumulator = Record\n\nconst accumulateEmissionsDataBySite = (\n monthlySiteData: ResourceSummaryMonthRecord[] | undefined,\n emissionSelected: keyof MonthlySiteReportResult,\n electricityEmissionsFactor: string\n): EmissionsAccumulator =>\n monthlySiteData?.reduce((acc, currValue) => {\n const isElectricityEmissionsFactor: boolean =\n emissionSelected ===\n MonthlySitesReportKey.ElectricityEmissionsFactorMtCo2e\n if (!currValue.siteId) {\n return acc\n }\n const convertedValues = getConvertedValues(\n currValue,\n electricityEmissionsFactor\n )\n\n // if emissionSelected is ElectricityEmissionsFactorMtCo2e, then we need to change emissionSelected to either advancedGridStudyMtCo2e\n // or locationElectricityMtCo2e when accessing currValue object, leaving the emissionsKeyWithDate above as is\n if (isElectricityEmissionsFactor) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n emissionSelected =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ElectricityEmissionsFactorById[electricityEmissionsFactor].mtCo2eKeyName\n }\n const emissionsKeyWithDate = `${emissionSelected}${delimiter}${currValue.year}${delimiter}${currValue.month}`\n\n if (!acc[currValue.siteId]) {\n acc[currValue.siteId] = {\n ...convertedValues,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n [emissionsKeyWithDate]: currValue[emissionSelected],\n }\n }\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n acc[currValue.siteId] = {\n ...acc[currValue.siteId],\n [emissionsKeyWithDate]: convertedValues[emissionSelected],\n }\n\n return acc\n }, {})\n\nconst getResourceSummariesWithConvertedMtResults = (\n monthlySiteData: ResourceSummaryMonthRecord[] | undefined,\n emissionSelected: keyof MonthlySiteReportResult,\n electricityEmissionsFactor: string\n): MonthlySiteReportResult[] => {\n const emissionsDataBySite = accumulateEmissionsDataBySite(\n monthlySiteData,\n emissionSelected,\n electricityEmissionsFactor\n )\n\n return Object.values(emissionsDataBySite || {})\n}\n\nexport {\n getMonthlySiteReportColumns,\n getResourceSummariesWithConvertedMtResults,\n}\n","import type { ReactElement } from \"react\"\nimport React from \"react\"\n\nimport {\n Box,\n FormControl,\n FormControlLabel,\n FormLabel,\n Radio,\n RadioGroup,\n Typography,\n} from \"@mui/material\"\n\nimport { ElectricityEmissionsFactor } from \"../../../../../models/scopeTwo\"\nimport {\n FONT_WEIGHT,\n TYPOGRAPHY_VARIANT,\n} from \"../../../../../models/typography\"\nimport { lightGray } from \"../../../../../utils/colors\"\nimport { pxToRem } from \"../../../../../utils/unit\"\n\nconst styles = {\n formControlLabel: {\n alignItems: \"start\",\n border: `${pxToRem(1)} solid ${lightGray}`,\n borderRadius: 1,\n padding: 1,\n },\n}\n\ninterface AdvancedReportingToolsProps {\n onChange: (value: string) => void\n value: string\n}\n\nconst AdvancedReportingTools = ({\n onChange,\n value,\n}: AdvancedReportingToolsProps): ReactElement => (\n <>\n \n Advanced Reporting Tools\n \n \n \n Electricity (Scope 2) Emissions Factor\n \n {\n onChange(e.target.value)\n }}\n value={value}\n >\n }\n data-e2e=\"advanced-grid-study-radio-button\"\n data-testid=\"advanced-grid-study-form-label\"\n label={\n \n \n Advanced grid study (Default)\n \n \n NZero calculates scope 2 emissions hourly using real-time\n location and market data to provide the most detailed and\n accurate emissions profile for analysis and planning.\n \n \n }\n sx={{ ...styles.formControlLabel, mb: 1 }}\n value={ElectricityEmissionsFactor.AdvancedGridStudy.id}\n />\n }\n data-e2e=\"location-based-radio-button\"\n data-testid=\"location-based-form-label\"\n label={\n \n \n Location-based\n \n \n Emission factors are based on annual average data aggregated\n across geographical locations. For U.S. sites we use eGRID 2022\n subregions suitable for data from 2022–2024.\n \n \n }\n sx={styles.formControlLabel}\n value={ElectricityEmissionsFactor.LocationBased.id}\n />\n \n \n \n)\n\nexport default AdvancedReportingTools\n","import React, { useCallback } from \"react\"\nimport { useTranslation } from \"react-i18next\"\nimport { NavLink } from \"react-router-dom\"\n\nimport { NzDataGrid } from \"@/components/nzDataGrid\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { getMostRecentPreviousYearDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport { useUrl } from \"@/utils/url\"\nimport { upperFirst } from \"lodash-es\"\nimport type { Interval } from \"luxon\"\n\nimport { Box, Divider, Link, Stack, Tooltip, Typography } from \"@mui/material\"\nimport type { GridColDef, GridRenderCellParams } from \"@mui/x-data-grid-pro\"\n\nimport { DecimalWithPlaceholder } from \"../../../../components/decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport SingleSelectStringFilter from \"../../../../models/filter/singleSelectStringFilter\"\nimport { Autocomplete } from \"../../../../nzds/inputs/autocomplete\"\nimport { MonthRangePicker } from \"../../../../nzds/inputs/month-range-picker\"\nimport { TextField } from \"../../../../nzds/inputs/text-field\"\nimport { useActiveOrganizationId } from \"../../../../services\"\nimport { translateUnit } from \"../../../../utils/unit\"\nimport {\n MonthlySitesReportColumnName,\n MonthlySitesReportColumnUnit,\n MonthlySitesReportKey,\n emissionOptionLabel,\n emissionOptions,\n} from \"../../models/monthlySite\"\nimport type { MonthlySiteDataFilters } from \"../../models/monthlySiteData\"\nimport { reportCard } from \"../../models/report\"\nimport { useMonthlySiteReport } from \"../../services/useMonthlySiteReport/useMonthlySiteReport\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport AdvancedReportingTools from \"../reportSummary/advancedReportingTools/advancedReportingTools\"\nimport { ReportTwoColumnLayout } from \"../reportTwoColumnLayout\"\n\nconst MonthlySiteData = () => {\n const { i18n } = useTranslation()\n const { isFeatureEnabled } = useFeature()\n const { buildSiteUrl } = useUrl()\n const { organization } = useOrganizationContext()\n const { filters, setFilters } = useFilters({\n data: SingleSelectStringFilter,\n electricityEmissionsFactor: SingleSelectStringFilter,\n })\n const { activeOrganizationId } = useActiveOrganizationId()\n const { availableReportDatesData } =\n useAvailableReportDates(activeOrganizationId)\n\n const mostRecentPreviousYearDateRange = getMostRecentPreviousYearDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportMonthlySiteDataDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentPreviousYearDateRange,\n })\n\n const {\n monthlySiteReport,\n isMonthlySiteReportFetching,\n isMonthlySiteReportLoading,\n } = useMonthlySiteReport(\n activeOrganizationId,\n dateRange,\n filters?.data.value,\n filters.electricityEmissionsFactor.value\n )\n\n const defaultColumns: GridColDef[] = [\n {\n field: MonthlySitesReportKey.SiteName,\n headerName: MonthlySitesReportColumnName.SiteName,\n renderCell: (params: GridRenderCellParams) => (\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n \n \n {params.value}\n \n \n ),\n width: 262,\n },\n {\n field: MonthlySitesReportKey.SiteId,\n headerName: MonthlySitesReportColumnName.SiteId,\n width: 110,\n },\n ]\n\n const createColumns = (columns): GridColDef[] => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const dataColumns = columns.slice(2)\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const styledDataColumns = dataColumns.map((column) => ({\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n description: column.title,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n headerName: column.title,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n field: column.key,\n width: 200,\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: (params: GridRenderCellParams) => {\n const header = params.colDef.headerName\n\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [_, selectedData, unit, date] = header.match(\n /^(.*?)(\\([^)]+\\)) (.*)$/\n )\n\n return (\n \n )\n },\n align: \"right\",\n type: \"number\",\n }))\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return\n return [...defaultColumns, ...styledDataColumns]\n }\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n const handleDataChange = useCallback(\n (emission: string): void => {\n setFilters({\n data: new SingleSelectStringFilter(emission),\n })\n },\n [setFilters]\n )\n\n const handleSelectedElectricityEmissionsFactorChange = useCallback(\n (electricityEmissionsFactor: string): void => {\n setFilters({\n electricityEmissionsFactor: new SingleSelectStringFilter(\n electricityEmissionsFactor\n ),\n })\n },\n [setFilters]\n )\n\n return (\n \n }\n details={\n \n }\n detailsTitle=\"Data Preview\"\n filters={\n <>\n \n
    \n Date Range\n \n
    \n \n `${emissionOptionLabel[option]} (${translateUnit(\n i18n.language,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n MonthlySitesReportColumnUnit[upperFirst(option)]\n )})`\n }\n onChange={(_, newValue: string) => {\n handleDataChange(newValue)\n }}\n options={emissionOptions}\n renderInput={(params) => (\n \n )}\n size=\"small\"\n value={filters.data.value}\n />\n
    \n {isFeatureEnabled(\n FeatureFlags.REPORT_MONTHLY_SITE_DATA_ADVANCED_REPORTING_TOOLS,\n organization\n ) && (\n \n \n \n \n )}\n \n }\n report={reportCard.MonthlySiteData}\n />\n )\n}\n\nexport default MonthlySiteData\n","import { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport useMonthlySiteData from \"@/services/useMonthlySiteData/useMonthlySiteData\"\nimport type { Interval } from \"luxon\"\n\nimport type { ITableColumn, ITableRow } from \"../../../../models/table\"\nimport type {\n MonthlySiteReport,\n MonthlySiteReportResult,\n MonthlySiteReportTableRow,\n} from \"../../models/monthlySite\"\nimport { MonthlySiteReportReportName } from \"../../models/monthlySite\"\nimport { getReportFileName, getReportRows } from \"../../util/util\"\nimport {\n getMonthlySiteReportColumns,\n getResourceSummariesWithConvertedMtResults,\n} from \"./useMonthlySiteReportUtils\"\n\ninterface UseMonthlySiteReportValue {\n isMonthlySiteReportFetched: boolean\n isMonthlySiteReportFetching: boolean\n isMonthlySiteReportLoading: boolean\n monthlySiteReport: {\n data: {\n columns: ITableColumn[]\n rows: (MonthlySiteReportResult & ITableRow)[]\n }\n name: string\n }\n}\n/*\n * Returns a monthly site report for the given organization, date range, and column definition.\n *\n * @example\n * const {\n * monthlySiteReport,\n * isMonthlySiteReportFetched,\n * isMonthlySiteReportLoading,\n * isMonthlySiteReportFetching\n * } = useMonthlySiteReport(\n * \"1\",\n * Interval.fromISO(\"2021-01-01/2021-01-31\"),\n * \"totalMtCo2e\",\n * \"1\"\n * )\n */\nexport const useMonthlySiteReport = (\n orgId: string,\n dateRange: Interval,\n emissionSelected: string,\n electricityEmissionsFactor: string\n): UseMonthlySiteReportValue => {\n const {\n monthlySiteData,\n isMonthlySiteDataFetched,\n isMonthlySiteDataLoading,\n isMonthlySiteDataFetching,\n } = useMonthlySiteData(orgId, dateRange, { departments: [] })\n const { i18n } = useTranslation()\n\n const monthlySiteReport: MonthlySiteReport = useMemo(\n () => ({\n name: getReportFileName(\n MonthlySiteReportReportName.MonthlySiteReport,\n dateRange,\n true // preview not relevant\n ),\n data: {\n columns: getMonthlySiteReportColumns(\n dateRange,\n emissionSelected,\n i18n.language,\n electricityEmissionsFactor\n ),\n rows: getReportRows(\n getResourceSummariesWithConvertedMtResults(\n monthlySiteData,\n emissionSelected,\n electricityEmissionsFactor\n )\n ),\n },\n }),\n [\n dateRange,\n emissionSelected,\n i18n.language,\n monthlySiteData,\n electricityEmissionsFactor,\n ]\n )\n\n return useMemo(\n () => ({\n monthlySiteReport,\n isMonthlySiteReportFetched: isMonthlySiteDataFetched,\n isMonthlySiteReportLoading: isMonthlySiteDataLoading,\n isMonthlySiteReportFetching: isMonthlySiteDataFetching,\n }),\n [\n monthlySiteReport,\n isMonthlySiteDataFetched,\n isMonthlySiteDataLoading,\n isMonthlySiteDataFetching,\n ]\n )\n}\n","import { useEffect } from \"react\"\n\nimport { useAvailableReportDates } from \"@/services\"\nimport { useActiveOrganizationId } from \"@/services/organization\"\n\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport SingleSelectStringFilter from \"../../../../models/filter/singleSelectStringFilter\"\nimport {\n ElectricityEmissionsFactor,\n ElectricityEmissionsFactorIds,\n} from \"../../../../models/scopeTwo\"\nimport {\n MonthlySitesReportKey,\n emissionOptions,\n} from \"../../models/monthlySite\"\nimport type { MonthlySiteDataFilters } from \"../../models/monthlySiteData\"\n\ninterface MonthlySiteDataResolverProps {\n children: JSX.Element\n}\n\n/**\n * A component that ensures the organization is set up before rendering the component\n *\n * @param props - The component properties\n * @param props.children - The children to render\n * @example\n * return (\n * \n * \n * \n * )\n */\nconst MonthlySiteDataResolver = ({\n children,\n}: MonthlySiteDataResolverProps): JSX.Element => {\n const { activeOrganizationId } = useActiveOrganizationId()\n\n const { availableReportDatesIsFetched } =\n useAvailableReportDates(activeOrganizationId)\n\n const { filters, setFilters } = useFilters({\n data: SingleSelectStringFilter,\n electricityEmissionsFactor: SingleSelectStringFilter,\n })\n\n useEffect(() => {\n if (!filters.data.value || !emissionOptions.includes(filters.data.value)) {\n setFilters(\n {\n data: new SingleSelectStringFilter(MonthlySitesReportKey.TotalMtCo2e),\n },\n { replace: true }\n )\n }\n\n if (\n !ElectricityEmissionsFactorIds.includes(\n filters.electricityEmissionsFactor.value\n )\n ) {\n setFilters(\n {\n electricityEmissionsFactor: new SingleSelectStringFilter(\n ElectricityEmissionsFactor.AdvancedGridStudy.id\n ),\n },\n { replace: true }\n )\n }\n }, [filters.data.value, filters.electricityEmissionsFactor.value, setFilters])\n\n if (\n !availableReportDatesIsFetched ||\n !filters.data.value ||\n !filters.electricityEmissionsFactor.value\n ) {\n return null\n }\n\n return children\n}\n\nexport default MonthlySiteDataResolver\n","import React, { useCallback } from \"react\"\nimport type { FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport AddIcon from \"@mui/icons-material/Add\"\nimport CheckIcon from \"@mui/icons-material/Check\"\nimport { ToggleButton, Typography, styled } from \"@mui/material\"\n\nimport { getDataE2EAttribute } from \"../../utils/e2e\"\nimport { If } from \"../if/if\"\n\nconst StyledToggleButton = styled(ToggleButton)(({ theme }) => ({\n border: `1px solid ${theme.palette.action.active}`,\n borderRadius: theme.spacing(2),\n height: theme.spacing(4),\n paddingLeft: theme.spacing(1),\n\n \"&.Mui-selected\": {\n border: \"1px solid transparent !important\",\n },\n\n \"& .MuiSvgIcon-root\": {\n color: theme.palette.action.active,\n },\n}))\n\nexport interface IToggleButtonItem {\n id: string\n name: string\n}\n\ninterface ToggleButtonListProps {\n \"aria-labelledby\": string\n items: IToggleButtonItem[]\n onChange: (value: string[]) => void\n value: string[] | null\n}\n\nexport const ToggleButtonList: FC = ({\n \"aria-labelledby\": ariaLabelledBy,\n items,\n onChange,\n value,\n}) => {\n const isSelected = (itemValue: string): boolean =>\n !!value?.includes(itemValue)\n\n const onButtonClick = useCallback(\n (itemValue: string): void => {\n const newValue: string[] = Array.isArray(value) ? [...value] : []\n const isItemSelected: boolean = newValue.includes(itemValue)\n\n if (!isItemSelected) {\n newValue.push(itemValue)\n } else {\n newValue.splice(newValue.indexOf(itemValue), 1)\n }\n\n onChange(newValue)\n },\n [onChange, value]\n )\n\n return (\n \n {items.map((item) => (\n {\n onButtonClick(item.id)\n }}\n selected={isSelected(item.id)}\n value={item.id}\n >\n \n \n \n \n \n \n \n {item.name}\n \n \n ))}\n \n )\n}\n","import React from \"react\"\n\nimport { GhgWeightUnit, UnitName } from \"@/models/unit\"\n\nimport { ToggleButton, ToggleButtonGroup } from \"@mui/material\"\n\nimport { Unit } from \"../unit/unit\"\n\nimport styles from \"./weightUnitToggle.module.scss\"\n\ninterface ComponentProps {\n showToggle: boolean\n weightUnit: GhgWeightUnit\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n weightUnitHandler: (event: any) => void\n}\n\n/**\n * The component that handles the toggle buttons for the\n *\n * @param weightUnit - A single string value\n * @param weightUnitHandler - A single string value\n * @param showToggle - A single string value\n * @returns - The JSX element to be rendered\n * @example\n * new WeightUnitToggle(ghgWeightUnit.Lbs, handleWeightUnitChange, true)\n */\nexport const WeightUnitToggle = ({\n weightUnit,\n weightUnitHandler,\n showToggle,\n}: ComponentProps): JSX.Element => {\n const isLbsActive: boolean = weightUnit === GhgWeightUnit.Lbs\n\n const toggleMenuInactive = showToggle ? \"\" : styles.toggleMenuInactive\n\n const lbsClass = isLbsActive ? styles.unitActive : styles.unitInactive\n const mtClass = !isLbsActive ? styles.unitActive : styles.unitInactive\n\n const lbsBorderRightClass = isLbsActive ? \"\" : styles.lbsUnit__inactive\n const mtBorderLeftClass = !isLbsActive ? \"\" : styles.mtUnit__inactive\n\n return (\n \n \n

    \n units\n

    \n
    \n {\n weightUnitHandler(GhgWeightUnit.Mt)\n }}\n value=\"mt\"\n >\n \n \n {\n weightUnitHandler(GhgWeightUnit.Lbs)\n }}\n value=\"lbs\"\n >\n \n \n
    \n \n
    \n )\n}\n","import { useMemo } from \"react\"\nimport type { TFunction } from \"react-i18next\"\n\nimport useMonthlySiteData from \"@/services/useMonthlySiteData/useMonthlySiteData\"\nimport type { Interval } from \"luxon\"\n\nimport type { CurrencyCode } from \"../../../../models/currencyCode\"\nimport type Department from \"../../../../models/department\"\nimport type { LanguageRegion } from \"../../../../models/i18n\"\nimport type Organization from \"../../../../models/organization\"\nimport type OrganizationalUnit from \"../../../../models/organizationalUnit\"\nimport type { Order } from \"../../../../models/sort\"\nimport type { GhgWeightUnit } from \"../../../../models/unit\"\nimport type {\n ResourceSummaryRecord,\n ResourceSummaryReport,\n ResourceSummaryReportTableColumn,\n} from \"../../models/resourceSummary\"\nimport { ResourceSummaryReportName } from \"../../models/resourceSummary\"\nimport {\n getReportFileName,\n getReportRows,\n isOrgLevelSite,\n isUniqueSite,\n} from \"../../util/util\"\nimport {\n getFormattedColumns,\n getFormattedRecords,\n isSiteEmpty,\n sortReportData,\n} from \"./useResourceSummaryReportUtils\"\n\ninterface UseResourceSummaryReportValue {\n isResourceSummaryReportFetched: boolean\n isResourceSummaryReportInitialLoading: boolean\n isResourceSummaryReportLoading: boolean\n resourceSummaryReport: ResourceSummaryReport | null\n}\n\ninterface UseResourceSummaryReportOptions {\n columns: ResourceSummaryReportTableColumn[]\n currency: CurrencyCode\n departments?: Department[\"id\"][]\n electricityEmissionsFactor: string\n groupIds?: OrganizationalUnit[\"id\"][]\n language: LanguageRegion\n order: Order\n orderBy: keyof ResourceSummaryRecord\n translateFn: TFunction\n weightUnit: GhgWeightUnit\n}\n\n/**\n * The useResourceSummaryReport service/hook returns a Resource Summary Report\n *\n * @returns The report\n * @example\n * const {\n * resourceSummaryReport,\n * isResourceSummaryReportFetched,\n * isResourceSummaryReportLoading\n * } = useResourceSummaryReport(\n * \"1\",\n * Interval.fromISO(\"2022-01-01/2022-02-28\"),\n * {\n * columns: [],\n * currency: CurrencyCode.USD,\n * departments?: [1, 2, 3],\n * groupIds?: [1, 2, 3],\n * language: \"en-GB\",\n * order: \"asc\",\n * orderBy: \"siteName\",\n * translateFn: t,\n * weightUnit: \"mt\",\n * })\n */\nexport const useResourceSummaryReport = (\n orgId: Organization[\"id\"],\n dateRange: Interval,\n {\n columns,\n currency,\n departments,\n groupIds,\n language,\n order,\n orderBy,\n translateFn,\n weightUnit,\n electricityEmissionsFactor,\n }: UseResourceSummaryReportOptions\n): UseResourceSummaryReportValue => {\n // TODO: remove departments when flexible hierarchy feature flag is on\n // Sort department/group ids so array order is the same for query caching\n departments.sort()\n groupIds.sort()\n\n const {\n monthlySiteData: data,\n isMonthlySiteDataInitialLoading: isResourceSummaryReportInitialLoading,\n isMonthlySiteDataLoading: isResourceSummaryReportLoading,\n isMonthlySiteDataFetched: isResourceSummaryReportFetched,\n } = useMonthlySiteData(orgId, dateRange, { departments, groupIds })\n\n const resourceSummaryReport: ResourceSummaryReport = useMemo(() => {\n // Format the records\n const formattedRecords = getFormattedRecords(\n data ?? [],\n language,\n weightUnit,\n electricityEmissionsFactor\n )\n\n // Create the report\n const filteredReportData = formattedRecords.filter(\n (site) =>\n (isOrgLevelSite(site.siteId) && !isSiteEmpty(site, columns)) ||\n (isUniqueSite(site) && !isSiteEmpty(site, columns)) ||\n (!isOrgLevelSite(site.siteId) && !isUniqueSite(site))\n )\n\n const sortedReportData = sortReportData(filteredReportData, order, orderBy)\n\n const sortedReportColumns = [...columns].sort(\n (columnA, columnB) => columnA.order - columnB.order\n )\n\n return {\n data: {\n columns: getFormattedColumns(\n sortedReportColumns,\n translateFn,\n language,\n currency,\n weightUnit\n ),\n rows: getReportRows(sortedReportData),\n },\n name: getReportFileName(\n ResourceSummaryReportName.Summary,\n dateRange,\n true\n ),\n }\n }, [\n columns,\n currency,\n data,\n dateRange,\n electricityEmissionsFactor,\n language,\n order,\n orderBy,\n translateFn,\n weightUnit,\n ])\n\n return useMemo(\n () => ({\n resourceSummaryReport,\n isResourceSummaryReportFetched,\n isResourceSummaryReportInitialLoading,\n isResourceSummaryReportLoading,\n }),\n [\n resourceSummaryReport,\n isResourceSummaryReportFetched,\n isResourceSummaryReportInitialLoading,\n isResourceSummaryReportLoading,\n ]\n )\n}\n","import React, { useCallback } from \"react\"\n\nimport { CheckBox, CheckBoxOutlineBlank } from \"@mui/icons-material\"\nimport { Autocomplete, Checkbox, Paper, Popper, TextField } from \"@mui/material\"\n\nimport type Department from \"../../../../../models/department\"\n\nimport styles from \"./departmentSelector.module.scss\"\n\nconst CustomPopper = (props) => (\n \n)\n\nconst CustomPaper = (props) => \n\n/**\n * @deprecated Use generic nzds chip selector once it's available\n */\nexport const DepartmentSelector = ({\n initialValues,\n isUseFlexibleHierarchyEnabled,\n options,\n onChange,\n}: {\n initialValues: string[]\n isUseFlexibleHierarchyEnabled: boolean\n onChange: (departmentIds: string[]) => void\n options: Department[]\n}) => {\n const onInputChange = useCallback(\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (event: any, values: Department[]): void => {\n onChange(values.map((dept) => dept.id))\n },\n [onChange]\n )\n\n const getOptionLabel = useCallback(\n (option: Department): string => option.name,\n []\n )\n\n // TODO: remove this when flexible hierarchy is fully enabled and set to Groups\n const placeHolderText = isUseFlexibleHierarchyEnabled\n ? \"Groups\"\n : \"Departments\"\n\n return (\n (\n \n )}\n renderOption={(props, option, { selected }) => (\n
  • \n \n }\n className={styles.option}\n icon={}\n />\n {option.name}\n
  • \n )}\n value={options.filter((dept) =>\n initialValues?.some((selectedId) => selectedId === dept.id)\n )}\n />\n )\n}\n","import { metrics } from \"../../../../models/metric\"\nimport { resources } from \"../../../../models/resource\"\nimport type { ResourceSummaryReportTableColumn } from \"../../models/resourceSummary\"\nimport {\n ResourceSummaryReportColumn,\n resourceSummaryReportColumns,\n} from \"../../models/resourceSummary\"\n\n/**\n * Returns the resource summary report columns that are currently visible\n *\n * @param resourceIds - The ids of the active resources\n * @param metricIds - The ids of the active metrics\n * @param electricityEmissionsFactorId - The id of the active electricity emissions factor record\n * @returns The list of visible resource summary report columns\n * @example\n * getVisibleColumns([1, 2, 3], [1, 2], \"1\")\n */\nexport const getVisibleColumns = (\n resourceIds: string[],\n metricIds: string[],\n electricityEmissionsFactorId: string,\n isUseFlexibleHierarchyEnabled: boolean // TO-DO: Remove this prop when we delete the use_flexible_hierarchy_for_site_ownerships feature flag\n): ResourceSummaryReportTableColumn[] => {\n const selectedResources = resourceIds.map((id) =>\n resources.find((resource) => resource.id === id)\n )\n const selectedMetrics = metricIds.map((id) =>\n metrics.find((metric) => metric.id === id)\n )\n\n const newVisibleStatColumns: ResourceSummaryReportTableColumn[] =\n resourceSummaryReportColumns.filter((column) => {\n const hasAResource = !!column.metadata?.resource\n const hasAMetric = !!column.metadata?.metric\n const hasElectricityEmissionsRecord =\n !!column.metadata?.electricityEmissionsFactor\n const resourceIsSelected = !!selectedResources.find(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (resource) => resource?.id === column.metadata?.resource?.id\n )\n const metricIsSelected = !!selectedMetrics.find(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (metric) => metric?.id === column.metadata?.metric?.id\n )\n const electricityEmissionsRecordIsSelected =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n column.metadata?.electricityEmissionsFactor?.id ===\n electricityEmissionsFactorId\n\n if (\n hasElectricityEmissionsRecord &&\n !electricityEmissionsRecordIsSelected\n ) {\n return false\n }\n\n if (\n hasAResource &&\n resourceIsSelected &&\n hasAMetric &&\n metricIsSelected\n ) {\n return true\n }\n if (!hasAMetric && hasAResource && resourceIsSelected) {\n return true\n }\n if (!hasAResource && hasAMetric && metricIsSelected) {\n return true\n }\n return false\n })\n\n return [\n ResourceSummaryReportColumn.siteName,\n ResourceSummaryReportColumn.siteId,\n isUseFlexibleHierarchyEnabled\n ? ResourceSummaryReportColumn.organizationalUnitName\n : ResourceSummaryReportColumn.departmentName,\n ...newVisibleStatColumns,\n ]\n}\n\nexport default {\n getVisibleColumns,\n}\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { LoadingSpinner } from \"../../loadingSpinner\"\nimport { If } from \"../if\"\n\ninterface IProvideChildrenUnlessLoadingProps {\n children: ReactNode\n loading: boolean\n loadingComponent?: ReactNode\n loadingText?: string\n}\n\nexport const ProvideChildrenUnlessLoading = (\n props: IProvideChildrenUnlessLoadingProps\n) => (\n <>\n \n {props.loadingComponent}\n \n {props.loadingText}\n \n \n {props.children}\n \n)\n","import React from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport { Link, Tooltip, Typography, useTheme } from \"@mui/material\"\n\nimport { EmissionDecimal } from \"../../../../../../components/decimal/emissionDecimal/emissionDecimal\"\nimport { If } from \"../../../../../../components/if/if\"\nimport type {\n ResourceSummaryReportTableColumn,\n ResourceSummaryReportTableRow,\n} from \"../../../../models/resourceSummary\"\nimport { extraRows, specialSiteIds } from \"../../../../models/resourceSummary\"\nimport { isOrgLevelSite, isUniqueSite } from \"../../../../util/util\"\n\nimport styles from \"./virtualizedReportingTableContent.module.scss\"\n\ninterface ComponentProps {\n columnIndex: number\n columns: ResourceSummaryReportTableColumn[]\n // TODO: Remove isUseFlexibleHierarchyEnabled prop when flexible hierarchy is fully enabled\n isUseFlexibleHierarchyEnabled: boolean\n rowIndex: number\n rows: ResourceSummaryReportTableRow[]\n style: React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLDivElement\n >\n}\n\nexport const VirtualizedReportingTableContent = ({\n rows,\n columns,\n columnIndex,\n rowIndex,\n style,\n isUseFlexibleHierarchyEnabled,\n}: ComponentProps) => {\n const theme = useTheme()\n const { buildSiteUrl } = useUrl()\n\n if (!rows.length) {\n return <>\n }\n\n const row = rows[rowIndex - extraRows]\n const isOrg: boolean = isOrgLevelSite(row.siteId)\n const isUnique: boolean = isUniqueSite(row)\n\n const rowValues: (number | string | null)[] = columns.map(\n (column) => row[column.key]\n )\n\n const uniqueSites: ResourceSummaryReportTableRow[] = rows.filter((site) =>\n isUniqueSite(site)\n )\n\n const uniqueRowClass: string =\n (isUnique && row === uniqueSites[uniqueSites.length - 1]) ||\n (isOrg && uniqueSites.length === 0)\n ? styles.uniqueRowContent\n : styles.nonUniqueRowContent\n\n switch (columnIndex) {\n case 0:\n return (\n <>\n \n \n \n \n {row?.siteName}\n \n
    \n \n \n \n \n \n \n \n {row?.siteName}\n \n \n \n \n \n \n )\n case 1:\n return (\n \n \n \n {row?.siteId}\n \n \n \n )\n case 2:\n return (\n \n \n {/* TODO: remove departmentName use when flexible hierarchy is fully enabled */}\n {isUseFlexibleHierarchyEnabled\n ? row?.organizationalUnitName\n : row?.departmentName}\n \n \n )\n\n default:\n return (\n
    \n \n \n \n
    \n )\n }\n}\n","import type { ReactElement } from \"react\"\nimport React from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { Unit } from \"../../../../../components/unit/unit\"\nimport { GhgWeightUnit, UnitName } from \"../../../../../models/unit\"\n\ninterface ResourceMetricDisplayUnitProps {\n unit: UnitName | string\n}\n\n/**\n * Displays the expected unit. If it's a GHG weight type and the display unit type is set to `MT`,\n * display 'MT' as the weight unit.\n *\n * @param props - The component's props\n * @param props.unit - A UnitName (auto converted) or string representing the unit\n * @returns The display unit component\n */\nconst ResourceMetricDisplayUnit = ({\n unit,\n}: ResourceMetricDisplayUnitProps): ReactElement => {\n const [searchParams] = useSearchParams()\n const weightUnit = searchParams.get(\"weightUnit\")\n\n const displayUnit =\n weightUnit === GhgWeightUnit.Mt &&\n unit === UnitName.PoundsOfCarbonDioxideEquivalent\n ? UnitName.MetricTon\n : unit\n\n return \n}\n\nexport default ResourceMetricDisplayUnit\n","import type { ReactElement } from \"react\"\nimport React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { If } from \"../../../../../components/if/if\"\nimport type { IMetric } from \"../../../../../models/metric\"\nimport type { IResource } from \"../../../../../models/resource\"\nimport { Scope } from \"../../../../../models/scope\"\nimport type { ElectricityEmissionsFactorRecord } from \"../../../../../models/scopeTwo\"\nimport { ElectricityEmissionsFactor } from \"../../../../../models/scopeTwo\"\nimport type { UnitName } from \"../../../../../models/unit\"\nimport type { DisplayFormatCallback } from \"../../../models/resourceSummary\"\nimport ResourceMetricDisplayUnit from \"../resourceMetricDisplayUnit/resourceMetricDisplayUnit\"\n\ninterface ResourceMetricHeaderProps {\n electricityEmissionsFactor?: ElectricityEmissionsFactorRecord\n formatMetric?: DisplayFormatCallback\n isTotal?: boolean\n metric?: IMetric\n resource?: IResource\n resourceDisplayName?: string\n scope?: Scope\n unit?: UnitName\n}\n\n/**\n * Displays a localized resource metric header\n *\n * @param props - The component's properties\n * @param props.resource - The displayed resource name (eg. `Fuel`)\n * @param props.resourceDisplayName - The translated displayed resource name (eg. `Water` is replaced by `Water Use`)\n * @param props.scope - The displayed scope (eg. `(Scope 1)`)\n * @param props.electricityEmissionsFactor - the displayed electricity emissions factor { id: \"1\"}\n * @param props.metric - The displayed metric (eg. `Volume`, `GHG`)\n * @param props.formatMetric - A function which can be used to format the display of the metric\n * @param props.unit - The displayed unit (eg. `lb CO2e`)\n * @param props.isTotal - Adjusts the header layout to display as a \"Total\"\n * @returns - The localized header element\n */\nconst ResourceMetricHeader = ({\n resource,\n resourceDisplayName,\n scope,\n metric,\n formatMetric,\n unit,\n isTotal,\n electricityEmissionsFactor,\n}: ResourceMetricHeaderProps): ReactElement => {\n const { t } = useTranslation()\n return (\n \n {/* Display the resource name */}\n \n {resourceDisplayName ? t(resourceDisplayName) : resource?.name}\n
    \n
    \n\n {/* Display the Location-based Scope */}\n \n (Scope 2 Location-Based)\n
    \n \n\n {/* Display the Scope */}\n \n {`(Scope ${scope})`}\n
    \n \n\n {/* If not a \"total\" column, display the metric and base unit on one line */}\n \n \n {formatMetric ? formatMetric(metric?.name) : metric?.name}\n \n \n \n ()\n \n \n\n {/* If a \"total\" column, display the total metric and base unit on separate lines */}\n \n Total{\" \"}\n \n {formatMetric ? formatMetric(metric?.name) : metric?.name}\n
    \n
    \n \n ()\n \n
    \n
    \n )\n}\n\nexport default ResourceMetricHeader\n","import React from \"react\"\n\nimport { TableSortLabel } from \"@mui/material\"\n\nimport { Order } from \"../../../../../../models/sort\"\nimport type {\n ResourceSummaryReportTableColumn,\n ResourceSummaryReportTableRow,\n} from \"../../../../models/resourceSummary\"\nimport ResourceMetricHeader from \"../../resourceMetricHeader/resourceMetricHeader\"\n\nimport styles from \"./virtualizedReportingTableHeader.module.scss\"\n\ninterface ComponentProps {\n columnIndex: number\n columns: ResourceSummaryReportTableColumn[]\n createSortHandler: (\n property: string\n ) => (event: React.MouseEvent) => void\n order: Order\n orderBy: keyof ResourceSummaryReportTableRow\n style: React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLDivElement\n >\n}\n\nexport const VirtualizedReportingTableHeader = ({\n columns,\n columnIndex,\n style,\n order,\n orderBy,\n createSortHandler,\n}: ComponentProps) => {\n const column = columns[columnIndex]\n\n switch (columnIndex) {\n case 0:\n return (\n \n \n \n {column.title}\n \n \n \n )\n case 1:\n return (\n
    \n \n \n {column.title}\n \n \n
    \n )\n case 2:\n return (\n
    \n \n \n {column.title}\n \n \n
    \n )\n\n default:\n return (\n \n \n \n \n \n )\n }\n}\n","import React from \"react\"\n\nimport { EmissionDecimal } from \"../../../../../../components/decimal/emissionDecimal/emissionDecimal\"\nimport type {\n ResourceSummaryReportTableColumn,\n ResourceSummaryReportTableRow,\n} from \"../../../../models/resourceSummary\"\n\nimport styles from \"./virtualizedReportingTableTotalRow.module.scss\"\n\ninterface ComponentProps {\n columnIndex: number\n columns: ResourceSummaryReportTableColumn[]\n rows: ResourceSummaryReportTableRow[]\n style: React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLDivElement\n >\n}\n\nexport const VirtualizedReportingTableTotalRow = ({\n rows,\n columns,\n columnIndex,\n style,\n}: ComponentProps) => {\n const totals: (number | string)[] = columns.map((column) =>\n rows\n .map((row) => row[column.key])\n .reduce((prev: number, curr: number) => prev + curr, 0)\n )\n\n switch (columnIndex) {\n case 0:\n return (\n \n \n Totals\n \n \n )\n case 1:\n return
    \n case 2:\n return (\n \n )\n\n default:\n return (\n \n \n \n \n
    \n )\n }\n}\n","// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport React, { useEffect, useLayoutEffect, useRef, useState } from \"react\"\nimport { useLocation } from \"react-router-dom\"\nimport { AutoSizer, MultiGrid } from \"react-virtualized\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Box } from \"@mui/material\"\n\nimport { ProvideChildrenUnlessLoading } from \"../../../../../components/if/loading/provideChildrenUnlessLoading\"\nimport { LoadingSpinner } from \"../../../../../components/loadingSpinner\"\nimport { Order } from \"../../../../../models/sort\"\nimport { lightGray } from \"../../../../../utils/colors\"\nimport type {\n ResourceSummaryReportTableColumn,\n ResourceSummaryReportTableRow,\n} from \"../../../models/resourceSummary\"\nimport {\n ResourceSummaryReportColumn,\n extraRows,\n} from \"../../../models/resourceSummary\"\nimport { VirtualizedReportingTableContent } from \"./virtualizedReportingTableContent/virtualizedReportingTableContent\"\nimport { VirtualizedReportingTableHeader } from \"./virtualizedReportingTableHeader/virtualizedReportingTableHeader\"\nimport { VirtualizedReportingTableTotalRow } from \"./virtualizedReportingTableTotalRow/virtualizedReportingTableTotalRow\"\n\nimport styles from \"./virtualizedReportingTable.module.scss\"\n\nconst siteWidth = 250\nconst siteIdWidth = 125\nconst departmentWidth = 150\nconst rightAlignedColumnWidth = 175\nconst electricityGhgScope2 = 215\nconst headerContentHeight = 84\nconst electricityEmissionsFactorColumnIndices: number[] = [3, 4]\nconst contentHeight = 48\nconst loadingSpinnerHeight = 200\n\ninterface ComponentProps {\n columns: ResourceSummaryReportTableColumn[]\n // TODO: Remove isUseFlexibleHierarchyEnabled prop when flexible hierarchy is fully enabled\n isUseFlexibleHierarchyEnabled: boolean\n onSort: (order: Order, orderBy: keyof ResourceSummaryReportTableRow) => void\n order: Order\n orderBy: keyof ResourceSummaryReportTableRow\n rows: ResourceSummaryReportTableRow[]\n}\n\nexport const VirtualizedReportingTable = ({\n rows,\n columns,\n order,\n orderBy,\n onSort,\n isUseFlexibleHierarchyEnabled,\n}: ComponentProps) => {\n const location = useLocation()\n const multiGrid = useRef(null)\n const loading: boolean = !rows || rows.length === 0\n const columnCount: number = columns.length\n\n const getRowHeight = ({ index }): number => {\n if (index === 0) {\n return headerContentHeight\n }\n\n if (loading) {\n return loadingSpinnerHeight\n }\n\n return contentHeight\n }\n\n const getColumnWidth = ({ index }): number => {\n const outputs: number[] = [siteWidth, siteIdWidth, departmentWidth]\n if (index < outputs.length) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return outputs[index]\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n if (electricityEmissionsFactorColumnIndices.includes(index)) {\n return electricityGhgScope2\n }\n return rightAlignedColumnWidth\n }\n\n const handleRequestSort = (\n event: React.MouseEvent,\n property: keyof ResourceSummaryReportTableRow\n ) => {\n const isDesc = orderBy === property && order === Order.desc\n onSort(isDesc ? Order.asc : Order.desc, property)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n multiGrid.current.forceUpdateGrids()\n }\n\n const createSortHandler =\n (property: keyof ResourceSummaryReportTableRow) =>\n (event: React.MouseEvent) => {\n handleRequestSort(event, property)\n }\n\n // Set sort to site name if current sorted column doesn't exist\n useEffect(() => {\n const columnKeys: string[] = columns.map((column) => column.key)\n\n if (!loading && !columnKeys.includes(orderBy)) {\n onSort(Order.asc, ResourceSummaryReportColumn.siteName.key)\n }\n }, [location])\n\n interface ILoadingStateProps {\n columnIndex: number\n rowIndex: number\n style: React.DetailedHTMLProps<\n React.HTMLAttributes,\n HTMLDivElement\n >\n }\n\n const LoadingGridState = ({\n rowIndex,\n columnIndex,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n style,\n }: ILoadingStateProps) => {\n if (rowIndex === 1 && columnIndex === 0) {\n return (\n
    \n
    \n \n
    \n
    \n )\n }\n return <>\n }\n\n const MultiGridCellRenderer = ({ columnIndex, rowIndex, style, key }) => {\n if (rowIndex === 0) {\n return (\n \n )\n }\n\n if (loading) {\n return (\n \n )\n }\n\n if (!loading && rowIndex === 1) {\n return (\n \n )\n }\n\n return (\n \n )\n }\n const propDefaults = {\n columnCount,\n fixedColumnCount: 1,\n fixedRowCount: 1,\n rowCount: rows.length + extraRows,\n ref: multiGrid,\n style: {\n border: `1px solid ${lightGray.toString()}`,\n boxSizing: \"content-box\" as const,\n },\n enableFixedColumnScroll: true,\n hideBottomLeftGridScrollbar: true,\n }\n\n return (\n \n {({ width, height }) => (\n // Replace all of this with MUI Grid\n // ProvideChildrenUnlessLoading is a hack to render grid correctly\n \n }\n >\n \n \n )}\n \n )\n}\n","import React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { ToggleButtonList } from \"@/components/toggleButtonList/toggleButtonList\"\nimport { WeightUnitToggle } from \"@/components/weightUnitToggle/weightUnitToggle\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport useFilters from \"@/hooks/useFilters/useFilters\"\nimport type Department from \"@/models/department\"\nimport MultiSelectStringFilter from \"@/models/filter/multiSelectStringFilter\"\nimport SingleSelectStringFilter from \"@/models/filter/singleSelectStringFilter\"\nimport type { LanguageRegion } from \"@/models/i18n\"\nimport { Metric, metrics } from \"@/models/metric\"\nimport { resources } from \"@/models/resource\"\nimport {\n ElectricityEmissionsFactor,\n ElectricityEmissionsFactorIds,\n} from \"@/models/scopeTwo\"\nimport { Order } from \"@/models/sort\"\nimport { GhgWeightUnit } from \"@/models/unit\"\nimport { MonthRangePicker } from \"@/nzds/inputs/month-range-picker\"\nimport { useDepartments } from \"@/services/department\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useOrganizationalUnits } from \"@/services/organizationalUnit\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport { isNil } from \"lodash-es\"\nimport { Interval } from \"luxon\"\n\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\"\nimport { Box, Divider, FormLabel, IconButton, Stack } from \"@mui/material\"\n\nimport { useUserSettings } from \"../../../settings\"\nimport { reportCard } from \"../../models/report\"\nimport type {\n IReportFilters,\n ResourceSummaryRecord,\n ResourceSummaryReportTableColumn,\n} from \"../../models/resourceSummary\"\nimport { useResourceSummaryReport } from \"../../services/useResourceSummaryReport/useResourceSummaryReport\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport { ReportTwoColumnLayout } from \"../reportTwoColumnLayout\"\nimport AdvancedReportingTools from \"./advancedReportingTools/advancedReportingTools\"\nimport { DepartmentSelector } from \"./departmentSelector/departmentSelector\"\nimport { getVisibleColumns } from \"./reportSummaryUtils\"\nimport { VirtualizedReportingTable } from \"./virtualizedReportingTable/virtualizedReportingTable\"\n\nconst defaultWeightUnit = GhgWeightUnit.Mt\n\nconst styles = {\n fieldContainer: {\n marginBottom: 2,\n },\n fieldLabel: {\n marginBottom: 0.5,\n },\n gridActions: {\n top: \"-34px\",\n display: \"flex\",\n height: 0,\n justifyContent: \"flex-end\",\n position: \"relative\",\n zIndex: 3,\n },\n}\n\nconst ReportSummary = () => {\n const { filters, setFilters } = useFilters({\n department: MultiSelectStringFilter,\n group: MultiSelectStringFilter,\n metric: MultiSelectStringFilter,\n resource: MultiSelectStringFilter,\n weightUnit: SingleSelectStringFilter,\n electricityEmissionsFactor: SingleSelectStringFilter,\n })\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n // TODO: remove all department logic once OU is fully on\n const isUseFlexibleHierarchyEnabled: boolean = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const { departments, isDepartmentsFetched, isDepartmentsFetching } =\n useDepartments({\n sort: { key: \"name\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n where: { organization_id: organization?.id } as any,\n disabled: isNil(organization?.id) || isUseFlexibleHierarchyEnabled,\n })\n const {\n organizationalUnits,\n isOrganizationalUnitsFetched,\n isOrganizationalUnitsFetching,\n } = useOrganizationalUnits(organization?.id, {\n clause: { level: 1 },\n disabled: isNil(organization?.id) || !isUseFlexibleHierarchyEnabled,\n })\n\n const { availableReportDatesData } = useAvailableReportDates(organization?.id)\n const { i18n, t } = useTranslation()\n const { currency } = useUserSettings()\n\n const [order, setOrder] = useState(Order.desc)\n const [orderBy, setOrderBy] = useState(\"kwh\")\n const buttonRef = useRef(null)\n const [showToggle, setShowToggle] = useState(false)\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportResourceSummaryDateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: availableReportDatesData.isValid\n ? Interval.fromDateTimes(\n availableReportDatesData.end.minus({ years: 1 }).startOf(\"month\"),\n availableReportDatesData.end\n )\n : undefined,\n })\n\n const selectedElectricityEmissionsFactor: string =\n filters.electricityEmissionsFactor.value ??\n ElectricityEmissionsFactor.AdvancedGridStudy.id\n\n const columns: ResourceSummaryReportTableColumn[] = useMemo(\n () =>\n getVisibleColumns(\n filters.resource.value ?? [],\n filters.metric.value ?? [],\n selectedElectricityEmissionsFactor,\n isUseFlexibleHierarchyEnabled\n ),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n filters.metric.value,\n filters.resource.value,\n selectedElectricityEmissionsFactor,\n ]\n )\n\n const { resourceSummaryReport, isResourceSummaryReportLoading } =\n useResourceSummaryReport(organization?.id, dateRange, {\n columns,\n currency,\n language: i18n.language as LanguageRegion,\n departments: filters?.department?.value ?? [],\n groupIds: filters?.group?.value ?? [],\n order,\n orderBy,\n translateFn: t,\n weightUnit: filters?.weightUnit?.value as GhgWeightUnit,\n electricityEmissionsFactor: selectedElectricityEmissionsFactor,\n })\n\n const onWeightUnitChange = useCallback(\n (weightUnit: GhgWeightUnit): void => {\n setFilters({\n weightUnit: new SingleSelectStringFilter(weightUnit),\n })\n },\n [setFilters]\n )\n\n const handleWeightUnitSelect = useCallback(\n (selectedWeightUnit: GhgWeightUnit) => {\n onWeightUnitChange(selectedWeightUnit)\n setShowToggle(false)\n },\n [onWeightUnitChange]\n )\n\n const setToggle = useCallback(() => {\n setShowToggle(!showToggle)\n }, [showToggle])\n\n const handleClickOutside = (event) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (buttonRef.current && !buttonRef.current.contains(event.target)) {\n setShowToggle(false)\n }\n }\n\n useEffect(() => {\n document.addEventListener(\"click\", handleClickOutside, true)\n return () => {\n document.removeEventListener(\"click\", handleClickOutside, true)\n }\n }, [])\n\n // Check current filters and set default filters\n useEffect(() => {\n // TODO: remove isUseFlexibleHierarchyEnabled logic once OU feature flag is fully implemented\n if (isUseFlexibleHierarchyEnabled) {\n // check and set default params\n if (\n !organization ||\n !organizationalUnits ||\n isOrganizationalUnitsFetching ||\n !isOrganizationalUnitsFetched\n ) {\n return\n }\n\n const defaultResources = resources.map((resource) => resource.id)\n const defaultMetrics = metrics\n .map((metric) => metric.id)\n .filter((metricId) => metricId !== Metric.GJ.id)\n\n let selectedGroupIds: string[] = filters.group.value\n\n if (filters.group.value) {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n selectedGroupIds = organizationalUnits\n .filter((group) =>\n filters.group.value.some(\n (filteredGroup) => filteredGroup === group.id\n )\n )\n .map((group) => group.id)\n } else {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n selectedGroupIds = organizationalUnits.map((dept) => dept.id)\n }\n\n // Default selected resources\n const selectedResourceIds: string[] = filters.resource.value?.length\n ? filters.resource.value\n : defaultResources\n\n // Default selected metrics\n const selectedMetricIds: string[] = filters.metric.value?.length\n ? filters.metric.value\n : defaultMetrics\n\n const selectedWeightUnit = filters.weightUnit.value ?? defaultWeightUnit\n\n // Write initial filters to url\n setFilters(\n {\n electricityEmissionsFactor: new SingleSelectStringFilter(\n selectedElectricityEmissionsFactor\n ),\n department: new MultiSelectStringFilter(null),\n group: new MultiSelectStringFilter(selectedGroupIds),\n metric: new MultiSelectStringFilter(selectedMetricIds),\n resource: new MultiSelectStringFilter(selectedResourceIds),\n weightUnit: new SingleSelectStringFilter(selectedWeightUnit),\n },\n { replace: true }\n )\n } else {\n // TODO: remove all department logic once OU feature flag is fully implemented\n // The nearly identical logic to above is intentional. We want to make it simple to remove\n // all logic associated with departments when flexible hierarchy is fully on.\n if (\n !organization ||\n !departments ||\n isDepartmentsFetching ||\n !isDepartmentsFetched\n ) {\n return\n }\n\n const defaultResources = resources.map((resource) => resource.id)\n const defaultMetrics = metrics\n .map((metric) => metric.id)\n .filter((metricId) => metricId !== Metric.GJ.id)\n\n let selectedDepartmentIds: string[] = filters.department.value\n\n if (filters.department.value) {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n selectedDepartmentIds = departments\n .filter((dept) =>\n filters.department.value.some(\n (filteredDept) => filteredDept === dept.id\n )\n )\n .map((dept) => dept.id)\n } else {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n selectedDepartmentIds = departments.map((dept) => dept.id)\n }\n\n // Default selected resources\n const selectedResourceIds: string[] = filters.resource.value?.length\n ? filters.resource.value\n : defaultResources\n\n // Default selected metrics\n const selectedMetricIds: string[] = filters.metric.value?.length\n ? filters.metric.value\n : defaultMetrics\n\n const selectedWeightUnit = filters.weightUnit.value ?? defaultWeightUnit\n\n const validElectricityEmissionsFactor =\n ElectricityEmissionsFactorIds.includes(\n selectedElectricityEmissionsFactor\n )\n ? selectedElectricityEmissionsFactor\n : ElectricityEmissionsFactor.AdvancedGridStudy.id\n\n // Write initial filters to url\n setFilters(\n {\n department: new MultiSelectStringFilter(selectedDepartmentIds),\n electricityEmissionsFactor: new SingleSelectStringFilter(\n validElectricityEmissionsFactor\n ),\n group: new MultiSelectStringFilter(null),\n metric: new MultiSelectStringFilter(selectedMetricIds),\n resource: new MultiSelectStringFilter(selectedResourceIds),\n weightUnit: new SingleSelectStringFilter(selectedWeightUnit),\n },\n { replace: true }\n )\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n availableReportDatesData,\n departments,\n isDepartmentsFetching,\n isDepartmentsFetched,\n organization,\n selectedElectricityEmissionsFactor,\n isUseFlexibleHierarchyEnabled,\n organizationalUnits,\n isOrganizationalUnitsFetching,\n isOrganizationalUnitsFetched,\n ])\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n const onGroupsChange = useCallback(\n (groupIds: string[]) => {\n // TODO: remove all department logic once OU is fully on\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n isUseFlexibleHierarchyEnabled\n ? setFilters({\n group: new MultiSelectStringFilter(groupIds),\n })\n : setFilters({\n department: new MultiSelectStringFilter(groupIds),\n })\n },\n [isUseFlexibleHierarchyEnabled, setFilters]\n )\n\n const onSelectedResourcesChange = useCallback(\n (resourceIds: string[]): void => {\n setFilters({\n resource: new MultiSelectStringFilter(resourceIds),\n })\n },\n [setFilters]\n )\n\n const onSelectedMetricsChange = useCallback(\n (metricIds: string[]): void => {\n setFilters({\n metric: new MultiSelectStringFilter(metricIds),\n })\n },\n [setFilters]\n )\n\n const onSort = useCallback(\n (newOrder: Order, newOrderBy: keyof ResourceSummaryRecord): void => {\n setOrder(newOrder)\n setOrderBy(newOrderBy)\n },\n []\n )\n\n const onSelectedElectricityEmissionsFactorChange = useCallback(\n (electricityEmissionsFactor: string): void => {\n setFilters({\n electricityEmissionsFactor: new SingleSelectStringFilter(\n electricityEmissionsFactor\n ),\n })\n },\n [setFilters]\n )\n\n return (\n \n }\n details={\n <>\n \n \n \n \n \n \n \n \n }\n detailsTitle=\"Data Preview\"\n filters={\n <>\n \n Date Range\n \n \n \n {isUseFlexibleHierarchyEnabled && (\n \n )}\n {!isUseFlexibleHierarchyEnabled && (\n \n )}\n \n \n \n Resources\n \n \n \n \n \n Metrics\n \n \n \n {isFeatureEnabled(\n FeatureFlags.REPORT_RESOURCE_SUMMARY_ADVANCED_REPORTING_TOOLS,\n organization\n ) && (\n \n \n \n \n )}\n \n }\n report={reportCard.ResourceSummary}\n />\n )\n}\n\nexport default ReportSummary\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport type { Organization } from \"@/models/organization\"\nimport { useFeature } from \"@/services/feature\"\nimport { primary50, primary600 } from \"@/utils/colors\"\nimport { useUrl } from \"@/utils/url\"\n\nimport ChevronRightRoundedIcon from \"@mui/icons-material/ChevronRightRounded\"\nimport {\n Box,\n Button,\n Chip,\n Paper,\n Stack,\n Typography,\n styled,\n} from \"@mui/material\"\nimport type { PaperProps } from \"@mui/material\"\n\nimport type { ReportCard } from \"../../models/report\"\n\nconst ReportingCardRoot = styled(Paper)(({ theme }) => ({\n padding: theme.spacing(3),\n width: theme.typography.pxToRem(320),\n})) as typeof Paper\n\ninterface ReportingCardProps {\n card: ReportCard\n organization: Organization\n}\n\nexport const ReportingCard: FC = ({\n card,\n organization,\n}) => {\n const { buildReportingUrl } = useUrl()\n const { isFeatureEnabled } = useFeature()\n\n const isDataUnderReview: boolean = isFeatureEnabled(\n card.underReviewFeatureFlag,\n organization\n )\n\n const isDataReady: boolean = isFeatureEnabled(\n card.dataReadyFeatureFlag,\n organization\n )\n\n const isUnderReviewChipVisible: boolean = isDataUnderReview && !isDataReady\n\n const isNew: boolean = isFeatureEnabled(card.newFeatureFlag, organization)\n\n const isNewChipVisible: boolean = isNew && !isUnderReviewChipVisible\n\n const to = card.buttonLink.startsWith(\"/\")\n ? card.buttonLink\n : buildReportingUrl(card.buttonLink)\n return (\n \n \n {card.logo ? (\n theme.typography.pxToRem(60),\n mt: 0,\n mb: 1.5,\n }}\n />\n ) : (\n \n {card.title}\n \n )}\n \n {isUnderReviewChipVisible && (\n \n )}\n {isNewChipVisible && (\n \n )}\n \n \n {card.description && {card.description}}\n }\n fullWidth\n to={to}\n variant=\"contained\"\n >\n {card.buttonText}\n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport type { HStackProps } from \"@/nzds/layout\"\nimport { useFeature } from \"@/services/feature\"\n\nimport Skeleton from \"@mui/material/Skeleton\"\nimport { styled } from \"@mui/material/styles\"\n\nimport { ReportingCard } from \"../reportingCard/reportingCard\"\nimport type { ReportingCardsProps } from \"./reporting-cards.types\"\n\nconst ReportingCardsRoot = styled(HStack)>(({ theme }) => ({\n flexWrap: \"wrap\",\n gap: theme.spacing(3),\n marginBottom: theme.spacing(3),\n}))\n\nexport const ReportingCards: FC = ({\n cards,\n isLoading,\n}) => {\n const { organization } = useOrganizationContext()\n const { isFeatureEnabled } = useFeature()\n\n return (\n \n {isLoading\n ? cards.map((card) => (\n \n ))\n : cards\n .filter((card) => {\n return (\n card.featureFlag === undefined ||\n isFeatureEnabled(card.featureFlag, organization)\n )\n })\n .map((card) => (\n \n ))}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { DataGuard } from \"@/components/data-guard\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { Page } from \"@/components/page\"\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport {\n allConsultantsWorkspaceName,\n useSigmaWorkbooks,\n} from \"@/services/sigma\"\nimport type { SigmaWorkbook } from \"@/services/sigma\"\nimport { useUserAccess } from \"@/services/user\"\n\nimport { Box, Divider, Typography } from \"@mui/material\"\n\nimport { ReportGroup, reportCards } from \"../../models/report\"\nimport type { ReportCard } from \"../../models/report\"\nimport { ReportingCards } from \"../reporting-cards\"\n\nconst workbooksToReportCards = (\n workbooks: SigmaWorkbook[],\n group: ReportGroup\n): ReportCard[] => {\n return workbooks.map((workbook) => ({\n buttonLink: workbook.workbookId,\n buttonText: `Start Report`,\n group,\n title: workbook.name,\n }))\n}\n\nexport const Reporting: FC = () => {\n const { isConsultantUser } = useAuthentication()\n const { isLimitedAccessUser } = useUserAccess()\n const { organization } = useOrganizationContext()\n const { isFeatureEnabled } = useFeature()\n\n const isCustomReportsEnabled = isFeatureEnabled(\n FeatureFlags.REPORT_CUSTOM_REPORTS,\n organization\n )\n\n const {\n sigmaWorkbooksData: customWorkbooksData,\n sigmaWorkbooksIsPlaceholderData: customWorkbooksIsPlaceholderData,\n } = useSigmaWorkbooks({\n workspaceNames: [organization?.name],\n })\n\n const {\n sigmaWorkbooksData: consultantWorkbooksData,\n sigmaWorkbooksIsPlaceholderData: consultantWorkbooksIsPlaceholderData,\n } = useSigmaWorkbooks({\n workspaceNames: [allConsultantsWorkspaceName],\n })\n\n const customReportCards = workbooksToReportCards(\n customWorkbooksData?.entries ?? [],\n ReportGroup.Custom\n )\n\n const consultantReportCards = workbooksToReportCards(\n consultantWorkbooksData?.entries ?? [],\n ReportGroup.Consultant\n )\n\n const group1ReportCards = reportCards.filter(\n (card) =>\n card.group === ReportGroup.One &&\n (!isLimitedAccessUser ||\n (isLimitedAccessUser && card.isVisibleToLimitedAccessUser))\n )\n\n const group2ReportCards = reportCards.filter(\n (card) =>\n card.group === ReportGroup.Two &&\n (!isLimitedAccessUser ||\n (isLimitedAccessUser && card.isVisibleToLimitedAccessUser))\n )\n\n return (\n <>\n \n \n \n \n Select report\n \n {/* Custom reports */}\n {isCustomReportsEnabled &&\n !isLimitedAccessUser &&\n Boolean(customReportCards.length) && (\n <>\n \n \n \n )}\n\n {/* Consultant reports */}\n {isConsultantUser && Boolean(consultantReportCards.length) && (\n <>\n \n \n \n )}\n\n {/* Group 1 reports */}\n {!isConsultantUser && Boolean(group1ReportCards.length) && (\n <>\n \n \n \n )}\n\n {/* Group 2 reports */}\n {Boolean(group2ReportCards.length) && (\n \n )}\n \n \n \n )\n}\n","import type { IFilter } from \"./filter\"\n\n/**\n * A filter for boolean values.\n *\n * @param value - A boolean value\n * @returns - The filter instance\n * @example\n * new BooleanFilter(true)\n */\nexport default class BooleanFilter implements IFilter {\n value: boolean | null\n\n constructor(value?: boolean) {\n this.value = value ?? null\n }\n\n isEqualTo(filter: BooleanFilter) {\n return this.value === filter.value\n }\n\n toQueryParamValue() {\n return this.value?.toString() ?? \"false\"\n }\n\n static fromQueryParamValue(queryParamValue: string): BooleanFilter {\n if (queryParamValue?.toLowerCase() === \"true\") {\n return new BooleanFilter(true)\n }\n\n if (queryParamValue?.toLowerCase() === \"false\") {\n return new BooleanFilter(false)\n }\n\n return new BooleanFilter()\n }\n}\n","import type { IFilter } from \"./filter\"\n\n/**\n * A filter for multiple numbers\n *\n * @param value - An array of numbers\n * @returns The filter instance\n * @example\n * new MultiSelectNumberFilter()\n * new MultiSelectNumberFilter([])\n * new MultiSelectNumberFilter([1, 2, 3])\n * MultiSelectNumberFilter.fromQueryParamValue()\n * MultiSelectNumberFilter.fromQueryParamValue(\"\")\n * MultiSelectNumberFilter.fromQueryParamValue(\"1,2,3\")\n */\nexport default class MultiSelectNumberFilter\n implements IFilter\n{\n value: number[] | null\n\n constructor(value?: number[]) {\n this.value = value ?? null\n }\n\n isEqualTo(filter: MultiSelectNumberFilter) {\n return (\n (this.value === null && filter.value === null) ||\n (this.value?.length === filter.value?.length &&\n this.value.every((value) => filter.value.includes(value)))\n )\n }\n\n toQueryParamValue() {\n return this.value?.join(\",\") ?? \"\"\n }\n\n static fromQueryParamValue(queryParamValue: string): MultiSelectNumberFilter {\n const newValue: number[] | undefined =\n queryParamValue\n ?.split(\",\")\n .map((value) => Number.parseInt(value, 10))\n .filter((value) => !Number.isNaN(value)) || undefined\n\n return new MultiSelectNumberFilter(newValue)\n }\n}\n","import type { IFilter } from \"./filter\"\n\n/**\n * A filter for one number\n *\n * @param value - The number\n * @returns The filter instance\n * @example\n * new SingleSelectNumberFilter()\n * new SingleSelectNumberFilter(1)\n * SingleSelectNumberFilter.fromQueryParamValue()\n * SingleSelectNumberFilter.fromQueryParamValue(\"\")\n * SingleSelectNumberFilter.fromQueryParamValue(\"1\")\n */\nexport default class SingleSelectNumberFilter\n implements IFilter\n{\n value: number | null\n\n constructor(value?: number) {\n this.value = Number.isInteger(value) ? value : null\n }\n\n isEqualTo(filter: SingleSelectNumberFilter) {\n return this.value === filter.value\n }\n\n toQueryParamValue() {\n return this.value?.toString() ?? \"\"\n }\n\n static fromQueryParamValue(\n queryParamValue: string\n ): SingleSelectNumberFilter {\n const newValue: number = Number.parseInt(queryParamValue, 10)\n\n return new SingleSelectNumberFilter(\n Number.isInteger(newValue) ? newValue : undefined\n )\n }\n}\n","import React, { useCallback, useMemo } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { CheckBox, CheckBoxOutlineBlank } from \"@mui/icons-material\"\nimport type { SelectChangeEvent } from \"@mui/material\"\nimport {\n Autocomplete,\n Box,\n Checkbox,\n FormControl,\n FormControlLabel,\n InputLabel,\n Select,\n TextField,\n Typography,\n} from \"@mui/material\"\n\nimport type {\n IScopeCategory,\n IScopeSubcategory,\n} from \"../../../../../models/scope\"\n\nimport styles from \"./scopeThreeDataLevel.module.scss\"\n\ninterface ScopeThreeDataLevelProps {\n categoryData: IScopeCategory[]\n hasScopeThreeEmissions: boolean\n initialCategoryValue: number | null\n initialSubcategoryValue: number[] | null\n isSummaryPresent: boolean\n onCategoryChange: (categoryId: number, subcategoryIds: number[]) => void\n onSubcategoryChange: (subcategoryIds: number[]) => void\n onSummaryChange: () => void\n subcategoryData: IScopeSubcategory[]\n}\n\nconst categoryPlaceholderId = -1\n\nexport const ScopeThreeDataLevel = ({\n isSummaryPresent,\n categoryData,\n subcategoryData,\n onSummaryChange,\n onCategoryChange,\n onSubcategoryChange,\n initialCategoryValue,\n initialSubcategoryValue,\n hasScopeThreeEmissions,\n}: ScopeThreeDataLevelProps): JSX.Element => {\n // Ensure the selected category id is a number and it is valid\n const selectedCategoryId: number = useMemo(() => {\n if (\n !categoryData?.length ||\n !categoryData.find((category) => category.id === initialCategoryValue)\n ) {\n return categoryPlaceholderId\n }\n\n return initialCategoryValue\n }, [categoryData, initialCategoryValue])\n\n // Ensure the selected subcategory ids are numbers and that they are valid\n const selectedSubcategoryIds: number[] = useMemo(() => {\n const selectedCategory: IScopeCategory | undefined = categoryData.find(\n (category) => category.id === selectedCategoryId\n )\n\n if (\n !categoryData?.length ||\n !subcategoryData?.length ||\n !selectedCategory ||\n !initialSubcategoryValue?.length\n ) {\n return []\n }\n\n return (\n // Filter out subcategories that aren't part of the selected category\n initialSubcategoryValue?.filter((id) => {\n const subcategory: IScopeSubcategory | undefined = subcategoryData.find(\n (s) => s.id === id\n )\n\n return subcategory?.categoryId === selectedCategory?.id\n }) ?? []\n )\n }, [\n categoryData,\n initialSubcategoryValue,\n selectedCategoryId,\n subcategoryData,\n ])\n\n // Handle the category dropdown change event\n const onCategorySelectChange = useCallback(\n (event: SelectChangeEvent): void => {\n const category: IScopeCategory | undefined = categoryData?.find(\n (c) => c.id === Number.parseInt(event.target.value, 10)\n )\n const subcategoryIds: number[] = subcategoryData\n ?.filter((subcategory) => subcategory.categoryId === category?.id)\n .map((subcategory) => subcategory.id)\n\n onCategoryChange(category?.id ?? null, subcategoryIds)\n },\n [categoryData, onCategoryChange, subcategoryData]\n )\n\n // Handle the subcategories autocomplete change event\n const onSubcategoryAutocompleteChange = useCallback(\n (_event, selectedSubcategoryNames): void => {\n onSubcategoryChange(\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n selectedSubcategoryNames.map((subcategory) => subcategory.id)\n )\n },\n [onSubcategoryChange]\n )\n\n // Handle the summary report checkbox change event\n const onSummaryToggle = useCallback((): void => {\n onSummaryChange()\n }, [onSummaryChange])\n\n return (\n \n Select data level\n \n }\n disabled={!hasScopeThreeEmissions}\n label=\"All Scope 3 Data - Summary\"\n sx={{\n mb: 2,\n }}\n />\n \n \n Data by Category\n \n \n Select category\n \n {categoryData?.map((category) => (\n \n ))}\n \n \n \n Subcategories\n option.name}\n id=\"selectSubcategory\"\n multiple\n onChange={onSubcategoryAutocompleteChange}\n options={subcategoryData\n .filter(\n (subcategory) => subcategory.categoryId === selectedCategoryId\n )\n .sort((a, b) => a.name.localeCompare(b.name))}\n renderInput={(params) => (\n \n )}\n renderOption={(props, option, { selected }) => (\n
  • \n }\n className={styles.option}\n icon={}\n />\n {/* Mass lint disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-member-access */}\n {option.name}\n
  • \n )}\n size=\"small\"\n value={selectedSubcategoryIds\n .map((id) =>\n subcategoryData.find((subcategory) => subcategory.id === id)\n )\n .sort((a, b) => a.name.localeCompare(b.name))}\n />\n
    \n
    \n
    \n )\n}\n\nexport default ScopeThreeDataLevel\n","import React from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport { DecimalWithPlaceholder } from \"../../../../../components/decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { If } from \"../../../../../components/if/if\"\nimport { Unit } from \"../../../../../components/unit/unit\"\nimport { UnitName } from \"../../../../../models/unit\"\nimport DataSummary from \"../../dataSummary/dataSummary\"\n\ninterface ScopeThreeDataPreviewProps {\n hasScopeThreeEmissions: boolean\n isSummaryReport: boolean\n itemCount: number\n}\n\nconst ScopeThreeDataPreview = ({\n isSummaryReport,\n itemCount,\n hasScopeThreeEmissions,\n}: ScopeThreeDataPreviewProps) => {\n const renderPreviewText = (): string => {\n if (!hasScopeThreeEmissions) {\n return \"Your organization does not have Scope 3 data in the NZero application for selected range\"\n }\n if (isSummaryReport) {\n return \"Your CSV download data will be aggregated into scope 3 categories and only include categories for which we have data.\"\n }\n return \"Your CSV download will include all emissions within the selected subcategories for which you have data.\"\n }\n\n return (\n \n \n {renderPreviewText()}\n \n {\" \"}\n Data will be shown in{\" \"}\n .\n \n \n \n \n {\" \"}\n emissions {isSummaryReport ? \"categories\" : \"\"} (\n {\" \"}\n rows)\n \n \n \n )\n}\n\nexport default ScopeThreeDataPreview\n","import type BooleanFilter from \"../../../models/filter/booleanFilter\"\nimport type MultiSelectNumberFilter from \"../../../models/filter/multiSelectNumberFilter\"\nimport type SingleSelectNumberFilter from \"../../../models/filter/singleSelectNumberFilter\"\nimport type { ITableColumn, ITableRow } from \"../../../models/table\"\n\nexport enum ScopeThreeReportName {\n Category = \"Scope 3 Category\",\n Summary = \"Scope 3 Summary\",\n}\n\nexport interface IScopeThreeFilters {\n category: SingleSelectNumberFilter\n subcategory: MultiSelectNumberFilter\n summary: BooleanFilter\n}\n\ninterface IScopeThreeReportTableRow extends ITableRow {\n mtCo2E: number\n}\n\nexport interface IScopeThreeSummaryReportTableRow\n extends IScopeThreeReportTableRow {\n category: string\n}\n\nexport interface IScopeThreeCategoryReportTableRow\n extends IScopeThreeReportTableRow {\n emissionsName: string\n subcategory: string\n}\n\nexport enum ScopeThreeReportColumnName {\n Category = \"Category\",\n EmissionsName = \"Emissions name\",\n MtCo2E = \"MT CO2e\",\n Subcategory = \"Subcategory\",\n}\n\nexport enum ScopeThreeReportColumnKey {\n Category = \"category\",\n EmissionsName = \"emissionsName\",\n MtCo2E = \"mtCo2E\",\n Subcategory = \"subcategory\",\n}\n\nexport const scopeThreeSummaryReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: ScopeThreeReportColumnName.Category,\n key: \"category\",\n },\n {\n id: 1,\n order: 1,\n title: ScopeThreeReportColumnName.MtCo2E,\n key: \"mtCo2E\",\n },\n ]\n\nexport const scopeThreeCategoryReportColumns: ITableColumn[] =\n [\n {\n id: 0,\n order: 0,\n title: ScopeThreeReportColumnName.EmissionsName,\n key: \"emissionsName\",\n },\n {\n id: 1,\n order: 1,\n title: ScopeThreeReportColumnName.Subcategory,\n key: \"subcategory\",\n },\n {\n id: 2,\n order: 2,\n title: ScopeThreeReportColumnName.MtCo2E,\n key: \"mtCo2E\",\n },\n ]\n\nexport default {\n scopeThreeCategoryReportColumns,\n ScopeThreeReportName,\n scopeThreeSummaryReportColumns,\n}\n","import { sortBy } from \"lodash-es\"\n\nimport type MultiSelectNumberFilter from \"../../../../models/filter/multiSelectNumberFilter\"\nimport type SingleSelectNumberFilter from \"../../../../models/filter/singleSelectNumberFilter\"\nimport type {\n IScopeCategory,\n IScopeSubcategory,\n} from \"../../../../models/scope\"\nimport type { ITableData } from \"../../../../models/table\"\nimport type { FetchScopeThreeEmissionsValue } from \"../../../../services\"\nimport type {\n IScopeThreeCategoryReportTableRow,\n IScopeThreeFilters,\n IScopeThreeSummaryReportTableRow,\n} from \"../../models/scopeThree\"\nimport {\n ScopeThreeReportColumnKey,\n ScopeThreeReportName,\n scopeThreeCategoryReportColumns,\n scopeThreeSummaryReportColumns,\n} from \"../../models/scopeThree\"\n\n/**\n * Returns an array of categories when given Scope Three emissions\n *\n * @param emissions - The array of emissions\n * @returns The array of categories\n * @example\n * getScopeThreeCategories(emissions)\n */\nexport const getScopeThreeCategories = (\n emissions: FetchScopeThreeEmissionsValue[] | undefined\n): IScopeCategory[] => {\n if (!emissions?.length) {\n return []\n }\n const scopeCategoriesById: Map = emissions.reduce(\n (categoriesById, emission) => {\n if (!categoriesById.has(emission.categoryName)) {\n categoriesById.set(emission.categoryName, {\n id: emission.categoryId,\n name: emission.categoryName,\n })\n }\n\n return categoriesById\n },\n new Map()\n )\n\n return [...scopeCategoriesById.values()].sort((a, b) =>\n a.name.localeCompare(b.name)\n )\n}\n\n/**\n * Returns an array of subcategories ordered by name (ascending)\n * when given Scope Three emissions\n *\n * @param emissions - The array of emissions\n * @returns The array of subcategories\n * @example\n * getScopeThreeSubcategories(emissions)\n */\nexport const getScopeThreeSubcategories = (\n emissions: FetchScopeThreeEmissionsValue[] | undefined\n): IScopeSubcategory[] => {\n if (!emissions?.length) {\n return []\n }\n const scopeSubcategoriesById: Map =\n emissions.reduce((subcategoriesById, emission) => {\n if (!subcategoriesById.has(emission.subcategoryId)) {\n subcategoriesById.set(emission.subcategoryId, {\n categoryId: emission.categoryId,\n id: emission.subcategoryId,\n name: emission.subcategoryName,\n })\n }\n\n return subcategoriesById\n }, new Map())\n\n return [...scopeSubcategoriesById.values()].sort((a, b) =>\n a.name.localeCompare(b.name)\n )\n}\n\n/**\n * Generates a scope three report title\n *\n * @param isSummary - Whether the report is a summary report or not\n * @param category - The category\n * @returns The scope 3 report title\n * @example\n * getScopeThreeReportTitle(isSummaryReport, selectedCategory)\n */\nexport const getScopeThreeReportTitle = (\n isSummary: boolean,\n category: IScopeCategory | undefined\n): string => {\n const summaryReportName: string = ScopeThreeReportName.Summary\n const categoryReportName = `${\n ScopeThreeReportName.Category\n } (${category?.name.replace(\".\", \"\")})`\n\n return isSummary ? summaryReportName : categoryReportName\n}\n\n/**\n * Determines whether the category filter is valid or not\n *\n * @param categoryFilter - The category filter\n * @param categories - The array of possible categories\n * @returns Whether the category filter is valid or not\n * @example\n * isScopeThreeCategoryFilterValid(filters.category, categories)\n */\nexport const isScopeThreeCategoryFilterValid = (\n categoryFilter: SingleSelectNumberFilter,\n categories: IScopeCategory[]\n): boolean =>\n !!categories?.find((category) => category.id === categoryFilter.value)\n\n/**\n * Determines whether the subcategory filter is valid or not\n *\n * @param subcategoryFilter - The subcategory filter\n * @param subcategories - The array of possible subcategories\n * @param categoryFilter - The category filter\n * @param categories - The array of possible categories\n * @returns Whether the subcategory filter is valid or not\n * @example\n * isScopeThreeSubcategoryFilterValid(\n * filters.subcategory,\n * subcategories,\n * filters.category,\n * categories\n * )\n */\nexport const isScopeThreeSubcategoryFilterValid = (\n subcategoryFilter: MultiSelectNumberFilter,\n subcategories: IScopeSubcategory[],\n categoryFilter: SingleSelectNumberFilter,\n categories: IScopeCategory[]\n): boolean => {\n const subcategoryFilterValue: number[] = !subcategoryFilter.value?.length\n ? []\n : subcategoryFilter.value\n\n if (\n !subcategoryFilter.value?.length ||\n !subcategories?.length ||\n categoryFilter.value === null ||\n !categories?.length\n ) {\n return false\n }\n\n return !!subcategoryFilterValue.filter((id) => {\n const subcategory: IScopeSubcategory | undefined = subcategories.find(\n (s) => s.id === id\n )\n\n return subcategory?.categoryId === categoryFilter.value\n }).length\n}\n\n/**\n * Determines whether the filters are valid or not\n *\n * @param filters - The array of emissions\n * @param categories - The array of possible categories\n * @param subcategories - The array of possible subcategories\n * @returns Whether the filters are valid or not\n * @example\n * areScopeThreeReportFiltersValid(filters, categories, subcategories)\n */\nexport const areScopeThreeReportFiltersValid = (\n filters: IScopeThreeFilters,\n categories: IScopeCategory[],\n subcategories: IScopeSubcategory[]\n): boolean => {\n const isCategoryValid: boolean = isScopeThreeCategoryFilterValid(\n filters.category,\n categories\n )\n const isSubcategoryValid: boolean = isScopeThreeSubcategoryFilterValid(\n filters.subcategory,\n subcategories,\n filters.category,\n categories\n )\n\n if (filters.summary.value) {\n return true\n }\n return isCategoryValid && isSubcategoryValid\n}\n\n/**\n * Returns a category report when given Scope Three emissions\n *\n * @param emissions - The array of emissions\n * @param subcategories - The array of subcategory ids to include in the report\n * @returns The category report\n * @example\n * getScopeThreeCategoryReport(emissions)\n */\nexport const getScopeThreeCategoryReport = (\n emissions: FetchScopeThreeEmissionsValue[] | undefined,\n subcategories: number[]\n): ITableData => {\n if (!emissions?.length) {\n return {} as ITableData\n }\n // Get rows\n const rowData: Map = emissions\n .filter((emission) => subcategories.includes(emission.subcategoryId))\n .reduce((data, emission, index) => {\n const emissionNameSubcategoryNameKey = `${emission.ghgEmissionsFactorsName} ${emission.subcategoryName}`\n\n if (data.has(emissionNameSubcategoryNameKey)) {\n const row = data.get(emissionNameSubcategoryNameKey)\n\n data.set(emissionNameSubcategoryNameKey, {\n ...row,\n mtCo2E: row.mtCo2E + emission.mtCo2E,\n })\n } else {\n data.set(emissionNameSubcategoryNameKey, {\n id: index,\n emissionsName: emission.ghgEmissionsFactorsName,\n subcategory: emission.subcategoryName,\n mtCo2E: emission.mtCo2E,\n })\n }\n\n return data\n }, new Map())\n\n const rows: IScopeThreeCategoryReportTableRow[] = sortBy(\n [...rowData.values()],\n ScopeThreeReportColumnKey.MtCo2E\n ).reverse()\n\n return {\n columns: scopeThreeCategoryReportColumns,\n rows,\n }\n}\n\n/**\n * Returns a summary report when given Scope Three emissions\n *\n * @param emissions - The array of emissions\n * @returns The summary report\n * @example\n * getScopeThreeSummaryReport(emissions)\n */\nexport const getScopeThreeSummaryReport = (\n emissions: FetchScopeThreeEmissionsValue[] | undefined\n): ITableData => {\n if (!emissions?.length) {\n return {} as ITableData\n }\n // Get rows\n const rowData: Map =\n emissions.reduce((data, emission, index) => {\n if (data.has(emission.categoryName)) {\n const row = data.get(emission.categoryName)\n\n data.set(emission.categoryName, {\n ...row,\n mtCo2E: row.mtCo2E + emission.mtCo2E,\n })\n } else {\n data.set(emission.categoryName, {\n id: index,\n category: emission.categoryName,\n mtCo2E: emission.mtCo2E,\n })\n }\n\n return data\n }, new Map())\n\n const rows: IScopeThreeSummaryReportTableRow[] = sortBy(\n [...rowData.values()],\n ScopeThreeReportColumnKey.MtCo2E\n ).reverse()\n\n return {\n columns: scopeThreeSummaryReportColumns,\n rows,\n }\n}\n\nexport default {\n areScopeThreeReportFiltersValid,\n getScopeThreeCategoryReport,\n getScopeThreeReportTitle,\n getScopeThreeSummaryReport,\n isScopeThreeCategoryFilterValid,\n isScopeThreeSubcategoryFilterValid,\n}\n","import React, { useCallback, useMemo, useState } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { getMostRecentPreviousYearDateRange } from \"@/utils/date/date\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport type { Interval } from \"luxon\"\n\nimport KeyboardArrowDownIcon from \"@mui/icons-material/KeyboardArrowDown\"\nimport KeyboardArrowUpIcon from \"@mui/icons-material/KeyboardArrowUp\"\nimport { Box, Button, Collapse, FormLabel, Typography } from \"@mui/material\"\n\nimport { MonthRangeSelector } from \"../../../../components/date/monthRangeSelector/monthRangeSelector\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport BooleanFilter from \"../../../../models/filter/booleanFilter\"\nimport MultiSelectNumberFilter from \"../../../../models/filter/multiSelectNumberFilter\"\nimport SingleSelectNumberFilter from \"../../../../models/filter/singleSelectNumberFilter\"\nimport type { IScopeCategory } from \"../../../../models/scope\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport { useScopeThreeEmissions } from \"../../../../services\"\nimport type { Report } from \"../../models/report\"\nimport { reportCard } from \"../../models/report\"\nimport type {\n IScopeThreeCategoryReportTableRow,\n IScopeThreeFilters,\n IScopeThreeSummaryReportTableRow,\n} from \"../../models/scopeThree\"\nimport { getReportFileName } from \"../../util/util\"\nimport DownloadCsv from \"../downloadCsv/downloadCsv\"\nimport ReportLayout from \"../reportLayout/reportLayout\"\nimport { ScopeThreeDataLevel } from \"./scopeThreeDataLevel/scopeThreeDataLevel\"\nimport ScopeThreeDataPreview from \"./scopeThreeDataPreview/scopeThreeDataPreview\"\nimport {\n areScopeThreeReportFiltersValid,\n getScopeThreeCategories,\n getScopeThreeCategoryReport,\n getScopeThreeReportTitle,\n getScopeThreeSubcategories,\n getScopeThreeSummaryReport,\n isScopeThreeCategoryFilterValid,\n isScopeThreeSubcategoryFilterValid,\n} from \"./scopeThreeUtils\"\n\nimport styles from \"./scopeThree.module.scss\"\n\nexport const ScopeThree = () => {\n const { filters, setFilters } = useFilters({\n summary: BooleanFilter,\n category: SingleSelectNumberFilter,\n subcategory: MultiSelectNumberFilter,\n })\n\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(organization?.id)\n\n const mostRecentPreviousYearDateRange = getMostRecentPreviousYearDateRange(\n availableReportDatesData\n )\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"reportScope3DateRange\",\n bounds: availableReportDatesData,\n fallbackDateRange: mostRecentPreviousYearDateRange,\n })\n\n const [isControlsOpen, setIsControlsOpen] = useState(\n filters.summary.value === null ? false : !filters.summary.value\n )\n const {\n scopeThreeEmissions,\n isScopeThreeEmissionsFetched,\n isScopeThreeEmissionsFetching,\n } = useScopeThreeEmissions(organization?.id, dateRange)\n\n const scopeCategories = useMemo(\n () => getScopeThreeCategories(scopeThreeEmissions),\n [scopeThreeEmissions]\n )\n const scopeSubcategories = useMemo(\n () => getScopeThreeSubcategories(scopeThreeEmissions),\n [scopeThreeEmissions]\n )\n\n const scopeThreeReport:\n | Report\n | Report = useMemo(() => {\n if (\n !areScopeThreeReportFiltersValid(\n filters,\n scopeCategories,\n scopeSubcategories\n )\n ) {\n return {\n data: {\n columns: [],\n rows: [],\n },\n name: \"\",\n }\n }\n\n const selectedCategory: IScopeCategory | undefined = scopeCategories.find(\n (category) => category.id === filters.category.value\n )\n\n const reportTitle: string = getScopeThreeReportTitle(\n filters.summary.value,\n selectedCategory\n )\n const reportFileName: string = getReportFileName(\n reportTitle,\n dateRange,\n true\n )\n\n if (filters.summary.value) {\n return {\n data: getScopeThreeSummaryReport(scopeThreeEmissions),\n name: reportFileName,\n }\n }\n\n return {\n data: getScopeThreeCategoryReport(\n scopeThreeEmissions,\n filters.subcategory.value ?? []\n ),\n name: reportFileName,\n }\n }, [\n dateRange,\n filters,\n scopeCategories,\n scopeSubcategories,\n scopeThreeEmissions,\n ])\n\n const isDownloadDisabled: boolean = useMemo(\n () =>\n !areScopeThreeReportFiltersValid(\n filters,\n scopeCategories,\n scopeSubcategories\n ) || !scopeThreeReport.data.rows?.length,\n [filters, scopeCategories, scopeSubcategories, scopeThreeReport]\n )\n\n const downloadButtonHelperText: string = useMemo(() => {\n if (\n !filters.summary.value &&\n scopeCategories?.length &&\n !isScopeThreeCategoryFilterValid(filters.category, scopeCategories)\n ) {\n return \"Select a category to download\"\n }\n if (\n !filters.summary.value &&\n isScopeThreeCategoryFilterValid(filters.category, scopeCategories) &&\n !isScopeThreeSubcategoryFilterValid(\n filters.subcategory,\n scopeSubcategories,\n filters.category,\n scopeCategories\n )\n ) {\n return \"Select at least one subcategory to download\"\n }\n if (isScopeThreeEmissionsFetched && !scopeThreeReport.data.rows?.length) {\n return \"Data unavailable\"\n }\n return \"\"\n }, [\n filters,\n isScopeThreeEmissionsFetched,\n scopeCategories,\n scopeSubcategories,\n scopeThreeReport,\n ])\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n setDateRange(value)\n }\n },\n [setDateRange]\n )\n\n const onSummaryChange = useCallback((): void => {\n setFilters({\n summary: new BooleanFilter(!filters.summary.value),\n category: new SingleSelectNumberFilter(),\n subcategory: new MultiSelectNumberFilter(),\n })\n }, [filters.summary.value, setFilters])\n\n const onCategoryChange = useCallback(\n (categoryId: number, subcategoryIds: number[]): void => {\n setFilters({\n category: new SingleSelectNumberFilter(categoryId),\n subcategory: new MultiSelectNumberFilter(subcategoryIds),\n })\n },\n [setFilters]\n )\n\n const onSubcategoryChange = useCallback(\n (value: number[]): void => {\n setFilters({\n subcategory: new MultiSelectNumberFilter(value),\n })\n },\n [setFilters]\n )\n\n return (\n \n \n \n \n {downloadButtonHelperText}\n \n \n \n }\n details={\n \n \n \n }\n filters={\n <>\n
    \n \n Date Range\n \n \n \n ) : (\n \n )\n }\n onClick={() => {\n setIsControlsOpen(!isControlsOpen)\n }}\n size=\"small\"\n sx={{ whiteSpace: \"nowrap\" }}\n >\n {isControlsOpen\n ? \"Collapse Granularity Controls\"\n : \"Open Granularity Controls\"}\n \n
    \n \n {\n // isSummaryPresent must always have a value\n // so that the checkbox is always a controlled input\n }\n \n \n \n }\n report={reportCard.Scope3}\n />\n )\n}\n\nexport default ScopeThree\n","import type { ReactNode } from \"react\"\nimport React, { useEffect } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useAvailableReportDates } from \"@/services\"\n\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport BooleanFilter from \"../../../../models/filter/booleanFilter\"\nimport MultiSelectNumberFilter from \"../../../../models/filter/multiSelectNumberFilter\"\nimport SingleSelectNumberFilter from \"../../../../models/filter/singleSelectNumberFilter\"\nimport type { IScopeThreeFilters } from \"../../models/scopeThree\"\n\ninterface ScopeThreeResolverProps {\n children: ReactNode\n}\n\n/**\n * A component that ensures the scope three report url and form data are set up\n * before rendering the report\n *\n * @param props - The component properties\n * @param props.children - The children to render\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const ScopeThreeResolver = ({ children }: ScopeThreeResolverProps) => {\n const { organization } = useOrganizationContext()\n\n const { availableReportDatesData, availableReportDatesIsFetched } =\n useAvailableReportDates(organization?.id)\n\n const { filters, setFilters } = useFilters({\n summary: BooleanFilter,\n category: SingleSelectNumberFilter,\n subcategory: MultiSelectNumberFilter,\n })\n\n // Initialize summary filter\n useEffect(() => {\n const newFilters: Partial = {\n summary: new BooleanFilter(filters.summary.value ?? true),\n }\n\n setFilters(newFilters, { replace: true })\n }, [availableReportDatesData, filters.summary.value, setFilters])\n\n return availableReportDatesIsFetched ? <>{children} : null\n}\n\nexport default ScopeThreeResolver\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { Page404 } from \"@/components/nav/page404\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { useSigmaWorkbook } from \"@/services/sigma\"\n\nimport { ReportingLink } from \"../../components/reporting-link\"\nimport { SigmaReport } from \"../../components/sigma-report\"\n\nexport const SigmaReportRoute: FC = () => {\n const { workbookId } = useParams<{ workbookId: string }>()\n const { sigmaWorkbookData } = useSigmaWorkbook(workbookId)\n\n return sigmaWorkbookData === null ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport { Outlet } from \"react-router-dom\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { DataGuard } from \"@/components/data-guard\"\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { ConsultantDataGuard } from \"@/components/route/consultant-data-guard\"\nimport { FeatureGuard } from \"@/components/route/featureGuard/featureGuard\"\nimport { LimitedAccessUserGuard } from \"@/components/route/limited-access-user-guard\"\nimport { RoleGuard } from \"@/components/route/role-guard\"\nimport { ReportPath, RootPath } from \"@/models/route\"\nimport { FeatureFlags } from \"@/services/feature\"\n\nimport ActivityEmissions from \"./components/activityEmissions/activityEmissions\"\nimport Gresb from \"./components/gresb/gresb\"\nimport Gri from \"./components/gri/gri\"\nimport MonthlySiteData from \"./components/monthlySiteData/monthlySiteData\"\nimport MonthlySiteDataResolver from \"./components/monthlySiteDataResolver/monthlySiteDataResolver\"\nimport ReportSummary from \"./components/reportSummary/reportSummary\"\nimport { Reporting } from \"./components/reporting/reporting\"\nimport ScopeThree from \"./components/scopeThree/scopeThree\"\nimport ScopeThreeResolver from \"./components/scopeThreeResolver/scopeThreeResolver\"\nimport { SigmaReportRoute } from \"./pages/sigma-report-route\"\n\nexport const reportRoutes: RouteObject[] = [\n {\n path: RootPath.Report,\n element: (\n \n \n \n \n \n \n \n ),\n children: [\n {\n index: true,\n element: ,\n },\n {\n path: ReportPath.EmissionsSources,\n element: (\n \n \n \n \n \n \n \n ),\n },\n {\n path: ReportPath.Gresb,\n element: (\n \n \n \n \n \n ),\n },\n {\n path: ReportPath.Gri,\n element: (\n \n \n \n \n \n ),\n },\n {\n path: ReportPath.MonthlySiteData,\n element: (\n \n \n \n \n \n \n \n ),\n },\n {\n path: ReportPath.ResourceSummary,\n element: (\n \n \n \n ),\n },\n {\n path: ReportPath.ScopeThree,\n element: (\n \n \n \n \n \n \n \n ),\n },\n {\n path: ReportPath.Workbook,\n element: (\n \n \n \n ),\n },\n ],\n },\n]\n","import type { ChangeEvent } from \"react\"\nimport React, { useCallback, useEffect } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Page, PageCard, PageHeader } from \"@/components\"\nimport { If } from \"@/components/if/if\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport type { CurrencyCode } from \"@/models/currencyCode\"\nimport { Translation } from \"@/models/i18n\"\nimport type { LanguageRegion } from \"@/models/i18n\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport { FormControl, FormLabel, Stack, TextField } from \"@mui/material\"\n\nimport { useUserSettings } from \"../../contexts/userSettings.provider\"\n\n/**\n * A component that renders the Settings content\n *\n * @example\n * return (\n * \n * )\n */\n\nexport const Settings = () => {\n const { t, i18n } = useTranslation()\n const userSettings = useUserSettings()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n /* For now, fetch the supported currencies when the Settings view is visited. In the future,\n we may need to access the supported currencies from other views. At that point, we should\n either lift this fetch up the component hierarchy, or create a settings resolver to determine\n when to fetch. */\n useEffect(() => {\n if (!userSettings.hasLoadedSupportedCurrencies) {\n userSettings.fetchSupportedCurrencies()\n }\n }, [\n userSettings.fetchSupportedCurrencies,\n userSettings.hasLoadedSupportedCurrencies,\n ])\n\n const supportedLocales = (i18n?.options?.supportedLngs ||\n []) as LanguageRegion[]\n\n const onCurrencyChange = useCallback(\n (event: ChangeEvent): void => {\n userSettings.setCurrency(event.target.value as CurrencyCode)\n },\n [userSettings.setCurrency]\n )\n\n const onLanguageChange = useCallback(\n (event: ChangeEvent): void => {\n userSettings.setLanguage(event.target.value as LanguageRegion)\n },\n [userSettings.setLanguage]\n )\n return (\n <>\n \n \n \n \n \n {t(Translation.Settings.CurrencyLabel)}\n \n {userSettings.currency &&\n userSettings.supportedCurrencies.map((currency) => (\n \n {t(Translation.Common.Currency[currency])} ({currency})\n \n ))}\n \n \n \n \n {t(Translation.Settings.LanguageLabel)}\n \n {supportedLocales\n .filter((locale) => new Intl.Locale(locale).region)\n .map((locale) => {\n const intlLocale = new Intl.Locale(locale)\n return (\n \n {t(Translation.Common.Language[intlLocale.language])}{\" \"}\n ({intlLocale.region})\n \n )\n })}\n \n \n \n \n \n \n \n )\n}\n\nexport default Settings\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { RoleGuard } from \"@/components/route/role-guard\"\nimport { RootPath } from \"@/models/route\"\n\nimport Settings from \"./components/settings/settings\"\n\nexport const settingsRoutes: RouteObject[] = [\n {\n path: RootPath.Settings,\n element: (\n \n \n \n \n \n ),\n },\n]\n","import { useOutletContext } from \"react-router-dom\"\n\nimport type { DashboardContext } from \"./types\"\n\nexport const useDashboardContext = (): DashboardContext =>\n useOutletContext()\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { pxToRem } from \"../utils/unit\"\n\ninterface IPanelProps {\n buttons?: ReactNode\n children: ReactNode\n className?: string\n midSubtitle?: ReactNode\n midTitle?: ReactNode\n title?: ReactNode\n width?: string | number\n}\n\nexport const Panel = ({\n buttons,\n children,\n title,\n midTitle,\n midSubtitle,\n className = null,\n width = null,\n}: IPanelProps) => (\n \n {title && (\n
    \n

    {title}

    \n
    \n {midTitle &&

    {midTitle}

    }\n {midSubtitle &&

    {midSubtitle}

    }\n
    \n {buttons &&
    {buttons}
    }\n
    \n )}\n {children}\n \n)\n","import React, { useEffect, useRef, useState } from \"react\"\n\nimport Tooltip from \"@mui/material/Tooltip\"\n\nimport styles from \"./overflowTooltip.module.scss\"\n\ninterface ComponentProps {\n children: React.ReactNode\n}\n\n/**\n * A component that displays a tooltip when its child's text has an ellipsis (is overflowing)\n *\n * @param props {ComponentProps} - The component properties\n * @param props.children {React.ReactNode} - The child nodes to render\n * @example\n * return (\n * \n * A very long string of text that should show a tooltip when an ellipsis is displayed\n * \n * )\n */\n\nexport const OverflowTooltip = ({ children }: ComponentProps) => {\n const [isDisabled, setIsDisabled] = useState(true)\n const textElementRef = useRef()\n\n const updateIsDisabled = (): void => {\n const disabled: boolean =\n textElementRef.current?.scrollWidth ===\n textElementRef.current?.clientWidth\n setIsDisabled(disabled)\n }\n\n useEffect(() => {\n updateIsDisabled()\n window.addEventListener(\"resize\", updateIsDisabled)\n\n return () => {\n window.removeEventListener(\"resize\", updateIsDisabled)\n }\n }, [])\n\n return (\n \n \n {\n // OverflowTooltip and hit area only works properly with a single child element containing text\n React.Children.only(children)\n }\n \n \n )\n}\n","import React from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { OverflowTooltip } from \"../overflowTooltip/overflowTooltip\"\n\nexport const BundledSiteFinancialSummaryCardItem = ({\n feeName,\n feeUsage,\n feeRate,\n feeTotal,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n feeType,\n}: {\n feeName: string\n feeRate: number\n feeTotal: number\n feeType: string\n feeUsage: number\n}) => (\n ({\n color: theme.palette.text.secondary,\n })}\n >\n
    \n \n

    \n {feeName}\n

    \n
    \n
    \n

    \n {feeUsage}\n

    \n

    \n {feeRate}\n

    \n

    \n \n

    \n
    \n \n)\n","import React from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\n\nexport const BundledSiteFinancialSummaryCardTitle = ({\n titleName,\n titleTotal,\n}: {\n titleName: string\n titleTotal: number\n}) => (\n ({\n color: theme.palette.text.secondary,\n \"&:last-child\": {\n borderBottomRightRadius: 8,\n borderBottomLeftRadius: 8,\n },\n })}\n >\n

    \n {titleName}\n

    \n
    \n

    \n \n

    \n
    \n \n)\n","import React, { useEffect, useMemo, useState } from \"react\"\n\nimport classNames from \"classnames\"\n\nimport { ExpandLessRounded, ExpandMoreRounded } from \"@mui/icons-material\"\nimport { Box, Collapse } from \"@mui/material\"\n\nimport { Fee, FeeType } from \"../../models/fee\"\nimport type { SitePremiseFinancialSummary } from \"../../models/sitePremiseFinancialSummary\"\nimport { UnitName } from \"../../models/unit\"\nimport { SOLAR_TO_GRID } from \"../../utils/constants\"\nimport { getUnitKeyFromFeeType } from \"../../utils/unit\"\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { OverflowTooltip } from \"../overflowTooltip/overflowTooltip\"\nimport { BundledSiteFinancialSummaryCardItem } from \"./bundledSiteFinancialSummaryCardItem\"\nimport { BundledSiteFinancialSummaryCardTitle } from \"./bundledSiteFinancialSummaryCardTitle\"\n\nexport const BundledSiteFinancialSummaryCard = ({\n sitePremiseFinancialSummary,\n isExpanded,\n}: {\n isExpanded: boolean\n sitePremiseFinancialSummary: SitePremiseFinancialSummary\n}) => {\n const [isOpenValues, setIsOpenValues] = useState({})\n const sortedEnergyAllocatorList = useMemo(\n () =>\n sitePremiseFinancialSummary.energyAllocatorList.sort(\n (ea1, ea2) => ea1.displayOrder - ea2.displayOrder\n ),\n [sitePremiseFinancialSummary]\n )\n\n useEffect(() => {\n const initialValuesIsOpen = {}\n sortedEnergyAllocatorList.forEach(\n (energyAllocator, energyAllocatorIndex) => {\n initialValuesIsOpen[energyAllocatorIndex] = isExpanded\n }\n )\n setIsOpenValues(initialValuesIsOpen)\n }, [sitePremiseFinancialSummary])\n\n const setIsOpen = (newUniqueId, newisOpen) => {\n setIsOpenValues({\n ...isOpenValues,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n [newUniqueId]: newisOpen,\n })\n }\n\n const isLastTotalVisible = sortedEnergyAllocatorList?.length > 1\n\n return (\n
    \n \n

    \n {sitePremiseFinancialSummary.billingGroupAlias} (Premise{\" \"}\n {sitePremiseFinancialSummary.billingGroupName})\n

    \n \n {sortedEnergyAllocatorList.map(\n (energyAllocator, energyAllocatorIndex) => {\n const firstVariableFee =\n energyAllocator.variableFees[0] ??\n new Fee({\n feeCost: 0,\n feeName: \"\",\n feeRate: 0,\n feeType: \"\",\n feeUsage: 0,\n })\n\n return (\n
    \n {energyAllocator.energyAllocatorType === \"solar\" && (\n ({\n color: theme.palette.text.secondary,\n ...(!isLastTotalVisible\n ? {\n borderBottomRightRadius: 8,\n borderBottomLeftRadius: 8,\n }\n : {}),\n })}\n >\n
    \n \n \n

    \n {energyAllocator.rateScheduleName}\n

    \n
    \n
    \n

    \n \n

    \n

    \n \n

    \n

    \n \n

    \n
    \n \n )}\n {energyAllocator.energyAllocatorType === \"grid\" && (\n <>\n {\n setIsOpen(\n energyAllocatorIndex,\n !isOpenValues[energyAllocatorIndex]\n )\n }}\n sx={(theme) => ({\n color: theme.palette.text.secondary,\n ...(!isOpenValues[energyAllocatorIndex] &&\n !isLastTotalVisible\n ? {\n borderBottomRightRadius: 8,\n borderBottomLeftRadius: 8,\n }\n : {}),\n })}\n >\n
    \n {energyAllocator.variableFees.some(\n (cost) => cost.feeName === SOLAR_TO_GRID\n ) && (\n \n )}\n \n \n

    \n {energyAllocator.rateScheduleName}\n

    \n
    \n
    \n
    \n

    \n \n

    \n
    \n {isOpenValues[energyAllocatorIndex] ? (\n \n ) : (\n \n )}\n
    \n \n {/* migration to strict mode batch disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-assignment */}\n \n 0\n ? energyAllocator.variableFees.reduce(\n (sum, item) => sum + Number(item.feeCost),\n 0\n )\n : NaN\n }\n />\n {energyAllocator.variableFees.map((variableCost) => (\n ({\n color: theme.palette.text.secondary,\n })}\n >\n
    \n {variableCost.feeName === SOLAR_TO_GRID && (\n \n )}\n {variableCost.feeName !== SOLAR_TO_GRID &&\n variableCost.feeType !== FeeType.Kilowatt && (\n \n )}\n \n

    \n {`${energyAllocator.rateScheduleName} (${variableCost.feeName})`}\n

    \n
    \n
    \n

    \n \n

    \n

    \n \n

    \n

    \n \n

    \n
    \n \n ))}\n 0\n ? energyAllocator.fixedFees.reduce(\n (sum, item) => sum + Number(item.feeCost),\n 0\n )\n : NaN\n }\n />\n {energyAllocator.fixedFees.map((fixedCost) => (\n \n ))}\n 0\n ? energyAllocator.taxes.reduce(\n (sum, item) => sum + Number(item.feeCost),\n 0\n )\n : NaN\n }\n />\n {energyAllocator.taxes.map((tax) => (\n \n ))}\n {!isLastTotalVisible && (\n \n sumOfTotal + Number(energyAllocatorItem.total),\n 0\n )}\n />\n )}\n \n \n )}\n
    \n )\n }\n )}\n {isLastTotalVisible && (\n \n sumOfTotal + Number(energyAllocatorItem.total),\n 0\n )}\n />\n )}\n
    \n )\n}\n","import React, { useCallback } from \"react\"\n\nimport type { Moment } from \"moment\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport type { IDateFormat } from \"../../models/date/date\"\nimport type { SitePremiseFinancialSummary } from \"../../models/sitePremiseFinancialSummary\"\nimport { UnitName } from \"../../models/unit\"\nimport { calculateTotalCost, calculateTotalVolume } from \"../../utils\"\nimport { TIME_RANGES } from \"../../utils/constants\"\nimport { getDateFormatFromTimeRange } from \"../../utils/date\"\nimport { pxToRem } from \"../../utils/unit\"\nimport { CurrencyWithPlaceholder } from \"../currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DateDisplay } from \"../date/dateDisplay/dateDisplay\"\nimport { DateRangeDisplay } from \"../date/dateRangeDisplay/dateRangeDisplay\"\nimport { DecimalWithPlaceholder } from \"../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { If } from \"../if/if\"\nimport { ProvideChildrenUnlessLoading } from \"../if/loading/provideChildrenUnlessLoading\"\nimport { Panel } from \"../panel\"\nimport { BundledSiteFinancialSummaryCard } from \"./bundledSiteFinancialSummaryCard\"\n\nconst calculateTotal = (\n premiseFinancialSummaryResults: SitePremiseFinancialSummary[] | undefined,\n subReducer: (props: SitePremiseFinancialSummary) => number\n): number | undefined =>\n premiseFinancialSummaryResults?.reduce(\n (sum, premiseFinancialSummary: SitePremiseFinancialSummary) =>\n sum + subReducer(premiseFinancialSummary),\n 0\n )\n\nexport interface IBundledSiteFinancialSummaryPanel {\n isParentLoading: boolean\n searchEndDate: Moment\n searchStartDate: Moment\n siteMetersCount: number\n summaryContainerPremises: SitePremiseFinancialSummary[] | undefined\n timeWindow: {\n endDate\n startDate\n timeRange: TIME_RANGES\n }\n}\n\nexport const BundledSiteFinancialSummaryPanel = ({\n timeWindow,\n searchStartDate,\n searchEndDate,\n siteMetersCount,\n summaryContainerPremises,\n isParentLoading,\n}: IBundledSiteFinancialSummaryPanel) => {\n const dateFormat: IDateFormat = getDateFormatFromTimeRange(\n timeWindow.timeRange\n )\n\n const regularParagraphClassName =\n \"summary-measure paragraph--small paragraph--small__regular\"\n const summaryValueClassName = \"summary-measure-value\"\n\n const ComponentForPremise = useCallback(\n (premiseFinancialSummary: SitePremiseFinancialSummary, index: number) => (\n \n ),\n []\n )\n\n return (\n \n \n Billing\n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n Meters on Property: \n \n {siteMetersCount}\n \n

    \n \n Premises on Property: \n \n {summaryContainerPremises?.length}\n \n

    \n \n Total Usage: \n \n \n \n

    \n \n Total Cost: \n \n \n \n

    \n
    \n \n
    \n {summaryContainerPremises?.map(ComponentForPremise)}\n
    \n
    \n \n \n )\n}\n","import { useEffect, useMemo, useRef, useState } from \"react\"\n\nimport { throttle } from \"lodash-es\"\n\ninterface Rect {\n height: number\n width: number\n}\n\ninterface UseMeasureValue {\n height: number\n ref: React.RefObject\n width: number\n}\n\n/**\n * Hook that returns the width and height of the element\n * @param ref\n * @returns The updated width and height of the element\n * @example\n * const {ref, height, width} = useMeasure()\n */\nconst useMeasure = (): UseMeasureValue => {\n const [rect, setRect] = useState(null)\n const ref = useRef(null)\n\n useEffect(() => {\n if (!ref.current) {\n return\n }\n\n // Create the resize observer instance\n const observer = new ResizeObserver(\n throttle(([entry]) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (entry?.contentRect) {\n setRect({\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n width: entry.contentRect.width,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n height: entry.contentRect.height,\n })\n }\n }, 100)\n )\n\n // Start observing the target element\n observer.observe(ref.current)\n\n // Cleanup function that will be called on component unmount\n // eslint-disable-next-line consistent-return\n return () => {\n observer.disconnect()\n }\n }, [])\n\n return useMemo(\n () => ({\n ref,\n width: rect?.width ?? 0,\n height: rect?.height ?? 0,\n }),\n [rect]\n )\n}\n\nexport default useMeasure\n","import React from \"react\"\n\nimport type { IDecimalWithPlaceholderProps } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { If } from \"../../if/if\"\nimport { CurrencyWithPlaceholder } from \"../currencyWithPlaceholder/currencyWithPlaceholder\"\n\ntype ICurrencyWithPreciseFractionProps = Omit<\n IDecimalWithPlaceholderProps,\n \"format\" | \"placeholder\"\n>\n\n/**\n * A component that properly formats and internationalizes the provided currency\n *\n * @param props - The component properties\n * @param props.value - The currency\n * @param props.replaceZeroWithPlaceholder - Whether to consider 0 as an empty value\n * @param props.useAccountingFormatWhenNegative - Whether to wrap negative currencies in parenthesis or not\n * @example\n * return (\n * \n * )\n */\nexport const CurrencyWithPreciseFraction = ({\n value,\n replaceZeroWithPlaceholder,\n useAccountingFormatWhenNegative,\n}: ICurrencyWithPreciseFractionProps) => (\n <>\n \n \n \n = 1}>\n \n \n \n)\n","import React from \"react\"\n\nimport type { IDecimalWithPlaceholderProps } from \"../../decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { If } from \"../../if/if\"\nimport { CurrencyWithPreciseFraction } from \"../currencyWithPreciseFraction/currencyWithPreciseFraction\"\n\ninterface ICurrencyRange\n extends Omit {\n end: number | string | null | undefined\n start: number | string | null | undefined\n}\n\n/**\n * A component that properly formats and internationalizes the provided currency\n *\n * @param props - The component properties\n * @param props.start - The start currency\n * @param props.end - The end currency\n * @param props.replaceZeroWithPlaceholder - Whether to consider 0 as an empty value\n * @param props.useAccountingFormatWhenNegative - Whether to wrap negative currencies in parenthesis or not\n * @example\n * return (\n * \n * )\n */\nexport const CurrencyRange = ({\n start,\n end,\n replaceZeroWithPlaceholder,\n useAccountingFormatWhenNegative,\n}: ICurrencyRange) => (\n <>\n {\n // Typographically ranges should use an en dash\n // Do not change the en dash to a hyphen or add a space before/after the en dash\n }\n \n \n \n \n \n –\n \n \n \n)\n","import React from \"react\"\nimport ReactDOMServer from \"react-dom/server\"\n\nimport type { Weather } from \"@/models/weather\"\nimport { filter, includes, map, sortBy, sum } from \"lodash-es\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { IRange } from \"../models/range\"\nimport { UnitName } from \"../models/unit\"\nimport { kwhToMwh } from \"../utils\"\nimport { gray100, gray500 } from \"../utils/colors\"\nimport {\n CENTS_PER_DOLLAR,\n GRAPH_DETAIL_MODAL_ORIENTATION,\n METERED_LINE,\n TIME_RANGES,\n} from \"../utils/constants\"\nimport {\n transformKwhToWattUnit,\n transformPricePerWhIntoUnit,\n} from \"../utils/formatters\"\nimport { CurrencyRange } from \"./currency/currencyRange/currencyRange\"\nimport { CurrencyWithPlaceholder } from \"./currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { CurrencyWithPreciseFraction } from \"./currency/currencyWithPreciseFraction/currencyWithPreciseFraction\"\nimport { DateDisplay } from \"./date/dateDisplay/dateDisplay\"\nimport { DecimalWithPlaceholder } from \"./decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { EnergyUnitDecimal } from \"./decimal/energyUnitDecimal/energyUnitDecimal\"\nimport type { DateRangeWithType } from \"./graph/dateRangeWithType\"\nimport type Product from \"./graph/product\"\nimport { If } from \"./if/if\"\nimport { Unit } from \"./unit/unit\"\n\nconst getAverageCostPerKwh = ({\n totalCost,\n lineValue,\n isMetered,\n}: {\n isMetered: boolean\n lineValue: number\n totalCost: number | string\n}): number | null => {\n if (!isMetered) {\n return null\n }\n\n // Electricity price is always displayed in $/kWh - lineValue is in kWh unit\n return Number(totalCost) / Math.abs(lineValue)\n}\n\nexport const getFlyoutData = (\n products: Product[],\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour,\n timeRange: TIME_RANGES = TIME_RANGES.MONTH\n): {\n costSum: number | string\n imbalanceClass\n isMetered: null\n productCosts: {\n productCost: number\n productId: string\n productOrder: number\n }[]\n productPrices: {\n productId: string\n productOrder: number\n productPrice: IRange\n }[]\n productSummaries: {\n displayName: string\n productColor: string\n productCount: string\n productId: string\n productOrder: number\n strokeColor: string\n }[]\n volumeSumKwh: number\n} => {\n const productSummaries: {\n displayName: string\n productColor: string\n productCount: string\n productId: string\n productOrder: number\n strokeColor: string\n }[] = []\n const productPrices = []\n const productCosts = []\n const rawCosts = []\n const productVolumes = []\n const sortedProducts = sortBy(products, (product) => product.order)\n const filteredProducts = filter(\n sortedProducts,\n (product) =>\n (includes(product.id, \"confirm\") && product.kwh > 0) ||\n !includes(product.id, \"confirm\")\n )\n const ENERGY_UNIT_DECIMAL_PLACEHOLDER = \"--\"\n\n filteredProducts.forEach((product) => {\n const {\n id,\n price,\n priceRange,\n cost,\n kwh,\n imbalanceKwh,\n order: productOrder,\n displayName,\n dailyAvgKwh,\n } = product\n const curtailmentImbalance = id === \"curtailment\" && imbalanceKwh === 0\n const productColor = product.fillColor().rgb().string()\n const strokeColor = product.strokeColor().rgb().string()\n\n // Electricity price is always displayed in $/kWh\n let productPrice: IRange\n\n if (!curtailmentImbalance) {\n // \"price\" is currently in cents\n const unformattedPrice: number =\n transformPricePerWhIntoUnit(\n price,\n UnitName.MegawattHour,\n UnitName.KilowattHour\n ) / CENTS_PER_DOLLAR\n\n productPrice = { start: unformattedPrice, end: null }\n\n if (priceRange && priceRange.max !== priceRange.min) {\n const unformattedMinPrice: number =\n transformPricePerWhIntoUnit(\n priceRange.min,\n UnitName.MegawattHour,\n UnitName.KilowattHour\n ) / CENTS_PER_DOLLAR\n\n const unformattedMaxPrice: number =\n transformPricePerWhIntoUnit(\n priceRange.max,\n UnitName.MegawattHour,\n UnitName.KilowattHour\n ) / CENTS_PER_DOLLAR\n\n productPrice = { start: unformattedMinPrice, end: unformattedMaxPrice }\n }\n }\n\n let productCost: number\n\n if (!curtailmentImbalance) {\n // \"cost\" is currently in cents\n productCost = cost / CENTS_PER_DOLLAR\n }\n\n let productCount = ReactDOMServer.renderToString(\n EnergyUnitDecimal({\n value: transformKwhToWattUnit(kwh, wattUnit),\n placeholder: ENERGY_UNIT_DECIMAL_PLACEHOLDER,\n })\n )\n\n if (timeRange === TIME_RANGES.YEAR) {\n productCount = ReactDOMServer.renderToString(\n EnergyUnitDecimal({\n value: transformKwhToWattUnit(dailyAvgKwh, wattUnit),\n placeholder: ENERGY_UNIT_DECIMAL_PLACEHOLDER,\n })\n )\n }\n\n productSummaries.push({\n productColor,\n strokeColor,\n productOrder,\n productCount,\n productId: id,\n displayName,\n })\n productPrices.push({\n productId: id,\n productOrder,\n productPrice,\n })\n productCosts.push({\n productCost,\n productOrder,\n productId: id,\n })\n\n // \"cost\" is currently in cents\n rawCosts.push(cost / CENTS_PER_DOLLAR)\n productVolumes.push(kwh)\n })\n\n const productIdToNumber = (product: {\n productId: string\n productOrder: number\n }) => {\n if (\n includes(product.productId, \"Received\") ||\n includes(product.productId, \"Delivered\")\n ) {\n return product.productOrder * -1\n }\n if (includes(product.productId, \"confirm\")) {\n return product.productOrder * -1\n }\n if (product.productId === \"curtailment\") {\n return -10000\n }\n if (\n product.productId === \"shortImbalance\" ||\n product.productId === \"longImbalance\" ||\n product.productId === \"imbalance\"\n ) {\n return -10001\n }\n }\n const imbalanceSum = sum(\n map(products, (product) => product.imbalanceKwh || 0)\n )\n\n let imbalanceClass = \"no-imbalance\"\n if (imbalanceSum > 0) {\n imbalanceClass = \"short-imbalance\"\n } else if (imbalanceSum < 0) {\n imbalanceClass = \"long-imbalance\"\n }\n\n return {\n imbalanceClass,\n isMetered: null,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument\n productCosts: sortBy(productCosts, (o) => productIdToNumber(o)),\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument\n productPrices: sortBy(productPrices, (o) => productIdToNumber(o)),\n productSummaries: sortBy(productSummaries, (o) => productIdToNumber(o)),\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return\n costSum: rawCosts.reduce((rawCostSum, cost) => rawCostSum + cost, 0),\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n volumeSumKwh: productVolumes.reduce(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-return\n (volumeSum, volume) => volumeSum + Number.parseFloat(volume || 0),\n 0\n ),\n }\n}\n\nconst EnergySum = ({\n wattUnit,\n lineValue,\n isMetered,\n}: {\n isMetered: boolean\n lineValue: number\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const value: number = transformKwhToWattUnit(lineValue, wattUnit)\n\n return (\n \n \n \n \n \n \n \n \n {\" \"}\n \n \n \n )\n}\n\nexport const GraphFlyout = ({\n graphDatum,\n orientation,\n weather,\n x,\n y,\n wattUnit,\n headers,\n dateRangeWithType = {\n startDate: null,\n endDate: null,\n timeRange: TIME_RANGES.RANGE,\n },\n}: {\n dateRangeWithType?: DateRangeWithType\n graphDatum: {\n hour: Moment\n hoverLabel: string\n lineValue?: number\n products: Product[]\n }\n headers: JSX.Element[]\n orientation:\n | GRAPH_DETAIL_MODAL_ORIENTATION.RIGHT\n | GRAPH_DETAIL_MODAL_ORIENTATION.LEFT\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n weather?: Weather\n x: number\n y: number\n}) => {\n const divStyles =\n orientation === GRAPH_DETAIL_MODAL_ORIENTATION.RIGHT\n ? { top: y, left: x }\n : { top: y, right: x }\n const isMetered = Math.abs(kwhToMwh(graphDatum.lineValue)) > METERED_LINE\n const {\n productSummaries,\n productCosts,\n productPrices,\n costSum,\n volumeSumKwh,\n } = getFlyoutData(graphDatum.products, wattUnit, dateRangeWithType.timeRange)\n\n return (\n \n {weather ? (\n <>\n \n
    \n {\n // Monthly display\n }\n = 6 &&\n !graphDatum.hoverLabel.includes(\"HOUR\")\n }\n >\n \n \n {\n // Daily display\n }\n = 3 &&\n graphDatum.hoverLabel.length <= 5 &&\n !graphDatum.hoverLabel.includes(\"HOUR\")\n }\n >\n \n \n {\n // Hourly display\n }\n \n {graphDatum.hoverLabel}\n \n
    \n \n \n

    \n \n \n {\" \"}\n \n \n

    \n \n \n

    \n Humidity\n {weather.humidity}%\n

    \n \n \n ) : (\n \n

    {graphDatum.hoverLabel}

    \n
    \n )}\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n \n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n \n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n \n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n \n {productSummaries.map(\n ({\n productId,\n productColor,\n strokeColor,\n productCount,\n displayName,\n }) => (\n \n
    \n \n
    \n
    \n \n {displayName}\n

    \n
    \n
    \n \n {productCount}\n {dateRangeWithType.timeRange === TIME_RANGES.YEAR && (\n <>\n {\" \"}\n \n \n )}\n

    \n
    \n
    \n \n {dateRangeWithType.timeRange === TIME_RANGES.YEAR ? (\n // This is being displayed as a Monthly Summary graph\n <>\n {\" \"}\n \n \n ) : (\n // This is being displayed in a Energy Allocations graph\n productPrice.productId === productId\n )?.productPrice.end\n }\n start={\n productPrices.find(\n (productPrice) => productPrice.productId === productId\n )?.productPrice.start\n }\n />\n )}\n

    \n
    \n
    \n \n \n productCost.productId === productId\n )?.productCost\n }\n />\n \n

    \n
    \n
    \n )\n )}\n {dateRangeWithType.timeRange !== TIME_RANGES.YEAR && (\n \n {!isMetered ? (\n
    \n

    \n Meter Data Unavailable\n

    \n
    \n ) : (\n
    \n

    \n Total Metered\n

    \n
    \n )}\n
    \n

    \n \n

    \n
    \n
    \n

    \n \n

    \n
    \n
    \n

    \n \n

    \n
    \n
    \n )}\n \n )\n}\n","import React, { useState } from \"react\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { HStack } from \"@/nzds/layout\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport ToggleOffIcon from \"@mui/icons-material/ToggleOff\"\nimport ToggleOnIcon from \"@mui/icons-material/ToggleOn\"\nimport { Box, ToggleButton, ToggleButtonGroup, Typography } from \"@mui/material\"\n\nimport type { UnitName } from \"../models/unit\"\nimport { darkGray, gray500 } from \"../utils/colors\"\nimport { GRAPH_COST_OR_CARBON_INTENSITY } from \"../utils/constants\"\nimport { Unit } from \"./unit/unit\"\n\nconst AvgCostLineSample = ({\n \"aria-labelledby\": ariaLabelledBy,\n}: {\n \"aria-labelledby\": string\n}) => (\n \n \n \n \n \n \n)\n\nconst MeterLineSample = ({\n \"aria-labelledby\": ariaLabelledBy,\n}: {\n \"aria-labelledby\": string\n}) => (\n \n \n \n)\n\n/**\n * @deprecated\n */\nexport const GraphLegend = ({\n showMeterData,\n showCostOrCarbonIntensityLine,\n toggleShowMeterData,\n toggleShowCostOrCarbonIntensityLine,\n graphIsLoading,\n wattUnit,\n}: {\n graphIsLoading: boolean\n showCostOrCarbonIntensityLine: GRAPH_COST_OR_CARBON_INTENSITY\n showMeterData: boolean\n toggleShowCostOrCarbonIntensityLine: (GRAPH_COST_OR_CARBON_INTENSITY) => void\n toggleShowMeterData: () => void\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const [costCarbonSelected, setCostCarbonSelected] =\n useState(showCostOrCarbonIntensityLine)\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isEpgCostCarbonLineEnabled = isFeatureEnabled(\n FeatureFlags.EPG_COST_CARBON_LINE,\n organization\n )\n\n const handleCostCarbonSelected = (\n event: React.MouseEvent,\n value: GRAPH_COST_OR_CARBON_INTENSITY | null\n ) => {\n if (value === null) {\n setCostCarbonSelected(GRAPH_COST_OR_CARBON_INTENSITY.NONE)\n toggleShowCostOrCarbonIntensityLine(GRAPH_COST_OR_CARBON_INTENSITY.NONE)\n } else {\n setCostCarbonSelected(value)\n toggleShowCostOrCarbonIntensityLine(value)\n }\n }\n\n const handleLegacyCostSwitchToggled = () => {\n // Switch between cost and None for costCarbonSelected\n if (costCarbonSelected === GRAPH_COST_OR_CARBON_INTENSITY.COST) {\n setCostCarbonSelected(GRAPH_COST_OR_CARBON_INTENSITY.NONE)\n toggleShowCostOrCarbonIntensityLine(GRAPH_COST_OR_CARBON_INTENSITY.NONE)\n } else {\n setCostCarbonSelected(GRAPH_COST_OR_CARBON_INTENSITY.COST)\n toggleShowCostOrCarbonIntensityLine(GRAPH_COST_OR_CARBON_INTENSITY.COST)\n }\n }\n\n const LegacyCostToggle = () => (\n \n \n \n Cost / \n \n {\n handleLegacyCostSwitchToggled()\n }}\n sx={{\n display: \"flex\",\n color:\n costCarbonSelected === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? darkGray.toString()\n : gray500.toString(),\n \"& .MuiSvgIcon-root\": {\n fontSize: \"2em\",\n },\n }}\n >\n {costCarbonSelected === GRAPH_COST_OR_CARBON_INTENSITY.COST ? (\n \n ) : (\n \n )}\n \n \n )\n\n const CostCarbonToggle = () => (\n
    \n \n\n \n {/* TODO: Work with design and handle toggle button styling in theme, remove inline styling */}\n ({\n border: `1px solid ${theme.palette.grey[200]}`,\n \"&.Mui-selected\": {\n backgroundColor: theme.palette.grey[100],\n // Overwrite transparent left border\n border: `1px solid ${theme.palette.grey[500]} !important`,\n },\n })}\n value={GRAPH_COST_OR_CARBON_INTENSITY.COST}\n >\n \n Cost / \n \n \n ({\n border: `1px solid ${theme.palette.grey[200]}`,\n \"&.Mui-selected\": {\n backgroundColor: theme.palette.grey[100],\n // Overwrite transparent left border\n border: `1px solid ${theme.palette.grey[500]} !important`,\n },\n })}\n value={GRAPH_COST_OR_CARBON_INTENSITY.CARBON_INTENSITY}\n >\n Carbon Intensity\n \n ({\n border: `1px solid ${theme.palette.grey[200]}`,\n \"&.Mui-selected\": {\n backgroundColor: theme.palette.grey[100],\n // Overwrite transparent left border\n border: `1px solid ${theme.palette.grey[500]} !important`,\n },\n })}\n value={GRAPH_COST_OR_CARBON_INTENSITY.NONE}\n >\n None\n \n \n
    \n )\n\n if (graphIsLoading) {\n return
    \n }\n\n const MeterToggle = () => (\n \n \n \n Meter\n \n {\n toggleShowMeterData()\n }}\n sx={{\n color: showMeterData ? darkGray.toString() : gray500.toString(),\n display: \"flex\",\n \"& .MuiSvgIcon-root\": {\n fontSize: \"2em\",\n },\n }}\n >\n {showMeterData ? : }\n \n \n )\n\n return (\n <>\n {isEpgCostCarbonLineEnabled ? (\n \n \n \n \n ) : (\n \n \n \n \n )}\n \n )\n}\n","import React from \"react\"\n\nimport { useTheme } from \"@mui/material\"\n\nconst X_OFFSET = 10\nconst Y_OFFSET = 30\n\nexport interface Config {\n content: string\n left: number\n top: number\n}\n\nexport const emptyConfig = {\n content: \"\",\n left: 0,\n top: 0,\n}\n\nexport const Tooltip = ({ content, left, top }: Config) => {\n const theme = useTheme()\n return (\n \n {content}\n
    \n )\n}\n","import { axisBottom, scaleBand, select } from \"d3\"\nimport { concat, identity, map, property, times } from \"lodash-es\"\nimport type moment from \"moment\"\n\nimport { transparent } from \"../../utils/colors\"\nimport { TIME_RANGES } from \"../../utils/constants\"\nimport { calculateFillTarget } from \"../../utils/graph\"\n\nexport const constructXAxis = ({\n graphData,\n groupSize,\n minWidth,\n maxWidth,\n}) => {\n const xDomain = concat(\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n graphData.map((datum) => datum.hour.unix()),\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n times(calculateFillTarget(groupSize) - graphData.length, (ident) =>\n identity(ident)\n )\n )\n\n return { x: scaleBand().range([minWidth, maxWidth]).domain(xDomain) }\n}\n\nexport const renderXAxis = ({\n height,\n graphKey,\n minWidth,\n maxWidth,\n groupSize,\n timeRange,\n graphData,\n}) => {\n /*\n * A note on tick values:\n * d3 scaling functions don't like redundant domain values as they are\n * used as dictionary keys internally.\n * Duplicate hours happen after DST ends, so we must support redundant hours.\n * To deal with this, we manually implement tick labels.\n */\n\n const { x } = constructXAxis({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n graphData,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n minWidth,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxWidth,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n groupSize,\n })\n\n const xAxis = axisBottom(x).tickSize(0) // zero padding\n const barLabels = map(graphData, property(\"barLabel\"))\n const barColors = (timestamp: number) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const bar = graphData.find(\n (datum: { hour: moment.Moment }) => datum.hour.unix() === timestamp\n )\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return bar?.barLabelColor ? bar.barLabelColor : transparent\n }\n\n const svg = select(\".dashboard-data__graph\")\n svg.selectAll(`g.xAxis${graphKey}`).remove()\n\n svg\n .append(\"g\")\n .attr(\"transform\", `translate(0, ${height})`)\n .attr(\"class\", `xAxis${graphKey}`)\n .call(xAxis)\n .call((g) =>\n g\n .selectAll(\".tick text\")\n .each((_textContent, i, $elements) => {\n const textElement = $elements[i] as SVGTextElement\n\n textElement.textContent = barLabels[i] as string\n\n return textElement\n })\n .attr(\"dy\", timeRange === TIME_RANGES.DAY ? \"9\" : \"15\")\n .attr(\"dx\", timeRange === TIME_RANGES.DAY ? \"-10\" : \"-15\")\n .attr(\"class\", (timestamp: string) => `he-${timestamp}`)\n .attr(\"fill\", barColors)\n .style(\"font-size\", \"12px\")\n .style(\"font-weight\", \"500\")\n .style(\n \"transform\",\n timeRange === TIME_RANGES.DAY ? \"rotate(-45deg)\" : \"rotate(-45deg)\"\n )\n )\n\n return { x }\n}\n","import React from \"react\"\n\nimport { stack, stackOffsetNone, stackOrderNone, transpose } from \"d3\"\nimport { map } from \"lodash-es\"\nimport moment from \"moment\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { offWhite } from \"../../utils/colors\"\nimport type { EnergyChartBarData } from \"./barGraphComponent\"\nimport Product from \"./product\"\nimport { constructXAxis } from \"./xAxis\"\n\nconst backgroundShading = (showMeterData, palette) => (d) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (d.lineValue > 0) {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return palette.common.white\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (d.lineValue === null) {\n return \"url(#missingData)\"\n }\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (showMeterData && d.hour.isBefore(moment().startOf(\"day\"))) {\n return \"url(#missingData)\"\n }\n return offWhite.toString()\n}\n\nexport const BarGraphBackground = ({\n graphDataGroup,\n outerPadding,\n middlePadding,\n graphWidth,\n groupSize,\n height,\n idx,\n showMeterData,\n isMonthlySummary = false,\n}) => {\n const theme = useTheme()\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n const [xAxis, setXAxis] = React.useState(null)\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const graphData = graphDataGroup\n const secondGraph = idx === 1\n let startWidth = graphWidth * idx\n if (secondGraph) {\n startWidth += middlePadding\n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const minWidth = startWidth + outerPadding\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const maxWidth = startWidth + outerPadding + graphWidth\n\n React.useEffect(() => {\n const constructedXAxis = constructXAxis({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n minWidth,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxWidth,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n groupSize,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n graphData,\n })\n\n setXAxis(constructedXAxis)\n }, [graphData])\n\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n const products: Product[][] = map(graphData, (datum) => datum.products)\n const stackNames = Product.sortedIds(products)\n const dataset = transpose(\n stack().keys(stackNames).order(stackOrderNone).offset(stackOffsetNone)(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n graphData\n )\n )\n\n if (!xAxis) {\n return \n }\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { x } = xAxis\n\n return (\n <>\n {dataset.map((productData: EnergyChartBarData[]) => (\n \n \n {productData.map((d, i) => (\n \n ))}\n \n \n ))}\n \n )\n}\n","import React from \"react\"\n\nimport type { ScaleLinear } from \"d3\"\nimport { line, scaleLinear } from \"d3\"\n\nimport { darkGray } from \"../../utils/colors\"\nimport type { GraphData } from \"./graphData\"\n\nexport const AvgCarbonIntensityLine = ({\n graphData,\n minWidth,\n tickWidth,\n secondaryYLineScale,\n}: {\n graphData: GraphData[]\n minWidth: number\n secondaryYLineScale: ScaleLinear\n tickWidth: number\n}) => {\n const pointCount = graphData.reduce(\n (count, point) => (point.lineValue > 0 ? count + 1 : count),\n 0\n )\n\n const offset = tickWidth / 2\n const graphWidth = tickWidth * pointCount\n\n const xLineScale = scaleLinear()\n .domain([0, pointCount])\n .range([minWidth + offset, graphWidth + minWidth + offset])\n\n const lin = line()\n .defined((d) => d[1] > 0)\n .x((_, i) => xLineScale(i))\n .y((d) => secondaryYLineScale(d[1]))\n\n return (\n [datum.hour.unix(), datum.carbonIntensity])\n )}\n fill=\"none\"\n stroke={darkGray.toString()}\n strokeWidth=\"1.5\"\n />\n )\n}\n","import React from \"react\"\n\nimport type { ScaleLinear } from \"d3\"\nimport { line, scaleLinear } from \"d3\"\n\nimport { darkGray } from \"../../utils/colors\"\nimport type { GraphData } from \"./graphData\"\n\nexport const AvgCostLine = ({\n graphData,\n minWidth,\n tickWidth,\n secondaryYLineScale,\n}: {\n graphData: GraphData[]\n minWidth: number\n secondaryYLineScale: ScaleLinear\n tickWidth: number\n}) => {\n const pointCount = graphData.reduce(\n (count, point) => (point.lineValue > 0 ? count + 1 : count),\n 0\n )\n\n const offset = tickWidth / 2\n const graphWidth = tickWidth * pointCount\n\n const xLineScale = scaleLinear()\n .domain([0, pointCount])\n .range([minWidth + offset, graphWidth + minWidth + offset])\n\n const lin = line()\n .defined((d) => d[1] > 0)\n .x((_, i) => xLineScale(i))\n .y((d) => secondaryYLineScale(d[1]))\n\n return (\n [datum.hour.unix(), datum.avgCost]))}\n fill=\"none\"\n stroke={darkGray.toString()}\n strokeWidth=\"1.5\"\n />\n )\n}\n","import React from \"react\"\n\nimport { useTheme } from \"@mui/material\"\n\nexport const CurtailmentIcon = ({\n xPadding,\n margin,\n x,\n barXPos,\n barYPos,\n yPadding,\n}) => {\n const theme = useTheme()\n const [showTooltip, setShowTooltip] = React.useState(false)\n\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const barWidth = x.bandwidth() - (xPadding + margin)\n const xOffset = xPadding / 2 + margin / 2 + barWidth / 2\n const xPos = barXPos + xOffset - 2\n const yPos = barYPos + yPadding - 10\n\n return (\n <>\n \n {\n setShowTooltip(true)\n }}\n onMouseOut={() => {\n setShowTooltip(false)\n }}\n r=\"9\"\n />\n \n \n !\n \n \n \n {showTooltip && (\n \n \n \n Unresolved curtailment\n \n \n )}\n \n )\n}\n","import React from \"react\"\n\nimport { last } from \"lodash-es\"\nimport type { Moment } from \"moment\"\n\nimport type { IDateFormat } from \"../../models/date/date\"\nimport { darkGray } from \"../../utils/colors\"\nimport { TIME_RANGES } from \"../../utils/constants\"\nimport { getDateFormatFromTimeRange } from \"../../utils/date\"\nimport { DateDisplay } from \"../date/dateDisplay/dateDisplay\"\nimport { DateRangeDisplay } from \"../date/dateRangeDisplay/dateRangeDisplay\"\nimport { If } from \"../if/if\"\nimport type { GraphData } from \"./graphData\"\n\nexport const GroupLabel = ({\n graphData,\n minWidth,\n timeRange,\n}: {\n graphData: GraphData[]\n minWidth: number\n timeRange: TIME_RANGES\n}) => {\n const startDate: Moment = graphData[0].hour\n const endDate: Moment = last(graphData).hour\n const dateFormat: IDateFormat = getDateFormatFromTimeRange(timeRange)\n\n // Draw label text\n return (\n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\n\nimport { line, scaleLinear } from \"d3\"\n\nimport { darkGray } from \"../../utils/colors\"\nimport type { GraphData } from \"./graphData\"\n\nexport const MeterLine = ({\n graphData,\n height,\n minWidth,\n tickWidth,\n maxDomainValue,\n}: {\n graphData: GraphData[]\n height: number\n maxDomainValue: number\n minWidth: number\n tickWidth: number\n}) => {\n const pointCount = graphData.reduce(\n (count, point) => (point.meteredKwh > 0 ? count + 1 : count),\n 0\n )\n\n const padding = 2\n const offset = tickWidth / 2\n const graphWidth = tickWidth * pointCount\n\n const xLineScale = scaleLinear()\n .domain([0, pointCount])\n .range([\n minWidth + offset - padding,\n graphWidth + minWidth + offset - padding,\n ])\n\n const yLineScale = scaleLinear()\n .domain([0, maxDomainValue])\n .nice()\n .range([height, 0])\n\n const lin = line()\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n .defined((d, i) => d[1] > 0)\n .x((d, i) => xLineScale(i))\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n .y((d, i) => yLineScale(d[1]))\n\n return (\n [data.hour.unix(), data.meteredKwh]))}\n fill=\"none\"\n stroke={darkGray.toString()}\n strokeDasharray=\"3,3\"\n strokeWidth=\"2.5\"\n />\n )\n}\n","import React from \"react\"\n\nimport Color from \"color\"\nimport type { ScaleBand, SeriesPoint } from \"d3\"\nimport {\n selectAll,\n stack,\n stackOffsetNone,\n stackOrderNone,\n transpose,\n} from \"d3\"\nimport { clamp, filter, isEqual, last, sortBy } from \"lodash-es\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { colorDarken } from \"../../utils/colors\"\nimport {\n CENTS_PER_DOLLAR,\n GRAPH_COST_OR_CARBON_INTENSITY,\n GRAPH_DETAIL_MODAL_ORIENTATION,\n KWH_PER_MWH,\n TIME_RANGES,\n} from \"../../utils/constants\"\nimport { AvgCarbonIntensityLine } from \"./avgCarbonIntensityLine\"\nimport { AvgCostLine } from \"./avgCostLine\"\nimport { CurtailmentIcon } from \"./curtailmentIcon\"\nimport type { GraphData } from \"./graphData\"\nimport { GroupLabel } from \"./groupLabel\"\nimport { MeterLine } from \"./meterLine\"\nimport Product, { ProductType } from \"./product\"\nimport { renderXAxis } from \"./xAxis\"\n\nexport type EnergyChartBarData = IEnergyChartBarData &\n SeriesPoint>\n\ninterface IEnergyChartBarData {\n 0: number\n 1: number\n data: ProductData\n offset?: number\n offsetY?: number\n product?: Product\n}\n\nexport interface ProductData {\n [key: string]: number | moment.Moment | Product[] | Product\n hour: moment.Moment\n offset?: number\n product?: Product\n products: Product[]\n}\n\nconst getMarginX = (timeRange: TIME_RANGES, baseWidth: number): number => {\n switch (timeRange) {\n case TIME_RANGES.DAY:\n return 0\n case TIME_RANGES.YEAR:\n return baseWidth / (30 * 12)\n default:\n return baseWidth / (30 * 12)\n }\n}\n\nconst generateBarValues = (maxDomainValue, graphData) => {\n const barValues = []\n\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n graphData.forEach(\n ({\n hour,\n products,\n lineValue,\n }: {\n hour: moment.Moment\n lineValue: number\n products: Product[]\n }) => {\n const barValuesForHour = { hour, products, lineValue }\n const curtailedProduct = products.find(\n (product) => product.id === \"curtailment\"\n ) || {\n kwh: 0,\n }\n const minYThreshold = maxDomainValue * 0.05\n const lastProduct: Product = last(products)\n const curtailedOffset = Math.max(minYThreshold - curtailedProduct.kwh, 0)\n products.forEach((product) => {\n if (product.kwh === 0) {\n barValuesForHour[product.id] = 0\n } else if (product.id === \"curtailment\") {\n barValuesForHour[product.id] = Math.max(product.kwh, minYThreshold)\n } else if (\n \"confirmId\" in curtailedProduct &&\n curtailedProduct.confirmId &&\n product.confirmId === curtailedProduct.confirmId\n ) {\n barValuesForHour[product.id] = Math.abs(product.kwh - curtailedOffset)\n } else if (curtailedProduct.kwh > 0 && lastProduct.id === product.id) {\n barValuesForHour[product.id] = Math.abs(product.kwh - curtailedOffset)\n } else {\n barValuesForHour[product.id] = Math.abs(product.kwh)\n }\n })\n\n barValues.push(barValuesForHour)\n }\n )\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return barValues\n}\n\nconst MODAL_FLIP_HEDGE = 650\n\nexport const BarGraph = ({\n baseWidth,\n graphDataGroup,\n outerPadding,\n middlePadding,\n graphWidth,\n groupSize,\n height,\n maxVolumeDomain,\n onHover,\n onClick,\n timeRange,\n primaryYLineScale,\n secondaryYLineScale,\n idx,\n showMeterData,\n showCostOrCarbonIntensity,\n isFlyoutActive,\n}: {\n baseWidth\n graphDataGroup: GraphData[]\n graphWidth\n groupSize\n height\n idx\n isFlyoutActive\n maxVolumeDomain\n middlePadding\n onClick\n onHover\n outerPadding\n primaryYLineScale\n secondaryYLineScale\n showCostOrCarbonIntensity: GRAPH_COST_OR_CARBON_INTENSITY\n showMeterData\n timeRange: TIME_RANGES\n}) => {\n const theme = useTheme()\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n const [xAxis, setXAxis] = React.useState(null)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const [hoverTimestamp, setHoverTimestamp] = React.useState(null)\n const graphKey = `day-${graphDataGroup[0].hour.unix().toString()}`\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const marginX: number = getMarginX(timeRange, baseWidth)\n const graphData: GraphData[] = graphDataGroup\n const products: Product[][] = graphData.map((datum) => datum.products)\n const stackNames = Product.sortedIds(products)\n const paddingX = 5\n const paddingY = 1\n const strokeWidth = 2\n\n const handleHover = (\n elem,\n d: EnergyChartBarData,\n x: ScaleBand\n ): void => {\n const graphBoundingRect = document\n .querySelector(\"svg.dashboard-data__graph\")\n .getBoundingClientRect()\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const productBoundingRect = elem.parentElement.getBoundingClientRect()\n const timestamp = d.data.hour.unix()\n\n // Right align by default\n let orientation = GRAPH_DETAIL_MODAL_ORIENTATION.RIGHT\n\n const yPos = 220\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n let xPos = productBoundingRect.left - graphBoundingRect.left + x.bandwidth()\n\n const shouldFlipModal =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n productBoundingRect.left + x.bandwidth() + MODAL_FLIP_HEDGE >=\n window.innerWidth\n if (shouldFlipModal) {\n orientation = GRAPH_DETAIL_MODAL_ORIENTATION.LEFT\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n xPos = graphBoundingRect.right - productBoundingRect.right + x.bandwidth()\n }\n\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n onHover({ orientation, xPos, yPos, timestamp })\n setHoverTimestamp(timestamp)\n }\n\n const handleHoverOut = (): void => {\n setHoverTimestamp(null)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n onHover({ orientation: null, xPos: null, yPos: null, timestamp: null })\n }\n\n const handleClick = (productIndex: number): void => {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n onClick(graphData[productIndex])\n }\n\n const transposedDataset = transpose(\n stack().keys(stackNames).order(stackOrderNone).offset(stackOffsetNone)(\n generateBarValues(maxVolumeDomain, graphData)\n )\n )\n\n const receivedAndDeliveredHour = (d: EnergyChartBarData): boolean =>\n Object.keys(d.data)\n .filter((dataKey) => ![\"hour\", \"products\", \"lineValue\"].includes(dataKey)) // Keys just for products\n .filter((dataKey) => d.data[dataKey] !== 0).length > 1 // Rejecting any without values\n\n const shouldOverlapPreviousBar = (d: EnergyChartBarData): boolean =>\n d.product.productType === ProductType.ReceivedBundled &&\n receivedAndDeliveredHour(d)\n\n const avgCost = (productData): number => {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const kwh = productData[0].data.lineValue\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const costCents = productData.reduce(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (sum, datum) => sum + datum.product.cost,\n 0\n )\n return costCents / CENTS_PER_DOLLAR / (kwh / KWH_PER_MWH)\n }\n\n const avgCarbonIntensity = (productData): number => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unused-vars\n const kwh = productData[0].data.lineValue\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const totalCarbon = productData.reduce(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (sum, datum) => sum + datum.product.co2eLbs,\n 0\n )\n\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const totalKwh = productData.reduce(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (sum, datum) => sum + datum.product.kwh,\n 0\n )\n\n return totalCarbon / totalKwh\n }\n\n const isProductTypeReceivedBundledOrLongImbalance = (\n type: ProductType\n ): boolean =>\n type === ProductType.ReceivedBundled || type === ProductType.LongImbalance\n\n // Bar group\n const isBarActive = (\n d: EnergyChartBarData,\n activeUnixTimestamp: number,\n hasActiveBar: boolean\n ): boolean => hasActiveBar && d.data.hour.unix() !== activeUnixTimestamp\n\n // Background bar\n const getBackgroundBarX = (\n barX: number,\n padding: number,\n margin: number\n ): number => barX - padding / 2 - margin / 2\n\n // Bar\n const getBarFill = (\n d: EnergyChartBarData,\n activeUnixTimestamp: number,\n hasActiveBar: boolean\n ): string => {\n if (isBarActive(d, activeUnixTimestamp, hasActiveBar)) {\n return colorDarken(d.product.strokeColor()).toString()\n }\n\n return d.product.strokeColor().toString()\n }\n\n const getBarHeight = (d: EnergyChartBarData, scaler, chartHeight): number => {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const y0: number = scaler(d[0])\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const y1: number = d[1] > 0 ? scaler(d[1]) : 0\n\n const barHeight: number = Math.abs(y0 - y1)\n const minHeight = 0\n\n // Ensure the bar is not larger than the chart\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const clampedBarHeight: number = clamp(barHeight, minHeight, chartHeight)\n\n return clampedBarHeight\n }\n\n const getBarOffsetY = (\n currentProduct: Product,\n previousProduct: Product | undefined\n ): number => {\n const defaultOffset = 0\n const sameProductOffset = 1\n const currentProductIsSameAsPreviousProduct: boolean =\n currentProduct.displayName === previousProduct?.displayName\n\n if (!previousProduct) {\n return defaultOffset\n }\n\n if (currentProductIsSameAsPreviousProduct) {\n return sameProductOffset\n }\n\n return defaultOffset\n }\n\n const getBarOpacity = (\n d: EnergyChartBarData,\n activeUnixTimestamp: number,\n hasActiveBar: boolean\n ): number => (isBarActive(d, activeUnixTimestamp, hasActiveBar) ? 0.6 : 1)\n\n const getBarWidth = (\n initialWidth: number,\n padding: number,\n margin: number\n ): number => initialWidth - (padding + margin)\n\n const getBarX = (initialX: number, padding: number, margin: number): number =>\n initialX + padding / 2 + margin / 2\n\n const getBarY = (d: EnergyChartBarData, scaler): number => {\n const y: number = shouldOverlapPreviousBar(d) ? d[0] : d[1]\n\n // Subtract 0.5 to align bars with x-axis line\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return scaler(y) - d.offsetY - 0.5\n }\n\n // Inner bar\n const getInnerBarFill = (\n d: EnergyChartBarData,\n activeUnixTimestamp: number,\n hasActiveBar: boolean\n ): string => {\n const color: Color = isProductTypeReceivedBundledOrLongImbalance(\n d.product.productType\n )\n ? Color(\"rgba(255, 255, 255, 1)\")\n : d.product.fillColor()\n\n if (isBarActive(d, activeUnixTimestamp, hasActiveBar)) {\n return colorDarken(color).toString()\n }\n\n return color.toString()\n }\n\n const getInnerBarHeight = (\n barHeight: number,\n barStrokeWidth: number\n ): number => {\n const totalStrokeWidth = barStrokeWidth * 2\n\n return Math.max(barHeight - totalStrokeWidth, 0)\n }\n\n const getInnerBarWidth = (\n initialWidth: number,\n padding: number,\n margin: number,\n barStrokeWidth: number\n ): number => {\n const totalStrokeWidth = barStrokeWidth * 2\n\n return getBarWidth(initialWidth, padding, margin) - totalStrokeWidth\n }\n\n const getInnerBarX = (barX: number, barStrokeWidth: number): number =>\n barX + barStrokeWidth\n\n const getInnerBarY = (\n barY: number,\n barHeight: number,\n barStrokeWidth: number\n ): number => {\n const totalStrokeWidth = barStrokeWidth * 2\n\n return barHeight >= totalStrokeWidth ? barY + barStrokeWidth : barY\n }\n\n // Clean up and add data for final rendering\n const dataset: EnergyChartBarData[][] = transposedDataset.map(\n (transposedProductData) => {\n // The total offset of a bar from it's original position\n // Includes offsets of previous bars in the stack\n let offsetYTotal = 0\n\n return (\n transposedProductData\n // Remove bars with invalid positions\n .filter(\n (datum: EnergyChartBarData) =>\n !Number.isNaN(datum[0]) && !Number.isNaN(datum[1])\n )\n // Add product\n // Done in a separate immutable operation so data can be used downstream\n .map((datum: EnergyChartBarData, i: number): EnergyChartBarData => {\n const currentProduct: Product = Product.sort(datum.data.products)[i]\n\n return {\n ...datum,\n product: currentProduct,\n }\n })\n // Add offsetY\n .map(\n (\n datum: EnergyChartBarData,\n i: number,\n datumCollection: EnergyChartBarData[]\n ): EnergyChartBarData => {\n const previousProduct: Product | undefined =\n datumCollection[i - 1]?.product\n const offsetYFromPrevious: number = getBarOffsetY(\n datum.product,\n previousProduct\n )\n\n offsetYTotal += offsetYFromPrevious\n\n return {\n ...datum,\n offset: offsetYFromPrevious,\n offsetY: offsetYTotal,\n }\n }\n )\n )\n }\n )\n\n const secondGraph: boolean = idx === 1\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n let groupOffset: number = graphWidth * idx + outerPadding\n if (secondGraph) {\n groupOffset += middlePadding\n }\n\n React.useEffect(() => {\n let startWidth: number = graphWidth * idx\n if (secondGraph) {\n startWidth += middlePadding\n }\n\n const renderedXAxis = renderXAxis({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n height,\n graphKey,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n minWidth: startWidth + outerPadding,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxWidth: startWidth + outerPadding + graphWidth,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n groupSize,\n timeRange,\n graphData,\n })\n\n setXAxis(renderedXAxis)\n\n return () => {\n selectAll(`g.xAxis${graphKey}`).remove()\n }\n }, [graphDataGroup, graphWidth, baseWidth])\n\n return !primaryYLineScale || !xAxis ? (\n \n ) : (\n \n {dataset.length > 0 &&\n dataset.map(\n (productData, productIdx) =>\n productData.length > 0 && (\n {\n handleClick(productIdx)\n }}\n onMouseLeave={() => {\n handleHoverOut()\n }}\n onMouseOver={(e: React.MouseEvent) => {\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n handleHover(e.target, productData[0], xAxis.x)\n }}\n >\n {sortBy(\n filter(\n productData,\n (data) =>\n // Filter out bars with value/height of 0\n !isEqual(data[0], data[1])\n ),\n (data) => data.product.order\n ).map((d, i) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const barFullWidth: number = xAxis.x.bandwidth()\n const barHeight: number = getBarHeight(\n d,\n primaryYLineScale,\n height\n )\n const barX: number = getBarX(\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n xAxis.x(d.data.hour.unix()),\n paddingX,\n marginX\n )\n const barY: number = getBarY(d, primaryYLineScale)\n\n return (\n \n {\n // Don't render unnecessary \"background bar\" and \"bar\" for bars that overlap the previous product\n // They get their background bar and colored bar from the previous product\n d.product.productType !==\n ProductType.ReceivedBundled && (\n <>\n \n \n \n )\n }\n {\n // Only render \"inner bar\" for bars with outlines when the bar is tall enough\n isProductTypeReceivedBundledOrLongImbalance(\n d.product.productType\n ) &&\n barHeight >= strokeWidth && (\n \n )\n }\n \n )\n })}\n\n {showCostOrCarbonIntensity ===\n GRAPH_COST_OR_CARBON_INTENSITY.COST && (\n \n )}\n\n {showCostOrCarbonIntensity ===\n GRAPH_COST_OR_CARBON_INTENSITY.CARBON_INTENSITY && (\n \n )}\n \n )\n )}\n\n {\n // Must render out curtailment icons after bars so the curtailment tooltip displays on top of subsequent bars\n dataset.length > 0 &&\n dataset.map(\n (productData) =>\n productData.length > 0 &&\n productData[0].data.products.some((p) => p.curtailment()) && (\n productDatum[1])\n )[1]\n )}\n margin={marginX}\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n x={xAxis.x}\n xPadding={paddingX}\n yPadding={paddingY}\n />\n )\n )\n }\n\n {showMeterData && (\n \n )}\n\n {showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.COST && (\n \n )}\n\n {showCostOrCarbonIntensity ===\n GRAPH_COST_OR_CARBON_INTENSITY.CARBON_INTENSITY && (\n \n )}\n\n \n \n )\n}\n","/* eslint-disable @typescript-eslint/no-invalid-this */\n\n/* eslint-disable @typescript-eslint/no-unsafe-assignment */\nimport { axisLeft, scaleLinear, select } from \"d3\"\nimport type { i18n } from \"i18next\"\n\nimport { UnitName } from \"../../models/unit\"\nimport type { IUserSettingsData } from \"../../modules/settings\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { darkGray, gray500 } from \"../../utils/colors\"\nimport type { TIME_RANGES } from \"../../utils/constants\"\nimport { EnergyUnit, KWH_PER_MWH, yAxisText } from \"../../utils/constants\"\nimport { translateUnit } from \"../../utils/unit\"\n\nconst constructWattageUnitFormatter = ({\n height,\n maxDomainValue,\n wattUnit,\n i18nService,\n userSettings,\n}) => {\n const y = scaleLinear().range([height, 0]).domain([0, maxDomainValue]).nice() // nice ;)\n\n const formatter = (axisValue: number): string => {\n const mwh =\n wattUnit === UnitName.MegawattHour ? axisValue / KWH_PER_MWH : axisValue\n const sigDigits = mwh < 5 ? 3 : 0\n const formattedData = mwh.toLocaleString(undefined, {\n minimumFractionDigits: sigDigits,\n maximumFractionDigits: sigDigits,\n })\n return `${formattedData} ${translateUnit(\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n i18nService.language,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n wattUnit,\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n userSettings.currency\n )}`\n }\n\n return {\n formatter,\n y,\n }\n}\n\nexport const customTickValues = (maxDomainValue: number) => {\n const maxTicks = 6\n\n const tickValues = [0]\n for (let i = 1; i < maxTicks; i += 1) {\n tickValues.push(maxDomainValue * (i / maxTicks))\n }\n tickValues.push(maxDomainValue)\n\n return tickValues\n}\n\nconst constructYAxis = ({\n axisUnit,\n height,\n maxDomainValue,\n wattUnit,\n width,\n i18nService,\n userSettings,\n}) => {\n // Defaults to displaying Watts\n let { formatter, y } = constructWattageUnitFormatter({\n height,\n maxDomainValue,\n wattUnit,\n i18nService,\n userSettings,\n })\n\n if (axisUnit === EnergyUnit.TOKEN) {\n formatter = (d) => `${d / 1000} Tokens`\n y = scaleLinear().range([height, 0]).domain([0, maxDomainValue]).nice()\n }\n\n const yAxis = axisLeft(y)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .tickValues(customTickValues(maxDomainValue))\n .tickSize(-width)\n .tickFormat(formatter)\n\n return {\n y,\n yAxis,\n }\n}\n\nexport const renderYAxis = ({\n axisUnit,\n height,\n maxDomainValue,\n timeRange,\n wattUnit,\n width,\n outerPadding,\n i18nService,\n userSettings,\n}: {\n axisUnit\n height\n i18nService: i18n\n maxDomainValue\n outerPadding\n timeRange: TIME_RANGES\n userSettings: IUserSettingsData\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n width\n}) => {\n const { y, yAxis } = constructYAxis({\n axisUnit,\n height,\n maxDomainValue,\n wattUnit,\n width,\n i18nService,\n userSettings,\n })\n\n const svg = select(\"g.y-axis-container\")\n\n svg.selectAll(\"g.yaxis\").remove()\n\n svg\n .append(\"g\")\n .attr(\"class\", \"yaxis\")\n .attr(\"stroke\", gray500.toString())\n .attr(\"stroke-width\", 0.5)\n .attr(\"stroke-opacity\", 0.5)\n .call(yAxis)\n .call((g) => g.select(\".domain\").remove())\n .call((g) =>\n g\n .selectAll(\".tick:first-of-type line\")\n .attr(\"stroke-width\", 2)\n .attr(\"stroke-opacity\", 1)\n )\n .call((g) => g.selectAll(\".tick:last-of-type text\").remove())\n .call((g) => g.selectAll(\".tick:last-of-type line\").remove())\n .call((g) =>\n g\n .selectAll(\".tick:nth-of-type(n+1):not(:first-child) line\")\n .attr(\"x2\", width - outerPadding)\n )\n .call((g) =>\n g\n .selectAll(\".tick text\")\n .style(\"font-size\", \"12px\")\n .style(\"color\", gray500.toString())\n .style(\"text-anchor\", \"start\")\n .attr(\"x\", 20)\n .attr(\"dy\", 15)\n )\n .call((g) =>\n g\n .select(\".tick:first-of-type text\")\n .attr(\"x\", 0)\n .text(yAxisText(timeRange))\n )\n\n return y\n}\n","/* eslint-disable @typescript-eslint/no-invalid-this */\n\n/* eslint-disable @typescript-eslint/no-unsafe-assignment */\nimport { axisRight, scaleLinear, select } from \"d3\"\nimport type { i18n } from \"i18next\"\n\nimport { UnitName } from \"../../models/unit\"\nimport type { IUserSettingsData } from \"../../modules/settings\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { darkGray, gray500 } from \"../../utils/colors\"\nimport {\n GRAPH_COST_OR_CARBON_INTENSITY,\n KWH_PER_MWH,\n} from \"../../utils/constants\"\nimport { translateCurrency } from \"../../utils/currency\"\nimport { translateDecimal } from \"../../utils/decimal\"\nimport { translateUnit } from \"../../utils/unit\"\nimport { customTickValues } from \"./yAxis\"\n\nconst constructWattageUnitFormatter = ({\n height,\n maxDomainValue,\n wattUnit,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n axisType,\n}) => {\n const yScale = scaleLinear()\n .range([height, 0])\n .domain([0, maxDomainValue])\n .nice()\n\n const getCurrencyText = (\n d,\n i18nService: i18n,\n userSettings: IUserSettingsData\n ): string => {\n if (wattUnit === UnitName.MegawattHour) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n return translateCurrency(i18nService, userSettings.currency, d, {\n precision: 0,\n })\n }\n return translateCurrency(\n i18nService,\n userSettings.currency,\n d / KWH_PER_MWH,\n {\n precision: 2,\n }\n )\n }\n\n const getCarbonIntensityText = (d, i18nService: i18n) => {\n if (wattUnit === UnitName.MegawattHour) {\n return translateDecimal(i18nService, d * KWH_PER_MWH, { precision: 0 })\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n return translateDecimal(i18nService, d, { precision: 3 })\n }\n\n return {\n getCarbonIntensityText,\n getCurrencyText,\n yScale,\n }\n}\n\nconst yScaleAndAxis = ({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n i18nService,\n userSettings,\n}) => {\n const { getCurrencyText, getCarbonIntensityText, yScale } =\n constructWattageUnitFormatter({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n })\n\n const yAxis = axisRight(yScale)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .tickValues(customTickValues(maxDomainValue))\n .tickSize(0)\n .tickFormat((d) =>\n axisType === GRAPH_COST_OR_CARBON_INTENSITY.CARBON_INTENSITY\n ? // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n getCarbonIntensityText(d, i18nService)\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n getCurrencyText(d, i18nService, userSettings)\n )\n\n return {\n yScale,\n yAxis,\n }\n}\n\nexport const scaleY = ({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n i18nService,\n userSettings,\n}) =>\n yScaleAndAxis({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n i18nService,\n userSettings,\n }).yScale\n\nexport const clearYAxis = (className: string) => {\n select(className).selectChildren().remove()\n}\n\nexport const renderSecondaryYAxis = ({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n width,\n i18nService,\n userSettings,\n}) => {\n const { yAxis } = yScaleAndAxis({\n height,\n maxDomainValue,\n wattUnit,\n axisType,\n i18nService,\n userSettings,\n })\n\n const axisLabel = `${\n axisType === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? \"Cost\"\n : translateUnit(\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n i18nService.language,\n UnitName.PoundsOfCarbonDioxideEquivalent,\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n userSettings.currency\n )\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n } / ${translateUnit(i18nService.language, wattUnit, userSettings.currency)}`\n\n const svg = select(\"g.secondary-y-axis-container\")\n\n svg.selectAll(\"g.yaxis\").remove()\n\n if (maxDomainValue) {\n svg\n .append(\"g\")\n .attr(\"class\", \"yaxis\")\n .attr(\"transform\", `translate(${width}, 0)`)\n .call(yAxis)\n .call((g) => g.select(\".domain\").remove())\n .call((g) => g.select(\".tick:first-of-type text\").remove())\n .call((g) =>\n g.selectAll(\".tick:last-of-type text\").text(axisLabel).attr(\"y\", 10)\n )\n .call((g) =>\n g\n .selectAll(\".tick text\")\n .style(\"font-size\", \"12px\")\n .style(\"color\", gray500.toString())\n .style(\"text-anchor\", \"end\")\n .attr(\"x\", -20)\n )\n }\n}\n","import React, { useEffect, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { ScaleLinear } from \"d3\"\nimport { selectAll } from \"d3\"\nimport { isNull } from \"lodash-es\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { useUserSettings } from \"../../modules/settings\"\nimport {\n GRAPH_COST_OR_CARBON_INTENSITY,\n TIME_RANGES,\n} from \"../../utils/constants\"\nimport { BarGraphBackground } from \"../graph/barBackgroundComponent\"\nimport { BarGraph } from \"../graph/barGraphComponent\"\nimport {\n clearYAxis,\n renderSecondaryYAxis,\n scaleY,\n} from \"../graph/secondaryYAxis\"\nimport { renderYAxis } from \"../graph/yAxis\"\n\nexport const MonthlyEnergyProfileGraph = ({\n onHover,\n pageWidth,\n graphDataGroups,\n timeRange,\n axisUnit,\n onBarClick,\n wattUnit,\n showMeterData,\n showCostOrCarbonIntensity,\n maxVolumeDomain,\n maxAvgCostDomain,\n maxAvgCarbonIntensityDomain,\n isLoading,\n isFlyoutActive,\n}: {\n axisUnit: string\n graphDataGroups\n isFlyoutActive: boolean\n isLoading: boolean\n maxAvgCarbonIntensityDomain\n maxAvgCostDomain\n maxVolumeDomain\n onBarClick\n onHover\n pageWidth: number\n showCostOrCarbonIntensity: GRAPH_COST_OR_CARBON_INTENSITY\n showMeterData\n timeRange: TIME_RANGES\n wattUnit\n}) => {\n const theme = useTheme()\n const { i18n } = useTranslation()\n const userSettings = useUserSettings()\n const [primaryYLineScale, setPrimaryYLineScale] = useState<{\n yFunc: ScaleLinear\n } | null>(null)\n const [secondaryYLineScale, setSecondaryYLineScale] = useState<{\n yFunc: ScaleLinear\n }>(null)\n const [secondaryYRenderer, setSecondaryYRenderer] = useState<{\n args: {\n height\n maxDomainValue\n wattUnit\n width\n }\n renderFunc: ({\n height,\n maxDomainValue,\n wattUnit,\n width,\n }: {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n height: any\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n maxDomainValue: any\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wattUnit: any\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n width: any\n }) => void\n }>(null)\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const graphRef = React.useRef(null)\n const height = 400\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const baseWidth = pageWidth / graphDataGroups.length\n const isSingleDay =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n timeRange === TIME_RANGES.DAY && graphDataGroups.length === 1\n const isMonth =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n timeRange === TIME_RANGES.MONTH && graphDataGroups.length === 1\n const outerPadding = 100\n const middlePadding = 20\n const graphWidth =\n isSingleDay || isMonth\n ? // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (pageWidth - outerPadding * 2) / graphDataGroups.length\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (pageWidth - outerPadding * 2 - middlePadding) / graphDataGroups.length\n const firstGraph = (idx) => idx === 0\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const onClick = onBarClick\n\n useEffect(() => {\n const yFunc = renderYAxis({\n axisUnit,\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue: maxVolumeDomain,\n timeRange,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n wattUnit,\n width: pageWidth,\n outerPadding,\n i18nService: i18n,\n userSettings,\n })\n\n const yFunc2 = scaleY({\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue:\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? maxAvgCostDomain\n : maxAvgCarbonIntensityDomain,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n wattUnit,\n axisType: showCostOrCarbonIntensity,\n i18nService: i18n,\n userSettings,\n })\n const renderYAxis2 = {\n renderFunc: renderSecondaryYAxis,\n args: {\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue:\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? maxAvgCostDomain\n : maxAvgCarbonIntensityDomain,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n wattUnit,\n axisType: showCostOrCarbonIntensity,\n width: pageWidth,\n i18nService: i18n,\n userSettings,\n },\n }\n\n setPrimaryYLineScale({ yFunc })\n setSecondaryYLineScale({ yFunc: yFunc2 })\n setSecondaryYRenderer({ ...renderYAxis2 })\n\n return () => {\n selectAll(\"g.yaxis\").remove()\n }\n }, [\n pageWidth,\n axisUnit,\n wattUnit,\n pageWidth,\n i18n,\n maxAvgCostDomain,\n showCostOrCarbonIntensity,\n ])\n\n useEffect(() => {\n if (\n showCostOrCarbonIntensity !== GRAPH_COST_OR_CARBON_INTENSITY.NONE &&\n !isNull(secondaryYRenderer)\n ) {\n secondaryYRenderer.renderFunc(secondaryYRenderer.args)\n } else if (\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.NONE\n ) {\n clearYAxis(\"g.secondary-y-axis-container\")\n }\n }, [showCostOrCarbonIntensity, secondaryYRenderer])\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (graphDataGroups.length < 1) {\n return (\n !isLoading && (\n
    \n
    \n

    \n Electricity Data Unavailable.\n

    \n
    \n
    \n Please select a different date range.\n
    \n
    \n )\n )\n }\n\n return (\n \n \n \n \n \n \n\n {(!graphRef.current || isLoading) && (\n \n )}\n\n {graphRef.current &&\n !isLoading &&\n primaryYLineScale &&\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n graphDataGroups.map((graphDataGroup, idx) => (\n \n \n \n \n \n ))}\n\n \n\n {graphRef.current &&\n !isLoading &&\n primaryYLineScale &&\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n graphDataGroups.map((graphDataGroup, idx) => (\n \n ))}\n\n \n \n )\n}\n","import React, { useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\nimport { useLocation, useNavigate } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport type { i18n } from \"i18next\"\nimport { groupBy, max } from \"lodash-es\"\nimport moment from \"moment\"\n\nimport useMeasure from \"../../hooks/useMeasure/useMeasure\"\nimport { ElectricityType } from \"../../models/energyAllocation\"\nimport type MonthSummary from \"../../models/monthSummary\"\nimport type { UnitName } from \"../../models/unit\"\nimport { calculateMeteredKwhByProduct } from \"../../utils\"\nimport { gray500 } from \"../../utils/colors\"\nimport type { TIME_RANGES } from \"../../utils/constants\"\nimport {\n CENTS_PER_DOLLAR,\n GRAPH_COST_OR_CARBON_INTENSITY,\n GRAPH_DETAIL_MODAL_ORIENTATION,\n KWH_PER_MWH,\n} from \"../../utils/constants\"\nimport { translateDate } from \"../../utils/date\"\nimport { sharedDropdownFormat } from \"../../utils/formatters\"\nimport { goToTimeRange } from \"../../utils/urls\"\nimport type { DateRangeWithType } from \"../graph/dateRangeWithType\"\nimport type { GraphData } from \"../graph/graphData\"\nimport Product, { ProductType } from \"../graph/product\"\nimport { GraphFlyout } from \"../graphFlyout\"\nimport { GraphLegend } from \"../graphLegend\"\nimport { LoadingSpinner } from \"../loadingSpinner\"\nimport type { Config } from \"../tooltip\"\nimport { Tooltip, emptyConfig } from \"../tooltip\"\nimport { MonthlyEnergyProfileGraph } from \"./monthlyEnergyProfileGraph\"\n\nconst avgCost = (meteredKwh: number, products: Product[]) => {\n const cost = products.reduce((sum, p) => sum + Number(p.cost), 0)\n return cost / CENTS_PER_DOLLAR / (meteredKwh / KWH_PER_MWH)\n}\n\nconst getMaxVolumeDomain = (graphData: GraphData[]): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const totalKwhs = graphData.map((graphDatum) =>\n Math.max(\n Math.abs(graphDatum.lineValue) || 0,\n Math.abs(graphDatum.displayKwh)\n )\n )\n return max(totalKwhs) * 1.1\n}\n\nconst getGraphDataByMonth = (\n monthSummaries: MonthSummary[] | undefined,\n month: string,\n i18nService: i18n\n): GraphData => {\n const monthSummary: MonthSummary | undefined = monthSummaries?.filter(\n (monthlySummary) =>\n moment(monthlySummary.startDate).format(\"YYYY-MM\") === month\n )[0]\n const product = new Product({\n id: monthSummary?.id,\n kwh: monthSummary?.meteredKwh,\n taggedKwh: monthSummary?.meteredKwh,\n co2eLbs: parseFloat(monthSummary?.co2eLbs),\n price: monthSummary?.meteredKwh,\n cost: Number(monthSummary?.costDollars) * CENTS_PER_DOLLAR,\n imbalanceKwh: monthSummary?.meteredKwh,\n priceRange: { min: 0, max: monthSummary?.meteredKwh },\n order: 0,\n electricityType: ElectricityType.DirectAccess,\n })\n product.dailyAvgKwh = monthSummary?.avgKwhPerDay\n product.confirmName = \"Utility Product\"\n product.productType = ProductType.MarketConfirm\n const graphDatum: GraphData = {\n barLabel: translateDate(i18nService, moment(month), {\n month: \"numeric\",\n year: \"numeric\",\n }),\n barLabelColor: gray500,\n hour: moment(month),\n hoverLabel: moment(month).format(sharedDropdownFormat),\n lineValue: monthSummary?.meteredKwh,\n id: 0,\n hours: [moment(month)],\n avgCost: avgCost(monthSummary?.meteredKwh, [product]),\n meteredKwh: calculateMeteredKwhByProduct(product),\n co2eLbs: Number.parseFloat(monthSummary?.co2eLbs),\n displayKwh: monthSummary?.meteredKwh,\n products: [product],\n serviceHourIds: [],\n carbonIntensity: monthSummary\n ? Number.parseFloat(monthSummary.co2eLbs) / monthSummary.meteredKwh\n : 0,\n }\n return graphDatum\n}\n\nconst monthSummariesToGraphData = (\n timeRange: DateRangeWithType,\n monthSummaries: MonthSummary[] | undefined,\n i18nService: i18n\n): GraphData[] => {\n const graphdata: GraphData[] = []\n if (monthSummaries?.length > 0) {\n for (\n let month = timeRange.startDate.clone();\n month.diff(timeRange.endDate.startOf(\"month\"), \"months\") <= 0;\n month.add(1, \"months\")\n ) {\n graphdata.push(\n getGraphDataByMonth(\n monthSummaries,\n month.format(\"YYYY-MM\"),\n i18nService\n )\n )\n }\n }\n return graphdata\n}\n\nconst getMaxAvgCostDomain = (graphData: GraphData[]): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const avgCosts = graphData.map((datum) => datum.avgCost)\n return (max(avgCosts) || 0) * 2\n}\n\nconst getMaxAvgCarbonIntensityDomain = (graphData: GraphData[]): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const avgCarbonIntensities = graphData.map((datum) => datum.carbonIntensity)\n return (max(avgCarbonIntensities) || 0) * 2\n}\n\ninterface MonthlyEnergyProfileProps {\n axisUnit\n isBundledEnergyCustomer: boolean\n isLoading: boolean\n monthlySummary: MonthSummary[] | undefined\n timeRange: {\n endDate: moment.Moment\n startDate: moment.Moment\n timeRange: TIME_RANGES\n }\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nexport const MonthlyEnergyProfileGraphContainer = ({\n axisUnit,\n isLoading,\n monthlySummary,\n timeRange,\n wattUnit,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n isBundledEnergyCustomer,\n}: MonthlyEnergyProfileProps) => {\n const { i18n: i18nService } = useTranslation()\n const navigate = useNavigate()\n const { ref: containerRef, width: pageWidth } = useMeasure()\n const [hoverXPos, setHoverXPos] = useState(null)\n const [hoverYPos, setHoverYPos] = useState(null)\n const [activeHour, setActiveHour] = useState(null)\n const [graphDetailOrientation, setGraphDetailOrientation] =\n useState(\n GRAPH_DETAIL_MODAL_ORIENTATION.RIGHT\n )\n const [showMeterData, setShowMeterData] = useState(true)\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isEpgCostCarbonLineEnabled = isFeatureEnabled(\n FeatureFlags.EPG_COST_CARBON_LINE,\n organization\n )\n\n const [showCostOrCarbonIntensity, setShowCostOrCarbonIntensity] =\n useState(\n isEpgCostCarbonLineEnabled\n ? GRAPH_COST_OR_CARBON_INTENSITY.NONE\n : GRAPH_COST_OR_CARBON_INTENSITY.COST\n )\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [showAvgCostLine, setShowAvgCostLine] = useState(true)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [tooltipConfig, setTooltipConfig] = useState(emptyConfig)\n const location = useLocation()\n\n const graphData: GraphData[] = monthSummariesToGraphData(\n timeRange,\n monthlySummary,\n i18nService\n )\n\n const graphDataGroups: GraphData[][] = Object.values(\n groupBy(graphData, () => \"\")\n )\n graphDataGroups.sort((a, b) => a[0].hour.unix() - b[0].hour.unix())\n const maxVolumeDomain = getMaxVolumeDomain(graphData)\n const maxAvgCostDomain = getMaxAvgCostDomain(graphData)\n const maxAvgCarbonIntensityDomain = getMaxAvgCarbonIntensityDomain(graphData)\n\n const onBarClick = (selectedGraphData: GraphData) => {\n goToTimeRange({\n timeRange: {\n startDate: selectedGraphData.hour,\n endDate: selectedGraphData.hour.clone().endOf(\"month\"),\n timeRange: timeRange.timeRange,\n },\n navigate,\n location,\n })\n }\n\n const handleShowCostOrCarbonIntensityChange = (\n value: GRAPH_COST_OR_CARBON_INTENSITY\n ) => {\n setShowCostOrCarbonIntensity(value)\n }\n\n const onHover = ({\n xPos,\n yPos,\n orientation,\n timestamp,\n }: {\n orientation: GRAPH_DETAIL_MODAL_ORIENTATION\n timestamp: number\n xPos: number | null\n yPos: number\n }) => {\n setHoverXPos(xPos)\n setHoverYPos(yPos)\n setActiveHour(timestamp)\n setGraphDetailOrientation(orientation)\n }\n\n const headers: JSX.Element[] = [\n <>Daily Avg.,\n <>Total Volume,\n <>Total Cost,\n ]\n\n return (\n
    \n
    \n {isLoading && (\n \n Loading graph...\n \n )}\n\n \n {tooltipConfig.content.length > 0 && }\n {graphData\n .filter((graphDatum) => graphDatum.hour.unix() === activeHour)\n .map((graphDatum, idx) => (\n \n ))}\n {\n setShowMeterData(!showMeterData)\n }}\n wattUnit={wattUnit}\n />\n
    \n
    \n )\n}\n","import React from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport type MonthSummary from \"../../models/monthSummary\"\nimport type Site from \"../../models/site\"\nimport type { UnitName } from \"../../models/unit\"\nimport type { EnergyUnit } from \"../../utils/constants\"\nimport type { DateRangeWithType } from \"../graph/dateRangeWithType\"\nimport { MonthlyEnergyProfileGraphContainer } from \"./monthlyEnergyProfileGraphContainer\"\n\ninterface MonthlySummaryGraphPanelProps {\n axisUnit?: EnergyUnit\n isParentLoading: boolean\n monthSummaries: MonthSummary[] | undefined\n site: Site\n timeWindow: DateRangeWithType\n wattUnit?: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nexport const MonthlySummaryGraphPanel = ({\n site,\n timeWindow,\n isParentLoading,\n monthSummaries,\n axisUnit,\n wattUnit,\n}: MonthlySummaryGraphPanelProps) => (\n \n \n \n)\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class LoadAggregationPoint extends ApplicationRecord {\n public static jsonapiType = \"load_aggregation_points\"\n\n @Attr() public currentCongestion: number\n\n @Attr() public currentEnergy: number\n\n @Attr() public currentLmp: number\n\n @Attr() public currentLmpMajor: string\n\n @Attr() public currentLosses: number\n\n @Attr() public name: string\n\n @Attr() public updatedAt: Date\n}\n","import moment from \"moment\"\nimport { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\nexport enum ReportType {\n DayAhead = \"PRC_LMP\",\n Realtime = \"PRC_RTM_LAP\",\n}\n\n@Model()\nexport default class Price extends ApplicationRecord {\n public static jsonapiType = \"prices\"\n\n @Attr() public readonly id: string\n\n @Attr() public hour: moment.Moment\n\n @Attr() public lmp: number\n\n @Attr() public lmpMajor: string\n\n @Attr() public reportType: ReportType\n}\n","import moment from \"moment\"\n\nimport LoadAggregationPoint from \"../../../../models/loadAggregationPoint\"\nimport Price from \"../../../../models/price\"\nimport { HOURS_IN_DAY } from \"../../../../utils/constants\"\n\nconst fetchPricesForLAP = async (\n loadAggregationPointId: number,\n daysToFetch: number\n) =>\n Price.where({\n hour: {\n gte: moment().startOf(\"day\").subtract(daysToFetch, \"day\").format(),\n lte: moment().startOf(\"day\").add(1, \"day\").format(),\n },\n load_aggregation_point_id: loadAggregationPointId,\n market: \"DAM\",\n })\n .per(HOURS_IN_DAY * daysToFetch)\n .order({ hour: \"desc\" })\n .all()\n .then(({ data }) => data)\n\nconst fetchLAP = async (loadAggregationPointId: number) =>\n (await LoadAggregationPoint.find(loadAggregationPointId)).data\n\nexport { fetchPricesForLAP, fetchLAP }\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchLAP } from \"./useSiteLoadAggregationPointAndPricesUtils\"\n\n/**\n * Takes a site and provides the load aggregation point for that site\n * to an API query. Blocking the query if the site does not have a load aggregation point\n *\n * @example\n * const {\n * siteLoadAggregationPoint,\n * isSiteLoadAggregationPointFetched,\n * isSiteLoadAggregationPointLoading,\n * } = useLAP(site)\n *\n */\nexport const useLAP = (site) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteLoadAggregationPoint,\n \"getOne\",\n null,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n site\n )\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n queryFn: async () => fetchLAP(site?.loadAggregationPointId),\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n enabled: !!site?.loadAggregationPointId,\n })\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// @ts-strict-ignore\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport React from \"react\"\n\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type Site from \"../../../../models/site\"\nimport { fetchPricesForLAP } from \"./useSiteLoadAggregationPointAndPricesUtils\"\n\n/**\n * Provides prices for a site's load aggregation point filtered by\n * 14 days in the past unless otherwise specified\n *\n * @example\n * const {\n * siteLoadAggregationPointPrices,\n * isSiteLoadAggregationPointPricesLoading,\n * isSiteLoadAggregationPointPricesIdle,\n * isSiteLoadAggregationPointPricesSuccess,\n * isSiteLoadAggregationPointPricesFetched,\n * isSiteLoadAggregationPointPricesFetching,\n * } = useLAPPrices(site)\n */\n\nexport const useLAPPrices = (site: Site) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteLoadAggregationPointPrices,\n \"getMany\",\n null,\n site\n )\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n queryFn: async () => fetchPricesForLAP(site?.loadAggregationPointId, 14),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n enabled: !!site?.loadAggregationPointId,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// @ts-strict-ignore\nimport type { Moment } from \"moment\"\n\nimport EnergyAllocation from \"../../../../models/energyAllocation\"\nimport type { IRange } from \"../../../../models/range\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport type Site from \"../../../../models/site\"\n\ninterface FetchYtdMeteredKwhValue {\n meteredKwh: number\n}\n\nexport const fetchYtdMeteredKwh = async ({\n timeWindow,\n siteId,\n}: {\n siteId: string\n timeWindow: IRange\n}): Promise =>\n EnergyAllocation.stats({\n metered_kwh: \"sum\",\n })\n .where({\n start_time: timeWindow.start.format(),\n end_time: timeWindow.end.format(),\n site_id: siteId,\n })\n .per(0)\n .all()\n .then((result) => ({\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n meteredKwh: Number.parseFloat(result.meta.stats.metered_kwh.sum ?? \"0\"),\n }))\n","// @ts-strict-ignore\nimport { ApiQueryName } from \"@/models/api\"\nimport type { IRange } from \"@/models/range\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { fetchYtdMeteredKwh } from \"./useYtdMeteredKwhUtils\"\n\n/**\n * Fetches YTD metered kWh data for a site\n *\n * @example\n * const { ytdMeteredKwh, isYtdMeteredKwhLoading, isYtdMeteredKwhError } =\n * useYtdMeteredKwh({moment(), moment()}, \"8\")\n */\nexport const useYtdMeteredKwh = (\n timeWindow: IRange,\n siteId: string\n) => {\n const queryKey = useQueryKey(ApiQueryName.YtdMeteredKwh, \"getOne\", null, {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: timeWindow?.start?.format(\"YYYY-MM-DD\"),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: timeWindow?.end?.format(\"YYYY-MM-DD\"),\n siteId,\n ignoreCurrency: true,\n })\n const queryResult = useQuery<{ meteredKwh: number }>({\n enabled:\n !!siteId &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!timeWindow?.start?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!timeWindow?.end?.isValid(),\n queryFn: () => fetchYtdMeteredKwh({ timeWindow, siteId }),\n queryKey,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\nimport { Typography } from \"@mui/material\"\n\nimport warning from \"../icons/warning.svg\"\nimport { percentageChange } from \"../utils\"\nimport { CurrencyWithPlaceholder } from \"./currency/currencyWithPlaceholder/currencyWithPlaceholder\"\n\nconst upArrow = () => (\n \n \n \n)\nconst downArrow = () => (\n \n \n \n)\n\nexport interface PriceDisplayProps {\n amount: number\n children?: ReactNode\n previousAmount?: number\n}\n\nexport const PriceDisplay = ({\n children,\n amount,\n previousAmount = null,\n}: PriceDisplayProps) => {\n let dollars\n let cents\n if (amount === null || amount === undefined) {\n ;[dollars, cents] = [\"--\", \"--\"]\n } else {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ;[dollars, cents] = amount.toFixed(2).split(\".\")\n }\n\n let changePercent = null\n let changeIcon = null\n if (previousAmount && previousAmount > 0) {\n changePercent = percentageChange(previousAmount, amount) || 0\n changeIcon = changePercent && changePercent > 0 ? upArrow() : downArrow()\n }\n\n return (\n
    \n
    {children}
    \n
    \n \n \n \n
    \n \n {previousAmount != null && (\n
    \n
    {changeIcon}
    \n {/* Mass lint disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */}\n
    {Math.abs(changePercent).toFixed(1)}%
    \n
    \n )}\n {amount == null && (\n
    \n \n \n \n Unavailable\n
    \n )}\n
    \n )\n}\n","import React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { area, curveLinear, line, select } from \"d3\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport Price from \"../models/price\"\nimport { UnitName } from \"../models/unit\"\nimport { dayAheadPrice } from \"../utils\"\nimport { getHourEnding } from \"../utils/date\"\nimport { transformPricePerWhIntoUnit } from \"../utils/formatters\"\nimport { getKeyByValue } from \"../utils/object\"\nimport { DateDisplay } from \"./date/dateDisplay/dateDisplay\"\nimport { If } from \"./if/if\"\nimport { PriceDisplay } from \"./priceDisplay\"\nimport { Unit } from \"./unit/unit\"\n\nconst DrawDayAheadCostGraphic = ({ prices }: { prices: Price[] }) => {\n if (prices.length === 0) {\n return\n }\n\n const HEIGHT = 50\n const WIDTH = 110\n const BUFFER = 5\n const widthModifier = WIDTH / prices.length\n\n const maxPrice: number = prices\n .map((price) => price.lmp)\n .reduce((acc, next) => Math.max(acc, next), 0)\n\n const heightModifier = HEIGHT / maxPrice\n\n const pricingTrendData: [number, number][] = prices.map((price, idx) => [\n idx * widthModifier,\n price.lmp * heightModifier,\n ])\n\n const svg = select(\".day-ahead-pricing .graphic\")\n .attr(\"height\", HEIGHT + BUFFER)\n .attr(\"width\", WIDTH)\n\n svg.selectAll(\"*\").remove()\n\n const pricingTrendLine = line().curve(curveLinear)(pricingTrendData)\n\n // Draw the line\n svg.append(\"path\").attr(\"class\", \"line\").attr(\"d\", pricingTrendLine)\n\n // Draw the circle indicating most recent price\n const startOfThisHour = moment().startOf(\"hour\")\n const indexForThisHour = prices.findIndex((price) =>\n startOfThisHour.isSame(price.hour)\n )\n if (indexForThisHour > -1) {\n const thisHourPricePoint = pricingTrendData[indexForThisHour]\n\n // Draw the area\n svg\n .append(\"path\")\n .attr(\"class\", \"area\")\n .attr(\n \"d\",\n area().y0(HEIGHT)(pricingTrendData.slice(0, indexForThisHour + 1))\n )\n\n svg\n .append(\"circle\")\n .attr(\"class\", \"circle\")\n .attr(\"cx\", thisHourPricePoint[0])\n .attr(\"cy\", thisHourPricePoint[1])\n .attr(\"r\", \"4\")\n }\n}\n\nexport const DayAheadPricing = ({\n prices,\n whDisplayUnit,\n}: {\n prices: Price[]\n whDisplayUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const { t } = useTranslation()\n\n const titleWithDate = (dateTime: Moment) => (\n
    \n

    Day Ahead

    \n \n

    \n \n

    \n
    \n
    \n )\n\n React.useEffect(() => {\n DrawDayAheadCostGraphic({ prices })\n }, [prices])\n\n const price: Price | null = dayAheadPrice(prices)\n const date: Moment | null = price ? moment(price.hour) : null\n const priceDate: Moment | null = date ? date.clone().add(1, \"day\") : null\n\n return (\n
    \n {titleWithDate(priceDate)}\n \n \n Day Ahead LMP (\n (\n UnitName,\n whDisplayUnit\n )}` as keyof typeof UnitName\n ]\n }\n />\n )\n \n \n HE: {priceDate && getHourEnding(date, t)}\n \n \n
    \n )\n}\n","import React from \"react\"\n\nimport { area, curveLinear, line, select } from \"d3\"\nimport { groupBy, map, nth, sortBy, sum, toPairs } from \"lodash-es\"\nimport moment from \"moment\"\n\nimport type { Palette } from \"@mui/material\"\nimport { useTheme } from \"@mui/material\"\n\nimport type { Allocation } from \"../models/energyAllocation\"\nimport EnergyAllocation from \"../models/energyAllocation\"\nimport { UnitName } from \"../models/unit\"\nimport { KWH_PER_MWH } from \"../utils/constants\"\nimport { PriceDisplay } from \"./priceDisplay\"\nimport { Unit } from \"./unit/unit\"\n\nconst DrawAverageCostGraphic = (\n averageDailyPrices: number[],\n palette: Palette\n) => {\n if (averageDailyPrices.length === 0) {\n return\n }\n\n const HEIGHT = 40\n const WIDTH = 60\n const widthModifier = WIDTH / averageDailyPrices.length\n\n const maxPrice = averageDailyPrices.reduce(\n (acc, next) => Math.max(acc, next),\n 0\n )\n const minPrice = averageDailyPrices.reduce(\n (acc, next) => Math.min(acc, next),\n Infinity\n )\n const heightModifier = maxPrice > 0 ? HEIGHT / maxPrice : 0\n const pricingTrendData: [number, number][] = averageDailyPrices.map(\n (price, idx) => [idx * widthModifier, price * heightModifier]\n )\n\n const svg = select(\".price-overview .price-overview__avg-cost .graphic\")\n .attr(\"height\", HEIGHT)\n .attr(\"width\", WIDTH)\n\n svg.selectAll(\"*\").remove()\n\n const pricingTrendLine = line().curve(curveLinear)(pricingTrendData)\n\n // Draw the line\n svg.append(\"path\").attr(\"class\", \"line\").attr(\"d\", pricingTrendLine)\n\n // Draw the area\n svg\n .append(\"path\")\n .attr(\"class\", \"area\")\n .attr(\n \"d\",\n area()\n .x((d) => d[0])\n .y1(minPrice * heightModifier)\n .y0((d) => d[1])(pricingTrendData)\n )\n\n // Draw the circle indicating most recent price\n const lastPricePoint = pricingTrendData[pricingTrendData.length - 1]\n\n svg\n .append(\"circle\")\n .attr(\"class\", \"circle\")\n .attr(\"cx\", lastPricePoint[0])\n .attr(\"cy\", lastPricePoint[1])\n .attr(\"r\", \"2\")\n .attr(\"stroke\", \"#018281\")\n .attr(\"fill\", palette.common.white)\n}\n\nconst averageCostForHours = (aggregatedAllocations, tariffDollars) => {\n const contractCost = EnergyAllocation.getLossAdjustedConfirmCosts(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n aggregatedAllocations\n )\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const lineLossCost = EnergyAllocation.getLineLossCosts(aggregatedAllocations)\n const imbalanceCost = EnergyAllocation.getLossAdjustedImbalanceCosts(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n aggregatedAllocations\n )\n const schedulingCost = EnergyAllocation.getSchedulingCosts(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n aggregatedAllocations\n )\n\n const totalMwh =\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n sum(map(aggregatedAllocations, (alloc) => alloc.meteredKwh || 0)) /\n KWH_PER_MWH\n const transmissionAndDistributionCost =\n totalMwh > 0 && tariffDollars ? totalMwh * tariffDollars : 0\n const totalCost =\n contractCost +\n imbalanceCost +\n lineLossCost +\n transmissionAndDistributionCost +\n schedulingCost\n return totalMwh > 0 ? totalCost / totalMwh : 0\n}\n\nexport const PricingOverview = ({\n aggregatedAllocations,\n tariffDollars,\n}: {\n aggregatedAllocations: Allocation[]\n tariffDollars: number\n}) => {\n const theme = useTheme()\n const grouped = groupBy(aggregatedAllocations, (allocation) =>\n moment(allocation.hour).startOf(\"day\")\n )\n const inPairs = sortBy(toPairs(grouped), (pair) => nth(pair, 0))\n const allocationGroups = map(inPairs, (pair) => nth(pair, 1))\n const averageDailyCosts = map(allocationGroups, (allocations) =>\n averageCostForHours(allocations, tariffDollars)\n )\n\n React.useEffect(() => {\n DrawAverageCostGraphic(averageDailyCosts, theme.palette)\n }, [averageDailyCosts, theme.palette])\n\n return (\n
    \n
    \n \n Avg Cost ()\n \n
    \n
    \n )\n}\n","import React, { useState } from \"react\"\nimport ReactDOMServer from \"react-dom/server\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { map, sum } from \"lodash-es\"\nimport moment from \"moment\"\nimport \"moment-timezone\"\n\nimport { Stack } from \"@mui/material\"\n\nimport EnergyAllocation from \"../models/energyAllocation\"\nimport type Site from \"../models/site\"\nimport { UnitName } from \"../models/unit\"\nimport { useSiteLoadAggregationPointAndPrices } from \"../modules/site/services/useSiteLoadAggregationPointAndPrices/useSiteLoadAggregationPointAndPrices\"\nimport { useYtdMeteredKwh } from \"../modules/site/services/useYtdMeteredKwh/useYtdMeteredKwh\"\nimport { pricesForToday } from \"../utils\"\nimport { KWH_PER_MWH } from \"../utils/constants\"\nimport { transformPricePerWhIntoUnit } from \"../utils/formatters\"\nimport { getKeyByValue } from \"../utils/object\"\nimport { CurrencyWithPlaceholder } from \"./currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DateDisplay } from \"./date/dateDisplay/dateDisplay\"\nimport { DateRangeDisplay } from \"./date/dateRangeDisplay/dateRangeDisplay\"\nimport { DayAheadPricing } from \"./dayAheadPricing\"\nimport { DecimalWithPlaceholder } from \"./decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { Panel } from \"./panel\"\nimport { PriceDisplay } from \"./priceDisplay\"\nimport { PricingOverview } from \"./pricingOverview\"\nimport { Unit } from \"./unit/unit\"\n\nexport const SiteOverview = ({\n isParentLoading,\n site,\n energyAllocations,\n timeWindow,\n}: {\n energyAllocations: EnergyAllocation[]\n isParentLoading: boolean\n site: Site\n timeWindow\n}) => {\n const { organization } = useOrganizationContext()\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [whDisplayUnit, setWhDisplayUnit] = useState<\n UnitName.KilowattHour | UnitName.MegawattHour\n >(UnitName.MegawattHour)\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const { ytdMeteredKwh } = useYtdMeteredKwh(timeWindow, site?.id)\n\n const aggregatedMeteredAllocations = EnergyAllocation.aggregateByHour(\n energyAllocations\n ).filter((alloc) => alloc.meteredKwh)\n\n const contractCost = EnergyAllocation.getLossAdjustedConfirmCosts(\n aggregatedMeteredAllocations\n )\n const lineLossCost = EnergyAllocation.getLineLossCosts(\n aggregatedMeteredAllocations\n )\n const imbalanceCost = EnergyAllocation.getLossAdjustedImbalanceCosts(\n aggregatedMeteredAllocations\n )\n const schedulingCost = EnergyAllocation.getSchedulingCosts(\n aggregatedMeteredAllocations\n )\n\n const totalMwh =\n sum(map(aggregatedMeteredAllocations, (alloc) => alloc.meteredKwh)) /\n KWH_PER_MWH\n\n const transmissionAndDistributionCost =\n totalMwh > 0 && site.tariffDollars ? totalMwh * site.tariffDollars : 0\n\n const totalCost =\n contractCost +\n imbalanceCost +\n lineLossCost +\n transmissionAndDistributionCost +\n schedulingCost\n\n const { siteLoadAggregationPointPrices, siteLoadAggregationPoint } =\n useSiteLoadAggregationPointAndPrices(site)\n\n // The hook will provide these as undefined until the data is fetched\n if (\n siteLoadAggregationPointPrices === undefined ||\n siteLoadAggregationPoint === undefined\n ) {\n return null\n }\n\n if (isParentLoading) {\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n )\n }\n\n const midTitle = ytdMeteredKwh\n ? ReactDOMServer.renderToString(\n DecimalWithPlaceholder({\n value: Math.ceil(ytdMeteredKwh.meteredKwh / KWH_PER_MWH),\n format: {\n precision: 2,\n },\n })\n )\n : \"\"\n\n const midSubtitle = ytdMeteredKwh ? \"MWh / YTD\" : \"\"\n\n return (\n \n
    \n
    \n

    Market At a Glance...

    \n
    \n
    \n \n
    \n {siteLoadAggregationPoint && (\n
    \n
    \n

    Current

    \n

    \n \n

    \n
    \n \n Real Time LMP (\n (\n UnitName,\n whDisplayUnit\n )}` as keyof typeof UnitName\n ]\n }\n />\n )\n \n
    \n )}\n
    \n
    \n {aggregatedMeteredAllocations?.length > 0 ? (\n
    \n
    \n

    \n \n

    \n

    \n Financial Breakdown\n

    \n
    \n \n
    \n
    \n
    \n
    Total Cost of Power
    \n
    \n \n
    \n
    \n
    \n
    Transmission & Distribution
    \n
    \n \n
    \n
    \n
    \n
    Imbalance Cost
    \n
    \n \n
    \n
    \n
    \n
    Line Loss Factor
    \n
    \n \n
    \n
    \n
    \n
    Scheduling Fees
    \n
    \n \n
    \n
    \n
    \n
    Energy Cost
    \n
    \n \n
    \n
    \n
    \n
    {\" \"}\n
    \n ) : (\n
    \n
    \n

    \n The site overview is currently unavailable\n

    \n
    \n
    \n The overview will display when last week’s data is available\n
    \n
    \n )}\n \n )\n}\n","// @ts-strict-ignore\nimport type { PersistedSpraypaintRecord } from \"spraypaint\"\n\nimport type LoadAggregationPoint from \"../../../../models/loadAggregationPoint\"\nimport type Price from \"../../../../models/price\"\nimport { useLAP } from \"./useLAP\"\nimport { useLAPPrices } from \"./useLAPPrices\"\n\n/**\n * Provides a load aggregation point and day ahead market prices for that load aggregation point.\n * Provides a single loading state determined by either loading states.\n * Provides a single fetched state determined by both fetched states.\n *\n * @example\n * const {\n * isSiteLoadAggregationPointAndPricesLoading,\n * isSiteLoadAggregationPointAndPricesFetched,\n * siteLoadAggregationPoint,\n * siteLoadAggregationPointPrices,\n * } = useSiteLoadAggregationPointAndPrices(site)\n *\n */\nconst useSiteLoadAggregationPointAndPrices = (\n site\n): {\n isSiteLoadAggregationPointAndPricesFetched: boolean\n isSiteLoadAggregationPointAndPricesLoading: boolean\n siteLoadAggregationPoint:\n | PersistedSpraypaintRecord\n | undefined\n siteLoadAggregationPointPrices: Price[] | undefined\n} => {\n const {\n siteLoadAggregationPoint,\n isSiteLoadAggregationPointFetched,\n isSiteLoadAggregationPointLoading,\n } = useLAP(site)\n const {\n siteLoadAggregationPointPrices,\n isSiteLoadAggregationPointPricesFetched,\n isSiteLoadAggregationPointPricesLoading,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n } = useLAPPrices(site)\n\n return {\n isSiteLoadAggregationPointAndPricesLoading:\n isSiteLoadAggregationPointPricesLoading ||\n isSiteLoadAggregationPointLoading,\n isSiteLoadAggregationPointAndPricesFetched:\n isSiteLoadAggregationPointPricesFetched &&\n isSiteLoadAggregationPointFetched,\n siteLoadAggregationPoint,\n siteLoadAggregationPointPrices,\n }\n}\n\nexport { useSiteLoadAggregationPointAndPrices }\n","import moment from \"moment\"\nimport type { Moment } from \"moment\"\n\nimport type { IFilter } from \"./filter\"\n\n/**\n * A filter for a date\n *\n * @param value {Moment} - A Moment date\n * @returns {DateFilter} - The filter instance\n * @example\n * new DateFilter(moment(\"2022-01-31\"))\n */\nexport default class DateFilter implements IFilter {\n value: Moment | null\n\n constructor(value?: Moment) {\n this.value = value || null\n }\n\n isEqualTo(filter: DateFilter) {\n return (\n (this.value === null && filter.value === null) ||\n !!this.value?.isSame(filter.value)\n )\n }\n\n toQueryParamValue() {\n return this.value?.format(\"YYYY-MM-DD\") || \"\"\n }\n\n static fromQueryParamValue(queryParamValue: string): DateFilter {\n const value: Moment | undefined = queryParamValue\n ? moment(queryParamValue)\n : undefined\n\n return new DateFilter(value)\n }\n}\n","import React from \"react\"\n\nimport type { Moment } from \"moment\"\n\nimport EventRoundedIcon from \"@mui/icons-material/EventRounded\"\nimport { useTheme } from \"@mui/material\"\nimport type { DateRange } from \"@mui/x-date-pickers-pro\"\nimport {\n LocalizationProvider,\n DateRangePicker as MuiDateRangePicker,\n} from \"@mui/x-date-pickers-pro\"\nimport { AdapterMoment } from \"@mui/x-date-pickers-pro/AdapterMoment\"\n\nimport type { DateRangePickerProps } from \"./date-range-picker.types\"\n\n/**\n * A component that allows a user to select a date range by day across years\n *\n * @param isLoading - Whether the component is loading\n * @param maxDate - The maximum date the date range can be\n * @param minDate - The minimum date the date range can be\n * @param onChange - The action taken when the date range changes\n * @param value - The dates displayed in the start and end date pickers\n * @example\n *\n * ```tsx\n * import { DateRangePicker } from 'nzds'\n *\n * \n * ```\n */\nexport const DateRangePicker = ({\n isLoading,\n maxDate,\n minDate,\n onChange,\n value,\n}: DateRangePickerProps) => {\n const theme = useTheme()\n\n const handleChange = (newValue: DateRange) => {\n const newStartValue = newValue[0]\n const newEndValue = newValue[1]\n\n if (newStartValue?.isValid() && newEndValue?.isValid()) {\n onChange({\n start: newStartValue,\n end: newEndValue,\n })\n }\n }\n\n return (\n \n \n ),\n },\n size: \"small\",\n sx: { width: theme.typography.pxToRem(184) },\n },\n }}\n value={value}\n />\n \n )\n}\n","import EnergyAllocation from \"../../../../models/energyAllocation\"\nimport type Site from \"../../../../models/site\"\nimport { parseFloatMetaStatSum } from \"../../../../utils\"\nimport { LBS_PER_METRIC_TON } from \"../../../../utils/constants\"\nimport type { IFetchEmissionsAndEnergyVolume } from \"../../../../utils/spraypaintApi\"\n\ninterface IFetchBundledEmissionsAndEnergyVolume {\n dayStart: string\n site: Site\n yearStart: string\n}\n\nexport const fetchBundledEmissionsAndEnergyVolume = ({\n site,\n yearStart,\n dayStart,\n}: IFetchBundledEmissionsAndEnergyVolume): Promise => {\n const fetchedEnergyAllocations = EnergyAllocation.carbonBasedAndFreeStats({\n site,\n yearStart,\n dayStart,\n })\n return fetchedEnergyAllocations.then((result) => ({\n ytdCarbonEmissionsInMtCo2e:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n parseFloatMetaStatSum(result?.carbon_stats.calculate[0].co2e_lbs) /\n LBS_PER_METRIC_TON,\n ytdCarbonBasedKwh: parseFloatMetaStatSum(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n result?.carbon_stats.calculate[0].carbon_based_kwh\n ),\n ytdCarbonFreeKwh: parseFloatMetaStatSum(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n result?.carbon_stats.calculate[0].carbon_free_kwh\n ),\n }))\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type moment from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { ElectricityType } from \"../../../../models/energyAllocation\"\nimport type Site from \"../../../../models/site\"\nimport { fetchBundledEmissionsAndEnergyVolume } from \"./useBundledEmissionsAndEnergyVolumeUtils\"\n\ninterface IUseBundledEmissionsAndEnergyVolume {\n endDate: moment.Moment\n site: Site\n startDate: moment.Moment\n}\n\nexport const useBundledEmissionsAndEnergyVolume = ({\n site,\n startDate,\n endDate,\n}: IUseBundledEmissionsAndEnergyVolume) => {\n const queryKey = useQueryKey(\n ApiQueryName.BundledEmissionsAndEnergyVolume,\n \"getOne\",\n null,\n {\n site,\n startDate,\n endDate,\n }\n )\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison, @typescript-eslint/no-unnecessary-condition\n const isBundled = site?.electricityType === ElectricityType.Bundled\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () =>\n fetchBundledEmissionsAndEnergyVolume({\n site,\n yearStart: startDate.format(),\n dayStart: endDate.format(),\n }),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!site &&\n isBundled &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!startDate &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!endDate &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!startDate?.isBefore(endDate),\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { Attr, BelongsTo, Model } from \"spraypaint\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport type ServiceHour from \"./serviceHour\"\nimport type Site from \"./site\"\n\ninterface ICarbonBasedAndFreeStats {\n carbon_based_kwh: { sum: string | undefined } | undefined\n carbon_free_kwh: { sum: string | undefined } | undefined\n}\n@Model()\nexport default class EtagHour extends ApplicationRecord {\n public static jsonapiType = \"etag_hours\"\n\n @BelongsTo(\"service_hours\") public serviceHour: ServiceHour[]\n\n @Attr() public generationSource: string\n\n @Attr() public kwh: number\n\n @Attr() public serviceHourId: number\n\n @Attr() public curtailedKwh: number\n\n static carbonBasedAndFreeStats({\n yearStart,\n dayStart,\n site,\n }: {\n dayStart: string\n site: Site\n yearStart: string\n }): Promise {\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return (\n this.stats({\n carbon_based_kwh: \"sum\",\n carbon_free_kwh: \"sum\",\n })\n .where({\n start_time: yearStart,\n end_time: dayStart,\n site_id: site.id,\n })\n .per(0)\n .all()\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n .then(({ meta }) => meta.stats)\n )\n }\n}\n","import moment from \"moment\"\nimport { Attr, BelongsTo, HasMany, Model } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport type EtagHour from \"./etagHour\"\nimport Site from \"./site\"\n\n@Model()\nexport default class ServiceHour extends ApplicationRecord {\n public static jsonapiType = \"service_hours\"\n\n @HasMany(\"etag_hours\") public etagHours: EtagHour[]\n\n @BelongsTo(\"sites\") public site: Site\n\n @Attr() public carbonDioxideEmissions: number\n\n @Attr() public carbonEquivalentEmissions: number\n\n @Attr() public nitrogenOxidesEmissions: number\n\n @Attr() public nitrousOxideEmissions: number\n\n @Attr() public sulfurDioxideEmissions: number\n\n @Attr() public methaneEmissions: number\n\n @Attr() public mercuryEmissions: number\n\n @Attr() public lossAdjustedMeteredKwh: number\n\n @Attr() public taggedKwh: number\n\n @Attr() public curtailedKwh: number\n\n @Attr() public prescheduleKwh: number\n\n @Attr() public imbalanceKwh: number\n\n @Attr() public imbalancePriceCents: number\n\n @Attr() public marketPriceCents: number\n\n @Attr() public meteredKwh?: number\n\n @Attr() public hour: moment.Moment\n\n @Attr() public energyProviderName: string\n\n get displayKwh() {\n if (this.taggedKwh && this.taggedKwh > 0) {\n return this.taggedKwh\n }\n\n return this.prescheduleKwh\n }\n\n static carbonFreeStats({\n yearStart,\n dayStart,\n site,\n }: {\n dayStart: string\n site: Site\n yearStart: string\n }): Promise> {\n return this.stats({\n carbon_equivalent_emissions: \"sum\",\n })\n .where({\n hour: {\n gte: yearStart,\n lt: dayStart,\n },\n site_id: site.id,\n })\n .per(0)\n .all()\n }\n}\n","import EtagHour from \"../../../../models/etagHour\"\nimport ServiceHour from \"../../../../models/serviceHour\"\nimport type Site from \"../../../../models/site\"\nimport { parseFloatMetaStatSum } from \"../../../../utils\"\nimport { LBS_PER_METRIC_TON } from \"../../../../utils/constants\"\n\ninterface IFetchEmissionsAndEnergyVolumeWithSiteStats {\n dayStart: string\n site: Site\n yearStart: string\n}\n\nexport const fetchDirectEmissionsAndEnergyVolume = ({\n site,\n yearStart,\n dayStart,\n}: IFetchEmissionsAndEnergyVolumeWithSiteStats) => {\n const fetchCarbonBasedAndFreeStats = EtagHour.carbonBasedAndFreeStats({\n site,\n yearStart,\n dayStart,\n })\n const fetchTotals = ServiceHour.carbonFreeStats({ site, yearStart, dayStart })\n return Promise.all([fetchCarbonBasedAndFreeStats, fetchTotals]).then(\n ([fetchedCarbonBasedAndFreeTotals, fetchedTotals]) => ({\n ytdCarbonEmissionsInMtCo2e:\n parseFloatMetaStatSum(\n // Mass lint disable\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n fetchedTotals?.meta?.stats?.carbon_equivalent_emissions?.sum\n ) / LBS_PER_METRIC_TON,\n ytdCarbonBasedKwh: parseFloatMetaStatSum(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n fetchedCarbonBasedAndFreeTotals?.carbon_based_kwh?.sum\n ),\n ytdCarbonFreeKwh: parseFloatMetaStatSum(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n fetchedCarbonBasedAndFreeTotals?.carbon_free_kwh?.sum\n ),\n })\n )\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { ElectricityType } from \"../../../../models/energyAllocation\"\nimport type { IRange } from \"../../../../models/range\"\nimport type Site from \"../../../../models/site\"\nimport { fetchDirectEmissionsAndEnergyVolume } from \"./useDirectEmissionsAndEnergyVolumeUtils\"\n\nexport const useDirectEmissionsAndEnergyVolume = (\n site: Site,\n { start, end }: IRange\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.DirectEmissionsAndEnergyVolume,\n \"getOne\",\n null,\n {\n site,\n start,\n end,\n }\n )\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison, @typescript-eslint/no-unnecessary-condition\n const isDirect = site?.electricityType === ElectricityType.DirectAccess\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () =>\n fetchDirectEmissionsAndEnergyVolume({\n site,\n yearStart: start.format(),\n dayStart: end.format(),\n }),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n enabled: !!site && isDirect && !!start && !!end && !!start?.isBefore(end),\n keepPreviousData: true,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class EiaCalculatedHour extends ApplicationRecord {\n public static jsonapiType = \"eia_calculated_hours\"\n\n @Attr() public readonly co2eFactorCalculated: string\n}\n","// @ts-strict-ignore\nimport EiaCalculatedHour from \"../../../../models/eiaCalculatedHour\"\n\nexport interface EiaStats {\n gridRate: number\n}\n\nexport const fetchEia = (site, yearStart, dayStart) =>\n EiaCalculatedHour.where({\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n ba_code: site.baCode,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start_time: yearStart,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end_time: dayStart,\n })\n .stats({\n co2e_factor_calculated: \"average\",\n })\n .all()\n .then((promise) =>\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n parseFloat(promise.meta.stats.co2e_factor_calculated.average)\n )\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type moment from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type Site from \"../../../../models/site\"\nimport { LBS_PER_METRIC_TON } from \"../../../../utils/constants\"\nimport type { EiaStats } from \"./useEiaUtils\"\nimport { fetchEia } from \"./useEiaUtils\"\n\ninterface UseEiaProps {\n endDate: moment.Moment\n site: Site\n startDate: moment.Moment\n}\n\nexport const useEia = ({ site, startDate, endDate }: UseEiaProps) => {\n const queryKey = useQueryKey(ApiQueryName.Eia, \"getOne\", null, {\n site,\n startDate,\n endDate,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => fetchEia(site, startDate.format(), endDate.format()),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!site && !!startDate && !!endDate && !!startDate?.isBefore(endDate),\n })\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const data = queryResult?.data\n\n // TODO: Remove the type conversion when we have this properly typed\n const filteredQueryResult = {\n ...queryResult,\n data: {\n gridRate: data / LBS_PER_METRIC_TON,\n },\n } as UseQueryResult\n return useRenamedQueryResult(queryKey, filteredQueryResult)\n}\n","// @ts-strict-ignore\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport Meter from \"../../../../models/meter\"\n\nexport interface AdditionalMeterData {\n billingGroupId: typeof Meter.prototype.billingGroupId\n childMeterNamesAndIds: typeof Meter.prototype.childMeterNamesAndIds\n energyAllocatorId: typeof Meter.prototype.energyAllocatorId\n id: typeof Meter.prototype.id\n meterCode: typeof Meter.prototype.meterCode\n meterType: typeof Meter.prototype.meterType\n name: typeof Meter.prototype.name\n}\n\ninterface ParentMeterDataWithChildMeterData {\n meterCount: number\n parentMeterAndChildData: AdditionalMeterData[]\n}\n\nconst getTypedAttributesFromMeterCollection = (\n resolvedResponse: CollectionProxy\n): ParentMeterDataWithChildMeterData => {\n const meters = resolvedResponse.data\n const parentMeterAndChildData =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n meters === undefined\n ? undefined\n : meters.map(\n ({\n id,\n typedAttributes: {\n name,\n meterCode,\n childMeterNamesAndIds,\n billingGroupId,\n energyAllocatorId,\n meterType,\n },\n }) => ({\n id,\n name,\n meterCode,\n billingGroupId,\n energyAllocatorId,\n childMeterNamesAndIds,\n meterType,\n })\n )\n const meterCount = Number.parseInt(\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n resolvedResponse.meta.stats.electricity_meters.count,\n 10\n )\n return {\n parentMeterAndChildData,\n meterCount,\n }\n}\n\nexport const fetchElectricityMeter = (\n siteId: string\n): Promise =>\n Meter.where({\n site_id: siteId,\n meter_source_type: \"Electricity\",\n full_meter: true,\n })\n .stats({ electricity_meters: \"count\" })\n .all()\n .then(getTypedAttributesFromMeterCollection)\n .then(({ parentMeterAndChildData, meterCount }) => ({\n parentMeterAndChildData,\n meterCount,\n }))\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { AdditionalMeterData } from \"./useElectricityMeterUtils\"\nimport { fetchElectricityMeter } from \"./useElectricityMeterUtils\"\n\n/**\n * Fetches electricity meter data for a site\n *\n * @example\n * const { electricityMeter, isElectricityMeterLoading, isElectricityMeterError } =\n * useElectricityMeter(\"8\")\n */\nexport const useElectricityMeter = (siteId: string) => {\n const queryKey = useQueryKey(ApiQueryName.ElectricityMeter, \"getOne\", siteId)\n const queryResult = useQuery<{\n meterCount: number\n parentMeterAndChildData: AdditionalMeterData[]\n }>({\n queryKey,\n queryFn: () => fetchElectricityMeter(siteId),\n enabled: !!siteId,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import MonthSummary from \"../../../../models/monthSummary\"\nimport type { IRange } from \"../../../../models/range\"\n\nexport const fetchMonthSummaries = async (\n siteId: string,\n dateRange: IRange\n): Promise => {\n const fetchedMonthlySummaries = await MonthSummary.where({\n siteId,\n startDate: dateRange.start,\n endDate: dateRange.end,\n })\n .all()\n .then((result) => result.data)\n return fetchedMonthlySummaries\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\nimport { fetchMonthSummaries } from \"./useMonthSummariesUtils\"\n\nexport const useMonthSummaries = (\n siteId: string,\n dateRange: IRange,\n options: { isDisabled?: boolean } = {}\n) => {\n const queryKey = useQueryKey(ApiQueryName.MonthSummaries, \"getMany\", null, {\n siteId,\n dateRange,\n })\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () => fetchMonthSummaries(siteId, dateRange),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n enabled: !!siteId && !!dateRange && !options.isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import moment from \"moment\"\n\nimport MonthSummary from \"../../../../models/monthSummary\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\n\ninterface MonthSummaryMinMaxDatesValue {\n end: moment.Moment\n start: moment.Moment\n}\n\nexport const fetchMonthSummariesMinMaxDates = async (\n siteId: string\n): Promise => {\n const result = await MonthSummary.where({\n siteId,\n })\n .stats({\n min_max_months: \"calculate\",\n })\n .per(0)\n .all()\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const data = snakeCaseToCamelCase(result.meta.stats.min_max_months.calculate)\n return {\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n start: moment(data.start),\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n end: moment(data.end),\n }\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchMonthSummariesMinMaxDates } from \"./useMonthSummariesMinMaxDatesUtils\"\n\nexport const useMonthSummariesMinMaxDates = (\n siteId: string | undefined,\n options: { isDisabled?: boolean } = {}\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.MonthSummariesMinMaxDates,\n \"getOne\",\n siteId\n )\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () => fetchMonthSummariesMinMaxDates(siteId),\n enabled: !!siteId && !options.isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// @ts-strict-ignore\nimport { useMemo } from \"react\"\n\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport type { UseQueryResult } from \"@tanstack/react-query\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\nimport type Site from \"../../../../models/site\"\nimport { fetchServiceHourMinMaxDates } from \"../../util/api/api\"\n\ninterface UseServiceHourMinMaxDatesValue {\n isServiceHourMinMaxDatesFetched: boolean\n isServiceHourMinMaxDatesInitialLoading: boolean\n isServiceHourMinMaxDatesLoading: boolean\n serviceHourMinMaxDates: IRange\n}\n\nexport const useServiceHourMinMaxDates = (\n site: Site | null\n): UseServiceHourMinMaxDatesValue => {\n const queryKey = useQueryKey(\n ApiQueryName.ServiceHourMinMaxDates,\n \"getOne\",\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.id\n )\n const queryResult = useQuery<{\n fetchedMaxDate: string\n fetchedMinDate: string\n }>({\n queryKey,\n queryFn: () => fetchServiceHourMinMaxDates(site),\n enabled: !!site,\n })\n\n const { data } = queryResult\n\n const modifiedData = useMemo(\n () => ({\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n start: data?.fetchedMinDate ? moment(data.fetchedMinDate) : null,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n end: data?.fetchedMaxDate ? moment(data.fetchedMaxDate) : null,\n }),\n [data]\n )\n\n const modifiedQueryResult = {\n ...queryResult,\n data: modifiedData,\n } as UseQueryResult>\n\n return useRenamedQueryResult(queryKey, modifiedQueryResult)\n}\n","import moment from \"moment-timezone\"\n\nimport ServiceHour from \"../../../../models/serviceHour\"\nimport type Site from \"../../../../models/site\"\n\nexport const fetchServiceHourMinMaxDates = (\n site: Site\n): Promise<{\n fetchedMaxDate: string | null\n fetchedMinDate: string | null\n}> =>\n ServiceHour.stats({\n min_max_dates: \"calculate\",\n })\n .where({\n site_id: site.id,\n metered_kwh: { gt: 0 },\n })\n .per(0)\n .all()\n .then((result) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const stats = result.meta.stats.min_max_dates.calculate\n const fetchedMinDate =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n stats.min_date === \"\" || stats.min_date === null\n ? null\n : // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n moment(stats.min_date).tz(site.timezone).format()\n const fetchedMaxDate =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n stats.max_date === \"\" || stats.max_date === null\n ? null\n : // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n moment(stats.max_date).tz(site.timezone).format()\n return {\n fetchedMaxDate,\n fetchedMinDate,\n }\n })\n","// @ts-strict-ignore\nimport { groupBy } from \"lodash-es\"\n\nimport EnergyAllocation from \"../../../../models/energyAllocation\"\nimport type Site from \"../../../../models/site\"\nimport type { SitePremiseFinancialSummary } from \"../../../../models/sitePremiseFinancialSummary\"\nimport {\n calculateTotalCost,\n calculateTotalVolume,\n parseFloatMetaStatSum,\n} from \"../../../../utils\"\nimport { KWH_PER_MWH } from \"../../../../utils/constants\"\nimport { snakeCaseToCamelCase } from \"../../../../utils/formatters\"\n\ninterface IAllocationStatsFromData {\n data: EnergyAllocation[]\n endDate: moment.Moment\n site: Site\n startDate: moment.Moment\n}\n\ninterface IFetchEnergyAllocationStats {\n totalCarbon: number\n totalCarbonBasedMWH: number\n totalCarbonFreeMWH: number\n totalCost: number\n totalMWH: number\n}\n\nconst fetchEnergyAllocationStats = ({\n yearStart,\n dayStart,\n siteId,\n billingGroupId,\n}): Promise =>\n EnergyAllocation.stats({\n co2e_lbs: \"sum\",\n financial_summaries_for_premise: \"calculate\",\n carbon_based_kwh: \"sum\",\n carbon_free_kwh: \"sum\",\n })\n .where({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start_time: yearStart,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end_time: dayStart,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n site_id: siteId,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n billing_group_id: billingGroupId,\n })\n .per(0)\n .all()\n .then(({ meta }) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const financialSummary: SitePremiseFinancialSummary =\n snakeCaseToCamelCase(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n meta.stats.financial_summaries_for_premise.calculate\n )\n const { totalCarbonBasedMWH, totalCarbonFreeMWH } = {\n totalCarbonBasedMWH:\n // Mass lint disable\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n parseFloatMetaStatSum(meta?.stats?.carbon_based_kwh?.sum) /\n KWH_PER_MWH,\n totalCarbonFreeMWH:\n // Mass lint disable\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n parseFloatMetaStatSum(meta?.stats?.carbon_free_kwh?.sum) /\n KWH_PER_MWH,\n }\n return {\n totalCost: calculateTotalCost(financialSummary),\n // Mass lint disable\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n totalCarbon: parseFloatMetaStatSum(meta?.stats?.co2e_lbs?.sum),\n totalCarbonBasedMWH,\n totalCarbonFreeMWH,\n totalMWH: calculateTotalVolume(financialSummary) / KWH_PER_MWH,\n }\n })\n\nexport const allocationStatsFromData = ({\n data,\n site,\n startDate,\n endDate,\n}: IAllocationStatsFromData) => {\n if (!site.isBundledEnergyCustomer()) {\n const defaultStats: IFetchEnergyAllocationStats = {\n totalCost: NaN,\n totalCarbon: NaN,\n totalMWH: NaN,\n totalCarbonBasedMWH: NaN,\n totalCarbonFreeMWH: NaN,\n }\n\n return {\n data,\n stats: [Promise.resolve(defaultStats)],\n }\n }\n\n const allocationsByBillingGroup = groupBy(data, \"billingGroupId\")\n const stats = Object.entries(allocationsByBillingGroup).map(\n (billingGroupIdWithValues) =>\n fetchEnergyAllocationStats({\n yearStart: startDate.format(),\n dayStart: endDate.clone().endOf(\"day\").format(),\n siteId: site.id,\n billingGroupId: billingGroupIdWithValues[0],\n })\n )\n\n return {\n data,\n stats,\n }\n}\n\ninterface IAllocationsAndStatsByBillingGroup {\n data: EnergyAllocation[]\n stats: Promise[]\n}\n\nexport const allocationsWithCombinedStat = (\n promise: Promise\n) =>\n promise.then(\n ({\n data,\n stats,\n }: {\n data: EnergyAllocation[]\n stats: Promise[]\n }) =>\n Promise.all(stats).then((allStats) => {\n const totalStat = allStats.reduce(\n (total, stat) => {\n total.totalCost += stat.totalCost\n total.totalCarbon += Number(stat.totalCarbon)\n total.totalMWH += Math.abs(stat.totalMWH)\n total.totalCarbonBasedMWH += Math.abs(stat.totalCarbonBasedMWH)\n total.totalCarbonFreeMWH += Math.abs(stat.totalCarbonFreeMWH)\n return total\n },\n {\n totalCarbon: 0,\n totalCost: 0,\n totalMWH: 0,\n totalCarbonBasedMWH: 0,\n totalCarbonFreeMWH: 0,\n }\n )\n return {\n stats: totalStat,\n energyAllocations: data,\n }\n })\n )\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport EnergyAllocation from \"../../../../models/energyAllocation\"\nimport type Site from \"../../../../models/site\"\nimport {\n allocationStatsFromData,\n allocationsWithCombinedStat,\n} from \"./useSiteEnergyAllocationUtils\"\n\nexport const useSiteEnergyAllocation = (\n startDate: moment.Moment,\n endDate: moment.Moment,\n site: Site,\n options: { isDisabled?: boolean } = {}\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteEnergyAllocation,\n \"getOne\",\n null,\n {\n startDate,\n endDate,\n site,\n }\n )\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () =>\n allocationsWithCombinedStat(\n EnergyAllocation.fetchInPages({\n clause: {\n startTime: startDate.format(),\n endTime: endDate.clone().endOf(\"day\").format(),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n siteId: site?.id,\n },\n }).then(({ data }) =>\n allocationStatsFromData({ data, site, startDate, endDate })\n )\n ),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!startDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!endDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate?.isSameOrBefore(endDate) &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!site &&\n !options.isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchSiteExtraAttributes } from \"./useSiteExtraAttributesUtils\"\n\n/**\n * Hook to provide site extra attributes and provide loading states.\n *\n * @example\n * const {\n * siteExtraAttributes,\n * isSiteExtraAttributesFetched,\n * isSiteExtraAttributesLoading\n * } = useSiteExtraAttributes(\"example-site-id\");\n */\nexport const useSiteExtraAttributes = (siteId: string | undefined) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteExtraAttributes,\n \"getOne\",\n siteId\n )\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchSiteExtraAttributes({ siteId }),\n enabled: !!siteId,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import Site from \"../../../../models/site\"\n\ninterface IFetchSiteExtraAttributes {\n hasAmiMeter: boolean\n hasAmrMeter: boolean\n hasSubMeter: boolean\n probeMeter: boolean\n}\n\nexport const fetchSiteExtraAttributes = ({\n siteId,\n}: {\n siteId: string\n}): Promise =>\n Site.selectExtra([\n \"has_ami_meter\",\n \"has_amr_meter\",\n \"has_sub_meter\",\n \"probe_meter\",\n ])\n .find(siteId)\n .then((fetchedSite) => ({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n hasAmiMeter: fetchedSite.data.attributes.hasAmiMeter,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n hasAmrMeter: fetchedSite.data.attributes.hasAmrMeter,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n hasSubMeter: fetchedSite.data.attributes.hasSubMeter,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n probeMeter: fetchedSite.data.attributes.probeMeter,\n }))\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type Site from \"../../../../models/site\"\nimport { fetchSiteFinancialSummaries } from \"./useSiteFinancialSummariesUtils\"\n\n/**\n * A hook that retrieves financial summaries for a given site within a specified date range.\n *\n * @returns An object containing financial summaries, loading and fetched states.\n *\n * @example\n * const {\n * financialSummaries,\n * isFinancialSummariesFetched,\n * isFinancialSummariesLoading\n * } = useFinancialSummaries(\n * \"123\",\n * moment(),\n * moment(),\n * 1,\n * false\n * );\n */\nexport const useSiteFinancialSummaries = (\n site: Site,\n searchStartDate: moment.Moment,\n searchEndDate: moment.Moment,\n siteMetersCount: number,\n siteIsAmi: boolean,\n options?: { isDisabled: boolean }\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteFinancialSummaries,\n \"getMany\",\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.id,\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: searchStartDate?.format(\"YYYY-MM-DD\"),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: searchEndDate?.format(\"YYYY-MM-DD\"),\n }\n )\n const queryResult = useQuery({\n queryKey,\n queryFn: () =>\n fetchSiteFinancialSummaries({\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n siteId: site?.id,\n searchStartDate,\n searchEndDate,\n }),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!site &&\n siteIsAmi &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!searchStartDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!searchEndDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!site?.isBundledEnergyCustomer() &&\n !options?.isDisabled &&\n !Number.isNaN(siteMetersCount),\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import EnergyAllocation from \"../../../../models/energyAllocation\"\nimport type { SitePremiseFinancialSummary } from \"../../../../models/sitePremiseFinancialSummary\"\nimport { fetchSequentially } from \"../../../../utils\"\n\ninterface FetchSiteFinancialSummaryProps {\n searchEndDate: moment.Moment\n searchStartDate: moment.Moment\n siteId: string | number\n}\n\nexport const fetchSiteFinancialSummaries = ({\n siteId,\n searchStartDate,\n searchEndDate,\n}: FetchSiteFinancialSummaryProps): Promise =>\n EnergyAllocation.fetchBillingGroups({\n siteId,\n searchStartDate,\n searchEndDate,\n }).then((billingGroupIds) => {\n const promiseArray = billingGroupIds\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n .filter((billingGroupId) => billingGroupId !== null)\n .map((billingGroupId) =>\n EnergyAllocation.fetchFinancialSummary({\n siteId,\n searchStartDate,\n searchEndDate,\n billingGroupId,\n })\n )\n return fetchSequentially(promiseArray).then(\n (premiseFinancialSummaryResults: SitePremiseFinancialSummary[]) => {\n const summaries = premiseFinancialSummaryResults\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n .filter((x) => x != null)\n .sort(\n (ea1, ea2) =>\n Number(ea1.billingGroupName) - Number(ea2.billingGroupName)\n )\n return summaries\n }\n )\n })\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class ForecastDay extends ApplicationRecord {\n public static jsonapiType = \"forecast_days\"\n\n @Attr() public day: Date\n\n @Attr() public icon: string\n\n @Attr() public description: string\n\n @Attr() public high: number\n\n @Attr() public highC: number\n\n @Attr() public low: number\n\n @Attr() public lowC: number\n\n @Attr() public humidity: number\n}\n","// @ts-strict-ignore\nimport ForecastDay from \"@/models/forecastDay\"\n\n/**\n * Fetches forecast days\n * @param whereClause - Where clause to filter the data.\n * @param selectExtraClause - Select extra clause to include extra data.\n * @returns A promise that resolves to an array like container of ForecastDay.\n * */\nexport const fetchForecastDays = async ({ whereClause, selectExtraClause }) =>\n ForecastDay.where(whereClause)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .selectExtra(selectExtraClause)\n .order({ day: \"desc\" })\n // Page size should be passed in instead of hardcoded\n .per(100)\n .all()\n .then((response) => response.data)\n\nexport default { fetchForecastDays }\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type moment from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { LanguageRegion } from \"../../../../models/i18n\"\nimport { MeasurementSystem } from \"../../../../models/measurementSystem\"\nimport { getMeasurementSystem } from \"../../../../utils\"\nimport { fetchForecastDays } from \"./useForecastDaysUtils\"\n\n/**\n *\n * @param startDate the start date used for filters.\n * @param endDate the end date used for filters.\n * @param locationId the location id used for filters.\n * @param languageRegion the language region used for filters.\n * @param options can be used to disable the query.\n * @returns An array of ForecastDay objects.\n *\n * @example\n * const {\n * forecastDays,\n * isForecastDaysLoading,\n * isForecastDaysFetching,\n * isForecastDaysFetched,\n * } = useForecastDays(\n * {start: moment(\"2023-09-01\"), end: moment(\"2023-09-01\").endOf(\"month\"), locationId: \"4\", languageRegion: \"en-US\"}\n * )\n */\nexport const useForecastDays = (\n startDate: moment.Moment,\n endDate: moment.Moment,\n locationId: string,\n languageRegion: LanguageRegion,\n options?: { isDisabled?: boolean }\n) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const formattedStartDate = startDate?.format(\"YYYY-MM-DD\")\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const formattedEndDate = endDate?.clone().endOf(\"day\").format(\"YYYY-MM-DD\")\n\n const queryKey = useQueryKey(ApiQueryName.ForecastDays, \"getMany\", null, {\n formattedStartDate,\n formattedEndDate,\n locationId,\n languageRegion,\n })\n\n const selectCelsius =\n getMeasurementSystem(languageRegion) === MeasurementSystem.SI\n\n const selectExtraClause = selectCelsius ? [\"high_c\", \"low_c\"] : []\n\n const whereClause = {\n day: {\n gte: formattedStartDate,\n lte: formattedEndDate,\n },\n location_id: locationId,\n }\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () => fetchForecastDays({ whereClause, selectExtraClause }),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!startDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!endDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate?.isBefore(endDate) &&\n !!locationId &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!languageRegion &&\n !options.isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import moment from \"moment\"\nimport { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class ForecastHour extends ApplicationRecord {\n public static jsonapiType = \"forecast_hours\"\n\n @Attr() public hour: moment.Moment\n\n @Attr() public icon: string\n\n @Attr() public description: string\n\n @Attr() public temp: number\n\n @Attr() public tempC: number\n\n @Attr() public humidity: number\n}\n","// @ts-strict-ignore\nimport ForecastHour from \"@/models/forecastHour\"\n\n/**\n * Fetches forecast hours\n * @param whereClause - Where clause to filter the data.\n * @param selectExtraClause - Select extra clause to include extra data.\n * @returns A promise that resolves to an array like container of ForecastHour.\n * */\nexport const fetchForecastHours = async ({ whereClause, selectExtraClause }) =>\n ForecastHour.where(whereClause)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .selectExtra(selectExtraClause)\n .order(\"hour\")\n // Page size should be passed in instead of hardcoded\n .per(100)\n .all()\n .then((response) => response.data)\n\nexport default { fetchForecastHours }\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type moment from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { LanguageRegion } from \"../../../../models/i18n\"\nimport { MeasurementSystem } from \"../../../../models/measurementSystem\"\nimport { getMeasurementSystem } from \"../../../../utils\"\nimport { fetchForecastHours } from \"./useForecastHoursUtils\"\n\n/**\n *\n * @param startDate the start date used for filters.\n * @param endDate the end date used for filters.\n * @param locationId the location id used for filters.\n * @param languageRegion the language region used for filters.\n * @param options can be used to disable the query.\n * @returns An array of ForecastHour objects.\n *\n * @example\n * const {\n * forecastHours,\n * isForecastHoursLoading,\n * isForecastHoursFetching,\n * isForecastHoursFetched,\n * } = useForecastHours(\n * {start: moment(\"2023-09-01\"), end: moment(\"2023-09-01\").endOf(\"month\"), locationId: \"4\", languageRegion: \"en-US\"}\n * )\n */\nexport const useForecastHours = (\n startDate: moment.Moment,\n endDate: moment.Moment,\n locationId: string,\n languageRegion: LanguageRegion,\n options?: { isDisabled?: boolean }\n) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const formattedStartDate = startDate?.format()\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const formattedEndDate = endDate?.clone().endOf(\"day\").format()\n\n const queryKey = useQueryKey(ApiQueryName.ForecastHours, \"getMany\", null, {\n formattedStartDate,\n formattedEndDate,\n locationId,\n languageRegion,\n })\n\n const selectCelsius =\n getMeasurementSystem(languageRegion) === MeasurementSystem.SI\n\n const selectExtraClause = selectCelsius ? [\"temp_c\"] : []\n\n const whereClause = {\n hour: {\n gte: formattedStartDate,\n lte: formattedEndDate,\n },\n location_id: locationId,\n }\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () => fetchForecastHours({ whereClause, selectExtraClause }),\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!startDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!endDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate?.isBefore(endDate) &&\n !!locationId &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!languageRegion &&\n !options.isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport { CurrencyWithPlaceholder } from \"../../../../../../components/currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { UsageRateDecimal } from \"../../../../../../components/decimal/usageRateDecimal/usageRateDecimal\"\nimport Metric from \"../../../../../../components/metric/metric\"\nimport { Unit } from \"../../../../../../components/unit/unit\"\nimport { UnitName } from \"../../../../../../models/unit\"\nimport {\n KWH_PER_MWH,\n LBS_PER_METRIC_TON,\n} from \"../../../../../../utils/constants\"\nimport type { IFetchEnergyAllocationStats } from \"../../../../../../utils/spraypaintApi\"\n\ninterface EnergyMetricsProps {\n energyAllocationStats: IFetchEnergyAllocationStats\n wattUnit: UnitName\n}\n\nconst EnergyMetrics: React.FC = ({\n wattUnit,\n energyAllocationStats,\n}) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalCarbon: number = energyAllocationStats?.totalCarbon\n const carbonIntensity: number =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n energyAllocationStats?.totalMWH > 0\n ? energyAllocationStats.totalCarbon / energyAllocationStats.totalMWH\n : 0\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalCost: number = energyAllocationStats?.totalCost\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalMWH: number = energyAllocationStats?.totalMWH\n\n const unitizedTotalCarbon: number = Number(totalCarbon) / LBS_PER_METRIC_TON\n const unitizedCarbonIntensity: number =\n Number(carbonIntensity) / LBS_PER_METRIC_TON\n\n const isMwhSelected: boolean = wattUnit === UnitName.MegawattHour\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default EnergyMetrics\n","// @ts-strict-ignore\nimport React, { useEffect, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { ScaleLinear } from \"d3\"\nimport { selectAll } from \"d3\"\nimport { isNull } from \"lodash-es\"\n\nimport { useTheme } from \"@mui/material\"\n\nimport { BarGraphBackground } from \"../../../../../../../components/graph/barBackgroundComponent\"\nimport { BarGraph } from \"../../../../../../../components/graph/barGraphComponent\"\nimport {\n clearYAxis,\n renderSecondaryYAxis,\n scaleY,\n} from \"../../../../../../../components/graph/secondaryYAxis\"\nimport { renderYAxis } from \"../../../../../../../components/graph/yAxis\"\nimport type EnergyAllocation from \"../../../../../../../models/energyAllocation\"\nimport type { UnitName } from \"../../../../../../../models/unit\"\nimport {\n GRAPH_COST_OR_CARBON_INTENSITY,\n TIME_RANGES,\n} from \"../../../../../../../utils/constants\"\nimport { useUserSettings } from \"../../../../../../settings/contexts/userSettings.provider\"\n\nexport const EnergyProfileGraph = ({\n onHover,\n pageWidth,\n graphDataGroups,\n timeRange,\n axisUnit,\n onHourSelect,\n wattUnit,\n showMeterData,\n showCostOrCarbonIntensity,\n maxVolumeDomain,\n maxAvgCostDomain,\n maxAvgCarbonIntensityDomain,\n energyAllocations,\n isLoading,\n isFlyoutActive,\n}: {\n axisUnit: string\n energyAllocations\n graphDataGroups\n isFlyoutActive: boolean\n isLoading: boolean\n maxAvgCarbonIntensityDomain\n maxAvgCostDomain\n maxVolumeDomain\n onHourSelect\n onHover\n pageWidth: number\n showCostOrCarbonIntensity: GRAPH_COST_OR_CARBON_INTENSITY\n showMeterData\n timeRange\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}) => {\n const theme = useTheme()\n const { i18n } = useTranslation()\n const userSettings = useUserSettings()\n const [displayedEnergyAllocations, setDisplayedEnergyAllocations] =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n useState(energyAllocations)\n const [primaryYLineScale, setPrimaryYLineScale] = useState<{\n yFunc: ScaleLinear\n }>(null)\n const [secondaryYLineScale, setSecondaryYLineScale] = useState<{\n yFunc: ScaleLinear\n }>(null)\n const [secondaryYRenderer, setSecondaryYRenderer] = useState<{\n args: {\n height\n maxDomainValue\n wattUnit\n width\n }\n renderFunc: ({\n height,\n maxDomainValue,\n wattUnit,\n width,\n }: {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n height: any\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n maxDomainValue: any\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n width: any\n }) => void\n }>(null)\n const graphRef = React.useRef(null)\n\n const height = 400\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const baseWidth = pageWidth / graphDataGroups.length\n const isSingleDay =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n timeRange === TIME_RANGES.DAY && graphDataGroups.length === 1\n const isMonth =\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n timeRange === TIME_RANGES.MONTH && graphDataGroups.length === 1\n const outerPadding = 100\n const middlePadding = 20\n const graphWidth =\n isSingleDay || isMonth\n ? // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (pageWidth - outerPadding * 2) / graphDataGroups.length\n : // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (pageWidth - outerPadding * 2 - middlePadding) / graphDataGroups.length\n const firstGraph = (idx) => idx === 0\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const onClick = onHourSelect\n\n useEffect(() => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n setDisplayedEnergyAllocations(energyAllocations)\n }, [energyAllocations])\n\n useEffect(() => {\n const yFunc = renderYAxis({\n axisUnit,\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue: maxVolumeDomain,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n timeRange,\n wattUnit,\n width: pageWidth,\n outerPadding,\n i18nService: i18n,\n userSettings,\n })\n\n const yFunc2 = scaleY({\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue:\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? maxAvgCostDomain\n : maxAvgCarbonIntensityDomain,\n wattUnit,\n axisType: showCostOrCarbonIntensity,\n i18nService: i18n,\n userSettings,\n })\n const renderYAxis2 = {\n renderFunc: renderSecondaryYAxis,\n args: {\n height,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n maxDomainValue:\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.COST\n ? maxAvgCostDomain\n : maxAvgCarbonIntensityDomain,\n axisType: showCostOrCarbonIntensity,\n wattUnit,\n width: pageWidth,\n i18nService: i18n,\n userSettings,\n },\n }\n\n setPrimaryYLineScale({ yFunc })\n setSecondaryYLineScale({ yFunc: yFunc2 })\n setSecondaryYRenderer({ ...renderYAxis2 })\n\n return () => {\n selectAll(\"g.yaxis\").remove()\n }\n // migrate directories to strict mode\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n displayedEnergyAllocations,\n pageWidth,\n axisUnit,\n wattUnit,\n pageWidth,\n i18n,\n showCostOrCarbonIntensity,\n ])\n\n useEffect(() => {\n if (\n showCostOrCarbonIntensity !== GRAPH_COST_OR_CARBON_INTENSITY.NONE &&\n !isNull(secondaryYRenderer)\n ) {\n secondaryYRenderer.renderFunc(secondaryYRenderer.args)\n } else if (\n showCostOrCarbonIntensity === GRAPH_COST_OR_CARBON_INTENSITY.NONE\n ) {\n clearYAxis(\"g.secondary-y-axis-container\")\n }\n }, [showCostOrCarbonIntensity, secondaryYRenderer])\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (graphDataGroups.length < 1) {\n return (\n !isLoading && (\n
    \n
    \n

    \n Electricity Data Unavailable.\n

    \n
    \n
    \n Please select a different date range.\n
    \n
    \n )\n )\n }\n\n return (\n \n \n \n \n \n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {(!graphRef.current || isLoading) && (\n \n )}\n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {graphRef.current &&\n !isLoading &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n primaryYLineScale &&\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n graphDataGroups.map((graphDataGroup, idx) => (\n // migrate directories to strict mode\n // eslint-disable-next-line react/no-array-index-key\n \n \n \n \n \n ))}\n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {graphRef.current &&\n !isLoading &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n primaryYLineScale &&\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n graphDataGroups.map((graphDataGroup, idx) => (\n \n ))}\n \n \n )\n}\n","import type { Moment } from \"moment\"\n\nexport enum HoverLabelUnit {\n Day,\n Hour,\n}\n\nexport const constructHoverLabel = (\n hour: Moment,\n unit: HoverLabelUnit = HoverLabelUnit.Hour\n): string => {\n if (unit === HoverLabelUnit.Hour) {\n return `HOUR END ${(hour.hour() + 1).toString().padStart(2, \"0\")}`\n }\n if (unit === HoverLabelUnit.Day) {\n return hour.format(\"M/D\")\n }\n}\n","// @ts-strict-ignore\nimport type { GraphData } from \"@/components/graph/graphData\"\nimport type Product from \"@/components/graph/product\"\nimport helpUrl from \"@/icons/help.svg\"\nimport clearDayUrl from \"@/icons/weather/clear-day.svg\"\nimport clearNightUrl from \"@/icons/weather/clear-night.svg\"\nimport cloudyUrl from \"@/icons/weather/cloudy.svg\"\nimport fogUrl from \"@/icons/weather/fog.svg\"\nimport partlyCloudyDayUrl from \"@/icons/weather/partly-cloudy-day.svg\"\nimport partlyCloudyNightUrl from \"@/icons/weather/partly-cloudy-night.svg\"\nimport rainUrl from \"@/icons/weather/rain.svg\"\nimport sleetUrl from \"@/icons/weather/sleet.svg\"\nimport snowUrl from \"@/icons/weather/snow.svg\"\nimport windUrl from \"@/icons/weather/wind.svg\"\nimport EnergyAllocation from \"@/models/energyAllocation\"\nimport ForecastDay from \"@/models/forecastDay\"\nimport ForecastHour from \"@/models/forecastHour\"\nimport type { LanguageRegion } from \"@/models/i18n\"\nimport { MeasurementSystem } from \"@/models/measurementSystem\"\nimport type { Weather } from \"@/models/weather\"\nimport { calculateMeteredKwhByProducts } from \"@/utils\"\nimport { darkGray, dustyGray } from \"@/utils/colors\"\nimport { CENTS_PER_DOLLAR, KWH_PER_MWH, TIME_RANGES } from \"@/utils/constants\"\nimport { translateDate } from \"@/utils/date\"\nimport { getMeasurementSystem } from \"@/utils/measurementSystem\"\nimport { HoverLabelUnit, constructHoverLabel } from \"@/utils/timeHelpers\"\nimport type { i18n } from \"i18next\"\nimport { max, uniqBy } from \"lodash-es\"\nimport moment from \"moment\"\n\nexport const avgCost = (meteredKwh: number, products: Product[]) => {\n const costCents = products.reduce((sum, p) => sum + p.cost, 0)\n return costCents / CENTS_PER_DOLLAR / (meteredKwh / KWH_PER_MWH)\n}\n\nexport const energyAllocationsToDailyGraphData = (\n energyAllocations: EnergyAllocation[]\n): GraphData[] =>\n EnergyAllocation.aggregateByHour(energyAllocations).map(\n ({\n hour,\n hours,\n id,\n serviceHourIds,\n products,\n displayKwh,\n meteredKwh,\n }) => ({\n barLabel: (moment(hour).hour() + 1).toString().padStart(2, \"0\"),\n barLabelColor: meteredKwh ? darkGray : dustyGray,\n hour,\n hours,\n hoverLabel: constructHoverLabel(moment(hour)),\n id,\n serviceHourIds,\n lineValue: meteredKwh,\n products,\n displayKwh,\n avgCost: avgCost(meteredKwh, products),\n meteredKwh: calculateMeteredKwhByProducts(products),\n co2eLbs: products.reduce((sum, p) => sum + p.co2eLbs, 0),\n carbonIntensity:\n products.reduce((sum, p) => sum + p.co2eLbs, 0) / meteredKwh,\n })\n )\n\nexport const energyAllocationsToMultiDayData = (\n energyAllocations: EnergyAllocation[],\n i18nService: i18n\n): GraphData[] =>\n EnergyAllocation.aggregateByDay(energyAllocations).map((energyAllocation) => {\n const {\n hour,\n hours,\n id,\n meteredKwh,\n displayKwh,\n products,\n serviceHourIds,\n } = energyAllocation\n\n const graphDatum: GraphData = {\n barLabel: translateDate(i18nService, hour, {\n day: \"numeric\",\n month: \"numeric\",\n }),\n barLabelColor: meteredKwh ? darkGray : dustyGray,\n hours: uniqBy(hours, (hourMoment) => hourMoment.format()),\n hour: moment(hour),\n hoverLabel: constructHoverLabel(moment(hour), HoverLabelUnit.Day),\n id,\n lineValue: meteredKwh,\n products,\n displayKwh,\n serviceHourIds,\n avgCost: avgCost(meteredKwh, products),\n meteredKwh: calculateMeteredKwhByProducts(products),\n co2eLbs: products.reduce((sum, p) => sum + p.co2eLbs, 0),\n carbonIntensity:\n products.reduce((sum, p) => sum + p.co2eLbs, 0) / meteredKwh,\n }\n\n return graphDatum\n })\n\nexport const selectDataGroupByTimeKey = (timeRange: TIME_RANGES) => {\n if (timeRange === TIME_RANGES.MONTH) {\n return () => \"\"\n }\n return (datum: GraphData) => datum.hour.format(\"YYY/MM/DD\")\n}\n\nexport const getMaxVolumeDomain = (graphData: GraphData[]): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const totalKwhs = graphData.map((graphDatum) =>\n Math.max(\n Math.abs(graphDatum.lineValue) || 0,\n Math.abs(graphDatum.displayKwh)\n )\n )\n return max(totalKwhs) * 1.1\n}\n\nexport const getMaxAvgCostDomain = (graphData: GraphData[]): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const avgCosts = graphData.map((datum) => datum.avgCost)\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n return (max(avgCosts) || 0) * 2\n}\n\nexport const getMaxAvgCarbonIntensityDomain = (\n graphData: GraphData[]\n): number => {\n if (graphData.length === 0) {\n return NaN\n }\n\n const avgCarbonIntensities = graphData.map((datum) => datum.carbonIntensity)\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n return (max(avgCarbonIntensities) || 0) * 2\n}\n\nexport const getGraphData = (opts: {\n energyAllocations: EnergyAllocation[]\n i18nService: i18n\n timeRange: TIME_RANGES\n}) => {\n const { timeRange, energyAllocations, i18nService } = opts\n\n if (timeRange === TIME_RANGES.DAY) {\n return energyAllocationsToDailyGraphData(energyAllocations)\n }\n\n return energyAllocationsToMultiDayData(energyAllocations, i18nService)\n}\n\ninterface GetWeatherProps {\n activeHour: number | null\n forecastDays: ForecastDay[] | undefined\n forecastHours: ForecastHour[] | undefined\n languageRegion: LanguageRegion\n timeRange: TIME_RANGES\n}\n\nconst weatherUrls: Record = {\n \"clear-day\": clearDayUrl,\n \"clear-night\": clearNightUrl,\n cloudy: cloudyUrl,\n fog: fogUrl,\n \"partly-cloudy-day\": partlyCloudyDayUrl,\n \"partly-cloudy-night\": partlyCloudyNightUrl,\n rain: rainUrl,\n sleet: sleetUrl,\n snow: snowUrl,\n wind: windUrl,\n Clear: clearDayUrl,\n Overcast: cloudyUrl,\n Sunny: clearDayUrl,\n \"Partly cloudy\": partlyCloudyDayUrl,\n \"Patchy rain possible\": rainUrl,\n \"Light rain shower\": rainUrl,\n \"Light drizzle\": rainUrl,\n \"Light rain\": rainUrl,\n}\n\nexport const getWeather = ({\n activeHour,\n forecastDays,\n forecastHours,\n timeRange,\n languageRegion,\n}: GetWeatherProps): Weather => {\n let temp: number\n const emptyForecast: Weather = {\n description: \"Unknown\",\n humidity: \"--\",\n icon: helpUrl,\n temp: \"--\",\n }\n\n const forecast: ForecastDay | ForecastHour | undefined =\n timeRange === TIME_RANGES.DAY\n ? forecastHours?.find((forecastHour) =>\n moment(activeHour * 1000).isSame(moment(forecastHour.hour))\n )\n : forecastDays?.find((forecastDay) =>\n moment(activeHour * 1000).isSame(moment(forecastDay.day), \"day\")\n )\n\n if (!forecast) {\n return emptyForecast\n }\n\n const isFahrenheit: boolean =\n getMeasurementSystem(languageRegion) === MeasurementSystem.USCU\n const isForecastDay: boolean = forecast instanceof ForecastDay\n const isForecastHour: boolean = forecast instanceof ForecastHour\n\n if (isForecastDay) {\n const localForecast = forecast as ForecastDay\n temp = isFahrenheit ? localForecast.high : localForecast.highC\n } else if (isForecastHour) {\n const localForecast = forecast as ForecastHour\n temp = isFahrenheit ? localForecast.temp : localForecast.tempC\n }\n\n return {\n description: forecast.description,\n humidity: (\n Math.ceil(forecast.humidity * 100) || emptyForecast.humidity\n ).toString(),\n icon: weatherUrls[forecast.icon] || emptyForecast.icon,\n temp: Math.round(temp) || emptyForecast.temp,\n }\n}\n\nexport default {\n avgCost,\n energyAllocationsToDailyGraphData,\n energyAllocationsToMultiDayData,\n getMaxVolumeDomain,\n getMaxAvgCostDomain,\n getMaxAvgCarbonIntensityDomain,\n getGraphData,\n getWeather,\n selectDataGroupByTimeKey,\n}\n","// @ts-strict-ignore\nimport React, { useMemo, useState } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { groupBy } from \"lodash-es\"\n\nimport type { GraphData } from \"../../../../../../components/graph/graphData\"\nimport { GraphFlyout } from \"../../../../../../components/graphFlyout\"\nimport { GraphLegend } from \"../../../../../../components/graphLegend\"\nimport { LoadingSpinner } from \"../../../../../../components/loadingSpinner\"\nimport type { Config } from \"../../../../../../components/tooltip\"\nimport { Tooltip, emptyConfig } from \"../../../../../../components/tooltip\"\nimport { Unit } from \"../../../../../../components/unit/unit\"\nimport useMeasure from \"../../../../../../hooks/useMeasure/useMeasure\"\nimport type EnergyAllocation from \"../../../../../../models/energyAllocation\"\nimport type ForecastDay from \"../../../../../../models/forecastDay\"\nimport type ForecastHour from \"../../../../../../models/forecastHour\"\nimport type { LanguageRegion } from \"../../../../../../models/i18n\"\nimport { UnitName } from \"../../../../../../models/unit\"\nimport type { EnergyUnit, TIME_RANGES } from \"../../../../../../utils/constants\"\nimport {\n GRAPH_COST_OR_CARBON_INTENSITY,\n GRAPH_DETAIL_MODAL_ORIENTATION,\n} from \"../../../../../../utils/constants\"\nimport { EnergyProfileGraph } from \"./energyProfileGraph/energyProfileGraph\"\nimport {\n getGraphData,\n getMaxAvgCarbonIntensityDomain,\n getMaxAvgCostDomain,\n getMaxVolumeDomain,\n getWeather,\n selectDataGroupByTimeKey,\n} from \"./energyProfileUtils\"\n\ninterface EnergyProfileProps {\n axisUnit: EnergyUnit\n energyAllocations: EnergyAllocation[]\n forecastDays: ForecastDay[]\n forecastHours: ForecastHour[]\n isLoading: boolean\n onHourSelect: (selectedBar: GraphData) => void\n timeRange: TIME_RANGES\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nexport const EnergyProfile = ({\n axisUnit,\n forecastDays,\n forecastHours,\n isLoading,\n onHourSelect,\n timeRange,\n wattUnit,\n energyAllocations,\n}: EnergyProfileProps) => {\n const { ref: containerRef, width: pageWidth } = useMeasure()\n const [hoverXPos, setHoverXPos] = useState(null)\n const [hoverYPos, setHoverYPos] = useState(null)\n const [activeHour, setActiveHour] = useState(null)\n const [graphDetailOrientation, setGraphDetailOrientation] =\n useState(\n GRAPH_DETAIL_MODAL_ORIENTATION.RIGHT\n )\n const [showMeterData, setShowMeterData] = useState(true)\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isEpgCostCarbonLineEnabled = isFeatureEnabled(\n FeatureFlags.EPG_COST_CARBON_LINE,\n organization\n )\n\n // create a state variable of enum of [COST, CARBON_INTENSITY, NONE]\n const [showCostOrCarbonIntensity, setShowCostOrCarbonIntensity] =\n useState(\n isEpgCostCarbonLineEnabled\n ? GRAPH_COST_OR_CARBON_INTENSITY.NONE\n : GRAPH_COST_OR_CARBON_INTENSITY.COST\n )\n\n const tooltipConfig: Config = useMemo(() => emptyConfig, [])\n const { i18n: i18nService } = useTranslation()\n\n const graphData = useMemo(\n () =>\n getGraphData({\n timeRange,\n energyAllocations,\n i18nService,\n }),\n [timeRange, energyAllocations, i18nService]\n )\n\n const graphDataGroups: GraphData[][] = useMemo(\n () =>\n Object.values(\n groupBy(graphData, selectDataGroupByTimeKey(timeRange))\n ).sort((a, b) => a[0].hour.unix() - b[0].hour.unix()),\n [graphData, timeRange]\n )\n\n const maxVolumeDomain = getMaxVolumeDomain(graphData)\n\n const maxAvgCostDomain = getMaxAvgCostDomain(graphData)\n const maxAvgCarbonIntensityDomain = getMaxAvgCarbonIntensityDomain(graphData)\n\n const handleShowCostOrCarbonIntensityChange = (\n value: GRAPH_COST_OR_CARBON_INTENSITY\n ) => {\n setShowCostOrCarbonIntensity(value)\n }\n\n const handleHover = ({\n xPos,\n yPos,\n orientation,\n timestamp,\n }: {\n orientation: GRAPH_DETAIL_MODAL_ORIENTATION\n timestamp: number\n xPos: number | null\n yPos: number\n }) => {\n setHoverXPos(xPos)\n setHoverYPos(yPos)\n setActiveHour(timestamp)\n setGraphDetailOrientation(orientation)\n }\n\n const headers = [\n ,\n ,\n <>Cost,\n ]\n\n return (\n
    \n
    \n {isLoading && (\n \n Loading graph...\n \n )}\n \n {tooltipConfig.content.length > 0 && }\n {graphData\n .filter((graphDatum) => graphDatum.hour.unix() === activeHour)\n .map((graphDatum, idx) => (\n \n ))}\n {\n setShowMeterData(!showMeterData)\n }}\n wattUnit={wattUnit}\n />\n
    \n
    \n )\n}\n","// @ts-strict-ignore\nimport React, { useCallback, useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { Moment } from \"moment\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { GraphData } from \"../../../../../components/graph/graphData\"\nimport useFilters from \"../../../../../hooks/useFilters/useFilters\"\nimport type EnergyAllocation from \"../../../../../models/energyAllocation\"\nimport DateFilter from \"../../../../../models/filter/dateFilter\"\nimport type { LanguageRegion } from \"../../../../../models/i18n\"\nimport type Site from \"../../../../../models/site\"\nimport type { UnitName } from \"../../../../../models/unit\"\nimport { EnergyUnit, TIME_RANGES } from \"../../../../../utils/constants\"\nimport type { IFetchEnergyAllocationStats } from \"../../../../../utils/spraypaintApi\"\nimport { useForecastDays } from \"../../../services/useForecastDays/useForecastDays\"\nimport { useForecastHours } from \"../../../services/useForecastHours/useForecastHours\"\nimport EnergyMetrics from \"./energyMetrics/energyMetrics\"\nimport { EnergyProfile } from \"./energyProfile/energyProfile\"\n\ninterface DailySummaryPanelProps {\n endDate: Moment\n energyAllocations: EnergyAllocation[]\n isBundled: boolean\n isParentLoading: boolean\n site: Site\n siteEnergyAllocationStats: IFetchEnergyAllocationStats\n startDate: Moment\n timeRange: TIME_RANGES\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nconst DailySummaryPanel = ({\n isParentLoading,\n isBundled,\n energyAllocations,\n wattUnit,\n siteEnergyAllocationStats,\n startDate,\n endDate,\n site,\n timeRange,\n}: DailySummaryPanelProps) => {\n const { i18n } = useTranslation()\n\n const { setFilters } = useFilters({\n start: DateFilter,\n end: DateFilter,\n })\n\n const { forecastDays, isForecastDaysFetching } = useForecastDays(\n startDate,\n endDate,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.locationId,\n i18n.language as LanguageRegion,\n {\n isDisabled: timeRange === TIME_RANGES.DAY,\n }\n )\n\n const { forecastHours, isForecastHoursFetching } = useForecastHours(\n startDate,\n endDate,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.locationId,\n i18n.language as LanguageRegion,\n {\n isDisabled: timeRange !== TIME_RANGES.DAY,\n }\n )\n\n const isLoading = useMemo(\n () => isParentLoading || isForecastDaysFetching || isForecastHoursFetching,\n [isParentLoading, isForecastDaysFetching, isForecastHoursFetching]\n )\n\n const handleSelectedBar = useCallback(\n (selectedBar: GraphData) => {\n const { hours } = selectedBar\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!hours?.length) {\n return\n }\n const sortedHours = hours.sort((h1, h2) => h1.unix() - h2.unix())\n const firstHour = sortedHours[0].clone()\n const lastHour = sortedHours[sortedHours.length - 1].clone()\n const fullDayHours =\n lastHour.diff(firstHour, \"hours\") >= 23 ||\n (firstHour.isDST() !== lastHour.isDST() &&\n lastHour.diff(firstHour, \"hours\") >= 22)\n if (fullDayHours) {\n setFilters({\n start: new DateFilter(firstHour),\n end: new DateFilter(lastHour),\n })\n }\n },\n [setFilters]\n )\n\n return (\n // TODO: Remove className when we fully refactor energy profile\n \n {isBundled && (\n \n )}\n \n \n )\n}\n\nexport default DailySummaryPanel\n","// @ts-strict-ignore\nimport type { Moment } from \"moment\"\n\nimport type { FinancialSummaryEnergyAllocator } from \"../../../../models/financialSummaryEnergyAllocator\"\nimport MeterHour from \"../../../../models/meterHour\"\nimport type { IRange } from \"../../../../models/range\"\n\ninterface FetchSiteProRatedUsageMeterValue {\n id: number\n meterCode: string\n meterType: string\n name: string\n subMeters: FetchSiteProRatedUsageMeterValue[]\n totalCost: string\n totalUsage: string\n}\n\nexport interface FetchSiteProRatedUsageMeterProps {\n // TODO: Refactor to allow a defined type for childMeterNamesAndIds\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n childMeterNamesAndIds?: any[]\n energyAllocator: FinancialSummaryEnergyAllocator\n meterCode: string\n meterId: number\n meterName: string\n meterType: string\n parentMeterVolume?: number\n searchEndDate: Moment\n searchStartDate: Moment\n}\n\nconst fetchTotalUsage = (\n meterId,\n { timeRange: { start, end } }: { timeRange: IRange }\n) =>\n MeterHour.where({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterId,\n hour: { gte: start.format(), lt: end.clone().endOf(\"day\").format() },\n power_flow_type: { eq: \"Delivered\" },\n })\n .per(0)\n .stats({\n metered_kwh: \"sum\",\n })\n .all()\n .then(({ meta }) => ({\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n meteredKwh: Number.parseFloat(meta.stats.metered_kwh.sum),\n }))\n\nexport const fetchSiteProRatedUsageMeters = ({\n searchStartDate,\n searchEndDate,\n meterCode,\n meterName,\n meterType,\n meterId,\n energyAllocator,\n parentMeterVolume,\n childMeterNamesAndIds = [],\n}: FetchSiteProRatedUsageMeterProps): Promise => {\n const emptyMeters: FetchSiteProRatedUsageMeterValue = {\n id: meterId,\n totalCost: \"\",\n totalUsage: \"\",\n meterCode,\n name: meterName,\n meterType,\n subMeters: [],\n }\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (energyAllocator === undefined) {\n return Promise.resolve(emptyMeters)\n }\n return fetchTotalUsage(meterId, {\n timeRange: { start: searchStartDate, end: searchEndDate },\n })\n .then(async ({ meteredKwh }) => {\n const childProRatedUsageData: FetchSiteProRatedUsageMeterValue[] =\n await Promise.all(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n childMeterNamesAndIds?.map(\n async ({\n id,\n meter_name: childMeterName,\n meter_code: childMeterCode,\n meter_type: childMeterType,\n }) => ({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n id,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n name: childMeterName,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterCode: childMeterCode,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterType: childMeterType,\n ...(await fetchSiteProRatedUsageMeters({\n searchStartDate,\n searchEndDate,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterCode: childMeterCode,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterName: childMeterName,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterType: childMeterType,\n meterId: Number(id),\n energyAllocator,\n parentMeterVolume: meteredKwh,\n }).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n return emptyMeters\n })),\n })\n )\n )\n const costRelativeVolume =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing, @typescript-eslint/no-unnecessary-condition\n parentMeterVolume || Number(energyAllocator?.meteredKwh)\n const relativeConsumption = meteredKwh / costRelativeVolume\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const cost = Number(energyAllocator?.total)\n return {\n meterCode,\n name: meterName,\n meterType,\n subMeters: childProRatedUsageData,\n id: meterId,\n totalCost: String(\n Number.isFinite(cost * relativeConsumption)\n ? cost * relativeConsumption\n : \"\"\n ),\n totalUsage: String(Number.isFinite(meteredKwh) ? meteredKwh : \"\"),\n }\n })\n .catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n return emptyMeters\n })\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\nimport type { MeterWithEnergyAllocator } from \"../../models/site\"\nimport { fetchSiteProRatedUsageMeters } from \"./useSiteProRatedUsageMetersUtils\"\n\nexport const useSiteProRatedUsageMeters = (\n metersWithEnergyAllocator: MeterWithEnergyAllocator[],\n dateRange: IRange,\n hasAmiMeter: boolean,\n isBundled: boolean\n) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const startDate: Moment | undefined = dateRange?.start\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const endDate: Moment | undefined = dateRange?.end\n const queryKey = useQueryKey(\n ApiQueryName.SiteProRatedUsageMeters,\n \"getMany\",\n null,\n {\n startDate: startDate?.format(\"YYYY-MM-DD\"),\n endDate: endDate?.format(\"YYYY-MM-DD\"),\n metersWithEnergyAllocator,\n }\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => {\n const meters = metersWithEnergyAllocator.map(\n async ({\n id,\n name,\n meterCode,\n meterType,\n childMeterNamesAndIds,\n energyAllocator,\n }) => {\n const result = fetchSiteProRatedUsageMeters({\n meterId: id,\n meterCode,\n meterName: name,\n meterType,\n energyAllocator,\n childMeterNamesAndIds,\n searchStartDate: startDate,\n searchEndDate: endDate,\n })\n return result\n }\n )\n return Promise.all(meters)\n },\n enabled:\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !!metersWithEnergyAllocator &&\n hasAmiMeter &&\n isBundled &&\n !!startDate?.isValid() &&\n !!endDate?.isValid(),\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import React from \"react\"\n\nimport InfoIcon from \"@mui/icons-material/Info\"\nimport { Box, Typography } from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../../models/typography\"\n\nconst footerText =\n \"Implementing sub meters can provide more frequent data reporting.\"\n\ninterface ElectricityHeaderMeterDataCardProps {\n meterTypeContent: string\n showFooter?: boolean\n}\n\nconst ElectricityHeaderMeterDataCard = ({\n meterTypeContent,\n showFooter = true,\n}: ElectricityHeaderMeterDataCardProps) => (\n \n \n {meterTypeContent}\n \n\n {showFooter && (\n ({\n backgroundColor: theme.palette.action.hover,\n display: \"flex\",\n p: \"8px\",\n borderRadius: \"4px\",\n })}\n >\n ({ color: theme.palette.text.secondary, mr: \"8px\" })}\n />\n {footerText}\n \n )}\n \n)\n\nexport default ElectricityHeaderMeterDataCard\n","// @ts-strict-ignore\nexport type MeterDataType =\n | \"siteHasSubMeter\"\n | \"siteIsAmi\"\n | \"siteIsAmr\"\n | \"siteIsProbe\"\n\nexport type MeterDataContent = [MeterDataType, boolean]\ninterface SiteDetails {\n containsAllAreAmi: boolean\n containsAllAreAmr: boolean\n containsAllAreProbe: boolean\n containsAllSubMeters: boolean\n containsAmiAndAmr: boolean\n containsAnyAmi: boolean\n containsAnyAmr: boolean\n containsAnyProbe: boolean\n containsAnySubMeters: boolean\n}\n\ninterface MeterDataDescriptionType {\n siteHasSubMeter: string\n siteIsAmi: string\n siteIsAmr: string\n siteIsProbe: string\n}\n\nexport const MeterDataTypeDescription: MeterDataDescriptionType = {\n siteHasSubMeter:\n \"Sub-Meter Data: This site gathers improved data granularity through a sub-meter. This data is collected daily and displayed in hourly increments.\",\n siteIsAmi:\n \"AMI Meter: This meter transmits data to your utility on a daily basis. Data is processed once received by your utility.\",\n siteIsAmr:\n \"AMR Meter: This legacy utility meter transmits data to your utility on a monthly basis. Data is processed once received by your utility.\",\n siteIsProbe:\n \"Probe Meter: This meter type collects data hourly but transmits to your utility on a monthly basis. Data is processed once received by your utility.\",\n}\n\nexport const enum LabelText {\n Daily = \"Daily Data\",\n Improved = \"Improved Data\",\n Mixed = \"Mixed Interval Data\",\n Monthly = \"Monthly Data\",\n}\n\nconst initialSiteDetailDefaults: SiteDetails = {\n containsAllSubMeters: true,\n containsAnySubMeters: undefined,\n containsAllAreAmi: undefined,\n containsAllAreAmr: undefined,\n containsAllAreProbe: undefined,\n containsAnyAmi: undefined,\n containsAnyAmr: undefined,\n containsAnyProbe: undefined,\n containsAmiAndAmr: undefined,\n}\n\nconst containsAnyOfType = ({\n previousValueOfType,\n typePresent,\n}: {\n previousValueOfType: boolean | undefined\n typePresent: boolean\n}): boolean => {\n if (previousValueOfType) {\n return previousValueOfType\n }\n return typePresent\n}\n\nconst containsAllOfType = ({\n previousValueOfType,\n typePresent,\n}: {\n previousValueOfType: boolean | undefined\n typePresent: boolean\n}): boolean => {\n if (typePresent && previousValueOfType !== undefined) {\n return previousValueOfType\n }\n return typePresent\n}\n\nconst currentIsType = ({\n currentValue,\n type,\n}: {\n currentValue: MeterDataContent\n type: MeterDataType\n}): boolean => currentValue[0] === type\n\n/**\n * @description Iterates through a collection to determine all or any presence for required data points\n * @param previousValue a value that starts with every key set as undefined except containsAllSubMeters is true until proven otherwise\n * @param currentValue an array of string and boolean where the string is used for determining meter type display\n * @returns a mutated version of the initial value\n * @usage [[\"siteHasSubMeter\", undefined]].reduce(dataContents)\n * @example\n * {\n containsAllSubMeters: true;\n containsAnySubMeters: true;\n containsAllAreAmi: false;\n containsAllAreAmr: false;\n containsAllAreProbe: false;\n containsAnyAmi: false;\n containsAnyAmr: false;\n containsAnyProbe: false;\n }\n */\nconst reduceToSiteDetails = (\n previousValue: SiteDetails,\n currentValue: MeterDataContent\n): SiteDetails => {\n const { siteHasSubMeter, siteIsAmi, siteIsAmr, siteIsProbe } =\n Object.fromEntries(\n [\"siteHasSubMeter\", \"siteIsAmi\", \"siteIsAmr\", \"siteIsProbe\"].map(\n (type: MeterDataType) => [\n type,\n currentIsType({\n currentValue,\n type,\n }),\n ]\n )\n )\n\n const { allAreAmr, allAreAmi, allAreProbe } = {\n allAreAmr: containsAllOfType({\n previousValueOfType: previousValue.containsAllAreAmr,\n typePresent: siteIsAmr,\n }),\n allAreAmi: containsAllOfType({\n previousValueOfType: previousValue.containsAllAreAmi,\n typePresent: siteIsAmi,\n }),\n allAreProbe: containsAllOfType({\n previousValueOfType: previousValue.containsAllAreProbe,\n typePresent: siteIsProbe,\n }),\n }\n\n const { anyProbe, anyAmi, anyAmr } = {\n anyProbe: containsAnyOfType({\n previousValueOfType: previousValue.containsAnyProbe,\n typePresent: siteIsProbe,\n }),\n anyAmi: containsAnyOfType({\n previousValueOfType: previousValue.containsAnyAmi,\n typePresent: siteIsAmi,\n }),\n anyAmr: containsAnyOfType({\n previousValueOfType: previousValue.containsAnyAmr,\n typePresent: siteIsAmr,\n }),\n }\n\n const containsAllSubMeters =\n previousValue.containsAllSubMeters && siteHasSubMeter\n const containsAnySubMeters = previousValue.containsAnySubMeters\n ? previousValue.containsAnySubMeters\n : siteHasSubMeter\n\n return {\n containsAllSubMeters,\n containsAnySubMeters,\n containsAllAreAmi: allAreAmi,\n containsAllAreAmr: allAreAmr,\n containsAllAreProbe: allAreProbe,\n containsAnyAmi: anyAmi,\n containsAnyAmr: anyAmr,\n containsAnyProbe: anyProbe,\n containsAmiAndAmr: anyAmi && anyAmr,\n }\n}\n\n/**\n * @description Iterates through a collection to determine the correct ButtonText\n * @param matrixOfPresentSiteDetails an array of meter types with unused booleans\n * @returns the selected text based on available meters\n * @usage getPopoverButtonText([[\"siteHasSubMeter\", undefined]])\n * @example \"Improved Data\"\n */\nexport const getPopoverButtonText = (\n matrixOfPresentSiteDetails: MeterDataContent[]\n): LabelText => {\n const siteDetails =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n matrixOfPresentSiteDetails.reduce(\n reduceToSiteDetails,\n initialSiteDetailDefaults\n ) ?? ({} as SiteDetails)\n\n if (siteDetails.containsAllAreAmi) {\n return LabelText.Daily\n }\n if (siteDetails.containsAllSubMeters) {\n return LabelText.Improved\n }\n if (\n (siteDetails.containsAnySubMeters &&\n (siteDetails.containsAnyProbe || siteDetails.containsAnyAmi)) ||\n (siteDetails.containsAnyProbe && siteDetails.containsAnyAmi) ||\n siteDetails.containsAmiAndAmr\n ) {\n return LabelText.Mixed\n }\n if (\n siteDetails.containsAllAreAmr ||\n siteDetails.containsAllAreProbe ||\n siteDetails.containsAnyAmr ||\n siteDetails.containsAnyProbe\n ) {\n return LabelText.Monthly\n }\n}\n","import type { MouseEvent } from \"react\"\nimport React, { useRef, useState } from \"react\"\n\nimport UpdateIcon from \"@mui/icons-material/Update\"\nimport { Box, Button, Popover } from \"@mui/material\"\n\nimport { getSiteDetailsMatrix } from \"../../../../../../utils/formatters\"\nimport ElectricityHeaderMeterDataCard from \"./electricityHeaderMeterDataCard/electricityHeaderMeterDataCard\"\nimport type { MeterDataContent } from \"./electricityHeaderMeterDataUtils\"\nimport {\n MeterDataTypeDescription,\n getPopoverButtonText,\n} from \"./electricityHeaderMeterDataUtils\"\n\ninterface ElectricityHeaderMeterDataProps {\n siteHasSubMeter: boolean\n siteIsAmi: boolean\n siteIsAmr: boolean\n siteIsProbe: boolean\n}\n\nconst ElectricityHeaderMeterData: React.FC = ({\n siteHasSubMeter,\n siteIsAmi,\n siteIsAmr,\n siteIsProbe,\n}) => {\n const buttonRef = useRef(null)\n const [anchorEl, setAnchorEl] = useState(null)\n const open = Boolean(anchorEl)\n\n // Filter only truthy values\n const matrixOfPresentSiteDetails = getSiteDetailsMatrix({\n siteHasSubMeter,\n siteIsAmi,\n siteIsAmr,\n siteIsProbe,\n }) as MeterDataContent[]\n\n const handlePopoverOpen = (event: MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n\n const handlePopoverClose = () => {\n setAnchorEl(null)\n }\n\n return siteHasSubMeter || siteIsAmi || siteIsAmr || siteIsProbe ? (\n \n }\n >\n {getPopoverButtonText(matrixOfPresentSiteDetails)}\n \n \n {!!matrixOfPresentSiteDetails.length &&\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n matrixOfPresentSiteDetails.map(([key, _], index) => (\n \n ))}\n \n \n ) : null\n}\n\nexport default ElectricityHeaderMeterData\n","import React from \"react\"\n\nimport { ToggleButton, ToggleButtonGroup } from \"@mui/material\"\n\nimport { UnitName } from \"../models/unit\"\nimport { Unit } from \"./unit/unit\"\n\nconst X_OFFSET = -210\nconst Y_OFFSET = 40\n\nexport interface Config {\n closePopup: () => void\n location: Location\n recomputeLocation: () => void\n setWattUnit: (u: UnitName.KilowattHour | UnitName.MegawattHour) => void\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nexport interface Location {\n left: number\n top: number\n}\n\nexport const SettingsPopup = ({\n closePopup,\n location: { left, top },\n recomputeLocation,\n setWattUnit,\n wattUnit,\n}: Config) => {\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.keyCode === 27) {\n closePopup()\n }\n }\n\n React.useEffect(() => {\n window.addEventListener(\"resize\", recomputeLocation)\n return () => {\n window.removeEventListener(\"resize\", recomputeLocation)\n }\n }, [])\n React.useEffect(() => {\n document.addEventListener(\"keydown\", handleKeyDown)\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown)\n }\n }, [])\n\n const handleChange = (\n _event: React.MouseEvent,\n unit: UnitName.KilowattHour | UnitName.MegawattHour\n ) => {\n if (unit !== null) {\n setWattUnit(unit)\n }\n }\n\n return (\n \n
    \n Energy axis\n \n \n \n \n \n \n \n \n
    \n
    \n )\n}\n","// @ts-strict-ignore\nimport type { MouseEvent } from \"react\"\nimport React, { useCallback, useEffect, useRef, useState } from \"react\"\n\nimport SettingsRoundedIcon from \"@mui/icons-material/SettingsRounded\"\nimport { Box, Button } from \"@mui/material\"\n\nimport { SettingsPopup } from \"../../../../../../components/settingsPopup\"\nimport type { UnitName } from \"../../../../../../models/unit\"\n\ninterface ElectricitySettingsProps {\n onEnergyUsageUnitChange: (\n wu: UnitName.KilowattHour | UnitName.MegawattHour\n ) => void\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\ninterface SettingsPopupLocation {\n left: number\n top: number\n}\n\nconst ElectricitySettings = ({\n wattUnit,\n onEnergyUsageUnitChange,\n}: ElectricitySettingsProps): JSX.Element => {\n const [settingsPopupLocation, setSettingsPopupLocation] =\n useState({\n left: 0,\n top: 0,\n })\n const [isOpen, setIsOpen] = useState(false)\n const wrapperRef = useRef(null)\n\n const handleClickOutside = (event) => {\n // Mass lint disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unnecessary-condition\n if (wrapperRef.current && !wrapperRef.current.contains(event.target)) {\n setIsOpen(false)\n }\n }\n\n useEffect(() => {\n document.addEventListener(\"click\", handleClickOutside, false)\n return () => {\n document.removeEventListener(\"click\", handleClickOutside, false)\n }\n }, [])\n\n const togglePopup = (e: MouseEvent) => {\n const currentTarget = e.currentTarget as HTMLElement\n\n if (!isOpen) {\n setSettingsPopupLocation({\n left: currentTarget.offsetLeft,\n top: currentTarget.offsetTop,\n })\n }\n setIsOpen(!isOpen)\n }\n\n const recomputeLocation = useCallback(() => {\n const settingsToggle = document.getElementById(\"settingsToggle\")\n if (!settingsToggle) {\n return\n }\n const boundingRect = settingsToggle.getBoundingClientRect()\n setSettingsPopupLocation({\n left: boundingRect.left,\n top: boundingRect.top,\n })\n }, [])\n\n return (\n \n {\n togglePopup(e)\n }}\n size=\"small\"\n startIcon={}\n variant=\"outlined\"\n >\n Settings\n \n {isOpen && (\n {\n setIsOpen(false)\n },\n location: settingsPopupLocation,\n recomputeLocation,\n setWattUnit: onEnergyUsageUnitChange,\n wattUnit,\n }}\n />\n )}\n \n )\n}\n\nexport default ElectricitySettings\n","// @ts-strict-ignore\nimport React from \"react\"\n\nimport classNames from \"classnames\"\n\nimport SubdirectoryArrowRightIcon from \"@mui/icons-material/SubdirectoryArrowRight\"\n\nimport { CurrencyWithPlaceholder } from \"../../../../../../../components/currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { UsageRateDecimal } from \"../../../../../../../components/decimal/usageRateDecimal/usageRateDecimal\"\nimport { If } from \"../../../../../../../components/if/if\"\nimport type { IDecimalFormat } from \"../../../../../../../utils/decimal\"\n\nimport styles from \"./cellRenderer.module.scss\"\n\nenum ColumnIndex {\n \"MeterName\",\n \"MeterType\",\n \"MeterId\",\n \"TotalUsage\",\n \"TotalCost\",\n \"SubMeter\",\n}\n\nconst format: IDecimalFormat = {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n style: \"currency\",\n currency: \"$\",\n}\n\n/**\n * @deprecated This UI is slated to be completely replaced\n */\nconst FormattedComponent = ({\n formattedText,\n columnIndex,\n}: {\n columnIndex: number\n formattedText: string | number | boolean\n}) => {\n switch (columnIndex as ColumnIndex) {\n case ColumnIndex.TotalUsage:\n return \n case ColumnIndex.TotalCost:\n return (\n \n )\n case ColumnIndex.MeterType:\n case ColumnIndex.MeterName:\n case ColumnIndex.MeterId:\n return {formattedText}\n default:\n throw new Error(`Unhandled columnIndex: ${ColumnIndex[columnIndex]}`)\n }\n}\n\n/**\n * @deprecated This UI is slated to be completely replaced\n */\nexport const CellRenderer =\n ({\n gridData,\n }: {\n gridData: [string, string, number, string, string, boolean?][]\n }) =>\n // Disable eslint rule because this component will be deleted soon\n // migrate directories to strict mode\n // eslint-disable-next-line react/display-name, react/function-component-definition, react/prop-types\n ({ columnIndex, key, rowIndex, style }) => {\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n const currentCell = gridData?.[rowIndex]?.[columnIndex]\n if (currentCell === undefined) {\n console.error(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n `CellRenderer: undefined cell at row ${rowIndex} column ${columnIndex}, for data ${gridData}`\n )\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n return
    \n }\n const isIncomplete =\n // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n gridData?.[rowIndex]?.[ColumnIndex.MeterName]?.includes(\"incomplete\")\n\n const formattedText =\n isIncomplete && columnIndex === ColumnIndex.MeterName\n ? // Mass lint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n gridData?.[rowIndex]?.[ColumnIndex.MeterName]?.replace(\n \"(incomplete)\",\n \"\"\n )\n : currentCell\n\n return (\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n
    \n 2,\n })}\n >\n {/* Mass lint disable */}\n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition */}\n {gridData?.[rowIndex]?.[ColumnIndex.SubMeter] &&\n columnIndex === 0 && }\n {columnIndex === 2 && # }\n \n ColumnIndex.MeterId}>\n (incomplete)\n \n \n
    \n )\n }\n","import React from \"react\"\n\nimport { Stack, Typography } from \"@mui/material\"\n\nimport { Unit } from \"../../../../../../../components/unit/unit\"\nimport { UnitName } from \"../../../../../../../models/unit\"\nimport { gray50, gray700 } from \"../../../../../../../utils/colors\"\nimport { pxToRem } from \"../../../../../../../utils/unit\"\n\nconst styles = {\n headerItem: {\n color: gray700.toString(),\n padding: `${pxToRem(16)} ${pxToRem(12)}`,\n },\n headerAlignRight: {\n textAlign: \"right\",\n },\n}\n\n/**\n * @deprecated This UI is slated to be completely replaced\n */\nexport const HeaderTable = () => (\n \n \n Meter\n \n \n Meter Type\n \n \n Meter ID\n \n \n Total Usage ()\n \n \n Estimated Cost\n \n \n)\n","// @ts-strict-ignore\nimport type { MeterProps, MetersData, SubMeterPresence } from \"./modalMetrics\"\n\nconst IS_SUBMETER: SubMeterPresence = true\nconst TOTAL_COST_INDEX = 4\n\nconst addIncompletenessLabel = ({\n meterDisplayName,\n subMeterVolume,\n resolvedData,\n}) => {\n if (\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n !Number.isNaN(subMeterVolume.totalUsage) &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n subMeterVolume.totalUsage !== Number(resolvedData.totalUsage) &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n subMeterVolume.totalUsage > Number(resolvedData.totalUsage)\n ) {\n // migrate directories to strict mode\n // eslint-disable-next-line no-param-reassign\n meterDisplayName += \"(incomplete)\"\n }\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return meterDisplayName\n}\n\ninterface IResolvedData {\n resolvedData: MeterProps\n}\n\nconst proRatedSubMeterVolume = ({\n resolvedData,\n}: IResolvedData): { totalUsage: number } => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if ((resolvedData?.subMeters?.length ?? 0) <= 0) {\n return { totalUsage: NaN }\n }\n\n return resolvedData.subMeters.reduce(\n (acc, subMeter) => ({\n totalUsage: Number(acc.totalUsage) + Number(subMeter.totalUsage),\n }),\n { totalUsage: 0 }\n )\n}\n\nconst formatterMeterName = ({ meterCode, name }: IFormatterMeterName) => {\n let meterDisplayName = `[${meterCode}]`\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (name !== undefined && name !== null && name !== \"\") {\n meterDisplayName += ` - ${name}`\n }\n return meterDisplayName\n}\n\nconst subMeterDataArray = ({ resolvedData }: IResolvedData) => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if ((resolvedData?.subMeters?.length ?? 0) <= 0) {\n return [] as MetersData[]\n }\n\n return resolvedData.subMeters.map(\n ({ id, meterCode, name, totalCost, totalUsage, meterType }) => {\n const subMeterDisplayName = formatterMeterName({ name, meterCode })\n return [\n subMeterDisplayName,\n meterType,\n id,\n totalUsage,\n totalCost,\n ] as MetersData\n }\n )\n}\n\ninterface IMeterDataArray extends IResolvedData {\n meterDisplayName: string\n}\n\nconst meterDataArray = ({ resolvedData, meterDisplayName }: IMeterDataArray) =>\n [\n meterDisplayName,\n resolvedData.meterType,\n resolvedData.id,\n resolvedData.totalUsage || \"\",\n resolvedData.totalCost || \"\",\n ] as MetersData\n\ninterface IFormattedSubMeterDataArray extends IResolvedData {\n subMeter: MetersData\n subMeterVolume: { totalUsage: number }\n}\n\nconst formattedSubMeterDataArray = ({\n subMeter,\n subMeterVolume,\n resolvedData,\n}: IFormattedSubMeterDataArray) => {\n if (\n !Number.isNaN(subMeterVolume.totalUsage) &&\n subMeterVolume.totalUsage !== Number(resolvedData.totalUsage) &&\n subMeterVolume.totalUsage > Number(resolvedData.totalUsage)\n ) {\n subMeter[TOTAL_COST_INDEX] = \"\" // Sets the totalCost value to blank as it would result in an unrealistic value\n }\n const structuredData: MetersData = subMeter\n structuredData.push(IS_SUBMETER)\n return structuredData\n}\n\ninterface IFormatterMeterName {\n meterCode: MeterProps[\"meterCode\"]\n name: MeterProps[\"name\"]\n}\n\nconst meterAndSubmeterDataArray = ({ resolvedData }: IResolvedData) => {\n const metersData = [] as MetersData[]\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (resolvedData === undefined) {\n return\n }\n let meterDisplayName = formatterMeterName({\n meterCode: resolvedData.meterCode,\n name: resolvedData.name,\n })\n\n const subMeterVolume = proRatedSubMeterVolume({ resolvedData })\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n meterDisplayName = addIncompletenessLabel({\n meterDisplayName,\n subMeterVolume,\n resolvedData,\n })\n const resolvedMetersData: MetersData = meterDataArray({\n resolvedData,\n meterDisplayName,\n })\n metersData.push(resolvedMetersData)\n\n const subMeterData: MetersData[] = subMeterDataArray({ resolvedData })\n const structuredDataSubmeterData =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n subMeterData?.map((subMeter) =>\n formattedSubMeterDataArray({ subMeter, subMeterVolume, resolvedData })\n ) ?? []\n\n return metersData.concat(structuredDataSubmeterData)\n}\n\n/**\n * takes an array of promises and returns a 2D array of data used for rendering a table\n *\n * @param data - the array of promises\n * @returns {Promise>} a promise of 2D array data used for rendering a table\n */\nexport const buildMetersData = (data: MeterProps[]): MetersData[] =>\n data.map((resolvedData) => meterAndSubmeterDataArray({ resolvedData })).flat()\n","// @ts-strict-ignore\nimport React, { useMemo } from \"react\"\nimport { Grid } from \"react-virtualized\"\n\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport { DialogContent, DialogTitle, IconButton } from \"@mui/material\"\nimport Dialog from \"@mui/material/Dialog\"\n\nimport { DateRangeDisplay } from \"../../../../../../components/date/dateRangeDisplay/dateRangeDisplay\"\nimport useFilters from \"../../../../../../hooks/useFilters/useFilters\"\nimport DateFilter from \"../../../../../../models/filter/dateFilter\"\nimport type { SiteFilters } from \"../../../site/site.types\"\nimport { CellRenderer } from \"./cellRenderer/cellRenderer\"\nimport { HeaderTable } from \"./headerTable/headerTable\"\nimport type { MeterProps } from \"./modalMetrics\"\nimport { buildMetersData } from \"./modalMetricsConsumptionUtils\"\n\nimport styles from \"./modalMetricsConsumption.module.scss\"\n\nexport interface ModalMetricsConsumptionProps {\n meters: MeterProps[]\n onClose: () => void\n open: boolean\n}\n\nconst MODAL_WIDTH = 774\nconst ROW_HEIGHT = 45\nconst MAX_HEIGHT_GRID = 360\nconst CENTER_COLUMN_WIDTH = 100\nconst RIGHT_COLUMN_WIDTH = 162\nconst LEFT_COLUMN_WIDTH = 250\nconst VISIBLE_ROWS = 8\n\nconst getColumnWidth = (index: number) => {\n switch (index) {\n case 0:\n return LEFT_COLUMN_WIDTH\n case 1:\n case 2:\n return CENTER_COLUMN_WIDTH\n case 3:\n case 4:\n return RIGHT_COLUMN_WIDTH\n default:\n return 0\n }\n}\n\n/**\n * A component that builds table data from promises and renders a table using Grid\n *\n * @param props {@link ModalMetricsConsumptionProps}\n * @returns element\n * @example\n * return ()\n */\nexport const ModalMetricsConsumption = (\n props: ModalMetricsConsumptionProps\n) => {\n const { filters } = useFilters({\n start: DateFilter,\n end: DateFilter,\n })\n const { onClose, open, meters } = props\n\n const gridData = buildMetersData(meters)\n\n const tableHeight = useMemo(() => {\n if (gridData.length * ROW_HEIGHT > MAX_HEIGHT_GRID) {\n return MAX_HEIGHT_GRID\n }\n return gridData.length * ROW_HEIGHT\n }, [gridData.length])\n\n return (\n \n \n Meter Data\n theme.typography.pxToRem(8),\n top: (theme) => theme.typography.pxToRem(12),\n }}\n >\n \n \n \n \n

    \n \n

    \n {/*

    \n {`Data complete up to ${selectedDateRange.slice(\n selectedDateRange.lastIndexOf(\"- \") + 1\n )}`}\n

    // This will be updated in the future and replaced a with functional component */}\n
    \n \n VISIBLE_ROWS && styles.containerCells) || \"\"\n }\n columnCount={5}\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n columnWidth={({ index }) => getColumnWidth(index)}\n height={tableHeight}\n rowCount={gridData.length}\n rowHeight={ROW_HEIGHT}\n width={MODAL_WIDTH}\n />\n
    \n
    \n
    \n )\n}\n","// @ts-strict-ignore\nimport React from \"react\"\n\nimport type { Moment } from \"moment\"\n\nimport { Button, Stack, Typography } from \"@mui/material\"\n\nimport type { IRange } from \"../../../../../models/range\"\nimport type { UnitName } from \"../../../../../models/unit\"\nimport type { MeterWithEnergyAllocator } from \"../../../models/site\"\nimport { useSiteProRatedUsageMeters } from \"../../../services/useSiteProRatedUsageMeters/useSiteProRatedUsageMeters\"\nimport ElectricityHeaderMeterData from \"./electricityHeaderMeterData/electricityHeaderMeterData\"\nimport ElectricitySettings from \"./electricitySettings/electricitySettings\"\nimport { ModalMetricsConsumption } from \"./modalMetricsConsumption/modalMetricsConsumption\"\n\ninterface ElectricityHeaderProps {\n dateRange: IRange\n electricityMetersWithEnergyAllocator: MeterWithEnergyAllocator[]\n isBundled: boolean\n onEnergyUsageUnitChange: (\n unit: UnitName.KilowattHour | UnitName.MegawattHour\n ) => void\n openModalSiteMetersDetails: boolean\n setOpenModalSiteMetersDetails: (value: boolean) => void\n siteHasSubMeter: boolean\n siteIsAmi: boolean\n siteIsAmr: boolean\n siteIsProbe: boolean\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n}\n\nconst ElectricityHeader = ({\n dateRange,\n isBundled,\n siteHasSubMeter,\n siteIsAmi,\n siteIsAmr,\n siteIsProbe,\n wattUnit,\n onEnergyUsageUnitChange,\n openModalSiteMetersDetails,\n setOpenModalSiteMetersDetails,\n electricityMetersWithEnergyAllocator,\n}: ElectricityHeaderProps) => {\n const { siteProRatedUsageMeters, isSiteProRatedUsageMetersFetched } =\n useSiteProRatedUsageMeters(\n electricityMetersWithEnergyAllocator,\n dateRange,\n !!siteIsAmi, // double negation can be removed with strict null checking\n !!isBundled\n )\n\n return (\n \n \n Electricity Overview\n \n \n \n {siteIsAmi && isBundled && (\n <>\n {\n setOpenModalSiteMetersDetails(true)\n }}\n size=\"small\"\n variant=\"outlined\"\n >\n Meters Info\n \n {isSiteProRatedUsageMetersFetched && (\n {\n setOpenModalSiteMetersDetails(false)\n }}\n open={openModalSiteMetersDetails}\n />\n )}\n \n )}\n \n \n \n )\n}\n\nexport default ElectricityHeader\n","// @ts-strict-ignore\nimport React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport { CurrencyWithPlaceholder } from \"../../../../../../components/currency/currencyWithPlaceholder/currencyWithPlaceholder\"\nimport { DecimalWithPlaceholder } from \"../../../../../../components/decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { UsageRateDecimal } from \"../../../../../../components/decimal/usageRateDecimal/usageRateDecimal\"\nimport Metric from \"../../../../../../components/metric/metric\"\nimport { Unit } from \"../../../../../../components/unit/unit\"\nimport { MeasurementSystem } from \"../../../../../../models/measurementSystem\"\nimport { UnitName } from \"../../../../../../models/unit\"\nimport {\n getMeasurementSystem,\n squareFootToSquareMeter,\n} from \"../../../../../../utils\"\nimport {\n KWH_PER_MWH,\n LBS_PER_METRIC_TON,\n} from \"../../../../../../utils/constants\"\nimport type { IFetchEnergyAllocationStats } from \"../../../../../../utils/spraypaintApi\"\n\ninterface BuildingMetricsProps {\n isMwhSelected: boolean\n siteEnergyAllocationStats: IFetchEnergyAllocationStats\n squareFoot: number | null\n}\n\nconst BuildingMetrics = ({\n isMwhSelected,\n siteEnergyAllocationStats,\n squareFoot,\n}: BuildingMetricsProps): JSX.Element => {\n const { i18n } = useTranslation()\n const isMetric = useMemo(\n () => getMeasurementSystem(i18n.language) !== MeasurementSystem.USCU,\n [i18n.language]\n )\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalMWH = siteEnergyAllocationStats?.totalMWH\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalCarbon = siteEnergyAllocationStats?.totalCarbon\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const totalCost = siteEnergyAllocationStats?.totalCost\n const carbonInMtCo2e = totalCarbon / LBS_PER_METRIC_TON\n\n // Building Metrics\n const calculatedArea = isMetric\n ? squareFootToSquareMeter(squareFoot)\n : squareFoot\n const usageIntensity = totalMWH / calculatedArea\n const costIntensity = totalCost / calculatedArea\n const emissionIntensity = carbonInMtCo2e / calculatedArea\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default BuildingMetrics\n","import React from \"react\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport { EmissionDecimal } from \"../../../../../../components/decimal/emissionDecimal/emissionDecimal\"\nimport { UsageRateDecimal } from \"../../../../../../components/decimal/usageRateDecimal/usageRateDecimal\"\nimport Metric from \"../../../../../../components/metric/metric\"\nimport { Unit } from \"../../../../../../components/unit/unit\"\nimport { UnitName } from \"../../../../../../models/unit\"\nimport { KWH_PER_MWH } from \"../../../../../../utils/constants\"\nimport type { IFetchEmissionsAndEnergyVolume } from \"../../../../../../utils/spraypaintApi\"\n\ninterface CarbonMetricsProps {\n emissionsAndEnergyVolume: IFetchEmissionsAndEnergyVolume\n gridRate: number\n isBundledAmi: boolean\n ytdMeteredKwh: number\n}\n\nconst CarbonMetrics = ({\n gridRate,\n emissionsAndEnergyVolume,\n ytdMeteredKwh,\n isBundledAmi,\n}: CarbonMetricsProps): JSX.Element => {\n const ytdMeteredMwh: number = ytdMeteredKwh / KWH_PER_MWH\n const ytdCarbonEmissionsInMtCo2e: number =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsAndEnergyVolume?.ytdCarbonEmissionsInMtCo2e\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const ytdCarbonFreeKwh: number = emissionsAndEnergyVolume?.ytdCarbonFreeKwh\n\n const carbonIntensity: number =\n ytdMeteredMwh > 0 ? ytdCarbonEmissionsInMtCo2e / ytdMeteredMwh : 0\n const gridComparisonPercentage: number =\n (1 - carbonIntensity / gridRate) * 100\n const carbonFreeIntensity: number = ytdCarbonFreeKwh / KWH_PER_MWH\n\n const isGridComparisonNegative: boolean = gridComparisonPercentage < 0\n\n const xs = isBundledAmi ? 12 : 6\n const lg = isBundledAmi ? 6 : 3\n\n return (\n \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n \n \n
    \n \n
    \n {/* TODO: Internationalize the percentage sign */}\n %\n \n {isGridComparisonNegative ? \"more\" : \"less\"} than the grid average\n \n
    \n
    \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n
    \n )\n}\n\nexport default CarbonMetrics\n","import React from \"react\"\n\nimport SquareFootRoundedIcon from \"@mui/icons-material/SquareFootRounded\"\nimport TodayRoundedIcon from \"@mui/icons-material/TodayRounded\"\nimport { Grid, Stack, Typography } from \"@mui/material\"\n\nimport { lightGray } from \"../../../../../utils/colors\"\nimport type {\n IFetchEmissionsAndEnergyVolume,\n IFetchEnergyAllocationStats,\n} from \"../../../../../utils/spraypaintApi\"\nimport { pxToRem } from \"../../../../../utils/unit\"\nimport BuildingMetrics from \"./buildingMetrics/buildingMetrics\"\nimport CarbonMetrics from \"./carbonMetrics/carbonMetrics\"\n\ninterface SitePerformanceProps {\n currentYear: number\n emissionsAndEnergyVolume: IFetchEmissionsAndEnergyVolume\n gridRate: number\n isBundled: boolean\n isMwhSelected: boolean\n siteEnergyAllocationStats: IFetchEnergyAllocationStats\n siteIsAmi: boolean\n squareFoot: number | null\n ytdMeteredKwh: number\n}\n\nconst SitePerformance = ({\n siteEnergyAllocationStats,\n squareFoot,\n isMwhSelected,\n currentYear,\n isBundled,\n siteIsAmi,\n gridRate,\n emissionsAndEnergyVolume,\n ytdMeteredKwh,\n}: SitePerformanceProps): JSX.Element => {\n const isBundledAmi = isBundled && siteIsAmi\n const isDirect = !isBundled && siteIsAmi\n return (\n \n \n Performance\n \n \n {isBundledAmi && (\n \n \n \n Building Size\n \n \n \n )}\n \n \n \n {currentYear} (YTD)\n \n \n \n \n \n )\n}\n\nexport default SitePerformance\n","// @ts-strict-ignore\nimport React, { useCallback, useEffect, useMemo, useState } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { Page, PageHeaderActionBar } from \"@/components\"\nimport { HStack } from \"@/nzds/layout\"\nimport { groupBy } from \"lodash-es\"\nimport { Interval } from \"luxon\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { Box, Collapse, Paper, Typography, useTheme } from \"@mui/material\"\n\nimport { useDashboardContext } from \"../../../../components/dashboard/useDashboardContext\"\nimport { BundledSiteFinancialSummaryPanel } from \"../../../../components/financialSummary/bundledSiteFinancialSummaryPanel\"\nimport { MonthlySummaryGraphPanel } from \"../../../../components/monthlySummary/monthlySummaryGraphPanel\"\nimport { SiteOverview } from \"../../../../components/siteOverview\"\nimport type { IUseFiltersSetOptions } from \"../../../../hooks/useFilters/useFilters\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport type EnergyAllocation from \"../../../../models/energyAllocation\"\nimport { ElectricityType } from \"../../../../models/energyAllocation\"\nimport DateFilter from \"../../../../models/filter/dateFilter\"\nimport type { IRange } from \"../../../../models/range\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { DateRangePicker } from \"../../../../nzds/inputs/date-range-picker\"\nimport { MonthRangePicker } from \"../../../../nzds/inputs/month-range-picker\"\nimport { lightGray } from \"../../../../utils/colors\"\nimport {\n EnergyUnit,\n MAX_CUSTOMER_BILLING_PERIOD_DAYS,\n TIME_RANGES,\n} from \"../../../../utils/constants\"\nimport {\n clampDateRange,\n getDaysInRange,\n getRangeType,\n isDateRangeWithinBounds,\n} from \"../../../../utils/date\"\nimport { getWattUnit, saveWattUnit } from \"../../../../utils/localStorage\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport type { MeterWithEnergyAllocator } from \"../../models/site\"\nimport { useBundledEmissionsAndEnergyVolume } from \"../../services/useBundledEmissionsAndEnergyVolume/useBundledEmissionsAndEnergyVolume\"\nimport { useDirectEmissionsAndEnergyVolume } from \"../../services/useDirectEmissionsAndEnergyVolume/useDirectEmissionsAndEnergyVolume\"\nimport { useEia } from \"../../services/useEia/useEia\"\nimport { useElectricityMeter } from \"../../services/useElectricityMeter/useElectricityMeter\"\nimport { useMonthSummaries } from \"../../services/useMonthSummaries/useMonthSummaries\"\nimport { useMonthSummariesMinMaxDates } from \"../../services/useMonthSummariesMinMaxDates/useMonthSummariesMinMaxDates\"\nimport { useMonthlyElectricityDateRange } from \"../../services/useMonthlyElectricityDateRange/useMonthlyElectricityDateRange\"\nimport { useNonMonthlyElectricityDateRange } from \"../../services/useNonMonthlyElectricityDateRange/useNonMonthlyElectricityDateRange\"\nimport { useServiceHourMinMaxDates } from \"../../services/useServiceHourMinMaxDates/useServiceHourMinMaxDates\"\nimport { useSiteEnergyAllocation } from \"../../services/useSiteEnergyAllocation/useSiteEnergyAllocation\"\nimport { useSiteExtraAttributes } from \"../../services/useSiteExtraAttributes/useSiteExtraAttributes\"\nimport { useSiteFinancialSummaries } from \"../../services/useSiteFinancialSummaries/useSiteFinancialSummaries\"\nimport { useYtdMeteredKwh } from \"../../services/useYtdMeteredKwh/useYtdMeteredKwh\"\nimport DailySummaryPanel from \"./dailySummaryPanel/dailySummaryPanel\"\nimport ElectricityHeader from \"./electricityHeader/electricityHeader\"\nimport SitePerformance from \"./sitePerformance/sitePerformance\"\n\ninterface SiteElectricityFilters {\n end: DateFilter\n start: DateFilter\n}\n\nconst isAnyKWhIsLessThan1k = (energyAllocations: EnergyAllocation[]) => {\n const groupedByDate: Record = groupBy(\n energyAllocations.filter((ea) => !Number.isNaN(ea.meteredKwh)),\n (ea) => moment(ea.hour).format(\"YYYY-MM-DD\")\n )\n\n return Object.values(groupedByDate).some((dayEnergyAllocations) => {\n const meteredKwhSum = dayEnergyAllocations.reduce(\n (sum, energyAllocation) => sum + Number(energyAllocation.meteredKwh),\n 0\n )\n return meteredKwhSum > 0 && meteredKwhSum < 1000\n })\n}\n\nconst Electricity: React.FC = () => {\n const theme = useTheme()\n const params = useParams()\n const { site, isSiteInfoOpen, siteInfoButton } = useDashboardContext()\n const { monthlyElectricityDateRange, setMonthlyElectricityDateRange } =\n useMonthlyElectricityDateRange()\n\n const { nonMonthlyElectricityDateRange, setNonMonthlyElectricityDateRange } =\n useNonMonthlyElectricityDateRange()\n const {\n siteExtraAttributes: {\n hasAmiMeter,\n hasAmrMeter,\n hasSubMeter,\n probeMeter,\n } = {\n hasAmiMeter: null,\n hasAmrMeter: null,\n hasSubMeter: null,\n probeMeter: null,\n },\n isSiteExtraAttributesLoading,\n } = useSiteExtraAttributes(params.siteId)\n\n const { filters, setFilters } = useFilters({\n start: DateFilter,\n end: DateFilter,\n })\n\n const dateRangeLuxon = useMemo(() => {\n return Interval.fromISO(\n `${filters.start.value?.toISOString()}/${filters.end.value?.toISOString()}`\n )\n }, [filters.start.value, filters.end.value])\n\n const {\n serviceHourMinMaxDates,\n isServiceHourMinMaxDatesFetched,\n isServiceHourMinMaxDatesLoading,\n } = useServiceHourMinMaxDates(site)\n\n const [openModalSiteMetersDetails, setOpenModalSiteMetersDetails] =\n useState(false)\n const [wattUnit, setWattUnit] = useState<\n UnitName.KilowattHour | UnitName.MegawattHour\n >(getWattUnit())\n\n const isBundled: boolean = useMemo(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison, @typescript-eslint/no-unnecessary-condition\n () => site?.electricityType === ElectricityType.Bundled,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n [site?.electricityType]\n )\n\n const isMonthlySummaryVisible: boolean = useMemo(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n () => hasAmrMeter && !hasAmiMeter,\n [hasAmiMeter, hasAmrMeter]\n )\n\n const startDate: Moment = filters.start.value\n const endDate: Moment = filters.end.value\n\n const onEnergyUsageUnitChange = useCallback(\n (unit: UnitName.KilowattHour | UnitName.MegawattHour): void => {\n setWattUnit(unit)\n saveWattUnit(unit)\n },\n []\n )\n\n const timeRange = useMemo(\n () =>\n getRangeType({\n startDate,\n endDate,\n }),\n [endDate, startDate]\n )\n\n const updateDate = useCallback(\n (value: IRange, options?: IUseFiltersSetOptions): void => {\n setFilters(\n {\n start: new DateFilter(value.start),\n end: new DateFilter(value.end),\n },\n options\n )\n if (isMonthlySummaryVisible) {\n setMonthlyElectricityDateRange(value)\n } else {\n setNonMonthlyElectricityDateRange(value)\n }\n },\n [\n isMonthlySummaryVisible,\n setMonthlyElectricityDateRange,\n setFilters,\n setNonMonthlyElectricityDateRange,\n ]\n )\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n const newDateRange = {\n start: moment(value.start?.toISODate()),\n end: moment(value.end?.toISODate()),\n }\n\n updateDate(newDateRange)\n }\n },\n [updateDate]\n )\n\n const {\n siteEnergyAllocation,\n isSiteEnergyAllocationFetched,\n isSiteEnergyAllocationFetching,\n } = useSiteEnergyAllocation(startDate, endDate, site, {\n isDisabled:\n isMonthlySummaryVisible ||\n getDaysInRange(startDate, endDate) > MAX_CUSTOMER_BILLING_PERIOD_DAYS,\n })\n\n const yearToDateRange: IRange = useMemo(\n () => ({\n start: moment().startOf(\"year\"),\n end: moment().endOf(\"day\"),\n }),\n []\n )\n\n const { eia } = useEia({\n site,\n startDate: yearToDateRange.start,\n endDate: yearToDateRange.end,\n })\n\n const { bundledEmissionsAndEnergyVolume } =\n useBundledEmissionsAndEnergyVolume({\n site,\n startDate: yearToDateRange.start,\n endDate: yearToDateRange.end,\n })\n\n const { directEmissionsAndEnergyVolume } = useDirectEmissionsAndEnergyVolume(\n site,\n {\n start: yearToDateRange.start,\n end: yearToDateRange.end,\n }\n )\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const { ytdMeteredKwh } = useYtdMeteredKwh(yearToDateRange, site?.id)\n\n const { monthSummaries, isMonthSummariesFetching } = useMonthSummaries(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.id,\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: startDate?.clone()?.format(\"YYYY-MM-DD\"),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: endDate?.clone()?.format(\"YYYY-MM-DD\"),\n },\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n isDisabled: !isMonthlySummaryVisible || startDate?.isAfter(endDate),\n }\n )\n\n const { monthSummariesMinMaxDates, isMonthSummariesMinMaxDatesFetched } =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n useMonthSummariesMinMaxDates(site?.id, {\n isDisabled: !isMonthlySummaryVisible,\n })\n\n // Luxon version of availableReportDatesData to be used until migration to luxon is complete\n const monthSummariesMinMaxDatesLuxon: Interval = useMemo(() => {\n const monthSummariesDateRange = monthSummariesMinMaxDates as unknown as\n | IRange\n | undefined\n\n if (\n !monthSummariesDateRange?.start?.isValid() ||\n !monthSummariesDateRange.end?.isValid()\n ) {\n return Interval.invalid(\"Invalid dates\")\n }\n\n return Interval.fromISO(\n `${monthSummariesDateRange.start.toISOString()}/${monthSummariesDateRange.end.toISOString()}`\n )\n }, [monthSummariesMinMaxDates])\n\n const { electricityMeter, isElectricityMeterLoading } = useElectricityMeter(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n site?.id\n )\n const { siteFinancialSummaries, isSiteFinancialSummariesLoading } =\n useSiteFinancialSummaries(\n site,\n startDate,\n endDate,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n electricityMeter?.meterCount,\n !!hasAmiMeter, // double negation can be removed with strict null checking\n {\n isDisabled:\n getDaysInRange(startDate, endDate) > MAX_CUSTOMER_BILLING_PERIOD_DAYS,\n }\n )\n\n // TODO: Remove this once sqFt returns as a number\n const squareFoot: number | null = useMemo(() => {\n const { sqFt } = site\n if (typeof sqFt === \"string\" && sqFt !== \"\") {\n return Number(sqFt)\n }\n return null\n }, [site])\n\n const timeWindow = {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate: startDate?.clone(),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n endDate: endDate?.clone(),\n timeRange,\n }\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const electricityMetersWithEnergyAllocator:\n | MeterWithEnergyAllocator[]\n | undefined = useMemo(() => {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (electricityMeter?.parentMeterAndChildData && siteFinancialSummaries) {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unnecessary-condition\n const meters = electricityMeter?.parentMeterAndChildData.map((meter) => {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unnecessary-condition\n const premise = siteFinancialSummaries?.find(\n (premises) =>\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Number(premises.billingGroupId) === Number(meter.billingGroupId)\n )\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n const energyAllocator = premise?.energyAllocatorList?.find(\n (allocator) =>\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Number(allocator.energyAllocatorId) ===\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Number(meter.energyAllocatorId)\n )\n return {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n id: Number(meter.id),\n // migration to strict mode batch disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n meterType: meter.meterType,\n // migration to strict mode batch disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n name: meter.name,\n // migration to strict mode batch disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n meterCode: meter.meterCode,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n energyAllocator,\n // migration to strict mode batch disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n childMeterNamesAndIds: meter.childMeterNamesAndIds,\n }\n })\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return meters\n }\n return undefined\n }, [electricityMeter?.parentMeterAndChildData, siteFinancialSummaries])\n\n const isDailySummaryPanelDataLoading: boolean = useMemo(\n () =>\n isSiteExtraAttributesLoading ||\n isElectricityMeterLoading ||\n isSiteEnergyAllocationFetching,\n [\n isElectricityMeterLoading,\n isSiteEnergyAllocationFetching,\n isSiteExtraAttributesLoading,\n ]\n )\n\n const isMonthlySummaryGraphPanelDataLoading: boolean = useMemo(\n () =>\n isSiteExtraAttributesLoading ||\n isElectricityMeterLoading ||\n isMonthSummariesFetching,\n [\n isElectricityMeterLoading,\n isMonthSummariesFetching,\n isSiteExtraAttributesLoading,\n ]\n )\n\n const isMwhSelected = useMemo(\n () => wattUnit === UnitName.MegawattHour,\n [wattUnit]\n )\n\n // Adjust watt unit if kWh is less than 1k for visualization window\n useEffect(() => {\n if (isSiteEnergyAllocationFetched && !isMonthlySummaryVisible) {\n setWattUnit(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n isAnyKWhIsLessThan1k(siteEnergyAllocation?.energyAllocations)\n ? UnitName.KilowattHour\n : UnitName.MegawattHour\n )\n }\n }, [\n isSiteEnergyAllocationFetched,\n siteEnergyAllocation,\n isMonthlySummaryVisible,\n ])\n\n // Ensure url has a valid start and end date for visualization window\n useEffect(() => {\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n endDate &&\n isServiceHourMinMaxDatesFetched &&\n !isMonthlySummaryVisible\n ) {\n // Defaulting start and end date to month with most recent\n // data if outside of service hour min max dates\n let clampedDateRange = {\n start: startDate,\n end: endDate,\n }\n if (\n !isDateRangeWithinBounds(clampedDateRange, {\n start: serviceHourMinMaxDates.start,\n end: serviceHourMinMaxDates.end,\n }) ||\n startDate.isAfter(endDate)\n ) {\n clampedDateRange = {\n start: serviceHourMinMaxDates.end.clone().startOf(\"month\"),\n end: serviceHourMinMaxDates.end.clone().endOf(\"day\"),\n }\n }\n\n // Clamp date range if start date is before service hour min date\n clampedDateRange = clampDateRange(clampedDateRange, {\n start: serviceHourMinMaxDates.start.clone().startOf(\"day\"),\n end: serviceHourMinMaxDates.end.clone().endOf(\"day\"),\n })\n\n const daysInRange = getDaysInRange(\n clampedDateRange.start,\n clampedDateRange.end\n )\n\n // Clamp date range if it is greater than 35 days\n if (\n timeRange === TIME_RANGES.MONTH &&\n daysInRange > MAX_CUSTOMER_BILLING_PERIOD_DAYS\n ) {\n const over35DaysUrlFilterEndValue = clampedDateRange.start\n .clone()\n .add(MAX_CUSTOMER_BILLING_PERIOD_DAYS - 1, \"days\")\n .endOf(\"day\")\n const isNewEndValueBeforeAvailableData =\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n over35DaysUrlFilterEndValue.isBefore(serviceHourMinMaxDates?.end)\n clampedDateRange = clampDateRange(clampedDateRange, {\n start: clampedDateRange.start,\n end: isNewEndValueBeforeAvailableData\n ? over35DaysUrlFilterEndValue\n : // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n serviceHourMinMaxDates?.end?.clone().endOf(\"day\"),\n })\n }\n // Update url if the date range was clamped\n if (\n !clampedDateRange.start.isSame(startDate, \"day\") ||\n !clampedDateRange.end.isSame(endDate, \"day\")\n ) {\n updateDate(\n {\n start: clampedDateRange.start,\n end: clampedDateRange.end,\n },\n {\n replace: true,\n }\n )\n }\n }\n }, [\n endDate,\n startDate,\n timeRange,\n updateDate,\n serviceHourMinMaxDates.end,\n serviceHourMinMaxDates.start,\n isServiceHourMinMaxDatesFetched,\n isMonthlySummaryVisible,\n ])\n\n // Set start and end date for visualization window if they are not set in the url\n useEffect(() => {\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n (!startDate || !endDate) &&\n isServiceHourMinMaxDatesFetched &&\n !isMonthlySummaryVisible\n ) {\n // Defaulting start and end date to month with most recent\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !nonMonthlyElectricityDateRange?.start?.isValid() ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !nonMonthlyElectricityDateRange?.end?.isValid() ||\n !isDateRangeWithinBounds(\n {\n start: nonMonthlyElectricityDateRange.start,\n end: nonMonthlyElectricityDateRange.end,\n },\n {\n start: serviceHourMinMaxDates.start,\n end: serviceHourMinMaxDates.end,\n }\n ) ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !nonMonthlyElectricityDateRange?.start?.isBefore(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n nonMonthlyElectricityDateRange?.end\n )\n ) {\n let dateRange = {\n start: serviceHourMinMaxDates.end.clone().startOf(\"month\"),\n end: serviceHourMinMaxDates.end.clone().endOf(\"day\"),\n }\n\n // Clamp date range if start date is before service hour min date\n dateRange = clampDateRange(dateRange, {\n start: serviceHourMinMaxDates.start.clone().startOf(\"day\"),\n end: serviceHourMinMaxDates.end.clone().endOf(\"day\"),\n })\n\n updateDate(dateRange, {\n replace: true,\n })\n }\n // Set filters to stored electricityDateRange values\n else {\n updateDate(\n {\n start: nonMonthlyElectricityDateRange.start,\n end: nonMonthlyElectricityDateRange.end,\n },\n {\n replace: true,\n }\n )\n }\n }\n }, [\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n nonMonthlyElectricityDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n nonMonthlyElectricityDateRange?.start,\n endDate,\n isMonthlySummaryVisible,\n isServiceHourMinMaxDatesFetched,\n serviceHourMinMaxDates.end,\n serviceHourMinMaxDates.start,\n startDate,\n updateDate,\n ])\n\n // Ensure url has a valid start and end date for monthly summary\n useEffect(() => {\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n startDate &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n endDate &&\n isMonthSummariesMinMaxDatesFetched &&\n isMonthlySummaryVisible\n ) {\n // Defaulting start and end date to current year start and most recent month of\n // data if outside of service hour min max dates\n let clampedDateRange = {\n start: startDate,\n end: endDate,\n }\n if (\n !isDateRangeWithinBounds(clampedDateRange, monthSummariesMinMaxDates) ||\n !startDate.isBefore(endDate)\n ) {\n clampedDateRange = {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n start: monthSummariesMinMaxDates.end.clone().startOf(\"year\"),\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n end: monthSummariesMinMaxDates.end.clone().endOf(\"month\"),\n }\n }\n\n // Clamp date range if start date is before service hour min date\n clampedDateRange = clampDateRange(clampedDateRange, {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n start: monthSummariesMinMaxDates.start.clone().startOf(\"month\"),\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n end: monthSummariesMinMaxDates.end.clone().endOf(\"month\"),\n })\n\n // Update url if the date range was clamped\n if (\n !clampedDateRange.start.isSame(startDate, \"day\") ||\n !clampedDateRange.end.isSame(endDate, \"day\")\n ) {\n updateDate(\n {\n start: clampedDateRange.start,\n end: clampedDateRange.end,\n },\n {\n replace: true,\n }\n )\n }\n }\n }, [\n endDate,\n isMonthSummariesMinMaxDatesFetched,\n isMonthlySummaryVisible,\n monthSummariesMinMaxDates,\n startDate,\n updateDate,\n ])\n\n // Set start and end date for monthly summary if they are not set in the url\n useEffect(() => {\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n (!startDate || !endDate) &&\n isMonthSummariesMinMaxDatesFetched &&\n isMonthlySummaryVisible\n ) {\n // Defaulting start and end date to current year start and most recent month\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !monthlyElectricityDateRange?.start?.isValid() ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !monthlyElectricityDateRange?.end?.isValid() ||\n !isDateRangeWithinBounds(\n {\n start: monthlyElectricityDateRange.start,\n end: monthlyElectricityDateRange.end,\n },\n monthSummariesMinMaxDates\n ) ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !monthlyElectricityDateRange?.start?.isBefore(\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n monthlyElectricityDateRange?.end\n )\n ) {\n let dateRange = {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n start: monthSummariesMinMaxDates.end.clone().startOf(\"year\"),\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n end: monthSummariesMinMaxDates.end.clone().endOf(\"month\"),\n }\n\n // Clamp date range if start date is before service hour min date\n dateRange = clampDateRange(dateRange, {\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n start: monthSummariesMinMaxDates.start.clone().startOf(\"month\"),\n // migration to strict mode batch disable\n // Mass eslint disable\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access\n end: monthSummariesMinMaxDates.end.clone().endOf(\"month\"),\n })\n\n updateDate(dateRange, {\n replace: true,\n })\n }\n // Set filters to stored electricityDateRange values\n else {\n updateDate(\n {\n start: monthlyElectricityDateRange.start,\n end: monthlyElectricityDateRange.end,\n },\n {\n replace: true,\n }\n )\n }\n }\n }, [\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n monthlyElectricityDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n monthlyElectricityDateRange?.start,\n endDate,\n isMonthSummariesMinMaxDatesFetched,\n isMonthlySummaryVisible,\n monthSummariesMinMaxDates,\n setMonthlyElectricityDateRange,\n startDate,\n updateDate,\n ])\n\n return (\n <>\n \n \n {!isMonthlySummaryVisible && (\n \n \n \n 35 Day Max\n \n \n )}\n {isMonthlySummaryVisible && (\n \n )}\n \n {siteInfoButton}\n \n \n \n \n \n \n \n \n \n \n {/* We should not load this component until the timeWindow is properly set */}\n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {timeWindow.startDate?.isValid() &&\n timeWindow.endDate.isValid() && (\n <>\n {isMonthlySummaryVisible && (\n \n )}\n {!isMonthlySummaryVisible && (\n \n )}\n \n )}\n \n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {!hasAmrMeter &&\n site.electricityType === \"bundled\" &&\n !Number.isNaN(electricityMeter?.meterCount) && (\n \n )}\n {!isBundled &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n timeWindow.startDate?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n timeWindow.endDate?.isValid() && (\n \n )}\n \n \n \n )\n}\n\nexport default Electricity\n","// @ts-strict-ignore\nimport { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\n\ninterface MonthlyElectricityDateRangeValue {\n monthlyElectricityDateRange: IRange | null\n setMonthlyElectricityDateRange: (dateRange: IRange) => void\n}\n\n/**\n * A service for saving and providing the date range for a site's monthly electricity\n *\n * @returns - The monthlyElectricity date range service\n * @example\n * const { monthlyElectricityDateRange, setMonthlyElectricityDateRange } = useMonthlyElectricityDateRange()\n */\nexport const useMonthlyElectricityDateRange =\n (): MonthlyElectricityDateRangeValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(\n () => [ApiQueryName.MonthlyElectricityDateRange],\n []\n )\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: (): Promise> =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n staleTime: Infinity,\n })\n\n const monthlyElectricityDateRange = useMemo(\n () => data,\n [data]\n ) as unknown as IRange\n\n const setMonthlyElectricityDateRange = useCallback(\n (dateRange: IRange) => {\n queryClient.setQueryData(queryKey, dateRange)\n },\n [queryClient, queryKey]\n )\n\n return useMemo(\n () => ({\n monthlyElectricityDateRange,\n setMonthlyElectricityDateRange,\n }),\n [monthlyElectricityDateRange, setMonthlyElectricityDateRange]\n )\n }\n","// @ts-strict-ignore\nimport { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\n\ninterface NonMonthlyElectricityDateRangeValue {\n nonMonthlyElectricityDateRange: IRange | null\n setNonMonthlyElectricityDateRange: (dateRange: IRange) => void\n}\n\n/**\n * A service for saving and providing the date range for a site's non-monthly electricity\n *\n * @returns - The nonMonthlyElectricity date range service\n * @example\n * const { nonMonthlyElectricityDateRange, setNonMonthlyElectricityDateRange }\n * = useNonMonthlyElectricityDateRange()\n */\nexport const useNonMonthlyElectricityDateRange =\n (): NonMonthlyElectricityDateRangeValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(\n () => [ApiQueryName.NonMonthlyElectricityDateRange],\n []\n )\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: (): Promise> =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n staleTime: Infinity,\n })\n\n const nonMonthlyElectricityDateRange = useMemo(\n () => data,\n [data]\n ) as unknown as IRange\n\n const setNonMonthlyElectricityDateRange = useCallback(\n (dateRange: IRange) => {\n queryClient.setQueryData(queryKey, dateRange)\n },\n [queryClient, queryKey]\n )\n\n return useMemo(\n () => ({\n nonMonthlyElectricityDateRange,\n setNonMonthlyElectricityDateRange,\n }),\n [nonMonthlyElectricityDateRange, setNonMonthlyElectricityDateRange]\n )\n }\n","// @ts-strict-ignore\nimport moment from \"moment\"\nimport type { Moment } from \"moment\"\nimport type { StatsScope, WhereClause } from \"spraypaint\"\n\nimport SiteEmissionDay from \"../../../../models/siteEmissionDay\"\nimport { sharedDropdownFormat as ngDateFormat } from \"../../../../utils/formatters\"\n\nconst getMonthlyArray = (start: Moment, end: Moment): Moment[] => {\n const months: Moment[] = []\n\n if (end.isBefore(start, \"month\")) {\n return [end, start]\n }\n if (start.isSame(end, \"month\")) {\n return [start]\n }\n let currentDate = start\n while (currentDate.isSameOrBefore(end, \"month\")) {\n months.push(currentDate.clone())\n currentDate = currentDate.clone().add(1, \"month\")\n }\n\n return months\n}\n\nexport const fetchNaturalGasAvailableMonths = async (\n siteId: string\n): Promise => {\n try {\n const whereClause: WhereClause = {\n site_id: siteId,\n ghg_emissions_factor: {\n eq: {\n category: \"Stationary Combustion\",\n sub_category: \"Natural Gas\",\n unit: \"mmbtu\",\n },\n },\n }\n const statsScope: StatsScope = {\n available_months: [\"minimum\", \"maximum\"],\n }\n\n const getMetaMonths = (meta): Moment[] => {\n const monthArray = getMonthlyArray(\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n moment(meta.stats.available_months.minimum, ngDateFormat),\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n moment(meta.stats.available_months.maximum, ngDateFormat)\n )\n return monthArray\n }\n return await SiteEmissionDay.where(whereClause)\n .stats(statsScope)\n .all()\n .then(({ meta }) => getMetaMonths(meta))\n } catch {\n return null\n }\n}\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { fetchNaturalGasAvailableMonths } from \"./useNaturalGasAvailableMonthsUtil\"\n\nexport const useNaturalGasAvailableMonths = (siteId: string | undefined) => {\n const queryKey = useQueryKey(\n ApiQueryName.NaturalGasAvailableMonths,\n \"getMany\",\n siteId\n )\n const queryResult = useQuery({\n enabled: !!siteId,\n keepPreviousData: true,\n queryKey,\n queryFn: () => fetchNaturalGasAvailableMonths(siteId),\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import React, { useEffect, useState } from \"react\"\n\nimport moment from \"moment\"\nimport \"moment-timezone\"\nimport type { StatsScope, WhereClause } from \"spraypaint\"\n\nimport { ExpandMore } from \"@mui/icons-material\"\nimport type { SelectChangeEvent } from \"@mui/material\"\nimport {\n Box,\n Divider,\n FormControl,\n InputLabel,\n Select,\n Stack,\n Typography,\n} from \"@mui/material\"\n\nimport type Site from \"../models/site\"\nimport SiteEmissionDay from \"../models/siteEmissionDay\"\nimport { UnitName } from \"../models/unit\"\nimport { useNaturalGasAvailableMonths } from \"../modules/site/services/useNaturalGasAvailableMonths/useNaturalGasAvailableMonths\"\nimport { KG_PER_METRIC_TON, THERMS_PER_MMBTU } from \"../utils/constants\"\nimport { sharedDropdownFormat as ngDateFormat } from \"../utils/formatters\"\nimport { pxToRem } from \"../utils/unit\"\nimport { DecimalWithPlaceholder } from \"./decimal/decimalWithPlaceholder/decimalWithPlaceholder\"\nimport { UsageRateDecimal } from \"./decimal/usageRateDecimal/usageRateDecimal\"\n\nexport const thermsReducer = (\n previousValue: number,\n currentValue: SiteEmissionDay | typeof SiteEmissionDay.attributeList,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n currentIndex: number,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n array: SiteEmissionDay[] | (typeof SiteEmissionDay.attributeList)[]\n) => {\n previousValue += Number(currentValue.amount) * THERMS_PER_MMBTU\n return previousValue\n}\nexport const kgCo2eReducer = (\n previousValue: number,\n currentValue: SiteEmissionDay | typeof SiteEmissionDay.attributeList,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n currentIndex: number,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n array: SiteEmissionDay[] | (typeof SiteEmissionDay.attributeList)[]\n) => {\n if (!(\"parsedKgCo2e\" in currentValue)) {\n currentValue = new SiteEmissionDay(currentValue)\n }\n previousValue += Number(currentValue.parsedKgCo2e)\n return previousValue\n}\n\nconst NaturalGasCard = ({\n availableMonths,\n avg,\n beenSelectedGetAndSet,\n data,\n dateGetAndSet,\n id,\n kgCo2e,\n therms,\n}: {\n availableMonths: moment.Moment[] | undefined\n avg: number\n beenSelectedGetAndSet: {\n get: boolean\n set: React.Dispatch>\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: any\n dateGetAndSet: {\n get: moment.Moment\n set: React.Dispatch>\n }\n id: string\n kgCo2e: number\n therms: number\n}) => {\n const mtCo2e = kgCo2e / KG_PER_METRIC_TON\n\n const handleChange = (event: SelectChangeEvent) => {\n beenSelectedGetAndSet.set(true)\n const date = moment(event.target.value, ngDateFormat)\n dateGetAndSet.set([date, date.clone().endOf(\"month\")])\n }\n\n const placeholder = \"Select a month\"\n\n return (\n \n \n \n Month\n \n \n {availableMonths\n ?.map((month) => {\n const formattedMonth = month.format(ngDateFormat)\n return React.createElement(\n \"option\",\n {\n value: formattedMonth,\n key: formattedMonth,\n },\n formattedMonth\n )\n })\n .reverse() || \n \n \n \n {dateGetAndSet.get.format(ngDateFormat)} Natural Gas\n \n \n \n \n \n Total Volume\n \n \n \n \n \n Avg Daily Use\n \n \n \n \n \n Total Carbon\n \n \n \n \n \n \n \n )\n}\n\nexport const NaturalGasPanel = ({ site }: { site: Site }) => {\n const [dateRangeLeft, setDateRangeLeft] =\n useState<[moment.Moment, moment.Moment]>()\n const [dateRangeRight, setDateRangeRight] =\n useState<[moment.Moment, moment.Moment]>()\n const [thermsLeft, setThermsLeft] = useState(null)\n const [thermsAvgLeft, setThermsAvgLeft] = useState(null)\n const [kgCo2eLeft, setKgCo2eLeft] = useState(null)\n const [thermsRight, setThermsRight] = useState(null)\n const [thermsAvgRight, setThermsAvgRight] = useState(null)\n const [kgCo2eRight, setKgCo2eRight] = useState(null)\n const [hasBeenSet, setBeenSelected] = useState(false)\n\n const setInitialDateRanges = () => {\n setDateRangeLeft([moment().startOf(\"month\"), moment()])\n setDateRangeRight([\n moment().subtract(1, \"month\").startOf(\"month\"),\n moment().subtract(1, \"month\").endOf(\"month\"),\n ])\n }\n const { naturalGasAvailableMonths } = useNaturalGasAvailableMonths(site.id)\n if (!dateRangeLeft && !dateRangeRight) {\n setInitialDateRanges()\n }\n const fetchEmissions = async ({\n hours,\n thermsSetter,\n setterAvg,\n kgCo2eSetter,\n }) => {\n const whereClause: WhereClause = {\n site_id: site.id,\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n day: { gte: hours[0].format(), lte: hours[1].format() },\n ghg_emissions_factor: {\n eq: {\n category: \"Stationary Combustion\",\n sub_category: \"Natural Gas\",\n unit: \"mmbtu\",\n },\n },\n }\n const statsScope: StatsScope = { metered_day: \"count\" }\n await SiteEmissionDay.where(whereClause)\n .stats(statsScope)\n .all()\n .then(({ data, meta }) => {\n const therms = data.reduce(thermsReducer, 0)\n const kgCo2e = data.reduce(kgCo2eReducer, 0)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n thermsSetter(therms)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n kgCo2eSetter(kgCo2e)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n setterAvg(therms / meta.stats.metered_day.count)\n })\n }\n\n const refreshLeft = () => {\n setThermsLeft(null)\n setThermsAvgLeft(null)\n setKgCo2eLeft(null)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n fetchEmissions({\n hours: dateRangeLeft,\n thermsSetter: setThermsLeft,\n setterAvg: setThermsAvgLeft,\n kgCo2eSetter: setKgCo2eLeft,\n })\n }\n\n const refreshRight = () => {\n setThermsRight(null)\n setThermsAvgRight(null)\n setKgCo2eRight(null)\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n fetchEmissions({\n hours: dateRangeRight,\n thermsSetter: setThermsRight,\n setterAvg: setThermsAvgRight,\n kgCo2eSetter: setKgCo2eRight,\n })\n }\n\n const setInitialState = () => {\n setThermsLeft(null)\n setThermsAvgLeft(null)\n setKgCo2eLeft(null)\n setThermsRight(null)\n setThermsAvgRight(null)\n setKgCo2eRight(null)\n setInitialDateRanges()\n setBeenSelected(false)\n }\n\n useEffect(() => {\n if (dateRangeLeft?.length > 0) {\n refreshLeft()\n }\n }, [dateRangeLeft])\n\n useEffect(() => {\n if (dateRangeRight?.length > 0) {\n refreshRight()\n }\n }, [dateRangeRight])\n\n useEffect(() => {\n setInitialState()\n }, [site])\n\n if (!(naturalGasAvailableMonths?.length >= 1)) {\n return null\n }\n\n return (\n \n \n Month Comparison\n \n \n \n\n \n \n \n )\n}\n","import { DateTime } from \"luxon\"\n\nimport type { MonthlyAreaGraphDatum } from \"../../components/graph/types\"\n\n/**\n * a utility function that returns the pseudo end value with end of month and updated index\n * @param - the object to be duplicated and updated with end of month and updated index\n * @example\n * getPseudoEndValue({\n * date: \"2023-06-01\",\n * index: 0,\n * ...\n * })\n * returns\n * {\n * date: \"2023-06-30\",\n * index: 1,\n * ...\n * }\n */\nexport const getPseudoEndValue = (\n data: MonthlyAreaGraphDatum\n): MonthlyAreaGraphDatum => {\n return {\n ...data,\n index: data.index + 1,\n date: DateTime.fromISO(data.date).endOf(\"month\").toISODate(),\n }\n}\n","import { getPseudoEndValue } from \"@/services/utils/utils\"\nimport { DateTime } from \"luxon\"\n\nimport type { MonthlyNaturalGasGraphDatum } from \"../../../../components/graph/types\"\nimport type { ResourceSummaryMonthRecord } from \"../../../report/models/resourceSummary\"\n\nconst getMonthlySiteConsumptionGraphData = (\n monthlySiteData: ResourceSummaryMonthRecord[] | undefined,\n siteId: string\n): MonthlyNaturalGasGraphDatum[] => {\n if (!monthlySiteData) {\n return []\n }\n\n const monthlyDataForSite = monthlySiteData\n .filter((record) => record.siteId === siteId)\n .map((record, i) => ({\n date: DateTime.fromObject({\n month: record.month,\n year: record.year,\n }).toISODate(),\n index: i,\n kwh: record.kwh,\n naturalGasThms: record.naturalGasThms,\n waterGallons: record.waterGallons,\n }))\n\n // Create 2nd record so graph can display a line\n if (monthlyDataForSite.length === 1) {\n const duplicatedRecord: MonthlyNaturalGasGraphDatum = getPseudoEndValue(\n monthlyDataForSite[0] as MonthlyNaturalGasGraphDatum\n ) as MonthlyNaturalGasGraphDatum\n monthlyDataForSite.push(duplicatedRecord)\n }\n\n return monthlyDataForSite as MonthlyNaturalGasGraphDatum[]\n}\n\nexport { getMonthlySiteConsumptionGraphData }\n","// @ts-strict-ignore\nimport type { Interval } from \"luxon\"\nimport type { PersistedSpraypaintRecord } from \"spraypaint\"\n\nimport SiteEmissionDay from \"../../../../models/siteEmissionDay\"\nimport { convertMmbtuToTherms } from \"../../../../utils\"\n\nexport const getSiteDailyNaturalGasEmissions = (\n siteId: string,\n timeRange: Interval\n) =>\n SiteEmissionDay.where({\n site_id: siteId,\n day: {\n gte: timeRange.start?.toISODate(),\n lte: timeRange.end?.toISODate(),\n },\n ghg_emissions_factor: {\n eq: {\n category: \"Stationary Combustion\",\n sub_category: \"Natural Gas\",\n unit: \"mmbtu\",\n },\n },\n scope: 1,\n })\n .all()\n .then(({ data }) =>\n data.map(\n (siteEmissionDay) =>\n ({\n ...siteEmissionDay,\n amount: convertMmbtuToTherms(Number(siteEmissionDay.amount)),\n }) as PersistedSpraypaintRecord\n )\n )\n","// @ts-strict-ignore\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\nimport type { Interval } from \"luxon\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport { getSiteDailyNaturalGasEmissions } from \"./useSiteDailyNaturalGasEmissionsUtils\"\n\n/**\n * Provides Site Emission day records for Natural Gas\n * @example\n * const { siteDailyNaturalGasEmissions, isSiteDailyNaturalGasEmissionsLoading } =\n useSiteDailyNaturalGasEmissions(\"1\", {\n start: moment(),\n end: moment(),\n })\n*/\nexport const useSiteDailyNaturalGasEmissions = (\n siteId: string,\n { dateRange }: { dateRange: Interval }\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteDailyNaturalGasEmissions,\n \"getMany\",\n null,\n {\n siteId,\n dateRange: dateRange.toISODate(),\n }\n )\n\n const queryResult = useQuery({\n keepPreviousData: true,\n queryKey,\n queryFn: async () => getSiteDailyNaturalGasEmissions(siteId, dateRange),\n enabled: !!siteId && dateRange.isValid,\n })\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","// @ts-strict-ignore\nimport type { Interval } from \"luxon\"\nimport type { PersistedSpraypaintRecord } from \"spraypaint/lib-esm/model\"\n\nimport { ResourceName } from \"../../../../models/resource\"\nimport type SiteEmissionDay from \"../../../../models/siteEmissionDay\"\nimport { LBS_PER_KG } from \"../../../../utils/constants\"\n\nconst getMonthlySiteNaturalGasEmissionsData = (\n data: PersistedSpraypaintRecord[] | undefined\n): PersistedSpraypaintRecord[] | undefined =>\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison\n data?.filter(({ name }) => name === ResourceName.NaturalGas)\n\n/**\n * Provides a finite number representing the total volume of natural gas (in therms)\n */\nconst getTotalVolumeNaturalGasThm = (\n data: PersistedSpraypaintRecord[]\n): number | undefined =>\n getMonthlySiteNaturalGasEmissionsData(data)?.reduce(\n (acc: number, currentData: SiteEmissionDay) =>\n acc + (Number.isFinite(currentData.amount) ? currentData.amount : 0),\n 0\n )\n\n/**\n * Provides a finite number representing the total volume of natural gas (in therms)\n * averaged over a given time range\n */\nconst getDailyAverageNaturalGasThm = (\n data: PersistedSpraypaintRecord[],\n timeRange: Interval\n): number | undefined => {\n if (!timeRange.isValid) {\n return undefined\n }\n // Calculate the number of days in the time range (inclusive of both start and end dates)\n const days = Math.ceil(timeRange.length(\"days\")) + 1\n\n if (!days) {\n return undefined\n }\n\n return getTotalVolumeNaturalGasThm(data) / days\n}\n\n/**\n * Provides a finite number representing the total Co2eLbs of natural gas (in therms)\n * averaged over a given time range\n */\nconst getTotalEmissionsNaturalGasCo2eLbs = (\n data: PersistedSpraypaintRecord[]\n): number | undefined =>\n getMonthlySiteNaturalGasEmissionsData(data)?.reduce(\n (acc: number, currentData: SiteEmissionDay) =>\n acc +\n (Number.isFinite(Number(currentData.kgCo2e))\n ? Number(currentData.kgCo2e) * LBS_PER_KG\n : 0),\n 0\n )\n\nexport {\n getDailyAverageNaturalGasThm,\n getTotalEmissionsNaturalGasCo2eLbs,\n getTotalVolumeNaturalGasThm,\n}\n","// @ts-strict-ignore\nimport type { Interval } from \"luxon\"\n\nimport type { MonthlyNaturalGasGraphDatum } from \"../../../../components/graph/types\"\nimport { useMonthlyConsumptionGraphData } from \"../useMonthlyConsumptionGraphData/useMonthlyConsumptionGraphData\"\nimport { useSiteDailyNaturalGasEmissions } from \"../useSiteDailyNaturalGasEmissions/useSiteDailyNaturalGasEmissions\"\nimport {\n getDailyAverageNaturalGasThm,\n getTotalEmissionsNaturalGasCo2eLbs,\n getTotalVolumeNaturalGasThm,\n} from \"./useMonthlySiteNaturalGasEmissionsDataUtil\"\n\n/**\n * Provides monthly consumption data (water and gas) for a given organization and date range\n * also provides natural gas emissions data for a given site and date range\n * with loading state and other expected boolean values\n * @example\n * const {\n * dailyAvgNaturalGasThm,\n * graphData,\n * totalEmissionsNaturalGasCo2eLbs,\n * totalVolumeNaturalGasGasThm,\n * isMonthlySiteNaturalGasEmissionsDataLoading,\n * isMonthlySiteNaturalGasEmissionsDataFetching,\n * isMonthlySiteNaturalGasEmissionsDataFetched,\n * } = useMonthlySiteNaturalGasEmissionsData(\"1\", {\n * dateRange: Interval.fromISO(\"2022-01-01/2022-12-31\"),\n * siteId: \"1\",\n *})\n */\nexport const useMonthlySiteNaturalGasEmissionsData = (\n orgId: string,\n dateRange: Interval,\n { siteId }: { siteId: string }\n): {\n dailyAvgNaturalGasThm: number\n graphData: MonthlyNaturalGasGraphDatum[]\n isMonthlySiteNaturalGasEmissionsDataFetched: boolean\n isMonthlySiteNaturalGasEmissionsDataFetching: boolean\n isMonthlySiteNaturalGasEmissionsDataLoading: boolean\n totalEmissionsNaturalGasCo2eLbs: number\n totalVolumeNaturalGasGasThm: number\n} => {\n const {\n monthlyConsumptionGraphData,\n isMonthlyConsumptionGraphDataFetched,\n isMonthlyConsumptionGraphDataFetching,\n isMonthlyConsumptionGraphDataLoading,\n } = useMonthlyConsumptionGraphData(orgId, dateRange, { siteId })\n const {\n siteDailyNaturalGasEmissions,\n isSiteDailyNaturalGasEmissionsFetched,\n isSiteDailyNaturalGasEmissionsFetching,\n isSiteDailyNaturalGasEmissionsLoading,\n } = useSiteDailyNaturalGasEmissions(siteId, { dateRange })\n\n return {\n isMonthlySiteNaturalGasEmissionsDataLoading:\n isSiteDailyNaturalGasEmissionsLoading ||\n isMonthlyConsumptionGraphDataLoading,\n isMonthlySiteNaturalGasEmissionsDataFetching:\n isMonthlyConsumptionGraphDataFetching ||\n isSiteDailyNaturalGasEmissionsFetching,\n isMonthlySiteNaturalGasEmissionsDataFetched:\n isMonthlyConsumptionGraphDataFetched &&\n isSiteDailyNaturalGasEmissionsFetched,\n graphData: monthlyConsumptionGraphData,\n dailyAvgNaturalGasThm: getDailyAverageNaturalGasThm(\n siteDailyNaturalGasEmissions,\n dateRange\n ),\n totalEmissionsNaturalGasCo2eLbs: getTotalEmissionsNaturalGasCo2eLbs(\n siteDailyNaturalGasEmissions\n ),\n totalVolumeNaturalGasGasThm: getTotalVolumeNaturalGasThm(\n siteDailyNaturalGasEmissions\n ),\n }\n}\n","// @ts-strict-ignore\nimport { useMemo } from \"react\"\n\nimport useMonthlySiteData from \"@/services/useMonthlySiteData/useMonthlySiteData\"\nimport type { Interval } from \"luxon\"\n\nimport type { MonthlyNaturalGasGraphDatum } from \"../../../../components/graph/types\"\nimport { getMonthlySiteConsumptionGraphData } from \"./useMonthlyConsumptionGraphDataUtil\"\n\n/**\n * Provide monthly consumption data (water and gas) for a given organization and date range\n *\n * @param orgId - The organization id to return data for\n * @param dateRange - The range to return data for\n * @param siteId - the ID to filter results by\n * @example\n * const {\n * monthlyConsumptionGraphData,\n * isMonthlyConsumptionGraphDataLoading,\n * } = useMonthlyConsumptionGraphData(\n * \"1\",\n * Interval.fromISO(\"2022-01-01/2022-12-31\"),\n * { siteId: \"1\"}\n * )\n */\n\nconst useMonthlyConsumptionGraphData = (\n orgId: string,\n dateRange: Interval,\n { siteId }: { siteId: string }\n): {\n isMonthlyConsumptionGraphDataFetched: boolean\n isMonthlyConsumptionGraphDataFetching: boolean\n isMonthlyConsumptionGraphDataLoading: boolean\n monthlyConsumptionGraphData: MonthlyNaturalGasGraphDatum[]\n} => {\n const {\n monthlySiteData,\n isMonthlySiteDataFetched,\n isMonthlySiteDataFetching,\n isMonthlySiteDataLoading,\n } = useMonthlySiteData(orgId, dateRange, {})\n\n return useMemo(\n () => ({\n monthlyConsumptionGraphData: getMonthlySiteConsumptionGraphData(\n monthlySiteData,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n siteId\n ),\n isMonthlyConsumptionGraphDataLoading: isMonthlySiteDataLoading,\n isMonthlyConsumptionGraphDataFetching: isMonthlySiteDataFetching,\n isMonthlyConsumptionGraphDataFetched: isMonthlySiteDataFetched,\n }),\n [\n monthlySiteData,\n siteId,\n isMonthlySiteDataLoading,\n isMonthlySiteDataFetching,\n isMonthlySiteDataFetched,\n ]\n )\n}\n\nexport { useMonthlyConsumptionGraphData }\n","// @ts-strict-ignore\nimport React, { useCallback, useEffect, useMemo, useState } from \"react\"\n\nimport { Page, PageHeaderActionBar } from \"@/components\"\nimport type { IRange } from \"@/models/range\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { Interval } from \"luxon\"\nimport moment from \"moment\"\nimport type { Moment } from \"moment\"\n\nimport {\n Box,\n Collapse,\n Divider,\n Grid,\n Paper,\n Typography,\n useTheme,\n} from \"@mui/material\"\n\nimport { useDashboardContext } from \"../../../../components/dashboard/useDashboardContext\"\nimport { EmissionDecimal } from \"../../../../components/decimal/emissionDecimal/emissionDecimal\"\nimport { UsageRateDecimal } from \"../../../../components/decimal/usageRateDecimal/usageRateDecimal\"\nimport { MonthlyStackedAreaGraph } from \"../../../../components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph\"\nimport Metric from \"../../../../components/metric/metric\"\nimport { NaturalGasPanel } from \"../../../../components/naturalGasPanel\"\nimport { Unit } from \"../../../../components/unit/unit\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport { MetricType } from \"../../../../models/decimal/decimal\"\nimport DateFilter from \"../../../../models/filter/dateFilter\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { MonthRangePicker } from \"../../../../nzds/inputs/month-range-picker\"\nimport { MAX_MONTHS_IN_RANGE } from \"../../../../utils/constants\"\nimport {\n clampDateRange,\n getMonthsInRange,\n isValidCrossYearDateRange,\n} from \"../../../../utils/date\"\nimport { useMonthlySiteNaturalGasEmissionsData } from \"../../services/useMonthlySiteNaturalGasEmissionsData/useMonthlySiteNaturalGasEmissionsData\"\nimport { useNaturalGasDateRange } from \"../../services/useNaturalGasDateRange/useNaturalGasDateRange\"\nimport EmptyChart, {\n DATE_PICKER_ERROR_MESSAGE,\n DATE_RANGE_ERROR_SUBHEADER,\n DEFAULT_HEADER,\n} from \"../site/emptyChart\"\nimport type { SiteFilters } from \"../site/site.types\"\n\nconst naturalGasTooltipLabelsMap = {\n naturalGasThms: {\n label: \"Natural Gas\",\n metricFormattingComponentId: MetricType.Emission,\n },\n}\n\nconst NaturalGas: React.FC = () => {\n const theme = useTheme()\n const { naturalGasDateRange, setNaturalGasDateRange } =\n useNaturalGasDateRange()\n\n const { filters, setFilters } = useFilters({\n start: DateFilter,\n end: DateFilter,\n })\n\n const dateRangeLuxon = useMemo(() => {\n return Interval.fromISO(\n `${filters.start.value?.toISOString()}/${filters.end.value?.toISOString()}`\n )\n }, [filters.start.value, filters.end.value])\n\n const [datePickerError, setDatePickerError] = useState(false)\n const { site, orgId, isSiteInfoOpen, siteInfoButton } = useDashboardContext()\n const { availableReportDatesData } = useAvailableReportDates(orgId)\n\n // Moment version to be used until migration to luxon is complete\n const availableReportDatesDataMoment: IRange = useMemo(() => {\n return {\n start: moment(availableReportDatesData.start?.toISODate()),\n end: moment(availableReportDatesData.end?.toISODate()),\n }\n }, [availableReportDatesData])\n\n const colors: string[] = [theme.palette.spectrum.purple[500]]\n\n const naturalGasOverviewTitle = \"Natural Gas Overview\"\n\n const {\n graphData,\n isMonthlySiteNaturalGasEmissionsDataLoading,\n totalVolumeNaturalGasGasThm,\n dailyAvgNaturalGasThm,\n totalEmissionsNaturalGasCo2eLbs,\n } = useMonthlySiteNaturalGasEmissionsData(\n orgId,\n Interval.fromISO(\n `${filters.start.value?.format(\"YYYY-MM-DD\")}/${filters.end.value?.format(\"YYYY-MM-DD\")}`\n ),\n { siteId: site.id }\n )\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n const newDateRange = {\n start: moment(value.start?.toISODate()),\n end: moment(value.end?.toISODate()),\n }\n\n setFilters({\n start: new DateFilter(newDateRange.start),\n end: new DateFilter(newDateRange.end),\n })\n setNaturalGasDateRange(newDateRange)\n }\n },\n [setFilters, setNaturalGasDateRange]\n )\n\n // Ensure query params are valid values\n useEffect(() => {\n if (\n availableReportDatesDataMoment.start.isValid() &&\n availableReportDatesDataMoment.end.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !naturalGasDateRange?.start?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !naturalGasDateRange?.end?.isValid()\n ) {\n // Clamp the start and end dates to the availableReportDates\n if (\n !isValidCrossYearDateRange(\n {\n start: filters.start.value,\n end: filters.end.value,\n },\n availableReportDatesDataMoment\n )\n ) {\n let dateRange = {\n start: availableReportDatesDataMoment.end.clone().startOf(\"year\"),\n end: availableReportDatesDataMoment.end.clone().endOf(\"month\"),\n }\n\n // Clamp date range if start date is before service hour min date\n dateRange = clampDateRange(dateRange, {\n start: availableReportDatesDataMoment.start.clone().startOf(\"month\"),\n end: availableReportDatesDataMoment.end.clone().endOf(\"month\"),\n })\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const startDate = dateRange.start\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const endDate = dateRange.end\n\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n start: new DateFilter(startDate),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n end: new DateFilter(endDate),\n },\n { replace: true }\n )\n setNaturalGasDateRange({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start: startDate,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end: endDate,\n })\n }\n // Set the naturalGasDateRange to the query params when they are valid\n else {\n setNaturalGasDateRange({\n start: filters.start.value,\n end: filters.end.value,\n })\n }\n } else if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.start?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.end?.isValid()\n ) {\n const monthsInRange = getMonthsInRange(\n naturalGasDateRange.start,\n naturalGasDateRange.end\n )\n if (monthsInRange >= MAX_MONTHS_IN_RANGE) {\n setDatePickerError(true)\n } else {\n setDatePickerError(false)\n }\n }\n // migrate directories to strict mode\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n availableReportDatesDataMoment,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.start,\n filters.end.value,\n filters.start.value,\n setNaturalGasDateRange,\n setFilters,\n ])\n\n // Set start and end date if they are not set in the url\n useEffect(() => {\n if (\n (!filters.start.value || !filters.end.value) &&\n availableReportDatesDataMoment.end.isValid()\n ) {\n // Set filters to default if not stored in our naturalGasDateRange service\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !naturalGasDateRange?.start?.isValid() ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !naturalGasDateRange?.end?.isValid() ||\n !isValidCrossYearDateRange(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: naturalGasDateRange?.start,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: naturalGasDateRange?.end,\n },\n availableReportDatesDataMoment\n )\n ) {\n const defaultStart = availableReportDatesDataMoment.end\n .clone()\n .startOf(\"year\")\n const defaultEnd = availableReportDatesDataMoment.end\n .clone()\n .endOf(\"month\")\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n start: new DateFilter(defaultStart),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n end: new DateFilter(defaultEnd),\n },\n { replace: true }\n )\n setNaturalGasDateRange({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start: defaultStart,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end: defaultEnd,\n })\n }\n // Set filters to stored naturalGasDateRange values\n else {\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: new DateFilter(naturalGasDateRange?.start),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: new DateFilter(naturalGasDateRange?.end),\n },\n { replace: true }\n )\n }\n }\n }, [\n availableReportDatesDataMoment,\n availableReportDatesDataMoment.end,\n availableReportDatesDataMoment.start,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n naturalGasDateRange?.start,\n filters.end.value,\n filters.start.value,\n setNaturalGasDateRange,\n setFilters,\n ])\n\n return (\n <>\n \n \n \n \n \n {MAX_MONTHS_IN_RANGE} months max\n \n \n\n \n {siteInfoButton}\n \n \n \n \n \n \n \n \n {datePickerError ? (\n \n ) : (\n <>\n \n \n {naturalGasOverviewTitle}\n \n \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n \n \n
    \n \n
    \n \n \n \n
    \n
    \n
    \n\n \n {/* migrate directories to strict mode */}\n {/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}\n {graphData?.length > 0 &&\n !isMonthlySiteNaturalGasEmissionsDataLoading && (\n \n )}\n \n \n\n \n \n \n )}\n
    \n
    \n \n )\n}\n\nexport default NaturalGas\n","// @ts-strict-ignore\nimport { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\n\ninterface NaturalGasDateRangeValue {\n naturalGasDateRange: IRange | null\n setNaturalGasDateRange: (dateRange: IRange) => void\n}\n\n/**\n * A service for saving and providing the date range for a site's natural gas\n *\n * @returns - The naturalGas date range service\n * @example\n * const { naturalGasDateRange, setNaturalGasDateRange } = useNaturalGasDateRange()\n */\nexport const useNaturalGasDateRange = (): NaturalGasDateRangeValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(() => [ApiQueryName.NaturalGasDateRange], [])\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: (): Promise> =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n staleTime: Infinity,\n })\n\n const naturalGasDateRange = useMemo(\n () => data,\n [data]\n ) as unknown as IRange\n\n const setNaturalGasDateRange = useCallback(\n (dateRange: IRange) => {\n queryClient.setQueryData(queryKey, dateRange)\n },\n [queryClient, queryKey]\n )\n\n return useMemo(\n () => ({\n naturalGasDateRange,\n setNaturalGasDateRange,\n }),\n [naturalGasDateRange, setNaturalGasDateRange]\n )\n}\n","import { getPseudoEndValue } from \"@/services/utils/utils\"\nimport moment from \"moment\"\n\nimport type {\n MonthlyAreaGraphDatum,\n MonthlyEmissionsGraphValues,\n} from \"../../../../components/graph/types\"\nimport { LBS_PER_METRIC_TON } from \"../../../../utils/constants\"\nimport type { ResourceSummaryMonthRecord } from \"../../../report/models/resourceSummary\"\n\ntype MonthlyEmissionsGraphDatum = MonthlyEmissionsGraphValues &\n MonthlyAreaGraphDatum\n\ninterface MonthlySiteEmissionsGraphData {\n data: MonthlyEmissionsGraphDatum[]\n totals: MonthlyEmissionsGraphValues\n}\n\nconst getMonthlySiteEmissionsTotals = (\n monthlyEmissionsGraphData: MonthlyEmissionsGraphDatum[]\n): MonthlyEmissionsGraphValues =>\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n monthlyEmissionsGraphData?.reduce(\n (acc, graphDatum) => {\n acc.electricity += graphDatum.electricity\n acc.naturalGas += graphDatum.naturalGas\n return acc\n },\n { electricity: 0, naturalGas: 0 }\n )\n\n/**\n * @param monthlyDataBySite - A collection data with electricity and natural gas results\n * @param siteId - The site id to filter the data by\n * @example\n * const monthlyEmissionsGraphData = getMonthlySiteEmissionsGraphData(\n [\n {\n siteId: \"1\",\n year: 2021,\n month: 1,\n advancedGridStudyCo2ELbs: 3,\n naturalGasCo2ELbs: 4,\n },\n {\n siteId: \"2\",\n year: 2021,\n month: 1,\n advancedGridStudyCo2ELbs: 1,\n naturalGasCo2ELbs: 2,\n }\n ],\n )\n */\nconst getMonthlySiteEmissionsGraphData = (\n monthlyDataBySite: ResourceSummaryMonthRecord[],\n siteId: string\n): MonthlySiteEmissionsGraphData => {\n const monthlyDataForSite = monthlyDataBySite\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n ?.filter((record) => record.siteId === siteId)\n .map((record, i) => ({\n date: moment([record.year, record.month - 1]).format(\"YYYY-MM-DD\"),\n index: i,\n electricity: record.advancedGridStudyCo2ELbs / LBS_PER_METRIC_TON,\n naturalGas: record.naturalGasCo2ELbs / LBS_PER_METRIC_TON,\n }))\n\n // totaled before the duplicate data point is potentially added\n const monthlySiteEmissionsTotals =\n getMonthlySiteEmissionsTotals(monthlyDataForSite)\n\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (monthlyDataForSite?.length === 1) {\n // This is needed for the graph to display correctly.\n // If there is only one month, a duplicate is created\n // with an end date set to the end of the month\n const duplicatedRecord: MonthlyEmissionsGraphDatum = getPseudoEndValue(\n monthlyDataForSite[0]\n ) as MonthlyEmissionsGraphDatum\n monthlyDataForSite.push(duplicatedRecord)\n }\n\n return {\n data: monthlyDataForSite,\n totals: monthlySiteEmissionsTotals,\n }\n}\n\nexport { getMonthlySiteEmissionsGraphData }\n","// @ts-strict-ignore\nimport React, { useCallback, useEffect, useMemo, useState } from \"react\"\n\nimport { Page, PageHeaderActionBar } from \"@/components\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useAvailableReportDates } from \"@/services\"\nimport { Interval } from \"luxon\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { Box, Collapse, Paper, Typography, useTheme } from \"@mui/material\"\n\nimport { useDashboardContext } from \"../../../../components/dashboard/useDashboardContext\"\nimport Legend from \"../../../../components/graph/legend/legend\"\nimport { MonthlyStackedAreaGraph } from \"../../../../components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph\"\nimport { buildLegendItems } from \"../../../../components/graph/monthly-stacked-area-graph/monthly-stacked-area-graph-util\"\nimport type { AreaGraphMap } from \"../../../../components/graph/types\"\nimport useFilters from \"../../../../hooks/useFilters/useFilters\"\nimport { MetricType } from \"../../../../models/decimal/decimal\"\nimport DateFilter from \"../../../../models/filter/dateFilter\"\nimport SingleSelectStringFilter from \"../../../../models/filter/singleSelectStringFilter\"\nimport type { IRange } from \"../../../../models/range\"\nimport { UnitName } from \"../../../../models/unit\"\nimport { MonthRangePicker } from \"../../../../nzds/inputs/month-range-picker\"\nimport { MAX_MONTHS_IN_RANGE } from \"../../../../utils/constants\"\nimport {\n clampDateRange,\n getMonthsInRange,\n isValidCrossYearDateRange,\n} from \"../../../../utils/date\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport { useEmissionsDateRange } from \"../../services/useEmissionsDateRange/useEmissionsDateRange\"\nimport { useMonthlyEmissionsGraphData } from \"../../services/useMonthlyEmissionsGraphData/useMonthlyEmissionsGraphData\"\nimport EmptyChart, {\n DATE_PICKER_ERROR_MESSAGE,\n DATE_RANGE_ERROR_SUBHEADER,\n DEFAULT_HEADER,\n EMPTY_HEADER,\n} from \"../site/emptyChart\"\nimport type { SiteAnalysisFilters } from \"../site/site.types\"\n\nconst emissionsTooltipLabelsMap = {\n electricity: {\n label: \"Electricity\",\n metricFormattingComponentId: MetricType.Emission,\n },\n naturalGas: {\n label: \"Natural Gas\",\n metricFormattingComponentId: MetricType.Emission,\n },\n}\n\nconst SiteAnalysis: React.FC = () => {\n const theme = useTheme()\n const { isSiteInfoOpen, orgId, site, siteHasNoData, siteInfoButton } =\n useDashboardContext()\n const { emissionsDateRange, setEmissionsDateRange } = useEmissionsDateRange()\n\n const { filters, setFilters } = useFilters({\n start: DateFilter,\n end: DateFilter,\n energyUnit: SingleSelectStringFilter,\n })\n\n const [datePickerError, setDatePickerError] = useState(false)\n\n const colors: string[] = [\n theme.palette.spectrum.purple[500],\n theme.palette.spectrum.cerulean[300],\n ]\n\n const emissionsMap: AreaGraphMap = {\n electricity: {\n label: \"Electricity\",\n color: colors[1],\n },\n naturalGas: {\n label: \"Natural Gas\",\n color: colors[0],\n },\n }\n\n const dateRange: IRange = useMemo(\n () => ({\n start: filters.start.value,\n end: filters.end.value,\n }),\n [filters.start.value, filters.end.value]\n )\n\n const dateRangeLuxon: Interval = useMemo(\n () =>\n Interval.fromISO(\n `${dateRange.start?.toISOString()}/${dateRange.end?.toISOString()}`\n ),\n [dateRange]\n )\n\n const { availableReportDatesData } = useAvailableReportDates(orgId)\n\n // Moment version to be used until migration to luxon is complete\n const availableReportDatesDataMoment: IRange = useMemo(() => {\n return {\n start: moment(availableReportDatesData.start?.toISODate()),\n end: moment(availableReportDatesData.end?.toISODate()),\n }\n }, [availableReportDatesData])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { monthlyEmissionsGraphData, isMonthlyEmissionsGraphDataLoading } =\n useMonthlyEmissionsGraphData(\n orgId,\n Interval.fromISO(\n `${dateRange.start?.format(\"YYYY-MM-DD\")}/${dateRange.end?.format(\"YYYY-MM-DD\")}`\n ),\n { siteId: site.id }\n )\n\n const handleDateRangeChange = useCallback(\n (value: Interval | null): void => {\n if (value?.isValid) {\n const newDateRange = {\n start: moment(value.start?.toISODate()),\n end: moment(value.end?.toISODate()),\n }\n\n setFilters({\n start: new DateFilter(newDateRange.start),\n end: new DateFilter(newDateRange.end),\n })\n setEmissionsDateRange(newDateRange)\n }\n },\n [setEmissionsDateRange, setFilters]\n )\n\n // Ensure query params are valid values\n useEffect(() => {\n if (\n availableReportDatesDataMoment.start.isValid() &&\n availableReportDatesDataMoment.end.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !emissionsDateRange?.start?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !emissionsDateRange?.end?.isValid()\n ) {\n // Clamp the start and end dates to the availableReportDates\n if (\n !isValidCrossYearDateRange(dateRange, availableReportDatesDataMoment)\n ) {\n const defaultStart = availableReportDatesDataMoment.end\n .clone()\n .startOf(\"year\")\n const defaultEnd = availableReportDatesDataMoment.end\n .clone()\n .endOf(\"month\")\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n start: new DateFilter(defaultStart),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n end: new DateFilter(defaultEnd),\n },\n { replace: true }\n )\n setEmissionsDateRange({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start: defaultStart,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end: defaultEnd,\n })\n } else {\n setEmissionsDateRange(dateRange)\n }\n } else if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.start?.isValid() &&\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.end?.isValid()\n ) {\n // Show error if date range is greater than 36 months\n const monthsInRange = getMonthsInRange(\n emissionsDateRange.start,\n emissionsDateRange.end\n )\n if (monthsInRange >= MAX_MONTHS_IN_RANGE) {\n setDatePickerError(true)\n } else {\n setDatePickerError(false)\n }\n }\n // migrate directories to strict mode\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n availableReportDatesDataMoment,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.start,\n filters.end.value,\n filters.start.value,\n setEmissionsDateRange,\n emissionsDateRange,\n setFilters,\n setDatePickerError,\n ])\n\n // Set start and end date if they are not set in the url\n useEffect(() => {\n if (\n (!filters.start.value || !filters.end.value) &&\n availableReportDatesDataMoment.end.isValid()\n ) {\n // Set filters to default if not stored in our emissionsDateRange service\n if (\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !emissionsDateRange?.start?.isValid() ||\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n !emissionsDateRange?.end?.isValid() ||\n !isValidCrossYearDateRange(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: emissionsDateRange?.start,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: emissionsDateRange?.end,\n },\n availableReportDatesDataMoment\n )\n ) {\n let reportDates = {\n start: availableReportDatesDataMoment.end.clone().startOf(\"year\"),\n end: availableReportDatesDataMoment.end.clone().endOf(\"month\"),\n }\n\n // Clamp date range if start date is before service hour min date\n reportDates = clampDateRange(reportDates, {\n start: availableReportDatesDataMoment.start.clone().startOf(\"month\"),\n end: availableReportDatesDataMoment.end.clone().endOf(\"month\"),\n })\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const startDate = reportDates.start\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const endDate = reportDates.end\n\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n start: new DateFilter(startDate),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n end: new DateFilter(endDate),\n },\n { replace: true }\n )\n setEmissionsDateRange({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n start: startDate,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n end: endDate,\n })\n }\n // Set filters to stored emissionsDateRange values\n else {\n setFilters(\n {\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n start: new DateFilter(emissionsDateRange?.start),\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n end: new DateFilter(emissionsDateRange?.end),\n },\n { replace: true }\n )\n }\n }\n }, [\n availableReportDatesDataMoment,\n availableReportDatesDataMoment.end,\n availableReportDatesDataMoment.start,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.end,\n // migrate directories to strict mode\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n emissionsDateRange?.start,\n filters.end.value,\n filters.start.value,\n setEmissionsDateRange,\n setFilters,\n ])\n\n const siteAnalysisOverviewTitle = \"Emissions Overview\"\n return (\n <>\n \n \n \n \n \n {MAX_MONTHS_IN_RANGE} months max\n \n \n \n {siteInfoButton}\n \n \n \n \n \n \n \n \n {siteHasNoData || datePickerError ? (\n \n ) : (\n \n \n {siteAnalysisOverviewTitle}\n \n \n {/* Mass lint disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-member-access */}\n {monthlyEmissionsGraphData?.data?.length > 0 &&\n !isMonthlyEmissionsGraphDataLoading && (\n \n \n \n \n \n )}\n \n \n )}\n \n \n \n )\n}\n\nexport default SiteAnalysis\n","// @ts-strict-ignore\nimport { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\nimport type { Moment } from \"moment\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type { IRange } from \"../../../../models/range\"\n\ninterface EmissionsDateRangeValue {\n emissionsDateRange: IRange | null\n setEmissionsDateRange: (dateRange: IRange) => void\n}\n\n/**\n * A service for saving and providing the date range for a site's emissions\n *\n * @returns - The emissions date range service\n * @example\n * const { emissionsDateRange, setEmissionsDateRange } = useEmissionsDateRange()\n */\nexport const useEmissionsDateRange = (): EmissionsDateRangeValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(() => [ApiQueryName.EmissionsDateRange], [])\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: (): Promise> =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n staleTime: Infinity,\n })\n\n const emissionsDateRange = useMemo(\n () => data,\n [data]\n ) as unknown as IRange\n\n const setEmissionsDateRange = useCallback(\n (dateRange: IRange) => {\n queryClient.setQueryData(queryKey, dateRange)\n },\n [queryClient, queryKey]\n )\n\n return useMemo(\n () => ({\n emissionsDateRange,\n setEmissionsDateRange,\n }),\n [emissionsDateRange, setEmissionsDateRange]\n )\n}\n","// @ts-strict-ignore\nimport { useMemo } from \"react\"\n\nimport useMonthlySiteData from \"@/services/useMonthlySiteData/useMonthlySiteData\"\nimport type { Interval } from \"luxon\"\n\nimport { getMonthlySiteEmissionsGraphData } from \"./useMonthlyEmissionsGraphDataUtil\"\n\n/**\n * Provide monthly emissions in MT CO2e from natural gas and electricity\n * for a given organization and date range\n *\n * @param orgId - The organization id to return data for\n * @param dateRange - The range to return data for\n * @param siteId - The ID to restrict results by\n * @example\n * const { monthlyEmissionsGraphData, isMonthlyEmissionsGraphDataLoading } =\n useMonthlyEmissionsGraphData(\n \"1\",\n Interval.fromISO(\"2022-01-01/2022-12-31\"),\n {\n siteId: \"1\",\n }\n )\n */\n\nconst useMonthlyEmissionsGraphData = (\n orgId: string,\n dateRange: Interval,\n { siteId }\n): {\n isMonthlyEmissionsGraphDataFetched: boolean\n isMonthlyEmissionsGraphDataFetching: boolean\n isMonthlyEmissionsGraphDataLoading: boolean\n monthlyEmissionsGraphData\n} => {\n const {\n monthlySiteData,\n isMonthlySiteDataFetched,\n isMonthlySiteDataFetching,\n isMonthlySiteDataLoading,\n } = useMonthlySiteData(orgId, dateRange, {})\n\n return useMemo(\n () => ({\n monthlyEmissionsGraphData: getMonthlySiteEmissionsGraphData(\n monthlySiteData,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n siteId\n ),\n isMonthlyEmissionsGraphDataLoading: isMonthlySiteDataLoading,\n isMonthlyEmissionsGraphDataFetching: isMonthlySiteDataFetching,\n isMonthlyEmissionsGraphDataFetched: isMonthlySiteDataFetched,\n }),\n [\n monthlySiteData,\n siteId,\n isMonthlySiteDataLoading,\n isMonthlySiteDataFetching,\n isMonthlySiteDataFetched,\n ]\n )\n}\n\nexport { useMonthlyEmissionsGraphData }\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useDashboardContext } from \"@/components/dashboard/useDashboardContext\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { SigmaReport } from \"@/modules/report/components/sigma-report\"\nimport { HStack } from \"@/nzds/layout\"\nimport { allSitesWorkspaceName, useSigmaWorkbooks } from \"@/services/sigma\"\nimport type { SigmaWorkbook } from \"@/services/sigma\"\n\nimport { Box, Collapse } from \"@mui/material\"\n\nexport const SiteDetailsRoute: FC = () => {\n const { site, isSiteInfoOpen, siteInfoButton } = useDashboardContext()\n const { sigmaWorkbooksData } = useSigmaWorkbooks({\n workspaceNames: [allSitesWorkspaceName],\n })\n\n const siteDetailWorkbook: SigmaWorkbook | undefined =\n sigmaWorkbooksData?.entries.find((workbook) => workbook.name === \"Details\")\n\n return (\n <>\n \n \n \n {siteInfoButton}\n \n theme.typography.pxToRem(320)} />\n \n \n \n \n \n \n \n \n )\n}\n","import { useCallback, useMemo, useState } from \"react\"\n\ninterface IUseToggle {\n isOn: boolean\n toggle: () => void\n}\n\nexport const useToggle: () => IUseToggle = () => {\n const [isOn, setIsOn] = useState(false)\n\n const toggle = useCallback((): void => {\n setIsOn((prev) => !prev)\n }, [])\n\n return useMemo(\n () => ({\n isOn,\n toggle,\n }),\n [isOn, toggle]\n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { Paper } from \"@mui/material\"\n\nimport type Site from \"../../../../models/site\"\nimport { SiteInfoContent } from \"./siteInfoContent\"\n\ninterface SiteInfoProps {\n onClose: () => void\n site: Site | null\n}\n\nconst SiteInfo: FC = ({ onClose, site }) => (\n \n \n \n)\n\nexport default SiteInfo\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\n/* eslint-disable @typescript-eslint/no-unsafe-assignment */\n\n/* eslint-disable @typescript-eslint/no-unnecessary-condition */\nimport type { FC } from \"react\"\nimport React, { useEffect, useMemo, useState } from \"react\"\nimport {\n Link,\n Navigate,\n Outlet,\n useLocation,\n useMatch,\n useParams,\n} from \"react-router-dom\"\n\nimport type { DashboardContext } from \"@/components/dashboard/types\"\nimport type { DateRangeWithType } from \"@/components/graph/dateRangeWithType\"\nimport { Page404 } from \"@/components/nav/page404\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport type { IRange } from \"@/models/range\"\nimport { SitePath } from \"@/models/route\"\nimport Site from \"@/models/site\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useSite } from \"@/services/site\"\nimport { useToggle } from \"@/services/toggle\"\nimport { TIME_RANGES } from \"@/utils\"\nimport { useUrl } from \"@/utils/url\"\nimport { kebabCase } from \"lodash-es\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport { Box, Slide, Tab, Tabs, useTheme } from \"@mui/material\"\n\nimport SiteInfo from \"../../components/siteInfo/siteInfo\"\nimport SiteInfoButton from \"../../components/siteInfo/siteInfoButton/siteInfoButton\"\nimport {\n useMonthSummariesMinMaxDates,\n useNaturalGasAvailableMonths,\n useServiceHourMinMaxDates,\n useSiteExtraAttributes,\n} from \"../../services\"\n\ninterface SiteTab {\n disabled?: boolean\n label: string\n path: string\n}\n\nconst currentTimeRange = (start: Moment, end: Moment): TIME_RANGES => {\n return Math.abs(start.diff(end, \"hours\")) >= 48\n ? TIME_RANGES.MONTH\n : TIME_RANGES.DAY\n}\n\nexport const SiteIndexRoute: FC = () => {\n const theme = useTheme()\n const { search: locationSearch } = useLocation()\n const { buildSiteUrl } = useUrl()\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n const params = useParams()\n const { site, isSiteFetched } = useSite(params.siteId ?? \"\")\n // Create a Spraypaint site instance\n // We shouldn't be doing this, but our entity services and use of Spraypaint need to be fixed\n const activeSite: Site | null = useMemo(\n () => (site ? new Site(site) : null),\n [site]\n )\n\n const [isSiteInActiveOrg, setIsSiteInActiveOrg] = useState<\n boolean | undefined\n >(undefined)\n\n const isNewTabsEnabled = isFeatureEnabled(\n FeatureFlags.SITE_NEW_TABS,\n organization\n )\n\n const siteDetailRootMatch = useMatch(buildSiteUrl(SitePath.Site))\n const electricityMatch = useMatch(\n buildSiteUrl(SitePath.Site, SitePath.Electricity)\n )\n const emissionsMatch = useMatch(\n buildSiteUrl(SitePath.Site, SitePath.Emissions)\n )\n const naturalGasMatch = useMatch(\n buildSiteUrl(SitePath.Site, SitePath.NaturalGas)\n )\n const overviewMatch = useMatch(buildSiteUrl(SitePath.Site, SitePath.Overview))\n const detailsMatch = useMatch(\n buildSiteUrl(SitePath.Site, SitePath.SiteDetails)\n )\n\n let activeTabPath: SitePath | undefined = undefined\n\n if (electricityMatch) {\n activeTabPath = SitePath.Electricity\n } else if (emissionsMatch) {\n activeTabPath = SitePath.Emissions\n } else if (naturalGasMatch) {\n activeTabPath = SitePath.NaturalGas\n } else if (overviewMatch) {\n activeTabPath = SitePath.Overview\n } else if (detailsMatch) {\n activeTabPath = SitePath.SiteDetails\n }\n\n const urlSearchParams = new URLSearchParams(locationSearch)\n const urlStart = urlSearchParams.get(\"start\")\n const urlEnd = urlSearchParams.get(\"end\")\n\n const searchStartDate: moment.Moment = moment(\n urlStart,\n \"YYYY-MM-DD\"\n ).isValid()\n ? moment(urlStart, \"YYYY-MM-DD\")\n : moment(moment().startOf(\"month\").format(\"YYYY-MM-DD\"))\n\n const searchEndDate: moment.Moment = moment(urlEnd, \"YYYY-MM-DD\")\n .endOf(\"day\")\n .isValid()\n ? moment(urlEnd, \"YYYY-MM-DD\").endOf(\"day\")\n : moment(moment().endOf(\"month\").endOf(\"day\").format(\"YYYY-MM-DD\"))\n\n const [timeWindow, setTimeWindow] = useState({\n startDate: searchStartDate,\n endDate: searchEndDate,\n timeRange: currentTimeRange(searchStartDate, searchEndDate),\n })\n\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unused-vars\n const [energyAllocations, setEnergyAllocations] = useState(null)\n\n const {\n siteExtraAttributes: {\n hasAmiMeter,\n hasAmrMeter,\n hasSubMeter,\n probeMeter,\n } = {\n hasAmiMeter: null,\n hasAmrMeter: null,\n hasSubMeter: null,\n probeMeter: null,\n },\n isSiteExtraAttributesFetched,\n } = useSiteExtraAttributes(activeSite?.id)\n\n const isMonthlySummaryVisible: boolean =\n isSiteExtraAttributesFetched &&\n Boolean(hasAmrMeter) &&\n Boolean(!hasAmiMeter)\n\n const { isOn: isSiteInfoOpen, toggle: toggleSiteInfo } = useToggle()\n\n // Does site track natural gas?\n const { naturalGasAvailableMonths, isNaturalGasAvailableMonthsFetched } =\n useNaturalGasAvailableMonths(activeSite?.id)\n\n const siteTracksAndHasGas =\n isNaturalGasAvailableMonthsFetched &&\n naturalGasAvailableMonths &&\n (naturalGasAvailableMonths as Moment[]).length >= 1\n\n // Does site track electricity?\n const { serviceHourMinMaxDates, isServiceHourMinMaxDatesFetched } =\n useServiceHourMinMaxDates(activeSite)\n\n const { monthSummariesMinMaxDates, isMonthSummariesMinMaxDatesFetched } =\n useMonthSummariesMinMaxDates(activeSite?.id, {\n isDisabled: !isMonthlySummaryVisible,\n })\n\n // TODO: Fix typing (especially in useRenamedQueryResult) to avoid casting\n const monthSummariesDateRange = monthSummariesMinMaxDates as\n | IRange\n | undefined\n\n const siteHasElectricityServiceHours: boolean =\n isServiceHourMinMaxDatesFetched &&\n serviceHourMinMaxDates?.end !== null &&\n serviceHourMinMaxDates?.start !== null\n\n const siteHasElectricityMonthlySummary: boolean = isMonthlySummaryVisible\n ? Boolean(monthSummariesDateRange) &&\n Boolean(monthSummariesDateRange?.end?.isValid()) &&\n Boolean(monthSummariesDateRange?.start?.isValid())\n : true\n\n const siteTracksAndHasElectricity: boolean =\n siteHasElectricityServiceHours && siteHasElectricityMonthlySummary\n\n const siteHasNoData: boolean =\n !siteTracksAndHasElectricity &&\n !siteTracksAndHasGas &&\n isServiceHourMinMaxDatesFetched &&\n (!isMonthlySummaryVisible ||\n (isMonthlySummaryVisible && isMonthSummariesMinMaxDatesFetched)) &&\n isNaturalGasAvailableMonthsFetched\n\n const naturalGasMatchNoData: boolean =\n Boolean(naturalGasMatch) &&\n !siteTracksAndHasGas &&\n isNaturalGasAvailableMonthsFetched\n\n const electricityMatchNoData: boolean =\n Boolean(electricityMatch) &&\n !siteTracksAndHasElectricity &&\n isServiceHourMinMaxDatesFetched &&\n (!isMonthlySummaryVisible ||\n (isMonthlySummaryVisible && isMonthSummariesMinMaxDatesFetched))\n\n const isReadyToRender: boolean =\n (Boolean(activeSite) &&\n // Avoid flashing and processing of previous site data when switching between sites\n // TODO: Need to refactor to use new site service to avoid this (useSite not working properly)\n activeSite?.id === params.siteId &&\n hasAmrMeter !== null &&\n isServiceHourMinMaxDatesFetched &&\n (!isMonthlySummaryVisible ||\n (isMonthlySummaryVisible && isMonthSummariesMinMaxDatesFetched)) &&\n isNaturalGasAvailableMonthsFetched) ||\n isSiteInActiveOrg === false\n\n // Set details based on the active site\n useEffect(() => {\n if (isSiteFetched) {\n setIsSiteInActiveOrg(activeSite?.organization.id === organization?.id)\n\n if (activeSite?.timezone) {\n moment.tz.setDefault(activeSite.timezone)\n }\n }\n }, [activeSite, isSiteFetched, organization])\n\n // Redirect to correct tab if necessary\n if (\n !isNewTabsEnabled &&\n (siteHasNoData || isSiteInActiveOrg === false) &&\n !emissionsMatch\n ) {\n return (\n \n )\n }\n\n if (siteDetailRootMatch) {\n return isNewTabsEnabled ? (\n \n ) : (\n \n )\n }\n\n if (!isNewTabsEnabled) {\n if (electricityMatchNoData) {\n return \n }\n\n if (naturalGasMatchNoData) {\n if (!siteTracksAndHasElectricity) {\n return \n }\n\n return \n }\n }\n\n const outletContext: DashboardContext = {\n dateRange: {\n start: timeWindow.startDate,\n end: timeWindow.endDate,\n },\n isSiteInfoOpen,\n orgId: organization?.id,\n site: activeSite,\n siteHasNoData,\n siteTracksAndHasGas,\n siteTracksAndHasElectricity,\n siteInfoButton: (\n \n ),\n electricity: {\n isMonthlySummaryVisible,\n siteHasSubMeter: hasSubMeter,\n siteIsAmi: hasAmiMeter,\n siteIsAmr: hasAmrMeter,\n siteIsProbe: probeMeter,\n setEnergyAllocations,\n setTimeWindow,\n },\n }\n\n const newTabs: SiteTab[] = [\n { label: \"Overview\", path: SitePath.Overview },\n { label: \"Details\", path: SitePath.SiteDetails },\n ]\n const oldTabs: SiteTab[] = [\n { disabled: siteHasNoData, label: \"Emissions\", path: SitePath.Emissions },\n ]\n\n if (siteHasNoData || siteTracksAndHasElectricity) {\n oldTabs.push({\n disabled: siteHasNoData,\n label: \"Electricity\",\n path: SitePath.Electricity,\n })\n }\n\n if (siteHasNoData || siteTracksAndHasGas) {\n oldTabs.push({\n disabled: siteHasNoData,\n label: \"Natural Gas\",\n path: SitePath.NaturalGas,\n })\n }\n\n const tabs: SiteTab[] = [...(isNewTabsEnabled ? newTabs : oldTabs)]\n\n return isReadyToRender ? (\n <>\n element\n // So must use it manually\n \n }\n title={`${activeSite?.name ?? \"Unknown Site\"}${\n activeSite?.departmentName ? \", \" + activeSite.departmentName : \"\"\n }`}\n />\n {isSiteInActiveOrg === false ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n ) : null\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useDashboardContext } from \"@/components/dashboard/useDashboardContext\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { Page } from \"@/components/page\"\nimport { SigmaReport } from \"@/modules/report/components/sigma-report\"\nimport { HStack } from \"@/nzds/layout\"\nimport { allSitesWorkspaceName, useSigmaWorkbooks } from \"@/services/sigma\"\nimport type { SigmaWorkbook } from \"@/services/sigma\"\n\nimport { Box, Collapse } from \"@mui/material\"\n\nexport const SiteOverviewRoute: FC = () => {\n const { site, isSiteInfoOpen, siteInfoButton } = useDashboardContext()\n const { sigmaWorkbooksData } = useSigmaWorkbooks({\n workspaceNames: [allSitesWorkspaceName],\n })\n\n const siteOverviewWorkbook: SigmaWorkbook | undefined =\n sigmaWorkbooksData?.entries.find((workbook) => workbook.name === \"Overview\")\n\n return (\n <>\n \n \n \n {siteInfoButton}\n \n theme.typography.pxToRem(320)} />\n \n \n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { DateDisplay } from \"@/components/date/dateDisplay/dateDisplay\"\nimport moment from \"moment\"\n\nimport type { ComplianceDatesProps } from \"./compliance-dates.types\"\n\nexport const ComplianceDates: FC = ({ regulations }) => {\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => (\n \n {index > 0 && \", \"}\n {\n // This logic is unnecessarily complicated\n // The api should not be returning effective dates when there is no regulation\n regulation.regulation_name === \"No Regulation\" ? (\n <>--\n ) : (\n \n )\n }\n \n ))}\n \n )\n}\n","import React, { useEffect, useRef, useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box, Tooltip } from \"@mui/material\"\n\nimport type { ComplianceEmissionFactorNameProps } from \"./compliance-emission-factor-name.types\"\n\nfunction isOverflown(element: HTMLElement) {\n return (\n element.scrollHeight > element.clientHeight ||\n element.scrollWidth > element.clientWidth\n )\n}\n\nexport const ComplianceEmissionFactorName: FC<\n ComplianceEmissionFactorNameProps\n> = ({ emissionFactorType, regulations }) => {\n const emissionFactorRef = useRef(null)\n const [isTitleOverflown, setIsTitleOverflown] = useState(false)\n\n const emissionFactors = regulations\n .map((regulation) => {\n return (\n regulation.emission_factors?.[`${emissionFactorType}_source`] ?? \"--\"\n )\n })\n .join(\", \")\n\n useEffect(() => {\n if (emissionFactorRef.current) {\n setIsTitleOverflown(isOverflown(emissionFactorRef.current))\n }\n }, [])\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {isTitleOverflown ? (\n \n \n {emissionFactors}\n \n \n ) : (\n \n {emissionFactors}\n \n )}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\n\nimport type { ComplianceEmissionFactorValueProps } from \"./compliance-emission-factor-value.types\"\n\nexport const ComplianceEmissionFactorValue: FC<\n ComplianceEmissionFactorValueProps\n> = ({ emissionFactorType, regulations }) => {\n const { format: formatDecimalToTenThousandths } = useFormatDecimal({\n maximumFractionDigits: 4,\n minimumFractionDigits: 4,\n })\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => (\n \n {index > 0 && \", \"}\n {formatDecimalToTenThousandths(\n regulation.emission_factors?.[`${emissionFactorType}_ef`]\n )}\n \n ))}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatMoney } from \"@/formatters/useFormatMoney\"\n\nimport type { ComplianceFinesProps } from \"./compliance-fines.types\"\n\nexport const ComplianceFines: FC = ({ regulations }) => {\n const { format: formatMoney } = useFormatMoney({\n minimumFractionDigits: 0,\n maximumFractionDigits: 0,\n })\n\n const fines: number | null = regulations?.reduce(\n (total: number | null, regulation) => {\n if (\n !Number.isFinite(total) &&\n (regulation.regulation_name === \"No Regulation\" ||\n regulation.is_supported_without_fines)\n ) {\n return null\n }\n\n if (!Number.isFinite(total)) {\n return regulation.penalties\n }\n\n return total + regulation.penalties\n },\n null\n )\n\n return <>{!regulations?.length ? \"--\" : formatMoney(fines)}\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { If } from \"@/components/if/if\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { ComplianceIconProps } from \"./complianceIcon.types\"\n\nconst computeColor = (isCompliant: boolean | null): string => {\n if (isCompliant === null) {\n return \"\"\n }\n\n return isCompliant ? \"spectrum.green.400\" : \"spectrum.red.400\"\n}\n\nexport const ComplianceIcon: FC = ({ isCompliant }) => {\n return (\n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { ComplianceIcon } from \"../compliance-icon\"\nimport type { ComplianceStatusProps } from \"./compliance-status.types\"\n\ntype ComplianceStatus = \"--\" | \"Compliant\" | \"Non-compliant\"\n\nconst computeStatus = (isCompliant: boolean | null): ComplianceStatus => {\n if (isCompliant === null) {\n return \"--\"\n }\n\n return isCompliant ? \"Compliant\" : \"Non-compliant\"\n}\n\nexport const ComplianceStatus: FC = ({\n isCompliant,\n}) => {\n return (\n \n \n {computeStatus(isCompliant)}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal, useFormatMoney } from \"@/formatters\"\nimport { DataGridLegend, DataGridLegendItem } from \"@/nzds/data-grid\"\n\nimport { ComplianceStatus } from \"../compliance-status\"\nimport type { ComplianceGridLegendProps } from \"./compliance-grid-legend.types\"\n\nexport const ComplianceGridLegend: FC = ({\n compliantCount,\n nonCompliantCount,\n siteCount,\n totalPenalties,\n}) => {\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const { format: formatMoney } = useFormatMoney({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n return (\n \n }\n value={formatInteger(nonCompliantCount)}\n />\n\n }\n value={formatInteger(compliantCount)}\n />\n\n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { ComplianceReductionProps } from \"./compliance-reduction.types\"\n\nexport const ComplianceReduction: FC = ({\n regulations,\n}) => {\n const { format: formatDecimalToHundredths } = useFormatDecimal()\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => {\n const reductionPercent: number =\n regulation.regulation_name === \"No Regulation\" ||\n regulation.is_supported_without_fines\n ? null\n : Math.max(\n regulation.cui_reduction_percentage,\n regulation.eui_reduction_percentage\n ) * 100\n\n return (\n \n \n
    \n {index > 0 && \", \"}\n {formatDecimalToHundredths(reductionPercent)}{\" \"}\n {regulation.metric_type ? (\n \n {regulation.metric_type ?? \"\"}\n \n ) : null}\n
    \n
    \n
    \n )\n })}\n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { InfoOutlined } from \"@mui/icons-material\"\nimport type { ChipProps } from \"@mui/material\"\nimport { Box, Chip, Tooltip } from \"@mui/material\"\n\nimport type { ComplianceStandardProps } from \"./compliance-standard.types\"\n\nconst computeColor = ({\n isComingSoon,\n isCompliant,\n isSupported,\n}: Omit): ChipProps[\"color\"] => {\n if (isComingSoon || !isSupported) {\n return undefined\n }\n\n return isCompliant ? \"success\" : \"error\"\n}\n\nexport const ComplianceStandard: FC = ({\n isComingSoon,\n isCompliant,\n isSupported,\n name,\n}) => {\n return !name ? (\n <>--\n ) : (\n \n \n theme.palette.grey[300] }}\n />\n \n \n ) : null\n }\n label={name}\n onDelete={\n isComingSoon\n ? () => {\n // Noop. Function is required for the delete icon to show.\n }\n : null\n }\n size=\"small\"\n sx={{\n bgcolor: (theme) => `${theme.palette.background.paper} !important`,\n }}\n variant=\"outlined\"\n />\n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { ComplianceStandard } from \"../compliance-standard\"\nimport type { ComplianceStandardsProps } from \"./compliance-standards.types\"\n\nexport const ComplianceStandards: FC = ({\n regulations,\n}) => {\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation) => {\n return (\n \n )\n })}\n \n )\n}\n","import React, { useMemo } from \"react\"\nimport type { FC } from \"react\"\n\nimport type { Schemas } from \"@/services/types\"\n\nimport { ComplianceStatus } from \"../compliance-status\"\nimport type { ComplianceStatusReducedProps } from \"./compliance-status-reduced.types\"\n\nconst calculateCompliance = (\n regulations: Schemas[\"EmissionProfileResponse\"][\"regulations\"]\n): boolean | null => {\n if (!regulations?.length) {\n return null\n }\n\n return regulations.reduce((isInCompliance: boolean | null, regulation) => {\n if (regulation.is_supported_without_fines) {\n return null\n }\n\n if (regulation.in_compliance === false) {\n return false\n }\n\n if (\n (isInCompliance === null || isInCompliance) &&\n regulation.regulation_name !== \"No Regulation\" &&\n regulation.in_compliance\n ) {\n return true\n }\n\n return null\n }, null)\n}\n\nexport const ComplianceStatusReduced: FC = ({\n regulations,\n}) => {\n const isCompliant: boolean | null = useMemo(\n () => calculateCompliance(regulations),\n [regulations]\n )\n\n return \n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\n\nimport type { ComplianceTargetUsageIntensityProps } from \"./compliance-target-usage-intensity.types\"\n\nexport const ComplianceTargetUsageIntensity: FC<\n ComplianceTargetUsageIntensityProps\n> = ({ regulations, usageIntensityType }) => {\n const { format: formatDecimalToTenths } = useFormatDecimal({\n maximumFractionDigits: 1,\n minimumFractionDigits: 1,\n })\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => (\n \n {index > 0 && \", \"}\n {\n // This logic is unnecessarily complicated\n // The api should not be returning effective dates when there is no regulation\n regulation.regulation_name === \"No Regulation\" ? (\n <>--\n ) : (\n formatDecimalToTenths(regulation[`target_${usageIntensityType}`])\n )\n }\n \n ))}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\n\nimport type { ComplianceTotalEmissionsProps } from \"./compliance-total-emissions.types\"\n\nexport const ComplianceTotalEmissions: FC = ({\n regulations,\n}) => {\n const { format: formatWholeNumber } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => (\n \n {index > 0 && \", \"}\n {formatWholeNumber(regulation.total_emissions_mt_co2e)}\n \n ))}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\n\nimport type { ComplianceUsageIntensityProps } from \"./compliance-usage-intensity.types\"\n\nexport const ComplianceUsageIntensity: FC = ({\n regulations,\n usageIntensityType,\n}) => {\n const { format: formatDecimalToTenths } = useFormatDecimal({\n maximumFractionDigits: 1,\n minimumFractionDigits: 1,\n })\n\n return !regulations?.length ? (\n <>--\n ) : (\n <>\n {regulations.map((regulation, index) => (\n \n {index > 0 && \", \"}\n {\n // This logic is unnecessarily complicated\n // The api should not be returning effective dates when there is no regulation\n regulation.regulation_name === \"No Regulation\" ? (\n <>--\n ) : (\n formatDecimalToTenths(\n regulation[`calculated_${usageIntensityType}`]\n )\n )\n }\n \n ))}\n \n )\n}\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport type { DateTime } from \"luxon\"\n\nimport { DatePicker, LocalizationProvider } from \"@mui/x-date-pickers-pro\"\nimport { AdapterLuxon } from \"@mui/x-date-pickers-pro/AdapterLuxon\"\n\nimport type { YearPickerProps } from \"./year-picker.types\"\n\nexport const YearPicker: FC = ({\n availableDateRange,\n isDisabled,\n onChange,\n value,\n}) => {\n const [error, setError] = useState(false)\n\n const handleChange = (date: DateTime | null) => {\n if (\n date &&\n availableDateRange?.isValid &&\n availableDateRange.contains(date)\n ) {\n onChange(date)\n }\n }\n\n return (\n \n {\n setError(!!newError)\n }}\n slotProps={{\n textField: {\n helperText: error && !isDisabled ? \"Year out of range\" : null,\n inputProps: { \"aria-label\": \"Year\" },\n size: \"small\",\n },\n }}\n sx={{ width: 148 }}\n value={value}\n views={[\"year\"]}\n />\n \n )\n}\n","import { useCallback, useMemo } from \"react\"\n\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\"\n\ninterface UseSaveYearProps {\n id: string\n}\n\ninterface UseSaveYearValue {\n saveYear: (year: number) => void\n savedYear: number | null\n}\n\n/**\n * Manages the year in the persistence layer.\n *\n * @example\n * const {\n * savedYear,\n * saveYear,\n * } = useSaveYear({\n * id: \"sitesPerformanceYear\",\n * })\n */\nexport const useSaveYear = ({ id }: UseSaveYearProps): UseSaveYearValue => {\n const queryClient = useQueryClient()\n const queryKey = useMemo(() => [id], [id])\n\n const { data } = useQuery({\n cacheTime: Infinity,\n queryFn: async (): Promise =>\n Promise.resolve(queryClient.getQueryData(queryKey) ?? null),\n queryKey,\n staleTime: Infinity,\n })\n\n const saveYear = useCallback(\n (year: number) => {\n queryClient.setQueryData(queryKey, year)\n void queryClient.invalidateQueries(queryKey)\n },\n [queryClient, queryKey]\n )\n\n return {\n saveYear,\n savedYear: data,\n }\n}\n","import { useCallback } from \"react\"\nimport { useSearchParams } from \"react-router-dom\"\n\nimport { buildUrlSearchParamsString } from \"@/utils/url/url-utils\"\n\ninterface UseSearchParamsYearValue {\n isYearInSearchParams: boolean\n searchParamsYear: number\n setSearchParamsYear: (\n year: number,\n options?: SetSearchParamsYearOptions\n ) => void\n}\n\ninterface SetSearchParamsYearOptions {\n replace?: boolean\n}\n\n/**\n * Manages the year value in the search params.\n *\n * @example\n * const {\n * isYearInSearchParams,\n * searchParamsYear,\n * setSearchParamsYear\n * } = useSearchParamsYear()\n */\nexport const useSearchParamsYear = (): UseSearchParamsYearValue => {\n const [searchParams, setSearchParams] = useSearchParams()\n\n const searchParamsYear: number | undefined =\n Number.parseInt(searchParams.get(\"year\")) || undefined\n\n const isYearInSearchParams = Boolean(searchParamsYear)\n\n const setSearchParamsYear = useCallback(\n (year: number, options: SetSearchParamsYearOptions = {}) => {\n const { replace = false } = options\n\n const newSearchParamsString = buildUrlSearchParamsString(\n {\n year,\n },\n searchParams\n )\n\n setSearchParams(newSearchParamsString, { replace })\n },\n [searchParams, setSearchParams]\n )\n\n return {\n isYearInSearchParams,\n searchParamsYear,\n setSearchParamsYear,\n }\n}\n","import { useCallback, useEffect, useMemo } from \"react\"\n\nimport { DateTime, Interval } from \"luxon\"\n\nimport { isValidDateTimeRange } from \"../date\"\nimport { useSaveYear } from \"./use-save-year\"\nimport { useSearchParamsYear } from \"./use-search-params-year\"\n\ninterface UseYearProps {\n /** The valid bounds of the year */\n bounds: Interval | undefined\n\n /** A unique id to identify the year for purposes of saving */\n id: string\n}\n\ninterface UseYearValue {\n /** The year's date range */\n dateRange: Interval\n\n /** Sets the year in both the url and it's persistence layer */\n setYear: (value: number) => void\n}\n\n/**\n * Manages the year value that powers a UI including search params,\n * saving the year, validity, and default value.\n *\n * @example\n * const {\n * dateRange,\n * setYear\n * } = useYear({\n * id: \"sitesPerformanceYear\",\n * bounds: Interval.fromDateTimes(\n * DateTime.fromISO(\"2024-01-01\").startOf(\"year\"),\n * DateTime.fromISO(\"2024-12-31\").endOf(\"year\"),\n * )\n * })\n */\nexport const useYear = ({ id, bounds }: UseYearProps): UseYearValue => {\n const { isYearInSearchParams, searchParamsYear, setSearchParamsYear } =\n useSearchParamsYear()\n const { saveYear, savedYear } = useSaveYear({ id })\n\n const year: number | undefined = Number.isFinite(searchParamsYear)\n ? searchParamsYear\n : savedYear\n\n const dateRange: Interval = useMemo(\n () =>\n Interval.fromDateTimes(\n DateTime.fromISO(year?.toString()).startOf(\"year\"),\n DateTime.fromISO(year?.toString()).endOf(\"year\")\n ),\n [year]\n )\n\n const setYear = useCallback(\n (value: number): void => {\n setSearchParamsYear(value)\n saveYear(value)\n },\n [saveYear, setSearchParamsYear]\n )\n\n // Handle missing search param and invalid year\n useEffect(() => {\n if (bounds?.isValid) {\n let newYear: number = dateRange.start?.year ?? NaN\n\n // Use default year if range is invalid\n if (!isValidDateTimeRange(dateRange, bounds)) {\n newYear = Math.min(\n DateTime.now().minus({ years: 1 }).year,\n bounds.end.year\n )\n }\n\n // Ensure correct year is in url\n if (newYear !== dateRange.start?.year || !isYearInSearchParams) {\n setSearchParamsYear(newYear, { replace: true })\n }\n\n // Ensure year is saved if necessary\n if (newYear !== savedYear) {\n saveYear(newYear)\n }\n }\n }, [\n dateRange,\n isYearInSearchParams,\n saveYear,\n savedYear,\n setSearchParamsYear,\n bounds,\n ])\n\n return { dateRange, setYear }\n}\n","import { graphitiCollectionResponseToPaginatedData } from \"@/nzds/data-grid\"\nimport { fetchClient } from \"@/services/client\"\nimport type { Params } from \"@/services/fetch-client/client\"\n\nimport type {\n SiteExplorerPaginatedData,\n SiteExplorerRecord,\n SiteExplorerResourceResponse,\n} from \"./site-explorer.types\"\n\nexport const getSiteExplorer = async (\n params: Params\n): Promise => {\n const { data, error } = await fetchClient.GET(\n \"/api/v1/site_explorer\",\n {\n params,\n }\n )\n\n if (data && \"data\" in data) {\n const paginatedData =\n graphitiCollectionResponseToPaginatedData(\n data as SiteExplorerResourceResponse\n )\n\n const finalResponse: SiteExplorerPaginatedData = {\n ...paginatedData,\n average: data.meta.stats.average?.count ?? null,\n compliant: data.meta.stats.compliant?.count ?? null,\n efficient: data.meta.stats.efficient?.count ?? null,\n inefficient: data.meta.stats.inefficient?.count ?? null,\n non_compliant: data.meta.stats.non_compliant?.count ?? null,\n total_penalties: data.meta.stats.total_penalties?.sum ?? null,\n very_efficient: data.meta.stats.very_efficient?.count ?? null,\n very_inefficient: data.meta.stats.very_inefficient?.count ?? null,\n }\n\n return finalResponse\n }\n\n throw error as Error\n}\n","// @ts-strict-ignore\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Params } from \"@/services/fetch-client/client\"\nimport { useQueryKey, useRenameQueryResult } from \"@/services/utils\"\nimport type { UseInfiniteQueryOptions } from \"@tanstack/react-query\"\nimport { useInfiniteQuery } from \"@tanstack/react-query\"\n\nimport { getSiteExplorer } from \"./get-site-explorer\"\nimport type { SiteExplorerPaginatedData } from \"./site-explorer.types\"\n\ninterface UseGetSiteExplorerOptions {\n initialPage?: number\n parameters: Params\n queryOptions?: Omit\n}\n\n/**\n * Returns a list of site explorer entries\n *\n * @example\n * const {\n * siteExplorerData,\n * siteExplorerError,\n * siteExplorerIsError\n * siteExplorerIsLoading,\n * } = useGetSiteExplorer({\n * parameters: { query: { org_id: 123 } },\n * queryOptions // react query options\n * })\n */\nexport const useGetSiteExplorer = ({\n initialPage,\n parameters,\n queryOptions,\n}: UseGetSiteExplorerOptions) => {\n const queryKey = useQueryKey(\n ApiQueryName.SiteExplorer,\n \"getMany\",\n null,\n parameters\n )\n\n const queryFn = async ({ pageParam = initialPage ?? 1 }) => {\n const newParameters = {\n ...parameters,\n }\n newParameters.query[\"page[number]\"] = pageParam\n return getSiteExplorer(newParameters)\n }\n\n let queryParams = {\n queryKey,\n queryFn,\n }\n\n if (queryOptions) {\n queryParams = {\n ...queryOptions,\n ...queryParams,\n }\n }\n\n const queryResult = useInfiniteQuery({\n ...queryParams,\n getNextPageParam: (lastPage) => {\n if (lastPage.page === lastPage.pages) {\n return undefined\n }\n return lastPage.page + 1\n },\n getPreviousPageParam: (firstPage) => {\n if (firstPage.page === 1) {\n return undefined\n }\n return firstPage.page - 1\n },\n enabled: queryOptions.enabled,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SiteExplorer)\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { useUrl } from \"@/utils/url\"\n\nimport AddRoundedIcon from \"@mui/icons-material/AddRounded\"\nimport ExitToAppRoundedIcon from \"@mui/icons-material/ExitToAppRounded\"\nimport { Button } from \"@mui/material\"\n\nimport type { PlanningCellProps } from \"./planning-cell.types\"\n\nexport const PlanningCell: FC = ({\n planId,\n siteId,\n tabIndex,\n}) => {\n const { recommendationsPath } = useUrl()\n\n return planId ? (\n }\n tabIndex={tabIndex}\n to={`${recommendationsPath}/sites/${siteId}/plans/${planId}`}\n variant=\"text\"\n >\n View Plan\n \n ) : (\n }\n tabIndex={tabIndex}\n to={`${recommendationsPath}/sites/${siteId}/goals`}\n variant=\"outlined\"\n >\n Decarbonize Site\n \n )\n}\n","import { baseColumnDef, baseNumberColumnDef } from \"@/nzds/data-grid\"\n\nimport type { GridColDef } from \"@mui/x-data-grid-pro\"\n\nexport const baseSiteColumnDef: Partial = {\n ...baseColumnDef,\n filterable: false,\n}\n\nexport const baseSiteNumberColumnDef: Partial = {\n ...baseNumberColumnDef,\n ...baseSiteColumnDef,\n}\n","import React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { PlanningCell } from \"@/components/planning-cell/planning-cell\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useFormatDecimal } from \"@/formatters\"\nimport type { Department } from \"@/models/department\"\nimport { UnitName } from \"@/models/unit\"\nimport { DataGridColumnHeader, DataGridNumberEditCell } from \"@/nzds/data-grid\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { EMPTY_DATA_PLACEHOLDER, translateUnit } from \"@/utils\"\n\nimport CancelIcon from \"@mui/icons-material/Close\"\nimport EditIcon from \"@mui/icons-material/Edit\"\nimport SaveIcon from \"@mui/icons-material/Save\"\nimport { GridActionsCellItem, GridRowModes } from \"@mui/x-data-grid-pro\"\nimport type {\n GridColDef,\n GridRenderCellParams,\n GridRenderEditCellParams,\n GridRowId,\n GridRowModesModel,\n GridValueFormatterParams,\n GridValueGetterParams,\n} from \"@mui/x-data-grid-pro\"\n\nimport { baseSiteColumnDef, baseSiteNumberColumnDef } from \"../../../models\"\nimport type { SiteExplorerGridRecord } from \"../../../services/use-get-site-explorer\"\n\ntype CommonSiteExplorerGridColumnName =\n | \"actions\"\n | \"buildingArea\"\n | \"buildingType\"\n | \"combinedEmissions\"\n | \"combinedEnergyUsage\"\n | \"combinedEui\"\n | \"electricityEmissions\"\n | \"electricityEui\"\n | \"electricityUsage\"\n | \"group\"\n | \"naturalGasEmissions\"\n | \"naturalGasEui\"\n | \"naturalGasUsage\"\n | \"planning\"\n\ninterface UseCommonSiteExplorerGridColumnsProps {\n buildingTypes: string[] | undefined\n departments: Department[] | undefined\n handleRowEditCancelClick: (id: GridRowId) => void\n handleRowEditClick: (id: GridRowId) => void\n handleRowEditSaveClick: (id: GridRowId) => void\n rowModesModel: GridRowModesModel\n}\n\nexport const useCommonSiteExplorerGridColumns = ({\n buildingTypes,\n departments,\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n rowModesModel,\n}: UseCommonSiteExplorerGridColumnsProps): Record<\n CommonSiteExplorerGridColumnName,\n GridColDef\n> => {\n const { i18n } = useTranslation()\n const { format: formatDecimal } = useFormatDecimal()\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const isUseFlexibleHierarchyEnabled = isFeatureEnabled(\n FeatureFlags.USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS,\n organization\n )\n\n const departmentNames: string[] = useMemo(() => {\n return departments?.map((department) => department.name) ?? []\n }, [departments])\n\n const columns = useMemo(() => {\n const columnDefMap: Record<\n CommonSiteExplorerGridColumnName,\n GridColDef\n > = {\n actions: {\n ...baseSiteNumberColumnDef,\n align: \"left\",\n cellClassName: \"actions\",\n description: \"Actions\",\n field: \"actions\",\n getActions: ({ id }) => {\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n const isInEditMode = rowModesModel[id]?.mode === GridRowModes.Edit\n\n if (isInEditMode) {\n return [\n }\n key=\"save\"\n label=\"Save\"\n onClick={() => {\n handleRowEditSaveClick(id)\n }}\n sx={{\n color: \"primary.main\",\n }}\n />,\n }\n key=\"cancel\"\n label=\"Cancel\"\n onClick={() => {\n handleRowEditCancelClick(id)\n }}\n />,\n ]\n }\n\n return [\n }\n key=\"edit\"\n label=\"Edit\"\n onClick={() => {\n handleRowEditClick(id)\n }}\n sx={{\n color: \"primary.main\",\n }}\n />,\n ]\n },\n headerAlign: \"left\",\n headerName: \"Actions\",\n type: \"actions\",\n width: 92,\n },\n buildingArea: {\n ...baseSiteNumberColumnDef,\n editable: true,\n field: \"sq_ft\",\n headerName: \"Building Area\",\n renderEditCell: (\n params: GridRenderEditCellParams<\n SiteExplorerGridRecord,\n SiteExplorerGridRecord[\"sq_ft\"]\n >\n ) => (\n \n {...params}\n allowNegative={false}\n />\n ),\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams\n ): string => formatInteger(params.value),\n width: 140,\n },\n buildingType: {\n ...baseSiteColumnDef,\n editable: true,\n field: \"building_type\",\n headerName: \"Building Type\",\n type: \"singleSelect\",\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"building_type\"]\n >\n ) => params.value ?? EMPTY_DATA_PLACEHOLDER,\n // Convert null to empty string to avoid error in the singleSelect editor\n valueGetter: (\n params: GridValueGetterParams<\n SiteExplorerGridRecord,\n SiteExplorerGridRecord[\"building_type\"]\n >\n ) => params.value ?? \"\",\n valueOptions: buildingTypes,\n width: 160,\n },\n combinedEmissions: {\n ...baseSiteNumberColumnDef,\n field: \"total_emissions_mt_co2e\",\n headerName: \"Combined Emissions\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n width: 216,\n },\n combinedEnergyUsage: {\n ...baseSiteNumberColumnDef,\n field: \"total_energy_consumption_kbtu\",\n headerName: \"Combined Energy Usage\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatInteger(params.value),\n width: 236,\n },\n combinedEui: {\n ...baseSiteNumberColumnDef,\n field: \"total_kbtu_per_sq_ft\",\n headerName: \"Combined EUI\",\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"total_mmbtu_per_sq_ft\"]\n >\n ) => formatDecimal(params.value),\n width: 160,\n },\n electricityEmissions: {\n ...baseSiteNumberColumnDef,\n field: \"electricity_mt_co2e\",\n headerName: \"Electricity Emissions\",\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"electricity_mt_co2e\"]\n >\n ) => formatDecimal(params.value),\n width: 180,\n },\n electricityEui: {\n ...baseSiteNumberColumnDef,\n field: \"electricity_kbtu_per_sq_ft\",\n headerName: \"Electricity EUI\",\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"electricity_kbtu_per_sq_ft\"]\n >\n ) => formatDecimal(params.value),\n width: 140,\n },\n electricityUsage: {\n ...baseSiteNumberColumnDef,\n field: \"electricity_kbtu\",\n headerName: \"Electricity Usage\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatInteger(params.value),\n width: 152,\n },\n group: {\n ...baseSiteColumnDef,\n editable: !isUseFlexibleHierarchyEnabled,\n field: isUseFlexibleHierarchyEnabled\n ? \"organizational_unit_name\"\n : \"department_name\",\n headerName: \"Groups\",\n type: \"singleSelect\",\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"department_name\"]\n >\n ) => params.value ?? EMPTY_DATA_PLACEHOLDER,\n // Convert null to empty string to avoid error in the singleSelect editor\n valueGetter: (\n params: GridValueGetterParams<\n SiteExplorerGridRecord,\n SiteExplorerGridRecord[\"department_name\"]\n >\n ) => params.value ?? \"\",\n valueOptions: departmentNames,\n width: 160,\n },\n naturalGasEmissions: {\n ...baseSiteNumberColumnDef,\n field: \"nat_gas_mt_co2e\",\n headerName: \"Natural Gas Emissions\",\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"nat_gas_mt_co2e\"]\n >\n ) => formatDecimal(params.value),\n width: 180,\n },\n naturalGasEui: {\n ...baseSiteNumberColumnDef,\n field: \"nat_gas_kbtu_per_sq_ft\",\n headerName: \"Natural Gas EUI\",\n renderHeader: () => (\n \n ),\n valueFormatter: (\n params: GridValueFormatterParams<\n SiteExplorerGridRecord[\"nat_gas_kbtu_per_sq_ft\"]\n >\n ) => formatDecimal(params.value),\n width: 140,\n },\n naturalGasUsage: {\n ...baseSiteNumberColumnDef,\n field: \"nat_gas_kbtu\",\n headerName: \"Natural Gas Usage\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatInteger(params.value),\n width: 180,\n },\n planning: {\n ...baseSiteColumnDef,\n field: \"isPlanned\",\n filterable: false,\n headerName: \"Planning\",\n hideable: false,\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 184,\n },\n }\n\n return columnDefMap\n }, [\n buildingTypes,\n departmentNames,\n formatDecimal,\n formatInteger,\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n i18n.language,\n isUseFlexibleHierarchyEnabled,\n rowModesModel,\n ])\n\n return columns\n}\n","import { useMemo } from \"react\"\n\nimport type { GraphitiRecord, PaginatedData } from \"@/nzds/data-grid\"\nimport type { Schemas } from \"@/services/types\"\nimport type { InfiniteData } from \"@tanstack/react-query\"\n\nimport type {\n BaseSiteGridRecord,\n BaseSiteRecord,\n} from \"../../../services/use-get-site-explorer\"\n\ninterface UseComputedSiteRowsOptions {\n data: InfiniteData | undefined\n sitesWithPlans: Record | undefined\n}\n\nexport const useComputedSiteRows = <\n TSiteRecord extends BaseSiteRecord,\n TSiteGridRecord extends BaseSiteGridRecord,\n>({\n data,\n sitesWithPlans,\n}: UseComputedSiteRowsOptions<\n PaginatedData>\n>): TSiteGridRecord[] => {\n const computedRows = useMemo(() => {\n const pagesMap: Record = {}\n\n if (data && data.pages.length > 0) {\n for (const page of data.pages) {\n const rows: TSiteGridRecord[] = []\n page.items.forEach((item, index) => {\n rows.push({\n ...item.attributes,\n id: item.id,\n page: page.page,\n pageIndex: index,\n pageSize: page.size,\n planId: sitesWithPlans?.[item.attributes.site_id]?.id,\n } as unknown as TSiteGridRecord)\n })\n if (page.page) {\n pagesMap[page.page] = rows\n } else {\n pagesMap[1] = rows\n }\n }\n\n // return the rows in order\n const orderedRows: TSiteGridRecord[] = []\n\n for (const key of Object.keys(pagesMap).sort((a, b) =>\n a.localeCompare(b)\n )) {\n orderedRows.push(...pagesMap[key])\n }\n\n return orderedRows\n }\n\n return []\n }, [data, sitesWithPlans])\n\n return computedRows\n}\n","// @ts-strict-ignore\nimport { useMemo } from \"react\"\n\nimport type { Schemas } from \"@/services/types\"\n\n/**\n * creates a lookup object for sites with plans indexed by site id and has a plan response\n */\nexport const useSitesWithPlans = (\n plannedSites?: Schemas[\"PlanResponse\"][]\n): Record => {\n const sitesWithPlans = useMemo(() => {\n if (!plannedSites) {\n return {}\n }\n return plannedSites.reduce((acc, site) => {\n acc[site.site_id] = site\n return acc\n }, {})\n }, [plannedSites])\n\n return sitesWithPlans\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Typography } from \"@mui/material\"\n\nimport type { EditSiteConfirmContentProps } from \"./edit-site-confirm-content.types\"\n\nexport const EditSiteConfirmContent: FC = ({\n siteName,\n}) => {\n return (\n \n Please ensure the accuracy of your changes before confirming, as this may\n influence retrofit recommendations and data simulations for{\" \"}\n {siteName}.\n \n )\n}\n","import React, { useCallback } from \"react\"\n\nimport type { Department } from \"@/models/department\"\nimport Site from \"@/models/site\"\nimport { useUpdateSiteModel } from \"@/services/site/useUpdateSite\"\nimport { useConfirm } from \"material-ui-confirm\"\n\nimport { EditSiteConfirmContent } from \"../../../components/edit-site-confirm-content/edit-site-confirm-content\"\nimport type { SiteExplorerGridRecord } from \"../../../services/use-get-site-explorer\"\n\ninterface UseHandleProcessRowUpdateValue {\n handleProcessRowUpdate: (\n newValue: SiteExplorerGridRecord,\n value: SiteExplorerGridRecord\n ) => Promise\n}\n\nexport const useHandleProcessRowUpdate = (\n departments: Department[] | undefined\n): UseHandleProcessRowUpdateValue => {\n const confirm = useConfirm()\n\n const { mutateAsync: siteUpdateMutateAsync } = useUpdateSiteModel()\n\n const handleProcessRowUpdate = useCallback(\n async (\n newValue: SiteExplorerGridRecord,\n value: SiteExplorerGridRecord\n ): Promise => {\n const buildingTypeIsDirty = newValue.building_type !== value.building_type\n const departmentNameIsDirty =\n newValue.department_name !== value.department_name\n const sqFtIsDirty = newValue.sq_ft !== value.sq_ft\n\n if (!buildingTypeIsDirty && !departmentNameIsDirty && !sqFtIsDirty) {\n return value\n }\n\n try {\n await confirm({\n title: \"Confirm Updates\",\n content: ,\n confirmationButtonProps: {\n color: \"primary\",\n variant: \"contained\",\n },\n confirmationText: \"Confirm\",\n cancellationButtonProps: { color: \"primary\", variant: \"text\" },\n cancellationText: \"Cancel\",\n dialogActionsProps: {\n disableSpacing: true,\n },\n dialogProps: {\n maxWidth: \"xs\",\n },\n })\n\n const { data: site } = await Site.includes([\"department\"])\n .selectExtra([\"building_type\", \"sq_ft\"])\n .find(value.id)\n\n const withRelationships = []\n\n const newDepartment = departments?.find(\n (department) => department.name === newValue.department_name\n )\n\n if (departmentNameIsDirty && newDepartment) {\n site.department = newDepartment\n withRelationships.push(\"department.id\")\n }\n\n site.buildingType = newValue.building_type\n site.sqFt = newValue.sq_ft\n\n await siteUpdateMutateAsync({ site, with: withRelationships })\n\n return newValue\n } catch {\n return value\n }\n },\n [confirm, departments, siteUpdateMutateAsync]\n )\n\n return {\n handleProcessRowUpdate,\n }\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport { UnitName } from \"@/models/unit\"\nimport { KBTU_PER_KWH, KBTU_PER_THERM } from \"@/utils/constants\"\n\nimport type { CombinedVolumePercentProps } from \"./combined-volume-percent.types\"\n\nexport const CombinedVolumePercent: FC = ({\n total,\n unit,\n value,\n}) => {\n const { format: formatDecimalToTenths } = useFormatDecimal({\n maximumFractionDigits: 1,\n minimumFractionDigits: 1,\n })\n\n let conversionFactor = 1\n\n if (unit === UnitName.KilowattHour) {\n conversionFactor = KBTU_PER_KWH\n }\n\n if (unit === UnitName.Therm) {\n conversionFactor = KBTU_PER_THERM\n }\n\n const convertedValue: number = value ? value * conversionFactor : 0\n\n const percent: number = total ? (convertedValue / total) * 100 : 0\n\n return <>({formatDecimalToTenths(percent)}%)\n}\n","import React, { useMemo } from \"react\"\nimport { Link as RRLink } from \"react-router-dom\"\n\nimport { renderRowNumberPaginated } from \"@/utils/render-row-number-paginated\"\nimport { useUrl } from \"@/utils/url\"\n\nimport { Link } from \"@mui/material\"\nimport type { GridColDef, GridRenderCellParams } from \"@mui/x-data-grid-pro\"\n\nimport { baseSiteColumnDef } from \"../../../models\"\nimport type { BaseSiteRecord } from \"../../../services/use-get-site-explorer\"\n\ntype CommonSiteGridColumnName = \"rowNumber\" | \"siteName\"\n\nexport const useCommonSiteGridColumns = <\n TSiteRow extends BaseSiteRecord,\n>(): Record> => {\n const { buildSiteUrl } = useUrl()\n\n const columns = useMemo(() => {\n const columnDefMap: Record<\n CommonSiteGridColumnName,\n GridColDef\n > = {\n rowNumber: {\n ...baseSiteColumnDef,\n align: \"center\",\n description: \"Row number\",\n disableColumnMenu: true,\n field: \"rowNumber\",\n headerAlign: \"center\",\n headerName: \"#\",\n hideable: false,\n minWidth: 44,\n renderCell: (params: GridRenderCellParams) =>\n renderRowNumberPaginated({\n pageIndex: params.row.pageIndex,\n page: params.row.page,\n pageSize: params.row.pageSize,\n }),\n resizable: false,\n sortable: false,\n width: 44,\n },\n siteName: {\n ...baseSiteColumnDef,\n field: \"site_name\",\n headerName: \"Site Name\",\n hideable: false,\n renderCell: (params: GridRenderCellParams) => {\n return (\n \n {params.value}\n \n )\n },\n width: 240,\n },\n }\n\n return columnDefMap\n }, [buildSiteUrl])\n\n return columns\n}\n","export const renderRowNumberPaginated = ({\n pageIndex,\n page,\n pageSize,\n}: {\n page: number\n pageIndex: number\n pageSize: number\n}) => (page - 1) * pageSize + (pageIndex + 1)\n","import React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport {\n ComplianceDates,\n ComplianceEmissionFactorName,\n ComplianceEmissionFactorValue,\n ComplianceFines,\n ComplianceReduction,\n ComplianceStandards,\n ComplianceStatus,\n ComplianceStatusReduced,\n ComplianceTargetUsageIntensity,\n ComplianceTotalEmissions,\n ComplianceUsageIntensity,\n} from \"@/components/compliance\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useCurrencySymbol } from \"@/hooks/useCurrencySymbol/useCurrencySymbol\"\nimport type { Department } from \"@/models/department\"\nimport { UnitName } from \"@/models/unit\"\nimport {\n DataGridColumnHeader,\n baseColumnDef,\n baseNumberColumnDef,\n} from \"@/nzds/data-grid\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useCommonSiteDataGridColumns } from \"@/utils/site/use-common-site-data-grid-columns\"\nimport { translateUnit } from \"@/utils/unit\"\n\nimport { Stack, Typography } from \"@mui/material\"\nimport type {\n GridColDef,\n GridColumnVisibilityModel,\n GridPinnedColumns,\n GridRenderCellParams,\n GridRowId,\n GridRowModesModel,\n GridSortModel,\n} from \"@mui/x-data-grid-pro\"\n\nimport type { SiteExplorerGridRecord } from \"../../../../services/use-get-site-explorer\"\nimport { useCommonSiteExplorerGridColumns } from \"../../../utils/use-common-site-explorer-grid-columns/use-common-site-explorer-grid-columns\"\nimport { useCommonSiteGridColumns } from \"../../../utils/use-common-site-grid-columns\"\n\nexport const defaultColumnVisibilityModel: GridColumnVisibilityModel = {\n electricity_ef: false, // Electricity EF Value\n electricity_source: false, // Electricity EF\n natural_gas_ef: false, // Natural Gas EF Value\n natural_gas_source: false, // Natural Gas EF\n sq_ft: false, // Building Area\n total_emissions: false, // Combined Emissions\n}\n\nexport const defaultPinnedColumns: GridPinnedColumns = {\n left: [\"rowNumber\", \"site_name\"],\n right: [\"isPlanned\"],\n}\n\nexport const defaultSortModel: GridSortModel = [\n {\n field: \"site_name\",\n sort: \"desc\",\n },\n]\n\ninterface UseComplianceGridColumnsProps {\n buildingTypes: string[] | undefined\n departments: Department[] | undefined\n handleRowEditCancelClick: (id: GridRowId) => void\n handleRowEditClick: (id: GridRowId) => void\n handleRowEditSaveClick: (id: GridRowId) => void\n rowModesModel: GridRowModesModel\n}\n\nexport const useComplianceGridColumns = (\n props: UseComplianceGridColumnsProps\n): GridColDef[] => {\n const { i18n } = useTranslation()\n const currencySymbol = useCurrencySymbol()\n\n const commonSiteGridColumns =\n useCommonSiteGridColumns()\n const commonSiteExplorerGridColumns = useCommonSiteExplorerGridColumns(props)\n const commonSiteDataGridColumns =\n useCommonSiteDataGridColumns()\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const columns: GridColDef[] = useMemo(() => {\n return [\n {\n ...commonSiteGridColumns.rowNumber,\n },\n {\n ...commonSiteGridColumns.siteName,\n },\n {\n ...baseColumnDef,\n field: \"in_compliance\",\n headerName: \"Compliance Status\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 160,\n },\n {\n ...baseColumnDef,\n field: \"regulation_name\",\n headerName: \"Compliance Standard\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n \n Indicates the estimated extent to which each site aligns with\n state and federal regulations or standards.\n \n \n \n \n \n \n }\n />\n ),\n sortable: false,\n },\n {\n ...baseColumnDef,\n field: \"effective_date\",\n headerName: \"Compliance Period\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 160,\n },\n {\n ...baseNumberColumnDef,\n field: \"compliance_penalties\",\n headerName: \"Potential Fines\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 140,\n },\n {\n ...baseNumberColumnDef,\n field: \"reduction_required\",\n headerName: \"Reduction Required\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 180,\n },\n // Combined Emissions is unique to Compliance\n // The value is calculated based on the regulation emission factor\n {\n ...baseNumberColumnDef,\n field: \"total_emissions\",\n headerName: \"Combined Emissions\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 160,\n },\n {\n ...baseNumberColumnDef,\n field: \"calculated_eui\",\n headerName: \"Energy Usage Intensity\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n },\n {\n ...baseNumberColumnDef,\n field: \"target_eui\",\n headerName: \"Target EUI\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 120,\n },\n {\n ...baseNumberColumnDef,\n field: \"calculated_cui\",\n headerName: \"Carbon Usage Intensity\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n },\n {\n ...baseNumberColumnDef,\n field: \"target_cui\",\n headerName: \"Target CUI\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 120,\n },\n // Combined Energy Usage is unique to Compliance\n // The value is calculated based on the regulation emission factor\n {\n ...commonSiteDataGridColumns.combinedEnergyUsage,\n sortable: false,\n },\n {\n ...baseColumnDef,\n field: \"electricity_source\",\n headerName: \"Electricity EF\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 120,\n },\n {\n ...baseNumberColumnDef,\n field: \"electricity_ef\",\n headerName: \"Electricity EF Value\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 160,\n },\n {\n ...baseColumnDef,\n field: \"natural_gas_source\",\n headerName: \"Natural Gas EF\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 132,\n },\n {\n ...baseNumberColumnDef,\n field: \"natural_gas_ef\",\n headerName: \"Natural Gas EF Value\",\n renderCell: (params: GridRenderCellParams) => (\n \n ),\n renderHeader: () => (\n \n ),\n sortable: false,\n width: 172,\n },\n {\n ...commonSiteExplorerGridColumns.buildingArea,\n },\n ...(isFeatureEnabled(FeatureFlags.PLANNING, organization)\n ? [{ ...commonSiteExplorerGridColumns.planning }]\n : []),\n ]\n }, [\n commonSiteExplorerGridColumns.buildingArea,\n commonSiteExplorerGridColumns.planning,\n commonSiteDataGridColumns.combinedEnergyUsage,\n commonSiteGridColumns.rowNumber,\n commonSiteGridColumns.siteName,\n currencySymbol,\n i18n.language,\n isFeatureEnabled,\n organization,\n ])\n\n return columns\n}\n","import React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { CombinedVolumePercent } from \"@/components/combined-volume-percent\"\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport { UnitName } from \"@/models/unit\"\nimport {\n DataGridCellPopover,\n DataGridColumnHeader,\n baseNumberColumnDef,\n} from \"@/nzds/data-grid\"\nimport { Blur } from \"@/nzds/ui-effects/blur\"\nimport { translateUnit } from \"@/utils/unit\"\n\nimport { Stack, Typography } from \"@mui/material\"\nimport type {\n GridColDef,\n GridRenderCellParams,\n GridValidRowModel,\n} from \"@mui/x-data-grid-pro\"\n\ntype CommonSiteDataGridColumnName = \"combinedEnergyUsage\"\n\ninterface CommonSiteDataGridRow extends GridValidRowModel {\n annual_volume_electricity?: number | null\n annual_volume_nat_gas?: number | null\n combined_volume?: number | null\n id?: number | string\n}\n\nconst calculateIsBlurred = (rowId: number | string): boolean => {\n return Number(rowId) < 0\n}\n\ninterface UseCommonSiteDataGridColumnsProps {\n isBlurEnabled?: boolean\n}\n\nexport const useCommonSiteDataGridColumns = <\n TRow extends CommonSiteDataGridRow,\n>(\n { isBlurEnabled }: UseCommonSiteDataGridColumnsProps = {\n isBlurEnabled: false,\n }\n): Record> => {\n const { i18n } = useTranslation()\n\n const { format: formatWholeNumber } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const columns = useMemo(() => {\n return {\n combinedEnergyUsage: {\n ...baseNumberColumnDef,\n field: \"combined_volume\",\n headerName: \"Combined Energy Usage\",\n renderCell: (params: GridRenderCellParams) => (\n \n \n \n Electricity:{\" \"}\n {formatWholeNumber(\n params.row.annual_volume_electricity ?? 0\n )}{\" \"}\n {translateUnit(i18n.language, UnitName.KilowattHour)}{\" \"}\n \n \n \n Natural Gas:{\" \"}\n {formatWholeNumber(params.row.annual_volume_nat_gas ?? 0)}{\" \"}\n {translateUnit(i18n.language, UnitName.Therm)}{\" \"}\n \n \n \n }\n >\n {formatWholeNumber(params.row.combined_volume)}\n \n \n ),\n renderHeader: () => (\n \n ),\n width: 220,\n },\n }\n }, [formatWholeNumber, i18n.language, isBlurEnabled])\n\n return columns\n}\n","import React, { useCallback } from \"react\"\nimport type { FC } from \"react\"\n\nimport { ComplianceGridLegend } from \"@/components/compliance\"\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar/page-header-action-bar\"\nimport { NzDataGrid } from \"@/components/nzDataGrid\"\nimport { PageCard } from \"@/components/page-card/page-card\"\nimport { Page } from \"@/components/page/page\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport {\n DEFAULT_PAGE_SIZE,\n DataGridToolbar,\n useEditRow,\n useGridFilterModelChange,\n usePageScrollChange,\n usePaginatedScroll,\n useSaveGridModel,\n} from \"@/nzds/data-grid\"\nimport { YearPicker } from \"@/nzds/inputs/year-picker\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDepartmentsSpraypaint } from \"@/services/department\"\nimport { useGetBuildingTypes } from \"@/services/site\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { useGetPlans } from \"@/services/useGetPlans\"\nimport { useYear } from \"@/utils/date/use-year\"\nimport { useSearchParamsPage } from \"@/utils/url\"\nimport type { DateTime } from \"luxon\"\n\nimport { Box } from \"@mui/material\"\nimport { useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport type {\n SiteExplorerGridRecord,\n SiteExplorerPaginatedData,\n SiteExplorerRecord,\n} from \"../../services/use-get-site-explorer\"\nimport { useGetSiteExplorer } from \"../../services/use-get-site-explorer\"\nimport { useComputedSiteRows, useSitesWithPlans } from \"../utils\"\nimport { useHandleProcessRowUpdate } from \"../utils/use-handle-process-row-update\"\nimport {\n defaultColumnVisibilityModel,\n defaultPinnedColumns,\n defaultSortModel,\n useComplianceGridColumns,\n} from \"./utils/use-compliance-grid-columns/use-compliance-grid-columns\"\n\nexport const SitesComplianceRoute: FC = () => {\n const gridApiRef = useGridApiRef()\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(\n organization?.id ?? \"\"\n )\n\n const { recommendationsPlansData, recommendationsPlansIsLoading } =\n useGetPlans()\n\n const sitesWithPlans = useSitesWithPlans(recommendationsPlansData)\n\n const handleOnFilterModelChange = useGridFilterModelChange()\n\n const { buildingTypesData, buildingTypesIsFetching } = useGetBuildingTypes()\n const { departmentsSpraypaintData, departmentsSpraypaintIsFetching } =\n useDepartmentsSpraypaint({\n apiQueryOptions: {\n where: { organization_id: organization?.id },\n },\n })\n\n const {\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n handleRowEditStop,\n rowModesModel,\n } = useEditRow()\n const defaultColumns = useComplianceGridColumns({\n buildingTypes: buildingTypesData,\n departments: departmentsSpraypaintData,\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n rowModesModel,\n })\n\n const { page } = useSearchParamsPage()\n\n const { dateRange, setYear } = useYear({\n id: \"sitesComplianceYear\",\n bounds: availableReportDatesData,\n })\n\n const handleYearChange = (value: DateTime) => {\n setYear(value.year)\n }\n\n const {\n gridModel: { columnVisibilityModel, columns, pinnedColumns, sortModel },\n handleColumnOrderChange,\n handleColumnVisibilityModelChange,\n handlePinnedColumnsChange,\n handleSortModelChange,\n } = useSaveGridModel({\n gridName: \"sitesCompliance\",\n gridModel: {\n columns: defaultColumns,\n columnVisibilityModel: defaultColumnVisibilityModel,\n pinnedColumns: defaultPinnedColumns,\n sortModel: defaultSortModel,\n },\n })\n\n const isSiteExplorerQueryEnabled =\n Boolean(organization?.id) &&\n Boolean(sortModel[0].field) &&\n Boolean(sortModel[0].sort) &&\n dateRange.isValid\n\n const {\n siteExplorerData,\n siteExplorerIsFetching,\n siteExplorerFetchNextPage,\n siteExplorerFetchPreviousPage,\n siteExplorerHasNextPage,\n siteExplorerHasPreviousPage,\n siteExplorerIsFetchingNextPage,\n siteExplorerIsFetchingPreviousPage,\n } = useGetSiteExplorer({\n parameters: {\n query: {\n \"filter[organization_id]\": organization?.id,\n \"filter[start_date][gte]\": dateRange.start?.toISODate(),\n \"filter[end_date][lte]\": dateRange.end?.toISODate(),\n include_compliance: true,\n \"page[size]\": DEFAULT_PAGE_SIZE,\n sort: `${sortModel[0].sort === \"asc\" ? \"\" : \"-\"}${sortModel[0].field}`,\n \"stats[compliant]\": \"count\",\n \"stats[non_compliant]\": \"count\",\n \"stats[page]\": \"count\",\n \"stats[total_penalties]\": \"sum\",\n },\n },\n initialPage: page,\n queryOptions: {\n enabled: isSiteExplorerQueryEnabled,\n },\n })\n\n const rows = useComputedSiteRows({\n data: siteExplorerData,\n sitesWithPlans,\n })\n\n const handleScrollPageChange = usePageScrollChange()\n\n usePaginatedScroll({\n isEnabled: isSiteExplorerQueryEnabled,\n apiRef: gridApiRef,\n data: siteExplorerData,\n fetchNextPage: siteExplorerFetchNextPage,\n fetchPreviousPage: siteExplorerFetchPreviousPage,\n hasNextPage: siteExplorerHasNextPage,\n hasPreviousPage: siteExplorerHasPreviousPage,\n isFetchingNextPage: siteExplorerIsFetchingNextPage,\n isFetchingPreviousPage: siteExplorerIsFetchingPreviousPage,\n onScrollPageChange: handleScrollPageChange,\n currentPage: page,\n })\n\n const [columnsButtonEl, setColumnsButtonEl] =\n React.useState(null)\n\n const { handleProcessRowUpdate } = useHandleProcessRowUpdate(\n departmentsSpraypaintData\n )\n\n const handleProcessRowUpdateError = useCallback((error: Error) => {\n console.error(error)\n }, [])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n ),\n },\n panel: {\n anchorEl: columnsButtonEl,\n },\n }}\n slots={{\n toolbar: DataGridToolbar,\n }}\n sortingMode=\"server\"\n sortModel={sortModel}\n />\n \n \n \n \n \n )\n}\n","export const DEFAULT_PAGE_SIZE = 50\n","import { useOrganizationContext } from \"@/contexts\"\nimport { ApiQueryName } from \"@/models/api\"\nimport {\n DEFAULT_PAGE_SIZE,\n graphitiCollectionResponseToPaginatedData,\n} from \"@/nzds/data-grid\"\nimport type { GraphitiRecord, PageStats, PaginatedData } from \"@/nzds/data-grid\"\nimport type { Params } from \"@/services/fetch-client/client\"\nimport type { Operations, Schemas } from \"@/services/types\"\nimport { getPlans } from \"@/services/useGetPlans/get-plans\"\nimport { useQueryKey, useRenameQueryResult } from \"@/services/utils\"\nimport type { UseInfiniteQueryOptions } from \"@tanstack/react-query\"\nimport { useInfiniteQuery } from \"@tanstack/react-query\"\n\nimport type {\n BaseSiteGridRecord,\n BaseSiteRecord,\n} from \"../use-get-site-explorer/site-explorer.types\"\n\nexport type SitePlanRecord = Schemas[\"PlanResponse\"] & BaseSiteRecord\n\nexport type SitePlanGridRecord = SitePlanRecord & BaseSiteGridRecord\n\ninterface SitePlansResponse {\n data: GraphitiRecord[]\n meta: {\n stats: {\n page: {\n count: PageStats\n }\n }\n }\n}\n\ninterface UseSitePlansOptions {\n initialPage?: number\n parameters: Required\n queryOptions?: Omit<\n UseInfiniteQueryOptions>>,\n \"queryKey\" | \"queryFn\"\n >\n}\n\ninterface GetPlansPaginatedParams {\n query: Operations[\"get_bs_list_api_v1_plans_get\"][\"parameters\"][\"query\"] & {\n page: { number: number }\n }\n}\n\nconst getPlansPaginated = async (\n params: GetPlansPaginatedParams\n): Promise>> => {\n return getPlans(params).then((response) => {\n // Convert insights-api response to mock graphiti response\n const responseWithMeta: SitePlansResponse = {\n data:\n response?.map((item) => {\n return {\n attributes: {\n ...item,\n page: 1,\n pageIndex: 1,\n pageSize: 50,\n },\n id: item.id.toString(),\n type: \"site_plans\",\n }\n }) ?? [],\n meta: {\n stats: {\n page: {\n count: {\n number: 1,\n pages: 1,\n size: DEFAULT_PAGE_SIZE,\n total: 1,\n },\n },\n },\n },\n }\n\n const paginatedData =\n graphitiCollectionResponseToPaginatedData(\n responseWithMeta\n )\n\n return paginatedData\n })\n}\n\n/**\n * Returns a list of site plans\n *\n * @example\n * const {\n * sitePlansData,\n * sitePlansError,\n * sitePlansIsError\n * sitePlansIsLoading,\n * } = useGetSitePlans({\n * parameters: {\n * query: {\n * org_id: 123\n * }\n * },\n * queryOptions // react query options\n * })\n */\nexport const useSitePlans = ({\n initialPage = 1,\n parameters,\n queryOptions = {},\n}: UseSitePlansOptions) => {\n const { organization } = useOrganizationContext()\n\n const queryFn = async ({ pageParam = initialPage }) => {\n const newParameters: GetPlansPaginatedParams = {\n query: {\n ...parameters.query,\n organization_id: Number(organization?.id),\n page: {\n number: pageParam,\n },\n },\n }\n\n return getPlansPaginated(newParameters)\n }\n\n const queryKey = useQueryKey(\n ApiQueryName.SitePlans,\n \"getMany\",\n null,\n parameters\n )\n\n const queryParams = {\n ...queryOptions,\n enabled: queryOptions.enabled && Boolean(organization?.id),\n queryFn,\n queryKey,\n }\n\n const queryResult = useInfiniteQuery<\n PaginatedData>\n >({\n ...queryParams,\n getNextPageParam: (lastPage) => {\n if (lastPage.page === lastPage.pages) {\n return undefined\n }\n return lastPage.page + 1\n },\n getPreviousPageParam: (firstPage) => {\n if (firstPage.page === 1) {\n return undefined\n }\n return firstPage.page - 1\n },\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.SitePlans)\n}\n","import React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"@/formatters/useFormatMoney\"\nimport { useCurrencySymbol } from \"@/hooks/useCurrencySymbol/useCurrencySymbol\"\nimport { UnitName } from \"@/models/unit\"\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { translateUnit } from \"@/utils\"\n\nimport type {\n GridColDef,\n GridColumnVisibilityModel,\n GridPinnedColumns,\n GridSortModel,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\n\nimport { baseSiteNumberColumnDef } from \"../../../../models\"\nimport type { SitePlanGridRecord } from \"../../../../services/use-site-plans\"\nimport { useCommonSiteGridColumns } from \"../../../utils/use-common-site-grid-columns\"\n\nexport const defaultColumnVisibilityModel: GridColumnVisibilityModel = {}\n\nexport const defaultPinnedColumns: GridPinnedColumns = {\n left: [\"rowNumber\", \"site_name\"],\n right: [],\n}\n\nexport const defaultSortModel: GridSortModel = [\n {\n field: \"site_name\",\n sort: \"asc\",\n },\n]\n\nexport const useDecarbonizeGridColumns =\n (): GridColDef[] => {\n const { i18n } = useTranslation()\n\n const { format: formatMoneyInteger } = useFormatMoney({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const { format: formatDecimalTens } = useFormatDecimal({\n maximumFractionDigits: 1,\n minimumFractionDigits: 0,\n })\n\n const currencySymbol = useCurrencySymbol()\n\n const commonSiteGridColumns = useCommonSiteGridColumns()\n\n const columns: GridColDef[] = useMemo(() => {\n return [\n {\n ...commonSiteGridColumns.rowNumber,\n },\n {\n ...commonSiteGridColumns.siteName,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"percent_emission_savings\",\n headerName: \"Emission Reduction\",\n hideable: false,\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatInteger(params.value),\n width: 220,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"capital_cost\",\n headerName: \"Cost\",\n hideable: false,\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatMoneyInteger(params.value),\n width: 180,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"annual_cost_savings\",\n headerName: \"Cost Savings\",\n hideable: false,\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatMoneyInteger(params.value),\n width: 180,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"payback_period\",\n headerName: \"Payback Period\",\n hideable: false,\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimalTens(params.value),\n width: 200,\n },\n ]\n }, [\n commonSiteGridColumns.rowNumber,\n commonSiteGridColumns.siteName,\n i18n.language,\n formatInteger,\n currencySymbol,\n formatMoneyInteger,\n formatDecimalTens,\n ])\n\n return columns\n }\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\n\nimport { PageHeaderActionBar } from \"@/components/nav/page-header-action-bar\"\nimport { NzDataGrid } from \"@/components/nzDataGrid\"\nimport { Page } from \"@/components/page\"\nimport { PageCard } from \"@/components/page-card\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport {\n DEFAULT_PAGE_SIZE,\n usePageScrollChange,\n usePaginatedScroll,\n useSaveGridModel,\n} from \"@/nzds/data-grid\"\nimport type { GraphitiRecord, PaginatedData } from \"@/nzds/data-grid\"\nimport { SelectField } from \"@/nzds/inputs/select-field\"\nimport { useGetPlans } from \"@/services\"\nimport { useSearchParamsPage } from \"@/utils/url\"\n\nimport { Box } from \"@mui/material\"\nimport { useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport { useSitePlans } from \"../../services/use-site-plans\"\nimport type {\n SitePlanGridRecord,\n SitePlanRecord,\n} from \"../../services/use-site-plans\"\nimport { useComputedSiteRows } from \"../utils/use-computed-site-rows\"\nimport { useSitesWithPlans } from \"../utils/use-sites-with-plans\"\nimport {\n defaultColumnVisibilityModel,\n defaultPinnedColumns,\n defaultSortModel,\n useDecarbonizeGridColumns,\n} from \"./utils/use-decarbonize-grid-columns\"\n\nexport const SitesDecarbonizeRoute: FC = () => {\n const gridApiRef = useGridApiRef()\n const { organization } = useOrganizationContext()\n\n const { page } = useSearchParamsPage()\n const [selectedRetrofit, setSelectedRetrofit] = useState(\"1\")\n\n const { recommendationsPlansData, recommendationsPlansIsLoading } =\n useGetPlans()\n\n const sitesWithPlans = useSitesWithPlans(recommendationsPlansData)\n\n const defaultColumns = useDecarbonizeGridColumns()\n\n const {\n gridModel: { columnVisibilityModel, columns, pinnedColumns, sortModel },\n handleColumnOrderChange,\n handleColumnVisibilityModelChange,\n handlePinnedColumnsChange,\n handleSortModelChange,\n } = useSaveGridModel({\n gridName: \"sitesDecarbonize\",\n gridModel: {\n columns: defaultColumns,\n columnVisibilityModel: defaultColumnVisibilityModel,\n pinnedColumns: defaultPinnedColumns,\n sortModel: defaultSortModel,\n },\n })\n\n const isDecarbonizeQueryEnabled =\n Boolean(organization?.id) &&\n Boolean(sortModel[0].field) &&\n Boolean(sortModel[0].sort)\n\n const {\n sitePlansData,\n sitePlansIsFetching,\n sitePlansFetchNextPage,\n sitePlansFetchPreviousPage,\n sitePlansHasNextPage,\n sitePlansHasPreviousPage,\n sitePlansIsFetchingNextPage,\n sitePlansIsFetchingPreviousPage,\n } = useSitePlans({\n parameters: {\n query: {\n \"filter[organization_id]\": organization?.id,\n \"page[size]\": DEFAULT_PAGE_SIZE,\n sort: `${sortModel[0].sort === \"asc\" ? \"\" : \"-\"}${sortModel[0].field}`,\n \"stats[page]\": \"count\",\n },\n },\n initialPage: page,\n queryOptions: {\n enabled: isDecarbonizeQueryEnabled,\n },\n })\n\n const rows = useComputedSiteRows({\n data: sitePlansData,\n sitesWithPlans,\n })\n\n const handleScrollPageChange = usePageScrollChange()\n\n usePaginatedScroll>>({\n isEnabled: isDecarbonizeQueryEnabled,\n apiRef: gridApiRef,\n data: sitePlansData,\n fetchNextPage: sitePlansFetchNextPage,\n fetchPreviousPage: sitePlansFetchPreviousPage,\n hasNextPage: sitePlansHasNextPage,\n hasPreviousPage: sitePlansHasPreviousPage,\n isFetchingNextPage: sitePlansIsFetchingNextPage,\n isFetchingPreviousPage: sitePlansIsFetchingPreviousPage,\n onScrollPageChange: handleScrollPageChange,\n currentPage: page,\n })\n\n return (\n <>\n \n {\n setSelectedRetrofit(event.target.value as string)\n }}\n options={[\n { label: \"Heat pump\", value: \"1\" },\n { label: \"Insulation\", value: \"2\" },\n { label: \"LED lighting\", value: \"3\" },\n { label: \"Solar panels\", value: \"4\" },\n ]}\n size=\"small\"\n sx={{\n width: 160,\n }}\n value={selectedRetrofit}\n >\n \n \n \n \n \n \n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link, Navigate, Outlet, useLocation } from \"react-router-dom\"\n\nimport { DataGuard } from \"@/components/data-guard\"\nimport { PageHeader } from \"@/components/nav/page-header\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport { SitePath } from \"@/models/route\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useUrl } from \"@/utils/url\"\n\nimport { Tab, Tabs } from \"@mui/material\"\n\nexport const SitesIndexRoute: FC = () => {\n const { buildSitesUrl, sitesPath } = useUrl()\n const { pathname } = useLocation()\n const { organization } = useOrganizationContext()\n const { isFeatureEnabled } = useFeature()\n\n const isDecarbonizeEnabled = isFeatureEnabled(\n FeatureFlags.SITE_DECARBONIZE,\n organization\n )\n\n if (pathname === sitesPath || pathname === `${sitesPath}/`) {\n return \n }\n\n return (\n <>\n element\n // So must use it manually\n \n }\n title=\"Site Explorer\"\n />\n \n \n \n \n )\n}\n","// @ts-strict-ignore\nimport React, { useMemo } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport { useFormatMoney } from \"@/formatters/useFormatMoney\"\nimport { useFormatPercentage } from \"@/formatters/useFormatPercentage\"\nimport { useCurrencySymbol } from \"@/hooks/useCurrencySymbol/useCurrencySymbol\"\nimport type { Department } from \"@/models/department\"\nimport { UnitName } from \"@/models/unit\"\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { translateUnit } from \"@/utils\"\n\nimport type {\n GridColDef,\n GridColumnVisibilityModel,\n GridPinnedColumns,\n GridRowId,\n GridRowModesModel,\n GridSortModel,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\n\nimport { baseSiteNumberColumnDef } from \"../../../../models\"\nimport type { SiteExplorerGridRecord } from \"../../../../services/use-get-site-explorer\"\nimport { useCommonSiteExplorerGridColumns } from \"../../../utils/use-common-site-explorer-grid-columns/use-common-site-explorer-grid-columns\"\nimport { useCommonSiteGridColumns } from \"../../../utils/use-common-site-grid-columns\"\n\nexport const defaultColumnVisibilityModel: GridColumnVisibilityModel = {\n electricity_kbtu: false,\n electricity_kbtu_per_sq_ft: false,\n electricity_mt_co2e: false,\n nat_gas_kbtu: false,\n nat_gas_kbtu_per_sq_ft: false,\n nat_gas_mt_co2e: false,\n water_usage_gallons: false,\n}\n\nexport const defaultPinnedColumns: GridPinnedColumns = {\n left: [\"rowNumber\", \"site_name\"],\n right: [\"actions\", \"isPlanned\"],\n}\n\nexport const defaultSortModel: GridSortModel = [\n {\n field: \"site_name\",\n sort: \"desc\",\n },\n]\n\ninterface UseOverviewGridColumnsProps {\n buildingTypes: string[] | undefined\n departments: Department[] | undefined\n handleRowEditCancelClick: (id: GridRowId) => void\n handleRowEditClick: (id: GridRowId) => void\n handleRowEditSaveClick: (id: GridRowId) => void\n rowModesModel: GridRowModesModel\n}\n\nexport const useOverviewGridColumns = (\n props: UseOverviewGridColumnsProps\n): GridColDef[] => {\n const { i18n } = useTranslation()\n const { canEditSite } = useAuthentication()\n\n const { format: formatMoneyInteger } = useFormatMoney({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const { format: formatPercentage } = useFormatPercentage()\n\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const currencySymbol = useCurrencySymbol()\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const commonSiteGridColumns =\n useCommonSiteGridColumns()\n const commonSiteExplorerGridColumns = useCommonSiteExplorerGridColumns(props)\n\n const columns: GridColDef[] = useMemo(() => {\n return [\n {\n ...commonSiteGridColumns.rowNumber,\n },\n {\n ...commonSiteGridColumns.siteName,\n },\n {\n ...commonSiteExplorerGridColumns.group,\n },\n {\n ...commonSiteExplorerGridColumns.buildingType,\n },\n {\n ...commonSiteExplorerGridColumns.buildingArea,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEnergyUsage,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEui,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"percent_of_portfolio_usage\",\n headerName: \"Portfolio Contribution\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatPercentage(params.value),\n width: 224,\n },\n {\n ...commonSiteExplorerGridColumns.electricityUsage,\n },\n {\n ...commonSiteExplorerGridColumns.electricityEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.electricityEui,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasUsage,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasEui,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"water_usage_gallons\",\n headerName: \"Water Usage\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatInteger(params.value),\n width: 124,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"operational_cost\",\n headerName: \"Operational Costs\",\n renderHeader: () => (\n \n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatMoneyInteger(params.value),\n width: 160,\n },\n ...(canEditSite\n ? [\n {\n ...commonSiteExplorerGridColumns.actions,\n },\n ]\n : []),\n ...(isFeatureEnabled(FeatureFlags.PLANNING, organization)\n ? [{ ...commonSiteExplorerGridColumns.planning }]\n : []),\n ]\n }, [\n commonSiteGridColumns.rowNumber,\n commonSiteGridColumns.siteName,\n commonSiteExplorerGridColumns.group,\n commonSiteExplorerGridColumns.buildingType,\n commonSiteExplorerGridColumns.buildingArea,\n commonSiteExplorerGridColumns.combinedEnergyUsage,\n commonSiteExplorerGridColumns.combinedEmissions,\n commonSiteExplorerGridColumns.combinedEui,\n commonSiteExplorerGridColumns.electricityUsage,\n commonSiteExplorerGridColumns.electricityEmissions,\n commonSiteExplorerGridColumns.electricityEui,\n commonSiteExplorerGridColumns.naturalGasUsage,\n commonSiteExplorerGridColumns.naturalGasEmissions,\n commonSiteExplorerGridColumns.naturalGasEui,\n commonSiteExplorerGridColumns.actions,\n commonSiteExplorerGridColumns.planning,\n canEditSite,\n isFeatureEnabled,\n organization,\n formatPercentage,\n i18n.language,\n formatInteger,\n currencySymbol,\n formatMoneyInteger,\n ])\n\n return columns\n}\n","import React, { useCallback } from \"react\"\nimport type { FC } from \"react\"\n\nimport { Page, PageCard, PageHeaderActionBar } from \"@/components\"\nimport { NzDataGrid } from \"@/components/nzDataGrid\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport {\n DEFAULT_PAGE_SIZE,\n DataGridLegend,\n DataGridToolbar,\n useEditRow,\n useGridFilterModelChange,\n usePageScrollChange,\n usePaginatedScroll,\n useSaveGridModel,\n} from \"@/nzds/data-grid\"\nimport { MonthRangePicker } from \"@/nzds/inputs/month-range-picker\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDepartmentsSpraypaint } from \"@/services/department\"\nimport { useGetBuildingTypes } from \"@/services/site\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { useGetPlans } from \"@/services/useGetPlans\"\nimport { useDateRange } from \"@/utils/date/use-date-range\"\nimport { useSearchParamsPage } from \"@/utils/url\"\nimport type { Interval } from \"luxon\"\n\nimport { Box } from \"@mui/material\"\nimport { useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport type {\n SiteExplorerGridRecord,\n SiteExplorerPaginatedData,\n SiteExplorerRecord,\n} from \"../../services/use-get-site-explorer\"\nimport { useGetSiteExplorer } from \"../../services/use-get-site-explorer\"\nimport { useComputedSiteRows, useSitesWithPlans } from \"../utils\"\nimport { useHandleProcessRowUpdate } from \"../utils/use-handle-process-row-update\"\nimport {\n defaultColumnVisibilityModel,\n defaultPinnedColumns,\n defaultSortModel,\n useOverviewGridColumns,\n} from \"./utils/use-overview-grid-columns/use-overview-grid-columns\"\n\nexport const SitesOverviewRoute: FC = () => {\n const gridApiRef = useGridApiRef()\n\n const handleOnFilterModelChange = useGridFilterModelChange()\n\n const { recommendationsPlansData, recommendationsPlansIsLoading } =\n useGetPlans()\n\n const sitesWithPlans = useSitesWithPlans(recommendationsPlansData)\n\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(\n organization?.id ?? \"\"\n )\n\n const { buildingTypesData, buildingTypesIsFetching } = useGetBuildingTypes()\n const { departmentsSpraypaintData, departmentsSpraypaintIsFetching } =\n useDepartmentsSpraypaint({\n apiQueryOptions: {\n where: { organization_id: organization?.id },\n },\n })\n\n const { page } = useSearchParamsPage()\n\n const { dateRange, setDateRange } = useDateRange({\n id: \"sitesOverviewDateRange\",\n bounds: availableReportDatesData,\n })\n\n const handleDateRangeChange = (value: Interval | null) => {\n if (value?.isValid) {\n setDateRange(value)\n }\n }\n\n const {\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n handleRowEditStop,\n rowModesModel,\n } = useEditRow()\n\n const defaultColumns = useOverviewGridColumns({\n buildingTypes: buildingTypesData,\n departments: departmentsSpraypaintData,\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n rowModesModel,\n })\n\n const {\n gridModel: { columnVisibilityModel, columns, pinnedColumns, sortModel },\n handleColumnOrderChange,\n handleColumnVisibilityModelChange,\n handlePinnedColumnsChange,\n handleSortModelChange,\n } = useSaveGridModel({\n gridName: \"sitesOverview\",\n gridModel: {\n columns: defaultColumns,\n columnVisibilityModel: defaultColumnVisibilityModel,\n pinnedColumns: defaultPinnedColumns,\n sortModel: defaultSortModel,\n },\n })\n\n const isSiteExplorerQueryEnabled =\n Boolean(organization?.id) &&\n Boolean(sortModel[0].field) &&\n Boolean(sortModel[0].sort) &&\n dateRange.isValid\n\n const {\n siteExplorerData,\n siteExplorerIsFetching,\n siteExplorerFetchNextPage,\n siteExplorerFetchPreviousPage,\n siteExplorerHasNextPage,\n siteExplorerHasPreviousPage,\n siteExplorerIsFetchingNextPage,\n siteExplorerIsFetchingPreviousPage,\n } = useGetSiteExplorer({\n parameters: {\n query: {\n \"filter[organization_id]\": organization?.id,\n \"filter[start_date][gte]\": dateRange.start?.toISODate(),\n \"filter[end_date][lte]\": dateRange.end?.toISODate(),\n \"page[size]\": DEFAULT_PAGE_SIZE,\n sort: `${sortModel[0].sort === \"asc\" ? \"\" : \"-\"}${sortModel[0].field}`,\n \"stats[page]\": \"count\",\n },\n },\n initialPage: page,\n queryOptions: {\n enabled: isSiteExplorerQueryEnabled,\n },\n })\n\n const rows = useComputedSiteRows({\n data: siteExplorerData,\n sitesWithPlans,\n })\n\n const handleScrollPageChange = usePageScrollChange()\n\n usePaginatedScroll({\n isEnabled: isSiteExplorerQueryEnabled,\n apiRef: gridApiRef,\n data: siteExplorerData,\n fetchNextPage: siteExplorerFetchNextPage,\n fetchPreviousPage: siteExplorerFetchPreviousPage,\n hasNextPage: siteExplorerHasNextPage,\n hasPreviousPage: siteExplorerHasPreviousPage,\n isFetchingNextPage: siteExplorerIsFetchingNextPage,\n isFetchingPreviousPage: siteExplorerIsFetchingPreviousPage,\n onScrollPageChange: handleScrollPageChange,\n currentPage: page,\n })\n\n const [columnsButtonEl, setColumnsButtonEl] =\n React.useState(null)\n\n const { handleProcessRowUpdate } = useHandleProcessRowUpdate(\n departmentsSpraypaintData\n )\n\n const handleProcessRowUpdateError = useCallback((error: Error) => {\n console.error(error)\n }, [])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n ),\n },\n panel: {\n anchorEl: columnsButtonEl,\n },\n }}\n slots={{\n toolbar: DataGridToolbar,\n }}\n sortingMode=\"server\"\n sortModel={sortModel}\n />\n \n \n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\n\nimport type { ChipProps } from \"@mui/material\"\nimport { Chip } from \"@mui/material\"\n\nimport type {\n PerformanceCellProps,\n PerformanceLevel,\n} from \"./performance-cell.types\"\n\nconst computeLevelFromValue = (\n value?: number | null\n): PerformanceLevel | undefined => {\n if (!Number.isFinite(value)) {\n return undefined\n }\n if (value >= 0.8) {\n return \"extremelyInefficient\"\n }\n if (value >= 0.6) {\n return \"inefficient\"\n }\n if (value >= 0.4) {\n return \"atBenchmark\"\n }\n if (value >= 0.2) {\n return \"efficient\"\n }\n return \"highlyEfficient\"\n}\n\nconst computeColorSchemeFromLevel = (\n level: PerformanceLevel\n): ChipProps[\"color\"] => {\n let colorScheme: ChipProps[\"color\"]\n switch (level) {\n case \"extremelyInefficient\":\n colorScheme = \"error\"\n break\n case \"inefficient\":\n colorScheme = \"error\"\n break\n case \"atBenchmark\":\n colorScheme = \"warning\"\n break\n case \"efficient\":\n colorScheme = \"success\"\n break\n case \"highlyEfficient\":\n colorScheme = \"success\"\n break\n\n default:\n colorScheme = undefined\n }\n return colorScheme\n}\n\n/**\n * Shows a chip in different colors based on the performance level value,\n * which should be a percentile based number between 0 and 1.\n *\n * ```tsx\n * import { PerformanceCell } from \"@/components/performance/performance-cell\"\n *\n * \n * ```\n */\nexport const PerformanceCell: FC = ({\n value,\n ...rest\n}) => {\n const { format } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n const label = format(Number.isFinite(value) ? value * 100 : undefined)\n const level = computeLevelFromValue(value)\n const colorScheme = level ? computeColorSchemeFromLevel(level) : \"default\"\n return (\n {\n if (level === \"inefficient\") {\n return `${theme.palette.spectrum.red[50]} !important`\n }\n if (level === \"efficient\") {\n return `${theme.palette.spectrum.green[50]} !important`\n }\n return undefined\n },\n }}\n variant=\"outlined\"\n />\n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport type { PerformanceTierId } from \"../performance-tier.types\"\nimport type { PerformanceTierIconProps } from \"./performance-tier-icon.types\"\n\ninterface ColorScheme {\n bgcolor: string\n borderColor: string\n}\n\nconst tierToColorScheme: Record = {\n atBenchmark: {\n bgcolor: \"spectrum.mustard.100\",\n borderColor: \"spectrum.mustard.400\",\n },\n efficient: {\n bgcolor: \"spectrum.green.50\",\n borderColor: \"spectrum.green.400\",\n },\n extremelyInefficient: {\n bgcolor: \"spectrum.red.100\",\n borderColor: \"spectrum.red.400\",\n },\n highlyEfficient: {\n bgcolor: \"spectrum.green.100\",\n borderColor: \"spectrum.green.400\",\n },\n inefficient: {\n bgcolor: \"spectrum.red.50\",\n borderColor: \"spectrum.red.400\",\n },\n}\n\nexport const PerformanceTierIcon: FC = ({ tier }) => {\n return (\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { PerformanceTierIcon } from \"./performance-tier-icon\"\nimport type {\n PerformanceTierId,\n PerformanceTierProps,\n} from \"./performance-tier.types\"\n\nconst tierToName: Record = {\n extremelyInefficient: \"Highly Inefficient\",\n inefficient: \"Inefficient\",\n atBenchmark: \"Average\",\n efficient: \"Efficient\",\n highlyEfficient: \"Highly Efficient\",\n}\n\n/**\n * A component for displaying the performance tier of a site\n *\n * ```tsx\n * import { PerformanceTier } from \"@/components/performance/performance-tier\"\n *\n * \n * ```\n */\nexport const PerformanceTier: FC = ({ tier }) => {\n return (\n \n \n {tierToName[tier]}\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { PerformanceTier } from \"@/components/performance/performance-tier\"\nimport { useFormatDecimal } from \"@/formatters\"\nimport { DataGridLegend, DataGridLegendItem } from \"@/nzds/data-grid\"\n\nimport type { PerformanceGridLegendProps } from \"./performance-grid-legend.types\"\n\n/**\n * Displays a legend of the performance tiers and counts for sites\n *\n * ```tsx\n * import { PerformanceGridLegend } from \"@/components/performance/performance-grid-legend\"\n *\n * \n * ```\n */\nexport const PerformanceGridLegend: FC = ({\n siteCount,\n extremelyInefficientCount,\n inefficientCount,\n atBenchmarkCount,\n efficientCount,\n highlyEfficientCount,\n}) => {\n const { format: formatInteger } = useFormatDecimal({\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n })\n\n return (\n \n }\n value={formatInteger(extremelyInefficientCount)}\n />\n\n }\n value={formatInteger(inefficientCount)}\n />\n\n }\n value={formatInteger(atBenchmarkCount)}\n />\n\n }\n value={formatInteger(efficientCount)}\n />\n\n }\n value={formatInteger(highlyEfficientCount)}\n />\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport { PerformanceTier } from \"@/components/performance\"\n\nimport { Stack } from \"@mui/material\"\n\nexport const PerformanceTooltipLegend: FC = () => (\n \n \n \n \n \n \n \n)\n","// @ts-strict-ignore\nimport React, { useMemo } from \"react\"\n\nimport { PerformanceCell } from \"@/components/performance\"\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { useFormatDecimal } from \"@/formatters/useFormatDecimal\"\nimport type { Department } from \"@/models/department\"\nimport { DataGridColumnHeader } from \"@/nzds/data-grid\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport { Stack, Typography } from \"@mui/material\"\nimport type {\n GridColDef,\n GridColumnVisibilityModel,\n GridPinnedColumns,\n GridRenderCellParams,\n GridRowId,\n GridRowModesModel,\n GridSortModel,\n GridValueFormatterParams,\n} from \"@mui/x-data-grid-pro\"\n\nimport { baseSiteNumberColumnDef } from \"../../../../models\"\nimport type { SiteExplorerGridRecord } from \"../../../../services/use-get-site-explorer\"\nimport { useCommonSiteExplorerGridColumns } from \"../../../utils/use-common-site-explorer-grid-columns/use-common-site-explorer-grid-columns\"\nimport { useCommonSiteGridColumns } from \"../../../utils/use-common-site-grid-columns\"\nimport { PerformanceTooltipLegend } from \"../../components/performance-tooltip-legend/performance-tooltip-legend\"\n\nexport const defaultColumnVisibilityModel: GridColumnVisibilityModel = {\n // default columns\n benchmark_electric_eui_percentile: true,\n benchmark_gas_eui_percentile: true,\n benchmark_majorfuel_eui_percentile: true,\n // non-default columns\n benchmark_electric_eui_median: false, // Electricity Median\n benchmark_gas_eui_median: false, // Natural Gas Median\n benchmark_majorfuel_eui_median: false, // Combined Median\n electricity_kbtu_per_sq_ft: false, // Electricity EUI\n electricity_mt_co2e: false, // Electricity Emissions\n nat_gas_kbtu_per_sq_ft: false, // Natural Gas EUI\n nat_gas_mt_co2e: false, // Natural Gas Emissions\n total_emissions_mt_co2e: false, // Combined Emissions\n}\n\nexport const defaultPinnedColumns: GridPinnedColumns = {\n left: [\"rowNumber\", \"site_name\"],\n right: [\"actions\", \"isPlanned\"],\n}\n\nexport const defaultSortModel: GridSortModel = [\n {\n field: \"site_name\",\n sort: \"desc\",\n },\n]\n\ninterface UsePerformanceGridColumnsProps {\n buildingTypes: string[] | undefined\n departments: Department[] | undefined\n handleRowEditCancelClick: (id: GridRowId) => void\n handleRowEditClick: (id: GridRowId) => void\n handleRowEditSaveClick: (id: GridRowId) => void\n rowModesModel: GridRowModesModel\n}\n\nexport const usePerformanceGridColumns = (\n props: UsePerformanceGridColumnsProps\n): GridColDef[] => {\n const { canEditSite } = useAuthentication()\n\n const { format: formatDecimal } = useFormatDecimal()\n const commonSiteGridColumns =\n useCommonSiteGridColumns()\n const commonSiteExplorerGridColumns = useCommonSiteExplorerGridColumns(props)\n\n const { isFeatureEnabled } = useFeature()\n const { organization } = useOrganizationContext()\n\n const columns: GridColDef[] = useMemo(() => {\n return [\n {\n ...commonSiteGridColumns.rowNumber,\n },\n {\n ...commonSiteGridColumns.siteName,\n },\n {\n ...commonSiteExplorerGridColumns.group,\n },\n {\n ...commonSiteExplorerGridColumns.buildingType,\n },\n {\n ...commonSiteExplorerGridColumns.buildingArea,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEnergyUsage,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.combinedEui,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_majorfuel_eui_median\",\n headerName: \"Combined EUI Benchmark\",\n renderHeader: () => (\n \n \n Mean EUI for the combined consumption of natural gas and\n electricity in buildings similar to yours (building type and\n climate), based on the ENERGY STAR dataset.\n \n \n It serves as a benchmark to assess the energy efficiency of\n your building’s total energy usage.\n \n \n }\n unit=\"kBtu / sq ft\" // Purposely not translated per locale\n />\n ),\n sortable: false,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n width: 240,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_majorfuel_eui_percentile\",\n headerName: \"Combined Performance\",\n renderHeader: () => (\n \n Percentile indicates how the combined EUI of your building\n compares to similar building types in the ENERGY STAR dataset.\n \n \n }\n unit=\"Percentile\"\n />\n ),\n renderCell: (\n params: GridRenderCellParams>\n ) => ,\n sortable: false,\n width: 240,\n },\n {\n ...commonSiteExplorerGridColumns.electricityUsage,\n },\n {\n ...commonSiteExplorerGridColumns.electricityEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.electricityEui,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_electric_eui_median\",\n headerName: \"Electricity EUI Benchmark\",\n renderHeader: () => (\n \n \n Mean electricity EUI in buildings similar to yours (building\n type and climate), based on the ENERGY STAR dataset.\n \n \n It serves as a benchmark to assess the energy efficiency of\n your building’s total energy usage.\n \n \n }\n unit=\"kBtu / sq ft\" // Purposely not translated per locale\n />\n ),\n sortable: false,\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n width: 260,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_electric_eui_percentile\",\n headerName: \"Electricity Performance\",\n renderHeader: () => (\n \n Percentile indicates how the electricity EUI of your building\n compares to similar building types in the ENERGY STAR dataset\n \n \n }\n unit=\"Percentile\"\n />\n ),\n renderCell: (\n params: GridRenderCellParams>\n ) => ,\n sortable: false,\n width: 240,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasUsage,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasEmissions,\n },\n {\n ...commonSiteExplorerGridColumns.naturalGasEui,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_gas_eui_median\",\n headerName: \"Natural Gas EUI Benchmark\",\n renderHeader: () => (\n \n \n Mean natural gas EUI in buildings similar to yours (building\n type and climate), based on the ENERGY STAR dataset.\n \n \n It serves as a benchmark to assess the energy efficiency of\n your building’s total energy usage.\n \n \n }\n unit=\"kBtu / sq ft\" // Purposely not translated per locale\n />\n ),\n valueFormatter: (params: GridValueFormatterParams) =>\n formatDecimal(params.value),\n sortable: false,\n width: 260,\n },\n {\n ...baseSiteNumberColumnDef,\n field: \"benchmark_gas_eui_percentile\",\n headerName: \"Natural Gas Performance\",\n renderHeader: () => (\n \n Percentile indicates how the natural gas EUI of your building\n compares to similar building types in the ENERGY STAR dataset.\n \n \n }\n unit=\"Percentile\"\n />\n ),\n renderCell: (\n params: GridRenderCellParams>\n ) => ,\n sortable: false,\n width: 240,\n },\n ...(canEditSite\n ? [\n {\n ...commonSiteExplorerGridColumns.actions,\n },\n ]\n : []),\n ...(isFeatureEnabled(FeatureFlags.PLANNING, organization)\n ? [{ ...commonSiteExplorerGridColumns.planning }]\n : []),\n ]\n }, [\n commonSiteGridColumns.rowNumber,\n commonSiteGridColumns.siteName,\n commonSiteExplorerGridColumns.group,\n commonSiteExplorerGridColumns.buildingType,\n commonSiteExplorerGridColumns.buildingArea,\n commonSiteExplorerGridColumns.combinedEnergyUsage,\n commonSiteExplorerGridColumns.combinedEmissions,\n commonSiteExplorerGridColumns.combinedEui,\n commonSiteExplorerGridColumns.electricityUsage,\n commonSiteExplorerGridColumns.electricityEmissions,\n commonSiteExplorerGridColumns.electricityEui,\n commonSiteExplorerGridColumns.naturalGasUsage,\n commonSiteExplorerGridColumns.naturalGasEmissions,\n commonSiteExplorerGridColumns.naturalGasEui,\n commonSiteExplorerGridColumns.actions,\n commonSiteExplorerGridColumns.planning,\n canEditSite,\n isFeatureEnabled,\n organization,\n formatDecimal,\n ])\n\n return columns\n}\n","import React, { useCallback } from \"react\"\nimport type { FC } from \"react\"\n\nimport { Page, PageCard, PageHeaderActionBar } from \"@/components\"\nimport { NzDataGrid } from \"@/components/nzDataGrid\"\nimport { PerformanceGridLegend } from \"@/components/performance\"\nimport { useOrganizationContext } from \"@/contexts\"\nimport {\n DEFAULT_PAGE_SIZE,\n DataGridToolbar,\n useEditRow,\n useGridFilterModelChange,\n usePageScrollChange,\n usePaginatedScroll,\n useSaveGridModel,\n} from \"@/nzds/data-grid\"\nimport { YearPicker } from \"@/nzds/inputs/year-picker\"\nimport { HStack } from \"@/nzds/layout\"\nimport { useDepartmentsSpraypaint } from \"@/services/department\"\nimport { useGetBuildingTypes } from \"@/services/site\"\nimport { useAvailableReportDates } from \"@/services/useAvailableReportDates\"\nimport { useGetPlans } from \"@/services/useGetPlans\"\nimport { useYear } from \"@/utils/date/use-year\"\nimport { useSearchParamsPage } from \"@/utils/url\"\nimport type { DateTime } from \"luxon\"\n\nimport { Box, MenuItem } from \"@mui/material\"\nimport { useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport type {\n SiteExplorerGridRecord,\n SiteExplorerPaginatedData,\n SiteExplorerRecord,\n} from \"../../services/use-get-site-explorer\"\nimport { useGetSiteExplorer } from \"../../services/use-get-site-explorer\"\nimport { useComputedSiteRows, useSitesWithPlans } from \"../utils\"\nimport { useHandleProcessRowUpdate } from \"../utils/use-handle-process-row-update\"\nimport {\n defaultColumnVisibilityModel,\n defaultPinnedColumns,\n defaultSortModel,\n usePerformanceGridColumns,\n} from \"./utils/use-performance-grid-columns/use-performance-grid-columns\"\n\nexport const SitesPerformanceRoute: FC = () => {\n const gridApiRef = useGridApiRef()\n const { organization } = useOrganizationContext()\n const { availableReportDatesData } = useAvailableReportDates(\n organization?.id ?? \"\"\n )\n\n const { recommendationsPlansData, recommendationsPlansIsLoading } =\n useGetPlans()\n\n const sitesWithPlans = useSitesWithPlans(recommendationsPlansData)\n\n const handleOnFilterModelChange = useGridFilterModelChange()\n\n const { buildingTypesData, buildingTypesIsFetching } = useGetBuildingTypes()\n const { departmentsSpraypaintData, departmentsSpraypaintIsFetching } =\n useDepartmentsSpraypaint({\n apiQueryOptions: {\n where: { organization_id: organization?.id },\n },\n })\n\n const {\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n handleRowEditStop,\n rowModesModel,\n } = useEditRow()\n const defaultColumns = usePerformanceGridColumns({\n buildingTypes: buildingTypesData,\n departments: departmentsSpraypaintData,\n handleRowEditCancelClick,\n handleRowEditClick,\n handleRowEditSaveClick,\n rowModesModel,\n })\n\n const { page } = useSearchParamsPage()\n\n const { dateRange, setYear } = useYear({\n id: \"sitesPerformanceYear\",\n bounds: availableReportDatesData,\n })\n\n const handleYearChange = (value: DateTime) => {\n setYear(value.year)\n }\n\n const {\n gridModel: { columnVisibilityModel, columns, pinnedColumns, sortModel },\n handleColumnOrderChange,\n handleColumnVisibilityModelChange,\n handlePinnedColumnsChange,\n handleSortModelChange,\n } = useSaveGridModel({\n gridName: \"sitesPerformance\",\n gridModel: {\n columns: defaultColumns,\n columnVisibilityModel: defaultColumnVisibilityModel,\n pinnedColumns: defaultPinnedColumns,\n sortModel: defaultSortModel,\n },\n })\n\n const isSiteExplorerQueryEnabled =\n Boolean(organization?.id) &&\n Boolean(sortModel[0].field) &&\n Boolean(sortModel[0].sort) &&\n dateRange.isValid\n\n const {\n siteExplorerData,\n siteExplorerIsFetching,\n siteExplorerFetchNextPage,\n siteExplorerFetchPreviousPage,\n siteExplorerHasNextPage,\n siteExplorerHasPreviousPage,\n siteExplorerIsFetchingNextPage,\n siteExplorerIsFetchingPreviousPage,\n } = useGetSiteExplorer({\n parameters: {\n query: {\n \"filter[organization_id]\": organization?.id,\n \"filter[start_date][gte]\": dateRange.start?.toISODate(),\n \"filter[end_date][lte]\": dateRange.end?.toISODate(),\n include_benchmarks: true,\n \"page[size]\": DEFAULT_PAGE_SIZE,\n sort: `${sortModel[0].sort === \"asc\" ? \"\" : \"-\"}${sortModel[0].field}`,\n \"stats[average]\": \"count\",\n \"stats[efficient]\": \"count\",\n \"stats[inefficient]\": \"count\",\n \"stats[page]\": \"count\",\n \"stats[very_efficient]\": \"count\",\n \"stats[very_inefficient]\": \"count\",\n },\n },\n initialPage: page,\n queryOptions: {\n enabled: isSiteExplorerQueryEnabled,\n },\n })\n\n const rows = useComputedSiteRows({\n data: siteExplorerData,\n sitesWithPlans,\n })\n\n const handleScrollPageChange = usePageScrollChange()\n\n usePaginatedScroll({\n isEnabled: isSiteExplorerQueryEnabled,\n apiRef: gridApiRef,\n data: siteExplorerData,\n fetchNextPage: siteExplorerFetchNextPage,\n fetchPreviousPage: siteExplorerFetchPreviousPage,\n hasNextPage: siteExplorerHasNextPage,\n hasPreviousPage: siteExplorerHasPreviousPage,\n isFetchingNextPage: siteExplorerIsFetchingNextPage,\n isFetchingPreviousPage: siteExplorerIsFetchingPreviousPage,\n onScrollPageChange: handleScrollPageChange,\n currentPage: page,\n })\n\n const [columnsButtonEl, setColumnsButtonEl] =\n React.useState(null)\n\n const { handleProcessRowUpdate } = useHandleProcessRowUpdate(\n departmentsSpraypaintData\n )\n\n const handleProcessRowUpdateError = useCallback((error: Error) => {\n console.error(error)\n }, [])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n {\n // Cannot wrap in fragment (e.g. <>) due to MUI error\n // https://github.com/mui/material-ui/issues/16181\n }\n \n Export CSV - Sites\n \n \n Export CSV - Sites across Organization\n \n
    \n ),\n setColumnsButtonEl,\n startActions: (\n \n ),\n },\n panel: {\n anchorEl: columnsButtonEl,\n },\n }}\n slots={{\n toolbar: DataGridToolbar,\n }}\n sortingMode=\"server\"\n sortModel={sortModel}\n />\n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport { ErrorBoundary } from \"react-error-boundary\"\nimport { Outlet } from \"react-router-dom\"\nimport type { RouteObject } from \"react-router-dom\"\n\nimport { ErrorBoundaryFallback } from \"@/components/error-boundary/error-boundary-fallback\"\nimport { logError } from \"@/components/error-boundary/error-boundary-fallback-utils\"\nimport { ConsultantDataGuard } from \"@/components/route/consultant-data-guard\"\nimport { FeatureGuard } from \"@/components/route/featureGuard/featureGuard\"\nimport { RootPath, SitePath } from \"@/models/route\"\nimport { FeatureFlags } from \"@/services/feature\"\n\nimport Electricity from \"./components/electricity/electricity\"\nimport NaturalGas from \"./components/naturalGas/naturalGas\"\nimport SiteAnalysis from \"./components/siteAnalysis/siteAnalysis\"\nimport { SiteDetailsRoute } from \"./pages/site-details-route\"\nimport { SiteIndexRoute } from \"./pages/site-index-route/site-index-route\"\nimport { SiteOverviewRoute } from \"./pages/site-overview-route/site-overview-route\"\nimport { SitesComplianceRoute } from \"./pages/sites-compliance-route/sites-compliance-route\"\nimport { SitesDecarbonizeRoute } from \"./pages/sites-decarbonize-route\"\nimport { SitesIndexRoute } from \"./pages/sites-index-route/sites-index-route\"\nimport { SitesOverviewRoute } from \"./pages/sites-overview-route/sites-overview-route\"\nimport { SitesPerformanceRoute } from \"./pages/sites-performance-route/sites-performance-route\"\n\nexport const siteRoutes: RouteObject[] = [\n {\n path: RootPath.Site,\n element: (\n \n \n \n \n \n ),\n children: [\n {\n path: SitePath.Site,\n element: ,\n children: [\n {\n path: SitePath.Overview,\n element: (\n \n \n \n ),\n },\n {\n path: SitePath.SiteDetails,\n element: (\n \n \n \n ),\n },\n {\n path: SitePath.Emissions,\n element: (\n \n \n \n ),\n },\n {\n path: SitePath.Electricity,\n element: (\n \n \n \n ),\n },\n {\n path: SitePath.NaturalGas,\n element: (\n \n \n \n ),\n },\n ],\n },\n {\n index: true,\n element: ,\n },\n {\n element: ,\n children: [\n {\n path: SitePath.Overview,\n element: ,\n },\n {\n path: SitePath.Performance,\n element: ,\n },\n {\n path: SitePath.Compliance,\n element: ,\n },\n {\n path: SitePath.Decarbonize,\n element: (\n \n \n \n ),\n },\n ],\n },\n ],\n },\n]\n","import { useCallback, useMemo, useState } from \"react\"\n\nexport const useDialog = () => {\n const [isDialogOpen, setIsDialogOpen] = useState(false)\n const [dialogTitle, setDialogTitle] = useState(\"\")\n const [dialogContent, setDialogContent] = useState(null)\n const [dialogActions, setDialogActions] = useState(null)\n\n const onDialogClose = useCallback(() => {\n setIsDialogOpen(false)\n }, [setIsDialogOpen])\n\n const onDialogOpen = useCallback(\n (title: string, content: JSX.Element, actions: JSX.Element): void => {\n setIsDialogOpen(true)\n setDialogTitle(title)\n setDialogContent(content)\n setDialogActions(actions)\n },\n [setIsDialogOpen, setDialogTitle, setDialogContent, setDialogActions]\n )\n\n return useMemo(\n () => ({\n isDialogOpen,\n dialogTitle,\n dialogContent,\n dialogActions,\n onDialogOpen,\n onDialogClose,\n }),\n [\n isDialogOpen,\n dialogTitle,\n dialogContent,\n dialogActions,\n onDialogOpen,\n onDialogClose,\n ]\n )\n}\n","import React from \"react\"\n\nimport { Typography } from \"@mui/material\"\n\ninterface FieldWrapperProps {\n children: React.ReactNode\n errorMessage?: string\n label: string\n name: string\n required?: boolean\n}\n\nexport const FieldWrapper = ({\n name,\n label,\n required,\n errorMessage,\n children,\n}: FieldWrapperProps) => (\n \n {label && (\n \n )}\n {children}\n {errorMessage && (\n \n {errorMessage}\n \n )}\n
    \n)\n","import React from \"react\"\n\nimport { Button } from \"@mui/material\"\n\nimport { useE2E } from \"./utils/useE2E\"\nimport { useFormContext } from \"./utils/useFormContext\"\n\ninterface ResetButtonProps {\n // eslint-disable-next-line react/no-unused-prop-types\n \"data-e2e\"?: string\n}\n\nconst ResetButton = (props: ResetButtonProps) => {\n const {\n reset,\n formProps: { readOnly },\n formState: { isDirty },\n } = useFormContext()\n\n const dataE2E = useE2E({ name: \"reset\", ...props }, \"button\")\n\n if (readOnly) {\n return null\n }\n\n return (\n {\n reset()\n }}\n variant=\"outlined\"\n >\n Cancel\n \n )\n}\n\nexport default ResetButton\n","import React from \"react\"\nimport { useFormState } from \"react-hook-form\"\n\nimport AddRoundedIcon from \"@mui/icons-material/AddRounded\"\nimport { Button } from \"@mui/material\"\n\ninterface CreateEntityButtonProps {\n entityName: string\n}\n\nconst CreateEntityButton = ({\n entityName,\n}: CreateEntityButtonProps): JSX.Element => {\n const { isDirty, isValid } = useFormState()\n\n return (\n }\n type=\"submit\"\n variant=\"contained\"\n >\n Create {entityName}\n \n )\n}\n\nexport default CreateEntityButton\n","import React from \"react\"\n\nimport { Button } from \"@mui/material\"\n\ninterface CancelButtonProps {\n onCancel: () => void\n}\n\nconst CancelButton = ({ onCancel }: CancelButtonProps): JSX.Element => (\n \n)\n\nexport default CancelButton\n","import { isNull, isNumber, isString } from \"lodash-es\"\n\nexport type SelectValue = null | number | string\nexport type SelectOptionProp =\n | SelectValue\n | { label?: string; value: SelectValue }\nexport interface SelectOptionParsed {\n label: string\n value: SelectValue\n}\n\nconst isPrimitive = (subject: unknown) =>\n isNull(subject) || isNumber(subject) || isString(subject)\n\n// Mass lint disable\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\nconst isOption = (subject: unknown) => (subject as any)?.value !== undefined\n\n/**\n * Extract a value from an option prop.\n *\n * @param subject An option `{ value: 'foo', label?: 'Foo' }` or a value primitive\n * @returns A value primitive\n */\nexport const getSelectOptionValue = (\n subject: SelectOptionProp\n): SelectValue => {\n if (isPrimitive(subject)) {\n return subject as SelectValue\n }\n if (isOption(subject)) {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n return (subject as any).value\n }\n throw new Error(\"Invalid option\")\n}\n\n/**\n * Extract a label from an option prop.\n *\n * @param subject An option `{ value: 'foo', label?: 'Foo' }` or a value primitive\n * @returns A label string, defaulting to the value\n */\nexport const getSelectOptionLabel = (\n subject: undefined | SelectOptionProp\n): string => {\n if (isPrimitive(subject)) {\n return String(subject)\n }\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n if (typeof (subject as any).label === \"string\") {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n return (subject as any).label\n }\n const value = getSelectOptionValue(subject)\n return value ? String(value) : \"\"\n}\n\n/**\n * Convert an option prop to a strict option object.\n *\n * @param subject An value primitive or an option `{ value: 'foo', label?: 'Foo' }`\n * @returns An parsed option object with a value and a label\n */\nexport const parseSelectOption = (\n subject: SelectOptionProp\n): SelectOptionParsed => ({\n value: getSelectOptionValue(subject),\n label: getSelectOptionLabel(subject),\n})\n\n/**\n * Finds an option in an array of options matching a value or an option prop.\n *\n * @param options An array of option props to search IN\n * @param option A value or an option prop to search WITH\n * @returns An parsed option object with a value and a label\n */\nexport const findSelectOption = (\n options: SelectOptionProp[],\n option: SelectOptionProp\n): undefined | SelectOptionParsed => {\n const { value } = parseSelectOption(option)\n const thisOption = options.find((o) => parseSelectOption(o).value === value)\n if (thisOption === undefined) {\n return undefined\n }\n return parseSelectOption(thisOption)\n}\n\n/**\n * Checks if two option props have the same value.\n *\n * @param optionA An option prop\n * @param optionB An option prop\n * @returns Whether or not they are equal\n */\nexport const isOptionsEqual = (\n optionA: SelectOptionProp,\n optionB: SelectOptionProp\n): boolean => getSelectOptionValue(optionA) === getSelectOptionValue(optionB)\n","import { useMemo } from \"react\"\n\nimport { DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER } from \"../../utils/constants\"\nimport type { SelectOptionParsed } from \"./utils/selectOptions\"\n\nexport const useOptions = >(\n values: V[],\n pathArg: ((value: V) => SelectOptionParsed) | [keyof V, keyof V],\n defaultValue?: null | \"\" | SelectOptionParsed\n): SelectOptionParsed[] =>\n useMemo(() => {\n if (!values) {\n return []\n }\n return (\n (defaultValue === undefined\n ? []\n : [\n defaultValue === null || defaultValue === \"\"\n ? {\n label: DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER,\n value: defaultValue,\n }\n : defaultValue,\n ]) as SelectOptionParsed[]\n ).concat(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n values.map((value) => {\n if (typeof pathArg === \"function\") {\n return pathArg(value)\n }\n return {\n label: value[pathArg[0]],\n value: value[pathArg[1] ?? pathArg[0]],\n }\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n }) as any\n )\n }, [defaultValue, pathArg, values])\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FieldValues, SubmitHandler, UseFormReturn } from \"react-hook-form\"\nimport { FormProvider, useForm as useHookForm } from \"react-hook-form\"\n\nimport { zodResolver } from \"@hookform/resolvers/zod\"\nimport type { ZodTypeAny } from \"zod\"\n\ninterface UseTamFormProps {\n schema: ZodTypeAny\n values?: Record\n}\n\nexport const useTamForm = ({ schema, values }: UseTamFormProps) =>\n useHookForm({\n values,\n mode: \"all\",\n reValidateMode: \"onChange\",\n resolver: zodResolver(schema),\n })\n\ninterface BetaFormProps {\n children: React.ReactNode\n form: UseFormReturn\n name: string\n onSubmit: SubmitHandler\n}\n\nexport const TamForm = ({\n form,\n onSubmit,\n children,\n name: formName,\n}: BetaFormProps) => (\n \n \n {children}\n \n \n)\n","import React from \"react\"\nimport { useFormContext } from \"react-hook-form\"\n\nimport { Button } from \"@mui/material\"\n\ninterface TamResetButtonProps {\n dataE2E?: string\n onClick?: (event: React.MouseEvent) => void\n}\n\nexport const TamResetButton = (props: TamResetButtonProps) => {\n const { dataE2E, onClick } = props\n\n const {\n reset,\n formState: { isDirty, isSubmitting },\n } = useFormContext()\n\n const handleClick = (event: React.MouseEvent) => {\n if (onClick) {\n onClick(event)\n } else {\n reset()\n }\n }\n\n return (\n \n Cancel\n \n )\n}\n","import React from \"react\"\nimport { useFormState } from \"react-hook-form\"\n\nimport { Button } from \"@mui/material\"\n\ninterface TamSubmitButtonProps {\n dataE2E?: string\n submitting?: boolean\n}\n\nexport const TamSubmitButton = (props: TamSubmitButtonProps) => {\n const { dataE2E, submitting } = props\n\n const { isDirty, isValid } = useFormState()\n\n return (\n \n Save\n \n )\n}\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React, { forwardRef, useMemo } from \"react\"\n\nimport type { SelectProps } from \"@mui/material\"\nimport { MenuItem as MenuItemMUI, Select as SelectMUI } from \"@mui/material\"\n\nimport { FieldWrapper } from \"../../../../../components/form/fieldWrapper\"\nimport type { SelectOptionProp } from \"../../../../../components/form/utils/selectOptions\"\nimport { parseSelectOption } from \"../../../../../components/form/utils/selectOptions\"\n\ninterface TamSelectFieldProps extends SelectProps {\n dataE2E?: string\n error?: boolean\n errorMessage?: string | null\n id?: string\n label: string\n name: string\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onBlur?: (e: any) => void\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange?: (e: any) => void\n options: SelectOptionProp[] | readonly SelectOptionProp[]\n readOnly?: boolean\n required?: boolean\n value?: string\n}\n\nexport const TamSelectField = forwardRef(\n (\n {\n label,\n name,\n readOnly,\n dataE2E,\n disabled,\n options,\n error,\n errorMessage,\n required,\n onBlur,\n onChange,\n id,\n value,\n ...rest\n },\n ref\n ) => {\n const parsedOptions = useMemo(\n () => options.map(parseSelectOption),\n [options]\n )\n\n return (\n \n \n {parsedOptions.map((option) => (\n \n {option.label}\n \n ))}\n \n \n )\n }\n)\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FieldValues, Path } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { z } from \"zod\"\n\nimport type { SelectProps } from \"@mui/material\"\n\nimport type { SelectOptionProp } from \"../../../../../components/form/utils/selectOptions\"\nimport { TamSelectField } from \"../baseInputs/tamSelectField\"\n\ninterface TamFormSelectFieldProps extends SelectProps {\n dataE2E?: string\n label: string\n name: Path\n options: SelectOptionProp[] | readonly SelectOptionProp[]\n readOnly?: boolean\n}\n\nexport const TamFormSelectField = (\n props: TamFormSelectFieldProps\n) => {\n const { label, name, options, dataE2E, readOnly, required, disabled } = props\n\n const {\n field: { ref, onBlur, onChange, value },\n fieldState: { error },\n } = useController({\n name,\n })\n\n return (\n \n )\n}\n","/* eslint-disable react/jsx-props-no-spreading */\n\n/* eslint-disable react/require-default-props */\nimport React, { forwardRef } from \"react\"\n\nimport type { OutlinedTextFieldProps } from \"@mui/material\"\nimport { TextField as TextFieldMUI } from \"@mui/material\"\n\nimport { FieldWrapper } from \"../../../../../components/form/fieldWrapper\"\nimport { DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER } from \"../../../../../utils/constants\"\n\ninterface TamTextFieldProps extends OutlinedTextFieldProps {\n dataE2E?: string\n error?: boolean\n errorMessage?: string | null\n helperText?: string\n id?: string\n label: string\n name: string\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onBlur?: (e: any) => void\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange?: (e: any) => void\n placeholder?: string\n readOnly?: boolean\n required?: boolean\n value?: string\n}\n\nexport const TamTextField = forwardRef(\n (\n {\n label,\n name,\n readOnly,\n dataE2E,\n disabled,\n helperText,\n placeholder,\n style,\n error,\n errorMessage,\n required,\n onBlur,\n onChange,\n id,\n value,\n ...rest\n },\n ref\n ) => (\n \n \n \n )\n)\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FieldValues, Path } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport type { OutlinedTextFieldProps } from \"@mui/material\"\n\nimport { TamTextField } from \"../baseInputs/tamTextField\"\n\ninterface TamFormTextFieldProps\n extends Omit {\n capitalize?: boolean\n dataE2E?: string\n helperText?: string\n label: string\n name: Path\n placeholder?: string\n readOnly?: boolean\n}\n\nexport const TamFormTextField = (\n props: TamFormTextFieldProps\n) => {\n const {\n label,\n name,\n readOnly,\n dataE2E,\n helperText,\n placeholder,\n required,\n disabled,\n capitalize,\n } = props\n\n const {\n field: { ref, onBlur, onChange, value },\n fieldState: { error },\n } = useController({ name })\n\n return (\n \n )\n}\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport type { RefCallback } from \"react\"\nimport React, { forwardRef } from \"react\"\n\nimport type { SelectProps } from \"@mui/material\"\nimport { MenuItem as MenuItemMUI, Select as SelectMUI } from \"@mui/material\"\n\nimport { FieldWrapper } from \"../../../../../components/form/fieldWrapper\"\nimport { DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER } from \"../../../../../utils/constants\"\n\ninterface TamYesNoFieldProps extends SelectProps {\n dataE2E?: string\n error?: boolean\n errorMessage?: string | null\n id?: string\n inputRef?: RefCallback\n isNoDisabled?: boolean\n label: string\n name: string\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onBlur?: (e: any) => void\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange?: (e: any) => void\n readOnly?: boolean\n required?: boolean\n value?: string\n}\n\nexport const TamYesNoField = forwardRef(\n (\n {\n label,\n name,\n readOnly,\n dataE2E,\n disabled,\n error,\n errorMessage,\n required,\n onBlur,\n onChange,\n id,\n value,\n isNoDisabled,\n ...rest\n },\n ref\n ) => (\n \n \n {!required && (\n \n {DEFAULT_FORM_FIELD_EMPTY_PLACEHOLDER}\n \n )}\n Yes\n {!isNoDisabled && No}\n \n \n )\n)\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FieldValues, Path } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport type { SelectProps } from \"@mui/material\"\n\nimport { TamYesNoField } from \"../baseInputs/tamYesNoField\"\n\ntype BooleanString = \"true\" | \"false\" | \"null\"\n\nconst parseValueIn = (valueIn: boolean | null): BooleanString => {\n if (valueIn === true) {\n return \"true\"\n }\n if (valueIn === false) {\n return \"false\"\n }\n return \"null\"\n}\n\nconst parseValueOut = (valueOut: BooleanString): boolean | null => {\n if (valueOut === \"true\") {\n return true\n }\n if (valueOut === \"false\") {\n return false\n }\n return null\n}\n\ninterface TamFormYesNoFieldProps extends SelectProps {\n dataE2E?: string\n isNoDisabled?: boolean\n label: string\n name: Path\n readOnly?: boolean\n}\n\nexport const TamFormYesNoField = (\n props: TamFormYesNoFieldProps\n) => {\n const { name, label, isNoDisabled, dataE2E, readOnly, required, disabled } =\n props\n\n const {\n field: { ref, onBlur, onChange, value },\n fieldState: { error },\n } = useController({ name })\n\n return (\n {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n onChange(parseValueOut(valueOut))\n }}\n readOnly={readOnly}\n required={required}\n value={parseValueIn(value) ?? \"\"}\n />\n )\n}\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React, { forwardRef } from \"react\"\n\nimport type { Moment } from \"moment\"\n\nimport type { DateTimePickerProps } from \"@mui/x-date-pickers-pro\"\nimport { DateTimePicker, LocalizationProvider } from \"@mui/x-date-pickers-pro\"\nimport { AdapterMoment } from \"@mui/x-date-pickers-pro/AdapterMoment\"\n\nimport { FieldWrapper } from \"../../../../../components/form/fieldWrapper\"\n\ninterface TamDateTimePickerProps extends DateTimePickerProps {\n dataE2E?: string\n error?: boolean\n errorMessage?: string | null\n label: string\n name: string\n onBlur?: () => void\n onChange?: (\n value: Moment | null,\n context?: Parameters[0][\"onChange\"]>[1]\n ) => void\n readOnly?: boolean\n required?: boolean\n value?: Moment | null\n}\n\nexport const TamDateTimePicker = forwardRef<\n HTMLInputElement,\n TamDateTimePickerProps\n>(\n (\n {\n label,\n name,\n readOnly,\n dataE2E,\n disableFuture,\n disablePast,\n disabled,\n error,\n errorMessage,\n required,\n onBlur,\n onClose,\n onChange,\n value,\n },\n ref\n ) => (\n
    \n \n \n \n \n \n
    \n )\n)\n","/* eslint-disable react/require-default-props */\n\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\"\nimport type { FieldValues, Path } from \"react-hook-form\"\nimport { useController } from \"react-hook-form\"\n\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\n\nimport type { DateTimePickerProps } from \"@mui/x-date-pickers-pro\"\n\nimport { TamDateTimePicker } from \"../baseInputs/tamDateTimePicker\"\n\ninterface TamFormDateTimePickerProps extends DateTimePickerProps {\n dataE2E?: string\n label: string\n name: Path\n readOnly?: boolean\n required?: boolean\n}\n\nexport const TamFormDateTimePicker = (\n props: TamFormDateTimePickerProps\n) => {\n const {\n label,\n name,\n readOnly,\n dataE2E,\n disableFuture,\n disablePast,\n disabled,\n required,\n } = props\n\n const {\n field: { ref, onBlur, onChange, value },\n fieldState: { error },\n } = useController({ name })\n\n const handleChange = (newValue: moment.Moment | null) => {\n const formattedDate = newValue ? newValue.format() : null\n onChange(formattedDate)\n }\n\n return (\n \n )\n}\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n id: z.string().optional(),\n groupName: z.string().min(1, \"Billing group name is required\"),\n alias: z.string().nullable().optional(),\n})\n\nexport type BillingGroup = z.infer\n","import React, { useCallback } from \"react\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport {\n CancelButton,\n CreateEntityButton,\n} from \"../../../../../../../components/form\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../../models/typography\"\nimport { useCreateBillingGroup } from \"../../../../../../../services\"\nimport type { OrgViewDialogCreateContentProps } from \"../../../../../models/onboarding/onboarding\"\nimport { TamForm, useTamForm } from \"../../../../tamForm\"\nimport { TamFormTextField } from \"../../../../tamForm/formFields\"\nimport type { BillingGroup } from \"../../../../tamForm/schemas/billingGroup\"\nimport { schema } from \"../../../../tamForm/schemas/billingGroup\"\n\nconst OrgViewDialogBillingGroupCreateContent = ({\n objectName,\n parentObjectIds,\n onClose,\n onSuccess,\n}: OrgViewDialogCreateContentProps): React.JSX.Element => {\n const { createOneBillingGroup } = useCreateBillingGroup({ onSuccess })\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // TODO: Refactor logic in order to allow type Partial\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const attributes = {\n ...newAttributes,\n siteId: parentObjectIds.siteId,\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n createOneBillingGroup(null, attributes)\n onClose()\n },\n [parentObjectIds.siteId, createOneBillingGroup, onClose]\n )\n\n const form = useTamForm({ schema })\n\n return (\n \n {/* This styling is needed since the actions will be part of the content */}\n \n {/* This styling is needed to provide space between the form and required text */}\n \n \n \n dataE2E=\"billing-group-name-input\"\n label=\"Billing Group Name\"\n name=\"groupName\"\n required\n />\n \n \n \n dataE2E=\"billing-group-alias-input\"\n label=\"Billing Group Alias\"\n name=\"alias\"\n />\n \n \n \n *required\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewDialogBillingGroupCreateContent\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n id: z.string().optional(),\n name: z.string().min(1, \"Required\"),\n})\n\nexport type Department = z.infer\n","import React, { useCallback } from \"react\"\n\nimport { Grid, Typography } from \"@mui/material\"\n\nimport {\n CancelButton,\n CreateEntityButton,\n} from \"../../../../../../../components/form\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../../models/typography\"\nimport { useCreateDepartment } from \"../../../../../../../services\"\nimport type { OrgViewDialogCreateContentProps } from \"../../../../../models/onboarding/onboarding\"\nimport { TamForm, useTamForm } from \"../../../../tamForm\"\nimport { TamFormTextField } from \"../../../../tamForm/formFields\"\nimport type { Department } from \"../../../../tamForm/schemas/department\"\nimport { schema } from \"../../../../tamForm/schemas/department\"\n\nconst OrgViewDialogDepartmentCreateContent = ({\n objectName,\n parentObjectIds,\n onClose,\n onSuccess,\n}: OrgViewDialogCreateContentProps): JSX.Element => {\n const { createOneDepartment } = useCreateDepartment({ onSuccess })\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // TODO: Refactor logic in order to allow type Partial\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const attributes = {\n ...newAttributes,\n organizationId: parentObjectIds.organizationId,\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n createOneDepartment(null, attributes)\n onClose()\n },\n [createOneDepartment, onClose, parentObjectIds.organizationId]\n )\n\n const form = useTamForm({ schema })\n\n return (\n \n {/* This styling is needed since the actions will be part of the content */}\n \n {/* This styling is needed to provide space between the form and required text */}\n \n \n \n dataE2E=\"department-name-input\"\n label=\"Department Name\"\n name=\"name\"\n required\n />\n \n \n \n *required\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewDialogDepartmentCreateContent\n","import moment from \"moment\"\nimport { z } from \"zod\"\n\nexport const schema = z\n .object({\n id: z.string().optional(),\n name: z.string().nullable().optional(),\n meterStatus: z.string().optional(),\n meterCode: z.string().trim().min(1, \"Required\"),\n meterType: z.string().trim().min(1, \"Required\"),\n meterProvider: z.string().trim().min(1, \"Required\"),\n energyAllocatorId: z.string().nullable().optional(),\n fullMeter: z.boolean({ required_error: \"Required\" }),\n probeMeter: z.boolean({ required_error: \"Required\" }),\n isOnSiteGeneration: z.boolean({\n required_error: \"Required\",\n }),\n isNetMeter: z.boolean({ required_error: \"Required\" }),\n isChildMeter: z.boolean().optional(),\n meterSourceTypeId: z.string().trim().min(1, \"Required\"),\n startDate: z\n .string({\n required_error: \"Required\",\n invalid_type_error: \"Required\",\n })\n .datetime({ offset: true, message: \"Invalid date\" }),\n endDate: z\n .string()\n .datetime({ offset: true, message: \"Invalid date\" })\n .nullable()\n .optional(),\n })\n .superRefine((data, ctx) => {\n if (data.meterSourceTypeId === \"1\" && !data.energyAllocatorId) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Required for this meter source type\",\n path: [\"energyAllocatorId\"],\n })\n }\n if (data.startDate && data.endDate) {\n if (moment(data.startDate).isAfter(moment(data.endDate))) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Start date must be before end date\",\n path: [\"startDate\"],\n })\n }\n if (moment(data.endDate).isBefore(moment(data.startDate))) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"End date must be after start date\",\n path: [\"endDate\"],\n })\n }\n }\n })\n\nexport type Meter = z.infer\n","import React, { useCallback, useEffect } from \"react\"\n\nimport { Box, Grid, Typography, useTheme } from \"@mui/material\"\n\nimport {\n CancelButton,\n CreateEntityButton,\n useOptions,\n} from \"../../../../../../../components/form\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../../models/typography\"\nimport {\n useCreateMeter,\n useEnergyAllocators,\n useMeterSourceTypes,\n} from \"../../../../../../../services\"\nimport type { OrgViewDialogCreateContentProps } from \"../../../../../models/onboarding/onboarding\"\nimport { METER_TYPE_OPTIONS } from \"../../../../../models/onboarding/onboarding\"\nimport { TamForm, useTamForm } from \"../../../../tamForm\"\nimport {\n TamFormDateTimePicker,\n TamFormSelectField,\n TamFormTextField,\n TamFormYesNoField,\n} from \"../../../../tamForm/formFields\"\nimport type { Meter } from \"../../../../tamForm/schemas/meter\"\nimport { schema } from \"../../../../tamForm/schemas/meter\"\n\nconst OrgViewDialogMeterCreateContent = ({\n objectName,\n parentObjectIds,\n onClose,\n onSuccess,\n onError,\n}: OrgViewDialogCreateContentProps): JSX.Element => {\n const theme = useTheme()\n const { createOneMeter } = useCreateMeter({ onSuccess, onError })\n\n const { meterSourceTypes, isMeterSourceTypesLoading } = useMeterSourceTypes()\n const meterSourceTypeOptions = useOptions(\n meterSourceTypes,\n ({ name, id }) => ({\n label: name,\n value: id,\n })\n )\n\n const { energyAllocators, isEnergyAllocatorsLoading } = useEnergyAllocators()\n const energyAllocatorOptions = useOptions(\n energyAllocators,\n ({ name, id }) => ({\n label: name,\n value: id,\n })\n )\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // TODO: Refactor logic in order to allow type Partial\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const attributes = {\n ...newAttributes,\n billingGroupId: parentObjectIds.billingGroupId,\n siteId: parentObjectIds.siteId,\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n createOneMeter(null, attributes)\n onClose()\n },\n [onClose]\n )\n\n const form = useTamForm({\n schema,\n })\n\n const meterSourceTypeSelection = form.watch(\"meterSourceTypeId\")\n\n useEffect(() => {\n if (\n meterSourceTypeSelection === \"1\" &&\n !form.getValues(\"energyAllocatorId\")\n ) {\n form.setError(\"energyAllocatorId\", {\n message: \"Required for this meter source type\",\n })\n } else {\n form.clearErrors(\"energyAllocatorId\")\n }\n }, [form, meterSourceTypeSelection])\n\n if (isMeterSourceTypesLoading || isEnergyAllocatorsLoading) {\n return null\n }\n\n return (\n \n {/* This styling is needed since the actions will be part of the content */}\n \n {/* This styling is needed to provide space between the form and required text */}\n \n \n \n dataE2E=\"meter-name-input\"\n label=\"Meter Name\"\n name=\"name\"\n />\n \n \n \n \n dataE2E=\"meter-code-input\"\n label=\"Meter Code\"\n name=\"meterCode\"\n required\n />\n \n \n \n dataE2E=\"meter-provider-input\"\n label=\"Meter Provider\"\n name=\"meterProvider\"\n required\n />\n \n \n \n dataE2E=\"meter-type-input\"\n label=\"Meter Type\"\n name=\"meterType\"\n options={METER_TYPE_OPTIONS}\n required\n />\n \n \n \n dataE2E=\"energy-allocator-input\"\n label=\"Energy Allocator\"\n name=\"energyAllocatorId\"\n options={energyAllocatorOptions}\n required={meterSourceTypeSelection === \"1\"}\n />\n \n \n \n dataE2E=\"full-meter-input\"\n isNoDisabled\n label=\"Full Meter\"\n name=\"fullMeter\"\n required\n />\n \n \n \n dataE2E=\"meter-source-type-input\"\n label=\"Meter Source Type\"\n name=\"meterSourceTypeId\"\n options={meterSourceTypeOptions}\n required\n />\n \n \n \n dataE2E=\"net-meter-input\"\n label=\"Net Meter?\"\n name=\"isNetMeter\"\n required\n />\n \n \n \n dataE2E=\"on-site-generation-input\"\n label=\"On site generation?\"\n name=\"isOnSiteGeneration\"\n required\n />\n \n \n \n dataE2E=\"probe-meter-input\"\n label=\"Probe Meter?\"\n name=\"probeMeter\"\n required\n />\n \n \n \n \n dataE2E=\"meter-start-date-input\"\n label=\"Start Date\"\n name=\"startDate\"\n required\n />\n \n \n dataE2E=\"meter-end-date-input\"\n label=\"End Date\"\n name=\"endDate\"\n />\n \n \n \n \n *required\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewDialogMeterCreateContent\n","import { z } from \"zod\"\n\n// Used to determine if any address fields have been filled out\nconst emptyAddressSchema = z.object({\n addressLine1: z.null().or(z.undefined()),\n addressLine2: z.null().or(z.undefined()),\n city: z.null().or(z.undefined()),\n state: z.null().or(z.undefined()),\n country: z.null().or(z.undefined()),\n postalCode: z.null().or(z.undefined()),\n})\n\nexport const isAddressEmpty = (address: object) =>\n emptyAddressSchema.safeParse(address).success\n\nexport const schema = z\n .object({\n id: z.string().optional(),\n name: z.string().min(1, \"Required\"),\n currencyId: z.string().nullable().optional(),\n locationId: z.string().min(1, \"Required\"),\n notes: z.string().nullable().optional(),\n tariffMajor: z.coerce.number().nullable().optional(),\n yearBuilt: z.coerce.number().nullable().optional(),\n baCode: z.string().min(1, \"Required\"),\n electricityType: z.enum([\"direct_access\", \"bundled\"]).or(z.literal(\"\")),\n siteAlias: z.string().nullable().optional(),\n sqFt: z.coerce.number().nullable().optional(),\n granularity: z.string().nullable().optional(),\n address: z.object({\n address_line_1: z.string().nullable().optional(),\n address_line_2: z.string().nullable().optional(),\n city: z.string().nullable().optional(),\n state: z.string().nullable().optional(),\n country: z.string().nullable().optional(),\n postal_code: z.string().nullable().optional(),\n }),\n })\n .superRefine(({ address }, context) => {\n // If any address field has a value, we need to make sure that all required fields are present\n // If there are any missing, we add an error to the field(s)\n if (!isAddressEmpty(address)) {\n if (!address.address_line_1) {\n context.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Required\",\n path: [\"address\", \"address_line_1\"],\n })\n }\n if (!address.city) {\n context.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Required\",\n path: [\"address\", \"city\"],\n })\n }\n if (!address.postal_code) {\n context.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Required\",\n path: [\"address\", \"postal_code\"],\n })\n }\n if ([\"US\", \"CA\"].includes(address.country) && !address.state) {\n context.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"Required\",\n path: [\"address\", \"state\"],\n })\n }\n }\n })\n\nexport type Site = z.infer\n","import React, { useCallback, useEffect, useState } from \"react\"\n\nimport { useCountryOptions } from \"@/nzds/utils\"\nimport { State } from \"country-state-city\"\n\nimport { Divider, Grid, Typography } from \"@mui/material\"\n\nimport {\n CancelButton,\n CreateEntityButton,\n useOptions,\n} from \"../../../../../../../components/form\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../../models/typography\"\nimport { useForm } from \"../../../../../../../nzds/forms/use-form/use-form\"\nimport {\n useBaCodes,\n useCreateSiteWithAddress,\n useCurrencies,\n useLocations,\n} from \"../../../../../../../services\"\nimport type { OrgViewDialogCreateContentProps } from \"../../../../../models/onboarding/onboarding\"\nimport { ELECTRICITY_TYPE_OPTIONS } from \"../../../../../models/onboarding/onboarding\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { TamForm, useTamForm } from \"../../../../tamForm\"\nimport {\n TamFormSelectField,\n TamFormTextField,\n} from \"../../../../tamForm/formFields\"\nimport type { Site } from \"../../../../tamForm/schemas/site\"\nimport { isAddressEmpty, schema } from \"../../../../tamForm/schemas/site\"\n\nconst OrgViewDialogSiteCreateContent = ({\n objectName,\n parentObjectIds,\n onClose,\n onSuccess,\n onError,\n}: OrgViewDialogCreateContentProps): JSX.Element => {\n const { createOneSite } = useCreateSiteWithAddress({\n onSuccess,\n onError,\n })\n\n const [stateOptions, setStateOptions] = useState([])\n\n const countryOptions = useCountryOptions()\n\n const { currencies, isCurrenciesLoading } = useCurrencies()\n const currencyOptions = useOptions(currencies, ({ name, alphaCode, id }) => ({\n label: `${name} (${alphaCode})`,\n value: id,\n }))\n\n const { locations, isLocationsLoading } = useLocations()\n const locationOptions = useOptions(locations, ({ name, id }) => ({\n label: name,\n value: id,\n }))\n\n const { baCodes, isBaCodesLoading } = useBaCodes()\n const baCodeOptions = useOptions(\n baCodes,\n ({ name }) => ({\n label: name,\n value: name,\n }),\n null\n )\n\n const handleFormSubmit = (newAttributes) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { address, currencyId, ...rest } = newAttributes\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const currency = currencies.find(({ id }) => id === currencyId)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const attributes = {\n ...rest,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument\n address: isAddressEmpty(address) ? null : address,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n currency,\n organizationId: parentObjectIds.organizationId,\n departmentId: parentObjectIds.departmentId ?? null,\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n createOneSite(null, attributes)\n onClose()\n }\n\n const form = useForm({\n schema,\n mode: \"all\",\n reValidateMode: \"onChange\",\n })\n\n const addressDirty = form.getFieldState(\"address\").isDirty\n const watchCountry = form.watch(\"address.country\")\n const countryIsUSOrCA = [\"US\", \"CA\"].includes(watchCountry)\n\n const filterStatesAndProvinces = useCallback(\n (country: string) => {\n const states = State.getStatesOfCountry(country)?.map(\n ({ name, isoCode }) => ({\n label: name,\n value: isoCode,\n })\n )\n // Filters out minor territories which conveniently have an ISO code of 3 or more characters.\n if (countryIsUSOrCA) {\n return states.filter(({ value }) => value.length === 2)\n }\n return states\n },\n [countryIsUSOrCA]\n )\n\n // This effect updates the state select field options when the country changes.\n // If there is a selected state that is not in the new list of states, it is\n // reset to null.\n useEffect(() => {\n if (!watchCountry) {\n return\n }\n const selectedState = form.getValues(\"address.state\")\n const states = filterStatesAndProvinces(watchCountry)\n setStateOptions(states)\n\n if (\n selectedState &&\n !states?.find(({ value }) => value === selectedState)\n ) {\n form.resetField(\"address.state\", { defaultValue: \"\" })\n }\n }, [watchCountry, form, filterStatesAndProvinces])\n\n if (isCurrenciesLoading || isLocationsLoading || isBaCodesLoading) {\n return null\n }\n\n return (\n \n {/* This styling is needed since the actions will be part of the content */}\n \n {/* This styling is needed to provide space between the form and required text */}\n \n \n \n dataE2E=\"site-name-input\"\n label=\"Site Name\"\n name=\"name\"\n required\n />\n \n \n \n dataE2E=\"site-location-input\"\n label=\"Location\"\n name=\"locationId\"\n options={locationOptions}\n required\n />\n \n\n \n \n dataE2E=\"site-alias-input\"\n label=\"Site Alias\"\n name=\"siteAlias\"\n />\n \n\n \n \n dataE2E=\"ba-code-input\"\n label=\"BA Code\"\n name=\"baCode\"\n options={baCodeOptions}\n required\n />\n \n \n \n dataE2E=\"electricity-type-input\"\n label=\"Electricity\"\n name=\"electricityType\"\n options={ELECTRICITY_TYPE_OPTIONS}\n required\n />\n \n \n {/* [Leaving space here for sinks and nodes.] */}\n \n \n \n dataE2E=\"currency-input\"\n label=\"Currency\"\n name=\"currencyId\"\n options={currencyOptions}\n />\n \n \n \n dataE2E=\"tariff-major-input\"\n label=\"Tariff Major\"\n name=\"tariffMajor\"\n />\n \n \n \n dataE2E=\"year-built-input\"\n label=\"Year Built\"\n name=\"yearBuilt\"\n />\n \n \n label=\"Square Feet\" name=\"sqFt\" />\n \n \n \n dataE2E=\"notes-input\"\n label=\"Notes\"\n name=\"notes\"\n />\n \n \n \n \n \n Address (Optional)\n \n \n \n dataE2E=\"site-country-input\"\n label=\"Country\"\n name=\"address.country\"\n options={countryOptions}\n required={addressDirty}\n />\n \n \n \n dataE2E=\"address-line1-input\"\n label=\"Site Address Line 1\"\n name=\"address.address_line_1\"\n required={addressDirty}\n />\n \n \n \n dataE2E=\"address-line2-input\"\n label=\"Site Address Line 2\"\n name=\"address.address_line_2\"\n />\n \n\n \n \n dataE2E=\"site-city-input\"\n label=\"City\"\n name=\"address.city\"\n required={addressDirty}\n />\n \n \n \n dataE2E=\"site-state-input\"\n label=\"State\"\n name=\"address.state\"\n options={stateOptions}\n required={addressDirty && countryIsUSOrCA}\n />\n \n \n \n dataE2E=\"site-postal-input\"\n label=\"Postal Code\"\n name=\"address.postal_code\"\n required={addressDirty}\n />\n \n \n \n *required\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewDialogSiteCreateContent\n","import type { UseDeleteEntityOptions } from \"@/services/types\"\n\nimport type { IBillingGroupCounts } from \"../../../../models/billingGroup\"\nimport type { IDepartmentCounts } from \"../../../../models/department\"\nimport type { IMeterCounts } from \"../../../../models/meter\"\nimport type { IOrganizationCounts } from \"../../../../models/organization\"\nimport { DeveloperAdminPath, RootPath } from \"../../../../models/route\"\nimport type { ISiteCounts } from \"../../../../models/site\"\nimport type { ITableColumn, ITableRow } from \"../../../../models/table\"\nimport {\n useDeleteBillingGroup,\n useDeleteDepartment,\n useDeleteMeter,\n useDeleteSite,\n} from \"../../../../services\"\nimport OrgViewDialogBillingGroupCreateContent from \"../../components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogBillingGroupCreateContent/orgViewDialogBillingGroupCreateContent\"\nimport OrgViewDialogDepartmentCreateContent from \"../../components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogDepartmentCreateContent/orgViewDialogDepartmentCreateContent\"\nimport OrgViewDialogMeterCreateContent from \"../../components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogMeterCreateContent/orgViewDialogMeterCreateContent\"\nimport OrgViewDialogSiteCreateContent from \"../../components/tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogSiteCreateContent/orgViewDialogSiteCreateContent\"\n\nexport const NUMBER_OF_SKELETON_ROWS = 13\n\nexport const routeMatchPattern = \"/tam-admin/onboarding/:orgId\"\nexport const departmentRouteMatchPattern = `${routeMatchPattern}/department/:departmentId`\nexport const siteRouteMatchPattern = `${departmentRouteMatchPattern}/site/:siteId`\nexport const billingGroupRouteMatchPattern = `${siteRouteMatchPattern}/billing-group/:billingGroupId`\nexport const meterRouteMatchPattern = `${billingGroupRouteMatchPattern}/meter/:meterId`\n\n// Routes for Flexible Hierarchy\nexport const overviewMatchPattern = \"/tam-admin/onboarding/:orgId\"\nexport const organizeMatchPattern = `${overviewMatchPattern}/organize`\nexport const siteListMatchPattern = `${overviewMatchPattern}/sites`\nexport const siteDetailMatchPattern = `${siteListMatchPattern}/:siteId`\nexport const billingGroupDetailMatchPattern = `${siteDetailMatchPattern}/billing-group/:billingGroupId`\nexport const meterDetailMatchPattern = `${billingGroupDetailMatchPattern}/meter/:meterId`\n\nexport enum LIST_ITEM_NAME_PROPERTY {\n GroupName = \"groupName\",\n MeterCode = \"meterCode\",\n Name = \"name\",\n}\n\nexport interface IOrgViewDisplayCount {\n href?: string\n key: keyof TCount\n name: string\n order: number\n value: number\n}\n\nexport interface IOrgViewListContent {\n groupName?: string\n // id must be optional at this time because we're using Spraypaint models that have optional ids\n id?: string\n meterCode?: string\n name?: string\n}\n\nexport type ParentObjectIds = Partial<\n Record<\n \"billingGroupId\" | \"departmentId\" | \"organizationId\" | \"siteId\",\n string\n >\n>\n\nexport interface OrgViewDialogCreateContentProps {\n objectName: string\n onClose: () => void\n onError: (errorMessage: string) => void\n onSuccess: (navigatePath: string) => void\n parentObjectIds: ParentObjectIds\n}\n\nexport enum OrgViewDialogEntity {\n BillingGroup = \"Billing Group\",\n Department = \"Department\",\n Meter = \"Meter\",\n Site = \"Site\",\n}\n\nexport const METER_TYPE_OPTIONS = [\"AMI\", \"AMR\"]\n\nexport const OrgViewDialogCreateContent: Record<\n string,\n (OrgViewDialogCreateContent: OrgViewDialogCreateContentProps) => JSX.Element\n> = {\n [OrgViewDialogEntity.BillingGroup]: OrgViewDialogBillingGroupCreateContent,\n [OrgViewDialogEntity.Department]: OrgViewDialogDepartmentCreateContent,\n [OrgViewDialogEntity.Site]: OrgViewDialogSiteCreateContent,\n [OrgViewDialogEntity.Meter]: OrgViewDialogMeterCreateContent,\n}\n\n// TO-DO: Update return type when we properly use useMutationReturnHandle\nexport type OrgViewDialogDeleteAction = ({\n onSuccess,\n}: // Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nUseDeleteEntityOptions) => any\n\nexport const OrgViewDialogDeleteActions: Record<\n string,\n OrgViewDialogDeleteAction\n> = {\n [OrgViewDialogEntity.BillingGroup]: useDeleteBillingGroup,\n [OrgViewDialogEntity.Department]: useDeleteDepartment,\n [OrgViewDialogEntity.Meter]: useDeleteMeter,\n [OrgViewDialogEntity.Site]: useDeleteSite,\n}\n\n/**\n * @deprecated - This will eventually be\n * deleted when orgViewDetailEntityDeleteButton is fully implemented\n */\nexport interface OrgViewDetailDeleteEntityProps {\n canEntityBeDeleted: boolean\n entityId: string\n isButtonDisabled: boolean\n navLink: string\n onDeleteDialogClose: () => void\n onDeleteDialogOpen: (\n title: string,\n content: JSX.Element,\n actions: JSX.Element\n ) => void\n}\n\n// TO-DO: Add direct access when it can be created\nexport const ELECTRICITY_TYPE_OPTIONS = [{ label: \"Bundled\", value: \"bundled\" }]\n\nexport const GRANULARITY_OPTIONS = [\n { label: \"Monthly\", value: \"monthly\" },\n { label: \"Hourly\", value: \"hourly\" },\n { label: \"Mixed\", value: \"mixed\" },\n]\n\nexport const organizationDisplayCounts: IOrgViewDisplayCount[] =\n [\n {\n key: \"organizationalUnits\",\n name: \"Organizational Units\",\n order: 0,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.Department}?organization_id=`,\n key: \"departments\",\n name: \"Departments\",\n order: 0,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.Site}?organization_id=`,\n key: \"sites\",\n name: \"Sites\",\n order: 1,\n value: NaN,\n },\n {\n key: \"billingGroups\",\n name: \"Billing Groups\",\n order: 2,\n value: NaN,\n },\n {\n key: \"meters\",\n name: \"Meters\",\n order: 3,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.OrganizationEmission}?organization_id=`,\n key: \"organizationEmissions\",\n name: \"Org Emissions\",\n order: 4,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.User}?organization_id=`,\n key: \"energyManagers\",\n name: \"Energy Managers\",\n order: 6,\n value: NaN,\n },\n ]\n\nexport const departmentDisplayCounts: IOrgViewDisplayCount[] =\n [\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.Site}?department_id=`,\n key: \"sites\",\n name: \"Sites\",\n order: 0,\n value: NaN,\n },\n ]\n\nexport const siteDisplayCounts: IOrgViewDisplayCount[] = [\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.Bill}?site_id=`,\n key: \"bills\",\n name: \"Bills\",\n order: 0,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.SiteEmission}?site_id=`,\n key: \"siteEmissions\",\n name: \"Site Emissions\",\n order: 1,\n value: NaN,\n },\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.BillingGroup}?site_id=`,\n key: \"billingGroups\",\n name: \"Billing Groups\",\n order: 2,\n value: NaN,\n },\n]\n\nexport const billingGroupDisplayCounts: IOrgViewDisplayCount[] =\n [\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.Meter}?billing_group_id=`,\n key: \"meters\",\n name: \"Meters\",\n order: 0,\n value: NaN,\n },\n ]\n\nexport const meterDisplayCounts: IOrgViewDisplayCount[] = [\n {\n href: `${RootPath.DeveloperAdmin}${DeveloperAdminPath.MeterHour}?meter_id=`,\n key: \"meterHours\",\n name: \"Meter Hours\",\n order: 0,\n value: NaN,\n },\n]\n\nexport enum TamAdminOrganizationsColumnKey {\n DateCreated = \"dateCreated\",\n DateUpdated = \"dateUpdated\",\n DemoOrganization = \"demoOrganization\",\n Id = \"id\",\n Locale = \"locale\",\n Name = \"name\",\n}\n\nexport interface ITamAdminOrganizationsTableRow extends ITableRow {\n dateCreated: string\n dateUpdated: string\n demoOrganization: boolean\n id: string\n locale: string\n name: string\n}\n\nexport const tamAdminOrganizationsColumns: ITableColumn[] =\n [\n {\n key: \"name\",\n title: \"Organization Name\",\n order: 1,\n id: 0,\n },\n {\n key: \"id\",\n title: \"Org ID\",\n order: 2,\n id: 1,\n },\n {\n key: \"locale\",\n title: \"Locale\",\n order: 3,\n id: 2,\n },\n {\n key: \"demoOrganization\",\n title: \"Demo Organization\",\n order: 4,\n id: 3,\n },\n {\n key: \"dateCreated\",\n title: \"Created (UTC)\",\n order: 5,\n id: 4,\n },\n {\n key: \"dateUpdated\",\n title: \"Updated (UTC)\",\n order: 6,\n id: 5,\n },\n ]\n","import type { Organization } from \"@/services/organization\"\n\nimport type { ITableColumn, ITableData } from \"../../../../models/table\"\nimport type {\n IOrgViewDisplayCount,\n ITamAdminOrganizationsTableRow,\n} from \"../../models/onboarding/onboarding\"\nimport { tamAdminOrganizationsColumns } from \"../../models/onboarding/onboarding\"\n\n/**\n * Converts the organization data into tabular data\n *\n * @param rowData - The organization data\n * @returns - Tabulated organization data\n * @example\n * convertOrganizationsToTabularData(Organization[])\n */\nexport const convertOrganizationsToTabularData = (\n rowData: Organization[]\n): ITableData => {\n const columns: ITableColumn[] =\n tamAdminOrganizationsColumns.map((col) => ({\n id: col.id,\n order: col.order,\n title: col.title,\n key: col.key,\n }))\n\n const rows: ITamAdminOrganizationsTableRow[] = rowData.map(\n (organization) => ({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n name: organization.name,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n id: organization.id,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n locale: organization.locale.name,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n demoOrganization: organization.demoOrganization,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated: organization.dateCreated,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated: organization.dateUpdated,\n })\n )\n\n return {\n columns,\n rows,\n }\n}\n\n/**\n * Converts the raw counts data to display counts\n *\n * @param counts - The counts to convert\n * @returns - The array of display counts\n * @example\n * convertToDisplayCounts({\n billingGroups: 1,\n departments: 2,\n meters: 4,\n organizationEmissions: 5,\n sites: 6,\n },\n organizationDisplayCounts)\n */\nexport const convertToDisplayCounts = (\n counts: TCounts,\n displayCounts: IOrgViewDisplayCount[]\n): IOrgViewDisplayCount[] => {\n if (!counts) {\n return []\n }\n return Object.entries(counts).map(([key, value]) => {\n const displayCount: IOrgViewDisplayCount | undefined =\n displayCounts.find((count) => count.key === key)\n\n return {\n ...displayCount,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n value: value ?? NaN,\n }\n })\n}\n\nexport default {\n convertOrganizationsToTabularData,\n convertToDisplayCounts,\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\ninterface OrgViewDetailFooterProps {\n children: React.ReactNode\n linkSection?: React.ReactNode\n}\n\nconst OrgViewDetailFooter: FC = ({\n children,\n linkSection,\n}) => (\n \n {linkSection}\n \n {children}\n \n \n)\n\nexport default OrgViewDetailFooter\n","import React, { useCallback, useEffect } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Grid, Stack } from \"@mui/material\"\n\nimport type { BillingGroup as BillingGroupModel } from \"../../../../../../services\"\nimport {\n useBillingGroup,\n useUpdateBillingGroup,\n} from \"../../../../../../services\"\nimport {\n TamForm,\n TamResetButton,\n TamSubmitButton,\n useTamForm,\n} from \"../../../tamForm\"\nimport { TamFormTextField } from \"../../../tamForm/formFields\"\nimport type { BillingGroup } from \"../../../tamForm/schemas/billingGroup\"\nimport { schema } from \"../../../tamForm/schemas/billingGroup\"\nimport OrgViewDetailFooter from \"../orgViewDetail/orgViewDetailFooter/orgViewDetailFooter\"\n\ninterface OrgViewBillingGroupDetailProps {\n billingGroupId: BillingGroupModel[\"id\"]\n linkSection: React.JSX.Element\n}\n\nconst OrgViewBillingGroupDetail = ({\n billingGroupId,\n linkSection,\n}: OrgViewBillingGroupDetailProps) => {\n const { billingGroup, isBillingGroupLoading } =\n useBillingGroup(billingGroupId)\n\n const {\n updateOneBillingGroup,\n isUpdateOneBillingGroupLoading,\n isUpdateOneBillingGroupSuccess,\n } = useUpdateBillingGroup()\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n updateOneBillingGroup(billingGroupId, newAttributes)\n },\n [billingGroupId, updateOneBillingGroup]\n )\n\n const form = useTamForm({ schema, values: billingGroup })\n\n useEffect(() => {\n if (isUpdateOneBillingGroupSuccess) {\n form.reset({}, { keepValues: true })\n }\n }, [form, isUpdateOneBillingGroupSuccess])\n\n if (isBillingGroupLoading) {\n return null\n }\n\n return (\n \n \n \n \n \n \n dataE2E=\"billing-group-name-input\"\n label=\"Billing Group Name\"\n name=\"groupName\"\n />\n \n \n \n dataE2E=\"billing-group-id-input\"\n disabled\n label=\"ID\"\n name=\"id\"\n readOnly\n />\n \n \n\n \n \n \n dataE2E=\"billing-group-alias-input\"\n label=\"Billing Group Alias\"\n name=\"alias\"\n />\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewBillingGroupDetail\n","import React from \"react\"\n\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\"\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n IconButton,\n Stack,\n Typography,\n} from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../models/typography\"\n\ninterface OrgViewDeleteDialogProps {\n actions: JSX.Element\n content: JSX.Element\n onClose: () => void\n open: boolean\n title: string\n}\n\nconst OrgViewDeleteDialog = ({\n open,\n title,\n onClose,\n content,\n actions,\n}: OrgViewDeleteDialogProps): JSX.Element => (\n \n \n \n {title}\n \n \n \n \n \n {content}\n {actions}\n \n)\n\nexport default OrgViewDeleteDialog\n","import React from \"react\"\n\nimport MoreVertRoundedIcon from \"@mui/icons-material/MoreVertRounded\"\nimport OpenInNewRoundedIcon from \"@mui/icons-material/OpenInNewRounded\"\nimport { useTheme } from \"@mui/material\"\nimport IconButton from \"@mui/material/IconButton\"\nimport ListItemText from \"@mui/material/ListItemText\"\nimport Menu from \"@mui/material/Menu\"\nimport MenuItem from \"@mui/material/MenuItem\"\n\nimport type { OrgViewDetailMenuButtonProps } from \"./types\"\n\nexport const OrgViewDetailMenuButton = ({\n datUrl,\n deleteButton,\n webAppUrl,\n}: OrgViewDetailMenuButtonProps) => {\n const theme = useTheme()\n\n const [anchorEl, setAnchorEl] = React.useState(null)\n const open = Boolean(anchorEl)\n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return (\n <>\n \n \n \n\n \n {deleteButton}\n\n {webAppUrl ? (\n \n \n View in web-app\n \n ) : null}\n\n \n \n View in DAT\n \n \n \n )\n}\n","import React from \"react\"\n\nimport moment from \"moment\"\n\nimport { Box } from \"@mui/material\"\nimport Stack from \"@mui/material/Stack\"\nimport Typography from \"@mui/material/Typography\"\n\nimport { DateDisplay } from \"../../../../../../../components/date/dateDisplay/dateDisplay\"\nimport { convertDateStringDashesToSlashes } from \"../../../../../../../utils/date\"\nimport { OrgViewDetailMenuButton } from \"../orgViewDetailMenuButton/orgViewDetailMenuButton\"\nimport type { OrgViewDetailHeaderProps } from \"./types\"\n\nexport const OrgViewDetailHeader = ({\n dateCreated,\n dateUpdated,\n createButton,\n deleteButton,\n datUrl,\n webAppUrl,\n}: OrgViewDetailHeaderProps) => (\n \n \n \n \n Created: \n {dateCreated ? (\n \n ) : null}\n \n   /  \n \n Updated: \n {dateUpdated ? (\n \n ) : null}\n \n \n \n {createButton}\n \n \n \n \n)\n","import type { ReactNode } from \"react\"\nimport React from \"react\"\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Box, Stack } from \"@mui/material\"\n\nimport { OrgViewDetailHeader } from \"./orgViewDetailHeader/orgViewDetailHeader\"\n\ninterface IOrgViewDetailProps {\n children: ReactNode\n createButton?: React.JSX.Element\n datUrl: string\n dateCreated: string\n dateUpdated: string\n deleteButton?: React.JSX.Element\n entityName: string\n webAppUrl?: string\n}\n\nconst OrgViewDetail = ({\n children,\n dateCreated,\n dateUpdated,\n datUrl,\n entityName,\n createButton,\n deleteButton,\n webAppUrl,\n}: IOrgViewDetailProps) => (\n \n \n {children}\n \n)\n\nexport default OrgViewDetail\n","import React from \"react\"\nimport { useNavigate } from \"react-router-dom\"\n\nimport { capitalize } from \"lodash-es\"\n\nimport AddRoundedIcon from \"@mui/icons-material/AddRounded\"\nimport { Box, Button, Typography } from \"@mui/material\"\n\nimport type { ParentObjectIds } from \"../../../../../models/onboarding/onboarding\"\nimport { OrgViewDialogCreateContent } from \"../../../../../models/onboarding/onboarding\"\n\ninterface OrgViewDetailCreateButtonProps {\n createObjectName: string\n onDialogClose: () => void\n onDialogOpen: (\n title: string,\n content: JSX.Element,\n actions?: JSX.Element\n ) => void\n parentObjectIds: ParentObjectIds\n // TO-DO: Make this permanent when all create buttons are converted to use this.\n redirectPath?: string\n}\n\nconst OrgViewDetailCreateButton = ({\n createObjectName,\n parentObjectIds,\n onDialogOpen,\n onDialogClose,\n redirectPath,\n}: OrgViewDetailCreateButtonProps): JSX.Element => {\n const navigate = useNavigate()\n\n const onSuccess = (newEntityId: string) => {\n navigate(`${redirectPath}/${newEntityId}`)\n }\n\n const OrgViewDialogCreateContentComponent =\n OrgViewDialogCreateContent[createObjectName]\n\n // TO-DO: Create proper error message system in the future.\n const onError = (errorMessage: string) => {\n onDialogOpen(\n `Could not create`,\n \n {capitalize(errorMessage)}\n \n \n \n \n )\n }\n\n return (\n {\n onDialogOpen(\n `Create ${createObjectName}`,\n \n )\n }}\n size=\"small\"\n startIcon={}\n variant=\"outlined\"\n >\n Create {createObjectName}\n \n )\n}\n\nexport default OrgViewDetailCreateButton\n","import { useMemo } from \"react\"\n\nimport { OrgViewDialogDeleteActions } from \"../../../../../../models/onboarding/onboarding\"\nimport type { UseEntityDeleteOptions, UseEntityDeleteValue } from \"../types\"\n\n/**\n * Returns an object with a deleteOne function for a particular entity.\n *\n * @param entityName\n * @param onSuccess\n * @param onError\n * @returns An object with the deleteOne function\n * @example\n * const { deleteOne } = useEntityDelete({\n * entityName: \"Organization\",\n * onSuccess: () => {\n * ...\n * },\n * onError: () => {\n * ...\n * })\n */\nconst useEntityDelete = ({\n entityName,\n onSuccess,\n onError,\n}: UseEntityDeleteOptions): UseEntityDeleteValue => {\n const useEntityDeleteAction = OrgViewDialogDeleteActions[entityName]\n const entityDeleteName = `deleteOne${entityName.replaceAll(\" \", \"\")}`\n // TO-DO: Properly type this\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const entityDelete = useEntityDeleteAction({ onSuccess, onError })\n return useMemo(\n () => ({\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n deleteOne: entityDelete[entityDeleteName],\n }),\n [entityDelete, entityDeleteName]\n )\n}\n\nexport default useEntityDelete\n","import React from \"react\"\nimport { useNavigate } from \"react-router-dom\"\n\nimport DeleteRoundedIcon from \"@mui/icons-material/DeleteRounded\"\nimport {\n Button,\n Divider,\n ListItemText,\n MenuItem,\n Typography,\n} from \"@mui/material\"\n\nimport useEntityDelete from \"./useEntityDelete/useEntityDelete\"\n\ninterface OrgViewDetailEntityDeleteButtonProps {\n canEntityBeDeleted: boolean\n entityId: string\n entityName: string\n isButtonDisabled: boolean\n navLink: string\n onDeleteDialogClose: () => void\n onDeleteDialogOpen: (\n title: string,\n content: React.JSX.Element,\n actions: React.JSX.Element\n ) => void\n}\n\nconst OrgViewDetailEntityDeleteButton = ({\n entityName,\n entityId,\n navLink,\n canEntityBeDeleted,\n isButtonDisabled,\n onDeleteDialogClose,\n onDeleteDialogOpen,\n}: OrgViewDetailEntityDeleteButtonProps): React.JSX.Element => {\n const lowerCasedEntityName = entityName.toLowerCase()\n\n const navigate = useNavigate()\n const onSuccess = () => {\n navigate(navLink, { replace: true })\n }\n\n const onError = () => {\n onDeleteDialogOpen(\n \"Could not delete\",\n \n Additional records are dependent on this {entityName.toLowerCase()}.\n ,\n \n )\n }\n\n const { deleteOne } = useEntityDelete({\n entityName,\n onSuccess,\n onError,\n })\n\n const onDelete = () => {\n onDeleteDialogClose()\n if (!canEntityBeDeleted) {\n onDeleteDialogOpen(\n \"Could not delete\",\n \n Additional records are dependent on this {lowerCasedEntityName}.\n ,\n \n )\n } else {\n deleteOne(entityId)\n }\n }\n\n const dialogTitle = `Delete ${entityName}`\n const dialogContent = (\n \n Are you sure you want to delete this {lowerCasedEntityName}? This action\n cannot be undone.\n \n )\n const dialogActions = (\n <>\n \n \n \n )\n\n return (\n <>\n {\n onDeleteDialogOpen(dialogTitle, dialogContent, dialogActions)\n }}\n role=\"menuitem\"\n sx={{\n py: (theme) => theme.typography.pxToRem(4),\n px: (theme) => theme.typography.pxToRem(8),\n }}\n >\n theme.palette.error.main,\n mr: (theme) => theme.typography.pxToRem(8),\n }}\n />\n theme.palette.error.dark }}>\n Delete {entityName}\n \n \n \n \n )\n}\n\nexport default OrgViewDetailEntityDeleteButton\n","import type { Key } from \"react\"\nimport React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Link } from \"@mui/material\"\n\nimport { getDataE2EAttribute } from \"../../../../../../utils/e2e\"\nimport type { IOrgViewDisplayCount } from \"../../../../models/onboarding/onboarding\"\n\ninterface IOrgViewLinkSectionProps {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n counts: IOrgViewDisplayCount[]\n id: string\n}\n\nconst OrgViewDetailLinkSection = ({\n counts,\n id,\n}: IOrgViewLinkSectionProps): JSX.Element => (\n \n {counts.map((count) => (\n \n {count?.name} {Number.isFinite(count?.value) && `(${count?.value})`}\n \n ))}\n \n)\n\nexport default OrgViewDetailLinkSection\n","import React from \"react\"\n\nimport CloseRoundedIcon from \"@mui/icons-material/CloseRounded\"\nimport {\n Dialog, // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n DialogActions,\n DialogContent,\n DialogTitle,\n IconButton,\n Stack,\n Typography,\n} from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../models/typography\"\n\ninterface OrgViewDialogProps {\n content: JSX.Element\n onClose: () => void\n open: boolean\n title: string\n}\n\nconst OrgViewDialog = ({\n open,\n title,\n onClose,\n content,\n}: OrgViewDialogProps): JSX.Element => (\n \n \n \n {title}\n \n \n \n \n \n {content}\n \n)\n\nexport default OrgViewDialog\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { useDialog } from \"@/services/dialog\"\nimport { isNil, sortBy } from \"lodash\"\n\nimport { Paper } from \"@mui/material\"\n\nimport {\n DeveloperAdminPath,\n RootPath,\n TamAdminPath,\n} from \"../../../../models/route\"\nimport type { BillingGroupCounts } from \"../../../../services\"\nimport {\n useBillingGroup,\n useBillingGroupCounts,\n useMeters,\n} from \"../../../../services\"\nimport type { IOrgViewDisplayCount } from \"../../models/onboarding/onboarding\"\nimport { billingGroupDisplayCounts } from \"../../models/onboarding/onboarding\"\nimport { convertToDisplayCounts } from \"../../util/onboarding/onboarding\"\nimport OrgViewBillingGroupDetail from \"../tamAdminOnboarding/orgView/orgViewBillingGroupDetail/orgViewBillingGroupDetail\"\nimport OrgViewDeleteDialog from \"../tamAdminOnboarding/orgView/orgViewDeleteDialog/orgViewDeleteDialog\"\nimport OrgViewDetail from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetail\"\nimport OrgViewDetailCreateButton from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailCreateButton/orgViewDetailCreateButton\"\nimport OrgViewDetailEntityDeleteButton from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailEntityDeleteButton/orgViewDetailEntityDeleteButton\"\nimport OrgViewDetailLinkSection from \"../tamAdminOnboarding/orgView/orgViewDetailLinkSection/orgViewDetailLinkSection\"\nimport OrgViewDialog from \"../tamAdminOnboarding/orgView/orgViewDialog/orgViewDialog\"\n\nexport const BillingGroupDetail: FC = () => {\n const params = useParams()\n const { siteId, orgId, billingGroupId } = params\n const { billingGroup } = useBillingGroup(billingGroupId)\n const { billingGroupCounts } = useBillingGroupCounts(billingGroupId)\n\n const currentBillingGroupDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(\n billingGroupCounts,\n billingGroupDisplayCounts\n ),\n \"order\"\n ),\n [billingGroupCounts]\n )\n\n const { meters, isMetersLoading } = useMeters({\n sort: { key: \"meterCode\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n where: {\n billing_group_id: billingGroupId,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any,\n disabled: isNil(billingGroupId),\n })\n const {\n onDialogOpen: onCreateDialogOpen,\n onDialogClose: onCreateDialogClose,\n dialogTitle: createDialogTitle,\n dialogContent: createDialogContent,\n isDialogOpen: isCreateDialogOpen,\n } = useDialog()\n\n const {\n onDialogOpen: onDeleteDialogOpen,\n onDialogClose: onDeleteDialogClose,\n dialogActions: deleteDialogActions,\n dialogContent: deleteDialogContent,\n dialogTitle: deleteDialogTitle,\n isDialogOpen: isDeleteDialogOpen,\n } = useDialog()\n\n const canEntityBeDeleted = (numberOfChildObjects: number) =>\n !numberOfChildObjects\n\n return (\n <>\n theme.typography.pxToRem(24),\n }}\n variant=\"outlined\"\n >\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={billingGroup?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={billingGroup?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.BillingGroup}/${billingGroup?.id}`}\n deleteButton={\n \n }\n entityName=\"Billing Group\"\n >\n \n }\n />\n \n \n \n \n \n )\n}\n","import React, { useCallback, useEffect } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Grid, TextField as TextFieldMUI } from \"@mui/material\"\nimport { useTheme } from \"@mui/material/styles\"\n\nimport { useOptions } from \"../../../../../../components/form\"\nimport { FieldWrapper } from \"../../../../../../components/form/fieldWrapper\"\nimport type { Meter as MeterModel } from \"../../../../../../services\"\nimport {\n useEnergyAllocators,\n useMeter,\n useMeterSourceTypes,\n useUpdateMeter,\n} from \"../../../../../../services\"\nimport { METER_TYPE_OPTIONS } from \"../../../../models/onboarding/onboarding\"\nimport {\n TamForm,\n TamResetButton,\n TamSubmitButton,\n useTamForm,\n} from \"../../../tamForm\"\nimport {\n TamFormDateTimePicker,\n TamFormSelectField,\n TamFormTextField,\n TamFormYesNoField,\n} from \"../../../tamForm/formFields\"\nimport type { Meter } from \"../../../tamForm/schemas/meter\"\nimport { schema } from \"../../../tamForm/schemas/meter\"\nimport OrgViewDetailFooter from \"../orgViewDetail/orgViewDetailFooter/orgViewDetailFooter\"\n\ninterface OrgViewMeterDetailProps {\n linkSection: React.JSX.Element\n meterId: MeterModel[\"id\"]\n}\n\nconst OrgViewMeterDetail = ({\n meterId,\n linkSection,\n}: OrgViewMeterDetailProps) => {\n const theme = useTheme()\n const { meter, isMeterLoading } = useMeter(meterId)\n const { updateOneMeter, isUpdateOneMeterLoading, isUpdateOneMeterSuccess } =\n useUpdateMeter()\n const { meterSourceTypes, isMeterSourceTypesLoading } = useMeterSourceTypes()\n\n const hasChildMeters = meter?.childMeterNamesAndIds?.length > 0\n\n const meterSourceTypeOptions = useOptions(\n meterSourceTypes,\n ({ name, id }) => ({\n label: name,\n value: id,\n })\n )\n\n const { energyAllocators, isEnergyAllocatorsLoading } = useEnergyAllocators()\n const energyAllocatorOptions = useOptions(\n energyAllocators,\n ({ name, id }) => ({\n label: name,\n value: id,\n })\n )\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n updateOneMeter(meterId, newAttributes)\n },\n [meterId, updateOneMeter]\n )\n const form = useTamForm({ schema, values: meter })\n\n useEffect(() => {\n if (isUpdateOneMeterSuccess) {\n form.reset({}, { keepValues: true })\n }\n }, [form, isUpdateOneMeterSuccess])\n\n if (\n isMeterSourceTypesLoading ||\n isMeterLoading ||\n isEnergyAllocatorsLoading\n ) {\n return null\n }\n\n return (\n \n \n \n \n \n \n dataE2E=\"meter-name-input\"\n label=\"Meter Name\"\n name=\"name\"\n />\n \n \n \n dataE2E=\"meter-id-input\"\n disabled\n label=\"ID\"\n name=\"id\"\n readOnly\n />\n \n \n \n dataE2E=\"meter-status-input\"\n disabled\n label=\"Meter Status\"\n name=\"meterStatus\"\n readOnly\n />\n \n \n\n \n \n \n dataE2E=\"meter-code-input\"\n label=\"Meter Code\"\n name=\"meterCode\"\n />\n \n \n \n dataE2E=\"meter-provider-input\"\n label=\"Meter Provider\"\n name=\"meterProvider\"\n />\n \n \n \n dataE2E=\"meter-type-input\"\n label=\"Meter Type\"\n name=\"meterType\"\n options={METER_TYPE_OPTIONS}\n />\n \n \n\n \n \n \n dataE2E=\"energy-allocator-input\"\n label=\"Energy Allocator\"\n name=\"energyAllocatorId\"\n options={energyAllocatorOptions}\n />\n \n {/* TO-DO: Remove readOnly when we better understand full meters */}\n \n \n dataE2E=\"full-meter-input\"\n disabled\n label=\"Full Meter\"\n name=\"fullMeter\"\n readOnly\n />\n \n {/* TO-DO: Remove readonly when we fix energy allocator relationship issue. */}\n \n \n disabled\n label=\"Meter Source Type\"\n name=\"meterSourceTypeId\"\n options={meterSourceTypeOptions}\n readOnly\n />\n \n \n\n \n \n \n dataE2E=\"net-meter-input\"\n label=\"Net Meter?\"\n name=\"isNetMeter\"\n />\n \n \n \n dataE2E=\"on-site-generation-input\"\n label=\"On site generation?\"\n name=\"isOnSiteGeneration\"\n />\n \n \n \n dataE2E=\"probe-meter-input\"\n label=\"Probe Meter?\"\n name=\"probeMeter\"\n />\n \n {/* TO-DO: Rework this field when child meters is running properly */}\n \n \n \n \n \n \n\n \n \n \n \n dataE2E=\"meter-start-date-input\"\n label=\"Start Date\"\n name=\"startDate\"\n />\n \n \n dataE2E=\"meter-end-date-input\"\n label=\"End Date\"\n name=\"endDate\"\n />\n
    \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewMeterDetail\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { useDialog } from \"@/services/dialog\"\nimport { sortBy } from \"lodash\"\n\nimport { Paper } from \"@mui/material\"\n\nimport {\n DeveloperAdminPath,\n RootPath,\n TamAdminPath,\n} from \"../../../../models/route\"\nimport type { MeterCounts } from \"../../../../services\"\nimport { useMeter, useMeterCounts } from \"../../../../services\"\nimport type { IOrgViewDisplayCount } from \"../../models/onboarding/onboarding\"\nimport { meterDisplayCounts } from \"../../models/onboarding/onboarding\"\nimport { convertToDisplayCounts } from \"../../util/onboarding/onboarding\"\nimport OrgViewDeleteDialog from \"../tamAdminOnboarding/orgView/orgViewDeleteDialog/orgViewDeleteDialog\"\nimport OrgViewDetail from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetail\"\nimport OrgViewDetailEntityDeleteButton from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailEntityDeleteButton/orgViewDetailEntityDeleteButton\"\nimport OrgViewDetailLinkSection from \"../tamAdminOnboarding/orgView/orgViewDetailLinkSection/orgViewDetailLinkSection\"\nimport OrgViewMeterDetail from \"../tamAdminOnboarding/orgView/orgViewMeterDetail/orgViewMeterDetail\"\n\nexport const MeterDetail: FC = () => {\n const params = useParams()\n const { siteId, orgId, billingGroupId, meterId } = params\n const { meter, isMeterLoading } = useMeter(meterId)\n\n const { meterCounts } = useMeterCounts(meterId)\n\n const currentMeterDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(meterCounts, meterDisplayCounts),\n \"order\"\n ),\n [meterCounts]\n )\n\n const {\n onDialogClose,\n onDialogOpen,\n isDialogOpen,\n dialogActions,\n dialogContent,\n dialogTitle,\n } = useDialog()\n\n const canEntityBeDeleted = (numberOfChildObjects: number) =>\n !numberOfChildObjects\n\n return (\n <>\n theme.typography.pxToRem(24),\n }}\n variant=\"outlined\"\n >\n \n }\n entityName=\"Meter\"\n >\n \n }\n meterId={meterId}\n />\n \n \n \n \n )\n}\n","import React, { useCallback, useEffect, useMemo, useState } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { useCountryOptions } from \"@/nzds/utils\"\nimport { useBaCodes } from \"@/services/baCode\"\nimport { useCurrencies } from \"@/services/currency\"\nimport { useLocations } from \"@/services/location\"\nimport { useUpdateSiteWithAddress } from \"@/services/site/useUpdateSite\"\nimport { State } from \"country-state-city\"\n\nimport { Divider, Grid, Typography } from \"@mui/material\"\n\nimport { useOptions } from \"../../../../../../components/form\"\nimport { useForm } from \"../../../../../../nzds/forms/use-form/use-form\"\nimport type { Site as SiteModel } from \"../../../../../../services\"\nimport { useSite } from \"../../../../../../services\"\nimport { TamForm, TamResetButton, TamSubmitButton } from \"../../../tamForm\"\nimport {\n TamFormSelectField,\n TamFormTextField,\n} from \"../../../tamForm/formFields\"\nimport type { Site } from \"../../../tamForm/schemas/site\"\nimport { isAddressEmpty, schema } from \"../../../tamForm/schemas/site\"\nimport OrgViewDetailFooter from \"../orgViewDetail/orgViewDetailFooter/orgViewDetailFooter\"\n\ninterface OrgViewSiteDetailProps {\n linkSection: React.JSX.Element\n siteId: SiteModel[\"id\"]\n}\n\nconst OrgViewSiteDetail = ({ siteId, linkSection }: OrgViewSiteDetailProps) => {\n const { site, isSiteLoading } = useSite(siteId)\n const { updateOneSite, isUpdateOneSiteLoading, isUpdateOneSiteSuccess } =\n useUpdateSiteWithAddress()\n\n const { currencies, isCurrenciesLoading } = useCurrencies()\n const currencyOptions = useOptions(currencies, ({ name, alphaCode, id }) => ({\n label: `${name} (${alphaCode})`,\n value: id,\n }))\n\n const countryOptions = useCountryOptions()\n\n const [stateOptions, setStateOptions] = useState([])\n\n const { locations, isLocationsLoading } = useLocations()\n const locationOptions = useOptions(locations, ({ name, id }) => ({\n label: name,\n value: id,\n }))\n\n const { baCodes, isBaCodesLoading } = useBaCodes()\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const baCodeOptions = useOptions(\n baCodes,\n ({ name, id }) => ({\n label: name,\n value: id,\n }),\n null\n )\n\n const electricityTypeDisplayName: string = useMemo(() => {\n if (site?.electricityType === \"bundled\") {\n return \"Bundled\"\n }\n if (site?.electricityType === \"direct_access\") {\n return \"Direct Access\"\n }\n return \"\"\n }, [site?.electricityType])\n\n const handleFormSubmit = (newAttributes) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const { address, ...rest } = newAttributes\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const currency = currencies.find(({ id }) => id === rest.currencyId)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const attributes = {\n ...rest,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n currency,\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument\n address: isAddressEmpty(address) ? null : address,\n }\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n updateOneSite(siteId, attributes)\n }\n\n const form = useForm({\n schema,\n values: site as unknown as Site,\n mode: \"all\",\n reValidateMode: \"onChange\",\n })\n\n const addressDirty = form.getFieldState(\"address\").isDirty\n const watchCountry = form.watch(\"address.country\")\n const countryIsUSOrCA = [\"US\", \"CA\"].includes(watchCountry)\n\n const filterStatesAndProvinces = useCallback(\n (country: string) => {\n const states = State.getStatesOfCountry(country)?.map(\n ({ name, isoCode }) => ({\n label: name,\n value: isoCode,\n })\n )\n // Filters out minor territories which conveniently have an ISO code of 3 or more characters.\n if (countryIsUSOrCA) {\n return states.filter(({ value }) => value.length === 2)\n }\n return states\n },\n [countryIsUSOrCA]\n )\n\n // This effect updates the state select field options when the country changes.\n // If there is a selected state that is not in the new list of states, it is\n // reset to null.\n useEffect(() => {\n if (!watchCountry) {\n return\n }\n const selectedState = form.getValues(\"address.state\")\n const states = filterStatesAndProvinces(watchCountry)\n setStateOptions(states)\n\n if (\n selectedState &&\n !states?.find(({ value }) => value === selectedState)\n ) {\n form.resetField(\"address.state\", { defaultValue: \"\" })\n }\n }, [watchCountry, form, filterStatesAndProvinces])\n\n useEffect(() => {\n if (isUpdateOneSiteSuccess) {\n form.reset({}, { keepValues: true })\n }\n }, [form, isUpdateOneSiteSuccess])\n\n if (\n isSiteLoading ||\n isCurrenciesLoading ||\n isLocationsLoading ||\n isBaCodesLoading\n ) {\n return null\n }\n\n return (\n \n \n \n \n \n \n dataE2E=\"site-name-input\"\n label=\"Site Name\"\n name=\"name\"\n />\n \n \n \n dataE2E=\"site-id-input\"\n disabled\n label=\"ID\"\n name=\"id\"\n readOnly\n />\n \n \n \n dataE2E=\"site-location-input\"\n label=\"Location\"\n name=\"locationId\"\n options={locationOptions}\n />\n \n \n\n \n \n \n dataE2E=\"site-alias-input\"\n label=\"Site Alias\"\n name=\"siteAlias\"\n />\n \n \n \n dataE2E=\"ba-code-input\"\n disabled\n label=\"BA Code\"\n name=\"baCode\"\n readOnly\n />\n \n \n\n \n \n \n capitalize\n dataE2E=\"electricity-type-input\"\n disabled\n label=\"Electricity\"\n name=\"electricityType\"\n readOnly\n value={electricityTypeDisplayName}\n />\n \n \n \n capitalize\n dataE2E=\"granularity-input\"\n disabled\n label=\"Granularity\"\n name=\"granularity\"\n readOnly\n />\n \n \n\n \n \n \n dataE2E=\"site-currency-input\"\n label=\"Currency\"\n name=\"currencyId\"\n options={currencyOptions}\n />\n \n \n \n dataE2E=\"tariff-major-input\"\n label=\"Tariff Major\"\n name=\"tariffMajor\"\n />\n \n \n \n dataE2E=\"year-built-input\"\n label=\"Year Built\"\n name=\"yearBuilt\"\n />\n \n \n \n dataE2E=\"square-feet-input\"\n label=\"Square Feet\"\n name=\"sqFt\"\n />\n \n \n\n \n \n \n dataE2E=\"notes-input\"\n label=\"Notes\"\n name=\"notes\"\n />\n \n \n\n \n \n \n \n Address (Optional)\n \n\n \n \n \n dataE2E=\"site-country-input\"\n label=\"Country\"\n name=\"address.country\"\n options={countryOptions}\n required={addressDirty}\n />\n \n \n \n dataE2E=\"address-line1-input\"\n label=\"Site Address Line 1\"\n name=\"address.address_line_1\"\n required={addressDirty}\n />\n \n \n \n dataE2E=\"address-line2-input\"\n label=\"Site Address Line 2\"\n name=\"address.address_line_2\"\n />\n \n \n\n \n \n \n dataE2E=\"site-city-input\"\n label=\"City\"\n name=\"address.city\"\n required={addressDirty}\n />\n \n \n \n dataE2E=\"site-state-input\"\n label=\"State\"\n name=\"address.state\"\n options={stateOptions}\n required={addressDirty && countryIsUSOrCA}\n />\n \n \n \n dataE2E=\"site-postal-input\"\n label=\"Postal Code\"\n name=\"address.postal_code\"\n />\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewSiteDetail\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { useDialog } from \"@/services/dialog\"\nimport { isNil, sortBy } from \"lodash\"\n\nimport { Paper } from \"@mui/material\"\n\nimport {\n DeveloperAdminPath,\n RootPath,\n TamAdminPath,\n} from \"../../../../models/route\"\nimport type { SiteCounts } from \"../../../../services\"\nimport { useBillingGroups, useSite, useSiteCounts } from \"../../../../services\"\nimport type { IOrgViewDisplayCount } from \"../../models/onboarding/onboarding\"\nimport { siteDisplayCounts } from \"../../models/onboarding/onboarding\"\nimport { convertToDisplayCounts } from \"../../util/onboarding/onboarding\"\nimport OrgViewDeleteDialog from \"../tamAdminOnboarding/orgView/orgViewDeleteDialog/orgViewDeleteDialog\"\nimport OrgViewDetail from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetail\"\nimport OrgViewDetailCreateButton from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailCreateButton/orgViewDetailCreateButton\"\nimport OrgViewDetailEntityDeleteButton from \"../tamAdminOnboarding/orgView/orgViewDetail/orgViewDetailEntityDeleteButton/orgViewDetailEntityDeleteButton\"\nimport OrgViewDetailLinkSection from \"../tamAdminOnboarding/orgView/orgViewDetailLinkSection/orgViewDetailLinkSection\"\nimport OrgViewDialog from \"../tamAdminOnboarding/orgView/orgViewDialog/orgViewDialog\"\nimport OrgViewSiteDetail from \"../tamAdminOnboarding/orgView/orgViewSiteDetail/orgViewSiteDetail\"\n\nexport const SiteDetail: FC = () => {\n const params = useParams()\n const { siteId, orgId } = params\n const { site } = useSite(siteId)\n const { siteCounts } = useSiteCounts(siteId)\n const { billingGroups, isBillingGroupsLoading } = useBillingGroups({\n sort: { key: \"groupName\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n where: { site_id: siteId } as any,\n disabled: isNil(siteId),\n })\n\n const currentSiteDisplayCounts: IOrgViewDisplayCount[] = useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(siteCounts, siteDisplayCounts),\n \"order\"\n ),\n [siteCounts]\n )\n\n const {\n onDialogOpen: onCreateDialogOpen,\n onDialogClose: onCreateDialogClose,\n dialogTitle: createDialogTitle,\n dialogContent: createDialogContent,\n isDialogOpen: isCreateDialogOpen,\n } = useDialog()\n\n const {\n onDialogOpen: onDeleteDialogOpen,\n onDialogClose: onDeleteDialogClose,\n dialogActions: deleteDialogActions,\n dialogContent: deleteDialogContent,\n dialogTitle: deleteDialogTitle,\n isDialogOpen: isDeleteDialogOpen,\n } = useDialog()\n\n const canEntityBeDeleted = (numberOfChildObjects: number) =>\n !numberOfChildObjects\n\n return (\n <>\n theme.typography.pxToRem(24),\n }}\n variant=\"outlined\"\n >\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={site?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={site?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.Site}/${site?.id}`}\n deleteButton={\n \n }\n entityName=\"Site\"\n webAppUrl={`/${orgId}/${RootPath.Site}/${site?.id}`}\n >\n \n }\n siteId={siteId}\n />\n \n \n\n \n \n \n )\n}\n","import type { FC } from \"react\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport React, { useEffect, useState } from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport ArrowBackIosNewIcon from \"@mui/icons-material/ArrowBackIosNew\"\nimport CorporateFareRoundedIcon from \"@mui/icons-material/CorporateFareRounded\"\nimport RoomIcon from \"@mui/icons-material/Room\"\nimport StorageRoundedIcon from \"@mui/icons-material/StorageRounded\"\nimport { Box, Button, Link, Stack, Tab, Tabs, Typography } from \"@mui/material\"\n\nimport { RootPath, TamAdminPath } from \"../../../../models/route\"\nimport { useTabIndex } from \"../../hooks/useTabIndex/useTabIndex\"\nimport type { TamAdminPageHeaderProps } from \"./tamAdminPageHeader.types\"\n\nexport const TamAdminPageHeader: FC = ({\n organizationId,\n organizationName,\n isFlexibleHierarchyEnabled,\n}) => {\n const tabIndex = useTabIndex()\n\n return isFlexibleHierarchyEnabled ? (\n \n \n }\n sx={{ padding: 0.75 }}\n to={`${RootPath.TamAdmin}${TamAdminPath.Onboarding}`}\n variant=\"text\"\n >\n All Organizations\n \n \n /\n \n {organizationName}\n \n \n \n }\n iconPosition=\"start\"\n label=\"Overview\"\n to={`${RootPath.TamAdmin}${TamAdminPath.Onboarding}/${organizationId}`}\n />\n }\n iconPosition=\"start\"\n label=\"Organize\"\n to={`${RootPath.TamAdmin}${TamAdminPath.Onboarding}/${organizationId}/organize`}\n />\n }\n iconPosition=\"start\"\n label=\"Sites\"\n to={`${RootPath.TamAdmin}${TamAdminPath.Onboarding}/${organizationId}/sites`}\n />\n \n \n \n ) : (\n <>\n \n }\n to={`${RootPath.TamAdmin}${TamAdminPath.Onboarding}`}\n >\n Back to Org Selection\n \n \n \n \n {organizationName}\n \n \n \n )\n}\n","import { useMemo } from \"react\"\nimport { matchPath, useLocation } from \"react-router-dom\"\n\nimport {\n billingGroupDetailMatchPattern,\n meterDetailMatchPattern,\n organizeMatchPattern,\n overviewMatchPattern,\n siteDetailMatchPattern,\n siteListMatchPattern,\n} from \"../../models/onboarding/onboarding\"\n\n/**\n *\n * Syncs the state of the nav tabs in `TamAdminPageHeader` with the current route\n * @returns 0 | 1 | 2\n */\nexport const useTabIndex = () => {\n const location = useLocation()\n\n const tabIndex = useMemo(() => {\n const tabPaths = [\n { path: overviewMatchPattern, index: 0 },\n { path: organizeMatchPattern, index: 1 },\n { path: siteListMatchPattern, index: 2 },\n { path: siteDetailMatchPattern, index: 2 },\n { path: billingGroupDetailMatchPattern, index: 2 },\n { path: meterDetailMatchPattern, index: 2 },\n ]\n const match = tabPaths.find(({ path }) =>\n matchPath(path, location.pathname)\n )\n return match?.index ?? 0\n }, [location.pathname])\n\n return tabIndex\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Outlet, useParams } from \"react-router-dom\"\n\nimport { Page404 } from \"@/components/nav/page404\"\nimport { useOrganization } from \"@/services/organization\"\n\nimport { Stack } from \"@mui/material\"\n\nimport { TamAdminPageHeader } from \"../../tamAdminPageHeader/tamAdminPageHeader\"\n\ninterface IOrgLayoutProps {\n isFlexibleHierarchyEnabled: boolean\n}\n\nexport const OrgLayout: FC = ({\n isFlexibleHierarchyEnabled,\n}) => {\n const params = useParams()\n const { orgId } = params\n const { organization } = useOrganization(orgId)\n\n return (\n <>\n {!organization && }\n {organization && (\n <>\n \n \n \n \n \n )}\n \n )\n}\n","import type { Dispatch, SetStateAction } from \"react\"\nimport React, { useState } from \"react\"\n\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport SearchIcon from \"@mui/icons-material/Search\"\nimport {\n Box,\n IconButton,\n InputAdornment,\n Stack,\n TextField,\n Typography,\n useTheme,\n} from \"@mui/material\"\n\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../models/typography\"\nimport { darkGray, lightGray } from \"../../../../../../utils/colors\"\nimport { pxToRem } from \"../../../../../../utils/unit\"\n\ninterface IOrgViewContainerProps {\n children?: JSX.Element\n dataE2e: string\n filterText: string\n isContentPresent: boolean\n setFilterText: Dispatch>\n title: string\n}\n\nconst OrgViewContainer = ({\n title,\n isContentPresent,\n filterText,\n setFilterText,\n children,\n dataE2e,\n}: IOrgViewContainerProps): JSX.Element => {\n const theme = useTheme()\n const [isSearchClicked, setIsSearchClicked] = useState(false)\n\n return (\n \n \n \n \n {title}\n \n {\n setIsSearchClicked(true)\n }}\n size=\"small\"\n sx={[\n { mt: pxToRem(8) },\n !isSearchClicked && {\n display: \"inline-flex\",\n },\n isSearchClicked && {\n display: \"none\",\n },\n ]}\n >\n \n \n \n \n \n \n ),\n endAdornment: (\n \n {\n setFilterText(\"\")\n }}\n >\n \n \n \n ),\n }}\n onChange={(e) => {\n setFilterText(e.target.value)\n }}\n sx={[\n {\n mt: pxToRem(4),\n mx: pxToRem(12),\n },\n isSearchClicked && {\n display: \"flex\",\n },\n !isSearchClicked && {\n display: \"none\",\n },\n ]}\n value={filterText}\n />\n \n {children}\n \n )\n}\nexport default OrgViewContainer\n","import React, { useCallback, useEffect } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Grid } from \"@mui/material\"\n\nimport type { Department as DepartmentModel } from \"../../../../../../services\"\nimport { useDepartment, useUpdateDepartment } from \"../../../../../../services\"\nimport {\n TamForm,\n TamResetButton,\n TamSubmitButton,\n useTamForm,\n} from \"../../../tamForm\"\nimport { TamFormTextField } from \"../../../tamForm/formFields\"\nimport type { Department } from \"../../../tamForm/schemas/department\"\nimport { schema } from \"../../../tamForm/schemas/department\"\nimport OrgViewDetailFooter from \"../orgViewDetail/orgViewDetailFooter/orgViewDetailFooter\"\n\ninterface OrgViewDepartmentDetailProps {\n departmentId: DepartmentModel[\"id\"]\n linkSection: React.JSX.Element\n}\n\nconst OrgViewDepartmentDetail = ({\n departmentId,\n linkSection,\n}: OrgViewDepartmentDetailProps) => {\n const { department, isDepartmentLoading } = useDepartment(departmentId)\n const {\n updateOneDepartment,\n isUpdateOneDepartmentLoading,\n isUpdateOneDepartmentSuccess,\n } = useUpdateDepartment()\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n updateOneDepartment(departmentId, newAttributes)\n },\n [departmentId, updateOneDepartment]\n )\n\n const form = useTamForm({ schema, values: department })\n\n useEffect(() => {\n if (isUpdateOneDepartmentSuccess) {\n form.reset({}, { keepValues: true })\n }\n }, [form, isUpdateOneDepartmentSuccess])\n\n if (isDepartmentLoading) {\n return null\n }\n\n return (\n \n \n \n \n \n \n dataE2E=\"department-name-input\"\n label=\"Department Name\"\n name=\"name\"\n />\n \n \n \n dataE2E=\"department-id-input\"\n disabled\n label=\"ID\"\n name=\"id\"\n readOnly\n />\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewDepartmentDetail\n","import React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport {\n List,\n ListItem,\n ListItemButton,\n ListItemText,\n Skeleton,\n useTheme,\n} from \"@mui/material\"\n\nimport {\n darkGray, // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n lightestTeal,\n offWhite,\n} from \"../../../../../../utils/colors\"\nimport { pxToRem } from \"../../../../../../utils/unit\"\nimport type { IOrgViewListContent } from \"../../../../models/onboarding/onboarding\"\nimport {\n LIST_ITEM_NAME_PROPERTY,\n NUMBER_OF_SKELETON_ROWS,\n} from \"../../../../models/onboarding/onboarding\"\n\ninterface IOrgViewListProps {\n content: TContent[]\n dataE2e: string\n isLoading: boolean\n nameProperty: LIST_ITEM_NAME_PROPERTY\n selectedItemId: string\n url: string\n}\n\nconst OrgViewList = ({\n content,\n isLoading,\n url,\n selectedItemId,\n nameProperty,\n dataE2e,\n}: IOrgViewListProps): JSX.Element => {\n const theme = useTheme()\n\n if (!isLoading && !content) {\n return null\n }\n const fixedContent = isLoading\n ? Array.from({ length: NUMBER_OF_SKELETON_ROWS }).map((_value, index) => ({\n id: index,\n }))\n : content\n return (\n \n {fixedContent.map((item, index) => {\n if (isLoading) {\n return (\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n \n \n \n )\n }\n\n return (\n \n \n {/* Mass lint disable */}\n {/* eslint-disable-next-line @typescript-eslint/no-unsafe-member-access */}\n {nameProperty === LIST_ITEM_NAME_PROPERTY.Name && item?.name}\n {nameProperty === LIST_ITEM_NAME_PROPERTY.GroupName &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n item?.groupName}\n {nameProperty === LIST_ITEM_NAME_PROPERTY.MeterCode &&\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n item?.meterCode}\n \n \n )\n })}\n \n )\n}\n\nexport default OrgViewList\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Locale from \"../../models/locale\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\n/**\n * The useLocales service/hook returns the available locales\n *\n * @returns The available locales\n * @example\n * const {\n * locales,\n * isLocalesFetched,\n * isLocalesLoading\n * } = useLocales()\n */\nexport const useLocales = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(Locale)\n\n const queryKey = useQueryKey(ApiQueryName.Locales, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useMemo } from \"react\"\nimport { useLocation } from \"react-router-dom\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { useOrganization } from \"@/services\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\n/**\n * Determines whether the flexible hierarchy feature flag is enabled for an organization.\n * @returns An object with the following properties:\n * - isLoading: A boolean indicating whether the organization is currently being loaded.\n * - isFlexibleHierarchyEnabled: Indicates whether flex hierarchy is enabled for the organization.\n * @remarks This hook should be removed when the feature flag is no longer needed.\n */\nexport const useIsFlexibleHierarchyEnabled = () => {\n const { organization: activeOrganization } = useOrganizationContext()\n // We get the currently selected organization from the URL because\n // we must know if the organization is using Flexible Hierarchy before\n // we construct the routes.\n const location = useLocation()\n // This approach is fragile, rework when it becomes a priority\n // /tam-admin/onboarding/:orgId\n const orgId = location.pathname.split(\"/\")[3] ?? activeOrganization.id\n\n const { organization, isOrganizationLoading } = useOrganization(orgId)\n const { isFeatureEnabled } = useFeature()\n\n const isFlexibleHierarchyEnabled = useMemo(\n () => isFeatureEnabled(FeatureFlags.OAT_FLEXIBLE_HIERARCHY, organization),\n [isFeatureEnabled, organization]\n )\n\n return { isLoading: isOrganizationLoading, isFlexibleHierarchyEnabled }\n}\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n name: z.string().min(1, \"Organization name is required\"),\n id: z.string().optional(),\n localeId: z.string().min(1, \"Required\"),\n notes: z.string().nullable().optional(),\n})\n\nexport type Organization = z.infer\n","import React, { useCallback, useEffect, useMemo } from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { useLocales } from \"@/services/locale/useLocales\"\nimport { sortBy } from \"lodash-es\"\n\nimport { Box, Grid, Link, Paper, Stack } from \"@mui/material\"\n\nimport { useOptions } from \"../../../../../../components/form/useOptions\"\nimport { If } from \"../../../../../../components/if/if\"\nimport type {\n OrganizationCounts,\n Organization as OrganizationModel,\n} from \"../../../../../../services\"\nimport {\n useOrganization,\n useOrganizationCounts,\n useUpdateOrganization,\n} from \"../../../../../../services\"\nimport { lightGray } from \"../../../../../../utils/colors\"\nimport { getDataE2EAttribute } from \"../../../../../../utils/e2e\"\nimport { useIsFlexibleHierarchyEnabled } from \"../../../../hooks/useIsFlexibleHierarchyEnabled/useIsFlexibleHierarchyEnabled\"\nimport type { IOrgViewDisplayCount } from \"../../../../models/onboarding/onboarding\"\nimport { organizationDisplayCounts } from \"../../../../models/onboarding/onboarding\"\nimport { convertToDisplayCounts } from \"../../../../util/onboarding/onboarding\"\nimport {\n TamForm,\n TamResetButton,\n TamSubmitButton,\n useTamForm,\n} from \"../../../tamForm\"\nimport {\n TamFormSelectField,\n TamFormTextField,\n} from \"../../../tamForm/formFields\"\nimport type { Organization } from \"../../../tamForm/schemas/organization\"\nimport { schema } from \"../../../tamForm/schemas/organization\"\nimport OrgViewDetailFooter from \"../orgViewDetail/orgViewDetailFooter/orgViewDetailFooter\"\n\ninterface OrgViewOrganizationDetailProps {\n organizationId: OrganizationModel[\"id\"]\n}\n\nconst OrgViewOrganizationDetail = ({\n organizationId,\n}: OrgViewOrganizationDetailProps) => {\n const { organization, isOrganizationLoading } =\n useOrganization(organizationId)\n const {\n updateOneOrganization,\n isUpdateOneOrganizationLoading,\n isUpdateOneOrganizationSuccess,\n } = useUpdateOrganization()\n const { organizationCounts, isOrganizationCountsLoading } =\n useOrganizationCounts(organizationId)\n\n const { isFlexibleHierarchyEnabled } = useIsFlexibleHierarchyEnabled()\n\n // TODO: Remove once flexible hierarchy is fully enabled\n if (isFlexibleHierarchyEnabled) {\n delete organizationCounts?.departments\n } else {\n delete organizationCounts?.organizationalUnits\n }\n\n const currentOrgDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(\n organizationCounts,\n organizationDisplayCounts\n ),\n \"order\"\n ),\n [organizationCounts]\n )\n\n const handleFormSubmit = useCallback(\n (newAttributes) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n updateOneOrganization(organizationId, newAttributes)\n },\n [organizationId, updateOneOrganization]\n )\n\n const { locales, isLocalesLoading } = useLocales()\n const localeOptions = useOptions(locales, ({ name, id }) => ({\n label: name,\n value: id,\n }))\n\n const form = useTamForm({ schema, values: organization })\n\n useEffect(() => {\n if (isUpdateOneOrganizationSuccess) {\n form.reset({}, { keepValues: true })\n }\n }, [form, isUpdateOneOrganizationSuccess])\n\n if (\n isOrganizationLoading ||\n isOrganizationCountsLoading ||\n isLocalesLoading\n ) {\n return null\n }\n\n return (\n \n \n \n \n \n \n dataE2E=\"organization-name-input\"\n label=\"Organization Name\"\n name=\"name\"\n />\n \n \n \n dataE2E=\"organization-id-input\"\n disabled\n label=\"ID\"\n name=\"id\"\n readOnly\n />\n \n \n \n dataE2E=\"organization-locale-input\"\n label=\"Locale\"\n name=\"localeId\"\n options={localeOptions}\n />\n \n \n\n \n \n \n \n {currentOrgDisplayCounts.map((organizationCount) => (\n \n \n \n {organizationCount.name}{\" \"}\n {Number.isFinite(organizationCount.value) &&\n `(${organizationCount.value})`}\n \n \n \n {organizationCount.name}{\" \"}\n {Number.isFinite(organizationCount.value) &&\n `(${organizationCount.value})`}\n \n \n ))}\n \n \n \n \n\n \n \n label=\"Notes\" name=\"notes\" />\n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default OrgViewOrganizationDetail\n","import React, { useCallback, useMemo, useState } from \"react\"\nimport { useMatch, useParams } from \"react-router-dom\"\n\nimport { Page404 } from \"@/components/nav/page404\"\nimport type { BillingGroupCounts } from \"@/services/billingGroup\"\nimport {\n useBillingGroup,\n useBillingGroupCounts,\n useBillingGroups,\n} from \"@/services/billingGroup\"\nimport type { DepartmentCounts } from \"@/services/department\"\nimport {\n useDepartment,\n useDepartmentCounts,\n useDepartments,\n} from \"@/services/department\"\nimport { useDialog } from \"@/services/dialog\"\nimport type { MeterCounts } from \"@/services/meter\"\nimport { useMeter, useMeterCounts, useMeters } from \"@/services/meter\"\nimport { useOrganization } from \"@/services/organization\"\nimport type { SiteCounts } from \"@/services/site\"\nimport { useSite, useSiteCounts, useSites } from \"@/services/site\"\nimport { isNil, sortBy } from \"lodash-es\"\n\nimport { Paper, Stack } from \"@mui/material\"\n\nimport {\n DeveloperAdminPath,\n OrgViewPath,\n RootPath,\n TamAdminPath,\n} from \"../../../../../models/route\"\nimport type { IOrgViewDisplayCount } from \"../../../models/onboarding/onboarding\"\nimport {\n LIST_ITEM_NAME_PROPERTY,\n billingGroupDisplayCounts,\n billingGroupRouteMatchPattern,\n departmentDisplayCounts,\n departmentRouteMatchPattern,\n meterDisplayCounts,\n meterRouteMatchPattern,\n routeMatchPattern,\n siteDisplayCounts,\n siteRouteMatchPattern,\n} from \"../../../models/onboarding/onboarding\"\nimport { convertToDisplayCounts } from \"../../../util/onboarding/onboarding\"\nimport { TamAdminPageHeader } from \"../../tamAdminPageHeader/tamAdminPageHeader\"\nimport OrgViewBillingGroupDetail from \"./orgViewBillingGroupDetail/orgViewBillingGroupDetail\"\nimport OrgViewContainer from \"./orgViewContainer/orgViewContainer\"\nimport OrgViewDeleteDialog from \"./orgViewDeleteDialog/orgViewDeleteDialog\"\nimport OrgViewDepartmentDetail from \"./orgViewDepartmentDetail/orgViewDepartmentDetail\"\nimport OrgViewDetail from \"./orgViewDetail/orgViewDetail\"\nimport OrgViewDetailCreateButton from \"./orgViewDetail/orgViewDetailCreateButton/orgViewDetailCreateButton\"\nimport OrgViewDetailEntityDeleteButton from \"./orgViewDetail/orgViewDetailEntityDeleteButton/orgViewDetailEntityDeleteButton\"\nimport OrgViewDetailLinkSection from \"./orgViewDetailLinkSection/orgViewDetailLinkSection\"\nimport OrgViewDialog from \"./orgViewDialog/orgViewDialog\"\nimport OrgViewList from \"./orgViewList/orgViewList\"\nimport OrgViewMeterDetail from \"./orgViewMeterDetail/orgViewMeterDetail\"\nimport OrgViewOrganizationDetail from \"./orgViewOrganizationDetail/orgViewOrganizationDetail\"\nimport OrgViewSiteDetail from \"./orgViewSiteDetail/orgViewSiteDetail\"\n\ninterface IOrgViewDataE2eAttributes {\n billingGroupsValue: string\n departmentsValue: string\n metersValue: string\n sitesValue: string\n}\n\nconst orgViewE2eAttributes: IOrgViewDataE2eAttributes = {\n departmentsValue: \"departments\",\n sitesValue: \"sites\",\n billingGroupsValue: \"billing-groups\",\n metersValue: \"meters\",\n}\n\n/**\n * @deprecated `OrgView` is being phased out with the new Flexible Hierarchy UI.\n * Any new changes should be made to `OrgLayout` instead.\n */\nconst OrgView = () => {\n // Route Matches\n const params = useParams()\n const {\n isDialogOpen: isDeleteDialogOpen,\n dialogTitle: deleteDialogTitle,\n dialogContent: deleteDialogContent,\n dialogActions: deleteDialogActions,\n onDialogOpen: onDeleteDialogOpen,\n onDialogClose: onDeleteDialogClose,\n } = useDialog()\n const routeMatch = useMatch(routeMatchPattern)\n const departmentRouteMatch = useMatch(departmentRouteMatchPattern)\n const siteRouteMatch = useMatch(siteRouteMatchPattern)\n const billingGroupRouteMatch = useMatch(billingGroupRouteMatchPattern)\n const meterRouteMatch = useMatch(meterRouteMatchPattern)\n\n const [filterDepartmentText, setFilterDepartmentText] = useState(\"\")\n const [filterSiteText, setFilterSiteText] = useState(\"\")\n const [filterBillingGroupText, setFilterBillingGroupText] =\n useState(\"\")\n const [filterMeterText, setFilterMeterText] = useState(\"\")\n\n const [isDialogOpen, setIsDialogOpen] = useState(false)\n const [dialogTitle, setDialogTitle] = useState(\"\")\n const [dialogContent, setDialogContent] = useState(null)\n\n const {\n orgId: organizationId,\n billingGroupId,\n departmentId,\n siteId,\n meterId,\n } = params\n const { organization } = useOrganization(organizationId)\n const { department } = useDepartment(departmentId)\n\n const { departments, isDepartmentsLoading } = useDepartments({\n sort: { key: \"name\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n where: { organization_id: organizationId } as any,\n disabled: isNil(organizationId),\n })\n const { departmentCounts, isDepartmentCountsLoading } =\n useDepartmentCounts(departmentId)\n\n const { site } = useSite(siteId)\n const { sites, isSitesLoading } = useSites(organizationId, {\n clause: { department_id: departmentId },\n enabled: !!departmentId,\n })\n const { siteCounts } = useSiteCounts(siteId)\n\n const { billingGroup } = useBillingGroup(billingGroupId)\n const { billingGroups, isBillingGroupsLoading } = useBillingGroups({\n sort: { key: \"groupName\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n where: { site_id: siteId } as any,\n disabled: isNil(siteId),\n })\n const { billingGroupCounts } = useBillingGroupCounts(billingGroupId)\n\n const { meter } = useMeter(meterId)\n const { meters, isMetersLoading } = useMeters({\n sort: { key: \"meterCode\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n where: {\n billing_group_id: billingGroupId,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any,\n disabled: isNil(billingGroupId),\n })\n const { meterCounts } = useMeterCounts(meterId)\n\n const currentDepartmentDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(\n departmentCounts,\n departmentDisplayCounts\n ),\n \"order\"\n ),\n [departmentCounts]\n )\n\n const currentSiteDisplayCounts: IOrgViewDisplayCount[] = useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(siteCounts, siteDisplayCounts),\n \"order\"\n ),\n [siteCounts]\n )\n\n const currentBillingGroupDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(\n billingGroupCounts,\n billingGroupDisplayCounts\n ),\n \"order\"\n ),\n [billingGroupCounts]\n )\n\n const currentMeterDisplayCounts: IOrgViewDisplayCount[] =\n useMemo(\n () =>\n sortBy(\n convertToDisplayCounts(meterCounts, meterDisplayCounts),\n \"order\"\n ),\n [meterCounts]\n )\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredDepartmentResults = useMemo(() => {\n if (filterDepartmentText?.length < 1) {\n return departments\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return departments.filter((filteredDepartment) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n filteredDepartment?.name\n .toLowerCase()\n .includes(filterDepartmentText.toLowerCase())\n )\n }, [departments, filterDepartmentText])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredSiteResults = useMemo(() => {\n if (filterSiteText?.length < 1) {\n return sites\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return sites.filter((filteredSite) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n filteredSite?.name.toLowerCase().includes(filterSiteText.toLowerCase())\n )\n }, [sites, filterSiteText])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredBillingGroupResults = useMemo(() => {\n if (filterBillingGroupText?.length < 1) {\n return billingGroups\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return billingGroups.filter((filteredBillingGroup) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n filteredBillingGroup?.groupName\n .toLowerCase()\n .includes(filterBillingGroupText.toLowerCase())\n )\n }, [billingGroups, filterBillingGroupText])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredMeterResults = useMemo(() => {\n if (filterMeterText?.length < 1) {\n return meters\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return meters.filter((filteredMeter) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n filteredMeter?.meterCode\n .toLowerCase()\n .includes(filterMeterText.toLowerCase())\n )\n }, [meters, filterMeterText])\n\n const onDialogOpen = useCallback(\n (title: string, content: JSX.Element): void => {\n setIsDialogOpen(true)\n setDialogTitle(title)\n setDialogContent(content)\n },\n [setIsDialogOpen, setDialogTitle, setDialogContent]\n )\n\n const onDialogClose = useCallback((): void => {\n setIsDialogOpen(false)\n }, [setIsDialogOpen])\n\n const canEntityBeDeleted = (numberOfChildObjects: number) =>\n !numberOfChildObjects\n\n return (\n <>\n {!organization && }\n {organization && (\n <>\n \n \n \n \n 0}\n setFilterText={setFilterDepartmentText}\n title=\"Departments\"\n >\n \n \n 0}\n setFilterText={setFilterSiteText}\n title=\"Sites\"\n >\n {departmentId && (\n \n )}\n \n 0}\n setFilterText={setFilterBillingGroupText}\n title=\"Billing Groups\"\n >\n {siteId && (\n \n )}\n \n 0}\n setFilterText={setFilterMeterText}\n title=\"Meters\"\n >\n {billingGroupId && (\n \n )}\n \n \n \n theme.typography.pxToRem(24),\n }}\n variant=\"outlined\"\n >\n {routeMatch && (\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={organization?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={organization?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.Organization}/${organization?.id}`}\n entityName=\"Organization\"\n webAppUrl={`/${organization?.id}/${RootPath.Dashboard}`}\n >\n \n \n )}\n {departmentRouteMatch && (\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={department?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={department?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.Department}/${department?.id}`}\n deleteButton={\n \n }\n entityName=\"Department\"\n >\n \n }\n />\n \n )}\n {siteRouteMatch && (\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={site?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={site?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.Site}/${site?.id}`}\n deleteButton={\n \n }\n entityName=\"Site\"\n webAppUrl={`/${organizationId}/${RootPath.Site}/${site?.id}`}\n >\n \n }\n siteId={siteId}\n />\n \n )}\n {billingGroupRouteMatch && (\n \n }\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateCreated={billingGroup?.dateCreated}\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n dateUpdated={billingGroup?.dateUpdated}\n datUrl={`${RootPath.DeveloperAdmin}${DeveloperAdminPath.BillingGroup}/${billingGroup?.id}`}\n deleteButton={\n \n }\n entityName=\"Billing Group\"\n >\n \n }\n />\n \n )}\n {meterRouteMatch && (\n \n }\n entityName=\"Meter\"\n >\n \n }\n meterId={meterId}\n />\n \n )}\n \n \n \n \n \n )}\n \n )\n}\n\nexport default OrgView\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchDepartmentCounts } from \"../../models/department\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useDepartmentCounts = (\n departmentId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.DepartmentCounts,\n \"getOne\",\n departmentId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchDepartmentCounts(departmentId),\n enabled: !isNil(departmentId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type DepartmentCounts = InferredQueryServiceValue<\n typeof useDepartmentCounts,\n ApiQueryName.DepartmentCounts\n>\n","import React from \"react\"\n\nimport type { SxProps } from \"@mui/material\"\nimport { Chip } from \"@mui/material\"\n\nimport { darkestTeal, lightestTeal } from \"../../utils/colors\"\nimport { pxToRem } from \"../../utils/unit\"\nimport { If } from \"../if/if\"\n\nexport const enum FeatureReleaseCalloutTypes {\n BETA = \"BETA\",\n NEW = \"NEW\",\n}\n\nconst styles: SxProps = {\n color: darkestTeal.rgb().toString(),\n backgroundColor: lightestTeal.rgb().toString(),\n cursor: \"inherit\",\n borderRadius: \"16px\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n height: \"unset\",\n \"& .MuiChip-label\": {\n fontSize: pxToRem(10),\n lineHeight: pxToRem(10),\n paddingTop: \"4px\",\n paddingBottom: \"4px\",\n },\n}\n\ninterface IFeatureReleaseCalloutProps {\n className?: string\n sx?: SxProps\n type?: FeatureReleaseCalloutTypes\n}\n\n/**\n * Renders a feature release callout chip.\n *\n * @param props - The component's props\n * @param props.type - The type of callout to display (the content)\n * @param props.className - Optional class names to apply to the root Chip element\n * @param props.sx - Optional MUI sx styles to apply to the root Chip element\n * @returns A feature release callout chip component\n * @example\n * // Renders a chip with \"BETA\" as the content\n * \n */\nconst FeatureReleaseCallout = ({\n type,\n className,\n sx,\n}: IFeatureReleaseCalloutProps) => (\n \n \n \n)\n\nexport default FeatureReleaseCallout\n","import { RootPath, TamAdminPath } from \"../../../../models/route\"\n\n/**\n * Get the tab index for tam admin\n *\n * @param rowData - The pathname string\n * @returns - The index based on the pathname\n * @example\n * getActiveTabIndex(\"../tam-admin/onboarding\")\n */\nexport const getActiveTabIndex = (pathname: string): number => {\n if (pathname === `${RootPath.TamAdmin}${TamAdminPath.Onboarding}`) {\n return 0\n }\n return 0\n}\n\nexport default { getActiveTabIndex }\n","import React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport moment from \"moment\"\n\nimport {\n Box,\n Skeleton,\n TableBody,\n TableCell,\n TableRow,\n Typography,\n} from \"@mui/material\"\n\nimport { DateDisplay } from \"../../../../../../components/date/dateDisplay/dateDisplay\"\nimport { RootPath, TamAdminPath } from \"../../../../../../models/route\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../models/typography\"\nimport { darkestTeal } from \"../../../../../../utils/colors\"\nimport { convertDateStringDashesToSlashes } from \"../../../../../../utils/date\"\nimport { pxToRem } from \"../../../../../../utils/unit\"\nimport type { ITamAdminOrganizationsTableRow } from \"../../../../models/onboarding/onboarding\"\nimport { TamAdminOrganizationsColumnKey } from \"../../../../models/onboarding/onboarding\"\n\ninterface ITamAdminOrganizationTableContentProps {\n isLoading: boolean\n rows: ITamAdminOrganizationsTableRow[]\n}\n\nconst TamAdminOrganizationTableContent = ({\n rows,\n isLoading,\n}: ITamAdminOrganizationTableContentProps): JSX.Element => (\n \n {rows.map((row: ITamAdminOrganizationsTableRow) => (\n \n {Object.keys(row).map((key) => {\n if (isLoading) {\n return (\n \n \n \n )\n }\n return (\n \n {\n // Name column\n key === TamAdminOrganizationsColumnKey.Name && (\n \n <>{row.name}\n \n )\n }\n {\n // Id column\n key === TamAdminOrganizationsColumnKey.Id && (\n \n <>{row.id?.toString()}\n \n )\n }\n {\n // Locale column\n key === TamAdminOrganizationsColumnKey.Locale && (\n \n <>{row.locale?.toString()}\n \n )\n }\n {\n // Demo organization column\n key === TamAdminOrganizationsColumnKey.DemoOrganization && (\n \n <>{row.demoOrganization?.toString()}\n \n )\n }\n {\n // Date created column\n key === TamAdminOrganizationsColumnKey.DateCreated && (\n \n )\n }\n {\n // Date updated column\n key === TamAdminOrganizationsColumnKey.DateUpdated && (\n \n )\n }\n \n )\n })}\n \n ))}\n \n)\n\nexport default TamAdminOrganizationTableContent\n","import React from \"react\"\n\nimport {\n TableCell,\n TableHead,\n TableRow,\n TableSortLabel,\n Typography,\n} from \"@mui/material\"\n\nimport { Order } from \"../../../../../../models/sort\"\nimport type { ITableColumn } from \"../../../../../../models/table\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../../../models/typography\"\nimport { lighterGray, solidGray } from \"../../../../../../utils/colors\"\nimport type {\n ITamAdminOrganizationsTableRow,\n TamAdminOrganizationsColumnKey,\n} from \"../../../../models/onboarding/onboarding\"\n\ninterface ITamAdminOrganizationTableHeaderProps {\n columns: ITableColumn[]\n isLoading: boolean\n onSort: (property: TamAdminOrganizationsColumnKey) => void\n order: Order\n orderBy: TamAdminOrganizationsColumnKey\n}\nconst TamAdminOrganizationTableHeader = ({\n order,\n orderBy,\n columns,\n isLoading,\n onSort,\n}: ITamAdminOrganizationTableHeaderProps): JSX.Element => (\n \n \n {columns.map((col) => (\n \n {\n onSort(col.key as TamAdminOrganizationsColumnKey)\n }\n }\n >\n {col.title}\n \n \n ))}\n \n \n)\n\nexport default TamAdminOrganizationTableHeader\n","import React, { useCallback, useMemo, useState } from \"react\"\n\nimport { useOrganizations } from \"@/services/organization\"\n\nimport { Table, TableContainer } from \"@mui/material\"\n\nimport { Order } from \"../../../../../models/sort\"\nimport type { ITableData } from \"../../../../../models/table\"\nimport { getSkeletonTableData } from \"../../../../../utils/table\"\nimport type { ITamAdminOrganizationsTableRow } from \"../../../models/onboarding/onboarding\"\nimport {\n TamAdminOrganizationsColumnKey,\n tamAdminOrganizationsColumns,\n} from \"../../../models/onboarding/onboarding\"\nimport { convertOrganizationsToTabularData } from \"../../../util/onboarding/onboarding\"\nimport TamAdminOrganizationTableContent from \"./tamAdminOrganizationTableContent/tamAdminOrganizationTableContent\"\nimport TamAdminOrganizationTableHeader from \"./tamAdminOrganizationTableHeader/tamAdminOrganizationTableHeader\"\n\nconst NUMBER_OF_SKELETON_ROWS = 8\n\nconst TamAdminOrganizationTable = (): JSX.Element => {\n const [order, setOrder] = useState(Order.asc)\n const [orderBy, setOrderBy] = useState(\n TamAdminOrganizationsColumnKey.Name\n )\n const { organizations, isOrganizationsLoading } = useOrganizations({\n sort: { order, key: orderBy },\n })\n\n const organizationsTabularData = useMemo<\n ITableData\n >(() => {\n if (!organizations?.length) {\n return getSkeletonTableData(\n tamAdminOrganizationsColumns,\n NUMBER_OF_SKELETON_ROWS\n )\n }\n return convertOrganizationsToTabularData(organizations)\n }, [organizations])\n\n const onSort = useCallback(\n (property: TamAdminOrganizationsColumnKey): void => {\n const isAsc = orderBy === property && order === Order.asc\n const newOrder = isAsc ? Order.desc : Order.asc\n setOrder(newOrder)\n setOrderBy(property)\n },\n [order, orderBy]\n )\n\n return (\n \n \n \n \n
    \n
    \n )\n}\n\nexport default TamAdminOrganizationTable\n","import React, { useMemo } from \"react\"\nimport { Link, useLocation } from \"react-router-dom\"\n\nimport { Stack, Tab, Tabs, Typography } from \"@mui/material\"\n\nimport FeatureReleaseCallout, {\n FeatureReleaseCalloutTypes,\n} from \"../../../../components/featureReleaseCallout/featureReleaseCallout\"\nimport { RootPath, TamAdminPath } from \"../../../../models/route\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport { pxToRem } from \"../../../../utils/unit\"\nimport { getActiveTabIndex } from \"../../util/tamAdmin/tamAdmin\"\nimport TamAdminOrganizationTable from \"./tamAdminOrganizationTable/tamAdminOrganizationTable\"\n\nconst TamAdminOnboarding = () => {\n const location = useLocation()\n const activeTabIndex: number = useMemo(\n () => getActiveTabIndex(location.pathname),\n [location]\n )\n return (\n <>\n \n Admin Tool\n \n \n \n \n \n \n \n )\n}\n\nexport default TamAdminOnboarding\n","import type { FC, ReactNode } from \"react\"\nimport React, { createContext, useContext, useMemo, useState } from \"react\"\n\nimport type OrganizationalUnit from \"../../../models/organizationalUnit\"\n\ninterface DataGridContextProps {\n editedOU?: OrganizationalUnit\n setEditedOU?: (ou: OrganizationalUnit) => void\n}\n\ninterface DataGridProviderProps {\n children?: ReactNode\n}\n\nexport const DataGridContext = createContext({\n editedOU: null,\n setEditedOU: () => null,\n})\n\nexport const DataGridProvider: FC = ({ children }) => {\n const [editedOU, setEditedOU] = useState()\n\n const dataGridContextValue = useMemo(\n () => ({\n editedOU,\n setEditedOU,\n }),\n [editedOU, setEditedOU]\n )\n\n return (\n \n {children}\n \n )\n}\n\nexport const useDataGridContext = () => {\n const { editedOU, setEditedOU } = useContext(DataGridContext)\n return { editedOU, setEditedOU }\n}\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n name: z.string().trim().min(1, \"Required\"),\n})\n\nexport type Schema = z.infer\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\n\nimport { useCreateOrganizationalUnit } from \"@/services/organizationalUnit\"\n\nimport { AddRounded } from \"@mui/icons-material\"\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n Stack,\n} from \"@mui/material\"\n\nimport { DialogTitle } from \"../../../../../nzds/feedback/dialog-title/dialog-title\"\nimport { FormTextField } from \"../../../../../nzds/forms/form-text-field/form-text-field\"\nimport { DialogForm } from \"../../../../../nzds/forms/form/dialog-form\"\nimport { SubmitButton } from \"../../../../../nzds/forms/submit-button/submit-button\"\nimport { useForm } from \"../../../../../nzds/forms/use-form/use-form\"\nimport type { CreateOUDialogProps } from \"./create-ou-dialog.types\"\nimport type { Schema } from \"./schema\"\nimport { schema } from \"./schema\"\n\nexport const CreateOUDialog: FC = ({\n open,\n onClose,\n parentId,\n organizationId,\n}) => {\n const form = useForm({\n schema,\n defaultValues: {\n name: \"\",\n },\n })\n\n const { reset } = form\n const { mutateAsync, isLoading } = useCreateOrganizationalUnit()\n\n const handleClose = () => {\n reset()\n onClose()\n }\n\n const handleSubmit: SubmitHandler = async ({ name }) => {\n try {\n await mutateAsync({ name, parentId, organizationId })\n handleClose()\n } catch (error) {\n console.error(error)\n // TODO: show alert or snackbar?\n }\n }\n\n return (\n \n \n Create new group (OU)\n \n \n aria-label=\"Create organizational group\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n label=\"Group Name\" name=\"name\" />\n \n \n \n \n }>\n Create\n \n \n \n \n )\n}\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n name: z.string().trim().min(1, \"Required\"),\n})\n\nexport type Schema = z.infer\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\n\nimport { useUpdateOrganizationalUnit } from \"@/services/organizationalUnit\"\n\nimport SaveIconRounded from \"@mui/icons-material/Save\"\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n Stack,\n} from \"@mui/material\"\n\nimport { DialogTitle } from \"../../../../../nzds/feedback/dialog-title/dialog-title\"\nimport { FormTextField } from \"../../../../../nzds/forms/form-text-field/form-text-field\"\nimport { DialogForm } from \"../../../../../nzds/forms/form/dialog-form\"\nimport { SubmitButton } from \"../../../../../nzds/forms/submit-button/submit-button\"\nimport { useForm } from \"../../../../../nzds/forms/use-form/use-form\"\nimport type { EditOUDialogProps } from \"./edit-ou-dialog.types\"\nimport type { Schema } from \"./schema\"\nimport { schema } from \"./schema\"\n\nexport const EditOUDialog: FC = ({\n open,\n onClose,\n organizationalUnit,\n}) => {\n const form = useForm({\n schema,\n defaultValues: {\n name: organizationalUnit.name,\n },\n })\n\n const { reset } = form\n const { mutateAsync, isLoading } = useUpdateOrganizationalUnit()\n\n const handleClose = () => {\n reset()\n onClose()\n }\n\n const handleSubmit: SubmitHandler = async ({ name }) => {\n try {\n // eslint-disable-next-line no-param-reassign\n organizationalUnit.name = name\n await mutateAsync({ organizationalUnit })\n handleClose()\n } catch (error) {\n console.error(error)\n // TODO: show alert or snackbar?\n }\n }\n\n return (\n \n \n Rename group (OU)\n \n \n aria-label=\"Rename organizational group\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n label=\"Group Name\" name=\"name\" />\n \n \n \n \n }>\n Update\n \n \n \n \n )\n}\n","import { createQueryKey } from \"@/services/utils/createQueryKey\"\nimport { useInvalidateQueries } from \"@/services/utils/useInvalidateQueries\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type OrganizationalUnit from \"../../../../models/organizationalUnit\"\n\n/**\n * Hook that exposes a mutation function for updating multiple org units at once.\n * This ensures that queries for org units and organizational structure are not\n * invalidated until all org units have been updated.\n */\nexport const useBatchUpdateOrgUnits = () => {\n const mutationKey = useQueryKey(ApiQueryName.Site, \"updateOne\")\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({ orgUnits }: { orgUnits: OrganizationalUnit[] }) => {\n const promises: Promise[] = []\n\n orgUnits.forEach((orgUnit) => {\n promises.push(orgUnit.save())\n })\n\n await Promise.all(promises).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n })\n },\n onSuccess: () => {\n invalidateQueries([\n createQueryKey(ApiQueryName.OrganizationalUnits, \"getMany\"),\n createQueryKey(ApiQueryName.OrganizationHierarchy, \"getOne\"),\n ])\n },\n })\n\n return mutationResult\n}\n","import { createQueryKey } from \"@/services/utils/createQueryKey\"\nimport { useInvalidateQueries } from \"@/services/utils/useInvalidateQueries\"\nimport { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport type Site from \"../../../../models/site\"\n\n/**\n * Hook that exposes a mutation function for updating multiple sites at once.\n * This ensures that queries for sites and organizational structure are not\n * invalidated until all sites have been updated.\n */\nexport const useBatchUpdateSites = () => {\n const mutationKey = useQueryKey(ApiQueryName.Site, \"updateOne\")\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({ sites }: { sites: Site[] }) => {\n const promises: Promise[] = []\n\n sites.forEach((site) => {\n promises.push(\n site.save({\n with: [\"organizationalUnit\"],\n })\n )\n })\n\n await Promise.all(promises).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n })\n },\n onSuccess: () => {\n invalidateQueries([createQueryKey(ApiQueryName.Sites, \"getMany\")])\n },\n })\n\n return mutationResult\n}\n","import { z } from \"zod\"\n\nexport const schema = z.object({\n destination: z.string().trim().min(1),\n})\n\nexport type Schema = z.infer\n","import type OrganizationalUnit from \"../../../../../models/organizationalUnit\"\nimport type {\n HierarchyDataGridRow,\n OUTreeNode,\n} from \"../../../hooks/use-hierarchy-tree-data/types\"\n\nconst checkChildrenForEligibility = (children: OUTreeNode[]) => {\n const ineligibleOrgUnitIDs: string[] = []\n\n children.forEach((child) => {\n if (child.type === \"ou\") {\n ineligibleOrgUnitIDs.push(child.id.toString())\n checkChildrenForEligibility(child.children)\n }\n ineligibleOrgUnitIDs.push(child.parent_id?.toString())\n })\n\n return ineligibleOrgUnitIDs\n}\n\n/**\n * Utility function for filtering out the selected OUs and any of their descendants from the possible\n * list of \"destination\" OUs.\n * @param orgUnits\n * @param selectedRows\n * @returns A mapped array of OU names for our `Autocomplete` component\n */\nexport const buildAutocompleteOptions = (\n orgUnits: OrganizationalUnit[],\n selectedRows: HierarchyDataGridRow[]\n): string[] => {\n const ineligibleOrgUnitIDs: string[] = []\n\n selectedRows.forEach((row) => {\n if (row.type === \"ou\") {\n ineligibleOrgUnitIDs.push(row.id.toString())\n ineligibleOrgUnitIDs.push(...checkChildrenForEligibility(row.children))\n }\n ineligibleOrgUnitIDs.push(row.parentId?.toString())\n })\n\n const options = orgUnits.filter((ou) => !ineligibleOrgUnitIDs.includes(ou.id))\n return options.map((ou) => ou.name)\n}\n","import type { FC } from \"react\"\nimport React, { useMemo } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\nimport { Controller } from \"react-hook-form\"\n\nimport DriveFileMoveRounded from \"@mui/icons-material/DriveFileMoveRounded\"\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n Stack,\n} from \"@mui/material\"\n\nimport type OrganizationalUnit from \"../../../../../models/organizationalUnit\"\nimport type Site from \"../../../../../models/site\"\nimport { TextField } from \"../../../../../nzds\"\nimport { DialogTitle } from \"../../../../../nzds/feedback/dialog-title/dialog-title\"\nimport { DialogForm } from \"../../../../../nzds/forms/form/dialog-form\"\nimport { SubmitButton } from \"../../../../../nzds/forms/submit-button/submit-button\"\nimport { useForm } from \"../../../../../nzds/forms/use-form/use-form\"\nimport { Autocomplete } from \"../../../../../nzds/inputs/autocomplete\"\nimport { useBatchUpdateOrgUnits } from \"../../../hooks/use-batch-update-org-units/use-batch-update-org-units\"\nimport { useBatchUpdateSites } from \"../../../hooks/use-batch-update-sites/use-batch-update-sites\"\nimport type { MoveItemsDialogProps } from \"./move-items-dialog.types\"\nimport type { Schema } from \"./schema\"\nimport { schema } from \"./schema\"\nimport { buildAutocompleteOptions } from \"./utils\"\n\nexport const MoveItemsDialog: FC = ({\n selectedRows,\n onClose,\n open,\n organizationalUnits,\n}) => {\n const form = useForm({\n schema,\n defaultValues: {\n destination: \"\",\n },\n })\n\n const { reset, control } = form\n const { mutateAsync: mutateOrgUnits, isLoading: isUpdateOrgUnitLoading } =\n useBatchUpdateOrgUnits()\n const { mutateAsync: mutateSites, isLoading: isUpdateSiteLoading } =\n useBatchUpdateSites()\n\n const autocompleteOptions = useMemo(\n () => buildAutocompleteOptions(organizationalUnits, selectedRows),\n [organizationalUnits, selectedRows]\n )\n\n const handleClose = () => {\n reset()\n onClose()\n }\n\n const handleSubmit: SubmitHandler = async ({ destination }) => {\n const destinationOU = organizationalUnits.find(\n (ou) => ou.name === destination\n )\n const orgUnitsToUpdate: OrganizationalUnit[] = []\n const sitesToUpdate: Site[] = []\n\n selectedRows.forEach((row) => {\n if (row.type === \"ou\") {\n const ou = row.model as OrganizationalUnit\n ou.parentId = Number(destinationOU.id)\n orgUnitsToUpdate.push(ou)\n } else if (row.type === \"site\") {\n const site = row.model as Site\n site.organizationalUnit = destinationOU\n sitesToUpdate.push(site)\n }\n })\n const promises = []\n if (orgUnitsToUpdate.length) {\n promises.push(mutateOrgUnits({ orgUnits: orgUnitsToUpdate }))\n }\n if (sitesToUpdate.length) {\n promises.push(mutateSites({ sites: sitesToUpdate }))\n }\n await Promise.all(promises)\n handleClose()\n }\n\n return (\n \n \n Move selected items\n \n \n aria-label=\"Move items\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n \n All child elements will be moved with their parent which may\n change access for some users.\n \n\n {\n const { onChange, value } = field\n return (\n option}\n onChange={(_event, newValue) => {\n onChange(newValue ?? null)\n }}\n options={autocompleteOptions}\n renderInput={(params) => (\n \n )}\n size=\"small\"\n value={\n value\n ? (autocompleteOptions.find(\n (option) => option === value\n ) ?? null)\n : null\n }\n />\n )\n }}\n />\n \n \n \n \n Cancel\n \n }>\n Move\n \n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { useDeleteOrganizationalUnit } from \"@/services/organizationalUnit\"\nimport { useConfirm } from \"material-ui-confirm\"\n\nimport DeleteRoundedIcon from \"@mui/icons-material/DeleteRounded\"\nimport { Button } from \"@mui/material\"\n\nimport type OrganizationalUnit from \"../../../../../models/organizationalUnit\"\nimport type { DeleteGroupsButtonProps } from \"./delete-groups-button.types\"\n\nexport const DeleteGroupsButton: FC = ({\n selectedRows,\n}) => {\n const confirm = useConfirm()\n const { mutateAsync } = useDeleteOrganizationalUnit()\n\n const rowsElibleForDelete = selectedRows.filter((row) => row.type === \"ou\")\n const selectedRowsContainSites = selectedRows.some(\n (row) => row.type === \"site\"\n )\n const deleteButtonDisabled =\n selectedRowsContainSites || rowsElibleForDelete.length === 0\n\n const confirmThenDeleteGroups = async (orgUnits: OrganizationalUnit[]) => {\n await confirm({\n title: `Permanently delete groups?`,\n description: \"Deleting groups cannot be undone.\",\n confirmationText: \"Delete\",\n confirmationButtonProps: {\n variant: \"contained\",\n color: \"error\",\n endIcon: ,\n },\n cancellationText: \"Cancel\",\n cancellationButtonProps: { variant: \"text\", color: \"neutral\" },\n })\n const deletePromises = orgUnits.map((ou) => mutateAsync(ou.id))\n await Promise.all(deletePromises)\n }\n\n const preventDeleteGroups = async () => {\n await confirm({\n title: `Cannot be deleted`,\n description:\n \"One or more groups contain child elements. To delete these groups, you must remove all child elements.\",\n confirmationText: \"Close\",\n hideCancelButton: true,\n confirmationButtonProps: {\n variant: \"text\",\n color: \"primary\",\n },\n })\n }\n\n const handleClick = () => {\n let canDeleteOUs = true\n rowsElibleForDelete.forEach((row) => {\n if (row.children.length) {\n canDeleteOUs = false\n }\n })\n\n if (!canDeleteOUs) {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n preventDeleteGroups()\n } else {\n const orgUnits = rowsElibleForDelete.map(\n (row) => row.model\n ) as OrganizationalUnit[]\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n confirmThenDeleteGroups(orgUnits)\n }\n }\n\n return (\n }\n variant=\"text\"\n >\n Delete Selected Groups\n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\n\nimport DriveFileMoveRoundedIcon from \"@mui/icons-material/DriveFileMoveRounded\"\n\nimport { Button } from \"../../../../../nzds/inputs/button\"\nimport type { MoveItemsButtonProps } from \"./move-items-button.types\"\n\nexport const MoveItemsButton: FC = ({\n selectedRows,\n ...rest\n}) => {\n const disabled = !selectedRows.length\n\n return (\n }\n sx={{ color: \"primary.main\" }}\n variant=\"text\"\n >\n Move Selected Items\n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport EditRoundedIcon from \"@mui/icons-material/EditRounded\"\nimport ExpandLessRoundedIcon from \"@mui/icons-material/ExpandLessRounded\"\nimport ExpandMoreRoundedIcon from \"@mui/icons-material/ExpandMoreRounded\"\nimport { IconButton } from \"@mui/material\"\n\nimport { useDataGridContext } from \"../../../contexts/data-grid-provider\"\nimport type { OUDisplayCellProps } from \"./ou-display-cell.types\"\n\nexport const OUDisplayCell: FC = ({\n name,\n rowNode,\n onClick,\n model,\n}) => {\n const { setEditedOU } = useDataGridContext()\n\n const handleEdit = () => {\n setEditedOU(model)\n }\n\n return (\n \n \n \n {rowNode.type === \"group\" && rowNode.childrenExpanded ? (\n \n ) : (\n \n )}\n \n {name}\n \n\n \n \n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { Room } from \"@mui/icons-material\"\nimport { Link, Typography } from \"@mui/material\"\n\nimport { RootPath, TamAdminPath } from \"../../../../../models/route\"\nimport type { SiteDisplayCellProps } from \"./site-display-cell.types\"\n\nexport const SiteDisplayCell: FC = ({\n orgId,\n parentId,\n siteId,\n name,\n}) => (\n \n \n \n {name}\n \n {!parentId ? (\n \n Unassigned\n \n ) : null}\n \n)\n","import type { FC } from \"react\"\nimport React, { memo } from \"react\"\n\nimport type { ButtonProps } from \"@mui/material\"\nimport { Box } from \"@mui/material\"\nimport { useGridApiContext } from \"@mui/x-data-grid-pro\"\n\nimport type OrganizationalUnit from \"../../../../../models/organizationalUnit\"\nimport { OUDisplayCell } from \"../ou-display-cell/ou-display-cell\"\nimport { SiteDisplayCell } from \"../site-display-cell/site-display-cell\"\nimport type { HierarchyGroupingCellProps } from \"./hierarchy-grouping-cell.types\"\n\nexport const HierarchyGroupingCell: FC = memo(\n ({ id, field, rowNode, row }) => {\n const apiRef = useGridApiContext()\n\n const handleClick: ButtonProps[\"onClick\"] = (event) => {\n if (rowNode.type !== \"group\") {\n return\n }\n\n apiRef.current.setRowChildrenExpansion(id, !rowNode.childrenExpanded)\n apiRef.current.setCellFocus(id, field)\n event.stopPropagation()\n }\n\n return (\n \n {row.type === \"ou\" ? (\n \n ) : (\n \n )}\n \n )\n }\n)\n","import type { FC } from \"react\"\nimport React, { memo, useEffect, useRef } from \"react\"\n\nimport { LinearProgress } from \"@mui/material\"\nimport type { DataGridProProps } from \"@mui/x-data-grid-pro\"\nimport { DataGridPro, useGridApiRef } from \"@mui/x-data-grid-pro\"\n\nimport { HierarchyGroupingCell } from \"./hierarchy-grouping-cell/hierarchy-grouping-cell\"\nimport type { HierarchyGroupingCellProps } from \"./hierarchy-grouping-cell/hierarchy-grouping-cell.types\"\nimport type { OrganizeDataGridProps } from \"./organize-data-grid.types\"\n\nexport const OrganizeDataGrid: FC = memo(\n ({ isLoading, rows, onRowSelect }) => {\n const apiRef = useGridApiRef()\n const initialRowsRef = useRef(rows)\n\n // This useEffect clears any checkbox selections when the structure of the\n // hierarchy is changed, but the selected row ID still exists.\n useEffect(() => {\n if (rows.length && rows !== initialRowsRef.current) {\n apiRef.current.setRowSelectionModel([])\n initialRowsRef.current = rows\n }\n }, [apiRef, initialRowsRef, rows])\n\n const groupingColDef: DataGridProProps[\"groupingColDef\"] = {\n headerName: \"Organizational Units (OU)\",\n hideDescendantCount: true,\n flex: 1,\n filterable: true,\n disableColumnMenu: false,\n resizable: false,\n mainGroupingCriteria: \"name\",\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n valueGetter: ({ row }) => row.name,\n renderCell: (props: HierarchyGroupingCellProps) => (\n \n ),\n }\n\n return (\n `${row.type}-${row.id}`}\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n getTreeDataPath={(row) => row.path}\n groupingColDef={groupingColDef}\n loading={isLoading}\n onRowSelectionModelChange={onRowSelect}\n rows={rows}\n slots={{ loadingOverlay: LinearProgress }}\n sx={{ backgroundColor: \"white\" }}\n treeData\n />\n )\n }\n)\n","import { useQueryKey } from \"@/services/utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"@/services/utils/useRenamedQueryResult/useRenamedQueryResult\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../../../models/api\"\nimport Organization from \"../../../../models/organization\"\nimport type { OUTreeNode } from \"./types\"\n\n/**\n * Returns the organizational hierarchy for a given organization. `hierarchy` is an\n * extra attribute on the organization model since it can be computationally expensive to fetch.\n * The hierarchy attribute is a JSON string representing the organization's OU structure, but it does not\n * contain the sites associated with the OUs or the OU models themselves. The sites are fetched separately and added\n * to the hierarchy in the `useHierarchyTreeData` hook along with the OU spraypaint models.\n * @param organizationId\n * @returns An object representing the root OU of the organization along with all of its children\n */\nexport const useOrganizationalHierarchy = (organizationId: string) => {\n const queryKey = useQueryKey(\n ApiQueryName.OrganizationHierarchy,\n \"getOne\",\n organizationId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => {\n try {\n const { data } = await Organization.where({ id: organizationId })\n .selectExtra([\"hierarchy\"])\n .first()\n\n if (!data.hierarchy) {\n throw new Error(\"Organization hierarchy not found\")\n }\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const hierarchy: OUTreeNode = JSON.parse(data.hierarchy)\n return hierarchy\n } catch (e) {\n throw new Error(`Error fetching organizational hierarchy: ${e}`)\n }\n },\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import type OrganizationalUnit from \"../../../../models/organizationalUnit\"\nimport type Site from \"../../../../models/site\"\nimport type { HierarchyDataGridRow, OUTreeNode } from \"./types\"\n\n/**\n * Recursively flattens an organizational hierarchy into a single array of OUTreeNodes.\n * Doing this as a first step makes it easier to assign sites to their respescitve parent OUs and build out the tree structure.\n * The root OU is excluded from the returned array as we do not need to display it in the tree.\n * @param rootOU\n * @returns A flattened array of OUTreeNodes, without the root OU\n */\nexport const flattenOrganizationalUnits = (\n rootOU: OUTreeNode\n): OUTreeNode[] => {\n const orgUnits: OUTreeNode[] = []\n\n const flattenChildren = (ou: OUTreeNode) => {\n if (ou?.children) {\n ou.children.forEach((child) => {\n if (child.type !== \"site\") {\n child.type = \"ou\"\n }\n orgUnits.push(child)\n flattenChildren(child)\n })\n }\n }\n\n flattenChildren(rootOU)\n\n return orgUnits.sort((a, b) => a.id - b.id)\n}\n\n/**\n * Converts an array of Site models into an array of OUTreeNodes.\n * This allows us to build a uniform tree structure with both OUs and Sites prior to\n * generating the `path` property needed for the MUI Tree data grid.\n * @param sites\n * @returns An array of OUTreeNodes\n */\nexport const convertSitesToTreeNodes = (sites: Site[]) => {\n const siteNodes: OUTreeNode[] = []\n sites?.forEach((site) => {\n const siteNode: OUTreeNode = {\n id: Number(site.id),\n name: site.name,\n type: \"site\",\n parent_id: site.organizationalUnitId,\n children: [],\n }\n siteNodes.push(siteNode)\n })\n return siteNodes\n}\n\n/**\n * Takes in the flattened organizational hierarchy with OUs and Sites and builds out the rows needed\n * for the MUI Tree data grid. The `path` property is generated by traversing each node of the tree.\n * The approriate spraypaint models are assigned to each row so that we can easily modify data within the tree.\n * @param treeNodes\n * @param orgId\n * @param orgUnits\n * @param sites\n * @returns An array of rows used to populate our `` component.\n */\nexport const generateDataGridRows = (\n treeNodes: OUTreeNode[],\n orgId: string,\n orgUnits: OrganizationalUnit[],\n sites: Site[]\n) => {\n if (!orgUnits || !sites) {\n return []\n }\n\n const rows: HierarchyDataGridRow[] = []\n\n const buildRow = (node: OUTreeNode, path: string[] = []) => {\n const { id, name, type, children, parent_id } = node\n const newPath = [...path, `${node.type}-${node.id}`]\n const model =\n type === \"ou\"\n ? orgUnits.find((ou) => ou.id === id.toString())\n : sites.find((site) => site.id === id.toString())\n\n const row = {\n id,\n orgId,\n type,\n name,\n path: newPath,\n model,\n parentId: parent_id,\n children,\n }\n\n if (children) {\n children.forEach((child) => {\n buildRow(child, newPath)\n })\n }\n\n if (!rows.find((r) => r.id === row.id)) {\n rows.push(row)\n }\n }\n\n treeNodes.forEach((node) => {\n buildRow(node)\n })\n\n return rows\n}\n","import { useMemo } from \"react\"\n\nimport { useOrganizationalUnits } from \"@/services/organizationalUnit\"\nimport { useSites } from \"@/services/site\"\n\nimport { useOrganizationalHierarchy } from \"./use-organizational-hierarchy\"\nimport {\n convertSitesToTreeNodes,\n flattenOrganizationalUnits,\n generateDataGridRows,\n} from \"./utils\"\n\n/**\n * This hook generates an array of rows that are used to populate our MUI Tree data grid.\n * The tree is generated from the hierarchy attribute of the organization, which is hydrated\n * with OU and Site models from spraypaint. The resulting array of tree data represents the\n * organizational hierarchy with all of its sites and OUs, excluding the root OU.\n * @param organizationId\n * @returns An array of rows used to populate our `` component.\n * @tutorial https://mui.com/x/react-data-grid/tree-data/\n */\nexport const useHierarchyTreeData = (organizationId: string) => {\n const { organizationHierarchy, isOrganizationHierarchyLoading } =\n useOrganizationalHierarchy(organizationId)\n const { organizationalUnits, isOrganizationalUnitsLoading } =\n useOrganizationalUnits(organizationId)\n const { sites, isSitesLoading } = useSites(organizationId)\n\n return useMemo(() => {\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const rootOU = organizationalUnits?.find((ou) => !ou.parentId)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const rootID = rootOU?.id\n // Need to make a deep copy of the hierarchy so that subsequent calls to this hook\n // do not use the same object references as a starting point when rebuilding the tree.\n const flattenedHierarchy = structuredClone(\n flattenOrganizationalUnits(organizationHierarchy)\n )\n const siteNodes = convertSitesToTreeNodes(sites)\n\n // Here we take our sites, which have been converted to tree nodes, and add\n // them to the appropriate OU's children in our flattened OU array. If the site does not have a parent,\n // or it belongs to the root OU, then we push it to the flattened array, representing the top level of the tree.\n siteNodes.forEach((siteNode) => {\n const siteParent = flattenedHierarchy.find(\n (node) => node.type === \"ou\" && node.id === siteNode.parent_id\n )\n if (\n siteParent &&\n !siteParent.children.some(\n (node) => node.type === \"site\" && node.id === siteNode.id\n )\n ) {\n siteParent.children.push(siteNode)\n } else if (\n !flattenedHierarchy.some(\n (node) => node.type === \"site\" && node.id === siteNode.id\n )\n ) {\n flattenedHierarchy.push(siteNode)\n }\n })\n // Now that our sites have been added to the flattened hierarchy, we want to filter out\n // any nodes in the array that do not belong at the top level of the tree. Filtering elements out\n // here does not remove the OU or site from the tree, since these elements are just references to the\n // objects further down in the hierarchy.\n const hierarchyTree = flattenedHierarchy.filter(\n (node) => node.parent_id === Number(rootID) || !node.parent_id\n )\n\n const rows = generateDataGridRows(\n hierarchyTree,\n organizationId,\n organizationalUnits,\n sites\n )\n return {\n rows,\n isHierarchyLoading:\n isOrganizationHierarchyLoading ||\n isOrganizationalUnitsLoading ||\n isSitesLoading,\n }\n }, [\n organizationHierarchy,\n organizationId,\n organizationalUnits,\n sites,\n isOrganizationHierarchyLoading,\n isOrganizationalUnitsLoading,\n isSitesLoading,\n ])\n}\n","/* eslint-disable no-restricted-syntax */\nimport type { FC } from \"react\"\nimport React, { useCallback, useEffect, useState } from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { useOrganization } from \"@/services/organization\"\nimport {\n useCreateOrganizationalUnit,\n useOrganizationalUnits,\n} from \"@/services/organizationalUnit\"\n\nimport AddRoundedIcon from \"@mui/icons-material/AddRounded\"\nimport { Button, Stack } from \"@mui/material\"\nimport type { GridRowSelectionModel } from \"@mui/x-data-grid-pro\"\n\nimport { CreateOUDialog } from \"../../components/dialog/create-ou-dialog/create-ou-dialog\"\nimport { EditOUDialog } from \"../../components/dialog/edit-ou-dialog/edit-ou-dialog\"\nimport { MoveItemsDialog } from \"../../components/dialog/move-items-dialog/move-items-dialog\"\nimport { DeleteGroupsButton } from \"../../components/organize-data-grid/delete-groups-button/delete-groups-button\"\nimport { MoveItemsButton } from \"../../components/organize-data-grid/move-items-button/move-items-button\"\nimport { OrganizeDataGrid } from \"../../components/organize-data-grid/organize-data-grid\"\nimport { useDataGridContext } from \"../../contexts/data-grid-provider\"\nimport type { HierarchyDataGridRow } from \"../../hooks/use-hierarchy-tree-data/types\"\nimport { useHierarchyTreeData } from \"../../hooks/use-hierarchy-tree-data/use-hierarchy-tree-data\"\n\nexport const OrganizeRoute: FC = () => {\n const params = useParams()\n const { orgId } = params\n const { organization } = useOrganization(orgId)\n const { mutateAsync } = useCreateOrganizationalUnit()\n const { organizationalUnits, isOrganizationalUnitsSuccess } =\n useOrganizationalUnits(orgId)\n // migration to strict mode batch disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call\n const rootOU = organizationalUnits?.find((ou) => ou.parentId === null)\n\n // This useEffect automatically creates an organization's root OU\n // if it doesn't exist and the org is enabled for Flexibile Hierarchy's UI.\n // The root OU is necessary for the organize route to function.\n useEffect(() => {\n const createRootOU = async () => {\n await mutateAsync({\n name: `${organization.name} - Root`,\n organizationId: Number(orgId),\n parentId: null,\n })\n }\n if (orgId && organization.name && isOrganizationalUnitsSuccess && !rootOU) {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n createRootOU()\n }\n }, [\n rootOU,\n isOrganizationalUnitsSuccess,\n mutateAsync,\n orgId,\n organization.name,\n ])\n\n const { rows, isHierarchyLoading } = useHierarchyTreeData(orgId)\n const { editedOU, setEditedOU } = useDataGridContext()\n const {\n close: createDialogClose,\n isOpen: createDialogIsOpen,\n open: createDialogOpen,\n } = useDisclosure()\n\n const {\n close: moveItemsDialogClose,\n isOpen: moveItemsDialogIsOpen,\n open: moveItemsDialogOpen,\n } = useDisclosure()\n\n const [selectedRows, setSelectedRows] = useState([])\n\n const handleEditDialogClose = () => {\n setEditedOU(null)\n }\n\n const handleRowSelect = useCallback(\n (ids: GridRowSelectionModel) => {\n const newSelectedRows = rows.filter((row) =>\n ids.includes(`${row.type}-${row.id}`)\n )\n setSelectedRows(newSelectedRows)\n },\n [rows]\n )\n\n return (\n \n \n }\n sx={{\n backgroundColor: \"primary.light\",\n color: (theme) => theme.palette.spectrum.blue[800],\n \"&:hover\": {\n backgroundColor: (theme) => theme.palette.spectrum.blue[200], // 20% darker color\n },\n }}\n variant=\"contained\"\n >\n Create New Group (OU)\n \n\n \n \n \n \n \n\n \n\n {editedOU ? (\n \n ) : null}\n\n {organizationalUnits ? (\n \n ) : null}\n\n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { useParams } from \"react-router-dom\"\n\nimport { Paper } from \"@mui/material\"\n\nimport { DeveloperAdminPath, RootPath } from \"../../../../models/route\"\nimport { useOrganization } from \"../../../../services\"\nimport OrgViewDetail from \"../../components/tamAdminOnboarding/orgView/orgViewDetail/orgViewDetail\"\nimport OrgViewOrganizationDetail from \"../../components/tamAdminOnboarding/orgView/orgViewOrganizationDetail/orgViewOrganizationDetail\"\n\nexport const OverviewRoute: FC = () => {\n const params = useParams()\n const { orgId } = params\n const { organization } = useOrganization(orgId)\n\n return (\n theme.typography.pxToRem(24),\n }}\n variant=\"outlined\"\n >\n \n \n \n \n )\n}\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { useNavigate } from \"react-router-dom\"\n\nimport { useDisclosure } from \"@/nzds/utils\"\nimport { useConfirm } from \"material-ui-confirm\"\n\nimport AddRoundedIcon from \"@mui/icons-material/AddRounded\"\nimport { Button } from \"@mui/material\"\n\nimport OrgViewDialog from \"../tamAdminOnboarding/orgView/orgViewDialog/orgViewDialog\"\nimport OrgViewDialogSiteCreateContent from \"../tamAdminOnboarding/orgView/orgViewDialog/orgViewDialogSiteCreateContent/orgViewDialogSiteCreateContent\"\nimport type { CreateSiteButtonProps } from \"./create-site-button.types\"\n\nexport const CreateSiteButton: FC = ({\n parentObjectIds,\n redirectPath,\n}) => {\n const { close, isOpen, open } = useDisclosure()\n const navigate = useNavigate()\n const confirm = useConfirm()\n\n const onSuccess = (newEntityId: string) => {\n navigate(`${redirectPath}/${newEntityId}`)\n }\n\n const showErrorDialog = async (errorMessage: string) => {\n await confirm({\n title: `Error creating site`,\n description:\n errorMessage ??\n \"An error occurred while creating the site. Please try again.\",\n confirmationText: \"Close\",\n hideCancelButton: true,\n confirmationButtonProps: {\n variant: \"text\",\n color: \"primary\",\n },\n })\n }\n\n const onError = (errorMessage: string) => {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n showErrorDialog(errorMessage)\n }\n\n return (\n <>\n }\n sx={{\n backgroundColor: \"primary.light\",\n color: (theme) => theme.palette.spectrum.blue[800],\n \"&:hover\": {\n backgroundColor: (theme) => theme.palette.spectrum.blue[200], // 20% darker color\n },\n }}\n variant=\"contained\"\n >\n Create Site\n \n \n }\n onClose={close}\n open={isOpen}\n title=\"Create Site\"\n />\n \n )\n}\n","import type { FC } from \"react\"\nimport React, { useMemo, useState } from \"react\"\nimport { Outlet, useParams } from \"react-router-dom\"\n\nimport { HStack } from \"@/nzds/layout\"\nimport { isNil } from \"lodash\"\n\nimport { Paper, Stack } from \"@mui/material\"\n\nimport { RootPath, TamAdminPath } from \"../../../../models/route\"\nimport { useBillingGroups, useMeters, useSites } from \"../../../../services\"\nimport { CreateSiteButton } from \"../../components/create-site-button/create-site-button\"\nimport OrgViewContainer from \"../../components/tamAdminOnboarding/orgView/orgViewContainer/orgViewContainer\"\nimport OrgViewList from \"../../components/tamAdminOnboarding/orgView/orgViewList/orgViewList\"\nimport { LIST_ITEM_NAME_PROPERTY } from \"../../models/onboarding/onboarding\"\n\nexport const SiteListRoute: FC = () => {\n const [filterSiteText, setFilterSiteText] = useState(\"\")\n const [filterBillingGroupText, setFilterBillingGroupText] = useState(\"\")\n const [filterMeterText, setFilterMeterText] = useState(\"\")\n const params = useParams()\n\n const { orgId, billingGroupId, siteId, meterId } = params\n\n const { sites, isSitesLoading } = useSites(orgId, {\n enabled: !!orgId,\n })\n\n const { billingGroups, isBillingGroupsLoading } = useBillingGroups({\n sort: { key: \"groupName\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any\n where: { site_id: siteId } as any,\n disabled: isNil(siteId),\n })\n\n const { meters, isMetersLoading } = useMeters({\n sort: { key: \"meterCode\", order: \"asc\" },\n // TODO: Verify / fix typing for where clause.\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n where: {\n billing_group_id: billingGroupId,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any,\n disabled: isNil(billingGroupId),\n })\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredSiteResults = useMemo(() => {\n if (filterSiteText?.length < 1) {\n return sites\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return sites.filter((site) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n site?.name.toLowerCase().includes(filterSiteText.toLowerCase())\n )\n }, [sites, filterSiteText])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredBillingGroupResults = useMemo(() => {\n if (filterBillingGroupText?.length < 1) {\n return billingGroups\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return billingGroups.filter((billingGroup) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n billingGroup?.groupName\n .toLowerCase()\n .includes(filterBillingGroupText.toLowerCase())\n )\n }, [billingGroups, filterBillingGroupText])\n\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const filteredMeterResults = useMemo(() => {\n if (filterMeterText?.length < 1) {\n return meters\n }\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return meters.filter((meter) =>\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n meter?.meterCode.toLowerCase().includes(filterMeterText.toLowerCase())\n )\n }, [meters, filterMeterText])\n\n return (\n <>\n \n \n \n \n \n \n 0}\n setFilterText={setFilterSiteText}\n title=\"Sites\"\n >\n \n \n 0}\n setFilterText={setFilterBillingGroupText}\n title=\"Billing Groups\"\n >\n {siteId && (\n \n )}\n \n 0}\n setFilterText={setFilterMeterText}\n title=\"Meters\"\n >\n {billingGroupId && (\n \n )}\n \n \n \n \n \n \n )\n}\n","import React from \"react\"\nimport { Navigate, Route, Routes } from \"react-router-dom\"\n\nimport { RootPath, TamAdminPath } from \"../../models/route\"\nimport { BillingGroupDetail } from \"./components/billing-group-detail/billing-group-detail\"\nimport { MeterDetail } from \"./components/meter-detail/meter-detail\"\nimport { SiteDetail } from \"./components/site-detail/site-detail\"\nimport { OrgLayout } from \"./components/tamAdminOnboarding/orgLayout/orgLayout\"\nimport OrgView from \"./components/tamAdminOnboarding/orgView/orgView\"\nimport TamAdminOnboarding from \"./components/tamAdminOnboarding/tamAdminOnboarding\"\nimport { DataGridProvider } from \"./contexts/data-grid-provider\"\nimport { useIsFlexibleHierarchyEnabled } from \"./hooks/useIsFlexibleHierarchyEnabled/useIsFlexibleHierarchyEnabled\"\nimport { OrganizeRoute } from \"./pages/organize-route/organize-route\"\nimport { OverviewRoute } from \"./pages/overview-route/overview-route\"\nimport { SiteListRoute } from \"./pages/site-list-route/site-list-route\"\n\n/**\n * All routes included under `/tam-admin`\n * @params props - The component properties\n * @example\n * return (\n * \n * )\n */\nconst AdminRoute = () => {\n const { isLoading, isFlexibleHierarchyEnabled } =\n useIsFlexibleHierarchyEnabled()\n\n if (isLoading) {\n return null\n }\n\n if (isFlexibleHierarchyEnabled) {\n return (\n \n \n }\n path=\"/\"\n />\n }\n path={TamAdminPath.Onboarding}\n />\n \n }\n path={TamAdminPath.OrgView}\n >\n } index />\n \n \n \n }\n path={TamAdminPath.Organize}\n />\n } path={TamAdminPath.SiteList}>\n } path={TamAdminPath.SiteDetail} />\n }\n path={TamAdminPath.BillingGroupDetail}\n />\n } path={TamAdminPath.MeterDetail} />\n \n \n \n )\n }\n return (\n \n \n }\n path=\"/\"\n />\n } path={TamAdminPath.Onboarding} />\n }\n path={`${TamAdminPath.Onboarding}/:orgId/department?/:departmentId?/site?/:siteId?/billing-group?/:billingGroupId?/meter?/:meterId?`}\n />\n \n )\n}\n\nexport default AdminRoute\n","import type { MouseEvent } from \"react\"\nimport React, { useCallback, useState } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\n\nimport { PersonRounded } from \"@mui/icons-material\"\nimport { Button, Menu, MenuItem, Typography } from \"@mui/material\"\n\nimport { If } from \"../../../../components/if/if\"\nimport { TYPOGRAPHY_VARIANT } from \"../../../../models/typography\"\nimport { pxToRem } from \"../../../../utils/unit\"\n\nconst TamAdminUserMenu = (): JSX.Element => {\n const [anchorEl, setAnchorEl] = useState(null)\n const isOpen = !!anchorEl\n const handleClick = useCallback((e: MouseEvent): void => {\n setAnchorEl(e.currentTarget)\n }, [])\n const handleClose = useCallback((): void => {\n setAnchorEl(null)\n }, [])\n const { activeUser, signOut } = useAuthentication()\n const userName = activeUser?.name\n\n const handleSignOutClick = useCallback((): void => {\n void signOut()\n }, [signOut])\n\n return (\n \n }\n >\n {userName}\n \n \n \n \n Sign Out\n \n \n \n \n )\n}\n\nexport default TamAdminUserMenu\n","import type { FC } from \"react\"\nimport React from \"react\"\n\nimport { HStack } from \"@/nzds/layout\"\n\nimport { AppBar, Box, Button, Link, Toolbar } from \"@mui/material\"\n\nimport { NzeroLogo } from \"../../../../components/logo/nzeroLogo\"\nimport { RootPath } from \"../../../../models/route\"\nimport TamAdminUserMenu from \"../tamAdminUserMenu/tamAdminUserMenu\"\n\nexport const TamAdminAppBar: FC = () => (\n \n \n \n \n \n \n \n Back to DAT\n \n \n \n \n \n)\n","import TamAdmin from \"./components/tamAdmin/tamAdmin\"\n\nexport default TamAdmin\n","import React from \"react\"\n\nimport { Box } from \"@mui/material\"\n\nimport AdminRoute from \"../../routes\"\nimport { TamAdminAppBar } from \"../tamAdminAppBar/tamAdminAppBar\"\n\nconst TamAdmin = (): JSX.Element => (\n <>\n \n \n \n \n \n)\n\nexport default TamAdmin\n","import { QueryCache, QueryClient } from \"@tanstack/react-query\"\n\nimport type { EnvironmentName } from \"../models/environment.types\"\n\nexport const queryClient = new QueryClient({\n queryCache: new QueryCache({\n onError: (error) => {\n // Temporarily throw errors vs. silently swallowing them.\n // TODO: Set up error boundaries to handle this.\n throw error\n },\n }),\n defaultOptions: {\n queries: {\n retry:\n // Limit retries on dev to save time.\n process.env.REACT_APP_ENV ===\n (\"acceptance\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV ===\n (\"development\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV === (\"fed\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV === (\"production\" satisfies EnvironmentName)\n ? 3\n : 1,\n cacheTime: 1000 * 60 * 5, // milliseconds * seconds * minutes\n staleTime: 1000 * 60 * 5, // milliseconds * seconds * minutes\n },\n },\n})\n","import { useMemo } from \"react\"\n\nimport { FeatureFlags, useFeature } from \"../feature\"\n\ninterface UseSSOForInternalUsersProps {\n email: string\n}\n\ninterface UseSSOForInternalUsersValue {\n isSSORequiredForInternalUsers: boolean\n}\n\nexport const useSSOForInternalUsers = ({\n email,\n}: UseSSOForInternalUsersProps): UseSSOForInternalUsersValue => {\n const { isFeatureEnabled } = useFeature()\n\n const isSSORequiredForInternalUsersEnabled = isFeatureEnabled(\n FeatureFlags.SSO_REQUIRE_INTERNAL_USERS,\n null\n )\n\n const isInternalUser: boolean = email.includes(\"@nzero.com\")\n\n const isSSORequiredForInternalUsers =\n isSSORequiredForInternalUsersEnabled && isInternalUser\n\n return useMemo(\n () => ({\n isSSORequiredForInternalUsers,\n }),\n [isSSORequiredForInternalUsers]\n )\n}\n","import React, { useMemo, useState } from \"react\"\nimport type { ChangeEvent, FC, FormEvent } from \"react\"\n\nimport { useSSOForInternalUsers } from \"@/services/sso\"\nimport { httpClient } from \"@/utils/api\"\nimport type { SuccessData } from \"@/utils/api\"\n\nimport CloseIcon from \"@mui/icons-material/Close\"\nimport {\n Alert,\n Box,\n Button,\n Collapse,\n Fade,\n IconButton,\n TextField,\n Typography,\n} from \"@mui/material\"\n\nimport { If } from \"../if/if\"\nimport { WhiteBox } from \"../whiteBox\"\nimport { validateEmail } from \"./forgot-password-utils\"\n\nconst sendForgotPasswordEmail = async (params): Promise => {\n try {\n const response = await httpClient.post(\n \"/api/v1/forgot_password\",\n params\n )\n\n return response.data\n } catch {\n console.error(\"Error sending forgot password email\")\n }\n}\n\nenum EmailStatus {\n Success,\n Unknown,\n Warning,\n}\n\nexport const ForgotPassword: FC = () => {\n const [email, setEmail] = useState(\"\")\n const [emailStatus, setEmailStatus] = useState(\n EmailStatus.Unknown\n )\n const [isValidEmail, setIsValidEmail] = useState(true)\n\n const { isSSORequiredForInternalUsers } = useSSOForInternalUsers({ email })\n\n const handleAlertClose = (): void => {\n setEmailStatus(EmailStatus.Unknown)\n }\n\n const handleEmailChange = (event: ChangeEvent): void => {\n setEmailStatus(EmailStatus.Unknown)\n setEmail(event.currentTarget.value)\n }\n\n const handleSubmit = async (event: FormEvent): Promise => {\n event.preventDefault()\n\n try {\n const response = await sendForgotPasswordEmail({ email })\n\n setEmailStatus(\n response.success ? EmailStatus.Success : EmailStatus.Warning\n )\n } catch (error: unknown) {\n setEmailStatus(EmailStatus.Warning)\n\n if (error instanceof Error) {\n console.error(error)\n }\n }\n }\n\n const emailHelperText: string = useMemo(() => {\n if (isSSORequiredForInternalUsers) {\n return \"Please log in using SSO\"\n }\n\n if (!isValidEmail) {\n return \"Please enter a valid email address\"\n }\n\n return \"\"\n }, [isSSORequiredForInternalUsers, isValidEmail])\n\n return (\n <>\n \n \n \n \n \n }\n severity=\"warning\"\n sx={(theme) => ({\n backgroundColor: theme.palette.background.paper,\n mb: 4,\n })}\n variant=\"outlined\"\n >\n There was a problem sending the email. Please check the email\n address and try again.\n \n \n \n \n
    \n \n \n Forgot Password\n \n\n \n \n Please enter your email address to reset your password. Be sure\n to check your spam folder and ensure that emails from\n no-reply@nzero.com are not blocked.\n \n {\n void handleSubmit(event)\n }}\n >\n \n {\n setIsValidEmail(validateEmail(event.currentTarget.value))\n }}\n onChange={handleEmailChange}\n />\n \n \n \n Send Password Reset Link\n \n \n \n \n\n \n \n If {email} exists, we’ll send you an email with a password\n reset link. Please check your inbox.\n \n \n {\n void handleSubmit(event)\n }}\n type=\"button\"\n variant=\"outlined\"\n >\n Resend Email\n \n \n \n \n
    \n
    \n \n )\n}\n","export const validateEmail = (email: string): boolean => {\n const regex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/\n return regex.test(email)\n}\n","import React, { useEffect } from \"react\"\nimport type { FC } from \"react\"\nimport { Outlet, useParams } from \"react-router-dom\"\n\nimport { useAuthorization, useOrganizationContext } from \"@/contexts\"\nimport type { Organization } from \"@/models/organization\"\n\nimport { Page404 } from \"../nav/page404\"\n\nexport const OrganizationGuard: FC = () => {\n const params = useParams()\n const { organization, setOrganization } = useOrganizationContext()\n const { authorizedOrganizations } = useAuthorization()\n\n const urlOrganization: Organization | undefined =\n authorizedOrganizations?.find((org) => org.id === params.orgId)\n\n useEffect(() => {\n if (urlOrganization && urlOrganization.id !== organization?.id) {\n setOrganization(urlOrganization)\n }\n }, [organization?.id, setOrganization, urlOrganization])\n\n if (!urlOrganization) {\n return \n }\n\n if (urlOrganization) {\n return \n }\n}\n","import React, { useCallback } from \"react\"\nimport type { MouseEvent } from \"react\"\n\nimport { FormTextField } from \"@/nzds/forms\"\n\nimport { Visibility, VisibilityOff } from \"@mui/icons-material\"\nimport { IconButton, InputAdornment } from \"@mui/material\"\n\nimport type { PasswordTextFieldProps } from \"./password-text-field.types\"\n\nexport const PasswordTextField = ({\n id,\n isPasswordVisible,\n label,\n onPasswordVisibleClick,\n ...props\n}: PasswordTextFieldProps) => {\n const handlePasswordVisibleClick = useCallback(\n (event: MouseEvent): void => {\n onPasswordVisibleClick(event)\n },\n [onPasswordVisibleClick]\n )\n\n const handlePasswordVisibleMouseDown = useCallback(\n (event: MouseEvent): void => {\n event.preventDefault()\n },\n []\n )\n\n return (\n \n fullWidth\n id={id}\n inputProps={{\n autoComplete: \"new-password\",\n type: isPasswordVisible ? \"text\" : \"password\",\n }}\n InputProps={{\n endAdornment: (\n \n \n {isPasswordVisible ? : }\n \n \n ),\n }}\n label={label}\n name={id}\n variant=\"outlined\"\n {...props}\n />\n )\n}\n","import {\n baseStringSchema,\n passwordSchema,\n validatePasswordMatch,\n validatePasswordMatchParams,\n} from \"@/schemas\"\nimport z from \"zod\"\n\nexport const resetPasswordSchema = z\n .object({\n confirmPassword: baseStringSchema,\n password: passwordSchema,\n })\n // Why partial? To allow the confirmPassword validation to display without having to complete the entire form.\n // See https://github.com/colinhacks/zod/issues/479#issuecomment-854822386\n .partial()\n .refine(validatePasswordMatch, validatePasswordMatchParams)\n\nexport type ResetPasswordSchema = z.infer\n","import type { FC } from \"react\"\nimport React, { useState } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\n\nimport { PasswordTextField } from \"@/components/form/password-text-field\"\nimport { passwordRequirementsMessage } from \"@/schemas\"\n\nimport { Box, Typography } from \"@mui/material\"\n\nimport { Form, SubmitButton, useForm } from \"../../../nzds\"\nimport type { ResetPasswordSchema } from \"./reset-password-form.schema\"\nimport { resetPasswordSchema } from \"./reset-password-form.schema\"\nimport type { ResetPasswordFormProps } from \"./reset-password-form.types\"\n\nexport const ResetPasswordForm: FC = ({\n onSubmit,\n user,\n}) => {\n const [isPasswordVisible, setIsPasswordVisible] = useState(false)\n\n const defaultFormValues: ResetPasswordSchema = {\n confirmPassword: \"\",\n password: \"\",\n }\n\n const form = useForm({\n schema: resetPasswordSchema,\n defaultValues: defaultFormValues,\n })\n\n const handlePasswordVisibleClick = (): void => {\n setIsPasswordVisible((isVisible) => !isVisible)\n }\n\n const handleSubmit: SubmitHandler = (value): void => {\n onSubmit(value)\n }\n\n return (\n <>\n \n {`Enter a new password for ${user?.email}`}\n \n\n \n aria-labelledby=\"resetPasswordHeader\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n helperText={passwordRequirementsMessage}\n id=\"password\"\n isPasswordVisible={isPasswordVisible}\n label=\"New Password\"\n onPasswordVisibleClick={handlePasswordVisibleClick}\n />\n \n id=\"confirmPassword\"\n isPasswordVisible={isPasswordVisible}\n label=\"Confirm New Password\"\n onPasswordVisibleClick={handlePasswordVisibleClick}\n />\n \n\n Reset Password\n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { Box, Button, Typography } from \"@mui/material\"\n\nimport { RootPath } from \"../../../models/route\"\n\nexport const ResetPasswordInvalid: FC = () => {\n return (\n \n \n This URL is invalid. Please try resetting your password again.\n \n \n Forgot Password\n \n \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { Box, Button, Typography } from \"@mui/material\"\n\nimport { RootPath } from \"../../../models/route\"\n\nexport const ResetPasswordSuccess: FC = () => {\n return (\n \n Your password has been successfully reset.\n \n Log In to NZero\n \n \n )\n}\n","import { httpClient } from \"@/utils/api\"\nimport type { SuccessData } from \"@/utils/api\"\n\nexport interface TokenUser {\n email: string\n id: string\n}\n\nexport interface GetUserByPasswordResetTokenData extends SuccessData {\n user: TokenUser\n}\n\nexport const getUserByPasswordResetToken = async (\n token\n): Promise => {\n try {\n const response = await httpClient.get(\n `/api/v1/password_reset/${token}`\n )\n\n return response.data.success ? response.data.user : null\n } catch {\n console.error(\"Error getting user by password reset token\")\n return null\n }\n}\n\nexport const updateUserPassword = async (\n token: string,\n params: { password: string }\n): Promise => {\n try {\n const response = await httpClient.patch(\n `/api/v1/password_reset/${token}`,\n params\n )\n\n return response.data\n } catch {\n console.error(\"Error updating user password\")\n return null\n }\n}\n","import type { FC } from \"react\"\nimport React, { useEffect, useState } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\nimport { useParams } from \"react-router-dom\"\n\nimport { Fade, Typography } from \"@mui/material\"\n\nimport { If } from \"../if/if\"\nimport { WhiteBox } from \"../whiteBox\"\nimport { ResetPasswordForm } from \"./reset-password-form/reset-password-form\"\nimport type { ResetPasswordSchema } from \"./reset-password-form/reset-password-form.schema\"\nimport { ResetPasswordInvalid } from \"./reset-password-invalid/reset-password-invalid\"\nimport { ResetPasswordSuccess } from \"./reset-password-success/reset-password-success\"\nimport {\n getUserByPasswordResetToken,\n updateUserPassword,\n} from \"./reset-password-utils\"\nimport type { TokenUser } from \"./reset-password-utils\"\n\nexport const ResetPassword: FC = () => {\n const { token } = useParams<{ token: string }>()\n const [user, setUser] = useState(undefined)\n const [isPasswordReset, setIsPasswordReset] = useState(false)\n\n const changePassword = async (password: string): Promise => {\n try {\n const data = await updateUserPassword(token, {\n password,\n })\n\n if (data.success) {\n setIsPasswordReset(true)\n }\n } catch (error) {\n console.error(error)\n }\n }\n\n const handleSubmit: SubmitHandler = (value): void => {\n void changePassword(value.password)\n }\n\n // TODO: Remove useEffect and create/use React Query hook\n // e.g. useResetPasswordAuthentication(token)\n // Fetch user by token\n useEffect(() => {\n if (!token) {\n setUser(null)\n return\n }\n\n const getUserByToken = async (): Promise => {\n try {\n const fetchedUser = await getUserByPasswordResetToken(token)\n\n setUser(fetchedUser)\n } catch (error) {\n console.error(error)\n }\n }\n\n void getUserByToken()\n }, [token])\n\n return (\n \n
    \n \n \n Reset Password\n \n\n \n \n \n\n \n \n \n\n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n","import React, { useCallback, useEffect } from \"react\"\nimport type { FC, ReactNode } from \"react\"\n\nimport {\n useAuthentication,\n useAuthorization,\n useOrganizationContext,\n} from \"@/contexts\"\nimport { CIN_BELL_ID } from \"@/models/organization\"\nimport type Organization from \"@/models/organization\"\nimport { useUserState } from \"@/utils/use-user-state\"\nimport { isCinBellUser } from \"@/utils/user\"\n\ninterface OrganizationResolverProps {\n children?: ReactNode\n}\n\n/**\n * A component that ensures an active organization is set when it otherwise wouldn't be\n *\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const OrganizationResolver: FC = ({\n children,\n}) => {\n const { activeUser } = useAuthentication()\n\n const { authorizedOrganizations } = useAuthorization()\n\n const { organization, setOrganization } = useOrganizationContext()\n\n const { userState } = useUserState()\n\n const savedOrganizationId = userState.organizationId\n\n const isOrganizationAuthorized = Boolean(\n authorizedOrganizations?.find((org) => org.id === organization?.id)\n )\n\n const setAndSaveOrganization = useCallback(\n (org: Organization): void => {\n setOrganization(org)\n },\n [setOrganization]\n )\n\n // Resolve the active organization\n useEffect(() => {\n const setActiveOrganization = (): void => {\n let defaultOrgId: string =\n activeUser?.organizationIds?.[0]?.toString() ?? \"\"\n const isCinBell: boolean = isCinBellUser(activeUser)\n\n // Default Cincinnati Bell users to Cincinnati Bell org view\n if (isCinBell) {\n defaultOrgId = CIN_BELL_ID\n }\n\n const defaultOrganization: Organization | undefined =\n authorizedOrganizations?.find((org) => org.id === defaultOrgId)\n\n const savedOrganization: Organization | undefined =\n authorizedOrganizations?.find((org) => org.id === savedOrganizationId)\n\n setAndSaveOrganization(\n savedOrganizationId ? savedOrganization : defaultOrganization\n )\n }\n\n if (authorizedOrganizations?.length && !isOrganizationAuthorized) {\n setActiveOrganization()\n }\n }, [\n activeUser,\n authorizedOrganizations,\n isOrganizationAuthorized,\n organization,\n savedOrganizationId,\n setAndSaveOrganization,\n setOrganization,\n ])\n\n return organization ? <>{children} : null\n}\n","// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const fetchPendo = (): Promise =>\n new Promise((resolve) => {\n const handleOnPendoLoad = () => {\n resolve(window.pendo as pendo.Pendo)\n }\n\n // Script from Pendo\n /* eslint-disable */\n ;(function (apiKey) {\n ;(function (p, e, n, d, o) {\n var v, w, x, y, z\n o = p[d] = p[d] || {}\n o._q = o._q || []\n v = [\"initialize\", \"identify\", \"updateOptions\", \"pageLoad\", \"track\"]\n for (w = 0, x = v.length; w < x; ++w)\n (function (m) {\n o[m] =\n o[m] ||\n function () {\n o._q[m === v[0] ? \"unshift\" : \"push\"](\n [m].concat([].slice.call(arguments, 0))\n )\n }\n })(v[w])\n y = e.createElement(n)\n y.async = !0\n y.src = \"https://cdn.pendo.io/agent/static/\" + apiKey + \"/pendo.js\"\n y.onload = handleOnPendoLoad\n z = e.getElementsByTagName(n)[0]\n z.parentNode.insertBefore(y, z)\n })(window, document, \"script\", \"pendo\")\n })(\"633f4ca3-095e-4357-73f4-d167c32faab1\")\n /* eslint-enable */\n })\n","import { useEffect } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\n\nimport type { EnvironmentName } from \"../../models/environment.types\"\nimport { usePendo } from \"./usePendo\"\n\nexport const usePendoInit = () => {\n const { authenticatedUser } = useAuthentication()\n const { isFetched, data: pendo } = usePendo()\n\n // Initialize Pendo\n useEffect(() => {\n if (authenticatedUser && isFetched) {\n pendo.initialize({\n visitor: {\n // Creating a unique identifier per environment ensures a consistent prod experience\n // https://support.pendo.io/hc/en-us/articles/360031862352-Pendo-in-Development-and-Testing\n id:\n process.env.REACT_APP_ENV !==\n (\"production\" satisfies EnvironmentName)\n ? `${authenticatedUser.email}-${process.env.REACT_APP_ENV}`\n : authenticatedUser.email,\n email: authenticatedUser.email,\n full_name: authenticatedUser.name,\n },\n })\n }\n }, [authenticatedUser, isFetched, pendo])\n}\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchPendo } from \"./usePendoUtils\"\n\n/**\n * The usePendo service/hook loads and provides pendo\n *\n * @returns Pendo\n * @example\n * const {\n * isPendoFetched,\n * pendo,\n * } = usePendo()\n */\nexport const usePendo = () => {\n return useQuery({\n // Loading pendo (a third-party script) only needs to be done once\n cacheTime: Infinity,\n queryFn: fetchPendo,\n queryKey: [ApiQueryName.Pendo],\n staleTime: Infinity,\n })\n}\n","import React, { useEffect } from \"react\"\nimport type { FC } from \"react\"\nimport { Outlet, useNavigate } from \"react-router-dom\"\n\nimport { OrganizationResolver } from \"@/components/organizationResolver\"\nimport { useAuthentication, useAuthorization } from \"@/contexts\"\nimport { RootPath } from \"@/models/route\"\nimport { UserSettingsProvider } from \"@/modules/settings\"\nimport { useData } from \"@/services/data\"\nimport { useDatadogRumSetUser } from \"@/services/datadog-rum\"\nimport { useGtagSetUser } from \"@/services/gtag\"\nimport { useActiveOrganizationId } from \"@/services/organization\"\nimport { usePendoInit } from \"@/services/pendo\"\nimport { getCurrentAppUrl } from \"@/utils\"\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nexport const AuthenticatedRoute: FC = () => {\n const { activeUser, authenticatedUser, isAuthenticated } = useAuthentication()\n const { authorizedOrganizations } = useAuthorization()\n useDatadogRumSetUser()\n // Set the gtag user_id here if user loads a page and is already authenticated\n useGtagSetUser()\n usePendoInit()\n const navigate = useNavigate()\n const { activeOrganizationId } = useActiveOrganizationId()\n const { dataIsFetched } = useData()\n\n // Start session replay once authenticated\n useEffect(() => {\n if (isAuthenticated) {\n datadogRum.startSessionReplayRecording()\n }\n }, [isAuthenticated])\n\n // Redirect to sign in if not authenticated\n useEffect(() => {\n const currentUrl = getCurrentAppUrl()\n const encodedCurrentUrl = encodeURIComponent(currentUrl)\n\n if (!isAuthenticated) {\n navigate(`${RootPath.Root}?from=${encodedCurrentUrl}`)\n }\n }, [isAuthenticated, navigate])\n\n return (\n activeUser &&\n authenticatedUser &&\n isAuthenticated &&\n authorizedOrganizations && (\n \n \n {activeOrganizationId && dataIsFetched ? : null}\n \n \n )\n )\n}\n","import { useEffect } from \"react\"\n\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { datadogRum } from \"@datadog/browser-rum\"\n\nexport const useDatadogRumSetUser = () => {\n const { authenticatedUser } = useAuthentication()\n const { organization } = useOrganizationContext()\n\n // Set Datadog RUM user\n useEffect(() => {\n if (authenticatedUser) {\n datadogRum.setUser({\n email: authenticatedUser.email,\n name: authenticatedUser.name,\n organization: organization?.name ?? \"\",\n role: authenticatedUser.role,\n })\n }\n }, [authenticatedUser, organization?.name])\n}\n","import { useEffect } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\n\nimport { useGtag } from \"./use-gtag\"\n\nexport const useGtagSetUser = () => {\n const { authenticatedUser, isAuthenticated } = useAuthentication()\n const { gtagData, gtagIsFetched } = useGtag()\n\n // Initialize Gtag user\n useEffect(() => {\n if (isAuthenticated && gtagData && gtagIsFetched) {\n gtagData?.gtag(\"set\", {\n user_id: authenticatedUser.email,\n })\n }\n }, [authenticatedUser, gtagData, gtagIsFetched, isAuthenticated])\n}\n","import {\n baseStringSchema,\n emailSchema,\n passwordSchema,\n requiredMessage,\n validatePasswordMatch,\n validatePasswordMatchParams,\n} from \"@/schemas\"\nimport z from \"zod\"\n\nexport const signUpSchema = z\n .object({\n confirmPassword: baseStringSchema,\n email: emailSchema,\n firstName: baseStringSchema.min(1, { message: requiredMessage }),\n lastName: baseStringSchema.min(1, { message: requiredMessage }),\n organizationName: baseStringSchema.min(1, { message: requiredMessage }),\n password: passwordSchema,\n recaptcha: z.string().min(1),\n termsAndConditions: z.coerce.boolean().refine((value) => value === true, {\n message: requiredMessage,\n }),\n title: baseStringSchema.optional(),\n })\n // Why partial? To allow the confirmPassword validation to display without having to complete the entire form.\n // See https://github.com/colinhacks/zod/issues/479#issuecomment-854822386\n .partial()\n .refine(validatePasswordMatch, validatePasswordMatchParams)\n\nexport type SignUpSchema = z.infer\n","import type { FC } from \"react\"\nimport React from \"react\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { Box, Button, Stack, Typography } from \"@mui/material\"\n\nimport verifyEmailImage from \"./verify-email.png\"\n\ninterface VerifyEmailProps {\n email: string\n}\n\nexport const VerifyEmail: FC = ({ email }) => {\n return (\n <>\n \n Verify Email\n \n \n \"\"\n \n \n We sent a verification link to {email}.
    \n If you don’t see it, check your spam folder.\n
    \n After confirming your email, you can explore the platform.\n
    \n \n \n Log In to NZero\n \n \n \n )\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport type { FC } from \"react\"\nimport React, { useRef, useState } from \"react\"\nimport ReCAPTCHA from \"react-google-recaptcha\"\nimport type { SubmitHandler } from \"react-hook-form\"\n\nimport {\n Form,\n FormCheckbox,\n FormTextField,\n SubmitButton,\n useForm,\n} from \"@/nzds\"\nimport { HStack } from \"@/nzds/layout\"\nimport { passwordRequirementsMessage } from \"@/schemas\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useGtag } from \"@/services/gtag\"\nimport { useCreateUser } from \"@/services/user\"\nimport type { CreateUserError } from \"@/services/user\"\nimport type { AxiosError } from \"axios\"\n\nimport { OpenInNew } from \"@mui/icons-material\"\nimport { Box, Fade, FormHelperText, Link, Typography } from \"@mui/material\"\n\nimport { PasswordTextField } from \"../form/password-text-field\"\nimport { If } from \"../if/if\"\nimport { Page404 } from \"../nav/page404\"\nimport { WhiteBox } from \"../whiteBox\"\nimport type { SignUpSchema } from \"./sign-up.schema\"\nimport { signUpSchema } from \"./sign-up.schema\"\nimport { VerifyEmail } from \"./verify-email/verify-email\"\n\nconst hasServerError = (\n error: AxiosError,\n regex: RegExp\n): boolean => {\n return !!error.response.data.errors.find((errorMessage) =>\n regex.test(errorMessage)\n )\n}\n\nexport const SignUp: FC = () => {\n const { isFeatureEnabled } = useFeature()\n const { gtagData } = useGtag()\n\n const [isEmailSent, setIsEmailSent] = useState(false)\n const [isPasswordVisible, setIsPasswordVisible] = useState(false)\n const isSignUpEnabled = isFeatureEnabled(FeatureFlags.APP_SIGN_UP, null)\n\n const recaptchaRef = useRef()\n\n const defaultFormValues: SignUpSchema = {\n confirmPassword: \"\",\n email: \"\",\n firstName: \"\",\n lastName: \"\",\n organizationName: \"\",\n password: \"\",\n recaptcha: \"\",\n title: \"\",\n termsAndConditions: false,\n }\n\n const form = useForm({\n schema: signUpSchema,\n defaultValues: defaultFormValues,\n })\n\n const { createUser, createUserIsLoading } = useCreateUser({\n onError: (error): void => {\n const emailDisallowedErrorMessage: string = hasServerError(\n error,\n /blacklisted email/i\n )\n ? \"Must be a valid business email address\"\n : \"\"\n\n const emailTakenErrorMessage: string = hasServerError(\n error,\n /email has already been taken/i\n )\n ? \"Email is already taken\"\n : \"\"\n\n const organizationNameTakenErrorMessage: string = hasServerError(\n error,\n /name/i\n )\n ? \"Organization Name is already taken\"\n : \"\"\n\n const recaptchaErrorMessage: string = hasServerError(error, /recaptcha/i)\n ? \"reCAPTCHA verification failed. Please try again.\"\n : \"\"\n\n if (emailDisallowedErrorMessage) {\n form.setError(\"root.emailServerError\", {\n message: emailDisallowedErrorMessage,\n type: error.response.statusText,\n })\n }\n\n if (emailTakenErrorMessage) {\n form.setError(\"root.emailServerError\", {\n message: emailTakenErrorMessage,\n type: error.response.statusText,\n })\n }\n\n if (organizationNameTakenErrorMessage) {\n form.setError(\"root.organizationNameServerError\", {\n message: organizationNameTakenErrorMessage,\n type: error.response.statusText,\n })\n }\n\n if (recaptchaErrorMessage) {\n form.setError(\"root.recaptchaServerError\", {\n message: recaptchaErrorMessage,\n type: error.response.statusText,\n })\n }\n\n // reCAPTCHA is a one-time use, so must reset for any error\n recaptchaRef.current?.reset()\n },\n onSuccess: () => {\n setIsEmailSent(true)\n gtagData?.gtag(\"event\", \"sign_up\")\n },\n })\n\n const handlePasswordVisibleClick = (): void => {\n setIsPasswordVisible((isVisible) => !isVisible)\n }\n\n const signUp = async (value: SignUpSchema): Promise => {\n await createUser({\n company_name: value.organizationName,\n email: value.email,\n first_name: value.firstName,\n last_name: value.lastName,\n password: value.password,\n recaptcha: value.recaptcha,\n role: \"free_user\",\n title: value.title,\n })\n }\n\n const handleRecaptchaChange = (value: string | null): void => {\n form.setValue(\"recaptcha\", value ?? \"\", {\n shouldDirty: true,\n shouldValidate: true,\n })\n\n form.clearErrors(\"root.recaptchaServerError\")\n }\n\n const handleSubmit: SubmitHandler = (value): void => {\n void signUp(value)\n }\n\n return isSignUpEnabled ? (\n \n
    \n \n \n \n Welcome to NZero\n \n \n Get started—it’s free. No credit card needed.\n \n \n aria-labelledby=\"signUpHeader\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n \n fullWidth\n id=\"firstName\"\n label=\"First Name\"\n name=\"firstName\"\n />\n \n fullWidth\n id=\"lastName\"\n label=\"Last Name\"\n name=\"lastName\"\n />\n \n\n \n \n error={Boolean(\n form.formState.errors.root?.organizationNameServerError\n )}\n fullWidth\n helperText={\n form.formState.errors.root?.organizationNameServerError\n ?.message\n }\n id=\"organizationName\"\n label=\"Organization Name\"\n name=\"organizationName\"\n />\n \n fullWidth\n id=\"title\"\n label=\"Role (Optional)\"\n name=\"title\"\n />\n \n\n \n fullWidth\n error={Boolean(form.formState.errors.root?.emailServerError)}\n helperText={\n form.formState.errors.root?.emailServerError?.message\n }\n id=\"email\"\n label=\"Email\"\n name=\"email\"\n />\n\n \n \n helperText={passwordRequirementsMessage}\n id=\"password\"\n isPasswordVisible={isPasswordVisible}\n label=\"Password\"\n onPasswordVisibleClick={handlePasswordVisibleClick}\n />\n \n id=\"confirmPassword\"\n isPasswordVisible={isPasswordVisible}\n label=\"Confirm Password\"\n onPasswordVisibleClick={handlePasswordVisibleClick}\n />\n \n\n \n \n id=\"termsAndConditions\"\n label={\n \n I accept the{\" \"}\n \n \n Terms and Service{\" \"}\n \n \n {\" \"}\n and I’m authorized to accept for my company.\n \n }\n name=\"termsAndConditions\"\n size=\"small\"\n />\n \n\n \n \n {form.formState.errors.root?.recaptchaServerError?.message ??\n \" \"}\n \n \n\n \n Sign Up\n \n \n \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n \n )\n}\n","import { baseStringSchema, emailSchema, requiredMessage } from \"@/schemas\"\nimport z from \"zod\"\n\nexport const loginSchema = z\n .object({\n email: emailSchema,\n password: baseStringSchema.min(1, { message: requiredMessage }),\n })\n // Why partial? To allow the confirmPassword validation to display without having to complete the entire form.\n // See https://github.com/colinhacks/zod/issues/479#issuecomment-854822386\n .partial()\n\nexport type LoginSchema = z.infer\n","import React, { useState } from \"react\"\nimport type { FC } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\nimport { Link as RouterLink } from \"react-router-dom\"\n\nimport { PasswordTextField } from \"@/components/form/password-text-field\"\nimport { useAuthentication } from \"@/contexts\"\nimport { RootPath } from \"@/models/route\"\nimport { Form, FormTextField, SubmitButton, useForm } from \"@/nzds/forms\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useGtag } from \"@/services/gtag\"\nimport { useSSOForInternalUsers } from \"@/services/sso\"\n\nimport {\n Alert,\n Box,\n Button,\n Collapse,\n Divider,\n Fade,\n Icon,\n Link,\n Stack,\n Typography,\n useTheme,\n} from \"@mui/material\"\n\nimport { If } from \"../if/if\"\nimport { WhiteBox } from \"../whiteBox\"\nimport { loginSchema } from \"./login.schema\"\nimport type { LoginSchema } from \"./login.schema\"\n\nexport const Login: FC = () => {\n const { gtagData } = useGtag()\n const theme = useTheme()\n const { isFeatureEnabled } = useFeature()\n const isSignUpEnabled = isFeatureEnabled(FeatureFlags.APP_SIGN_UP, null)\n const { signIn } = useAuthentication()\n const [isPasswordVisible, setIsPasswordVisible] = useState(false)\n const [isAccountError, setIsAccountError] = useState(false)\n\n const defaultFormValues: LoginSchema = {\n email: \"\",\n password: \"\",\n }\n\n const form = useForm({\n schema: loginSchema,\n defaultValues: defaultFormValues,\n })\n\n const email = form.watch(\"email\")\n\n const { isSSORequiredForInternalUsers } = useSSOForInternalUsers({\n email,\n })\n\n const handlePasswordVisibleClick = (): void => {\n setIsPasswordVisible((isVisible) => !isVisible)\n }\n\n const handleSubmit: SubmitHandler = async (\n value\n ): Promise => {\n setIsAccountError(false)\n\n const result = await signIn(value as Required)\n\n if (result) {\n // Must set the user_id before sending the login event\n gtagData?.gtag(\"set\", {\n user_id: value.email,\n })\n\n gtagData?.gtag(\"event\", \"login\", {\n method: \"nzero\",\n })\n } else {\n setIsAccountError(true)\n }\n }\n\n return (\n \n
    \n \n \n Log In\n \n\n \n \n \n Incorrect email or password. Try again or{\" \"}\n \n reset your password\n \n .\n \n \n \n \n aria-labelledby=\"logInHeader\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n fullWidth\n error={isSSORequiredForInternalUsers}\n helperText={\n isSSORequiredForInternalUsers\n ? \"Please log in using SSO\"\n : undefined\n }\n id=\"email\"\n label=\"Email\"\n name=\"email\"\n />\n \n id=\"password\"\n isPasswordVisible={isPasswordVisible}\n label=\"Password\"\n onPasswordVisibleClick={handlePasswordVisibleClick}\n />\n \n \n Forgot password?\n \n \n \n\n \n Log In with NZero\n \n \n\n \n Or\n \n \n key}\n href=\"/sso_login\"\n variant=\"outlined\"\n >\n Log In with SSO\n \n \n\n \n \n \n \n \n \n Don’t have an account?\n \n \n Sign Up\n \n \n \n \n
    \n
    \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Navigate, useSearchParams } from \"react-router-dom\"\n\nimport { OrganizationResolver } from \"@/components/organizationResolver\"\nimport { useAuthentication, useOrganizationContext } from \"@/contexts\"\nimport { useData } from \"@/services/data\"\nimport { useUrl } from \"@/utils/url\"\n\nimport { If } from \"../if/if\"\nimport { Login } from \"../login\"\n\nexport const SignIn: FC = () => {\n const { activeUser, isAuthenticated, isConsultantUser } = useAuthentication()\n const { organization } = useOrganizationContext()\n const activeOrganizationId = organization?.id\n const { dashboardPath, dataPath, reportingPath } = useUrl()\n const { dataHasData, dataIsFetched } = useData()\n\n const [searchParams] = useSearchParams()\n\n let landingPage = dashboardPath\n\n if (isConsultantUser) {\n landingPage = dataHasData ? reportingPath : dataPath\n }\n\n const redirectPath: string | undefined = searchParams.get(\"from\") ?? undefined\n\n const landingPath: string = redirectPath ?? landingPage\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import { emailSchema } from \"@/schemas\"\nimport z from \"zod\"\n\nexport const reSendSchema = z.object({\n email: emailSchema,\n})\n\nexport type ReSendSchema = z.infer\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport type { SubmitHandler } from \"react-hook-form\"\nimport { Link as RouterLink, useParams } from \"react-router-dom\"\n\nimport { RootPath } from \"@/models/route\"\nimport { Form, FormTextField, SubmitButton, useForm } from \"@/nzds\"\nimport { useResendEmail, useValidateAccount } from \"@/services/user\"\nimport type { ResendEmailError } from \"@/services/user\"\nimport type { AxiosError } from \"axios\"\n\nimport Box from \"@mui/material/Box\"\nimport Button from \"@mui/material/Button\"\nimport Fade from \"@mui/material/Fade\"\nimport Typography from \"@mui/material/Typography\"\n\nimport { If } from \"../if/if\"\nimport type { SignUpSchema } from \"../sign-up/sign-up.schema\"\nimport { VerifyEmail } from \"../sign-up/verify-email/verify-email\"\nimport { WhiteBox } from \"../whiteBox\"\nimport { reSendSchema } from \"./re-send.schema\"\nimport type { ReSendSchema } from \"./re-send.schema\"\n\nconst hasServerError = (\n error: AxiosError,\n regex: RegExp\n): boolean => {\n return !!error.response.data.errors.find((errorMessage) =>\n regex.test(errorMessage)\n )\n}\n\nexport const ValidateAccount: FC = () => {\n const { token } = useParams<{ token: string }>()\n\n const {\n validateAccountData,\n validateAccountIsError,\n validateAccountIsSuccess,\n } = useValidateAccount(token)\n\n const form = useForm({\n schema: reSendSchema,\n defaultValues: {\n email: \"\",\n },\n })\n\n const { resendEmail, resendEmailIsLoading, resendEmailIsSuccess } =\n useResendEmail({\n onError: (error): void => {\n const emailErrorMessage: string = hasServerError(error, /email/i)\n ? \"Invalid email address\"\n : \"\"\n\n if (emailErrorMessage) {\n form.setError(\"root.emailServerError\", {\n type: error.response.statusText,\n message: emailErrorMessage,\n })\n }\n },\n })\n\n const handleSubmit: SubmitHandler = (value): void => {\n void resendEmail(value.email)\n }\n\n return (\n \n
    \n \n \n \n You’re Verified\n \n \n \n Your account has been successfully verified.\n \n \n Log In to NZero\n \n \n \n \n\n \n \n \n \n Account Validation Failure\n \n \n If you need a new verification email, please enter your email\n address below.\n \n \n aria-labelledby=\"verificationErrorHeader\"\n form={form}\n onSubmit={handleSubmit}\n >\n \n \n fullWidth\n error={Boolean(\n form.formState.errors.root?.emailServerError\n )}\n helperText={\n form.formState.errors.root?.emailServerError?.message\n }\n id=\"email\"\n label=\"Email\"\n name=\"email\"\n />\n \n\n \n Resend Email\n \n \n \n \n \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n","import React from \"react\"\nimport type { FC } from \"react\"\nimport { Navigate, RouterProvider, createBrowserRouter } from \"react-router-dom\"\n\nimport { AuthenticatedLayout } from \"@/components/nav/authenticated-layout\"\nimport {\n fetchSessionValidity,\n getAuthenticatedUserQueryKey,\n getUser,\n isSessionValidQueryKey,\n} from \"@/contexts\"\nimport { RootPath } from \"@/models/route\"\nimport type { User } from \"@/models/user\"\nimport { aboutRoutes } from \"@/modules/about\"\nimport { assistantRoutes } from \"@/modules/assistant\"\nimport { dashboardRoutes } from \"@/modules/dashboard\"\nimport { dataRoutes } from \"@/modules/data\"\nimport { financialRoutes } from \"@/modules/financialSummary\"\nimport { recommendationsRoutes } from \"@/modules/recommendations\"\nimport { reportRoutes } from \"@/modules/report\"\nimport { settingsRoutes } from \"@/modules/settings/routes\"\nimport { siteRoutes } from \"@/modules/site\"\nimport TamAdmin from \"@/modules/tamAdmin/module\"\nimport { useGtag } from \"@/services/gtag\"\nimport { queryClient } from \"@/utils/queryClient\"\n\nimport { ForgotPassword } from \"../forgot-password/forgot-password\"\nimport { Page404 } from \"../nav/page404\"\nimport { OrganizationGuard } from \"../organization-guard\"\nimport { ResetPassword } from \"../reset-password/reset-password\"\nimport { AuthenticatedRoute } from \"../route/authenticated-route/authenticated-route\"\nimport { RoleGuard } from \"../route/role-guard\"\nimport { UnauthenticatedRoute } from \"../route/unauthenticated-route/unauthenticated-route\"\nimport { SignUp } from \"../sign-up/sign-up\"\nimport { SignIn } from \"../signIn/signIn\"\nimport { ValidateAccount } from \"../validate-account/validate-account\"\n\nimport \"@/styles/application.scss\"\n\ninterface AuthenticatedRouteLoaderValue {\n isSessionValid: boolean\n user: User | undefined\n}\n\nconst authenticatedRouteLoader =\n async (): Promise => {\n const invalidSessionValue: AuthenticatedRouteLoaderValue = {\n isSessionValid: false,\n user: undefined,\n }\n\n try {\n const isSessionValid = await queryClient.fetchQuery(\n isSessionValidQueryKey,\n fetchSessionValidity\n )\n\n if (!isSessionValid) {\n return invalidSessionValue\n }\n\n const [user] = await Promise.all([\n queryClient.fetchQuery({\n queryFn: getUser,\n queryKey: getAuthenticatedUserQueryKey,\n }),\n ])\n\n return {\n isSessionValid,\n user,\n }\n } catch (error: unknown) {\n if (error instanceof Error) {\n console.error(error)\n }\n\n console.error(\"Error preloading authenticated route data\")\n\n return invalidSessionValue\n }\n }\n\nconst router = createBrowserRouter([\n // Unauthenticated routes\n ...aboutRoutes,\n {\n path: RootPath.Root,\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n {\n path: RootPath.SignUp,\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n {\n path: `${RootPath.ValidateAccount}/:token`,\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n {\n path: RootPath.ForgotPassword,\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n {\n path: `${RootPath.ResetPassword}/:token`,\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ],\n },\n // Authenticated routes\n {\n element: ,\n loader: authenticatedRouteLoader,\n children: [\n // TAM Admin pages\n {\n path: RootPath.TamAdmin,\n element: (\n \n \n \n ),\n },\n {\n path: `${RootPath.TamAdmin}/*`,\n element: (\n \n \n \n ),\n },\n // Main authenticated pages\n {\n element: ,\n children: [\n ...settingsRoutes,\n {\n path: \":orgId\",\n element: ,\n children: [\n {\n index: true,\n element: ,\n },\n ...assistantRoutes,\n ...dashboardRoutes,\n ...dataRoutes,\n ...financialRoutes,\n ...recommendationsRoutes,\n ...reportRoutes,\n ...siteRoutes,\n ],\n },\n // Ensures authenticated route layout is rendered\n // when no matching route is found\n {\n path: \"*\",\n element: ,\n },\n ],\n },\n ],\n },\n {\n path: \"*\",\n element: ,\n },\n])\n\nexport const App: FC = () => {\n useGtag()\n\n return \n}\n","import React from \"react\"\nimport type { CSSProperties, FC } from \"react\"\n\ninterface NzeroSymbolLeftProps {\n height?: number | string\n style?: CSSProperties\n width?: number | string\n}\n\nexport const NzeroSymbolLeft: FC = ({\n height = \"100%\",\n style,\n width = \"100%\",\n}) => (\n \n \n \n)\n","import React from \"react\"\nimport type { CSSProperties, FC } from \"react\"\n\ninterface NzeroSymbolRightProps {\n height?: number | string\n style?: CSSProperties\n width?: number | string\n}\n\nexport const NzeroSymbolRight: FC = ({\n height = \"100%\",\n style,\n width = \"100%\",\n}) => (\n \n \n \n)\n","import React, { useEffect, useState } from \"react\"\nimport type { FC, ReactNode } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport { useAuthentication } from \"@/contexts\"\nimport { useTimeout } from \"@/nzds/utils\"\nimport { useFeature } from \"@/services/feature\"\nimport { animated, easings, useSprings } from \"@react-spring/web\"\n\nimport { NzeroSymbolLeft } from \"../../logo/nzero-symbol-left\"\nimport { NzeroSymbolRight } from \"../../logo/nzero-symbol-right\"\n\nconst minLoadingTime = 1000\n\ninterface AppLoaderProps {\n children: ReactNode\n}\n\nexport const AppLoader: FC = ({ children }) => {\n const { i18n } = useTranslation()\n const { isFeaturesFetched } = useFeature()\n\n const { isAuthenticatedUserFetched, isSessionValidFetched } =\n useAuthentication()\n\n const [minLoadingTimeReached, setMinLoadingTimeReached] =\n useState(false)\n\n const isReady: boolean =\n minLoadingTimeReached &&\n i18n.isInitialized &&\n isFeaturesFetched &&\n isAuthenticatedUserFetched &&\n isSessionValidFetched\n\n const [isAnimationComplete, setIsAnimationComplete] = useState(false)\n\n const springsCount = 2\n const [springs, springsApi] = useSprings(\n springsCount,\n (i) => ({\n from: { opacity: 0, transform: \"translateY(60px)\" },\n to: { opacity: 1, transform: \"translateY(0px)\" },\n delay: 200 + i * 40,\n config: (key) => {\n if (key === \"opacity\") {\n return { duration: 180, easing: easings.easeOutExpo }\n }\n\n return { duration: 180, easing: easings.easeOutQuart }\n },\n }),\n [springsCount]\n )\n\n useTimeout(() => {\n setMinLoadingTimeReached(true)\n }, minLoadingTime)\n\n useEffect(() => {\n if (isReady) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n springsApi.start((i) => ({\n to: { opacity: 0, transform: \"translateY(-60px)\" },\n delay: i * 40,\n config: (key) => {\n if (key === \"opacity\") {\n return { duration: 280, easing: easings.easeInExpo }\n }\n\n return { duration: 280, easing: easings.easeInQuart }\n },\n onRest: () => {\n if (i === springsCount - 1) {\n setIsAnimationComplete(true)\n }\n },\n }))\n }\n }, [isReady, springsApi])\n\n return !isAnimationComplete ? (\n \n \n \n \n \n \n \n \n
    \n
    \n ) : (\n <>{children}\n )\n}\n","import {\n cerulean25,\n cerulean50,\n cerulean100,\n cerulean200,\n cerulean300,\n cerulean400,\n cerulean500,\n cerulean600,\n cerulean700,\n cerulean800,\n green25,\n green50,\n green100,\n green200,\n green300,\n green400,\n green500,\n green600,\n green700,\n green800,\n mustard25,\n mustard50,\n mustard100,\n mustard200,\n mustard300,\n mustard400,\n mustard500,\n mustard600,\n mustard700,\n mustard800,\n peach25,\n peach50,\n peach100,\n peach200,\n peach300,\n peach400,\n peach500,\n peach600,\n peach700,\n peach800,\n primary25,\n primary50,\n primary100,\n primary200,\n primary300,\n primary400,\n primary500,\n primary600,\n primary700,\n primary800,\n purple25,\n purple50,\n purple100,\n purple200,\n purple300,\n purple400,\n purple500,\n purple600,\n purple700,\n purple800,\n red25,\n red50,\n red100,\n red200,\n red300,\n red400,\n red500,\n red600,\n red700,\n red800,\n} from \"../utils/colors\"\nimport type { Spectrum, SpectrumColor } from \"./styles.types\"\n\nexport const spectrum: Record = {\n blue: {\n 25: primary25.hex(),\n 50: primary50.hex(),\n 100: primary100.hex(),\n 200: primary200.hex(),\n 300: primary300.hex(),\n 400: primary400.hex(),\n 500: primary500.hex(),\n 600: primary600.hex(),\n 700: primary700.hex(),\n 800: primary800.hex(),\n },\n cerulean: {\n 25: cerulean25.hex(),\n 50: cerulean50.hex(),\n 100: cerulean100.hex(),\n 200: cerulean200.hex(),\n 300: cerulean300.hex(),\n 400: cerulean400.hex(),\n 500: cerulean500.hex(),\n 600: cerulean600.hex(),\n 700: cerulean700.hex(),\n 800: cerulean800.hex(),\n },\n green: {\n 25: green25.hex(),\n 50: green50.hex(),\n 100: green100.hex(),\n 200: green200.hex(),\n 300: green300.hex(),\n 400: green400.hex(),\n 500: green500.hex(),\n 600: green600.hex(),\n 700: green700.hex(),\n 800: green800.hex(),\n },\n mustard: {\n 25: mustard25.hex(),\n 50: mustard50.hex(),\n 100: mustard100.hex(),\n 200: mustard200.hex(),\n 300: mustard300.hex(),\n 400: mustard400.hex(),\n 500: mustard500.hex(),\n 600: mustard600.hex(),\n 700: mustard700.hex(),\n 800: mustard800.hex(),\n },\n peach: {\n 25: peach25.hex(),\n 50: peach50.hex(),\n 100: peach100.hex(),\n 200: peach200.hex(),\n 300: peach300.hex(),\n 400: peach400.hex(),\n 500: peach500.hex(),\n 600: peach600.hex(),\n 700: peach700.hex(),\n 800: peach800.hex(),\n },\n purple: {\n 25: purple25.hex(),\n 50: purple50.hex(),\n 100: purple100.hex(),\n 200: purple200.hex(),\n 300: purple300.hex(),\n 400: purple400.hex(),\n 500: purple500.hex(),\n 600: purple600.hex(),\n 700: purple700.hex(),\n 800: purple800.hex(),\n },\n red: {\n 25: red25.hex(),\n 50: red50.hex(),\n 100: red100.hex(),\n 200: red200.hex(),\n 300: red300.hex(),\n 400: red400.hex(),\n 500: red500.hex(),\n 600: red600.hex(),\n 700: red700.hex(),\n 800: red800.hex(),\n },\n}\n","import { UNITLESS_ROW_HEIGHT } from \"@/components/nzDataGrid\"\nimport { FONT_WEIGHT } from \"@/models/typography\"\n\nimport \"@mui/lab/themeAugmentation\"\nimport { createTheme } from \"@mui/material/styles\"\nimport type { ThemeOptions } from \"@mui/material/styles\"\nimport type {} from \"@mui/x-data-grid-pro/themeAugmentation\"\nimport type {} from \"@mui/x-date-pickers-pro/themeAugmentation\"\n\nimport {\n black,\n gray25,\n gray50,\n gray100,\n gray200,\n gray300,\n gray400,\n gray500,\n gray600,\n gray700,\n gray800,\n green300,\n green400,\n green500,\n lightGray,\n mustard200,\n mustard300,\n mustard500,\n newBlue,\n primary100,\n primary300,\n primary400,\n primary500,\n white,\n} from \"../utils/colors\"\nimport { pxToRem } from \"../utils/unit\"\nimport { spectrum } from \"./spectrum\"\nimport type { Spectrum } from \"./styles.types\"\n\ndeclare module \"@mui/material\" {\n interface Color {\n \"25\": string\n }\n}\n\ndeclare module \"@mui/material/Card\" {\n interface CardPropsVariantOverrides {\n contained: true\n }\n}\ndeclare module \"@mui/material/Paper\" {\n interface PaperPropsVariantOverrides {\n contained: true\n }\n}\n// Update the Button's color prop options\ndeclare module \"@mui/material/Button\" {\n interface ButtonPropsColorOverrides {\n neutral: true\n }\n}\n\ndeclare module \"@mui/material/Chip\" {\n interface ChipPropsColorOverrides {\n neutral: true\n }\n}\n\ndeclare module \"@mui/material/CircularProgress\" {\n interface CircularProgressPropsColorOverrides {\n neutral: true\n }\n}\n\ndeclare module \"@mui/material/Switch\" {\n interface SwitchPropsColorOverrides {\n neutral: true\n }\n}\n\n// Update the IconButton's color prop options\ndeclare module \"@mui/material/IconButton\" {\n interface IconButtonPropsColorOverrides {\n neutral: true\n }\n}\n\ndeclare module \"@mui/material/ToggleButtonGroup\" {\n interface ToggleButtonGroupPropsColorOverrides {\n neutral: true\n }\n}\n\n// Update the Icon's color prop options\ndeclare module \"@mui/material/SvgIcon\" {\n interface SvgIconPropsColorOverrides {\n neutral: true\n }\n}\n\ndeclare module \"@mui/material/styles\" {\n interface Palette {\n neutral: Palette[\"primary\"]\n spectrum: Spectrum\n }\n\n interface PaletteOptions {\n neutral?: PaletteOptions[\"primary\"]\n spectrum?: Partial\n }\n\n // allow configuration using `createTheme`\n interface TypographyVariants {\n body100?: React.CSSProperties\n body200?: React.CSSProperties\n body300?: React.CSSProperties\n body400?: React.CSSProperties\n dataLabel?: React.CSSProperties\n header100?: React.CSSProperties\n header200?: React.CSSProperties\n header300?: React.CSSProperties\n hero?: React.CSSProperties\n overview?: React.CSSProperties\n }\n\n interface TypographyVariantsOptions {\n body100?: React.CSSProperties\n body200?: React.CSSProperties\n body300?: React.CSSProperties\n body400?: React.CSSProperties\n dataLabel?: React.CSSProperties\n header100?: React.CSSProperties\n header200?: React.CSSProperties\n header300?: React.CSSProperties\n hero?: React.CSSProperties\n overview?: React.CSSProperties\n }\n}\n\ndeclare module \"@mui/material/Typography\" {\n interface TypographyPropsVariantOverrides {\n body100: true\n body200: true\n body300: true\n body400: true\n dataLabel: true\n header100: true\n header200: true\n header300: true\n hero: true\n overview: true\n }\n}\n\nconst { palette, typography } = createTheme()\nconst themeOptions: ThemeOptions = {\n breakpoints: {\n values: {\n xs: 0,\n sm: 600,\n md: 900,\n lg: 1350,\n xl: 1536,\n },\n },\n palette: {\n primary: {\n light: primary100.hex(),\n main: primary400.hex(),\n dark: primary500.hex(),\n },\n secondary: {\n main: primary100.hex(),\n },\n neutral: palette.augmentColor({\n color: {\n light: gray300.hex(),\n main: gray500.hex(),\n dark: gray700.hex(),\n },\n }),\n success: {\n light: green300.hex(),\n main: green400.hex(),\n dark: green500.hex(),\n },\n warning: {\n light: mustard200.hex(),\n main: mustard300.hex(),\n dark: mustard500.hex(),\n },\n info: {\n light: primary300.hex(),\n main: primary400.hex(),\n dark: primary500.hex(),\n },\n common: {\n black: black.hex(),\n white: white.hex(),\n },\n grey: {\n \"25\": gray25.hex(),\n \"50\": gray50.hex(),\n \"100\": gray100.hex(),\n \"200\": gray200.hex(),\n \"300\": gray300.hex(),\n \"400\": gray400.hex(),\n \"500\": gray500.hex(),\n \"600\": gray600.hex(),\n \"700\": gray700.hex(),\n \"800\": gray800.hex(),\n \"900\": gray800.darken(0.1).hex(),\n },\n text: { primary: gray800.hex() },\n spectrum,\n },\n components: {\n MuiAlert: {\n styleOverrides: {\n action: ({ theme }) => ({\n paddingTop: theme.spacing(0.25),\n }),\n },\n },\n MuiAlertTitle: {\n styleOverrides: {\n root: {\n fontWeight: FONT_WEIGHT.bold,\n },\n },\n },\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n backgroundColor: gray25.hex(),\n height: \"100vh\",\n },\n },\n },\n MuiCircularProgress: {\n defaultProps: {\n color: \"neutral\",\n },\n },\n MuiButton: {\n styleOverrides: {\n startIcon: ({ theme }) => ({\n \"&.MuiButton-sizeSmall\": {\n marginLeft: theme.spacing(-0.5),\n },\n \"&.MuiButton-sizeMedium\": {\n marginLeft: theme.spacing(-1),\n },\n \"&.MuiButton-sizeLarge\": {\n marginLeft: theme.spacing(-1.5),\n },\n }),\n endIcon: ({ theme }) => ({\n \"&.MuiButton-sizeSmall\": {\n marginRight: theme.spacing(-0.5),\n },\n \"&.MuiButton-sizeMedium\": {\n marginRight: theme.spacing(-1),\n },\n \"&.MuiButton-sizeLarge\": {\n marginRight: theme.spacing(-1.5),\n },\n }),\n root: {\n boxShadow: \"none\",\n fontWeight: FONT_WEIGHT.bold,\n textTransform: \"unset\",\n \"&:hover\": {\n boxShadow: \"none\",\n },\n },\n sizeSmall: ({ theme }) => ({\n fontSize: pxToRem(14),\n lineHeight: pxToRem(20),\n padding: `${pxToRem(6)} ${theme.spacing(2)}`,\n \"&.MuiButton-outlined\": {\n padding: `calc(${pxToRem(6)} - 1px) ${theme.spacing(2)}`,\n },\n }),\n sizeMedium: ({ theme }) => ({\n fontSize: pxToRem(16),\n lineHeight: pxToRem(24),\n padding: theme.spacing(1, 2.5),\n \"&.MuiButton-outlined\": {\n padding: `calc(${theme.spacing(1)} - 1px) ${theme.spacing(2.5)}`,\n },\n }),\n sizeLarge: ({ theme }) => ({\n lineHeight: pxToRem(24),\n padding: theme.spacing(1.5, 3),\n \"&.MuiButton-outlined\": {\n padding: `calc(${theme.spacing(1.5)} - 1px) ${theme.spacing(3)}`,\n },\n }),\n },\n },\n MuiIconButton: {\n styleOverrides: {\n sizeSmall: {\n height: \"32px\",\n minHeight: \"32px\", // Ensure button doesn't collapse when in a smaller container\n minWidth: \"32px\",\n width: \"32px\",\n },\n },\n },\n MuiToggleButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n textTransform: \"unset\",\n \"&.MuiToggleButton-root\": {\n backgroundColor: theme.palette.common.white,\n color: theme.palette.grey[800],\n borderColor: theme.palette.grey[200],\n },\n \"&.Mui-selected.MuiToggleButton-root\": {\n borderColor: theme.palette.grey[500],\n backgroundColor: theme.palette.grey[100],\n },\n }),\n sizeSmall: ({ theme }) => ({\n padding: `calc(${theme.spacing(0.75)} - 1px) ${theme.spacing(1.5)}`,\n fontSize: theme.typography.pxToRem(14),\n lineHeight: theme.spacing(2.5),\n }),\n sizeMedium: ({ theme }) => ({\n padding: `calc(${theme.spacing(1)} - 1px) ${theme.spacing(1.5)}`,\n fontSize: theme.typography.pxToRem(16),\n lineHeight: theme.spacing(3),\n }),\n },\n },\n MuiToggleButtonGroup: {\n styleOverrides: {\n grouped: {\n \"&:not(:first-of-type):not(.Mui-selected)\": {\n borderLeft: \"none\",\n marginLeft: 0,\n },\n },\n },\n },\n MuiStepConnector: {\n styleOverrides: {\n line: ({ theme }) => ({\n borderColor: theme.palette.grey[100],\n }),\n },\n },\n MuiStepContent: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderColor: theme.palette.grey[100],\n }),\n },\n },\n MuiStepLabel: {\n styleOverrides: {\n iconContainer: ({ theme }) => ({\n fontWeight: theme.typography.fontWeightBold,\n }),\n label: ({ theme }) => ({\n fontWeight: theme.typography.fontWeightBold,\n \"&.Mui-active\": {\n fontWeight: theme.typography.fontWeightBold,\n },\n \"&.MuiStepLabel-alternativeLabel\": {\n marginTop: theme.spacing(1),\n },\n }),\n },\n },\n MuiFormControlLabel: {\n styleOverrides: {\n root: {\n marginLeft: 0,\n marginRight: 0,\n },\n labelPlacementTop: ({ theme }) => ({\n \"& .MuiFormControlLabel-label\": {\n alignSelf: \"flex-start\",\n marginBottom: theme.spacing(0.5),\n },\n }),\n },\n },\n MuiInputLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n \"&.Mui-focused\": {\n color: theme.palette.text.secondary,\n },\n \"&.Mui-error\": {\n color: theme.palette.text.secondary,\n },\n }),\n outlined: {\n transform: \"none\",\n position: \"relative\",\n marginBottom: pxToRem(4),\n pointerEvents: \"auto\",\n },\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n \"&.Mui-focused\": {\n color: theme.palette.text.secondary,\n },\n \"&.Mui-error\": {\n color: theme.palette.text.secondary,\n },\n }),\n },\n },\n MuiFormHelperText: {\n styleOverrides: {\n contained: ({ theme }) => ({\n lineHeight: 1.2,\n marginLeft: theme.spacing(0.5),\n marginTop: theme.spacing(0.5),\n }),\n },\n },\n MuiSvgIcon: {\n styleOverrides: {\n fontSizeLarge: {\n fontSize: \"24px\",\n },\n colorSecondary: {\n color: newBlue.toString(),\n },\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.grey[800],\n }),\n },\n },\n MuiListItemIcon: {\n styleOverrides: {\n root: {\n color: \"inherit\",\n },\n },\n },\n MuiListItemText: {\n styleOverrides: {\n root: {\n marginBottom: 0,\n marginTop: 0,\n minWidth: \"auto\",\n },\n },\n },\n MuiAppBar: {\n styleOverrides: {\n root: ({ theme }) => ({\n background: theme.palette.grey[25],\n boxShadow: \"none\",\n }),\n },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n \"&.Mui-focused .MuiOutlinedInput-notchedOutline\": {\n borderColor: `${theme.palette.primary.main} !important`, // this is a hack to override the specificity of the Mui-focused class\n },\n }),\n notchedOutline: {\n top: \"0\",\n borderWidth: \"1px !important\",\n \"& legend\": {\n display: \"none\",\n },\n },\n input: {\n padding: \"8.5px\",\n },\n inputSizeSmall: {\n padding: \"4.5px 4.5px 4.5px 8.5px\",\n },\n },\n },\n MuiTable: {\n defaultProps: {\n stickyHeader: true,\n },\n styleOverrides: {\n root: {\n border: `1px solid ${lightGray.toString()}`,\n },\n },\n },\n MuiTablePagination: {\n styleOverrides: {\n root: {\n display: \"flex\",\n justifyContent: \"center\",\n border: `1px solid ${lightGray.toString()}`,\n borderTop: \"none\",\n borderBottomLeftRadius: pxToRem(4),\n borderBottomRightRadius: pxToRem(4),\n },\n },\n },\n MuiPaper: {\n defaultProps: {\n elevation: 2,\n },\n styleOverrides: {\n root: {\n borderRadius: pxToRem(8),\n },\n outlined: {\n borderColor: lightGray.toString(),\n },\n },\n },\n MuiInputBase: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: \"inherit\",\n letterSpacing: \"inherit\",\n lineHeight: \"inherit\",\n color: \"inherit\",\n \"&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline\":\n {\n borderColor: theme.palette.primary.main,\n },\n }),\n },\n },\n MuiCard: {\n variants: [\n {\n props: { variant: \"contained\" },\n style: {\n backgroundColor: gray25.hex(),\n borderRadius: \"0.5rem\",\n },\n },\n ],\n },\n MuiCardContent: {\n styleOverrides: {\n root: ({ theme }) => ({\n \"&:last-child\": {\n padding: theme.spacing(2),\n },\n }),\n },\n },\n MuiChip: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.text.primary,\n \"&.MuiChip-colorPrimary.MuiChip-filledPrimary\": {\n backgroundColor: theme.palette.spectrum.blue[100],\n },\n \"&.MuiChip-colorPrimary.MuiChip-outlinedPrimary\": {\n backgroundColor: theme.palette.spectrum.blue[100],\n borderColor: theme.palette.spectrum.blue[400],\n },\n \"&.MuiChip-colorSecondary.MuiChip-filledSecondary\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n },\n \"&.MuiChip-colorSecondary.MuiChip-outlinedSecondary\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n borderColor: theme.palette.spectrum.blue[100],\n },\n \"&.MuiChip-colorError.MuiChip-filledError\": {\n backgroundColor: theme.palette.spectrum.red[100],\n },\n \"&.MuiChip-colorError.MuiChip-outlinedError\": {\n backgroundColor: theme.palette.spectrum.red[100],\n borderColor: theme.palette.spectrum.red[400],\n },\n \"&.MuiChip-colorSuccess.MuiChip-filledSuccess\": {\n backgroundColor: theme.palette.spectrum.green[100],\n },\n \"&.MuiChip-colorSuccess.MuiChip-outlinedSuccess\": {\n backgroundColor: theme.palette.spectrum.green[100],\n borderColor: theme.palette.spectrum.green[400],\n },\n \"&.MuiChip-colorWarning.MuiChip-filledWarning\": {\n backgroundColor: theme.palette.spectrum.mustard[100],\n },\n \"&.MuiChip-colorWarning.MuiChip-outlinedWarning\": {\n backgroundColor: theme.palette.spectrum.mustard[100],\n borderColor: theme.palette.spectrum.mustard[400],\n },\n \"&.MuiChip-colorNeutral.MuiChip-filledNeutral\": {\n backgroundColor: theme.palette.grey[100],\n },\n \"&.MuiChip-colorNeutral.MuiChip-outlinedNeutral\": {\n backgroundColor: theme.palette.grey[100],\n borderColor: theme.palette.grey[400],\n },\n \"&.MuiChip-colorInfo.MuiChip-filledInfo\": {\n backgroundColor: theme.palette.spectrum.blue[100],\n },\n \"&.MuiChip-colorInfo.MuiChip-outlinedInfo\": {\n backgroundColor: theme.palette.spectrum.blue[100],\n borderColor: theme.palette.spectrum.blue[400],\n },\n }),\n labelSmall: ({ theme }) => ({\n fontSize: theme.typography.pxToRem(14),\n }),\n labelMedium: ({ theme }) => ({\n fontSize: theme.typography.pxToRem(16),\n }),\n },\n },\n MuiTabs: {\n styleOverrides: {\n root: ({ theme }) => ({\n minHeight: theme.typography.pxToRem(40),\n }),\n },\n },\n MuiTab: {\n styleOverrides: {\n root: ({ theme }) => ({\n height: theme.typography.pxToRem(40),\n minHeight: theme.typography.pxToRem(40),\n textTransform: \"none\",\n fontSize: theme.typography.pxToRem(16),\n fontWeight: theme.typography.fontWeightBold,\n color: theme.palette.neutral.dark,\n \"&:hover\": {\n backgroundColor: theme.palette.grey[50],\n },\n \"&.Mui-selected\": {\n color: theme.palette.primary.main,\n },\n \"&:hover.Mui-selected\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n },\n }),\n },\n },\n MuiDialogActions: {\n styleOverrides: {\n root: ({ theme }) => ({\n gap: theme.spacing(2),\n paddingTop: theme.spacing(1),\n paddingRight: theme.spacing(2),\n paddingLeft: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n }),\n },\n },\n MuiDialogContentText: {\n styleOverrides: {\n root: {\n color: \"inherit\",\n },\n },\n },\n MuiDialogTitle: {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.typography.h2,\n color: gray800.toString(),\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }),\n },\n },\n MuiRadio: {\n styleOverrides: {\n root: ({ theme }) => ({\n padding: theme.spacing(0.5),\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n }),\n },\n },\n MuiSkeleton: {\n styleOverrides: {\n rounded: ({ theme }) => ({\n borderRadius: theme.spacing(1),\n }),\n },\n },\n MuiTooltip: {\n styleOverrides: {\n tooltip: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n color: theme.palette.text.primary,\n boxShadow: theme.shadows[4],\n paddingTop: theme.spacing(0.5),\n paddingBottom: theme.spacing(0.5),\n paddingLeft: theme.spacing(1.5),\n paddingRight: theme.spacing(1.5),\n fontSize: theme.typography.pxToRem(14),\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n borderColor: theme.palette.grey[100],\n }),\n row: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n \"&:hover\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n },\n \"&.Mui-hovered\": {\n backgroundColor: theme.palette.spectrum.blue[50],\n },\n borderColor: theme.palette.grey[50],\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n }),\n columnHeaderTitle: ({ theme }) => ({\n ...theme.typography.body1,\n fontWeight: theme.typography.fontWeightBold,\n }),\n columnHeaderTitleContainer: ({ theme, ownerState }) => ({\n alignItems:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? \"center\"\n : \"flex-start\",\n \"& .MuiDataGrid-columnHeaderTitleContainerContent\": {\n paddingTop:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? 0\n : theme.spacing(1),\n paddingBottom:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? 0\n : theme.spacing(1),\n },\n }),\n columnSeparator: ({ theme, ownerState }) => ({\n justifyContent:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? \"center\"\n : \"flex-start\",\n paddingTop:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? 0\n : theme.spacing(1),\n }),\n menuIcon: ({ theme, ownerState }) => ({\n alignItems:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? \"center\"\n : \"flex-start\",\n paddingTop:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? 0\n : theme.spacing(0.5),\n }),\n iconButtonContainer: ({ theme, ownerState }) => ({\n paddingTop:\n ownerState?.columnHeaderHeight === UNITLESS_ROW_HEIGHT\n ? 0\n : theme.spacing(0.5),\n }),\n },\n },\n MuiDrawer: {\n styleOverrides: {\n paper: () => ({\n borderRight: \"none\",\n }),\n },\n },\n },\n typography: {\n fontFamily: \"Lato, Arial\",\n hero: {\n lineHeight: 1.6,\n fontSize: pxToRem(32),\n fontWeight: FONT_WEIGHT.normal,\n },\n h1: {\n lineHeight: 1.6,\n fontSize: pxToRem(26),\n fontWeight: FONT_WEIGHT.bold,\n },\n h2: {\n lineHeight: 1.4,\n fontSize: pxToRem(20),\n fontWeight: FONT_WEIGHT.normal,\n },\n h3: {\n lineHeight: 1.5,\n fontSize: pxToRem(18),\n fontWeight: FONT_WEIGHT.normal,\n },\n h4: {\n lineHeight: 1.5,\n fontSize: pxToRem(16),\n fontWeight: FONT_WEIGHT.normal,\n },\n h5: {\n lineHeight: 1.4,\n fontSize: pxToRem(14),\n fontWeight: FONT_WEIGHT.bold,\n },\n h6: {\n lineHeight: 1.4,\n fontSize: pxToRem(14),\n fontWeight: FONT_WEIGHT.normal,\n },\n body1: {\n fontSize: pxToRem(16),\n lineHeight: 1.5,\n fontWeight: FONT_WEIGHT.normal,\n },\n body2: {\n fontSize: pxToRem(14),\n lineHeight: 1.4,\n fontWeight: FONT_WEIGHT.normal,\n },\n caption: {\n fontSize: pxToRem(12),\n lineHeight: 1.2,\n fontWeight: FONT_WEIGHT.normal,\n },\n dataLabel: {\n fontSize: pxToRem(10),\n lineHeight: 1.2,\n fontWeight: FONT_WEIGHT.normal,\n },\n header100: {\n fontSize: typography.pxToRem(26),\n lineHeight: 41.6 / 26,\n fontWeight: typography.fontWeightBold,\n },\n header200: {\n fontSize: typography.pxToRem(20),\n lineHeight: 32 / 20,\n fontWeight: typography.fontWeightRegular,\n },\n header300: {\n fontSize: typography.pxToRem(18),\n lineHeight: 27 / 18,\n fontWeight: typography.fontWeightRegular,\n },\n body100: {\n fontSize: typography.pxToRem(16),\n lineHeight: 24 / 16,\n fontWeight: typography.fontWeightRegular,\n },\n body200: {\n fontSize: typography.pxToRem(14),\n lineHeight: 20 / 14,\n fontWeight: typography.fontWeightRegular,\n },\n body300: {\n fontSize: typography.pxToRem(12),\n lineHeight: 1.2,\n fontWeight: typography.fontWeightRegular,\n },\n body400: {\n fontSize: typography.pxToRem(10),\n lineHeight: 1.2,\n fontWeight: typography.fontWeightRegular,\n },\n overview: {\n fontSize: typography.pxToRem(32),\n lineHeight: 51.2 / 32,\n fontWeight: typography.fontWeightRegular,\n },\n },\n}\n\nconst MainTheme = createTheme(themeOptions)\n\nexport default MainTheme\n","import React, { StrictMode } from \"react\"\nimport { createRoot } from \"react-dom/client\"\nimport { Provider as ReduxProvider } from \"react-redux\"\n\nimport { App } from \"@/components/app/app\"\nimport { AppLoader } from \"@/components/route/app-loader\"\nimport {\n AuthenticationProvider,\n AuthorizationProvider,\n NotificationProvider,\n OrganizationProvider,\n} from \"@/contexts\"\nimport type { EnvironmentName } from \"@/models/environment.types\"\nimport createStore from \"@/state/store\"\nimport MainTheme from \"@/styles/theme\"\nimport { createI18nService, initializeI18nService } from \"@/utils/i18n\"\nimport { queryClient } from \"@/utils/queryClient\"\nimport { datadogRum } from \"@datadog/browser-rum\"\nimport { QueryClientProvider } from \"@tanstack/react-query\"\nimport { ReactQueryDevtools } from \"@tanstack/react-query-devtools\"\nimport type { i18n } from \"i18next\"\nimport { ConfirmProvider } from \"material-ui-confirm\"\n\nimport { CssBaseline, StyledEngineProvider, ThemeProvider } from \"@mui/material\"\nimport { LicenseInfo } from \"@mui/x-license-pro\"\n\nLicenseInfo.setLicenseKey(process.env.REACT_APP_MUI_LICENSE_KEY)\n\n// Initialize RUM\nif (\n process.env.REACT_APP_ENV === (\"development\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV === (\"acceptance\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV === (\"fed\" satisfies EnvironmentName) ||\n process.env.REACT_APP_ENV === (\"production\" satisfies EnvironmentName)\n) {\n datadogRum.init({\n actionNameAttribute: \"data-analytics-action-name\",\n allowedTracingUrls: [/https:\\/\\/.*\\.(nzero|ledger8760)\\.com/],\n applicationId: process.env.REACT_APP_DD_RUM_APPLICATION_ID,\n clientToken: process.env.REACT_APP_DD_RUM_CLIENT_TOKEN,\n defaultPrivacyLevel: \"mask-user-input\",\n env: process.env.REACT_APP_ENV,\n service: \"puma\",\n sessionReplaySampleRate:\n process.env.REACT_APP_ENV === (\"production\" satisfies EnvironmentName)\n ? 100\n : 0,\n sessionSampleRate: 100,\n site: \"datadoghq.com\",\n startSessionReplayRecordingManually: true,\n trackLongTasks: true,\n trackResources: true,\n trackUserInteractions: true,\n version: APP_VERSION,\n })\n}\n\n// Set up internationalization service\nconst i18nService: i18n = createI18nService()\n\ninitializeI18nService(i18nService).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n})\n\n// Create Redux store\nconst store = createStore({\n sagaMiddlewareContext: {\n i18n: i18nService,\n },\n})\n\n// Create root and render app\nconst root = createRoot(document.getElementById(\"root\"))\n\nroot.render(\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n","import { FeeType } from \"./fee\"\nimport { MeasurementSystemName } from \"./measurementSystem\"\nimport type { IToken } from \"./token\"\n\nexport enum GhgWeightUnit {\n Lbs = \"lbs\",\n Mt = \"mt\",\n}\n\nexport enum UnitSeparator {\n Of = \"of\",\n Per = \"per\",\n}\n\nexport type EnergyUnitName = \"GJ\" | \"kBtu\"\n\nexport interface IUnitSeparator extends IToken {\n displayValue: string\n id: UnitSeparator\n}\n\nexport const UnitSeparators = new Map([\n [\n UnitSeparator.Of,\n {\n id: UnitSeparator.Of,\n displayValue: \" \",\n tokenValue: \"-of-\",\n },\n ],\n [\n UnitSeparator.Per,\n {\n id: UnitSeparator.Per,\n displayValue: \" / \",\n tokenValue: \"-per-\",\n },\n ],\n])\n\nexport enum UnitName {\n CarbonDioxideEquivalent = \"carbon-dioxide-equivalent\",\n CarbonDioxideEquivalentOfMetricTons = \"carbon-dioxide-equivalent-of-metric-ton\",\n Celsius = \"celsius\",\n CubicMeter = \"cubic-meter\",\n Currency = \"currency\",\n CurrencyPerKilowattHour = \"currency-per-kilowatt-hour\",\n CurrencyPerMegawattHour = \"currency-per-megawatt-hour\",\n CurrencyPerSquareFoot = \"currency-per-square-foot\",\n CurrencyPerSquareMeter = \"currency-per-square-meter\",\n Fahrenheit = \"fahrenheit\",\n Gallon = \"gallon\",\n GigaJoule = \"giga-joule\",\n GigaJoulePerSquareFoot = \"giga-joule-per-square-foot\",\n KiloBritishThermalUnit = \"kilo-british-thermal-unit\",\n KiloBritishThermalUnitPerSquareFoot = \"kilo-british-thermal-unit-per-square-foot\",\n Kilogram = \"kilogram\",\n KilogramsOfCarbonDioxideEquivalent = \"kilogram-of-carbon-dioxide-equivalent\",\n KilogramsOfCarbonDioxideEquivalentPerSquareFoot = \"kilogram-of-carbon-dioxide-equivalent-per-square-foot\",\n Kilowatt = \"kilowatt\",\n KilowattHour = \"kilowatt-hour\",\n KilowattHourPerSquareFoot = \"kilowatt-hour-per-square-foot\",\n KilowattHourPerSquareMeter = \"kilowatt-hour-per-square-meter\",\n MegawattHour = \"megawatt-hour\",\n MegawattHourPerSquareFoot = \"megawatt-hour-per-square-foot\",\n MegawattHourPerSquareMeter = \"megawatt-hour-per-square-meter\",\n MetricMillionBritishThermalUnits = \"metric-million-british-thermal-units\",\n MetricMillionBritishThermalUnitsPerSquareFeet = \"metric-million-british-thermal-units-per-square-foot\",\n MetricTon = \"metric-ton\",\n MetricTonsOfCarbonDioxideEquivalent = \"metric-ton-of-carbon-dioxide-equivalent\",\n MetricTonsOfCarbonDioxideEquivalentPerKilowattHour = \"metric-ton-of-carbon-dioxide-equivalent-per-kilowatt-hour\",\n MetricTonsOfCarbonDioxideEquivalentPerMegawattHour = \"metric-ton-of-carbon-dioxide-equivalent-per-megawatt-hour\",\n MetricTonsOfCarbonDioxideEquivalentPerSquareFoot = \"metric-ton-of-carbon-dioxide-equivalent-per-square-foot\",\n MetricTonsOfCarbonDioxideEquivalentPerSquareMeter = \"metric-ton-of-carbon-dioxide-equivalent-per-square-meter\",\n PerKilowatt = \"-per-kilowatt\",\n PerKilowattHour = \"-per-kilowatt-hour\",\n PerSquareFoot = \"-per-square-foot\",\n PerSquareMeter = \"-per-square-meter\",\n Pound = \"pound\",\n PoundsOfCarbonDioxideEquivalent = \"pound-of-carbon-dioxide-equivalent\",\n PoundsOfCarbonDioxideEquivalentPerKiloBritishThermalUnit = \"pound-of-carbon-dioxide-equivalent-per-kilo-british-thermal-unit\",\n PoundsOfCarbonDioxideEquivalentPerMegawattHour = \"pound-of-carbon-dioxide-equivalent-per-megawatt-hour\",\n PoundsOfCarbonDioxideEquivalentPerSquareFoot = \"pound-of-carbon-dioxide-equivalent-per-square-foot\",\n RenewableEnergyCertificates = \"recs\",\n SquareFoot = \"square-foot\",\n SquareMeter = \"square-meter\",\n Therm = \"therm\",\n}\n\nexport const UnitNameToUSCUnitNameMap = new Map([\n [UnitName.Celsius, UnitName.Fahrenheit],\n [UnitName.Kilogram, UnitName.Pound],\n [UnitName.SquareMeter, UnitName.SquareFoot],\n [UnitName.CubicMeter, UnitName.Gallon],\n])\n\nexport const USCUnitNameToUnitNameMap = new Map(\n Array.from(UnitNameToUSCUnitNameMap).map(\n (pair: [UnitName, UnitName]): [UnitName, UnitName] =>\n [...pair].reverse() as [UnitName, UnitName]\n )\n)\n\nexport const CustomVariableNameToUnitKeyMap = new Map([\n [\"Sq ft\", \"SquareFoot\"],\n])\n\nexport const FeeTypeToUnitKeyMap = new Map([\n [FeeType.Kilowatt, \"Kilowatt\"],\n [FeeType.KilowattHour, \"KilowattHour\"],\n])\n\nexport interface IUnit extends IToken {\n id: UnitName\n isECMAScriptSupported: boolean\n measurementSystem: MeasurementSystemName | null\n shortDisplayValue: string | null\n}\n\nexport const Units = new Map([\n [\n UnitName.CarbonDioxideEquivalent,\n {\n id: UnitName.CarbonDioxideEquivalent,\n isECMAScriptSupported: false,\n measurementSystem: null,\n shortDisplayValue: \"CO2e\",\n tokenValue: UnitName.CarbonDioxideEquivalent,\n },\n ],\n [\n UnitName.Celsius,\n {\n id: UnitName.Celsius,\n isECMAScriptSupported: true,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"\", // determined by Intl.NumberFormat\n tokenValue: UnitName.Celsius,\n },\n ],\n [\n UnitName.Currency,\n {\n id: UnitName.Currency,\n isECMAScriptSupported: false,\n measurementSystem: null,\n shortDisplayValue: null, // determined at runtime based on the locale\n tokenValue: UnitName.Currency,\n },\n ],\n [\n UnitName.Fahrenheit,\n {\n id: UnitName.Fahrenheit,\n isECMAScriptSupported: true,\n measurementSystem: MeasurementSystemName.USC,\n shortDisplayValue: \"\", // determined by Intl.NumberFormat\n tokenValue: UnitName.Fahrenheit,\n },\n ],\n [\n UnitName.Kilogram,\n {\n id: UnitName.Kilogram,\n isECMAScriptSupported: true,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: null, // determined by Intl.NumberFormat\n tokenValue: UnitName.Kilogram,\n },\n ],\n [\n UnitName.Kilowatt,\n {\n id: UnitName.Kilowatt,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"kW\",\n tokenValue: \"kilowatt\",\n },\n ],\n [\n UnitName.KilowattHour,\n {\n id: UnitName.KilowattHour,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"kWh\",\n tokenValue: UnitName.KilowattHour,\n },\n ],\n [\n UnitName.MegawattHour,\n {\n id: UnitName.MegawattHour,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"MWh\",\n tokenValue: UnitName.MegawattHour,\n },\n ],\n [\n UnitName.MetricTon,\n {\n id: UnitName.MetricTon,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"MT\",\n tokenValue: UnitName.MetricTon,\n },\n ],\n [\n UnitName.Pound,\n {\n id: UnitName.Pound,\n isECMAScriptSupported: true,\n measurementSystem: MeasurementSystemName.USC,\n shortDisplayValue: null, // determined by Intl.NumberFormat\n tokenValue: UnitName.Pound,\n },\n ],\n [\n UnitName.RenewableEnergyCertificates,\n {\n id: UnitName.RenewableEnergyCertificates,\n isECMAScriptSupported: false,\n measurementSystem: null,\n shortDisplayValue: \"RECs\",\n tokenValue: UnitName.RenewableEnergyCertificates,\n },\n ],\n [\n UnitName.SquareFoot,\n {\n id: UnitName.SquareFoot,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.USC,\n shortDisplayValue: \"sq ft\",\n tokenValue: UnitName.SquareFoot,\n },\n ],\n [\n UnitName.SquareMeter,\n {\n id: UnitName.SquareMeter,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"sq m\",\n tokenValue: UnitName.SquareMeter,\n },\n ],\n [\n UnitName.CubicMeter,\n {\n id: UnitName.CubicMeter,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"m³\",\n tokenValue: UnitName.CubicMeter,\n },\n ],\n [\n UnitName.Gallon,\n {\n id: UnitName.Gallon,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.USC,\n shortDisplayValue: \"gal\",\n tokenValue: UnitName.Gallon,\n },\n ],\n [\n UnitName.Therm,\n {\n id: UnitName.Therm,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.BIS,\n shortDisplayValue: \"thm\",\n tokenValue: UnitName.Therm,\n },\n ],\n [\n UnitName.GigaJoule,\n {\n id: UnitName.GigaJoule,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.SI,\n shortDisplayValue: \"GJ\",\n tokenValue: UnitName.GigaJoule,\n },\n ],\n [\n UnitName.KiloBritishThermalUnit,\n {\n id: UnitName.KiloBritishThermalUnit,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.BIS,\n shortDisplayValue: \"kBtu\",\n tokenValue: UnitName.KiloBritishThermalUnit,\n },\n ],\n [\n UnitName.MetricMillionBritishThermalUnits,\n {\n id: UnitName.MetricMillionBritishThermalUnits,\n isECMAScriptSupported: false,\n measurementSystem: MeasurementSystemName.BIS,\n shortDisplayValue: \"MMBtu\",\n tokenValue: UnitName.MetricMillionBritishThermalUnits,\n },\n ],\n])\n","import type { WhereClause } from \"spraypaint\"\nimport { Attr, Model } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport type { IFetchApplicationRecordOptions } from \"./applicationRecord/applicationRecord\"\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport { fetchBillingGroupMeterCount } from \"./meter\"\nimport { Order } from \"./sort\"\n\nexport interface IBillingGroupCounts {\n meters: number\n}\n\n@Model()\nexport default class BillingGroup extends ApplicationRecord {\n public static jsonapiType = \"billing_groups\"\n\n @Attr() public readonly groupName: string\n\n @Attr() public readonly siteId: number\n\n @Attr() public readonly alias: string\n\n @Attr() public readonly dateCreated: string\n\n @Attr() public readonly dateUpdated: string\n}\n\n/**\n * Fetches the counts for an billing group\n *\n * @param billingGroupId - The billing group id\n * @returns - The billing group counts\n * @example\n * fetchBillingGroupCounts(\"15\")\n */\nexport const fetchBillingGroupCounts = async (\n billingGroupId: string\n): Promise => {\n const meters = await fetchBillingGroupMeterCount(billingGroupId)\n\n return { meters }\n}\n\n/**\n * Fetches the billing group count for a site\n *\n * @param siteId - The site id\n * @returns - The billing group count\n * @example\n * fetchSiteBillingGroupCount(\"15\")\n */\nexport const fetchSiteBillingGroupCount = async (\n siteId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await BillingGroup.where({\n site_id: siteId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\n/**\n * Fetches the billing group count for an organization\n *\n * @param orgId - The organization id\n * @returns - The billing group count\n * @example\n * fetchOrganizationBillingGroupCount(\"15\")\n */\nexport const fetchOrganizationBillingGroupCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await BillingGroup.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\nexport const fetchBillingGroups = async (\n clause: WhereClause,\n options?: Partial\n): Promise => {\n const mergedOptions: IFetchApplicationRecordOptions = {\n ...{\n order: Order.asc,\n orderBy: \"groupName\",\n pageSize: 1000,\n pageNumber: 1,\n },\n ...options,\n }\n\n if (!clause) {\n return []\n }\n\n const response: CollectionProxy = await BillingGroup.where(\n clause\n )\n .order({ [mergedOptions.orderBy]: mergedOptions.order })\n .per(mergedOptions.pageSize)\n .page(mergedOptions.pageNumber)\n .all()\n return response.data\n}\n","import { Attr, BelongsTo, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Organization from \"./organization\"\nimport { fetchDepartmentSiteCount } from \"./site\"\n\nexport interface IDepartmentCounts {\n sites: number\n}\n\n@Model()\nexport class Department extends ApplicationRecord {\n public static jsonapiType = \"departments\"\n\n @BelongsTo(\"organizations\") public organization: Organization\n\n @Attr() public readonly name: string\n\n @Attr() public readonly dateCreated: string\n\n @Attr() public readonly dateUpdated: string\n\n @Attr() public readonly organizationId: number\n}\n\nexport default Department\n\n/**\n * Fetches the department count for an organization\n *\n * @param orgId - The organization id\n * @returns - The department count\n * @example\n * fetchOrganizationDepartmentCount(\"15\")\n */\nexport const fetchOrganizationDepartmentCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await Department.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\n/**\n * Fetches the counts for an department\n *\n * @param departmentId - The department id\n * @returns - The department counts\n * @example\n * fetchDepartmentCounts(\"15\")\n */\nexport const fetchDepartmentCounts = async (\n departmentId: string\n): Promise => {\n const sites = await fetchDepartmentSiteCount(departmentId)\n\n return { sites }\n}\n","import { Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class OrganizationEmissions extends ApplicationRecord {\n public static jsonapiType = \"organization_emissions\"\n}\n\n/**\n * Fetches the organization emissions count for an organization\n *\n * @param orgId - The organization id\n * @returns - The organization emissions count\n * @example\n * fetchOrganizationEmissionsCount(\"15\")\n */\nexport const fetchOrganizationEmissionsCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await OrganizationEmissions.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n","import { Attr, BelongsTo, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport { fetchOrganizationBillingGroupCount } from \"./billingGroup\"\nimport type Confirm from \"./confirm\"\nimport { fetchOrganizationDepartmentCount } from \"./department\"\nimport Locale from \"./locale\"\nimport { fetchOrganizationMeterCount } from \"./meter\"\nimport { fetchOrganizationEmissionsCount } from \"./organizationEmissions\"\nimport type OrganizationalUnit from \"./organizationalUnit\"\nimport { fetchOrganizationalUnitCount } from \"./organizationalUnit\"\nimport type Site from \"./site\"\nimport { fetchOrganizationSiteCount } from \"./site\"\nimport { fetchOrganizationEnergyManagerCount } from \"./user\"\n\nexport const CIN_BELL_ID = \"15\"\nexport const demoOrganizations: string[] = [\"City of Avalon\"]\n\nexport interface IOrganizationCounts {\n billingGroups: number\n departments: number\n energyManagers: number\n meters: number\n organizationEmissions: number\n organizationalUnits: number\n sites: number\n}\n\n@Model()\nexport class Organization extends ApplicationRecord {\n public static jsonapiType = \"organizations\"\n\n @BelongsTo(Locale) public locale: Locale\n\n @HasMany(\"confirms\") public confirms: Confirm[]\n\n @HasMany(\"sites\") public sites: Site[]\n\n @HasMany(\"organizational_units\")\n public organizationalUnits: OrganizationalUnit[]\n\n @Attr() public readonly name: string\n\n @Attr() public readonly demoOrganization: boolean\n\n @Attr() public readonly dateCreated: string\n\n @Attr() public readonly dateUpdated: string\n\n @Attr() public localeId: string\n\n @Attr() public readonly siteIds: number[]\n\n @Attr() public readonly displayNullState: boolean\n\n @Attr() public readonly hasBundled: boolean\n\n @Attr() public readonly isMarketTest: boolean\n\n @Attr() public readonly notes: string\n\n @Attr() public readonly hierarchy: string\n}\n\nexport default Organization\n\n/**\n * Fetches the counts for an organization\n *\n * @param orgId - The organization id\n * @returns - The organization counts\n * @example\n * fetchOrganizationCounts(\"15\")\n */\nexport const fetchOrganizationCounts = async (\n orgId: string\n): Promise => {\n const [\n billingGroups,\n departments,\n organizationalUnits,\n meters,\n organizationEmissions,\n sites,\n energyManagers,\n ] = await Promise.allSettled([\n fetchOrganizationBillingGroupCount(orgId),\n fetchOrganizationDepartmentCount(orgId),\n fetchOrganizationalUnitCount(orgId),\n fetchOrganizationMeterCount(orgId),\n fetchOrganizationEmissionsCount(orgId),\n fetchOrganizationSiteCount(orgId),\n fetchOrganizationEnergyManagerCount(orgId),\n ]).then((results) =>\n results.map((result) => {\n if (result.status === \"fulfilled\") {\n return result.value\n }\n console.error(`Failed to fetch organization count: ${result.reason}`)\n return null\n })\n )\n\n const counts: IOrganizationCounts = {\n billingGroups,\n departments,\n organizationalUnits,\n meters,\n organizationEmissions,\n sites,\n energyManagers,\n }\n\n return counts\n}\n","import type { i18n } from \"i18next\"\n\nimport { CurrencySymbolPosition } from \"../models/currency\"\nimport type { CurrencyCode } from \"../models/currencyCode\"\nimport type {\n IDecimalFormat,\n IDecimalOptions,\n IDecimalWithPlaceholderOptions,\n} from \"./decimal\"\nimport { translateDecimal, translateDecimalWithPlaceholder } from \"./decimal\"\n\nconst defaultCurrencyFormatConfig: IDecimalFormat = {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n}\n\nconst getCurrencyFormatConfig = (\n currency: CurrencyCode,\n format?: IDecimalFormat | null\n): IDecimalFormat => {\n const formatConfig: IDecimalFormat = {\n ...defaultCurrencyFormatConfig,\n ...format,\n style: \"currency\",\n currency,\n }\n\n if (Number.isFinite(formatConfig.precision)) {\n delete formatConfig.minimumFractionDigits\n delete formatConfig.maximumFractionDigits\n }\n\n return formatConfig\n}\n\nexport const getCurrencySymbol = (\n locale: string,\n currency: CurrencyCode\n): string => {\n const currencySymbol: string = Intl.NumberFormat(locale, {\n style: \"currency\",\n currency,\n })\n .formatToParts(0)\n .find((part) => part.type === \"currency\")?.value\n\n return currencySymbol\n}\n\nexport const getCurrencySymbolPosition = (\n locale: string,\n currency: CurrencyCode\n): CurrencySymbolPosition => {\n const currencyIndex: number = Intl.NumberFormat(locale, {\n style: \"currency\",\n currency,\n })\n .formatToParts(0)\n .findIndex((part) => part.type === \"currency\")\n\n return currencyIndex === 0\n ? CurrencySymbolPosition.Left\n : CurrencySymbolPosition.Right\n}\n\nexport const translateCurrency = (\n i18nService: i18n,\n currency: CurrencyCode,\n value: number | string | null | undefined,\n format?: IDecimalFormat | null,\n options?: IDecimalOptions\n): string => {\n const currencyFormatConfig: IDecimalFormat = getCurrencyFormatConfig(\n currency,\n format\n )\n\n return translateDecimal(i18nService, value, currencyFormatConfig, options)\n}\n\nexport const translateCurrencyWithPlaceholder = (\n i18nService: i18n,\n currency: CurrencyCode,\n value: number | string | null | undefined,\n format?: IDecimalFormat | null,\n options?: IDecimalWithPlaceholderOptions\n): string => {\n const currencyFormatConfig: IDecimalFormat = getCurrencyFormatConfig(\n currency,\n format\n )\n\n return translateDecimalWithPlaceholder(\n i18nService,\n value,\n currencyFormatConfig,\n options\n )\n}\n","import { Attr, Model } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\nexport const DEFAULT_CURRENCY_PLACEHOLDER = \"_.__\"\n\nexport enum CurrencySymbolPosition {\n Left,\n Right,\n}\n\n@Model()\nexport default class Currency extends ApplicationRecord {\n public static jsonapiType = \"currencies\"\n\n @Attr() public readonly type: string\n\n @Attr() public readonly name: string\n\n @Attr() public readonly alphaCode: string\n\n @Attr() public readonly numericCode: number\n\n @Attr() public readonly minorUnitRatio: number\n}\n\nexport const fetchCurrencies = async (): Promise => {\n const response: CollectionProxy = await Currency.all()\n return response.data\n}\n","import createClient from \"openapi-fetch\"\n\nimport createFetchClient from \"./fetch-client/client\"\nimport type { paths } from \"./generated/schema\"\n\n// Must be a function instead of a static variable for msw v2 compatibility\n// because it needs to be set up after msw overwrites fetch\n// See https://github.com/openapi-ts/openapi-typescript/issues/1878\nexport const client = () =>\n createClient({\n baseUrl: process.env.REACT_APP_API_BASE_URL ?? \"\",\n bodySerializer: (body) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n JSON.stringify(body, (k, v) => (v === undefined ? null : v)),\n })\n\nexport const fetchClient = createFetchClient({\n baseUrl: process.env.REACT_APP_API_BASE_URL ?? \"\",\n})\n","import type { CurrencyCode } from \"../models/currencyCode\"\nimport { LanguageCurrencyMap } from \"../models/currencyCode\"\nimport type { LanguageRegion } from \"../models/i18n\"\nimport { UnitName } from \"../models/unit\"\n\n// DEPRECATED: DO NOT USE\n/**\n * @deprecated\n */\nconst enum WattUnit {\n KWH = \"KWh\",\n MWH = \"MWh\",\n}\n\nconst CURRENCY_KEY = \"currency\"\nconst LANGUAGE_KEY = \"language\"\nconst WATT_UNIT_KEY = \"watt-unit\"\n\nexport const getCurrency = (): CurrencyCode | null => {\n const savedCurrencyCode = localStorage.getItem(CURRENCY_KEY) as CurrencyCode\n\n // Only return valid saved currency codes\n // If an invalid currency code makes it way into local storage, return null\n return Array.from(LanguageCurrencyMap.values()).includes(savedCurrencyCode)\n ? savedCurrencyCode\n : null\n}\n\nexport const getLanguage = (): LanguageRegion | null =>\n localStorage.getItem(LANGUAGE_KEY) as LanguageRegion\n\nexport const saveCurrency = (currency: CurrencyCode): void => {\n localStorage.setItem(CURRENCY_KEY, currency)\n}\n\nexport const saveLanguage = (language: LanguageRegion): void => {\n localStorage.setItem(LANGUAGE_KEY, language)\n}\n\nexport const getWattUnit = ():\n | UnitName.KilowattHour\n | UnitName.MegawattHour => {\n const savedWattUnit: string = localStorage.getItem(WATT_UNIT_KEY)\n\n // Also handle old implementation using WattUnit to preserve compatibility\n if (\n savedWattUnit === WattUnit.KWH ||\n savedWattUnit === UnitName.KilowattHour\n ) {\n return UnitName.KilowattHour\n }\n\n return UnitName.MegawattHour\n}\n\nexport const saveWattUnit = (\n unit: UnitName.KilowattHour | UnitName.MegawattHour\n): void => {\n localStorage.setItem(WATT_UNIT_KEY, unit)\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"unit\":\"weightUnitToggle-module__unit___vNTKD\",\"unitActive\":\"weightUnitToggle-module__unitActive___IYSvj\",\"unitInactive\":\"weightUnitToggle-module__unitInactive___OIk-m\",\"mtUnit\":\"weightUnitToggle-module__mtUnit___wPG6a\",\"mtUnit__inactive\":\"weightUnitToggle-module__mtUnit__inactive___y4bwK\",\"lbsUnit\":\"weightUnitToggle-module__lbsUnit___q3KRM\",\"lbsUnit__inactive\":\"weightUnitToggle-module__lbsUnit__inactive___MpBp5\",\"toggleMenu\":\"weightUnitToggle-module__toggleMenu___xRJDm\",\"toggleMenuInactive\":\"weightUnitToggle-module__toggleMenuInactive___UU4xe\",\"buttonContainer\":\"weightUnitToggle-module__buttonContainer___ae+6b\"};","import { useMemo } from \"react\"\n\n// TODO: Lift up useUserSettings so we're not reaching down into a module\nimport { useUserSettings } from \"../../modules/settings\"\nimport { createQueryKey } from \"./createQueryKey\"\n\n/**\n * Create a memoized query key.\n * @see {@link createQueryKey} for query key creation.\n */\nexport const useQueryKey: typeof createQueryKey = (...args) => {\n const [serviceName, serviceAction, serviceEntityKey, serviceOptions = {}] =\n args\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const userSettings = useUserSettings(serviceOptions.ignoreCurrency)\n const queryKey = createQueryKey(\n serviceName,\n serviceAction,\n serviceEntityKey,\n {\n ...serviceOptions,\n currency: userSettings?.currency,\n }\n )\n // Query key is always an array of primitives so let's use those values as the deps.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return useMemo(() => queryKey, [...queryKey])\n}\n","import type { User } from \"@/models/user\"\nimport { httpClient } from \"@/utils/api\"\n\ninterface LoginResponse {\n authenticationToken: string\n success: boolean\n}\n\nexport const doLogin = async ({\n data = {},\n params = {},\n}): Promise => {\n try {\n const response = await httpClient.post(\n \"/api/v1/sessions\",\n data,\n params\n )\n\n return response.data\n } catch {\n return null\n }\n}\n\nexport const doLogout = async (params = {}): Promise => {\n try {\n await httpClient.delete(\"/api/v1/sessions\", params)\n\n return undefined\n } catch {\n return undefined\n }\n}\n\nconst getSessionTimeout = async (): Promise => {\n try {\n const response = await httpClient.get(\"/check_session_timeout\")\n\n if (response.status === 200) {\n return response.data\n }\n\n return 0\n } catch (error: unknown) {\n if (error instanceof Error) {\n console.error(\"Error fetching session timeout\")\n }\n\n return 0\n }\n}\n\nexport const fetchSessionValidity = async (): Promise => {\n const sessionTimeout = await getSessionTimeout()\n\n if (sessionTimeout > 0) {\n return true\n }\n\n return false\n}\n\ninterface GetUserResponse {\n data: {\n attributes: User\n id: string\n type: \"users\"\n }\n}\n\n// We are not returning a User class instance but instead a pojo that represents a user\nexport const getUser = async (params = {}): Promise => {\n try {\n const response = await httpClient.get(\"/api/v1/user\", {\n params,\n })\n\n return {\n ...response.data.data.attributes,\n id: response.data.data.id,\n type: response.data.data.type,\n } as unknown as User\n } catch {\n return null\n }\n}\n","import React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\"\nimport type { Context, Dispatch, FC, ReactNode, SetStateAction } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport { type User, UserRoleName } from \"@/models/user\"\nimport { getCurrentAppUrl } from \"@/utils/urls\"\nimport { datadogRum } from \"@datadog/browser-rum\"\nimport {\n type UseMutateAsyncFunction,\n useMutation,\n useQuery,\n useQueryClient,\n} from \"@tanstack/react-query\"\n\nimport {\n doLogin,\n doLogout,\n fetchSessionValidity,\n getUser,\n} from \"./authentication-context-utils\"\n\ninterface AuthenticationContextValue {\n activeUser: User | null | undefined\n authenticatedUser: User | null | undefined\n canEditSite: boolean\n isAuthenticated: boolean\n isAuthenticatedUserFetched: boolean\n isAuthenticatedUserLoading: boolean\n isAuthenticating: boolean\n isConsultantUser: boolean\n isFreeUser: boolean\n isGetAuthenticatedUserLoading: boolean\n isLoading: boolean\n isSessionValidFetched: boolean\n isSessionValidLoading: boolean\n isUserLoading: boolean\n setActiveUser: Dispatch>\n signIn: UseMutateAsyncFunction<\n boolean,\n unknown,\n {\n email: string\n password: string\n }\n >\n signOut: UseMutateAsyncFunction\n}\n\ninterface AuthenticationProviderProps\n extends Partial {\n children: ReactNode\n}\n\nconst AuthenticationContext: Context =\n createContext({\n activeUser: undefined,\n authenticatedUser: undefined,\n canEditSite: false,\n isAuthenticated: false,\n isAuthenticatedUserFetched: false,\n isAuthenticatedUserLoading: false,\n isAuthenticating: false,\n isConsultantUser: false,\n isFreeUser: false,\n isGetAuthenticatedUserLoading: false,\n isLoading: false,\n isSessionValidFetched: false,\n isSessionValidLoading: false,\n isUserLoading: false,\n setActiveUser: () => undefined,\n signIn: async () => Promise.resolve(false),\n signOut: async () => Promise.resolve(),\n })\n\nexport const isSessionValidQueryKey: string[] = [\n ApiQueryName.IsSessionValid,\n] as const\n\nexport const getAuthenticatedUserQueryKey: string[] = [\n ApiQueryName.Authentication,\n \"getAuthenticatedUser\",\n] as const\n\nconst signInMutationKey = [ApiQueryName.Authentication, \"signIn\"] as const\nconst signOutMutationKey = [ApiQueryName.Authentication, \"signOut\"] as const\n\n/**\n * Provides the authentication context\n *\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const AuthenticationProvider: FC = (\n props\n) => {\n const queryClient = useQueryClient()\n\n const [activeUser, setActiveUser] =\n useState(undefined)\n\n const signOutMutation = useCallback(async () => {\n try {\n const currentUrl = getCurrentAppUrl()\n const encodedCurrentUrl = encodeURIComponent(currentUrl)\n\n await doLogout()\n datadogRum.stopSessionReplayRecording()\n datadogRum.stopSession()\n window.location.replace(`/session_timeout?from=${encodedCurrentUrl}`)\n } catch (error: unknown) {\n if (error instanceof Error) {\n console.error(error)\n }\n }\n }, [])\n\n const pollSessionMinutes =\n Number.parseFloat(\n process.env.REACT_APP_EXPIRATION_CHECK_INTERVAL_MINUTES\n ) || 5\n const pollSessionMilliseconds = pollSessionMinutes * 60 * 1000\n\n const {\n data: isSessionValid,\n isFetched: isSessionValidFetched,\n isLoading: isSessionValidLoading,\n } = useQuery({\n cacheTime: Infinity,\n queryKey: isSessionValidQueryKey,\n queryFn: fetchSessionValidity,\n refetchInterval: pollSessionMilliseconds,\n staleTime: Infinity,\n })\n\n const {\n data: authenticatedUser,\n isFetched: isAuthenticatedUserFetched,\n isLoading: isAuthenticatedUserLoading,\n } = useQuery({\n cacheTime: Infinity,\n queryKey: getAuthenticatedUserQueryKey,\n queryFn: async () => {\n const user: User | null = await getUser()\n\n return user\n },\n staleTime: Infinity,\n })\n\n const { mutateAsync: signOut } = useMutation({\n mutationKey: signOutMutationKey,\n mutationFn: signOutMutation,\n })\n\n const { mutateAsync: signIn, isLoading: isAuthenticating } = useMutation({\n mutationKey: signInMutationKey,\n mutationFn: async (credentials: { email: string; password: string }) => {\n await queryClient.cancelQueries(getAuthenticatedUserQueryKey) // TODO: Test this\n\n const loginResult = await doLogin({ data: credentials })\n if (!loginResult?.success) {\n return false\n }\n\n // Combine getUser and signIn so we don't have a re-render where both return isLoading: false\n const userResult: User = await getUser()\n if (!userResult) {\n return false\n }\n\n queryClient.setQueryData(isSessionValidQueryKey, true)\n queryClient.setQueryData(getAuthenticatedUserQueryKey, userResult)\n\n return !!userResult\n },\n })\n\n // Automatically sign out when the session becomes invalid while signed in\n useEffect(() => {\n if (authenticatedUser && !isSessionValid) {\n void signOut()\n }\n }, [authenticatedUser, isSessionValid, signOut])\n\n // Sync the active user with the authenticated user\n useEffect(() => {\n setActiveUser(authenticatedUser)\n }, [authenticatedUser])\n\n const canEditSite: boolean = !activeUser\n ? false\n : activeUser.role === UserRoleName.Admin ||\n activeUser.role === UserRoleName.BuildingManager ||\n activeUser.role === UserRoleName.ConsultantUser\n\n const isGetAuthenticatedUserLoading =\n isSessionValidLoading || isAuthenticatedUserLoading || isAuthenticating\n\n // This is purposely a tri-state boolean\n // When the app first loads, we don't know if a user is authenticated until the api returns\n const isAuthenticated: boolean | undefined = isGetAuthenticatedUserLoading\n ? undefined\n : isSessionValid && !!authenticatedUser\n\n const isConsultantUser: boolean | undefined = !activeUser\n ? undefined\n : activeUser.consultantUser\n\n const isFreeUser: boolean | undefined = !activeUser\n ? undefined\n : activeUser.freeUser\n\n const value: AuthenticationContextValue = useMemo(\n () => ({\n activeUser,\n authenticatedUser,\n canEditSite,\n isAuthenticated,\n isAuthenticatedUserFetched,\n isAuthenticatedUserLoading,\n isAuthenticating,\n isConsultantUser,\n isFreeUser,\n isLoading: isGetAuthenticatedUserLoading,\n isGetAuthenticatedUserLoading,\n isUserLoading: isGetAuthenticatedUserLoading,\n isSessionValidFetched,\n isSessionValidLoading,\n setActiveUser,\n signIn,\n signOut,\n }),\n [\n activeUser,\n authenticatedUser,\n canEditSite,\n isAuthenticated,\n isAuthenticatedUserFetched,\n isAuthenticatedUserLoading,\n isAuthenticating,\n isConsultantUser,\n isFreeUser,\n isGetAuthenticatedUserLoading,\n isSessionValidFetched,\n isSessionValidLoading,\n signIn,\n signOut,\n ]\n )\n\n return (\n \n {props.children}\n \n )\n}\n\n/**\n * Provides authentication context\n *\n * @example\n * const { authenticatedUser, activeUser, setActiveUser } = useAuthenticationContext()\n */\nexport const useAuthentication = () => useContext(AuthenticationContext)\n","import React, { createContext, useContext, useMemo } from \"react\"\nimport type { Context, FC, ReactNode } from \"react\"\n\nimport type { Organization } from \"@/models/organization\"\nimport { useAuthorizedOrganizations } from \"@/services/organization\"\n\ninterface AuthorizationContextValue {\n authorizedOrganizations: Organization[]\n}\n\ninterface AuthorizationProviderProps\n extends Partial {\n children: ReactNode\n}\n\nconst AuthorizationContext: Context = createContext({\n authorizedOrganizations: [],\n})\n\n/**\n * Provides the authorization context\n *\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const AuthorizationProvider: FC = (\n props\n) => {\n const { authorizedOrganizationsData } = useAuthorizedOrganizations()\n\n const value: AuthorizationContextValue = useMemo(\n () => ({\n authorizedOrganizations: authorizedOrganizationsData,\n }),\n [authorizedOrganizationsData]\n )\n\n return (\n \n {props.children}\n \n )\n}\n\n/**\n * Provides authorization context\n *\n * @example\n * const { authorizedOrganizations } = useAuthorizationContext()\n */\nexport const useAuthorization = () => useContext(AuthorizationContext)\n","import React, {\n createContext,\n useCallback,\n useContext,\n useMemo,\n useState,\n} from \"react\"\nimport type { Context, FC, ReactNode, SyntheticEvent } from \"react\"\n\nimport { Alert, Snackbar } from \"@mui/material\"\nimport type { SnackbarCloseReason } from \"@mui/material\"\n\nexport interface Notification {\n duration?: number | null\n message: string\n type: \"success\" | \"error\" | \"info\" | \"warning\"\n}\n\ninterface NotificationContextValue {\n setNotification: (config: Notification) => void\n}\n\ninterface NotificationProviderProps {\n children: ReactNode\n}\n\nconst NotificationContext: Context = createContext({\n setNotification: undefined,\n})\n\n/**\n * Provides the notification service\n *\n * @example\n * \n * \n * \n */\nexport const NotificationProvider: FC = ({\n children,\n}) => {\n const [notification, setNotification] = useState(null)\n const [isOpen, setIsOpen] = useState(false)\n\n const handleClose = (\n event?: SyntheticEvent | Event,\n reason?: SnackbarCloseReason\n ) => {\n if (reason === \"clickaway\") {\n return\n }\n\n setIsOpen(false)\n }\n\n // Public notification setter to handle additional behavior\n const setNotificationPublic = useCallback(\n (newNotification: Notification): void => {\n setNotification(newNotification)\n setIsOpen(true)\n },\n [setNotification]\n )\n\n const value: NotificationContextValue = useMemo(\n () => ({\n setNotification: setNotificationPublic,\n }),\n [setNotificationPublic]\n )\n\n return (\n \n {children}\n \n \n {notification?.message}\n \n \n \n )\n}\n\n/**\n * A service for creating notifications\n *\n * @example\n * const { setNotification } = useNotification()\n * setNotification({\n * message: \"Test notification\",\n * type: \"success\"\n * })\n */\nexport const useNotification = () => useContext(NotificationContext)\n","import React, {\n createContext,\n useCallback,\n useContext,\n useMemo,\n useState,\n} from \"react\"\nimport type { Context, ReactNode } from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nimport type { Organization } from \"@/models/organization\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\nimport { useUserState } from \"@/utils/use-user-state\"\n\ninterface OrganizationContextValue {\n organization: Organization | null | undefined\n setOrganization: (organization: Organization | null) => void\n}\n\ninterface OrganizationProviderProps extends Partial {\n children: ReactNode\n}\n\nconst OrganizationContext: Context = createContext({\n organization: undefined,\n setOrganization: undefined,\n})\n\n/**\n * Provides the organization context\n *\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const OrganizationProvider = (props: OrganizationProviderProps) => {\n const { i18n } = useTranslation()\n const { isFeatureEnabled } = useFeature()\n const { saveActiveOrganization } = useUserState()\n\n const [organization, setOrganization] = useState<\n Organization | null | undefined\n >(props.organization)\n\n // Public organization setter to handle additional behavior\n const setOrganizationPublic = useCallback(\n (org: Organization | null): void => {\n if (\n !isFeatureEnabled(FeatureFlags.SETTINGS_LANGUAGE_SELECTOR, organization)\n ) {\n if (org?.locale?.name) {\n i18n.changeLanguage(org.locale.name).catch((error: unknown) => {\n if (error instanceof Error) {\n console.error(error)\n }\n })\n }\n }\n\n setOrganization(org)\n saveActiveOrganization(org?.id)\n },\n [i18n, isFeatureEnabled, organization, saveActiveOrganization]\n )\n\n const value: OrganizationContextValue = useMemo(\n () => ({\n organization,\n setOrganization: setOrganizationPublic,\n }),\n [organization, setOrganizationPublic]\n )\n\n return (\n \n {props.children}\n \n )\n}\n\n/**\n * Provides the active organization getter and setter\n *\n * @example\n * const { organization, setOrganization } = useOrganizationContext()\n */\nexport const useOrganizationContext = () => useContext(OrganizationContext)\n","import { LanguageRegion } from \"./i18n\"\n\nexport enum CurrencyCode {\n CAD = \"CAD\",\n CHF = \"CHF\",\n DKK = \"DKK\",\n EUR = \"EUR\",\n GBP = \"GBP\",\n NOK = \"NOK\",\n SEK = \"SEK\",\n SGD = \"SGD\",\n USD = \"USD\",\n}\n\nexport const defaultCurrencyCode: CurrencyCode = CurrencyCode.USD\n\n// Orgs do not yet have a default currency (e.g. organization.currency)\n// This maps a locale (e.g. organization.locale) to a currency\n// so we can get a org's default currency\nexport const LanguageCurrencyMap = new Map([\n [LanguageRegion.DanishDenmark, CurrencyCode.DKK],\n [LanguageRegion.DutchNetherlands, CurrencyCode.EUR],\n [LanguageRegion.EnglishCanada, CurrencyCode.CAD],\n [LanguageRegion.EnglishGreatBritain, CurrencyCode.GBP],\n [LanguageRegion.EnglishIreland, CurrencyCode.EUR],\n [LanguageRegion.EnglishSingapore, CurrencyCode.SGD],\n [LanguageRegion.EnglishUnitedStates, CurrencyCode.USD],\n [LanguageRegion.FrenchBelgium, CurrencyCode.EUR],\n [LanguageRegion.FrenchFrance, CurrencyCode.EUR],\n [LanguageRegion.FrenchLuxembourg, CurrencyCode.EUR],\n [LanguageRegion.FrenchSwitzerland, CurrencyCode.CHF],\n [LanguageRegion.GermanGermany, CurrencyCode.EUR],\n [LanguageRegion.GermanLuxembourg, CurrencyCode.EUR],\n [LanguageRegion.GermanSwitzerland, CurrencyCode.CHF],\n [LanguageRegion.ItalianItaly, CurrencyCode.EUR],\n [LanguageRegion.ItalianSwitzerland, CurrencyCode.CHF],\n [LanguageRegion.NorwegianNorway, CurrencyCode.NOK],\n [LanguageRegion.SpanishSpain, CurrencyCode.EUR],\n [LanguageRegion.SwedishSweden, CurrencyCode.SEK],\n])\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rowContent\":\"virtualizedReportingTableContent-module__rowContent___s00pS\",\"nonUniqueRowContent\":\"virtualizedReportingTableContent-module__nonUniqueRowContent___vEU2s\",\"uniqueRowContent\":\"virtualizedReportingTableContent-module__uniqueRowContent___r7rZm\",\"department\":\"virtualizedReportingTableContent-module__department___CwG7l\",\"visibleRowContent\":\"virtualizedReportingTableContent-module__visibleRowContent___TJ5kT\",\"stickyColumn\":\"virtualizedReportingTableContent-module__stickyColumn___T9-ks\"};","import { Attr, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport type Site from \"./site\"\n\nexport interface UserCreate {\n company_name: User[\"companyName\"]\n email: User[\"email\"]\n first_name: User[\"firstName\"]\n last_name: User[\"lastName\"]\n password: string\n recaptcha: string\n role: \"free_user\"\n title: User[\"title\"]\n}\n\nexport enum UserRoleName {\n Admin = \"admin\",\n AdminReader = \"admin_reader\",\n BuildingManager = \"building_manager\",\n ConsultantUser = \"consultant_user\",\n EnergyManager = \"energy_manager\",\n FreeUser = \"free_user\",\n}\n\nexport type UserRole = `${UserRoleName}`\n\n@Model()\nexport class User extends ApplicationRecord {\n public static jsonapiType = \"users\"\n\n @HasMany(\"sites\") public sites: Site[]\n\n @Attr() public email: string\n\n @Attr() public firstName: string\n\n @Attr() public lastName: string\n\n @Attr() public name: string\n\n @Attr() public phoneNumber: string\n\n @Attr() public companyName: string\n\n @Attr() public admin: boolean\n\n @Attr() public consultantUser: boolean\n\n @Attr() public freeUser: boolean\n\n @Attr() public role: UserRole\n\n @Attr() public title: string\n\n @Attr() public organizationIds: number[]\n\n @Attr() public limitedAccessOrganizationIds: number[]\n}\n\n/**\n * Fetches the energy manager count for an organization\n *\n * @param orgId - The organization id\n * @returns - The energy manager count\n * @example\n * fetchOrganizationEnergyManagerCount(\"15\")\n */\nexport const fetchOrganizationEnergyManagerCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await User.where({\n role: \"energy_manager\",\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n\nexport default User\n","import type { NavigateFunction } from \"react-router-dom\"\n\nimport type { DateRangeWithType } from \"../components/graph/dateRangeWithType\"\n\nexport const constructDownloadLink = ({ downloadType, siteId }) =>\n `/api/v1/reports.${downloadType}?type=daily_costs&site_id=${siteId}`\n\nexport const getSearch = (\n searchParams: URLSearchParams | undefined\n): string => {\n if (searchParams?.toString()) {\n return `?${searchParams.toString()}`\n }\n\n return \"\"\n}\n\ninterface IGoToTimeRangeProps {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n location: any\n navigate: NavigateFunction\n timeRange: DateRangeWithType\n}\n\n/**\n * @deprecated Use useFilters hook\n * @param {timeRange, navigate, location}\n */\nexport const goToTimeRange = ({\n timeRange,\n navigate,\n location: activeLocation,\n}: IGoToTimeRangeProps) => {\n const params = new URLSearchParams({\n start: timeRange.startDate.format(\"YYYY-MM-DD\"),\n end: timeRange.endDate.format(\"YYYY-MM-DD\"),\n })\n const newURL = new URL(\n // Mass lint disable\n // eslint-disable-next-line no-restricted-globals, @typescript-eslint/no-unsafe-member-access\n `${location.protocol}//${location.host}${activeLocation.pathname}`\n )\n newURL.search = params.toString()\n navigate(newURL.pathname + newURL.search, { replace: true })\n}\n\n/**\n * allows sending an object to buld query string params\n * with, allowing a key to be an array value that will\n * repeat the key and value in the final result\n *\n * @example\n * const params = { site_id: '1234', interventions: ['Heat pump', 'Solar']}\n * const searchParamsString = buildSearchParamsString(params)\n * // ?site_id=1234&interventions=Roof+Insulation&interventions=Air+Source+Heat+Pump+%28model+2%29\n *\n */\nexport const buildSearchParamsString = (\n data: unknown,\n initialSearchParams?: URLSearchParams\n) => {\n const params = initialSearchParams\n ? new URLSearchParams(initialSearchParams)\n : new URLSearchParams()\n\n Object.entries(data).forEach(([key, value]) => {\n if (Array.isArray(value)) {\n if (params.has(key)) {\n params.delete(key)\n }\n value.forEach((val) => {\n if (val) {\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n params.append(key, val.toString())\n }\n })\n } else if (value) {\n if (params.has(key)) {\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n params.set(key, value.toString())\n } else {\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n params.append(key, value.toString())\n }\n // key sent with no value/falsy value like empty string\n } else if (params.has(key)) {\n params.delete(key)\n }\n })\n\n return params.toString()\n}\n\n/**\n * Get the current pathname and any search params\n * @returns Current app url\n */\nexport const getCurrentAppUrl = (): string =>\n `${window.location.pathname ?? \"\"}${window.location.search ?? \"\"}`\n","import { kebabCase } from \"lodash-es\"\n\n// Given a string Ex: Site Emissions use KebabCase to return the format used in the E2E attributes\n// as we want to keep them consistent across the code. Ex: site-emissions-link\nexport const getDataE2EAttribute = (countName: string): string =>\n kebabCase(countName)\n","import type { Context, ReactNode } from \"react\"\nimport React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n} from \"react\"\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\"\n\nimport { useOrganizationContext } from \"@/contexts\"\nimport { FeatureFlags, useFeature } from \"@/services/feature\"\n\nimport type { CurrencyCode } from \"../../../models/currencyCode\"\nimport {\n LanguageCurrencyMap,\n defaultCurrencyCode,\n} from \"../../../models/currencyCode\"\nimport type { LanguageRegion } from \"../../../models/i18n\"\nimport { getCurrency, getLanguage } from \"../../../utils/localStorage\"\nimport { getDataFromUserSettings } from \"../util/settings/settings\"\nimport type { IUserSettingsData } from \"./userSettings.store\"\nimport {\n changeCurrency,\n changeLocale,\n getUserSettingsSelector,\n loadSupportedCurrencies,\n setInitialUserCurrency,\n setInitialUserLocale,\n setUserSettings,\n} from \"./userSettings.store\"\n\nexport interface IUserSettings extends IUserSettingsData {\n fetchSupportedCurrencies: () => void\n setCurrency: (currencyCode: CurrencyCode) => void\n setLanguage: (languageRegion: LanguageRegion) => void\n}\n\nexport interface IUserSettingsProviderProps {\n children?: ReactNode\n userSettings?: IUserSettings\n}\n\n// Mass lint disable\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nconst UserSettingsContext: Context = createContext(undefined)\n\n/**\n * A component that provides the user settings\n *\n * @param props - The component properties\n * @param props.children - The child nodes to render\n * @param props.setCurrency - Sets the active currency\n * @param props.setLanguage - Sets the active language\n * @param props.userSettings - The settings\n * @example\n * return (\n * \n * \n * \n * )\n */\nexport const UserSettingsProvider = (props: IUserSettingsProviderProps) => {\n const dispatch = useDispatch()\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const userSettings = useSelector(getUserSettingsSelector, shallowEqual)\n const { isFeatureEnabled } = useFeature()\n\n const { organization } = useOrganizationContext()\n\n // Custom setter that saves currency to localStorage and state\n const setCurrency = useCallback(\n props?.userSettings?.setCurrency ??\n ((currencyCode: CurrencyCode): void => {\n dispatch(changeCurrency(currencyCode))\n }),\n [dispatch, props?.userSettings?.setCurrency]\n )\n\n // Custom setter that saves language to localStorage and state\n const setLanguage = useCallback(\n props?.userSettings?.setLanguage ??\n ((locale: LanguageRegion): void => {\n dispatch(changeLocale(locale))\n }),\n [dispatch, props?.userSettings?.setLanguage]\n )\n\n // Custom callback that fetches the supported currencies\n const fetchSupportedCurrencies = useCallback(\n props?.userSettings?.fetchSupportedCurrencies ??\n ((): void => {\n dispatch(loadSupportedCurrencies())\n }),\n [dispatch, props?.userSettings?.fetchSupportedCurrencies]\n )\n\n // Set default currency to currency associated with org's locale if currency is not yet set\n // because a value was not found in localStorage\n useEffect(() => {\n const userCurrencySetting: CurrencyCode | null = getCurrency()\n\n if (organization && !userCurrencySetting) {\n setCurrency(\n LanguageCurrencyMap.get(organization.locale.name as LanguageRegion) ??\n defaultCurrencyCode\n )\n } else if (organization && userCurrencySetting) {\n dispatch(setInitialUserCurrency(userCurrencySetting))\n }\n }, [isFeatureEnabled, LanguageCurrencyMap, organization, setCurrency])\n\n // Set i18n default language to language associated with org's locale if language is not yet set\n // because a value was not found in localStorage\n useEffect(() => {\n if (\n organization &&\n isFeatureEnabled(FeatureFlags.SETTINGS_LANGUAGE_SELECTOR, organization)\n ) {\n dispatch(\n setInitialUserLocale(\n getLanguage() ?? (organization.locale.name as LanguageRegion)\n )\n )\n }\n }, [isFeatureEnabled, organization, getLanguage])\n\n // If user settings are provided, set the store data\n useEffect(() => {\n if (props?.userSettings) {\n dispatch(setUserSettings(getDataFromUserSettings(props.userSettings)))\n }\n }, [dispatch, props?.userSettings])\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const value: IUserSettings = useMemo(\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n () => ({\n ...userSettings,\n setCurrency,\n setLanguage,\n fetchSupportedCurrencies,\n }),\n [fetchSupportedCurrencies, setCurrency, setLanguage, userSettings]\n )\n\n return (\n \n {props.children}\n \n )\n}\n\n// isDisabled is a temporary fix to prevent the use of the user settings context in all services.\n// TODO: Convert useUserSettings to a react query service\nexport const useUserSettings = (isDisabled?: boolean): IUserSettings => {\n const context = useContext(UserSettingsContext)\n\n if (isDisabled) {\n return\n }\n\n if (context === undefined) {\n throw new Error(\"useSettings must be used within a SettingsProvider\")\n }\n\n return context\n}\n","import { useCallback } from \"react\"\n\nimport { ApiQueryName } from \"@/models/api\"\nimport type { Organization } from \"@/models/organization\"\nimport { httpClient } from \"@/utils/api\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport type { Organization as ServiceOrganization } from \"../organization\"\nimport type {\n Feature,\n FeatureActorType,\n FeatureFlags,\n} from \"./useFeature.types\"\n\ninterface FetchFeaturesResponse {\n features: Feature[]\n}\n\nconst fetchFeatures = async (): Promise => {\n try {\n const response = await httpClient.get(\n \"/flipper/api/features\"\n )\n\n return response.data.features\n } catch {\n console.error(\"Error getting features\")\n return []\n }\n}\n\ninterface UseFeatureValue {\n features: Feature[]\n\n /**\n * This function determines the availability of a feature based on the feature's name and the organization. Pass null for\n * the organization if the feature flag is not conditional.\n *\n * @param feature - The name of the feature to check\n * @param organization - The organization for which to check the feature availability, or null if the feature flag is not conditional per organization\n * @returns A boolean indicating if the feature is enabled\n *\n * @example\n * const isFeatureAvailable = isFeatureEnabled(\"featureName\", organization)\n * const isFeatureAvailable = isFeatureEnabled(\"featureName\", null)\n *\n */\n isFeatureEnabled: (\n feature: FeatureFlags,\n organization: Organization | ServiceOrganization | null\n ) => boolean\n\n /**\n * A boolean indicating if the features have been fetched\n */\n isFeaturesFetched: boolean\n\n /**\n * A boolean indicating if the features are loading\n */\n isFeaturesLoading: boolean\n}\n\nconst isActorInFeature = (\n type: FeatureActorType,\n id: string | undefined,\n feature: Feature\n): boolean => {\n const actors: string[] =\n feature?.gates?.find((gate) => gate.key === \"actors\")?.value ?? []\n\n return !!actors.find(\n (actor) => actor.toLowerCase() === `${type};${id}`.toLowerCase()\n )\n}\n\nconst isFeatureEnabledForOrg = (\n feature: Feature,\n orgId: string | undefined\n): boolean => isActorInFeature(\"Organization\", orgId, feature)\n\n/**\n * The useFeature service/hook returns a set of properties and functions to manage features\n *\n * @returns The properties and functions\n * @example\n * const {\n * isFeatureEnabled,\n * isFeaturesFetched,\n * isFeaturesLoading\n * } = useFeature()\n */\nexport const useFeature = (): UseFeatureValue => {\n const {\n data: features,\n isFetched: isFeaturesFetched,\n isLoading: isFeaturesLoading,\n } = useQuery({\n queryFn: fetchFeatures,\n queryKey: [ApiQueryName.Feature],\n })\n\n const isFeatureEnabled = useCallback(\n (\n featureName: FeatureFlags,\n organization: Organization | ServiceOrganization | null\n ): boolean => {\n if (isFeaturesFetched) {\n const feature: Feature | undefined = features?.find(\n (feat) => feat.key === (featureName as string)\n )\n\n if (feature?.state === \"conditional\") {\n // Currently conditional feature flags are only managed by org id\n // Should use a tool like Launch Darkly before building more complex conditional handling\n return isFeatureEnabledForOrg(feature, organization?.id)\n }\n\n return feature?.state === \"on\"\n }\n\n return false\n },\n [features, isFeaturesFetched]\n )\n\n return {\n isFeatureEnabled,\n isFeaturesFetched,\n isFeaturesLoading,\n features,\n }\n}\n","/*\n * When adding/removing a feature flag here, also add/remove it in `config/initializers/flipper.rb`\n * as well.\n */\nexport enum FeatureFlags {\n ADMIN_IMPERSONATE = \"admin/impersonate\",\n APP_SIGN_UP = \"app/sign_up\",\n ASSISTANT = \"assistant\",\n DATA_UPLOAD = \"data/upload\",\n EPG_COST_CARBON_LINE = \"epg_cost_carbon_line\",\n OAT_FLEXIBLE_HIERARCHY = \"oat_flexible_hierarchy\",\n PLANNING = \"planning\",\n REPORT_ACTIVITY_EMISSIONS = \"report/activity_emissions\",\n REPORT_ACTIVITY_EMISSIONS_NZ_DATE_RANGE_SELECTOR = \"report/activity_emissions_nz_date_range_selector\",\n REPORT_CUSTOM_REPORTS = \"report/custom_reports\",\n REPORT_GRESB = \"report/gresb_report\",\n REPORT_GRESB_READY_TO_REPORT = \"report/gresb_ready_to_report\",\n REPORT_GRESB_UNDER_REVIEW = \"report/gresb_under_review\",\n REPORT_GRI = \"report/gri_report\",\n REPORT_GRI_READY_TO_REPORT = \"report/gri_ready_to_report\",\n REPORT_GRI_UNDER_REVIEW = \"report/gri_under_review\",\n REPORT_MONTHLY_SITE_DATA = \"report/monthly_site_data\",\n REPORT_MONTHLY_SITE_DATA_ADVANCED_REPORTING_TOOLS = \"report/monthly_site_data_advanced_reporting_tools\",\n REPORT_RESOURCE_SUMMARY_ADVANCED_REPORTING_TOOLS = \"report/resource_summary_advanced_reporting_tools\",\n SETTINGS_LANGUAGE_SELECTOR = \"settings_language_selector\",\n SITE_DECARBONIZE = \"site/decarbonize\",\n SITE_NEW_TABS = \"site/new_tabs\",\n SSO_REQUIRE_INTERNAL_USERS = \"sso/require_internal_users\",\n USE_FLEXIBLE_HIERARCHY_FOR_SITE_OWNERSHIPS = \"use_flexible_hierarchy_for_site_ownerships\",\n UTILITY_CREDENTIALS = \"utility_credentials\",\n}\n\nexport type FeatureActorType = \"Organization\"\n\ninterface FeatureGate {\n key: string\n name: string\n value: string[] | null\n}\n\ntype FeatureState = \"conditional\" | \"off\" | \"on\"\n\nexport interface Feature {\n gates: FeatureGate[]\n key: string\n state: FeatureState\n}\n\n// Consider using string literal type instead of enum\n// export const featureFlags = [\n// \"admin/impersonate\",\n// \"app/sign_up\",\n// \"assistant\",\n// \"data/upload\",\n// \"epg_cost_carbon_line\",\n// \"oat_flexible_hierarchy\",\n// \"planning\",\n// \"report/activity_emissions\",\n// \"report/activity_emissions_nz_date_range_selector\",\n// \"report/custom_reports\",\n// \"report/gresb_report\",\n// \"report/gresb_ready_to_report\",\n// \"report/gresb_under_review\",\n// \"report/gri_report\",\n// \"report/gri_ready_to_report\",\n// \"report/gri_under_review\",\n// \"report/monthly_site_data\",\n// \"report/monthly_site_data_advanced_reporting_tools\",\n// \"report/resource_summary_advanced_reporting_tools\",\n// \"settings_language_selector\",\n// \"site/decarbonize\",\n// \"site/new_tabs\",\n// \"sso/require_internal_users\"\n// \"use_flexible_hierarchy_for_site_ownerships\",\n// \"utility_credentials\"\n// ] as const\n\n// export type FeatureFlag = (typeof featureFlags)[number]\n","import { getMeasurementSystem } from \".\"\nimport type { CurrencyCode } from \"../models/currencyCode\"\nimport { defaultCurrencyCode } from \"../models/currencyCode\"\nimport type { LanguageRegion } from \"../models/i18n\"\nimport type { IMeasurementSystem } from \"../models/measurementSystem\"\nimport { MeasurementSystemName } from \"../models/measurementSystem\"\nimport type { IUnit, IUnitSeparator } from \"../models/unit\"\nimport {\n CustomVariableNameToUnitKeyMap,\n FeeTypeToUnitKeyMap,\n USCUnitNameToUnitNameMap,\n UnitName,\n UnitNameToUSCUnitNameMap,\n UnitSeparators,\n Units,\n} from \"../models/unit\"\nimport { getCurrencySymbol } from \"./currency\"\n\nconst getUnit = (\n measurementSystem: IMeasurementSystem,\n unitName: UnitName\n): IUnit | undefined => {\n const unit: IUnit | undefined = Units.get(unitName)\n\n if (!unit || !Object.values(UnitName).includes(unitName)) {\n return\n }\n\n if (unitName.includes(\"currency\")) {\n return Units.get(UnitName.Currency)\n }\n if (\n unit.measurementSystem &&\n unit.measurementSystem !== MeasurementSystemName.BIS &&\n measurementSystem.name !== unit.measurementSystem\n ) {\n let unitTranslationMap: Map\n\n if (unit.measurementSystem === MeasurementSystemName.SI) {\n unitTranslationMap = UnitNameToUSCUnitNameMap\n } else if (unit.measurementSystem === MeasurementSystemName.USC) {\n unitTranslationMap = USCUnitNameToUnitNameMap\n }\n\n return unitTranslationMap.has(unitName)\n ? Units.get(unitTranslationMap.get(unitName))\n : unit\n }\n\n return unit\n}\n\nconst isTokenASeparator = (token: string): boolean =>\n Array.from(UnitSeparators.values())\n .map((separator) => separator.tokenValue)\n .includes(token)\n\nconst tokenizeUnit = (unit: UnitName): string[] => {\n const tokenizedStr: string = Array.from(UnitSeparators.values()).reduce(\n (value, separator): string =>\n value.split(separator.tokenValue).join(` ${separator.tokenValue} `),\n unit\n )\n\n // trim() to handle Unit.PerKilowattHour where -per- appears as the first token\n return tokenizedStr.trim().split(\" \")\n}\n\nconst translateIndividualUnit = (\n locale: string,\n unit: IUnit,\n currency: CurrencyCode,\n value: number | string\n): string => {\n // Handle currency\n if (unit.id === UnitName.Currency) {\n return getCurrencySymbol(locale, currency)\n }\n // Handle custom units\n if (!unit.isECMAScriptSupported) {\n return unit.shortDisplayValue\n }\n // Handle Intl.NumberFormat supported units\n\n const translatedNumberParts = Intl.NumberFormat(locale, {\n style: \"unit\",\n unit: unit.tokenValue,\n }).formatToParts(Number(value) || 0)\n\n return translatedNumberParts.find((part) => part.type === \"unit\")?.value || \"\"\n}\n\n/**\n * A function that returns the unit key when given a custom variable name\n *\n * @param name - The name of the custom variable\n * @returns - The key of the corresponding unit\n * @example\n * getUnitKeyFromCustomVariableName(\"Sq ft\")\n */\nexport const getUnitKeyFromCustomVariableName = (name: string): string =>\n CustomVariableNameToUnitKeyMap.get(name) ?? \"\"\n\n/**\n * A function that returns the unit key when given a fee type\n *\n * @param feeType - The fee type\n * @returns - The corresponding unit key\n * @example\n * getUnitKeyFromFeeType(\"kwh\")\n */\nexport const getUnitKeyFromFeeType = (feeType: string): string =>\n FeeTypeToUnitKeyMap.get(feeType) ?? \"\"\n\n/**\n * A function that formats and internationalizes the provided unit\n *\n * @param locale - The locale\n * @param unit - The unit\n * @param currency - The currency code\n * @param value - The number to use for handling pluralization\n * @example\n * translateUnit(i18n, SIUnit.KilowattHour, userSettings.currency, 123)\n */\nexport const translateUnit = (\n locale: string,\n unit: UnitName,\n currency: CurrencyCode = defaultCurrencyCode,\n value?: number | string | null | undefined\n): string => {\n if (!unit) {\n return \"\"\n }\n\n // Log invalid units so we'll see them in our observability tools\n if (!Object.values(UnitName).includes(unit)) {\n console.error(`${unit} is not a supported unit`)\n return \"\"\n }\n\n const measurementSystem: IMeasurementSystem = getMeasurementSystem(\n locale as LanguageRegion\n )\n\n const tokens: string[] = tokenizeUnit(unit)\n\n const unitDisplays: string[] = tokens.map((token) => {\n if (isTokenASeparator(token)) {\n const separator: IUnitSeparator | undefined = Array.from(\n UnitSeparators.values()\n ).find((unitSeparator) => unitSeparator.tokenValue === token)\n\n return separator?.displayValue || \"\"\n }\n\n return translateIndividualUnit(\n locale,\n getUnit(measurementSystem, token as UnitName),\n currency,\n value\n )\n })\n\n return unitDisplays.join(\"\")\n}\n\n/**\n * @deprecated - Use theme.typography.pxToRem()\n */\nexport const pxToRem = (value: number) => `${value / 16}rem`\n","import { Attr, BelongsTo, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Site from \"./site\"\n\n/* Spraypaint's camelCase to snake_case conversion incorrectly transforms attributes\nthat end with numeric characters. The conversion when writing to the address resource\ntransforms addressLine1 to address_line1. This is a workaround to avoid the bug and allow writes. */\n@Model({ keyCase: { server: \"snake\", client: \"snake\" } })\nexport default class Address extends ApplicationRecord {\n public static jsonapiType = \"addresses\"\n\n @BelongsTo(\"sites\") public site: Site\n\n @Attr() public address_line_1: string\n\n @Attr() public address_line_2: string\n\n @Attr() public city: string\n\n @Attr() public state: string\n\n @Attr() public country: string\n\n @Attr() public postal_code: string\n\n @Attr() public readonly site_id: number\n}\n","import { Attr, BelongsTo, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Organization from \"./organization\"\nimport type Site from \"./site\"\n\n@Model()\nexport default class OrganizationalUnit extends ApplicationRecord {\n public static jsonapiType = \"organizational_units\"\n\n @BelongsTo(\"organizations\") public organization: Organization\n\n @HasMany(\"sites\") public sites: Site[]\n\n @Attr() public name: string\n\n @Attr() public parentId: number\n\n @Attr() public organizationId: number\n}\n\n/**\n * Fetches the OU count for an organization\n * @param orgId - The organization id\n * @returns The total number of OUs assocaited with the organization\n * @example\n * const count = await fetchOrganizationalUnitCount(\"15\")\n */\nexport const fetchOrganizationalUnitCount = async (\n orgId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await OrganizationalUnit.where({\n organization_id: orgId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n","import moment from \"moment\"\n\nimport type Price from \"../models/price\"\n\nexport const pricesForToday = (prices: Price[]): Price[] => {\n const startOfToday = moment().startOf(\"day\")\n const todaysPrices = prices.filter((price) =>\n moment(price.hour).isAfter(startOfToday)\n )\n return todaysPrices.sort(\n (a, b) => moment(a.hour).unix() - moment(b.hour).unix()\n )\n}\n\nexport const fetchSequentially = async (fnPromiseArr) => {\n const promiseResultList = []\n for (const fnPromise of fnPromiseArr) {\n promiseResultList.push(await fnPromise)\n }\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return promiseResultList\n}\n","import moment from \"moment\"\n\nimport type Product from \"../components/graph/product\"\nimport { ElectricityType } from \"../models/energyAllocation\"\nimport type Price from \"../models/price\"\nimport type { SitePremiseFinancialSummary } from \"../models/sitePremiseFinancialSummary\"\nimport {\n BTU_PER_GJ,\n CUBIC_METERS_PER_US_LIQUID_GALLON,\n KILO,\n KWH_PER_MWH,\n LBS_PER_KG,\n LBS_PER_METRIC_TON,\n SQUARE_FOOT_PER_SQUARE_METER,\n} from \"./constants\"\n\n/**\n * @param oldValue\n * @param newValue\n */\nexport const percentageChange = (oldValue: number, newValue: number) => {\n if (oldValue === 0) {\n return undefined\n }\n const changeAmount = newValue - oldValue\n return (changeAmount / oldValue) * 100\n}\n\nexport const dayAheadPrice = (prices: Price[]): Price | null => {\n const currentHour = moment().startOf(\"hour\")\n\n const priceForCurrentHour = prices.filter(({ hour }) =>\n hour.isSame(currentHour)\n )[0]\n\n return priceForCurrentHour || prices[prices.length - 1] || null\n}\n\nexport const kwhToMwh = (kwh: number) => kwh / KWH_PER_MWH\n\nexport const firstStrLowerCaseContainsSecondStrLowerCase = (\n str1: string | null | undefined,\n str2: string | null | undefined\n): boolean => {\n if (!str1 || !str2) {\n return false\n }\n return str1.toLowerCase().includes(str2.toLowerCase())\n}\n\nexport const calculateTotalCost = (\n premiseFinancialSummary: SitePremiseFinancialSummary | undefined\n): number | undefined =>\n premiseFinancialSummary?.energyAllocatorList?.reduce(\n (sum, energyAllocator) => sum + Number.parseFloat(energyAllocator.total),\n 0\n ) ?? 0\n\nexport const calculateTotalVolume = (\n premiseFinancialSummary: SitePremiseFinancialSummary | undefined\n): number | undefined =>\n premiseFinancialSummary?.energyAllocatorList?.reduce(\n (sum, energyAllocator) =>\n sum + Number.parseFloat(energyAllocator.meteredKwh),\n 0\n ) ?? 0\n\nexport const calculateMeteredKwhByProduct = (product: Product): number => {\n // If direct access, don't include \"Long Imbalance\" (negative value)\n // That energy wasn't consumed, but delivered back to the grid\n // Consumed = Market + ShortImbalance\n if (product.electricityType === ElectricityType.DirectAccess) {\n return Math.max(0, product.kwh)\n }\n // If bundled, include \"Received\" value (negative value)\n // which will subtract generated energy going back to the grid\n // Consumed = Delivered - Received\n\n return product.kwh\n}\n\n// The metered kwh is the sum of all energy consumed (not including energy delivered back to the grid)\nexport const calculateMeteredKwhByProducts = (products: Product[]): number =>\n products.reduce(\n (meteredKwh: number, currentProduct: Product) =>\n meteredKwh + calculateMeteredKwhByProduct(currentProduct),\n 0\n )\n\nexport const unitsPerSquareFootToUnitsPerSquareMeter = (\n originalValue: number | string\n): number => {\n let numericValue = originalValue\n if (typeof numericValue === \"string\") {\n numericValue = parseFloat(numericValue)\n }\n return numericValue * SQUARE_FOOT_PER_SQUARE_METER\n}\n\nexport const squareFootToSquareMeter = (squareFoot: number): number =>\n squareFoot / SQUARE_FOOT_PER_SQUARE_METER\n\nexport const poundsToMetricTon = (value: number): number =>\n value / LBS_PER_METRIC_TON\n\nexport const poundsToKilogram = (value: number): number => value / LBS_PER_KG\n\nexport const gallonsToCubicMeter = (value: number): number =>\n value / CUBIC_METERS_PER_US_LIQUID_GALLON\n\nexport const isStringValueANumber = (value: string) =>\n typeof Number(value) === \"number\" && Number.isFinite(Number(value))\n\n/**\n * Converts energy in gigajoules (GJ) to British Thermal Units (BTU).\n *\n * @param value - The energy value in gigajoules (GJ).\n * @returns The equivalent energy in British Thermal Units (BTU).\n */\nexport const gigajoulesToBritishThermalUnit = (value: number): number =>\n value * BTU_PER_GJ\n\n/**\n * Converts energy in gigajoules (GJ) to kilo British Thermal Units (kBtu).\n *\n * @param value - The energy value in gigajoules (GJ).\n * @returns The equivalent energy in kilo British Thermal Units (kBtu).\n */\nexport const gigajoulesToKiloBritishThermalUnit = (value: number): number =>\n gigajoulesToBritishThermalUnit(value) / KILO\n","/**\n * Process a request in multiple smaller chunks/pages\n *\n * @template TResponse\n * @param request {function} - A function that returns the request\n * @param chunkSize {number} - The max size of the chunks that the request will be broken down into\n * @param totalSize {number} - The total number of the expected records\n * @returns {Promise} - The final combined request\n * @example\n * chunkRequests(getSites, 500, totalSiteCount)\n */\n\nexport const chunkRequests = async (\n request: (pageNumber: number, pageSize: number) => Promise,\n chunkSize: number,\n totalSize: number\n) => {\n const pageSize: number = chunkSize\n const pageCount: number = Math.ceil(totalSize / pageSize)\n const pageNumbers: number[] = [...Array(pageCount + 1).keys()]\n // We want the first page to be 1, not 0\n pageNumbers.shift()\n\n const requests: Promise[] = pageNumbers.map((pageNumber) =>\n request(pageNumber, pageSize)\n )\n\n const responses: TResponse[][] = await Promise.all(requests)\n\n return responses.reduce(\n (combinedResponse: TResponse[], currentResponse: TResponse[]) =>\n combinedResponse.concat(currentResponse),\n []\n )\n}\n","import { THERMS_PER_MMBTU } from \"./constants\"\n\n/**\n * Converts a mmbtu number to therms\n *\n * @param mmbtu A number in mmbtu\n * @returns A number in therms\n */\nexport const convertMmbtuToTherms = (mmbtu: number): number =>\n mmbtu * THERMS_PER_MMBTU\n","/** Helpers for D3 charts */\nimport type { Area, Axis, BaseType, NumberValue, Selection, Series } from \"d3\"\nimport { area, curveMonotoneX, easeCubic, line, pointer, select } from \"d3\"\n\nimport { grayScale, solidGray } from \"./colors\"\nimport { ORGANIZATION_DASHBOARD_TICK_TEXT_LIMIT } from \"./constants\"\n\nexport type INode = Selection<\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any,\n BaseType | SVGPathElement | SVGSVGElement,\n unknown\n>\n\nexport interface IDrawProps {\n /**\n * @param className String of classNames\n */\n className?: string\n /**\n * @param INode Selection alias\n */\n node: INode\n /**\n * @param x Number for x position\n */\n x?: number\n /**\n * @param y Number for y position\n */\n y?: number\n}\n\n/**\n * Returns concatenated, space-separated, string from array items\n *\n * @param val array of strings or other string-based arrays\n * @returns {string} concatenated, space-separated, string\n */\nconst strJoinSpaces = (val: string[]): string =>\n val.reduce(\n (a: string, b) =>\n b ? (Array.isArray(b) ? `${a}${strJoinSpaces(b)}` : `${a} ${b}`) : a,\n \"\"\n )\n\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst SEPARATION_TOOLTIP = 16\nconst TOOLTIP_WIDTH = 148\n\n/**\n * Creates a path with a curved line\n */\nexport interface ICreateCurvedLineProps {\n /**\n * @param className a string of CSS class names to be applied (space-separated)\n */\n className?: string\n /**\n * @param data an iterable collection of data to be applied\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: any[]\n /**\n * @param fillColor a string for the fill color of the generated area\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fillColor?: string | ((d: any) => string)\n /**\n * @param strokeColor a string for the fill color of the generated area\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n strokeColor?: string | ((d: any) => string)\n /**\n * Creates an curved line path\n */\n /**\n * @param svg a D3 Selection\n */\n svg: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n /**\n * @param xFunc a number or function that resolves to a number for the x position\n */\n xFunc: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n /**\n * @param y1Func a number or function that resolves to a number for the y1 position\n */\n yFunc: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n}\n\nexport const createCurvedLine = ({\n svg,\n data,\n xFunc,\n yFunc,\n className,\n strokeColor,\n fillColor = \"none\",\n}: ICreateCurvedLineProps) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const myLine = line().x(xFunc).y(yFunc).curve(curveMonotoneX)\n\n // Apply path with appended line\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n return svg\n .selectAll(\".line\")\n .data(data)\n .join((enter) =>\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n enter\n .append(\"path\")\n .classed(strJoinSpaces([\"line\", className]), true)\n .attr(\"d\", myLine)\n .attr(\"fill\", fillColor)\n .attr(\"stroke\", strokeColor)\n )\n}\n\nexport interface ICreateAreaProps {\n /**\n * @param animate a boolean on whether to animate the area\n * @default true\n */\n animate?: boolean\n /**\n * @param className a string of CSS class names to be applied (space-separated)\n */\n className?: string\n /**\n * @param data an iterable collection of data to be applied\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: any[]\n /**\n * @param fillColor a string for the fill color of the generated area\n */\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fillColor?: string | ((d: any, i?: number) => string)\n /**\n * Creates an area path\n */\n /**\n * @param svg a D3 Selection\n */\n svg: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n\n /**\n * @param xFunc a number or function that resolves to a number for the x position\n */\n xFunc: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n\n /**\n * @param y0 a number or function that resolves to a number for the y0 position\n */\n y0: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n\n /**\n * @param y1Func a number or function that resolves to a number for the y1 position\n */\n y1Func: // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n any\n}\nexport const createArea = ({\n svg,\n data,\n className = \"\",\n y0,\n xFunc,\n y1Func,\n fillColor = \"none\",\n animate = true,\n}: ICreateAreaProps): Selection<\n SVGGElement,\n Series, string>[],\n BaseType | SVGPathElement | SVGSVGElement,\n string[]\n> => {\n const computedArea = (apply = true): Area<[number, number]> =>\n area()\n .curve(curveMonotoneX)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .x(xFunc)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .y0(y0)\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n .y1(apply ? y1Func : y0)\n\n // Apply path with appended computedArea\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n return svg\n .selectAll(\".area\")\n .data(data)\n .join(\n (enter) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n enter\n .append(\"path\")\n .classed(strJoinSpaces([\"area\", className]), true)\n .attr(\"fill\", fillColor)\n .attr(\"d\", computedArea(!animate))\n },\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n (_update) => {\n if (animate) {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n svg\n .selectAll(\"path\")\n .transition()\n .duration(650)\n .delay(250)\n .ease(easeCubic)\n .attr(\"d\", computedArea(true))\n }\n }\n )\n}\n\nexport interface IDrawGridProps extends IDrawProps {\n /**\n * @param color A color string\n */\n color?: string\n /**\n * Create a grid underlay\n */\n /**\n * @param grid An Axis Generator\n */\n grid: Axis\n}\nexport const drawGrid = ({\n node,\n className = \"\",\n grid,\n x = 0,\n y = 0,\n color = grayScale.toString(),\n}: IDrawGridProps): Selection<\n SVGGElement,\n Series, string>[],\n BaseType,\n unknown\n> =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n node\n .append(\"g\")\n .classed(strJoinSpaces([\"axis-grid\", className]), true)\n .attr(\"color\", color)\n .attr(\"transform\", `translate(${x}, ${y})`)\n .call(grid)\n\nexport interface IDrawPlotAreaProps {\n /**\n * @param className CSS class name(s) to apply\n */\n className: string\n /**\n * @param enter function to apply content to newly created plot area group\n */\n enter: (owner: INode) => void\n /**\n * Creates a group for the visualized data\n */\n /**\n * @param node Selection alias of parent\n */\n node: INode\n /**\n * @param x x position\n */\n x: number | (() => number)\n /**\n * @param y y position\n */\n y: number | (() => number)\n}\nexport const drawPlotArea = ({\n node,\n className,\n x = 0,\n y = 0,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enter = (owner = undefined) => {\n /* noop */\n },\n}: IDrawPlotAreaProps): Selection<\n SVGGElement,\n Series, string>[],\n BaseType,\n unknown\n> =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n node\n .append(\"g\")\n .classed(strJoinSpaces([\"plot-area\", className]), true)\n .attr(\"transform\", `translate(${x}, ${y})`)\n .call((plotArea) => {\n enter && typeof enter === \"function\" ? enter(plotArea) : plotArea\n })\n\nexport const createTooltip = ({\n svg,\n width,\n height,\n tooltipClass,\n mouseLineClass,\n xRectPosition,\n leftTooltipLeftOffset,\n rightTooltipLeftOffset,\n setHoverValue,\n ticks,\n}) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n svg\n .append(\"path\") // this is the black vertical line to follow mouse\n .classed(mouseLineClass, true)\n .style(\"stroke\", solidGray.toString())\n .style(\"stroke-width\", \"1px\")\n .style(\"opacity\", \"1\")\n .style(\"transition\", \"opacity 0.45s\")\n\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n return svg\n .append(\"svg:rect\") // append a rect to catch mouse movements on canvas\n .attr(\"width\", width) // can't catch mouse events on a g element\n .attr(\"height\", height)\n .attr(\"fill\", \"none\")\n .attr(\"x\", xRectPosition) // TODO: make this configurable (Resolve YAxis width)\n .attr(\"pointer-events\", \"all\")\n .on(\"mouseout\", () => {\n // on mouse out hide tooltip and bar\n select(`.${mouseLineClass}`).style(\"opacity\", \"0\")\n select(`.${tooltipClass}`).style(\"opacity\", \"0\")\n })\n .on(\"mouseover\", () => {\n // on mouse in show tooltip and bar\n select(`.${mouseLineClass}`).style(\"opacity\", \"1\")\n select(`.${tooltipClass}`)\n .style(\"display\", \"initial\")\n .style(\"opacity\", \"1\")\n .style(\"width\", `${TOOLTIP_WIDTH}px`)\n })\n .on(\"mousemove\", (event: MouseEvent) => {\n // mouse moving over canvas\n const [mouseX] = pointer(event) // get mouse x position\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n const tickXPositions: number[] = ticks\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n .filter((_tick: any, i: number) => i < ticks.length)\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .map((tick: any) =>\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n Number(tick.getAttribute(\"transform\").slice(10, -1).split(\",\", 1))\n )\n const xPos = mouseX - xRectPosition + tickXPositions[0]\n let xValue = 0\n tickXPositions.forEach((tick, index) => {\n if (xPos > tick) {\n xValue = index\n }\n })\n\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n setHoverValue(xValue)\n // TODO: Add refactor/test for this\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const xPositionTooltip =\n xValue < tickXPositions.length / 2\n ? tickXPositions[xValue] + leftTooltipLeftOffset\n : tickXPositions[xValue] - TOOLTIP_WIDTH - rightTooltipLeftOffset\n\n select(`.${mouseLineClass}`).attr(\"d\", () => {\n let d = `M${tickXPositions[xValue]},${height}`\n d += ` ${tickXPositions[xValue]},0`\n return d\n })\n select(`.${tooltipClass}`).style(\"left\", `${xPositionTooltip}px`)\n })\n}\n\nexport const formatMockEndValue = (ticks, xOffset): void => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!ticks.length) {\n return\n }\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n ticks[0].setAttribute(\"transform\", `translate(${xOffset}, 0)`)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n ticks[ticks.length - 1].remove()\n}\n\n/**\n * Limits the amount of tick text present if it passes a certain limit\n *\n * @param {any} ticks xAxisTicks\n * @param xTicks\n * @returns {void}\n */\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const limitXAxisTickText = (xTicks: any): void => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (xTicks.length > ORGANIZATION_DASHBOARD_TICK_TEXT_LIMIT) {\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-explicit-any\n xTicks.forEach((tick: any, index: number) => {\n if (index % 2 === 1) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n tick.textContent = \"\"\n }\n })\n }\n}\n\n/**\n * Returns the number of ticks in a given axis\n *\n * @param {INode} parent D3 Selection alias\n * @param {string} axisClassName CSS class name(s) to apply\n * Must be prefaced with dot (.) for CSS class or hash (#) for id\n * @returns {number} count of ticks\n */\nexport const getAxisTickCount = (\n parent: INode,\n axisClassName: string\n): number => parent?.select(axisClassName)?.selectAll(\".tick\")?.nodes()?.length\n\n/**\n * Sets the text-anchor attribute on the start and end ticks\n *\n * @param xTicks - The x-axis ticks\n */\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const setXAxisStartAndEndTickAnchors = (xTicks: any): void => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n xTicks[0].setAttribute(\"text-anchor\", \"start\")\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n xTicks[xTicks.length - 1].setAttribute(\"text-anchor\", \"end\")\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"virtualizedReportingTableHeader-module__header___5QPGy\",\"headerAlignRight\":\"virtualizedReportingTableHeader-module__headerAlignRight___kIyF+\",\"tableSortLabel\":\"virtualizedReportingTableHeader-module__tableSortLabel___yCHiI\",\"stickyColumn\":\"virtualizedReportingTableHeader-module__stickyColumn___ckIQY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rowContent\":\"virtualizedReportingTableTotalRow-module__rowContent___IASOJ\",\"visibleRowContent\":\"virtualizedReportingTableTotalRow-module__visibleRowContent___X7--c\",\"stickyColumn\":\"virtualizedReportingTableTotalRow-module__stickyColumn___rbb2G\"};","import type { AxiosInstance } from \"axios\"\n\nimport { snakeCaseToCamelCase } from \"./formatters\"\n\nconst allowPassThrough = [\n \"recommendations/building_simulations\",\n \"recommendations/interventions\",\n \"recommendations/plans\",\n \"recommendations/potential_sites\",\n \"recommendations/building_simulations/by_site_and_interventions\",\n]\n\nexport const initCaseResponseInterceptor = (httpClient: AxiosInstance) =>\n httpClient.interceptors.response.use((response) => {\n if (\n allowPassThrough.some((passThroughUrl) =>\n response.config.url.includes(passThroughUrl)\n )\n ) {\n return response\n }\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return snakeCaseToCamelCase(response)\n })\n","/**\n * Gets an object's key by the key's value using strict equality\n *\n * @param obj - The object in which to find the key\n * @param value - The value of the key\n * @returns - The key in the object who's value is strictly equal to the provided value, or undefined it none is found\n * @example\n * getKeyByValue(myObject, 100)\n */\nexport const getKeyByValue = (\n obj: Record,\n value: TValue\n): string | undefined => Object.keys(obj).find((key) => obj[key] === value)\n","import type {\n QueryData,\n QueryInputData,\n ServiceAction,\n ServiceName,\n ServiceValue,\n} from \"../../types\"\n\nconst createRenamedQueryData = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n>(\n serviceName: NameT,\n { data: inputData }: QueryInputData\n) =>\n ({\n [serviceName]: inputData,\n }) as QueryData\n\nexport default createRenamedQueryData\n","import { useMemo } from \"react\"\n\nimport type { UseQueryResult } from \"@tanstack/react-query\"\n\nimport type {\n QueryData,\n QueryInputData,\n ServiceAction,\n ServiceName,\n ServiceValue,\n} from \"../../types\"\nimport createRenamedQueryData from \"../createRenamedQueryData/createRenamedQueryData\"\nimport { createRenamedQueryProps } from \"../createRenamedQueryProps/createRenamedQueryProps\"\n\n/**\n * @deprecated Use {@link UseRenameQueryResult} instead\n *\n * Create a renamed and memoized return object for a particular service.\n * Renames \"data\" to \"serviceName\" and \"isLoading\" to \"isServiceNameGetOneLoading\", etc.\n * @param serviceName The name of the service.\n * @param serviceAction The action of the service.\n * @param inputObject The input object to be remapped.\n * @returns The return object.\n * @example\n * useRenamedQueryResult([\"test\", \"getOne\"], {\n * isIdle: false,\n * isLoading: false,\n * isSuccess: true,\n * isError: false,\n * })\n */\nexport const useRenamedQueryResult = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n>(\n // Accept a query key, but allow any other tuple as well:\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [serviceName]: [NameT, ActionT, ...any],\n // Formatted to accept the return value of react-query's useQuery.\n inputObject: UseQueryResult & QueryInputData\n) => {\n const renamedQueryProps = useMemo(\n () => createRenamedQueryProps(serviceName, inputObject),\n [inputObject, serviceName]\n )\n\n const renamedQueryData: QueryData = useMemo(\n () => createRenamedQueryData(serviceName, inputObject),\n [inputObject, serviceName]\n )\n\n return useMemo(\n () => ({\n // TODO: Remove this when we update existing services to use the new output status.\n ...inputObject,\n ...renamedQueryProps,\n ...renamedQueryData,\n }),\n [inputObject, renamedQueryData, renamedQueryProps]\n )\n}\n","import { upperFirst } from \"lodash-es\"\n\nimport {\n queryAttributePropNames,\n queryFunctionPropNames,\n queryStatusPropNames,\n} from \"../../types\"\nimport type {\n RenamedQueryAttributeProps,\n RenamedQueryFunctionProps,\n RenamedQueryProps,\n RenamedQueryStatusProps,\n ServiceName,\n} from \"../../types\"\n\n/**\n * Creates an object of React Query based status names customized to the entity and action.\n * @param serviceName The name of the service.\n * @param serviceAction The action of the service.\n * @param inputObject The input object to be remapped.\n * @returns The remapped object.\n * @example\n * createQueryOutputStatus(\"test\", \"updateOne\", {\n * isIdle: false,\n * isLoading: false,\n * isSuccess: true,\n * isError: false,\n * })\n */\nexport const createRenamedQueryProps = (\n serviceName: NameT,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n inputObject: any\n): RenamedQueryProps => {\n const attributeProps = Object.fromEntries(\n queryAttributePropNames.map((statusKey) => [\n `${serviceName}${upperFirst(statusKey)}`,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n inputObject[statusKey],\n ])\n ) as RenamedQueryAttributeProps\n\n const functionProps = Object.fromEntries(\n queryFunctionPropNames.map((statusKey) => [\n `${statusKey}${upperFirst(serviceName)}`,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n inputObject[statusKey],\n ])\n ) as RenamedQueryFunctionProps\n\n const statusProps = Object.fromEntries(\n queryStatusPropNames.map((statusKey) => [\n `is${upperFirst(serviceName)}${upperFirst(statusKey)}`,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n inputObject[`is${upperFirst(statusKey)}`],\n ])\n ) as RenamedQueryStatusProps\n\n return {\n ...attributeProps,\n ...functionProps,\n ...statusProps,\n }\n}\n","export enum FeeType {\n Distribution = \"distribution\",\n Gas = \"gas\",\n Kilowatt = \"kw\",\n KilowattHour = \"kwh\",\n KilowattHourPerKilowatt = \"kwh_per_kw\",\n Month = \"month\",\n Tax = \"tax\",\n}\n\nexport class Fee {\n constructor({ feeName, feeUsage, feeRate, feeCost, feeType }) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.feeName = feeName\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.feeUsage = feeUsage\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.feeRate = feeRate\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.feeCost = feeCost\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this.feeType = feeType\n }\n\n public feeName: string\n\n public feeUsage: number\n\n public feeRate: number\n\n public feeCost: number\n\n public feeType: string\n}\n","import type { UseMutationResult } from \"@tanstack/react-query\"\n\nimport type { ApiQueryName } from \"../models/api\"\nimport type { components, operations, paths } from \"./generated/schema\"\n\nexport type Schemas = components[\"schemas\"]\nexport type Operations = operations\nexport type Paths = paths\n\n/**\n * The action types used to categorize the functionality of services.\n */\n\nexport const ServiceActions = [\n \"getOne\",\n \"getMany\",\n \"createOne\",\n \"updateOne\",\n \"deleteOne\",\n] as const\n\nexport type ServiceAction = (typeof ServiceActions)[number]\n\nexport const ServiceActionsWithData = [\"getOne\", \"getMany\"] as const\n\nexport const ServiceActionsWithMutation = [\n \"createOne\",\n \"updateOne\",\n \"deleteOne\",\n] as const\n\n/**\n * A unique identifier for a CRUD grouping of service hooks.\n * Use only one ServiceAction per ServiceName, except in cases of multiple getMany configurations.\n */\nexport type ServiceName = ApiQueryName | `${ApiQueryName}` // Accept enum or string literal.\n\n/**\n * The server ID of a particular resource.\n */\nexport type ServiceEntityKey = string\n\n/**\n * The returned datum value of a service function.\n */\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ServiceValue = Record\n\n/**\n * The returned datum value of a service function.\n */\nexport type ServiceData<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> = undefined | ActionT extends (typeof ServiceActionsWithData)[number]\n ? ActionT extends \"getMany\"\n ? ValueT[]\n : ValueT\n : undefined\n\n/**\n * A unique identifier for a respective service query.\n */\nexport type ServiceQueryKey<\n NameT extends ServiceName = ServiceName,\n ActionT extends ServiceAction = ServiceAction,\n IdT extends null | ServiceEntityKey = ServiceEntityKey,\n> = [NameT, ActionT, null | IdT, null | string]\n\n/**\n * Used in filtering values from the database.\n */\n// TODO: Add Spraypaint-specific wheres, but not using string interpolation.\n// e.g., don't use `entity_or`.\n// see https://www.graphiti.dev/js/reads/filtering\nexport type ServiceWhereOptions = Partial\n\n/**\n * Used in sorting values either on the client or on the server / database.\n */\nexport interface ServiceSortOptions {\n key: keyof ValueT\n order: \"desc\" | \"asc\"\n}\n\n/**\n * Standard options shared by all services. Can be extended.\n */\n// TODO: Rename to ServiceBaseOptions\nexport type ServiceOptions = ActionT extends\n | \"getOne\"\n | \"getMany\"\n ? {\n disabled?: boolean\n }\n : object\n\nexport const mutationStatusNames = [\n \"idle\",\n \"loading\",\n \"success\",\n \"error\",\n] as const\n\nexport const queryAttributePropNames = [\n \"updatedAt\",\n \"error\",\n \"errorUpdatedAt\",\n \"errorUpdateCount\",\n \"failureCount\",\n \"status\",\n] as const\n\nexport const queryFunctionPropNames = [\"remove\", \"refetch\"] as const\n\nexport const queryStatusPropNames = [\n \"error\",\n \"fetched\",\n \"fetchedAfterMount\",\n \"fetching\",\n \"idle\",\n \"initialLoading\",\n \"loading\",\n \"loadingError\",\n \"placeholderData\",\n \"previousData\",\n \"refetchError\",\n \"refetching\",\n \"stale\",\n \"success\",\n] as const\n\nexport type MutationInputStatus = Pick<\n UseMutationResult,\n `is${Capitalize<(typeof mutationStatusNames)[number]>}`\n>\n\nexport interface QueryInputData<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> {\n data: ServiceData\n}\n\nexport interface InputMutation<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> {\n mutate: QueryMutation\n}\n\nexport type MutationOutputStatus<\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n> = Record<\n `is${Capitalize}${Capitalize}${Capitalize<\n (typeof mutationStatusNames)[number]\n >}`,\n boolean\n>\n\nexport type RenamedQueryStatusProps = Record<\n `is${Capitalize}${Capitalize<(typeof queryStatusPropNames)[number]>}`,\n boolean\n>\n\nexport type RenamedQueryAttributeProps = Record<\n `${NameT}${Capitalize<(typeof queryAttributePropNames)[number]>}`,\n unknown\n>\n\nexport type RenamedQueryFunctionProps = Record<\n `${(typeof queryFunctionPropNames)[number]}${Capitalize}`,\n unknown\n>\n\nexport type RenamedQueryProps =\n RenamedQueryStatusProps &\n RenamedQueryAttributeProps &\n RenamedQueryFunctionProps\n\nexport type QueryData<\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> = Record>\n\nexport type OutputMutation<\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n ServiceMutationT extends ServiceMutation,\n> = Record<`${ActionT}${Capitalize}`, ServiceMutationT>\n\nexport type ServiceMutationAttributes<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> = ActionT extends \"createOne\"\n ? Omit\n : ActionT extends \"updateOne\"\n ? Partial\n : undefined\n\n/**\n * The argument object passed to react-query useMutation.\n * Different from the parsed MutationHandle mutation.\n */\nexport type QueryMutation<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> = ActionT extends \"updateOne\"\n ? (mutationArg: {\n newAttributes: ServiceMutationAttributes\n serviceEntityKey: ServiceEntityKey\n }) => void\n : ActionT extends \"createOne\"\n ? (mutationArg: {\n newAttributes: ServiceMutationAttributes\n }) => void\n : ActionT extends \"deleteOne\"\n ? (mutationArg: {\n newAttributes?: undefined\n serviceEntityKey: ServiceEntityKey\n }) => void\n : undefined\n\n/**\n * Used by services that mutate a value.\n */\nexport type ServiceMutation<\n ActionT extends ServiceAction,\n ValueT extends ServiceValue,\n> = ActionT extends \"createOne\" | \"updateOne\"\n ? (\n serviceEntityKey: ServiceEntityKey,\n newAttributes: ServiceMutationAttributes\n ) => void\n : ActionT extends \"deleteOne\"\n ? (serviceEntityKey: ServiceEntityKey) => void\n : undefined\n\n/**\n * Extract the value type from a service's return value.\n */\nexport type InferredQueryServiceValue<\n ServiceFn extends (...args: unknown[]) => {\n [ServiceOutput in keyof ReturnType]: unknown\n },\n ServiceOutput extends keyof ReturnType,\n> = ReturnType[ServiceOutput]\n\n/**\n * Used to provide options towards the deletion of an entity.\n */\nexport interface UseDeleteEntityOptions {\n onError?: () => void\n onSuccess: () => void\n}\n\n/**\n * Used to provide options towards the creation of an entity.\n */\nexport interface UseCreateEntityOptions {\n onError?: (errorMessage: string) => void\n onSuccess?: (newEntityId: string) => void\n}\n","module.exports = __webpack_public_path__ + \"media/weather/rain-246dfef8.svg\";","import stableStringify from \"json-stable-stringify\"\n\nimport type {\n ServiceAction,\n ServiceEntityKey,\n ServiceName,\n ServiceQueryKey,\n} from \"../types\"\n\n/**\n * Create a standardized key array to uniquely identify a single query.\n * @param serviceName A unique identifier for a CRUD grouping of service hooks.\n * @param serviceAction The action types used to categorize the functionality of services.\n * @param options An arbitrary object, interpolated as a string, to make keys unique.\n * @returns A tuple of primitive values describing the query.\n */\nexport const createQueryKey = <\n NameT extends ServiceName,\n ActionT extends ServiceAction,\n IdT extends ServiceEntityKey,\n>(\n serviceName: NameT,\n serviceAction: ActionT,\n serviceEntityKey: null | IdT = null,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n serviceOptions: Record = {}\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n): ServiceQueryKey => [\n serviceName,\n serviceAction,\n serviceEntityKey ?? null,\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n stableStringify(serviceOptions ?? {}),\n]\n","import type { ITableColumn, ITableData } from \"../models/table\"\nimport { CSV_LIMITER, CSV_NEW_LINE } from \"./constants\"\n\n/**\n * Converts tabular data to a CSV\n *\n * @param data - The tabular data\n * @returns - The CSV\n * @example\n * convertTabularDataToCSV(tabularData)\n */\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const convertTabularDataToCSV = (data: ITableData): string => {\n if (!data?.columns?.length) {\n return \"\"\n }\n\n return (\n [\n // Enclose header titles in quotes to preserve commas\n data.columns?.map((header) => `\"${header.title}\"`),\n ...data.rows.map((row) => {\n const columnKeys = data.columns.map((column) => column.key)\n\n return (\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n Object.entries(row)\n // Filter out the row data without a corresponding column\n .filter((entry) => {\n const key: string = entry[0]\n\n return columnKeys.includes(key)\n })\n // Sort the row data by column order\n .sort(([cellAKey], [cellBKey]) => {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const cellAColumn: ITableColumn | undefined =\n data.columns?.find((column) => column.key === cellAKey)\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const cellBColumn: ITableColumn | undefined =\n data.columns?.find((column) => column.key === cellBKey)\n\n return (cellAColumn?.order ?? 0) - (cellBColumn?.order ?? 0)\n })\n // Transform the row data to CSV friendly values\n .map((entry) => {\n const value = entry[1]\n\n // Enclose string cell values in quotes to preserve commas\n if (typeof value === \"string\") {\n return `\"${value.toString()}\"`\n }\n if (value instanceof Date) {\n return value.toISOString()\n }\n if (Number.isNaN(value)) {\n return \"\"\n }\n return value ?? \"\"\n })\n )\n }),\n ]\n // Separate values with commas and turn into a string\n .map((row) => row.join(CSV_LIMITER))\n // Separate rows with new lines and turn into a string\n .join(CSV_NEW_LINE)\n )\n}\n\n/**\n * Creates an anchor used for downloading\n *\n * @param fileData - The file data\n * @param fileName - The file name\n * @example\n * createDownloadElement(new Blob([csv], { type: \"text/csv\" }), \"My Report\")\n */\nconst createDownloadElement = (\n fileData: Blob | MediaSource,\n fileName: string\n): HTMLAnchorElement => {\n const anchor: HTMLAnchorElement = document.createElement(\"a\")\n anchor.href = window.URL.createObjectURL(fileData)\n anchor.download = `${fileName}.csv`\n\n return anchor\n}\n\n/**\n * Clicks and removes an anchor used for downloading\n *\n * @param anchor - The anchor\n * @example\n * invokeDownloadAndCleanup(anchor)\n */\nconst invokeDownloadAndCleanup = (anchor: HTMLAnchorElement): void => {\n anchor.click()\n window.URL.revokeObjectURL(anchor.href)\n anchor.remove()\n}\n\n/**\n * Downloads a CSV\n *\n * @param data - The data\n * @param filename - The name of the file\n * @example\n * downloadCsvNew(data, \"My Report\")\n */\nexport const downloadCsvNew = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: ITableData,\n filename: string\n): void => {\n const csv: string = convertTabularDataToCSV(data)\n const downloadElement: HTMLAnchorElement = createDownloadElement(\n new Blob([csv], { type: \"text/csv\" }),\n filename\n )\n\n invokeDownloadAndCleanup(downloadElement)\n}\n","import { initReactI18next } from \"react-i18next\"\nimport type { TFunction } from \"react-i18next\"\n\nimport { Language, LanguageRegion, TranslationNamespace } from \"@/models/i18n\"\nimport { httpClient } from \"@/utils/api\"\nimport type { LanguageMappings } from \"@crowdin/ota-client\"\nimport i18next from \"i18next\"\nimport type { InitOptions, i18n } from \"i18next\"\nimport ChainedBackend from \"i18next-chained-backend\"\nimport type { I18NextChainedBackend } from \"i18next-chained-backend\"\nimport HttpBackend from \"i18next-http-backend\"\n\nconst LOCALIZATION_CDN_KEY: string = process.env.REACT_APP_LOCALIZATION_CDN_KEY\nconst LOCALIZATION_CDN_URL_ORIGIN = \"https://distributions.crowdin.net\"\nconst LOCALIZATION_CDN_URL_PATH: string =\n process.env.REACT_APP_LOCALIZATION_CDN_URL_PATH\n\ninterface Manifest {\n languageMapping: LanguageMappings | never[]\n languages: string[]\n timestamp: number\n}\n\nexport const defaultI18nServiceConfig: InitOptions = {\n lng: LanguageRegion.EnglishUnitedStates,\n fallbackLng: Language.English, // \"en\" resources should only exist in the codebase (not the l10n CDN) and serve as the \"source\" resources for the cloud l10n service\n load: \"currentOnly\",\n interpolation: {\n escapeValue: false,\n },\n ns: [\n TranslationNamespace.Common,\n TranslationNamespace.Dashboard,\n TranslationNamespace.Organization,\n TranslationNamespace.Settings,\n TranslationNamespace.Site,\n ],\n defaultNS: TranslationNamespace.Common,\n fallbackNS: TranslationNamespace.Common,\n react: {\n useSuspense: false,\n },\n}\n\nconst getLocalizationManifest = async (): Promise => {\n // Ideally we would use @crowdin/ota-client, but module importing/exporting isn't working in TypeScript\n // e.g. const crowdinHttpClient = new OtaClient(LOCALIZATION_CDN_KEY)\n const response = await httpClient.get(\n `${LOCALIZATION_CDN_URL_ORIGIN}/${LOCALIZATION_CDN_KEY}/manifest.json`\n )\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return response.data\n}\n\n/**\n * Initializes an i18n service with the correct configuration\n *\n * @returns A promise that resolves when the i18n service has been initialized\n * @example\n * initializeI18nService(i18nService)\n */\nexport const initializeI18nService = async (\n i18nService: i18n\n): Promise => {\n try {\n // Don't call CDN until it's turned back on\n throw new Error(\"CrowdIn CDN has been intentionally turned off\")\n\n // Initialize i18n with CDN language support and local fallback\n const manifest: Manifest = await getLocalizationManifest()\n const { languages, languageMapping } = manifest\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const languageRegions: LanguageRegion[] = languages.map((language) => {\n const hasLanguageRegion = !!new Intl.Locale(language).region\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return hasLanguageRegion ? language : languageMapping[language].locale\n })\n const initOptions: InitOptions & I18NextChainedBackend.BackendOptions = {\n ...defaultI18nServiceConfig,\n backend: {\n backends: [HttpBackend, HttpBackend],\n backendOptions: [\n {\n loadPath: `${LOCALIZATION_CDN_URL_ORIGIN}/${LOCALIZATION_CDN_KEY}/content${LOCALIZATION_CDN_URL_PATH}/{{lng}}/{{ns}}.json?timestamp=${manifest.timestamp}`,\n },\n {\n loadPath: \"/locales/{{lng}}/{{ns}}.json\",\n },\n ],\n },\n supportedLngs: [Language.English, ...languageRegions],\n } as unknown\n\n return i18nService.init(initOptions)\n } catch {\n // Initialize i18n with local language support only\n const initOptions: InitOptions & I18NextChainedBackend.BackendOptions = {\n ...defaultI18nServiceConfig,\n backend: {\n backends: [HttpBackend],\n backendOptions: [{ loadPath: \"/locales/{{lng}}/{{ns}}.json\" }],\n },\n supportedLngs: [\n LanguageRegion.DanishDenmark,\n LanguageRegion.GermanBelgium,\n LanguageRegion.GermanSwitzerland,\n LanguageRegion.GermanGermany,\n LanguageRegion.GermanLuxembourg,\n Language.English,\n LanguageRegion.EnglishGreatBritain,\n LanguageRegion.EnglishIreland,\n LanguageRegion.EnglishUnitedStates,\n LanguageRegion.SpanishSpain,\n LanguageRegion.FrenchBelgium,\n LanguageRegion.FrenchCanada,\n LanguageRegion.FrenchSwitzerland,\n LanguageRegion.FrenchFrance,\n LanguageRegion.FrenchLuxembourg,\n LanguageRegion.ItalianSwitzerland,\n LanguageRegion.ItalianItaly,\n LanguageRegion.DutchBelgium,\n LanguageRegion.DutchNetherlands,\n LanguageRegion.NorwegianNorway,\n LanguageRegion.SwedishSweden,\n ],\n } as unknown\n\n return i18nService.init(initOptions)\n }\n}\n\n/**\n * Creates and initializes a new instance of an i18n service with the correct configuration\n *\n * @returns - The configured i18n service instance\n * @example\n * const i18nService: i18n = createI18nService()\n */\nexport const createI18nService = (): i18n => {\n const i18nService: i18n = i18next\n .createInstance()\n .use(ChainedBackend)\n .use(initReactI18next)\n\n return i18nService\n}\n","export const CANCELED_PROMISE_ERROR_MESSAGE = \"Canceled\"\n","import type Currency from \"../../../../models/currency\"\nimport type { CurrencyCode } from \"../../../../models/currencyCode\"\nimport { Translation } from \"../../../../models/i18n\"\nimport type { IUserSettings } from \"../../contexts/userSettings.provider\"\nimport type { IUserSettingsData } from \"../../contexts/userSettings.store\"\n\nexport const currenciesToCurrencyCodes = (\n currencies: Currency[]\n): CurrencyCode[] =>\n currencies.map((currency) => currency.alphaCode as CurrencyCode)\n\nexport const isSupportedCurrency = (currencyCode: CurrencyCode): boolean => {\n const supportedCurrencies = Object.keys(\n Translation.Common.Currency\n ) as CurrencyCode[]\n\n return supportedCurrencies.includes(currencyCode)\n}\n\n/**\n * Returns all data-only user settings properties from a user settings object\n *\n * @param userSettings - The userSettings object\n * @returns - The userSettingsData object\n */\nexport const getDataFromUserSettings = (\n userSettings: IUserSettings\n): IUserSettingsData => ({\n currency: userSettings.currency,\n hasLoadedSupportedCurrencies: userSettings.hasLoadedSupportedCurrencies,\n isLoadingSupportedCurrencies: userSettings.isLoadingSupportedCurrencies,\n supportedCurrencies: userSettings.supportedCurrencies,\n})\n","import createSagaMiddleware from \"@redux-saga/core\"\nimport type { Reducer } from \"@reduxjs/toolkit\"\nimport { combineReducers, configureStore } from \"@reduxjs/toolkit\"\nimport type { i18n as Ii18n } from \"i18next\"\nimport type { Saga } from \"redux-saga\"\n\nimport type { EnvironmentName } from \"../models/environment.types\"\nimport rootReducer from \"./reducers\"\nimport rootSaga from \"./sagas\"\n\n/**\n * The available Saga context keys\n */\nexport enum SagaContextKeys {\n i18n = \"i18n\",\n}\n\nexport interface SagaContext {\n i18n?: Ii18n\n}\n\ninterface ICreateStoreOptions {\n reducers?: Record\n saga?: Saga\n sagaMiddlewareContext?: SagaContext\n}\n\n/**\n * Creates a new Redux store optionally configured with a root reducer, root saga, and saga\n * middleware\n *\n * @param options - The configuration options\n * @param options.reducers - A collection of reducers to override the app's root reducer\n * @param options.saga - A root saga to override the app's root saga\n * @param options.sagaMiddlewareContext - A saga context object to override the app's saga middleware\n * @returns A configured redux store\n */\nconst createStore = (options?: ICreateStoreOptions) => {\n const sagaMiddleware = createSagaMiddleware({\n context: options?.sagaMiddlewareContext\n ? options.sagaMiddlewareContext\n : {},\n })\n\n const reducer = options?.reducers\n ? combineReducers(options.reducers)\n : rootReducer\n\n const store = configureStore({\n reducer,\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({ serializableCheck: false, thunk: false }).concat(\n sagaMiddleware\n ),\n devTools:\n process?.env?.REACT_APP_ENV !== (\"fed\" satisfies EnvironmentName) &&\n process?.env?.REACT_APP_ENV !== (\"production\" satisfies EnvironmentName),\n })\n\n sagaMiddleware.run(options?.saga ? options.saga : rootSaga)\n\n return store\n}\n\nexport default createStore\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"criteriaField\":\"departmentSelector-module__criteriaField___JqaPw\",\"popper\":\"departmentSelector-module__popper___iCDBi\",\"option\":\"departmentSelector-module__option___V8htd\",\"checked\":\"departmentSelector-module__checked___Sd11e\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rowContent\":\"cellRenderer-module__rowContent___TgE9g\",\"site\":\"cellRenderer-module__site___bIpfc\",\"visibleRowContent\":\"cellRenderer-module__visibleRowContent___xxM4N\",\"incompletenessLabel\":\"cellRenderer-module__incompletenessLabel___mOdKI\"};","import { CANCELED_PROMISE_ERROR_MESSAGE } from \"../models/error\"\n\nexport const handleError = (error: Error) => {\n if (error.message !== CANCELED_PROMISE_ERROR_MESSAGE) {\n throw error\n }\n}\n","/**\n * @param groupSize\n */\nexport const calculateFillTarget = (groupSize: number) => {\n if (groupSize <= 2) {\n return 24\n }\n if ([7, 24, 30, 31].includes(groupSize)) {\n return groupSize\n }\n return 30\n}\n","import { Language, LanguageRegion } from \"../models/i18n\"\nimport type { IMeasurementSystem } from \"../models/measurementSystem\"\nimport { MeasurementSystem } from \"../models/measurementSystem\"\n\nexport const getMeasurementSystem = (\n locale: LanguageRegion | Language | string\n): IMeasurementSystem => {\n if (\n locale !== LanguageRegion.EnglishUnitedStates &&\n locale !== Language.English\n ) {\n return MeasurementSystem.SI\n }\n return MeasurementSystem.USCU\n}\n","import { camelCase } from \"lodash-es\"\n\nimport { UnitName } from \"../models/unit\"\nimport { KWH_PER_MWH } from \"./constants\"\n\nexport const sharedDropdownFormat = \"MMMM YYYY\"\n\nconst renameKeys = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n obj: Record,\n formatMethod: (input: string) => string\n) =>\n Object.keys(obj).reduce(\n (acc, key) => ({\n ...acc,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n ...{ [obj[formatMethod(key)] || formatMethod(key)]: obj[key] },\n }),\n {}\n )\nexport const currencyTestRegex = /^\\$\\d{1,3}(?:,\\d{3})?\\.\\d{2}$/\nexport const numberWithCommasTestRegex =\n /^\\d{1,3}(?:,\\d{3}){0,3}?(?:\\.\\d{1,3})?$/\nexport const roundedNumberWithCommasTestRegex = /^\\d{1,3}(?:,\\d{3}){0,3}?$/\nexport const roundedCurrencyTestRegex = /^\\$\\d{1,3}(?:,\\d{3})?$/\nexport const roundedVolumeTestRegex = /^\\d{1,3}(?:,\\d{3}){0,3}?(\\sMWh)$/\nexport const currencyPerMwhTestRegex =\n /^\\$\\d{1,3}(?:,\\d{3})?\\.\\d{2}(\\s\\/\\sMWh)$/\nexport const roundedNumberWithCommasOrNanTestRegex =\n /^(\\d{1,3}(?:,\\d{3}){0,3}?)|(__.__)$/\n\nexport const utcDateTimeRegex =\n /(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])\\s(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])\\sUTC/\n\nexport const formatToSnakeCase = (inString: string): string =>\n inString\n ? inString\n .match(\n /[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g\n )\n .map((x) => x.toLowerCase())\n .join(\"_\")\n : inString\n\nexport const renameKeysToSnakeCase = (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n obj: Record\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): Record => renameKeys(obj, formatToSnakeCase)\n\nexport const titleize = (text: string): string =>\n text\n .split(\" \")\n .map((str) =>\n [\n str.charAt(0).toUpperCase(),\n [...str.slice(1)].join(\"\").toLowerCase(),\n ].join(\"\")\n )\n .join(\" \")\n\nexport const formatEnergyVolumeInUnit = (\n energyVolume: number,\n inputUnitType: UnitName.KilowattHour | UnitName.MegawattHour,\n outputUnitType: UnitName.KilowattHour | UnitName.MegawattHour\n): number => {\n if (inputUnitType === outputUnitType) {\n return energyVolume\n }\n if (\n inputUnitType === UnitName.MegawattHour &&\n outputUnitType === UnitName.KilowattHour\n ) {\n return energyVolume * KWH_PER_MWH\n }\n if (\n inputUnitType === UnitName.KilowattHour &&\n outputUnitType === UnitName.MegawattHour\n ) {\n return energyVolume / KWH_PER_MWH\n }\n throw new Error(\"Formatter.formatEnergyVolumeInUnit: unknown WattUnit!\")\n}\n\nexport const transformPricePerWhIntoUnit = (\n pricePerMwh: number,\n inputUnitType: UnitName.KilowattHour | UnitName.MegawattHour,\n outputUnitType: UnitName.KilowattHour | UnitName.MegawattHour\n): number => {\n if (inputUnitType === outputUnitType) {\n return pricePerMwh\n }\n if (\n inputUnitType === UnitName.MegawattHour &&\n outputUnitType === UnitName.KilowattHour\n ) {\n return pricePerMwh / KWH_PER_MWH\n }\n if (\n inputUnitType === UnitName.KilowattHour &&\n outputUnitType === UnitName.MegawattHour\n ) {\n return pricePerMwh * KWH_PER_MWH\n }\n throw new Error(\"Formatter.formatEnergyVolumeInUnit: unknown WattUnit!\")\n}\n\nexport const transformKwhToWattUnit = (\n kwh: number,\n wattUnit: UnitName.KilowattHour | UnitName.MegawattHour\n): number => (wattUnit === UnitName.MegawattHour ? kwh / KWH_PER_MWH : kwh)\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const snakeCaseToCamelCase = (input: any): any => {\n if (Array.isArray(input)) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return input.map((item) => snakeCaseToCamelCase(item))\n } else if (typeof input === \"object\" && input !== null) {\n const n = {}\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n Object.keys(input).forEach((k) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n n[camelCase(k)] = snakeCaseToCamelCase(input[k])\n })\n\n return n\n }\n\n return input\n}\n\ntype IBooleanObject = Record\n/**\n * Filter only truthy values\n *\n * @param obj {siteIsAmr: true, siteIsAmi: false} e.g.\n * @returns {[Array[]]} returns a matrix [[siteIsAmr, true]]\n */\nexport const getSiteDetailsMatrix = (obj: IBooleanObject) =>\n Object.entries(obj).filter((value) => value[1])\n","import { range } from \"lodash-es\"\n\nimport type { ITableColumn, ITableData, ITableRow } from \"../models/table\"\n\nconst getSkeletonTableRows = (\n columns: ITableColumn[],\n rowCount: number\n): TTableRow[] => {\n const idKey = \"id\"\n\n // Rows must have an id property for tracking during rendering\n const columnKeys: (keyof TTableRow)[] = [\n ...columns.map((column) => column.key),\n idKey,\n ]\n\n const skeletonRows: TTableRow[] = range(rowCount).map((index) =>\n columnKeys.reduce((row, key) => {\n if (key === idKey) {\n row.id = index\n } else {\n row[key] = null\n }\n\n return row\n // We will want to address this in the future\n // eslint-disable-next-line @typescript-eslint/prefer-reduce-type-parameter\n }, {} as TTableRow)\n )\n\n return skeletonRows\n}\n\nexport const getSkeletonTableData = (\n columns: ITableColumn[],\n rowCount: number\n): ITableData => {\n const rows = getSkeletonTableRows(columns, rowCount)\n\n return {\n columns,\n rows,\n }\n}\n","import { CIN_BELL_ID } from \"../models/organization\"\nimport type User from \"../models/user\"\n\nexport const isCinBellUser = (user: User | null | undefined): boolean => {\n const cinBellEmailRegex = /.+@cinbell.com/\n const hasCinBellEmail: boolean = cinBellEmailRegex.test(user?.email)\n const hasCinBellAccess: boolean =\n user?.organizationIds.includes(Number(CIN_BELL_ID)) ?? false\n\n return hasCinBellEmail && hasCinBellAccess && !user?.admin\n}\n","import { useMemo } from \"react\"\n\nimport { upperFirst } from \"lodash-es\"\n\nimport type { RenamedQueryResult } from \"./useRenameQueryResult.types\"\n\nexport const useRenameQueryResult = (\n queryResult: TQueryResult,\n prefix: TPrefix\n): RenamedQueryResult => {\n const props = useMemo(() => {\n return Object.fromEntries(\n Object.entries(queryResult).map(([key, value]) => [\n `${prefix}${upperFirst(key)}`,\n value,\n ])\n )\n }, [queryResult, prefix])\n\n return props as RenamedQueryResult\n}\n","import { Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class MeterHour extends ApplicationRecord {\n public static jsonapiType = \"meter_hours\"\n}\n\nexport const fetchMeterMeterHourCount = async (\n meterId: string\n): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const response: number = await MeterHour.where({\n meter_id: meterId,\n })\n .stats({\n total: \"count\",\n })\n .per(0)\n .all()\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n .then((res: any) => res.meta.stats.total.count)\n\n return response\n}\n","import { Attr, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Meter from \"./meter\"\n\n@Model()\nexport default class MeterSourceType extends ApplicationRecord {\n public static jsonapiType = \"meter_source_types\"\n\n @HasMany(\"meters\") meter: Meter\n\n @Attr() name: string\n}\n","export enum Language {\n Danish = \"da\",\n Dutch = \"nl\",\n English = \"en\",\n French = \"fr\",\n German = \"de\",\n Italian = \"it\",\n Norwegian = \"no\",\n Spanish = \"es\",\n Swedish = \"sv\",\n}\n\nexport enum LanguageRegion {\n DanishDenmark = \"da-DK\",\n DutchBelgium = \"nl-BE\",\n DutchNetherlands = \"nl-NL\",\n EnglishCanada = \"en-CA\",\n EnglishGreatBritain = \"en-GB\",\n EnglishIreland = \"en-IE\",\n EnglishSingapore = \"en-SG\",\n EnglishUnitedStates = \"en-US\",\n FrenchBelgium = \"fr-BE\",\n FrenchCanada = \"fr-CA\",\n FrenchFrance = \"fr-FR\",\n FrenchLuxembourg = \"fr-LU\",\n FrenchSwitzerland = \"fr-CH\",\n GermanBelgium = \"de-BE\",\n GermanGermany = \"de-DE\",\n GermanLuxembourg = \"de-LU\",\n GermanSwitzerland = \"de-CH\",\n ItalianItaly = \"it-IT\",\n ItalianSwitzerland = \"it-CH\",\n NorwegianNorway = \"no-NO\",\n SpanishSpain = \"es-ES\",\n SwedishSweden = \"sv-SE\",\n}\n\nexport const languageRegions: LanguageRegion[] = [\n LanguageRegion.DutchBelgium,\n LanguageRegion.DanishDenmark,\n LanguageRegion.DutchNetherlands,\n LanguageRegion.EnglishCanada,\n LanguageRegion.EnglishGreatBritain,\n LanguageRegion.EnglishIreland,\n LanguageRegion.EnglishSingapore,\n LanguageRegion.EnglishUnitedStates,\n LanguageRegion.FrenchBelgium,\n LanguageRegion.FrenchCanada,\n LanguageRegion.FrenchFrance,\n LanguageRegion.FrenchSwitzerland,\n LanguageRegion.FrenchLuxembourg,\n LanguageRegion.GermanBelgium,\n LanguageRegion.GermanGermany,\n LanguageRegion.GermanLuxembourg,\n LanguageRegion.GermanSwitzerland,\n LanguageRegion.ItalianItaly,\n LanguageRegion.ItalianSwitzerland,\n LanguageRegion.NorwegianNorway,\n LanguageRegion.SpanishSpain,\n LanguageRegion.SwedishSweden,\n]\n\nexport enum TranslationNamespace {\n Common = \"common\",\n Dashboard = \"dashboard\",\n Organization = \"organization\",\n Settings = \"settings\",\n Site = \"site\",\n}\n\nexport const Translation = {\n Common: {\n CarbonFreeEnergy: \"common:carbonFreeEnergy\",\n Currency: {\n CAD: \"common:currency.CAD\",\n CHF: \"common:currency.CHF\",\n DKK: \"common:currency.DKK\",\n EUR: \"common:currency.EUR\",\n GBP: \"common:currency.GBP\",\n NOK: \"common:currency.NOK\",\n SEK: \"common:currency.SEK\",\n SGD: \"common:currency.SGD\",\n USD: \"common:currency.USD\",\n },\n Date: \"common:date\",\n Decimal: \"common:decimal\",\n Language: {\n [Language.Danish]: `common:language.${Language.Danish}`,\n [Language.Dutch]: `common:language.${Language.Dutch}`,\n [Language.English]: `common:language.${Language.English}`,\n [Language.French]: `common:language.${Language.French}`,\n [Language.German]: `common:language.${Language.German}`,\n [Language.Italian]: `common:language.${Language.Italian}`,\n [Language.Norwegian]: `common:language.${Language.Norwegian}`,\n [Language.Spanish]: `common:language.${Language.Spanish}`,\n [Language.Swedish]: `common:language.${Language.Swedish}`,\n },\n OnSiteGenerated: \"common:onSiteGenerated\",\n },\n Dashboard: {\n DashboardTitle: \"dashboard:dashboardTitle\",\n },\n Organization: {\n WaterUseValue: \"organization:waterUseValue\",\n WaterUseTitle: \"organization:waterUseTitle\",\n },\n Settings: {\n CurrencyLabel: \"settings:currencyLabel\",\n LanguageLabel: \"settings:languageLabel\",\n SettingsTitle: \"settings:settingsTitle\",\n },\n Site: {\n CarbonFreeEnergyConsumedYTD: \"site:carbonFreeEnergyConsumedYTD\",\n },\n}\n","// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Attr, HasMany, Model, WhereClause } from \"spraypaint\"\nimport type { CollectionProxy } from \"spraypaint/lib-esm/proxies\"\n\nimport ApplicationRecord, { // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n IFetchApplicationRecordOptions,\n} from \"./applicationRecord/applicationRecord\"\nimport type Site from \"./site\"\n// Mass eslint disable\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { Order } from \"./sort\"\n\nexport const DEFAULT_LOCATION_PLACEHOLDER = \"_.__\"\n\n@Model()\nexport default class Location extends ApplicationRecord {\n public static jsonapiType = \"locations\"\n\n @HasMany(\"sites\") public sites: Site[]\n\n @Attr() public name: string\n\n @Attr() public latitude: number\n\n @Attr() public longitude: number\n\n @Attr() public timezone: string\n}\n\nexport const fetchLocations = async (): Promise => {\n const response: CollectionProxy = await Location.all()\n return response.data\n}\n","import { Attr, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Site from \"./site\"\n\n@Model()\nexport default class Node extends ApplicationRecord {\n public static jsonapiType = \"nodes\"\n\n @HasMany(\"sites\") public site: Site\n\n @Attr() public readonly name: string\n}\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class PhysicalDetail extends ApplicationRecord {\n public static jsonapiType = \"physical_details\"\n\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Attr() public details?: any\n\n @Attr() public subjectType: string // for v1 just 'Site'\n\n @Attr() public physicalDetailType?: string\n\n @Attr() public physicalDetailTypeId?: string\n\n @Attr() public readonly subjectId: string // for v1 make the site.id\n}\n","import { Attr, HasMany, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport Site from \"./site\"\n\n@Model()\nexport default class Sink extends ApplicationRecord {\n public static jsonapiType = \"sinks\"\n\n @HasMany(\"sites\") public site: Site\n\n @Attr() public readonly name: string\n}\n","import { Attr, Model } from \"spraypaint\"\n\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\n\n@Model()\nexport default class Locale extends ApplicationRecord {\n public static jsonapiType = \"locales\"\n\n @Attr() public readonly name: string\n}\n","module.exports = __webpack_public_path__ + \"media/recommendations/city-street-3f7c9496.png\";","module.exports = __webpack_public_path__ + \"media/recommendations/knowledge-6b24bebb.png\";","import {\n forEach,\n isNil,\n lowerFirst,\n map,\n mapKeys,\n mapValues,\n pickBy,\n} from \"lodash-es\"\nimport type { Scope, SortScope } from \"spraypaint\"\nimport { MiddlewareStack, Model, SpraypaintBase } from \"spraypaint\"\n\nimport { getCurrency } from \"../../utils/localStorage\"\nimport { defaultCurrencyCode } from \"../currencyCode\"\nimport { HttpHeaderName } from \"../http\"\nimport type { Order } from \"../sort\"\n\ntype ModelId = string\n\ntype AllKeys = keyof ReturnType | keyof ApplicationRecord | \"id\"\n\ntype ExtendedKeys = Exclude\n\ntype Flatten = T extends (infer V)[] ? V : T\n\ntype IsSpraypaintModel = T extends ApplicationRecord ? T : never\n\ntype IsRelation = unknown extends T // if unknown\n ? never\n : 0 extends 1 & T // if any\n ? never\n : T extends IsSpraypaintModel\n ? T\n : never\n\nexport type ModelRelationshipKeys = keyof {\n [K in keyof Omit as IsRelation> extends never\n ? never\n : K extends string\n ? K\n : never]: unknown\n}\n\nexport type ModelAttributeKeys = keyof {\n [K in Exclude, ModelRelationshipKeys> as M[K] extends (\n ...args: unknown[]\n ) => unknown\n ? never\n : K extends string\n ? K\n : never]: unknown\n}\n\nexport type ToPojo = { id: ModelId } & {\n [K in ModelAttributeKeys]: M[K]\n} & {\n [K in ModelRelationshipKeys]: M[K] extends (infer A)[]\n ? ToPojo[]\n : ToPojo\n}\n\n// TODO: This is sloppy. Remove any's.\nexport type GetValues = { id: ModelId } & {\n [K in ModelAttributeKeys]: M[K]\n} & {\n [K in ModelRelationshipKeys as K extends string\n ? // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n M[K] extends ArrayLike\n ? `${K}Ids`\n : `${K}Id`\n : // eslint-disable-next-line @typescript-eslint/no-unused-vars\n never]: M[K] extends ArrayLike ? unknown[] : unknown\n} & {\n [K in ModelRelationshipKeys]: M[K] extends ArrayLike\n ? ToPojo[]\n : ToPojo\n}\n\n// https://jsonapi.org/format/#fetching-pagination\nexport type PageLinks = Record<\n \"first\" | \"next\" | \"last\" | \"prev\",\n string | null\n>\n\ninterface ModelLookupOptions {\n extra: undefined | string[]\n include: undefined | string[]\n sort: unknown\n where: unknown\n}\n\ntype ModelRelationshipType = \"hasOne\" | \"belongsTo\" | \"hasMany\"\n\ninterface ModelRelationshipInfo {\n RelationshipModel: typeof ApplicationRecord\n attributeName: string\n idName: string\n isArray: boolean\n relationshipType: ModelRelationshipType\n}\n\n// Mass eslint disable @typescript-eslint/no-explicit-any\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst getPojoRelationships = (relationships): any =>\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any\n Object.entries(relationships).reduce(\n (pojoRelationships, [key, relationship]) => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const newPojoRelationships = {\n ...pojoRelationships,\n }\n\n // Purposely return HasMany relationships as class instances\n // Spraypaint isn't creating class instances from HasMany relationships\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n newPojoRelationships[key] = Array.isArray(relationship)\n ? relationship\n : (relationship as ApplicationRecord).toPojo()\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return newPojoRelationships\n },\n {}\n )\n\nexport interface IFetchApplicationRecordOptions {\n enabled?: boolean\n order?: Order | \"asc\" | \"desc\"\n orderBy?: string\n pageNumber?: number\n pageSize?: number\n}\n\ntype ApplicationRecordInstance = InstanceType\n\n// TODO: Memoize static getFoo functions as static getters.\n\n@Model()\nexport default class ApplicationRecord extends SpraypaintBase {\n static sync = false // this isn't actually getting us anything right now\n\n public static baseUrl = process.env.REACT_APP_API_BASE_URL ?? \"\"\n\n public static apiNamespace = \"/api/v1\"\n\n private lookupOptions?: ModelLookupOptions\n\n public static getAttributeNames() {\n return Object.keys(this.attributeList).filter(\n (attributeName) => !this.attributeList[attributeName].isRelationship\n )\n }\n\n public static getRelationshipNames() {\n return Object.keys(this.attributeList).filter(\n (attributeName) => this.attributeList[attributeName].isRelationship\n )\n }\n\n public static getRelationshipInfo(\n attributeName: string\n ): ModelRelationshipInfo {\n const relationshipValue = this.attributeList[attributeName]\n if (!relationshipValue) {\n throw new Error(`Invalid relationship name.`)\n }\n\n const relationshipType = lowerFirst(\n relationshipValue.constructor.name\n ) as ModelRelationshipType\n const isArray = relationshipType === \"hasMany\"\n const idName = isArray ? `${attributeName}Ids` : `${attributeName}Id`\n\n return Object.freeze({\n attributeName,\n idName,\n relationshipType,\n isArray,\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n RelationshipModel:\n relationshipValue.type ??\n // Mass lint disable\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (this.typeRegistry.get((relationshipValue as any).jsonapiType) as any),\n })\n }\n\n public static getRelationshipsInfo() {\n return Object.fromEntries(\n this.getRelationshipNames().map((attributeName) => [\n attributeName,\n this.getRelationshipInfo(attributeName),\n ])\n )\n }\n\n private isRelationship(attributeName: string) {\n return (this.constructor as typeof ApplicationRecord).attributeList[\n attributeName\n ]?.isRelationship\n }\n\n private isIncludedRelationship(attributeName: string) {\n return (\n this.isRelationship(attributeName) &&\n !(this.lookupOptions?.include ?? []).every(\n (i) => i !== attributeName && isNil(i[attributeName])\n )\n )\n }\n\n private isAttribute(attributeName: string) {\n if (attributeName === \"id\") {\n return false\n }\n const attributeInfo = (this.constructor as typeof ApplicationRecord)\n .attributeList[attributeName]\n if (!attributeInfo) {\n return false\n }\n return !attributeInfo.isRelationship\n }\n\n private isExtraAttribute(attributeName: string) {\n return this.lookupOptions?.extra?.includes(attributeName) ?? false\n }\n\n /**\n * Retrieve and instantiate records from the API.\n */\n public static async fetchInstances(\n options: Partial = {}\n ): Promise {\n const { include, extra, where, sort } = options\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n let scope = this as unknown as Scope\n\n if (include) {\n scope = scope.includes(include)\n }\n if (extra) {\n scope = scope.selectExtra(extra)\n }\n if (where) {\n scope = scope.where(where)\n }\n if (sort) {\n scope = scope.order(sort as SortScope)\n }\n\n const { data: result } = await scope.all()\n\n return (\n result?.map((instance) => {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n ;(instance as any).lookupOptions = options\n\n return instance as ApplicationRecord\n }) ?? []\n )\n }\n\n /**\n * Extract values from the model, injecting relationship IDs as [relationship]Id(s).\n */\n public getValues(): GetValues {\n const self = this.constructor as typeof ApplicationRecord\n\n // Extract the attribute values.\n const attributeValues = pickBy(this.attributes, (_, attributeName) =>\n this.isAttribute(attributeName)\n )\n\n // Extract the relationships values.\n const relationshipInfoByAttributeName = self.getRelationshipsInfo()\n const relationshipValues = mapValues(\n relationshipInfoByAttributeName,\n ({ isArray, attributeName }: ModelRelationshipInfo) => {\n const relation = this.relationships[attributeName]\n if (!this.isIncludedRelationship(attributeName)) {\n return undefined\n }\n if (isNil(relation)) {\n return isArray ? [] : null\n }\n if (isArray) {\n return (relation as ApplicationRecordInstance[]).map((r) =>\n r.getValues()\n )\n }\n return (relation as ApplicationRecordInstance).getValues()\n }\n )\n\n // Extract relationship IDs as [relationship]Id(s).\n const relationshipInfoByIdName = mapKeys(\n relationshipInfoByAttributeName,\n ({ idName }) => idName\n )\n const relationshipIds = mapValues(\n relationshipInfoByIdName,\n ({ isArray, attributeName }: ModelRelationshipInfo) => {\n const relation = this.relationships[attributeName]\n if (!this.isIncludedRelationship(attributeName)) {\n return undefined\n }\n if (isNil(relation)) {\n return isArray ? [] : null\n }\n if (isArray) {\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n return (relation as any[]).map(({ id }) => id)\n }\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n return (relation as any).id\n }\n )\n\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return {\n ...attributeValues,\n ...relationshipValues,\n ...relationshipIds,\n id: this.id,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } as any\n }\n\n /**\n * Apply values to the model. Relationships must be set via [relationship]Id(s) string.\n */\n public async saveValues(newValues): Promise {\n const self = this.constructor as typeof ApplicationRecord\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (newValues.id !== this.id) {\n throw new Error(\n `Instance \"${self.jsonapiType}\" cannot have its ID changed.`\n )\n }\n\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (newValues.id && !this.lookupOptions) {\n throw new Error(\n `Model \"${self.jsonapiType}\" must be instantiated with fetchInstances().`\n )\n }\n\n const attributeNames = self.getAttributeNames()\n const relationshipNames = self.getRelationshipNames()\n const relationshipsInfo = self.getRelationshipsInfo()\n const relationshipIdNames = map(relationshipsInfo, \"idName\")\n\n // Validate new values.\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n Object.keys(newValues).forEach((attributeName) => {\n if (relationshipNames.includes(attributeName)) {\n throw new Error(\n `Do not set nested attribute \"${attributeName}\" on model \"${self.jsonapiType}\".`\n )\n }\n\n if (\n !this.isAttribute(attributeName) &&\n !this.isRelationship(attributeName) &&\n !relationshipIdNames.includes(attributeName) &&\n attributeName !== \"id\"\n ) {\n throw new Error(\n `Unrecognized attribute \"${attributeName}\" on model \"${self.jsonapiType}\".`\n )\n }\n })\n\n // Set new attributes.\n attributeNames.forEach((attributeName) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const newValue = newValues[attributeName]\n if (newValue === undefined) {\n return\n }\n\n if (this.isExtraAttribute(attributeName)) {\n throw new Error(\n `Do not set extra attribute \"${attributeName}\" on model \"${self.jsonapiType}\".`\n )\n }\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n ;(this as any)[attributeName] = newValue\n })\n\n // Set new relationships.\n const withOption = []\n forEach(\n relationshipsInfo,\n ({ RelationshipModel, isArray, attributeName, idName }) => {\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n const newValue = newValues[idName]\n\n // Leave undefined values alone.\n if (newValue === undefined) {\n return\n }\n\n // Spraypaint requires the previous relationship ID(s) in order to disassociate.\n if (\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n newValues.id &&\n !this.lookupOptions.include.includes(attributeName)\n ) {\n throw new Error(\n `Attribute \"${attributeName}\" must be included to set relationship.`\n )\n }\n\n // Make sure we are only setting relationship IDs and nothing else.\n withOption.push(`${attributeName}.id`)\n\n if (isArray) {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const prevRelationships = this[attributeName] ?? []\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return\n const prevIds = prevRelationships.map(({ id }) => id)\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n prevRelationships.forEach((relationship) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (prevIds.includes(relationship.id)) {\n // Mass lint disable\n // eslint-disable-next-line no-param-reassign, @typescript-eslint/no-unsafe-member-access\n relationship.isMarkedForDisassociation = true\n }\n })\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n newValue.forEach((id) => {\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n if (!prevIds.includes(id)) {\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n this[attributeName].push(new RelationshipModel({ id }))\n }\n })\n } else {\n // Relationship is unchanged. Noop.\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (this[attributeName]?.id === newValue) {\n return\n }\n\n if (newValue === null) {\n // Single relationship must be disassociated.\n if (this[attributeName]) {\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n this[attributeName].isMarkedForDisassociation = true\n }\n } else {\n // No need to disassociate if overwriting.\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n this[attributeName] = new RelationshipModel({ id: newValue })\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n this[attributeName].isPersisted = true\n }\n }\n }\n )\n\n return await this.save({ with: withOption })\n }\n\n /**\n * Get a plain old JavaScript object representation of the class instance\n *\n * @returns A plain old JavaScript object representation of the class instance\n */\n toPojo(): ToPojo {\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return {\n ...this.attributes,\n id: this.id,\n ...getPojoRelationships(this.relationships),\n }\n }\n}\n\nconst middleware = new MiddlewareStack()\n\nmiddleware.beforeFilters.push((_url, options): void => {\n const currency = getCurrency() ?? defaultCurrencyCode\n // eslint-disable-next-line no-param-reassign\n options.headers[HttpHeaderName.XDisplayCurrency] = currency\n})\n\nApplicationRecord.middlewareStack = middleware\n","import { useCallback } from \"react\"\n\nimport { useAuthentication } from \"@/contexts\"\nimport type { Organization } from \"@/models/organization\"\nimport { useLocalStorage } from \"@uidotdev/usehooks\"\n\ninterface UserState {\n organizationId: string\n}\n\ntype UsersState = Record\n\ninterface UseUserStateValue {\n saveActiveOrganization: (organizationId: Organization[\"id\"]) => void\n userState: UserState\n}\n\nexport const emptyUserState: UserState = {\n organizationId: \"\",\n}\n\nexport const useUserState = (): UseUserStateValue => {\n const { authenticatedUser } = useAuthentication()\n\n const [usersState, setUserState] = useLocalStorage(\n `${process.env.REACT_APP_ENV}UserSessionInfo`,\n {}\n )\n\n const saveActiveOrganization = useCallback(\n (organizationId: Organization[\"id\"]): void => {\n const newUserState: UserState = {\n ...(usersState[authenticatedUser?.id] ?? emptyUserState),\n organizationId,\n }\n\n setUserState({\n ...usersState,\n [authenticatedUser?.id]: newUserState,\n })\n },\n [authenticatedUser?.id, setUserState, usersState]\n )\n\n return {\n saveActiveOrganization,\n userState: usersState[authenticatedUser?.id] ?? emptyUserState,\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"categorySelect\":\"scopeThreeDataLevel-module__categorySelect___PBmcq\",\"criteriaField\":\"scopeThreeDataLevel-module__criteriaField___ePiWl\",\"popper\":\"scopeThreeDataLevel-module__popper___vSE4z\",\"option\":\"scopeThreeDataLevel-module__option___-HR53\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"scopeThree-module__container___T6CGi\",\"dateRangeContainer\":\"scopeThree-module__dateRangeContainer___-2kdx\",\"criteriaLabel\":\"scopeThree-module__criteriaLabel___sNVJe\",\"disabledButtonText\":\"scopeThree-module__disabledButtonText___qRBME\"};","module.exports = __webpack_public_path__ + \"media/weather/clear-day-47894345.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerModal\":\"modalMetricsConsumption-module__headerModal___67aSO\",\"containerGrid\":\"modalMetricsConsumption-module__containerGrid___ouvJI\",\"containerCells\":\"modalMetricsConsumption-module__containerCells___l1SEx\",\"modalSubtitle\":\"modalMetricsConsumption-module__modalSubtitle___U8tU1\",\"dateLastUpdate\":\"modalMetricsConsumption-module__dateLastUpdate___S6O5d\",\"cellItem\":\"modalMetricsConsumption-module__cellItem___1BaIl\"};","export enum ApiQueryName {\n ActivityEmissionsReport = \"activityEmissionsReport\",\n AssistantInit = \"initAssistant\",\n AssistantThreads = \"assistantThreads\",\n Authentication = \"authentication\",\n AuthorizedOrganizations = \"authorizedOrganizations\",\n AvailableReportDates = \"availableReportDates\",\n BaCodes = \"baCodes\",\n BillingGroup = \"billingGroup\",\n BillingGroupCounts = \"billingGroupCounts\",\n BillingGroups = \"billingGroups\",\n BuildingTypes = \"buildingTypes\",\n BundledEmissionsAndEnergyVolume = \"bundledEmissionsAndEnergyVolume\",\n ComstockPredict = \"comstockPredict\",\n Currencies = \"currencies\",\n Data = \"data\",\n Department = \"department\",\n DepartmentCounts = \"departmentCounts\",\n Departments = \"departments\",\n DepartmentsSpraypaint = \"departmentsSpraypaint\",\n DirectEmissionsAndEnergyVolume = \"directEmissionsAndEnergyVolume\",\n Eia = \"eia\",\n ElectricityCost = \"electricityCost\",\n ElectricityMeter = \"electricityMeter\",\n EmissionProfile = \"emissionProfile\",\n EmissionProfiles = \"emissionProfiles\",\n EmissionsDateRange = \"emissionsDateRange\",\n EmissionsStats = \"emissionsStats\",\n EnergyAllocators = \"energyAllocators\",\n EnergyConsumption = \"energyConsumption\",\n EnergyStats = \"energyStats\",\n Feature = \"feature\",\n Features = \"features\",\n ForecastDays = \"forecastDays\",\n ForecastHours = \"forecastHours\",\n GresbReport = \"gresbReport\",\n GriReport = \"griReport\",\n Gtag = \"gtag\",\n IsSessionValid = \"isSessionValid\",\n Locales = \"locales\",\n Locations = \"locations\",\n Meter = \"meter\",\n MeterCounts = \"meterCounts\",\n MeterSourceTypes = \"meterSourceTypes\",\n Meters = \"meters\",\n MinMaxMeteredCostRange = \"minMaxMeteredCostRange\",\n MonthSummaries = \"monthSummaries\",\n MonthSummariesMinMaxDates = \"monthSummariesMinMaxDates\",\n MonthlyElectricityDateRange = \"monthlyElectricityDateRange\",\n MonthlySiteData = \"monthlySiteData\",\n NaturalGasAvailableMonths = \"naturalGasAvailableMonths\",\n NaturalGasDateRange = \"naturalGasDateRange\",\n Nodes = \"nodes\",\n NonMonthlyElectricityDateRange = \"nonMonthlyElectricityDateRange\",\n Organization = \"organization\",\n OrganizationCounts = \"organizationCounts\",\n OrganizationHierarchy = \"organizationHierarchy\",\n OrganizationSummaryStats = \"organizationSummaryStats\",\n OrganizationalUnit = \"organizationalUnit\",\n OrganizationalUnits = \"organizationalUnits\",\n Organizations = \"organizations\",\n Pendo = \"pendo\",\n PhysicalDetailTypes = \"physicalDetailTypes\",\n RecommendationSite = \"recommendationSite\",\n RecommendationsGoals = \"recommendationsGoals\",\n RecommendationsPlans = \"recommendationsPlans\",\n RecommendationsPotentialSites = \"recommendationsPotentialSites\",\n RecommendationsSite = \"recommendationsSite\",\n RecommendationsSiteByInterventions = \"recommendationsSiteByInterventions\",\n RepBuildingCounts = \"repBuildingCounts\",\n ScopeOneEmissions = \"scopeOneEmissions\",\n ScopeThreeEmissions = \"scopeThreeEmissions\",\n ScopeTwoEmissions = \"scopeTwoEmissions\",\n ServiceHourMinMaxDates = \"serviceHourMinMaxDates\",\n SigmaAccessToken = \"sigmaAccessToken\",\n SigmaRefreshAccessToken = \"sigmaRefreshAccessToken\",\n SigmaTeams = \"sigmaTeams\",\n SigmaWhoAmI = \"sigmaWhoAmI\",\n SigmaWorkbook = \"sigmaWorkbook\",\n SigmaWorkbookEmbeds = \"sigmaWorkbookEmbeds\",\n SigmaWorkbookSecureEmbedUrl = \"sigmaWorkbookSecureEmbedUrl\",\n SigmaWorkbooks = \"sigmaWorkbooks\",\n Sinks = \"sinks\",\n Site = \"site\",\n SiteCounts = \"siteCounts\",\n SiteCustomVariables = \"siteCustomVariables\",\n SiteDailyNaturalGasEmissions = \"siteDailyNaturalGasEmissions\",\n SiteEnergyAllocation = \"siteEnergyAllocation\",\n SiteExplorer = \"siteExplorer\",\n SiteExtraAttributes = \"siteExtraAttributes\",\n SiteFinancialSummaries = \"siteFinancialSummaries\",\n SiteLoadAggregationPoint = \"siteLoadAggregationPoint\",\n SiteLoadAggregationPointPrices = \"siteLoadAggregationPointPrices\",\n SitePlans = \"sitePlans\",\n SitePreviews = \"sitePreviews\",\n SiteProRatedUsageMeters = \"siteProRatedUsageMeters\",\n SiteTotals = \"siteTotals\",\n SiteTotalsByOrgUnit = \"siteTotalsByOrgUnit\",\n SiteUpdate = \"siteUpdate\",\n SiteYTDMeteredKwhs = \"siteYTDMeteredKwhs\",\n Sites = \"sites\",\n UploadEmissions = \"uploadEmissions\",\n UploadEntities = \"uploadEntities\",\n UploadUsage = \"uploadUsage\",\n UserCreate = \"userCreate\",\n Users = \"users\",\n UtilityCredentials = \"utilityCredentials\",\n UtilityCredentialsSignUp = \"utilityCredentialsSignUp\",\n ValidateAccount = \"validateAccount\",\n YtdMeteredKwh = \"ytdMeteredKwh\",\n}\n\nexport default {\n ApiQueryName,\n}\n","import { useCallback, useMemo } from \"react\"\n\nimport type { SpraypaintBase } from \"spraypaint\"\nimport type { ServiceSortOptions, ServiceWhereOptions } from \"../../types\"\nimport type ApplicationRecord from \"../../../models/applicationRecord/applicationRecord\"\nimport type {\n Includes,\n ModelAttributes,\n ModelAttributesShallow,\n ModelId,\n ModelRelationshipKeys,\n} from \"./types\"\n\n// TODO: Pagination\n\ninterface GetOneOptions {\n extra?: (keyof ModelAttributesShallow)[],\n include?: ModelRelationshipKeys[]\n}\n\ninterface GetManyOptions {\n include?: ModelRelationshipKeys[],\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n sort?: any,\n // TODO: Eventually add this to getAttributes():\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n where?: any\n // where?: undefined | null | ServiceWhereOptions>\n // sort?: undefined | null | ServiceSortOptions>\n}\n\ntype ReturnedValue<\n ModelT extends SpraypaintBase,\n OptionsT\n> = ModelAttributes<\n ModelT,\n \"include\" extends keyof OptionsT\n ? OptionsT[\"include\"] extends (infer R extends Includes)[]\n ? R\n : never\n : never\n>\n\nconst createSpraypaintSort = (\n Model: ModelT,\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n serviceSortOptions: undefined | null | ServiceSortOptions\n) => {\n if (!serviceSortOptions?.key || !serviceSortOptions?.order) {\n return\n }\n // eslint-disable-next-line consistent-return\n return { [serviceSortOptions.key]: serviceSortOptions.order }\n}\n\nconst createSpraypaintWhere = (\n Model: ModelT,\n serviceWhereOptions:\n | undefined\n | null\n | ServiceWhereOptions>\n) => {\n if (!serviceWhereOptions) {\n return undefined\n }\n return serviceWhereOptions\n // TODO: Make sure we don't have to change our relational key names.\n // e.g., relation to relation_id\n}\n\n/**\n * Given a Spraypaint model class (NOT an instance), returns a set of React-friendly methods for\n * reading and writing data to that model.\n *\n * @param SpraypaintModel An uninstantiated Spraypaint model class.\n * @returns A memoized object containing getters and setters associated with the provided model.\n * @example\n * const { getOne } = useSpraypaintModel(Person)\n */\nexport const useSpraypaintModel = (\n Model: ModelT\n) => {\n const getInstance = useCallback(\n async (\n entityId: ModelId,\n {include, extra }: GetOneOptions> = {}\n ) => {\n if (!entityId) {\n return undefined\n }\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any\n return Model.fetchInstances({ include, extra, where: { id: entityId } } as any)\n .then((arr) => arr[0])\n },\n [Model]\n )\n\n const getInstances = useCallback(\n async (options: GetManyOptions> = {}) => {\n const where = createSpraypaintWhere(\n Model as InstanceType,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n options.where)\n \n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n const sort = createSpraypaintSort(Model as InstanceType, options.sort)\n\n // We need to cast this because we should expect this to be an array of strings\n const include = options.include as string[]\n\n const instances = await Model.fetchInstances({ where, sort, include })\n return instances\n },\n [Model]\n )\n\n return useMemo(\n () => ({\n getOne: async <\n OptionsT extends\n | undefined\n | GetOneOptions> = undefined\n >(\n id: ModelId,\n options?: OptionsT\n ) => (await getInstance(id, options))?.getValues() as unknown as undefined |\n ReturnedValue, OptionsT>,\n\n getMany: async <\n OptionsT extends\n | undefined\n | GetManyOptions> = undefined\n >(\n options?: OptionsT\n ) =>\n (await getInstances(options))?.map((instance) =>\n instance.getValues()\n ) as unknown as undefined | ReturnedValue, OptionsT>[],\n\n update: async (\n id: ModelId,\n newAttributes: Partial>>\n ): Promise => {\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const include = Model.getRelationshipNames().filter((attributeName) => {\n const { idName } = Model.getRelationshipInfo(attributeName)\n return newAttributes[idName] !== undefined\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n }) as any\n \n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const instance = await getInstance(id, { include })\n if (!instance) {\n throw new Error(\"Instance not found.\")\n }\n \n return await instance.saveValues({id, ...newAttributes})\n },\n \n delete: async (\n id: ModelId,\n ): Promise => {\n const instance = await getInstance(id)\n if (!instance) {\n throw new Error(\"Instance not found.\")\n }\n await instance.destroy()\n },\n\n // TO-DO: Provide proper return type\n create: async (\n newAttributes: Partial>>\n ) => {\n const instance = new Model(newAttributes)\n await instance.saveValues(newAttributes)\n return instance.getValues() as unknown as undefined |\n ReturnedValue, undefined>\n },\n }),\n [Model, getInstance, getInstances]\n )\n}\n","module.exports = __webpack_public_path__ + \"media/weather/cloudy-f0882543.svg\";","module.exports = __webpack_public_path__ + \"media/weather/partly-cloudy-day-d520c501.svg\";","import axios from \"axios\"\nimport type { AxiosInstance } from \"axios\"\nimport type { IncludeScope, SortScope, WhereClause } from \"spraypaint\"\nimport type { FieldArg } from \"spraypaint/lib-esm/scope\"\n\nimport { initCaseResponseInterceptor } from \"./interceptors\"\n\nexport interface ApiQueryOptions {\n extraFields?: FieldArg\n includes?: IncludeScope\n page?: number\n pageSize?: number\n sort?: SortScope | string\n where?: WhereClause\n}\n\nexport interface HttpErrorRecord {\n detail: string\n status: string\n title: string\n}\n\ninterface HttpErrorProps {\n errors: TError[]\n message: string\n status: number\n}\n\nexport class HttpError> extends Error {\n errors: TError[]\n status: number\n\n constructor({ errors, message, status }: HttpErrorProps) {\n super(message)\n Object.assign(this, { errors, status })\n }\n}\n\nexport interface SuccessData {\n success: boolean\n}\n\nexport interface ErrorData extends SuccessData {\n error: string\n success: boolean\n}\n\nexport const httpClient: AxiosInstance = axios.create({\n baseURL: process.env.REACT_APP_API_BASE_URL ?? \"\",\n})\n\n// Set up interceptors on the Axios instance\ninitCaseResponseInterceptor(httpClient)\n\nexport const parseFloatMetaStatSum = (metaStatSum: string | undefined) =>\n metaStatSum ? parseFloat(metaStatSum) : 0\n","import React from \"react\"\n\nimport Typography from \"@mui/material/Typography\"\n\nexport const About = () => {\n let version\n\n try {\n version = APP_VERSION\n } catch {\n version = process.env.APP_VERSION\n }\n\n return (\n
    \n \n About NZeroOS\n \n Version: {version}\n
    \n )\n}\n","export * from \"./useRenameQueryResult\"\nexport * from \"./useQueryKey\"\n","import { useMemo } from \"react\"\n\nimport { useQueryClient } from \"@tanstack/react-query\"\n\nimport type { ServiceQueryKey } from \"../types\"\n\nexport const useInvalidateQueries = () => {\n const queryClient = useQueryClient()\n return useMemo(\n () => ({\n invalidateQueries: (queryKeys: ServiceQueryKey[]) => {\n queryKeys.forEach(([name, action, key]) => {\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n queryClient.invalidateQueries({\n predicate: ({ queryKey: [n, a, k] }) =>\n name === n &&\n (action === null || action === a) &&\n (key === null || key === k),\n })\n })\n },\n }),\n [queryClient]\n )\n}\n","import { filter, flatMap, groupBy, keys, map, pick, sum } from \"lodash-es\"\nimport type { Moment } from \"moment\"\nimport moment from \"moment\"\nimport { Attr, Model } from \"spraypaint\"\nimport { CollectionProxy } from \"spraypaint/lib-esm/proxies/collection-proxy\"\nimport type { FieldArg, IncludeScope } from \"spraypaint/lib-esm/scope\"\n\nimport Product from \"../components/graph/product\"\nimport {\n renameKeysToSnakeCase,\n snakeCaseToCamelCase,\n} from \"../utils/formatters\"\nimport ApplicationRecord from \"./applicationRecord/applicationRecord\"\nimport type Confirm from \"./confirm\"\nimport type Site from \"./site\"\nimport type { SitePremiseFinancialSummary } from \"./sitePremiseFinancialSummary\"\n\ninterface ICarbonFreeOrBasedStatsProps {\n dayStart: string\n site: Site\n yearStart: string\n}\n\nexport interface Allocation {\n carbonIntensity: number | null\n co2eLbs: number | null\n confirmCostCents: number\n confirmLineLossCostCents: number\n displayKwh: number\n hour: moment.Moment\n hours: moment.Moment[]\n id: number\n imbalanceCostCents: number\n imbalanceLineLossCostCents: number\n meteredKwh: number | null\n products: Product[]\n schedulingCostCents: number\n serviceHourIds: number[]\n}\n\nexport enum ElectricityType {\n Bundled = \"bundled\",\n DirectAccess = \"direct_access\",\n}\n\ninterface ICarbonBasedAndFreeStats {\n carbon_stats: {\n calculate: {\n carbon_based_kwh: string | undefined\n carbon_free_kwh: string | undefined\n co2e_lbs: string | undefined\n }[]\n }\n}\n\n@Model()\nexport default class EnergyAllocation extends ApplicationRecord {\n public static jsonapiType = \"energy_allocations\"\n\n @Attr() public kwh: number\n\n @Attr() public hour: string\n\n @Attr() public meteredKwh: number\n\n @Attr() public taggedKwh: number\n\n @Attr() public imbalanceKwh: number\n\n @Attr() public isCurtailed: boolean\n\n @Attr() public serviceHourId: number\n\n @Attr() public etagHourId: number\n\n @Attr() public billingGroupId: string\n\n @Attr() public emissionsRates: {\n carbon_equivalent_emissions?: string\n } | null\n\n @Attr() public confirmId: number\n\n @Attr() public imbalancePriceCents: number\n\n @Attr() public imbalanceCostCents: number\n\n @Attr() public confirmPriceCents: number\n\n @Attr() public confirmLineLossCostCents: number\n\n @Attr() public imbalanceLineLossCostCents: number\n\n @Attr() public confirmCostCents: number\n\n @Attr() public contractPriceCents: number\n\n @Attr() public schedulingCostCents: number\n\n @Attr() public allocationId: string\n\n @Attr() public obligationCents: number\n\n @Attr() public generationSource: string\n\n @Attr() public isFirm: boolean\n\n @Attr() public isResourceBased: boolean\n\n @Attr() public confirm: Confirm | null\n\n @Attr() public stackOrder: number\n\n @Attr() public electricityType: string\n\n @Attr() public energyProviderName: string\n\n @Attr() public co2eLbs: number\n\n public productOrder: number\n\n // Derived attribute: carbonIntensity\n public get carbonIntensity(): number | null {\n if (\n this.meteredKwh !== null &&\n this.co2eLbs !== null &&\n this.co2eLbs !== 0\n ) {\n return this.meteredKwh / this.co2eLbs\n }\n return null\n }\n\n static fetchBillingGroups = ({\n siteId,\n searchStartDate,\n searchEndDate,\n }: {\n searchEndDate: Moment\n searchStartDate: Moment\n siteId: string | number\n }): Promise =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n EnergyAllocation.where({\n site_id: siteId,\n start_time: searchStartDate.format(),\n end_time: searchEndDate.endOf(\"day\").format(),\n })\n .stats({\n billing_groups: \"sum\",\n })\n .per(0)\n .all()\n .then(\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n (resolvedResponse) => resolvedResponse.meta.stats.billing_groups.sum\n )\n\n static fetchFinancialSummary = ({\n siteId,\n searchStartDate,\n searchEndDate,\n billingGroupId,\n }): Promise =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n EnergyAllocation.where({\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n site_id: siteId,\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n start_time: searchStartDate.format(),\n // migration to strict mode batch disable\n // Mass lint disable\n // Mass eslint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n end_time: searchEndDate.format(),\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n billing_group_id: billingGroupId,\n })\n .stats({\n financial_summaries_for_premise: \"calculate\",\n })\n .per(0)\n .all()\n .then((resolvedFinancialSummariesPerPremise) =>\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n snakeCaseToCamelCase(\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n resolvedFinancialSummariesPerPremise.meta.stats\n .financial_summaries_for_premise.calculate\n )\n )\n\n static reduceToSalesFactors(energyAllocations: readonly EnergyAllocation[]): {\n hour: moment.Moment\n meteredKwh: number\n totalCostCents: number\n } {\n return energyAllocations.reduce(\n (\n // Mass eslint disable @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n acc: { hour: any; meteredKwh: number; totalCostCents: number },\n current: EnergyAllocation\n ) => ({\n hour: current.hour,\n totalCostCents: (current.obligationCents || 0) + acc.totalCostCents,\n meteredKwh: (current.meteredKwh || 0) + acc.meteredKwh,\n }),\n { hour: null, totalCostCents: 0, meteredKwh: 0 }\n )\n }\n\n static async fetchInPages({\n clause,\n includes = \"\",\n selects = [],\n stats = {},\n }: {\n clause: {\n [x: string]: string\n endTime: string\n organizationId?: string\n siteId?: string\n startTime: string\n }\n includes?: IncludeScope\n selects?: FieldArg\n stats?: Record\n }): Promise> {\n const defaultStats = { total: \"count\" }\n const whereObj = renameKeysToSnakeCase(clause)\n const metaParams = pick(whereObj, [\n \"start_time\",\n \"end_time\",\n \"site_id\",\n \"organization_id\",\n ])\n const energyAllocationsMeta = await EnergyAllocation.where(metaParams)\n .stats(defaultStats)\n .per(0)\n .all()\n\n // migration to strict mode batch disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n let recordCount = energyAllocationsMeta.meta.stats.total.count\n const promises: Promise>[] = []\n let pageCount = 1\n while (recordCount > 0) {\n promises.push(\n EnergyAllocation.where(whereObj)\n .stats(stats)\n .includes(includes)\n .order(\"id\")\n .select(selects)\n .per(1000)\n .page(pageCount)\n .all()\n )\n pageCount += 1\n recordCount -= 1000\n }\n const energyAllocations = await Promise.all(promises)\n // migration to strict mode batch disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const energyAllocationStats: Record>[] =\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n energyAllocations.map((ea) => ea.meta.stats)\n const reduceStats = (statsArray: typeof energyAllocationStats) => {\n const statKeys: string[][] = Object.entries(stats)\n if (statsArray.length === 0) {\n return\n }\n\n return statsArray.reduce((accumulatedStats, current) => {\n statKeys.forEach(([statKey, statKeyType]) => {\n if (\n accumulatedStats &&\n statKey in accumulatedStats &&\n statKeyType in accumulatedStats[statKey] &&\n current &&\n statKey in current &&\n statKeyType in current[statKey]\n ) {\n accumulatedStats[statKey][statKeyType] =\n current[statKey][statKeyType] +\n accumulatedStats[statKey][statKeyType]\n } else if (\n current &&\n statKey in current &&\n statKeyType in current[statKey] &&\n accumulatedStats &&\n !(statKey in accumulatedStats)\n ) {\n accumulatedStats[statKey] = current[statKey]\n }\n })\n return accumulatedStats\n })\n }\n\n return new CollectionProxy(\n flatMap(energyAllocations, (ea) => ea.data),\n {\n data: flatMap(\n energyAllocations,\n (energyAllocationsCollection) => energyAllocationsCollection.raw.data\n ),\n meta: { stats: reduceStats(energyAllocationStats) },\n }\n )\n }\n\n static getLossAdjustedConfirmCosts(\n energyAllocations: readonly Allocation[]\n ): number {\n return energyAllocations.reduce((acc: number, allocation: Allocation) => {\n const lossAdjustedConfirmCost =\n (allocation.confirmCostCents || 0) -\n (allocation.confirmLineLossCostCents || 0)\n return lossAdjustedConfirmCost / 100.0 + acc\n }, 0)\n }\n\n static getLossAdjustedImbalanceCosts(\n energyAllocations: Allocation[]\n ): number {\n return energyAllocations.reduce((acc, allocation) => {\n const lossAdjustedImbalanceCost =\n (allocation.imbalanceCostCents || 0.0) -\n (allocation.imbalanceLineLossCostCents || 0.0)\n return lossAdjustedImbalanceCost / 100.0 + acc\n }, 0)\n }\n\n static getLineLossCosts(energyAllocations: Allocation[]): number {\n return energyAllocations.reduce((acc, allocation) => {\n const lineLossCosts =\n (allocation.confirmLineLossCostCents || 0) +\n (allocation.imbalanceLineLossCostCents || 0)\n return lineLossCosts / 100.0 + acc\n }, 0)\n }\n\n static getSchedulingCosts(energyAllocations: Allocation[]): number {\n return energyAllocations.reduce(\n (acc, allocation) => (allocation.schedulingCostCents || 0) / 100.0 + acc,\n 0\n )\n }\n\n static confirmCostsSum(\n allocations: { confirmCostCents: number | null }[]\n ): number {\n return sum(map(allocations, (a) => a.confirmCostCents || 0))\n }\n\n static meteredKwhSum(allocations: { meteredKwh: number | null }[]): number {\n return sum(map(allocations, (a) => a.meteredKwh || 0))\n }\n\n static confirmLineLossCostSum(\n allocations: { confirmLineLossCostCents: number | null }[]\n ): number {\n return sum(map(allocations, (a) => a.confirmLineLossCostCents || 0))\n }\n\n static imbalanceCostSum(\n allocations: { imbalanceCostCents: number | null }[]\n ): number {\n return sum(map(allocations, (a) => a.imbalanceCostCents || 0))\n }\n\n static imbalanceLineLossCostSum(\n allocations: { imbalanceLineLossCostCents: number | null }[]\n ): number {\n return sum(map(allocations, (a) => a.imbalanceLineLossCostCents || 0))\n }\n\n static schedulingCostSum(\n allocations: { schedulingCostCents: number | null }[]\n ): number {\n return sum(map(allocations, (a) => a.schedulingCostCents || 0))\n }\n\n static displayKwh(allocations): number {\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n return sum(map(allocations, (a) => Math.abs(a.kwh)))\n }\n\n static displayCo2eLbs(allocations): number {\n // Mass lint disable\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n return sum(map(allocations, (a) => Math.abs(a.co2eLbs)))\n }\n\n static meteredAllocations(allocations): EnergyAllocation[] {\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return filter(\n allocations,\n // Mass lint disable\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (alloc) => alloc.meteredKwh != null && alloc.meteredKwh !== 0\n )\n }\n\n static groupId(allocations): number {\n // Mass lint disable\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n return allocations[0].serviceHourId\n }\n\n static aggregateByHour(energyAllocations: EnergyAllocation[]): Allocation[] {\n const energyAllocationsByHour = groupBy(\n energyAllocations,\n (allocation) => allocation.hour\n )\n const allocationHours = keys(energyAllocationsByHour)\n const sortedAllocationHours = allocationHours.sort((a, b) =>\n moment(a).diff(moment(b))\n )\n\n return sortedAllocationHours.map((hour) => {\n const hourAllocations = energyAllocationsByHour[hour]\n const displayKwh = EnergyAllocation.displayKwh(hourAllocations)\n const co2eLbs = EnergyAllocation.displayCo2eLbs(hourAllocations)\n const id = EnergyAllocation.groupId(hourAllocations)\n const serviceHourIds = [id]\n const meteredAllocations =\n EnergyAllocation.meteredAllocations(hourAllocations)\n const meteredKwh = meteredAllocations\n ? EnergyAllocation.meteredKwhSum(meteredAllocations)\n : null\n const carbonIntensity = co2eLbs / displayKwh\n const products = Product.sort(\n Product.productsFromEnergyAllocations(hourAllocations)\n )\n return {\n hour: moment(hour),\n hours: [moment(hour)],\n id,\n serviceHourIds,\n products,\n displayKwh,\n meteredKwh,\n co2eLbs,\n carbonIntensity,\n confirmCostCents: EnergyAllocation.confirmCostsSum(hourAllocations),\n confirmLineLossCostCents:\n EnergyAllocation.confirmLineLossCostSum(hourAllocations),\n imbalanceCostCents: EnergyAllocation.imbalanceCostSum(hourAllocations),\n imbalanceLineLossCostCents:\n EnergyAllocation.imbalanceLineLossCostSum(hourAllocations),\n schedulingCostCents:\n EnergyAllocation.schedulingCostSum(hourAllocations),\n }\n })\n }\n\n static aggregateByDay(energyAllocations: EnergyAllocation[]): Allocation[] {\n const energyAllocationsByDay = groupBy(energyAllocations, (alloc) =>\n moment(alloc.hour).startOf(\"day\").toISOString()\n )\n const days = keys(energyAllocationsByDay)\n const sortedDays = days.sort((a, b) => moment(a).diff(moment(b)))\n\n return sortedDays.map((day) => {\n const dayAllocations = energyAllocationsByDay[day]\n const meteredAllocations =\n EnergyAllocation.meteredAllocations(dayAllocations)\n const meteredKwh = EnergyAllocation.meteredAllocations(dayAllocations)\n ? EnergyAllocation.meteredKwhSum(meteredAllocations)\n : null\n const displayKwh = EnergyAllocation.displayKwh(dayAllocations)\n const co2eLbs = EnergyAllocation.displayCo2eLbs(dayAllocations)\n const hour = moment(dayAllocations[0].hour)\n const hours = dayAllocations.map((serviceHour) =>\n moment(serviceHour.hour)\n )\n const serviceHourIds = map(dayAllocations, (a) => a.serviceHourId)\n const id = serviceHourIds[0]\n\n const carbonIntensity = co2eLbs / displayKwh\n\n const products = Product.sort(\n Product.productsFromEnergyAllocations(dayAllocations)\n )\n\n return {\n hour,\n hours,\n displayKwh,\n co2eLbs,\n products,\n id,\n serviceHourIds,\n meteredKwh,\n carbonIntensity,\n confirmCostCents: EnergyAllocation.confirmCostsSum(dayAllocations),\n confirmLineLossCostCents:\n EnergyAllocation.confirmLineLossCostSum(dayAllocations),\n imbalanceCostCents: EnergyAllocation.imbalanceCostSum(dayAllocations),\n imbalanceLineLossCostCents:\n EnergyAllocation.imbalanceLineLossCostSum(dayAllocations),\n schedulingCostCents: EnergyAllocation.schedulingCostSum(dayAllocations),\n }\n })\n }\n\n static firstAllocationForEachConfirm(\n energyAllocations: EnergyAllocation[]\n ): EnergyAllocation[] {\n const allocationsWithConfirms = energyAllocations.filter((allocation) =>\n allocation.isConfirmAllocation()\n )\n const allocationsGroupedByConfirm = groupBy(\n allocationsWithConfirms,\n (allocation) => allocation.confirmId\n )\n return map(\n keys(allocationsGroupedByConfirm),\n (confirmId) => allocationsGroupedByConfirm[confirmId][0]\n )\n }\n\n static carbonBasedAndFreeStats({\n yearStart,\n dayStart,\n site,\n }: ICarbonFreeOrBasedStatsProps): Promise {\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return (\n this.stats({\n carbon_stats: \"calculate\",\n })\n .where({\n start_time: yearStart,\n end_time: dayStart,\n site_id: site.id,\n })\n .per(0)\n .all()\n // Mass eslint disable @typescript-eslint/no-unsafe-return\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n .then(({ meta }) => meta.stats)\n )\n }\n\n displayPrice() {\n if (this.allocationId === \"imbalance\") {\n return this.imbalancePriceCents\n }\n if (this.isBundledEnergyCustomer()) {\n return this.imbalancePriceCents\n }\n\n return this.contractPriceCents\n }\n\n displayCost() {\n if (this.obligationCents !== undefined) {\n return this.obligationCents\n }\n if (this.allocationId.includes(\"confirm\")) {\n return this.confirmCostCents\n }\n if (this.allocationId === \"imbalance\") {\n return this.imbalanceCostCents\n }\n if (this.allocationId === \"curtailment\") {\n return this.confirmCostCents\n }\n }\n\n isConfirmAllocation() {\n return this.confirm !== null && this.allocationId.includes(\"confirm\")\n }\n\n isBundledEnergyCustomer(): boolean {\n return this.electricityType === ElectricityType.Bundled\n }\n}\n","export enum HttpHeaderName {\n XDisplayCurrency = \"X-Display-Currency\",\n}\n","import { combineReducers } from \"@reduxjs/toolkit\"\n\nimport userSettingsReducer from \"../modules/settings/contexts/userSettings.store\"\n\n/**\n * The root Redux reducer. All of the app's reducers are combined here.\n */\nconst rootReducer = combineReducers({\n userSettings: userSettingsReducer,\n})\n\nexport default rootReducer\n","import { spawn } from \"redux-saga/effects\"\n\nimport { watchUserSettings } from \"../modules/settings\"\n\n// TODO: let's figure out the best way to start the sagas in our app:\n// https://redux-saga.js.org/docs/advanced/RootSaga/\n\n/**\n * The application's root saga. All of the app's sagas are conbined here.\n *\n * @yields\n */\nexport default function* rootSaga() {\n yield spawn(watchUserSettings)\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"unauthenticatedAppHeader-module__root___D1TL7\"};","module.exports = __webpack_public_path__ + \"media/images/nzero-symbol-54f091cc.svg\";","module.exports = __webpack_public_path__ + \"media/organizationDashboard/scope-1-no-data-53251118.png\";","module.exports = __webpack_public_path__ + \"media/organizationDashboard/scope-2-carbon-intensity-no-data-d0eab31d.png\";","export interface IMeasurementSystem {\n id: string\n name: string\n order: number\n}\n\ninterface IMeasurementSystemMap {\n SI: IMeasurementSystem\n // TODO: Change USCU to USC\n USCU: IMeasurementSystem\n}\n\nexport enum MeasurementSystemName {\n BIS = \"BIS\", // United States Customary System\n SI = \"SI\", // International System of Units\n USC = \"USC\", // British Imperial System\n}\n\nexport const MeasurementSystem: IMeasurementSystemMap = {\n // TODO: Change USCU to USC\n USCU: {\n id: \"1\",\n name: MeasurementSystemName.USC,\n order: 1,\n },\n SI: {\n id: \"2\",\n name: MeasurementSystemName.SI,\n order: 2,\n },\n}\n\n// migration to strict mode batch disable\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nexport const measurementSystems: IMeasurementSystem[] =\n Object.values(MeasurementSystem)\n","module.exports = __webpack_public_path__ + \"media/organizationDashboard/scope-2-no-data-136c8906.png\";","module.exports = __webpack_public_path__ + \"media/organizationDashboard/scope-3-no-data-f3904ea7.png\";","import { buildSearchParamsString } from \"../../utils\"\n\ninterface ClientOptions {\n baseUrl?: string\n headers?: HeadersInit\n}\n\nconst DEFAULT_HEADERS = {\n \"Content-Type\": \"application/json\",\n}\n\ninterface CoreFetchResposne {\n data?: T | Record\n error?: unknown\n response: Response\n}\n\nexport default function createFetchClient({\n baseUrl = \"\",\n headers = {},\n}: ClientOptions) {\n let baseApiUrl = baseUrl\n let baseHeaders = headers\n if (baseApiUrl.endsWith(\"/\")) {\n baseApiUrl = baseUrl.substring(0, baseUrl.length - 1)\n }\n baseHeaders = mergeHeaders(DEFAULT_HEADERS, baseHeaders)\n\n type CoreFetchOptions = RequestInit & {\n params: {\n query?: Record\n }\n }\n\n async function coreFetch(\n url: string,\n options: CoreFetchOptions\n ): Promise> {\n const { headers: fetchHeaders, params, ...init } = options\n\n const finalHeaders = mergeHeaders(baseHeaders, fetchHeaders)\n\n const requestInit: RequestInit = {\n ...init,\n redirect: \"follow\",\n headers: finalHeaders,\n }\n\n if (requestInit.body) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n requestInit.body = JSON.stringify(requestInit.body)\n }\n\n const finalURL = createFinalURL(url, {\n baseUrl: baseApiUrl,\n params,\n })\n\n const request = new Request(finalURL, requestInit)\n const response = await fetch(request)\n\n if (\n response.status === 204 ||\n response.headers.get(\"Content-Length\") === \"0\"\n ) {\n return response.ok ? { data: {}, response } : { error: {}, response }\n }\n\n if (response.ok) {\n const data = (await response.json()) as T\n return { data, response }\n }\n let error = await response.text()\n try {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n error = JSON.parse(error) // attempt to parse as JSON\n } catch {\n // noop\n }\n return { error, response }\n }\n\n return {\n async GET(url: string, init: CoreFetchOptions) {\n return coreFetch(url, { ...init, method: \"GET\" })\n },\n }\n}\n\nconst mergeHeaders = (baseHeaders: HeadersInit, headers: HeadersInit) => {\n return new Headers({\n ...baseHeaders,\n ...headers,\n })\n}\n\nexport interface Params {\n query?: Record\n}\n\ninterface CreateFinalUrlOptions {\n baseUrl: string\n params: Params\n}\n\nexport function createFinalURL(\n pathname: string,\n options: CreateFinalUrlOptions\n) {\n let finalURL = `${options.baseUrl}${pathname}`\n let search = buildSearchParamsString(options.params.query ?? {})\n if (search.startsWith(\"?\")) {\n search = search.substring(1)\n }\n if (search) {\n finalURL += `?${search}`\n }\n return finalURL\n}\n","module.exports = __webpack_public_path__ + \"media/assets/city street-gray-58b894fd.svg\";","module.exports = __webpack_public_path__ + \"media/recommendations/book-shelf-4331d6a0.png\";","import { useAuthentication } from \"@/contexts\"\nimport { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Organization from \"../../models/organization\"\nimport { useRenameQueryResult } from \"../utils\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\n\n// TODO: We should have/use a single fetchOrganizations function\n// that takes all necessary parameters\nexport const fetchAuthorizedOrganizations = async (\n orgIds?: number[]\n): Promise => {\n try {\n const organizations = await Organization.where(\n orgIds ? { id: orgIds.map(String) } : {}\n )\n .order(\"name\")\n .all()\n .then((response) => response.data)\n\n return organizations\n } catch (e) {\n console.error(e)\n return []\n }\n}\n\n/**\n * Returns the authorized organizations for the authenticated user\n *\n * @example\n * const { data: authorizedOrganizations } = useAuthorizedOrganizations()\n */\nexport const useAuthorizedOrganizations = () => {\n const { activeUser, isAuthenticated } = useAuthentication()\n\n // Cannot user useQueryKey at this time\n // useQueryKey requires a SettingsProvider\n const queryKey = createQueryKey(\n ApiQueryName.AuthorizedOrganizations,\n \"getMany\",\n null,\n {\n organizationIds: activeUser?.organizationIds,\n }\n )\n\n const queryFn = async (): Promise =>\n await fetchAuthorizedOrganizations(activeUser?.organizationIds)\n\n const queryResult = useQuery({\n cacheTime: Infinity,\n // Both isAuthenticated and activeUser could be undefined\n enabled: Boolean(isAuthenticated) && Boolean(activeUser),\n queryFn,\n queryKey,\n staleTime: Infinity,\n })\n\n return useRenameQueryResult(queryResult, ApiQueryName.AuthorizedOrganizations)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport OrganizationModel from \"../../models/organization\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useOrganization = (\n organizationId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const { getOne } = useSpraypaintModel(OrganizationModel)\n\n const queryKey = useQueryKey(\n ApiQueryName.Organization,\n \"getOne\",\n organizationId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => getOne(organizationId, { include: [\"locale\"] }),\n enabled: !isNil(organizationId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type Organization = InferredQueryServiceValue<\n typeof useOrganization,\n ApiQueryName.Organization\n>\n","import { useQuery } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Organization from \"../../models/organization\"\nimport type {\n ServiceOptions,\n ServiceSortOptions,\n ServiceWhereOptions,\n} from \"../types\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useOrganizations = ({\n disabled: isDisabled,\n where,\n sort,\n}: ServiceOptions<\"getMany\"> & {\n sort?: ServiceSortOptions>\n where?: ServiceWhereOptions>\n} = {}) => {\n const { getMany } = useSpraypaintModel(Organization)\n\n const queryKey = useQueryKey(ApiQueryName.Organizations, \"getMany\", null, {\n sort,\n where,\n })\n\n const queryResult = useQuery({\n queryKey,\n queryFn: async () => getMany({ sort, where, include: [\"locale\"] }),\n enabled: !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n","import { useQuery } from \"@tanstack/react-query\"\nimport { isNil } from \"lodash-es\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport { fetchOrganizationCounts } from \"../../models/organization\"\nimport type {\n InferredQueryServiceValue,\n ServiceEntityKey,\n ServiceOptions,\n} from \"../types\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\nimport { useRenamedQueryResult } from \"../utils/useRenamedQueryResult/useRenamedQueryResult\"\n\nexport const useOrganizationCounts = (\n organizationId: ServiceEntityKey,\n { disabled: isDisabled }: ServiceOptions<\"getOne\"> = {}\n) => {\n const queryKey = useQueryKey(\n ApiQueryName.OrganizationCounts,\n \"getOne\",\n organizationId\n )\n\n const queryResult = useQuery({\n queryKey,\n queryFn: () => fetchOrganizationCounts(organizationId),\n enabled: !isNil(organizationId) && !isDisabled,\n })\n\n return useRenamedQueryResult(queryKey, queryResult)\n}\n\nexport type OrganizationCounts = InferredQueryServiceValue<\n typeof useOrganizationCounts,\n ApiQueryName.OrganizationCounts\n>\n","import { useMutation } from \"@tanstack/react-query\"\n\nimport { ApiQueryName } from \"../../models/api\"\nimport Organization from \"../../models/organization\"\nimport type { QueryMutation } from \"../types\"\nimport { createQueryKey } from \"../utils/createQueryKey\"\nimport type { ModelAttributes } from \"../utils/spraypaint\"\nimport { useSpraypaintModel } from \"../utils/spraypaint\"\nimport { useInvalidateQueries } from \"../utils/useInvalidateQueries\"\nimport { useMutationReturnHandle } from \"../utils/useMutationReturnHandle/useMutationReturnHandle\"\nimport { useQueryKey } from \"../utils/useQueryKey\"\n\nexport const useUpdateOrganization = () => {\n const mutationKey = useQueryKey(ApiQueryName.Organization, \"updateOne\")\n const { update } = useSpraypaintModel(Organization)\n const { invalidateQueries } = useInvalidateQueries()\n\n const mutationResult = useMutation({\n mutationKey,\n mutationFn: async ({\n serviceEntityKey,\n newAttributes,\n }: Parameters<\n QueryMutation<\"updateOne\", ModelAttributes>\n >[0]) => {\n await update(serviceEntityKey, newAttributes)\n },\n onSuccess: (_, { serviceEntityKey }) => {\n invalidateQueries([\n createQueryKey(ApiQueryName.Organization, \"getOne\", serviceEntityKey),\n createQueryKey(ApiQueryName.Organizations, \"getMany\"),\n ])\n },\n })\n\n return useMutationReturnHandle(mutationKey, mutationResult)\n}\n","import { useOrganizationContext } from \"@/contexts\"\n\nexport const useActiveOrganizationId = (): {\n activeOrganizationId: string | undefined\n} => {\n // TODO: Pull logic from context into this hook\n const { organization } = useOrganizationContext()\n\n return { activeOrganizationId: organization?.id }\n}\n","import { z } from \"zod\"\n\nimport { s } from \"../utils/schema\"\n\n// This schema currently supports only \"create\" and \"edit\" form validation\n// It is not ready to be used to generate TypeScript types\nexport const organizationSchema = s.define(\"organization\", {\n name: z.string().min(1),\n locale: z.string(),\n notes: z.string().nullable().optional(),\n})\n","module.exports = __webpack_public_path__ + \"media/images/gresb-logo-ca905d60.png\";","module.exports = __webpack_public_path__ + \"media/images/gri-logo-e49a6342.png\";","module.exports = __webpack_public_path__ + \"media/images/report-complete-0e8c88d5.svg\";","module.exports = __webpack_public_path__ + \"media/images/report-in-progress-614cc3d4.svg\";","module.exports = __webpack_public_path__ + \"media/images/in-review-3f23fb6c.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"grid\":\"virtualizedReportingTable-module__grid___z4xRk\",\"loadingSpinner\":\"virtualizedReportingTable-module__loadingSpinner___FU8Ns\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"overflowTooltip-module__text___I1Npo\"};","module.exports = __webpack_public_path__ + \"media/icons/warning-6958cfd7.svg\";","module.exports = __webpack_public_path__ + \"media/icons/help-3bf86095.svg\";","module.exports = __webpack_public_path__ + \"media/weather/clear-night-ede0a0ba.svg\";","module.exports = __webpack_public_path__ + \"media/weather/fog-2447e3d3.svg\";","module.exports = __webpack_public_path__ + \"media/weather/partly-cloudy-night-32b0f6c1.svg\";","module.exports = __webpack_public_path__ + \"media/weather/sleet-59286f0d.svg\";","module.exports = __webpack_public_path__ + \"media/weather/snow-724cabb4.svg\";","module.exports = __webpack_public_path__ + \"media/weather/wind-0fc195f1.svg\";","module.exports = __webpack_public_path__ + \"media/verify-email/verify-email-75e88ae2.png\";"],"sourceRoot":""}