@lcap/nasl-concepts 3.9.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.
Files changed (986) hide show
  1. package/README.md +3 -0
  2. package/out/breakpoint/index.d.ts +2 -0
  3. package/out/breakpoint/index.d.ts.map +1 -0
  4. package/out/breakpoint/index.js +18 -0
  5. package/out/breakpoint/index.js.map +1 -0
  6. package/out/breakpoint/operation.d.ts +11 -0
  7. package/out/breakpoint/operation.d.ts.map +1 -0
  8. package/out/breakpoint/operation.js +24 -0
  9. package/out/breakpoint/operation.js.map +1 -0
  10. package/out/common/BaseNode.d.ts +427 -0
  11. package/out/common/BaseNode.d.ts.map +1 -0
  12. package/out/common/BaseNode.js +1721 -0
  13. package/out/common/BaseNode.js.map +1 -0
  14. package/out/common/EventEmitter.d.ts +30 -0
  15. package/out/common/EventEmitter.d.ts.map +1 -0
  16. package/out/common/EventEmitter.js +70 -0
  17. package/out/common/EventEmitter.js.map +1 -0
  18. package/out/common/index.d.ts +3 -0
  19. package/out/common/index.d.ts.map +1 -0
  20. package/out/common/index.js +19 -0
  21. package/out/common/index.js.map +1 -0
  22. package/out/common/types.d.ts +5 -0
  23. package/out/common/types.d.ts.map +1 -0
  24. package/out/common/types.js +3 -0
  25. package/out/common/types.js.map +1 -0
  26. package/out/concepts/Abort__.d.ts +32 -0
  27. package/out/concepts/Abort__.d.ts.map +1 -0
  28. package/out/concepts/Abort__.js +94 -0
  29. package/out/concepts/Abort__.js.map +1 -0
  30. package/out/concepts/AbstractInterface__.d.ts +29 -0
  31. package/out/concepts/AbstractInterface__.d.ts.map +1 -0
  32. package/out/concepts/AbstractInterface__.js +62 -0
  33. package/out/concepts/AbstractInterface__.js.map +1 -0
  34. package/out/concepts/Anchor__.d.ts +44 -0
  35. package/out/concepts/Anchor__.d.ts.map +1 -0
  36. package/out/concepts/Anchor__.js +179 -0
  37. package/out/concepts/Anchor__.js.map +1 -0
  38. package/out/concepts/Annotatable__.d.ts +111 -0
  39. package/out/concepts/Annotatable__.d.ts.map +1 -0
  40. package/out/concepts/Annotatable__.js +163 -0
  41. package/out/concepts/Annotatable__.js.map +1 -0
  42. package/out/concepts/AnnotationProperty__.d.ts +49 -0
  43. package/out/concepts/AnnotationProperty__.d.ts.map +1 -0
  44. package/out/concepts/AnnotationProperty__.js +76 -0
  45. package/out/concepts/AnnotationProperty__.js.map +1 -0
  46. package/out/concepts/Annotation__.d.ts +129 -0
  47. package/out/concepts/Annotation__.d.ts.map +1 -0
  48. package/out/concepts/Annotation__.js +249 -0
  49. package/out/concepts/Annotation__.js.map +1 -0
  50. package/out/concepts/AnonymousFunction__.d.ts +141 -0
  51. package/out/concepts/AnonymousFunction__.d.ts.map +1 -0
  52. package/out/concepts/AnonymousFunction__.js +428 -0
  53. package/out/concepts/AnonymousFunction__.js.map +1 -0
  54. package/out/concepts/App__.d.ts +1794 -0
  55. package/out/concepts/App__.d.ts.map +1 -0
  56. package/out/concepts/App__.js +3475 -0
  57. package/out/concepts/App__.js.map +1 -0
  58. package/out/concepts/ApplyAnnotation__.d.ts +88 -0
  59. package/out/concepts/ApplyAnnotation__.d.ts.map +1 -0
  60. package/out/concepts/ApplyAnnotation__.js +142 -0
  61. package/out/concepts/ApplyAnnotation__.js.map +1 -0
  62. package/out/concepts/ApprovalPolicyV2__.d.ts +27 -0
  63. package/out/concepts/ApprovalPolicyV2__.d.ts.map +1 -0
  64. package/out/concepts/ApprovalPolicyV2__.js +55 -0
  65. package/out/concepts/ApprovalPolicyV2__.js.map +1 -0
  66. package/out/concepts/Argument__.d.ts +85 -0
  67. package/out/concepts/Argument__.d.ts.map +1 -0
  68. package/out/concepts/Argument__.js +390 -0
  69. package/out/concepts/Argument__.js.map +1 -0
  70. package/out/concepts/AssigneeV2__.d.ts +380 -0
  71. package/out/concepts/AssigneeV2__.d.ts.map +1 -0
  72. package/out/concepts/AssigneeV2__.js +517 -0
  73. package/out/concepts/AssigneeV2__.js.map +1 -0
  74. package/out/concepts/Assignee__.d.ts +296 -0
  75. package/out/concepts/Assignee__.d.ts.map +1 -0
  76. package/out/concepts/Assignee__.js +404 -0
  77. package/out/concepts/Assignee__.js.map +1 -0
  78. package/out/concepts/AssignmentLine__.d.ts +44 -0
  79. package/out/concepts/AssignmentLine__.d.ts.map +1 -0
  80. package/out/concepts/AssignmentLine__.js +110 -0
  81. package/out/concepts/AssignmentLine__.js.map +1 -0
  82. package/out/concepts/Assignment__.d.ts +59 -0
  83. package/out/concepts/Assignment__.d.ts.map +1 -0
  84. package/out/concepts/Assignment__.js +288 -0
  85. package/out/concepts/Assignment__.js.map +1 -0
  86. package/out/concepts/Attribute__.d.ts +77 -0
  87. package/out/concepts/Attribute__.d.ts.map +1 -0
  88. package/out/concepts/Attribute__.js +103 -0
  89. package/out/concepts/Attribute__.js.map +1 -0
  90. package/out/concepts/AuthInterface__.d.ts +39 -0
  91. package/out/concepts/AuthInterface__.d.ts.map +1 -0
  92. package/out/concepts/AuthInterface__.js +79 -0
  93. package/out/concepts/AuthInterface__.js.map +1 -0
  94. package/out/concepts/AuthLogicForCallInterface__.d.ts +148 -0
  95. package/out/concepts/AuthLogicForCallInterface__.d.ts.map +1 -0
  96. package/out/concepts/AuthLogicForCallInterface__.js +597 -0
  97. package/out/concepts/AuthLogicForCallInterface__.js.map +1 -0
  98. package/out/concepts/AuthLogic__.d.ts +70 -0
  99. package/out/concepts/AuthLogic__.d.ts.map +1 -0
  100. package/out/concepts/AuthLogic__.js +211 -0
  101. package/out/concepts/AuthLogic__.js.map +1 -0
  102. package/out/concepts/BackendVariable__.d.ts +120 -0
  103. package/out/concepts/BackendVariable__.d.ts.map +1 -0
  104. package/out/concepts/BackendVariable__.js +432 -0
  105. package/out/concepts/BackendVariable__.js.map +1 -0
  106. package/out/concepts/Backend__.d.ts +128 -0
  107. package/out/concepts/Backend__.d.ts.map +1 -0
  108. package/out/concepts/Backend__.js +238 -0
  109. package/out/concepts/Backend__.js.map +1 -0
  110. package/out/concepts/BaseSetter__.d.ts +27 -0
  111. package/out/concepts/BaseSetter__.d.ts.map +1 -0
  112. package/out/concepts/BaseSetter__.js +55 -0
  113. package/out/concepts/BaseSetter__.js.map +1 -0
  114. package/out/concepts/BatchAssignment__.d.ts +246 -0
  115. package/out/concepts/BatchAssignment__.d.ts.map +1 -0
  116. package/out/concepts/BatchAssignment__.js +831 -0
  117. package/out/concepts/BatchAssignment__.js.map +1 -0
  118. package/out/concepts/BinaryExpression__.d.ts +64 -0
  119. package/out/concepts/BinaryExpression__.d.ts.map +1 -0
  120. package/out/concepts/BinaryExpression__.js +508 -0
  121. package/out/concepts/BinaryExpression__.js.map +1 -0
  122. package/out/concepts/BindAttribute__.d.ts +294 -0
  123. package/out/concepts/BindAttribute__.d.ts.map +1 -0
  124. package/out/concepts/BindAttribute__.js +1023 -0
  125. package/out/concepts/BindAttribute__.js.map +1 -0
  126. package/out/concepts/BindDirective__.d.ts +157 -0
  127. package/out/concepts/BindDirective__.d.ts.map +1 -0
  128. package/out/concepts/BindDirective__.js +492 -0
  129. package/out/concepts/BindDirective__.js.map +1 -0
  130. package/out/concepts/BindEvent__.d.ts +247 -0
  131. package/out/concepts/BindEvent__.d.ts.map +1 -0
  132. package/out/concepts/BindEvent__.js +833 -0
  133. package/out/concepts/BindEvent__.js.map +1 -0
  134. package/out/concepts/BindStyle__.d.ts +128 -0
  135. package/out/concepts/BindStyle__.d.ts.map +1 -0
  136. package/out/concepts/BindStyle__.js +412 -0
  137. package/out/concepts/BindStyle__.js.map +1 -0
  138. package/out/concepts/Block__.d.ts +90 -0
  139. package/out/concepts/Block__.d.ts.map +1 -0
  140. package/out/concepts/Block__.js +204 -0
  141. package/out/concepts/Block__.js.map +1 -0
  142. package/out/concepts/BooleanLiteral__.d.ts +46 -0
  143. package/out/concepts/BooleanLiteral__.d.ts.map +1 -0
  144. package/out/concepts/BooleanLiteral__.js +119 -0
  145. package/out/concepts/BooleanLiteral__.js.map +1 -0
  146. package/out/concepts/BusinessComponent__.d.ts +648 -0
  147. package/out/concepts/BusinessComponent__.d.ts.map +1 -0
  148. package/out/concepts/BusinessComponent__.js +1785 -0
  149. package/out/concepts/BusinessComponent__.js.map +1 -0
  150. package/out/concepts/BusinessLogic__.d.ts +46 -0
  151. package/out/concepts/BusinessLogic__.d.ts.map +1 -0
  152. package/out/concepts/BusinessLogic__.js +485 -0
  153. package/out/concepts/BusinessLogic__.js.map +1 -0
  154. package/out/concepts/CallAuthInterface__.d.ts +134 -0
  155. package/out/concepts/CallAuthInterface__.d.ts.map +1 -0
  156. package/out/concepts/CallAuthInterface__.js +426 -0
  157. package/out/concepts/CallAuthInterface__.js.map +1 -0
  158. package/out/concepts/CallConnector__.d.ts +56 -0
  159. package/out/concepts/CallConnector__.d.ts.map +1 -0
  160. package/out/concepts/CallConnector__.js +296 -0
  161. package/out/concepts/CallConnector__.js.map +1 -0
  162. package/out/concepts/CallEvent__.d.ts +103 -0
  163. package/out/concepts/CallEvent__.d.ts.map +1 -0
  164. package/out/concepts/CallEvent__.js +326 -0
  165. package/out/concepts/CallEvent__.js.map +1 -0
  166. package/out/concepts/CallFunction__.d.ts +173 -0
  167. package/out/concepts/CallFunction__.d.ts.map +1 -0
  168. package/out/concepts/CallFunction__.js +679 -0
  169. package/out/concepts/CallFunction__.js.map +1 -0
  170. package/out/concepts/CallInterface__.d.ts +145 -0
  171. package/out/concepts/CallInterface__.d.ts.map +1 -0
  172. package/out/concepts/CallInterface__.js +882 -0
  173. package/out/concepts/CallInterface__.js.map +1 -0
  174. package/out/concepts/CallLogic__.d.ts +247 -0
  175. package/out/concepts/CallLogic__.d.ts.map +1 -0
  176. package/out/concepts/CallLogic__.js +1583 -0
  177. package/out/concepts/CallLogic__.js.map +1 -0
  178. package/out/concepts/CallQueryComponent__.d.ts +380 -0
  179. package/out/concepts/CallQueryComponent__.d.ts.map +1 -0
  180. package/out/concepts/CallQueryComponent__.js +1227 -0
  181. package/out/concepts/CallQueryComponent__.js.map +1 -0
  182. package/out/concepts/CapsulesSetter__.d.ts +114 -0
  183. package/out/concepts/CapsulesSetter__.d.ts.map +1 -0
  184. package/out/concepts/CapsulesSetter__.js +172 -0
  185. package/out/concepts/CapsulesSetter__.js.map +1 -0
  186. package/out/concepts/Comment__.d.ts +42 -0
  187. package/out/concepts/Comment__.d.ts.map +1 -0
  188. package/out/concepts/Comment__.js +107 -0
  189. package/out/concepts/Comment__.js.map +1 -0
  190. package/out/concepts/CompletionProperty__.d.ts +88 -0
  191. package/out/concepts/CompletionProperty__.d.ts.map +1 -0
  192. package/out/concepts/CompletionProperty__.js +175 -0
  193. package/out/concepts/CompletionProperty__.js.map +1 -0
  194. package/out/concepts/ConfigGroup__.d.ts +122 -0
  195. package/out/concepts/ConfigGroup__.d.ts.map +1 -0
  196. package/out/concepts/ConfigGroup__.js +228 -0
  197. package/out/concepts/ConfigGroup__.js.map +1 -0
  198. package/out/concepts/ConfigPropertyValue__.d.ts +42 -0
  199. package/out/concepts/ConfigPropertyValue__.d.ts.map +1 -0
  200. package/out/concepts/ConfigPropertyValue__.js +83 -0
  201. package/out/concepts/ConfigPropertyValue__.js.map +1 -0
  202. package/out/concepts/ConfigProperty__.d.ts +148 -0
  203. package/out/concepts/ConfigProperty__.d.ts.map +1 -0
  204. package/out/concepts/ConfigProperty__.js +294 -0
  205. package/out/concepts/ConfigProperty__.js.map +1 -0
  206. package/out/concepts/Configuration__.d.ts +121 -0
  207. package/out/concepts/Configuration__.d.ts.map +1 -0
  208. package/out/concepts/Configuration__.js +202 -0
  209. package/out/concepts/Configuration__.js.map +1 -0
  210. package/out/concepts/Connection__.d.ts +165 -0
  211. package/out/concepts/Connection__.d.ts.map +1 -0
  212. package/out/concepts/Connection__.js +330 -0
  213. package/out/concepts/Connection__.js.map +1 -0
  214. package/out/concepts/ConnectorLogic__.d.ts +34 -0
  215. package/out/concepts/ConnectorLogic__.d.ts.map +1 -0
  216. package/out/concepts/ConnectorLogic__.js +69 -0
  217. package/out/concepts/ConnectorLogic__.js.map +1 -0
  218. package/out/concepts/ConnectorTriggerLauncher__.d.ts +45 -0
  219. package/out/concepts/ConnectorTriggerLauncher__.d.ts.map +1 -0
  220. package/out/concepts/ConnectorTriggerLauncher__.js +98 -0
  221. package/out/concepts/ConnectorTriggerLauncher__.js.map +1 -0
  222. package/out/concepts/ConnectorTrigger__.d.ts +94 -0
  223. package/out/concepts/ConnectorTrigger__.d.ts.map +1 -0
  224. package/out/concepts/ConnectorTrigger__.js +339 -0
  225. package/out/concepts/ConnectorTrigger__.js.map +1 -0
  226. package/out/concepts/Connector__.d.ts +533 -0
  227. package/out/concepts/Connector__.d.ts.map +1 -0
  228. package/out/concepts/Connector__.js +670 -0
  229. package/out/concepts/Connector__.js.map +1 -0
  230. package/out/concepts/Constant__.d.ts +95 -0
  231. package/out/concepts/Constant__.d.ts.map +1 -0
  232. package/out/concepts/Constant__.js +243 -0
  233. package/out/concepts/Constant__.js.map +1 -0
  234. package/out/concepts/CountersignPolicyV2__.d.ts +30 -0
  235. package/out/concepts/CountersignPolicyV2__.d.ts.map +1 -0
  236. package/out/concepts/CountersignPolicyV2__.js +58 -0
  237. package/out/concepts/CountersignPolicyV2__.js.map +1 -0
  238. package/out/concepts/CountersignPolicy__.d.ts +30 -0
  239. package/out/concepts/CountersignPolicy__.d.ts.map +1 -0
  240. package/out/concepts/CountersignPolicy__.js +58 -0
  241. package/out/concepts/CountersignPolicy__.js.map +1 -0
  242. package/out/concepts/DataSource__.d.ts +166 -0
  243. package/out/concepts/DataSource__.d.ts.map +1 -0
  244. package/out/concepts/DataSource__.js +516 -0
  245. package/out/concepts/DataSource__.js.map +1 -0
  246. package/out/concepts/DatabaseTypeAnnotation__.d.ts +36 -0
  247. package/out/concepts/DatabaseTypeAnnotation__.d.ts.map +1 -0
  248. package/out/concepts/DatabaseTypeAnnotation__.js +81 -0
  249. package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -0
  250. package/out/concepts/DefaultValue__.d.ts +96 -0
  251. package/out/concepts/DefaultValue__.d.ts.map +1 -0
  252. package/out/concepts/DefaultValue__.js +212 -0
  253. package/out/concepts/DefaultValue__.js.map +1 -0
  254. package/out/concepts/DepartmentManagerV2__.d.ts +30 -0
  255. package/out/concepts/DepartmentManagerV2__.d.ts.map +1 -0
  256. package/out/concepts/DepartmentManagerV2__.js +58 -0
  257. package/out/concepts/DepartmentManagerV2__.js.map +1 -0
  258. package/out/concepts/DepartmentV2__.d.ts +34 -0
  259. package/out/concepts/DepartmentV2__.d.ts.map +1 -0
  260. package/out/concepts/DepartmentV2__.js +65 -0
  261. package/out/concepts/DepartmentV2__.js.map +1 -0
  262. package/out/concepts/Destination__.d.ts +151 -0
  263. package/out/concepts/Destination__.d.ts.map +1 -0
  264. package/out/concepts/Destination__.js +771 -0
  265. package/out/concepts/Destination__.js.map +1 -0
  266. package/out/concepts/DirectManagerV2__.d.ts +26 -0
  267. package/out/concepts/DirectManagerV2__.d.ts.map +1 -0
  268. package/out/concepts/DirectManagerV2__.js +55 -0
  269. package/out/concepts/DirectManagerV2__.js.map +1 -0
  270. package/out/concepts/End__.d.ts +31 -0
  271. package/out/concepts/End__.d.ts.map +1 -0
  272. package/out/concepts/End__.js +150 -0
  273. package/out/concepts/End__.js.map +1 -0
  274. package/out/concepts/EntityIndex__.d.ts +94 -0
  275. package/out/concepts/EntityIndex__.d.ts.map +1 -0
  276. package/out/concepts/EntityIndex__.js +201 -0
  277. package/out/concepts/EntityIndex__.js.map +1 -0
  278. package/out/concepts/EntityProperty__.d.ts +254 -0
  279. package/out/concepts/EntityProperty__.d.ts.map +1 -0
  280. package/out/concepts/EntityProperty__.js +715 -0
  281. package/out/concepts/EntityProperty__.js.map +1 -0
  282. package/out/concepts/Entity__.d.ts +341 -0
  283. package/out/concepts/Entity__.d.ts.map +1 -0
  284. package/out/concepts/Entity__.js +783 -0
  285. package/out/concepts/Entity__.js.map +1 -0
  286. package/out/concepts/EnumItem__.d.ts +93 -0
  287. package/out/concepts/EnumItem__.d.ts.map +1 -0
  288. package/out/concepts/EnumItem__.js +235 -0
  289. package/out/concepts/EnumItem__.js.map +1 -0
  290. package/out/concepts/EnumSelectSetter__.d.ts +114 -0
  291. package/out/concepts/EnumSelectSetter__.d.ts.map +1 -0
  292. package/out/concepts/EnumSelectSetter__.js +172 -0
  293. package/out/concepts/EnumSelectSetter__.js.map +1 -0
  294. package/out/concepts/Enum__.d.ts +129 -0
  295. package/out/concepts/Enum__.d.ts.map +1 -0
  296. package/out/concepts/Enum__.js +342 -0
  297. package/out/concepts/Enum__.js.map +1 -0
  298. package/out/concepts/EventDeclaration__.d.ts +43 -0
  299. package/out/concepts/EventDeclaration__.d.ts.map +1 -0
  300. package/out/concepts/EventDeclaration__.js +109 -0
  301. package/out/concepts/EventDeclaration__.js.map +1 -0
  302. package/out/concepts/Event__.d.ts +156 -0
  303. package/out/concepts/Event__.d.ts.map +1 -0
  304. package/out/concepts/Event__.js +291 -0
  305. package/out/concepts/Event__.js.map +1 -0
  306. package/out/concepts/ExternalDestination__.d.ts +65 -0
  307. package/out/concepts/ExternalDestination__.d.ts.map +1 -0
  308. package/out/concepts/ExternalDestination__.js +285 -0
  309. package/out/concepts/ExternalDestination__.js.map +1 -0
  310. package/out/concepts/FieldPermissionV2__.d.ts +40 -0
  311. package/out/concepts/FieldPermissionV2__.d.ts.map +1 -0
  312. package/out/concepts/FieldPermissionV2__.js +85 -0
  313. package/out/concepts/FieldPermissionV2__.js.map +1 -0
  314. package/out/concepts/FlowConditionItemV2__.d.ts +45 -0
  315. package/out/concepts/FlowConditionItemV2__.d.ts.map +1 -0
  316. package/out/concepts/FlowConditionItemV2__.js +107 -0
  317. package/out/concepts/FlowConditionItemV2__.js.map +1 -0
  318. package/out/concepts/FlowConditionV2__.d.ts +116 -0
  319. package/out/concepts/FlowConditionV2__.d.ts.map +1 -0
  320. package/out/concepts/FlowConditionV2__.js +181 -0
  321. package/out/concepts/FlowConditionV2__.js.map +1 -0
  322. package/out/concepts/ForEachStatement__.d.ts +128 -0
  323. package/out/concepts/ForEachStatement__.d.ts.map +1 -0
  324. package/out/concepts/ForEachStatement__.js +398 -0
  325. package/out/concepts/ForEachStatement__.js.map +1 -0
  326. package/out/concepts/FrontendLibrary__.d.ts +213 -0
  327. package/out/concepts/FrontendLibrary__.d.ts.map +1 -0
  328. package/out/concepts/FrontendLibrary__.js +303 -0
  329. package/out/concepts/FrontendLibrary__.js.map +1 -0
  330. package/out/concepts/FrontendType__.d.ts +312 -0
  331. package/out/concepts/FrontendType__.d.ts.map +1 -0
  332. package/out/concepts/FrontendType__.js +550 -0
  333. package/out/concepts/FrontendType__.js.map +1 -0
  334. package/out/concepts/FrontendVariable__.d.ts +42 -0
  335. package/out/concepts/FrontendVariable__.d.ts.map +1 -0
  336. package/out/concepts/FrontendVariable__.js +81 -0
  337. package/out/concepts/FrontendVariable__.js.map +1 -0
  338. package/out/concepts/Frontend__.d.ts +395 -0
  339. package/out/concepts/Frontend__.d.ts.map +1 -0
  340. package/out/concepts/Frontend__.js +870 -0
  341. package/out/concepts/Frontend__.js.map +1 -0
  342. package/out/concepts/Function__.d.ts +400 -0
  343. package/out/concepts/Function__.d.ts.map +1 -0
  344. package/out/concepts/Function__.js +631 -0
  345. package/out/concepts/Function__.js.map +1 -0
  346. package/out/concepts/HistoryProcessV2__.d.ts +229 -0
  347. package/out/concepts/HistoryProcessV2__.d.ts.map +1 -0
  348. package/out/concepts/HistoryProcessV2__.js +345 -0
  349. package/out/concepts/HistoryProcessV2__.js.map +1 -0
  350. package/out/concepts/I18nInfo__.d.ts +48 -0
  351. package/out/concepts/I18nInfo__.d.ts.map +1 -0
  352. package/out/concepts/I18nInfo__.js +100 -0
  353. package/out/concepts/I18nInfo__.js.map +1 -0
  354. package/out/concepts/IconSetter__.d.ts +30 -0
  355. package/out/concepts/IconSetter__.d.ts.map +1 -0
  356. package/out/concepts/IconSetter__.js +58 -0
  357. package/out/concepts/IconSetter__.js.map +1 -0
  358. package/out/concepts/Identifier__.d.ts +69 -0
  359. package/out/concepts/Identifier__.d.ts.map +1 -0
  360. package/out/concepts/Identifier__.js +437 -0
  361. package/out/concepts/Identifier__.js.map +1 -0
  362. package/out/concepts/IfStatement__.d.ts +157 -0
  363. package/out/concepts/IfStatement__.d.ts.map +1 -0
  364. package/out/concepts/IfStatement__.js +365 -0
  365. package/out/concepts/IfStatement__.js.map +1 -0
  366. package/out/concepts/ImageSetter__.d.ts +26 -0
  367. package/out/concepts/ImageSetter__.d.ts.map +1 -0
  368. package/out/concepts/ImageSetter__.js +55 -0
  369. package/out/concepts/ImageSetter__.js.map +1 -0
  370. package/out/concepts/ImportedInterface__.d.ts +31 -0
  371. package/out/concepts/ImportedInterface__.d.ts.map +1 -0
  372. package/out/concepts/ImportedInterface__.js +58 -0
  373. package/out/concepts/ImportedInterface__.js.map +1 -0
  374. package/out/concepts/InputSetter__.d.ts +30 -0
  375. package/out/concepts/InputSetter__.d.ts.map +1 -0
  376. package/out/concepts/InputSetter__.js +58 -0
  377. package/out/concepts/InputSetter__.js.map +1 -0
  378. package/out/concepts/Integration__.d.ts +129 -0
  379. package/out/concepts/Integration__.d.ts.map +1 -0
  380. package/out/concepts/Integration__.js +215 -0
  381. package/out/concepts/Integration__.js.map +1 -0
  382. package/out/concepts/InterfaceParam__.d.ts +121 -0
  383. package/out/concepts/InterfaceParam__.d.ts.map +1 -0
  384. package/out/concepts/InterfaceParam__.js +285 -0
  385. package/out/concepts/InterfaceParam__.js.map +1 -0
  386. package/out/concepts/InterfaceTriggerEvent__.d.ts +35 -0
  387. package/out/concepts/InterfaceTriggerEvent__.d.ts.map +1 -0
  388. package/out/concepts/InterfaceTriggerEvent__.js +74 -0
  389. package/out/concepts/InterfaceTriggerEvent__.js.map +1 -0
  390. package/out/concepts/Interface__.d.ts +406 -0
  391. package/out/concepts/Interface__.d.ts.map +1 -0
  392. package/out/concepts/Interface__.js +994 -0
  393. package/out/concepts/Interface__.js.map +1 -0
  394. package/out/concepts/JSBlock__.d.ts +40 -0
  395. package/out/concepts/JSBlock__.d.ts.map +1 -0
  396. package/out/concepts/JSBlock__.js +110 -0
  397. package/out/concepts/JSBlock__.js.map +1 -0
  398. package/out/concepts/JavaLogic__.d.ts +51 -0
  399. package/out/concepts/JavaLogic__.d.ts.map +1 -0
  400. package/out/concepts/JavaLogic__.js +116 -0
  401. package/out/concepts/JavaLogic__.js.map +1 -0
  402. package/out/concepts/LogicDeclaration__.d.ts +292 -0
  403. package/out/concepts/LogicDeclaration__.d.ts.map +1 -0
  404. package/out/concepts/LogicDeclaration__.js +421 -0
  405. package/out/concepts/LogicDeclaration__.js.map +1 -0
  406. package/out/concepts/LogicItem__.d.ts +188 -0
  407. package/out/concepts/LogicItem__.d.ts.map +1 -0
  408. package/out/concepts/LogicItem__.js +322 -0
  409. package/out/concepts/LogicItem__.js.map +1 -0
  410. package/out/concepts/Logic__.d.ts +657 -0
  411. package/out/concepts/Logic__.d.ts.map +1 -0
  412. package/out/concepts/Logic__.js +2280 -0
  413. package/out/concepts/Logic__.js.map +1 -0
  414. package/out/concepts/ManagerV2__.d.ts +36 -0
  415. package/out/concepts/ManagerV2__.d.ts.map +1 -0
  416. package/out/concepts/ManagerV2__.js +63 -0
  417. package/out/concepts/ManagerV2__.js.map +1 -0
  418. package/out/concepts/MatchCase__.d.ts +266 -0
  419. package/out/concepts/MatchCase__.d.ts.map +1 -0
  420. package/out/concepts/MatchCase__.js +677 -0
  421. package/out/concepts/MatchCase__.js.map +1 -0
  422. package/out/concepts/Match__.d.ts +125 -0
  423. package/out/concepts/Match__.d.ts.map +1 -0
  424. package/out/concepts/Match__.js +685 -0
  425. package/out/concepts/Match__.js.map +1 -0
  426. package/out/concepts/MemberExpression__.d.ts +66 -0
  427. package/out/concepts/MemberExpression__.d.ts.map +1 -0
  428. package/out/concepts/MemberExpression__.js +514 -0
  429. package/out/concepts/MemberExpression__.js.map +1 -0
  430. package/out/concepts/MetadataType__.d.ts +222 -0
  431. package/out/concepts/MetadataType__.d.ts.map +1 -0
  432. package/out/concepts/MetadataType__.js +422 -0
  433. package/out/concepts/MetadataType__.js.map +1 -0
  434. package/out/concepts/MicroApp__.d.ts +54 -0
  435. package/out/concepts/MicroApp__.d.ts.map +1 -0
  436. package/out/concepts/MicroApp__.js +80 -0
  437. package/out/concepts/MicroApp__.js.map +1 -0
  438. package/out/concepts/Module__.d.ts +1314 -0
  439. package/out/concepts/Module__.d.ts.map +1 -0
  440. package/out/concepts/Module__.js +1580 -0
  441. package/out/concepts/Module__.js.map +1 -0
  442. package/out/concepts/MsgTriggerEvent__.d.ts +139 -0
  443. package/out/concepts/MsgTriggerEvent__.d.ts.map +1 -0
  444. package/out/concepts/MsgTriggerEvent__.js +210 -0
  445. package/out/concepts/MsgTriggerEvent__.js.map +1 -0
  446. package/out/concepts/MsgTriggerLauncher__.d.ts +120 -0
  447. package/out/concepts/MsgTriggerLauncher__.d.ts.map +1 -0
  448. package/out/concepts/MsgTriggerLauncher__.js +189 -0
  449. package/out/concepts/MsgTriggerLauncher__.js.map +1 -0
  450. package/out/concepts/MultiApprovalPolicy__.d.ts +27 -0
  451. package/out/concepts/MultiApprovalPolicy__.d.ts.map +1 -0
  452. package/out/concepts/MultiApprovalPolicy__.js +55 -0
  453. package/out/concepts/MultiApprovalPolicy__.js.map +1 -0
  454. package/out/concepts/Namespace__.d.ts +1146 -0
  455. package/out/concepts/Namespace__.d.ts.map +1 -0
  456. package/out/concepts/Namespace__.js +1256 -0
  457. package/out/concepts/Namespace__.js.map +1 -0
  458. package/out/concepts/NewComposite__.d.ts +341 -0
  459. package/out/concepts/NewComposite__.d.ts.map +1 -0
  460. package/out/concepts/NewComposite__.js +1225 -0
  461. package/out/concepts/NewComposite__.js.map +1 -0
  462. package/out/concepts/NewList__.d.ts +128 -0
  463. package/out/concepts/NewList__.d.ts.map +1 -0
  464. package/out/concepts/NewList__.js +408 -0
  465. package/out/concepts/NewList__.js.map +1 -0
  466. package/out/concepts/NewMap__.d.ts +219 -0
  467. package/out/concepts/NewMap__.d.ts.map +1 -0
  468. package/out/concepts/NewMap__.js +558 -0
  469. package/out/concepts/NewMap__.js.map +1 -0
  470. package/out/concepts/New__.d.ts +32 -0
  471. package/out/concepts/New__.d.ts.map +1 -0
  472. package/out/concepts/New__.js +80 -0
  473. package/out/concepts/New__.js.map +1 -0
  474. package/out/concepts/NullLiteral__.d.ts +37 -0
  475. package/out/concepts/NullLiteral__.d.ts.map +1 -0
  476. package/out/concepts/NullLiteral__.js +102 -0
  477. package/out/concepts/NullLiteral__.js.map +1 -0
  478. package/out/concepts/NumberInputSetter__.d.ts +46 -0
  479. package/out/concepts/NumberInputSetter__.d.ts.map +1 -0
  480. package/out/concepts/NumberInputSetter__.js +70 -0
  481. package/out/concepts/NumberInputSetter__.js.map +1 -0
  482. package/out/concepts/NumericLiteral__.d.ts +49 -0
  483. package/out/concepts/NumericLiteral__.d.ts.map +1 -0
  484. package/out/concepts/NumericLiteral__.js +141 -0
  485. package/out/concepts/NumericLiteral__.js.map +1 -0
  486. package/out/concepts/OperatePermissionV2__.d.ts +44 -0
  487. package/out/concepts/OperatePermissionV2__.d.ts.map +1 -0
  488. package/out/concepts/OperatePermissionV2__.js +82 -0
  489. package/out/concepts/OperatePermissionV2__.js.map +1 -0
  490. package/out/concepts/OqlQueryComponent__.d.ts +63 -0
  491. package/out/concepts/OqlQueryComponent__.d.ts.map +1 -0
  492. package/out/concepts/OqlQueryComponent__.js +313 -0
  493. package/out/concepts/OqlQueryComponent__.js.map +1 -0
  494. package/out/concepts/OrSignPolicyV2__.d.ts +26 -0
  495. package/out/concepts/OrSignPolicyV2__.d.ts.map +1 -0
  496. package/out/concepts/OrSignPolicyV2__.js +55 -0
  497. package/out/concepts/OrSignPolicyV2__.js.map +1 -0
  498. package/out/concepts/OverriddenLogic__.d.ts +618 -0
  499. package/out/concepts/OverriddenLogic__.d.ts.map +1 -0
  500. package/out/concepts/OverriddenLogic__.js +1657 -0
  501. package/out/concepts/OverriddenLogic__.js.map +1 -0
  502. package/out/concepts/Paginate__.d.ts +57 -0
  503. package/out/concepts/Paginate__.d.ts.map +1 -0
  504. package/out/concepts/Paginate__.js +163 -0
  505. package/out/concepts/Paginate__.js.map +1 -0
  506. package/out/concepts/ParamWithGroup__.d.ts +44 -0
  507. package/out/concepts/ParamWithGroup__.d.ts.map +1 -0
  508. package/out/concepts/ParamWithGroup__.js +161 -0
  509. package/out/concepts/ParamWithGroup__.js.map +1 -0
  510. package/out/concepts/Param__.d.ts +145 -0
  511. package/out/concepts/Param__.d.ts.map +1 -0
  512. package/out/concepts/Param__.js +453 -0
  513. package/out/concepts/Param__.js.map +1 -0
  514. package/out/concepts/Point__.d.ts +34 -0
  515. package/out/concepts/Point__.d.ts.map +1 -0
  516. package/out/concepts/Point__.js +61 -0
  517. package/out/concepts/Point__.js.map +1 -0
  518. package/out/concepts/ProcessBindV2__.d.ts +53 -0
  519. package/out/concepts/ProcessBindV2__.d.ts.map +1 -0
  520. package/out/concepts/ProcessBindV2__.js +114 -0
  521. package/out/concepts/ProcessBindV2__.js.map +1 -0
  522. package/out/concepts/ProcessComponentV2__.d.ts +126 -0
  523. package/out/concepts/ProcessComponentV2__.d.ts.map +1 -0
  524. package/out/concepts/ProcessComponentV2__.js +186 -0
  525. package/out/concepts/ProcessComponentV2__.js.map +1 -0
  526. package/out/concepts/ProcessComponent__.d.ts +215 -0
  527. package/out/concepts/ProcessComponent__.d.ts.map +1 -0
  528. package/out/concepts/ProcessComponent__.js +276 -0
  529. package/out/concepts/ProcessComponent__.js.map +1 -0
  530. package/out/concepts/ProcessElementV2__.d.ts +552 -0
  531. package/out/concepts/ProcessElementV2__.d.ts.map +1 -0
  532. package/out/concepts/ProcessElementV2__.js +954 -0
  533. package/out/concepts/ProcessElementV2__.js.map +1 -0
  534. package/out/concepts/ProcessElement__.d.ts +628 -0
  535. package/out/concepts/ProcessElement__.d.ts.map +1 -0
  536. package/out/concepts/ProcessElement__.js +1079 -0
  537. package/out/concepts/ProcessElement__.js.map +1 -0
  538. package/out/concepts/ProcessOutcome__.d.ts +36 -0
  539. package/out/concepts/ProcessOutcome__.d.ts.map +1 -0
  540. package/out/concepts/ProcessOutcome__.js +97 -0
  541. package/out/concepts/ProcessOutcome__.js.map +1 -0
  542. package/out/concepts/ProcessOutcomes__.d.ts +36 -0
  543. package/out/concepts/ProcessOutcomes__.d.ts.map +1 -0
  544. package/out/concepts/ProcessOutcomes__.js +104 -0
  545. package/out/concepts/ProcessOutcomes__.js.map +1 -0
  546. package/out/concepts/ProcessV2__.d.ts +433 -0
  547. package/out/concepts/ProcessV2__.d.ts.map +1 -0
  548. package/out/concepts/ProcessV2__.js +732 -0
  549. package/out/concepts/ProcessV2__.js.map +1 -0
  550. package/out/concepts/Process__.d.ts +615 -0
  551. package/out/concepts/Process__.d.ts.map +1 -0
  552. package/out/concepts/Process__.js +985 -0
  553. package/out/concepts/Process__.js.map +1 -0
  554. package/out/concepts/PropDeclaration__.d.ts +109 -0
  555. package/out/concepts/PropDeclaration__.d.ts.map +1 -0
  556. package/out/concepts/PropDeclaration__.js +137 -0
  557. package/out/concepts/PropDeclaration__.js.map +1 -0
  558. package/out/concepts/PropertySelectSetter__.d.ts +26 -0
  559. package/out/concepts/PropertySelectSetter__.d.ts.map +1 -0
  560. package/out/concepts/PropertySelectSetter__.js +55 -0
  561. package/out/concepts/PropertySelectSetter__.js.map +1 -0
  562. package/out/concepts/QueryAggregateExpression__.d.ts +51 -0
  563. package/out/concepts/QueryAggregateExpression__.d.ts.map +1 -0
  564. package/out/concepts/QueryAggregateExpression__.js +126 -0
  565. package/out/concepts/QueryAggregateExpression__.js.map +1 -0
  566. package/out/concepts/QueryFieldExpression__.d.ts +67 -0
  567. package/out/concepts/QueryFieldExpression__.d.ts.map +1 -0
  568. package/out/concepts/QueryFieldExpression__.js +207 -0
  569. package/out/concepts/QueryFieldExpression__.js.map +1 -0
  570. package/out/concepts/QueryFromExpression__.d.ts +108 -0
  571. package/out/concepts/QueryFromExpression__.d.ts.map +1 -0
  572. package/out/concepts/QueryFromExpression__.js +244 -0
  573. package/out/concepts/QueryFromExpression__.js.map +1 -0
  574. package/out/concepts/QueryGroupByExpression__.d.ts +48 -0
  575. package/out/concepts/QueryGroupByExpression__.d.ts.map +1 -0
  576. package/out/concepts/QueryGroupByExpression__.js +123 -0
  577. package/out/concepts/QueryGroupByExpression__.js.map +1 -0
  578. package/out/concepts/QueryJoinExpression__.d.ts +195 -0
  579. package/out/concepts/QueryJoinExpression__.d.ts.map +1 -0
  580. package/out/concepts/QueryJoinExpression__.js +357 -0
  581. package/out/concepts/QueryJoinExpression__.js.map +1 -0
  582. package/out/concepts/QueryLimitExpression__.d.ts +48 -0
  583. package/out/concepts/QueryLimitExpression__.d.ts.map +1 -0
  584. package/out/concepts/QueryLimitExpression__.js +141 -0
  585. package/out/concepts/QueryLimitExpression__.js.map +1 -0
  586. package/out/concepts/QueryOrderByExpression__.d.ts +59 -0
  587. package/out/concepts/QueryOrderByExpression__.d.ts.map +1 -0
  588. package/out/concepts/QueryOrderByExpression__.js +158 -0
  589. package/out/concepts/QueryOrderByExpression__.js.map +1 -0
  590. package/out/concepts/QuerySelectExpression__.d.ts +213 -0
  591. package/out/concepts/QuerySelectExpression__.d.ts.map +1 -0
  592. package/out/concepts/QuerySelectExpression__.js +346 -0
  593. package/out/concepts/QuerySelectExpression__.js.map +1 -0
  594. package/out/concepts/Rect__.d.ts +42 -0
  595. package/out/concepts/Rect__.d.ts.map +1 -0
  596. package/out/concepts/Rect__.js +67 -0
  597. package/out/concepts/Rect__.js.map +1 -0
  598. package/out/concepts/Return__.d.ts +122 -0
  599. package/out/concepts/Return__.d.ts.map +1 -0
  600. package/out/concepts/Return__.js +359 -0
  601. package/out/concepts/Return__.js.map +1 -0
  602. package/out/concepts/Role__.d.ts +60 -0
  603. package/out/concepts/Role__.d.ts.map +1 -0
  604. package/out/concepts/Role__.js +188 -0
  605. package/out/concepts/Role__.js.map +1 -0
  606. package/out/concepts/SelectMembers__.d.ts +136 -0
  607. package/out/concepts/SelectMembers__.d.ts.map +1 -0
  608. package/out/concepts/SelectMembers__.js +259 -0
  609. package/out/concepts/SelectMembers__.js.map +1 -0
  610. package/out/concepts/SequentialPolicyV2__.d.ts +26 -0
  611. package/out/concepts/SequentialPolicyV2__.d.ts.map +1 -0
  612. package/out/concepts/SequentialPolicyV2__.js +55 -0
  613. package/out/concepts/SequentialPolicyV2__.js.map +1 -0
  614. package/out/concepts/SequentialPolicy__.d.ts +26 -0
  615. package/out/concepts/SequentialPolicy__.d.ts.map +1 -0
  616. package/out/concepts/SequentialPolicy__.js +55 -0
  617. package/out/concepts/SequentialPolicy__.js.map +1 -0
  618. package/out/concepts/SetterOption__.d.ts +50 -0
  619. package/out/concepts/SetterOption__.d.ts.map +1 -0
  620. package/out/concepts/SetterOption__.js +73 -0
  621. package/out/concepts/SetterOption__.js.map +1 -0
  622. package/out/concepts/SlotDeclaration__.d.ts +215 -0
  623. package/out/concepts/SlotDeclaration__.d.ts.map +1 -0
  624. package/out/concepts/SlotDeclaration__.js +285 -0
  625. package/out/concepts/SlotDeclaration__.js.map +1 -0
  626. package/out/concepts/Slot__.d.ts +54 -0
  627. package/out/concepts/Slot__.d.ts.map +1 -0
  628. package/out/concepts/Slot__.js +95 -0
  629. package/out/concepts/Slot__.js.map +1 -0
  630. package/out/concepts/SqlQueryComponent__.d.ts +59 -0
  631. package/out/concepts/SqlQueryComponent__.d.ts.map +1 -0
  632. package/out/concepts/SqlQueryComponent__.js +220 -0
  633. package/out/concepts/SqlQueryComponent__.js.map +1 -0
  634. package/out/concepts/Start__.d.ts +31 -0
  635. package/out/concepts/Start__.d.ts.map +1 -0
  636. package/out/concepts/Start__.js +75 -0
  637. package/out/concepts/Start__.js.map +1 -0
  638. package/out/concepts/StaticString__.d.ts +50 -0
  639. package/out/concepts/StaticString__.d.ts.map +1 -0
  640. package/out/concepts/StaticString__.js +114 -0
  641. package/out/concepts/StaticString__.js.map +1 -0
  642. package/out/concepts/StringInterpolation__.d.ts +124 -0
  643. package/out/concepts/StringInterpolation__.d.ts.map +1 -0
  644. package/out/concepts/StringInterpolation__.js +279 -0
  645. package/out/concepts/StringInterpolation__.js.map +1 -0
  646. package/out/concepts/StringLiteral__.d.ts +52 -0
  647. package/out/concepts/StringLiteral__.d.ts.map +1 -0
  648. package/out/concepts/StringLiteral__.js +185 -0
  649. package/out/concepts/StringLiteral__.js.map +1 -0
  650. package/out/concepts/StructureProperty__.d.ts +134 -0
  651. package/out/concepts/StructureProperty__.d.ts.map +1 -0
  652. package/out/concepts/StructureProperty__.js +292 -0
  653. package/out/concepts/StructureProperty__.js.map +1 -0
  654. package/out/concepts/Structure__.d.ts +241 -0
  655. package/out/concepts/Structure__.d.ts.map +1 -0
  656. package/out/concepts/Structure__.js +485 -0
  657. package/out/concepts/Structure__.js.map +1 -0
  658. package/out/concepts/SubLogic__.d.ts +418 -0
  659. package/out/concepts/SubLogic__.d.ts.map +1 -0
  660. package/out/concepts/SubLogic__.js +1002 -0
  661. package/out/concepts/SubLogic__.js.map +1 -0
  662. package/out/concepts/SwitchCase__.d.ts +93 -0
  663. package/out/concepts/SwitchCase__.d.ts.map +1 -0
  664. package/out/concepts/SwitchCase__.js +282 -0
  665. package/out/concepts/SwitchCase__.js.map +1 -0
  666. package/out/concepts/SwitchSetter__.d.ts +26 -0
  667. package/out/concepts/SwitchSetter__.d.ts.map +1 -0
  668. package/out/concepts/SwitchSetter__.js +55 -0
  669. package/out/concepts/SwitchSetter__.js.map +1 -0
  670. package/out/concepts/SwitchStatement__.d.ts +92 -0
  671. package/out/concepts/SwitchStatement__.d.ts.map +1 -0
  672. package/out/concepts/SwitchStatement__.js +221 -0
  673. package/out/concepts/SwitchStatement__.js.map +1 -0
  674. package/out/concepts/ThemeVariable__.d.ts +30 -0
  675. package/out/concepts/ThemeVariable__.d.ts.map +1 -0
  676. package/out/concepts/ThemeVariable__.js +58 -0
  677. package/out/concepts/ThemeVariable__.js.map +1 -0
  678. package/out/concepts/Theme__.d.ts +44 -0
  679. package/out/concepts/Theme__.d.ts.map +1 -0
  680. package/out/concepts/Theme__.js +83 -0
  681. package/out/concepts/Theme__.js.map +1 -0
  682. package/out/concepts/Transactional__.d.ts +86 -0
  683. package/out/concepts/Transactional__.d.ts.map +1 -0
  684. package/out/concepts/Transactional__.js +150 -0
  685. package/out/concepts/Transactional__.js.map +1 -0
  686. package/out/concepts/TriggerEvent__.d.ts +44 -0
  687. package/out/concepts/TriggerEvent__.d.ts.map +1 -0
  688. package/out/concepts/TriggerEvent__.js +93 -0
  689. package/out/concepts/TriggerEvent__.js.map +1 -0
  690. package/out/concepts/TriggerLauncher__.d.ts +77 -0
  691. package/out/concepts/TriggerLauncher__.d.ts.map +1 -0
  692. package/out/concepts/TriggerLauncher__.js +232 -0
  693. package/out/concepts/TriggerLauncher__.js.map +1 -0
  694. package/out/concepts/TypeAnnotation__.d.ts +310 -0
  695. package/out/concepts/TypeAnnotation__.d.ts.map +1 -0
  696. package/out/concepts/TypeAnnotation__.js +1169 -0
  697. package/out/concepts/TypeAnnotation__.js.map +1 -0
  698. package/out/concepts/TypeParam__.d.ts +40 -0
  699. package/out/concepts/TypeParam__.d.ts.map +1 -0
  700. package/out/concepts/TypeParam__.js +91 -0
  701. package/out/concepts/TypeParam__.js.map +1 -0
  702. package/out/concepts/UnaryExpression__.d.ts +48 -0
  703. package/out/concepts/UnaryExpression__.d.ts.map +1 -0
  704. package/out/concepts/UnaryExpression__.js +176 -0
  705. package/out/concepts/UnaryExpression__.js.map +1 -0
  706. package/out/concepts/Unparsed__.d.ts +42 -0
  707. package/out/concepts/Unparsed__.d.ts.map +1 -0
  708. package/out/concepts/Unparsed__.js +98 -0
  709. package/out/concepts/Unparsed__.js.map +1 -0
  710. package/out/concepts/UseComponent__.d.ts +34 -0
  711. package/out/concepts/UseComponent__.d.ts.map +1 -0
  712. package/out/concepts/UseComponent__.js +61 -0
  713. package/out/concepts/UseComponent__.js.map +1 -0
  714. package/out/concepts/ValidationRule__.d.ts +130 -0
  715. package/out/concepts/ValidationRule__.d.ts.map +1 -0
  716. package/out/concepts/ValidationRule__.js +542 -0
  717. package/out/concepts/ValidationRule__.js.map +1 -0
  718. package/out/concepts/Variable__.d.ts +140 -0
  719. package/out/concepts/Variable__.d.ts.map +1 -0
  720. package/out/concepts/Variable__.js +457 -0
  721. package/out/concepts/Variable__.js.map +1 -0
  722. package/out/concepts/ViewBlockWithImage__.d.ts +34 -0
  723. package/out/concepts/ViewBlockWithImage__.d.ts.map +1 -0
  724. package/out/concepts/ViewBlockWithImage__.js +61 -0
  725. package/out/concepts/ViewBlockWithImage__.js.map +1 -0
  726. package/out/concepts/ViewBlock__.d.ts +38 -0
  727. package/out/concepts/ViewBlock__.d.ts.map +1 -0
  728. package/out/concepts/ViewBlock__.js +64 -0
  729. package/out/concepts/ViewBlock__.js.map +1 -0
  730. package/out/concepts/ViewComponentDeclaration__.d.ts +727 -0
  731. package/out/concepts/ViewComponentDeclaration__.d.ts.map +1 -0
  732. package/out/concepts/ViewComponentDeclaration__.js +833 -0
  733. package/out/concepts/ViewComponentDeclaration__.js.map +1 -0
  734. package/out/concepts/ViewElement__.d.ts +666 -0
  735. package/out/concepts/ViewElement__.d.ts.map +1 -0
  736. package/out/concepts/ViewElement__.js +2929 -0
  737. package/out/concepts/ViewElement__.js.map +1 -0
  738. package/out/concepts/View__.d.ts +754 -0
  739. package/out/concepts/View__.d.ts.map +1 -0
  740. package/out/concepts/View__.js +2907 -0
  741. package/out/concepts/View__.js.map +1 -0
  742. package/out/concepts/WhileStatement__.d.ts +96 -0
  743. package/out/concepts/WhileStatement__.d.ts.map +1 -0
  744. package/out/concepts/WhileStatement__.js +256 -0
  745. package/out/concepts/WhileStatement__.js.map +1 -0
  746. package/out/concepts/basics/index.d.ts +16 -0
  747. package/out/concepts/basics/index.d.ts.map +1 -0
  748. package/out/concepts/basics/index.js +54 -0
  749. package/out/concepts/basics/index.js.map +1 -0
  750. package/out/concepts/basics/stdlib/index.d.ts +16 -0
  751. package/out/concepts/basics/stdlib/index.d.ts.map +1 -0
  752. package/out/concepts/basics/stdlib/index.js +93 -0
  753. package/out/concepts/basics/stdlib/index.js.map +1 -0
  754. package/out/concepts/basics/stdlib/nasl.auth.d.ts +10 -0
  755. package/out/concepts/basics/stdlib/nasl.auth.d.ts.map +1 -0
  756. package/out/concepts/basics/stdlib/nasl.auth.js +206 -0
  757. package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -0
  758. package/out/concepts/basics/stdlib/nasl.browser.d.ts +6 -0
  759. package/out/concepts/basics/stdlib/nasl.browser.d.ts.map +1 -0
  760. package/out/concepts/basics/stdlib/nasl.browser.js +200 -0
  761. package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -0
  762. package/out/concepts/basics/stdlib/nasl.collection.d.ts +10 -0
  763. package/out/concepts/basics/stdlib/nasl.collection.d.ts.map +1 -0
  764. package/out/concepts/basics/stdlib/nasl.collection.js +57 -0
  765. package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -0
  766. package/out/concepts/basics/stdlib/nasl.configuration.d.ts +10 -0
  767. package/out/concepts/basics/stdlib/nasl.configuration.d.ts.map +1 -0
  768. package/out/concepts/basics/stdlib/nasl.configuration.js +97 -0
  769. package/out/concepts/basics/stdlib/nasl.configuration.js.map +1 -0
  770. package/out/concepts/basics/stdlib/nasl.core.d.ts +8 -0
  771. package/out/concepts/basics/stdlib/nasl.core.d.ts.map +1 -0
  772. package/out/concepts/basics/stdlib/nasl.core.js +47 -0
  773. package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
  774. package/out/concepts/basics/stdlib/nasl.event.d.ts +6 -0
  775. package/out/concepts/basics/stdlib/nasl.event.d.ts.map +1 -0
  776. package/out/concepts/basics/stdlib/nasl.event.js +34 -0
  777. package/out/concepts/basics/stdlib/nasl.event.js.map +1 -0
  778. package/out/concepts/basics/stdlib/nasl.http.d.ts +10 -0
  779. package/out/concepts/basics/stdlib/nasl.http.d.ts.map +1 -0
  780. package/out/concepts/basics/stdlib/nasl.http.js +174 -0
  781. package/out/concepts/basics/stdlib/nasl.http.js.map +1 -0
  782. package/out/concepts/basics/stdlib/nasl.interface.d.ts +10 -0
  783. package/out/concepts/basics/stdlib/nasl.interface.d.ts.map +1 -0
  784. package/out/concepts/basics/stdlib/nasl.interface.js +49 -0
  785. package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
  786. package/out/concepts/basics/stdlib/nasl.io.d.ts +6 -0
  787. package/out/concepts/basics/stdlib/nasl.io.d.ts.map +1 -0
  788. package/out/concepts/basics/stdlib/nasl.io.js +61 -0
  789. package/out/concepts/basics/stdlib/nasl.io.js.map +1 -0
  790. package/out/concepts/basics/stdlib/nasl.logging.d.ts +6 -0
  791. package/out/concepts/basics/stdlib/nasl.logging.d.ts.map +1 -0
  792. package/out/concepts/basics/stdlib/nasl.logging.js +65 -0
  793. package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -0
  794. package/out/concepts/basics/stdlib/nasl.process.d.ts +10 -0
  795. package/out/concepts/basics/stdlib/nasl.process.d.ts.map +1 -0
  796. package/out/concepts/basics/stdlib/nasl.process.js +741 -0
  797. package/out/concepts/basics/stdlib/nasl.process.js.map +1 -0
  798. package/out/concepts/basics/stdlib/nasl.processV2.d.ts +12 -0
  799. package/out/concepts/basics/stdlib/nasl.processV2.d.ts.map +1 -0
  800. package/out/concepts/basics/stdlib/nasl.processV2.js +967 -0
  801. package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -0
  802. package/out/concepts/basics/stdlib/nasl.ui.d.ts +10 -0
  803. package/out/concepts/basics/stdlib/nasl.ui.d.ts.map +1 -0
  804. package/out/concepts/basics/stdlib/nasl.ui.js +1038 -0
  805. package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
  806. package/out/concepts/basics/stdlib/nasl.util.d.ts +7 -0
  807. package/out/concepts/basics/stdlib/nasl.util.d.ts.map +1 -0
  808. package/out/concepts/basics/stdlib/nasl.util.js +2501 -0
  809. package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
  810. package/out/concepts/basics/stdlib/nasl.validation.d.ts +6 -0
  811. package/out/concepts/basics/stdlib/nasl.validation.d.ts.map +1 -0
  812. package/out/concepts/basics/stdlib/nasl.validation.js +680 -0
  813. package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
  814. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
  815. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts.map +1 -0
  816. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +47 -0
  817. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
  818. package/out/concepts/basics/stdlib/timeZone.d.ts +6 -0
  819. package/out/concepts/basics/stdlib/timeZone.d.ts.map +1 -0
  820. package/out/concepts/basics/stdlib/timeZone.js +196 -0
  821. package/out/concepts/basics/stdlib/timeZone.js.map +1 -0
  822. package/out/concepts/basics/types/coreTypeList.d.ts +5 -0
  823. package/out/concepts/basics/types/coreTypeList.d.ts.map +1 -0
  824. package/out/concepts/basics/types/coreTypeList.js +14 -0
  825. package/out/concepts/basics/types/coreTypeList.js.map +1 -0
  826. package/out/concepts/basics/types/dataTypes.d.ts +9 -0
  827. package/out/concepts/basics/types/dataTypes.d.ts.map +1 -0
  828. package/out/concepts/basics/types/dataTypes.js +18 -0
  829. package/out/concepts/basics/types/dataTypes.js.map +1 -0
  830. package/out/concepts/basics/types/index.d.ts +5 -0
  831. package/out/concepts/basics/types/index.d.ts.map +1 -0
  832. package/out/concepts/basics/types/index.js +17 -0
  833. package/out/concepts/basics/types/index.js.map +1 -0
  834. package/out/concepts/index.d.ts +6 -0
  835. package/out/concepts/index.d.ts.map +1 -0
  836. package/out/concepts/index.js +36 -0
  837. package/out/concepts/index.js.map +1 -0
  838. package/out/concepts/index__.d.ts +178 -0
  839. package/out/concepts/index__.d.ts.map +1 -0
  840. package/out/concepts/index__.js +194 -0
  841. package/out/concepts/index__.js.map +1 -0
  842. package/out/concepts/types__.d.ts +2 -0
  843. package/out/concepts/types__.d.ts.map +1 -0
  844. package/out/concepts/types__.js +3 -0
  845. package/out/concepts/types__.js.map +1 -0
  846. package/out/concepts/utils/asserts.d.ts +8822 -0
  847. package/out/concepts/utils/asserts.d.ts.map +1 -0
  848. package/out/concepts/utils/asserts.js +11727 -0
  849. package/out/concepts/utils/asserts.js.map +1 -0
  850. package/out/concepts/utils/quick-info.d.ts +21 -0
  851. package/out/concepts/utils/quick-info.d.ts.map +1 -0
  852. package/out/concepts/utils/quick-info.js +108 -0
  853. package/out/concepts/utils/quick-info.js.map +1 -0
  854. package/out/concepts/utils/types.d.ts +580 -0
  855. package/out/concepts/utils/types.d.ts.map +1 -0
  856. package/out/concepts/utils/types.js +3 -0
  857. package/out/concepts/utils/types.js.map +1 -0
  858. package/out/decorators/constant.d.ts +12 -0
  859. package/out/decorators/constant.d.ts.map +1 -0
  860. package/out/decorators/constant.js +6 -0
  861. package/out/decorators/constant.js.map +1 -0
  862. package/out/decorators/index.d.ts +34 -0
  863. package/out/decorators/index.d.ts.map +1 -0
  864. package/out/decorators/index.js +123 -0
  865. package/out/decorators/index.js.map +1 -0
  866. package/out/decorators/utils.d.ts +22 -0
  867. package/out/decorators/utils.d.ts.map +1 -0
  868. package/out/decorators/utils.js +50 -0
  869. package/out/decorators/utils.js.map +1 -0
  870. package/out/index.d.ts +13 -0
  871. package/out/index.d.ts.map +1 -0
  872. package/out/index.js +49 -0
  873. package/out/index.js.map +1 -0
  874. package/out/service/actionable.d.ts +3 -0
  875. package/out/service/actionable.d.ts.map +1 -0
  876. package/out/service/actionable.js +9 -0
  877. package/out/service/actionable.js.map +1 -0
  878. package/out/service/engine.d.ts +7 -0
  879. package/out/service/engine.d.ts.map +1 -0
  880. package/out/service/engine.js +120 -0
  881. package/out/service/engine.js.map +1 -0
  882. package/out/service/entity2LogicNamespace.d.ts +11 -0
  883. package/out/service/entity2LogicNamespace.d.ts.map +1 -0
  884. package/out/service/entity2LogicNamespace.js +379 -0
  885. package/out/service/entity2LogicNamespace.js.map +1 -0
  886. package/out/service/formatTsUtils.d.ts +37 -0
  887. package/out/service/formatTsUtils.d.ts.map +1 -0
  888. package/out/service/formatTsUtils.js +876 -0
  889. package/out/service/formatTsUtils.js.map +1 -0
  890. package/out/service/getConnector.d.ts +13 -0
  891. package/out/service/getConnector.d.ts.map +1 -0
  892. package/out/service/getConnector.js +117 -0
  893. package/out/service/getConnector.js.map +1 -0
  894. package/out/service/getExtensionModules.d.ts +4 -0
  895. package/out/service/getExtensionModules.d.ts.map +1 -0
  896. package/out/service/getExtensionModules.js +34 -0
  897. package/out/service/getExtensionModules.js.map +1 -0
  898. package/out/service/getFunctions.d.ts +4 -0
  899. package/out/service/getFunctions.d.ts.map +1 -0
  900. package/out/service/getFunctions.js +20 -0
  901. package/out/service/getFunctions.js.map +1 -0
  902. package/out/service/getInterfaces.d.ts +3 -0
  903. package/out/service/getInterfaces.d.ts.map +1 -0
  904. package/out/service/getInterfaces.js +48 -0
  905. package/out/service/getInterfaces.js.map +1 -0
  906. package/out/service/getLogging.d.ts +2 -0
  907. package/out/service/getLogging.d.ts.map +1 -0
  908. package/out/service/getLogging.js +9 -0
  909. package/out/service/getLogging.js.map +1 -0
  910. package/out/service/getLogics.d.ts +6 -0
  911. package/out/service/getLogics.d.ts.map +1 -0
  912. package/out/service/getLogics.js +509 -0
  913. package/out/service/getLogics.js.map +1 -0
  914. package/out/service/getMemberIdentifier.d.ts +18 -0
  915. package/out/service/getMemberIdentifier.d.ts.map +1 -0
  916. package/out/service/getMemberIdentifier.js +489 -0
  917. package/out/service/getMemberIdentifier.js.map +1 -0
  918. package/out/service/getProcessComponents.d.ts +3 -0
  919. package/out/service/getProcessComponents.d.ts.map +1 -0
  920. package/out/service/getProcessComponents.js +13 -0
  921. package/out/service/getProcessComponents.js.map +1 -0
  922. package/out/service/getProcesses.d.ts +34 -0
  923. package/out/service/getProcesses.d.ts.map +1 -0
  924. package/out/service/getProcesses.js +644 -0
  925. package/out/service/getProcesses.js.map +1 -0
  926. package/out/service/getProcessesV2.d.ts +91 -0
  927. package/out/service/getProcessesV2.d.ts.map +1 -0
  928. package/out/service/getProcessesV2.js +687 -0
  929. package/out/service/getProcessesV2.js.map +1 -0
  930. package/out/service/getValidates.d.ts +4 -0
  931. package/out/service/getValidates.d.ts.map +1 -0
  932. package/out/service/getValidates.js +14 -0
  933. package/out/service/getValidates.js.map +1 -0
  934. package/out/service/index.d.ts +19 -0
  935. package/out/service/index.d.ts.map +1 -0
  936. package/out/service/index.js +48 -0
  937. package/out/service/index.js.map +1 -0
  938. package/out/service/modules.d.ts +9 -0
  939. package/out/service/modules.d.ts.map +1 -0
  940. package/out/service/modules.js +88 -0
  941. package/out/service/modules.js.map +1 -0
  942. package/out/service/process2LogicNamespace.d.ts +27 -0
  943. package/out/service/process2LogicNamespace.d.ts.map +1 -0
  944. package/out/service/process2LogicNamespace.js +109 -0
  945. package/out/service/process2LogicNamespace.js.map +1 -0
  946. package/out/service/transform.d.ts +9 -0
  947. package/out/service/transform.d.ts.map +1 -0
  948. package/out/service/transform.js +36 -0
  949. package/out/service/transform.js.map +1 -0
  950. package/out/store/event.d.ts +14 -0
  951. package/out/store/event.d.ts.map +1 -0
  952. package/out/store/event.js +19 -0
  953. package/out/store/event.js.map +1 -0
  954. package/out/store/index.d.ts +8 -0
  955. package/out/store/index.d.ts.map +1 -0
  956. package/out/store/index.js +25 -0
  957. package/out/store/index.js.map +1 -0
  958. package/out/store/lib.d.ts +16 -0
  959. package/out/store/lib.d.ts.map +1 -0
  960. package/out/store/lib.js +21 -0
  961. package/out/store/lib.js.map +1 -0
  962. package/out/store/store.d.ts +16 -0
  963. package/out/store/store.d.ts.map +1 -0
  964. package/out/store/store.js +18 -0
  965. package/out/store/store.js.map +1 -0
  966. package/out/utils/bak-translator.d.ts +2 -0
  967. package/out/utils/bak-translator.d.ts.map +1 -0
  968. package/out/utils/bak-translator.js +334 -0
  969. package/out/utils/bak-translator.js.map +1 -0
  970. package/out/utils/constant.d.ts +4 -0
  971. package/out/utils/constant.d.ts.map +1 -0
  972. package/out/utils/constant.js +34 -0
  973. package/out/utils/constant.js.map +1 -0
  974. package/out/utils/index.d.ts +6 -0
  975. package/out/utils/index.d.ts.map +1 -0
  976. package/out/utils/index.js +22 -0
  977. package/out/utils/index.js.map +1 -0
  978. package/out/utils/node.d.ts +14 -0
  979. package/out/utils/node.d.ts.map +1 -0
  980. package/out/utils/node.js +85 -0
  981. package/out/utils/node.js.map +1 -0
  982. package/out/utils/utils.d.ts +13 -0
  983. package/out/utils/utils.d.ts.map +1 -0
  984. package/out/utils/utils.js +77 -0
  985. package/out/utils/utils.js.map +1 -0
  986. package/package.json +67 -0
@@ -0,0 +1,2501 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.initialize = exports.createTimezoneParam = void 0;
7
+ const Namespace__1 = __importDefault(require("../../Namespace__"));
8
+ const timeZone_1 = require("./timeZone");
9
+ const decorators_1 = require("../../../decorators");
10
+ const createTimezoneParam = (fnName) => {
11
+ const Param = (0, decorators_1.getConceptConstructor)('Param');
12
+ const StringLiteral = (0, decorators_1.getConceptConstructor)('StringLiteral');
13
+ return new Param({
14
+ name: '时区',
15
+ description: '以此时区为基准',
16
+ useComponent: { type: 's-bidirectional-bind-switch' },
17
+ defaultExpression: new StringLiteral({
18
+ name: `${fnName}TimeZoneDefaultExpression`,
19
+ value: 'global'
20
+ }),
21
+ options: timeZone_1.TIMEZONES,
22
+ hidden: true,
23
+ });
24
+ };
25
+ exports.createTimezoneParam = createTimezoneParam;
26
+ const utilNamespace = new Namespace__1.default({
27
+ name: 'util',
28
+ logics: [],
29
+ functions: [],
30
+ });
31
+ exports.default = utilNamespace;
32
+ /** @internal */
33
+ function initialize() {
34
+ const TypeAnnotation = (0, decorators_1.getConceptConstructor)('TypeAnnotation');
35
+ const Logic = (0, decorators_1.getConceptConstructor)('Logic');
36
+ const Param = (0, decorators_1.getConceptConstructor)('Param');
37
+ const Return = (0, decorators_1.getConceptConstructor)('Return');
38
+ const Function = (0, decorators_1.getConceptConstructor)('Function');
39
+ const AnonymousFunction = (0, decorators_1.getConceptConstructor)('AnonymousFunction');
40
+ const StringInterpolation = (0, decorators_1.getConceptConstructor)('StringInterpolation');
41
+ const TypeParam = (0, decorators_1.getConceptConstructor)('TypeParam');
42
+ const Identifier = (0, decorators_1.getConceptConstructor)('Identifier');
43
+ const BooleanLiteral = (0, decorators_1.getConceptConstructor)('BooleanLiteral');
44
+ const NumericLiteral = (0, decorators_1.getConceptConstructor)('NumericLiteral');
45
+ const StringLiteral = (0, decorators_1.getConceptConstructor)('StringLiteral');
46
+ const NewList = (0, decorators_1.getConceptConstructor)('NewList');
47
+ const DefaultValue = (0, decorators_1.getConceptConstructor)('DefaultValue');
48
+ const logics = [
49
+ new Logic({
50
+ name: 'consoleLog',
51
+ params: [
52
+ new Param({
53
+ name: 'arg',
54
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
55
+ defaultExpression: new StringInterpolation(),
56
+ }),
57
+ ],
58
+ }),
59
+ new Logic({
60
+ name: 'jsonSerialize',
61
+ params: [
62
+ new Param({
63
+ name: 'arg',
64
+ }),
65
+ ],
66
+ returns: [
67
+ new Return({
68
+ name: 'result',
69
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
70
+ }),
71
+ ],
72
+ }),
73
+ new Logic({
74
+ name: 'jsonDeserialize',
75
+ typeParams: [
76
+ new TypeParam({
77
+ name: 'T',
78
+ }),
79
+ ],
80
+ params: [
81
+ new Param({
82
+ name: 'arg',
83
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
84
+ }),
85
+ ],
86
+ returns: [
87
+ new Return({
88
+ name: 'result',
89
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
90
+ useComponent: { type: 's-datatype-select' },
91
+ }),
92
+ ],
93
+ }),
94
+ ];
95
+ const functions = [
96
+ new Function({
97
+ name: 'Convert',
98
+ description: '各基础数据类型之间转换',
99
+ typeParams: [
100
+ new TypeParam({
101
+ name: 'T',
102
+ }),
103
+ ],
104
+ params: [
105
+ new Param({
106
+ name: 'value',
107
+ description: '选择变量或常量',
108
+ defaultExpression: new Identifier(),
109
+ }),
110
+ ],
111
+ returns: [
112
+ new Return({
113
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
114
+ }),
115
+ ],
116
+ }),
117
+ new Function({
118
+ name: 'ToString',
119
+ description: '各类型转换成字符串',
120
+ params: [
121
+ new Param({
122
+ name: 'value',
123
+ description: '待转成字符串的表达式',
124
+ typeAnnotation: TypeAnnotation.createPrimitive('Any'),
125
+ }),
126
+ ],
127
+ returns: [
128
+ new Return({
129
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
130
+ }),
131
+ ],
132
+ }),
133
+ new Function({
134
+ name: 'FromString',
135
+ description: '字符串转换成其他类型',
136
+ typeParams: [
137
+ new TypeParam({
138
+ name: 'T',
139
+ }),
140
+ ],
141
+ params: [
142
+ new Param({
143
+ name: 'value',
144
+ defaultExpression: new Identifier(),
145
+ }),
146
+ ],
147
+ returns: [
148
+ new Return({
149
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
150
+ }),
151
+ ],
152
+ }),
153
+ new Function({
154
+ name: 'IndexOf',
155
+ description: '搜索字符串位置',
156
+ params: [
157
+ new Param({
158
+ name: 'str',
159
+ description: '指定字符串',
160
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
161
+ }),
162
+ new Param({
163
+ name: 'search',
164
+ description: '指定需要搜索的字段,String类型',
165
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
166
+ }),
167
+ new Param({
168
+ name: 'fromIndex',
169
+ description: '开始搜索的索引值,Integer类型,用数字表示第几项,项数索引从0开始',
170
+ defaultExpression: new NumericLiteral({ value: '0' }),
171
+ }),
172
+ new Param({
173
+ name: 'ignoreCase',
174
+ description: '是否忽略大小写,true为忽略,false为不忽略',
175
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
176
+ options: [
177
+ {
178
+ text: 'true',
179
+ value: 'true',
180
+ description: '忽略大小写',
181
+ },
182
+ {
183
+ text: 'false',
184
+ value: 'false',
185
+ description: '对大小写敏感',
186
+ },
187
+ ],
188
+ }),
189
+ ],
190
+ returns: [
191
+ new Return({
192
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
193
+ }),
194
+ ],
195
+ }),
196
+ new Function({
197
+ name: 'LastIndexOf',
198
+ description: '从末尾搜索字符串位置',
199
+ params: [
200
+ new Param({
201
+ name: 'str',
202
+ description: '指定字符串',
203
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
204
+ }),
205
+ new Param({
206
+ name: 'search',
207
+ description: '指定需要搜索的字段,String类型',
208
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
209
+ }),
210
+ new Param({
211
+ name: 'ignoreCase',
212
+ description: '是否忽略大小写,true为忽略,false为不忽略',
213
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
214
+ options: [
215
+ {
216
+ text: 'true',
217
+ value: 'true',
218
+ description: '忽略大小写',
219
+ },
220
+ {
221
+ text: 'false',
222
+ value: 'false',
223
+ description: '对大小写敏感',
224
+ },
225
+ ],
226
+ }),
227
+ ],
228
+ returns: [
229
+ new Return({
230
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
231
+ }),
232
+ ],
233
+ }),
234
+ new Function({
235
+ name: 'Replace',
236
+ description: '字符串替换。返回替换后的新字符串。',
237
+ params: [
238
+ new Param({
239
+ name: 'str',
240
+ description: '指定原始字符串',
241
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
242
+ }),
243
+ new Param({
244
+ name: 'search',
245
+ description: '指定原始字符串中需要被替换的字符串',
246
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
247
+ }),
248
+ new Param({
249
+ name: 'replace',
250
+ description: '指定进行替换操作的字符串',
251
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
252
+ }),
253
+ ],
254
+ returns: [
255
+ new Return({
256
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
257
+ }),
258
+ ],
259
+ }),
260
+ new Function({
261
+ name: 'SubString',
262
+ description: '字符串截取。返回截取的字符串。',
263
+ params: [
264
+ new Param({
265
+ name: 'str',
266
+ description: '指定需要截取的字符串',
267
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
268
+ }),
269
+ new Param({
270
+ name: 'start',
271
+ description: 'int类型,输入数字指定开始截取的位置',
272
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
273
+ }),
274
+ new Param({
275
+ name: 'length',
276
+ description: '指定截取的字符串长度',
277
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
278
+ }),
279
+ ],
280
+ returns: [
281
+ new Return({
282
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
283
+ }),
284
+ ],
285
+ }),
286
+ new Function({
287
+ name: 'EnumToList',
288
+ description: '返回枚举value和text的List集合',
289
+ typeParams: [
290
+ new TypeParam({
291
+ name: 'enum',
292
+ useComponent: { type: 's-enum-select' },
293
+ }),
294
+ ],
295
+ returns: [
296
+ new Return({
297
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
298
+ typeArguments: [TypeAnnotation.createPrimitive('String')],
299
+ }),
300
+ }),
301
+ ],
302
+ }),
303
+ new Function({
304
+ name: 'EnumValueToText',
305
+ description: '返回枚举指定value的标题字符串',
306
+ typeParams: [
307
+ new TypeParam({
308
+ name: 'enum',
309
+ useComponent: { type: 's-enum-select' },
310
+ }),
311
+ ],
312
+ params: [
313
+ new Param({
314
+ name: 'value',
315
+ description: '指定需要将枚举值转换为标题的字段',
316
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
317
+ }),
318
+ ],
319
+ returns: [
320
+ new Return({
321
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
322
+ }),
323
+ ],
324
+ }),
325
+ new Function({
326
+ name: 'ToEnumItem',
327
+ description: '在指定enum中找到与参数str相同的枚举值并返回。',
328
+ typeParams: [
329
+ new TypeParam({
330
+ name: 'enum',
331
+ useComponent: { type: 's-enum-select' },
332
+ }),
333
+ ],
334
+ params: [
335
+ new Param({
336
+ name: 'value',
337
+ description: '指定一个字符串',
338
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
339
+ }),
340
+ ],
341
+ returns: [
342
+ new Return({
343
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
344
+ }),
345
+ ],
346
+ }),
347
+ new Function({
348
+ name: 'Split',
349
+ description: '将字符串参数,用分割符分割成字符串列表,并返回',
350
+ params: [
351
+ new Param({
352
+ name: 'str',
353
+ description: '指定字符串',
354
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
355
+ }),
356
+ new Param({
357
+ name: 'separator',
358
+ description: '指定字符串中作为分隔符的参数',
359
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
360
+ }),
361
+ ],
362
+ returns: [
363
+ new Return({
364
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
365
+ typeArguments: [TypeAnnotation.createPrimitive('String')],
366
+ }),
367
+ }),
368
+ ],
369
+ }),
370
+ new Function({
371
+ name: 'Join',
372
+ description: '将列表的项,用连接符连接成一个字符串,并返回',
373
+ params: [
374
+ new Param({
375
+ name: 'list',
376
+ description: '指定列表',
377
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
378
+ typeArguments: [TypeAnnotation.createPrimitive('String')],
379
+ }),
380
+ }),
381
+ new Param({
382
+ name: 'separator',
383
+ description: '连接符,用于连接列表中的项',
384
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
385
+ }),
386
+ ],
387
+ returns: [
388
+ new Return({
389
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
390
+ }),
391
+ ],
392
+ }),
393
+ new Function({
394
+ name: 'Length',
395
+ description: '返回String或Map或List的长度',
396
+ params: [
397
+ new Param({
398
+ name: 'param',
399
+ description: '指定字符串',
400
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
401
+ }),
402
+ ],
403
+ returns: [
404
+ new Return({
405
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
406
+ }),
407
+ ],
408
+ }),
409
+ new Function({
410
+ name: 'ToLower',
411
+ description: '返回全部小写的字符串',
412
+ params: [
413
+ new Param({
414
+ name: 'str1',
415
+ description: '指定字符串',
416
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
417
+ }),
418
+ ],
419
+ returns: [
420
+ new Return({
421
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
422
+ }),
423
+ ],
424
+ }),
425
+ new Function({
426
+ name: 'ToUpper',
427
+ description: '返回全部大写的字符串',
428
+ params: [
429
+ new Param({
430
+ name: 'str1',
431
+ description: '指定字符串',
432
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
433
+ }),
434
+ ],
435
+ returns: [
436
+ new Return({
437
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
438
+ }),
439
+ ],
440
+ }),
441
+ new Function({
442
+ name: 'Trim',
443
+ description: '删除字符串的前后空格。返回裁剪后的新字符串。',
444
+ params: [
445
+ new Param({
446
+ name: 'str1',
447
+ description: '指定字符串',
448
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
449
+ }),
450
+ ],
451
+ returns: [
452
+ new Return({
453
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
454
+ }),
455
+ ],
456
+ }),
457
+ new Function({
458
+ name: 'Get',
459
+ description: '获得列表位于指定索引处的项',
460
+ params: [
461
+ new Param({
462
+ name: 'list',
463
+ description: '指定列表',
464
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
465
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
466
+ }),
467
+ }),
468
+ new Param({
469
+ name: 'index',
470
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
471
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
472
+ }),
473
+ ],
474
+ returns: [
475
+ new Return({
476
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
477
+ }),
478
+ ],
479
+ }),
480
+ new Function({
481
+ name: 'Set',
482
+ description: '(修改原数据)为列表的指定索引项赋值(覆盖原索引项)',
483
+ params: [
484
+ new Param({
485
+ name: 'list',
486
+ description: '指定列表',
487
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
488
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
489
+ }),
490
+ }),
491
+ new Param({
492
+ name: 'index',
493
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
494
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
495
+ }),
496
+ new Param({
497
+ name: 'item',
498
+ description: '列表指定索引下的新项',
499
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
500
+ }),
501
+ ],
502
+ returns: [
503
+ new Return({
504
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
505
+ }),
506
+ ],
507
+ }),
508
+ new Function({
509
+ name: 'Contains',
510
+ description: '测试列表是否包含某一项,返回测试结果',
511
+ params: [
512
+ new Param({
513
+ name: 'list',
514
+ description: '指定列表',
515
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
516
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
517
+ }),
518
+ }),
519
+ new Param({
520
+ name: 'item',
521
+ description: '指定项',
522
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
523
+ }),
524
+ ],
525
+ returns: [
526
+ new Return({
527
+ typeAnnotation: TypeAnnotation.createTypeParam('Boolean'),
528
+ }),
529
+ ],
530
+ }),
531
+ new Function({
532
+ name: 'Add',
533
+ description: '(修改原数据)在列表末尾追加项。',
534
+ params: [
535
+ new Param({
536
+ name: 'list',
537
+ description: '指定列表',
538
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
539
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
540
+ }),
541
+ }),
542
+ new Param({
543
+ name: 'item',
544
+ description: '指定需要在列表末尾增加的项',
545
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
546
+ }),
547
+ ],
548
+ }),
549
+ new Function({
550
+ name: 'AddAll',
551
+ description: '(修改原数据)为一个列表添加另一列表中的多项内容。返回新列表的长度',
552
+ params: [
553
+ new Param({
554
+ name: 'list',
555
+ description: '指定列表1',
556
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
557
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
558
+ }),
559
+ }),
560
+ new Param({
561
+ name: 'addList',
562
+ description: '指定列表2',
563
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
564
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
565
+ }),
566
+ }),
567
+ ],
568
+ returns: [
569
+ new Return({
570
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
571
+ }),
572
+ ],
573
+ }),
574
+ new Function({
575
+ name: 'Insert',
576
+ description: '(修改原数据)在列表的指定索引处插入新项(原索引项依次后推)',
577
+ params: [
578
+ new Param({
579
+ name: 'list',
580
+ description: '指定列表',
581
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
582
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
583
+ }),
584
+ }),
585
+ new Param({
586
+ name: 'index',
587
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
588
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
589
+ }),
590
+ new Param({
591
+ name: 'item',
592
+ description: '待插入项',
593
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
594
+ }),
595
+ ],
596
+ }),
597
+ new Function({
598
+ name: 'Remove',
599
+ description: '(修改原数据)删除列表的某项',
600
+ params: [
601
+ new Param({
602
+ name: 'list',
603
+ description: '指定列表',
604
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
605
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
606
+ }),
607
+ }),
608
+ new Param({
609
+ name: 'item',
610
+ description: '指定项',
611
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
612
+ }),
613
+ ],
614
+ }),
615
+ new Function({
616
+ name: 'RemoveAt',
617
+ description: '(修改原数据)在列表中删除位于指定索引的项。返回被删除的项',
618
+ params: [
619
+ new Param({
620
+ name: 'list',
621
+ description: '指定列表',
622
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
623
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
624
+ }),
625
+ }),
626
+ new Param({
627
+ name: 'index',
628
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
629
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
630
+ }),
631
+ ],
632
+ returns: [
633
+ new Return({
634
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
635
+ }),
636
+ ],
637
+ }),
638
+ new Function({
639
+ name: 'ListHead',
640
+ description: '返回列表的首项',
641
+ params: [
642
+ new Param({
643
+ name: 'list',
644
+ description: '指定列表',
645
+ }),
646
+ ],
647
+ returns: [
648
+ new Return({
649
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
650
+ }),
651
+ ],
652
+ }),
653
+ new Function({
654
+ name: 'ListLast',
655
+ description: '返回列表的末项',
656
+ params: [
657
+ new Param({
658
+ name: 'list',
659
+ description: '指定列表',
660
+ }),
661
+ ],
662
+ returns: [
663
+ new Return({
664
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
665
+ }),
666
+ ],
667
+ }),
668
+ new Function({
669
+ name: 'ListFlatten',
670
+ description: '将嵌套列表摊平一层并返回(List<List<T>> 变为 List<T>)',
671
+ params: [
672
+ new Param({
673
+ name: 'list',
674
+ description: '指定列表',
675
+ }),
676
+ ],
677
+ returns: [
678
+ new Return({
679
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
680
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
681
+ }),
682
+ }),
683
+ ],
684
+ }),
685
+ new Function({
686
+ name: 'ListToMap',
687
+ description: '选取列表项的某些属性,根据这些属性将列表变为 Map 并返回',
688
+ params: [
689
+ new Param({
690
+ name: 'list',
691
+ description: '指定列表',
692
+ }),
693
+ new Param({
694
+ name: 'by',
695
+ description: `根据项的属性及其本身进行key和value的定义`,
696
+ defaultExpression: new AnonymousFunction({
697
+ params: [
698
+ new Param({
699
+ name: 'item',
700
+ typeAnnotation: null,
701
+ }),
702
+ ],
703
+ body: new Identifier(),
704
+ }),
705
+ }),
706
+ new Param({
707
+ name: 'byVal',
708
+ defaultExpression: new AnonymousFunction({
709
+ params: [
710
+ new Param({
711
+ name: 'item',
712
+ typeAnnotation: null,
713
+ }),
714
+ ],
715
+ body: new Identifier(),
716
+ }),
717
+ }),
718
+ ],
719
+ }),
720
+ new Function({
721
+ name: 'ListTransform',
722
+ description: '对列表的每一项调用函数 by,得到新项;返回新项构成的列表',
723
+ params: [
724
+ new Param({
725
+ name: 'list',
726
+ description: '指定列表',
727
+ }),
728
+ new Param({
729
+ name: 'by',
730
+ description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
731
+ defaultExpression: new AnonymousFunction({
732
+ params: [
733
+ new Param({
734
+ name: 'item',
735
+ typeAnnotation: null,
736
+ }),
737
+ ],
738
+ }),
739
+ }),
740
+ ],
741
+ returns: [
742
+ new Return({
743
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
744
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
745
+ }),
746
+ }),
747
+ ],
748
+ }),
749
+ new Function({
750
+ name: 'ListSum',
751
+ description: '返回数值列表中所有项的和',
752
+ params: [
753
+ new Param({
754
+ name: 'list',
755
+ description: '指定列表',
756
+ }),
757
+ ],
758
+ returns: [
759
+ new Return({
760
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
761
+ }),
762
+ ],
763
+ }),
764
+ new Function({
765
+ name: 'ListProduct',
766
+ description: '返回数值列表中所有项的积',
767
+ params: [
768
+ new Param({
769
+ name: 'list',
770
+ description: '指定数值类型列表',
771
+ }),
772
+ ],
773
+ returns: [
774
+ new Return({
775
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
776
+ }),
777
+ ],
778
+ }),
779
+ new Function({
780
+ name: 'ListAverage',
781
+ description: '返回数值列表中所有项的平均值',
782
+ params: [
783
+ new Param({
784
+ name: 'list',
785
+ description: '指定数值类型列表',
786
+ }),
787
+ ],
788
+ returns: [
789
+ new Return({
790
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
791
+ }),
792
+ ],
793
+ }),
794
+ new Function({
795
+ name: 'ListMax',
796
+ description: '返回数值列表中所有项的最大值',
797
+ params: [
798
+ new Param({
799
+ name: 'list',
800
+ description: '指定数值类型列表',
801
+ }),
802
+ ],
803
+ returns: [
804
+ new Return({
805
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
806
+ }),
807
+ ],
808
+ }),
809
+ new Function({
810
+ name: 'ListMin',
811
+ description: '返回数值列表中所有项的最小值',
812
+ params: [
813
+ new Param({
814
+ name: 'list',
815
+ description: '指定数值类型列表',
816
+ }),
817
+ ],
818
+ returns: [
819
+ new Return({
820
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
821
+ }),
822
+ ],
823
+ }),
824
+ new Function({
825
+ name: 'MapGet',
826
+ description: '查询出Map中key为指定值的value值列表',
827
+ params: [
828
+ new Param({
829
+ name: 'map',
830
+ description: '指定映射',
831
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
832
+ typeArguments: [
833
+ TypeAnnotation.createTypeParam('K'),
834
+ TypeAnnotation.createTypeParam('V'),
835
+ ],
836
+ }),
837
+ }),
838
+ new Param({
839
+ name: 'key',
840
+ description: '指定参数key',
841
+ typeAnnotation: TypeAnnotation.createTypeParam('K'),
842
+ }),
843
+ ],
844
+ returns: [
845
+ new Return({
846
+ typeAnnotation: TypeAnnotation.createTypeParam('V'),
847
+ }),
848
+ ],
849
+ }),
850
+ new Function({
851
+ name: 'MapPut',
852
+ description: '(修改原数据)为Map中添加键值对',
853
+ params: [
854
+ new Param({
855
+ name: 'map',
856
+ description: '指定映射',
857
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
858
+ typeArguments: [
859
+ TypeAnnotation.createTypeParam('K'),
860
+ TypeAnnotation.createTypeParam('V'),
861
+ ],
862
+ }),
863
+ }),
864
+ new Param({
865
+ name: 'key',
866
+ description: '指定参数key',
867
+ typeAnnotation: TypeAnnotation.createTypeParam('K'),
868
+ }),
869
+ new Param({
870
+ name: 'value',
871
+ description: '指定参数value',
872
+ typeAnnotation: TypeAnnotation.createTypeParam('V'),
873
+ }),
874
+ ],
875
+ }),
876
+ new Function({
877
+ name: 'MapRemove',
878
+ description: '(修改原数据)删除Map中的键值对',
879
+ params: [
880
+ new Param({
881
+ name: 'map',
882
+ description: '指定列表',
883
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
884
+ typeArguments: [
885
+ TypeAnnotation.createTypeParam('K'),
886
+ TypeAnnotation.createTypeParam('V'),
887
+ ],
888
+ }),
889
+ }),
890
+ new Param({
891
+ name: 'key',
892
+ description: '指定参数key',
893
+ typeAnnotation: TypeAnnotation.createTypeParam('K'),
894
+ }),
895
+ ],
896
+ }),
897
+ new Function({
898
+ name: 'MapContains',
899
+ description: '判断Map中是否存在参数指定的键值对',
900
+ params: [
901
+ new Param({
902
+ name: 'map',
903
+ description: '指定映射',
904
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
905
+ typeArguments: [
906
+ TypeAnnotation.createTypeParam('K'),
907
+ TypeAnnotation.createTypeParam('V'),
908
+ ],
909
+ }),
910
+ }),
911
+ new Param({
912
+ name: 'key',
913
+ description: '指定参数key',
914
+ typeAnnotation: TypeAnnotation.createTypeParam('K'),
915
+ }),
916
+ ],
917
+ returns: [
918
+ new Return({
919
+ typeAnnotation: TypeAnnotation.createTypeParam('Boolean'),
920
+ }),
921
+ ],
922
+ }),
923
+ new Function({
924
+ name: 'MapKeys',
925
+ description: '输出Map中key集合',
926
+ params: [
927
+ new Param({
928
+ name: 'map',
929
+ description: '指定映射',
930
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
931
+ typeArguments: [
932
+ TypeAnnotation.createTypeParam('K'),
933
+ TypeAnnotation.createTypeParam('V'),
934
+ ],
935
+ }),
936
+ }),
937
+ ],
938
+ returns: [
939
+ new Return({
940
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
941
+ typeArguments: [TypeAnnotation.createTypeParam('K')],
942
+ }),
943
+ }),
944
+ ],
945
+ }),
946
+ new Function({
947
+ name: 'MapValues',
948
+ description: '输出Map中value集合',
949
+ params: [
950
+ new Param({
951
+ name: 'map',
952
+ description: '指定映射',
953
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
954
+ typeArguments: [
955
+ TypeAnnotation.createTypeParam('K'),
956
+ TypeAnnotation.createTypeParam('V'),
957
+ ],
958
+ }),
959
+ }),
960
+ ],
961
+ returns: [
962
+ new Return({
963
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
964
+ typeArguments: [TypeAnnotation.createTypeParam('V')],
965
+ }),
966
+ }),
967
+ ],
968
+ }),
969
+ new Function({
970
+ name: 'MapFilter',
971
+ description: '在指定Map中过滤出符合条件参数的Map列表',
972
+ params: [
973
+ new Param({
974
+ name: 'map',
975
+ description: '指定映射',
976
+ }),
977
+ new Param({
978
+ name: 'by',
979
+ description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
980
+ defaultExpression: new AnonymousFunction({
981
+ params: [
982
+ new Param({
983
+ name: 'key',
984
+ typeAnnotation: null,
985
+ }),
986
+ new Param({
987
+ name: 'value',
988
+ typeAnnotation: null,
989
+ }),
990
+ ],
991
+ }),
992
+ }),
993
+ ],
994
+ returns: [
995
+ new Return({
996
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
997
+ typeArguments: [
998
+ TypeAnnotation.createTypeParam('K'),
999
+ TypeAnnotation.createTypeParam('V'),
1000
+ ],
1001
+ }),
1002
+ }),
1003
+ ],
1004
+ }),
1005
+ new Function({
1006
+ name: 'MapTransform',
1007
+ description: '对 Map 的每一项调用函数 by,得到新项,并返回新项构成的 Map。(Map 的每一项从 (K0, V0) 变为 (K, V)。)',
1008
+ params: [
1009
+ new Param({
1010
+ name: 'map',
1011
+ description: '指定映射',
1012
+ }),
1013
+ new Param({
1014
+ name: 'by',
1015
+ description: `指定映射中键值对的参数处理方式,支持算数运算和比较运算`,
1016
+ defaultExpression: new AnonymousFunction({
1017
+ params: [
1018
+ new Param({
1019
+ name: 'key',
1020
+ typeAnnotation: null,
1021
+ }),
1022
+ new Param({
1023
+ name: 'value',
1024
+ typeAnnotation: null,
1025
+ }),
1026
+ ],
1027
+ body: new Identifier({
1028
+ name: 'key',
1029
+ }),
1030
+ }),
1031
+ }),
1032
+ new Param({
1033
+ name: 'byVal',
1034
+ defaultExpression: new AnonymousFunction({
1035
+ params: [
1036
+ new Param({
1037
+ name: 'key',
1038
+ typeAnnotation: null,
1039
+ }),
1040
+ new Param({
1041
+ name: 'value',
1042
+ typeAnnotation: null,
1043
+ }),
1044
+ ],
1045
+ }),
1046
+ }),
1047
+ ],
1048
+ returns: [
1049
+ new Return({
1050
+ typeAnnotation: TypeAnnotation.createGeneric('Map', {
1051
+ typeArguments: [TypeAnnotation.createTypeParam('K'), TypeAnnotation.createTypeParam('V')],
1052
+ }),
1053
+ }),
1054
+ ],
1055
+ }),
1056
+ new Function({
1057
+ name: 'CurrDate',
1058
+ description: '返回指定时区的当前日期',
1059
+ params: [],
1060
+ returns: [
1061
+ new Return({
1062
+ typeAnnotation: TypeAnnotation.createPrimitive('Date'),
1063
+ }),
1064
+ ],
1065
+ }),
1066
+ new Function({
1067
+ name: 'CurrTime',
1068
+ description: '返回指定时区的当前时间',
1069
+ params: [],
1070
+ returns: [
1071
+ new Return({
1072
+ typeAnnotation: TypeAnnotation.createTypeParam('Time'),
1073
+ }),
1074
+ ],
1075
+ }),
1076
+ new Function({
1077
+ name: 'CurrDateTime',
1078
+ description: '返回指定时区的当前日期时间',
1079
+ params: [],
1080
+ returns: [
1081
+ new Return({
1082
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1083
+ }),
1084
+ ],
1085
+ }),
1086
+ new Function({
1087
+ name: 'FormatDate',
1088
+ description: '返回格式化日期字符串',
1089
+ composedBy: ['Format'],
1090
+ params: [
1091
+ new Param({
1092
+ name: 'date',
1093
+ description: '指定需要格式化日期的字段',
1094
+ typeAnnotation: TypeAnnotation.createPrimitive('Date'),
1095
+ }),
1096
+ new Param({
1097
+ name: 'formatter',
1098
+ description: '格式化规则,默认为yyyy-MM-dd,即年月日格式',
1099
+ defaultValue: new DefaultValue({
1100
+ expression: new StringLiteral({ value: 'yyyy-MM-dd' }),
1101
+ concept: 'DefaultValue',
1102
+ }),
1103
+ defaultExpression: new StringLiteral({ value: 'yyyy-MM-dd' }),
1104
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1105
+ options: [
1106
+ {
1107
+ text: 'yyyy年MM月dd日',
1108
+ value: 'yyyy年MM月dd日',
1109
+ description: 'yyyy年MM月dd日',
1110
+ },
1111
+ {
1112
+ text: 'yyyy-MM-dd',
1113
+ value: 'yyyy-MM-dd',
1114
+ description: 'yyyy-MM-dd',
1115
+ },
1116
+ {
1117
+ text: 'dd/MM/yyyy',
1118
+ value: 'dd/MM/yyyy',
1119
+ description: 'dd/MM/yyyy',
1120
+ },
1121
+ {
1122
+ text: 'MM/dd/yyyy',
1123
+ value: 'MM/dd/yyyy',
1124
+ description: 'MM/dd/yyyy',
1125
+ },
1126
+ ]
1127
+ })
1128
+ ],
1129
+ returns: [
1130
+ new Return({
1131
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1132
+ }),
1133
+ ],
1134
+ }),
1135
+ new Function({
1136
+ name: 'FormatDateTime',
1137
+ description: '返回格式化日期时间字符串。当输入为 DateTime 类型时,会把数据转到目标时区的当地时间进行格式化。',
1138
+ composedBy: ['Format'],
1139
+ params: [
1140
+ new Param({
1141
+ name: 'date',
1142
+ description: '指定需要格式化日期时间的字段',
1143
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1144
+ }),
1145
+ new Param({
1146
+ name: 'formatter',
1147
+ description: '格式化规则,默认为yyyy-MM-dd',
1148
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1149
+ defaultValue: new DefaultValue({
1150
+ expression: new StringLiteral({ value: 'yyyy-MM-dd HH:mm:ss' }),
1151
+ concept: 'DefaultValue',
1152
+ }),
1153
+ defaultExpression: new StringLiteral({ value: 'yyyy-MM-dd HH:mm:ss' }),
1154
+ options: [
1155
+ {
1156
+ text: 'yyyy年MM月dd日 HH时mm分ss秒',
1157
+ value: 'yyyy年MM月dd日 HH时mm分ss秒',
1158
+ description: 'yyyy年MM月dd日 HH时mm分ss秒',
1159
+ },
1160
+ {
1161
+ text: 'yyyy-MM-dd HH:mm:ss',
1162
+ value: 'yyyy-MM-dd HH:mm:ss',
1163
+ description: 'yyyy-MM-dd HH:mm:ss',
1164
+ },
1165
+ {
1166
+ text: 'dd/MM/yyyy HH:mm:ss',
1167
+ value: 'dd/MM/yyyy HH:mm:ss',
1168
+ description: 'dd/MM/yyyy HH:mm:ss',
1169
+ },
1170
+ {
1171
+ text: 'MM/dd/yyyy HH:mm:ss',
1172
+ value: 'MM/dd/yyyy HH:mm:ss',
1173
+ description: 'MM/dd/yyyy HH:mm:ss',
1174
+ },
1175
+ ]
1176
+ }),
1177
+ new Param({
1178
+ name: '时区',
1179
+ description: '以此时区为基准',
1180
+ useComponent: { type: 's-bidirectional-bind-switch' },
1181
+ defaultExpression: new StringLiteral({
1182
+ name: 'FormatDateTimeTimeZoneDefaultExpression',
1183
+ value: 'global'
1184
+ }),
1185
+ options: timeZone_1.TIMEZONES,
1186
+ hidden: true,
1187
+ }),
1188
+ ],
1189
+ returns: [
1190
+ new Return({
1191
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1192
+ }),
1193
+ ],
1194
+ }),
1195
+ new Function({
1196
+ name: 'FormatTime',
1197
+ description: '返回格式化时间字符串',
1198
+ composedBy: ['Format'],
1199
+ params: [
1200
+ new Param({
1201
+ name: 'date',
1202
+ description: '指定需要格式化时间的字段',
1203
+ typeAnnotation: TypeAnnotation.createPrimitive('Time'),
1204
+ }),
1205
+ new Param({
1206
+ name: 'formatter',
1207
+ description: '格式化规则,默认为HH:mm:ss,即时分秒格式',
1208
+ defaultValue: new DefaultValue({
1209
+ expression: new StringLiteral({ value: 'HH:mm:ss' }),
1210
+ concept: 'DefaultValue',
1211
+ }),
1212
+ defaultExpression: new StringLiteral({ value: 'HH:mm:ss' }),
1213
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1214
+ options: [
1215
+ {
1216
+ text: 'HH:mm:ss',
1217
+ value: 'HH:mm:ss',
1218
+ description: 'HH:mm:ss',
1219
+ },
1220
+ {
1221
+ text: 'HH时mm分ss秒',
1222
+ value: 'HH时mm分ss秒',
1223
+ description: 'HH时mm分ss秒',
1224
+ },
1225
+ {
1226
+ text: 'HH:mm',
1227
+ value: 'HH:mm',
1228
+ description: 'HH:mm',
1229
+ },
1230
+ {
1231
+ text: 'HH时mm分',
1232
+ value: 'HH时mm分',
1233
+ description: 'HH时mm分',
1234
+ },
1235
+ ]
1236
+ })
1237
+ ],
1238
+ returns: [
1239
+ new Return({
1240
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1241
+ }),
1242
+ ],
1243
+ }),
1244
+ new Function({
1245
+ name: 'Format',
1246
+ description: '返回格式化字符串,如数值、百分比、日期时间等',
1247
+ composedBy: ['Format'],
1248
+ }),
1249
+ new Function({
1250
+ name: 'FormatPercent',
1251
+ description: '返回格式化字符串,如数值、百分比、日期时间等',
1252
+ composedBy: ['Format'],
1253
+ params: [
1254
+ new Param({
1255
+ name: 'value',
1256
+ description: '指定格式化字段',
1257
+ typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
1258
+ defaultExpression: new Identifier(),
1259
+ }),
1260
+ new Param({
1261
+ name: 'digits',
1262
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1263
+ description: '保留小数位数',
1264
+ defaultValue: new DefaultValue({
1265
+ expression: new NumericLiteral({ value: '2' }),
1266
+ concept: 'DefaultValue',
1267
+ }),
1268
+ defaultExpression: new NumericLiteral({ value: '2' }),
1269
+ }),
1270
+ new Param({
1271
+ name: 'omit',
1272
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1273
+ description: '是否隐藏末尾0',
1274
+ useComponent: { type: 's-checkbox' },
1275
+ defaultValue: new DefaultValue({
1276
+ expression: new BooleanLiteral({ value: 'false' }),
1277
+ concept: 'DefaultValue',
1278
+ }),
1279
+ defaultExpression: new BooleanLiteral({ value: 'false' }),
1280
+ }),
1281
+ new Param({
1282
+ name: 'showGroups',
1283
+ description: '是否显示千分位:true显示,false不显示',
1284
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1285
+ defaultValue: new DefaultValue({
1286
+ expression: new BooleanLiteral({ value: 'false' }),
1287
+ concept: 'DefaultValue',
1288
+ }),
1289
+ defaultExpression: new BooleanLiteral({ value: 'false' }),
1290
+ options: [
1291
+ {
1292
+ text: 'true',
1293
+ value: 'true',
1294
+ description: '显示千分位',
1295
+ },
1296
+ {
1297
+ text: 'false',
1298
+ value: 'false',
1299
+ description: '不显示千分位',
1300
+ },
1301
+ ],
1302
+ }),
1303
+ ],
1304
+ returns: [
1305
+ new Return({
1306
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1307
+ }),
1308
+ ],
1309
+ }),
1310
+ new Function({
1311
+ name: 'FormatNumber',
1312
+ description: '返回格式化的数字字符串',
1313
+ composedBy: ['Format'],
1314
+ params: [
1315
+ new Param({
1316
+ name: 'value',
1317
+ description: '指定格式化字段',
1318
+ typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
1319
+ defaultExpression: new Identifier(),
1320
+ }),
1321
+ new Param({
1322
+ name: 'digits',
1323
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1324
+ description: '保留小数位数',
1325
+ defaultValue: new DefaultValue({
1326
+ expression: new NumericLiteral({ value: '2' }),
1327
+ concept: 'DefaultValue',
1328
+ }),
1329
+ defaultExpression: new NumericLiteral({ value: '2' }),
1330
+ }),
1331
+ new Param({
1332
+ name: 'omit',
1333
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1334
+ description: '是否隐藏末尾0',
1335
+ useComponent: { type: 's-checkbox' },
1336
+ defaultValue: new DefaultValue({
1337
+ expression: new BooleanLiteral({ value: 'false' }),
1338
+ concept: 'DefaultValue',
1339
+ }),
1340
+ defaultExpression: new BooleanLiteral({ value: 'false' }),
1341
+ }),
1342
+ new Param({
1343
+ name: 'showGroups',
1344
+ description: '是否显示千分位:true显示,false不显示',
1345
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1346
+ defaultValue: new DefaultValue({
1347
+ expression: new BooleanLiteral({ value: 'false' }),
1348
+ concept: 'DefaultValue',
1349
+ }),
1350
+ defaultExpression: new BooleanLiteral({ value: 'false' }),
1351
+ options: [
1352
+ {
1353
+ text: 'true',
1354
+ value: 'true',
1355
+ description: '显示千分位',
1356
+ },
1357
+ {
1358
+ text: 'false',
1359
+ value: 'false',
1360
+ description: '不显示千分位',
1361
+ },
1362
+ ],
1363
+ }),
1364
+ new Param({
1365
+ name: 'fix',
1366
+ description: '前缀和后缀',
1367
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1368
+ defaultValue: new DefaultValue({
1369
+ expression: new StringLiteral({ value: 'prefix' }),
1370
+ concept: 'DefaultValue',
1371
+ }),
1372
+ defaultExpression: new StringLiteral({ value: 'prefix' }),
1373
+ options: [
1374
+ {
1375
+ text: '前缀',
1376
+ value: 'prefix',
1377
+ description: '前缀',
1378
+ },
1379
+ {
1380
+ text: '后缀',
1381
+ value: 'suffix',
1382
+ description: '后缀',
1383
+ },
1384
+ ]
1385
+ }),
1386
+ new Param({
1387
+ name: 'unit',
1388
+ description: '表示前缀和后缀的内容',
1389
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1390
+ defaultValue: new DefaultValue({
1391
+ expression: new StringLiteral({ value: '' }),
1392
+ concept: 'DefaultValue',
1393
+ }),
1394
+ defaultExpression: new StringLiteral({ value: '' }),
1395
+ }),
1396
+ ],
1397
+ returns: [
1398
+ new Return({
1399
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1400
+ }),
1401
+ ],
1402
+ }),
1403
+ new Function({
1404
+ name: 'AddDays',
1405
+ description: '返回日期天数加法计算结果',
1406
+ params: [
1407
+ new Param({
1408
+ name: 'dateTime',
1409
+ description: '指定日期时间',
1410
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1411
+ }),
1412
+ new Param({
1413
+ name: 'amount',
1414
+ description: '增加的天数',
1415
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1416
+ }),
1417
+ ],
1418
+ returns: [
1419
+ new Return({
1420
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1421
+ }),
1422
+ ],
1423
+ }),
1424
+ new Function({
1425
+ name: 'AddMonths',
1426
+ description: '返回月份加法计算结果',
1427
+ params: [
1428
+ new Param({
1429
+ name: 'dateTime',
1430
+ description: '指定日期时间',
1431
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1432
+ }),
1433
+ new Param({
1434
+ name: 'amount',
1435
+ description: '增加的月数',
1436
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1437
+ }),
1438
+ ],
1439
+ returns: [
1440
+ new Return({
1441
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1442
+ }),
1443
+ ],
1444
+ }),
1445
+ new Function({
1446
+ name: 'DateDiff',
1447
+ description: '返回日期比较结果',
1448
+ params: [
1449
+ new Param({
1450
+ name: 'dateTime1',
1451
+ description: '指定日期时间1',
1452
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1453
+ defaultExpression: new Identifier(),
1454
+ }),
1455
+ new Param({
1456
+ name: 'dateTime2',
1457
+ description: '指定日期时间2',
1458
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1459
+ defaultExpression: new Identifier(),
1460
+ }),
1461
+ new Param({
1462
+ name: 'calcType',
1463
+ description: '计算类型。计算两个日期时间之间的差值,支持年数、季度数、月数、星期数、天数、小时数、分钟数、秒数',
1464
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1465
+ defaultValue: new DefaultValue({
1466
+ expression: new StringLiteral({ value: 'd' }),
1467
+ concept: 'DefaultValue',
1468
+ }),
1469
+ defaultExpression: new StringLiteral({ value: 'd' }),
1470
+ options: [
1471
+ {
1472
+ text: 'Year',
1473
+ value: 'y',
1474
+ description: '年数',
1475
+ },
1476
+ {
1477
+ text: 'Season',
1478
+ value: 'q',
1479
+ description: '季度数',
1480
+ },
1481
+ {
1482
+ text: 'Month',
1483
+ value: 'M',
1484
+ description: '月数',
1485
+ },
1486
+ {
1487
+ text: 'Week',
1488
+ value: 'w',
1489
+ description: '星期数',
1490
+ },
1491
+ {
1492
+ text: 'Day',
1493
+ value: 'd',
1494
+ description: '天数',
1495
+ },
1496
+ {
1497
+ text: 'Hour',
1498
+ value: 'h',
1499
+ description: '小时数',
1500
+ },
1501
+ {
1502
+ text: 'Minute',
1503
+ value: 'm',
1504
+ description: '分钟数',
1505
+ },
1506
+ {
1507
+ text: 'Second',
1508
+ value: 's',
1509
+ description: '秒数',
1510
+ },
1511
+ ],
1512
+ }),
1513
+ new Param({
1514
+ name: '结果处理',
1515
+ description: '结果是否绝对值处理',
1516
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1517
+ defaultValue: new DefaultValue({
1518
+ expression: new BooleanLiteral({ value: 'true' }),
1519
+ concept: 'DefaultValue',
1520
+ }),
1521
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
1522
+ options: [
1523
+ {
1524
+ text: '绝对值',
1525
+ value: 'true',
1526
+ description: '结果绝对值处理',
1527
+ },
1528
+ {
1529
+ text: '不处理',
1530
+ value: 'false',
1531
+ description: '结果不做绝对值处理',
1532
+ },
1533
+ ],
1534
+ }),
1535
+ ],
1536
+ returns: [
1537
+ new Return({
1538
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1539
+ }),
1540
+ ],
1541
+ }),
1542
+ new Function({
1543
+ name: 'ConvertTimezone',
1544
+ description: '为指定日期时间转换时区',
1545
+ params: [
1546
+ new Param({
1547
+ name: '指定日期',
1548
+ description: '指定日期',
1549
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1550
+ }),
1551
+ new Param({
1552
+ name: '转换时区至',
1553
+ description: '转换时区至',
1554
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1555
+ defaultValue: new DefaultValue({
1556
+ expression: new StringLiteral({ value: 'Asia/Shanghai' }),
1557
+ concept: 'DefaultValue',
1558
+ }),
1559
+ useComponent: { type: 's-bidirectional-bind-switch' },
1560
+ defaultExpression: new StringLiteral({
1561
+ value: 'Asia/Shanghai',
1562
+ name: 'ConvertTimezoneDefaultExpression',
1563
+ }),
1564
+ options: [
1565
+ {
1566
+ text: '中国标准时间(UTC +8)',
1567
+ value: 'Asia/Shanghai',
1568
+ description: '中国标准时间',
1569
+ },
1570
+ {
1571
+ text: '格林威治标准时间(UTC +0)',
1572
+ value: 'Europe/London',
1573
+ description: '格林威治标准时间',
1574
+ },
1575
+ {
1576
+ text: '北美东部标准时间(UTC -5)',
1577
+ value: 'America/New_York',
1578
+ description: '北美东部标准时间',
1579
+ },
1580
+ {
1581
+ text: '日本标准时间(UTC +9)',
1582
+ value: 'Asia/Tokyo',
1583
+ description: '日本标准时间',
1584
+ },
1585
+ {
1586
+ text: '欧洲中部标准时间(UTC +1)',
1587
+ value: 'Europe/Paris',
1588
+ description: '欧洲中部标准时间',
1589
+ },
1590
+ ],
1591
+ }),
1592
+ ],
1593
+ returns: [
1594
+ new Return({
1595
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1596
+ }),
1597
+ ],
1598
+ }),
1599
+ new Function({
1600
+ name: 'GetDateCount',
1601
+ description: '按指定维度计算日期,如“所在年-第几周”。当输入为 DateTime 类型时,会把数据转到提供的时区的当地时间进行计算。',
1602
+ params: [
1603
+ new Param({
1604
+ name: '指定日期',
1605
+ description: '将被计算的日期',
1606
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1607
+ }),
1608
+ new Param({
1609
+ name: '根据指定日期计算',
1610
+ description: '获取指定日期的特定信息,如是其所在年的第几天',
1611
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1612
+ defaultValue: new DefaultValue({
1613
+ expression: new StringLiteral({ value: 'week-year' }),
1614
+ concept: 'DefaultValue',
1615
+ }),
1616
+ defaultExpression: new StringLiteral({ value: 'week-year' }),
1617
+ cascader: true,
1618
+ }),
1619
+ ],
1620
+ returns: [
1621
+ new Return({
1622
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1623
+ }),
1624
+ ],
1625
+ }),
1626
+ new Function({
1627
+ name: 'AlterDateTime',
1628
+ description: '为指定日期时间调整增加(减少)时间',
1629
+ params: [
1630
+ new Param({
1631
+ name: '指定日期时间',
1632
+ description: '将被更改的日期时间或日期',
1633
+ typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1634
+ }),
1635
+ new Param({
1636
+ name: '调整',
1637
+ description: '为指定的日期时间增加或减少指定的数量,只能填整数',
1638
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1639
+ defaultValue: new DefaultValue({
1640
+ expression: new StringLiteral({ value: 'Increase' }),
1641
+ concept: 'DefaultValue',
1642
+ }),
1643
+ defaultExpression: new StringLiteral({ value: 'Increase' }),
1644
+ options: [
1645
+ { text: '增加', value: 'Increase' },
1646
+ { text: '减少', value: 'Decrease' },
1647
+ ],
1648
+ }),
1649
+ new Param({
1650
+ name: 'amount',
1651
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1652
+ defaultExpression: new NumericLiteral({ value: '0' }),
1653
+ }),
1654
+ new Param({
1655
+ name: '计算数',
1656
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
1657
+ defaultValue: new DefaultValue({
1658
+ expression: new StringLiteral({ value: 'day' }),
1659
+ concept: 'DefaultValue',
1660
+ }),
1661
+ defaultExpression: new StringLiteral({ value: 'day' }),
1662
+ options: [
1663
+ { text: '天', value: 'day' },
1664
+ { text: '周', value: 'week' },
1665
+ { text: '月', value: 'month' },
1666
+ { text: '季度', value: 'quarter' },
1667
+ { text: '年', value: 'year' },
1668
+ ],
1669
+ }),
1670
+ ],
1671
+ }),
1672
+ new Function({
1673
+ name: 'GetSpecificDaysOfWeek',
1674
+ description: '按“星期几”获取指定日期范围内的日子。当输入为 DateTime 类型时,会把数据转到提供的时区的当地时间进行计算。',
1675
+ params: [
1676
+ new Param({
1677
+ name: '起始',
1678
+ description: '起始日期(包含)',
1679
+ typeAnnotation: TypeAnnotation.createPrimitive('Date'),
1680
+ }),
1681
+ new Param({
1682
+ name: '结束',
1683
+ description: '结束日期(包含)',
1684
+ typeAnnotation: TypeAnnotation.createPrimitive('Date'),
1685
+ }),
1686
+ new Param({
1687
+ name: '指定',
1688
+ description: '指定的星期几,可多选',
1689
+ useComponent: { type: 's-bidirectional-bind-switch' },
1690
+ defaultExpression: new NewList({
1691
+ name: 'GetSpecificDaysOfWeekTargetDefaultExpression',
1692
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1693
+ typeArguments: [TypeAnnotation.createPrimitive('Long')],
1694
+ }),
1695
+ }),
1696
+ options: [
1697
+ { text: '星期一', value: '1' },
1698
+ { text: '星期二', value: '2' },
1699
+ { text: '星期三', value: '3' },
1700
+ { text: '星期四', value: '4' },
1701
+ { text: '星期五', value: '5' },
1702
+ { text: '星期六', value: '6' },
1703
+ { text: '星期日', value: '7' },
1704
+ ],
1705
+ }),
1706
+ ],
1707
+ returns: [
1708
+ new Return({
1709
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1710
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1711
+ }),
1712
+ }),
1713
+ ],
1714
+ }),
1715
+ new Function({
1716
+ name: 'Clone',
1717
+ description: '复制一个所选参数的实例',
1718
+ params: [
1719
+ new Param({
1720
+ name: 'struct',
1721
+ description: '指定对象',
1722
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
1723
+ }),
1724
+ ],
1725
+ returns: [
1726
+ new Return({
1727
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
1728
+ }),
1729
+ ],
1730
+ }),
1731
+ new Function({
1732
+ name: 'Clear',
1733
+ description: '(修改原数据)清除复杂对象中每个属性的数据(若输入是单个基础类型如 Integer 的值,则不做处理)',
1734
+ params: [
1735
+ new Param({
1736
+ name: 'struct',
1737
+ description: '指定对象',
1738
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
1739
+ }),
1740
+ ],
1741
+ returns: [
1742
+ new Return({
1743
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
1744
+ }),
1745
+ ],
1746
+ }),
1747
+ new Function({
1748
+ name: 'RandomInt',
1749
+ description: '产生随机整数',
1750
+ params: [
1751
+ new Param({
1752
+ name: 'start',
1753
+ description: '起始数字,Integer类型',
1754
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1755
+ }),
1756
+ new Param({
1757
+ name: 'end',
1758
+ description: '截至数字,Integer类型',
1759
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1760
+ }),
1761
+ ],
1762
+ returns: [
1763
+ new Return({
1764
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1765
+ }),
1766
+ ],
1767
+ }),
1768
+ new Function({
1769
+ name: 'CreateListPage',
1770
+ description: '将List<T>列表转换为列表分页',
1771
+ params: [
1772
+ new Param({
1773
+ name: 'list',
1774
+ description: '指定列表',
1775
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1776
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1777
+ }),
1778
+ }),
1779
+ new Param({
1780
+ name: 'total',
1781
+ description: '指定数据条数',
1782
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1783
+ }),
1784
+ ],
1785
+ returns: [
1786
+ new Return({
1787
+ typeAnnotation: TypeAnnotation.createPrimitive('PageOf', {
1788
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1789
+ }),
1790
+ }),
1791
+ ],
1792
+ }),
1793
+ new Function({
1794
+ name: 'ListSort',
1795
+ description: '(修改原数据)为列表按指定规则排序',
1796
+ params: [
1797
+ new Param({
1798
+ name: 'list',
1799
+ description: '指定列表',
1800
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1801
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1802
+ }),
1803
+ }),
1804
+ new Param({
1805
+ name: 'by',
1806
+ description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
1807
+ defaultExpression: new AnonymousFunction({
1808
+ params: [
1809
+ new Param({
1810
+ name: 'item',
1811
+ typeAnnotation: null,
1812
+ }),
1813
+ ],
1814
+ }),
1815
+ }),
1816
+ new Param({
1817
+ name: 'sort',
1818
+ description: '支持升序或降序设置,asc为升序,desc为降序。',
1819
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1820
+ defaultValue: new DefaultValue({
1821
+ expression: new BooleanLiteral({ value: 'true' }),
1822
+ concept: 'DefaultValue',
1823
+ }),
1824
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
1825
+ options: [
1826
+ {
1827
+ text: 'asc',
1828
+ value: 'true',
1829
+ description: '升序',
1830
+ },
1831
+ {
1832
+ text: 'desc',
1833
+ value: 'false',
1834
+ description: '降序',
1835
+ },
1836
+ ],
1837
+ }),
1838
+ ],
1839
+ returns: [],
1840
+ }),
1841
+ new Function({
1842
+ name: 'ListFind',
1843
+ description: '返回列表中第一个符合条件的项',
1844
+ params: [
1845
+ new Param({
1846
+ name: 'list',
1847
+ description: '指定列表',
1848
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1849
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1850
+ }),
1851
+ }),
1852
+ new Param({
1853
+ name: 'by',
1854
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1855
+ defaultExpression: new AnonymousFunction({
1856
+ params: [
1857
+ new Param({
1858
+ name: 'item',
1859
+ typeAnnotation: null,
1860
+ }),
1861
+ ],
1862
+ }),
1863
+ }),
1864
+ ],
1865
+ returns: [
1866
+ new Return({
1867
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
1868
+ }),
1869
+ ],
1870
+ }),
1871
+ new Function({
1872
+ name: 'ListFindIndex',
1873
+ description: '返回列表中第一个符合条件的项的索引值',
1874
+ params: [
1875
+ new Param({
1876
+ name: 'list',
1877
+ description: '指定列表',
1878
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1879
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1880
+ }),
1881
+ }),
1882
+ new Param({
1883
+ name: 'by',
1884
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1885
+ defaultExpression: new AnonymousFunction({
1886
+ params: [
1887
+ new Param({
1888
+ name: 'item',
1889
+ typeAnnotation: null,
1890
+ }),
1891
+ ],
1892
+ }),
1893
+ }),
1894
+ ],
1895
+ returns: [
1896
+ new Return({
1897
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
1898
+ }),
1899
+ ],
1900
+ }),
1901
+ new Function({
1902
+ name: 'ListFilter',
1903
+ description: '筛选列表中符合条件的所有项,返回这些项构成的新的列表',
1904
+ params: [
1905
+ new Param({
1906
+ name: 'list',
1907
+ description: '指定列表',
1908
+ }),
1909
+ new Param({
1910
+ name: 'by',
1911
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1912
+ defaultExpression: new AnonymousFunction({
1913
+ params: [
1914
+ new Param({
1915
+ name: 'item',
1916
+ typeAnnotation: null,
1917
+ }),
1918
+ ],
1919
+ }),
1920
+ }),
1921
+ ],
1922
+ returns: [
1923
+ new Return({
1924
+ name: 'list',
1925
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1926
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1927
+ }),
1928
+ }),
1929
+ ],
1930
+ }),
1931
+ new Function({
1932
+ name: 'ListReverse',
1933
+ description: '(修改原数据)将列表的所有项反向排列(例如第一项变为最后一项)',
1934
+ params: [
1935
+ new Param({
1936
+ name: 'list',
1937
+ description: '指定列表',
1938
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1939
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1940
+ }),
1941
+ }),
1942
+ ],
1943
+ returns: [],
1944
+ }),
1945
+ new Function({
1946
+ name: 'ListDistinct',
1947
+ description: '(修改原数据)为列表去除重复项',
1948
+ params: [
1949
+ new Param({
1950
+ name: 'list',
1951
+ description: '指定列表',
1952
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1953
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1954
+ }),
1955
+ }),
1956
+ ],
1957
+ returns: [],
1958
+ }),
1959
+ new Function({
1960
+ name: 'ListDistinctBy',
1961
+ description: '按某几个属性为列表去除重复项。返回去除重复项后的列表',
1962
+ params: [
1963
+ new Param({
1964
+ name: 'list',
1965
+ description: '指定列表',
1966
+ }),
1967
+ new Param({
1968
+ name: 'by',
1969
+ description: '指定列表中项的某几个属性,若项无属性,则该函数不生效',
1970
+ defaultExpression: new NewList({
1971
+ name: 'ListDistinctByTargetDefaultExpression',
1972
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1973
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
1974
+ }),
1975
+ items: [
1976
+ new AnonymousFunction({
1977
+ params: [
1978
+ new Param({
1979
+ name: 'item',
1980
+ description: '是否忽略大小写',
1981
+ typeAnnotation: null,
1982
+ }),
1983
+ ],
1984
+ body: new Identifier(),
1985
+ }),
1986
+ ],
1987
+ }),
1988
+ }),
1989
+ ],
1990
+ returns: [new Return({
1991
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
1992
+ typeArguments: [
1993
+ TypeAnnotation.createTypeParam('T'),
1994
+ ],
1995
+ }),
1996
+ })],
1997
+ }),
1998
+ new Function({
1999
+ name: 'ListGroupBy',
2000
+ description: '按某个属性为列表分组。以选中的属性为 key 建立 Map 并返回。',
2001
+ params: [
2002
+ new Param({
2003
+ name: 'list',
2004
+ description: '指定列表',
2005
+ }),
2006
+ new Param({
2007
+ name: 'by',
2008
+ description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
2009
+ defaultExpression: new AnonymousFunction({
2010
+ params: [
2011
+ new Param({
2012
+ name: 'item',
2013
+ description: '是否忽略大小写',
2014
+ typeAnnotation: null,
2015
+ }),
2016
+ ],
2017
+ body: new Identifier(),
2018
+ }),
2019
+ }),
2020
+ ],
2021
+ returns: [new Return({
2022
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
2023
+ typeArguments: [
2024
+ TypeAnnotation.createTypeParam('K'),
2025
+ TypeAnnotation.createGeneric('List', {
2026
+ typeArguments: [TypeAnnotation.createTypeParam('A')],
2027
+ }),
2028
+ ],
2029
+ }),
2030
+ })],
2031
+ }),
2032
+ new Function({
2033
+ name: 'ListSlice',
2034
+ description: '将列表按照规则切片,返回切片后的子列表',
2035
+ params: [
2036
+ new Param({
2037
+ name: 'list',
2038
+ description: '指定列表',
2039
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2040
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2041
+ }),
2042
+ }),
2043
+ new Param({
2044
+ name: 'start',
2045
+ description: '切片起始的索引,integer类型,项数索引从0开始',
2046
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2047
+ }),
2048
+ new Param({
2049
+ name: 'end',
2050
+ description: '切片结束的索引,integer类型,用数字表示第几项,项数索引从0开始',
2051
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2052
+ }),
2053
+ ],
2054
+ returns: [
2055
+ new Return({
2056
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2057
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2058
+ }),
2059
+ }),
2060
+ ],
2061
+ }),
2062
+ // new Function({
2063
+ // name: 'SliceToListPage',
2064
+ // description: '将列表按照规则切片,返回切片后的列表分页',
2065
+ // params: [
2066
+ // new Param({
2067
+ // name: 'list',
2068
+ // description: '指定列表',
2069
+ // typeAnnotation: TypeAnnotation.createGeneric('List', {
2070
+ // typeArguments: [TypeAnnotation.createTypeParam('T')],
2071
+ // }),
2072
+ // }),
2073
+ // new Param({
2074
+ // name: 'page',
2075
+ // description: '页数,integer类型,从1开始',
2076
+ // typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2077
+ // }),
2078
+ // new Param({
2079
+ // name: 'size',
2080
+ // description: '每页的大小,integer类型',
2081
+ // typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2082
+ // }),
2083
+ // ],
2084
+ // returns: [
2085
+ // new Return({
2086
+ // typeAnnotation: TypeAnnotation.createGeneric('PageOf', {
2087
+ // typeArguments: [TypeAnnotation.createTypeParam('T')],
2088
+ // }),
2089
+ // }),
2090
+ // ],
2091
+ // }),
2092
+ new Function({
2093
+ name: 'New',
2094
+ description: '根据参数选择的类型,返回该参数的实例化对象',
2095
+ typeParams: [
2096
+ new TypeParam({
2097
+ name: 'T',
2098
+ }),
2099
+ ],
2100
+ params: [],
2101
+ returns: [
2102
+ new Return({
2103
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
2104
+ }),
2105
+ ],
2106
+ }),
2107
+ new Function({
2108
+ name: 'Round',
2109
+ description: '对指定的小数按指定的舍入模式进行舍入,返回舍入后的整数',
2110
+ params: [
2111
+ new Param({
2112
+ name: 'value',
2113
+ description: '被取整小数',
2114
+ typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
2115
+ }),
2116
+ new Param({
2117
+ name: 'mode',
2118
+ description: '取整模式:HalfUp 四舍五入,如 -2.5 取整为 -3,2.5 取整为 3。TowardsZero 截断、向零取整:如 -2.6 取整为 -2,2.6 取整为 2。TowardsInfinity 进位、向正负无穷取整,如 -1.1 取整为 -2,1.1 取整为 2',
2119
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
2120
+ defaultExpression: new StringLiteral({ value: 'HalfUp' }),
2121
+ options: [
2122
+ { text: 'HalfUp', value: 'HalfUp', description: '四舍五入' },
2123
+ { text: 'TowardsZero', value: 'TowardsZero', description: '截断、向零取整,如 -2.6 取整为 -2' },
2124
+ { text: 'Towardslnfinity', value: 'TowardsInfinity', description: '进位、向正负无穷取整,如 -1.1 取整为 -2' },
2125
+ ],
2126
+ }),
2127
+ ],
2128
+ returns: [
2129
+ new Return({
2130
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2131
+ }),
2132
+ ],
2133
+ }),
2134
+ new Function({
2135
+ name: 'HasValue',
2136
+ description: '判断参数是否为有效值,null、空字符串、纯空格、长度为0的集合均不被视为有效值,传入多个参数时,判断是否全部都是有效值',
2137
+ params: [
2138
+ new Param({
2139
+ name: 'param1',
2140
+ description: '指定参数1',
2141
+ typeAnnotation: TypeAnnotation.createPrimitive('Any'),
2142
+ }),
2143
+ ],
2144
+ returns: [
2145
+ new Return({
2146
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
2147
+ }),
2148
+ ],
2149
+ }),
2150
+ new Function({
2151
+ name: 'ListFindAsync',
2152
+ description: '返回列表中第一个符合条件的项',
2153
+ params: [
2154
+ new Param({
2155
+ name: 'list',
2156
+ description: '指定列表',
2157
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2158
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2159
+ }),
2160
+ }),
2161
+ new Param({
2162
+ name: 'by',
2163
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
2164
+ defaultExpression: new AnonymousFunction({
2165
+ params: [
2166
+ new Param({
2167
+ name: 'item',
2168
+ typeAnnotation: null,
2169
+ }),
2170
+ ],
2171
+ }),
2172
+ }),
2173
+ ],
2174
+ returns: [
2175
+ new Return({
2176
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
2177
+ }),
2178
+ ],
2179
+ }),
2180
+ new Function({
2181
+ name: 'ListSortAsync',
2182
+ description: '(修改原数据)为列表按指定规则排序',
2183
+ params: [
2184
+ new Param({
2185
+ name: 'list',
2186
+ description: '指定列表',
2187
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2188
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2189
+ }),
2190
+ }),
2191
+ new Param({
2192
+ name: 'by',
2193
+ description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
2194
+ defaultExpression: new AnonymousFunction({
2195
+ params: [
2196
+ new Param({
2197
+ name: 'item',
2198
+ typeAnnotation: null,
2199
+ }),
2200
+ ],
2201
+ }),
2202
+ }),
2203
+ new Param({
2204
+ name: 'sort',
2205
+ description: '支持升序或降序设置,asc为升序,desc为降序。',
2206
+ typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
2207
+ defaultValue: new DefaultValue({
2208
+ expression: new BooleanLiteral({ value: 'true' }),
2209
+ concept: 'DefaultValue',
2210
+ }),
2211
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
2212
+ options: [
2213
+ { text: 'asc(升序)', value: 'true' },
2214
+ { text: 'desc(降序)', value: 'false' },
2215
+ ],
2216
+ }),
2217
+ ],
2218
+ returns: [],
2219
+ }),
2220
+ new Function({
2221
+ name: 'ListFilterAsync',
2222
+ description: '筛选列表中符合条件的所有项,返回这些项构成的新的列表',
2223
+ params: [
2224
+ new Param({
2225
+ name: 'list',
2226
+ description: '指定列表',
2227
+ }),
2228
+ new Param({
2229
+ name: 'by',
2230
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
2231
+ defaultExpression: new AnonymousFunction({
2232
+ params: [
2233
+ new Param({
2234
+ name: 'item',
2235
+ typeAnnotation: null,
2236
+ }),
2237
+ ],
2238
+ }),
2239
+ }),
2240
+ ],
2241
+ returns: [
2242
+ new Return({
2243
+ name: 'list',
2244
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2245
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2246
+ }),
2247
+ }),
2248
+ ],
2249
+ }),
2250
+ new Function({
2251
+ name: 'ListFindIndexAsync',
2252
+ description: '返回列表中第一个符合条件的项的索引值',
2253
+ params: [
2254
+ new Param({
2255
+ name: 'list',
2256
+ description: '指定列表',
2257
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2258
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2259
+ }),
2260
+ }),
2261
+ new Param({
2262
+ name: 'by',
2263
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
2264
+ defaultExpression: new AnonymousFunction({
2265
+ params: [
2266
+ new Param({
2267
+ name: 'item',
2268
+ typeAnnotation: null,
2269
+ }),
2270
+ ],
2271
+ }),
2272
+ }),
2273
+ ],
2274
+ returns: [
2275
+ new Return({
2276
+ typeAnnotation: TypeAnnotation.createPrimitive('Long'),
2277
+ }),
2278
+ ],
2279
+ }),
2280
+ new Function({
2281
+ name: 'ListDistinctByAsync',
2282
+ description: '按某个属性为列表去除重复项。返回去除重复项后的列表',
2283
+ params: [
2284
+ new Param({
2285
+ name: 'list',
2286
+ description: '指定列表',
2287
+ }),
2288
+ new Param({
2289
+ name: 'by',
2290
+ description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
2291
+ defaultExpression: new AnonymousFunction({
2292
+ params: [
2293
+ new Param({
2294
+ name: 'item',
2295
+ description: '是否忽略大小写',
2296
+ typeAnnotation: null,
2297
+ }),
2298
+ ],
2299
+ body: new Identifier(),
2300
+ }),
2301
+ }),
2302
+ ],
2303
+ returns: [new Return({
2304
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2305
+ typeArguments: [
2306
+ TypeAnnotation.createTypeParam('T'),
2307
+ ],
2308
+ }),
2309
+ })],
2310
+ }),
2311
+ new Function({
2312
+ name: 'ListGroupByAsync',
2313
+ description: '按某个属性为列表分组。以选中的属性为 key 建立 Map 并返回。',
2314
+ params: [
2315
+ new Param({
2316
+ name: 'list',
2317
+ description: '指定列表',
2318
+ }),
2319
+ new Param({
2320
+ name: 'by',
2321
+ description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
2322
+ defaultExpression: new AnonymousFunction({
2323
+ params: [
2324
+ new Param({
2325
+ name: 'item',
2326
+ description: '是否忽略大小写',
2327
+ typeAnnotation: null,
2328
+ }),
2329
+ ],
2330
+ body: new Identifier(),
2331
+ }),
2332
+ }),
2333
+ ],
2334
+ returns: [new Return({
2335
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
2336
+ typeArguments: [
2337
+ TypeAnnotation.createTypeParam('K'),
2338
+ TypeAnnotation.createGeneric('List', {
2339
+ typeArguments: [TypeAnnotation.createTypeParam('A')],
2340
+ }),
2341
+ ],
2342
+ }),
2343
+ })],
2344
+ }),
2345
+ new Function({
2346
+ name: 'ListTransformAsync',
2347
+ description: '对列表的每一项调用函数 by,得到新项;返回新项构成的列表',
2348
+ params: [
2349
+ new Param({
2350
+ name: 'list',
2351
+ description: '指定列表',
2352
+ }),
2353
+ new Param({
2354
+ name: 'by',
2355
+ description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
2356
+ defaultExpression: new AnonymousFunction({
2357
+ params: [
2358
+ new Param({
2359
+ name: 'item',
2360
+ typeAnnotation: null,
2361
+ }),
2362
+ ],
2363
+ }),
2364
+ }),
2365
+ ],
2366
+ returns: [
2367
+ new Return({
2368
+ typeAnnotation: TypeAnnotation.createGeneric('List', {
2369
+ typeArguments: [TypeAnnotation.createTypeParam('T')],
2370
+ }),
2371
+ }),
2372
+ ],
2373
+ }),
2374
+ new Function({
2375
+ name: 'MapFilterAsync',
2376
+ description: '在指定Map中过滤出符合条件参数的Map列表',
2377
+ params: [
2378
+ new Param({
2379
+ name: 'map',
2380
+ description: '指定映射',
2381
+ }),
2382
+ new Param({
2383
+ name: 'by',
2384
+ description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
2385
+ defaultExpression: new AnonymousFunction({
2386
+ params: [
2387
+ new Param({
2388
+ name: 'key',
2389
+ typeAnnotation: null,
2390
+ }),
2391
+ new Param({
2392
+ name: 'value',
2393
+ typeAnnotation: null,
2394
+ }),
2395
+ ],
2396
+ }),
2397
+ }),
2398
+ ],
2399
+ returns: [
2400
+ new Return({
2401
+ typeAnnotation: TypeAnnotation.createGeneric('map', {
2402
+ typeArguments: [
2403
+ TypeAnnotation.createTypeParam('K'),
2404
+ TypeAnnotation.createTypeParam('V'),
2405
+ ],
2406
+ }),
2407
+ }),
2408
+ ],
2409
+ }),
2410
+ new Function({
2411
+ name: 'MapTransformAsync',
2412
+ description: '对 Map 的每一项调用函数 by,得到新项,并返回新项构成的 Map。(Map 的每一项从 (K0, V0) 变为 (K, V)。)',
2413
+ params: [
2414
+ new Param({
2415
+ name: 'map',
2416
+ description: '指定映射',
2417
+ }),
2418
+ new Param({
2419
+ name: 'by',
2420
+ description: `指定映射中键值对的参数处理方式,支持算数运算和比较运算`,
2421
+ defaultExpression: new AnonymousFunction({
2422
+ params: [
2423
+ new Param({
2424
+ name: 'key',
2425
+ typeAnnotation: null,
2426
+ }),
2427
+ new Param({
2428
+ name: 'value',
2429
+ typeAnnotation: null,
2430
+ }),
2431
+ ],
2432
+ body: new Identifier({
2433
+ name: 'key',
2434
+ }),
2435
+ }),
2436
+ }),
2437
+ new Param({
2438
+ name: 'byVal',
2439
+ defaultExpression: new AnonymousFunction({
2440
+ params: [
2441
+ new Param({
2442
+ name: 'key',
2443
+ typeAnnotation: null,
2444
+ }),
2445
+ new Param({
2446
+ name: 'value',
2447
+ typeAnnotation: null,
2448
+ }),
2449
+ ],
2450
+ }),
2451
+ }),
2452
+ ],
2453
+ returns: [
2454
+ new Return({
2455
+ typeAnnotation: TypeAnnotation.createGeneric('Map', {
2456
+ typeArguments: [TypeAnnotation.createTypeParam('K'), TypeAnnotation.createTypeParam('V')],
2457
+ }),
2458
+ }),
2459
+ ],
2460
+ }),
2461
+ new Function({
2462
+ name: 'ListToMapAsync',
2463
+ description: '选取列表项的某些属性,根据这些属性将列表变为 Map 并返回',
2464
+ params: [
2465
+ new Param({
2466
+ name: 'list',
2467
+ description: '指定列表',
2468
+ }),
2469
+ new Param({
2470
+ name: 'by',
2471
+ description: `根据项的属性及其本身进行key和value的定义`,
2472
+ defaultExpression: new AnonymousFunction({
2473
+ params: [
2474
+ new Param({
2475
+ name: 'item',
2476
+ typeAnnotation: null,
2477
+ }),
2478
+ ],
2479
+ body: new Identifier(),
2480
+ }),
2481
+ }),
2482
+ new Param({
2483
+ name: 'byVal',
2484
+ defaultExpression: new AnonymousFunction({
2485
+ params: [
2486
+ new Param({
2487
+ name: 'item',
2488
+ typeAnnotation: null,
2489
+ }),
2490
+ ],
2491
+ body: new Identifier(),
2492
+ }),
2493
+ }),
2494
+ ],
2495
+ }),
2496
+ ];
2497
+ logics.forEach((logic) => utilNamespace.addLogic(logic));
2498
+ functions.forEach((func) => utilNamespace.addFunction(func));
2499
+ }
2500
+ exports.initialize = initialize;
2501
+ //# sourceMappingURL=nasl.util.js.map