@coolon/angular-ui-powerups 0.0.78 → 0.0.80
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/bundles/coolon-angular-ui-powerups.umd.js +80 -42
- 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.d.ts +20 -19
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +20 -19
- package/esm2015/index.js +2 -2
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +6 -4
- package/esm2015/lib/interaction/interaction.module.js +2 -2
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +16 -4
- package/esm2015/lib/place/components/place-outlet/route-animations.js +6 -3
- package/esm2015/lib/place/index.js +2 -1
- package/esm2015/lib/place/place-config.js +16 -0
- package/esm2015/lib/place/place.module.js +4 -2
- package/esm2015/public_api.js +2 -2
- package/esm5/coolon-angular-ui-powerups.js +20 -19
- package/esm5/index.js +2 -2
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +6 -4
- package/esm5/lib/interaction/interaction.module.js +2 -2
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +19 -4
- package/esm5/lib/place/components/place-outlet/route-animations.js +6 -3
- package/esm5/lib/place/index.js +2 -1
- package/esm5/lib/place/place-config.js +16 -0
- package/esm5/lib/place/place.module.js +4 -2
- package/esm5/public_api.js +2 -2
- package/fesm2015/coolon-angular-ui-powerups.js +43 -10
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +46 -10
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -1
- package/lib/place/index.d.ts +1 -0
- package/lib/place/place-config.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
* @abstract
|
|
1157
1157
|
* @template D, R, E
|
|
1158
1158
|
*/
|
|
1159
|
-
exports.ɵ
|
|
1159
|
+
exports.ɵbf = /** @class */ (function (_super) {
|
|
1160
1160
|
__extends(Activity, _super);
|
|
1161
1161
|
function Activity() {
|
|
1162
1162
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -1246,12 +1246,12 @@
|
|
|
1246
1246
|
* @type {?}
|
|
1247
1247
|
* @private
|
|
1248
1248
|
*/
|
|
1249
|
-
exports.ɵ
|
|
1249
|
+
exports.ɵbf.prototype._busyModel;
|
|
1250
1250
|
/**
|
|
1251
1251
|
* @type {?}
|
|
1252
1252
|
* @private
|
|
1253
1253
|
*/
|
|
1254
|
-
exports.ɵ
|
|
1254
|
+
exports.ɵbf.prototype._activityContext;
|
|
1255
1255
|
}
|
|
1256
1256
|
(function (Activity) {
|
|
1257
1257
|
/**
|
|
@@ -1266,7 +1266,7 @@
|
|
|
1266
1266
|
/** @type {?} */
|
|
1267
1267
|
Callbacks.prototype.onCancel;
|
|
1268
1268
|
}
|
|
1269
|
-
})(exports.ɵ
|
|
1269
|
+
})(exports.ɵbf || (exports.ɵbf = {}));
|
|
1270
1270
|
|
|
1271
1271
|
/**
|
|
1272
1272
|
* @fileoverview added by tsickle
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1424
1424
|
}
|
|
1425
1425
|
return AbstractActivity;
|
|
1426
|
-
}(exports.ɵ
|
|
1426
|
+
}(exports.ɵbf));
|
|
1427
1427
|
|
|
1428
1428
|
/**
|
|
1429
1429
|
* @fileoverview added by tsickle
|
|
@@ -1469,7 +1469,7 @@
|
|
|
1469
1469
|
/**
|
|
1470
1470
|
* @template D, R, E
|
|
1471
1471
|
*/
|
|
1472
|
-
exports.ɵ
|
|
1472
|
+
exports.ɵbh = /** @class */ (function (_super) {
|
|
1473
1473
|
__extends(ConfirmThenDialogComponent, _super);
|
|
1474
1474
|
function ConfirmThenDialogComponent(config, interactionContext) {
|
|
1475
1475
|
var _this = _super.call(this) || this;
|
|
@@ -1541,9 +1541,9 @@
|
|
|
1541
1541
|
}(AbstractActivity));
|
|
1542
1542
|
if (false) {
|
|
1543
1543
|
/** @type {?} */
|
|
1544
|
-
exports.ɵ
|
|
1544
|
+
exports.ɵbh.prototype.config;
|
|
1545
1545
|
/** @type {?} */
|
|
1546
|
-
exports.ɵ
|
|
1546
|
+
exports.ɵbh.prototype.interactionContext;
|
|
1547
1547
|
}
|
|
1548
1548
|
(function (ConfirmThenDialogComponent) {
|
|
1549
1549
|
/**
|
|
@@ -1560,7 +1560,7 @@
|
|
|
1560
1560
|
/** @type {?} */
|
|
1561
1561
|
Data.prototype.data;
|
|
1562
1562
|
}
|
|
1563
|
-
})(exports.ɵ
|
|
1563
|
+
})(exports.ɵbh || (exports.ɵbh = {}));
|
|
1564
1564
|
|
|
1565
1565
|
/**
|
|
1566
1566
|
* @fileoverview added by tsickle
|
|
@@ -1760,6 +1760,10 @@
|
|
|
1760
1760
|
*/
|
|
1761
1761
|
function (initialContext) {
|
|
1762
1762
|
pectin.assert.isNil(this._initialActivityOutletContext);
|
|
1763
|
+
// we clean up at the start as we leave the initial activity in place after it finishes
|
|
1764
|
+
// so that the activity remains visible during the inplace-interaction-context animations.
|
|
1765
|
+
this.activityTabs.value = [];
|
|
1766
|
+
this._activityList.value = [];
|
|
1763
1767
|
/** @type {?} */
|
|
1764
1768
|
var self = this;
|
|
1765
1769
|
if (initialContext) {
|
|
@@ -1794,7 +1798,7 @@
|
|
|
1794
1798
|
* @return {?}
|
|
1795
1799
|
*/
|
|
1796
1800
|
function () {
|
|
1797
|
-
return this.
|
|
1801
|
+
return !!this._initialActivityOutletContext;
|
|
1798
1802
|
};
|
|
1799
1803
|
Object.defineProperty(ActivityContainerComponent.prototype, "activityList", {
|
|
1800
1804
|
get: /**
|
|
@@ -1929,7 +1933,7 @@
|
|
|
1929
1933
|
* @return {?}
|
|
1930
1934
|
*/
|
|
1931
1935
|
function (confirm, activityType, data) {
|
|
1932
|
-
return this.startActivity(exports.ɵ
|
|
1936
|
+
return this.startActivity(exports.ɵbh, {
|
|
1933
1937
|
confirm: confirm,
|
|
1934
1938
|
activityType: activityType,
|
|
1935
1939
|
data: data
|
|
@@ -1945,8 +1949,6 @@
|
|
|
1945
1949
|
*/
|
|
1946
1950
|
function () {
|
|
1947
1951
|
this._initialActivityOutletContext = null;
|
|
1948
|
-
this.activityTabs.value = [];
|
|
1949
|
-
this._activityList.value = [];
|
|
1950
1952
|
this.initialActivityOutletContextEvent.emit(null);
|
|
1951
1953
|
};
|
|
1952
1954
|
// @Trace()
|
|
@@ -2187,7 +2189,7 @@
|
|
|
2187
2189
|
* @return {?}
|
|
2188
2190
|
*/
|
|
2189
2191
|
function (confirm, activityType, data) {
|
|
2190
|
-
return this._startActivity(exports.ɵ
|
|
2192
|
+
return this._startActivity(exports.ɵbh, {
|
|
2191
2193
|
confirm: confirm,
|
|
2192
2194
|
activityType: activityType,
|
|
2193
2195
|
data: data
|
|
@@ -2561,7 +2563,7 @@
|
|
|
2561
2563
|
* @return {?}
|
|
2562
2564
|
*/
|
|
2563
2565
|
function (confirm, activityType, data) {
|
|
2564
|
-
return this._startActivity(exports.ɵ
|
|
2566
|
+
return this._startActivity(exports.ɵbh, {
|
|
2565
2567
|
confirm: confirm,
|
|
2566
2568
|
activityType: activityType,
|
|
2567
2569
|
data: data
|
|
@@ -2634,7 +2636,7 @@
|
|
|
2634
2636
|
declarations: [
|
|
2635
2637
|
ActivityContainerComponent,
|
|
2636
2638
|
ConfirmationDialogComponent,
|
|
2637
|
-
exports.ɵ
|
|
2639
|
+
exports.ɵbh,
|
|
2638
2640
|
AlertDialogComponent,
|
|
2639
2641
|
ActivityOutletComponent,
|
|
2640
2642
|
InteractionOutletComponent,
|
|
@@ -2649,11 +2651,11 @@
|
|
|
2649
2651
|
entryComponents: [
|
|
2650
2652
|
ActivityContainerComponent,
|
|
2651
2653
|
ConfirmationDialogComponent,
|
|
2652
|
-
exports.ɵ
|
|
2654
|
+
exports.ɵbh,
|
|
2653
2655
|
AlertDialogComponent
|
|
2654
2656
|
],
|
|
2655
2657
|
providers: [
|
|
2656
|
-
DialogInteractionService
|
|
2658
|
+
DialogInteractionService,
|
|
2657
2659
|
]
|
|
2658
2660
|
},] }
|
|
2659
2661
|
];
|
|
@@ -3718,6 +3720,21 @@
|
|
|
3718
3720
|
Visit.prototype.visitParameters;
|
|
3719
3721
|
}
|
|
3720
3722
|
|
|
3723
|
+
/**
|
|
3724
|
+
* @fileoverview added by tsickle
|
|
3725
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3726
|
+
*/
|
|
3727
|
+
/** @type {?} */
|
|
3728
|
+
var AUP_PLACE_CONFIG = new core.InjectionToken('AUP_PLACE_CONFIG');
|
|
3729
|
+
/**
|
|
3730
|
+
* @record
|
|
3731
|
+
*/
|
|
3732
|
+
function PlaceConfig() { }
|
|
3733
|
+
if (false) {
|
|
3734
|
+
/** @type {?} */
|
|
3735
|
+
PlaceConfig.prototype.animationDuration;
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3721
3738
|
/**
|
|
3722
3739
|
* @fileoverview added by tsickle
|
|
3723
3740
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -4366,12 +4383,15 @@
|
|
|
4366
4383
|
animations$1.query(':enter, :leave', animationStartStyle, { optional: true }),
|
|
4367
4384
|
animations$1.group([
|
|
4368
4385
|
animations$1.query(':enter', [
|
|
4369
|
-
animations$1.style({ transform: 'translateX(100%)' }),
|
|
4386
|
+
animations$1.style({ transform: 'translateX(100%)', minHeight: '1px' }),
|
|
4370
4387
|
animations$1.animate('{{duration}} ease-out', animations$1.style({ transform: 'translateX(0%)' }))
|
|
4371
4388
|
], {
|
|
4372
4389
|
optional: true
|
|
4373
4390
|
}),
|
|
4374
|
-
animations$1.query(':leave', [animations$1.style({ transform: 'translateX(0%)' }), animations$1.animate('{{duration}} ease-out', animations$1.style({
|
|
4391
|
+
animations$1.query(':leave', [animations$1.style({ transform: 'translateX(0%)' }), animations$1.animate('{{duration}} ease-out', animations$1.style({
|
|
4392
|
+
transform: 'translateX(-100%)',
|
|
4393
|
+
minHeight: '1px'
|
|
4394
|
+
}))], {
|
|
4375
4395
|
optional: true
|
|
4376
4396
|
})
|
|
4377
4397
|
])
|
|
@@ -4412,10 +4432,11 @@
|
|
|
4412
4432
|
}
|
|
4413
4433
|
var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
4414
4434
|
__extends(PlaceOutletComponent, _super);
|
|
4415
|
-
function PlaceOutletComponent(router, placeRouter, parentOutlet) {
|
|
4435
|
+
function PlaceOutletComponent(router, placeRouter, placeConfig, parentOutlet) {
|
|
4416
4436
|
var _this = _super.call(this) || this;
|
|
4417
4437
|
_this.router = router;
|
|
4418
4438
|
_this.placeRouter = placeRouter;
|
|
4439
|
+
_this.placeConfig = placeConfig;
|
|
4419
4440
|
_this.animate = true;
|
|
4420
4441
|
_this.placeChanged = new core.EventEmitter();
|
|
4421
4442
|
_this._activePlace = new pectin.MutableValueModel();
|
|
@@ -4504,6 +4525,16 @@
|
|
|
4504
4525
|
*/
|
|
4505
4526
|
function () {
|
|
4506
4527
|
};
|
|
4528
|
+
Object.defineProperty(PlaceOutletComponent.prototype, "animationDuration", {
|
|
4529
|
+
get: /**
|
|
4530
|
+
* @return {?}
|
|
4531
|
+
*/
|
|
4532
|
+
function () {
|
|
4533
|
+
return this.placeConfig && this.placeConfig.animationDuration ? this.placeConfig.animationDuration : "500ms";
|
|
4534
|
+
},
|
|
4535
|
+
enumerable: true,
|
|
4536
|
+
configurable: true
|
|
4537
|
+
});
|
|
4507
4538
|
/**
|
|
4508
4539
|
* @param {?} visit
|
|
4509
4540
|
* @return {?}
|
|
@@ -4638,7 +4669,7 @@
|
|
|
4638
4669
|
PlaceOutletComponent.decorators = [
|
|
4639
4670
|
{ type: core.Component, args: [{
|
|
4640
4671
|
selector: 'aup-place-outlet',
|
|
4641
|
-
template: "<div class=\"router-outlet-container\"\n [@routeAnimations]=\"placeAnimationOrder.value\"\n (@routeAnimations.done)=\"animationDone()\"\n>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated(routerOutlet, $event)\">\n </router-outlet>\n</div>\n\n",
|
|
4672
|
+
template: "<div class=\"router-outlet-container\"\n [@routeAnimations]=\"{value: placeAnimationOrder.value, params:{duration: animationDuration}}\"\n (@routeAnimations.done)=\"animationDone()\"\n>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated(routerOutlet, $event)\">\n </router-outlet>\n</div>\n\n",
|
|
4642
4673
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
4643
4674
|
styles: [":host{display:flex;flex-direction:column;min-height:0;overflow-x:hidden}.router-outlet-container{flex:1;display:block;position:relative;min-height:0}router-outlet{display:none}"]
|
|
4644
4675
|
}] }
|
|
@@ -4647,6 +4678,7 @@
|
|
|
4647
4678
|
PlaceOutletComponent.ctorParameters = function () { return [
|
|
4648
4679
|
{ type: router.Router },
|
|
4649
4680
|
{ type: PlaceRouter },
|
|
4681
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [AUP_PLACE_CONFIG,] }] },
|
|
4650
4682
|
{ type: PlaceOutletComponent, decorators: [{ type: core.SkipSelf }, { type: core.Optional }] }
|
|
4651
4683
|
]; };
|
|
4652
4684
|
PlaceOutletComponent.propDecorators = {
|
|
@@ -4730,6 +4762,8 @@
|
|
|
4730
4762
|
* @private
|
|
4731
4763
|
*/
|
|
4732
4764
|
PlaceOutletComponent.prototype.placeRouter;
|
|
4765
|
+
/** @type {?} */
|
|
4766
|
+
PlaceOutletComponent.prototype.placeConfig;
|
|
4733
4767
|
}
|
|
4734
4768
|
|
|
4735
4769
|
/**
|
|
@@ -4965,7 +4999,9 @@
|
|
|
4965
4999
|
TabbedPlaceNavigationComponent,
|
|
4966
5000
|
ListPlaceNavComponent
|
|
4967
5001
|
],
|
|
4968
|
-
providers: [
|
|
5002
|
+
providers: [
|
|
5003
|
+
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "100ms"}}
|
|
5004
|
+
]
|
|
4969
5005
|
},] }
|
|
4970
5006
|
];
|
|
4971
5007
|
return PlaceModule;
|
|
@@ -6387,10 +6423,11 @@
|
|
|
6387
6423
|
}
|
|
6388
6424
|
|
|
6389
6425
|
exports.ACTIVITY_DATA = ACTIVITY_DATA;
|
|
6426
|
+
exports.AUP_PLACE_CONFIG = AUP_PLACE_CONFIG;
|
|
6390
6427
|
exports.AbstractActivity = AbstractActivity;
|
|
6391
6428
|
exports.AbstractInputComponent = AbstractInputComponent;
|
|
6392
6429
|
exports.AbstractPlaceNavigationComponent = AbstractPlaceNavigationComponent;
|
|
6393
|
-
exports.Activity = exports.ɵ
|
|
6430
|
+
exports.Activity = exports.ɵbf;
|
|
6394
6431
|
exports.ActivityContainerComponent = ActivityContainerComponent;
|
|
6395
6432
|
exports.ActivityOutletComponent = ActivityOutletComponent;
|
|
6396
6433
|
exports.AlertDialogComponent = AlertDialogComponent;
|
|
@@ -6398,7 +6435,7 @@
|
|
|
6398
6435
|
exports.BusyOverlayComponent = BusyOverlayComponent;
|
|
6399
6436
|
exports.CommandDirective = CommandDirective;
|
|
6400
6437
|
exports.ComponentsModule = ComponentsModule;
|
|
6401
|
-
exports.ConfirmThenDialogComponent = exports.ɵ
|
|
6438
|
+
exports.ConfirmThenDialogComponent = exports.ɵbh;
|
|
6402
6439
|
exports.ConfirmationDialogComponent = ConfirmationDialogComponent;
|
|
6403
6440
|
exports.DEFINITION_META_DATA_KEY = DEFINITION_META_DATA_KEY;
|
|
6404
6441
|
exports.DIALOG_INTERACTION_SERVICE_DEFAULTS = DIALOG_INTERACTION_SERVICE_DEFAULTS;
|
|
@@ -6439,14 +6476,16 @@
|
|
|
6439
6476
|
exports.slideDownAndUpAnimation = slideDownAndUpAnimation;
|
|
6440
6477
|
exports.ɵa = DirectivesModule;
|
|
6441
6478
|
exports.ɵb = CommandDirective;
|
|
6442
|
-
exports.ɵba =
|
|
6443
|
-
exports.ɵbb =
|
|
6444
|
-
exports.ɵbc =
|
|
6445
|
-
exports.ɵ
|
|
6446
|
-
exports.ɵ
|
|
6447
|
-
exports.ɵ
|
|
6448
|
-
exports.ɵbk =
|
|
6449
|
-
exports.ɵbl =
|
|
6479
|
+
exports.ɵba = InteractionContext;
|
|
6480
|
+
exports.ɵbb = ActivityOutletComponent;
|
|
6481
|
+
exports.ɵbc = ConfirmationDialogComponent;
|
|
6482
|
+
exports.ɵbd = AbstractActivity;
|
|
6483
|
+
exports.ɵbe = ACTIVITY_DATA;
|
|
6484
|
+
exports.ɵbi = AlertDialogComponent;
|
|
6485
|
+
exports.ɵbk = InteractionOutletComponent;
|
|
6486
|
+
exports.ɵbl = InplaceInteractionContextComponent;
|
|
6487
|
+
exports.ɵbm = DIALOG_INTERACTION_SERVICE_DEFAULTS;
|
|
6488
|
+
exports.ɵbn = DialogInteractionService;
|
|
6450
6489
|
exports.ɵc = FocusBindingDirective;
|
|
6451
6490
|
exports.ɵd = DisposableComponent;
|
|
6452
6491
|
exports.ɵe = ComponentsModule;
|
|
@@ -6462,15 +6501,14 @@
|
|
|
6462
6501
|
exports.ɵo = PlaceOutletComponent;
|
|
6463
6502
|
exports.ɵp = leftRightPlaceAnimation;
|
|
6464
6503
|
exports.ɵq = LEFT_RIGHT_PLACE_ANIMATION;
|
|
6465
|
-
exports.ɵr =
|
|
6466
|
-
exports.ɵ
|
|
6467
|
-
exports.ɵ
|
|
6468
|
-
exports.ɵ
|
|
6469
|
-
exports.ɵ
|
|
6470
|
-
exports.ɵ
|
|
6471
|
-
exports.ɵ
|
|
6472
|
-
exports.ɵ
|
|
6473
|
-
exports.ɵz = ActivityOutletComponent;
|
|
6504
|
+
exports.ɵr = AUP_PLACE_CONFIG;
|
|
6505
|
+
exports.ɵt = PlaceRouter;
|
|
6506
|
+
exports.ɵu = PlaceHistory;
|
|
6507
|
+
exports.ɵv = TabbedPlaceNavigationComponent;
|
|
6508
|
+
exports.ɵw = AbstractPlaceNavigationComponent;
|
|
6509
|
+
exports.ɵx = ListPlaceNavComponent;
|
|
6510
|
+
exports.ɵy = InteractionModule;
|
|
6511
|
+
exports.ɵz = ActivityContainerComponent;
|
|
6474
6512
|
|
|
6475
6513
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6476
6514
|
|