@akcelik/strct 5.27.0 → 5.29.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/fesm2022/akcelik-strct.mjs +369 -126
- package/fesm2022/akcelik-strct.mjs.map +1 -1
- package/package.json +1 -1
- package/types/akcelik-strct.d.ts +98 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.29.0",
|
|
4
4
|
"description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
|
|
5
5
|
"author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -334,7 +334,19 @@ declare function registerStrctIcon(name: string, content: string, options?: {
|
|
|
334
334
|
* **Lifecycle** (vCenter media language — glyphs in a badge disc):
|
|
335
335
|
* green disc ▶ running · amber disc ⏸ paused · grey disc ■ off.
|
|
336
336
|
*/
|
|
337
|
-
type StrctIconBadge = 'none' | 'success' | 'warning' | 'critical' | 'running' | 'paused' | 'off' | 'info'
|
|
337
|
+
type StrctIconBadge = 'none' | 'success' | 'warning' | 'critical' | 'running' | 'paused' | 'off' | 'info'
|
|
338
|
+
/**
|
|
339
|
+
* @deprecated Since 5.29.0 — use `mode="maintenance"`. An amber disc was
|
|
340
|
+
* the same silhouette and hue as `paused` at 16px, and it took the one
|
|
341
|
+
* badge slot away from health. It still works: it draws the mode tile.
|
|
342
|
+
*/
|
|
343
|
+
| 'maintenance';
|
|
344
|
+
/**
|
|
345
|
+
* A mode the operator put the object in, as opposed to its health: it takes no
|
|
346
|
+
* new work. Drawn in its own corner, so a drained host with an open alarm
|
|
347
|
+
* shows both.
|
|
348
|
+
*/
|
|
349
|
+
type StrctIconMode = 'none' | 'maintenance' | 'maintenanceEntering';
|
|
338
350
|
declare class StrctIcon {
|
|
339
351
|
private readonly sanitizer;
|
|
340
352
|
/**
|
|
@@ -356,6 +368,14 @@ declare class StrctIcon {
|
|
|
356
368
|
readonly strokeWidth: _angular_core.InputSignal<number>;
|
|
357
369
|
/** Optional status dot overlaid on the glyph (object state). */
|
|
358
370
|
readonly badge: _angular_core.InputSignal<StrctIconBadge>;
|
|
371
|
+
/**
|
|
372
|
+
* A mode the operator chose, drawn in its own (top-end) corner so it never
|
|
373
|
+
* displaces the health badge. `badge="maintenance"` is still read as
|
|
374
|
+
* `mode="maintenance"`, which is where it belongs; it is deprecated.
|
|
375
|
+
*/
|
|
376
|
+
readonly mode: _angular_core.InputSignal<StrctIconMode>;
|
|
377
|
+
/** The mode's words, joined to the icon's name when it has one (i18n). */
|
|
378
|
+
readonly modeLabel: _angular_core.InputSignal<(mode: StrctIconMode) => string>;
|
|
359
379
|
/** Accessible label for the icon. When empty the icon is hidden from assistive tech. */
|
|
360
380
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
361
381
|
/**
|
|
@@ -377,7 +397,14 @@ declare class StrctIcon {
|
|
|
377
397
|
protected readonly countText: _angular_core.Signal<string | null>;
|
|
378
398
|
/** 1.2em of the icon size, floored at 14px, as the badge's box. */
|
|
379
399
|
protected readonly countFontSize: _angular_core.Signal<number>;
|
|
380
|
-
/**
|
|
400
|
+
/**
|
|
401
|
+
* The mode as drawn: its own, or the one `badge="maintenance"` meant before
|
|
402
|
+
* there was a mode (back-compat — the amber disc read as `paused` at 16px).
|
|
403
|
+
*/
|
|
404
|
+
readonly shownMode: _angular_core.Signal<StrctIconMode>;
|
|
405
|
+
/** The badge as drawn: `maintenance` has become a mode, so it draws none. */
|
|
406
|
+
readonly shownBadge: _angular_core.Signal<StrctIconBadge>;
|
|
407
|
+
/** The label the glyph carries: its own, plus the count and the mode. */
|
|
381
408
|
protected readonly accessibleLabel: _angular_core.Signal<string>;
|
|
382
409
|
/** The effective name: `strictName` wins when set. */
|
|
383
410
|
protected readonly iconName: _angular_core.Signal<StrctIconName | (string & {})>;
|
|
@@ -386,7 +413,7 @@ declare class StrctIcon {
|
|
|
386
413
|
protected readonly svg: _angular_core.Signal<SafeHtml>;
|
|
387
414
|
protected readonly rawSvg: _angular_core.Signal<SafeHtml>;
|
|
388
415
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctIcon, never>;
|
|
389
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctIcon, "strct-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "strictName": { "alias": "strictName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "countMax": { "alias": "countMax"; "required": false; "isSignal": true; }; "countStatus": { "alias": "countStatus"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
416
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctIcon, "strct-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "strictName": { "alias": "strictName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "modeLabel": { "alias": "modeLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "countMax": { "alias": "countMax"; "required": false; "isSignal": true; }; "countStatus": { "alias": "countStatus"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
390
417
|
}
|
|
391
418
|
|
|
392
419
|
/** Overlay positioning strategies. */
|
|
@@ -1012,7 +1039,7 @@ declare class StrctButton implements OnDestroy {
|
|
|
1012
1039
|
protected readonly nativeDisabled: _angular_core.Signal<boolean>;
|
|
1013
1040
|
/** Disabled with a reason: focusable, and refusing clicks itself. */
|
|
1014
1041
|
protected readonly softDisabled: _angular_core.Signal<boolean>;
|
|
1015
|
-
|
|
1042
|
+
constructor();
|
|
1016
1043
|
protected showReason(): void;
|
|
1017
1044
|
protected hideReason(): void;
|
|
1018
1045
|
ngOnDestroy(): void;
|
|
@@ -1652,6 +1679,18 @@ interface StrctTreeNodeData {
|
|
|
1652
1679
|
icon?: string;
|
|
1653
1680
|
/** Status dot on the icon (running / maintenance / off …). */
|
|
1654
1681
|
badge?: StrctIconBadge;
|
|
1682
|
+
/**
|
|
1683
|
+
* A mode the operator put the object in — drained for patching — drawn in
|
|
1684
|
+
* the icon's own top-end corner, so health keeps the bottom one and a host
|
|
1685
|
+
* that is both in maintenance and alarmed shows both.
|
|
1686
|
+
*/
|
|
1687
|
+
mode?: StrctIconMode;
|
|
1688
|
+
/**
|
|
1689
|
+
* What a screen reader hears about this node's state, after its label.
|
|
1690
|
+
* Built from the mode and the badge when absent; `''` says nothing, for a
|
|
1691
|
+
* tree that already puts the words in the label.
|
|
1692
|
+
*/
|
|
1693
|
+
stateLabel?: string;
|
|
1655
1694
|
/** Highlight as the selected node. */
|
|
1656
1695
|
active?: boolean;
|
|
1657
1696
|
/** Initial expanded state. */
|
|
@@ -1702,6 +1741,13 @@ interface StrctTreeMenuEvent {
|
|
|
1702
1741
|
node: StrctTreeNodeData;
|
|
1703
1742
|
item: StrctMenuItem;
|
|
1704
1743
|
}
|
|
1744
|
+
/**
|
|
1745
|
+
* What a node's state is called, after its label. One object, so a tree is
|
|
1746
|
+
* translated in one place (FR-61-02).
|
|
1747
|
+
*/
|
|
1748
|
+
type StrctTreeStateWords = Partial<Record<StrctIconBadge | StrctIconMode, string>>;
|
|
1749
|
+
/** The library's words for the badge and mode states. */
|
|
1750
|
+
declare const defaultStateWords: StrctTreeStateWords;
|
|
1705
1751
|
/**
|
|
1706
1752
|
* Tree node. Two modes:
|
|
1707
1753
|
* - **Content:** nest `<strct-tree-node>` children manually.
|
|
@@ -1721,6 +1767,10 @@ declare class StrctTreeNode {
|
|
|
1721
1767
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
1722
1768
|
/** Status dot variant. */
|
|
1723
1769
|
readonly badge: _angular_core.InputSignal<StrctIconBadge>;
|
|
1770
|
+
/** A mode the operator chose (content mode) — drawn in the icon's own corner. */
|
|
1771
|
+
readonly mode: _angular_core.InputSignal<StrctIconMode>;
|
|
1772
|
+
/** What a reader hears after the label (content mode); '' says nothing. */
|
|
1773
|
+
readonly stateLabel: _angular_core.InputSignal<string | undefined>;
|
|
1724
1774
|
/** Whether the item is active / selected. */
|
|
1725
1775
|
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1726
1776
|
/** Whether the panel is open (two-way). */
|
|
@@ -1765,6 +1815,13 @@ declare class StrctTreeNode {
|
|
|
1765
1815
|
protected readonly displayLabel: _angular_core.Signal<string>;
|
|
1766
1816
|
protected readonly displayIcon: _angular_core.Signal<string | undefined>;
|
|
1767
1817
|
protected readonly displayBadge: _angular_core.Signal<StrctIconBadge>;
|
|
1818
|
+
protected readonly displayMode: _angular_core.Signal<StrctIconMode>;
|
|
1819
|
+
/**
|
|
1820
|
+
* FR-61-02: a treeitem's name is its label, so a running VM, an alarmed host
|
|
1821
|
+
* and a drained one all read the same. The state goes in `aria-description`,
|
|
1822
|
+
* which leaves the name — and the tree's type-ahead — untouched.
|
|
1823
|
+
*/
|
|
1824
|
+
protected readonly stateDescription: _angular_core.Signal<string>;
|
|
1768
1825
|
protected readonly displayActive: _angular_core.Signal<boolean>;
|
|
1769
1826
|
/** Data-mode siblings (null in content mode): the parent's children, else the tree roots. */
|
|
1770
1827
|
private readonly siblingData;
|
|
@@ -1795,7 +1852,7 @@ declare class StrctTreeNode {
|
|
|
1795
1852
|
protected onActivate(): void;
|
|
1796
1853
|
protected onMenuSelect(item: StrctMenuItem): void;
|
|
1797
1854
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctTreeNode, never>;
|
|
1798
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTreeNode, "strct-tree-node", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "nodeMenu": { "alias": "nodeMenu"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "activated": "activated"; "nodeActivated": "nodeActivated"; "nodeMenuSelect": "nodeMenuSelect"; }, ["childNodes", "directChildNodes"], ["[strctTreeTrailing]", "*"], true, never>;
|
|
1855
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTreeNode, "strct-tree-node", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "stateLabel": { "alias": "stateLabel"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "nodeMenu": { "alias": "nodeMenu"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "activated": "activated"; "nodeActivated": "nodeActivated"; "nodeMenuSelect": "nodeMenuSelect"; }, ["childNodes", "directChildNodes"], ["[strctTreeTrailing]", "*"], true, never>;
|
|
1799
1856
|
}
|
|
1800
1857
|
/**
|
|
1801
1858
|
* Root container for a tree. Either project `<strct-tree-node>` children, or
|
|
@@ -1844,6 +1901,8 @@ declare class StrctTree {
|
|
|
1844
1901
|
readonly dropRefused: _angular_core.OutputEmitterRef<StrctTreeDropRefusal>;
|
|
1845
1902
|
/** Wording of the row shown under a node whose children are being read (`node.loading`). */
|
|
1846
1903
|
readonly loadingLabel: _angular_core.InputSignal<string>;
|
|
1904
|
+
/** What each state is called after a node's label — translate once per tree. */
|
|
1905
|
+
readonly stateWords: _angular_core.InputSignal<Partial<Record<"success" | "warning" | "critical" | "info" | "running" | "paused" | "maintenance" | "none" | "off" | "maintenanceEntering", string>>>;
|
|
1847
1906
|
/** Accessible label of each node's chevron toggle; receives the expanded state and the node label. */
|
|
1848
1907
|
readonly chevronAriaLabel: _angular_core.InputSignal<(expanded: boolean, label: string) => string>;
|
|
1849
1908
|
/** Emitted when any data-driven node is clicked. */
|
|
@@ -1954,7 +2013,7 @@ declare class StrctTree {
|
|
|
1954
2013
|
/** Toggle a node's expansion, updating state and emitting outputs. */
|
|
1955
2014
|
toggleNode(node: StrctTreeNodeData): void;
|
|
1956
2015
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctTree, never>;
|
|
1957
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTree, "strct-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "framed": { "alias": "framed"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "nodeMenu": { "alias": "nodeMenu"; "required": false; "isSignal": true; }; "canDrag": { "alias": "canDrag"; "required": false; "isSignal": true; }; "canDrop": { "alias": "canDrop"; "required": false; "isSignal": true; }; "dragExpandDelay": { "alias": "dragExpandDelay"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "chevronAriaLabel": { "alias": "chevronAriaLabel"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; }, { "nodeDrop": "nodeDrop"; "dropRefused": "dropRefused"; "nodeActivated": "nodeActivated"; "nodeMenuSelect": "nodeMenuSelect"; "expandedIds": "expandedIdsChange"; "expandedChange": "expandedChange"; "nodeToggled": "nodeToggled"; }, ["projectedNodes"], ["*"], true, never>;
|
|
2016
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTree, "strct-tree", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "framed": { "alias": "framed"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "nodeMenu": { "alias": "nodeMenu"; "required": false; "isSignal": true; }; "canDrag": { "alias": "canDrag"; "required": false; "isSignal": true; }; "canDrop": { "alias": "canDrop"; "required": false; "isSignal": true; }; "dragExpandDelay": { "alias": "dragExpandDelay"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "stateWords": { "alias": "stateWords"; "required": false; "isSignal": true; }; "chevronAriaLabel": { "alias": "chevronAriaLabel"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; }, { "nodeDrop": "nodeDrop"; "dropRefused": "dropRefused"; "nodeActivated": "nodeActivated"; "nodeMenuSelect": "nodeMenuSelect"; "expandedIds": "expandedIdsChange"; "expandedChange": "expandedChange"; "nodeToggled": "nodeToggled"; }, ["projectedNodes"], ["*"], true, never>;
|
|
1958
2017
|
}
|
|
1959
2018
|
|
|
1960
2019
|
/** Fixed modal width presets: sm 480 · md 640 · lg 860 · xl 1080 (px). */
|
|
@@ -4252,12 +4311,22 @@ declare class StrctDesc {
|
|
|
4252
4311
|
readonly href: _angular_core.InputSignal<string>;
|
|
4253
4312
|
/** The same, routed — takes what `[routerLink]` takes. */
|
|
4254
4313
|
readonly routerLink: _angular_core.InputSignal<string | unknown[] | null>;
|
|
4314
|
+
/**
|
|
4315
|
+
* Query parameters for the routed destination: `/vms/vm-1?action=updates`
|
|
4316
|
+
* is `routerLink="/vms/vm-1"` with `[queryParams]="{ action: 'updates' }"`.
|
|
4317
|
+
* A `?` inside `routerLink` is part of the path, and encoded as one.
|
|
4318
|
+
*/
|
|
4319
|
+
readonly queryParams: _angular_core.InputSignal<Record<string, unknown> | null>;
|
|
4320
|
+
/** What happens to the parameters already on the page. */
|
|
4321
|
+
readonly queryParamsHandling: _angular_core.InputSignal<"" | "merge" | "preserve" | null>;
|
|
4322
|
+
/** The `#fragment` of the routed destination. */
|
|
4323
|
+
readonly fragment: _angular_core.InputSignal<string>;
|
|
4255
4324
|
/** `target="_blank"` opens a new tab; the safe `rel` comes with it. */
|
|
4256
4325
|
readonly target: _angular_core.InputSignal<string>;
|
|
4257
4326
|
/** A new tab never gets a handle on the opener. */
|
|
4258
4327
|
protected relFor(target: string): string | null;
|
|
4259
4328
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctDesc, never>;
|
|
4260
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDesc, "strct-desc, div[strctDesc]", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "mono": { "alias": "mono"; "required": false; "isSignal": true; }; "muted": { "alias": "muted"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "statusLabel": { "alias": "statusLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "note": { "alias": "note"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4329
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDesc, "strct-desc, div[strctDesc]", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "mono": { "alias": "mono"; "required": false; "isSignal": true; }; "muted": { "alias": "muted"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "statusLabel": { "alias": "statusLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "note": { "alias": "note"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4261
4330
|
}
|
|
4262
4331
|
|
|
4263
4332
|
/** Column definition for the table. */
|
|
@@ -5914,6 +5983,8 @@ interface StrctFlowNode {
|
|
|
5914
5983
|
role?: string;
|
|
5915
5984
|
/** Optional status dot tone for this terminal. */
|
|
5916
5985
|
status?: StrctStatus;
|
|
5986
|
+
/** A leading icon, for a node whose kind is part of the answer. */
|
|
5987
|
+
icon?: string;
|
|
5917
5988
|
/** Which column this node sits in (`fan-out`). Derived from depth in `tree`. */
|
|
5918
5989
|
column?: number;
|
|
5919
5990
|
/**
|
|
@@ -5984,6 +6055,23 @@ declare class StrctFlow {
|
|
|
5984
6055
|
emptyText: string;
|
|
5985
6056
|
nodes: StrctFlowNode[];
|
|
5986
6057
|
}[]>;
|
|
6058
|
+
/**
|
|
6059
|
+
* One tab stop for the whole diagram, with the arrow keys walking it:
|
|
6060
|
+
* ← / → follow the edges (or the columns, where a node has none), ↑ / ↓ move
|
|
6061
|
+
* within a column, Home / End jump to its ends. Off by default, so a
|
|
6062
|
+
* decorative pipeline keeps no tab stop at all.
|
|
6063
|
+
*/
|
|
6064
|
+
readonly navigable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6065
|
+
/** Emitted when a node is clicked, or Enter / Space is pressed on it. */
|
|
6066
|
+
readonly nodeActivate: _angular_core.OutputEmitterRef<StrctFlowNode>;
|
|
6067
|
+
/** The node the tab stop is on (its id). */
|
|
6068
|
+
protected readonly cursor: _angular_core.WritableSignal<string | null>;
|
|
6069
|
+
protected isCursor(node: StrctFlowNode): boolean;
|
|
6070
|
+
protected activate(node: StrctFlowNode): void;
|
|
6071
|
+
protected onNodeKeydown(event: KeyboardEvent, node: StrctFlowNode): void;
|
|
6072
|
+
/** Where a key leads from `node`: along an edge, or within the column. */
|
|
6073
|
+
private neighbour;
|
|
6074
|
+
private focusNode;
|
|
5987
6075
|
/** What a node says to assistive tech: itself, then where it leads. */
|
|
5988
6076
|
protected nodeSummary(node: StrctFlowNode): string;
|
|
5989
6077
|
/** Measured edge geometry — recomputed whenever the boxes move or resize. */
|
|
@@ -6012,7 +6100,7 @@ declare class StrctFlow {
|
|
|
6012
6100
|
/** Human-readable summary for assistive tech. */
|
|
6013
6101
|
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
6014
6102
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctFlow, never>;
|
|
6015
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctFlow, "strct-flow", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "live": { "alias": "live"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, ["nodeTpl"], never, true, never>;
|
|
6103
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctFlow, "strct-flow", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "live": { "alias": "live"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "navigable": { "alias": "navigable"; "required": false; "isSignal": true; }; }, { "nodeActivate": "nodeActivate"; }, ["nodeTpl"], never, true, never>;
|
|
6016
6104
|
}
|
|
6017
6105
|
|
|
6018
6106
|
/** Accent colour for a metric tile. */
|
|
@@ -8857,5 +8945,5 @@ declare class StrctProductSwitcher {
|
|
|
8857
8945
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctProductSwitcher, "strct-product-switcher", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "footerItems": { "alias": "footerItems"; "required": false; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "switchLabel": { "alias": "switchLabel"; "required": false; "isSignal": true; }; "shortLabelWidth": { "alias": "shortLabelWidth"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "opened": "opened"; "select": "select"; }, never, never, true, never>;
|
|
8858
8946
|
}
|
|
8859
8947
|
|
|
8860
|
-
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_MD_LIMITS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAccordionPanelMeta, StrctAlert, StrctAlertActions, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderLeading, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChange, StrctChart, StrctChatAttachment, StrctChatComposer, StrctChatMessage, StrctChatMessageActions, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDetailPaneActions, StrctDetailPaneMeta, StrctDetailPaneTitle, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownGroup, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownItemDescription, StrctDropdownItemIcon, StrctDropdownItemLabel, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFieldValue, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctGroupHeaderDef, StrctHeader, StrctHeaderAction, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMarkdown, StrctMarkdownToken, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProductSwitcher, StrctProgress, StrctQr, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderGroup, StrctReorderHandle, StrctReorderItem, StrctResizeHandle, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctStepAction, StrctSteps, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctTagLeading, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWindow, StrctWindowDock, StrctWindowDockItem, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, parseInlines, placeTooltip, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctClassifyHref, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctParseMarkdown, strctQrMatrix, strctShowTooltip, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
8861
|
-
export type { StrctAlertType, StrctAvatarSize, StrctAvatarStatus, StrctBadgeStatus, StrctButtonSize, StrctButtonVariant, StrctCascadeOption, StrctCellContext, StrctChartAnnotation, StrctChartColor, StrctChartCurve, StrctChartSeries, StrctChartSlot, StrctChartStatus, StrctChartSummaryInfo, StrctChartThreshold, StrctChartType, StrctChatAuthor, StrctColumn, StrctCommandItem, StrctConfirmOptions, StrctConfirmTone, StrctDatagridColumn, StrctDatagridColumnState, StrctDatagridFilters, StrctDatagridGroup, StrctDatagridLabels, StrctDatagridLazyState, StrctDescAlign, StrctDescItem, StrctDiffRow, StrctDonutSegment, StrctDrawerSide, StrctDrawerSize, StrctEmptyVariant, StrctFilterChip, StrctFlowColumn, StrctFlowDirection, StrctFlowEdge, StrctFlowNode, StrctFlowOrientation, StrctHeaderActionConfig, StrctHeatmapCell, StrctHeatmapSummaryInfo, StrctHotkey, StrctIconBadge, StrctIconName, StrctKnobStatus, StrctLegendItem, StrctLiveLabels, StrctLiveState, StrctLogLine, StrctMdAlign, StrctMdBlock, StrctMdInline, StrctMdToken, StrctMdTokenizer, StrctMediaState, StrctMenuItem, StrctMenuLink, StrctMenuOpenOptions, StrctMenuPlacement, StrctMenuSection, StrctMenubarItem, StrctMetricStatus, StrctModalSize, StrctMode, StrctNotification, StrctOption, StrctOverlayPlacement, StrctPalette, StrctPaletteInfo, StrctProductItem, StrctProgressSegment, StrctProgressStatus, StrctQrEcc, StrctRailItem, StrctRailStatus, StrctReorderEvent, StrctReorderMoveEvent, StrctRow, StrctRowId, StrctSegmentedOption, StrctSegmentedSize, StrctSignpostPosition, StrctSpeedDialDirection, StrctSpinnerSize, StrctStatus, StrctStatusDotSize, StrctStepPhase, StrctStepState, StrctStepsLabels, StrctTagStatus, StrctThresholds, StrctTimeRange, StrctTimeRangePreset, StrctTimelineState, StrctToast, StrctToastOptions, StrctToastType, StrctTooltipPosition, StrctTourStep, StrctTransferItem, StrctTreeDropEvent, StrctTreeDropRefusal, StrctTreeMenuEvent, StrctTreeNodeData, StrctTreeNodeMenuFn, StrctValidationState, StrctValidationStatus, StrctWindowBounds, StrctWindowLabels, StrctWindowOutsidePointer, StrctWizardDefaults };
|
|
8948
|
+
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_MD_LIMITS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAccordionPanelMeta, StrctAlert, StrctAlertActions, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderLeading, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChange, StrctChart, StrctChatAttachment, StrctChatComposer, StrctChatMessage, StrctChatMessageActions, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDetailPaneActions, StrctDetailPaneMeta, StrctDetailPaneTitle, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownGroup, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownItemDescription, StrctDropdownItemIcon, StrctDropdownItemLabel, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFieldValue, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctGroupHeaderDef, StrctHeader, StrctHeaderAction, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMarkdown, StrctMarkdownToken, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProductSwitcher, StrctProgress, StrctQr, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderGroup, StrctReorderHandle, StrctReorderItem, StrctResizeHandle, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctStepAction, StrctSteps, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctTagLeading, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWindow, StrctWindowDock, StrctWindowDockItem, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, defaultStateWords, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, parseInlines, placeTooltip, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctClassifyHref, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctParseMarkdown, strctQrMatrix, strctShowTooltip, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
8949
|
+
export type { StrctAlertType, StrctAvatarSize, StrctAvatarStatus, StrctBadgeStatus, StrctButtonSize, StrctButtonVariant, StrctCascadeOption, StrctCellContext, StrctChartAnnotation, StrctChartColor, StrctChartCurve, StrctChartSeries, StrctChartSlot, StrctChartStatus, StrctChartSummaryInfo, StrctChartThreshold, StrctChartType, StrctChatAuthor, StrctColumn, StrctCommandItem, StrctConfirmOptions, StrctConfirmTone, StrctDatagridColumn, StrctDatagridColumnState, StrctDatagridFilters, StrctDatagridGroup, StrctDatagridLabels, StrctDatagridLazyState, StrctDescAlign, StrctDescItem, StrctDiffRow, StrctDonutSegment, StrctDrawerSide, StrctDrawerSize, StrctEmptyVariant, StrctFilterChip, StrctFlowColumn, StrctFlowDirection, StrctFlowEdge, StrctFlowNode, StrctFlowOrientation, StrctHeaderActionConfig, StrctHeatmapCell, StrctHeatmapSummaryInfo, StrctHotkey, StrctIconBadge, StrctIconMode, StrctIconName, StrctKnobStatus, StrctLegendItem, StrctLiveLabels, StrctLiveState, StrctLogLine, StrctMdAlign, StrctMdBlock, StrctMdInline, StrctMdToken, StrctMdTokenizer, StrctMediaState, StrctMenuItem, StrctMenuLink, StrctMenuOpenOptions, StrctMenuPlacement, StrctMenuSection, StrctMenubarItem, StrctMetricStatus, StrctModalSize, StrctMode, StrctNotification, StrctOption, StrctOverlayPlacement, StrctPalette, StrctPaletteInfo, StrctProductItem, StrctProgressSegment, StrctProgressStatus, StrctQrEcc, StrctRailItem, StrctRailStatus, StrctReorderEvent, StrctReorderMoveEvent, StrctRow, StrctRowId, StrctSegmentedOption, StrctSegmentedSize, StrctSignpostPosition, StrctSpeedDialDirection, StrctSpinnerSize, StrctStatus, StrctStatusDotSize, StrctStepPhase, StrctStepState, StrctStepsLabels, StrctTagStatus, StrctThresholds, StrctTimeRange, StrctTimeRangePreset, StrctTimelineState, StrctToast, StrctToastOptions, StrctToastType, StrctTooltipPosition, StrctTourStep, StrctTransferItem, StrctTreeDropEvent, StrctTreeDropRefusal, StrctTreeMenuEvent, StrctTreeNodeData, StrctTreeNodeMenuFn, StrctTreeStateWords, StrctValidationState, StrctValidationStatus, StrctWindowBounds, StrctWindowLabels, StrctWindowOutsidePointer, StrctWizardDefaults };
|