@texturehq/edges 5.7.0 → 5.8.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/{colors-LvDVM-KX.d.ts → colors-Bw7a6pAI.d.ts} +20 -1
- package/dist/{colors-DVgI6s3w.d.cts → colors-CM2yXnpR.d.cts} +20 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
|
@@ -3133,6 +3133,25 @@ declare const UNVERIFIED_VOLTAGE_UNIT_ROWS: readonly ["MOTOR.voltage"];
|
|
|
3133
3133
|
* `grid-element-config/src/configs/*.config.ts` `metadataFields`. Serializable:
|
|
3134
3134
|
* no `showWhen`, no functions. Referenced by grid entities' `properties.statList`.
|
|
3135
3135
|
*/
|
|
3136
|
+
/**
|
|
3137
|
+
* MR-P01-8 -- the capacitor kvar rows, in the two shapes VEC records them (ALL-2565).
|
|
3138
|
+
*
|
|
3139
|
+
* A polyphase bank's rating is recorded per phase; a single-phase unit's as one total. Prod
|
|
3140
|
+
* 2026-08-24: `total_kvar` 76.3%, `kvar_a/b/c` 56.1 / 54.4 / 57.9% -- some capacitors carry one,
|
|
3141
|
+
* some the other, some both. Legacy expresses this with a `when` predicate per field
|
|
3142
|
+
* (`GridElementTooltip.FIELD_ORDER.CAPACITOR`).
|
|
3143
|
+
*
|
|
3144
|
+
* `GridStatField` has no `showWhen`, deliberately (see its docstring: a stat-list row is data only,
|
|
3145
|
+
* and per-instance visibility is a render-time concern). So the PREDICATE lives in the host
|
|
3146
|
+
* (`gridStatFieldsFor`) while the row DECLARATIONS stay here, where every other row lives -- the
|
|
3147
|
+
* registry ban is on predicates, not on declaring more than one set.
|
|
3148
|
+
*
|
|
3149
|
+
* The legacy fallback key `kvar` measured 0% and is not carried: a dead fallback reads as coverage
|
|
3150
|
+
* the data does not have.
|
|
3151
|
+
*/
|
|
3152
|
+
declare const GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR: readonly GridStatField[];
|
|
3153
|
+
/** Per-phase kvar rows -- polyphase banks, and any unit carrying no total (see `gridStatFieldsFor`). */
|
|
3154
|
+
declare const GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR: readonly GridStatField[];
|
|
3136
3155
|
declare const GRID_STAT_LIST: {
|
|
3137
3156
|
readonly TRANSFORMER: [{
|
|
3138
3157
|
readonly key: "capacityKva";
|
|
@@ -5174,4 +5193,4 @@ declare const getContrastingTextColor: (backgroundColor: string) => string;
|
|
|
5174
5193
|
*/
|
|
5175
5194
|
declare const mapValuesToCategoricalColors: (values: (string | number)[]) => Record<string | number, string>;
|
|
5176
5195
|
|
|
5177
|
-
export { type YFormatType as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, CATEGORY_COLOR_TOKENS as C, type DeviceState as D, ENTITY_CONFIG as E, type SegmentedControlProps as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type SerializableFieldFormat as J, SideNav as K, Loader as L, type MapPoint as M, type SideNavItem as N, type SideNavProps as O, type PercentThresholdLevel as P, type StaticMapProps as Q, type TooltipData as R, type SegmentOption as S, TextLink as T, type TooltipSeries as U, TopNav as V, type TopNavProps as W, UNARY_FILTER_OPERATORS as X, UNARY_OPERATOR_LABELS as Y, type UnaryFilterOperator as Z, type YFormatSettings as _, type ActionItem as a, type GeoJsonLayerSpec as a$, activeDeviceStates as a0, archetypeFor as a1, clearColorCache as a2, createCategoryColorMap as a3, createXScale as a4, createYScale as a5, defaultMargin as a6, deviceStateLabels as a7, deviceStateMetricFormats as a8, entityHasDetailPage as a9, 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 CellComponentProps as aU, type CellAlignment as aV, type LinkBehavior as aW, type ComponentFormatter as aX, type DataTableProps as aY, type LayerSpec as aZ, type CustomPinsSpec as a_, entityHasStatList as aa, entityShowsNow as ab, getContrastingTextColor as ac, getDefaultChartColor as ad, getDefaultColors as ae, getDeviceStateLabel as af, getEntityConfig as ag, getEntityIcon as ah, getEntityLabel as ai, getEntityStatList as aj, getGridStateLabel as ak, getResolvedColor as al, getThemeCategoricalColors as am, getYFormatSettings as an, gridStateLabels as ao, isActiveState as ap, isLightColor as aq, isUnaryFilterOperator as ar, type LoadingState as as, type FilterState as at, type SortState as au, type SearchConfig as av, type FacetConfig as aw, type FacetCounts as ax, type Column as ay, type CellEmphasis as az, type ActionMenuProps as b, type
|
|
5196
|
+
export { type YFormatType as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, CATEGORY_COLOR_TOKENS as C, type DeviceState as D, ENTITY_CONFIG as E, type SegmentedControlProps as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type SerializableFieldFormat as J, SideNav as K, Loader as L, type MapPoint as M, type SideNavItem as N, type SideNavProps as O, type PercentThresholdLevel as P, type StaticMapProps as Q, type TooltipData as R, type SegmentOption as S, TextLink as T, type TooltipSeries as U, TopNav as V, type TopNavProps as W, UNARY_FILTER_OPERATORS as X, UNARY_OPERATOR_LABELS as Y, type UnaryFilterOperator as Z, type YFormatSettings as _, type ActionItem as a, type GeoJsonLayerSpec as a$, activeDeviceStates as a0, archetypeFor as a1, clearColorCache as a2, createCategoryColorMap as a3, createXScale as a4, createYScale as a5, defaultMargin as a6, deviceStateLabels as a7, deviceStateMetricFormats as a8, entityHasDetailPage as a9, 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 CellComponentProps as aU, type CellAlignment as aV, type LinkBehavior as aW, type ComponentFormatter as aX, type DataTableProps as aY, type LayerSpec as aZ, type CustomPinsSpec as a_, entityHasStatList as aa, entityShowsNow as ab, getContrastingTextColor as ac, getDefaultChartColor as ad, getDefaultColors as ae, getDeviceStateLabel as af, getEntityConfig as ag, getEntityIcon as ah, getEntityLabel as ai, getEntityStatList as aj, getGridStateLabel as ak, getResolvedColor as al, getThemeCategoricalColors as am, getYFormatSettings as an, gridStateLabels as ao, isActiveState as ap, isLightColor as aq, isUnaryFilterOperator as ar, type LoadingState as as, type FilterState as at, type SortState as au, type SearchConfig as av, type FacetConfig as aw, type FacetCounts as ax, type Column as ay, type CellEmphasis as az, type ActionMenuProps as b, type TableDensity as b$, type RasterLayerSpec as b0, type VectorLayerSpec as b1, type ClusteredVectorLayerSpec as b2, type ColorSpec as b3, ActionMenu as b4, AppShell as b5, Avatar as b6, Badge as b7, type BaseFormat as b8, type CellComponent as b9, type LayerStyle as bA, type LayerTreeNode as bB, type LayerVisibilityPatch as bC, MAP_TYPES as bD, type MapType as bE, Meter as bF, type MobileBreakpoint as bG, type MobileConfig as bH, type MobileRenderer as bI, PercentBarCell as bJ, type PercentBarCellProps as bK, type PercentageFormat as bL, type PowerUnit as bM, type RenderType as bN, type ResistanceUnit as bO, SegmentedControl as bP, type SortConfig as bQ, type SortDirection as bR, StackNav as bS, type StackNavGroup as bT, type StackNavItem as bU, type StackNavLinkComponentProps as bV, type StackNavProps as bW, type StackNavRenderRow as bX, type StackNavRowRenderProps as bY, type StackNavTheme as bZ, StaticMap as b_, type CellContext as ba, ChartContext as bb, CodeEditor as bc, type ComponentFormatOptions as bd, type CurrentUnit as be, type CustomFormat as bf, DEFAULT_MAP_TYPE as bg, type DateFormatStyle as bh, type DistanceUnit as bi, ENTITY_CATEGORY_CONFIG as bj, type EntityCategory as bk, type EntityCategoryConfig as bl, type FacetType as bm, type FilterChip as bn, type FilterCondition as bo, type FilterGroup as bp, type FilterOperator as bq, GRID_STATE_COLORS as br, GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR as bs, GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR as bt, type GridStateColor as bu, InteractiveMap as bv, type InteractiveMapHandle as bw, type LayerCheckState as bx, type LayerFeature as by, type LayerSelection as bz, type AppShellProps as c, type TableLayout as c0, type TableWidth as c1, type TextTransform as c2, type TextTruncatePosition as c3, UNVERIFIED_VOLTAGE_UNIT_ROWS as c4, type UseInfiniteScrollOptions as c5, type UseInfiniteScrollReturn as c6, type VoltageUnit as c7, type ZoomStops as c8, addFilterCondition as c9, baselineFromPoint as ca, createEmptyFilter as cb, createFilter as cc, createFilters as cd, filterToChips as ce, formatComponentValue as cf, getEntityCategory as cg, getFilterFields as ch, isFilterEmpty as ci, mapValuesToCategoricalColors as cj, percentThresholdLevel as ck, removeFilterCondition as cl, useChartContext as cm, useComponentFormatter as cn, useInfiniteScroll as co, type AvatarProps as d, type BaseDataPoint as e, CATEGORY_NEUTRAL_COLOR as f, type ChartMargin as g, type CodeEditorProps as h, type CodeLanguage as i, type CodeTheme as j, type EntityArchetype as k, type EntityConfig as l, type EntityStateRule as m, type EntityType as n, GRID_STAT_LIST as o, type GridElementSourceType as p, type GridStatField as q, type GridStatFieldFormat as r, type GridState as s, Heading as t, type HeadlineMetric as u, Logo as v, type MeterProps as w, type MetricFormat as x, type MetricSource as y, type PercentThresholds as z };
|
|
@@ -3133,6 +3133,25 @@ declare const UNVERIFIED_VOLTAGE_UNIT_ROWS: readonly ["MOTOR.voltage"];
|
|
|
3133
3133
|
* `grid-element-config/src/configs/*.config.ts` `metadataFields`. Serializable:
|
|
3134
3134
|
* no `showWhen`, no functions. Referenced by grid entities' `properties.statList`.
|
|
3135
3135
|
*/
|
|
3136
|
+
/**
|
|
3137
|
+
* MR-P01-8 -- the capacitor kvar rows, in the two shapes VEC records them (ALL-2565).
|
|
3138
|
+
*
|
|
3139
|
+
* A polyphase bank's rating is recorded per phase; a single-phase unit's as one total. Prod
|
|
3140
|
+
* 2026-08-24: `total_kvar` 76.3%, `kvar_a/b/c` 56.1 / 54.4 / 57.9% -- some capacitors carry one,
|
|
3141
|
+
* some the other, some both. Legacy expresses this with a `when` predicate per field
|
|
3142
|
+
* (`GridElementTooltip.FIELD_ORDER.CAPACITOR`).
|
|
3143
|
+
*
|
|
3144
|
+
* `GridStatField` has no `showWhen`, deliberately (see its docstring: a stat-list row is data only,
|
|
3145
|
+
* and per-instance visibility is a render-time concern). So the PREDICATE lives in the host
|
|
3146
|
+
* (`gridStatFieldsFor`) while the row DECLARATIONS stay here, where every other row lives -- the
|
|
3147
|
+
* registry ban is on predicates, not on declaring more than one set.
|
|
3148
|
+
*
|
|
3149
|
+
* The legacy fallback key `kvar` measured 0% and is not carried: a dead fallback reads as coverage
|
|
3150
|
+
* the data does not have.
|
|
3151
|
+
*/
|
|
3152
|
+
declare const GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR: readonly GridStatField[];
|
|
3153
|
+
/** Per-phase kvar rows -- polyphase banks, and any unit carrying no total (see `gridStatFieldsFor`). */
|
|
3154
|
+
declare const GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR: readonly GridStatField[];
|
|
3136
3155
|
declare const GRID_STAT_LIST: {
|
|
3137
3156
|
readonly TRANSFORMER: [{
|
|
3138
3157
|
readonly key: "capacityKva";
|
|
@@ -5174,4 +5193,4 @@ declare const getContrastingTextColor: (backgroundColor: string) => string;
|
|
|
5174
5193
|
*/
|
|
5175
5194
|
declare const mapValuesToCategoricalColors: (values: (string | number)[]) => Record<string | number, string>;
|
|
5176
5195
|
|
|
5177
|
-
export { type YFormatType as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, CATEGORY_COLOR_TOKENS as C, type DeviceState as D, ENTITY_CONFIG as E, type SegmentedControlProps as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type SerializableFieldFormat as J, SideNav as K, Loader as L, type MapPoint as M, type SideNavItem as N, type SideNavProps as O, type PercentThresholdLevel as P, type StaticMapProps as Q, type TooltipData as R, type SegmentOption as S, TextLink as T, type TooltipSeries as U, TopNav as V, type TopNavProps as W, UNARY_FILTER_OPERATORS as X, UNARY_OPERATOR_LABELS as Y, type UnaryFilterOperator as Z, type YFormatSettings as _, type ActionItem as a, type GeoJsonLayerSpec as a$, activeDeviceStates as a0, archetypeFor as a1, clearColorCache as a2, createCategoryColorMap as a3, createXScale as a4, createYScale as a5, defaultMargin as a6, deviceStateLabels as a7, deviceStateMetricFormats as a8, entityHasDetailPage as a9, 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 CellComponentProps as aU, type CellAlignment as aV, type LinkBehavior as aW, type ComponentFormatter as aX, type DataTableProps as aY, type LayerSpec as aZ, type CustomPinsSpec as a_, entityHasStatList as aa, entityShowsNow as ab, getContrastingTextColor as ac, getDefaultChartColor as ad, getDefaultColors as ae, getDeviceStateLabel as af, getEntityConfig as ag, getEntityIcon as ah, getEntityLabel as ai, getEntityStatList as aj, getGridStateLabel as ak, getResolvedColor as al, getThemeCategoricalColors as am, getYFormatSettings as an, gridStateLabels as ao, isActiveState as ap, isLightColor as aq, isUnaryFilterOperator as ar, type LoadingState as as, type FilterState as at, type SortState as au, type SearchConfig as av, type FacetConfig as aw, type FacetCounts as ax, type Column as ay, type CellEmphasis as az, type ActionMenuProps as b, type
|
|
5196
|
+
export { type YFormatType as $, ABSENT_GRID_FIELDS as A, type BadgeProps as B, CATEGORY_COLOR_TOKENS as C, type DeviceState as D, ENTITY_CONFIG as E, type SegmentedControlProps as F, GRID_ELEMENT_TYPE_BY_ENTITY as G, HEADLINE_METRIC_BOUNDS as H, type InteractiveMapProps as I, type SerializableFieldFormat as J, SideNav as K, Loader as L, type MapPoint as M, type SideNavItem as N, type SideNavProps as O, type PercentThresholdLevel as P, type StaticMapProps as Q, type TooltipData as R, type SegmentOption as S, TextLink as T, type TooltipSeries as U, TopNav as V, type TopNavProps as W, UNARY_FILTER_OPERATORS as X, UNARY_OPERATOR_LABELS as Y, type UnaryFilterOperator as Z, type YFormatSettings as _, type ActionItem as a, type GeoJsonLayerSpec as a$, activeDeviceStates as a0, archetypeFor as a1, clearColorCache as a2, createCategoryColorMap as a3, createXScale as a4, createYScale as a5, defaultMargin as a6, deviceStateLabels as a7, deviceStateMetricFormats as a8, entityHasDetailPage as a9, 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 CellComponentProps as aU, type CellAlignment as aV, type LinkBehavior as aW, type ComponentFormatter as aX, type DataTableProps as aY, type LayerSpec as aZ, type CustomPinsSpec as a_, entityHasStatList as aa, entityShowsNow as ab, getContrastingTextColor as ac, getDefaultChartColor as ad, getDefaultColors as ae, getDeviceStateLabel as af, getEntityConfig as ag, getEntityIcon as ah, getEntityLabel as ai, getEntityStatList as aj, getGridStateLabel as ak, getResolvedColor as al, getThemeCategoricalColors as am, getYFormatSettings as an, gridStateLabels as ao, isActiveState as ap, isLightColor as aq, isUnaryFilterOperator as ar, type LoadingState as as, type FilterState as at, type SortState as au, type SearchConfig as av, type FacetConfig as aw, type FacetCounts as ax, type Column as ay, type CellEmphasis as az, type ActionMenuProps as b, type TableDensity as b$, type RasterLayerSpec as b0, type VectorLayerSpec as b1, type ClusteredVectorLayerSpec as b2, type ColorSpec as b3, ActionMenu as b4, AppShell as b5, Avatar as b6, Badge as b7, type BaseFormat as b8, type CellComponent as b9, type LayerStyle as bA, type LayerTreeNode as bB, type LayerVisibilityPatch as bC, MAP_TYPES as bD, type MapType as bE, Meter as bF, type MobileBreakpoint as bG, type MobileConfig as bH, type MobileRenderer as bI, PercentBarCell as bJ, type PercentBarCellProps as bK, type PercentageFormat as bL, type PowerUnit as bM, type RenderType as bN, type ResistanceUnit as bO, SegmentedControl as bP, type SortConfig as bQ, type SortDirection as bR, StackNav as bS, type StackNavGroup as bT, type StackNavItem as bU, type StackNavLinkComponentProps as bV, type StackNavProps as bW, type StackNavRenderRow as bX, type StackNavRowRenderProps as bY, type StackNavTheme as bZ, StaticMap as b_, type CellContext as ba, ChartContext as bb, CodeEditor as bc, type ComponentFormatOptions as bd, type CurrentUnit as be, type CustomFormat as bf, DEFAULT_MAP_TYPE as bg, type DateFormatStyle as bh, type DistanceUnit as bi, ENTITY_CATEGORY_CONFIG as bj, type EntityCategory as bk, type EntityCategoryConfig as bl, type FacetType as bm, type FilterChip as bn, type FilterCondition as bo, type FilterGroup as bp, type FilterOperator as bq, GRID_STATE_COLORS as br, GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR as bs, GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR as bt, type GridStateColor as bu, InteractiveMap as bv, type InteractiveMapHandle as bw, type LayerCheckState as bx, type LayerFeature as by, type LayerSelection as bz, type AppShellProps as c, type TableLayout as c0, type TableWidth as c1, type TextTransform as c2, type TextTruncatePosition as c3, UNVERIFIED_VOLTAGE_UNIT_ROWS as c4, type UseInfiniteScrollOptions as c5, type UseInfiniteScrollReturn as c6, type VoltageUnit as c7, type ZoomStops as c8, addFilterCondition as c9, baselineFromPoint as ca, createEmptyFilter as cb, createFilter as cc, createFilters as cd, filterToChips as ce, formatComponentValue as cf, getEntityCategory as cg, getFilterFields as ch, isFilterEmpty as ci, mapValuesToCategoricalColors as cj, percentThresholdLevel as ck, removeFilterCondition as cl, useChartContext as cm, useComponentFormatter as cn, useInfiniteScroll as co, type AvatarProps as d, type BaseDataPoint as e, CATEGORY_NEUTRAL_COLOR as f, type ChartMargin as g, type CodeEditorProps as h, type CodeLanguage as i, type CodeTheme as j, type EntityArchetype as k, type EntityConfig as l, type EntityStateRule as m, type EntityType as n, GRID_STAT_LIST as o, type GridElementSourceType as p, type GridStatField as q, type GridStatFieldFormat as r, type GridState as s, Heading as t, type HeadlineMetric as u, Logo as v, type MeterProps as w, type MetricFormat as x, type MetricSource as y, type PercentThresholds as z };
|