@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,1256 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
19
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
21
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ };
24
+ var __importStar = (this && this.__importStar) || function (mod) {
25
+ if (mod && mod.__esModule) return mod;
26
+ var result = {};
27
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
28
+ __setModuleDefault(result, mod);
29
+ return result;
30
+ };
31
+ var __importDefault = (this && this.__importDefault) || function (mod) {
32
+ return (mod && mod.__esModule) ? mod : { "default": mod };
33
+ };
34
+ var Namespace_1;
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.Namespace = void 0;
37
+ const decorators_1 = require("../decorators");
38
+ const decorators_2 = require("../decorators");
39
+ const utils = __importStar(require("../utils"));
40
+ const asserts = __importStar(require("./utils/asserts"));
41
+ const BaseNode_1 = __importDefault(require("../common/BaseNode"));
42
+ /**
43
+ * 命名空间
44
+ */
45
+ let Namespace = class Namespace extends BaseNode_1.default {
46
+ static { Namespace_1 = this; }
47
+ /** 类名 */
48
+ static { this.ConceptName = 'Namespace'; }
49
+ /**
50
+ * 是否为抽象类
51
+ * 抽象类不能产生 concept: string
52
+ */
53
+ static { this.isAbstract = false; }
54
+ /** 继承链 */
55
+ static { this.inheritanceChain = ['BaseNode']; }
56
+ /**
57
+ * @param source 需要合并的部分参数
58
+ */
59
+ constructor(source) {
60
+ source = Object.assign({}, Namespace_1.getDefaultOptions(), source);
61
+ super(source);
62
+ /**
63
+ * 命名空间名称
64
+ */
65
+ this.name = '';
66
+ /**
67
+ * 命名空间列表
68
+ */
69
+ this.children = [];
70
+ /**
71
+ * 流程列表
72
+ */
73
+ this.processes = [];
74
+ /**
75
+ * 流程列表
76
+ */
77
+ this.processV2s = [];
78
+ /**
79
+ * 数据结构列表
80
+ */
81
+ this.structures = [];
82
+ /**
83
+ * 枚举列表
84
+ */
85
+ this.enums = [];
86
+ /**
87
+ * 逻辑列表
88
+ */
89
+ this.logics = [];
90
+ /**
91
+ * 函数列表
92
+ */
93
+ this.functions = [];
94
+ /**
95
+ * 接口列表
96
+ */
97
+ this.interfaces = [];
98
+ /**
99
+ * 页面列表
100
+ */
101
+ this.views = [];
102
+ /**
103
+ * 变量列表
104
+ */
105
+ this.frontendVariables = [];
106
+ /**
107
+ * 变量列表
108
+ */
109
+ this.variables = [];
110
+ /**
111
+ * 页面组件列表
112
+ */
113
+ this.viewComponents = [];
114
+ /**
115
+ * 流程组件列表
116
+ */
117
+ this.processComponents = [];
118
+ this.path = undefined;
119
+ super.subConstructor(source);
120
+ }
121
+ static from(source, parentNode, parentKey) {
122
+ return super.from(source, parentNode, parentKey);
123
+ }
124
+ getNamespaceExistingNames(excludedList = []) {
125
+ const excludedSet = new Set(excludedList);
126
+ return (this.children || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
127
+ }
128
+ getNamespaceUniqueName(name = 'namespace1') {
129
+ return utils.unique(name, this.getNamespaceExistingNames(), undefined, false);
130
+ }
131
+ _insertNamespaceAt(options, index) {
132
+ const namespaceOptions = {};
133
+ const relationOptions = { parentNode: this, parentKey: 'children' };
134
+ const Namespace = (0, decorators_2.getConceptConstructor)('Namespace');
135
+ let namespace;
136
+ if (!options) {
137
+ namespace = Namespace.from({
138
+ ...namespaceOptions,
139
+ name: this.getNamespaceUniqueName(),
140
+ }, this, 'children');
141
+ }
142
+ else if (typeof options === 'string') {
143
+ namespace = Namespace.from({
144
+ ...namespaceOptions,
145
+ name: options,
146
+ }, this, 'children');
147
+ }
148
+ else if (asserts.isNamespace(options)) {
149
+ options.ensureDelete(); // 同一实例不支持多处存在
150
+ namespace = options;
151
+ Object.assign(namespace, relationOptions);
152
+ }
153
+ else {
154
+ namespace = Namespace.from({
155
+ ...namespaceOptions,
156
+ ...options,
157
+ }, this, 'children');
158
+ }
159
+ this.children.splice(index, 0, namespace);
160
+ return namespace;
161
+ }
162
+ insertNamespaceAt(options, index) {
163
+ const node = this._insertNamespaceAt(options, index);
164
+ node.create({
165
+ index,
166
+ parentNode: this,
167
+ parentKey: 'children',
168
+ });
169
+ return node;
170
+ }
171
+ _addNamespace(options) {
172
+ const index = this.children.length;
173
+ return this._insertNamespaceAt(options, index);
174
+ }
175
+ addNamespace(options) {
176
+ const node = this._addNamespace(options);
177
+ const index = this.children.indexOf(node);
178
+ node.create({
179
+ index,
180
+ parentNode: this,
181
+ parentKey: 'children',
182
+ });
183
+ return node;
184
+ }
185
+ getProcessExistingNames(excludedList = []) {
186
+ const excludedSet = new Set(excludedList);
187
+ return (this.processes || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
188
+ }
189
+ getProcessUniqueName(name = 'Process1') {
190
+ return utils.unique(name, this.getProcessExistingNames(), undefined, false);
191
+ }
192
+ _insertProcessAt(options, index) {
193
+ const processOptions = {};
194
+ const relationOptions = { parentNode: this, parentKey: 'processes' };
195
+ const Process = (0, decorators_2.getConceptConstructor)('Process');
196
+ let process;
197
+ if (!options) {
198
+ process = Process.from({
199
+ ...processOptions,
200
+ name: this.getProcessUniqueName(),
201
+ }, this, 'processes');
202
+ }
203
+ else if (typeof options === 'string') {
204
+ process = Process.from({
205
+ ...processOptions,
206
+ name: options,
207
+ }, this, 'processes');
208
+ }
209
+ else if (asserts.isProcess(options)) {
210
+ options.ensureDelete(); // 同一实例不支持多处存在
211
+ process = options;
212
+ Object.assign(process, relationOptions);
213
+ }
214
+ else {
215
+ process = Process.from({
216
+ ...processOptions,
217
+ ...options,
218
+ }, this, 'processes');
219
+ }
220
+ this.processes.splice(index, 0, process);
221
+ return process;
222
+ }
223
+ insertProcessAt(options, index) {
224
+ const node = this._insertProcessAt(options, index);
225
+ node.create({
226
+ index,
227
+ parentNode: this,
228
+ parentKey: 'processes',
229
+ });
230
+ return node;
231
+ }
232
+ _addProcess(options) {
233
+ const index = 0;
234
+ return this._insertProcessAt(options, index);
235
+ }
236
+ addProcess(options) {
237
+ const node = this._addProcess(options);
238
+ const index = this.processes.indexOf(node);
239
+ node.create({
240
+ index,
241
+ parentNode: this,
242
+ parentKey: 'processes',
243
+ });
244
+ return node;
245
+ }
246
+ getProcessV2ExistingNames(excludedList = []) {
247
+ const excludedSet = new Set(excludedList);
248
+ return (this.processV2s || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
249
+ }
250
+ getProcessV2UniqueName(name = 'Process1') {
251
+ return utils.unique(name, this.getProcessV2ExistingNames(), undefined, false);
252
+ }
253
+ _insertProcessV2At(options, index) {
254
+ const processV2Options = {};
255
+ const relationOptions = { parentNode: this, parentKey: 'processV2s' };
256
+ const ProcessV2 = (0, decorators_2.getConceptConstructor)('ProcessV2');
257
+ let processV2;
258
+ if (!options) {
259
+ processV2 = ProcessV2.from({
260
+ ...processV2Options,
261
+ name: this.getProcessV2UniqueName(),
262
+ }, this, 'processV2s');
263
+ }
264
+ else if (typeof options === 'string') {
265
+ processV2 = ProcessV2.from({
266
+ ...processV2Options,
267
+ name: options,
268
+ }, this, 'processV2s');
269
+ }
270
+ else if (asserts.isProcessV2(options)) {
271
+ options.ensureDelete(); // 同一实例不支持多处存在
272
+ processV2 = options;
273
+ Object.assign(processV2, relationOptions);
274
+ }
275
+ else {
276
+ processV2 = ProcessV2.from({
277
+ ...processV2Options,
278
+ ...options,
279
+ }, this, 'processV2s');
280
+ }
281
+ this.processV2s.splice(index, 0, processV2);
282
+ return processV2;
283
+ }
284
+ insertProcessV2At(options, index) {
285
+ const node = this._insertProcessV2At(options, index);
286
+ node.create({
287
+ index,
288
+ parentNode: this,
289
+ parentKey: 'processV2s',
290
+ });
291
+ return node;
292
+ }
293
+ _addProcessV2(options) {
294
+ const index = 0;
295
+ return this._insertProcessV2At(options, index);
296
+ }
297
+ addProcessV2(options) {
298
+ const node = this._addProcessV2(options);
299
+ const index = this.processV2s.indexOf(node);
300
+ node.create({
301
+ index,
302
+ parentNode: this,
303
+ parentKey: 'processV2s',
304
+ });
305
+ return node;
306
+ }
307
+ getStructureExistingNames(excludedList = []) {
308
+ const excludedSet = new Set(excludedList);
309
+ return (this.structures || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
310
+ }
311
+ getStructureUniqueName(name = 'Structure1') {
312
+ return utils.unique(name, this.getStructureExistingNames(), undefined, false);
313
+ }
314
+ _insertStructureAt(options, index) {
315
+ const structureOptions = {};
316
+ const relationOptions = { parentNode: this, parentKey: 'structures' };
317
+ const Structure = (0, decorators_2.getConceptConstructor)('Structure');
318
+ let structure;
319
+ if (!options) {
320
+ structure = Structure.from({
321
+ ...structureOptions,
322
+ name: this.getStructureUniqueName(),
323
+ }, this, 'structures');
324
+ }
325
+ else if (typeof options === 'string') {
326
+ structure = Structure.from({
327
+ ...structureOptions,
328
+ name: options,
329
+ }, this, 'structures');
330
+ }
331
+ else if (asserts.isStructure(options)) {
332
+ options.ensureDelete(); // 同一实例不支持多处存在
333
+ structure = options;
334
+ Object.assign(structure, relationOptions);
335
+ }
336
+ else {
337
+ structure = Structure.from({
338
+ ...structureOptions,
339
+ ...options,
340
+ }, this, 'structures');
341
+ }
342
+ this.structures.splice(index, 0, structure);
343
+ return structure;
344
+ }
345
+ insertStructureAt(options, index) {
346
+ const node = this._insertStructureAt(options, index);
347
+ node.create({
348
+ index,
349
+ parentNode: this,
350
+ parentKey: 'structures',
351
+ });
352
+ return node;
353
+ }
354
+ _addStructure(options) {
355
+ const index = 0;
356
+ return this._insertStructureAt(options, index);
357
+ }
358
+ addStructure(options) {
359
+ const node = this._addStructure(options);
360
+ const index = this.structures.indexOf(node);
361
+ node.create({
362
+ index,
363
+ parentNode: this,
364
+ parentKey: 'structures',
365
+ });
366
+ return node;
367
+ }
368
+ getEnumExistingNames(excludedList = []) {
369
+ const excludedSet = new Set(excludedList);
370
+ return (this.enums || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
371
+ }
372
+ getEnumUniqueName(name = 'Enum1') {
373
+ return utils.unique(name, this.getEnumExistingNames(), undefined, false);
374
+ }
375
+ _insertEnumAt(options, index) {
376
+ const enumerationOptions = {};
377
+ const relationOptions = { parentNode: this, parentKey: 'enums' };
378
+ const Enum = (0, decorators_2.getConceptConstructor)('Enum');
379
+ let enumeration;
380
+ if (!options) {
381
+ enumeration = Enum.from({
382
+ ...enumerationOptions,
383
+ name: this.getEnumUniqueName(),
384
+ }, this, 'enums');
385
+ }
386
+ else if (typeof options === 'string') {
387
+ enumeration = Enum.from({
388
+ ...enumerationOptions,
389
+ name: options,
390
+ }, this, 'enums');
391
+ }
392
+ else if (asserts.isEnum(options)) {
393
+ options.ensureDelete(); // 同一实例不支持多处存在
394
+ enumeration = options;
395
+ Object.assign(enumeration, relationOptions);
396
+ }
397
+ else {
398
+ enumeration = Enum.from({
399
+ ...enumerationOptions,
400
+ ...options,
401
+ }, this, 'enums');
402
+ }
403
+ this.enums.splice(index, 0, enumeration);
404
+ return enumeration;
405
+ }
406
+ insertEnumAt(options, index) {
407
+ const node = this._insertEnumAt(options, index);
408
+ node.create({
409
+ index,
410
+ parentNode: this,
411
+ parentKey: 'enums',
412
+ });
413
+ return node;
414
+ }
415
+ _addEnum(options) {
416
+ const index = 0;
417
+ return this._insertEnumAt(options, index);
418
+ }
419
+ addEnum(options) {
420
+ const node = this._addEnum(options);
421
+ const index = this.enums.indexOf(node);
422
+ node.create({
423
+ index,
424
+ parentNode: this,
425
+ parentKey: 'enums',
426
+ });
427
+ return node;
428
+ }
429
+ getLogicExistingNames(excludedList = []) {
430
+ const excludedSet = new Set(excludedList);
431
+ return (this.logics || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
432
+ }
433
+ getLogicUniqueName(name = 'logic1') {
434
+ return utils.unique(name, this.getLogicExistingNames(), undefined, false);
435
+ }
436
+ _insertLogicAt(options, index) {
437
+ const logicOptions = {};
438
+ const relationOptions = { parentNode: this, parentKey: 'logics' };
439
+ const Logic = (0, decorators_2.getConceptConstructor)('Logic');
440
+ let logic;
441
+ if (!options) {
442
+ logic = Logic.from({
443
+ ...logicOptions,
444
+ name: this.getLogicUniqueName(),
445
+ }, this, 'logics');
446
+ }
447
+ else if (typeof options === 'string') {
448
+ logic = Logic.from({
449
+ ...logicOptions,
450
+ name: options,
451
+ }, this, 'logics');
452
+ }
453
+ else if (asserts.isLogic(options)) {
454
+ options.ensureDelete(); // 同一实例不支持多处存在
455
+ logic = options;
456
+ Object.assign(logic, relationOptions);
457
+ }
458
+ else {
459
+ logic = Logic.from({
460
+ ...logicOptions,
461
+ ...options,
462
+ }, this, 'logics');
463
+ }
464
+ this.logics.splice(index, 0, logic);
465
+ return logic;
466
+ }
467
+ insertLogicAt(options, index) {
468
+ const node = this._insertLogicAt(options, index);
469
+ node.create({
470
+ index,
471
+ parentNode: this,
472
+ parentKey: 'logics',
473
+ });
474
+ return node;
475
+ }
476
+ _addLogic(options) {
477
+ const index = 0;
478
+ return this._insertLogicAt(options, index);
479
+ }
480
+ addLogic(options) {
481
+ const node = this._addLogic(options);
482
+ const index = this.logics.indexOf(node);
483
+ node.create({
484
+ index,
485
+ parentNode: this,
486
+ parentKey: 'logics',
487
+ });
488
+ return node;
489
+ }
490
+ getFunctionExistingNames(excludedList = []) {
491
+ const excludedSet = new Set(excludedList);
492
+ return (this.functions || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
493
+ }
494
+ getFunctionUniqueName(name = 'func1') {
495
+ return utils.unique(name, this.getFunctionExistingNames(), undefined, false);
496
+ }
497
+ _insertFunctionAt(options, index) {
498
+ const funcOptions = {};
499
+ const relationOptions = { parentNode: this, parentKey: 'functions' };
500
+ const Function = (0, decorators_2.getConceptConstructor)('Function');
501
+ let func;
502
+ if (!options) {
503
+ func = Function.from({
504
+ ...funcOptions,
505
+ name: this.getFunctionUniqueName(),
506
+ }, this, 'functions');
507
+ }
508
+ else if (typeof options === 'string') {
509
+ func = Function.from({
510
+ ...funcOptions,
511
+ name: options,
512
+ }, this, 'functions');
513
+ }
514
+ else if (asserts.isFunction(options)) {
515
+ options.ensureDelete(); // 同一实例不支持多处存在
516
+ func = options;
517
+ Object.assign(func, relationOptions);
518
+ }
519
+ else {
520
+ func = Function.from({
521
+ ...funcOptions,
522
+ ...options,
523
+ }, this, 'functions');
524
+ }
525
+ this.functions.splice(index, 0, func);
526
+ return func;
527
+ }
528
+ insertFunctionAt(options, index) {
529
+ const node = this._insertFunctionAt(options, index);
530
+ node.create({
531
+ index,
532
+ parentNode: this,
533
+ parentKey: 'functions',
534
+ });
535
+ return node;
536
+ }
537
+ _addFunction(options) {
538
+ const index = 0;
539
+ return this._insertFunctionAt(options, index);
540
+ }
541
+ addFunction(options) {
542
+ const node = this._addFunction(options);
543
+ const index = this.functions.indexOf(node);
544
+ node.create({
545
+ index,
546
+ parentNode: this,
547
+ parentKey: 'functions',
548
+ });
549
+ return node;
550
+ }
551
+ getInterfaceExistingNames(excludedList = []) {
552
+ const excludedSet = new Set(excludedList);
553
+ return (this.interfaces || [])
554
+ .filter((item) => !excludedSet.has(item))
555
+ .map((item) => item.name);
556
+ }
557
+ getInterfaceUniqueName(name = 'Interface1') {
558
+ return utils.unique(name, this.getInterfaceExistingNames(), undefined, false);
559
+ }
560
+ _insertInterfaceAt(options, index) {
561
+ const itfaceOptions = {};
562
+ const relationOptions = { parentNode: this, parentKey: 'interfaces' };
563
+ const AbstractInterface = (0, decorators_2.getConceptConstructor)('AbstractInterface');
564
+ let itface;
565
+ if (!options) {
566
+ itface = AbstractInterface.from({
567
+ ...itfaceOptions,
568
+ name: this.getInterfaceUniqueName(),
569
+ }, this, 'interfaces');
570
+ }
571
+ else if (typeof options === 'string') {
572
+ itface = AbstractInterface.from({
573
+ ...itfaceOptions,
574
+ name: options,
575
+ }, this, 'interfaces');
576
+ }
577
+ else if (asserts.isAbstractInterface(options)) {
578
+ options.ensureDelete(); // 同一实例不支持多处存在
579
+ itface = options;
580
+ Object.assign(itface, relationOptions);
581
+ }
582
+ else {
583
+ itface = AbstractInterface.from({
584
+ ...itfaceOptions,
585
+ ...options,
586
+ }, this, 'interfaces');
587
+ }
588
+ this.interfaces.splice(index, 0, itface);
589
+ return itface;
590
+ }
591
+ insertInterfaceAt(options, index) {
592
+ const node = this._insertInterfaceAt(options, index);
593
+ node.create({
594
+ index,
595
+ parentNode: this,
596
+ parentKey: 'interfaces',
597
+ });
598
+ return node;
599
+ }
600
+ _addInterface(options) {
601
+ const index = 0;
602
+ return this._insertInterfaceAt(options, index);
603
+ }
604
+ addInterface(options) {
605
+ const node = this._addInterface(options);
606
+ const index = this.interfaces.indexOf(node);
607
+ node.create({
608
+ index,
609
+ parentNode: this,
610
+ parentKey: 'interfaces',
611
+ });
612
+ return node;
613
+ }
614
+ getViewExistingNames(excludedList = []) {
615
+ const excludedSet = new Set(excludedList);
616
+ return (this.views || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
617
+ }
618
+ getViewUniqueName(name = 'view1') {
619
+ return utils.unique(name, this.getViewExistingNames(), undefined, false);
620
+ }
621
+ _insertViewAt(options, index) {
622
+ const viewOptions = {};
623
+ const relationOptions = { parentNode: this, parentKey: 'views' };
624
+ const View = (0, decorators_2.getConceptConstructor)('View');
625
+ let view;
626
+ if (!options) {
627
+ view = View.from({
628
+ ...viewOptions,
629
+ name: this.getViewUniqueName(),
630
+ }, this, 'views');
631
+ }
632
+ else if (typeof options === 'string') {
633
+ view = View.from({
634
+ ...viewOptions,
635
+ name: options,
636
+ }, this, 'views');
637
+ }
638
+ else if (asserts.isView(options)) {
639
+ options.ensureDelete(); // 同一实例不支持多处存在
640
+ view = options;
641
+ Object.assign(view, relationOptions);
642
+ }
643
+ else {
644
+ view = View.from({
645
+ ...viewOptions,
646
+ ...options,
647
+ }, this, 'views');
648
+ }
649
+ this.views.splice(index, 0, view);
650
+ return view;
651
+ }
652
+ insertViewAt(options, index) {
653
+ const node = this._insertViewAt(options, index);
654
+ node.create({
655
+ index,
656
+ parentNode: this,
657
+ parentKey: 'views',
658
+ });
659
+ return node;
660
+ }
661
+ _addView(options) {
662
+ const index = this.views.length;
663
+ return this._insertViewAt(options, index);
664
+ }
665
+ addView(options) {
666
+ const node = this._addView(options);
667
+ const index = this.views.indexOf(node);
668
+ node.create({
669
+ index,
670
+ parentNode: this,
671
+ parentKey: 'views',
672
+ });
673
+ return node;
674
+ }
675
+ getVarExistingNames(excludedList = []) {
676
+ const excludedSet = new Set(excludedList);
677
+ return (this.frontendVariables || [])
678
+ .filter((item) => !excludedSet.has(item))
679
+ .map((item) => item.name);
680
+ }
681
+ getVariableUniqueName(name = 'variable1') {
682
+ return utils.unique(name, this.getVarExistingNames(), undefined, true);
683
+ }
684
+ _insertVariableInFrontendVariablesAt(options, index) {
685
+ const variableOptions = {};
686
+ const relationOptions = { parentNode: this, parentKey: 'frontendVariables' };
687
+ const Variable = (0, decorators_2.getConceptConstructor)('Variable');
688
+ let variable;
689
+ if (!options) {
690
+ variable = Variable.from({
691
+ ...variableOptions,
692
+ name: this.getVariableUniqueName(),
693
+ }, this, 'frontendVariables');
694
+ }
695
+ else if (typeof options === 'string') {
696
+ variable = Variable.from({
697
+ ...variableOptions,
698
+ name: options,
699
+ }, this, 'frontendVariables');
700
+ }
701
+ else if (asserts.isVariable(options)) {
702
+ options.ensureDelete(); // 同一实例不支持多处存在
703
+ variable = options;
704
+ Object.assign(variable, relationOptions);
705
+ }
706
+ else {
707
+ variable = Variable.from({
708
+ ...variableOptions,
709
+ ...options,
710
+ }, this, 'frontendVariables');
711
+ }
712
+ this.frontendVariables.splice(index, 0, variable);
713
+ return variable;
714
+ }
715
+ insertVariableInFrontendVariablesAt(options, index) {
716
+ const node = this._insertVariableInFrontendVariablesAt(options, index);
717
+ node.create({
718
+ index,
719
+ parentNode: this,
720
+ parentKey: 'frontendVariables',
721
+ });
722
+ return node;
723
+ }
724
+ _addVariableInFrontendVariables(options) {
725
+ const index = this.frontendVariables.length;
726
+ return this._insertVariableInFrontendVariablesAt(options, index);
727
+ }
728
+ addVariableInFrontendVariables(options) {
729
+ const node = this._addVariableInFrontendVariables(options);
730
+ const index = this.frontendVariables.indexOf(node);
731
+ node.create({
732
+ index,
733
+ parentNode: this,
734
+ parentKey: 'frontendVariables',
735
+ });
736
+ return node;
737
+ }
738
+ _insertVariableInVariablesAt(options, index) {
739
+ const variableOptions = {};
740
+ const relationOptions = { parentNode: this, parentKey: 'variables' };
741
+ const Variable = (0, decorators_2.getConceptConstructor)('Variable');
742
+ let variable;
743
+ if (!options) {
744
+ variable = Variable.from({
745
+ ...variableOptions,
746
+ name: this.getVariableUniqueName(),
747
+ }, this, 'variables');
748
+ }
749
+ else if (typeof options === 'string') {
750
+ variable = Variable.from({
751
+ ...variableOptions,
752
+ name: options,
753
+ }, this, 'variables');
754
+ }
755
+ else if (asserts.isVariable(options)) {
756
+ options.ensureDelete(); // 同一实例不支持多处存在
757
+ variable = options;
758
+ Object.assign(variable, relationOptions);
759
+ }
760
+ else {
761
+ variable = Variable.from({
762
+ ...variableOptions,
763
+ ...options,
764
+ }, this, 'variables');
765
+ }
766
+ this.variables.splice(index, 0, variable);
767
+ return variable;
768
+ }
769
+ insertVariableInVariablesAt(options, index) {
770
+ const node = this._insertVariableInVariablesAt(options, index);
771
+ node.create({
772
+ index,
773
+ parentNode: this,
774
+ parentKey: 'variables',
775
+ });
776
+ return node;
777
+ }
778
+ _addVariableInVariables(options) {
779
+ const index = this.variables.length;
780
+ return this._insertVariableInVariablesAt(options, index);
781
+ }
782
+ addVariableInVariables(options) {
783
+ const node = this._addVariableInVariables(options);
784
+ const index = this.variables.indexOf(node);
785
+ node.create({
786
+ index,
787
+ parentNode: this,
788
+ parentKey: 'variables',
789
+ });
790
+ return node;
791
+ }
792
+ getViewComponentDeclarationExistingNames(excludedList = []) {
793
+ const excludedSet = new Set(excludedList);
794
+ return (this.viewComponents || [])
795
+ .filter((item) => !excludedSet.has(item))
796
+ .map((item) => item.name);
797
+ }
798
+ getViewComponentDeclarationUniqueName(name = 'viewComponentDeclaration1') {
799
+ return utils.unique(name, this.getViewComponentDeclarationExistingNames(), undefined, false);
800
+ }
801
+ _insertViewComponentDeclarationAt(options, index) {
802
+ const viewComponentDeclarationOptions = {};
803
+ const relationOptions = { parentNode: this, parentKey: 'viewComponents' };
804
+ const ViewComponentDeclaration = (0, decorators_2.getConceptConstructor)('ViewComponentDeclaration');
805
+ let viewComponentDeclaration;
806
+ if (!options) {
807
+ viewComponentDeclaration = ViewComponentDeclaration.from({
808
+ ...viewComponentDeclarationOptions,
809
+ name: this.getViewComponentDeclarationUniqueName(),
810
+ }, this, 'viewComponents');
811
+ }
812
+ else if (typeof options === 'string') {
813
+ viewComponentDeclaration = ViewComponentDeclaration.from({
814
+ ...viewComponentDeclarationOptions,
815
+ name: options,
816
+ }, this, 'viewComponents');
817
+ }
818
+ else if (asserts.isViewComponentDeclaration(options)) {
819
+ options.ensureDelete(); // 同一实例不支持多处存在
820
+ viewComponentDeclaration = options;
821
+ Object.assign(viewComponentDeclaration, relationOptions);
822
+ }
823
+ else {
824
+ viewComponentDeclaration = ViewComponentDeclaration.from({
825
+ ...viewComponentDeclarationOptions,
826
+ ...options,
827
+ }, this, 'viewComponents');
828
+ }
829
+ this.viewComponents.splice(index, 0, viewComponentDeclaration);
830
+ return viewComponentDeclaration;
831
+ }
832
+ insertViewComponentDeclarationAt(options, index) {
833
+ const node = this._insertViewComponentDeclarationAt(options, index);
834
+ node.create({
835
+ index,
836
+ parentNode: this,
837
+ parentKey: 'viewComponents',
838
+ });
839
+ return node;
840
+ }
841
+ _addViewComponentDeclaration(options) {
842
+ const index = this.viewComponents.length;
843
+ return this._insertViewComponentDeclarationAt(options, index);
844
+ }
845
+ addViewComponentDeclaration(options) {
846
+ const node = this._addViewComponentDeclaration(options);
847
+ const index = this.viewComponents.indexOf(node);
848
+ node.create({
849
+ index,
850
+ parentNode: this,
851
+ parentKey: 'viewComponents',
852
+ });
853
+ return node;
854
+ }
855
+ getProcessComponentExistingNames(excludedList = []) {
856
+ const excludedSet = new Set(excludedList);
857
+ return (this.processComponents || [])
858
+ .filter((item) => !excludedSet.has(item))
859
+ .map((item) => item.name);
860
+ }
861
+ getProcessComponentUniqueName(name = 'processComponent1') {
862
+ return utils.unique(name, this.getProcessComponentExistingNames(), undefined, false);
863
+ }
864
+ _insertProcessComponentAt(options, index) {
865
+ const processComponentOptions = {};
866
+ const relationOptions = { parentNode: this, parentKey: 'processComponents' };
867
+ const ProcessComponent = (0, decorators_2.getConceptConstructor)('ProcessComponent');
868
+ let processComponent;
869
+ if (!options) {
870
+ processComponent = ProcessComponent.from({
871
+ ...processComponentOptions,
872
+ name: this.getProcessComponentUniqueName(),
873
+ }, this, 'processComponents');
874
+ }
875
+ else if (typeof options === 'string') {
876
+ processComponent = ProcessComponent.from({
877
+ ...processComponentOptions,
878
+ name: options,
879
+ }, this, 'processComponents');
880
+ }
881
+ else if (asserts.isProcessComponent(options)) {
882
+ options.ensureDelete(); // 同一实例不支持多处存在
883
+ processComponent = options;
884
+ Object.assign(processComponent, relationOptions);
885
+ }
886
+ else {
887
+ processComponent = ProcessComponent.from({
888
+ ...processComponentOptions,
889
+ ...options,
890
+ }, this, 'processComponents');
891
+ }
892
+ this.processComponents.splice(index, 0, processComponent);
893
+ return processComponent;
894
+ }
895
+ insertProcessComponentAt(options, index) {
896
+ const node = this._insertProcessComponentAt(options, index);
897
+ node.create({
898
+ index,
899
+ parentNode: this,
900
+ parentKey: 'processComponents',
901
+ });
902
+ return node;
903
+ }
904
+ _addProcessComponent(options) {
905
+ const index = this.processComponents.length;
906
+ return this._insertProcessComponentAt(options, index);
907
+ }
908
+ addProcessComponent(options) {
909
+ const node = this._addProcessComponent(options);
910
+ const index = this.processComponents.indexOf(node);
911
+ node.create({
912
+ index,
913
+ parentNode: this,
914
+ parentKey: 'processComponents',
915
+ });
916
+ return node;
917
+ }
918
+ removeNamespace(options) {
919
+ let namespace;
920
+ if (typeof options === 'string') {
921
+ namespace = this.children.find((item) => item.name === options);
922
+ if (!namespace) {
923
+ throw new Error('找不到命名空间 ' + options);
924
+ }
925
+ }
926
+ else {
927
+ namespace = options;
928
+ }
929
+ return namespace.delete();
930
+ }
931
+ removeProcess(options) {
932
+ let process;
933
+ if (typeof options === 'string') {
934
+ process = this.processes.find((item) => item.name === options);
935
+ if (!process) {
936
+ throw new Error('找不到流程 ' + options);
937
+ }
938
+ }
939
+ else {
940
+ process = options;
941
+ }
942
+ return process.delete();
943
+ }
944
+ removeProcessV2(options) {
945
+ let processV2;
946
+ if (typeof options === 'string') {
947
+ processV2 = this.processV2s.find((item) => item.name === options);
948
+ if (!processV2) {
949
+ throw new Error('找不到流程 ' + options);
950
+ }
951
+ }
952
+ else {
953
+ processV2 = options;
954
+ }
955
+ return processV2.delete();
956
+ }
957
+ removeStructure(options) {
958
+ let structure;
959
+ if (typeof options === 'string') {
960
+ structure = this.structures.find((item) => item.name === options);
961
+ if (!structure) {
962
+ throw new Error('找不到数据结构 ' + options);
963
+ }
964
+ }
965
+ else {
966
+ structure = options;
967
+ }
968
+ return structure.delete();
969
+ }
970
+ removeEnum(options) {
971
+ let enumeration;
972
+ if (typeof options === 'string') {
973
+ enumeration = this.enums.find((item) => item.name === options);
974
+ if (!enumeration) {
975
+ throw new Error('找不到枚举 ' + options);
976
+ }
977
+ }
978
+ else {
979
+ enumeration = options;
980
+ }
981
+ return enumeration.delete();
982
+ }
983
+ removeLogic(options) {
984
+ let logic;
985
+ if (typeof options === 'string') {
986
+ logic = this.logics.find((item) => item.name === options);
987
+ if (!logic) {
988
+ throw new Error('找不到逻辑 ' + options);
989
+ }
990
+ }
991
+ else {
992
+ logic = options;
993
+ }
994
+ return logic.delete();
995
+ }
996
+ removeFunction(options) {
997
+ let func;
998
+ if (typeof options === 'string') {
999
+ func = this.functions.find((item) => item.name === options);
1000
+ if (!func) {
1001
+ throw new Error('找不到函数 ' + options);
1002
+ }
1003
+ }
1004
+ else {
1005
+ func = options;
1006
+ }
1007
+ return func.delete();
1008
+ }
1009
+ removeInterface(options) {
1010
+ let itface;
1011
+ if (typeof options === 'string') {
1012
+ itface = this.interfaces.find((item) => item.name === options);
1013
+ if (!itface) {
1014
+ throw new Error('找不到接口 ' + options);
1015
+ }
1016
+ }
1017
+ else {
1018
+ itface = options;
1019
+ }
1020
+ return itface.delete();
1021
+ }
1022
+ removeView(options) {
1023
+ let view;
1024
+ if (typeof options === 'string') {
1025
+ view = this.views.find((item) => item.name === options);
1026
+ if (!view) {
1027
+ throw new Error('找不到页面 ' + options);
1028
+ }
1029
+ }
1030
+ else {
1031
+ view = options;
1032
+ }
1033
+ return view.delete();
1034
+ }
1035
+ removeVariableInFrontendVariables(options) {
1036
+ let variable;
1037
+ if (typeof options === 'string') {
1038
+ variable = this.frontendVariables.find((item) => item.name === options);
1039
+ if (!variable) {
1040
+ throw new Error('找不到变量 ' + options);
1041
+ }
1042
+ }
1043
+ else {
1044
+ variable = options;
1045
+ }
1046
+ return variable.delete();
1047
+ }
1048
+ removeVariableInVariables(options) {
1049
+ let variable;
1050
+ if (typeof options === 'string') {
1051
+ variable = this.variables.find((item) => item.name === options);
1052
+ if (!variable) {
1053
+ throw new Error('找不到变量 ' + options);
1054
+ }
1055
+ }
1056
+ else {
1057
+ variable = options;
1058
+ }
1059
+ return variable.delete();
1060
+ }
1061
+ removeViewComponentDeclaration(options) {
1062
+ let viewComponentDeclaration;
1063
+ if (typeof options === 'string') {
1064
+ viewComponentDeclaration = this.viewComponents.find((item) => item.name === options);
1065
+ if (!viewComponentDeclaration) {
1066
+ throw new Error('找不到页面组件 ' + options);
1067
+ }
1068
+ }
1069
+ else {
1070
+ viewComponentDeclaration = options;
1071
+ }
1072
+ return viewComponentDeclaration.delete();
1073
+ }
1074
+ removeProcessComponent(options) {
1075
+ let processComponent;
1076
+ if (typeof options === 'string') {
1077
+ processComponent = this.processComponents.find((item) => item.name === options);
1078
+ if (!processComponent) {
1079
+ throw new Error('找不到流程组件 ' + options);
1080
+ }
1081
+ }
1082
+ else {
1083
+ processComponent = options;
1084
+ }
1085
+ return processComponent.delete();
1086
+ }
1087
+ //================================================================================
1088
+ // ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
1089
+ // 自动生成的代码已结束。下面可以手动编写。
1090
+ //================================================================================
1091
+ findEnumByName(name) {
1092
+ return this.enums.find((enumItem) => enumItem.name === name);
1093
+ }
1094
+ findStructureByName(name) {
1095
+ return this.structures.find((item) => item.name === name);
1096
+ }
1097
+ findLogicByName(name) {
1098
+ return this.logics.find((logic) => logic.name === name);
1099
+ }
1100
+ /**
1101
+ * 获取命名空间
1102
+ */
1103
+ getNamespace() {
1104
+ if (this.path)
1105
+ return this.path;
1106
+ if (this.parentNode.concept === 'Connector') {
1107
+ return `${this.parentNode.getNamespace()}`;
1108
+ }
1109
+ if (this.parentNode && this.parentNode.getNamespace)
1110
+ return `${this.parentNode.getNamespace()}`;
1111
+ throw new Error('无法获取命名空间,请设置 parentNode 或临时的 path!');
1112
+ }
1113
+ /**
1114
+ * 获取命名空间
1115
+ */
1116
+ getTsNamespace() {
1117
+ if (this.path)
1118
+ return this.path;
1119
+ if (this.parentNode.concept === 'Connector') {
1120
+ return `${this.parentNode.getNamespace()}`;
1121
+ }
1122
+ if (this.parentNode && this.parentNode.getNamespace)
1123
+ return `${this.parentNode.getNamespace()}.${this.tsName}`;
1124
+ throw new Error('无法获取命名空间,请设置 parentNode 或临时的 path!');
1125
+ }
1126
+ findChild(name) {
1127
+ return this.children.find((child) => child.name === name);
1128
+ }
1129
+ findLogic(name) {
1130
+ return this.logics.find((logic) => logic.name === name);
1131
+ }
1132
+ getLogicExistingTitles(excludedList = []) {
1133
+ const excludedSet = new Set(excludedList);
1134
+ return (this.logics || []).filter((item) => !excludedSet.has(item)).map((item) => item.title);
1135
+ }
1136
+ };
1137
+ exports.Namespace = Namespace;
1138
+ __decorate([
1139
+ (0, decorators_2.property)()
1140
+ // @ts-ignore
1141
+ ], Namespace.prototype, "concept", void 0);
1142
+ __decorate([
1143
+ (0, decorators_2.property)()
1144
+ ], Namespace.prototype, "originConcept", void 0);
1145
+ __decorate([
1146
+ (0, decorators_2.property)()
1147
+ ], Namespace.prototype, "name", void 0);
1148
+ __decorate([
1149
+ (0, decorators_2.property)()
1150
+ ], Namespace.prototype, "title", void 0);
1151
+ __decorate([
1152
+ (0, decorators_2.property)()
1153
+ ], Namespace.prototype, "description", void 0);
1154
+ __decorate([
1155
+ (0, decorators_2.property)({
1156
+ objectRef: 'Namespace',
1157
+ isArray: true,
1158
+ defaultValue: [],
1159
+ })
1160
+ ], Namespace.prototype, "children", void 0);
1161
+ __decorate([
1162
+ (0, decorators_2.property)({
1163
+ objectRef: 'Process',
1164
+ isArray: true,
1165
+ defaultValue: [],
1166
+ })
1167
+ ], Namespace.prototype, "processes", void 0);
1168
+ __decorate([
1169
+ (0, decorators_2.property)({
1170
+ objectRef: 'ProcessV2',
1171
+ isArray: true,
1172
+ defaultValue: [],
1173
+ })
1174
+ ], Namespace.prototype, "processV2s", void 0);
1175
+ __decorate([
1176
+ (0, decorators_2.property)({
1177
+ objectRef: 'Structure',
1178
+ isArray: true,
1179
+ defaultValue: [],
1180
+ })
1181
+ ], Namespace.prototype, "structures", void 0);
1182
+ __decorate([
1183
+ (0, decorators_2.property)({
1184
+ objectRef: 'Enum',
1185
+ isArray: true,
1186
+ defaultValue: [],
1187
+ })
1188
+ ], Namespace.prototype, "enums", void 0);
1189
+ __decorate([
1190
+ (0, decorators_2.property)({
1191
+ objectRef: 'Logic',
1192
+ isArray: true,
1193
+ defaultValue: [],
1194
+ })
1195
+ ], Namespace.prototype, "logics", void 0);
1196
+ __decorate([
1197
+ (0, decorators_2.property)({
1198
+ objectRef: 'Function',
1199
+ isArray: true,
1200
+ defaultValue: [],
1201
+ })
1202
+ ], Namespace.prototype, "functions", void 0);
1203
+ __decorate([
1204
+ (0, decorators_2.property)({
1205
+ objectRef: 'AbstractInterface',
1206
+ isArray: true,
1207
+ defaultValue: [],
1208
+ })
1209
+ ], Namespace.prototype, "interfaces", void 0);
1210
+ __decorate([
1211
+ (0, decorators_2.property)({
1212
+ objectRef: 'View',
1213
+ isArray: true,
1214
+ defaultValue: [],
1215
+ })
1216
+ ], Namespace.prototype, "views", void 0);
1217
+ __decorate([
1218
+ (0, decorators_2.property)({
1219
+ objectRef: 'Variable',
1220
+ isArray: true,
1221
+ defaultValue: [],
1222
+ })
1223
+ ], Namespace.prototype, "frontendVariables", void 0);
1224
+ __decorate([
1225
+ (0, decorators_2.property)({
1226
+ objectRef: 'Variable',
1227
+ isArray: true,
1228
+ defaultValue: [],
1229
+ })
1230
+ ], Namespace.prototype, "variables", void 0);
1231
+ __decorate([
1232
+ (0, decorators_2.property)({
1233
+ objectRef: 'ViewComponentDeclaration',
1234
+ isArray: true,
1235
+ defaultValue: [],
1236
+ })
1237
+ ], Namespace.prototype, "viewComponents", void 0);
1238
+ __decorate([
1239
+ (0, decorators_2.property)({
1240
+ objectRef: 'ProcessComponent',
1241
+ isArray: true,
1242
+ defaultValue: [],
1243
+ })
1244
+ ], Namespace.prototype, "processComponents", void 0);
1245
+ __decorate([
1246
+ (0, decorators_1.whiteProperty)()
1247
+ ], Namespace.prototype, "path", void 0);
1248
+ exports.Namespace = Namespace = Namespace_1 = __decorate([
1249
+ (0, decorators_2.concept)('命名空间')
1250
+ ], Namespace);
1251
+ exports.default = Namespace;
1252
+ //================================================================================
1253
+ // ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
1254
+ // 自动生成的代码已结束。下面可以手动编写。
1255
+ //================================================================================
1256
+ //# sourceMappingURL=Namespace__.js.map