@wavemaker/angular-codegen 11.15.5-rc.267 → 11.15.5-rc.647813
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/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +437 -280
- package/angular-app/package-lock.json +437 -280
- package/angular-app/package.json +12 -14
- package/build-angular-app.js +2 -2
- package/dependencies/pipe-provider.cjs.js +8 -0
- package/dependencies/transpilation-web.cjs.js +7 -3
- package/npm-shrinkwrap.json +68 -68
- package/package-lock.json +68 -68
- package/package.json +2 -2
- package/src/gen-app-skeleton.js +1 -1
- package/src/wm-utils.js +1 -1
package/package-lock.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/angular-codegen",
|
|
3
|
-
"version": "11.15.5-rc.
|
|
3
|
+
"version": "11.15.5-rc.647813",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/angular-codegen",
|
|
9
|
-
"version": "11.15.5-rc.
|
|
9
|
+
"version": "11.15.5-rc.647813",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@wavemaker/angular-app": "11.15.5-rc.
|
|
12
|
+
"@wavemaker/angular-app": "11.15.5-rc.647813",
|
|
13
13
|
"archiver": "^7.0.1",
|
|
14
14
|
"cheerio": "1.0.0-rc.12",
|
|
15
15
|
"decode-uri-component": "^0.2.0",
|
|
@@ -378,13 +378,13 @@
|
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
"node_modules/@babel/helpers": {
|
|
381
|
-
"version": "7.29.
|
|
382
|
-
"integrity": "sha512-
|
|
381
|
+
"version": "7.29.10",
|
|
382
|
+
"integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==",
|
|
383
383
|
"dev": true,
|
|
384
384
|
"license": "MIT",
|
|
385
385
|
"dependencies": {
|
|
386
386
|
"@babel/template": "^7.29.7",
|
|
387
|
-
"@babel/types": "^7.29.
|
|
387
|
+
"@babel/types": "^7.29.8"
|
|
388
388
|
},
|
|
389
389
|
"engines": {
|
|
390
390
|
"node": ">=6.9.0"
|
|
@@ -613,8 +613,8 @@
|
|
|
613
613
|
}
|
|
614
614
|
},
|
|
615
615
|
"node_modules/@babel/runtime-corejs3": {
|
|
616
|
-
"version": "7.29.
|
|
617
|
-
"integrity": "sha512-
|
|
616
|
+
"version": "7.29.10",
|
|
617
|
+
"integrity": "sha512-R4FKrg4Vy0hB7PfAxf9LOorEPd5/36SCIXPXAvjlQaQmPvtrjwoDXV15jsSm2ecsqBW1Iewwb7mEnG83xIEApg==",
|
|
618
618
|
"license": "MIT",
|
|
619
619
|
"dependencies": {
|
|
620
620
|
"core-js-pure": "^3.48.0"
|
|
@@ -638,15 +638,15 @@
|
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
640
|
"node_modules/@babel/traverse": {
|
|
641
|
-
"version": "7.29.
|
|
642
|
-
"integrity": "sha512-
|
|
641
|
+
"version": "7.29.10",
|
|
642
|
+
"integrity": "sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==",
|
|
643
643
|
"dev": true,
|
|
644
644
|
"license": "MIT",
|
|
645
645
|
"dependencies": {
|
|
646
646
|
"@babel/code-frame": "^7.29.7",
|
|
647
647
|
"@babel/generator": "^7.29.8",
|
|
648
648
|
"@babel/helper-globals": "^7.29.7",
|
|
649
|
-
"@babel/parser": "^7.29.
|
|
649
|
+
"@babel/parser": "^7.29.9",
|
|
650
650
|
"@babel/template": "^7.29.7",
|
|
651
651
|
"@babel/types": "^7.29.8",
|
|
652
652
|
"debug": "^4.3.1"
|
|
@@ -1215,8 +1215,8 @@
|
|
|
1215
1215
|
}
|
|
1216
1216
|
},
|
|
1217
1217
|
"node_modules/@rollup/rollup-darwin-arm64": {
|
|
1218
|
-
"version": "4.
|
|
1219
|
-
"integrity": "sha512-
|
|
1218
|
+
"version": "4.46.2",
|
|
1219
|
+
"integrity": "sha512-HV7bW2Fb/F5KPdM/9bApunQh68YVDU8sO8BvcW9OngQVN3HHHkw99wFupuUJfGR9pYLLAjcAOA6iO+evsbBaPQ==",
|
|
1220
1220
|
"cpu": [
|
|
1221
1221
|
"arm64"
|
|
1222
1222
|
],
|
|
@@ -1227,8 +1227,8 @@
|
|
|
1227
1227
|
]
|
|
1228
1228
|
},
|
|
1229
1229
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
|
1230
|
-
"version": "4.
|
|
1231
|
-
"integrity": "sha512-
|
|
1230
|
+
"version": "4.46.2",
|
|
1231
|
+
"integrity": "sha512-Jj5a9RUoe5ra+MEyERkDKLwTXVu6s3aACP51nkfnK9wJTraCC8IMe3snOfALkrjTYd2G1ViE1hICj0fZ7ALBPA==",
|
|
1232
1232
|
"cpu": [
|
|
1233
1233
|
"x64"
|
|
1234
1234
|
],
|
|
@@ -1340,8 +1340,8 @@
|
|
|
1340
1340
|
}
|
|
1341
1341
|
},
|
|
1342
1342
|
"node_modules/@types/node": {
|
|
1343
|
-
"version": "26.6.
|
|
1344
|
-
"integrity": "sha512-
|
|
1343
|
+
"version": "26.6.5",
|
|
1344
|
+
"integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==",
|
|
1345
1345
|
"dev": true,
|
|
1346
1346
|
"license": "MIT",
|
|
1347
1347
|
"dependencies": {
|
|
@@ -1376,8 +1376,8 @@
|
|
|
1376
1376
|
"license": "MIT"
|
|
1377
1377
|
},
|
|
1378
1378
|
"node_modules/@wavemaker/angular-app": {
|
|
1379
|
-
"version": "11.15.5-rc.
|
|
1380
|
-
"integrity": "sha512-
|
|
1379
|
+
"version": "11.15.5-rc.647813",
|
|
1380
|
+
"integrity": "sha512-wmThHc88S6H0P0FrYoJZgh3YrdHX0O+z4qUf2/K8WNJ6FA918nuW5VZlxXIDuujeQT/hRgaNVEkb976MkR/0lw==",
|
|
1381
1381
|
"dependencies": {
|
|
1382
1382
|
"@angular/animations": "18.2.13",
|
|
1383
1383
|
"@angular/common": "18.2.13",
|
|
@@ -1394,12 +1394,12 @@
|
|
|
1394
1394
|
"@fullcalendar/list": "6.1.18",
|
|
1395
1395
|
"@fullcalendar/timegrid": "6.1.18",
|
|
1396
1396
|
"@metrichor/jmespath": "0.3.1",
|
|
1397
|
-
"@wavemaker/app-ng-runtime": "11.15.5-rc.
|
|
1398
|
-
"@wavemaker/custom-widgets-m3": "11.15.5-rc.
|
|
1397
|
+
"@wavemaker/app-ng-runtime": "11.15.5-rc.647813",
|
|
1398
|
+
"@wavemaker/custom-widgets-m3": "11.15.5-rc.647813",
|
|
1399
1399
|
"@wavemaker/focus-trap": "1.0.1",
|
|
1400
|
-
"@wavemaker/foundation-css": "11.15.5-rc.
|
|
1400
|
+
"@wavemaker/foundation-css": "11.15.5-rc.647813",
|
|
1401
1401
|
"@wavemaker/nvd3": "1.8.16",
|
|
1402
|
-
"@wavemaker/variables": "11.15.5-rc.
|
|
1402
|
+
"@wavemaker/variables": "11.15.5-rc.647813",
|
|
1403
1403
|
"@ztree/ztree_v3": "3.5.48",
|
|
1404
1404
|
"acorn": "^8.15.0",
|
|
1405
1405
|
"angular-imask": "7.6.1",
|
|
@@ -1428,14 +1428,14 @@
|
|
|
1428
1428
|
},
|
|
1429
1429
|
"optionalDependencies": {
|
|
1430
1430
|
"@lmdb/lmdb-linux-x64": "3.4.2",
|
|
1431
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
1432
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
1433
|
-
"@rollup/rollup-win32-x64": "4.
|
|
1431
|
+
"@rollup/rollup-darwin-arm64": "4.46.2",
|
|
1432
|
+
"@rollup/rollup-linux-x64-gnu": "4.46.2",
|
|
1433
|
+
"@rollup/rollup-win32-x64": "4.9.5"
|
|
1434
1434
|
}
|
|
1435
1435
|
},
|
|
1436
1436
|
"node_modules/@wavemaker/app-ng-runtime": {
|
|
1437
|
-
"version": "11.15.5-rc.
|
|
1438
|
-
"integrity": "sha512
|
|
1437
|
+
"version": "11.15.5-rc.647813",
|
|
1438
|
+
"integrity": "sha512-d1MNl0KNvYbPw67WcWvs1wHsyo2FTp8/d04Tib8h88LJKw/jqQa/NODsxg9uLx8S6f/VbCJuMjEWHEOnGlUK1g==",
|
|
1439
1439
|
"license": "MIT",
|
|
1440
1440
|
"engines": {
|
|
1441
1441
|
"node": ">=18.16.1",
|
|
@@ -1443,8 +1443,8 @@
|
|
|
1443
1443
|
}
|
|
1444
1444
|
},
|
|
1445
1445
|
"node_modules/@wavemaker/custom-widgets-m3": {
|
|
1446
|
-
"version": "11.15.5-rc.
|
|
1447
|
-
"integrity": "sha512-
|
|
1446
|
+
"version": "11.15.5-rc.647813",
|
|
1447
|
+
"integrity": "sha512-6+tIxvaJvmxHPeac5cNTHK63ax9B/1OrDg1q64MOfnLZfql+wCypYpeKD7h6JHdM0y+ZG2tPSWjWr2uARqjEPw==",
|
|
1448
1448
|
"license": "ISC"
|
|
1449
1449
|
},
|
|
1450
1450
|
"node_modules/@wavemaker/focus-trap": {
|
|
@@ -1457,8 +1457,8 @@
|
|
|
1457
1457
|
}
|
|
1458
1458
|
},
|
|
1459
1459
|
"node_modules/@wavemaker/foundation-css": {
|
|
1460
|
-
"version": "11.15.5-rc.
|
|
1461
|
-
"integrity": "sha512-
|
|
1460
|
+
"version": "11.15.5-rc.647813",
|
|
1461
|
+
"integrity": "sha512-k59aepm4p6pVecA96iojqSGabcQcmbuONuPKAEZknO+XPpML61jjVmXotfnrtOFLokD6g1IrnAMS7zev8puP9Q==",
|
|
1462
1462
|
"license": "ISC",
|
|
1463
1463
|
"dependencies": {
|
|
1464
1464
|
"ajv": "8.17.1",
|
|
@@ -1474,13 +1474,13 @@
|
|
|
1474
1474
|
}
|
|
1475
1475
|
},
|
|
1476
1476
|
"node_modules/@wavemaker/variables": {
|
|
1477
|
-
"version": "11.15.5-rc.
|
|
1478
|
-
"integrity": "sha512-
|
|
1477
|
+
"version": "11.15.5-rc.647813",
|
|
1478
|
+
"integrity": "sha512-KxJP9hmzNKl/sF8y0I9hU6Sj5y0cAWapHixF0SlDsqHLiq3tiDPnED8HEQSjRZhekZmIRC6KgsSvrnSKRqRamA==",
|
|
1479
1479
|
"license": "ISC",
|
|
1480
1480
|
"dependencies": {
|
|
1481
1481
|
"@metrichor/jmespath": "^0.3.1",
|
|
1482
1482
|
"he": "^1.2.0",
|
|
1483
|
-
"lodash-es": "4.
|
|
1483
|
+
"lodash-es": "^4.17.21",
|
|
1484
1484
|
"moment": "^2.29.4",
|
|
1485
1485
|
"x2js": "^3.4.3"
|
|
1486
1486
|
}
|
|
@@ -1542,8 +1542,8 @@
|
|
|
1542
1542
|
}
|
|
1543
1543
|
},
|
|
1544
1544
|
"node_modules/acorn": {
|
|
1545
|
-
"version": "8.
|
|
1546
|
-
"integrity": "sha512-
|
|
1545
|
+
"version": "8.19.0",
|
|
1546
|
+
"integrity": "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==",
|
|
1547
1547
|
"license": "MIT",
|
|
1548
1548
|
"bin": {
|
|
1549
1549
|
"acorn": "bin/acorn"
|
|
@@ -1906,8 +1906,8 @@
|
|
|
1906
1906
|
}
|
|
1907
1907
|
},
|
|
1908
1908
|
"node_modules/bare-fs": {
|
|
1909
|
-
"version": "4.8.
|
|
1910
|
-
"integrity": "sha512
|
|
1909
|
+
"version": "4.8.4",
|
|
1910
|
+
"integrity": "sha512-MPC2eyrpbk3A873sK4y6rk+Iv4o2enxTjHZ8zH3HO0mjrpm5XjnguY2XmfidIsDV6vnjpbMBKUAJpV0ISD2SsQ==",
|
|
1911
1911
|
"license": "Apache-2.0",
|
|
1912
1912
|
"dependencies": {
|
|
1913
1913
|
"bare-events": "^2.5.4",
|
|
@@ -1960,8 +1960,8 @@
|
|
|
1960
1960
|
}
|
|
1961
1961
|
},
|
|
1962
1962
|
"node_modules/bare-url": {
|
|
1963
|
-
"version": "2.5.
|
|
1964
|
-
"integrity": "sha512-
|
|
1963
|
+
"version": "2.5.5",
|
|
1964
|
+
"integrity": "sha512-iM9qJCruvpt2rPaLsrumVDru9pogI7PHziHIa9kTNRFt8C8HuSa+kI9kFezK+NvHEFnnz71rKGZ1EAilq/3V/Q==",
|
|
1965
1965
|
"license": "Apache-2.0",
|
|
1966
1966
|
"dependencies": {
|
|
1967
1967
|
"bare-path": "^3.0.0"
|
|
@@ -1987,8 +1987,8 @@
|
|
|
1987
1987
|
"license": "MIT"
|
|
1988
1988
|
},
|
|
1989
1989
|
"node_modules/baseline-browser-mapping": {
|
|
1990
|
-
"version": "2.11.
|
|
1991
|
-
"integrity": "sha512-
|
|
1990
|
+
"version": "2.11.28",
|
|
1991
|
+
"integrity": "sha512-br0LOmjJqr6Rt4AEkadbcNf67Zpo7EPwKsWbjnRrJIa1QYFHQBqM4C7F2WTbV8ahTEcg1Eo+Y0aWjjORInYFyA==",
|
|
1992
1992
|
"dev": true,
|
|
1993
1993
|
"license": "Apache-2.0",
|
|
1994
1994
|
"bin": {
|
|
@@ -2138,10 +2138,10 @@
|
|
|
2138
2138
|
}
|
|
2139
2139
|
},
|
|
2140
2140
|
"node_modules/bser": {
|
|
2141
|
-
"version": "2.1.
|
|
2142
|
-
"integrity": "sha512-
|
|
2141
|
+
"version": "2.1.2",
|
|
2142
|
+
"integrity": "sha512-V2o8YS2EhrKMO9AumnkK0ynynfFlsajpYupwq7S46H5mhcanwxDkNTw3K67wPIcKTH1ffkA4vhMOtAc7gRmPZw==",
|
|
2143
2143
|
"dev": true,
|
|
2144
|
-
"license": "
|
|
2144
|
+
"license": "MIT",
|
|
2145
2145
|
"dependencies": {
|
|
2146
2146
|
"node-int64": "^0.4.0"
|
|
2147
2147
|
}
|
|
@@ -2271,8 +2271,8 @@
|
|
|
2271
2271
|
}
|
|
2272
2272
|
},
|
|
2273
2273
|
"node_modules/caniuse-lite": {
|
|
2274
|
-
"version": "1.0.
|
|
2275
|
-
"integrity": "sha512
|
|
2274
|
+
"version": "1.0.30001816",
|
|
2275
|
+
"integrity": "sha512-+8Yx7BXCoqk6IF8yTicjfUR6D/ldJzdlsodlEOiOSPmhK844WIgk67/zIQaGAOxNkZyyvBlrRFnLvqKIoqbAFw==",
|
|
2276
2276
|
"dev": true,
|
|
2277
2277
|
"funding": [
|
|
2278
2278
|
{
|
|
@@ -3347,8 +3347,8 @@
|
|
|
3347
3347
|
"license": "MIT"
|
|
3348
3348
|
},
|
|
3349
3349
|
"node_modules/electron-to-chromium": {
|
|
3350
|
-
"version": "1.5.
|
|
3351
|
-
"integrity": "sha512-
|
|
3350
|
+
"version": "1.5.456",
|
|
3351
|
+
"integrity": "sha512-8hboqI6xesozteFb8aa7OGknvxUtTeRJLz0FoePysUEh/oWbddykIGdgpEJRbPRg/nIMfBf2DFos+H2MtvJl2A==",
|
|
3352
3352
|
"dev": true,
|
|
3353
3353
|
"license": "ISC"
|
|
3354
3354
|
},
|
|
@@ -3698,12 +3698,12 @@
|
|
|
3698
3698
|
}
|
|
3699
3699
|
},
|
|
3700
3700
|
"node_modules/fb-watchman": {
|
|
3701
|
-
"version": "2.0.
|
|
3702
|
-
"integrity": "sha512-
|
|
3701
|
+
"version": "2.0.4",
|
|
3702
|
+
"integrity": "sha512-tGQtaoYisPDriJBN0mT5yZSyNETnJGA1gTYxaVRAE5KUO3LI9kPUc9WIu8JXcxaIci+faIKlzXqXyPgrmubtBQ==",
|
|
3703
3703
|
"dev": true,
|
|
3704
|
-
"license": "
|
|
3704
|
+
"license": "MIT",
|
|
3705
3705
|
"dependencies": {
|
|
3706
|
-
"bser": "2.1.
|
|
3706
|
+
"bser": "2.1.2"
|
|
3707
3707
|
}
|
|
3708
3708
|
},
|
|
3709
3709
|
"node_modules/fill-range": {
|
|
@@ -3948,11 +3948,11 @@
|
|
|
3948
3948
|
"license": "ISC"
|
|
3949
3949
|
},
|
|
3950
3950
|
"node_modules/handlebars": {
|
|
3951
|
-
"version": "4.7.
|
|
3952
|
-
"integrity": "sha512-
|
|
3951
|
+
"version": "4.7.10",
|
|
3952
|
+
"integrity": "sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==",
|
|
3953
3953
|
"license": "MIT",
|
|
3954
3954
|
"dependencies": {
|
|
3955
|
-
"minimist": "^1.2.
|
|
3955
|
+
"minimist": "^1.2.8",
|
|
3956
3956
|
"neo-async": "^2.6.2",
|
|
3957
3957
|
"source-map": "^0.6.1",
|
|
3958
3958
|
"wordwrap": "^1.0.0"
|
|
@@ -5874,8 +5874,8 @@
|
|
|
5874
5874
|
"license": "MIT"
|
|
5875
5875
|
},
|
|
5876
5876
|
"node_modules/node-releases": {
|
|
5877
|
-
"version": "2.0.
|
|
5878
|
-
"integrity": "sha512-
|
|
5877
|
+
"version": "2.0.59",
|
|
5878
|
+
"integrity": "sha512-5qr2okC4ItAI0hG5SaV0HoYMpnM/Y6+Oqr7AmPYy/2uEoGvS+GbSKLeRxSS1uAdu59yz0ouzcuXievSgg///WA==",
|
|
5879
5879
|
"dev": true,
|
|
5880
5880
|
"license": "MIT",
|
|
5881
5881
|
"engines": {
|
|
@@ -6479,8 +6479,8 @@
|
|
|
6479
6479
|
}
|
|
6480
6480
|
},
|
|
6481
6481
|
"node_modules/qs": {
|
|
6482
|
-
"version": "6.16.
|
|
6483
|
-
"integrity": "sha512-
|
|
6482
|
+
"version": "6.16.1",
|
|
6483
|
+
"integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
|
|
6484
6484
|
"license": "BSD-3-Clause",
|
|
6485
6485
|
"dependencies": {
|
|
6486
6486
|
"es-define-property": "^1.0.1",
|
|
@@ -6539,8 +6539,8 @@
|
|
|
6539
6539
|
"license": "MIT"
|
|
6540
6540
|
},
|
|
6541
6541
|
"node_modules/readable-stream": {
|
|
6542
|
-
"version": "4.
|
|
6543
|
-
"integrity": "sha512-
|
|
6542
|
+
"version": "4.8.0",
|
|
6543
|
+
"integrity": "sha512-2jhTTU3Eilp/2DMT71gbcoqC35eQHasMJH0RHkYxwlxIv3+FR6Y5xAFZIwEGLxKkjZYEFlsiMNIdwUqjK2lLHQ==",
|
|
6544
6544
|
"license": "MIT",
|
|
6545
6545
|
"dependencies": {
|
|
6546
6546
|
"abort-controller": "^3.0.0",
|
|
@@ -6600,13 +6600,13 @@
|
|
|
6600
6600
|
"license": "MIT"
|
|
6601
6601
|
},
|
|
6602
6602
|
"node_modules/resolve": {
|
|
6603
|
-
"version": "1.22.
|
|
6604
|
-
"integrity": "sha512-
|
|
6603
|
+
"version": "1.22.13",
|
|
6604
|
+
"integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==",
|
|
6605
6605
|
"dev": true,
|
|
6606
6606
|
"license": "MIT",
|
|
6607
6607
|
"dependencies": {
|
|
6608
6608
|
"es-errors": "^1.3.0",
|
|
6609
|
-
"is-core-module": "^2.
|
|
6609
|
+
"is-core-module": "^2.17.0",
|
|
6610
6610
|
"path-parse": "^1.0.7",
|
|
6611
6611
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
6612
6612
|
},
|
|
@@ -7569,8 +7569,8 @@
|
|
|
7569
7569
|
}
|
|
7570
7570
|
},
|
|
7571
7571
|
"node_modules/update-browserslist-db": {
|
|
7572
|
-
"version": "1.3.
|
|
7573
|
-
"integrity": "sha512-
|
|
7572
|
+
"version": "1.3.4",
|
|
7573
|
+
"integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==",
|
|
7574
7574
|
"dev": true,
|
|
7575
7575
|
"funding": [
|
|
7576
7576
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/angular-codegen",
|
|
3
|
-
"version": "11.15.5-rc.
|
|
3
|
+
"version": "11.15.5-rc.647813",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
".npmrc"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@wavemaker/angular-app": "11.15.5-rc.
|
|
18
|
+
"@wavemaker/angular-app": "11.15.5-rc.647813",
|
|
19
19
|
"archiver": "^7.0.1",
|
|
20
20
|
"cheerio": "1.0.0-rc.12",
|
|
21
21
|
"decode-uri-component": "^0.2.0",
|
package/src/gen-app-skeleton.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const{deleteResource:deleteResource,createDir:createDir,readDir:readDir,getWebAppPath:getWebAppPath,readFileSync:readFileSync,isPrismProject:isPrismProject,mergePackageJsonWithOverrideJson:mergePackageJsonWithOverrideJson}=require("./wm-utils"),util=require("util"),fs=require("fs"),{executeSyncCmd:executeSyncCmd}=require("../build-util"),writeFile=util.promisify(fs.writeFile),ncp=util.promisify(require("ncp").ncp),updatePackageJson=async(e,a,i)=>{const r=`${a}/package.json`;let s=readFileSync(r,!0);s.name=i.name,s.version=i.version,-1!==(s=await mergePackageJsonWithOverrideJson(e,s
|
|
1
|
+
const{deleteResource:deleteResource,createDir:createDir,readDir:readDir,getWebAppPath:getWebAppPath,readFileSync:readFileSync,isPrismProject:isPrismProject,mergePackageJsonWithOverrideJson:mergePackageJsonWithOverrideJson}=require("./wm-utils"),util=require("util"),fs=require("fs"),{executeSyncCmd:executeSyncCmd}=require("../build-util"),writeFile=util.promisify(fs.writeFile),ncp=util.promisify(require("ncp").ncp),updatePackageJson=async(e,a,i)=>{const r=`${a}/package.json`;let s=readFileSync(r,!0);s.name=i.name,s.version=i.version,-1!==(s=await mergePackageJsonWithOverrideJson(e,s)).dependencies["@wavemaker/variables"].indexOf("yalc")&&executeSyncCmd(`cd ${a} && yalc add @wavemaker/variables`,null,`Adding yalc variables dependency to ${a}`),-1!==s.dependencies["@wavemaker/foundation-css"].indexOf("yalc")&&executeSyncCmd(`cd ${a} && yalc add @wavemaker/foundation-css`,null,`Adding yalc foundation-css dependency to ${a}`),-1!==s.dependencies["@wavemaker/custom-widgets-m3"].indexOf("yalc")&&executeSyncCmd(`cd ${a} && yalc add @wavemaker/custom-widgets-m3`,null,`Adding yalc custom-widgets-m3 dependency to ${a}`),await writeFile(r,JSON.stringify(s,null,4))},createAppSkeleton=async(e,a,i,r)=>{await deleteResource(a),await createDir(a,{recursive:!0}),await ncp(i+"/angular-app",a),await updatePackageJson(e,a,r);const s=getWebAppPath(e),t=isPrismProject(r)?"design-tokens":"themes";try{if((await readDir(`${s}/${t}`)).length){const e=`${s}/${t}/`;await ncp(e,`${a}/src/assets/${t}`)}}catch(e){if("ENOENT"!==e.code||!isPrismProject(r))throw console.error("Failed to load themes",e.message),e;console.warn("No design-tokens folder found for Prism project.")}(await readDir(`${s}/extensions`)).length&&await ncp(`${s}/extensions`,`${a}/src/app/extensions`),await ncp(`${s}/app.css`,`${a}/src/assets/app.css`),await ncp(`${s}/resources`,`${a}/resources`),await ncp(`${i}/.npmrc`,`${a}/.npmrc`)};module.exports={createAppSkeleton:createAppSkeleton};
|
package/src/wm-utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const util=require("util"),fs=require("fs"),rimraf=require("rimraf"),decodeUriComponent=require("decode-uri-component"),upperFirst=require("lodash/upperFirst"),tar=require("tar-fs"),prettier=require("prettier"),js_beautify=require("js-beautify"),html_beautify=require("js-beautify").html,path=require("path"),defaultEslintConfig=require("./eslintrc_config"),mergeWith=require("lodash/mergeWith"),stat=util.promisify(fs.stat),createDir=util.promisify(fs.mkdir),createReadStream=util.promisify(fs.createReadStream),readFile=util.promisify(fs.readFile),writeFile=util.promisify(fs.writeFile),readDir=util.promisify(fs.readdir),rename=util.promisify(fs.rename),searchFileByName=(e,t,r)=>{if(!fs.existsSync(e))return;fs.readdirSync(e).forEach(i=>{const s=path.join(e,i);fs.lstatSync(s).isDirectory()?searchFileByName(s,t,r):t.test(s)&&r(s)})},deleteResource=async e=>stat(e).then(()=>new Promise((t,r)=>{rimraf(e,()=>t())}),()=>Promise.resolve()),getComponentName=e=>`${e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}Component`,getComponentModuleName=e=>`${e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}Module`,getSafeObjectKey=e=>/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:`'${e}'`,decodeURIComponent=e=>decodeUriComponent(e.replace(/\+/g," ")),createTar=(e,t)=>new Promise((r,i)=>{tar.pack(e).pipe(fs.createWriteStream(t)).on("finish",r)}),extractTar=(e,t)=>new Promise((r,i)=>{fs.createReadStream(e).pipe(tar.extract(t)).on("finish",r)}),getWebAppPath=e=>`${e}/src/main/webapp`,getLayoutsConfigPath=e=>`${getWebAppPath(e)}/layouts/layouts-config.json`,getLayoutsDirPath=e=>`${getWebAppPath(e)}/layouts`,getPagesDirPath=e=>`${getWebAppPath(e)}/pages`,getPagesConfigPath=e=>`${getWebAppPath(e)}/pages/pages-config.json`,getPrefabsDirPath=e=>`${getWebAppPath(e)}/WEB-INF/prefabs`,getPrefabConfigPath=(e,t)=>`${getPrefabsDirPath(e)}/${t}/webapp/config.json`,getPrefabPagesDirPath=(e,t)=>`${getPrefabsDirPath(e)}/${t}/webapp/pages`,getSecurityConfigPath=e=>`${e}/services/securityService/designtime/intercept-urls.json`,getRolesConfigPath=e=>`${e}/services/securityService/designtime/roles.json`,getAuthInfoFilePath=e=>`${e}/services/securityService/designtime/auth-info.json`,getAppJsFilePath=e=>`${getWebAppPath(e)}/app.js`,getAppVariablesFilePath=e=>`${getWebAppPath(e)}/app.variables.json`,getThemesConfigPropertiesFilePath=e=>`${getWebAppPath(e)}/themes/themes-config.json`,getWmProjectPropertiesFilePath=e=>`${e}/target/ui-resources/wmProperties.js`,getLegacyWmProjectPropertiesFilePath=e=>`${e}/.wmproject.properties`,getIndexHtmlPath=e=>`${getWebAppPath(e)}/index.html`;let codegenPath="./node_modules/@wavemaker/angular-codegen";const setCodegenPath=e=>{e&&(codegenPath=e)},getCodegenPath=()=>codegenPath,generateRandomHash=()=>Array.from(Array(20),()=>Math.floor(36*Math.random()).toString(36)).join(""),formatContents=(e="",t)=>"javascript"===t?js_beautify(e,{}):prettier.format(e,{semi:!1,parser:"typescript",tabWidth:4}),formatMarkup=(e="")=>html_beautify(e),isMobileProject=e=>"MOBILE"===e.platformType,isPrefabProject=e=>"PREFAB"===e.type,isPrismProject=e=>"PRISM"===e.template,readFileSync=(e,t)=>{let r=fs.readFileSync(e);return t?JSON.parse(r):r};function copyFileSync(e,t){try{fs.copyFileSync(e,t)}catch(t){console.error(`Error copying ${e}: ${t.message}`)}}function existsFileSync(e){try{return fs.existsSync(e)}catch(t){return console.error(`Error in checking file exist ${e}: ${t.message}`),!1}}function copyPrefabFiles(e,t){const r=path.resolve(`${e}`);if(fs.existsSync(r)){const e=fs.readdirSync(r).filter(e=>fs.statSync(path.join(r,e)).isDirectory());t=path.resolve(`${t}`),e.forEach(e=>{const i=path.join(r,e),s=path.join(i,"prefab-servicedefs.json");fs.existsSync(s)&©FileSync(s,path.join(t+"/src","servicedefs",`${e}-prefab-servicedefs.json`));const a=path.join(i,"webapp"),o=path.join(t+"/resources",e);fs.existsSync(a)&©DirWithExclusionsSync(a,o,["resources"]);const n=path.join(a,"resources"),c=path.join(t+"/resources",e+"/resources");fs.existsSync(n)&©DirWithExclusionsSync(n,c)})}}const copyDirWithExclusionsSync=(e,t,r=[])=>{fs.existsSync(t)||fs.mkdirSync(t,{recursive:!0});let i=[];try{i=fs.readdirSync(e,{withFileTypes:!0})}catch(e){if("ENOENT"!==e.code)throw e}for(const s of i){const i=path.join(e,s.name),a=path.join(t,s.name);r.includes(s.name)||(s.isDirectory()?copyDirWithExclusionsSync(i,a,r):fs.copyFileSync(i,a))}},initExpressionParser=()=>{const e=require("../dependencies/expression-parser.cjs"),t=require("../dependencies/pipe-provider.cjs");e.setPipeProvider(new t.PipeProvider({},{get:()=>{}},{}))},DESIGN_TOKENS_DIR_NAME="design-tokens",APP_OVERRIDE_CSS_PATH="design-tokens/app.override.css",OVERRIDE_TOKENS_PATH="design-tokens/overrides",updateEslintConfig=async(e,t)=>{let r,i;try{existsFileSync(path.join(e,"build-src","eslintrc-override.js"))?(r=require(path.join(e,"build-src","eslintrc-override.js")),(i=mergeWith({},defaultEslintConfig,r)).extends&&!i.extends.includes("eslint:recommended")&&i.extends.push("eslint:recommended"),Object.prototype.hasOwnProperty.call(i,"extraLintPaths")&&delete i.extraLintPaths,Object.prototype.hasOwnProperty.call(i,"ignoreCssPatterns")&&delete i.ignoreCssPatterns):i=mergeWith({},defaultEslintConfig),await fs.writeFileSync(path.join(t,".eslintrc.js"),`const config = ${JSON.stringify(i,null,4)};\n\nmodule.exports = config;`)}catch(e){console.log(`Error in updating eslint config: ${e.message}`)}},getOverridePackageJson=async e=>existsFileSync(`${e=-1!==e.indexOf("target")?e.split("/target")[0]:e}/build-src/package-override.json`)?readFileSync(`${e}/build-src/package-override.json`,!0):null,mergePackageJsonWithOverrideJson=async(e,t
|
|
1
|
+
const util=require("util"),fs=require("fs"),rimraf=require("rimraf"),decodeUriComponent=require("decode-uri-component"),upperFirst=require("lodash/upperFirst"),tar=require("tar-fs"),prettier=require("prettier"),js_beautify=require("js-beautify"),html_beautify=require("js-beautify").html,path=require("path"),defaultEslintConfig=require("./eslintrc_config"),mergeWith=require("lodash/mergeWith"),stat=util.promisify(fs.stat),createDir=util.promisify(fs.mkdir),createReadStream=util.promisify(fs.createReadStream),readFile=util.promisify(fs.readFile),writeFile=util.promisify(fs.writeFile),readDir=util.promisify(fs.readdir),rename=util.promisify(fs.rename),searchFileByName=(e,t,r)=>{if(!fs.existsSync(e))return;fs.readdirSync(e).forEach(i=>{const s=path.join(e,i);fs.lstatSync(s).isDirectory()?searchFileByName(s,t,r):t.test(s)&&r(s)})},deleteResource=async e=>stat(e).then(()=>new Promise((t,r)=>{rimraf(e,()=>t())}),()=>Promise.resolve()),getComponentName=e=>`${e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}Component`,getComponentModuleName=e=>`${e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}Module`,getSafeObjectKey=e=>/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)?e:`'${e}'`,decodeURIComponent=e=>decodeUriComponent(e.replace(/\+/g," ")),createTar=(e,t)=>new Promise((r,i)=>{tar.pack(e).pipe(fs.createWriteStream(t)).on("finish",r)}),extractTar=(e,t)=>new Promise((r,i)=>{fs.createReadStream(e).pipe(tar.extract(t)).on("finish",r)}),getWebAppPath=e=>`${e}/src/main/webapp`,getLayoutsConfigPath=e=>`${getWebAppPath(e)}/layouts/layouts-config.json`,getLayoutsDirPath=e=>`${getWebAppPath(e)}/layouts`,getPagesDirPath=e=>`${getWebAppPath(e)}/pages`,getPagesConfigPath=e=>`${getWebAppPath(e)}/pages/pages-config.json`,getPrefabsDirPath=e=>`${getWebAppPath(e)}/WEB-INF/prefabs`,getPrefabConfigPath=(e,t)=>`${getPrefabsDirPath(e)}/${t}/webapp/config.json`,getPrefabPagesDirPath=(e,t)=>`${getPrefabsDirPath(e)}/${t}/webapp/pages`,getSecurityConfigPath=e=>`${e}/services/securityService/designtime/intercept-urls.json`,getRolesConfigPath=e=>`${e}/services/securityService/designtime/roles.json`,getAuthInfoFilePath=e=>`${e}/services/securityService/designtime/auth-info.json`,getAppJsFilePath=e=>`${getWebAppPath(e)}/app.js`,getAppVariablesFilePath=e=>`${getWebAppPath(e)}/app.variables.json`,getThemesConfigPropertiesFilePath=e=>`${getWebAppPath(e)}/themes/themes-config.json`,getWmProjectPropertiesFilePath=e=>`${e}/target/ui-resources/wmProperties.js`,getLegacyWmProjectPropertiesFilePath=e=>`${e}/.wmproject.properties`,getIndexHtmlPath=e=>`${getWebAppPath(e)}/index.html`;let codegenPath="./node_modules/@wavemaker/angular-codegen";const setCodegenPath=e=>{e&&(codegenPath=e)},getCodegenPath=()=>codegenPath,generateRandomHash=()=>Array.from(Array(20),()=>Math.floor(36*Math.random()).toString(36)).join(""),formatContents=(e="",t)=>"javascript"===t?js_beautify(e,{}):prettier.format(e,{semi:!1,parser:"typescript",tabWidth:4}),formatMarkup=(e="")=>html_beautify(e),isMobileProject=e=>"MOBILE"===e.platformType,isPrefabProject=e=>"PREFAB"===e.type,isPrismProject=e=>"PRISM"===e.template,readFileSync=(e,t)=>{let r=fs.readFileSync(e);return t?JSON.parse(r):r};function copyFileSync(e,t){try{fs.copyFileSync(e,t)}catch(t){console.error(`Error copying ${e}: ${t.message}`)}}function existsFileSync(e){try{return fs.existsSync(e)}catch(t){return console.error(`Error in checking file exist ${e}: ${t.message}`),!1}}function copyPrefabFiles(e,t){const r=path.resolve(`${e}`);if(fs.existsSync(r)){const e=fs.readdirSync(r).filter(e=>fs.statSync(path.join(r,e)).isDirectory());t=path.resolve(`${t}`),e.forEach(e=>{const i=path.join(r,e),s=path.join(i,"prefab-servicedefs.json");fs.existsSync(s)&©FileSync(s,path.join(t+"/src","servicedefs",`${e}-prefab-servicedefs.json`));const a=path.join(i,"webapp"),o=path.join(t+"/resources",e);fs.existsSync(a)&©DirWithExclusionsSync(a,o,["resources"]);const n=path.join(a,"resources"),c=path.join(t+"/resources",e+"/resources");fs.existsSync(n)&©DirWithExclusionsSync(n,c)})}}const copyDirWithExclusionsSync=(e,t,r=[])=>{fs.existsSync(t)||fs.mkdirSync(t,{recursive:!0});let i=[];try{i=fs.readdirSync(e,{withFileTypes:!0})}catch(e){if("ENOENT"!==e.code)throw e}for(const s of i){const i=path.join(e,s.name),a=path.join(t,s.name);r.includes(s.name)||(s.isDirectory()?copyDirWithExclusionsSync(i,a,r):fs.copyFileSync(i,a))}},initExpressionParser=()=>{const e=require("../dependencies/expression-parser.cjs"),t=require("../dependencies/pipe-provider.cjs");e.setPipeProvider(new t.PipeProvider({},{get:()=>{}},{}))},DESIGN_TOKENS_DIR_NAME="design-tokens",APP_OVERRIDE_CSS_PATH="design-tokens/app.override.css",OVERRIDE_TOKENS_PATH="design-tokens/overrides",updateEslintConfig=async(e,t)=>{let r,i;try{existsFileSync(path.join(e,"build-src","eslintrc-override.js"))?(r=require(path.join(e,"build-src","eslintrc-override.js")),(i=mergeWith({},defaultEslintConfig,r)).extends&&!i.extends.includes("eslint:recommended")&&i.extends.push("eslint:recommended"),Object.prototype.hasOwnProperty.call(i,"extraLintPaths")&&delete i.extraLintPaths,Object.prototype.hasOwnProperty.call(i,"ignoreCssPatterns")&&delete i.ignoreCssPatterns):i=mergeWith({},defaultEslintConfig),await fs.writeFileSync(path.join(t,".eslintrc.js"),`const config = ${JSON.stringify(i,null,4)};\n\nmodule.exports = config;`)}catch(e){console.log(`Error in updating eslint config: ${e.message}`)}},getOverridePackageJson=async e=>existsFileSync(`${e=-1!==e.indexOf("target")?e.split("/target")[0]:e}/build-src/package-override.json`)?readFileSync(`${e}/build-src/package-override.json`,!0):null,mergePackageJsonWithOverrideJson=async(e,t)=>{try{const r={"eslint-plugin-regex":"1.10.0","@html-eslint/parser":"0.41.0","@html-eslint/eslint-plugin":"0.41.0","yaml-eslint-parser":"1.3.0","any-eslint-parser":"1.0.1","eslint-html-parser":"1.0.1","eslint-plugin-html":"8.1.2","jsonc-eslint-parser":"2.1.0"},i=await getOverridePackageJson(e);if(t.devDependencies={...t.devDependencies,...r},i)return mergeWith({},t,i)}catch(e){console.log(`Error in merging the package.json with overrider-package.json: ${e.message}`)}return t};module.exports={stat:stat,createDir:createDir,createReadStream:createReadStream,readFile:readFile,writeFile:writeFile,deleteResource:deleteResource,getComponentName:getComponentName,getComponentModuleName:getComponentModuleName,getSafeObjectKey:getSafeObjectKey,decodeURIComponent:decodeURIComponent,createTar:createTar,extractTar:extractTar,readDir:readDir,rename:rename,searchFileByName:searchFileByName,updateEslintConfig:updateEslintConfig,existsFileSync:existsFileSync,getWebAppPath:getWebAppPath,getLayoutsConfigPath:getLayoutsConfigPath,getLayoutsDirPath:getLayoutsDirPath,getPagesDirPath:getPagesDirPath,getPagesConfigPath:getPagesConfigPath,getPrefabsDirPath:getPrefabsDirPath,getPrefabConfigPath:getPrefabConfigPath,getPrefabPagesDirPath:getPrefabPagesDirPath,getSecurityConfigPath:getSecurityConfigPath,getRolesConfigPath:getRolesConfigPath,getAuthInfoFilePath:getAuthInfoFilePath,getAppJsFilePath:getAppJsFilePath,getAppVariablesFilePath:getAppVariablesFilePath,getWmProjectPropertiesFilePath:getWmProjectPropertiesFilePath,getThemesConfigPropertiesFilePath:getThemesConfigPropertiesFilePath,getIndexHtmlPath:getIndexHtmlPath,formatContents:formatContents,formatMarkup:formatMarkup,isMobileProject:isMobileProject,isPrefabProject:isPrefabProject,isPrismProject:isPrismProject,readFileSync:readFileSync,getCodegenPath:getCodegenPath,setCodegenPath:setCodegenPath,initExpressionParser:initExpressionParser,copyFileSync:copyFileSync,copyPrefabFiles:copyPrefabFiles,generateRandomHash:generateRandomHash,copyDirWithExclusionsSync:copyDirWithExclusionsSync,DESIGN_TOKENS_DIR_NAME:"design-tokens",APP_OVERRIDE_CSS_PATH:APP_OVERRIDE_CSS_PATH,OVERRIDE_TOKENS_PATH:OVERRIDE_TOKENS_PATH,getLegacyWmProjectPropertiesFilePath:getLegacyWmProjectPropertiesFilePath,mergePackageJsonWithOverrideJson:mergePackageJsonWithOverrideJson};
|