@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, __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,24 @@ 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(() => {
|
|
8462
|
+
this.finaliseActiveStates();
|
|
8463
|
+
});
|
|
8464
|
+
}
|
|
8465
|
+
get started$() {
|
|
8466
|
+
return this._started$.readonly;
|
|
8467
|
+
}
|
|
8468
|
+
get ready$() {
|
|
8469
|
+
return this._ready$.readonly;
|
|
8470
|
+
}
|
|
8471
|
+
get animating$() {
|
|
8472
|
+
return this._animating$.readonly;
|
|
8457
8473
|
}
|
|
8458
8474
|
initialise(identifier, api) {
|
|
8459
8475
|
assert.isFalsey(this.isInitialised());
|
|
@@ -8462,6 +8478,9 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8462
8478
|
this._identifier = identifier;
|
|
8463
8479
|
this.interactionServiceApi = api;
|
|
8464
8480
|
}
|
|
8481
|
+
notifyReady(ready) {
|
|
8482
|
+
this._ready$.value = ready;
|
|
8483
|
+
}
|
|
8465
8484
|
get identifier() {
|
|
8466
8485
|
return this._identifier;
|
|
8467
8486
|
}
|
|
@@ -8522,10 +8541,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8522
8541
|
}
|
|
8523
8542
|
});
|
|
8524
8543
|
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
8544
|
try {
|
|
8530
8545
|
return yield activityRef.activityResult;
|
|
8531
8546
|
}
|
|
@@ -8575,8 +8590,13 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8575
8590
|
}
|
|
8576
8591
|
// @Trace()
|
|
8577
8592
|
launchActivity(activityRef) {
|
|
8593
|
+
// if this is the first activity let the interaction service know.
|
|
8578
8594
|
const cleanedTabs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8579
8595
|
this.activityRefs = cleanedTabs.concat(activityRef);
|
|
8596
|
+
const firstTime = this.activityRefs.length === 1;
|
|
8597
|
+
if (firstTime) {
|
|
8598
|
+
this.interactionServiceApi.notifyActive(this);
|
|
8599
|
+
}
|
|
8580
8600
|
this.synchroniseSelectedTabIndex();
|
|
8581
8601
|
}
|
|
8582
8602
|
activityIndex(index, activityRef) {
|
|
@@ -8591,21 +8611,26 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
8591
8611
|
assert.isTruthy(this.isActive());
|
|
8592
8612
|
const previousIndex = this.tabs.selectedIndex;
|
|
8593
8613
|
const newIndex = this.getActiveActivityCount() - 1;
|
|
8614
|
+
const animate = this.activityRefs.length > 1;
|
|
8594
8615
|
if (previousIndex !== newIndex) {
|
|
8595
|
-
this.
|
|
8596
|
-
this.activityRefs[newIndex]
|
|
8597
|
-
|
|
8616
|
+
this._animating$.value = animate;
|
|
8617
|
+
const activityRef = this.activityRefs[newIndex];
|
|
8618
|
+
activityRef.setFocused(false);
|
|
8619
|
+
this.busy.setDelegate(activityRef.activityBusy);
|
|
8598
8620
|
this.tabs.selectedIndex = newIndex;
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
this.activityRefs.forEach((ref, index) => {
|
|
8604
|
-
ref.setFocused(index === newIndex);
|
|
8605
|
-
});
|
|
8606
|
-
}, this.getTabAnimationDuration());
|
|
8621
|
+
if (this.ready$.value) {
|
|
8622
|
+
// Note: We're not using the animation done event as it's firing almost immeadiately.
|
|
8623
|
+
setTimeout(() => this.finaliseActiveStates(), animate ? this.getTabAnimationDuration() : 0);
|
|
8624
|
+
}
|
|
8607
8625
|
}
|
|
8608
8626
|
}
|
|
8627
|
+
finaliseActiveStates() {
|
|
8628
|
+
this._animating$.value = false;
|
|
8629
|
+
this.activityRefs = this.activityRefs.filter(tab => !tab.isComplete());
|
|
8630
|
+
this.activityRefs.forEach((ref, index) => {
|
|
8631
|
+
ref.setFocused(index === this.tabs.selectedIndex);
|
|
8632
|
+
});
|
|
8633
|
+
}
|
|
8609
8634
|
getSelectedOutlet() {
|
|
8610
8635
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
8611
8636
|
}
|
|
@@ -8750,6 +8775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8750
8775
|
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
8776
|
}], ctorParameters: function () { return [{ type: InteractionService }]; } });
|
|
8752
8777
|
|
|
8778
|
+
const cssDurationRegex = /(\d+)(m?s)/;
|
|
8753
8779
|
/**
|
|
8754
8780
|
* @example
|
|
8755
8781
|
* <aup-in-place-interaction-context #inPlaceInteractionContext>
|
|
@@ -8782,6 +8808,14 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8782
8808
|
var _a;
|
|
8783
8809
|
return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || "500ms") : "0ms";
|
|
8784
8810
|
}
|
|
8811
|
+
get animationDurationMillis() {
|
|
8812
|
+
const result = cssDurationRegex.exec(this.animationDuration);
|
|
8813
|
+
if (!result) {
|
|
8814
|
+
lang.illegalState(`unsupported css duration: ${this.animationDuration}`);
|
|
8815
|
+
}
|
|
8816
|
+
const multiplier = result[2] === 's' ? 1000 : 1;
|
|
8817
|
+
return multiplier * parseInt(result[1], 10);
|
|
8818
|
+
}
|
|
8785
8819
|
get active() {
|
|
8786
8820
|
return this.isActive();
|
|
8787
8821
|
}
|
|
@@ -8837,12 +8871,27 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
8837
8871
|
startActivity(activityType, data, options) {
|
|
8838
8872
|
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
8839
8873
|
}
|
|
8874
|
+
onTabChanged($event) {
|
|
8875
|
+
if ($event.index === 1) {
|
|
8876
|
+
setTimeout(() => this.activityContainerComponent.notifyReady(true), this.animationDurationMillis);
|
|
8877
|
+
}
|
|
8878
|
+
else {
|
|
8879
|
+
this.activityContainerComponent.notifyReady(false);
|
|
8880
|
+
}
|
|
8881
|
+
}
|
|
8840
8882
|
}
|
|
8841
8883
|
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
|
|
8884
|
+
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"] }] });
|
|
8885
|
+
__decorate([
|
|
8886
|
+
Trace() // webstorm says no usages... but I'm not sure.
|
|
8887
|
+
,
|
|
8888
|
+
__metadata("design:type", Function),
|
|
8889
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
8890
|
+
__metadata("design:returntype", void 0)
|
|
8891
|
+
], InPlaceInteractionContextComponent.prototype, "onInplaceInteractionContextRegistered", null);
|
|
8843
8892
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
8844
8893
|
type: Component,
|
|
8845
|
-
args: [{ selector: "aup-in-place-interaction-context", template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs
|
|
8894
|
+
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
8895
|
}], ctorParameters: function () {
|
|
8847
8896
|
return [{ type: InteractionService }, { type: undefined, decorators: [{
|
|
8848
8897
|
type: Inject,
|
|
@@ -8860,7 +8909,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
8860
8909
|
}], active: [{
|
|
8861
8910
|
type: HostBinding,
|
|
8862
8911
|
args: ["class.active"]
|
|
8863
|
-
}] } });
|
|
8912
|
+
}], onInplaceInteractionContextRegistered: [] } });
|
|
8864
8913
|
|
|
8865
8914
|
/**
|
|
8866
8915
|
*
|
|
@@ -10516,6 +10565,7 @@ class DialogInteractionContext extends AbstractInteractionContext {
|
|
|
10516
10565
|
matDialogRef.updateSize();
|
|
10517
10566
|
matDialogRef.afterOpened().subscribe(promiseAlreadyFinished => {
|
|
10518
10567
|
matDialogRef.updateSize();
|
|
10568
|
+
this.activityContainer.notifyReady(true);
|
|
10519
10569
|
});
|
|
10520
10570
|
return activityResult;
|
|
10521
10571
|
}
|