@coolon/angular-ui-powerups 16.1.0-aplpha.48 → 16.1.0-aplpha.5
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/assets/activities/activities.scss +3 -3
- package/assets/activities/input-activities.scss +2 -10
- package/assets/form.scss +29 -54
- package/assets/icons.scss +1 -1
- package/assets/interaction/editor/inline-string-editor.scss +0 -4
- package/assets/interaction.scss +1 -1
- package/assets/styles.scss +0 -2
- package/assets/table.scss +17 -19
- package/assets/tabs.scss +3 -2
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- 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 +4 -4
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +4 -4
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +81 -0
- package/esm2022/lib/components/commands/command/command.component.mjs +10 -7
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +5 -13
- 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 +1 -1
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +14 -14
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +8 -8
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +7 -7
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +9 -9
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +18 -11
- package/esm2022/lib/components/commands/separator.component.mjs +4 -4
- package/esm2022/lib/components/components.module.mjs +38 -41
- package/esm2022/lib/components/disposable-component.mjs +40 -11
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +9 -5
- package/esm2022/lib/components/exports.mjs +3 -6
- 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 +12 -11
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -6
- 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 +7 -7
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +7 -7
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +14 -15
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +9 -9
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +7 -7
- package/esm2022/lib/components/icon/icon.component.mjs +6 -9
- 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 +12 -12
- package/esm2022/lib/components/tables/abstract-table-model.mjs +21 -21
- package/esm2022/lib/components/tables/abstract-table.component.mjs +5 -5
- package/esm2022/lib/components/tables/column/column-list-model.mjs +44 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +6 -17
- 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 +3 -3
- 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 +8 -11
- 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 +3 -1
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +7 -5
- 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 +7 -14
- 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 +28 -28
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +4 -4
- 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 +4 -4
- package/esm2022/lib/components/tables/renderer/table-more-menu/table-more-menu.component.mjs +7 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
- package/esm2022/lib/components/tables/table/table.component.mjs +6 -6
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +5 -5
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +1 -1
- 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 +6 -6
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +2 -2
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +5 -5
- package/esm2022/lib/components/track.mjs +1 -1
- package/esm2022/lib/components/types/bounds.class.mjs +1 -1
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +4 -4
- package/esm2022/lib/directives/command.directive.mjs +11 -11
- 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 +4 -4
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/activity-ref.mjs +2 -2
- package/esm2022/lib/interaction/activity.mjs +7 -7
- package/esm2022/lib/interaction/alert.mjs +1 -1
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +4 -4
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +6 -5
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +4 -4
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +6 -6
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +6 -4
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +3 -3
- 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 +5 -5
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +5 -5
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
- 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 +8 -8
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +6 -6
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +4 -5
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +4 -7
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +6 -11
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +5 -6
- package/esm2022/lib/interaction/confirm.mjs +1 -1
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +5 -5
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction.module.mjs +23 -23
- package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction.service.mjs +6 -6
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +9 -8
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +2 -1
- 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 +6 -6
- 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 +5 -5
- 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 +1 -1
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +7 -5
- package/esm2022/lib/place/guards/place.guard.mjs +5 -5
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-component.mjs +43 -29
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +1 -1
- package/esm2022/lib/place/place-history.mjs +7 -5
- package/esm2022/lib/place/place-router.mjs +18 -20
- package/esm2022/lib/place/place.decorator.mjs +1 -1
- package/esm2022/lib/place/place.module.mjs +12 -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 +1 -1
- package/esm2022/lib/place/route/parameter-definition.mjs +1 -1
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +1 -1
- 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 +1 -1
- package/esm2022/lib/place/visit-segment.mjs +1 -1
- package/esm2022/lib/place/visit.mjs +1 -1
- 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 +1976 -2119
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -1
- package/lib/components/cards/card-stack/card-stack.component.d.ts +68 -0
- package/lib/components/commands/command/command.component.d.ts +4 -3
- package/lib/components/commands/command-face/command-face.component.d.ts +0 -2
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +3 -3
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +7 -3
- package/lib/components/components.module.d.ts +20 -20
- package/lib/components/disposable-component.d.ts +8 -3
- package/lib/components/empty-state/empty-state.component.d.ts +4 -1
- package/lib/components/exports.d.ts +2 -5
- 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/select-input/select-input.component.d.ts +3 -4
- 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 +4 -4
- package/lib/components/tables/abstract-table-model.d.ts +4 -6
- package/lib/components/tables/abstract-table.component.d.ts +2 -2
- package/lib/components/tables/column/column-list-model.d.ts +13 -0
- package/lib/components/tables/column/column-model.d.ts +2 -6
- package/lib/components/tables/column/custom-template-column-model.d.ts +1 -2
- package/lib/components/tables/column/custom-value-column-model.d.ts +1 -2
- package/lib/components/tables/column/editor-controls-column-model.d.ts +1 -2
- package/lib/components/tables/column/list-propery-column-model.d.ts +1 -2
- package/lib/components/tables/column/property-column-model.d.ts +1 -2
- package/lib/components/tables/column/selection-column-model.d.ts +1 -2
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +3 -3
- 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/renderer/cell-portal-ref.d.ts +3 -2
- 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 +0 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +9 -9
- 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.component.d.ts +1 -1
- package/lib/components/tables/table/table.component.d.ts +2 -2
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +1 -1
- 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-column-model.d.ts +1 -2
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/directives/command.directive.d.ts +2 -2
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/exports.d.ts +0 -1
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +2 -2
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -2
- 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 +1 -1
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
- package/lib/interaction/interaction.module.d.ts +6 -6
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +2 -1
- 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/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-component.d.ts +13 -3
- package/lib/place/place-history.d.ts +1 -0
- package/lib/place/place-router.d.ts +2 -2
- package/lib/place/place.decorator.d.ts +1 -1
- package/lib/place/place.module.d.ts +5 -6
- package/lib/place/route/json-types.d.ts +3 -1
- 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 +20 -16
- package/assets/place.scss +0 -31
- 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 -47
- 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/directives/resize-observer.directive.mjs +0 -40
- 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 -14
- 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/directives/resize-observer.directive.d.ts +0 -16
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AbstractComputedListModel, ListModel } from '@coolon/pectin';
|
|
2
|
+
import { ColumnModel } from './column-model';
|
|
3
|
+
export declare class ColumnListModel<Row> extends AbstractComputedListModel<ColumnModel<Row>, boolean> {
|
|
4
|
+
private readonly _allColumns$;
|
|
5
|
+
private readonly columnsById$;
|
|
6
|
+
constructor();
|
|
7
|
+
get allColumns$(): ListModel<ColumnModel<Row>>;
|
|
8
|
+
getColumn(id: string): ColumnModel<Row>;
|
|
9
|
+
hasColumn(id: string): boolean;
|
|
10
|
+
hasMatchingColumn(row: Row, regex: RegExp): boolean;
|
|
11
|
+
addColumn<C extends ColumnModel<Row>>(column: C, index?: number): C;
|
|
12
|
+
doComputeValue(): ColumnModel<Row>[];
|
|
13
|
+
}
|
|
@@ -3,11 +3,10 @@ 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
11
|
export interface RowData<Row> {
|
|
13
12
|
row: Row;
|
|
@@ -24,7 +23,6 @@ export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends
|
|
|
24
23
|
}
|
|
25
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 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 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
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
4
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
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
4
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
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
6
5
|
export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
|
|
7
|
-
constructor(columnId: string,
|
|
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
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
7
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
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
8
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,12 +1,11 @@
|
|
|
1
1
|
import { ThemePalette } from "@angular/material/core";
|
|
2
2
|
import { Proxified, SelectionModel } from "@coolon/pectin";
|
|
3
3
|
import { ColumnModel } from "./column-model";
|
|
4
|
-
import { ColumnOrderManager } from "./column-order-manager";
|
|
5
4
|
export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
|
|
6
5
|
readonly selectionModel: Proxified<SelectionModel<Row>>;
|
|
7
6
|
private _enableHeaderControls;
|
|
8
7
|
private _color;
|
|
9
|
-
constructor(columnId: string,
|
|
8
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: Proxified<SelectionModel<Row>>);
|
|
10
9
|
useSelectionModel(selectionModel: SelectionModel<Row>): void;
|
|
11
10
|
protected getDefaultHeaderText(): string;
|
|
12
11
|
enableHeaderControls(enable: boolean): this;
|
|
@@ -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 DisposableComponent {
|
|
|
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
|
-
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";
|
|
@@ -10,8 +10,9 @@ export declare const CELL_EDITOR_PORTAL: unique symbol;
|
|
|
10
10
|
export declare const PORTAL_RENDERER_COMPONENT: unique symbol;
|
|
11
11
|
export declare const PORTAL_EDITOR_COMPONENT: unique symbol;
|
|
12
12
|
export declare abstract class CellPortalRef<Row, Host, Portal> {
|
|
13
|
-
|
|
14
|
-
abstract
|
|
13
|
+
constructor();
|
|
14
|
+
abstract initialiseHost(host: Host, columnModel: ColumnModel<Row>): any;
|
|
15
|
+
abstract onPortalAttached(host: Host, portalComponent: Portal): any;
|
|
15
16
|
}
|
|
16
17
|
export declare class CellHeaderPortalRef<Row, C> extends CellPortalRef<Row, TableHeaderCellComponent, C> {
|
|
17
18
|
readonly componentType: ComponentType<C>;
|
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
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { ListModel, ListModelChain,
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
|
|
2
|
+
import { ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
|
|
3
3
|
import { ResizeAwareComponent } from "../../../resize-aware.component";
|
|
4
4
|
import { AbstractTableModel } from "../../abstract-table-model";
|
|
5
5
|
import { ColumnModel } from "../../column/column-model";
|
|
@@ -17,14 +17,14 @@ export declare class TableBodyComponent<Row> extends ResizeAwareComponent implem
|
|
|
17
17
|
* containment area.
|
|
18
18
|
*/
|
|
19
19
|
enableScrolling: boolean;
|
|
20
|
-
columns
|
|
21
|
-
columnIds
|
|
22
|
-
private columnsById
|
|
23
|
-
readonly _visibleRowCount
|
|
24
|
-
private readonly headerHeight
|
|
25
|
-
|
|
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;
|
|
26
26
|
baseCssClass: string;
|
|
27
|
-
constructor();
|
|
27
|
+
constructor(elementRef: ElementRef, ngZone: NgZone);
|
|
28
28
|
get hideHeader(): boolean;
|
|
29
29
|
isEditing(row: Row): boolean;
|
|
30
30
|
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): 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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkPortalOutletAttachedRef, ComponentPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { MatMenuTrigger } from "@angular/material/menu";
|
|
2
|
+
import { MatLegacyMenuTrigger as MatMenuTrigger } from "@angular/material/legacy-menu";
|
|
3
3
|
import { ValueModelChain } from "@coolon/pectin";
|
|
4
4
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
5
5
|
import { DisposableComponent } from "../../../disposable-component";
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
@@ -65,7 +65,7 @@ import * as i0 from "@angular/core";
|
|
|
65
65
|
* }
|
|
66
66
|
* }
|
|
67
67
|
*/
|
|
68
|
-
export declare class TableComponent<Row> extends AbstractTableComponent<Row>
|
|
68
|
+
export declare class TableComponent<Row> extends AbstractTableComponent<Row> {
|
|
69
69
|
accessor tableModel: TableModel<Row>;
|
|
70
70
|
accessor filterModel: TableFilterModel<Row>;
|
|
71
71
|
accessor enablePaging$: ValueModel<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
1
|
+
import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
|
|
2
2
|
import { Command } from '@coolon/pectin';
|
|
3
3
|
import { CommandFace } from '../../commands/command-face';
|
|
4
4
|
import { DisposableComponent } from '../../disposable-component';
|
|
@@ -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;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
2
|
import { Types } from '@coolon/pectin';
|
|
3
3
|
import { ColumnModel } from '../column/column-model';
|
|
4
|
-
import { ColumnOrderManager } from "../column/column-order-manager";
|
|
5
4
|
import { TreeLabelCellRendererComponent } from './tree-label-cell-renderer/tree-label-cell-renderer.component';
|
|
6
5
|
import { TreeTableModel } from './tree-table-model';
|
|
7
6
|
export declare class TreeLabelColumnModel<Row> extends ColumnModel<Row> {
|
|
8
7
|
readonly expansionModel: TreeTableModel<Row>;
|
|
9
8
|
private labelFactory;
|
|
10
9
|
private iconFactory;
|
|
11
|
-
constructor(columnId: string,
|
|
10
|
+
constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeTableModel<Row>);
|
|
12
11
|
pluck<P extends Types.StringValuePropertiesOf<Row>>(property: P): void;
|
|
13
12
|
useLabel(factory: (row: Row) => string): void;
|
|
14
13
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
2
|
import { TreeNode } from '@coolon/typescript-utilities';
|
|
3
3
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
4
4
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
@@ -65,7 +65,7 @@ import * as i0 from "@angular/core";
|
|
|
65
65
|
* }
|
|
66
66
|
* }
|
|
67
67
|
*/
|
|
68
|
-
export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T>
|
|
68
|
+
export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> {
|
|
69
69
|
accessor treeTableModel: TreeTableModel<T>;
|
|
70
70
|
accessor expansionModel: TreeExpansionModel<T>;
|
|
71
71
|
constructor(injector: Injector);
|
|
@@ -22,7 +22,7 @@ export declare class MarkdownComponent extends DisposableComponent implements On
|
|
|
22
22
|
accessor content$: ValueModel<string>;
|
|
23
23
|
accessor content: string;
|
|
24
24
|
inline: boolean;
|
|
25
|
-
constructor(platform:
|
|
25
|
+
constructor(platform: Object, element: ElementRef<HTMLElement>, markdownService: MarkdownService);
|
|
26
26
|
private extractInnerContent;
|
|
27
27
|
private renderContent;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownComponent, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatButton } from '@angular/material/button';
|
|
3
|
-
import { MatMenuItem } from '@angular/material/menu';
|
|
2
|
+
import { MatLegacyButton as MatButton } from '@angular/material/legacy-button';
|
|
3
|
+
import { MatLegacyMenuItem as MatMenuItem } from '@angular/material/legacy-menu';
|
|
4
4
|
import { Command, GarbageCollector, UnaryCommand } from '@coolon/pectin';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CommandDirective<P = any> extends GarbageCollector implements OnInit, OnDestroy, AfterViewInit {
|
|
@@ -7,12 +7,12 @@ import * as i5 from "./garbage-collector.directive";
|
|
|
7
7
|
import * as i6 from "@angular/common";
|
|
8
8
|
import * as i7 from "@angular/platform-browser/animations";
|
|
9
9
|
import * as i8 from "@angular/forms";
|
|
10
|
-
import * as i9 from "@angular/material/input";
|
|
11
|
-
import * as i10 from "@angular/material/form-field";
|
|
12
|
-
import * as i11 from "@angular/material/select";
|
|
13
|
-
import * as i12 from "@angular/material/tabs";
|
|
10
|
+
import * as i9 from "@angular/material/legacy-input";
|
|
11
|
+
import * as i10 from "@angular/material/legacy-form-field";
|
|
12
|
+
import * as i11 from "@angular/material/legacy-select";
|
|
13
|
+
import * as i12 from "@angular/material/legacy-tabs";
|
|
14
14
|
export declare class DirectivesModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective], [typeof i6.CommonModule, typeof i7.BrowserAnimationsModule, typeof i8.FormsModule, typeof i9.MatLegacyInputModule, typeof i10.MatLegacyFormFieldModule, typeof i11.MatLegacySelectModule, typeof i12.MatLegacyTabsModule], [typeof i1.CommandDirective, typeof i2.FocusBindingDirective, typeof i3.HighlightPipe, typeof i4.HighlightTextModelDirective, typeof i5.GarbageCollectorDirective]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
18
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Constructable, Deferred } from '@coolon/pectin';
|
|
1
|
+
import { Constructable, Deferred, ValueModel } from '@coolon/pectin';
|
|
2
2
|
import { Activity } from './activity';
|
|
3
3
|
import { InteractionContext } from './interaction-context';
|
|
4
4
|
export declare class ActivityRef<D, R, E> {
|
|
@@ -20,5 +20,5 @@ export declare class ActivityRef<D, R, E> {
|
|
|
20
20
|
protected finishActivity(resolveOrReject: (deferred: Deferred<R>) => void): void;
|
|
21
21
|
cancel(): void;
|
|
22
22
|
get activityResult(): Promise<R>;
|
|
23
|
-
get activityBusy():
|
|
23
|
+
get activityBusy(): ValueModel<boolean>;
|
|
24
24
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, InjectionToken } from "@angular/core";
|
|
2
2
|
import { Command, Disposable, ValueModel } from "@coolon/pectin";
|
|
3
|
-
import {
|
|
3
|
+
import { DisposableComponent } from "../components/disposable-component";
|
|
4
4
|
import { ActivityActionsComponent } from "./components/activity-actions/activity-actions.component";
|
|
5
5
|
import { InteractionContext } from "./interaction-context";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const ACTIVITY_DATA: InjectionToken<any>;
|
|
8
8
|
type OnActivityReadyParams<D, R, E = any> = (activity: Activity<D, R, E>) => void;
|
|
9
|
-
export declare class Activity<D, R, E = any> extends
|
|
9
|
+
export declare class Activity<D, R, E = any> extends DisposableComponent implements AfterViewInit {
|
|
10
10
|
readonly activityData: D;
|
|
11
11
|
private readonly activityReadyListeners;
|
|
12
12
|
private readonly _busy$;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryList } from "@angular/core";
|
|
2
|
-
import { MatTabGroup } from "@angular/material/tabs";
|
|
2
|
+
import { MatLegacyTabGroup as MatTabGroup } from "@angular/material/legacy-tabs";
|
|
3
3
|
import { BooleanValueModelChain, Constructable, DelegatingValueModel, Disposable, MutableValueModel } from "@coolon/pectin";
|
|
4
4
|
import { PlaceRouter } from "../../../place/place-router";
|
|
5
5
|
import { AbstractInteractionContext } from "../../abstract-interaction-context";
|
package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ComponentFactoryResolver, Injector, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Activity } from '../../../activity';
|
|
3
3
|
import { ActivityRef } from '../../../activity-ref';
|
|
4
4
|
import { InteractionContext } from '../../../interaction-context';
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
|
|
8
8
|
* external service.
|
|
9
9
|
*/
|
|
10
|
-
export declare class ActivityOutletComponent<D, R, E> {
|
|
10
|
+
export declare class ActivityOutletComponent<D, R, E> implements OnInit {
|
|
11
11
|
private componentFactoryResolver;
|
|
12
12
|
private viewContainerRef;
|
|
13
13
|
private injector;
|
|
@@ -17,6 +17,7 @@ export declare class ActivityOutletComponent<D, R, E> {
|
|
|
17
17
|
set activityRef(activityRef: ActivityRef<D, R, E>);
|
|
18
18
|
get activityRef(): ActivityRef<D, R, E>;
|
|
19
19
|
constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
20
|
+
ngOnInit(): void;
|
|
20
21
|
loadActivity(activityRef: ActivityRef<D, R, E>): void;
|
|
21
22
|
get component(): Activity<D, R, E>;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityOutletComponent<any, any, any>, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { MatTabChangeEvent, MatTabsConfig } from "@angular/material/tabs";
|
|
2
|
+
import { MatLegacyTabChangeEvent as MatTabChangeEvent, MatLegacyTabsConfig as MatTabsConfig } from "@angular/material/legacy-tabs";
|
|
3
3
|
import { Constructable } from "@coolon/pectin";
|
|
4
4
|
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
5
|
import { Activity } from "../../activity";
|
|
@@ -5,6 +5,6 @@ export declare class StringInputActivity extends InputActivity<string> {
|
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<StringInputActivity, "aup-string-input-activity", never, {}, {}, never, never, false, never>;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace StringInputActivity {
|
|
8
|
-
interface Data extends InputActivity.Data<
|
|
8
|
+
interface Data extends InputActivity.Data<String> {
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -3,7 +3,7 @@ import { Constructable, GarbageCollector } from '@coolon/pectin';
|
|
|
3
3
|
import { Activity } from '../activity';
|
|
4
4
|
import { InteractionContext } from '../interaction-context';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class InteractionContextTriggerFor<D, R, E> extends GarbageCollector {
|
|
7
7
|
aupInteractionContextTriggerFor: Pick<InteractionContext, 'startActivity' | 'isActive' | 'cancelActiveActivity'>;
|
|
8
8
|
activityClass: Constructable<Activity<D, R, E>>;
|
|
9
9
|
activityData?: D;
|
|
@@ -15,6 +15,6 @@ export declare class InteractionContextTriggerForDirective<D, R, E> extends Garb
|
|
|
15
15
|
onClick(event: MouseEvent): void;
|
|
16
16
|
protected startActivity(): void;
|
|
17
17
|
prepareActivityData(): D;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionContextTriggerFor<any, any, any>, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InteractionContextTriggerFor<any, any, any>, "[aupInteractionContextTriggerFor]", never, { "aupInteractionContextTriggerFor": { "alias": "aupInteractionContextTriggerFor"; "required": false; }; "activityClass": { "alias": "activityClass"; "required": false; }; "activityData": { "alias": "activityData"; "required": false; }; "activityDataFactory": { "alias": "activityDataFactory"; "required": false; }; }, { "activityDone": "activityDone"; "activityCancelled": "activityCancelled"; }, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -25,9 +25,9 @@ import * as i23 from "./components/editors/inline-string-editor/inline-string-ed
|
|
|
25
25
|
import * as i24 from "./components/abstract-dialog.component";
|
|
26
26
|
import * as i25 from "./components/abstract-confirm-dialog.component";
|
|
27
27
|
import * as i26 from "@angular/common";
|
|
28
|
-
import * as i27 from "@angular/material/button";
|
|
29
|
-
import * as i28 from "@angular/material/dialog";
|
|
30
|
-
import * as i29 from "@angular/material/tabs";
|
|
28
|
+
import * as i27 from "@angular/material/legacy-button";
|
|
29
|
+
import * as i28 from "@angular/material/legacy-dialog";
|
|
30
|
+
import * as i29 from "@angular/material/legacy-tabs";
|
|
31
31
|
import * as i30 from "@angular/cdk/portal";
|
|
32
32
|
import * as i31 from "@angular/router";
|
|
33
33
|
import * as i32 from "@angular/material/icon";
|
|
@@ -35,11 +35,11 @@ import * as i33 from "../directives/directives.module";
|
|
|
35
35
|
import * as i34 from "@angular/flex-layout";
|
|
36
36
|
import * as i35 from "../components/components.module";
|
|
37
37
|
import * as i36 from "@angular/forms";
|
|
38
|
-
import * as i37 from "@angular/material/input";
|
|
39
|
-
import * as i38 from "@angular/material/form-field";
|
|
38
|
+
import * as i37 from "@angular/material/legacy-input";
|
|
39
|
+
import * as i38 from "@angular/material/legacy-form-field";
|
|
40
40
|
import * as i39 from "@angular/cdk/a11y";
|
|
41
41
|
export declare class InteractionModule {
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.AddItemInteractionContextComponent, typeof i9.ActivityActionsComponent, typeof i10.PopupInteractionContextComponent, typeof i11.StringInputActivity, typeof i12.SelectInputActivity, typeof i13.InputActivity, typeof i14.
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InteractionModule, [typeof i1.ActivityContainerComponent, typeof i2.ConfirmationDialogComponent, typeof i3.ConfirmThenDialogComponent, typeof i4.ConfirmThenExecuteDialogComponent, typeof i5.AlertDialogComponent, typeof i6.ActivityOutletComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.AddItemInteractionContextComponent, typeof i9.ActivityActionsComponent, typeof i10.PopupInteractionContextComponent, typeof i11.StringInputActivity, typeof i12.SelectInputActivity, typeof i13.InputActivity, typeof i14.InteractionContextTriggerFor, typeof i15.Activity, typeof i16.ActivityTitleComponent, typeof i17.ActivityBodyComponent, typeof i9.ActivityActionsComponent, typeof i18.AbstractActivityTriggerComponent, typeof i19.PopupActivityTriggerComponent, typeof i20.InlineActivityTriggerComponent, typeof i21.ModalActivityTriggerComponent, typeof i22.AddCardActivityComponent, typeof i23.InlineStringEditorComponent, typeof i24.AbstractDialogComponent, typeof i25.AbstractConfirmDialogComponent], [typeof i26.CommonModule, typeof i27.MatLegacyButtonModule, typeof i28.MatLegacyDialogModule, typeof i29.MatLegacyTabsModule, typeof i30.PortalModule, typeof i31.RouterModule, typeof i32.MatIconModule, typeof i33.DirectivesModule, typeof i34.FlexModule, typeof i34.GridModule, typeof i35.ComponentsModule, typeof i36.FormsModule, typeof i37.MatLegacyInputModule, typeof i38.MatLegacyFormFieldModule, typeof i39.A11yModule], [typeof i1.ActivityContainerComponent, typeof i6.ActivityOutletComponent, typeof i16.ActivityTitleComponent, typeof i7.InPlaceInteractionContextComponent, typeof i8.AddItemInteractionContextComponent, typeof i9.ActivityActionsComponent, typeof i10.PopupInteractionContextComponent, typeof i14.InteractionContextTriggerFor, typeof i11.StringInputActivity, typeof i12.SelectInputActivity, typeof i17.ActivityBodyComponent, typeof i19.PopupActivityTriggerComponent, typeof i20.InlineActivityTriggerComponent, typeof i21.ModalActivityTriggerComponent, typeof i22.AddCardActivityComponent, typeof i23.InlineStringEditorComponent]>;
|
|
44
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<InteractionModule>;
|
|
45
45
|
}
|
package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { MatDialog
|
|
2
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
|
|
3
4
|
import { BooleanValueModelChain } from '@coolon/pectin';
|
|
4
5
|
import { InteractionContext } from '../../interaction-context';
|
|
5
6
|
import { InteractionService } from '../interaction.service';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { MatDialog
|
|
1
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
2
|
+
import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
|
|
2
3
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
3
4
|
import { AbstractInteractionContext } from '../../abstract-interaction-context';
|
|
4
5
|
import { Activity } from '../../activity';
|
|
@@ -24,7 +24,6 @@ export declare class AbstractPlaceNavigationComponent extends DisposableComponen
|
|
|
24
24
|
private activePlaceDefinition;
|
|
25
25
|
private placeFaces;
|
|
26
26
|
readonly trackByPlaceDef: TrackByFunction<MenuItem>;
|
|
27
|
-
private authorisedPlaces$;
|
|
28
27
|
constructor(placeRouter: PlaceRouter);
|
|
29
28
|
protected handlePlaceOutLetChanged(outlet: PlaceOutletComponent): void;
|
|
30
29
|
getNavigationFace(placeDef: PlaceDefinition): CommandFace;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class NotAuthorisedNoticeComponent {
|
|
3
|
+
constructor();
|
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotAuthorisedNoticeComponent, never>;
|
|
4
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotAuthorisedNoticeComponent, "aup-not-authorised-notice", never, {}, {}, never, never, false, never>;
|
|
5
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { MutableValueModel
|
|
2
|
+
import { MutableValueModel } from "@coolon/pectin";
|
|
3
3
|
import { PlaceRouter } from '../../place-router';
|
|
4
4
|
import { AbstractPlaceNavigationComponent } from '../abstract-place-navigation.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -49,7 +49,6 @@ export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigatio
|
|
|
49
49
|
accessor expanded$: MutableValueModel<boolean>;
|
|
50
50
|
accessor expanded: boolean;
|
|
51
51
|
navEndTemplate: TemplateRef<any>;
|
|
52
|
-
readonly homeIcon$: ValueModel<string>;
|
|
53
52
|
constructor(router: PlaceRouter);
|
|
54
53
|
expandMenu(): void;
|
|
55
54
|
collapseMenu(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class NoopAuthGuard {
|
|
4
|
+
constructor();
|
|
4
5
|
canActivate(activatedRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean | UrlTree>;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoopAuthGuard, never>;
|
|
6
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<NoopAuthGuard>;
|