@coolon/angular-ui-powerups 13.7.9 → 13.7.11
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/esm2020/lib/interaction/activity-ref.mjs +3 -9
- package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +4 -10
- package/fesm2015/coolon-angular-ui-powerups.mjs +3 -13
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +3 -13
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7303,6 +7303,7 @@ class ActivityRef {
|
|
|
7303
7303
|
});
|
|
7304
7304
|
this._activityBusy.setDelegate(this._activity.busy$);
|
|
7305
7305
|
}
|
|
7306
|
+
// @Trace()
|
|
7306
7307
|
finishActivity(resolveOrReject) {
|
|
7307
7308
|
assert.isFalsey(this.isComplete());
|
|
7308
7309
|
resolveOrReject(this.deferredResult);
|
|
@@ -7320,12 +7321,6 @@ class ActivityRef {
|
|
|
7320
7321
|
return this._activityBusy.readonly;
|
|
7321
7322
|
}
|
|
7322
7323
|
}
|
|
7323
|
-
__decorate([
|
|
7324
|
-
Trace(),
|
|
7325
|
-
__metadata("design:type", Function),
|
|
7326
|
-
__metadata("design:paramtypes", [Function]),
|
|
7327
|
-
__metadata("design:returntype", void 0)
|
|
7328
|
-
], ActivityRef.prototype, "finishActivity", null);
|
|
7329
7324
|
|
|
7330
7325
|
/**
|
|
7331
7326
|
* ActivityOutletComponent creates and displays an activity and delegates the interaction context functionality to an
|
|
@@ -7531,6 +7526,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
7531
7526
|
/**
|
|
7532
7527
|
* Synchronises the selected tab index.
|
|
7533
7528
|
*/
|
|
7529
|
+
// @Trace()
|
|
7534
7530
|
synchroniseSelectedTabIndex() {
|
|
7535
7531
|
assert.isTruthy(this.isActive());
|
|
7536
7532
|
const previousIndex = this.tabs.selectedIndex;
|
|
@@ -7571,12 +7567,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
7571
7567
|
}
|
|
7572
7568
|
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: ActivityContainerComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
7573
7569
|
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.4", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight" }, viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], components: [{ type: i2$3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i2$3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busyModel", "busy"] }, { type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }] });
|
|
7574
|
-
__decorate([
|
|
7575
|
-
Trace(),
|
|
7576
|
-
__metadata("design:type", Function),
|
|
7577
|
-
__metadata("design:paramtypes", []),
|
|
7578
|
-
__metadata("design:returntype", void 0)
|
|
7579
|
-
], ActivityContainerComponent.prototype, "synchroniseSelectedTabIndex", null);
|
|
7580
7570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: ActivityContainerComponent, decorators: [{
|
|
7581
7571
|
type: Component,
|
|
7582
7572
|
args: [{ selector: "aup-activity-container", template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"] }]
|
|
@@ -7588,7 +7578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImpor
|
|
|
7588
7578
|
}], activityOutlets: [{
|
|
7589
7579
|
type: ViewChildren,
|
|
7590
7580
|
args: [ActivityOutletComponent]
|
|
7591
|
-
}]
|
|
7581
|
+
}] } });
|
|
7592
7582
|
|
|
7593
7583
|
class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
7594
7584
|
constructor() {
|