@smart-webcomponents-angular/combobox 13.0.1 → 13.1.70

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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
  Smart.ComboBox represents a feature-complete, responsive and touch friendly Angular ComboBox component.
3
3
  > This is a commercial product and requires a paid license for use. You can purchase a license at https://www.jqwidgets.com/license/ or start a free 30-day trial.
4
4
  >
5
+ ## Angular 13 support
6
+
7
+ The Smart UI for Angular components are packaged using the latest Angular Package Format guidelines.
8
+
5
9
  ## Resources
6
10
  * [Getting Started](https://www.htmlelements.com/docs/angular-cli/)
7
11
  * [View Online Demos](https://www.htmlelements.com/angular/)
@@ -34,8 +38,12 @@ npm install @smart-webcomponents-angular/combobox
34
38
  The CSS files are available in ../node_modules/@smart-webcomponents-angular/combobox/styles/ folder.
35
39
  ```javascript
36
40
  "styles": [
37
- "node_modules/@smart-webcomponents-angular/combobox/styles/smart.combobox.css"
41
+ "node_modules/@smart-webcomponents-angular/combobox/styles/smart.base.css",
42
+ "node_modules/@smart-webcomponents-angular/combobox/styles/smart.combobox.css",
43
+ "node_modules/@smart-webcomponents-angular/combobox/styles/smart.common.css"
38
44
  ]
45
+
46
+ If you use more than one Smart UI component in your application, firstly add 'smart.base.css', then your components css files like 'smart.grid.css', 'smart.scheduler.css' and finally 'smart.common.css'.
39
47
  ```
40
48
  * Add the Component Module in your application
41
49
 
@@ -62,5 +70,5 @@ export class AppModule { }
62
70
  Check the license detail [here](https://jqwidgets.com/license/).
63
71
  ## Release Notes
64
72
  Check the release notes [here](https://www.htmlelements.com/docs/release-notes/)
65
- © Copyright 2021 jQWidgets, Ltd. All Rights Reserved.
73
+ © Copyright 2022 jQWidgets, Ltd. All Rights Reserved.
66
74
 
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="smart-webcomponents-angular/combobox" />
4
+ /// <amd-module name="@smart-webcomponents-angular/combobox" />
5
5
  export * from './index';
@@ -29,8 +29,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
29
29
  get autoCloseDelay(): number;
30
30
  set autoCloseDelay(value: number);
31
31
  /** @description Determines the autocomplete mode. Auto complete modes filter the items from the dataSource and show only those that match the input. */
32
- get autoComplete(): AutoComplete;
33
- set autoComplete(value: AutoComplete);
32
+ get autoComplete(): AutoComplete | string;
33
+ set autoComplete(value: AutoComplete | string);
34
34
  /** @description Determines the delay before the drop down opens to show the matches from the auto complete operation. The delay is measured in miliseconds. */
35
35
  get autoCompleteDelay(): number;
36
36
  set autoCompleteDelay(value: number);
@@ -53,8 +53,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
53
53
  get dropDownAppendTo(): string;
54
54
  set dropDownAppendTo(value: string);
55
55
  /** @description Determines the position of the drop down button. */
56
- get dropDownButtonPosition(): DropDownButtonPosition;
57
- set dropDownButtonPosition(value: DropDownButtonPosition);
56
+ get dropDownButtonPosition(): DropDownButtonPosition | string;
57
+ set dropDownButtonPosition(value: DropDownButtonPosition | string);
58
58
  /** @description Sets the height of the drop down. By default it's set to an empty string. In this case the height of the drop down is controlled by a CSS variable. */
59
59
  get dropDownHeight(): string | number;
60
60
  set dropDownHeight(value: string | number);
@@ -71,8 +71,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
71
71
  get dropDownMinWidth(): string | number;
72
72
  set dropDownMinWidth(value: string | number);
73
73
  /** @description Determines how the drop down is going to open. */
74
- get dropDownOpenMode(): DropDownOpenMode;
75
- set dropDownOpenMode(value: DropDownOpenMode);
74
+ get dropDownOpenMode(): DropDownOpenMode | string;
75
+ set dropDownOpenMode(value: DropDownOpenMode | string);
76
76
  /** @description If this property is enabled, when the element's dropdown is opened, a transparent overlay is positioned between the dropdown and the rest of the document. The purpose of the overlay is to make sure that clicking anywhere outside the popup will will target the overlay and not the DOM. */
77
77
  get dropDownOverlay(): boolean;
78
78
  set dropDownOverlay(value: boolean);
@@ -80,14 +80,14 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
80
80
  get dropDownPlaceholder(): string;
81
81
  set dropDownPlaceholder(value: string);
82
82
  /** @description Determines the position of the drop down when opened. */
83
- get dropDownPosition(): DropDownPosition;
84
- set dropDownPosition(value: DropDownPosition);
83
+ get dropDownPosition(): DropDownPosition | string;
84
+ set dropDownPosition(value: DropDownPosition | string);
85
85
  /** @description Sets the width of the drop down. By default it's set to an empty string. In this case the width of the drop down is controlled by a CSS variable. */
86
86
  get dropDownWidth(): string | number;
87
87
  set dropDownWidth(value: string | number);
88
88
  /** @description Determines the behavior of the element when Escape key is pressed. */
89
- get escKeyMode(): ComboBoxEscKeyMode;
90
- set escKeyMode(value: ComboBoxEscKeyMode);
89
+ get escKeyMode(): ComboBoxEscKeyMode | string;
90
+ set escKeyMode(value: ComboBoxEscKeyMode | string);
91
91
  /** @description Determines whether filtering is enabled. */
92
92
  get filterable(): boolean;
93
93
  set filterable(value: boolean);
@@ -95,8 +95,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
95
95
  get filterInputPlaceholder(): string;
96
96
  set filterInputPlaceholder(value: string);
97
97
  /** @description Determines the filtering mode of the Combo box. */
98
- get filterMode(): FilterMode;
99
- set filterMode(value: FilterMode);
98
+ get filterMode(): FilterMode | string;
99
+ set filterMode(value: FilterMode | string);
100
100
  /** @description If enabled, the items will be grouped by their first letter. Can't be applied if the dataSource already contains groups. */
101
101
  get grouped(): boolean;
102
102
  set grouped(value: boolean);
@@ -107,8 +107,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
107
107
  get hint(): string;
108
108
  set hint(value: string);
109
109
  /** @description Determines the visibility of the horizontal Scroll bar inside the drop down. */
110
- get horizontalScrollBarVisibility(): HorizontalScrollBarVisibility;
111
- set horizontalScrollBarVisibility(value: HorizontalScrollBarVisibility);
110
+ get horizontalScrollBarVisibility(): HorizontalScrollBarVisibility | string;
111
+ set horizontalScrollBarVisibility(value: HorizontalScrollBarVisibility | string);
112
112
  /** @description Represents the property name of a List item. Determines the value of the input when a ListItem is selected. Usefull in cases where the user wants to display for example the value of an item instead of it's label. By default the label is displayed in the input. */
113
113
  get inputMember(): string;
114
114
  set inputMember(value: string);
@@ -119,14 +119,14 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
119
119
  get incrementalSearchDelay(): number;
120
120
  set incrementalSearchDelay(value: number);
121
121
  /** @description Sets ot gets the mode of the incremental search mode. Incremental search is enabled by default. Typing while the drop down is focused starts the incremental search. */
122
- get incrementalSearchMode(): SearchMode;
123
- set incrementalSearchMode(value: SearchMode);
122
+ get incrementalSearchMode(): SearchMode | string;
123
+ set incrementalSearchMode(value: SearchMode | string);
124
124
  /** @description Sets the height for all list items. Used only when virtualization is enabled. */
125
125
  get itemHeight(): number;
126
126
  set itemHeight(value: number);
127
127
  /** @description Determines the item width measuring algorithm. */
128
- get itemMeasureMode(): ListItemMeasureMode;
129
- set itemMeasureMode(value: ListItemMeasureMode);
128
+ get itemMeasureMode(): ListItemMeasureMode | string;
129
+ set itemMeasureMode(value: ListItemMeasureMode | string);
130
130
  /** @description A getter that returns an array of all List items inside the drop down. */
131
131
  get items(): {
132
132
  label: string;
@@ -146,8 +146,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
146
146
  get loadingIndicatorPlaceholder(): string;
147
147
  set loadingIndicatorPlaceholder(value: string);
148
148
  /** @description Determines the position of the loading indicator. */
149
- get loadingIndicatorPosition(): VerticalAlignment;
150
- set loadingIndicatorPosition(value: VerticalAlignment);
149
+ get loadingIndicatorPosition(): VerticalAlignment | string;
150
+ set loadingIndicatorPosition(value: VerticalAlignment | string);
151
151
  /** @description Sets or gets the language. Used in conjunction with the property messages. */
152
152
  get locale(): string;
153
153
  set locale(value: string);
@@ -179,11 +179,11 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
179
179
  get resizeIndicator(): boolean;
180
180
  set resizeIndicator(value: boolean);
181
181
  /** @description Determines whether the dropDown can be resized or not. When resizing is enabled, a resize bar appears on the top/bottom side of the drop down. */
182
- get resizeMode(): ResizeMode;
183
- set resizeMode(value: ResizeMode);
182
+ get resizeMode(): ResizeMode | string;
183
+ set resizeMode(value: ResizeMode | string);
184
184
  /** @description Determines what will be displayed in the input. */
185
- get selectionDisplayMode(): SelectionDisplayMode;
186
- set selectionDisplayMode(value: SelectionDisplayMode);
185
+ get selectionDisplayMode(): SelectionDisplayMode | string;
186
+ set selectionDisplayMode(value: SelectionDisplayMode | string);
187
187
  /** @description Sets or gets the selected indexes. Selected indexes represents an array of the indexes of the items that should be selected. */
188
188
  get selectedIndexes(): number[];
189
189
  set selectedIndexes(value: number[]);
@@ -191,8 +191,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
191
191
  get selectedValues(): string[];
192
192
  set selectedValues(value: string[]);
193
193
  /** @description Determines how many items can be selected. */
194
- get selectionMode(): ListSelectionMode;
195
- set selectionMode(value: ListSelectionMode);
194
+ get selectionMode(): ListSelectionMode | string;
195
+ set selectionMode(value: ListSelectionMode | string);
196
196
  /** @description Determines whether the items are sorted alphabetically or not */
197
197
  get sorted(): boolean;
198
198
  set sorted(value: boolean);
@@ -215,8 +215,8 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
215
215
  get valueMember(): string;
216
216
  set valueMember(value: string);
217
217
  /** @description Determines the visibility of the vertical scroll bar. */
218
- get verticalScrollBarVisibility(): VerticalScrollBarVisibility;
219
- set verticalScrollBarVisibility(value: VerticalScrollBarVisibility);
218
+ get verticalScrollBarVisibility(): VerticalScrollBarVisibility | string;
219
+ set verticalScrollBarVisibility(value: VerticalScrollBarVisibility | string);
220
220
  /** @description Determines weather or not Virtualization is used for the Combo box. Virtualization allows a huge amount of items to be loaded to the List box while preserving the performance. For example a milion items can be loaded to the list box. */
221
221
  get virtualized(): boolean;
222
222
  set virtualized(value: boolean);
@@ -346,5 +346,5 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
346
346
  /** @description Remove event listeners. */
347
347
  private unlisten;
348
348
  static ɵfac: i0.ɵɵFactoryDeclaration<ComboBoxComponent, never>;
349
- static ɵdir: i0.ɵɵDirectiveDeclaration<ComboBoxComponent, "smart-combo-box, [smart-combo-box]", never, { "autoCloseDelay": "autoCloseDelay"; "autoComplete": "autoComplete"; "autoCompleteDelay": "autoCompleteDelay"; "autoOpenShortcutKey": "autoOpenShortcutKey"; "dataSource": "dataSource"; "disabled": "disabled"; "displayLoadingIndicator": "displayLoadingIndicator"; "displayMember": "displayMember"; "dropDownAppendTo": "dropDownAppendTo"; "dropDownButtonPosition": "dropDownButtonPosition"; "dropDownHeight": "dropDownHeight"; "dropDownMaxHeight": "dropDownMaxHeight"; "dropDownMaxWidth": "dropDownMaxWidth"; "dropDownMinHeight": "dropDownMinHeight"; "dropDownMinWidth": "dropDownMinWidth"; "dropDownOpenMode": "dropDownOpenMode"; "dropDownOverlay": "dropDownOverlay"; "dropDownPlaceholder": "dropDownPlaceholder"; "dropDownPosition": "dropDownPosition"; "dropDownWidth": "dropDownWidth"; "escKeyMode": "escKeyMode"; "filterable": "filterable"; "filterInputPlaceholder": "filterInputPlaceholder"; "filterMode": "filterMode"; "grouped": "grouped"; "groupMember": "groupMember"; "hint": "hint"; "horizontalScrollBarVisibility": "horizontalScrollBarVisibility"; "inputMember": "inputMember"; "inputPurpose": "inputPurpose"; "incrementalSearchDelay": "incrementalSearchDelay"; "incrementalSearchMode": "incrementalSearchMode"; "itemHeight": "itemHeight"; "itemMeasureMode": "itemMeasureMode"; "items": "items"; "itemTemplate": "itemTemplate"; "label": "label"; "loadingIndicatorPlaceholder": "loadingIndicatorPlaceholder"; "loadingIndicatorPosition": "loadingIndicatorPosition"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "minLength": "minLength"; "name": "name"; "opened": "opened"; "placeholder": "placeholder"; "readonly": "readonly"; "rightToLeft": "rightToLeft"; "resizeIndicator": "resizeIndicator"; "resizeMode": "resizeMode"; "selectionDisplayMode": "selectionDisplayMode"; "selectedIndexes": "selectedIndexes"; "selectedValues": "selectedValues"; "selectionMode": "selectionMode"; "sorted": "sorted"; "sortDirection": "sortDirection"; "theme": "theme"; "tokenTemplate": "tokenTemplate"; "unfocusable": "unfocusable"; "value": "value"; "valueMember": "valueMember"; "verticalScrollBarVisibility": "verticalScrollBarVisibility"; "virtualized": "virtualized"; }, { "onChange": "onChange"; "onClose": "onClose"; "onClosing": "onClosing"; "onItemClick": "onItemClick"; "onOpen": "onOpen"; "onOpening": "onOpening"; "onResizeStart": "onResizeStart"; "onResizeEnd": "onResizeEnd"; "onScrollBottomReached": "onScrollBottomReached"; "onScrollTopReached": "onScrollTopReached"; "onTokenClick": "onTokenClick"; }, never>;
349
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ComboBoxComponent, "smart-combo-box, [smart-combo-box]", ["smart-combo-box"], { "autoCloseDelay": "autoCloseDelay"; "autoComplete": "autoComplete"; "autoCompleteDelay": "autoCompleteDelay"; "autoOpenShortcutKey": "autoOpenShortcutKey"; "dataSource": "dataSource"; "disabled": "disabled"; "displayLoadingIndicator": "displayLoadingIndicator"; "displayMember": "displayMember"; "dropDownAppendTo": "dropDownAppendTo"; "dropDownButtonPosition": "dropDownButtonPosition"; "dropDownHeight": "dropDownHeight"; "dropDownMaxHeight": "dropDownMaxHeight"; "dropDownMaxWidth": "dropDownMaxWidth"; "dropDownMinHeight": "dropDownMinHeight"; "dropDownMinWidth": "dropDownMinWidth"; "dropDownOpenMode": "dropDownOpenMode"; "dropDownOverlay": "dropDownOverlay"; "dropDownPlaceholder": "dropDownPlaceholder"; "dropDownPosition": "dropDownPosition"; "dropDownWidth": "dropDownWidth"; "escKeyMode": "escKeyMode"; "filterable": "filterable"; "filterInputPlaceholder": "filterInputPlaceholder"; "filterMode": "filterMode"; "grouped": "grouped"; "groupMember": "groupMember"; "hint": "hint"; "horizontalScrollBarVisibility": "horizontalScrollBarVisibility"; "inputMember": "inputMember"; "inputPurpose": "inputPurpose"; "incrementalSearchDelay": "incrementalSearchDelay"; "incrementalSearchMode": "incrementalSearchMode"; "itemHeight": "itemHeight"; "itemMeasureMode": "itemMeasureMode"; "items": "items"; "itemTemplate": "itemTemplate"; "label": "label"; "loadingIndicatorPlaceholder": "loadingIndicatorPlaceholder"; "loadingIndicatorPosition": "loadingIndicatorPosition"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "minLength": "minLength"; "name": "name"; "opened": "opened"; "placeholder": "placeholder"; "readonly": "readonly"; "rightToLeft": "rightToLeft"; "resizeIndicator": "resizeIndicator"; "resizeMode": "resizeMode"; "selectionDisplayMode": "selectionDisplayMode"; "selectedIndexes": "selectedIndexes"; "selectedValues": "selectedValues"; "selectionMode": "selectionMode"; "sorted": "sorted"; "sortDirection": "sortDirection"; "theme": "theme"; "tokenTemplate": "tokenTemplate"; "unfocusable": "unfocusable"; "value": "value"; "valueMember": "valueMember"; "verticalScrollBarVisibility": "verticalScrollBarVisibility"; "virtualized": "virtualized"; }, { "onChange": "onChange"; "onClose": "onClose"; "onClosing": "onClosing"; "onItemClick": "onItemClick"; "onOpen": "onOpen"; "onOpening": "onOpening"; "onResizeStart": "onResizeStart"; "onResizeEnd": "onResizeEnd"; "onScrollBottomReached": "onScrollBottomReached"; "onScrollTopReached": "onScrollTopReached"; "onTokenClick": "onTokenClick"; }, never>;
350
350
  }
@@ -21,8 +21,8 @@ export declare class ListItemComponent extends BaseElement implements OnInit, Af
21
21
  get color(): string;
22
22
  set color(value: string);
23
23
  /** @description */
24
- get displayMode(): ListItemDisplayMode;
25
- set displayMode(value: ListItemDisplayMode);
24
+ get displayMode(): ListItemDisplayMode | string;
25
+ set displayMode(value: ListItemDisplayMode | string);
26
26
  /** @description */
27
27
  get grouped(): boolean;
28
28
  set grouped(value: boolean);
@@ -53,5 +53,5 @@ export declare class ListItemComponent extends BaseElement implements OnInit, Af
53
53
  ngOnDestroy(): void;
54
54
  ngOnChanges(changes: SimpleChanges): void;
55
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
56
- static ɵdir: i0.ɵɵDirectiveDeclaration<ListItemComponent, "smart-list-item, [smart-list-item]", never, { "alternationIndex": "alternationIndex"; "color": "color"; "displayMode": "displayMode"; "grouped": "grouped"; "selected": "selected"; "value": "value"; "label": "label"; "details": "details"; "group": "group"; "hidden": "hidden"; "readonly": "readonly"; }, {}, never>;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListItemComponent, "smart-list-item, [smart-list-item]", ["smart-list-item"], { "alternationIndex": "alternationIndex"; "color": "color"; "displayMode": "displayMode"; "grouped": "grouped"; "selected": "selected"; "value": "value"; "label": "label"; "details": "details"; "group": "group"; "hidden": "hidden"; "readonly": "readonly"; }, {}, never>;
57
57
  }
@@ -22,5 +22,5 @@ export declare class ListItemsGroupComponent extends BaseElement implements OnIn
22
22
  ngOnDestroy(): void;
23
23
  ngOnChanges(changes: SimpleChanges): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ListItemsGroupComponent, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<ListItemsGroupComponent, "smart-list-items-group, [smart-list-items-group]", never, { "label": "label"; }, {}, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListItemsGroupComponent, "smart-list-items-group, [smart-list-items-group]", ["smart-list-items-group"], { "label": "label"; }, {}, never>;
26
26
  }