@simai-studio/view 1.0.0 → 1.2.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/README.md +5 -5
- package/dist/package-receipt.json +356 -114
- package/dist/set.json +35 -2
- package/dist/smart/rule.js +94 -0
- package/dist/smart/rule.js.gz +0 -0
- package/dist/smart/view/component.json +10 -2
- package/dist/smart/view/component.json.gz +0 -0
- package/dist/smart/view/js/view.js +23 -6
- package/dist/smart/view/js/view.js.gz +0 -0
- package/dist/smart/view/js/view.min.js +1 -1
- package/dist/smart/view/js/view.min.js.gz +0 -0
- package/dist/smart/view/smart.manifest.json +10 -3
- package/dist/smart/view/smart.manifest.json.gz +0 -0
- package/dist/smart/view/static/default/open-record.html +12 -17
- package/dist/smart/view/static/default/open-record.html.gz +0 -0
- package/dist/smart/view/static/default/reference.html +12 -17
- package/dist/smart/view/static/default/reference.html.gz +0 -0
- package/dist/smart/view-flow/component.json +612 -0
- package/dist/smart/view-flow/component.json.gz +0 -0
- package/dist/smart/view-flow/css/view-flow.css +203 -0
- package/dist/smart/view-flow/css/view-flow.css.gz +0 -0
- package/dist/smart/view-flow/css/view-flow.min.css +2 -0
- package/dist/smart/view-flow/css/view-flow.min.css.gz +0 -0
- package/dist/smart/view-flow/examples.json +452 -0
- package/dist/smart/view-flow/examples.json.gz +0 -0
- package/dist/smart/view-flow/js/view-flow.js +5858 -0
- package/dist/smart/view-flow/js/view-flow.js.gz +0 -0
- package/dist/smart/view-flow/js/view-flow.min.js +638 -0
- package/dist/smart/view-flow/js/view-flow.min.js.gz +0 -0
- package/dist/smart/view-flow/lang/en.json +24 -0
- package/dist/smart/view-flow/lang/en.json.gz +0 -0
- package/dist/smart/view-flow/lang/ru.json +24 -0
- package/dist/smart/view-flow/lang/ru.json.gz +0 -0
- package/dist/smart/view-flow/probe.json +149 -0
- package/dist/smart/view-flow/probe.json.gz +0 -0
- package/dist/smart/view-flow/smart.manifest.json +478 -0
- package/dist/smart/view-flow/smart.manifest.json.gz +0 -0
- package/dist/smart/view-flow/static/default/answered.html +57 -0
- package/dist/smart/view-flow/static/default/answered.html.gz +0 -0
- package/dist/smart/view-flow/static/default/ask.html +146 -0
- package/dist/smart/view-flow/static/default/ask.html.gz +0 -0
- package/dist/smart/view-flow/static/default/expired.html +16 -0
- package/dist/smart/view-flow/static/default/expired.html.gz +0 -0
- package/dist/smart/view-flow/static/default/groups.html +44 -0
- package/dist/smart/view-flow/static/default/groups.html.gz +0 -0
- package/dist/smart/view-flow/static/default/reference.html +72 -0
- package/dist/smart/view-flow/static/default/reference.html.gz +0 -0
- package/dist/smart/view-flow/static/default/untitled.html +41 -0
- package/dist/smart/view-flow/static/default/untitled.html.gz +0 -0
- package/dist/smart/view-flow/static/sheets.json +443 -0
- package/dist/smart/view-flow/static/sheets.json.gz +0 -0
- package/dist/smart/view-flow/template/default.css +180 -0
- package/dist/smart/view-flow/template/default.css.gz +0 -0
- package/dist/smart/view-flow/template/default.js +136 -0
- package/dist/smart/view-flow/template/default.js.gz +0 -0
- package/dist/smart/view-properties/component.json +10 -2
- package/dist/smart/view-properties/component.json.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.css +24 -19
- package/dist/smart/view-properties/css/view-properties.css.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.min.css +1 -1
- package/dist/smart/view-properties/css/view-properties.min.css.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.js +358 -185
- package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.min.js +94 -121
- package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
- package/dist/smart/view-properties/lang/en.json +0 -7
- package/dist/smart/view-properties/lang/en.json.gz +0 -0
- package/dist/smart/view-properties/lang/ru.json +0 -7
- package/dist/smart/view-properties/lang/ru.json.gz +0 -0
- package/dist/smart/view-properties/smart.manifest.json +16 -9
- package/dist/smart/view-properties/smart.manifest.json.gz +0 -0
- package/dist/smart/view-properties/template/default.css +22 -19
- package/dist/smart/view-properties/template/default.css.gz +0 -0
- package/dist/smart/view-properties/template/default.js +1 -79
- package/dist/smart/view-properties/template/default.js.gz +0 -0
- package/dist/smart/view-table/component.json +10 -2
- package/dist/smart/view-table/component.json.gz +0 -0
- package/dist/smart/view-table/js/view-table.js +377 -88
- package/dist/smart/view-table/js/view-table.js.gz +0 -0
- package/dist/smart/view-table/js/view-table.min.js +58 -56
- package/dist/smart/view-table/js/view-table.min.js.gz +0 -0
- package/dist/smart/view-table/smart.manifest.json +11 -4
- package/dist/smart/view-table/smart.manifest.json.gz +0 -0
- package/dist/smart/view-table/template/default.js +1 -1
- package/dist/smart/view-table/template/default.js.gz +0 -0
- package/package.json +1 -1
package/dist/set.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"id": "view",
|
|
9
9
|
"title": "SIMAI View",
|
|
10
|
-
"summary": "Data views for SIMAI Framework pages: the data view sf-view over a host's data port, the smart table sf-view-table (search, filters, sorting, pages, columns, row actions)
|
|
10
|
+
"summary": "Data views for SIMAI Framework pages: the data view sf-view over a host's data port, the smart table sf-view-table (search, filters, sorting, pages, columns, row actions), the record card sf-view-properties and the flow block sf-view-flow for a flow (a chat, a feed).",
|
|
11
11
|
"repository": "simai/ui-view",
|
|
12
12
|
"licence": {
|
|
13
13
|
"class": "simai-pro",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"framework": {
|
|
17
17
|
"core_runtime": ">=1.25.0",
|
|
18
|
-
"source_revision": "
|
|
18
|
+
"source_revision": "54c89e61ef9b89ed683fe530d43bdbf215fbafdd"
|
|
19
19
|
},
|
|
20
20
|
"requires_sets": [],
|
|
21
21
|
"families": [
|
|
@@ -136,6 +136,39 @@
|
|
|
136
136
|
"journal": "simai/ui-source contracts/changes/journal.json#tag-sf-property-view-to-sf-view-properties"
|
|
137
137
|
}
|
|
138
138
|
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"element": "sf-view-flow",
|
|
142
|
+
"rule": "cl-view-flow",
|
|
143
|
+
"folder": "view-flow",
|
|
144
|
+
"status": "preview",
|
|
145
|
+
"requires": [
|
|
146
|
+
"cl-avatar",
|
|
147
|
+
"cl-badge",
|
|
148
|
+
"cl-button",
|
|
149
|
+
"cl-button-group",
|
|
150
|
+
"cl-button-icon",
|
|
151
|
+
"cl-checkbox",
|
|
152
|
+
"cl-dropdown",
|
|
153
|
+
"cl-file-preview",
|
|
154
|
+
"cl-help-mark",
|
|
155
|
+
"cl-icon",
|
|
156
|
+
"cl-input",
|
|
157
|
+
"cl-input-color",
|
|
158
|
+
"cl-input-country",
|
|
159
|
+
"cl-input-date",
|
|
160
|
+
"cl-input-image",
|
|
161
|
+
"cl-input-quantity",
|
|
162
|
+
"cl-input-rich",
|
|
163
|
+
"cl-input-textarea",
|
|
164
|
+
"cl-list-item",
|
|
165
|
+
"cl-progress-scale",
|
|
166
|
+
"cl-reference-link",
|
|
167
|
+
"cl-slider-range",
|
|
168
|
+
"cl-spinner",
|
|
169
|
+
"cl-switch",
|
|
170
|
+
"cl-tag"
|
|
171
|
+
]
|
|
139
172
|
}
|
|
140
173
|
]
|
|
141
174
|
}
|
package/dist/smart/rule.js
CHANGED
|
@@ -40,6 +40,100 @@ SF.RuleLoader.registerPackage("view", {
|
|
|
40
40
|
],
|
|
41
41
|
"type": "smart"
|
|
42
42
|
},
|
|
43
|
+
"cl-view-flow": {
|
|
44
|
+
"css": true,
|
|
45
|
+
"js": true,
|
|
46
|
+
"mode": "smart",
|
|
47
|
+
"relation": [
|
|
48
|
+
{
|
|
49
|
+
"name": "icons"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "cl-icon"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "cl-button"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "cl-avatar"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "cl-badge"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "cl-tag"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "cl-reference-link"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "cl-progress-scale"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "cl-file-preview"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "cl-input-color"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "cl-input-country"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "cl-help-mark"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "cl-list-item"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "cl-spinner"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"lazy": true,
|
|
92
|
+
"name": "cl-slider-range"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "cl-input"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "cl-input-textarea"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "cl-dropdown"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "cl-input-date"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "cl-switch"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "cl-checkbox"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"lazy": true,
|
|
114
|
+
"name": "cl-button-group"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "cl-input-quantity"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"lazy": true,
|
|
121
|
+
"name": "cl-input-rich"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"lazy": true,
|
|
125
|
+
"name": "cl-input-image"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"lazy": true,
|
|
129
|
+
"name": "cl-button-icon"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"tags": [
|
|
133
|
+
"sf-view-flow"
|
|
134
|
+
],
|
|
135
|
+
"type": "smart"
|
|
136
|
+
},
|
|
43
137
|
"cl-view-properties": {
|
|
44
138
|
"css": true,
|
|
45
139
|
"js": true,
|
package/dist/smart/rule.js.gz
CHANGED
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$comment": "sf-data-view from its component.json (standard simai.smart-component 1.3.8, vocabulary 1.1.5), migrated from ui-control control/smart-architecture/migration/out/data-view; every x-todo decided in x-decisions.",
|
|
3
3
|
"id": "smart.view",
|
|
4
4
|
"tag": "sf-view",
|
|
5
|
-
"version": "1.8.
|
|
5
|
+
"version": "1.8.2",
|
|
6
6
|
"kind": "leaf",
|
|
7
7
|
"family": "table",
|
|
8
8
|
"settings": {
|
|
@@ -1064,7 +1064,8 @@
|
|
|
1064
1064
|
"loader-ensure": "version 1.6.5: the parts, the move dialog's elements and sf-table for the row-action catalogue are asked for through SF.Loader.ensure (core.runtime 1.19.0), not ensureSmartElementLoaded or a race of whenDefined against 3 s of its own (reuse audit 2026-11-02, finding 4). Needs core.runtime >= 1.19.0.",
|
|
1065
1065
|
"layer-stack-dialog": "version 1.7.0: the move dialog and the host's confirmation (confirm_required) are sf-modal, not a native <dialog> shown with showModal() (reuse audit 2026-11-02, findings 1 and 2): a modal layer of the one document stack, so a drawer or a modal opened over it or under it is ordered with it, Escape and a press outside close the top one only, focus returns by the stack's rule, the page lock is the stack's. The window is made in slot dialog and drawn in sf-modal's portal; open() asked with a signal answers when it closes (§19.4), accepted only through the apply button (sf-modal confirm()); Escape, the scrim, the close button and «Отмена» answer null as Escape and «Отмена» did. sf-modal, sf-button and sf-radio are asked for through SF.Loader.ensure before it opens; without sf-modal the view says unavailable and writes nothing. Visible: the shared scrim (black at 60) in place of the browser's light backdrop, the title in sf-modal's header with its close button, sf-modal's panel and footer. Needs core.runtime >= 1.19.0.",
|
|
1066
1066
|
"framework-tag-renames": "version 1.7.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 bulk clear button is sf-button-icon. 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).",
|
|
1067
|
-
"tag-rename": "version 1.8.0: the tag is sf-view (naming decision 2026-11-02: sf-[set]-<block>[-<variant>]; rename plan R2); the folder view, the id smart.view and the bundle cl-view follow it. sf-data-view stays a dated alias until 2027-01-01: a subclass the Smart base defines beside the new tag, listed in the package rule, in sheets as :is(sf-view, sf-data-view), its events named after the tag followed by their former names (ui-source change journal tag-sf-data-view-to-sf-view, path-smart-data-view-to-view)."
|
|
1067
|
+
"tag-rename": "version 1.8.0: the tag is sf-view (naming decision 2026-11-02: sf-[set]-<block>[-<variant>]; rename plan R2); the folder view, the id smart.view and the bundle cl-view follow it. sf-data-view stays a dated alias until 2027-01-01: a subclass the Smart base defines beside the new tag, listed in the package rule, in sheets as :is(sf-view, sf-data-view), its events named after the tag followed by their former names (ui-source change journal tag-sf-data-view-to-sf-view, path-smart-data-view-to-view).",
|
|
1068
|
+
"host-chrome": "version 1.8.1: a table the host wrote selectable=\"false\" or settings=\"false\" on keeps it. The view wrote its own chrome (select, settings) over both on every projection, so a list the host had turned them off on came back with a box in every row and the settings column (Larena, the sites list, 2026-11-05). What the table carried before the view first touched it is kept in data-sf-host-selectable and data-sf-host-settings, as data-sf-host-row-actions already was, and the first-paint skeleton draws the same columns."
|
|
1068
1069
|
},
|
|
1069
1070
|
"x-rule": {
|
|
1070
1071
|
"$comment": [
|
|
@@ -1339,6 +1340,13 @@
|
|
|
1339
1340
|
"changes": [
|
|
1340
1341
|
"The tag is sf-view (rename plan R2, naming decision 2026-11-02: sf-[set]-<block>); the folder view, the id smart.view and the bundle cl-view follow it (were data-view, smart.data-view-composite, cl-data-view). sf-data-view stays a dated alias until 2027-01-01: old markup upgrades as this element, the Loader forwards cl-data-view, and every event fires under its former name as well, with the same detail. Public CSS variables and classes keep their names; the opaque instance_id of the state and answer events reads sf-view-<n> (was sf-data-view-<n>). Needs the SIMAI Framework pair whose package reference lists the former tag (core.runtime 1.22.0). Nothing to change for a host until 2027-01-01; new markup writes sf-view."
|
|
1341
1342
|
]
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"from": "1.8.0",
|
|
1346
|
+
"to": "1.8.1",
|
|
1347
|
+
"changes": [
|
|
1348
|
+
"A table the host wrote selectable=\"false\" or settings=\"false\" on keeps it inside the view (no row boxes, no settings column); before, the view's chrome overwrote both. Nothing to change for a host; a host that wanted the view's boxes on such a table removes its own attribute."
|
|
1349
|
+
]
|
|
1342
1350
|
}
|
|
1343
1351
|
]
|
|
1344
1352
|
},
|
|
Binary file
|
|
@@ -482,6 +482,17 @@ const COLUMN_PRESENTATION = {
|
|
|
482
482
|
min_width: "minWidth"
|
|
483
483
|
}; // The sentence a host answer carries for a person (port answer `message`):
|
|
484
484
|
// a non-empty string, trimmed; anything else is no message.
|
|
485
|
+
// A chrome part the host turned off on its own table (selectable="false",
|
|
486
|
+
// settings="false") stays off. The view writes these attributes on every
|
|
487
|
+
// projection, so what the table carried before the view first touched it is
|
|
488
|
+
// kept aside, as data-sf-host-row-actions is, and read from there.
|
|
489
|
+
|
|
490
|
+
function hostWroteOff(table, name) {
|
|
491
|
+
if (!table) return false;
|
|
492
|
+
const marker = `data-sf-host-${name}`;
|
|
493
|
+
if (!table.hasAttribute?.(marker)) table.setAttribute?.(marker, table.getAttribute?.(name) ?? "");
|
|
494
|
+
return table.getAttribute?.(marker) === "false";
|
|
495
|
+
}
|
|
485
496
|
|
|
486
497
|
function hostMessage(answer) {
|
|
487
498
|
return typeof answer?.message === "string" ? answer.message.trim() : "";
|
|
@@ -1375,8 +1386,8 @@ class SfDataView extends DataViewElement {
|
|
|
1375
1386
|
|
|
1376
1387
|
const toolbar = table ? table.getAttribute("toolbar") !== "false" : this.renders("toolbar");
|
|
1377
1388
|
const ownToolbar = Boolean(table) && this.renders("toolbar") && Boolean(this.querySelector(':scope > [slot="toolbar"]'));
|
|
1378
|
-
const select = this.renders("select");
|
|
1379
|
-
const settings = this.renders("settings");
|
|
1389
|
+
const select = this.renders("select") && !hostWroteOff(table, "selectable");
|
|
1390
|
+
const settings = this.renders("settings") && !hostWroteOff(table, "settings");
|
|
1380
1391
|
const layout = table?.getAttribute("layout") || (this.renders("toolbar") ? "auto" : "table");
|
|
1381
1392
|
skeleton.setAttribute("data-layout", ["auto", "table", "list"].includes(layout) ? layout : "table");
|
|
1382
1393
|
const columns = this.expectedColumns;
|
|
@@ -2734,8 +2745,14 @@ class SfDataView extends DataViewElement {
|
|
|
2734
2745
|
const refused = this._queryRefused === true;
|
|
2735
2746
|
if (!table.hasAttribute?.("data-sf-host-toolbar")) table.setAttribute("data-sf-host-toolbar", table.getAttribute?.("toolbar") ?? "");
|
|
2736
2747
|
const authorToolbar = table.getAttribute?.("data-sf-host-toolbar");
|
|
2737
|
-
if (refused) table.setAttribute("toolbar", "false");else if (authorToolbar) table.setAttribute("toolbar", authorToolbar);else table.removeAttribute?.("toolbar");
|
|
2738
|
-
|
|
2748
|
+
if (refused) table.setAttribute("toolbar", "false");else if (authorToolbar) table.setAttribute("toolbar", authorToolbar);else table.removeAttribute?.("toolbar"); // The row boxes and the gear column are the view's chrome, unless the
|
|
2749
|
+
// host wrote them off on its table: what the table carried before the
|
|
2750
|
+
// view first touched it is the host's word, as for row-actions below.
|
|
2751
|
+
// A table written selectable="false" came back selectable="true" and
|
|
2752
|
+
// drew a box in every row of a list that has no bulk actions (Larena,
|
|
2753
|
+
// the sites list, 2026-11-05).
|
|
2754
|
+
|
|
2755
|
+
table.setAttribute("selectable", this.renders("select") && !refused && !hostWroteOff(table, "selectable") ? "true" : "false"); // A page's list becomes the compact list on a narrow container; an
|
|
2739
2756
|
// embedded one (no toolbar) stays a table, and a layout the host
|
|
2740
2757
|
// wrote on its table is the host's.
|
|
2741
2758
|
|
|
@@ -2751,7 +2768,7 @@ class SfDataView extends DataViewElement {
|
|
|
2751
2768
|
|
|
2752
2769
|
this._tableScrollMode(table);
|
|
2753
2770
|
|
|
2754
|
-
table.setAttribute("settings", this.renders("settings") ? "true" : "false"); // The column settings, without the column: it also carries each
|
|
2771
|
+
table.setAttribute("settings", this.renders("settings") && !hostWroteOff(table, "settings") ? "true" : "false"); // The column settings, without the column: it also carries each
|
|
2755
2772
|
// row's menu, which is the host's row-actions, not this.
|
|
2756
2773
|
|
|
2757
2774
|
table.setAttribute("settings-menu", this.hostOffers("personal-column-settings") ? "true" : "false");
|
|
@@ -3745,7 +3762,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"$comment":"Dated aliases of sf-view
|
|
|
3745
3762
|
/***/ "7086146c00cc"
|
|
3746
3763
|
(module) {
|
|
3747
3764
|
|
|
3748
|
-
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.8.
|
|
3765
|
+
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.8.2","kind":"leaf","settings":{"chrome":{"type":"string","default":"toolbar pagination select settings"},"row-cap":{"type":"number","default":0,"integer":true,"min":0},"expected-columns":{"type":"number","default":4,"integer":true,"min":1},"port-owner":{"type":"string","default":""},"port-record":{"type":"string","default":""},"port-group":{"type":"string","default":""},"size":{"type":"enum","values":["1/2","1"],"default":"1"},"column-search-placeholder":{"type":"string"},"column-search-empty-text":{"type":"string"},"column-move-label":{"type":"string"},"filter-apply-text":{"type":"string"},"show-more-text":{"type":"string"},"selected-label":{"type":"string"},"total-label":{"type":"string"},"pages-label":{"type":"string"},"first-label":{"type":"string"},"previous-label":{"type":"string"},"page-label":{"type":"string"},"next-label":{"type":"string"},"last-label":{"type":"string"},"page-field-label":{"type":"string"},"action-choose-label":{"type":"string"},"actions-label":{"type":"string"},"actions-region-label":{"type":"string"},"clear-selection-label":{"type":"string"},"page-size-label":{"type":"string"},"pagination-aria-label":{"type":"string"},"preferences-key":{"type":"string","default":""},"accept-files":{"type":"boolean","default":false},"collection":{"type":"string","default":""},"current":{"type":"string","default":""},"bulk-actions":{"type":"list","of":{"id":"string","label":"string"}},"first-answer":{"type":"object","optional":true}},"values":{"state":{"type":"state"},"total":{"type":"number","nullable":true},"selected":{"type":"id","optional":true},"selection":{"type":"list"}},"events":{"open":{"carries":{"id":"id"},"cancelable":true},"deleted":{"carries":{"ids":"list"}},"answer":{"carries":{"intent":{"type":"string"},"answer":{"type":"enum","values":["applied","conflict","refused","unavailable"],"schema":{"type":"string"}},"reason":{"type":"string","optional":true},"message":{"type":"string","optional":true},"data":{"type":"object","optional":true},"sequence":{"type":"number","integer":true,"optional":true},"effects":{"type":"list","optional":true},"instance_id":{"type":"string"}},"own-verb":true},"state":{"carries":{"state":{"type":"enum","values":["loading","populated","empty","error","no-access"],"schema":{"type":"string"}},"message":{"type":"string"},"instance_id":{"type":"string"}},"own-verb":true},"tree":{"carries":{"intent":"string","payload":{"type":"object","optional":true}},"own-verb":true},"files-drop":{"carries":{"files":{"type":"list","schema":{"items":{"type":"object"},"minItems":1}}},"own-verb":true},"pagination-count":{"shared":"count-on-request@1","carries":{"component":{"type":"object"},"tagName":{"type":"string"},"template":{"type":"string"},"reason":{"type":"enum","values":["total","last-page","action-for-all"],"schema":{"type":"string"}},"current":{"type":"number","integer":true},"pageSize":{"type":"number","integer":true}}},"saved-view-intent":{"carries":{"key":{"type":"string"},"label":{"type":"string"},"revision":{"type":"string","schema":{"type":["string","integer"]},"optional":true},"roles":{"type":"object","optional":true}}},"table-action-intent":{"shared":"table-intents@1","carries":{"action_id":{"type":"string","schema":{"minLength":1}},"record_ids":{"type":"list","schema":{"items":{"type":["string","integer"]},"minItems":1}}}},"table-column-settings-change":{"shared":"table-intents@1","carries":{"reason":{"type":"string"},"columnSettings":{"type":"object"},"tableSettingsKey":{"type":"string"},"target":{"type":"enum","values":["personal","shared"],"schema":{"type":"string"},"optional":true},"base_revision":{"type":"string","schema":{"type":["string","number"]},"optional":true}}},"table-column-settings-reset":{"shared":"table-intents@1","carries":{"target":{"type":"enum","values":["personal"],"schema":{"type":"string"}},"tableSettingsKey":{"type":"string","schema":{"type":["string","null"]}}}},"table-create-intent":{"shared":"table-intents@1","carries":{"item":{"type":"string","schema":{"type":["string","null"]}}}},"table-query-intent":{"shared":"table-intents@1","carries":{"reason":{"type":"enum","values":["context"]},"context":{"type":"object"},"sequence":{"type":"number","integer":true,"schema":{"minimum":1}}}},"table-template-delete":{"shared":"table-intents@1","carries":{"key":{"type":"string","schema":{"minLength":1}}}},"table-template-save":{"shared":"table-intents@1","carries":{},"x-comment":"The detail is one template object or an array of them: a carries map cannot say that, so the payload schema is x-registry/event-fields until 1.4 has a home for a detail that is not a flat object."},"table-template-select":{"shared":"table-intents@1","carries":{"key":{"type":"string","schema":{"minLength":1}}}},"host-port-request":{"shared":"host-port@1","carries":{"component":{"type":"object","optional":true},"context":{"type":"object","optional":true}}},"list-open":{"carries":{"reason":{"type":"id","schema":{"enum":["row-cap"]}},"query":{"type":"object"}}},"table-cell-set":{"shared":"table-intents@1","carries":{"id":{"type":"string","schema":{"type":["string","integer"]}},"key":{"type":"string"},"value":{"type":"id"},"revision":{"type":"string","schema":{"type":["string","integer","null"]}}}},"table-rows-reorder":{"shared":"table-intents@1","carries":{"ids":{"type":"list","schema":{"items":{"type":"string"},"minItems":1}},"before":{"type":"string","schema":{"type":["string","null"]}},"order":{"type":"list","schema":{"items":{"type":"string"}}}}}},"actions":{"refresh":{"with":{"reason":{"type":"string","optional":true}}},"change-query":{"with":{"patch":"object","reason":{"type":"string","optional":true}},"concurrency":"latest"},"open-view":{"with":{"key":"string"}},"save-view":{"with":{"view":{"type":"object"}},"concurrency":"drop"},"delete-view":{"with":{"key":"string"},"concurrency":"drop"},"apply-under-filter":{"with":{"action-id":"string","confirmed-total":"number"},"concurrency":"drop"},"reset-column-settings":{},"clear-selection":{},"notify":{"with":{"text":"string","options":{"type":"object","optional":true}}}},"port":{"id":"simai.dataview-port","version":"1.13.0","contract":"src/core/contracts/ports/simai.dataview-port/1.13.0/port.json"},"presentation":{"skeleton":{"late":[]}},"css-variables":{"--sf-data-view-gap":{"type":"length","state":"default"},"--sf-data-view-drop-border-color":{"type":"color","state":"dragged-over"},"--sf-data-view-drop-background-color":{"type":"color","state":"dragged-over"},"--sf-data-view-drop-color":{"type":"color","state":"dragged-over"},"--sf-data-view-toolbar-gap":{"type":"length","state":"default"}},"host-states":{"data-state":"string","aria-busy":"string"}}');
|
|
3749
3766
|
|
|
3750
3767
|
/***/ },
|
|
3751
3768
|
|
|
Binary file
|