@farris/jit-engine 1.4.47 → 1.4.49
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/README.md +7 -3
- package/bin/index.js +0 -0
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -1
- package/lib/utility/control-checker/static-text-checker.js +5 -5
- package/lib/utility/control-checker/static-text-checker.js.map +1 -1
- package/lib/utility/template-generator/devkit/lang-template-generator.js +1 -1
- package/package.json +56 -56
package/README.md
CHANGED
package/bin/index.js
CHANGED
|
File without changes
|
|
@@ -247,7 +247,7 @@ class VueViewModelsCreator {
|
|
|
247
247
|
}
|
|
248
248
|
const minValueKey = 'minValue';
|
|
249
249
|
if (!control[minValueKey] && control[minValueKey] != 0) {
|
|
250
|
-
control[minValueKey] = -Number.
|
|
250
|
+
control[minValueKey] = -Number.MIN_VALUE;
|
|
251
251
|
input.needValid = true;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
@@ -5,13 +5,13 @@ const static_text_1 = require("../../domstructure/ui/static-text/static-text");
|
|
|
5
5
|
const toolhepler_1 = require("../toolhepler");
|
|
6
6
|
class StaticTextChecker {
|
|
7
7
|
constructor() { }
|
|
8
|
-
static checkIsStaticText(ui,
|
|
9
|
-
if (
|
|
8
|
+
static checkIsStaticText(ui, staticTextParameter) {
|
|
9
|
+
if (staticTextParameter.isStaticText == false &&
|
|
10
10
|
ui.module && toolhepler_1.ToolHelper.isArray(ui.module.components, false)) {
|
|
11
|
-
|
|
11
|
+
staticTextParameter.isStaticText = false;
|
|
12
12
|
ui.module.components.forEach((item) => {
|
|
13
|
-
if (
|
|
14
|
-
this.checkHasStaticText(
|
|
13
|
+
if (staticTextParameter.isStaticText == false) {
|
|
14
|
+
this.checkHasStaticText(staticTextParameter, item, null);
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static-text-checker.js","sourceRoot":"","sources":["../../../src/utility/control-checker/static-text-checker.ts"],"names":[],"mappings":";;;AAAA,+EAA2E;AAC3E,8CAA2C;AAE3C,MAAa,iBAAiB;IAC1B,gBAAwB,CAAC;IAQzB,MAAM,CAAC,iBAAiB,CAAC,EAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"static-text-checker.js","sourceRoot":"","sources":["../../../src/utility/control-checker/static-text-checker.ts"],"names":[],"mappings":";;;AAAA,+EAA2E;AAC3E,8CAA2C;AAE3C,MAAa,iBAAiB;IAC1B,gBAAwB,CAAC;IAQzB,MAAM,CAAC,iBAAiB,CAAC,EAAO,EAAE,mBAA8C;QAE5E,IAAI,mBAAmB,CAAC,YAAY,IAAI,KAAK;YACzC,EAAE,CAAC,MAAM,IAAI,uBAAU,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE;YAC1D,mBAAmB,CAAC,YAAY,GAAG,KAAK,CAAC;YAC7C,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;gBACvC,IAAI,mBAAmB,CAAC,YAAY,IAAI,KAAK,EAAE;oBAC3C,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;iBAC5D;YACL,CAAC,CAAC,CAAC;SACN;IACL,CAAC;IAWO,MAAM,CAAC,kBAAkB,CAAC,GAA8B,EAAE,SAAc,EAAE,QAAe;QAE7F,IAAI,SAAS,EAAE;YACX,IAAI,SAAS,CAAC,IAAI,IAAI,wBAAU,CAAC,OAAO,EAAE,EAAE;gBACxC,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;aAC3B;iBAAM;gBACH,IAAI,GAAG,CAAC,YAAY,IAAI,KAAK,IAAI,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;oBAC9E,IAAI,CAAC,kBAAkB,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;iBAC1D;aACJ;SAEJ;aAAM;YACH,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACtC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,wBAAU,CAAC,OAAO,EAAE,EAAE;oBAC1C,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;iBAC3B;gBACD,IAAI,GAAG,CAAC,YAAY,IAAI,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,EAAE;oBAClF,IAAI,CAAC,kBAAkB,CAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;iBAC5D;aACJ;SACJ;IACL,CAAC;CACJ;AArDD,8CAqDC"}
|
|
@@ -113,7 +113,7 @@ export class ${externalPrefix}TranslateResolveService implements Resolve<any>{
|
|
|
113
113
|
generateString += `
|
|
114
114
|
if (this.translate.defaultLang === langCode) {`;
|
|
115
115
|
}
|
|
116
|
-
if (generateParams.metaDataConfig.isRuntime) {
|
|
116
|
+
if (generateParams.metaDataConfig.isRuntime && runTimeDimPath) {
|
|
117
117
|
generateString += `
|
|
118
118
|
this.translate.setTranslation('zh-CHS', lang['zh-CHS']);
|
|
119
119
|
return of(this.translate[langCode]);
|
package/package.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@farris/jit-engine",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "./lib/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"jit": "./bin/index.js"
|
|
8
|
-
},
|
|
9
|
-
"engines": {
|
|
10
|
-
"node": ">= 6.9.0",
|
|
11
|
-
"npm": ">= 3.0.0"
|
|
12
|
-
},
|
|
13
|
-
"files": [
|
|
14
|
-
"lib/",
|
|
15
|
-
"bin/",
|
|
16
|
-
"ioc.config"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "npm run build-ts && npm run copy-static-assets",
|
|
20
|
-
"build-q": "npm run build-ts",
|
|
21
|
-
"test": "jest --coverage ",
|
|
22
|
-
"watch-test": "npm run test --watchAll",
|
|
23
|
-
"build-ts": "tsc",
|
|
24
|
-
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
25
|
-
"copy-static-assets": "ts-node copyStaticAssets.ts"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [
|
|
28
|
-
"jit",
|
|
29
|
-
"engine",
|
|
30
|
-
"jit-engine"
|
|
31
|
-
],
|
|
32
|
-
"author": "Noah",
|
|
33
|
-
"license": "ISC",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"fs-extra": "^8.1.0",
|
|
36
|
-
"lodash": "^4.17.10",
|
|
37
|
-
"prettier": "^1.18.2",
|
|
38
|
-
"pug": "^2.0.0-rc.4",
|
|
39
|
-
"read-package-tree": "^5.3.1",
|
|
40
|
-
"typescript-ioc": "^1.2.4",
|
|
41
|
-
"yargs": "^12.0.1"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@types/fs-extra": "^8.1.1",
|
|
45
|
-
"@types/jest": "24.0.15",
|
|
46
|
-
"@types/lodash": "^4.14.91",
|
|
47
|
-
"@types/node": "^12.6.1",
|
|
48
|
-
"@types/prettier": "^1.18.0",
|
|
49
|
-
"@types/pug": "^2.0.4",
|
|
50
|
-
"@types/yargs": "^11.1.1",
|
|
51
|
-
"jest": "^24.8.0",
|
|
52
|
-
"ts-jest": "^24.0.2",
|
|
53
|
-
"ts-node": "^8.3.0",
|
|
54
|
-
"tslint": "^5.18.0",
|
|
55
|
-
"typescript": "^3.5.3"
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@farris/jit-engine",
|
|
3
|
+
"version": "1.4.49",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./lib/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"jit": "./bin/index.js"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">= 6.9.0",
|
|
11
|
+
"npm": ">= 3.0.0"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/",
|
|
15
|
+
"bin/",
|
|
16
|
+
"ioc.config"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "npm run build-ts && npm run copy-static-assets",
|
|
20
|
+
"build-q": "npm run build-ts",
|
|
21
|
+
"test": "jest --coverage ",
|
|
22
|
+
"watch-test": "npm run test --watchAll",
|
|
23
|
+
"build-ts": "tsc",
|
|
24
|
+
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
25
|
+
"copy-static-assets": "ts-node copyStaticAssets.ts"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"jit",
|
|
29
|
+
"engine",
|
|
30
|
+
"jit-engine"
|
|
31
|
+
],
|
|
32
|
+
"author": "Noah",
|
|
33
|
+
"license": "ISC",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"fs-extra": "^8.1.0",
|
|
36
|
+
"lodash": "^4.17.10",
|
|
37
|
+
"prettier": "^1.18.2",
|
|
38
|
+
"pug": "^2.0.0-rc.4",
|
|
39
|
+
"read-package-tree": "^5.3.1",
|
|
40
|
+
"typescript-ioc": "^1.2.4",
|
|
41
|
+
"yargs": "^12.0.1"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/fs-extra": "^8.1.1",
|
|
45
|
+
"@types/jest": "24.0.15",
|
|
46
|
+
"@types/lodash": "^4.14.91",
|
|
47
|
+
"@types/node": "^12.6.1",
|
|
48
|
+
"@types/prettier": "^1.18.0",
|
|
49
|
+
"@types/pug": "^2.0.4",
|
|
50
|
+
"@types/yargs": "^11.1.1",
|
|
51
|
+
"jest": "^24.8.0",
|
|
52
|
+
"ts-jest": "^24.0.2",
|
|
53
|
+
"ts-node": "^8.3.0",
|
|
54
|
+
"tslint": "^5.18.0",
|
|
55
|
+
"typescript": "^3.5.3"
|
|
56
|
+
}
|
|
57
57
|
}
|