react-dashstream 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -137,7 +137,7 @@ See `example/Dashboard.tsx` in this package for a complete two-service example w
137
137
 
138
138
  `DatacenterView` renders an SVG **topology** (or optional **geographic outline** if you pass an SVG path `d` string), **CSS 3D** datacenter markers, link lines, and a **zoom transition** into a nested **`AIOPsDashboard`** for the selected building. Define **multiple buildings** under one **`siteId`** to get a single site marker, aggregated KPIs, and a multi-building cluster. Metrics can stay **mock** (`dataCenters[].metrics`) or use **PromQL** via **`metricBindings`** (building id → metric key → `DataBinding`) together with **`DataProvider`** and **`extractDatacenterMetricQueries`**.
139
139
 
140
- The demo app (`src/App.tsx`) uses `example/SaudiMapView.tsx`, a thin wrapper around `DatacenterView`. Scenario data lives in `example/saudiMapDemoData.tsx`; optional mock metric sliders use `example/DemoMetricPanel.tsx` + `example/DemoMetricPanel.css` (not part of the published package).
140
+ The demo app (`src/App.tsx`) uses `example/SaudiMapView.tsx`, a thin wrapper around `DatacenterView` that composes the map with **`DatacenterSite`** / shape components (`TowerDC`, `FlatDC`, …). Scenario data (configs and drill-down services) lives in `example/saudiMapDemoData.tsx`; optional mock metric sliders use `example/DemoMetricPanel.tsx` + `example/DemoMetricPanel.css` (not part of the published package).
141
141
 
142
142
  **Agent-oriented reference:** see **`dashstream-skill.md`** (section **DatacenterView — topology / geography map**) for props, types, mock vs live data, and composition with `DataProvider`.
143
143
 
@@ -109,6 +109,8 @@ src/
109
109
  │ ├── DatacenterView/ # Topology map + CSS 3D building markers
110
110
  │ │ ├── DatacenterView.tsx
111
111
  │ │ ├── DatacenterView.css
112
+ │ │ ├── buildings.tsx # DatacenterSite, TowerDC, FlatDC, … (declarative JSX)
113
+ │ │ ├── collectDatacenterTree.ts
112
114
  │ │ ├── types.ts
113
115
  │ │ └── index.ts
114
116
  │ └── index.ts
@@ -632,7 +634,7 @@ SAP sub-component helpers: `getServerSubComponents`, `getServerGraphSeries`, `ge
632
634
 
633
635
  ### Datacenter topology map
634
636
 
635
- `DatacenterView` — plus types `DatacenterViewProps`, `DatacenterBuildingConfig`, `DatacenterBuildingVariant`, `DatacenterConnection`, `DatacenterGeography`, `DatacenterMetrics`, `DatacenterSiteLabels`, `DatacenterViewPhase`
637
+ `DatacenterView` — plus `DatacenterSite`, shape components (`StandardDC`, `TowerDC`, `FlatDC`, `StorageDC`, `GoogleDC`, `MicroDC`, `OfficeDC`), generic `Datacenter`, `collectDatacenterTree`, `getBuildingVariant`, and types `DatacenterViewProps`, `DatacenterBuildingConfig`, `DatacenterBuildingNodeProps`, `DatacenterBuildingVariant`, `DatacenterConnection`, `DatacenterGeography`, `DatacenterMetrics`, `DatacenterProps`, `DatacenterSiteLabels`, `DatacenterSiteProps`, `DatacenterViewPhase`, `CollectedTopology`
636
638
 
637
639
  ### Event alerts
638
640
 
@@ -650,7 +652,7 @@ SAP sub-component helpers: `getServerSubComponents`, `getServerGraphSeries`, `ge
650
652
 
651
653
  ### Type exports
652
654
 
653
- `AIOPsDashboardProps`, `ServiceMeta`, `ServiceMetricBinding`, `DashboardTheme`, `ComponentStatus`, `StatusCfg`, `FaceName`, `Base3DProps`, `ComponentType`, `ComponentContext`, `ComponentDialogMetric`, `SubComponentConfig`, `GraphSeries`, `SelectedComponent`, `ConnectionConfig`, `ViewState`, `DataBinding`, `DataBindings`, `DatacenterMetricBindings`, `DataProviderConfig`, `Credentials`, `DataContextValue`, `ServiceProps`, `ServiceContextValue`, `ServiceNodeProps`, `CarouselProps`, `ServerNodeProps`, `DatabaseNodeProps`, `HumanNodeProps`, `WebDispatcherNodeProps`, `MessageServerNodeProps`, `SvgConnectionProps`, `SyncBridgeProps`, `NodeCalloutProps`, `ServiceDialogProps`, `ServiceDialogMetric`, `ServiceDialogAlert`, `ComponentDialogProps`, `ComponentDrillViewProps`, `CarouselContextValue`, `CarouselItemContextValue`, `SAPServiceProps`, `SAPServiceOwnProps`, `SAPServiceConfig`, `ExchangeServiceProps`, `ExchangeServiceOwnProps`, `ExchangeServiceConfig`, `EventHostAlert`, `EventAlertsContextValue`, `EventAlertsProviderProps`, `DatacenterViewProps`, `DatacenterBuildingConfig`, `DatacenterBuildingVariant`, `DatacenterConnection`, `DatacenterGeography`, `DatacenterMetrics`, `DatacenterSiteLabels`, `DatacenterViewPhase`
655
+ `AIOPsDashboardProps`, `ServiceMeta`, `ServiceMetricBinding`, `DashboardTheme`, `ComponentStatus`, `StatusCfg`, `FaceName`, `Base3DProps`, `ComponentType`, `ComponentContext`, `ComponentDialogMetric`, `SubComponentConfig`, `GraphSeries`, `SelectedComponent`, `ConnectionConfig`, `ViewState`, `DataBinding`, `DataBindings`, `DatacenterMetricBindings`, `DataProviderConfig`, `Credentials`, `DataContextValue`, `ServiceProps`, `ServiceContextValue`, `ServiceNodeProps`, `CarouselProps`, `ServerNodeProps`, `DatabaseNodeProps`, `HumanNodeProps`, `WebDispatcherNodeProps`, `MessageServerNodeProps`, `SvgConnectionProps`, `SyncBridgeProps`, `NodeCalloutProps`, `ServiceDialogProps`, `ServiceDialogMetric`, `ServiceDialogAlert`, `ComponentDialogProps`, `ComponentDrillViewProps`, `CarouselContextValue`, `CarouselItemContextValue`, `SAPServiceProps`, `SAPServiceOwnProps`, `SAPServiceConfig`, `ExchangeServiceProps`, `ExchangeServiceOwnProps`, `ExchangeServiceConfig`, `EventHostAlert`, `EventAlertsContextValue`, `EventAlertsProviderProps`, `DatacenterViewProps`, `DatacenterBuildingConfig`, `DatacenterBuildingNodeProps`, `DatacenterBuildingVariant`, `DatacenterConnection`, `DatacenterGeography`, `DatacenterMetrics`, `DatacenterProps`, `DatacenterSiteLabels`, `DatacenterSiteProps`, `DatacenterViewPhase`, `CollectedTopology`
654
656
 
655
657
  ---
656
658
 
@@ -914,7 +916,11 @@ SVG-based **network topology** (grid) or optional **geographic outline** (consum
914
916
  ### Data model
915
917
 
916
918
  - **`DatacenterBuildingConfig`** — one marker on the map (`id`, `name`, `subtitle`, `x` / `y` as **percent** of the 800×600 scene, `status`, `metrics`, `services`, `renderServices`, `variant`, optional `brand`, `isExternal`).
917
- - **`siteId`** — optional; multiple buildings with the same `siteId` share **one marker**, **combined metrics** (sums / averages for PUE, temperature, uptime), and a **multi-building cluster** visualization (each building’s `variant` is shown). Optional **`siteLabels`** (`Record<string, { label: string; subtitle?: string }>`) overrides auto-generated titles.
919
+ - **`siteId`** — optional; multiple buildings with the same `siteId` share **one marker**, **combined metrics** (sums / averages for PUE, temperature, uptime), and a **multi-building cluster** visualization (each building’s `variant` is shown). Optional **`siteLabels`** (`Record<string, { label: string; subtitle?: string }>`) overrides auto-generated titles. **`DatacenterSite`** can supply `label` / `subtitle` per `siteId`; the **`siteLabels`** prop merges on top (prop wins on conflict).
920
+
921
+ ### Declarative JSX topology (optional)
922
+
923
+ Instead of a **`dataCenters`** array, pass **`children`** using **`DatacenterSite`** (coordinates + optional site titles) and one shape component per building: **`StandardDC`**, **`TowerDC`**, **`FlatDC`**, **`StorageDC`**, **`GoogleDC`**, **`MicroDC`**, or **`OfficeDC`** (alias of `MicroDC`). Use **`Datacenter`** with **`variant`** when you want a single generic component. Building components render **`null`** on the map; **`children`** on each building are the drill-down **`Service`** tree (same as `renderServices()` in the array API). **`collectDatacenterTree(children)`** is available if you need the resolved **`DatacenterBuildingConfig[]`** outside the view.
918
924
  - **`DatacenterConnection`** — `from` / `to` endpoint ids (building `id` or `siteId`), `throughput` label, optional `isExternal`.
919
925
  - **`DatacenterMetrics`** — numeric KPIs used on markers and for aggregation.
920
926
 
@@ -942,7 +948,8 @@ This path is **independent** of `AIOPsDashboard`’s **`dataBindings`** (which k
942
948
 
943
949
  | Prop | Type | Default | Notes |
944
950
  |------|------|---------|--------|
945
- | `dataCenters` | `DatacenterBuildingConfig[]` | (required) | Mock baseline metrics in each config; merged with live values when `metricBindings` + `DataProvider` present |
951
+ | `children` | `ReactNode` | | Declarative topology (`DatacenterSite`, `TowerDC`, …). When set, **`dataCenters` is ignored** (dev warning if both are passed) |
952
+ | `dataCenters` | `DatacenterBuildingConfig[]` | `[]` | Flat / JSON-friendly config; required for topology unless **`children`** is used |
946
953
  | `connections` | `DatacenterConnection[]` | `[]` | Link lines between building or site ids |
947
954
  | `metricBindings` | `DatacenterMetricBindings` | — | Building **id** → metric field → PromQL `DataBinding`; needs `DataProvider` + `extractDatacenterMetricQueries` |
948
955
  | `dataTransform` | `(raw: unknown) => unknown` | `defaultDataTransform` | Applied to each binding unless overridden per binding |
@@ -965,7 +972,7 @@ This path is **independent** of `AIOPsDashboard`’s **`dataBindings`** (which k
965
972
  | `showMapScaleControls` | `boolean` | `true` | Size / hover sliders in header (map mode) |
966
973
  | `mapFooter` | `ReactNode` | — | Rendered below the map when drill-down is **not** active |
967
974
 
968
- ### Minimal usage
975
+ ### Minimal usage (array config)
969
976
 
970
977
  ```tsx
971
978
  import "react-dashstream/dist/index.css";
@@ -980,6 +987,59 @@ const connections: DatacenterConnection[] = [];
980
987
  <DatacenterView dataCenters={dataCenters} connections={connections} />;
981
988
  ```
982
989
 
990
+ ### JSX composition (same runtime behavior)
991
+
992
+ ```tsx
993
+ import "react-dashstream/dist/index.css";
994
+ import {
995
+ DatacenterView,
996
+ DatacenterSite,
997
+ TowerDC,
998
+ FlatDC,
999
+ } from "react-dashstream";
1000
+
1001
+ <DatacenterView connections={[]}>
1002
+ <DatacenterSite siteId="riyadh-hub" x={42} y={38} label="Riyadh hub" subtitle="Primary region">
1003
+ <TowerDC
1004
+ id="dc-east-1"
1005
+ name="East tower"
1006
+ subtitle="Tier III"
1007
+ status="online"
1008
+ metrics={{
1009
+ carbonEmissions: 0,
1010
+ powerUtilization: 0,
1011
+ cooling: 0,
1012
+ pue: 1.4,
1013
+ uptime: 99.9,
1014
+ activeServers: 0,
1015
+ temperature: 22,
1016
+ networkThroughput: 0,
1017
+ }}
1018
+ services={[]}
1019
+ >
1020
+ {/* Service / ServerNode / … drill-down tree */}
1021
+ </TowerDC>
1022
+ <FlatDC
1023
+ id="dc-flat-2"
1024
+ name="Flat block"
1025
+ subtitle="Storage"
1026
+ status="online"
1027
+ metrics={{
1028
+ carbonEmissions: 0,
1029
+ powerUtilization: 0,
1030
+ cooling: 0,
1031
+ pue: 1.3,
1032
+ uptime: 99.5,
1033
+ activeServers: 0,
1034
+ temperature: 21,
1035
+ networkThroughput: 0,
1036
+ }}
1037
+ services={[]}
1038
+ />
1039
+ </DatacenterSite>
1040
+ </DatacenterView>;
1041
+ ```
1042
+
983
1043
  ---
984
1044
 
985
1045
  ## EventView — Operations Event Console
@@ -4,7 +4,13 @@ import { DatacenterMetricBindings } from '../../data/DataProvider';
4
4
  import { DashboardTheme } from '../../ThemeContext';
5
5
  import { DatacenterBuildingConfig, DatacenterConnection, DatacenterGeography, DatacenterSiteLabels } from './types';
6
6
  export interface DatacenterViewProps {
7
- dataCenters: DatacenterBuildingConfig[];
7
+ /**
8
+ * Declarative topology: {@link DatacenterSite}, {@link TowerDC}, {@link StandardDC}, etc.
9
+ * When set, {@link dataCenters} is ignored.
10
+ */
11
+ children?: ReactNode;
12
+ /** Flat config (e.g. JSON). Ignored when {@link children} is provided. */
13
+ dataCenters?: DatacenterBuildingConfig[];
8
14
  connections?: DatacenterConnection[];
9
15
  /** Per-building-id PromQL bindings; requires a surrounding `DataProvider` with queries from `extractDatacenterMetricQueries`. */
10
16
  metricBindings?: DatacenterMetricBindings;
@@ -33,5 +39,5 @@ export interface DatacenterViewProps {
33
39
  /** Rendered below the map when the drill-down dashboard is not active (e.g. demo metric sliders). */
34
40
  mapFooter?: ReactNode;
35
41
  }
36
- export default function DatacenterView({ dataCenters, connections, metricBindings, dataTransform: dataTransformProp, geography, showGeography, mapTitle, topologyTitle, topologyAffiliatesLabel, brandText, headerTag, initialBuildingId, openDashboardOnMount, onNavigateEvents, theme, onThemeChange, backgroundImage, lightBackgroundImage, aiOpsDashboardProps, defaultBuildingBrand, siteLabels, showMapScaleControls, mapFooter, }: DatacenterViewProps): import("react/jsx-runtime").JSX.Element;
42
+ export default function DatacenterView({ children, dataCenters: dataCentersProp, connections, metricBindings, dataTransform: dataTransformProp, geography, showGeography, mapTitle, topologyTitle, topologyAffiliatesLabel, brandText, headerTag, initialBuildingId, openDashboardOnMount, onNavigateEvents, theme, onThemeChange, backgroundImage, lightBackgroundImage, aiOpsDashboardProps, defaultBuildingBrand, siteLabels, showMapScaleControls, mapFooter, }: DatacenterViewProps): import("react/jsx-runtime").JSX.Element;
37
43
  //# sourceMappingURL=DatacenterView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatacenterView.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/DatacenterView.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACR,wBAAwB,EAExB,oBAAoB,EACpB,mBAAmB,EAEnB,oBAAoB,EAEvB,MAAM,SAAS,CAAC;AA4rBjB,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxC,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACrC,iIAAiI;IACjI,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC;IAC1C,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,+EAA+E;IAC/E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAChD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qGAAqG;IACrG,mBAAmB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAClD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qGAAqG;IACrG,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACnC,WAAW,EACX,WAAgB,EAChB,cAAc,EACd,aAAa,EAAE,iBAAiB,EAChC,SAAS,EACT,aAAqB,EACrB,QAAwC,EACxC,aAAkC,EAClC,uBAAsC,EACtC,SAAmB,EACnB,SAA4B,EAC5B,iBAAiB,EACjB,oBAA4B,EAC5B,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,oBAA8B,EAC9B,UAAU,EACV,oBAA2B,EAC3B,SAAS,GACZ,EAAE,mBAAmB,2CA6TrB"}
1
+ {"version":3,"file":"DatacenterView.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/DatacenterView.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,E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AAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAClD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qGAAqG;IACrG,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACnC,QAAQ,EACR,WAAW,EAAE,eAAe,EAC5B,WAAgB,EAChB,cAAc,EACd,aAAa,EAAE,iBAAiB,EAChC,SAAS,EACT,aAAqB,EACrB,QAAwC,EACxC,aAAkC,EAClC,uBAAsC,EACtC,SAAmB,EACnB,SAA4B,EAC5B,iBAAiB,EACjB,oBAA4B,EAC5B,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,oBAA8B,EAC9B,UAAU,EACV,oBAA2B,EAC3B,SAAS,GACZ,EAAE,mBAAmB,2CAkVrB"}
@@ -0,0 +1,38 @@
1
+ import { DatacenterBuildingVariant, DatacenterBuildingNodeProps, DatacenterProps, DatacenterSiteProps } from './types';
2
+ declare const variantTag: "__datacenterVariant";
3
+ type TaggedBuilding = ((props: DatacenterBuildingNodeProps) => null) & {
4
+ [variantTag]: DatacenterBuildingVariant;
5
+ displayName?: string;
6
+ };
7
+ /** Hub / default footprint. */
8
+ export declare const StandardDC: TaggedBuilding;
9
+ /** Tall footprint. */
10
+ export declare const TowerDC: TaggedBuilding;
11
+ /** Wide low footprint. */
12
+ export declare const FlatDC: TaggedBuilding;
13
+ /** Compact storage block. */
14
+ export declare const StorageDC: TaggedBuilding;
15
+ /** Hyperscaler / multi-color window style (maps to `google` variant). */
16
+ export declare const GoogleDC: TaggedBuilding;
17
+ /** Small remote / affiliate node (also used for {@link OfficeDC}). */
18
+ export declare const MicroDC: TaggedBuilding;
19
+ /** Alias for {@link MicroDC} — e.g. regional office on the map. */
20
+ export declare const OfficeDC: TaggedBuilding;
21
+ /**
22
+ * Generic building with explicit `variant` when you do not use a shape-specific component.
23
+ */
24
+ export declare function Datacenter(_props: DatacenterProps): null;
25
+ export declare namespace Datacenter {
26
+ var displayName: string;
27
+ }
28
+ /**
29
+ * Groups multiple buildings at one map coordinate (`x` / `y` percent) and one combined site marker.
30
+ * Optional `label` / `subtitle` feed the same labels as the `siteLabels` map prop on {@link DatacenterView}.
31
+ */
32
+ export declare function DatacenterSite(_props: DatacenterSiteProps): null;
33
+ export declare namespace DatacenterSite {
34
+ var displayName: string;
35
+ }
36
+ export declare function getBuildingVariant(type: unknown): DatacenterBuildingVariant | null;
37
+ export {};
38
+ //# sourceMappingURL=buildings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildings.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/buildings.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EAAE,2BAA2B,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEjG,QAAA,MAAM,UAAU,EAAG,qBAA8B,CAAC;AAElD,KAAK,cAAc,GAAG,CAAC,CAAC,KAAK,EAAE,2BAA2B,KAAK,IAAI,CAAC,GAAG;IACnE,CAAC,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAcF,+BAA+B;AAC/B,eAAO,MAAM,UAAU,gBAAuC,CAAC;AAC/D,sBAAsB;AACtB,eAAO,MAAM,OAAO,gBAAiC,CAAC;AACtD,0BAA0B;AAC1B,eAAO,MAAM,MAAM,gBAA+B,CAAC;AACnD,6BAA6B;AAC7B,eAAO,MAAM,SAAS,gBAAqC,CAAC;AAC5D,yEAAyE;AACzE,eAAO,MAAM,QAAQ,gBAAmC,CAAC;AACzD,sEAAsE;AACtE,eAAO,MAAM,OAAO,gBAAiC,CAAC;AACtD,mEAAmE;AACnE,eAAO,MAAM,QAAQ,gBAAU,CAAC;AAEhC;;GAEG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,eAAe,QAEjD;yBAFe,UAAU;;;AAK1B;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,mBAAmB,QAEzD;yBAFe,cAAc;;;AAK9B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,yBAAyB,GAAG,IAAI,CAIlF"}
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ import { DatacenterBuildingConfig, DatacenterSiteLabels } from './types';
3
+ export interface CollectedTopology {
4
+ buildings: DatacenterBuildingConfig[];
5
+ /** From {@link DatacenterSite} `label` / `subtitle`; merged with `siteLabels` on the view (prop wins). */
6
+ siteLabels: Record<string, DatacenterSiteLabels>;
7
+ }
8
+ /**
9
+ * Turns declarative JSX ({@link DatacenterSite}, {@link TowerDC}, etc.) into {@link DatacenterBuildingConfig}[].
10
+ */
11
+ export declare function collectDatacenterTree(children: ReactNode): CollectedTopology;
12
+ //# sourceMappingURL=collectDatacenterTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectDatacenterTree.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/collectDatacenterTree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,KAAK,EACR,wBAAwB,EAGxB,oBAAoB,EACvB,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,0GAA0G;IAC1G,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;CACpD;AAqFD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,SAAS,GAAG,iBAAiB,CAK5E"}
@@ -1,3 +1,6 @@
1
1
  export { default as DatacenterView, type DatacenterViewProps } from './DatacenterView';
2
- export type { DatacenterBuildingConfig, DatacenterBuildingVariant, DatacenterConnection, DatacenterGeography, DatacenterMetrics, DatacenterSiteLabels, DatacenterViewPhase, } from './types';
2
+ export { StandardDC, TowerDC, FlatDC, StorageDC, GoogleDC, MicroDC, OfficeDC, Datacenter, DatacenterSite, getBuildingVariant, } from './buildings';
3
+ export { collectDatacenterTree } from './collectDatacenterTree';
4
+ export type { CollectedTopology } from './collectDatacenterTree';
5
+ export type { DatacenterBuildingConfig, DatacenterBuildingNodeProps, DatacenterBuildingVariant, DatacenterConnection, DatacenterGeography, DatacenterMetrics, DatacenterProps, DatacenterSiteLabels, DatacenterSiteProps, DatacenterViewPhase, } from './types';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvF,YAAY,EACR,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,GACtB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EACH,UAAU,EACV,OAAO,EACP,MAAM,EACN,SAAS,EACT,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACV,cAAc,EACd,kBAAkB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EACR,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,SAAS,CAAC"}
@@ -13,6 +13,42 @@ export interface DatacenterMetrics {
13
13
  }
14
14
  /** CSS 3D building shape preset. */
15
15
  export type DatacenterBuildingVariant = "standard" | "tower" | "flat" | "storage" | "google" | "micro";
16
+ /**
17
+ * Props for shape components ({@link TowerDC}, {@link FlatDC}, …) and {@link Datacenter}.
18
+ * When nested in {@link DatacenterSite}, `x` / `y` on the building are optional (marker uses the site position).
19
+ */
20
+ export interface DatacenterBuildingNodeProps {
21
+ id: string;
22
+ name: string;
23
+ subtitle: string;
24
+ status: "online" | "warning" | "critical";
25
+ metrics: DatacenterMetrics;
26
+ services: ServiceMeta[];
27
+ brand?: string;
28
+ isExternal?: boolean;
29
+ /**
30
+ * Map position as percent of the 800×600 scene (0–100).
31
+ * Omit when this building is a child of {@link DatacenterSite} (the site supplies `x` / `y`).
32
+ */
33
+ x?: number;
34
+ y?: number;
35
+ /**
36
+ * Carousel / service components for the drill-down dashboard. Not mounted on the map (parents render `null`).
37
+ */
38
+ children?: React.ReactNode;
39
+ }
40
+ /** Groups several building components into one site marker. */
41
+ export interface DatacenterSiteProps {
42
+ siteId: string;
43
+ x: number;
44
+ y: number;
45
+ label?: string;
46
+ subtitle?: string;
47
+ children: React.ReactNode;
48
+ }
49
+ export type DatacenterProps = {
50
+ variant: DatacenterBuildingVariant;
51
+ } & DatacenterBuildingNodeProps;
16
52
  /** One logical datacenter / building on the topology map. */
17
53
  export interface DatacenterBuildingConfig {
18
54
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DatacenterView/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MA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AAK,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,aAAa,CAAC;AAEjG,0FAA0F;AAC1F,MAAM,WAAW,mBAAmB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnE;AAED,+DAA+D;AAC/D,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -86,8 +86,8 @@ export { CPU3D, Memory3D, DriveBay3D, NetworkBlock3D, ThreadPool3D, Platter3D, P
86
86
  export { EventView } from './EventView';
87
87
  export { EventAlertsProvider, useEventAlerts, useEventAlertsOptional } from './EventView';
88
88
  export type { AIOpsEvent, EventSeverity, EventClass, SMSStatus, MonitoringCategory, EventFieldMapping, EventSeverityMap, EventApiConfig, EventViewProps, EventHostAlert, EventAlertsContextValue, EventAlertsProviderProps, } from './EventView';
89
- export { DatacenterView } from './DatacenterView';
90
- export type { DatacenterViewProps, DatacenterBuildingConfig, DatacenterBuildingVariant, DatacenterConnection, DatacenterGeography, DatacenterMetrics, DatacenterSiteLabels, DatacenterViewPhase, } from './DatacenterView';
89
+ export { DatacenterView, StandardDC, TowerDC, FlatDC, StorageDC, GoogleDC, MicroDC, OfficeDC, Datacenter, DatacenterSite, getBuildingVariant, collectDatacenterTree, } from './DatacenterView';
90
+ export type { DatacenterViewProps, DatacenterBuildingConfig, DatacenterBuildingNodeProps, DatacenterBuildingVariant, DatacenterConnection, DatacenterGeography, DatacenterMetrics, DatacenterProps, DatacenterSiteLabels, DatacenterSiteProps, DatacenterViewPhase, CollectedTopology, } from './DatacenterView';
91
91
  export { CarouselContext, CarouselItemContext, useCarouselContext, useCarouselItemContext, } from './CarouselContext';
92
92
  export type { CarouselContextValue, CarouselItemContextValue } from './CarouselContext';
93
93
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAGH,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC/D,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,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