@akcelik/strct 5.19.0 → 5.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akcelik/strct",
3
- "version": "5.19.0",
3
+ "version": "5.20.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",
@@ -1028,7 +1028,7 @@ declare class StrctTag {
1028
1028
  readonly activated: _angular_core.OutputEmitterRef<void>;
1029
1029
  protected onActivate(): void;
1030
1030
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctTag, never>;
1031
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTag, "strct-tag", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; "activateLabel": { "alias": "activateLabel"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "mono": { "alias": "mono"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "activated": "activated"; }, never, ["[strctTagLeading]", "*", "[strctTagLeading]", "*"], true, never>;
1031
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTag, "strct-tag", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; "activateLabel": { "alias": "activateLabel"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "mono": { "alias": "mono"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "activated": "activated"; }, never, ["[strctTagLeading]", "*"], true, never>;
1032
1032
  }
1033
1033
 
1034
1034
  /** Avatar size variants. */
@@ -4200,6 +4200,15 @@ interface StrctDatagridLabels {
4200
4200
  * reorders every row, a page replaces them, a filter hides most of them —
4201
4201
  * none of it is visible to someone who cannot see the table.
4202
4202
  */
4203
+ /** The two empty states, and the way out of the filtered one. */
4204
+ noMatches: string;
4205
+ noMatchesFor: (query: string) => string;
4206
+ clearFilters: string;
4207
+ /** The bulk-selection escape: the page is selected, everything is not. */
4208
+ pageSelected: (shown: number) => string;
4209
+ selectAllCount: (total: number) => string;
4210
+ allSelected: (total: number) => string;
4211
+ clearSelection: string;
4203
4212
  sortedAscending: (column: string) => string;
4204
4213
  sortedDescending: (column: string) => string;
4205
4214
  sortCleared: string;
@@ -4536,6 +4545,13 @@ declare class StrctDatagrid {
4536
4545
  quickFilter: string;
4537
4546
  loadMore: string;
4538
4547
  showing: (shown: number, total?: number) => string;
4548
+ noMatches: string;
4549
+ noMatchesFor: (query: string) => string;
4550
+ clearFilters: string;
4551
+ pageSelected: (shown: number) => string;
4552
+ selectAllCount: (total: number) => string;
4553
+ allSelected: (total: number) => string;
4554
+ clearSelection: string;
4539
4555
  sortedAscending: (column: string) => string;
4540
4556
  sortedDescending: (column: string) => string;
4541
4557
  sortCleared: string;
@@ -4760,6 +4776,25 @@ declare class StrctDatagrid {
4760
4776
  protected setTextFilter(key: string, value: string): void;
4761
4777
  protected optionChecked(key: string, opt: unknown): boolean;
4762
4778
  protected toggleFilterOption(key: string, opt: unknown): void;
4779
+ /**
4780
+ * The escape every bulk workflow needs: the header tick selects the page,
4781
+ * and nothing says the other pages exist. Offered only when the grid holds
4782
+ * the rows — in `lazy` mode it cannot name rows the server has not sent,
4783
+ * and selecting them would be a lie.
4784
+ */
4785
+ protected readonly bulkHint: _angular_core.Signal<{
4786
+ text: string;
4787
+ action: string;
4788
+ run: () => void;
4789
+ } | null>;
4790
+ /** Select every row the filter allows, not only the page. */
4791
+ selectAllFiltered(): void;
4792
+ /** Rows exist, but nothing the filter allows — the undoable empty. */
4793
+ protected readonly filteredAway: _angular_core.Signal<boolean>;
4794
+ protected readonly anyFilter: _angular_core.Signal<boolean>;
4795
+ protected noMatchesDescription(): string;
4796
+ /** The way back out of the filtered empty state. */
4797
+ protected clearAllFilters(): void;
4763
4798
  protected clearFilter(key: string): void;
4764
4799
  protected onDocClickOverlays(event: MouseEvent): void;
4765
4800
  /** Escape closes the topmost transient surface and hands focus back to its