@progress/kendo-angular-dropdowns 6.0.2-dev.202202251358 → 7.0.0-dev.202204150727
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.component.d.ts +47 -35
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.module.d.ts +7 -0
- package/bundles/kendo-angular-dropdowns.umd.js +5 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-header-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/combobox-column.component.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/util.d.ts +0 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox.component.d.ts +53 -39
- package/comboboxes/combobox.module.d.ts +31 -0
- package/{dist/es2015/comboboxes → comboboxes}/multicolumncombobox.component.d.ts +8 -5
- package/{dist/es2015/common → common}/constants/error-messages.d.ts +27 -27
- package/{dist/es2015/common → common}/constants/touch-enabled.d.ts +0 -0
- package/{dist/es2015/common → common}/data.service.d.ts +6 -2
- package/{dist/es2015/common → common}/disabled-items/disabled-items.service.d.ts +3 -0
- package/{dist/es2015/common → common}/disabled-items/item-disabled.d.ts +0 -0
- package/{dist/es2015/common → common}/filter-input.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/filtering/filter-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/filtering/filter.directive.d.ts +6 -2
- package/{dist/es2015/common → common}/filtering/filterable-component.d.ts +0 -0
- package/{dist/es2015/common → common}/list-item.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/list.component.d.ts +11 -6
- package/{dist/es2015/common → common}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/common → common}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/localization/messages.d.ts +3 -0
- package/{dist/es2015/common → common}/models/checkboxes-settings.d.ts +1 -1
- package/{dist/es2015/common → common}/models/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +1 -7
- package/{dist/es2015/common → common}/models/list-type.d.ts +0 -0
- package/{dist/es2015/common → common}/models/page-change-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/remove-tag-event.d.ts +4 -1
- package/{dist/es2015/common → common}/models/rounded.d.ts +1 -8
- package/common/models/size.d.ts +8 -0
- package/{dist/es2015/common → common}/models/virtualization-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation-action.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation.service.d.ts +3 -0
- package/{dist/es2015/common → common}/searchbar.component.d.ts +9 -4
- package/{dist/es2015/common → common}/selection/selectable.directive.d.ts +5 -2
- package/{dist/es2015/common → common}/selection/selection.service.d.ts +6 -2
- package/common/shared-directives.module.d.ts +37 -0
- package/common/shared.module.d.ts +26 -0
- package/{dist/es2015/common → common}/taglist.component.d.ts +7 -3
- package/{dist/es2015/common → common}/templates/custom-item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/fixed-group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/header-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/no-data-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/template-context.directive.d.ts +4 -1
- package/{dist/es2015/common → common}/templates/value-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/util.d.ts +3 -2
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.component.d.ts +61 -48
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.module.d.ts +7 -0
- package/{dist/es2015/dropdowns.module.d.ts → dropdowns.module.d.ts} +9 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/base-check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check-all.directive.d.ts +5 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checkable-settings.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checked-item.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +10 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +6 -4
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +62 -45
- package/dropdowntrees/dropdowntrees.module.d.ts +25 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/expanded-state/expand.directive.d.ts +5 -1
- package/{dist/es2015/dropdowntrees → dropdowntrees}/multiselecttree.component.d.ts +70 -52
- package/{dist/es2015/dropdowntrees → dropdowntrees}/summary-tag/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/templates/node-template.directive.d.ts +3 -0
- package/{dist/es2015 → esm2015}/autocomplete/autocomplete.component.js +296 -258
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/column-cell-template.directive.js +12 -11
- package/esm2015/comboboxes/combobox-column/column-header-template.directive.js +26 -0
- package/esm2015/comboboxes/combobox-column/combobox-column.component.js +59 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/util.js +0 -2
- package/{dist/es2015 → esm2015}/comboboxes/combobox.component.js +321 -281
- package/{dist/es2015 → esm2015}/comboboxes/combobox.module.js +23 -14
- package/esm2015/comboboxes/multicolumncombobox.component.js +653 -0
- package/{dist/es2015 → esm2015}/common/constants/error-messages.js +0 -1
- package/{dist/es2015 → esm2015}/common/constants/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/common/data.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/disabled-items/disabled-items.service.js +9 -9
- package/{dist/es2015 → esm2015}/common/disabled-items/item-disabled.js +1 -0
- package/esm2015/common/filter-input.directive.js +34 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter.directive.js +19 -24
- package/{dist/es2015 → esm2015}/common/filtering/filterable-component.js +0 -0
- package/esm2015/common/list-item.directive.js +22 -0
- package/{dist/es2015 → esm2015}/common/list.component.js +194 -126
- package/esm2015/common/localization/custom-messages.component.js +41 -0
- package/esm2015/common/localization/localized-messages.directive.js +44 -0
- package/esm2015/common/localization/messages.js +25 -0
- package/{dist/es2015 → esm2015}/common/models/checkboxes-settings.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/direction.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/list-type.js +1 -0
- package/{dist/es → esm2015}/common/models/page-change-event.js +1 -0
- package/{dist/es → esm2015}/common/models/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/remove-tag-event.js +0 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/virtualization-settings.js +0 -0
- package/{dist/es → esm2015}/common/navigation/navigation-action.js +1 -0
- package/{dist/es2015 → esm2015}/common/navigation/navigation.service.js +10 -11
- package/{dist/es2015 → esm2015}/common/searchbar.component.js +84 -97
- package/esm2015/common/selection/selectable.directive.js +76 -0
- package/{dist/es2015 → esm2015}/common/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/shared-directives.module.js +37 -10
- package/esm2015/common/shared.module.js +59 -0
- package/{dist/es2015 → esm2015}/common/taglist.component.js +112 -87
- package/{dist/es2015 → esm2015}/common/templates/custom-item-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/fixed-group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/footer-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/group-tag-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/header-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/no-data-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/tag-template.directive.js +12 -12
- package/esm2015/common/templates/template-context.directive.js +33 -0
- package/{dist/es2015 → esm2015}/common/templates/value-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/util.js +1 -3
- package/{dist/es2015 → esm2015}/dropdownlist/dropdownlist.component.js +393 -325
- package/esm2015/dropdownlist/dropdownlist.module.js +37 -0
- package/{dist/es → esm2015}/dropdowns.module.js +12 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/base-check.directive.js +13 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check-all.directive.js +39 -46
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check.directive.js +20 -27
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checkable-settings.js +1 -0
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checked-item.js +1 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +51 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +69 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +50 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +47 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +410 -343
- package/esm2015/dropdowntrees/dropdowntrees.module.js +61 -0
- package/esm2015/dropdowntrees/expanded-state/expand.directive.js +38 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/multiselecttree.component.js +474 -378
- package/{dist/es2015 → esm2015}/dropdowntrees/summary-tag/summary-tag.directive.js +15 -15
- package/esm2015/dropdowntrees/templates/node-template.directive.js +28 -0
- package/{dist/es2015/common/shared.module.d.ts → esm2015/kendo-angular-dropdowns.js} +2 -3
- package/{dist/es → esm2015}/main.js +15 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +367 -314
- package/{dist/es2015 → esm2015}/multiselect/multiselect.module.js +19 -14
- package/{dist/es2015 → esm2015}/multiselect/summary-tag.directive.js +15 -15
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dropdowns.js} +8066 -7210
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +16 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +54 -39
- package/{dist/es2015/multiselect → multiselect}/multiselect.module.d.ts +9 -0
- package/{dist/es2015/multiselect → multiselect}/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +38 -114
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-dropdowns.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/autocomplete/autocomplete.component.js +0 -1201
- package/dist/es/autocomplete/autocomplete.module.js +0 -36
- package/dist/es/comboboxes/combobox-column/column-cell-template.directive.js +0 -29
- package/dist/es/comboboxes/combobox-column/column-header-template.directive.js +0 -26
- package/dist/es/comboboxes/combobox-column/combobox-column.component.js +0 -78
- package/dist/es/comboboxes/combobox-column/util.js +0 -57
- package/dist/es/comboboxes/combobox.component.js +0 -1622
- package/dist/es/comboboxes/combobox.module.js +0 -52
- package/dist/es/comboboxes/multicolumncombobox.component.js +0 -230
- package/dist/es/common/constants/error-messages.js +0 -62
- package/dist/es/common/constants/touch-enabled.js +0 -9
- package/dist/es/common/data.service.js +0 -250
- package/dist/es/common/disabled-items/disabled-items.service.js +0 -45
- package/dist/es/common/disabled-items/item-disabled.js +0 -4
- package/dist/es/common/filter-input.directive.js +0 -37
- package/dist/es/common/filtering/filter-settings.js +0 -4
- package/dist/es/common/filtering/filter.directive.js +0 -141
- package/dist/es/common/filtering/filterable-component.js +0 -17
- package/dist/es/common/list-item.directive.js +0 -22
- package/dist/es/common/list.component.js +0 -503
- package/dist/es/common/localization/custom-messages.component.js +0 -44
- package/dist/es/common/localization/localized-messages.directive.js +0 -35
- package/dist/es/common/localization/messages.js +0 -34
- package/dist/es/common/models/checkboxes-settings.js +0 -15
- package/dist/es/common/models/direction.js +0 -4
- package/dist/es/common/models/preventable-event.js +0 -29
- package/dist/es/common/models/remove-tag-event.js +0 -24
- package/dist/es/common/models/virtualization-settings.js +0 -25
- package/dist/es/common/navigation/navigation.service.js +0 -147
- package/dist/es/common/searchbar.component.js +0 -253
- package/dist/es/common/selection/selectable.directive.js +0 -93
- package/dist/es/common/selection/selection.service.js +0 -107
- package/dist/es/common/shared-directives.module.js +0 -60
- package/dist/es/common/shared.module.js +0 -45
- package/dist/es/common/taglist.component.js +0 -179
- package/dist/es/common/templates/custom-item-template.directive.js +0 -47
- package/dist/es/common/templates/fixed-group-template.directive.js +0 -54
- package/dist/es/common/templates/footer-template.directive.js +0 -47
- package/dist/es/common/templates/group-tag-template.directive.js +0 -46
- package/dist/es/common/templates/group-template.directive.js +0 -54
- package/dist/es/common/templates/header-template.directive.js +0 -47
- package/dist/es/common/templates/item-template.directive.js +0 -46
- package/dist/es/common/templates/no-data-template.directive.js +0 -48
- package/dist/es/common/templates/tag-template.directive.js +0 -45
- package/dist/es/common/templates/template-context.directive.js +0 -40
- package/dist/es/common/templates/value-template.directive.js +0 -49
- package/dist/es/common/util.js +0 -337
- package/dist/es/dropdownlist/dropdownlist.component.js +0 -1649
- package/dist/es/dropdownlist/dropdownlist.module.js +0 -37
- package/dist/es/dropdowntrees/checked-state/base-check.directive.js +0 -68
- package/dist/es/dropdowntrees/checked-state/check-all.directive.js +0 -181
- package/dist/es/dropdowntrees/checked-state/check.directive.js +0 -169
- package/dist/es/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/dropdowntree.component.js +0 -1394
- package/dist/es/dropdowntrees/dropdowntrees.module.js +0 -45
- package/dist/es/dropdowntrees/expanded-state/expand.directive.js +0 -28
- package/dist/es/dropdowntrees/multiselecttree.component.js +0 -1683
- package/dist/es/dropdowntrees/summary-tag/summary-tag.directive.js +0 -63
- package/dist/es/dropdowntrees/templates/node-template.directive.js +0 -28
- package/dist/es/index.js +0 -30
- package/dist/es/multiselect/multiselect.component.js +0 -1734
- package/dist/es/multiselect/multiselect.module.js +0 -50
- package/dist/es/multiselect/summary-tag.directive.js +0 -65
- package/dist/es/package-metadata.js +0 -15
- package/dist/es2015/autocomplete/autocomplete.module.js +0 -33
- package/dist/es2015/comboboxes/combobox-column/column-header-template.directive.js +0 -25
- package/dist/es2015/comboboxes/combobox-column/combobox-column.component.js +0 -81
- package/dist/es2015/comboboxes/combobox.module.d.ts +0 -20
- package/dist/es2015/comboboxes/multicolumncombobox.component.js +0 -417
- package/dist/es2015/common/filter-input.directive.js +0 -35
- package/dist/es2015/common/list-item.directive.js +0 -21
- package/dist/es2015/common/localization/custom-messages.component.js +0 -36
- package/dist/es2015/common/localization/localized-messages.directive.js +0 -39
- package/dist/es2015/common/localization/messages.js +0 -28
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/list-type.js +0 -4
- package/dist/es2015/common/models/page-change-event.js +0 -4
- package/dist/es2015/common/models/popup-settings.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.d.ts +0 -14
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/navigation/navigation-action.js +0 -24
- package/dist/es2015/common/selection/selectable.directive.js +0 -84
- package/dist/es2015/common/shared-directives.module.d.ts +0 -20
- package/dist/es2015/common/shared.module.js +0 -42
- package/dist/es2015/common/templates/template-context.directive.js +0 -35
- package/dist/es2015/dropdownlist/dropdownlist.module.js +0 -34
- package/dist/es2015/dropdowns.module.js +0 -50
- package/dist/es2015/dropdowntrees/checked-state/checkable-settings.js +0 -4
- package/dist/es2015/dropdowntrees/checked-state/checked-item.js +0 -4
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/dropdowntrees.module.d.ts +0 -9
- package/dist/es2015/dropdowntrees/dropdowntrees.module.js +0 -42
- package/dist/es2015/dropdowntrees/expanded-state/expand.directive.js +0 -26
- package/dist/es2015/dropdowntrees/templates/node-template.directive.js +0 -27
- package/dist/es2015/index.d.ts +0 -30
- package/dist/es2015/index.js +0 -30
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -44
- package/dist/fesm5/index.js +0 -13097
- package/dist/npm/autocomplete/autocomplete.component.js +0 -1203
- package/dist/npm/autocomplete/autocomplete.module.js +0 -38
- package/dist/npm/comboboxes/combobox-column/column-cell-template.directive.js +0 -31
- package/dist/npm/comboboxes/combobox-column/column-header-template.directive.js +0 -28
- package/dist/npm/comboboxes/combobox-column/combobox-column.component.js +0 -80
- package/dist/npm/comboboxes/combobox-column/util.js +0 -59
- package/dist/npm/comboboxes/combobox.component.js +0 -1624
- package/dist/npm/comboboxes/combobox.module.js +0 -54
- package/dist/npm/comboboxes/multicolumncombobox.component.js +0 -232
- package/dist/npm/common/constants/error-messages.js +0 -64
- package/dist/npm/common/constants/touch-enabled.js +0 -11
- package/dist/npm/common/data.service.js +0 -252
- package/dist/npm/common/disabled-items/disabled-items.service.js +0 -47
- package/dist/npm/common/disabled-items/item-disabled.js +0 -6
- package/dist/npm/common/filter-input.directive.js +0 -39
- package/dist/npm/common/filtering/filter-settings.js +0 -6
- package/dist/npm/common/filtering/filter.directive.js +0 -143
- package/dist/npm/common/filtering/filterable-component.js +0 -19
- package/dist/npm/common/list-item.directive.js +0 -24
- package/dist/npm/common/list.component.js +0 -505
- package/dist/npm/common/localization/custom-messages.component.js +0 -46
- package/dist/npm/common/localization/localized-messages.directive.js +0 -37
- package/dist/npm/common/localization/messages.js +0 -36
- package/dist/npm/common/models/checkboxes-settings.js +0 -17
- package/dist/npm/common/models/direction.js +0 -6
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/list-type.js +0 -6
- package/dist/npm/common/models/page-change-event.js +0 -6
- package/dist/npm/common/models/popup-settings.js +0 -6
- package/dist/npm/common/models/preventable-event.js +0 -31
- package/dist/npm/common/models/remove-tag-event.js +0 -26
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/virtualization-settings.js +0 -27
- package/dist/npm/common/navigation/navigation-action.js +0 -26
- package/dist/npm/common/navigation/navigation.service.js +0 -149
- package/dist/npm/common/searchbar.component.js +0 -255
- package/dist/npm/common/selection/selectable.directive.js +0 -95
- package/dist/npm/common/selection/selection.service.js +0 -109
- package/dist/npm/common/shared-directives.module.js +0 -62
- package/dist/npm/common/shared.module.js +0 -47
- package/dist/npm/common/taglist.component.js +0 -181
- package/dist/npm/common/templates/custom-item-template.directive.js +0 -49
- package/dist/npm/common/templates/fixed-group-template.directive.js +0 -56
- package/dist/npm/common/templates/footer-template.directive.js +0 -49
- package/dist/npm/common/templates/group-tag-template.directive.js +0 -48
- package/dist/npm/common/templates/group-template.directive.js +0 -56
- package/dist/npm/common/templates/header-template.directive.js +0 -49
- package/dist/npm/common/templates/item-template.directive.js +0 -48
- package/dist/npm/common/templates/no-data-template.directive.js +0 -50
- package/dist/npm/common/templates/tag-template.directive.js +0 -47
- package/dist/npm/common/templates/template-context.directive.js +0 -42
- package/dist/npm/common/templates/value-template.directive.js +0 -51
- package/dist/npm/common/util.js +0 -339
- package/dist/npm/dropdownlist/dropdownlist.component.js +0 -1651
- package/dist/npm/dropdownlist/dropdownlist.module.js +0 -39
- package/dist/npm/dropdowns.module.js +0 -55
- package/dist/npm/dropdowntrees/checked-state/base-check.directive.js +0 -70
- package/dist/npm/dropdowntrees/checked-state/check-all.directive.js +0 -183
- package/dist/npm/dropdowntrees/checked-state/check.directive.js +0 -171
- package/dist/npm/dropdowntrees/checked-state/checkable-settings.js +0 -6
- package/dist/npm/dropdowntrees/checked-state/checked-item.js +0 -6
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/dropdowntree.component.js +0 -1399
- package/dist/npm/dropdowntrees/dropdowntrees.module.js +0 -47
- package/dist/npm/dropdowntrees/expanded-state/expand.directive.js +0 -30
- package/dist/npm/dropdowntrees/multiselecttree.component.js +0 -1688
- package/dist/npm/dropdowntrees/summary-tag/summary-tag.directive.js +0 -65
- package/dist/npm/dropdowntrees/templates/node-template.directive.js +0 -30
- package/dist/npm/index.js +0 -55
- package/dist/npm/main.js +0 -86
- package/dist/npm/multiselect/multiselect.component.js +0 -1736
- package/dist/npm/multiselect/multiselect.module.js +0 -52
- package/dist/npm/multiselect/summary-tag.directive.js +0 -67
- package/dist/npm/package-metadata.js +0 -17
- package/dist/systemjs/kendo-angular-dropdowns.js +0 -5
|
@@ -1,60 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { ItemTemplateDirective } from './templates/item-template.directive';
|
|
8
|
-
import { GroupTemplateDirective } from './templates/group-template.directive';
|
|
9
|
-
import { FixedGroupTemplateDirective } from './templates/fixed-group-template.directive';
|
|
10
|
-
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
11
|
-
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
12
|
-
import { NoDataTemplateDirective } from './templates/no-data-template.directive';
|
|
13
|
-
import { ValueTemplateDirective } from './templates/value-template.directive';
|
|
14
|
-
import { TagTemplateDirective } from './templates/tag-template.directive';
|
|
15
|
-
import { GroupTagTemplateDirective } from './templates/group-tag-template.directive';
|
|
16
|
-
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
17
|
-
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
18
|
-
import { FilterDirective } from './filtering/filter.directive';
|
|
19
|
-
import { FilterInputDirective } from './filter-input.directive';
|
|
20
|
-
var SHARED_DIRECTIVES = [
|
|
21
|
-
HeaderTemplateDirective,
|
|
22
|
-
FooterTemplateDirective,
|
|
23
|
-
ItemTemplateDirective,
|
|
24
|
-
GroupTemplateDirective,
|
|
25
|
-
FixedGroupTemplateDirective,
|
|
26
|
-
NoDataTemplateDirective,
|
|
27
|
-
ValueTemplateDirective,
|
|
28
|
-
TagTemplateDirective,
|
|
29
|
-
GroupTagTemplateDirective,
|
|
30
|
-
LocalizedMessagesDirective,
|
|
31
|
-
CustomMessagesComponent,
|
|
32
|
-
FilterDirective,
|
|
33
|
-
FilterInputDirective
|
|
34
|
-
];
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*
|
|
38
|
-
* The exported package module.
|
|
39
|
-
*
|
|
40
|
-
* The package exports:
|
|
41
|
-
* - `ItemTemplateDirective`—The item template directive.
|
|
42
|
-
* - `ValueTemplateDirective`—The value template directive.
|
|
43
|
-
* - `HeaderTemplateDirective`—The header template directive.
|
|
44
|
-
* - `FooterTemplateDirective`—The footer template directive.
|
|
45
|
-
* - `NoDataTemplateDirective`—The noData template directive.
|
|
46
|
-
* - `TagTemplateDirective`—The tag template directive.
|
|
47
|
-
* - `SummaryTagTemplateDirective`—The summary tag template directive.
|
|
48
|
-
*/
|
|
49
|
-
var SharedDirectivesModule = /** @class */ (function () {
|
|
50
|
-
function SharedDirectivesModule() {
|
|
51
|
-
}
|
|
52
|
-
SharedDirectivesModule = tslib_1.__decorate([
|
|
53
|
-
NgModule({
|
|
54
|
-
declarations: [SHARED_DIRECTIVES],
|
|
55
|
-
exports: [SHARED_DIRECTIVES]
|
|
56
|
-
})
|
|
57
|
-
], SharedDirectivesModule);
|
|
58
|
-
return SharedDirectivesModule;
|
|
59
|
-
}());
|
|
60
|
-
export { SharedDirectivesModule };
|
|
@@ -1,45 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { FormsModule } from '@angular/forms';
|
|
9
|
-
import { ListComponent } from './list.component';
|
|
10
|
-
import { SearchBarComponent } from './searchbar.component';
|
|
11
|
-
import { TagListComponent } from './taglist.component';
|
|
12
|
-
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
13
|
-
import { ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
14
|
-
import { SharedDirectivesModule } from './shared-directives.module';
|
|
15
|
-
import { ListItemDirective } from './list-item.directive';
|
|
16
|
-
import { SelectableDirective } from './selection/selectable.directive';
|
|
17
|
-
import { TemplateContextDirective } from './templates/template-context.directive';
|
|
18
|
-
import { CheckDirective } from '../dropdowntrees/checked-state/check.directive';
|
|
19
|
-
import { CheckAllDirective } from '../dropdowntrees/checked-state/check-all.directive';
|
|
20
|
-
var INTERNAL_DIRECTIVES = [
|
|
21
|
-
ListComponent,
|
|
22
|
-
ListItemDirective,
|
|
23
|
-
SelectableDirective,
|
|
24
|
-
SearchBarComponent,
|
|
25
|
-
TemplateContextDirective,
|
|
26
|
-
TagListComponent,
|
|
27
|
-
CheckDirective,
|
|
28
|
-
CheckAllDirective
|
|
29
|
-
];
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
var SharedModule = /** @class */ (function () {
|
|
34
|
-
function SharedModule() {
|
|
35
|
-
}
|
|
36
|
-
SharedModule = tslib_1.__decorate([
|
|
37
|
-
NgModule({
|
|
38
|
-
declarations: [INTERNAL_DIRECTIVES],
|
|
39
|
-
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule],
|
|
40
|
-
imports: [CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule]
|
|
41
|
-
})
|
|
42
|
-
], SharedModule);
|
|
43
|
-
return SharedModule;
|
|
44
|
-
}());
|
|
45
|
-
export { SharedModule };
|
|
@@ -1,179 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, Output, EventEmitter, HostBinding, Renderer2, ElementRef } from '@angular/core';
|
|
7
|
-
import { TagTemplateDirective } from '../common/templates/tag-template.directive';
|
|
8
|
-
import { GroupTagTemplateDirective } from '../common/templates/group-tag-template.directive';
|
|
9
|
-
import { getSizeClass, getter, isPresent } from '../common/util';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var TagListComponent = /** @class */ (function () {
|
|
14
|
-
function TagListComponent(renderer, hostElement) {
|
|
15
|
-
this.renderer = renderer;
|
|
16
|
-
this.hostElement = hostElement;
|
|
17
|
-
this.rounded = 'medium';
|
|
18
|
-
this.fillMode = 'solid';
|
|
19
|
-
/**
|
|
20
|
-
* A collection with the disabled tags' indices.
|
|
21
|
-
*/
|
|
22
|
-
this.disabledIndices = new Set();
|
|
23
|
-
this.removeTag = new EventEmitter();
|
|
24
|
-
this.hostClasses = true;
|
|
25
|
-
this._size = 'medium';
|
|
26
|
-
}
|
|
27
|
-
Object.defineProperty(TagListComponent.prototype, "size", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return this._size;
|
|
30
|
-
},
|
|
31
|
-
set: function (size) {
|
|
32
|
-
this.renderer.removeClass(this.hostElement.nativeElement, getSizeClass('chip-list', this.size));
|
|
33
|
-
if (size) {
|
|
34
|
-
this.renderer.addClass(this.hostElement.nativeElement, getSizeClass('chip-list', size));
|
|
35
|
-
}
|
|
36
|
-
this._size = size;
|
|
37
|
-
},
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(TagListComponent.prototype, "hostId", {
|
|
42
|
-
get: function () {
|
|
43
|
-
return this.id;
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
TagListComponent.prototype.tagProp = function (tag, prop, index) {
|
|
49
|
-
var propField = prop && this.getPropField(tag, prop, index);
|
|
50
|
-
return getter(tag, propField);
|
|
51
|
-
};
|
|
52
|
-
TagListComponent.prototype.isTagDisabled = function (tag, positionIndex) {
|
|
53
|
-
var _this = this;
|
|
54
|
-
if (this.isGroupTag(tag)) {
|
|
55
|
-
/** The `positionIndex` is used to determine after how many single tags is the group tag displayed =>
|
|
56
|
-
* => it is used to increment the indices inside the group tag so that we determine the actual position index
|
|
57
|
-
* of each group tag item as they appear in the `value` (important to check against `disabledIndices`)
|
|
58
|
-
* e.g. `disabledIndices = [0, 1]` && `tags = ['Small', ['Medium', 'Large']]` => without the incrementation with
|
|
59
|
-
* `positionIndex`, the group tag would yield [0, 1] as indices, while it should yield [1, 2]
|
|
60
|
-
*/
|
|
61
|
-
return tag.every(function (_tag, index) { return _this.disabledIndices.has(index + positionIndex); });
|
|
62
|
-
}
|
|
63
|
-
return this.disabledIndices.has(positionIndex);
|
|
64
|
-
};
|
|
65
|
-
TagListComponent.prototype.deleteTag = function (event, tag, index) {
|
|
66
|
-
event.preventDefault();
|
|
67
|
-
event.stopImmediatePropagation();
|
|
68
|
-
if (!this.disabled && event.which === 1) {
|
|
69
|
-
this.removeTag.emit({ tag: tag, index: index });
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
TagListComponent.prototype.itemId = function (tag, index) {
|
|
73
|
-
if (tag) { //because of custom values
|
|
74
|
-
return this.tagPrefix + "-" + this.tagProp(tag, this.valueField, index);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
TagListComponent.prototype.isGroupTag = function (tag) {
|
|
78
|
-
return tag instanceof Array;
|
|
79
|
-
};
|
|
80
|
-
TagListComponent.prototype.tagAriaHidden = function (index) {
|
|
81
|
-
return isPresent(this.focused) && this.focused !== index;
|
|
82
|
-
};
|
|
83
|
-
TagListComponent.prototype.getPropField = function (tag, prop, index) {
|
|
84
|
-
// Needed for MultiSelectTree value binding (Heterogeneous Data)
|
|
85
|
-
var fieldsCount = prop.length - 1;
|
|
86
|
-
if (typeof prop === 'string') {
|
|
87
|
-
return prop;
|
|
88
|
-
}
|
|
89
|
-
else if (this.valueDepth) {
|
|
90
|
-
var depth = this.valueDepth[index];
|
|
91
|
-
return fieldsCount < depth ? prop[fieldsCount] : prop[depth];
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return prop.find(function (item) { return item in tag; });
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
tslib_1.__decorate([
|
|
98
|
-
Input(),
|
|
99
|
-
tslib_1.__metadata("design:type", Array)
|
|
100
|
-
], TagListComponent.prototype, "tags", void 0);
|
|
101
|
-
tslib_1.__decorate([
|
|
102
|
-
Input(),
|
|
103
|
-
tslib_1.__metadata("design:type", Object)
|
|
104
|
-
], TagListComponent.prototype, "textField", void 0);
|
|
105
|
-
tslib_1.__decorate([
|
|
106
|
-
Input(),
|
|
107
|
-
tslib_1.__metadata("design:type", String)
|
|
108
|
-
], TagListComponent.prototype, "valueField", void 0);
|
|
109
|
-
tslib_1.__decorate([
|
|
110
|
-
Input(),
|
|
111
|
-
tslib_1.__metadata("design:type", Array)
|
|
112
|
-
], TagListComponent.prototype, "valueDepth", void 0);
|
|
113
|
-
tslib_1.__decorate([
|
|
114
|
-
Input(),
|
|
115
|
-
tslib_1.__metadata("design:type", Number)
|
|
116
|
-
], TagListComponent.prototype, "focused", void 0);
|
|
117
|
-
tslib_1.__decorate([
|
|
118
|
-
Input(),
|
|
119
|
-
tslib_1.__metadata("design:type", TagTemplateDirective)
|
|
120
|
-
], TagListComponent.prototype, "template", void 0);
|
|
121
|
-
tslib_1.__decorate([
|
|
122
|
-
Input(),
|
|
123
|
-
tslib_1.__metadata("design:type", GroupTagTemplateDirective)
|
|
124
|
-
], TagListComponent.prototype, "groupTemplate", void 0);
|
|
125
|
-
tslib_1.__decorate([
|
|
126
|
-
Input(),
|
|
127
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
128
|
-
], TagListComponent.prototype, "disabled", void 0);
|
|
129
|
-
tslib_1.__decorate([
|
|
130
|
-
Input(),
|
|
131
|
-
tslib_1.__metadata("design:type", String)
|
|
132
|
-
], TagListComponent.prototype, "tagPrefix", void 0);
|
|
133
|
-
tslib_1.__decorate([
|
|
134
|
-
Input(),
|
|
135
|
-
tslib_1.__metadata("design:type", String)
|
|
136
|
-
], TagListComponent.prototype, "id", void 0);
|
|
137
|
-
tslib_1.__decorate([
|
|
138
|
-
Input(),
|
|
139
|
-
tslib_1.__metadata("design:type", String),
|
|
140
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
141
|
-
], TagListComponent.prototype, "size", null);
|
|
142
|
-
tslib_1.__decorate([
|
|
143
|
-
Input(),
|
|
144
|
-
tslib_1.__metadata("design:type", String)
|
|
145
|
-
], TagListComponent.prototype, "rounded", void 0);
|
|
146
|
-
tslib_1.__decorate([
|
|
147
|
-
Input(),
|
|
148
|
-
tslib_1.__metadata("design:type", String)
|
|
149
|
-
], TagListComponent.prototype, "fillMode", void 0);
|
|
150
|
-
tslib_1.__decorate([
|
|
151
|
-
Input(),
|
|
152
|
-
tslib_1.__metadata("design:type", Set)
|
|
153
|
-
], TagListComponent.prototype, "disabledIndices", void 0);
|
|
154
|
-
tslib_1.__decorate([
|
|
155
|
-
Output(),
|
|
156
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
157
|
-
], TagListComponent.prototype, "removeTag", void 0);
|
|
158
|
-
tslib_1.__decorate([
|
|
159
|
-
HostBinding('class.k-input-values'),
|
|
160
|
-
HostBinding('class.k-chip-list'),
|
|
161
|
-
HostBinding('class.k-selection-multiple'),
|
|
162
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
163
|
-
], TagListComponent.prototype, "hostClasses", void 0);
|
|
164
|
-
tslib_1.__decorate([
|
|
165
|
-
HostBinding('attr.id'),
|
|
166
|
-
tslib_1.__metadata("design:type", String),
|
|
167
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
168
|
-
], TagListComponent.prototype, "hostId", null);
|
|
169
|
-
TagListComponent = tslib_1.__decorate([
|
|
170
|
-
Component({
|
|
171
|
-
selector: 'kendo-taglist',
|
|
172
|
-
template: "\n <div\n *ngFor=\"let tag of tags; let index = index;\"\n [attr.id]=\"itemId(tag, index)\"\n [attr.aria-hidden]=\"tagAriaHidden(index)\"\n class=\"k-chip\"\n [ngClass]=\"{\n 'k-focus': index === focused,\n 'k-disabled': isTagDisabled(tag, index),\n 'k-chip-sm': size === 'small',\n 'k-chip-md': size === 'medium',\n 'k-chip-lg': size === 'large',\n 'k-rounded-sm': rounded === 'small',\n 'k-rounded-md': rounded === 'medium',\n 'k-rounded-lg': rounded === 'large',\n 'k-rounded-full': rounded === 'full',\n 'k-chip-solid k-chip-solid-base': fillMode === 'solid',\n 'k-chip-flat k-chip-flat-base': fillMode === 'flat',\n 'k-chip-outline k-chip-outline-base': fillMode === 'outline'\n }\"\n >\n <span class=\"k-chip-content\">\n <ng-template *ngIf=\"isGroupTag(tag); then groupTag else singleTag\"></ng-template>\n <ng-template #groupTag>\n <span class=\"k-chip-label k-text-ellipsis\">\n <ng-template *ngIf=\"groupTemplate\"\n [templateContext]=\"{\n templateRef: groupTemplate.templateRef,\n $implicit: tag\n }\">\n </ng-template>\n <ng-template [ngIf]=\"!groupTemplate\">{{ tag.length }} {{ tag.length === 1 ? 'item' : 'items' }} selected</ng-template>\n </span>\n </ng-template>\n <ng-template #singleTag>\n <span class=\"k-chip-label k-text-ellipsis\">\n <ng-template *ngIf=\"template\"\n [templateContext]=\"{\n templateRef: template.templateRef,\n $implicit: tag\n }\">\n </ng-template>\n <ng-template [ngIf]=\"!template\">{{ tagProp(tag, textField, index) }}</ng-template>\n </span>\n </ng-template>\n </span>\n\n <span class=\"k-chip-actions\">\n <span aria-label=\"delete\" [attr.aria-hidden]=\"index !== focused\" class=\"k-chip-action k-chip-remove-action\">\n <span class=\"k-icon k-i-x-circle\" (mousedown)=\"deleteTag($event, tag, index)\">\n </span>\n </span>\n </span>\n </div>\n <ng-content></ng-content>\n "
|
|
173
|
-
}),
|
|
174
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
175
|
-
ElementRef])
|
|
176
|
-
], TagListComponent);
|
|
177
|
-
return TagListComponent;
|
|
178
|
-
}());
|
|
179
|
-
export { TagListComponent };
|
|
@@ -1,47 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
/* tslint:disable:max-line-length */
|
|
7
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
8
|
-
/**
|
|
9
|
-
* Renders the content of the custom list item in the MultiSelect
|
|
10
|
-
* ([see example]({% slug templates_multiselect %}#toc-customizing-the-item-content)).
|
|
11
|
-
* The template context is set to the current component.
|
|
12
|
-
* To get a reference to the current text that is typed by the
|
|
13
|
-
* user, use the `let-customItem` directive.
|
|
14
|
-
*
|
|
15
|
-
* > The `CustomItemTemplate` directive can only be used with the MultiSelect component.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* _@Component({
|
|
20
|
-
* selector: 'my-app',
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-multiselect [data]="listItems" [allowCustom]="true">
|
|
23
|
-
* <ng-template kendoMultiSelectCustomItemTemplate let-customItem>
|
|
24
|
-
* <span>New Item: {{customItem}}</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-multiselect>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* class AppComponent {
|
|
30
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
var CustomItemTemplateDirective = /** @class */ (function () {
|
|
36
|
-
function CustomItemTemplateDirective(templateRef) {
|
|
37
|
-
this.templateRef = templateRef;
|
|
38
|
-
}
|
|
39
|
-
CustomItemTemplateDirective = tslib_1.__decorate([
|
|
40
|
-
Directive({
|
|
41
|
-
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
42
|
-
}),
|
|
43
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
44
|
-
], CustomItemTemplateDirective);
|
|
45
|
-
return CustomItemTemplateDirective;
|
|
46
|
-
}());
|
|
47
|
-
export { CustomItemTemplateDirective };
|
|
@@ -1,54 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
/* tslint:disable:max-line-length */
|
|
7
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
8
|
-
/**
|
|
9
|
-
* Renders the fixed group header content. To define the fixed group template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendo<ComponentName>FixedGroupTemplate` directive inside the component tag. The template context is
|
|
11
|
-
* set to the current component. To get a reference to the current data item, use the `let-groupName` directive.
|
|
12
|
-
*
|
|
13
|
-
* - [Using `FixedGroupTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-fixed-group-template)
|
|
14
|
-
* - [Using `FixedGroupTemplate` with the ComboBox]({% slug templates_combobox %}#toc-fixed-group-template)
|
|
15
|
-
* - [Using `FixedGroupTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-fixed-group-template)
|
|
16
|
-
* - [Using `FixedGroupTemplate` with the DropDownList]({% slug templates_ddl %}#toc-fixed-group-template)
|
|
17
|
-
* - [Using `FixedGroupTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-fixed-group-template)
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* import { groupBy } from '@progress/kendo-data-query';
|
|
22
|
-
* _@Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-combobox [data]="groupedData" textField="name" valueField="name">
|
|
26
|
-
* <ng-template kendoComboBoxFixedGroupTemplate let-groupName>
|
|
27
|
-
* <span>Food type: {{groupName}} option</span>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-combobox>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
* class AppComponent {
|
|
33
|
-
* public data = [
|
|
34
|
-
* { name: "Pork", category: "Food", subcategory: "Meat" },
|
|
35
|
-
* { name: "Pepper", category: "Food", subcategory: "Vegetables" },
|
|
36
|
-
* { name: "Beef", category: "Food", subcategory: "Meat" }
|
|
37
|
-
* ];
|
|
38
|
-
* public groupedData = groupBy(this.data, [{field: "subcategory"}]);
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
var FixedGroupTemplateDirective = /** @class */ (function () {
|
|
43
|
-
function FixedGroupTemplateDirective(templateRef) {
|
|
44
|
-
this.templateRef = templateRef;
|
|
45
|
-
}
|
|
46
|
-
FixedGroupTemplateDirective = tslib_1.__decorate([
|
|
47
|
-
Directive({
|
|
48
|
-
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
49
|
-
}),
|
|
50
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
51
|
-
], FixedGroupTemplateDirective);
|
|
52
|
-
return FixedGroupTemplateDirective;
|
|
53
|
-
}());
|
|
54
|
-
export { FixedGroupTemplateDirective };
|
|
@@ -1,47 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Renders the footer content of the list. To define the footer template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendo<ComponentName>FooterTemplate` directive inside the component tag.
|
|
10
|
-
*
|
|
11
|
-
* - [Using `FooterTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-footer-template)
|
|
12
|
-
* - [Using `FooterTemplate` with the ComboBox]({% slug templates_combobox %}#toc-footer-template)
|
|
13
|
-
* - [Using `FooterTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-footer-template)
|
|
14
|
-
* - [Using `FooterTemplate` with the DropDownList]({% slug templates_ddl %}#toc-footer-template)
|
|
15
|
-
* - [Using `FooterTemplate` with the DropDownTree]({% slug templates_ddt %}#toc-footer-template)
|
|
16
|
-
* - [Using `FooterTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-footer-template)
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* _@Component({
|
|
21
|
-
* selector: 'my-app',
|
|
22
|
-
* template: `
|
|
23
|
-
* <kendo-combobox [data]="listItems">
|
|
24
|
-
* <ng-template kendoComboBoxFooterTemplate>
|
|
25
|
-
* <h4>Footer template</h4>
|
|
26
|
-
* </ng-template>
|
|
27
|
-
* </kendo-combobox>
|
|
28
|
-
* `
|
|
29
|
-
* })
|
|
30
|
-
* class AppComponent {
|
|
31
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
32
|
-
* }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
var FooterTemplateDirective = /** @class */ (function () {
|
|
36
|
-
function FooterTemplateDirective(templateRef) {
|
|
37
|
-
this.templateRef = templateRef;
|
|
38
|
-
}
|
|
39
|
-
FooterTemplateDirective = tslib_1.__decorate([
|
|
40
|
-
Directive({
|
|
41
|
-
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
42
|
-
}),
|
|
43
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
44
|
-
], FooterTemplateDirective);
|
|
45
|
-
return FooterTemplateDirective;
|
|
46
|
-
}());
|
|
47
|
-
export { FooterTemplateDirective };
|
|
@@ -1,46 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
/* tslint:disable:max-line-length */
|
|
7
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
8
|
-
/**
|
|
9
|
-
* Renders the grouped tag values in the MultiSelect
|
|
10
|
-
* ([see example]({% slug summarytagmode_multiselect %})).
|
|
11
|
-
* The template context is set to the current component.
|
|
12
|
-
* To get a reference to the current grouped
|
|
13
|
-
* data items collection, use the `let-dataItems` directive.
|
|
14
|
-
*
|
|
15
|
-
* > The `GroupTagTemplate` directive can only be used with the MultiSelect and MultiSelectTree components.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* _@Component({
|
|
20
|
-
* selector: 'my-app',
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-multiselect kendoMultiSelectSummaryTag [data]="items">
|
|
23
|
-
* <ng-template kendoMultiSelectGroupTagTemplate let-dataItems>
|
|
24
|
-
* <span>{{dataItems.length}} item(s) selected</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-multiselect>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* class AppComponent {
|
|
30
|
-
* public items: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
var GroupTagTemplateDirective = /** @class */ (function () {
|
|
35
|
-
function GroupTagTemplateDirective(templateRef) {
|
|
36
|
-
this.templateRef = templateRef;
|
|
37
|
-
}
|
|
38
|
-
GroupTagTemplateDirective = tslib_1.__decorate([
|
|
39
|
-
Directive({
|
|
40
|
-
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
41
|
-
}),
|
|
42
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
43
|
-
], GroupTagTemplateDirective);
|
|
44
|
-
return GroupTagTemplateDirective;
|
|
45
|
-
}());
|
|
46
|
-
export { GroupTagTemplateDirective };
|
|
@@ -1,54 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
/* tslint:disable:max-line-length */
|
|
7
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
8
|
-
/**
|
|
9
|
-
* Renders the group header content. To define the group template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendo<ComponentName>GroupTemplate` directive inside the component tag. The template context is
|
|
11
|
-
* set to the current component. To get a reference to the current data item, use the `let-groupName` directive.
|
|
12
|
-
*
|
|
13
|
-
* - [Using `GroupTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-group-template)
|
|
14
|
-
* - [Using `GroupTemplate` with the ComboBox]({% slug templates_combobox %}#toc-group-template)
|
|
15
|
-
* - [Using `GroupTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-group-template)
|
|
16
|
-
* - [Using `GroupTemplate` with the DropDownList]({% slug templates_ddl %}#toc-group-template)
|
|
17
|
-
* - [Using `GroupTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-group-template)
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* import { groupBy } from '@progress/kendo-data-query';
|
|
22
|
-
* _@Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-combobox [data]="groupedData" textField="name" valueField="name">
|
|
26
|
-
* <ng-template kendoComboBoxGroupTemplate let-groupName>
|
|
27
|
-
* <span>Food type: {{groupName}} option</span>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-combobox>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
* class AppComponent {
|
|
33
|
-
* public data = [
|
|
34
|
-
* { name: "Pork", category: "Food", subcategory: "Meat" },
|
|
35
|
-
* { name: "Pepper", category: "Food", subcategory: "Vegetables" },
|
|
36
|
-
* { name: "Beef", category: "Food", subcategory: "Meat" }
|
|
37
|
-
* ];
|
|
38
|
-
* public groupedData = groupBy(this.data, [{field: "subcategory"}]);
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
var GroupTemplateDirective = /** @class */ (function () {
|
|
43
|
-
function GroupTemplateDirective(templateRef) {
|
|
44
|
-
this.templateRef = templateRef;
|
|
45
|
-
}
|
|
46
|
-
GroupTemplateDirective = tslib_1.__decorate([
|
|
47
|
-
Directive({
|
|
48
|
-
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
49
|
-
}),
|
|
50
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
51
|
-
], GroupTemplateDirective);
|
|
52
|
-
return GroupTemplateDirective;
|
|
53
|
-
}());
|
|
54
|
-
export { GroupTemplateDirective };
|
|
@@ -1,47 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Renders the header content of the list. To define the header template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendo<ComponentName>HeaderTemplate` directive inside the component tag.
|
|
10
|
-
*
|
|
11
|
-
* - [Using `HeaderTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-header-template)
|
|
12
|
-
* - [Using `HeaderTemplate` with the ComboBox]({% slug templates_combobox %}#toc-header-template)
|
|
13
|
-
* - [Using `HeaderTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-header-template)
|
|
14
|
-
* - [Using `HeaderTemplate` with the DropDownList]({% slug templates_ddl %}#toc-header-template)
|
|
15
|
-
* - [Using `HeaderTemplate` with the DropDownTree]({% slug templates_ddt %}#toc-header-template)
|
|
16
|
-
* - [Using `HeaderTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-header-template)
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* _@Component({
|
|
21
|
-
* selector: 'my-app',
|
|
22
|
-
* template: `
|
|
23
|
-
* <kendo-combobox [data]="listItems">
|
|
24
|
-
* <ng-template kendoComboBoxHeaderTemplate>
|
|
25
|
-
* <h4>Header template</h4>
|
|
26
|
-
* </ng-template>
|
|
27
|
-
* </kendo-combobox>
|
|
28
|
-
* `
|
|
29
|
-
* })
|
|
30
|
-
* class AppComponent {
|
|
31
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
32
|
-
* }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
var HeaderTemplateDirective = /** @class */ (function () {
|
|
36
|
-
function HeaderTemplateDirective(templateRef) {
|
|
37
|
-
this.templateRef = templateRef;
|
|
38
|
-
}
|
|
39
|
-
HeaderTemplateDirective = tslib_1.__decorate([
|
|
40
|
-
Directive({
|
|
41
|
-
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
42
|
-
}),
|
|
43
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
44
|
-
], HeaderTemplateDirective);
|
|
45
|
-
return HeaderTemplateDirective;
|
|
46
|
-
}());
|
|
47
|
-
export { HeaderTemplateDirective };
|
|
@@ -1,46 +0,0 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
6
|
-
import { Directive, TemplateRef } from '@angular/core';
|
|
7
|
-
/**
|
|
8
|
-
* Renders the list item content. To define the item template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendo<ComponentName>ItemTemplate` directive inside the component tag. The template context is
|
|
10
|
-
* set to the current component. To get a reference to the current data item, use the `let-dataItem` directive.
|
|
11
|
-
*
|
|
12
|
-
* - [Using `ItemTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-item-template)
|
|
13
|
-
* - [Using `ItemTemplate` with the ComboBox]({% slug templates_combobox %}#toc-item-template)
|
|
14
|
-
* - [Using `ItemTemplate` with the DropDownList]({% slug templates_ddl %}#toc-item-template)
|
|
15
|
-
* - [Using `ItemTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-item-template)
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* _@Component({
|
|
20
|
-
* selector: 'my-app',
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-combobox [data]="listItems">
|
|
23
|
-
* <ng-template kendoComboBoxItemTemplate let-dataItem>
|
|
24
|
-
* <span>{{dataItem}} option</span>
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-combobox>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* class AppComponent {
|
|
30
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
var ItemTemplateDirective = /** @class */ (function () {
|
|
35
|
-
function ItemTemplateDirective(templateRef) {
|
|
36
|
-
this.templateRef = templateRef;
|
|
37
|
-
}
|
|
38
|
-
ItemTemplateDirective = tslib_1.__decorate([
|
|
39
|
-
Directive({
|
|
40
|
-
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
41
|
-
}),
|
|
42
|
-
tslib_1.__metadata("design:paramtypes", [TemplateRef])
|
|
43
|
-
], ItemTemplateDirective);
|
|
44
|
-
return ItemTemplateDirective;
|
|
45
|
-
}());
|
|
46
|
-
export { ItemTemplateDirective };
|