@progress/kendo-angular-dropdowns 17.0.0-develop.9 → 17.0.0
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 +40 -99
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +1 -1
- package/comboboxes/combobox.module.d.ts +1 -1
- package/common/action-sheet.component.d.ts +1 -1
- package/common/disabled-items/item-disabled.d.ts +1 -1
- package/common/filter-input.directive.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/models/direction.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/list-type.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/shared-events.directive.d.ts +1 -1
- package/common/taglist.component.d.ts +2 -2
- package/common/util.d.ts +2 -2
- package/dropdownlist/dropdownlist.component.d.ts +1 -1
- package/dropdowns.module.d.ts +1 -1
- package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +1 -1
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +1 -1
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/autocomplete/autocomplete.component.mjs +235 -173
- package/{esm2020 → esm2022}/autocomplete/autocomplete.module.mjs +11 -11
- package/{esm2020 → esm2022}/comboboxes/combobox-column/column-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/comboboxes/combobox-column/column-header-template.directive.mjs +4 -3
- package/esm2022/comboboxes/combobox-column/combobox-column.component.mjs +105 -0
- package/{esm2020 → esm2022}/comboboxes/combobox.component.mjs +326 -248
- package/{esm2020 → esm2022}/comboboxes/combobox.module.mjs +11 -11
- package/{esm2020 → esm2022}/comboboxes/multicolumncombobox.component.mjs +53 -48
- package/{esm2020 → esm2022}/common/action-sheet.component.mjs +26 -14
- package/{esm2020 → esm2022}/common/data.service.mjs +8 -7
- package/{esm2020 → esm2022}/common/disabled-items/disabled-items.service.mjs +6 -4
- package/{esm2020 → esm2022}/common/filter-input.directive.mjs +6 -3
- package/{esm2020 → esm2022}/common/filtering/filter.directive.mjs +20 -13
- package/{esm2020 → esm2022}/common/filtering/filterable-component.mjs +21 -0
- package/{esm2020 → esm2022}/common/list-item.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/list.component.mjs +72 -36
- package/{esm2020 → esm2022}/common/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/common/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/common/localization/messages.mjs +65 -0
- package/{esm2020 → esm2022}/common/models/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/common/models/remove-tag-event.mjs +4 -0
- package/{esm2020 → esm2022}/common/navigation/navigation.service.mjs +27 -23
- package/{esm2020 → esm2022}/common/searchbar.component.mjs +45 -28
- package/{esm2020 → esm2022}/common/selection/selectable.directive.mjs +9 -5
- package/{esm2020 → esm2022}/common/selection/selection.service.mjs +13 -10
- package/{esm2020 → esm2022}/common/shared-events.directive.mjs +13 -7
- package/{esm2020 → esm2022}/common/taglist.component.mjs +36 -27
- package/{esm2020 → esm2022}/common/templates/custom-item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/fixed-group-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/group-tag-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/group-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/no-data-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/tag-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/common/templates/value-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/dropdownlist/dropdownlist.component.mjs +259 -184
- package/{esm2020 → esm2022}/dropdownlist/dropdownlist.module.mjs +8 -8
- package/esm2022/dropdowns.module.mjs +87 -0
- package/{esm2020 → esm2022}/dropdowntrees/checked-state/base-check.directive.mjs +10 -3
- package/{esm2020 → esm2022}/dropdowntrees/checked-state/check-all.directive.mjs +38 -21
- package/{esm2020 → esm2022}/dropdowntrees/checked-state/check.directive.mjs +31 -15
- package/{esm2020 → esm2022}/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs +12 -7
- package/{esm2020 → esm2022}/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs +8 -7
- package/{esm2020 → esm2022}/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs +12 -7
- package/{esm2020 → esm2022}/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs +8 -7
- package/{esm2020 → esm2022}/dropdowntrees/dropdowntree.component.mjs +309 -232
- package/{esm2020 → esm2022}/dropdowntrees/dropdowntrees.module.mjs +12 -12
- package/{esm2020 → esm2022}/dropdowntrees/expanded-state/expand.directive.mjs +8 -7
- package/{esm2020 → esm2022}/dropdowntrees/lookup/lookup.service.mjs +4 -6
- package/{esm2020 → esm2022}/dropdowntrees/multiselecttree.component.mjs +324 -254
- package/{esm2020 → esm2022}/dropdowntrees/summary-tag/summary-tag.directive.mjs +8 -7
- package/{esm2020 → esm2022}/dropdowntrees/templates/node-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/index.mjs +0 -2
- package/{esm2020 → esm2022}/multiselect/multiselect.component.mjs +328 -254
- package/{esm2020 → esm2022}/multiselect/multiselect.module.mjs +11 -11
- package/{esm2020 → esm2022}/multiselect/summary-tag.directive.mjs +8 -7
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{fesm2020 → fesm2022}/progress-kendo-angular-dropdowns.mjs +2528 -1927
- package/index.d.ts +0 -2
- package/multiselect/multiselect.component.d.ts +1 -1
- package/multiselect/multiselect.module.d.ts +1 -1
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package.json +18 -24
- package/schematics/ngAdd/index.js +3 -3
- package/common/shared-directives.module.d.ts +0 -37
- package/common/shared.module.d.ts +0 -29
- package/esm2020/comboboxes/combobox-column/combobox-column.component.mjs +0 -60
- package/esm2020/common/localization/messages.mjs +0 -33
- package/esm2020/common/shared-directives.module.mjs +0 -84
- package/esm2020/common/shared.module.mjs +0 -68
- package/esm2020/dropdowns.module.mjs +0 -87
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +0 -17609
- /package/{esm2020 → esm2022}/comboboxes/combobox-column/util.mjs +0 -0
- /package/{esm2020 → esm2022}/common/constants/error-messages.mjs +0 -0
- /package/{esm2020 → esm2022}/common/disabled-items/item-disabled.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filtering/filter-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/checkboxes-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/direction.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/list-type.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/page-change-event.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/popup-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
- /package/{esm2020 → esm2022}/common/models/virtualization-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/navigation/navigation-action.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdowntrees/checked-state/checkable-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdowntrees/checked-state/checked-item.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdowntrees/lookup/lookup.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-dropdowns.mjs +0 -0
|
@@ -636,5 +636,5 @@ export declare class DropDownTreeComponent implements OnInit, OnDestroy, OnChang
|
|
|
636
636
|
private closeActionSheet;
|
|
637
637
|
private openActionSheet;
|
|
638
638
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreeComponent, never>;
|
|
639
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownTreeComponent, "kendo-dropdowntree", ["kendoDropDownTree"], { "icon": "icon"; "svgIcon": "svgIcon"; "loading": "loading"; "clearButton": "clearButton"; "data": "data"; "value": "value"; "textField": "textField"; "valueField": "valueField"; "valueDepth": "valueDepth"; "hasChildren": "hasChildren"; "fetchChildren": "fetchChildren"; "placeholder": "placeholder"; "popupSettings": "popupSettings"; "dataItem": "dataItem"; "listHeight": "listHeight"; "disabled": "disabled"; "readonly": "readonly"; "valuePrimitive": "valuePrimitive"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "itemDisabled": "itemDisabled"; "isNodeExpanded": "isNodeExpanded"; "isNodeVisible": "isNodeVisible"; "loadOnDemand": "loadOnDemand"; "filterable": "filterable"; "filter": "filter"; "focusableId": "focusableId"; "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; }, { "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; "filterChange": "filterChange"; }, ["noDataTemplate", "headerTemplate", "footerTemplate", "nodeTemplate", "valueTemplate"], never, true, never>;
|
|
639
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownTreeComponent, "kendo-dropdowntree", ["kendoDropDownTree"], { "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "valueDepth": { "alias": "valueDepth"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "fetchChildren": { "alias": "fetchChildren"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "isNodeExpanded": { "alias": "isNodeExpanded"; "required": false; }; "isNodeVisible": { "alias": "isNodeVisible"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "focusableId": { "alias": "focusableId"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, { "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; "filterChange": "filterChange"; }, ["noDataTemplate", "headerTemplate", "footerTemplate", "nodeTemplate", "valueTemplate"], never, true, never>;
|
|
640
640
|
}
|
|
@@ -18,5 +18,5 @@ export declare class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
18
18
|
set isExpanded(value: (item: object, index: string) => boolean);
|
|
19
19
|
constructor(dropDownTree: ExpandableComponent);
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownTreesExpandDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreesExpandDirective, "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", never, { "isExpanded": "isNodeExpanded"; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropDownTreesExpandDirective, "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", never, { "isExpanded": { "alias": "isNodeExpanded"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -708,5 +708,5 @@ export declare class MultiSelectTreeComponent implements OnInit, OnDestroy, OnCh
|
|
|
708
708
|
private closeActionSheet;
|
|
709
709
|
private openActionSheet;
|
|
710
710
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectTreeComponent, never>;
|
|
711
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectTreeComponent, "kendo-multiselecttree", ["kendoMultiSelectTree"], { "adaptiveMode": "adaptiveMode"; "title": "title"; "subtitle": "subtitle"; "tabindex": "tabindex"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "popupSettings": "popupSettings"; "checkableSettings": "checkableSettings"; "data": "data"; "value": "value"; "dataItems": "dataItems"; "textField": "textField"; "valueField": "valueField"; "valueDepth": "valueDepth"; "loading": "loading"; "placeholder": "placeholder"; "listHeight": "listHeight"; "disabled": "disabled"; "readonly": "readonly"; "valuePrimitive": "valuePrimitive"; "loadOnDemand": "loadOnDemand"; "focusableId": "focusableId"; "clearButton": "clearButton"; "filterable": "filterable"; "checkAll": "checkAll"; "hasChildren": "hasChildren"; "fetchChildren": "fetchChildren"; "isNodeExpanded": "isNodeExpanded"; "isNodeVisible": "isNodeVisible"; "itemDisabled": "itemDisabled"; "tagMapper": "tagMapper"; }, { "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "valueChange": "valueChange"; "removeTag": "removeTag"; "filterChange": "filterChange"; }, ["headerTemplate", "footerTemplate", "nodeTemplate", "noDataTemplate", "tagTemplate", "groupTagTemplate"], never, true, never>;
|
|
711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectTreeComponent, "kendo-multiselecttree", ["kendoMultiSelectTree"], { "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "checkableSettings": { "alias": "checkableSettings"; "required": false; }; "data": { "alias": "data"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dataItems": { "alias": "dataItems"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "valueDepth": { "alias": "valueDepth"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "loadOnDemand": { "alias": "loadOnDemand"; "required": false; }; "focusableId": { "alias": "focusableId"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "checkAll": { "alias": "checkAll"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "fetchChildren": { "alias": "fetchChildren"; "required": false; }; "isNodeExpanded": { "alias": "isNodeExpanded"; "required": false; }; "isNodeVisible": { "alias": "isNodeVisible"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; "tagMapper": { "alias": "tagMapper"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "opened": "opened"; "close": "close"; "closed": "closed"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "valueChange": "valueChange"; "removeTag": "removeTag"; "filterChange": "filterChange"; }, ["headerTemplate", "footerTemplate", "nodeTemplate", "noDataTemplate", "tagTemplate", "groupTagTemplate"], never, true, never>;
|
|
712
712
|
}
|
|
@@ -30,5 +30,5 @@ export declare class MultiSelectTreeSummaryTagDirective implements OnChanges {
|
|
|
30
30
|
ngOnChanges(changes: any): void;
|
|
31
31
|
private createTagMapper;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectTreeSummaryTagDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeSummaryTagDirective, "[kendoMultiSelectTreeSummaryTag]", never, { "showAfter": "kendoMultiSelectTreeSummaryTag"; }, {}, never, never, true, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiSelectTreeSummaryTagDirective, "[kendoMultiSelectTreeSummaryTag]", never, { "showAfter": { "alias": "kendoMultiSelectTreeSummaryTag"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
@@ -74,156 +74,29 @@ export const AUTOCOMPLETE_VALUE_ACCESSOR = {
|
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
76
|
export class AutoCompleteComponent {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
*/
|
|
101
|
-
this.highlightFirst = true;
|
|
102
|
-
/**
|
|
103
|
-
* Shows or hides the current group sticky header when using grouped data.
|
|
104
|
-
* By default the sticky header is displayed ([see example]({% slug grouping_autocomplete %}#toc-sticky-header)).
|
|
105
|
-
*/
|
|
106
|
-
this.showStickyHeader = true;
|
|
107
|
-
/**
|
|
108
|
-
* @hidden
|
|
109
|
-
*/
|
|
110
|
-
this.focusableId = `k-${guid()}`;
|
|
111
|
-
/**
|
|
112
|
-
* The hint which is displayed when the component is empty.
|
|
113
|
-
*/
|
|
114
|
-
this.placeholder = "";
|
|
115
|
-
/**
|
|
116
|
-
* Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
|
|
117
|
-
*/
|
|
118
|
-
this.adaptiveMode = 'none';
|
|
119
|
-
/**
|
|
120
|
-
* Sets the title of the ActionSheet that is rendered instead of the Popup when using small screen devices.
|
|
121
|
-
* By default the ActionSheet title uses the text provided for the label of the AutoComplete.
|
|
122
|
-
*/
|
|
123
|
-
this.title = '';
|
|
124
|
-
this._listHeight = 200;
|
|
125
|
-
/**
|
|
126
|
-
* @hidden
|
|
127
|
-
*
|
|
128
|
-
* If set to `true`, renders a button on hovering over the component.
|
|
129
|
-
* Clicking this button resets the value of the component to `undefined` and triggers the `change` event.
|
|
130
|
-
*/
|
|
131
|
-
this.clearButton = true;
|
|
132
|
-
/**
|
|
133
|
-
* Sets the disabled state of the component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_autocomplete#toc-managing-the-autocomplete-disabled-state-in-reactive-forms).
|
|
134
|
-
*/
|
|
135
|
-
this.disabled = false;
|
|
136
|
-
/**
|
|
137
|
-
* Sets the read-only state of the component.
|
|
138
|
-
*
|
|
139
|
-
* @default false
|
|
140
|
-
*/
|
|
141
|
-
this.readonly = false;
|
|
142
|
-
/**
|
|
143
|
-
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
144
|
-
*/
|
|
145
|
-
this.tabindex = 0;
|
|
146
|
-
/**
|
|
147
|
-
* Enables the [filtering]({% slug filtering_autocomplete %}) functionality.
|
|
148
|
-
* If set to `true`, the component emits the `filterChange` event.
|
|
149
|
-
*/
|
|
150
|
-
this.filterable = false;
|
|
151
|
-
/**
|
|
152
|
-
* Fires each time the value is changed—
|
|
153
|
-
* when the component is blurred or the value is cleared through the **Clear** button
|
|
154
|
-
* ([see example](slug:events_autocomplete)).
|
|
155
|
-
* When the value of the component is programmatically changed to `ngModel` or `formControl`
|
|
156
|
-
* through its API or form binding, the `valueChange` event is not triggered because it
|
|
157
|
-
* might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
158
|
-
*/
|
|
159
|
-
this.valueChange = new EventEmitter();
|
|
160
|
-
/**
|
|
161
|
-
* Fires each time the user types in the input field.
|
|
162
|
-
* You can filter the source based on the passed filtration value
|
|
163
|
-
* ([see example](slug:events_autocomplete)).
|
|
164
|
-
*/
|
|
165
|
-
this.filterChange = new EventEmitter();
|
|
166
|
-
/**
|
|
167
|
-
* Fires each time the popup is about to open.
|
|
168
|
-
* This event is preventable. If you cancel it, the popup will remain closed.
|
|
169
|
-
*/
|
|
170
|
-
this.open = new EventEmitter();
|
|
171
|
-
/**
|
|
172
|
-
* Fires after the popup has been opened.
|
|
173
|
-
*/
|
|
174
|
-
this.opened = new EventEmitter();
|
|
175
|
-
/**
|
|
176
|
-
* Fires each time the popup is about to close.
|
|
177
|
-
* This event is preventable. If you cancel it, the popup will remain open.
|
|
178
|
-
*/
|
|
179
|
-
this.close = new EventEmitter();
|
|
180
|
-
/**
|
|
181
|
-
* Fires after the popup has been closed.
|
|
182
|
-
*/
|
|
183
|
-
this.closed = new EventEmitter();
|
|
184
|
-
/**
|
|
185
|
-
* Fires each time the user focuses the AutoComplete.
|
|
186
|
-
*/
|
|
187
|
-
this.onFocus = new EventEmitter();
|
|
188
|
-
/**
|
|
189
|
-
* Fires each time the AutoComplete gets blurred.
|
|
190
|
-
*/
|
|
191
|
-
this.onBlur = new EventEmitter();
|
|
192
|
-
/**
|
|
193
|
-
* Fires each time the user focuses the `input` element.
|
|
194
|
-
*/
|
|
195
|
-
this.inputFocus = new EventEmitter();
|
|
196
|
-
/**
|
|
197
|
-
* Fires each time the `input` element gets blurred.
|
|
198
|
-
*/
|
|
199
|
-
this.inputBlur = new EventEmitter();
|
|
200
|
-
this.widgetClasses = true;
|
|
201
|
-
this.listBoxId = `k-${guid()}`;
|
|
202
|
-
this.optionPrefix = `k-${guid()}`;
|
|
203
|
-
/**
|
|
204
|
-
* @hidden
|
|
205
|
-
*/
|
|
206
|
-
this.windowSize = 'large';
|
|
207
|
-
this.onChangeCallback = noop;
|
|
208
|
-
this.onTouchedCallback = noop;
|
|
209
|
-
this.popupMouseDownHandler = (event) => event.preventDefault();
|
|
210
|
-
this._popupSettings = { animate: true };
|
|
211
|
-
this._open = false;
|
|
212
|
-
this._value = "";
|
|
213
|
-
this.subs = new Subscription();
|
|
214
|
-
this.valueChangeSubject = new Subject();
|
|
215
|
-
this._isFocused = false;
|
|
216
|
-
this._size = 'medium';
|
|
217
|
-
this._rounded = 'medium';
|
|
218
|
-
this._fillMode = 'solid';
|
|
219
|
-
validatePackage(packageMetadata);
|
|
220
|
-
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
221
|
-
this.wrapper = this.hostElement.nativeElement;
|
|
222
|
-
this.data = [];
|
|
223
|
-
this.subscribeEvents();
|
|
224
|
-
this.subscribeTouchEvents();
|
|
225
|
-
this.selectionService.resetSelection([-1]);
|
|
226
|
-
}
|
|
77
|
+
localization;
|
|
78
|
+
dataService;
|
|
79
|
+
popupService;
|
|
80
|
+
selectionService;
|
|
81
|
+
navigationService;
|
|
82
|
+
disabledItemsService;
|
|
83
|
+
_zone;
|
|
84
|
+
cdr;
|
|
85
|
+
renderer;
|
|
86
|
+
hostElement;
|
|
87
|
+
injector;
|
|
88
|
+
/**
|
|
89
|
+
* @hidden
|
|
90
|
+
*/
|
|
91
|
+
animationDuration = animationDuration;
|
|
92
|
+
/**
|
|
93
|
+
* @hidden
|
|
94
|
+
*/
|
|
95
|
+
xIcon = xIcon;
|
|
96
|
+
/**
|
|
97
|
+
* @hidden
|
|
98
|
+
*/
|
|
99
|
+
responsiveRendererComponent;
|
|
227
100
|
/**
|
|
228
101
|
* @hidden
|
|
229
102
|
*/
|
|
@@ -289,6 +162,7 @@ export class AutoCompleteComponent {
|
|
|
289
162
|
get isControlRequired() {
|
|
290
163
|
return isControlRequired(this.formControl);
|
|
291
164
|
}
|
|
165
|
+
dataItem;
|
|
292
166
|
/**
|
|
293
167
|
* Toggles the visibility of the popup or actionSheet.
|
|
294
168
|
* If you use the `toggle` method to open or close the popup or actionSheet, the `open` and `close` events will not be fired.
|
|
@@ -336,6 +210,20 @@ export class AutoCompleteComponent {
|
|
|
336
210
|
}
|
|
337
211
|
return this.optionPrefix + "-" + this.selectionService.focused;
|
|
338
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Defines whether the first match from the suggestions list will be automatically focused.
|
|
215
|
+
* By default, `highlightFirst` is set to `true`.
|
|
216
|
+
*/
|
|
217
|
+
highlightFirst = true;
|
|
218
|
+
/**
|
|
219
|
+
* Shows or hides the current group sticky header when using grouped data.
|
|
220
|
+
* By default the sticky header is displayed ([see example]({% slug grouping_autocomplete %}#toc-sticky-header)).
|
|
221
|
+
*/
|
|
222
|
+
showStickyHeader = true;
|
|
223
|
+
/**
|
|
224
|
+
* @hidden
|
|
225
|
+
*/
|
|
226
|
+
focusableId = `k-${guid()}`;
|
|
339
227
|
/**
|
|
340
228
|
* Sets the data of the AutoComplete.
|
|
341
229
|
*
|
|
@@ -376,6 +264,26 @@ export class AutoCompleteComponent {
|
|
|
376
264
|
get value() {
|
|
377
265
|
return this._value || NO_VALUE;
|
|
378
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Specifies the `string` property of the data item that represents the item value.
|
|
269
|
+
* If the data contains only primitive values, do not define it.
|
|
270
|
+
*
|
|
271
|
+
* > The `valueField` property can be set to point to a nested property value - e.g. `category.name`.
|
|
272
|
+
*/
|
|
273
|
+
valueField;
|
|
274
|
+
/**
|
|
275
|
+
* The hint which is displayed when the component is empty.
|
|
276
|
+
*/
|
|
277
|
+
placeholder = "";
|
|
278
|
+
/**
|
|
279
|
+
* Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
|
|
280
|
+
*/
|
|
281
|
+
adaptiveMode = 'none';
|
|
282
|
+
/**
|
|
283
|
+
* Sets the title of the ActionSheet that is rendered instead of the Popup when using small screen devices.
|
|
284
|
+
* By default the ActionSheet title uses the text provided for the label of the AutoComplete.
|
|
285
|
+
*/
|
|
286
|
+
title = '';
|
|
379
287
|
/**
|
|
380
288
|
* Sets the subtitle of the ActionSheet that is rendered instead of the Popup when using small screen devices.
|
|
381
289
|
* By default the ActionSheet subtitle uses the text provided for the `placeholder` of the AutoComplete.
|
|
@@ -425,6 +333,26 @@ export class AutoCompleteComponent {
|
|
|
425
333
|
}
|
|
426
334
|
return this._listHeight;
|
|
427
335
|
}
|
|
336
|
+
_listHeight = 200;
|
|
337
|
+
/**
|
|
338
|
+
* Sets and gets the loading state of the AutoComplete.
|
|
339
|
+
*/
|
|
340
|
+
loading;
|
|
341
|
+
/**
|
|
342
|
+
* @hidden
|
|
343
|
+
*
|
|
344
|
+
* If set to `true`, renders a button on hovering over the component.
|
|
345
|
+
* Clicking this button resets the value of the component to `undefined` and triggers the `change` event.
|
|
346
|
+
*/
|
|
347
|
+
clearButton = true;
|
|
348
|
+
/**
|
|
349
|
+
* Enables the auto-completion of the text based on the first data item.
|
|
350
|
+
*/
|
|
351
|
+
suggest;
|
|
352
|
+
/**
|
|
353
|
+
* Sets the disabled state of the component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_autocomplete#toc-managing-the-autocomplete-disabled-state-in-reactive-forms).
|
|
354
|
+
*/
|
|
355
|
+
disabled = false;
|
|
428
356
|
/**
|
|
429
357
|
* Defines a Boolean function that is executed for each data item in the component
|
|
430
358
|
* ([see examples]({% slug disableditems_autocomplete %})).
|
|
@@ -436,6 +364,16 @@ export class AutoCompleteComponent {
|
|
|
436
364
|
}
|
|
437
365
|
this.disabledItemsService.itemDisabled = fn;
|
|
438
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Sets the read-only state of the component.
|
|
369
|
+
*
|
|
370
|
+
* @default false
|
|
371
|
+
*/
|
|
372
|
+
readonly = false;
|
|
373
|
+
/**
|
|
374
|
+
* Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
375
|
+
*/
|
|
376
|
+
tabindex = 0;
|
|
439
377
|
/**
|
|
440
378
|
* @hidden
|
|
441
379
|
*/
|
|
@@ -445,6 +383,11 @@ export class AutoCompleteComponent {
|
|
|
445
383
|
get tabIndex() {
|
|
446
384
|
return this.tabindex;
|
|
447
385
|
}
|
|
386
|
+
/**
|
|
387
|
+
* Enables the [filtering]({% slug filtering_autocomplete %}) functionality.
|
|
388
|
+
* If set to `true`, the component emits the `filterChange` event.
|
|
389
|
+
*/
|
|
390
|
+
filterable = false;
|
|
448
391
|
/**
|
|
449
392
|
* Enables the [virtualization]({% slug virtualization_autocomplete %}) functionality.
|
|
450
393
|
*/
|
|
@@ -518,6 +461,78 @@ export class AutoCompleteComponent {
|
|
|
518
461
|
get fillMode() {
|
|
519
462
|
return this._fillMode;
|
|
520
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
|
|
466
|
+
*/
|
|
467
|
+
inputAttributes;
|
|
468
|
+
/**
|
|
469
|
+
* Fires each time the value is changed—
|
|
470
|
+
* when the component is blurred or the value is cleared through the **Clear** button
|
|
471
|
+
* ([see example](slug:events_autocomplete)).
|
|
472
|
+
* When the value of the component is programmatically changed to `ngModel` or `formControl`
|
|
473
|
+
* through its API or form binding, the `valueChange` event is not triggered because it
|
|
474
|
+
* might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
475
|
+
*/
|
|
476
|
+
valueChange = new EventEmitter();
|
|
477
|
+
/**
|
|
478
|
+
* Fires each time the user types in the input field.
|
|
479
|
+
* You can filter the source based on the passed filtration value
|
|
480
|
+
* ([see example](slug:events_autocomplete)).
|
|
481
|
+
*/
|
|
482
|
+
filterChange = new EventEmitter();
|
|
483
|
+
/**
|
|
484
|
+
* Fires each time the popup is about to open.
|
|
485
|
+
* This event is preventable. If you cancel it, the popup will remain closed.
|
|
486
|
+
*/
|
|
487
|
+
open = new EventEmitter();
|
|
488
|
+
/**
|
|
489
|
+
* Fires after the popup has been opened.
|
|
490
|
+
*/
|
|
491
|
+
opened = new EventEmitter();
|
|
492
|
+
/**
|
|
493
|
+
* Fires each time the popup is about to close.
|
|
494
|
+
* This event is preventable. If you cancel it, the popup will remain open.
|
|
495
|
+
*/
|
|
496
|
+
close = new EventEmitter();
|
|
497
|
+
/**
|
|
498
|
+
* Fires after the popup has been closed.
|
|
499
|
+
*/
|
|
500
|
+
closed = new EventEmitter();
|
|
501
|
+
/**
|
|
502
|
+
* Fires each time the user focuses the AutoComplete.
|
|
503
|
+
*/
|
|
504
|
+
onFocus = new EventEmitter();
|
|
505
|
+
/**
|
|
506
|
+
* Fires each time the AutoComplete gets blurred.
|
|
507
|
+
*/
|
|
508
|
+
onBlur = new EventEmitter();
|
|
509
|
+
/**
|
|
510
|
+
* Fires each time the user focuses the `input` element.
|
|
511
|
+
*/
|
|
512
|
+
inputFocus = new EventEmitter();
|
|
513
|
+
/**
|
|
514
|
+
* Fires each time the `input` element gets blurred.
|
|
515
|
+
*/
|
|
516
|
+
inputBlur = new EventEmitter();
|
|
517
|
+
template;
|
|
518
|
+
headerTemplate;
|
|
519
|
+
footerTemplate;
|
|
520
|
+
noDataTemplate;
|
|
521
|
+
groupTemplate;
|
|
522
|
+
fixedGroupTemplate;
|
|
523
|
+
/**
|
|
524
|
+
* @hidden
|
|
525
|
+
*/
|
|
526
|
+
suffixTemplate;
|
|
527
|
+
/**
|
|
528
|
+
* @hidden
|
|
529
|
+
*/
|
|
530
|
+
prefixTemplate;
|
|
531
|
+
container;
|
|
532
|
+
popupTemplate;
|
|
533
|
+
searchbar;
|
|
534
|
+
optionsList;
|
|
535
|
+
widgetClasses = true;
|
|
521
536
|
get isFocused() {
|
|
522
537
|
return this._isFocused;
|
|
523
538
|
}
|
|
@@ -534,6 +549,14 @@ export class AutoCompleteComponent {
|
|
|
534
549
|
get dir() {
|
|
535
550
|
return this.direction;
|
|
536
551
|
}
|
|
552
|
+
text;
|
|
553
|
+
listBoxId = `k-${guid()}`;
|
|
554
|
+
optionPrefix = `k-${guid()}`;
|
|
555
|
+
popupRef;
|
|
556
|
+
/**
|
|
557
|
+
* @hidden
|
|
558
|
+
*/
|
|
559
|
+
windowSize = 'large';
|
|
537
560
|
/**
|
|
538
561
|
* @hidden
|
|
539
562
|
*/
|
|
@@ -553,6 +576,28 @@ export class AutoCompleteComponent {
|
|
|
553
576
|
const ngControl = this.injector.get(NgControl, null);
|
|
554
577
|
return ngControl?.control || null;
|
|
555
578
|
}
|
|
579
|
+
onChangeCallback = noop;
|
|
580
|
+
onTouchedCallback = noop;
|
|
581
|
+
constructor(localization, dataService, popupService, selectionService, navigationService, disabledItemsService, _zone, cdr, renderer, hostElement, injector) {
|
|
582
|
+
this.localization = localization;
|
|
583
|
+
this.dataService = dataService;
|
|
584
|
+
this.popupService = popupService;
|
|
585
|
+
this.selectionService = selectionService;
|
|
586
|
+
this.navigationService = navigationService;
|
|
587
|
+
this.disabledItemsService = disabledItemsService;
|
|
588
|
+
this._zone = _zone;
|
|
589
|
+
this.cdr = cdr;
|
|
590
|
+
this.renderer = renderer;
|
|
591
|
+
this.hostElement = hostElement;
|
|
592
|
+
this.injector = injector;
|
|
593
|
+
validatePackage(packageMetadata);
|
|
594
|
+
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
595
|
+
this.wrapper = this.hostElement.nativeElement;
|
|
596
|
+
this.data = [];
|
|
597
|
+
this.subscribeEvents();
|
|
598
|
+
this.subscribeTouchEvents();
|
|
599
|
+
this.selectionService.resetSelection([-1]);
|
|
600
|
+
}
|
|
556
601
|
ngOnInit() {
|
|
557
602
|
this.renderer.removeAttribute(this.wrapper, "tabindex");
|
|
558
603
|
this.subs.add(this.localization
|
|
@@ -920,6 +965,23 @@ export class AutoCompleteComponent {
|
|
|
920
965
|
this.togglePopup(false);
|
|
921
966
|
this.valueChangeSubject.next(value);
|
|
922
967
|
}
|
|
968
|
+
popupMouseDownHandler = (event) => event.preventDefault();
|
|
969
|
+
_popupSettings = { animate: true };
|
|
970
|
+
_virtualSettings;
|
|
971
|
+
_open = false;
|
|
972
|
+
_value = "";
|
|
973
|
+
suggestedText;
|
|
974
|
+
backspacePressed;
|
|
975
|
+
subs = new Subscription();
|
|
976
|
+
valueChangeSubject = new Subject();
|
|
977
|
+
touchstartDisposeHandler;
|
|
978
|
+
_subtitle;
|
|
979
|
+
wrapper;
|
|
980
|
+
_isFocused = false;
|
|
981
|
+
direction;
|
|
982
|
+
_size = 'medium';
|
|
983
|
+
_rounded = 'medium';
|
|
984
|
+
_fillMode = 'solid';
|
|
923
985
|
subscribeEvents() {
|
|
924
986
|
if (!isDocumentAvailable()) {
|
|
925
987
|
return;
|
|
@@ -1120,28 +1182,27 @@ export class AutoCompleteComponent {
|
|
|
1120
1182
|
this.selectionService.focus(this.selectionService.focused);
|
|
1121
1183
|
this.actionSheetSearchBar.focus();
|
|
1122
1184
|
}
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
}
|
|
1144
|
-
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
1185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: i2.DataService }, { token: i3.PopupService }, { token: i4.SelectionService }, { token: i5.NavigationService }, { token: i6.DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
1187
|
+
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
1188
|
+
DataService,
|
|
1189
|
+
SelectionService,
|
|
1190
|
+
NavigationService,
|
|
1191
|
+
DisabledItemsService,
|
|
1192
|
+
LocalizationService,
|
|
1193
|
+
{
|
|
1194
|
+
provide: L10N_PREFIX,
|
|
1195
|
+
useValue: 'kendo.autocomplete'
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
provide: FilterableComponent,
|
|
1199
|
+
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
provide: KendoInput,
|
|
1203
|
+
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
1204
|
+
}
|
|
1205
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
1145
1206
|
<ng-container kendoAutoCompleteLocalizedMessages
|
|
1146
1207
|
i18n-noDataText="kendo.autocomplete.noDataText|The text displayed in the popup when there are no items"
|
|
1147
1208
|
noDataText="NO DATA FOUND"
|
|
@@ -1279,7 +1340,8 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1279
1340
|
</ng-template>
|
|
1280
1341
|
</ng-template>
|
|
1281
1342
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "isFilterable", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
1282
|
-
|
|
1343
|
+
}
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
1283
1345
|
type: Component,
|
|
1284
1346
|
args: [{
|
|
1285
1347
|
exportAs: 'kendoAutoComplete',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
6
|
import { KENDO_AUTOCOMPLETE } from '../directives';
|
|
7
|
-
import {
|
|
7
|
+
import { KENDO_ADORNMENTS, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
8
|
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
9
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -37,19 +37,19 @@ import * as i10 from "@progress/kendo-angular-common";
|
|
|
37
37
|
* - `PrefixTemplateDirective`—The prefix template directive.
|
|
38
38
|
*/
|
|
39
39
|
export class AutoCompleteModule {
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, imports: [i1.AutoCompleteComponent, i2.FixedGroupTemplateDirective, i3.FooterTemplateDirective, i4.GroupTemplateDirective, i5.HeaderTemplateDirective, i6.ItemTemplateDirective, i7.NoDataTemplateDirective, i8.FilterDirective, i9.CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent], exports: [i1.AutoCompleteComponent, i2.FixedGroupTemplateDirective, i3.FooterTemplateDirective, i4.GroupTemplateDirective, i5.HeaderTemplateDirective, i6.ItemTemplateDirective, i7.NoDataTemplateDirective, i8.FilterDirective, i9.CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent] });
|
|
42
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, providers: [
|
|
43
|
+
PopupService,
|
|
44
|
+
ResizeBatchService,
|
|
45
|
+
IconsService
|
|
46
|
+
], imports: [i1.AutoCompleteComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
40
47
|
}
|
|
41
|
-
|
|
42
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, imports: [i1.AutoCompleteComponent, i2.FixedGroupTemplateDirective, i3.FooterTemplateDirective, i4.GroupTemplateDirective, i5.HeaderTemplateDirective, i6.ItemTemplateDirective, i7.NoDataTemplateDirective, i8.FilterDirective, i9.CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent], exports: [i1.AutoCompleteComponent, i2.FixedGroupTemplateDirective, i3.FooterTemplateDirective, i4.GroupTemplateDirective, i5.HeaderTemplateDirective, i6.ItemTemplateDirective, i7.NoDataTemplateDirective, i8.FilterDirective, i9.CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, AdornmentsModule] });
|
|
43
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, providers: [
|
|
44
|
-
PopupService,
|
|
45
|
-
ResizeBatchService,
|
|
46
|
-
IconsService
|
|
47
|
-
], imports: [i1.AutoCompleteComponent, i9.CustomMessagesComponent, i10.SeparatorComponent, AdornmentsModule] });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
49
49
|
type: NgModule,
|
|
50
50
|
args: [{
|
|
51
|
-
imports: [...KENDO_AUTOCOMPLETE],
|
|
52
|
-
exports: [...KENDO_AUTOCOMPLETE,
|
|
51
|
+
imports: [...KENDO_AUTOCOMPLETE, ...KENDO_ADORNMENTS],
|
|
52
|
+
exports: [...KENDO_AUTOCOMPLETE, ...KENDO_ADORNMENTS],
|
|
53
53
|
providers: [
|
|
54
54
|
PopupService,
|
|
55
55
|
ResizeBatchService,
|
|
@@ -15,13 +15,14 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* - `let-column="column"` ([`ColumnComponent`]({% slug api_dropdowns_comboboxcolumncomponent %})) - The current column configuration obejct.
|
|
16
16
|
*/
|
|
17
17
|
export class ColumnCellTemplateDirective {
|
|
18
|
+
templateRef;
|
|
18
19
|
constructor(templateRef) {
|
|
19
20
|
this.templateRef = templateRef;
|
|
20
21
|
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnCellTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnCellTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
25
26
|
type: Directive,
|
|
26
27
|
args: [{
|
|
27
28
|
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]',
|