@coolon/angular-ui-powerups 11.2.4 → 12.0.0-alpha.1
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-cypress.umd.js +24 -12
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +67 -45
- package/bundles/coolon-angular-ui-powerups.umd.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/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/focusable.component.js.map +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
- package/esm2015/lib/components/table/abstract-table-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/table/column-template/column-template.directive.js.map +1 -1
- package/esm2015/lib/components/table/edit-row-controls/edit-row-controls.component.js.map +1 -1
- package/esm2015/lib/components/table/select-cell-renderer/select-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/select-header-cell-renderer/select-header-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/highlight.pipe.js.map +1 -1
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/input-activities/select-input-activity.js.map +1 -1
- package/esm2015/lib/place/place-history.js.map +1 -1
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +66 -61
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/place-router.d.ts +1 -1
- package/package.json +17 -17
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/utils/build-context.d.ts +2 -1
- package/schematics/utils/build-context.js +4 -2
- package/schematics/utils/build-context.js.map +1 -1
- package/schematics/utils/schematic-tree-file-system.d.ts +3 -2
- package/schematics/utils/schematic-tree-file-system.js +1 -1
- package/schematics/utils/schematic-tree-file-system.js.map +1 -1
- package/schematics/utils/template-utilities.js +8 -0
- package/schematics/utils/template-utilities.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups-cypress.umd.min.js +0 -16
- package/bundles/coolon-angular-ui-powerups-cypress.umd.min.js.map +0 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +0 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +0 -1
|
@@ -26,9 +26,14 @@
|
|
|
26
26
|
return Object.freeze(n);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
29
31
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
32
|
+
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
30
33
|
var ResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(ResizeObserver);
|
|
31
34
|
var produce__default = /*#__PURE__*/_interopDefaultLegacy(produce);
|
|
35
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
|
|
36
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
32
37
|
var wakeEvent__namespace = /*#__PURE__*/_interopNamespace(wakeEvent);
|
|
33
38
|
|
|
34
39
|
/*! *****************************************************************************
|
|
@@ -55,6 +60,8 @@
|
|
|
55
60
|
return extendStatics(d, b);
|
|
56
61
|
};
|
|
57
62
|
function __extends(d, b) {
|
|
63
|
+
if (typeof b !== "function" && b !== null)
|
|
64
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
58
65
|
extendStatics(d, b);
|
|
59
66
|
function __() { this.constructor = d; }
|
|
60
67
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -240,11 +247,13 @@
|
|
|
240
247
|
}
|
|
241
248
|
return ar;
|
|
242
249
|
}
|
|
250
|
+
/** @deprecated */
|
|
243
251
|
function __spread() {
|
|
244
252
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
245
253
|
ar = ar.concat(__read(arguments[i]));
|
|
246
254
|
return ar;
|
|
247
255
|
}
|
|
256
|
+
/** @deprecated */
|
|
248
257
|
function __spreadArrays() {
|
|
249
258
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
250
259
|
s += arguments[i].length;
|
|
@@ -253,7 +262,11 @@
|
|
|
253
262
|
r[k] = a[j];
|
|
254
263
|
return r;
|
|
255
264
|
}
|
|
256
|
-
|
|
265
|
+
function __spreadArray(to, from) {
|
|
266
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
267
|
+
to[j] = from[i];
|
|
268
|
+
return to;
|
|
269
|
+
}
|
|
257
270
|
function __await(v) {
|
|
258
271
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
259
272
|
}
|
|
@@ -318,18 +331,21 @@
|
|
|
318
331
|
function __importDefault(mod) {
|
|
319
332
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
320
333
|
}
|
|
321
|
-
function __classPrivateFieldGet(receiver,
|
|
322
|
-
if (!
|
|
323
|
-
throw new TypeError("
|
|
324
|
-
|
|
325
|
-
|
|
334
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
335
|
+
if (kind === "a" && !f)
|
|
336
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
337
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
338
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
339
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
326
340
|
}
|
|
327
|
-
function __classPrivateFieldSet(receiver,
|
|
328
|
-
if (
|
|
329
|
-
throw new TypeError("
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
341
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
342
|
+
if (kind === "m")
|
|
343
|
+
throw new TypeError("Private method is not writable");
|
|
344
|
+
if (kind === "a" && !f)
|
|
345
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
346
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
347
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
348
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
333
349
|
}
|
|
334
350
|
|
|
335
351
|
var CommandDirective = /** @class */ (function (_super) {
|
|
@@ -558,7 +574,7 @@
|
|
|
558
574
|
};
|
|
559
575
|
return FocusBindingFactory;
|
|
560
576
|
}());
|
|
561
|
-
FocusBindingFactory.ɵprov =
|
|
577
|
+
FocusBindingFactory.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FocusBindingFactory_Factory() { return new FocusBindingFactory(i0__namespace.ɵɵinject(i0__namespace.NgZone), i0__namespace.ɵɵinject(i2__namespace.DOCUMENT)); }, token: FocusBindingFactory, providedIn: "root" });
|
|
562
578
|
FocusBindingFactory.decorators = [
|
|
563
579
|
{ type: i0.Injectable, args: [{
|
|
564
580
|
providedIn: 'root'
|
|
@@ -833,6 +849,7 @@
|
|
|
833
849
|
__metadata("design:type", pectin.Command)
|
|
834
850
|
], CardContainerComponent.prototype, "addCardCommand", void 0);
|
|
835
851
|
|
|
852
|
+
exports.CommandFace = void 0;
|
|
836
853
|
(function (CommandFace) {
|
|
837
854
|
var Position;
|
|
838
855
|
(function (Position) {
|
|
@@ -1196,7 +1213,7 @@
|
|
|
1196
1213
|
}
|
|
1197
1214
|
AbstractPopupMenuComponent.prototype.ngAfterContentChecked = function () {
|
|
1198
1215
|
// force the list to re-order as the child indicies may have changed.
|
|
1199
|
-
this._unorderedChildren.value =
|
|
1216
|
+
this._unorderedChildren.value = __spreadArray([], __read(this._unorderedChildren.value));
|
|
1200
1217
|
};
|
|
1201
1218
|
Object.defineProperty(AbstractPopupMenuComponent.prototype, "faceAdapter", {
|
|
1202
1219
|
get: function () {
|
|
@@ -1307,6 +1324,7 @@
|
|
|
1307
1324
|
__metadata("design:type", String)
|
|
1308
1325
|
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
1309
1326
|
|
|
1327
|
+
exports.TrackBy = void 0;
|
|
1310
1328
|
(function (TrackBy) {
|
|
1311
1329
|
TrackBy.byIndex = function (index, item) { return index; };
|
|
1312
1330
|
function trackByProperty(property) {
|
|
@@ -2285,7 +2303,7 @@
|
|
|
2285
2303
|
{ type: i0.Component, args: [{
|
|
2286
2304
|
selector: 'aup-scroll-container',
|
|
2287
2305
|
template: "<div class=\"container\" cdkScrollable>\n <ng-content></ng-content>\n</div>\n",
|
|
2288
|
-
styles: [":host{flex-direction:column;min-height:0
|
|
2306
|
+
styles: [":host{display:flex;flex-direction:column;min-height:0;align-items:stretch}.container{display:flex;flex-direction:column;flex:1;flex-basis:0;overflow-y:scroll;align-items:stretch}"]
|
|
2289
2307
|
},] }
|
|
2290
2308
|
];
|
|
2291
2309
|
ScrollContainerComponent.ctorParameters = function () { return []; };
|
|
@@ -3219,7 +3237,7 @@
|
|
|
3219
3237
|
var VisibleColumnListModel = /** @class */ (function (_super) {
|
|
3220
3238
|
__extends(VisibleColumnListModel, _super);
|
|
3221
3239
|
function VisibleColumnListModel() {
|
|
3222
|
-
var _this = _super.apply(this,
|
|
3240
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
3223
3241
|
_this.columns = [];
|
|
3224
3242
|
return _this;
|
|
3225
3243
|
}
|
|
@@ -4140,10 +4158,10 @@
|
|
|
4140
4158
|
return this.parent ? this.node.children.length > 1 : false;
|
|
4141
4159
|
};
|
|
4142
4160
|
DecoratedTreeNodeMixin.prototype.find = function (predicate) {
|
|
4143
|
-
return
|
|
4161
|
+
return ___namespace.find(this.descendants(), predicate);
|
|
4144
4162
|
};
|
|
4145
4163
|
DecoratedTreeNodeMixin.prototype.select = function (predicate) {
|
|
4146
|
-
return
|
|
4164
|
+
return ___namespace.filter(this.descendants(), predicate);
|
|
4147
4165
|
};
|
|
4148
4166
|
DecoratedTreeNodeMixin.prototype.flattenInto = function (array) {
|
|
4149
4167
|
this.visitSelfAndDescendants(function (child) { return array.push(child); });
|
|
@@ -4212,7 +4230,7 @@
|
|
|
4212
4230
|
return visitor;
|
|
4213
4231
|
};
|
|
4214
4232
|
DecoratedTreeNodeMixin.prototype.visitChildren = function (visitor) {
|
|
4215
|
-
|
|
4233
|
+
___namespace.each(this.children, function (child) { return child.visit(visitor); });
|
|
4216
4234
|
return visitor;
|
|
4217
4235
|
};
|
|
4218
4236
|
DecoratedTreeNodeMixin.prototype.visitSelfAndDescendants = function (callback) {
|
|
@@ -4223,13 +4241,14 @@
|
|
|
4223
4241
|
};
|
|
4224
4242
|
DecoratedTreeNodeMixin.prototype.memoize = function (property, factory) {
|
|
4225
4243
|
var key = "__" + property;
|
|
4226
|
-
if (
|
|
4244
|
+
if (___namespace.isNil(this[key])) {
|
|
4227
4245
|
this[key] = factory();
|
|
4228
4246
|
}
|
|
4229
4247
|
return this[key];
|
|
4230
4248
|
};
|
|
4231
4249
|
return DecoratedTreeNodeMixin;
|
|
4232
4250
|
}());
|
|
4251
|
+
exports.DecoratedTreeNode = void 0;
|
|
4233
4252
|
(function (DecoratedTreeNode) {
|
|
4234
4253
|
function createRoot(node) {
|
|
4235
4254
|
return typescriptUtilities.Mixin.createProxy(node, new DecoratedTreeNodeMixin(undefined, node));
|
|
@@ -5420,7 +5439,7 @@
|
|
|
5420
5439
|
var ActivityBodyComponent = /** @class */ (function (_super) {
|
|
5421
5440
|
__extends(ActivityBodyComponent, _super);
|
|
5422
5441
|
function ActivityBodyComponent() {
|
|
5423
|
-
var _this = _super.apply(this,
|
|
5442
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
5424
5443
|
_this.fullWidth = false;
|
|
5425
5444
|
return _this;
|
|
5426
5445
|
}
|
|
@@ -5585,7 +5604,7 @@
|
|
|
5585
5604
|
};
|
|
5586
5605
|
return InteractionService;
|
|
5587
5606
|
}());
|
|
5588
|
-
exports.InteractionService.ɵprov =
|
|
5607
|
+
exports.InteractionService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function InteractionService_Factory() { return new exports.InteractionService(i0__namespace.ɵɵinject(ModalInteractionContextFactory)); }, token: exports.InteractionService, providedIn: "root" });
|
|
5589
5608
|
exports.InteractionService.decorators = [
|
|
5590
5609
|
{ type: i0.Injectable, args: [{
|
|
5591
5610
|
providedIn: 'root'
|
|
@@ -6031,7 +6050,7 @@
|
|
|
6031
6050
|
var SelectInputActivity = /** @class */ (function (_super) {
|
|
6032
6051
|
__extends(SelectInputActivity, _super);
|
|
6033
6052
|
function SelectInputActivity() {
|
|
6034
|
-
var _this = _super.apply(this,
|
|
6053
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6035
6054
|
_this.defaultOptionLabelFormat = function (option) {
|
|
6036
6055
|
return _this.data.optionLabel ? option[_this.data.optionLabel] : option;
|
|
6037
6056
|
};
|
|
@@ -6284,7 +6303,7 @@
|
|
|
6284
6303
|
var RouteId = /** @class */ (function (_super) {
|
|
6285
6304
|
__extends(RouteId, _super);
|
|
6286
6305
|
function RouteId() {
|
|
6287
|
-
var _this = _super.apply(this,
|
|
6306
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6288
6307
|
_this.isRouteId = true;
|
|
6289
6308
|
_this.isArray = false;
|
|
6290
6309
|
return _this;
|
|
@@ -6301,7 +6320,7 @@
|
|
|
6301
6320
|
var ValueParameter = /** @class */ (function (_super) {
|
|
6302
6321
|
__extends(ValueParameter, _super);
|
|
6303
6322
|
function ValueParameter() {
|
|
6304
|
-
var _this = _super.apply(this,
|
|
6323
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6305
6324
|
_this.isRouteId = false;
|
|
6306
6325
|
_this.isArray = false;
|
|
6307
6326
|
return _this;
|
|
@@ -6648,7 +6667,7 @@
|
|
|
6648
6667
|
if (!(this.isPrimaryComponent && this.routerInteractionAdapter.isModalActive())) return [3 /*break*/, 3];
|
|
6649
6668
|
routeIds = this.urlService.getActiveInteractionIdsFromUrl(nextState.url);
|
|
6650
6669
|
currentIds = this.routerInteractionAdapter.getActiveInteractionContextIds();
|
|
6651
|
-
if (!!
|
|
6670
|
+
if (!!___namespace.isEqual(currentIds, routeIds)) return [3 /*break*/, 2];
|
|
6652
6671
|
return [4 /*yield*/, this.routerInteractionAdapter.cancelCurrentModalInteraction()];
|
|
6653
6672
|
case 1:
|
|
6654
6673
|
_a.sent();
|
|
@@ -7078,7 +7097,7 @@
|
|
|
7078
7097
|
var NavigatingDuringInteraction = /** @class */ (function (_super) {
|
|
7079
7098
|
__extends(NavigatingDuringInteraction, _super);
|
|
7080
7099
|
function NavigatingDuringInteraction() {
|
|
7081
|
-
var _this = _super.apply(this,
|
|
7100
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7082
7101
|
_this.isPopState = false;
|
|
7083
7102
|
return _this;
|
|
7084
7103
|
}
|
|
@@ -7338,7 +7357,7 @@
|
|
|
7338
7357
|
var Navigating = /** @class */ (function (_super) {
|
|
7339
7358
|
__extends(Navigating, _super);
|
|
7340
7359
|
function Navigating() {
|
|
7341
|
-
var _this = _super.apply(this,
|
|
7360
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7342
7361
|
_this.isPopState = false;
|
|
7343
7362
|
_this.debugPropertyKeys = ['startingUrl', 'urlAfterRedirects'];
|
|
7344
7363
|
return _this;
|
|
@@ -7359,6 +7378,7 @@
|
|
|
7359
7378
|
return Navigating;
|
|
7360
7379
|
}(NavigationSession));
|
|
7361
7380
|
|
|
7381
|
+
exports.NavigationContext = void 0;
|
|
7362
7382
|
(function (NavigationContext) {
|
|
7363
7383
|
var Impl = /** @class */ (function () {
|
|
7364
7384
|
function Impl(urlService, routerInteractionAdapter, navigateByUrl, transitionTo, finishRoutingSession) {
|
|
@@ -7459,6 +7479,7 @@
|
|
|
7459
7479
|
return PopStateNavigation;
|
|
7460
7480
|
}(AbstractPopStateNavigation));
|
|
7461
7481
|
|
|
7482
|
+
exports.PlaceAccessGuard = void 0;
|
|
7462
7483
|
(function (PlaceAccessGuard) {
|
|
7463
7484
|
var NoAuth = /** @class */ (function () {
|
|
7464
7485
|
function NoAuth() {
|
|
@@ -7525,7 +7546,7 @@
|
|
|
7525
7546
|
};
|
|
7526
7547
|
return PlaceHistory;
|
|
7527
7548
|
}());
|
|
7528
|
-
exports.PlaceHistory.ɵprov =
|
|
7549
|
+
exports.PlaceHistory.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PlaceHistory_Factory() { return new exports.PlaceHistory(); }, token: exports.PlaceHistory, providedIn: "root" });
|
|
7529
7550
|
exports.PlaceHistory.decorators = [
|
|
7530
7551
|
{ type: i0.Injectable, args: [{
|
|
7531
7552
|
providedIn: 'root'
|
|
@@ -7623,11 +7644,11 @@
|
|
|
7623
7644
|
UrlSnapshot.prototype.updateVisitSegments = function (visit) {
|
|
7624
7645
|
var urlTree = this.urlSerializer.parse(this.url);
|
|
7625
7646
|
// Ugly, but it works for now.
|
|
7626
|
-
var segments =
|
|
7647
|
+
var segments = __spreadArray([], __read(this.getPrimarySegments(urlTree)));
|
|
7627
7648
|
var visitSegments = this.getSegmentsFor(visit);
|
|
7628
7649
|
var replaceAt = segments.findIndex(function (segment) { return segment.path === visitSegments[0].path; });
|
|
7629
7650
|
// do not use the return value, it's the items that were removed!
|
|
7630
|
-
segments.splice.apply(segments,
|
|
7651
|
+
segments.splice.apply(segments, __spreadArray([replaceAt, visitSegments.length], __read(visitSegments)));
|
|
7631
7652
|
urlTree.root.children.primary.segments = segments;
|
|
7632
7653
|
return new UrlSnapshot(this.urlSerializer, urlTree.toString());
|
|
7633
7654
|
};
|
|
@@ -7762,7 +7783,7 @@
|
|
|
7762
7783
|
};
|
|
7763
7784
|
return UrlService;
|
|
7764
7785
|
}());
|
|
7765
|
-
UrlService.ɵprov =
|
|
7786
|
+
UrlService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function UrlService_Factory() { return new UrlService(i0__namespace.ɵɵinject(i1__namespace.Router), i0__namespace.ɵɵinject(i2__namespace.Location), i0__namespace.ɵɵinject(i1__namespace.UrlSerializer)); }, token: UrlService, providedIn: "root" });
|
|
7766
7787
|
UrlService.decorators = [
|
|
7767
7788
|
{ type: i0.Injectable, args: [{
|
|
7768
7789
|
providedIn: 'root'
|
|
@@ -7958,9 +7979,9 @@
|
|
|
7958
7979
|
return __generator(this, function (_a) {
|
|
7959
7980
|
switch (_a.label) {
|
|
7960
7981
|
case 0:
|
|
7961
|
-
commands =
|
|
7982
|
+
commands = __spreadArray([
|
|
7962
7983
|
visit.placeDefinition.path
|
|
7963
|
-
], this.createRouteParameters(visit));
|
|
7984
|
+
], __read(this.createRouteParameters(visit)));
|
|
7964
7985
|
return [4 /*yield*/, this.angularRouter.navigate(commands, {
|
|
7965
7986
|
relativeTo: options ? options.relativeTo : null
|
|
7966
7987
|
})];
|
|
@@ -8109,7 +8130,7 @@
|
|
|
8109
8130
|
};
|
|
8110
8131
|
return PlaceRouter;
|
|
8111
8132
|
}(pectin.GarbageCollector));
|
|
8112
|
-
exports.PlaceRouter.ɵprov =
|
|
8133
|
+
exports.PlaceRouter.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new exports.PlaceRouter(i0__namespace.ɵɵinject(i1__namespace.Router), i0__namespace.ɵɵinject(i2__namespace.Location), i0__namespace.ɵɵinject(exports.InteractionService), i0__namespace.ɵɵinject(UrlService), i0__namespace.ɵɵinject(exports.PlaceHistory)); }, token: exports.PlaceRouter, providedIn: "root" });
|
|
8113
8134
|
exports.PlaceRouter.decorators = [
|
|
8114
8135
|
{ type: i0.Injectable, args: [{
|
|
8115
8136
|
providedIn: 'root'
|
|
@@ -8150,7 +8171,7 @@
|
|
|
8150
8171
|
};
|
|
8151
8172
|
// @Trace()
|
|
8152
8173
|
Visit.prototype.hasRouteId = function () {
|
|
8153
|
-
return !
|
|
8174
|
+
return !___namespace.isNil(this.getRouteId());
|
|
8154
8175
|
};
|
|
8155
8176
|
/**
|
|
8156
8177
|
* Returns the value of the place parameter with the specified name. The parameter
|
|
@@ -8193,11 +8214,11 @@
|
|
|
8193
8214
|
};
|
|
8194
8215
|
Visit.prototype.hasRoutingChangedFrom = function (other) {
|
|
8195
8216
|
var samePlace = other.placeDefinition === this.placeDefinition;
|
|
8196
|
-
var sameRouteParameters =
|
|
8217
|
+
var sameRouteParameters = ___namespace.isEqual(this.placeDefinition.getFormattedRouteParameters(this, true), this.placeDefinition.getFormattedRouteParameters(other, true));
|
|
8197
8218
|
return !samePlace || !sameRouteParameters;
|
|
8198
8219
|
};
|
|
8199
8220
|
Visit.prototype.hasChangedFrom = function (other) {
|
|
8200
|
-
var sameNonRouteParameters =
|
|
8221
|
+
var sameNonRouteParameters = ___namespace.isEqual(this.placeDefinition.getNonRouteParameters(this), this.placeDefinition.getNonRouteParameters(other));
|
|
8201
8222
|
return !sameNonRouteParameters || this.hasRoutingChangedFrom(other);
|
|
8202
8223
|
};
|
|
8203
8224
|
Visit.prototype.toDebugString = function () {
|
|
@@ -8298,11 +8319,11 @@
|
|
|
8298
8319
|
var placeIndex = 0;
|
|
8299
8320
|
if (activatePlaceType.value) {
|
|
8300
8321
|
placeIndex = placesInOrder.indexOf(activatePlaceType.value);
|
|
8301
|
-
if (
|
|
8322
|
+
if (___namespace.isNil(_this.initialPlaceIndex)) {
|
|
8302
8323
|
_this.initialPlaceIndex = placeIndex;
|
|
8303
8324
|
}
|
|
8304
8325
|
}
|
|
8305
|
-
return
|
|
8326
|
+
return ___namespace.isNil(_this.initialPlaceIndex) ? 0 : placeIndex - _this.initialPlaceIndex;
|
|
8306
8327
|
}, { dependsOn: activatePlaceType });
|
|
8307
8328
|
_this.animationSupported = _this.placesInAnimationOrder.count().isGreaterThan(0);
|
|
8308
8329
|
_this.animationEnabled = valueOf.all(_this.animateModel, _this.animationSupported).areTruthy();
|
|
@@ -8886,7 +8907,7 @@
|
|
|
8886
8907
|
};
|
|
8887
8908
|
return DialogInteractionContextFactory;
|
|
8888
8909
|
}(ModalInteractionContextFactory));
|
|
8889
|
-
DialogInteractionContextFactory.ɵprov =
|
|
8910
|
+
DialogInteractionContextFactory.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DialogInteractionContextFactory_Factory() { return new DialogInteractionContextFactory(i0__namespace.ɵɵinject(i1__namespace$1.MatDialog), i0__namespace.ɵɵinject(DIALOG_INTERACTION_SERVICE_DEFAULTS, 8), i0__namespace.ɵɵinject(i1__namespace$1.MAT_DIALOG_DEFAULT_OPTIONS, 8)); }, token: DialogInteractionContextFactory, providedIn: "root" });
|
|
8890
8911
|
DialogInteractionContextFactory.decorators = [
|
|
8891
8912
|
{ type: i0.Injectable, args: [{
|
|
8892
8913
|
providedIn: 'root'
|
|
@@ -8906,7 +8927,7 @@
|
|
|
8906
8927
|
return function (target) {
|
|
8907
8928
|
var _a;
|
|
8908
8929
|
if (exports.PlaceComponent.isPlaceComponentConstructor(target)) {
|
|
8909
|
-
exports.PlaceComponent.injectDefinition(target, new PlaceDefinition(target, options.path,
|
|
8930
|
+
exports.PlaceComponent.injectDefinition(target, new PlaceDefinition(target, options.path, ___namespace.isNil(options.authenticate) ? true : options.authenticate, (_a = options.role) !== null && _a !== void 0 ? _a : options.roles, options.data, exports.PlaceComponent.getRouteParameters(target), (options.children || []).map(function (c) { return exports.PlaceComponent.getDefinition(c); })));
|
|
8910
8931
|
if (options.roles) {
|
|
8911
8932
|
console.warn(target.name + " @Place({roles: string[]}) is deprecated. Use @Place({role:any}) instead");
|
|
8912
8933
|
}
|
|
@@ -8987,7 +9008,7 @@
|
|
|
8987
9008
|
};
|
|
8988
9009
|
return NoopAuthGuard;
|
|
8989
9010
|
}());
|
|
8990
|
-
NoopAuthGuard.ɵprov =
|
|
9011
|
+
NoopAuthGuard.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function NoopAuthGuard_Factory() { return new NoopAuthGuard(); }, token: NoopAuthGuard, providedIn: "root" });
|
|
8991
9012
|
NoopAuthGuard.decorators = [
|
|
8992
9013
|
{ type: i0.Injectable, args: [{
|
|
8993
9014
|
providedIn: 'root'
|
|
@@ -9193,7 +9214,7 @@
|
|
|
9193
9214
|
};
|
|
9194
9215
|
return PlaceGuard;
|
|
9195
9216
|
}());
|
|
9196
|
-
PlaceGuard.ɵprov =
|
|
9217
|
+
PlaceGuard.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PlaceGuard_Factory() { return new PlaceGuard(i0__namespace.ɵɵinject(i1__namespace.Router), i0__namespace.ɵɵinject(UrlService), i0__namespace.ɵɵinject(exports.PlaceRouter), i0__namespace.ɵɵinject(exports.PlaceHistory), i0__namespace.ɵɵinject(exports.InteractionService), i0__namespace.ɵɵinject(i0__namespace.INJECTOR)); }, token: PlaceGuard, providedIn: "root" });
|
|
9197
9218
|
PlaceGuard.decorators = [
|
|
9198
9219
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9199
9220
|
];
|
|
@@ -9206,6 +9227,7 @@
|
|
|
9206
9227
|
{ type: i0.Injector }
|
|
9207
9228
|
]; };
|
|
9208
9229
|
|
|
9230
|
+
exports.Formatter = void 0;
|
|
9209
9231
|
(function (Formatter) {
|
|
9210
9232
|
var StringType = /** @class */ (function () {
|
|
9211
9233
|
function StringType() {
|
|
@@ -9376,7 +9398,7 @@
|
|
|
9376
9398
|
};
|
|
9377
9399
|
return VisibilityService;
|
|
9378
9400
|
}(pectin.GarbageCollector));
|
|
9379
|
-
VisibilityService.ɵprov =
|
|
9401
|
+
VisibilityService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function VisibilityService_Factory() { return new VisibilityService(i0__namespace.ɵɵinject(i2__namespace.DOCUMENT)); }, token: VisibilityService, providedIn: "root" });
|
|
9380
9402
|
VisibilityService.decorators = [
|
|
9381
9403
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9382
9404
|
];
|