@texturehq/edges 5.9.0 → 5.10.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-gtFYJRlG.d.ts → colors-B7iUqDUu.d.ts} +47 -1
- package/dist/{colors-DHG6UEkV.d.cts → colors-DyB9mRDa.d.cts} +47 -1
- package/dist/index.cjs +10 -10
- 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 +10 -10
- 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
|
@@ -1886,6 +1886,20 @@ interface VectorLayerSpec extends BaseLayerSpec {
|
|
|
1886
1886
|
* rendered as a bracket over the conductor line. Ignored for non-circle layers.
|
|
1887
1887
|
*/
|
|
1888
1888
|
hideChipWhen?: any;
|
|
1889
|
+
/**
|
|
1890
|
+
* Reveal the chip (circle fill + border) only while the feature is hovered —
|
|
1891
|
+
* the resting render is fully transparent, so only a glyph drawn on top
|
|
1892
|
+
* occupies the map. For dense point layers (e.g. tens of thousands of
|
|
1893
|
+
* support structures) where a permanent chip per feature is visual noise.
|
|
1894
|
+
*
|
|
1895
|
+
* Driven by the `hover` feature-state, which `InteractiveMap` sets/clears in
|
|
1896
|
+
* its shared mouse handlers — so this only works for layers rendered inside
|
|
1897
|
+
* an InteractiveMap, and **requires `promoteId`** (feature-state needs
|
|
1898
|
+
* feature ids, and vector-tile features usually have none). Composes with
|
|
1899
|
+
* `hideChipWhen`: features matching that expression stay chipless even while
|
|
1900
|
+
* hovered. Ignored for non-circle layers.
|
|
1901
|
+
*/
|
|
1902
|
+
revealChipOnHover?: boolean;
|
|
1889
1903
|
}
|
|
1890
1904
|
/**
|
|
1891
1905
|
* GeoJSON layer (client-side data or URL)
|
|
@@ -3096,7 +3110,7 @@ declare const ENTITY_CATEGORY_CONFIG: {
|
|
|
3096
3110
|
};
|
|
3097
3111
|
/** The coarse element-type axis (mirrors `@texturehq/grid-element-config`'s
|
|
3098
3112
|
* `GridElementType`; kept in sync by transcription). */
|
|
3099
|
-
type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "GENERATOR" | "MOTOR" | "NODE" | "OVERCURRENT_DEVICE" | "OVERHEAD_LINE" | "REGULATOR" | "SOURCE" | "SUPPORT_STRUCTURE" | "SWITCH" | "TRANSFORMER" | "UNDERGROUND_LINE";
|
|
3113
|
+
type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "DEVICE_LEADER" | "GENERATOR" | "MOTOR" | "NODE" | "OVERCURRENT_DEVICE" | "OVERHEAD_LINE" | "REGULATOR" | "SOURCE" | "SUPPORT_STRUCTURE" | "SWITCH" | "TRANSFORMER" | "TRANSFORMER_BANK" | "UNDERGROUND_LINE";
|
|
3100
3114
|
/**
|
|
3101
3115
|
* JSONB keys that are ABSENT or PII-zeroed in prod (MR-07 coverage table). No
|
|
3102
3116
|
* grid stat-list row (or headline metric) may reference one of these — enforced
|
|
@@ -3510,6 +3524,8 @@ declare const GRID_STAT_LIST: {
|
|
|
3510
3524
|
readonly decimals: 0;
|
|
3511
3525
|
};
|
|
3512
3526
|
}];
|
|
3527
|
+
readonly DEVICE_LEADER: [];
|
|
3528
|
+
readonly TRANSFORMER_BANK: [];
|
|
3513
3529
|
};
|
|
3514
3530
|
declare const ENTITY_CONFIG: {
|
|
3515
3531
|
readonly app: {
|
|
@@ -4642,6 +4658,34 @@ declare const ENTITY_CONFIG: {
|
|
|
4642
4658
|
};
|
|
4643
4659
|
readonly description: "Structure carrying overhead line equipment";
|
|
4644
4660
|
};
|
|
4661
|
+
readonly deviceLeader: {
|
|
4662
|
+
readonly icon: "FlowArrow";
|
|
4663
|
+
readonly category: "grid";
|
|
4664
|
+
readonly archetype: "grid-line";
|
|
4665
|
+
readonly detailPage: true;
|
|
4666
|
+
readonly properties: {
|
|
4667
|
+
readonly statList: [];
|
|
4668
|
+
};
|
|
4669
|
+
readonly label: {
|
|
4670
|
+
readonly singular: "Device Leader";
|
|
4671
|
+
readonly plural: "Device Leaders";
|
|
4672
|
+
};
|
|
4673
|
+
readonly description: "Cartographic leader line pointing an offset device symbol to its true location";
|
|
4674
|
+
};
|
|
4675
|
+
readonly transformerBank: {
|
|
4676
|
+
readonly icon: "TextureTransformer";
|
|
4677
|
+
readonly category: "grid";
|
|
4678
|
+
readonly archetype: "grid-energized";
|
|
4679
|
+
readonly detailPage: true;
|
|
4680
|
+
readonly properties: {
|
|
4681
|
+
readonly statList: [];
|
|
4682
|
+
};
|
|
4683
|
+
readonly label: {
|
|
4684
|
+
readonly singular: "Transformer Bank";
|
|
4685
|
+
readonly plural: "Transformer Banks";
|
|
4686
|
+
};
|
|
4687
|
+
readonly description: "Grouping of single-phase transformer units sharing a bank id";
|
|
4688
|
+
};
|
|
4645
4689
|
readonly battery: {
|
|
4646
4690
|
readonly icon: "BatteryHigh";
|
|
4647
4691
|
readonly category: "device";
|
|
@@ -5080,6 +5124,8 @@ declare const GRID_ELEMENT_TYPE_BY_ENTITY: {
|
|
|
5080
5124
|
readonly generator: "GENERATOR";
|
|
5081
5125
|
readonly regulator: "REGULATOR";
|
|
5082
5126
|
readonly supportStructure: "SUPPORT_STRUCTURE";
|
|
5127
|
+
readonly deviceLeader: "DEVICE_LEADER";
|
|
5128
|
+
readonly transformerBank: "TRANSFORMER_BANK";
|
|
5083
5129
|
};
|
|
5084
5130
|
/**
|
|
5085
5131
|
* Get entity configuration by type
|
|
@@ -1886,6 +1886,20 @@ interface VectorLayerSpec extends BaseLayerSpec {
|
|
|
1886
1886
|
* rendered as a bracket over the conductor line. Ignored for non-circle layers.
|
|
1887
1887
|
*/
|
|
1888
1888
|
hideChipWhen?: any;
|
|
1889
|
+
/**
|
|
1890
|
+
* Reveal the chip (circle fill + border) only while the feature is hovered —
|
|
1891
|
+
* the resting render is fully transparent, so only a glyph drawn on top
|
|
1892
|
+
* occupies the map. For dense point layers (e.g. tens of thousands of
|
|
1893
|
+
* support structures) where a permanent chip per feature is visual noise.
|
|
1894
|
+
*
|
|
1895
|
+
* Driven by the `hover` feature-state, which `InteractiveMap` sets/clears in
|
|
1896
|
+
* its shared mouse handlers — so this only works for layers rendered inside
|
|
1897
|
+
* an InteractiveMap, and **requires `promoteId`** (feature-state needs
|
|
1898
|
+
* feature ids, and vector-tile features usually have none). Composes with
|
|
1899
|
+
* `hideChipWhen`: features matching that expression stay chipless even while
|
|
1900
|
+
* hovered. Ignored for non-circle layers.
|
|
1901
|
+
*/
|
|
1902
|
+
revealChipOnHover?: boolean;
|
|
1889
1903
|
}
|
|
1890
1904
|
/**
|
|
1891
1905
|
* GeoJSON layer (client-side data or URL)
|
|
@@ -3096,7 +3110,7 @@ declare const ENTITY_CATEGORY_CONFIG: {
|
|
|
3096
3110
|
};
|
|
3097
3111
|
/** The coarse element-type axis (mirrors `@texturehq/grid-element-config`'s
|
|
3098
3112
|
* `GridElementType`; kept in sync by transcription). */
|
|
3099
|
-
type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "GENERATOR" | "MOTOR" | "NODE" | "OVERCURRENT_DEVICE" | "OVERHEAD_LINE" | "REGULATOR" | "SOURCE" | "SUPPORT_STRUCTURE" | "SWITCH" | "TRANSFORMER" | "UNDERGROUND_LINE";
|
|
3113
|
+
type GridElementSourceType = "CAPACITOR" | "CONSUMER" | "DEVICE_LEADER" | "GENERATOR" | "MOTOR" | "NODE" | "OVERCURRENT_DEVICE" | "OVERHEAD_LINE" | "REGULATOR" | "SOURCE" | "SUPPORT_STRUCTURE" | "SWITCH" | "TRANSFORMER" | "TRANSFORMER_BANK" | "UNDERGROUND_LINE";
|
|
3100
3114
|
/**
|
|
3101
3115
|
* JSONB keys that are ABSENT or PII-zeroed in prod (MR-07 coverage table). No
|
|
3102
3116
|
* grid stat-list row (or headline metric) may reference one of these — enforced
|
|
@@ -3510,6 +3524,8 @@ declare const GRID_STAT_LIST: {
|
|
|
3510
3524
|
readonly decimals: 0;
|
|
3511
3525
|
};
|
|
3512
3526
|
}];
|
|
3527
|
+
readonly DEVICE_LEADER: [];
|
|
3528
|
+
readonly TRANSFORMER_BANK: [];
|
|
3513
3529
|
};
|
|
3514
3530
|
declare const ENTITY_CONFIG: {
|
|
3515
3531
|
readonly app: {
|
|
@@ -4642,6 +4658,34 @@ declare const ENTITY_CONFIG: {
|
|
|
4642
4658
|
};
|
|
4643
4659
|
readonly description: "Structure carrying overhead line equipment";
|
|
4644
4660
|
};
|
|
4661
|
+
readonly deviceLeader: {
|
|
4662
|
+
readonly icon: "FlowArrow";
|
|
4663
|
+
readonly category: "grid";
|
|
4664
|
+
readonly archetype: "grid-line";
|
|
4665
|
+
readonly detailPage: true;
|
|
4666
|
+
readonly properties: {
|
|
4667
|
+
readonly statList: [];
|
|
4668
|
+
};
|
|
4669
|
+
readonly label: {
|
|
4670
|
+
readonly singular: "Device Leader";
|
|
4671
|
+
readonly plural: "Device Leaders";
|
|
4672
|
+
};
|
|
4673
|
+
readonly description: "Cartographic leader line pointing an offset device symbol to its true location";
|
|
4674
|
+
};
|
|
4675
|
+
readonly transformerBank: {
|
|
4676
|
+
readonly icon: "TextureTransformer";
|
|
4677
|
+
readonly category: "grid";
|
|
4678
|
+
readonly archetype: "grid-energized";
|
|
4679
|
+
readonly detailPage: true;
|
|
4680
|
+
readonly properties: {
|
|
4681
|
+
readonly statList: [];
|
|
4682
|
+
};
|
|
4683
|
+
readonly label: {
|
|
4684
|
+
readonly singular: "Transformer Bank";
|
|
4685
|
+
readonly plural: "Transformer Banks";
|
|
4686
|
+
};
|
|
4687
|
+
readonly description: "Grouping of single-phase transformer units sharing a bank id";
|
|
4688
|
+
};
|
|
4645
4689
|
readonly battery: {
|
|
4646
4690
|
readonly icon: "BatteryHigh";
|
|
4647
4691
|
readonly category: "device";
|
|
@@ -5080,6 +5124,8 @@ declare const GRID_ELEMENT_TYPE_BY_ENTITY: {
|
|
|
5080
5124
|
readonly generator: "GENERATOR";
|
|
5081
5125
|
readonly regulator: "REGULATOR";
|
|
5082
5126
|
readonly supportStructure: "SUPPORT_STRUCTURE";
|
|
5127
|
+
readonly deviceLeader: "DEVICE_LEADER";
|
|
5128
|
+
readonly transformerBank: "TRANSFORMER_BANK";
|
|
5083
5129
|
};
|
|
5084
5130
|
/**
|
|
5085
5131
|
* Get entity configuration by type
|