@coolon/angular-ui-powerups 16.1.0-aplpha.189 → 16.1.0-aplpha.2
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/README.md +0 -4
- package/assets/activities/activities.scss +6 -8
- package/assets/activities/input-activities.scss +6 -14
- package/assets/form.scss +23 -77
- package/assets/icons.scss +1 -2
- package/assets/interaction/editor/inline-string-editor.scss +0 -4
- package/assets/interaction.scss +1 -1
- package/assets/styles.scss +0 -4
- package/assets/table.scss +30 -55
- package/assets/tabs.scss +2 -15
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- package/esm2022/lib/animations/slide-animations.mjs +10 -15
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +12 -7
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +7 -30
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +6 -6
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
- package/esm2022/lib/components/commands/command/command.component.mjs +33 -35
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +5 -13
- package/esm2022/lib/components/commands/command-face.mjs +11 -12
- package/esm2022/lib/components/commands/flex.component.mjs +4 -4
- package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +8 -31
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +25 -27
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +22 -13
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +12 -17
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +23 -14
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +19 -12
- package/esm2022/lib/components/commands/separator.component.mjs +14 -8
- package/esm2022/lib/components/components.module.mjs +59 -79
- package/esm2022/lib/components/disposable-component.mjs +42 -38
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +9 -5
- package/esm2022/lib/components/exports.mjs +7 -15
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -4
- package/esm2022/lib/components/focusable.component.mjs +5 -5
- package/esm2022/lib/components/forms/abstract-input.component.mjs +18 -66
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +4 -4
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +4 -4
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +13 -12
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +8 -10
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +10 -10
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +13 -90
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -44
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +16 -17
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +16 -35
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +8 -12
- package/esm2022/lib/components/icon/icon.component.mjs +7 -10
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -4
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +12 -7
- package/esm2022/lib/components/noop/noop.component.mjs +7 -5
- package/esm2022/lib/components/resize-aware.component.mjs +27 -64
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +5 -5
- package/esm2022/lib/components/section-header/section-header.component.mjs +4 -4
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +17 -15
- package/esm2022/lib/components/tables/abstract-table-model.mjs +63 -112
- package/esm2022/lib/components/tables/abstract-table.component.mjs +8 -22
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +10 -21
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +5 -6
- package/esm2022/lib/components/tables/column/property-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +13 -35
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +7 -7
- package/esm2022/lib/components/tables/editor/edit-session.mjs +2 -4
- package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
- package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +2 -3
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +9 -14
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +2 -16
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +5 -5
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +7 -23
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +8 -6
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +7 -5
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +8 -18
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +8 -11
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +51 -161
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +9 -9
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +7 -5
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.mjs +33 -0
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +60 -0
- package/esm2022/lib/components/tables/table/table-model.mjs +3 -12
- package/esm2022/lib/components/tables/table/table.component.mjs +64 -42
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +84 -0
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +4 -5
- package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +7 -5
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -4
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +8 -15
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +7 -4
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +6 -6
- package/esm2022/lib/components/track.mjs +1 -1
- package/esm2022/lib/components/types/bounds.class.mjs +1 -1
- package/esm2022/lib/components/types/loadable.mjs +2 -0
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
- package/esm2022/lib/directives/command.directive.mjs +14 -25
- package/esm2022/lib/directives/directives.module.mjs +10 -10
- package/esm2022/lib/directives/exports.mjs +1 -2
- package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
- package/esm2022/lib/directives/focus-binding.directive.mjs +5 -5
- package/esm2022/lib/directives/focus-binding.mjs +1 -1
- package/esm2022/lib/directives/garbage-collector.directive.mjs +4 -5
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +4 -4
- package/esm2022/lib/directives/highlight.pipe.mjs +11 -12
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +7 -6
- package/esm2022/lib/interaction/activity-ref.mjs +2 -2
- package/esm2022/lib/interaction/activity.mjs +23 -23
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +10 -13
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +45 -4
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +17 -29
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -10
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +19 -50
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +19 -55
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -6
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +4 -4
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +4 -4
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +4 -4
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +10 -6
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +10 -6
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +11 -9
- package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +2 -2
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +9 -9
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +9 -25
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +5 -6
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +38 -44
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +12 -14
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +5 -6
- package/esm2022/lib/interaction/confirm.mjs +2 -26
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
- package/esm2022/lib/interaction/exports.mjs +1 -6
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +2 -3
- package/esm2022/lib/interaction/interaction.module.mjs +36 -44
- package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
- package/esm2022/lib/interaction/services/interaction.service.mjs +10 -22
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +10 -9
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +5 -23
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +5 -15
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +9 -8
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +7 -5
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +12 -10
- package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +10 -15
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +7 -5
- package/esm2022/lib/place/guards/place.guard.mjs +9 -10
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
- package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
- package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +6 -3
- package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
- package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
- package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
- package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/place-access-guard.mjs +1 -1
- package/esm2022/lib/place/place-auth-service.mjs +6 -7
- package/esm2022/lib/place/place-component.mjs +58 -54
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +4 -15
- package/esm2022/lib/place/place-history.mjs +8 -6
- package/esm2022/lib/place/place-router.mjs +68 -84
- package/esm2022/lib/place/place.decorator.mjs +2 -2
- package/esm2022/lib/place/place.module.mjs +16 -16
- package/esm2022/lib/place/route/formatter.mjs +2 -2
- package/esm2022/lib/place/route/json-types.mjs +1 -1
- package/esm2022/lib/place/route/parameter-decorators.mjs +50 -54
- package/esm2022/lib/place/route/parameter-definition.mjs +2 -6
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +2 -7
- package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
- package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
- package/esm2022/lib/place/url-service.mjs +4 -4
- package/esm2022/lib/place/url-snapshot.mjs +3 -3
- package/esm2022/lib/place/visit-segment.mjs +2 -2
- package/esm2022/lib/place/visit.mjs +2 -2
- package/esm2022/lib/services/markdown/markdown.service.mjs +7 -5
- package/esm2022/lib/services/markdown/pill-plugin.mjs +3 -1
- package/esm2022/lib/services/visibility-service.mjs +7 -7
- package/fesm2022/coolon-angular-ui-powerups.mjs +3003 -4341
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/animations/slide-animations.d.ts +0 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +3 -6
- package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
- package/lib/components/cards/card-stack/card-stack.component.d.ts +68 -0
- package/lib/components/commands/command/command.component.d.ts +10 -9
- package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
- package/lib/components/commands/command-face.d.ts +9 -8
- package/lib/components/commands/group/popup-aware.component.d.ts +4 -9
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +5 -5
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -2
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -3
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +4 -2
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +7 -3
- package/lib/components/commands/separator.component.d.ts +4 -2
- package/lib/components/components.module.d.ts +53 -57
- package/lib/components/disposable-component.d.ts +9 -17
- package/lib/components/empty-state/empty-state.component.d.ts +4 -1
- package/lib/components/exports.d.ts +6 -14
- package/lib/components/forms/abstract-input.component.d.ts +7 -16
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +2 -2
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +0 -2
- package/lib/components/forms/number-input/number-input.component.d.ts +4 -16
- package/lib/components/forms/password-input/password-input.component.d.ts +1 -7
- package/lib/components/forms/select-input/select-input.component.d.ts +3 -4
- package/lib/components/forms/string-input/string-input.component.d.ts +1 -7
- package/lib/components/forms/text-input/text-input.component.d.ts +0 -3
- package/lib/components/loading-container/loading-container.component.d.ts +4 -1
- package/lib/components/noop/noop.component.d.ts +1 -0
- package/lib/components/resize-aware.component.d.ts +6 -25
- package/lib/components/switch-case/switch-case.component.d.ts +7 -6
- package/lib/components/tables/abstract-table-model.d.ts +25 -50
- package/lib/components/tables/abstract-table.component.d.ts +5 -6
- package/lib/components/tables/column/column-list-model.d.ts +13 -0
- package/lib/components/tables/column/column-model.d.ts +4 -8
- package/lib/components/tables/column/custom-template-column-model.d.ts +2 -3
- package/lib/components/tables/column/custom-value-column-model.d.ts +2 -3
- package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -3
- package/lib/components/tables/column/list-propery-column-model.d.ts +2 -3
- package/lib/components/tables/column/property-column-model.d.ts +2 -3
- package/lib/components/tables/column/selection-column-model.d.ts +4 -10
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
- package/lib/components/tables/editor/edit-session.d.ts +1 -1
- package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
- package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
- package/lib/components/tables/filter/text-search-predicate.d.ts +0 -9
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +14 -21
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -0
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -0
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -2
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +19 -43
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -2
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +1 -0
- package/lib/components/tables/renderer/table-more-menu/table-more-menu-popup/table-more-menu-popup.component.d.ts +15 -0
- package/lib/components/tables/renderer/{table-custom-more-menu/table-custom-more-menu.component.d.ts → table-more-menu/table-more-menu.component.d.ts} +8 -9
- package/lib/components/tables/table/table-model.d.ts +4 -4
- package/lib/components/tables/table/table.component.d.ts +11 -15
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +28 -0
- package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -0
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -3
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -5
- package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/components/types/loadable.d.ts +5 -0
- package/lib/directives/command.directive.d.ts +5 -7
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/exports.d.ts +0 -1
- package/lib/interaction/abstract-interaction-context.d.ts +1 -1
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +7 -7
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -2
- package/lib/interaction/components/abstract-dialog.component.d.ts +14 -5
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +9 -12
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -2
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +5 -11
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +5 -4
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -6
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +4 -6
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/confirm.d.ts +0 -4
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
- package/lib/interaction/exports.d.ts +0 -5
- package/lib/interaction/interaction-context.d.ts +1 -7
- package/lib/interaction/interaction.module.d.ts +33 -35
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +2 -2
- package/lib/interaction/services/interaction.service.d.ts +1 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +3 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +3 -4
- package/lib/place/components/abstract-place-navigation.component.d.ts +0 -1
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -0
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -3
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -2
- package/lib/place/guards/noop-auth-guard.service.d.ts +1 -0
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +1 -0
- package/lib/place/place-auth-service.d.ts +4 -4
- package/lib/place/place-component.d.ts +16 -8
- package/lib/place/place-definition.d.ts +0 -2
- package/lib/place/place-history.d.ts +1 -0
- package/lib/place/place-router.d.ts +5 -10
- package/lib/place/place.decorator.d.ts +1 -1
- package/lib/place/place.module.d.ts +8 -8
- package/lib/place/route/json-types.d.ts +3 -1
- package/lib/place/route/parameter-decorators.d.ts +4 -3
- package/lib/place/route/parameter-definition.d.ts +2 -2
- package/lib/place/route/parameter-sanitiser.d.ts +0 -7
- package/lib/place/visit-segment.d.ts +4 -4
- package/lib/place/visit.d.ts +2 -2
- package/lib/services/markdown/markdown.service.d.ts +1 -0
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +19 -18
- package/assets/draw.scss +0 -20
- package/assets/layout.scss +0 -3
- package/assets/place.scss +0 -31
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +0 -115
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +0 -89
- package/esm2022/lib/components/forms/form-field.mjs +0 -2
- package/esm2022/lib/components/forms/search-input/search-input.component.mjs +0 -33
- package/esm2022/lib/components/loadable-component.mjs +0 -69
- package/esm2022/lib/components/tables/column/column-manager.mjs +0 -81
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +0 -19
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +0 -38
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +0 -7
- package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +0 -2
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +0 -153
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +0 -45
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +0 -71
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +0 -30
- package/esm2022/lib/directives/resize-observer.directive.mjs +0 -40
- package/esm2022/lib/interaction/activity-context.mjs +0 -4
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +0 -55
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +0 -54
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +0 -134
- package/esm2022/lib/interaction/interaction-context-provider.mjs +0 -17
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +0 -30
- package/lib/components/file/file-download/file-download.component.d.ts +0 -45
- package/lib/components/forms/form-field.d.ts +0 -5
- package/lib/components/forms/search-input/search-input.component.d.ts +0 -10
- package/lib/components/loadable-component.d.ts +0 -20
- package/lib/components/tables/column/column-manager.d.ts +0 -19
- package/lib/components/tables/column/column-order-manager.d.ts +0 -20
- package/lib/components/tables/footer/footer-row-model.d.ts +0 -22
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +0 -6
- package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +0 -7
- package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +0 -42
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +0 -19
- package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +0 -11
- package/lib/directives/resize-observer.directive.d.ts +0 -16
- package/lib/interaction/activity-context.d.ts +0 -9
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +0 -17
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +0 -15
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +0 -53
- package/lib/interaction/interaction-context-provider.d.ts +0 -11
|
@@ -3,13 +3,12 @@ import { CdkPortalOutletAttachedRef } from "@angular/cdk/portal";
|
|
|
3
3
|
import { Injector } from "@angular/core";
|
|
4
4
|
import { Command, GarbageCollector, ValueModel } from "@coolon/pectin";
|
|
5
5
|
import { EditSession } from "../editor/edit-session";
|
|
6
|
-
import { ColumnTextSearchFormatter } from "../filter/column-text-search-formatter";
|
|
7
6
|
import { CellEditorPortalRef, CellHeaderPortalRef, CellRendererPortalRef } from "../renderer/cell-portal-ref";
|
|
8
7
|
import { TableCellComponent } from "../renderer/table-cell/table-cell.component";
|
|
9
8
|
import { TableHeaderCellComponent } from "../renderer/table-header-cell/table-header-cell.component";
|
|
10
|
-
import {
|
|
9
|
+
import { ColumnTextSearchFormatter } from "../filter/column-text-search-formatter";
|
|
11
10
|
import { ColumnTextProperties } from "./column-text-properties";
|
|
12
|
-
export interface RowData<Row
|
|
11
|
+
export interface RowData<Row> {
|
|
13
12
|
row: Row;
|
|
14
13
|
editSession?: EditSession<Row>;
|
|
15
14
|
editRowCommand: Command<void>;
|
|
@@ -22,9 +21,8 @@ export interface CellRendererOptions<Row, E> {
|
|
|
22
21
|
export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends CellRendererOptions<Row, E> {
|
|
23
22
|
onValueEdit: (row: Row, is: Row[P], was: Row[P]) => void;
|
|
24
23
|
}
|
|
25
|
-
export declare class ColumnModel<Row
|
|
24
|
+
export declare class ColumnModel<Row> extends GarbageCollector {
|
|
26
25
|
readonly columnId: string;
|
|
27
|
-
private readonly order;
|
|
28
26
|
private textPropertiesProvider;
|
|
29
27
|
private _columnTextProperties;
|
|
30
28
|
private _columnHeaderPortalRef;
|
|
@@ -38,7 +36,7 @@ export declare class ColumnModel<Row extends object> extends GarbageCollector {
|
|
|
38
36
|
readonly dasherisedColumnId: string;
|
|
39
37
|
private readonly textSearchDelegate;
|
|
40
38
|
readonly visible$: ValueModel<boolean>;
|
|
41
|
-
constructor(columnId: string,
|
|
39
|
+
constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
|
|
42
40
|
protected installHeaderRenderer(): void;
|
|
43
41
|
getHeaderText(): string;
|
|
44
42
|
isVisible(): boolean;
|
|
@@ -53,8 +51,6 @@ export declare class ColumnModel<Row extends object> extends GarbageCollector {
|
|
|
53
51
|
*/
|
|
54
52
|
textProperties(columnTextProperties: ColumnTextProperties): this;
|
|
55
53
|
columnTextProperties(columnTextProperties: ColumnTextProperties): this;
|
|
56
|
-
positionAfter(column: ColumnModel<any>): this;
|
|
57
|
-
positionBefore(column: ColumnModel<any>): this;
|
|
58
54
|
getSearchTextFor(row: Row): string;
|
|
59
55
|
configureColumnTextSearch(formatter: ColumnTextSearchFormatter<Row>): this;
|
|
60
56
|
configureColumnTextSearch<T>(formatter: ColumnTextSearchFormatter<T>, mapper: (row: Row) => T): this;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
2
|
import { ColumnModel } from "./column-model";
|
|
3
|
-
|
|
4
|
-
export declare class CustomTemplateColumnModel<Row extends object> extends ColumnModel<Row> {
|
|
3
|
+
export declare class CustomTemplateColumnModel<Row> extends ColumnModel<Row> {
|
|
5
4
|
private readonly config;
|
|
6
|
-
constructor(columnId: string,
|
|
5
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider);
|
|
7
6
|
setTemplate(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
8
7
|
selectRowOnClick(selectOnRowClick: boolean): this;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ComponentType } from "@angular/cdk/overlay";
|
|
2
2
|
import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column-model";
|
|
3
|
-
|
|
4
|
-
export declare class CustomValueColumnModel<Row extends object, V> extends ColumnModel<Row> {
|
|
3
|
+
export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
|
|
5
4
|
private getValue;
|
|
6
|
-
constructor(columnId: string,
|
|
5
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
|
|
7
6
|
cellRenderer<C extends {
|
|
8
7
|
value: Partial<V>;
|
|
9
8
|
}>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
|
|
@@ -2,9 +2,8 @@ import { ComponentType } from "@angular/cdk/overlay";
|
|
|
2
2
|
import { Command, DirtyTrackingForm } from "@coolon/pectin";
|
|
3
3
|
import { EditSession } from "../editor/edit-session";
|
|
4
4
|
import { ColumnModel } from "./column-model";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
constructor(columnId: string, order: ColumnOrderManager, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
|
|
5
|
+
export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
|
|
6
|
+
constructor(columnId: string, saveCommandFactory: Command.Factory<DirtyTrackingForm<Row>, boolean | Promise<boolean>>, defaults: ColumnModel.TextPropertiesProvider);
|
|
8
7
|
cellRenderer(componentType: ComponentType<{
|
|
9
8
|
row: Row;
|
|
10
9
|
editSession: EditSession<Row>;
|
|
@@ -3,12 +3,11 @@ import { Types, Validator } from "@coolon/pectin";
|
|
|
3
3
|
import { CellListEditorComponent } from "../renderer/cell-editors";
|
|
4
4
|
import { CellRenderer } from "../renderer/cell-renderer";
|
|
5
5
|
import { ColumnModel } from "./column-model";
|
|
6
|
-
|
|
7
|
-
export declare class ListPropertyColumnModel<Row extends object, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
|
|
6
|
+
export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
|
|
8
7
|
readonly property: P;
|
|
9
8
|
private _userFormat;
|
|
10
9
|
private _defaultSearchTextFormat;
|
|
11
|
-
constructor(id: string,
|
|
10
|
+
constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
|
|
12
11
|
cellRenderer(componentType: ComponentType<CellRenderer<Types.ArrayElementType<Row, P>[]>>): Omit<this, "format">;
|
|
13
12
|
cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, validators?: Validator<Types.ArrayElementType<Row, P>[]>[], initialiseComponent?: (component: C) => void): this;
|
|
14
13
|
cellEditor<C extends CellListEditorComponent<Types.ArrayElementType<Row, P>>>(editor: ComponentType<C>, initialiseComponent?: (component: C) => void): this;
|
|
@@ -4,12 +4,11 @@ import { EditableCellRenderer } from "../editor/editable-cell-renderer";
|
|
|
4
4
|
import { CellEditorComponent } from "../renderer/cell-editors";
|
|
5
5
|
import { CellRenderer } from "../renderer/cell-renderer";
|
|
6
6
|
import { CellRendererOptions, ColumnModel, MutableCellRendererOptions, OnComponentInit } from "./column-model";
|
|
7
|
-
|
|
8
|
-
export declare class PropertyColumnModel<Row extends object, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
|
|
7
|
+
export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
|
|
9
8
|
readonly property: P;
|
|
10
9
|
private _userFormat;
|
|
11
10
|
private _defaultSearchTextFormatter;
|
|
12
|
-
constructor(id: string,
|
|
11
|
+
constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
|
|
13
12
|
cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): Omit<this, "format">;
|
|
14
13
|
cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): Omit<this, "format">;
|
|
15
14
|
liveEditCellRenderer<E extends EditableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { ThemePalette } from "@angular/material/core";
|
|
2
|
-
import {
|
|
2
|
+
import { Proxified, SelectionModel } from "@coolon/pectin";
|
|
3
3
|
import { ColumnModel } from "./column-model";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
|
|
5
|
+
readonly selectionModel: Proxified<SelectionModel<Row>>;
|
|
6
6
|
private _enableHeaderControls;
|
|
7
7
|
private _color;
|
|
8
|
-
|
|
9
|
-
private _isUsingTemporarySelection$;
|
|
10
|
-
private _userSelectionModel;
|
|
11
|
-
constructor(columnId: string, order: ColumnOrderManager, defaults: ColumnModel.TextPropertiesProvider);
|
|
12
|
-
get selectionModel(): SelectionModel<Row>;
|
|
13
|
-
get isUsingTemporarySelectionModel$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
8
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: Proxified<SelectionModel<Row>>);
|
|
14
9
|
useSelectionModel(selectionModel: SelectionModel<Row>): void;
|
|
15
10
|
protected getDefaultHeaderText(): string;
|
|
16
11
|
enableHeaderControls(enable: boolean): this;
|
|
@@ -20,5 +15,4 @@ export declare class SelectionColumnModel<Row extends object> extends ColumnMode
|
|
|
20
15
|
color(color: ThemePalette): void;
|
|
21
16
|
selectRow(row: Row): void;
|
|
22
17
|
isSelected(row: Row): boolean;
|
|
23
|
-
withTemporarySelectionModel<S extends SelectionModel<Row>, R>(createSelectionModel: (garbage: GarbageCollector) => S, process: (selectionModel: S) => Promise<R>): Promise<R>;
|
|
24
18
|
}
|
|
@@ -2,7 +2,7 @@ import { Command, DirtyTrackingForm } from '@coolon/pectin';
|
|
|
2
2
|
import { DisposableComponent } from '../../../disposable-component';
|
|
3
3
|
import { EditSession } from '../edit-session';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class EditRowControls<Row> extends DisposableComponent {
|
|
6
6
|
row: Row;
|
|
7
7
|
accessor editRowCommand: Command<void>;
|
|
8
8
|
private _session;
|
|
@@ -12,6 +12,6 @@ export declare class EditRowControlsComponent<Row extends object> extends Dispos
|
|
|
12
12
|
readonly cancelCommand: Command<void>;
|
|
13
13
|
constructor();
|
|
14
14
|
get form(): DirtyTrackingForm<Row>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditRowControls<any>, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditRowControls<any>, "aup-row-editor-controls", never, { "row": { "alias": "row"; "required": false; }; "editRowCommand": { "alias": "editRowCommand"; "required": false; }; "editSession": { "alias": "editSession"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Command, DirtyTrackingForm, GarbageCollector } from '@coolon/pectin';
|
|
2
|
-
export declare class EditSession<Row
|
|
2
|
+
export declare class EditSession<Row> extends GarbageCollector {
|
|
3
3
|
readonly rowId: any;
|
|
4
4
|
readonly form: DirtyTrackingForm<Row>;
|
|
5
5
|
readonly saveCommand: Command<boolean | Promise<boolean>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Disposable } from '@coolon/pectin';
|
|
2
1
|
import { CellRenderer } from '../renderer/cell-renderer';
|
|
2
|
+
import { Disposable } from '@coolon/pectin';
|
|
3
3
|
export interface EditableCellRenderer<T> extends CellRenderer<T> {
|
|
4
4
|
value: T;
|
|
5
5
|
onValueEdited(callback: (is: T, was: T) => void): Disposable;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentType } from "@angular/cdk/overlay";
|
|
2
2
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
3
3
|
import { Enum } from "typescript-string-enums";
|
|
4
|
-
import { CellRenderer } from "../renderer/cell-renderer";
|
|
5
4
|
import { ColumnTextSearchFormatter } from "./column-text-search-formatter";
|
|
5
|
+
import { CellRenderer } from "../renderer/cell-renderer";
|
|
6
6
|
export declare const Keys: {
|
|
7
7
|
useFunction: "useFunction";
|
|
8
8
|
useInstance: "useInstance";
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
import { AbstractConstructable } from "@coolon/restilence-plugin";
|
|
2
1
|
export type TextSearchPredicate<Row> = (row: Row, regex: RegExp) => boolean;
|
|
3
|
-
export declare class TextSearchContext<Row> {
|
|
4
|
-
readonly row: Row;
|
|
5
|
-
readonly searchText: string;
|
|
6
|
-
readonly searchRegex: RegExp;
|
|
7
|
-
constructor(row: Row, searchText: string, searchRegex: RegExp);
|
|
8
|
-
getOrCreate<T>(type: AbstractConstructable<T>, create: () => T): void;
|
|
9
|
-
matchesText(text: string): boolean;
|
|
10
|
-
}
|
|
@@ -1,60 +1,53 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
-
import {
|
|
2
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { ColumnModel, RowData } from '../column/column-model';
|
|
4
4
|
import { EditSession } from '../editor/edit-session';
|
|
5
5
|
import { TableCellComponent } from './table-cell/table-cell.component';
|
|
6
6
|
import { TableHeaderCellComponent } from './table-header-cell/table-header-cell.component';
|
|
7
7
|
export declare const HEADER_CELL_RENDERER_PORTAL: unique symbol;
|
|
8
|
-
export declare const FOOTER_CELL_RENDERER_PORTAL: unique symbol;
|
|
9
8
|
export declare const CELL_RENDERER_PORTAL: unique symbol;
|
|
10
9
|
export declare const CELL_EDITOR_PORTAL: unique symbol;
|
|
11
10
|
export declare const PORTAL_RENDERER_COMPONENT: unique symbol;
|
|
12
11
|
export declare const PORTAL_EDITOR_COMPONENT: unique symbol;
|
|
13
|
-
export declare abstract class CellPortalRef<Row
|
|
14
|
-
|
|
15
|
-
abstract
|
|
12
|
+
export declare abstract class CellPortalRef<Row, Host, Portal> {
|
|
13
|
+
constructor();
|
|
14
|
+
abstract initialiseHost(host: Host, columnModel: ColumnModel<Row>): any;
|
|
15
|
+
abstract onPortalAttached(host: Host, portalComponent: Portal): any;
|
|
16
16
|
}
|
|
17
|
-
export declare class CellHeaderPortalRef<Row
|
|
17
|
+
export declare class CellHeaderPortalRef<Row, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
|
|
18
18
|
readonly componentType: ComponentType<C>;
|
|
19
19
|
readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
|
|
20
20
|
constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
|
|
21
|
-
initialiseHost(host:
|
|
21
|
+
initialiseHost(host: TableHeaderCellComponent, columnModel: ColumnModel<Row>): void;
|
|
22
22
|
onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
|
|
23
23
|
}
|
|
24
|
-
export declare abstract class CellRendererPortalRef<Row
|
|
24
|
+
export declare abstract class CellRendererPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
|
|
25
25
|
abstract pushState(host: TableCellComponent<Row>): void;
|
|
26
26
|
}
|
|
27
|
-
export declare class ComponentCellRendererPortalRef<Row
|
|
27
|
+
export declare class ComponentCellRendererPortalRef<Row, Portal> extends CellRendererPortalRef<Row, Portal> {
|
|
28
28
|
readonly componentType: ComponentType<Portal>;
|
|
29
29
|
readonly updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void;
|
|
30
30
|
constructor(componentType: ComponentType<Portal>, updateComponent: (component: Portal, rowData: RowData<Row>, firstTime: boolean) => void);
|
|
31
|
-
initialiseHost(host:
|
|
31
|
+
initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
|
|
32
32
|
onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
|
|
33
33
|
pushState(host: TableCellComponent<Row>): void;
|
|
34
34
|
}
|
|
35
|
-
export declare class CellEditorPortalRef<Row
|
|
35
|
+
export declare class CellEditorPortalRef<Row, Portal> extends CellPortalRef<Row, TableCellComponent<Row>, Portal> {
|
|
36
36
|
readonly componentType: ComponentType<Portal>;
|
|
37
37
|
readonly initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void;
|
|
38
38
|
constructor(componentType: ComponentType<Portal>, initialiseEditorSession: (component: Portal, editSession: EditSession<Row>) => void);
|
|
39
|
-
initialiseHost(host:
|
|
39
|
+
initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
|
|
40
40
|
onPortalAttached(host: TableCellComponent<Row>, portalComponent: Portal): void;
|
|
41
41
|
}
|
|
42
|
-
export declare class TemplateCellRendererPortalRef<Row
|
|
42
|
+
export declare class TemplateCellRendererPortalRef<Row> extends CellRendererPortalRef<Row, undefined> {
|
|
43
43
|
private templateRef;
|
|
44
44
|
private viewContainer;
|
|
45
45
|
private fillCell;
|
|
46
46
|
private padChild;
|
|
47
47
|
constructor();
|
|
48
48
|
registerPortal(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
49
|
-
initialiseHost(host:
|
|
49
|
+
initialiseHost(host: TableCellComponent<Row>, columnModel: ColumnModel<Row>): void;
|
|
50
50
|
onPortalAttached(host: TableCellComponent<Row>, portalComponent: undefined): void;
|
|
51
51
|
pushState(host: TableCellComponent<Row>): void;
|
|
52
52
|
private createPortal;
|
|
53
53
|
}
|
|
54
|
-
export declare class CellFooterPortalRef<Row extends object, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
|
|
55
|
-
readonly componentType: ComponentType<C>;
|
|
56
|
-
readonly initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void;
|
|
57
|
-
constructor(componentType: ComponentType<C>, initialiseHeader: (component: C, columnModel: ColumnModel<Row>) => void);
|
|
58
|
-
initialiseHost(host: Host): void;
|
|
59
|
-
onPortalAttached(host: TableHeaderCellComponent, portalComponent: C): void;
|
|
60
|
-
}
|
package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare class DefaultCellRendererComponent<T> implements CellRenderer<T>
|
|
|
4
4
|
private _value;
|
|
5
5
|
set value(value: T);
|
|
6
6
|
get value(): T;
|
|
7
|
+
constructor();
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultCellRendererComponent<any>, never>;
|
|
8
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultCellRendererComponent<any>, "aup-default-cell-renderer", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class DefaultHeaderCellRendererComponent {
|
|
3
3
|
headerText: string;
|
|
4
|
+
constructor();
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeaderCellRendererComponent, never>;
|
|
5
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeaderCellRendererComponent, "aup-default-header-renderer", never, { "headerText": { "alias": "headerText"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
7
|
}
|
package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePalette } from
|
|
1
|
+
import { ThemePalette } from "@angular/material/core";
|
|
2
2
|
import { Command, MultipleSelectionModel, SelectionModel } from '@coolon/pectin';
|
|
3
3
|
import { DisposableComponent } from '../../../disposable-component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -13,7 +13,6 @@ export declare class SelectionHeaderCellComponent<Row> extends DisposableCompone
|
|
|
13
13
|
isVisible(): boolean;
|
|
14
14
|
isMultiSelectionModel(): boolean;
|
|
15
15
|
ifMultiSelectionModel<T>(runnable: (model$: MultipleSelectionModel<Row, any>) => T, otherwise?: T): T;
|
|
16
|
-
handleClick(event$: Event): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionHeaderCellComponent<any>, never>;
|
|
18
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionHeaderCellComponent<any>, "aup-selection-header-cell", never, {}, {}, never, never, false, never>;
|
|
19
18
|
}
|
|
@@ -1,60 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AfterViewInit, ElementRef, InjectionToken, OnInit } from "@angular/core";
|
|
4
|
-
import { ListModel, ListModelChain, MutableValueModel, Proxify, ValueModel } from "@coolon/pectin";
|
|
5
|
-
import { TableVirtualScrollDataSource } from "ng-table-virtual-scroll";
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
|
|
2
|
+
import { ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
|
|
6
3
|
import { ResizeAwareComponent } from "../../../resize-aware.component";
|
|
7
4
|
import { AbstractTableModel } from "../../abstract-table-model";
|
|
8
5
|
import { ColumnModel } from "../../column/column-model";
|
|
9
|
-
import { FooterRowModel } from "../../footer/footer-row-model";
|
|
10
6
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare
|
|
12
|
-
export declare class TableRowAttributesDirective implements OnInit {
|
|
13
|
-
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
14
|
-
aupTableRowAttributes: Record<string, string>;
|
|
15
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAttributesDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowAttributesDirective, "[aupTableRowAttributes]", never, { "aupTableRowAttributes": { "alias": "aupTableRowAttributes"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
20
|
-
export declare class TableBodyComponent<Row extends object> extends ResizeAwareComponent implements AfterViewInit {
|
|
21
|
-
protected bufferMultiplier: number;
|
|
7
|
+
export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements OnInit {
|
|
22
8
|
accessor data$: ListModel<Row>;
|
|
23
9
|
accessor tableModel: AbstractTableModel<Row>;
|
|
24
|
-
accessor footerRow: FooterRowModel.Impl<any>;
|
|
25
10
|
accessor showHeader$: ValueModel<boolean>;
|
|
26
11
|
accessor showHeader: boolean;
|
|
12
|
+
readonly visibleRowCount: EventEmitter<number>;
|
|
27
13
|
trackBy: (index: number, item: Row) => any;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
|
|
16
|
+
* need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
|
|
17
|
+
* containment area.
|
|
18
|
+
*/
|
|
19
|
+
enableScrolling: boolean;
|
|
20
|
+
columns: ListModelChain<ColumnModel<Row>>;
|
|
21
|
+
columnIds: ListModelChain<string>;
|
|
22
|
+
private columnsById;
|
|
23
|
+
readonly _visibleRowCount: ValueModel<number>;
|
|
24
|
+
private readonly headerHeight;
|
|
25
|
+
private readonly rowHeight;
|
|
36
26
|
baseCssClass: string;
|
|
37
|
-
|
|
38
|
-
private virtualScrollActive$;
|
|
39
|
-
private scrollTimeout;
|
|
40
|
-
constructor(bufferMultiplier?: number);
|
|
41
|
-
ngAfterViewInit(): void;
|
|
27
|
+
constructor(elementRef: ElementRef, ngZone: NgZone);
|
|
42
28
|
get hideHeader(): boolean;
|
|
43
|
-
get headerHeightCssVar(): string;
|
|
44
|
-
get rowHeightCssVar(): string;
|
|
45
29
|
isEditing(row: Row): boolean;
|
|
46
30
|
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
47
31
|
isFirstVisibleColumn(columnId: string): boolean;
|
|
48
32
|
isLastVisibleColumn(columnId: string): boolean;
|
|
49
33
|
getColumnClasses(columnId: string): string[];
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
private clearScrollTimeout;
|
|
53
|
-
initialiseFooter($event: CdkPortalOutletAttachedRef): void;
|
|
54
|
-
protected readonly Proxify: typeof Proxify;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, [{ optional: true; }]>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "footerRow": { "alias": "footerRow"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "scrollMode$": { "alias": "scrollMode$"; "required": false; }; "scrollMode": { "alias": "scrollMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
-
}
|
|
58
|
-
export declare namespace TableBodyComponent {
|
|
59
|
-
type ScrollMode = "none" | "classic" | "virtual";
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "data$": { "alias": "data$"; "required": false; }; "tableModel": { "alias": "tableModel"; "required": false; }; "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "enableScrolling": { "alias": "enableScrolling"; "required": false; }; }, { "visibleRowCount": "visibleRowCount"; }, never, never, false, never>;
|
|
60
36
|
}
|
|
@@ -6,17 +6,18 @@ import { ColumnModel, RowData } from "../../column/column-model";
|
|
|
6
6
|
import { EditSession } from "../../editor/edit-session";
|
|
7
7
|
import { CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL } from "../cell-portal-ref";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TableCellComponent<Row
|
|
9
|
+
export declare class TableCellComponent<Row> extends DisposableComponent implements OnChanges {
|
|
10
10
|
row: Row;
|
|
11
11
|
column: ColumnModel<Row>;
|
|
12
12
|
editSession: EditSession<Row>;
|
|
13
13
|
tableModel: AbstractTableModel<Row>;
|
|
14
|
-
private
|
|
14
|
+
private editRowCommand;
|
|
15
15
|
[CELL_RENDERER_PORTAL]: Portal<any>;
|
|
16
16
|
[CELL_EDITOR_PORTAL]: Portal<any>;
|
|
17
17
|
defaultClassNames: string;
|
|
18
18
|
fillCell: boolean;
|
|
19
19
|
padChild: boolean;
|
|
20
|
+
private firstEditableColumn;
|
|
20
21
|
constructor();
|
|
21
22
|
hasActiveEditor(): boolean;
|
|
22
23
|
initialiseRenderer(ref: CdkPortalOutletAttachedRef): void;
|
|
@@ -7,6 +7,7 @@ export declare class TableHeaderCellComponent implements OnInit {
|
|
|
7
7
|
column: ColumnModel<any>;
|
|
8
8
|
defaultClassNames: string;
|
|
9
9
|
[HEADER_CELL_RENDERER_PORTAL]: Portal<any>;
|
|
10
|
+
constructor();
|
|
10
11
|
ngOnInit(): void;
|
|
11
12
|
initialiseHeader(ref: CdkPortalOutletAttachedRef): void;
|
|
12
13
|
getPortal(): Portal<any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Command, ValueModel } from "@coolon/pectin";
|
|
2
|
+
import { DisposableComponent } from "../../../../disposable-component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableMoreMenuPopupComponent<T> extends DisposableComponent {
|
|
5
|
+
private _value$;
|
|
6
|
+
private readonly _visible$;
|
|
7
|
+
private readonly _closeCommand;
|
|
8
|
+
initialise(row$: ValueModel<T>, closeCommand: Command<void>): void;
|
|
9
|
+
protected visibleWhile(condition: ValueModel<boolean>): this;
|
|
10
|
+
get visible$(): ValueModel<boolean>;
|
|
11
|
+
get closeCommand(): Command<void>;
|
|
12
|
+
get value$(): ValueModel<T>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableMoreMenuPopupComponent<any>, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableMoreMenuPopupComponent<any>, "aup-table-more-menu-popup", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { CdkPortalOutletAttachedRef, ComponentPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { MatMenuTrigger } from "@angular/material/menu";
|
|
3
|
-
import { ValueModelChain } from
|
|
2
|
+
import { MatLegacyMenuTrigger as MatMenuTrigger } from "@angular/material/legacy-menu";
|
|
3
|
+
import { ValueModelChain } from "@coolon/pectin";
|
|
4
4
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
5
5
|
import { DisposableComponent } from "../../../disposable-component";
|
|
6
6
|
import { CellRenderer } from "../cell-renderer";
|
|
7
|
-
import {
|
|
7
|
+
import { TableMoreMenuPopupComponent } from "./table-more-menu-popup/table-more-menu-popup.component";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class TableMoreMenuComponent<T> extends DisposableComponent implements CellRenderer<T> {
|
|
10
10
|
private value$;
|
|
11
11
|
accessor value: T;
|
|
12
12
|
matMenuTrigger: MatMenuTrigger;
|
|
13
13
|
private readonly popupType$;
|
|
14
|
-
popupComponentPortal$: ValueModelChain<ComponentPortal<
|
|
14
|
+
popupComponentPortal$: ValueModelChain<ComponentPortal<TableMoreMenuPopupComponent<T>>>;
|
|
15
15
|
private readonly _visible$;
|
|
16
|
-
private initialiseCallback?;
|
|
17
16
|
constructor();
|
|
18
|
-
configurePopupComponentType(popupComponentType: Constructable<
|
|
17
|
+
configurePopupComponentType(popupComponentType: Constructable<TableMoreMenuPopupComponent<T>>): void;
|
|
19
18
|
preventDefault($event: MouseEvent): void;
|
|
20
19
|
initialise($event: CdkPortalOutletAttachedRef): void;
|
|
21
20
|
get visible$(): import("@coolon/pectin").ValueModel<boolean>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableMoreMenuComponent<any>, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableMoreMenuComponent<any>, "aup-table-more-menu", never, {}, {}, never, never, false, never>;
|
|
24
23
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ListModel,
|
|
1
|
+
import { ListModel, SelectionModel, ValueModel } from "@coolon/pectin";
|
|
2
2
|
import { AbstractTableModel } from "../abstract-table-model";
|
|
3
|
+
import { SelectionColumnModel } from "../column/selection-column-model";
|
|
3
4
|
/**
|
|
4
5
|
* Example:
|
|
5
6
|
* @example
|
|
@@ -79,9 +80,8 @@ import { AbstractTableModel } from "../abstract-table-model";
|
|
|
79
80
|
* table.columnTextProperties(I18n.table.columns); // <- configures all columns
|
|
80
81
|
* });
|
|
81
82
|
*/
|
|
82
|
-
export declare class TableModel<Row
|
|
83
|
+
export declare class TableModel<Row> extends AbstractTableModel<Row> {
|
|
83
84
|
constructor(sourceOfTruth?: ListModel<Row>, builder?: (table: TableModel<Row>) => void);
|
|
84
85
|
bindToTable(filteredRows$: ListModel<Row>, visibleRows$: ListModel<Row>): void;
|
|
85
|
-
|
|
86
|
-
withTemporaryMultipleSelectionModel<R>(process: (selectionModel: MultipleSelectionModel<Row, any>) => Promise<R>): Promise<R>;
|
|
86
|
+
addSelectionColumn(selectionModel?: SelectionModel<Row>, showSelectionColumn?: ValueModel<boolean> | boolean): SelectionColumnModel<Row>;
|
|
87
87
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Injector
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
2
|
import { ValueModel } from "@coolon/pectin";
|
|
3
3
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
4
4
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
5
5
|
import { TableFilterModel } from "../filter/table-filter-model";
|
|
6
|
-
import { TableBodyComponent } from "../renderer/table-body/table-body.component";
|
|
7
6
|
import { TableModel } from "./table-model";
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
/**
|
|
@@ -66,26 +65,23 @@ import * as i0 from "@angular/core";
|
|
|
66
65
|
* }
|
|
67
66
|
* }
|
|
68
67
|
*/
|
|
69
|
-
export declare class TableComponent<Row
|
|
68
|
+
export declare class TableComponent<Row> extends AbstractTableComponent<Row> {
|
|
70
69
|
accessor tableModel: TableModel<Row>;
|
|
71
70
|
accessor filterModel: TableFilterModel<Row>;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
* Set to true to scroll mode to classic or virtual (default). Virtual scrolll performs better for large data sets but clamps the row height. Classic scroll
|
|
75
|
-
* renders all rows but allows row heights to grow.
|
|
76
|
-
*/
|
|
77
|
-
accessor scrollMode$: ValueModel<TableComponent.ScrollMode>;
|
|
78
|
-
accessor scrollMode: TableComponent.ScrollMode;
|
|
71
|
+
accessor enablePaging$: ValueModel<boolean>;
|
|
72
|
+
accessor enablePaging: boolean;
|
|
79
73
|
private _footerContentAdded;
|
|
80
74
|
private readonly _filteredRows$;
|
|
81
|
-
|
|
75
|
+
private _pageSize;
|
|
76
|
+
private pagedListModel;
|
|
82
77
|
constructor(injector: Injector);
|
|
83
78
|
ngOnInit(): void;
|
|
84
79
|
protected getModel(): AbstractTableModel<Row>;
|
|
80
|
+
get pageController(): import("@coolon/pectin").PageController;
|
|
81
|
+
private configurePaging;
|
|
82
|
+
private disposeOfPagedListModel;
|
|
85
83
|
footerContentChanged($event: any): void;
|
|
84
|
+
updatePageSize(count: number): void;
|
|
86
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "
|
|
88
|
-
}
|
|
89
|
-
export declare namespace TableComponent {
|
|
90
|
-
type ScrollMode = Omit<TableBodyComponent.ScrollMode, 'none'>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "enablePaging$": { "alias": "enablePaging$"; "required": false; }; "enablePaging": { "alias": "enablePaging"; "required": false; }; }, {}, never, ["[footer]"], false, never>;
|
|
91
87
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
|
|
2
|
+
import { Command } from '@coolon/pectin';
|
|
3
|
+
import { CommandFace } from '../../commands/command-face';
|
|
4
|
+
import { DisposableComponent } from '../../disposable-component';
|
|
5
|
+
import { CellRenderer } from '../renderer/cell-renderer';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare class MenuItemData<T extends object> {
|
|
8
|
+
readonly factory: Command.Factory<T, void>;
|
|
9
|
+
readonly face: CommandFace;
|
|
10
|
+
constructor(factory: Command.Factory<T, void>, face: CommandFace);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare class TableRowMenuComponent<T extends object> extends DisposableComponent implements CellRenderer<T> {
|
|
16
|
+
value: T;
|
|
17
|
+
menu: MatMenuTrigger;
|
|
18
|
+
readonly actions: MenuItemData<T>[];
|
|
19
|
+
readonly moreActions: MenuItemData<T>[];
|
|
20
|
+
registerAction(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
|
|
21
|
+
registerMoreAction(commandFactory: Command.Factory<T, void>, properties: CommandFace): void;
|
|
22
|
+
constructor();
|
|
23
|
+
createMoreMenuCommand(item: MenuItemData<T>, value: T): Command<void>;
|
|
24
|
+
private closeMoreMenu;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowMenuComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowMenuComponent<any>, "aup-table-row-menu", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Disposable, DisposedWith, GarbageCollector, ListModel } from '@coolon/pectin';
|
|
1
|
+
import { Disposable, DisposedWith, GarbageCollector, ListModel, ValueModel } from '@coolon/pectin';
|
|
2
2
|
export declare class TreeExpansionModel<T> extends GarbageCollector {
|
|
3
3
|
private readonly _source$;
|
|
4
4
|
private readonly collapsedIds;
|
|
@@ -8,7 +8,7 @@ export declare class TreeExpansionModel<T> extends GarbageCollector {
|
|
|
8
8
|
bindToTable(source$: ListModel<T>, visibleRows$: ListModel<T>): Disposable;
|
|
9
9
|
get visibleRows$(): ListModel<T>;
|
|
10
10
|
protected identityOf(row: T): any;
|
|
11
|
-
get isExpandedPredicate$():
|
|
11
|
+
get isExpandedPredicate$(): ValueModel<(node: T) => boolean>;
|
|
12
12
|
expand(node: T): void;
|
|
13
13
|
collapse(node: T): void;
|
|
14
14
|
canExpand(node: T): boolean;
|