@akcelik/strct 5.1.0 → 5.3.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 +389 -75
- package/fesm2022/akcelik-strct.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/_forms.scss +9 -0
- package/types/akcelik-strct.d.ts +97 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.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/styles/_forms.scss
CHANGED
|
@@ -49,6 +49,15 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// Native <select> gets a custom chevron.
|
|
52
|
+
/* FR-49-10 — a PEM block, a key=value mapping or an id reads as code: the
|
|
53
|
+
mono face, with the tabular figures the rest of the library uses for data.
|
|
54
|
+
`mono` on the directive sets it; the class is there for a control the
|
|
55
|
+
directive does not own. */
|
|
56
|
+
.strct-control--mono {
|
|
57
|
+
font-family: var(--mono);
|
|
58
|
+
font-variant-numeric: tabular-nums;
|
|
59
|
+
}
|
|
60
|
+
|
|
52
61
|
select.strct-control {
|
|
53
62
|
appearance: none;
|
|
54
63
|
padding-inline-end: 30px;
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -2598,6 +2598,15 @@ declare class StrctFieldHint {
|
|
|
2598
2598
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctFieldHint, never>;
|
|
2599
2599
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctFieldHint, "ng-template[strctFieldHint]", never, {}, {}, never, never, true, never>;
|
|
2600
2600
|
}
|
|
2601
|
+
/**
|
|
2602
|
+
* A value that is read-only *here* — a name, a badge, a switch that only shows
|
|
2603
|
+
* state — placed in an inline field's control column. Without it the text sits
|
|
2604
|
+
* 9px above the label's line, because the column centres on a 34px control.
|
|
2605
|
+
*/
|
|
2606
|
+
declare class StrctFieldValue {
|
|
2607
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctFieldValue, never>;
|
|
2608
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctFieldValue, "[strctFieldValue]", never, {}, {}, never, never, true, never>;
|
|
2609
|
+
}
|
|
2601
2610
|
/**
|
|
2602
2611
|
* Wrapper that opts a run of `layout="inline"` fields out of the hairlines
|
|
2603
2612
|
* between them — for settings that belong together and should read as one
|
|
@@ -2677,10 +2686,15 @@ declare class StrctField {
|
|
|
2677
2686
|
* <select strctInput>…</select>
|
|
2678
2687
|
* The visual definition lives in `strct/styles/_forms.scss` (shipped via the
|
|
2679
2688
|
* theme entry point), so this directive only attaches the class.
|
|
2689
|
+
*
|
|
2690
|
+
* `mono` sets the monospace face, for a PEM block, a `key=value` mapping or an
|
|
2691
|
+
* identifier — the three things consumers were restyling by hand.
|
|
2680
2692
|
*/
|
|
2681
2693
|
declare class StrctInput {
|
|
2694
|
+
/** Monospace text with tabular figures — a PEM block, an id, a mapping. */
|
|
2695
|
+
readonly mono: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2682
2696
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctInput, never>;
|
|
2683
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctInput, "input[strctInput], textarea[strctInput], select[strctInput], input[strct-input], textarea[strct-input], select[strct-input]", never, {}, {}, never, never, true, never>;
|
|
2697
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctInput, "input[strctInput], textarea[strctInput], select[strctInput], input[strct-input], textarea[strct-input], select[strct-input]", never, { "mono": { "alias": "mono"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2684
2698
|
}
|
|
2685
2699
|
|
|
2686
2700
|
/**
|
|
@@ -2895,6 +2909,13 @@ declare class StrctRange implements ControlValueAccessor {
|
|
|
2895
2909
|
readonly step: _angular_core.InputSignal<number>;
|
|
2896
2910
|
/** Display the current numeric value. */
|
|
2897
2911
|
readonly showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2912
|
+
/**
|
|
2913
|
+
* How the shown value reads: memory is "4 GB" and a weight is "20%", not 4
|
|
2914
|
+
* and 20. It formats the label only — the model stays the number.
|
|
2915
|
+
*/
|
|
2916
|
+
readonly valueFormat: _angular_core.InputSignal<((value: number) => string) | null>;
|
|
2917
|
+
/** What `showValue` prints: the format, or the number itself. */
|
|
2918
|
+
protected readonly valueText: _angular_core.Signal<string>;
|
|
2898
2919
|
/** Static disable; forms' setDisabledState also drives the disabled state. */
|
|
2899
2920
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2900
2921
|
readonly value: _angular_core.WritableSignal<number>;
|
|
@@ -2910,7 +2931,7 @@ declare class StrctRange implements ControlValueAccessor {
|
|
|
2910
2931
|
registerOnTouched(fn: () => void): void;
|
|
2911
2932
|
setDisabledState(isDisabled: boolean): void;
|
|
2912
2933
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctRange, never>;
|
|
2913
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRange, "strct-range", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2934
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRange, "strct-range", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2914
2935
|
}
|
|
2915
2936
|
|
|
2916
2937
|
/**
|
|
@@ -3776,6 +3797,8 @@ interface StrctDatagridLabels {
|
|
|
3776
3797
|
filterPlaceholder: string;
|
|
3777
3798
|
clearFilter: string;
|
|
3778
3799
|
editCell: string;
|
|
3800
|
+
/** How an editable cell says, to assistive tech, that it can be edited. */
|
|
3801
|
+
editCellInstructions: string;
|
|
3779
3802
|
toggleChildren: string;
|
|
3780
3803
|
quickFilter: string;
|
|
3781
3804
|
/** `paging="more"`: the button that asks for the next slice. */
|
|
@@ -3982,6 +4005,14 @@ declare class StrctDatagrid {
|
|
|
3982
4005
|
* selection; the user's subsequent toggles are preserved until the next change.
|
|
3983
4006
|
*/
|
|
3984
4007
|
readonly initialSelection: _angular_core.InputSignal<readonly unknown[] | null>;
|
|
4008
|
+
/**
|
|
4009
|
+
* The selection itself, two-way, for `selectionMode="multiple"` — what
|
|
4010
|
+
* `selectedId` is for single mode. Write it and the grid checks those rows
|
|
4011
|
+
* and counts them; the user's own picks write back, in the order they were
|
|
4012
|
+
* made. `null` (the default) means the consumer does not drive the
|
|
4013
|
+
* selection, so a grid that only seeds with `initialSelection` is unchanged.
|
|
4014
|
+
*/
|
|
4015
|
+
readonly selectedIds: _angular_core.ModelSignal<readonly unknown[] | null>;
|
|
3985
4016
|
/** Override any user-visible / assistive string (partial; merged over defaults). */
|
|
3986
4017
|
readonly labels: _angular_core.InputSignal<Partial<StrctDatagridLabels>>;
|
|
3987
4018
|
/** Effective labels (defaults + overrides). */
|
|
@@ -4004,6 +4035,7 @@ declare class StrctDatagrid {
|
|
|
4004
4035
|
filterPlaceholder: string;
|
|
4005
4036
|
clearFilter: string;
|
|
4006
4037
|
editCell: string;
|
|
4038
|
+
editCellInstructions: string;
|
|
4007
4039
|
toggleChildren: string;
|
|
4008
4040
|
quickFilter: string;
|
|
4009
4041
|
loadMore: string;
|
|
@@ -4018,6 +4050,17 @@ declare class StrctDatagrid {
|
|
|
4018
4050
|
readonly virtual: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4019
4051
|
/** Scroll viewport height in px (virtual mode). */
|
|
4020
4052
|
readonly viewportHeight: _angular_core.InputSignal<number>;
|
|
4053
|
+
/**
|
|
4054
|
+
* Bound the grid's own scroll box (px), with a sticky header — what
|
|
4055
|
+
* `viewportHeight` does for `virtual`, for every other grid: a grouped
|
|
4056
|
+
* picker inside a dialog scrolls instead of growing the page.
|
|
4057
|
+
*/
|
|
4058
|
+
readonly maxHeight: _angular_core.InputSignal<number | null>;
|
|
4059
|
+
/**
|
|
4060
|
+
* Show a pencil on an editable cell when it is hovered or focused. A mouse
|
|
4061
|
+
* user finds an editable cell by double-clicking one; nothing said so.
|
|
4062
|
+
*/
|
|
4063
|
+
readonly editHint: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4021
4064
|
/** Uniform row height in px (virtual mode; tune when `compact`). */
|
|
4022
4065
|
readonly rowHeight: _angular_core.InputSignal<number>;
|
|
4023
4066
|
/**
|
|
@@ -4112,6 +4155,8 @@ declare class StrctDatagrid {
|
|
|
4112
4155
|
private readonly menu;
|
|
4113
4156
|
protected readonly detailDef: _angular_core.Signal<StrctRowDetailDef | undefined>;
|
|
4114
4157
|
protected readonly actionBarDef: _angular_core.Signal<StrctDatagridActionBar | undefined>;
|
|
4158
|
+
/** A read-only grid with a note needed an empty action bar to show it. */
|
|
4159
|
+
protected readonly actionBarCaptionDef: _angular_core.Signal<StrctDatagridActionBarCaption | undefined>;
|
|
4115
4160
|
private readonly cellDefs;
|
|
4116
4161
|
private readonly cellMap;
|
|
4117
4162
|
readonly page: _angular_core.WritableSignal<number>;
|
|
@@ -4197,6 +4242,36 @@ declare class StrctDatagrid {
|
|
|
4197
4242
|
protected isEditingCell(row: StrctRow, col: StrctDatagridColumn): boolean;
|
|
4198
4243
|
/** The value a typed editor holds while it is open (committed on Enter / blur). */
|
|
4199
4244
|
protected readonly editDraft: _angular_core.WritableSignal<unknown>;
|
|
4245
|
+
/**
|
|
4246
|
+
* Keyboard access to editable cells (FR-49-02). An editable cell opened only
|
|
4247
|
+
* on double-click, so a keyboard user could not reach one at all.
|
|
4248
|
+
*
|
|
4249
|
+
* The editable cells of a grid form one roving tab stop, as a toolbar's
|
|
4250
|
+
* buttons do: Tab reaches the grid, the arrow keys move between cells,
|
|
4251
|
+
* Enter or F2 opens the editor and Escape closes it — focus coming back to
|
|
4252
|
+
* the cell either way, so the next key press continues from where the user
|
|
4253
|
+
* was. While an editor is open, Tab commits it and opens the next cell, the
|
|
4254
|
+
* way a spreadsheet fills a row.
|
|
4255
|
+
*/
|
|
4256
|
+
protected readonly editHintId: string;
|
|
4257
|
+
/** The cell that currently holds the grid's editable-cell tab stop. */
|
|
4258
|
+
private readonly activeEditCell;
|
|
4259
|
+
private readonly editableColumns;
|
|
4260
|
+
protected readonly hasEditableColumn: _angular_core.Signal<boolean>;
|
|
4261
|
+
protected editCellTabindex(row: StrctRow, col: StrctDatagridColumn): number;
|
|
4262
|
+
protected onEditCellFocus(row: StrctRow, col: StrctDatagridColumn): void;
|
|
4263
|
+
/** Every editable cell in DOM order — the order the arrows walk. */
|
|
4264
|
+
private editCells;
|
|
4265
|
+
/**
|
|
4266
|
+
* Move focus `delta` cells along (or `delta` rows, when `byRow`). Focusing
|
|
4267
|
+
* the cell runs its own focus handler, so the roving tab stop follows.
|
|
4268
|
+
*/
|
|
4269
|
+
private moveEditFocus;
|
|
4270
|
+
/** Commit whatever the open editor holds, by the kind of editor it is. */
|
|
4271
|
+
private commitOpenEditor;
|
|
4272
|
+
protected onEditCellKeydown(row: StrctRow, col: StrctDatagridColumn, event: KeyboardEvent): void;
|
|
4273
|
+
/** Put focus back on the cell an editor just left, so the keys keep working. */
|
|
4274
|
+
private refocusCell;
|
|
4200
4275
|
protected startEdit(row: StrctRow, col: StrctDatagridColumn): void;
|
|
4201
4276
|
protected readonly captionId: string;
|
|
4202
4277
|
/** Whether a cell has nothing to show and the column says what to show then. */
|
|
@@ -4241,6 +4316,12 @@ declare class StrctDatagrid {
|
|
|
4241
4316
|
private readonly treeFlat;
|
|
4242
4317
|
protected readonly sorted: _angular_core.Signal<StrctRow[]>;
|
|
4243
4318
|
protected readonly paged: _angular_core.Signal<StrctRow[]>;
|
|
4319
|
+
/**
|
|
4320
|
+
* The footer exists for the count, the column chooser, the sync button and
|
|
4321
|
+
* whichever pager applies — `paging="more"` used to replace all of it, and a
|
|
4322
|
+
* chooser on a grid with no pager had nowhere to live.
|
|
4323
|
+
*/
|
|
4324
|
+
protected readonly showFooter: _angular_core.Signal<boolean>;
|
|
4244
4325
|
/** Full count for the pager / footer (server total in lazy mode). */
|
|
4245
4326
|
protected readonly totalCount: _angular_core.Signal<number>;
|
|
4246
4327
|
private readonly scrollTop;
|
|
@@ -4368,7 +4449,7 @@ declare class StrctDatagrid {
|
|
|
4368
4449
|
private commitSelection;
|
|
4369
4450
|
private compare;
|
|
4370
4451
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctDatagrid, never>;
|
|
4371
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "detailPane": { "alias": "detailPane"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "singleLine": { "alias": "singleLine"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "sync": { "alias": "sync"; "required": false; "isSignal": true; }; "footerActionsDisabled": { "alias": "footerActionsDisabled"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "paging": { "alias": "paging"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "loadingMore": { "alias": "loadingMore"; "required": false; "isSignal": true; }; "moreTotal": { "alias": "moreTotal"; "required": false; "isSignal": true; }; "groupSelect": { "alias": "groupSelect"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "initialSelection": { "alias": "initialSelection"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "virtual": { "alias": "virtual"; "required": false; "isSignal": true; }; "viewportHeight": { "alias": "viewportHeight"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "columnState": { "alias": "columnState"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "quickFilter": { "alias": "quickFilter"; "required": false; "isSignal": true; }; "quickFilterFields": { "alias": "quickFilterFields"; "required": false; "isSignal": true; }; "quickFilterable": { "alias": "quickFilterable"; "required": false; "isSignal": true; }; "quickFilterAlign": { "alias": "quickFilterAlign"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "loadMore": "loadMore"; "columnState": "columnStateChange"; "filters": "filtersChange"; "quickFilter": "quickFilterChange"; "selectionChange": "selectionChange"; "syncChange": "syncChange"; "rowAction": "rowAction"; "lazyLoad": "lazyLoad"; "cellEdit": "cellEdit"; }, ["detailDef", "actionBarDef", "cellDefs"], ["[strctDatagridActionBarCaption]", "[strctDatagridActionBar]"], true, never>;
|
|
4452
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "detailPane": { "alias": "detailPane"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "singleLine": { "alias": "singleLine"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "sync": { "alias": "sync"; "required": false; "isSignal": true; }; "footerActionsDisabled": { "alias": "footerActionsDisabled"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "paging": { "alias": "paging"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "loadingMore": { "alias": "loadingMore"; "required": false; "isSignal": true; }; "moreTotal": { "alias": "moreTotal"; "required": false; "isSignal": true; }; "groupSelect": { "alias": "groupSelect"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "initialSelection": { "alias": "initialSelection"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "virtual": { "alias": "virtual"; "required": false; "isSignal": true; }; "viewportHeight": { "alias": "viewportHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "editHint": { "alias": "editHint"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "columnState": { "alias": "columnState"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "quickFilter": { "alias": "quickFilter"; "required": false; "isSignal": true; }; "quickFilterFields": { "alias": "quickFilterFields"; "required": false; "isSignal": true; }; "quickFilterable": { "alias": "quickFilterable"; "required": false; "isSignal": true; }; "quickFilterAlign": { "alias": "quickFilterAlign"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "loadMore": "loadMore"; "selectedIds": "selectedIdsChange"; "columnState": "columnStateChange"; "filters": "filtersChange"; "quickFilter": "quickFilterChange"; "selectionChange": "selectionChange"; "syncChange": "syncChange"; "rowAction": "rowAction"; "lazyLoad": "lazyLoad"; "cellEdit": "cellEdit"; }, ["detailDef", "actionBarDef", "actionBarCaptionDef", "cellDefs"], ["[strctDatagridActionBarCaption]", "[strctDatagridActionBar]"], true, never>;
|
|
4372
4453
|
}
|
|
4373
4454
|
|
|
4374
4455
|
/** Timeline node state colors. */
|
|
@@ -5153,6 +5234,11 @@ declare class StrctHero {
|
|
|
5153
5234
|
|
|
5154
5235
|
/** Alert visual types. */
|
|
5155
5236
|
type StrctAlertType = 'info' | 'success' | 'warning' | 'critical';
|
|
5237
|
+
/** Controls at the alert's end — the fix the alert is about. */
|
|
5238
|
+
declare class StrctAlertActions {
|
|
5239
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctAlertActions, never>;
|
|
5240
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctAlertActions, "[strctAlertActions]", never, {}, {}, never, never, true, never>;
|
|
5241
|
+
}
|
|
5156
5242
|
/** Inline contextual banner. `<strct-alert type="warning">…</strct-alert>`. */
|
|
5157
5243
|
declare class StrctAlert {
|
|
5158
5244
|
private readonly hostEl;
|
|
@@ -5174,7 +5260,7 @@ declare class StrctAlert {
|
|
|
5174
5260
|
protected readonly iconName: _angular_core.Signal<string>;
|
|
5175
5261
|
private readonly derivedIcon;
|
|
5176
5262
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctAlert, never>;
|
|
5177
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctAlert, "strct-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
5263
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctAlert, "strct-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[strctAlertActions]", "*"], true, never>;
|
|
5178
5264
|
}
|
|
5179
5265
|
|
|
5180
5266
|
/** Tooltip placement relative to the host element. */
|
|
@@ -6788,6 +6874,11 @@ declare class StrctNumber implements ControlValueAccessor {
|
|
|
6788
6874
|
readonly step: _angular_core.InputSignal<number>;
|
|
6789
6875
|
/** Placeholder text when empty. */
|
|
6790
6876
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
6877
|
+
/**
|
|
6878
|
+
* The field's accessible name, for a number that is not inside a
|
|
6879
|
+
* `strct-field` — in a grid cell, or beside a label it does not own.
|
|
6880
|
+
*/
|
|
6881
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
6791
6882
|
/** Accessible label of the + button (localizable). */
|
|
6792
6883
|
readonly incrementLabel: _angular_core.InputSignal<string>;
|
|
6793
6884
|
/** Accessible label of the − button (localizable). */
|
|
@@ -6821,7 +6912,7 @@ declare class StrctNumber implements ControlValueAccessor {
|
|
|
6821
6912
|
registerOnTouched(fn: () => void): void;
|
|
6822
6913
|
setDisabledState(isDisabled: boolean): void;
|
|
6823
6914
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctNumber, never>;
|
|
6824
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctNumber, "strct-number", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "incrementLabel": { "alias": "incrementLabel"; "required": false; "isSignal": true; }; "decrementLabel": { "alias": "decrementLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6915
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctNumber, "strct-number", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "incrementLabel": { "alias": "incrementLabel"; "required": false; "isSignal": true; }; "decrementLabel": { "alias": "decrementLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6825
6916
|
}
|
|
6826
6917
|
|
|
6827
6918
|
/**
|
|
@@ -7400,5 +7491,5 @@ declare function strctCheckHostInputs(host: HTMLElement, selector: string, owns:
|
|
|
7400
7491
|
*/
|
|
7401
7492
|
declare function strctCheckHostDisplay(host: HTMLElement, selector: string, expected: string): void;
|
|
7402
7493
|
|
|
7403
|
-
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAlert, 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, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctHeader, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, 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, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctQrMatrix, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
7494
|
+
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, 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, StrctChatThread, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownItem, StrctDropdownItemAction, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFieldValue, StrctFile, StrctFilterBar, StrctFlow, StrctFlowNodeTemplate, StrctFooter, StrctGauge, StrctHeader, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctLegend, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLiveIndicator, StrctLogViewer, StrctLogin, StrctMediaFrame, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, 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, StrctWindowService, StrctWizard, StrctWizardAside, __qrInternals, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctCheckHostDisplay, strctCheckHostInputs, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctQrMatrix, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
7404
7495
|
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, StrctDatagridLabels, StrctDatagridLazyState, StrctDescAlign, StrctDescItem, StrctDiffRow, StrctDonutSegment, StrctDrawerSide, StrctDrawerSize, StrctEmptyVariant, StrctFilterChip, StrctFlowDirection, StrctFlowEdge, StrctFlowNode, StrctFlowOrientation, StrctHeatmapCell, StrctHeatmapSummaryInfo, StrctHotkey, StrctIconBadge, StrctIconName, StrctKnobStatus, StrctLegendItem, StrctLiveLabels, StrctLiveState, StrctLogLine, StrctMediaState, StrctMenuItem, StrctMenuLink, StrctMenuOpenOptions, StrctMenuPlacement, StrctMenuSection, StrctMenubarItem, StrctMetricStatus, StrctModalSize, StrctMode, StrctNotification, StrctOption, StrctOverlayPlacement, StrctPalette, StrctPaletteInfo, 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, StrctTreeMenuEvent, StrctTreeNodeData, StrctTreeNodeMenuFn, StrctValidationState, StrctValidationStatus, StrctWindowBounds, StrctWindowLabels, StrctWizardDefaults };
|