yukit-web 0.11.2 → 0.11.4

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.11.2",
4
+ "version": "0.11.4",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -6885,8 +6885,13 @@ export declare class YuwsActiveStatusCellComponent {
6885
6885
  };
6886
6886
  }, {}, never, never, true, never>;
6887
6887
  }
6888
- /** Avatar size of the cell: `sm` for entity listings, `md` for the 45x45 thumbnails of catalog listings. */
6889
- export type YuwsAvatarNameCellSize = 'sm' | 'md';
6888
+ /**
6889
+ * Avatar size of the cell: `sm` for entity listings, `base` (36x36) as tall as the name and its second line, so a
6890
+ * bigger image does not grow the row, and `md` for the 45x45 thumbnails of catalog listings.
6891
+ */
6892
+ export type YuwsAvatarNameCellSize = 'sm' | 'base' | 'md';
6893
+ /** Avatar shape of the cell: `square` by default, `circle` where a round avatar is wanted, such as people. */
6894
+ export type YuwsAvatarNameCellShape = 'circle' | 'square';
6890
6895
  /**
6891
6896
  * `meta.headerClass` of a column of these cells, by avatar size: it indents the title past the avatar and the gap, so
6892
6897
  * it lines up with the name.
@@ -6901,17 +6906,20 @@ export declare const YUWS_AVATAR_NAME_HEADER_CLASS: Readonly<Record<YuwsAvatarNa
6901
6906
  * - `imageUrl`: Image of the row. Default is `undefined`.
6902
6907
  * - `name` (required): Visible name; also the avatar's alternative text.
6903
6908
  * - `description`: Second line under the name; omitted when empty. Default is `undefined`.
6904
- * - `size`: Avatar size (`'sm'`, `'md'`). Default is `'sm'`.
6909
+ * - `shape`: Avatar shape (`'circle'`, `'square'`). Default is `'square'`.
6910
+ * - `size`: Avatar size (`'sm'`, `'base'`, `'md'`). Default is `'sm'`.
6905
6911
  */
6906
6912
  export declare class YuwsAvatarNameCellComponent {
6907
6913
  readonly description: import("@angular/core").InputSignal<string | undefined>;
6908
6914
  readonly imageUrl: import("@angular/core").InputSignal<string | undefined>;
6909
6915
  readonly name: import("@angular/core").InputSignal<string>;
6916
+ readonly shape: import("@angular/core").InputSignal<YuwsAvatarNameCellShape>;
6910
6917
  readonly size: import("@angular/core").InputSignal<YuwsAvatarNameCellSize>;
6911
6918
  protected readonly avatar: import("@angular/core").Signal<{
6912
6919
  size: YuwAvatarSizeDto;
6913
6920
  class: string;
6914
6921
  }>;
6922
+ protected readonly avatarClass: import("@angular/core").Signal<string>;
6915
6923
  protected readonly initials: import("@angular/core").Signal<string>;
6916
6924
  static ɵfac: i0.ɵɵFactoryDeclaration<YuwsAvatarNameCellComponent, never>;
6917
6925
  static ɵcmp: i0.ɵɵComponentDeclaration<YuwsAvatarNameCellComponent, "yuws-avatar-name-cell", never, {
@@ -6930,6 +6938,11 @@ export declare class YuwsAvatarNameCellComponent {
6930
6938
  "required": true;
6931
6939
  "isSignal": true;
6932
6940
  };
6941
+ "shape": {
6942
+ "alias": "shape";
6943
+ "required": false;
6944
+ "isSignal": true;
6945
+ };
6933
6946
  "size": {
6934
6947
  "alias": "size";
6935
6948
  "required": false;
@@ -7963,6 +7976,8 @@ export declare class YuwsListPaginationComponent {
7963
7976
  * - `backLabel`: Text of the back button, which renders only when set; on small screens only its arrow shows.
7964
7977
  * - `description`: Optional subtitle under the title.
7965
7978
  * - `imageUrl`: Image of the entity, shown before the title, which renders only when set; `title` is its alt text.
7979
+ * - `imageFallback`: Text in the image's place, such as initials, while it loads, when it fails, or when there is none.
7980
+ * The avatar renders when either this or `imageUrl` is set.
7966
7981
  * - `primaryDisabled`: Disables the primary action, which stays visible but ignores clicks, e.g. while the list it creates items for is loading.
7967
7982
  * - `primaryIcon`: Icon name shown in the primary action.
7968
7983
  * - `primaryLabel`: Text of the primary action, which renders only when set.
@@ -7979,6 +7994,7 @@ export declare class YuwsListPaginationComponent {
7979
7994
  export declare class YuwsPageHeaderComponent {
7980
7995
  readonly backLabel: import("@angular/core").InputSignal<string | undefined>;
7981
7996
  readonly description: import("@angular/core").InputSignal<string | undefined>;
7997
+ readonly imageFallback: import("@angular/core").InputSignal<string | undefined>;
7982
7998
  readonly imageUrl: import("@angular/core").InputSignal<string | undefined>;
7983
7999
  readonly primaryDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
7984
8000
  readonly primaryIcon: import("@angular/core").InputSignal<string | undefined>;
@@ -8004,6 +8020,11 @@ export declare class YuwsPageHeaderComponent {
8004
8020
  "required": false;
8005
8021
  "isSignal": true;
8006
8022
  };
8023
+ "imageFallback": {
8024
+ "alias": "imageFallback";
8025
+ "required": false;
8026
+ "isSignal": true;
8027
+ };
8007
8028
  "imageUrl": {
8008
8029
  "alias": "imageUrl";
8009
8030
  "required": false;
@@ -8375,6 +8396,7 @@ export declare class YuwsFilterContentDirective {
8375
8396
  * - `labels`: Required `YuwsListToolbarLabels` with the consumer's translated text for every control.
8376
8397
  * - `search`: Two-way (`[(search)]`) text of the search field. Default is `''`.
8377
8398
  * - `searchPlaceholder`: Placeholder of the search field; the search renders only when set.
8399
+ * - `shareFormats`: Formats the share menu offers, in its own order. Default is every `YuwTableShareFormat`.
8378
8400
  * - `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.
8379
8401
  * - `shareTitle`: Title of what the share menu prints and downloads, and name of its files.
8380
8402
  * - `serverSideFormats`: Share formats the consumer's server builds: picking one emits `shareRequested` instead of
@@ -8403,6 +8425,7 @@ export declare class YuwsListToolbarComponent {
8403
8425
  readonly searchPlaceholder: import("@angular/core").InputSignal<string | undefined>;
8404
8426
  readonly selection: import("@angular/core").ModelSignal<Readonly<Record<string, import("yukit-web").YuwsFilterValue>>>;
8405
8427
  readonly serverSideFormats: import("@angular/core").InputSignal<readonly YuwTableShareFormat[]>;
8428
+ readonly shareFormats: import("@angular/core").InputSignal<readonly YuwTableShareFormat[]>;
8406
8429
  readonly shareSource: import("@angular/core").InputSignal<YuwTableShareSource | undefined>;
8407
8430
  readonly shareTitle: import("@angular/core").InputSignal<string | undefined>;
8408
8431
  readonly showExport: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -8477,6 +8500,11 @@ export declare class YuwsListToolbarComponent {
8477
8500
  "required": false;
8478
8501
  "isSignal": true;
8479
8502
  };
8503
+ "shareFormats": {
8504
+ "alias": "shareFormats";
8505
+ "required": false;
8506
+ "isSignal": true;
8507
+ };
8480
8508
  "shareSource": {
8481
8509
  "alias": "shareSource";
8482
8510
  "required": false;