@simai-studio/mail 0.0.0-stage → 1.0.0
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.md +188 -0
- package/README.md +79 -2
- package/dist/package-receipt.json +1176 -0
- package/dist/set.json +97 -0
- package/dist/smart/mail-canvas/component.json +562 -0
- package/dist/smart/mail-canvas/component.json.gz +0 -0
- package/dist/smart/mail-canvas/css/mail-canvas.css +85 -0
- package/dist/smart/mail-canvas/css/mail-canvas.css.gz +0 -0
- package/dist/smart/mail-canvas/css/mail-canvas.min.css +2 -0
- package/dist/smart/mail-canvas/css/mail-canvas.min.css.gz +0 -0
- package/dist/smart/mail-canvas/examples.json +731 -0
- package/dist/smart/mail-canvas/examples.json.gz +0 -0
- package/dist/smart/mail-canvas/js/mail-canvas.js +1039 -0
- package/dist/smart/mail-canvas/js/mail-canvas.js.gz +0 -0
- package/dist/smart/mail-canvas/js/mail-canvas.min.js +22 -0
- package/dist/smart/mail-canvas/js/mail-canvas.min.js.gz +0 -0
- package/dist/smart/mail-canvas/lang/en.json +25 -0
- package/dist/smart/mail-canvas/lang/en.json.gz +0 -0
- package/dist/smart/mail-canvas/lang/ru.json +25 -0
- package/dist/smart/mail-canvas/lang/ru.json.gz +0 -0
- package/dist/smart/mail-canvas/probe.json +465 -0
- package/dist/smart/mail-canvas/probe.json.gz +0 -0
- package/dist/smart/mail-canvas/smart.manifest.json +550 -0
- package/dist/smart/mail-canvas/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-canvas/static/default/notes.html +43 -0
- package/dist/smart/mail-canvas/static/default/notes.html.gz +0 -0
- package/dist/smart/mail-canvas/static/default/phone.html +43 -0
- package/dist/smart/mail-canvas/static/default/phone.html.gz +0 -0
- package/dist/smart/mail-canvas/static/default/reference.html +48 -0
- package/dist/smart/mail-canvas/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-canvas/static/sheets.json +132 -0
- package/dist/smart/mail-canvas/static/sheets.json.gz +0 -0
- package/dist/smart/mail-canvas/studio.fixture.json +63 -0
- package/dist/smart/mail-canvas/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-canvas/studio.scenario.json +39 -0
- package/dist/smart/mail-canvas/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-canvas/template/default.css +73 -0
- package/dist/smart/mail-canvas/template/default.css.gz +0 -0
- package/dist/smart/mail-canvas/template/default.js +38 -0
- package/dist/smart/mail-canvas/template/default.js.gz +0 -0
- package/dist/smart/mail-inspector/component.json +768 -0
- package/dist/smart/mail-inspector/component.json.gz +0 -0
- package/dist/smart/mail-inspector/css/mail-inspector.css +194 -0
- package/dist/smart/mail-inspector/css/mail-inspector.css.gz +0 -0
- package/dist/smart/mail-inspector/css/mail-inspector.min.css +2 -0
- package/dist/smart/mail-inspector/css/mail-inspector.min.css.gz +0 -0
- package/dist/smart/mail-inspector/examples.json +1301 -0
- package/dist/smart/mail-inspector/examples.json.gz +0 -0
- package/dist/smart/mail-inspector/js/mail-inspector.js +1619 -0
- package/dist/smart/mail-inspector/js/mail-inspector.js.gz +0 -0
- package/dist/smart/mail-inspector/js/mail-inspector.min.js +103 -0
- package/dist/smart/mail-inspector/js/mail-inspector.min.js.gz +0 -0
- package/dist/smart/mail-inspector/lang/en.json +29 -0
- package/dist/smart/mail-inspector/lang/en.json.gz +0 -0
- package/dist/smart/mail-inspector/lang/ru.json +29 -0
- package/dist/smart/mail-inspector/lang/ru.json.gz +0 -0
- package/dist/smart/mail-inspector/probe.json +648 -0
- package/dist/smart/mail-inspector/probe.json.gz +0 -0
- package/dist/smart/mail-inspector/smart.manifest.json +920 -0
- package/dist/smart/mail-inspector/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-inspector/static/default/item.html +189 -0
- package/dist/smart/mail-inspector/static/default/item.html.gz +0 -0
- package/dist/smart/mail-inspector/static/default/letter.html +247 -0
- package/dist/smart/mail-inspector/static/default/letter.html.gz +0 -0
- package/dist/smart/mail-inspector/static/default/reference.html +545 -0
- package/dist/smart/mail-inspector/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-inspector/static/sheets.json +226 -0
- package/dist/smart/mail-inspector/static/sheets.json.gz +0 -0
- package/dist/smart/mail-inspector/studio.fixture.json +232 -0
- package/dist/smart/mail-inspector/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-inspector/studio.scenario.json +43 -0
- package/dist/smart/mail-inspector/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-inspector/template/default.css +190 -0
- package/dist/smart/mail-inspector/template/default.css.gz +0 -0
- package/dist/smart/mail-inspector/template/default.js +249 -0
- package/dist/smart/mail-inspector/template/default.js.gz +0 -0
- package/dist/smart/mail-letters/component.json +455 -0
- package/dist/smart/mail-letters/component.json.gz +0 -0
- package/dist/smart/mail-letters/css/mail-letters.css +72 -0
- package/dist/smart/mail-letters/css/mail-letters.css.gz +0 -0
- package/dist/smart/mail-letters/css/mail-letters.min.css +2 -0
- package/dist/smart/mail-letters/css/mail-letters.min.css.gz +0 -0
- package/dist/smart/mail-letters/examples.json +477 -0
- package/dist/smart/mail-letters/examples.json.gz +0 -0
- package/dist/smart/mail-letters/js/mail-letters.js +1772 -0
- package/dist/smart/mail-letters/js/mail-letters.js.gz +0 -0
- package/dist/smart/mail-letters/js/mail-letters.min.js +35 -0
- package/dist/smart/mail-letters/js/mail-letters.min.js.gz +0 -0
- package/dist/smart/mail-letters/lang/en.json +29 -0
- package/dist/smart/mail-letters/lang/en.json.gz +0 -0
- package/dist/smart/mail-letters/lang/ru.json +31 -0
- package/dist/smart/mail-letters/lang/ru.json.gz +0 -0
- package/dist/smart/mail-letters/probe.json +290 -0
- package/dist/smart/mail-letters/probe.json.gz +0 -0
- package/dist/smart/mail-letters/smart.manifest.json +476 -0
- package/dist/smart/mail-letters/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-letters/static/default/by-title.html +177 -0
- package/dist/smart/mail-letters/static/default/by-title.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/empty.html +88 -0
- package/dist/smart/mail-letters/static/default/empty.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/nothing-found.html +88 -0
- package/dist/smart/mail-letters/static/default/nothing-found.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/reference.html +168 -0
- package/dist/smart/mail-letters/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-letters/static/sheets.json +245 -0
- package/dist/smart/mail-letters/static/sheets.json.gz +0 -0
- package/dist/smart/mail-letters/studio.fixture.json +41 -0
- package/dist/smart/mail-letters/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-letters/studio.scenario.json +41 -0
- package/dist/smart/mail-letters/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-letters/template/default.css +79 -0
- package/dist/smart/mail-letters/template/default.css.gz +0 -0
- package/dist/smart/mail-letters/template/default.js +61 -0
- package/dist/smart/mail-letters/template/default.js.gz +0 -0
- package/dist/smart/mail-library/component.json +512 -0
- package/dist/smart/mail-library/component.json.gz +0 -0
- package/dist/smart/mail-library/css/mail-library.css +149 -0
- package/dist/smart/mail-library/css/mail-library.css.gz +0 -0
- package/dist/smart/mail-library/css/mail-library.min.css +2 -0
- package/dist/smart/mail-library/css/mail-library.min.css.gz +0 -0
- package/dist/smart/mail-library/examples.json +616 -0
- package/dist/smart/mail-library/examples.json.gz +0 -0
- package/dist/smart/mail-library/js/mail-library.js +559 -0
- package/dist/smart/mail-library/js/mail-library.js.gz +0 -0
- package/dist/smart/mail-library/js/mail-library.min.js +52 -0
- package/dist/smart/mail-library/js/mail-library.min.js.gz +0 -0
- package/dist/smart/mail-library/lang/en.json +21 -0
- package/dist/smart/mail-library/lang/en.json.gz +0 -0
- package/dist/smart/mail-library/lang/ru.json +21 -0
- package/dist/smart/mail-library/lang/ru.json.gz +0 -0
- package/dist/smart/mail-library/probe.json +275 -0
- package/dist/smart/mail-library/probe.json.gz +0 -0
- package/dist/smart/mail-library/smart.manifest.json +512 -0
- package/dist/smart/mail-library/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-library/static/default/category.html +85 -0
- package/dist/smart/mail-library/static/default/category.html.gz +0 -0
- package/dist/smart/mail-library/static/default/nothing-found.html +81 -0
- package/dist/smart/mail-library/static/default/nothing-found.html.gz +0 -0
- package/dist/smart/mail-library/static/default/one-group.html +67 -0
- package/dist/smart/mail-library/static/default/one-group.html.gz +0 -0
- package/dist/smart/mail-library/static/default/reference.html +135 -0
- package/dist/smart/mail-library/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-library/static/sheets.json +180 -0
- package/dist/smart/mail-library/static/sheets.json.gz +0 -0
- package/dist/smart/mail-library/studio.fixture.json +75 -0
- package/dist/smart/mail-library/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-library/studio.scenario.json +41 -0
- package/dist/smart/mail-library/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-library/template/default.css +133 -0
- package/dist/smart/mail-library/template/default.css.gz +0 -0
- package/dist/smart/mail-library/template/default.js +83 -0
- package/dist/smart/mail-library/template/default.js.gz +0 -0
- package/dist/smart/mail-structure/component.json +497 -0
- package/dist/smart/mail-structure/component.json.gz +0 -0
- package/dist/smart/mail-structure/css/mail-structure.css +106 -0
- package/dist/smart/mail-structure/css/mail-structure.css.gz +0 -0
- package/dist/smart/mail-structure/css/mail-structure.min.css +2 -0
- package/dist/smart/mail-structure/css/mail-structure.min.css.gz +0 -0
- package/dist/smart/mail-structure/examples.json +286 -0
- package/dist/smart/mail-structure/examples.json.gz +0 -0
- package/dist/smart/mail-structure/js/mail-structure.js +767 -0
- package/dist/smart/mail-structure/js/mail-structure.js.gz +0 -0
- package/dist/smart/mail-structure/js/mail-structure.min.js +48 -0
- package/dist/smart/mail-structure/js/mail-structure.min.js.gz +0 -0
- package/dist/smart/mail-structure/lang/en.json +22 -0
- package/dist/smart/mail-structure/lang/en.json.gz +0 -0
- package/dist/smart/mail-structure/lang/ru.json +22 -0
- package/dist/smart/mail-structure/lang/ru.json.gz +0 -0
- package/dist/smart/mail-structure/probe.json +112 -0
- package/dist/smart/mail-structure/probe.json.gz +0 -0
- package/dist/smart/mail-structure/smart.manifest.json +495 -0
- package/dist/smart/mail-structure/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-structure/static/default/empty.html +76 -0
- package/dist/smart/mail-structure/static/default/empty.html.gz +0 -0
- package/dist/smart/mail-structure/static/default/reference.html +98 -0
- package/dist/smart/mail-structure/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-structure/static/default/settings.html +98 -0
- package/dist/smart/mail-structure/static/default/settings.html.gz +0 -0
- package/dist/smart/mail-structure/static/sheets.json +142 -0
- package/dist/smart/mail-structure/static/sheets.json.gz +0 -0
- package/dist/smart/mail-structure/studio.fixture.json +45 -0
- package/dist/smart/mail-structure/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-structure/studio.scenario.json +42 -0
- package/dist/smart/mail-structure/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-structure/template/default.css +100 -0
- package/dist/smart/mail-structure/template/default.css.gz +0 -0
- package/dist/smart/mail-structure/template/default.js +80 -0
- package/dist/smart/mail-structure/template/default.js.gz +0 -0
- package/dist/smart/rule.js +161 -0
- package/dist/smart/rule.js.gz +0 -0
- package/package.json +29 -4
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "The source of sf-mail-inspector's element plumbing (core/js/element-manifest.js); standard simai.smart-component 1.4, vocabulary 1.1.5. Written for simai/ui-mail by the owner's decision D31 of 2026-10-29: a product repository makes no component set of its own, the shared components live in ui-pro. Written by hand in the 1.4 form on the shape of sf-mail-structure; x-decisions says how each point was decided.",
|
|
3
|
+
"id": "smart.mail-inspector",
|
|
4
|
+
"tag": "sf-mail-inspector",
|
|
5
|
+
"version": "1.1.5",
|
|
6
|
+
"kind": "leaf",
|
|
7
|
+
"family": "form",
|
|
8
|
+
"settings": {
|
|
9
|
+
"heading": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"default": "",
|
|
12
|
+
"summary": "What is being edited, in the person's language: the panel's title."
|
|
13
|
+
},
|
|
14
|
+
"heading-icon": {
|
|
15
|
+
"type": "icon",
|
|
16
|
+
"default": "",
|
|
17
|
+
"summary": "The icon before the heading."
|
|
18
|
+
},
|
|
19
|
+
"form-key": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"default": "",
|
|
22
|
+
"summary": "Whose form this is (a block's id, say). When it changes the form is drawn anew and text typed for the previous one is dropped."
|
|
23
|
+
},
|
|
24
|
+
"tab": {
|
|
25
|
+
"type": "id",
|
|
26
|
+
"default": "",
|
|
27
|
+
"summary": "The tab shown, by id; empty is the first."
|
|
28
|
+
},
|
|
29
|
+
"levels": {
|
|
30
|
+
"type": "list",
|
|
31
|
+
"default": [],
|
|
32
|
+
"of": {
|
|
33
|
+
"text": "string"
|
|
34
|
+
},
|
|
35
|
+
"entries": {
|
|
36
|
+
"key": "text",
|
|
37
|
+
"changes": "content"
|
|
38
|
+
},
|
|
39
|
+
"x-markup": "a property; text is text, never markup.",
|
|
40
|
+
"summary": "The path, top first: [{text}], the last is where the person is. Two or more are drawn as the path. One is not drawn, but Escape still asks for what is above it."
|
|
41
|
+
},
|
|
42
|
+
"head-actions": {
|
|
43
|
+
"type": "list",
|
|
44
|
+
"default": [],
|
|
45
|
+
"of": "string",
|
|
46
|
+
"summary": "The actions beside the heading, in order: any of duplicate, delete, replace."
|
|
47
|
+
},
|
|
48
|
+
"notice": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"default": {},
|
|
51
|
+
"x-markup": "a property; text and action are text, never markup.",
|
|
52
|
+
"summary": "A line under the heading: {text, action}. With action it has a button of that name, which sends notice-action."
|
|
53
|
+
},
|
|
54
|
+
"tabs": {
|
|
55
|
+
"type": "list",
|
|
56
|
+
"default": [],
|
|
57
|
+
"of": {
|
|
58
|
+
"id": "id",
|
|
59
|
+
"label": "string",
|
|
60
|
+
"slot": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"entries": {
|
|
66
|
+
"key": "id",
|
|
67
|
+
"changes": "content"
|
|
68
|
+
},
|
|
69
|
+
"summary": "The tabs: {id, label, slot}. A tab with slot shows the host's own panel from that slot; a tab without one shows the form (sections). Empty draws the form with no tabs."
|
|
70
|
+
},
|
|
71
|
+
"sections": {
|
|
72
|
+
"type": "list",
|
|
73
|
+
"default": [],
|
|
74
|
+
"of": {
|
|
75
|
+
"key": "id",
|
|
76
|
+
"title": "string",
|
|
77
|
+
"fields": "list"
|
|
78
|
+
},
|
|
79
|
+
"entries": {
|
|
80
|
+
"key": "key",
|
|
81
|
+
"changes": "content"
|
|
82
|
+
},
|
|
83
|
+
"x-markup": "a property (a host has objects); every text in it is text, never markup.",
|
|
84
|
+
"summary": "The form: {key, title, fields}. One section needs no disclosure, its fields stand on their own. A field is {kind, path, label, value, error, hint, placeholder, required, disabled, ...}; x-registry.contracts.field says each kind."
|
|
85
|
+
},
|
|
86
|
+
"closed-sections": {
|
|
87
|
+
"type": "list",
|
|
88
|
+
"default": [],
|
|
89
|
+
"of": "string",
|
|
90
|
+
"summary": "The keys of the sections the person closed. The element keeps it up to date as the person toggles; a host that remembers it longer passes it back. A key shared by two forms is remembered across them."
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"values": {},
|
|
94
|
+
"events": {
|
|
95
|
+
"change": {
|
|
96
|
+
"carries": {
|
|
97
|
+
"path": "string",
|
|
98
|
+
"value": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"summary": "The raw text as typed, the chosen value, or a boolean from a switch."
|
|
101
|
+
},
|
|
102
|
+
"typed": "boolean"
|
|
103
|
+
},
|
|
104
|
+
"x-summary": "the person changed a field (vocabulary §5 change). value is what they typed, raw, unvalidated; typed says it came from typing, so a host can coalesce the writes.",
|
|
105
|
+
"summary": "This field now reads this: {path, value, typed}."
|
|
106
|
+
},
|
|
107
|
+
"attach": {
|
|
108
|
+
"carries": {
|
|
109
|
+
"path": "string",
|
|
110
|
+
"files": "list"
|
|
111
|
+
},
|
|
112
|
+
"x-summary": "a file was chosen for or dropped on an image field (vocabulary §5 attach). The host stores it and passes the stored value back, or an error.",
|
|
113
|
+
"summary": "Store these files for this field: {path, files}."
|
|
114
|
+
},
|
|
115
|
+
"detach": {
|
|
116
|
+
"carries": {
|
|
117
|
+
"path": "string"
|
|
118
|
+
},
|
|
119
|
+
"x-summary": "«Убрать» on an image that is not required (vocabulary §5 detach).",
|
|
120
|
+
"summary": "Remove this field's image: {path}."
|
|
121
|
+
},
|
|
122
|
+
"toggle": {
|
|
123
|
+
"carries": {
|
|
124
|
+
"key": "id",
|
|
125
|
+
"open": "boolean"
|
|
126
|
+
},
|
|
127
|
+
"x-summary": "a section was opened or closed (vocabulary §5 toggle). The element has already done it: this is view state.",
|
|
128
|
+
"summary": "This section is now open or closed: {key, open}."
|
|
129
|
+
},
|
|
130
|
+
"level": {
|
|
131
|
+
"carries": {
|
|
132
|
+
"index": "number"
|
|
133
|
+
},
|
|
134
|
+
"own-verb": true,
|
|
135
|
+
"x-summary": "a press on the path or Escape asked for a level (a verb of this element). Escape asks for the one above the last, so with one level its index is -1: what is above what is drawn.",
|
|
136
|
+
"summary": "Go to this level of the path: {index}."
|
|
137
|
+
},
|
|
138
|
+
"tab": {
|
|
139
|
+
"carries": {
|
|
140
|
+
"id": "id"
|
|
141
|
+
},
|
|
142
|
+
"own-verb": true,
|
|
143
|
+
"x-summary": "the person chose a tab (a verb of this element, as sf-tabs-change is its own). sf-tabs has shown it already.",
|
|
144
|
+
"summary": "This tab was chosen: {id}."
|
|
145
|
+
},
|
|
146
|
+
"notice-action": {
|
|
147
|
+
"carries": {},
|
|
148
|
+
"own-verb": true,
|
|
149
|
+
"x-summary": "the button of the notice was pressed (a verb of this element).",
|
|
150
|
+
"summary": "The notice's button was pressed."
|
|
151
|
+
},
|
|
152
|
+
"duplicate": {
|
|
153
|
+
"carries": {},
|
|
154
|
+
"own-verb": true,
|
|
155
|
+
"x-summary": "«Дублировать» beside the heading (a verb of this element, as sf-mail-structure's).",
|
|
156
|
+
"summary": "Make a copy of what is being edited."
|
|
157
|
+
},
|
|
158
|
+
"delete": {
|
|
159
|
+
"carries": {},
|
|
160
|
+
"x-summary": "«Удалить» beside the heading (vocabulary §5 delete; what is meant is the host's: the element holds no ids).",
|
|
161
|
+
"summary": "Remove what is being edited."
|
|
162
|
+
},
|
|
163
|
+
"replace": {
|
|
164
|
+
"carries": {},
|
|
165
|
+
"x-summary": "«Сменить вариант…» beside the heading (vocabulary §5 replace): the host shows the variants.",
|
|
166
|
+
"summary": "Another variant of what is being edited was asked for."
|
|
167
|
+
},
|
|
168
|
+
"item-toggle": {
|
|
169
|
+
"carries": {
|
|
170
|
+
"path": "string",
|
|
171
|
+
"index": "number",
|
|
172
|
+
"open": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"own-verb": true,
|
|
175
|
+
"x-summary": "an item's disclosure was pressed (a verb of this element). The host passes field.open back.",
|
|
176
|
+
"summary": "Open or close this item: {path, index, open}."
|
|
177
|
+
},
|
|
178
|
+
"item-add": {
|
|
179
|
+
"carries": {
|
|
180
|
+
"path": "string"
|
|
181
|
+
},
|
|
182
|
+
"own-verb": true,
|
|
183
|
+
"x-summary": "«Добавить элемент» (a verb of this element). Never sent at max.",
|
|
184
|
+
"summary": "Add an item to this list: {path}."
|
|
185
|
+
},
|
|
186
|
+
"item-move": {
|
|
187
|
+
"carries": {
|
|
188
|
+
"path": "string",
|
|
189
|
+
"from": "number",
|
|
190
|
+
"to": "number"
|
|
191
|
+
},
|
|
192
|
+
"own-verb": true,
|
|
193
|
+
"x-summary": "a drag, Alt+arrows or ⋯ asked to move an item (a verb of this element; carries a list's path, which vocabulary move does not). to is the final place. Nothing in a list is pinned.",
|
|
194
|
+
"summary": "Move an item within its list: {path, from, to}."
|
|
195
|
+
},
|
|
196
|
+
"item-duplicate": {
|
|
197
|
+
"carries": {
|
|
198
|
+
"path": "string",
|
|
199
|
+
"index": "number"
|
|
200
|
+
},
|
|
201
|
+
"own-verb": true,
|
|
202
|
+
"x-summary": "«Дублировать» under ⋯ (a verb of this element). Never sent at max.",
|
|
203
|
+
"summary": "Make a copy of this item: {path, index}."
|
|
204
|
+
},
|
|
205
|
+
"item-delete": {
|
|
206
|
+
"carries": {
|
|
207
|
+
"path": "string",
|
|
208
|
+
"index": "number"
|
|
209
|
+
},
|
|
210
|
+
"own-verb": true,
|
|
211
|
+
"x-summary": "«Удалить» under ⋯ (a verb of this element). Never sent at min.",
|
|
212
|
+
"summary": "Remove this item: {path, index}."
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"actions": {
|
|
216
|
+
"duplicate": {
|
|
217
|
+
"with": {},
|
|
218
|
+
"x-outcomes": [
|
|
219
|
+
"applied",
|
|
220
|
+
"refused"
|
|
221
|
+
],
|
|
222
|
+
"x-summary": "what «Дублировать» does; refused unknown when head-actions does not offer it",
|
|
223
|
+
"summary": "what «Дублировать» does; refused unknown when head-actions does not offer it",
|
|
224
|
+
"x-returns": {
|
|
225
|
+
"type": "object",
|
|
226
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"delete": {
|
|
230
|
+
"with": {},
|
|
231
|
+
"x-outcomes": [
|
|
232
|
+
"applied",
|
|
233
|
+
"refused"
|
|
234
|
+
],
|
|
235
|
+
"x-summary": "what «Удалить» does; refused unknown when head-actions does not offer it",
|
|
236
|
+
"summary": "what «Удалить» does; refused unknown when head-actions does not offer it",
|
|
237
|
+
"x-returns": {
|
|
238
|
+
"type": "object",
|
|
239
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"replace": {
|
|
243
|
+
"with": {},
|
|
244
|
+
"x-outcomes": [
|
|
245
|
+
"applied",
|
|
246
|
+
"refused"
|
|
247
|
+
],
|
|
248
|
+
"x-summary": "what «Сменить вариант…» does; refused unknown when head-actions does not offer it",
|
|
249
|
+
"summary": "what «Сменить вариант…» does; refused unknown when head-actions does not offer it",
|
|
250
|
+
"x-returns": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"level-up": {
|
|
256
|
+
"with": {},
|
|
257
|
+
"x-outcomes": [
|
|
258
|
+
"applied",
|
|
259
|
+
"refused"
|
|
260
|
+
],
|
|
261
|
+
"x-summary": "what Escape does; refused top with no levels",
|
|
262
|
+
"summary": "what Escape does; refused top with no levels",
|
|
263
|
+
"x-returns": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"description": "{outcome: applied} or {outcome: refused, reason: top}"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"go-to-level": {
|
|
269
|
+
"with": {
|
|
270
|
+
"index": "number"
|
|
271
|
+
},
|
|
272
|
+
"x-outcomes": [
|
|
273
|
+
"applied",
|
|
274
|
+
"refused"
|
|
275
|
+
],
|
|
276
|
+
"x-summary": "what a press on the path does; refused unknown",
|
|
277
|
+
"summary": "what a press on the path does; refused unknown",
|
|
278
|
+
"x-returns": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"open-tab": {
|
|
284
|
+
"with": {
|
|
285
|
+
"id": "id"
|
|
286
|
+
},
|
|
287
|
+
"x-outcomes": [
|
|
288
|
+
"applied",
|
|
289
|
+
"refused"
|
|
290
|
+
],
|
|
291
|
+
"x-summary": "asks for a tab as a press does: sends tab, the host passes it back; refused unknown",
|
|
292
|
+
"summary": "asks for a tab as a press does: sends tab, the host passes it back; refused unknown",
|
|
293
|
+
"x-returns": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"toggle-section": {
|
|
299
|
+
"with": {
|
|
300
|
+
"key": "id"
|
|
301
|
+
},
|
|
302
|
+
"x-outcomes": [
|
|
303
|
+
"applied",
|
|
304
|
+
"refused"
|
|
305
|
+
],
|
|
306
|
+
"x-summary": "opens or closes a section as its heading does; refused unknown",
|
|
307
|
+
"summary": "opens or closes a section as its heading does; refused unknown",
|
|
308
|
+
"x-returns": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"item-toggle": {
|
|
314
|
+
"with": {
|
|
315
|
+
"path": "string",
|
|
316
|
+
"index": "number"
|
|
317
|
+
},
|
|
318
|
+
"x-outcomes": [
|
|
319
|
+
"applied",
|
|
320
|
+
"refused"
|
|
321
|
+
],
|
|
322
|
+
"x-summary": "what an item's disclosure does; refused unknown",
|
|
323
|
+
"summary": "what an item's disclosure does; refused unknown",
|
|
324
|
+
"x-returns": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"item-add": {
|
|
330
|
+
"with": {
|
|
331
|
+
"path": "string"
|
|
332
|
+
},
|
|
333
|
+
"x-outcomes": [
|
|
334
|
+
"applied",
|
|
335
|
+
"refused"
|
|
336
|
+
],
|
|
337
|
+
"x-summary": "what «Добавить элемент» does; refused unknown, full",
|
|
338
|
+
"summary": "what «Добавить элемент» does; refused unknown, full",
|
|
339
|
+
"x-returns": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | full}"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"item-move": {
|
|
345
|
+
"with": {
|
|
346
|
+
"path": "string",
|
|
347
|
+
"index": "number",
|
|
348
|
+
"to": {
|
|
349
|
+
"type": "number",
|
|
350
|
+
"optional": true
|
|
351
|
+
},
|
|
352
|
+
"by": {
|
|
353
|
+
"type": "number",
|
|
354
|
+
"optional": true
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"x-outcomes": [
|
|
358
|
+
"applied",
|
|
359
|
+
"refused"
|
|
360
|
+
],
|
|
361
|
+
"x-summary": "asks to move an item to a place or by steps; refused unknown, unchanged",
|
|
362
|
+
"summary": "asks to move an item to a place or by steps; refused unknown, unchanged",
|
|
363
|
+
"x-returns": {
|
|
364
|
+
"type": "object",
|
|
365
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | unchanged}"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"item-duplicate": {
|
|
369
|
+
"with": {
|
|
370
|
+
"path": "string",
|
|
371
|
+
"index": "number"
|
|
372
|
+
},
|
|
373
|
+
"x-outcomes": [
|
|
374
|
+
"applied",
|
|
375
|
+
"refused"
|
|
376
|
+
],
|
|
377
|
+
"x-summary": "what «Дублировать» under ⋯ does; refused unknown, full",
|
|
378
|
+
"summary": "what «Дублировать» under ⋯ does; refused unknown, full",
|
|
379
|
+
"x-returns": {
|
|
380
|
+
"type": "object",
|
|
381
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | full}"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"item-delete": {
|
|
385
|
+
"with": {
|
|
386
|
+
"path": "string",
|
|
387
|
+
"index": "number"
|
|
388
|
+
},
|
|
389
|
+
"x-outcomes": [
|
|
390
|
+
"applied",
|
|
391
|
+
"refused"
|
|
392
|
+
],
|
|
393
|
+
"x-summary": "what «Удалить» under ⋯ does; refused unknown, least",
|
|
394
|
+
"summary": "what «Удалить» under ⋯ does; refused unknown, least",
|
|
395
|
+
"x-returns": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | least}"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"focus-item": {
|
|
401
|
+
"with": {
|
|
402
|
+
"path": "string",
|
|
403
|
+
"index": "number"
|
|
404
|
+
},
|
|
405
|
+
"x-outcomes": [
|
|
406
|
+
"applied",
|
|
407
|
+
"refused"
|
|
408
|
+
],
|
|
409
|
+
"x-summary": "puts the focus on an item's disclosure, after the draw; refused unknown with no path",
|
|
410
|
+
"summary": "puts the focus on an item's disclosure, after the draw; refused unknown with no path",
|
|
411
|
+
"x-returns": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"slots": {
|
|
418
|
+
"brand": {
|
|
419
|
+
"$comment": "The host's panel of the tab whose slot names it. Slot names are the tabs'; these three are the editor's."
|
|
420
|
+
},
|
|
421
|
+
"images": {
|
|
422
|
+
"$comment": "As brand."
|
|
423
|
+
},
|
|
424
|
+
"versions": {
|
|
425
|
+
"$comment": "As brand."
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"keyboard": {
|
|
429
|
+
"host": {
|
|
430
|
+
"Tab": "reach",
|
|
431
|
+
"Escape": "level"
|
|
432
|
+
},
|
|
433
|
+
"item": {
|
|
434
|
+
"Enter": "toggle",
|
|
435
|
+
"Space": "toggle",
|
|
436
|
+
"Alt+ArrowUp": "move",
|
|
437
|
+
"Alt+ArrowDown": "move",
|
|
438
|
+
"Shift+F10": "menu",
|
|
439
|
+
"ContextMenu": "menu"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"relations": [
|
|
443
|
+
{
|
|
444
|
+
"name": "accordion"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "cl-icon"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "cl-input"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "cl-input-textarea"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "cl-dropdown"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "cl-switch"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "cl-input-image"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "cl-sortable"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "cl-tabs"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "cl-breadcrumbs"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "cl-button"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "cl-button-icon"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "cl-menu-context",
|
|
481
|
+
"lazy": true
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"templates": {
|
|
485
|
+
"default": {
|
|
486
|
+
"file": "js/templates/default.js",
|
|
487
|
+
"$comment": "The Lit template in JavaScript, the migration form of §5.2 (§16)."
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"styles": "js/templates/default.css",
|
|
491
|
+
"examples": "examples.json",
|
|
492
|
+
"docs": "docs.md",
|
|
493
|
+
"lang": "lang/",
|
|
494
|
+
"accessibility": {
|
|
495
|
+
"role": "form",
|
|
496
|
+
"name": {
|
|
497
|
+
"from": [
|
|
498
|
+
"settings.heading"
|
|
499
|
+
]
|
|
500
|
+
},
|
|
501
|
+
"keys": {
|
|
502
|
+
"Tab": "reach",
|
|
503
|
+
"Escape": "level",
|
|
504
|
+
"Enter": "toggle",
|
|
505
|
+
"Space": "toggle",
|
|
506
|
+
"Alt+ArrowUp": "move",
|
|
507
|
+
"Alt+ArrowDown": "move",
|
|
508
|
+
"Shift+F10": "menu"
|
|
509
|
+
},
|
|
510
|
+
"x-keys": "Escape anywhere in the form goes one level up, unless a list, a menu, a window or a drag has it; on an item's disclosure Enter and Space open it, Alt+arrows move it, Shift+F10 opens ⋯; a held row is sf-sortable's own keyboard; a move by keys is said in a status line"
|
|
511
|
+
},
|
|
512
|
+
"host-states": {},
|
|
513
|
+
"css-variables": {},
|
|
514
|
+
"x-summary": "The right panel of SIMAI Email Editor as a form drawn from data: a heading with its actions, the path of levels, tabs, accordion sections and every field the editor has. The host passes the form in the person's language, including each field's value, error, hint and placeholder; the element says what the person did and changes nothing. Typed text the host did not take survives a redraw, and a redraw never moves the focus or the caret out of the field being typed in.",
|
|
515
|
+
"x-source": {
|
|
516
|
+
"package": "ui-pro",
|
|
517
|
+
"folder": "mail-inspector",
|
|
518
|
+
"manifest": "simai/ui-mail src/ui/inspector.ts and src/ui/repeater.ts (0.12.0)",
|
|
519
|
+
"converted": "written by hand (D31, 2026-10-30) from the editor's own panel, so the words, the keys and the field rules are the ones the editor proved"
|
|
520
|
+
},
|
|
521
|
+
"x-words": [],
|
|
522
|
+
"x-renamed": [],
|
|
523
|
+
"x-decisions": [
|
|
524
|
+
"boundary (the dispatcher's decision): a form drawn from data. It knows no letter, no block manifest, no store and no URL rules. The host passes everything in the person's language, including value, error, hint and placeholder.",
|
|
525
|
+
"events (the dispatcher's decision): it says what the person did and changes nothing. change, attach, detach, toggle, delete and replace are vocabulary §5 verbs; level, tab, notice-action, duplicate and the item- verbs are verbs of this element. None is cancelable.",
|
|
526
|
+
"typed text (the dispatcher's decision): a field whose value the host did not take keeps what the person typed while the host passes error, and a redraw never moves the focus or the caret out of the field being typed in. A field holding the focus is never written to; it shows the host's value once the person leaves it.",
|
|
527
|
+
"host panels (the dispatcher's decision): the contents of the Brand, Images and Versions tabs are the host's, through slots; the brand editor is not absorbed.",
|
|
528
|
+
"shape (the dispatcher's decision): a leaf that places sf-input, sf-textarea, sf-dropdown, sf-switch, sf-image-field, sf-sortable, sf-tabs, sf-breadcrumbs, sf-button, sf-icon-button and one sf-context-menu. Every CSS value is a Framework token.",
|
|
529
|
+
"sf-image-field, not bare sf-file-upload: it is what the editor uses today (its well, «Заменить…», «Убрать», a dropped file), so nothing the editor does is lost.",
|
|
530
|
+
"sections: the class accordion's markup with the element's own state, as the editor draws it. sf-accordion's slots are read once, and these sections change with the data.",
|
|
531
|
+
"a required image: «Убрать» puts it back and says why in the element's own word, and sends nothing: that is not the host's rule but the field's, carried by required.",
|
|
532
|
+
"a section's disclosure is view state, so the element toggles it itself and tells; an item's is the third level of the path, so the host holds it (field.open).",
|
|
533
|
+
"version 1.0.1: the Framework elements it draws, finds and listens to are named by their new tags (Smart component naming of 2026-11-02, sf-[set]-<block>): the fields are sf-input-textarea and sf-input-image, the buttons sf-button-icon, the item menu sf-menu-context. The rule relations and the registry ids follow (cl-<new>, smart.<new>; the package reference pro.package.json of the pair). The former tags stay dated aliases of the Framework until 2027-01-01; public CSS variables and classes keep their names. No visible change. Needs the SIMAI Framework pair with the tag renames (core.runtime 1.21.0).",
|
|
534
|
+
"version 1.0.4 (2026-11-09): a patch (no visible change). The add button asks for appearance=\"ghost\", the look SIMAI Framework now calls ghost (decision C15, sf-button 1.7.0 and sf-button-icon of the pair ui-d6f01121baca); link is its former name, a dated alias until 2027-01-01, drawn the same. Settings, values and events are unchanged.",
|
|
535
|
+
"version 1.0.5 (2026-11-09): a patch (first paint only). The first-paint snapshots are retaken over SIMAI Framework ui-cb287da78ab1 (the pair's elements now print data-sf-size-relative on sf-icon and the other markup of that pair); static/sheets.json is unchanged (no sheet drift). Code, settings, values and events are unchanged.",
|
|
536
|
+
"version 1.0.6 (2026-11-10): a patch (first paint only). The first-paint snapshots are retaken over SIMAI Framework ui-a0370c0c99fb: the pair's sf-input prints one more empty text node (its shortcut place, C38), whitespace only. Settings, values and events are unchanged.",
|
|
537
|
+
"version 1.0.7 (2026-11-10): a patch (first paint only). The first-paint snapshots are retaken over SIMAI Framework ui-2bd5a3ab478a: the pair's sf-menu-context prints its panel without the flex utility class (class=\"sf-context-menu\"); static/sheets.json is unchanged (no sheet drift). Code, settings, values and events are unchanged.",
|
|
538
|
+
"version 1.1.0 (2026-11-15): a minor (decisions C04, C105 H5, C144, C164 (1)(2); register RG-S2-44, defect TL-2), for SIMAI Framework ui-994f9db407fa (ui-source 09cf1b0f). An item's disclosure and its ⋯ stand --sf-space-1/3 apart (8, 4 under compact density), where they stood 4: a row's actions are not a toolbar. An item's ⋯ menu also opens on a right click on the item's row, at the pointer (sf-menu-context's point anchor); the context-menu key and Shift+F10 already opened it. The menu's «Выше» and «Ниже» keys are written in SIMAI Framework's notation (alt+up, alt+down): ⌥↑ on a Mac, Alt+↑ elsewhere. Settings, values, events and actions are unchanged.",
|
|
539
|
+
"version 1.1.1 (2026-11-16, defect TL-7 of the toolbar and row-menu study, ui-control control/research/2026-11-14-toolbar-menu-open.md; above 1.1.0 of every branch): a patch. The ⋯ menu asks the Loader for sf-menu-context (SF.Loader.ensure) before waiting for it, so a press before the page's lazy relations came opens the menu instead of nothing. Nothing drawn differently; settings, values, events and keys unchanged.",
|
|
540
|
+
"version 1.1.2 (2026-11-17): a patch (a look). A multi-line property (a note) is the Framework's multi-line field as it is (C141 (2)): it no longer sets min-rows=\"2\" max-rows=\"12\", so it opens at 3 rows and grows to 10, as every multi-line field in a property form. Settings, values and events unchanged.",
|
|
541
|
+
"version 1.1.3 (2026-11-17): a patch (vocabulary 1.1.5 §9.1; IF-16, ui-mail e2e-m2). The image field is heard under the events sf-input-image sends: sf-input-image-attach, sf-input-image-detach and sf-input-image-rejected. The inspector listened to sf-image-field-attach, -detach and -rejected, which sf-input-image sends only under its dated tag sf-image-field, so a chosen, removed or refused picture reached no host. The inspector's own events and their detail are unchanged.",
|
|
542
|
+
"version 1.1.4 (2026-11-20): a patch, rebuilt over SIMAI Framework ui-b654460cad2a (group build 14; ui-source 049a2ba3d, core.runtime 1.64.0, core.styles 1.20.0). Nothing of its own changes: its conformance probe p15 follows sf-sortable 1.7.0 (BV-6, pair ui-97a0ebb762eb), where Escape on a control inside an item returns the focus to its item and goes no further. After an item's menu closes the focus is on the item's toggle, so one Escape returns to the item and the next goes up a level (sf-mail-inspector-level, index -1), as the probe now presses. Settings, values and events are unchanged. 1.1.4 is above 1.1.3, the highest on any ui-pro branch.",
|
|
543
|
+
"version 1.1.5 (2026-11-21): a patch, rebuilt over SIMAI Framework ui-9ceecc24c988 (group build 15; ui-source e7ea89e07, core.runtime 1.65.0, core.styles 1.21.0): its first-paint snapshots (static/) are retaken from the build through scripts/run-first-paint.mjs, since the Framework segmented and button parts it prints write pointer-events-none on their glyphs and labels (the former pointer-event-none matched no utility). Its own code, settings, values and events are unchanged. 1.1.5 is above 1.1.4 (ui-pro), the highest on any origin branch."
|
|
544
|
+
],
|
|
545
|
+
"x-rule": {
|
|
546
|
+
"$comment": [
|
|
547
|
+
"The inspector draws its fields as sf-input, sf-input-textarea, sf-dropdown, sf-switch and sf-input-image,",
|
|
548
|
+
"its lists as sf-sortable, its tabs as sf-tabs, its path as sf-breadcrumbs, its marks as sf-icon and its",
|
|
549
|
+
"buttons as sf-button and sf-button-icon; a tag it renders is a tag it fetches. The sections are the class",
|
|
550
|
+
"accordion's markup, so its sheet comes too. The ⋯ menu opens in sf-menu-context on a press, so the menu",
|
|
551
|
+
"is fetched after the page is ready, and the element waits for it before opening it."
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"x-registry": {
|
|
555
|
+
"capabilities": [
|
|
556
|
+
"interaction",
|
|
557
|
+
"keyboard",
|
|
558
|
+
"responsive"
|
|
559
|
+
],
|
|
560
|
+
"persistence": {
|
|
561
|
+
"mode": "none",
|
|
562
|
+
"source_of_truth": "host",
|
|
563
|
+
"network_owner": "host",
|
|
564
|
+
"revision_field": null
|
|
565
|
+
},
|
|
566
|
+
"readiness": {
|
|
567
|
+
"level": "host-required",
|
|
568
|
+
"required_checks": [
|
|
569
|
+
"manifest",
|
|
570
|
+
"loader-rule",
|
|
571
|
+
"mail-inspector-probe"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
"tags": [
|
|
575
|
+
"mail",
|
|
576
|
+
"inspector",
|
|
577
|
+
"form",
|
|
578
|
+
"fields"
|
|
579
|
+
],
|
|
580
|
+
"contracts": {
|
|
581
|
+
"field": {
|
|
582
|
+
"type": "object",
|
|
583
|
+
"properties": {
|
|
584
|
+
"kind": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "text, multiline, link, number, select, switch, group, image or items."
|
|
587
|
+
},
|
|
588
|
+
"path": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"description": "The field's address: what the events carry. Unique in the form."
|
|
591
|
+
},
|
|
592
|
+
"label": {
|
|
593
|
+
"type": "string",
|
|
594
|
+
"description": "Its name, drawn as text."
|
|
595
|
+
},
|
|
596
|
+
"value": {
|
|
597
|
+
"description": "text kinds and select: a string; switch: a boolean; image: {value, label, mime, size, href} or null."
|
|
598
|
+
},
|
|
599
|
+
"error": {
|
|
600
|
+
"type": "string",
|
|
601
|
+
"description": "What is wrong, drawn under the field. While it is passed the typed text stays."
|
|
602
|
+
},
|
|
603
|
+
"hint": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"description": "Real text under the field."
|
|
606
|
+
},
|
|
607
|
+
"placeholder": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"description": "Shown in an empty field."
|
|
610
|
+
},
|
|
611
|
+
"required": {
|
|
612
|
+
"type": "boolean",
|
|
613
|
+
"description": "Marked as required; an image then cannot be removed."
|
|
614
|
+
},
|
|
615
|
+
"disabled": {
|
|
616
|
+
"type": "boolean",
|
|
617
|
+
"description": "Shown, not editable."
|
|
618
|
+
},
|
|
619
|
+
"inputmode": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"description": "text kinds: the keyboard to offer; number defaults to numeric."
|
|
622
|
+
},
|
|
623
|
+
"inheritedValue": {
|
|
624
|
+
"type": "string",
|
|
625
|
+
"description": "text kinds: what an empty field falls back to (the Framework's inherited value)."
|
|
626
|
+
},
|
|
627
|
+
"ariaLabel": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"description": "The name when no label is drawn."
|
|
630
|
+
},
|
|
631
|
+
"options": {
|
|
632
|
+
"type": "array",
|
|
633
|
+
"description": "select: [{value, text}]. A value of '' is the choice of nothing."
|
|
634
|
+
},
|
|
635
|
+
"rows": {
|
|
636
|
+
"type": "array",
|
|
637
|
+
"description": "group: rows of fields; a row of two stands in a pair."
|
|
638
|
+
},
|
|
639
|
+
"accept": {
|
|
640
|
+
"type": "string",
|
|
641
|
+
"description": "image: what the file dialog offers."
|
|
642
|
+
},
|
|
643
|
+
"emptyText": {
|
|
644
|
+
"type": "string",
|
|
645
|
+
"description": "image: the empty field's text."
|
|
646
|
+
},
|
|
647
|
+
"choices": {
|
|
648
|
+
"type": "array",
|
|
649
|
+
"description": "image: [{value, text}], images to choose again; the choice is a change."
|
|
650
|
+
},
|
|
651
|
+
"chooseLabel": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"description": "image: the name of that list."
|
|
654
|
+
},
|
|
655
|
+
"choosePlaceholder": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"description": "image: what that list reads before a choice."
|
|
658
|
+
},
|
|
659
|
+
"items": {
|
|
660
|
+
"type": "array",
|
|
661
|
+
"description": "items: [{label, problem, fields}]; problem marks a closed item that has one."
|
|
662
|
+
},
|
|
663
|
+
"open": {
|
|
664
|
+
"type": "number",
|
|
665
|
+
"description": "items: the open item's index, or null."
|
|
666
|
+
},
|
|
667
|
+
"min": {
|
|
668
|
+
"type": "number",
|
|
669
|
+
"description": "items: below this no item can be removed."
|
|
670
|
+
},
|
|
671
|
+
"max": {
|
|
672
|
+
"type": "number",
|
|
673
|
+
"description": "items: at this none can be added or copied."
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": [
|
|
677
|
+
"kind",
|
|
678
|
+
"path"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
"choice": {
|
|
682
|
+
"const": "A field dispatches change {path, value, typed} on the host, under its native name (the fields' own stop inside); an image sf-mail-inspector-attach {path, files} and -detach {path}; a section -toggle {key, open}; the path and Escape -level {index}; a tab -tab {id}; the notice -notice-action {}; the heading's buttons -duplicate {}, -delete {} and -replace {}; a list -item-toggle {path, index, open}, -item-add {path}, -item-move {path, from, to}, -item-duplicate {path, index} and -item-delete {path, index}. The element changes nothing but its sections' disclosure: the host passes the form back."
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"state": {
|
|
686
|
+
"machines": {
|
|
687
|
+
"typed": [
|
|
688
|
+
"host-value",
|
|
689
|
+
"typing",
|
|
690
|
+
"draft"
|
|
691
|
+
]
|
|
692
|
+
},
|
|
693
|
+
"visual_states": [
|
|
694
|
+
"default",
|
|
695
|
+
"error",
|
|
696
|
+
"open",
|
|
697
|
+
"closed"
|
|
698
|
+
]
|
|
699
|
+
},
|
|
700
|
+
"ownership": {
|
|
701
|
+
"source": "simai/ui-pro",
|
|
702
|
+
"data": "host",
|
|
703
|
+
"effects": "host",
|
|
704
|
+
"forbidden_client_responsibilities": [
|
|
705
|
+
"validating a value or a link",
|
|
706
|
+
"changing the letter or its blocks",
|
|
707
|
+
"storing a file",
|
|
708
|
+
"reading or writing the letter store"
|
|
709
|
+
]
|
|
710
|
+
},
|
|
711
|
+
"security": {
|
|
712
|
+
"permissions_owner": "host",
|
|
713
|
+
"untrusted_inputs": [
|
|
714
|
+
"every text in the form (drawn as text)",
|
|
715
|
+
"an image's href (the host's stored address)"
|
|
716
|
+
],
|
|
717
|
+
"network_policy": "deny"
|
|
718
|
+
},
|
|
719
|
+
"presentation": {
|
|
720
|
+
"themes": [
|
|
721
|
+
"light",
|
|
722
|
+
"dark"
|
|
723
|
+
],
|
|
724
|
+
"locales": [
|
|
725
|
+
"en",
|
|
726
|
+
"ru"
|
|
727
|
+
],
|
|
728
|
+
"responsive": [
|
|
729
|
+
"desktop",
|
|
730
|
+
"mobile"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
"ai_guidance": {
|
|
734
|
+
"use_when": "Use sf-mail-inspector for the panel where a person edits the letter's settings or a selected block in SIMAI Email Editor.",
|
|
735
|
+
"do_not": [
|
|
736
|
+
"Do not validate in the element; pass error back",
|
|
737
|
+
"Do not change value while the person types to echo them; the element keeps what they typed",
|
|
738
|
+
"Do not draw the brand editor in fields here; put it in a tab's slot"
|
|
739
|
+
],
|
|
740
|
+
"required_reads": [
|
|
741
|
+
"inputs",
|
|
742
|
+
"contracts",
|
|
743
|
+
"events",
|
|
744
|
+
"accessibility"
|
|
745
|
+
],
|
|
746
|
+
"minimal_example": "<sf-mail-inspector id=\"panel\" heading=\"Кнопка\"></sf-mail-inspector> <script>panel.sections = [{key: 'content', title: 'Содержимое', fields: [{kind: 'text', path: '/text', label: 'Текст', value: 'Подробнее'}]}];</script>",
|
|
747
|
+
"owner_commands": [
|
|
748
|
+
"node scripts/test.mjs",
|
|
749
|
+
"node scripts/run-manifest-probes.mjs <free output> <package output> mail-inspector"
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
"accessibility": {
|
|
753
|
+
"accessible_name": "internal",
|
|
754
|
+
"focus": "A redraw keeps the focus and the caret in the field being typed in. An item's disclosure is the item's one tab stop; ⋯ is named «Действия с элементом: <name>», so two items never sound alike. After a list verb the focus goes to the item that changed, once the host has passed the list back."
|
|
755
|
+
},
|
|
756
|
+
"compatibility": {
|
|
757
|
+
"migrations": [
|
|
758
|
+
{
|
|
759
|
+
"from": "1.0.0",
|
|
760
|
+
"to": "1.0.1",
|
|
761
|
+
"changes": [
|
|
762
|
+
"Draws and finds the renamed Framework elements by their new tags (the fields are sf-input-textarea and sf-input-image, the buttons sf-button-icon, the item menu sf-menu-context); the rule relations name cl-<new>. Needs the SIMAI Framework pair with the tag renames (core.runtime 1.21.0). No visible change. Nothing to change for a host on that pair; a host that writes the former tags keeps working until 2027-01-01."
|
|
763
|
+
]
|
|
764
|
+
}
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|