@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
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The text displayed in the popup when there are no items.
|
|
14
|
+
*/
|
|
15
|
+
noDataText;
|
|
16
|
+
/**
|
|
17
|
+
* The title of the clear button.
|
|
18
|
+
*/
|
|
19
|
+
clearTitle;
|
|
20
|
+
/**
|
|
21
|
+
* The text displayed for the check-all checkbox.
|
|
22
|
+
*/
|
|
23
|
+
checkAllText;
|
|
24
|
+
/**
|
|
25
|
+
* The text set as aria-label on the select button.
|
|
26
|
+
*/
|
|
27
|
+
selectButtonText;
|
|
28
|
+
/**
|
|
29
|
+
* The text set as aria-label on the list filter input.
|
|
30
|
+
*/
|
|
31
|
+
filterInputLabel;
|
|
32
|
+
/**
|
|
33
|
+
* The text set as aria-label on the popup containing the list of options when its role is `region`.
|
|
34
|
+
*/
|
|
35
|
+
popupLabel;
|
|
36
|
+
/**
|
|
37
|
+
* The text of the Apply button in the MultiSelect action sheet.
|
|
38
|
+
*/
|
|
39
|
+
applyButton;
|
|
40
|
+
/**
|
|
41
|
+
* The text of the Cancel button in the MultiSelect action sheet.
|
|
42
|
+
*/
|
|
43
|
+
cancelButton;
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText", filterInputLabel: "filterInputLabel", popupLabel: "popupLabel", applyButton: "applyButton", cancelButton: "cancelButton" }, usesInheritance: true, ngImport: i0 });
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
|
|
48
|
+
type: Directive
|
|
49
|
+
}], propDecorators: { noDataText: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], clearTitle: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], checkAllText: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], selectButtonText: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], filterInputLabel: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], popupLabel: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], applyButton: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], cancelButton: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}] } });
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
8
8
|
export class PreventableEvent {
|
|
9
|
-
|
|
10
|
-
this.prevented = false;
|
|
11
|
-
}
|
|
9
|
+
prevented = false;
|
|
12
10
|
/**
|
|
13
11
|
* Prevents the default action for a specified event.
|
|
14
12
|
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
@@ -8,6 +8,10 @@ import { PreventableEvent } from './preventable-event';
|
|
|
8
8
|
* to the removed. If you cancel the event, the removal is prevented.
|
|
9
9
|
*/
|
|
10
10
|
export class RemoveTagEvent extends PreventableEvent {
|
|
11
|
+
/**
|
|
12
|
+
* The data item or an array of data items that will be removed.
|
|
13
|
+
*/
|
|
14
|
+
dataItem;
|
|
11
15
|
/**
|
|
12
16
|
* Constructs the event arguments for the `remove` event.
|
|
13
17
|
* @param dataItem - The data item or an array of data items that will be removed.
|
|
@@ -16,6 +16,8 @@ const MIN_INDEX = 0;
|
|
|
16
16
|
* @hidden
|
|
17
17
|
*/
|
|
18
18
|
export class NavigationEvent {
|
|
19
|
+
index;
|
|
20
|
+
originalEvent;
|
|
19
21
|
/**
|
|
20
22
|
* The index of the item to which the user navigated.
|
|
21
23
|
*/
|
|
@@ -28,29 +30,31 @@ export class NavigationEvent {
|
|
|
28
30
|
* @hidden
|
|
29
31
|
*/
|
|
30
32
|
export class NavigationService {
|
|
33
|
+
disabledItemsService;
|
|
34
|
+
selectionService;
|
|
35
|
+
open = new EventEmitter();
|
|
36
|
+
close = new EventEmitter();
|
|
37
|
+
enter = new EventEmitter();
|
|
38
|
+
tab = new EventEmitter();
|
|
39
|
+
esc = new EventEmitter();
|
|
40
|
+
up = new EventEmitter();
|
|
41
|
+
right = new EventEmitter();
|
|
42
|
+
down = new EventEmitter();
|
|
43
|
+
left = new EventEmitter();
|
|
44
|
+
delete = new EventEmitter();
|
|
45
|
+
backspace = new EventEmitter();
|
|
46
|
+
home = new EventEmitter();
|
|
47
|
+
end = new EventEmitter();
|
|
48
|
+
pagedown = new EventEmitter();
|
|
49
|
+
pageup = new EventEmitter();
|
|
50
|
+
selectnext = new EventEmitter();
|
|
51
|
+
selectprevious = new EventEmitter();
|
|
52
|
+
selectall = new EventEmitter();
|
|
53
|
+
selectalltobeginning = new EventEmitter();
|
|
54
|
+
selectalltoend = new EventEmitter();
|
|
31
55
|
constructor(disabledItemsService, selectionService) {
|
|
32
56
|
this.disabledItemsService = disabledItemsService;
|
|
33
57
|
this.selectionService = selectionService;
|
|
34
|
-
this.open = new EventEmitter();
|
|
35
|
-
this.close = new EventEmitter();
|
|
36
|
-
this.enter = new EventEmitter();
|
|
37
|
-
this.tab = new EventEmitter();
|
|
38
|
-
this.esc = new EventEmitter();
|
|
39
|
-
this.up = new EventEmitter();
|
|
40
|
-
this.right = new EventEmitter();
|
|
41
|
-
this.down = new EventEmitter();
|
|
42
|
-
this.left = new EventEmitter();
|
|
43
|
-
this.delete = new EventEmitter();
|
|
44
|
-
this.backspace = new EventEmitter();
|
|
45
|
-
this.home = new EventEmitter();
|
|
46
|
-
this.end = new EventEmitter();
|
|
47
|
-
this.pagedown = new EventEmitter();
|
|
48
|
-
this.pageup = new EventEmitter();
|
|
49
|
-
this.selectnext = new EventEmitter();
|
|
50
|
-
this.selectprevious = new EventEmitter();
|
|
51
|
-
this.selectall = new EventEmitter();
|
|
52
|
-
this.selectalltobeginning = new EventEmitter();
|
|
53
|
-
this.selectalltoend = new EventEmitter();
|
|
54
58
|
}
|
|
55
59
|
process(args) {
|
|
56
60
|
const keyCode = args.originalEvent.keyCode;
|
|
@@ -175,9 +179,9 @@ export class NavigationService {
|
|
|
175
179
|
return this.disabledItemsService.isIndexDisabled(index);
|
|
176
180
|
}
|
|
177
181
|
}
|
|
182
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i1.DisabledItemsService }, { token: i2.SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
183
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService });
|
|
178
184
|
}
|
|
179
|
-
|
|
180
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService });
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, decorators: [{
|
|
182
186
|
type: Injectable
|
|
183
187
|
}], ctorParameters: function () { return [{ type: i1.DisabledItemsService }, { type: i2.SelectionService }]; } });
|
|
@@ -14,31 +14,12 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
16
|
export class SearchBarComponent {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
this.role = 'combobox';
|
|
24
|
-
this.valueChange = new EventEmitter();
|
|
25
|
-
this.onBlur = new EventEmitter();
|
|
26
|
-
this.onFocus = new EventEmitter();
|
|
27
|
-
this.onClick = new EventEmitter();
|
|
28
|
-
this.onNavigate = new EventEmitter();
|
|
29
|
-
this._userInput = "";
|
|
30
|
-
this._previousValue = "";
|
|
31
|
-
this._placeholder = "";
|
|
32
|
-
this._isSuggestable = false;
|
|
33
|
-
this._isFilterable = false;
|
|
34
|
-
this.subs = new Subscription();
|
|
35
|
-
this.parsedAttributes = {};
|
|
36
|
-
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
37
|
-
this.renderer = renderer;
|
|
38
|
-
this.renderer.addClass(this.input.nativeElement, 'k-input-inner');
|
|
39
|
-
this.renderer.setAttribute(this.input.nativeElement, 'aria-haspopup', 'listbox');
|
|
40
|
-
this.renderer.setAttribute(this.input.nativeElement, 'autocomplete', 'off');
|
|
41
|
-
}
|
|
17
|
+
localization;
|
|
18
|
+
injector;
|
|
19
|
+
input;
|
|
20
|
+
ngZone;
|
|
21
|
+
direction;
|
|
22
|
+
tagListId;
|
|
42
23
|
set readonly(readonly) {
|
|
43
24
|
this._readonly = readonly;
|
|
44
25
|
if (this._readonly) {
|
|
@@ -102,6 +83,7 @@ export class SearchBarComponent {
|
|
|
102
83
|
const ngControl = this.injector.get(NgControl, null);
|
|
103
84
|
return ngControl?.control || null;
|
|
104
85
|
}
|
|
86
|
+
suggestedText;
|
|
105
87
|
/**
|
|
106
88
|
* @hidden
|
|
107
89
|
*/
|
|
@@ -118,6 +100,12 @@ export class SearchBarComponent {
|
|
|
118
100
|
get inputAttributes() {
|
|
119
101
|
return this._inputAttributes;
|
|
120
102
|
}
|
|
103
|
+
id;
|
|
104
|
+
activeDescendant;
|
|
105
|
+
tabIndex;
|
|
106
|
+
isLoading;
|
|
107
|
+
ariaControls;
|
|
108
|
+
ariaExpanded = null;
|
|
121
109
|
get attrAriaInvalid() {
|
|
122
110
|
return this.formControl?.invalid;
|
|
123
111
|
}
|
|
@@ -128,12 +116,30 @@ export class SearchBarComponent {
|
|
|
128
116
|
get placeholder() {
|
|
129
117
|
return this._placeholder;
|
|
130
118
|
}
|
|
119
|
+
role = 'combobox';
|
|
131
120
|
get dir() {
|
|
132
121
|
return this.direction;
|
|
133
122
|
}
|
|
123
|
+
valueChange = new EventEmitter();
|
|
124
|
+
onBlur = new EventEmitter();
|
|
125
|
+
onFocus = new EventEmitter();
|
|
126
|
+
onClick = new EventEmitter();
|
|
127
|
+
onNavigate = new EventEmitter();
|
|
134
128
|
get value() {
|
|
135
129
|
return this.input.nativeElement.value;
|
|
136
130
|
}
|
|
131
|
+
_isRequired;
|
|
132
|
+
_readonly;
|
|
133
|
+
_disabled;
|
|
134
|
+
_userInput = "";
|
|
135
|
+
_previousValue = "";
|
|
136
|
+
_placeholder = "";
|
|
137
|
+
_isSuggestable = false;
|
|
138
|
+
_isFilterable = false;
|
|
139
|
+
renderer;
|
|
140
|
+
subs = new Subscription();
|
|
141
|
+
_inputAttributes;
|
|
142
|
+
parsedAttributes = {};
|
|
137
143
|
get defaultAttributes() {
|
|
138
144
|
return {
|
|
139
145
|
id: this.id,
|
|
@@ -159,6 +165,17 @@ export class SearchBarComponent {
|
|
|
159
165
|
'aria-describedby': this.tagListId
|
|
160
166
|
};
|
|
161
167
|
}
|
|
168
|
+
constructor(localization, renderer, injector, input, ngZone) {
|
|
169
|
+
this.localization = localization;
|
|
170
|
+
this.injector = injector;
|
|
171
|
+
this.input = input;
|
|
172
|
+
this.ngZone = ngZone;
|
|
173
|
+
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
174
|
+
this.renderer = renderer;
|
|
175
|
+
this.renderer.addClass(this.input.nativeElement, 'k-input-inner');
|
|
176
|
+
this.renderer.setAttribute(this.input.nativeElement, 'aria-haspopup', 'listbox');
|
|
177
|
+
this.renderer.setAttribute(this.input.nativeElement, 'autocomplete', 'off');
|
|
178
|
+
}
|
|
162
179
|
ngOnInit() {
|
|
163
180
|
this.subs.add(this.localization
|
|
164
181
|
.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
@@ -281,10 +298,10 @@ export class SearchBarComponent {
|
|
|
281
298
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
282
299
|
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
|
|
283
300
|
}
|
|
301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
302
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SearchBarComponent, isStandalone: true, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
284
303
|
}
|
|
285
|
-
|
|
286
|
-
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, isStandalone: true, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
288
305
|
type: Component,
|
|
289
306
|
args: [{
|
|
290
307
|
selector: 'input[kendoSearchbar]',
|
|
@@ -10,9 +10,13 @@ import * as i1 from "./selection.service";
|
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
export class SelectableDirective {
|
|
13
|
+
index;
|
|
14
|
+
checkboxes = { enabled: false };
|
|
15
|
+
height;
|
|
16
|
+
isMultiselect;
|
|
17
|
+
multipleSelection = false;
|
|
18
|
+
selectionService;
|
|
13
19
|
constructor(selectionService) {
|
|
14
|
-
this.checkboxes = { enabled: false };
|
|
15
|
-
this.multipleSelection = false;
|
|
16
20
|
this.selectionService = selectionService;
|
|
17
21
|
}
|
|
18
22
|
get focusedClassName() {
|
|
@@ -39,10 +43,10 @@ export class SelectableDirective {
|
|
|
39
43
|
this.selectionService.change(this.index);
|
|
40
44
|
}
|
|
41
45
|
}
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectableDirective, isStandalone: true, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", isMultiselect: "isMultiselect", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
42
48
|
}
|
|
43
|
-
|
|
44
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectableDirective, isStandalone: true, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", isMultiselect: "isMultiselect", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
46
50
|
type: Directive,
|
|
47
51
|
args: [{
|
|
48
52
|
selector: '[kendoDropDownsSelectable]',
|
|
@@ -11,15 +11,16 @@ import * as i1 from "../disabled-items/disabled-items.service";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class SelectionService {
|
|
14
|
+
disabledItemsService;
|
|
15
|
+
onSelect = new EventEmitter();
|
|
16
|
+
onChange = new EventEmitter();
|
|
17
|
+
onFocus = new EventEmitter();
|
|
18
|
+
total = 0;
|
|
19
|
+
lastClickedIndex;
|
|
20
|
+
selectedIndices = [];
|
|
21
|
+
focusedIndex;
|
|
14
22
|
constructor(disabledItemsService) {
|
|
15
23
|
this.disabledItemsService = disabledItemsService;
|
|
16
|
-
this.onSelect = new EventEmitter();
|
|
17
|
-
this.onChange = new EventEmitter();
|
|
18
|
-
this.onFocus = new EventEmitter();
|
|
19
|
-
this.total = 0;
|
|
20
|
-
this.selectedIndices = [];
|
|
21
|
-
this.indicesToBeRemoved = [];
|
|
22
|
-
this.indicesToBeAdded = [];
|
|
23
24
|
}
|
|
24
25
|
getTotal() {
|
|
25
26
|
return this.total;
|
|
@@ -60,6 +61,8 @@ export class SelectionService {
|
|
|
60
61
|
preventClosingPopup: preventClosingPopup
|
|
61
62
|
});
|
|
62
63
|
}
|
|
64
|
+
indicesToBeRemoved = [];
|
|
65
|
+
indicesToBeAdded = [];
|
|
63
66
|
emitMultipleAddedRemoved() {
|
|
64
67
|
this.onChange.emit({
|
|
65
68
|
added: this.indicesToBeAdded,
|
|
@@ -155,9 +158,9 @@ export class SelectionService {
|
|
|
155
158
|
}
|
|
156
159
|
this.unselectMultiple(indicesToBeUnselected);
|
|
157
160
|
}
|
|
161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, deps: [{ token: i1.DisabledItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
162
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService });
|
|
158
163
|
}
|
|
159
|
-
|
|
160
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService });
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectionService, decorators: [{
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionService, decorators: [{
|
|
162
165
|
type: Injectable
|
|
163
166
|
}], ctorParameters: function () { return [{ type: i1.DisabledItemsService }]; } });
|
|
@@ -10,14 +10,20 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
export class SharedDropDownEventsDirective {
|
|
13
|
+
ngZone;
|
|
14
|
+
renderer;
|
|
15
|
+
cdr;
|
|
16
|
+
hostElement;
|
|
17
|
+
clearButtonClicked;
|
|
18
|
+
isFocused;
|
|
19
|
+
isFocusedChange = new EventEmitter();
|
|
20
|
+
onFocus = new EventEmitter();
|
|
21
|
+
handleBlur = new EventEmitter();
|
|
22
|
+
subscriptions = new Subscription();
|
|
13
23
|
constructor(ngZone, renderer, cdr) {
|
|
14
24
|
this.ngZone = ngZone;
|
|
15
25
|
this.renderer = renderer;
|
|
16
26
|
this.cdr = cdr;
|
|
17
|
-
this.isFocusedChange = new EventEmitter();
|
|
18
|
-
this.onFocus = new EventEmitter();
|
|
19
|
-
this.handleBlur = new EventEmitter();
|
|
20
|
-
this.subscriptions = new Subscription();
|
|
21
27
|
}
|
|
22
28
|
ngAfterViewInit() {
|
|
23
29
|
const hostElement = this.hostElement.nativeElement;
|
|
@@ -71,10 +77,10 @@ export class SharedDropDownEventsDirective {
|
|
|
71
77
|
ngOnDestroy() {
|
|
72
78
|
this.subscriptions.unsubscribe();
|
|
73
79
|
}
|
|
80
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedDropDownEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SharedDropDownEventsDirective, isStandalone: true, selector: "[kendoDropDownSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
74
82
|
}
|
|
75
|
-
|
|
76
|
-
SharedDropDownEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SharedDropDownEventsDirective, isStandalone: true, selector: "[kendoDropDownSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDropDownEventsDirective, decorators: [{
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedDropDownEventsDirective, decorators: [{
|
|
78
84
|
type: Directive,
|
|
79
85
|
args: [{
|
|
80
86
|
selector: '[kendoDropDownSharedEvents]',
|
|
@@ -15,25 +15,22 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* @hidden
|
|
16
16
|
*/
|
|
17
17
|
export class TagListComponent {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
this.multiselectable = true;
|
|
35
|
-
this._size = 'medium';
|
|
36
|
-
}
|
|
18
|
+
renderer;
|
|
19
|
+
hostElement;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
xCircleIcon = xCircleIcon;
|
|
24
|
+
tags;
|
|
25
|
+
textField;
|
|
26
|
+
valueField;
|
|
27
|
+
valueDepth;
|
|
28
|
+
focused;
|
|
29
|
+
template;
|
|
30
|
+
groupTemplate;
|
|
31
|
+
disabled;
|
|
32
|
+
tagPrefix;
|
|
33
|
+
id;
|
|
37
34
|
set size(size) {
|
|
38
35
|
this.renderer.removeClass(this.hostElement.nativeElement, getSizeClass('chip-list', this.size));
|
|
39
36
|
if (size) {
|
|
@@ -44,9 +41,24 @@ export class TagListComponent {
|
|
|
44
41
|
get size() {
|
|
45
42
|
return this._size;
|
|
46
43
|
}
|
|
44
|
+
rounded = 'medium';
|
|
45
|
+
fillMode = 'solid';
|
|
46
|
+
/**
|
|
47
|
+
* A collection with the disabled tags' indices.
|
|
48
|
+
*/
|
|
49
|
+
disabledIndices = new Set();
|
|
50
|
+
removeTag = new EventEmitter();
|
|
51
|
+
hostClass = true;
|
|
47
52
|
get hostId() {
|
|
48
53
|
return this.id;
|
|
49
54
|
}
|
|
55
|
+
taglistRole = 'listbox';
|
|
56
|
+
multiselectable = true;
|
|
57
|
+
_size = 'medium';
|
|
58
|
+
constructor(renderer, hostElement) {
|
|
59
|
+
this.renderer = renderer;
|
|
60
|
+
this.hostElement = hostElement;
|
|
61
|
+
}
|
|
50
62
|
tagProp(tag, prop, index) {
|
|
51
63
|
const propField = prop && this.getPropField(tag, prop, index);
|
|
52
64
|
return getter(tag, propField);
|
|
@@ -95,9 +107,8 @@ export class TagListComponent {
|
|
|
95
107
|
return prop.find(item => item in tag);
|
|
96
108
|
}
|
|
97
109
|
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TagListComponent, isStandalone: true, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId", "attr.role": "this.taglistRole", "attr.aria-multiselectable": "this.multiselectable" } }, ngImport: i0, template: `
|
|
110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
111
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TagListComponent, isStandalone: true, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-chip-list": "this.hostClass", "attr.id": "this.hostId", "attr.role": "this.taglistRole", "attr.aria-multiselectable": "this.multiselectable" } }, ngImport: i0, template: `
|
|
101
112
|
<div
|
|
102
113
|
*ngFor="let tag of tags; let index = index;"
|
|
103
114
|
[attr.id]="itemId(tag, index)"
|
|
@@ -157,7 +168,8 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
157
168
|
</div>
|
|
158
169
|
<ng-content></ng-content>
|
|
159
170
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
160
|
-
|
|
171
|
+
}
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TagListComponent, decorators: [{
|
|
161
173
|
type: Component,
|
|
162
174
|
args: [{
|
|
163
175
|
selector: 'kendo-taglist',
|
|
@@ -254,12 +266,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
254
266
|
type: Input
|
|
255
267
|
}], removeTag: [{
|
|
256
268
|
type: Output
|
|
257
|
-
}],
|
|
269
|
+
}], hostClass: [{
|
|
258
270
|
type: HostBinding,
|
|
259
271
|
args: ['class.k-chip-list']
|
|
260
|
-
}, {
|
|
261
|
-
type: HostBinding,
|
|
262
|
-
args: ['class.k-selection-multiple']
|
|
263
272
|
}], hostId: [{
|
|
264
273
|
type: HostBinding,
|
|
265
274
|
args: ['attr.id']
|
|
@@ -32,13 +32,14 @@ import * as i0 from "@angular/core";
|
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export class CustomItemTemplateDirective {
|
|
35
|
+
templateRef;
|
|
35
36
|
constructor(templateRef) {
|
|
36
37
|
this.templateRef = templateRef;
|
|
37
38
|
}
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CustomItemTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
38
41
|
}
|
|
39
|
-
|
|
40
|
-
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomItemTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
42
43
|
type: Directive,
|
|
43
44
|
args: [{
|
|
44
45
|
selector: '[kendoMultiSelectCustomItemTemplate]',
|
|
@@ -39,13 +39,14 @@ import * as i0 from "@angular/core";
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export class FixedGroupTemplateDirective {
|
|
42
|
+
templateRef;
|
|
42
43
|
constructor(templateRef) {
|
|
43
44
|
this.templateRef = templateRef;
|
|
44
45
|
}
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FixedGroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
45
48
|
}
|
|
46
|
-
|
|
47
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FixedGroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
49
50
|
type: Directive,
|
|
50
51
|
args: [{
|
|
51
52
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]',
|
|
@@ -33,13 +33,14 @@ import * as i0 from "@angular/core";
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
export class FooterTemplateDirective {
|
|
36
|
+
templateRef;
|
|
36
37
|
constructor(templateRef) {
|
|
37
38
|
this.templateRef = templateRef;
|
|
38
39
|
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
39
42
|
}
|
|
40
|
-
|
|
41
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
43
44
|
type: Directive,
|
|
44
45
|
args: [{
|
|
45
46
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]',
|
|
@@ -31,13 +31,14 @@ import * as i0 from "@angular/core";
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
export class GroupTagTemplateDirective {
|
|
34
|
+
templateRef;
|
|
34
35
|
constructor(templateRef) {
|
|
35
36
|
this.templateRef = templateRef;
|
|
36
37
|
}
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupTagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
37
40
|
}
|
|
38
|
-
|
|
39
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
41
42
|
type: Directive,
|
|
42
43
|
args: [{
|
|
43
44
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]',
|
|
@@ -39,13 +39,14 @@ import * as i0 from "@angular/core";
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export class GroupTemplateDirective {
|
|
42
|
+
templateRef;
|
|
42
43
|
constructor(templateRef) {
|
|
43
44
|
this.templateRef = templateRef;
|
|
44
45
|
}
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
45
48
|
}
|
|
46
|
-
|
|
47
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
49
50
|
type: Directive,
|
|
50
51
|
args: [{
|
|
51
52
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]',
|