@lcap/nasl 3.5.0-beta.4 → 3.6.0-alpha.1
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/out/bak/translator.js +39 -119
- package/out/bak/translator.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +0 -3
- package/out/breakpoint/generator/BreakpointNode.js +0 -9
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/breakpoint/shared/constants.js +0 -1
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/breakpoint/shared/utils.js +7 -31
- package/out/breakpoint/shared/utils.js.map +1 -1
- package/out/common/BaseNode.d.ts +13 -1
- package/out/common/BaseNode.js +52 -23
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/Command.js +1 -0
- package/out/common/Command.js.map +1 -1
- package/out/common/EventEmitter.d.ts +1 -1
- package/out/common/EventEmitter.js +0 -4
- package/out/common/EventEmitter.js.map +1 -1
- package/out/concepts/App__.d.ts +76 -51
- package/out/concepts/App__.js +190 -87
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/BackendVariable__.js +2 -10
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/BindAttribute__.js +6 -16
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +0 -1
- package/out/concepts/BindDirective__.js +4 -19
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +1 -3
- package/out/concepts/BindEvent__.js +13 -38
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/CallFunction__.js +2 -10
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +0 -2
- package/out/concepts/CallLogic__.js +27 -38
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/Constant__.js +6 -7
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +1 -1
- package/out/concepts/Destination__.js +4 -6
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.js +1 -2
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +1 -1
- package/out/concepts/Entity__.js +2 -0
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/Event__.d.ts +0 -14
- package/out/concepts/Event__.js +0 -61
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +88 -0
- package/out/concepts/Frontend__.js +143 -1
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +0 -5
- package/out/concepts/Identifier__.js +9 -19
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +1 -1
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +1 -3
- package/out/concepts/Logic__.js +13 -16
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +1 -1
- package/out/concepts/MemberExpression__.js +3 -3
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/Param__.js +3 -11
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/ProcessElement__.js +1 -9
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/Return__.js +9 -17
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Variable__.js +8 -17
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +2 -17
- package/out/concepts/ViewElement__.js +31 -143
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +6 -6
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/index__.d.ts +0 -5
- package/out/concepts/index__.js +0 -5
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +3 -258
- package/out/concepts/utils/asserts.js +13 -351
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +3 -20
- package/out/generator/genBundleFiles.js +11 -25
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genReleaseBody.js +3 -12
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/generator/permission.js +3 -3
- package/out/generator/permission.js.map +1 -1
- package/out/natural/transformTSCode.js +1 -1
- package/out/natural/transformTSCode.js.map +1 -1
- package/out/server/extendBaseNode.js +22 -6
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/getLogics.js +27 -62
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +1 -6
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.js +11 -28
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +1 -6
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.js +26 -2
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +6 -6
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +16 -16
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.d.ts +27 -0
- package/out/templator/genCurdMultipleKeyBlock.js +709 -37
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genGetBlock.js +4 -4
- package/out/templator/genGetBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +12 -12
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +4 -4
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genSelectBlock.js +3 -3
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genTableBlock.d.ts +2 -0
- package/out/templator/genTableBlock.js +124 -11
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +8 -8
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/templator/utils.d.ts +2 -2
- package/out/templator/utils.js.map +1 -1
- package/out/translator/utils.js +18 -0
- package/out/translator/utils.js.map +1 -1
- package/out/utils/i18nInfo.js +2 -7
- package/out/utils/i18nInfo.js.map +1 -1
- package/package.json +2 -2
- package/src/bak/translator.js +43 -121
- package/src/breakpoint/generator/BreakpointNode.ts +0 -12
- package/src/breakpoint/shared/constants.ts +0 -1
- package/src/breakpoint/shared/utils.ts +10 -37
- package/src/common/BaseNode.ts +60 -22
- package/src/common/Command.ts +1 -0
- package/src/common/EventEmitter.ts +1 -6
- package/src/concepts/App__.ts +251 -139
- package/src/concepts/BackendVariable__.ts +2 -10
- package/src/concepts/BindAttribute__.ts +6 -15
- package/src/concepts/BindDirective__.ts +4 -19
- package/src/concepts/BindEvent__.ts +12 -40
- package/src/concepts/CallFunction__.ts +2 -10
- package/src/concepts/CallLogic__.ts +32 -45
- package/src/concepts/Constant__.ts +7 -5
- package/src/concepts/Destination__.ts +4 -6
- package/src/concepts/End__.ts +0 -1
- package/src/concepts/Entity__.ts +3 -1
- package/src/concepts/Event__.ts +0 -70
- package/src/concepts/Frontend__.ts +251 -3
- package/src/concepts/Identifier__.ts +13 -29
- package/src/concepts/LogicItem__.ts +0 -1
- package/src/concepts/Logic__.ts +14 -21
- package/src/concepts/MemberExpression__.ts +3 -3
- package/src/concepts/NewComposite__.ts +6 -4
- package/src/concepts/Param__.ts +3 -11
- package/src/concepts/ProcessElement__.ts +1 -8
- package/src/concepts/Return__.ts +12 -15
- package/src/concepts/Variable__.ts +9 -17
- package/src/concepts/ViewElement__.ts +54 -166
- package/src/concepts/View__.ts +6 -8
- package/src/concepts/index__.ts +0 -5
- package/src/concepts/utils/asserts.ts +4 -367
- package/src/concepts/utils/types.ts +0 -28
- package/src/generator/genBundleFiles.ts +15 -33
- package/src/generator/genReleaseBody.ts +3 -14
- package/src/generator/permission.ts +6 -8
- package/src/natural/transformTSCode.ts +1 -1
- package/src/server/extendBaseNode.ts +41 -22
- package/src/server/getLogics.ts +41 -79
- package/src/server/getMemberIdentifier.ts +1 -7
- package/src/server/naslServer.ts +12 -30
- package/src/server/translator.ts +1 -7
- package/src/service/storage/init.ts +33 -2
- package/src/templator/genCreateBlock.ts +6 -6
- package/src/templator/genCurdEditMultipleKeyBlock.ts +16 -16
- package/src/templator/genCurdMultipleKeyBlock.ts +817 -93
- package/src/templator/genGetBlock.ts +4 -4
- package/src/templator/genGridViewBlock.ts +12 -12
- package/src/templator/genListViewBlock.ts +4 -4
- package/src/templator/genSelectBlock.ts +3 -3
- package/src/templator/genTableBlock.ts +137 -12
- package/src/templator/genUpdateBlock.ts +8 -8
- package/src/templator/utils.ts +2 -2
- package/src/translator/utils.ts +20 -0
- package/src/utils/i18nInfo.ts +2 -7
- package/test/concepts/call-function/fixtures/from-string.json +59 -68
- package/test/concepts/call-function/fixtures/to-string-global-tz.json +58 -67
- package/test/concepts/call-function/fixtures/to-string-no-tz.json +48 -57
- package/test/concepts/call-function/fixtures/to-string-user-tz.json +60 -69
- package/test/concepts/call-function/fixtures/to-string-utc-tz.json +60 -69
- package/test/concepts/call-interface/fixtures/only-interface.json +72 -81
- package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +214 -223
- package/test/concepts/call-interface/fixtures/with-body-no-argument.json +76 -85
- package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +91 -100
- package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +79 -88
- package/test/concepts/call-interface/fixtures/with-headers.json +81 -90
- package/test/concepts/call-interface/fixtures/with-query-no-argument.json +79 -88
- package/test/concepts/call-interface/fixtures/with-query.json +81 -90
- package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +2 -4
- package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +95 -104
- package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +200 -209
- package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +88 -97
- package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +115 -124
- package/test/concepts/call-logic/fixtures/json-deserialize.json +111 -120
- package/test/concepts/call-logic/fixtures/json-serialize-with-string.json +115 -124
- package/test/concepts/call-logic/fixtures/json-serialize.json +115 -124
- package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +82 -91
- package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +79 -88
- package/test/concepts/call-logic/fixtures/view-component-with-validation.json +135 -144
- package/test/concepts/identifier/fixtures/view-variable.json +136 -145
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +1 -1
- package/test/concepts/view-element/fixtures/default-login.json +212 -221
- package/test/concepts/view-element/fixtures/default-not-found.json +174 -183
- package/test/concepts/view-element/fixtures/with-role-auth.json +82 -91
- package/test/concepts/view-element/fixtures/with-table.json +1834 -1843
- package/test/concepts/view-element/toVue.spec.ts +0 -1
- package/ts-worker/package.json +1 -1
- package/out/concepts/BusinessComponent__.d.ts +0 -641
- package/out/concepts/BusinessComponent__.js +0 -1901
- package/out/concepts/BusinessComponent__.js.map +0 -1
- package/out/concepts/BusinessLogic__.d.ts +0 -38
- package/out/concepts/BusinessLogic__.js +0 -358
- package/out/concepts/BusinessLogic__.js.map +0 -1
- package/out/concepts/CallEvent__.d.ts +0 -97
- package/out/concepts/CallEvent__.js +0 -263
- package/out/concepts/CallEvent__.js.map +0 -1
- package/out/concepts/FrontendType__.d.ts +0 -308
- package/out/concepts/FrontendType__.js +0 -605
- package/out/concepts/FrontendType__.js.map +0 -1
- package/out/concepts/ParamWithGroup__.d.ts +0 -39
- package/out/concepts/ParamWithGroup__.js +0 -85
- package/out/concepts/ParamWithGroup__.js.map +0 -1
- package/src/concepts/BusinessComponent__.ts +0 -2669
- package/src/concepts/BusinessLogic__.ts +0 -376
- package/src/concepts/CallEvent__.ts +0 -334
- package/src/concepts/FrontendType__.ts +0 -919
- package/src/concepts/ParamWithGroup__.ts +0 -101
|
@@ -16,51 +16,79 @@
|
|
|
16
16
|
"logics": [],
|
|
17
17
|
"overriddenLogics": [],
|
|
18
18
|
"interfaces": [],
|
|
19
|
-
"
|
|
19
|
+
"frontends": [
|
|
20
20
|
{
|
|
21
|
-
"concept": "
|
|
21
|
+
"concept": "Frontend",
|
|
22
22
|
"name": "pc",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"title": "PC端",
|
|
24
|
+
"type": "pc",
|
|
25
|
+
"path": "/",
|
|
26
|
+
"documentTitle": null,
|
|
27
|
+
"documentIcon": null,
|
|
28
|
+
"bindEvents": [],
|
|
29
|
+
"views": [
|
|
25
30
|
{
|
|
26
|
-
"concept": "
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
31
|
+
"concept": "View",
|
|
32
|
+
"changedTime": 1666872844746,
|
|
33
|
+
"name": "login",
|
|
34
|
+
"uuid": null,
|
|
35
|
+
"title": "登录页",
|
|
36
|
+
"auth": false,
|
|
37
|
+
"isIndex": false,
|
|
38
|
+
"script": "export default {\n data() {\n const { tenant, domainName, env, nuimsDomain = 'user.lcap.163yun.com' } = window.appInfo;\n const envUri = env === 'dev' ? 'dev.' : '';\n return {\n // window 等变量暂时不支持变成 ASL\n tenantName: tenant,\n domainName,\n env,\n src: `${window.location.protocol}//${envUri}${tenant}.${nuimsDomain}`,\n };\n },\n methods: {\n onSuccess() {\n location.href = '/';\n },\n },\n};\n",
|
|
39
|
+
"elements": [
|
|
35
40
|
{
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
41
|
+
"__$Selected": true,
|
|
42
|
+
"concept": "ViewElement",
|
|
43
|
+
"changedTime": 1666872844729,
|
|
44
|
+
"name": "uLinearLayout1",
|
|
45
|
+
"type": 0,
|
|
46
|
+
"tag": "u-linear-layout",
|
|
47
|
+
"staticStyle": "background: url('/assets/login-bg-1.jpg') no-repeat; background-size: cover; height: 100vh;",
|
|
48
|
+
"bindAttrs": [
|
|
49
|
+
{
|
|
50
|
+
"concept": "BindAttribute",
|
|
51
|
+
"name": "alignment",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"value": "center",
|
|
54
|
+
"rules": [],
|
|
55
|
+
"model": false,
|
|
56
|
+
"sync": false,
|
|
57
|
+
"playground": []
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"concept": "BindAttribute",
|
|
61
|
+
"name": "justify",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"value": "center",
|
|
64
|
+
"rules": [],
|
|
65
|
+
"model": false,
|
|
66
|
+
"sync": false,
|
|
67
|
+
"playground": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"concept": "BindAttribute",
|
|
71
|
+
"name": "type",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"value": "flex",
|
|
74
|
+
"rules": [],
|
|
75
|
+
"model": false,
|
|
76
|
+
"sync": false,
|
|
77
|
+
"playground": []
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"bindEvents": [],
|
|
81
|
+
"bindDirectives": [],
|
|
82
|
+
"bindRoles": [],
|
|
83
|
+
"bindStyles": [],
|
|
84
|
+
"children": [
|
|
45
85
|
{
|
|
46
|
-
"__$Selected": true,
|
|
47
86
|
"concept": "ViewElement",
|
|
48
|
-
"changedTime":
|
|
49
|
-
"name": "
|
|
87
|
+
"changedTime": 1666872844712,
|
|
88
|
+
"name": "uLinearLayout2",
|
|
50
89
|
"type": 0,
|
|
51
90
|
"tag": "u-linear-layout",
|
|
52
|
-
"staticStyle": "background: url('/assets/login-bg-1.jpg') no-repeat; background-size: cover; height: 100vh;",
|
|
53
91
|
"bindAttrs": [
|
|
54
|
-
{
|
|
55
|
-
"concept": "BindAttribute",
|
|
56
|
-
"name": "alignment",
|
|
57
|
-
"type": "string",
|
|
58
|
-
"value": "center",
|
|
59
|
-
"rules": [],
|
|
60
|
-
"model": false,
|
|
61
|
-
"sync": false,
|
|
62
|
-
"playground": []
|
|
63
|
-
},
|
|
64
92
|
{
|
|
65
93
|
"concept": "BindAttribute",
|
|
66
94
|
"name": "justify",
|
|
@@ -73,9 +101,9 @@
|
|
|
73
101
|
},
|
|
74
102
|
{
|
|
75
103
|
"concept": "BindAttribute",
|
|
76
|
-
"name": "
|
|
104
|
+
"name": "direction",
|
|
77
105
|
"type": "string",
|
|
78
|
-
"value": "
|
|
106
|
+
"value": "vertical",
|
|
79
107
|
"rules": [],
|
|
80
108
|
"model": false,
|
|
81
109
|
"sync": false,
|
|
@@ -89,32 +117,10 @@
|
|
|
89
117
|
"children": [
|
|
90
118
|
{
|
|
91
119
|
"concept": "ViewElement",
|
|
92
|
-
"
|
|
93
|
-
"name": "uLinearLayout2",
|
|
120
|
+
"name": "h11",
|
|
94
121
|
"type": 0,
|
|
95
|
-
"tag": "
|
|
96
|
-
"bindAttrs": [
|
|
97
|
-
{
|
|
98
|
-
"concept": "BindAttribute",
|
|
99
|
-
"name": "justify",
|
|
100
|
-
"type": "string",
|
|
101
|
-
"value": "center",
|
|
102
|
-
"rules": [],
|
|
103
|
-
"model": false,
|
|
104
|
-
"sync": false,
|
|
105
|
-
"playground": []
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"concept": "BindAttribute",
|
|
109
|
-
"name": "direction",
|
|
110
|
-
"type": "string",
|
|
111
|
-
"value": "vertical",
|
|
112
|
-
"rules": [],
|
|
113
|
-
"model": false,
|
|
114
|
-
"sync": false,
|
|
115
|
-
"playground": []
|
|
116
|
-
}
|
|
117
|
-
],
|
|
122
|
+
"tag": "h1",
|
|
123
|
+
"bindAttrs": [],
|
|
118
124
|
"bindEvents": [],
|
|
119
125
|
"bindDirectives": [],
|
|
120
126
|
"bindRoles": [],
|
|
@@ -122,195 +128,180 @@
|
|
|
122
128
|
"children": [
|
|
123
129
|
{
|
|
124
130
|
"concept": "ViewElement",
|
|
125
|
-
"name": "
|
|
131
|
+
"name": "uText1",
|
|
126
132
|
"type": 0,
|
|
127
|
-
"tag": "
|
|
128
|
-
"bindAttrs": [],
|
|
129
|
-
"bindEvents": [],
|
|
130
|
-
"bindDirectives": [],
|
|
131
|
-
"bindRoles": [],
|
|
132
|
-
"bindStyles": [],
|
|
133
|
-
"children": [
|
|
134
|
-
{
|
|
135
|
-
"concept": "ViewElement",
|
|
136
|
-
"name": "uText1",
|
|
137
|
-
"type": 0,
|
|
138
|
-
"tag": "u-text",
|
|
139
|
-
"bindAttrs": [
|
|
140
|
-
{
|
|
141
|
-
"concept": "BindAttribute",
|
|
142
|
-
"name": "text",
|
|
143
|
-
"type": "string",
|
|
144
|
-
"value": "登录",
|
|
145
|
-
"rules": [],
|
|
146
|
-
"model": false,
|
|
147
|
-
"sync": false,
|
|
148
|
-
"playground": []
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"bindEvents": [],
|
|
152
|
-
"bindDirectives": [],
|
|
153
|
-
"bindRoles": [],
|
|
154
|
-
"bindStyles": [],
|
|
155
|
-
"children": []
|
|
156
|
-
}
|
|
157
|
-
]
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"concept": "ViewElement",
|
|
161
|
-
"changedTime": 1666872844695,
|
|
162
|
-
"name": "lcap_login1",
|
|
163
|
-
"tag": "lcap-login",
|
|
133
|
+
"tag": "u-text",
|
|
164
134
|
"bindAttrs": [
|
|
165
135
|
{
|
|
166
136
|
"concept": "BindAttribute",
|
|
167
|
-
"name": "
|
|
137
|
+
"name": "text",
|
|
168
138
|
"type": "string",
|
|
169
|
-
"value": "
|
|
170
|
-
"rules": [],
|
|
171
|
-
"playground": []
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"concept": "BindAttribute",
|
|
175
|
-
"changedTime": 1666872844534,
|
|
176
|
-
"name": "useRedirect",
|
|
177
|
-
"type": "static",
|
|
178
|
-
"value": true,
|
|
179
|
-
"rules": [],
|
|
180
|
-
"playground": []
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"concept": "BindAttribute",
|
|
184
|
-
"changedTime": 1666872844674,
|
|
185
|
-
"name": "mainLoginTypes",
|
|
186
|
-
"type": "static",
|
|
187
|
-
"value": "[{\"name\":\"Normal\",\"title\":\"普通登录\",\"type\":\"boolean\",\"default\":true,\"description\":\"是否开启普通登录,默认开启\",\"hidden\":true,\"plugin\":false,\"extendProperties\":{}}]",
|
|
139
|
+
"value": "登录",
|
|
188
140
|
"rules": [],
|
|
141
|
+
"model": false,
|
|
142
|
+
"sync": false,
|
|
189
143
|
"playground": []
|
|
190
144
|
}
|
|
191
145
|
],
|
|
192
|
-
"bindEvents": [
|
|
146
|
+
"bindEvents": [],
|
|
147
|
+
"bindDirectives": [],
|
|
148
|
+
"bindRoles": [],
|
|
149
|
+
"bindStyles": [],
|
|
150
|
+
"children": []
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"concept": "ViewElement",
|
|
156
|
+
"changedTime": 1666872844695,
|
|
157
|
+
"name": "lcap_login1",
|
|
158
|
+
"tag": "lcap-login",
|
|
159
|
+
"bindAttrs": [
|
|
160
|
+
{
|
|
161
|
+
"concept": "BindAttribute",
|
|
162
|
+
"name": "src",
|
|
163
|
+
"type": "string",
|
|
164
|
+
"value": "http://nuims.vusion.top",
|
|
165
|
+
"rules": [],
|
|
166
|
+
"playground": []
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"concept": "BindAttribute",
|
|
170
|
+
"changedTime": 1666872844534,
|
|
171
|
+
"name": "useRedirect",
|
|
172
|
+
"type": "static",
|
|
173
|
+
"value": true,
|
|
174
|
+
"rules": [],
|
|
175
|
+
"playground": []
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"concept": "BindAttribute",
|
|
179
|
+
"changedTime": 1666872844674,
|
|
180
|
+
"name": "mainLoginTypes",
|
|
181
|
+
"type": "static",
|
|
182
|
+
"value": "[{\"name\":\"Normal\",\"title\":\"普通登录\",\"type\":\"boolean\",\"default\":true,\"description\":\"是否开启普通登录,默认开启\",\"hidden\":true,\"plugin\":false,\"extendProperties\":{}}]",
|
|
183
|
+
"rules": [],
|
|
184
|
+
"playground": []
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"bindEvents": [
|
|
188
|
+
{
|
|
189
|
+
"concept": "BindEvent",
|
|
190
|
+
"name": "success",
|
|
191
|
+
"logics": [
|
|
193
192
|
{
|
|
194
|
-
"concept": "
|
|
193
|
+
"concept": "Logic",
|
|
195
194
|
"name": "success",
|
|
196
|
-
"
|
|
195
|
+
"typeParams": null,
|
|
196
|
+
"params": [],
|
|
197
|
+
"returns": [],
|
|
198
|
+
"variables": [],
|
|
199
|
+
"body": [
|
|
197
200
|
{
|
|
198
|
-
"concept": "
|
|
199
|
-
"name": "
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
201
|
+
"concept": "Start",
|
|
202
|
+
"name": "",
|
|
203
|
+
"label": "开始",
|
|
204
|
+
"folded": false
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"concept": "CallLogic",
|
|
208
|
+
"name": "",
|
|
209
|
+
"label": "输出日志",
|
|
210
|
+
"folded": false,
|
|
211
|
+
"uuid": "7101d7076eba42dcb38140f10d5fb8ef",
|
|
212
|
+
"calleeNamespace": "nasl.util",
|
|
213
|
+
"calleeName": "consoleLog",
|
|
214
|
+
"shortcut": true,
|
|
215
|
+
"typeArguments": null,
|
|
216
|
+
"arguments": [
|
|
211
217
|
{
|
|
212
|
-
"concept": "
|
|
218
|
+
"concept": "Argument",
|
|
213
219
|
"name": "",
|
|
214
|
-
"label": "输出日志",
|
|
215
220
|
"folded": false,
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
"name": "",
|
|
225
|
-
"folded": false,
|
|
226
|
-
"keyword": "arg",
|
|
227
|
-
"expression": {
|
|
228
|
-
"concept": "StringInterpolation",
|
|
221
|
+
"keyword": "arg",
|
|
222
|
+
"expression": {
|
|
223
|
+
"concept": "StringInterpolation",
|
|
224
|
+
"name": "",
|
|
225
|
+
"folded": false,
|
|
226
|
+
"expressions": [
|
|
227
|
+
{
|
|
228
|
+
"concept": "StringLiteral",
|
|
229
229
|
"name": "",
|
|
230
230
|
"folded": false,
|
|
231
|
-
"
|
|
232
|
-
{
|
|
233
|
-
"concept": "StringLiteral",
|
|
234
|
-
"name": "",
|
|
235
|
-
"folded": false,
|
|
236
|
-
"value": "成功登录"
|
|
237
|
-
}
|
|
238
|
-
]
|
|
231
|
+
"value": "成功登录"
|
|
239
232
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"concept": "End",
|
|
245
|
-
"name": "",
|
|
246
|
-
"label": "结束",
|
|
247
|
-
"folded": false
|
|
233
|
+
]
|
|
234
|
+
}
|
|
248
235
|
}
|
|
249
|
-
]
|
|
250
|
-
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"concept": "End",
|
|
240
|
+
"name": "",
|
|
241
|
+
"label": "结束",
|
|
242
|
+
"folded": false
|
|
251
243
|
}
|
|
252
244
|
],
|
|
253
|
-
"
|
|
245
|
+
"playground": []
|
|
254
246
|
}
|
|
255
247
|
],
|
|
256
|
-
"
|
|
257
|
-
"bindRoles": [],
|
|
258
|
-
"bindStyles": [],
|
|
259
|
-
"children": []
|
|
248
|
+
"arguments": []
|
|
260
249
|
}
|
|
261
|
-
]
|
|
250
|
+
],
|
|
251
|
+
"bindDirectives": [],
|
|
252
|
+
"bindRoles": [],
|
|
253
|
+
"bindStyles": [],
|
|
254
|
+
"children": []
|
|
262
255
|
}
|
|
263
256
|
]
|
|
264
257
|
}
|
|
265
|
-
]
|
|
266
|
-
"params": [],
|
|
267
|
-
"variables": [],
|
|
268
|
-
"logics": [],
|
|
269
|
-
"bindEvents": [],
|
|
270
|
-
"bindRoles": [],
|
|
271
|
-
"children": []
|
|
258
|
+
]
|
|
272
259
|
}
|
|
273
260
|
],
|
|
261
|
+
"params": [],
|
|
274
262
|
"variables": [],
|
|
275
|
-
"
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
"
|
|
309
|
-
"
|
|
263
|
+
"logics": [],
|
|
264
|
+
"bindEvents": [],
|
|
265
|
+
"bindRoles": [],
|
|
266
|
+
"children": []
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"variables": [],
|
|
270
|
+
"theme": {
|
|
271
|
+
"concept": "Theme",
|
|
272
|
+
"name": "",
|
|
273
|
+
"title": "默认主题样式",
|
|
274
|
+
"variableMap": {}
|
|
275
|
+
},
|
|
276
|
+
"componentDependencies": [
|
|
277
|
+
{
|
|
278
|
+
"concept": "Module",
|
|
279
|
+
"name": "lcap-login",
|
|
280
|
+
"type": "component",
|
|
281
|
+
"version": "1.2.2",
|
|
282
|
+
"title": null,
|
|
283
|
+
"description": null,
|
|
284
|
+
"externalDependencyMap": null,
|
|
285
|
+
"compilerInfoMap": null,
|
|
286
|
+
"dataSources": [],
|
|
287
|
+
"structures": [],
|
|
288
|
+
"enums": [],
|
|
289
|
+
"logics": [],
|
|
290
|
+
"interfaces": [],
|
|
291
|
+
"views": [],
|
|
292
|
+
"frontendVariables": [],
|
|
293
|
+
"processes": [],
|
|
294
|
+
"frontends": [],
|
|
295
|
+
"configuration": null,
|
|
296
|
+
"authLogics": null,
|
|
297
|
+
"authLogicsForCallInterface": [],
|
|
298
|
+
"triggerLaunchers": [],
|
|
299
|
+
"connections": [],
|
|
300
|
+
"dependencies": []
|
|
310
301
|
}
|
|
311
302
|
],
|
|
312
|
-
"
|
|
313
|
-
"
|
|
303
|
+
"globalScaleEnabled": false,
|
|
304
|
+
"canvasWidth": 0
|
|
314
305
|
}
|
|
315
306
|
],
|
|
316
307
|
"backend": {
|
|
@@ -339,4 +330,4 @@
|
|
|
339
330
|
"onDemandInterfaceGeneration": "true",
|
|
340
331
|
"serverValidationRules": "custom"
|
|
341
332
|
}
|
|
342
|
-
}
|
|
333
|
+
}
|