@coolon/angular-ui-powerups 14.35.0 → 14.36.0
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 +42 -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 +70 -21
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +70 -21
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +11 -2
- 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, __awaiter } from 'tslib';
|
|
44
44
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
45
45
|
import { isEmpty, isString, isFunction, isNil, isInteger, isObject, isEqual, join, uniq, last as last$1, first, isNumber, isNaN as isNaN$1 } from 'lodash';
|
|
@@ -5628,6 +5628,7 @@ class Activity extends DisposableComponent {
|
|
|
5628
5628
|
notifyActivityReady() {
|
|
5629
5629
|
this.activityReadyListeners.fire(l => l(this));
|
|
5630
5630
|
this._ready$.value = true;
|
|
5631
|
+
console.log("ready");
|
|
5631
5632
|
}
|
|
5632
5633
|
onActivityReady(callback) {
|
|
5633
5634
|
return this.activityReadyListeners.add(callback);
|
|
@@ -8451,9 +8452,23 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8451
8452
|
this.dynamicHeight = false;
|
|
8452
8453
|
this.activityRefs = [];
|
|
8453
8454
|
this.garbage = new GarbageCollector();
|
|
8454
|
-
this.
|
|
8455
|
+
this._started$ = new MutableValueModel(false);
|
|
8456
|
+
this._ready$ = new MutableValueModel(false);
|
|
8457
|
+
this._animating$ = new MutableValueModel(false);
|
|
8455
8458
|
this.busy = this.registerDisposable(new DelegatingValueModel().withDefault(false));
|
|
8456
|
-
this.
|
|
8459
|
+
this.syncTabsJob = undefined;
|
|
8460
|
+
const { chain, valueOf, when } = Dsl.disposeWith(this);
|
|
8461
|
+
when(this.ready$).becomesTruthy(() => this.finaliseActivityStates());
|
|
8462
|
+
this.stable$ = valueOf.all(this.ready$, this._started$, chain(this.animating$).isFalsey()).areTruthy();
|
|
8463
|
+
}
|
|
8464
|
+
get started$() {
|
|
8465
|
+
return this._started$.readonly;
|
|
8466
|
+
}
|
|
8467
|
+
get ready$() {
|
|
8468
|
+
return this._ready$.readonly;
|
|
8469
|
+
}
|
|
8470
|
+
get animating$() {
|
|
8471
|
+
return this._animating$.readonly;
|
|
8457
8472
|
}
|
|
8458
8473
|
initialise(identifier, api) {
|
|
8459
8474
|
assert.isFalsey(this.isInitialised());
|
|
@@ -8462,6 +8477,9 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8462
8477
|
this._identifier = identifier;
|
|
8463
8478
|
this.interactionServiceApi = api;
|
|
8464
8479
|
}
|
|
8480
|
+
notifyReady(ready) {
|
|
8481
|
+
this._ready$.value = ready;
|
|
8482
|
+
}
|
|
8465
8483
|
get identifier() {
|
|
8466
8484
|
return this._identifier;
|
|
8467
8485
|
}
|
|
@@ -8522,10 +8540,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8522
8540
|
}
|
|
8523
8541
|
});
|
|
8524
8542
|
this.launchActivity(activityRef);
|
|
8525
|
-
// if this is the first activity let the interaction service know.
|
|
8526
|
-
if (this.activityRefs.length === 1) {
|
|
8527
|
-
this.interactionServiceApi.notifyActive(this);
|
|
8528
|
-
}
|
|
8529
8543
|
try {
|
|
8530
8544
|
return yield activityRef.activityResult;
|
|
8531
8545
|
}
|
|
@@ -8575,8 +8589,13 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8575
8589
|
}
|
|
8576
8590
|
// @Trace()
|
|
8577
8591
|
launchActivity(activityRef) {
|
|
8592
|
+
// if this is the first activity let the interaction service know.
|
|
8578
8593
|
const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8579
8594
|
this.activityRefs = cleanedTabs.concat(activityRef);
|
|
8595
|
+
const firstTime = this.activityRefs.length === 1;
|
|
8596
|
+
if (firstTime) {
|
|
8597
|
+
this.interactionServiceApi.notifyActive(this);
|
|
8598
|
+
}
|
|
8580
8599
|
this.synchroniseSelectedTabIndex();
|
|
8581
8600
|
}
|
|
8582
8601
|
activityIndex(index, activityRef) {
|
|
@@ -8591,21 +8610,26 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8591
8610
|
assert.isTruthy(this.isActive());
|
|
8592
8611
|
const previousIndex = this.tabs.selectedIndex;
|
|
8593
8612
|
const newIndex = this.getActiveActivityCount() - 1;
|
|
8613
|
+
const animate = this.activityRefs.length > 1;
|
|
8594
8614
|
if (previousIndex !== newIndex) {
|
|
8595
|
-
this.
|
|
8596
|
-
this.activityRefs[newIndex]
|
|
8597
|
-
|
|
8615
|
+
this._animating$.value = animate;
|
|
8616
|
+
const activityRef = this.activityRefs[newIndex];
|
|
8617
|
+
activityRef.setFocused(false);
|
|
8618
|
+
this.busy.setDelegate(activityRef.activityBusy);
|
|
8598
8619
|
this.tabs.selectedIndex = newIndex;
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
this.activityRefs.forEach((ref, index) => {
|
|
8604
|
-
ref.setFocused(index === newIndex);
|
|
8605
|
-
});
|
|
8606
|
-
}, this.getTabAnimationDuration());
|
|
8620
|
+
if (this.ready$.value) {
|
|
8621
|
+
// Note: We're not using the animation done event as it's firing almost immeadiately.
|
|
8622
|
+
setTimeout(() => this.finaliseActivityStates(), animate ? this.getTabAnimationDuration() : 0);
|
|
8623
|
+
}
|
|
8607
8624
|
}
|
|
8608
8625
|
}
|
|
8626
|
+
finaliseActivityStates() {
|
|
8627
|
+
this._animating$.value = false;
|
|
8628
|
+
this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8629
|
+
this.activityRefs.forEach((ref, index) => {
|
|
8630
|
+
ref.setFocused(index === this.tabs.selectedIndex);
|
|
8631
|
+
});
|
|
8632
|
+
}
|
|
8609
8633
|
getSelectedOutlet() {
|
|
8610
8634
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
8611
8635
|
}
|
|
@@ -8750,6 +8774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8750
8774
|
args: [{ selector: 'aup-modal-activity-trigger', template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"] }]
|
|
8751
8775
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
8752
8776
|
|
|
8777
|
+
const cssDurationRegex = /(\d+)(m?s)/;
|
|
8753
8778
|
/**
|
|
8754
8779
|
* @example
|
|
8755
8780
|
* <aup-in-place-interaction-context #inPlaceInteractionContext>
|
|
@@ -8782,6 +8807,14 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8782
8807
|
var _a;
|
|
8783
8808
|
return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || "500ms") : "0ms";
|
|
8784
8809
|
}
|
|
8810
|
+
get animationDurationMillis() {
|
|
8811
|
+
const result = cssDurationRegex.exec(this.animationDuration);
|
|
8812
|
+
if (!result) {
|
|
8813
|
+
lang.illegalState(`unsupported css duration: ${this.animationDuration}`);
|
|
8814
|
+
}
|
|
8815
|
+
const multiplier = result[2] === 's' ? 1000 : 1;
|
|
8816
|
+
return multiplier * parseInt(result[1], 10);
|
|
8817
|
+
}
|
|
8785
8818
|
get active() {
|
|
8786
8819
|
return this.isActive();
|
|
8787
8820
|
}
|
|
@@ -8837,12 +8870,27 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8837
8870
|
startActivity(activityType, data, options) {
|
|
8838
8871
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
8839
8872
|
}
|
|
8873
|
+
onTabChanged($event) {
|
|
8874
|
+
if ($event.index === 1) {
|
|
8875
|
+
setTimeout(() => this.activityContainerComponent.notifyReady(true), this.animationDurationMillis);
|
|
8876
|
+
}
|
|
8877
|
+
else {
|
|
8878
|
+
this.activityContainerComponent.notifyReady(false);
|
|
8879
|
+
}
|
|
8880
|
+
}
|
|
8840
8881
|
}
|
|
8841
8882
|
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 });
|
|
8842
|
-
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
|
|
8883
|
+
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"] }] });
|
|
8884
|
+
__decorate([
|
|
8885
|
+
Trace() // webstorm says no usages... but I'm not sure.
|
|
8886
|
+
,
|
|
8887
|
+
__metadata("design:type", Function),
|
|
8888
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
8889
|
+
__metadata("design:returntype", void 0)
|
|
8890
|
+
], InPlaceInteractionContextComponent.prototype, "onInplaceInteractionContextRegistered", null);
|
|
8843
8891
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
8844
8892
|
type: Component,
|
|
8845
|
-
args: [{ selector: "aup-in-place-interaction-context", template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs
|
|
8893
|
+
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"] }]
|
|
8846
8894
|
}], ctorParameters: function () {
|
|
8847
8895
|
return [{ type: InteractionService }, { type: undefined, decorators: [{
|
|
8848
8896
|
type: Inject,
|
|
@@ -8860,7 +8908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8860
8908
|
}], active: [{
|
|
8861
8909
|
type: HostBinding,
|
|
8862
8910
|
args: ["class.active"]
|
|
8863
|
-
}] } });
|
|
8911
|
+
}], onInplaceInteractionContextRegistered: [] } });
|
|
8864
8912
|
|
|
8865
8913
|
/**
|
|
8866
8914
|
*
|
|
@@ -10516,6 +10564,7 @@ class DialogInteractionContext extends AbstractInteractionContext {
|
|
|
10516
10564
|
matDialogRef.updateSize();
|
|
10517
10565
|
matDialogRef.afterOpened().subscribe(promiseAlreadyFinished => {
|
|
10518
10566
|
matDialogRef.updateSize();
|
|
10567
|
+
this.activityContainer.notifyReady(true);
|
|
10519
10568
|
});
|
|
10520
10569
|
return activityResult;
|
|
10521
10570
|
}
|