@coolon/angular-ui-powerups 2.0.0-alpha.30 → 2.0.0-alpha.31
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 +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +23 -25
- 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/interaction/components/activity-container/activity-container.component.js +6 -26
- 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/components/activity-container/activity-outlet/activity-outlet.component.js +15 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +6 -26
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +19 -1
- package/esm5/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js.map +1 -1
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +20 -26
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +24 -26
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +3 -0
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import { MatTableModule } from '@angular/material/table';
|
|
|
18
18
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
19
19
|
import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
20
20
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
21
|
-
import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, MutableListModel, Disposable, MutableValueModel, StoreInValueModel, ListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, StoreInListModel, ValueModel, MultipleSelectionModel, DirtyTrackingForm, DelegatingCommand, Deferred,
|
|
21
|
+
import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, MutableListModel, Disposable, MutableValueModel, StoreInValueModel, ListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, StoreInListModel, ValueModel, MultipleSelectionModel, DirtyTrackingForm, DelegatingCommand, Deferred, Functions } from '@coolon/pectin';
|
|
22
22
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
|
|
23
23
|
import ___default, { isEqual, isNil } from 'lodash';
|
|
24
24
|
import { Enum } from 'typescript-string-enums';
|
|
@@ -3583,6 +3583,7 @@ var ActivityOutletComponent = /** @class */ (function () {
|
|
|
3583
3583
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
3584
3584
|
this.viewContainerRef = viewContainerRef;
|
|
3585
3585
|
this.injector = injector;
|
|
3586
|
+
this._disableAnimation = false;
|
|
3586
3587
|
}
|
|
3587
3588
|
Object.defineProperty(ActivityOutletComponent.prototype, "activityRef", {
|
|
3588
3589
|
get: function () {
|
|
@@ -3599,6 +3600,17 @@ var ActivityOutletComponent = /** @class */ (function () {
|
|
|
3599
3600
|
configurable: true
|
|
3600
3601
|
});
|
|
3601
3602
|
;
|
|
3603
|
+
Object.defineProperty(ActivityOutletComponent.prototype, "disableAnimation", {
|
|
3604
|
+
get: function () {
|
|
3605
|
+
return this._disableAnimation;
|
|
3606
|
+
},
|
|
3607
|
+
set: function (value) {
|
|
3608
|
+
// console.log({disableAnimation: value});
|
|
3609
|
+
this._disableAnimation = value;
|
|
3610
|
+
},
|
|
3611
|
+
enumerable: true,
|
|
3612
|
+
configurable: true
|
|
3613
|
+
});
|
|
3602
3614
|
ActivityOutletComponent.prototype.ngOnInit = function () {
|
|
3603
3615
|
};
|
|
3604
3616
|
ActivityOutletComponent.prototype.loadActivity = function (activityRef) {
|
|
@@ -3635,6 +3647,12 @@ var ActivityOutletComponent = /** @class */ (function () {
|
|
|
3635
3647
|
__metadata("design:type", ActivityRef),
|
|
3636
3648
|
__metadata("design:paramtypes", [ActivityRef])
|
|
3637
3649
|
], ActivityOutletComponent.prototype, "activityRef", null);
|
|
3650
|
+
__decorate([
|
|
3651
|
+
Input(),
|
|
3652
|
+
HostBinding('@.disabled'),
|
|
3653
|
+
__metadata("design:type", Boolean),
|
|
3654
|
+
__metadata("design:paramtypes", [Boolean])
|
|
3655
|
+
], ActivityOutletComponent.prototype, "disableAnimation", null);
|
|
3638
3656
|
ActivityOutletComponent = __decorate([
|
|
3639
3657
|
Component({
|
|
3640
3658
|
selector: 'aup-activity-outlet',
|
|
@@ -3799,6 +3817,7 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
3799
3817
|
return index;
|
|
3800
3818
|
};
|
|
3801
3819
|
;
|
|
3820
|
+
// @Trace()
|
|
3802
3821
|
ActivityContainerComponent.prototype.onAnimationFinished = function () {
|
|
3803
3822
|
if (this.onAnimationFinishedJob) {
|
|
3804
3823
|
this.onAnimationFinishedJob();
|
|
@@ -3809,6 +3828,7 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
3809
3828
|
/**
|
|
3810
3829
|
* Synchronises the selected tab index.
|
|
3811
3830
|
*/
|
|
3831
|
+
// @Trace()
|
|
3812
3832
|
ActivityContainerComponent.prototype.synchroniseSelectedTabIndex = function () {
|
|
3813
3833
|
var _this = this;
|
|
3814
3834
|
var previousIndex = this.tabs.selectedIndex;
|
|
@@ -3825,9 +3845,11 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
3825
3845
|
ActivityContainerComponent.prototype.getSelectedOutlet = function () {
|
|
3826
3846
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
3827
3847
|
};
|
|
3848
|
+
// @Trace()
|
|
3828
3849
|
ActivityContainerComponent.prototype.getSelectedTabIndex = function () {
|
|
3829
3850
|
return this.tabs.selectedIndex;
|
|
3830
3851
|
};
|
|
3852
|
+
// @Trace()
|
|
3831
3853
|
ActivityContainerComponent.prototype.triggerTabSynchronisation = function () {
|
|
3832
3854
|
var _this = this;
|
|
3833
3855
|
if (this.syncSelectedTabTimeout) {
|
|
@@ -3850,34 +3872,10 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
3850
3872
|
ViewChildren(ActivityOutletComponent),
|
|
3851
3873
|
__metadata("design:type", QueryList)
|
|
3852
3874
|
], ActivityContainerComponent.prototype, "activityOutlets", void 0);
|
|
3853
|
-
__decorate([
|
|
3854
|
-
Trace(),
|
|
3855
|
-
__metadata("design:type", Function),
|
|
3856
|
-
__metadata("design:paramtypes", []),
|
|
3857
|
-
__metadata("design:returntype", void 0)
|
|
3858
|
-
], ActivityContainerComponent.prototype, "onAnimationFinished", null);
|
|
3859
|
-
__decorate([
|
|
3860
|
-
Trace(),
|
|
3861
|
-
__metadata("design:type", Function),
|
|
3862
|
-
__metadata("design:paramtypes", []),
|
|
3863
|
-
__metadata("design:returntype", void 0)
|
|
3864
|
-
], ActivityContainerComponent.prototype, "synchroniseSelectedTabIndex", null);
|
|
3865
|
-
__decorate([
|
|
3866
|
-
Trace(),
|
|
3867
|
-
__metadata("design:type", Function),
|
|
3868
|
-
__metadata("design:paramtypes", []),
|
|
3869
|
-
__metadata("design:returntype", void 0)
|
|
3870
|
-
], ActivityContainerComponent.prototype, "getSelectedTabIndex", null);
|
|
3871
|
-
__decorate([
|
|
3872
|
-
Trace(),
|
|
3873
|
-
__metadata("design:type", Function),
|
|
3874
|
-
__metadata("design:paramtypes", []),
|
|
3875
|
-
__metadata("design:returntype", void 0)
|
|
3876
|
-
], ActivityContainerComponent.prototype, "triggerTabSynchronisation", null);
|
|
3877
3875
|
ActivityContainerComponent = __decorate([
|
|
3878
3876
|
Component({
|
|
3879
3877
|
selector: 'aup-activity-container',
|
|
3880
|
-
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let tab of activityTabs; let i = index; trackBy: activityIndex\"
|
|
3878
|
+
template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let tab of activityTabs; let i = index; trackBy: activityIndex\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\"\n [activityRef]=\"tab\"\n [disableAnimation]=\"inTabChange.value || i !== getSelectedTabIndex()\"></aup-activity-outlet>\n </mat-tab>\n</mat-tab-group>\n",
|
|
3881
3879
|
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
3882
3880
|
}),
|
|
3883
3881
|
__metadata("design:paramtypes", [])
|