@progress/kendo-angular-dropdowns 6.0.3-dev.202203091003 → 7.0.0-next.202203232111
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 +34 -22
- 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 +40 -26
- 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 +0 -0
- 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 +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -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 +48 -35
- 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 +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +49 -32
- 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 +57 -39
- 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 +264 -232
- 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 +289 -255
- 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 +362 -300
- 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 +28 -42
- 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 +39 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +35 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +38 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +35 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +373 -315
- 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 +427 -346
- 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 +11 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +335 -288
- 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} +7873 -7141
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +12 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +41 -26
- 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 +37 -113
- 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.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 DropDownListComponent_1;
|
|
8
|
-
import { Component, Renderer2, forwardRef, ElementRef, Input, Output, HostBinding, EventEmitter, ContentChild, ViewChild, ViewContainerRef, isDevMode, Optional, Inject, NgZone, TemplateRef, ChangeDetectorRef, HostListener } from '@angular/core';
|
|
5
|
+
import { Component, forwardRef, Input, Output, HostBinding, EventEmitter, ContentChild, ViewChild, ViewContainerRef, isDevMode, Optional, Inject, HostListener } 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';
|
|
@@ -26,14 +23,27 @@ import { NoDataTemplateDirective } from '../common/templates/no-data-template.di
|
|
|
26
23
|
import { NavigationAction } from '../common/navigation/navigation-action';
|
|
27
24
|
import { PreventableEvent } from '../common/models/preventable-event';
|
|
28
25
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
29
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
30
26
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
31
27
|
import { DropDownListMessages } from '../common/constants/error-messages';
|
|
32
28
|
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
33
29
|
import { DataService } from '../common/data.service';
|
|
34
30
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
35
|
-
import { ListComponent } from '../common/list.component';
|
|
36
31
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
32
|
+
import * as i0 from "@angular/core";
|
|
33
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
34
|
+
import * as i2 from "@progress/kendo-angular-popup";
|
|
35
|
+
import * as i3 from "../common/selection/selection.service";
|
|
36
|
+
import * as i4 from "../common/navigation/navigation.service";
|
|
37
|
+
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
38
|
+
import * as i6 from "../common/data.service";
|
|
39
|
+
import * as i7 from "../common/list.component";
|
|
40
|
+
import * as i8 from "@progress/kendo-angular-common";
|
|
41
|
+
import * as i9 from "../common/localization/localized-messages.directive";
|
|
42
|
+
import * as i10 from "@angular/common";
|
|
43
|
+
import * as i11 from "../common/templates/template-context.directive";
|
|
44
|
+
import * as i12 from "@angular/forms";
|
|
45
|
+
import * as i13 from "../common/filter-input.directive";
|
|
46
|
+
import * as i14 from "../common/selection/selectable.directive";
|
|
37
47
|
/**
|
|
38
48
|
* @hidden
|
|
39
49
|
*/
|
|
@@ -59,7 +69,7 @@ export const DROPDOWNLIST_VALUE_ACCESSOR = {
|
|
|
59
69
|
* }
|
|
60
70
|
* ```
|
|
61
71
|
*/
|
|
62
|
-
|
|
72
|
+
export class DropDownListComponent {
|
|
63
73
|
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, _zone, renderer, cdr, touchEnabled) {
|
|
64
74
|
this.wrapper = wrapper;
|
|
65
75
|
this.localization = localization;
|
|
@@ -1057,7 +1067,9 @@ let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponen
|
|
|
1057
1067
|
search() {
|
|
1058
1068
|
clearTimeout(this.typingTimeout);
|
|
1059
1069
|
if (!this.filterable) {
|
|
1060
|
-
this.typingTimeout = setTimeout(() => {
|
|
1070
|
+
this.typingTimeout = setTimeout(() => {
|
|
1071
|
+
this.word = "";
|
|
1072
|
+
}, this.delay);
|
|
1061
1073
|
this.selectNext();
|
|
1062
1074
|
}
|
|
1063
1075
|
}
|
|
@@ -1197,284 +1209,186 @@ let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponen
|
|
|
1197
1209
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker', this.fillMode));
|
|
1198
1210
|
}
|
|
1199
1211
|
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
]
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
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
|
-
tslib_1.__decorate([
|
|
1381
|
-
HostBinding('class.k-disabled'),
|
|
1382
|
-
HostBinding('attr.aria-disabled'),
|
|
1383
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1384
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1385
|
-
], DropDownListComponent.prototype, "isDisabled", null);
|
|
1386
|
-
tslib_1.__decorate([
|
|
1387
|
-
HostBinding('class.k-loading'),
|
|
1388
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1389
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1390
|
-
], DropDownListComponent.prototype, "isLoading", null);
|
|
1391
|
-
tslib_1.__decorate([
|
|
1392
|
-
Input('id'),
|
|
1393
|
-
HostBinding('attr.id'),
|
|
1394
|
-
tslib_1.__metadata("design:type", String)
|
|
1395
|
-
], DropDownListComponent.prototype, "focusableId", void 0);
|
|
1396
|
-
tslib_1.__decorate([
|
|
1397
|
-
HostBinding('attr.dir'),
|
|
1398
|
-
tslib_1.__metadata("design:type", String),
|
|
1399
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1400
|
-
], DropDownListComponent.prototype, "dir", null);
|
|
1401
|
-
tslib_1.__decorate([
|
|
1402
|
-
HostBinding('attr.tabindex'),
|
|
1403
|
-
tslib_1.__metadata("design:type", Number),
|
|
1404
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1405
|
-
], DropDownListComponent.prototype, "hostTabIndex", null);
|
|
1406
|
-
tslib_1.__decorate([
|
|
1407
|
-
HostBinding('attr.readonly'),
|
|
1408
|
-
HostBinding('attr.aria-readonly'),
|
|
1409
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1410
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1411
|
-
], DropDownListComponent.prototype, "isReadonly", null);
|
|
1412
|
-
tslib_1.__decorate([
|
|
1413
|
-
HostBinding('attr.role'),
|
|
1414
|
-
HostBinding('attr.aria-haspopup'),
|
|
1415
|
-
tslib_1.__metadata("design:type", String)
|
|
1416
|
-
], DropDownListComponent.prototype, "role", void 0);
|
|
1417
|
-
tslib_1.__decorate([
|
|
1418
|
-
HostBinding('attr.aria-expanded'),
|
|
1419
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1420
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1421
|
-
], DropDownListComponent.prototype, "isAriaExpanded", null);
|
|
1422
|
-
tslib_1.__decorate([
|
|
1423
|
-
HostBinding('attr.aria-owns'),
|
|
1424
|
-
tslib_1.__metadata("design:type", String),
|
|
1425
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1426
|
-
], DropDownListComponent.prototype, "hostAriaOwns", null);
|
|
1427
|
-
tslib_1.__decorate([
|
|
1428
|
-
HostBinding('attr.aria-activedescendant'),
|
|
1429
|
-
tslib_1.__metadata("design:type", String),
|
|
1430
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1431
|
-
], DropDownListComponent.prototype, "hostAriaActivedescendant", null);
|
|
1432
|
-
tslib_1.__decorate([
|
|
1433
|
-
HostBinding('attr.aria-label'),
|
|
1434
|
-
tslib_1.__metadata("design:type", String),
|
|
1435
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1436
|
-
], DropDownListComponent.prototype, "hostNoDataLabel", null);
|
|
1437
|
-
tslib_1.__decorate([
|
|
1438
|
-
HostListener('keydown', ['$event']),
|
|
1439
|
-
tslib_1.__metadata("design:type", Function),
|
|
1440
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
1441
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1442
|
-
], DropDownListComponent.prototype, "keydown", null);
|
|
1443
|
-
tslib_1.__decorate([
|
|
1444
|
-
HostListener('keypress', ['$event']),
|
|
1445
|
-
tslib_1.__metadata("design:type", Function),
|
|
1446
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
1447
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1448
|
-
], DropDownListComponent.prototype, "keypress", null);
|
|
1449
|
-
tslib_1.__decorate([
|
|
1450
|
-
HostListener('click', ['$event']),
|
|
1451
|
-
tslib_1.__metadata("design:type", Function),
|
|
1452
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
1453
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1454
|
-
], DropDownListComponent.prototype, "click", null);
|
|
1455
|
-
DropDownListComponent = DropDownListComponent_1 = tslib_1.__decorate([
|
|
1456
|
-
Component({
|
|
1457
|
-
exportAs: 'kendoDropDownList',
|
|
1458
|
-
providers: [
|
|
1459
|
-
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
1460
|
-
DataService,
|
|
1461
|
-
SelectionService,
|
|
1462
|
-
NavigationService,
|
|
1463
|
-
DisabledItemsService,
|
|
1464
|
-
LocalizationService,
|
|
1465
|
-
{
|
|
1466
|
-
provide: L10N_PREFIX,
|
|
1467
|
-
useValue: 'kendo.dropdownlist'
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
provide: FilterableComponent, useExisting: forwardRef(() => DropDownListComponent_1)
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent_1)
|
|
1474
|
-
}
|
|
1475
|
-
],
|
|
1476
|
-
selector: 'kendo-dropdownlist',
|
|
1477
|
-
template: `
|
|
1212
|
+
}
|
|
1213
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1214
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { iconClass: "iconClass", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", popupSettings: "popupSettings", listHeight: "listHeight", defaultItem: "defaultItem", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", filterable: "filterable", virtual: "virtual", ignoreCase: "ignoreCase", delay: "delay", valuePrimitive: "valuePrimitive", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", focusableId: ["id", "focusableId"] }, outputs: { valueChange: "valueChange", filterChange: "filterChange", selectionChange: "selectionChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "click": "click($event)" }, properties: { "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.isReadonly", "attr.aria-readonly": "this.isReadonly", "attr.role": "this.role", "attr.aria-haspopup": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-owns": "this.hostAriaOwns", "attr.aria-activedescendant": "this.hostAriaActivedescendant", "attr.aria-label": "this.hostNoDataLabel" } }, providers: [
|
|
1215
|
+
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
1216
|
+
DataService,
|
|
1217
|
+
SelectionService,
|
|
1218
|
+
NavigationService,
|
|
1219
|
+
DisabledItemsService,
|
|
1220
|
+
LocalizationService,
|
|
1221
|
+
{
|
|
1222
|
+
provide: L10N_PREFIX,
|
|
1223
|
+
useValue: 'kendo.dropdownlist'
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
provide: FilterableComponent, useExisting: forwardRef(() => DropDownListComponent)
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
1230
|
+
}
|
|
1231
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, 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 }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoDropDownList"], usesOnChanges: true, ngImport: i0, template: `
|
|
1232
|
+
<ng-container kendoDropDownListLocalizedMessages
|
|
1233
|
+
i18n-noDataText="kendo.dropdownlist.noDataText|The text displayed in the popup when there are no items"
|
|
1234
|
+
noDataText="NO DATA FOUND"
|
|
1235
|
+
|
|
1236
|
+
i18n-selectButtonText="kendo.dropdownlist.selectButtonText|The text set as aria-label on the select button"
|
|
1237
|
+
selectButtonText="Select"
|
|
1238
|
+
>
|
|
1239
|
+
</ng-container>
|
|
1240
|
+
<span class="k-input-inner" unselectable="on" role="option" [id]="valueLabelId">
|
|
1241
|
+
<span class="k-input-value-text">
|
|
1242
|
+
<ng-template *ngIf="valueTemplate"
|
|
1243
|
+
[templateContext]="{
|
|
1244
|
+
templateRef: valueTemplate.templateRef,
|
|
1245
|
+
$implicit: dataItem
|
|
1246
|
+
}">
|
|
1247
|
+
</ng-template>
|
|
1248
|
+
<ng-template [ngIf]="!valueTemplate">{{ getText() }}</ng-template>
|
|
1249
|
+
</span>
|
|
1250
|
+
</span>
|
|
1251
|
+
<button
|
|
1252
|
+
tabindex="-1"
|
|
1253
|
+
unselectable="on"
|
|
1254
|
+
type="button"
|
|
1255
|
+
class="k-input-button k-button k-icon-button"
|
|
1256
|
+
[ngClass]="selectButtonClasses"
|
|
1257
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
1258
|
+
[kendoEventsOutsideAngular]="{
|
|
1259
|
+
mousedown: onMouseDown
|
|
1260
|
+
}"
|
|
1261
|
+
>
|
|
1262
|
+
<span
|
|
1263
|
+
class="k-button-icon k-icon"
|
|
1264
|
+
unselectable="on"
|
|
1265
|
+
[ngClass]="buttonClasses"
|
|
1266
|
+
></span>
|
|
1267
|
+
</button>
|
|
1268
|
+
<ng-template #popupTemplate>
|
|
1269
|
+
<!--filterable-->
|
|
1270
|
+
|
|
1271
|
+
<ng-template [ngIf]="filterable">
|
|
1272
|
+
<div class="k-list-filter" (click)="$event.stopImmediatePropagation()">
|
|
1273
|
+
<span
|
|
1274
|
+
class="k-searchbox k-input"
|
|
1275
|
+
[ngClass]="filterInputClasses"
|
|
1276
|
+
>
|
|
1277
|
+
<span class="k-input-icon k-icon k-i-search" unselectable="on"></span>
|
|
1278
|
+
<input
|
|
1279
|
+
[attr.aria-owns]="ariaOwns"
|
|
1280
|
+
[attr.aria-activedescendant]="ariaActivedescendant"
|
|
1281
|
+
[attr.aria-label]="noDataLabel"
|
|
1282
|
+
tabindex="-1"
|
|
1283
|
+
[filterInput]="isFocused && !touchEnabled"
|
|
1284
|
+
[dir]="direction"
|
|
1285
|
+
[(ngModel)]="filterText"
|
|
1286
|
+
class="k-input-inner"
|
|
1287
|
+
(keydown)="keydown($event)"
|
|
1288
|
+
(input)="handleFilter($event)"
|
|
1289
|
+
(focus)="onFilterFocus()"
|
|
1290
|
+
(blur)="blurFilterInput()" />
|
|
1291
|
+
</span>
|
|
1292
|
+
</div>
|
|
1293
|
+
</ng-template>
|
|
1294
|
+
<!--default item-->
|
|
1295
|
+
<ng-template [ngIf]="defaultItem && !itemTemplate">
|
|
1296
|
+
<div
|
|
1297
|
+
class="k-list"
|
|
1298
|
+
[ngClass]="optionLabelSizeClass"
|
|
1299
|
+
>
|
|
1300
|
+
<div class="k-list-optionlabel" [ngClass]="{ 'k-disabled': isDisabledDefaultItem }" kendoDropDownsSelectable [index]="-1">
|
|
1301
|
+
{{ getDefaultItemText() }}
|
|
1302
|
+
</div>
|
|
1303
|
+
</div>
|
|
1304
|
+
</ng-template>
|
|
1305
|
+
<ng-template [ngIf]="defaultItem && itemTemplate">
|
|
1306
|
+
<div
|
|
1307
|
+
class="k-list"
|
|
1308
|
+
[ngClass]="optionLabelSizeClass"
|
|
1309
|
+
>
|
|
1310
|
+
<div class="k-list-optionlabel" [ngClass]="{ 'k-disabled': isDisabledDefaultItem }" kendoDropDownsSelectable [index]="-1">
|
|
1311
|
+
<ng-template
|
|
1312
|
+
[templateContext]="{
|
|
1313
|
+
templateRef: itemTemplate.templateRef,
|
|
1314
|
+
$implicit: defaultItem
|
|
1315
|
+
}">
|
|
1316
|
+
</ng-template>
|
|
1317
|
+
</div>
|
|
1318
|
+
</div>
|
|
1319
|
+
</ng-template>
|
|
1320
|
+
<!--header template-->
|
|
1321
|
+
<ng-template *ngIf="headerTemplate"
|
|
1322
|
+
[templateContext]="{
|
|
1323
|
+
templateRef: headerTemplate.templateRef
|
|
1324
|
+
}">
|
|
1325
|
+
</ng-template>
|
|
1326
|
+
<!--list-->
|
|
1327
|
+
<kendo-list
|
|
1328
|
+
#optionsList
|
|
1329
|
+
[size]="size"
|
|
1330
|
+
[rounded]="rounded"
|
|
1331
|
+
[id]="listBoxId"
|
|
1332
|
+
[optionPrefix]="optionPrefix"
|
|
1333
|
+
[data]="data"
|
|
1334
|
+
[textField]="textField"
|
|
1335
|
+
[valueField]="valueField"
|
|
1336
|
+
[template]="itemTemplate"
|
|
1337
|
+
[groupTemplate]="groupTemplate"
|
|
1338
|
+
[fixedGroupTemplate]="fixedGroupTemplate"
|
|
1339
|
+
[height]="listHeight"
|
|
1340
|
+
[show]="isOpen"
|
|
1341
|
+
[virtual]="virtual"
|
|
1342
|
+
(pageChange)="pageChange($event)"
|
|
1343
|
+
>
|
|
1344
|
+
</kendo-list>
|
|
1345
|
+
<!--no-data template-->
|
|
1346
|
+
<div class="k-no-data" *ngIf="data.length === 0">
|
|
1347
|
+
<ng-template [ngIf]="noDataTemplate"
|
|
1348
|
+
[templateContext]="{
|
|
1349
|
+
templateRef: noDataTemplate ? noDataTemplate.templateRef : undefined
|
|
1350
|
+
}">
|
|
1351
|
+
</ng-template>
|
|
1352
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
1353
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
1354
|
+
</ng-template>
|
|
1355
|
+
</div>
|
|
1356
|
+
<!--footer template-->
|
|
1357
|
+
<ng-template *ngIf="footerTemplate"
|
|
1358
|
+
[templateContext]="{
|
|
1359
|
+
templateRef: footerTemplate.templateRef
|
|
1360
|
+
}">
|
|
1361
|
+
</ng-template>
|
|
1362
|
+
</ng-template>
|
|
1363
|
+
<ng-template [ngIf]="isOpen">
|
|
1364
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1365
|
+
</ng-template>
|
|
1366
|
+
<ng-container #container></ng-container>
|
|
1367
|
+
`, isInline: true, components: [{ type: i7.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i8.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i9.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i13.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i14.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
1369
|
+
type: Component,
|
|
1370
|
+
args: [{
|
|
1371
|
+
exportAs: 'kendoDropDownList',
|
|
1372
|
+
providers: [
|
|
1373
|
+
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
1374
|
+
DataService,
|
|
1375
|
+
SelectionService,
|
|
1376
|
+
NavigationService,
|
|
1377
|
+
DisabledItemsService,
|
|
1378
|
+
LocalizationService,
|
|
1379
|
+
{
|
|
1380
|
+
provide: L10N_PREFIX,
|
|
1381
|
+
useValue: 'kendo.dropdownlist'
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
provide: FilterableComponent, useExisting: forwardRef(() => DropDownListComponent)
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
1388
|
+
}
|
|
1389
|
+
],
|
|
1390
|
+
selector: 'kendo-dropdownlist',
|
|
1391
|
+
template: `
|
|
1478
1392
|
<ng-container kendoDropDownListLocalizedMessages
|
|
1479
1393
|
i18n-noDataText="kendo.dropdownlist.noDataText|The text displayed in the popup when there are no items"
|
|
1480
1394
|
noDataText="NO DATA FOUND"
|
|
@@ -1611,17 +1525,165 @@ DropDownListComponent = DropDownListComponent_1 = tslib_1.__decorate([
|
|
|
1611
1525
|
</ng-template>
|
|
1612
1526
|
<ng-container #container></ng-container>
|
|
1613
1527
|
`
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
],
|
|
1627
|
-
|
|
1528
|
+
}]
|
|
1529
|
+
}], 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.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1530
|
+
type: Optional
|
|
1531
|
+
}, {
|
|
1532
|
+
type: Inject,
|
|
1533
|
+
args: [TOUCH_ENABLED]
|
|
1534
|
+
}] }]; }, propDecorators: { iconClass: [{
|
|
1535
|
+
type: Input
|
|
1536
|
+
}], loading: [{
|
|
1537
|
+
type: Input
|
|
1538
|
+
}], data: [{
|
|
1539
|
+
type: Input
|
|
1540
|
+
}], value: [{
|
|
1541
|
+
type: Input
|
|
1542
|
+
}], textField: [{
|
|
1543
|
+
type: Input
|
|
1544
|
+
}], valueField: [{
|
|
1545
|
+
type: Input
|
|
1546
|
+
}], popupSettings: [{
|
|
1547
|
+
type: Input
|
|
1548
|
+
}], listHeight: [{
|
|
1549
|
+
type: Input
|
|
1550
|
+
}], defaultItem: [{
|
|
1551
|
+
type: Input
|
|
1552
|
+
}], disabled: [{
|
|
1553
|
+
type: Input
|
|
1554
|
+
}], itemDisabled: [{
|
|
1555
|
+
type: Input
|
|
1556
|
+
}], readonly: [{
|
|
1557
|
+
type: Input
|
|
1558
|
+
}], filterable: [{
|
|
1559
|
+
type: Input
|
|
1560
|
+
}], virtual: [{
|
|
1561
|
+
type: Input
|
|
1562
|
+
}], ignoreCase: [{
|
|
1563
|
+
type: Input
|
|
1564
|
+
}], delay: [{
|
|
1565
|
+
type: Input
|
|
1566
|
+
}], valuePrimitive: [{
|
|
1567
|
+
type: Input
|
|
1568
|
+
}], tabindex: [{
|
|
1569
|
+
type: Input
|
|
1570
|
+
}], tabIndex: [{
|
|
1571
|
+
type: Input,
|
|
1572
|
+
args: ["tabIndex"]
|
|
1573
|
+
}], size: [{
|
|
1574
|
+
type: Input
|
|
1575
|
+
}], rounded: [{
|
|
1576
|
+
type: Input
|
|
1577
|
+
}], fillMode: [{
|
|
1578
|
+
type: Input
|
|
1579
|
+
}], valueChange: [{
|
|
1580
|
+
type: Output
|
|
1581
|
+
}], filterChange: [{
|
|
1582
|
+
type: Output
|
|
1583
|
+
}], selectionChange: [{
|
|
1584
|
+
type: Output
|
|
1585
|
+
}], open: [{
|
|
1586
|
+
type: Output
|
|
1587
|
+
}], opened: [{
|
|
1588
|
+
type: Output
|
|
1589
|
+
}], close: [{
|
|
1590
|
+
type: Output
|
|
1591
|
+
}], closed: [{
|
|
1592
|
+
type: Output
|
|
1593
|
+
}], onFocus: [{
|
|
1594
|
+
type: Output,
|
|
1595
|
+
args: ['focus']
|
|
1596
|
+
}], onBlur: [{
|
|
1597
|
+
type: Output,
|
|
1598
|
+
args: ['blur']
|
|
1599
|
+
}], itemTemplate: [{
|
|
1600
|
+
type: ContentChild,
|
|
1601
|
+
args: [ItemTemplateDirective, { static: false }]
|
|
1602
|
+
}], groupTemplate: [{
|
|
1603
|
+
type: ContentChild,
|
|
1604
|
+
args: [GroupTemplateDirective, { static: false }]
|
|
1605
|
+
}], fixedGroupTemplate: [{
|
|
1606
|
+
type: ContentChild,
|
|
1607
|
+
args: [FixedGroupTemplateDirective, { static: false }]
|
|
1608
|
+
}], valueTemplate: [{
|
|
1609
|
+
type: ContentChild,
|
|
1610
|
+
args: [ValueTemplateDirective, { static: false }]
|
|
1611
|
+
}], headerTemplate: [{
|
|
1612
|
+
type: ContentChild,
|
|
1613
|
+
args: [HeaderTemplateDirective, { static: false }]
|
|
1614
|
+
}], footerTemplate: [{
|
|
1615
|
+
type: ContentChild,
|
|
1616
|
+
args: [FooterTemplateDirective, { static: false }]
|
|
1617
|
+
}], noDataTemplate: [{
|
|
1618
|
+
type: ContentChild,
|
|
1619
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1620
|
+
}], container: [{
|
|
1621
|
+
type: ViewChild,
|
|
1622
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
1623
|
+
}], popupTemplate: [{
|
|
1624
|
+
type: ViewChild,
|
|
1625
|
+
args: ['popupTemplate', { static: true }]
|
|
1626
|
+
}], optionsList: [{
|
|
1627
|
+
type: ViewChild,
|
|
1628
|
+
args: ['optionsList', { static: false }]
|
|
1629
|
+
}], hostClasses: [{
|
|
1630
|
+
type: HostBinding,
|
|
1631
|
+
args: ['class.k-dropdownlist']
|
|
1632
|
+
}, {
|
|
1633
|
+
type: HostBinding,
|
|
1634
|
+
args: ['class.k-picker']
|
|
1635
|
+
}], isDisabled: [{
|
|
1636
|
+
type: HostBinding,
|
|
1637
|
+
args: ['class.k-disabled']
|
|
1638
|
+
}, {
|
|
1639
|
+
type: HostBinding,
|
|
1640
|
+
args: ['attr.aria-disabled']
|
|
1641
|
+
}], isLoading: [{
|
|
1642
|
+
type: HostBinding,
|
|
1643
|
+
args: ['class.k-loading']
|
|
1644
|
+
}], focusableId: [{
|
|
1645
|
+
type: Input,
|
|
1646
|
+
args: ['id']
|
|
1647
|
+
}, {
|
|
1648
|
+
type: HostBinding,
|
|
1649
|
+
args: ['attr.id']
|
|
1650
|
+
}], dir: [{
|
|
1651
|
+
type: HostBinding,
|
|
1652
|
+
args: ['attr.dir']
|
|
1653
|
+
}], hostTabIndex: [{
|
|
1654
|
+
type: HostBinding,
|
|
1655
|
+
args: ['attr.tabindex']
|
|
1656
|
+
}], isReadonly: [{
|
|
1657
|
+
type: HostBinding,
|
|
1658
|
+
args: ['attr.readonly']
|
|
1659
|
+
}, {
|
|
1660
|
+
type: HostBinding,
|
|
1661
|
+
args: ['attr.aria-readonly']
|
|
1662
|
+
}], role: [{
|
|
1663
|
+
type: HostBinding,
|
|
1664
|
+
args: ['attr.role']
|
|
1665
|
+
}, {
|
|
1666
|
+
type: HostBinding,
|
|
1667
|
+
args: ['attr.aria-haspopup']
|
|
1668
|
+
}], isAriaExpanded: [{
|
|
1669
|
+
type: HostBinding,
|
|
1670
|
+
args: ['attr.aria-expanded']
|
|
1671
|
+
}], hostAriaOwns: [{
|
|
1672
|
+
type: HostBinding,
|
|
1673
|
+
args: ['attr.aria-owns']
|
|
1674
|
+
}], hostAriaActivedescendant: [{
|
|
1675
|
+
type: HostBinding,
|
|
1676
|
+
args: ['attr.aria-activedescendant']
|
|
1677
|
+
}], hostNoDataLabel: [{
|
|
1678
|
+
type: HostBinding,
|
|
1679
|
+
args: ['attr.aria-label']
|
|
1680
|
+
}], keydown: [{
|
|
1681
|
+
type: HostListener,
|
|
1682
|
+
args: ['keydown', ['$event']]
|
|
1683
|
+
}], keypress: [{
|
|
1684
|
+
type: HostListener,
|
|
1685
|
+
args: ['keypress', ['$event']]
|
|
1686
|
+
}], click: [{
|
|
1687
|
+
type: HostListener,
|
|
1688
|
+
args: ['click', ['$event']]
|
|
1689
|
+
}] } });
|