yukit-web 0.10.1 → 0.10.3

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.1",
4
+ "version": "0.10.3",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -2761,6 +2761,7 @@ declare class YuwDatatableComponent<TData extends RowData> implements OnInit, Yu
2761
2761
  protected readonly _skeletonRows: _angular_core.Signal<number[]>;
2762
2762
  protected readonly _tableClass: _angular_core.Signal<string>;
2763
2763
  protected readonly currentPage: _angular_core.WritableSignal<number>;
2764
+ protected readonly totalPages: _angular_core.Signal<number>;
2764
2765
  /**
2765
2766
  * Applies the real options once, after inputs are set.
2766
2767
  *
@@ -5295,9 +5296,10 @@ declare class YuwsImageUploadComponent {
5295
5296
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsImageUploadComponent, "yuws-image-upload", never, { "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "uploadLabel": { "alias": "uploadLabel"; "required": true; "isSignal": true; }; }, { "imageUrl": "imageUrlChange"; }, never, never, true, never>;
5296
5297
  }
5297
5298
 
5298
- /** Text of the page size selector and its range message. */
5299
+ /** Text of the page size selector and its range message; without `all` the selector offers no option for every row. */
5299
5300
  interface YuwsPageSizeLabels {
5300
5301
  readonly label: string;
5302
+ readonly all?: string;
5301
5303
  readonly empty: string;
5302
5304
  readonly range: (range: YuwPageRange) => string;
5303
5305
  }
@@ -5358,7 +5360,7 @@ declare class YuwsListTableComponent<Row extends RowData> implements YuwTableSha
5358
5360
  *
5359
5361
  * Inputs:
5360
5362
  * - `disabled`: Disables the page size selector. Default is `false`.
5361
- * - `labels`: Required `YuwsPageSizeLabels` with the selector label, the text for an empty list and the function that builds the range message.
5363
+ * - `labels`: Required `YuwsPageSizeLabels` with the selector label, the text for an empty list and the function that builds the range message. Its optional `all` adds a last option asking for every row (`limit` `-1`); leave it out when the source cannot serve them.
5362
5364
  * - `list`: Required `YuwPagedList` whose page size is chosen and whose range is shown in the message.
5363
5365
  */
5364
5366
  declare class YuwsPageSizeComponent {
@@ -5366,6 +5368,7 @@ declare class YuwsPageSizeComponent {
5366
5368
  readonly labels: _angular_core.InputSignal<YuwsPageSizeLabels>;
5367
5369
  readonly list: _angular_core.InputSignal<YuwPagedList<unknown>>;
5368
5370
  protected readonly message: _angular_core.Signal<string>;
5371
+ protected readonly options: _angular_core.Signal<yukit_web.YuwComboboxOptionDto<unknown>[]>;
5369
5372
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwsPageSizeComponent, never>;
5370
5373
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsPageSizeComponent, "yuws-page-size", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": true; "isSignal": true; }; "list": { "alias": "list"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
5371
5374
  }
@@ -5551,7 +5554,8 @@ interface YuwsDatePresetLabels {
5551
5554
  * every filter, `empty` the text of a filter search with no match, `search` the placeholder of the add-filter
5552
5555
  * list's search, which renders only when set, and `datePresets` the placeholder of the presets combobox of a date
5553
5556
  * filter, required when a group has `presets` or `datePresetLabels` is set. `datePresetLabels` names the standard
5554
- * presets every date filter without its own `presets` offers; without it those filters offer none.
5557
+ * presets every date filter without its own `presets` offers; without it those filters offer none. `formatDate` writes
5558
+ * each date of a date filter's trigger in the consumer's locale; without it the datepicker's default applies.
5555
5559
  */
5556
5560
  interface YuwsListToolbarFilterLabels {
5557
5561
  readonly title: string;
@@ -5563,6 +5567,7 @@ interface YuwsListToolbarFilterLabels {
5563
5567
  readonly datePresets?: string;
5564
5568
  readonly datePresetLabels?: YuwsDatePresetLabels;
5565
5569
  readonly sets?: YuwsFilterSetLabels;
5570
+ readonly formatDate?: (date: Date) => string;
5566
5571
  }
5567
5572
  interface YuwsListToolbarSearchLabels {
5568
5573
  readonly expand: string;