@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,17 +2,14 @@
|
|
|
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 { nodeIndex } from './utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
const INDEX_REGEX = /\d+$/;
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
12
|
+
export class TreeViewLookupService {
|
|
16
13
|
constructor() {
|
|
17
14
|
this.map = new Map();
|
|
18
15
|
}
|
|
@@ -86,8 +83,9 @@ let TreeViewLookupService = class TreeViewLookupService {
|
|
|
86
83
|
};
|
|
87
84
|
});
|
|
88
85
|
}
|
|
89
|
-
}
|
|
90
|
-
TreeViewLookupService =
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
}
|
|
87
|
+
TreeViewLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
88
|
+
TreeViewLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewLookupService });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewLookupService, decorators: [{
|
|
90
|
+
type: Injectable
|
|
91
|
+
}] });
|
|
@@ -2,8 +2,7 @@
|
|
|
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 { ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, Renderer2, ViewChild, ViewContainerRef, isDevMode, forwardRef, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, Input, Output, ViewChild, ViewContainerRef, isDevMode, forwardRef } from '@angular/core';
|
|
7
6
|
import { anyChanged, hasObservers, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
8
|
import { BehaviorSubject, of, Subscription } from 'rxjs';
|
|
@@ -23,6 +22,17 @@ import { ExpandableComponent } from './expandable-component';
|
|
|
23
22
|
import { SelectionService } from './selection/selection.service';
|
|
24
23
|
import { TreeViewLookupService } from './treeview-lookup.service';
|
|
25
24
|
import { closestNode, focusableNode, hasParent, isContent, isFocusable, match, nodeId, isLoadMoreButton, isPresent, nodeIndex, buildTreeItem, getSizeClass } from './utils';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
26
|
+
import * as i1 from "./expand-state.service";
|
|
27
|
+
import * as i2 from "./navigation/navigation.service";
|
|
28
|
+
import * as i3 from "./node-children.service";
|
|
29
|
+
import * as i4 from "./selection/selection.service";
|
|
30
|
+
import * as i5 from "./treeview-lookup.service";
|
|
31
|
+
import * as i6 from "./data-change-notification.service";
|
|
32
|
+
import * as i7 from "@progress/kendo-angular-l10n";
|
|
33
|
+
import * as i8 from "@progress/kendo-angular-inputs";
|
|
34
|
+
import * as i9 from "./treeview-group.component";
|
|
35
|
+
import * as i10 from "@angular/common";
|
|
26
36
|
const LOAD_MORE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/treeview/load-more-button/';
|
|
27
37
|
const providers = [
|
|
28
38
|
ExpandStateService,
|
|
@@ -47,7 +57,6 @@ const providers = [
|
|
|
47
57
|
useExisting: forwardRef(() => TreeViewComponent)
|
|
48
58
|
}
|
|
49
59
|
];
|
|
50
|
-
/* tslint:disable:member-ordering */
|
|
51
60
|
/**
|
|
52
61
|
* Represents the [Kendo UI TreeView component for Angular]({% slug overview_treeview %}).
|
|
53
62
|
*
|
|
@@ -58,7 +67,7 @@ const providers = [
|
|
|
58
67
|
* {% embed_file shared/main.ts %}
|
|
59
68
|
* {% endmeta %}
|
|
60
69
|
*/
|
|
61
|
-
|
|
70
|
+
export class TreeViewComponent {
|
|
62
71
|
constructor(element, changeDetectorRef, expandService, navigationService, nodeChildrenService, selectionService, treeViewLookupService, ngZone, renderer, dataChangeNotification, localization) {
|
|
63
72
|
this.element = element;
|
|
64
73
|
this.changeDetectorRef = changeDetectorRef;
|
|
@@ -592,193 +601,59 @@ let TreeViewComponent = class TreeViewComponent {
|
|
|
592
601
|
}
|
|
593
602
|
});
|
|
594
603
|
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
]
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
]
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
]
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
]
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
]
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
Output(),
|
|
649
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
650
|
-
], TreeViewComponent.prototype, "nodeDrag", void 0);
|
|
651
|
-
tslib_1.__decorate([
|
|
652
|
-
Output(),
|
|
653
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
654
|
-
], TreeViewComponent.prototype, "filterStateChange", void 0);
|
|
655
|
-
tslib_1.__decorate([
|
|
656
|
-
Output(),
|
|
657
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
658
|
-
], TreeViewComponent.prototype, "nodeDrop", void 0);
|
|
659
|
-
tslib_1.__decorate([
|
|
660
|
-
Output(),
|
|
661
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
662
|
-
], TreeViewComponent.prototype, "nodeDragEnd", void 0);
|
|
663
|
-
tslib_1.__decorate([
|
|
664
|
-
Output(),
|
|
665
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
666
|
-
], TreeViewComponent.prototype, "addItem", void 0);
|
|
667
|
-
tslib_1.__decorate([
|
|
668
|
-
Output(),
|
|
669
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
670
|
-
], TreeViewComponent.prototype, "removeItem", void 0);
|
|
671
|
-
tslib_1.__decorate([
|
|
672
|
-
Output(),
|
|
673
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
674
|
-
], TreeViewComponent.prototype, "checkedChange", void 0);
|
|
675
|
-
tslib_1.__decorate([
|
|
676
|
-
Output(),
|
|
677
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
678
|
-
], TreeViewComponent.prototype, "selectionChange", void 0);
|
|
679
|
-
tslib_1.__decorate([
|
|
680
|
-
Output(),
|
|
681
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
682
|
-
], TreeViewComponent.prototype, "filterChange", void 0);
|
|
683
|
-
tslib_1.__decorate([
|
|
684
|
-
Output(),
|
|
685
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
686
|
-
], TreeViewComponent.prototype, "nodeClick", void 0);
|
|
687
|
-
tslib_1.__decorate([
|
|
688
|
-
Output(),
|
|
689
|
-
tslib_1.__metadata("design:type", EventEmitter)
|
|
690
|
-
], TreeViewComponent.prototype, "nodeDblClick", void 0);
|
|
691
|
-
tslib_1.__decorate([
|
|
692
|
-
ContentChild(NodeTemplateDirective, { static: false }),
|
|
693
|
-
tslib_1.__metadata("design:type", NodeTemplateDirective)
|
|
694
|
-
], TreeViewComponent.prototype, "nodeTemplateQuery", void 0);
|
|
695
|
-
tslib_1.__decorate([
|
|
696
|
-
Input('nodeTemplate'),
|
|
697
|
-
tslib_1.__metadata("design:type", NodeTemplateDirective),
|
|
698
|
-
tslib_1.__metadata("design:paramtypes", [NodeTemplateDirective])
|
|
699
|
-
], TreeViewComponent.prototype, "nodeTemplateRef", null);
|
|
700
|
-
tslib_1.__decorate([
|
|
701
|
-
ContentChild(LoadMoreButtonTemplateDirective, { static: false }),
|
|
702
|
-
tslib_1.__metadata("design:type", LoadMoreButtonTemplateDirective)
|
|
703
|
-
], TreeViewComponent.prototype, "loadMoreButtonTemplateQuery", void 0);
|
|
704
|
-
tslib_1.__decorate([
|
|
705
|
-
Input('loadMoreButtonTemplate'),
|
|
706
|
-
tslib_1.__metadata("design:type", LoadMoreButtonTemplateDirective),
|
|
707
|
-
tslib_1.__metadata("design:paramtypes", [LoadMoreButtonTemplateDirective])
|
|
708
|
-
], TreeViewComponent.prototype, "loadMoreButtonTemplateRef", null);
|
|
709
|
-
tslib_1.__decorate([
|
|
710
|
-
Input(),
|
|
711
|
-
tslib_1.__metadata("design:type", Function)
|
|
712
|
-
], TreeViewComponent.prototype, "trackBy", void 0);
|
|
713
|
-
tslib_1.__decorate([
|
|
714
|
-
Input(),
|
|
715
|
-
tslib_1.__metadata("design:type", Array),
|
|
716
|
-
tslib_1.__metadata("design:paramtypes", [Array])
|
|
717
|
-
], TreeViewComponent.prototype, "nodes", null);
|
|
718
|
-
tslib_1.__decorate([
|
|
719
|
-
Input(),
|
|
720
|
-
tslib_1.__metadata("design:type", Object)
|
|
721
|
-
], TreeViewComponent.prototype, "textField", void 0);
|
|
722
|
-
tslib_1.__decorate([
|
|
723
|
-
Input(),
|
|
724
|
-
tslib_1.__metadata("design:type", Function),
|
|
725
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
726
|
-
], TreeViewComponent.prototype, "hasChildren", null);
|
|
727
|
-
tslib_1.__decorate([
|
|
728
|
-
Input(),
|
|
729
|
-
tslib_1.__metadata("design:type", Function),
|
|
730
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
731
|
-
], TreeViewComponent.prototype, "isChecked", null);
|
|
732
|
-
tslib_1.__decorate([
|
|
733
|
-
Input(),
|
|
734
|
-
tslib_1.__metadata("design:type", Function)
|
|
735
|
-
], TreeViewComponent.prototype, "isDisabled", void 0);
|
|
736
|
-
tslib_1.__decorate([
|
|
737
|
-
Input(),
|
|
738
|
-
tslib_1.__metadata("design:type", Function),
|
|
739
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
740
|
-
], TreeViewComponent.prototype, "isExpanded", null);
|
|
741
|
-
tslib_1.__decorate([
|
|
742
|
-
Input(),
|
|
743
|
-
tslib_1.__metadata("design:type", Function),
|
|
744
|
-
tslib_1.__metadata("design:paramtypes", [Function])
|
|
745
|
-
], TreeViewComponent.prototype, "isSelected", null);
|
|
746
|
-
tslib_1.__decorate([
|
|
747
|
-
Input(),
|
|
748
|
-
tslib_1.__metadata("design:type", Function)
|
|
749
|
-
], TreeViewComponent.prototype, "isVisible", void 0);
|
|
750
|
-
tslib_1.__decorate([
|
|
751
|
-
Input(),
|
|
752
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
753
|
-
], TreeViewComponent.prototype, "navigable", void 0);
|
|
754
|
-
tslib_1.__decorate([
|
|
755
|
-
Input(),
|
|
756
|
-
tslib_1.__metadata("design:type", Function)
|
|
757
|
-
], TreeViewComponent.prototype, "children", void 0);
|
|
758
|
-
tslib_1.__decorate([
|
|
759
|
-
Input(),
|
|
760
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
761
|
-
], TreeViewComponent.prototype, "loadOnDemand", void 0);
|
|
762
|
-
tslib_1.__decorate([
|
|
763
|
-
Input(),
|
|
764
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
765
|
-
], TreeViewComponent.prototype, "filterable", void 0);
|
|
766
|
-
tslib_1.__decorate([
|
|
767
|
-
Input(),
|
|
768
|
-
tslib_1.__metadata("design:type", String)
|
|
769
|
-
], TreeViewComponent.prototype, "filter", void 0);
|
|
770
|
-
tslib_1.__decorate([
|
|
771
|
-
Input(),
|
|
772
|
-
tslib_1.__metadata("design:type", String),
|
|
773
|
-
tslib_1.__metadata("design:paramtypes", [String])
|
|
774
|
-
], TreeViewComponent.prototype, "size", null);
|
|
775
|
-
TreeViewComponent = tslib_1.__decorate([
|
|
776
|
-
Component({
|
|
777
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
778
|
-
exportAs: 'kendoTreeView',
|
|
779
|
-
providers: providers,
|
|
780
|
-
selector: 'kendo-treeview',
|
|
781
|
-
template: `
|
|
604
|
+
}
|
|
605
|
+
TreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ExpandStateService }, { token: i2.NavigationService }, { token: i3.NodeChildrenService }, { token: i4.SelectionService }, { token: i5.TreeViewLookupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i6.DataChangeNotificationService }, { token: i7.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
TreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TreeViewComponent, selector: "kendo-treeview", inputs: { filterInputPlaceholder: "filterInputPlaceholder", animate: "animate", nodeTemplateRef: ["nodeTemplate", "nodeTemplateRef"], loadMoreButtonTemplateRef: ["loadMoreButtonTemplate", "loadMoreButtonTemplateRef"], trackBy: "trackBy", nodes: "nodes", textField: "textField", hasChildren: "hasChildren", isChecked: "isChecked", isDisabled: "isDisabled", isExpanded: "isExpanded", isSelected: "isSelected", isVisible: "isVisible", navigable: "navigable", children: "children", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", size: "size" }, outputs: { childrenLoaded: "childrenLoaded", onBlur: "blur", onFocus: "focus", expand: "expand", collapse: "collapse", nodeDragStart: "nodeDragStart", nodeDrag: "nodeDrag", filterStateChange: "filterStateChange", nodeDrop: "nodeDrop", nodeDragEnd: "nodeDragEnd", addItem: "addItem", removeItem: "removeItem", checkedChange: "checkedChange", selectionChange: "selectionChange", filterChange: "filterChange", nodeClick: "nodeClick", nodeDblClick: "nodeDblClick" }, host: { properties: { "class.k-treeview": "this.classNames", "attr.role": "this.role", "attr.dir": "this.direction", "@.disabled": "this.animate" } }, providers: providers, queries: [{ propertyName: "nodeTemplateQuery", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "loadMoreButtonTemplateQuery", first: true, predicate: LoadMoreButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "assetsContainer", first: true, predicate: ["assetsContainer"], descendants: true, read: ViewContainerRef, static: true }], exportAs: ["kendoTreeView"], usesOnChanges: true, ngImport: i0, template: `
|
|
607
|
+
<span
|
|
608
|
+
class="k-treeview-filter"
|
|
609
|
+
*ngIf="filterable"
|
|
610
|
+
>
|
|
611
|
+
<kendo-textbox
|
|
612
|
+
[size]="size"
|
|
613
|
+
[value]="filter"
|
|
614
|
+
[clearButton]="true"
|
|
615
|
+
(valueChange)="filterChange.emit($event)"
|
|
616
|
+
[placeholder]="filterInputPlaceholder"
|
|
617
|
+
>
|
|
618
|
+
<ng-template kendoTextBoxPrefixTemplate>
|
|
619
|
+
<span class="k-input-icon k-icon k-i-search"></span>
|
|
620
|
+
</ng-template>
|
|
621
|
+
</kendo-textbox>
|
|
622
|
+
</span>
|
|
623
|
+
<ul class="k-treeview-lines"
|
|
624
|
+
kendoTreeViewGroup
|
|
625
|
+
role="group"
|
|
626
|
+
[size]="size"
|
|
627
|
+
[loadOnDemand]="loadOnDemand"
|
|
628
|
+
[checkboxes]="checkboxes"
|
|
629
|
+
[expandIcons]="expandIcons"
|
|
630
|
+
[selectable]="selectable"
|
|
631
|
+
[touchActions]="touchActions"
|
|
632
|
+
[children]="children"
|
|
633
|
+
[hasChildren]="hasChildren"
|
|
634
|
+
[isChecked]="isChecked"
|
|
635
|
+
[isDisabled]="isDisabled"
|
|
636
|
+
[isExpanded]="isExpanded"
|
|
637
|
+
[isSelected]="isSelected"
|
|
638
|
+
[isVisible]="isVisible"
|
|
639
|
+
[nodeTemplateRef]="nodeTemplateRef?.templateRef"
|
|
640
|
+
[loadMoreButtonTemplateRef]="loadMoreButtonTemplateRef?.templateRef"
|
|
641
|
+
[textField]="textField"
|
|
642
|
+
[nodes]="fetchNodes"
|
|
643
|
+
[loadMoreService]="loadMoreService"
|
|
644
|
+
[trackBy]="trackBy"
|
|
645
|
+
>
|
|
646
|
+
</ul>
|
|
647
|
+
<ng-container #assetsContainer></ng-container>
|
|
648
|
+
`, isInline: true, components: [{ type: i8.TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "errorIcon", "clearButtonIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.TreeViewGroupComponent, selector: "[kendoTreeViewGroup]", inputs: ["checkboxes", "expandIcons", "disabled", "selectable", "touchActions", "loadOnDemand", "trackBy", "nodes", "textField", "parentDataItem", "parentIndex", "nodeTemplateRef", "loadMoreButtonTemplateRef", "loadMoreService", "size", "isChecked", "isDisabled", "isExpanded", "isVisible", "isSelected", "children", "hasChildren"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
650
|
+
type: Component,
|
|
651
|
+
args: [{
|
|
652
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
653
|
+
exportAs: 'kendoTreeView',
|
|
654
|
+
providers: providers,
|
|
655
|
+
selector: 'kendo-treeview',
|
|
656
|
+
template: `
|
|
782
657
|
<span
|
|
783
658
|
class="k-treeview-filter"
|
|
784
659
|
*ngIf="filterable"
|
|
@@ -821,17 +696,102 @@ TreeViewComponent = tslib_1.__decorate([
|
|
|
821
696
|
</ul>
|
|
822
697
|
<ng-container #assetsContainer></ng-container>
|
|
823
698
|
`
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
699
|
+
}]
|
|
700
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.ExpandStateService }, { type: i2.NavigationService }, { type: i3.NodeChildrenService }, { type: i4.SelectionService }, { type: i5.TreeViewLookupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i6.DataChangeNotificationService }, { type: i7.LocalizationService }]; }, propDecorators: { classNames: [{
|
|
701
|
+
type: HostBinding,
|
|
702
|
+
args: ["class.k-treeview"]
|
|
703
|
+
}], role: [{
|
|
704
|
+
type: HostBinding,
|
|
705
|
+
args: ["attr.role"]
|
|
706
|
+
}], direction: [{
|
|
707
|
+
type: HostBinding,
|
|
708
|
+
args: ["attr.dir"]
|
|
709
|
+
}], assetsContainer: [{
|
|
710
|
+
type: ViewChild,
|
|
711
|
+
args: ['assetsContainer', { read: ViewContainerRef, static: true }]
|
|
712
|
+
}], filterInputPlaceholder: [{
|
|
713
|
+
type: Input
|
|
714
|
+
}], animate: [{
|
|
715
|
+
type: Input
|
|
716
|
+
}, {
|
|
717
|
+
type: HostBinding,
|
|
718
|
+
args: ['@.disabled']
|
|
719
|
+
}], childrenLoaded: [{
|
|
720
|
+
type: Output
|
|
721
|
+
}], onBlur: [{
|
|
722
|
+
type: Output,
|
|
723
|
+
args: ['blur']
|
|
724
|
+
}], onFocus: [{
|
|
725
|
+
type: Output,
|
|
726
|
+
args: ['focus']
|
|
727
|
+
}], expand: [{
|
|
728
|
+
type: Output
|
|
729
|
+
}], collapse: [{
|
|
730
|
+
type: Output
|
|
731
|
+
}], nodeDragStart: [{
|
|
732
|
+
type: Output
|
|
733
|
+
}], nodeDrag: [{
|
|
734
|
+
type: Output
|
|
735
|
+
}], filterStateChange: [{
|
|
736
|
+
type: Output
|
|
737
|
+
}], nodeDrop: [{
|
|
738
|
+
type: Output
|
|
739
|
+
}], nodeDragEnd: [{
|
|
740
|
+
type: Output
|
|
741
|
+
}], addItem: [{
|
|
742
|
+
type: Output
|
|
743
|
+
}], removeItem: [{
|
|
744
|
+
type: Output
|
|
745
|
+
}], checkedChange: [{
|
|
746
|
+
type: Output
|
|
747
|
+
}], selectionChange: [{
|
|
748
|
+
type: Output
|
|
749
|
+
}], filterChange: [{
|
|
750
|
+
type: Output
|
|
751
|
+
}], nodeClick: [{
|
|
752
|
+
type: Output
|
|
753
|
+
}], nodeDblClick: [{
|
|
754
|
+
type: Output
|
|
755
|
+
}], nodeTemplateQuery: [{
|
|
756
|
+
type: ContentChild,
|
|
757
|
+
args: [NodeTemplateDirective, { static: false }]
|
|
758
|
+
}], nodeTemplateRef: [{
|
|
759
|
+
type: Input,
|
|
760
|
+
args: ['nodeTemplate']
|
|
761
|
+
}], loadMoreButtonTemplateQuery: [{
|
|
762
|
+
type: ContentChild,
|
|
763
|
+
args: [LoadMoreButtonTemplateDirective, { static: false }]
|
|
764
|
+
}], loadMoreButtonTemplateRef: [{
|
|
765
|
+
type: Input,
|
|
766
|
+
args: ['loadMoreButtonTemplate']
|
|
767
|
+
}], trackBy: [{
|
|
768
|
+
type: Input
|
|
769
|
+
}], nodes: [{
|
|
770
|
+
type: Input
|
|
771
|
+
}], textField: [{
|
|
772
|
+
type: Input
|
|
773
|
+
}], hasChildren: [{
|
|
774
|
+
type: Input
|
|
775
|
+
}], isChecked: [{
|
|
776
|
+
type: Input
|
|
777
|
+
}], isDisabled: [{
|
|
778
|
+
type: Input
|
|
779
|
+
}], isExpanded: [{
|
|
780
|
+
type: Input
|
|
781
|
+
}], isSelected: [{
|
|
782
|
+
type: Input
|
|
783
|
+
}], isVisible: [{
|
|
784
|
+
type: Input
|
|
785
|
+
}], navigable: [{
|
|
786
|
+
type: Input
|
|
787
|
+
}], children: [{
|
|
788
|
+
type: Input
|
|
789
|
+
}], loadOnDemand: [{
|
|
790
|
+
type: Input
|
|
791
|
+
}], filterable: [{
|
|
792
|
+
type: Input
|
|
793
|
+
}], filter: [{
|
|
794
|
+
type: Input
|
|
795
|
+
}], size: [{
|
|
796
|
+
type: Input
|
|
797
|
+
}] } });
|
|
@@ -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 { TreeViewComponent } from './treeview.component';
|
|
8
7
|
import { SharedModule } from './shared.module';
|
|
@@ -19,6 +18,7 @@ import { DropHintTemplateDirective } from './drag-and-drop/drop-hint/drop-hint-t
|
|
|
19
18
|
import { DragAndDropEditingDirective } from './drag-and-drop/drag-and-drop-editing.directive';
|
|
20
19
|
import { LoadMoreDirective } from './load-more/load-more.directive';
|
|
21
20
|
import { LoadMoreButtonTemplateDirective } from './load-more/load-more-button-template.directive';
|
|
21
|
+
import * as i0 from "@angular/core";
|
|
22
22
|
const EXPORTS = [
|
|
23
23
|
TreeViewComponent,
|
|
24
24
|
NodeTemplateDirective,
|
|
@@ -38,12 +38,28 @@ const EXPORTS = [
|
|
|
38
38
|
/**
|
|
39
39
|
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }}) definition for the TreeView component.
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
TreeViewModule =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
export class TreeViewModule {
|
|
42
|
+
}
|
|
43
|
+
TreeViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
44
|
+
TreeViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewModule, imports: [SharedModule], exports: [TreeViewComponent,
|
|
45
|
+
NodeTemplateDirective,
|
|
46
|
+
CheckDirective,
|
|
47
|
+
DisableDirective,
|
|
48
|
+
ExpandDirective,
|
|
49
|
+
SelectDirective,
|
|
50
|
+
HierarchyBindingDirective,
|
|
51
|
+
FlatDataBindingDirective,
|
|
52
|
+
DragAndDropDirective,
|
|
53
|
+
DragClueTemplateDirective,
|
|
54
|
+
DropHintTemplateDirective,
|
|
55
|
+
DragAndDropEditingDirective,
|
|
56
|
+
LoadMoreDirective,
|
|
57
|
+
LoadMoreButtonTemplateDirective] });
|
|
58
|
+
TreeViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewModule, imports: [[SharedModule]] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TreeViewModule, decorators: [{
|
|
60
|
+
type: NgModule,
|
|
61
|
+
args: [{
|
|
62
|
+
exports: [EXPORTS],
|
|
63
|
+
imports: [SharedModule]
|
|
64
|
+
}]
|
|
65
|
+
}] });
|
|
@@ -217,7 +217,6 @@ const setParentChain = (node) => {
|
|
|
217
217
|
setParentChain(node.parent);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
|
-
const ɵ0 = setParentChain;
|
|
221
220
|
const makeAllVisible = (nodes) => {
|
|
222
221
|
nodes.forEach(node => {
|
|
223
222
|
node.visible = true;
|
|
@@ -226,15 +225,13 @@ const makeAllVisible = (nodes) => {
|
|
|
226
225
|
}
|
|
227
226
|
});
|
|
228
227
|
};
|
|
229
|
-
const ɵ1 = makeAllVisible;
|
|
230
|
-
const ɵ2 = (a, b) => a.indexOf(b) >= 0, ɵ3 = (a, b) => a.indexOf(b) === -1, ɵ4 = (a, b) => a.lastIndexOf(b, 0) === 0, ɵ5 = (a, b) => a.lastIndexOf(b, 0) === -1, ɵ6 = (a, b) => a.indexOf(b, a.length - b.length) >= 0, ɵ7 = (a, b) => a.indexOf(b, a.length - b.length) < 0;
|
|
231
228
|
const operators = {
|
|
232
|
-
contains:
|
|
233
|
-
doesnotcontain:
|
|
234
|
-
startswith:
|
|
235
|
-
doesnotstartwith:
|
|
236
|
-
endswith:
|
|
237
|
-
doesnotendwith:
|
|
229
|
+
contains: (a, b) => a.indexOf(b) >= 0,
|
|
230
|
+
doesnotcontain: (a, b) => a.indexOf(b) === -1,
|
|
231
|
+
startswith: (a, b) => a.lastIndexOf(b, 0) === 0,
|
|
232
|
+
doesnotstartwith: (a, b) => a.lastIndexOf(b, 0) === -1,
|
|
233
|
+
endswith: (a, b) => a.indexOf(b, a.length - b.length) >= 0,
|
|
234
|
+
doesnotendwith: (a, b) => a.indexOf(b, a.length - b.length) < 0
|
|
238
235
|
};
|
|
239
236
|
const matchByCase = (matcher, ignoreCase) => (a, b) => {
|
|
240
237
|
if (ignoreCase) {
|
|
@@ -242,9 +239,7 @@ const matchByCase = (matcher, ignoreCase) => (a, b) => {
|
|
|
242
239
|
}
|
|
243
240
|
return matcher(a, b);
|
|
244
241
|
};
|
|
245
|
-
const ɵ8 = matchByCase;
|
|
246
242
|
const matchByFieldAndCase = (field, operator, ignoreCase) => (dataItem, term) => matchByCase(operators[operator], ignoreCase)(getter(field)(dataItem), term);
|
|
247
|
-
const ɵ9 = matchByFieldAndCase;
|
|
248
243
|
/**
|
|
249
244
|
* @hidden
|
|
250
245
|
*/
|
|
@@ -304,4 +299,3 @@ export const getSizeClass = (component, size) => {
|
|
|
304
299
|
};
|
|
305
300
|
return SIZE_CLASSES[size];
|
|
306
301
|
};
|
|
307
|
-
export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Subject } from "rxjs";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
@@ -14,4 +15,6 @@ export declare class ExpandStateService {
|
|
|
14
15
|
}>;
|
|
15
16
|
expand(index: any, dataItem: any): void;
|
|
16
17
|
collapse(index: any, dataItem: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandStateService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandStateService>;
|
|
17
20
|
}
|
|
@@ -7,6 +7,7 @@ import { ExpandableComponent } from './expandable-component';
|
|
|
7
7
|
import { Subscription } from 'rxjs';
|
|
8
8
|
import { TreeItem } from './treeitem.interface';
|
|
9
9
|
import { FilterExpandSettings } from './filter-expand-settings.interface';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -22,7 +23,7 @@ export declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
22
23
|
/**
|
|
23
24
|
* @hidden
|
|
24
25
|
*/
|
|
25
|
-
isExpanded: (item: object, index: string) => boolean;
|
|
26
|
+
set isExpanded(value: (item: object, index: string) => boolean);
|
|
26
27
|
/**
|
|
27
28
|
* Defines the item key that will be stored in the `expandedKeys` collection.
|
|
28
29
|
*/
|
|
@@ -33,7 +34,7 @@ export declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
33
34
|
* @default false
|
|
34
35
|
*/
|
|
35
36
|
expandOnFilter: boolean | FilterExpandSettings;
|
|
36
|
-
|
|
37
|
+
get filterExpandSettings(): FilterExpandSettings;
|
|
37
38
|
/**
|
|
38
39
|
* Fires when the `expandedKeys` collection was updated.
|
|
39
40
|
*/
|
|
@@ -71,5 +72,7 @@ export declare class ExpandDirective implements OnDestroy, OnChanges {
|
|
|
71
72
|
*/
|
|
72
73
|
private getEveryExpandKey;
|
|
73
74
|
private notify;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandDirective, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandDirective, "[kendoTreeViewExpandable]", never, { "isExpanded": "isExpanded"; "expandKey": "expandBy"; "expandOnFilter": "expandOnFilter"; "expandedKeys": "expandedKeys"; }, { "expandedKeysChange": "expandedKeysChange"; }, never>;
|
|
74
77
|
}
|
|
75
78
|
export {};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { EventEmitter } from '@angular/core';
|
|
6
6
|
import { FilterState } from './filter-state.interface';
|
|
7
7
|
import { TreeItem } from './treeitem.interface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*
|
|
@@ -29,4 +30,6 @@ export declare abstract class ExpandableComponent {
|
|
|
29
30
|
* Used for the built-in auto-expand functionalities of the component and available for custom implementations.
|
|
30
31
|
*/
|
|
31
32
|
abstract filterStateChange?: EventEmitter<FilterState>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableComponent, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExpandableComponent>;
|
|
32
35
|
}
|