yukit-web 0.10.8 → 0.11.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,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.10.8",
4
+ "version": "0.11.0",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -4681,6 +4681,11 @@ export type YuwTooltipPositionDto = 'top' | 'bottom' | 'left' | 'right';
4681
4681
  * `mutableTooltipDisabled`, which Brain checks once the show delay elapses; blur and hover give the
4682
4682
  * `tooltipDisabled` input back.
4683
4683
  *
4684
+ * The tooltip opens in the browser's top layer, above everything, toasts included. Apps turn that off for every CDK
4685
+ * overlay (`provideSpartanHlm`, `usePopover: false`) so sheets and dialogs stay below the toaster; this directive turns
4686
+ * it back on for its own overlay only. Brain asks `Overlay` for it, and the root `Overlay` would read the root config,
4687
+ * so the directive provides its own `Overlay` beside the config.
4688
+ *
4684
4689
  * Usage:
4685
4690
  * ```html
4686
4691
  * <button yuwTooltip="Save changes" hlmBtn>Save</button>
@@ -4866,8 +4871,8 @@ export declare class YuwToasterComponent {
4866
4871
  * What `yuwCountdownToast` shows and calls. Every text comes translated from the consuming app. `color` paints the bar
4867
4872
  * and, being `destructive`, `success`, `warning` or `info`, gives the toast that type's icon; any other color shows a
4868
4873
  * plain toast. Default is `'destructive'`. `cancelLabel` is the accessible name and tooltip of the undo icon button
4869
- * (e.g. "Undo changes"); without it there is no undo button, for a notice that only stays `seconds` and can be closed
4870
- * with the toaster's close button.
4874
+ * (e.g. "Undo changes"); with it the toast has no close button, so it only ends by undoing or running out. Without it
4875
+ * there is no undo button, for a notice that only stays `seconds` and can be closed with the toaster's close button.
4871
4876
  */
4872
4877
  export interface YuwCountdownToastOptionsDto {
4873
4878
  color?: YuwColorDto;
@@ -8362,8 +8367,8 @@ export declare class YuwsFilterContentDirective {
8362
8367
  * - `searchPlaceholder`: Placeholder of the search field; the search renders only when set.
8363
8368
  * - `shareSource`: `YuwTableShareSource`, typically the page's `yuws-list-table`; with `labels.share` it adds a menu that copies, prints or downloads the table as PDF, Excel or CSV.
8364
8369
  * - `shareTitle`: Title of what the share menu prints and downloads, and name of its files.
8365
- * - `serverSidePrint`: The share menu's print emits `printRequested` instead of printing the table in the browser, for a
8366
- * consumer whose server builds the printout. Default is `false`.
8370
+ * - `serverSideFormats`: Share formats the consumer's server builds: picking one emits `shareRequested` instead of
8371
+ * building it in the browser. Default is `[]`.
8367
8372
  * - `selection`: Two-way (`[(selection)]`) applied filter selection, values keyed by group id. Default is `{}`.
8368
8373
  * - `showExport`: Renders the export button. Default is `false`.
8369
8374
  * - `viewMode`: Two-way (`[(viewMode)]`) `YuwsViewMode` (`'list'` or `'block'`); the list/block switch renders only when set.
@@ -8371,7 +8376,7 @@ export declare class YuwsFilterContentDirective {
8371
8376
  *
8372
8377
  * Outputs:
8373
8378
  * - `exported`: Emits the `MouseEvent` of the export button click.
8374
- * - `printRequested`: Emits when the share menu's print is picked with `serverSidePrint` set.
8379
+ * - `shareRequested`: Emits the `YuwTableShareFormat` picked when it is one of `serverSideFormats`.
8375
8380
  * - `searched`: Emits the current search text on every keystroke and when it is cleared.
8376
8381
  */
8377
8382
  export declare class YuwsListToolbarComponent {
@@ -8387,18 +8392,18 @@ export declare class YuwsListToolbarComponent {
8387
8392
  readonly search: import("@angular/core").ModelSignal<string>;
8388
8393
  readonly searchPlaceholder: import("@angular/core").InputSignal<string | undefined>;
8389
8394
  readonly selection: import("@angular/core").ModelSignal<Readonly<Record<string, import("yukit-web").YuwsFilterValue>>>;
8390
- readonly serverSidePrint: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8395
+ readonly serverSideFormats: import("@angular/core").InputSignal<readonly YuwTableShareFormat[]>;
8391
8396
  readonly shareSource: import("@angular/core").InputSignal<YuwTableShareSource | undefined>;
8392
8397
  readonly shareTitle: import("@angular/core").InputSignal<string | undefined>;
8393
8398
  readonly showExport: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8394
8399
  readonly viewMode: import("@angular/core").ModelSignal<YuwsViewMode | undefined>;
8395
8400
  readonly viewModeIcons: import("@angular/core").InputSignal<Partial<Readonly<Record<YuwsViewMode, string>>> | undefined>;
8396
8401
  readonly exported: import("@angular/core").OutputEmitterRef<MouseEvent>;
8397
- readonly printRequested: import("@angular/core").OutputEmitterRef<void>;
8398
8402
  readonly searched: import("@angular/core").OutputEmitterRef<string>;
8399
8403
  readonly setDeleted: import("@angular/core").OutputEmitterRef<string>;
8400
8404
  readonly setRenamed: import("@angular/core").OutputEmitterRef<YuwsFilterSetRenameDto>;
8401
8405
  readonly setSaved: import("@angular/core").OutputEmitterRef<YuwsFilterSetSaveDto>;
8406
+ readonly shareRequested: import("@angular/core").OutputEmitterRef<YuwTableShareFormat>;
8402
8407
  protected readonly isMobile: import("@angular/core").Signal<boolean>;
8403
8408
  static ɵfac: i0.ɵɵFactoryDeclaration<YuwsListToolbarComponent, never>;
8404
8409
  static ɵcmp: i0.ɵɵComponentDeclaration<YuwsListToolbarComponent, "yuws-list-toolbar", never, {
@@ -8457,8 +8462,8 @@ export declare class YuwsListToolbarComponent {
8457
8462
  "required": false;
8458
8463
  "isSignal": true;
8459
8464
  };
8460
- "serverSidePrint": {
8461
- "alias": "serverSidePrint";
8465
+ "serverSideFormats": {
8466
+ "alias": "serverSideFormats";
8462
8467
  "required": false;
8463
8468
  "isSignal": true;
8464
8469
  };
@@ -8493,11 +8498,11 @@ export declare class YuwsListToolbarComponent {
8493
8498
  "selection": "selectionChange";
8494
8499
  "viewMode": "viewModeChange";
8495
8500
  "exported": "exported";
8496
- "printRequested": "printRequested";
8497
8501
  "searched": "searched";
8498
8502
  "setDeleted": "setDeleted";
8499
8503
  "setRenamed": "setRenamed";
8500
8504
  "setSaved": "setSaved";
8505
+ "shareRequested": "shareRequested";
8501
8506
  }, ["filterContents"], ["*"], true, never>;
8502
8507
  }
8503
8508
  /**