@texturehq/edges 3.0.1 → 3.1.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.
@@ -227,6 +227,43 @@ type StackNavLinkComponentProps = {
227
227
  "aria-current"?: "page" | undefined;
228
228
  onClick?: (event: React$1.MouseEvent<HTMLAnchorElement>) => void;
229
229
  };
230
+ type StackNavRowRenderProps = {
231
+ item: StackNavItem;
232
+ isActive: boolean;
233
+ /**
234
+ * Whether the item has children. Use it to decide whether to draw a drill-in
235
+ * affordance.
236
+ *
237
+ * Note this reports child presence, not a guarantee about `select`: the click
238
+ * path pushes a pane whenever children exist and does not consult
239
+ * `pushOnSelect`, which today only affects deep-link resolution. That
240
+ * discrepancy predates this prop and is left alone here rather than changed
241
+ * underneath existing consumers.
242
+ */
243
+ hasChildren: boolean;
244
+ /**
245
+ * Run StackNav's selection: report through `onSelect` and push the sub-pane
246
+ * when the item has children.
247
+ *
248
+ * This does **not** navigate `href`. The built-in row navigates because it is
249
+ * itself an anchor and the browser follows it; a custom row must render its
250
+ * own anchor — `LinkComponent` below — for `href` to do anything.
251
+ */
252
+ select: (event: React$1.MouseEvent) => void;
253
+ /**
254
+ * The anchor component configured on the nav (`linkComponent`, defaulting to
255
+ * a native `<a>`). Render `href` rows through this so router integration and
256
+ * navigation keep working.
257
+ */
258
+ LinkComponent: React$1.ComponentType<StackNavLinkComponentProps>;
259
+ /** Class list the built-in row uses, for custom rows that want its base styling. */
260
+ className: string;
261
+ };
262
+ /**
263
+ * Renders one row in place of the built-in one. Return any node; the pane stack,
264
+ * back affordance, and drill-in logic stay with StackNav.
265
+ */
266
+ type StackNavRenderRow = (props: StackNavRowRenderProps) => React$1.ReactNode;
230
267
  /**
231
268
  * Color overrides for the rail surface and row affordances. Any value accepted
232
269
  * by CSS (`#hex`, `rgb()`, `var(--token)`, etc.) is fine; each entry maps to a
@@ -318,6 +355,20 @@ type StackNavProps = {
318
355
  * Defaults to a native `<a>`.
319
356
  */
320
357
  linkComponent?: React$1.ComponentType<StackNavLinkComponentProps>;
358
+ /**
359
+ * Take over rendering of the rows, keeping this component's pane stack, back
360
+ * affordance, and drill-in behavior.
361
+ *
362
+ * Needed when a row must carry its own interactive control — a checkbox, a
363
+ * switch — which cannot go in `leading`, since that renders inside the row's
364
+ * link/button, making it invalid markup and giving one click target two
365
+ * actions. A custom row can place the control as a sibling of whatever it
366
+ * makes navigable.
367
+ *
368
+ * Dividers and group labels are unaffected. Omit this and rows render exactly
369
+ * as they always have.
370
+ */
371
+ renderRow?: StackNavRenderRow | undefined;
321
372
  /**
322
373
  * Render the Texture logo at the top of the rail (above any `header` slot).
323
374
  * Set `logo` to override the default mark; otherwise the standard `<Logo />`
@@ -382,7 +433,7 @@ type StackNavProps = {
382
433
  */
383
434
  sidebarCollapseId?: string;
384
435
  };
385
- declare function StackNav({ items, groups, bottomItems, value, defaultStack, stack: controlledStack, onStackChange, onSelect, linkComponent: LinkComponent, showLogo, logo, header, footer, mobileMenuId, sidebarCollapseId, rootLabel, sticky, width, ariaLabel, theme, animated, style, className, }: StackNavProps): react_jsx_runtime.JSX.Element;
436
+ declare function StackNav({ items, groups, bottomItems, value, defaultStack, stack: controlledStack, onStackChange, onSelect, linkComponent: LinkComponent, renderRow, showLogo, logo, header, footer, mobileMenuId, sidebarCollapseId, rootLabel, sticky, width, ariaLabel, theme, animated, style, className, }: StackNavProps): react_jsx_runtime.JSX.Element;
386
437
 
387
438
  type ColorMode = "system" | "light" | "dark";
388
439
  type TopNavProps = {
@@ -2463,6 +2514,31 @@ type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "GENERATOR" | "MOTOR" |
2463
2514
  * by the conformance test, not just documented.
2464
2515
  */
2465
2516
  declare const ABSENT_GRID_FIELDS: readonly ["energized", "customerName", "gs_max_continuous_current"];
2517
+ /**
2518
+ * MR-G12 §5 -- voltage stat-list rows still sourced from a RAW metadata key whose
2519
+ * unit has NOT been measured against prod.
2520
+ *
2521
+ * The conformance rule (`entities.test.ts`): a `GRID_STAT_LIST` row with
2522
+ * `format.type === "voltage"` must EITHER reference a normalized/decoded key
2523
+ * (suffix `Kv`, i.e. the unit is established by construction) OR be listed here.
2524
+ * `formatGridStatValue` takes the unit straight from this config and performs no
2525
+ * conversion, so an unmeasured raw key is a three-order-of-magnitude error waiting
2526
+ * to ship -- exactly how `TRANSFORMER.primaryRatedVoltage` shipped "7 V" for a
2527
+ * 7.2 kV transformer. Listing a row here is a deliberate, reviewable admission
2528
+ * that its unit is unverified, not an oversight.
2529
+ *
2530
+ * Status per row (as of 2026-08-17):
2531
+ * • CAPACITOR / NODE `nominalVoltage` -- NOT measured; DQ-3 covered transformers
2532
+ * only. Deliberately NOT fixed blind: added to the next DB round (DQ-10). If
2533
+ * they show the transformer pattern, one decision fixes both.
2534
+ * • REGULATOR `outputVoltagePh{A,B,C}` -- lower risk: the SCADA audit observed
2535
+ * regulator volts in the 7,261...20,538 V range, but that is TELEMETRY, not
2536
+ * this metadata key.
2537
+ * • GENERATOR `outputVoltage` / MOTOR `voltage` -- small populations.
2538
+ *
2539
+ * Entries are `${GridElementSourceType}.${key}`.
2540
+ */
2541
+ declare const UNVERIFIED_VOLTAGE_UNIT_ROWS: readonly ["CAPACITOR.nominalVoltage", "NODE.nominalVoltage", "REGULATOR.outputVoltagePhA", "REGULATOR.outputVoltagePhB", "REGULATOR.outputVoltagePhC", "GENERATOR.outputVoltage", "MOTOR.voltage"];
2466
2542
  /**
2467
2543
  * Static property rows per `GridElementType`, transcribed from
2468
2544
  * `grid-element-config/src/configs/*.config.ts` `metadataFields`. Serializable:
@@ -2478,12 +2554,20 @@ declare const GRID_STAT_LIST: {
2478
2554
  readonly decimals: 0;
2479
2555
  };
2480
2556
  }, {
2481
- readonly key: "primaryRatedVoltage";
2557
+ readonly key: "primaryVoltageKv";
2482
2558
  readonly label: "Primary Voltage";
2483
2559
  readonly format: {
2484
2560
  readonly type: "voltage";
2485
- readonly unit: "V";
2486
- readonly decimals: 0;
2561
+ readonly unit: "kV";
2562
+ readonly decimals: 1;
2563
+ };
2564
+ }, {
2565
+ readonly key: "outputVoltageKv";
2566
+ readonly label: "Output Voltage";
2567
+ readonly format: {
2568
+ readonly type: "voltage";
2569
+ readonly unit: "kV";
2570
+ readonly decimals: 2;
2487
2571
  };
2488
2572
  }];
2489
2573
  readonly CONSUMER: [{
@@ -3058,12 +3142,20 @@ declare const ENTITY_CONFIG: {
3058
3142
  readonly decimals: 0;
3059
3143
  };
3060
3144
  }, {
3061
- readonly key: "primaryRatedVoltage";
3145
+ readonly key: "primaryVoltageKv";
3062
3146
  readonly label: "Primary Voltage";
3063
3147
  readonly format: {
3064
3148
  readonly type: "voltage";
3065
- readonly unit: "V";
3066
- readonly decimals: 0;
3149
+ readonly unit: "kV";
3150
+ readonly decimals: 1;
3151
+ };
3152
+ }, {
3153
+ readonly key: "outputVoltageKv";
3154
+ readonly label: "Output Voltage";
3155
+ readonly format: {
3156
+ readonly type: "voltage";
3157
+ readonly unit: "kV";
3158
+ readonly decimals: 2;
3067
3159
  };
3068
3160
  }];
3069
3161
  };
@@ -4186,4 +4278,4 @@ declare const getContrastingTextColor: (backgroundColor: string) => string;
4186
4278
  */
4187
4279
  declare const mapValuesToCategoricalColors: (values: (string | number)[]) => Record<string | number, string>;
4188
4280
 
4189
- export { getContrastingTextColor as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, type ChartMargin as C, type StaticMapProps as D, ENTITY_CONFIG as E, type TooltipData as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type TooltipSeries as J, TopNav as K, Loader as L, type MapPoint as M, type TopNavProps as N, type YFormatType as O, archetypeFor as P, clearColorCache as Q, createCategoryColorMap as R, type SegmentOption as S, TextLink as T, createXScale as U, createYScale as V, defaultMargin as W, entityHasDetailPage as X, type YFormatSettings as Y, entityHasStatList as Z, entityShowsNow as _, type ActionItem as a, type MapType as a$, getDefaultChartColor as a0, getDefaultColors as a1, getEntityConfig as a2, getEntityIcon as a3, getEntityLabel as a4, getEntityStatList as a5, getResolvedColor as a6, getThemeCategoricalColors as a7, getYFormatSettings as a8, isLightColor as a9, type RasterLayerSpec as aA, type VectorLayerSpec as aB, type ClusteredVectorLayerSpec as aC, ActionMenu as aD, AppShell as aE, Avatar as aF, Badge as aG, type BaseFormat as aH, ChartContext as aI, CodeEditor as aJ, type ColorSpec as aK, type ComponentFormatOptions as aL, type CurrentUnit as aM, type CustomFormat as aN, DEFAULT_MAP_TYPE as aO, type DateFormatStyle as aP, type DistanceUnit as aQ, ENTITY_CATEGORY_CONFIG as aR, type EntityCategory as aS, type EntityCategoryConfig as aT, GRID_STATE_COLORS as aU, type GridStateColor as aV, InteractiveMap as aW, type InteractiveMapHandle as aX, type LayerFeature as aY, type LayerStyle as aZ, MAP_TYPES as a_, type FieldValue as aa, type BooleanFormat as ab, type FormattedValue as ac, type FieldFormat as ad, type CurrentFormat as ae, type DateFormat as af, type DistanceFormat as ag, type EnergyUnit as ah, type EnergyFormat as ai, type CurrencyFormat as aj, type NumberFormat as ak, type PhoneFormat as al, type PowerFormat as am, type FormatterFunction as an, type ResistanceFormat as ao, type TemperatureFormat as ap, type TemperatureUnitString as aq, type TemperatureUnit as ar, type TextFormat as as, type VoltageFormat as at, type DeviceState as au, type GridState as av, type ComponentFormatter as aw, type LayerSpec as ax, type CustomPinsSpec as ay, type GeoJsonLayerSpec as az, type ActionMenuProps as b, Meter as b0, type MetricFormat as b1, type PercentageFormat as b2, type PowerUnit as b3, type RenderType as b4, type ResistanceUnit as b5, SegmentedControl as b6, StackNav as b7, type StackNavGroup as b8, type StackNavItem as b9, type StackNavLinkComponentProps as ba, type StackNavProps as bb, type StackNavTheme as bc, StaticMap as bd, type TextTransform as be, type TextTruncatePosition as bf, type VoltageUnit as bg, type ZoomStops as bh, activeDeviceStates as bi, baselineFromPoint as bj, deviceStateLabels as bk, deviceStateMetricFormats as bl, formatComponentValue as bm, getDeviceStateLabel as bn, getEntityCategory as bo, getGridStateLabel as bp, gridStateLabels as bq, isActiveState as br, mapValuesToCategoricalColors as bs, useChartContext as bt, useComponentFormatter as bu, type AppShellProps as c, type AvatarProps as d, type BaseDataPoint as e, type CodeEditorProps as f, type CodeLanguage as g, type CodeTheme as h, type EntityArchetype as i, type EntityConfig as j, type EntityStateRule as k, type EntityType as l, GRID_STAT_LIST as m, type GridElementSourceType as n, type GridStatField as o, type GridStatFieldFormat as p, Heading as q, type HeadlineMetric as r, Logo as s, type MeterProps as t, type MetricSource as u, type SegmentedControlProps as v, type SerializableFieldFormat as w, SideNav as x, type SideNavItem as y, type SideNavProps as z };
4281
+ export { getContrastingTextColor as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, type ChartMargin as C, type StaticMapProps as D, ENTITY_CONFIG as E, type TooltipData as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type TooltipSeries as J, TopNav as K, Loader as L, type MapPoint as M, type TopNavProps as N, type YFormatType as O, archetypeFor as P, clearColorCache as Q, createCategoryColorMap as R, type SegmentOption as S, TextLink as T, createXScale as U, createYScale as V, defaultMargin as W, entityHasDetailPage as X, type YFormatSettings as Y, entityHasStatList as Z, entityShowsNow as _, type ActionItem as a, type MapType as a$, getDefaultChartColor as a0, getDefaultColors as a1, getEntityConfig as a2, getEntityIcon as a3, getEntityLabel as a4, getEntityStatList as a5, getResolvedColor as a6, getThemeCategoricalColors as a7, getYFormatSettings as a8, isLightColor as a9, type RasterLayerSpec as aA, type VectorLayerSpec as aB, type ClusteredVectorLayerSpec as aC, ActionMenu as aD, AppShell as aE, Avatar as aF, Badge as aG, type BaseFormat as aH, ChartContext as aI, CodeEditor as aJ, type ColorSpec as aK, type ComponentFormatOptions as aL, type CurrentUnit as aM, type CustomFormat as aN, DEFAULT_MAP_TYPE as aO, type DateFormatStyle as aP, type DistanceUnit as aQ, ENTITY_CATEGORY_CONFIG as aR, type EntityCategory as aS, type EntityCategoryConfig as aT, GRID_STATE_COLORS as aU, type GridStateColor as aV, InteractiveMap as aW, type InteractiveMapHandle as aX, type LayerFeature as aY, type LayerStyle as aZ, MAP_TYPES as a_, type FieldValue as aa, type BooleanFormat as ab, type FormattedValue as ac, type FieldFormat as ad, type CurrentFormat as ae, type DateFormat as af, type DistanceFormat as ag, type EnergyUnit as ah, type EnergyFormat as ai, type CurrencyFormat as aj, type NumberFormat as ak, type PhoneFormat as al, type PowerFormat as am, type FormatterFunction as an, type ResistanceFormat as ao, type TemperatureFormat as ap, type TemperatureUnitString as aq, type TemperatureUnit as ar, type TextFormat as as, type VoltageFormat as at, type DeviceState as au, type GridState as av, type ComponentFormatter as aw, type LayerSpec as ax, type CustomPinsSpec as ay, type GeoJsonLayerSpec as az, type ActionMenuProps as b, Meter as b0, type MetricFormat as b1, type PercentageFormat as b2, type PowerUnit as b3, type RenderType as b4, type ResistanceUnit as b5, SegmentedControl as b6, StackNav as b7, type StackNavGroup as b8, type StackNavItem as b9, type StackNavLinkComponentProps as ba, type StackNavProps as bb, type StackNavRenderRow as bc, type StackNavRowRenderProps as bd, type StackNavTheme as be, StaticMap as bf, type TextTransform as bg, type TextTruncatePosition as bh, UNVERIFIED_VOLTAGE_UNIT_ROWS as bi, type VoltageUnit as bj, type ZoomStops as bk, activeDeviceStates as bl, baselineFromPoint as bm, deviceStateLabels as bn, deviceStateMetricFormats as bo, formatComponentValue as bp, getDeviceStateLabel as bq, getEntityCategory as br, getGridStateLabel as bs, gridStateLabels as bt, isActiveState as bu, mapValuesToCategoricalColors as bv, useChartContext as bw, useComponentFormatter as bx, type AppShellProps as c, type AvatarProps as d, type BaseDataPoint as e, type CodeEditorProps as f, type CodeLanguage as g, type CodeTheme as h, type EntityArchetype as i, type EntityConfig as j, type EntityStateRule as k, type EntityType as l, GRID_STAT_LIST as m, type GridElementSourceType as n, type GridStatField as o, type GridStatFieldFormat as p, Heading as q, type HeadlineMetric as r, Logo as s, type MeterProps as t, type MetricSource as u, type SegmentedControlProps as v, type SerializableFieldFormat as w, SideNav as x, type SideNavItem as y, type SideNavProps as z };
@@ -227,6 +227,43 @@ type StackNavLinkComponentProps = {
227
227
  "aria-current"?: "page" | undefined;
228
228
  onClick?: (event: React$1.MouseEvent<HTMLAnchorElement>) => void;
229
229
  };
230
+ type StackNavRowRenderProps = {
231
+ item: StackNavItem;
232
+ isActive: boolean;
233
+ /**
234
+ * Whether the item has children. Use it to decide whether to draw a drill-in
235
+ * affordance.
236
+ *
237
+ * Note this reports child presence, not a guarantee about `select`: the click
238
+ * path pushes a pane whenever children exist and does not consult
239
+ * `pushOnSelect`, which today only affects deep-link resolution. That
240
+ * discrepancy predates this prop and is left alone here rather than changed
241
+ * underneath existing consumers.
242
+ */
243
+ hasChildren: boolean;
244
+ /**
245
+ * Run StackNav's selection: report through `onSelect` and push the sub-pane
246
+ * when the item has children.
247
+ *
248
+ * This does **not** navigate `href`. The built-in row navigates because it is
249
+ * itself an anchor and the browser follows it; a custom row must render its
250
+ * own anchor — `LinkComponent` below — for `href` to do anything.
251
+ */
252
+ select: (event: React$1.MouseEvent) => void;
253
+ /**
254
+ * The anchor component configured on the nav (`linkComponent`, defaulting to
255
+ * a native `<a>`). Render `href` rows through this so router integration and
256
+ * navigation keep working.
257
+ */
258
+ LinkComponent: React$1.ComponentType<StackNavLinkComponentProps>;
259
+ /** Class list the built-in row uses, for custom rows that want its base styling. */
260
+ className: string;
261
+ };
262
+ /**
263
+ * Renders one row in place of the built-in one. Return any node; the pane stack,
264
+ * back affordance, and drill-in logic stay with StackNav.
265
+ */
266
+ type StackNavRenderRow = (props: StackNavRowRenderProps) => React$1.ReactNode;
230
267
  /**
231
268
  * Color overrides for the rail surface and row affordances. Any value accepted
232
269
  * by CSS (`#hex`, `rgb()`, `var(--token)`, etc.) is fine; each entry maps to a
@@ -318,6 +355,20 @@ type StackNavProps = {
318
355
  * Defaults to a native `<a>`.
319
356
  */
320
357
  linkComponent?: React$1.ComponentType<StackNavLinkComponentProps>;
358
+ /**
359
+ * Take over rendering of the rows, keeping this component's pane stack, back
360
+ * affordance, and drill-in behavior.
361
+ *
362
+ * Needed when a row must carry its own interactive control — a checkbox, a
363
+ * switch — which cannot go in `leading`, since that renders inside the row's
364
+ * link/button, making it invalid markup and giving one click target two
365
+ * actions. A custom row can place the control as a sibling of whatever it
366
+ * makes navigable.
367
+ *
368
+ * Dividers and group labels are unaffected. Omit this and rows render exactly
369
+ * as they always have.
370
+ */
371
+ renderRow?: StackNavRenderRow | undefined;
321
372
  /**
322
373
  * Render the Texture logo at the top of the rail (above any `header` slot).
323
374
  * Set `logo` to override the default mark; otherwise the standard `<Logo />`
@@ -382,7 +433,7 @@ type StackNavProps = {
382
433
  */
383
434
  sidebarCollapseId?: string;
384
435
  };
385
- declare function StackNav({ items, groups, bottomItems, value, defaultStack, stack: controlledStack, onStackChange, onSelect, linkComponent: LinkComponent, showLogo, logo, header, footer, mobileMenuId, sidebarCollapseId, rootLabel, sticky, width, ariaLabel, theme, animated, style, className, }: StackNavProps): react_jsx_runtime.JSX.Element;
436
+ declare function StackNav({ items, groups, bottomItems, value, defaultStack, stack: controlledStack, onStackChange, onSelect, linkComponent: LinkComponent, renderRow, showLogo, logo, header, footer, mobileMenuId, sidebarCollapseId, rootLabel, sticky, width, ariaLabel, theme, animated, style, className, }: StackNavProps): react_jsx_runtime.JSX.Element;
386
437
 
387
438
  type ColorMode = "system" | "light" | "dark";
388
439
  type TopNavProps = {
@@ -2463,6 +2514,31 @@ type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "GENERATOR" | "MOTOR" |
2463
2514
  * by the conformance test, not just documented.
2464
2515
  */
2465
2516
  declare const ABSENT_GRID_FIELDS: readonly ["energized", "customerName", "gs_max_continuous_current"];
2517
+ /**
2518
+ * MR-G12 §5 -- voltage stat-list rows still sourced from a RAW metadata key whose
2519
+ * unit has NOT been measured against prod.
2520
+ *
2521
+ * The conformance rule (`entities.test.ts`): a `GRID_STAT_LIST` row with
2522
+ * `format.type === "voltage"` must EITHER reference a normalized/decoded key
2523
+ * (suffix `Kv`, i.e. the unit is established by construction) OR be listed here.
2524
+ * `formatGridStatValue` takes the unit straight from this config and performs no
2525
+ * conversion, so an unmeasured raw key is a three-order-of-magnitude error waiting
2526
+ * to ship -- exactly how `TRANSFORMER.primaryRatedVoltage` shipped "7 V" for a
2527
+ * 7.2 kV transformer. Listing a row here is a deliberate, reviewable admission
2528
+ * that its unit is unverified, not an oversight.
2529
+ *
2530
+ * Status per row (as of 2026-08-17):
2531
+ * • CAPACITOR / NODE `nominalVoltage` -- NOT measured; DQ-3 covered transformers
2532
+ * only. Deliberately NOT fixed blind: added to the next DB round (DQ-10). If
2533
+ * they show the transformer pattern, one decision fixes both.
2534
+ * • REGULATOR `outputVoltagePh{A,B,C}` -- lower risk: the SCADA audit observed
2535
+ * regulator volts in the 7,261...20,538 V range, but that is TELEMETRY, not
2536
+ * this metadata key.
2537
+ * • GENERATOR `outputVoltage` / MOTOR `voltage` -- small populations.
2538
+ *
2539
+ * Entries are `${GridElementSourceType}.${key}`.
2540
+ */
2541
+ declare const UNVERIFIED_VOLTAGE_UNIT_ROWS: readonly ["CAPACITOR.nominalVoltage", "NODE.nominalVoltage", "REGULATOR.outputVoltagePhA", "REGULATOR.outputVoltagePhB", "REGULATOR.outputVoltagePhC", "GENERATOR.outputVoltage", "MOTOR.voltage"];
2466
2542
  /**
2467
2543
  * Static property rows per `GridElementType`, transcribed from
2468
2544
  * `grid-element-config/src/configs/*.config.ts` `metadataFields`. Serializable:
@@ -2478,12 +2554,20 @@ declare const GRID_STAT_LIST: {
2478
2554
  readonly decimals: 0;
2479
2555
  };
2480
2556
  }, {
2481
- readonly key: "primaryRatedVoltage";
2557
+ readonly key: "primaryVoltageKv";
2482
2558
  readonly label: "Primary Voltage";
2483
2559
  readonly format: {
2484
2560
  readonly type: "voltage";
2485
- readonly unit: "V";
2486
- readonly decimals: 0;
2561
+ readonly unit: "kV";
2562
+ readonly decimals: 1;
2563
+ };
2564
+ }, {
2565
+ readonly key: "outputVoltageKv";
2566
+ readonly label: "Output Voltage";
2567
+ readonly format: {
2568
+ readonly type: "voltage";
2569
+ readonly unit: "kV";
2570
+ readonly decimals: 2;
2487
2571
  };
2488
2572
  }];
2489
2573
  readonly CONSUMER: [{
@@ -3058,12 +3142,20 @@ declare const ENTITY_CONFIG: {
3058
3142
  readonly decimals: 0;
3059
3143
  };
3060
3144
  }, {
3061
- readonly key: "primaryRatedVoltage";
3145
+ readonly key: "primaryVoltageKv";
3062
3146
  readonly label: "Primary Voltage";
3063
3147
  readonly format: {
3064
3148
  readonly type: "voltage";
3065
- readonly unit: "V";
3066
- readonly decimals: 0;
3149
+ readonly unit: "kV";
3150
+ readonly decimals: 1;
3151
+ };
3152
+ }, {
3153
+ readonly key: "outputVoltageKv";
3154
+ readonly label: "Output Voltage";
3155
+ readonly format: {
3156
+ readonly type: "voltage";
3157
+ readonly unit: "kV";
3158
+ readonly decimals: 2;
3067
3159
  };
3068
3160
  }];
3069
3161
  };
@@ -4186,4 +4278,4 @@ declare const getContrastingTextColor: (backgroundColor: string) => string;
4186
4278
  */
4187
4279
  declare const mapValuesToCategoricalColors: (values: (string | number)[]) => Record<string | number, string>;
4188
4280
 
4189
- export { getContrastingTextColor as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, type ChartMargin as C, type StaticMapProps as D, ENTITY_CONFIG as E, type TooltipData as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type TooltipSeries as J, TopNav as K, Loader as L, type MapPoint as M, type TopNavProps as N, type YFormatType as O, archetypeFor as P, clearColorCache as Q, createCategoryColorMap as R, type SegmentOption as S, TextLink as T, createXScale as U, createYScale as V, defaultMargin as W, entityHasDetailPage as X, type YFormatSettings as Y, entityHasStatList as Z, entityShowsNow as _, type ActionItem as a, type MapType as a$, getDefaultChartColor as a0, getDefaultColors as a1, getEntityConfig as a2, getEntityIcon as a3, getEntityLabel as a4, getEntityStatList as a5, getResolvedColor as a6, getThemeCategoricalColors as a7, getYFormatSettings as a8, isLightColor as a9, type RasterLayerSpec as aA, type VectorLayerSpec as aB, type ClusteredVectorLayerSpec as aC, ActionMenu as aD, AppShell as aE, Avatar as aF, Badge as aG, type BaseFormat as aH, ChartContext as aI, CodeEditor as aJ, type ColorSpec as aK, type ComponentFormatOptions as aL, type CurrentUnit as aM, type CustomFormat as aN, DEFAULT_MAP_TYPE as aO, type DateFormatStyle as aP, type DistanceUnit as aQ, ENTITY_CATEGORY_CONFIG as aR, type EntityCategory as aS, type EntityCategoryConfig as aT, GRID_STATE_COLORS as aU, type GridStateColor as aV, InteractiveMap as aW, type InteractiveMapHandle as aX, type LayerFeature as aY, type LayerStyle as aZ, MAP_TYPES as a_, type FieldValue as aa, type BooleanFormat as ab, type FormattedValue as ac, type FieldFormat as ad, type CurrentFormat as ae, type DateFormat as af, type DistanceFormat as ag, type EnergyUnit as ah, type EnergyFormat as ai, type CurrencyFormat as aj, type NumberFormat as ak, type PhoneFormat as al, type PowerFormat as am, type FormatterFunction as an, type ResistanceFormat as ao, type TemperatureFormat as ap, type TemperatureUnitString as aq, type TemperatureUnit as ar, type TextFormat as as, type VoltageFormat as at, type DeviceState as au, type GridState as av, type ComponentFormatter as aw, type LayerSpec as ax, type CustomPinsSpec as ay, type GeoJsonLayerSpec as az, type ActionMenuProps as b, Meter as b0, type MetricFormat as b1, type PercentageFormat as b2, type PowerUnit as b3, type RenderType as b4, type ResistanceUnit as b5, SegmentedControl as b6, StackNav as b7, type StackNavGroup as b8, type StackNavItem as b9, type StackNavLinkComponentProps as ba, type StackNavProps as bb, type StackNavTheme as bc, StaticMap as bd, type TextTransform as be, type TextTruncatePosition as bf, type VoltageUnit as bg, type ZoomStops as bh, activeDeviceStates as bi, baselineFromPoint as bj, deviceStateLabels as bk, deviceStateMetricFormats as bl, formatComponentValue as bm, getDeviceStateLabel as bn, getEntityCategory as bo, getGridStateLabel as bp, gridStateLabels as bq, isActiveState as br, mapValuesToCategoricalColors as bs, useChartContext as bt, useComponentFormatter as bu, type AppShellProps as c, type AvatarProps as d, type BaseDataPoint as e, type CodeEditorProps as f, type CodeLanguage as g, type CodeTheme as h, type EntityArchetype as i, type EntityConfig as j, type EntityStateRule as k, type EntityType as l, GRID_STAT_LIST as m, type GridElementSourceType as n, type GridStatField as o, type GridStatFieldFormat as p, Heading as q, type HeadlineMetric as r, Logo as s, type MeterProps as t, type MetricSource as u, type SegmentedControlProps as v, type SerializableFieldFormat as w, SideNav as x, type SideNavItem as y, type SideNavProps as z };
4281
+ export { getContrastingTextColor as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, type ChartMargin as C, type StaticMapProps as D, ENTITY_CONFIG as E, type TooltipData as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type TooltipSeries as J, TopNav as K, Loader as L, type MapPoint as M, type TopNavProps as N, type YFormatType as O, archetypeFor as P, clearColorCache as Q, createCategoryColorMap as R, type SegmentOption as S, TextLink as T, createXScale as U, createYScale as V, defaultMargin as W, entityHasDetailPage as X, type YFormatSettings as Y, entityHasStatList as Z, entityShowsNow as _, type ActionItem as a, type MapType as a$, getDefaultChartColor as a0, getDefaultColors as a1, getEntityConfig as a2, getEntityIcon as a3, getEntityLabel as a4, getEntityStatList as a5, getResolvedColor as a6, getThemeCategoricalColors as a7, getYFormatSettings as a8, isLightColor as a9, type RasterLayerSpec as aA, type VectorLayerSpec as aB, type ClusteredVectorLayerSpec as aC, ActionMenu as aD, AppShell as aE, Avatar as aF, Badge as aG, type BaseFormat as aH, ChartContext as aI, CodeEditor as aJ, type ColorSpec as aK, type ComponentFormatOptions as aL, type CurrentUnit as aM, type CustomFormat as aN, DEFAULT_MAP_TYPE as aO, type DateFormatStyle as aP, type DistanceUnit as aQ, ENTITY_CATEGORY_CONFIG as aR, type EntityCategory as aS, type EntityCategoryConfig as aT, GRID_STATE_COLORS as aU, type GridStateColor as aV, InteractiveMap as aW, type InteractiveMapHandle as aX, type LayerFeature as aY, type LayerStyle as aZ, MAP_TYPES as a_, type FieldValue as aa, type BooleanFormat as ab, type FormattedValue as ac, type FieldFormat as ad, type CurrentFormat as ae, type DateFormat as af, type DistanceFormat as ag, type EnergyUnit as ah, type EnergyFormat as ai, type CurrencyFormat as aj, type NumberFormat as ak, type PhoneFormat as al, type PowerFormat as am, type FormatterFunction as an, type ResistanceFormat as ao, type TemperatureFormat as ap, type TemperatureUnitString as aq, type TemperatureUnit as ar, type TextFormat as as, type VoltageFormat as at, type DeviceState as au, type GridState as av, type ComponentFormatter as aw, type LayerSpec as ax, type CustomPinsSpec as ay, type GeoJsonLayerSpec as az, type ActionMenuProps as b, Meter as b0, type MetricFormat as b1, type PercentageFormat as b2, type PowerUnit as b3, type RenderType as b4, type ResistanceUnit as b5, SegmentedControl as b6, StackNav as b7, type StackNavGroup as b8, type StackNavItem as b9, type StackNavLinkComponentProps as ba, type StackNavProps as bb, type StackNavRenderRow as bc, type StackNavRowRenderProps as bd, type StackNavTheme as be, StaticMap as bf, type TextTransform as bg, type TextTruncatePosition as bh, UNVERIFIED_VOLTAGE_UNIT_ROWS as bi, type VoltageUnit as bj, type ZoomStops as bk, activeDeviceStates as bl, baselineFromPoint as bm, deviceStateLabels as bn, deviceStateMetricFormats as bo, formatComponentValue as bp, getDeviceStateLabel as bq, getEntityCategory as br, getGridStateLabel as bs, gridStateLabels as bt, isActiveState as bu, mapValuesToCategoricalColors as bv, useChartContext as bw, useComponentFormatter as bx, type AppShellProps as c, type AvatarProps as d, type BaseDataPoint as e, type CodeEditorProps as f, type CodeLanguage as g, type CodeTheme as h, type EntityArchetype as i, type EntityConfig as j, type EntityStateRule as k, type EntityType as l, GRID_STAT_LIST as m, type GridElementSourceType as n, type GridStatField as o, type GridStatFieldFormat as p, Heading as q, type HeadlineMetric as r, Logo as s, type MeterProps as t, type MetricSource as u, type SegmentedControlProps as v, type SerializableFieldFormat as w, SideNav as x, type SideNavItem as y, type SideNavProps as z };