@lcap/nasl 2.18.0 → 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/BaseNode.js +1 -0
- package/out/common/BaseNode.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 +108 -47
- 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__.d.ts +2 -1
- package/out/concepts/CallLogic__.js +113 -26
- 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/Destination__.d.ts +2 -1
- package/out/concepts/Destination__.js +90 -22
- package/out/concepts/Destination__.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 +33 -21
- 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 +13 -1
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +1 -0
- package/out/concepts/View__.js +13 -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/genBundleFiles.js +32 -182
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.d.ts +1 -10
- package/out/generator/genMetaData.js +184 -50
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +2 -0
- package/out/generator/genReleaseBody.js +29 -3
- 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 +10 -20
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.d.ts +1 -2
- package/out/server/formatTsUtils.js +36 -47
- 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/getProcesses.js +1 -1
- package/out/server/getProcesses.js.map +1 -1
- package/out/server/naslServer.d.ts +1 -1
- package/out/server/naslServer.js +181 -35
- 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 +66 -6
- 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.logging.js +0 -0
- 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 +14 -5
- package/src/automate/template/myProcess.js +1 -1
- package/src/bak/translator.js +4 -1
- package/src/common/BaseNode.ts +1 -0
- 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 +111 -51
- 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 +88 -24
- package/src/concepts/CallQueryComponent__.ts +4 -1
- package/src/concepts/DataSource__.ts +56 -1
- package/src/concepts/Destination__.ts +92 -22
- 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 +54 -39
- 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 +23 -7
- package/src/concepts/View__.ts +16 -2
- package/src/concepts/basics/stdlib/dist/nasl.util.js +1602 -0
- 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 +82 -28
- package/src/concepts/dist/CallLogic__.js +95 -27
- 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 +1692 -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/genBundleFiles.js +23 -176
- package/src/generator/dist/genMetaData.js +245 -0
- package/src/generator/dist/permission.js +392 -0
- package/src/generator/genBundleFiles.ts +34 -219
- package/src/generator/genMetaData.ts +177 -77
- package/src/generator/genReleaseBody.ts +30 -5
- 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 +443 -249
- package/src/server/entity2LogicNamespace.ts +70 -10
- package/src/server/extendBaseNode.ts +10 -21
- package/src/server/formatTsUtils.ts +36 -46
- package/src/server/getLogics.ts +13 -1
- package/src/server/getMemberIdentifier.ts +1 -1
- package/src/server/getProcesses.ts +1 -1
- package/src/server/naslServer.ts +181 -42
- package/src/server/process2LogicNamespace.ts +8 -0
- package/src/server/translator.ts +64 -7
- 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 +48 -10
- 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 +3 -1
- 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/MemberExpression__.js +0 -348
- package/src/concepts/dist/Param__.js +0 -537
- package/src/concepts/dist/Return__.js +0 -493
- package/src/server/dist/formatTsUtils.js +0 -683
- package/ts-worker/lib/dist/tsserver.dev.js +0 -22953
- package/ts-worker/sources/lib/dist/tsserver.dev.js +0 -22912
|
@@ -15,6 +15,7 @@ const Identifier__1 = __importDefault(require("../../Identifier__"));
|
|
|
15
15
|
const BooleanLiteral__1 = __importDefault(require("../../BooleanLiteral__"));
|
|
16
16
|
const StringLiteral__1 = __importDefault(require("../../StringLiteral__"));
|
|
17
17
|
const AnonymousFunction__1 = __importDefault(require("../../AnonymousFunction__"));
|
|
18
|
+
const StringInterpolation__1 = __importDefault(require("../../StringInterpolation__"));
|
|
18
19
|
exports.default = new Namespace__1.default({
|
|
19
20
|
name: 'util',
|
|
20
21
|
logics: [
|
|
@@ -24,6 +25,7 @@ exports.default = new Namespace__1.default({
|
|
|
24
25
|
new Param__1.default({
|
|
25
26
|
name: 'arg',
|
|
26
27
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
28
|
+
defaultExpression: new StringInterpolation__1.default(),
|
|
27
29
|
}),
|
|
28
30
|
],
|
|
29
31
|
}),
|
|
@@ -75,6 +77,7 @@ exports.default = new Namespace__1.default({
|
|
|
75
77
|
params: [
|
|
76
78
|
new Param__1.default({
|
|
77
79
|
name: 'value',
|
|
80
|
+
description: '选择变量或常量',
|
|
78
81
|
// typeAnnotation: new TypeAnnotation()
|
|
79
82
|
defaultExpression: new Identifier__1.default(),
|
|
80
83
|
}),
|
|
@@ -86,25 +89,63 @@ exports.default = new Namespace__1.default({
|
|
|
86
89
|
}),
|
|
87
90
|
],
|
|
88
91
|
}),
|
|
92
|
+
new Function__1.default({
|
|
93
|
+
name: 'ToString',
|
|
94
|
+
description: '各类型转换成字符串',
|
|
95
|
+
params: [
|
|
96
|
+
new Param__1.default({
|
|
97
|
+
name: 'value',
|
|
98
|
+
defaultExpression: new Identifier__1.default(),
|
|
99
|
+
}),
|
|
100
|
+
],
|
|
101
|
+
returns: [
|
|
102
|
+
new Return__1.default({
|
|
103
|
+
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
104
|
+
}),
|
|
105
|
+
],
|
|
106
|
+
}),
|
|
107
|
+
new Function__1.default({
|
|
108
|
+
name: 'FromString',
|
|
109
|
+
description: '字符串转换成其他类型',
|
|
110
|
+
typeParams: [
|
|
111
|
+
new TypeParam__1.default({
|
|
112
|
+
name: 'T',
|
|
113
|
+
}),
|
|
114
|
+
],
|
|
115
|
+
params: [
|
|
116
|
+
new Param__1.default({
|
|
117
|
+
name: 'value',
|
|
118
|
+
defaultExpression: new Identifier__1.default(),
|
|
119
|
+
}),
|
|
120
|
+
],
|
|
121
|
+
returns: [
|
|
122
|
+
new Return__1.default({
|
|
123
|
+
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
124
|
+
}),
|
|
125
|
+
],
|
|
126
|
+
}),
|
|
89
127
|
new Function__1.default({
|
|
90
128
|
name: 'IndexOf',
|
|
91
129
|
description: '搜索字符串位置',
|
|
92
130
|
params: [
|
|
93
131
|
new Param__1.default({
|
|
94
132
|
name: 'str',
|
|
133
|
+
description: '指定字符串',
|
|
95
134
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
96
135
|
}),
|
|
97
136
|
new Param__1.default({
|
|
98
137
|
name: 'search',
|
|
138
|
+
description: '指定需要搜索的字段,String类型',
|
|
99
139
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
100
140
|
}),
|
|
101
141
|
new Param__1.default({
|
|
102
142
|
name: 'fromIndex',
|
|
143
|
+
description: '开始搜索的索引值,Integer类型,用数字表示第几项,项数索引从0开始',
|
|
103
144
|
defaultExpression: new NumericLiteral__1.default({ value: '0' }),
|
|
104
145
|
}),
|
|
105
146
|
new Param__1.default({
|
|
106
147
|
name: 'ignoreCase',
|
|
107
|
-
description: '
|
|
148
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
108
149
|
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
109
150
|
options: [
|
|
110
151
|
{ text: 'true', value: 'true' },
|
|
@@ -124,16 +165,18 @@ exports.default = new Namespace__1.default({
|
|
|
124
165
|
params: [
|
|
125
166
|
new Param__1.default({
|
|
126
167
|
name: 'str',
|
|
168
|
+
description: '指定字符串',
|
|
127
169
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
128
170
|
}),
|
|
129
171
|
new Param__1.default({
|
|
130
172
|
name: 'search',
|
|
173
|
+
description: '指定需要搜索的字段,String类型',
|
|
131
174
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
132
175
|
}),
|
|
133
176
|
new Param__1.default({
|
|
134
177
|
name: 'ignoreCase',
|
|
135
|
-
description: '
|
|
136
|
-
defaultExpression: new BooleanLiteral__1.default({ value: '
|
|
178
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
179
|
+
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
137
180
|
options: [
|
|
138
181
|
{ text: 'true', value: 'true' },
|
|
139
182
|
{ text: 'false', value: 'false' },
|
|
@@ -152,14 +195,17 @@ exports.default = new Namespace__1.default({
|
|
|
152
195
|
params: [
|
|
153
196
|
new Param__1.default({
|
|
154
197
|
name: 'str',
|
|
198
|
+
description: '指定原始字符串',
|
|
155
199
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
156
200
|
}),
|
|
157
201
|
new Param__1.default({
|
|
158
202
|
name: 'search',
|
|
203
|
+
description: '指定原始字符串中需要被替换的字符串',
|
|
159
204
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
160
205
|
}),
|
|
161
206
|
new Param__1.default({
|
|
162
207
|
name: 'replace',
|
|
208
|
+
description: '指定进行替换操作的字符串',
|
|
163
209
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
164
210
|
}),
|
|
165
211
|
],
|
|
@@ -175,14 +221,17 @@ exports.default = new Namespace__1.default({
|
|
|
175
221
|
params: [
|
|
176
222
|
new Param__1.default({
|
|
177
223
|
name: 'str',
|
|
224
|
+
description: '指定需要截取的字符串',
|
|
178
225
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
179
226
|
}),
|
|
180
227
|
new Param__1.default({
|
|
181
228
|
name: 'start',
|
|
229
|
+
description: 'int类型,输入数字指定开始截取的位置',
|
|
182
230
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
183
231
|
}),
|
|
184
232
|
new Param__1.default({
|
|
185
233
|
name: 'length',
|
|
234
|
+
description: '指定截取的字符串长度',
|
|
186
235
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
187
236
|
}),
|
|
188
237
|
],
|
|
@@ -221,6 +270,7 @@ exports.default = new Namespace__1.default({
|
|
|
221
270
|
params: [
|
|
222
271
|
new Param__1.default({
|
|
223
272
|
name: 'value',
|
|
273
|
+
description: '指定需要将枚举值转换为标题的字段',
|
|
224
274
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
225
275
|
}),
|
|
226
276
|
],
|
|
@@ -242,6 +292,7 @@ exports.default = new Namespace__1.default({
|
|
|
242
292
|
params: [
|
|
243
293
|
new Param__1.default({
|
|
244
294
|
name: 'value',
|
|
295
|
+
description: '指定一个字符串',
|
|
245
296
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
246
297
|
}),
|
|
247
298
|
],
|
|
@@ -257,10 +308,12 @@ exports.default = new Namespace__1.default({
|
|
|
257
308
|
params: [
|
|
258
309
|
new Param__1.default({
|
|
259
310
|
name: 'str',
|
|
311
|
+
description: '指定字符串',
|
|
260
312
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
261
313
|
}),
|
|
262
314
|
new Param__1.default({
|
|
263
315
|
name: 'separator',
|
|
316
|
+
description: '指定字符串中作为分隔符的参数',
|
|
264
317
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
265
318
|
}),
|
|
266
319
|
],
|
|
@@ -278,12 +331,14 @@ exports.default = new Namespace__1.default({
|
|
|
278
331
|
params: [
|
|
279
332
|
new Param__1.default({
|
|
280
333
|
name: 'list',
|
|
334
|
+
description: '指定列表',
|
|
281
335
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
282
336
|
typeArguments: [TypeAnnotation__1.default.createPrimitive('String')],
|
|
283
337
|
}),
|
|
284
338
|
}),
|
|
285
339
|
new Param__1.default({
|
|
286
340
|
name: 'separator',
|
|
341
|
+
description: '连接符,用于连接列表中的项',
|
|
287
342
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
288
343
|
}),
|
|
289
344
|
],
|
|
@@ -299,10 +354,12 @@ exports.default = new Namespace__1.default({
|
|
|
299
354
|
params: [
|
|
300
355
|
new Param__1.default({
|
|
301
356
|
name: 'str1',
|
|
357
|
+
description: '指定字符串1',
|
|
302
358
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
303
359
|
}),
|
|
304
360
|
new Param__1.default({
|
|
305
361
|
name: 'str2',
|
|
362
|
+
description: '指定字符串2',
|
|
306
363
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
307
364
|
}),
|
|
308
365
|
],
|
|
@@ -318,6 +375,7 @@ exports.default = new Namespace__1.default({
|
|
|
318
375
|
params: [
|
|
319
376
|
new Param__1.default({
|
|
320
377
|
name: 'param',
|
|
378
|
+
description: '指定字符串',
|
|
321
379
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
322
380
|
}),
|
|
323
381
|
],
|
|
@@ -333,6 +391,7 @@ exports.default = new Namespace__1.default({
|
|
|
333
391
|
params: [
|
|
334
392
|
new Param__1.default({
|
|
335
393
|
name: 'str1',
|
|
394
|
+
description: '指定字符串',
|
|
336
395
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
337
396
|
}),
|
|
338
397
|
],
|
|
@@ -348,6 +407,7 @@ exports.default = new Namespace__1.default({
|
|
|
348
407
|
params: [
|
|
349
408
|
new Param__1.default({
|
|
350
409
|
name: 'str1',
|
|
410
|
+
description: '指定字符串',
|
|
351
411
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
352
412
|
}),
|
|
353
413
|
],
|
|
@@ -363,6 +423,7 @@ exports.default = new Namespace__1.default({
|
|
|
363
423
|
params: [
|
|
364
424
|
new Param__1.default({
|
|
365
425
|
name: 'str1',
|
|
426
|
+
description: '指定字符串',
|
|
366
427
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
367
428
|
}),
|
|
368
429
|
],
|
|
@@ -378,12 +439,14 @@ exports.default = new Namespace__1.default({
|
|
|
378
439
|
params: [
|
|
379
440
|
new Param__1.default({
|
|
380
441
|
name: 'list',
|
|
442
|
+
description: '指定列表',
|
|
381
443
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
382
444
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
383
445
|
}),
|
|
384
446
|
}),
|
|
385
447
|
new Param__1.default({
|
|
386
448
|
name: 'index',
|
|
449
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
387
450
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
388
451
|
}),
|
|
389
452
|
],
|
|
@@ -399,16 +462,19 @@ exports.default = new Namespace__1.default({
|
|
|
399
462
|
params: [
|
|
400
463
|
new Param__1.default({
|
|
401
464
|
name: 'list',
|
|
465
|
+
description: '指定列表',
|
|
402
466
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
403
467
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
404
468
|
}),
|
|
405
469
|
}),
|
|
406
470
|
new Param__1.default({
|
|
407
471
|
name: 'index',
|
|
472
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
408
473
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
409
474
|
}),
|
|
410
475
|
new Param__1.default({
|
|
411
476
|
name: 'item',
|
|
477
|
+
description: '列表指定索引下的新项',
|
|
412
478
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
413
479
|
}),
|
|
414
480
|
],
|
|
@@ -424,12 +490,14 @@ exports.default = new Namespace__1.default({
|
|
|
424
490
|
params: [
|
|
425
491
|
new Param__1.default({
|
|
426
492
|
name: 'list',
|
|
493
|
+
description: '指定列表',
|
|
427
494
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
428
495
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
429
496
|
}),
|
|
430
497
|
}),
|
|
431
498
|
new Param__1.default({
|
|
432
499
|
name: 'item',
|
|
500
|
+
description: '指定项',
|
|
433
501
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
434
502
|
}),
|
|
435
503
|
],
|
|
@@ -445,12 +513,14 @@ exports.default = new Namespace__1.default({
|
|
|
445
513
|
params: [
|
|
446
514
|
new Param__1.default({
|
|
447
515
|
name: 'list',
|
|
516
|
+
description: '指定列表',
|
|
448
517
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
449
518
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
450
519
|
}),
|
|
451
520
|
}),
|
|
452
521
|
new Param__1.default({
|
|
453
522
|
name: 'item',
|
|
523
|
+
description: '指定需要在列表末尾增加的项',
|
|
454
524
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
455
525
|
}),
|
|
456
526
|
],
|
|
@@ -461,12 +531,14 @@ exports.default = new Namespace__1.default({
|
|
|
461
531
|
params: [
|
|
462
532
|
new Param__1.default({
|
|
463
533
|
name: 'list',
|
|
534
|
+
description: '指定列表1',
|
|
464
535
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
465
536
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
466
537
|
}),
|
|
467
538
|
}),
|
|
468
539
|
new Param__1.default({
|
|
469
540
|
name: 'addList',
|
|
541
|
+
description: '指定列表2',
|
|
470
542
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
471
543
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
472
544
|
}),
|
|
@@ -484,16 +556,19 @@ exports.default = new Namespace__1.default({
|
|
|
484
556
|
params: [
|
|
485
557
|
new Param__1.default({
|
|
486
558
|
name: 'list',
|
|
559
|
+
description: '指定列表',
|
|
487
560
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
488
561
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
489
562
|
}),
|
|
490
563
|
}),
|
|
491
564
|
new Param__1.default({
|
|
492
565
|
name: 'index',
|
|
566
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
493
567
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
494
568
|
}),
|
|
495
569
|
new Param__1.default({
|
|
496
570
|
name: 'item',
|
|
571
|
+
description: '待插入项',
|
|
497
572
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
498
573
|
}),
|
|
499
574
|
],
|
|
@@ -504,12 +579,14 @@ exports.default = new Namespace__1.default({
|
|
|
504
579
|
params: [
|
|
505
580
|
new Param__1.default({
|
|
506
581
|
name: 'list',
|
|
582
|
+
description: '指定列表',
|
|
507
583
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
508
584
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
509
585
|
}),
|
|
510
586
|
}),
|
|
511
587
|
new Param__1.default({
|
|
512
588
|
name: 'item',
|
|
589
|
+
description: '指定项',
|
|
513
590
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
514
591
|
}),
|
|
515
592
|
],
|
|
@@ -520,12 +597,14 @@ exports.default = new Namespace__1.default({
|
|
|
520
597
|
params: [
|
|
521
598
|
new Param__1.default({
|
|
522
599
|
name: 'list',
|
|
600
|
+
description: '指定列表',
|
|
523
601
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
524
602
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
525
603
|
}),
|
|
526
604
|
}),
|
|
527
605
|
new Param__1.default({
|
|
528
606
|
name: 'index',
|
|
607
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
529
608
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
530
609
|
}),
|
|
531
610
|
],
|
|
@@ -541,6 +620,7 @@ exports.default = new Namespace__1.default({
|
|
|
541
620
|
params: [
|
|
542
621
|
new Param__1.default({
|
|
543
622
|
name: 'list',
|
|
623
|
+
description: '指定列表',
|
|
544
624
|
}),
|
|
545
625
|
],
|
|
546
626
|
returns: [
|
|
@@ -555,6 +635,7 @@ exports.default = new Namespace__1.default({
|
|
|
555
635
|
params: [
|
|
556
636
|
new Param__1.default({
|
|
557
637
|
name: 'list',
|
|
638
|
+
description: '指定列表',
|
|
558
639
|
}),
|
|
559
640
|
],
|
|
560
641
|
returns: [
|
|
@@ -569,6 +650,7 @@ exports.default = new Namespace__1.default({
|
|
|
569
650
|
params: [
|
|
570
651
|
new Param__1.default({
|
|
571
652
|
name: 'list',
|
|
653
|
+
description: '指定列表',
|
|
572
654
|
}),
|
|
573
655
|
],
|
|
574
656
|
returns: [
|
|
@@ -585,11 +667,11 @@ exports.default = new Namespace__1.default({
|
|
|
585
667
|
params: [
|
|
586
668
|
new Param__1.default({
|
|
587
669
|
name: 'list',
|
|
670
|
+
description: '指定列表',
|
|
588
671
|
}),
|
|
589
672
|
new Param__1.default({
|
|
590
673
|
name: 'by',
|
|
591
|
-
description:
|
|
592
|
-
<div>(\${0}) → V</div>`,
|
|
674
|
+
description: `根据项的属性及其本身进行key和value的定义`,
|
|
593
675
|
defaultExpression: new AnonymousFunction__1.default({
|
|
594
676
|
params: [
|
|
595
677
|
new Param__1.default({
|
|
@@ -620,10 +702,11 @@ exports.default = new Namespace__1.default({
|
|
|
620
702
|
params: [
|
|
621
703
|
new Param__1.default({
|
|
622
704
|
name: 'list',
|
|
705
|
+
description: '指定列表',
|
|
623
706
|
}),
|
|
624
707
|
new Param__1.default({
|
|
625
708
|
name: 'by',
|
|
626
|
-
description: '
|
|
709
|
+
description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
|
|
627
710
|
defaultExpression: new AnonymousFunction__1.default({
|
|
628
711
|
params: [
|
|
629
712
|
new Param__1.default({
|
|
@@ -648,6 +731,7 @@ exports.default = new Namespace__1.default({
|
|
|
648
731
|
params: [
|
|
649
732
|
new Param__1.default({
|
|
650
733
|
name: 'list',
|
|
734
|
+
description: '指定列表',
|
|
651
735
|
}),
|
|
652
736
|
],
|
|
653
737
|
returns: [
|
|
@@ -662,6 +746,7 @@ exports.default = new Namespace__1.default({
|
|
|
662
746
|
params: [
|
|
663
747
|
new Param__1.default({
|
|
664
748
|
name: 'list',
|
|
749
|
+
description: '指定数值类型列表',
|
|
665
750
|
}),
|
|
666
751
|
],
|
|
667
752
|
returns: [
|
|
@@ -676,6 +761,7 @@ exports.default = new Namespace__1.default({
|
|
|
676
761
|
params: [
|
|
677
762
|
new Param__1.default({
|
|
678
763
|
name: 'list',
|
|
764
|
+
description: '指定数值类型列表',
|
|
679
765
|
}),
|
|
680
766
|
],
|
|
681
767
|
returns: [
|
|
@@ -690,6 +776,7 @@ exports.default = new Namespace__1.default({
|
|
|
690
776
|
params: [
|
|
691
777
|
new Param__1.default({
|
|
692
778
|
name: 'list',
|
|
779
|
+
description: '指定数值类型列表',
|
|
693
780
|
}),
|
|
694
781
|
],
|
|
695
782
|
returns: [
|
|
@@ -704,6 +791,7 @@ exports.default = new Namespace__1.default({
|
|
|
704
791
|
params: [
|
|
705
792
|
new Param__1.default({
|
|
706
793
|
name: 'list',
|
|
794
|
+
description: '指定数值类型列表',
|
|
707
795
|
}),
|
|
708
796
|
],
|
|
709
797
|
returns: [
|
|
@@ -718,6 +806,7 @@ exports.default = new Namespace__1.default({
|
|
|
718
806
|
params: [
|
|
719
807
|
new Param__1.default({
|
|
720
808
|
name: 'map',
|
|
809
|
+
description: '指定映射',
|
|
721
810
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
722
811
|
typeArguments: [
|
|
723
812
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -727,6 +816,7 @@ exports.default = new Namespace__1.default({
|
|
|
727
816
|
}),
|
|
728
817
|
new Param__1.default({
|
|
729
818
|
name: 'key',
|
|
819
|
+
description: '指定参数key',
|
|
730
820
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
731
821
|
}),
|
|
732
822
|
],
|
|
@@ -742,6 +832,7 @@ exports.default = new Namespace__1.default({
|
|
|
742
832
|
params: [
|
|
743
833
|
new Param__1.default({
|
|
744
834
|
name: 'map',
|
|
835
|
+
description: '指定映射',
|
|
745
836
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
746
837
|
typeArguments: [
|
|
747
838
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -751,10 +842,12 @@ exports.default = new Namespace__1.default({
|
|
|
751
842
|
}),
|
|
752
843
|
new Param__1.default({
|
|
753
844
|
name: 'key',
|
|
845
|
+
description: '指定参数key',
|
|
754
846
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
755
847
|
}),
|
|
756
848
|
new Param__1.default({
|
|
757
849
|
name: 'value',
|
|
850
|
+
description: '指定参数value',
|
|
758
851
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('V'),
|
|
759
852
|
}),
|
|
760
853
|
],
|
|
@@ -765,6 +858,7 @@ exports.default = new Namespace__1.default({
|
|
|
765
858
|
params: [
|
|
766
859
|
new Param__1.default({
|
|
767
860
|
name: 'map',
|
|
861
|
+
description: '指定列表',
|
|
768
862
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
769
863
|
typeArguments: [
|
|
770
864
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -774,6 +868,7 @@ exports.default = new Namespace__1.default({
|
|
|
774
868
|
}),
|
|
775
869
|
new Param__1.default({
|
|
776
870
|
name: 'key',
|
|
871
|
+
description: '指定参数key',
|
|
777
872
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
778
873
|
}),
|
|
779
874
|
],
|
|
@@ -784,6 +879,7 @@ exports.default = new Namespace__1.default({
|
|
|
784
879
|
params: [
|
|
785
880
|
new Param__1.default({
|
|
786
881
|
name: 'map',
|
|
882
|
+
description: '指定映射',
|
|
787
883
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
788
884
|
typeArguments: [
|
|
789
885
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -793,6 +889,7 @@ exports.default = new Namespace__1.default({
|
|
|
793
889
|
}),
|
|
794
890
|
new Param__1.default({
|
|
795
891
|
name: 'key',
|
|
892
|
+
description: '指定参数key',
|
|
796
893
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
797
894
|
}),
|
|
798
895
|
],
|
|
@@ -808,6 +905,7 @@ exports.default = new Namespace__1.default({
|
|
|
808
905
|
params: [
|
|
809
906
|
new Param__1.default({
|
|
810
907
|
name: 'map',
|
|
908
|
+
description: '指定映射',
|
|
811
909
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
812
910
|
typeArguments: [
|
|
813
911
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -830,6 +928,7 @@ exports.default = new Namespace__1.default({
|
|
|
830
928
|
params: [
|
|
831
929
|
new Param__1.default({
|
|
832
930
|
name: 'map',
|
|
931
|
+
description: '指定映射',
|
|
833
932
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
834
933
|
typeArguments: [
|
|
835
934
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -852,10 +951,11 @@ exports.default = new Namespace__1.default({
|
|
|
852
951
|
params: [
|
|
853
952
|
new Param__1.default({
|
|
854
953
|
name: 'map',
|
|
954
|
+
description: '指定映射',
|
|
855
955
|
}),
|
|
856
956
|
new Param__1.default({
|
|
857
957
|
name: 'by',
|
|
858
|
-
description: '
|
|
958
|
+
description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
|
|
859
959
|
defaultExpression: new AnonymousFunction__1.default({
|
|
860
960
|
name: '',
|
|
861
961
|
description: '',
|
|
@@ -889,11 +989,11 @@ exports.default = new Namespace__1.default({
|
|
|
889
989
|
params: [
|
|
890
990
|
new Param__1.default({
|
|
891
991
|
name: 'map',
|
|
992
|
+
description: '指定映射',
|
|
892
993
|
}),
|
|
893
994
|
new Param__1.default({
|
|
894
995
|
name: 'by',
|
|
895
|
-
description:
|
|
896
|
-
<div>(\${0}, \${1}) → V</div>`,
|
|
996
|
+
description: `指定映射中键值对的参数处理方式,支持算数运算和比较运算`,
|
|
897
997
|
defaultExpression: new AnonymousFunction__1.default({
|
|
898
998
|
params: [
|
|
899
999
|
new Param__1.default({
|
|
@@ -970,11 +1070,12 @@ exports.default = new Namespace__1.default({
|
|
|
970
1070
|
params: [
|
|
971
1071
|
new Param__1.default({
|
|
972
1072
|
name: 'date',
|
|
1073
|
+
description: '指定需要格式化日期的字段',
|
|
973
1074
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Date'),
|
|
974
1075
|
}),
|
|
975
1076
|
new Param__1.default({
|
|
976
1077
|
name: 'formatter',
|
|
977
|
-
defaultValue: 'yyyy-MM-dd',
|
|
1078
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd,即年月日格式',
|
|
978
1079
|
defaultExpression: new StringLiteral__1.default({ value: 'yyyy-MM-dd' }),
|
|
979
1080
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
980
1081
|
}),
|
|
@@ -991,12 +1092,13 @@ exports.default = new Namespace__1.default({
|
|
|
991
1092
|
params: [
|
|
992
1093
|
new Param__1.default({
|
|
993
1094
|
name: 'date',
|
|
1095
|
+
description: '指定需要格式化日期时间的字段',
|
|
994
1096
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
995
1097
|
}),
|
|
996
1098
|
new Param__1.default({
|
|
997
1099
|
name: 'formatter',
|
|
998
1100
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
999
|
-
defaultValue: 'yyyy-MM-dd
|
|
1101
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd',
|
|
1000
1102
|
defaultExpression: new StringLiteral__1.default({ value: 'yyyy-MM-dd HH:mm:ss' }),
|
|
1001
1103
|
}),
|
|
1002
1104
|
],
|
|
@@ -1012,6 +1114,7 @@ exports.default = new Namespace__1.default({
|
|
|
1012
1114
|
params: [
|
|
1013
1115
|
new Param__1.default({
|
|
1014
1116
|
name: 'value',
|
|
1117
|
+
description: '指定需要格式化小数位数的字段',
|
|
1015
1118
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Decimal'),
|
|
1016
1119
|
defaultExpression: new Identifier__1.default(),
|
|
1017
1120
|
}),
|
|
@@ -1024,6 +1127,7 @@ exports.default = new Namespace__1.default({
|
|
|
1024
1127
|
}),
|
|
1025
1128
|
new Param__1.default({
|
|
1026
1129
|
name: 'showGroups',
|
|
1130
|
+
description: '是否显示千分位:true显示,false不显示',
|
|
1027
1131
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
1028
1132
|
defaultValue: 'false',
|
|
1029
1133
|
defaultExpression: new BooleanLiteral__1.default({ value: 'false' }),
|
|
@@ -1031,7 +1135,6 @@ exports.default = new Namespace__1.default({
|
|
|
1031
1135
|
{ text: 'true', value: 'true' },
|
|
1032
1136
|
{ text: 'false', value: 'false' },
|
|
1033
1137
|
],
|
|
1034
|
-
description: '是否显示千分位:true显示,false不显示',
|
|
1035
1138
|
}),
|
|
1036
1139
|
],
|
|
1037
1140
|
returns: [
|
|
@@ -1046,10 +1149,12 @@ exports.default = new Namespace__1.default({
|
|
|
1046
1149
|
params: [
|
|
1047
1150
|
new Param__1.default({
|
|
1048
1151
|
name: 'dateTime',
|
|
1152
|
+
description: '指定日期时间',
|
|
1049
1153
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1050
1154
|
}),
|
|
1051
1155
|
new Param__1.default({
|
|
1052
1156
|
name: 'amount',
|
|
1157
|
+
description: '增加的天数',
|
|
1053
1158
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1054
1159
|
}),
|
|
1055
1160
|
],
|
|
@@ -1065,10 +1170,12 @@ exports.default = new Namespace__1.default({
|
|
|
1065
1170
|
params: [
|
|
1066
1171
|
new Param__1.default({
|
|
1067
1172
|
name: 'dateTime',
|
|
1173
|
+
description: '指定日期时间',
|
|
1068
1174
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1069
1175
|
}),
|
|
1070
1176
|
new Param__1.default({
|
|
1071
1177
|
name: 'amount',
|
|
1178
|
+
description: '增加的月数',
|
|
1072
1179
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1073
1180
|
}),
|
|
1074
1181
|
],
|
|
@@ -1084,17 +1191,19 @@ exports.default = new Namespace__1.default({
|
|
|
1084
1191
|
params: [
|
|
1085
1192
|
new Param__1.default({
|
|
1086
1193
|
name: 'dateTime1',
|
|
1194
|
+
description: '指定日期时间1',
|
|
1087
1195
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1088
1196
|
defaultExpression: new Identifier__1.default(),
|
|
1089
1197
|
}),
|
|
1090
1198
|
new Param__1.default({
|
|
1091
1199
|
name: 'dateTime2',
|
|
1200
|
+
description: '指定日期时间2',
|
|
1092
1201
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1093
1202
|
defaultExpression: new Identifier__1.default(),
|
|
1094
1203
|
}),
|
|
1095
1204
|
new Param__1.default({
|
|
1096
1205
|
name: 'calcType',
|
|
1097
|
-
description: '
|
|
1206
|
+
description: '计算类型。计算两个日期时间之间的差值,支持年数、季度数、月数、星期数、天数、小时数、分钟数、秒数',
|
|
1098
1207
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
1099
1208
|
defaultValue: 'd',
|
|
1100
1209
|
defaultExpression: new StringLiteral__1.default({ value: 'd' }),
|
|
@@ -1122,6 +1231,7 @@ exports.default = new Namespace__1.default({
|
|
|
1122
1231
|
params: [
|
|
1123
1232
|
new Param__1.default({
|
|
1124
1233
|
name: 'struct',
|
|
1234
|
+
description: '指定对象',
|
|
1125
1235
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
1126
1236
|
}),
|
|
1127
1237
|
],
|
|
@@ -1137,6 +1247,7 @@ exports.default = new Namespace__1.default({
|
|
|
1137
1247
|
params: [
|
|
1138
1248
|
new Param__1.default({
|
|
1139
1249
|
name: 'struct',
|
|
1250
|
+
description: '指定对象',
|
|
1140
1251
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
1141
1252
|
}),
|
|
1142
1253
|
],
|
|
@@ -1171,12 +1282,14 @@ exports.default = new Namespace__1.default({
|
|
|
1171
1282
|
params: [
|
|
1172
1283
|
new Param__1.default({
|
|
1173
1284
|
name: 'list',
|
|
1285
|
+
description: '指定列表',
|
|
1174
1286
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1175
1287
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1176
1288
|
}),
|
|
1177
1289
|
}),
|
|
1178
1290
|
new Param__1.default({
|
|
1179
1291
|
name: 'total',
|
|
1292
|
+
description: '指定数据条数',
|
|
1180
1293
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1181
1294
|
}),
|
|
1182
1295
|
],
|
|
@@ -1194,12 +1307,14 @@ exports.default = new Namespace__1.default({
|
|
|
1194
1307
|
params: [
|
|
1195
1308
|
new Param__1.default({
|
|
1196
1309
|
name: 'list',
|
|
1310
|
+
description: '指定列表',
|
|
1197
1311
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1198
1312
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1199
1313
|
}),
|
|
1200
1314
|
}),
|
|
1201
1315
|
new Param__1.default({
|
|
1202
1316
|
name: 'by',
|
|
1317
|
+
description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
|
|
1203
1318
|
defaultExpression: new Function__1.default({
|
|
1204
1319
|
name: '',
|
|
1205
1320
|
description: '',
|
|
@@ -1213,13 +1328,13 @@ exports.default = new Namespace__1.default({
|
|
|
1213
1328
|
}),
|
|
1214
1329
|
new Param__1.default({
|
|
1215
1330
|
name: 'sort',
|
|
1216
|
-
description: '
|
|
1331
|
+
description: '支持升序或降序设置,asc为升序,desc为降序。',
|
|
1217
1332
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
1218
1333
|
defaultValue: 'asc',
|
|
1219
1334
|
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
1220
1335
|
options: [
|
|
1221
|
-
{ text: 'asc', value: 'true' },
|
|
1222
|
-
{ text: 'desc', value: 'false' },
|
|
1336
|
+
{ text: 'asc(升序)', value: 'true' },
|
|
1337
|
+
{ text: 'desc(降序)', value: 'false' },
|
|
1223
1338
|
],
|
|
1224
1339
|
}),
|
|
1225
1340
|
],
|
|
@@ -1231,12 +1346,14 @@ exports.default = new Namespace__1.default({
|
|
|
1231
1346
|
params: [
|
|
1232
1347
|
new Param__1.default({
|
|
1233
1348
|
name: 'list',
|
|
1349
|
+
description: '指定列表',
|
|
1234
1350
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1235
1351
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1236
1352
|
}),
|
|
1237
1353
|
}),
|
|
1238
1354
|
new Param__1.default({
|
|
1239
1355
|
name: 'by',
|
|
1356
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1240
1357
|
defaultExpression: new Function__1.default({
|
|
1241
1358
|
name: '',
|
|
1242
1359
|
description: '',
|
|
@@ -1261,12 +1378,14 @@ exports.default = new Namespace__1.default({
|
|
|
1261
1378
|
params: [
|
|
1262
1379
|
new Param__1.default({
|
|
1263
1380
|
name: 'list',
|
|
1381
|
+
description: '指定列表',
|
|
1264
1382
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1265
1383
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1266
1384
|
}),
|
|
1267
1385
|
}),
|
|
1268
1386
|
new Param__1.default({
|
|
1269
1387
|
name: 'by',
|
|
1388
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1270
1389
|
defaultExpression: new Function__1.default({
|
|
1271
1390
|
name: '',
|
|
1272
1391
|
description: '',
|
|
@@ -1291,10 +1410,11 @@ exports.default = new Namespace__1.default({
|
|
|
1291
1410
|
params: [
|
|
1292
1411
|
new Param__1.default({
|
|
1293
1412
|
name: 'list',
|
|
1413
|
+
description: '指定列表',
|
|
1294
1414
|
}),
|
|
1295
1415
|
new Param__1.default({
|
|
1296
1416
|
name: 'by',
|
|
1297
|
-
description: '
|
|
1417
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1298
1418
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1299
1419
|
params: [
|
|
1300
1420
|
new Param__1.default({
|
|
@@ -1320,6 +1440,7 @@ exports.default = new Namespace__1.default({
|
|
|
1320
1440
|
params: [
|
|
1321
1441
|
new Param__1.default({
|
|
1322
1442
|
name: 'list',
|
|
1443
|
+
description: '指定列表',
|
|
1323
1444
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1324
1445
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1325
1446
|
}),
|
|
@@ -1333,6 +1454,7 @@ exports.default = new Namespace__1.default({
|
|
|
1333
1454
|
params: [
|
|
1334
1455
|
new Param__1.default({
|
|
1335
1456
|
name: 'list',
|
|
1457
|
+
description: '指定列表',
|
|
1336
1458
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1337
1459
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1338
1460
|
}),
|
|
@@ -1346,14 +1468,16 @@ exports.default = new Namespace__1.default({
|
|
|
1346
1468
|
params: [
|
|
1347
1469
|
new Param__1.default({
|
|
1348
1470
|
name: 'list',
|
|
1471
|
+
description: '指定列表',
|
|
1349
1472
|
}),
|
|
1350
1473
|
new Param__1.default({
|
|
1351
1474
|
name: 'by',
|
|
1352
|
-
description: '
|
|
1475
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1353
1476
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1354
1477
|
params: [
|
|
1355
1478
|
new Param__1.default({
|
|
1356
1479
|
name: 'item',
|
|
1480
|
+
description: '是否忽略大小写',
|
|
1357
1481
|
typeAnnotation: null,
|
|
1358
1482
|
}),
|
|
1359
1483
|
],
|
|
@@ -1375,14 +1499,16 @@ exports.default = new Namespace__1.default({
|
|
|
1375
1499
|
params: [
|
|
1376
1500
|
new Param__1.default({
|
|
1377
1501
|
name: 'list',
|
|
1502
|
+
description: '指定列表',
|
|
1378
1503
|
}),
|
|
1379
1504
|
new Param__1.default({
|
|
1380
1505
|
name: 'by',
|
|
1381
|
-
description: '
|
|
1506
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1382
1507
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1383
1508
|
params: [
|
|
1384
1509
|
new Param__1.default({
|
|
1385
1510
|
name: 'item',
|
|
1511
|
+
description: '是否忽略大小写',
|
|
1386
1512
|
typeAnnotation: null,
|
|
1387
1513
|
}),
|
|
1388
1514
|
],
|
|
@@ -1407,16 +1533,19 @@ exports.default = new Namespace__1.default({
|
|
|
1407
1533
|
params: [
|
|
1408
1534
|
new Param__1.default({
|
|
1409
1535
|
name: 'list',
|
|
1536
|
+
description: '指定列表',
|
|
1410
1537
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1411
1538
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1412
1539
|
}),
|
|
1413
1540
|
}),
|
|
1414
1541
|
new Param__1.default({
|
|
1415
1542
|
name: 'start',
|
|
1543
|
+
description: '切片起始的索引,integer类型,项数索引从0开始',
|
|
1416
1544
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1417
1545
|
}),
|
|
1418
1546
|
new Param__1.default({
|
|
1419
1547
|
name: 'end',
|
|
1548
|
+
description: '切片结束的索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
1420
1549
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1421
1550
|
}),
|
|
1422
1551
|
],
|
|
@@ -1434,16 +1563,19 @@ exports.default = new Namespace__1.default({
|
|
|
1434
1563
|
params: [
|
|
1435
1564
|
new Param__1.default({
|
|
1436
1565
|
name: 'list',
|
|
1566
|
+
description: '指定列表',
|
|
1437
1567
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1438
1568
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1439
1569
|
}),
|
|
1440
1570
|
}),
|
|
1441
1571
|
new Param__1.default({
|
|
1442
1572
|
name: 'page',
|
|
1573
|
+
description: '页数,integer类型,从1开始',
|
|
1443
1574
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1444
1575
|
}),
|
|
1445
1576
|
new Param__1.default({
|
|
1446
1577
|
name: 'size',
|
|
1578
|
+
description: '每页的大小,integer类型',
|
|
1447
1579
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1448
1580
|
}),
|
|
1449
1581
|
],
|