yukit-web 0.11.3 → 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/fesm2022/yukit-web.mjs +83 -7
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +23 -3
package/package.json
CHANGED
package/types/yukit-web.d.ts
CHANGED
|
@@ -6885,8 +6885,13 @@ export declare class YuwsActiveStatusCellComponent {
|
|
|
6885
6885
|
};
|
|
6886
6886
|
}, {}, never, never, true, never>;
|
|
6887
6887
|
}
|
|
6888
|
-
/**
|
|
6889
|
-
|
|
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
|
-
* - `
|
|
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;
|
|
@@ -8383,6 +8396,7 @@ export declare class YuwsFilterContentDirective {
|
|
|
8383
8396
|
* - `labels`: Required `YuwsListToolbarLabels` with the consumer's translated text for every control.
|
|
8384
8397
|
* - `search`: Two-way (`[(search)]`) text of the search field. Default is `''`.
|
|
8385
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`.
|
|
8386
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.
|
|
8387
8401
|
* - `shareTitle`: Title of what the share menu prints and downloads, and name of its files.
|
|
8388
8402
|
* - `serverSideFormats`: Share formats the consumer's server builds: picking one emits `shareRequested` instead of
|
|
@@ -8411,6 +8425,7 @@ export declare class YuwsListToolbarComponent {
|
|
|
8411
8425
|
readonly searchPlaceholder: import("@angular/core").InputSignal<string | undefined>;
|
|
8412
8426
|
readonly selection: import("@angular/core").ModelSignal<Readonly<Record<string, import("yukit-web").YuwsFilterValue>>>;
|
|
8413
8427
|
readonly serverSideFormats: import("@angular/core").InputSignal<readonly YuwTableShareFormat[]>;
|
|
8428
|
+
readonly shareFormats: import("@angular/core").InputSignal<readonly YuwTableShareFormat[]>;
|
|
8414
8429
|
readonly shareSource: import("@angular/core").InputSignal<YuwTableShareSource | undefined>;
|
|
8415
8430
|
readonly shareTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
8416
8431
|
readonly showExport: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -8485,6 +8500,11 @@ export declare class YuwsListToolbarComponent {
|
|
|
8485
8500
|
"required": false;
|
|
8486
8501
|
"isSignal": true;
|
|
8487
8502
|
};
|
|
8503
|
+
"shareFormats": {
|
|
8504
|
+
"alias": "shareFormats";
|
|
8505
|
+
"required": false;
|
|
8506
|
+
"isSignal": true;
|
|
8507
|
+
};
|
|
8488
8508
|
"shareSource": {
|
|
8489
8509
|
"alias": "shareSource";
|
|
8490
8510
|
"required": false;
|