@coolon/angular-ui-powerups 0.0.79 → 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 +69 -36
- 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/place/components/place-outlet/place-outlet.component.js +16 -4
- 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/place/components/place-outlet/place-outlet.component.js +19 -4
- 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 +32 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +35 -4
- 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
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
* @return {?}
|
|
1934
1934
|
*/
|
|
1935
1935
|
function (confirm, activityType, data) {
|
|
1936
|
-
return this.startActivity(exports.ɵ
|
|
1936
|
+
return this.startActivity(exports.ɵbh, {
|
|
1937
1937
|
confirm: confirm,
|
|
1938
1938
|
activityType: activityType,
|
|
1939
1939
|
data: data
|
|
@@ -2189,7 +2189,7 @@
|
|
|
2189
2189
|
* @return {?}
|
|
2190
2190
|
*/
|
|
2191
2191
|
function (confirm, activityType, data) {
|
|
2192
|
-
return this._startActivity(exports.ɵ
|
|
2192
|
+
return this._startActivity(exports.ɵbh, {
|
|
2193
2193
|
confirm: confirm,
|
|
2194
2194
|
activityType: activityType,
|
|
2195
2195
|
data: data
|
|
@@ -2563,7 +2563,7 @@
|
|
|
2563
2563
|
* @return {?}
|
|
2564
2564
|
*/
|
|
2565
2565
|
function (confirm, activityType, data) {
|
|
2566
|
-
return this._startActivity(exports.ɵ
|
|
2566
|
+
return this._startActivity(exports.ɵbh, {
|
|
2567
2567
|
confirm: confirm,
|
|
2568
2568
|
activityType: activityType,
|
|
2569
2569
|
data: data
|
|
@@ -2636,7 +2636,7 @@
|
|
|
2636
2636
|
declarations: [
|
|
2637
2637
|
ActivityContainerComponent,
|
|
2638
2638
|
ConfirmationDialogComponent,
|
|
2639
|
-
exports.ɵ
|
|
2639
|
+
exports.ɵbh,
|
|
2640
2640
|
AlertDialogComponent,
|
|
2641
2641
|
ActivityOutletComponent,
|
|
2642
2642
|
InteractionOutletComponent,
|
|
@@ -2651,7 +2651,7 @@
|
|
|
2651
2651
|
entryComponents: [
|
|
2652
2652
|
ActivityContainerComponent,
|
|
2653
2653
|
ConfirmationDialogComponent,
|
|
2654
|
-
exports.ɵ
|
|
2654
|
+
exports.ɵbh,
|
|
2655
2655
|
AlertDialogComponent
|
|
2656
2656
|
],
|
|
2657
2657
|
providers: [
|
|
@@ -3720,6 +3720,21 @@
|
|
|
3720
3720
|
Visit.prototype.visitParameters;
|
|
3721
3721
|
}
|
|
3722
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
|
+
|
|
3723
3738
|
/**
|
|
3724
3739
|
* @fileoverview added by tsickle
|
|
3725
3740
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -4417,10 +4432,11 @@
|
|
|
4417
4432
|
}
|
|
4418
4433
|
var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
4419
4434
|
__extends(PlaceOutletComponent, _super);
|
|
4420
|
-
function PlaceOutletComponent(router, placeRouter, parentOutlet) {
|
|
4435
|
+
function PlaceOutletComponent(router, placeRouter, placeConfig, parentOutlet) {
|
|
4421
4436
|
var _this = _super.call(this) || this;
|
|
4422
4437
|
_this.router = router;
|
|
4423
4438
|
_this.placeRouter = placeRouter;
|
|
4439
|
+
_this.placeConfig = placeConfig;
|
|
4424
4440
|
_this.animate = true;
|
|
4425
4441
|
_this.placeChanged = new core.EventEmitter();
|
|
4426
4442
|
_this._activePlace = new pectin.MutableValueModel();
|
|
@@ -4509,6 +4525,16 @@
|
|
|
4509
4525
|
*/
|
|
4510
4526
|
function () {
|
|
4511
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
|
+
});
|
|
4512
4538
|
/**
|
|
4513
4539
|
* @param {?} visit
|
|
4514
4540
|
* @return {?}
|
|
@@ -4643,7 +4669,7 @@
|
|
|
4643
4669
|
PlaceOutletComponent.decorators = [
|
|
4644
4670
|
{ type: core.Component, args: [{
|
|
4645
4671
|
selector: 'aup-place-outlet',
|
|
4646
|
-
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",
|
|
4647
4673
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
4648
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}"]
|
|
4649
4675
|
}] }
|
|
@@ -4652,6 +4678,7 @@
|
|
|
4652
4678
|
PlaceOutletComponent.ctorParameters = function () { return [
|
|
4653
4679
|
{ type: router.Router },
|
|
4654
4680
|
{ type: PlaceRouter },
|
|
4681
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [AUP_PLACE_CONFIG,] }] },
|
|
4655
4682
|
{ type: PlaceOutletComponent, decorators: [{ type: core.SkipSelf }, { type: core.Optional }] }
|
|
4656
4683
|
]; };
|
|
4657
4684
|
PlaceOutletComponent.propDecorators = {
|
|
@@ -4735,6 +4762,8 @@
|
|
|
4735
4762
|
* @private
|
|
4736
4763
|
*/
|
|
4737
4764
|
PlaceOutletComponent.prototype.placeRouter;
|
|
4765
|
+
/** @type {?} */
|
|
4766
|
+
PlaceOutletComponent.prototype.placeConfig;
|
|
4738
4767
|
}
|
|
4739
4768
|
|
|
4740
4769
|
/**
|
|
@@ -4970,7 +4999,9 @@
|
|
|
4970
4999
|
TabbedPlaceNavigationComponent,
|
|
4971
5000
|
ListPlaceNavComponent
|
|
4972
5001
|
],
|
|
4973
|
-
providers: [
|
|
5002
|
+
providers: [
|
|
5003
|
+
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "100ms"}}
|
|
5004
|
+
]
|
|
4974
5005
|
},] }
|
|
4975
5006
|
];
|
|
4976
5007
|
return PlaceModule;
|
|
@@ -6392,10 +6423,11 @@
|
|
|
6392
6423
|
}
|
|
6393
6424
|
|
|
6394
6425
|
exports.ACTIVITY_DATA = ACTIVITY_DATA;
|
|
6426
|
+
exports.AUP_PLACE_CONFIG = AUP_PLACE_CONFIG;
|
|
6395
6427
|
exports.AbstractActivity = AbstractActivity;
|
|
6396
6428
|
exports.AbstractInputComponent = AbstractInputComponent;
|
|
6397
6429
|
exports.AbstractPlaceNavigationComponent = AbstractPlaceNavigationComponent;
|
|
6398
|
-
exports.Activity = exports.ɵ
|
|
6430
|
+
exports.Activity = exports.ɵbf;
|
|
6399
6431
|
exports.ActivityContainerComponent = ActivityContainerComponent;
|
|
6400
6432
|
exports.ActivityOutletComponent = ActivityOutletComponent;
|
|
6401
6433
|
exports.AlertDialogComponent = AlertDialogComponent;
|
|
@@ -6403,7 +6435,7 @@
|
|
|
6403
6435
|
exports.BusyOverlayComponent = BusyOverlayComponent;
|
|
6404
6436
|
exports.CommandDirective = CommandDirective;
|
|
6405
6437
|
exports.ComponentsModule = ComponentsModule;
|
|
6406
|
-
exports.ConfirmThenDialogComponent = exports.ɵ
|
|
6438
|
+
exports.ConfirmThenDialogComponent = exports.ɵbh;
|
|
6407
6439
|
exports.ConfirmationDialogComponent = ConfirmationDialogComponent;
|
|
6408
6440
|
exports.DEFINITION_META_DATA_KEY = DEFINITION_META_DATA_KEY;
|
|
6409
6441
|
exports.DIALOG_INTERACTION_SERVICE_DEFAULTS = DIALOG_INTERACTION_SERVICE_DEFAULTS;
|
|
@@ -6444,14 +6476,16 @@
|
|
|
6444
6476
|
exports.slideDownAndUpAnimation = slideDownAndUpAnimation;
|
|
6445
6477
|
exports.ɵa = DirectivesModule;
|
|
6446
6478
|
exports.ɵb = CommandDirective;
|
|
6447
|
-
exports.ɵba =
|
|
6448
|
-
exports.ɵbb =
|
|
6449
|
-
exports.ɵbc =
|
|
6450
|
-
exports.ɵ
|
|
6451
|
-
exports.ɵ
|
|
6452
|
-
exports.ɵ
|
|
6453
|
-
exports.ɵbk =
|
|
6454
|
-
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;
|
|
6455
6489
|
exports.ɵc = FocusBindingDirective;
|
|
6456
6490
|
exports.ɵd = DisposableComponent;
|
|
6457
6491
|
exports.ɵe = ComponentsModule;
|
|
@@ -6467,15 +6501,14 @@
|
|
|
6467
6501
|
exports.ɵo = PlaceOutletComponent;
|
|
6468
6502
|
exports.ɵp = leftRightPlaceAnimation;
|
|
6469
6503
|
exports.ɵq = LEFT_RIGHT_PLACE_ANIMATION;
|
|
6470
|
-
exports.ɵr =
|
|
6471
|
-
exports.ɵ
|
|
6472
|
-
exports.ɵ
|
|
6473
|
-
exports.ɵ
|
|
6474
|
-
exports.ɵ
|
|
6475
|
-
exports.ɵ
|
|
6476
|
-
exports.ɵ
|
|
6477
|
-
exports.ɵ
|
|
6478
|
-
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;
|
|
6479
6512
|
|
|
6480
6513
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6481
6514
|
|