@coolon/angular-ui-powerups 0.0.91 → 0.0.92
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 +58 -62
- 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 +18 -19
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +17 -18
- package/esm2015/lib/place/navigation-session.js +7 -18
- package/esm2015/lib/place/place-router.js +15 -8
- package/esm5/coolon-angular-ui-powerups.js +17 -18
- package/esm5/lib/place/navigation-session.js +6 -17
- package/esm5/lib/place/place-router.js +14 -7
- package/fesm2015/coolon-angular-ui-powerups.js +19 -22
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +17 -20
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/navigation-session.d.ts +2 -2
- package/lib/place/place-router.d.ts +4 -2
- package/package.json +1 -1
|
@@ -3695,8 +3695,8 @@ if (false) {
|
|
|
3695
3695
|
Internal.prototype.isExternal;
|
|
3696
3696
|
}
|
|
3697
3697
|
var Factory = /** @class */ (function () {
|
|
3698
|
-
function Factory(
|
|
3699
|
-
this.
|
|
3698
|
+
function Factory(interactionContext) {
|
|
3699
|
+
this.interactionContext = interactionContext;
|
|
3700
3700
|
}
|
|
3701
3701
|
/**
|
|
3702
3702
|
* @param {?} visit
|
|
@@ -3707,7 +3707,7 @@ if (false) {
|
|
|
3707
3707
|
* @return {?}
|
|
3708
3708
|
*/
|
|
3709
3709
|
function (visit) {
|
|
3710
|
-
return new Internal(visit, this.
|
|
3710
|
+
return new Internal(visit, this.interactionContext);
|
|
3711
3711
|
};
|
|
3712
3712
|
/**
|
|
3713
3713
|
* @param {?} firstTimeRoute
|
|
@@ -3718,23 +3718,14 @@ if (false) {
|
|
|
3718
3718
|
* @return {?}
|
|
3719
3719
|
*/
|
|
3720
3720
|
function (firstTimeRoute) {
|
|
3721
|
-
return new External(firstTimeRoute, this.
|
|
3721
|
+
return new External(firstTimeRoute, this.interactionContext);
|
|
3722
3722
|
};
|
|
3723
|
-
Factory.decorators = [
|
|
3724
|
-
{ type: Injectable, args: [{
|
|
3725
|
-
providedIn: 'root'
|
|
3726
|
-
},] },
|
|
3727
|
-
];
|
|
3728
|
-
/** @nocollapse */
|
|
3729
|
-
Factory.ctorParameters = function () { return [
|
|
3730
|
-
{ type: InteractionContext }
|
|
3731
|
-
]; };
|
|
3732
3723
|
return Factory;
|
|
3733
3724
|
}());
|
|
3734
3725
|
NavigationSession.Factory = Factory;
|
|
3735
3726
|
if (false) {
|
|
3736
3727
|
/** @type {?} */
|
|
3737
|
-
Factory.prototype.
|
|
3728
|
+
Factory.prototype.interactionContext;
|
|
3738
3729
|
}
|
|
3739
3730
|
var ComponentDeactivationHandler = /** @class */ (function () {
|
|
3740
3731
|
function ComponentDeactivationHandler(component, appModelInteractionContext, primary) {
|
|
@@ -3968,11 +3959,11 @@ if (false) {
|
|
|
3968
3959
|
*/
|
|
3969
3960
|
var PlaceRouter = /** @class */ (function (_super) {
|
|
3970
3961
|
__extends(PlaceRouter, _super);
|
|
3971
|
-
function PlaceRouter(router, urlSerializer,
|
|
3962
|
+
function PlaceRouter(router, urlSerializer, interactionContext, angularLocation, placeHistory) {
|
|
3972
3963
|
var _this = _super.call(this) || this;
|
|
3973
3964
|
_this.router = router;
|
|
3974
3965
|
_this.urlSerializer = urlSerializer;
|
|
3975
|
-
_this.
|
|
3966
|
+
_this.interactionContext = interactionContext;
|
|
3976
3967
|
_this.angularLocation = angularLocation;
|
|
3977
3968
|
_this.placeHistory = placeHistory;
|
|
3978
3969
|
_this.firstRoute = true;
|
|
@@ -3980,6 +3971,7 @@ var PlaceRouter = /** @class */ (function (_super) {
|
|
|
3980
3971
|
_this._activeVisits = new MutableListModel();
|
|
3981
3972
|
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
3982
3973
|
_this.activeVisitIndex = chain(_this._activeVisits).indexBy('placeDefinition');
|
|
3974
|
+
_this.navigationSessionFactory = new NavigationSession.Factory(interactionContext);
|
|
3983
3975
|
angularLocation.onUrlChange((/**
|
|
3984
3976
|
* @param {?} url
|
|
3985
3977
|
* @return {?}
|
|
@@ -4298,11 +4290,11 @@ var PlaceRouter = /** @class */ (function (_super) {
|
|
|
4298
4290
|
PlaceRouter.ctorParameters = function () { return [
|
|
4299
4291
|
{ type: Router },
|
|
4300
4292
|
{ type: UrlSerializer },
|
|
4301
|
-
{ type:
|
|
4293
|
+
{ type: InteractionContext },
|
|
4302
4294
|
{ type: Location },
|
|
4303
4295
|
{ type: PlaceHistory }
|
|
4304
4296
|
]; };
|
|
4305
|
-
/** @nocollapse */ PlaceRouter.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(ɵɵinject(Router), ɵɵinject(UrlSerializer), ɵɵinject(
|
|
4297
|
+
/** @nocollapse */ PlaceRouter.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(ɵɵinject(Router), ɵɵinject(UrlSerializer), ɵɵinject(InteractionContext), ɵɵinject(Location), ɵɵinject(PlaceHistory)); }, token: PlaceRouter, providedIn: "root" });
|
|
4306
4298
|
__decorate([
|
|
4307
4299
|
Trace(),
|
|
4308
4300
|
__metadata("design:type", Function),
|
|
@@ -4331,6 +4323,11 @@ if (false) {
|
|
|
4331
4323
|
PlaceRouter.prototype.navigationSessionActive;
|
|
4332
4324
|
/** @type {?} */
|
|
4333
4325
|
PlaceRouter.prototype.activeVisitIndex;
|
|
4326
|
+
/**
|
|
4327
|
+
* @type {?}
|
|
4328
|
+
* @private
|
|
4329
|
+
*/
|
|
4330
|
+
PlaceRouter.prototype.navigationSessionFactory;
|
|
4334
4331
|
/**
|
|
4335
4332
|
* @type {?}
|
|
4336
4333
|
* @private
|
|
@@ -4345,7 +4342,7 @@ if (false) {
|
|
|
4345
4342
|
* @type {?}
|
|
4346
4343
|
* @private
|
|
4347
4344
|
*/
|
|
4348
|
-
PlaceRouter.prototype.
|
|
4345
|
+
PlaceRouter.prototype.interactionContext;
|
|
4349
4346
|
/** @type {?} */
|
|
4350
4347
|
PlaceRouter.prototype.angularLocation;
|
|
4351
4348
|
/** @type {?} */
|
|
@@ -6529,5 +6526,5 @@ if (false) {
|
|
|
6529
6526
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6530
6527
|
*/
|
|
6531
6528
|
|
|
6532
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, Activity, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionService, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnterPlaceGuard, FocusBindingDirective, Formatter, InplaceInteractionContextComponent, InteractionContext, InteractionGuard, InteractionModule, InteractionOutletComponent, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NavigationSession, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, leftRightPlaceAnimation, slideDownAndUpAnimation, DirectivesModule as ɵa, CommandDirective as ɵb,
|
|
6529
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, Activity, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionService, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnterPlaceGuard, FocusBindingDirective, Formatter, InplaceInteractionContextComponent, InteractionContext, InteractionGuard, InteractionModule, InteractionOutletComponent, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NavigationSession, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, leftRightPlaceAnimation, slideDownAndUpAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, ActivityContainerComponent as ɵba, ActivityOutletComponent as ɵbb, ConfirmationDialogComponent as ɵbc, AbstractActivity as ɵbd, ACTIVITY_DATA as ɵbe, Activity as ɵbf, ConfirmThenDialogComponent as ɵbh, AlertDialogComponent as ɵbi, InteractionOutletComponent as ɵbk, InplaceInteractionContextComponent as ɵbl, DIALOG_INTERACTION_SERVICE_DEFAULTS as ɵbm, DialogInteractionService as ɵbn, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, NoopComponent as ɵk, PlaceModule as ɵl, EmptyStateComponent as ɵm, BusyOverlayComponent as ɵn, PlaceOutletComponent as ɵo, leftRightPlaceAnimation as ɵp, LEFT_RIGHT_PLACE_ANIMATION as ɵq, AUP_PLACE_CONFIG as ɵr, PlaceRouter as ɵt, InteractionContext as ɵu, PlaceHistory as ɵv, TabbedPlaceNavigationComponent as ɵw, AbstractPlaceNavigationComponent as ɵx, ListPlaceNavComponent as ɵy, InteractionModule as ɵz };
|
|
6533
6530
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|