@progress/kendo-angular-dropdowns 6.0.3-dev.202203091003 → 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,10 +2,7 @@
|
|
|
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
|
-
|
|
6
|
-
import * as tslib_1 from "tslib";
|
|
7
|
-
var ComboBoxComponent_1;
|
|
8
|
-
import { Component, forwardRef, ElementRef, TemplateRef, Input, Output, EventEmitter, ContentChild, ViewChild, ViewContainerRef, HostBinding, isDevMode, Optional, Inject, ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
5
|
+
import { Component, forwardRef, Input, Output, EventEmitter, ContentChild, ViewChild, ViewContainerRef, HostBinding, isDevMode, Optional, Inject } from '@angular/core';
|
|
9
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
8
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -27,14 +24,25 @@ import { NavigationAction } from '../common/navigation/navigation-action';
|
|
|
27
24
|
import { Keys } from '@progress/kendo-angular-common';
|
|
28
25
|
import { PreventableEvent } from '../common/models/preventable-event';
|
|
29
26
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
30
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
31
27
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
32
28
|
import { ComboBoxMessages } from '../common/constants/error-messages';
|
|
33
29
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
34
30
|
import { DataService } from '../common/data.service';
|
|
35
|
-
import { ListComponent } from '../common/list.component';
|
|
36
31
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
37
32
|
import { pointers } from '@progress/kendo-common';
|
|
33
|
+
import * as i0 from "@angular/core";
|
|
34
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
35
|
+
import * as i2 from "@progress/kendo-angular-popup";
|
|
36
|
+
import * as i3 from "../common/selection/selection.service";
|
|
37
|
+
import * as i4 from "../common/navigation/navigation.service";
|
|
38
|
+
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
39
|
+
import * as i6 from "../common/data.service";
|
|
40
|
+
import * as i7 from "../common/searchbar.component";
|
|
41
|
+
import * as i8 from "../common/list.component";
|
|
42
|
+
import * as i9 from "@progress/kendo-angular-common";
|
|
43
|
+
import * as i10 from "../common/localization/localized-messages.directive";
|
|
44
|
+
import * as i11 from "@angular/common";
|
|
45
|
+
import * as i12 from "../common/templates/template-context.directive";
|
|
38
46
|
/**
|
|
39
47
|
* @hidden
|
|
40
48
|
*/
|
|
@@ -43,6 +51,9 @@ export const COMBOBOX_VALUE_ACCESSOR = {
|
|
|
43
51
|
provide: NG_VALUE_ACCESSOR,
|
|
44
52
|
useExisting: forwardRef(() => ComboBoxComponent)
|
|
45
53
|
};
|
|
54
|
+
const DEFAULT_SIZE = 'medium';
|
|
55
|
+
const DEFAULT_ROUNDED = 'medium';
|
|
56
|
+
const DEFAULT_FILL_MODE = 'solid';
|
|
46
57
|
/**
|
|
47
58
|
* Represents the [Kendo UI ComboBox component for Angular]({% slug overview_combobox %}).
|
|
48
59
|
*
|
|
@@ -60,7 +71,7 @@ export const COMBOBOX_VALUE_ACCESSOR = {
|
|
|
60
71
|
* }
|
|
61
72
|
* ```
|
|
62
73
|
*/
|
|
63
|
-
|
|
74
|
+
export class ComboBoxComponent {
|
|
64
75
|
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, touchEnabled) {
|
|
65
76
|
this.wrapper = wrapper;
|
|
66
77
|
this.localization = localization;
|
|
@@ -394,18 +405,19 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent {
|
|
|
394
405
|
* Sets the size of the component.
|
|
395
406
|
*
|
|
396
407
|
* The possible values are:
|
|
397
|
-
* * `
|
|
398
|
-
* * `
|
|
399
|
-
* * `
|
|
400
|
-
* * `
|
|
408
|
+
* * `small`
|
|
409
|
+
* * `medium` (default)
|
|
410
|
+
* * `large`
|
|
411
|
+
* * `none`
|
|
401
412
|
*
|
|
402
413
|
*/
|
|
403
414
|
set size(size) {
|
|
415
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
404
416
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
405
|
-
if (size) {
|
|
406
|
-
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input',
|
|
417
|
+
if (size !== 'none') {
|
|
418
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
407
419
|
}
|
|
408
|
-
this._size =
|
|
420
|
+
this._size = newSize;
|
|
409
421
|
}
|
|
410
422
|
get size() {
|
|
411
423
|
return this._size;
|
|
@@ -414,19 +426,20 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent {
|
|
|
414
426
|
* Sets the border radius of the component.
|
|
415
427
|
*
|
|
416
428
|
* The possible values are:
|
|
417
|
-
* * `
|
|
418
|
-
* * `
|
|
419
|
-
* * `
|
|
420
|
-
* * `
|
|
421
|
-
* * `
|
|
429
|
+
* * `small`
|
|
430
|
+
* * `medium` (default)
|
|
431
|
+
* * `large`
|
|
432
|
+
* * `full`
|
|
433
|
+
* * `none`
|
|
422
434
|
*
|
|
423
435
|
*/
|
|
424
436
|
set rounded(rounded) {
|
|
437
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
425
438
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
426
|
-
if (rounded) {
|
|
427
|
-
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(
|
|
439
|
+
if (rounded !== 'none') {
|
|
440
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
428
441
|
}
|
|
429
|
-
this._rounded =
|
|
442
|
+
this._rounded = newRounded;
|
|
430
443
|
}
|
|
431
444
|
get rounded() {
|
|
432
445
|
return this._rounded;
|
|
@@ -435,18 +448,19 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent {
|
|
|
435
448
|
* Sets the fillMode of the component.
|
|
436
449
|
*
|
|
437
450
|
* The possible values are:
|
|
438
|
-
* * `
|
|
439
|
-
* * `
|
|
440
|
-
* * `
|
|
441
|
-
* * `
|
|
451
|
+
* * `flat`
|
|
452
|
+
* * `solid` (default)
|
|
453
|
+
* * `outline`
|
|
454
|
+
* * `none`
|
|
442
455
|
*
|
|
443
456
|
*/
|
|
444
457
|
set fillMode(fillMode) {
|
|
458
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
445
459
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
446
|
-
if (fillMode) {
|
|
447
|
-
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input',
|
|
460
|
+
if (fillMode !== 'none') {
|
|
461
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
448
462
|
}
|
|
449
|
-
this._fillMode =
|
|
463
|
+
this._fillMode = newFillMode;
|
|
450
464
|
}
|
|
451
465
|
get fillMode() {
|
|
452
466
|
return this._fillMode;
|
|
@@ -773,7 +787,7 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent {
|
|
|
773
787
|
* @hidden
|
|
774
788
|
*/
|
|
775
789
|
get buttonClasses() {
|
|
776
|
-
return this.loading ? 'k-i-loading' : this.iconClass || 'k-i-arrow-s';
|
|
790
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass || 'k-i-arrow-s';
|
|
777
791
|
}
|
|
778
792
|
/**
|
|
779
793
|
* @hidden
|
|
@@ -1240,250 +1254,164 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent {
|
|
|
1240
1254
|
this.selectClickDisposeHandler = this.renderer.listen(selectElement, event, this.selectClick.bind(this));
|
|
1241
1255
|
}
|
|
1242
1256
|
setComponentClasses() {
|
|
1243
|
-
if (this.size) {
|
|
1257
|
+
if (this.size !== 'none') {
|
|
1244
1258
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
1245
1259
|
}
|
|
1246
|
-
if (this.rounded) {
|
|
1260
|
+
if (this.rounded !== 'none') {
|
|
1247
1261
|
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
1248
1262
|
}
|
|
1249
|
-
if (this.fillMode) {
|
|
1263
|
+
if (this.fillMode !== 'none') {
|
|
1250
1264
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
1251
1265
|
}
|
|
1252
1266
|
}
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
]
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
]
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
]
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
]
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
]
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
]
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
]
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
]
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
]
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
ContentChild(ItemTemplateDirective, { static: false }),
|
|
1402
|
-
tslib_1.__metadata("design:type", ItemTemplateDirective)
|
|
1403
|
-
], ComboBoxComponent.prototype, "template", void 0);
|
|
1404
|
-
tslib_1.__decorate([
|
|
1405
|
-
ContentChild(HeaderTemplateDirective, { static: false }),
|
|
1406
|
-
tslib_1.__metadata("design:type", HeaderTemplateDirective)
|
|
1407
|
-
], ComboBoxComponent.prototype, "headerTemplate", void 0);
|
|
1408
|
-
tslib_1.__decorate([
|
|
1409
|
-
ContentChild(FooterTemplateDirective, { static: false }),
|
|
1410
|
-
tslib_1.__metadata("design:type", FooterTemplateDirective)
|
|
1411
|
-
], ComboBoxComponent.prototype, "footerTemplate", void 0);
|
|
1412
|
-
tslib_1.__decorate([
|
|
1413
|
-
ContentChild(NoDataTemplateDirective, { static: false }),
|
|
1414
|
-
tslib_1.__metadata("design:type", NoDataTemplateDirective)
|
|
1415
|
-
], ComboBoxComponent.prototype, "noDataTemplate", void 0);
|
|
1416
|
-
tslib_1.__decorate([
|
|
1417
|
-
ContentChild(GroupTemplateDirective, { static: false }),
|
|
1418
|
-
tslib_1.__metadata("design:type", GroupTemplateDirective)
|
|
1419
|
-
], ComboBoxComponent.prototype, "groupTemplate", void 0);
|
|
1420
|
-
tslib_1.__decorate([
|
|
1421
|
-
ContentChild(FixedGroupTemplateDirective, { static: false }),
|
|
1422
|
-
tslib_1.__metadata("design:type", FixedGroupTemplateDirective)
|
|
1423
|
-
], ComboBoxComponent.prototype, "fixedGroupTemplate", void 0);
|
|
1424
|
-
tslib_1.__decorate([
|
|
1425
|
-
ViewChild('container', { read: ViewContainerRef, static: true }),
|
|
1426
|
-
tslib_1.__metadata("design:type", ViewContainerRef)
|
|
1427
|
-
], ComboBoxComponent.prototype, "container", void 0);
|
|
1428
|
-
tslib_1.__decorate([
|
|
1429
|
-
ViewChild('popupTemplate', { static: true }),
|
|
1430
|
-
tslib_1.__metadata("design:type", TemplateRef)
|
|
1431
|
-
], ComboBoxComponent.prototype, "popupTemplate", void 0);
|
|
1432
|
-
tslib_1.__decorate([
|
|
1433
|
-
ViewChild(SearchBarComponent, { static: true }),
|
|
1434
|
-
tslib_1.__metadata("design:type", SearchBarComponent)
|
|
1435
|
-
], ComboBoxComponent.prototype, "searchbar", void 0);
|
|
1436
|
-
tslib_1.__decorate([
|
|
1437
|
-
ViewChild('optionsList', { static: false }),
|
|
1438
|
-
tslib_1.__metadata("design:type", ListComponent)
|
|
1439
|
-
], ComboBoxComponent.prototype, "optionsList", void 0);
|
|
1440
|
-
tslib_1.__decorate([
|
|
1441
|
-
ViewChild('select', { static: true }),
|
|
1442
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
1443
|
-
], ComboBoxComponent.prototype, "select", void 0);
|
|
1444
|
-
tslib_1.__decorate([
|
|
1445
|
-
HostBinding('class.k-combobox'),
|
|
1446
|
-
HostBinding('class.k-input'),
|
|
1447
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1448
|
-
], ComboBoxComponent.prototype, "widgetClasses", void 0);
|
|
1449
|
-
tslib_1.__decorate([
|
|
1450
|
-
HostBinding('class.k-disabled'),
|
|
1451
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1452
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1453
|
-
], ComboBoxComponent.prototype, "isDisabled", null);
|
|
1454
|
-
tslib_1.__decorate([
|
|
1455
|
-
HostBinding('class.k-loading'),
|
|
1456
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1457
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1458
|
-
], ComboBoxComponent.prototype, "isLoading", null);
|
|
1459
|
-
tslib_1.__decorate([
|
|
1460
|
-
HostBinding('attr.dir'),
|
|
1461
|
-
tslib_1.__metadata("design:type", Object),
|
|
1462
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1463
|
-
], ComboBoxComponent.prototype, "dir", null);
|
|
1464
|
-
ComboBoxComponent = ComboBoxComponent_1 = tslib_1.__decorate([
|
|
1465
|
-
Component({
|
|
1466
|
-
exportAs: 'kendoComboBox',
|
|
1467
|
-
providers: [
|
|
1468
|
-
COMBOBOX_VALUE_ACCESSOR,
|
|
1469
|
-
DataService,
|
|
1470
|
-
SelectionService,
|
|
1471
|
-
NavigationService,
|
|
1472
|
-
DisabledItemsService,
|
|
1473
|
-
LocalizationService,
|
|
1474
|
-
{
|
|
1475
|
-
provide: L10N_PREFIX,
|
|
1476
|
-
useValue: 'kendo.combobox'
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
provide: FilterableComponent, useExisting: forwardRef(() => ComboBoxComponent_1)
|
|
1480
|
-
},
|
|
1481
|
-
{
|
|
1482
|
-
provide: KendoInput, useExisting: forwardRef(() => ComboBoxComponent_1)
|
|
1483
|
-
}
|
|
1484
|
-
],
|
|
1485
|
-
selector: 'kendo-combobox',
|
|
1486
|
-
template: `
|
|
1267
|
+
}
|
|
1268
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxComponent, 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.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1269
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
1270
|
+
COMBOBOX_VALUE_ACCESSOR,
|
|
1271
|
+
DataService,
|
|
1272
|
+
SelectionService,
|
|
1273
|
+
NavigationService,
|
|
1274
|
+
DisabledItemsService,
|
|
1275
|
+
LocalizationService,
|
|
1276
|
+
{
|
|
1277
|
+
provide: L10N_PREFIX,
|
|
1278
|
+
useValue: 'kendo.combobox'
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
provide: FilterableComponent, useExisting: forwardRef(() => ComboBoxComponent)
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
provide: KendoInput, useExisting: forwardRef(() => ComboBoxComponent)
|
|
1285
|
+
}
|
|
1286
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }, { propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], exportAs: ["kendoComboBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
1287
|
+
<ng-container kendoComboBoxLocalizedMessages
|
|
1288
|
+
i18n-noDataText="kendo.combobox.noDataText|The text displayed in the popup when there are no items"
|
|
1289
|
+
noDataText="NO DATA FOUND"
|
|
1290
|
+
|
|
1291
|
+
i18n-clearTitle="kendo.combobox.clearTitle|The title of the clear button"
|
|
1292
|
+
clearTitle="clear"
|
|
1293
|
+
|
|
1294
|
+
i18n-selectButtonText="kendo.combobox.selectButtonText|The text set as aria-label on the select button"
|
|
1295
|
+
selectButtonText="Select"
|
|
1296
|
+
>
|
|
1297
|
+
</ng-container>
|
|
1298
|
+
<kendo-searchbar #searchbar
|
|
1299
|
+
[role]="'combobox'"
|
|
1300
|
+
[id]="focusableId"
|
|
1301
|
+
[listId]="listBoxId"
|
|
1302
|
+
[activeDescendant]="activeDescendant"
|
|
1303
|
+
[noDataLabel]="noDataLabel"
|
|
1304
|
+
[userInput]="text"
|
|
1305
|
+
[suggestedText]="getSuggestion()"
|
|
1306
|
+
[disabled]="disabled"
|
|
1307
|
+
[readonly]="readonly"
|
|
1308
|
+
[tabIndex]="tabIndex"
|
|
1309
|
+
[popupOpen]="isOpen"
|
|
1310
|
+
[placeholder]="placeholder"
|
|
1311
|
+
(onNavigate)="handleNavigate($event)"
|
|
1312
|
+
(valueChange)="searchBarChange($event)"
|
|
1313
|
+
(onBlur)="handleBlur()"
|
|
1314
|
+
(onFocus)="handleFocus()"
|
|
1315
|
+
></kendo-searchbar>
|
|
1316
|
+
<span
|
|
1317
|
+
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
1318
|
+
class="k-clear-value"
|
|
1319
|
+
[style.visibility]="clearButtonVisiblity"
|
|
1320
|
+
aria-hidden="true"
|
|
1321
|
+
[attr.title]="messageFor('clearTitle')"
|
|
1322
|
+
(click)="clearValue($event)"
|
|
1323
|
+
[kendoEventsOutsideAngular]="{
|
|
1324
|
+
mousedown: preventEventDefault
|
|
1325
|
+
}"
|
|
1326
|
+
>
|
|
1327
|
+
<span class="k-icon k-i-x"></span>
|
|
1328
|
+
</span>
|
|
1329
|
+
<button
|
|
1330
|
+
#select
|
|
1331
|
+
unselectable="on"
|
|
1332
|
+
type="button"
|
|
1333
|
+
class="k-input-button k-button k-icon-button"
|
|
1334
|
+
[ngClass]="selectButtonClasses"
|
|
1335
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
1336
|
+
[kendoEventsOutsideAngular]="{
|
|
1337
|
+
mousedown: preventEventDefault
|
|
1338
|
+
}"
|
|
1339
|
+
>
|
|
1340
|
+
<span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1341
|
+
</button>
|
|
1342
|
+
<ng-template #popupTemplate>
|
|
1343
|
+
<!--header template-->
|
|
1344
|
+
<ng-template *ngIf="headerTemplate"
|
|
1345
|
+
[templateContext]="{
|
|
1346
|
+
templateRef: headerTemplate.templateRef
|
|
1347
|
+
}">
|
|
1348
|
+
</ng-template>
|
|
1349
|
+
<!--list-->
|
|
1350
|
+
<kendo-list
|
|
1351
|
+
#optionsList
|
|
1352
|
+
[size]="size"
|
|
1353
|
+
[rounded]="rounded"
|
|
1354
|
+
[id]="listBoxId"
|
|
1355
|
+
[optionPrefix]="optionPrefix"
|
|
1356
|
+
[data]="data"
|
|
1357
|
+
[textField]="textField"
|
|
1358
|
+
[valueField]="valueField"
|
|
1359
|
+
[template]="template"
|
|
1360
|
+
[groupTemplate]="groupTemplate"
|
|
1361
|
+
[fixedGroupTemplate]="fixedGroupTemplate"
|
|
1362
|
+
[height]="listHeight"
|
|
1363
|
+
[show]="isOpen"
|
|
1364
|
+
[virtual]="virtual"
|
|
1365
|
+
(pageChange)="pageChange($event)"
|
|
1366
|
+
>
|
|
1367
|
+
</kendo-list>
|
|
1368
|
+
<!--no-data template-->
|
|
1369
|
+
<div class="k-no-data" *ngIf="data.length === 0">
|
|
1370
|
+
<ng-template [ngIf]="noDataTemplate"
|
|
1371
|
+
[templateContext]="{
|
|
1372
|
+
templateRef: noDataTemplate ? noDataTemplate.templateRef : undefined
|
|
1373
|
+
}">
|
|
1374
|
+
</ng-template>
|
|
1375
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
1376
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
1377
|
+
</ng-template>
|
|
1378
|
+
</div>
|
|
1379
|
+
<!--footer template-->
|
|
1380
|
+
<ng-template *ngIf="footerTemplate"
|
|
1381
|
+
[templateContext]="{
|
|
1382
|
+
templateRef: footerTemplate.templateRef
|
|
1383
|
+
}">
|
|
1384
|
+
</ng-template>
|
|
1385
|
+
</ng-template>
|
|
1386
|
+
<ng-template [ngIf]="isOpen">
|
|
1387
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1388
|
+
</ng-template>
|
|
1389
|
+
<ng-container #container></ng-container>
|
|
1390
|
+
`, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "noDataLabel", "disabled", "readonly", "tabIndex", "popupOpen", "role", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i10.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
1391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
1392
|
+
type: Component,
|
|
1393
|
+
args: [{
|
|
1394
|
+
exportAs: 'kendoComboBox',
|
|
1395
|
+
providers: [
|
|
1396
|
+
COMBOBOX_VALUE_ACCESSOR,
|
|
1397
|
+
DataService,
|
|
1398
|
+
SelectionService,
|
|
1399
|
+
NavigationService,
|
|
1400
|
+
DisabledItemsService,
|
|
1401
|
+
LocalizationService,
|
|
1402
|
+
{
|
|
1403
|
+
provide: L10N_PREFIX,
|
|
1404
|
+
useValue: 'kendo.combobox'
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
provide: FilterableComponent, useExisting: forwardRef(() => ComboBoxComponent)
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
provide: KendoInput, useExisting: forwardRef(() => ComboBoxComponent)
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
selector: 'kendo-combobox',
|
|
1414
|
+
template: `
|
|
1487
1415
|
<ng-container kendoComboBoxLocalizedMessages
|
|
1488
1416
|
i18n-noDataText="kendo.combobox.noDataText|The text displayed in the popup when there are no items"
|
|
1489
1417
|
noDataText="NO DATA FOUND"
|
|
@@ -1588,17 +1516,129 @@ ComboBoxComponent = ComboBoxComponent_1 = tslib_1.__decorate([
|
|
|
1588
1516
|
</ng-template>
|
|
1589
1517
|
<ng-container #container></ng-container>
|
|
1590
1518
|
`
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
],
|
|
1604
|
-
|
|
1519
|
+
}]
|
|
1520
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: i3.SelectionService }, { type: i4.NavigationService }, { type: i5.DisabledItemsService }, { type: i6.DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
1521
|
+
type: Optional
|
|
1522
|
+
}, {
|
|
1523
|
+
type: Inject,
|
|
1524
|
+
args: [TOUCH_ENABLED]
|
|
1525
|
+
}] }]; }, propDecorators: { focusableId: [{
|
|
1526
|
+
type: Input
|
|
1527
|
+
}], allowCustom: [{
|
|
1528
|
+
type: Input
|
|
1529
|
+
}], data: [{
|
|
1530
|
+
type: Input
|
|
1531
|
+
}], value: [{
|
|
1532
|
+
type: Input
|
|
1533
|
+
}], textField: [{
|
|
1534
|
+
type: Input
|
|
1535
|
+
}], valueField: [{
|
|
1536
|
+
type: Input
|
|
1537
|
+
}], valuePrimitive: [{
|
|
1538
|
+
type: Input
|
|
1539
|
+
}], valueNormalizer: [{
|
|
1540
|
+
type: Input
|
|
1541
|
+
}], placeholder: [{
|
|
1542
|
+
type: Input
|
|
1543
|
+
}], popupSettings: [{
|
|
1544
|
+
type: Input
|
|
1545
|
+
}], listHeight: [{
|
|
1546
|
+
type: Input
|
|
1547
|
+
}], iconClass: [{
|
|
1548
|
+
type: Input
|
|
1549
|
+
}], loading: [{
|
|
1550
|
+
type: Input
|
|
1551
|
+
}], suggest: [{
|
|
1552
|
+
type: Input
|
|
1553
|
+
}], clearButton: [{
|
|
1554
|
+
type: Input
|
|
1555
|
+
}], disabled: [{
|
|
1556
|
+
type: Input
|
|
1557
|
+
}], itemDisabled: [{
|
|
1558
|
+
type: Input
|
|
1559
|
+
}], readonly: [{
|
|
1560
|
+
type: Input
|
|
1561
|
+
}], tabindex: [{
|
|
1562
|
+
type: Input
|
|
1563
|
+
}], tabIndex: [{
|
|
1564
|
+
type: Input,
|
|
1565
|
+
args: ["tabIndex"]
|
|
1566
|
+
}], filterable: [{
|
|
1567
|
+
type: Input
|
|
1568
|
+
}], virtual: [{
|
|
1569
|
+
type: Input
|
|
1570
|
+
}], size: [{
|
|
1571
|
+
type: Input
|
|
1572
|
+
}], rounded: [{
|
|
1573
|
+
type: Input
|
|
1574
|
+
}], fillMode: [{
|
|
1575
|
+
type: Input
|
|
1576
|
+
}], valueChange: [{
|
|
1577
|
+
type: Output
|
|
1578
|
+
}], selectionChange: [{
|
|
1579
|
+
type: Output
|
|
1580
|
+
}], filterChange: [{
|
|
1581
|
+
type: Output
|
|
1582
|
+
}], open: [{
|
|
1583
|
+
type: Output
|
|
1584
|
+
}], opened: [{
|
|
1585
|
+
type: Output
|
|
1586
|
+
}], close: [{
|
|
1587
|
+
type: Output
|
|
1588
|
+
}], closed: [{
|
|
1589
|
+
type: Output
|
|
1590
|
+
}], onFocus: [{
|
|
1591
|
+
type: Output,
|
|
1592
|
+
args: ['focus']
|
|
1593
|
+
}], onBlur: [{
|
|
1594
|
+
type: Output,
|
|
1595
|
+
args: ['blur']
|
|
1596
|
+
}], template: [{
|
|
1597
|
+
type: ContentChild,
|
|
1598
|
+
args: [ItemTemplateDirective, { static: false }]
|
|
1599
|
+
}], headerTemplate: [{
|
|
1600
|
+
type: ContentChild,
|
|
1601
|
+
args: [HeaderTemplateDirective, { static: false }]
|
|
1602
|
+
}], footerTemplate: [{
|
|
1603
|
+
type: ContentChild,
|
|
1604
|
+
args: [FooterTemplateDirective, { static: false }]
|
|
1605
|
+
}], noDataTemplate: [{
|
|
1606
|
+
type: ContentChild,
|
|
1607
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1608
|
+
}], groupTemplate: [{
|
|
1609
|
+
type: ContentChild,
|
|
1610
|
+
args: [GroupTemplateDirective, { static: false }]
|
|
1611
|
+
}], fixedGroupTemplate: [{
|
|
1612
|
+
type: ContentChild,
|
|
1613
|
+
args: [FixedGroupTemplateDirective, { static: false }]
|
|
1614
|
+
}], container: [{
|
|
1615
|
+
type: ViewChild,
|
|
1616
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
1617
|
+
}], popupTemplate: [{
|
|
1618
|
+
type: ViewChild,
|
|
1619
|
+
args: ['popupTemplate', { static: true }]
|
|
1620
|
+
}], searchbar: [{
|
|
1621
|
+
type: ViewChild,
|
|
1622
|
+
args: [SearchBarComponent, { static: true }]
|
|
1623
|
+
}], optionsList: [{
|
|
1624
|
+
type: ViewChild,
|
|
1625
|
+
args: ['optionsList', { static: false }]
|
|
1626
|
+
}], select: [{
|
|
1627
|
+
type: ViewChild,
|
|
1628
|
+
args: ['select', { static: true }]
|
|
1629
|
+
}], widgetClasses: [{
|
|
1630
|
+
type: HostBinding,
|
|
1631
|
+
args: ['class.k-combobox']
|
|
1632
|
+
}, {
|
|
1633
|
+
type: HostBinding,
|
|
1634
|
+
args: ['class.k-input']
|
|
1635
|
+
}], isDisabled: [{
|
|
1636
|
+
type: HostBinding,
|
|
1637
|
+
args: ['class.k-disabled']
|
|
1638
|
+
}], isLoading: [{
|
|
1639
|
+
type: HostBinding,
|
|
1640
|
+
args: ['class.k-loading']
|
|
1641
|
+
}], dir: [{
|
|
1642
|
+
type: HostBinding,
|
|
1643
|
+
args: ['attr.dir']
|
|
1644
|
+
}] } });
|