@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,920 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 2,
|
|
3
|
+
"id": "smart.mail-inspector",
|
|
4
|
+
"version": "1.1.5",
|
|
5
|
+
"title": "Letter inspector",
|
|
6
|
+
"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.",
|
|
7
|
+
"kind": "smart",
|
|
8
|
+
"reuse_mode": "whole",
|
|
9
|
+
"lifecycle": "experimental",
|
|
10
|
+
"tags": [
|
|
11
|
+
"mail",
|
|
12
|
+
"inspector",
|
|
13
|
+
"form",
|
|
14
|
+
"fields"
|
|
15
|
+
],
|
|
16
|
+
"capabilities": [
|
|
17
|
+
"interaction",
|
|
18
|
+
"keyboard",
|
|
19
|
+
"responsive"
|
|
20
|
+
],
|
|
21
|
+
"custom_element": "sf-mail-inspector",
|
|
22
|
+
"templates": [
|
|
23
|
+
"default"
|
|
24
|
+
],
|
|
25
|
+
"exported_parts": [],
|
|
26
|
+
"composition": {
|
|
27
|
+
"uses": [
|
|
28
|
+
"component.accordion",
|
|
29
|
+
"smart.breadcrumbs",
|
|
30
|
+
"smart.button",
|
|
31
|
+
"smart.button-icon",
|
|
32
|
+
"smart.dropdown",
|
|
33
|
+
"smart.icon",
|
|
34
|
+
"smart.input",
|
|
35
|
+
"smart.input-image",
|
|
36
|
+
"smart.input-textarea",
|
|
37
|
+
"smart.menu-context",
|
|
38
|
+
"smart.sortable",
|
|
39
|
+
"smart.switch",
|
|
40
|
+
"smart.tabs"
|
|
41
|
+
],
|
|
42
|
+
"public_parts": []
|
|
43
|
+
},
|
|
44
|
+
"inputs": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"template": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"default": "default",
|
|
50
|
+
"description": "Template variant name for SfBaseElement external templates."
|
|
51
|
+
},
|
|
52
|
+
"root-class": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"default": "",
|
|
55
|
+
"description": "Classes added to the root element the component draws."
|
|
56
|
+
},
|
|
57
|
+
"root-style": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"default": "",
|
|
60
|
+
"description": "Inline style declarations set on the root element the component draws, custom properties included."
|
|
61
|
+
},
|
|
62
|
+
"heading": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"default": "",
|
|
65
|
+
"description": "What is being edited, in the person's language: the panel's title."
|
|
66
|
+
},
|
|
67
|
+
"heading-icon": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"default": "",
|
|
70
|
+
"description": "The icon before the heading."
|
|
71
|
+
},
|
|
72
|
+
"form-key": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"default": "",
|
|
75
|
+
"description": "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."
|
|
76
|
+
},
|
|
77
|
+
"tab": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"default": "",
|
|
80
|
+
"description": "The tab shown, by id; empty is the first."
|
|
81
|
+
},
|
|
82
|
+
"levels": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"default": [],
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "object"
|
|
87
|
+
},
|
|
88
|
+
"description": "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."
|
|
89
|
+
},
|
|
90
|
+
"head-actions": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"default": [],
|
|
93
|
+
"description": "The actions beside the heading, in order: any of duplicate, delete, replace."
|
|
94
|
+
},
|
|
95
|
+
"notice": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"default": {},
|
|
98
|
+
"description": "A line under the heading: {text, action}. With action it has a button of that name, which sends notice-action."
|
|
99
|
+
},
|
|
100
|
+
"tabs": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"default": [],
|
|
103
|
+
"items": {
|
|
104
|
+
"type": "object"
|
|
105
|
+
},
|
|
106
|
+
"description": "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."
|
|
107
|
+
},
|
|
108
|
+
"sections": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"default": [],
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "object"
|
|
113
|
+
},
|
|
114
|
+
"description": "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."
|
|
115
|
+
},
|
|
116
|
+
"closed-sections": {
|
|
117
|
+
"type": "array",
|
|
118
|
+
"default": [],
|
|
119
|
+
"description": "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."
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
},
|
|
124
|
+
"item_contract": {},
|
|
125
|
+
"contracts": {
|
|
126
|
+
"field": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"kind": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "text, multiline, link, number, select, switch, group, image or items."
|
|
132
|
+
},
|
|
133
|
+
"path": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "The field's address: what the events carry. Unique in the form."
|
|
136
|
+
},
|
|
137
|
+
"label": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Its name, drawn as text."
|
|
140
|
+
},
|
|
141
|
+
"value": {
|
|
142
|
+
"description": "text kinds and select: a string; switch: a boolean; image: {value, label, mime, size, href} or null."
|
|
143
|
+
},
|
|
144
|
+
"error": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "What is wrong, drawn under the field. While it is passed the typed text stays."
|
|
147
|
+
},
|
|
148
|
+
"hint": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"description": "Real text under the field."
|
|
151
|
+
},
|
|
152
|
+
"placeholder": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"description": "Shown in an empty field."
|
|
155
|
+
},
|
|
156
|
+
"required": {
|
|
157
|
+
"type": "boolean",
|
|
158
|
+
"description": "Marked as required; an image then cannot be removed."
|
|
159
|
+
},
|
|
160
|
+
"disabled": {
|
|
161
|
+
"type": "boolean",
|
|
162
|
+
"description": "Shown, not editable."
|
|
163
|
+
},
|
|
164
|
+
"inputmode": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"description": "text kinds: the keyboard to offer; number defaults to numeric."
|
|
167
|
+
},
|
|
168
|
+
"inheritedValue": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"description": "text kinds: what an empty field falls back to (the Framework's inherited value)."
|
|
171
|
+
},
|
|
172
|
+
"ariaLabel": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "The name when no label is drawn."
|
|
175
|
+
},
|
|
176
|
+
"options": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"description": "select: [{value, text}]. A value of '' is the choice of nothing."
|
|
179
|
+
},
|
|
180
|
+
"rows": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"description": "group: rows of fields; a row of two stands in a pair."
|
|
183
|
+
},
|
|
184
|
+
"accept": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "image: what the file dialog offers."
|
|
187
|
+
},
|
|
188
|
+
"emptyText": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "image: the empty field's text."
|
|
191
|
+
},
|
|
192
|
+
"choices": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"description": "image: [{value, text}], images to choose again; the choice is a change."
|
|
195
|
+
},
|
|
196
|
+
"chooseLabel": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "image: the name of that list."
|
|
199
|
+
},
|
|
200
|
+
"choosePlaceholder": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "image: what that list reads before a choice."
|
|
203
|
+
},
|
|
204
|
+
"items": {
|
|
205
|
+
"type": "array",
|
|
206
|
+
"description": "items: [{label, problem, fields}]; problem marks a closed item that has one."
|
|
207
|
+
},
|
|
208
|
+
"open": {
|
|
209
|
+
"type": "number",
|
|
210
|
+
"description": "items: the open item's index, or null."
|
|
211
|
+
},
|
|
212
|
+
"min": {
|
|
213
|
+
"type": "number",
|
|
214
|
+
"description": "items: below this no item can be removed."
|
|
215
|
+
},
|
|
216
|
+
"max": {
|
|
217
|
+
"type": "number",
|
|
218
|
+
"description": "items: at this none can be added or copied."
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"kind",
|
|
223
|
+
"path"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"choice": {
|
|
227
|
+
"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."
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"methods": {
|
|
231
|
+
"duplicate": {
|
|
232
|
+
"summary": "what «Дублировать» does; refused unknown when head-actions does not offer it",
|
|
233
|
+
"arguments": [],
|
|
234
|
+
"returns": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"delete": {
|
|
240
|
+
"summary": "what «Удалить» does; refused unknown when head-actions does not offer it",
|
|
241
|
+
"arguments": [],
|
|
242
|
+
"returns": {
|
|
243
|
+
"type": "object",
|
|
244
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"replace": {
|
|
248
|
+
"summary": "what «Сменить вариант…» does; refused unknown when head-actions does not offer it",
|
|
249
|
+
"arguments": [],
|
|
250
|
+
"returns": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"levelUp": {
|
|
256
|
+
"summary": "what Escape does; refused top with no levels",
|
|
257
|
+
"arguments": [],
|
|
258
|
+
"returns": {
|
|
259
|
+
"type": "object",
|
|
260
|
+
"description": "{outcome: applied} or {outcome: refused, reason: top}"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"goToLevel": {
|
|
264
|
+
"summary": "what a press on the path does; refused unknown",
|
|
265
|
+
"arguments": [
|
|
266
|
+
{
|
|
267
|
+
"name": "args",
|
|
268
|
+
"type": "object",
|
|
269
|
+
"required": true,
|
|
270
|
+
"schema": {
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"index": {
|
|
274
|
+
"type": "number"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"required": [
|
|
278
|
+
"index"
|
|
279
|
+
]
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"returns": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"openTab": {
|
|
289
|
+
"summary": "asks for a tab as a press does: sends tab, the host passes it back; refused unknown",
|
|
290
|
+
"arguments": [
|
|
291
|
+
{
|
|
292
|
+
"name": "args",
|
|
293
|
+
"type": "object",
|
|
294
|
+
"required": true,
|
|
295
|
+
"schema": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"id": {}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"id"
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"returns": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"toggleSection": {
|
|
312
|
+
"summary": "opens or closes a section as its heading does; refused unknown",
|
|
313
|
+
"arguments": [
|
|
314
|
+
{
|
|
315
|
+
"name": "args",
|
|
316
|
+
"type": "object",
|
|
317
|
+
"required": true,
|
|
318
|
+
"schema": {
|
|
319
|
+
"type": "object",
|
|
320
|
+
"properties": {
|
|
321
|
+
"key": {}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"key"
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"returns": {
|
|
330
|
+
"type": "object",
|
|
331
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"itemToggle": {
|
|
335
|
+
"summary": "what an item's disclosure does; refused unknown",
|
|
336
|
+
"arguments": [
|
|
337
|
+
{
|
|
338
|
+
"name": "args",
|
|
339
|
+
"type": "object",
|
|
340
|
+
"required": true,
|
|
341
|
+
"schema": {
|
|
342
|
+
"type": "object",
|
|
343
|
+
"properties": {
|
|
344
|
+
"path": {
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"index": {
|
|
348
|
+
"type": "number"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"required": [
|
|
352
|
+
"path",
|
|
353
|
+
"index"
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"returns": {
|
|
359
|
+
"type": "object",
|
|
360
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"itemAdd": {
|
|
364
|
+
"summary": "what «Добавить элемент» does; refused unknown, full",
|
|
365
|
+
"arguments": [
|
|
366
|
+
{
|
|
367
|
+
"name": "args",
|
|
368
|
+
"type": "object",
|
|
369
|
+
"required": true,
|
|
370
|
+
"schema": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"path": {
|
|
374
|
+
"type": "string"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"required": [
|
|
378
|
+
"path"
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"returns": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | full}"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"itemMove": {
|
|
389
|
+
"summary": "asks to move an item to a place or by steps; refused unknown, unchanged",
|
|
390
|
+
"arguments": [
|
|
391
|
+
{
|
|
392
|
+
"name": "args",
|
|
393
|
+
"type": "object",
|
|
394
|
+
"required": true,
|
|
395
|
+
"schema": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"properties": {
|
|
398
|
+
"path": {
|
|
399
|
+
"type": "string"
|
|
400
|
+
},
|
|
401
|
+
"index": {
|
|
402
|
+
"type": "number"
|
|
403
|
+
},
|
|
404
|
+
"to": {
|
|
405
|
+
"type": "number"
|
|
406
|
+
},
|
|
407
|
+
"by": {
|
|
408
|
+
"type": "number"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"required": [
|
|
412
|
+
"path",
|
|
413
|
+
"index"
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"returns": {
|
|
419
|
+
"type": "object",
|
|
420
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | unchanged}"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"itemDuplicate": {
|
|
424
|
+
"summary": "what «Дублировать» under ⋯ does; refused unknown, full",
|
|
425
|
+
"arguments": [
|
|
426
|
+
{
|
|
427
|
+
"name": "args",
|
|
428
|
+
"type": "object",
|
|
429
|
+
"required": true,
|
|
430
|
+
"schema": {
|
|
431
|
+
"type": "object",
|
|
432
|
+
"properties": {
|
|
433
|
+
"path": {
|
|
434
|
+
"type": "string"
|
|
435
|
+
},
|
|
436
|
+
"index": {
|
|
437
|
+
"type": "number"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"required": [
|
|
441
|
+
"path",
|
|
442
|
+
"index"
|
|
443
|
+
]
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"returns": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | full}"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"itemDelete": {
|
|
453
|
+
"summary": "what «Удалить» under ⋯ does; refused unknown, least",
|
|
454
|
+
"arguments": [
|
|
455
|
+
{
|
|
456
|
+
"name": "args",
|
|
457
|
+
"type": "object",
|
|
458
|
+
"required": true,
|
|
459
|
+
"schema": {
|
|
460
|
+
"type": "object",
|
|
461
|
+
"properties": {
|
|
462
|
+
"path": {
|
|
463
|
+
"type": "string"
|
|
464
|
+
},
|
|
465
|
+
"index": {
|
|
466
|
+
"type": "number"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"required": [
|
|
470
|
+
"path",
|
|
471
|
+
"index"
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"returns": {
|
|
477
|
+
"type": "object",
|
|
478
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown | least}"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"focusItem": {
|
|
482
|
+
"summary": "puts the focus on an item's disclosure, after the draw; refused unknown with no path",
|
|
483
|
+
"arguments": [
|
|
484
|
+
{
|
|
485
|
+
"name": "args",
|
|
486
|
+
"type": "object",
|
|
487
|
+
"required": true,
|
|
488
|
+
"schema": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"properties": {
|
|
491
|
+
"path": {
|
|
492
|
+
"type": "string"
|
|
493
|
+
},
|
|
494
|
+
"index": {
|
|
495
|
+
"type": "number"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"required": [
|
|
499
|
+
"path",
|
|
500
|
+
"index"
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"returns": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"description": "{outcome: applied} or {outcome: refused, reason: unknown}"
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"events": {
|
|
512
|
+
"change": {
|
|
513
|
+
"summary": "This field now reads this: {path, value, typed}.",
|
|
514
|
+
"payload": {
|
|
515
|
+
"type": "object",
|
|
516
|
+
"required": [
|
|
517
|
+
"path",
|
|
518
|
+
"value",
|
|
519
|
+
"typed"
|
|
520
|
+
],
|
|
521
|
+
"properties": {
|
|
522
|
+
"path": {
|
|
523
|
+
"type": "string"
|
|
524
|
+
},
|
|
525
|
+
"value": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"description": "The raw text as typed, the chosen value, or a boolean from a switch."
|
|
528
|
+
},
|
|
529
|
+
"typed": {
|
|
530
|
+
"type": "boolean"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"additionalProperties": true
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"sf-mail-inspector-attach": {
|
|
537
|
+
"summary": "Store these files for this field: {path, files}.",
|
|
538
|
+
"payload": {
|
|
539
|
+
"type": "object",
|
|
540
|
+
"required": [
|
|
541
|
+
"path",
|
|
542
|
+
"files"
|
|
543
|
+
],
|
|
544
|
+
"properties": {
|
|
545
|
+
"path": {
|
|
546
|
+
"type": "string"
|
|
547
|
+
},
|
|
548
|
+
"files": {
|
|
549
|
+
"type": "array"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"additionalProperties": true
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"sf-mail-inspector-detach": {
|
|
556
|
+
"summary": "Remove this field's image: {path}.",
|
|
557
|
+
"payload": {
|
|
558
|
+
"type": "object",
|
|
559
|
+
"required": [
|
|
560
|
+
"path"
|
|
561
|
+
],
|
|
562
|
+
"properties": {
|
|
563
|
+
"path": {
|
|
564
|
+
"type": "string"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"additionalProperties": true
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"sf-mail-inspector-toggle": {
|
|
571
|
+
"summary": "This section is now open or closed: {key, open}.",
|
|
572
|
+
"payload": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"required": [
|
|
575
|
+
"key",
|
|
576
|
+
"open"
|
|
577
|
+
],
|
|
578
|
+
"properties": {
|
|
579
|
+
"key": {},
|
|
580
|
+
"open": {
|
|
581
|
+
"type": "boolean"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"additionalProperties": true
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"sf-mail-inspector-level": {
|
|
588
|
+
"summary": "Go to this level of the path: {index}.",
|
|
589
|
+
"payload": {
|
|
590
|
+
"type": "object",
|
|
591
|
+
"required": [
|
|
592
|
+
"index"
|
|
593
|
+
],
|
|
594
|
+
"properties": {
|
|
595
|
+
"index": {
|
|
596
|
+
"type": "number"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"additionalProperties": true
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"sf-mail-inspector-tab": {
|
|
603
|
+
"summary": "This tab was chosen: {id}.",
|
|
604
|
+
"payload": {
|
|
605
|
+
"type": "object",
|
|
606
|
+
"required": [
|
|
607
|
+
"id"
|
|
608
|
+
],
|
|
609
|
+
"properties": {
|
|
610
|
+
"id": {}
|
|
611
|
+
},
|
|
612
|
+
"additionalProperties": true
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"sf-mail-inspector-notice-action": {
|
|
616
|
+
"summary": "The notice's button was pressed.",
|
|
617
|
+
"payload": {
|
|
618
|
+
"type": "object",
|
|
619
|
+
"required": [],
|
|
620
|
+
"properties": {},
|
|
621
|
+
"additionalProperties": true
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
"sf-mail-inspector-duplicate": {
|
|
625
|
+
"summary": "Make a copy of what is being edited.",
|
|
626
|
+
"payload": {
|
|
627
|
+
"type": "object",
|
|
628
|
+
"required": [],
|
|
629
|
+
"properties": {},
|
|
630
|
+
"additionalProperties": true
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"sf-mail-inspector-delete": {
|
|
634
|
+
"summary": "Remove what is being edited.",
|
|
635
|
+
"payload": {
|
|
636
|
+
"type": "object",
|
|
637
|
+
"required": [],
|
|
638
|
+
"properties": {},
|
|
639
|
+
"additionalProperties": true
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"sf-mail-inspector-replace": {
|
|
643
|
+
"summary": "Another variant of what is being edited was asked for.",
|
|
644
|
+
"payload": {
|
|
645
|
+
"type": "object",
|
|
646
|
+
"required": [],
|
|
647
|
+
"properties": {},
|
|
648
|
+
"additionalProperties": true
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"sf-mail-inspector-item-toggle": {
|
|
652
|
+
"summary": "Open or close this item: {path, index, open}.",
|
|
653
|
+
"payload": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"required": [
|
|
656
|
+
"path",
|
|
657
|
+
"index",
|
|
658
|
+
"open"
|
|
659
|
+
],
|
|
660
|
+
"properties": {
|
|
661
|
+
"path": {
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"index": {
|
|
665
|
+
"type": "number"
|
|
666
|
+
},
|
|
667
|
+
"open": {
|
|
668
|
+
"type": "boolean"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"additionalProperties": true
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"sf-mail-inspector-item-add": {
|
|
675
|
+
"summary": "Add an item to this list: {path}.",
|
|
676
|
+
"payload": {
|
|
677
|
+
"type": "object",
|
|
678
|
+
"required": [
|
|
679
|
+
"path"
|
|
680
|
+
],
|
|
681
|
+
"properties": {
|
|
682
|
+
"path": {
|
|
683
|
+
"type": "string"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"additionalProperties": true
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"sf-mail-inspector-item-move": {
|
|
690
|
+
"summary": "Move an item within its list: {path, from, to}.",
|
|
691
|
+
"payload": {
|
|
692
|
+
"type": "object",
|
|
693
|
+
"required": [
|
|
694
|
+
"path",
|
|
695
|
+
"from",
|
|
696
|
+
"to"
|
|
697
|
+
],
|
|
698
|
+
"properties": {
|
|
699
|
+
"path": {
|
|
700
|
+
"type": "string"
|
|
701
|
+
},
|
|
702
|
+
"from": {
|
|
703
|
+
"type": "number"
|
|
704
|
+
},
|
|
705
|
+
"to": {
|
|
706
|
+
"type": "number"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"additionalProperties": true
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"sf-mail-inspector-item-duplicate": {
|
|
713
|
+
"summary": "Make a copy of this item: {path, index}.",
|
|
714
|
+
"payload": {
|
|
715
|
+
"type": "object",
|
|
716
|
+
"required": [
|
|
717
|
+
"path",
|
|
718
|
+
"index"
|
|
719
|
+
],
|
|
720
|
+
"properties": {
|
|
721
|
+
"path": {
|
|
722
|
+
"type": "string"
|
|
723
|
+
},
|
|
724
|
+
"index": {
|
|
725
|
+
"type": "number"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"additionalProperties": true
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"sf-mail-inspector-item-delete": {
|
|
732
|
+
"summary": "Remove this item: {path, index}.",
|
|
733
|
+
"payload": {
|
|
734
|
+
"type": "object",
|
|
735
|
+
"required": [
|
|
736
|
+
"path",
|
|
737
|
+
"index"
|
|
738
|
+
],
|
|
739
|
+
"properties": {
|
|
740
|
+
"path": {
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"index": {
|
|
744
|
+
"type": "number"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"additionalProperties": true
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"state": {
|
|
752
|
+
"machines": {
|
|
753
|
+
"typed": [
|
|
754
|
+
"host-value",
|
|
755
|
+
"typing",
|
|
756
|
+
"draft"
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"visual_states": [
|
|
760
|
+
"default",
|
|
761
|
+
"error",
|
|
762
|
+
"open",
|
|
763
|
+
"closed"
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"persistence": {
|
|
767
|
+
"mode": "none",
|
|
768
|
+
"source_of_truth": "host",
|
|
769
|
+
"network_owner": "host",
|
|
770
|
+
"revision_field": null
|
|
771
|
+
},
|
|
772
|
+
"ownership": {
|
|
773
|
+
"source": "simai/ui-pro",
|
|
774
|
+
"data": "host",
|
|
775
|
+
"effects": "host",
|
|
776
|
+
"forbidden_client_responsibilities": [
|
|
777
|
+
"validating a value or a link",
|
|
778
|
+
"changing the letter or its blocks",
|
|
779
|
+
"storing a file",
|
|
780
|
+
"reading or writing the letter store"
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
"security": {
|
|
784
|
+
"permissions_owner": "host",
|
|
785
|
+
"untrusted_inputs": [
|
|
786
|
+
"every text in the form (drawn as text)",
|
|
787
|
+
"an image's href (the host's stored address)"
|
|
788
|
+
],
|
|
789
|
+
"network_policy": "deny"
|
|
790
|
+
},
|
|
791
|
+
"accessibility": {
|
|
792
|
+
"role": "form",
|
|
793
|
+
"accessible_name": "internal",
|
|
794
|
+
"keyboard": [
|
|
795
|
+
"Tab",
|
|
796
|
+
"Escape",
|
|
797
|
+
"Enter",
|
|
798
|
+
"Space",
|
|
799
|
+
"Alt+ArrowUp",
|
|
800
|
+
"Alt+ArrowDown",
|
|
801
|
+
"Shift+F10"
|
|
802
|
+
],
|
|
803
|
+
"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."
|
|
804
|
+
},
|
|
805
|
+
"presentation": {
|
|
806
|
+
"themes": [
|
|
807
|
+
"light",
|
|
808
|
+
"dark"
|
|
809
|
+
],
|
|
810
|
+
"locales": [
|
|
811
|
+
"en",
|
|
812
|
+
"ru"
|
|
813
|
+
],
|
|
814
|
+
"responsive": [
|
|
815
|
+
"desktop",
|
|
816
|
+
"mobile"
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
"adapter": {
|
|
820
|
+
"kind": "generic",
|
|
821
|
+
"protocol": "simai.smart-studio-adapter.v1",
|
|
822
|
+
"module": null
|
|
823
|
+
},
|
|
824
|
+
"artifacts": {
|
|
825
|
+
"fixtures": [
|
|
826
|
+
"studio.fixture.json"
|
|
827
|
+
],
|
|
828
|
+
"scenarios": [
|
|
829
|
+
"studio.scenario.json"
|
|
830
|
+
]
|
|
831
|
+
},
|
|
832
|
+
"readiness": {
|
|
833
|
+
"level": "host-required",
|
|
834
|
+
"required_checks": [
|
|
835
|
+
"manifest",
|
|
836
|
+
"loader-rule",
|
|
837
|
+
"mail-inspector-probe"
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
"compatibility": {
|
|
841
|
+
"contract_schema": {
|
|
842
|
+
"id": "https://simai.io/contracts/smart-component-manifest.v2.schema.json",
|
|
843
|
+
"version": 2
|
|
844
|
+
},
|
|
845
|
+
"runtime_pair": {
|
|
846
|
+
"ui_revision": "d6292bd6fc34b6bab3cc2c21ee04ee321a7b5ee2",
|
|
847
|
+
"ui_smart_revision": "d6292bd6fc34b6bab3cc2c21ee04ee321a7b5ee2"
|
|
848
|
+
},
|
|
849
|
+
"aliases": [],
|
|
850
|
+
"deprecations": [],
|
|
851
|
+
"replacement": null,
|
|
852
|
+
"migrations": [
|
|
853
|
+
{
|
|
854
|
+
"from": "1.0.0",
|
|
855
|
+
"to": "1.0.1",
|
|
856
|
+
"changes": [
|
|
857
|
+
"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."
|
|
858
|
+
]
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
"provenance": {
|
|
863
|
+
"source_repository": "simai/ui-pro",
|
|
864
|
+
"source_revision": "a5ac53753d95b49e2e70078c94fd89ccd3045993",
|
|
865
|
+
"source_artifacts": [
|
|
866
|
+
{
|
|
867
|
+
"path": "src/smart/mail-inspector/index.js",
|
|
868
|
+
"sha256": "96a9ecbee15794603ffb8c551683498019ef7155bb83336460069aed946daa26"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"path": "src/smart/mail-inspector/js/templates/default.js",
|
|
872
|
+
"sha256": "1ba65022485b88aefaad4947f7b9af811a22c17d41d13d7c431b8bae2762ee81"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"path": "src/smart/mail-inspector/js/templates/default.css",
|
|
876
|
+
"sha256": "494755bff011d441ff9e3225051895905919424502568cb406039bcffc0fa60c"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"path": "src/smart/mail-inspector/rule.js",
|
|
880
|
+
"sha256": "984e855c657de67eabbc8ca2babd7dd27eb9c25081328ea6ce5b1c2f714afbf5"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"path": "src/smart/mail-inspector/docs.md",
|
|
884
|
+
"sha256": "8473f7fa36b80df3de882a036bae8177b33281cf4fece390ea779c7baa9aa398"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"path": "src/smart/mail-inspector/component.json",
|
|
888
|
+
"sha256": "baac094136befcb4f69c72c46ff0312221fcb4c4ea3b18c59ea479df2ed6e80d"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"path": "src/smart/mail-inspector/lang/en.json",
|
|
892
|
+
"sha256": "3285ba05734b0b7f4607e81b6dd538c2bad57c227cc017e029f294773b9f82b3"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"path": "src/smart/mail-inspector/lang/ru.json",
|
|
896
|
+
"sha256": "4e8e03d830ab13eead849e63946e494f5df02297b62927c63b6cacb718ea3f76"
|
|
897
|
+
}
|
|
898
|
+
],
|
|
899
|
+
"generated_runtime": []
|
|
900
|
+
},
|
|
901
|
+
"ai_guidance": {
|
|
902
|
+
"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.",
|
|
903
|
+
"do_not": [
|
|
904
|
+
"Do not validate in the element; pass error back",
|
|
905
|
+
"Do not change value while the person types to echo them; the element keeps what they typed",
|
|
906
|
+
"Do not draw the brand editor in fields here; put it in a tab's slot"
|
|
907
|
+
],
|
|
908
|
+
"required_reads": [
|
|
909
|
+
"inputs",
|
|
910
|
+
"contracts",
|
|
911
|
+
"events",
|
|
912
|
+
"accessibility"
|
|
913
|
+
],
|
|
914
|
+
"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>",
|
|
915
|
+
"owner_commands": [
|
|
916
|
+
"node scripts/test.mjs",
|
|
917
|
+
"node scripts/run-manifest-probes.mjs <free output> <package output> mail-inspector"
|
|
918
|
+
]
|
|
919
|
+
}
|
|
920
|
+
}
|