@akcelik/strct 5.33.0 → 6.0.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 +71 -427
- package/fesm2022/akcelik-strct.mjs.map +1 -1
- package/package.json +1 -1
- package/types/akcelik-strct.d.ts +38 -152
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, TemplateRef,
|
|
2
|
+
import { OnDestroy, TemplateRef, InjectionToken, Provider, PipeTransform } from '@angular/core';
|
|
3
3
|
import { SafeHtml, SafeStyle } from '@angular/platform-browser';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as _akcelik_strct from '@akcelik/strct';
|
|
@@ -334,13 +334,7 @@ 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'
|
|
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';
|
|
337
|
+
type StrctIconBadge = 'none' | 'success' | 'warning' | 'critical' | 'running' | 'paused' | 'off' | 'info';
|
|
344
338
|
/**
|
|
345
339
|
* A mode the operator put the object in, as opposed to its health: it takes no
|
|
346
340
|
* new work. Drawn in its own corner, so a drained host with an open alarm
|
|
@@ -370,8 +364,7 @@ declare class StrctIcon {
|
|
|
370
364
|
readonly badge: _angular_core.InputSignal<StrctIconBadge>;
|
|
371
365
|
/**
|
|
372
366
|
* A mode the operator chose, drawn in its own (top-end) corner so it never
|
|
373
|
-
* displaces the health badge.
|
|
374
|
-
* `mode="maintenance"`, which is where it belongs; it is deprecated.
|
|
367
|
+
* displaces the health badge.
|
|
375
368
|
*/
|
|
376
369
|
readonly mode: _angular_core.InputSignal<StrctIconMode>;
|
|
377
370
|
/** The mode's words, joined to the icon's name when it has one (i18n). */
|
|
@@ -397,12 +390,9 @@ declare class StrctIcon {
|
|
|
397
390
|
protected readonly countText: _angular_core.Signal<string | null>;
|
|
398
391
|
/** 1.2em of the icon size, floored at 14px, as the badge's box. */
|
|
399
392
|
protected readonly countFontSize: _angular_core.Signal<number>;
|
|
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
|
-
*/
|
|
393
|
+
/** The mode as drawn. */
|
|
404
394
|
readonly shownMode: _angular_core.Signal<StrctIconMode>;
|
|
405
|
-
/** The badge as drawn
|
|
395
|
+
/** The badge as drawn. */
|
|
406
396
|
readonly shownBadge: _angular_core.Signal<StrctIconBadge>;
|
|
407
397
|
/** The label the glyph carries: its own, plus the count and the mode. */
|
|
408
398
|
protected readonly accessibleLabel: _angular_core.Signal<string>;
|
|
@@ -2357,59 +2347,6 @@ declare class StrctDropdownDivider {
|
|
|
2357
2347
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDropdownDivider, "strct-dropdown-divider", never, {}, {}, never, never, true, never>;
|
|
2358
2348
|
}
|
|
2359
2349
|
|
|
2360
|
-
/**
|
|
2361
|
-
* Right-click (context) menu. Wraps a trigger area and shows a menu at the
|
|
2362
|
-
* cursor. Reuse `strct-dropdown-item` for the entries:
|
|
2363
|
-
* <strct-context-menu>
|
|
2364
|
-
* <div>Right-click here</div>
|
|
2365
|
-
* <ng-container strctContextMenuItems>
|
|
2366
|
-
* <strct-dropdown-item>Open</strct-dropdown-item>
|
|
2367
|
-
* <strct-dropdown-item critical>Delete</strct-dropdown-item>
|
|
2368
|
-
* </ng-container>
|
|
2369
|
-
* </strct-context-menu>
|
|
2370
|
-
*
|
|
2371
|
-
* Keyboard model mirrors `StrctMenuPanel` (menu.ts): focus moves into the
|
|
2372
|
-
* menu on open, Arrow/Home/End roam it, Enter/Space picks the active item,
|
|
2373
|
-
* Escape closes with stopPropagation, and focus returns to the trigger.
|
|
2374
|
-
*
|
|
2375
|
-
* @deprecated Prefer the data-driven `[strctContextMenu]` directive backed by
|
|
2376
|
-
* `StrctMenuService` (menu.ts) for new code — same visual menu, portaled into
|
|
2377
|
-
* `<body>`, with submenus and item actions.
|
|
2378
|
-
*/
|
|
2379
|
-
declare class StrctContextMenu {
|
|
2380
|
-
readonly open: _angular_core.WritableSignal<boolean>;
|
|
2381
|
-
readonly x: _angular_core.WritableSignal<number>;
|
|
2382
|
-
readonly y: _angular_core.WritableSignal<number>;
|
|
2383
|
-
protected readonly menuEl: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
2384
|
-
/** Index within the navigable (non-disabled) items. */
|
|
2385
|
-
protected readonly activeIndex: _angular_core.WritableSignal<number>;
|
|
2386
|
-
/** Element focused before opening — focus returns here on close. */
|
|
2387
|
-
private restoreTo;
|
|
2388
|
-
onContextMenu(event: MouseEvent): void;
|
|
2389
|
-
close(): void;
|
|
2390
|
-
/** Keyboard-reachable `strct-dropdown-item` elements in DOM order: enabled
|
|
2391
|
-
* ones, plus disabled ones that carry a hint (so the reason can be read). */
|
|
2392
|
-
private navItems;
|
|
2393
|
-
/**
|
|
2394
|
-
* Focus-based roving: items keep the `tabindex="-1"` their host binding
|
|
2395
|
-
* sets (so Tab never stops mid-menu), the active element moves instead.
|
|
2396
|
-
*/
|
|
2397
|
-
protected focusItem(i: number): void;
|
|
2398
|
-
/** Re-position with the measured box so the menu stays inside the viewport. */
|
|
2399
|
-
private clampToViewport;
|
|
2400
|
-
/** Close on a real item pick only — padding / divider misclicks keep the menu open. */
|
|
2401
|
-
protected onMenuClick(event: MouseEvent): void;
|
|
2402
|
-
/** Keep the arrow-key anchor in sync with the hovered item. */
|
|
2403
|
-
protected onMenuMouseOver(event: MouseEvent): void;
|
|
2404
|
-
protected onMenuKeydown(event: KeyboardEvent): void;
|
|
2405
|
-
protected onDocClick(event: MouseEvent): void;
|
|
2406
|
-
/** Fallback for focus landing outside the panel; in-panel Escape stops first. */
|
|
2407
|
-
protected onEscape(event: Event): void;
|
|
2408
|
-
protected onResize(): void;
|
|
2409
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctContextMenu, never>;
|
|
2410
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctContextMenu, "strct-context-menu", never, {}, {}, never, ["*", "[strctContextMenuItems]"], true, never>;
|
|
2411
|
-
}
|
|
2412
|
-
|
|
2413
2350
|
/**
|
|
2414
2351
|
* A nested fly-out inside a `strct-context-menu` or `strct-dropdown`. Opens on
|
|
2415
2352
|
* hover, click/tap, or the keyboard (Enter / Space / → — focus then moves into
|
|
@@ -4730,7 +4667,7 @@ declare class StrctDatagridActionBar {
|
|
|
4730
4667
|
* Interactive data table: sortable columns, row selection (Shift-click a row
|
|
4731
4668
|
* checkbox to carry its new state across a whole block), expandable detail
|
|
4732
4669
|
* rows, a batch action bar and built-in paging.
|
|
4733
|
-
* <strct-datagrid [columns]="cols" [rows]="data"
|
|
4670
|
+
* <strct-datagrid [columns]="cols" [rows]="data" [selection]="{ enabled: true }" [paging]="{ pageSize: 10 }" expandable>
|
|
4734
4671
|
* <button strct-button strctDatagridActions size="sm">Migrate</button>
|
|
4735
4672
|
* <ng-template strctRowDetail let-row> … </ng-template>
|
|
4736
4673
|
* </strct-datagrid>
|
|
@@ -4740,26 +4677,19 @@ declare class StrctDatagrid {
|
|
|
4740
4677
|
readonly columns: _angular_core.InputSignal<StrctDatagridColumn[]>;
|
|
4741
4678
|
/** Data rows. */
|
|
4742
4679
|
readonly rows: _angular_core.InputSignal<StrctRow[]>;
|
|
4743
|
-
/** Rows per page (0 disables paging). */
|
|
4744
|
-
readonly pageSizeFlat: _angular_core.InputSignal<number>;
|
|
4745
|
-
/** Enable row selection. */
|
|
4746
|
-
readonly selectableFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4747
4680
|
/** Expand a row in place to reveal its detail template below it. */
|
|
4748
4681
|
readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4749
4682
|
/** Collapse the grid to a single column and open a side detail pane for the
|
|
4750
4683
|
* clicked row (distinct from {@link expandable}). */
|
|
4751
|
-
readonly detailPaneFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4752
4684
|
/**
|
|
4753
4685
|
* How wide the list column is while the pane is open — px or any CSS width.
|
|
4754
4686
|
* 260px cuts a test name like "Validate Switch Enabled Teaming
|
|
4755
4687
|
* Configurations" in half and hides its status.
|
|
4756
4688
|
*/
|
|
4757
|
-
readonly paneListWidthFlat: _angular_core.InputSignal<string>;
|
|
4758
4689
|
/**
|
|
4759
4690
|
* Below this container width (px) the pane takes the list's place, with a
|
|
4760
4691
|
* way back in its header, rather than squeezing both into a phone.
|
|
4761
4692
|
*/
|
|
4762
|
-
readonly paneTakeoverWidthFlat: _angular_core.InputSignal<number>;
|
|
4763
4693
|
/**
|
|
4764
4694
|
* The row whose pane is open, two-way: a "what to do next" chip opens the
|
|
4765
4695
|
* finding it settles, a URL fragment deep-links to a test, `null` closes it.
|
|
@@ -4780,8 +4710,6 @@ declare class StrctDatagrid {
|
|
|
4780
4710
|
readonly resizable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4781
4711
|
/** Show a column-chooser dropdown in the footer. */
|
|
4782
4712
|
readonly columnChooser: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4783
|
-
/** Show a refresh button in the footer. */
|
|
4784
|
-
readonly syncFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4785
4713
|
/** Disable all footer action buttons (sync, column chooser, etc.). */
|
|
4786
4714
|
readonly footerActionsDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4787
4715
|
/**
|
|
@@ -4796,7 +4724,6 @@ declare class StrctDatagrid {
|
|
|
4796
4724
|
* exactly one row is grid behaviour rather than a column of radios the
|
|
4797
4725
|
* consumer builds and wires by hand.
|
|
4798
4726
|
*/
|
|
4799
|
-
readonly selectionModeFlat: _angular_core.InputSignal<"none" | "multiple" | "single">;
|
|
4800
4727
|
/** Two-way single selection: the row id (per `rowId`), or null. */
|
|
4801
4728
|
readonly selectedId: _angular_core.ModelSignal<unknown>;
|
|
4802
4729
|
/**
|
|
@@ -4804,21 +4731,12 @@ declare class StrctDatagrid {
|
|
|
4804
4731
|
* it AND say why — shown as the row's tooltip and given to assistive tech as
|
|
4805
4732
|
* the control's description, following the `hint` convention.
|
|
4806
4733
|
*/
|
|
4807
|
-
readonly rowSelectableFlat: _angular_core.InputSignal<((row: StrctRow) => boolean | string) | null>;
|
|
4808
4734
|
/** No outer border, radius or shadow — for a grid inside a bordered panel. */
|
|
4809
4735
|
readonly flush: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4810
4736
|
/** The grid's title, rendered above the header and used as its accessible name. */
|
|
4811
4737
|
readonly caption: _angular_core.InputSignal<string>;
|
|
4812
|
-
/** Whether there is another slice to ask for. */
|
|
4813
|
-
readonly hasMoreFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4814
|
-
/** A slice is on its way: the button waits with a spinner. */
|
|
4815
|
-
readonly loadingMoreFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4816
|
-
/** The grand total, when the API knows it — "Showing the latest 50 of 812". */
|
|
4817
|
-
readonly moreTotalFlat: _angular_core.InputSignal<number | null>;
|
|
4818
4738
|
/** The user asked for the next slice. */
|
|
4819
4739
|
readonly loadMore: _angular_core.OutputEmitterRef<void>;
|
|
4820
|
-
/** With `groupBy` and multiple selection: a tri-state checkbox per group. */
|
|
4821
|
-
readonly groupSelectFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4822
4740
|
/**
|
|
4823
4741
|
* Per-row action menu resolver. When set, each row gets a trailing actions
|
|
4824
4742
|
* column with a vertical-dots (kebab) button that opens this row's menu.
|
|
@@ -4831,7 +4749,6 @@ declare class StrctDatagrid {
|
|
|
4831
4749
|
* `selectable`. Assigning a new array (e.g. when opening a dialog) re-seeds the
|
|
4832
4750
|
* selection; the user's subsequent toggles are preserved until the next change.
|
|
4833
4751
|
*/
|
|
4834
|
-
readonly initialSelectionFlat: _angular_core.InputSignal<readonly unknown[] | null>;
|
|
4835
4752
|
/**
|
|
4836
4753
|
* The selection itself, two-way, for `selectionMode="multiple"` — what
|
|
4837
4754
|
* `selectedId` is for single mode. Write it and the grid checks those rows
|
|
@@ -4885,30 +4802,22 @@ declare class StrctDatagrid {
|
|
|
4885
4802
|
pageOf: (page: number, pages: number) => string;
|
|
4886
4803
|
rowsMatch: (shown: number, total: number) => string;
|
|
4887
4804
|
}>;
|
|
4888
|
-
/** Scroll viewport height in px (virtual mode). */
|
|
4889
|
-
readonly viewportHeightFlat: _angular_core.InputSignal<number>;
|
|
4890
4805
|
/**
|
|
4891
4806
|
* Show a pencil on an editable cell when it is hovered or focused. A mouse
|
|
4892
4807
|
* user finds an editable cell by double-clicking one; nothing said so.
|
|
4893
4808
|
*/
|
|
4894
4809
|
readonly editHint: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4895
|
-
/** Uniform row height in px (virtual mode; tune when `compact`). */
|
|
4896
|
-
readonly rowHeightFlat: _angular_core.InputSignal<number>;
|
|
4897
4810
|
/**
|
|
4898
4811
|
* Server-side mode: the grid never sorts or slices `rows` itself — it shows
|
|
4899
4812
|
* them as given and emits `(lazyLoad)` with `{ page, pageSize, sortKey,
|
|
4900
4813
|
* sortDir }` whenever the user pages or sorts (and once on init). Provide
|
|
4901
4814
|
* `total` so the pager and count reflect the full server-side set.
|
|
4902
4815
|
*/
|
|
4903
|
-
readonly lazyFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4904
|
-
/** Total row count on the server (lazy mode). */
|
|
4905
|
-
readonly totalFlat: _angular_core.InputSignal<number | null>;
|
|
4906
4816
|
/**
|
|
4907
4817
|
* Persist the user's column widths + hidden columns under this key in
|
|
4908
4818
|
* localStorage (`strct-dg:<key>`), restoring them on init. For full control
|
|
4909
4819
|
* use the two-way `columnState` instead (both may be combined).
|
|
4910
4820
|
*/
|
|
4911
|
-
readonly stateKeyFlat: _angular_core.InputSignal<string | null>;
|
|
4912
4821
|
/** User column preferences (two-way): widths from resize, hidden from the chooser. */
|
|
4913
4822
|
readonly columnState: _angular_core.ModelSignal<StrctDatagridColumnState | null>;
|
|
4914
4823
|
/** Let the user reorder data columns by dragging their headers. */
|
|
@@ -4918,15 +4827,11 @@ declare class StrctDatagrid {
|
|
|
4918
4827
|
* per distinct value (with a count), respecting the current sort within
|
|
4919
4828
|
* groups. Paging is bypassed while grouped; not combinable with `virtual`.
|
|
4920
4829
|
*/
|
|
4921
|
-
readonly groupByFlat: _angular_core.InputSignal<string | null>;
|
|
4922
4830
|
/**
|
|
4923
4831
|
* The groups themselves, beside `groupBy`: their order, their labels, a
|
|
4924
4832
|
* tone, a note, whether they start folded and a count of the consumer's
|
|
4925
4833
|
* own. Values no group mentions follow, in the order the rows arrived.
|
|
4926
4834
|
*/
|
|
4927
|
-
readonly groupsFlat: _angular_core.InputSignal<readonly StrctDatagridGroup[] | null>;
|
|
4928
|
-
/** Keep a declared group that holds no rows, rather than dropping it. */
|
|
4929
|
-
readonly showEmptyGroupsFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4930
4835
|
/**
|
|
4931
4836
|
* Which groups are folded, two-way — so a summary counter elsewhere on the
|
|
4932
4837
|
* page can open the group it counts.
|
|
@@ -4945,17 +4850,12 @@ declare class StrctDatagrid {
|
|
|
4945
4850
|
* paging client-side; passed through on `lazyLoad` in server mode.
|
|
4946
4851
|
*/
|
|
4947
4852
|
readonly quickFilter: _angular_core.ModelSignal<string>;
|
|
4948
|
-
/** Columns the quick term scans. Defaults to every column's `key`. */
|
|
4949
|
-
readonly quickFilterFieldsFlat: _angular_core.InputSignal<string[] | null>;
|
|
4950
|
-
/** Render the built-in quick-filter searchbox in the toolbar. */
|
|
4951
|
-
readonly quickFilterableFlat: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4952
4853
|
/**
|
|
4953
4854
|
* Where the built-in box sits in the toolbar. `'end'` (default) follows the
|
|
4954
4855
|
* console convention: action verbs lead on the left, view controls sit at
|
|
4955
4856
|
* the far right — and the box keeps a stable position across grids whose
|
|
4956
4857
|
* button sets differ.
|
|
4957
4858
|
*/
|
|
4958
|
-
readonly quickFilterAlignFlat: _angular_core.InputSignal<"end" | "start">;
|
|
4959
4859
|
/**
|
|
4960
4860
|
* Tree-grid: the row property holding a row's children array. Rows render
|
|
4961
4861
|
* hierarchically with indent + carets; sorting applies per sibling level;
|
|
@@ -4968,7 +4868,6 @@ declare class StrctDatagrid {
|
|
|
4968
4868
|
* ArrowLeft collapses an expanded one. There is no cell-level navigation —
|
|
4969
4869
|
* Tab walks the interactive elements inside each row as usual.
|
|
4970
4870
|
*/
|
|
4971
|
-
readonly childrenKeyFlat: _angular_core.InputSignal<string | null>;
|
|
4972
4871
|
/**
|
|
4973
4872
|
* `'table'` (the default) is what the grid has always been: a table whose
|
|
4974
4873
|
* controls each take a tab stop. `'grid'` is the APG grid: the table claims
|
|
@@ -4986,7 +4885,6 @@ declare class StrctDatagrid {
|
|
|
4986
4885
|
* file list selects by clicking the row, not a control in it. The row is
|
|
4987
4886
|
* then the control, so pair it with `interactionMode="grid"`.
|
|
4988
4887
|
*/
|
|
4989
|
-
readonly selectionColumnFlat: _angular_core.InputSignal<"none" | "auto">;
|
|
4990
4888
|
/**
|
|
4991
4889
|
* The row was opened: a double-click, or Enter on the focused row in grid
|
|
4992
4890
|
* mode. Selection is "which rows do I mean"; activation is "go".
|
|
@@ -5030,15 +4928,15 @@ declare class StrctDatagrid {
|
|
|
5030
4928
|
/** How rows are picked — replaces six flat inputs. */
|
|
5031
4929
|
readonly selectionCfg: _angular_core.InputSignal<StrctDatagridSelection>;
|
|
5032
4930
|
/** The detail pane — replaces three. `[pane]` on its own turns it on. */
|
|
5033
|
-
readonly
|
|
4931
|
+
readonly paneInput: _angular_core.InputSignalWithTransform<boolean | StrctDatagridPane, boolean | "" | StrctDatagridPane>;
|
|
5034
4932
|
protected readonly paneCfg: _angular_core.Signal<StrctDatagridPane>;
|
|
5035
4933
|
/** How rows are paged. Takes the mode on its own, as before, or the object. */
|
|
5036
|
-
readonly
|
|
4934
|
+
readonly pagingInput: _angular_core.InputSignal<StrctDatagridPaging | "pages" | "more">;
|
|
5037
4935
|
protected readonly pagingCfg: _angular_core.Signal<StrctDatagridPaging>;
|
|
5038
4936
|
/** Numbered pages or a "load more" footer. */
|
|
5039
4937
|
readonly paging: _angular_core.Signal<"pages" | "more">;
|
|
5040
4938
|
/** Virtual scrolling. Takes the flag on its own, as before, or the object. */
|
|
5041
|
-
readonly
|
|
4939
|
+
readonly virtualInput: _angular_core.InputSignalWithTransform<boolean | StrctDatagridVirtual, boolean | "" | StrctDatagridVirtual>;
|
|
5042
4940
|
protected readonly virtualCfg: _angular_core.Signal<StrctDatagridVirtual>;
|
|
5043
4941
|
/** Whether the grid renders only the rows in view. */
|
|
5044
4942
|
readonly virtual: _angular_core.Signal<boolean>;
|
|
@@ -5048,69 +4946,57 @@ declare class StrctDatagrid {
|
|
|
5048
4946
|
readonly filteringCfg: _angular_core.InputSignal<StrctDatagridFiltering>;
|
|
5049
4947
|
/** Remembered state — replaces `stateKey` and `sync`. */
|
|
5050
4948
|
readonly stateCfg: _angular_core.InputSignal<StrctDatagridState>;
|
|
5051
|
-
/**
|
|
5052
|
-
* The flat inputs this grid is actually given, with the object each has
|
|
5053
|
-
* moved into. "Given" is read as "not its default", which is what a
|
|
5054
|
-
* template can be checked against from inside the component.
|
|
5055
|
-
*/
|
|
5056
|
-
private readonly flatInputsInUse;
|
|
5057
|
-
/**
|
|
5058
|
-
* Dev mode says, once per app run, which flat inputs have moved — a
|
|
5059
|
-
* console line per name would be a wall in a screen with four grids, so
|
|
5060
|
-
* the names are collected and reported together.
|
|
5061
|
-
*/
|
|
5062
|
-
private reportFlatInputs;
|
|
5063
|
-
/** `[paging].pageSize` when it is set, else the flat `pageSize` (deprecated). */
|
|
4949
|
+
/** From `[paging].pageSize`. */
|
|
5064
4950
|
readonly pageSize: _angular_core.Signal<number>;
|
|
5065
|
-
/** `[selection].enabled
|
|
4951
|
+
/** From `[selection].enabled`. */
|
|
5066
4952
|
readonly selectable: _angular_core.Signal<boolean>;
|
|
5067
|
-
/** `[pane].enabled
|
|
4953
|
+
/** From `[pane].enabled`. */
|
|
5068
4954
|
readonly detailPane: _angular_core.Signal<boolean>;
|
|
5069
|
-
/** `[pane].listWidth
|
|
4955
|
+
/** From `[pane].listWidth`. */
|
|
5070
4956
|
readonly paneListWidth: _angular_core.Signal<string>;
|
|
5071
|
-
/** `[pane].takeoverWidth
|
|
4957
|
+
/** From `[pane].takeoverWidth`. */
|
|
5072
4958
|
readonly paneTakeoverWidth: _angular_core.Signal<number>;
|
|
5073
|
-
/** `[state].sync
|
|
4959
|
+
/** From `[state].sync`. */
|
|
5074
4960
|
readonly sync: _angular_core.Signal<boolean>;
|
|
5075
|
-
/** `[selection].mode
|
|
4961
|
+
/** From `[selection].mode`. */
|
|
5076
4962
|
readonly selectionMode: _angular_core.Signal<"none" | "multiple" | "single">;
|
|
5077
|
-
/** `[selection].rowSelectable
|
|
4963
|
+
/** From `[selection].rowSelectable`. */
|
|
5078
4964
|
readonly rowSelectable: _angular_core.Signal<((row: StrctRow) => boolean | string) | null>;
|
|
5079
|
-
/** `[paging].hasMore
|
|
4965
|
+
/** From `[paging].hasMore`. */
|
|
5080
4966
|
readonly hasMore: _angular_core.Signal<boolean>;
|
|
5081
|
-
/** `[paging].loadingMore
|
|
4967
|
+
/** From `[paging].loadingMore`. */
|
|
5082
4968
|
readonly loadingMore: _angular_core.Signal<boolean>;
|
|
5083
|
-
/** `[paging].moreTotal
|
|
4969
|
+
/** From `[paging].moreTotal`. */
|
|
5084
4970
|
readonly moreTotal: _angular_core.Signal<number | null>;
|
|
5085
|
-
/** `[selection].groupSelect
|
|
4971
|
+
/** From `[selection].groupSelect`. */
|
|
5086
4972
|
readonly groupSelect: _angular_core.Signal<boolean>;
|
|
5087
|
-
/** `[selection].initial
|
|
4973
|
+
/** From `[selection].initial`. */
|
|
5088
4974
|
readonly initialSelection: _angular_core.Signal<readonly unknown[] | null>;
|
|
5089
|
-
/** `[virtual].viewportHeight
|
|
4975
|
+
/** From `[virtual].viewportHeight`. */
|
|
5090
4976
|
readonly viewportHeight: _angular_core.Signal<number>;
|
|
5091
|
-
/** `[virtual].rowHeight
|
|
4977
|
+
/** From `[virtual].rowHeight`. */
|
|
5092
4978
|
readonly rowHeight: _angular_core.Signal<number>;
|
|
5093
|
-
/** `[paging].lazy
|
|
4979
|
+
/** From `[paging].lazy`. */
|
|
5094
4980
|
readonly lazy: _angular_core.Signal<boolean>;
|
|
5095
|
-
/** `[paging].total
|
|
4981
|
+
/** From `[paging].total`. */
|
|
5096
4982
|
readonly total: _angular_core.Signal<number | null>;
|
|
5097
|
-
/** `[state].key
|
|
4983
|
+
/** From `[state].key`. */
|
|
5098
4984
|
readonly stateKey: _angular_core.Signal<string | null>;
|
|
5099
|
-
/** `[grouping].by
|
|
4985
|
+
/** From `[grouping].by`. */
|
|
5100
4986
|
readonly groupBy: _angular_core.Signal<string | null>;
|
|
5101
|
-
/** `[grouping].groups
|
|
5102
|
-
readonly groups: _angular_core.Signal<readonly StrctDatagridGroup[] | null>;
|
|
5103
|
-
/** `[grouping].showEmpty
|
|
4987
|
+
/** From `[grouping].groups`. */
|
|
4988
|
+
readonly groups: _angular_core.Signal<readonly _akcelik_strct.StrctDatagridGroup[] | null>;
|
|
4989
|
+
/** From `[grouping].showEmpty`. */
|
|
5104
4990
|
readonly showEmptyGroups: _angular_core.Signal<boolean>;
|
|
5105
|
-
/** `[filtering].fields
|
|
4991
|
+
/** From `[filtering].fields`. */
|
|
5106
4992
|
readonly quickFilterFields: _angular_core.Signal<string[] | null>;
|
|
5107
|
-
/** `[filtering].quick
|
|
4993
|
+
/** From `[filtering].quick`. */
|
|
5108
4994
|
readonly quickFilterable: _angular_core.Signal<boolean>;
|
|
5109
|
-
/** `[filtering].align
|
|
4995
|
+
/** From `[filtering].align`. */
|
|
5110
4996
|
readonly quickFilterAlign: _angular_core.Signal<"end" | "start">;
|
|
5111
|
-
/** `[grouping].childrenKey
|
|
4997
|
+
/** From `[grouping].childrenKey`. */
|
|
5112
4998
|
readonly childrenKey: _angular_core.Signal<string | null>;
|
|
5113
|
-
/** `[selection].column
|
|
4999
|
+
/** From `[selection].column`. */
|
|
5114
5000
|
readonly selectionColumn: _angular_core.Signal<"none" | "auto">;
|
|
5115
5001
|
private readonly menu;
|
|
5116
5002
|
protected readonly detailDef: _angular_core.Signal<StrctRowDetailDef | undefined>;
|
|
@@ -5543,7 +5429,7 @@ declare class StrctDatagrid {
|
|
|
5543
5429
|
private compareRows;
|
|
5544
5430
|
private compare;
|
|
5545
5431
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctDatagrid, never>;
|
|
5546
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "
|
|
5432
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctDatagrid, "strct-datagrid", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rows": { "alias": "rows"; "required": true; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "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; }; "footerActionsDisabled": { "alias": "footerActionsDisabled"; "required": false; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "editHint": { "alias": "editHint"; "required": false; "isSignal": true; }; "columnState": { "alias": "columnState"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "collapsedGroups": { "alias": "collapsedGroups"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "quickFilter": { "alias": "quickFilter"; "required": false; "isSignal": true; }; "interactionMode": { "alias": "interactionMode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "selectionCfg": { "alias": "selection"; "required": false; "isSignal": true; }; "paneInput": { "alias": "pane"; "required": false; "isSignal": true; }; "pagingInput": { "alias": "paging"; "required": false; "isSignal": true; }; "virtualInput": { "alias": "virtual"; "required": false; "isSignal": true; }; "groupingCfg": { "alias": "grouping"; "required": false; "isSignal": true; }; "filteringCfg": { "alias": "filtering"; "required": false; "isSignal": true; }; "stateCfg": { "alias": "state"; "required": false; "isSignal": true; }; }, { "activeRowId": "activeRowIdChange"; "selectedId": "selectedIdChange"; "loadMore": "loadMore"; "selectedIds": "selectedIdsChange"; "columnState": "columnStateChange"; "collapsedGroups": "collapsedGroupsChange"; "filters": "filtersChange"; "quickFilter": "quickFilterChange"; "rowActivate": "rowActivate"; "selectionChange": "selectionChange"; "syncChange": "syncChange"; "rowAction": "rowAction"; "lazyLoad": "lazyLoad"; "cellEdit": "cellEdit"; }, ["detailDef", "groupHeaderDef", "paneTitleDef", "actionBarDef", "actionBarCaptionDef", "cellDefs"], ["[strctDatagridActionBarCaption]", "[strctDatagridActionBar]", "[strctDetailPaneTitle]", "[strctDetailPaneMeta]", "[strctDetailPaneActions]"], true, never>;
|
|
5547
5433
|
}
|
|
5548
5434
|
|
|
5549
5435
|
/** Timeline node state colors. */
|
|
@@ -9112,5 +8998,5 @@ declare class StrctProductSwitcher {
|
|
|
9112
8998
|
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>;
|
|
9113
8999
|
}
|
|
9114
9000
|
|
|
9115
|
-
export { DG_LABELS, 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,
|
|
9001
|
+
export { DG_LABELS, 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, 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 };
|
|
9116
9002
|
export type { SortDir, StrctAlertType, StrctAvatarSize, StrctAvatarStatus, StrctBadgeStatus, StrctButtonSize, StrctButtonVariant, StrctCascadeOption, StrctCellContext, StrctChartAnnotation, StrctChartColor, StrctChartCurve, StrctChartSeries, StrctChartSlot, StrctChartStatus, StrctChartSummaryInfo, StrctChartThreshold, StrctChartType, StrctChatAuthor, StrctColumn, StrctCommandItem, StrctConfirmOptions, StrctConfirmTone, StrctDatagridColumn, StrctDatagridColumnState, StrctDatagridFiltering, StrctDatagridFilters, StrctDatagridGroup, StrctDatagridGrouping, StrctDatagridLabels, StrctDatagridLazyState, StrctDatagridPaging, StrctDatagridPane, StrctDatagridSelection, StrctDatagridState, StrctDatagridVirtual, 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 };
|