@grapecity/wijmo.input 5.20242.21 → 5.20251.34
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 +191 -5
- 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.20251.34
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -20,6 +20,106 @@
|
|
|
20
20
|
export declare var ___keepComment: any;
|
|
21
21
|
import { Control, Event, EventArgs, CancelEventArgs, Binding, Rect, ICollectionView, CollectionViewGroup, _ClickRepeater, CollectionView, _MaskProvider, PopupPosition } from '@grapecity/wijmo';
|
|
22
22
|
import * as selfModule from '@grapecity/wijmo.input';
|
|
23
|
+
export declare const AutoCompleteClsNames: {
|
|
24
|
+
hostElement: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const CalendarClsNames: {
|
|
27
|
+
buttonsOutside: string;
|
|
28
|
+
calendarHeader: string;
|
|
29
|
+
calendarMonth: string;
|
|
30
|
+
calendarMultiMonth: string;
|
|
31
|
+
calendarOuter: string;
|
|
32
|
+
calendarYear: string;
|
|
33
|
+
dayOtherMonth: string;
|
|
34
|
+
dayToday: string;
|
|
35
|
+
dayWeekend: string;
|
|
36
|
+
header: string;
|
|
37
|
+
hostElement: string;
|
|
38
|
+
monthSelect: string;
|
|
39
|
+
weekAfter: string;
|
|
40
|
+
weekBefore: string;
|
|
41
|
+
yearPicker: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const CollectionViewNavigatorClsNames: {
|
|
44
|
+
hostElement: string;
|
|
45
|
+
pager: string;
|
|
46
|
+
};
|
|
47
|
+
export declare const ColorPickerClsNames: {
|
|
48
|
+
colorBox: string;
|
|
49
|
+
hostElement: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const ComboBoxClsNames: {
|
|
52
|
+
hostElement: string;
|
|
53
|
+
stateMatch: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const DropDownClsNames: {
|
|
56
|
+
dropDownPanel: string;
|
|
57
|
+
hostElement: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const InputClsNames: {
|
|
60
|
+
input: string;
|
|
61
|
+
inputBtnVisible: string;
|
|
62
|
+
inputGroup: string;
|
|
63
|
+
inputGroupBtn: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const InputColorClsNames: {
|
|
66
|
+
hostElement: string;
|
|
67
|
+
inputColorBox: string;
|
|
68
|
+
};
|
|
69
|
+
export declare const InputDateClsNames: {
|
|
70
|
+
hostElement: string;
|
|
71
|
+
inputDateDropDown: string;
|
|
72
|
+
};
|
|
73
|
+
export declare const InputDateRangeClsNames: {
|
|
74
|
+
hostElement: string;
|
|
75
|
+
};
|
|
76
|
+
export declare const InputDateTimeClsNames: {
|
|
77
|
+
hostElement: string;
|
|
78
|
+
};
|
|
79
|
+
export declare const InputMaskClsNames: {
|
|
80
|
+
hostElement: string;
|
|
81
|
+
};
|
|
82
|
+
export declare const InputNumberClsNames: {
|
|
83
|
+
hostElement: string;
|
|
84
|
+
numeric: string;
|
|
85
|
+
showSpinner: string;
|
|
86
|
+
};
|
|
87
|
+
export declare const InputTimeClsNames: {
|
|
88
|
+
hostElement: string;
|
|
89
|
+
};
|
|
90
|
+
export declare const ListBoxClsNames: {
|
|
91
|
+
header: string;
|
|
92
|
+
hostElement: string;
|
|
93
|
+
listBoxItem: string;
|
|
94
|
+
};
|
|
95
|
+
export declare const MenuClsNames: {
|
|
96
|
+
hostElement: string;
|
|
97
|
+
menuItems: string;
|
|
98
|
+
subItems: string;
|
|
99
|
+
};
|
|
100
|
+
export declare const MultiAutoCompleteClsNames: {
|
|
101
|
+
hostElement: string;
|
|
102
|
+
token: string;
|
|
103
|
+
tokenActive: string;
|
|
104
|
+
tokenClose: string;
|
|
105
|
+
tokenHelper: string;
|
|
106
|
+
tokenLabel: string;
|
|
107
|
+
};
|
|
108
|
+
export declare const MultiSelectClsNames: {
|
|
109
|
+
hostElement: string;
|
|
110
|
+
};
|
|
111
|
+
export declare const MultiSelectListBoxClsNames: {
|
|
112
|
+
header: string;
|
|
113
|
+
hostElement: string;
|
|
114
|
+
selectAll: string;
|
|
115
|
+
};
|
|
116
|
+
export declare const PopupClsNames: {
|
|
117
|
+
dialogHeader: string;
|
|
118
|
+
hostElement: string;
|
|
119
|
+
popupBackDrop: string;
|
|
120
|
+
dialogBody: string;
|
|
121
|
+
dialogFooter: string;
|
|
122
|
+
};
|
|
23
123
|
/**
|
|
24
124
|
* The {@link InputNumber} control allows users to enter numbers.
|
|
25
125
|
*
|
|
@@ -72,6 +172,7 @@ export declare class InputNumber extends Control {
|
|
|
72
172
|
_rptUp: _ClickRepeater;
|
|
73
173
|
_rptDn: _ClickRepeater;
|
|
74
174
|
_fromKb: boolean;
|
|
175
|
+
static _ctrlTemplate: string;
|
|
75
176
|
/**
|
|
76
177
|
* Gets or sets the template used to instantiate {@link InputNumber} controls.
|
|
77
178
|
*/
|
|
@@ -285,6 +386,7 @@ export declare class InputMask extends Control {
|
|
|
285
386
|
_value: string;
|
|
286
387
|
_msk: _MaskProvider;
|
|
287
388
|
_fullEdit: boolean;
|
|
389
|
+
static _ctrlTemplate: string;
|
|
288
390
|
/**
|
|
289
391
|
* Gets or sets the template used to instantiate {@link InputMask} controls.
|
|
290
392
|
*/
|
|
@@ -386,7 +488,6 @@ export declare class InputMask extends Control {
|
|
|
386
488
|
_commitText(): void;
|
|
387
489
|
dispose(): void;
|
|
388
490
|
refresh(fullUpdate?: boolean): void;
|
|
389
|
-
_isGridImeEnabled(): boolean;
|
|
390
491
|
onGotFocus(e: any): void;
|
|
391
492
|
}
|
|
392
493
|
/**
|
|
@@ -414,6 +515,7 @@ export declare class ColorPicker extends Control {
|
|
|
414
515
|
_ePreview: HTMLElement;
|
|
415
516
|
_eText: HTMLElement;
|
|
416
517
|
_htDown: Element;
|
|
518
|
+
static _ctrlTemplate: string;
|
|
417
519
|
/**
|
|
418
520
|
* Gets or sets the template used to instantiate {@link ColorPicker} controls.
|
|
419
521
|
*/
|
|
@@ -513,6 +615,10 @@ export declare class CollectionViewNavigator<T = any> extends Control {
|
|
|
513
615
|
private _rptNext;
|
|
514
616
|
private _rptPrev;
|
|
515
617
|
private _fmt;
|
|
618
|
+
private _liveRegionON;
|
|
619
|
+
private _ariaLabel;
|
|
620
|
+
private _isDisabled;
|
|
621
|
+
static _ctrlTemplate: string;
|
|
516
622
|
/**
|
|
517
623
|
* Gets or sets the template used to instantiate {@link CollectionViewNavigator} controls.
|
|
518
624
|
*/
|
|
@@ -566,10 +672,29 @@ export declare class CollectionViewNavigator<T = any> extends Control {
|
|
|
566
672
|
* The default value for this property is **true**.
|
|
567
673
|
*/
|
|
568
674
|
repeatButtons: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* Gets or sets the aria-label attribute of {@link CollectionViewNavigator} element.
|
|
677
|
+
*/
|
|
678
|
+
ariaLabel: string;
|
|
679
|
+
/**
|
|
680
|
+
* Gets or sets a value that determines whether the control is disabled.
|
|
681
|
+
*
|
|
682
|
+
* Disabled controls cannot get mouse or keyboard events.
|
|
683
|
+
*/
|
|
684
|
+
isDisabled: boolean;
|
|
685
|
+
/**
|
|
686
|
+
* Sets the focus to this control.
|
|
687
|
+
*/
|
|
688
|
+
focus(): void;
|
|
569
689
|
_update(): void;
|
|
570
690
|
_currentChanged(): void;
|
|
571
691
|
_collectionChanged(): void;
|
|
572
692
|
_click(e: MouseEvent): void;
|
|
693
|
+
private _updateAriaLabels;
|
|
694
|
+
private _addA11yRelatedHandlers;
|
|
695
|
+
protected _setTabOrder(value: number): void;
|
|
696
|
+
_keydown(e: KeyboardEvent): void;
|
|
697
|
+
protected _setIsDisabled(value: boolean): void;
|
|
573
698
|
}
|
|
574
699
|
/**
|
|
575
700
|
* Represents a method that formats an item for display in a
|
|
@@ -1045,6 +1170,7 @@ export declare class MultiSelectListBox<T = any> extends Control {
|
|
|
1045
1170
|
_delay: number;
|
|
1046
1171
|
_toSearch: any;
|
|
1047
1172
|
static _DEF_CHECKED_PATH: string;
|
|
1173
|
+
static _ctrlTemplate: string;
|
|
1048
1174
|
/**
|
|
1049
1175
|
* Gets or sets the template used to instantiate {@link MultiSelectListBox} controls.
|
|
1050
1176
|
*/
|
|
@@ -1377,6 +1503,7 @@ export declare class Calendar extends Control {
|
|
|
1377
1503
|
private _fmtDay;
|
|
1378
1504
|
private _fmtMonths;
|
|
1379
1505
|
static _DATE_KEY: string;
|
|
1506
|
+
static _ctrlTemplate: string;
|
|
1380
1507
|
/**
|
|
1381
1508
|
* Gets or sets the template used to instantiate {@link Calendar} controls.
|
|
1382
1509
|
*/
|
|
@@ -1794,6 +1921,8 @@ export declare class DropDown extends Control {
|
|
|
1794
1921
|
_oldText: string;
|
|
1795
1922
|
_minWidthDropdown: string;
|
|
1796
1923
|
_escapeIE: boolean;
|
|
1924
|
+
_isInvalidInputCancelled: boolean;
|
|
1925
|
+
static _ctrlTemplate: string;
|
|
1797
1926
|
/**
|
|
1798
1927
|
* Gets or sets the template used to instantiate {@link DropDown} controls.
|
|
1799
1928
|
*/
|
|
@@ -1855,6 +1984,7 @@ export declare class DropDown extends Control {
|
|
|
1855
1984
|
* this property is set to {@link ClickAction.Toggle} by default.
|
|
1856
1985
|
*/
|
|
1857
1986
|
clickAction: ClickAction;
|
|
1987
|
+
protected _isDropdownOpened: boolean;
|
|
1858
1988
|
/**
|
|
1859
1989
|
* Gets or sets a value that indicates whether the drop down is currently
|
|
1860
1990
|
* visible.
|
|
@@ -1862,7 +1992,7 @@ export declare class DropDown extends Control {
|
|
|
1862
1992
|
* The default value for this property is **false**.
|
|
1863
1993
|
*/
|
|
1864
1994
|
isDroppedDown: boolean;
|
|
1865
|
-
|
|
1995
|
+
_toggleDropDown(isDroppedDown: boolean): void;
|
|
1866
1996
|
/**
|
|
1867
1997
|
* Gets the drop down element shown when the {@link isDroppedDown}
|
|
1868
1998
|
* property is set to true.
|
|
@@ -1934,7 +2064,7 @@ export declare class DropDown extends Control {
|
|
|
1934
2064
|
_handleResize(): void;
|
|
1935
2065
|
protected _dropDownClick(e: MouseEvent): void;
|
|
1936
2066
|
protected _expandSelection(): void;
|
|
1937
|
-
protected _getCharType(text: string, pos: number):
|
|
2067
|
+
protected _getCharType(text: string, pos: number): 0 | 1 | -1;
|
|
1938
2068
|
protected _keydown(e: KeyboardEvent): void;
|
|
1939
2069
|
protected _isHiddenEditor(): boolean;
|
|
1940
2070
|
protected _keypress(e: KeyboardEvent): void;
|
|
@@ -2115,6 +2245,7 @@ export declare class Popup extends Control {
|
|
|
2115
2245
|
protected _oldFocus: HTMLElement;
|
|
2116
2246
|
protected _myFocus: HTMLElement;
|
|
2117
2247
|
protected _lastShow: number;
|
|
2248
|
+
protected _initialOwner: HTMLElement;
|
|
2118
2249
|
/**
|
|
2119
2250
|
* Initializes a new instance of the {@link Popup} class.
|
|
2120
2251
|
*
|
|
@@ -2615,12 +2746,18 @@ export declare class InputDate extends DropDown {
|
|
|
2615
2746
|
private _showCal;
|
|
2616
2747
|
private _clsOnSel;
|
|
2617
2748
|
private _handleWheel;
|
|
2749
|
+
private _preserveCalendarNavigation;
|
|
2618
2750
|
private _clicked;
|
|
2619
2751
|
private _rangeChanged;
|
|
2620
2752
|
private _textInitialized;
|
|
2621
2753
|
private _previousText;
|
|
2622
2754
|
private _keepInvalidText;
|
|
2623
2755
|
protected _currentInput: string;
|
|
2756
|
+
static _ctrlTemplate: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* Gets or sets the template used to instantiate {@link InputDate} control.
|
|
2759
|
+
*/
|
|
2760
|
+
static controlTemplate: string;
|
|
2624
2761
|
/**
|
|
2625
2762
|
* Initializes a new instance of the {@link InputDate} class.
|
|
2626
2763
|
*
|
|
@@ -2925,6 +3062,13 @@ export declare class InputDate extends DropDown {
|
|
|
2925
3062
|
* the value to "tel" or "text"
|
|
2926
3063
|
*/
|
|
2927
3064
|
inputType: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* Gets or sets a value that determines whether to preserve the month
|
|
3067
|
+
* when user navigates to a different month than the selected date.
|
|
3068
|
+
*
|
|
3069
|
+
* The default value for this property is **true**.
|
|
3070
|
+
*/
|
|
3071
|
+
preserveCalendarNavigation: boolean;
|
|
2928
3072
|
/**
|
|
2929
3073
|
* Gets or sets a validator function to determine whether dates are valid for selection.
|
|
2930
3074
|
*
|
|
@@ -3029,6 +3173,11 @@ export declare class InputDate extends DropDown {
|
|
|
3029
3173
|
* ranges that users can select from.
|
|
3030
3174
|
*/
|
|
3031
3175
|
export declare class InputDateRange extends InputDate {
|
|
3176
|
+
static _ctrlTemplate: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* Gets or sets the template used to instantiate {@link InputDateRange} control.
|
|
3179
|
+
*/
|
|
3180
|
+
static controlTemplate: string;
|
|
3032
3181
|
/**
|
|
3033
3182
|
* Initializes a new instance of the {@link InputDateRange} class.
|
|
3034
3183
|
*
|
|
@@ -3055,6 +3204,11 @@ export declare class InputColor extends DropDown {
|
|
|
3055
3204
|
private _colorPicker;
|
|
3056
3205
|
private _value;
|
|
3057
3206
|
private _textInitialized;
|
|
3207
|
+
static _ctrlTemplate: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* Gets or sets the template used to instantiate {@link InputColor} control.
|
|
3210
|
+
*/
|
|
3211
|
+
static controlTemplate: string;
|
|
3058
3212
|
/**
|
|
3059
3213
|
* Initializes a new instance of the {@link InputColor} class.
|
|
3060
3214
|
*
|
|
@@ -3175,6 +3329,13 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3175
3329
|
_oldIndexToBeRestoredOnBlur: null | number;
|
|
3176
3330
|
_restoreComboboxTbxVal: boolean;
|
|
3177
3331
|
_isWheel: boolean;
|
|
3332
|
+
_selItems: any;
|
|
3333
|
+
_oldFilter: any;
|
|
3334
|
+
static _ctrlTemplate: string;
|
|
3335
|
+
/**
|
|
3336
|
+
* Gets or sets the template used to instantiate {@link ComboBox} control.
|
|
3337
|
+
*/
|
|
3338
|
+
static controlTemplate: string;
|
|
3178
3339
|
/**
|
|
3179
3340
|
* Initializes a new instance of the {@link ComboBox} class.
|
|
3180
3341
|
*
|
|
@@ -3464,6 +3625,11 @@ export declare class MultiSelect extends ComboBox {
|
|
|
3464
3625
|
private _hdrFormatter;
|
|
3465
3626
|
private _msLbx;
|
|
3466
3627
|
static _DEF_CHECKED_PATH: string;
|
|
3628
|
+
static _ctrlTemplate: string;
|
|
3629
|
+
/**
|
|
3630
|
+
* Gets or sets the template used to instantiate {@link MultiSelect} control.
|
|
3631
|
+
*/
|
|
3632
|
+
static controlTemplate: string;
|
|
3467
3633
|
/**
|
|
3468
3634
|
* Initializes a new instance of the {@link MultiSelect} class.
|
|
3469
3635
|
*
|
|
@@ -3664,6 +3830,11 @@ export declare class Menu extends ComboBox {
|
|
|
3664
3830
|
_ariaLabel: string;
|
|
3665
3831
|
_aFEnabledItem: boolean;
|
|
3666
3832
|
static _evtHover: MouseEvent;
|
|
3833
|
+
static _ctrlTemplate: string;
|
|
3834
|
+
/**
|
|
3835
|
+
* Gets or sets the template used to instantiate {@link Menu} control.
|
|
3836
|
+
*/
|
|
3837
|
+
static controlTemplate: string;
|
|
3667
3838
|
/**
|
|
3668
3839
|
* Initializes a new instance of the {@link Menu} class.
|
|
3669
3840
|
*
|
|
@@ -3919,6 +4090,11 @@ export declare class InputTime extends ComboBox {
|
|
|
3919
4090
|
_format: string;
|
|
3920
4091
|
_msk: _MaskProvider;
|
|
3921
4092
|
_hasCustomItems: boolean;
|
|
4093
|
+
static _ctrlTemplate: string;
|
|
4094
|
+
/**
|
|
4095
|
+
* Gets or sets the template used to instantiate {@link InputTime} control.
|
|
4096
|
+
*/
|
|
4097
|
+
static controlTemplate: string;
|
|
3922
4098
|
/**
|
|
3923
4099
|
* Initializes a new instance of the {@link InputTime} class.
|
|
3924
4100
|
*
|
|
@@ -4054,6 +4230,7 @@ export declare class InputDateTime extends InputDate {
|
|
|
4054
4230
|
private _inputTime;
|
|
4055
4231
|
private _ddDate;
|
|
4056
4232
|
private _ddTime;
|
|
4233
|
+
static _ctrlTemplate: string;
|
|
4057
4234
|
/**
|
|
4058
4235
|
* Gets or sets the template used to instantiate {@link InputDateTime} controls.
|
|
4059
4236
|
*/
|
|
@@ -4176,6 +4353,11 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4176
4353
|
private _srchProps;
|
|
4177
4354
|
private _oldSelectedIndex;
|
|
4178
4355
|
_pendingSearchFn: any;
|
|
4356
|
+
static _ctrlTemplate: string;
|
|
4357
|
+
/**
|
|
4358
|
+
* Gets or sets the template used to instantiate {@link AutoComplete} control.
|
|
4359
|
+
*/
|
|
4360
|
+
static controlTemplate: string;
|
|
4179
4361
|
/**
|
|
4180
4362
|
* Initializes a new instance of the {@link AutoComplete} class.
|
|
4181
4363
|
*
|
|
@@ -4282,7 +4464,6 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4282
4464
|
protected _commitText(noFocus?: boolean): void;
|
|
4283
4465
|
_setText(text: string | null): void;
|
|
4284
4466
|
onLostFocus(e?: EventArgs): void;
|
|
4285
|
-
private _ctrlReset;
|
|
4286
4467
|
onGotFocus(e?: EventArgs): void;
|
|
4287
4468
|
reset(): void;
|
|
4288
4469
|
_itemSourceFunctionCallback(result: any[]): void;
|
|
@@ -4312,6 +4493,11 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4312
4493
|
private _selPath;
|
|
4313
4494
|
private _notAddItm;
|
|
4314
4495
|
static _clsActive: string;
|
|
4496
|
+
static _ctrlTemplate: string;
|
|
4497
|
+
/**
|
|
4498
|
+
* Gets or sets the template used to instantiate {@link MultiAutoComplete} control.
|
|
4499
|
+
*/
|
|
4500
|
+
static controlTemplate: string;
|
|
4315
4501
|
/**
|
|
4316
4502
|
* Initializes a new instance of the {@link MultiAutoComplete} class.
|
|
4317
4503
|
*
|