@seafteam/seaf-archtool-core-plugin-suite 2026.29.0-rc-test.6

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 (298) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +27 -0
  3. package/documentation/arch/aspects.yaml +81 -0
  4. package/documentation/arch/components/browser.yaml +51 -0
  5. package/documentation/arch/components/examples/context.yaml +37 -0
  6. package/documentation/arch/components/examples/order.yaml +92 -0
  7. package/documentation/arch/components/examples/payment.yaml +92 -0
  8. package/documentation/arch/components/examples/root.yaml +42 -0
  9. package/documentation/arch/components/front.yaml +309 -0
  10. package/documentation/arch/components/gitlab.yaml +81 -0
  11. package/documentation/arch/components/plantuml.yaml +57 -0
  12. package/documentation/arch/components/root.yaml +36 -0
  13. package/documentation/arch/components/user.yaml +41 -0
  14. package/documentation/arch/components/web.yaml +39 -0
  15. package/documentation/arch/contexts.yaml +99 -0
  16. package/documentation/arch/forms.yaml +36 -0
  17. package/documentation/arch/namespaces.yaml +43 -0
  18. package/documentation/arch/root.yaml +43 -0
  19. package/documentation/arch/rules.yaml +91 -0
  20. package/documentation/arch/technologies.yaml +84 -0
  21. package/documentation/dochub.yaml +32 -0
  22. package/documentation/docs/conception/archdistrib.puml +38 -0
  23. package/documentation/docs/conception/archeco.puml +11 -0
  24. package/documentation/docs/conception/archeco_proc.puml +29 -0
  25. package/documentation/docs/conception/archver.puml +24 -0
  26. package/documentation/docs/conception/facade.puml +20 -0
  27. package/documentation/docs/conception/introduction.md +144 -0
  28. package/documentation/docs/conception/mindmap.puml +55 -0
  29. package/documentation/docs/conception/root.yaml +66 -0
  30. package/documentation/docs/manual/aspects.md +37 -0
  31. package/documentation/docs/manual/backend/api.yaml +664 -0
  32. package/documentation/docs/manual/backend/search-implementation.md +190 -0
  33. package/documentation/docs/manual/backend/search.yaml +495 -0
  34. package/documentation/docs/manual/clickstream-setup.md +50 -0
  35. package/documentation/docs/manual/components.md +45 -0
  36. package/documentation/docs/manual/config/deployment.md +337 -0
  37. package/documentation/docs/manual/context_source.puml +17 -0
  38. package/documentation/docs/manual/contexts.md +200 -0
  39. package/documentation/docs/manual/datasets.md +120 -0
  40. package/documentation/docs/manual/docs/AI_TABLE_INTEGRATION.md +81 -0
  41. package/documentation/docs/manual/docs/asyncapi.md +63 -0
  42. package/documentation/docs/manual/docs/bpmn.md +122 -0
  43. package/documentation/docs/manual/docs/charts.md +371 -0
  44. package/documentation/docs/manual/docs/docs.md +76 -0
  45. package/documentation/docs/manual/docs/drawio_intro.md +397 -0
  46. package/documentation/docs/manual/docs/editable_table/menu.yaml +5 -0
  47. package/documentation/docs/manual/docs/editable_table/root.yaml +9 -0
  48. package/documentation/docs/manual/docs/editable_table/step_0_base/menu.yaml +6 -0
  49. package/documentation/docs/manual/docs/editable_table/step_0_base/root.yaml +3 -0
  50. package/documentation/docs/manual/docs/editable_table/step_0_base/table.yaml +396 -0
  51. package/documentation/docs/manual/docs/editable_table/step_0_base/template.md +404 -0
  52. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/menu.yaml +5 -0
  53. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/root.yaml +3 -0
  54. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/table.yaml +136 -0
  55. package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/template.md +247 -0
  56. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/pets.yaml +23 -0
  57. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/root.yaml +2 -0
  58. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/menu.yaml +34 -0
  59. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/root.yaml +4 -0
  60. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/table.yaml +36 -0
  61. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_root.md +110 -0
  62. package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_table.md +3 -0
  63. package/documentation/docs/manual/docs/editable_table/step_3_headers/menu.yaml +6 -0
  64. package/documentation/docs/manual/docs/editable_table/step_3_headers/root.yaml +2 -0
  65. package/documentation/docs/manual/docs/editable_table/step_3_headers/template.md +300 -0
  66. package/documentation/docs/manual/docs/editable_table/step_4_editing/data/data.yaml +10 -0
  67. package/documentation/docs/manual/docs/editable_table/step_4_editing/data/root.yaml +2 -0
  68. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/data_column_1.yaml +3 -0
  69. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/root.yaml +2 -0
  70. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/menu.yaml +6 -0
  71. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/root.yaml +4 -0
  72. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/table.yaml +52 -0
  73. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/template.md +117 -0
  74. package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/root.yaml +2 -0
  75. package/documentation/docs/manual/docs/editable_table/step_4_editing/menu.yaml +6 -0
  76. package/documentation/docs/manual/docs/editable_table/step_4_editing/root.yaml +5 -0
  77. package/documentation/docs/manual/docs/editable_table/step_4_editing/table.yaml +116 -0
  78. package/documentation/docs/manual/docs/editable_table/step_4_editing/template.md +231 -0
  79. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml +30 -0
  80. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/menu.yaml +5 -0
  81. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/root.yaml +4 -0
  82. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml +122 -0
  83. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/template.md +276 -0
  84. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/data.yaml +11 -0
  85. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/menu.yaml +5 -0
  86. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/root.yaml +4 -0
  87. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/table.yaml +40 -0
  88. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/template.md +59 -0
  89. package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/root.yaml +3 -0
  90. package/documentation/docs/manual/docs/editable_table/step_5_styles/menu.yaml +5 -0
  91. package/documentation/docs/manual/docs/editable_table/step_5_styles/root.yaml +4 -0
  92. package/documentation/docs/manual/docs/editable_table/step_5_styles/table.yaml +35 -0
  93. package/documentation/docs/manual/docs/editable_table/step_5_styles/template.md +142 -0
  94. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/data.yaml +40 -0
  95. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/menu.yaml +5 -0
  96. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/root.yaml +4 -0
  97. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/table.yaml +77 -0
  98. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/template.md +146 -0
  99. package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/root.yaml +2 -0
  100. package/documentation/docs/manual/docs/editable_table/step_6_errors/menu.yaml +5 -0
  101. package/documentation/docs/manual/docs/editable_table/step_6_errors/root.yaml +3 -0
  102. package/documentation/docs/manual/docs/editable_table/step_6_errors/template.md +3 -0
  103. package/documentation/docs/manual/docs/editable_table/template.md +24 -0
  104. package/documentation/docs/manual/docs/examples/asyncapi.yaml +77 -0
  105. package/documentation/docs/manual/docs/examples/asyncapi_template.json +11 -0
  106. package/documentation/docs/manual/docs/examples/autors.yaml +30 -0
  107. package/documentation/docs/manual/docs/examples/bpmn.xml +44 -0
  108. package/documentation/docs/manual/docs/examples/cat.jpg +0 -0
  109. package/documentation/docs/manual/docs/examples/charts-bar.yaml +61 -0
  110. package/documentation/docs/manual/docs/examples/charts-bubble.yaml +47 -0
  111. package/documentation/docs/manual/docs/examples/charts-doughnut.yaml +42 -0
  112. package/documentation/docs/manual/docs/examples/charts-line.yaml +55 -0
  113. package/documentation/docs/manual/docs/examples/charts-pie.yaml +37 -0
  114. package/documentation/docs/manual/docs/examples/charts-polararea.yaml +54 -0
  115. package/documentation/docs/manual/docs/examples/charts-radar.yaml +50 -0
  116. package/documentation/docs/manual/docs/examples/charts-scatter.yaml +48 -0
  117. package/documentation/docs/manual/docs/examples/charts.yaml +91 -0
  118. package/documentation/docs/manual/docs/examples/contexts.jsonata +8 -0
  119. package/documentation/docs/manual/docs/examples/date-picker-example.md +5 -0
  120. package/documentation/docs/manual/docs/examples/example.html +2 -0
  121. package/documentation/docs/manual/docs/examples/example.puml +17 -0
  122. package/documentation/docs/manual/docs/examples/example.yaml +53 -0
  123. package/documentation/docs/manual/docs/examples/ext-schema.yaml +3 -0
  124. package/documentation/docs/manual/docs/examples/inlinemeta.md +25 -0
  125. package/documentation/docs/manual/docs/examples/markaper.yaml +225 -0
  126. package/documentation/docs/manual/docs/examples/mermaid.mmd +32 -0
  127. package/documentation/docs/manual/docs/examples/openapi_template.json +16 -0
  128. package/documentation/docs/manual/docs/examples/pizza-collaboration.xml +383 -0
  129. package/documentation/docs/manual/docs/examples/sa-anim.yaml +209 -0
  130. package/documentation/docs/manual/docs/examples/sa-complex-hide-boundary.yaml +94 -0
  131. package/documentation/docs/manual/docs/examples/sa-complex-hide-leaves.yaml +94 -0
  132. package/documentation/docs/manual/docs/examples/sa-complex-hide-title.yaml +98 -0
  133. package/documentation/docs/manual/docs/examples/sa-complex.yaml +92 -0
  134. package/documentation/docs/manual/docs/examples/sa-gravity.yaml +104 -0
  135. package/documentation/docs/manual/docs/examples/sa-group.yaml +93 -0
  136. package/documentation/docs/manual/docs/examples/sa-physical-connection.yaml +79 -0
  137. package/documentation/docs/manual/docs/examples/sa-query.jsonata +74 -0
  138. package/documentation/docs/manual/docs/examples/sa-symbol.yaml +72 -0
  139. package/documentation/docs/manual/docs/examples/sa-through-objects.yaml +46 -0
  140. package/documentation/docs/manual/docs/examples/sa-without-tips.yaml +43 -0
  141. package/documentation/docs/manual/docs/examples/showcases.jsonata +5 -0
  142. package/documentation/docs/manual/docs/examples/smartants_.yaml +160 -0
  143. package/documentation/docs/manual/docs/examples/table.yaml +341 -0
  144. package/documentation/docs/manual/docs/examples/template.puml +6 -0
  145. package/documentation/docs/manual/docs/examples/test.jsonata +3 -0
  146. package/documentation/docs/manual/docs/examples/toc/2header.md +8 -0
  147. package/documentation/docs/manual/docs/examples/toc/custom-toc-place-dup.md +37 -0
  148. package/documentation/docs/manual/docs/examples/toc/custom-toc-place.md +35 -0
  149. package/documentation/docs/manual/docs/examples/toc/root.yaml +38 -0
  150. package/documentation/docs/manual/docs/examples/toc/test.md +160 -0
  151. package/documentation/docs/manual/docs/gigachat/agents/aigena/menu.yaml +5 -0
  152. package/documentation/docs/manual/docs/gigachat/agents/aigena/root.yaml +2 -0
  153. package/documentation/docs/manual/docs/gigachat/agents/aigena/template.md +25 -0
  154. package/documentation/docs/manual/docs/gigachat/agents/menu.yaml +5 -0
  155. package/documentation/docs/manual/docs/gigachat/agents/react/gigachat.yaml +59 -0
  156. package/documentation/docs/manual/docs/gigachat/agents/react/menu.yaml +5 -0
  157. package/documentation/docs/manual/docs/gigachat/agents/react/root.yaml +3 -0
  158. package/documentation/docs/manual/docs/gigachat/agents/react/template.md +138 -0
  159. package/documentation/docs/manual/docs/gigachat/agents/root.yaml +5 -0
  160. package/documentation/docs/manual/docs/gigachat/agents/simple/gigachat.yaml +14 -0
  161. package/documentation/docs/manual/docs/gigachat/agents/simple/menu.yaml +5 -0
  162. package/documentation/docs/manual/docs/gigachat/agents/simple/root.yaml +3 -0
  163. package/documentation/docs/manual/docs/gigachat/agents/simple/template.md +113 -0
  164. package/documentation/docs/manual/docs/gigachat/agents/template.md +62 -0
  165. package/documentation/docs/manual/docs/gigachat/menu.yaml +5 -0
  166. package/documentation/docs/manual/docs/gigachat/root.yaml +4 -0
  167. package/documentation/docs/manual/docs/gigachat/settings/menu.yaml +5 -0
  168. package/documentation/docs/manual/docs/gigachat/settings/root.yaml +2 -0
  169. package/documentation/docs/manual/docs/gigachat/settings/template.md +51 -0
  170. package/documentation/docs/manual/docs/gigachat/template.md +38 -0
  171. package/documentation/docs/manual/docs/images/cloud.png +0 -0
  172. package/documentation/docs/manual/docs/images/component.png +0 -0
  173. package/documentation/docs/manual/docs/images/system.png +0 -0
  174. package/documentation/docs/manual/docs/images/user.png +0 -0
  175. package/documentation/docs/manual/docs/markaper.md +278 -0
  176. package/documentation/docs/manual/docs/markdown.md +148 -0
  177. package/documentation/docs/manual/docs/mermaid.md +43 -0
  178. package/documentation/docs/manual/docs/network.md +117 -0
  179. package/documentation/docs/manual/docs/plantuml.md +28 -0
  180. package/documentation/docs/manual/docs/root.yaml +736 -0
  181. package/documentation/docs/manual/docs/seaf2drawio/examples/basic.yaml +13 -0
  182. package/documentation/docs/manual/docs/seaf2drawio/examples/diff.yaml +123 -0
  183. package/documentation/docs/manual/docs/seaf2drawio/examples/example_seaf_data.yaml +1689 -0
  184. package/documentation/docs/manual/docs/seaf2drawio/examples/root.yaml +5 -0
  185. package/documentation/docs/manual/docs/seaf2drawio/examples/templates.yaml +55 -0
  186. package/documentation/docs/manual/docs/seaf2drawio/examples/transformation.yaml +19 -0
  187. package/documentation/docs/manual/docs/seaf2drawio/object_description.md +35 -0
  188. package/documentation/docs/manual/docs/seaf2drawio/root.yaml +12 -0
  189. package/documentation/docs/manual/docs/seaf2drawio/seaf2drawio.md +118 -0
  190. package/documentation/docs/manual/docs/smartants.md +583 -0
  191. package/documentation/docs/manual/docs/svg_inline.md +66 -0
  192. package/documentation/docs/manual/docs/swagger.md +52 -0
  193. package/documentation/docs/manual/docs/tables.md +264 -0
  194. package/documentation/docs/manual/docs/templates/example.drawio +43 -0
  195. package/documentation/docs/manual/docs/templates/test.svg +79 -0
  196. package/documentation/docs/manual/docs/templates.md +361 -0
  197. package/documentation/docs/manual/docs/toc.md +137 -0
  198. package/documentation/docs/manual/entities/bstages.md +43 -0
  199. package/documentation/docs/manual/entities/bundle.md +105 -0
  200. package/documentation/docs/manual/entities/entities.md +727 -0
  201. package/documentation/docs/manual/entities/images/id_errors.png +0 -0
  202. package/documentation/docs/manual/entities/images/landspace.jpeg +0 -0
  203. package/documentation/docs/manual/entities/images/menu-single.jpeg +0 -0
  204. package/documentation/docs/manual/entities/images/menu-tree.jpeg +0 -0
  205. package/documentation/docs/manual/entities/images/object_select.png +0 -0
  206. package/documentation/docs/manual/entities/images/problems.png +0 -0
  207. package/documentation/docs/manual/entities/images/select_inter.png +0 -0
  208. package/documentation/docs/manual/entities/images/stages.jpg +0 -0
  209. package/documentation/docs/manual/entities/images/suggests.png +0 -0
  210. package/documentation/docs/manual/entities/intro.md +73 -0
  211. package/documentation/docs/manual/entities/rules.md +35 -0
  212. package/documentation/docs/manual/functions/example.yaml +50 -0
  213. package/documentation/docs/manual/functions/functions.md +51 -0
  214. package/documentation/docs/manual/functions/root.yaml +39 -0
  215. package/documentation/docs/manual/images/jbps1.1.png +0 -0
  216. package/documentation/docs/manual/images/jbps1.png +0 -0
  217. package/documentation/docs/manual/images/jbps2.png +0 -0
  218. package/documentation/docs/manual/images/vsc1.png +0 -0
  219. package/documentation/docs/manual/imports.md +59 -0
  220. package/documentation/docs/manual/introduction.md +38 -0
  221. package/documentation/docs/manual/jsonata.md +268 -0
  222. package/documentation/docs/manual/plugin-settings.md +134 -0
  223. package/documentation/docs/manual/plugins/interface.md +226 -0
  224. package/documentation/docs/manual/plugins/introduction.md +256 -0
  225. package/documentation/docs/manual/plugins/root.yaml +51 -0
  226. package/documentation/docs/manual/role-model.md +80 -0
  227. package/documentation/docs/manual/root-cluster-import.md +82 -0
  228. package/documentation/docs/manual/root.yaml +199 -0
  229. package/documentation/docs/manual/rules/exceptions.md +20 -0
  230. package/documentation/docs/manual/rules/exreason.md +3 -0
  231. package/documentation/docs/manual/rules/root.yaml +58 -0
  232. package/documentation/docs/manual/rules/rules.md +8 -0
  233. package/documentation/docs/manual/rules/standard.md +3 -0
  234. package/documentation/docs/manual/rules/validators.md +109 -0
  235. package/documentation/docs/manual/technologies.md +49 -0
  236. package/documentation/docs/root.yaml +32 -0
  237. package/documentation/docs/sequence.puml +48 -0
  238. package/documentation/docs/welcome.md +3 -0
  239. package/documentation/entities/extentions/entity.yaml +136 -0
  240. package/documentation/entities/extentions/templates/people.md +4 -0
  241. package/documentation/entities/interactions/entity.yaml +412 -0
  242. package/documentation/entities/interactions/templates/blank.puml +18 -0
  243. package/documentation/entities/interactions/templates/bpmn.xml +59 -0
  244. package/documentation/entities/interactions/templates/tree.puml +11 -0
  245. package/documentation/entities/root.yaml +33 -0
  246. package/documentation/root.yaml +37 -0
  247. package/metamodel/dochub/entities/aspects/base.yaml +73 -0
  248. package/metamodel/dochub/entities/aspects/blank.yaml +65 -0
  249. package/metamodel/dochub/entities/aspects/components.yaml +52 -0
  250. package/metamodel/dochub/entities/aspects/contexts.yaml +57 -0
  251. package/metamodel/dochub/entities/aspects/docs.yaml +51 -0
  252. package/metamodel/dochub/entities/aspects/hierarchy.yaml +80 -0
  253. package/metamodel/dochub/entities/aspects/root.yaml +9 -0
  254. package/metamodel/dochub/entities/aspects/summary.yaml +64 -0
  255. package/metamodel/dochub/entities/aspects/templates/components.md +5 -0
  256. package/metamodel/dochub/entities/aspects/templates/hierarchy.puml +5 -0
  257. package/metamodel/dochub/entities/aspects/templates/summary.md +9 -0
  258. package/metamodel/dochub/entities/aspects/templates/tree.puml +5 -0
  259. package/metamodel/dochub/entities/aspects/tree.yaml +37 -0
  260. package/metamodel/dochub/entities/components/base.yaml +97 -0
  261. package/metamodel/dochub/entities/components/blank.yaml +64 -0
  262. package/metamodel/dochub/entities/components/contexts.yaml +55 -0
  263. package/metamodel/dochub/entities/components/docs.yaml +50 -0
  264. package/metamodel/dochub/entities/components/hierarchy.yaml +84 -0
  265. package/metamodel/dochub/entities/components/index.yaml +17 -0
  266. package/metamodel/dochub/entities/components/root.yaml +8 -0
  267. package/metamodel/dochub/entities/components/summary.yaml +58 -0
  268. package/metamodel/dochub/entities/components/symbol.yaml +113 -0
  269. package/metamodel/dochub/entities/components/templates/hierarchy.puml +5 -0
  270. package/metamodel/dochub/entities/components/templates/summary.md +8 -0
  271. package/metamodel/dochub/entities/components/templates/tree.puml +5 -0
  272. package/metamodel/dochub/entities/components/tree.yaml +38 -0
  273. package/metamodel/dochub/entities/contexts/base.yaml +197 -0
  274. package/metamodel/dochub/entities/contexts/plantuml.yaml +241 -0
  275. package/metamodel/dochub/entities/contexts/root.yaml +5 -0
  276. package/metamodel/dochub/entities/contexts/smartants.yaml +177 -0
  277. package/metamodel/dochub/entities/contexts/templates/template.puml +183 -0
  278. package/metamodel/dochub/entities/contexts/templates/tree.puml +5 -0
  279. package/metamodel/dochub/entities/contexts/tree.yaml +39 -0
  280. package/metamodel/dochub/entities/documents/base.yaml +73 -0
  281. package/metamodel/dochub/entities/documents/blank.yaml +28 -0
  282. package/metamodel/dochub/entities/documents/root.yaml +3 -0
  283. package/metamodel/dochub/entities/root.yaml +5 -0
  284. package/metamodel/dochub/functions/root.yaml +2 -0
  285. package/metamodel/dochub/functions/tools.yaml +46 -0
  286. package/metamodel/dochub/root.yaml +24 -0
  287. package/metamodel/dochub/rules/root.yaml +2 -0
  288. package/metamodel/dochub/rules/validators.yaml +144 -0
  289. package/metamodel/dochub/samples/01_components.yaml +23 -0
  290. package/metamodel/dochub/samples/02_contexts.yaml +23 -0
  291. package/metamodel/dochub/samples/03_documents.yaml +10 -0
  292. package/metamodel/dochub/samples/root.yaml +4 -0
  293. package/metamodel/dochub/samples/test.puml +17 -0
  294. package/metamodel/dochub.yaml +5 -0
  295. package/metamodel/docs/welcome.md +39 -0
  296. package/metamodel/root.yaml +8 -0
  297. package/package.json +29 -0
  298. package/plugin.html +1961 -0
@@ -0,0 +1,97 @@
1
+ # Базовое описание сущности "Contexts"
2
+ entities:
3
+ components:
4
+ title: Компоненты
5
+ config:
6
+ root_menu: Архитектура # Корневое меню представления компонентов
7
+ description: >
8
+ Архитектурные компоненты.
9
+ schema:
10
+ type: object
11
+ patternProperties:
12
+ "^[a-zA-Z][a-zA-Z0-9_-]*(\\.[a-zA-Z0-9][a-zA-Z0-9_-]*)*$":
13
+ type: object
14
+ properties:
15
+ title:
16
+ title: Название компонента
17
+ type: string
18
+ entity:
19
+ title: Представление компонента
20
+ type: string
21
+ required:
22
+ - title
23
+ - entity
24
+ additionalProperties: false
25
+ # Определяет пути к объектам сущности
26
+ objects:
27
+ component:
28
+ route: "/" # Путь к объектам компонента
29
+ title: Арх. компонент # Название объекта
30
+ # JSONata генератор символа в svg для представления в диаграммах.
31
+ # $params.subject - передается объект рендеринга. Может быть не определен. В этом случае, необходимо вернуть неспецифичный (общий) символ объекта.
32
+ # $ - Data Lake архитектуры. Может быть не определен, если Data Lake недоступен.
33
+ symbol: >
34
+ (
35
+ /* Обрабатываем входящие параметры */
36
+ $manifest := $;
37
+ $component := $params.subject.$spread()[0].*;
38
+ $defConfig := $manifest.entities.contexts.config;
39
+
40
+ /* Высота строки аспекта */
41
+ $rowHeight := 14;
42
+ /* Отступы */
43
+ $padding := 8;
44
+ /* Отступы */
45
+ $headerOffset := 12;
46
+ /* Ширину символа */
47
+ $fontWidth := 7;
48
+ /* Высота символа */
49
+ $fontHeight := 12;
50
+
51
+ /* Определяем заголовок */
52
+ $header := $component.title;
53
+
54
+ /* Определяем количество аспектов для вычисления высоты символа */
55
+ $aspectCount := $count($component.aspects);
56
+
57
+ /* Формируем массив аспектов */
58
+ $aspects := $component.aspects.(
59
+ $aspect := $lookup($manifest.aspects, $);
60
+ {
61
+ "id" : $,
62
+ "title": $aspect.title ? $aspect.title : $
63
+ }
64
+ );
65
+
66
+ /* Определяем максимальную длину текста для вычисления ширины символа */
67
+ $maxTitle := $max([$max($aspects.($length(title))), $length($header)]);
68
+
69
+ /* Вычисляем размеры символа */
70
+ $width := $maxTitle ? $maxTitle * $fontWidth + $padding * 2 : 64; /* Умножаем на ширину символа */
71
+ $height := ($aspectCount + 1) * $rowHeight + $padding * 2 + $headerOffset; /* Умножаем на высоту строки */
72
+
73
+ /* Генерируем символ */
74
+ '<svg fill="#000000" width="' & $width & 'px" height="' & $height & 'px" viewBox="0 0 ' & $width & ' ' & $height & '" version="1.1" xmlns="http://www.w3.org/2000/svg">'
75
+ & '<g>'
76
+ /* Создаем контейнер */
77
+ & '<rect width="' & $width & 'px" height="' & $height & 'px" fill=\"#eee\" stroke=\"#222\" rx="3" />'
78
+ /* Создаем заголовок */
79
+ & '<text x="50%" y="12" style="font-size:' & $fontHeight & '" fill="green" text-anchor="middle" dominant-baseline="middle" >' & $header & '</text>'
80
+ /* Заполняем аспектами */
81
+ & $join($map($aspects, function($v, $i) {(
82
+ '<a href=\"/architect/aspects/' & $v.id & '\" >'
83
+ & '<text x="6" y="' & ($i * $rowHeight + $padding + $rowHeight + $headerOffset) & '" style="font-size:' & $fontHeight & '" fill="blue">' & $v.title & '</text>'
84
+ & '</a>'
85
+ )}))
86
+ & '</g>'
87
+ & '</svg>';
88
+ )
89
+ menu: >
90
+ (
91
+ [
92
+ {
93
+ "link": "/entities/components/tree",
94
+ "location": entities.components.config.root_menu
95
+ }
96
+ ]
97
+ )
@@ -0,0 +1,64 @@
1
+ # Бланк архитектурного компонента
2
+ entities:
3
+ components:
4
+ presentations:
5
+ blank:
6
+ title: Карточка компонента
7
+ params:
8
+ type: object
9
+ properties:
10
+ dh-component-id:
11
+ title: Идентификатор компонента
12
+ type: string
13
+ required:
14
+ - dh-component-id
15
+ type: mkr-grid
16
+ source: >
17
+ (
18
+ /* Получаем идентификатор компонента для карточки */
19
+ $component_id := $params."dh-component-id";
20
+
21
+ /* Получаем виджеты, которые нужно отобразить */
22
+ $widgets := entities.components.presentations.blank.widgets;
23
+ $wleft := $widgets.*[align="<"]^(order);
24
+ $wright := $widgets.*[align=">"]^(order);
25
+ $wcenter := $widgets.*[$not(align=">" or align="<")]^(order);
26
+
27
+ /* Функция генерации профиля виджета для секции разметки */
28
+ $makeWidget := function($widgets) {(
29
+ [$widgets.{
30
+ "title": title,
31
+ "icon": icon,
32
+ "style": style ? style : {},
33
+ "src": "@entity/components/" & presentation & "?component=" & $component_id
34
+ }];
35
+ )};
36
+
37
+ /* Строим разметку страницы */
38
+ {
39
+ "type": "rows",
40
+ "items": $append(
41
+ [
42
+ {
43
+ "type": "columns",
44
+ "items": [
45
+ {
46
+ "type": "rows",
47
+ "width": "40%",
48
+ /* Строим список виджетов левой секции */
49
+ "items": $makeWidget($wleft)
50
+ },
51
+ {
52
+ "type": "rows",
53
+ "width": "60%",
54
+ /* Строим список виджетов правой секции */
55
+ "items": $makeWidget($wright)
56
+ }
57
+ ]
58
+ }
59
+ ],
60
+ /* Добавляем центральные виджеты */
61
+ $makeWidget($wcenter)
62
+ )
63
+ }
64
+ )
@@ -0,0 +1,55 @@
1
+ # Сводка по архитектурному компоненту
2
+ entities:
3
+ components:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ contexts: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Контексты
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: contexts
16
+ # Расположение слева
17
+ align: ">"
18
+ # Порядок расположения
19
+ order: 10
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ min-height: 300px
24
+ margin: 4px
25
+ contexts:
26
+ title: Контексты где встречается компонент
27
+ params:
28
+ type: object
29
+ properties:
30
+ component:
31
+ title: Идентификатор компонента
32
+ type: string
33
+ required:
34
+ - component
35
+ type: mkr-select
36
+ source: >
37
+ (
38
+ $component_id := $params.component;
39
+ $append(
40
+ [
41
+ {
42
+ "title": "SELF",
43
+ "src": "@entity/contexts/plantuml?dh-context-id=SELF&componentId=" & $component_id & "&dh-focus-id=" & $component_id
44
+ }
45
+ ],
46
+ [$distinct([contexts.$spread().(
47
+ $CONTEXT := $;
48
+ $ID := $keys()[0];
49
+ *.components[$wcard($component_id, $)].{
50
+ "src": "@entity/contexts/plantuml?dh-context-id=" & $ID & "&dh-focus-id=" & $component_id,
51
+ "title": $CONTEXT.*.title ? $CONTEXT.*.title : $ID
52
+ }
53
+ )])]^(title)
54
+ )
55
+ )
@@ -0,0 +1,50 @@
1
+ # Сводка по архитектурному компоненту
2
+ entities:
3
+ components:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ docs: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Документы
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: docs
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 20
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ padding: 12px
24
+ margin: 4px
25
+ docs:
26
+ title: Документы
27
+ params:
28
+ type: object
29
+ properties:
30
+ component:
31
+ title: Идентификатор компонента
32
+ type: string
33
+ required:
34
+ - component
35
+ type: mkr-tree
36
+ source: >
37
+ (
38
+ $COMPONENT_ID := $params.component;
39
+ $MANIFEST := $;
40
+ [docs.$spread().(
41
+ $LINK := "/docs/" & $keys()[0];
42
+ $COMPONENT_ID in *.subjects ?
43
+ [$[$COMPONENT_ID in *.subjects]
44
+ {
45
+ "location": *.location,
46
+ "title": *.description,
47
+ "link": $LINK
48
+ }] : undefined;
49
+ )[location]^(location)];
50
+ )
@@ -0,0 +1,84 @@
1
+ # Сводка по архитектурному компоненту
2
+ entities:
3
+ components:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ hierarchy: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: description
12
+ # Название виджета
13
+ title: Иерархия компонента
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: hierarchy
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 30
20
+ # Определяем стиль виджета
21
+ style:
22
+ border: true
23
+ margin: 4px
24
+ hierarchy:
25
+ title: Иерархия компонента
26
+ params:
27
+ type: object
28
+ properties:
29
+ component:
30
+ title: Идентификатор компонента
31
+ type: string
32
+ required:
33
+ - component
34
+ type: plantuml
35
+ template: templates/hierarchy.puml
36
+ source: >
37
+ (
38
+ /* Запоминаем ссылки на контексты и объекты */
39
+ $CONTEXTS := contexts;
40
+ $COMPONENTS := components;
41
+ /* Определяем фильтр для выделяемой иерархической структуры */
42
+ $FILTER := $params.component;
43
+ $FILTER_LN := $length($FILTER);
44
+ /* Определяем иерархию владельцев */
45
+ $PARENTS := $FILTER.$split(".")~>$map(function($v, $LIMIT, $a){(
46
+ $a~>$map(function($v, $i) { $i <= $LIMIT ? $v})~>$join(".");
47
+ )});
48
+ $merge((
49
+ /* Выбираем их компонентов нужные для построения диаграммы */
50
+ [components.$spread().(
51
+ $ID := $keys()[0];
52
+ $PREFIX := $substring($ID, 0, $FILTER_LN + 1);
53
+ $FILTER_LN = 0
54
+ or ($PREFIX = $FILTER) or ($PREFIX = ($FILTER & "."))
55
+ or ($ID in $PARENTS) ? $ID;
56
+ )]
57
+ ).(
58
+ /* Готовим полный массив идентификаторов */
59
+ ($~>$split(".")~>$map(function($v, $limit, $struct) {
60
+ {
61
+ $struct~>$map(function($pice, $index) {
62
+ $index <= $limit ? $pice
63
+ })~>$join("."): true
64
+ }
65
+ }))
66
+ )
67
+ ).$spread().(
68
+ /* Готовим массив для вывода */
69
+ $ID := $keys()[0];
70
+ $CONTEXT := $lookup($CONTEXTS, $ID);
71
+ $COMPONENT := $lookup($COMPONENTS, $ID);
72
+ {
73
+ "id": $ID,
74
+ "title": $COMPONENT.title ? $COMPONENT.title : (
75
+ $CONTEXT.title ? $CONTEXT.title : $reverse($split($ID, "."))[0]
76
+ ),
77
+ "link": $CONTEXT ? "/architect/contexts/" & $ID : "/architect/components/" & $ID
78
+ }
79
+ )^(id).(
80
+ /* Готовим PlantUML код для MindMap */
81
+ $color := id = $FILTER ? "[#FFBBCC]" : "";
82
+ "*" & $join($split(id, ".").("*")) & $color & " [[" & link & " " & title & "]]"
83
+ )~>$join("\n");
84
+ )
@@ -0,0 +1,17 @@
1
+ # Базовое описание сущности "Contexts"
2
+ entities:
3
+ components:
4
+ indexes:
5
+ main: >
6
+ (
7
+ [
8
+ {
9
+ "title": "Здесь текст для вывода пользователю",
10
+ "content" : "некий текст",
11
+ "link": "здесь ссылка на объект по данной записи",
12
+ "sources": [
13
+
14
+ ]
15
+ }
16
+ ]
17
+ )
@@ -0,0 +1,8 @@
1
+ imports:
2
+ - base.yaml
3
+ - tree.yaml
4
+ - blank.yaml
5
+ - summary.yaml
6
+ - docs.yaml
7
+ - contexts.yaml
8
+ - hierarchy.yaml
@@ -0,0 +1,58 @@
1
+ # Сводка по архитектурному компоненту
2
+ entities:
3
+ components:
4
+ presentations:
5
+ # Встраиваемся в презентацию бланка
6
+ blank:
7
+ # Добавляем собственный виджет
8
+ widgets:
9
+ summary: # Идентификатор виджета
10
+ # Иконка виджета
11
+ icon: settings
12
+ # Название виджета
13
+ title: Сводка по компоненту
14
+ # Идентификатор презентации, которая будет использоваться в виджете
15
+ presentation: summary
16
+ # Расположение слева
17
+ align: "<"
18
+ # Порядок расположения
19
+ order: 10
20
+ # Определяем стиль виджета
21
+ style:
22
+ margin: 4px
23
+ border: true
24
+ summary:
25
+ title: Сводка по компоненту
26
+ params:
27
+ type: object
28
+ properties:
29
+ component:
30
+ title: Идентификатор компонента
31
+ type: string
32
+ required:
33
+ - component
34
+ type: markdown
35
+ template: templates/summary.md
36
+ source: >
37
+ (
38
+ $COMPONENT_ID := $params.component;
39
+ $MANIFEST := $;
40
+ $lookup(components, $COMPONENT_ID).(
41
+ $COMPONENT := $;
42
+ $ENTITY := $.entity ? $.entity : "component";
43
+ $FORM := $MANIFEST.forms[entity.$contains($ENTITY)].fields;
44
+ $append([
45
+ {
46
+ "title": "Идентификатор",
47
+ "content": $COMPONENT_ID
48
+ },
49
+ {
50
+ "title": "Название",
51
+ "content": title
52
+ }
53
+ ], $merge($FORM).$spread().{
54
+ "title": $.*.title,
55
+ "content": $lookup($COMPONENT, $.$keys())
56
+ });
57
+ )
58
+ )
@@ -0,0 +1,113 @@
1
+ # Расширение сущности "Component" для генерации символов представления компонентов
2
+ entities:
3
+ components:
4
+ api:
5
+
6
+ # Представления контекстов в PlantUML
7
+ presentations:
8
+ symbol:
9
+ title: Символ компонента
10
+ params:
11
+ title: Требуемые параметры для презентации
12
+ type: object
13
+ properties:
14
+ "dh-context-id":
15
+ title: Идентификатор контекста
16
+ type: string
17
+ pattern: ^[a-zA-Z][a-zA-Z0-9_-]*(\.[a-zA-Z][a-zA-Z0-9_-]*)*$
18
+ required:
19
+ - dh-context-id
20
+ type: symbol # Указываем специальный тип презентации - "Символ"
21
+ $constructor: > # Переносим необходимую информацию из контекста в презентацию
22
+ (
23
+ $id := $params."dh-context-id";
24
+ $context := $lookup(contexts, $id);
25
+ $prototype := entities.contexts.presentations.plantuml;
26
+
27
+ /* Преобразует относительные пути к файлам в прямые*/
28
+ $toDirectRes := function($value) {
29
+ $substring($value, 0, 4) = "res:" ? $value : "res://contexts/" & $id & "#" & $value
30
+ };
31
+
32
+ /* Если явно указан puml файл, просто рендерим его */
33
+ $substring($context.uml, -5) = ".puml" ? (
34
+ {
35
+ "type": "plantuml",
36
+ "source": $toDirectRes($context.uml)
37
+ }
38
+ ) : (
39
+ $result := $context.source ? ($merge([$prototype, {
40
+ "origin": { "_source": $context.source, "_origin": "($)" }
41
+ }])) : $prototype;
42
+
43
+ /* Если в контексте переопределен шаблон, используем его по прямой ссылке */
44
+ $result := $context.template
45
+ ? $merge([$result, { "template": $toDirectRes($context.template) }])
46
+ : $result;
47
+ )
48
+ )
49
+ template: templates/template.puml
50
+ source: >
51
+ (
52
+ $id := $params."dh-context-id";
53
+ /* Получаем доступ к оригинальным данным */
54
+ $manifest := _origin ? _origin : $;
55
+ /* Получаем контекст */
56
+ $context := $lookup($manifest.contexts, $id);
57
+ /* Если в контексте задан источник, берем его за основу */
58
+ $manifest := _source ? _source : $;
59
+
60
+ $isExtraLinks := $not($string($context."extra-links") = "false");
61
+
62
+ /* Получаем коллекцию дефолтных вспомогательных функций */
63
+ $defFunctions := $manifest.entities.contexts.api;
64
+
65
+ /* Получаем коллекцию дефолтных параметров */
66
+ $defConfig := $manifest.entities.contexts.config;
67
+
68
+ /* Определяем движок рендеринга */
69
+ $renderCore := $lookup({
70
+ "elk": "!pragma layout elk",
71
+ "smetana": "!pragma layout smetana"
72
+ }, $defConfig.renderCore);
73
+
74
+ /* Формируем заголовок */
75
+ $header := "$Header(\"" & ($context.title ? $context.title : $id ) & "\", , , )\n";
76
+
77
+ /* Получаем все компоненты входящие в контекст */
78
+ $components := $eval($defFunctions.fetchComponents, {
79
+ "manifest": $manifest,
80
+ "contextId": $id,
81
+ "extra-links": $isExtraLinks,
82
+ "componentId": $params.componentId
83
+ });
84
+
85
+ /* Генерируем области */
86
+ $areas := $eval($defFunctions.fetchAreas, {
87
+ "components": $components
88
+ });
89
+
90
+ /* Генерируем PlantUML диаграмму компонентов */
91
+ $elements := $eval($defFunctions.makePumlComponentDiagram, {
92
+ "manifest": $manifest,
93
+ "areas": $areas,
94
+ "components": $components
95
+ });
96
+
97
+ /* Получаем список связей */
98
+ $links := $eval($defFunctions.fetchLinks, {
99
+ "components": $components
100
+ });
101
+
102
+ /* Генерируем код связей */
103
+ $linksCode := $eval($defFunctions.makePumlComponentsLinks, {
104
+ "links": $links
105
+ });
106
+
107
+ /* Готовим данные для передачи в шаблон */
108
+ {
109
+ "renderCore": $renderCore,
110
+ "presentation": $defConfig.defaultPresentation,
111
+ "code": $header & $elements & $linksCode
112
+ }
113
+ )
@@ -0,0 +1,5 @@
1
+ @startwbs
2
+ * Архитектура
3
+ {{&.}}
4
+ @endwbs
5
+
@@ -0,0 +1,8 @@
1
+ {{#.}}
2
+ ```markuper-form-label
3
+ {{ title }}
4
+ ```
5
+ ```markuper-form-field
6
+ {{ &content }}
7
+ ```
8
+ {{/.}}
@@ -0,0 +1,5 @@
1
+ @startwbs
2
+ * Компоненты
3
+ {{&.}}
4
+ @endwbs
5
+
@@ -0,0 +1,38 @@
1
+ # Сводка по архитектурному аспекту
2
+ entities:
3
+ components:
4
+ presentations:
5
+ tree:
6
+ title: Иерархия компонентов
7
+ type: plantuml
8
+ template: templates/tree.puml
9
+ source: >
10
+ (
11
+ $COMPONENTS := components;
12
+ $merge((
13
+ /* Выбираем из компонентов нужные для построения диаграммы */
14
+ [$COMPONENTS.$spread().(
15
+ $keys()[0]~>$split(".")~>$map(function($v, $limit, $struct) {
16
+ {
17
+ $struct~>$map(function($pice, $index) {
18
+ $index <= $limit ? $pice
19
+ })~>$join("."): true
20
+ }
21
+ })
22
+ )]
23
+ )
24
+ ).$spread().(
25
+ /* Готовим массив для вывода */
26
+ $ID := $keys()[0];
27
+ $COMPONENT := $lookup($COMPONENTS, $ID);
28
+ {
29
+ "id": $ID,
30
+ "title": $COMPONENT.title ? $COMPONENT.title : $ID,
31
+ "link": "/entities/components/blank?dh-component-id=" & $ID
32
+ }
33
+ )^(id).(
34
+ /* Готовим PlantUML код для MindMap */
35
+ $content := " [[" & link & " " & title & "]]";
36
+ "*" & $join($split(id, ".").("*")) & $content
37
+ )~>$join("\n");
38
+ )