@lcap/nasl 2.18.0-beta.7 → 2.19.0-beta.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/automate/template/myProcess.js +1 -1
- package/out/automate/template/myProcess.js.map +1 -1
- package/out/bak/translator.js +2 -1
- package/out/bak/translator.js.map +1 -1
- package/out/common/Command.d.ts +1 -0
- package/out/common/Command.js +5 -1
- package/out/common/Command.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +1 -0
- package/out/concepts/AnonymousFunction__.js +40 -2
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +10 -0
- package/out/concepts/App__.js +132 -0
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Assignee__.js +4 -3
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/BatchAssignment__.d.ts +2 -0
- package/out/concepts/BatchAssignment__.js +45 -1
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BindAttribute__.js +8 -1
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/CallFunction__.js +51 -18
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.js +6 -4
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.js +87 -15
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.js +4 -1
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/DataSource__.d.ts +2 -0
- package/out/concepts/DataSource__.js +55 -1
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/ForEachStatement__.js +2 -0
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +1 -0
- package/out/concepts/Identifier__.js +18 -7
- 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 -0
- package/out/concepts/Logic__.js +27 -14
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/Match__.js +13 -8
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +345 -0
- package/out/concepts/NewComposite__.js +1067 -0
- package/out/concepts/NewComposite__.js.map +1 -0
- package/out/concepts/NewList__.d.ts +130 -0
- package/out/concepts/NewList__.js +353 -0
- package/out/concepts/NewList__.js.map +1 -0
- package/out/concepts/NewMap__.d.ts +221 -0
- package/out/concepts/NewMap__.js +492 -0
- package/out/concepts/NewMap__.js.map +1 -0
- package/out/concepts/New__.d.ts +19 -0
- package/out/concepts/New__.js +66 -0
- package/out/concepts/New__.js.map +1 -0
- package/out/concepts/Param__.d.ts +2 -0
- package/out/concepts/Param__.js +40 -3
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/ProcessElement__.js +31 -10
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.js +1 -1
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +30 -0
- package/out/concepts/{ConstructArgument__.js → ProcessOutcomes__.js} +27 -48
- package/out/concepts/ProcessOutcomes__.js.map +1 -0
- package/out/concepts/Return__.js +2 -1
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/SelectMembers__.js +3 -3
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/StringInterpolation__.js +12 -2
- package/out/concepts/StringInterpolation__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +4 -0
- package/out/concepts/TypeAnnotation__.js +66 -12
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/ValidationRule__.js +1 -1
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.js +2 -1
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewElement__.js +12 -0
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +1 -0
- package/out/concepts/View__.js +9 -0
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.logging.js +5 -0
- package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.js +2 -0
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +151 -19
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/index__.d.ts +5 -0
- package/out/concepts/index__.js +5 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/enums/KEYWORDS.js +1 -0
- package/out/enums/KEYWORDS.js.map +1 -1
- package/out/generator/genMetaData.js +1 -6
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +2 -0
- package/out/generator/genReleaseBody.js +18 -1
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/generator/index.d.ts +1 -0
- package/out/generator/index.js +1 -0
- package/out/generator/index.js.map +1 -1
- package/out/generator/permission.d.ts +9 -0
- package/out/generator/permission.js +235 -0
- package/out/generator/permission.js.map +1 -0
- package/out/index.d.ts +1 -1
- package/out/index.js +2 -1
- package/out/index.js.map +1 -1
- package/out/server/entity2LogicNamespace.js +69 -9
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/extendBaseNode.js +7 -3
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.js +6 -0
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getLogics.d.ts +2 -1
- package/out/server/getLogics.js +11 -0
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +1 -1
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.d.ts +1 -1
- package/out/server/naslServer.js +161 -22
- package/out/server/naslServer.js.map +1 -1
- package/out/server/process2LogicNamespace.js +8 -0
- package/out/server/process2LogicNamespace.js.map +1 -1
- package/out/server/translator.js +53 -8
- package/out/server/translator.js.map +1 -1
- package/out/service/creator/add.configs.js +4 -0
- package/out/service/creator/add.configs.js.map +1 -1
- package/out/service/datasource/api.d.ts +12 -0
- package/out/service/datasource/api.js +14 -0
- package/out/service/datasource/api.js.map +1 -0
- package/out/service/datasource/index.d.ts +2 -0
- package/out/service/datasource/index.js +10 -0
- package/out/service/datasource/index.js.map +1 -0
- package/out/service/storage/init.js +8 -1
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genEditTableBlock.js +4 -5
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genGetBlock.js +4 -3
- package/out/templator/genGetBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +16 -14
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +5 -5
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genTableBlock.js +6 -10
- package/out/templator/genTableBlock.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/dist/nasl.util.js +0 -0
- package/sandbox/stdlib/nasl.auth.ts +1 -1
- package/sandbox/stdlib/nasl.core.ts +4 -0
- package/sandbox/stdlib/nasl.logging.ts +4 -4
- package/sandbox/stdlib/nasl.util.ts +13 -4
- package/src/automate/template/myProcess.js +1 -1
- package/src/bak/translator.js +4 -1
- package/src/common/Command.ts +4 -0
- package/src/concepts/AnonymousFunction__.ts +48 -2
- package/src/concepts/App__.ts +140 -41
- package/src/concepts/Assignee__.ts +4 -3
- package/src/concepts/BatchAssignment__.ts +45 -1
- package/src/concepts/BindAttribute__.ts +9 -2
- package/src/concepts/CallFunction__.ts +65 -31
- package/src/concepts/CallInterface__.ts +6 -22
- package/src/concepts/CallLogic__.ts +62 -13
- package/src/concepts/CallQueryComponent__.ts +4 -1
- package/src/concepts/DataSource__.ts +56 -1
- package/src/concepts/ForEachStatement__.ts +2 -0
- package/src/concepts/Identifier__.ts +18 -7
- package/src/concepts/LogicItem__.ts +1 -1
- package/src/concepts/Logic__.ts +48 -32
- package/src/concepts/Match__.ts +12 -8
- package/src/concepts/NewComposite__.ts +1356 -0
- package/src/concepts/NewList__.ts +444 -0
- package/src/concepts/NewMap__.ts +678 -0
- package/src/concepts/New__.ts +73 -0
- package/src/concepts/Param__.ts +238 -199
- package/src/concepts/ProcessElement__.ts +32 -10
- package/src/concepts/ProcessOutcome__.ts +1 -1
- package/src/concepts/ProcessOutcomes__.ts +90 -0
- package/src/concepts/Return__.ts +4 -1
- package/src/concepts/SelectMembers__.ts +3 -3
- package/src/concepts/StringInterpolation__.ts +21 -11
- package/src/concepts/TypeAnnotation__.ts +71 -50
- package/src/concepts/ValidationRule__.ts +19 -1
- package/src/concepts/Variable__.ts +4 -1
- package/src/concepts/ViewElement__.ts +38 -1
- package/src/concepts/View__.ts +12 -2
- package/src/concepts/basics/stdlib/dist/nasl.util.js +133 -34
- package/src/concepts/basics/stdlib/nasl.auth.ts +1 -1
- package/src/concepts/basics/stdlib/nasl.logging.ts +5 -0
- package/src/concepts/basics/stdlib/nasl.ui.ts +2 -0
- package/src/concepts/basics/stdlib/nasl.util.ts +153 -19
- package/src/concepts/dist/BindAttribute__.js +760 -0
- package/src/concepts/dist/BindEvent__.js +732 -0
- package/src/concepts/dist/CallFunction__.js +21 -7
- package/src/concepts/dist/CallLogic__.js +50 -10
- package/src/concepts/dist/Identifier__.js +311 -0
- package/src/concepts/dist/StringInterpolation__.js +231 -0
- package/src/concepts/dist/TypeAnnotation__.js +834 -0
- package/src/concepts/dist/ViewElement__.js +12 -0
- package/src/concepts/dist/View__.js +1601 -0
- package/src/concepts/index__.ts +5 -0
- package/src/enums/KEYWORDS.ts +1 -0
- package/src/generator/dist/genMetaData.js +1 -5
- package/src/generator/dist/permission.js +392 -0
- package/src/generator/genMetaData.ts +1 -6
- package/src/generator/genReleaseBody.ts +21 -3
- package/src/generator/index.ts +1 -0
- package/src/generator/permission.ts +271 -0
- package/src/index.ts +1 -1
- package/src/server/dist/naslServer.js +385 -269
- package/src/server/entity2LogicNamespace.ts +70 -10
- package/src/server/extendBaseNode.ts +7 -3
- package/src/server/formatTsUtils.ts +6 -0
- package/src/server/getLogics.ts +13 -1
- package/src/server/getMemberIdentifier.ts +1 -1
- package/src/server/naslServer.ts +162 -29
- package/src/server/process2LogicNamespace.ts +8 -0
- package/src/server/translator.ts +52 -9
- package/src/service/creator/add.configs.js +4 -0
- package/src/service/dataSource/api.js +11 -0
- package/src/service/dataSource/index.js +6 -0
- package/src/service/storage/dist/init.js +8 -1
- package/src/service/storage/init.ts +9 -2
- package/src/service/video/VideoTranscribe.js +1 -0
- package/src/templator/dist/genEditTableBlock.js +204 -0
- package/src/templator/dist/genGridViewBlock.js +265 -0
- package/src/templator/dist/genListViewBlock.js +84 -0
- package/src/templator/dist/genTableBlock.js +209 -0
- package/src/templator/dist/utils.js +527 -0
- package/src/templator/genEditTableBlock.ts +8 -16
- package/src/templator/genGetBlock.ts +18 -19
- package/src/templator/genGridViewBlock.ts +18 -18
- package/src/templator/genListViewBlock.ts +8 -11
- package/src/templator/genTableBlock.ts +6 -10
- package/ts-worker/dist/webpack.config.dev.js +1 -3
- package/ts-worker/lib/tsserver.js +8 -1
- package/out/automate/engine/2.14-components.d.ts +0 -1115
- package/out/automate/engine/2.14-components.js +0 -1087
- package/out/automate/engine/2.14-components.js.map +0 -1
- package/out/concepts/ConstructArgument__.d.ts +0 -40
- package/out/concepts/ConstructArgument__.js.map +0 -1
- package/out/concepts/Construct__.d.ts +0 -189
- package/out/concepts/Construct__.js +0 -340
- package/out/concepts/Construct__.js.map +0 -1
- package/out/concepts/MatchExpression__.d.ts +0 -97
- package/out/concepts/MatchExpression__.js +0 -281
- package/out/concepts/MatchExpression__.js.map +0 -1
- package/out/templator/sql-parser/index.d.ts +0 -1
- package/out/templator/sql-parser/index.js +0 -228
- package/out/templator/sql-parser/index.js.map +0 -1
- package/out/templator/sql-parser/parser.js +0 -26664
- package/out/templator/sql-parser/parser.js.map +0 -1
- package/src/concepts/dist/Anchor__.js +0 -179
- package/src/concepts/dist/Assignment__.js +0 -301
- package/src/concepts/dist/CallInterface__.js +0 -533
- package/src/concepts/dist/ForEachStatement__.js +0 -426
- package/src/concepts/dist/MatchCase__.js +0 -587
- package/src/concepts/dist/Match__.js +0 -631
- package/src/concepts/dist/MemberExpression__.js +0 -348
- package/src/concepts/dist/Param__.js +0 -538
- package/src/concepts/dist/Return__.js +0 -494
- package/src/concepts/dist/Variable__.js +0 -537
- package/src/server/dist/formatTsUtils.js +0 -683
|
@@ -12,6 +12,7 @@ var Identifier__1 = require("../../Identifier__");
|
|
|
12
12
|
var BooleanLiteral__1 = require("../../BooleanLiteral__");
|
|
13
13
|
var StringLiteral__1 = require("../../StringLiteral__");
|
|
14
14
|
var AnonymousFunction__1 = require("../../AnonymousFunction__");
|
|
15
|
+
var StringInterpolation__1 = require("../../StringInterpolation__");
|
|
15
16
|
exports["default"] = new Namespace__1["default"]({
|
|
16
17
|
name: 'util',
|
|
17
18
|
logics: [
|
|
@@ -20,7 +21,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
20
21
|
params: [
|
|
21
22
|
new Param__1["default"]({
|
|
22
23
|
name: 'arg',
|
|
23
|
-
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
24
|
+
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String'),
|
|
25
|
+
defaultExpression: new StringInterpolation__1["default"]()
|
|
24
26
|
}),
|
|
25
27
|
]
|
|
26
28
|
}),
|
|
@@ -72,6 +74,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
72
74
|
params: [
|
|
73
75
|
new Param__1["default"]({
|
|
74
76
|
name: 'value',
|
|
77
|
+
description: '选择变量或常量',
|
|
75
78
|
// typeAnnotation: new TypeAnnotation()
|
|
76
79
|
defaultExpression: new Identifier__1["default"]()
|
|
77
80
|
}),
|
|
@@ -123,19 +126,22 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
123
126
|
params: [
|
|
124
127
|
new Param__1["default"]({
|
|
125
128
|
name: 'str',
|
|
129
|
+
description: '指定字符串',
|
|
126
130
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
127
131
|
}),
|
|
128
132
|
new Param__1["default"]({
|
|
129
133
|
name: 'search',
|
|
134
|
+
description: '指定需要搜索的字段,String类型',
|
|
130
135
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
131
136
|
}),
|
|
132
137
|
new Param__1["default"]({
|
|
133
138
|
name: 'fromIndex',
|
|
139
|
+
description: '开始搜索的索引值,Integer类型,用数字表示第几项,项数索引从0开始',
|
|
134
140
|
defaultExpression: new NumericLiteral__1["default"]({ value: '0' })
|
|
135
141
|
}),
|
|
136
142
|
new Param__1["default"]({
|
|
137
143
|
name: 'ignoreCase',
|
|
138
|
-
description: '
|
|
144
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
139
145
|
defaultExpression: new BooleanLiteral__1["default"]({ value: 'true' }),
|
|
140
146
|
options: [
|
|
141
147
|
{ text: 'true', value: 'true' },
|
|
@@ -155,16 +161,18 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
155
161
|
params: [
|
|
156
162
|
new Param__1["default"]({
|
|
157
163
|
name: 'str',
|
|
164
|
+
description: '指定字符串',
|
|
158
165
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
159
166
|
}),
|
|
160
167
|
new Param__1["default"]({
|
|
161
168
|
name: 'search',
|
|
169
|
+
description: '指定需要搜索的字段,String类型',
|
|
162
170
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
163
171
|
}),
|
|
164
172
|
new Param__1["default"]({
|
|
165
173
|
name: 'ignoreCase',
|
|
166
|
-
description: '
|
|
167
|
-
defaultExpression: new BooleanLiteral__1["default"]({ value: '
|
|
174
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
175
|
+
defaultExpression: new BooleanLiteral__1["default"]({ value: 'true' }),
|
|
168
176
|
options: [
|
|
169
177
|
{ text: 'true', value: 'true' },
|
|
170
178
|
{ text: 'false', value: 'false' },
|
|
@@ -183,14 +191,17 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
183
191
|
params: [
|
|
184
192
|
new Param__1["default"]({
|
|
185
193
|
name: 'str',
|
|
194
|
+
description: '指定原始字符串',
|
|
186
195
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
187
196
|
}),
|
|
188
197
|
new Param__1["default"]({
|
|
189
198
|
name: 'search',
|
|
199
|
+
description: '指定原始字符串中需要被替换的字符串',
|
|
190
200
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
191
201
|
}),
|
|
192
202
|
new Param__1["default"]({
|
|
193
203
|
name: 'replace',
|
|
204
|
+
description: '指定进行替换操作的字符串',
|
|
194
205
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
195
206
|
}),
|
|
196
207
|
],
|
|
@@ -206,14 +217,17 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
206
217
|
params: [
|
|
207
218
|
new Param__1["default"]({
|
|
208
219
|
name: 'str',
|
|
220
|
+
description: '指定需要截取的字符串',
|
|
209
221
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
210
222
|
}),
|
|
211
223
|
new Param__1["default"]({
|
|
212
224
|
name: 'start',
|
|
225
|
+
description: 'int类型,输入数字指定开始截取的位置',
|
|
213
226
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
214
227
|
}),
|
|
215
228
|
new Param__1["default"]({
|
|
216
229
|
name: 'length',
|
|
230
|
+
description: '指定截取的字符串长度',
|
|
217
231
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
218
232
|
}),
|
|
219
233
|
],
|
|
@@ -252,6 +266,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
252
266
|
params: [
|
|
253
267
|
new Param__1["default"]({
|
|
254
268
|
name: 'value',
|
|
269
|
+
description: '指定需要将枚举值转换为标题的字段',
|
|
255
270
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
256
271
|
}),
|
|
257
272
|
],
|
|
@@ -273,6 +288,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
273
288
|
params: [
|
|
274
289
|
new Param__1["default"]({
|
|
275
290
|
name: 'value',
|
|
291
|
+
description: '指定一个字符串',
|
|
276
292
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
277
293
|
}),
|
|
278
294
|
],
|
|
@@ -288,10 +304,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
288
304
|
params: [
|
|
289
305
|
new Param__1["default"]({
|
|
290
306
|
name: 'str',
|
|
307
|
+
description: '指定字符串',
|
|
291
308
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
292
309
|
}),
|
|
293
310
|
new Param__1["default"]({
|
|
294
311
|
name: 'separator',
|
|
312
|
+
description: '指定字符串中作为分隔符的参数',
|
|
295
313
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
296
314
|
}),
|
|
297
315
|
],
|
|
@@ -309,12 +327,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
309
327
|
params: [
|
|
310
328
|
new Param__1["default"]({
|
|
311
329
|
name: 'list',
|
|
330
|
+
description: '指定列表',
|
|
312
331
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
313
332
|
typeArguments: [TypeAnnotation__1["default"].createPrimitive('String')]
|
|
314
333
|
})
|
|
315
334
|
}),
|
|
316
335
|
new Param__1["default"]({
|
|
317
336
|
name: 'separator',
|
|
337
|
+
description: '连接符,用于连接列表中的项',
|
|
318
338
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
319
339
|
}),
|
|
320
340
|
],
|
|
@@ -330,10 +350,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
330
350
|
params: [
|
|
331
351
|
new Param__1["default"]({
|
|
332
352
|
name: 'str1',
|
|
353
|
+
description: '指定字符串1',
|
|
333
354
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
334
355
|
}),
|
|
335
356
|
new Param__1["default"]({
|
|
336
357
|
name: 'str2',
|
|
358
|
+
description: '指定字符串2',
|
|
337
359
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
338
360
|
}),
|
|
339
361
|
],
|
|
@@ -349,6 +371,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
349
371
|
params: [
|
|
350
372
|
new Param__1["default"]({
|
|
351
373
|
name: 'param',
|
|
374
|
+
description: '指定字符串',
|
|
352
375
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
353
376
|
}),
|
|
354
377
|
],
|
|
@@ -364,6 +387,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
364
387
|
params: [
|
|
365
388
|
new Param__1["default"]({
|
|
366
389
|
name: 'str1',
|
|
390
|
+
description: '指定字符串',
|
|
367
391
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
368
392
|
}),
|
|
369
393
|
],
|
|
@@ -379,6 +403,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
379
403
|
params: [
|
|
380
404
|
new Param__1["default"]({
|
|
381
405
|
name: 'str1',
|
|
406
|
+
description: '指定字符串',
|
|
382
407
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
383
408
|
}),
|
|
384
409
|
],
|
|
@@ -394,6 +419,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
394
419
|
params: [
|
|
395
420
|
new Param__1["default"]({
|
|
396
421
|
name: 'str1',
|
|
422
|
+
description: '指定字符串',
|
|
397
423
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
398
424
|
}),
|
|
399
425
|
],
|
|
@@ -409,12 +435,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
409
435
|
params: [
|
|
410
436
|
new Param__1["default"]({
|
|
411
437
|
name: 'list',
|
|
438
|
+
description: '指定列表',
|
|
412
439
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
413
440
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
414
441
|
})
|
|
415
442
|
}),
|
|
416
443
|
new Param__1["default"]({
|
|
417
444
|
name: 'index',
|
|
445
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
418
446
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
419
447
|
}),
|
|
420
448
|
],
|
|
@@ -430,16 +458,19 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
430
458
|
params: [
|
|
431
459
|
new Param__1["default"]({
|
|
432
460
|
name: 'list',
|
|
461
|
+
description: '指定列表',
|
|
433
462
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
434
463
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
435
464
|
})
|
|
436
465
|
}),
|
|
437
466
|
new Param__1["default"]({
|
|
438
467
|
name: 'index',
|
|
468
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
439
469
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
440
470
|
}),
|
|
441
471
|
new Param__1["default"]({
|
|
442
472
|
name: 'item',
|
|
473
|
+
description: '列表指定索引下的新项',
|
|
443
474
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
444
475
|
}),
|
|
445
476
|
],
|
|
@@ -455,12 +486,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
455
486
|
params: [
|
|
456
487
|
new Param__1["default"]({
|
|
457
488
|
name: 'list',
|
|
489
|
+
description: '指定列表',
|
|
458
490
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
459
491
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
460
492
|
})
|
|
461
493
|
}),
|
|
462
494
|
new Param__1["default"]({
|
|
463
495
|
name: 'item',
|
|
496
|
+
description: '指定项',
|
|
464
497
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
465
498
|
}),
|
|
466
499
|
],
|
|
@@ -476,12 +509,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
476
509
|
params: [
|
|
477
510
|
new Param__1["default"]({
|
|
478
511
|
name: 'list',
|
|
512
|
+
description: '指定列表',
|
|
479
513
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
480
514
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
481
515
|
})
|
|
482
516
|
}),
|
|
483
517
|
new Param__1["default"]({
|
|
484
518
|
name: 'item',
|
|
519
|
+
description: '指定需要在列表末尾增加的项',
|
|
485
520
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
486
521
|
}),
|
|
487
522
|
]
|
|
@@ -492,12 +527,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
492
527
|
params: [
|
|
493
528
|
new Param__1["default"]({
|
|
494
529
|
name: 'list',
|
|
530
|
+
description: '指定列表1',
|
|
495
531
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
496
532
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
497
533
|
})
|
|
498
534
|
}),
|
|
499
535
|
new Param__1["default"]({
|
|
500
536
|
name: 'addList',
|
|
537
|
+
description: '指定列表2',
|
|
501
538
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
502
539
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
503
540
|
})
|
|
@@ -515,16 +552,19 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
515
552
|
params: [
|
|
516
553
|
new Param__1["default"]({
|
|
517
554
|
name: 'list',
|
|
555
|
+
description: '指定列表',
|
|
518
556
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
519
557
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
520
558
|
})
|
|
521
559
|
}),
|
|
522
560
|
new Param__1["default"]({
|
|
523
561
|
name: 'index',
|
|
562
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
524
563
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
525
564
|
}),
|
|
526
565
|
new Param__1["default"]({
|
|
527
566
|
name: 'item',
|
|
567
|
+
description: '待插入项',
|
|
528
568
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
529
569
|
}),
|
|
530
570
|
]
|
|
@@ -535,12 +575,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
535
575
|
params: [
|
|
536
576
|
new Param__1["default"]({
|
|
537
577
|
name: 'list',
|
|
578
|
+
description: '指定列表',
|
|
538
579
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
539
580
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
540
581
|
})
|
|
541
582
|
}),
|
|
542
583
|
new Param__1["default"]({
|
|
543
584
|
name: 'item',
|
|
585
|
+
description: '指定项',
|
|
544
586
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
545
587
|
}),
|
|
546
588
|
]
|
|
@@ -551,12 +593,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
551
593
|
params: [
|
|
552
594
|
new Param__1["default"]({
|
|
553
595
|
name: 'list',
|
|
596
|
+
description: '指定列表',
|
|
554
597
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
555
598
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
556
599
|
})
|
|
557
600
|
}),
|
|
558
601
|
new Param__1["default"]({
|
|
559
602
|
name: 'index',
|
|
603
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
560
604
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
561
605
|
}),
|
|
562
606
|
],
|
|
@@ -571,7 +615,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
571
615
|
description: '返回列表的首项',
|
|
572
616
|
params: [
|
|
573
617
|
new Param__1["default"]({
|
|
574
|
-
name: 'list'
|
|
618
|
+
name: 'list',
|
|
619
|
+
description: '指定列表'
|
|
575
620
|
}),
|
|
576
621
|
],
|
|
577
622
|
returns: [
|
|
@@ -585,7 +630,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
585
630
|
description: '返回列表的末项',
|
|
586
631
|
params: [
|
|
587
632
|
new Param__1["default"]({
|
|
588
|
-
name: 'list'
|
|
633
|
+
name: 'list',
|
|
634
|
+
description: '指定列表'
|
|
589
635
|
}),
|
|
590
636
|
],
|
|
591
637
|
returns: [
|
|
@@ -599,7 +645,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
599
645
|
description: '将嵌套列表摊平一层并返回(List<List<T>> 变为 List<T>)',
|
|
600
646
|
params: [
|
|
601
647
|
new Param__1["default"]({
|
|
602
|
-
name: 'list'
|
|
648
|
+
name: 'list',
|
|
649
|
+
description: '指定列表'
|
|
603
650
|
}),
|
|
604
651
|
],
|
|
605
652
|
returns: [
|
|
@@ -615,11 +662,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
615
662
|
description: '选取列表项的某些属性,根据这些属性将列表变为 Map 并返回',
|
|
616
663
|
params: [
|
|
617
664
|
new Param__1["default"]({
|
|
618
|
-
name: 'list'
|
|
665
|
+
name: 'list',
|
|
666
|
+
description: '指定列表'
|
|
619
667
|
}),
|
|
620
668
|
new Param__1["default"]({
|
|
621
669
|
name: 'by',
|
|
622
|
-
description: "
|
|
670
|
+
description: "\u6839\u636E\u9879\u7684\u5C5E\u6027\u53CA\u5176\u672C\u8EAB\u8FDB\u884Ckey\u548Cvalue\u7684\u5B9A\u4E49",
|
|
623
671
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
624
672
|
params: [
|
|
625
673
|
new Param__1["default"]({
|
|
@@ -649,11 +697,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
649
697
|
description: '对列表的每一项调用函数 by,得到新项;返回新项构成的列表',
|
|
650
698
|
params: [
|
|
651
699
|
new Param__1["default"]({
|
|
652
|
-
name: 'list'
|
|
700
|
+
name: 'list',
|
|
701
|
+
description: '指定列表'
|
|
653
702
|
}),
|
|
654
703
|
new Param__1["default"]({
|
|
655
704
|
name: 'by',
|
|
656
|
-
description: '
|
|
705
|
+
description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
|
|
657
706
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
658
707
|
params: [
|
|
659
708
|
new Param__1["default"]({
|
|
@@ -677,7 +726,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
677
726
|
description: '返回数值列表中所有项的和',
|
|
678
727
|
params: [
|
|
679
728
|
new Param__1["default"]({
|
|
680
|
-
name: 'list'
|
|
729
|
+
name: 'list',
|
|
730
|
+
description: '指定列表'
|
|
681
731
|
}),
|
|
682
732
|
],
|
|
683
733
|
returns: [
|
|
@@ -691,7 +741,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
691
741
|
description: '返回数值列表中所有项的积',
|
|
692
742
|
params: [
|
|
693
743
|
new Param__1["default"]({
|
|
694
|
-
name: 'list'
|
|
744
|
+
name: 'list',
|
|
745
|
+
description: '指定数值类型列表'
|
|
695
746
|
}),
|
|
696
747
|
],
|
|
697
748
|
returns: [
|
|
@@ -705,7 +756,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
705
756
|
description: '返回数值列表中所有项的平均值',
|
|
706
757
|
params: [
|
|
707
758
|
new Param__1["default"]({
|
|
708
|
-
name: 'list'
|
|
759
|
+
name: 'list',
|
|
760
|
+
description: '指定数值类型列表'
|
|
709
761
|
}),
|
|
710
762
|
],
|
|
711
763
|
returns: [
|
|
@@ -719,7 +771,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
719
771
|
description: '返回数值列表中所有项的最大值',
|
|
720
772
|
params: [
|
|
721
773
|
new Param__1["default"]({
|
|
722
|
-
name: 'list'
|
|
774
|
+
name: 'list',
|
|
775
|
+
description: '指定数值类型列表'
|
|
723
776
|
}),
|
|
724
777
|
],
|
|
725
778
|
returns: [
|
|
@@ -733,7 +786,8 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
733
786
|
description: '返回数值列表中所有项的最小值',
|
|
734
787
|
params: [
|
|
735
788
|
new Param__1["default"]({
|
|
736
|
-
name: 'list'
|
|
789
|
+
name: 'list',
|
|
790
|
+
description: '指定数值类型列表'
|
|
737
791
|
}),
|
|
738
792
|
],
|
|
739
793
|
returns: [
|
|
@@ -748,6 +802,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
748
802
|
params: [
|
|
749
803
|
new Param__1["default"]({
|
|
750
804
|
name: 'map',
|
|
805
|
+
description: '指定映射',
|
|
751
806
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
752
807
|
typeArguments: [
|
|
753
808
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -757,6 +812,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
757
812
|
}),
|
|
758
813
|
new Param__1["default"]({
|
|
759
814
|
name: 'key',
|
|
815
|
+
description: '指定参数key',
|
|
760
816
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('K')
|
|
761
817
|
}),
|
|
762
818
|
],
|
|
@@ -772,6 +828,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
772
828
|
params: [
|
|
773
829
|
new Param__1["default"]({
|
|
774
830
|
name: 'map',
|
|
831
|
+
description: '指定映射',
|
|
775
832
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
776
833
|
typeArguments: [
|
|
777
834
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -781,10 +838,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
781
838
|
}),
|
|
782
839
|
new Param__1["default"]({
|
|
783
840
|
name: 'key',
|
|
841
|
+
description: '指定参数key',
|
|
784
842
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('K')
|
|
785
843
|
}),
|
|
786
844
|
new Param__1["default"]({
|
|
787
845
|
name: 'value',
|
|
846
|
+
description: '指定参数value',
|
|
788
847
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('V')
|
|
789
848
|
}),
|
|
790
849
|
]
|
|
@@ -795,6 +854,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
795
854
|
params: [
|
|
796
855
|
new Param__1["default"]({
|
|
797
856
|
name: 'map',
|
|
857
|
+
description: '指定列表',
|
|
798
858
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
799
859
|
typeArguments: [
|
|
800
860
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -804,6 +864,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
804
864
|
}),
|
|
805
865
|
new Param__1["default"]({
|
|
806
866
|
name: 'key',
|
|
867
|
+
description: '指定参数key',
|
|
807
868
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('K')
|
|
808
869
|
}),
|
|
809
870
|
]
|
|
@@ -814,6 +875,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
814
875
|
params: [
|
|
815
876
|
new Param__1["default"]({
|
|
816
877
|
name: 'map',
|
|
878
|
+
description: '指定映射',
|
|
817
879
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
818
880
|
typeArguments: [
|
|
819
881
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -823,6 +885,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
823
885
|
}),
|
|
824
886
|
new Param__1["default"]({
|
|
825
887
|
name: 'key',
|
|
888
|
+
description: '指定参数key',
|
|
826
889
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('K')
|
|
827
890
|
}),
|
|
828
891
|
],
|
|
@@ -838,6 +901,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
838
901
|
params: [
|
|
839
902
|
new Param__1["default"]({
|
|
840
903
|
name: 'map',
|
|
904
|
+
description: '指定映射',
|
|
841
905
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
842
906
|
typeArguments: [
|
|
843
907
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -860,6 +924,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
860
924
|
params: [
|
|
861
925
|
new Param__1["default"]({
|
|
862
926
|
name: 'map',
|
|
927
|
+
description: '指定映射',
|
|
863
928
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('map', {
|
|
864
929
|
typeArguments: [
|
|
865
930
|
TypeAnnotation__1["default"].createTypeParam('K'),
|
|
@@ -881,11 +946,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
881
946
|
description: '在指定Map中过滤出符合条件参数的Map列表',
|
|
882
947
|
params: [
|
|
883
948
|
new Param__1["default"]({
|
|
884
|
-
name: 'map'
|
|
949
|
+
name: 'map',
|
|
950
|
+
description: '指定映射'
|
|
885
951
|
}),
|
|
886
952
|
new Param__1["default"]({
|
|
887
953
|
name: 'by',
|
|
888
|
-
description: '
|
|
954
|
+
description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
|
|
889
955
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
890
956
|
name: '',
|
|
891
957
|
description: '',
|
|
@@ -918,11 +984,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
918
984
|
description: '对 Map 的每一项调用函数 by,得到新项,并返回新项构成的 Map。(Map 的每一项从 (K0, V0) 变为 (K, V)。)',
|
|
919
985
|
params: [
|
|
920
986
|
new Param__1["default"]({
|
|
921
|
-
name: 'map'
|
|
987
|
+
name: 'map',
|
|
988
|
+
description: '指定映射'
|
|
922
989
|
}),
|
|
923
990
|
new Param__1["default"]({
|
|
924
991
|
name: 'by',
|
|
925
|
-
description: "
|
|
992
|
+
description: "\u6307\u5B9A\u6620\u5C04\u4E2D\u952E\u503C\u5BF9\u7684\u53C2\u6570\u5904\u7406\u65B9\u5F0F\uFF0C\u652F\u6301\u7B97\u6570\u8FD0\u7B97\u548C\u6BD4\u8F83\u8FD0\u7B97",
|
|
926
993
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
927
994
|
params: [
|
|
928
995
|
new Param__1["default"]({
|
|
@@ -999,11 +1066,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
999
1066
|
params: [
|
|
1000
1067
|
new Param__1["default"]({
|
|
1001
1068
|
name: 'date',
|
|
1069
|
+
description: '指定需要格式化日期的字段',
|
|
1002
1070
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Date')
|
|
1003
1071
|
}),
|
|
1004
1072
|
new Param__1["default"]({
|
|
1005
1073
|
name: 'formatter',
|
|
1006
|
-
defaultValue: 'yyyy-MM-dd',
|
|
1074
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd,即年月日格式',
|
|
1007
1075
|
defaultExpression: new StringLiteral__1["default"]({ value: 'yyyy-MM-dd' }),
|
|
1008
1076
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String')
|
|
1009
1077
|
}),
|
|
@@ -1020,12 +1088,13 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1020
1088
|
params: [
|
|
1021
1089
|
new Param__1["default"]({
|
|
1022
1090
|
name: 'date',
|
|
1091
|
+
description: '指定需要格式化日期时间的字段',
|
|
1023
1092
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('DateTime')
|
|
1024
1093
|
}),
|
|
1025
1094
|
new Param__1["default"]({
|
|
1026
1095
|
name: 'formatter',
|
|
1027
1096
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String'),
|
|
1028
|
-
defaultValue: 'yyyy-MM-dd
|
|
1097
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd',
|
|
1029
1098
|
defaultExpression: new StringLiteral__1["default"]({ value: 'yyyy-MM-dd HH:mm:ss' })
|
|
1030
1099
|
}),
|
|
1031
1100
|
],
|
|
@@ -1041,6 +1110,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1041
1110
|
params: [
|
|
1042
1111
|
new Param__1["default"]({
|
|
1043
1112
|
name: 'value',
|
|
1113
|
+
description: '指定需要格式化小数位数的字段',
|
|
1044
1114
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Decimal'),
|
|
1045
1115
|
defaultExpression: new Identifier__1["default"]()
|
|
1046
1116
|
}),
|
|
@@ -1053,14 +1123,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1053
1123
|
}),
|
|
1054
1124
|
new Param__1["default"]({
|
|
1055
1125
|
name: 'showGroups',
|
|
1126
|
+
description: '是否显示千分位:true显示,false不显示',
|
|
1056
1127
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Boolean'),
|
|
1057
1128
|
defaultValue: 'false',
|
|
1058
1129
|
defaultExpression: new BooleanLiteral__1["default"]({ value: 'false' }),
|
|
1059
1130
|
options: [
|
|
1060
1131
|
{ text: 'true', value: 'true' },
|
|
1061
1132
|
{ text: 'false', value: 'false' },
|
|
1062
|
-
]
|
|
1063
|
-
description: '是否显示千分位:true显示,false不显示'
|
|
1133
|
+
]
|
|
1064
1134
|
}),
|
|
1065
1135
|
],
|
|
1066
1136
|
returns: [
|
|
@@ -1075,10 +1145,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1075
1145
|
params: [
|
|
1076
1146
|
new Param__1["default"]({
|
|
1077
1147
|
name: 'dateTime',
|
|
1148
|
+
description: '指定日期时间',
|
|
1078
1149
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('DateTime')
|
|
1079
1150
|
}),
|
|
1080
1151
|
new Param__1["default"]({
|
|
1081
1152
|
name: 'amount',
|
|
1153
|
+
description: '增加的天数',
|
|
1082
1154
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1083
1155
|
}),
|
|
1084
1156
|
],
|
|
@@ -1094,10 +1166,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1094
1166
|
params: [
|
|
1095
1167
|
new Param__1["default"]({
|
|
1096
1168
|
name: 'dateTime',
|
|
1169
|
+
description: '指定日期时间',
|
|
1097
1170
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('DateTime')
|
|
1098
1171
|
}),
|
|
1099
1172
|
new Param__1["default"]({
|
|
1100
1173
|
name: 'amount',
|
|
1174
|
+
description: '增加的月数',
|
|
1101
1175
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1102
1176
|
}),
|
|
1103
1177
|
],
|
|
@@ -1113,17 +1187,19 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1113
1187
|
params: [
|
|
1114
1188
|
new Param__1["default"]({
|
|
1115
1189
|
name: 'dateTime1',
|
|
1190
|
+
description: '指定日期时间1',
|
|
1116
1191
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('DateTime'),
|
|
1117
1192
|
defaultExpression: new Identifier__1["default"]()
|
|
1118
1193
|
}),
|
|
1119
1194
|
new Param__1["default"]({
|
|
1120
1195
|
name: 'dateTime2',
|
|
1196
|
+
description: '指定日期时间2',
|
|
1121
1197
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('DateTime'),
|
|
1122
1198
|
defaultExpression: new Identifier__1["default"]()
|
|
1123
1199
|
}),
|
|
1124
1200
|
new Param__1["default"]({
|
|
1125
1201
|
name: 'calcType',
|
|
1126
|
-
description: '
|
|
1202
|
+
description: '计算类型。计算两个日期时间之间的差值,支持年数、季度数、月数、星期数、天数、小时数、分钟数、秒数',
|
|
1127
1203
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('String'),
|
|
1128
1204
|
defaultValue: 'd',
|
|
1129
1205
|
defaultExpression: new StringLiteral__1["default"]({ value: 'd' }),
|
|
@@ -1151,6 +1227,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1151
1227
|
params: [
|
|
1152
1228
|
new Param__1["default"]({
|
|
1153
1229
|
name: 'struct',
|
|
1230
|
+
description: '指定对象',
|
|
1154
1231
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
1155
1232
|
}),
|
|
1156
1233
|
],
|
|
@@ -1166,6 +1243,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1166
1243
|
params: [
|
|
1167
1244
|
new Param__1["default"]({
|
|
1168
1245
|
name: 'struct',
|
|
1246
|
+
description: '指定对象',
|
|
1169
1247
|
typeAnnotation: TypeAnnotation__1["default"].createTypeParam('T')
|
|
1170
1248
|
}),
|
|
1171
1249
|
],
|
|
@@ -1200,12 +1278,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1200
1278
|
params: [
|
|
1201
1279
|
new Param__1["default"]({
|
|
1202
1280
|
name: 'list',
|
|
1281
|
+
description: '指定列表',
|
|
1203
1282
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1204
1283
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1205
1284
|
})
|
|
1206
1285
|
}),
|
|
1207
1286
|
new Param__1["default"]({
|
|
1208
1287
|
name: 'total',
|
|
1288
|
+
description: '指定数据条数',
|
|
1209
1289
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1210
1290
|
}),
|
|
1211
1291
|
],
|
|
@@ -1223,12 +1303,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1223
1303
|
params: [
|
|
1224
1304
|
new Param__1["default"]({
|
|
1225
1305
|
name: 'list',
|
|
1306
|
+
description: '指定列表',
|
|
1226
1307
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1227
1308
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1228
1309
|
})
|
|
1229
1310
|
}),
|
|
1230
1311
|
new Param__1["default"]({
|
|
1231
1312
|
name: 'by',
|
|
1313
|
+
description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
|
|
1232
1314
|
defaultExpression: new Function__1["default"]({
|
|
1233
1315
|
name: '',
|
|
1234
1316
|
description: '',
|
|
@@ -1242,13 +1324,13 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1242
1324
|
}),
|
|
1243
1325
|
new Param__1["default"]({
|
|
1244
1326
|
name: 'sort',
|
|
1245
|
-
description: '
|
|
1327
|
+
description: '支持升序或降序设置,asc为升序,desc为降序。',
|
|
1246
1328
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Boolean'),
|
|
1247
1329
|
defaultValue: 'asc',
|
|
1248
1330
|
defaultExpression: new BooleanLiteral__1["default"]({ value: 'true' }),
|
|
1249
1331
|
options: [
|
|
1250
|
-
{ text: 'asc', value: 'true' },
|
|
1251
|
-
{ text: 'desc', value: 'false' },
|
|
1332
|
+
{ text: 'asc(升序)', value: 'true' },
|
|
1333
|
+
{ text: 'desc(降序)', value: 'false' },
|
|
1252
1334
|
]
|
|
1253
1335
|
}),
|
|
1254
1336
|
],
|
|
@@ -1260,12 +1342,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1260
1342
|
params: [
|
|
1261
1343
|
new Param__1["default"]({
|
|
1262
1344
|
name: 'list',
|
|
1345
|
+
description: '指定列表',
|
|
1263
1346
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1264
1347
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1265
1348
|
})
|
|
1266
1349
|
}),
|
|
1267
1350
|
new Param__1["default"]({
|
|
1268
1351
|
name: 'by',
|
|
1352
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1269
1353
|
defaultExpression: new Function__1["default"]({
|
|
1270
1354
|
name: '',
|
|
1271
1355
|
description: '',
|
|
@@ -1290,12 +1374,14 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1290
1374
|
params: [
|
|
1291
1375
|
new Param__1["default"]({
|
|
1292
1376
|
name: 'list',
|
|
1377
|
+
description: '指定列表',
|
|
1293
1378
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1294
1379
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1295
1380
|
})
|
|
1296
1381
|
}),
|
|
1297
1382
|
new Param__1["default"]({
|
|
1298
1383
|
name: 'by',
|
|
1384
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1299
1385
|
defaultExpression: new Function__1["default"]({
|
|
1300
1386
|
name: '',
|
|
1301
1387
|
description: '',
|
|
@@ -1319,11 +1405,12 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1319
1405
|
description: '筛选列表中符合条件的所有项,返回这些项构成的新的列表',
|
|
1320
1406
|
params: [
|
|
1321
1407
|
new Param__1["default"]({
|
|
1322
|
-
name: 'list'
|
|
1408
|
+
name: 'list',
|
|
1409
|
+
description: '指定列表'
|
|
1323
1410
|
}),
|
|
1324
1411
|
new Param__1["default"]({
|
|
1325
1412
|
name: 'by',
|
|
1326
|
-
description: '
|
|
1413
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1327
1414
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
1328
1415
|
params: [
|
|
1329
1416
|
new Param__1["default"]({
|
|
@@ -1349,6 +1436,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1349
1436
|
params: [
|
|
1350
1437
|
new Param__1["default"]({
|
|
1351
1438
|
name: 'list',
|
|
1439
|
+
description: '指定列表',
|
|
1352
1440
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1353
1441
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1354
1442
|
})
|
|
@@ -1362,6 +1450,7 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1362
1450
|
params: [
|
|
1363
1451
|
new Param__1["default"]({
|
|
1364
1452
|
name: 'list',
|
|
1453
|
+
description: '指定列表',
|
|
1365
1454
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1366
1455
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1367
1456
|
})
|
|
@@ -1374,15 +1463,17 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1374
1463
|
description: '按某个属性为列表去除重复项。返回去除重复项后的列表',
|
|
1375
1464
|
params: [
|
|
1376
1465
|
new Param__1["default"]({
|
|
1377
|
-
name: 'list'
|
|
1466
|
+
name: 'list',
|
|
1467
|
+
description: '指定列表'
|
|
1378
1468
|
}),
|
|
1379
1469
|
new Param__1["default"]({
|
|
1380
1470
|
name: 'by',
|
|
1381
|
-
description: '
|
|
1471
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1382
1472
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
1383
1473
|
params: [
|
|
1384
1474
|
new Param__1["default"]({
|
|
1385
1475
|
name: 'item',
|
|
1476
|
+
description: '是否忽略大小写',
|
|
1386
1477
|
typeAnnotation: null
|
|
1387
1478
|
}),
|
|
1388
1479
|
],
|
|
@@ -1403,15 +1494,17 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1403
1494
|
description: '按某个属性为列表分组。以选中的属性为 key 建立 Map 并返回。',
|
|
1404
1495
|
params: [
|
|
1405
1496
|
new Param__1["default"]({
|
|
1406
|
-
name: 'list'
|
|
1497
|
+
name: 'list',
|
|
1498
|
+
description: '指定列表'
|
|
1407
1499
|
}),
|
|
1408
1500
|
new Param__1["default"]({
|
|
1409
1501
|
name: 'by',
|
|
1410
|
-
description: '
|
|
1502
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1411
1503
|
defaultExpression: new AnonymousFunction__1["default"]({
|
|
1412
1504
|
params: [
|
|
1413
1505
|
new Param__1["default"]({
|
|
1414
1506
|
name: 'item',
|
|
1507
|
+
description: '是否忽略大小写',
|
|
1415
1508
|
typeAnnotation: null
|
|
1416
1509
|
}),
|
|
1417
1510
|
],
|
|
@@ -1436,16 +1529,19 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1436
1529
|
params: [
|
|
1437
1530
|
new Param__1["default"]({
|
|
1438
1531
|
name: 'list',
|
|
1532
|
+
description: '指定列表',
|
|
1439
1533
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1440
1534
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1441
1535
|
})
|
|
1442
1536
|
}),
|
|
1443
1537
|
new Param__1["default"]({
|
|
1444
1538
|
name: 'start',
|
|
1539
|
+
description: '切片起始的索引,integer类型,项数索引从0开始',
|
|
1445
1540
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1446
1541
|
}),
|
|
1447
1542
|
new Param__1["default"]({
|
|
1448
1543
|
name: 'end',
|
|
1544
|
+
description: '切片结束的索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
1449
1545
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1450
1546
|
}),
|
|
1451
1547
|
],
|
|
@@ -1463,16 +1559,19 @@ exports["default"] = new Namespace__1["default"]({
|
|
|
1463
1559
|
params: [
|
|
1464
1560
|
new Param__1["default"]({
|
|
1465
1561
|
name: 'list',
|
|
1562
|
+
description: '指定列表',
|
|
1466
1563
|
typeAnnotation: TypeAnnotation__1["default"].createGeneric('List', {
|
|
1467
1564
|
typeArguments: [TypeAnnotation__1["default"].createTypeParam('T')]
|
|
1468
1565
|
})
|
|
1469
1566
|
}),
|
|
1470
1567
|
new Param__1["default"]({
|
|
1471
1568
|
name: 'page',
|
|
1569
|
+
description: '页数,integer类型,从1开始',
|
|
1472
1570
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1473
1571
|
}),
|
|
1474
1572
|
new Param__1["default"]({
|
|
1475
1573
|
name: 'size',
|
|
1574
|
+
description: '每页的大小,integer类型',
|
|
1476
1575
|
typeAnnotation: TypeAnnotation__1["default"].createPrimitive('Integer')
|
|
1477
1576
|
}),
|
|
1478
1577
|
],
|