@anguless/angulux 22.6.3 → 22.6.5

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.
Files changed (39) hide show
  1. package/fesm2022/anguless-angulux-button.mjs +4 -1
  2. package/fesm2022/anguless-angulux-button.mjs.map +1 -1
  3. package/fesm2022/anguless-angulux-confirmdialog.mjs +2 -0
  4. package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
  5. package/fesm2022/anguless-angulux-datepicker.mjs +17 -3
  6. package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
  7. package/fesm2022/anguless-angulux-dialog.mjs +10 -2
  8. package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
  9. package/fesm2022/anguless-angulux-dom.mjs +9 -1
  10. package/fesm2022/anguless-angulux-dom.mjs.map +1 -1
  11. package/fesm2022/anguless-angulux-drawer.mjs +5 -1
  12. package/fesm2022/anguless-angulux-drawer.mjs.map +1 -1
  13. package/fesm2022/anguless-angulux-menu.mjs +4 -1
  14. package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
  15. package/fesm2022/anguless-angulux-message.mjs +5 -2
  16. package/fesm2022/anguless-angulux-message.mjs.map +1 -1
  17. package/fesm2022/anguless-angulux-multiselect.mjs +8 -5
  18. package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
  19. package/fesm2022/anguless-angulux-overlay.mjs +11 -1
  20. package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
  21. package/fesm2022/anguless-angulux-paginator.mjs +6 -6
  22. package/fesm2022/anguless-angulux-paginator.mjs.map +1 -1
  23. package/fesm2022/anguless-angulux-select.mjs +169 -37
  24. package/fesm2022/anguless-angulux-select.mjs.map +1 -1
  25. package/fesm2022/anguless-angulux-selectbutton.mjs +2 -2
  26. package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
  27. package/fesm2022/anguless-angulux-table.mjs +36 -19
  28. package/fesm2022/anguless-angulux-table.mjs.map +1 -1
  29. package/fesm2022/anguless-angulux-tabs.mjs +7 -1
  30. package/fesm2022/anguless-angulux-tabs.mjs.map +1 -1
  31. package/fesm2022/anguless-angulux-tooltip.mjs +231 -46
  32. package/fesm2022/anguless-angulux-tooltip.mjs.map +1 -1
  33. package/fesm2022/anguless-angulux-treetable.mjs +4 -4
  34. package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
  35. package/package.json +1 -1
  36. package/types/anguless-angulux-dialog.d.ts +6 -0
  37. package/types/anguless-angulux-select.d.ts +28 -3
  38. package/types/anguless-angulux-table.d.ts +9 -0
  39. package/types/anguless-angulux-tooltip.d.ts +74 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anguless/angulux",
3
- "version": "22.6.3",
3
+ "version": "22.6.5",
4
4
  "description": "Angular 22 UI component library — a curated community fork of the last MIT release of PrimeNG.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -472,6 +472,12 @@ declare class Dialog extends BaseComponent<DialogPassThrough> implements OnInit,
472
472
  private window;
473
473
  _componentStyle: DialogStyle;
474
474
  private zIndexForLayering?;
475
+ /**
476
+ * The close button's accessible name when the app gives none: the `aria.close` translation.
477
+ * Without it the button was announced as "button" (axe `button-name`, critical), in every dialog
478
+ * and in every ConfirmDialog, which forwarded no label of its own.
479
+ */
480
+ get closeLabel(): string | undefined;
475
481
  get maximizeLabel(): string;
476
482
  get minimizeLabel(): string;
477
483
  zone: NgZone;
@@ -172,6 +172,11 @@ declare class SelectItem extends BaseComponent {
172
172
  _componentStyle: SelectStyle;
173
173
  onOptionClick(event: Event): void;
174
174
  onOptionMouseEnter(event: Event): void;
175
+ /**
176
+ * The pass-through options of this row, from the state this row was given. Asking the Select
177
+ * (getPTItemOptions) checked the selection a second time for every row on every change
178
+ * detection (upstream 22.1.3, measured 2026-11-17: two isSelected calls per row).
179
+ */
175
180
  getPTOptions(): any;
176
181
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectItem, never>;
177
182
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectItem, "agl-selectItem", never, { "id": { "alias": "id"; "required": false; }; "option": { "alias": "option"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "ariaPosInset": { "alias": "ariaPosInset"; "required": false; }; "ariaSetSize": { "alias": "ariaSetSize"; "required": false; }; "template": { "alias": "template"; "required": false; }; "checkmark": { "alias": "checkmark"; "required": false; }; "index": { "alias": "index"; "required": false; }; "scrollerOptions": { "alias": "scrollerOptions"; "required": false; }; }, { "onClick": "onClick"; "onMouseEnter": "onMouseEnter"; }, never, never, true, never>;
@@ -266,7 +271,8 @@ declare class Select extends BaseInput<SelectPassThrough> implements AfterViewIn
266
271
  */
267
272
  inputId: string | undefined;
268
273
  /**
269
- * A property to uniquely identify a value in options.
274
+ * A property to uniquely identify a value in options. Ignored when optionValue is set: the value
275
+ * is then the field optionValue names, and is compared as it is.
270
276
  * @group Props
271
277
  */
272
278
  dataKey: string | undefined;
@@ -351,7 +357,8 @@ declare class Select extends BaseInput<SelectPassThrough> implements AfterViewIn
351
357
  */
352
358
  emptyMessage: string;
353
359
  /**
354
- * Defines if data is loaded and interacted with in lazy manner.
360
+ * Defines if data is loaded and interacted with in lazy manner. Takes effect with virtualScroll,
361
+ * which is what emits onLazyLoad; without it, lazy does nothing.
355
362
  * @group Props
356
363
  */
357
364
  lazy: boolean;
@@ -614,6 +621,8 @@ declare class Select extends BaseInput<SelectPassThrough> implements AfterViewIn
614
621
  get emptyMessageLabel(): string;
615
622
  get emptyFilterMessageLabel(): string;
616
623
  get isVisibleClearIcon(): boolean | undefined;
624
+ /** What the status region says while filtering: that results are there, or that none are. */
625
+ get filterResultMessage(): string;
617
626
  get listLabel(): string;
618
627
  get focusedOptionId(): string | null;
619
628
  visibleOptions: Signal<any>;
@@ -633,8 +642,24 @@ declare class Select extends BaseInput<SelectPassThrough> implements AfterViewIn
633
642
  isSelected(option: any): boolean;
634
643
  private isOptionValueEqualsModelValue;
635
644
  onAfterViewInit(): void;
645
+ private labelClickListener;
646
+ private searchFocusTimeout;
647
+ /**
648
+ * A label naming inputId focuses the Select when clicked, as a label does for a native control.
649
+ * The non-editable Select's inputId sits on a span, which a label cannot target natively, so a
650
+ * click on it did nothing (upstream 22.1.3). A disabled Select is neither focused nor touched.
651
+ */
652
+ private bindLabelClickListener;
653
+ private clearTimer;
654
+ onDestroy(): void;
636
655
  updatePlaceHolderForFloatingLabel(): void;
637
656
  updateEditableLabel(): void;
657
+ /**
658
+ * The text of the editable input: the label of the selected option, else the model value. An
659
+ * object value no option matches is shown by its optionLabel field, not as "[object Object]"
660
+ * (upstream 22.1.5).
661
+ */
662
+ private editableLabel;
638
663
  clearEditableLabel(): void;
639
664
  getOptionIndex(index: any, scrollerOptions: any): any;
640
665
  getOptionLabel(option: any): any;
@@ -704,7 +729,7 @@ declare class Select extends BaseInput<SelectPassThrough> implements AfterViewIn
704
729
  onBackspaceKey(event: KeyboardEvent, pressedInInputText?: boolean): void;
705
730
  searchFields(): any[];
706
731
  searchOptions(event: any, char: any): boolean;
707
- isOptionMatched(option: any): any;
732
+ isOptionMatched(option: any): boolean;
708
733
  onFilterInputChange(event: Event | any): void;
709
734
  applyFocus(): void;
710
735
  /**
@@ -1179,6 +1179,15 @@ declare class Table<RowData = any> extends BaseComponent<TablePassThrough> imple
1179
1179
  filter(value: any, field: string, matchMode: string): void;
1180
1180
  filterGlobal(value: any, matchMode: string): void;
1181
1181
  isFilterBlank(filter: any): boolean;
1182
+ /**
1183
+ * Filter again after a sort, keeping the page when resetPageOnSort is false. A sort leaves the
1184
+ * set of matching rows as it was; only the order changes. A column filter registers an empty
1185
+ * constraint when it starts, so hasFilter() is true from then on, and _filter() sent the table
1186
+ * back to page 1 without reading resetPageOnSort (upstream 22.1.4, held under P3.a, fixed under
1187
+ * P3.c on 2026-11-17).
1188
+ */
1189
+ private filterAfterSort;
1190
+ private keepPageOnFilter;
1182
1191
  _filter(): void;
1183
1192
  executeLocalFilter(field: string, rowData: any, filterMeta: FilterMetadata): boolean;
1184
1193
  hasFilter(): boolean;
@@ -43,6 +43,26 @@ declare class TooltipStyle extends BaseStyle {
43
43
  interface TooltipStyle extends BaseStyle {
44
44
  }
45
45
 
46
+ /** The options a tooltip starts with. An option set to `undefined` goes back to its value here. */
47
+ declare const TOOLTIP_DEFAULTS: {
48
+ tooltipLabel: null;
49
+ tooltipPosition: string;
50
+ tooltipEvent: string;
51
+ appendTo: string;
52
+ positionStyle: null;
53
+ tooltipStyleClass: null;
54
+ tooltipZIndex: string;
55
+ escape: boolean;
56
+ disabled: null;
57
+ showDelay: null;
58
+ hideDelay: null;
59
+ positionTop: null;
60
+ positionLeft: null;
61
+ life: null;
62
+ autoHide: boolean;
63
+ hideOnEscape: boolean;
64
+ showOnEllipsis: boolean;
65
+ };
46
66
  /**
47
67
  * Tooltip directive provides advisory information for a component.
48
68
  * @group Components
@@ -151,26 +171,18 @@ declare class Tooltip extends BaseComponent<TooltipPassThroughOptions> {
151
171
  */
152
172
  appendTo: i0.InputSignal<any>;
153
173
  $appendTo: i0.Signal<any>;
154
- _tooltipOptions: {
155
- tooltipLabel: null;
156
- tooltipPosition: string;
157
- tooltipEvent: string;
158
- appendTo: string;
159
- positionStyle: null;
160
- tooltipStyleClass: null;
161
- tooltipZIndex: string;
162
- escape: boolean;
163
- disabled: null;
164
- showDelay: null;
165
- hideDelay: null;
166
- positionTop: null;
167
- positionLeft: null;
168
- life: null;
169
- autoHide: boolean;
170
- hideOnEscape: boolean;
171
- showOnEllipsis: boolean;
174
+ _tooltipOptions: typeof TOOLTIP_DEFAULTS & {
172
175
  id: string;
173
176
  };
177
+ /** The element `aria-describedby` was set on while the tooltip shows, so hiding can take it off. */
178
+ private describedElement;
179
+ /** The pending frame of the fade-in, cancelled when the tooltip is removed. */
180
+ private fadeFrame;
181
+ /** The pending wait for a dialog's opening animation, so a tooltip removed meanwhile is not shown. */
182
+ private showToken;
183
+ private targetKeydownListener;
184
+ private containerKeydownListener;
185
+ private containerFocusoutListener;
174
186
  _disabled: boolean | undefined;
175
187
  container: any;
176
188
  styleClass: string | undefined;
@@ -232,6 +244,43 @@ declare class Tooltip extends BaseComponent<TooltipPassThroughOptions> {
232
244
  bindContainerMouseleaveListener(): void;
233
245
  unbindContainerMouseleaveListener(): void;
234
246
  show(): void;
247
+ /**
248
+ * The animations still running on the dialog around the target. While a dialog opens, its
249
+ * animation moves the target, so the tooltip waits for it before measuring. It used to wait a
250
+ * fixed 100 ms inside any dialog, opening or long open, and start its fade at once, so it
251
+ * appeared late and already 40% opaque (upstream 22.1.5).
252
+ */
253
+ private openingDialogAnimations;
254
+ /**
255
+ * Fade the tooltip in, unless the user asked the system to reduce motion. The frame is kept, so
256
+ * removing the tooltip cancels the fade: the shared fadeIn() helper kept writing opacity to the
257
+ * removed element until it reached 1, and ignored reduced motion (upstream 22.1.5).
258
+ */
259
+ private fadeIn;
260
+ private cancelFade;
261
+ /**
262
+ * The element the tooltip listens on for focus and describes: the focusable root of a component
263
+ * host, or the target itself (an input inside an input wrapper).
264
+ */
265
+ private get describedTarget();
266
+ /**
267
+ * Link the target to the tooltip while it shows (WAI-ARIA tooltip pattern). The tooltip had an id
268
+ * option and never used it, so assistive technology had no way to tie the two (upstream 22.1.5).
269
+ * Ids the author put in aria-describedby are kept.
270
+ */
271
+ private describe;
272
+ private undescribe;
273
+ /**
274
+ * A persistent tooltip (autoHide false) can hold links. Tab from the target moves into it, Tab
275
+ * past its last focusable element leaves it for whatever follows the target, and Shift+Tab from
276
+ * its first goes back to the target. Appended to the body, it sat at the end of the tab order,
277
+ * and the target's blur hid it before focus could arrive (upstream 22.1.5).
278
+ */
279
+ private bindKeyboardListeners;
280
+ private unbindKeyboardListeners;
281
+ private focusablesInside;
282
+ /** The first focusable element after the target in document order, outside the target and the tooltip. */
283
+ private focusableAfter;
235
284
  hide(): void;
236
285
  updateText(): void;
237
286
  align(): void;
@@ -253,9 +302,16 @@ declare class Tooltip extends BaseComponent<TooltipPassThroughOptions> {
253
302
  getArrowElement(): any;
254
303
  alignBottom(): void;
255
304
  alignTooltip(offsetLeft: any, offsetTop: any): void;
305
+ /**
306
+ * Merge options in. An option given as `undefined` goes back to its default rather than becoming
307
+ * undefined: `[tooltipPosition]="maybe"` or `tooltipOptions: { tooltipPosition: undefined }` left the
308
+ * tooltip with no position at all, drawn at the left edge of the page (upstream 22.1.5).
309
+ */
256
310
  setOption(option: any): void;
257
311
  getOption(option: string): never;
258
312
  getTarget(el: Element): Element | null;
313
+ /** The width the tooltip takes with room to spare, measured off-screen before each placement. */
314
+ private naturalWidth;
259
315
  preAlign(position: string): void;
260
316
  isOutOfBounds(): boolean;
261
317
  onWindowResize(e: Event): void;