@progress/kendo-angular-dropdowns 6.0.3-dev.202203091003 → 7.0.0-next.202204040550
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.component.d.ts +34 -22
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.module.d.ts +7 -0
- package/bundles/kendo-angular-dropdowns.umd.js +5 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-header-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/combobox-column.component.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/util.d.ts +0 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox.component.d.ts +40 -26
- package/comboboxes/combobox.module.d.ts +31 -0
- package/{dist/es2015/comboboxes → comboboxes}/multicolumncombobox.component.d.ts +8 -5
- package/{dist/es2015/common → common}/constants/error-messages.d.ts +27 -27
- package/{dist/es2015/common → common}/constants/touch-enabled.d.ts +0 -0
- package/{dist/es2015/common → common}/data.service.d.ts +6 -2
- package/{dist/es2015/common → common}/disabled-items/disabled-items.service.d.ts +3 -0
- package/{dist/es2015/common → common}/disabled-items/item-disabled.d.ts +0 -0
- package/{dist/es2015/common → common}/filter-input.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/filtering/filter-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/filtering/filter.directive.d.ts +6 -2
- package/{dist/es2015/common → common}/filtering/filterable-component.d.ts +0 -0
- package/{dist/es2015/common → common}/list-item.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/list.component.d.ts +11 -6
- package/{dist/es2015/common → common}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/common → common}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/localization/messages.d.ts +3 -0
- package/{dist/es2015/common → common}/models/checkboxes-settings.d.ts +1 -1
- package/{dist/es2015/common → common}/models/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/list-type.d.ts +0 -0
- package/{dist/es2015/common → common}/models/page-change-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/remove-tag-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/models/virtualization-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation-action.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation.service.d.ts +3 -0
- package/{dist/es2015/common → common}/searchbar.component.d.ts +9 -4
- package/{dist/es2015/common → common}/selection/selectable.directive.d.ts +5 -2
- package/{dist/es2015/common → common}/selection/selection.service.d.ts +6 -2
- package/common/shared-directives.module.d.ts +37 -0
- package/common/shared.module.d.ts +26 -0
- package/{dist/es2015/common → common}/taglist.component.d.ts +7 -3
- package/{dist/es2015/common → common}/templates/custom-item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/fixed-group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/header-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/no-data-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/template-context.directive.d.ts +4 -1
- package/{dist/es2015/common → common}/templates/value-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/util.d.ts +3 -2
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.component.d.ts +48 -35
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.module.d.ts +7 -0
- package/{dist/es2015/dropdowns.module.d.ts → dropdowns.module.d.ts} +9 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/base-check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check-all.directive.d.ts +5 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checkable-settings.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checked-item.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/flat-binding.directive.d.ts +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +49 -32
- package/dropdowntrees/dropdowntrees.module.d.ts +25 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/expanded-state/expand.directive.d.ts +5 -1
- package/{dist/es2015/dropdowntrees → dropdowntrees}/multiselecttree.component.d.ts +57 -39
- package/{dist/es2015/dropdowntrees → dropdowntrees}/summary-tag/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/templates/node-template.directive.d.ts +3 -0
- package/{dist/es2015 → esm2015}/autocomplete/autocomplete.component.js +264 -232
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/column-cell-template.directive.js +12 -11
- package/esm2015/comboboxes/combobox-column/column-header-template.directive.js +26 -0
- package/esm2015/comboboxes/combobox-column/combobox-column.component.js +59 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/util.js +0 -2
- package/{dist/es2015 → esm2015}/comboboxes/combobox.component.js +289 -255
- package/{dist/es2015 → esm2015}/comboboxes/combobox.module.js +23 -14
- package/esm2015/comboboxes/multicolumncombobox.component.js +653 -0
- package/{dist/es2015 → esm2015}/common/constants/error-messages.js +0 -1
- package/{dist/es2015 → esm2015}/common/constants/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/common/data.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/disabled-items/disabled-items.service.js +9 -9
- package/{dist/es2015 → esm2015}/common/disabled-items/item-disabled.js +1 -0
- package/esm2015/common/filter-input.directive.js +34 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter.directive.js +19 -24
- package/{dist/es2015 → esm2015}/common/filtering/filterable-component.js +0 -0
- package/esm2015/common/list-item.directive.js +22 -0
- package/{dist/es2015 → esm2015}/common/list.component.js +194 -126
- package/esm2015/common/localization/custom-messages.component.js +41 -0
- package/esm2015/common/localization/localized-messages.directive.js +44 -0
- package/esm2015/common/localization/messages.js +25 -0
- package/{dist/es2015 → esm2015}/common/models/checkboxes-settings.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/direction.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/list-type.js +1 -0
- package/{dist/es → esm2015}/common/models/page-change-event.js +1 -0
- package/{dist/es → esm2015}/common/models/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/remove-tag-event.js +0 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/virtualization-settings.js +0 -0
- package/{dist/es → esm2015}/common/navigation/navigation-action.js +1 -0
- package/{dist/es2015 → esm2015}/common/navigation/navigation.service.js +10 -11
- package/{dist/es2015 → esm2015}/common/searchbar.component.js +84 -97
- package/esm2015/common/selection/selectable.directive.js +76 -0
- package/{dist/es2015 → esm2015}/common/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/shared-directives.module.js +37 -10
- package/esm2015/common/shared.module.js +59 -0
- package/{dist/es2015 → esm2015}/common/taglist.component.js +112 -87
- package/{dist/es2015 → esm2015}/common/templates/custom-item-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/fixed-group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/footer-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/group-tag-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/header-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/no-data-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/tag-template.directive.js +12 -12
- package/esm2015/common/templates/template-context.directive.js +33 -0
- package/{dist/es2015 → esm2015}/common/templates/value-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/util.js +1 -3
- package/{dist/es2015 → esm2015}/dropdownlist/dropdownlist.component.js +362 -300
- package/esm2015/dropdownlist/dropdownlist.module.js +37 -0
- package/{dist/es → esm2015}/dropdowns.module.js +12 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/base-check.directive.js +13 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check-all.directive.js +28 -42
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check.directive.js +20 -27
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checkable-settings.js +1 -0
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checked-item.js +1 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +39 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +35 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +38 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +35 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +373 -315
- package/esm2015/dropdowntrees/dropdowntrees.module.js +61 -0
- package/esm2015/dropdowntrees/expanded-state/expand.directive.js +38 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/multiselecttree.component.js +427 -346
- package/{dist/es2015 → esm2015}/dropdowntrees/summary-tag/summary-tag.directive.js +15 -15
- package/esm2015/dropdowntrees/templates/node-template.directive.js +28 -0
- package/{dist/es2015/common/shared.module.d.ts → esm2015/kendo-angular-dropdowns.js} +2 -3
- package/{dist/es → esm2015}/main.js +11 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +335 -288
- package/{dist/es2015 → esm2015}/multiselect/multiselect.module.js +19 -14
- package/{dist/es2015 → esm2015}/multiselect/summary-tag.directive.js +15 -15
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dropdowns.js} +7873 -7141
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +12 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +41 -26
- package/{dist/es2015/multiselect → multiselect}/multiselect.module.d.ts +9 -0
- package/{dist/es2015/multiselect → multiselect}/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +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.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,109 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var util_1 = require("../util");
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var SelectionService = /** @class */ (function () {
|
|
14
|
-
function SelectionService() {
|
|
15
|
-
this.onSelect = new core_1.EventEmitter();
|
|
16
|
-
this.onChange = new core_1.EventEmitter();
|
|
17
|
-
this.onFocus = new core_1.EventEmitter();
|
|
18
|
-
this.total = 0;
|
|
19
|
-
this.selectedIndices = [];
|
|
20
|
-
}
|
|
21
|
-
SelectionService.prototype.getTotal = function () {
|
|
22
|
-
return this.total;
|
|
23
|
-
};
|
|
24
|
-
SelectionService.prototype.isSelected = function (index) {
|
|
25
|
-
return util_1.isPresent(this.selectedIndices.find(function (current) { return current === index; }));
|
|
26
|
-
};
|
|
27
|
-
SelectionService.prototype.isFocused = function (index) {
|
|
28
|
-
return index === this.focused;
|
|
29
|
-
};
|
|
30
|
-
SelectionService.prototype.focus = function (index) {
|
|
31
|
-
if (this.isFocused(index)) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
this.focused = index;
|
|
35
|
-
this.onFocus.emit(index);
|
|
36
|
-
};
|
|
37
|
-
SelectionService.prototype.select = function (index) {
|
|
38
|
-
if (this.isSelected(index)) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
this.selectedIndices = [index];
|
|
42
|
-
this.focused = index;
|
|
43
|
-
this.onSelect.emit({
|
|
44
|
-
indices: [index],
|
|
45
|
-
newSelection: util_1.isPresent(index)
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
SelectionService.prototype.add = function (index) {
|
|
49
|
-
if (this.isSelected(index)) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
this.selectedIndices.push(index);
|
|
53
|
-
this.focused = index;
|
|
54
|
-
this.onChange.emit({
|
|
55
|
-
added: index,
|
|
56
|
-
indices: this.selectedIndices.slice()
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
SelectionService.prototype.unselect = function (index) {
|
|
60
|
-
if (!this.isSelected(index)) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
var position = this.selectedIndices.indexOf(index);
|
|
64
|
-
this.selectedIndices.splice(position, 1);
|
|
65
|
-
this.focused = index;
|
|
66
|
-
this.onChange.emit({
|
|
67
|
-
indices: this.selectedIndices.slice(),
|
|
68
|
-
removed: index
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
SelectionService.prototype.change = function (index) {
|
|
72
|
-
var newSelection = util_1.isPresent(index) && !this.isSelected(index);
|
|
73
|
-
this.selectedIndices = [index];
|
|
74
|
-
this.focused = index;
|
|
75
|
-
this.onChange.emit({
|
|
76
|
-
indices: [index],
|
|
77
|
-
newSelection: newSelection
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
SelectionService.prototype.resetSelection = function (index) {
|
|
81
|
-
this.selectedIndices = index instanceof Array ? index : [index];
|
|
82
|
-
this.focused = this.selectedIndices[this.selectedIndices.length - 1];
|
|
83
|
-
};
|
|
84
|
-
Object.defineProperty(SelectionService.prototype, "selected", {
|
|
85
|
-
get: function () {
|
|
86
|
-
return this.selectedIndices.slice();
|
|
87
|
-
},
|
|
88
|
-
enumerable: true,
|
|
89
|
-
configurable: true
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(SelectionService.prototype, "focused", {
|
|
92
|
-
get: function () {
|
|
93
|
-
return this.focusedIndex;
|
|
94
|
-
},
|
|
95
|
-
set: function (index) {
|
|
96
|
-
if (this.focusedIndex !== index) {
|
|
97
|
-
this.focusedIndex = index;
|
|
98
|
-
this.onFocus.emit(index);
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
enumerable: true,
|
|
102
|
-
configurable: true
|
|
103
|
-
});
|
|
104
|
-
SelectionService = tslib_1.__decorate([
|
|
105
|
-
core_1.Injectable()
|
|
106
|
-
], SelectionService);
|
|
107
|
-
return SelectionService;
|
|
108
|
-
}());
|
|
109
|
-
exports.SelectionService = SelectionService;
|
|
@@ -1,62 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var item_template_directive_1 = require("./templates/item-template.directive");
|
|
10
|
-
var group_template_directive_1 = require("./templates/group-template.directive");
|
|
11
|
-
var fixed_group_template_directive_1 = require("./templates/fixed-group-template.directive");
|
|
12
|
-
var header_template_directive_1 = require("./templates/header-template.directive");
|
|
13
|
-
var footer_template_directive_1 = require("./templates/footer-template.directive");
|
|
14
|
-
var no_data_template_directive_1 = require("./templates/no-data-template.directive");
|
|
15
|
-
var value_template_directive_1 = require("./templates/value-template.directive");
|
|
16
|
-
var tag_template_directive_1 = require("./templates/tag-template.directive");
|
|
17
|
-
var group_tag_template_directive_1 = require("./templates/group-tag-template.directive");
|
|
18
|
-
var localized_messages_directive_1 = require("./localization/localized-messages.directive");
|
|
19
|
-
var custom_messages_component_1 = require("./localization/custom-messages.component");
|
|
20
|
-
var filter_directive_1 = require("./filtering/filter.directive");
|
|
21
|
-
var filter_input_directive_1 = require("./filter-input.directive");
|
|
22
|
-
var SHARED_DIRECTIVES = [
|
|
23
|
-
header_template_directive_1.HeaderTemplateDirective,
|
|
24
|
-
footer_template_directive_1.FooterTemplateDirective,
|
|
25
|
-
item_template_directive_1.ItemTemplateDirective,
|
|
26
|
-
group_template_directive_1.GroupTemplateDirective,
|
|
27
|
-
fixed_group_template_directive_1.FixedGroupTemplateDirective,
|
|
28
|
-
no_data_template_directive_1.NoDataTemplateDirective,
|
|
29
|
-
value_template_directive_1.ValueTemplateDirective,
|
|
30
|
-
tag_template_directive_1.TagTemplateDirective,
|
|
31
|
-
group_tag_template_directive_1.GroupTagTemplateDirective,
|
|
32
|
-
localized_messages_directive_1.LocalizedMessagesDirective,
|
|
33
|
-
custom_messages_component_1.CustomMessagesComponent,
|
|
34
|
-
filter_directive_1.FilterDirective,
|
|
35
|
-
filter_input_directive_1.FilterInputDirective
|
|
36
|
-
];
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*
|
|
40
|
-
* The exported package module.
|
|
41
|
-
*
|
|
42
|
-
* The package exports:
|
|
43
|
-
* - `ItemTemplateDirective`—The item template directive.
|
|
44
|
-
* - `ValueTemplateDirective`—The value template directive.
|
|
45
|
-
* - `HeaderTemplateDirective`—The header template directive.
|
|
46
|
-
* - `FooterTemplateDirective`—The footer template directive.
|
|
47
|
-
* - `NoDataTemplateDirective`—The noData template directive.
|
|
48
|
-
* - `TagTemplateDirective`—The tag template directive.
|
|
49
|
-
* - `SummaryTagTemplateDirective`—The summary tag template directive.
|
|
50
|
-
*/
|
|
51
|
-
var SharedDirectivesModule = /** @class */ (function () {
|
|
52
|
-
function SharedDirectivesModule() {
|
|
53
|
-
}
|
|
54
|
-
SharedDirectivesModule = tslib_1.__decorate([
|
|
55
|
-
core_1.NgModule({
|
|
56
|
-
declarations: [SHARED_DIRECTIVES],
|
|
57
|
-
exports: [SHARED_DIRECTIVES]
|
|
58
|
-
})
|
|
59
|
-
], SharedDirectivesModule);
|
|
60
|
-
return SharedDirectivesModule;
|
|
61
|
-
}());
|
|
62
|
-
exports.SharedDirectivesModule = SharedDirectivesModule;
|
|
@@ -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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var common_1 = require("@angular/common");
|
|
10
|
-
var forms_1 = require("@angular/forms");
|
|
11
|
-
var list_component_1 = require("./list.component");
|
|
12
|
-
var searchbar_component_1 = require("./searchbar.component");
|
|
13
|
-
var taglist_component_1 = require("./taglist.component");
|
|
14
|
-
var kendo_angular_popup_1 = require("@progress/kendo-angular-popup");
|
|
15
|
-
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
|
|
16
|
-
var shared_directives_module_1 = require("./shared-directives.module");
|
|
17
|
-
var list_item_directive_1 = require("./list-item.directive");
|
|
18
|
-
var selectable_directive_1 = require("./selection/selectable.directive");
|
|
19
|
-
var template_context_directive_1 = require("./templates/template-context.directive");
|
|
20
|
-
var check_directive_1 = require("../dropdowntrees/checked-state/check.directive");
|
|
21
|
-
var check_all_directive_1 = require("../dropdowntrees/checked-state/check-all.directive");
|
|
22
|
-
var INTERNAL_DIRECTIVES = [
|
|
23
|
-
list_component_1.ListComponent,
|
|
24
|
-
list_item_directive_1.ListItemDirective,
|
|
25
|
-
selectable_directive_1.SelectableDirective,
|
|
26
|
-
searchbar_component_1.SearchBarComponent,
|
|
27
|
-
template_context_directive_1.TemplateContextDirective,
|
|
28
|
-
taglist_component_1.TagListComponent,
|
|
29
|
-
check_directive_1.CheckDirective,
|
|
30
|
-
check_all_directive_1.CheckAllDirective
|
|
31
|
-
];
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
var SharedModule = /** @class */ (function () {
|
|
36
|
-
function SharedModule() {
|
|
37
|
-
}
|
|
38
|
-
SharedModule = tslib_1.__decorate([
|
|
39
|
-
core_1.NgModule({
|
|
40
|
-
declarations: [INTERNAL_DIRECTIVES],
|
|
41
|
-
exports: [INTERNAL_DIRECTIVES, common_1.CommonModule, forms_1.FormsModule, kendo_angular_popup_1.PopupModule, kendo_angular_common_1.ResizeSensorModule, shared_directives_module_1.SharedDirectivesModule, kendo_angular_common_1.EventsModule],
|
|
42
|
-
imports: [common_1.CommonModule, forms_1.FormsModule, kendo_angular_popup_1.PopupModule, kendo_angular_common_1.ResizeSensorModule, shared_directives_module_1.SharedDirectivesModule, kendo_angular_common_1.EventsModule]
|
|
43
|
-
})
|
|
44
|
-
], SharedModule);
|
|
45
|
-
return SharedModule;
|
|
46
|
-
}());
|
|
47
|
-
exports.SharedModule = SharedModule;
|
|
@@ -1,181 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var tag_template_directive_1 = require("../common/templates/tag-template.directive");
|
|
10
|
-
var group_tag_template_directive_1 = require("../common/templates/group-tag-template.directive");
|
|
11
|
-
var util_1 = require("../common/util");
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
var TagListComponent = /** @class */ (function () {
|
|
16
|
-
function TagListComponent(renderer, hostElement) {
|
|
17
|
-
this.renderer = renderer;
|
|
18
|
-
this.hostElement = hostElement;
|
|
19
|
-
this.rounded = 'medium';
|
|
20
|
-
this.fillMode = 'solid';
|
|
21
|
-
/**
|
|
22
|
-
* A collection with the disabled tags' indices.
|
|
23
|
-
*/
|
|
24
|
-
this.disabledIndices = new Set();
|
|
25
|
-
this.removeTag = new core_1.EventEmitter();
|
|
26
|
-
this.hostClasses = true;
|
|
27
|
-
this._size = 'medium';
|
|
28
|
-
}
|
|
29
|
-
Object.defineProperty(TagListComponent.prototype, "size", {
|
|
30
|
-
get: function () {
|
|
31
|
-
return this._size;
|
|
32
|
-
},
|
|
33
|
-
set: function (size) {
|
|
34
|
-
this.renderer.removeClass(this.hostElement.nativeElement, util_1.getSizeClass('chip-list', this.size));
|
|
35
|
-
if (size) {
|
|
36
|
-
this.renderer.addClass(this.hostElement.nativeElement, util_1.getSizeClass('chip-list', size));
|
|
37
|
-
}
|
|
38
|
-
this._size = size;
|
|
39
|
-
},
|
|
40
|
-
enumerable: true,
|
|
41
|
-
configurable: true
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(TagListComponent.prototype, "hostId", {
|
|
44
|
-
get: function () {
|
|
45
|
-
return this.id;
|
|
46
|
-
},
|
|
47
|
-
enumerable: true,
|
|
48
|
-
configurable: true
|
|
49
|
-
});
|
|
50
|
-
TagListComponent.prototype.tagProp = function (tag, prop, index) {
|
|
51
|
-
var propField = prop && this.getPropField(tag, prop, index);
|
|
52
|
-
return util_1.getter(tag, propField);
|
|
53
|
-
};
|
|
54
|
-
TagListComponent.prototype.isTagDisabled = function (tag, positionIndex) {
|
|
55
|
-
var _this = this;
|
|
56
|
-
if (this.isGroupTag(tag)) {
|
|
57
|
-
/** The `positionIndex` is used to determine after how many single tags is the group tag displayed =>
|
|
58
|
-
* => it is used to increment the indices inside the group tag so that we determine the actual position index
|
|
59
|
-
* of each group tag item as they appear in the `value` (important to check against `disabledIndices`)
|
|
60
|
-
* e.g. `disabledIndices = [0, 1]` && `tags = ['Small', ['Medium', 'Large']]` => without the incrementation with
|
|
61
|
-
* `positionIndex`, the group tag would yield [0, 1] as indices, while it should yield [1, 2]
|
|
62
|
-
*/
|
|
63
|
-
return tag.every(function (_tag, index) { return _this.disabledIndices.has(index + positionIndex); });
|
|
64
|
-
}
|
|
65
|
-
return this.disabledIndices.has(positionIndex);
|
|
66
|
-
};
|
|
67
|
-
TagListComponent.prototype.deleteTag = function (event, tag, index) {
|
|
68
|
-
event.preventDefault();
|
|
69
|
-
event.stopImmediatePropagation();
|
|
70
|
-
if (!this.disabled && event.which === 1) {
|
|
71
|
-
this.removeTag.emit({ tag: tag, index: index });
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
TagListComponent.prototype.itemId = function (tag, index) {
|
|
75
|
-
if (tag) { //because of custom values
|
|
76
|
-
return this.tagPrefix + "-" + this.tagProp(tag, this.valueField, index);
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
TagListComponent.prototype.isGroupTag = function (tag) {
|
|
80
|
-
return tag instanceof Array;
|
|
81
|
-
};
|
|
82
|
-
TagListComponent.prototype.tagAriaHidden = function (index) {
|
|
83
|
-
return util_1.isPresent(this.focused) && this.focused !== index;
|
|
84
|
-
};
|
|
85
|
-
TagListComponent.prototype.getPropField = function (tag, prop, index) {
|
|
86
|
-
// Needed for MultiSelectTree value binding (Heterogeneous Data)
|
|
87
|
-
var fieldsCount = prop.length - 1;
|
|
88
|
-
if (typeof prop === 'string') {
|
|
89
|
-
return prop;
|
|
90
|
-
}
|
|
91
|
-
else if (this.valueDepth) {
|
|
92
|
-
var depth = this.valueDepth[index];
|
|
93
|
-
return fieldsCount < depth ? prop[fieldsCount] : prop[depth];
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
return prop.find(function (item) { return item in tag; });
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
tslib_1.__decorate([
|
|
100
|
-
core_1.Input(),
|
|
101
|
-
tslib_1.__metadata("design:type", Array)
|
|
102
|
-
], TagListComponent.prototype, "tags", void 0);
|
|
103
|
-
tslib_1.__decorate([
|
|
104
|
-
core_1.Input(),
|
|
105
|
-
tslib_1.__metadata("design:type", Object)
|
|
106
|
-
], TagListComponent.prototype, "textField", void 0);
|
|
107
|
-
tslib_1.__decorate([
|
|
108
|
-
core_1.Input(),
|
|
109
|
-
tslib_1.__metadata("design:type", String)
|
|
110
|
-
], TagListComponent.prototype, "valueField", void 0);
|
|
111
|
-
tslib_1.__decorate([
|
|
112
|
-
core_1.Input(),
|
|
113
|
-
tslib_1.__metadata("design:type", Array)
|
|
114
|
-
], TagListComponent.prototype, "valueDepth", void 0);
|
|
115
|
-
tslib_1.__decorate([
|
|
116
|
-
core_1.Input(),
|
|
117
|
-
tslib_1.__metadata("design:type", Number)
|
|
118
|
-
], TagListComponent.prototype, "focused", void 0);
|
|
119
|
-
tslib_1.__decorate([
|
|
120
|
-
core_1.Input(),
|
|
121
|
-
tslib_1.__metadata("design:type", tag_template_directive_1.TagTemplateDirective)
|
|
122
|
-
], TagListComponent.prototype, "template", void 0);
|
|
123
|
-
tslib_1.__decorate([
|
|
124
|
-
core_1.Input(),
|
|
125
|
-
tslib_1.__metadata("design:type", group_tag_template_directive_1.GroupTagTemplateDirective)
|
|
126
|
-
], TagListComponent.prototype, "groupTemplate", void 0);
|
|
127
|
-
tslib_1.__decorate([
|
|
128
|
-
core_1.Input(),
|
|
129
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
130
|
-
], TagListComponent.prototype, "disabled", void 0);
|
|
131
|
-
tslib_1.__decorate([
|
|
132
|
-
core_1.Input(),
|
|
133
|
-
tslib_1.__metadata("design:type", String)
|
|
134
|
-
], TagListComponent.prototype, "tagPrefix", void 0);
|
|
135
|
-
tslib_1.__decorate([
|
|
136
|
-
core_1.Input(),
|
|
137
|
-
tslib_1.__metadata("design:type", String)
|
|
138
|
-
], TagListComponent.prototype, "id", void 0);
|
|
139
|
-
tslib_1.__decorate([
|
|
140
|
-
core_1.Input(),
|
|
141
|
-
tslib_1.__metadata("design:type", String),
|
|
142
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
143
|
-
], TagListComponent.prototype, "size", null);
|
|
144
|
-
tslib_1.__decorate([
|
|
145
|
-
core_1.Input(),
|
|
146
|
-
tslib_1.__metadata("design:type", String)
|
|
147
|
-
], TagListComponent.prototype, "rounded", void 0);
|
|
148
|
-
tslib_1.__decorate([
|
|
149
|
-
core_1.Input(),
|
|
150
|
-
tslib_1.__metadata("design:type", String)
|
|
151
|
-
], TagListComponent.prototype, "fillMode", void 0);
|
|
152
|
-
tslib_1.__decorate([
|
|
153
|
-
core_1.Input(),
|
|
154
|
-
tslib_1.__metadata("design:type", Set)
|
|
155
|
-
], TagListComponent.prototype, "disabledIndices", void 0);
|
|
156
|
-
tslib_1.__decorate([
|
|
157
|
-
core_1.Output(),
|
|
158
|
-
tslib_1.__metadata("design:type", core_1.EventEmitter)
|
|
159
|
-
], TagListComponent.prototype, "removeTag", void 0);
|
|
160
|
-
tslib_1.__decorate([
|
|
161
|
-
core_1.HostBinding('class.k-input-values'),
|
|
162
|
-
core_1.HostBinding('class.k-chip-list'),
|
|
163
|
-
core_1.HostBinding('class.k-selection-multiple'),
|
|
164
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
165
|
-
], TagListComponent.prototype, "hostClasses", void 0);
|
|
166
|
-
tslib_1.__decorate([
|
|
167
|
-
core_1.HostBinding('attr.id'),
|
|
168
|
-
tslib_1.__metadata("design:type", String),
|
|
169
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
170
|
-
], TagListComponent.prototype, "hostId", null);
|
|
171
|
-
TagListComponent = tslib_1.__decorate([
|
|
172
|
-
core_1.Component({
|
|
173
|
-
selector: 'kendo-taglist',
|
|
174
|
-
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 "
|
|
175
|
-
}),
|
|
176
|
-
tslib_1.__metadata("design:paramtypes", [core_1.Renderer2,
|
|
177
|
-
core_1.ElementRef])
|
|
178
|
-
], TagListComponent);
|
|
179
|
-
return TagListComponent;
|
|
180
|
-
}());
|
|
181
|
-
exports.TagListComponent = TagListComponent;
|
|
@@ -1,49 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
/* tslint:disable:max-line-length */
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Renders the content of the custom list item in the MultiSelect
|
|
12
|
-
* ([see example]({% slug templates_multiselect %}#toc-customizing-the-item-content)).
|
|
13
|
-
* The template context is set to the current component.
|
|
14
|
-
* To get a reference to the current text that is typed by the
|
|
15
|
-
* user, use the `let-customItem` directive.
|
|
16
|
-
*
|
|
17
|
-
* > The `CustomItemTemplate` directive can only be used with the MultiSelect component.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* _@Component({
|
|
22
|
-
* selector: 'my-app',
|
|
23
|
-
* template: `
|
|
24
|
-
* <kendo-multiselect [data]="listItems" [allowCustom]="true">
|
|
25
|
-
* <ng-template kendoMultiSelectCustomItemTemplate let-customItem>
|
|
26
|
-
* <span>New Item: {{customItem}}</span>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-multiselect>
|
|
29
|
-
* `
|
|
30
|
-
* })
|
|
31
|
-
* class AppComponent {
|
|
32
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
var CustomItemTemplateDirective = /** @class */ (function () {
|
|
38
|
-
function CustomItemTemplateDirective(templateRef) {
|
|
39
|
-
this.templateRef = templateRef;
|
|
40
|
-
}
|
|
41
|
-
CustomItemTemplateDirective = tslib_1.__decorate([
|
|
42
|
-
core_1.Directive({
|
|
43
|
-
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
44
|
-
}),
|
|
45
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
46
|
-
], CustomItemTemplateDirective);
|
|
47
|
-
return CustomItemTemplateDirective;
|
|
48
|
-
}());
|
|
49
|
-
exports.CustomItemTemplateDirective = CustomItemTemplateDirective;
|
|
@@ -1,56 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
/* tslint:disable:max-line-length */
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Renders the fixed group header content. To define the fixed group template, nest an `<ng-template>` tag
|
|
12
|
-
* with the `kendo<ComponentName>FixedGroupTemplate` directive inside the component tag. The template context is
|
|
13
|
-
* set to the current component. To get a reference to the current data item, use the `let-groupName` directive.
|
|
14
|
-
*
|
|
15
|
-
* - [Using `FixedGroupTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-fixed-group-template)
|
|
16
|
-
* - [Using `FixedGroupTemplate` with the ComboBox]({% slug templates_combobox %}#toc-fixed-group-template)
|
|
17
|
-
* - [Using `FixedGroupTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-fixed-group-template)
|
|
18
|
-
* - [Using `FixedGroupTemplate` with the DropDownList]({% slug templates_ddl %}#toc-fixed-group-template)
|
|
19
|
-
* - [Using `FixedGroupTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-fixed-group-template)
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* import { groupBy } from '@progress/kendo-data-query';
|
|
24
|
-
* _@Component({
|
|
25
|
-
* selector: 'my-app',
|
|
26
|
-
* template: `
|
|
27
|
-
* <kendo-combobox [data]="groupedData" textField="name" valueField="name">
|
|
28
|
-
* <ng-template kendoComboBoxFixedGroupTemplate let-groupName>
|
|
29
|
-
* <span>Food type: {{groupName}} option</span>
|
|
30
|
-
* </ng-template>
|
|
31
|
-
* </kendo-combobox>
|
|
32
|
-
* `
|
|
33
|
-
* })
|
|
34
|
-
* class AppComponent {
|
|
35
|
-
* public data = [
|
|
36
|
-
* { name: "Pork", category: "Food", subcategory: "Meat" },
|
|
37
|
-
* { name: "Pepper", category: "Food", subcategory: "Vegetables" },
|
|
38
|
-
* { name: "Beef", category: "Food", subcategory: "Meat" }
|
|
39
|
-
* ];
|
|
40
|
-
* public groupedData = groupBy(this.data, [{field: "subcategory"}]);
|
|
41
|
-
* }
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
var FixedGroupTemplateDirective = /** @class */ (function () {
|
|
45
|
-
function FixedGroupTemplateDirective(templateRef) {
|
|
46
|
-
this.templateRef = templateRef;
|
|
47
|
-
}
|
|
48
|
-
FixedGroupTemplateDirective = tslib_1.__decorate([
|
|
49
|
-
core_1.Directive({
|
|
50
|
-
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
51
|
-
}),
|
|
52
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
53
|
-
], FixedGroupTemplateDirective);
|
|
54
|
-
return FixedGroupTemplateDirective;
|
|
55
|
-
}());
|
|
56
|
-
exports.FixedGroupTemplateDirective = FixedGroupTemplateDirective;
|
|
@@ -1,49 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
/**
|
|
10
|
-
* Renders the footer content of the list. To define the footer template, nest an `<ng-template>` tag
|
|
11
|
-
* with the `kendo<ComponentName>FooterTemplate` directive inside the component tag.
|
|
12
|
-
*
|
|
13
|
-
* - [Using `FooterTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-footer-template)
|
|
14
|
-
* - [Using `FooterTemplate` with the ComboBox]({% slug templates_combobox %}#toc-footer-template)
|
|
15
|
-
* - [Using `FooterTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-footer-template)
|
|
16
|
-
* - [Using `FooterTemplate` with the DropDownList]({% slug templates_ddl %}#toc-footer-template)
|
|
17
|
-
* - [Using `FooterTemplate` with the DropDownTree]({% slug templates_ddt %}#toc-footer-template)
|
|
18
|
-
* - [Using `FooterTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-footer-template)
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* _@Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-combobox [data]="listItems">
|
|
26
|
-
* <ng-template kendoComboBoxFooterTemplate>
|
|
27
|
-
* <h4>Footer template</h4>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-combobox>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
* class AppComponent {
|
|
33
|
-
* public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
var FooterTemplateDirective = /** @class */ (function () {
|
|
38
|
-
function FooterTemplateDirective(templateRef) {
|
|
39
|
-
this.templateRef = templateRef;
|
|
40
|
-
}
|
|
41
|
-
FooterTemplateDirective = tslib_1.__decorate([
|
|
42
|
-
core_1.Directive({
|
|
43
|
-
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
44
|
-
}),
|
|
45
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
46
|
-
], FooterTemplateDirective);
|
|
47
|
-
return FooterTemplateDirective;
|
|
48
|
-
}());
|
|
49
|
-
exports.FooterTemplateDirective = FooterTemplateDirective;
|
|
@@ -1,48 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
/* tslint:disable:max-line-length */
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Renders the grouped tag values in the MultiSelect
|
|
12
|
-
* ([see example]({% slug summarytagmode_multiselect %})).
|
|
13
|
-
* The template context is set to the current component.
|
|
14
|
-
* To get a reference to the current grouped
|
|
15
|
-
* data items collection, use the `let-dataItems` directive.
|
|
16
|
-
*
|
|
17
|
-
* > The `GroupTagTemplate` directive can only be used with the MultiSelect and MultiSelectTree components.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* _@Component({
|
|
22
|
-
* selector: 'my-app',
|
|
23
|
-
* template: `
|
|
24
|
-
* <kendo-multiselect kendoMultiSelectSummaryTag [data]="items">
|
|
25
|
-
* <ng-template kendoMultiSelectGroupTagTemplate let-dataItems>
|
|
26
|
-
* <span>{{dataItems.length}} item(s) selected</span>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-multiselect>
|
|
29
|
-
* `
|
|
30
|
-
* })
|
|
31
|
-
* class AppComponent {
|
|
32
|
-
* public items: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
var GroupTagTemplateDirective = /** @class */ (function () {
|
|
37
|
-
function GroupTagTemplateDirective(templateRef) {
|
|
38
|
-
this.templateRef = templateRef;
|
|
39
|
-
}
|
|
40
|
-
GroupTagTemplateDirective = tslib_1.__decorate([
|
|
41
|
-
core_1.Directive({
|
|
42
|
-
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
43
|
-
}),
|
|
44
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
45
|
-
], GroupTagTemplateDirective);
|
|
46
|
-
return GroupTagTemplateDirective;
|
|
47
|
-
}());
|
|
48
|
-
exports.GroupTagTemplateDirective = GroupTagTemplateDirective;
|
|
@@ -1,56 +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
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
/* tslint:disable:max-line-length */
|
|
9
|
-
var core_1 = require("@angular/core");
|
|
10
|
-
/**
|
|
11
|
-
* Renders the group header content. To define the group template, nest an `<ng-template>` tag
|
|
12
|
-
* with the `kendo<ComponentName>GroupTemplate` directive inside the component tag. The template context is
|
|
13
|
-
* set to the current component. To get a reference to the current data item, use the `let-groupName` directive.
|
|
14
|
-
*
|
|
15
|
-
* - [Using `GroupTemplate` with the AutoComplete]({% slug templates_autocomplete %}#toc-group-template)
|
|
16
|
-
* - [Using `GroupTemplate` with the ComboBox]({% slug templates_combobox %}#toc-group-template)
|
|
17
|
-
* - [Using `GroupTemplate` with the MultiColumnComboBox]({% slug templates_multicolumncombobox %}#toc-group-template)
|
|
18
|
-
* - [Using `GroupTemplate` with the DropDownList]({% slug templates_ddl %}#toc-group-template)
|
|
19
|
-
* - [Using `GroupTemplate` with the MultiSelect]({% slug templates_multiselect %}#toc-group-template)
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* import { groupBy } from '@progress/kendo-data-query';
|
|
24
|
-
* _@Component({
|
|
25
|
-
* selector: 'my-app',
|
|
26
|
-
* template: `
|
|
27
|
-
* <kendo-combobox [data]="groupedData" textField="name" valueField="name">
|
|
28
|
-
* <ng-template kendoComboBoxGroupTemplate let-groupName>
|
|
29
|
-
* <span>Food type: {{groupName}} option</span>
|
|
30
|
-
* </ng-template>
|
|
31
|
-
* </kendo-combobox>
|
|
32
|
-
* `
|
|
33
|
-
* })
|
|
34
|
-
* class AppComponent {
|
|
35
|
-
* public data = [
|
|
36
|
-
* { name: "Pork", category: "Food", subcategory: "Meat" },
|
|
37
|
-
* { name: "Pepper", category: "Food", subcategory: "Vegetables" },
|
|
38
|
-
* { name: "Beef", category: "Food", subcategory: "Meat" }
|
|
39
|
-
* ];
|
|
40
|
-
* public groupedData = groupBy(this.data, [{field: "subcategory"}]);
|
|
41
|
-
* }
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
var GroupTemplateDirective = /** @class */ (function () {
|
|
45
|
-
function GroupTemplateDirective(templateRef) {
|
|
46
|
-
this.templateRef = templateRef;
|
|
47
|
-
}
|
|
48
|
-
GroupTemplateDirective = tslib_1.__decorate([
|
|
49
|
-
core_1.Directive({
|
|
50
|
-
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
51
|
-
}),
|
|
52
|
-
tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
|
|
53
|
-
], GroupTemplateDirective);
|
|
54
|
-
return GroupTemplateDirective;
|
|
55
|
-
}());
|
|
56
|
-
exports.GroupTemplateDirective = GroupTemplateDirective;
|