yukit-web 0.10.3 → 0.10.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.10.3",
4
+ "version": "0.10.4",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -416,6 +416,8 @@ type YuwComboboxValue = string | string[] | undefined;
416
416
  * `<yuw-button>` size of the same name. Applies to whichever control shape renders; the popover
417
417
  * panel and its inner search field keep their own compact sizing.
418
418
  * - `multiple`: Enables multi-selection mode with removable tags/chips.
419
+ * - `checkboxes`: Leads each option with a `yuw-checkbox` showing whether it is selected, in place of the trailing
420
+ * check, for a list read as a checklist (which columns to show, say). Ignored by a `yuwComboboxItem` template.
419
421
  * - `disabled`: Disables combobox interaction.
420
422
  * - `placeholder`: Placeholder text when no option is selected.
421
423
  * - `searchPlaceholder`: Placeholder of the search field inside the popover of a button-shaped control
@@ -472,6 +474,7 @@ declare class YuwComboboxComponent<TData = unknown> extends YuwValueAccessorBase
472
474
  private readonly _singleBox;
473
475
  protected readonly itemTemplate: _angular_core.Signal<YuwComboboxItemDirective<TData> | undefined>;
474
476
  protected readonly triggerTemplate: _angular_core.Signal<YuwComboboxTriggerDirective | undefined>;
477
+ readonly checkboxes: _angular_core.InputSignalWithTransform<boolean, unknown>;
475
478
  readonly clearAriaLabel: _angular_core.InputSignal<string | undefined>;
476
479
  readonly emptyText: _angular_core.InputSignal<string | undefined>;
477
480
  readonly helperText: _angular_core.InputSignal<string | undefined>;
@@ -500,6 +503,7 @@ declare class YuwComboboxComponent<TData = unknown> extends YuwValueAccessorBase
500
503
  protected readonly _contentClass: _angular_core.Signal<"" | "w-auto min-w-56 max-w-80">;
501
504
  protected readonly _controlId: _angular_core.Signal<string>;
502
505
  protected readonly _fieldClass: _angular_core.Signal<string>;
506
+ protected readonly _itemClass: _angular_core.Signal<"" | "cursor-pointer! gap-3! pe-1.5! [&>ng-icon]:hidden!">;
503
507
  private readonly _labelByValue;
504
508
  protected readonly _multipleValue: _angular_core.Signal<string[]>;
505
509
  protected readonly _searchInPanel: _angular_core.Signal<boolean>;
@@ -530,7 +534,7 @@ declare class YuwComboboxComponent<TData = unknown> extends YuwValueAccessorBase
530
534
  */
531
535
  private _guardEscape;
532
536
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwComboboxComponent<any>, never>;
533
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwComboboxComponent<any>, "yuw-combobox", never, { "clearAriaLabel": { "alias": "clearAriaLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "keepValueOnEscape": { "alias": "keepValueOnEscape"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlyTrigger": { "alias": "readonlyTrigger"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "triggerAriaLabel": { "alias": "triggerAriaLabel"; "required": true; "isSignal": true; }; "triggerClass": { "alias": "triggerClass"; "required": false; "isSignal": true; }; "triggerColor": { "alias": "triggerColor"; "required": false; "isSignal": true; }; "triggerSize": { "alias": "triggerSize"; "required": false; "isSignal": true; }; "triggerVariant": { "alias": "triggerVariant"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "search": "searchChange"; "value": "valueChange"; }, ["itemTemplate", "triggerTemplate"], ["[yuwComboboxHeader]", "[yuwComboboxFooter]"], true, never>;
537
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwComboboxComponent<any>, "yuw-combobox", never, { "checkboxes": { "alias": "checkboxes"; "required": false; "isSignal": true; }; "clearAriaLabel": { "alias": "clearAriaLabel"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "keepValueOnEscape": { "alias": "keepValueOnEscape"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonlyTrigger": { "alias": "readonlyTrigger"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "triggerAriaLabel": { "alias": "triggerAriaLabel"; "required": true; "isSignal": true; }; "triggerClass": { "alias": "triggerClass"; "required": false; "isSignal": true; }; "triggerColor": { "alias": "triggerColor"; "required": false; "isSignal": true; }; "triggerSize": { "alias": "triggerSize"; "required": false; "isSignal": true; }; "triggerVariant": { "alias": "triggerVariant"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "search": "searchChange"; "value": "valueChange"; }, ["itemTemplate", "triggerTemplate"], ["[yuwComboboxHeader]", "[yuwComboboxFooter]"], true, never>;
534
538
  }
535
539
 
536
540
  interface YuwPageSort {
@@ -2680,9 +2684,9 @@ type YuwDatatableRowClass<TData extends RowData> = string | ((row: TData, index:
2680
2684
  * keys it by row index, so a kept selection would point at whatever rows the new data put there.
2681
2685
  * - `pagination`: Two-way pagination state (`PaginationState`). Default is `{ pageIndex: 0, pageSize: YUW_DEFAULT_PAGE_SIZE }`.
2682
2686
  * - `totalItems`: Total row count across all pages, for server-side pagination where `data` holds
2683
- * only the current page. When set, pagination becomes manual — TanStack stops slicing `data`
2684
- * itself and `getPageCount()` is derived from this count instead of `data.length`. Leave unset
2685
- * for the default client-side pagination, where `data` holds the whole dataset.
2687
+ * only the current page. When set, pagination and sorting become manual — TanStack stops slicing and
2688
+ * re-sorting `data`, which arrives already sorted, and `getPageCount()` is derived from this count instead of
2689
+ * `data.length`. Leave unset for the default client-side pagination, where `data` holds the whole dataset.
2686
2690
  *
2687
2691
  * Outputs:
2688
2692
  * - `selectedRowsChange`: Emits the selected row objects (`TData[]`) on selection changes. The
@@ -4132,7 +4136,7 @@ declare class YuwSidebarSubmenuService {
4132
4136
  * - `sidebarContainerClass`: Extra classes merged onto the desktop fixed container (the helm merges them last, so they win).
4133
4137
  * - `content`: Renders the scrollable nav from a `YuwSidebarContentDto` instead of hand-written
4134
4138
  * markup. Groups → items → optional one level of children. An item with a `route` becomes a
4135
- * `[routerLink]` anchor whose active state, `aria-current` and pointer-lock resolve automatically
4139
+ * `[routerLink]` anchor whose active state and `aria-current` resolve automatically
4136
4140
  * from `routerLinkActive`; one with an `href` becomes a plain anchor; one with neither becomes a
4137
4141
  * button that reports through `itemClicked`. An item with `children` gets a submenu that follows
4138
4142
  * the sidebar's own state: an accordion while the panel is open, and a sheet sliding out beside the
@@ -5360,7 +5364,7 @@ declare class YuwsListTableComponent<Row extends RowData> implements YuwTableSha
5360
5364
  *
5361
5365
  * Inputs:
5362
5366
  * - `disabled`: Disables the page size selector. Default is `false`.
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.
5367
+ * - `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 first option, above the largest size, asking for every row (`limit` `-1`); leave it out when the source cannot serve them.
5364
5368
  * - `list`: Required `YuwPagedList` whose page size is chosen and whose range is shown in the message.
5365
5369
  */
5366
5370
  declare class YuwsPageSizeComponent {
@@ -5580,11 +5584,12 @@ interface YuwsListToolbarColumnsLabels {
5580
5584
  readonly empty: string;
5581
5585
  }
5582
5586
  /**
5583
- * `trigger` names the share button, one entry per `YuwTableShareFormat` names its menu item, `copied` is the toast
5584
- * after a copy and `failed` the one when the browser refuses, e.g. clipboard access.
5587
+ * `trigger` names the share button, `title` heads its menu when set, one entry per `YuwTableShareFormat` names its menu
5588
+ * item, `copied` is the toast after a copy and `failed` the one when the browser refuses, e.g. clipboard access.
5585
5589
  */
5586
5590
  interface YuwsListToolbarShareLabels extends Readonly<Record<YuwTableShareFormat, string>> {
5587
5591
  readonly trigger: string;
5592
+ readonly title?: string;
5588
5593
  readonly copied: string;
5589
5594
  readonly failed: string;
5590
5595
  }