@wavemaker/angular-codegen 11.6.0-next.140456 → 11.6.0-next.140458
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.
- angular-codegen/angular-app/package-lock.json +58 -28
- angular-codegen/angular-app/package.json +11 -11
- angular-codegen/dependencies/expression-parser.cjs.js +11 -0
- angular-codegen/dependencies/pipe-provider.cjs.js +26 -2
- angular-codegen/dependencies/transpilation-mobile.cjs.js +14 -2
- angular-codegen/dependencies/transpilation-web.cjs.js +14 -2
- angular-codegen/package.json +1 -1
- angular-codegen/templates/layout/layout.module.ts.hbs +1 -1
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@babel/runtime": "^7.14.8",
|
|
36
36
|
"@metrichor/jmespath": "^0.3.1",
|
|
37
37
|
"@wavemaker/focus-trap": "^1.0.0",
|
|
38
|
-
"@wavemaker/nvd3": "1.8.
|
|
39
|
-
"@wavemaker/variables": "11.6.0-next.
|
|
38
|
+
"@wavemaker/nvd3": "1.8.9",
|
|
39
|
+
"@wavemaker/variables": "11.6.0-next.140458",
|
|
40
40
|
"@ztree/ztree_v3": "^3.5.48",
|
|
41
|
-
"angular-imask": "
|
|
41
|
+
"angular-imask": "7.4.0",
|
|
42
42
|
"angular2-websocket": "0.9.7",
|
|
43
43
|
"core-js": "3.35.1",
|
|
44
44
|
"d3": "7.8.5",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"lodash": "4.17.21",
|
|
54
54
|
"ng-circle-progress": "1.7.1",
|
|
55
55
|
"ngx-bootstrap": "9.0.0",
|
|
56
|
-
"ngx-color-picker": "
|
|
57
|
-
"ngx-toastr": "
|
|
56
|
+
"ngx-color-picker": "16.0.0",
|
|
57
|
+
"ngx-toastr": "17.0.2",
|
|
58
58
|
"rxjs": "6.6.0",
|
|
59
59
|
"rxjs-compat": "6.4.0",
|
|
60
60
|
"summernote": "0.8.18",
|
|
@@ -3143,6 +3143,18 @@
|
|
|
3143
3143
|
"node": ">=6.9.0"
|
|
3144
3144
|
}
|
|
3145
3145
|
},
|
|
3146
|
+
"node_modules/@babel/runtime-corejs3": {
|
|
3147
|
+
"version": "7.24.0",
|
|
3148
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.24.0.tgz",
|
|
3149
|
+
"integrity": "sha512-HxiRMOncx3ly6f3fcZ1GVKf+/EROcI9qwPgmij8Czqy6Okm/0T37T4y2ZIlLUuEUFjtM7NRsfdCO8Y3tAiJZew==",
|
|
3150
|
+
"dependencies": {
|
|
3151
|
+
"core-js-pure": "^3.30.2",
|
|
3152
|
+
"regenerator-runtime": "^0.14.0"
|
|
3153
|
+
},
|
|
3154
|
+
"engines": {
|
|
3155
|
+
"node": ">=6.9.0"
|
|
3156
|
+
}
|
|
3157
|
+
},
|
|
3146
3158
|
"node_modules/@babel/template": {
|
|
3147
3159
|
"version": "7.20.7",
|
|
3148
3160
|
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz",
|
|
@@ -5669,17 +5681,17 @@
|
|
|
5669
5681
|
}
|
|
5670
5682
|
},
|
|
5671
5683
|
"node_modules/@wavemaker/nvd3": {
|
|
5672
|
-
"version": "1.8.
|
|
5673
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/nvd3/-/nvd3-1.8.
|
|
5674
|
-
"integrity": "sha512-
|
|
5684
|
+
"version": "1.8.9",
|
|
5685
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/nvd3/-/nvd3-1.8.9.tgz",
|
|
5686
|
+
"integrity": "sha512-J3uleu0akL+Kvw5j9EcP6JRRtkqHl3p1CBqKywiOYeR86+dao415i3V3xMbI8wHKAjIgf54mqIb9qR7M+74xjw==",
|
|
5675
5687
|
"peerDependencies": {
|
|
5676
5688
|
"d3": "7.8.5"
|
|
5677
5689
|
}
|
|
5678
5690
|
},
|
|
5679
5691
|
"node_modules/@wavemaker/variables": {
|
|
5680
|
-
"version": "11.6.0-next.
|
|
5681
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.6.0-next.
|
|
5682
|
-
"integrity": "sha512-
|
|
5692
|
+
"version": "11.6.0-next.140458",
|
|
5693
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.6.0-next.140458.tgz",
|
|
5694
|
+
"integrity": "sha512-9c2nA8/0NI+PykPM9BbqbKGKMpOrK8tsLAIa14hb7NyW0aOmQszAIv8tc/Q8wiQHAvvh8mKkEI9gpblmnfkS8A==",
|
|
5683
5695
|
"dependencies": {
|
|
5684
5696
|
"@metrichor/jmespath": "^0.3.1",
|
|
5685
5697
|
"he": "^1.2.0",
|
|
@@ -6208,14 +6220,19 @@
|
|
|
6208
6220
|
}
|
|
6209
6221
|
},
|
|
6210
6222
|
"node_modules/angular-imask": {
|
|
6211
|
-
"version": "
|
|
6212
|
-
"resolved": "https://registry.npmjs.org/angular-imask/-/angular-imask-
|
|
6213
|
-
"integrity": "sha512-
|
|
6223
|
+
"version": "7.4.0",
|
|
6224
|
+
"resolved": "https://registry.npmjs.org/angular-imask/-/angular-imask-7.4.0.tgz",
|
|
6225
|
+
"integrity": "sha512-GUdgnXeorag4N4Y94xxR6UOCrcQDlqNVa8bf563576SUTT/MoR9ep57fNGMOVT7KYCbHGAPqJtnXLVNCB2CfDg==",
|
|
6214
6226
|
"dependencies": {
|
|
6215
|
-
"imask": "^
|
|
6216
|
-
"tslib": "^2.
|
|
6227
|
+
"imask": "^7.4.0",
|
|
6228
|
+
"tslib": "^2.6.2"
|
|
6217
6229
|
}
|
|
6218
6230
|
},
|
|
6231
|
+
"node_modules/angular-imask/node_modules/tslib": {
|
|
6232
|
+
"version": "2.6.2",
|
|
6233
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
|
6234
|
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
|
6235
|
+
},
|
|
6219
6236
|
"node_modules/angular2-websocket": {
|
|
6220
6237
|
"version": "0.9.7",
|
|
6221
6238
|
"resolved": "https://registry.npmjs.org/angular2-websocket/-/angular2-websocket-0.9.7.tgz",
|
|
@@ -8860,6 +8877,16 @@
|
|
|
8860
8877
|
"url": "https://opencollective.com/core-js"
|
|
8861
8878
|
}
|
|
8862
8879
|
},
|
|
8880
|
+
"node_modules/core-js-pure": {
|
|
8881
|
+
"version": "3.36.0",
|
|
8882
|
+
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.36.0.tgz",
|
|
8883
|
+
"integrity": "sha512-cN28qmhRNgbMZZMc/RFu5w8pK9VJzpb2rJVR/lHuZJKwmXnoWOpXmMkxqBB514igkp1Hu8WGROsiOAzUcKdHOQ==",
|
|
8884
|
+
"hasInstallScript": true,
|
|
8885
|
+
"funding": {
|
|
8886
|
+
"type": "opencollective",
|
|
8887
|
+
"url": "https://opencollective.com/core-js"
|
|
8888
|
+
}
|
|
8889
|
+
},
|
|
8863
8890
|
"node_modules/core-util-is": {
|
|
8864
8891
|
"version": "1.0.3",
|
|
8865
8892
|
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
|
|
@@ -12937,9 +12964,12 @@
|
|
|
12937
12964
|
}
|
|
12938
12965
|
},
|
|
12939
12966
|
"node_modules/imask": {
|
|
12940
|
-
"version": "
|
|
12941
|
-
"resolved": "https://registry.npmjs.org/imask/-/imask-
|
|
12942
|
-
"integrity": "sha512-
|
|
12967
|
+
"version": "7.5.0",
|
|
12968
|
+
"resolved": "https://registry.npmjs.org/imask/-/imask-7.5.0.tgz",
|
|
12969
|
+
"integrity": "sha512-eoTEnw67KAamB1zsiYtU35s0Fj1XYZ8mN2q3ZDGO4ot4FtPmBpw9S6kOTj0kaOILdsEA6ZhNtH2TAMXe/NChmQ==",
|
|
12970
|
+
"dependencies": {
|
|
12971
|
+
"@babel/runtime-corejs3": "^7.23.9"
|
|
12972
|
+
},
|
|
12943
12973
|
"engines": {
|
|
12944
12974
|
"npm": ">=4.0.0"
|
|
12945
12975
|
}
|
|
@@ -16869,9 +16899,9 @@
|
|
|
16869
16899
|
}
|
|
16870
16900
|
},
|
|
16871
16901
|
"node_modules/ngx-color-picker": {
|
|
16872
|
-
"version": "
|
|
16873
|
-
"resolved": "https://registry.npmjs.org/ngx-color-picker/-/ngx-color-picker-
|
|
16874
|
-
"integrity": "sha512-
|
|
16902
|
+
"version": "16.0.0",
|
|
16903
|
+
"resolved": "https://registry.npmjs.org/ngx-color-picker/-/ngx-color-picker-16.0.0.tgz",
|
|
16904
|
+
"integrity": "sha512-Dk2FvcbebD6STZSVzkI5oFHOlTrrNC5bOHh+YVaFgaWuWrVUdVIJm68ocUvTgr/qxTEJjrfcnRnS4wi7BJ2hKg==",
|
|
16875
16905
|
"dependencies": {
|
|
16876
16906
|
"tslib": "^2.3.0"
|
|
16877
16907
|
},
|
|
@@ -16882,16 +16912,16 @@
|
|
|
16882
16912
|
}
|
|
16883
16913
|
},
|
|
16884
16914
|
"node_modules/ngx-toastr": {
|
|
16885
|
-
"version": "
|
|
16886
|
-
"resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-
|
|
16887
|
-
"integrity": "sha512-
|
|
16915
|
+
"version": "17.0.2",
|
|
16916
|
+
"resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-17.0.2.tgz",
|
|
16917
|
+
"integrity": "sha512-KehiPx6bkbiUyJbabf0ZA04+ASumS8r/y4wPsUOMI9OrBvBcfq27UQmWuQKoVR8E+9y4Pq7eZkSg2kvxNvpxTA==",
|
|
16888
16918
|
"dependencies": {
|
|
16889
16919
|
"tslib": "^2.3.0"
|
|
16890
16920
|
},
|
|
16891
16921
|
"peerDependencies": {
|
|
16892
|
-
"@angular/common": ">=
|
|
16893
|
-
"@angular/core": ">=
|
|
16894
|
-
"@angular/platform-browser": ">=
|
|
16922
|
+
"@angular/common": ">=16.0.0-0",
|
|
16923
|
+
"@angular/core": ">=16.0.0-0",
|
|
16924
|
+
"@angular/platform-browser": ">=16.0.0-0"
|
|
16895
16925
|
}
|
|
16896
16926
|
},
|
|
16897
16927
|
"node_modules/nice-napi": {
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@awesome-cordova-plugins/vibration": "5.39.1",
|
|
46
46
|
"@babel/runtime": "^7.14.8",
|
|
47
47
|
"@metrichor/jmespath": "^0.3.1",
|
|
48
|
-
"@wavemaker/nvd3": "1.8.8",
|
|
49
48
|
"@wavemaker/focus-trap": "^1.0.0",
|
|
50
|
-
"@wavemaker/
|
|
49
|
+
"@wavemaker/nvd3": "1.8.9",
|
|
50
|
+
"@wavemaker/variables": "11.6.0-next.140458",
|
|
51
51
|
"@ztree/ztree_v3": "^3.5.48",
|
|
52
|
-
"angular-imask": "
|
|
52
|
+
"angular-imask": "7.4.0",
|
|
53
53
|
"angular2-websocket": "0.9.7",
|
|
54
54
|
"core-js": "3.35.1",
|
|
55
55
|
"d3": "7.8.5",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"lodash": "4.17.21",
|
|
65
65
|
"ng-circle-progress": "1.7.1",
|
|
66
66
|
"ngx-bootstrap": "9.0.0",
|
|
67
|
-
"ngx-color-picker": "
|
|
68
|
-
"ngx-toastr": "
|
|
67
|
+
"ngx-color-picker": "16.0.0",
|
|
68
|
+
"ngx-toastr": "17.0.2",
|
|
69
69
|
"rxjs": "6.6.0",
|
|
70
70
|
"rxjs-compat": "6.4.0",
|
|
71
71
|
"summernote": "0.8.18",
|
|
72
72
|
"tslib": "2.4.1",
|
|
73
73
|
"x2js": "^3.4.4",
|
|
74
74
|
"zone.js": "~0.13.3",
|
|
75
|
-
"@wavemaker/app-ng-runtime": "11.6.0-next.
|
|
75
|
+
"@wavemaker/app-ng-runtime": "11.6.0-next.140458"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
@@ -83,6 +83,10 @@
|
|
|
83
83
|
"@angular/language-service": "16.2.12",
|
|
84
84
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
85
85
|
"@compodoc/compodoc": "^1.1.19",
|
|
86
|
+
"@rollup/plugin-alias": "4.0.2",
|
|
87
|
+
"@rollup/plugin-commonjs": "24.0.0",
|
|
88
|
+
"@rollup/plugin-multi-entry": "6.0.0",
|
|
89
|
+
"@rollup/plugin-node-resolve": "15.0.1",
|
|
86
90
|
"@types/jasmine": "2.8.8",
|
|
87
91
|
"@types/jasminewd2": "2.0.3",
|
|
88
92
|
"@types/jquery": "3.3.22",
|
|
@@ -113,13 +117,9 @@
|
|
|
113
117
|
"owasp-dependency-check": "0.0.21",
|
|
114
118
|
"rimraf": "2.6.3",
|
|
115
119
|
"rollup": "4.9.5",
|
|
116
|
-
"@rollup/plugin-alias": "4.0.2",
|
|
117
|
-
"@rollup/plugin-commonjs": "24.0.0",
|
|
118
120
|
"rollup-plugin-includepaths": "0.2.3",
|
|
119
|
-
"@rollup/plugin-multi-entry": "6.0.0",
|
|
120
|
-
"@rollup/plugin-node-resolve": "15.0.1",
|
|
121
|
-
"terser": "^5.15.1",
|
|
122
121
|
"sonarqube-scanner": "^2.8.2",
|
|
122
|
+
"terser": "^5.15.1",
|
|
123
123
|
"ts-node": "7.0.1",
|
|
124
124
|
"tslint": "~6.1.0",
|
|
125
125
|
"typescript": "4.9.5",
|
|
@@ -20902,6 +20902,14 @@ class ASTCompiler {
|
|
|
20902
20902
|
}
|
|
20903
20903
|
return this.handleBinaryDefault();
|
|
20904
20904
|
}
|
|
20905
|
+
processUnary() {
|
|
20906
|
+
const ast = this.cAst;
|
|
20907
|
+
const stmts = this.cStmts;
|
|
20908
|
+
const e = this.build(ast.expr, stmts);
|
|
20909
|
+
const v = this.createVar();
|
|
20910
|
+
stmts.push(`${v}=${ast.operator}${e}`);
|
|
20911
|
+
return v;
|
|
20912
|
+
}
|
|
20905
20913
|
processConditional() {
|
|
20906
20914
|
const ast = this.cAst;
|
|
20907
20915
|
const stmts = this.cStmts;
|
|
@@ -20993,6 +21001,9 @@ class ASTCompiler {
|
|
|
20993
21001
|
else if (ast instanceof PrefixNot) {
|
|
20994
21002
|
return this.processPrefixNot();
|
|
20995
21003
|
}
|
|
21004
|
+
else if (ast instanceof Unary) {
|
|
21005
|
+
return this.processUnary();
|
|
21006
|
+
}
|
|
20996
21007
|
else if (ast instanceof Binary) {
|
|
20997
21008
|
return this.processBinary();
|
|
20998
21009
|
}
|
|
@@ -104810,6 +104810,14 @@ let ASTCompiler$1 = class ASTCompiler {
|
|
|
104810
104810
|
}
|
|
104811
104811
|
return this.handleBinaryDefault();
|
|
104812
104812
|
}
|
|
104813
|
+
processUnary() {
|
|
104814
|
+
const ast = this.cAst;
|
|
104815
|
+
const stmts = this.cStmts;
|
|
104816
|
+
const e = this.build(ast.expr, stmts);
|
|
104817
|
+
const v = this.createVar();
|
|
104818
|
+
stmts.push(`${v}=${ast.operator}${e}`);
|
|
104819
|
+
return v;
|
|
104820
|
+
}
|
|
104813
104821
|
processConditional() {
|
|
104814
104822
|
const ast = this.cAst;
|
|
104815
104823
|
const stmts = this.cStmts;
|
|
@@ -104901,6 +104909,9 @@ let ASTCompiler$1 = class ASTCompiler {
|
|
|
104901
104909
|
else if (ast instanceof PrefixNot$1) {
|
|
104902
104910
|
return this.processPrefixNot();
|
|
104903
104911
|
}
|
|
104912
|
+
else if (ast instanceof Unary$1) {
|
|
104913
|
+
return this.processUnary();
|
|
104914
|
+
}
|
|
104904
104915
|
else if (ast instanceof Binary$1) {
|
|
104905
104916
|
return this.processBinary();
|
|
104906
104917
|
}
|
|
@@ -105224,6 +105235,7 @@ const REGEX$1 = {
|
|
|
105224
105235
|
IPOD: /iPod/i,
|
|
105225
105236
|
IPAD: /iPad/i,
|
|
105226
105237
|
MAC: /Mac/i,
|
|
105238
|
+
MACINTEL: /MacIntel/i,
|
|
105227
105239
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
105228
105240
|
MOBILE: /Mobile/i,
|
|
105229
105241
|
WINDOWS: /Windows Phone/i,
|
|
@@ -105267,7 +105279,7 @@ const isAndroidTablet$1 = () => REGEX$1.ANDROID_TABLET.test(userAgent$1) && !((/
|
|
|
105267
105279
|
const isIphone$1 = () => REGEX$1.IPHONE.test(userAgent$1);
|
|
105268
105280
|
const isIpod$1 = () => REGEX$1.IPOD.test(userAgent$1);
|
|
105269
105281
|
const isIpad$1 = () => {
|
|
105270
|
-
return REGEX$1.IPAD.test(userAgent$1) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX$1.MAC.test(window.navigator.platform));
|
|
105282
|
+
return REGEX$1.IPAD.test(userAgent$1) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX$1.MAC.test(window.navigator.platform) || REGEX$1.MACINTEL.test(window.navigator.platform)));
|
|
105271
105283
|
};
|
|
105272
105284
|
const isIos$1 = () => isIphone$1() || isIpod$1() || isIpad$1();
|
|
105273
105285
|
const isLargeTabletLandscape$1 = (landScapeWidth, landScapeHeight) => {
|
|
@@ -133663,6 +133675,14 @@ class ASTCompiler {
|
|
|
133663
133675
|
}
|
|
133664
133676
|
return this.handleBinaryDefault();
|
|
133665
133677
|
}
|
|
133678
|
+
processUnary() {
|
|
133679
|
+
const ast = this.cAst;
|
|
133680
|
+
const stmts = this.cStmts;
|
|
133681
|
+
const e = this.build(ast.expr, stmts);
|
|
133682
|
+
const v = this.createVar();
|
|
133683
|
+
stmts.push(`${v}=${ast.operator}${e}`);
|
|
133684
|
+
return v;
|
|
133685
|
+
}
|
|
133666
133686
|
processConditional() {
|
|
133667
133687
|
const ast = this.cAst;
|
|
133668
133688
|
const stmts = this.cStmts;
|
|
@@ -133754,6 +133774,9 @@ class ASTCompiler {
|
|
|
133754
133774
|
else if (ast instanceof PrefixNot) {
|
|
133755
133775
|
return this.processPrefixNot();
|
|
133756
133776
|
}
|
|
133777
|
+
else if (ast instanceof Unary) {
|
|
133778
|
+
return this.processUnary();
|
|
133779
|
+
}
|
|
133757
133780
|
else if (ast instanceof Binary) {
|
|
133758
133781
|
return this.processBinary();
|
|
133759
133782
|
}
|
|
@@ -134077,6 +134100,7 @@ const REGEX = {
|
|
|
134077
134100
|
IPOD: /iPod/i,
|
|
134078
134101
|
IPAD: /iPad/i,
|
|
134079
134102
|
MAC: /Mac/i,
|
|
134103
|
+
MACINTEL: /MacIntel/i,
|
|
134080
134104
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
134081
134105
|
MOBILE: /Mobile/i,
|
|
134082
134106
|
WINDOWS: /Windows Phone/i,
|
|
@@ -134120,7 +134144,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
134120
134144
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
134121
134145
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
134122
134146
|
const isIpad = () => {
|
|
134123
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
134147
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
134124
134148
|
};
|
|
134125
134149
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
134126
134150
|
const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
|
|
@@ -63899,6 +63899,14 @@ class ASTCompiler {
|
|
|
63899
63899
|
}
|
|
63900
63900
|
return this.handleBinaryDefault();
|
|
63901
63901
|
}
|
|
63902
|
+
processUnary() {
|
|
63903
|
+
const ast = this.cAst;
|
|
63904
|
+
const stmts = this.cStmts;
|
|
63905
|
+
const e = this.build(ast.expr, stmts);
|
|
63906
|
+
const v = this.createVar();
|
|
63907
|
+
stmts.push(`${v}=${ast.operator}${e}`);
|
|
63908
|
+
return v;
|
|
63909
|
+
}
|
|
63902
63910
|
processConditional() {
|
|
63903
63911
|
const ast = this.cAst;
|
|
63904
63912
|
const stmts = this.cStmts;
|
|
@@ -63990,6 +63998,9 @@ class ASTCompiler {
|
|
|
63990
63998
|
else if (ast instanceof PrefixNot) {
|
|
63991
63999
|
return this.processPrefixNot();
|
|
63992
64000
|
}
|
|
64001
|
+
else if (ast instanceof Unary) {
|
|
64002
|
+
return this.processUnary();
|
|
64003
|
+
}
|
|
63993
64004
|
else if (ast instanceof Binary) {
|
|
63994
64005
|
return this.processBinary();
|
|
63995
64006
|
}
|
|
@@ -64311,6 +64322,7 @@ const REGEX = {
|
|
|
64311
64322
|
IPOD: /iPod/i,
|
|
64312
64323
|
IPAD: /iPad/i,
|
|
64313
64324
|
MAC: /Mac/i,
|
|
64325
|
+
MACINTEL: /MacIntel/i,
|
|
64314
64326
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
64315
64327
|
MOBILE: /Mobile/i,
|
|
64316
64328
|
WINDOWS: /Windows Phone/i,
|
|
@@ -64354,7 +64366,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
64354
64366
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
64355
64367
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
64356
64368
|
const isIpad = () => {
|
|
64357
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
64369
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
64358
64370
|
};
|
|
64359
64371
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
64360
64372
|
const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
|
|
@@ -68693,7 +68705,7 @@ const registerFormField = (isFormField) => {
|
|
|
68693
68705
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
68694
68706
|
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
68695
68707
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
68696
|
-
class="help-block text-danger" aria-hidden="false"
|
|
68708
|
+
class="help-block text-danger" aria-hidden="false"
|
|
68697
68709
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
68698
68710
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
68699
68711
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
@@ -63899,6 +63899,14 @@ class ASTCompiler {
|
|
|
63899
63899
|
}
|
|
63900
63900
|
return this.handleBinaryDefault();
|
|
63901
63901
|
}
|
|
63902
|
+
processUnary() {
|
|
63903
|
+
const ast = this.cAst;
|
|
63904
|
+
const stmts = this.cStmts;
|
|
63905
|
+
const e = this.build(ast.expr, stmts);
|
|
63906
|
+
const v = this.createVar();
|
|
63907
|
+
stmts.push(`${v}=${ast.operator}${e}`);
|
|
63908
|
+
return v;
|
|
63909
|
+
}
|
|
63902
63910
|
processConditional() {
|
|
63903
63911
|
const ast = this.cAst;
|
|
63904
63912
|
const stmts = this.cStmts;
|
|
@@ -63990,6 +63998,9 @@ class ASTCompiler {
|
|
|
63990
63998
|
else if (ast instanceof PrefixNot) {
|
|
63991
63999
|
return this.processPrefixNot();
|
|
63992
64000
|
}
|
|
64001
|
+
else if (ast instanceof Unary) {
|
|
64002
|
+
return this.processUnary();
|
|
64003
|
+
}
|
|
63993
64004
|
else if (ast instanceof Binary) {
|
|
63994
64005
|
return this.processBinary();
|
|
63995
64006
|
}
|
|
@@ -64311,6 +64322,7 @@ const REGEX = {
|
|
|
64311
64322
|
IPOD: /iPod/i,
|
|
64312
64323
|
IPAD: /iPad/i,
|
|
64313
64324
|
MAC: /Mac/i,
|
|
64325
|
+
MACINTEL: /MacIntel/i,
|
|
64314
64326
|
ANDROID_TABLET: /android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i,
|
|
64315
64327
|
MOBILE: /Mobile/i,
|
|
64316
64328
|
WINDOWS: /Windows Phone/i,
|
|
@@ -64354,7 +64366,7 @@ const isAndroidTablet = () => REGEX.ANDROID_TABLET.test(userAgent) && !((/Tablet
|
|
|
64354
64366
|
const isIphone = () => REGEX.IPHONE.test(userAgent);
|
|
64355
64367
|
const isIpod = () => REGEX.IPOD.test(userAgent);
|
|
64356
64368
|
const isIpad = () => {
|
|
64357
|
-
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && REGEX.MAC.test(window.navigator.platform));
|
|
64369
|
+
return REGEX.IPAD.test(userAgent) || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 2 && (REGEX.MAC.test(window.navigator.platform) || REGEX.MACINTEL.test(window.navigator.platform)));
|
|
64358
64370
|
};
|
|
64359
64371
|
const isIos = () => isIphone() || isIpod() || isIpad();
|
|
64360
64372
|
const isLargeTabletLandscape = (landScapeWidth, landScapeHeight) => {
|
|
@@ -68693,7 +68705,7 @@ const registerFormField = (isFormField) => {
|
|
|
68693
68705
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
68694
68706
|
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
68695
68707
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
68696
|
-
class="help-block text-danger" aria-hidden="false"
|
|
68708
|
+
class="help-block text-danger" aria-hidden="false"
|
|
68697
68709
|
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
68698
68710
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
68699
68711
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
angular-codegen/package.json
CHANGED