@simai-studio/view 1.1.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 +310 -69
- 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 +1 -1
- package/dist/smart/view/component.json.gz +0 -0
- package/dist/smart/view/js/view.js +1 -1
- 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 +1 -1
- 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 +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 +1 -1
- package/dist/smart/view-properties/component.json.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.js +59 -21
- package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.min.js +8 -6
- package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
- package/dist/smart/view-properties/smart.manifest.json +6 -2
- package/dist/smart/view-properties/smart.manifest.json.gz +0 -0
- package/dist/smart/view-properties/template/default.js +1 -77
- package/dist/smart/view-properties/template/default.js.gz +0 -0
- package/dist/smart/view-table/js/view-table.js +2 -0
- package/dist/smart/view-table/js/view-table.js.gz +0 -0
- package/dist/smart/view-table/js/view-table.min.js +2 -0
- package/dist/smart/view-table/js/view-table.min.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": {
|
|
Binary file
|
|
@@ -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.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"}}');
|
|
3766
3766
|
|
|
3767
3767
|
/***/ },
|
|
3768
3768
|
|
|
Binary file
|