@wavemaker/angular-codegen 11.10.1-rc.200 → 11.10.2-rc.202
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/angular-app/build-scripts/post-build.js +12 -40
- package/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +174 -232
- package/angular-app/package-lock.json +174 -232
- package/angular-app/package.json +6 -5
- package/angular-app/src/assets/styles/css/wm-style.css +1 -1
- package/angular-app/src/main.ts +1 -1
- package/build-angular-app.js +8 -11
- package/dependencies/expression-parser.cjs.js +4 -4
- package/dependencies/pipe-provider.cjs.js +25 -25
- package/dependencies/transpilation-mobile.cjs.js +15 -14
- package/dependencies/transpilation-web.cjs.js +15 -14
- package/npm-shrinkwrap.json +71 -71
- package/package-lock.json +71 -71
- package/package.json +2 -2
- package/src/codegen-cli.js +1 -1
package/angular-app/src/main.ts
CHANGED
|
@@ -62,6 +62,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
62
62
|
window.addEventListener('unload', () => {
|
|
63
63
|
applicationRef.components.map(c => c && c.destroy());
|
|
64
64
|
});
|
|
65
|
-
console.timeEnd('bootstrap'), err => console.log(err);
|
|
65
|
+
//console.timeEnd('bootstrap'), err => console.log(err);
|
|
66
66
|
}, err => console.log(err));
|
|
67
67
|
});
|
package/build-angular-app.js
CHANGED
|
@@ -313,7 +313,7 @@ const buildAppInWMMode = (sourceDir, baseDir) => {
|
|
|
313
313
|
* @param {*} codegenPath codegen path to generate the angular app
|
|
314
314
|
* Generate the angular app from codegen in target folder
|
|
315
315
|
*/
|
|
316
|
-
const generateAngularApp = async (sourceDir, ngBuildParams, codegenPath, appTarget) => {
|
|
316
|
+
const generateAngularApp = async (sourceDir, ngBuildParams, codegenPath, appTarget, baseDir) => {
|
|
317
317
|
const CODEGEN_PATH = codegenPath + 'src/codegen-cli.js';
|
|
318
318
|
if (fs.existsSync(CODEGEN_PATH)) {
|
|
319
319
|
let deployUrl = `ng-bundle/${global.randomHash}/`;
|
|
@@ -327,7 +327,7 @@ const generateAngularApp = async (sourceDir, ngBuildParams, codegenPath, appTarg
|
|
|
327
327
|
console.log(MSG_CODEGEN_LOG + 'Generating the angular App...');
|
|
328
328
|
let apiUrl = global.buildConfigObj.apiUrl && global.buildConfigObj.apiUrl.trim() !== "" ? global.buildConfigObj.apiUrl.trim() : "./";
|
|
329
329
|
console.log("API-Url - ", apiUrl, " - CDN-Url - ", deployUrl);
|
|
330
|
-
await generateCodegenAngularApp(sourceDir, appTarget, deployUrl, (global.buildConfigObj.pwa === 'true' ? true : false), codegenPath, global.buildConfigObj.csp === 'true', global.buildConfigObj.spa === 'true', apiUrl);
|
|
330
|
+
await generateCodegenAngularApp(sourceDir, appTarget, deployUrl, (global.buildConfigObj.pwa === 'true' ? true : false), codegenPath, global.buildConfigObj.csp === 'true', global.buildConfigObj.spa === 'true', apiUrl, global.buildConfigObj, baseDir);
|
|
331
331
|
console.log(MSG_CODEGEN_LOG + 'Angular app generated !');
|
|
332
332
|
} else {
|
|
333
333
|
console.log(MSG_CODEGEN_LOG + " : CODEGEN-CLI not found");
|
|
@@ -421,28 +421,25 @@ const initBuild = async (buildConfigObj) => {
|
|
|
421
421
|
let appTarget = buildConfigObj.appTarget;
|
|
422
422
|
|
|
423
423
|
let baseDir = buildConfigObj.optimizeUIBuild ? undefined : appTarget.split('/').slice(0, 2).join('/') + '/';
|
|
424
|
+
if (buildConfigObj.generateOverrideCSS) {
|
|
425
|
+
const { generateOverrideCSS } = require(CODEGEN_INSTALLATION + 'src/codegen-cli.js');
|
|
426
|
+
await generateOverrideCSS(buildConfigObj, sourceDir, baseDir);
|
|
427
|
+
}
|
|
424
428
|
if (buildConfigObj.generate_page) {
|
|
425
429
|
// To generate the angular app specific page
|
|
426
430
|
await generateAngularAppPage(sourceDir, appTarget, buildConfigObj.generate_page, CODEGEN_INSTALLATION);
|
|
427
431
|
} else if (buildConfigObj.generateAngularApp) {
|
|
428
432
|
// TO generate the angular app
|
|
429
433
|
console.log('Angular app generation mode');
|
|
430
|
-
await generateAngularApp(sourceDir, getNgBuildParams(), CODEGEN_INSTALLATION, appTarget);
|
|
434
|
+
await generateAngularApp(sourceDir, getNgBuildParams(), CODEGEN_INSTALLATION, appTarget, baseDir);
|
|
431
435
|
} else if (buildType === BUILD_TYPE.WM) {
|
|
432
436
|
buildAppInWMMode(sourceDir, baseDir);
|
|
433
437
|
} else if (buildType === BUILD_TYPE.ANGULAR) {
|
|
434
|
-
|
|
435
|
-
await generateAngularApp(sourceDir, getNgBuildParams(), CODEGEN_INSTALLATION, appTarget);
|
|
436
|
-
}
|
|
438
|
+
await generateAngularApp(sourceDir, getNgBuildParams(), CODEGEN_INSTALLATION, appTarget, baseDir);
|
|
437
439
|
|
|
438
440
|
//pre - run the custom for this project
|
|
439
441
|
await global.buildConfigObj.hooks.preBuildHook();
|
|
440
442
|
|
|
441
|
-
if(!isWebComponentBuild) {
|
|
442
|
-
const { generateOverrideCSS } = require(CODEGEN_INSTALLATION + 'src/codegen-cli.js');
|
|
443
|
-
await generateOverrideCSS(buildConfigObj, sourceDir, baseDir);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
443
|
let angularBuildConfig = {
|
|
447
444
|
sourceDir: sourceDir,
|
|
448
445
|
appTarget: appTarget,
|
|
@@ -16930,7 +16930,7 @@ class _ParseAST {
|
|
|
16930
16930
|
}
|
|
16931
16931
|
else if (this.next.isKeywordUndefined()) {
|
|
16932
16932
|
this.advance();
|
|
16933
|
-
return new LiteralPrimitive(this.span(start), this.sourceSpan(start),
|
|
16933
|
+
return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
|
|
16934
16934
|
}
|
|
16935
16935
|
else if (this.next.isKeywordTrue()) {
|
|
16936
16936
|
this.advance();
|
|
@@ -46475,9 +46475,9 @@ if (symIterator) {
|
|
|
46475
46475
|
lodash.prototype[symIterator] = seq.toIterator;
|
|
46476
46476
|
}
|
|
46477
46477
|
|
|
46478
|
-
const isDef = v => v !==
|
|
46479
|
-
const ifDef = (v, d) => v ===
|
|
46480
|
-
const plus = (a, b) =>
|
|
46478
|
+
const isDef = v => v !== void 0;
|
|
46479
|
+
const ifDef = (v, d) => v === void 0 ? d : v;
|
|
46480
|
+
const plus = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
46481
46481
|
const minus = (a, b) => ifDef(a, 0) - ifDef(b, 0);
|
|
46482
46482
|
const noop = () => { };
|
|
46483
46483
|
const exprFnCache = new Map();
|
|
@@ -1577,7 +1577,7 @@ var subscribeToIterable$1 = function (iterable) {
|
|
|
1577
1577
|
return function (subscriber) {
|
|
1578
1578
|
var iterator = iterable[iterator$1]();
|
|
1579
1579
|
do {
|
|
1580
|
-
var item =
|
|
1580
|
+
var item = void 0;
|
|
1581
1581
|
try {
|
|
1582
1582
|
item = iterator.next();
|
|
1583
1583
|
}
|
|
@@ -1650,7 +1650,7 @@ var subscribeTo$1 = function (result) {
|
|
|
1650
1650
|
|
|
1651
1651
|
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
|
|
1652
1652
|
function subscribeToResult$1(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
|
|
1653
|
-
if (innerSubscriber ===
|
|
1653
|
+
if (innerSubscriber === void 0) {
|
|
1654
1654
|
innerSubscriber = new InnerSubscriber$1(outerSubscriber, outerValue, outerIndex);
|
|
1655
1655
|
}
|
|
1656
1656
|
if (innerSubscriber.closed) {
|
|
@@ -1674,7 +1674,7 @@ function from$1(input, scheduler) {
|
|
|
1674
1674
|
|
|
1675
1675
|
/** PURE_IMPORTS_START tslib,_util_subscribeToResult,_OuterSubscriber,_InnerSubscriber,_map,_observable_from PURE_IMPORTS_END */
|
|
1676
1676
|
function mergeMap$1(project, resultSelector, concurrent) {
|
|
1677
|
-
if (concurrent ===
|
|
1677
|
+
if (concurrent === void 0) {
|
|
1678
1678
|
concurrent = Number.POSITIVE_INFINITY;
|
|
1679
1679
|
}
|
|
1680
1680
|
if (typeof resultSelector === 'function') {
|
|
@@ -1687,7 +1687,7 @@ function mergeMap$1(project, resultSelector, concurrent) {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
var MergeMapOperator$1 = /*@__PURE__*/ (function () {
|
|
1689
1689
|
function MergeMapOperator(project, concurrent) {
|
|
1690
|
-
if (concurrent ===
|
|
1690
|
+
if (concurrent === void 0) {
|
|
1691
1691
|
concurrent = Number.POSITIVE_INFINITY;
|
|
1692
1692
|
}
|
|
1693
1693
|
this.project = project;
|
|
@@ -1701,7 +1701,7 @@ var MergeMapOperator$1 = /*@__PURE__*/ (function () {
|
|
|
1701
1701
|
var MergeMapSubscriber$1 = /*@__PURE__*/ (function (_super) {
|
|
1702
1702
|
__extends$1(MergeMapSubscriber, _super);
|
|
1703
1703
|
function MergeMapSubscriber(destination, project, concurrent) {
|
|
1704
|
-
if (concurrent ===
|
|
1704
|
+
if (concurrent === void 0) {
|
|
1705
1705
|
concurrent = Number.POSITIVE_INFINITY;
|
|
1706
1706
|
}
|
|
1707
1707
|
var _this = _super.call(this, destination) || this;
|
|
@@ -1815,7 +1815,7 @@ function concatMap$1(project, resultSelector) {
|
|
|
1815
1815
|
|
|
1816
1816
|
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
|
1817
1817
|
function defaultIfEmpty$1(defaultValue) {
|
|
1818
|
-
if (defaultValue ===
|
|
1818
|
+
if (defaultValue === void 0) {
|
|
1819
1819
|
defaultValue = null;
|
|
1820
1820
|
}
|
|
1821
1821
|
return function (source) { return source.lift(new DefaultIfEmptyOperator$1(defaultValue)); };
|
|
@@ -1852,7 +1852,7 @@ var DefaultIfEmptySubscriber$1 = /*@__PURE__*/ (function (_super) {
|
|
|
1852
1852
|
|
|
1853
1853
|
/** PURE_IMPORTS_START tslib,_util_EmptyError,_Subscriber PURE_IMPORTS_END */
|
|
1854
1854
|
function throwIfEmpty$1(errorFactory) {
|
|
1855
|
-
if (errorFactory ===
|
|
1855
|
+
if (errorFactory === void 0) {
|
|
1856
1856
|
errorFactory = defaultErrorFactory$1;
|
|
1857
1857
|
}
|
|
1858
1858
|
return function (source) {
|
|
@@ -1882,7 +1882,7 @@ var ThrowIfEmptySubscriber$1 = /*@__PURE__*/ (function (_super) {
|
|
|
1882
1882
|
};
|
|
1883
1883
|
ThrowIfEmptySubscriber.prototype._complete = function () {
|
|
1884
1884
|
if (!this.hasValue) {
|
|
1885
|
-
var err =
|
|
1885
|
+
var err = void 0;
|
|
1886
1886
|
try {
|
|
1887
1887
|
err = this.errorFactory();
|
|
1888
1888
|
}
|
|
@@ -35963,7 +35963,7 @@ function whenStable$1(applicationRef) {
|
|
|
35963
35963
|
const whenStablePromise = applicationRef.isStable
|
|
35964
35964
|
.pipe(first$1((isStable) => isStable))
|
|
35965
35965
|
.toPromise()
|
|
35966
|
-
.then(() =>
|
|
35966
|
+
.then(() => void 0);
|
|
35967
35967
|
whenStableStore$1.set(applicationRef, whenStablePromise);
|
|
35968
35968
|
// Be a good citizen and clean the store `onDestroy` even though we are using `WeakMap`.
|
|
35969
35969
|
applicationRef.onDestroy(() => whenStableStore$1?.delete(applicationRef));
|
|
@@ -49758,7 +49758,7 @@ var subscribeToIterable = function (iterable) {
|
|
|
49758
49758
|
return function (subscriber) {
|
|
49759
49759
|
var iterator$1 = iterable[iterator]();
|
|
49760
49760
|
do {
|
|
49761
|
-
var item =
|
|
49761
|
+
var item = void 0;
|
|
49762
49762
|
try {
|
|
49763
49763
|
item = iterator$1.next();
|
|
49764
49764
|
}
|
|
@@ -49831,7 +49831,7 @@ var subscribeTo = function (result) {
|
|
|
49831
49831
|
|
|
49832
49832
|
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
|
|
49833
49833
|
function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
|
|
49834
|
-
if (innerSubscriber ===
|
|
49834
|
+
if (innerSubscriber === void 0) {
|
|
49835
49835
|
innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex);
|
|
49836
49836
|
}
|
|
49837
49837
|
if (innerSubscriber.closed) {
|
|
@@ -49859,7 +49859,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
49859
49859
|
}
|
|
49860
49860
|
var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
49861
49861
|
function MergeMapOperator(project, concurrent) {
|
|
49862
|
-
if (concurrent ===
|
|
49862
|
+
if (concurrent === void 0) {
|
|
49863
49863
|
concurrent = Number.POSITIVE_INFINITY;
|
|
49864
49864
|
}
|
|
49865
49865
|
this.project = project;
|
|
@@ -49873,7 +49873,7 @@ var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
|
49873
49873
|
var MergeMapSubscriber = /*@__PURE__*/ (function (_super) {
|
|
49874
49874
|
__extends(MergeMapSubscriber, _super);
|
|
49875
49875
|
function MergeMapSubscriber(destination, project, concurrent) {
|
|
49876
|
-
if (concurrent ===
|
|
49876
|
+
if (concurrent === void 0) {
|
|
49877
49877
|
concurrent = Number.POSITIVE_INFINITY;
|
|
49878
49878
|
}
|
|
49879
49879
|
var _this = _super.call(this, destination) || this;
|
|
@@ -49987,7 +49987,7 @@ function concatMap(project, resultSelector) {
|
|
|
49987
49987
|
|
|
49988
49988
|
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
|
49989
49989
|
function defaultIfEmpty(defaultValue) {
|
|
49990
|
-
if (defaultValue ===
|
|
49990
|
+
if (defaultValue === void 0) {
|
|
49991
49991
|
defaultValue = null;
|
|
49992
49992
|
}
|
|
49993
49993
|
return function (source) { return source.lift(new DefaultIfEmptyOperator(defaultValue)); };
|
|
@@ -50024,7 +50024,7 @@ var DefaultIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
50024
50024
|
|
|
50025
50025
|
/** PURE_IMPORTS_START tslib,_util_EmptyError,_Subscriber PURE_IMPORTS_END */
|
|
50026
50026
|
function throwIfEmpty(errorFactory) {
|
|
50027
|
-
if (errorFactory ===
|
|
50027
|
+
if (errorFactory === void 0) {
|
|
50028
50028
|
errorFactory = defaultErrorFactory;
|
|
50029
50029
|
}
|
|
50030
50030
|
return function (source) {
|
|
@@ -50054,7 +50054,7 @@ var ThrowIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
50054
50054
|
};
|
|
50055
50055
|
ThrowIfEmptySubscriber.prototype._complete = function () {
|
|
50056
50056
|
if (!this.hasValue) {
|
|
50057
|
-
var err =
|
|
50057
|
+
var err = void 0;
|
|
50058
50058
|
try {
|
|
50059
50059
|
err = this.errorFactory();
|
|
50060
50060
|
}
|
|
@@ -84135,7 +84135,7 @@ function whenStable(applicationRef) {
|
|
|
84135
84135
|
const whenStablePromise = applicationRef.isStable
|
|
84136
84136
|
.pipe(first((isStable) => isStable))
|
|
84137
84137
|
.toPromise()
|
|
84138
|
-
.then(() =>
|
|
84138
|
+
.then(() => void 0);
|
|
84139
84139
|
whenStableStore.set(applicationRef, whenStablePromise);
|
|
84140
84140
|
// Be a good citizen and clean the store `onDestroy` even though we are using `WeakMap`.
|
|
84141
84141
|
applicationRef.onDestroy(() => whenStableStore?.delete(applicationRef));
|
|
@@ -113283,7 +113283,7 @@ let _ParseAST$1 = class _ParseAST {
|
|
|
113283
113283
|
}
|
|
113284
113284
|
else if (this.next.isKeywordUndefined()) {
|
|
113285
113285
|
this.advance();
|
|
113286
|
-
return new LiteralPrimitive$1(this.span(start), this.sourceSpan(start),
|
|
113286
|
+
return new LiteralPrimitive$1(this.span(start), this.sourceSpan(start), void 0);
|
|
113287
113287
|
}
|
|
113288
113288
|
else if (this.next.isKeywordTrue()) {
|
|
113289
113289
|
this.advance();
|
|
@@ -146723,9 +146723,9 @@ let IDGenerator$1 = class IDGenerator {
|
|
|
146723
146723
|
}
|
|
146724
146724
|
};
|
|
146725
146725
|
|
|
146726
|
-
const isDef$1 = v => v !==
|
|
146727
|
-
const ifDef$1 = (v, d) => v ===
|
|
146728
|
-
const plus$1 = (a, b) =>
|
|
146726
|
+
const isDef$1 = v => v !== void 0;
|
|
146727
|
+
const ifDef$1 = (v, d) => v === void 0 ? d : v;
|
|
146728
|
+
const plus$1 = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
146729
146729
|
const minus$1 = (a, b) => ifDef$1(a, 0) - ifDef$1(b, 0);
|
|
146730
146730
|
const noop$1$1 = () => { };
|
|
146731
146731
|
const eventFnCache$1 = new Map();
|
|
@@ -169169,7 +169169,7 @@ class _ParseAST {
|
|
|
169169
169169
|
}
|
|
169170
169170
|
else if (this.next.isKeywordUndefined()) {
|
|
169171
169171
|
this.advance();
|
|
169172
|
-
return new LiteralPrimitive(this.span(start), this.sourceSpan(start),
|
|
169172
|
+
return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
|
|
169173
169173
|
}
|
|
169174
169174
|
else if (this.next.isKeywordTrue()) {
|
|
169175
169175
|
this.advance();
|
|
@@ -201546,9 +201546,9 @@ class IDGenerator {
|
|
|
201546
201546
|
}
|
|
201547
201547
|
}
|
|
201548
201548
|
|
|
201549
|
-
const isDef = v => v !==
|
|
201550
|
-
const ifDef = (v, d) => v ===
|
|
201551
|
-
const plus = (a, b) =>
|
|
201549
|
+
const isDef = v => v !== void 0;
|
|
201550
|
+
const ifDef = (v, d) => v === void 0 ? d : v;
|
|
201551
|
+
const plus = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
201552
201552
|
const minus = (a, b) => ifDef(a, 0) - ifDef(b, 0);
|
|
201553
201553
|
const noop$1 = () => { };
|
|
201554
201554
|
const eventFnCache = new Map();
|
|
@@ -16930,7 +16930,7 @@ class _ParseAST {
|
|
|
16930
16930
|
}
|
|
16931
16931
|
else if (this.next.isKeywordUndefined()) {
|
|
16932
16932
|
this.advance();
|
|
16933
|
-
return new LiteralPrimitive(this.span(start), this.sourceSpan(start),
|
|
16933
|
+
return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
|
|
16934
16934
|
}
|
|
16935
16935
|
else if (this.next.isKeywordTrue()) {
|
|
16936
16936
|
this.advance();
|
|
@@ -36329,7 +36329,7 @@ var subscribeToIterable = function (iterable) {
|
|
|
36329
36329
|
return function (subscriber) {
|
|
36330
36330
|
var iterator$1 = iterable[iterator]();
|
|
36331
36331
|
do {
|
|
36332
|
-
var item =
|
|
36332
|
+
var item = void 0;
|
|
36333
36333
|
try {
|
|
36334
36334
|
item = iterator$1.next();
|
|
36335
36335
|
}
|
|
@@ -36402,7 +36402,7 @@ var subscribeTo = function (result) {
|
|
|
36402
36402
|
|
|
36403
36403
|
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
|
|
36404
36404
|
function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
|
|
36405
|
-
if (innerSubscriber ===
|
|
36405
|
+
if (innerSubscriber === void 0) {
|
|
36406
36406
|
innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex);
|
|
36407
36407
|
}
|
|
36408
36408
|
if (innerSubscriber.closed) {
|
|
@@ -36426,7 +36426,7 @@ function from(input, scheduler) {
|
|
|
36426
36426
|
|
|
36427
36427
|
/** PURE_IMPORTS_START tslib,_util_subscribeToResult,_OuterSubscriber,_InnerSubscriber,_map,_observable_from PURE_IMPORTS_END */
|
|
36428
36428
|
function mergeMap(project, resultSelector, concurrent) {
|
|
36429
|
-
if (concurrent ===
|
|
36429
|
+
if (concurrent === void 0) {
|
|
36430
36430
|
concurrent = Number.POSITIVE_INFINITY;
|
|
36431
36431
|
}
|
|
36432
36432
|
if (typeof resultSelector === 'function') {
|
|
@@ -36439,7 +36439,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
36439
36439
|
}
|
|
36440
36440
|
var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
36441
36441
|
function MergeMapOperator(project, concurrent) {
|
|
36442
|
-
if (concurrent ===
|
|
36442
|
+
if (concurrent === void 0) {
|
|
36443
36443
|
concurrent = Number.POSITIVE_INFINITY;
|
|
36444
36444
|
}
|
|
36445
36445
|
this.project = project;
|
|
@@ -36453,7 +36453,7 @@ var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
|
36453
36453
|
var MergeMapSubscriber = /*@__PURE__*/ (function (_super) {
|
|
36454
36454
|
__extends(MergeMapSubscriber, _super);
|
|
36455
36455
|
function MergeMapSubscriber(destination, project, concurrent) {
|
|
36456
|
-
if (concurrent ===
|
|
36456
|
+
if (concurrent === void 0) {
|
|
36457
36457
|
concurrent = Number.POSITIVE_INFINITY;
|
|
36458
36458
|
}
|
|
36459
36459
|
var _this = _super.call(this, destination) || this;
|
|
@@ -37101,7 +37101,7 @@ function concatMap(project, resultSelector) {
|
|
|
37101
37101
|
|
|
37102
37102
|
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
|
37103
37103
|
function defaultIfEmpty(defaultValue) {
|
|
37104
|
-
if (defaultValue ===
|
|
37104
|
+
if (defaultValue === void 0) {
|
|
37105
37105
|
defaultValue = null;
|
|
37106
37106
|
}
|
|
37107
37107
|
return function (source) { return source.lift(new DefaultIfEmptyOperator(defaultValue)); };
|
|
@@ -37138,7 +37138,7 @@ var DefaultIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
37138
37138
|
|
|
37139
37139
|
/** PURE_IMPORTS_START tslib,_util_EmptyError,_Subscriber PURE_IMPORTS_END */
|
|
37140
37140
|
function throwIfEmpty(errorFactory) {
|
|
37141
|
-
if (errorFactory ===
|
|
37141
|
+
if (errorFactory === void 0) {
|
|
37142
37142
|
errorFactory = defaultErrorFactory;
|
|
37143
37143
|
}
|
|
37144
37144
|
return function (source) {
|
|
@@ -37168,7 +37168,7 @@ var ThrowIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
37168
37168
|
};
|
|
37169
37169
|
ThrowIfEmptySubscriber.prototype._complete = function () {
|
|
37170
37170
|
if (!this.hasValue) {
|
|
37171
|
-
var err =
|
|
37171
|
+
var err = void 0;
|
|
37172
37172
|
try {
|
|
37173
37173
|
err = this.errorFactory();
|
|
37174
37174
|
}
|
|
@@ -71249,7 +71249,7 @@ function whenStable(applicationRef) {
|
|
|
71249
71249
|
const whenStablePromise = applicationRef.isStable
|
|
71250
71250
|
.pipe(first((isStable) => isStable))
|
|
71251
71251
|
.toPromise()
|
|
71252
|
-
.then(() =>
|
|
71252
|
+
.then(() => void 0);
|
|
71253
71253
|
whenStableStore.set(applicationRef, whenStablePromise);
|
|
71254
71254
|
// Be a good citizen and clean the store `onDestroy` even though we are using `WeakMap`.
|
|
71255
71255
|
applicationRef.onDestroy(() => whenStableStore?.delete(applicationRef));
|
|
@@ -86551,9 +86551,9 @@ class IDGenerator {
|
|
|
86551
86551
|
}
|
|
86552
86552
|
}
|
|
86553
86553
|
|
|
86554
|
-
const isDef = v => v !==
|
|
86555
|
-
const ifDef = (v, d) => v ===
|
|
86556
|
-
const plus = (a, b) =>
|
|
86554
|
+
const isDef = v => v !== void 0;
|
|
86555
|
+
const ifDef = (v, d) => v === void 0 ? d : v;
|
|
86556
|
+
const plus = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
86557
86557
|
const minus = (a, b) => ifDef(a, 0) - ifDef(b, 0);
|
|
86558
86558
|
const noop$1 = () => { };
|
|
86559
86559
|
const eventFnCache = new Map();
|
|
@@ -93159,9 +93159,10 @@ const tagName$7 = 'div';
|
|
|
93159
93159
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
93160
93160
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
93161
93161
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
93162
|
-
const title = attrs.get('
|
|
93162
|
+
const title = attrs.get('expandtitle') || attrs.get('display-name') || 'Collapse/Expand';
|
|
93163
93163
|
return `<ng-template #rowExpansionActionTmpl let-row="row">
|
|
93164
93164
|
<${tag} ${directive}
|
|
93165
|
+
title="${title}"
|
|
93165
93166
|
${getRowActionAttrs(attrs)}
|
|
93166
93167
|
class="${attrs.get('class')} row-expansion-button"
|
|
93167
93168
|
iconclass="${attrs.get('collapseicon')}"
|
|
@@ -16930,7 +16930,7 @@ class _ParseAST {
|
|
|
16930
16930
|
}
|
|
16931
16931
|
else if (this.next.isKeywordUndefined()) {
|
|
16932
16932
|
this.advance();
|
|
16933
|
-
return new LiteralPrimitive(this.span(start), this.sourceSpan(start),
|
|
16933
|
+
return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
|
|
16934
16934
|
}
|
|
16935
16935
|
else if (this.next.isKeywordTrue()) {
|
|
16936
16936
|
this.advance();
|
|
@@ -47518,7 +47518,7 @@ var subscribeToIterable = function (iterable) {
|
|
|
47518
47518
|
return function (subscriber) {
|
|
47519
47519
|
var iterator$1 = iterable[iterator]();
|
|
47520
47520
|
do {
|
|
47521
|
-
var item =
|
|
47521
|
+
var item = void 0;
|
|
47522
47522
|
try {
|
|
47523
47523
|
item = iterator$1.next();
|
|
47524
47524
|
}
|
|
@@ -47591,7 +47591,7 @@ var subscribeTo = function (result) {
|
|
|
47591
47591
|
|
|
47592
47592
|
/** PURE_IMPORTS_START _InnerSubscriber,_subscribeTo,_Observable PURE_IMPORTS_END */
|
|
47593
47593
|
function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber) {
|
|
47594
|
-
if (innerSubscriber ===
|
|
47594
|
+
if (innerSubscriber === void 0) {
|
|
47595
47595
|
innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex);
|
|
47596
47596
|
}
|
|
47597
47597
|
if (innerSubscriber.closed) {
|
|
@@ -47615,7 +47615,7 @@ function from(input, scheduler) {
|
|
|
47615
47615
|
|
|
47616
47616
|
/** PURE_IMPORTS_START tslib,_util_subscribeToResult,_OuterSubscriber,_InnerSubscriber,_map,_observable_from PURE_IMPORTS_END */
|
|
47617
47617
|
function mergeMap(project, resultSelector, concurrent) {
|
|
47618
|
-
if (concurrent ===
|
|
47618
|
+
if (concurrent === void 0) {
|
|
47619
47619
|
concurrent = Number.POSITIVE_INFINITY;
|
|
47620
47620
|
}
|
|
47621
47621
|
if (typeof resultSelector === 'function') {
|
|
@@ -47628,7 +47628,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
47628
47628
|
}
|
|
47629
47629
|
var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
47630
47630
|
function MergeMapOperator(project, concurrent) {
|
|
47631
|
-
if (concurrent ===
|
|
47631
|
+
if (concurrent === void 0) {
|
|
47632
47632
|
concurrent = Number.POSITIVE_INFINITY;
|
|
47633
47633
|
}
|
|
47634
47634
|
this.project = project;
|
|
@@ -47642,7 +47642,7 @@ var MergeMapOperator = /*@__PURE__*/ (function () {
|
|
|
47642
47642
|
var MergeMapSubscriber = /*@__PURE__*/ (function (_super) {
|
|
47643
47643
|
__extends(MergeMapSubscriber, _super);
|
|
47644
47644
|
function MergeMapSubscriber(destination, project, concurrent) {
|
|
47645
|
-
if (concurrent ===
|
|
47645
|
+
if (concurrent === void 0) {
|
|
47646
47646
|
concurrent = Number.POSITIVE_INFINITY;
|
|
47647
47647
|
}
|
|
47648
47648
|
var _this = _super.call(this, destination) || this;
|
|
@@ -48290,7 +48290,7 @@ function concatMap(project, resultSelector) {
|
|
|
48290
48290
|
|
|
48291
48291
|
/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */
|
|
48292
48292
|
function defaultIfEmpty(defaultValue) {
|
|
48293
|
-
if (defaultValue ===
|
|
48293
|
+
if (defaultValue === void 0) {
|
|
48294
48294
|
defaultValue = null;
|
|
48295
48295
|
}
|
|
48296
48296
|
return function (source) { return source.lift(new DefaultIfEmptyOperator(defaultValue)); };
|
|
@@ -48327,7 +48327,7 @@ var DefaultIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
48327
48327
|
|
|
48328
48328
|
/** PURE_IMPORTS_START tslib,_util_EmptyError,_Subscriber PURE_IMPORTS_END */
|
|
48329
48329
|
function throwIfEmpty(errorFactory) {
|
|
48330
|
-
if (errorFactory ===
|
|
48330
|
+
if (errorFactory === void 0) {
|
|
48331
48331
|
errorFactory = defaultErrorFactory;
|
|
48332
48332
|
}
|
|
48333
48333
|
return function (source) {
|
|
@@ -48357,7 +48357,7 @@ var ThrowIfEmptySubscriber = /*@__PURE__*/ (function (_super) {
|
|
|
48357
48357
|
};
|
|
48358
48358
|
ThrowIfEmptySubscriber.prototype._complete = function () {
|
|
48359
48359
|
if (!this.hasValue) {
|
|
48360
|
-
var err =
|
|
48360
|
+
var err = void 0;
|
|
48361
48361
|
try {
|
|
48362
48362
|
err = this.errorFactory();
|
|
48363
48363
|
}
|
|
@@ -82438,7 +82438,7 @@ function whenStable(applicationRef) {
|
|
|
82438
82438
|
const whenStablePromise = applicationRef.isStable
|
|
82439
82439
|
.pipe(first((isStable) => isStable))
|
|
82440
82440
|
.toPromise()
|
|
82441
|
-
.then(() =>
|
|
82441
|
+
.then(() => void 0);
|
|
82442
82442
|
whenStableStore.set(applicationRef, whenStablePromise);
|
|
82443
82443
|
// Be a good citizen and clean the store `onDestroy` even though we are using `WeakMap`.
|
|
82444
82444
|
applicationRef.onDestroy(() => whenStableStore?.delete(applicationRef));
|
|
@@ -97740,9 +97740,9 @@ class IDGenerator {
|
|
|
97740
97740
|
}
|
|
97741
97741
|
}
|
|
97742
97742
|
|
|
97743
|
-
const isDef = v => v !==
|
|
97744
|
-
const ifDef = (v, d) => v ===
|
|
97745
|
-
const plus = (a, b) =>
|
|
97743
|
+
const isDef = v => v !== void 0;
|
|
97744
|
+
const ifDef = (v, d) => v === void 0 ? d : v;
|
|
97745
|
+
const plus = (a, b) => void 0 === a ? b : void 0 === b ? a : a + b;
|
|
97746
97746
|
const minus = (a, b) => ifDef(a, 0) - ifDef(b, 0);
|
|
97747
97747
|
const noop$1 = () => { };
|
|
97748
97748
|
const eventFnCache = new Map();
|
|
@@ -104348,9 +104348,10 @@ const tagName$7 = 'div';
|
|
|
104348
104348
|
const getRowExpansionActionTmpl = (attrs) => {
|
|
104349
104349
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
104350
104350
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
104351
|
-
const title = attrs.get('
|
|
104351
|
+
const title = attrs.get('expandtitle') || attrs.get('display-name') || 'Collapse/Expand';
|
|
104352
104352
|
return `<ng-template #rowExpansionActionTmpl let-row="row">
|
|
104353
104353
|
<${tag} ${directive}
|
|
104354
|
+
title="${title}"
|
|
104354
104355
|
${getRowActionAttrs(attrs)}
|
|
104355
104356
|
class="${attrs.get('class')} row-expansion-button"
|
|
104356
104357
|
iconclass="${attrs.get('collapseicon')}"
|