@coolon/angular-ui-powerups 3.10.2 → 3.10.4
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/CHANGELOG.md +15 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +78 -60
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/{place/components → components}/busy-overlay/busy-overlay.component.js +3 -2
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.js.map +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/components.module.js +11 -3
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js.map +1 -0
- package/esm2015/lib/components/empty-state/empty-state.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/exports.js +2 -0
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js +3 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.js +7 -1
- package/esm2015/lib/interaction/activity-ref.js.map +1 -1
- package/esm2015/lib/interaction/activity-ref.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +6 -3
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/exports.js +0 -2
- package/esm2015/lib/place/exports.js.map +1 -1
- package/esm2015/lib/place/exports.metadata.json +1 -1
- package/esm2015/lib/place/place-router.js +1 -1
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place.module.js +1 -7
- package/esm2015/lib/place/place.module.js.map +1 -1
- package/esm2015/lib/place/place.module.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +73 -60
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +8 -0
- package/lib/components/exports.d.ts +2 -0
- package/lib/interaction/activity-ref.d.ts +3 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +2 -1
- package/lib/place/exports.d.ts +0 -2
- package/lib/place/place-router.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.js.map +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.metadata.json +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/busy-overlay/busy-overlay.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.ngfactory.js.map +0 -1
- package/esm2015/lib/place/components/empty-state/empty-state.component.scss.shim.ngstyle.js.map +0 -1
- package/lib/place/components/busy-overlay/busy-overlay.component.d.ts +0 -8
- /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.js +0 -0
- /package/esm2015/lib/{place/components → components}/empty-state/empty-state.component.metadata.json +0 -0
- /package/lib/{place/components → components}/empty-state/empty-state.component.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.10.4](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.3...v3.10.4) (2021-02-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fixed issue with incorrect default case handling ([83fd25c](https://bitbucket.org/coolon/angular-ui-powerups/commit/83fd25c19c2acd4301a790a23e81e17604f2d2b5))
|
|
11
|
+
* updated to extend disposable component ([ca5475a](https://bitbucket.org/coolon/angular-ui-powerups/commit/ca5475aab6f3252fc346b8f0c540a72ea97aaf9b))
|
|
12
|
+
|
|
13
|
+
### [3.10.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.2...v3.10.3) (2021-02-08)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* added busy panel to activity-container ([d610631](https://bitbucket.org/coolon/angular-ui-powerups/commit/d610631830622ab5a068cc54b644bb2154c363f8))
|
|
19
|
+
|
|
5
20
|
### [3.10.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.1...v3.10.2) (2021-02-08)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/material/autocomplete'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/divider'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/table'), require('@angular/material/tooltip'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-solid-svg-icons'), require('@coolon/pectin'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('lodash'), require('typescript-string-enums'), require('@coolon/typescript-utilities'), require('immer'), require('@angular/flex-layout'), require('@angular/material/dialog'), require('@angular/router'), require('@angular/cdk/overlay'), require('resize-observer-polyfill'), require('@angular/material/list'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/material/autocomplete', '@angular/material/button', '@angular/material/checkbox', '@angular/material/divider', '@angular/material/icon', '@angular/material/menu', '@angular/material/table', '@angular/material/tooltip', '@fortawesome/angular-fontawesome', '@fortawesome/free-solid-svg-icons', '@coolon/pectin', '@typescript-plus/fast-memoize-decorator/dist/src', 'lodash', 'typescript-string-enums', '@coolon/typescript-utilities', 'immer', '@angular/flex-layout', '@angular/material/dialog', '@angular/router', '@angular/cdk/overlay', 'resize-observer-polyfill', '@angular/material/list', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.autocomplete, global.ng.material.button, global.ng.material.checkbox, global.ng.material.divider, global.ng.material.icon, global.ng.material.menu, global.ng.material.table, global.ng.material.tooltip, global.angularFontawesome, global.freeSolidSvgIcons, global.pectin, global.src, global._, global.typescriptStringEnums, global.typescriptUtilities, global.produce, global.ng.flexLayout, global.ng.material.dialog, global.ng.router, global.ng.cdk.overlay, global.ResizeObserver, global.ng.material.list, global.
|
|
5
|
-
}(this, (function (exports, i2, i0, forms, formField, input, select, tabs, animations, portal, scrolling, autocomplete, button, checkbox, divider, icon, menu, table, tooltip, angularFontawesome, freeSolidSvgIcons, pectin, src, _, typescriptStringEnums, typescriptUtilities, produce, flexLayout, i1, i1$1, overlay, ResizeObserver, list,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/material/autocomplete'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/divider'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/progress-spinner'), require('@angular/material/table'), require('@angular/material/tooltip'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-solid-svg-icons'), require('@coolon/pectin'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('lodash'), require('typescript-string-enums'), require('@coolon/typescript-utilities'), require('immer'), require('@angular/flex-layout'), require('@angular/material/dialog'), require('@angular/router'), require('@angular/cdk/overlay'), require('resize-observer-polyfill'), require('@angular/material/list'), require('@typescript-plus/fast-memoize-decorator'), require('reflect-metadata'), require('@angular/animations')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/material/autocomplete', '@angular/material/button', '@angular/material/checkbox', '@angular/material/divider', '@angular/material/icon', '@angular/material/menu', '@angular/material/progress-spinner', '@angular/material/table', '@angular/material/tooltip', '@fortawesome/angular-fontawesome', '@fortawesome/free-solid-svg-icons', '@coolon/pectin', '@typescript-plus/fast-memoize-decorator/dist/src', 'lodash', 'typescript-string-enums', '@coolon/typescript-utilities', 'immer', '@angular/flex-layout', '@angular/material/dialog', '@angular/router', '@angular/cdk/overlay', 'resize-observer-polyfill', '@angular/material/list', '@typescript-plus/fast-memoize-decorator', 'reflect-metadata', '@angular/animations'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.material.autocomplete, global.ng.material.button, global.ng.material.checkbox, global.ng.material.divider, global.ng.material.icon, global.ng.material.menu, global.ng.material.progressSpinner, global.ng.material.table, global.ng.material.tooltip, global.angularFontawesome, global.freeSolidSvgIcons, global.pectin, global.src, global._, global.typescriptStringEnums, global.typescriptUtilities, global.produce, global.ng.flexLayout, global.ng.material.dialog, global.ng.router, global.ng.cdk.overlay, global.ResizeObserver, global.ng.material.list, global.fastMemoizeDecorator, null, global.ng.animations));
|
|
5
|
+
}(this, (function (exports, i2, i0, forms, formField, input, select, tabs, animations, portal, scrolling, autocomplete, button, checkbox, divider, icon, menu, progressSpinner, table, tooltip, angularFontawesome, freeSolidSvgIcons, pectin, src, _, typescriptStringEnums, typescriptUtilities, produce, flexLayout, i1, i1$1, overlay, ResizeObserver, list, fastMemoizeDecorator, reflectMetadata, animations$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -632,6 +632,36 @@
|
|
|
632
632
|
},] }
|
|
633
633
|
];
|
|
634
634
|
|
|
635
|
+
var BusyOverlayComponent = /** @class */ (function (_super) {
|
|
636
|
+
__extends(BusyOverlayComponent, _super);
|
|
637
|
+
function BusyOverlayComponent() {
|
|
638
|
+
return _super.call(this) || this;
|
|
639
|
+
}
|
|
640
|
+
BusyOverlayComponent.prototype.ngOnInit = function () {
|
|
641
|
+
};
|
|
642
|
+
return BusyOverlayComponent;
|
|
643
|
+
}(pectin.GarbageCollector));
|
|
644
|
+
BusyOverlayComponent.decorators = [
|
|
645
|
+
{ type: i0.Component, args: [{
|
|
646
|
+
selector: 'aup-busy-overlay',
|
|
647
|
+
template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
|
|
648
|
+
styles: [":host{position:relative}div.busy-overlay-backdrop{-ms-grid-columns:auto;-ms-grid-rows:auto;background-color:rgba(0,0,0,.2);bottom:0;display:-ms-grid;display:grid;grid-template-columns:auto;grid-template-rows:auto;left:0;place-content:center;position:absolute;right:0;top:0}"]
|
|
649
|
+
},] }
|
|
650
|
+
];
|
|
651
|
+
BusyOverlayComponent.ctorParameters = function () { return []; };
|
|
652
|
+
BusyOverlayComponent.propDecorators = {
|
|
653
|
+
busyModel: [{ type: i0.Input }],
|
|
654
|
+
busy: [{ type: i0.Input }]
|
|
655
|
+
};
|
|
656
|
+
__decorate([
|
|
657
|
+
pectin.TrackExternal(),
|
|
658
|
+
__metadata("design:type", pectin.ValueModel)
|
|
659
|
+
], BusyOverlayComponent.prototype, "busyModel", void 0);
|
|
660
|
+
__decorate([
|
|
661
|
+
pectin.StoreInValueModel('busyModel'),
|
|
662
|
+
__metadata("design:type", Boolean)
|
|
663
|
+
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
664
|
+
|
|
635
665
|
/**
|
|
636
666
|
* @example
|
|
637
667
|
* // basic usage
|
|
@@ -1409,6 +1439,22 @@
|
|
|
1409
1439
|
__metadata("design:type", Object)
|
|
1410
1440
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
1411
1441
|
|
|
1442
|
+
var EmptyStateComponent = /** @class */ (function () {
|
|
1443
|
+
function EmptyStateComponent() {
|
|
1444
|
+
}
|
|
1445
|
+
EmptyStateComponent.prototype.ngOnInit = function () {
|
|
1446
|
+
};
|
|
1447
|
+
return EmptyStateComponent;
|
|
1448
|
+
}());
|
|
1449
|
+
EmptyStateComponent.decorators = [
|
|
1450
|
+
{ type: i0.Component, args: [{
|
|
1451
|
+
selector: 'aup-empty-state',
|
|
1452
|
+
template: "\n <div class=\"container\">\n <ng-content></ng-content>\n </div>\n ",
|
|
1453
|
+
styles: [":host{align-items:center;display:flex;flex-direction:column;justify-content:center}.container{border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300;padding:var(--aup-default-padding)}"]
|
|
1454
|
+
},] }
|
|
1455
|
+
];
|
|
1456
|
+
EmptyStateComponent.ctorParameters = function () { return []; };
|
|
1457
|
+
|
|
1412
1458
|
var FocusContainerComponent = /** @class */ (function (_super) {
|
|
1413
1459
|
__extends(FocusContainerComponent, _super);
|
|
1414
1460
|
function FocusContainerComponent(focusManager) {
|
|
@@ -2240,7 +2286,9 @@
|
|
|
2240
2286
|
}
|
|
2241
2287
|
if (matchingIndicies.length === 0) {
|
|
2242
2288
|
this.switchCaseOptions.forEach(function (option, index) {
|
|
2243
|
-
|
|
2289
|
+
if (option.isDefault) {
|
|
2290
|
+
matchingIndicies.push(index);
|
|
2291
|
+
}
|
|
2244
2292
|
});
|
|
2245
2293
|
if (matchingIndicies.length > 1) {
|
|
2246
2294
|
console.warn("found " + matchingIndicies.length + " default case values, displaying the first.");
|
|
@@ -4128,7 +4176,9 @@
|
|
|
4128
4176
|
TreeTableComponent,
|
|
4129
4177
|
exports.TreeInheritanceIconComponent,
|
|
4130
4178
|
TreeLabelCellRendererComponent,
|
|
4131
|
-
exports.IconComponent
|
|
4179
|
+
exports.IconComponent,
|
|
4180
|
+
BusyOverlayComponent,
|
|
4181
|
+
EmptyStateComponent,
|
|
4132
4182
|
],
|
|
4133
4183
|
imports: [
|
|
4134
4184
|
i2.CommonModule,
|
|
@@ -4149,7 +4199,8 @@
|
|
|
4149
4199
|
tooltip.MatTooltipModule,
|
|
4150
4200
|
autocomplete.MatAutocompleteModule,
|
|
4151
4201
|
menu.MatMenuModule,
|
|
4152
|
-
divider.MatDividerModule
|
|
4202
|
+
divider.MatDividerModule,
|
|
4203
|
+
progressSpinner.MatProgressSpinnerModule
|
|
4153
4204
|
],
|
|
4154
4205
|
exports: [
|
|
4155
4206
|
NumberInputComponent,
|
|
@@ -4182,7 +4233,9 @@
|
|
|
4182
4233
|
MoreMenuComponent,
|
|
4183
4234
|
SeparatorComponent,
|
|
4184
4235
|
FlexComponent,
|
|
4185
|
-
TreeTableComponent
|
|
4236
|
+
TreeTableComponent,
|
|
4237
|
+
BusyOverlayComponent,
|
|
4238
|
+
EmptyStateComponent,
|
|
4186
4239
|
],
|
|
4187
4240
|
providers: [
|
|
4188
4241
|
FocusBindingFactory
|
|
@@ -4490,6 +4543,7 @@
|
|
|
4490
4543
|
this._complete = false;
|
|
4491
4544
|
this.deferredResult = pectin.Deferred.defer();
|
|
4492
4545
|
this.focusedModel = new pectin.MutableValueModel();
|
|
4546
|
+
this._activityBusy = new pectin.DelegatingValueModel().withDefault(false);
|
|
4493
4547
|
}
|
|
4494
4548
|
ActivityRef.prototype.isActivityRealised = function () {
|
|
4495
4549
|
return !!this._activity;
|
|
@@ -4528,12 +4582,14 @@
|
|
|
4528
4582
|
},
|
|
4529
4583
|
focused: this.focusedModel.readonly
|
|
4530
4584
|
});
|
|
4585
|
+
this._activityBusy.setDelegate(this._activity.busy);
|
|
4531
4586
|
};
|
|
4532
4587
|
ActivityRef.prototype.finishActivity = function (resolveOrReject) {
|
|
4533
4588
|
pectin.assert.isFalsey(this.isComplete());
|
|
4534
4589
|
resolveOrReject(this.deferredResult);
|
|
4535
4590
|
this._complete = true;
|
|
4536
4591
|
this.onComplete(this);
|
|
4592
|
+
this._activityBusy.dispose();
|
|
4537
4593
|
};
|
|
4538
4594
|
ActivityRef.prototype.cancel = function () {
|
|
4539
4595
|
this.activity.cancel();
|
|
@@ -4545,6 +4601,13 @@
|
|
|
4545
4601
|
enumerable: false,
|
|
4546
4602
|
configurable: true
|
|
4547
4603
|
});
|
|
4604
|
+
Object.defineProperty(ActivityRef.prototype, "activityBusy", {
|
|
4605
|
+
get: function () {
|
|
4606
|
+
return this._activityBusy.readonly;
|
|
4607
|
+
},
|
|
4608
|
+
enumerable: false,
|
|
4609
|
+
configurable: true
|
|
4610
|
+
});
|
|
4548
4611
|
return ActivityRef;
|
|
4549
4612
|
}());
|
|
4550
4613
|
|
|
@@ -4622,6 +4685,8 @@
|
|
|
4622
4685
|
_this.activityRefs = [];
|
|
4623
4686
|
_this.garbage = new pectin.GarbageCollector();
|
|
4624
4687
|
_this.inAnimation = new pectin.MutableValueModel(false);
|
|
4688
|
+
_this.busy = new pectin.DelegatingValueModel().withDefault(false);
|
|
4689
|
+
_this.registerDisposable(_this.busy);
|
|
4625
4690
|
return _this;
|
|
4626
4691
|
}
|
|
4627
4692
|
ActivityContainerComponent.prototype.ngOnInit = function () {
|
|
@@ -4779,6 +4844,7 @@
|
|
|
4779
4844
|
if (previousIndex !== newIndex) {
|
|
4780
4845
|
this.inAnimation.value = true;
|
|
4781
4846
|
this.activityRefs[newIndex].setFocused(false);
|
|
4847
|
+
this.busy.setDelegate(this.activityRefs[newIndex].activityBusy);
|
|
4782
4848
|
this.tabs.selectedIndex = newIndex;
|
|
4783
4849
|
this.onAnimationFinishedJob = function () {
|
|
4784
4850
|
_this.activityRefs = _this.activityRefs.filter(function (tab) { return !tab.isComplete(); });
|
|
@@ -4812,8 +4878,8 @@
|
|
|
4812
4878
|
ActivityContainerComponent.decorators = [
|
|
4813
4879
|
{ type: i0.Component, args: [{
|
|
4814
4880
|
selector: 'aup-activity-container',
|
|
4815
|
-
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 <!--\n
|
|
4816
|
-
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
4881
|
+
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\">\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",
|
|
4882
|
+
styles: [":host{display:flex;flex-direction:column}aup-busy-overlay,mat-tab-group{flex:1}"]
|
|
4817
4883
|
},] }
|
|
4818
4884
|
];
|
|
4819
4885
|
ActivityContainerComponent.ctorParameters = function () { return []; };
|
|
@@ -7366,7 +7432,7 @@
|
|
|
7366
7432
|
var _this = this;
|
|
7367
7433
|
var when = pectin.Dsl.disposeWith(this).when;
|
|
7368
7434
|
return new Promise(function (resolve) {
|
|
7369
|
-
when(_this.navigationInProgress).becomesFalsey(function () { return resolve(); }, {
|
|
7435
|
+
when(_this.navigationInProgress).becomesFalsey(function () { return resolve(_this); }, {
|
|
7370
7436
|
initialValue: 'evaluate',
|
|
7371
7437
|
once: true
|
|
7372
7438
|
});
|
|
@@ -8014,50 +8080,6 @@
|
|
|
8014
8080
|
__metadata("design:returntype", Object)
|
|
8015
8081
|
], AbstractPlaceNavigationComponent.prototype, "getNavigationFace", null);
|
|
8016
8082
|
|
|
8017
|
-
var BusyOverlayComponent = /** @class */ (function () {
|
|
8018
|
-
function BusyOverlayComponent() {
|
|
8019
|
-
}
|
|
8020
|
-
BusyOverlayComponent.prototype.ngOnInit = function () {
|
|
8021
|
-
};
|
|
8022
|
-
return BusyOverlayComponent;
|
|
8023
|
-
}());
|
|
8024
|
-
BusyOverlayComponent.decorators = [
|
|
8025
|
-
{ type: i0.Component, args: [{
|
|
8026
|
-
selector: 'aup-busy-overlay',
|
|
8027
|
-
template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
|
|
8028
|
-
styles: [":host{position:relative}div.busy-overlay-backdrop{-ms-grid-columns:auto;-ms-grid-rows:auto;background-color:rgba(0,0,0,.2);bottom:0;display:-ms-grid;display:grid;grid-template-columns:auto;grid-template-rows:auto;left:0;place-content:center;position:absolute;right:0;top:0}"]
|
|
8029
|
-
},] }
|
|
8030
|
-
];
|
|
8031
|
-
BusyOverlayComponent.ctorParameters = function () { return []; };
|
|
8032
|
-
BusyOverlayComponent.propDecorators = {
|
|
8033
|
-
busyModel: [{ type: i0.Input }],
|
|
8034
|
-
busy: [{ type: i0.Input }]
|
|
8035
|
-
};
|
|
8036
|
-
__decorate([
|
|
8037
|
-
pectin.TrackExternal(),
|
|
8038
|
-
__metadata("design:type", pectin.ValueModel)
|
|
8039
|
-
], BusyOverlayComponent.prototype, "busyModel", void 0);
|
|
8040
|
-
__decorate([
|
|
8041
|
-
pectin.StoreInValueModel('busyModel'),
|
|
8042
|
-
__metadata("design:type", Boolean)
|
|
8043
|
-
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
8044
|
-
|
|
8045
|
-
var EmptyStateComponent = /** @class */ (function () {
|
|
8046
|
-
function EmptyStateComponent() {
|
|
8047
|
-
}
|
|
8048
|
-
EmptyStateComponent.prototype.ngOnInit = function () {
|
|
8049
|
-
};
|
|
8050
|
-
return EmptyStateComponent;
|
|
8051
|
-
}());
|
|
8052
|
-
EmptyStateComponent.decorators = [
|
|
8053
|
-
{ type: i0.Component, args: [{
|
|
8054
|
-
selector: 'aup-empty-state',
|
|
8055
|
-
template: "\n <div class=\"container\">\n <ng-content></ng-content>\n </div>\n ",
|
|
8056
|
-
styles: [":host{align-items:center;display:flex;flex-direction:column;justify-content:center}.container{border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300;padding:var(--aup-default-padding)}"]
|
|
8057
|
-
},] }
|
|
8058
|
-
];
|
|
8059
|
-
EmptyStateComponent.ctorParameters = function () { return []; };
|
|
8060
|
-
|
|
8061
8083
|
var ListPlaceNavComponent = /** @class */ (function (_super) {
|
|
8062
8084
|
__extends(ListPlaceNavComponent, _super);
|
|
8063
8085
|
function ListPlaceNavComponent(router) {
|
|
@@ -8190,19 +8212,15 @@
|
|
|
8190
8212
|
ComponentsModule
|
|
8191
8213
|
],
|
|
8192
8214
|
declarations: [
|
|
8193
|
-
EmptyStateComponent,
|
|
8194
|
-
BusyOverlayComponent,
|
|
8195
8215
|
PlaceOutletComponent,
|
|
8196
8216
|
TabbedPlaceNavigationComponent,
|
|
8197
8217
|
ListPlaceNavComponent,
|
|
8198
8218
|
SidePlaceNavigationComponent,
|
|
8199
8219
|
AbstractPlaceNavigationComponent
|
|
8200
8220
|
],
|
|
8201
|
-
entryComponents: [
|
|
8221
|
+
entryComponents: [],
|
|
8202
8222
|
exports: [
|
|
8203
|
-
BusyOverlayComponent,
|
|
8204
8223
|
PlaceOutletComponent,
|
|
8205
|
-
EmptyStateComponent,
|
|
8206
8224
|
TabbedPlaceNavigationComponent,
|
|
8207
8225
|
ListPlaceNavComponent,
|
|
8208
8226
|
SidePlaceNavigationComponent,
|