@nova-ui/bits 20.0.13 → 20.0.14
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/bundles/css/styles.css +1 -1
- package/fesm2022/nova-ui-bits.mjs +2104 -215
- package/fesm2022/nova-ui-bits.mjs.map +1 -1
- package/index.d.ts +263 -31
- package/package.json +1 -1
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.d.ts +6 -10
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js +25 -36
- package/sdk/atoms-playwright/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms-playwright/components/table/table.atom.d.ts +1 -0
- package/sdk/atoms-playwright/components/table/table.atom.js +5 -0
- package/sdk/atoms-playwright/components/table/table.atom.js.map +1 -1
- package/sdk/atoms-playwright/setup.js +1 -0
- package/sdk/atoms-playwright/setup.js.map +1 -1
package/index.d.ts
CHANGED
|
@@ -1122,6 +1122,17 @@ declare class ResizerDirective implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
1122
1122
|
* Switch to mode in which resizer change parent's and sibling's flex-basis (layout-specific)
|
|
1123
1123
|
*/
|
|
1124
1124
|
isMultiple: boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Opts a resizer into the keyboard separator behavior. Kept off by default
|
|
1127
|
+
* so existing resizer consumers, including sheet groups, are unchanged.
|
|
1128
|
+
*/
|
|
1129
|
+
private _resizerKeyboardEnabled;
|
|
1130
|
+
set resizerKeyboardEnabled(isEnabled: boolean);
|
|
1131
|
+
get resizerKeyboardEnabled(): boolean;
|
|
1132
|
+
resizerKeyboardLabel: string;
|
|
1133
|
+
resizerKeyboardLabelledBy: string | null;
|
|
1134
|
+
resizerKeyboardMinSize: string;
|
|
1135
|
+
resizerKeyboardMaxSize: string;
|
|
1125
1136
|
/**
|
|
1126
1137
|
* Emits new size of element on which directive was applied
|
|
1127
1138
|
*/
|
|
@@ -1143,6 +1154,7 @@ declare class ResizerDirective implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
1143
1154
|
private eventSubscriptions;
|
|
1144
1155
|
private mouseUpUnlisten;
|
|
1145
1156
|
private mouseMoveUnlisten;
|
|
1157
|
+
private windowResizeUnlisten?;
|
|
1146
1158
|
private sibling;
|
|
1147
1159
|
constructor(elRef: ElementRef, renderer: Renderer2, utilService: UtilService, _element: ElementRef, ngZone: NgZone, eventBusService: EventBusService);
|
|
1148
1160
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1158,6 +1170,11 @@ declare class ResizerDirective implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
1158
1170
|
protected isAtTheBeginning(): boolean;
|
|
1159
1171
|
private switchDisabledClasses;
|
|
1160
1172
|
private appendResizeElement;
|
|
1173
|
+
private updateKeyboardSeparator;
|
|
1174
|
+
private getKeyboardBounds;
|
|
1175
|
+
private resolveCssSize;
|
|
1176
|
+
private getCurrentSize;
|
|
1177
|
+
private onKeyboardResize;
|
|
1161
1178
|
private unlistenResizeEvents;
|
|
1162
1179
|
private onMouseEnter;
|
|
1163
1180
|
private onMouseLeave;
|
|
@@ -1170,7 +1187,7 @@ declare class ResizerDirective implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
1170
1187
|
private calculateNativeElementSize;
|
|
1171
1188
|
private calculateSiblingSize;
|
|
1172
1189
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizerDirective, never>;
|
|
1173
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizerDirective, "[nuiResizer]", never, { "resizerDirection": { "alias": "resizerDirection"; "required": false; }; "resizerDisabled": { "alias": "resizerDisabled"; "required": false; }; "resizerValue": { "alias": "resizerValue"; "required": false; }; "isMultiple": { "alias": "isMultiple"; "required": false; }; }, { "resizerSizeChanged": "resizerSizeChanged"; }, never, never, false, never>;
|
|
1190
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizerDirective, "[nuiResizer]", never, { "resizerDirection": { "alias": "resizerDirection"; "required": false; }; "resizerDisabled": { "alias": "resizerDisabled"; "required": false; }; "resizerValue": { "alias": "resizerValue"; "required": false; }; "isMultiple": { "alias": "isMultiple"; "required": false; }; "resizerKeyboardEnabled": { "alias": "resizerKeyboardEnabled"; "required": false; }; "resizerKeyboardLabel": { "alias": "resizerKeyboardLabel"; "required": false; }; "resizerKeyboardLabelledBy": { "alias": "resizerKeyboardLabelledBy"; "required": false; }; "resizerKeyboardMinSize": { "alias": "resizerKeyboardMinSize"; "required": false; }; "resizerKeyboardMaxSize": { "alias": "resizerKeyboardMaxSize"; "required": false; }; }, { "resizerSizeChanged": "resizerSizeChanged"; }, never, never, false, never>;
|
|
1174
1191
|
}
|
|
1175
1192
|
|
|
1176
1193
|
/**
|
|
@@ -1670,15 +1687,18 @@ declare class CheckboxComponent implements AfterViewInit, ICheckboxComponent, Co
|
|
|
1670
1687
|
* Input to set aria label text
|
|
1671
1688
|
*/
|
|
1672
1689
|
get ariaLabel(): string;
|
|
1673
|
-
set ariaLabel(value: string);
|
|
1690
|
+
set ariaLabel(value: string | undefined);
|
|
1674
1691
|
/** Users ca specify the 'aria-labelledby' which will be set to the input element */
|
|
1675
1692
|
ariaLabelledby: string | null;
|
|
1676
1693
|
/** The 'aria-describedby' attribute is read after the element's label and field type. */
|
|
1677
1694
|
get ariaDescribedby(): string;
|
|
1678
1695
|
set ariaDescribedby(value: string);
|
|
1679
1696
|
private _ariaDescribedby;
|
|
1697
|
+
private readonly formFieldDescription;
|
|
1680
1698
|
/** Unique id for the control. */
|
|
1681
1699
|
id: string;
|
|
1700
|
+
/** Native input ID; in a form field, use it to associate an external label. */
|
|
1701
|
+
get nativeControlId(): string | undefined;
|
|
1682
1702
|
/**
|
|
1683
1703
|
* Sets "name" attribute for inner input element of nui-checkbox
|
|
1684
1704
|
*/
|
|
@@ -1729,11 +1749,25 @@ declare class CheckboxComponent implements AfterViewInit, ICheckboxComponent, Co
|
|
|
1729
1749
|
checkboxLabel: ElementRef;
|
|
1730
1750
|
private rendererListener;
|
|
1731
1751
|
private sub;
|
|
1752
|
+
private contentObserverSubscription;
|
|
1753
|
+
private readonly contentObserver;
|
|
1754
|
+
readonly defaultAriaLabel: string;
|
|
1755
|
+
readonly contentId: string;
|
|
1756
|
+
readonly hintId: string;
|
|
1757
|
+
private formFieldControlId;
|
|
1732
1758
|
private _ariaLabel;
|
|
1759
|
+
private formFieldLabelId;
|
|
1760
|
+
private formFieldCaption;
|
|
1733
1761
|
private keysAction;
|
|
1734
1762
|
constructor(changeDetector: ChangeDetectorRef, eventBusService: EventBusService, renderer: Renderer2);
|
|
1735
1763
|
ngAfterViewInit(): void;
|
|
1736
1764
|
getAriaChecked(): "true" | "false" | "mixed";
|
|
1765
|
+
get descriptionIds(): string | null;
|
|
1766
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
1767
|
+
setFormFieldLabel(labelId: string | undefined, caption?: string): void;
|
|
1768
|
+
setFormFieldControlId(id: string | undefined): void;
|
|
1769
|
+
get labelIds(): string | null;
|
|
1770
|
+
private updateContentObserver;
|
|
1737
1771
|
/**
|
|
1738
1772
|
* Used for changing of css style when nui-checkbox is hovered
|
|
1739
1773
|
*/
|
|
@@ -1775,11 +1809,13 @@ declare class CheckboxGroupComponent implements AfterViewInit, OnDestroy, Contro
|
|
|
1775
1809
|
*/
|
|
1776
1810
|
private children;
|
|
1777
1811
|
/**
|
|
1778
|
-
*
|
|
1812
|
+
* Explicit accessible name. Prefer the form-field caption when possible.
|
|
1813
|
+
* An override should include the visible caption.
|
|
1779
1814
|
*/
|
|
1780
1815
|
get ariaLabel(): string;
|
|
1781
1816
|
set ariaLabel(value: string);
|
|
1782
1817
|
private _ariaLabel;
|
|
1818
|
+
private formFieldCaption;
|
|
1783
1819
|
/**
|
|
1784
1820
|
* Input to set aria label text
|
|
1785
1821
|
*/
|
|
@@ -1787,12 +1823,16 @@ declare class CheckboxGroupComponent implements AfterViewInit, OnDestroy, Contro
|
|
|
1787
1823
|
get ariaDescribedby(): string;
|
|
1788
1824
|
set ariaDescribedby(value: string);
|
|
1789
1825
|
private _ariaDescribedby;
|
|
1826
|
+
private readonly formFieldDescription;
|
|
1827
|
+
get resolvedAriaDescribedby(): string | null;
|
|
1790
1828
|
/** Unique id for the control. */
|
|
1791
1829
|
id: string;
|
|
1792
1830
|
private subscriptionsArray;
|
|
1793
1831
|
private disabled;
|
|
1794
1832
|
private readonly changeDetector;
|
|
1795
1833
|
constructor(renderer: Renderer2);
|
|
1834
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
1835
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
1796
1836
|
/**
|
|
1797
1837
|
* Subscribe to nui-checkbox-group children values change
|
|
1798
1838
|
*/
|
|
@@ -2016,13 +2056,15 @@ declare class MenuActionComponent extends MenuItemBaseComponent {
|
|
|
2016
2056
|
*/
|
|
2017
2057
|
icon: string;
|
|
2018
2058
|
type: MenuActionType;
|
|
2059
|
+
/** The input event that activated this enabled action. */
|
|
2060
|
+
readonly activated: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
2019
2061
|
menuItem: ElementRef;
|
|
2020
2062
|
constructor(group: MenuGroupComponent, cd: ChangeDetectorRef);
|
|
2021
|
-
handleClick(event: MouseEvent): void;
|
|
2063
|
+
handleClick(event: MouseEvent | KeyboardEvent): void;
|
|
2022
2064
|
getIconColor(): string;
|
|
2023
2065
|
doAction(event: any): void;
|
|
2024
2066
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuActionComponent, [{ optional: true; }, null]>;
|
|
2025
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuActionComponent, "nui-menu-action", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2067
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuActionComponent, "nui-menu-action", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "activated": "activated"; }, never, ["*"], false, never>;
|
|
2026
2068
|
}
|
|
2027
2069
|
|
|
2028
2070
|
/** CSS class for the shared container that all overlays will be attached to */
|
|
@@ -2062,7 +2104,7 @@ interface IOptionValueObject {
|
|
|
2062
2104
|
id?: string;
|
|
2063
2105
|
[key: string]: any;
|
|
2064
2106
|
}
|
|
2065
|
-
type OptionValueType = IOptionValueObject | string | null;
|
|
2107
|
+
type OptionValueType = IOptionValueObject | string | number | null;
|
|
2066
2108
|
interface IOption extends Highlightable {
|
|
2067
2109
|
scrollIntoView: (options?: ScrollIntoViewOptions) => void;
|
|
2068
2110
|
element: ElementRef<HTMLElement>;
|
|
@@ -2235,6 +2277,7 @@ declare class PopupComponent implements AfterContentInit, AfterViewInit, OnChang
|
|
|
2235
2277
|
manualOpenControl: Subject<MouseEvent>;
|
|
2236
2278
|
appendToBody: boolean;
|
|
2237
2279
|
baseElementSelector: string;
|
|
2280
|
+
/** Uses the host as the anchor and, without nuiPopupToggle, as the internal click boundary. */
|
|
2238
2281
|
isHostToggleRef: boolean;
|
|
2239
2282
|
ariaLabel: string;
|
|
2240
2283
|
set isOpen(open: boolean);
|
|
@@ -2286,6 +2329,7 @@ declare class PopupComponent implements AfterContentInit, AfterViewInit, OnChang
|
|
|
2286
2329
|
declare class MenuPopupComponent {
|
|
2287
2330
|
itemsSource: IMenuGroup[];
|
|
2288
2331
|
size?: string;
|
|
2332
|
+
role: string;
|
|
2289
2333
|
menuItems: QueryList<MenuItemBaseComponent>;
|
|
2290
2334
|
get smCssClass(): boolean;
|
|
2291
2335
|
get lgCssClass(): boolean;
|
|
@@ -2294,7 +2338,7 @@ declare class MenuPopupComponent {
|
|
|
2294
2338
|
getDisplayValue(item: IMenuItem): string;
|
|
2295
2339
|
stopClickPropagation(event: MouseEvent): void;
|
|
2296
2340
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuPopupComponent, never>;
|
|
2297
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuPopupComponent, "nui-menu-popup", never, { "itemsSource": { "alias": "itemsSource"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "menuItemClicked": "menuItemClicked"; }, never, never, false, never>;
|
|
2341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuPopupComponent, "nui-menu-popup", never, { "itemsSource": { "alias": "itemsSource"; "required": false; }; "size": { "alias": "size"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "menuItemClicked": "menuItemClicked"; }, never, never, false, never>;
|
|
2298
2342
|
}
|
|
2299
2343
|
|
|
2300
2344
|
declare class MenuKeyControlService implements OnDestroy {
|
|
@@ -2305,6 +2349,7 @@ declare class MenuKeyControlService implements OnDestroy {
|
|
|
2305
2349
|
menuGroups: QueryList<MenuGroupComponent>;
|
|
2306
2350
|
menuItems: QueryList<MenuItemBaseComponent>;
|
|
2307
2351
|
menuToggle: ElementRef;
|
|
2352
|
+
menuContent: ElementRef<HTMLElement>;
|
|
2308
2353
|
menuPopup: MenuPopupComponent;
|
|
2309
2354
|
menuOpenListener: Subject<void>;
|
|
2310
2355
|
keyControlItemsSource: boolean;
|
|
@@ -2313,12 +2358,16 @@ declare class MenuKeyControlService implements OnDestroy {
|
|
|
2313
2358
|
private keyboardEventsSubscription;
|
|
2314
2359
|
private _scrollContainer;
|
|
2315
2360
|
private pendingInitialActivation;
|
|
2361
|
+
private suppressEscapeKeyup;
|
|
2316
2362
|
set scrollContainer(container: ElementRef);
|
|
2317
2363
|
get scrollContainer(): ElementRef<any>;
|
|
2318
2364
|
constructor(live: LiveAnnouncer, renderer: Renderer2, document: Document);
|
|
2319
2365
|
initKeyboardManager(): void;
|
|
2320
2366
|
handleKeydown(event: KeyboardEvent): void;
|
|
2367
|
+
/** Prevent the Escape release on the refocused toggle from closing a parent overlay. */
|
|
2368
|
+
handleToggleKeyup(event: KeyboardEvent): void;
|
|
2321
2369
|
setActiveItem(index: number): void;
|
|
2370
|
+
handleItemClick(event: MouseEvent): void;
|
|
2322
2371
|
getActiveItemIndex(): number | null;
|
|
2323
2372
|
private activatePendingItem;
|
|
2324
2373
|
private initKeyManagerHandlers;
|
|
@@ -2395,6 +2444,7 @@ declare class MenuComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
2395
2444
|
popup: PopupComponent;
|
|
2396
2445
|
menuPopup: MenuPopupComponent;
|
|
2397
2446
|
menuToggle: ElementRef;
|
|
2447
|
+
menuContent: ElementRef<HTMLDivElement>;
|
|
2398
2448
|
readonly menuTriggerId: string;
|
|
2399
2449
|
readonly popupContentId: string;
|
|
2400
2450
|
/**
|
|
@@ -2403,15 +2453,21 @@ declare class MenuComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
2403
2453
|
get menuAriaLabel(): string | null;
|
|
2404
2454
|
private menuKeyControlListeners;
|
|
2405
2455
|
private focusMonitorSubscription;
|
|
2456
|
+
private focusMenuWhenOpened;
|
|
2406
2457
|
constructor(keyControlService: MenuKeyControlService, renderer: Renderer2, focusMonitor: FocusMonitor);
|
|
2407
2458
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2408
2459
|
ngAfterViewInit(): void;
|
|
2409
2460
|
isMenuCompact(): boolean;
|
|
2410
2461
|
isTitlePresent(): boolean;
|
|
2411
|
-
onBlur(event:
|
|
2412
|
-
onMenuOpen(): void;
|
|
2462
|
+
onBlur(event: FocusEvent): void;
|
|
2463
|
+
onMenuOpen(isOpen?: boolean): void;
|
|
2464
|
+
/**
|
|
2465
|
+
* @deprecated Menu content keyboard events are handled internally. Kept for API compatibility.
|
|
2466
|
+
*/
|
|
2467
|
+
onMenuContentKeydown(event: KeyboardEvent): void;
|
|
2413
2468
|
get activeDescendant(): string | null;
|
|
2414
2469
|
isJustified(): boolean;
|
|
2470
|
+
private readonly handleMenuKeydown;
|
|
2415
2471
|
private setKeyboardManagerServiceData;
|
|
2416
2472
|
ngOnDestroy(): void;
|
|
2417
2473
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
@@ -2485,6 +2541,7 @@ declare class MenuOptionComponent extends MenuItemBaseComponent {
|
|
|
2485
2541
|
checked: boolean;
|
|
2486
2542
|
menuItem: ElementRef;
|
|
2487
2543
|
stopPropagationOfClick(event: MouseEvent): void;
|
|
2544
|
+
onKeydown(event: KeyboardEvent): void;
|
|
2488
2545
|
get checkedClass(): boolean;
|
|
2489
2546
|
get ariaChecked(): string;
|
|
2490
2547
|
constructor(group: MenuGroupComponent, cd: ChangeDetectorRef);
|
|
@@ -2509,6 +2566,7 @@ declare class MenuSwitchComponent extends MenuItemBaseComponent {
|
|
|
2509
2566
|
disabled: boolean;
|
|
2510
2567
|
menuItem: ElementRef;
|
|
2511
2568
|
stopPropagationOfClick(event: MouseEvent): void;
|
|
2569
|
+
onKeydown(event: KeyboardEvent): void;
|
|
2512
2570
|
get checkedClass(): boolean;
|
|
2513
2571
|
constructor(group: MenuGroupComponent, cd: ChangeDetectorRef);
|
|
2514
2572
|
doAction(): void;
|
|
@@ -2919,8 +2977,19 @@ declare abstract class NuiFormFieldControl {
|
|
|
2919
2977
|
/** Aria label to set on the tab-focusable item. */
|
|
2920
2978
|
ariaLabel?: string;
|
|
2921
2979
|
ariaDescribedby?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Associates or clears field help without changing the consumer's description.
|
|
2982
|
+
* Controls should combine both references on the appropriate element.
|
|
2983
|
+
*/
|
|
2984
|
+
setFormFieldDescription?(id: string | undefined): void;
|
|
2922
2985
|
/** Unique id for the control. */
|
|
2923
2986
|
id?: string;
|
|
2987
|
+
/** ID of the native labelable control, when different from the host ID. */
|
|
2988
|
+
nativeControlId?: string;
|
|
2989
|
+
/** Sets an internal native control ID when the host ID would collide. */
|
|
2990
|
+
setFormFieldControlId?(id: string | undefined): void;
|
|
2991
|
+
/** Associates a control with the form-field caption without replacing its explicit name. */
|
|
2992
|
+
setFormFieldLabel?(labelId: string | undefined, caption?: string): void;
|
|
2924
2993
|
}
|
|
2925
2994
|
|
|
2926
2995
|
interface IImagesPresetItem {
|
|
@@ -3200,17 +3269,22 @@ declare enum TableResizePhase {
|
|
|
3200
3269
|
end = "end"
|
|
3201
3270
|
}
|
|
3202
3271
|
/** @ignore */
|
|
3203
|
-
declare class TableResizerDirective {
|
|
3272
|
+
declare class TableResizerDirective implements OnDestroy {
|
|
3204
3273
|
private tableStateHandlerService;
|
|
3205
3274
|
hostClasses: string;
|
|
3206
3275
|
columnIndex: number;
|
|
3207
3276
|
resizerMovement: EventEmitter<any>;
|
|
3277
|
+
resizeRequested: EventEmitter<void>;
|
|
3278
|
+
private hasMoved;
|
|
3208
3279
|
constructor(tableStateHandlerService: TableStateHandlerService);
|
|
3209
3280
|
private mouseMoveHandler;
|
|
3210
3281
|
private removeResizeListeners;
|
|
3211
3282
|
onMouseDown(ev: MouseEvent): void;
|
|
3283
|
+
onClick(event: MouseEvent): void;
|
|
3284
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
3285
|
+
ngOnDestroy(): void;
|
|
3212
3286
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableResizerDirective, never>;
|
|
3213
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableResizerDirective, "[nuiTableResizer]", never, { "columnIndex": { "alias": "columnIndex"; "required": false; }; }, { "resizerMovement": "resizerMovement"; }, never, never, false, never>;
|
|
3287
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableResizerDirective, "[nuiTableResizer]", never, { "columnIndex": { "alias": "columnIndex"; "required": false; }; }, { "resizerMovement": "resizerMovement"; "resizeRequested": "resizeRequested"; }, never, never, false, never>;
|
|
3214
3288
|
}
|
|
3215
3289
|
|
|
3216
3290
|
type TableAlignmentOptions = "right" | "left" | "center";
|
|
@@ -4771,7 +4845,10 @@ declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit,
|
|
|
4771
4845
|
protected mouseDown: boolean;
|
|
4772
4846
|
private _selectedOptions;
|
|
4773
4847
|
private _ariaLabel;
|
|
4848
|
+
private formFieldCaption;
|
|
4774
4849
|
private _ariaDescribedby;
|
|
4850
|
+
private readonly formFieldDescription;
|
|
4851
|
+
get resolvedAriaDescribedby(): string | null;
|
|
4775
4852
|
get accessibleLabel(): string | null;
|
|
4776
4853
|
/** Unique ID for the trigger element, used for aria-labelledby on the overlay */
|
|
4777
4854
|
readonly triggerId: string;
|
|
@@ -4783,6 +4860,8 @@ declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit,
|
|
|
4783
4860
|
/** Emits MouseEvent when click occurs outside Select/Combobox */
|
|
4784
4861
|
clickOutsideDropdown: EventEmitter<MouseEvent>;
|
|
4785
4862
|
protected constructor(optionKeyControlService: OptionKeyControlService<IOption>, cdRef: ChangeDetectorRef, elRef: ElementRef<HTMLElement>, liveAnnouncer: LiveAnnouncer);
|
|
4863
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
4864
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
4786
4865
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4787
4866
|
ngAfterContentInit(): void;
|
|
4788
4867
|
ngAfterViewInit(): void;
|
|
@@ -4851,15 +4930,18 @@ declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit,
|
|
|
4851
4930
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSelectV2, never, never, { "placeholder": { "alias": "placeholder"; "required": false; }; "popupViewportMargin": { "alias": "popupViewportMargin"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "manualDropdownControl": { "alias": "manualDropdownControl"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dropdownCustomContainer": { "alias": "dropdownCustomContainer"; "required": false; }; "syncWidth": { "alias": "syncWidth"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isInErrorState": { "alias": "isInErrorState"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, { "valueSelected": "valueSelected"; "valueChanged": "valueChanged"; "clickOutsideDropdown": "clickOutsideDropdown"; }, ["cdkVirtualScroll", "options", "allPopupItems"], never, true, never>;
|
|
4852
4931
|
}
|
|
4853
4932
|
|
|
4854
|
-
declare class SelectV2Component extends BaseSelectV2 implements AfterContentInit, OnDestroy, OnChanges {
|
|
4933
|
+
declare class SelectV2Component extends BaseSelectV2 implements AfterContentInit, AfterViewInit, OnDestroy, OnChanges {
|
|
4855
4934
|
liveAnnouncer: LiveAnnouncer;
|
|
4856
4935
|
/** Sets a custom template for displaying it in the Option */
|
|
4857
4936
|
displayValueTemplate?: TemplateRef<any>;
|
|
4858
4937
|
/** Value of the selected Option that derives in the Select */
|
|
4859
4938
|
displayText: string;
|
|
4939
|
+
private readonly document;
|
|
4940
|
+
private popupMouseDownTarget;
|
|
4860
4941
|
constructor(elRef: ElementRef<HTMLElement>, optionKeyControlService: OptionKeyControlService<SelectV2OptionComponent>, cdRef: ChangeDetectorRef, liveAnnouncer: LiveAnnouncer);
|
|
4861
4942
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4862
4943
|
ngAfterContentInit(): void;
|
|
4944
|
+
ngAfterViewInit(): void;
|
|
4863
4945
|
/** Selects specific Option and set its value to the model */
|
|
4864
4946
|
selectOption(option: SelectV2OptionComponent): void;
|
|
4865
4947
|
/** Sets value to the model */
|
|
@@ -4872,6 +4954,10 @@ declare class SelectV2Component extends BaseSelectV2 implements AfterContentInit
|
|
|
4872
4954
|
* This is a safe guard for preventing memory leaks in derived classes.
|
|
4873
4955
|
*/
|
|
4874
4956
|
ngOnDestroy(): void;
|
|
4957
|
+
private removeDropdownListeners;
|
|
4958
|
+
private readonly onMouseDownInPopup;
|
|
4959
|
+
private readonly clearPopupMouseDown;
|
|
4960
|
+
private readonly closeOnFocusOutside;
|
|
4875
4961
|
private defineDisplayText;
|
|
4876
4962
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectV2Component, never>;
|
|
4877
4963
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectV2Component, "nui-select-v2", never, { "displayValueTemplate": { "alias": "displayValueTemplate"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
@@ -5044,8 +5130,11 @@ declare class NuiPopupModule {
|
|
|
5044
5130
|
declare class SwitchComponent implements OnInit, ControlValueAccessor {
|
|
5045
5131
|
value: boolean;
|
|
5046
5132
|
disabled: boolean;
|
|
5133
|
+
/** Tab order for the switch's interactive control; disabled switches are always removed. */
|
|
5134
|
+
tabIndex: number;
|
|
5047
5135
|
/**
|
|
5048
|
-
*
|
|
5136
|
+
* Explicit accessible name. Overrides the form-field caption and projected
|
|
5137
|
+
* label; include the visible label text when supplying a name.
|
|
5049
5138
|
*/
|
|
5050
5139
|
ariaLabel?: string;
|
|
5051
5140
|
ariaDescribedby?: string;
|
|
@@ -5057,9 +5146,16 @@ declare class SwitchComponent implements OnInit, ControlValueAccessor {
|
|
|
5057
5146
|
*/
|
|
5058
5147
|
readonly labelId: string;
|
|
5059
5148
|
private readonly defaultAriaLabel;
|
|
5149
|
+
private readonly changeDetector;
|
|
5150
|
+
private formFieldLabelId;
|
|
5151
|
+
private formFieldCaption;
|
|
5152
|
+
private readonly formFieldDescription;
|
|
5153
|
+
valueChange: EventEmitter<boolean>;
|
|
5154
|
+
get resolvedAriaDescribedby(): string | null;
|
|
5155
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
5060
5156
|
get accessibleLabel(): string | null;
|
|
5061
5157
|
get labelIdIfProjected(): string | null;
|
|
5062
|
-
|
|
5158
|
+
setFormFieldLabel(labelId: string | undefined, caption?: string): void;
|
|
5063
5159
|
toggle(): void;
|
|
5064
5160
|
onChange(value: any): void;
|
|
5065
5161
|
onTouched(): void;
|
|
@@ -5070,7 +5166,8 @@ declare class SwitchComponent implements OnInit, ControlValueAccessor {
|
|
|
5070
5166
|
ngOnInit(): void;
|
|
5071
5167
|
private get hasProjectedLabel();
|
|
5072
5168
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
5073
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "nui-switch", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["*"], false, never>;
|
|
5169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "nui-switch", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["*"], false, never>;
|
|
5170
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
5074
5171
|
}
|
|
5075
5172
|
|
|
5076
5173
|
/**
|
|
@@ -5149,7 +5246,8 @@ declare abstract class BaseSelect implements OnInit, OnChanges, ControlValueAcce
|
|
|
5149
5246
|
/**
|
|
5150
5247
|
* Input to set aria label text
|
|
5151
5248
|
*/
|
|
5152
|
-
ariaLabel: string;
|
|
5249
|
+
get ariaLabel(): string;
|
|
5250
|
+
set ariaLabel(value: string);
|
|
5153
5251
|
ariaDescribedby: string;
|
|
5154
5252
|
/**
|
|
5155
5253
|
* Value for enabling remove value feature
|
|
@@ -5168,7 +5266,14 @@ declare abstract class BaseSelect implements OnInit, OnChanges, ControlValueAcce
|
|
|
5168
5266
|
}) => string;
|
|
5169
5267
|
itemToSelect: any;
|
|
5170
5268
|
inputValue: string;
|
|
5269
|
+
private explicitAriaLabel;
|
|
5270
|
+
private formFieldCaption;
|
|
5271
|
+
private readonly formFieldDescription;
|
|
5272
|
+
private readonly formFieldChangeDetector;
|
|
5171
5273
|
protected constructor(utilService: UtilService);
|
|
5274
|
+
get resolvedAriaDescribedby(): string | null;
|
|
5275
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
5276
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
5172
5277
|
ngOnInit(): void;
|
|
5173
5278
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5174
5279
|
abstract displayPlaceholder(): boolean;
|
|
@@ -5364,6 +5469,8 @@ declare class TextboxComponent implements ControlValueAccessor, NuiFormFieldCont
|
|
|
5364
5469
|
* Unique id for the control.
|
|
5365
5470
|
*/
|
|
5366
5471
|
id: string;
|
|
5472
|
+
/** Native input or textarea ID; in a form field, use it to associate an external label. */
|
|
5473
|
+
get nativeControlId(): string | undefined;
|
|
5367
5474
|
/**
|
|
5368
5475
|
* Input initial value
|
|
5369
5476
|
*/
|
|
@@ -5373,10 +5480,18 @@ declare class TextboxComponent implements ControlValueAccessor, NuiFormFieldCont
|
|
|
5373
5480
|
*/
|
|
5374
5481
|
isInErrorState: boolean;
|
|
5375
5482
|
/**
|
|
5376
|
-
*
|
|
5483
|
+
* Explicit accessible name. Prefer the form-field caption when possible.
|
|
5484
|
+
* An override should include the visible caption.
|
|
5377
5485
|
*/
|
|
5378
|
-
ariaLabel: string;
|
|
5486
|
+
get ariaLabel(): string;
|
|
5487
|
+
set ariaLabel(value: string);
|
|
5379
5488
|
ariaDescribedby: string;
|
|
5489
|
+
private readonly formFieldDescription;
|
|
5490
|
+
private readonly changeDetector;
|
|
5491
|
+
private formFieldControlId;
|
|
5492
|
+
private explicitAriaLabel;
|
|
5493
|
+
private formFieldCaption;
|
|
5494
|
+
get resolvedAriaDescribedby(): string | null;
|
|
5380
5495
|
/**
|
|
5381
5496
|
* Input to apply busy state and show spinner
|
|
5382
5497
|
*/
|
|
@@ -5386,6 +5501,9 @@ declare class TextboxComponent implements ControlValueAccessor, NuiFormFieldCont
|
|
|
5386
5501
|
*/
|
|
5387
5502
|
blurred: EventEmitter<any>;
|
|
5388
5503
|
private optionalText;
|
|
5504
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
5505
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
5506
|
+
setFormFieldControlId(id: string | undefined): void;
|
|
5389
5507
|
focus(): void;
|
|
5390
5508
|
onBlurEventEmit(): void;
|
|
5391
5509
|
onChangeEvent($event: any): void;
|
|
@@ -5430,6 +5548,8 @@ declare class TextboxNumberComponent implements ControlValueAccessor, NuiFormFie
|
|
|
5430
5548
|
* Unique id for the control.
|
|
5431
5549
|
*/
|
|
5432
5550
|
id: string;
|
|
5551
|
+
/** Native input ID; in a form field, use it to associate an external label. */
|
|
5552
|
+
get nativeControlId(): string | undefined;
|
|
5433
5553
|
/**
|
|
5434
5554
|
* Step by which the value are increased/decreased
|
|
5435
5555
|
* when clicking on up/down buttons
|
|
@@ -5445,10 +5565,18 @@ declare class TextboxNumberComponent implements ControlValueAccessor, NuiFormFie
|
|
|
5445
5565
|
*/
|
|
5446
5566
|
isInErrorState: boolean;
|
|
5447
5567
|
/**
|
|
5448
|
-
*
|
|
5568
|
+
* Explicit accessible name. Prefer the form-field caption when possible.
|
|
5569
|
+
* An override should include the visible caption.
|
|
5449
5570
|
*/
|
|
5450
|
-
ariaLabel: string;
|
|
5571
|
+
get ariaLabel(): string;
|
|
5572
|
+
set ariaLabel(value: string);
|
|
5451
5573
|
ariaDescribedby: string;
|
|
5574
|
+
private readonly formFieldDescription;
|
|
5575
|
+
private readonly changeDetector;
|
|
5576
|
+
private formFieldControlId;
|
|
5577
|
+
private explicitAriaLabel;
|
|
5578
|
+
private formFieldCaption;
|
|
5579
|
+
get resolvedAriaDescribedby(): string | null;
|
|
5452
5580
|
/**
|
|
5453
5581
|
* Minimum value of textBoxNumber component
|
|
5454
5582
|
*/
|
|
@@ -5466,6 +5594,9 @@ declare class TextboxNumberComponent implements ControlValueAccessor, NuiFormFie
|
|
|
5466
5594
|
formControl: FormControl;
|
|
5467
5595
|
isRepeatable: boolean;
|
|
5468
5596
|
private validatorFn;
|
|
5597
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
5598
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
5599
|
+
setFormFieldControlId(id: string | undefined): void;
|
|
5469
5600
|
ngOnChanges(changes: SimpleChanges): void;
|
|
5470
5601
|
onBlurEventEmit(): void;
|
|
5471
5602
|
addNumber(valueChange: number): void;
|
|
@@ -5737,14 +5868,16 @@ declare class RadioGroupComponent implements AfterContentInit, OnDestroy, Contro
|
|
|
5737
5868
|
/**
|
|
5738
5869
|
* Input to set aria label text
|
|
5739
5870
|
*/
|
|
5740
|
-
ariaLabel: string;
|
|
5871
|
+
get ariaLabel(): string;
|
|
5872
|
+
set ariaLabel(value: string);
|
|
5741
5873
|
ariaDescribedby: string;
|
|
5742
5874
|
/** Unique id for the control. */
|
|
5743
5875
|
id: string;
|
|
5744
5876
|
/**
|
|
5745
5877
|
* Sets the "name" attribute for each radio button in the group
|
|
5746
5878
|
*/
|
|
5747
|
-
name: string;
|
|
5879
|
+
get name(): string;
|
|
5880
|
+
set name(value: string | null | undefined);
|
|
5748
5881
|
/**
|
|
5749
5882
|
* Stores the value from selected radio
|
|
5750
5883
|
*/
|
|
@@ -5762,7 +5895,16 @@ declare class RadioGroupComponent implements AfterContentInit, OnDestroy, Contro
|
|
|
5762
5895
|
private _value;
|
|
5763
5896
|
private selectedRadio;
|
|
5764
5897
|
private subscriptions;
|
|
5898
|
+
private readonly generatedName;
|
|
5899
|
+
private explicitName;
|
|
5900
|
+
private explicitAriaLabel;
|
|
5901
|
+
private formFieldCaption;
|
|
5902
|
+
private readonly formFieldDescription;
|
|
5903
|
+
private readonly formFieldChangeDetector;
|
|
5765
5904
|
constructor(renderer: Renderer2);
|
|
5905
|
+
get resolvedAriaDescribedby(): string | null;
|
|
5906
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
5907
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
5766
5908
|
private registerChild;
|
|
5767
5909
|
ngAfterContentInit(): void;
|
|
5768
5910
|
onChange(value: any): void;
|
|
@@ -5786,6 +5928,8 @@ declare class RadioGroupComponent implements AfterContentInit, OnDestroy, Contro
|
|
|
5786
5928
|
declare class RadioComponent implements OnInit, OnDestroy {
|
|
5787
5929
|
private changeDetector;
|
|
5788
5930
|
private eventBusService;
|
|
5931
|
+
readonly inputId: string;
|
|
5932
|
+
readonly hintId: string;
|
|
5789
5933
|
/**
|
|
5790
5934
|
* Sets the radio instance value
|
|
5791
5935
|
*/
|
|
@@ -5903,6 +6047,7 @@ declare class TabGroupComponent implements OnDestroy, AfterViewInit, AfterConten
|
|
|
5903
6047
|
addTab(tab: TabComponent): void;
|
|
5904
6048
|
selectTab(selectedTab: TabComponent): void;
|
|
5905
6049
|
onKeyDown(event: KeyboardEvent): void;
|
|
6050
|
+
onFocusIn(event: FocusEvent): void;
|
|
5906
6051
|
allowTraverse(): boolean;
|
|
5907
6052
|
traverseRight(): void;
|
|
5908
6053
|
traverseLeft(): void;
|
|
@@ -6020,6 +6165,7 @@ declare class TabHeadingGroupComponent implements OnDestroy, AfterViewInit, Afte
|
|
|
6020
6165
|
setActiveTab(): void;
|
|
6021
6166
|
getActiveTab(): TabHeadingComponent;
|
|
6022
6167
|
onKeyDown(event: KeyboardEvent): void;
|
|
6168
|
+
onFocusIn(event: FocusEvent): void;
|
|
6023
6169
|
checkTraverse(): void;
|
|
6024
6170
|
allowTraverse(): boolean;
|
|
6025
6171
|
traverseRight(): void;
|
|
@@ -6485,13 +6631,18 @@ declare class ColorPickerComponent implements NuiFormFieldControl, ControlValueA
|
|
|
6485
6631
|
get ariaDescribedby(): string | undefined;
|
|
6486
6632
|
set ariaDescribedby(value: string | undefined);
|
|
6487
6633
|
private _ariaLabel?;
|
|
6634
|
+
private formFieldCaption?;
|
|
6488
6635
|
private _ariaDescribedby?;
|
|
6636
|
+
private readonly formFieldDescription;
|
|
6637
|
+
get resolvedAriaDescribedby(): string | null;
|
|
6489
6638
|
/** Unique id for the control. */
|
|
6490
6639
|
id: string;
|
|
6491
6640
|
protected overlayUtilities: OverlayUtilitiesService;
|
|
6492
6641
|
private selectResizeObserver;
|
|
6493
6642
|
private destroy$;
|
|
6494
6643
|
constructor(changeDetection: ChangeDetectorRef, colorService: ColorService, cdkOverlay: Overlay);
|
|
6644
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
6645
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
6495
6646
|
ngOnChanges(changes: SimpleChanges): void;
|
|
6496
6647
|
ngAfterViewInit(): void;
|
|
6497
6648
|
ngOnDestroy(): void;
|
|
@@ -6660,8 +6811,11 @@ declare class DatePickerComponent implements OnChanges, OnInit, ControlValueAcce
|
|
|
6660
6811
|
/** to apply error state styles */
|
|
6661
6812
|
isInErrorState: boolean;
|
|
6662
6813
|
/** Input to set aria label text */
|
|
6663
|
-
ariaLabel: string;
|
|
6814
|
+
get ariaLabel(): string;
|
|
6815
|
+
set ariaLabel(value: string);
|
|
6664
6816
|
ariaDescribedby: string;
|
|
6817
|
+
private readonly formFieldDescription;
|
|
6818
|
+
get resolvedAriaDescribedby(): string | null;
|
|
6665
6819
|
/** to date format locale */
|
|
6666
6820
|
locale: string;
|
|
6667
6821
|
/** sets date-picker mode, supports: `day`, `month`, `year` */
|
|
@@ -6727,7 +6881,11 @@ declare class DatePickerComponent implements OnChanges, OnInit, ControlValueAcce
|
|
|
6727
6881
|
private inputChanged;
|
|
6728
6882
|
private momentDateFormat;
|
|
6729
6883
|
private calendarChanged;
|
|
6884
|
+
private explicitAriaLabel;
|
|
6885
|
+
private formFieldCaption;
|
|
6730
6886
|
constructor(cd: ChangeDetectorRef);
|
|
6887
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
6888
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
6731
6889
|
ngOnInit(): void;
|
|
6732
6890
|
ngOnChanges(changes: SimpleChanges): void;
|
|
6733
6891
|
ngAfterViewInit(): void;
|
|
@@ -6786,6 +6944,8 @@ declare class DateTimePickerComponent implements AfterViewInit, OnInit, ControlV
|
|
|
6786
6944
|
get ariaDescribedby(): string;
|
|
6787
6945
|
set ariaDescribedby(value: string);
|
|
6788
6946
|
private _ariaDescribedby;
|
|
6947
|
+
private readonly formFieldDescription;
|
|
6948
|
+
get resolvedAriaDescribedby(): string | null;
|
|
6789
6949
|
get dateAriaLabel(): string;
|
|
6790
6950
|
get timeAriaLabel(): string;
|
|
6791
6951
|
codeElement: ElementRef;
|
|
@@ -6800,9 +6960,12 @@ declare class DateTimePickerComponent implements AfterViewInit, OnInit, ControlV
|
|
|
6800
6960
|
isInErrorStateDate: boolean;
|
|
6801
6961
|
isInErrorStateTime: boolean;
|
|
6802
6962
|
private _ariaLabel;
|
|
6963
|
+
private formFieldCaption;
|
|
6803
6964
|
onTouched: () => void;
|
|
6804
6965
|
onChange: (value: any) => void;
|
|
6805
6966
|
constructor(renderer: Renderer2, cd: ChangeDetectorRef);
|
|
6967
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
6968
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
6806
6969
|
ngOnInit(): void;
|
|
6807
6970
|
ngAfterViewInit(): void;
|
|
6808
6971
|
writeValue(value: Moment): void;
|
|
@@ -6860,8 +7023,11 @@ declare class TimePickerComponent implements OnInit, OnDestroy, OnChanges, After
|
|
|
6860
7023
|
/** to apply error state styles */
|
|
6861
7024
|
isInErrorState: boolean;
|
|
6862
7025
|
/** Input to set aria label text */
|
|
6863
|
-
ariaLabel: string;
|
|
7026
|
+
get ariaLabel(): string;
|
|
7027
|
+
set ariaLabel(value: string);
|
|
6864
7028
|
ariaDescribedby: string;
|
|
7029
|
+
private readonly formFieldDescription;
|
|
7030
|
+
get resolvedAriaDescribedby(): string | null;
|
|
6865
7031
|
/** to allow the empty values for init state */
|
|
6866
7032
|
initEmpty: boolean;
|
|
6867
7033
|
/** Allows popup box to be attached to document.body */
|
|
@@ -6879,7 +7045,11 @@ declare class TimePickerComponent implements OnInit, OnDestroy, OnChanges, After
|
|
|
6879
7045
|
protected popupUtilities: OverlayUtilitiesService;
|
|
6880
7046
|
private itemToSelect;
|
|
6881
7047
|
private inputChanged;
|
|
7048
|
+
private explicitAriaLabel;
|
|
7049
|
+
private formFieldCaption;
|
|
6882
7050
|
constructor(elementRef: ElementRef, keyboardService: TimePickerKeyboardService, cdr: ChangeDetectorRef);
|
|
7051
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
7052
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
6883
7053
|
ngOnInit(): void;
|
|
6884
7054
|
ngOnChanges(changes: SimpleChanges): void;
|
|
6885
7055
|
ngAfterViewInit(): void;
|
|
@@ -6959,6 +7129,7 @@ declare class DialogComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
6959
7129
|
private router;
|
|
6960
7130
|
private elWithFocus;
|
|
6961
7131
|
private readonly interactivityChecker;
|
|
7132
|
+
private readonly focusStack;
|
|
6962
7133
|
/**
|
|
6963
7134
|
* Whether a backdrop element should be created for a given dialog (true by default).
|
|
6964
7135
|
* Alternatively, specify 'static' for a backdrop which doesn't close the dialog on click.
|
|
@@ -7125,7 +7296,9 @@ declare class FormFieldComponent implements AfterContentInit, AfterContentChecke
|
|
|
7125
7296
|
private originalControlLabel;
|
|
7126
7297
|
private lastCaption;
|
|
7127
7298
|
private appliedCaption;
|
|
7299
|
+
private appliedDescription;
|
|
7128
7300
|
private controlUpdateTimeout;
|
|
7301
|
+
private readonly changeDetectorRef;
|
|
7129
7302
|
/**
|
|
7130
7303
|
* Form control obtained from the parent reactive form
|
|
7131
7304
|
*/
|
|
@@ -7161,6 +7334,7 @@ declare class FormFieldComponent implements AfterContentInit, AfterContentChecke
|
|
|
7161
7334
|
showOptionalText: boolean;
|
|
7162
7335
|
validationMessages: QueryList<ValidationMessageComponent>;
|
|
7163
7336
|
nuiFormControl: NuiFormFieldControl;
|
|
7337
|
+
private nuiFormControlElement?;
|
|
7164
7338
|
controlIsOptional: boolean;
|
|
7165
7339
|
labelId: string;
|
|
7166
7340
|
helpId: string;
|
|
@@ -7169,10 +7343,12 @@ declare class FormFieldComponent implements AfterContentInit, AfterContentChecke
|
|
|
7169
7343
|
ngOnDestroy(): void;
|
|
7170
7344
|
getWidth(): string;
|
|
7171
7345
|
private updateControlName;
|
|
7346
|
+
private getNativeControlId;
|
|
7172
7347
|
private getControlDescription;
|
|
7348
|
+
private getFieldDescription;
|
|
7173
7349
|
private hasRequiredField;
|
|
7174
7350
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
7175
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "nui-form-field", never, { "control": { "alias": "control"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "info": { "alias": "info"; "required": false; }; "infoTemplate": { "alias": "infoTemplate"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "hintTemplate": { "alias": "hintTemplate"; "required": false; }; "customBoxWidth": { "alias": "customBoxWidth"; "required": false; }; "showOptionalText": { "alias": "showOptionalText"; "required": false; }; }, {}, ["nuiFormControl", "validationMessages"], ["*", "nui-validation-message"], false, never>;
|
|
7351
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "nui-form-field", never, { "control": { "alias": "control"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "info": { "alias": "info"; "required": false; }; "infoTemplate": { "alias": "infoTemplate"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "hintTemplate": { "alias": "hintTemplate"; "required": false; }; "customBoxWidth": { "alias": "customBoxWidth"; "required": false; }; "showOptionalText": { "alias": "showOptionalText"; "required": false; }; }, {}, ["nuiFormControl", "nuiFormControlElement", "validationMessages"], ["*", "nui-validation-message"], false, never>;
|
|
7176
7352
|
}
|
|
7177
7353
|
|
|
7178
7354
|
/**
|
|
@@ -7295,7 +7471,8 @@ declare class ToastService implements IToastService {
|
|
|
7295
7471
|
private _injector;
|
|
7296
7472
|
private sanitizer;
|
|
7297
7473
|
private index;
|
|
7298
|
-
private
|
|
7474
|
+
private activeToastIds;
|
|
7475
|
+
private get currentlyActive();
|
|
7299
7476
|
private toasts;
|
|
7300
7477
|
private defaultToastConfig;
|
|
7301
7478
|
private toastConfig;
|
|
@@ -7381,8 +7558,11 @@ declare class FreetypeQueryBuilderComponent<T extends QueryToken> implements OnC
|
|
|
7381
7558
|
/** Unique id for the control. */
|
|
7382
7559
|
id: string;
|
|
7383
7560
|
/** Input to set aria label text */
|
|
7384
|
-
ariaLabel: string;
|
|
7561
|
+
get ariaLabel(): string | undefined;
|
|
7562
|
+
set ariaLabel(value: string | undefined);
|
|
7385
7563
|
ariaDescribedby: string;
|
|
7564
|
+
private readonly formFieldDescription;
|
|
7565
|
+
get resolvedAriaDescribedby(): string | null;
|
|
7386
7566
|
querySelect: SelectV2Component;
|
|
7387
7567
|
messageTextarea: ElementRef;
|
|
7388
7568
|
messageTextareaHolder: ElementRef;
|
|
@@ -7397,6 +7577,8 @@ declare class FreetypeQueryBuilderComponent<T extends QueryToken> implements OnC
|
|
|
7397
7577
|
private bodyControl;
|
|
7398
7578
|
private focusedToken;
|
|
7399
7579
|
private lastHeight;
|
|
7580
|
+
private explicitAriaLabel;
|
|
7581
|
+
private formFieldCaption;
|
|
7400
7582
|
formGroup: FormGroup;
|
|
7401
7583
|
focusedTokenValue: string;
|
|
7402
7584
|
highlightModel: {
|
|
@@ -7406,6 +7588,8 @@ declare class FreetypeQueryBuilderComponent<T extends QueryToken> implements OnC
|
|
|
7406
7588
|
inputHeight: number;
|
|
7407
7589
|
selectControl: FormControl;
|
|
7408
7590
|
constructor(renderer2: Renderer2, formBuilder: FormBuilder, cd: ChangeDetectorRef, toastService: ToastService, utils: FreeTypeQueryUtilsService);
|
|
7591
|
+
setFormFieldDescription(id: string | undefined): void;
|
|
7592
|
+
setFormFieldLabel(_labelId: string | undefined, caption?: string): void;
|
|
7409
7593
|
ngOnChanges(changes: SimpleChanges): void;
|
|
7410
7594
|
ngAfterViewInit(): void;
|
|
7411
7595
|
private openOptions;
|
|
@@ -7511,6 +7695,7 @@ declare class ToastComponent implements OnDestroy {
|
|
|
7511
7695
|
display: string;
|
|
7512
7696
|
/** controls animation */
|
|
7513
7697
|
private state;
|
|
7698
|
+
private activationTimeout?;
|
|
7514
7699
|
private timeout;
|
|
7515
7700
|
private intervalId;
|
|
7516
7701
|
private hideTime;
|
|
@@ -7671,11 +7856,21 @@ declare class PaginatorComponent implements OnInit, OnChanges, OnDestroy, IFilte
|
|
|
7671
7856
|
onDestroy$: Subject<void>;
|
|
7672
7857
|
private selectComponent;
|
|
7673
7858
|
private virtualScrollViewport;
|
|
7859
|
+
private virtualScrollViewports;
|
|
7860
|
+
private popups;
|
|
7861
|
+
private popupPages;
|
|
7862
|
+
private readonly host;
|
|
7863
|
+
private readonly focusInjector;
|
|
7864
|
+
private readonly popupKeyboardController;
|
|
7865
|
+
private focusRestorePending;
|
|
7866
|
+
private pendingFocusRestoreElement?;
|
|
7674
7867
|
private _dotsPagesPerRow;
|
|
7675
7868
|
get dotsPagesPerRow(): number;
|
|
7676
7869
|
private mainRangeStart;
|
|
7677
7870
|
private mainRangeEnd;
|
|
7678
7871
|
constructor(logger: LoggerService, popupContainer: PopupContainerService, cd: ChangeDetectorRef);
|
|
7872
|
+
/** Keeps DOM nodes (and focus) stable across page changes. */
|
|
7873
|
+
trackItem: (index: number, item: IPaginatorItem) => unknown;
|
|
7679
7874
|
/**
|
|
7680
7875
|
* Component initialization
|
|
7681
7876
|
*/
|
|
@@ -7729,7 +7924,13 @@ declare class PaginatorComponent implements OnInit, OnChanges, OnDestroy, IFilte
|
|
|
7729
7924
|
/**
|
|
7730
7925
|
* Re-renders the virtual scroll viewport to properly display items within the virtual scroll viewport
|
|
7731
7926
|
*/
|
|
7732
|
-
handleDotsClick(): void;
|
|
7927
|
+
handleDotsClick(popup?: PopupComponent): void;
|
|
7928
|
+
onPopupOpened(isOpen: boolean, popup: PopupComponent): void;
|
|
7929
|
+
onDotsKeydown(event: KeyboardEvent, popup: PopupComponent, item?: IPaginatorItem): void;
|
|
7930
|
+
onPopupKeydown(event: KeyboardEvent, popup: PopupComponent, item?: IPaginatorItem): void;
|
|
7931
|
+
onPopupFocusOut(event: FocusEvent, popup: PopupComponent): void;
|
|
7932
|
+
private getPopupViewport;
|
|
7933
|
+
private scheduleFocusRestore;
|
|
7733
7934
|
/**
|
|
7734
7935
|
* Add items to paginator component
|
|
7735
7936
|
*/
|
|
@@ -7831,7 +8032,11 @@ declare class PanelComponent implements AfterViewInit, OnChanges, OnInit, OnDest
|
|
|
7831
8032
|
isClosable: boolean;
|
|
7832
8033
|
isHoverable: boolean;
|
|
7833
8034
|
isAnimating: boolean;
|
|
8035
|
+
readonly resizeHeadingId: string;
|
|
8036
|
+
get resizeLabelledBy(): string | null;
|
|
7834
8037
|
get expandCollapseAriaLabel(): string;
|
|
8038
|
+
get hoverPanelAriaLabel(): string;
|
|
8039
|
+
get resizeAriaLabel(): string;
|
|
7835
8040
|
private _isCollapsed;
|
|
7836
8041
|
private _isHidden;
|
|
7837
8042
|
private toggles;
|
|
@@ -7839,6 +8044,9 @@ declare class PanelComponent implements AfterViewInit, OnChanges, OnInit, OnDest
|
|
|
7839
8044
|
private _expandAnimationFactory?;
|
|
7840
8045
|
private _collapseAnimationFactory?;
|
|
7841
8046
|
private lastAnimationPlayer?;
|
|
8047
|
+
private pointerInside;
|
|
8048
|
+
private dismissedByKeyboard;
|
|
8049
|
+
private pendingHoverExpanded?;
|
|
7842
8050
|
constructor(renderer: Renderer2, builder: AnimationBuilder, changeDetectorRef: ChangeDetectorRef);
|
|
7843
8051
|
ngOnInit(): void;
|
|
7844
8052
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -7850,7 +8058,13 @@ declare class PanelComponent implements AfterViewInit, OnChanges, OnInit, OnDest
|
|
|
7850
8058
|
get mainIcon(): string;
|
|
7851
8059
|
toggleEnter(): void;
|
|
7852
8060
|
toggleLeave(): void;
|
|
8061
|
+
onHoverFocusIn(event: FocusEvent): void;
|
|
8062
|
+
onHoverFocusOut(event: FocusEvent): void;
|
|
8063
|
+
onHoverKeyDown(event: KeyboardEvent): void;
|
|
8064
|
+
private applyHoverState;
|
|
7853
8065
|
isPanelResizable(): boolean;
|
|
8066
|
+
isPanelKeyboardResizable(): boolean;
|
|
8067
|
+
private identifyResizeHeading;
|
|
7854
8068
|
toggleHideOrCollapsed(): void;
|
|
7855
8069
|
private toggleCollapsed;
|
|
7856
8070
|
private defineIsCollapsed;
|
|
@@ -8319,6 +8533,18 @@ declare class TableHeaderCellComponent extends CdkHeaderCell implements OnInit,
|
|
|
8319
8533
|
private subscriptions;
|
|
8320
8534
|
resizable: boolean;
|
|
8321
8535
|
sortingState: ITableSortingState;
|
|
8536
|
+
readonly minimumColumnWidth = 46;
|
|
8537
|
+
readonly columnWidthInputId: string;
|
|
8538
|
+
columnWidth: number;
|
|
8539
|
+
isColumnWidthInvalid: boolean;
|
|
8540
|
+
columnWidthAnnouncement: string;
|
|
8541
|
+
columnWidthOverlay: OverlayComponent;
|
|
8542
|
+
private columnWidthInput;
|
|
8543
|
+
private readonly overlay;
|
|
8544
|
+
private readonly injector;
|
|
8545
|
+
get columnLabel(): string;
|
|
8546
|
+
get resizeAriaLabel(): string;
|
|
8547
|
+
get columnWidthDialogLabel(): string;
|
|
8322
8548
|
get isIconCell(): boolean;
|
|
8323
8549
|
/**
|
|
8324
8550
|
* Conditionally applies a fixed-width marker class for letting external entities
|
|
@@ -8351,12 +8577,15 @@ declare class TableHeaderCellComponent extends CdkHeaderCell implements OnInit,
|
|
|
8351
8577
|
dragStarted(event: IDragEvent): void;
|
|
8352
8578
|
dropped(event: IDragEvent): void;
|
|
8353
8579
|
dragEnd(event: IDragEvent): void;
|
|
8354
|
-
constructor(columnDef: TableColumnDefDirective, elementRef: ElementRef
|
|
8580
|
+
constructor(columnDef: TableColumnDefDirective, elementRef: ElementRef<HTMLElement>, tableStateHandlerService: TableStateHandlerService, utilService: UtilService, zone: NgZone, renderer: Renderer2);
|
|
8355
8581
|
ngOnInit(): void;
|
|
8356
8582
|
ngOnChanges(changes: SimpleChanges): void;
|
|
8357
8583
|
ngAfterViewInit(): void;
|
|
8358
8584
|
isColumnResizable(): boolean;
|
|
8359
8585
|
onColumnWidthChange(offset: number): void;
|
|
8586
|
+
openColumnWidth(): void;
|
|
8587
|
+
applyColumnWidth(event: Event, input: HTMLInputElement): void;
|
|
8588
|
+
closeColumnWidth(restoreFocus?: boolean): void;
|
|
8360
8589
|
ngOnDestroy(): void;
|
|
8361
8590
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderCellComponent, never>;
|
|
8362
8591
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderCellComponent, "nui-header-cell, th[nui-header-cell]", never, { "alignment": { "alias": "alignment"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "isColumnSortingDisabled": { "alias": "isColumnSortingDisabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
@@ -8411,7 +8640,7 @@ declare class TableFooterCellDirective extends CdkFooterCell {
|
|
|
8411
8640
|
*/
|
|
8412
8641
|
declare class NuiTableModule {
|
|
8413
8642
|
static ɵfac: i0.ɵɵFactoryDeclaration<NuiTableModule, never>;
|
|
8414
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NuiTableModule, [typeof TableComponent, typeof TableHeaderRowDefDirective, typeof TableResizerDirective, typeof TableCellDefDirective, typeof TableRowDefDirective, typeof TableFooterRowDefDirective, typeof TableHeaderRowComponent, typeof TableRowComponent, typeof TableFooterRowComponent, typeof TableHeaderCellDefDirective, typeof TableHeaderCellComponent, typeof TableCellDirective, typeof TableFooterCellDefDirective, typeof TableFooterCellDirective, typeof TableColumnDefDirective, typeof TableVirtualScrollDirective, typeof TableVirtualScrollLinearDirective, typeof TableStickyHeaderDirective, typeof SliceRangePipe], [typeof NuiCommonModule, typeof NuiRadioModule, typeof NuiSelectModule, typeof NuiSelectorModule, typeof NuiCheckboxModule, typeof NuiIconModule, typeof i20.CdkTableModule], [typeof TableComponent, typeof TableHeaderRowDefDirective, typeof TableResizerDirective, typeof TableCellDefDirective, typeof TableRowDefDirective, typeof TableFooterRowDefDirective, typeof TableHeaderRowComponent, typeof TableRowComponent, typeof TableFooterRowComponent, typeof TableHeaderCellDefDirective, typeof TableHeaderCellComponent, typeof TableCellDirective, typeof TableFooterCellDefDirective, typeof TableFooterCellDirective, typeof TableColumnDefDirective, typeof TableVirtualScrollDirective, typeof TableVirtualScrollLinearDirective, typeof TableStickyHeaderDirective, typeof SliceRangePipe]>;
|
|
8643
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NuiTableModule, [typeof TableComponent, typeof TableHeaderRowDefDirective, typeof TableResizerDirective, typeof TableCellDefDirective, typeof TableRowDefDirective, typeof TableFooterRowDefDirective, typeof TableHeaderRowComponent, typeof TableRowComponent, typeof TableFooterRowComponent, typeof TableHeaderCellDefDirective, typeof TableHeaderCellComponent, typeof TableCellDirective, typeof TableFooterCellDefDirective, typeof TableFooterCellDirective, typeof TableColumnDefDirective, typeof TableVirtualScrollDirective, typeof TableVirtualScrollLinearDirective, typeof TableStickyHeaderDirective, typeof SliceRangePipe], [typeof NuiCommonModule, typeof NuiRadioModule, typeof NuiSelectModule, typeof NuiSelectorModule, typeof NuiCheckboxModule, typeof NuiIconModule, typeof i20.CdkTableModule, typeof i3$1.A11yModule, typeof NuiButtonModule, typeof NuiOverlayModule], [typeof TableComponent, typeof TableHeaderRowDefDirective, typeof TableResizerDirective, typeof TableCellDefDirective, typeof TableRowDefDirective, typeof TableFooterRowDefDirective, typeof TableHeaderRowComponent, typeof TableRowComponent, typeof TableFooterRowComponent, typeof TableHeaderCellDefDirective, typeof TableHeaderCellComponent, typeof TableCellDirective, typeof TableFooterCellDefDirective, typeof TableFooterCellDirective, typeof TableColumnDefDirective, typeof TableVirtualScrollDirective, typeof TableVirtualScrollLinearDirective, typeof TableStickyHeaderDirective, typeof SliceRangePipe]>;
|
|
8415
8644
|
static ɵinj: i0.ɵɵInjectorDeclaration<NuiTableModule>;
|
|
8416
8645
|
}
|
|
8417
8646
|
|
|
@@ -8681,6 +8910,7 @@ declare class ToolbarKeyboardService {
|
|
|
8681
8910
|
private orientation;
|
|
8682
8911
|
setToolbarItems(items: HTMLElement[], menu?: MenuComponent, orientation?: "horizontal" | "vertical"): void;
|
|
8683
8912
|
onKeyDown(event: KeyboardEvent): void;
|
|
8913
|
+
private isEditableTarget;
|
|
8684
8914
|
private navigateByArrow;
|
|
8685
8915
|
private get enabledItems();
|
|
8686
8916
|
private focusFirst;
|
|
@@ -8699,7 +8929,7 @@ declare class ToolbarKeyboardService {
|
|
|
8699
8929
|
* Use nui-toolbar-divider to display a vertical line between items.
|
|
8700
8930
|
* <example-url>./../examples/index.html#/toolbar</example-url>
|
|
8701
8931
|
*/
|
|
8702
|
-
declare class ToolbarComponent implements AfterViewInit, OnDestroy {
|
|
8932
|
+
declare class ToolbarComponent implements AfterViewInit, AfterViewChecked, OnDestroy {
|
|
8703
8933
|
element: ElementRef;
|
|
8704
8934
|
private changeDetector;
|
|
8705
8935
|
private logger;
|
|
@@ -8740,6 +8970,7 @@ declare class ToolbarComponent implements AfterViewInit, OnDestroy {
|
|
|
8740
8970
|
constructor(element: ElementRef, changeDetector: ChangeDetectorRef, logger: LoggerService, ngZone: NgZone, keyboardService: ToolbarKeyboardService);
|
|
8741
8971
|
onKeyDown(event: KeyboardEvent): void;
|
|
8742
8972
|
ngAfterViewInit(): void;
|
|
8973
|
+
ngAfterViewChecked(): void;
|
|
8743
8974
|
ngOnDestroy(): void;
|
|
8744
8975
|
onClickToolbarBtn(event: MouseEvent, commandItem: ToolbarItemComponent): void;
|
|
8745
8976
|
moveToolbarItems(): void;
|
|
@@ -8750,6 +8981,7 @@ declare class ToolbarComponent implements AfterViewInit, OnDestroy {
|
|
|
8750
8981
|
get destructiveIsLastItem(): boolean;
|
|
8751
8982
|
isFirstFocusableItem(commandItem: ToolbarItemComponent): boolean;
|
|
8752
8983
|
private subscribeToToolbarStepsChanges;
|
|
8984
|
+
private updateMenuTabIndex;
|
|
8753
8985
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
8754
8986
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "nui-toolbar", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaOrientation": { "alias": "ariaOrientation"; "required": false; }; "selectionEnabled": { "alias": "selectionEnabled"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "noEmptyMessage": { "alias": "noEmptyMessage"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; }, {}, ["groups", "items"], ["nui-toolbar-message", "*", ".nui-toolbar-embedded"], false, never>;
|
|
8755
8987
|
}
|