@coolon/angular-ui-powerups 14.35.0 → 14.35.1
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.mjs +2 -1
- package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +43 -19
- package/esm2020/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +30 -4
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +2 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs +71 -21
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +71 -21
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +10 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +3 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +2 -2
- package/package.json +1 -1
- package/schematics/activity/index.d.ts +0 -3
- package/schematics/activity/index.js +0 -32
- package/schematics/activity/index.js.map +0 -1
- package/schematics/activity/index.spec.d.ts +0 -1
- package/schematics/activity/index.spec.js +0 -364
- package/schematics/activity/index.spec.js.map +0 -1
- package/schematics/activity/schema.d.ts +0 -4
- package/schematics/activity/schema.js +0 -3
- package/schematics/activity/schema.js.map +0 -1
- package/schematics/activity/schema.json +0 -27
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +0 -5
- package/schematics/activity/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/activity/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +0 -40
- package/schematics/activity/templates/component/__name@dasherize__.i18n.yml.template +0 -9
- package/schematics/aup-i18n/index.d.ts +0 -4
- package/schematics/aup-i18n/index.js +0 -86
- package/schematics/aup-i18n/index.js.map +0 -1
- package/schematics/aup-i18n/schema.d.ts +0 -3
- package/schematics/aup-i18n/schema.js +0 -3
- package/schematics/aup-i18n/schema.js.map +0 -1
- package/schematics/aup-i18n/schema.json +0 -18
- package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
- package/schematics/bootstrap-app/index.d.ts +0 -4
- package/schematics/bootstrap-app/index.js +0 -109
- package/schematics/bootstrap-app/index.js.map +0 -1
- package/schematics/bootstrap-app/schema.d.ts +0 -3
- package/schematics/bootstrap-app/schema.js +0 -3
- package/schematics/bootstrap-app/schema.js.map +0 -1
- package/schematics/bootstrap-app/schema.json +0 -18
- package/schematics/bootstrap-app/templates/i18n.config.json.template +0 -11
- package/schematics/bootstrap-app/templates/src/app/app-routing.module.ts.template +0 -23
- package/schematics/bootstrap-app/templates/src/app/app.component.html.template +0 -7
- package/schematics/bootstrap-app/templates/src/app/app.component.scss.template +0 -12
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +0 -19
- package/schematics/bootstrap-app/templates/src/app/app.module.ts.template +0 -74
- package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +0 -16
- package/schematics/bootstrap-app/templates/src/app/i18n.ts.template +0 -9
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -1
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -2373
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/codepoints +0 -932
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/material-icons.css +0 -36
- package/schematics/bootstrap-app/templates/src/index.html.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles/global-variables.scss.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles.scss.template +0 -85
- package/schematics/collection.json +0 -48
- package/schematics/component/index.d.ts +0 -3
- package/schematics/component/index.js +0 -32
- package/schematics/component/index.js.map +0 -1
- package/schematics/component/index.spec.d.ts +0 -1
- package/schematics/component/index.spec.js +0 -364
- package/schematics/component/index.spec.js.map +0 -1
- package/schematics/component/schema.d.ts +0 -4
- package/schematics/component/schema.js +0 -3
- package/schematics/component/schema.js.map +0 -1
- package/schematics/component/schema.json +0 -27
- package/schematics/component/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/component/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/component/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/component/templates/component/__name@dasherize__.component.ts.template +0 -23
- package/schematics/component/templates/component/__name@dasherize__.i18n.yml.template +0 -1
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -37
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/package-util.d.ts +0 -13
- package/schematics/package-util.js +0 -61
- package/schematics/package-util.js.map +0 -1
- package/schematics/place-add/index.d.ts +0 -3
- package/schematics/place-add/index.js +0 -37
- package/schematics/place-add/index.js.map +0 -1
- package/schematics/place-add/index.spec.d.ts +0 -1
- package/schematics/place-add/index.spec.js +0 -364
- package/schematics/place-add/index.spec.js.map +0 -1
- package/schematics/place-add/schema.d.ts +0 -4
- package/schematics/place-add/schema.js +0 -3
- package/schematics/place-add/schema.js.map +0 -1
- package/schematics/place-add/schema.json +0 -27
- package/schematics/place-add/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -5
- package/schematics/place-add/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +0 -33
- package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
- package/schematics/place-bootstrap/index.d.ts +0 -3
- package/schematics/place-bootstrap/index.js +0 -21
- package/schematics/place-bootstrap/index.js.map +0 -1
- package/schematics/place-bootstrap/schema.d.ts +0 -4
- package/schematics/place-bootstrap/schema.js +0 -3
- package/schematics/place-bootstrap/schema.js.map +0 -1
- package/schematics/place-bootstrap/schema.json +0 -28
- package/schematics/place-bootstrap/templates/__name@dasherize__/place-routes.ts.template +0 -3
- package/schematics/place-bootstrap/templates/__name@dasherize__/places.module.ts.template +0 -16
- package/schematics/place-routes/index.d.ts +0 -3
- package/schematics/place-routes/index.js +0 -24
- package/schematics/place-routes/index.js.map +0 -1
- package/schematics/place-routes/place-builder.d.ts +0 -18
- package/schematics/place-routes/place-builder.js +0 -123
- package/schematics/place-routes/place-builder.js.map +0 -1
- package/schematics/place-routes/place-class-scanner.d.ts +0 -47
- package/schematics/place-routes/place-class-scanner.js +0 -223
- package/schematics/place-routes/place-class-scanner.js.map +0 -1
- package/schematics/place-routes/place-def.d.ts +0 -62
- package/schematics/place-routes/place-def.js +0 -195
- package/schematics/place-routes/place-def.js.map +0 -1
- package/schematics/place-routes/schema.d.ts +0 -4
- package/schematics/place-routes/schema.js +0 -3
- package/schematics/place-routes/schema.js.map +0 -1
- package/schematics/place-routes/schema.json +0 -25
- package/schematics/place-routes/templates/place-routes.ts.template +0 -14
- package/schematics/utils/build-context.d.ts +0 -73
- package/schematics/utils/build-context.js +0 -184
- package/schematics/utils/build-context.js.map +0 -1
- package/schematics/utils/decorators/decorated-class.d.ts +0 -13
- package/schematics/utils/decorators/decorated-class.js +0 -28
- package/schematics/utils/decorators/decorated-class.js.map +0 -1
- package/schematics/utils/decorators/decorated-source-file.d.ts +0 -15
- package/schematics/utils/decorators/decorated-source-file.js +0 -27
- package/schematics/utils/decorators/decorated-source-file.js.map +0 -1
- package/schematics/utils/import-def.d.ts +0 -30
- package/schematics/utils/import-def.js +0 -97
- package/schematics/utils/import-def.js.map +0 -1
- package/schematics/utils/method-scanner.d.ts +0 -16
- package/schematics/utils/method-scanner.js +0 -70
- package/schematics/utils/method-scanner.js.map +0 -1
- package/schematics/utils/mixin.d.ts +0 -11
- package/schematics/utils/mixin.js +0 -27
- package/schematics/utils/mixin.js.map +0 -1
- package/schematics/utils/parameter-def.d.ts +0 -5
- package/schematics/utils/parameter-def.js +0 -3
- package/schematics/utils/parameter-def.js.map +0 -1
- package/schematics/utils/path-helper.d.ts +0 -14
- package/schematics/utils/path-helper.js +0 -30
- package/schematics/utils/path-helper.js.map +0 -1
- package/schematics/utils/schematic-tree-file-system.d.ts +0 -30
- package/schematics/utils/schematic-tree-file-system.js +0 -113
- package/schematics/utils/schematic-tree-file-system.js.map +0 -1
- package/schematics/utils/source-file-scanner.d.ts +0 -14
- package/schematics/utils/source-file-scanner.js +0 -89
- package/schematics/utils/source-file-scanner.js.map +0 -1
- package/schematics/utils/source-file-utilities.d.ts +0 -6
- package/schematics/utils/source-file-utilities.js +0 -35
- package/schematics/utils/source-file-utilities.js.map +0 -1
- package/schematics/utils/stringy.d.ts +0 -15
- package/schematics/utils/stringy.js +0 -50
- package/schematics/utils/stringy.js.map +0 -1
- package/schematics/utils/template-utilities.d.ts +0 -2
- package/schematics/utils/template-utilities.js +0 -24
- package/schematics/utils/template-utilities.js.map +0 -1
- package/schematics/utils/workspace.d.ts +0 -15
- package/schematics/utils/workspace.js +0 -59
- package/schematics/utils/workspace.js.map +0 -1
|
@@ -39,7 +39,7 @@ import { MatTableModule } from '@angular/material/table';
|
|
|
39
39
|
import * as i4 from '@angular/material/tooltip';
|
|
40
40
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
41
41
|
import * as i1$3 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, HasDelegate, MultipleSelectionModel, SelectionModel, AbstractComputedListModel, DirtyTrackingForm, DelegatingSelectionModel, PageController, PagedListModel, ComputedListModel, 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, HasDelegate, MultipleSelectionModel, SelectionModel, AbstractComputedListModel, DirtyTrackingForm, DelegatingSelectionModel, PageController, PagedListModel, ComputedListModel, Deferred, Trace } from '@coolon/pectin';
|
|
43
43
|
import { __decorate, __param, __metadata } from 'tslib';
|
|
44
44
|
import * as i1 from '@angular/platform-browser';
|
|
45
45
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
@@ -5583,6 +5583,7 @@ class Activity extends DisposableComponent {
|
|
|
5583
5583
|
notifyActivityReady() {
|
|
5584
5584
|
this.activityReadyListeners.fire(l => l(this));
|
|
5585
5585
|
this._ready$.value = true;
|
|
5586
|
+
console.log("ready");
|
|
5586
5587
|
}
|
|
5587
5588
|
onActivityReady(callback) {
|
|
5588
5589
|
return this.activityReadyListeners.add(callback);
|
|
@@ -8358,9 +8359,24 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8358
8359
|
this.dynamicHeight = false;
|
|
8359
8360
|
this.activityRefs = [];
|
|
8360
8361
|
this.garbage = new GarbageCollector();
|
|
8361
|
-
this.
|
|
8362
|
+
this._started$ = new MutableValueModel(false);
|
|
8363
|
+
this._ready$ = new MutableValueModel(false);
|
|
8364
|
+
this._animating$ = new MutableValueModel(false);
|
|
8362
8365
|
this.busy = this.registerDisposable(new DelegatingValueModel().withDefault(false));
|
|
8363
|
-
this.
|
|
8366
|
+
this.syncTabsJob = undefined;
|
|
8367
|
+
const { chain, valueOf, when } = Dsl.disposeWith(this);
|
|
8368
|
+
when(this.ready$).becomesTruthy(() => {
|
|
8369
|
+
this.finaliseActiveStates();
|
|
8370
|
+
});
|
|
8371
|
+
}
|
|
8372
|
+
get started$() {
|
|
8373
|
+
return this._started$.readonly;
|
|
8374
|
+
}
|
|
8375
|
+
get ready$() {
|
|
8376
|
+
return this._ready$.readonly;
|
|
8377
|
+
}
|
|
8378
|
+
get animating$() {
|
|
8379
|
+
return this._animating$.readonly;
|
|
8364
8380
|
}
|
|
8365
8381
|
initialise(identifier, api) {
|
|
8366
8382
|
assert.isFalsey(this.isInitialised());
|
|
@@ -8369,6 +8385,9 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8369
8385
|
this._identifier = identifier;
|
|
8370
8386
|
this.interactionServiceApi = api;
|
|
8371
8387
|
}
|
|
8388
|
+
notifyReady(ready) {
|
|
8389
|
+
this._ready$.value = ready;
|
|
8390
|
+
}
|
|
8372
8391
|
get identifier() {
|
|
8373
8392
|
return this._identifier;
|
|
8374
8393
|
}
|
|
@@ -8426,10 +8445,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8426
8445
|
}
|
|
8427
8446
|
});
|
|
8428
8447
|
this.launchActivity(activityRef);
|
|
8429
|
-
// if this is the first activity let the interaction service know.
|
|
8430
|
-
if (this.activityRefs.length === 1) {
|
|
8431
|
-
this.interactionServiceApi.notifyActive(this);
|
|
8432
|
-
}
|
|
8433
8448
|
try {
|
|
8434
8449
|
return await activityRef.activityResult;
|
|
8435
8450
|
}
|
|
@@ -8476,8 +8491,13 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8476
8491
|
}
|
|
8477
8492
|
// @Trace()
|
|
8478
8493
|
launchActivity(activityRef) {
|
|
8494
|
+
// if this is the first activity let the interaction service know.
|
|
8479
8495
|
const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8480
8496
|
this.activityRefs = cleanedTabs.concat(activityRef);
|
|
8497
|
+
const firstTime = this.activityRefs.length === 1;
|
|
8498
|
+
if (firstTime) {
|
|
8499
|
+
this.interactionServiceApi.notifyActive(this);
|
|
8500
|
+
}
|
|
8481
8501
|
this.synchroniseSelectedTabIndex();
|
|
8482
8502
|
}
|
|
8483
8503
|
activityIndex(index, activityRef) {
|
|
@@ -8492,21 +8512,26 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8492
8512
|
assert.isTruthy(this.isActive());
|
|
8493
8513
|
const previousIndex = this.tabs.selectedIndex;
|
|
8494
8514
|
const newIndex = this.getActiveActivityCount() - 1;
|
|
8515
|
+
const animate = this.activityRefs.length > 1;
|
|
8495
8516
|
if (previousIndex !== newIndex) {
|
|
8496
|
-
this.
|
|
8497
|
-
this.activityRefs[newIndex]
|
|
8498
|
-
|
|
8517
|
+
this._animating$.value = animate;
|
|
8518
|
+
const activityRef = this.activityRefs[newIndex];
|
|
8519
|
+
activityRef.setFocused(false);
|
|
8520
|
+
this.busy.setDelegate(activityRef.activityBusy);
|
|
8499
8521
|
this.tabs.selectedIndex = newIndex;
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
this.activityRefs.forEach((ref, index) => {
|
|
8505
|
-
ref.setFocused(index === newIndex);
|
|
8506
|
-
});
|
|
8507
|
-
}, this.getTabAnimationDuration());
|
|
8522
|
+
if (this.ready$.value) {
|
|
8523
|
+
// Note: We're not using the animation done event as it's firing almost immeadiately.
|
|
8524
|
+
setTimeout(() => this.finaliseActiveStates(), animate ? this.getTabAnimationDuration() : 0);
|
|
8525
|
+
}
|
|
8508
8526
|
}
|
|
8509
8527
|
}
|
|
8528
|
+
finaliseActiveStates() {
|
|
8529
|
+
this._animating$.value = false;
|
|
8530
|
+
this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8531
|
+
this.activityRefs.forEach((ref, index) => {
|
|
8532
|
+
ref.setFocused(index === this.tabs.selectedIndex);
|
|
8533
|
+
});
|
|
8534
|
+
}
|
|
8510
8535
|
getSelectedOutlet() {
|
|
8511
8536
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
8512
8537
|
}
|
|
@@ -8650,6 +8675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8650
8675
|
args: [{ selector: 'aup-modal-activity-trigger', template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"] }]
|
|
8651
8676
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
8652
8677
|
|
|
8678
|
+
const cssDurationRegex = /(\d+)(m?s)/;
|
|
8653
8679
|
/**
|
|
8654
8680
|
* @example
|
|
8655
8681
|
* <aup-in-place-interaction-context #inPlaceInteractionContext>
|
|
@@ -8681,6 +8707,14 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8681
8707
|
get animationDuration() {
|
|
8682
8708
|
return this.animateFirstActivity ? (this.tabConfig?.animationDuration || "500ms") : "0ms";
|
|
8683
8709
|
}
|
|
8710
|
+
get animationDurationMillis() {
|
|
8711
|
+
const result = cssDurationRegex.exec(this.animationDuration);
|
|
8712
|
+
if (!result) {
|
|
8713
|
+
lang.illegalState(`unsupported css duration: ${this.animationDuration}`);
|
|
8714
|
+
}
|
|
8715
|
+
const multiplier = result[2] === 's' ? 1000 : 1;
|
|
8716
|
+
return multiplier * parseInt(result[1], 10);
|
|
8717
|
+
}
|
|
8684
8718
|
get active() {
|
|
8685
8719
|
return this.isActive();
|
|
8686
8720
|
}
|
|
@@ -8732,12 +8766,27 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8732
8766
|
startActivity(activityType, data, options) {
|
|
8733
8767
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
8734
8768
|
}
|
|
8769
|
+
onTabChanged($event) {
|
|
8770
|
+
if ($event.index === 1) {
|
|
8771
|
+
setTimeout(() => this.activityContainerComponent.notifyReady(true), this.animationDurationMillis);
|
|
8772
|
+
}
|
|
8773
|
+
else {
|
|
8774
|
+
this.activityContainerComponent.notifyReady(false);
|
|
8775
|
+
}
|
|
8776
|
+
}
|
|
8735
8777
|
}
|
|
8736
8778
|
InPlaceInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InPlaceInteractionContextComponent, deps: [{ token: InteractionService }, { token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8737
|
-
InPlaceInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: { animateFirstActivity: "animateFirstActivity", syncWithRoutes: "syncWithRoutes" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs
|
|
8779
|
+
InPlaceInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: { animateFirstActivity: "animateFirstActivity", syncWithRoutes: "syncWithRoutes" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs\n (selectedTabChange)=\"onTabChanged($event)\"\n [dynamicHeight]=\"false\"\n [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"], dependencies: [{ kind: "component", type: i2$6.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i2$6.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight"] }] });
|
|
8780
|
+
__decorate([
|
|
8781
|
+
Trace() // webstorm says no usages... but I'm not sure.
|
|
8782
|
+
,
|
|
8783
|
+
__metadata("design:type", Function),
|
|
8784
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
8785
|
+
__metadata("design:returntype", void 0)
|
|
8786
|
+
], InPlaceInteractionContextComponent.prototype, "onInplaceInteractionContextRegistered", null);
|
|
8738
8787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
8739
8788
|
type: Component,
|
|
8740
|
-
args: [{ selector: "aup-in-place-interaction-context", template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs
|
|
8789
|
+
args: [{ selector: "aup-in-place-interaction-context", template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs\n (selectedTabChange)=\"onTabChanged($event)\"\n [dynamicHeight]=\"false\"\n [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"] }]
|
|
8741
8790
|
}], ctorParameters: function () { return [{ type: InteractionService }, { type: undefined, decorators: [{
|
|
8742
8791
|
type: Inject,
|
|
8743
8792
|
args: [MAT_TABS_CONFIG]
|
|
@@ -8753,7 +8802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8753
8802
|
}], active: [{
|
|
8754
8803
|
type: HostBinding,
|
|
8755
8804
|
args: ["class.active"]
|
|
8756
|
-
}] } });
|
|
8805
|
+
}], onInplaceInteractionContextRegistered: [] } });
|
|
8757
8806
|
|
|
8758
8807
|
/**
|
|
8759
8808
|
*
|
|
@@ -10401,6 +10450,7 @@ class DialogInteractionContext extends AbstractInteractionContext {
|
|
|
10401
10450
|
matDialogRef.updateSize();
|
|
10402
10451
|
matDialogRef.afterOpened().subscribe(promiseAlreadyFinished => {
|
|
10403
10452
|
matDialogRef.updateSize();
|
|
10453
|
+
this.activityContainer.notifyReady(true);
|
|
10404
10454
|
});
|
|
10405
10455
|
return activityResult;
|
|
10406
10456
|
}
|