@lotics/cli 0.321.3 → 0.321.5

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/docs/design.md CHANGED
@@ -428,8 +428,9 @@ an app (`app_architecture`).
428
428
  A record is a head, its parts and at most one Side. From three parts it shows one part at a time; fewer stack. A part is one area of the record's data a person comes to for its own job, like the tabs of a settings page; its related lists and field groups sit inside it under their headings. A status's stages are not areas: their acts stand at the foot of the rows they move. State each
429
429
  part whole for the work there: a field may stand in any number of parts, and a field an Act requires draws beside it
430
430
  unstated. A step may hold nothing but its name. What a person needs in view at every part (who it is for, how to reach
431
- them) goes in a Side: it leaves the head and stays on the rows. The status stands in the head or the Side, never a
432
- Section. `row` changes how the app's rows read, never a page nor what the app writes. A List, Reading, Statement or Act stated alike in several
431
+ them) goes in a Side: it leaves the head and stays on the rows; what only a stage's Act writes (an invoice's number,
432
+ a delivery's signature) stands empty before it, so it goes in that stage's Section (`at`), never the Side. The status
433
+ stands in the head or the Side, never a Section. `row` changes how the app's rows read, never a page nor what the app writes. A List, Reading, Statement or Act stated alike in several
433
434
  Sections draws once, in the first; a Check stated in a Section guards the whole record.
434
435
 
435
436
  The Record's Sections, in the order the work reaches them: the fields people write, a Field per paper the record
@@ -209,6 +209,12 @@ titles of its rows (`{{#each marks}}{{this}}{{/each}}` prints them), so a loop t
209
209
  refused, naming the key a List hands those rows under; so is one drawing a table cell per title, which lines up with no
210
210
  column — a grid of rows by days is a roster's Export (below). A Word template is read for this when it is next saved.
211
211
 
212
+ A paper made over several rows (`on: "ticked"` or `"view"`, at most 200) is one file of them all: the rows arrive under the entity's alias. An html paper hands each row the child rows the record's paper would be handed, under the same names, with their `_totals`; an Excel or Word paper is handed the rows alone. The page the rows open draws those Lists:
213
+
214
+ ```html
215
+ {{#each supplier_order}}<h2>{{code}}</h2>{{#each sources}}<p>{{description}} × {{quantity}}</p>{{/each}}{{/each}}
216
+ ```
217
+
212
218
  A paper over many rows (a client's month, a statement) is that: a record of the period whose List is windowed by its dates, made by the Act's `template`; or a List `Export` with `template` and `per` (`reference/export-node`).
213
219
  `reference/groups-and-templates` has the rest.
214
220
 
package/docs/examples.md CHANGED
@@ -2075,7 +2075,6 @@ among them: the `design` reference. Every key: `reference`, at the pages each se
2075
2075
  "options": [{"alias": "ban_ra", "color": "green"}, {"alias": "mua_vao", "color": "violet"}]
2076
2076
  },
2077
2077
  "tong_cong": {"type": "formula", "notation": {"style": "currency", "currency": "VND"}},
2078
- "thue_suat": {"type": "formula", "notation": {"style": "unit", "unit": "percent"}},
2079
2078
  "tep": {"type": "files"},
2080
2079
  "giao_dich": {"type": "link", "table": "giao_dich", "multi": true}
2081
2080
  },
@@ -2151,21 +2150,6 @@ among them: the `design` reference. Every key: `reference`, at the pages each se
2151
2150
  "by": "doi_tuong",
2152
2151
  "across": {"field": "so_ngay_qua_han", "tiers": [1, 8, 16, 31]}
2153
2152
  },
2154
- {
2155
- "type": "Reading",
2156
- "key": "dashboard_reading_6",
2157
- "label": "Số ngày quá hạn bình quân",
2158
- "entity": "hoa_don",
2159
- "value": {"avg": "so_ngay_qua_han"},
2160
- "where": {"chieu": ["ban_ra"]}
2161
- },
2162
- {
2163
- "type": "Reading",
2164
- "key": "dashboard_reading_7",
2165
- "label": "Thuế suất bình quân",
2166
- "entity": "hoa_don",
2167
- "value": {"avg": "thue_suat"}
2168
- },
2169
2153
  {
2170
2154
  "type": "List",
2171
2155
  "key": "dashboard_reading_8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.321.3",
3
+ "version": "0.321.5",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {