@simai-studio/view 1.2.0 → 1.4.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 +124 -124
- package/dist/set.json +1 -1
- package/dist/smart/view/component.json +19 -10
- package/dist/smart/view/component.json.gz +0 -0
- package/dist/smart/view/js/view.js +2 -2
- 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 +14 -6
- package/dist/smart/view/smart.manifest.json.gz +0 -0
- package/dist/smart/view/static/default/open-record.html +1 -1
- package/dist/smart/view/static/default/open-record.html.gz +0 -0
- package/dist/smart/view/static/default/reference.html +1 -1
- package/dist/smart/view/static/default/reference.html.gz +0 -0
- package/dist/smart/view-flow/component.json +10 -2
- package/dist/smart/view-flow/component.json.gz +0 -0
- package/dist/smart/view-flow/css/view-flow.css +367 -0
- package/dist/smart/view-flow/css/view-flow.css.gz +0 -0
- package/dist/smart/view-flow/css/view-flow.min.css +1 -0
- package/dist/smart/view-flow/css/view-flow.min.css.gz +0 -0
- package/dist/smart/view-flow/js/view-flow.js +1977 -72
- package/dist/smart/view-flow/js/view-flow.js.gz +0 -0
- package/dist/smart/view-flow/js/view-flow.min.js +320 -197
- package/dist/smart/view-flow/js/view-flow.min.js.gz +0 -0
- package/dist/smart/view-flow/smart.manifest.json +11 -3
- package/dist/smart/view-flow/smart.manifest.json.gz +0 -0
- package/dist/smart/view-flow/static/default/ask.html +1 -1
- package/dist/smart/view-flow/static/default/ask.html.gz +0 -0
- package/dist/smart/view-flow/static/default/reference.html +2 -2
- package/dist/smart/view-flow/static/default/reference.html.gz +0 -0
- package/dist/smart/view-properties/component.json +15 -1
- package/dist/smart/view-properties/component.json.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.css +384 -4
- package/dist/smart/view-properties/css/view-properties.css.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.min.css +2 -1
- package/dist/smart/view-properties/css/view-properties.min.css.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.js +1974 -69
- package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.min.js +553 -430
- package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
- package/dist/smart/view-properties/smart.manifest.json +42 -4
- package/dist/smart/view-properties/smart.manifest.json.gz +0 -0
- package/dist/smart/view-properties/template/default.css +13 -2
- package/dist/smart/view-properties/template/default.css.gz +0 -0
- package/dist/smart/view-table/component.json +8 -1
- package/dist/smart/view-table/component.json.gz +0 -0
- package/dist/smart/view-table/js/view-table.js +393 -33
- package/dist/smart/view-table/js/view-table.js.gz +0 -0
- package/dist/smart/view-table/js/view-table.min.js +152 -139
- package/dist/smart/view-table/js/view-table.min.js.gz +0 -0
- package/dist/smart/view-table/smart.manifest.json +9 -2
- package/dist/smart/view-table/smart.manifest.json.gz +0 -0
- package/package.json +1 -1
|
@@ -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.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"kind": "leaf",
|
|
7
7
|
"family": "table",
|
|
8
8
|
"settings": {
|
|
@@ -760,8 +760,8 @@
|
|
|
760
760
|
},
|
|
761
761
|
"port": {
|
|
762
762
|
"id": "simai.dataview-port",
|
|
763
|
-
"version": "1.
|
|
764
|
-
"contract": "src/core/contracts/ports/simai.dataview-port/1.
|
|
763
|
+
"version": "1.14.0",
|
|
764
|
+
"contract": "src/core/contracts/ports/simai.dataview-port/1.14.0/port.json"
|
|
765
765
|
},
|
|
766
766
|
"relations": [
|
|
767
767
|
{
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"pagination-aria-label"
|
|
991
991
|
],
|
|
992
992
|
"x-port": {
|
|
993
|
-
"sha256": "
|
|
993
|
+
"sha256": "729e7aae0fa1f4425ae11a470de024f75e92d475cd24cc63b7e1d3d020d2955b",
|
|
994
994
|
"supports": [
|
|
995
995
|
"1.0.0",
|
|
996
996
|
"1.1.0",
|
|
@@ -1005,7 +1005,8 @@
|
|
|
1005
1005
|
"1.10.0",
|
|
1006
1006
|
"1.11.0",
|
|
1007
1007
|
"1.12.0",
|
|
1008
|
-
"1.13.0"
|
|
1008
|
+
"1.13.0",
|
|
1009
|
+
"1.14.0"
|
|
1009
1010
|
]
|
|
1010
1011
|
},
|
|
1011
1012
|
"x-renamed": [
|
|
@@ -1049,7 +1050,7 @@
|
|
|
1049
1050
|
"persistence": "the person's sort and page size are kept in SF.Preferences under preferences-key (or collection); nothing is an assembly key (§7.5).",
|
|
1050
1051
|
"item-shape": "the projection's records are the table's rows {id, revision, …}; page and page-size are numbers (vocabulary 1.1.5).",
|
|
1051
1052
|
"slot-interface": "toolbar, content and pagination take page content as it is; they name no interface (§4.5.1) until a trait exists for them — the x-accepts the converter found are component lists, not interfaces.",
|
|
1052
|
-
"host-port": "connect-port (setHostPort its alias) hands the port; sf-host-port-request is still sent once per connection to a page that answers it, and is not part of this interface (the runtime hands ports down, §4.9).",
|
|
1053
|
+
"host-port": "connect-port (setHostPort its alias) hands the port; sf-host-port-request is still sent once per connection to a page that answers it, and is not part of this interface (the runtime hands ports down, §4.9). 1.9.0 (2026-11-08): the port moves to simai.dataview-port 1.14.0 (bulk.apply_selected may be confirmed first, ui-source #48); the confirm repeat the view already makes for any write the host refuses with confirm_required now covers a selected bulk too, and 1.0.0-1.13.0 stay supported.",
|
|
1053
1054
|
"listened-names": "the view listens to the table's and the page row's names of standard 1.3.8 (sf-table-apply, -select, -save, -refresh, -expand, -load-more, -move, -query, -create; sf-pagination-change, -size-change, -apply, -load-more, -selection-clear, -count, -action-change, -action-for-all-change), not to their dated aliases, so it keeps working after 2026-12-01 and takes each act once. Another page size reads from the first page.",
|
|
1054
1055
|
"own-parts": "a view placed by an assembly (the bare tag, data-sf-instance) makes its sf-table and sf-pagination as light-DOM children in its content and pagination slots, where the page's stylesheets reach them; the fallbacks inside the shadow root are drawn without the table's sheet. A page that writes the documented markup gives them itself and nothing is made. Since 1.6.0 the fallbacks and the made parts are the elements the Loader defines from their own bundles (the rule's relations cl-table, cl-pagination, cl-toast lazy); the view asks the Loader for any not defined yet (SF.Loader.ensure since 1.6.5) and projects again when it is. The fallbacks stay.",
|
|
1055
1056
|
"parts-by-tag": "1.6.0: index.js no longer imports ../table, ../pagination or ../toast (a package carries no element layer of its own, ui-source docs/developer/shared-runtime.md); data-view.min.js held a second copy of each (431 KB min, stand 25). Only the table's manifest-actions helpers are imported. The view's own sheet is its first paint (js/first-paint.css -> data-view.css, rule css true): the skeleton rules moved there from sf-table's sheet. A page that links data-view.css by hand keeps a sheet that exists; a page that relies on the Loader gets it from the rule.",
|
|
@@ -1172,9 +1173,9 @@
|
|
|
1172
1173
|
],
|
|
1173
1174
|
"host_port": {
|
|
1174
1175
|
"port": "simai.dataview-port",
|
|
1175
|
-
"version": "1.
|
|
1176
|
-
"path": "src/core/contracts/ports/simai.dataview-port/1.
|
|
1177
|
-
"sha256": "
|
|
1176
|
+
"version": "1.14.0",
|
|
1177
|
+
"path": "src/core/contracts/ports/simai.dataview-port/1.14.0/port.json",
|
|
1178
|
+
"sha256": "729e7aae0fa1f4425ae11a470de024f75e92d475cd24cc63b7e1d3d020d2955b",
|
|
1178
1179
|
"supported_versions": [
|
|
1179
1180
|
"1.0.0",
|
|
1180
1181
|
"1.1.0",
|
|
@@ -1189,7 +1190,8 @@
|
|
|
1189
1190
|
"1.10.0",
|
|
1190
1191
|
"1.11.0",
|
|
1191
1192
|
"1.12.0",
|
|
1192
|
-
"1.13.0"
|
|
1193
|
+
"1.13.0",
|
|
1194
|
+
"1.14.0"
|
|
1193
1195
|
]
|
|
1194
1196
|
}
|
|
1195
1197
|
},
|
|
@@ -1347,6 +1349,13 @@
|
|
|
1347
1349
|
"changes": [
|
|
1348
1350
|
"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
1351
|
]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"from": "1.8.2",
|
|
1355
|
+
"to": "1.9.0",
|
|
1356
|
+
"changes": [
|
|
1357
|
+
"Speaks simai.dataview-port 1.14.0 (SIMAI Framework pair ui-0c23f6a0af12, ui-source #48) beside 1.0.0-1.13.0: a bulk.apply_selected the host refuses with confirm_required and a digest is asked of the person and, confirmed, raised again with payload.confirm, as record.mutate and record.set already were. Nothing to change for a host on 1.13.0 or earlier; a host on 1.14.0 may ask to confirm a bulk write first."
|
|
1358
|
+
]
|
|
1350
1359
|
}
|
|
1351
1360
|
]
|
|
1352
1361
|
},
|
|
Binary file
|
|
@@ -531,7 +531,7 @@ function projectColumn(column) {
|
|
|
531
531
|
return projected;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
const SUPPORTED_PORT_VERSIONS = ["1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0", "1.7.0", "1.8.0", "1.9.0", "1.10.0", "1.11.0", "1.12.0", "1.13.0"]; // Creating a record and saving personal column settings became capabilities in
|
|
534
|
+
const SUPPORTED_PORT_VERSIONS = ["1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0", "1.7.0", "1.8.0", "1.9.0", "1.10.0", "1.11.0", "1.12.0", "1.13.0", "1.14.0"]; // Creating a record and saving personal column settings became capabilities in
|
|
535
535
|
// port 1.10.0. A host that declares an earlier version was offered both without
|
|
536
536
|
// announcing them and keeps that; a host on 1.10.0 is offered them only when it
|
|
537
537
|
// announces them, so a page is never given a control nobody would answer.
|
|
@@ -3762,7 +3762,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"$comment":"Dated aliases of sf-view
|
|
|
3762
3762
|
/***/ "7086146c00cc"
|
|
3763
3763
|
(module) {
|
|
3764
3764
|
|
|
3765
|
-
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.
|
|
3765
|
+
module.exports = /*#__PURE__*/JSON.parse('{"id":"smart.view","tag":"sf-view","version":"1.9.0","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.14.0","contract":"src/core/contracts/ports/simai.dataview-port/1.14.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"}}');
|
|
3766
3766
|
|
|
3767
3767
|
/***/ },
|
|
3768
3768
|
|
|
Binary file
|