@grapecity/wijmo.input 5.20251.40 → 5.20252.42
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/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +157 -50
- package/index.js +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
3
|
+
* Wijmo Library 5.20252.42
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -73,12 +73,14 @@ export declare const InputColorClsNames: {
|
|
|
73
73
|
export declare const InputDateClsNames: {
|
|
74
74
|
hostElement: string;
|
|
75
75
|
inputDateDropDown: string;
|
|
76
|
+
inputDateDropDownContainer: string;
|
|
76
77
|
};
|
|
77
78
|
export declare const InputDateRangeClsNames: {
|
|
78
79
|
hostElement: string;
|
|
79
80
|
};
|
|
80
81
|
export declare const InputDateTimeClsNames: {
|
|
81
82
|
hostElement: string;
|
|
83
|
+
showDropDownButton: string;
|
|
82
84
|
};
|
|
83
85
|
export declare const InputMaskClsNames: {
|
|
84
86
|
hostElement: string;
|
|
@@ -108,6 +110,7 @@ export declare const MultiAutoCompleteClsNames: {
|
|
|
108
110
|
tokenClose: string;
|
|
109
111
|
tokenHelper: string;
|
|
110
112
|
tokenLabel: string;
|
|
113
|
+
screenReaderOnly: string;
|
|
111
114
|
};
|
|
112
115
|
export declare const MultiSelectClsNames: {
|
|
113
116
|
hostElement: string;
|
|
@@ -341,6 +344,13 @@ export declare class InputNumber extends Control {
|
|
|
341
344
|
protected _keypress(e: KeyboardEvent): void;
|
|
342
345
|
protected _keydown(e: KeyboardEvent): void;
|
|
343
346
|
protected _input(): void;
|
|
347
|
+
/**
|
|
348
|
+
* Checks if the value represents a negative currency entered using parentheses.
|
|
349
|
+
* Scenario:
|
|
350
|
+
* 1. First input "(" → value changes to "-$0.00"
|
|
351
|
+
* 2. Then input a digit (e.g., "1") → value changes to "-$01.00"
|
|
352
|
+
*/
|
|
353
|
+
private _isNegativeCurrencyByParenthesis;
|
|
344
354
|
protected _clickSpinner(e: MouseEvent): void;
|
|
345
355
|
protected _updateAria(): void;
|
|
346
356
|
_updateInputAriaLabel(): void;
|
|
@@ -399,6 +409,8 @@ export declare class InputMask extends Control {
|
|
|
399
409
|
_msk: _MaskProvider;
|
|
400
410
|
_fullEdit: boolean;
|
|
401
411
|
static _ctrlTemplate: string;
|
|
412
|
+
_inputElementAriaLabel: string;
|
|
413
|
+
_ariaLabelledby: string;
|
|
402
414
|
/**
|
|
403
415
|
* Gets or sets the template used to instantiate {@link InputMask} controls.
|
|
404
416
|
*/
|
|
@@ -501,8 +513,22 @@ export declare class InputMask extends Control {
|
|
|
501
513
|
dispose(): void;
|
|
502
514
|
refresh(fullUpdate?: boolean): void;
|
|
503
515
|
onGotFocus(e: any): void;
|
|
516
|
+
/**
|
|
517
|
+
* Gets or sets the aria-labelledby attribute of input element.
|
|
518
|
+
*/
|
|
519
|
+
ariaLabelledBy: string;
|
|
520
|
+
_updateInputAriaLabel(): void;
|
|
504
521
|
getAriaLabelForScreenReader(): any;
|
|
505
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Specifies constants that define the action to be performed when the TAB key is pressed.
|
|
525
|
+
*/
|
|
526
|
+
export declare enum ColorPickerTabKeyAction {
|
|
527
|
+
/** No special action (let the browser handle the key). */
|
|
528
|
+
None = 0,
|
|
529
|
+
/** All buttons in the color picker can be selected using the tab key. */
|
|
530
|
+
All = 1
|
|
531
|
+
}
|
|
506
532
|
/**
|
|
507
533
|
* The {@link ColorPicker} control allows users to select a color by clicking
|
|
508
534
|
* on panels to adjust color channels (hue, saturation, brightness, alpha).
|
|
@@ -527,7 +553,11 @@ export declare class ColorPicker extends Control {
|
|
|
527
553
|
_ePal: HTMLElement;
|
|
528
554
|
_ePreview: HTMLElement;
|
|
529
555
|
_eText: HTMLElement;
|
|
556
|
+
_ePalMainFirst: HTMLElement;
|
|
557
|
+
_ePalShadeFirst: HTMLElement;
|
|
530
558
|
_htDown: Element;
|
|
559
|
+
_ariaLabel: string;
|
|
560
|
+
private _keyActionTab;
|
|
531
561
|
static _ctrlTemplate: string;
|
|
532
562
|
/**
|
|
533
563
|
* Gets or sets the template used to instantiate {@link ColorPicker} controls.
|
|
@@ -584,6 +614,20 @@ export declare class ColorPicker extends Control {
|
|
|
584
614
|
* No exceptions are thrown in these cases.
|
|
585
615
|
*/
|
|
586
616
|
palette: string[];
|
|
617
|
+
/**
|
|
618
|
+
* Gets or sets the aria-label attribute of {@link ColorPicker} host element.
|
|
619
|
+
*
|
|
620
|
+
* The default value for this property is "Color Picker".
|
|
621
|
+
*/
|
|
622
|
+
ariaLabel: string;
|
|
623
|
+
/**
|
|
624
|
+
* Gets or sets the action to perform when the Tab key is pressed.
|
|
625
|
+
*
|
|
626
|
+
* The default setting for this property is {@link ColorPickerTabKeyAction.None},
|
|
627
|
+
* This means that pressing the tab key will have no effect and follow the browser's default behavior.
|
|
628
|
+
*/
|
|
629
|
+
keyActionTab: ColorPickerTabKeyAction;
|
|
630
|
+
_setTabOrder(value: number): void;
|
|
587
631
|
/**
|
|
588
632
|
* Occurs when the value of the {@link value} property changes, either
|
|
589
633
|
* as a result of user actions or by assignment in code.
|
|
@@ -600,7 +644,18 @@ export declare class ColorPicker extends Control {
|
|
|
600
644
|
private _updatePalette;
|
|
601
645
|
private _makePalEntry;
|
|
602
646
|
private _updatePanels;
|
|
647
|
+
private getColorsDiv;
|
|
603
648
|
private _getTargetPanel;
|
|
649
|
+
protected getActualTabIndex(): string;
|
|
650
|
+
private _updateTabIndex;
|
|
651
|
+
protected _setIsDisabled(value: boolean): void;
|
|
652
|
+
private _updateAriaValues;
|
|
653
|
+
private _keydown;
|
|
654
|
+
private _isInColorPalette;
|
|
655
|
+
private _handleColorNavigation;
|
|
656
|
+
private _handleHSBNavigation;
|
|
657
|
+
_refreshSelection(): void;
|
|
658
|
+
private _handleAlphaNavigation;
|
|
604
659
|
}
|
|
605
660
|
/**
|
|
606
661
|
* The {@link CollectionViewNavigator} control provides a UI for navigating
|
|
@@ -796,6 +851,7 @@ export declare class ListBox<T = any> extends Control {
|
|
|
796
851
|
_ariaLabel: string;
|
|
797
852
|
static _DIDX_KEY: string;
|
|
798
853
|
static _VTHRESH: number;
|
|
854
|
+
_isNeedUpdateBnd: boolean;
|
|
799
855
|
/**
|
|
800
856
|
* Initializes a new instance of the {@link ListBox} class.
|
|
801
857
|
*
|
|
@@ -1145,8 +1201,10 @@ export declare class ListBox<T = any> extends Control {
|
|
|
1145
1201
|
_initFromSelect(hostElement: HTMLElement): void;
|
|
1146
1202
|
_setIsDisabled(value: boolean): void;
|
|
1147
1203
|
_setTabOrder(value: number): void;
|
|
1204
|
+
_isMenuItem(): boolean;
|
|
1148
1205
|
_updateTabIndex(): void;
|
|
1149
1206
|
private _selectRange;
|
|
1207
|
+
dispose(): void;
|
|
1150
1208
|
}
|
|
1151
1209
|
/**
|
|
1152
1210
|
* Provides arguments for the {@link ListBox.formatItem} event.
|
|
@@ -1193,6 +1251,7 @@ export declare class MultiSelectListBox<T = any> extends Control {
|
|
|
1193
1251
|
_lbx: ListBox;
|
|
1194
1252
|
_cbSelectAll: HTMLInputElement;
|
|
1195
1253
|
_spSelectAll: HTMLSpanElement;
|
|
1254
|
+
_ariaLabel: string;
|
|
1196
1255
|
_selectAllLabel: string;
|
|
1197
1256
|
_filterPlaceholder: string;
|
|
1198
1257
|
_filterText: string;
|
|
@@ -1343,6 +1402,11 @@ export declare class MultiSelectListBox<T = any> extends Control {
|
|
|
1343
1402
|
* Gets or sets an array containing the items that are currently checked.
|
|
1344
1403
|
*/
|
|
1345
1404
|
checkedItems: any[];
|
|
1405
|
+
/**
|
|
1406
|
+
* Gets or sets the aria-labelledby attribute of {@link MultiSelectListBox} input element.
|
|
1407
|
+
*/
|
|
1408
|
+
ariaLabelledBy: string;
|
|
1409
|
+
_updateAriaLabel(): void;
|
|
1346
1410
|
/**
|
|
1347
1411
|
* Occurs when the value of the {@link checkedItems} property changes.
|
|
1348
1412
|
*/
|
|
@@ -1541,6 +1605,7 @@ export declare class Calendar extends Control {
|
|
|
1541
1605
|
private _keyActionTab;
|
|
1542
1606
|
private _ariaLabel;
|
|
1543
1607
|
private _showConfirmationButtons;
|
|
1608
|
+
private _isSpaceDownForSetValue;
|
|
1544
1609
|
private _tmYrHidden;
|
|
1545
1610
|
private _syncing;
|
|
1546
1611
|
private _cals;
|
|
@@ -1950,10 +2015,8 @@ export declare class Calendar extends Control {
|
|
|
1950
2015
|
*/
|
|
1951
2016
|
keyActionTab: CalendarTabKeyAction;
|
|
1952
2017
|
private _isButtonFocused;
|
|
1953
|
-
private _isSameDay;
|
|
1954
2018
|
private _isSameMonth;
|
|
1955
2019
|
private _dateViewContainsFocus;
|
|
1956
|
-
getFocusableElements(): HTMLElement[];
|
|
1957
2020
|
private _updateMonthButtonAria;
|
|
1958
2021
|
private _isDayValid;
|
|
1959
2022
|
readonly cancelButtonClicked: Event<Calendar, EventArgs>;
|
|
@@ -1971,6 +2034,12 @@ export declare class Calendar extends Control {
|
|
|
1971
2034
|
_onEnterKeyDownToSetValue(e?: EventArgs): void;
|
|
1972
2035
|
showConfirmationButtons: boolean;
|
|
1973
2036
|
protected _setIsDisabled(value: boolean): void;
|
|
2037
|
+
private updateCalendarsTabindex;
|
|
2038
|
+
private setFocusModeValue;
|
|
2039
|
+
private _getCalendarsHostElements;
|
|
2040
|
+
updateConfirmationButtons(hostElement: HTMLElement): void;
|
|
2041
|
+
setFocusValueToFirstOrLastCalendar(isFirst: boolean): void;
|
|
2042
|
+
isCalendarDateCell(element: HTMLElement): boolean;
|
|
1974
2043
|
}
|
|
1975
2044
|
/**
|
|
1976
2045
|
* Specifies constants that define the action to perform when the
|
|
@@ -2028,6 +2097,7 @@ export declare class DropDown extends Control {
|
|
|
2028
2097
|
_isInvalidInputCancelled: boolean;
|
|
2029
2098
|
_keyActionDownArrow: KeyAction;
|
|
2030
2099
|
_keyActionUpArrow: KeyAction;
|
|
2100
|
+
_keyActionTab: TabKeyAction;
|
|
2031
2101
|
static _ctrlTemplate: string;
|
|
2032
2102
|
/**
|
|
2033
2103
|
* Gets or sets the template used to instantiate {@link DropDown} controls.
|
|
@@ -2154,6 +2224,27 @@ export declare class DropDown extends Control {
|
|
|
2154
2224
|
* without changing the current selection.
|
|
2155
2225
|
*/
|
|
2156
2226
|
keyActionUpArrow: KeyAction;
|
|
2227
|
+
/**
|
|
2228
|
+
* Gets or sets the action to perform when the TAB key is pressed.
|
|
2229
|
+
*
|
|
2230
|
+
* The default setting for this property is {@link TabKeyAction.CloseAndMoveFocus},
|
|
2231
|
+
* which provides standard form navigation behavior by:
|
|
2232
|
+
* - Closing the dropdown (if open)
|
|
2233
|
+
* - Moving focus to the next focusable element
|
|
2234
|
+
*
|
|
2235
|
+
* For specialized cases, you can set this to {@link TabKeyAction.CloseAndKeepFocus}
|
|
2236
|
+
* to maintain focus on the control after closing the dropdown.
|
|
2237
|
+
*
|
|
2238
|
+
* This setting is particularly useful for controlling accessibility behavior
|
|
2239
|
+
* and keyboard navigation flow in form controls.
|
|
2240
|
+
*
|
|
2241
|
+
* Example:
|
|
2242
|
+
* ```typescript
|
|
2243
|
+
* // Change TAB key behavior
|
|
2244
|
+
* dropDown.keyActionTab = TabKeyAction.CloseAndMoveFocus;
|
|
2245
|
+
* ```
|
|
2246
|
+
*/
|
|
2247
|
+
keyActionTab: TabKeyAction;
|
|
2157
2248
|
/**
|
|
2158
2249
|
* Sets the focus to the control and selects all its content.
|
|
2159
2250
|
*/
|
|
@@ -2211,6 +2302,7 @@ export declare class DropDown extends Control {
|
|
|
2211
2302
|
protected _createDropDown(): void;
|
|
2212
2303
|
protected _commitText(noFocus?: boolean, shouldInvalid?: boolean): void;
|
|
2213
2304
|
_updateDropDown(): void;
|
|
2305
|
+
_shouldRaiseInvalidInput(shouldInvalid: boolean): boolean;
|
|
2214
2306
|
}
|
|
2215
2307
|
/**
|
|
2216
2308
|
* Specifies actions that trigger showing and hiding {@link Popup} controls.
|
|
@@ -2338,6 +2430,7 @@ export declare class Popup extends Control {
|
|
|
2338
2430
|
static _DRAG_THRESHOLD: number;
|
|
2339
2431
|
static _SZ_EDGE: number;
|
|
2340
2432
|
static _SZ_MIN: number;
|
|
2433
|
+
static _PopupInstanceCount: number;
|
|
2341
2434
|
static _evtHover: MouseEvent;
|
|
2342
2435
|
protected _owner: HTMLElement;
|
|
2343
2436
|
protected _ariaLabel: string;
|
|
@@ -2384,6 +2477,9 @@ export declare class Popup extends Control {
|
|
|
2384
2477
|
protected _lastShow: number;
|
|
2385
2478
|
protected _initialOwner: HTMLElement;
|
|
2386
2479
|
protected _activeEdge: _Edges;
|
|
2480
|
+
private _toHidePopupTimer;
|
|
2481
|
+
private _toGetFocusTimer;
|
|
2482
|
+
private _hideTimer;
|
|
2387
2483
|
/**
|
|
2388
2484
|
* Initializes a new instance of the {@link Popup} class.
|
|
2389
2485
|
*
|
|
@@ -2792,7 +2888,6 @@ export declare class Popup extends Control {
|
|
|
2792
2888
|
*/
|
|
2793
2889
|
onPositionChanged(e?: EventArgs): void;
|
|
2794
2890
|
onLostFocus(e?: EventArgs): void;
|
|
2795
|
-
dispose(): void;
|
|
2796
2891
|
refresh(fullUpdate?: boolean): void;
|
|
2797
2892
|
_clearTimeouts(): void;
|
|
2798
2893
|
protected _handleDragResize(on: boolean): void;
|
|
@@ -2813,6 +2908,7 @@ export declare class Popup extends Control {
|
|
|
2813
2908
|
protected _validateAndHide(result: any): void;
|
|
2814
2909
|
protected _updateAriaLabel(): void;
|
|
2815
2910
|
protected _updateAriaLabelImp(oldLabels: any): void;
|
|
2911
|
+
dispose(): void;
|
|
2816
2912
|
}
|
|
2817
2913
|
/**
|
|
2818
2914
|
* Provides arguments for the {@link Popup} control's {@link sizeChanging} and
|
|
@@ -2901,7 +2997,6 @@ export declare class InputDate extends DropDown {
|
|
|
2901
2997
|
protected _currentInput: string;
|
|
2902
2998
|
static _ctrlTemplate: string;
|
|
2903
2999
|
_ariaLabelledby: string;
|
|
2904
|
-
_keyActionTab: TabKeyAction;
|
|
2905
3000
|
/**
|
|
2906
3001
|
* Gets or sets the template used to instantiate {@link InputDate} control.
|
|
2907
3002
|
*/
|
|
@@ -3318,28 +3413,6 @@ export declare class InputDate extends DropDown {
|
|
|
3318
3413
|
ariaLabelledBy: string;
|
|
3319
3414
|
protected _updateInputAriaLabel(): void;
|
|
3320
3415
|
getAriaLabelForScreenReader(): any;
|
|
3321
|
-
/**
|
|
3322
|
-
* Gets or sets the action to perform when the TAB key is pressed.
|
|
3323
|
-
*
|
|
3324
|
-
* The default setting for this property is {@link TabKeyAction.CloseAndMoveFocus},
|
|
3325
|
-
* which provides standard form navigation behavior by:
|
|
3326
|
-
* - Closing the dropdown (if open)
|
|
3327
|
-
* - Moving focus to the next focusable element
|
|
3328
|
-
*
|
|
3329
|
-
* For specialized cases, you can set this to {@link TabKeyAction.CloseAndKeepFocus}
|
|
3330
|
-
* to maintain focus on the control after closing the dropdown.
|
|
3331
|
-
*
|
|
3332
|
-
* This setting is particularly useful for controlling accessibility behavior
|
|
3333
|
-
* and keyboard navigation flow in form controls.
|
|
3334
|
-
*
|
|
3335
|
-
* Example:
|
|
3336
|
-
* ```typescript
|
|
3337
|
-
* // Change TAB key behavior
|
|
3338
|
-
* inputDate.keyActionTab = TabKeyAction.CloseAndMoveFocus;
|
|
3339
|
-
* ```
|
|
3340
|
-
*/
|
|
3341
|
-
keyActionTab: TabKeyAction;
|
|
3342
|
-
_shouldRaiseInvalidInput(shouldInvalid: boolean): boolean;
|
|
3343
3416
|
}
|
|
3344
3417
|
/**
|
|
3345
3418
|
* The {@link InputDateRange} control extends the {@link InputDate}
|
|
@@ -3387,6 +3460,8 @@ export declare class InputColor extends DropDown {
|
|
|
3387
3460
|
private _colorPicker;
|
|
3388
3461
|
private _value;
|
|
3389
3462
|
private _textInitialized;
|
|
3463
|
+
_ariaLabelledby: string;
|
|
3464
|
+
protected _inputAriaLabel: string;
|
|
3390
3465
|
static _ctrlTemplate: string;
|
|
3391
3466
|
/**
|
|
3392
3467
|
* Gets or sets the template used to instantiate {@link InputColor} control.
|
|
@@ -3447,6 +3522,14 @@ export declare class InputColor extends DropDown {
|
|
|
3447
3522
|
* Gets a reference to the {@link ColorPicker} control shown in the drop-down.
|
|
3448
3523
|
*/
|
|
3449
3524
|
readonly colorPicker: ColorPicker;
|
|
3525
|
+
/**
|
|
3526
|
+
* Gets or sets the aria-labelledby attribute of input color element.
|
|
3527
|
+
*/
|
|
3528
|
+
ariaLabelledBy: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* Gets or sets the colorPicker's keyActionTab property.
|
|
3531
|
+
*/
|
|
3532
|
+
colorPickerKeyActionTab: ColorPickerTabKeyAction;
|
|
3450
3533
|
/**
|
|
3451
3534
|
* Occurs when the value of the {@link value} property changes, either
|
|
3452
3535
|
* as a result of user actions or by assignment in code.
|
|
@@ -3462,6 +3545,7 @@ export declare class InputColor extends DropDown {
|
|
|
3462
3545
|
protected _commitText(): void;
|
|
3463
3546
|
protected _copy(key: string, value: any): boolean;
|
|
3464
3547
|
getAriaLabelForScreenReader(): any;
|
|
3548
|
+
protected _updateInputAriaLabel(): void;
|
|
3465
3549
|
}
|
|
3466
3550
|
/**
|
|
3467
3551
|
* The {@link ComboBox} control allows users to pick strings from lists.
|
|
@@ -3516,7 +3600,6 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3516
3600
|
_selItems: any;
|
|
3517
3601
|
_oldFilter: any;
|
|
3518
3602
|
static _ctrlTemplate: string;
|
|
3519
|
-
_keyActionTab: TabKeyAction;
|
|
3520
3603
|
_keyActionPrintCharacters: KeyAction;
|
|
3521
3604
|
_inputElementAriaLabel: string;
|
|
3522
3605
|
_ariaLabelledby: string;
|
|
@@ -3721,27 +3804,6 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3721
3804
|
* This is useful for quick selection in known-value scenarios.
|
|
3722
3805
|
*/
|
|
3723
3806
|
keyActionPrintCharacters: KeyAction;
|
|
3724
|
-
/**
|
|
3725
|
-
* Gets or sets the action to perform when the TAB key is pressed.
|
|
3726
|
-
*
|
|
3727
|
-
* The default setting for this property is {@link TabKeyAction.CloseAndMoveFocus},
|
|
3728
|
-
* which provides standard form navigation behavior by:
|
|
3729
|
-
* - Closing the dropdown (if open)
|
|
3730
|
-
* - Moving focus to the next focusable element
|
|
3731
|
-
*
|
|
3732
|
-
* For specialized cases, you can set this to {@link TabKeyAction.CloseAndKeepFocus}
|
|
3733
|
-
* to maintain focus on the control after closing the dropdown.
|
|
3734
|
-
*
|
|
3735
|
-
* This setting is particularly useful for controlling accessibility behavior
|
|
3736
|
-
* and keyboard navigation flow in form controls.
|
|
3737
|
-
*
|
|
3738
|
-
* Example:
|
|
3739
|
-
* ```typescript
|
|
3740
|
-
* // Change TAB key behavior
|
|
3741
|
-
* comboBox.keyActionTab = TabKeyAction.CloseAndMoveFocus;
|
|
3742
|
-
* ```
|
|
3743
|
-
*/
|
|
3744
|
-
keyActionTab: TabKeyAction;
|
|
3745
3807
|
/**
|
|
3746
3808
|
* Gets or sets the aria-labelledby attribute of input element.
|
|
3747
3809
|
*/
|
|
@@ -3818,6 +3880,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3818
3880
|
private _getSelEnd;
|
|
3819
3881
|
private _setSelRange;
|
|
3820
3882
|
getAriaLabelForScreenReader(): any;
|
|
3883
|
+
_updateDropDownWhenInput(): void;
|
|
3821
3884
|
}
|
|
3822
3885
|
/**
|
|
3823
3886
|
* Represents a method that returns a string used as a header for a
|
|
@@ -3994,6 +4057,8 @@ export declare class MultiSelect extends ComboBox {
|
|
|
3994
4057
|
onIsDroppedDownChanged(e?: EventArgs): void;
|
|
3995
4058
|
onLostFocus(): void;
|
|
3996
4059
|
protected _createDropDown(): void;
|
|
4060
|
+
_updateBtnAria(): void;
|
|
4061
|
+
_updateTbxAria(): void;
|
|
3997
4062
|
isReadOnly: boolean;
|
|
3998
4063
|
refresh(fullUpdate?: boolean): void;
|
|
3999
4064
|
protected _setText(text: string, fullMatch: boolean): void;
|
|
@@ -4073,7 +4138,9 @@ export declare class Menu extends ComboBox {
|
|
|
4073
4138
|
_ariaLabel: string;
|
|
4074
4139
|
_aFEnabledItem: boolean;
|
|
4075
4140
|
static _evtHover: MouseEvent;
|
|
4141
|
+
static _MenuInstanceCount: number;
|
|
4076
4142
|
static _ctrlTemplate: string;
|
|
4143
|
+
_parentMenu: Menu;
|
|
4077
4144
|
/**
|
|
4078
4145
|
* Gets or sets the template used to instantiate {@link Menu} control.
|
|
4079
4146
|
*/
|
|
@@ -4085,6 +4152,9 @@ export declare class Menu extends ComboBox {
|
|
|
4085
4152
|
* @param options The JavaScript object containing initialization data for the control.
|
|
4086
4153
|
*/
|
|
4087
4154
|
constructor(element: any, options?: any);
|
|
4155
|
+
_updateBtnAria(): void;
|
|
4156
|
+
_updateHdrAria(): void;
|
|
4157
|
+
_updateLbxAria(): void;
|
|
4088
4158
|
/**
|
|
4089
4159
|
* Gets or sets the aria-label attribute of {@link Menu} element.
|
|
4090
4160
|
*
|
|
@@ -4284,13 +4354,16 @@ export declare class Menu extends ComboBox {
|
|
|
4284
4354
|
onItemClicked(e?: EventArgs): void;
|
|
4285
4355
|
refresh(fullUpdate?: boolean): void;
|
|
4286
4356
|
onIsDroppedDownChanged(e?: EventArgs): void;
|
|
4357
|
+
private _restoreSelectedItem;
|
|
4287
4358
|
_updateHoverEvents(): void;
|
|
4288
4359
|
_getSubItems(item: any): any[];
|
|
4289
4360
|
_formatMenuItem(s: ListBox, e: FormatItemEventArgs): void;
|
|
4290
4361
|
protected _keydown(e: KeyboardEvent): void;
|
|
4362
|
+
_afterOpenDropdownByDownArrow(): void;
|
|
4291
4363
|
protected _dropDownClick(e: MouseEvent): void;
|
|
4292
4364
|
private _showSubMenu;
|
|
4293
4365
|
private _raiseCommand;
|
|
4366
|
+
private _focusMenuOwner;
|
|
4294
4367
|
private _getCommand;
|
|
4295
4368
|
private _getCommandParm;
|
|
4296
4369
|
private _executeCommand;
|
|
@@ -4303,6 +4376,7 @@ export declare class Menu extends ComboBox {
|
|
|
4303
4376
|
private _hoverLeave;
|
|
4304
4377
|
_setIsDisabled(value: boolean): void;
|
|
4305
4378
|
_setTabOrder(value: number): void;
|
|
4379
|
+
dispose(): void;
|
|
4306
4380
|
}
|
|
4307
4381
|
/**
|
|
4308
4382
|
* The {@link InputTime} control allows users to enter times using any format
|
|
@@ -4446,7 +4520,7 @@ export declare class InputTime extends ComboBox {
|
|
|
4446
4520
|
protected _keydown(e: KeyboardEvent): void;
|
|
4447
4521
|
protected _updateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
4448
4522
|
private _reselectText;
|
|
4449
|
-
protected _commitText(): void;
|
|
4523
|
+
protected _commitText(noFocus?: boolean, shouldInvalid?: boolean): void;
|
|
4450
4524
|
protected _copy(key: string, value: any): boolean;
|
|
4451
4525
|
getAriaLabelForScreenReader(): any;
|
|
4452
4526
|
_input(e: Event): void;
|
|
@@ -4546,6 +4620,31 @@ export declare class InputDateTime extends InputDate {
|
|
|
4546
4620
|
protected _keydown(e: KeyboardEvent): void;
|
|
4547
4621
|
protected _updateDateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
4548
4622
|
protected _commitText(noFocus?: boolean, shouldInvalid?: boolean): void;
|
|
4623
|
+
_updateTbxAria(): void;
|
|
4624
|
+
/**
|
|
4625
|
+
* Gets or sets the action to perform when the TAB key is pressed.
|
|
4626
|
+
*
|
|
4627
|
+
* The default setting for this property is {@link TabKeyAction.CloseAndMoveFocus},
|
|
4628
|
+
* which provides standard form navigation behavior by:
|
|
4629
|
+
* - Closing the dropdown (if open)
|
|
4630
|
+
* - Moving focus to the next focusable element
|
|
4631
|
+
*
|
|
4632
|
+
* For specialized cases, you can set this to {@link TabKeyAction.CloseAndKeepFocus}
|
|
4633
|
+
* to maintain focus on the control after closing the dropdown.
|
|
4634
|
+
*
|
|
4635
|
+
* This setting is particularly useful for controlling accessibility behavior
|
|
4636
|
+
* and keyboard navigation flow in form controls.
|
|
4637
|
+
*
|
|
4638
|
+
* Example:
|
|
4639
|
+
* ```typescript
|
|
4640
|
+
* // Change TAB key behavior
|
|
4641
|
+
* dropDown.keyActionTab = TabKeyAction.CloseAndMoveFocus;
|
|
4642
|
+
* ```
|
|
4643
|
+
*/
|
|
4644
|
+
keyActionTab: TabKeyAction;
|
|
4645
|
+
private _setDropDownByEvent;
|
|
4646
|
+
_updateBtnAria(): void;
|
|
4647
|
+
private inputDateTimeIsDroppedDownChanged;
|
|
4549
4648
|
}
|
|
4550
4649
|
/**
|
|
4551
4650
|
* Represents a method that returns data items asynchronously as the user types.
|
|
@@ -4740,6 +4839,7 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4740
4839
|
private _wjTpl;
|
|
4741
4840
|
private _wjInput;
|
|
4742
4841
|
private _helperInput;
|
|
4842
|
+
private _screenReaderHelper;
|
|
4743
4843
|
private _maxSelItems;
|
|
4744
4844
|
private _lastInputValue;
|
|
4745
4845
|
private _selPath;
|
|
@@ -4747,6 +4847,8 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4747
4847
|
static _clsActive: string;
|
|
4748
4848
|
static _ctrlTemplate: string;
|
|
4749
4849
|
_inputElementAriaLabel: string;
|
|
4850
|
+
_helperInputElementAriaLabel: string;
|
|
4851
|
+
_ariaLabelledby: string;
|
|
4750
4852
|
/**
|
|
4751
4853
|
* Gets or sets the template used to instantiate {@link MultiAutoComplete} control.
|
|
4752
4854
|
*/
|
|
@@ -4779,6 +4881,10 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4779
4881
|
* selected.
|
|
4780
4882
|
*/
|
|
4781
4883
|
selectedItems: any[];
|
|
4884
|
+
/**
|
|
4885
|
+
* Gets or sets the aria-labelledby attribute of input element.
|
|
4886
|
+
*/
|
|
4887
|
+
ariaLabelledBy: string;
|
|
4782
4888
|
/**
|
|
4783
4889
|
* Occurs when the value of the {@link selectedItems} property changes.
|
|
4784
4890
|
*/
|
|
@@ -4793,6 +4899,7 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4793
4899
|
protected _updateState(): void;
|
|
4794
4900
|
protected _keyup(e: KeyboardEvent): void;
|
|
4795
4901
|
private _addHelperInput;
|
|
4902
|
+
private _addScreenReaderHelper;
|
|
4796
4903
|
private _refreshHeader;
|
|
4797
4904
|
private _insertToken;
|
|
4798
4905
|
private _updateMaxItems;
|