@grapecity/wijmo.input 5.20252.44 → 5.20261.50
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/README.md +17 -0
- package/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +21 -16
- 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.20261.50
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -643,7 +643,7 @@ export declare class ColorPicker extends Control {
|
|
|
643
643
|
onValueChanged(e?: EventArgs): void;
|
|
644
644
|
protected _mouseDown(e: MouseEvent): void;
|
|
645
645
|
protected _mouseMove(e: MouseEvent): void;
|
|
646
|
-
protected _mouseUp(
|
|
646
|
+
protected _mouseUp(_e: MouseEvent): void;
|
|
647
647
|
private _updateColor;
|
|
648
648
|
private _updatePalette;
|
|
649
649
|
private _makePalEntry;
|
|
@@ -752,11 +752,11 @@ export declare class CollectionViewNavigator<T = any> extends Control {
|
|
|
752
752
|
* Gets or sets a value that determines whether the control is disabled.
|
|
753
753
|
*
|
|
754
754
|
* Disabled controls cannot get mouse or keyboard events.
|
|
755
|
-
|
|
755
|
+
*/
|
|
756
756
|
isDisabled: boolean;
|
|
757
757
|
/**
|
|
758
758
|
* Sets the focus to this control.
|
|
759
|
-
|
|
759
|
+
*/
|
|
760
760
|
focus(): void;
|
|
761
761
|
_update(): void;
|
|
762
762
|
_currentChanged(): void;
|
|
@@ -1630,6 +1630,7 @@ export declare class Calendar extends Control {
|
|
|
1630
1630
|
private _fmtDayTitle;
|
|
1631
1631
|
static _DATE_KEY: string;
|
|
1632
1632
|
static _ctrlTemplate: string;
|
|
1633
|
+
_sholudPreventFocusScroll: boolean;
|
|
1633
1634
|
/**
|
|
1634
1635
|
* Gets or sets the template used to instantiate {@link Calendar} controls.
|
|
1635
1636
|
*/
|
|
@@ -1953,6 +1954,8 @@ export declare class Calendar extends Control {
|
|
|
1953
1954
|
* Occurs after the {@link displayMonth} property changes.
|
|
1954
1955
|
*/
|
|
1955
1956
|
readonly displayMonthChanged: Event<Calendar, EventArgs>;
|
|
1957
|
+
readonly displayMonthChanging: Event<Calendar, EventArgs>;
|
|
1958
|
+
onDisplayMonthChanging(e?: EventArgs): void;
|
|
1956
1959
|
/**
|
|
1957
1960
|
* Raises the {@link displayMonthChanged} event.
|
|
1958
1961
|
*/
|
|
@@ -2115,6 +2118,7 @@ export declare class DropDown extends Control {
|
|
|
2115
2118
|
_keyActionTab: TabKeyAction;
|
|
2116
2119
|
static _ctrlTemplate: string;
|
|
2117
2120
|
_touchMove: boolean;
|
|
2121
|
+
_dropdownCausedScrollbar: boolean;
|
|
2118
2122
|
/**
|
|
2119
2123
|
* Gets or sets the template used to instantiate {@link DropDown} controls.
|
|
2120
2124
|
*/
|
|
@@ -2308,16 +2312,16 @@ export declare class DropDown extends Control {
|
|
|
2308
2312
|
private isHostVisible;
|
|
2309
2313
|
protected _isHiddenEditor(): boolean;
|
|
2310
2314
|
protected _keypress(e: KeyboardEvent): void;
|
|
2311
|
-
protected _input(
|
|
2315
|
+
protected _input(_e: Event): void;
|
|
2312
2316
|
protected _btnclick(e: MouseEvent): void;
|
|
2313
|
-
protected _setText(text: string,
|
|
2317
|
+
protected _setText(text: string, _fullMatch: boolean, forceRevertInvalid?: boolean, clearTbxVal?: boolean): void;
|
|
2314
2318
|
protected _updateBtn(): void;
|
|
2315
2319
|
_updateBtnAria(): void;
|
|
2316
2320
|
protected _updateTbx(): void;
|
|
2317
2321
|
_updateTbxAria(): void;
|
|
2318
2322
|
_updateTbxAriaHaspopup(): void;
|
|
2319
2323
|
protected _createDropDown(): void;
|
|
2320
|
-
protected _commitText(
|
|
2324
|
+
protected _commitText(_noFocus?: boolean, _shouldInvalid?: boolean): void;
|
|
2321
2325
|
_updateDropDown(): void;
|
|
2322
2326
|
_shouldRaiseInvalidInput(shouldInvalid: boolean): boolean;
|
|
2323
2327
|
}
|
|
@@ -3853,6 +3857,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3853
3857
|
* @return The index of the item, or -1 if not found.
|
|
3854
3858
|
*/
|
|
3855
3859
|
indexOf(search: string, fullMatch: boolean, dry?: boolean): number;
|
|
3860
|
+
tryToFindSelectIndexByText(text: string): number;
|
|
3856
3861
|
/**
|
|
3857
3862
|
* Gets the {@link ListBox} control shown in the drop-down.
|
|
3858
3863
|
*/
|
|
@@ -3891,7 +3896,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3891
3896
|
_findNextWhenIsEditableFalse(search: string, step: number, start?: number): number;
|
|
3892
3897
|
protected _keydown(e: KeyboardEvent): void;
|
|
3893
3898
|
_afterOpenDropdownByDownArrow(): void;
|
|
3894
|
-
_input(
|
|
3899
|
+
_input(_e: Event): void;
|
|
3895
3900
|
_handleDragTextState(): void;
|
|
3896
3901
|
_shouldOpenDropdown(): boolean;
|
|
3897
3902
|
_handleIsEditableFalseInput(): void;
|
|
@@ -4086,7 +4091,7 @@ export declare class MultiSelect extends ComboBox {
|
|
|
4086
4091
|
_updateTbxAria(): void;
|
|
4087
4092
|
isReadOnly: boolean;
|
|
4088
4093
|
refresh(fullUpdate?: boolean): void;
|
|
4089
|
-
protected _setText(
|
|
4094
|
+
protected _setText(_text: string, _fullMatch: boolean): void;
|
|
4090
4095
|
protected _keydown(e: KeyboardEvent): void;
|
|
4091
4096
|
protected _hasItems(): boolean;
|
|
4092
4097
|
private _updateHeader;
|
|
@@ -4399,7 +4404,7 @@ export declare class Menu extends ComboBox {
|
|
|
4399
4404
|
private _restoreSelectedItem;
|
|
4400
4405
|
_updateHoverEvents(): void;
|
|
4401
4406
|
_getSubItems(item: any): any[];
|
|
4402
|
-
_formatMenuItem(
|
|
4407
|
+
_formatMenuItem(_s: ListBox, e: FormatItemEventArgs): void;
|
|
4403
4408
|
protected _keydown(e: KeyboardEvent): void;
|
|
4404
4409
|
_afterOpenDropdownByDownArrow(): void;
|
|
4405
4410
|
protected _dropDownClick(e: MouseEvent): void;
|
|
@@ -4571,10 +4576,10 @@ export declare class InputTime extends ComboBox {
|
|
|
4571
4576
|
protected _keydown(e: KeyboardEvent): void;
|
|
4572
4577
|
protected _updateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
4573
4578
|
private _reselectText;
|
|
4574
|
-
protected _commitText(
|
|
4579
|
+
protected _commitText(_noFocus?: boolean, shouldInvalid?: boolean): void;
|
|
4575
4580
|
protected _copy(key: string, value: any): boolean;
|
|
4576
4581
|
getAriaLabelForScreenReader(): any;
|
|
4577
|
-
_input(
|
|
4582
|
+
_input(_e: Event): void;
|
|
4578
4583
|
}
|
|
4579
4584
|
/**
|
|
4580
4585
|
* The {@link InputDateTime} control extends the {@link InputDate} control to allows users
|
|
@@ -4854,12 +4859,12 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4854
4859
|
*/
|
|
4855
4860
|
cssMatch: string;
|
|
4856
4861
|
/**
|
|
4857
|
-
|
|
4858
|
-
|
|
4862
|
+
* Raises the {@link selectedIndexChanged} event.
|
|
4863
|
+
*/
|
|
4859
4864
|
onSelectedIndexChanged(e?: EventArgs): void;
|
|
4860
4865
|
_updateTbxAria(): void;
|
|
4861
4866
|
_keydown(e: KeyboardEvent): void;
|
|
4862
|
-
_input(
|
|
4867
|
+
_input(_e: Event): void;
|
|
4863
4868
|
private _isBlurInput;
|
|
4864
4869
|
protected _commitText(noFocus?: boolean): void;
|
|
4865
4870
|
_setText(text: string | null): void;
|
|
@@ -4871,7 +4876,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4871
4876
|
protected _updateItems(): void;
|
|
4872
4877
|
protected _filter(item: any): boolean;
|
|
4873
4878
|
protected _getItemText(item: any, header: boolean): string;
|
|
4874
|
-
protected _formatListItem(
|
|
4879
|
+
protected _formatListItem(_sender: any, e: FormatItemEventArgs): void;
|
|
4875
4880
|
private _enclosed;
|
|
4876
4881
|
protected _wheel(e: WheelEvent): void;
|
|
4877
4882
|
getAriaLabelForScreenReader(): any;
|