@progress/kendo-angular-dropdowns 6.0.2-dev.202202251358 → 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,12 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/* tslint:disable:member-ordering */
|
|
6
|
-
import * as tslib_1 from "tslib";
|
|
7
|
-
var MultiSelectComponent_1;
|
|
8
5
|
import { guid, isPresent, isArray, isObjectArray, resolveAllValues, selectedIndices, getter, isNumber, isUntouched, inDropDown, getSizeClass, getRoundedClass, getFillModeClass } from '../common/util';
|
|
9
6
|
import { SearchBarComponent } from '../common/searchbar.component';
|
|
10
|
-
import { ViewChild,
|
|
7
|
+
import { ViewChild, ViewContainerRef, Component, HostBinding, Input, Output, EventEmitter, isDevMode, forwardRef, ContentChild, Optional, Inject, HostListener } from '@angular/core';
|
|
11
8
|
import { Subscription, Subject, of } from 'rxjs';
|
|
12
9
|
import { catchError, filter, map, tap } from 'rxjs/operators';
|
|
13
10
|
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged } from '@progress/kendo-angular-common';
|
|
@@ -32,17 +29,29 @@ import { MultiselectMessages } from '../common/constants/error-messages';
|
|
|
32
29
|
import { PreventableEvent } from '../common/models/preventable-event';
|
|
33
30
|
import { RemoveTagEvent } from '../common/models/remove-tag-event';
|
|
34
31
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
35
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
36
32
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
37
33
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
38
34
|
import { DataService } from '../common/data.service';
|
|
39
|
-
import { ListComponent } from '../common/list.component';
|
|
40
35
|
import { normalizeCheckboxesSettings } from '../common/models/checkboxes-settings';
|
|
41
36
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
37
|
+
import * as i0 from "@angular/core";
|
|
38
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
39
|
+
import * as i2 from "@progress/kendo-angular-popup";
|
|
40
|
+
import * as i3 from "../common/data.service";
|
|
41
|
+
import * as i4 from "../common/selection/selection.service";
|
|
42
|
+
import * as i5 from "../common/navigation/navigation.service";
|
|
43
|
+
import * as i6 from "../common/disabled-items/disabled-items.service";
|
|
44
|
+
import * as i7 from "../common/taglist.component";
|
|
45
|
+
import * as i8 from "../common/searchbar.component";
|
|
46
|
+
import * as i9 from "../common/list.component";
|
|
47
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
48
|
+
import * as i11 from "../common/localization/localized-messages.directive";
|
|
49
|
+
import * as i12 from "@angular/common";
|
|
50
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
51
|
+
import * as i14 from "../common/selection/selectable.directive";
|
|
42
52
|
const MULTISELECT_VALUE_ACCESSOR = {
|
|
43
53
|
multi: true,
|
|
44
54
|
provide: NG_VALUE_ACCESSOR,
|
|
45
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
46
55
|
useExisting: forwardRef(() => MultiSelectComponent)
|
|
47
56
|
};
|
|
48
57
|
/**
|
|
@@ -62,7 +71,7 @@ const MULTISELECT_VALUE_ACCESSOR = {
|
|
|
62
71
|
* }
|
|
63
72
|
* ```
|
|
64
73
|
*/
|
|
65
|
-
|
|
74
|
+
export class MultiSelectComponent {
|
|
66
75
|
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, touchEnabled) {
|
|
67
76
|
this.wrapper = wrapper;
|
|
68
77
|
this.localization = localization;
|
|
@@ -225,11 +234,11 @@ let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent {
|
|
|
225
234
|
/**
|
|
226
235
|
* Fires each time the user focuses the MultiSelect.
|
|
227
236
|
*/
|
|
228
|
-
this.onFocus = new EventEmitter();
|
|
237
|
+
this.onFocus = new EventEmitter();
|
|
229
238
|
/**
|
|
230
239
|
* Fires each time the MultiSelect gets blurred.
|
|
231
240
|
*/
|
|
232
|
-
this.onBlur = new EventEmitter();
|
|
241
|
+
this.onBlur = new EventEmitter();
|
|
233
242
|
/**
|
|
234
243
|
* Fires each time a tag is about to be removed.
|
|
235
244
|
* This event is preventable. If you cancel it, the tag will not be removed.
|
|
@@ -1326,269 +1335,179 @@ let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent {
|
|
|
1326
1335
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
1327
1336
|
}
|
|
1328
1337
|
}
|
|
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
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
]
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
]
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
]
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
]
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
]
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
]
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
],
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
tslib_1.__decorate([
|
|
1503
|
-
ContentChild(CustomItemTemplateDirective, { static: false }),
|
|
1504
|
-
tslib_1.__metadata("design:type", CustomItemTemplateDirective)
|
|
1505
|
-
], MultiSelectComponent.prototype, "customItemTemplate", void 0);
|
|
1506
|
-
tslib_1.__decorate([
|
|
1507
|
-
ContentChild(GroupTemplateDirective, { static: false }),
|
|
1508
|
-
tslib_1.__metadata("design:type", GroupTemplateDirective)
|
|
1509
|
-
], MultiSelectComponent.prototype, "groupTemplate", void 0);
|
|
1510
|
-
tslib_1.__decorate([
|
|
1511
|
-
ContentChild(FixedGroupTemplateDirective, { static: false }),
|
|
1512
|
-
tslib_1.__metadata("design:type", FixedGroupTemplateDirective)
|
|
1513
|
-
], MultiSelectComponent.prototype, "fixedGroupTemplate", void 0);
|
|
1514
|
-
tslib_1.__decorate([
|
|
1515
|
-
ContentChild(HeaderTemplateDirective, { static: false }),
|
|
1516
|
-
tslib_1.__metadata("design:type", HeaderTemplateDirective)
|
|
1517
|
-
], MultiSelectComponent.prototype, "headerTemplate", void 0);
|
|
1518
|
-
tslib_1.__decorate([
|
|
1519
|
-
ContentChild(FooterTemplateDirective, { static: false }),
|
|
1520
|
-
tslib_1.__metadata("design:type", FooterTemplateDirective)
|
|
1521
|
-
], MultiSelectComponent.prototype, "footerTemplate", void 0);
|
|
1522
|
-
tslib_1.__decorate([
|
|
1523
|
-
ContentChild(TagTemplateDirective, { static: false }),
|
|
1524
|
-
tslib_1.__metadata("design:type", TagTemplateDirective)
|
|
1525
|
-
], MultiSelectComponent.prototype, "tagTemplate", void 0);
|
|
1526
|
-
tslib_1.__decorate([
|
|
1527
|
-
ContentChild(GroupTagTemplateDirective, { static: false }),
|
|
1528
|
-
tslib_1.__metadata("design:type", GroupTagTemplateDirective)
|
|
1529
|
-
], MultiSelectComponent.prototype, "groupTagTemplate", void 0);
|
|
1530
|
-
tslib_1.__decorate([
|
|
1531
|
-
ContentChild(NoDataTemplateDirective, { static: false }),
|
|
1532
|
-
tslib_1.__metadata("design:type", NoDataTemplateDirective)
|
|
1533
|
-
], MultiSelectComponent.prototype, "noDataTemplate", void 0);
|
|
1534
|
-
tslib_1.__decorate([
|
|
1535
|
-
HostBinding('class.k-multiselect'),
|
|
1536
|
-
HostBinding('class.k-input'),
|
|
1537
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
1538
|
-
], MultiSelectComponent.prototype, "hostClasses", void 0);
|
|
1539
|
-
tslib_1.__decorate([
|
|
1540
|
-
HostBinding('attr.dir'),
|
|
1541
|
-
tslib_1.__metadata("design:type", String),
|
|
1542
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1543
|
-
], MultiSelectComponent.prototype, "dir", null);
|
|
1544
|
-
tslib_1.__decorate([
|
|
1545
|
-
HostBinding('class.k-disabled'),
|
|
1546
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1547
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1548
|
-
], MultiSelectComponent.prototype, "disabledClass", null);
|
|
1549
|
-
tslib_1.__decorate([
|
|
1550
|
-
HostBinding('class.k-loading'),
|
|
1551
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1552
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1553
|
-
], MultiSelectComponent.prototype, "isLoading", null);
|
|
1554
|
-
tslib_1.__decorate([
|
|
1555
|
-
HostBinding('attr.role'),
|
|
1556
|
-
tslib_1.__metadata("design:type", String)
|
|
1557
|
-
], MultiSelectComponent.prototype, "role", void 0);
|
|
1558
|
-
tslib_1.__decorate([
|
|
1559
|
-
HostBinding('attr.aria-expanded'),
|
|
1560
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
1561
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
1562
|
-
], MultiSelectComponent.prototype, "isAriaExpanded", null);
|
|
1563
|
-
tslib_1.__decorate([
|
|
1564
|
-
HostListener('mousedown', ['$event']),
|
|
1565
|
-
tslib_1.__metadata("design:type", Function),
|
|
1566
|
-
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
1567
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
1568
|
-
], MultiSelectComponent.prototype, "hostMousedown", null);
|
|
1569
|
-
MultiSelectComponent = MultiSelectComponent_1 = tslib_1.__decorate([
|
|
1570
|
-
Component({
|
|
1571
|
-
exportAs: 'kendoMultiSelect',
|
|
1572
|
-
providers: [
|
|
1573
|
-
MULTISELECT_VALUE_ACCESSOR,
|
|
1574
|
-
DataService,
|
|
1575
|
-
SelectionService,
|
|
1576
|
-
NavigationService,
|
|
1577
|
-
DisabledItemsService,
|
|
1578
|
-
LocalizationService,
|
|
1579
|
-
{
|
|
1580
|
-
provide: L10N_PREFIX,
|
|
1581
|
-
useValue: 'kendo.multiselect'
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
provide: FilterableComponent, useExisting: forwardRef(() => MultiSelectComponent_1)
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent_1)
|
|
1588
|
-
}
|
|
1589
|
-
],
|
|
1590
|
-
selector: 'kendo-multiselect',
|
|
1591
|
-
template: `
|
|
1338
|
+
}
|
|
1339
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.DataService }, { token: i4.SelectionService }, { token: i5.NavigationService }, { token: i6.DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1340
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "mousedown": "hostMousedown($event)" }, properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded" } }, providers: [
|
|
1341
|
+
MULTISELECT_VALUE_ACCESSOR,
|
|
1342
|
+
DataService,
|
|
1343
|
+
SelectionService,
|
|
1344
|
+
NavigationService,
|
|
1345
|
+
DisabledItemsService,
|
|
1346
|
+
LocalizationService,
|
|
1347
|
+
{
|
|
1348
|
+
provide: L10N_PREFIX,
|
|
1349
|
+
useValue: 'kendo.multiselect'
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
provide: FilterableComponent, useExisting: forwardRef(() => MultiSelectComponent)
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
1356
|
+
}
|
|
1357
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "customItemTemplate", first: true, predicate: CustomItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
1358
|
+
<ng-container kendoMultiSelectLocalizedMessages
|
|
1359
|
+
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
1360
|
+
noDataText="NO DATA FOUND"
|
|
1361
|
+
|
|
1362
|
+
i18n-clearTitle="kendo.multiselect.clearTitle|The title of the clear button"
|
|
1363
|
+
clearTitle="clear"
|
|
1364
|
+
>
|
|
1365
|
+
</ng-container>
|
|
1366
|
+
<kendo-taglist
|
|
1367
|
+
[size]="size"
|
|
1368
|
+
[rounded]="rounded"
|
|
1369
|
+
[fillMode]="fillMode"
|
|
1370
|
+
[id]="tagListId"
|
|
1371
|
+
[tags]="tags"
|
|
1372
|
+
[textField]="textField"
|
|
1373
|
+
[valueField]="valueField"
|
|
1374
|
+
[focused]="focusedTagIndex"
|
|
1375
|
+
[disabled]="disabled"
|
|
1376
|
+
[template]="tagTemplate"
|
|
1377
|
+
[groupTemplate]="groupTagTemplate"
|
|
1378
|
+
[tagPrefix]="tagPrefix"
|
|
1379
|
+
[disabledIndices]="disabledIndices"
|
|
1380
|
+
(removeTag)="handleRemoveTag($event)"
|
|
1381
|
+
>
|
|
1382
|
+
<kendo-searchbar
|
|
1383
|
+
#searchbar
|
|
1384
|
+
[id]="focusableId"
|
|
1385
|
+
[role]="'textbox'"
|
|
1386
|
+
[tagListId]="tagListId"
|
|
1387
|
+
[activeDescendant]="activeDescendant"
|
|
1388
|
+
[noDataLabel]="noDataLabel"
|
|
1389
|
+
[userInput]="text"
|
|
1390
|
+
[disabled]="disabled"
|
|
1391
|
+
[readonly]="readonly"
|
|
1392
|
+
[tabIndex]="tabIndex"
|
|
1393
|
+
[popupOpen]="isOpen"
|
|
1394
|
+
[placeholder]="placeholder"
|
|
1395
|
+
(onNavigate)="handleNavigate($event)"
|
|
1396
|
+
(valueChange)="handleFilter($event)"
|
|
1397
|
+
(onBlur)="onSearchBarBlur()"
|
|
1398
|
+
(onFocus)="onSearchBarFocus()"
|
|
1399
|
+
>
|
|
1400
|
+
</kendo-searchbar>
|
|
1401
|
+
</kendo-taglist>
|
|
1402
|
+
|
|
1403
|
+
<span
|
|
1404
|
+
*ngIf="!loading && !readonly && clearButton && (tags?.length || text?.length)"
|
|
1405
|
+
class="k-clear-value"
|
|
1406
|
+
[style.visibility]="clearButtonVisiblity"
|
|
1407
|
+
[attr.title]="messageFor('clearTitle')"
|
|
1408
|
+
role="button"
|
|
1409
|
+
tabindex="-1"
|
|
1410
|
+
(mousedown)="clearAll($event)"
|
|
1411
|
+
>
|
|
1412
|
+
<span class="k-icon k-i-x"></span>
|
|
1413
|
+
</span>
|
|
1414
|
+
<span
|
|
1415
|
+
*ngIf="loading"
|
|
1416
|
+
class="k-icon k-i-loading"
|
|
1417
|
+
>
|
|
1418
|
+
</span>
|
|
1419
|
+
<ng-template #popupTemplate>
|
|
1420
|
+
<!--header template-->
|
|
1421
|
+
<ng-template *ngIf="headerTemplate"
|
|
1422
|
+
[templateContext]="{
|
|
1423
|
+
templateRef: headerTemplate.templateRef
|
|
1424
|
+
}">
|
|
1425
|
+
</ng-template>
|
|
1426
|
+
<!--custom item template-->
|
|
1427
|
+
<div
|
|
1428
|
+
*ngIf="allowCustom && text"
|
|
1429
|
+
class="k-list"
|
|
1430
|
+
[ngClass]="customItemSizeClass"
|
|
1431
|
+
>
|
|
1432
|
+
<div class="k-list-item k-custom-item" kendoDropDownsSelectable [multipleSelection]="true" [index]="-1">
|
|
1433
|
+
<ng-template *ngIf="customItemTemplate;else default_custom_item_template"
|
|
1434
|
+
[templateContext]="{
|
|
1435
|
+
templateRef: customItemTemplate.templateRef,
|
|
1436
|
+
$implicit: text
|
|
1437
|
+
}">
|
|
1438
|
+
</ng-template>
|
|
1439
|
+
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
1440
|
+
<span class="k-icon k-i-plus" style="float: right"></span>
|
|
1441
|
+
</div>
|
|
1442
|
+
</div>
|
|
1443
|
+
<!--list-->
|
|
1444
|
+
<kendo-list
|
|
1445
|
+
#optionsList
|
|
1446
|
+
[size]="size"
|
|
1447
|
+
[rounded]="rounded"
|
|
1448
|
+
[id]="listBoxId"
|
|
1449
|
+
[optionPrefix]="optionPrefix"
|
|
1450
|
+
[data]="data"
|
|
1451
|
+
[textField]="textField"
|
|
1452
|
+
[valueField]="valueField"
|
|
1453
|
+
[height]="listHeight"
|
|
1454
|
+
[template]="template"
|
|
1455
|
+
[groupTemplate]="groupTemplate"
|
|
1456
|
+
[fixedGroupTemplate]="fixedGroupTemplate"
|
|
1457
|
+
[show]="isOpen"
|
|
1458
|
+
[multipleSelection]="true"
|
|
1459
|
+
[virtual]="virtual"
|
|
1460
|
+
(pageChange)="pageChange($event)"
|
|
1461
|
+
[checkboxes]="checkboxes"
|
|
1462
|
+
>
|
|
1463
|
+
</kendo-list>
|
|
1464
|
+
<!--no data template-->
|
|
1465
|
+
<div class="k-no-data" *ngIf="data.length === 0">
|
|
1466
|
+
<ng-template [ngIf]="noDataTemplate"
|
|
1467
|
+
[templateContext]="{
|
|
1468
|
+
templateRef: noDataTemplate ? noDataTemplate.templateRef : undefined
|
|
1469
|
+
}">
|
|
1470
|
+
</ng-template>
|
|
1471
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
1472
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
1473
|
+
</ng-template>
|
|
1474
|
+
</div>
|
|
1475
|
+
<!--footer template-->
|
|
1476
|
+
<ng-template *ngIf="footerTemplate"
|
|
1477
|
+
[templateContext]="{
|
|
1478
|
+
templateRef: footerTemplate.templateRef
|
|
1479
|
+
}">
|
|
1480
|
+
</ng-template>
|
|
1481
|
+
</ng-template>
|
|
1482
|
+
<ng-template [ngIf]="isOpen">
|
|
1483
|
+
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1484
|
+
</ng-template>
|
|
1485
|
+
<ng-container #container></ng-container>
|
|
1486
|
+
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.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: i9.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: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
1488
|
+
type: Component,
|
|
1489
|
+
args: [{
|
|
1490
|
+
exportAs: 'kendoMultiSelect',
|
|
1491
|
+
providers: [
|
|
1492
|
+
MULTISELECT_VALUE_ACCESSOR,
|
|
1493
|
+
DataService,
|
|
1494
|
+
SelectionService,
|
|
1495
|
+
NavigationService,
|
|
1496
|
+
DisabledItemsService,
|
|
1497
|
+
LocalizationService,
|
|
1498
|
+
{
|
|
1499
|
+
provide: L10N_PREFIX,
|
|
1500
|
+
useValue: 'kendo.multiselect'
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
provide: FilterableComponent, useExisting: forwardRef(() => MultiSelectComponent)
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
selector: 'kendo-multiselect',
|
|
1510
|
+
template: `
|
|
1592
1511
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
1593
1512
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
1594
1513
|
noDataText="NO DATA FOUND"
|
|
@@ -1718,18 +1637,146 @@ MultiSelectComponent = MultiSelectComponent_1 = tslib_1.__decorate([
|
|
|
1718
1637
|
</ng-template>
|
|
1719
1638
|
<ng-container #container></ng-container>
|
|
1720
1639
|
`
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1640
|
+
}]
|
|
1641
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: i3.DataService }, { type: i4.SelectionService }, { type: i5.NavigationService }, { type: i6.DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
1642
|
+
type: Optional
|
|
1643
|
+
}, {
|
|
1644
|
+
type: Inject,
|
|
1645
|
+
args: [TOUCH_ENABLED]
|
|
1646
|
+
}] }]; }, propDecorators: { focusableId: [{
|
|
1647
|
+
type: Input
|
|
1648
|
+
}], autoClose: [{
|
|
1649
|
+
type: Input
|
|
1650
|
+
}], loading: [{
|
|
1651
|
+
type: Input
|
|
1652
|
+
}], data: [{
|
|
1653
|
+
type: Input
|
|
1654
|
+
}], value: [{
|
|
1655
|
+
type: Input
|
|
1656
|
+
}], valueField: [{
|
|
1657
|
+
type: Input
|
|
1658
|
+
}], textField: [{
|
|
1659
|
+
type: Input
|
|
1660
|
+
}], tabindex: [{
|
|
1661
|
+
type: Input
|
|
1662
|
+
}], tabIndex: [{
|
|
1663
|
+
type: Input,
|
|
1664
|
+
args: ["tabIndex"]
|
|
1665
|
+
}], size: [{
|
|
1666
|
+
type: Input
|
|
1667
|
+
}], rounded: [{
|
|
1668
|
+
type: Input
|
|
1669
|
+
}], fillMode: [{
|
|
1670
|
+
type: Input
|
|
1671
|
+
}], placeholder: [{
|
|
1672
|
+
type: Input
|
|
1673
|
+
}], disabled: [{
|
|
1674
|
+
type: Input
|
|
1675
|
+
}], itemDisabled: [{
|
|
1676
|
+
type: Input
|
|
1677
|
+
}], checkboxes: [{
|
|
1678
|
+
type: Input
|
|
1679
|
+
}], readonly: [{
|
|
1680
|
+
type: Input
|
|
1681
|
+
}], filterable: [{
|
|
1682
|
+
type: Input
|
|
1683
|
+
}], virtual: [{
|
|
1684
|
+
type: Input
|
|
1685
|
+
}], popupSettings: [{
|
|
1686
|
+
type: Input
|
|
1687
|
+
}], listHeight: [{
|
|
1688
|
+
type: Input
|
|
1689
|
+
}], valuePrimitive: [{
|
|
1690
|
+
type: Input
|
|
1691
|
+
}], clearButton: [{
|
|
1692
|
+
type: Input
|
|
1693
|
+
}], tagMapper: [{
|
|
1694
|
+
type: Input
|
|
1695
|
+
}], allowCustom: [{
|
|
1696
|
+
type: Input
|
|
1697
|
+
}], valueNormalizer: [{
|
|
1698
|
+
type: Input
|
|
1699
|
+
}], filterChange: [{
|
|
1700
|
+
type: Output
|
|
1701
|
+
}], valueChange: [{
|
|
1702
|
+
type: Output
|
|
1703
|
+
}], open: [{
|
|
1704
|
+
type: Output
|
|
1705
|
+
}], opened: [{
|
|
1706
|
+
type: Output
|
|
1707
|
+
}], close: [{
|
|
1708
|
+
type: Output
|
|
1709
|
+
}], closed: [{
|
|
1710
|
+
type: Output
|
|
1711
|
+
}], onFocus: [{
|
|
1712
|
+
type: Output,
|
|
1713
|
+
args: ['focus']
|
|
1714
|
+
}], onBlur: [{
|
|
1715
|
+
type: Output,
|
|
1716
|
+
args: ['blur']
|
|
1717
|
+
}], removeTag: [{
|
|
1718
|
+
type: Output
|
|
1719
|
+
}], container: [{
|
|
1720
|
+
type: ViewChild,
|
|
1721
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
1722
|
+
}], searchbar: [{
|
|
1723
|
+
type: ViewChild,
|
|
1724
|
+
args: [SearchBarComponent, { static: true }]
|
|
1725
|
+
}], popupTemplate: [{
|
|
1726
|
+
type: ViewChild,
|
|
1727
|
+
args: ['popupTemplate', { static: true }]
|
|
1728
|
+
}], optionsList: [{
|
|
1729
|
+
type: ViewChild,
|
|
1730
|
+
args: ['optionsList', { static: false }]
|
|
1731
|
+
}], template: [{
|
|
1732
|
+
type: ContentChild,
|
|
1733
|
+
args: [ItemTemplateDirective, { static: false }]
|
|
1734
|
+
}], customItemTemplate: [{
|
|
1735
|
+
type: ContentChild,
|
|
1736
|
+
args: [CustomItemTemplateDirective, { static: false }]
|
|
1737
|
+
}], groupTemplate: [{
|
|
1738
|
+
type: ContentChild,
|
|
1739
|
+
args: [GroupTemplateDirective, { static: false }]
|
|
1740
|
+
}], fixedGroupTemplate: [{
|
|
1741
|
+
type: ContentChild,
|
|
1742
|
+
args: [FixedGroupTemplateDirective, { static: false }]
|
|
1743
|
+
}], headerTemplate: [{
|
|
1744
|
+
type: ContentChild,
|
|
1745
|
+
args: [HeaderTemplateDirective, { static: false }]
|
|
1746
|
+
}], footerTemplate: [{
|
|
1747
|
+
type: ContentChild,
|
|
1748
|
+
args: [FooterTemplateDirective, { static: false }]
|
|
1749
|
+
}], tagTemplate: [{
|
|
1750
|
+
type: ContentChild,
|
|
1751
|
+
args: [TagTemplateDirective, { static: false }]
|
|
1752
|
+
}], groupTagTemplate: [{
|
|
1753
|
+
type: ContentChild,
|
|
1754
|
+
args: [GroupTagTemplateDirective, { static: false }]
|
|
1755
|
+
}], noDataTemplate: [{
|
|
1756
|
+
type: ContentChild,
|
|
1757
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1758
|
+
}], hostClasses: [{
|
|
1759
|
+
type: HostBinding,
|
|
1760
|
+
args: ['class.k-multiselect']
|
|
1761
|
+
}, {
|
|
1762
|
+
type: HostBinding,
|
|
1763
|
+
args: ['class.k-input']
|
|
1764
|
+
}], dir: [{
|
|
1765
|
+
type: HostBinding,
|
|
1766
|
+
args: ['attr.dir']
|
|
1767
|
+
}], disabledClass: [{
|
|
1768
|
+
type: HostBinding,
|
|
1769
|
+
args: ['class.k-disabled']
|
|
1770
|
+
}], isLoading: [{
|
|
1771
|
+
type: HostBinding,
|
|
1772
|
+
args: ['class.k-loading']
|
|
1773
|
+
}], role: [{
|
|
1774
|
+
type: HostBinding,
|
|
1775
|
+
args: ['attr.role']
|
|
1776
|
+
}], isAriaExpanded: [{
|
|
1777
|
+
type: HostBinding,
|
|
1778
|
+
args: ['attr.aria-expanded']
|
|
1779
|
+
}], hostMousedown: [{
|
|
1780
|
+
type: HostListener,
|
|
1781
|
+
args: ['mousedown', ['$event']]
|
|
1782
|
+
}] } });
|