@lotics/cli 0.321.46 → 0.321.48
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 +7 -6
- package/docs/design.md +3 -3
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -5,7 +5,7 @@ tree states COMPOSITION — which fields, lists and acts each job's screen holds
|
|
|
5
5
|
one way per concept. A node the tree leaves out draws its default, from the table's facts (`records`, the stage, the
|
|
6
6
|
write rules): a List's Readings band, the stage buttons, the picture, a Record's Sections. State a node to change it,
|
|
7
7
|
or `false` at it to turn it off (`"readings": false`, a Record's `"row": { "image": false }`). A field is written where its Record declares it: a Section's Field, the table's face (title, line, picture, figure), or every field where the Record states no Section; the head, a line, a column or a board draws it, and never makes one written; every head part (`row.title`, each `row.subtitle` entry, `row.figure`, `row.image`) takes `edit: false` to be read. A drawn Field is a control unless it
|
|
8
|
-
or its entity is read-only (`edit: false`); a stepped status
|
|
8
|
+
or its entity is read-only (`edit: false`); a stepped status is not, since Acts move it, unless its `row` states `status: { edit: true }`. Which apps a business needs is `app_architecture`.
|
|
9
9
|
|
|
10
10
|
**The visual bar.** Every screen is judged against it; a miss is a change to the tree.
|
|
11
11
|
|
|
@@ -170,7 +170,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
170
170
|
- `when` (condition): The act works only while this holds
|
|
171
171
|
- `set` (map of alias → value): What the act writes
|
|
172
172
|
- `asks` (list of (alias | `{ "field": alias, "starts": "today" | "me" }` | Asked input) (at least one)): What the reader states on pressing
|
|
173
|
-
- `confirm` (`true` | text): The press asks first
|
|
173
|
+
- `confirm` (`true` | `"warnings"` | text): The press asks first
|
|
174
174
|
- `requires` (list of alias (at least one)): Fields filled first, each drawn where the act stands
|
|
175
175
|
- `template` (alias): A document template it makes a file from
|
|
176
176
|
- `into` (alias): The record's files field keeping the document
|
|
@@ -326,7 +326,7 @@ scan, a receipt. Every row of it then leads with its picture, or its paper's pre
|
|
|
326
326
|
a row holding no picture leads with the placeholder; a link to it previews the file. `image` may instead name a
|
|
327
327
|
one-row link to a table with a picture (an order line's `item`), or a lookup of one through a one-row link (a delivery's `customer`, through its order): the row leads with that row's picture, still titled by
|
|
328
328
|
its own words — or several in order (`["product", "bundle"]`, a line linking either), the first that holds a picture leading the row. Never a field an Act keeps the paper it makes in (`into`). List
|
|
329
|
-
`layout: "cards"` where the picture is how a row is found. A files field the record keeps as a folder of
|
|
329
|
+
`layout: "cards"` where the picture is how a row is found. The table's `records.image_shape` (`portrait`, `square`, `landscape`) states the shape the register's cards and tiles and such a List draw it at. A files field the record keeps as a folder of
|
|
330
330
|
papers is drawn as a Field, read whole. Worked: `examples/cards`.
|
|
331
331
|
|
|
332
332
|
#### A link opens its row
|