@grapecity/wijmo.input 5.20241.9 → 5.20241.19
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 +44 -4
- 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.20241.
|
|
3
|
+
* Wijmo Library 5.20241.19
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -2608,6 +2608,7 @@ export declare class InputDate extends DropDown {
|
|
|
2608
2608
|
* @param options The JavaScript object containing initialization data for the control.
|
|
2609
2609
|
*/
|
|
2610
2610
|
constructor(element: any, options?: any);
|
|
2611
|
+
protected _mouseWheel(e: WheelEvent): void;
|
|
2611
2612
|
/**
|
|
2612
2613
|
* Gets or sets the currently selected date.
|
|
2613
2614
|
*
|
|
@@ -2963,8 +2964,11 @@ export declare class InputDate extends DropDown {
|
|
|
2963
2964
|
onIsDroppedDownChanging(e: CancelEventArgs): boolean;
|
|
2964
2965
|
onIsDroppedDownChanged(e?: EventArgs): void;
|
|
2965
2966
|
_updateDropDown(): void;
|
|
2967
|
+
onGotFocus(e?: EventArgs): void;
|
|
2966
2968
|
protected _keydown(e: KeyboardEvent): void;
|
|
2967
2969
|
protected _expandSelection(): void;
|
|
2970
|
+
protected _updateDateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
2971
|
+
protected _reselectText(specialChars: string[], currentPos: number): void;
|
|
2968
2972
|
_refreshText(): void;
|
|
2969
2973
|
protected _selectAll(): void;
|
|
2970
2974
|
_closeOnChange(): void;
|
|
@@ -2973,7 +2977,7 @@ export declare class InputDate extends DropDown {
|
|
|
2973
2977
|
protected _getText(): string;
|
|
2974
2978
|
protected _commitText(noFocus?: boolean): void;
|
|
2975
2979
|
protected _fromDateTime(value: Date): Date;
|
|
2976
|
-
|
|
2980
|
+
protected _canChangeValue(): boolean;
|
|
2977
2981
|
protected _isValidDate(value: Date): boolean;
|
|
2978
2982
|
private _getRanges;
|
|
2979
2983
|
private _updateRangeSelection;
|
|
@@ -3001,6 +3005,9 @@ export declare class InputDateRange extends InputDate {
|
|
|
3001
3005
|
*/
|
|
3002
3006
|
constructor(element: any, options?: any);
|
|
3003
3007
|
selectionMode: DateSelectionMode;
|
|
3008
|
+
protected _mouseWheel(e: WheelEvent): void;
|
|
3009
|
+
onGotFocus(e?: EventArgs): void;
|
|
3010
|
+
protected _keydown(e: KeyboardEvent): void;
|
|
3004
3011
|
}
|
|
3005
3012
|
/**
|
|
3006
3013
|
* The {@link InputColor} control allows users to select colors by typing in
|
|
@@ -3037,6 +3044,14 @@ export declare class InputColor extends DropDown {
|
|
|
3037
3044
|
* Gets or sets the text shown on the control.
|
|
3038
3045
|
*/
|
|
3039
3046
|
text: string;
|
|
3047
|
+
/**
|
|
3048
|
+
* Gets or sets the "type" attribute of the HTML input element hosted
|
|
3049
|
+
* by the control.
|
|
3050
|
+
*
|
|
3051
|
+
* Use this property to change the default setting if the default does not work well
|
|
3052
|
+
* for the current culture, device, or application. In those cases, try changing
|
|
3053
|
+
* the value to "tel" or "text"
|
|
3054
|
+
*/
|
|
3040
3055
|
inputType: string;
|
|
3041
3056
|
/**
|
|
3042
3057
|
* Gets or sets a value indicating whether the {@link ColorPicker}
|
|
@@ -3119,6 +3134,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3119
3134
|
_delKey: number;
|
|
3120
3135
|
_draggingText: boolean;
|
|
3121
3136
|
_composing: boolean;
|
|
3137
|
+
_textIsComposing: string;
|
|
3122
3138
|
_settingText: boolean;
|
|
3123
3139
|
_pathHdr: Binding;
|
|
3124
3140
|
_bsCollapse: boolean;
|
|
@@ -3360,7 +3376,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3360
3376
|
protected _createDropDown(): void;
|
|
3361
3377
|
protected _wheel(e: WheelEvent): void;
|
|
3362
3378
|
protected _dropDownClick(e: MouseEvent): void;
|
|
3363
|
-
protected _setText(text: string, fullMatch: boolean): void;
|
|
3379
|
+
protected _setText(text: string, fullMatch: boolean, isDateTime?: boolean): void;
|
|
3364
3380
|
protected _findNext(search: string, step: number, start?: number): number;
|
|
3365
3381
|
protected _keydown(e: KeyboardEvent): void;
|
|
3366
3382
|
protected _input(e: Event): void;
|
|
@@ -3550,7 +3566,7 @@ export declare class MultiSelect extends ComboBox {
|
|
|
3550
3566
|
*
|
|
3551
3567
|
* For details, please see the {@link Menu.command} property.
|
|
3552
3568
|
*/
|
|
3553
|
-
interface ICommand {
|
|
3569
|
+
export interface ICommand {
|
|
3554
3570
|
/**
|
|
3555
3571
|
* Executes the command with a given parameter.
|
|
3556
3572
|
*
|
|
@@ -3613,6 +3629,8 @@ export declare class Menu extends ComboBox {
|
|
|
3613
3629
|
_hoverEnterBnd: any;
|
|
3614
3630
|
_hoverLeaveBnd: any;
|
|
3615
3631
|
_hoverOverBnd: any;
|
|
3632
|
+
_ariaLabel: string;
|
|
3633
|
+
_aFEnabledItem: boolean;
|
|
3616
3634
|
static _evtHover: MouseEvent;
|
|
3617
3635
|
/**
|
|
3618
3636
|
* Initializes a new instance of the {@link Menu} class.
|
|
@@ -3621,6 +3639,19 @@ export declare class Menu extends ComboBox {
|
|
|
3621
3639
|
* @param options The JavaScript object containing initialization data for the control.
|
|
3622
3640
|
*/
|
|
3623
3641
|
constructor(element: any, options?: any);
|
|
3642
|
+
/**
|
|
3643
|
+
* Gets or sets the aria-label attribute of {@link Menu} element.
|
|
3644
|
+
*
|
|
3645
|
+
* The default value for this property is "Menu".
|
|
3646
|
+
*/
|
|
3647
|
+
ariaLabel: string;
|
|
3648
|
+
/**
|
|
3649
|
+
* Gets or sets a value that determines whether the first enabled item is automatically focused/selected in the {@link dropDown}.
|
|
3650
|
+
* Used to add provide appropriate navigation when accessibility tools are used.
|
|
3651
|
+
*
|
|
3652
|
+
* The default value for this property is false.
|
|
3653
|
+
*/
|
|
3654
|
+
autoSelectOnFocus: boolean;
|
|
3624
3655
|
/**
|
|
3625
3656
|
* Gets or sets the HTML text shown in the {@link Menu} element.
|
|
3626
3657
|
*
|
|
@@ -3957,7 +3988,12 @@ export declare class InputTime extends ComboBox {
|
|
|
3957
3988
|
protected _updateInputSelection(start: number): void;
|
|
3958
3989
|
protected _updateItems(): void;
|
|
3959
3990
|
private _getTime;
|
|
3991
|
+
protected _getText(): string;
|
|
3992
|
+
protected _canChangeValue(): boolean;
|
|
3993
|
+
protected getSeconds(val: Date): number;
|
|
3960
3994
|
protected _keydown(e: KeyboardEvent): void;
|
|
3995
|
+
protected _updateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
3996
|
+
private _reselectText;
|
|
3961
3997
|
protected _commitText(): void;
|
|
3962
3998
|
protected _copy(key: string, value: any): boolean;
|
|
3963
3999
|
}
|
|
@@ -4050,6 +4086,9 @@ export declare class InputDateTime extends InputDate {
|
|
|
4050
4086
|
protected _updateBtn(): void;
|
|
4051
4087
|
protected _setDropdown(e: HTMLElement): boolean;
|
|
4052
4088
|
_updateDropDown(): void;
|
|
4089
|
+
protected _mouseWheel(e: WheelEvent): void;
|
|
4090
|
+
protected _keydown(e: KeyboardEvent): void;
|
|
4091
|
+
protected _updateDateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
4053
4092
|
}
|
|
4054
4093
|
/**
|
|
4055
4094
|
* Represents a method that returns data items asynchronously as the user types.
|
|
@@ -4102,6 +4141,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4102
4141
|
private _inCallback;
|
|
4103
4142
|
private _srchProps;
|
|
4104
4143
|
private _oldSelectedIndex;
|
|
4144
|
+
_pendingSearchFn: any;
|
|
4105
4145
|
/**
|
|
4106
4146
|
* Initializes a new instance of the {@link AutoComplete} class.
|
|
4107
4147
|
*
|