@lotics/cli 0.318.8 → 0.318.10
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/dist/src/cli.js +11 -8
- package/docs/design.md +7 -1
- package/docs/examples.md +24 -11
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -43,7 +43,7 @@ author: state the ones the job needs. A note refuses nothing.
|
|
|
43
43
|
| The real size of the thing (a carton, a piece of furniture, a pallet) | `records.size: {"across": …, "along": …, "up": …}`: three number fields in one length unit, read as one fact "400 × 300 × 250 mm" after the subtitle; a plan register draws each box at that size | `reference/record-places-pins-and-cadence`, `reference/plan` |
|
|
44
44
|
| A number painted on the thing, or a barcode or QR code on it | `records.scan: "iso6346"` or `"text"` (read off one photo by an agent), or `"code"` (decoded on the device, no agent): the title read on a phone, beside each search matching it | `reference/record-places-pins-and-cadence` |
|
|
45
45
|
| Who did what on which day | List `layout: "roster"` with the List of its cells inside | `reference/roster` |
|
|
46
|
-
| Someone with no seat signs off one record (a buyer approves a proof, a client signs a handover) | the Record's `Outside`: the Fields and Lists the link shows as they are, and Acts that each move the status out of its `at` — a link a member makes of the record, never a seat | `reference/outside-node` |
|
|
46
|
+
| Someone with no seat signs off one record (a buyer approves a proof, a client signs a handover) | the Record's `Outside`: the Fields and Lists the link shows as they are, and Acts that each move the status out of its `at` — a link a member makes of the record, never a seat; the link's page names the record only where the Outside states its title's field | `reference/outside-node` |
|
|
47
47
|
| A record whose page is its own arrangement of pieces the app already states | Record `compose` | `reference/composed-page` |
|
|
48
48
|
| Steps people drop out of between | a Reading with `steps` on the record whose child rows count them | `reference/reading-node` |
|
|
49
49
|
| A record's own numbers nobody keys, read at a glance | consecutive Readings with no `entity` (two to eight tiles) | `reference/reading-node` |
|
|
@@ -217,6 +217,12 @@ keeps, a child List per child, the Acts at each one's foot. A register's `column
|
|
|
217
217
|
default record: every field a person writes. `compose` is not for a record a standard Section order would
|
|
218
218
|
do, and never for behaviour, which belongs in an Act.
|
|
219
219
|
|
|
220
|
+
A Section of more than about six fields reads as Fieldsets of related facts: a patient's record holds "Contact" (phone,
|
|
221
|
+
email, address) and "Insurance" (insurer, policy number, valid until) rather than one run of nine, each Fieldset's
|
|
222
|
+
`label` a few words. A gallery or prose Field stands beside the Fieldsets (`reference/fieldset-node`). Fields stand two
|
|
223
|
+
to a line in the order stated, and files, prose and a link to several rows take the whole line: stated after a lone
|
|
224
|
+
short field, one leaves the half beside that field empty.
|
|
225
|
+
|
|
220
226
|
#### Children
|
|
221
227
|
|
|
222
228
|
Rows that each belong to one row of another table (a one-row link to it) are drawn under that row: a List on
|
package/docs/examples.md
CHANGED
|
@@ -1303,17 +1303,30 @@ among them: the `design` reference. Every key: the `model` reference, at the pag
|
|
|
1303
1303
|
"title": "Người đứng đơn",
|
|
1304
1304
|
"children": [
|
|
1305
1305
|
"ma_ho_so",
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1306
|
+
{
|
|
1307
|
+
"type": "Fieldset",
|
|
1308
|
+
"key": "ca_nhan",
|
|
1309
|
+
"label": "Thông tin cá nhân",
|
|
1310
|
+
"children": ["dien_thoai", "cccd", "ngay_sinh", "dia_chi"]
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"type": "Fieldset",
|
|
1314
|
+
"key": "dieu_kien",
|
|
1315
|
+
"label": "Điều kiện mua",
|
|
1316
|
+
"children": ["doi_tuong", "tinh_trang_nha_o"]
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"type": "Fieldset",
|
|
1320
|
+
"key": "phu_trach",
|
|
1321
|
+
"label": "Phụ trách",
|
|
1322
|
+
"children": ["sale", "xu_ly", "can_bo_sung"]
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"type": "Fieldset",
|
|
1326
|
+
"key": "moc",
|
|
1327
|
+
"label": "Mốc hồ sơ",
|
|
1328
|
+
"children": ["ngay_ky_hdmb", "ngay_ban_giao"]
|
|
1329
|
+
},
|
|
1317
1330
|
{
|
|
1318
1331
|
"type": "List",
|
|
1319
1332
|
"entity": "thanh_vien",
|