@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.
Files changed (54) hide show
  1. package/README.md +5 -5
  2. package/dist/package-receipt.json +124 -124
  3. package/dist/set.json +1 -1
  4. package/dist/smart/view/component.json +19 -10
  5. package/dist/smart/view/component.json.gz +0 -0
  6. package/dist/smart/view/js/view.js +2 -2
  7. package/dist/smart/view/js/view.js.gz +0 -0
  8. package/dist/smart/view/js/view.min.js +1 -1
  9. package/dist/smart/view/js/view.min.js.gz +0 -0
  10. package/dist/smart/view/smart.manifest.json +14 -6
  11. package/dist/smart/view/smart.manifest.json.gz +0 -0
  12. package/dist/smart/view/static/default/open-record.html +1 -1
  13. package/dist/smart/view/static/default/open-record.html.gz +0 -0
  14. package/dist/smart/view/static/default/reference.html +1 -1
  15. package/dist/smart/view/static/default/reference.html.gz +0 -0
  16. package/dist/smart/view-flow/component.json +10 -2
  17. package/dist/smart/view-flow/component.json.gz +0 -0
  18. package/dist/smart/view-flow/css/view-flow.css +367 -0
  19. package/dist/smart/view-flow/css/view-flow.css.gz +0 -0
  20. package/dist/smart/view-flow/css/view-flow.min.css +1 -0
  21. package/dist/smart/view-flow/css/view-flow.min.css.gz +0 -0
  22. package/dist/smart/view-flow/js/view-flow.js +1977 -72
  23. package/dist/smart/view-flow/js/view-flow.js.gz +0 -0
  24. package/dist/smart/view-flow/js/view-flow.min.js +320 -197
  25. package/dist/smart/view-flow/js/view-flow.min.js.gz +0 -0
  26. package/dist/smart/view-flow/smart.manifest.json +11 -3
  27. package/dist/smart/view-flow/smart.manifest.json.gz +0 -0
  28. package/dist/smart/view-flow/static/default/ask.html +1 -1
  29. package/dist/smart/view-flow/static/default/ask.html.gz +0 -0
  30. package/dist/smart/view-flow/static/default/reference.html +2 -2
  31. package/dist/smart/view-flow/static/default/reference.html.gz +0 -0
  32. package/dist/smart/view-properties/component.json +15 -1
  33. package/dist/smart/view-properties/component.json.gz +0 -0
  34. package/dist/smart/view-properties/css/view-properties.css +384 -4
  35. package/dist/smart/view-properties/css/view-properties.css.gz +0 -0
  36. package/dist/smart/view-properties/css/view-properties.min.css +2 -1
  37. package/dist/smart/view-properties/css/view-properties.min.css.gz +0 -0
  38. package/dist/smart/view-properties/js/view-properties.js +1974 -69
  39. package/dist/smart/view-properties/js/view-properties.js.gz +0 -0
  40. package/dist/smart/view-properties/js/view-properties.min.js +553 -430
  41. package/dist/smart/view-properties/js/view-properties.min.js.gz +0 -0
  42. package/dist/smart/view-properties/smart.manifest.json +42 -4
  43. package/dist/smart/view-properties/smart.manifest.json.gz +0 -0
  44. package/dist/smart/view-properties/template/default.css +13 -2
  45. package/dist/smart/view-properties/template/default.css.gz +0 -0
  46. package/dist/smart/view-table/component.json +8 -1
  47. package/dist/smart/view-table/component.json.gz +0 -0
  48. package/dist/smart/view-table/js/view-table.js +393 -33
  49. package/dist/smart/view-table/js/view-table.js.gz +0 -0
  50. package/dist/smart/view-table/js/view-table.min.js +152 -139
  51. package/dist/smart/view-table/js/view-table.min.js.gz +0 -0
  52. package/dist/smart/view-table/smart.manifest.json +9 -2
  53. package/dist/smart/view-table/smart.manifest.json.gz +0 -0
  54. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 2,
3
3
  "id": "smart.view-properties",
4
- "version": "1.10.1",
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",
@@ -1532,6 +1532,20 @@
1532
1532
  "changes": [
1533
1533
  "A datetime or time field is one sf-input-date (mode datetime or time) instead of a day and a masked time field; the value written is the same ISO 8601. Dates the host does not format read in the page's language. A colour palette wraps in a half-width field. A closed panel shows no close button or shadow over the page. An entry put back to the stored value is not written. Nothing to change for a host; a host that read the pair's names («<label>: дата», «<label>: время») finds one control named by the label."
1534
1534
  ]
1535
+ },
1536
+ {
1537
+ "from": "1.10.1",
1538
+ "to": "1.11.0",
1539
+ "changes": [
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
+ ]
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
+ ]
1535
1549
  }
1536
1550
  ]
1537
1551
  },
@@ -1549,7 +1563,7 @@
1549
1563
  },
1550
1564
  {
1551
1565
  "path": "src/smart/view-properties/js/templates/default.css",
1552
- "sha256": "070ec7d9a02a683ce6dffa8631dd3c2722a5158dbb4e58541d9945312561ad21"
1566
+ "sha256": "daad2ac6e944e1fd5fbf939412385e76ea27dbd43ab5213a0601ad44f1916d82"
1553
1567
  },
1554
1568
  {
1555
1569
  "path": "src/smart/view-properties/js/conditions.js",
@@ -1557,7 +1571,31 @@
1557
1571
  },
1558
1572
  {
1559
1573
  "path": "src/smart/view-properties/js/field-value.js",
1560
- "sha256": "18194d28683ab6dc3f876cd4f39928745017b5e03f2abd310876c079ffe74188"
1574
+ "sha256": "aa04dbf2f3f8a979966af613c82e2bcffa13020371a5884f88728f50c1145b8e"
1575
+ },
1576
+ {
1577
+ "path": "src/smart/view-properties/js/requisites.js",
1578
+ "sha256": "66ebd2f8c9428feea6e36a18ec3c2eae62278d5ee8d9e8d4d5a562ab5a819bcf"
1579
+ },
1580
+ {
1581
+ "path": "src/smart/view-properties/js/decimal.js",
1582
+ "sha256": "02c0ee50c08423cca425834fc3a6b8f717313764af36b3cd890c08d0643e7abc"
1583
+ },
1584
+ {
1585
+ "path": "src/smart/view-properties/js/rows.js",
1586
+ "sha256": "80eacb056aa8fd40682697fd89f1d8eabe1ae3646dda8ecf164d595ea8abef5c"
1587
+ },
1588
+ {
1589
+ "path": "src/smart/view-properties/js/money.js",
1590
+ "sha256": "8e7ba7bab391daf9f28e403bee2a3e3f2fd2ad1ec11742421fceff0d18b0c188"
1591
+ },
1592
+ {
1593
+ "path": "src/smart/view-properties/js/set-fields.css",
1594
+ "sha256": "dc40d576e3fec0d8b0ae598c415149d85b8d5fc000e15aaa578093cae6545bff"
1595
+ },
1596
+ {
1597
+ "path": "src/smart/view-properties/js/set-fields.js",
1598
+ "sha256": "f2b67678f0c498b2355cb5b1233ab903ca8cb089c05244e09c760e049e89c815"
1561
1599
  },
1562
1600
  {
1563
1601
  "path": "src/smart/view-properties/rule.js",
@@ -1569,7 +1607,7 @@
1569
1607
  },
1570
1608
  {
1571
1609
  "path": "src/smart/view-properties/docs.md",
1572
- "sha256": "335230ca6ea373effddc4737765befd00b0098e214794f483f35562ede7de708"
1610
+ "sha256": "e66515f627d9a8515807d01dd7d6d3c172f5da4e7aab6ef0cb53a9b02c51052d"
1573
1611
  }
1574
1612
  ],
1575
1613
  "generated_runtime": []
@@ -887,12 +887,23 @@
887
887
 
888
888
  .sf-property-view-title {
889
889
  margin: 0;
890
- font-size: var(--sf-property-view--title-size, var(--sf-heading-4--size));
891
- line-height: var(--sf-property-view--title-height, var(--sf-heading-4--height));
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
@@ -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.0",
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
  },