@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
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var tslib_1 = require("tslib");
|
|
8
|
-
var core_1 = require("@angular/core");
|
|
9
|
-
var treeview_component_1 = require("./treeview.component");
|
|
10
|
-
var shared_module_1 = require("./shared.module");
|
|
11
|
-
var node_template_directive_1 = require("./node-template.directive");
|
|
12
|
-
var check_directive_1 = require("./check.directive");
|
|
13
|
-
var disable_directive_1 = require("./disable.directive");
|
|
14
|
-
var expand_directive_1 = require("./expand.directive");
|
|
15
|
-
var select_directive_1 = require("./selection/select.directive");
|
|
16
|
-
var hierarchy_binding_directive_1 = require("./hierarchy-binding.directive");
|
|
17
|
-
var flat_binding_directive_1 = require("./flat-binding.directive");
|
|
18
|
-
var drag_and_drop_directive_1 = require("./drag-and-drop/drag-and-drop.directive");
|
|
19
|
-
var drag_clue_template_directive_1 = require("./drag-and-drop/drag-clue/drag-clue-template.directive");
|
|
20
|
-
var drop_hint_template_directive_1 = require("./drag-and-drop/drop-hint/drop-hint-template.directive");
|
|
21
|
-
var drag_and_drop_editing_directive_1 = require("./drag-and-drop/drag-and-drop-editing.directive");
|
|
22
|
-
var load_more_directive_1 = require("./load-more/load-more.directive");
|
|
23
|
-
var load_more_button_template_directive_1 = require("./load-more/load-more-button-template.directive");
|
|
24
|
-
var EXPORTS = [
|
|
25
|
-
treeview_component_1.TreeViewComponent,
|
|
26
|
-
node_template_directive_1.NodeTemplateDirective,
|
|
27
|
-
check_directive_1.CheckDirective,
|
|
28
|
-
disable_directive_1.DisableDirective,
|
|
29
|
-
expand_directive_1.ExpandDirective,
|
|
30
|
-
select_directive_1.SelectDirective,
|
|
31
|
-
hierarchy_binding_directive_1.HierarchyBindingDirective,
|
|
32
|
-
flat_binding_directive_1.FlatDataBindingDirective,
|
|
33
|
-
drag_and_drop_directive_1.DragAndDropDirective,
|
|
34
|
-
drag_clue_template_directive_1.DragClueTemplateDirective,
|
|
35
|
-
drop_hint_template_directive_1.DropHintTemplateDirective,
|
|
36
|
-
drag_and_drop_editing_directive_1.DragAndDropEditingDirective,
|
|
37
|
-
load_more_directive_1.LoadMoreDirective,
|
|
38
|
-
load_more_button_template_directive_1.LoadMoreButtonTemplateDirective
|
|
39
|
-
];
|
|
40
|
-
/**
|
|
41
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }}) definition for the TreeView component.
|
|
42
|
-
*/
|
|
43
|
-
var TreeViewModule = /** @class */ (function () {
|
|
44
|
-
function TreeViewModule() {
|
|
45
|
-
}
|
|
46
|
-
TreeViewModule = tslib_1.__decorate([
|
|
47
|
-
core_1.NgModule({
|
|
48
|
-
exports: [EXPORTS],
|
|
49
|
-
imports: [shared_module_1.SharedModule]
|
|
50
|
-
})
|
|
51
|
-
], TreeViewModule);
|
|
52
|
-
return TreeViewModule;
|
|
53
|
-
}());
|
|
54
|
-
exports.TreeViewModule = TreeViewModule;
|
package/dist/npm/utils.js
DELETED
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
"use strict";
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var kendo_angular_common_1 = require("@progress/kendo-angular-common");
|
|
8
|
-
var kendo_common_1 = require("@progress/kendo-common");
|
|
9
|
-
var focusableRegex = /^(?:a|input|select|option|textarea|button|object)$/i;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
exports.match = function (element, selector) {
|
|
14
|
-
var matcher = element.matches || element.msMatchesSelector || element.webkitMatchesSelector;
|
|
15
|
-
if (!matcher) {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return matcher.call(element, selector);
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
exports.closestWithMatch = function (element, selector) {
|
|
24
|
-
if (!document.documentElement.contains(element)) {
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
var parent = element;
|
|
28
|
-
while (parent !== null && parent.nodeType === 1) {
|
|
29
|
-
if (exports.match(parent, selector)) {
|
|
30
|
-
return parent;
|
|
31
|
-
}
|
|
32
|
-
parent = parent.parentElement || parent.parentNode;
|
|
33
|
-
}
|
|
34
|
-
return null;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
exports.noop = function () { };
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
exports.isPresent = function (value) { return value !== null && value !== undefined; };
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
exports.isBlank = function (value) { return value === null || value === undefined; };
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
exports.isArray = function (value) { return Array.isArray(value); };
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
exports.isNullOrEmptyString = function (value) { return exports.isBlank(value) || value.trim().length === 0; };
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
exports.isBoolean = function (value) { return typeof value === 'boolean'; };
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
exports.closestNode = function (element) {
|
|
64
|
-
var selector = 'li.k-treeview-item';
|
|
65
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
if (element.closest) {
|
|
69
|
-
return element.closest(selector);
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
return exports.closestWithMatch(element, selector);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
exports.isFocusable = function (element) {
|
|
79
|
-
if (element.tagName) {
|
|
80
|
-
var tagName = element.tagName.toLowerCase();
|
|
81
|
-
var tabIndex = element.getAttribute('tabIndex');
|
|
82
|
-
var skipTab = tabIndex === '-1';
|
|
83
|
-
var focusable = tabIndex !== null && !skipTab;
|
|
84
|
-
if (focusableRegex.test(tagName)) {
|
|
85
|
-
focusable = !element.disabled && !skipTab;
|
|
86
|
-
}
|
|
87
|
-
return focusable;
|
|
88
|
-
}
|
|
89
|
-
return false;
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* @hidden
|
|
93
|
-
*/
|
|
94
|
-
exports.isContent = function (element) {
|
|
95
|
-
var scopeSelector = '.k-treeview-leaf:not(.k-treeview-load-more-button),.k-treeview-item,.k-treeview';
|
|
96
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
97
|
-
return null;
|
|
98
|
-
}
|
|
99
|
-
var node = element;
|
|
100
|
-
while (node && !exports.match(node, scopeSelector)) {
|
|
101
|
-
node = node.parentNode;
|
|
102
|
-
}
|
|
103
|
-
if (node) {
|
|
104
|
-
return exports.match(node, '.k-treeview-leaf:not(.k-treeview-load-more-button)');
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* @hidden
|
|
109
|
-
*
|
|
110
|
-
* Returns the nested .k-treeview-leaf:not(.k-treeview-load-more-button) element.
|
|
111
|
-
* If the passed parent item is itself a content node, it is returned.
|
|
112
|
-
*/
|
|
113
|
-
exports.getContentElement = function (parent) {
|
|
114
|
-
if (!exports.isPresent(parent)) {
|
|
115
|
-
return null;
|
|
116
|
-
}
|
|
117
|
-
var selector = '.k-treeview-leaf:not(.k-treeview-load-more-button)';
|
|
118
|
-
if (exports.match(parent, selector)) {
|
|
119
|
-
return parent;
|
|
120
|
-
}
|
|
121
|
-
return parent.querySelector(selector);
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* @hidden
|
|
125
|
-
*/
|
|
126
|
-
exports.isLoadMoreButton = function (element) {
|
|
127
|
-
return exports.isPresent(exports.closestWithMatch(element, '.k-treeview-leaf.k-treeview-load-more-button'));
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* @hidden
|
|
131
|
-
*/
|
|
132
|
-
exports.closest = function (node, predicate) {
|
|
133
|
-
while (node && !predicate(node)) {
|
|
134
|
-
node = node.parentNode;
|
|
135
|
-
}
|
|
136
|
-
return node;
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* @hidden
|
|
140
|
-
*/
|
|
141
|
-
exports.hasParent = function (element, container) {
|
|
142
|
-
return Boolean(exports.closest(element, function (node) { return node === container; }));
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @hidden
|
|
146
|
-
*/
|
|
147
|
-
exports.focusableNode = function (element) { return element.nativeElement.querySelector('li[tabindex="0"]'); };
|
|
148
|
-
/**
|
|
149
|
-
* @hidden
|
|
150
|
-
*/
|
|
151
|
-
exports.hasActiveNode = function (target, node) {
|
|
152
|
-
var closestItem = node || exports.closestNode(target);
|
|
153
|
-
return closestItem && (closestItem === target || target.tabIndex < 0);
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* @hidden
|
|
157
|
-
*/
|
|
158
|
-
exports.nodeId = function (node) { return node ? node.getAttribute('data-treeindex') : ''; };
|
|
159
|
-
/**
|
|
160
|
-
* @hidden
|
|
161
|
-
*/
|
|
162
|
-
exports.nodeIndex = function (item) { return (item || {}).index; };
|
|
163
|
-
/**
|
|
164
|
-
* @hidden
|
|
165
|
-
*/
|
|
166
|
-
exports.dataItemsEqual = function (first, second) {
|
|
167
|
-
if (!exports.isPresent(first) && !exports.isPresent(second)) {
|
|
168
|
-
return true;
|
|
169
|
-
}
|
|
170
|
-
return exports.isPresent(first) && exports.isPresent(second) && first.item.dataItem === second.item.dataItem;
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* @hidden
|
|
174
|
-
*/
|
|
175
|
-
exports.getDataItem = function (lookup) {
|
|
176
|
-
if (!exports.isPresent(lookup)) {
|
|
177
|
-
return lookup;
|
|
178
|
-
}
|
|
179
|
-
return lookup.item.dataItem;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* @hidden
|
|
183
|
-
*/
|
|
184
|
-
exports.isArrayWithAtLeastOneItem = function (v) { return v && Array.isArray(v) && v.length !== 0; };
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
* A recursive tree-filtering algorithm that returns:
|
|
188
|
-
* - all child nodes of matching nodes
|
|
189
|
-
* - a chain parent nodes from the match to the root node
|
|
190
|
-
*/
|
|
191
|
-
exports.filterTree = function (items, term, _a, textField, depth) {
|
|
192
|
-
var operator = _a.operator, ignoreCase = _a.ignoreCase, mode = _a.mode;
|
|
193
|
-
if (depth === void 0) { depth = 0; }
|
|
194
|
-
var field = typeof textField === "string" ? textField : textField[depth];
|
|
195
|
-
items.forEach(function (wrapper) {
|
|
196
|
-
var matcher = typeof operator === "string" ? matchByFieldAndCase(field, operator, ignoreCase) : operator;
|
|
197
|
-
var isMatch = matcher(wrapper.dataItem, term);
|
|
198
|
-
wrapper.isMatch = isMatch;
|
|
199
|
-
wrapper.visible = isMatch;
|
|
200
|
-
wrapper.containsMatches = false;
|
|
201
|
-
if (isMatch) {
|
|
202
|
-
setParentChain(wrapper.parent);
|
|
203
|
-
}
|
|
204
|
-
if (wrapper.children && wrapper.children.length > 0) {
|
|
205
|
-
if (mode === "strict" || !isMatch) {
|
|
206
|
-
exports.filterTree(wrapper.children, term, { operator: operator, ignoreCase: ignoreCase, mode: mode }, textField, depth + 1);
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
makeAllVisible(wrapper.children);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
};
|
|
214
|
-
var setParentChain = function (node) {
|
|
215
|
-
if (!exports.isPresent(node)) {
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
node.containsMatches = true;
|
|
219
|
-
node.visible = true;
|
|
220
|
-
if (exports.isPresent(node.parent) && !node.parent.containsMatches) {
|
|
221
|
-
setParentChain(node.parent);
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
var ɵ0 = setParentChain;
|
|
225
|
-
exports.ɵ0 = ɵ0;
|
|
226
|
-
var makeAllVisible = function (nodes) {
|
|
227
|
-
nodes.forEach(function (node) {
|
|
228
|
-
node.visible = true;
|
|
229
|
-
if (node.children) {
|
|
230
|
-
makeAllVisible(node.children);
|
|
231
|
-
}
|
|
232
|
-
});
|
|
233
|
-
};
|
|
234
|
-
var ɵ1 = makeAllVisible;
|
|
235
|
-
exports.ɵ1 = ɵ1;
|
|
236
|
-
var ɵ2 = function (a, b) { return a.indexOf(b) >= 0; }, ɵ3 = function (a, b) { return a.indexOf(b) === -1; }, ɵ4 = function (a, b) { return a.lastIndexOf(b, 0) === 0; }, ɵ5 = function (a, b) { return a.lastIndexOf(b, 0) === -1; }, ɵ6 = function (a, b) { return a.indexOf(b, a.length - b.length) >= 0; }, ɵ7 = function (a, b) { return a.indexOf(b, a.length - b.length) < 0; };
|
|
237
|
-
exports.ɵ2 = ɵ2;
|
|
238
|
-
exports.ɵ3 = ɵ3;
|
|
239
|
-
exports.ɵ4 = ɵ4;
|
|
240
|
-
exports.ɵ5 = ɵ5;
|
|
241
|
-
exports.ɵ6 = ɵ6;
|
|
242
|
-
exports.ɵ7 = ɵ7;
|
|
243
|
-
var operators = {
|
|
244
|
-
contains: ɵ2,
|
|
245
|
-
doesnotcontain: ɵ3,
|
|
246
|
-
startswith: ɵ4,
|
|
247
|
-
doesnotstartwith: ɵ5,
|
|
248
|
-
endswith: ɵ6,
|
|
249
|
-
doesnotendwith: ɵ7
|
|
250
|
-
};
|
|
251
|
-
var matchByCase = function (matcher, ignoreCase) { return function (a, b) {
|
|
252
|
-
if (ignoreCase) {
|
|
253
|
-
return matcher(a.toLowerCase(), b.toLowerCase());
|
|
254
|
-
}
|
|
255
|
-
return matcher(a, b);
|
|
256
|
-
}; };
|
|
257
|
-
var ɵ8 = matchByCase;
|
|
258
|
-
exports.ɵ8 = ɵ8;
|
|
259
|
-
var matchByFieldAndCase = function (field, operator, ignoreCase) { return function (dataItem, term) { return matchByCase(operators[operator], ignoreCase)(kendo_common_1.getter(field)(dataItem), term); }; };
|
|
260
|
-
var ɵ9 = matchByFieldAndCase;
|
|
261
|
-
exports.ɵ9 = ɵ9;
|
|
262
|
-
/**
|
|
263
|
-
* @hidden
|
|
264
|
-
*/
|
|
265
|
-
exports.buildTreeIndex = function (parentIndex, itemIndex) {
|
|
266
|
-
return [parentIndex, itemIndex].filter(function (part) { return exports.isPresent(part); }).join('_');
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* @hidden
|
|
270
|
-
*/
|
|
271
|
-
exports.buildTreeItem = function (dataItem, currentLevelIndex, parentIndex) {
|
|
272
|
-
if (!exports.isPresent(dataItem)) {
|
|
273
|
-
return null;
|
|
274
|
-
}
|
|
275
|
-
return {
|
|
276
|
-
dataItem: dataItem,
|
|
277
|
-
index: exports.buildTreeIndex(parentIndex, currentLevelIndex)
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* @hidden
|
|
282
|
-
*
|
|
283
|
-
* Retrieves all descendant nodes' lookups which are currently registered in the provided lookup item as a flat array.
|
|
284
|
-
*/
|
|
285
|
-
exports.fetchLoadedDescendants = function (lookup, filterExpression) {
|
|
286
|
-
if (!exports.isPresent(lookup) || lookup.children.length === 0) {
|
|
287
|
-
return [];
|
|
288
|
-
}
|
|
289
|
-
var descendants = lookup.children;
|
|
290
|
-
if (exports.isPresent(filterExpression)) {
|
|
291
|
-
descendants = descendants.filter(filterExpression);
|
|
292
|
-
}
|
|
293
|
-
descendants.forEach(function (child) {
|
|
294
|
-
return descendants = descendants.concat(exports.fetchLoadedDescendants(child, filterExpression));
|
|
295
|
-
});
|
|
296
|
-
return descendants;
|
|
297
|
-
};
|
|
298
|
-
/**
|
|
299
|
-
* @hidden
|
|
300
|
-
*
|
|
301
|
-
* Compares two Seets to determine whether all unique elements in one, are present in the other.
|
|
302
|
-
* Important:
|
|
303
|
-
* - it disregards the element order
|
|
304
|
-
*/
|
|
305
|
-
exports.sameValues = function (as, bs) {
|
|
306
|
-
if (as.size !== bs.size) {
|
|
307
|
-
return false;
|
|
308
|
-
}
|
|
309
|
-
return Array.from(as).every(function (v) { return bs.has(v); });
|
|
310
|
-
};
|
|
311
|
-
/**
|
|
312
|
-
* @hidden
|
|
313
|
-
* Returns the size class based on the component and size input.
|
|
314
|
-
*/
|
|
315
|
-
exports.getSizeClass = function (component, size) {
|
|
316
|
-
var SIZE_CLASSES = {
|
|
317
|
-
'small': "k-" + component + "-sm",
|
|
318
|
-
'medium': "k-" + component + "-md",
|
|
319
|
-
'large': "k-" + component + "-lg"
|
|
320
|
-
};
|
|
321
|
-
return SIZE_CLASSES[size];
|
|
322
|
-
};
|