@progress/kendo-angular-dropdowns 6.0.2 → 7.0.0-dev.202204150937
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.component.d.ts +47 -35
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.module.d.ts +7 -0
- package/bundles/kendo-angular-dropdowns.umd.js +5 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-header-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/combobox-column.component.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/util.d.ts +0 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox.component.d.ts +53 -39
- package/comboboxes/combobox.module.d.ts +31 -0
- package/{dist/es2015/comboboxes → comboboxes}/multicolumncombobox.component.d.ts +8 -5
- package/{dist/es2015/common → common}/constants/error-messages.d.ts +27 -27
- package/{dist/es2015/common → common}/constants/touch-enabled.d.ts +0 -0
- package/{dist/es2015/common → common}/data.service.d.ts +6 -2
- package/{dist/es2015/common → common}/disabled-items/disabled-items.service.d.ts +3 -0
- package/{dist/es2015/common → common}/disabled-items/item-disabled.d.ts +0 -0
- package/{dist/es2015/common → common}/filter-input.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/filtering/filter-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/filtering/filter.directive.d.ts +6 -2
- package/{dist/es2015/common → common}/filtering/filterable-component.d.ts +0 -0
- package/{dist/es2015/common → common}/list-item.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/list.component.d.ts +11 -6
- package/{dist/es2015/common → common}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/common → common}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/localization/messages.d.ts +3 -0
- package/{dist/es2015/common → common}/models/checkboxes-settings.d.ts +1 -1
- package/{dist/es2015/common → common}/models/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +1 -7
- package/{dist/es2015/common → common}/models/list-type.d.ts +0 -0
- package/{dist/es2015/common → common}/models/page-change-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/remove-tag-event.d.ts +4 -1
- package/{dist/es2015/common → common}/models/rounded.d.ts +1 -8
- package/common/models/size.d.ts +8 -0
- package/{dist/es2015/common → common}/models/virtualization-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation-action.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation.service.d.ts +3 -0
- package/{dist/es2015/common → common}/searchbar.component.d.ts +9 -4
- package/{dist/es2015/common → common}/selection/selectable.directive.d.ts +5 -2
- package/{dist/es2015/common → common}/selection/selection.service.d.ts +6 -2
- package/common/shared-directives.module.d.ts +37 -0
- package/common/shared.module.d.ts +26 -0
- package/{dist/es2015/common → common}/taglist.component.d.ts +7 -3
- package/{dist/es2015/common → common}/templates/custom-item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/fixed-group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/header-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/no-data-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/template-context.directive.d.ts +4 -1
- package/{dist/es2015/common → common}/templates/value-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/util.d.ts +3 -2
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.component.d.ts +61 -48
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.module.d.ts +7 -0
- package/{dist/es2015/dropdowns.module.d.ts → dropdowns.module.d.ts} +9 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/base-check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check-all.directive.d.ts +5 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checkable-settings.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checked-item.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +62 -45
- package/dropdowntrees/dropdowntrees.module.d.ts +25 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/expanded-state/expand.directive.d.ts +5 -1
- package/{dist/es2015/dropdowntrees → dropdowntrees}/multiselecttree.component.d.ts +70 -52
- package/{dist/es2015/dropdowntrees → dropdowntrees}/summary-tag/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/templates/node-template.directive.d.ts +3 -0
- package/{dist/es2015 → esm2015}/autocomplete/autocomplete.component.js +296 -258
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/column-cell-template.directive.js +12 -11
- package/esm2015/comboboxes/combobox-column/column-header-template.directive.js +26 -0
- package/esm2015/comboboxes/combobox-column/combobox-column.component.js +59 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/util.js +0 -2
- package/{dist/es2015 → esm2015}/comboboxes/combobox.component.js +321 -281
- package/{dist/es2015 → esm2015}/comboboxes/combobox.module.js +23 -14
- package/esm2015/comboboxes/multicolumncombobox.component.js +653 -0
- package/{dist/es2015 → esm2015}/common/constants/error-messages.js +0 -1
- package/{dist/es2015 → esm2015}/common/constants/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/common/data.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/disabled-items/disabled-items.service.js +9 -9
- package/{dist/es2015 → esm2015}/common/disabled-items/item-disabled.js +1 -0
- package/esm2015/common/filter-input.directive.js +34 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter.directive.js +19 -24
- package/{dist/es2015 → esm2015}/common/filtering/filterable-component.js +0 -0
- package/esm2015/common/list-item.directive.js +22 -0
- package/{dist/es2015 → esm2015}/common/list.component.js +194 -126
- package/esm2015/common/localization/custom-messages.component.js +41 -0
- package/esm2015/common/localization/localized-messages.directive.js +44 -0
- package/esm2015/common/localization/messages.js +25 -0
- package/{dist/es2015 → esm2015}/common/models/checkboxes-settings.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/direction.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/list-type.js +1 -0
- package/{dist/es → esm2015}/common/models/page-change-event.js +1 -0
- package/{dist/es → esm2015}/common/models/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/remove-tag-event.js +0 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/virtualization-settings.js +0 -0
- package/{dist/es → esm2015}/common/navigation/navigation-action.js +1 -0
- package/{dist/es2015 → esm2015}/common/navigation/navigation.service.js +10 -11
- package/{dist/es2015 → esm2015}/common/searchbar.component.js +84 -97
- package/esm2015/common/selection/selectable.directive.js +76 -0
- package/{dist/es2015 → esm2015}/common/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/shared-directives.module.js +37 -10
- package/esm2015/common/shared.module.js +59 -0
- package/{dist/es2015 → esm2015}/common/taglist.component.js +112 -87
- package/{dist/es2015 → esm2015}/common/templates/custom-item-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/fixed-group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/footer-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/group-tag-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/header-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/no-data-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/tag-template.directive.js +12 -12
- package/esm2015/common/templates/template-context.directive.js +33 -0
- package/{dist/es2015 → esm2015}/common/templates/value-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/util.js +1 -3
- package/{dist/es2015 → esm2015}/dropdownlist/dropdownlist.component.js +393 -325
- package/esm2015/dropdownlist/dropdownlist.module.js +37 -0
- package/{dist/es → esm2015}/dropdowns.module.js +12 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/base-check.directive.js +13 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check-all.directive.js +39 -46
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check.directive.js +20 -27
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checkable-settings.js +1 -0
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checked-item.js +1 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +51 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +69 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +50 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +47 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +410 -343
- package/esm2015/dropdowntrees/dropdowntrees.module.js +61 -0
- package/esm2015/dropdowntrees/expanded-state/expand.directive.js +38 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/multiselecttree.component.js +474 -378
- package/{dist/es2015 → esm2015}/dropdowntrees/summary-tag/summary-tag.directive.js +15 -15
- package/esm2015/dropdowntrees/templates/node-template.directive.js +28 -0
- package/{dist/es2015/common/shared.module.d.ts → esm2015/kendo-angular-dropdowns.js} +2 -3
- package/{dist/es → esm2015}/main.js +15 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +367 -314
- package/{dist/es2015 → esm2015}/multiselect/multiselect.module.js +19 -14
- package/{dist/es2015 → esm2015}/multiselect/summary-tag.directive.js +15 -15
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dropdowns.js} +8066 -7210
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +16 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +54 -39
- package/{dist/es2015/multiselect → multiselect}/multiselect.module.d.ts +9 -0
- package/{dist/es2015/multiselect → multiselect}/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +38 -114
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-dropdowns.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/autocomplete/autocomplete.component.js +0 -1201
- package/dist/es/autocomplete/autocomplete.module.js +0 -36
- package/dist/es/comboboxes/combobox-column/column-cell-template.directive.js +0 -29
- package/dist/es/comboboxes/combobox-column/column-header-template.directive.js +0 -26
- package/dist/es/comboboxes/combobox-column/combobox-column.component.js +0 -78
- package/dist/es/comboboxes/combobox-column/util.js +0 -57
- package/dist/es/comboboxes/combobox.component.js +0 -1622
- package/dist/es/comboboxes/combobox.module.js +0 -52
- package/dist/es/comboboxes/multicolumncombobox.component.js +0 -230
- package/dist/es/common/constants/error-messages.js +0 -62
- package/dist/es/common/constants/touch-enabled.js +0 -9
- package/dist/es/common/data.service.js +0 -250
- package/dist/es/common/disabled-items/disabled-items.service.js +0 -45
- package/dist/es/common/disabled-items/item-disabled.js +0 -4
- package/dist/es/common/filter-input.directive.js +0 -37
- package/dist/es/common/filtering/filter-settings.js +0 -4
- package/dist/es/common/filtering/filter.directive.js +0 -141
- package/dist/es/common/filtering/filterable-component.js +0 -17
- package/dist/es/common/list-item.directive.js +0 -22
- package/dist/es/common/list.component.js +0 -503
- package/dist/es/common/localization/custom-messages.component.js +0 -44
- package/dist/es/common/localization/localized-messages.directive.js +0 -35
- package/dist/es/common/localization/messages.js +0 -34
- package/dist/es/common/models/checkboxes-settings.js +0 -15
- package/dist/es/common/models/direction.js +0 -4
- package/dist/es/common/models/preventable-event.js +0 -29
- package/dist/es/common/models/remove-tag-event.js +0 -24
- package/dist/es/common/models/virtualization-settings.js +0 -25
- package/dist/es/common/navigation/navigation.service.js +0 -147
- package/dist/es/common/searchbar.component.js +0 -253
- package/dist/es/common/selection/selectable.directive.js +0 -93
- package/dist/es/common/selection/selection.service.js +0 -107
- package/dist/es/common/shared-directives.module.js +0 -60
- package/dist/es/common/shared.module.js +0 -45
- package/dist/es/common/taglist.component.js +0 -179
- package/dist/es/common/templates/custom-item-template.directive.js +0 -47
- package/dist/es/common/templates/fixed-group-template.directive.js +0 -54
- package/dist/es/common/templates/footer-template.directive.js +0 -47
- package/dist/es/common/templates/group-tag-template.directive.js +0 -46
- package/dist/es/common/templates/group-template.directive.js +0 -54
- package/dist/es/common/templates/header-template.directive.js +0 -47
- package/dist/es/common/templates/item-template.directive.js +0 -46
- package/dist/es/common/templates/no-data-template.directive.js +0 -48
- package/dist/es/common/templates/tag-template.directive.js +0 -45
- package/dist/es/common/templates/template-context.directive.js +0 -40
- package/dist/es/common/templates/value-template.directive.js +0 -49
- package/dist/es/common/util.js +0 -337
- package/dist/es/dropdownlist/dropdownlist.component.js +0 -1649
- package/dist/es/dropdownlist/dropdownlist.module.js +0 -37
- package/dist/es/dropdowntrees/checked-state/base-check.directive.js +0 -68
- package/dist/es/dropdowntrees/checked-state/check-all.directive.js +0 -181
- package/dist/es/dropdowntrees/checked-state/check.directive.js +0 -169
- package/dist/es/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/dropdowntree.component.js +0 -1394
- package/dist/es/dropdowntrees/dropdowntrees.module.js +0 -45
- package/dist/es/dropdowntrees/expanded-state/expand.directive.js +0 -28
- package/dist/es/dropdowntrees/multiselecttree.component.js +0 -1683
- package/dist/es/dropdowntrees/summary-tag/summary-tag.directive.js +0 -63
- package/dist/es/dropdowntrees/templates/node-template.directive.js +0 -28
- package/dist/es/index.js +0 -30
- package/dist/es/multiselect/multiselect.component.js +0 -1734
- package/dist/es/multiselect/multiselect.module.js +0 -50
- package/dist/es/multiselect/summary-tag.directive.js +0 -65
- package/dist/es/package-metadata.js +0 -15
- package/dist/es2015/autocomplete/autocomplete.module.js +0 -33
- package/dist/es2015/comboboxes/combobox-column/column-header-template.directive.js +0 -25
- package/dist/es2015/comboboxes/combobox-column/combobox-column.component.js +0 -81
- package/dist/es2015/comboboxes/combobox.module.d.ts +0 -20
- package/dist/es2015/comboboxes/multicolumncombobox.component.js +0 -417
- package/dist/es2015/common/filter-input.directive.js +0 -35
- package/dist/es2015/common/list-item.directive.js +0 -21
- package/dist/es2015/common/localization/custom-messages.component.js +0 -36
- package/dist/es2015/common/localization/localized-messages.directive.js +0 -39
- package/dist/es2015/common/localization/messages.js +0 -28
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/list-type.js +0 -4
- package/dist/es2015/common/models/page-change-event.js +0 -4
- package/dist/es2015/common/models/popup-settings.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.d.ts +0 -14
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/navigation/navigation-action.js +0 -24
- package/dist/es2015/common/selection/selectable.directive.js +0 -84
- package/dist/es2015/common/shared-directives.module.d.ts +0 -20
- package/dist/es2015/common/shared.module.js +0 -42
- package/dist/es2015/common/templates/template-context.directive.js +0 -35
- package/dist/es2015/dropdownlist/dropdownlist.module.js +0 -34
- package/dist/es2015/dropdowns.module.js +0 -50
- package/dist/es2015/dropdowntrees/checked-state/checkable-settings.js +0 -4
- package/dist/es2015/dropdowntrees/checked-state/checked-item.js +0 -4
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/dropdowntrees.module.d.ts +0 -9
- package/dist/es2015/dropdowntrees/dropdowntrees.module.js +0 -42
- package/dist/es2015/dropdowntrees/expanded-state/expand.directive.js +0 -26
- package/dist/es2015/dropdowntrees/templates/node-template.directive.js +0 -27
- package/dist/es2015/index.d.ts +0 -30
- package/dist/es2015/index.js +0 -30
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -44
- package/dist/fesm5/index.js +0 -13097
- package/dist/npm/autocomplete/autocomplete.component.js +0 -1203
- package/dist/npm/autocomplete/autocomplete.module.js +0 -38
- package/dist/npm/comboboxes/combobox-column/column-cell-template.directive.js +0 -31
- package/dist/npm/comboboxes/combobox-column/column-header-template.directive.js +0 -28
- package/dist/npm/comboboxes/combobox-column/combobox-column.component.js +0 -80
- package/dist/npm/comboboxes/combobox-column/util.js +0 -59
- package/dist/npm/comboboxes/combobox.component.js +0 -1624
- package/dist/npm/comboboxes/combobox.module.js +0 -54
- package/dist/npm/comboboxes/multicolumncombobox.component.js +0 -232
- package/dist/npm/common/constants/error-messages.js +0 -64
- package/dist/npm/common/constants/touch-enabled.js +0 -11
- package/dist/npm/common/data.service.js +0 -252
- package/dist/npm/common/disabled-items/disabled-items.service.js +0 -47
- package/dist/npm/common/disabled-items/item-disabled.js +0 -6
- package/dist/npm/common/filter-input.directive.js +0 -39
- package/dist/npm/common/filtering/filter-settings.js +0 -6
- package/dist/npm/common/filtering/filter.directive.js +0 -143
- package/dist/npm/common/filtering/filterable-component.js +0 -19
- package/dist/npm/common/list-item.directive.js +0 -24
- package/dist/npm/common/list.component.js +0 -505
- package/dist/npm/common/localization/custom-messages.component.js +0 -46
- package/dist/npm/common/localization/localized-messages.directive.js +0 -37
- package/dist/npm/common/localization/messages.js +0 -36
- package/dist/npm/common/models/checkboxes-settings.js +0 -17
- package/dist/npm/common/models/direction.js +0 -6
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/list-type.js +0 -6
- package/dist/npm/common/models/page-change-event.js +0 -6
- package/dist/npm/common/models/popup-settings.js +0 -6
- package/dist/npm/common/models/preventable-event.js +0 -31
- package/dist/npm/common/models/remove-tag-event.js +0 -26
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/virtualization-settings.js +0 -27
- package/dist/npm/common/navigation/navigation-action.js +0 -26
- package/dist/npm/common/navigation/navigation.service.js +0 -149
- package/dist/npm/common/searchbar.component.js +0 -255
- package/dist/npm/common/selection/selectable.directive.js +0 -95
- package/dist/npm/common/selection/selection.service.js +0 -109
- package/dist/npm/common/shared-directives.module.js +0 -62
- package/dist/npm/common/shared.module.js +0 -47
- package/dist/npm/common/taglist.component.js +0 -181
- package/dist/npm/common/templates/custom-item-template.directive.js +0 -49
- package/dist/npm/common/templates/fixed-group-template.directive.js +0 -56
- package/dist/npm/common/templates/footer-template.directive.js +0 -49
- package/dist/npm/common/templates/group-tag-template.directive.js +0 -48
- package/dist/npm/common/templates/group-template.directive.js +0 -56
- package/dist/npm/common/templates/header-template.directive.js +0 -49
- package/dist/npm/common/templates/item-template.directive.js +0 -48
- package/dist/npm/common/templates/no-data-template.directive.js +0 -50
- package/dist/npm/common/templates/tag-template.directive.js +0 -47
- package/dist/npm/common/templates/template-context.directive.js +0 -42
- package/dist/npm/common/templates/value-template.directive.js +0 -51
- package/dist/npm/common/util.js +0 -339
- package/dist/npm/dropdownlist/dropdownlist.component.js +0 -1651
- package/dist/npm/dropdownlist/dropdownlist.module.js +0 -39
- package/dist/npm/dropdowns.module.js +0 -55
- package/dist/npm/dropdowntrees/checked-state/base-check.directive.js +0 -70
- package/dist/npm/dropdowntrees/checked-state/check-all.directive.js +0 -183
- package/dist/npm/dropdowntrees/checked-state/check.directive.js +0 -171
- package/dist/npm/dropdowntrees/checked-state/checkable-settings.js +0 -6
- package/dist/npm/dropdowntrees/checked-state/checked-item.js +0 -6
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/dropdowntree.component.js +0 -1399
- package/dist/npm/dropdowntrees/dropdowntrees.module.js +0 -47
- package/dist/npm/dropdowntrees/expanded-state/expand.directive.js +0 -30
- package/dist/npm/dropdowntrees/multiselecttree.component.js +0 -1688
- package/dist/npm/dropdowntrees/summary-tag/summary-tag.directive.js +0 -65
- package/dist/npm/dropdowntrees/templates/node-template.directive.js +0 -30
- package/dist/npm/index.js +0 -55
- package/dist/npm/main.js +0 -86
- package/dist/npm/multiselect/multiselect.component.js +0 -1736
- package/dist/npm/multiselect/multiselect.module.js +0 -52
- package/dist/npm/multiselect/summary-tag.directive.js +0 -67
- package/dist/npm/package-metadata.js +0 -17
- package/dist/systemjs/kendo-angular-dropdowns.js +0 -5
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, ContentChildren, forwardRef, HostBinding, Inject, isDevMode, ViewChild } from '@angular/core';
|
|
6
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
+
import { isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
8
|
+
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { ComboBoxComponent } from './combobox.component';
|
|
10
|
+
import { ComboBoxColumnComponent } from './combobox-column/combobox-column.component';
|
|
11
|
+
import { DataService } from '../common/data.service';
|
|
12
|
+
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
13
|
+
import { NavigationService } from '../common/navigation/navigation.service';
|
|
14
|
+
import { SelectionService } from '../common/selection/selection.service';
|
|
15
|
+
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
16
|
+
import { getSizeClass, getter, isObject, isPresent, noop } from '../common/util';
|
|
17
|
+
import { getRowWidthFromColumnsMeta, scrollbarWidth } from './combobox-column/util';
|
|
18
|
+
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
19
|
+
import { MultiColumnComboBoxMessages } from '../common/constants/error-messages';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
22
|
+
import * as i2 from "@progress/kendo-angular-popup";
|
|
23
|
+
import * as i3 from "../common/selection/selection.service";
|
|
24
|
+
import * as i4 from "../common/navigation/navigation.service";
|
|
25
|
+
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
26
|
+
import * as i6 from "../common/data.service";
|
|
27
|
+
import * as i7 from "../common/searchbar.component";
|
|
28
|
+
import * as i8 from "../common/list.component";
|
|
29
|
+
import * as i9 from "@progress/kendo-angular-common";
|
|
30
|
+
import * as i10 from "../common/localization/localized-messages.directive";
|
|
31
|
+
import * as i11 from "@angular/common";
|
|
32
|
+
import * as i12 from "../common/templates/template-context.directive";
|
|
33
|
+
/**
|
|
34
|
+
* Represents the [Kendo UI MultiColumnComboBox component for Angular]({% slug overview_multicolumncombobox %}).
|
|
35
|
+
*/
|
|
36
|
+
export class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
37
|
+
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, touchEnabled) {
|
|
38
|
+
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, touchEnabled);
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
this.hostClasses = true;
|
|
43
|
+
this.removeWindowResizeListener = noop;
|
|
44
|
+
// the row height in @progress/kendo-theme-default
|
|
45
|
+
this.defaultVirtualItemHeight = 36;
|
|
46
|
+
// use a smaller virtual page size as columns with multiple cells can cause poor performance
|
|
47
|
+
this.defaultVirtualPageSize = 30;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
get isDisabled() {
|
|
53
|
+
return this.disabled;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @hidden
|
|
57
|
+
*/
|
|
58
|
+
set header(header) {
|
|
59
|
+
// updates the header padding on initial render as the resize senzor doesn't kick in as early
|
|
60
|
+
this.updateHeaderPadding(header && header.nativeElement);
|
|
61
|
+
}
|
|
62
|
+
get popupWidth() {
|
|
63
|
+
const wrapperOffsetWidth = this.wrapper.nativeElement.offsetWidth;
|
|
64
|
+
const min = `${wrapperOffsetWidth}px`;
|
|
65
|
+
const width = this.popupSettings.width || getRowWidthFromColumnsMeta(this.columns) || wrapperOffsetWidth;
|
|
66
|
+
const max = isNaN(width) ? width : `${width}px`;
|
|
67
|
+
return { min, max };
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
get tableSizeClass() {
|
|
73
|
+
return `${this.size ? getSizeClass('table', this.size) : ''}`;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @hidden
|
|
77
|
+
*/
|
|
78
|
+
get listContainerClasses() {
|
|
79
|
+
return [
|
|
80
|
+
'k-popup',
|
|
81
|
+
'k-dropdowngrid-popup'
|
|
82
|
+
].concat(this.popupSettings.popupClass || []);
|
|
83
|
+
}
|
|
84
|
+
ngAfterViewInit() {
|
|
85
|
+
this.updateColumnsMediaState();
|
|
86
|
+
this.addWindowResizeListener();
|
|
87
|
+
}
|
|
88
|
+
ngOnDestroy() {
|
|
89
|
+
super.ngOnDestroy();
|
|
90
|
+
this.removeWindowResizeListener();
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @hidden
|
|
94
|
+
*/
|
|
95
|
+
textFrom(dataItem, field) {
|
|
96
|
+
return getter(dataItem, field);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @hidden
|
|
100
|
+
*
|
|
101
|
+
* Adds or removes a padding value at the end of the header container equal to the size of the scrollbar.
|
|
102
|
+
* As when the items container has a scrollbar, the column headers and the cells are misaligned.
|
|
103
|
+
* When the container has a scrollbar, the padding style is added, and when there is none - it is removed.
|
|
104
|
+
*/
|
|
105
|
+
updateHeaderPadding(header) {
|
|
106
|
+
if (!isPresent(header)) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
// the scrollbar is rendered on the left in rtl
|
|
110
|
+
const headerPaddingPosition = this.localization.rtl ? 'padding-left' : 'padding-right';
|
|
111
|
+
if (this.optionsList.hasScrollbar() && scrollbarWidth() > 0) {
|
|
112
|
+
this.renderer.setStyle(header, headerPaddingPosition, `${scrollbarWidth()}px`);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.renderer.removeStyle(header, headerPaddingPosition);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
verifySettings() {
|
|
119
|
+
if (!isDevMode()) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
if (isPresent(this.data) && this.data.length > 0 && this.data.some(item => !isObject(item))) {
|
|
123
|
+
throw new Error(MultiColumnComboBoxMessages.data);
|
|
124
|
+
}
|
|
125
|
+
if (!isPresent(this.valueField) || !isPresent(this.textField)) {
|
|
126
|
+
throw new Error(MultiColumnComboBoxMessages.textAndValue);
|
|
127
|
+
}
|
|
128
|
+
super.verifySettings();
|
|
129
|
+
}
|
|
130
|
+
addWindowResizeListener() {
|
|
131
|
+
if (!isDocumentAvailable()) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
this.zone.runOutsideAngular(() => this.removeWindowResizeListener = this.renderer.listen(window, 'resize', this.updateColumnsMediaState.bind(this)));
|
|
135
|
+
}
|
|
136
|
+
updateColumnsMediaState() {
|
|
137
|
+
if (!(isPresent(this.columns) && isDocumentAvailable())) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
this.columns.forEach(column => {
|
|
141
|
+
const matchesMedia = !column.media || window.matchMedia(column.media).matches;
|
|
142
|
+
if (column.matchesMedia !== matchesMedia) {
|
|
143
|
+
column.matchesMedia = matchesMedia;
|
|
144
|
+
if (this.isOpen) {
|
|
145
|
+
// enter the zone only if the popup is actually open
|
|
146
|
+
// update its width in case it's dependent on the columns' width
|
|
147
|
+
this.zone.run(() => this.popupRef.popupElement.style.width = this.popupWidth.max);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
+
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
155
|
+
SelectionService,
|
|
156
|
+
DataService,
|
|
157
|
+
NavigationService,
|
|
158
|
+
DisabledItemsService,
|
|
159
|
+
LocalizationService,
|
|
160
|
+
{
|
|
161
|
+
provide: L10N_PREFIX,
|
|
162
|
+
useValue: 'kendo.multicolumncombobox'
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
multi: true,
|
|
166
|
+
provide: NG_VALUE_ACCESSOR,
|
|
167
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
provide: KendoInput,
|
|
171
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
provide: FilterableComponent,
|
|
175
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
176
|
+
}
|
|
177
|
+
], queries: [{ propertyName: "columns", predicate: ComboBoxColumnComponent }], viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
178
|
+
<ng-container
|
|
179
|
+
kendoMultiColumnComboBoxLocalizedMessages
|
|
180
|
+
|
|
181
|
+
i18n-noDataText="kendo.multicolumncombobox.noDataText|The text displayed in the popup when there are no items"
|
|
182
|
+
noDataText="NO DATA FOUND"
|
|
183
|
+
|
|
184
|
+
i18n-clearTitle="kendo.multicolumncombobox.clearTitle|The title of the clear button"
|
|
185
|
+
clearTitle="clear"
|
|
186
|
+
>
|
|
187
|
+
</ng-container>
|
|
188
|
+
<kendo-searchbar
|
|
189
|
+
#searchbar
|
|
190
|
+
[role]="'combobox'"
|
|
191
|
+
[id]="focusableId"
|
|
192
|
+
[listId]="listBoxId"
|
|
193
|
+
[activeDescendant]="activeDescendant"
|
|
194
|
+
[noDataLabel]="noDataLabel"
|
|
195
|
+
[userInput]="text"
|
|
196
|
+
[suggestedText]="getSuggestion()"
|
|
197
|
+
[disabled]="disabled"
|
|
198
|
+
[readonly]="readonly"
|
|
199
|
+
[tabIndex]="tabIndex"
|
|
200
|
+
[popupOpen]="isOpen"
|
|
201
|
+
[placeholder]="placeholder"
|
|
202
|
+
(onNavigate)="handleNavigate($event)"
|
|
203
|
+
(valueChange)="searchBarChange($event)"
|
|
204
|
+
(onBlur)="handleBlur()"
|
|
205
|
+
(onFocus)="handleFocus()"
|
|
206
|
+
>
|
|
207
|
+
</kendo-searchbar>
|
|
208
|
+
|
|
209
|
+
<span
|
|
210
|
+
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
211
|
+
class="k-clear-value"
|
|
212
|
+
[style.visibility]="clearButtonVisiblity"
|
|
213
|
+
aria-hidden="true"
|
|
214
|
+
[attr.title]="messageFor('clearTitle')"
|
|
215
|
+
(click)="clearValue($event)"
|
|
216
|
+
[kendoEventsOutsideAngular]="{
|
|
217
|
+
mousedown: preventEventDefault
|
|
218
|
+
}"
|
|
219
|
+
>
|
|
220
|
+
<span class="k-icon k-i-x"></span>
|
|
221
|
+
</span>
|
|
222
|
+
|
|
223
|
+
<button
|
|
224
|
+
#select
|
|
225
|
+
tabindex="-1"
|
|
226
|
+
aria-hidden="true"
|
|
227
|
+
unselectable="on"
|
|
228
|
+
type="button"
|
|
229
|
+
class="k-input-button k-button k-icon-button"
|
|
230
|
+
[ngClass]="selectButtonClasses"
|
|
231
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
232
|
+
[kendoEventsOutsideAngular]="{
|
|
233
|
+
mousedown: preventEventDefault
|
|
234
|
+
}"
|
|
235
|
+
>
|
|
236
|
+
<span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
237
|
+
</button>
|
|
238
|
+
|
|
239
|
+
<ng-template #popupTemplate>
|
|
240
|
+
<!--user-defined header template -->
|
|
241
|
+
<ng-template
|
|
242
|
+
*ngIf="headerTemplate"
|
|
243
|
+
[templateContext]="{
|
|
244
|
+
templateRef: headerTemplate?.templateRef
|
|
245
|
+
}"
|
|
246
|
+
>
|
|
247
|
+
</ng-template>
|
|
248
|
+
|
|
249
|
+
<!--data table-->
|
|
250
|
+
<div class="k-data-table" [ngClass]="tableSizeClass">
|
|
251
|
+
|
|
252
|
+
<!--grid header-->
|
|
253
|
+
<div
|
|
254
|
+
#header
|
|
255
|
+
class="k-table-header"
|
|
256
|
+
>
|
|
257
|
+
<div class="k-table-header-wrap">
|
|
258
|
+
<table class="k-table" role="presentation">
|
|
259
|
+
<colgroup>
|
|
260
|
+
<ng-container *ngFor="let column of columns">
|
|
261
|
+
<col
|
|
262
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
263
|
+
[style.width.px]="column.width"
|
|
264
|
+
/>
|
|
265
|
+
</ng-container>
|
|
266
|
+
</colgroup>
|
|
267
|
+
<thead class="k-table-thead">
|
|
268
|
+
<tr class="k-table-row">
|
|
269
|
+
<ng-container *ngFor="let column of columns">
|
|
270
|
+
<th
|
|
271
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
272
|
+
class="k-table-th"
|
|
273
|
+
[ngStyle]="column.headerStyle"
|
|
274
|
+
[ngClass]="column.headerClass"
|
|
275
|
+
>
|
|
276
|
+
<ng-container *ngIf="!column.headerTemplate">
|
|
277
|
+
{{ column.title || column.field }}
|
|
278
|
+
</ng-container>
|
|
279
|
+
<ng-template
|
|
280
|
+
*ngIf="column.headerTemplate"
|
|
281
|
+
[templateContext]="{
|
|
282
|
+
templateRef: column.headerTemplate?.templateRef,
|
|
283
|
+
$implicit: column,
|
|
284
|
+
column: column
|
|
285
|
+
}"
|
|
286
|
+
>
|
|
287
|
+
</ng-template>
|
|
288
|
+
</th>
|
|
289
|
+
</ng-container>
|
|
290
|
+
</tr>
|
|
291
|
+
</thead>
|
|
292
|
+
</table>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
<!-- item template -->
|
|
297
|
+
<ng-template #rowTemplate let-dataItem>
|
|
298
|
+
<ng-container *ngFor="let column of columns">
|
|
299
|
+
<span
|
|
300
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
301
|
+
class="k-table-td"
|
|
302
|
+
[ngClass]="column.class"
|
|
303
|
+
[style.width.px]="column.width"
|
|
304
|
+
[ngStyle]="column.style"
|
|
305
|
+
>
|
|
306
|
+
<ng-container *ngIf="!column.cellTemplate">
|
|
307
|
+
{{ textFrom(dataItem, column.field) }}
|
|
308
|
+
</ng-container>
|
|
309
|
+
<ng-template
|
|
310
|
+
*ngIf="column.cellTemplate"
|
|
311
|
+
[templateContext]="{
|
|
312
|
+
templateRef: column.cellTemplate?.templateRef,
|
|
313
|
+
$implicit: dataItem,
|
|
314
|
+
dataItem: dataItem,
|
|
315
|
+
column: column
|
|
316
|
+
}"
|
|
317
|
+
>
|
|
318
|
+
</ng-template>
|
|
319
|
+
</span>
|
|
320
|
+
</ng-container>
|
|
321
|
+
</ng-template>
|
|
322
|
+
|
|
323
|
+
<!--list-->
|
|
324
|
+
<kendo-list
|
|
325
|
+
#optionsList
|
|
326
|
+
[id]="listBoxId"
|
|
327
|
+
[optionPrefix]="optionPrefix"
|
|
328
|
+
[data]="data"
|
|
329
|
+
[textField]="textField"
|
|
330
|
+
[valueField]="valueField"
|
|
331
|
+
[template]="{ templateRef: rowTemplate }"
|
|
332
|
+
[groupTemplate]="groupTemplate"
|
|
333
|
+
[fixedGroupTemplate]="fixedGroupTemplate"
|
|
334
|
+
[height]="listHeight"
|
|
335
|
+
[show]="isOpen"
|
|
336
|
+
[virtual]="virtual"
|
|
337
|
+
[type]="'dropdowngrid'"
|
|
338
|
+
(pageChange)="pageChange($event)"
|
|
339
|
+
(listResize)="updateHeaderPadding(header)"
|
|
340
|
+
>
|
|
341
|
+
</kendo-list>
|
|
342
|
+
|
|
343
|
+
<!--no-data template-->
|
|
344
|
+
<div
|
|
345
|
+
class="k-no-data"
|
|
346
|
+
*ngIf="data.length === 0"
|
|
347
|
+
>
|
|
348
|
+
<ng-template
|
|
349
|
+
[ngIf]="noDataTemplate"
|
|
350
|
+
[templateContext]="{
|
|
351
|
+
templateRef: noDataTemplate?.templateRef
|
|
352
|
+
}"
|
|
353
|
+
>
|
|
354
|
+
</ng-template>
|
|
355
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
356
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
357
|
+
</ng-template>
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
<!--user-defined footer template-->
|
|
361
|
+
<ng-container *ngIf="footerTemplate">
|
|
362
|
+
<div class="k-table-footer">
|
|
363
|
+
<table class="k-table">
|
|
364
|
+
<tfoot class="k-table-tfoot">
|
|
365
|
+
<tr class="k-table-row">
|
|
366
|
+
<td class="k-table-td">
|
|
367
|
+
<ng-template
|
|
368
|
+
[templateContext]="{
|
|
369
|
+
templateRef: footerTemplate.templateRef
|
|
370
|
+
}"
|
|
371
|
+
>
|
|
372
|
+
</ng-template>
|
|
373
|
+
</td>
|
|
374
|
+
</tr>
|
|
375
|
+
</tfoot>
|
|
376
|
+
</table>
|
|
377
|
+
</div>
|
|
378
|
+
</ng-container>
|
|
379
|
+
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
</ng-template>
|
|
383
|
+
|
|
384
|
+
<kendo-resize-sensor
|
|
385
|
+
*ngIf="isOpen"
|
|
386
|
+
(resize)="onResize()"
|
|
387
|
+
>
|
|
388
|
+
</kendo-resize-sensor>
|
|
389
|
+
|
|
390
|
+
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
391
|
+
<ng-container #container></ng-container>
|
|
392
|
+
`, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "noDataLabel", "disabled", "readonly", "tabIndex", "popupOpen", "role", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i10.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
394
|
+
type: Component,
|
|
395
|
+
args: [{
|
|
396
|
+
providers: [
|
|
397
|
+
SelectionService,
|
|
398
|
+
DataService,
|
|
399
|
+
NavigationService,
|
|
400
|
+
DisabledItemsService,
|
|
401
|
+
LocalizationService,
|
|
402
|
+
{
|
|
403
|
+
provide: L10N_PREFIX,
|
|
404
|
+
useValue: 'kendo.multicolumncombobox'
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
multi: true,
|
|
408
|
+
provide: NG_VALUE_ACCESSOR,
|
|
409
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
provide: KendoInput,
|
|
413
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
provide: FilterableComponent,
|
|
417
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
selector: 'kendo-multicolumncombobox',
|
|
421
|
+
template: `
|
|
422
|
+
<ng-container
|
|
423
|
+
kendoMultiColumnComboBoxLocalizedMessages
|
|
424
|
+
|
|
425
|
+
i18n-noDataText="kendo.multicolumncombobox.noDataText|The text displayed in the popup when there are no items"
|
|
426
|
+
noDataText="NO DATA FOUND"
|
|
427
|
+
|
|
428
|
+
i18n-clearTitle="kendo.multicolumncombobox.clearTitle|The title of the clear button"
|
|
429
|
+
clearTitle="clear"
|
|
430
|
+
>
|
|
431
|
+
</ng-container>
|
|
432
|
+
<kendo-searchbar
|
|
433
|
+
#searchbar
|
|
434
|
+
[role]="'combobox'"
|
|
435
|
+
[id]="focusableId"
|
|
436
|
+
[listId]="listBoxId"
|
|
437
|
+
[activeDescendant]="activeDescendant"
|
|
438
|
+
[noDataLabel]="noDataLabel"
|
|
439
|
+
[userInput]="text"
|
|
440
|
+
[suggestedText]="getSuggestion()"
|
|
441
|
+
[disabled]="disabled"
|
|
442
|
+
[readonly]="readonly"
|
|
443
|
+
[tabIndex]="tabIndex"
|
|
444
|
+
[popupOpen]="isOpen"
|
|
445
|
+
[placeholder]="placeholder"
|
|
446
|
+
(onNavigate)="handleNavigate($event)"
|
|
447
|
+
(valueChange)="searchBarChange($event)"
|
|
448
|
+
(onBlur)="handleBlur()"
|
|
449
|
+
(onFocus)="handleFocus()"
|
|
450
|
+
>
|
|
451
|
+
</kendo-searchbar>
|
|
452
|
+
|
|
453
|
+
<span
|
|
454
|
+
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
455
|
+
class="k-clear-value"
|
|
456
|
+
[style.visibility]="clearButtonVisiblity"
|
|
457
|
+
aria-hidden="true"
|
|
458
|
+
[attr.title]="messageFor('clearTitle')"
|
|
459
|
+
(click)="clearValue($event)"
|
|
460
|
+
[kendoEventsOutsideAngular]="{
|
|
461
|
+
mousedown: preventEventDefault
|
|
462
|
+
}"
|
|
463
|
+
>
|
|
464
|
+
<span class="k-icon k-i-x"></span>
|
|
465
|
+
</span>
|
|
466
|
+
|
|
467
|
+
<button
|
|
468
|
+
#select
|
|
469
|
+
tabindex="-1"
|
|
470
|
+
aria-hidden="true"
|
|
471
|
+
unselectable="on"
|
|
472
|
+
type="button"
|
|
473
|
+
class="k-input-button k-button k-icon-button"
|
|
474
|
+
[ngClass]="selectButtonClasses"
|
|
475
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
476
|
+
[kendoEventsOutsideAngular]="{
|
|
477
|
+
mousedown: preventEventDefault
|
|
478
|
+
}"
|
|
479
|
+
>
|
|
480
|
+
<span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
481
|
+
</button>
|
|
482
|
+
|
|
483
|
+
<ng-template #popupTemplate>
|
|
484
|
+
<!--user-defined header template -->
|
|
485
|
+
<ng-template
|
|
486
|
+
*ngIf="headerTemplate"
|
|
487
|
+
[templateContext]="{
|
|
488
|
+
templateRef: headerTemplate?.templateRef
|
|
489
|
+
}"
|
|
490
|
+
>
|
|
491
|
+
</ng-template>
|
|
492
|
+
|
|
493
|
+
<!--data table-->
|
|
494
|
+
<div class="k-data-table" [ngClass]="tableSizeClass">
|
|
495
|
+
|
|
496
|
+
<!--grid header-->
|
|
497
|
+
<div
|
|
498
|
+
#header
|
|
499
|
+
class="k-table-header"
|
|
500
|
+
>
|
|
501
|
+
<div class="k-table-header-wrap">
|
|
502
|
+
<table class="k-table" role="presentation">
|
|
503
|
+
<colgroup>
|
|
504
|
+
<ng-container *ngFor="let column of columns">
|
|
505
|
+
<col
|
|
506
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
507
|
+
[style.width.px]="column.width"
|
|
508
|
+
/>
|
|
509
|
+
</ng-container>
|
|
510
|
+
</colgroup>
|
|
511
|
+
<thead class="k-table-thead">
|
|
512
|
+
<tr class="k-table-row">
|
|
513
|
+
<ng-container *ngFor="let column of columns">
|
|
514
|
+
<th
|
|
515
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
516
|
+
class="k-table-th"
|
|
517
|
+
[ngStyle]="column.headerStyle"
|
|
518
|
+
[ngClass]="column.headerClass"
|
|
519
|
+
>
|
|
520
|
+
<ng-container *ngIf="!column.headerTemplate">
|
|
521
|
+
{{ column.title || column.field }}
|
|
522
|
+
</ng-container>
|
|
523
|
+
<ng-template
|
|
524
|
+
*ngIf="column.headerTemplate"
|
|
525
|
+
[templateContext]="{
|
|
526
|
+
templateRef: column.headerTemplate?.templateRef,
|
|
527
|
+
$implicit: column,
|
|
528
|
+
column: column
|
|
529
|
+
}"
|
|
530
|
+
>
|
|
531
|
+
</ng-template>
|
|
532
|
+
</th>
|
|
533
|
+
</ng-container>
|
|
534
|
+
</tr>
|
|
535
|
+
</thead>
|
|
536
|
+
</table>
|
|
537
|
+
</div>
|
|
538
|
+
</div>
|
|
539
|
+
|
|
540
|
+
<!-- item template -->
|
|
541
|
+
<ng-template #rowTemplate let-dataItem>
|
|
542
|
+
<ng-container *ngFor="let column of columns">
|
|
543
|
+
<span
|
|
544
|
+
*ngIf="!column.hidden && column.matchesMedia"
|
|
545
|
+
class="k-table-td"
|
|
546
|
+
[ngClass]="column.class"
|
|
547
|
+
[style.width.px]="column.width"
|
|
548
|
+
[ngStyle]="column.style"
|
|
549
|
+
>
|
|
550
|
+
<ng-container *ngIf="!column.cellTemplate">
|
|
551
|
+
{{ textFrom(dataItem, column.field) }}
|
|
552
|
+
</ng-container>
|
|
553
|
+
<ng-template
|
|
554
|
+
*ngIf="column.cellTemplate"
|
|
555
|
+
[templateContext]="{
|
|
556
|
+
templateRef: column.cellTemplate?.templateRef,
|
|
557
|
+
$implicit: dataItem,
|
|
558
|
+
dataItem: dataItem,
|
|
559
|
+
column: column
|
|
560
|
+
}"
|
|
561
|
+
>
|
|
562
|
+
</ng-template>
|
|
563
|
+
</span>
|
|
564
|
+
</ng-container>
|
|
565
|
+
</ng-template>
|
|
566
|
+
|
|
567
|
+
<!--list-->
|
|
568
|
+
<kendo-list
|
|
569
|
+
#optionsList
|
|
570
|
+
[id]="listBoxId"
|
|
571
|
+
[optionPrefix]="optionPrefix"
|
|
572
|
+
[data]="data"
|
|
573
|
+
[textField]="textField"
|
|
574
|
+
[valueField]="valueField"
|
|
575
|
+
[template]="{ templateRef: rowTemplate }"
|
|
576
|
+
[groupTemplate]="groupTemplate"
|
|
577
|
+
[fixedGroupTemplate]="fixedGroupTemplate"
|
|
578
|
+
[height]="listHeight"
|
|
579
|
+
[show]="isOpen"
|
|
580
|
+
[virtual]="virtual"
|
|
581
|
+
[type]="'dropdowngrid'"
|
|
582
|
+
(pageChange)="pageChange($event)"
|
|
583
|
+
(listResize)="updateHeaderPadding(header)"
|
|
584
|
+
>
|
|
585
|
+
</kendo-list>
|
|
586
|
+
|
|
587
|
+
<!--no-data template-->
|
|
588
|
+
<div
|
|
589
|
+
class="k-no-data"
|
|
590
|
+
*ngIf="data.length === 0"
|
|
591
|
+
>
|
|
592
|
+
<ng-template
|
|
593
|
+
[ngIf]="noDataTemplate"
|
|
594
|
+
[templateContext]="{
|
|
595
|
+
templateRef: noDataTemplate?.templateRef
|
|
596
|
+
}"
|
|
597
|
+
>
|
|
598
|
+
</ng-template>
|
|
599
|
+
<ng-template [ngIf]="!noDataTemplate">
|
|
600
|
+
<div>{{ messageFor('noDataText') }}</div>
|
|
601
|
+
</ng-template>
|
|
602
|
+
</div>
|
|
603
|
+
|
|
604
|
+
<!--user-defined footer template-->
|
|
605
|
+
<ng-container *ngIf="footerTemplate">
|
|
606
|
+
<div class="k-table-footer">
|
|
607
|
+
<table class="k-table">
|
|
608
|
+
<tfoot class="k-table-tfoot">
|
|
609
|
+
<tr class="k-table-row">
|
|
610
|
+
<td class="k-table-td">
|
|
611
|
+
<ng-template
|
|
612
|
+
[templateContext]="{
|
|
613
|
+
templateRef: footerTemplate.templateRef
|
|
614
|
+
}"
|
|
615
|
+
>
|
|
616
|
+
</ng-template>
|
|
617
|
+
</td>
|
|
618
|
+
</tr>
|
|
619
|
+
</tfoot>
|
|
620
|
+
</table>
|
|
621
|
+
</div>
|
|
622
|
+
</ng-container>
|
|
623
|
+
|
|
624
|
+
</div>
|
|
625
|
+
|
|
626
|
+
</ng-template>
|
|
627
|
+
|
|
628
|
+
<kendo-resize-sensor
|
|
629
|
+
*ngIf="isOpen"
|
|
630
|
+
(resize)="onResize()"
|
|
631
|
+
>
|
|
632
|
+
</kendo-resize-sensor>
|
|
633
|
+
|
|
634
|
+
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
635
|
+
<ng-container #container></ng-container>
|
|
636
|
+
`
|
|
637
|
+
}]
|
|
638
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: i3.SelectionService }, { type: i4.NavigationService }, { type: i5.DisabledItemsService }, { type: i6.DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
639
|
+
type: Inject,
|
|
640
|
+
args: [TOUCH_ENABLED]
|
|
641
|
+
}] }]; }, propDecorators: { hostClasses: [{
|
|
642
|
+
type: HostBinding,
|
|
643
|
+
args: ['class.k-dropdowngrid']
|
|
644
|
+
}], isDisabled: [{
|
|
645
|
+
type: HostBinding,
|
|
646
|
+
args: ['class.k-disabled']
|
|
647
|
+
}], columns: [{
|
|
648
|
+
type: ContentChildren,
|
|
649
|
+
args: [ComboBoxColumnComponent]
|
|
650
|
+
}], header: [{
|
|
651
|
+
type: ViewChild,
|
|
652
|
+
args: ['header', { static: false }]
|
|
653
|
+
}] } });
|
|
@@ -2,7 +2,6 @@
|
|
|
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:variable-name */
|
|
6
5
|
/**
|
|
7
6
|
* @hidden
|
|
8
7
|
*/
|
|
File without changes
|