@coolon/angular-ui-powerups 16.1.0-alpha.318 → 16.1.0-alpha.320
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/interaction.scss +2 -2
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +10 -4
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +1 -1
- package/esm2022/lib/interaction/exports.mjs +6 -4
- package/esm2022/lib/interaction/services/hosted-interaction-context.mjs +6 -1
- package/esm2022/lib/interaction/services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context.mjs +21 -3
- package/esm2022/lib/interaction/services/mat-bottom-sheet-interaction/sheet-swipe.mjs +133 -0
- package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +15 -3
- package/fesm2022/coolon-angular-ui-powerups.mjs +252 -80
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +6 -0
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +1 -1
- package/lib/interaction/exports.d.ts +5 -3
- package/lib/interaction/services/hosted-interaction-context.d.ts +2 -0
- package/lib/interaction/services/mat-bottom-sheet-interaction/bottom-sheet-interaction-context.d.ts +2 -1
- package/lib/interaction/services/mat-bottom-sheet-interaction/sheet-swipe.d.ts +48 -0
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ObserversModule } from '@angular/cdk/observers';
|
|
2
2
|
import * as i1$1 from '@angular/common';
|
|
3
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
3
|
+
import { DOCUMENT, CommonModule, Location } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, ViewContainerRef, Directive, ElementRef, Inject, Host, Optional, Input, HostListener, InjectionToken, ChangeDetectorRef, NgZone, Injectable, Pipe, NgModule, Component, ContentChild, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, ViewChildren, EventEmitter, Output, Self, forwardRef, isDevMode, ContentChildren, ComponentRef, Injector, PLATFORM_ID, SkipSelf, runInInjectionContext, ErrorHandler, ENVIRONMENT_INITIALIZER } from '@angular/core';
|
|
6
6
|
import * as i2$5 from '@angular/forms';
|
|
@@ -57,9 +57,9 @@ import ResizeObserver from 'resize-observer-polyfill';
|
|
|
57
57
|
import { generateKeyBetween } from 'fractional-indexing';
|
|
58
58
|
import * as i5$1 from '@angular/cdk/a11y';
|
|
59
59
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
60
|
-
import * as i1$
|
|
60
|
+
import * as i1$7 from '@angular/material/bottom-sheet';
|
|
61
61
|
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
|
|
62
|
-
import * as i1$
|
|
62
|
+
import * as i1$8 from '@angular/material/dialog';
|
|
63
63
|
import { MatDialogModule, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
64
64
|
import * as i1$5 from '@angular/router';
|
|
65
65
|
import { UrlSegment, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterModule, ActivatedRoute, ActivatedRouteSnapshot } from '@angular/router';
|
|
@@ -69,6 +69,7 @@ import { style, trigger, transition, animate, group, query } from '@angular/anim
|
|
|
69
69
|
import { MatCardModule } from '@angular/material/card';
|
|
70
70
|
import * as i3$3 from '@angular/material/list';
|
|
71
71
|
import { MatListModule } from '@angular/material/list';
|
|
72
|
+
import { Subject } from 'rxjs';
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
75
|
* `matTooltip` that also renders inside a detached change-detection subtree — i.e. inside an
|
|
@@ -9254,6 +9255,11 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
9254
9255
|
this.faces = style;
|
|
9255
9256
|
}
|
|
9256
9257
|
layout = ActivityActionsComponent.Layout.BLOCK;
|
|
9258
|
+
/**
|
|
9259
|
+
* Where the buttons sit. 'start' and 'end' put both at that end, the content filling the rest; 'stretch' puts cancel
|
|
9260
|
+
* at the start and confirm at the end, the content between them. 'fill' shares the bar's width between the buttons, so
|
|
9261
|
+
* a lone button spans it, as the one action at the foot of a phone's sheet does; the content sits above them.
|
|
9262
|
+
*/
|
|
9257
9263
|
align = ActivityActionsComponent.Align.STRETCH;
|
|
9258
9264
|
alignContent = ActivityActionsComponent.AlignContent.CENTER;
|
|
9259
9265
|
activityContext = this.inject(ActivityContext, {
|
|
@@ -9279,7 +9285,7 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
9279
9285
|
this.cancelCommandComponent.requestFocus();
|
|
9280
9286
|
}
|
|
9281
9287
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9282
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align", alignContent: "alignContent" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align", "attr.align-content": "this.alignContent" } }, viewQueries: [{ propertyName: "confirmCommandComponent", first: true, predicate: ["confirmCommandComponent"], descendants: true }, { propertyName: "cancelCommandComponent", first: true, predicate: ["cancelCommandComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
9288
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align", alignContent: "alignContent" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align", "attr.align-content": "this.alignContent" } }, viewQueries: [{ propertyName: "confirmCommandComponent", first: true, predicate: ["confirmCommandComponent"], descendants: true }, { propertyName: "cancelCommandComponent", first: true, predicate: ["cancelCommandComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=block][align=fill]{display:flex;flex-wrap:wrap}:host[layout=block][align=fill] .content{flex:1 0 100%}:host[layout=block][align=fill] .content:empty{display:none}:host[layout=block][align=fill] .cancel,:host[layout=block][align=fill] .confirm{flex:1 1 0}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
9283
9289
|
}
|
|
9284
9290
|
__decorate([
|
|
9285
9291
|
Proxify(),
|
|
@@ -9291,7 +9297,7 @@ __decorate([
|
|
|
9291
9297
|
], ActivityActionsComponent.prototype, "cancelCommand", null);
|
|
9292
9298
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityActionsComponent, decorators: [{
|
|
9293
9299
|
type: Component,
|
|
9294
|
-
args: [{ selector: 'aup-activity-actions', template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"] }]
|
|
9300
|
+
args: [{ selector: 'aup-activity-actions', template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=block][align=fill]{display:flex;flex-wrap:wrap}:host[layout=block][align=fill] .content{flex:1 0 100%}:host[layout=block][align=fill] .content:empty{display:none}:host[layout=block][align=fill] .cancel,:host[layout=block][align=fill] .confirm{flex:1 1 0}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"] }]
|
|
9295
9301
|
}], ctorParameters: function () { return []; }, propDecorators: { confirmCommandComponent: [{
|
|
9296
9302
|
type: ViewChild,
|
|
9297
9303
|
args: ["confirmCommandComponent"]
|
|
@@ -9334,7 +9340,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
9334
9340
|
ActivityActionsComponent.Align = Enum({
|
|
9335
9341
|
START: 'start',
|
|
9336
9342
|
STRETCH: 'stretch',
|
|
9337
|
-
END: 'end'
|
|
9343
|
+
END: 'end',
|
|
9344
|
+
FILL: 'fill'
|
|
9338
9345
|
});
|
|
9339
9346
|
ActivityActionsComponent.AlignContent = Enum({
|
|
9340
9347
|
START: 'start',
|
|
@@ -10547,15 +10554,26 @@ class RemoveLastInteractionFromUrlNavigationSession extends NavigationSession {
|
|
|
10547
10554
|
else if (this.gotPopState) {
|
|
10548
10555
|
if (this.poppedUrlLostPlaceParameters()) {
|
|
10549
10556
|
this.restoringPlaceParameters = true;
|
|
10550
|
-
|
|
10557
|
+
// A navigation the router skips, as one to the url it already shows, ends with no NavigationEnd. The session
|
|
10558
|
+
// would then never finish, and every interaction closed later would wait out its timeout.
|
|
10559
|
+
this.context.navigateByUrl(this.interactionFreeUrl, { replaceUrl: false }).then(navigated => {
|
|
10560
|
+
if (!navigated && !this.isDisposed()) {
|
|
10561
|
+
this.finishUp();
|
|
10562
|
+
}
|
|
10563
|
+
});
|
|
10551
10564
|
}
|
|
10552
10565
|
else {
|
|
10553
10566
|
this.finishUp();
|
|
10554
10567
|
}
|
|
10555
10568
|
}
|
|
10556
10569
|
}
|
|
10570
|
+
/**
|
|
10571
|
+
* Location.path() drops a trailing slash, which the router's url keeps for a place whose route id is still empty
|
|
10572
|
+
* (`groups/`). The interaction-free url is compared in the location's form, or the two never match on such a place.
|
|
10573
|
+
*/
|
|
10557
10574
|
poppedUrlLostPlaceParameters() {
|
|
10558
|
-
|
|
10575
|
+
const interactionFreeUrl = this.urlService.parseUrl(Location.stripTrailingSlash(this.interactionFreeUrl.url));
|
|
10576
|
+
return this.urlService.getCurrentLocationUrlSnapshot().urlTree.toString() !== interactionFreeUrl.urlTree.toString();
|
|
10559
10577
|
}
|
|
10560
10578
|
// @Trace()
|
|
10561
10579
|
handleCanDeactivateCancelledEventScenario(locationTriggerUrl) {
|
|
@@ -15886,6 +15904,11 @@ class HostedInteractionContext extends AbstractInteractionContext {
|
|
|
15886
15904
|
}
|
|
15887
15905
|
}
|
|
15888
15906
|
});
|
|
15907
|
+
host.swipedClosed?.().subscribe(() => {
|
|
15908
|
+
if (this.canClose(activityContainer, options)) {
|
|
15909
|
+
activityContainer.cancelActiveActivity();
|
|
15910
|
+
}
|
|
15911
|
+
});
|
|
15889
15912
|
host.afterClosed().subscribe(() => {
|
|
15890
15913
|
if (activityContainer.isActive()) {
|
|
15891
15914
|
activityContainer.cancelActiveActivity();
|
|
@@ -15909,6 +15932,223 @@ class HostedInteractionContext extends AbstractInteractionContext {
|
|
|
15909
15932
|
}
|
|
15910
15933
|
}
|
|
15911
15934
|
|
|
15935
|
+
/**
|
|
15936
|
+
* Lets a sheet be swiped down to close, as a phone's sheets are.
|
|
15937
|
+
*
|
|
15938
|
+
* A drag starts only in the sheet's top strip, its handle and its activity's title, so it never takes over a scroll in
|
|
15939
|
+
* the activity's body. The sheet follows the pointer down. Released a third of its height down, or flicked down, it
|
|
15940
|
+
* asks to close, as Escape does; otherwise it springs back. A sheet whose activity does not let it close
|
|
15941
|
+
* springs back too.
|
|
15942
|
+
*
|
|
15943
|
+
* The drag moves the sheet's overlay pane rather than the sheet itself. Material animates the sheet's own position as
|
|
15944
|
+
* it closes, so a sheet that closes slides on down from where the drag left it.
|
|
15945
|
+
*/
|
|
15946
|
+
class SheetSwipe {
|
|
15947
|
+
sheet;
|
|
15948
|
+
pane;
|
|
15949
|
+
requestClose;
|
|
15950
|
+
closing;
|
|
15951
|
+
tracking;
|
|
15952
|
+
offset;
|
|
15953
|
+
listeners;
|
|
15954
|
+
/**
|
|
15955
|
+
* @param sheet the sheet's container, which holds the handle and the activity.
|
|
15956
|
+
* @param pane the overlay pane holding the sheet, which the drag moves.
|
|
15957
|
+
* @param requestClose asks the sheet to close, as Escape does. The sheet closes only if its activity allows.
|
|
15958
|
+
* @param closing whether the sheet has begun to close.
|
|
15959
|
+
*/
|
|
15960
|
+
constructor(sheet, pane, requestClose, closing) {
|
|
15961
|
+
this.sheet = sheet;
|
|
15962
|
+
this.pane = pane;
|
|
15963
|
+
this.requestClose = requestClose;
|
|
15964
|
+
this.closing = closing;
|
|
15965
|
+
this.listeners = [
|
|
15966
|
+
['pointerdown', (e) => this.pointerDown(e)],
|
|
15967
|
+
['pointermove', (e) => this.pointerMove(e)],
|
|
15968
|
+
['pointerup', (e) => this.pointerUp(e)],
|
|
15969
|
+
['pointercancel', () => this.springBack()],
|
|
15970
|
+
// A touch in the strip would otherwise start the browser's own pan, or a pull to refresh, and cancel the drag.
|
|
15971
|
+
['touchmove', (e) => this.tracking && e.preventDefault(), { passive: false }],
|
|
15972
|
+
];
|
|
15973
|
+
this.listeners.forEach(([type, listener, options]) => sheet.addEventListener(type, listener, options));
|
|
15974
|
+
}
|
|
15975
|
+
dispose() {
|
|
15976
|
+
this.listeners.forEach(([type, listener, options]) => this.sheet.removeEventListener(type, listener, options));
|
|
15977
|
+
}
|
|
15978
|
+
pointerDown(event) {
|
|
15979
|
+
if (!event.isPrimary || event.button !== 0 || !this.inTopStrip(event)) {
|
|
15980
|
+
return;
|
|
15981
|
+
}
|
|
15982
|
+
this.tracking = { pointerId: event.pointerId, startY: event.clientY, lastY: event.clientY, lastTime: event.timeStamp, speed: 0 };
|
|
15983
|
+
}
|
|
15984
|
+
pointerMove(event) {
|
|
15985
|
+
const tracking = this.tracking;
|
|
15986
|
+
if (!tracking || event.pointerId !== tracking.pointerId) {
|
|
15987
|
+
return;
|
|
15988
|
+
}
|
|
15989
|
+
const distance = event.clientY - tracking.startY;
|
|
15990
|
+
if (this.offset === undefined) {
|
|
15991
|
+
if (Math.abs(distance) < SheetSwipe.START_DISTANCE) {
|
|
15992
|
+
return;
|
|
15993
|
+
}
|
|
15994
|
+
if (distance < 0) {
|
|
15995
|
+
// A sheet already as tall as its activity has nowhere to go up.
|
|
15996
|
+
this.tracking = undefined;
|
|
15997
|
+
return;
|
|
15998
|
+
}
|
|
15999
|
+
this.sheet.setPointerCapture?.(event.pointerId);
|
|
16000
|
+
this.pane.style.transition = 'none';
|
|
16001
|
+
}
|
|
16002
|
+
const elapsed = event.timeStamp - tracking.lastTime;
|
|
16003
|
+
if (elapsed > 0) {
|
|
16004
|
+
tracking.speed = (event.clientY - tracking.lastY) / elapsed;
|
|
16005
|
+
}
|
|
16006
|
+
tracking.lastY = event.clientY;
|
|
16007
|
+
tracking.lastTime = event.timeStamp;
|
|
16008
|
+
this.offset = Math.max(0, distance);
|
|
16009
|
+
this.pane.style.transform = `translateY(${this.offset}px)`;
|
|
16010
|
+
}
|
|
16011
|
+
pointerUp(event) {
|
|
16012
|
+
const tracking = this.tracking;
|
|
16013
|
+
const offset = this.offset;
|
|
16014
|
+
this.tracking = undefined;
|
|
16015
|
+
if (!tracking || event.pointerId !== tracking.pointerId || offset === undefined) {
|
|
16016
|
+
return;
|
|
16017
|
+
}
|
|
16018
|
+
this.swallowNextClick();
|
|
16019
|
+
// A pointer held still before letting go has stopped, however fast it last moved.
|
|
16020
|
+
const flicked = event.timeStamp - tracking.lastTime < SheetSwipe.FLICK_WINDOW && tracking.speed >= SheetSwipe.FLICK_SPEED;
|
|
16021
|
+
if (flicked || offset >= this.sheet.getBoundingClientRect().height * SheetSwipe.CLOSE_FRACTION) {
|
|
16022
|
+
this.requestClose(event);
|
|
16023
|
+
// Closing cancels the activity first, which settles in a later microtask; a sheet still open after that stays.
|
|
16024
|
+
setTimeout(() => this.closing() || this.springBack());
|
|
16025
|
+
}
|
|
16026
|
+
else {
|
|
16027
|
+
this.springBack();
|
|
16028
|
+
}
|
|
16029
|
+
}
|
|
16030
|
+
springBack() {
|
|
16031
|
+
this.tracking = undefined;
|
|
16032
|
+
this.offset = undefined;
|
|
16033
|
+
const reduceMotion = typeof matchMedia === 'function' && matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
16034
|
+
this.pane.style.transition = reduceMotion ? 'none' : 'transform 200ms ease-out';
|
|
16035
|
+
this.pane.style.transform = '';
|
|
16036
|
+
}
|
|
16037
|
+
/** The handle sits in the sheet's top padding, above the activity; the title is the activity's own top strip. */
|
|
16038
|
+
inTopStrip(event) {
|
|
16039
|
+
const target = event.target;
|
|
16040
|
+
if (target?.closest?.('aup-activity-title')) {
|
|
16041
|
+
return true;
|
|
16042
|
+
}
|
|
16043
|
+
return event.clientY - this.sheet.getBoundingClientRect().top < SheetSwipe.HANDLE_STRIP_HEIGHT;
|
|
16044
|
+
}
|
|
16045
|
+
/** A drag that started on a button in the title must not also press it. The click, if any, follows pointerup at once. */
|
|
16046
|
+
swallowNextClick() {
|
|
16047
|
+
const swallow = (click) => {
|
|
16048
|
+
click.stopPropagation();
|
|
16049
|
+
click.preventDefault();
|
|
16050
|
+
};
|
|
16051
|
+
this.sheet.addEventListener('click', swallow, { capture: true, once: true });
|
|
16052
|
+
setTimeout(() => this.sheet.removeEventListener('click', swallow, { capture: true }));
|
|
16053
|
+
}
|
|
16054
|
+
}
|
|
16055
|
+
(function (SheetSwipe) {
|
|
16056
|
+
/** How far, in px, a pointer moves before it drags the sheet rather than taps what is under it. */
|
|
16057
|
+
SheetSwipe.START_DISTANCE = 6;
|
|
16058
|
+
/** The share of its height a sheet is dragged down before letting go closes it. */
|
|
16059
|
+
SheetSwipe.CLOSE_FRACTION = 1 / 3;
|
|
16060
|
+
/** The downward speed, in px per millisecond, at which letting go closes a sheet however far it was dragged. */
|
|
16061
|
+
SheetSwipe.FLICK_SPEED = 0.5;
|
|
16062
|
+
/** How long, in milliseconds, before letting go the pointer's speed is measured for a flick. */
|
|
16063
|
+
SheetSwipe.FLICK_WINDOW = 100;
|
|
16064
|
+
/** The height, in px, of the strip at the sheet's top that holds its handle. */
|
|
16065
|
+
SheetSwipe.HANDLE_STRIP_HEIGHT = 24;
|
|
16066
|
+
})(SheetSwipe || (SheetSwipe = {}));
|
|
16067
|
+
|
|
16068
|
+
/**
|
|
16069
|
+
* Runs each activity in a sheet that rises from the foot of the screen, as a phone shows a choice. The
|
|
16070
|
+
* sheet is as tall as its activity, up to most of the screen. An activity started from inside one
|
|
16071
|
+
* slides in over it in the same sheet, and its own Back returns to the one before. A swipe down from
|
|
16072
|
+
* its handle or title closes it as Escape does (see `SheetSwipe`).
|
|
16073
|
+
*/
|
|
16074
|
+
class BottomSheetInteractionContext extends HostedInteractionContext {
|
|
16075
|
+
bottomSheet;
|
|
16076
|
+
config;
|
|
16077
|
+
constructor(identifier, api, bottomSheet, config) {
|
|
16078
|
+
super(identifier, api);
|
|
16079
|
+
this.bottomSheet = bottomSheet;
|
|
16080
|
+
this.config = config;
|
|
16081
|
+
assert$1.notNil(bottomSheet);
|
|
16082
|
+
}
|
|
16083
|
+
openHost() {
|
|
16084
|
+
const config = {
|
|
16085
|
+
...this.config,
|
|
16086
|
+
disableClose: true,
|
|
16087
|
+
panelClass: 'bottom-sheet-interaction-context'
|
|
16088
|
+
};
|
|
16089
|
+
const sheetRef = this.bottomSheet.open(ActivityContainerComponent, config);
|
|
16090
|
+
const activityContainer = sheetRef.instance;
|
|
16091
|
+
// A dialog's container fills the dialog; a sheet's takes its height from the activity in it.
|
|
16092
|
+
activityContainer.dynamicHeight = true;
|
|
16093
|
+
let closing = false;
|
|
16094
|
+
const swipedClosed$ = new Subject();
|
|
16095
|
+
let swipe;
|
|
16096
|
+
sheetRef.afterOpened().subscribe(() => {
|
|
16097
|
+
const sheet = activityContainer.elementRef.nativeElement.closest('.mat-bottom-sheet-container');
|
|
16098
|
+
const pane = sheet?.closest('.bottom-sheet-interaction-context');
|
|
16099
|
+
if (sheet && pane) {
|
|
16100
|
+
swipe = new SheetSwipe(sheet, pane, event => swipedClosed$.next(event), () => closing);
|
|
16101
|
+
}
|
|
16102
|
+
});
|
|
16103
|
+
sheetRef.afterDismissed().subscribe(() => swipe?.dispose());
|
|
16104
|
+
return {
|
|
16105
|
+
activityContainer,
|
|
16106
|
+
close: () => {
|
|
16107
|
+
closing = true;
|
|
16108
|
+
sheetRef.dismiss();
|
|
16109
|
+
},
|
|
16110
|
+
afterOpened: () => sheetRef.afterOpened(),
|
|
16111
|
+
afterClosed: () => sheetRef.afterDismissed(),
|
|
16112
|
+
backdropClick: () => sheetRef.backdropClick(),
|
|
16113
|
+
swipedClosed: () => swipedClosed$,
|
|
16114
|
+
keydownEvents: () => sheetRef.keydownEvents(),
|
|
16115
|
+
updateSize: () => undefined,
|
|
16116
|
+
};
|
|
16117
|
+
}
|
|
16118
|
+
}
|
|
16119
|
+
|
|
16120
|
+
/**
|
|
16121
|
+
* Creates contexts that run their activities in a sheet from the foot of the screen. Pass it to
|
|
16122
|
+
* `InteractionService.createModalInteractionContextDisposedWith` for a context that uses sheets while
|
|
16123
|
+
* the app's own modal contexts stay dialogs, or provide it as the `ModalInteractionContextFactory` for
|
|
16124
|
+
* every modal context to use them.
|
|
16125
|
+
*/
|
|
16126
|
+
class BottomSheetInteractionContextFactory extends ModalInteractionContextFactory {
|
|
16127
|
+
bottomSheet;
|
|
16128
|
+
constructor(bottomSheet) {
|
|
16129
|
+
super();
|
|
16130
|
+
this.bottomSheet = bottomSheet;
|
|
16131
|
+
}
|
|
16132
|
+
createInteractionContext(identifier, api) {
|
|
16133
|
+
return new BottomSheetInteractionContext(identifier, api, this.bottomSheet, {
|
|
16134
|
+
autoFocus: false,
|
|
16135
|
+
hasBackdrop: true,
|
|
16136
|
+
closeOnNavigation: false,
|
|
16137
|
+
// As the dialog context does: focus restored into a background CDK still marks aria-hidden is
|
|
16138
|
+
// blocked and warned about by Chrome.
|
|
16139
|
+
restoreFocus: false,
|
|
16140
|
+
});
|
|
16141
|
+
}
|
|
16142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, deps: [{ token: i1$7.MatBottomSheet }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16143
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, providedIn: 'root' });
|
|
16144
|
+
}
|
|
16145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, decorators: [{
|
|
16146
|
+
type: Injectable,
|
|
16147
|
+
args: [{
|
|
16148
|
+
providedIn: 'root'
|
|
16149
|
+
}]
|
|
16150
|
+
}], ctorParameters: function () { return [{ type: i1$7.MatBottomSheet }]; } });
|
|
16151
|
+
|
|
15912
16152
|
/** Runs each activity in a dialog of its own, centred over the page. */
|
|
15913
16153
|
class DialogInteractionContext extends HostedInteractionContext {
|
|
15914
16154
|
dialogService;
|
|
@@ -15970,7 +16210,7 @@ class DialogInteractionContextFactory extends ModalInteractionContextFactory {
|
|
|
15970
16210
|
};
|
|
15971
16211
|
return new DialogInteractionContext(identifier, api, this.dialogService, config);
|
|
15972
16212
|
}
|
|
15973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DialogInteractionContextFactory, deps: [{ token: i1$
|
|
16213
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DialogInteractionContextFactory, deps: [{ token: i1$8.MatDialog }, { token: DIALOG_INTERACTION_SERVICE_DEFAULTS, optional: true }, { token: MAT_DIALOG_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15974
16214
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DialogInteractionContextFactory, providedIn: 'root' });
|
|
15975
16215
|
}
|
|
15976
16216
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DialogInteractionContextFactory, decorators: [{
|
|
@@ -15978,86 +16218,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
15978
16218
|
args: [{
|
|
15979
16219
|
providedIn: 'root'
|
|
15980
16220
|
}]
|
|
15981
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
16221
|
+
}], ctorParameters: function () { return [{ type: i1$8.MatDialog }, { type: i1$8.MatDialogConfig, decorators: [{
|
|
15982
16222
|
type: Optional
|
|
15983
16223
|
}, {
|
|
15984
16224
|
type: Inject,
|
|
15985
16225
|
args: [DIALOG_INTERACTION_SERVICE_DEFAULTS]
|
|
15986
|
-
}] }, { type: i1$
|
|
16226
|
+
}] }, { type: i1$8.MatDialogConfig, decorators: [{
|
|
15987
16227
|
type: Optional
|
|
15988
16228
|
}, {
|
|
15989
16229
|
type: Inject,
|
|
15990
16230
|
args: [MAT_DIALOG_DEFAULT_OPTIONS]
|
|
15991
16231
|
}] }]; } });
|
|
15992
16232
|
|
|
15993
|
-
/**
|
|
15994
|
-
* Runs each activity in a sheet that rises from the foot of the screen, as a phone shows a choice. The
|
|
15995
|
-
* sheet is as tall as its activity, up to most of the screen. An activity started from inside one
|
|
15996
|
-
* slides in over it in the same sheet, and its own Back returns to the one before.
|
|
15997
|
-
*/
|
|
15998
|
-
class BottomSheetInteractionContext extends HostedInteractionContext {
|
|
15999
|
-
bottomSheet;
|
|
16000
|
-
config;
|
|
16001
|
-
constructor(identifier, api, bottomSheet, config) {
|
|
16002
|
-
super(identifier, api);
|
|
16003
|
-
this.bottomSheet = bottomSheet;
|
|
16004
|
-
this.config = config;
|
|
16005
|
-
assert$1.notNil(bottomSheet);
|
|
16006
|
-
}
|
|
16007
|
-
openHost() {
|
|
16008
|
-
const config = {
|
|
16009
|
-
...this.config,
|
|
16010
|
-
disableClose: true,
|
|
16011
|
-
panelClass: 'bottom-sheet-interaction-context'
|
|
16012
|
-
};
|
|
16013
|
-
const sheetRef = this.bottomSheet.open(ActivityContainerComponent, config);
|
|
16014
|
-
const activityContainer = sheetRef.instance;
|
|
16015
|
-
// A dialog's container fills the dialog; a sheet's takes its height from the activity in it.
|
|
16016
|
-
activityContainer.dynamicHeight = true;
|
|
16017
|
-
return {
|
|
16018
|
-
activityContainer,
|
|
16019
|
-
close: () => sheetRef.dismiss(),
|
|
16020
|
-
afterOpened: () => sheetRef.afterOpened(),
|
|
16021
|
-
afterClosed: () => sheetRef.afterDismissed(),
|
|
16022
|
-
backdropClick: () => sheetRef.backdropClick(),
|
|
16023
|
-
keydownEvents: () => sheetRef.keydownEvents(),
|
|
16024
|
-
updateSize: () => undefined,
|
|
16025
|
-
};
|
|
16026
|
-
}
|
|
16027
|
-
}
|
|
16028
|
-
|
|
16029
|
-
/**
|
|
16030
|
-
* Creates contexts that run their activities in a sheet from the foot of the screen. Pass it to
|
|
16031
|
-
* `InteractionService.createModalInteractionContextDisposedWith` for a context that uses sheets while
|
|
16032
|
-
* the app's own modal contexts stay dialogs, or provide it as the `ModalInteractionContextFactory` for
|
|
16033
|
-
* every modal context to use them.
|
|
16034
|
-
*/
|
|
16035
|
-
class BottomSheetInteractionContextFactory extends ModalInteractionContextFactory {
|
|
16036
|
-
bottomSheet;
|
|
16037
|
-
constructor(bottomSheet) {
|
|
16038
|
-
super();
|
|
16039
|
-
this.bottomSheet = bottomSheet;
|
|
16040
|
-
}
|
|
16041
|
-
createInteractionContext(identifier, api) {
|
|
16042
|
-
return new BottomSheetInteractionContext(identifier, api, this.bottomSheet, {
|
|
16043
|
-
autoFocus: false,
|
|
16044
|
-
hasBackdrop: true,
|
|
16045
|
-
closeOnNavigation: false,
|
|
16046
|
-
// As the dialog context does: focus restored into a background CDK still marks aria-hidden is
|
|
16047
|
-
// blocked and warned about by Chrome.
|
|
16048
|
-
restoreFocus: false,
|
|
16049
|
-
});
|
|
16050
|
-
}
|
|
16051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, deps: [{ token: i1$8.MatBottomSheet }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16052
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, providedIn: 'root' });
|
|
16053
|
-
}
|
|
16054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BottomSheetInteractionContextFactory, decorators: [{
|
|
16055
|
-
type: Injectable,
|
|
16056
|
-
args: [{
|
|
16057
|
-
providedIn: 'root'
|
|
16058
|
-
}]
|
|
16059
|
-
}], ctorParameters: function () { return [{ type: i1$8.MatBottomSheet }]; } });
|
|
16060
|
-
|
|
16061
16233
|
/**
|
|
16062
16234
|
* @file Automatically generated by barrelsby.
|
|
16063
16235
|
*/
|
|
@@ -16681,5 +16853,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
16681
16853
|
* Generated bundle index. Do not edit.
|
|
16682
16854
|
*/
|
|
16683
16855
|
|
|
16684
|
-
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, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, 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, HostedInteractionContext, 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 };
|
|
16856
|
+
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, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, 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, HostedInteractionContext, 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, SheetSwipe, 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, registerValidators, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
16685
16857
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|