@grapecity/wijmo.input 5.20261.52 → 5.20262.60

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.20261.52
3
+ * Wijmo Library 5.20262.60
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -115,6 +115,11 @@ export declare const MultiAutoCompleteClsNames: {
115
115
  export declare const MultiSelectClsNames: {
116
116
  hostElement: string;
117
117
  };
118
+ export declare const MultiLineComboBoxClsNames: {
119
+ dropDownPanel: string;
120
+ hostElement: string;
121
+ screenReaderOnly: string;
122
+ };
118
123
  export declare const MultiSelectListBoxClsNames: {
119
124
  header: string;
120
125
  hostElement: string;
@@ -1195,7 +1200,6 @@ export declare class ListBox<T = any> extends Control {
1195
1200
  _getSelectedElement(visible: boolean): HTMLElement | null;
1196
1201
  _handleResize(): void;
1197
1202
  _createItem(i: number, groupIndex?: number): string;
1198
- _getAriaSelected(isSelected: boolean, isChecked: boolean | null): boolean;
1199
1203
  _createHeaderItem(group: CollectionViewGroup, groupIndex: number): string;
1200
1204
  private _click;
1201
1205
  private _keydown;
@@ -2533,6 +2537,7 @@ export declare class Popup extends Control {
2533
2537
  * ```
2534
2538
  */
2535
2539
  show(modal?: boolean, handleResult?: Function): void;
2540
+ _getActiveElement(): HTMLElement | null;
2536
2541
  /**
2537
2542
  * Hides the {@link Popup}.
2538
2543
  *
@@ -3726,6 +3731,59 @@ export declare class ComboBox<T = any> extends DropDown {
3726
3731
  getAriaLabelForScreenReader(): any;
3727
3732
  _updateDropDownWhenInput(): void;
3728
3733
  }
3734
+ /**
3735
+ * The {@link MultiLineComboBox} control extends {@link ComboBox} and uses a
3736
+ * multi-line text area as the input element.
3737
+ *
3738
+ * The control keeps the standard {@link ComboBox} item source and drop-down
3739
+ * selection behavior, while allowing users to enter line breaks in the input
3740
+ * field.
3741
+ */
3742
+ export declare class MultiLineComboBox<T = any> extends ComboBox<T> {
3743
+ static _ctrlTemplate: string;
3744
+ private _screenReaderHelper;
3745
+ /**
3746
+ * Initializes a new instance of the {@link MultiLineComboBox} class.
3747
+ *
3748
+ * @param element The DOM element that hosts the control, or a selector for the host element.
3749
+ * @param options The JavaScript object containing initialization data for the control.
3750
+ */
3751
+ constructor(element: any, options?: any);
3752
+ /**
3753
+ * Gets or sets the template used to instantiate {@link MultiLineComboBox} control.
3754
+ */
3755
+ static controlTemplate: string;
3756
+ /**
3757
+ * Gets the input element type for this control.
3758
+ *
3759
+ * This property always returns **"textarea"** because the
3760
+ * {@link MultiLineComboBox} uses a textarea element instead of an input element.
3761
+ *
3762
+ * Setting this property has no effect.
3763
+ */
3764
+ inputType: string;
3765
+ /**
3766
+ * Gets or sets a value that determines whether to remove leading and trailing
3767
+ * whitespace characters from multi-line values.
3768
+ *
3769
+ * The default value of this property is **false**, so the control preserves
3770
+ * leading and trailing linebreaks and spaces.
3771
+ */
3772
+ trimText: boolean;
3773
+ getAriaLabelForScreenReader(): any;
3774
+ private _addScreenReaderHelper;
3775
+ private _ariaReadSelectedChange;
3776
+ _updateInputAriaLabel(): void;
3777
+ protected _keydown(e: KeyboardEvent): void;
3778
+ _handleMultiLineComboBoxKey(e: KeyboardEvent): boolean;
3779
+ private _shouldOpenDropdownByArrow;
3780
+ private _selectItem;
3781
+ private _insertTextAreaLineBreak;
3782
+ private _isTextAreaLineBreak;
3783
+ private _preventNativeLineBreak;
3784
+ protected _wheel(e: WheelEvent): void;
3785
+ private canChangeItem;
3786
+ }
3729
3787
  /**
3730
3788
  * Interface implemented by command objects.
3731
3789
  *
@@ -4041,6 +4099,7 @@ export declare class Menu extends ComboBox {
4041
4099
  private _showSubMenu;
4042
4100
  private _raiseCommand;
4043
4101
  private _focusMenuOwner;
4102
+ protected _focusOwner(owner: HTMLElement): void;
4044
4103
  private _getCommand;
4045
4104
  private _getCommandParm;
4046
4105
  private _executeCommand;