@smart-webcomponents-angular/combobox 16.0.2 → 22.0.2
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/combobox/smart.combobox.d.ts +12 -2
- package/combobox/smart.element.d.ts +6 -2
- package/esm2020/combobox/smart.combobox.mjs +46 -6
- package/esm2020/combobox/smart.element.mjs +16 -3
- package/esm2020/combobox/smart.listitem.mjs +3 -2
- package/esm2020/combobox/smart.listitemsgroup.mjs +3 -2
- package/fesm2015/smart-webcomponents-angular-combobox.mjs +63 -9
- package/fesm2015/smart-webcomponents-angular-combobox.mjs.map +1 -1
- package/fesm2020/smart-webcomponents-angular-combobox.mjs +63 -9
- package/fesm2020/smart-webcomponents-angular-combobox.mjs.map +1 -1
- package/index.d.ts +1730 -496
- package/package.json +21 -17
- package/source/modules/smart.combobox.js +2 -2
- package/source/smart.button.js +3 -3
- package/source/smart.checkbox.js +2 -2
- package/source/smart.combobox.js +3 -3
- package/source/smart.dropdownlist.js +3 -3
- package/source/smart.element.js +3 -3
- package/source/smart.listbox.js +3 -3
- package/source/smart.radiobutton.js +2 -2
- package/source/smart.scrollbar.js +2 -2
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +25 -1
- package/styles/font/smart-icons.ttf +0 -0
- package/styles/font/smart-icons.woff +0 -0
- package/styles/font/smart-icons.woff2 +0 -0
- package/styles/smart.base.css +2 -2
- package/styles/smart.combobox.css +2 -2
- package/styles/smart.common.css +1 -1
|
@@ -148,6 +148,9 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
|
|
|
148
148
|
/** @description Determines the position of the loading indicator. */
|
|
149
149
|
get loadingIndicatorPosition(): VerticalAlignment | string;
|
|
150
150
|
set loadingIndicatorPosition(value: VerticalAlignment | string);
|
|
151
|
+
/** @description Sets or gets the unlockKey which unlocks the product. */
|
|
152
|
+
get unlockKey(): string;
|
|
153
|
+
set unlockKey(value: string);
|
|
151
154
|
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
152
155
|
get locale(): string;
|
|
153
156
|
set locale(value: string);
|
|
@@ -279,6 +282,10 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
|
|
|
279
282
|
* @returns {Node}
|
|
280
283
|
*/
|
|
281
284
|
appendChild(node: any): Promise<any>;
|
|
285
|
+
/** @description Adds a new item(s).
|
|
286
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
287
|
+
*/
|
|
288
|
+
add(item: any): void;
|
|
282
289
|
/** @description Removes all items from the drop down list.
|
|
283
290
|
*/
|
|
284
291
|
clearItems(): void;
|
|
@@ -288,6 +295,9 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
|
|
|
288
295
|
/** @description Closes the dropDown list.
|
|
289
296
|
*/
|
|
290
297
|
close(): void;
|
|
298
|
+
/** @description Performs a data bind. This can be used to refresh the data source.
|
|
299
|
+
*/
|
|
300
|
+
dataBind(): void;
|
|
291
301
|
/** @description Ensures the desired item is visible by scrolling to it.
|
|
292
302
|
* @param {HTMLElement | string} item. A list item or value of the desired item to be visible.
|
|
293
303
|
*/
|
|
@@ -299,7 +309,7 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
|
|
|
299
309
|
getItem(value: any): Promise<any>;
|
|
300
310
|
/** @description Inserts a new item at a specified position.
|
|
301
311
|
* @param {number} position. The position where the item must be inserted.
|
|
302
|
-
* @param {any} item. Describes the properties of the item that will be inserted.
|
|
312
|
+
* @param {any} item. Describes the properties of the item that will be inserted. You can also pass an array of items.
|
|
303
313
|
*/
|
|
304
314
|
insert(position: number, item: any): void;
|
|
305
315
|
/** @description Inserts a new ListItem before another in the list.
|
|
@@ -349,5 +359,5 @@ export declare class ComboBoxComponent extends BaseElement implements OnInit, Af
|
|
|
349
359
|
/** @description Remove event listeners. */
|
|
350
360
|
private unlisten;
|
|
351
361
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComboBoxComponent, never>;
|
|
352
|
-
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"; "maxLength": "maxLength"; "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>;
|
|
362
|
+
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"; "unlockKey": "unlockKey"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "minLength": "minLength"; "maxLength": "maxLength"; "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>;
|
|
353
363
|
}
|
|
@@ -18,6 +18,9 @@ export declare class BaseElement {
|
|
|
18
18
|
blur(): void;
|
|
19
19
|
click(): void;
|
|
20
20
|
focus(options?: FocusOptions): void;
|
|
21
|
+
/** @description Sets or gets the license. */
|
|
22
|
+
get license(): string;
|
|
23
|
+
set license(value: string);
|
|
21
24
|
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
22
25
|
get locale(): string;
|
|
23
26
|
set locale(value: string);
|
|
@@ -34,6 +37,7 @@ export declare class BaseElement {
|
|
|
34
37
|
get theme(): string;
|
|
35
38
|
set theme(value: string);
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseElement, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseElement, never, never, { "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "rightToLeft": "rightToLeft"; "theme": "theme"; }, { "onCreate": "onCreate"; "onReady": "onReady"; "onAttach": "onAttach"; "onDetach": "onDetach"; }, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseElement, never, never, { "license": "license"; "locale": "locale"; "localizeFormatFunction": "localizeFormatFunction"; "messages": "messages"; "rightToLeft": "rightToLeft"; "theme": "theme"; }, { "onCreate": "onCreate"; "onReady": "onReady"; "onAttach": "onAttach"; "onDetach": "onDetach"; }, never>;
|
|
38
41
|
}
|
|
39
|
-
|
|
42
|
+
declare let Smart: any;
|
|
43
|
+
export { Smart };
|