@coolon/angular-ui-powerups 16.1.0-alpha.307 → 16.1.0-alpha.309
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/form.scss +7 -0
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +8 -4
- package/esm2022/lib/place/components/out-of-scope-notice/out-of-scope-notice.component.mjs +15 -0
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +51 -9
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +5 -4
- package/esm2022/lib/place/exports.mjs +3 -1
- package/esm2022/lib/place/guards/place.guard.mjs +36 -6
- package/esm2022/lib/place/place-component.mjs +8 -3
- package/esm2022/lib/place/place-scope.mjs +103 -0
- package/esm2022/lib/place/place.module.mjs +6 -3
- package/fesm2022/coolon-angular-ui-powerups.mjs +207 -19
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +2 -0
- package/lib/place/components/out-of-scope-notice/out-of-scope-notice.component.d.ts +9 -0
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +12 -2
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +2 -1
- package/lib/place/exports.d.ts +2 -0
- package/lib/place/guards/place.guard.d.ts +5 -1
- package/lib/place/place-component.d.ts +1 -0
- package/lib/place/place-scope.d.ts +86 -0
- package/lib/place/place.module.d.ts +14 -13
- package/package.json +1 -1
|
@@ -14065,6 +14065,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
14065
14065
|
}]
|
|
14066
14066
|
}] });
|
|
14067
14067
|
|
|
14068
|
+
/**
|
|
14069
|
+
* Which places the current shell can show. A scope is about layout, not access: an out-of-scope
|
|
14070
|
+
* place is never reported as unauthorised, so the app's authorisation-failure hook (which may sign
|
|
14071
|
+
* the user out) never sees it. See docs/PlaceScopeDesign.md.
|
|
14072
|
+
*
|
|
14073
|
+
* The default scope includes every place. An app sets a narrower one when it switches shells:
|
|
14074
|
+
*
|
|
14075
|
+
* @example
|
|
14076
|
+
* placeScope.set({
|
|
14077
|
+
* includes: [DevicesComponent, JoiningComponent, LoginComponent, BootstrapComponent],
|
|
14078
|
+
* home: () => DevicesComponent,
|
|
14079
|
+
* whenOutOfScope: 'redirect'
|
|
14080
|
+
* });
|
|
14081
|
+
* // and back again
|
|
14082
|
+
* placeScope.reset();
|
|
14083
|
+
*
|
|
14084
|
+
* The app names places; the rest follows from the tree:
|
|
14085
|
+
* - naming a place includes everything below it, unless it is named with {@link PlaceScope.only};
|
|
14086
|
+
* - a place is in scope when it is named or any place below it is, so the ancestors of an
|
|
14087
|
+
* in-scope place are reachable (their guards run first);
|
|
14088
|
+
* - a `redirectToFirstChild` parent is in scope only when one of its children is, even when it is
|
|
14089
|
+
* named with `only`: it has no page of its own, so it needs somewhere to land.
|
|
14090
|
+
*
|
|
14091
|
+
* Places are named by their component class, so a typo or a removed place fails to compile. When the
|
|
14092
|
+
* lazy place graph lands (LazyPlaceGraphDesign.md §5.1), a `PlaceRef` names a place without
|
|
14093
|
+
* importing its component, and {@link PlaceScope.Target} widens to accept one.
|
|
14094
|
+
*/
|
|
14095
|
+
class PlaceScope {
|
|
14096
|
+
// Undefined is the default scope, which includes every place.
|
|
14097
|
+
options;
|
|
14098
|
+
included = new Map();
|
|
14099
|
+
revision$ = new MutableValueModel(0);
|
|
14100
|
+
/** Changes whenever the app sets a scope: anything derived from {@link includes} depends on it. */
|
|
14101
|
+
dependsOn$ = this.revision$.readonly$;
|
|
14102
|
+
set(options) {
|
|
14103
|
+
this.change(options);
|
|
14104
|
+
}
|
|
14105
|
+
/** Back to the default scope, which includes every place. */
|
|
14106
|
+
reset() {
|
|
14107
|
+
this.change(undefined);
|
|
14108
|
+
}
|
|
14109
|
+
includes(definition) {
|
|
14110
|
+
let included = this.included.get(definition);
|
|
14111
|
+
if (included === undefined) {
|
|
14112
|
+
included = definition.redirectToFirstChild && definition.hasChildren()
|
|
14113
|
+
? definition.children.some(child => this.includes(child))
|
|
14114
|
+
: this.names(definition) || definition.children.some(child => this.includes(child));
|
|
14115
|
+
this.included.set(definition, included);
|
|
14116
|
+
}
|
|
14117
|
+
return included;
|
|
14118
|
+
}
|
|
14119
|
+
/** Whether every place a visit passes through is in scope. */
|
|
14120
|
+
includesVisit(visit) {
|
|
14121
|
+
return visit.segments.every(segment => this.includes(segment.placeDefinition));
|
|
14122
|
+
}
|
|
14123
|
+
/** Where an out-of-scope link lands instead. Undefined only for the default scope. */
|
|
14124
|
+
home() {
|
|
14125
|
+
const home = this.options?.home();
|
|
14126
|
+
return typeof home === 'function' ? Visit.goto(home) : home;
|
|
14127
|
+
}
|
|
14128
|
+
/** See {@link PlaceScope.Options.whenOutOfScope}. */
|
|
14129
|
+
get whenOutOfScope() {
|
|
14130
|
+
return this.options?.whenOutOfScope ?? 'notice';
|
|
14131
|
+
}
|
|
14132
|
+
change(options) {
|
|
14133
|
+
// Set before the change fires, so its listeners read the new scope.
|
|
14134
|
+
this.options = options;
|
|
14135
|
+
this.included = new Map();
|
|
14136
|
+
this.revision$.value++;
|
|
14137
|
+
}
|
|
14138
|
+
names(definition) {
|
|
14139
|
+
const options = this.options;
|
|
14140
|
+
return !options || options.includes.some(target => PlaceScope.isOnly(target)
|
|
14141
|
+
? getPlaceDefinition(target.only) === definition
|
|
14142
|
+
: definition.ancestorsAndSelf().includes(getPlaceDefinition(target)));
|
|
14143
|
+
}
|
|
14144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceScope, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14145
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceScope, providedIn: 'root' });
|
|
14146
|
+
}
|
|
14147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceScope, decorators: [{
|
|
14148
|
+
type: Injectable,
|
|
14149
|
+
args: [{ providedIn: 'root' }]
|
|
14150
|
+
}] });
|
|
14151
|
+
(function (PlaceScope) {
|
|
14152
|
+
/**
|
|
14153
|
+
* Names a place without the places below it. A place's tabs are places too, so prefer naming the
|
|
14154
|
+
* place itself; use this for a parent that has a page of its own and children the shell can't show.
|
|
14155
|
+
*/
|
|
14156
|
+
function only(place) {
|
|
14157
|
+
return { only: place };
|
|
14158
|
+
}
|
|
14159
|
+
PlaceScope.only = only;
|
|
14160
|
+
function isOnly(target) {
|
|
14161
|
+
return typeof target !== 'function';
|
|
14162
|
+
}
|
|
14163
|
+
PlaceScope.isOnly = isOnly;
|
|
14164
|
+
})(PlaceScope || (PlaceScope = {}));
|
|
14165
|
+
|
|
14068
14166
|
// class ParameterChangeInterceptor<T> {
|
|
14069
14167
|
// constructor(parameterDef: ParameterDefinition<T>, model: ValueModel<T>, callback: PlaceComponent.InterceptCallback<T>, options: PlaceComponent.InterceptOptions) {
|
|
14070
14168
|
// }
|
|
@@ -14088,12 +14186,16 @@ class PlaceComponent extends LoadableComponent {
|
|
|
14088
14186
|
// private readonly _parameterChangeInterceptors: ParameterChangeInterceptor<any>[] = [];
|
|
14089
14187
|
placeId;
|
|
14090
14188
|
placeRouter = inject(PlaceRouter);
|
|
14189
|
+
placeScope = inject(PlaceScope);
|
|
14091
14190
|
activatedRoute = inject(ActivatedRoute);
|
|
14092
14191
|
constructor() {
|
|
14093
14192
|
super();
|
|
14094
14193
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
14095
14194
|
when(this._active).becomesTruthy(() => this._notifyPlaceReady());
|
|
14096
|
-
|
|
14195
|
+
// Only the children the current shell can show, following the scope as the app swaps it.
|
|
14196
|
+
this.childPlaces$ = chain(this.placeScope.dependsOn$).mapToList(() => this.placeDefinition.children
|
|
14197
|
+
.filter(d => this.placeScope.includes(d))
|
|
14198
|
+
.map(d => d.component));
|
|
14097
14199
|
this.placeId = this.placeDefinition.placeId;
|
|
14098
14200
|
if (isEmpty(this.placeId)) {
|
|
14099
14201
|
lang.illegalState("placeId property is missing from the route data parameters");
|
|
@@ -14294,6 +14396,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
14294
14396
|
args: [{ selector: 'aup-not-authorised-notice', template: "<p>You are not authorised to access this page</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] }]
|
|
14295
14397
|
}] });
|
|
14296
14398
|
|
|
14399
|
+
/**
|
|
14400
|
+
* Shown by the place outlet in place of a page that has left the {@link PlaceScope} while open.
|
|
14401
|
+
* Replace it with AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT.
|
|
14402
|
+
*/
|
|
14403
|
+
class OutOfScopeNoticeComponent {
|
|
14404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OutOfScopeNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14405
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: OutOfScopeNoticeComponent, selector: "aup-out-of-scope-notice", ngImport: i0, template: "<p>This page is not available in this layout</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] });
|
|
14406
|
+
}
|
|
14407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OutOfScopeNoticeComponent, decorators: [{
|
|
14408
|
+
type: Component,
|
|
14409
|
+
args: [{ selector: 'aup-out-of-scope-notice', template: "<p>This page is not available in this layout</p>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center}\n"] }]
|
|
14410
|
+
}] });
|
|
14411
|
+
|
|
14297
14412
|
// Freezes the state of the components at the start of the animation.
|
|
14298
14413
|
const animationStartStyle = style({ position: 'absolute', top: '0', left: '0', bottom: '0', right: '0' });
|
|
14299
14414
|
const left = [
|
|
@@ -14339,10 +14454,13 @@ function leftRightPlaceAnimation(duration) {
|
|
|
14339
14454
|
const LEFT_RIGHT_PLACE_ANIMATION = leftRightPlaceAnimation('0.3s');
|
|
14340
14455
|
|
|
14341
14456
|
const AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT = new InjectionToken('AUP_UNAUTHORISED_PLACE_COMPONENT');
|
|
14457
|
+
/** Replaces {@link OutOfScopeNoticeComponent}; see {@link PlaceScope.Options.whenOutOfScope}. */
|
|
14458
|
+
const AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT = new InjectionToken('AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT');
|
|
14342
14459
|
class PlaceOutletComponent extends DisposableComponent {
|
|
14343
14460
|
router;
|
|
14344
14461
|
placeRouter;
|
|
14345
14462
|
placeConfig;
|
|
14463
|
+
placeScope;
|
|
14346
14464
|
#animate$_accessor_storage = proxify((ValueModel));
|
|
14347
14465
|
get animate$() { return this.#animate$_accessor_storage; }
|
|
14348
14466
|
set animate$(value) { this.#animate$_accessor_storage = value; }
|
|
@@ -14376,11 +14494,15 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
14376
14494
|
animationEnabled;
|
|
14377
14495
|
authorised;
|
|
14378
14496
|
notAuthorisedNoticePortal;
|
|
14379
|
-
|
|
14497
|
+
/** Whether the active place is in the {@link PlaceScope}; true until there is one. */
|
|
14498
|
+
inScope;
|
|
14499
|
+
outOfScopeNoticePortal;
|
|
14500
|
+
constructor(router, placeRouter, placeConfig, unauthorisedPlaceNotice, outOfScopePlaceNotice, placeScope, parentOutlet) {
|
|
14380
14501
|
super();
|
|
14381
14502
|
this.router = router;
|
|
14382
14503
|
this.placeRouter = placeRouter;
|
|
14383
14504
|
this.placeConfig = placeConfig;
|
|
14505
|
+
this.placeScope = placeScope;
|
|
14384
14506
|
const { chain, valueOf, before, when, after, observe, switchOn } = Dsl.disposeWith(this);
|
|
14385
14507
|
this.parentOutletModel = new MutableValueModel(parentOutlet);
|
|
14386
14508
|
const defaultPlaceAnimationOrder = chain(this.parentOutletModel)
|
|
@@ -14422,6 +14544,30 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
14422
14544
|
postponeWhile: chain(this._activePlaceDefinition).isNil()
|
|
14423
14545
|
}).otherwise(true); // if we don't have a place def yet we need to show the outlet so we get one injected.
|
|
14424
14546
|
this.notAuthorisedNoticePortal = new ComponentPortal(unauthorisedPlaceNotice ?? NotAuthorisedNoticeComponent);
|
|
14547
|
+
// Guards don't re-run when the scope changes, so an open place that leaves it is handled here,
|
|
14548
|
+
// the way a lost authorisation is above.
|
|
14549
|
+
this.inScope = chain(placeScope.dependsOn$).map(() => placeScope.includes(this._activePlaceDefinition.value), {
|
|
14550
|
+
dependsOn: this._activePlaceDefinition,
|
|
14551
|
+
postponeWhile: chain(this._activePlaceDefinition).isNil()
|
|
14552
|
+
}).otherwise(true);
|
|
14553
|
+
this.viewStateDependsOn(this.inScope);
|
|
14554
|
+
this.outOfScopeNoticePortal = new ComponentPortal(outOfScopePlaceNotice ?? OutOfScopeNoticeComponent);
|
|
14555
|
+
// Once any navigation in flight has landed: it may be the one that leaves the place anyway.
|
|
14556
|
+
when(chain(this.inScope).isFalsey().postponeWhile(this.navigationInProgress))
|
|
14557
|
+
.becomesTruthy(() => this.redirectOutOfScopePlace());
|
|
14558
|
+
}
|
|
14559
|
+
/** In `notice` mode; an unauthorised place shows the unauthorised notice instead. */
|
|
14560
|
+
get showOutOfScopeNotice() {
|
|
14561
|
+
return this.isAuthorised && !this.inScope.value && this.placeScope.whenOutOfScope === 'notice';
|
|
14562
|
+
}
|
|
14563
|
+
redirectOutOfScopePlace() {
|
|
14564
|
+
// An outer outlet whose place has left the scope too sends the user home itself.
|
|
14565
|
+
if (this.placeScope.whenOutOfScope === 'redirect' && this.parentOutlet?.inScope.value !== false) {
|
|
14566
|
+
const home = this.placeScope.home();
|
|
14567
|
+
if (home) {
|
|
14568
|
+
this.placeRouter.navigate(home);
|
|
14569
|
+
}
|
|
14570
|
+
}
|
|
14425
14571
|
}
|
|
14426
14572
|
getAnimationOrder() {
|
|
14427
14573
|
return this.activePlaceAnimationPosition.value;
|
|
@@ -14549,8 +14695,8 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
14549
14695
|
this.onAnimationFinishedJob = undefined;
|
|
14550
14696
|
}
|
|
14551
14697
|
}
|
|
14552
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceOutletComponent, deps: [{ token: i1$5.Router }, { token: PlaceRouter }, { token: AUP_PLACE_CONFIG, optional: true }, { token: AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, optional: true }, { token: PlaceOutletComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
14553
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PlaceOutletComponent, selector: "aup-place-outlet", inputs: { animate$: "animate$", animate: "animate", customPlaceAnimationOrder$: ["placeAnimationOrderModel", "customPlaceAnimationOrder$"], customPlaceAnimationOrder: ["placeAnimationOrder", "customPlaceAnimationOrder"] }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "class.authorised": "this.isAuthorised" } }, viewQueries: [{ propertyName: "routerOut", first: true, predicate: ["routeOutlet"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$5.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1$2.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [LEFT_RIGHT_PLACE_ANIMATION] });
|
|
14698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceOutletComponent, deps: [{ token: i1$5.Router }, { token: PlaceRouter }, { token: AUP_PLACE_CONFIG, optional: true }, { token: AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, optional: true }, { token: AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, optional: true }, { token: PlaceScope }, { token: PlaceOutletComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
14699
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PlaceOutletComponent, selector: "aup-place-outlet", inputs: { animate$: "animate$", animate: "animate", customPlaceAnimationOrder$: ["placeAnimationOrderModel", "customPlaceAnimationOrder$"], customPlaceAnimationOrder: ["placeAnimationOrder", "customPlaceAnimationOrder"] }, outputs: { placeChanged: "placeChanged" }, host: { properties: { "class.out-of-scope": "this.showOutOfScopeNotice", "class.authorised": "this.isAuthorised" } }, viewQueries: [{ propertyName: "routerOut", first: true, predicate: ["routeOutlet"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"showOutOfScopeNotice\">\n <ng-template [cdkPortalOutlet]=\"outOfScopeNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container,:host.out-of-scope .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$5.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1$2.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [LEFT_RIGHT_PLACE_ANIMATION] });
|
|
14554
14700
|
}
|
|
14555
14701
|
__decorate([
|
|
14556
14702
|
Proxify(),
|
|
@@ -14570,7 +14716,7 @@ __decorate([
|
|
|
14570
14716
|
], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", null);
|
|
14571
14717
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceOutletComponent, decorators: [{
|
|
14572
14718
|
type: Component,
|
|
14573
|
-
args: [{ selector: 'aup-place-outlet', animations: [LEFT_RIGHT_PLACE_ANIMATION], template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"] }]
|
|
14719
|
+
args: [{ selector: 'aup-place-outlet', animations: [LEFT_RIGHT_PLACE_ANIMATION], template: "<ng-container *ngIf=\"animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable\n [@routeAnimations]=\"{value: getAnimationOrder(), params:{duration: animationDuration}}\"\n (@routeAnimations.start)=\"animationStarted()\"\n (@routeAnimations.done)=\"animationDone()\"\n >\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!animationEnabled.value\">\n <div class=\"router-outlet-container\"\n cdkScrollable>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated()\">\n </router-outlet>\n </div>\n</ng-container>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"!authorised.value\">\n <ng-template [cdkPortalOutlet]=\"notAuthorisedNoticePortal\"></ng-template>\n</div>\n\n<div class=\"not-authorised-component-container\" *ngIf=\"showOutOfScopeNotice\">\n <ng-template [cdkPortalOutlet]=\"outOfScopeNoticePortal\"></ng-template>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-height:0}:host:not(.authorised) .router-outlet-container,:host.out-of-scope .router-outlet-container{display:none}.router-outlet-container{flex:1;display:block;position:relative;min-height:0;overflow-x:hidden;overflow-y:auto}router-outlet{display:none}.not-authorised-component-container{flex:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr}\n"] }]
|
|
14574
14720
|
}], ctorParameters: function () { return [{ type: i1$5.Router }, { type: PlaceRouter }, { type: undefined, decorators: [{
|
|
14575
14721
|
type: Optional
|
|
14576
14722
|
}, {
|
|
@@ -14581,7 +14727,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
14581
14727
|
}, {
|
|
14582
14728
|
type: Inject,
|
|
14583
14729
|
args: [AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT]
|
|
14584
|
-
}] }, { type:
|
|
14730
|
+
}] }, { type: undefined, decorators: [{
|
|
14731
|
+
type: Optional
|
|
14732
|
+
}, {
|
|
14733
|
+
type: Inject,
|
|
14734
|
+
args: [AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT]
|
|
14735
|
+
}] }, { type: PlaceScope }, { type: PlaceOutletComponent, decorators: [{
|
|
14585
14736
|
type: SkipSelf
|
|
14586
14737
|
}, {
|
|
14587
14738
|
type: Optional
|
|
@@ -14600,6 +14751,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
14600
14751
|
}], routerOut: [{
|
|
14601
14752
|
type: ViewChild,
|
|
14602
14753
|
args: ['routeOutlet', { static: true }]
|
|
14754
|
+
}], showOutOfScopeNotice: [{
|
|
14755
|
+
type: HostBinding,
|
|
14756
|
+
args: ["class.out-of-scope"]
|
|
14603
14757
|
}], isAuthorised: [{
|
|
14604
14758
|
type: HostBinding,
|
|
14605
14759
|
args: ["class.authorised"]
|
|
@@ -14639,6 +14793,7 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
|
14639
14793
|
activePlaceDefinition;
|
|
14640
14794
|
placeFaces = new Map();
|
|
14641
14795
|
trackByPlaceDef = (index, data) => data.place;
|
|
14796
|
+
placeScope = inject(PlaceScope);
|
|
14642
14797
|
authorisedPlaces$;
|
|
14643
14798
|
constructor(placeRouter) {
|
|
14644
14799
|
super();
|
|
@@ -14648,10 +14803,12 @@ class AbstractPlaceNavigationComponent extends DisposableComponent {
|
|
|
14648
14803
|
.select(placeType => {
|
|
14649
14804
|
const definition = PlaceComponent.getDefinition(placeType);
|
|
14650
14805
|
const guard = this.placeRouter.authService.accessGuard$.value;
|
|
14651
|
-
|
|
14806
|
+
// Out of scope is absolute, even for the current place: this shell can't show it.
|
|
14807
|
+
return this.placeScope.includes(definition)
|
|
14808
|
+
&& (guard.isAuthorised(definition) || this.placeRouter.activeVisit$.value?.isPlaceActive(definition));
|
|
14652
14809
|
}, {
|
|
14653
14810
|
postponeWhile: this.placeRouter.navigationInProgress$,
|
|
14654
|
-
dependsOn: [this.placeRouter.authService.accessGuard$, this.placeRouter.activeVisit$]
|
|
14811
|
+
dependsOn: [this.placeRouter.authService.accessGuard$, this.placeRouter.activeVisit$, this.placeScope.dependsOn$]
|
|
14655
14812
|
});
|
|
14656
14813
|
this.placeDefinitions = chain(this.authorisedPlaces$).map(c => PlaceComponent.getDefinition(c));
|
|
14657
14814
|
this.commandFactory = Command.createFactory((placeDefinition) => {
|
|
@@ -14767,7 +14924,8 @@ let nextInstanceId = 0;
|
|
|
14767
14924
|
* - at least two of its children are authorised: one child isn't a choice, so a parent with one
|
|
14768
14925
|
* authorised child is a single entry that navigates to it.
|
|
14769
14926
|
* Anything else is a leaf that navigates to its place. A `redirectToFirstChild` parent with no
|
|
14770
|
-
* authorised child is dropped, as it has nowhere to land.
|
|
14927
|
+
* authorised child is dropped, as it has nowhere to land. Places outside the {@link PlaceScope} are
|
|
14928
|
+
* left out at both levels, so a parent with no child in scope goes too. Only two levels are shown; deeper places
|
|
14771
14929
|
* stay as tabs in their pages.
|
|
14772
14930
|
*
|
|
14773
14931
|
* The rail collapses to an icon strip from the Menu row, and expands over the content when the
|
|
@@ -14891,7 +15049,7 @@ class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
14891
15049
|
const entries$ = chain(this.menuItems).mapAll(items => {
|
|
14892
15050
|
const guard = accessGuard$.value;
|
|
14893
15051
|
const visit = activeVisit$.value;
|
|
14894
|
-
const visible = (place) => guard.isAuthorised(place) || !!visit?.isPlaceActive(place);
|
|
15052
|
+
const visible = (place) => this.placeScope.includes(place) && (guard.isAuthorised(place) || !!visit?.isPlaceActive(place));
|
|
14895
15053
|
return items
|
|
14896
15054
|
.map(({ place, active }) => {
|
|
14897
15055
|
const children = place.redirectToFirstChild ? place.children.filter(visible) : [];
|
|
@@ -14902,7 +15060,7 @@ class SidePlaceNavigationComponent extends AbstractPlaceNavigationComponent {
|
|
|
14902
15060
|
// unless it's current, so the rail never loses the place the user is on.
|
|
14903
15061
|
.filter(({ place, current, children }) => current || !place.redirectToFirstChild || !place.hasChildren() || children.length > 0);
|
|
14904
15062
|
}, {
|
|
14905
|
-
dependsOn: [accessGuard$, activeVisit$],
|
|
15063
|
+
dependsOn: [accessGuard$, activeVisit$, this.placeScope.dependsOn$],
|
|
14906
15064
|
postponeWhile: router.navigationInProgress$
|
|
14907
15065
|
});
|
|
14908
15066
|
const isGroup = ({ place, children }) => place.navDepth > 1 && children.length > 1;
|
|
@@ -15205,7 +15363,8 @@ class PlaceModule {
|
|
|
15205
15363
|
ListPlaceNavComponent,
|
|
15206
15364
|
SidePlaceNavigationComponent,
|
|
15207
15365
|
AbstractPlaceNavigationComponent,
|
|
15208
|
-
NotAuthorisedNoticeComponent
|
|
15366
|
+
NotAuthorisedNoticeComponent,
|
|
15367
|
+
OutOfScopeNoticeComponent], imports: [CommonModule,
|
|
15209
15368
|
BrowserAnimationsModule,
|
|
15210
15369
|
MatProgressSpinnerModule,
|
|
15211
15370
|
RouterModule,
|
|
@@ -15257,7 +15416,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
15257
15416
|
ListPlaceNavComponent,
|
|
15258
15417
|
SidePlaceNavigationComponent,
|
|
15259
15418
|
AbstractPlaceNavigationComponent,
|
|
15260
|
-
NotAuthorisedNoticeComponent
|
|
15419
|
+
NotAuthorisedNoticeComponent,
|
|
15420
|
+
OutOfScopeNoticeComponent
|
|
15261
15421
|
],
|
|
15262
15422
|
exports: [
|
|
15263
15423
|
PlaceOutletComponent,
|
|
@@ -15638,13 +15798,15 @@ class PlaceGuard {
|
|
|
15638
15798
|
placeHistory;
|
|
15639
15799
|
interactionService;
|
|
15640
15800
|
injector;
|
|
15641
|
-
|
|
15801
|
+
placeScope;
|
|
15802
|
+
constructor(router, urlService, placeRouter, placeHistory, interactionService, injector, placeScope) {
|
|
15642
15803
|
this.router = router;
|
|
15643
15804
|
this.urlService = urlService;
|
|
15644
15805
|
this.placeRouter = placeRouter;
|
|
15645
15806
|
this.placeHistory = placeHistory;
|
|
15646
15807
|
this.interactionService = interactionService;
|
|
15647
15808
|
this.injector = injector;
|
|
15809
|
+
this.placeScope = placeScope;
|
|
15648
15810
|
}
|
|
15649
15811
|
get authService() {
|
|
15650
15812
|
return this.placeRouter.authService;
|
|
@@ -15663,8 +15825,19 @@ class PlaceGuard {
|
|
|
15663
15825
|
if (redirect.requiresAuthentication()) {
|
|
15664
15826
|
lang.illegalState(`onAuthenticationFailure hook returned place ${redirect.toDebugString()} that requires authentication.`);
|
|
15665
15827
|
}
|
|
15828
|
+
if (!this.placeScope.includesVisit(redirect)) {
|
|
15829
|
+
// Its guard would send it home, which needs authentication, which sends it back here.
|
|
15830
|
+
lang.illegalState(`onAuthenticationFailure hook returned place ${redirect.toDebugString()} that is outside the place scope.`);
|
|
15831
|
+
}
|
|
15666
15832
|
return this.createUrlTree(redirect);
|
|
15667
15833
|
}
|
|
15834
|
+
}
|
|
15835
|
+
// Before authorisation, so an out-of-scope place is never refused as unauthorised: the app's
|
|
15836
|
+
// authorisation-failure hook can sign the user out, and a layout is no reason to.
|
|
15837
|
+
if (!this.placeScope.includes(placeDefinition)) {
|
|
15838
|
+
return this.createUrlTree(this.scopeHome());
|
|
15839
|
+
}
|
|
15840
|
+
if (placeDefinition.authenticate) {
|
|
15668
15841
|
await this.authService.waitUntilAuthorisationReadyFor(placeDefinition);
|
|
15669
15842
|
if (!this.authService.isAuthorised(placeDefinition)) {
|
|
15670
15843
|
const nextRedirect = await this.findBestAuthenticatedAlternative(placeDefinition, activatedRoute);
|
|
@@ -15730,6 +15903,7 @@ class PlaceGuard {
|
|
|
15730
15903
|
* 1. the place's own pick, when it declares {@link PlaceDefinition.redirectChild};
|
|
15731
15904
|
* 2. the last active child, when `rememberLastChild` is enabled (the default);
|
|
15732
15905
|
* 3. the first authorised child in declaration order (the legacy behaviour).
|
|
15906
|
+
* A child outside the {@link PlaceScope} is never valid, the picked and the remembered ones included.
|
|
15733
15907
|
*
|
|
15734
15908
|
* Authorisation is read AFTER awaiting each candidate child's authorisation-readiness (its
|
|
15735
15909
|
* `enablePlace` postpone conditions). Without this, a child whose enablement is still settling —
|
|
@@ -15739,6 +15913,9 @@ class PlaceGuard {
|
|
|
15739
15913
|
*/
|
|
15740
15914
|
async selectRedirectChild(place) {
|
|
15741
15915
|
const authorised = async (c) => {
|
|
15916
|
+
if (!this.placeScope.includes(c)) {
|
|
15917
|
+
return false;
|
|
15918
|
+
}
|
|
15742
15919
|
if (!c.authenticate) {
|
|
15743
15920
|
return true;
|
|
15744
15921
|
}
|
|
@@ -15769,7 +15946,7 @@ class PlaceGuard {
|
|
|
15769
15946
|
let currentPlace = placeDefinition;
|
|
15770
15947
|
while (!currentPlace.isRoot()) {
|
|
15771
15948
|
currentPlace = currentPlace.parent;
|
|
15772
|
-
const permittedChild = currentPlace.findChild(c => this.authService.isAuthorised(c));
|
|
15949
|
+
const permittedChild = currentPlace.findChild(c => this.authService.isAuthorised(c) && this.placeScope.includes(c));
|
|
15773
15950
|
if (permittedChild) {
|
|
15774
15951
|
return this.visitToAlternative(permittedChild);
|
|
15775
15952
|
}
|
|
@@ -15780,10 +15957,21 @@ class PlaceGuard {
|
|
|
15780
15957
|
return lang.illegalState(`onAuthorisationFailure hook didn't return any alternate places`);
|
|
15781
15958
|
}
|
|
15782
15959
|
else {
|
|
15783
|
-
|
|
15960
|
+
// Prefer one this shell can show; an authorised one outside the scope still lands, at home.
|
|
15961
|
+
const authorisedRoutes = alternativeRoutes.filter(it => it.isAuthorised(this.authService));
|
|
15962
|
+
const nextRedirect = authorisedRoutes.find(it => this.placeScope.includesVisit(it)) ?? authorisedRoutes[0];
|
|
15784
15963
|
return nextRedirect ?? lang.illegalState(`onAuthorisationFailure hook didn't return any authorised locations`);
|
|
15785
15964
|
}
|
|
15786
15965
|
}
|
|
15966
|
+
scopeHome() {
|
|
15967
|
+
// Only the default scope has no home, and it leaves nothing out.
|
|
15968
|
+
const home = this.placeScope.home();
|
|
15969
|
+
if (!this.placeScope.includesVisit(home)) {
|
|
15970
|
+
// It would send itself home again, forever.
|
|
15971
|
+
return lang.illegalState(`The place scope's home ${home.toDebugString()} is outside the scope`);
|
|
15972
|
+
}
|
|
15973
|
+
return home;
|
|
15974
|
+
}
|
|
15787
15975
|
/**
|
|
15788
15976
|
* A visit to the alternative place, carrying its ancestors' RESOLVED route parameters.
|
|
15789
15977
|
*
|
|
@@ -15847,13 +16035,13 @@ class PlaceGuard {
|
|
|
15847
16035
|
return next();
|
|
15848
16036
|
}
|
|
15849
16037
|
}
|
|
15850
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceGuard, deps: [{ token: i1$5.Router }, { token: UrlService }, { token: PlaceRouter }, { token: PlaceHistory }, { token: InteractionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16038
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceGuard, deps: [{ token: i1$5.Router }, { token: UrlService }, { token: PlaceRouter }, { token: PlaceHistory }, { token: InteractionService }, { token: i0.Injector }, { token: PlaceScope }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15851
16039
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceGuard, providedIn: 'root' });
|
|
15852
16040
|
}
|
|
15853
16041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PlaceGuard, decorators: [{
|
|
15854
16042
|
type: Injectable,
|
|
15855
16043
|
args: [{ providedIn: 'root' }]
|
|
15856
|
-
}], ctorParameters: function () { return [{ type: i1$5.Router }, { type: UrlService }, { type: PlaceRouter }, { type: PlaceHistory }, { type: InteractionService }, { type: i0.Injector }]; } });
|
|
16044
|
+
}], ctorParameters: function () { return [{ type: i1$5.Router }, { type: UrlService }, { type: PlaceRouter }, { type: PlaceHistory }, { type: InteractionService }, { type: i0.Injector }, { type: PlaceScope }]; } });
|
|
15857
16045
|
|
|
15858
16046
|
var Formatter;
|
|
15859
16047
|
(function (Formatter) {
|
|
@@ -16132,5 +16320,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
16132
16320
|
* Generated bundle index. Do not edit.
|
|
16133
16321
|
*/
|
|
16134
16322
|
|
|
16135
|
-
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, InteractionContextTriggerForDirective, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, Keys, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadableComponent, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
16323
|
+
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, InteractionContextTriggerForDirective, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, Keys, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadableComponent, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, OutOfScopeNoticeComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, PlaceScope, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
16136
16324
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|