@grapecity/wijmo.input 5.20241.19 → 5.20242.21
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 +42 -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.
|
|
3
|
+
* Wijmo Library 5.20242.21
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -1072,7 +1072,7 @@ export declare class MultiSelectListBox<T = any> extends Control {
|
|
|
1072
1072
|
* The default value for this property is a very big number, meaning virtualization is
|
|
1073
1073
|
* disabled. To enable virtualization, set its value to 0 or a positive number.
|
|
1074
1074
|
*
|
|
1075
|
-
* For more detals, please see the {@link ListBox.
|
|
1075
|
+
* For more detals, please see the {@link ListBox.virtualizationThreshold}
|
|
1076
1076
|
* property.
|
|
1077
1077
|
*/
|
|
1078
1078
|
virtualizationThreshold: number;
|
|
@@ -2554,6 +2554,23 @@ export declare class PopupBoundsChangingEventArgs extends CancelEventArgs {
|
|
|
2554
2554
|
*/
|
|
2555
2555
|
readonly bounds: Rect;
|
|
2556
2556
|
}
|
|
2557
|
+
/**
|
|
2558
|
+
* Provides arguments for {@link InputDate}'s invalidInput event.
|
|
2559
|
+
*/
|
|
2560
|
+
export declare class InputDateEventArgs extends CancelEventArgs {
|
|
2561
|
+
_isUserInput: boolean;
|
|
2562
|
+
/**
|
|
2563
|
+
* Initializes a new instance of the {@link InputDateEventArgs} class.
|
|
2564
|
+
*
|
|
2565
|
+
* @param isUserInput boolean value to distinguish user input from value set in code
|
|
2566
|
+
*/
|
|
2567
|
+
constructor(isUserInput: boolean);
|
|
2568
|
+
/**
|
|
2569
|
+
* Gets a value that determines whether invalid value was
|
|
2570
|
+
* provided by user or set in code
|
|
2571
|
+
*/
|
|
2572
|
+
readonly isUserInput: boolean;
|
|
2573
|
+
}
|
|
2557
2574
|
/**
|
|
2558
2575
|
* The {@link InputDate} control allows users to type in dates using any format
|
|
2559
2576
|
* supported by the {@link Globalize} class, or to pick dates from a drop-down
|
|
@@ -2601,6 +2618,9 @@ export declare class InputDate extends DropDown {
|
|
|
2601
2618
|
private _clicked;
|
|
2602
2619
|
private _rangeChanged;
|
|
2603
2620
|
private _textInitialized;
|
|
2621
|
+
private _previousText;
|
|
2622
|
+
private _keepInvalidText;
|
|
2623
|
+
protected _currentInput: string;
|
|
2604
2624
|
/**
|
|
2605
2625
|
* Initializes a new instance of the {@link InputDate} class.
|
|
2606
2626
|
*
|
|
@@ -2645,6 +2665,16 @@ export declare class InputDate extends DropDown {
|
|
|
2645
2665
|
* there is no maximum value for range lengths.
|
|
2646
2666
|
*/
|
|
2647
2667
|
rangeMax: number;
|
|
2668
|
+
/**
|
|
2669
|
+
* Gets or sets whether to allow invalid text
|
|
2670
|
+
*
|
|
2671
|
+
* This property is used only when invalid text is set through
|
|
2672
|
+
* {@link text} property in code and does not affect the behavior
|
|
2673
|
+
* when invalid value is set by the end user
|
|
2674
|
+
*
|
|
2675
|
+
* The default value for this property is false.
|
|
2676
|
+
*/
|
|
2677
|
+
keepInvalidText: boolean;
|
|
2648
2678
|
/**
|
|
2649
2679
|
* Gets or sets the text shown on the control.
|
|
2650
2680
|
*/
|
|
@@ -2976,6 +3006,8 @@ export declare class InputDate extends DropDown {
|
|
|
2976
3006
|
_clamp(value: Date): Date;
|
|
2977
3007
|
protected _getText(): string;
|
|
2978
3008
|
protected _commitText(noFocus?: boolean): void;
|
|
3009
|
+
protected _triggerInvalidInputEvent(cancelEvtArgs: InputDateEventArgs, val: Date, rangeEnd?: Date): void;
|
|
3010
|
+
protected _nullValueInvalidInput(cancelEvtArgs: InputDateEventArgs): void;
|
|
2979
3011
|
protected _fromDateTime(value: Date): Date;
|
|
2980
3012
|
protected _canChangeValue(): boolean;
|
|
2981
3013
|
protected _isValidDate(value: Date): boolean;
|
|
@@ -3176,7 +3208,7 @@ export declare class ComboBox<T = any> extends DropDown {
|
|
|
3176
3208
|
* The default value for this property is a very big number, meaning virtualization is
|
|
3177
3209
|
* disabled. To enable virtualization, set its value to 0 or a positive number.
|
|
3178
3210
|
*
|
|
3179
|
-
* For more detals, please see the {@link ListBox.
|
|
3211
|
+
* For more detals, please see the {@link ListBox.virtualizationThreshold}
|
|
3180
3212
|
* property.
|
|
3181
3213
|
*/
|
|
3182
3214
|
virtualizationThreshold: number;
|
|
@@ -4089,6 +4121,7 @@ export declare class InputDateTime extends InputDate {
|
|
|
4089
4121
|
protected _mouseWheel(e: WheelEvent): void;
|
|
4090
4122
|
protected _keydown(e: KeyboardEvent): void;
|
|
4091
4123
|
protected _updateDateTimeValue(step: number, specialChars: any, actualFormat: string): void;
|
|
4124
|
+
protected _commitText(): void;
|
|
4092
4125
|
}
|
|
4093
4126
|
/**
|
|
4094
4127
|
* Represents a method that returns data items asynchronously as the user types.
|
|
@@ -4134,6 +4167,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4134
4167
|
private _itemCount;
|
|
4135
4168
|
private _beginsWith;
|
|
4136
4169
|
private _delay;
|
|
4170
|
+
_selItems: any;
|
|
4137
4171
|
private _toSearch;
|
|
4138
4172
|
private _query;
|
|
4139
4173
|
private _rxSrch;
|
|
@@ -4244,8 +4278,13 @@ export declare class AutoComplete extends ComboBox {
|
|
|
4244
4278
|
*/
|
|
4245
4279
|
onSelectedIndexChanged(e?: EventArgs): void;
|
|
4246
4280
|
_keydown(e: KeyboardEvent): void;
|
|
4281
|
+
private _isBlurInput;
|
|
4282
|
+
protected _commitText(noFocus?: boolean): void;
|
|
4247
4283
|
_setText(text: string | null): void;
|
|
4248
4284
|
onLostFocus(e?: EventArgs): void;
|
|
4285
|
+
private _ctrlReset;
|
|
4286
|
+
onGotFocus(e?: EventArgs): void;
|
|
4287
|
+
reset(): void;
|
|
4249
4288
|
_itemSourceFunctionCallback(result: any[]): void;
|
|
4250
4289
|
onIsDroppedDownChanged(e?: EventArgs): void;
|
|
4251
4290
|
protected _updateItems(): void;
|
|
@@ -4268,7 +4307,6 @@ export declare class MultiAutoComplete extends AutoComplete {
|
|
|
4268
4307
|
private _wjTpl;
|
|
4269
4308
|
private _wjInput;
|
|
4270
4309
|
private _helperInput;
|
|
4271
|
-
private _selItems;
|
|
4272
4310
|
private _maxSelItems;
|
|
4273
4311
|
private _lastInputValue;
|
|
4274
4312
|
private _selPath;
|