@wavemaker/angular-codegen 11.12.1-rc.221 → 11.13.0-rc.222
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/angular.json +62 -95
- package/angular-app/build-scripts/index-html-transform-ng-serve.ts +20 -0
- package/angular-app/build-scripts/post-build.js +2 -2
- package/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +109 -233
- package/angular-app/package-lock.json +109 -233
- package/angular-app/package.json +6 -7
- package/angular-app/proxy.conf.js +14 -0
- package/angular-app/src/assets/styles/css/font/summernote.eot +0 -0
- package/angular-app/src/assets/styles/css/font/summernote.ttf +0 -0
- package/angular-app/src/assets/styles/css/font/summernote.woff +0 -0
- package/angular-app/src/assets/styles/css/font/summernote.woff2 +0 -0
- package/angular-app/src/assets/styles/css/wm-style.css +1 -1
- package/dependencies/transpilation-web.cjs.js +26 -37
- package/npm-shrinkwrap.json +65 -69
- package/package-lock.json +65 -69
- package/package.json +2 -2
- package/src/gen-index-html.js +1 -1
- package/src/update-angular-json.js +1 -1
package/package-lock.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/angular-codegen",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.13.0-rc.222",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/angular-codegen",
|
|
9
|
-
"version": "11.
|
|
9
|
+
"version": "11.13.0-rc.222",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@wavemaker/angular-app": "11.
|
|
12
|
+
"@wavemaker/angular-app": "11.13.0-rc.222",
|
|
13
13
|
"archiver": "^7.0.1",
|
|
14
14
|
"cheerio": "1.0.0-rc.12",
|
|
15
15
|
"decode-uri-component": "^0.2.0",
|
|
@@ -248,8 +248,8 @@
|
|
|
248
248
|
"license": "MIT"
|
|
249
249
|
},
|
|
250
250
|
"node_modules/@babel/core/node_modules/debug": {
|
|
251
|
-
"version": "4.4.
|
|
252
|
-
"integrity": "sha512-
|
|
251
|
+
"version": "4.4.3",
|
|
252
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
253
253
|
"dev": true,
|
|
254
254
|
"license": "MIT",
|
|
255
255
|
"dependencies": {
|
|
@@ -667,8 +667,8 @@
|
|
|
667
667
|
}
|
|
668
668
|
},
|
|
669
669
|
"node_modules/@babel/traverse/node_modules/debug": {
|
|
670
|
-
"version": "4.4.
|
|
671
|
-
"integrity": "sha512-
|
|
670
|
+
"version": "4.4.3",
|
|
671
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
672
672
|
"dev": true,
|
|
673
673
|
"license": "MIT",
|
|
674
674
|
"dependencies": {
|
|
@@ -1364,11 +1364,11 @@
|
|
|
1364
1364
|
}
|
|
1365
1365
|
},
|
|
1366
1366
|
"node_modules/@types/node": {
|
|
1367
|
-
"version": "24.
|
|
1368
|
-
"integrity": "sha512-
|
|
1367
|
+
"version": "24.5.2",
|
|
1368
|
+
"integrity": "sha512-FYxk1I7wPv3K2XBaoyH2cTnocQEu8AOZ60hPbsyukMPLv5/5qr7V1i8PLHdl6Zf87I+xZXFvPCXYjiTFq+YSDQ==",
|
|
1369
1369
|
"license": "MIT",
|
|
1370
1370
|
"dependencies": {
|
|
1371
|
-
"undici-types": "~7.
|
|
1371
|
+
"undici-types": "~7.12.0"
|
|
1372
1372
|
}
|
|
1373
1373
|
},
|
|
1374
1374
|
"node_modules/@types/prettier": {
|
|
@@ -1398,8 +1398,8 @@
|
|
|
1398
1398
|
"license": "MIT"
|
|
1399
1399
|
},
|
|
1400
1400
|
"node_modules/@wavemaker/angular-app": {
|
|
1401
|
-
"version": "11.
|
|
1402
|
-
"integrity": "sha512
|
|
1401
|
+
"version": "11.13.0-rc.222",
|
|
1402
|
+
"integrity": "sha512-TGK+qWWYESWFZOqhYudEIwROFOm77YQdIA425AdRyrbYuJrggDpRQQZcl01m7XfSSS1LhuWZ4M+R7LsBCKT7Dw==",
|
|
1403
1403
|
"dependencies": {
|
|
1404
1404
|
"@angular/animations": "18.2.13",
|
|
1405
1405
|
"@angular/common": "18.2.13",
|
|
@@ -1417,19 +1417,18 @@
|
|
|
1417
1417
|
"@fullcalendar/list": "6.1.15",
|
|
1418
1418
|
"@fullcalendar/timegrid": "6.1.15",
|
|
1419
1419
|
"@metrichor/jmespath": "0.3.1",
|
|
1420
|
-
"@wavemaker/app-ng-runtime": "11.
|
|
1421
|
-
"@wavemaker/custom-widgets-m3": "11.
|
|
1420
|
+
"@wavemaker/app-ng-runtime": "11.13.0-rc.222",
|
|
1421
|
+
"@wavemaker/custom-widgets-m3": "11.13.0-rc.222",
|
|
1422
1422
|
"@wavemaker/focus-trap": "1.0.1",
|
|
1423
|
-
"@wavemaker/foundation-css": "11.
|
|
1423
|
+
"@wavemaker/foundation-css": "11.13.0-rc.222",
|
|
1424
1424
|
"@wavemaker/nvd3": "1.8.13",
|
|
1425
|
-
"@wavemaker/variables": "11.
|
|
1425
|
+
"@wavemaker/variables": "11.13.0-rc.222",
|
|
1426
1426
|
"@ztree/ztree_v3": "3.5.48",
|
|
1427
1427
|
"angular-imask": "^7.6.1",
|
|
1428
1428
|
"angular2-websocket": "0.9.7",
|
|
1429
1429
|
"core-js": "3.35.1",
|
|
1430
1430
|
"d3": "7.8.5",
|
|
1431
1431
|
"esbuild-wasm": "^0.24.2",
|
|
1432
|
-
"hammerjs": "2.0.8",
|
|
1433
1432
|
"iscroll": "5.2.0",
|
|
1434
1433
|
"jquery": "3.7.1",
|
|
1435
1434
|
"jquery-ui": "1.13.3",
|
|
@@ -1461,8 +1460,8 @@
|
|
|
1461
1460
|
}
|
|
1462
1461
|
},
|
|
1463
1462
|
"node_modules/@wavemaker/app-ng-runtime": {
|
|
1464
|
-
"version": "11.
|
|
1465
|
-
"integrity": "sha512-
|
|
1463
|
+
"version": "11.13.0-rc.222",
|
|
1464
|
+
"integrity": "sha512-4V2kcvOCdF+9hpkBDLlshZxwnffJ1VTRtv3QRei0fHP3rWI0//JOmUCDcbfebxz9xQS6qTelJjg9BDjawnCydg==",
|
|
1466
1465
|
"license": "MIT",
|
|
1467
1466
|
"engines": {
|
|
1468
1467
|
"node": ">=18.16.1",
|
|
@@ -1470,8 +1469,8 @@
|
|
|
1470
1469
|
}
|
|
1471
1470
|
},
|
|
1472
1471
|
"node_modules/@wavemaker/custom-widgets-m3": {
|
|
1473
|
-
"version": "11.
|
|
1474
|
-
"integrity": "sha512-
|
|
1472
|
+
"version": "11.13.0-rc.222",
|
|
1473
|
+
"integrity": "sha512-Gu6D1fMkMomN6XS5nRhVSLN9g8ly9yMOp29JEPG76q8cSC2wNJmEm6yG3LoJ2uxKiXBdZW6MEDOD0PM013LByA==",
|
|
1475
1474
|
"license": "ISC"
|
|
1476
1475
|
},
|
|
1477
1476
|
"node_modules/@wavemaker/focus-trap": {
|
|
@@ -1484,8 +1483,8 @@
|
|
|
1484
1483
|
}
|
|
1485
1484
|
},
|
|
1486
1485
|
"node_modules/@wavemaker/foundation-css": {
|
|
1487
|
-
"version": "11.
|
|
1488
|
-
"integrity": "sha512-
|
|
1486
|
+
"version": "11.13.0-rc.222",
|
|
1487
|
+
"integrity": "sha512-iZkFpHa5e6qEljQjzy8Vd8tegYreDiCrS0k3e7VkpgqC7uSs0emnBMhHaqo1hburws7pNMQdVNupkRho0Qiu6g==",
|
|
1489
1488
|
"license": "ISC",
|
|
1490
1489
|
"dependencies": {
|
|
1491
1490
|
"chroma-js": "^3.1.2"
|
|
@@ -1500,8 +1499,8 @@
|
|
|
1500
1499
|
}
|
|
1501
1500
|
},
|
|
1502
1501
|
"node_modules/@wavemaker/variables": {
|
|
1503
|
-
"version": "11.
|
|
1504
|
-
"integrity": "sha512-
|
|
1502
|
+
"version": "11.13.0-rc.222",
|
|
1503
|
+
"integrity": "sha512-2Gi7uqnkgdF7DJ6g/xz8/L6d40Elx/ftUGWluwO8GsfnKhX8yqp1bngyIAbyJ1Zm3tzhn+8/IgR62wU4VeoyUg==",
|
|
1505
1504
|
"license": "ISC",
|
|
1506
1505
|
"dependencies": {
|
|
1507
1506
|
"@metrichor/jmespath": "^0.3.1",
|
|
@@ -1623,8 +1622,8 @@
|
|
|
1623
1622
|
}
|
|
1624
1623
|
},
|
|
1625
1624
|
"node_modules/agent-base/node_modules/debug": {
|
|
1626
|
-
"version": "4.4.
|
|
1627
|
-
"integrity": "sha512-
|
|
1625
|
+
"version": "4.4.3",
|
|
1626
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
1628
1627
|
"dev": true,
|
|
1629
1628
|
"license": "MIT",
|
|
1630
1629
|
"dependencies": {
|
|
@@ -1797,8 +1796,8 @@
|
|
|
1797
1796
|
}
|
|
1798
1797
|
},
|
|
1799
1798
|
"node_modules/b4a": {
|
|
1800
|
-
"version": "1.7.
|
|
1801
|
-
"integrity": "sha512-
|
|
1799
|
+
"version": "1.7.3",
|
|
1800
|
+
"integrity": "sha512-5Q2mfq2WfGuFp3uS//0s6baOJLMoVduPYVeNmDYxu5OUA1/cBfvr2RIS7vi62LdNj/urk1hfmj867I3qt6uZ7Q==",
|
|
1802
1801
|
"license": "Apache-2.0",
|
|
1803
1802
|
"peerDependencies": {
|
|
1804
1803
|
"react-native-b4a": "*"
|
|
@@ -1910,10 +1909,9 @@
|
|
|
1910
1909
|
"license": "MIT"
|
|
1911
1910
|
},
|
|
1912
1911
|
"node_modules/bare-events": {
|
|
1913
|
-
"version": "2.
|
|
1914
|
-
"integrity": "sha512-
|
|
1915
|
-
"license": "Apache-2.0"
|
|
1916
|
-
"optional": true
|
|
1912
|
+
"version": "2.7.0",
|
|
1913
|
+
"integrity": "sha512-b3N5eTW1g7vXkw+0CXh/HazGTcO5KYuu/RCNaJbDMPI6LHDi+7qe8EmxKUVe1sUbY2KZOVZFyj62x0OEz9qyAA==",
|
|
1914
|
+
"license": "Apache-2.0"
|
|
1917
1915
|
},
|
|
1918
1916
|
"node_modules/base64-js": {
|
|
1919
1917
|
"version": "1.5.1",
|
|
@@ -1935,8 +1933,8 @@
|
|
|
1935
1933
|
"license": "MIT"
|
|
1936
1934
|
},
|
|
1937
1935
|
"node_modules/baseline-browser-mapping": {
|
|
1938
|
-
"version": "2.8.
|
|
1939
|
-
"integrity": "sha512-
|
|
1936
|
+
"version": "2.8.7",
|
|
1937
|
+
"integrity": "sha512-bxxN2M3a4d1CRoQC//IqsR5XrLh0IJ8TCv2x6Y9N0nckNz/rTjZB3//GGscZziZOxmjP55rzxg/ze7usFI9FqQ==",
|
|
1940
1938
|
"dev": true,
|
|
1941
1939
|
"license": "Apache-2.0",
|
|
1942
1940
|
"bin": {
|
|
@@ -2050,8 +2048,8 @@
|
|
|
2050
2048
|
"license": "BSD-2-Clause"
|
|
2051
2049
|
},
|
|
2052
2050
|
"node_modules/browserslist": {
|
|
2053
|
-
"version": "4.26.
|
|
2054
|
-
"integrity": "sha512-
|
|
2051
|
+
"version": "4.26.2",
|
|
2052
|
+
"integrity": "sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A==",
|
|
2055
2053
|
"dev": true,
|
|
2056
2054
|
"funding": [
|
|
2057
2055
|
{
|
|
@@ -2069,7 +2067,7 @@
|
|
|
2069
2067
|
],
|
|
2070
2068
|
"license": "MIT",
|
|
2071
2069
|
"dependencies": {
|
|
2072
|
-
"baseline-browser-mapping": "^2.8.
|
|
2070
|
+
"baseline-browser-mapping": "^2.8.3",
|
|
2073
2071
|
"caniuse-lite": "^1.0.30001741",
|
|
2074
2072
|
"electron-to-chromium": "^1.5.218",
|
|
2075
2073
|
"node-releases": "^2.0.21",
|
|
@@ -2227,8 +2225,8 @@
|
|
|
2227
2225
|
}
|
|
2228
2226
|
},
|
|
2229
2227
|
"node_modules/caniuse-lite": {
|
|
2230
|
-
"version": "1.0.
|
|
2231
|
-
"integrity": "sha512-
|
|
2228
|
+
"version": "1.0.30001745",
|
|
2229
|
+
"integrity": "sha512-ywt6i8FzvdgrrrGbr1jZVObnVv6adj+0if2/omv9cmR2oiZs30zL4DIyaptKcbOrBdOIc74QTMoJvSE2QHh5UQ==",
|
|
2232
2230
|
"dev": true,
|
|
2233
2231
|
"funding": [
|
|
2234
2232
|
{
|
|
@@ -3322,8 +3320,8 @@
|
|
|
3322
3320
|
"license": "MIT"
|
|
3323
3321
|
},
|
|
3324
3322
|
"node_modules/electron-to-chromium": {
|
|
3325
|
-
"version": "1.5.
|
|
3326
|
-
"integrity": "sha512-
|
|
3323
|
+
"version": "1.5.224",
|
|
3324
|
+
"integrity": "sha512-kWAoUu/bwzvnhpdZSIc6KUyvkI1rbRXMT0Eq8pKReyOyaPZcctMli+EgvcN1PAvwVc7Tdo4Fxi2PsLNDU05mdg==",
|
|
3327
3325
|
"dev": true,
|
|
3328
3326
|
"license": "ISC"
|
|
3329
3327
|
},
|
|
@@ -3372,8 +3370,8 @@
|
|
|
3372
3370
|
}
|
|
3373
3371
|
},
|
|
3374
3372
|
"node_modules/error-ex": {
|
|
3375
|
-
"version": "1.3.
|
|
3376
|
-
"integrity": "sha512-
|
|
3373
|
+
"version": "1.3.4",
|
|
3374
|
+
"integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
|
|
3377
3375
|
"dev": true,
|
|
3378
3376
|
"license": "MIT",
|
|
3379
3377
|
"dependencies": {
|
|
@@ -3532,6 +3530,14 @@
|
|
|
3532
3530
|
"node": ">=0.8.x"
|
|
3533
3531
|
}
|
|
3534
3532
|
},
|
|
3533
|
+
"node_modules/events-universal": {
|
|
3534
|
+
"version": "1.0.1",
|
|
3535
|
+
"integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==",
|
|
3536
|
+
"license": "Apache-2.0",
|
|
3537
|
+
"dependencies": {
|
|
3538
|
+
"bare-events": "^2.7.0"
|
|
3539
|
+
}
|
|
3540
|
+
},
|
|
3535
3541
|
"node_modules/execa": {
|
|
3536
3542
|
"version": "5.1.1",
|
|
3537
3543
|
"integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
|
|
@@ -3903,14 +3909,6 @@
|
|
|
3903
3909
|
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
|
|
3904
3910
|
"license": "ISC"
|
|
3905
3911
|
},
|
|
3906
|
-
"node_modules/hammerjs": {
|
|
3907
|
-
"version": "2.0.8",
|
|
3908
|
-
"integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==",
|
|
3909
|
-
"license": "MIT",
|
|
3910
|
-
"engines": {
|
|
3911
|
-
"node": ">=0.8.0"
|
|
3912
|
-
}
|
|
3913
|
-
},
|
|
3914
3912
|
"node_modules/handlebars": {
|
|
3915
3913
|
"version": "4.7.8",
|
|
3916
3914
|
"integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==",
|
|
@@ -4060,8 +4058,8 @@
|
|
|
4060
4058
|
}
|
|
4061
4059
|
},
|
|
4062
4060
|
"node_modules/http-proxy-agent/node_modules/debug": {
|
|
4063
|
-
"version": "4.4.
|
|
4064
|
-
"integrity": "sha512-
|
|
4061
|
+
"version": "4.4.3",
|
|
4062
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
4065
4063
|
"dev": true,
|
|
4066
4064
|
"license": "MIT",
|
|
4067
4065
|
"dependencies": {
|
|
@@ -4096,8 +4094,8 @@
|
|
|
4096
4094
|
}
|
|
4097
4095
|
},
|
|
4098
4096
|
"node_modules/https-proxy-agent/node_modules/debug": {
|
|
4099
|
-
"version": "4.4.
|
|
4100
|
-
"integrity": "sha512-
|
|
4097
|
+
"version": "4.4.3",
|
|
4098
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
4101
4099
|
"dev": true,
|
|
4102
4100
|
"license": "MIT",
|
|
4103
4101
|
"dependencies": {
|
|
@@ -4405,8 +4403,8 @@
|
|
|
4405
4403
|
}
|
|
4406
4404
|
},
|
|
4407
4405
|
"node_modules/istanbul-lib-source-maps/node_modules/debug": {
|
|
4408
|
-
"version": "4.4.
|
|
4409
|
-
"integrity": "sha512-
|
|
4406
|
+
"version": "4.4.3",
|
|
4407
|
+
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
|
|
4410
4408
|
"dev": true,
|
|
4411
4409
|
"license": "MIT",
|
|
4412
4410
|
"dependencies": {
|
|
@@ -6958,15 +6956,13 @@
|
|
|
6958
6956
|
}
|
|
6959
6957
|
},
|
|
6960
6958
|
"node_modules/streamx": {
|
|
6961
|
-
"version": "2.
|
|
6962
|
-
"integrity": "sha512-
|
|
6959
|
+
"version": "2.23.0",
|
|
6960
|
+
"integrity": "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg==",
|
|
6963
6961
|
"license": "MIT",
|
|
6964
6962
|
"dependencies": {
|
|
6963
|
+
"events-universal": "^1.0.0",
|
|
6965
6964
|
"fast-fifo": "^1.3.2",
|
|
6966
6965
|
"text-decoder": "^1.1.0"
|
|
6967
|
-
},
|
|
6968
|
-
"optionalDependencies": {
|
|
6969
|
-
"bare-events": "^2.2.0"
|
|
6970
6966
|
}
|
|
6971
6967
|
},
|
|
6972
6968
|
"node_modules/string_decoder": {
|
|
@@ -7190,8 +7186,8 @@
|
|
|
7190
7186
|
"license": "MIT"
|
|
7191
7187
|
},
|
|
7192
7188
|
"node_modules/tar-fs": {
|
|
7193
|
-
"version": "1.16.
|
|
7194
|
-
"integrity": "sha512-
|
|
7189
|
+
"version": "1.16.6",
|
|
7190
|
+
"integrity": "sha512-JkOgFt3FxM/2v2CNpAVHqMW2QASjc/Hxo7IGfNd3MHaDYSW/sBFiS7YVmmhmr8x6vwN1VFQDQGdT2MWpmIuVKA==",
|
|
7195
7191
|
"license": "MIT",
|
|
7196
7192
|
"dependencies": {
|
|
7197
7193
|
"chownr": "^1.0.1",
|
|
@@ -7369,8 +7365,8 @@
|
|
|
7369
7365
|
"license": "BSD-3-Clause"
|
|
7370
7366
|
},
|
|
7371
7367
|
"node_modules/to-buffer": {
|
|
7372
|
-
"version": "1.2.
|
|
7373
|
-
"integrity": "sha512-
|
|
7368
|
+
"version": "1.2.2",
|
|
7369
|
+
"integrity": "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==",
|
|
7374
7370
|
"license": "MIT",
|
|
7375
7371
|
"dependencies": {
|
|
7376
7372
|
"isarray": "^2.0.5",
|
|
@@ -7599,8 +7595,8 @@
|
|
|
7599
7595
|
}
|
|
7600
7596
|
},
|
|
7601
7597
|
"node_modules/undici-types": {
|
|
7602
|
-
"version": "7.
|
|
7603
|
-
"integrity": "sha512-
|
|
7598
|
+
"version": "7.12.0",
|
|
7599
|
+
"integrity": "sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ==",
|
|
7604
7600
|
"license": "MIT"
|
|
7605
7601
|
},
|
|
7606
7602
|
"node_modules/universalify": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/angular-codegen",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.13.0-rc.222",
|
|
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.
|
|
18
|
+
"@wavemaker/angular-app": "11.13.0-rc.222",
|
|
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-index-html.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const{getIndexHtmlPath:getIndexHtmlPath,readFile:readFile,writeFile:writeFile,isMobileProject:isMobileProject,createDir:createDir}=require("./wm-utils"),{addToScripts:addToScripts}=require("./update-angular-json"),cheerio=require("cheerio"),prettier=require("prettier"),isResourceJS=e=>/^resources\/./.test(e),generateIndexHtml=async(e,r,t,i,n,s)=>{const o=await readFile(getIndexHtmlPath(e),"utf8"),a=cheerio.load(o);let c=[],l=[],m=!1,p=0,
|
|
1
|
+
const{getIndexHtmlPath:getIndexHtmlPath,readFile:readFile,writeFile:writeFile,isMobileProject:isMobileProject,createDir:createDir}=require("./wm-utils"),{addToScripts:addToScripts}=require("./update-angular-json"),cheerio=require("cheerio"),prettier=require("prettier"),isResourceJS=e=>/^resources\/./.test(e),generateIndexHtml=async(e,r,t,i,n,s)=>{const o=await readFile(getIndexHtmlPath(e),"utf8"),a=cheerio.load(o);let c=[],l=[],m=!1,p=0,h=[];const d=["application/ld+json"];await createDir(r+"/resources/wm-inline",{recursive:!0}),a("script").each((e,r)=>{h.push(r)});for(const e of h){let t=a(e).attr("src");if(t)!m&&t.includes("wm-libs.min.js")&&(m=!0),isResourceJS(t)&&(m?l.push(t):c.push(t),a(e).remove());else if(!d.includes(a(e).attr("type"))){t=`resources/wm-inline/wm-inline-${++p}.js`;try{await writeFile(`${r}/${t}`,a(e).html()),m?l.push(t):c.push(t),a(e).remove()}catch(e){console.log(`WM-CODEGEN | Error in inline script generation | ${e}`)}}}await addToScripts(e,r,c,l),a('script[src$="/wm-loader.min.js"]').remove(),a('script[src$="/wm-libs.min.js"]').remove(),a('script[src$="/wm-loader.js"]').remove(),a('script[src$="/wm-libs.js"]').remove();const u=a('meta[name="description"]');u.attr("content")||u.attr("content","App built on wavemaker"),a('link[href$="/wm-style.css"]').remove(),a('link[href="print.css"]').remove(),a('link[theme="wmtheme"]').remove(),a('link[href$="wm-responsive.css"]').remove(),a('link[href^="themes"][href$="style.css"]').remove(),a('link[href="app.css"]').remove(),a('link[href$="foundation.css"]').remove(),a('link[href$="app.override.css"]').remove(),a("*").contents().each(function(){8===this.nodeType&&a(this).remove()});process.env.APPMETRICS_ENABLED,process.env.APPMETRICS_SERVER_URL;i?a('meta[name="cdnUrl"]').attr("content",i):a('meta[name="cdnUrl"]').remove(),s&&a("head").append('<meta name="apiUrl" content="'+s+'" />'),a('link[href^="favicon."]').attr("rel","icon"),n&&(a("head").append('<meta name="theme-color" content="#2c3049" />'),a("head").append('<link rel="manifest" href="manifest.json">'),a("head").append('<link rel="apple-touch-icon" href="ng-bundle/assets/icons/icon-192x192.png">')),await writeFile(`${r}/src/index.html`,prettier.format(a.html(),{htmlWhitespaceSensitivity:"ignore",parser:"html",tabWidth:4}))};module.exports={generateIndexHtml:generateIndexHtml};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const cheerio=require("cheerio"),{writeFile:writeFile,readFileSync:readFileSync,readDir:readDir,isMobileProject:isMobileProject,isPrismProject:isPrismProject,APP_OVERRIDE_CSS_PATH:APP_OVERRIDE_CSS_PATH}=require("./wm-utils"),markScriptsAsLazy=
|
|
1
|
+
const cheerio=require("cheerio"),{writeFile:writeFile,readFileSync:readFileSync,readDir:readDir,isMobileProject:isMobileProject,isPrismProject:isPrismProject,APP_OVERRIDE_CSS_PATH:APP_OVERRIDE_CSS_PATH}=require("./wm-utils"),markScriptsAsLazy=e=>{const s=["./node_modules/d3/dist/d3.min.js","./node_modules/@wavemaker/nvd3/build/nv.d3.min.js","./node_modules/summernote/dist/summernote-lite.min.js",global._WM_PACKAGE_PATH+"/scripts/datatable/datatable.js","./node_modules/jquery-ui/ui/widgets/sortable.js","./node_modules/jquery-ui/ui/widgets/droppable.js","./node_modules/jquery-ui/ui/widgets/resizable.js","./node_modules/hammerjs/hammer.min.js","./node_modules/iscroll/build/iscroll.js"];if("string"==typeof e){let t=e.replace(/^(\.\/)/,"").replace(/\//g,"-").replace(/@/g,"");if(t=t.substring(0,t.lastIndexOf(".")),s.includes(e))return{input:e,inject:!1,bundleName:t}}return e},setBuildCustomizations=async e=>{const s=e.projects["angular-app"].architect.build,t=s.options.scripts;s.options.scripts=t.map(e=>markScriptsAsLazy(e))},addToScripts=async(e,s,t=[],i=[])=>{const n=`${s}/angular.json`;let o=readFileSync(n,!0);const a=o.projects["angular-app"].architect.build;let r=a.options.scripts;const l=`${s+"/src/app/extensions"}`,u=await readDir(l);u.length&&i.push("./src/app/extensions/"+u[0]),a.options.scripts=[...t,...r,...i],await writeFile(n,JSON.stringify(o,null,4))},updateAngularJSON=async(e,s,t,i,n,o,a,r,l,u)=>{const c=`${s}/angular.json`;let p=readFileSync(c,!0);const d=p.projects["angular-app"].architect.build;a&&a.trim().length>0&&(d.configurations.production.deployUrl=a,d.configurations.development.deployUrl=a),d.configurations.production.outputPath=d.configurations.production.outputPath+"/"+global.randomHash,d.configurations.development.outputPath=d.configurations.development.outputPath+"/"+global.randomHash;let m=d.options.styles;if(isPrismProject(t)&&((m=m.filter(e=>"string"==typeof e?!(e.includes("src/assets/styles/css/wm-style.css")||e.includes("src/assets/styles/css/wm-responsive.css")):"object"!=typeof e||!e.input||!e.input.includes("src/assets/themes/material/style.css"))).push("./node_modules/@wavemaker/foundation-css/foundation/foundation.css"),m.push({input:`src/assets/${APP_OVERRIDE_CSS_PATH}`,inject:!1,bundleName:"wm-styles"}),d.options.styles=m),isMobileProject(t)){const e=m.findIndex(e=>{let s="object"==typeof e;if(s){return(s?e.input:e).includes("themes")}return!1}),s=m[e].input;m[e].bundleName="wm-android-styles",m[e].input=m[e].input.replace(new RegExp("/[a-z]*/style.css$"),`/${i.activeTheme}/android/style.css`);const t=Object.assign({},m[e]);t.input=s.replace(new RegExp("/[a-z]*/style.css$"),`/${i.activeTheme}/ios/style.css`),t.bundleName="wm-ios-styles",m.push(t);const n=m.findIndex(e=>{let s="object"==typeof e;if(s){return"src/assets/app.css"===(s?e.input:e)}return!1});m[n].bundleName="wm-android-styles";const o=Object.assign({},m[n]);o.bundleName="wm-ios-styles",m.push(o)}m.forEach((e,s)=>{let t="object"==typeof e,n=t?e.input:e;!n.includes("themes")||n.includes("/android/")||n.includes("/ios/")||(t?m[s].input=n.replace(new RegExp("/[a-z]*/style.css$"),`/${i.activeTheme}/style.css`):m[s]=n.replace(new RegExp("/[a-z]*/style.css$"),`/${i.activeTheme}/style.css`))});const g=d.options.assets,f=[],y=[{patterns:f,path:"angular/global"}];if("STATIC"===t.languageBundleSources)for(const e of Object.values(t.supportedLanguages))e.angular&&f.push(`${e.angular}.js`);y.forEach(({patterns:e=[],path:s})=>{let t="**/*";1==e.length?t=e[0]:e.length>1&&(t=`{${e.join(",")}}`),["libraries/locales","node_modules/@wavemaker/app-ng-runtime/locales"].forEach(e=>{(e=>{const s=g.find(s=>s.input===e.input&&s.output===e.output);s?s.glob=e.glob:g.push(e)})({glob:t,input:`${e}/${s}`,output:`/locales/${s}`})})}),d.options.assets=g,await setBuildCustomizations(p);const h=d.configurations.production,b=d.configurations.development;if(h.aot=!1!==r.aot,h.buildOptimizer=!1!==r.buildOptimizer,u){const e=d.options.assets;e.push("src/manifest.json"),e.push("src/wmsw-worker.js"),h.serviceWorker=b.serviceWorker=!0,h.ngswConfigPath=b.ngswConfigPath="ngsw-config.json",delete d.configurations.production.customWebpackConfig}await writeFile(c,JSON.stringify(p,null,4))};module.exports={updateAngularJSON:updateAngularJSON,addToScripts:addToScripts};
|