@grapecity/wijmo.input 5.20252.42 → 5.20252.44
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 +53 -2
- 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.20252.
|
|
3
|
+
* Wijmo Library 5.20252.44
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -341,7 +341,11 @@ export declare class InputNumber extends Control {
|
|
|
341
341
|
private _increment;
|
|
342
342
|
protected _updateBtn(): void;
|
|
343
343
|
_setText(text: string, truncate?: boolean, forceDelete?: boolean): void;
|
|
344
|
+
private _handleDecimalInput;
|
|
345
|
+
protected _beforeinput(e: any): void;
|
|
344
346
|
protected _keypress(e: KeyboardEvent): void;
|
|
347
|
+
private _handlePlusSign;
|
|
348
|
+
private _handleMinusSign;
|
|
345
349
|
protected _keydown(e: KeyboardEvent): void;
|
|
346
350
|
protected _input(): void;
|
|
347
351
|
/**
|
|
@@ -763,6 +767,7 @@ export declare class CollectionViewNavigator<T = any> extends Control {
|
|
|
763
767
|
protected _setTabOrder(value: number): void;
|
|
764
768
|
_keydown(e: KeyboardEvent): void;
|
|
765
769
|
protected _setIsDisabled(value: boolean): void;
|
|
770
|
+
_updateTabIndex(): void;
|
|
766
771
|
}
|
|
767
772
|
/**
|
|
768
773
|
* Represents a method that formats an item for display in a
|
|
@@ -1204,6 +1209,13 @@ export declare class ListBox<T = any> extends Control {
|
|
|
1204
1209
|
_isMenuItem(): boolean;
|
|
1205
1210
|
_updateTabIndex(): void;
|
|
1206
1211
|
private _selectRange;
|
|
1212
|
+
/**
|
|
1213
|
+
* Disposes of the control and all its resources.
|
|
1214
|
+
*
|
|
1215
|
+
* Calling the {@link dispose} method is important in applications that create
|
|
1216
|
+
* and remove controls dynamically. Failing to dispose of the controls may
|
|
1217
|
+
* cause memory leaks.
|
|
1218
|
+
*/
|
|
1207
1219
|
dispose(): void;
|
|
1208
1220
|
}
|
|
1209
1221
|
/**
|
|
@@ -2040,7 +2052,10 @@ export declare class Calendar extends Control {
|
|
|
2040
2052
|
updateConfirmationButtons(hostElement: HTMLElement): void;
|
|
2041
2053
|
setFocusValueToFirstOrLastCalendar(isFirst: boolean): void;
|
|
2042
2054
|
isCalendarDateCell(element: HTMLElement): boolean;
|
|
2055
|
+
isThisMainCalendar(): boolean;
|
|
2043
2056
|
}
|
|
2057
|
+
export declare function softTouch(): any;
|
|
2058
|
+
export declare function getDragDropTouch(): any;
|
|
2044
2059
|
/**
|
|
2045
2060
|
* Specifies constants that define the action to perform when the
|
|
2046
2061
|
* user clicks the input element in the control.
|
|
@@ -2099,6 +2114,7 @@ export declare class DropDown extends Control {
|
|
|
2099
2114
|
_keyActionUpArrow: KeyAction;
|
|
2100
2115
|
_keyActionTab: TabKeyAction;
|
|
2101
2116
|
static _ctrlTemplate: string;
|
|
2117
|
+
_touchMove: boolean;
|
|
2102
2118
|
/**
|
|
2103
2119
|
* Gets or sets the template used to instantiate {@link DropDown} controls.
|
|
2104
2120
|
*/
|
|
@@ -2110,6 +2126,7 @@ export declare class DropDown extends Control {
|
|
|
2110
2126
|
* @param options The JavaScript object containing initialization data for the control.
|
|
2111
2127
|
*/
|
|
2112
2128
|
constructor(element: any, options?: any);
|
|
2129
|
+
_isTouchMoved(): boolean;
|
|
2113
2130
|
/**
|
|
2114
2131
|
* Gets or sets the text shown on the control.
|
|
2115
2132
|
*/
|
|
@@ -2908,6 +2925,13 @@ export declare class Popup extends Control {
|
|
|
2908
2925
|
protected _validateAndHide(result: any): void;
|
|
2909
2926
|
protected _updateAriaLabel(): void;
|
|
2910
2927
|
protected _updateAriaLabelImp(oldLabels: any): void;
|
|
2928
|
+
/**
|
|
2929
|
+
* Disposes of the control and all its resources.
|
|
2930
|
+
*
|
|
2931
|
+
* Calling the {@link dispose} method is important in applications that create
|
|
2932
|
+
* and remove controls dynamically. Failing to dispose of the controls may
|
|
2933
|
+
* cause memory leaks.
|
|
2934
|
+
*/
|
|
2911
2935
|
dispose(): void;
|
|
2912
2936
|
}
|
|
2913
2937
|
/**
|
|
@@ -3377,6 +3401,7 @@ export declare class InputDate extends DropDown {
|
|
|
3377
3401
|
* Raises the {@link rangeChanged} event.
|
|
3378
3402
|
*/
|
|
3379
3403
|
onRangeChanged(e?: EventArgs): void;
|
|
3404
|
+
protected _getParsedValue(): Date;
|
|
3380
3405
|
refresh(fullUpdate?: boolean): void;
|
|
3381
3406
|
onIsDroppedDownChanging(e: CancelEventArgs): boolean;
|
|
3382
3407
|
onIsDroppedDownChanged(e?: EventArgs): void;
|
|
@@ -3543,6 +3568,7 @@ export declare class InputColor extends DropDown {
|
|
|
3543
3568
|
protected _createDropDown(): void;
|
|
3544
3569
|
protected _keydown(e: KeyboardEvent): void;
|
|
3545
3570
|
protected _commitText(): void;
|
|
3571
|
+
protected _changeAllValue(): void;
|
|
3546
3572
|
protected _copy(key: string, value: any): boolean;
|
|
3547
3573
|
getAriaLabelForScreenReader(): any;
|
|
3548
3574
|
protected _updateInputAriaLabel(): void;
|
|
@@ -3867,7 +3893,6 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3867
3893
|
_afterOpenDropdownByDownArrow(): void;
|
|
3868
3894
|
_input(e: Event): void;
|
|
3869
3895
|
_handleDragTextState(): void;
|
|
3870
|
-
_handleComposingState(): void;
|
|
3871
3896
|
_shouldOpenDropdown(): boolean;
|
|
3872
3897
|
_handleIsEditableFalseInput(): void;
|
|
3873
3898
|
_updateSelection(index: number, editStart: number): void;
|
|
@@ -4128,6 +4153,7 @@ export declare class Menu extends ComboBox {
|
|
|
4128
4153
|
_defaultItem: any;
|
|
4129
4154
|
_owner: HTMLElement;
|
|
4130
4155
|
_isButton: boolean;
|
|
4156
|
+
_keepOpen: boolean;
|
|
4131
4157
|
_openOnHover: boolean;
|
|
4132
4158
|
_closeOnLeave: boolean;
|
|
4133
4159
|
_toHover: any;
|
|
@@ -4281,6 +4307,22 @@ export declare class Menu extends ComboBox {
|
|
|
4281
4307
|
* ```
|
|
4282
4308
|
*/
|
|
4283
4309
|
isButton: boolean;
|
|
4310
|
+
/**
|
|
4311
|
+
* Gets or sets a value that indicates whether the menu should remain open
|
|
4312
|
+
* after the user selects an item.
|
|
4313
|
+
*
|
|
4314
|
+
* When this property is set to **true**, the menu remains open after an item
|
|
4315
|
+
* is clicked, allowing users to perform multiple selections or execute
|
|
4316
|
+
* consecutive commands without having to reopen the menu.
|
|
4317
|
+
*
|
|
4318
|
+
* When set to **false** (the default), the menu automatically closes as soon
|
|
4319
|
+
* as an item is selected, which aligns with the standard behavior of most
|
|
4320
|
+
* dropdown or context menus.
|
|
4321
|
+
*
|
|
4322
|
+
* This property is useful in scenarios where continuous user interaction with
|
|
4323
|
+
* the menu is required。
|
|
4324
|
+
*/
|
|
4325
|
+
keepOpen: boolean;
|
|
4284
4326
|
/**
|
|
4285
4327
|
* Gets or sets the element that owns this {@link Menu}.
|
|
4286
4328
|
*
|
|
@@ -4361,6 +4403,7 @@ export declare class Menu extends ComboBox {
|
|
|
4361
4403
|
protected _keydown(e: KeyboardEvent): void;
|
|
4362
4404
|
_afterOpenDropdownByDownArrow(): void;
|
|
4363
4405
|
protected _dropDownClick(e: MouseEvent): void;
|
|
4406
|
+
private _closeSubMenuAndFocusOwner;
|
|
4364
4407
|
private _showSubMenu;
|
|
4365
4408
|
private _raiseCommand;
|
|
4366
4409
|
private _focusMenuOwner;
|
|
@@ -4376,6 +4419,14 @@ export declare class Menu extends ComboBox {
|
|
|
4376
4419
|
private _hoverLeave;
|
|
4377
4420
|
_setIsDisabled(value: boolean): void;
|
|
4378
4421
|
_setTabOrder(value: number): void;
|
|
4422
|
+
protected _getRtlStates(): boolean;
|
|
4423
|
+
/**
|
|
4424
|
+
* Disposes of the control and all its resources.
|
|
4425
|
+
*
|
|
4426
|
+
* Calling the {@link dispose} method is important in applications that create
|
|
4427
|
+
* and remove controls dynamically. Failing to dispose of the controls may
|
|
4428
|
+
* cause memory leaks.
|
|
4429
|
+
*/
|
|
4379
4430
|
dispose(): void;
|
|
4380
4431
|
}
|
|
4381
4432
|
/**
|