@grapecity/wijmo.input 5.20242.30 → 5.20251.34

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20242.30
3
+ * Wijmo Library 5.20251.34
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -615,6 +615,9 @@ export declare class CollectionViewNavigator<T = any> extends Control {
615
615
  private _rptNext;
616
616
  private _rptPrev;
617
617
  private _fmt;
618
+ private _liveRegionON;
619
+ private _ariaLabel;
620
+ private _isDisabled;
618
621
  static _ctrlTemplate: string;
619
622
  /**
620
623
  * Gets or sets the template used to instantiate {@link CollectionViewNavigator} controls.
@@ -669,10 +672,29 @@ export declare class CollectionViewNavigator<T = any> extends Control {
669
672
  * The default value for this property is **true**.
670
673
  */
671
674
  repeatButtons: boolean;
675
+ /**
676
+ * Gets or sets the aria-label attribute of {@link CollectionViewNavigator} element.
677
+ */
678
+ ariaLabel: string;
679
+ /**
680
+ * Gets or sets a value that determines whether the control is disabled.
681
+ *
682
+ * Disabled controls cannot get mouse or keyboard events.
683
+ */
684
+ isDisabled: boolean;
685
+ /**
686
+ * Sets the focus to this control.
687
+ */
688
+ focus(): void;
672
689
  _update(): void;
673
690
  _currentChanged(): void;
674
691
  _collectionChanged(): void;
675
692
  _click(e: MouseEvent): void;
693
+ private _updateAriaLabels;
694
+ private _addA11yRelatedHandlers;
695
+ protected _setTabOrder(value: number): void;
696
+ _keydown(e: KeyboardEvent): void;
697
+ protected _setIsDisabled(value: boolean): void;
676
698
  }
677
699
  /**
678
700
  * Represents a method that formats an item for display in a
@@ -1962,6 +1984,7 @@ export declare class DropDown extends Control {
1962
1984
  * this property is set to {@link ClickAction.Toggle} by default.
1963
1985
  */
1964
1986
  clickAction: ClickAction;
1987
+ protected _isDropdownOpened: boolean;
1965
1988
  /**
1966
1989
  * Gets or sets a value that indicates whether the drop down is currently
1967
1990
  * visible.
@@ -2222,6 +2245,7 @@ export declare class Popup extends Control {
2222
2245
  protected _oldFocus: HTMLElement;
2223
2246
  protected _myFocus: HTMLElement;
2224
2247
  protected _lastShow: number;
2248
+ protected _initialOwner: HTMLElement;
2225
2249
  /**
2226
2250
  * Initializes a new instance of the {@link Popup} class.
2227
2251
  *
@@ -2729,6 +2753,11 @@ export declare class InputDate extends DropDown {
2729
2753
  private _previousText;
2730
2754
  private _keepInvalidText;
2731
2755
  protected _currentInput: string;
2756
+ static _ctrlTemplate: string;
2757
+ /**
2758
+ * Gets or sets the template used to instantiate {@link InputDate} control.
2759
+ */
2760
+ static controlTemplate: string;
2732
2761
  /**
2733
2762
  * Initializes a new instance of the {@link InputDate} class.
2734
2763
  *
@@ -3144,6 +3173,11 @@ export declare class InputDate extends DropDown {
3144
3173
  * ranges that users can select from.
3145
3174
  */
3146
3175
  export declare class InputDateRange extends InputDate {
3176
+ static _ctrlTemplate: string;
3177
+ /**
3178
+ * Gets or sets the template used to instantiate {@link InputDateRange} control.
3179
+ */
3180
+ static controlTemplate: string;
3147
3181
  /**
3148
3182
  * Initializes a new instance of the {@link InputDateRange} class.
3149
3183
  *
@@ -3170,6 +3204,11 @@ export declare class InputColor extends DropDown {
3170
3204
  private _colorPicker;
3171
3205
  private _value;
3172
3206
  private _textInitialized;
3207
+ static _ctrlTemplate: string;
3208
+ /**
3209
+ * Gets or sets the template used to instantiate {@link InputColor} control.
3210
+ */
3211
+ static controlTemplate: string;
3173
3212
  /**
3174
3213
  * Initializes a new instance of the {@link InputColor} class.
3175
3214
  *
@@ -3291,6 +3330,12 @@ export declare class ComboBox<T = any> extends DropDown {
3291
3330
  _restoreComboboxTbxVal: boolean;
3292
3331
  _isWheel: boolean;
3293
3332
  _selItems: any;
3333
+ _oldFilter: any;
3334
+ static _ctrlTemplate: string;
3335
+ /**
3336
+ * Gets or sets the template used to instantiate {@link ComboBox} control.
3337
+ */
3338
+ static controlTemplate: string;
3294
3339
  /**
3295
3340
  * Initializes a new instance of the {@link ComboBox} class.
3296
3341
  *
@@ -3580,6 +3625,11 @@ export declare class MultiSelect extends ComboBox {
3580
3625
  private _hdrFormatter;
3581
3626
  private _msLbx;
3582
3627
  static _DEF_CHECKED_PATH: string;
3628
+ static _ctrlTemplate: string;
3629
+ /**
3630
+ * Gets or sets the template used to instantiate {@link MultiSelect} control.
3631
+ */
3632
+ static controlTemplate: string;
3583
3633
  /**
3584
3634
  * Initializes a new instance of the {@link MultiSelect} class.
3585
3635
  *
@@ -3780,6 +3830,11 @@ export declare class Menu extends ComboBox {
3780
3830
  _ariaLabel: string;
3781
3831
  _aFEnabledItem: boolean;
3782
3832
  static _evtHover: MouseEvent;
3833
+ static _ctrlTemplate: string;
3834
+ /**
3835
+ * Gets or sets the template used to instantiate {@link Menu} control.
3836
+ */
3837
+ static controlTemplate: string;
3783
3838
  /**
3784
3839
  * Initializes a new instance of the {@link Menu} class.
3785
3840
  *
@@ -4035,6 +4090,11 @@ export declare class InputTime extends ComboBox {
4035
4090
  _format: string;
4036
4091
  _msk: _MaskProvider;
4037
4092
  _hasCustomItems: boolean;
4093
+ static _ctrlTemplate: string;
4094
+ /**
4095
+ * Gets or sets the template used to instantiate {@link InputTime} control.
4096
+ */
4097
+ static controlTemplate: string;
4038
4098
  /**
4039
4099
  * Initializes a new instance of the {@link InputTime} class.
4040
4100
  *
@@ -4293,6 +4353,11 @@ export declare class AutoComplete extends ComboBox {
4293
4353
  private _srchProps;
4294
4354
  private _oldSelectedIndex;
4295
4355
  _pendingSearchFn: any;
4356
+ static _ctrlTemplate: string;
4357
+ /**
4358
+ * Gets or sets the template used to instantiate {@link AutoComplete} control.
4359
+ */
4360
+ static controlTemplate: string;
4296
4361
  /**
4297
4362
  * Initializes a new instance of the {@link AutoComplete} class.
4298
4363
  *
@@ -4428,6 +4493,11 @@ export declare class MultiAutoComplete extends AutoComplete {
4428
4493
  private _selPath;
4429
4494
  private _notAddItm;
4430
4495
  static _clsActive: string;
4496
+ static _ctrlTemplate: string;
4497
+ /**
4498
+ * Gets or sets the template used to instantiate {@link MultiAutoComplete} control.
4499
+ */
4500
+ static controlTemplate: string;
4431
4501
  /**
4432
4502
  * Initializes a new instance of the {@link MultiAutoComplete} class.
4433
4503
  *