@seafteam/seaf-archtool-core-plugin-suite 2026.29.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +27 -0
- package/documentation/arch/aspects.yaml +81 -0
- package/documentation/arch/components/browser.yaml +51 -0
- package/documentation/arch/components/examples/context.yaml +37 -0
- package/documentation/arch/components/examples/order.yaml +92 -0
- package/documentation/arch/components/examples/payment.yaml +92 -0
- package/documentation/arch/components/examples/root.yaml +42 -0
- package/documentation/arch/components/front.yaml +309 -0
- package/documentation/arch/components/gitlab.yaml +81 -0
- package/documentation/arch/components/plantuml.yaml +57 -0
- package/documentation/arch/components/root.yaml +36 -0
- package/documentation/arch/components/user.yaml +41 -0
- package/documentation/arch/components/web.yaml +39 -0
- package/documentation/arch/contexts.yaml +99 -0
- package/documentation/arch/forms.yaml +36 -0
- package/documentation/arch/namespaces.yaml +43 -0
- package/documentation/arch/root.yaml +43 -0
- package/documentation/arch/rules.yaml +91 -0
- package/documentation/arch/technologies.yaml +84 -0
- package/documentation/dochub.yaml +32 -0
- package/documentation/docs/conception/archdistrib.puml +38 -0
- package/documentation/docs/conception/archeco.puml +11 -0
- package/documentation/docs/conception/archeco_proc.puml +29 -0
- package/documentation/docs/conception/archver.puml +24 -0
- package/documentation/docs/conception/facade.puml +20 -0
- package/documentation/docs/conception/introduction.md +144 -0
- package/documentation/docs/conception/mindmap.puml +55 -0
- package/documentation/docs/conception/root.yaml +66 -0
- package/documentation/docs/manual/aspects.md +37 -0
- package/documentation/docs/manual/backend/api.yaml +664 -0
- package/documentation/docs/manual/backend/search-implementation.md +190 -0
- package/documentation/docs/manual/backend/search.yaml +495 -0
- package/documentation/docs/manual/clickstream-setup.md +50 -0
- package/documentation/docs/manual/components.md +45 -0
- package/documentation/docs/manual/config/deployment.md +337 -0
- package/documentation/docs/manual/context_source.puml +17 -0
- package/documentation/docs/manual/contexts.md +200 -0
- package/documentation/docs/manual/datasets.md +120 -0
- package/documentation/docs/manual/docs/AI_TABLE_INTEGRATION.md +81 -0
- package/documentation/docs/manual/docs/asyncapi.md +63 -0
- package/documentation/docs/manual/docs/bpmn.md +122 -0
- package/documentation/docs/manual/docs/charts.md +371 -0
- package/documentation/docs/manual/docs/docs.md +76 -0
- package/documentation/docs/manual/docs/drawio_intro.md +397 -0
- package/documentation/docs/manual/docs/editable_table/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/root.yaml +9 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/table.yaml +396 -0
- package/documentation/docs/manual/docs/editable_table/step_0_base/template.md +404 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/table.yaml +136 -0
- package/documentation/docs/manual/docs/editable_table/step_1_acquaintance/template.md +247 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/pets.yaml +23 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/menu.yaml +34 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/table.yaml +36 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_root.md +110 -0
- package/documentation/docs/manual/docs/editable_table/step_2_parameterization/template_table.md +3 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_3_headers/template.md +300 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/data.yaml +10 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/data_column_1.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/data/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/table.yaml +52 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/auto_imports/template.md +117 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/menu.yaml +6 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/root.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/table.yaml +116 -0
- package/documentation/docs/manual/docs/editable_table/step_4_editing/template.md +231 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml +30 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml +122 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/template.md +276 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/data.yaml +11 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/table.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/hiding_columns/template.md +59 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/table.yaml +35 -0
- package/documentation/docs/manual/docs/editable_table/step_5_styles/template.md +142 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/data.yaml +40 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/root.yaml +4 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/table.yaml +77 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/data_errors/template.md +146 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/examples/root.yaml +2 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/menu.yaml +5 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/root.yaml +3 -0
- package/documentation/docs/manual/docs/editable_table/step_6_errors/template.md +3 -0
- package/documentation/docs/manual/docs/editable_table/template.md +24 -0
- package/documentation/docs/manual/docs/examples/asyncapi.yaml +77 -0
- package/documentation/docs/manual/docs/examples/asyncapi_template.json +11 -0
- package/documentation/docs/manual/docs/examples/autors.yaml +30 -0
- package/documentation/docs/manual/docs/examples/bpmn.xml +44 -0
- package/documentation/docs/manual/docs/examples/cat.jpg +0 -0
- package/documentation/docs/manual/docs/examples/charts-bar.yaml +61 -0
- package/documentation/docs/manual/docs/examples/charts-bubble.yaml +47 -0
- package/documentation/docs/manual/docs/examples/charts-doughnut.yaml +42 -0
- package/documentation/docs/manual/docs/examples/charts-line.yaml +55 -0
- package/documentation/docs/manual/docs/examples/charts-pie.yaml +37 -0
- package/documentation/docs/manual/docs/examples/charts-polararea.yaml +54 -0
- package/documentation/docs/manual/docs/examples/charts-radar.yaml +50 -0
- package/documentation/docs/manual/docs/examples/charts-scatter.yaml +48 -0
- package/documentation/docs/manual/docs/examples/charts.yaml +91 -0
- package/documentation/docs/manual/docs/examples/contexts.jsonata +8 -0
- package/documentation/docs/manual/docs/examples/date-picker-example.md +5 -0
- package/documentation/docs/manual/docs/examples/example.html +2 -0
- package/documentation/docs/manual/docs/examples/example.puml +17 -0
- package/documentation/docs/manual/docs/examples/example.yaml +53 -0
- package/documentation/docs/manual/docs/examples/ext-schema.yaml +3 -0
- package/documentation/docs/manual/docs/examples/inlinemeta.md +25 -0
- package/documentation/docs/manual/docs/examples/markaper.yaml +225 -0
- package/documentation/docs/manual/docs/examples/mermaid.mmd +32 -0
- package/documentation/docs/manual/docs/examples/openapi_template.json +16 -0
- package/documentation/docs/manual/docs/examples/pizza-collaboration.xml +383 -0
- package/documentation/docs/manual/docs/examples/sa-anim.yaml +209 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-boundary.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-leaves.yaml +94 -0
- package/documentation/docs/manual/docs/examples/sa-complex-hide-title.yaml +98 -0
- package/documentation/docs/manual/docs/examples/sa-complex.yaml +92 -0
- package/documentation/docs/manual/docs/examples/sa-gravity.yaml +104 -0
- package/documentation/docs/manual/docs/examples/sa-group.yaml +93 -0
- package/documentation/docs/manual/docs/examples/sa-physical-connection.yaml +79 -0
- package/documentation/docs/manual/docs/examples/sa-query.jsonata +74 -0
- package/documentation/docs/manual/docs/examples/sa-symbol.yaml +72 -0
- package/documentation/docs/manual/docs/examples/sa-through-objects.yaml +46 -0
- package/documentation/docs/manual/docs/examples/sa-without-tips.yaml +43 -0
- package/documentation/docs/manual/docs/examples/showcases.jsonata +5 -0
- package/documentation/docs/manual/docs/examples/smartants_.yaml +160 -0
- package/documentation/docs/manual/docs/examples/table.yaml +341 -0
- package/documentation/docs/manual/docs/examples/template.puml +6 -0
- package/documentation/docs/manual/docs/examples/test.jsonata +3 -0
- package/documentation/docs/manual/docs/examples/toc/2header.md +8 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place-dup.md +37 -0
- package/documentation/docs/manual/docs/examples/toc/custom-toc-place.md +35 -0
- package/documentation/docs/manual/docs/examples/toc/root.yaml +38 -0
- package/documentation/docs/manual/docs/examples/toc/test.md +160 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/agents/aigena/template.md +25 -0
- package/documentation/docs/manual/docs/gigachat/agents/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/gigachat.yaml +59 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/react/template.md +138 -0
- package/documentation/docs/manual/docs/gigachat/agents/root.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/gigachat.yaml +14 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/root.yaml +3 -0
- package/documentation/docs/manual/docs/gigachat/agents/simple/template.md +113 -0
- package/documentation/docs/manual/docs/gigachat/agents/template.md +62 -0
- package/documentation/docs/manual/docs/gigachat/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/root.yaml +4 -0
- package/documentation/docs/manual/docs/gigachat/settings/menu.yaml +5 -0
- package/documentation/docs/manual/docs/gigachat/settings/root.yaml +2 -0
- package/documentation/docs/manual/docs/gigachat/settings/template.md +51 -0
- package/documentation/docs/manual/docs/gigachat/template.md +38 -0
- package/documentation/docs/manual/docs/images/cloud.png +0 -0
- package/documentation/docs/manual/docs/images/component.png +0 -0
- package/documentation/docs/manual/docs/images/system.png +0 -0
- package/documentation/docs/manual/docs/images/user.png +0 -0
- package/documentation/docs/manual/docs/markaper.md +278 -0
- package/documentation/docs/manual/docs/markdown.md +148 -0
- package/documentation/docs/manual/docs/mermaid.md +43 -0
- package/documentation/docs/manual/docs/network.md +117 -0
- package/documentation/docs/manual/docs/plantuml.md +28 -0
- package/documentation/docs/manual/docs/root.yaml +736 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/basic.yaml +13 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/diff.yaml +123 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/example_seaf_data.yaml +1689 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/root.yaml +5 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/templates.yaml +55 -0
- package/documentation/docs/manual/docs/seaf2drawio/examples/transformation.yaml +19 -0
- package/documentation/docs/manual/docs/seaf2drawio/object_description.md +35 -0
- package/documentation/docs/manual/docs/seaf2drawio/root.yaml +12 -0
- package/documentation/docs/manual/docs/seaf2drawio/seaf2drawio.md +118 -0
- package/documentation/docs/manual/docs/smartants.md +583 -0
- package/documentation/docs/manual/docs/svg_inline.md +66 -0
- package/documentation/docs/manual/docs/swagger.md +52 -0
- package/documentation/docs/manual/docs/tables.md +264 -0
- package/documentation/docs/manual/docs/templates/example.drawio +43 -0
- package/documentation/docs/manual/docs/templates/test.svg +79 -0
- package/documentation/docs/manual/docs/templates.md +361 -0
- package/documentation/docs/manual/docs/toc.md +137 -0
- package/documentation/docs/manual/entities/bstages.md +43 -0
- package/documentation/docs/manual/entities/bundle.md +105 -0
- package/documentation/docs/manual/entities/entities.md +727 -0
- package/documentation/docs/manual/entities/images/id_errors.png +0 -0
- package/documentation/docs/manual/entities/images/landspace.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-single.jpeg +0 -0
- package/documentation/docs/manual/entities/images/menu-tree.jpeg +0 -0
- package/documentation/docs/manual/entities/images/object_select.png +0 -0
- package/documentation/docs/manual/entities/images/problems.png +0 -0
- package/documentation/docs/manual/entities/images/select_inter.png +0 -0
- package/documentation/docs/manual/entities/images/stages.jpg +0 -0
- package/documentation/docs/manual/entities/images/suggests.png +0 -0
- package/documentation/docs/manual/entities/intro.md +73 -0
- package/documentation/docs/manual/entities/rules.md +35 -0
- package/documentation/docs/manual/functions/example.yaml +50 -0
- package/documentation/docs/manual/functions/functions.md +51 -0
- package/documentation/docs/manual/functions/root.yaml +39 -0
- package/documentation/docs/manual/images/jbps1.1.png +0 -0
- package/documentation/docs/manual/images/jbps1.png +0 -0
- package/documentation/docs/manual/images/jbps2.png +0 -0
- package/documentation/docs/manual/images/vsc1.png +0 -0
- package/documentation/docs/manual/imports.md +59 -0
- package/documentation/docs/manual/introduction.md +38 -0
- package/documentation/docs/manual/jsonata.md +268 -0
- package/documentation/docs/manual/plugin-settings.md +134 -0
- package/documentation/docs/manual/plugins/interface.md +226 -0
- package/documentation/docs/manual/plugins/introduction.md +256 -0
- package/documentation/docs/manual/plugins/root.yaml +51 -0
- package/documentation/docs/manual/role-model.md +80 -0
- package/documentation/docs/manual/root-cluster-import.md +82 -0
- package/documentation/docs/manual/root.yaml +199 -0
- package/documentation/docs/manual/rules/exceptions.md +20 -0
- package/documentation/docs/manual/rules/exreason.md +3 -0
- package/documentation/docs/manual/rules/root.yaml +58 -0
- package/documentation/docs/manual/rules/rules.md +8 -0
- package/documentation/docs/manual/rules/standard.md +3 -0
- package/documentation/docs/manual/rules/validators.md +109 -0
- package/documentation/docs/manual/technologies.md +49 -0
- package/documentation/docs/root.yaml +32 -0
- package/documentation/docs/sequence.puml +48 -0
- package/documentation/docs/welcome.md +3 -0
- package/documentation/entities/extentions/entity.yaml +136 -0
- package/documentation/entities/extentions/templates/people.md +4 -0
- package/documentation/entities/interactions/entity.yaml +412 -0
- package/documentation/entities/interactions/templates/blank.puml +18 -0
- package/documentation/entities/interactions/templates/bpmn.xml +59 -0
- package/documentation/entities/interactions/templates/tree.puml +11 -0
- package/documentation/entities/root.yaml +33 -0
- package/documentation/root.yaml +37 -0
- package/metamodel/dochub/entities/aspects/base.yaml +73 -0
- package/metamodel/dochub/entities/aspects/blank.yaml +65 -0
- package/metamodel/dochub/entities/aspects/components.yaml +52 -0
- package/metamodel/dochub/entities/aspects/contexts.yaml +57 -0
- package/metamodel/dochub/entities/aspects/docs.yaml +51 -0
- package/metamodel/dochub/entities/aspects/hierarchy.yaml +80 -0
- package/metamodel/dochub/entities/aspects/root.yaml +9 -0
- package/metamodel/dochub/entities/aspects/summary.yaml +64 -0
- package/metamodel/dochub/entities/aspects/templates/components.md +5 -0
- package/metamodel/dochub/entities/aspects/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/aspects/templates/summary.md +9 -0
- package/metamodel/dochub/entities/aspects/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/aspects/tree.yaml +37 -0
- package/metamodel/dochub/entities/components/base.yaml +97 -0
- package/metamodel/dochub/entities/components/blank.yaml +64 -0
- package/metamodel/dochub/entities/components/contexts.yaml +55 -0
- package/metamodel/dochub/entities/components/docs.yaml +50 -0
- package/metamodel/dochub/entities/components/hierarchy.yaml +84 -0
- package/metamodel/dochub/entities/components/index.yaml +17 -0
- package/metamodel/dochub/entities/components/root.yaml +8 -0
- package/metamodel/dochub/entities/components/summary.yaml +58 -0
- package/metamodel/dochub/entities/components/symbol.yaml +113 -0
- package/metamodel/dochub/entities/components/templates/hierarchy.puml +5 -0
- package/metamodel/dochub/entities/components/templates/summary.md +8 -0
- package/metamodel/dochub/entities/components/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/components/tree.yaml +38 -0
- package/metamodel/dochub/entities/contexts/base.yaml +197 -0
- package/metamodel/dochub/entities/contexts/plantuml.yaml +241 -0
- package/metamodel/dochub/entities/contexts/root.yaml +5 -0
- package/metamodel/dochub/entities/contexts/smartants.yaml +177 -0
- package/metamodel/dochub/entities/contexts/templates/template.puml +183 -0
- package/metamodel/dochub/entities/contexts/templates/tree.puml +5 -0
- package/metamodel/dochub/entities/contexts/tree.yaml +39 -0
- package/metamodel/dochub/entities/documents/base.yaml +73 -0
- package/metamodel/dochub/entities/documents/blank.yaml +28 -0
- package/metamodel/dochub/entities/documents/root.yaml +3 -0
- package/metamodel/dochub/entities/root.yaml +5 -0
- package/metamodel/dochub/functions/root.yaml +2 -0
- package/metamodel/dochub/functions/tools.yaml +46 -0
- package/metamodel/dochub/root.yaml +24 -0
- package/metamodel/dochub/rules/root.yaml +2 -0
- package/metamodel/dochub/rules/validators.yaml +144 -0
- package/metamodel/dochub/samples/01_components.yaml +23 -0
- package/metamodel/dochub/samples/02_contexts.yaml +23 -0
- package/metamodel/dochub/samples/03_documents.yaml +10 -0
- package/metamodel/dochub/samples/root.yaml +4 -0
- package/metamodel/dochub/samples/test.puml +17 -0
- package/metamodel/dochub.yaml +5 -0
- package/metamodel/docs/welcome.md +39 -0
- package/metamodel/root.yaml +8 -0
- package/package.json +28 -0
- package/plugin.html +1963 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# ⚠️ Важные особенности ⚠️
|
|
2
|
+
|
|
3
|
+
- После сохранения комментарии в файле будут утеряны
|
|
4
|
+
- На данный момент возможно указать только относительный путь для сохранения. Он рассчитывается от файла, где описана таблица
|
|
5
|
+
- При сохранении без использования форматирования `format` данные из таблицы вмерживаются в данные файла, что может сломать структуру
|
|
6
|
+
|
|
7
|
+
# Подготовим данные для новой таблицы
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
archtool.plugins.editable-table.editing.data:
|
|
11
|
+
row_1:
|
|
12
|
+
name: Иванов Иван Иванович
|
|
13
|
+
color: white
|
|
14
|
+
row_2:
|
|
15
|
+
name: Петров Петр Петрович
|
|
16
|
+
color: blue
|
|
17
|
+
row_3:
|
|
18
|
+
name: Семенов Семен Семенович
|
|
19
|
+
color:
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
# Создадим новую таблицу и наполним ее данными
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
docs:
|
|
26
|
+
archtool.plugins.editable-table.editing.table_1:
|
|
27
|
+
type: editable-table
|
|
28
|
+
|
|
29
|
+
origin:
|
|
30
|
+
body: >
|
|
31
|
+
($."archtool.plugins.editable-table.editing.data")
|
|
32
|
+
|
|
33
|
+
headers:
|
|
34
|
+
- value: name
|
|
35
|
+
width: 200px
|
|
36
|
+
- value: color
|
|
37
|
+
type: select
|
|
38
|
+
options:
|
|
39
|
+
- value: red
|
|
40
|
+
- value: blue
|
|
41
|
+
- value: white
|
|
42
|
+
width: 100px
|
|
43
|
+
source: >
|
|
44
|
+
(
|
|
45
|
+
{ "body": body }
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
# Начало редактирования
|
|
52
|
+
|
|
53
|
+
Редактируемые значения в таблице устанавливаются путем установки в `headers`:
|
|
54
|
+
|
|
55
|
+
- флага `editable` - указание, что значение редактируемое (значение по умолчанию - `false`)
|
|
56
|
+
- опций `save`/`path` - путь к файлу
|
|
57
|
+
|
|
58
|
+
Укажем флаг и путь для сохранения файла (пока укажем путь к файлу не подключенному к озеру)
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
archtool.plugins.editable-table.editing.table_2:
|
|
62
|
+
type: editable-table
|
|
63
|
+
new_row_allowed: false # Отключим создание новых строк
|
|
64
|
+
origin:
|
|
65
|
+
body: >
|
|
66
|
+
($."archtool.plugins.editable-table.editing.data")
|
|
67
|
+
|
|
68
|
+
headers:
|
|
69
|
+
- value: name
|
|
70
|
+
width: 200px
|
|
71
|
+
- value: color
|
|
72
|
+
type: select
|
|
73
|
+
options:
|
|
74
|
+
- value: red
|
|
75
|
+
- value: blue
|
|
76
|
+
- value: white
|
|
77
|
+
width: 100px
|
|
78
|
+
editable: false # Отключено (ссылка на репозиторий на главной странице плагина)
|
|
79
|
+
save:
|
|
80
|
+
path: data/test_data.yaml
|
|
81
|
+
source: >
|
|
82
|
+
(
|
|
83
|
+
{ "body": body }
|
|
84
|
+
)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+

|
|
88
|
+
|
|
89
|
+
Обратите внимание на текущее поведение:
|
|
90
|
+
|
|
91
|
+
- при сохранении данные таблицы вносятся поверх данных файла, т.о. часть данных может быть утеряна
|
|
92
|
+
- после сохранения, данные в таблице возвращаются к исходному виду, т.к. не подключены к озеру
|
|
93
|
+
- в сохраняемый файл попадают данные только из одной колонки
|
|
94
|
+
|
|
95
|
+
Давайте исправим это поведение.
|
|
96
|
+
|
|
97
|
+
# Редактируем данные в озере
|
|
98
|
+
|
|
99
|
+
Для решения части проблем воспользуется свойством `format`.
|
|
100
|
+
Это JSONata выражение позволяет получить данные из файла и таблицы, произвольным образом их преобразовать и сохранить результат.
|
|
101
|
+
|
|
102
|
+
В JSONata выражении доступны:
|
|
103
|
+
|
|
104
|
+
- Данные из файла как параметр (origin) "file" (зарезервированное имя)
|
|
105
|
+
- Слайс данных (данные из колонок сохраняемые по одному пути) из таблицы как параметр (origin) "table" (зарезервированное имя)
|
|
106
|
+
- Данные из всей таблицы как параметр (origin) "full_table" (зарезервированное имя)
|
|
107
|
+
- Все прочие описанные `origin`
|
|
108
|
+
|
|
109
|
+
Опишем `format`:
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
format: >
|
|
113
|
+
(
|
|
114
|
+
$key := $keys(file)[0];
|
|
115
|
+
{ $key: table }
|
|
116
|
+
)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Заменим путь сохранения на подключенный к озеру файл с `path: data/test_data.yaml` на `path: data/data.yaml`.
|
|
120
|
+
Для приведения данных в файле к одному типу, дополнительно будем сохранять первую колонку, но без возможности редактирования.
|
|
121
|
+
|
|
122
|
+
```yaml
|
|
123
|
+
headers:
|
|
124
|
+
- value: name
|
|
125
|
+
width: 200px
|
|
126
|
+
save:
|
|
127
|
+
path: data/data.yaml
|
|
128
|
+
- value: color
|
|
129
|
+
type: select
|
|
130
|
+
options:
|
|
131
|
+
- value: red
|
|
132
|
+
- value: blue
|
|
133
|
+
- value: white
|
|
134
|
+
width: 100px
|
|
135
|
+
editable: false # Отключено (ссылка на репозиторий на главной странице плагина)
|
|
136
|
+
save:
|
|
137
|
+
path: data/data.yaml
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Финальный вид:
|
|
141
|
+
|
|
142
|
+
```yaml
|
|
143
|
+
archtool.plugins.editable-table.editing.table_3:
|
|
144
|
+
type: editable-table
|
|
145
|
+
new_row_allowed: false # Отключим создание новых строк
|
|
146
|
+
origin:
|
|
147
|
+
body: >
|
|
148
|
+
($."archtool.plugins.editable-table.editing.data")
|
|
149
|
+
|
|
150
|
+
format: >
|
|
151
|
+
(
|
|
152
|
+
$key := $keys(file)[0];
|
|
153
|
+
{ $key: table }
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
headers:
|
|
157
|
+
- value: name
|
|
158
|
+
width: 200px
|
|
159
|
+
save:
|
|
160
|
+
path: data/data.yaml
|
|
161
|
+
- value: color
|
|
162
|
+
type: select
|
|
163
|
+
options:
|
|
164
|
+
- value: red
|
|
165
|
+
- value: blue
|
|
166
|
+
- value: white
|
|
167
|
+
width: 100px
|
|
168
|
+
editable: false # Отключено (ссылка на репозиторий на главной странице плагина)
|
|
169
|
+
save:
|
|
170
|
+
path: data/data.yaml
|
|
171
|
+
source: >
|
|
172
|
+
(
|
|
173
|
+
{ "body": body }
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+

|
|
179
|
+
|
|
180
|
+
Как можно заметить, данные в файле после сохранения, если значение в таблице не было заполнено, имеют вид:
|
|
181
|
+
|
|
182
|
+
```yaml
|
|
183
|
+
archtool.plugins.editable-table.editing.data":
|
|
184
|
+
row_1:
|
|
185
|
+
name: Иванов Иван Иванович
|
|
186
|
+
color:
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
# Поменяем пустые строки в сохраняемом файле на другое значение
|
|
190
|
+
|
|
191
|
+
Для этого воспользуемся свойством `yaml` / `null_replace_string`. Оно позволяет заменить пустые значения при сохранении.
|
|
192
|
+
|
|
193
|
+
```yaml
|
|
194
|
+
archtool.plugins.editable-table.editing.table_4:
|
|
195
|
+
type: editable-table
|
|
196
|
+
new_row_allowed: false # Отключим создание новых строк
|
|
197
|
+
yaml:
|
|
198
|
+
null_replace_string: "не заполнено"
|
|
199
|
+
|
|
200
|
+
origin:
|
|
201
|
+
body: >
|
|
202
|
+
($."archtool.plugins.editable-table.editing.data")
|
|
203
|
+
|
|
204
|
+
format: >
|
|
205
|
+
(
|
|
206
|
+
$key := $keys(file)[0];
|
|
207
|
+
{ $key: table }
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
headers:
|
|
211
|
+
- value: name
|
|
212
|
+
width: 200px
|
|
213
|
+
save:
|
|
214
|
+
path: data/data.yaml
|
|
215
|
+
- value: color
|
|
216
|
+
type: select
|
|
217
|
+
options:
|
|
218
|
+
- value: red
|
|
219
|
+
- value: blue
|
|
220
|
+
- value: white
|
|
221
|
+
width: 100px
|
|
222
|
+
editable: false # Отключено (ссылка на репозиторий на главной странице плагина)
|
|
223
|
+
save:
|
|
224
|
+
path: data/data.yaml
|
|
225
|
+
source: >
|
|
226
|
+
(
|
|
227
|
+
{ "body": body }
|
|
228
|
+
)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+

|
package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/data.yaml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
archtool.plugins.editable-table.styles.examples.base_example.data:
|
|
2
|
+
row_1:
|
|
3
|
+
name: Иванов Иван Иванович
|
|
4
|
+
gender: male
|
|
5
|
+
age: 36
|
|
6
|
+
colors: ["orange"]
|
|
7
|
+
row_2:
|
|
8
|
+
name: Петров Петр Петрович
|
|
9
|
+
age:
|
|
10
|
+
colors: ["green", "red", "teal"]
|
|
11
|
+
row_3:
|
|
12
|
+
name: Семенова Ирина Вячеславовна
|
|
13
|
+
gender: female
|
|
14
|
+
age: 10
|
|
15
|
+
colors:
|
|
16
|
+
row_4:
|
|
17
|
+
name: Семенов Семен Семенович
|
|
18
|
+
gender: male
|
|
19
|
+
age: 25
|
|
20
|
+
colors: ["green"]
|
|
21
|
+
row_5:
|
|
22
|
+
name: Александрова Алиса Ивановна
|
|
23
|
+
gender: female
|
|
24
|
+
age: 36
|
|
25
|
+
colors:
|
|
26
|
+
row_6:
|
|
27
|
+
name: Орлов Дмитрий Сергеевич
|
|
28
|
+
gender: male
|
|
29
|
+
age: 76
|
|
30
|
+
colors: ["teal", "blue"]
|
package/documentation/docs/manual/docs/editable_table/step_5_styles/examples/base_example/table.yaml
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
docs:
|
|
2
|
+
archtool.plugins.editable-table.styles.examples.base_example.table.step_1:
|
|
3
|
+
type: editable-table
|
|
4
|
+
origin:
|
|
5
|
+
body: >
|
|
6
|
+
($."archtool.plugins.editable-table.styles.examples.base_example.data")
|
|
7
|
+
headers:
|
|
8
|
+
- value: name
|
|
9
|
+
- value: gender
|
|
10
|
+
type: select
|
|
11
|
+
options:
|
|
12
|
+
- value: male
|
|
13
|
+
text: муж
|
|
14
|
+
- value: female
|
|
15
|
+
text: жен
|
|
16
|
+
- value: age
|
|
17
|
+
- value: colors
|
|
18
|
+
type: multiple-select
|
|
19
|
+
options:
|
|
20
|
+
- value: blue
|
|
21
|
+
text: Синий
|
|
22
|
+
- value: green
|
|
23
|
+
text: Зеленый
|
|
24
|
+
- value: red
|
|
25
|
+
text: Красный
|
|
26
|
+
- value: teal
|
|
27
|
+
text: Бирюзовый
|
|
28
|
+
- value: orange
|
|
29
|
+
text: Оранжевый
|
|
30
|
+
- value: yellow
|
|
31
|
+
text: Желтый
|
|
32
|
+
source: >
|
|
33
|
+
(
|
|
34
|
+
{ "body": body }
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
archtool.plugins.editable-table.styles.examples.base_example.table.step_2:
|
|
38
|
+
type: editable-table
|
|
39
|
+
origin:
|
|
40
|
+
body: >
|
|
41
|
+
($."archtool.plugins.editable-table.styles.examples.base_example.data")
|
|
42
|
+
headers:
|
|
43
|
+
- value: name
|
|
44
|
+
styles:
|
|
45
|
+
bold-font-for-ivan:
|
|
46
|
+
fontWeight: bold
|
|
47
|
+
conditions:
|
|
48
|
+
- condition_type: includes
|
|
49
|
+
value: Иван
|
|
50
|
+
|
|
51
|
+
- value: gender
|
|
52
|
+
type: select
|
|
53
|
+
options:
|
|
54
|
+
- value: male
|
|
55
|
+
text: муж
|
|
56
|
+
- value: female
|
|
57
|
+
text: жен
|
|
58
|
+
- value: age
|
|
59
|
+
styles:
|
|
60
|
+
default:
|
|
61
|
+
backgroundColor: blue
|
|
62
|
+
color: white
|
|
63
|
+
less-then-60:
|
|
64
|
+
backgroundColor: green
|
|
65
|
+
conditions:
|
|
66
|
+
- condition_type: "<"
|
|
67
|
+
value: 60
|
|
68
|
+
less-then-18:
|
|
69
|
+
backgroundColor: yellow
|
|
70
|
+
conditions:
|
|
71
|
+
- condition_type: "<"
|
|
72
|
+
value: 18
|
|
73
|
+
- value: colors
|
|
74
|
+
type: multiple-select
|
|
75
|
+
options:
|
|
76
|
+
- value: blue
|
|
77
|
+
text: Синий
|
|
78
|
+
- value: green
|
|
79
|
+
text: Зеленый
|
|
80
|
+
- value: red
|
|
81
|
+
text: Красный
|
|
82
|
+
- value: teal
|
|
83
|
+
text: Бирюзовый
|
|
84
|
+
- value: orange
|
|
85
|
+
text: Оранжевый
|
|
86
|
+
- value: yellow
|
|
87
|
+
text: Желтый
|
|
88
|
+
styles:
|
|
89
|
+
blue:
|
|
90
|
+
backgroundColor: blue
|
|
91
|
+
conditions:
|
|
92
|
+
- condition_type: equal
|
|
93
|
+
value: blue
|
|
94
|
+
green:
|
|
95
|
+
backgroundColor: green
|
|
96
|
+
conditions:
|
|
97
|
+
- condition_type: equal
|
|
98
|
+
value: green
|
|
99
|
+
red:
|
|
100
|
+
backgroundColor: red
|
|
101
|
+
conditions:
|
|
102
|
+
- condition_type: equal
|
|
103
|
+
value: red
|
|
104
|
+
teal:
|
|
105
|
+
backgroundColor: teal
|
|
106
|
+
conditions:
|
|
107
|
+
- condition_type: equal
|
|
108
|
+
value: teal
|
|
109
|
+
orange:
|
|
110
|
+
backgroundColor: orange
|
|
111
|
+
conditions:
|
|
112
|
+
- condition_type: equal
|
|
113
|
+
value: orange
|
|
114
|
+
yellow:
|
|
115
|
+
backgroundColor: yellow
|
|
116
|
+
conditions:
|
|
117
|
+
- condition_type: equal
|
|
118
|
+
value: yellow
|
|
119
|
+
source: >
|
|
120
|
+
(
|
|
121
|
+
{ "body": body }
|
|
122
|
+
)
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
# Задача
|
|
2
|
+
|
|
3
|
+
## Составить таблицу для данных
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
archtool.plugins.editable-table.styles.examples.base_example.data:
|
|
7
|
+
row_1:
|
|
8
|
+
name: Иванов Иван Иванович
|
|
9
|
+
gender: male
|
|
10
|
+
age: 36
|
|
11
|
+
colors: ["orange"]
|
|
12
|
+
row_2:
|
|
13
|
+
name: Петров Петр Петрович
|
|
14
|
+
age:
|
|
15
|
+
colors: ["green", "red", "teal"]
|
|
16
|
+
row_3:
|
|
17
|
+
name: Семенова Ирина Вячеславовна
|
|
18
|
+
gender: female
|
|
19
|
+
age: 10
|
|
20
|
+
colors:
|
|
21
|
+
row_4:
|
|
22
|
+
name: Семенов Семен Семенович
|
|
23
|
+
gender: male
|
|
24
|
+
age: 25
|
|
25
|
+
colors: ["green"]
|
|
26
|
+
row_5:
|
|
27
|
+
name: Александрова Алиса Ивановна
|
|
28
|
+
gender: female
|
|
29
|
+
age: 36
|
|
30
|
+
colors:
|
|
31
|
+
row_6:
|
|
32
|
+
name: Орлов Дмитрий Сергеевич
|
|
33
|
+
gender: male
|
|
34
|
+
age: 76
|
|
35
|
+
colors: ["teal", "blue"]
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Таблица должна состоять из 4 колонок:
|
|
39
|
+
|
|
40
|
+
- `name` - text
|
|
41
|
+
- `gender` - select
|
|
42
|
+
- `age` - text
|
|
43
|
+
- `colors` - multiple-select
|
|
44
|
+
|
|
45
|
+
## Стилизовать таблицу
|
|
46
|
+
|
|
47
|
+
1. `name` - если строка с именем содержит подстроку "Иван" - выделить текст жирным
|
|
48
|
+
2. `age`
|
|
49
|
+
|
|
50
|
+
- если возраст < 18 - сделать фон желтым
|
|
51
|
+
- если возраст > 18 и < 60 - сделать фон зеленым
|
|
52
|
+
- иначе сделать фон синим
|
|
53
|
+
- сделать цвет текста белым для всех
|
|
54
|
+
|
|
55
|
+
3. `colors` - каждое значение окрасить соответствующим цветом
|
|
56
|
+
|
|
57
|
+
# Решение
|
|
58
|
+
|
|
59
|
+
## Подготовим таблицу
|
|
60
|
+
|
|
61
|
+
```yaml
|
|
62
|
+
archtool.plugins.editable-table.styles.examples.base_example.table.step_1:
|
|
63
|
+
type: editable-table
|
|
64
|
+
origin:
|
|
65
|
+
body: >
|
|
66
|
+
($."archtool.plugins.editable-table.styles.examples.base_example.data")
|
|
67
|
+
headers:
|
|
68
|
+
- value: name
|
|
69
|
+
- value: gender
|
|
70
|
+
type: select
|
|
71
|
+
options:
|
|
72
|
+
- value: male
|
|
73
|
+
text: муж
|
|
74
|
+
- value: female
|
|
75
|
+
text: жен
|
|
76
|
+
- value: age
|
|
77
|
+
- value: colors
|
|
78
|
+
type: multiple-select
|
|
79
|
+
options:
|
|
80
|
+
- value: blue
|
|
81
|
+
text: Синий
|
|
82
|
+
- value: green
|
|
83
|
+
text: Зеленый
|
|
84
|
+
- value: red
|
|
85
|
+
text: Красный
|
|
86
|
+
- value: teal
|
|
87
|
+
text: Бирюзовый
|
|
88
|
+
- value: orange
|
|
89
|
+
text: Оранжевый
|
|
90
|
+
- value: yellow
|
|
91
|
+
text: Желтый
|
|
92
|
+
source: >
|
|
93
|
+
(
|
|
94
|
+
{ "body": body }
|
|
95
|
+
)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+

|
|
99
|
+
|
|
100
|
+
## Добавим стили
|
|
101
|
+
|
|
102
|
+
Для колонки `name`
|
|
103
|
+
|
|
104
|
+
```yaml
|
|
105
|
+
- value: name
|
|
106
|
+
styles:
|
|
107
|
+
bold-font-for-ivan:
|
|
108
|
+
fontWeight: bold
|
|
109
|
+
conditions:
|
|
110
|
+
- condition_type: includes
|
|
111
|
+
value: Иван
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Для колонки `age`
|
|
115
|
+
|
|
116
|
+
```yaml
|
|
117
|
+
- value: age
|
|
118
|
+
styles:
|
|
119
|
+
default:
|
|
120
|
+
backgroundColor: blue
|
|
121
|
+
color: white
|
|
122
|
+
less-then-60:
|
|
123
|
+
backgroundColor: green
|
|
124
|
+
conditions:
|
|
125
|
+
- condition_type: "<"
|
|
126
|
+
value: 60
|
|
127
|
+
less-then-18:
|
|
128
|
+
backgroundColor: yellow
|
|
129
|
+
conditions:
|
|
130
|
+
- condition_type: "<"
|
|
131
|
+
value: 18
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Для колонки `colors`
|
|
135
|
+
|
|
136
|
+
```yaml
|
|
137
|
+
- value: colors
|
|
138
|
+
type: multiple-select
|
|
139
|
+
options:
|
|
140
|
+
- value: blue
|
|
141
|
+
text: Синий
|
|
142
|
+
- value: green
|
|
143
|
+
text: Зеленый
|
|
144
|
+
- value: red
|
|
145
|
+
text: Красный
|
|
146
|
+
- value: teal
|
|
147
|
+
text: Бирюзовый
|
|
148
|
+
- value: orange
|
|
149
|
+
text: Оранжевый
|
|
150
|
+
- value: yellow
|
|
151
|
+
text: Желтый
|
|
152
|
+
styles:
|
|
153
|
+
blue:
|
|
154
|
+
backgroundColor: blue
|
|
155
|
+
conditions:
|
|
156
|
+
- condition_type: equal
|
|
157
|
+
value: blue
|
|
158
|
+
green:
|
|
159
|
+
backgroundColor: green
|
|
160
|
+
conditions:
|
|
161
|
+
- condition_type: equal
|
|
162
|
+
value: green
|
|
163
|
+
red:
|
|
164
|
+
backgroundColor: red
|
|
165
|
+
conditions:
|
|
166
|
+
- condition_type: equal
|
|
167
|
+
value: red
|
|
168
|
+
teal:
|
|
169
|
+
backgroundColor: teal
|
|
170
|
+
conditions:
|
|
171
|
+
- condition_type: equal
|
|
172
|
+
value: teal
|
|
173
|
+
orange:
|
|
174
|
+
backgroundColor: orange
|
|
175
|
+
conditions:
|
|
176
|
+
- condition_type: equal
|
|
177
|
+
value: orange
|
|
178
|
+
yellow:
|
|
179
|
+
backgroundColor: yellow
|
|
180
|
+
conditions:
|
|
181
|
+
- condition_type: equal
|
|
182
|
+
value: yellow
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Результат
|
|
186
|
+
|
|
187
|
+
```yaml
|
|
188
|
+
archtool.plugins.editable-table.styles.examples.base_example.table.step_2:
|
|
189
|
+
type: editable-table
|
|
190
|
+
origin:
|
|
191
|
+
body: >
|
|
192
|
+
($."archtool.plugins.editable-table.styles.examples.base_example.data")
|
|
193
|
+
headers:
|
|
194
|
+
- value: name
|
|
195
|
+
styles:
|
|
196
|
+
bold-font-for-ivan:
|
|
197
|
+
fontWeight: bold
|
|
198
|
+
conditions:
|
|
199
|
+
- condition_type: includes
|
|
200
|
+
value: Иван
|
|
201
|
+
|
|
202
|
+
- value: gender
|
|
203
|
+
type: select
|
|
204
|
+
options:
|
|
205
|
+
- value: male
|
|
206
|
+
text: муж
|
|
207
|
+
- value: female
|
|
208
|
+
text: жен
|
|
209
|
+
- value: age
|
|
210
|
+
styles:
|
|
211
|
+
default:
|
|
212
|
+
backgroundColor: blue
|
|
213
|
+
color: white
|
|
214
|
+
less-then-60:
|
|
215
|
+
backgroundColor: green
|
|
216
|
+
conditions:
|
|
217
|
+
- condition_type: "<"
|
|
218
|
+
value: 60
|
|
219
|
+
less-then-18:
|
|
220
|
+
backgroundColor: yellow
|
|
221
|
+
conditions:
|
|
222
|
+
- condition_type: "<"
|
|
223
|
+
value: 18
|
|
224
|
+
- value: colors
|
|
225
|
+
type: multiple-select
|
|
226
|
+
options:
|
|
227
|
+
- value: blue
|
|
228
|
+
text: Синий
|
|
229
|
+
- value: green
|
|
230
|
+
text: Зеленый
|
|
231
|
+
- value: red
|
|
232
|
+
text: Красный
|
|
233
|
+
- value: teal
|
|
234
|
+
text: Бирюзовый
|
|
235
|
+
- value: orange
|
|
236
|
+
text: Оранжевый
|
|
237
|
+
- value: yellow
|
|
238
|
+
text: Желтый
|
|
239
|
+
styles:
|
|
240
|
+
blue:
|
|
241
|
+
backgroundColor: blue
|
|
242
|
+
conditions:
|
|
243
|
+
- condition_type: equal
|
|
244
|
+
value: blue
|
|
245
|
+
green:
|
|
246
|
+
backgroundColor: green
|
|
247
|
+
conditions:
|
|
248
|
+
- condition_type: equal
|
|
249
|
+
value: green
|
|
250
|
+
red:
|
|
251
|
+
backgroundColor: red
|
|
252
|
+
conditions:
|
|
253
|
+
- condition_type: equal
|
|
254
|
+
value: red
|
|
255
|
+
teal:
|
|
256
|
+
backgroundColor: teal
|
|
257
|
+
conditions:
|
|
258
|
+
- condition_type: equal
|
|
259
|
+
value: teal
|
|
260
|
+
orange:
|
|
261
|
+
backgroundColor: orange
|
|
262
|
+
conditions:
|
|
263
|
+
- condition_type: equal
|
|
264
|
+
value: orange
|
|
265
|
+
yellow:
|
|
266
|
+
backgroundColor: yellow
|
|
267
|
+
conditions:
|
|
268
|
+
- condition_type: equal
|
|
269
|
+
value: yellow
|
|
270
|
+
source: >
|
|
271
|
+
(
|
|
272
|
+
{ "body": body }
|
|
273
|
+
)
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+

|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
archtool.plugins.editable-table.styles.examples.hiding_columns.data:
|
|
2
|
+
row_1:
|
|
3
|
+
column_1: Строка 1 Колонка 1
|
|
4
|
+
column_2: Строка 1 Колонка 2
|
|
5
|
+
column_3: Строка 1 Колонка 3
|
|
6
|
+
column_4: Строка 1 Колонка 4
|
|
7
|
+
row_2:
|
|
8
|
+
column_1: Строка 2 Колонка 1
|
|
9
|
+
column_2: Строка 2 Колонка 2
|
|
10
|
+
column_3: Строка 2 Колонка 3
|
|
11
|
+
column_4: Строка 2 Колонка 4
|