@coolon/angular-ui-powerups 13.7.10 → 13.7.12

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.
@@ -39,7 +39,7 @@ import { MatTableModule } from '@angular/material/table';
39
39
  import * as i6 from '@angular/material/tooltip';
40
40
  import { MatTooltipModule } from '@angular/material/tooltip';
41
41
  import * as i1$6 from '@coolon/pectin';
42
- import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, DelegatingListModel, MutableValueModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, Functions, MultipleSelectionModel, AbstractComputedListModel, DelegatingSelectionModel, DirtyTrackingForm, PagedListModel, PageController, ComputedListModel, Trace, Deferred } from '@coolon/pectin';
42
+ import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, DelegatingListModel, MutableValueModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, Functions, MultipleSelectionModel, AbstractComputedListModel, DelegatingSelectionModel, DirtyTrackingForm, PagedListModel, PageController, ComputedListModel, Deferred } from '@coolon/pectin';
43
43
  import { __decorate, __param, __metadata } from 'tslib';
44
44
  import * as i1$2 from '@angular/platform-browser';
45
45
  import escapeStringRegexp from 'escape-string-regexp';
@@ -4029,7 +4029,7 @@ class TableComponent extends AbstractTableComponent {
4029
4029
  return this.tableModel;
4030
4030
  }
4031
4031
  footerContentChanged($event) {
4032
- console.log($event);
4032
+ // console.log($event);
4033
4033
  this._footerContentAdded = true;
4034
4034
  }
4035
4035
  //@Trace()
@@ -5538,6 +5538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImpor
5538
5538
  isNavigationInProgress() {
5539
5539
  return this.placeRouter.navigationInProgress$.value;
5540
5540
  }
5541
+ // @Trace()
5541
5542
  notifyFinished(context) {
5542
5543
  this.contextRegistry.finish(context);
5543
5544
  // :: Important ::
@@ -5552,12 +5553,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImpor
5552
5553
  this.placeRouter.syncInteractionContextIdsWithRouter();
5553
5554
  }
5554
5555
  }
5555
- __decorate([
5556
- Trace(),
5557
- __metadata("design:type", Function),
5558
- __metadata("design:paramtypes", [Object]),
5559
- __metadata("design:returntype", Promise)
5560
- ], ApiAdapter.prototype, "notifyFinished", null);
5561
5556
  InteractionService.ApiAdapter = ApiAdapter;
5562
5557
  })(InteractionService || (InteractionService = {}));
5563
5558
 
@@ -7471,7 +7466,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
7471
7466
  if (!this.isActive()) {
7472
7467
  // wait until the activity route syncing has finished
7473
7468
  await this.placeRouter.waitActivitiesSynchronised();
7474
- console.log("activity syncing finished");
7469
+ // console.log("activity syncing finished")
7475
7470
  }
7476
7471
  }
7477
7472
  }
@@ -7526,6 +7521,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
7526
7521
  /**
7527
7522
  * Synchronises the selected tab index.
7528
7523
  */
7524
+ // @Trace()
7529
7525
  synchroniseSelectedTabIndex() {
7530
7526
  assert.isTruthy(this.isActive());
7531
7527
  const previousIndex = this.tabs.selectedIndex;
@@ -7566,12 +7562,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
7566
7562
  }
7567
7563
  ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: ActivityContainerComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
7568
7564
  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"] }] });
7569
- __decorate([
7570
- Trace(),
7571
- __metadata("design:type", Function),
7572
- __metadata("design:paramtypes", []),
7573
- __metadata("design:returntype", void 0)
7574
- ], ActivityContainerComponent.prototype, "synchroniseSelectedTabIndex", null);
7575
7565
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: ActivityContainerComponent, decorators: [{
7576
7566
  type: Component,
7577
7567
  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"] }]
@@ -7583,7 +7573,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImpor
7583
7573
  }], activityOutlets: [{
7584
7574
  type: ViewChildren,
7585
7575
  args: [ActivityOutletComponent]
7586
- }], synchroniseSelectedTabIndex: [] } });
7576
+ }] } });
7587
7577
 
7588
7578
  class AbstractActivityTriggerComponent extends DisposableComponent {
7589
7579
  constructor() {
@@ -9326,7 +9316,7 @@ class PlaceOutletComponent extends DisposableComponent {
9326
9316
  const { when, chain, valueOf } = Dsl.disposeWith(activePlace);
9327
9317
  when(this.routerVisitModel)
9328
9318
  .changes(visit => {
9329
- console.log("routerVisitModel.change", { routerVisitModel: this.routerVisitModel.value });
9319
+ // console.log("routerVisitModel.change", { routerVisitModel: this.routerVisitModel.value })
9330
9320
  this.pushVisitChangeToComponent(activePlace, visit);
9331
9321
  }, {
9332
9322
  unless: valueOf.any(this._isPushingVisitToRoute, this.routerVisitModel.isNil()).areTruthy()
@@ -10171,7 +10161,7 @@ class VisibilityService extends GarbageCollector {
10171
10161
  }
10172
10162
  // Warn if the browser doesn't support addEventListener or the Page Visibility API
10173
10163
  if (typeof this.document.addEventListener === 'undefined' || typeof document[this.attributeName] === 'undefined') {
10174
- console.log('This demo requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API.');
10164
+ console.log('This app requires a browser, such as Google Chrome or Firefox, that supports the Page Visibility API.');
10175
10165
  }
10176
10166
  else {
10177
10167
  // Handle page visibility change