@progress/kendo-angular-dropdowns 6.0.2-dev.202202251358 → 7.0.0-dev.202204150727
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/{dist/es2015/autocomplete → autocomplete}/autocomplete.component.d.ts +47 -35
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.module.d.ts +7 -0
- package/bundles/kendo-angular-dropdowns.umd.js +5 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-header-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/combobox-column.component.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/util.d.ts +0 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox.component.d.ts +53 -39
- package/comboboxes/combobox.module.d.ts +31 -0
- package/{dist/es2015/comboboxes → comboboxes}/multicolumncombobox.component.d.ts +8 -5
- package/{dist/es2015/common → common}/constants/error-messages.d.ts +27 -27
- package/{dist/es2015/common → common}/constants/touch-enabled.d.ts +0 -0
- package/{dist/es2015/common → common}/data.service.d.ts +6 -2
- package/{dist/es2015/common → common}/disabled-items/disabled-items.service.d.ts +3 -0
- package/{dist/es2015/common → common}/disabled-items/item-disabled.d.ts +0 -0
- package/{dist/es2015/common → common}/filter-input.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/filtering/filter-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/filtering/filter.directive.d.ts +6 -2
- package/{dist/es2015/common → common}/filtering/filterable-component.d.ts +0 -0
- package/{dist/es2015/common → common}/list-item.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/list.component.d.ts +11 -6
- package/{dist/es2015/common → common}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/common → common}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/localization/messages.d.ts +3 -0
- package/{dist/es2015/common → common}/models/checkboxes-settings.d.ts +1 -1
- package/{dist/es2015/common → common}/models/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +1 -7
- package/{dist/es2015/common → common}/models/list-type.d.ts +0 -0
- package/{dist/es2015/common → common}/models/page-change-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/remove-tag-event.d.ts +4 -1
- package/{dist/es2015/common → common}/models/rounded.d.ts +1 -8
- package/common/models/size.d.ts +8 -0
- package/{dist/es2015/common → common}/models/virtualization-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation-action.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation.service.d.ts +3 -0
- package/{dist/es2015/common → common}/searchbar.component.d.ts +9 -4
- package/{dist/es2015/common → common}/selection/selectable.directive.d.ts +5 -2
- package/{dist/es2015/common → common}/selection/selection.service.d.ts +6 -2
- package/common/shared-directives.module.d.ts +37 -0
- package/common/shared.module.d.ts +26 -0
- package/{dist/es2015/common → common}/taglist.component.d.ts +7 -3
- package/{dist/es2015/common → common}/templates/custom-item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/fixed-group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/header-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/no-data-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/template-context.directive.d.ts +4 -1
- package/{dist/es2015/common → common}/templates/value-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/util.d.ts +3 -2
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.component.d.ts +61 -48
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.module.d.ts +7 -0
- package/{dist/es2015/dropdowns.module.d.ts → dropdowns.module.d.ts} +9 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/base-check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check-all.directive.d.ts +5 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checkable-settings.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checked-item.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +62 -45
- package/dropdowntrees/dropdowntrees.module.d.ts +25 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/expanded-state/expand.directive.d.ts +5 -1
- package/{dist/es2015/dropdowntrees → dropdowntrees}/multiselecttree.component.d.ts +70 -52
- package/{dist/es2015/dropdowntrees → dropdowntrees}/summary-tag/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/templates/node-template.directive.d.ts +3 -0
- package/{dist/es2015 → esm2015}/autocomplete/autocomplete.component.js +296 -258
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/column-cell-template.directive.js +12 -11
- package/esm2015/comboboxes/combobox-column/column-header-template.directive.js +26 -0
- package/esm2015/comboboxes/combobox-column/combobox-column.component.js +59 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/util.js +0 -2
- package/{dist/es2015 → esm2015}/comboboxes/combobox.component.js +321 -281
- package/{dist/es2015 → esm2015}/comboboxes/combobox.module.js +23 -14
- package/esm2015/comboboxes/multicolumncombobox.component.js +653 -0
- package/{dist/es2015 → esm2015}/common/constants/error-messages.js +0 -1
- package/{dist/es2015 → esm2015}/common/constants/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/common/data.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/disabled-items/disabled-items.service.js +9 -9
- package/{dist/es2015 → esm2015}/common/disabled-items/item-disabled.js +1 -0
- package/esm2015/common/filter-input.directive.js +34 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter.directive.js +19 -24
- package/{dist/es2015 → esm2015}/common/filtering/filterable-component.js +0 -0
- package/esm2015/common/list-item.directive.js +22 -0
- package/{dist/es2015 → esm2015}/common/list.component.js +194 -126
- package/esm2015/common/localization/custom-messages.component.js +41 -0
- package/esm2015/common/localization/localized-messages.directive.js +44 -0
- package/esm2015/common/localization/messages.js +25 -0
- package/{dist/es2015 → esm2015}/common/models/checkboxes-settings.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/direction.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/list-type.js +1 -0
- package/{dist/es → esm2015}/common/models/page-change-event.js +1 -0
- package/{dist/es → esm2015}/common/models/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/remove-tag-event.js +0 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/virtualization-settings.js +0 -0
- package/{dist/es → esm2015}/common/navigation/navigation-action.js +1 -0
- package/{dist/es2015 → esm2015}/common/navigation/navigation.service.js +10 -11
- package/{dist/es2015 → esm2015}/common/searchbar.component.js +84 -97
- package/esm2015/common/selection/selectable.directive.js +76 -0
- package/{dist/es2015 → esm2015}/common/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/shared-directives.module.js +37 -10
- package/esm2015/common/shared.module.js +59 -0
- package/{dist/es2015 → esm2015}/common/taglist.component.js +112 -87
- package/{dist/es2015 → esm2015}/common/templates/custom-item-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/fixed-group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/footer-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/group-tag-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/header-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/no-data-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/tag-template.directive.js +12 -12
- package/esm2015/common/templates/template-context.directive.js +33 -0
- package/{dist/es2015 → esm2015}/common/templates/value-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/util.js +1 -3
- package/{dist/es2015 → esm2015}/dropdownlist/dropdownlist.component.js +393 -325
- package/esm2015/dropdownlist/dropdownlist.module.js +37 -0
- package/{dist/es → esm2015}/dropdowns.module.js +12 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/base-check.directive.js +13 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check-all.directive.js +39 -46
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check.directive.js +20 -27
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checkable-settings.js +1 -0
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checked-item.js +1 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +51 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +69 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +50 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +47 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +410 -343
- package/esm2015/dropdowntrees/dropdowntrees.module.js +61 -0
- package/esm2015/dropdowntrees/expanded-state/expand.directive.js +38 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/multiselecttree.component.js +474 -378
- package/{dist/es2015 → esm2015}/dropdowntrees/summary-tag/summary-tag.directive.js +15 -15
- package/esm2015/dropdowntrees/templates/node-template.directive.js +28 -0
- package/{dist/es2015/common/shared.module.d.ts → esm2015/kendo-angular-dropdowns.js} +2 -3
- package/{dist/es → esm2015}/main.js +15 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +367 -314
- package/{dist/es2015 → esm2015}/multiselect/multiselect.module.js +19 -14
- package/{dist/es2015 → esm2015}/multiselect/summary-tag.directive.js +15 -15
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dropdowns.js} +8066 -7210
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +16 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +54 -39
- package/{dist/es2015/multiselect → multiselect}/multiselect.module.d.ts +9 -0
- package/{dist/es2015/multiselect → multiselect}/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +38 -114
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-dropdowns.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/autocomplete/autocomplete.component.js +0 -1201
- package/dist/es/autocomplete/autocomplete.module.js +0 -36
- package/dist/es/comboboxes/combobox-column/column-cell-template.directive.js +0 -29
- package/dist/es/comboboxes/combobox-column/column-header-template.directive.js +0 -26
- package/dist/es/comboboxes/combobox-column/combobox-column.component.js +0 -78
- package/dist/es/comboboxes/combobox-column/util.js +0 -57
- package/dist/es/comboboxes/combobox.component.js +0 -1622
- package/dist/es/comboboxes/combobox.module.js +0 -52
- package/dist/es/comboboxes/multicolumncombobox.component.js +0 -230
- package/dist/es/common/constants/error-messages.js +0 -62
- package/dist/es/common/constants/touch-enabled.js +0 -9
- package/dist/es/common/data.service.js +0 -250
- package/dist/es/common/disabled-items/disabled-items.service.js +0 -45
- package/dist/es/common/disabled-items/item-disabled.js +0 -4
- package/dist/es/common/filter-input.directive.js +0 -37
- package/dist/es/common/filtering/filter-settings.js +0 -4
- package/dist/es/common/filtering/filter.directive.js +0 -141
- package/dist/es/common/filtering/filterable-component.js +0 -17
- package/dist/es/common/list-item.directive.js +0 -22
- package/dist/es/common/list.component.js +0 -503
- package/dist/es/common/localization/custom-messages.component.js +0 -44
- package/dist/es/common/localization/localized-messages.directive.js +0 -35
- package/dist/es/common/localization/messages.js +0 -34
- package/dist/es/common/models/checkboxes-settings.js +0 -15
- package/dist/es/common/models/direction.js +0 -4
- package/dist/es/common/models/preventable-event.js +0 -29
- package/dist/es/common/models/remove-tag-event.js +0 -24
- package/dist/es/common/models/virtualization-settings.js +0 -25
- package/dist/es/common/navigation/navigation.service.js +0 -147
- package/dist/es/common/searchbar.component.js +0 -253
- package/dist/es/common/selection/selectable.directive.js +0 -93
- package/dist/es/common/selection/selection.service.js +0 -107
- package/dist/es/common/shared-directives.module.js +0 -60
- package/dist/es/common/shared.module.js +0 -45
- package/dist/es/common/taglist.component.js +0 -179
- package/dist/es/common/templates/custom-item-template.directive.js +0 -47
- package/dist/es/common/templates/fixed-group-template.directive.js +0 -54
- package/dist/es/common/templates/footer-template.directive.js +0 -47
- package/dist/es/common/templates/group-tag-template.directive.js +0 -46
- package/dist/es/common/templates/group-template.directive.js +0 -54
- package/dist/es/common/templates/header-template.directive.js +0 -47
- package/dist/es/common/templates/item-template.directive.js +0 -46
- package/dist/es/common/templates/no-data-template.directive.js +0 -48
- package/dist/es/common/templates/tag-template.directive.js +0 -45
- package/dist/es/common/templates/template-context.directive.js +0 -40
- package/dist/es/common/templates/value-template.directive.js +0 -49
- package/dist/es/common/util.js +0 -337
- package/dist/es/dropdownlist/dropdownlist.component.js +0 -1649
- package/dist/es/dropdownlist/dropdownlist.module.js +0 -37
- package/dist/es/dropdowntrees/checked-state/base-check.directive.js +0 -68
- package/dist/es/dropdowntrees/checked-state/check-all.directive.js +0 -181
- package/dist/es/dropdowntrees/checked-state/check.directive.js +0 -169
- package/dist/es/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/dropdowntree.component.js +0 -1394
- package/dist/es/dropdowntrees/dropdowntrees.module.js +0 -45
- package/dist/es/dropdowntrees/expanded-state/expand.directive.js +0 -28
- package/dist/es/dropdowntrees/multiselecttree.component.js +0 -1683
- package/dist/es/dropdowntrees/summary-tag/summary-tag.directive.js +0 -63
- package/dist/es/dropdowntrees/templates/node-template.directive.js +0 -28
- package/dist/es/index.js +0 -30
- package/dist/es/multiselect/multiselect.component.js +0 -1734
- package/dist/es/multiselect/multiselect.module.js +0 -50
- package/dist/es/multiselect/summary-tag.directive.js +0 -65
- package/dist/es/package-metadata.js +0 -15
- package/dist/es2015/autocomplete/autocomplete.module.js +0 -33
- package/dist/es2015/comboboxes/combobox-column/column-header-template.directive.js +0 -25
- package/dist/es2015/comboboxes/combobox-column/combobox-column.component.js +0 -81
- package/dist/es2015/comboboxes/combobox.module.d.ts +0 -20
- package/dist/es2015/comboboxes/multicolumncombobox.component.js +0 -417
- package/dist/es2015/common/filter-input.directive.js +0 -35
- package/dist/es2015/common/list-item.directive.js +0 -21
- package/dist/es2015/common/localization/custom-messages.component.js +0 -36
- package/dist/es2015/common/localization/localized-messages.directive.js +0 -39
- package/dist/es2015/common/localization/messages.js +0 -28
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/list-type.js +0 -4
- package/dist/es2015/common/models/page-change-event.js +0 -4
- package/dist/es2015/common/models/popup-settings.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.d.ts +0 -14
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/navigation/navigation-action.js +0 -24
- package/dist/es2015/common/selection/selectable.directive.js +0 -84
- package/dist/es2015/common/shared-directives.module.d.ts +0 -20
- package/dist/es2015/common/shared.module.js +0 -42
- package/dist/es2015/common/templates/template-context.directive.js +0 -35
- package/dist/es2015/dropdownlist/dropdownlist.module.js +0 -34
- package/dist/es2015/dropdowns.module.js +0 -50
- package/dist/es2015/dropdowntrees/checked-state/checkable-settings.js +0 -4
- package/dist/es2015/dropdowntrees/checked-state/checked-item.js +0 -4
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/dropdowntrees.module.d.ts +0 -9
- package/dist/es2015/dropdowntrees/dropdowntrees.module.js +0 -42
- package/dist/es2015/dropdowntrees/expanded-state/expand.directive.js +0 -26
- package/dist/es2015/dropdowntrees/templates/node-template.directive.js +0 -27
- package/dist/es2015/index.d.ts +0 -30
- package/dist/es2015/index.js +0 -30
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -44
- package/dist/fesm5/index.js +0 -13097
- package/dist/npm/autocomplete/autocomplete.component.js +0 -1203
- package/dist/npm/autocomplete/autocomplete.module.js +0 -38
- package/dist/npm/comboboxes/combobox-column/column-cell-template.directive.js +0 -31
- package/dist/npm/comboboxes/combobox-column/column-header-template.directive.js +0 -28
- package/dist/npm/comboboxes/combobox-column/combobox-column.component.js +0 -80
- package/dist/npm/comboboxes/combobox-column/util.js +0 -59
- package/dist/npm/comboboxes/combobox.component.js +0 -1624
- package/dist/npm/comboboxes/combobox.module.js +0 -54
- package/dist/npm/comboboxes/multicolumncombobox.component.js +0 -232
- package/dist/npm/common/constants/error-messages.js +0 -64
- package/dist/npm/common/constants/touch-enabled.js +0 -11
- package/dist/npm/common/data.service.js +0 -252
- package/dist/npm/common/disabled-items/disabled-items.service.js +0 -47
- package/dist/npm/common/disabled-items/item-disabled.js +0 -6
- package/dist/npm/common/filter-input.directive.js +0 -39
- package/dist/npm/common/filtering/filter-settings.js +0 -6
- package/dist/npm/common/filtering/filter.directive.js +0 -143
- package/dist/npm/common/filtering/filterable-component.js +0 -19
- package/dist/npm/common/list-item.directive.js +0 -24
- package/dist/npm/common/list.component.js +0 -505
- package/dist/npm/common/localization/custom-messages.component.js +0 -46
- package/dist/npm/common/localization/localized-messages.directive.js +0 -37
- package/dist/npm/common/localization/messages.js +0 -36
- package/dist/npm/common/models/checkboxes-settings.js +0 -17
- package/dist/npm/common/models/direction.js +0 -6
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/list-type.js +0 -6
- package/dist/npm/common/models/page-change-event.js +0 -6
- package/dist/npm/common/models/popup-settings.js +0 -6
- package/dist/npm/common/models/preventable-event.js +0 -31
- package/dist/npm/common/models/remove-tag-event.js +0 -26
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/virtualization-settings.js +0 -27
- package/dist/npm/common/navigation/navigation-action.js +0 -26
- package/dist/npm/common/navigation/navigation.service.js +0 -149
- package/dist/npm/common/searchbar.component.js +0 -255
- package/dist/npm/common/selection/selectable.directive.js +0 -95
- package/dist/npm/common/selection/selection.service.js +0 -109
- package/dist/npm/common/shared-directives.module.js +0 -62
- package/dist/npm/common/shared.module.js +0 -47
- package/dist/npm/common/taglist.component.js +0 -181
- package/dist/npm/common/templates/custom-item-template.directive.js +0 -49
- package/dist/npm/common/templates/fixed-group-template.directive.js +0 -56
- package/dist/npm/common/templates/footer-template.directive.js +0 -49
- package/dist/npm/common/templates/group-tag-template.directive.js +0 -48
- package/dist/npm/common/templates/group-template.directive.js +0 -56
- package/dist/npm/common/templates/header-template.directive.js +0 -49
- package/dist/npm/common/templates/item-template.directive.js +0 -48
- package/dist/npm/common/templates/no-data-template.directive.js +0 -50
- package/dist/npm/common/templates/tag-template.directive.js +0 -47
- package/dist/npm/common/templates/template-context.directive.js +0 -42
- package/dist/npm/common/templates/value-template.directive.js +0 -51
- package/dist/npm/common/util.js +0 -339
- package/dist/npm/dropdownlist/dropdownlist.component.js +0 -1651
- package/dist/npm/dropdownlist/dropdownlist.module.js +0 -39
- package/dist/npm/dropdowns.module.js +0 -55
- package/dist/npm/dropdowntrees/checked-state/base-check.directive.js +0 -70
- package/dist/npm/dropdowntrees/checked-state/check-all.directive.js +0 -183
- package/dist/npm/dropdowntrees/checked-state/check.directive.js +0 -171
- package/dist/npm/dropdowntrees/checked-state/checkable-settings.js +0 -6
- package/dist/npm/dropdowntrees/checked-state/checked-item.js +0 -6
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/dropdowntree.component.js +0 -1399
- package/dist/npm/dropdowntrees/dropdowntrees.module.js +0 -47
- package/dist/npm/dropdowntrees/expanded-state/expand.directive.js +0 -30
- package/dist/npm/dropdowntrees/multiselecttree.component.js +0 -1688
- package/dist/npm/dropdowntrees/summary-tag/summary-tag.directive.js +0 -65
- package/dist/npm/dropdowntrees/templates/node-template.directive.js +0 -30
- package/dist/npm/index.js +0 -55
- package/dist/npm/main.js +0 -86
- package/dist/npm/multiselect/multiselect.component.js +0 -1736
- package/dist/npm/multiselect/multiselect.module.js +0 -52
- package/dist/npm/multiselect/summary-tag.directive.js +0 -67
- package/dist/npm/package-metadata.js +0 -17
- package/dist/systemjs/kendo-angular-dropdowns.js +0 -5
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
|
6
|
-
var DropDownTreeComponent_1;
|
|
7
|
-
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, TemplateRef, ViewChild, ChangeDetectorRef, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewChild, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener } from '@angular/core';
|
|
8
6
|
import { anyChanged, guid, hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
9
|
-
import {
|
|
10
|
-
import { TreeViewComponent, DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
|
|
7
|
+
import { DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
|
|
11
8
|
import { getter } from '@progress/kendo-common';
|
|
12
9
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
10
|
import { DataService } from '../common/data.service';
|
|
@@ -26,20 +23,29 @@ import { NodeTemplateDirective } from './templates/node-template.directive';
|
|
|
26
23
|
import { DropDownTreeMessages } from '../common/constants/error-messages';
|
|
27
24
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
28
25
|
import { ValueTemplateDirective } from '../common/templates/value-template.directive';
|
|
29
|
-
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
import * as i1 from "@progress/kendo-angular-popup";
|
|
28
|
+
import * as i2 from "../common/navigation/navigation.service";
|
|
29
|
+
import * as i3 from "@progress/kendo-angular-l10n";
|
|
30
|
+
import * as i4 from "@progress/kendo-angular-treeview";
|
|
31
|
+
import * as i5 from "../common/localization/localized-messages.directive";
|
|
32
|
+
import * as i6 from "@angular/common";
|
|
33
|
+
import * as i7 from "../common/templates/template-context.directive";
|
|
34
|
+
import * as i8 from "@angular/forms";
|
|
35
|
+
import * as i9 from "../common/filter-input.directive";
|
|
36
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
30
37
|
const DEFAULT_POPUP_SETTINGS = { animate: true };
|
|
31
38
|
const hasChildren = () => false;
|
|
32
|
-
const ɵ0 = hasChildren;
|
|
33
39
|
const fetchChildren = () => of([]);
|
|
34
|
-
const ɵ1 = fetchChildren;
|
|
35
40
|
const itemDisabled = () => false;
|
|
36
|
-
const ɵ2 = itemDisabled;
|
|
37
41
|
const isNodeVisible = () => true;
|
|
38
|
-
const
|
|
42
|
+
const DEFAULT_SIZE = 'medium';
|
|
43
|
+
const DEFAULT_ROUNDED = 'medium';
|
|
44
|
+
const DEFAULT_FILL_MODE = 'solid';
|
|
39
45
|
/**
|
|
40
46
|
* Represents the [Kendo UI DropDownTree component for Angular]({% slug overview_ddt %}).
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
export class DropDownTreeComponent {
|
|
43
49
|
constructor(wrapper, popupService, navigationService, renderer, _zone, cdr, localization, touchEnabled) {
|
|
44
50
|
this.wrapper = wrapper;
|
|
45
51
|
this.popupService = popupService;
|
|
@@ -314,18 +320,19 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
314
320
|
* Sets the size of the component.
|
|
315
321
|
*
|
|
316
322
|
* The possible values are:
|
|
317
|
-
* * `
|
|
318
|
-
* * `
|
|
319
|
-
* * `
|
|
320
|
-
* * `
|
|
323
|
+
* * `small`
|
|
324
|
+
* * `medium` (default)
|
|
325
|
+
* * `large`
|
|
326
|
+
* * `none`
|
|
321
327
|
*
|
|
322
328
|
*/
|
|
323
329
|
set size(size) {
|
|
330
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
324
331
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('picker', this.size));
|
|
325
|
-
if (size) {
|
|
326
|
-
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('picker',
|
|
332
|
+
if (size !== 'none') {
|
|
333
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('picker', newSize));
|
|
327
334
|
}
|
|
328
|
-
this._size =
|
|
335
|
+
this._size = newSize;
|
|
329
336
|
}
|
|
330
337
|
get size() {
|
|
331
338
|
return this._size;
|
|
@@ -334,19 +341,20 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
334
341
|
* Sets the border radius of the component.
|
|
335
342
|
*
|
|
336
343
|
* The possible values are:
|
|
337
|
-
* * `
|
|
338
|
-
* * `
|
|
339
|
-
* * `
|
|
340
|
-
* * `
|
|
341
|
-
* * `
|
|
344
|
+
* * `small`
|
|
345
|
+
* * `medium` (default)
|
|
346
|
+
* * `large`
|
|
347
|
+
* * `full`
|
|
348
|
+
* * `none`
|
|
342
349
|
*
|
|
343
350
|
*/
|
|
344
351
|
set rounded(rounded) {
|
|
352
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
345
353
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
346
|
-
if (rounded) {
|
|
347
|
-
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(
|
|
354
|
+
if (rounded !== 'none') {
|
|
355
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
348
356
|
}
|
|
349
|
-
this._rounded =
|
|
357
|
+
this._rounded = newRounded;
|
|
350
358
|
}
|
|
351
359
|
get rounded() {
|
|
352
360
|
return this._rounded;
|
|
@@ -355,18 +363,19 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
355
363
|
* Sets the fillMode of the component.
|
|
356
364
|
*
|
|
357
365
|
* The possible values are:
|
|
358
|
-
* * `
|
|
359
|
-
* * `
|
|
360
|
-
* * `
|
|
361
|
-
* * `
|
|
366
|
+
* * `flat`
|
|
367
|
+
* * `solid` (default)
|
|
368
|
+
* * `outline`
|
|
369
|
+
* * `none`
|
|
362
370
|
*
|
|
363
371
|
*/
|
|
364
372
|
set fillMode(fillMode) {
|
|
373
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
365
374
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('picker', this.fillMode));
|
|
366
|
-
if (fillMode) {
|
|
367
|
-
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker',
|
|
375
|
+
if (fillMode !== 'none') {
|
|
376
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker', newFillMode));
|
|
368
377
|
}
|
|
369
|
-
this._fillMode =
|
|
378
|
+
this._fillMode = newFillMode;
|
|
370
379
|
}
|
|
371
380
|
get fillMode() {
|
|
372
381
|
return this._fillMode;
|
|
@@ -517,9 +526,12 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
517
526
|
}
|
|
518
527
|
const togglePrevented = this.triggerPopupEvents(open);
|
|
519
528
|
if (!togglePrevented) {
|
|
520
|
-
open
|
|
521
|
-
this.createPopup()
|
|
529
|
+
if (open) {
|
|
530
|
+
this.createPopup();
|
|
531
|
+
}
|
|
532
|
+
else {
|
|
522
533
|
this.destroyPopup();
|
|
534
|
+
}
|
|
523
535
|
}
|
|
524
536
|
}
|
|
525
537
|
/**
|
|
@@ -712,15 +724,15 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
712
724
|
/**
|
|
713
725
|
* @hidden
|
|
714
726
|
*/
|
|
715
|
-
handleFilterInputChange(
|
|
716
|
-
this.filterChange.next(
|
|
727
|
+
handleFilterInputChange(input) {
|
|
728
|
+
this.filterChange.next(input.value);
|
|
717
729
|
this.allNodesHidden = this.nodes.every((node, index) => !this.isVisible(node, String(index)));
|
|
718
730
|
}
|
|
719
731
|
/**
|
|
720
732
|
* @hidden
|
|
721
733
|
*/
|
|
722
734
|
get buttonClasses() {
|
|
723
|
-
return this.loading ? 'k-i-loading' : 'k-i-arrow-s';
|
|
735
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : 'k-i-arrow-s';
|
|
724
736
|
}
|
|
725
737
|
/**
|
|
726
738
|
* @hidden
|
|
@@ -942,304 +954,46 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
942
954
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-describedby', newValue);
|
|
943
955
|
}
|
|
944
956
|
setComponentClasses() {
|
|
945
|
-
if (this.size) {
|
|
957
|
+
if (this.size !== 'none') {
|
|
946
958
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('picker', this.size));
|
|
947
959
|
}
|
|
948
|
-
if (this.rounded) {
|
|
960
|
+
if (this.rounded !== 'none') {
|
|
949
961
|
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
950
962
|
}
|
|
951
|
-
if (this.fillMode) {
|
|
963
|
+
if (this.fillMode !== 'none') {
|
|
952
964
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker', this.fillMode));
|
|
953
965
|
}
|
|
954
966
|
}
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
], DropDownTreeComponent.prototype, "hostTabIndex", null);
|
|
986
|
-
tslib_1.__decorate([
|
|
987
|
-
HostBinding('attr.role'),
|
|
988
|
-
tslib_1.__metadata("design:type", String)
|
|
989
|
-
], DropDownTreeComponent.prototype, "role", void 0);
|
|
990
|
-
tslib_1.__decorate([
|
|
991
|
-
HostBinding('attr.aria-haspopup'),
|
|
992
|
-
tslib_1.__metadata("design:type", String)
|
|
993
|
-
], DropDownTreeComponent.prototype, "ariaHasPopup", void 0);
|
|
994
|
-
tslib_1.__decorate([
|
|
995
|
-
HostBinding('attr.aria-expanded'),
|
|
996
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
997
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
998
|
-
], DropDownTreeComponent.prototype, "isAriaExpanded", null);
|
|
999
|
-
tslib_1.__decorate([
|
|
1000
|
-
HostBinding('attr.readonly'),
|
|
1001
|
-
HostBinding('attr.aria-readonly'),
|
|
1002
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1003
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1004
|
-
], DropDownTreeComponent.prototype, "isReadonly", null);
|
|
1005
|
-
tslib_1.__decorate([
|
|
1006
|
-
HostListener('click'),
|
|
1007
|
-
tslib_1.__metadata("design:type", Function),
|
|
1008
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
1009
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1010
|
-
], DropDownTreeComponent.prototype, "handleClick", null);
|
|
1011
|
-
tslib_1.__decorate([
|
|
1012
|
-
HostListener('keydown', ['$event']),
|
|
1013
|
-
tslib_1.__metadata("design:type", Function),
|
|
1014
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
1015
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1016
|
-
], DropDownTreeComponent.prototype, "handleKeydown", null);
|
|
1017
|
-
tslib_1.__decorate([
|
|
1018
|
-
ContentChild(NoDataTemplateDirective, { static: false }),
|
|
1019
|
-
tslib_1.__metadata("design:type", NoDataTemplateDirective)
|
|
1020
|
-
], DropDownTreeComponent.prototype, "noDataTemplate", void 0);
|
|
1021
|
-
tslib_1.__decorate([
|
|
1022
|
-
ContentChild(HeaderTemplateDirective, { static: false }),
|
|
1023
|
-
tslib_1.__metadata("design:type", HeaderTemplateDirective)
|
|
1024
|
-
], DropDownTreeComponent.prototype, "headerTemplate", void 0);
|
|
1025
|
-
tslib_1.__decorate([
|
|
1026
|
-
ContentChild(FooterTemplateDirective, { static: false }),
|
|
1027
|
-
tslib_1.__metadata("design:type", FooterTemplateDirective)
|
|
1028
|
-
], DropDownTreeComponent.prototype, "footerTemplate", void 0);
|
|
1029
|
-
tslib_1.__decorate([
|
|
1030
|
-
ContentChild(NodeTemplateDirective, { static: false }),
|
|
1031
|
-
tslib_1.__metadata("design:type", NodeTemplateDirective)
|
|
1032
|
-
], DropDownTreeComponent.prototype, "nodeTemplate", void 0);
|
|
1033
|
-
tslib_1.__decorate([
|
|
1034
|
-
ContentChild(ValueTemplateDirective, { static: false }),
|
|
1035
|
-
tslib_1.__metadata("design:type", ValueTemplateDirective)
|
|
1036
|
-
], DropDownTreeComponent.prototype, "valueTemplate", void 0);
|
|
1037
|
-
tslib_1.__decorate([
|
|
1038
|
-
ViewChild('popupTemplate', { static: true }),
|
|
1039
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
1040
|
-
], DropDownTreeComponent.prototype, "popupTemplate", void 0);
|
|
1041
|
-
tslib_1.__decorate([
|
|
1042
|
-
ViewChild('container', { read: ViewContainerRef, static: true }),
|
|
1043
|
-
tslib_1.__metadata("design:type", ViewContainerRef)
|
|
1044
|
-
], DropDownTreeComponent.prototype, "container", void 0);
|
|
1045
|
-
tslib_1.__decorate([
|
|
1046
|
-
ViewChild('treeview', { static: false }),
|
|
1047
|
-
tslib_1.__metadata("design:type", TreeViewComponent),
|
|
1048
|
-
tslib_1.__metadata("design:paramtypes", [TreeViewComponent])
|
|
1049
|
-
], DropDownTreeComponent.prototype, "treeview", null);
|
|
1050
|
-
tslib_1.__decorate([
|
|
1051
|
-
ViewChild('filterInput', { static: false }),
|
|
1052
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
1053
|
-
], DropDownTreeComponent.prototype, "filterInput", void 0);
|
|
1054
|
-
tslib_1.__decorate([
|
|
1055
|
-
Output(),
|
|
1056
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1057
|
-
], DropDownTreeComponent.prototype, "open", void 0);
|
|
1058
|
-
tslib_1.__decorate([
|
|
1059
|
-
Output(),
|
|
1060
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1061
|
-
], DropDownTreeComponent.prototype, "opened", void 0);
|
|
1062
|
-
tslib_1.__decorate([
|
|
1063
|
-
Output(),
|
|
1064
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1065
|
-
], DropDownTreeComponent.prototype, "close", void 0);
|
|
1066
|
-
tslib_1.__decorate([
|
|
1067
|
-
Output(),
|
|
1068
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1069
|
-
], DropDownTreeComponent.prototype, "closed", void 0);
|
|
1070
|
-
tslib_1.__decorate([
|
|
1071
|
-
Output(),
|
|
1072
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1073
|
-
], DropDownTreeComponent.prototype, "nodeExpand", void 0);
|
|
1074
|
-
tslib_1.__decorate([
|
|
1075
|
-
Output(),
|
|
1076
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1077
|
-
], DropDownTreeComponent.prototype, "nodeCollapse", void 0);
|
|
1078
|
-
tslib_1.__decorate([
|
|
1079
|
-
Output('focus'),
|
|
1080
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1081
|
-
], DropDownTreeComponent.prototype, "onFocus", void 0);
|
|
1082
|
-
tslib_1.__decorate([
|
|
1083
|
-
Output('blur'),
|
|
1084
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1085
|
-
], DropDownTreeComponent.prototype, "onBlur", void 0);
|
|
1086
|
-
tslib_1.__decorate([
|
|
1087
|
-
Output(),
|
|
1088
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1089
|
-
], DropDownTreeComponent.prototype, "valueChange", void 0);
|
|
1090
|
-
tslib_1.__decorate([
|
|
1091
|
-
Output(),
|
|
1092
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
1093
|
-
], DropDownTreeComponent.prototype, "filterChange", void 0);
|
|
1094
|
-
tslib_1.__decorate([
|
|
1095
|
-
Input(),
|
|
1096
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1097
|
-
], DropDownTreeComponent.prototype, "loading", void 0);
|
|
1098
|
-
tslib_1.__decorate([
|
|
1099
|
-
Input(),
|
|
1100
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1101
|
-
], DropDownTreeComponent.prototype, "clearButton", void 0);
|
|
1102
|
-
tslib_1.__decorate([
|
|
1103
|
-
Input(),
|
|
1104
|
-
tslib_1.__metadata("design:type", Array),
|
|
1105
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
1106
|
-
], DropDownTreeComponent.prototype, "data", null);
|
|
1107
|
-
tslib_1.__decorate([
|
|
1108
|
-
Input(),
|
|
1109
|
-
tslib_1.__metadata("design:type", Object),
|
|
1110
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
1111
|
-
], DropDownTreeComponent.prototype, "value", null);
|
|
1112
|
-
tslib_1.__decorate([
|
|
1113
|
-
Input(),
|
|
1114
|
-
tslib_1.__metadata("design:type", Object)
|
|
1115
|
-
], DropDownTreeComponent.prototype, "textField", void 0);
|
|
1116
|
-
tslib_1.__decorate([
|
|
1117
|
-
Input(),
|
|
1118
|
-
tslib_1.__metadata("design:type", Object)
|
|
1119
|
-
], DropDownTreeComponent.prototype, "valueField", void 0);
|
|
1120
|
-
tslib_1.__decorate([
|
|
1121
|
-
Input(),
|
|
1122
|
-
tslib_1.__metadata("design:type", Number)
|
|
1123
|
-
], DropDownTreeComponent.prototype, "valueDepth", void 0);
|
|
1124
|
-
tslib_1.__decorate([
|
|
1125
|
-
Input(),
|
|
1126
|
-
tslib_1.__metadata("design:type", Function)
|
|
1127
|
-
], DropDownTreeComponent.prototype, "hasChildren", void 0);
|
|
1128
|
-
tslib_1.__decorate([
|
|
1129
|
-
Input(),
|
|
1130
|
-
tslib_1.__metadata("design:type", Function)
|
|
1131
|
-
], DropDownTreeComponent.prototype, "fetchChildren", void 0);
|
|
1132
|
-
tslib_1.__decorate([
|
|
1133
|
-
Input(),
|
|
1134
|
-
tslib_1.__metadata("design:type", String)
|
|
1135
|
-
], DropDownTreeComponent.prototype, "placeholder", void 0);
|
|
1136
|
-
tslib_1.__decorate([
|
|
1137
|
-
Input(),
|
|
1138
|
-
tslib_1.__metadata("design:type", Object),
|
|
1139
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
1140
|
-
], DropDownTreeComponent.prototype, "popupSettings", null);
|
|
1141
|
-
tslib_1.__decorate([
|
|
1142
|
-
Input(),
|
|
1143
|
-
tslib_1.__metadata("design:type", Object),
|
|
1144
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
1145
|
-
], DropDownTreeComponent.prototype, "dataItem", null);
|
|
1146
|
-
tslib_1.__decorate([
|
|
1147
|
-
Input(),
|
|
1148
|
-
tslib_1.__metadata("design:type", Number)
|
|
1149
|
-
], DropDownTreeComponent.prototype, "listHeight", void 0);
|
|
1150
|
-
tslib_1.__decorate([
|
|
1151
|
-
Input(),
|
|
1152
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1153
|
-
], DropDownTreeComponent.prototype, "disabled", void 0);
|
|
1154
|
-
tslib_1.__decorate([
|
|
1155
|
-
Input(),
|
|
1156
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1157
|
-
], DropDownTreeComponent.prototype, "readonly", void 0);
|
|
1158
|
-
tslib_1.__decorate([
|
|
1159
|
-
Input(),
|
|
1160
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1161
|
-
], DropDownTreeComponent.prototype, "valuePrimitive", void 0);
|
|
1162
|
-
tslib_1.__decorate([
|
|
1163
|
-
Input(),
|
|
1164
|
-
tslib_1.__metadata("design:type", Number),
|
|
1165
|
-
tslib_1.__metadata("design:paramtypes", [Number])
|
|
1166
|
-
], DropDownTreeComponent.prototype, "tabindex", null);
|
|
1167
|
-
tslib_1.__decorate([
|
|
1168
|
-
Input(),
|
|
1169
|
-
tslib_1.__metadata("design:type", String),
|
|
1170
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1171
|
-
], DropDownTreeComponent.prototype, "size", null);
|
|
1172
|
-
tslib_1.__decorate([
|
|
1173
|
-
Input(),
|
|
1174
|
-
tslib_1.__metadata("design:type", String),
|
|
1175
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1176
|
-
], DropDownTreeComponent.prototype, "rounded", null);
|
|
1177
|
-
tslib_1.__decorate([
|
|
1178
|
-
Input(),
|
|
1179
|
-
tslib_1.__metadata("design:type", String),
|
|
1180
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
1181
|
-
], DropDownTreeComponent.prototype, "fillMode", null);
|
|
1182
|
-
tslib_1.__decorate([
|
|
1183
|
-
Input(),
|
|
1184
|
-
tslib_1.__metadata("design:type", Function)
|
|
1185
|
-
], DropDownTreeComponent.prototype, "itemDisabled", void 0);
|
|
1186
|
-
tslib_1.__decorate([
|
|
1187
|
-
Input(),
|
|
1188
|
-
tslib_1.__metadata("design:type", Function)
|
|
1189
|
-
], DropDownTreeComponent.prototype, "isNodeExpanded", void 0);
|
|
1190
|
-
tslib_1.__decorate([
|
|
1191
|
-
Input(),
|
|
1192
|
-
tslib_1.__metadata("design:type", Function)
|
|
1193
|
-
], DropDownTreeComponent.prototype, "isNodeVisible", void 0);
|
|
1194
|
-
tslib_1.__decorate([
|
|
1195
|
-
Input(),
|
|
1196
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1197
|
-
], DropDownTreeComponent.prototype, "loadOnDemand", void 0);
|
|
1198
|
-
tslib_1.__decorate([
|
|
1199
|
-
Input(),
|
|
1200
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1201
|
-
], DropDownTreeComponent.prototype, "filterable", void 0);
|
|
1202
|
-
tslib_1.__decorate([
|
|
1203
|
-
Input(),
|
|
1204
|
-
tslib_1.__metadata("design:type", String)
|
|
1205
|
-
], DropDownTreeComponent.prototype, "filter", void 0);
|
|
1206
|
-
tslib_1.__decorate([
|
|
1207
|
-
Input(),
|
|
1208
|
-
tslib_1.__metadata("design:type", String)
|
|
1209
|
-
], DropDownTreeComponent.prototype, "focusableId", void 0);
|
|
1210
|
-
DropDownTreeComponent = DropDownTreeComponent_1 = tslib_1.__decorate([
|
|
1211
|
-
Component({
|
|
1212
|
-
exportAs: 'kendoDropDownTree',
|
|
1213
|
-
providers: [
|
|
1214
|
-
DataService,
|
|
1215
|
-
SelectionService,
|
|
1216
|
-
NavigationService,
|
|
1217
|
-
DisabledItemsService,
|
|
1218
|
-
LocalizationService,
|
|
1219
|
-
{
|
|
1220
|
-
provide: L10N_PREFIX,
|
|
1221
|
-
useValue: 'kendo.dropdowntree'
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
multi: true,
|
|
1225
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1226
|
-
useExisting: forwardRef(() => DropDownTreeComponent_1)
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
provide: KendoInput,
|
|
1230
|
-
useExisting: forwardRef(() => DropDownTreeComponent_1)
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
provide: DataBoundComponent,
|
|
1234
|
-
useExisting: forwardRef(() => DropDownTreeComponent_1)
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
provide: ExpandableComponent,
|
|
1238
|
-
useExisting: forwardRef(() => DropDownTreeComponent_1)
|
|
1239
|
-
}
|
|
1240
|
-
],
|
|
1241
|
-
selector: 'kendo-dropdowntree',
|
|
1242
|
-
template: `
|
|
967
|
+
}
|
|
968
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
969
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.readonly": "this.isReadonly", "attr.aria-readonly": "this.isReadonly" } }, providers: [
|
|
970
|
+
DataService,
|
|
971
|
+
SelectionService,
|
|
972
|
+
NavigationService,
|
|
973
|
+
DisabledItemsService,
|
|
974
|
+
LocalizationService,
|
|
975
|
+
{
|
|
976
|
+
provide: L10N_PREFIX,
|
|
977
|
+
useValue: 'kendo.dropdowntree'
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
multi: true,
|
|
981
|
+
provide: NG_VALUE_ACCESSOR,
|
|
982
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
provide: KendoInput,
|
|
986
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
provide: DataBoundComponent,
|
|
990
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
provide: ExpandableComponent,
|
|
994
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
995
|
+
}
|
|
996
|
+
], queries: [{ propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], exportAs: ["kendoDropDownTree"], usesOnChanges: true, ngImport: i0, template: `
|
|
1243
997
|
<ng-container kendoDropDownTreeLocalizedMessages
|
|
1244
998
|
i18n-noDataText="kendo.dropdowntree.noDataText|The text displayed in the popup when there are no items"
|
|
1245
999
|
noDataText="NO DATA FOUND"
|
|
@@ -1303,7 +1057,177 @@ DropDownTreeComponent = DropDownTreeComponent_1 = tslib_1.__decorate([
|
|
|
1303
1057
|
</span>
|
|
1304
1058
|
<input
|
|
1305
1059
|
#filterInput
|
|
1306
|
-
(input)="handleFilterInputChange($event.target
|
|
1060
|
+
(input)="handleFilterInputChange($event.target)"
|
|
1061
|
+
[filterInput]="filterable && !touchEnabled"
|
|
1062
|
+
(keydown.arrowdown)="handleKeydown($event)"
|
|
1063
|
+
(keydown.alt.arrowup)="handleKeydown($event)"
|
|
1064
|
+
[(ngModel)]="filter"
|
|
1065
|
+
class="k-input-inner"
|
|
1066
|
+
role="textbox"
|
|
1067
|
+
aria-haspopup="true"
|
|
1068
|
+
aria-expanded="false"
|
|
1069
|
+
tabindex="0"
|
|
1070
|
+
aria-disabled="false"
|
|
1071
|
+
aria-readonly="false"
|
|
1072
|
+
[kendoEventsOutsideAngular]="{
|
|
1073
|
+
blur: handleBlur
|
|
1074
|
+
}"
|
|
1075
|
+
[scope]="this"
|
|
1076
|
+
>
|
|
1077
|
+
</span>
|
|
1078
|
+
</span>
|
|
1079
|
+
<!--header template-->
|
|
1080
|
+
<ng-template
|
|
1081
|
+
*ngIf="headerTemplate"
|
|
1082
|
+
[templateContext]="{
|
|
1083
|
+
templateRef: headerTemplate?.templateRef
|
|
1084
|
+
}">
|
|
1085
|
+
</ng-template>
|
|
1086
|
+
<kendo-treeview
|
|
1087
|
+
#treeview
|
|
1088
|
+
*ngIf="data.length !== 0 && !allNodesHidden"
|
|
1089
|
+
[size]="size"
|
|
1090
|
+
[nodes]="data"
|
|
1091
|
+
[style.maxHeight.px]="listHeight"
|
|
1092
|
+
[animate]="false"
|
|
1093
|
+
[(selectedKeys)]="selectedKeys"
|
|
1094
|
+
[selectBy]="selectBy"
|
|
1095
|
+
[textField]="textField"
|
|
1096
|
+
kendoTreeViewSelectable
|
|
1097
|
+
[children]="children"
|
|
1098
|
+
[hasChildren]="hasChildren"
|
|
1099
|
+
[loadOnDemand]="loadOnDemand"
|
|
1100
|
+
[isExpanded]="isNodeExpanded"
|
|
1101
|
+
[isDisabled]="itemDisabled"
|
|
1102
|
+
[nodeTemplate]="nodeTemplate"
|
|
1103
|
+
[filter]="filter"
|
|
1104
|
+
[isVisible]="isNodeVisible"
|
|
1105
|
+
(focusout)="handleBlur($event)"
|
|
1106
|
+
(keydown)="handleKeydown($event)"
|
|
1107
|
+
(selectionChange)="onSelectionChange($event)"
|
|
1108
|
+
(expand)="nodeExpand.emit($event)"
|
|
1109
|
+
(collapse)="nodeCollapse.emit($event)"
|
|
1110
|
+
>
|
|
1111
|
+
</kendo-treeview>
|
|
1112
|
+
<!--footer template-->
|
|
1113
|
+
<ng-template
|
|
1114
|
+
*ngIf="footerTemplate"
|
|
1115
|
+
[templateContext]="{
|
|
1116
|
+
templateRef: footerTemplate?.templateRef
|
|
1117
|
+
}">
|
|
1118
|
+
</ng-template>
|
|
1119
|
+
<!--no-data template-->
|
|
1120
|
+
<div class="k-no-data" *ngIf="data.length === 0 || allNodesHidden">
|
|
1121
|
+
<ng-template [ngIf]="noDataTemplate"
|
|
1122
|
+
[templateContext]="{
|
|
1123
|
+
templateRef: noDataTemplate?.templateRef
|
|
1124
|
+
}">
|
|
1125
|
+
</ng-template>
|
|
1126
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
1127
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
1128
|
+
</ng-template>
|
|
1129
|
+
</div>
|
|
1130
|
+
</ng-template>
|
|
1131
|
+
<ng-container #container></ng-container>
|
|
1132
|
+
`, isInline: true, components: [{ type: i4.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i5.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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: i9.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
1134
|
+
type: Component,
|
|
1135
|
+
args: [{
|
|
1136
|
+
exportAs: 'kendoDropDownTree',
|
|
1137
|
+
providers: [
|
|
1138
|
+
DataService,
|
|
1139
|
+
SelectionService,
|
|
1140
|
+
NavigationService,
|
|
1141
|
+
DisabledItemsService,
|
|
1142
|
+
LocalizationService,
|
|
1143
|
+
{
|
|
1144
|
+
provide: L10N_PREFIX,
|
|
1145
|
+
useValue: 'kendo.dropdowntree'
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
multi: true,
|
|
1149
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1150
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
provide: KendoInput,
|
|
1154
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
provide: DataBoundComponent,
|
|
1158
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
provide: ExpandableComponent,
|
|
1162
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
selector: 'kendo-dropdowntree',
|
|
1166
|
+
template: `
|
|
1167
|
+
<ng-container kendoDropDownTreeLocalizedMessages
|
|
1168
|
+
i18n-noDataText="kendo.dropdowntree.noDataText|The text displayed in the popup when there are no items"
|
|
1169
|
+
noDataText="NO DATA FOUND"
|
|
1170
|
+
|
|
1171
|
+
i18n-clearTitle="kendo.dropdowntree.clearTitle|The title of the clear button"
|
|
1172
|
+
clearTitle="clear"
|
|
1173
|
+
|
|
1174
|
+
i18n-selectButtonText="kendo.dropdowntree.selectButtonText|The text set as aria-label on the select button"
|
|
1175
|
+
selectButtonText="Select"
|
|
1176
|
+
>
|
|
1177
|
+
</ng-container>
|
|
1178
|
+
<span
|
|
1179
|
+
[attr.id]="valueLabelId"
|
|
1180
|
+
class="k-input-inner"
|
|
1181
|
+
role="option"
|
|
1182
|
+
>
|
|
1183
|
+
<span class="k-input-value-text">
|
|
1184
|
+
<ng-template *ngIf="valueTemplate"
|
|
1185
|
+
[templateContext]="{
|
|
1186
|
+
templateRef: valueTemplate.templateRef,
|
|
1187
|
+
$implicit: dataItem
|
|
1188
|
+
}">
|
|
1189
|
+
</ng-template>
|
|
1190
|
+
<ng-template [ngIf]="!valueTemplate"> {{ text || placeholder }} </ng-template>
|
|
1191
|
+
</span>
|
|
1192
|
+
</span>
|
|
1193
|
+
<span
|
|
1194
|
+
*ngIf="!loading && !readonly && clearButton && text?.length && !disabled"
|
|
1195
|
+
class="k-clear-value"
|
|
1196
|
+
[style.visibility]="clearButtonVisiblity"
|
|
1197
|
+
aria-hidden="true"
|
|
1198
|
+
[attr.title]="messageFor('clearTitle')"
|
|
1199
|
+
(click)="clearValue($event)"
|
|
1200
|
+
>
|
|
1201
|
+
<span class="k-icon k-i-x"></span>
|
|
1202
|
+
</span>
|
|
1203
|
+
<button
|
|
1204
|
+
tabindex="-1"
|
|
1205
|
+
type="button"
|
|
1206
|
+
aria-hidden="true"
|
|
1207
|
+
class="k-input-button k-button k-icon-button"
|
|
1208
|
+
[ngClass]="selectButtonClasses"
|
|
1209
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
1210
|
+
>
|
|
1211
|
+
<span
|
|
1212
|
+
class="k-button-icon k-icon"
|
|
1213
|
+
[ngClass]="buttonClasses"
|
|
1214
|
+
></span>
|
|
1215
|
+
</button>
|
|
1216
|
+
<ng-template #popupTemplate>
|
|
1217
|
+
<span
|
|
1218
|
+
*ngIf="filterable"
|
|
1219
|
+
class="k-list-filter"
|
|
1220
|
+
>
|
|
1221
|
+
<span
|
|
1222
|
+
class="k-textbox k-input"
|
|
1223
|
+
[ngClass]="filterInputClasses"
|
|
1224
|
+
>
|
|
1225
|
+
<span class="k-input-prefix">
|
|
1226
|
+
<span class="k-input-icon k-icon k-i-search"></span>
|
|
1227
|
+
</span>
|
|
1228
|
+
<input
|
|
1229
|
+
#filterInput
|
|
1230
|
+
(input)="handleFilterInputChange($event.target)"
|
|
1307
1231
|
[filterInput]="filterable && !touchEnabled"
|
|
1308
1232
|
(keydown.arrowdown)="handleKeydown($event)"
|
|
1309
1233
|
(keydown.alt.arrowup)="handleKeydown($event)"
|
|
@@ -1376,16 +1300,159 @@ DropDownTreeComponent = DropDownTreeComponent_1 = tslib_1.__decorate([
|
|
|
1376
1300
|
</ng-template>
|
|
1377
1301
|
<ng-container #container></ng-container>
|
|
1378
1302
|
`,
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1303
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1304
|
+
}]
|
|
1305
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i3.LocalizationService }, { type: undefined, decorators: [{
|
|
1306
|
+
type: Optional
|
|
1307
|
+
}, {
|
|
1308
|
+
type: Inject,
|
|
1309
|
+
args: [TOUCH_ENABLED]
|
|
1310
|
+
}] }]; }, propDecorators: { hostClasses: [{
|
|
1311
|
+
type: HostBinding,
|
|
1312
|
+
args: ['class.k-dropdowntree']
|
|
1313
|
+
}, {
|
|
1314
|
+
type: HostBinding,
|
|
1315
|
+
args: ['class.k-picker']
|
|
1316
|
+
}], isDisabled: [{
|
|
1317
|
+
type: HostBinding,
|
|
1318
|
+
args: ['class.k-disabled']
|
|
1319
|
+
}, {
|
|
1320
|
+
type: HostBinding,
|
|
1321
|
+
args: ['attr.aria-disabled']
|
|
1322
|
+
}], isLoading: [{
|
|
1323
|
+
type: HostBinding,
|
|
1324
|
+
args: ['class.k-loading']
|
|
1325
|
+
}], id: [{
|
|
1326
|
+
type: HostBinding,
|
|
1327
|
+
args: ['attr.id']
|
|
1328
|
+
}], direction: [{
|
|
1329
|
+
type: HostBinding,
|
|
1330
|
+
args: ['attr.dir']
|
|
1331
|
+
}], hostTabIndex: [{
|
|
1332
|
+
type: HostBinding,
|
|
1333
|
+
args: ['attr.tabindex']
|
|
1334
|
+
}], role: [{
|
|
1335
|
+
type: HostBinding,
|
|
1336
|
+
args: ['attr.role']
|
|
1337
|
+
}], ariaHasPopup: [{
|
|
1338
|
+
type: HostBinding,
|
|
1339
|
+
args: ['attr.aria-haspopup']
|
|
1340
|
+
}], isAriaExpanded: [{
|
|
1341
|
+
type: HostBinding,
|
|
1342
|
+
args: ['attr.aria-expanded']
|
|
1343
|
+
}], isReadonly: [{
|
|
1344
|
+
type: HostBinding,
|
|
1345
|
+
args: ['attr.readonly']
|
|
1346
|
+
}, {
|
|
1347
|
+
type: HostBinding,
|
|
1348
|
+
args: ['attr.aria-readonly']
|
|
1349
|
+
}], handleClick: [{
|
|
1350
|
+
type: HostListener,
|
|
1351
|
+
args: ['click']
|
|
1352
|
+
}], handleKeydown: [{
|
|
1353
|
+
type: HostListener,
|
|
1354
|
+
args: ['keydown', ['$event']]
|
|
1355
|
+
}], noDataTemplate: [{
|
|
1356
|
+
type: ContentChild,
|
|
1357
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1358
|
+
}], headerTemplate: [{
|
|
1359
|
+
type: ContentChild,
|
|
1360
|
+
args: [HeaderTemplateDirective, { static: false }]
|
|
1361
|
+
}], footerTemplate: [{
|
|
1362
|
+
type: ContentChild,
|
|
1363
|
+
args: [FooterTemplateDirective, { static: false }]
|
|
1364
|
+
}], nodeTemplate: [{
|
|
1365
|
+
type: ContentChild,
|
|
1366
|
+
args: [NodeTemplateDirective, { static: false }]
|
|
1367
|
+
}], valueTemplate: [{
|
|
1368
|
+
type: ContentChild,
|
|
1369
|
+
args: [ValueTemplateDirective, { static: false }]
|
|
1370
|
+
}], popupTemplate: [{
|
|
1371
|
+
type: ViewChild,
|
|
1372
|
+
args: ['popupTemplate', { static: true }]
|
|
1373
|
+
}], container: [{
|
|
1374
|
+
type: ViewChild,
|
|
1375
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
1376
|
+
}], treeview: [{
|
|
1377
|
+
type: ViewChild,
|
|
1378
|
+
args: ['treeview', { static: false }]
|
|
1379
|
+
}], filterInput: [{
|
|
1380
|
+
type: ViewChild,
|
|
1381
|
+
args: ['filterInput', { static: false }]
|
|
1382
|
+
}], open: [{
|
|
1383
|
+
type: Output
|
|
1384
|
+
}], opened: [{
|
|
1385
|
+
type: Output
|
|
1386
|
+
}], close: [{
|
|
1387
|
+
type: Output
|
|
1388
|
+
}], closed: [{
|
|
1389
|
+
type: Output
|
|
1390
|
+
}], nodeExpand: [{
|
|
1391
|
+
type: Output
|
|
1392
|
+
}], nodeCollapse: [{
|
|
1393
|
+
type: Output
|
|
1394
|
+
}], onFocus: [{
|
|
1395
|
+
type: Output,
|
|
1396
|
+
args: ['focus']
|
|
1397
|
+
}], onBlur: [{
|
|
1398
|
+
type: Output,
|
|
1399
|
+
args: ['blur']
|
|
1400
|
+
}], valueChange: [{
|
|
1401
|
+
type: Output
|
|
1402
|
+
}], filterChange: [{
|
|
1403
|
+
type: Output
|
|
1404
|
+
}], loading: [{
|
|
1405
|
+
type: Input
|
|
1406
|
+
}], clearButton: [{
|
|
1407
|
+
type: Input
|
|
1408
|
+
}], data: [{
|
|
1409
|
+
type: Input
|
|
1410
|
+
}], value: [{
|
|
1411
|
+
type: Input
|
|
1412
|
+
}], textField: [{
|
|
1413
|
+
type: Input
|
|
1414
|
+
}], valueField: [{
|
|
1415
|
+
type: Input
|
|
1416
|
+
}], valueDepth: [{
|
|
1417
|
+
type: Input
|
|
1418
|
+
}], hasChildren: [{
|
|
1419
|
+
type: Input
|
|
1420
|
+
}], fetchChildren: [{
|
|
1421
|
+
type: Input
|
|
1422
|
+
}], placeholder: [{
|
|
1423
|
+
type: Input
|
|
1424
|
+
}], popupSettings: [{
|
|
1425
|
+
type: Input
|
|
1426
|
+
}], dataItem: [{
|
|
1427
|
+
type: Input
|
|
1428
|
+
}], listHeight: [{
|
|
1429
|
+
type: Input
|
|
1430
|
+
}], disabled: [{
|
|
1431
|
+
type: Input
|
|
1432
|
+
}], readonly: [{
|
|
1433
|
+
type: Input
|
|
1434
|
+
}], valuePrimitive: [{
|
|
1435
|
+
type: Input
|
|
1436
|
+
}], tabindex: [{
|
|
1437
|
+
type: Input
|
|
1438
|
+
}], size: [{
|
|
1439
|
+
type: Input
|
|
1440
|
+
}], rounded: [{
|
|
1441
|
+
type: Input
|
|
1442
|
+
}], fillMode: [{
|
|
1443
|
+
type: Input
|
|
1444
|
+
}], itemDisabled: [{
|
|
1445
|
+
type: Input
|
|
1446
|
+
}], isNodeExpanded: [{
|
|
1447
|
+
type: Input
|
|
1448
|
+
}], isNodeVisible: [{
|
|
1449
|
+
type: Input
|
|
1450
|
+
}], loadOnDemand: [{
|
|
1451
|
+
type: Input
|
|
1452
|
+
}], filterable: [{
|
|
1453
|
+
type: Input
|
|
1454
|
+
}], filter: [{
|
|
1455
|
+
type: Input
|
|
1456
|
+
}], focusableId: [{
|
|
1457
|
+
type: Input
|
|
1458
|
+
}] } });
|