@progress/kendo-angular-treeview 6.0.2 → 7.0.0-next.202203241311
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/bundles/kendo-angular-treeview.umd.js +5 -0
- package/{dist/es2015/check-mode.d.ts → check-mode.d.ts} +0 -0
- package/{dist/es2015/check.directive.d.ts → check.directive.d.ts} +5 -2
- package/{dist/es2015/checkable-settings.d.ts → checkable-settings.d.ts} +0 -0
- package/{dist/es2015/checkbox → checkbox}/checkbox.component.d.ts +7 -4
- package/{dist/es2015/checkbox → checkbox}/checkbox.module.d.ts +5 -0
- package/{dist/es2015/checkbox → checkbox}/checked-state.d.ts +0 -0
- package/{dist/es2015/data-bound-component.d.ts → data-bound-component.d.ts} +3 -0
- package/{dist/es2015/data-change-notification.service.d.ts → data-change-notification.service.d.ts} +0 -0
- package/{dist/es2015/default-callbacks.d.ts → default-callbacks.d.ts} +0 -0
- package/{dist/es2015/disable.directive.d.ts → disable.directive.d.ts} +4 -1
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop-editing.directive.d.ts +4 -1
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop-utils.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop.directive.d.ts +4 -1
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue-template.directive.d.ts +3 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue.component.d.ts +4 -1
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue.service.d.ts +3 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint-template.directive.d.ts +3 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint.component.d.ts +3 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint.service.d.ts +3 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/drag-and-drop-asset.service.d.ts +6 -2
- package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/flat-editing.service.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/hierarchy-editing.service.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/drop-action.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/drop-position.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/editing-service.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/preventable-event.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/scroll-direction.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/scroll-settings.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/tree-item-filter-state.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-add-remove-args.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drag-event.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drag-start-event.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drop-event.d.ts +0 -0
- package/{dist/es2015/drag-and-drop → drag-and-drop}/models.d.ts +0 -0
- package/{dist/es2015 → esm2015}/check-mode.js +1 -0
- package/{dist/es2015 → esm2015}/check.directive.js +23 -35
- package/{dist/es → esm2015}/checkable-settings.js +1 -0
- package/{dist/es2015 → esm2015}/checkbox/checkbox.component.js +47 -51
- package/esm2015/checkbox/checkbox.module.js +27 -0
- package/{dist/es2015 → esm2015}/checkbox/checked-state.js +1 -0
- package/esm2015/data-bound-component.js +19 -0
- package/{dist/es2015 → esm2015}/data-change-notification.service.js +0 -0
- package/{dist/es2015 → esm2015}/default-callbacks.js +0 -0
- package/{dist/es2015 → esm2015}/disable.directive.js +18 -24
- package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop-editing.directive.js +14 -16
- package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop-utils.js +6 -10
- package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop.directive.js +47 -50
- package/{dist/es2015 → esm2015}/drag-and-drop/drag-clue/drag-clue-template.directive.js +14 -12
- package/esm2015/drag-and-drop/drag-clue/drag-clue.component.js +85 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/drag-clue/drag-clue.service.js +9 -9
- package/{dist/es2015 → esm2015}/drag-and-drop/drop-hint/drop-hint-template.directive.js +14 -12
- package/esm2015/drag-and-drop/drop-hint/drop-hint.component.js +79 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/drop-hint/drop-hint.service.js +9 -9
- package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/drag-and-drop-asset.service.js +7 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/flat-editing.service.js +0 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -0
- package/{dist/es → esm2015}/drag-and-drop/models/drop-action.js +0 -0
- package/{dist/es → esm2015}/drag-and-drop/models/drop-position.js +0 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/models/editing-service.js +1 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/models/preventable-event.js +0 -0
- package/{dist/es → esm2015}/drag-and-drop/models/scroll-direction.js +0 -0
- package/{dist/es → esm2015}/drag-and-drop/models/scroll-settings.js +1 -0
- package/{dist/es → esm2015}/drag-and-drop/models/tree-item-filter-state.js +1 -0
- package/{dist/es → esm2015}/drag-and-drop/models/treeitem-add-remove-args.js +1 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drag-event.js +0 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drag-start-event.js +0 -0
- package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drop-event.js +0 -0
- package/{dist/es → esm2015}/drag-and-drop/models.js +3 -0
- package/{dist/es2015 → esm2015}/expand-state.service.js +8 -10
- package/{dist/es2015 → esm2015}/expand.directive.js +22 -31
- package/esm2015/expandable-component.js +19 -0
- package/{dist/es → esm2015}/filter-expand-settings.interface.js +1 -0
- package/{dist/es → esm2015}/filter-state.interface.js +1 -0
- package/{dist/es2015 → esm2015}/filtering-base.js +13 -13
- package/{dist/es2015 → esm2015}/flat-binding.directive.js +20 -34
- package/{dist/es2015 → esm2015}/funcs.js +0 -0
- package/{dist/es2015 → esm2015}/hierarchy-binding.directive.js +23 -33
- package/{dist/es2015 → esm2015}/index-builder.service.js +8 -10
- package/{dist/es2015/shared.module.d.ts → esm2015/kendo-angular-treeview.js} +2 -3
- package/esm2015/load-more/load-more-button-template.directive.js +31 -0
- package/{dist/es → esm2015}/load-more/load-more-request-args.js +1 -0
- package/{dist/es2015 → esm2015}/load-more/load-more-utils.js +0 -0
- package/{dist/es2015 → esm2015}/load-more/load-more.directive.js +21 -28
- package/{dist/es → esm2015}/load-more/load-more.service.js +1 -0
- package/{dist/es2015 → esm2015}/loading-indicator.directive.js +18 -22
- package/esm2015/loading-notification.service.js +23 -0
- package/{dist/es → esm2015}/main.js +0 -0
- package/{dist/es → esm2015}/navigation/navigation-item.interface.js +1 -0
- package/{dist/es2015 → esm2015}/navigation/navigation-model.js +0 -4
- package/{dist/es → esm2015}/navigation/navigation-state.interface.js +1 -0
- package/{dist/es2015 → esm2015}/navigation/navigation.service.js +9 -9
- package/{dist/es2015 → esm2015}/node-children.service.js +8 -10
- package/{dist/es → esm2015}/node-click-event.interface.js +1 -0
- package/{dist/es2015 → esm2015}/node-template.directive.js +14 -12
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/selection/select.directive.js +25 -35
- package/{dist/es → esm2015}/selection/selectable-settings.js +1 -0
- package/{dist/es → esm2015}/selection/selection-mode.js +1 -0
- package/{dist/es2015 → esm2015}/selection/selection.service.js +8 -10
- package/{dist/es2015 → esm2015}/shared.module.js +63 -16
- package/{dist/es → esm2015}/size.js +1 -0
- package/{dist/es → esm2015}/treeitem-lookup.interface.js +1 -0
- package/{dist/es → esm2015}/treeitem.interface.js +1 -0
- package/{dist/es2015 → esm2015}/treeview-filter-settings.js +0 -0
- package/{dist/es2015 → esm2015}/treeview-group.component.js +242 -134
- package/{dist/es2015 → esm2015}/treeview-item-content.directive.js +20 -30
- package/{dist/es2015 → esm2015}/treeview-item.directive.js +43 -81
- package/{dist/es2015 → esm2015}/treeview-lookup.service.js +8 -10
- package/{dist/es2015 → esm2015}/treeview.component.js +165 -205
- package/{dist/es2015 → esm2015}/treeview.module.js +26 -10
- package/{dist/es2015 → esm2015}/utils.js +6 -12
- package/{dist/es2015/expand-state.service.d.ts → expand-state.service.d.ts} +3 -0
- package/{dist/es2015/expand.directive.d.ts → expand.directive.d.ts} +5 -2
- package/{dist/es2015/expandable-component.d.ts → expandable-component.d.ts} +3 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-treeview.js} +3401 -3322
- package/{dist/es2015/filter-expand-settings.interface.d.ts → filter-expand-settings.interface.d.ts} +0 -0
- package/{dist/es2015/filter-state.interface.d.ts → filter-state.interface.d.ts} +0 -0
- package/{dist/es2015/filtering-base.d.ts → filtering-base.d.ts} +6 -2
- package/{dist/es2015/flat-binding.directive.d.ts → flat-binding.directive.d.ts} +5 -2
- package/{dist/es2015/funcs.d.ts → funcs.d.ts} +0 -0
- package/{dist/es2015/hierarchy-binding.directive.d.ts → hierarchy-binding.directive.d.ts} +10 -6
- package/{dist/es2015/index-builder.service.d.ts → index-builder.service.d.ts} +3 -0
- package/{dist/es/treeview-filter-settings.js → kendo-angular-treeview.d.ts} +3 -6
- package/{dist/es2015/load-more → load-more}/load-more-button-template.directive.d.ts +3 -0
- package/{dist/es2015/load-more → load-more}/load-more-request-args.d.ts +0 -0
- package/{dist/es2015/load-more → load-more}/load-more-utils.d.ts +0 -0
- package/{dist/es2015/load-more → load-more}/load-more.directive.d.ts +4 -1
- package/{dist/es2015/load-more → load-more}/load-more.service.d.ts +0 -0
- package/{dist/es2015/loading-indicator.directive.d.ts → loading-indicator.directive.d.ts} +5 -1
- package/{dist/es2015/loading-notification.service.d.ts → loading-notification.service.d.ts} +3 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-item.interface.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-model.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation-state.interface.d.ts +0 -0
- package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +9 -5
- package/{dist/es2015/node-children.service.d.ts → node-children.service.d.ts} +3 -0
- package/{dist/es2015/node-click-event.interface.d.ts → node-click-event.interface.d.ts} +0 -0
- package/{dist/es2015/node-template.directive.d.ts → node-template.directive.d.ts} +3 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +35 -103
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/selection → selection}/select.directive.d.ts +6 -3
- package/{dist/es2015/selection → selection}/selectable-settings.d.ts +0 -0
- package/{dist/es2015/selection → selection}/selection-mode.d.ts +0 -0
- package/{dist/es2015/selection → selection}/selection.service.d.ts +3 -0
- package/shared.module.d.ts +36 -0
- package/{dist/es2015/size.d.ts → size.d.ts} +0 -0
- package/{dist/es2015/treeitem-lookup.interface.d.ts → treeitem-lookup.interface.d.ts} +0 -0
- package/{dist/es2015/treeitem.interface.d.ts → treeitem.interface.d.ts} +0 -0
- package/{dist/es2015/treeview-filter-settings.d.ts → treeview-filter-settings.d.ts} +0 -0
- package/{dist/es2015/treeview-group.component.d.ts → treeview-group.component.d.ts} +12 -7
- package/{dist/es2015/treeview-item-content.directive.d.ts → treeview-item-content.directive.d.ts} +3 -0
- package/{dist/es2015/treeview-item.directive.d.ts → treeview-item.directive.d.ts} +11 -6
- package/{dist/es2015/treeview-lookup.service.d.ts → treeview-lookup.service.d.ts} +3 -0
- package/{dist/es2015/treeview.component.d.ts → treeview.component.d.ts} +22 -10
- package/treeview.module.d.ts +28 -0
- package/{dist/es2015/utils.d.ts → utils.d.ts} +1 -1
- package/dist/cdn/js/kendo-angular-treeview.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/check-mode.js +0 -4
- package/dist/es/check.directive.js +0 -282
- package/dist/es/checkbox/checkbox.component.js +0 -127
- package/dist/es/checkbox/checkbox.module.js +0 -27
- package/dist/es/checkbox/checked-state.js +0 -4
- package/dist/es/data-bound-component.js +0 -21
- package/dist/es/data-change-notification.service.js +0 -18
- package/dist/es/default-callbacks.js +0 -32
- package/dist/es/disable.directive.js +0 -71
- package/dist/es/drag-and-drop/drag-and-drop-editing.directive.js +0 -65
- package/dist/es/drag-and-drop/drag-and-drop-utils.js +0 -274
- package/dist/es/drag-and-drop/drag-and-drop.directive.js +0 -334
- package/dist/es/drag-and-drop/drag-clue/drag-clue-template.directive.js +0 -34
- package/dist/es/drag-and-drop/drag-clue/drag-clue.component.js +0 -54
- package/dist/es/drag-and-drop/drag-clue/drag-clue.service.js +0 -132
- package/dist/es/drag-and-drop/drop-hint/drop-hint-template.directive.js +0 -31
- package/dist/es/drag-and-drop/drop-hint/drop-hint.component.js +0 -43
- package/dist/es/drag-and-drop/drop-hint/drop-hint.service.js +0 -46
- package/dist/es/drag-and-drop/editing-services/drag-and-drop-asset.service.js +0 -53
- package/dist/es/drag-and-drop/editing-services/flat-editing.service.js +0 -145
- package/dist/es/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -90
- package/dist/es/drag-and-drop/models/editing-service.js +0 -4
- package/dist/es/drag-and-drop/models/preventable-event.js +0 -29
- package/dist/es/drag-and-drop/models/treeitem-drag-event.js +0 -14
- package/dist/es/drag-and-drop/models/treeitem-drag-start-event.js +0 -22
- package/dist/es/drag-and-drop/models/treeitem-drop-event.js +0 -36
- package/dist/es/expand-state.service.js +0 -26
- package/dist/es/expand.directive.js +0 -219
- package/dist/es/expandable-component.js +0 -21
- package/dist/es/filtering-base.js +0 -95
- package/dist/es/flat-binding.directive.js +0 -151
- package/dist/es/funcs.js +0 -15
- package/dist/es/hierarchy-binding.directive.js +0 -152
- package/dist/es/index-builder.service.js +0 -38
- package/dist/es/index.js +0 -30
- package/dist/es/load-more/load-more-button-template.directive.js +0 -30
- package/dist/es/load-more/load-more-utils.js +0 -35
- package/dist/es/load-more/load-more.directive.js +0 -114
- package/dist/es/loading-indicator.directive.js +0 -76
- package/dist/es/loading-notification.service.js +0 -23
- package/dist/es/navigation/navigation-model.js +0 -162
- package/dist/es/navigation/navigation.service.js +0 -243
- package/dist/es/node-children.service.js +0 -23
- package/dist/es/node-template.directive.js +0 -74
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/selection/select.directive.js +0 -152
- package/dist/es/selection/selection.service.js +0 -34
- package/dist/es/shared.module.js +0 -75
- package/dist/es/treeview-group.component.js +0 -393
- package/dist/es/treeview-item-content.directive.js +0 -85
- package/dist/es/treeview-item.directive.js +0 -306
- package/dist/es/treeview-lookup.service.js +0 -93
- package/dist/es/treeview.component.js +0 -853
- package/dist/es/treeview.module.js +0 -52
- package/dist/es/utils.js +0 -311
- package/dist/es2015/checkable-settings.js +0 -4
- package/dist/es2015/checkbox/checkbox.module.js +0 -24
- package/dist/es2015/data-bound-component.js +0 -18
- package/dist/es2015/drag-and-drop/drag-clue/drag-clue.component.js +0 -66
- package/dist/es2015/drag-and-drop/drop-hint/drop-hint.component.js +0 -61
- package/dist/es2015/drag-and-drop/models/drop-action.js +0 -17
- package/dist/es2015/drag-and-drop/models/drop-position.js +0 -13
- package/dist/es2015/drag-and-drop/models/scroll-direction.js +0 -12
- package/dist/es2015/drag-and-drop/models/scroll-settings.js +0 -4
- package/dist/es2015/drag-and-drop/models/tree-item-filter-state.js +0 -4
- package/dist/es2015/drag-and-drop/models/treeitem-add-remove-args.js +0 -4
- package/dist/es2015/drag-and-drop/models.js +0 -11
- package/dist/es2015/expandable-component.js +0 -18
- package/dist/es2015/filter-expand-settings.interface.js +0 -4
- package/dist/es2015/filter-state.interface.js +0 -4
- 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/load-more/load-more-button-template.directive.js +0 -29
- package/dist/es2015/load-more/load-more-request-args.js +0 -4
- package/dist/es2015/load-more/load-more.service.js +0 -4
- package/dist/es2015/loading-notification.service.js +0 -25
- package/dist/es2015/main.js +0 -26
- package/dist/es2015/navigation/navigation-item.interface.js +0 -4
- package/dist/es2015/navigation/navigation-state.interface.js +0 -4
- package/dist/es2015/node-click-event.interface.js +0 -4
- package/dist/es2015/selection/selectable-settings.js +0 -4
- package/dist/es2015/selection/selection-mode.js +0 -4
- package/dist/es2015/size.js +0 -4
- package/dist/es2015/treeitem-lookup.interface.js +0 -4
- package/dist/es2015/treeitem.interface.js +0 -4
- package/dist/es2015/treeview.module.d.ts +0 -9
- package/dist/fesm5/index.js +0 -5426
- package/dist/npm/check-mode.js +0 -6
- package/dist/npm/check.directive.js +0 -285
- package/dist/npm/checkable-settings.js +0 -6
- package/dist/npm/checkbox/checkbox.component.js +0 -129
- package/dist/npm/checkbox/checkbox.module.js +0 -29
- package/dist/npm/checkbox/checked-state.js +0 -6
- package/dist/npm/data-bound-component.js +0 -23
- package/dist/npm/data-change-notification.service.js +0 -20
- package/dist/npm/default-callbacks.js +0 -34
- package/dist/npm/disable.directive.js +0 -73
- package/dist/npm/drag-and-drop/drag-and-drop-editing.directive.js +0 -67
- package/dist/npm/drag-and-drop/drag-and-drop-utils.js +0 -278
- package/dist/npm/drag-and-drop/drag-and-drop.directive.js +0 -336
- package/dist/npm/drag-and-drop/drag-clue/drag-clue-template.directive.js +0 -36
- package/dist/npm/drag-and-drop/drag-clue/drag-clue.component.js +0 -56
- package/dist/npm/drag-and-drop/drag-clue/drag-clue.service.js +0 -134
- package/dist/npm/drag-and-drop/drop-hint/drop-hint-template.directive.js +0 -33
- package/dist/npm/drag-and-drop/drop-hint/drop-hint.component.js +0 -45
- package/dist/npm/drag-and-drop/drop-hint/drop-hint.service.js +0 -48
- package/dist/npm/drag-and-drop/editing-services/drag-and-drop-asset.service.js +0 -55
- package/dist/npm/drag-and-drop/editing-services/flat-editing.service.js +0 -147
- package/dist/npm/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -92
- package/dist/npm/drag-and-drop/models/drop-action.js +0 -19
- package/dist/npm/drag-and-drop/models/drop-position.js +0 -15
- package/dist/npm/drag-and-drop/models/editing-service.js +0 -6
- package/dist/npm/drag-and-drop/models/preventable-event.js +0 -31
- package/dist/npm/drag-and-drop/models/scroll-direction.js +0 -14
- package/dist/npm/drag-and-drop/models/scroll-settings.js +0 -6
- package/dist/npm/drag-and-drop/models/tree-item-filter-state.js +0 -6
- package/dist/npm/drag-and-drop/models/treeitem-add-remove-args.js +0 -6
- package/dist/npm/drag-and-drop/models/treeitem-drag-event.js +0 -16
- package/dist/npm/drag-and-drop/models/treeitem-drag-start-event.js +0 -24
- package/dist/npm/drag-and-drop/models/treeitem-drop-event.js +0 -38
- package/dist/npm/drag-and-drop/models.js +0 -14
- package/dist/npm/expand-state.service.js +0 -28
- package/dist/npm/expand.directive.js +0 -221
- package/dist/npm/expandable-component.js +0 -23
- package/dist/npm/filter-expand-settings.interface.js +0 -6
- package/dist/npm/filter-state.interface.js +0 -6
- package/dist/npm/filtering-base.js +0 -97
- package/dist/npm/flat-binding.directive.js +0 -154
- package/dist/npm/funcs.js +0 -17
- package/dist/npm/hierarchy-binding.directive.js +0 -154
- package/dist/npm/index-builder.service.js +0 -40
- package/dist/npm/index.js +0 -55
- package/dist/npm/load-more/load-more-button-template.directive.js +0 -32
- package/dist/npm/load-more/load-more-request-args.js +0 -6
- package/dist/npm/load-more/load-more-utils.js +0 -37
- package/dist/npm/load-more/load-more.directive.js +0 -116
- package/dist/npm/load-more/load-more.service.js +0 -6
- package/dist/npm/loading-indicator.directive.js +0 -78
- package/dist/npm/loading-notification.service.js +0 -25
- package/dist/npm/main.js +0 -50
- package/dist/npm/navigation/navigation-item.interface.js +0 -6
- package/dist/npm/navigation/navigation-model.js +0 -166
- package/dist/npm/navigation/navigation-state.interface.js +0 -6
- package/dist/npm/navigation/navigation.service.js +0 -245
- package/dist/npm/node-children.service.js +0 -25
- package/dist/npm/node-click-event.interface.js +0 -6
- package/dist/npm/node-template.directive.js +0 -76
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/selection/select.directive.js +0 -154
- package/dist/npm/selection/selectable-settings.js +0 -6
- package/dist/npm/selection/selection-mode.js +0 -6
- package/dist/npm/selection/selection.service.js +0 -36
- package/dist/npm/shared.module.js +0 -77
- package/dist/npm/size.js +0 -6
- package/dist/npm/treeitem-lookup.interface.js +0 -6
- package/dist/npm/treeitem.interface.js +0 -6
- package/dist/npm/treeview-filter-settings.js +0 -14
- package/dist/npm/treeview-group.component.js +0 -395
- package/dist/npm/treeview-item-content.directive.js +0 -87
- package/dist/npm/treeview-item.directive.js +0 -308
- package/dist/npm/treeview-lookup.service.js +0 -95
- package/dist/npm/treeview.component.js +0 -855
- package/dist/npm/treeview.module.js +0 -54
- package/dist/npm/utils.js +0 -322
- package/dist/systemjs/kendo-angular-treeview.js +0 -5
|
@@ -2,8 +2,8 @@
|
|
|
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
|
|
6
|
-
import
|
|
5
|
+
import { Directive, Optional } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView drag clue when an item is dragged. To define the clue template,
|
|
9
9
|
* nest an `<ng-template>` tag with the `kendoTreeViewDragClueTemplate` directive inside a `<kendo-treeview>` tag
|
|
@@ -18,16 +18,18 @@ import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
|
18
18
|
* - `let-sourceItem="sourceItem"` ([`TreeItemLookup`]({% slug api_treeview_treeitemlookup %}))
|
|
19
19
|
* - `let-destinationItem="destinationItem"` ([`TreeItemLookup`]({% slug api_treeview_treeitemlookup %}))
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
export class DragClueTemplateDirective {
|
|
22
22
|
constructor(templateRef) {
|
|
23
23
|
this.templateRef = templateRef;
|
|
24
24
|
}
|
|
25
|
-
}
|
|
26
|
-
DragClueTemplateDirective =
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
]
|
|
33
|
-
|
|
25
|
+
}
|
|
26
|
+
DragClueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
DragClueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DragClueTemplateDirective, selector: "[kendoTreeViewDragClueTemplate]", ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueTemplateDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[kendoTreeViewDragClueTemplate]'
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
34
|
+
type: Optional
|
|
35
|
+
}] }]; } });
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, HostBinding, ChangeDetectionStrategy } from "@angular/core";
|
|
6
|
+
import { DropAction } from '../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/common";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export class DragClueComponent {
|
|
13
|
+
constructor(cdr) {
|
|
14
|
+
this.cdr = cdr;
|
|
15
|
+
this.hostClasses = true;
|
|
16
|
+
this.posistionStyle = 'fixed';
|
|
17
|
+
}
|
|
18
|
+
get statusIconClass() {
|
|
19
|
+
switch (this.action) {
|
|
20
|
+
case DropAction.Add: return 'k-i-plus';
|
|
21
|
+
case DropAction.InsertTop: return 'k-i-insert-up';
|
|
22
|
+
case DropAction.InsertBottom: return 'k-i-insert-down';
|
|
23
|
+
case DropAction.InsertMiddle: return 'k-i-insert-middle';
|
|
24
|
+
case DropAction.Invalid:
|
|
25
|
+
default: return 'k-i-cancel';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// exposed as a public method that can be called from outside as the component uses `OnPush` strategy
|
|
29
|
+
detectChanges() {
|
|
30
|
+
this.cdr.detectChanges();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
DragClueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DragClueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DragClueComponent, selector: "kendo-treeview-drag-clue", host: { properties: { "class.k-header": "this.hostClasses", "class.k-drag-clue": "this.hostClasses", "style.position": "this.posistionStyle" } }, ngImport: i0, template: `
|
|
35
|
+
<ng-container *ngIf="!template">
|
|
36
|
+
<span class="k-icon {{statusIconClass}} k-drag-status"></span>
|
|
37
|
+
<span>{{text}}</span>
|
|
38
|
+
</ng-container>
|
|
39
|
+
|
|
40
|
+
<ng-template
|
|
41
|
+
*ngIf="template"
|
|
42
|
+
[ngTemplateOutlet]="template"
|
|
43
|
+
[ngTemplateOutletContext]="{
|
|
44
|
+
text: text,
|
|
45
|
+
action: action,
|
|
46
|
+
sourceItem: sourceItem,
|
|
47
|
+
destinationItem: destinationItem
|
|
48
|
+
}"
|
|
49
|
+
>
|
|
50
|
+
</ng-template>
|
|
51
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{
|
|
55
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
56
|
+
selector: 'kendo-treeview-drag-clue',
|
|
57
|
+
template: `
|
|
58
|
+
<ng-container *ngIf="!template">
|
|
59
|
+
<span class="k-icon {{statusIconClass}} k-drag-status"></span>
|
|
60
|
+
<span>{{text}}</span>
|
|
61
|
+
</ng-container>
|
|
62
|
+
|
|
63
|
+
<ng-template
|
|
64
|
+
*ngIf="template"
|
|
65
|
+
[ngTemplateOutlet]="template"
|
|
66
|
+
[ngTemplateOutletContext]="{
|
|
67
|
+
text: text,
|
|
68
|
+
action: action,
|
|
69
|
+
sourceItem: sourceItem,
|
|
70
|
+
destinationItem: destinationItem
|
|
71
|
+
}"
|
|
72
|
+
>
|
|
73
|
+
</ng-template>
|
|
74
|
+
`
|
|
75
|
+
}]
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClasses: [{
|
|
77
|
+
type: HostBinding,
|
|
78
|
+
args: ['class.k-header']
|
|
79
|
+
}, {
|
|
80
|
+
type: HostBinding,
|
|
81
|
+
args: ['class.k-drag-clue']
|
|
82
|
+
}], posistionStyle: [{
|
|
83
|
+
type: HostBinding,
|
|
84
|
+
args: ['style.position']
|
|
85
|
+
}] } });
|
|
@@ -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
|
|
6
|
-
import { Injectable, ComponentFactoryResolver } from '@angular/core';
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
7
6
|
import { DragClueComponent } from './drag-clue.component';
|
|
8
7
|
import { ScrollDirection } from '../models';
|
|
9
8
|
import { isPresent, dataItemsEqual } from '../../utils';
|
|
10
9
|
import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
|
|
11
10
|
import { scrollElementBy, getScrollableContainer } from '../drag-and-drop-utils';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
@@ -20,7 +20,7 @@ export const RETURN_ANIMATION_DURATION = 200;
|
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
export class DragClueService extends DragAndDropAssetService {
|
|
24
24
|
constructor(componentFactoryResolver) {
|
|
25
25
|
super();
|
|
26
26
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
@@ -115,9 +115,9 @@ let DragClueService = class DragClueService extends DragAndDropAssetService {
|
|
|
115
115
|
this.scrollInterval = null;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
}
|
|
119
|
-
DragClueService =
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
}
|
|
119
|
+
DragClueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
DragClueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueService });
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragClueService, decorators: [{
|
|
122
|
+
type: Injectable
|
|
123
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
|
6
|
-
import
|
|
5
|
+
import { Directive, Optional } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template for the TreeView drop hint when an item is dragged. To define the hint template,
|
|
9
9
|
* nest an `<ng-template>` tag with the `kendoTreeViewDropHintTemplate` directive inside a `<kendo-treeview>` tag
|
|
@@ -15,16 +15,18 @@ import { Directive, Optional, TemplateRef } from '@angular/core';
|
|
|
15
15
|
* - `let-sourceItem="sourceItem"` ([`TreeItemLookup`]({% slug api_treeview_treeitemlookup %}))
|
|
16
16
|
* - `let-destinationItem="destinationItem"` ([`TreeItemLookup`]({% slug api_treeview_treeitemlookup %}))
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
export class DropHintTemplateDirective {
|
|
19
19
|
constructor(templateRef) {
|
|
20
20
|
this.templateRef = templateRef;
|
|
21
21
|
}
|
|
22
|
-
}
|
|
23
|
-
DropHintTemplateDirective =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
]
|
|
30
|
-
|
|
22
|
+
}
|
|
23
|
+
DropHintTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
DropHintTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropHintTemplateDirective, selector: "[kendoTreeViewDropHintTemplate]", ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintTemplateDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[kendoTreeViewDropHintTemplate]'
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
31
|
+
type: Optional
|
|
32
|
+
}] }]; } });
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class DropHintComponent {
|
|
12
|
+
constructor(changeDetectorRef) {
|
|
13
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
14
|
+
this.hostClass = true;
|
|
15
|
+
this.position = 'fixed';
|
|
16
|
+
this.pointerEvents = 'none';
|
|
17
|
+
}
|
|
18
|
+
// exposed as a public method that can be called from outside as the component uses `OnPush` strategy
|
|
19
|
+
detectChanges() {
|
|
20
|
+
this.changeDetectorRef.detectChanges();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
DropHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
DropHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropHintComponent, selector: "kendo-treeview-drop-hint", host: { properties: { "class.k-drop-hint-container": "this.hostClass", "style.position": "this.position", "style.pointer-events": "this.pointerEvents" } }, ngImport: i0, template: `
|
|
25
|
+
<div
|
|
26
|
+
*ngIf="!template"
|
|
27
|
+
class="k-drop-hint k-drop-hint-h"
|
|
28
|
+
>
|
|
29
|
+
<div class='k-drop-hint-start'></div>
|
|
30
|
+
<div class='k-drop-hint-line'></div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<ng-template
|
|
34
|
+
*ngIf="template"
|
|
35
|
+
[ngTemplateOutlet]="template"
|
|
36
|
+
[ngTemplateOutletContext]="{
|
|
37
|
+
action: action,
|
|
38
|
+
sourceItem: sourceItem,
|
|
39
|
+
destinationItem: destinationItem
|
|
40
|
+
}"
|
|
41
|
+
>
|
|
42
|
+
<ng-template>
|
|
43
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintComponent, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{
|
|
47
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
+
selector: 'kendo-treeview-drop-hint',
|
|
49
|
+
template: `
|
|
50
|
+
<div
|
|
51
|
+
*ngIf="!template"
|
|
52
|
+
class="k-drop-hint k-drop-hint-h"
|
|
53
|
+
>
|
|
54
|
+
<div class='k-drop-hint-start'></div>
|
|
55
|
+
<div class='k-drop-hint-line'></div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<ng-template
|
|
59
|
+
*ngIf="template"
|
|
60
|
+
[ngTemplateOutlet]="template"
|
|
61
|
+
[ngTemplateOutletContext]="{
|
|
62
|
+
action: action,
|
|
63
|
+
sourceItem: sourceItem,
|
|
64
|
+
destinationItem: destinationItem
|
|
65
|
+
}"
|
|
66
|
+
>
|
|
67
|
+
<ng-template>
|
|
68
|
+
`
|
|
69
|
+
}]
|
|
70
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
|
71
|
+
type: HostBinding,
|
|
72
|
+
args: ['class.k-drop-hint-container']
|
|
73
|
+
}], position: [{
|
|
74
|
+
type: HostBinding,
|
|
75
|
+
args: ['style.position']
|
|
76
|
+
}], pointerEvents: [{
|
|
77
|
+
type: HostBinding,
|
|
78
|
+
args: ['style.pointer-events']
|
|
79
|
+
}] } });
|
|
@@ -2,15 +2,15 @@
|
|
|
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
|
|
6
|
-
import { Injectable, ComponentFactoryResolver } from '@angular/core';
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
7
6
|
import { dataItemsEqual, isPresent } from '../../utils';
|
|
8
7
|
import { DropHintComponent } from './drop-hint.component';
|
|
9
8
|
import { DragAndDropAssetService } from '../editing-services/drag-and-drop-asset.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
export class DropHintService extends DragAndDropAssetService {
|
|
14
14
|
constructor(componentFactoryResolver) {
|
|
15
15
|
super();
|
|
16
16
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
@@ -35,9 +35,9 @@ let DropHintService = class DropHintService extends DragAndDropAssetService {
|
|
|
35
35
|
dropHint.destinationItem = destinationItem;
|
|
36
36
|
dropHint.detectChanges();
|
|
37
37
|
}
|
|
38
|
-
}
|
|
39
|
-
DropHintService =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
}
|
|
39
|
+
DropHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
DropHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintService });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropHintService, decorators: [{
|
|
42
|
+
type: Injectable
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
|
package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/drag-and-drop-asset.service.js
RENAMED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
5
6
|
import { isPresent } from '../../utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
6
8
|
/**
|
|
7
9
|
* @hidden
|
|
8
10
|
*/
|
|
@@ -38,3 +40,8 @@ export class DragAndDropAssetService {
|
|
|
38
40
|
this.element.style.top = `${top + offset}px`;
|
|
39
41
|
}
|
|
40
42
|
}
|
|
43
|
+
DragAndDropAssetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragAndDropAssetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
DragAndDropAssetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragAndDropAssetService });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragAndDropAssetService, decorators: [{
|
|
46
|
+
type: Injectable
|
|
47
|
+
}] });
|
|
File without changes
|
|
File without changes
|
|
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 {};
|
|
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 {};
|
|
@@ -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
|
|
File without changes
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
export * from './models/drop-action';
|
|
6
6
|
export * from './models/drop-position';
|
|
7
7
|
export * from './models/scroll-direction';
|
|
8
|
+
export * from './models/scroll-settings';
|
|
8
9
|
export * from './models/preventable-event';
|
|
10
|
+
export * from './models/treeitem-add-remove-args';
|
|
9
11
|
export * from './models/treeitem-drop-event';
|
|
10
12
|
export * from './models/treeitem-drag-start-event';
|
|
11
13
|
export * from './models/treeitem-drag-event';
|
|
14
|
+
export * from './models/editing-service';
|
|
@@ -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 } from "@angular/core";
|
|
7
6
|
import { Subject } from "rxjs";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
11
|
+
export class ExpandStateService {
|
|
15
12
|
constructor() {
|
|
16
13
|
this.changes = new Subject();
|
|
17
14
|
}
|
|
@@ -21,8 +18,9 @@ let ExpandStateService = class ExpandStateService {
|
|
|
21
18
|
collapse(index, dataItem) {
|
|
22
19
|
this.changes.next({ dataItem, index, expand: false });
|
|
23
20
|
}
|
|
24
|
-
}
|
|
25
|
-
ExpandStateService =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
}
|
|
22
|
+
ExpandStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
+
ExpandStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandStateService });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandStateService, decorators: [{
|
|
25
|
+
type: Injectable
|
|
26
|
+
}] });
|
|
@@ -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 { Directive, EventEmitter, Input, Output } from '@angular/core';
|
|
7
|
-
import { ExpandableComponent } from './expandable-component';
|
|
8
6
|
import { Subscription, merge } from 'rxjs';
|
|
9
7
|
import { map } from 'rxjs/operators';
|
|
10
8
|
import { isArrayWithAtLeastOneItem, isBoolean, sameValues } from './utils';
|
|
11
9
|
import { isChanged } from '@progress/kendo-angular-common';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./expandable-component";
|
|
12
12
|
const DEFAULT_FILTER_EXPAND_SETTINGS = {
|
|
13
13
|
maxAutoExpandResults: -1,
|
|
14
14
|
expandMatches: false,
|
|
@@ -18,7 +18,7 @@ const DEFAULT_FILTER_EXPAND_SETTINGS = {
|
|
|
18
18
|
* A directive which manages the expanded state of the TreeView.
|
|
19
19
|
* ([see example]({% slug expandedstate_treeview %})).
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
export class ExpandDirective {
|
|
22
22
|
constructor(component) {
|
|
23
23
|
this.component = component;
|
|
24
24
|
/**
|
|
@@ -77,7 +77,7 @@ let ExpandDirective = class ExpandDirective {
|
|
|
77
77
|
this.component.isExpanded = value;
|
|
78
78
|
}
|
|
79
79
|
get filterExpandSettings() {
|
|
80
|
-
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : Object.assign({}, this.expandOnFilter, { enabled: true });
|
|
80
|
+
const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : Object.assign(Object.assign({}, this.expandOnFilter), { enabled: true });
|
|
81
81
|
return Object.assign({}, DEFAULT_FILTER_EXPAND_SETTINGS, settings);
|
|
82
82
|
}
|
|
83
83
|
ngOnChanges(changes) {
|
|
@@ -175,30 +175,21 @@ let ExpandDirective = class ExpandDirective {
|
|
|
175
175
|
this.lastChange = Array.from(this.state);
|
|
176
176
|
this.expandedKeysChange.emit(this.lastChange);
|
|
177
177
|
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
],
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
]
|
|
196
|
-
tslib_1.__decorate([
|
|
197
|
-
Input(),
|
|
198
|
-
tslib_1.__metadata("design:type", Array)
|
|
199
|
-
], ExpandDirective.prototype, "expandedKeys", void 0);
|
|
200
|
-
ExpandDirective = tslib_1.__decorate([
|
|
201
|
-
Directive({ selector: '[kendoTreeViewExpandable]' }),
|
|
202
|
-
tslib_1.__metadata("design:paramtypes", [ExpandableComponent])
|
|
203
|
-
], ExpandDirective);
|
|
204
|
-
export { ExpandDirective };
|
|
178
|
+
}
|
|
179
|
+
ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandDirective, deps: [{ token: i1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
180
|
+
ExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: { isExpanded: "isExpanded", expandKey: ["expandBy", "expandKey"], expandOnFilter: "expandOnFilter", expandedKeys: "expandedKeys" }, outputs: { expandedKeysChange: "expandedKeysChange" }, usesOnChanges: true, ngImport: i0 });
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandDirective, decorators: [{
|
|
182
|
+
type: Directive,
|
|
183
|
+
args: [{ selector: '[kendoTreeViewExpandable]' }]
|
|
184
|
+
}], ctorParameters: function () { return [{ type: i1.ExpandableComponent }]; }, propDecorators: { isExpanded: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], expandKey: [{
|
|
187
|
+
type: Input,
|
|
188
|
+
args: ["expandBy"]
|
|
189
|
+
}], expandOnFilter: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], expandedKeysChange: [{
|
|
192
|
+
type: Output
|
|
193
|
+
}], expandedKeys: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}] } });
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { Injectable } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*
|
|
10
|
+
* An injection token used by the expand-directive to interface with
|
|
11
|
+
* the TreeView or the DropDownTree components.
|
|
12
|
+
*/
|
|
13
|
+
export class ExpandableComponent {
|
|
14
|
+
}
|
|
15
|
+
ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent, decorators: [{
|
|
18
|
+
type: Injectable
|
|
19
|
+
}] });
|
|
@@ -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,10 +2,11 @@
|
|
|
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
|
|
6
|
-
import { Input } from "@angular/core";
|
|
5
|
+
import { Directive, Input } from "@angular/core";
|
|
7
6
|
import { DEFAULT_FILTER_SETTINGS } from "./treeview-filter-settings";
|
|
8
7
|
import { filterTree, isPresent } from "./utils";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "./data-bound-component";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
@@ -19,7 +20,7 @@ export class FilteringBase {
|
|
|
19
20
|
* The settings which are applied when performing a filter on the component's data.
|
|
20
21
|
*/
|
|
21
22
|
set filterSettings(settings) {
|
|
22
|
-
this._filterSettings = Object.assign({}, DEFAULT_FILTER_SETTINGS, settings);
|
|
23
|
+
this._filterSettings = Object.assign(Object.assign({}, DEFAULT_FILTER_SETTINGS), settings);
|
|
23
24
|
}
|
|
24
25
|
get filterSettings() {
|
|
25
26
|
return this._filterSettings;
|
|
@@ -71,13 +72,12 @@ export class FilteringBase {
|
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
],
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
], FilteringBase.prototype, "filter", null);
|
|
75
|
+
FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
76
|
+
FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilteringBase, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, decorators: [{
|
|
78
|
+
type: Directive
|
|
79
|
+
}], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { filterSettings: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], filter: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}] } });
|