@simai-studio/view 1.3.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 +4 -4
- package/dist/package-receipt.json +106 -106
- 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/js/view-flow.js +388 -31
- package/dist/smart/view-flow/js/view-flow.js.gz +0 -0
- package/dist/smart/view-flow/js/view-flow.min.js +213 -201
- package/dist/smart/view-flow/js/view-flow.min.js.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 +8 -1
- package/dist/smart/view-properties/component.json.gz +0 -0
- package/dist/smart/view-properties/css/view-properties.css +17 -4
- 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 +389 -32
- package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
- package/dist/smart/view-properties/js/view-properties.min.js +167 -155
- package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
- package/dist/smart/view-properties/smart.manifest.json +9 -2
- 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
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 2,
|
|
3
3
|
"id": "smart.view-properties",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.1",
|
|
5
5
|
"title": "Property view",
|
|
6
6
|
"summary": "One object's fields shown as sections, groups and fields, each drawn by the per-type field renderer set, behind a separate host port. A group is edited and saved as one revision by the button, and a reference field is picked from the host's own candidates a page at a time. The pair to the data view: that one is a set of records, this one is a single object.",
|
|
7
7
|
"kind": "composite",
|
|
@@ -1539,6 +1539,13 @@
|
|
|
1539
1539
|
"changes": [
|
|
1540
1540
|
"The set draws five property types itself, from Framework controls: money {amount, currency} (an amount with the currency's sign, or a currency choice; minor digits by ISO 4217), percent (a decimal with %), items (rows over the field's columns: typed cells, computed cells worked out live, totals, rows added, removed and moved, min and max rows, a card a row where the field is narrow), compound (a fixed set of parts, one value object) and ru.requisites (ИНН, КПП, ОГРН, БИК, accounts, checked part by part and together). Every number is a decimal string, never a float. An entry that is not a value yet holds both saves, as an incomplete masked string does. The settings they read (currency, columns, minRows, maxRows, parts) are due in simai.property-view-port 1.18.0. Nothing changes for a host that sends none of these types."
|
|
1541
1541
|
]
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"from": "1.11.0",
|
|
1545
|
+
"to": "1.11.1",
|
|
1546
|
+
"changes": [
|
|
1547
|
+
"The record's title keeps rung 3 (--sf-text--size-3, --sf-title--height-3) and the views' list heading rung 4 with the heading's space, where they fell back to the heading-4 and heading-3 roles that the content heading ladder moves to smaller rungs (tokens.typography 1.2.0, docs review R022). Unchanged on the page over every pair; a host's --sf-property-view--title-size and --sf-property-view--title-height still win. Nothing to change for a host."
|
|
1548
|
+
]
|
|
1542
1549
|
}
|
|
1543
1550
|
]
|
|
1544
1551
|
},
|
|
@@ -1556,7 +1563,7 @@
|
|
|
1556
1563
|
},
|
|
1557
1564
|
{
|
|
1558
1565
|
"path": "src/smart/view-properties/js/templates/default.css",
|
|
1559
|
-
"sha256": "
|
|
1566
|
+
"sha256": "daad2ac6e944e1fd5fbf939412385e76ea27dbd43ab5213a0601ad44f1916d82"
|
|
1560
1567
|
},
|
|
1561
1568
|
{
|
|
1562
1569
|
"path": "src/smart/view-properties/js/conditions.js",
|
|
Binary file
|
|
@@ -887,12 +887,23 @@
|
|
|
887
887
|
|
|
888
888
|
.sf-property-view-title {
|
|
889
889
|
margin: 0;
|
|
890
|
-
|
|
891
|
-
|
|
890
|
+
/* Rung 3, the step the heading-4 role held before the content heading
|
|
891
|
+
ladder moved it to the body size (tokens.typography 1.2.0, docs review
|
|
892
|
+
R022); a record's name is not a content sub-heading. */
|
|
893
|
+
font-size: var(--sf-property-view--title-size, var(--sf-text--size-3));
|
|
894
|
+
line-height: var(--sf-property-view--title-height, var(--sf-title--height-3));
|
|
892
895
|
font-weight: 700;
|
|
893
896
|
text-overflow: ellipsis;
|
|
894
897
|
white-space: nowrap;
|
|
895
898
|
}
|
|
899
|
+
/* The views' list heading is an h3 with no look of its own, so it took the
|
|
900
|
+
heading-3 role, which the content heading ladder moves two rungs down
|
|
901
|
+
(R022). It keeps rung 4 and the heading's own space, as before. */
|
|
902
|
+
.sf-property-view-profiles-title {
|
|
903
|
+
margin-block: var(--sf-heading--space-top) var(--sf-heading--space-bottom);
|
|
904
|
+
font-size: var(--sf-text--size-4);
|
|
905
|
+
line-height: var(--sf-title--height-4);
|
|
906
|
+
}
|
|
896
907
|
/* Beside the panel, not in it: the strip goes into the drawer's own edge area,
|
|
897
908
|
which is a sibling of the panel and is not clipped by it. How the controls
|
|
898
909
|
stack is said with utilities on the element; this only rounds them, because
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$comment": "sf-table from its component.json (standard simai.smart-component 1.3.8, vocabulary 1.1.5), migrated from ui-control control/smart-architecture/migration/out/table (convert-1.3.8.mjs over ui-pro 9cbe061); every x-todo decided in x-decisions.",
|
|
3
3
|
"id": "smart.view-table",
|
|
4
4
|
"tag": "sf-view-table",
|
|
5
|
-
"version": "1.15.
|
|
5
|
+
"version": "1.15.1",
|
|
6
6
|
"kind": "leaf",
|
|
7
7
|
"family": "table",
|
|
8
8
|
"settings": {
|
|
@@ -2184,6 +2184,13 @@
|
|
|
2184
2184
|
"changes": [
|
|
2185
2185
|
"A date, date and time or time the host does not format reads in the page's language («2 нояб. 2026 г.», «15 нояб. 2026 г., 10:30», «09:30») instead of as stored; a host's formatFieldValue still wins. An html cell shows its text, not its markup; a cell of several files shows each file's name with its icon. The settings column is left out when it would open nothing (no settings-menu, no row actions, no row-reorder). Nothing to change for a host; a host that relied on stored dates in cells formats them in formatFieldValue."
|
|
2186
2186
|
]
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"from": "1.15.0",
|
|
2190
|
+
"to": "1.15.1",
|
|
2191
|
+
"changes": [
|
|
2192
|
+
"A filter option drawn as a badge is a tight badge (sf-badge tight, SIMAI Framework sf-badge 1.3.0): it keeps the size's own narrow side room in the dense option list, as a table cell's choice badge does. Needs the pair with sf-badge 1.3.0 (ui-2a671352d67b or newer) to show; on an older pair the attribute is ignored and the badge is as before. Nothing to change for a host."
|
|
2193
|
+
]
|
|
2187
2194
|
}
|
|
2188
2195
|
]
|
|
2189
2196
|
},
|
|
Binary file
|