@coolon/angular-ui-powerups 16.1.0-alpha.222 → 16.1.0-alpha.223
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/esm2022/lib/components/cards/abstract-card-container.component.mjs +1 -1
- package/esm2022/lib/components/commands/command/command.component.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 +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +1 -1
- package/esm2022/lib/components/commands/separator.component.mjs +1 -1
- package/esm2022/lib/components/components.module.mjs +3 -3
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +1 -1
- package/esm2022/lib/components/forms/abstract-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +1 -1
- package/esm2022/lib/components/loadable-component.mjs +1 -1
- package/esm2022/lib/components/resize-aware.component.mjs +1 -1
- package/esm2022/lib/components/tables/abstract-table-model.mjs +1 -1
- package/esm2022/lib/components/tables/abstract-table.component.mjs +1 -1
- package/esm2022/lib/components/tables/column/column-manager.mjs +1 -1
- package/esm2022/lib/components/tables/column/column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +1 -1
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/property-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +1 -1
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +1 -1
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/editable-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +1 -1
- package/esm2022/lib/components/tables/table/table-model.mjs +1 -1
- package/esm2022/lib/components/tables/table/table.component.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-label-cell-renderer/tree-label-cell-renderer.component.mjs +1 -2
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +1 -1
- package/esm2022/lib/directives/directives.module.mjs +1 -1
- package/esm2022/lib/directives/highlight.pipe.mjs +1 -1
- package/esm2022/lib/directives/resize-observer.directive.mjs +1 -1
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/activity-context.mjs +1 -1
- package/esm2022/lib/interaction/activity-ref.mjs +1 -1
- package/esm2022/lib/interaction/activity.mjs +1 -1
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +1 -1
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +1 -1
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +1 -1
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +1 -1
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +1 -1
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context-provider.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction.module.mjs +2 -2
- 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 +1 -1
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +1 -1
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +1 -1
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +1 -1
- package/esm2022/lib/place/guards/place.guard.mjs +1 -1
- 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/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 +1 -1
- 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 +1 -1
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +1 -1
- package/esm2022/lib/place/navigation/session/navigating.mjs +1 -1
- 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-auth-service.mjs +3 -3
- package/esm2022/lib/place/place-component.mjs +6 -8
- package/esm2022/lib/place/place-definition.mjs +1 -1
- package/esm2022/lib/place/place-history.mjs +1 -1
- package/esm2022/lib/place/place-metadata.mjs +16 -0
- package/esm2022/lib/place/place-router.mjs +3 -3
- package/esm2022/lib/place/place.module.mjs +2 -2
- package/esm2022/lib/place/route/parameter-decorators.mjs +2 -2
- 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 +1 -1
- package/esm2022/lib/place/url-snapshot.mjs +1 -1
- package/esm2022/lib/place/visit-segment.mjs +1 -1
- package/esm2022/lib/place/visit.mjs +4 -4
- package/fesm2022/coolon-angular-ui-powerups.mjs +434 -423
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/commands/group/popup-aware.component.d.ts +1 -1
- package/lib/components/commands/group/popup-container.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +1 -1
- package/lib/components/resize-aware.component.d.ts +1 -1
- package/lib/components/tables/abstract-table-model.d.ts +7 -7
- package/lib/components/tables/abstract-table.component.d.ts +2 -2
- package/lib/components/tables/column/column-manager.d.ts +1 -1
- package/lib/components/tables/column/column-model.d.ts +5 -5
- package/lib/components/tables/column/column-order-manager.d.ts +1 -1
- package/lib/components/tables/column/custom-template-column-model.d.ts +1 -1
- package/lib/components/tables/column/custom-value-column-model.d.ts +2 -2
- package/lib/components/tables/column/list-propery-column-model.d.ts +2 -2
- package/lib/components/tables/column/property-column-model.d.ts +4 -4
- package/lib/components/tables/column/selection-column-model.d.ts +1 -1
- package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
- package/lib/components/tables/filter/table-filter-model.d.ts +1 -1
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +1 -1
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +3 -3
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/renderer/editable-cell-renderer.d.ts +1 -1
- package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +1 -1
- package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +4 -4
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +2 -2
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +2 -2
- package/lib/components/tables/table/table.component.d.ts +1 -1
- package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-table-model.d.ts +1 -1
- package/lib/interaction/abstract-interaction-context.d.ts +4 -4
- package/lib/interaction/activity-context.d.ts +1 -1
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +1 -1
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -1
- package/lib/interaction/components/abstract-dialog.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -3
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +2 -2
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +2 -2
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +2 -2
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +1 -1
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +1 -1
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +2 -2
- package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +2 -2
- package/lib/interaction/components/editors/inline-string-editor/inline-editor-model.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +5 -5
- package/lib/interaction/components/input-activities/input-activity.d.ts +1 -1
- package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +5 -5
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +2 -2
- package/lib/interaction/in-place-interaction-context.d.ts +2 -2
- package/lib/interaction/interaction-context-provider.d.ts +2 -2
- package/lib/interaction/interaction-context.d.ts +3 -3
- package/lib/interaction/route-synchronisation-adapter.d.ts +2 -2
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +2 -2
- package/lib/interaction/services/interaction.service.d.ts +3 -3
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -2
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +3 -3
- package/lib/interaction/services/modal-interaction-context.factory.d.ts +2 -2
- package/lib/place/components/abstract-place-navigation.component.d.ts +2 -2
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +3 -3
- package/lib/place/guards/place.guard.d.ts +1 -1
- package/lib/place/navigation/place-component-deactivation-handler.d.ts +4 -4
- package/lib/place/navigation/session/abstract-pop-state-navigation.d.ts +1 -1
- package/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.d.ts +3 -3
- package/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.d.ts +3 -3
- package/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.d.ts +3 -3
- package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts +1 -1
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +1 -1
- package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +1 -1
- package/lib/place/navigation/session/navigation-context.d.ts +5 -5
- package/lib/place/navigation/session/navigation-session.d.ts +8 -8
- package/lib/place/place-access-guard.d.ts +1 -1
- package/lib/place/place-auth-service.d.ts +3 -3
- package/lib/place/place-component.d.ts +5 -6
- package/lib/place/place-definition.d.ts +2 -2
- package/lib/place/place-history.d.ts +3 -3
- package/lib/place/place-metadata.d.ts +8 -0
- package/lib/place/place-router.d.ts +4 -4
- package/lib/place/route/parameter-decorators.d.ts +2 -2
- package/lib/place/route/parameter-definition.d.ts +3 -3
- package/lib/place/route/parameter-sanitiser.d.ts +1 -1
- package/lib/place/route/parameter-snapshot.d.ts +1 -1
- package/lib/place/route/visit-segment-sanitiser.d.ts +3 -3
- package/lib/place/url-service.d.ts +1 -1
- package/lib/place/url-snapshot.d.ts +1 -1
- package/lib/place/visit-segment.d.ts +2 -2
- package/lib/place/visit.d.ts +2 -2
- package/package.json +3 -3
|
@@ -2,11 +2,11 @@ import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
|
2
2
|
import { MatTabChangeEvent, MatTabsConfig } from "@angular/material/tabs";
|
|
3
3
|
import { Constructable } from "@coolon/pectin";
|
|
4
4
|
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
|
-
import { Activity } from "../../activity";
|
|
6
|
-
import { Alert } from "../../alert";
|
|
7
|
-
import { Confirm } from "../../confirm";
|
|
8
|
-
import { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
-
import { InteractionContext } from "../../interaction-context";
|
|
5
|
+
import type { Activity } from "../../activity";
|
|
6
|
+
import type { Alert } from "../../alert";
|
|
7
|
+
import type { Confirm } from "../../confirm";
|
|
8
|
+
import type { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
+
import { type InteractionContext } from "../../interaction-context";
|
|
10
10
|
import { InteractionService } from "../../services/interaction.service";
|
|
11
11
|
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormValueModel, Validator } from '@coolon/pectin';
|
|
2
2
|
import { Enum } from 'typescript-string-enums';
|
|
3
|
-
import { CommandFace } from '../../../components/commands/command-face';
|
|
3
|
+
import type { CommandFace } from '../../../components/commands/command-face';
|
|
4
4
|
import { Activity } from '../../activity';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class InputActivity<T, D extends InputActivity.Data<T> = InputActivity.Data<T>> extends Activity<D, T> {
|
|
@@ -3,7 +3,7 @@ import { ComponentPortal } from '@angular/cdk/portal';
|
|
|
3
3
|
import { ElementRef } from '@angular/core';
|
|
4
4
|
import { Constructable, ValueModel } from '@coolon/pectin';
|
|
5
5
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
6
|
-
import { Activity } from '../../activity';
|
|
6
|
+
import type { Activity } from '../../activity';
|
|
7
7
|
import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
@@ -2,11 +2,11 @@ import { AfterViewInit } from "@angular/core";
|
|
|
2
2
|
import { MatTabsConfig } from "@angular/material/tabs";
|
|
3
3
|
import { Constructable } from "@coolon/pectin";
|
|
4
4
|
import { DisposableComponent } from "../../../components/disposable-component";
|
|
5
|
-
import { Activity } from "../../activity";
|
|
6
|
-
import { Alert } from "../../alert";
|
|
7
|
-
import { Confirm } from "../../confirm";
|
|
8
|
-
import { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
-
import { InteractionContext } from "../../interaction-context";
|
|
5
|
+
import type { Activity } from "../../activity";
|
|
6
|
+
import type { Alert } from "../../alert";
|
|
7
|
+
import type { Confirm } from "../../confirm";
|
|
8
|
+
import type { InPlaceInteractionContext } from "../../in-place-interaction-context";
|
|
9
|
+
import { type InteractionContext } from "../../interaction-context";
|
|
10
10
|
import { InteractionService } from "../../services/interaction.service";
|
|
11
11
|
import { ActivityContainerComponent } from "../activity-container/activity-container.component";
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Constructable, GarbageCollector } from '@coolon/pectin';
|
|
3
|
-
import { Activity } from '../activity';
|
|
4
|
-
import { InteractionContext } from '../interaction-context';
|
|
3
|
+
import type { Activity } from '../activity';
|
|
4
|
+
import type { InteractionContext } from '../interaction-context';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class InteractionContextTriggerForDirective<D, R, E> extends GarbageCollector {
|
|
7
7
|
aupInteractionContextTriggerFor: Pick<InteractionContext, 'startActivity' | 'isActive' | 'cancelActiveActivity'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InteractionContext } from './interaction-context';
|
|
2
|
-
import { InteractionService } from './services/interaction.service';
|
|
1
|
+
import type { InteractionContext } from './interaction-context';
|
|
2
|
+
import type { InteractionService } from './services/interaction.service';
|
|
3
3
|
export interface InPlaceInteractionContext extends InteractionContext {
|
|
4
4
|
onInplaceInteractionContextRegistered(id: string, api: InteractionService.Api): any;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Activity } from "./activity";
|
|
2
|
-
import { InteractionContext } from "./interaction-context";
|
|
1
|
+
import type { Activity } from "./activity";
|
|
2
|
+
import type { InteractionContext } from "./interaction-context";
|
|
3
3
|
export declare abstract class InteractionContextProvider {
|
|
4
4
|
static forActivity(activity: Activity<unknown, unknown>): {
|
|
5
5
|
getInteractionContext(): InteractionContext;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from "@angular/core";
|
|
2
2
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
3
|
-
import { Activity } from './activity';
|
|
4
|
-
import { Alert } from './alert';
|
|
5
|
-
import { Confirm } from './confirm';
|
|
3
|
+
import type { Activity } from './activity';
|
|
4
|
+
import type { Alert } from './alert';
|
|
5
|
+
import type { Confirm } from './confirm';
|
|
6
6
|
export declare const INTERACTION_CONTEXT: InjectionToken<InteractionContext>;
|
|
7
7
|
export interface InteractionContext extends Disposable, Disposable.Collector {
|
|
8
8
|
readonly identifier: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Activity } from './activity';
|
|
2
|
-
import { InteractionContext } from './interaction-context';
|
|
1
|
+
import type { Activity } from './activity';
|
|
2
|
+
import type { InteractionContext } from './interaction-context';
|
|
3
3
|
export interface RouteSynchronisationAdapter {
|
|
4
4
|
synchroniseRoute(interactionContext: InteractionContext, activities: Activity<unknown, unknown>[]): any;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListModel, ValueModel } from '@coolon/pectin';
|
|
2
|
-
import { PlaceComponent } from '../../place/place-component';
|
|
3
|
-
import { InteractionContext } from '../interaction-context';
|
|
2
|
+
import type { PlaceComponent } from '../../place/place-component';
|
|
3
|
+
import type { InteractionContext } from '../interaction-context';
|
|
4
4
|
export declare class InteractionServiceRoutingAdapter {
|
|
5
5
|
private readonly activeInteractionContextIds;
|
|
6
6
|
private readonly activeModalContext;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BooleanValueModelChain, Disposable, GarbageCollector, ListModel, ListModelChain, ValueModel } from "@coolon/pectin";
|
|
2
|
-
import { PlaceRouter } from "../../place/place-router";
|
|
3
|
-
import { InPlaceInteractionContext } from "../in-place-interaction-context";
|
|
4
|
-
import { InteractionContext } from "../interaction-context";
|
|
2
|
+
import type { PlaceRouter } from "../../place/place-router";
|
|
3
|
+
import type { InPlaceInteractionContext } from "../in-place-interaction-context";
|
|
4
|
+
import type { InteractionContext } from "../interaction-context";
|
|
5
5
|
import { InteractionServiceRoutingAdapter } from "./interaction-service-routing-adapter";
|
|
6
6
|
import { ModalInteractionContextFactory } from "./modal-interaction-context.factory";
|
|
7
7
|
import * as i0 from "@angular/core";
|
package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
3
3
|
import { BooleanValueModelChain } from '@coolon/pectin';
|
|
4
|
-
import { InteractionContext } from '../../interaction-context';
|
|
5
|
-
import { InteractionService } from '../interaction.service';
|
|
4
|
+
import type { InteractionContext } from '../../interaction-context';
|
|
5
|
+
import type { InteractionService } from '../interaction.service';
|
|
6
6
|
import { ModalInteractionContextFactory } from '../modal-interaction-context.factory';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const DIALOG_INTERACTION_SERVICE_DEFAULTS: InjectionToken<MatDialogConfig<any>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
2
2
|
import { Constructable, Disposable } from '@coolon/pectin';
|
|
3
3
|
import { AbstractInteractionContext } from '../../abstract-interaction-context';
|
|
4
|
-
import { Activity } from '../../activity';
|
|
5
|
-
import { InteractionContext } from '../../interaction-context';
|
|
6
|
-
import { InteractionService } from '../interaction.service';
|
|
4
|
+
import type { Activity } from '../../activity';
|
|
5
|
+
import type { InteractionContext } from '../../interaction-context';
|
|
6
|
+
import type { InteractionService } from '../interaction.service';
|
|
7
7
|
export declare class DialogInteractionContext extends AbstractInteractionContext {
|
|
8
8
|
readonly identifier: string;
|
|
9
9
|
private readonly api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InteractionContext } from '../interaction-context';
|
|
2
|
-
import { InteractionService } from './interaction.service';
|
|
1
|
+
import type { InteractionContext } from '../interaction-context';
|
|
2
|
+
import type { InteractionService } from './interaction.service';
|
|
3
3
|
export declare abstract class ModalInteractionContextFactory {
|
|
4
4
|
abstract createInteractionContext(identifier: string, api: InteractionService.Api): InteractionContext;
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TrackByFunction } from '@angular/core';
|
|
2
2
|
import { Command, Constructable, DelegatingValueModel, ListModel, ListModelChain, ValueModel } from '@coolon/pectin';
|
|
3
|
-
import { CommandFace } from '../../components/commands/command-face';
|
|
3
|
+
import type { CommandFace } from '../../components/commands/command-face';
|
|
4
4
|
import { DisposableComponent } from '../../components/disposable-component';
|
|
5
5
|
import { PlaceComponent } from '../place-component';
|
|
6
|
-
import { PlaceDefinition } from '../place-definition';
|
|
6
|
+
import type { PlaceDefinition } from '../place-definition';
|
|
7
7
|
import { PlaceRouter } from '../place-router';
|
|
8
8
|
import { PlaceOutletComponent } from './place-outlet/place-outlet.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -3,9 +3,9 @@ import { EventEmitter, InjectionToken } from '@angular/core';
|
|
|
3
3
|
import { ActivatedRoute, Router, RouterOutlet } from '@angular/router';
|
|
4
4
|
import { BooleanValueModelChain, Constructable, ListModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
5
5
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
6
|
-
import { PlaceComponent } from '../../place-component';
|
|
7
|
-
import { PlaceConfig } from '../../place-config';
|
|
8
|
-
import { PlaceDefinition } from '../../place-definition';
|
|
6
|
+
import type { PlaceComponent } from '../../place-component';
|
|
7
|
+
import { type PlaceConfig } from '../../place-config';
|
|
8
|
+
import type { PlaceDefinition } from '../../place-definition';
|
|
9
9
|
import { PlaceRouter } from '../../place-router';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT: InjectionToken<Constructable<any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
3
3
|
import { InteractionService } from '../../interaction/services/interaction.service';
|
|
4
|
-
import { PlaceAuthService } from "../place-auth-service";
|
|
4
|
+
import type { PlaceAuthService } from "../place-auth-service";
|
|
5
5
|
import { PlaceComponent } from '../place-component';
|
|
6
6
|
import { PlaceHistory } from '../place-history';
|
|
7
7
|
import { PlaceRouter } from '../place-router';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PlaceComponent } from '../place-component';
|
|
2
|
-
import { PlaceDefinition } from '../place-definition';
|
|
3
|
-
import { UrlSnapshot } from '../url-snapshot';
|
|
4
|
-
import { NavigationSession } from './session/navigation-session';
|
|
1
|
+
import type { PlaceComponent } from '../place-component';
|
|
2
|
+
import type { PlaceDefinition } from '../place-definition';
|
|
3
|
+
import type { UrlSnapshot } from '../url-snapshot';
|
|
4
|
+
import type { NavigationSession } from './session/navigation-session';
|
|
5
5
|
/**
|
|
6
6
|
* This class handles the logic around canDeactivate for a given router state transition. It's core responsibilities are:
|
|
7
7
|
* 1. Ensure we only ask the component to deactivate once on a given navigation cycle (since visit sanitisation can result in multiple round trips to through the router.)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavigationContext } from './navigation-context';
|
|
1
|
+
import type { NavigationContext } from './navigation-context';
|
|
2
2
|
import { NavigationSession } from './navigation-session';
|
|
3
3
|
export declare abstract class AbstractPopStateNavigation extends NavigationSession {
|
|
4
4
|
readonly poppedHistoryUrl: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart } from '@angular/router';
|
|
2
|
-
import { PlaceComponent } from '../../../place-component';
|
|
3
|
-
import { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
-
import { NavigationContext } from '../navigation-context';
|
|
2
|
+
import type { PlaceComponent } from '../../../place-component';
|
|
3
|
+
import type { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
+
import type { NavigationContext } from '../navigation-context';
|
|
5
5
|
import { EventCleanUpSession } from './event-clean-up-session';
|
|
6
6
|
/**
|
|
7
7
|
* The sequence of router events are:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationStart } from '@angular/router';
|
|
2
|
-
import { PlaceComponent } from '../../../place-component';
|
|
3
|
-
import { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
-
import { NavigationContext } from '../navigation-context';
|
|
2
|
+
import type { PlaceComponent } from '../../../place-component';
|
|
3
|
+
import type { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
+
import type { NavigationContext } from '../navigation-context';
|
|
5
5
|
import { EventCleanUpSession } from './event-clean-up-session';
|
|
6
6
|
/**
|
|
7
7
|
* This state handles the scenario where a link navigation triggered an interaction and the user clicked back a to cancel it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart } from '@angular/router';
|
|
2
|
-
import { PlaceComponent } from '../../../place-component';
|
|
3
|
-
import { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
-
import { NavigationContext } from '../navigation-context';
|
|
2
|
+
import type { PlaceComponent } from '../../../place-component';
|
|
3
|
+
import type { UrlSnapshot } from '../../../url-snapshot';
|
|
4
|
+
import type { NavigationContext } from '../navigation-context';
|
|
5
5
|
import { EventCleanUpSession } from './event-clean-up-session';
|
|
6
6
|
/**
|
|
7
7
|
* This state handles the scenario where a pop state triggered and interaction and the user clickeb back a second time to cancel it.
|
package/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd } from '@angular/router';
|
|
2
2
|
import { AbstractPopStateNavigation } from '../abstract-pop-state-navigation';
|
|
3
|
-
import { NavigationContext } from '../navigation-context';
|
|
3
|
+
import type { NavigationContext } from '../navigation-context';
|
|
4
4
|
/**
|
|
5
5
|
* This state exists to handle all events while any kind of navigation is in progress. That way all other states can
|
|
6
6
|
* happily ignore interaction contexts.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd, NavigationStart } from '@angular/router';
|
|
2
|
-
import { NavigationContext } from '../navigation-context';
|
|
2
|
+
import type { NavigationContext } from '../navigation-context';
|
|
3
3
|
import { NavigationSession } from '../navigation-session';
|
|
4
4
|
/**
|
|
5
5
|
* This session tracks the process of removing the last interaction context from the URL and provides a promise
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd } from '@angular/router';
|
|
2
|
-
import { NavigationContext } from '../navigation-context';
|
|
2
|
+
import type { NavigationContext } from '../navigation-context';
|
|
3
3
|
import { NavigationSession } from '../navigation-session';
|
|
4
4
|
export declare class SynchroniseInteractionContextIdsWithRoute extends NavigationSession {
|
|
5
5
|
readonly wasTriggeredByPopState: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InteractionServiceRoutingAdapter } from '../../../interaction/services/interaction-service-routing-adapter';
|
|
2
|
-
import { UrlService } from '../../url-service';
|
|
3
|
-
import { UrlSnapshot } from '../../url-snapshot';
|
|
4
|
-
import { Visit } from '../../visit';
|
|
5
|
-
import { NavigationSession } from './navigation-session';
|
|
1
|
+
import type { InteractionServiceRoutingAdapter } from '../../../interaction/services/interaction-service-routing-adapter';
|
|
2
|
+
import type { UrlService } from '../../url-service';
|
|
3
|
+
import type { UrlSnapshot } from '../../url-snapshot';
|
|
4
|
+
import type { Visit } from '../../visit';
|
|
5
|
+
import type { NavigationSession } from './navigation-session';
|
|
6
6
|
export interface NavigationContext {
|
|
7
7
|
readonly urlService: UrlService;
|
|
8
8
|
readonly routerInteractionAdapter: InteractionServiceRoutingAdapter;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NavigationCancel, NavigationEnd, NavigationError, NavigationStart, RouterEvent } from "@angular/router";
|
|
2
2
|
import { GarbageCollector } from "@coolon/pectin";
|
|
3
|
-
import { InteractionContext } from "../../../interaction/interaction-context";
|
|
4
|
-
import { InteractionServiceRoutingAdapter } from "../../../interaction/services/interaction-service-routing-adapter";
|
|
5
|
-
import { PlaceComponent } from "../../place-component";
|
|
6
|
-
import { PlaceDefinition } from "../../place-definition";
|
|
7
|
-
import { UrlService } from "../../url-service";
|
|
8
|
-
import { UrlSnapshot } from "../../url-snapshot";
|
|
3
|
+
import type { InteractionContext } from "../../../interaction/interaction-context";
|
|
4
|
+
import type { InteractionServiceRoutingAdapter } from "../../../interaction/services/interaction-service-routing-adapter";
|
|
5
|
+
import type { PlaceComponent } from "../../place-component";
|
|
6
|
+
import type { PlaceDefinition } from "../../place-definition";
|
|
7
|
+
import type { UrlService } from "../../url-service";
|
|
8
|
+
import type { UrlSnapshot } from "../../url-snapshot";
|
|
9
9
|
import { Visit } from "../../visit";
|
|
10
|
-
import { VisitSegment } from "../../visit-segment";
|
|
11
|
-
import { NavigationContext } from "./navigation-context";
|
|
10
|
+
import type { VisitSegment } from "../../visit-segment";
|
|
11
|
+
import type { NavigationContext } from "./navigation-context";
|
|
12
12
|
/**
|
|
13
13
|
* Transient states
|
|
14
14
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
|
|
2
2
|
import { ComputedModelMechanics, Constructable, GarbageCollector, HasValue, ValueModel } from "@coolon/pectin";
|
|
3
|
-
import { PlaceAccessGuard } from "./place-access-guard";
|
|
4
|
-
import { PlaceComponent } from "./place-component";
|
|
5
|
-
import { PlaceDefinition } from "./place-definition";
|
|
3
|
+
import type { PlaceAccessGuard } from "./place-access-guard";
|
|
4
|
+
import type { PlaceComponent } from "./place-component";
|
|
5
|
+
import type { PlaceDefinition } from "./place-definition";
|
|
6
6
|
import { Visit } from "./visit";
|
|
7
7
|
export declare class PlaceAuthService extends GarbageCollector {
|
|
8
8
|
private authZOptions;
|
|
@@ -2,15 +2,14 @@ import { ActivatedRouteSnapshot } from '@angular/router';
|
|
|
2
2
|
import { Constructable, ListModel } from '@coolon/pectin';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
4
|
import { LoadableComponent } from "../components/loadable-component";
|
|
5
|
-
import { InteractionContext } from '../interaction/interaction-context';
|
|
5
|
+
import type { InteractionContext } from '../interaction/interaction-context';
|
|
6
6
|
import { PlaceDefinition } from './place-definition';
|
|
7
7
|
import { PlaceRouter } from "./place-router";
|
|
8
|
-
import { ParameterDefinition } from './route/parameter-definition';
|
|
9
|
-
import { UrlSnapshot } from './url-snapshot';
|
|
10
|
-
import { VisitSegment } from './visit-segment';
|
|
8
|
+
import type { ParameterDefinition } from './route/parameter-definition';
|
|
9
|
+
import type { UrlSnapshot } from './url-snapshot';
|
|
10
|
+
import type { VisitSegment } from './visit-segment';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export
|
|
13
|
-
export declare const ROUTE_PARAMETER_LIST_KEY: unique symbol;
|
|
12
|
+
export { DEFINITION_META_DATA_KEY, ROUTE_PARAMETER_LIST_KEY } from './place-metadata';
|
|
14
13
|
export declare class PlaceComponent extends LoadableComponent {
|
|
15
14
|
private readonly _placeReadyCallbacks;
|
|
16
15
|
private visit$;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ParamMap } from '@angular/router';
|
|
2
2
|
import { Constructable, Predicate } from '@coolon/pectin';
|
|
3
|
-
import { PlaceComponent } from './place-component';
|
|
3
|
+
import type { PlaceComponent } from './place-component';
|
|
4
4
|
import { ParameterDefinition } from './route/parameter-definition';
|
|
5
|
-
import { VisitSegment } from './visit-segment';
|
|
5
|
+
import type { VisitSegment } from './visit-segment';
|
|
6
6
|
export declare class PlaceDefinition {
|
|
7
7
|
readonly component: Constructable<PlaceComponent>;
|
|
8
8
|
readonly path: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PlaceDefinition } from './place-definition';
|
|
2
|
-
import { Visit } from "./visit";
|
|
3
|
-
import { VisitSegment } from './visit-segment';
|
|
1
|
+
import type { PlaceDefinition } from './place-definition';
|
|
2
|
+
import type { Visit } from "./visit";
|
|
3
|
+
import type { VisitSegment } from './visit-segment';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: this should be updated to store the last x visists rathern than a map of places to visit segments.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Constructable } from '@coolon/pectin';
|
|
2
|
+
import 'reflect-metadata';
|
|
3
|
+
import type { PlaceComponent } from './place-component';
|
|
4
|
+
import type { PlaceDefinition } from './place-definition';
|
|
5
|
+
export declare const DEFINITION_META_DATA_KEY = "PLACE_DEFINITION_OPTIONS";
|
|
6
|
+
export declare const ROUTE_PARAMETER_LIST_KEY: unique symbol;
|
|
7
|
+
export declare function getPlaceDefinition(placeComponent: Constructable<PlaceComponent>): PlaceDefinition;
|
|
8
|
+
export declare function setPlaceDefinition(placeComponent: Constructable<PlaceComponent>, definition: PlaceDefinition): void;
|
|
@@ -3,14 +3,14 @@ import { ActivatedRouteSnapshot, NavigationCancel, NavigationEnd, NavigationErro
|
|
|
3
3
|
import { DisposedWith, GarbageCollector, ListModel, MutableValueModel, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
4
4
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
5
5
|
import { InteractionService } from "../interaction/services/interaction.service";
|
|
6
|
-
import { NavigationSession } from "./navigation/session/navigation-session";
|
|
6
|
+
import type { NavigationSession } from "./navigation/session/navigation-session";
|
|
7
7
|
import { PlaceAuthService } from "./place-auth-service";
|
|
8
|
-
import { PlaceComponent } from "./place-component";
|
|
8
|
+
import type { PlaceComponent } from "./place-component";
|
|
9
9
|
import { PlaceHistory } from "./place-history";
|
|
10
10
|
import { UrlService } from "./url-service";
|
|
11
|
-
import { UrlSnapshot } from "./url-snapshot";
|
|
11
|
+
import type { UrlSnapshot } from "./url-snapshot";
|
|
12
12
|
import { Visit } from "./visit";
|
|
13
|
-
import { VisitSegment } from "./visit-segment";
|
|
13
|
+
import type { VisitSegment } from "./visit-segment";
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class PlaceRouter extends GarbageCollector {
|
|
16
16
|
private readonly angularRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Formatter } from './formatter';
|
|
2
|
-
import { ParameterSanitiser } from './parameter-sanitiser';
|
|
1
|
+
import type { Formatter } from './formatter';
|
|
2
|
+
import type { ParameterSanitiser } from './parameter-sanitiser';
|
|
3
3
|
export interface RouteIdOptions<T> {
|
|
4
4
|
as?: string;
|
|
5
5
|
optional?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { HasValue, ListModel, MutableListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
|
|
3
|
-
import { PlaceHistory } from '../place-history';
|
|
4
|
-
import { VisitSegment } from '../visit-segment';
|
|
5
|
-
import { Formatter } from './formatter';
|
|
3
|
+
import type { PlaceHistory } from '../place-history';
|
|
4
|
+
import type { VisitSegment } from '../visit-segment';
|
|
5
|
+
import type { Formatter } from './formatter';
|
|
6
6
|
import { ParameterSanitiser } from './parameter-sanitiser';
|
|
7
7
|
export declare abstract class ParameterDefinition<T, E = T> {
|
|
8
8
|
readonly propertyName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { Constructable } from '@coolon/pectin';
|
|
3
|
-
import { VisitSegment } from '../visit-segment';
|
|
3
|
+
import type { VisitSegment } from '../visit-segment';
|
|
4
4
|
export interface ParameterSanitiser<T> {
|
|
5
5
|
sanitise(parameterValue: T, visit?: VisitSegment, injector?: Injector): Promise<T> | T;
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot, Router } from '@angular/router';
|
|
3
|
-
import { NavigationSession } from '../navigation/session/navigation-session';
|
|
4
|
-
import { PlaceHistory } from '../place-history';
|
|
5
|
-
import { VisitSegment } from '../visit-segment';
|
|
3
|
+
import type { NavigationSession } from '../navigation/session/navigation-session';
|
|
4
|
+
import type { PlaceHistory } from '../place-history';
|
|
5
|
+
import type { VisitSegment } from '../visit-segment';
|
|
6
6
|
export declare class VisitSegmentSanitiser {
|
|
7
7
|
private navigationSession;
|
|
8
8
|
private activatedRoute;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { Router, UrlSerializer } from '@angular/router';
|
|
3
3
|
import { UrlSnapshot } from './url-snapshot';
|
|
4
|
-
import { VisitSegment } from './visit-segment';
|
|
4
|
+
import type { VisitSegment } from './visit-segment';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UrlService {
|
|
7
7
|
private readonly angularRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UrlSegment, UrlSerializer, UrlTree } from '@angular/router';
|
|
2
|
-
import { PlaceDefinition } from './place-definition';
|
|
2
|
+
import type { PlaceDefinition } from './place-definition';
|
|
3
3
|
import { VisitSegment } from './visit-segment';
|
|
4
4
|
export declare class UrlSnapshot {
|
|
5
5
|
readonly urlSerializer: UrlSerializer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PlaceDefinition } from './place-definition';
|
|
2
|
-
import { ParameterDefinition } from './route/parameter-definition';
|
|
1
|
+
import type { PlaceDefinition } from './place-definition';
|
|
2
|
+
import type { ParameterDefinition } from './route/parameter-definition';
|
|
3
3
|
export declare class VisitSegment {
|
|
4
4
|
readonly placeDefinition: PlaceDefinition;
|
|
5
5
|
readonly visitParameters: Record<string, any>;
|
package/lib/place/visit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Constructable } from "@coolon/typescript-utilities";
|
|
2
|
-
import { PlaceAccessGuard } from "./place-access-guard";
|
|
3
|
-
import { PlaceComponent } from "./place-component";
|
|
2
|
+
import type { PlaceAccessGuard } from "./place-access-guard";
|
|
3
|
+
import type { PlaceComponent } from "./place-component";
|
|
4
4
|
import { PlaceDefinition } from "./place-definition";
|
|
5
5
|
import { VisitSegment } from "./visit-segment";
|
|
6
6
|
export declare class Visit {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-alpha.
|
|
3
|
+
"version": "16.1.0-alpha.223",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.118",
|
|
16
16
|
"fast-typescript-memoize": "^1.1.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"json5": "^2.1.0",
|
|
23
23
|
"immer": ">=10.0.3",
|
|
24
24
|
"escape-string-regexp": "^5.0.0",
|
|
25
|
-
"@coolon/typescript-utilities": "^5.0.0-alpha.
|
|
25
|
+
"@coolon/typescript-utilities": "^5.0.0-alpha.16",
|
|
26
26
|
"fractional-indexing": "^3.2.0",
|
|
27
27
|
"ng-table-virtual-scroll": "^1.6.1"
|
|
28
28
|
},
|