@grapecity/wijmo.input 5.20242.21 → 5.20242.30
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 +121 -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.20242.
|
|
3
|
+
* Wijmo Library 5.20242.30
|
|
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,7 @@ export declare class CollectionViewNavigator<T = any> extends Control {
|
|
|
513
615
|
private _rptNext;
|
|
514
616
|
private _rptPrev;
|
|
515
617
|
private _fmt;
|
|
618
|
+
static _ctrlTemplate: string;
|
|
516
619
|
/**
|
|
517
620
|
* Gets or sets the template used to instantiate {@link CollectionViewNavigator} controls.
|
|
518
621
|
*/
|
|
@@ -1045,6 +1148,7 @@ export declare class MultiSelectListBox<T = any> extends Control {
|
|
|
1045
1148
|
_delay: number;
|
|
1046
1149
|
_toSearch: any;
|
|
1047
1150
|
static _DEF_CHECKED_PATH: string;
|
|
1151
|
+
static _ctrlTemplate: string;
|
|
1048
1152
|
/**
|
|
1049
1153
|
* Gets or sets the template used to instantiate {@link MultiSelectListBox} controls.
|
|
1050
1154
|
*/
|
|
@@ -1377,6 +1481,7 @@ export declare class Calendar extends Control {
|
|
|
1377
1481
|
private _fmtDay;
|
|
1378
1482
|
private _fmtMonths;
|
|
1379
1483
|
static _DATE_KEY: string;
|
|
1484
|
+
static _ctrlTemplate: string;
|
|
1380
1485
|
/**
|
|
1381
1486
|
* Gets or sets the template used to instantiate {@link Calendar} controls.
|
|
1382
1487
|
*/
|
|
@@ -1794,6 +1899,8 @@ export declare class DropDown extends Control {
|
|
|
1794
1899
|
_oldText: string;
|
|
1795
1900
|
_minWidthDropdown: string;
|
|
1796
1901
|
_escapeIE: boolean;
|
|
1902
|
+
_isInvalidInputCancelled: boolean;
|
|
1903
|
+
static _ctrlTemplate: string;
|
|
1797
1904
|
/**
|
|
1798
1905
|
* Gets or sets the template used to instantiate {@link DropDown} controls.
|
|
1799
1906
|
*/
|
|
@@ -1862,7 +1969,7 @@ export declare class DropDown extends Control {
|
|
|
1862
1969
|
* The default value for this property is **false**.
|
|
1863
1970
|
*/
|
|
1864
1971
|
isDroppedDown: boolean;
|
|
1865
|
-
|
|
1972
|
+
_toggleDropDown(isDroppedDown: boolean): void;
|
|
1866
1973
|
/**
|
|
1867
1974
|
* Gets the drop down element shown when the {@link isDroppedDown}
|
|
1868
1975
|
* property is set to true.
|
|
@@ -1934,7 +2041,7 @@ export declare class DropDown extends Control {
|
|
|
1934
2041
|
_handleResize(): void;
|
|
1935
2042
|
protected _dropDownClick(e: MouseEvent): void;
|
|
1936
2043
|
protected _expandSelection(): void;
|
|
1937
|
-
protected _getCharType(text: string, pos: number):
|
|
2044
|
+
protected _getCharType(text: string, pos: number): 0 | 1 | -1;
|
|
1938
2045
|
protected _keydown(e: KeyboardEvent): void;
|
|
1939
2046
|
protected _isHiddenEditor(): boolean;
|
|
1940
2047
|
protected _keypress(e: KeyboardEvent): void;
|
|
@@ -2615,6 +2722,7 @@ export declare class InputDate extends DropDown {
|
|
|
2615
2722
|
private _showCal;
|
|
2616
2723
|
private _clsOnSel;
|
|
2617
2724
|
private _handleWheel;
|
|
2725
|
+
private _preserveCalendarNavigation;
|
|
2618
2726
|
private _clicked;
|
|
2619
2727
|
private _rangeChanged;
|
|
2620
2728
|
private _textInitialized;
|
|
@@ -2925,6 +3033,13 @@ export declare class InputDate extends DropDown {
|
|
|
2925
3033
|
* the value to "tel" or "text"
|
|
2926
3034
|
*/
|
|
2927
3035
|
inputType: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* Gets or sets a value that determines whether to preserve the month
|
|
3038
|
+
* when user navigates to a different month than the selected date.
|
|
3039
|
+
*
|
|
3040
|
+
* The default value for this property is **true**.
|
|
3041
|
+
*/
|
|
3042
|
+
preserveCalendarNavigation: boolean;
|
|
2928
3043
|
/**
|
|
2929
3044
|
* Gets or sets a validator function to determine whether dates are valid for selection.
|
|
2930
3045
|
*
|
|
@@ -3175,6 +3290,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3175
3290
|
_oldIndexToBeRestoredOnBlur: null | number;
|
|
3176
3291
|
_restoreComboboxTbxVal: boolean;
|
|
3177
3292
|
_isWheel: boolean;
|
|
3293
|
+
_selItems: any;
|
|
3178
3294
|
/**
|
|
3179
3295
|
* Initializes a new instance of the {@link ComboBox} class.
|
|
3180
3296
|
*
|
|
@@ -4054,6 +4170,7 @@ export declare class InputDateTime extends InputDate {
|
|
|
4054
4170
|
private _inputTime;
|
|
4055
4171
|
private _ddDate;
|
|
4056
4172
|
private _ddTime;
|
|
4173
|
+
static _ctrlTemplate: string;
|
|
4057
4174
|
/**
|
|
4058
4175
|
* Gets or sets the template used to instantiate {@link InputDateTime} controls.
|
|
4059
4176
|
*/
|
|
@@ -4282,7 +4399,6 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4282
4399
|
protected _commitText(noFocus?: boolean): void;
|
|
4283
4400
|
_setText(text: string | null): void;
|
|
4284
4401
|
onLostFocus(e?: EventArgs): void;
|
|
4285
|
-
private _ctrlReset;
|
|
4286
4402
|
onGotFocus(e?: EventArgs): void;
|
|
4287
4403
|
reset(): void;
|
|
4288
4404
|
_itemSourceFunctionCallback(result: any[]): void;
|