@farris/jit-engine 1.4.92 → 1.4.93
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
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
-var stringTitle = String(variable.title)
|
|
2
2
|
-var localTitle = /[\s\S]*?\{\{=([\s\S]+?)\}\}[\s\S]*?/g.test(stringTitle) ? variable.title : `{{= translate('${stringTitle}') || '${stringTitle}'}}`
|
|
3
3
|
|
|
4
|
-
if(variable.showTitle && variable.showTitleType === "custom")
|
|
4
|
+
if(variable.showTitle && stringTitle && variable.showTitleType === "custom")
|
|
5
5
|
div(class="fm-apply-panel-list" data-navigable="true")
|
|
6
6
|
div(class="panel-list--header")
|
|
7
7
|
h5(class="panel-list--header-title header-title--with-icon")
|
|
8
8
|
i(class="fm-icon fm-icon-triangle")
|
|
9
9
|
span(class="header-title-text")
|
|
10
10
|
| !{localTitle}
|
|
11
|
-
div(class="fm-apply-panel")
|
|
11
|
+
div(class="fm-apply-panel fm-apply-html-panel")
|
|
12
12
|
if(variable.contents && variable.contents.length > 0)
|
|
13
13
|
| {{content}}
|
|
14
|
-
else if(variable.showTitle && variable.headerIcon)
|
|
14
|
+
else if(variable.showTitle && variable.headerIcon && variable.showTitleType !== "custom")
|
|
15
15
|
div(class="fm-apply-panel-list" data-navigable="true")
|
|
16
16
|
div(class="panel-list--header")
|
|
17
17
|
h5(class="panel-list--header-title header-title--with-icon")
|
|
18
18
|
span(class="img-round--wrapper "+(variable.headerIcon && variable.headerIcon.color?"fm-bg-icon-"+""+variable.headerIcon.color+"":""))
|
|
19
19
|
i(class="fm-icon "+(variable.headerIcon && variable.headerIcon.icon ? "fm-icon-" + ""+variable.headerIcon.icon+"": ""))
|
|
20
20
|
| !{localTitle}
|
|
21
|
-
div(class="fm-apply-panel")
|
|
21
|
+
div(class="fm-apply-panel fm-apply-html-panel")
|
|
22
22
|
if(variable.contents && variable.contents.length > 0)
|
|
23
23
|
| {{content}}
|
|
24
|
-
else if(variable.showTitle && !variable.headerIcon)
|
|
24
|
+
else if(variable.showTitle && stringTitle && !variable.headerIcon && variable.showTitleType !== "custom")
|
|
25
25
|
div(class="fm-apply-panel-list" data-navigable="true")
|
|
26
26
|
div(class="panel-list--header")
|
|
27
27
|
h5(class="panel-list--header-title header-title--with-icon")
|
|
28
28
|
| !{localTitle}
|
|
29
|
-
div(class="fm-apply-panel")
|
|
29
|
+
div(class="fm-apply-panel fm-apply-html-panel")
|
|
30
30
|
if(variable.contents && variable.contents.length > 0)
|
|
31
31
|
| {{content}}
|
|
32
32
|
else
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
div(class="fm-apply-panel-list")
|
|
34
|
+
div(class="fm-apply-panel fm-apply-html-panel fm-apply-html-panel--no-header")
|
|
35
|
+
if(variable.contents && variable.contents.length > 0)
|
|
36
|
+
| {{content}}
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
2
|
+
"_from": "@farris/jit-engine@1.4.93",
|
|
3
|
+
"_id": "@farris/jit-engine@1.4.93",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-tKm8vZeu/+ivJ2hPg88YTJ/je+OTvlYYib69rNRHjMk6zLLvqKQv7org7X+PA9EItg+2DdY7bRQALlsBt9SzYA==",
|
|
6
|
+
"_location": "/@farris/jit-engine",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "version",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "@farris/jit-engine@1.4.93",
|
|
12
|
+
"name": "@farris/jit-engine",
|
|
13
|
+
"escapedName": "@farris%2fjit-engine",
|
|
14
|
+
"scope": "@farris",
|
|
15
|
+
"rawSpec": "1.4.93",
|
|
16
|
+
"saveSpec": null,
|
|
17
|
+
"fetchSpec": "1.4.93"
|
|
12
18
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"ioc.config"
|
|
19
|
+
"_requiredBy": [
|
|
20
|
+
"#USER",
|
|
21
|
+
"/"
|
|
17
22
|
],
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
25
|
-
"copy-static-assets": "ts-node copyStaticAssets.ts"
|
|
23
|
+
"_resolved": "https://registry.npmjs.org/@farris/jit-engine/-/jit-engine-1.4.93.tgz",
|
|
24
|
+
"_shasum": "d8bbe29bc300c0fc833bad1054f637ebd9959335",
|
|
25
|
+
"_spec": "@farris/jit-engine@1.4.93",
|
|
26
|
+
"_where": "D:\\Downloads\\npm",
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "Noah"
|
|
26
29
|
},
|
|
27
|
-
"
|
|
28
|
-
"jit"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
],
|
|
32
|
-
"author": "Noah",
|
|
33
|
-
"license": "ISC",
|
|
30
|
+
"bin": {
|
|
31
|
+
"jit": "bin/index.js"
|
|
32
|
+
},
|
|
33
|
+
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"fs-extra": "^8.1.0",
|
|
36
36
|
"lodash": "^4.17.10",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"typescript-ioc": "^1.2.4",
|
|
41
41
|
"yargs": "^12.0.1"
|
|
42
42
|
},
|
|
43
|
+
"deprecated": false,
|
|
44
|
+
"description": "1.4.90",
|
|
43
45
|
"devDependencies": {
|
|
44
46
|
"@types/fs-extra": "^8.1.1",
|
|
45
47
|
"@types/jest": "24.0.15",
|
|
@@ -53,5 +55,32 @@
|
|
|
53
55
|
"ts-node": "^8.3.0",
|
|
54
56
|
"tslint": "^5.18.0",
|
|
55
57
|
"typescript": "^3.5.3"
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">= 6.9.0",
|
|
61
|
+
"npm": ">= 3.0.0"
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"lib/",
|
|
65
|
+
"bin/",
|
|
66
|
+
"ioc.config"
|
|
67
|
+
],
|
|
68
|
+
"keywords": [
|
|
69
|
+
"jit",
|
|
70
|
+
"engine",
|
|
71
|
+
"jit-engine"
|
|
72
|
+
],
|
|
73
|
+
"license": "ISC",
|
|
74
|
+
"main": "./lib/index.js",
|
|
75
|
+
"name": "@farris/jit-engine",
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "npm run build-ts && npm run copy-static-assets",
|
|
78
|
+
"build-q": "npm run build-ts",
|
|
79
|
+
"build-ts": "tsc",
|
|
80
|
+
"copy-static-assets": "ts-node copyStaticAssets.ts",
|
|
81
|
+
"test": "jest --coverage ",
|
|
82
|
+
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
83
|
+
"watch-test": "npm run test --watchAll"
|
|
84
|
+
},
|
|
85
|
+
"version": "1.4.93"
|
|
86
|
+
}
|