@vectoriox/iox-builder 9.5.2 → 9.5.3
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/index.d.ts
CHANGED
|
@@ -3228,6 +3228,7 @@ declare function repeaterSubLabel(rows: LayerRepeaterRows): string | null;
|
|
|
3228
3228
|
declare function flattenLayerTree(nodes: ComponentNode[], ctx: LayerTreeContext): LayerTreeRow[];
|
|
3229
3229
|
|
|
3230
3230
|
type TreeNode = LayerTreeRow;
|
|
3231
|
+
type ChromeWord = 'page' | 'global' | 'empty' | 'globalEmpty' | 'rename' | 'duplicate' | 'delete';
|
|
3231
3232
|
declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
3232
3233
|
private registry;
|
|
3233
3234
|
private overlayService;
|
|
@@ -3254,6 +3255,8 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
3254
3255
|
readonly templateLabel: string;
|
|
3255
3256
|
readonly templateTitle: string;
|
|
3256
3257
|
readonly moreRowsTitle: string;
|
|
3258
|
+
/** The tree's own chrome words, through the host's i18n (builder.chrome.*). */
|
|
3259
|
+
readonly words: Record<ChromeWord, string>;
|
|
3257
3260
|
/** Cache: component type → icon class */
|
|
3258
3261
|
private iconMap;
|
|
3259
3262
|
private selectSub?;
|
|
@@ -3268,8 +3271,9 @@ declare class LayerTreeComponent implements OnInit, OnDestroy {
|
|
|
3268
3271
|
ngOnDestroy(): void;
|
|
3269
3272
|
/** "5 more rows from projects" — the line after a Repeater's template (boards 4 / 8). */
|
|
3270
3273
|
moreRowsText(more: LayerMoreRows): string;
|
|
3271
|
-
/** The
|
|
3272
|
-
|
|
3274
|
+
/** The name's title — the full text a narrow sidebar truncates: the name, its sub-label, and every
|
|
3275
|
+
* binding a bound part holds. */
|
|
3276
|
+
rowTitle(tn: TreeNode): string;
|
|
3273
3277
|
ngDoCheck(): void;
|
|
3274
3278
|
/** Cheap structural signature: node IDs + nesting depth only. */
|
|
3275
3279
|
private sig;
|