@progress/kendo-angular-dropdowns 7.2.4 → 11.0.0-develop.79
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/NOTICE.txt +3 -3
- package/README.md +7 -7
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox-column/util.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +1 -1
- package/comboboxes/combobox.module.d.ts +1 -1
- package/comboboxes/multicolumncombobox.component.d.ts +1 -1
- package/common/constants/error-messages.d.ts +1 -1
- package/common/constants/touch-enabled.d.ts +1 -1
- package/common/data.service.d.ts +1 -1
- package/common/disabled-items/disabled-items.service.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-settings.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/filtering/filterable-component.d.ts +1 -1
- package/common/list-item.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/models/checkboxes-settings.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/page-change-event.d.ts +1 -1
- package/common/models/popup-settings.d.ts +1 -1
- package/common/models/preventable-event.d.ts +1 -1
- package/common/models/remove-tag-event.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/virtualization-settings.d.ts +1 -1
- package/common/navigation/navigation-action.d.ts +1 -1
- package/common/navigation/navigation.service.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/selection/selection.service.d.ts +1 -1
- package/common/shared-directives.module.d.ts +1 -1
- package/common/shared.module.d.ts +1 -1
- package/common/taglist.component.d.ts +1 -1
- package/common/templates/custom-item-template.directive.d.ts +1 -1
- package/common/templates/fixed-group-template.directive.d.ts +1 -1
- package/common/templates/footer-template.directive.d.ts +1 -1
- package/common/templates/group-tag-template.directive.d.ts +1 -1
- package/common/templates/group-template.directive.d.ts +1 -1
- package/common/templates/header-template.directive.d.ts +1 -1
- package/common/templates/item-template.directive.d.ts +1 -1
- package/common/templates/no-data-template.directive.d.ts +1 -1
- package/common/templates/tag-template.directive.d.ts +1 -1
- package/common/templates/template-context.directive.d.ts +1 -1
- package/common/templates/value-template.directive.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/dropdownlist/dropdownlist.component.d.ts +1 -1
- package/dropdownlist/dropdownlist.module.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/checked-state/checkable-settings.d.ts +1 -1
- package/dropdowntrees/checked-state/checked-item.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/dropdowntrees.module.d.ts +1 -1
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.service.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +1 -1
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
- package/{esm2015/autocomplete/autocomplete.component.js → esm2020/autocomplete/autocomplete.component.mjs} +9 -7
- package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-cell-template.directive.js → esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-header-template.directive.js → esm2020/comboboxes/combobox-column/column-header-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/combobox-column.component.js → esm2020/comboboxes/combobox-column/combobox-column.component.mjs} +4 -4
- package/{esm2015/comboboxes/combobox-column/util.js → esm2020/comboboxes/combobox-column/util.mjs} +1 -1
- package/{esm2015/comboboxes/combobox.component.js → esm2020/comboboxes/combobox.component.mjs} +9 -7
- package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
- package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +6 -5
- package/{esm2015/common/constants/error-messages.js → esm2020/common/constants/error-messages.mjs} +1 -1
- package/{esm2015/common/constants/touch-enabled.js → esm2020/common/constants/touch-enabled.mjs} +1 -1
- package/{esm2015/common/data.service.js → esm2020/common/data.service.mjs} +5 -5
- package/{esm2015/common/disabled-items/disabled-items.service.js → esm2020/common/disabled-items/disabled-items.service.mjs} +5 -4
- package/{esm2015/common/models/fillmode.js → esm2020/common/disabled-items/item-disabled.mjs} +1 -1
- package/{esm2015/common/filter-input.directive.js → esm2020/common/filter-input.directive.mjs} +5 -5
- package/{esm2015/common/disabled-items/item-disabled.js → esm2020/common/filtering/filter-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter.directive.js → esm2020/common/filtering/filter.directive.mjs} +5 -4
- package/{esm2015/common/filtering/filterable-component.js → esm2020/common/filtering/filterable-component.mjs} +1 -1
- package/{esm2015/common/list-item.directive.js → esm2020/common/list-item.directive.mjs} +5 -5
- package/{esm2015/common/list.component.js → esm2020/common/list.component.mjs} +21 -10
- package/{esm2015/common/localization/custom-messages.component.js → esm2020/common/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/common/localization/localized-messages.directive.js → esm2020/common/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/common/localization/messages.js → esm2020/common/localization/messages.mjs} +4 -4
- package/{esm2015/common/models/checkboxes-settings.js → esm2020/common/models/checkboxes-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter-settings.js → esm2020/common/models/direction.mjs} +1 -1
- package/{esm2015/common/models/direction.js → esm2020/common/models/fillmode.mjs} +1 -1
- package/esm2020/common/models/list-type.mjs +5 -0
- package/esm2020/common/models/page-change-event.mjs +5 -0
- package/esm2020/common/models/popup-settings.mjs +5 -0
- package/{esm2015/common/models/preventable-event.js → esm2020/common/models/preventable-event.mjs} +1 -1
- package/{esm2015/common/models/remove-tag-event.js → esm2020/common/models/remove-tag-event.mjs} +1 -1
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/models/virtualization-settings.js → esm2020/common/models/virtualization-settings.mjs} +2 -2
- package/{esm2015/common/navigation/navigation-action.js → esm2020/common/navigation/navigation-action.mjs} +1 -1
- package/{esm2015/common/navigation/navigation.service.js → esm2020/common/navigation/navigation.service.mjs} +6 -4
- package/{esm2015/common/searchbar.component.js → esm2020/common/searchbar.component.mjs} +10 -6
- package/{esm2015/common/selection/selectable.directive.js → esm2020/common/selection/selectable.directive.mjs} +5 -4
- package/{esm2015/common/selection/selection.service.js → esm2020/common/selection/selection.service.mjs} +8 -7
- package/{esm2015/common/shared-directives.module.js → esm2020/common/shared-directives.module.mjs} +5 -5
- package/{esm2015/common/shared.module.js → esm2020/common/shared.module.mjs} +5 -5
- package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +7 -5
- package/{esm2015/common/templates/custom-item-template.directive.js → esm2020/common/templates/custom-item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/fixed-group-template.directive.js → esm2020/common/templates/fixed-group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/footer-template.directive.js → esm2020/common/templates/footer-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-tag-template.directive.js → esm2020/common/templates/group-tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-template.directive.js → esm2020/common/templates/group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/header-template.directive.js → esm2020/common/templates/header-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/item-template.directive.js → esm2020/common/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/no-data-template.directive.js → esm2020/common/templates/no-data-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/tag-template.directive.js → esm2020/common/templates/tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/template-context.directive.js → esm2020/common/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/templates/value-template.directive.js → esm2020/common/templates/value-template.directive.mjs} +5 -5
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +1 -1
- package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +12 -11
- package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs} +5 -5
- package/{esm2015/dropdowns.module.js → esm2020/dropdowns.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/checked-state/base-check.directive.js → esm2020/dropdowntrees/checked-state/base-check.directive.mjs} +6 -6
- package/{esm2015/dropdowntrees/checked-state/check-all.directive.js → esm2020/dropdowntrees/checked-state/check-all.directive.mjs} +7 -6
- package/{esm2015/dropdowntrees/checked-state/check.directive.js → esm2020/dropdowntrees/checked-state/check.directive.mjs} +7 -6
- package/esm2020/dropdowntrees/checked-state/checkable-settings.mjs +5 -0
- package/esm2020/dropdowntrees/checked-state/checked-item.mjs +5 -0
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/dropdowntree.component.js → esm2020/dropdowntrees/dropdowntree.component.mjs} +9 -8
- package/{esm2015/dropdowntrees/dropdowntrees.module.js → esm2020/dropdowntrees/dropdowntrees.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/expanded-state/expand.directive.js → esm2020/dropdowntrees/expanded-state/expand.directive.mjs} +5 -5
- package/{esm2015/dropdowntrees/lookup/lookup.js → esm2020/dropdowntrees/lookup/lookup.mjs} +1 -1
- package/{esm2015/dropdowntrees/lookup/lookup.service.js → esm2020/dropdowntrees/lookup/lookup.service.mjs} +4 -4
- package/{esm2015/dropdowntrees/multiselecttree.component.js → esm2020/dropdowntrees/multiselecttree.component.mjs} +15 -10
- package/{esm2015/dropdowntrees/summary-tag/summary-tag.directive.js → esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs} +5 -4
- package/{esm2015/dropdowntrees/templates/node-template.directive.js → esm2020/dropdowntrees/templates/node-template.directive.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/multiselect/multiselect.component.js → esm2020/multiselect/multiselect.component.mjs} +12 -10
- package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs} +5 -5
- package/{esm2015/multiselect/summary-tag.directive.js → esm2020/multiselect/summary-tag.directive.mjs} +6 -6
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dropdowns.js → esm2020/progress-kendo-angular-dropdowns.mjs} +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +14672 -0
- package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +260 -250
- package/{main.d.ts → index.d.ts} +2 -1
- 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-metadata.d.ts +1 -1
- package/package.json +32 -58
- package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- package/bundles/kendo-angular-dropdowns.umd.js +0 -5
- package/esm2015/common/models/list-type.js +0 -5
- package/esm2015/common/models/page-change-event.js +0 -5
- package/esm2015/common/models/popup-settings.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checkable-settings.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checked-item.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the fixed group header content. To define the fixed group template, nest an `<ng-template>` tag
|
|
@@ -43,9 +43,9 @@ export class FixedGroupTemplateDirective {
|
|
|
43
43
|
this.templateRef = templateRef;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FixedGroupTemplateDirective, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the footer content of the list. To define the footer template, nest an `<ng-template>` tag
|
|
@@ -37,9 +37,9 @@ export class FooterTemplateDirective {
|
|
|
37
37
|
this.templateRef = templateRef;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the grouped tag values in the MultiSelect
|
|
@@ -35,9 +35,9 @@ export class GroupTagTemplateDirective {
|
|
|
35
35
|
this.templateRef = templateRef;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTagTemplateDirective, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the group header content. To define the group template, nest an `<ng-template>` tag
|
|
@@ -43,9 +43,9 @@ export class GroupTemplateDirective {
|
|
|
43
43
|
this.templateRef = templateRef;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTemplateDirective, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the header content of the list. To define the header template, nest an `<ng-template>` tag
|
|
@@ -37,9 +37,9 @@ export class HeaderTemplateDirective {
|
|
|
37
37
|
this.templateRef = templateRef;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTemplateDirective, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the list item content. To define the item template, nest an `<ng-template>` tag
|
|
@@ -36,9 +36,9 @@ export class ItemTemplateDirective {
|
|
|
36
36
|
this.templateRef = templateRef;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders content when no data is available. To define the no-data template, nest a `<ng-template>` tag
|
|
@@ -37,9 +37,9 @@ export class NoDataTemplateDirective {
|
|
|
37
37
|
this.templateRef = templateRef;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the selected tag value of the MultiSelect
|
|
@@ -34,9 +34,9 @@ export class TagTemplateDirective {
|
|
|
34
34
|
this.templateRef = templateRef;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
+
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ViewContainerRef, Input } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
@@ -21,9 +21,9 @@ export class TemplateContextDirective {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: '[templateContext]' // eslint-disable-line
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the selected value of the dropdown. To define the header template, nest an `<ng-template>` tag
|
|
@@ -38,9 +38,9 @@ export class ValueTemplateDirective {
|
|
|
38
38
|
this.templateRef = templateRef;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable no-bitwise */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, forwardRef, Input, Output, HostBinding, EventEmitter, ContentChild, ViewChild, ViewContainerRef, isDevMode, Optional, Inject, HostListener } from '@angular/core';
|
|
5
|
+
import { Component, Renderer2, forwardRef, ElementRef, Input, Output, HostBinding, EventEmitter, ContentChild, ViewChild, ViewContainerRef, isDevMode, Optional, Inject, NgZone, TemplateRef, ChangeDetectorRef, HostListener, Injector } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -23,11 +23,13 @@ import { NoDataTemplateDirective } from '../common/templates/no-data-template.di
|
|
|
23
23
|
import { NavigationAction } from '../common/navigation/navigation-action';
|
|
24
24
|
import { PreventableEvent } from '../common/models/preventable-event';
|
|
25
25
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
26
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
26
27
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
27
28
|
import { DropDownListMessages } from '../common/constants/error-messages';
|
|
28
29
|
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
29
30
|
import { DataService } from '../common/data.service';
|
|
30
31
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
32
|
+
import { ListComponent } from '../common/list.component';
|
|
31
33
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
32
34
|
import * as i0 from "@angular/core";
|
|
33
35
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -479,8 +481,7 @@ export class DropDownListComponent {
|
|
|
479
481
|
return this.ariaControls;
|
|
480
482
|
}
|
|
481
483
|
get hostAriaInvalid() {
|
|
482
|
-
|
|
483
|
-
return this.formControl ? (_a = this.formControl) === null || _a === void 0 ? void 0 : _a.invalid.toString() : null;
|
|
484
|
+
return this.formControl ? this.formControl?.invalid.toString() : null;
|
|
484
485
|
}
|
|
485
486
|
get hostAriaActivedescendant() {
|
|
486
487
|
return this.ariaActivedescendant;
|
|
@@ -490,7 +491,7 @@ export class DropDownListComponent {
|
|
|
490
491
|
*/
|
|
491
492
|
keydown(event) {
|
|
492
493
|
const firstIndex = isPresent(this.defaultItem) ? -1 : 0;
|
|
493
|
-
|
|
494
|
+
const focused = isNaN(this.selectionService.focused) ? this.firstFocusableIndex(firstIndex) : this.selectionService.focused;
|
|
494
495
|
let offset = 0;
|
|
495
496
|
if (this.disabled || this.readonly) {
|
|
496
497
|
return;
|
|
@@ -595,7 +596,7 @@ export class DropDownListComponent {
|
|
|
595
596
|
*/
|
|
596
597
|
ngOnChanges(changes) {
|
|
597
598
|
const virtual = this.virtual;
|
|
598
|
-
const requestInitialData = virtual && changes
|
|
599
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
599
600
|
if (requestInitialData) {
|
|
600
601
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
601
602
|
}
|
|
@@ -617,7 +618,7 @@ export class DropDownListComponent {
|
|
|
617
618
|
*/
|
|
618
619
|
get formControl() {
|
|
619
620
|
const ngControl = this.injector.get(NgControl, null);
|
|
620
|
-
return
|
|
621
|
+
return ngControl?.control || null;
|
|
621
622
|
}
|
|
622
623
|
/**
|
|
623
624
|
* Focuses a specific item of the DropDownList based on a provided index.
|
|
@@ -1102,7 +1103,7 @@ export class DropDownListComponent {
|
|
|
1102
1103
|
});
|
|
1103
1104
|
const isInLoop = sameCharsOnly(this.word, this.last);
|
|
1104
1105
|
let dataLength = data.length;
|
|
1105
|
-
|
|
1106
|
+
const hasSelected = !isNaN(this.selectionService.selected[0]);
|
|
1106
1107
|
let startIndex = !hasSelected ? 0 : this.selectionService.selected[0];
|
|
1107
1108
|
let text, index, defaultItem;
|
|
1108
1109
|
if (this.defaultItem && !this.disabledItemsService.isItemDisabled(this.defaultItem)) {
|
|
@@ -1228,8 +1229,8 @@ export class DropDownListComponent {
|
|
|
1228
1229
|
}
|
|
1229
1230
|
}
|
|
1230
1231
|
}
|
|
1231
|
-
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1232
|
-
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1232
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1233
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { iconClass: "iconClass", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", popupSettings: "popupSettings", listHeight: "listHeight", defaultItem: "defaultItem", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", filterable: "filterable", virtual: "virtual", ignoreCase: "ignoreCase", delay: "delay", valuePrimitive: "valuePrimitive", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", focusableId: ["id", "focusableId"] }, outputs: { valueChange: "valueChange", filterChange: "filterChange", selectionChange: "selectionChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "click": "click($event)" }, properties: { "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-controls": "this.hostAriaControls", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
1233
1234
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
1234
1235
|
DataService,
|
|
1235
1236
|
SelectionService,
|
|
@@ -1386,7 +1387,7 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1386
1387
|
</ng-template>
|
|
1387
1388
|
<ng-container #container></ng-container>
|
|
1388
1389
|
`, isInline: true, components: [{ type: i7.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i9.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i13.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i14.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
1390
1391
|
type: Component,
|
|
1391
1392
|
args: [{
|
|
1392
1393
|
exportAs: 'kendoDropDownList',
|
package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -24,10 +24,10 @@ const DROPDOWNLIST_DIRECTIVES = [
|
|
|
24
24
|
*/
|
|
25
25
|
export class DropDownListModule {
|
|
26
26
|
}
|
|
27
|
-
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
29
|
-
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [SharedModule], exports: [DropDownListComponent, SharedDirectivesModule] });
|
|
29
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
31
31
|
type: NgModule,
|
|
32
32
|
args: [{
|
|
33
33
|
declarations: [DROPDOWNLIST_DIRECTIVES],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -42,10 +42,10 @@ import * as i0 from "@angular/core";
|
|
|
42
42
|
*/
|
|
43
43
|
export class DropDownsModule {
|
|
44
44
|
}
|
|
45
|
-
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
47
|
-
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
45
|
+
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
+
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
47
|
+
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
49
49
|
type: NgModule,
|
|
50
50
|
args: [{
|
|
51
51
|
exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -17,7 +17,7 @@ export class BaseCheckDirective {
|
|
|
17
17
|
}
|
|
18
18
|
const level = getHierarchicalItemLevel(item.index);
|
|
19
19
|
const key = this.getKey(item, level);
|
|
20
|
-
const candidate =
|
|
20
|
+
const candidate = { ...item, level, key };
|
|
21
21
|
this.checkedItems.push(candidate);
|
|
22
22
|
this.checkedKeys.add(key);
|
|
23
23
|
}
|
|
@@ -27,7 +27,7 @@ export class BaseCheckDirective {
|
|
|
27
27
|
}
|
|
28
28
|
const level = getHierarchicalItemLevel(item.index);
|
|
29
29
|
const key = this.getKey(item, level);
|
|
30
|
-
const candidate =
|
|
30
|
+
const candidate = { ...item, level, key };
|
|
31
31
|
this.checkedItems = this.checkedItems
|
|
32
32
|
.filter(item => valueFrom(item, this.valueField) !== valueFrom(candidate, this.valueField));
|
|
33
33
|
this.checkedKeys.delete(key);
|
|
@@ -52,9 +52,9 @@ export class BaseCheckDirective {
|
|
|
52
52
|
return valueFrom(item, this.valueField) + '_' + (this.isHeterogeneous ? level : 0);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseCheckDirective, inputs: { valueField: "valueField", checkedItems: "checkedItems", isHeterogeneous: "isHeterogeneous" }, ngImport: i0 });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, decorators: [{
|
|
58
58
|
type: Directive
|
|
59
59
|
}], propDecorators: { valueField: [{
|
|
60
60
|
type: Input
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, HostListener, Input, NgZone, Output, Renderer2 } from '@angular/core';
|
|
6
|
+
import { TreeViewComponent } from '@progress/kendo-angular-treeview';
|
|
6
7
|
import { fetchDescendentNodes, isPresent } from '../../common/util';
|
|
7
8
|
import { BaseCheckDirective } from './base-check.directive';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
@@ -58,7 +59,7 @@ export class CheckAllDirective extends BaseCheckDirective {
|
|
|
58
59
|
return isChecked;
|
|
59
60
|
}
|
|
60
61
|
ngOnChanges(changes) {
|
|
61
|
-
if (isPresent(changes
|
|
62
|
+
if (isPresent(changes['checkedItems'])) {
|
|
62
63
|
this.updateItems();
|
|
63
64
|
this.renderer.setProperty(this.element.nativeElement, 'checked', this.isChecked);
|
|
64
65
|
this.renderer.setProperty(this.element.nativeElement, 'indeterminate', this.isIndeterminate);
|
|
@@ -127,9 +128,9 @@ export class CheckAllDirective extends BaseCheckDirective {
|
|
|
127
128
|
return childrenChecked || this.isItemChecked(lookup.item);
|
|
128
129
|
}
|
|
129
130
|
}
|
|
130
|
-
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
131
|
-
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
131
|
+
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
132
|
+
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckAllDirective, selector: "[checkAll]", inputs: { lastAction: "lastAction", treeview: "treeview", checkedItems: "checkedItems", valueField: "valueField", focused: ["checkAll", "focused"] }, outputs: { checkedItemsChange: "checkedItemsChange" }, host: { listeners: { "change": "handleChange($event.target)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
133
134
|
type: Directive,
|
|
134
135
|
args: [{
|
|
135
136
|
// eslint-disable-next-line
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
+
import { TreeViewComponent } from '@progress/kendo-angular-treeview';
|
|
6
7
|
import { Subscription } from 'rxjs';
|
|
7
8
|
import { filter } from 'rxjs/operators';
|
|
8
9
|
import { fetchDescendentNodes, isPresent } from '../../common/util';
|
|
@@ -35,10 +36,10 @@ export class CheckDirective extends BaseCheckDirective {
|
|
|
35
36
|
this.treeView.isChecked = this.getCheckedState.bind(this);
|
|
36
37
|
}
|
|
37
38
|
ngOnChanges(changes) {
|
|
38
|
-
if (isPresent(changes
|
|
39
|
+
if (isPresent(changes['checkable'])) {
|
|
39
40
|
this.toggleCheckOnClick();
|
|
40
41
|
}
|
|
41
|
-
if (isPresent(changes
|
|
42
|
+
if (isPresent(changes['checkedItems'])) {
|
|
42
43
|
this.updateItems();
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -136,9 +137,9 @@ export class CheckDirective extends BaseCheckDirective {
|
|
|
136
137
|
return false;
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
|
-
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
140
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: i1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
141
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
|
|
142
143
|
type: Directive,
|
|
143
144
|
args: [{
|
|
144
145
|
selector: '[kendoMultiSelectTreeCheckable]'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
6
6
|
import { isChanged } from '@progress/kendo-angular-common';
|
|
7
|
-
import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
|
|
7
|
+
import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-treeview";
|
|
10
10
|
/**
|
|
@@ -23,15 +23,15 @@ export class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
23
23
|
}
|
|
24
24
|
ngOnChanges(changes) {
|
|
25
25
|
if (isChanged('nodes', changes, false)) {
|
|
26
|
-
this.dropDownTree.nodes = changes
|
|
27
|
-
super.nodes = changes
|
|
26
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
27
|
+
super.nodes = changes['nodes'].currentValue;
|
|
28
28
|
}
|
|
29
29
|
super.ngOnChanges(changes);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[kendoDropDownTreeFlatBinding]'
|