@nar-bus/ui-shared 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/api-adapter.d.ts +9 -0
- package/dist/adapters/api-adapter.d.ts.map +1 -0
- package/dist/adapters/dashboard-mock-slices.d.ts +10 -0
- package/dist/adapters/dashboard-mock-slices.d.ts.map +1 -0
- package/dist/adapters/data-performance-mock-slices.d.ts +114 -0
- package/dist/adapters/data-performance-mock-slices.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +7 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/mock-adapter.d.ts +11 -0
- package/dist/adapters/mock-adapter.d.ts.map +1 -0
- package/dist/adapters/real-adapter.d.ts +13 -0
- package/dist/adapters/real-adapter.d.ts.map +1 -0
- package/dist/adapters/types.d.ts +41 -0
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/adapters/work-performance-mock-slices.d.ts +86 -0
- package/dist/adapters/work-performance-mock-slices.d.ts.map +1 -0
- package/dist/adapters/work-performance-problem-slices.d.ts +114 -0
- package/dist/adapters/work-performance-problem-slices.d.ts.map +1 -0
- package/dist/adapters/work-performance-push-events.d.ts +109 -0
- package/dist/adapters/work-performance-push-events.d.ts.map +1 -0
- package/dist/adapters/work-performance-push-slices.d.ts +52 -0
- package/dist/adapters/work-performance-push-slices.d.ts.map +1 -0
- package/dist/api/apiClient.d.ts +9 -0
- package/dist/api/apiClient.d.ts.map +1 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/normalizers/api-stats.d.ts +15 -0
- package/dist/api/normalizers/api-stats.d.ts.map +1 -0
- package/dist/api/normalizers/dashboard.d.ts +228 -0
- package/dist/api/normalizers/dashboard.d.ts.map +1 -0
- package/dist/api/normalizers/notifications.d.ts +18 -0
- package/dist/api/normalizers/notifications.d.ts.map +1 -0
- package/dist/api/normalizers/periodic-jobs.d.ts +29 -0
- package/dist/api/normalizers/periodic-jobs.d.ts.map +1 -0
- package/dist/api/normalizers/server-config.d.ts +43 -0
- package/dist/api/normalizers/server-config.d.ts.map +1 -0
- package/dist/api/normalizers/users.d.ts +28 -0
- package/dist/api/normalizers/users.d.ts.map +1 -0
- package/dist/api/queryKeys.d.ts +323 -0
- package/dist/api/queryKeys.d.ts.map +1 -0
- package/dist/api/searchRequest.d.ts +4 -0
- package/dist/api/searchRequest.d.ts.map +1 -0
- package/dist/components/CommHealthGrid.d.ts +13 -0
- package/dist/components/CommHealthGrid.d.ts.map +1 -0
- package/dist/components/CronBuilder.d.ts +7 -0
- package/dist/components/CronBuilder.d.ts.map +1 -0
- package/dist/components/DashboardWidgetGrid.d.ts +15 -0
- package/dist/components/DashboardWidgetGrid.d.ts.map +1 -0
- package/dist/components/DetailActions.d.ts +15 -0
- package/dist/components/DetailActions.d.ts.map +1 -0
- package/dist/components/HeatmapCalendar.d.ts +10 -0
- package/dist/components/HeatmapCalendar.d.ts.map +1 -0
- package/dist/components/ListDetailPanel.d.ts +17 -0
- package/dist/components/ListDetailPanel.d.ts.map +1 -0
- package/dist/components/LiveMonitorPanel.d.ts +6 -0
- package/dist/components/LiveMonitorPanel.d.ts.map +1 -0
- package/dist/components/MapView.d.ts +8 -0
- package/dist/components/MapView.d.ts.map +1 -0
- package/dist/components/MeterStatusBadge.d.ts +12 -0
- package/dist/components/MeterStatusBadge.d.ts.map +1 -0
- package/dist/components/ModemStatusBadge.d.ts +15 -0
- package/dist/components/ModemStatusBadge.d.ts.map +1 -0
- package/dist/components/NotificationBell.d.ts +5 -0
- package/dist/components/NotificationBell.d.ts.map +1 -0
- package/dist/components/OrderCreateSheet.d.ts +57 -0
- package/dist/components/OrderCreateSheet.d.ts.map +1 -0
- package/dist/components/OrderCreateSheetPanels.d.ts +62 -0
- package/dist/components/OrderCreateSheetPanels.d.ts.map +1 -0
- package/dist/components/OrderDetailSheet.d.ts +11 -0
- package/dist/components/OrderDetailSheet.d.ts.map +1 -0
- package/dist/components/OrderResponseSection.d.ts +6 -0
- package/dist/components/OrderResponseSection.d.ts.map +1 -0
- package/dist/components/OrderStatusBadge.d.ts +9 -0
- package/dist/components/OrderStatusBadge.d.ts.map +1 -0
- package/dist/components/RealTimeStatusBar.d.ts +7 -0
- package/dist/components/RealTimeStatusBar.d.ts.map +1 -0
- package/dist/components/SignalStrengthBar.d.ts +6 -0
- package/dist/components/SignalStrengthBar.d.ts.map +1 -0
- package/dist/components/SlugLink.d.ts +11 -0
- package/dist/components/SlugLink.d.ts.map +1 -0
- package/dist/components/TagList.d.ts +7 -0
- package/dist/components/TagList.d.ts.map +1 -0
- package/dist/components/TimelineView.d.ts +12 -0
- package/dist/components/TimelineView.d.ts.map +1 -0
- package/dist/components/auth/BrandMark.d.ts +6 -0
- package/dist/components/auth/BrandMark.d.ts.map +1 -0
- package/dist/components/auth/ForgotPasswordForm.d.ts +45 -0
- package/dist/components/auth/ForgotPasswordForm.d.ts.map +1 -0
- package/dist/components/auth/LoginCanvas.d.ts +18 -0
- package/dist/components/auth/LoginCanvas.d.ts.map +1 -0
- package/dist/components/auth/LoginForm.d.ts +32 -0
- package/dist/components/auth/LoginForm.d.ts.map +1 -0
- package/dist/components/auth/ResetPasswordForm.d.ts +35 -0
- package/dist/components/auth/ResetPasswordForm.d.ts.map +1 -0
- package/dist/components/auth/animations/DataFlowScene.d.ts +9 -0
- package/dist/components/auth/animations/DataFlowScene.d.ts.map +1 -0
- package/dist/components/auth/animations/GradientMeshScene.d.ts +7 -0
- package/dist/components/auth/animations/GradientMeshScene.d.ts.map +1 -0
- package/dist/components/auth/animations/data-flow-topology.d.ts +23 -0
- package/dist/components/auth/animations/data-flow-topology.d.ts.map +1 -0
- package/dist/components/auth/palettes.d.ts +11 -0
- package/dist/components/auth/palettes.d.ts.map +1 -0
- package/dist/components/dashboard/hero/AtmosphericBackdrop.d.ts +17 -0
- package/dist/components/dashboard/hero/AtmosphericBackdrop.d.ts.map +1 -0
- package/dist/components/dashboard/hero/DashboardHero.d.ts +62 -0
- package/dist/components/dashboard/hero/DashboardHero.d.ts.map +1 -0
- package/dist/components/dashboard/hero/EventTape.d.ts +27 -0
- package/dist/components/dashboard/hero/EventTape.d.ts.map +1 -0
- package/dist/components/dashboard/hero/HeroFleetCount.d.ts +31 -0
- package/dist/components/dashboard/hero/HeroFleetCount.d.ts.map +1 -0
- package/dist/components/dashboard/hero/OpsTicker.d.ts +32 -0
- package/dist/components/dashboard/hero/OpsTicker.d.ts.map +1 -0
- package/dist/components/dashboard/hero/OutagesReadout.d.ts +32 -0
- package/dist/components/dashboard/hero/OutagesReadout.d.ts.map +1 -0
- package/dist/components/dashboard/hero/ReadoutFrame.d.ts +28 -0
- package/dist/components/dashboard/hero/ReadoutFrame.d.ts.map +1 -0
- package/dist/components/dashboard/hero/SlaReadout.d.ts +32 -0
- package/dist/components/dashboard/hero/SlaReadout.d.ts.map +1 -0
- package/dist/components/dashboard/hero/hero.types.d.ts +51 -0
- package/dist/components/dashboard/hero/hero.types.d.ts.map +1 -0
- package/dist/components/dashboard/hero/index.d.ts +6 -0
- package/dist/components/dashboard/hero/index.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/Eyebrow.d.ts +20 -0
- package/dist/components/dashboard/hero/primitives/Eyebrow.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/HeroNumeric.d.ts +21 -0
- package/dist/components/dashboard/hero/primitives/HeroNumeric.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/LivePulseDot.d.ts +17 -0
- package/dist/components/dashboard/hero/primitives/LivePulseDot.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/MonoMeta.d.ts +18 -0
- package/dist/components/dashboard/hero/primitives/MonoMeta.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/TrendCaret.d.ts +19 -0
- package/dist/components/dashboard/hero/primitives/TrendCaret.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/VerticalRule.d.ts +30 -0
- package/dist/components/dashboard/hero/primitives/VerticalRule.d.ts.map +1 -0
- package/dist/components/dashboard/hero/primitives/index.d.ts +7 -0
- package/dist/components/dashboard/hero/primitives/index.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/RegionInsightPanel.d.ts +25 -0
- package/dist/components/dashboard/zone-a/RegionInsightPanel.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/TurkeyMap.d.ts +16 -0
- package/dist/components/dashboard/zone-a/TurkeyMap.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/ZoneA.d.ts +9 -0
- package/dist/components/dashboard/zone-a/ZoneA.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/index.d.ts +8 -0
- package/dist/components/dashboard/zone-a/index.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/paintExpressions.d.ts +25 -0
- package/dist/components/dashboard/zone-a/paintExpressions.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/provinceHelpers.d.ts +45 -0
- package/dist/components/dashboard/zone-a/provinceHelpers.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/turkeyMapHelpers.d.ts +34 -0
- package/dist/components/dashboard/zone-a/turkeyMapHelpers.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/useTurkeyMapMount.d.ts +28 -0
- package/dist/components/dashboard/zone-a/useTurkeyMapMount.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/KesintiView.d.ts +30 -0
- package/dist/components/dashboard/zone-a/views/KesintiView.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/OutageTrendChart.d.ts +31 -0
- package/dist/components/dashboard/zone-a/views/OutageTrendChart.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/SimView.d.ts +17 -0
- package/dist/components/dashboard/zone-a/views/SimView.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/SinyalView.d.ts +14 -0
- package/dist/components/dashboard/zone-a/views/SinyalView.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/SlaView.d.ts +12 -0
- package/dist/components/dashboard/zone-a/views/SlaView.d.ts.map +1 -0
- package/dist/components/dashboard/zone-a/views/index.d.ts +9 -0
- package/dist/components/dashboard/zone-a/views/index.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/IntegrationHealth.d.ts +8 -0
- package/dist/components/dashboard/zone-b/IntegrationHealth.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/ParseErrorDonut.d.ts +8 -0
- package/dist/components/dashboard/zone-b/ParseErrorDonut.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/PipelineFunnel.d.ts +8 -0
- package/dist/components/dashboard/zone-b/PipelineFunnel.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/SimOpRanking.d.ts +9 -0
- package/dist/components/dashboard/zone-b/SimOpRanking.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/ZoneB.d.ts +11 -0
- package/dist/components/dashboard/zone-b/ZoneB.d.ts.map +1 -0
- package/dist/components/dashboard/zone-b/index.d.ts +7 -0
- package/dist/components/dashboard/zone-b/index.d.ts.map +1 -0
- package/dist/components/dashboard/zone-c/CalendarRings.d.ts +8 -0
- package/dist/components/dashboard/zone-c/CalendarRings.d.ts.map +1 -0
- package/dist/components/dashboard/zone-c/OutageTrend24h.d.ts +8 -0
- package/dist/components/dashboard/zone-c/OutageTrend24h.d.ts.map +1 -0
- package/dist/components/dashboard/zone-c/SlaTopBottom.d.ts +8 -0
- package/dist/components/dashboard/zone-c/SlaTopBottom.d.ts.map +1 -0
- package/dist/components/dashboard/zone-c/ZoneC.d.ts +10 -0
- package/dist/components/dashboard/zone-c/ZoneC.d.ts.map +1 -0
- package/dist/components/dashboard/zone-c/index.d.ts +7 -0
- package/dist/components/dashboard/zone-c/index.d.ts.map +1 -0
- package/dist/components/dashboard/zones/SectionHeader.d.ts +8 -0
- package/dist/components/dashboard/zones/SectionHeader.d.ts.map +1 -0
- package/dist/components/dashboard/zones/ZoneAPlaceholder.d.ts +17 -0
- package/dist/components/dashboard/zones/ZoneAPlaceholder.d.ts.map +1 -0
- package/dist/components/dashboard/zones/formatters.d.ts +41 -0
- package/dist/components/dashboard/zones/formatters.d.ts.map +1 -0
- package/dist/components/dashboard/zones/index.d.ts +5 -0
- package/dist/components/dashboard/zones/index.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailContentBlock.d.ts +19 -0
- package/dist/components/detail-glass/DetailContentBlock.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailFieldGrid.d.ts +14 -0
- package/dist/components/detail-glass/DetailFieldGrid.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailFieldRow.d.ts +19 -0
- package/dist/components/detail-glass/DetailFieldRow.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailPill.d.ts +16 -0
- package/dist/components/detail-glass/DetailPill.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailSection.d.ts +17 -0
- package/dist/components/detail-glass/DetailSection.d.ts.map +1 -0
- package/dist/components/detail-glass/DetailTile.d.ts +21 -0
- package/dist/components/detail-glass/DetailTile.d.ts.map +1 -0
- package/dist/components/detail-glass/index.d.ts +13 -0
- package/dist/components/detail-glass/index.d.ts.map +1 -0
- package/dist/components/detail-layout/DetailLayoutBody.d.ts +9 -0
- package/dist/components/detail-layout/DetailLayoutBody.d.ts.map +1 -0
- package/dist/components/detail-layout/DetailShellFrame.d.ts +35 -0
- package/dist/components/detail-layout/DetailShellFrame.d.ts.map +1 -0
- package/dist/components/detail-layout/InfoChip.d.ts +15 -0
- package/dist/components/detail-layout/InfoChip.d.ts.map +1 -0
- package/dist/components/detail-layout/ReadingHeatmap.d.ts +13 -0
- package/dist/components/detail-layout/ReadingHeatmap.d.ts.map +1 -0
- package/dist/components/detail-layout/TagRail.d.ts +10 -0
- package/dist/components/detail-layout/TagRail.d.ts.map +1 -0
- package/dist/components/detail-layout/TriColumnSymmetric.d.ts +29 -0
- package/dist/components/detail-layout/TriColumnSymmetric.d.ts.map +1 -0
- package/dist/components/detail-layout/adapters.d.ts +90 -0
- package/dist/components/detail-layout/adapters.d.ts.map +1 -0
- package/dist/components/detail-layout/types.d.ts +125 -0
- package/dist/components/detail-layout/types.d.ts.map +1 -0
- package/dist/components/form-glass/FormFieldStack.d.ts +22 -0
- package/dist/components/form-glass/FormFieldStack.d.ts.map +1 -0
- package/dist/components/form-glass/FormSection.d.ts +28 -0
- package/dist/components/form-glass/FormSection.d.ts.map +1 -0
- package/dist/components/form-glass/FormSectionGroup.d.ts +14 -0
- package/dist/components/form-glass/FormSectionGroup.d.ts.map +1 -0
- package/dist/components/form-glass/index.d.ts +7 -0
- package/dist/components/form-glass/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +51 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/monitoring/HealthScoreGauge.d.ts +15 -0
- package/dist/components/monitoring/HealthScoreGauge.d.ts.map +1 -0
- package/dist/components/monitoring/MonitoringSparkline.d.ts +15 -0
- package/dist/components/monitoring/MonitoringSparkline.d.ts.map +1 -0
- package/dist/components/monitoring/TimeWindowToggle.d.ts +10 -0
- package/dist/components/monitoring/TimeWindowToggle.d.ts.map +1 -0
- package/dist/components/monitoring/TopErrorCodesMini.d.ts +17 -0
- package/dist/components/monitoring/TopErrorCodesMini.d.ts.map +1 -0
- package/dist/components/order-forms/AstroConfigForm.d.ts +8 -0
- package/dist/components/order-forms/AstroConfigForm.d.ts.map +1 -0
- package/dist/components/order-forms/CalendarUpdateForm.d.ts +7 -0
- package/dist/components/order-forms/CalendarUpdateForm.d.ts.map +1 -0
- package/dist/components/order-forms/ConfigSelectForms.d.ts +18 -0
- package/dist/components/order-forms/ConfigSelectForms.d.ts.map +1 -0
- package/dist/components/order-forms/DirectiveForms.d.ts +16 -0
- package/dist/components/order-forms/DirectiveForms.d.ts.map +1 -0
- package/dist/components/order-forms/FirmwareUpdateForm.d.ts +11 -0
- package/dist/components/order-forms/FirmwareUpdateForm.d.ts.map +1 -0
- package/dist/components/order-forms/LoadProfileForm.d.ts +6 -0
- package/dist/components/order-forms/LoadProfileForm.d.ts.map +1 -0
- package/dist/components/order-forms/ObisReadForm.d.ts +6 -0
- package/dist/components/order-forms/ObisReadForm.d.ts.map +1 -0
- package/dist/components/order-forms/RelayForms.d.ts +14 -0
- package/dist/components/order-forms/RelayForms.d.ts.map +1 -0
- package/dist/components/order-forms/ScriptExecutionForm.d.ts +12 -0
- package/dist/components/order-forms/ScriptExecutionForm.d.ts.map +1 -0
- package/dist/components/order-forms/SimpleParamForms.d.ts +9 -0
- package/dist/components/order-forms/SimpleParamForms.d.ts.map +1 -0
- package/dist/components/order-forms/TimeFrameForm.d.ts +6 -0
- package/dist/components/order-forms/TimeFrameForm.d.ts.map +1 -0
- package/dist/components/order-forms/index.d.ts +12 -0
- package/dist/components/order-forms/index.d.ts.map +1 -0
- package/dist/components/useWidgetFullscreen.d.ts +3 -0
- package/dist/components/useWidgetFullscreen.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +17 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useAuth.d.ts +62 -0
- package/dist/hooks/useAuth.d.ts.map +1 -0
- package/dist/hooks/useDashboardLayerState.d.ts +12 -0
- package/dist/hooks/useDashboardLayerState.d.ts.map +1 -0
- package/dist/hooks/useEnumValues.d.ts +17 -0
- package/dist/hooks/useEnumValues.d.ts.map +1 -0
- package/dist/hooks/useNotifications.d.ts +11 -0
- package/dist/hooks/useNotifications.d.ts.map +1 -0
- package/dist/hooks/useOrderDetail.d.ts +6 -0
- package/dist/hooks/useOrderDetail.d.ts.map +1 -0
- package/dist/hooks/usePermissions.d.ts +10 -0
- package/dist/hooks/usePermissions.d.ts.map +1 -0
- package/dist/hooks/useRegionDetail.d.ts +4 -0
- package/dist/hooks/useRegionDetail.d.ts.map +1 -0
- package/dist/hooks/useRegionOutageTrend.d.ts +4 -0
- package/dist/hooks/useRegionOutageTrend.d.ts.map +1 -0
- package/dist/hooks/useSSE.d.ts +29 -0
- package/dist/hooks/useSSE.d.ts.map +1 -0
- package/dist/hooks/useSlug.d.ts +13 -0
- package/dist/hooks/useSlug.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +41152 -0
- package/dist/mocks/api-logs.json.d.ts +422 -0
- package/dist/mocks/api-stats.json.d.ts +67 -0
- package/dist/mocks/audit-logs.json.d.ts +195 -0
- package/dist/mocks/auth.json.d.ts +100 -0
- package/dist/mocks/bulk-operations.json.d.ts +209 -0
- package/dist/mocks/calendars.json.d.ts +103 -0
- package/dist/mocks/configs.json.d.ts +442 -0
- package/dist/mocks/dlq.json.d.ts +295 -0
- package/dist/mocks/enums.json.d.ts +755 -0
- package/dist/mocks/index.d.ts +10 -0
- package/dist/mocks/index.d.ts.map +1 -0
- package/dist/mocks/integrations.json.d.ts +240 -0
- package/dist/mocks/management-notifications.json.d.ts +125 -0
- package/dist/mocks/meter-detail.json.d.ts +457 -0
- package/dist/mocks/meters.json.d.ts +2696 -0
- package/dist/mocks/modem-detail.json.d.ts +941 -0
- package/dist/mocks/modems.json.d.ts +4159 -0
- package/dist/mocks/notifications.json.d.ts +58 -0
- package/dist/mocks/orders.json.d.ts +20 -0
- package/dist/mocks/periodic-jobs.json.d.ts +336 -0
- package/dist/mocks/roles.json.d.ts +134 -0
- package/dist/mocks/simcards.json.d.ts +183 -0
- package/dist/mocks/system-monitoring.json.d.ts +183 -0
- package/dist/mocks/timeline.json.d.ts +94 -0
- package/dist/mocks/turkeyProvinces.json.d.ts +3 -0
- package/dist/mocks/users.json.d.ts +185 -0
- package/dist/types/alarm.types.d.ts +14 -0
- package/dist/types/alarm.types.d.ts.map +1 -0
- package/dist/types/auth.types.d.ts +176 -0
- package/dist/types/auth.types.d.ts.map +1 -0
- package/dist/types/brand-model.types.d.ts +82 -0
- package/dist/types/brand-model.types.d.ts.map +1 -0
- package/dist/types/calendar.types.d.ts +55 -0
- package/dist/types/calendar.types.d.ts.map +1 -0
- package/dist/types/common.types.d.ts +72 -0
- package/dist/types/common.types.d.ts.map +1 -0
- package/dist/types/dashboard.d.ts +79 -0
- package/dist/types/dashboard.d.ts.map +1 -0
- package/dist/types/directive.types.d.ts +22 -0
- package/dist/types/directive.types.d.ts.map +1 -0
- package/dist/types/firmware.types.d.ts +33 -0
- package/dist/types/firmware.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/location.types.d.ts +69 -0
- package/dist/types/location.types.d.ts.map +1 -0
- package/dist/types/management.types.d.ts +578 -0
- package/dist/types/management.types.d.ts.map +1 -0
- package/dist/types/meter.types.d.ts +186 -0
- package/dist/types/meter.types.d.ts.map +1 -0
- package/dist/types/modem.types.d.ts +260 -0
- package/dist/types/modem.types.d.ts.map +1 -0
- package/dist/types/order.types.d.ts +48 -0
- package/dist/types/order.types.d.ts.map +1 -0
- package/dist/types/parser-template.types.d.ts +49 -0
- package/dist/types/parser-template.types.d.ts.map +1 -0
- package/dist/types/protocol.types.d.ts +22 -0
- package/dist/types/protocol.types.d.ts.map +1 -0
- package/dist/types/reading-setting.types.d.ts +27 -0
- package/dist/types/reading-setting.types.d.ts.map +1 -0
- package/dist/types/region.d.ts +52 -0
- package/dist/types/region.d.ts.map +1 -0
- package/dist/types/server-config.types.d.ts +69 -0
- package/dist/types/server-config.types.d.ts.map +1 -0
- package/dist/types/simcard.types.d.ts +41 -0
- package/dist/types/simcard.types.d.ts.map +1 -0
- package/dist/types/timeline.types.d.ts +12 -0
- package/dist/types/timeline.types.d.ts.map +1 -0
- package/dist/utils/navigate.d.ts +21 -0
- package/dist/utils/navigate.d.ts.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReadingDay } from './types';
|
|
2
|
+
interface ReadingHeatmapProps {
|
|
3
|
+
readings: ReadingDay[];
|
|
4
|
+
/** Visual size — "comfortable" (~32px cells), "compact" (~22px). */
|
|
5
|
+
size?: "compact" | "comfortable" | "hero";
|
|
6
|
+
/** Show day numbers inside cells. Auto-disabled for compact size. */
|
|
7
|
+
showDayNumbers?: boolean;
|
|
8
|
+
/** Show the month nav header. Set false when the parent supplies its own header. */
|
|
9
|
+
showHeader?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function ReadingHeatmap({ readings, size, showDayNumbers, showHeader, }: ReadingHeatmapProps): import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=ReadingHeatmap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadingHeatmap.d.ts","sourceRoot":"","sources":["../../../src/components/detail-layout/ReadingHeatmap.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,SAAS,CAAC;AAErD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,oEAAoE;IACpE,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,MAAM,CAAC;IAC1C,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oFAAoF;IACpF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAmDD,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,IAAoB,EACpB,cAAc,EACd,UAAiB,GAClB,EAAE,mBAAmB,+BA8LrB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface TagRailProps {
|
|
2
|
+
tags: string[];
|
|
3
|
+
/** "row" = horizontal pill chips. "stack" = vertical chip stack. */
|
|
4
|
+
orientation?: "row" | "stack";
|
|
5
|
+
/** Header label above the tags. Pass null to hide. */
|
|
6
|
+
label?: string | null;
|
|
7
|
+
}
|
|
8
|
+
export declare function TagRail({ tags, orientation, label }: TagRailProps): import("react").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=TagRail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TagRail.d.ts","sourceRoot":"","sources":["../../../src/components/detail-layout/TagRail.tsx"],"names":[],"mappings":"AAeA,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,oEAAoE;IACpE,WAAW,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IAC9B,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,WAAmB,EAAE,KAAmB,EAAE,EAAE,YAAY,sCAkBvF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DetailEntity, DetailPalette } from './types';
|
|
3
|
+
interface TriColumnSymmetricProps {
|
|
4
|
+
data: DetailEntity;
|
|
5
|
+
palette?: DetailPalette;
|
|
6
|
+
/**
|
|
7
|
+
* Rework v3 — entity-level actions menu (typically `<DetailHeaderMenu />`).
|
|
8
|
+
* Rendered top-right of the tag chip row inside the hero glass surface.
|
|
9
|
+
*/
|
|
10
|
+
actionsSlot?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function TriColumnSymmetric({ data, palette, actionsSlot }: TriColumnSymmetricProps): import("react").JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* FIX-407 — Hero pills collapsed from three (lifecycle + network + power)
|
|
15
|
+
* to two business-critical dimensions: fleet lifecycle (inventory state)
|
|
16
|
+
* and energy (consumer-driven power signal). Network state was dropped
|
|
17
|
+
* from the hero — it overlaps with power for at-a-glance scanning and
|
|
18
|
+
* already lives in the connectivity tab. Previous implementation
|
|
19
|
+
* hardcoded `tone="ok"` for lifecycle so FAULTY rendered as green; the
|
|
20
|
+
* Record maps make tone+label exhaustive over the union types.
|
|
21
|
+
*/
|
|
22
|
+
/** STORY-242 — expanded tone union (3 new: muted, info, amber). */
|
|
23
|
+
type PillTone = "ok" | "warn" | "crit" | "muted" | "info" | "amber";
|
|
24
|
+
export declare function StatusPill({ tone, label }: {
|
|
25
|
+
tone: PillTone;
|
|
26
|
+
label: string;
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=TriColumnSymmetric.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriColumnSymmetric.d.ts","sourceRoot":"","sources":["../../../src/components/detail-layout/TriColumnSymmetric.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,OAAO,EAAmC,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjG,UAAU,uBAAuB;IAC/B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,uBAAuB,+BA2KzF;AAED;;;;;;;;GAQG;AACH,mEAAmE;AACnE,KAAK,QAAQ,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAgEpE,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,+BAqB5E"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ModemDetail, MeterDetail, HeatmapDay, ModemTimelineEvent, TimelineEvent } from '../../types';
|
|
2
|
+
import { AlarmEntry, DetailEntity, ReadingDay } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Cross-walk a `HeatmapDay[]` (4-status: `"ok" | "partial" | "fail" |
|
|
5
|
+
* "nodata"`) to a `ReadingDay[]` (4-status: `"ok" | "warn" | "crit" |
|
|
6
|
+
* "noData"`). Renames `okCount → readCount`, `totalCount → expectedCount`.
|
|
7
|
+
* Pure — no I/O, no side effects.
|
|
8
|
+
*/
|
|
9
|
+
export declare function heatmapDaysToReadings(days: HeatmapDay[]): ReadingDay[];
|
|
10
|
+
/**
|
|
11
|
+
* Fraction of days where the device shipped SOMETHING (status !== "nodata"),
|
|
12
|
+
* × 100, over the last 30 days. Empty input → 0. Rounded to 1 decimal.
|
|
13
|
+
*/
|
|
14
|
+
export declare function deriveUptimePercent(days: HeatmapDay[]): number;
|
|
15
|
+
/**
|
|
16
|
+
* Fraction of days where the device shipped at or above the cadence
|
|
17
|
+
* threshold (status === "ok"), × 100, over the last 30 days. Empty
|
|
18
|
+
* input → 0. Rounded to 1 decimal.
|
|
19
|
+
*/
|
|
20
|
+
export declare function deriveReadingRatePercent(days: HeatmapDay[]): number;
|
|
21
|
+
/**
|
|
22
|
+
* Split a "City / District" locationGroup string into structured parts.
|
|
23
|
+
* Null / empty / whitespace input → both fields fall back to "—".
|
|
24
|
+
*/
|
|
25
|
+
export declare function splitLocationGroup(s: string | null): {
|
|
26
|
+
city: string;
|
|
27
|
+
district: string;
|
|
28
|
+
};
|
|
29
|
+
export interface ModemAdapterExtras {
|
|
30
|
+
/** Output of `useModemCommHealth(modemId)`. */
|
|
31
|
+
commHealth?: HeatmapDay[];
|
|
32
|
+
/**
|
|
33
|
+
* Output of `useAlarmList({modemSlug, ...}).data?.data` — the page-level
|
|
34
|
+
* BE→AlarmEntry transform happens inside the hook, so the adapter
|
|
35
|
+
* receives `AlarmEntry[]` directly.
|
|
36
|
+
*/
|
|
37
|
+
recentAlarms?: AlarmEntry[];
|
|
38
|
+
/** Output of `useModemTimeline({modemId, ...}).data?.data`. */
|
|
39
|
+
timeline?: ModemTimelineEvent[];
|
|
40
|
+
}
|
|
41
|
+
export interface MeterAdapterExtras {
|
|
42
|
+
/** Output of `useMeterHeatmap(meterId, month)`. */
|
|
43
|
+
heatmap?: HeatmapDay[];
|
|
44
|
+
/**
|
|
45
|
+
* Field-issue-derived shape. The page-level `useFieldIssueList(...)`
|
|
46
|
+
* returns `FieldIssue[]`; the page composes the `recentAlarms`
|
|
47
|
+
* transform (FieldIssue → AlarmEntry) before handing this object to
|
|
48
|
+
* the adapter. `activeCount` is `meta.total` of the OPEN filter.
|
|
49
|
+
*/
|
|
50
|
+
fieldIssues?: {
|
|
51
|
+
activeCount: number;
|
|
52
|
+
recentAlarms: AlarmEntry[];
|
|
53
|
+
};
|
|
54
|
+
/** Active-orders count proxy from `useMeterOrders(slug, {status: "PENDING"}).meta.total`. */
|
|
55
|
+
activeOrders?: number;
|
|
56
|
+
/** Output of `useMeterTimeline(meterId, ...).data?.data`. */
|
|
57
|
+
timeline?: TimelineEvent[];
|
|
58
|
+
/**
|
|
59
|
+
* Localized label for the `meterType` chip. When provided, overrides
|
|
60
|
+
* the adapter's default TR-literal derivation. Pages should derive
|
|
61
|
+
* this via `t("meter.phase_three")` / `t("meter.phase_single")` so
|
|
62
|
+
* EN-locale users see English text (Gate F-A3). Storybook /
|
|
63
|
+
* non-i18n consumers may omit it — the adapter falls back to the
|
|
64
|
+
* existing TR-literal strings for compatibility.
|
|
65
|
+
*/
|
|
66
|
+
meterTypeLabel?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Convert a `ModemDetail` hook output row + optional sibling-hook extras
|
|
70
|
+
* into a `ModemDetailEntity` ready for the `TriColumnSymmetric` organism.
|
|
71
|
+
*
|
|
72
|
+
* Per STORY-223 / Seçenek B: extras carries the live sibling-hook data
|
|
73
|
+
* for full visual fidelity. When `extras` is undefined (or any field is),
|
|
74
|
+
* the adapter falls back to safe zero/empty values — ReadingHeatmap +
|
|
75
|
+
* QuickStats render the empty-state gracefully.
|
|
76
|
+
*/
|
|
77
|
+
export declare function modemRowToDetailEntity(modem: ModemDetail, extras?: ModemAdapterExtras): DetailEntity;
|
|
78
|
+
/**
|
|
79
|
+
* Convert a `MeterDetail` hook output row + optional sibling-hook extras
|
|
80
|
+
* into a `MeterDetailEntity`. Mirrors the modem adapter pattern; the
|
|
81
|
+
* meter side has no native `alarmCount` / `activeOrderCount` fields, so
|
|
82
|
+
* those come from `extras.fieldIssues.activeCount` + `extras.activeOrders`.
|
|
83
|
+
*
|
|
84
|
+
* `meterType` derives from `phaseType`. When `extras.meterTypeLabel` is
|
|
85
|
+
* provided, that localized string wins (Gate F-A3); otherwise the
|
|
86
|
+
* adapter falls back to TR-literal strings so the shared library stays
|
|
87
|
+
* dependency-free for Storybook / non-i18n consumers.
|
|
88
|
+
*/
|
|
89
|
+
export declare function meterRowToDetailEntity(meter: MeterDetail, extras?: MeterAdapterExtras): DetailEntity;
|
|
90
|
+
//# sourceMappingURL=adapters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapters.d.ts","sourceRoot":"","sources":["../../../src/components/detail-layout/adapters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EAGZ,UAAU,EAEX,MAAM,SAAS,CAAC;AAMjB;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAwBtE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,MAAM,CAM9D;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,MAAM,CAMnE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CASvF;AAMD,MAAM,WAAW,kBAAkB;IACjC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC;IAC5B,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACZ,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,UAAU,EAAE,CAAC;KAC5B,CAAC;IACF,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA+HD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,WAAW,EAClB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,YAAY,CAsCd;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,WAAW,EAClB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,YAAY,CAmCd"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* STORY-222 / D-230 / AD-DETAIL-5
|
|
3
|
+
*
|
|
4
|
+
* Type contract underpinning the shared detail-layout component family.
|
|
5
|
+
*
|
|
6
|
+
* `DetailEntity` is a **discriminated union** on `kind` ("modem" | "meter").
|
|
7
|
+
* The compiler narrows to the per-kind variant inside `if (entity.kind === ...)`
|
|
8
|
+
* branches, so consumers can access modem-only fields (`firmware`, `protocol`,
|
|
9
|
+
* `signalStrength`, `meterCount`) or meter-only fields (`meterType`, `modemSlug`)
|
|
10
|
+
* without optional chaining and without accidentally reaching across kinds.
|
|
11
|
+
*
|
|
12
|
+
* Mock builders + entity literals + the deterministic PRNG live under
|
|
13
|
+
* `ui/lena-ui-kit/src/_preview/DetailLayout/mockData.ts` (preview-only Storybook
|
|
14
|
+
* fixtures). The production adapter contract lives in `./adapters.ts` and is
|
|
15
|
+
* wired against real `ModemDetail` / `MeterDetail` hook output by STORY-223.
|
|
16
|
+
*/
|
|
17
|
+
export type DayStatus = "ok" | "warn" | "crit" | "noData";
|
|
18
|
+
export interface ReadingDay {
|
|
19
|
+
/** ISO yyyy-mm-dd. */
|
|
20
|
+
date: string;
|
|
21
|
+
status: DayStatus;
|
|
22
|
+
/** Observed reads on this day. */
|
|
23
|
+
readCount: number;
|
|
24
|
+
/** Expected reads (96 = 15-min interval × 24h). */
|
|
25
|
+
expectedCount: number;
|
|
26
|
+
}
|
|
27
|
+
export interface AlarmEntry {
|
|
28
|
+
id: string;
|
|
29
|
+
code: string;
|
|
30
|
+
label: string;
|
|
31
|
+
severity: "crit" | "warn" | "info";
|
|
32
|
+
/** ISO datetime. */
|
|
33
|
+
at: string;
|
|
34
|
+
}
|
|
35
|
+
interface DetailEntityBase {
|
|
36
|
+
slug: string;
|
|
37
|
+
serial: string;
|
|
38
|
+
brand: string;
|
|
39
|
+
model: string;
|
|
40
|
+
location: {
|
|
41
|
+
city: string;
|
|
42
|
+
district: string;
|
|
43
|
+
};
|
|
44
|
+
tags: string[];
|
|
45
|
+
status: {
|
|
46
|
+
lifecycle: "ACTIVE" | "INACTIVE" | "MAINTENANCE" | "FAULTY";
|
|
47
|
+
network: "CONNECTED" | "DISCONNECTED" | "UNKNOWN";
|
|
48
|
+
power?: "ON" | "OFF" | "UNKNOWN";
|
|
49
|
+
/**
|
|
50
|
+
* STORY-242 (D-238-D2) — Meter internal disconnector relay state.
|
|
51
|
+
* 5 values: ON (energised), OFF (de-energised), UNKNOWN (no observation yet),
|
|
52
|
+
* OPENING (relay command issued → on), CLOSING (relay command issued → off).
|
|
53
|
+
*
|
|
54
|
+
* Optional here so `DetailEntityBase` stays kind-neutral; rendering is gated
|
|
55
|
+
* on `data.kind === "meter"` inside TriColumnSymmetric (D-238-D10).
|
|
56
|
+
*/
|
|
57
|
+
disconnection?: "ON" | "OFF" | "UNKNOWN" | "OPENING" | "CLOSING";
|
|
58
|
+
};
|
|
59
|
+
/** ISO datetime — last successful reading. */
|
|
60
|
+
lastReadingAt: string;
|
|
61
|
+
lastCommandAt?: string;
|
|
62
|
+
lastHeartbeatAt?: string;
|
|
63
|
+
uptimePercent: number;
|
|
64
|
+
readingRatePercent: number;
|
|
65
|
+
activeAlarms: number;
|
|
66
|
+
activeOrders: number;
|
|
67
|
+
recentAlarms: AlarmEntry[];
|
|
68
|
+
readings: ReadingDay[];
|
|
69
|
+
}
|
|
70
|
+
export interface ModemDetailEntity extends DetailEntityBase {
|
|
71
|
+
kind: "modem";
|
|
72
|
+
firmware?: string;
|
|
73
|
+
protocol?: string;
|
|
74
|
+
/** Transport-layer port (TCP/MQTT). Optional — only rendered when present. */
|
|
75
|
+
port?: number;
|
|
76
|
+
/** RSSI 0..100. */
|
|
77
|
+
signalStrength?: number;
|
|
78
|
+
/** Number of meters bound to this modem. */
|
|
79
|
+
meterCount?: number;
|
|
80
|
+
}
|
|
81
|
+
export interface MeterDetailEntity extends DetailEntityBase {
|
|
82
|
+
kind: "meter";
|
|
83
|
+
/** e.g. "3-Faz Aktif/Reaktif". */
|
|
84
|
+
meterType?: string;
|
|
85
|
+
/** Slug of the upstream modem (cross-entity link target). */
|
|
86
|
+
modemSlug?: string;
|
|
87
|
+
}
|
|
88
|
+
export type DetailEntity = ModemDetailEntity | MeterDetailEntity;
|
|
89
|
+
/**
|
|
90
|
+
* 5-palette enumeration consumed by `DetailShellFrame`'s `data-detail-palette`
|
|
91
|
+
* attribute. Production assignment per AD-DETAIL-3 mental model:
|
|
92
|
+
* - `emerald` → MODEM (gateway, infrastructure-cool)
|
|
93
|
+
* - `amber` → METER (consumption-warm)
|
|
94
|
+
* - `cyan` → default reference (STORY-215 cyber-glass V1)
|
|
95
|
+
* - `magenta` → high-energy focus zones (reserved for future entity types)
|
|
96
|
+
* - `slate` → compliance-grade monochrome (reserved for future entity types)
|
|
97
|
+
*
|
|
98
|
+
* Palette assignment per future entity-type is a per-story decision (D-230-D2);
|
|
99
|
+
* the heuristic above is the documented mental model, not a hard mapping.
|
|
100
|
+
*/
|
|
101
|
+
export type DetailPalette = "cyan" | "amber" | "emerald" | "magenta" | "slate";
|
|
102
|
+
/**
|
|
103
|
+
* Aggregate reading status counters for a 30-day window.
|
|
104
|
+
*
|
|
105
|
+
* Pure derivation — no PRNG, no mock data. Used by `TriColumnSymmetric` (center
|
|
106
|
+
* column percent) and the preview variants (B/C/D summary chips).
|
|
107
|
+
*/
|
|
108
|
+
export declare function readingSummary(readings: ReadingDay[]): {
|
|
109
|
+
total: number;
|
|
110
|
+
ok: number;
|
|
111
|
+
warn: number;
|
|
112
|
+
crit: number;
|
|
113
|
+
noData: number;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Format a percentage value (0..100) with TR-locale decimal separator.
|
|
117
|
+
*
|
|
118
|
+
* Per `.claude/rules/i18n-standards.md`, TR locale renders decimals with a comma
|
|
119
|
+
* (`97,4`) — not a dot (`97.4`). This helper centralises the locale call so
|
|
120
|
+
* consumer JSX stays compact and consistent. Default precision = 1 fraction
|
|
121
|
+
* digit (matches the StatBlock Uptime/Okuma Oranı rendering convention).
|
|
122
|
+
*/
|
|
123
|
+
export declare function formatPercentTR(value: number, fractionDigits?: number): string;
|
|
124
|
+
export {};
|
|
125
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/detail-layout/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface FormFieldStackProps {
|
|
3
|
+
/** A sequence of form fields (ui-kit `FormField` wrappers). */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Add `--fg-hair` hairline separators between stacked children. */
|
|
6
|
+
divided?: boolean;
|
|
7
|
+
/** 1-col (default) vertical stack, or 2-col responsive grid. */
|
|
8
|
+
columns?: 1 | 2;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* FormFieldStack — "Glass Veil" field container for create/edit side-panel forms.
|
|
13
|
+
*
|
|
14
|
+
* Owns the spacing + (optional) hairline dividers between form fields and
|
|
15
|
+
* re-tints descendant ui-kit `FormField` labels to the muted glass scale via the
|
|
16
|
+
* `.fg-stack` descendant rule (no FormField/Label edits). `columns={2}` lays
|
|
17
|
+
* children out in a responsive 2-col grid; the column template is applied inline
|
|
18
|
+
* (SCOPED_GRID, STORY-231) so consumer apps need no compiled Tailwind grid-cols.
|
|
19
|
+
* Collapses to a single column on narrow viewports via `minmax(0, 1fr)`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function FormFieldStack({ children, divided, columns, className, }: FormFieldStackProps): import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=FormFieldStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFieldStack.d.ts","sourceRoot":"","sources":["../../../src/components/form-glass/FormFieldStack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,SAAS,CAAC;IACpB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gEAAgE;IAChE,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,OAAe,EACf,OAAW,EACX,SAAS,GACV,EAAE,mBAAmB,+BAwBrB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface FormSectionProps {
|
|
3
|
+
/** Uppercase tracked muted section header text (same scale as DetailSection). */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Section body content (form fields). */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** Initial open state when collapsible. Defaults to `true`. */
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
/** When `true` (default) the header is a toggle that shows/hides the body. */
|
|
10
|
+
collapsible?: boolean;
|
|
11
|
+
/** Optional right-aligned action slot rendered next to the label. */
|
|
12
|
+
action?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* FormSection — "Glass Veil" collapsible group for create/edit side-panel forms.
|
|
17
|
+
*
|
|
18
|
+
* Drop-in replacement for the copy-pasted local accordion `Section` (e.g.
|
|
19
|
+
* ModemCreatePanel): same bordered glass card, same ghost-Button toggle header,
|
|
20
|
+
* same internal `useState(defaultOpen)` behaviour. The header label uses the
|
|
21
|
+
* shared `fg-section-label` scale (mirrors `dg-section-label`) so form groups and
|
|
22
|
+
* detail sections read identically.
|
|
23
|
+
*
|
|
24
|
+
* `collapsible={false}` renders a static DetailSection-style header (no toggle) —
|
|
25
|
+
* useful for always-visible groups.
|
|
26
|
+
*/
|
|
27
|
+
export declare function FormSection({ label, children, defaultOpen, collapsible, action, className, }: FormSectionProps): import("react").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=FormSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../../../src/components/form-glass/FormSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,WAAW,gBAAgB;IAC/B,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,QAAQ,EAAE,SAAS,CAAC;IACpB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAkB,EAClB,WAAkB,EAClB,MAAM,EACN,SAAS,GACV,EAAE,gBAAgB,+BA0ClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface FormSectionGroupProps {
|
|
3
|
+
/** A sequence of `FormSection`s (or any form content). */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* FormSectionGroup — top-level create/edit form wrapper. A simple
|
|
9
|
+
* `flex flex-col gap` container that replaces the repeated
|
|
10
|
+
* `<div className="flex flex-col gap-[var(--space-3)]">` form scaffold so every
|
|
11
|
+
* form side-panel shares the same section spacing.
|
|
12
|
+
*/
|
|
13
|
+
export declare function FormSectionGroup({ children, className }: FormSectionGroupProps): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=FormSectionGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSectionGroup.d.ts","sourceRoot":"","sources":["../../../src/components/form-glass/FormSectionGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,qBAAqB;IACpC,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAE9E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { FormSection } from './FormSection';
|
|
2
|
+
export type { FormSectionProps } from './FormSection';
|
|
3
|
+
export { FormFieldStack } from './FormFieldStack';
|
|
4
|
+
export type { FormFieldStackProps } from './FormFieldStack';
|
|
5
|
+
export { FormSectionGroup } from './FormSectionGroup';
|
|
6
|
+
export type { FormSectionGroupProps } from './FormSectionGroup';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form-glass/index.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { ModemStatusBadge } from './ModemStatusBadge';
|
|
2
|
+
export type { ModemStatusBadgeProps } from './ModemStatusBadge';
|
|
3
|
+
export { MeterStatusBadge } from './MeterStatusBadge';
|
|
4
|
+
export type { MeterStatusBadgeProps } from './MeterStatusBadge';
|
|
5
|
+
export { OrderStatusBadge } from './OrderStatusBadge';
|
|
6
|
+
export type { OrderStatusBadgeProps } from './OrderStatusBadge';
|
|
7
|
+
export { HeatmapCalendar } from './HeatmapCalendar';
|
|
8
|
+
export type { HeatmapCalendarProps } from './HeatmapCalendar';
|
|
9
|
+
export { SignalStrengthBar } from './SignalStrengthBar';
|
|
10
|
+
export type { SignalStrengthBarProps } from './SignalStrengthBar';
|
|
11
|
+
export { SlugLink } from './SlugLink';
|
|
12
|
+
export type { SlugLinkProps } from './SlugLink';
|
|
13
|
+
export { TagList } from './TagList';
|
|
14
|
+
export type { TagListProps } from './TagList';
|
|
15
|
+
export { TimelineView } from './TimelineView';
|
|
16
|
+
export type { TimelineViewProps } from './TimelineView';
|
|
17
|
+
export { LiveMonitorPanel } from './LiveMonitorPanel';
|
|
18
|
+
export type { LiveMonitorPanelProps } from './LiveMonitorPanel';
|
|
19
|
+
export { OrderCreateSheet } from './OrderCreateSheet';
|
|
20
|
+
export type { OrderCreateSheetProps, OrderCreateMode, OrderCreateTargetEntity, BulkOrderSubmitPayload, } from './OrderCreateSheet';
|
|
21
|
+
export { OrderDetailSheet } from './OrderDetailSheet';
|
|
22
|
+
export type { OrderDetailSheetProps } from './OrderDetailSheet';
|
|
23
|
+
export { MapView } from './MapView';
|
|
24
|
+
export type { MapViewProps } from './MapView';
|
|
25
|
+
export { CronBuilder } from './CronBuilder';
|
|
26
|
+
export type { CronBuilderProps } from './CronBuilder';
|
|
27
|
+
export { NotificationBell } from './NotificationBell';
|
|
28
|
+
export type { NotificationBellProps } from './NotificationBell';
|
|
29
|
+
export { RealTimeStatusBar } from './RealTimeStatusBar';
|
|
30
|
+
export type { RealTimeStatusBarProps } from './RealTimeStatusBar';
|
|
31
|
+
export { DashboardWidgetGrid, DashboardWidget, useWidgetFullscreen } from './DashboardWidgetGrid';
|
|
32
|
+
export type { DashboardWidgetGridProps, DashboardWidgetProps } from './DashboardWidgetGrid';
|
|
33
|
+
export { CommHealthGrid } from './CommHealthGrid';
|
|
34
|
+
export type { CommHealthGridProps } from './CommHealthGrid';
|
|
35
|
+
export { ListDetailPanel } from './ListDetailPanel';
|
|
36
|
+
export type { ListDetailPanelProps } from './ListDetailPanel';
|
|
37
|
+
export { DetailActions } from './DetailActions';
|
|
38
|
+
export type { DetailActionsProps } from './DetailActions';
|
|
39
|
+
export { MonitoringSparkline } from './monitoring/MonitoringSparkline';
|
|
40
|
+
export type { MonitoringSparklineProps, SparklineDirection, SparklineState, } from './monitoring/MonitoringSparkline';
|
|
41
|
+
export { HealthScoreGauge, scoreToBand } from './monitoring/HealthScoreGauge';
|
|
42
|
+
export type { HealthScoreGaugeProps, HealthBand, GaugeState, } from './monitoring/HealthScoreGauge';
|
|
43
|
+
export { TimeWindowToggle } from './monitoring/TimeWindowToggle';
|
|
44
|
+
export type { TimeWindowToggleProps, MonitoringWindow, } from './monitoring/TimeWindowToggle';
|
|
45
|
+
export { TopErrorCodesMini } from './monitoring/TopErrorCodesMini';
|
|
46
|
+
export type { TopErrorCodesMiniProps, TopErrorCodesMiniState, ErrorCodeEntry, } from './monitoring/TopErrorCodesMini';
|
|
47
|
+
export { DetailSection, DetailFieldRow, DetailFieldGrid, DetailPill, DetailContentBlock, DetailTile, } from './detail-glass';
|
|
48
|
+
export type { DetailSectionProps, DetailFieldRowProps, DetailFieldGridProps, DetailPillProps, DetailPillTone, DetailContentBlockProps, DetailTileProps, DetailTileTone, } from './detail-glass';
|
|
49
|
+
export { FormSection, FormFieldStack, FormSectionGroup, } from './form-glass';
|
|
50
|
+
export type { FormSectionProps, FormFieldStackProps, FormSectionGroupProps, } from './form-glass';
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type HealthBand = "critical" | "warning" | "healthy" | "excellent";
|
|
2
|
+
export type GaugeState = "default" | "loading" | "empty" | "error" | "critical";
|
|
3
|
+
export interface HealthScoreGaugeProps {
|
|
4
|
+
score: number | null;
|
|
5
|
+
band: HealthBand;
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
|
+
state?: GaugeState;
|
|
8
|
+
onDetailsClick?: () => void;
|
|
9
|
+
ariaLabel?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/** Score → band mapping (D-231 AD-MONITORING-6 thresholds: 39/40, 69/70, 89/90). */
|
|
13
|
+
export declare function scoreToBand(score: number | null): HealthBand;
|
|
14
|
+
export declare function HealthScoreGauge({ score, band, size, state, onDetailsClick, ariaLabel, className, }: HealthScoreGaugeProps): import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=HealthScoreGauge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthScoreGauge.d.ts","sourceRoot":"","sources":["../../../src/components/monitoring/HealthScoreGauge.tsx"],"names":[],"mappings":"AAmBA,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAC1E,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiBD,oFAAoF;AACpF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,UAAU,CAM5D;AAwCD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,IAAI,EACJ,IAAW,EACX,KAAiB,EACjB,cAAc,EACd,SAAS,EACT,SAAS,GACV,EAAE,qBAAqB,+BAyNvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type SparklineDirection = "up" | "down" | "flat";
|
|
2
|
+
export type SparklineState = "default" | "loading" | "empty" | "error" | "critical";
|
|
3
|
+
export interface MonitoringSparklineProps {
|
|
4
|
+
data: number[];
|
|
5
|
+
direction?: SparklineDirection;
|
|
6
|
+
state?: SparklineState;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
showArea?: boolean;
|
|
10
|
+
targetLine?: number;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function MonitoringSparkline({ data, direction, state, width, height, showArea, targetLine, ariaLabel, className, }: MonitoringSparklineProps): import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=MonitoringSparkline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonitoringSparkline.d.ts","sourceRoot":"","sources":["../../../src/components/monitoring/MonitoringSparkline.tsx"],"names":[],"mappings":"AAcA,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AACxD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC;AAEpF,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAgGD,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,SAAkB,EAClB,KAAiB,EACjB,KAAU,EACV,MAAW,EACX,QAAgB,EAChB,UAAU,EACV,SAAS,EACT,SAAS,GACV,EAAE,wBAAwB,+BAuD1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type MonitoringWindow = "1h" | "24h" | "7d" | "30d";
|
|
2
|
+
export interface TimeWindowToggleProps {
|
|
3
|
+
value: MonitoringWindow;
|
|
4
|
+
onChange: (window: MonitoringWindow) => void;
|
|
5
|
+
state?: "default" | "loading" | "empty" | "error" | "critical";
|
|
6
|
+
errorTooltip?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function TimeWindowToggle({ value, onChange, state, errorTooltip, className, }: TimeWindowToggleProps): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=TimeWindowToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimeWindowToggle.d.ts","sourceRoot":"","sources":["../../../src/components/monitoring/TimeWindowToggle.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;AAW3D,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,KAAiB,EACjB,YAAY,EACZ,SAAS,GACV,EAAE,qBAAqB,+BAiDvB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ErrorCodeEntry {
|
|
2
|
+
code: string;
|
|
3
|
+
count: number;
|
|
4
|
+
pct: number;
|
|
5
|
+
sampleMessage: string;
|
|
6
|
+
}
|
|
7
|
+
export type TopErrorCodesMiniState = "default" | "loading" | "empty" | "error" | "critical";
|
|
8
|
+
export interface TopErrorCodesMiniProps {
|
|
9
|
+
codes: ErrorCodeEntry[];
|
|
10
|
+
onCodeClick: (code: string) => void;
|
|
11
|
+
state?: TopErrorCodesMiniState;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
onRetry?: () => void;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function TopErrorCodesMini({ codes, onCodeClick, state, errorMessage, onRetry, className, }: TopErrorCodesMiniProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=TopErrorCodesMini.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopErrorCodesMini.d.ts","sourceRoot":"","sources":["../../../src/components/monitoring/TopErrorCodesMini.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiDD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,KAAiB,EACjB,YAAY,EACZ,OAAO,EACP,SAAS,GACV,EAAE,sBAAsB,+BAkGxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
params: Record<string, string>;
|
|
3
|
+
onChange: (key: string, value: string) => void;
|
|
4
|
+
modemId?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function AstroConfigForm({ onChange, modemId }: FormProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=AstroConfigForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AstroConfigForm.d.ts","sourceRoot":"","sources":["../../../src/components/order-forms/AstroConfigForm.tsx"],"names":[],"mappings":"AAgDA,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAID,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,SAAS,+BA4Q/D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
params: Record<string, string>;
|
|
3
|
+
onChange: (key: string, value: string) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function CalendarUpdateForm({ onChange }: FormProps): import("react").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=CalendarUpdateForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarUpdateForm.d.ts","sourceRoot":"","sources":["../../../src/components/order-forms/CalendarUpdateForm.tsx"],"names":[],"mappings":"AAkBA,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,+BAoFzD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
params: Record<string, string>;
|
|
3
|
+
onChange: (key: string, value: string) => void;
|
|
4
|
+
options?: Array<{
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
/** ServerConfigForm — select from registered server configs */
|
|
10
|
+
export declare function ServerConfigForm({ params, onChange, options }: FormProps): import("react").JSX.Element;
|
|
11
|
+
/** NtpConfigForm — select from registered NTP configs */
|
|
12
|
+
export declare function NtpConfigForm({ params, onChange, options }: FormProps): import("react").JSX.Element;
|
|
13
|
+
/** CustomConfigForm — operation radio + multi-select whitelist entries (FIX-238) */
|
|
14
|
+
export declare function CustomConfigForm({ onChange }: Omit<FormProps, "options">): import("react").JSX.Element;
|
|
15
|
+
/** ApnConfigSelectForm — select from registered APN configs */
|
|
16
|
+
export declare function ApnConfigSelectForm({ params, onChange, options }: FormProps): import("react").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=ConfigSelectForms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigSelectForms.d.ts","sourceRoot":"","sources":["../../../src/components/order-forms/ConfigSelectForms.tsx"],"names":[],"mappings":"AASA,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,+DAA+D;AAC/D,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAY,EAAE,EAAE,SAAS,+BAW7E;AAED,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAY,EAAE,EAAE,SAAS,+BAW1E;AAOD,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,+BAgFxE;AAED,+DAA+D;AAC/D,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAY,EAAE,EAAE,SAAS,+BAWhF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
params: Record<string, string>;
|
|
3
|
+
onChange: (key: string, value: string) => void;
|
|
4
|
+
directiveOptions?: Array<{
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
/** DirectiveQueryForm — select directive to query */
|
|
10
|
+
export declare function DirectiveQueryForm({ params, onChange, directiveOptions }: FormProps): import("react").JSX.Element;
|
|
11
|
+
/** DirectiveChangeForm — multi-select directives to push to modem (FIX-166/FIX-168) */
|
|
12
|
+
export declare function DirectiveChangeForm({ params, onChange }: FormProps): import("react").JSX.Element;
|
|
13
|
+
/** DirectiveExecuteForm — execute with optional params */
|
|
14
|
+
export declare function DirectiveExecuteForm({ params, onChange, directiveOptions }: FormProps): import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=DirectiveForms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectiveForms.d.ts","sourceRoot":"","sources":["../../../src/components/order-forms/DirectiveForms.tsx"],"names":[],"mappings":"AAQA,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5D;AAED,qDAAqD;AACrD,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAqB,EAAE,EAAE,SAAS,+BAexF;AAED,uFAAuF;AACvF,wBAAgB,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,SAAS,+BA4ElE;AAED,0DAA0D;AAC1D,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAqB,EAAE,EAAE,SAAS,+BA+B1F"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
params: Record<string, string>;
|
|
3
|
+
onChange: (key: string, value: string) => void;
|
|
4
|
+
firmwareOptions?: Array<{
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
export declare function FirmwareUpdateForm({ params, onChange, firmwareOptions }: FormProps): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=FirmwareUpdateForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FirmwareUpdateForm.d.ts","sourceRoot":"","sources":["../../../src/components/order-forms/FirmwareUpdateForm.tsx"],"names":[],"mappings":"AAGA,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAoB,EAAE,EAAE,SAAS,+BAcvF"}
|