@progress/kendo-angular-dropdowns 6.0.2-dev.202202251358 → 7.0.0-next.202203232111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.component.d.ts +34 -22
- package/{dist/es2015/autocomplete → autocomplete}/autocomplete.module.d.ts +7 -0
- package/bundles/kendo-angular-dropdowns.umd.js +5 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-cell-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/column-header-template.directive.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/combobox-column.component.d.ts +3 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox-column/util.d.ts +0 -0
- package/{dist/es2015/comboboxes → comboboxes}/combobox.component.d.ts +40 -26
- package/comboboxes/combobox.module.d.ts +31 -0
- package/{dist/es2015/comboboxes → comboboxes}/multicolumncombobox.component.d.ts +8 -5
- package/{dist/es2015/common → common}/constants/error-messages.d.ts +27 -27
- package/{dist/es2015/common → common}/constants/touch-enabled.d.ts +0 -0
- package/{dist/es2015/common → common}/data.service.d.ts +6 -2
- package/{dist/es2015/common → common}/disabled-items/disabled-items.service.d.ts +3 -0
- package/{dist/es2015/common → common}/disabled-items/item-disabled.d.ts +0 -0
- package/{dist/es2015/common → common}/filter-input.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/filtering/filter-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/filtering/filter.directive.d.ts +6 -2
- package/{dist/es2015/common → common}/filtering/filterable-component.d.ts +0 -0
- package/{dist/es2015/common → common}/list-item.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/list.component.d.ts +11 -6
- package/{dist/es2015/common → common}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/common → common}/localization/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/localization/messages.d.ts +3 -0
- package/{dist/es2015/common → common}/models/checkboxes-settings.d.ts +1 -1
- package/{dist/es2015/common → common}/models/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/list-type.d.ts +0 -0
- package/{dist/es2015/common → common}/models/page-change-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/remove-tag-event.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/models/virtualization-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation-action.d.ts +0 -0
- package/{dist/es2015/common → common}/navigation/navigation.service.d.ts +3 -0
- package/{dist/es2015/common → common}/searchbar.component.d.ts +9 -4
- package/{dist/es2015/common → common}/selection/selectable.directive.d.ts +5 -2
- package/{dist/es2015/common → common}/selection/selection.service.d.ts +6 -2
- package/common/shared-directives.module.d.ts +37 -0
- package/common/shared.module.d.ts +26 -0
- package/{dist/es2015/common → common}/taglist.component.d.ts +7 -3
- package/{dist/es2015/common → common}/templates/custom-item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/fixed-group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/footer-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/group-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/header-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/item-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/no-data-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/tag-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/templates/template-context.directive.d.ts +4 -1
- package/{dist/es2015/common → common}/templates/value-template.directive.d.ts +3 -0
- package/{dist/es2015/common → common}/util.d.ts +3 -2
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.component.d.ts +48 -35
- package/{dist/es2015/dropdownlist → dropdownlist}/dropdownlist.module.d.ts +7 -0
- package/{dist/es2015/dropdowns.module.d.ts → dropdowns.module.d.ts} +9 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/base-check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check-all.directive.d.ts +5 -2
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/check.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checkable-settings.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/checked-state/checked-item.d.ts +0 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/flat-binding.directive.d.ts +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/flat-binding.directive.d.ts +5 -5
- package/{dist/es2015/dropdowntrees → dropdowntrees}/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +4 -10
- package/{dist/es2015/dropdowntrees → dropdowntrees}/dropdowntree.component.d.ts +49 -32
- package/dropdowntrees/dropdowntrees.module.d.ts +25 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/expanded-state/expand.directive.d.ts +5 -1
- package/{dist/es2015/dropdowntrees → dropdowntrees}/multiselecttree.component.d.ts +57 -39
- package/{dist/es2015/dropdowntrees → dropdowntrees}/summary-tag/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/dropdowntrees → dropdowntrees}/templates/node-template.directive.d.ts +3 -0
- package/{dist/es2015 → esm2015}/autocomplete/autocomplete.component.js +264 -232
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/column-cell-template.directive.js +12 -11
- package/esm2015/comboboxes/combobox-column/column-header-template.directive.js +26 -0
- package/esm2015/comboboxes/combobox-column/combobox-column.component.js +59 -0
- package/{dist/es2015 → esm2015}/comboboxes/combobox-column/util.js +0 -2
- package/{dist/es2015 → esm2015}/comboboxes/combobox.component.js +289 -255
- package/{dist/es2015 → esm2015}/comboboxes/combobox.module.js +23 -14
- package/esm2015/comboboxes/multicolumncombobox.component.js +653 -0
- package/{dist/es2015 → esm2015}/common/constants/error-messages.js +0 -1
- package/{dist/es2015 → esm2015}/common/constants/touch-enabled.js +0 -0
- package/{dist/es2015 → esm2015}/common/data.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/disabled-items/disabled-items.service.js +9 -9
- package/{dist/es2015 → esm2015}/common/disabled-items/item-disabled.js +1 -0
- package/esm2015/common/filter-input.directive.js +34 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/filtering/filter.directive.js +19 -24
- package/{dist/es2015 → esm2015}/common/filtering/filterable-component.js +0 -0
- package/esm2015/common/list-item.directive.js +22 -0
- package/{dist/es2015 → esm2015}/common/list.component.js +194 -126
- package/esm2015/common/localization/custom-messages.component.js +41 -0
- package/esm2015/common/localization/localized-messages.directive.js +44 -0
- package/esm2015/common/localization/messages.js +25 -0
- package/{dist/es2015 → esm2015}/common/models/checkboxes-settings.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/direction.js +1 -0
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/list-type.js +1 -0
- package/{dist/es → esm2015}/common/models/page-change-event.js +1 -0
- package/{dist/es → esm2015}/common/models/popup-settings.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/models/remove-tag-event.js +0 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es2015 → esm2015}/common/models/virtualization-settings.js +0 -0
- package/{dist/es → esm2015}/common/navigation/navigation-action.js +1 -0
- package/{dist/es2015 → esm2015}/common/navigation/navigation.service.js +10 -11
- package/{dist/es2015 → esm2015}/common/searchbar.component.js +84 -97
- package/esm2015/common/selection/selectable.directive.js +76 -0
- package/{dist/es2015 → esm2015}/common/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/common/shared-directives.module.js +37 -10
- package/esm2015/common/shared.module.js +59 -0
- package/{dist/es2015 → esm2015}/common/taglist.component.js +112 -87
- package/{dist/es2015 → esm2015}/common/templates/custom-item-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/fixed-group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/footer-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/group-tag-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/group-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/header-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/item-template.directive.js +12 -11
- package/{dist/es2015 → esm2015}/common/templates/no-data-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/templates/tag-template.directive.js +12 -12
- package/esm2015/common/templates/template-context.directive.js +33 -0
- package/{dist/es2015 → esm2015}/common/templates/value-template.directive.js +12 -12
- package/{dist/es2015 → esm2015}/common/util.js +1 -3
- package/{dist/es2015 → esm2015}/dropdownlist/dropdownlist.component.js +362 -300
- package/esm2015/dropdownlist/dropdownlist.module.js +37 -0
- package/{dist/es → esm2015}/dropdowns.module.js +12 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/base-check.directive.js +13 -12
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check-all.directive.js +28 -42
- package/{dist/es2015 → esm2015}/dropdowntrees/checked-state/check.directive.js +20 -27
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checkable-settings.js +1 -0
- package/{dist/es → esm2015}/dropdowntrees/checked-state/checked-item.js +1 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +39 -0
- package/esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +35 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +38 -0
- package/esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +35 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/dropdowntree.component.js +373 -315
- package/esm2015/dropdowntrees/dropdowntrees.module.js +61 -0
- package/esm2015/dropdowntrees/expanded-state/expand.directive.js +38 -0
- package/{dist/es2015 → esm2015}/dropdowntrees/multiselecttree.component.js +427 -346
- package/{dist/es2015 → esm2015}/dropdowntrees/summary-tag/summary-tag.directive.js +15 -15
- package/esm2015/dropdowntrees/templates/node-template.directive.js +28 -0
- package/{dist/es2015/common/shared.module.d.ts → esm2015/kendo-angular-dropdowns.js} +2 -3
- package/{dist/es → esm2015}/main.js +11 -0
- package/{dist/es2015 → esm2015}/multiselect/multiselect.component.js +335 -288
- package/{dist/es2015 → esm2015}/multiselect/multiselect.module.js +19 -14
- package/{dist/es2015 → esm2015}/multiselect/summary-tag.directive.js +15 -15
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dropdowns.js} +7873 -7141
- package/kendo-angular-dropdowns.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +12 -1
- package/{dist/es2015/multiselect → multiselect}/multiselect.component.d.ts +41 -26
- package/{dist/es2015/multiselect → multiselect}/multiselect.module.d.ts +9 -0
- package/{dist/es2015/multiselect → multiselect}/summary-tag.directive.d.ts +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +37 -113
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/dist/cdn/js/kendo-angular-dropdowns.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/autocomplete/autocomplete.component.js +0 -1201
- package/dist/es/autocomplete/autocomplete.module.js +0 -36
- package/dist/es/comboboxes/combobox-column/column-cell-template.directive.js +0 -29
- package/dist/es/comboboxes/combobox-column/column-header-template.directive.js +0 -26
- package/dist/es/comboboxes/combobox-column/combobox-column.component.js +0 -78
- package/dist/es/comboboxes/combobox-column/util.js +0 -57
- package/dist/es/comboboxes/combobox.component.js +0 -1622
- package/dist/es/comboboxes/combobox.module.js +0 -52
- package/dist/es/comboboxes/multicolumncombobox.component.js +0 -230
- package/dist/es/common/constants/error-messages.js +0 -62
- package/dist/es/common/constants/touch-enabled.js +0 -9
- package/dist/es/common/data.service.js +0 -250
- package/dist/es/common/disabled-items/disabled-items.service.js +0 -45
- package/dist/es/common/disabled-items/item-disabled.js +0 -4
- package/dist/es/common/filter-input.directive.js +0 -37
- package/dist/es/common/filtering/filter-settings.js +0 -4
- package/dist/es/common/filtering/filter.directive.js +0 -141
- package/dist/es/common/filtering/filterable-component.js +0 -17
- package/dist/es/common/list-item.directive.js +0 -22
- package/dist/es/common/list.component.js +0 -503
- package/dist/es/common/localization/custom-messages.component.js +0 -44
- package/dist/es/common/localization/localized-messages.directive.js +0 -35
- package/dist/es/common/localization/messages.js +0 -34
- package/dist/es/common/models/checkboxes-settings.js +0 -15
- package/dist/es/common/models/direction.js +0 -4
- package/dist/es/common/models/preventable-event.js +0 -29
- package/dist/es/common/models/remove-tag-event.js +0 -24
- package/dist/es/common/models/virtualization-settings.js +0 -25
- package/dist/es/common/navigation/navigation.service.js +0 -147
- package/dist/es/common/searchbar.component.js +0 -253
- package/dist/es/common/selection/selectable.directive.js +0 -93
- package/dist/es/common/selection/selection.service.js +0 -107
- package/dist/es/common/shared-directives.module.js +0 -60
- package/dist/es/common/shared.module.js +0 -45
- package/dist/es/common/taglist.component.js +0 -179
- package/dist/es/common/templates/custom-item-template.directive.js +0 -47
- package/dist/es/common/templates/fixed-group-template.directive.js +0 -54
- package/dist/es/common/templates/footer-template.directive.js +0 -47
- package/dist/es/common/templates/group-tag-template.directive.js +0 -46
- package/dist/es/common/templates/group-template.directive.js +0 -54
- package/dist/es/common/templates/header-template.directive.js +0 -47
- package/dist/es/common/templates/item-template.directive.js +0 -46
- package/dist/es/common/templates/no-data-template.directive.js +0 -48
- package/dist/es/common/templates/tag-template.directive.js +0 -45
- package/dist/es/common/templates/template-context.directive.js +0 -40
- package/dist/es/common/templates/value-template.directive.js +0 -49
- package/dist/es/common/util.js +0 -337
- package/dist/es/dropdownlist/dropdownlist.component.js +0 -1649
- package/dist/es/dropdownlist/dropdownlist.module.js +0 -37
- package/dist/es/dropdowntrees/checked-state/base-check.directive.js +0 -68
- package/dist/es/dropdowntrees/checked-state/check-all.directive.js +0 -181
- package/dist/es/dropdowntrees/checked-state/check.directive.js +0 -169
- package/dist/es/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -32
- package/dist/es/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -42
- package/dist/es/dropdowntrees/dropdowntree.component.js +0 -1394
- package/dist/es/dropdowntrees/dropdowntrees.module.js +0 -45
- package/dist/es/dropdowntrees/expanded-state/expand.directive.js +0 -28
- package/dist/es/dropdowntrees/multiselecttree.component.js +0 -1683
- package/dist/es/dropdowntrees/summary-tag/summary-tag.directive.js +0 -63
- package/dist/es/dropdowntrees/templates/node-template.directive.js +0 -28
- package/dist/es/index.js +0 -30
- package/dist/es/multiselect/multiselect.component.js +0 -1734
- package/dist/es/multiselect/multiselect.module.js +0 -50
- package/dist/es/multiselect/summary-tag.directive.js +0 -65
- package/dist/es/package-metadata.js +0 -15
- package/dist/es2015/autocomplete/autocomplete.module.js +0 -33
- package/dist/es2015/comboboxes/combobox-column/column-header-template.directive.js +0 -25
- package/dist/es2015/comboboxes/combobox-column/combobox-column.component.js +0 -81
- package/dist/es2015/comboboxes/combobox.module.d.ts +0 -20
- package/dist/es2015/comboboxes/multicolumncombobox.component.js +0 -417
- package/dist/es2015/common/filter-input.directive.js +0 -35
- package/dist/es2015/common/list-item.directive.js +0 -21
- package/dist/es2015/common/localization/custom-messages.component.js +0 -36
- package/dist/es2015/common/localization/localized-messages.directive.js +0 -39
- package/dist/es2015/common/localization/messages.js +0 -28
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/list-type.js +0 -4
- package/dist/es2015/common/models/page-change-event.js +0 -4
- package/dist/es2015/common/models/popup-settings.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/navigation/navigation-action.js +0 -24
- package/dist/es2015/common/selection/selectable.directive.js +0 -84
- package/dist/es2015/common/shared-directives.module.d.ts +0 -20
- package/dist/es2015/common/shared.module.js +0 -42
- package/dist/es2015/common/templates/template-context.directive.js +0 -35
- package/dist/es2015/dropdownlist/dropdownlist.module.js +0 -34
- package/dist/es2015/dropdowns.module.js +0 -50
- package/dist/es2015/dropdowntrees/checked-state/checkable-settings.js +0 -4
- package/dist/es2015/dropdowntrees/checked-state/checked-item.js +0 -4
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -30
- package/dist/es2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -35
- package/dist/es2015/dropdowntrees/dropdowntrees.module.d.ts +0 -9
- package/dist/es2015/dropdowntrees/dropdowntrees.module.js +0 -42
- package/dist/es2015/dropdowntrees/expanded-state/expand.directive.js +0 -26
- package/dist/es2015/dropdowntrees/templates/node-template.directive.js +0 -27
- package/dist/es2015/index.d.ts +0 -30
- package/dist/es2015/index.js +0 -30
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/main.js +0 -44
- package/dist/fesm5/index.js +0 -13097
- package/dist/npm/autocomplete/autocomplete.component.js +0 -1203
- package/dist/npm/autocomplete/autocomplete.module.js +0 -38
- package/dist/npm/comboboxes/combobox-column/column-cell-template.directive.js +0 -31
- package/dist/npm/comboboxes/combobox-column/column-header-template.directive.js +0 -28
- package/dist/npm/comboboxes/combobox-column/combobox-column.component.js +0 -80
- package/dist/npm/comboboxes/combobox-column/util.js +0 -59
- package/dist/npm/comboboxes/combobox.component.js +0 -1624
- package/dist/npm/comboboxes/combobox.module.js +0 -54
- package/dist/npm/comboboxes/multicolumncombobox.component.js +0 -232
- package/dist/npm/common/constants/error-messages.js +0 -64
- package/dist/npm/common/constants/touch-enabled.js +0 -11
- package/dist/npm/common/data.service.js +0 -252
- package/dist/npm/common/disabled-items/disabled-items.service.js +0 -47
- package/dist/npm/common/disabled-items/item-disabled.js +0 -6
- package/dist/npm/common/filter-input.directive.js +0 -39
- package/dist/npm/common/filtering/filter-settings.js +0 -6
- package/dist/npm/common/filtering/filter.directive.js +0 -143
- package/dist/npm/common/filtering/filterable-component.js +0 -19
- package/dist/npm/common/list-item.directive.js +0 -24
- package/dist/npm/common/list.component.js +0 -505
- package/dist/npm/common/localization/custom-messages.component.js +0 -46
- package/dist/npm/common/localization/localized-messages.directive.js +0 -37
- package/dist/npm/common/localization/messages.js +0 -36
- package/dist/npm/common/models/checkboxes-settings.js +0 -17
- package/dist/npm/common/models/direction.js +0 -6
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/list-type.js +0 -6
- package/dist/npm/common/models/page-change-event.js +0 -6
- package/dist/npm/common/models/popup-settings.js +0 -6
- package/dist/npm/common/models/preventable-event.js +0 -31
- package/dist/npm/common/models/remove-tag-event.js +0 -26
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/virtualization-settings.js +0 -27
- package/dist/npm/common/navigation/navigation-action.js +0 -26
- package/dist/npm/common/navigation/navigation.service.js +0 -149
- package/dist/npm/common/searchbar.component.js +0 -255
- package/dist/npm/common/selection/selectable.directive.js +0 -95
- package/dist/npm/common/selection/selection.service.js +0 -109
- package/dist/npm/common/shared-directives.module.js +0 -62
- package/dist/npm/common/shared.module.js +0 -47
- package/dist/npm/common/taglist.component.js +0 -181
- package/dist/npm/common/templates/custom-item-template.directive.js +0 -49
- package/dist/npm/common/templates/fixed-group-template.directive.js +0 -56
- package/dist/npm/common/templates/footer-template.directive.js +0 -49
- package/dist/npm/common/templates/group-tag-template.directive.js +0 -48
- package/dist/npm/common/templates/group-template.directive.js +0 -56
- package/dist/npm/common/templates/header-template.directive.js +0 -49
- package/dist/npm/common/templates/item-template.directive.js +0 -48
- package/dist/npm/common/templates/no-data-template.directive.js +0 -50
- package/dist/npm/common/templates/tag-template.directive.js +0 -47
- package/dist/npm/common/templates/template-context.directive.js +0 -42
- package/dist/npm/common/templates/value-template.directive.js +0 -51
- package/dist/npm/common/util.js +0 -339
- package/dist/npm/dropdownlist/dropdownlist.component.js +0 -1651
- package/dist/npm/dropdownlist/dropdownlist.module.js +0 -39
- package/dist/npm/dropdowns.module.js +0 -55
- package/dist/npm/dropdowntrees/checked-state/base-check.directive.js +0 -70
- package/dist/npm/dropdowntrees/checked-state/check-all.directive.js +0 -183
- package/dist/npm/dropdowntrees/checked-state/check.directive.js +0 -171
- package/dist/npm/dropdowntrees/checked-state/checkable-settings.js +0 -6
- package/dist/npm/dropdowntrees/checked-state/checked-item.js +0 -6
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js +0 -34
- package/dist/npm/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js +0 -44
- package/dist/npm/dropdowntrees/dropdowntree.component.js +0 -1399
- package/dist/npm/dropdowntrees/dropdowntrees.module.js +0 -47
- package/dist/npm/dropdowntrees/expanded-state/expand.directive.js +0 -30
- package/dist/npm/dropdowntrees/multiselecttree.component.js +0 -1688
- package/dist/npm/dropdowntrees/summary-tag/summary-tag.directive.js +0 -65
- package/dist/npm/dropdowntrees/templates/node-template.directive.js +0 -30
- package/dist/npm/index.js +0 -55
- package/dist/npm/main.js +0 -86
- package/dist/npm/multiselect/multiselect.component.js +0 -1736
- package/dist/npm/multiselect/multiselect.module.js +0 -52
- package/dist/npm/multiselect/summary-tag.directive.js +0 -67
- package/dist/npm/package-metadata.js +0 -17
- package/dist/systemjs/kendo-angular-dropdowns.js +0 -5
|
@@ -0,0 +1,44 @@
|
|
|
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 { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export class LocalizedMessagesDirective extends Messages {
|
|
13
|
+
constructor(service) {
|
|
14
|
+
super();
|
|
15
|
+
this.service = service;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
20
|
+
{
|
|
21
|
+
provide: Messages,
|
|
22
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
23
|
+
}
|
|
24
|
+
], usesInheritance: true, ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
providers: [
|
|
29
|
+
{
|
|
30
|
+
provide: Messages,
|
|
31
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
selector: `
|
|
35
|
+
[kendoDropDownListLocalizedMessages],
|
|
36
|
+
[kendoDropDownTreeLocalizedMessages],
|
|
37
|
+
[kendoComboBoxLocalizedMessages],
|
|
38
|
+
[kendoMultiColumnComboBoxLocalizedMessages],
|
|
39
|
+
[kendoAutoCompleteLocalizedMessages],
|
|
40
|
+
[kendoMultiSelectLocalizedMessages],
|
|
41
|
+
[kendoMultiSelectTreeLocalizedMessages]
|
|
42
|
+
`
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { Directive, Input } from '@angular/core';
|
|
6
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, decorators: [{
|
|
16
|
+
type: Directive
|
|
17
|
+
}], propDecorators: { noDataText: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}], clearTitle: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], checkAllText: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], selectButtonText: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}] } });
|
|
File without changes
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
File without changes
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export var NavigationAction;
|
|
9
9
|
(function (NavigationAction) {
|
|
10
|
+
// eslint-disable-next-line id-denylist
|
|
10
11
|
NavigationAction[NavigationAction["Undefined"] = 0] = "Undefined";
|
|
11
12
|
NavigationAction[NavigationAction["Open"] = 1] = "Open";
|
|
12
13
|
NavigationAction[NavigationAction["Close"] = 2] = "Close";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { Injectable, EventEmitter } from '@angular/core';
|
|
7
6
|
import { isPresent } from '../util';
|
|
8
7
|
import { Keys } from '@progress/kendo-angular-common';
|
|
9
8
|
import { NavigationAction } from './navigation-action';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../disabled-items/disabled-items.service";
|
|
11
|
+
import * as i2 from "../selection/selection.service";
|
|
12
12
|
const MIN_INDEX = 0;
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -25,7 +25,7 @@ export class NavigationEvent {
|
|
|
25
25
|
/**
|
|
26
26
|
* @hidden
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
export class NavigationService {
|
|
29
29
|
constructor(disabledItemsService, selectionService) {
|
|
30
30
|
this.disabledItemsService = disabledItemsService;
|
|
31
31
|
this.selectionService = selectionService;
|
|
@@ -135,10 +135,9 @@ let NavigationService = class NavigationService {
|
|
|
135
135
|
return this.disabledItemsService.isIndexDisabled(index);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
}
|
|
139
|
-
NavigationService =
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
],
|
|
144
|
-
export { NavigationService };
|
|
138
|
+
}
|
|
139
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService, deps: [{ token: i1.DisabledItemsService }, { token: i2.SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
140
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService, decorators: [{
|
|
142
|
+
type: Injectable
|
|
143
|
+
}], ctorParameters: function () { return [{ type: i1.DisabledItemsService }, { type: i2.SelectionService }]; } });
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
import * as tslib_1 from "tslib";
|
|
7
|
-
import { Component, Renderer2, Input, Output, EventEmitter, ViewChild, ElementRef, HostBinding } from '@angular/core';
|
|
5
|
+
import { Component, Input, Output, EventEmitter, ViewChild, HostBinding } from '@angular/core';
|
|
8
6
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
9
7
|
import { Keys } from '@progress/kendo-angular-common';
|
|
10
8
|
import { combineStr } from './util';
|
|
11
|
-
import
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-l10n";
|
|
11
|
+
import * as i2 from "@progress/kendo-angular-common";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
export class SearchBarComponent {
|
|
16
16
|
constructor(localization, renderer) {
|
|
17
17
|
this.localization = localization;
|
|
18
18
|
this.valueChange = new EventEmitter();
|
|
@@ -138,93 +138,41 @@ let SearchBarComponent = class SearchBarComponent {
|
|
|
138
138
|
const size = Math.max(placeholderLength, textLength, 1);
|
|
139
139
|
this.renderer.setAttribute(input, 'size', size.toString());
|
|
140
140
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
]
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
]
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
]
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
]
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
]
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
177
|
-
], SearchBarComponent.prototype, "popupOpen", void 0);
|
|
178
|
-
tslib_1.__decorate([
|
|
179
|
-
Input(),
|
|
180
|
-
tslib_1.__metadata("design:type", String)
|
|
181
|
-
], SearchBarComponent.prototype, "role", void 0);
|
|
182
|
-
tslib_1.__decorate([
|
|
183
|
-
Input(),
|
|
184
|
-
tslib_1.__metadata("design:type", String),
|
|
185
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
186
|
-
], SearchBarComponent.prototype, "userInput", null);
|
|
187
|
-
tslib_1.__decorate([
|
|
188
|
-
Input(),
|
|
189
|
-
tslib_1.__metadata("design:type", String)
|
|
190
|
-
], SearchBarComponent.prototype, "suggestedText", void 0);
|
|
191
|
-
tslib_1.__decorate([
|
|
192
|
-
Output(),
|
|
193
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
194
|
-
], SearchBarComponent.prototype, "valueChange", void 0);
|
|
195
|
-
tslib_1.__decorate([
|
|
196
|
-
Output(),
|
|
197
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
198
|
-
], SearchBarComponent.prototype, "onBlur", void 0);
|
|
199
|
-
tslib_1.__decorate([
|
|
200
|
-
Output(),
|
|
201
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
202
|
-
], SearchBarComponent.prototype, "onFocus", void 0);
|
|
203
|
-
tslib_1.__decorate([
|
|
204
|
-
Output(),
|
|
205
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
206
|
-
], SearchBarComponent.prototype, "onClick", void 0);
|
|
207
|
-
tslib_1.__decorate([
|
|
208
|
-
Output(),
|
|
209
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
210
|
-
], SearchBarComponent.prototype, "onNavigate", void 0);
|
|
211
|
-
tslib_1.__decorate([
|
|
212
|
-
ViewChild('input', { static: true }),
|
|
213
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
214
|
-
], SearchBarComponent.prototype, "input", void 0);
|
|
215
|
-
tslib_1.__decorate([
|
|
216
|
-
HostBinding('class.k-searchbar'),
|
|
217
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
218
|
-
], SearchBarComponent.prototype, "searchBarClass", void 0);
|
|
219
|
-
tslib_1.__decorate([
|
|
220
|
-
Input(),
|
|
221
|
-
tslib_1.__metadata("design:type", String),
|
|
222
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
223
|
-
], SearchBarComponent.prototype, "placeholder", null);
|
|
224
|
-
SearchBarComponent = tslib_1.__decorate([
|
|
225
|
-
Component({
|
|
226
|
-
selector: 'kendo-searchbar',
|
|
227
|
-
template: `
|
|
141
|
+
}
|
|
142
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
+
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SearchBarComponent, selector: "kendo-searchbar", inputs: { id: "id", listId: "listId", tagListId: "tagListId", activeDescendant: "activeDescendant", noDataLabel: "noDataLabel", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", popupOpen: "popupOpen", role: "role", userInput: "userInput", suggestedText: "suggestedText", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-searchbar": "this.searchBarClass" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
144
|
+
<input #input
|
|
145
|
+
autocomplete="off"
|
|
146
|
+
[id]="id"
|
|
147
|
+
[disabled]="disabled"
|
|
148
|
+
[readonly]="readonly"
|
|
149
|
+
[placeholder]="placeholder"
|
|
150
|
+
[class]="'k-input-inner'"
|
|
151
|
+
(input)="handleInput($event)"
|
|
152
|
+
(keydown)="handleKeydown($event)"
|
|
153
|
+
[kendoEventsOutsideAngular]="{
|
|
154
|
+
focus: handleFocus,
|
|
155
|
+
blur: handleBlur
|
|
156
|
+
}"
|
|
157
|
+
[scope]="this"
|
|
158
|
+
[attr.tabIndex]="tabIndex"
|
|
159
|
+
[attr.dir]="direction"
|
|
160
|
+
[attr.role]="role"
|
|
161
|
+
[attr.aria-disabled]="disabled"
|
|
162
|
+
[attr.aria-readonly]="readonly"
|
|
163
|
+
aria-haspopup="listbox"
|
|
164
|
+
[attr.aria-expanded]="ariaExpanded"
|
|
165
|
+
[attr.aria-owns]="listId"
|
|
166
|
+
[attr.aria-describedby]="tagListId"
|
|
167
|
+
[attr.aria-activedescendant]="activeDescendant"
|
|
168
|
+
[attr.aria-label]="noDataLabel"
|
|
169
|
+
/>
|
|
170
|
+
`, isInline: true, directives: [{ type: i2.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
172
|
+
type: Component,
|
|
173
|
+
args: [{
|
|
174
|
+
selector: 'kendo-searchbar',
|
|
175
|
+
template: `
|
|
228
176
|
<input #input
|
|
229
177
|
autocomplete="off"
|
|
230
178
|
[id]="id"
|
|
@@ -252,8 +200,47 @@ SearchBarComponent = tslib_1.__decorate([
|
|
|
252
200
|
[attr.aria-label]="noDataLabel"
|
|
253
201
|
/>
|
|
254
202
|
`
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
],
|
|
259
|
-
|
|
203
|
+
}]
|
|
204
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { id: [{
|
|
205
|
+
type: Input
|
|
206
|
+
}], listId: [{
|
|
207
|
+
type: Input
|
|
208
|
+
}], tagListId: [{
|
|
209
|
+
type: Input
|
|
210
|
+
}], activeDescendant: [{
|
|
211
|
+
type: Input
|
|
212
|
+
}], noDataLabel: [{
|
|
213
|
+
type: Input
|
|
214
|
+
}], disabled: [{
|
|
215
|
+
type: Input
|
|
216
|
+
}], readonly: [{
|
|
217
|
+
type: Input
|
|
218
|
+
}], tabIndex: [{
|
|
219
|
+
type: Input
|
|
220
|
+
}], popupOpen: [{
|
|
221
|
+
type: Input
|
|
222
|
+
}], role: [{
|
|
223
|
+
type: Input
|
|
224
|
+
}], userInput: [{
|
|
225
|
+
type: Input
|
|
226
|
+
}], suggestedText: [{
|
|
227
|
+
type: Input
|
|
228
|
+
}], valueChange: [{
|
|
229
|
+
type: Output
|
|
230
|
+
}], onBlur: [{
|
|
231
|
+
type: Output
|
|
232
|
+
}], onFocus: [{
|
|
233
|
+
type: Output
|
|
234
|
+
}], onClick: [{
|
|
235
|
+
type: Output
|
|
236
|
+
}], onNavigate: [{
|
|
237
|
+
type: Output
|
|
238
|
+
}], input: [{
|
|
239
|
+
type: ViewChild,
|
|
240
|
+
args: ['input', { static: true }]
|
|
241
|
+
}], searchBarClass: [{
|
|
242
|
+
type: HostBinding,
|
|
243
|
+
args: ['class.k-searchbar']
|
|
244
|
+
}], placeholder: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}] } });
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { Directive, Input, HostBinding, HostListener } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "./selection.service";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class SelectableDirective {
|
|
12
|
+
constructor(selectionService) {
|
|
13
|
+
this.checkboxes = { enabled: false };
|
|
14
|
+
// @HostBinding('attr.offset-index')
|
|
15
|
+
// @Input() public offsetIndex: number;
|
|
16
|
+
this.multipleSelection = false;
|
|
17
|
+
this.selectionService = selectionService;
|
|
18
|
+
}
|
|
19
|
+
get focusedClassName() {
|
|
20
|
+
return this.selectionService.isFocused(this.index);
|
|
21
|
+
}
|
|
22
|
+
get selectedClassName() {
|
|
23
|
+
return !this.checkboxes.enabled && this.selectionService.isSelected(this.index);
|
|
24
|
+
}
|
|
25
|
+
onClick(event) {
|
|
26
|
+
event.stopPropagation();
|
|
27
|
+
if (this.checkboxes.enabled && !this.checkboxes.checkOnClick) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (this.multipleSelection) {
|
|
31
|
+
if (this.selectionService.isSelected(this.index)) {
|
|
32
|
+
this.selectionService.unselect(this.index);
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.selectionService.add(this.index);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.selectionService.change(this.index);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: '[kendoDropDownsSelectable]'
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.SelectionService }]; }, propDecorators: { index: [{
|
|
51
|
+
type: HostBinding,
|
|
52
|
+
args: ['attr.index']
|
|
53
|
+
}, {
|
|
54
|
+
type: Input
|
|
55
|
+
}], checkboxes: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], height: [{
|
|
58
|
+
type: HostBinding,
|
|
59
|
+
args: ['style.height.px']
|
|
60
|
+
}, {
|
|
61
|
+
type: HostBinding,
|
|
62
|
+
args: ['style.minHeight.px']
|
|
63
|
+
}, {
|
|
64
|
+
type: Input
|
|
65
|
+
}], multipleSelection: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], focusedClassName: [{
|
|
68
|
+
type: HostBinding,
|
|
69
|
+
args: ['class.k-focus']
|
|
70
|
+
}], selectedClassName: [{
|
|
71
|
+
type: HostBinding,
|
|
72
|
+
args: ['class.k-selected']
|
|
73
|
+
}], onClick: [{
|
|
74
|
+
type: HostListener,
|
|
75
|
+
args: ['click', ['$event']]
|
|
76
|
+
}] } });
|
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { Injectable, EventEmitter } from '@angular/core';
|
|
7
6
|
import { isPresent } from '../util';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
11
|
+
export class SelectionService {
|
|
15
12
|
constructor() {
|
|
16
13
|
this.onSelect = new EventEmitter();
|
|
17
14
|
this.onChange = new EventEmitter();
|
|
@@ -94,8 +91,9 @@ let SelectionService = class SelectionService {
|
|
|
94
91
|
this.onFocus.emit(index);
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
|
-
}
|
|
98
|
-
SelectionService =
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
94
|
+
}
|
|
95
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
96
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectionService });
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectionService, decorators: [{
|
|
98
|
+
type: Injectable
|
|
99
|
+
}] });
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { ItemTemplateDirective } from './templates/item-template.directive';
|
|
8
7
|
import { GroupTemplateDirective } from './templates/group-template.directive';
|
|
@@ -17,6 +16,7 @@ import { LocalizedMessagesDirective } from './localization/localized-messages.di
|
|
|
17
16
|
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
18
17
|
import { FilterDirective } from './filtering/filter.directive';
|
|
19
18
|
import { FilterInputDirective } from './filter-input.directive';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
20
|
const SHARED_DIRECTIVES = [
|
|
21
21
|
HeaderTemplateDirective,
|
|
22
22
|
FooterTemplateDirective,
|
|
@@ -46,12 +46,39 @@ const SHARED_DIRECTIVES = [
|
|
|
46
46
|
* - `TagTemplateDirective`—The tag template directive.
|
|
47
47
|
* - `SummaryTagTemplateDirective`—The summary tag template directive.
|
|
48
48
|
*/
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
SharedDirectivesModule =
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
export class SharedDirectivesModule {
|
|
50
|
+
}
|
|
51
|
+
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, declarations: [HeaderTemplateDirective,
|
|
53
|
+
FooterTemplateDirective,
|
|
54
|
+
ItemTemplateDirective,
|
|
55
|
+
GroupTemplateDirective,
|
|
56
|
+
FixedGroupTemplateDirective,
|
|
57
|
+
NoDataTemplateDirective,
|
|
58
|
+
ValueTemplateDirective,
|
|
59
|
+
TagTemplateDirective,
|
|
60
|
+
GroupTagTemplateDirective,
|
|
61
|
+
LocalizedMessagesDirective,
|
|
62
|
+
CustomMessagesComponent,
|
|
63
|
+
FilterDirective,
|
|
64
|
+
FilterInputDirective], exports: [HeaderTemplateDirective,
|
|
65
|
+
FooterTemplateDirective,
|
|
66
|
+
ItemTemplateDirective,
|
|
67
|
+
GroupTemplateDirective,
|
|
68
|
+
FixedGroupTemplateDirective,
|
|
69
|
+
NoDataTemplateDirective,
|
|
70
|
+
ValueTemplateDirective,
|
|
71
|
+
TagTemplateDirective,
|
|
72
|
+
GroupTagTemplateDirective,
|
|
73
|
+
LocalizedMessagesDirective,
|
|
74
|
+
CustomMessagesComponent,
|
|
75
|
+
FilterDirective,
|
|
76
|
+
FilterInputDirective] });
|
|
77
|
+
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
79
|
+
type: NgModule,
|
|
80
|
+
args: [{
|
|
81
|
+
declarations: [SHARED_DIRECTIVES],
|
|
82
|
+
exports: [SHARED_DIRECTIVES]
|
|
83
|
+
}]
|
|
84
|
+
}] });
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { FormsModule } from '@angular/forms';
|
|
8
|
+
import { ListComponent } from './list.component';
|
|
9
|
+
import { SearchBarComponent } from './searchbar.component';
|
|
10
|
+
import { TagListComponent } from './taglist.component';
|
|
11
|
+
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
12
|
+
import { ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
13
|
+
import { SharedDirectivesModule } from './shared-directives.module';
|
|
14
|
+
import { ListItemDirective } from './list-item.directive';
|
|
15
|
+
import { SelectableDirective } from './selection/selectable.directive';
|
|
16
|
+
import { TemplateContextDirective } from './templates/template-context.directive';
|
|
17
|
+
import { CheckDirective } from '../dropdowntrees/checked-state/check.directive';
|
|
18
|
+
import { CheckAllDirective } from '../dropdowntrees/checked-state/check-all.directive';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
const INTERNAL_DIRECTIVES = [
|
|
21
|
+
ListComponent,
|
|
22
|
+
ListItemDirective,
|
|
23
|
+
SelectableDirective,
|
|
24
|
+
SearchBarComponent,
|
|
25
|
+
TemplateContextDirective,
|
|
26
|
+
TagListComponent,
|
|
27
|
+
CheckDirective,
|
|
28
|
+
CheckAllDirective
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export class SharedModule {
|
|
34
|
+
}
|
|
35
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, declarations: [ListComponent,
|
|
37
|
+
ListItemDirective,
|
|
38
|
+
SelectableDirective,
|
|
39
|
+
SearchBarComponent,
|
|
40
|
+
TemplateContextDirective,
|
|
41
|
+
TagListComponent,
|
|
42
|
+
CheckDirective,
|
|
43
|
+
CheckAllDirective], imports: [CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], exports: [ListComponent,
|
|
44
|
+
ListItemDirective,
|
|
45
|
+
SelectableDirective,
|
|
46
|
+
SearchBarComponent,
|
|
47
|
+
TemplateContextDirective,
|
|
48
|
+
TagListComponent,
|
|
49
|
+
CheckDirective,
|
|
50
|
+
CheckAllDirective, CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
51
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, imports: [[CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, decorators: [{
|
|
53
|
+
type: NgModule,
|
|
54
|
+
args: [{
|
|
55
|
+
declarations: [INTERNAL_DIRECTIVES],
|
|
56
|
+
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule],
|
|
57
|
+
imports: [CommonModule, FormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule]
|
|
58
|
+
}]
|
|
59
|
+
}] });
|