@fieldia/core 0.27.0 → 0.28.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 +24 -5
- package/package.json +1 -1
- package/schema/page.schema.json +4 -2
- package/src/index.d.mts +2 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +6 -2
- package/src/index.js.map +1 -1
- package/src/index.mjs +2 -0
- package/src/index.mjs.map +1 -1
- package/src/lib/format/layout.d.mts +23 -2
- package/src/lib/format/layout.d.ts +23 -2
- package/src/lib/format/layout.js +1 -1
- package/src/lib/format/layout.js.map +1 -1
- package/src/lib/format/layout.mjs +1 -1
- package/src/lib/format/layout.mjs.map +1 -1
- package/src/lib/format/page.d.mts +8 -1
- package/src/lib/format/page.d.ts +8 -1
- package/src/lib/format/upgrade.d.mts +2 -1
- package/src/lib/format/upgrade.d.ts +2 -1
- package/src/lib/format/upgrade.js +2 -1
- package/src/lib/format/upgrade.js.map +1 -1
- package/src/lib/format/upgrade.mjs +2 -1
- package/src/lib/format/upgrade.mjs.map +1 -1
- package/src/lib/format/version.d.mts +2 -2
- package/src/lib/format/version.d.ts +2 -2
- package/src/lib/format/version.js +2 -2
- package/src/lib/format/version.js.map +1 -1
- package/src/lib/format/version.mjs +2 -2
- package/src/lib/format/version.mjs.map +1 -1
- package/src/lib/record/check.js +3 -1
- package/src/lib/record/check.js.map +1 -1
- package/src/lib/record/check.mjs +3 -1
- package/src/lib/record/check.mjs.map +1 -1
- package/src/lib/record/day-words.d.mts +10 -0
- package/src/lib/record/day-words.d.ts +10 -0
- package/src/lib/record/day-words.js +23 -0
- package/src/lib/record/day-words.js.map +1 -0
- package/src/lib/record/day-words.mjs +20 -0
- package/src/lib/record/day-words.mjs.map +1 -0
- package/src/lib/record/form-limits.d.mts +5 -8
- package/src/lib/record/form-limits.d.ts +5 -8
- package/src/lib/record/form-limits.js +20 -21
- package/src/lib/record/form-limits.js.map +1 -1
- package/src/lib/record/form-limits.mjs +21 -22
- package/src/lib/record/form-limits.mjs.map +1 -1
- package/src/lib/record/form.d.mts +9 -7
- package/src/lib/record/form.d.ts +9 -7
- package/src/lib/record/form.js +70 -6
- package/src/lib/record/form.js.map +1 -1
- package/src/lib/record/form.mjs +70 -6
- package/src/lib/record/form.mjs.map +1 -1
- package/src/lib/record/limits.js +4 -2
- package/src/lib/record/limits.js.map +1 -1
- package/src/lib/record/limits.mjs +4 -2
- package/src/lib/record/limits.mjs.map +1 -1
- package/src/lib/record/locales/ar.js +1 -0
- package/src/lib/record/locales/ar.js.map +1 -1
- package/src/lib/record/locales/ar.mjs +1 -0
- package/src/lib/record/locales/ar.mjs.map +1 -1
- package/src/lib/record/locales/de.js +1 -0
- package/src/lib/record/locales/de.js.map +1 -1
- package/src/lib/record/locales/de.mjs +1 -0
- package/src/lib/record/locales/de.mjs.map +1 -1
- package/src/lib/record/locales/fr.js +1 -0
- package/src/lib/record/locales/fr.js.map +1 -1
- package/src/lib/record/locales/fr.mjs +1 -0
- package/src/lib/record/locales/fr.mjs.map +1 -1
- package/src/lib/record/messages.d.mts +10 -2
- package/src/lib/record/messages.d.ts +10 -2
- package/src/lib/record/messages.js +3 -4
- package/src/lib/record/messages.js.map +1 -1
- package/src/lib/record/messages.mjs +3 -4
- package/src/lib/record/messages.mjs.map +1 -1
- package/src/lib/record/option-rules.d.mts +7 -1
- package/src/lib/record/option-rules.d.ts +7 -1
- package/src/lib/record/option-rules.js +9 -3
- package/src/lib/record/option-rules.js.map +1 -1
- package/src/lib/record/option-rules.mjs +9 -3
- package/src/lib/record/option-rules.mjs.map +1 -1
- package/src/lib/record/record-words.d.mts +13 -1
- package/src/lib/record/record-words.d.ts +13 -1
- package/src/lib/record/record-words.js +29 -1
- package/src/lib/record/record-words.js.map +1 -1
- package/src/lib/record/record-words.mjs +27 -1
- package/src/lib/record/record-words.mjs.map +1 -1
- package/src/lib/record/waits.d.mts +7 -5
- package/src/lib/record/waits.d.ts +7 -5
- package/src/lib/record/waits.js +7 -10
- package/src/lib/record/waits.js.map +1 -1
- package/src/lib/record/waits.mjs +7 -10
- package/src/lib/record/waits.mjs.map +1 -1
- package/src/runtime.d.mts +1 -1
- package/src/runtime.d.ts +1 -1
- package/src/runtime.js +7 -3
- package/src/runtime.js.map +1 -1
- package/src/runtime.mjs +4 -1
- package/src/runtime.mjs.map +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ list of records — that your app implements;
|
|
|
28
28
|
The page format is also a JSON Schema, for editors and other languages:
|
|
29
29
|
`@fieldia/core/page.schema.json`.
|
|
30
30
|
|
|
31
|
-
A page says which format it is written in (`"fieldia": "0.
|
|
31
|
+
A page says which format it is written in (`"fieldia": "0.7"`, `FORMAT_VERSION`; a page in 0.1, 0.2, 0.3, 0.4, 0.5 or 0.6 is read as it is).
|
|
32
32
|
One in an older format is brought up to date as it is read — by `checkPage`,
|
|
33
33
|
`validatePage` and `createForm`, so by the viewer and the designer too — and
|
|
34
34
|
`upgradePage` does it for the pages your app keeps. One newer than this Fieldia
|
|
@@ -78,6 +78,15 @@ and null when it shows its value; the viewer draws it as a dash, said in words
|
|
|
78
78
|
("Fix line 1 of Order lines to see Untaxed amount"). An answer your onchange
|
|
79
79
|
gives meanwhile is kept, and shown once the line reads.
|
|
80
80
|
|
|
81
|
+
It waits the same for an answer the form refuses: one shown that holds a value
|
|
82
|
+
its checks do not take — an area of −50 under its `min` of 0, a day past its
|
|
83
|
+
`max` of `today`, a pattern not met, an answer rule's error — on the record or
|
|
84
|
+
in a line's cell, whether the value is the page's own formula, one of
|
|
85
|
+
Fieldia's functions (`years(built_on, today())`) or your app's: "Fix Area (m²)
|
|
86
|
+
to see Price per m²", never −120,000.00. An empty answer is none, required or
|
|
87
|
+
not, and one no one is shown is never refused. What waits for an answer is told
|
|
88
|
+
before what is asked of your app's server for it.
|
|
89
|
+
|
|
81
90
|
## Functions, and your app's own
|
|
82
91
|
|
|
83
92
|
A value worked out (`compute`), a value set by a condition (`setWhen`) and every
|
|
@@ -177,8 +186,11 @@ app's list gave, or those picked where they are carried from (`picked: false`: t
|
|
|
177
186
|
left unpicked; a "None of these" is never carried) — less those whose condition hides
|
|
178
187
|
them. A chosen option a change no longer offers is taken out of the answer, never
|
|
179
188
|
silently kept: `form.getState().takenOut` says so by path ("Garden is no longer
|
|
180
|
-
offered, so it was taken out"),
|
|
181
|
-
|
|
189
|
+
offered, so it was taken out"), while it is true: it goes once the value is written
|
|
190
|
+
again, or once what it names is offered again (Villa picked again, the treatment
|
|
191
|
+
ticked again above, the list asked again offering it); one of several offered again
|
|
192
|
+
leaves it naming the rest. The same words for a choice its app's list no longer
|
|
193
|
+
offers, a page's or a line's. One a record held
|
|
182
194
|
as it was opened stays chosen, and the choice says it is no longer offered. The
|
|
183
195
|
page's checks read each option's condition and refuse a choice carried from itself,
|
|
184
196
|
from a field that is no choice, or round a circle.
|
|
@@ -258,7 +270,10 @@ form.endingWords('Your booking is {id}.'); // "Your booking is B-1043."
|
|
|
258
270
|
help, each choice's words, a step's title and words, a wizard's and a button's
|
|
259
271
|
words — as in a text's and an alert's: `form.words('How was your visit to
|
|
260
272
|
{branch}?')` is "How was your visit to Zamalek?", and the form's messages name
|
|
261
|
-
the field so ("How was your visit to Zamalek
|
|
273
|
+
the field so ("Please answer “How was your visit to Zamalek?”": a label that is
|
|
274
|
+
a question — ending with a question mark, or an ellipsis the answer completes —
|
|
275
|
+
is quoted in the language's marks wherever a sentence names it, `isQuestion` and
|
|
276
|
+
`quotedLabel`, and its required message is `requiredQuestion`). How a value reads
|
|
262
277
|
there is the viewer's (`valueWords` in `createForm`'s options: a choice by its
|
|
263
278
|
label, money with its currency, a day in the page's order); without one, a
|
|
264
279
|
choice's label, a link's name, Yes or No, anything else as held. After a bar,
|
|
@@ -527,7 +542,11 @@ send, as it starts again, and just before its answers go. `state.limits` tells
|
|
|
527
542
|
whether it takes answers now (`open`, `soon`, `closed`, `full`, `sent`), when it
|
|
528
543
|
opens and closes, the responses it takes still, and each choice's places
|
|
529
544
|
(`seats[field][value]`: `{ seats, taken, left }`); `takingWords(page, limits,
|
|
530
|
-
messages)` says why it takes none
|
|
545
|
+
messages)` says why it takes none ("This form closed on 20 Nov 2026."). Every
|
|
546
|
+
message that names a day writes it as the page's date boxes do — its
|
|
547
|
+
`look.dateOrder` (the form puts it on its messages, `messages.dateOrder`), its
|
|
548
|
+
language, a time on its clock: "can’t be after 20 Oct 2026", "Oct 20, 2026"
|
|
549
|
+
month first; `dayWords(day, messages, order?)` is that rule (a time after it: `whenWords`). A full option the person picks is refused,
|
|
531
550
|
said under its field ("Afternoon workshop is full"); one that filled up while
|
|
532
551
|
held, or a page closed since it was opened, stops the send. The app's own
|
|
533
552
|
`setValues` is never refused: the check says it. Without `limits` in the
|
package/package.json
CHANGED
package/schema/page.schema.json
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"0.3",
|
|
11
11
|
"0.4",
|
|
12
12
|
"0.5",
|
|
13
|
-
"0.6"
|
|
13
|
+
"0.6",
|
|
14
|
+
"0.7"
|
|
14
15
|
]
|
|
15
16
|
},
|
|
16
17
|
"id": {
|
|
@@ -6368,7 +6369,8 @@
|
|
|
6368
6369
|
"type": "string",
|
|
6369
6370
|
"enum": [
|
|
6370
6371
|
"narrow",
|
|
6371
|
-
"always"
|
|
6372
|
+
"always",
|
|
6373
|
+
"never"
|
|
6372
6374
|
]
|
|
6373
6375
|
},
|
|
6374
6376
|
"fit": {
|
package/src/index.d.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './runtime.mjs';
|
|
2
2
|
export { takingWords, whenWords } from './lib/record/form-limits.mjs';
|
|
3
|
+
export { isQuestion } from './lib/record/record-words.mjs';
|
|
4
|
+
export { dayWords } from './lib/record/day-words.mjs';
|
|
3
5
|
export { scheduleSlots, type MemorySchedule } from './lib/record/memory-schedules.mjs';
|
|
4
6
|
export { alikeRecords, nameLikeness } from './lib/record/memory-duplicates.mjs';
|
|
5
7
|
export { FieldSchema, FieldsSchema, LineFieldSchema, LinkedFieldSchema, LineKindsSchema, OptionSchema, PropertyDefinitionSchema, FilterConditionSchema, FilterItemSchema, MoneyLookSchema, ShrinkSchema, PERIODS, TimeZoneSchema, } from './lib/format/field.mjs';
|
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './runtime';
|
|
2
2
|
export { takingWords, whenWords } from './lib/record/form-limits';
|
|
3
|
+
export { isQuestion } from './lib/record/record-words';
|
|
4
|
+
export { dayWords } from './lib/record/day-words';
|
|
3
5
|
export { scheduleSlots, type MemorySchedule } from './lib/record/memory-schedules';
|
|
4
6
|
export { alikeRecords, nameLikeness } from './lib/record/memory-duplicates';
|
|
5
7
|
export { FieldSchema, FieldsSchema, LineFieldSchema, LinkedFieldSchema, LineKindsSchema, OptionSchema, PropertyDefinitionSchema, FilterConditionSchema, FilterItemSchema, MoneyLookSchema, ShrinkSchema, PERIODS, TimeZoneSchema, } from './lib/format/field';
|
package/src/index.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.autofillPurpose = exports.autofillProblem = exports.AUTOFILL_NAMES = exports.AUTOFILL_CONTACT = exports.AUTOFILL = exports.pageJsonSchema = exports.comparable = exports.DUPLICATE_KINDS = exports.PageLimitsSchema = exports.PageEndingSchema = exports.PageRecordsSchema = exports.PageDuplicatesSchema = void 0;
|
|
3
|
+
exports.PhoneOptionsSchema = exports.PagePhoneSchema = exports.StateDotOptionsSchema = exports.PathPickerOptionsSchema = exports.AddressSearchOptionsSchema = exports.parseExpression = exports.writtenAs = exports.fieldKind = exports.kindWords = exports.kindProblemWords = exports.kindProblems = exports.validatePage = exports.pageWarnings = exports.PageEventsSchema = exports.ActionStepSchema = exports.PageSchema = exports.RelatedNodeSchema = exports.FilterPeriodSchema = exports.FilterRangeSchema = exports.ListGallerySchema = exports.ListCardSchema = exports.ListCalendarSchema = exports.ListCellSchema = exports.ListNodeSchema = exports.RootLayoutSchema = exports.LayoutNodeSchema = exports.ToneWhenSchema = exports.CellRulesSchema = exports.RolesSchema = exports.ModifierSchema = exports.TimeZoneSchema = exports.PERIODS = exports.ShrinkSchema = exports.MoneyLookSchema = exports.FilterItemSchema = exports.FilterConditionSchema = exports.PropertyDefinitionSchema = exports.OptionSchema = exports.LineKindsSchema = exports.LinkedFieldSchema = exports.LineFieldSchema = exports.FieldsSchema = exports.FieldSchema = exports.nameLikeness = exports.alikeRecords = exports.scheduleSlots = exports.dayWords = exports.isQuestion = exports.whenWords = exports.takingWords = void 0;
|
|
4
|
+
exports.autofillPurpose = exports.autofillProblem = exports.AUTOFILL_NAMES = exports.AUTOFILL_CONTACT = exports.AUTOFILL = exports.pageJsonSchema = exports.comparable = exports.DUPLICATE_KINDS = exports.PageLimitsSchema = exports.PageEndingSchema = exports.PageRecordsSchema = exports.PageDuplicatesSchema = exports.SignatureOptionsSchema = exports.SlotsOptionsSchema = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
tslib_1.__exportStar(require("./runtime"), exports);
|
|
7
7
|
// Why a page takes no answers now, in words: the limits part's (`formLimitsPart`), whole here.
|
|
8
8
|
var form_limits_1 = require("./lib/record/form-limits");
|
|
9
9
|
Object.defineProperty(exports, "takingWords", { enumerable: true, get: function () { return form_limits_1.takingWords; } });
|
|
10
10
|
Object.defineProperty(exports, "whenWords", { enumerable: true, get: function () { return form_limits_1.whenWords; } });
|
|
11
|
+
var record_words_1 = require("./lib/record/record-words");
|
|
12
|
+
Object.defineProperty(exports, "isQuestion", { enumerable: true, get: function () { return record_words_1.isQuestion; } });
|
|
13
|
+
var day_words_1 = require("./lib/record/day-words");
|
|
14
|
+
Object.defineProperty(exports, "dayWords", { enumerable: true, get: function () { return day_words_1.dayWords; } });
|
|
11
15
|
// A memory source's free times from booking schedules: for demos and tests, outside the one-tag script.
|
|
12
16
|
var memory_schedules_1 = require("./lib/record/memory-schedules");
|
|
13
17
|
Object.defineProperty(exports, "scheduleSlots", { enumerable: true, get: function () { return memory_schedules_1.scheduleSlots; } });
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/core/src/index.ts"],"names":[],"mappings":";;;;;AAAA,oDAA0B;AAC1B,+FAA+F;AAC/F,wDAAkE;AAAzD,0GAAA,WAAW,OAAA;AAAE,wGAAA,SAAS,OAAA;AAC/B,wGAAwG;AACxG,kEAAmF;AAA1E,iHAAA,aAAa,OAAA;AACtB,uHAAuH;AACvH,oEAA4E;AAAnE,iHAAA,YAAY,OAAA;AAAE,iHAAA,YAAY,OAAA;AACnC,4CAc4B;AAb1B,oGAAA,WAAW,OAAA;AACX,qGAAA,YAAY,OAAA;AACZ,wGAAA,eAAe,OAAA;AACf,0GAAA,iBAAiB,OAAA;AACjB,wGAAA,eAAe,OAAA;AACf,qGAAA,YAAY,OAAA;AACZ,iHAAA,wBAAwB,OAAA;AACxB,8GAAA,qBAAqB,OAAA;AACrB,yGAAA,gBAAgB,OAAA;AAChB,wGAAA,eAAe,OAAA;AACf,qGAAA,YAAY,OAAA;AACZ,gGAAA,OAAO,OAAA;AACP,uGAAA,cAAc,OAAA;AAEhB,8CAAwR;AAA/Q,wGAAA,cAAc,OAAA;AAAE,qGAAA,WAAW,OAAA;AAAE,yGAAA,eAAe,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,0GAAA,gBAAgB,OAAA;AAAE,0GAAA,gBAAgB,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,4GAAA,kBAAkB,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AAAE,4GAAA,kBAAkB,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AAC1P,0CAA+C;AAAtC,kGAAA,UAAU,OAA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A,SAAS,OAAA;AAAE,kGAAA,SAAS,OAAA;AACxE,0DAA8D;AAArD,6GAAA,eAAe,OAAA;AACxB,8DAAyE;AAAhE,4HAAA,0BAA0B,OAAA;AACnC,8DAA6F;AAApF,yHAAA,uBAAuB,OAAA;AAAE,uHAAA,qBAAqB,OAAA;AACvD,4CAAyE;AAAhE,wGAAA,eAAe,OAAA;AAAE,2GAAA,kBAAkB,OAAA;AAC5C,4DAAgE;AAAvD,mHAAA,kBAAkB,OAAA;AAC3B,oEAAwE;AAA/D,2HAAA,sBAAsB,OAAA;AAC/B,sDAA+D;AAAtD,kHAAA,oBAAoB,OAAA;AAC7B,gDAAyD;AAAhD,4GAAA,iBAAiB,OAAA;AAC1B,gDAAwD;AAA/C,2GAAA,gBAAgB,OAAA;AACzB,8CAAuD;AAA9C,0GAAA,gBAAgB,OAAA;AACzB,gEAA2E;AAAlE,kHAAA,eAAe,OAAA;AAAE,6GAAA,UAAU,OAAA;AACpC,wDAA0D;AAAjD,6GAAA,cAAc,OAAA;AACvB,iGAAiG;AACjG,kDAAqH;AAA5G,oGAAA,QAAQ,OAAA;AAAE,4GAAA,gBAAgB,OAAA;AAAE,0GAAA,cAAc,OAAA;AAAE,2GAAA,eAAe,OAAA;AAAE,2GAAA,eAAe,OAAA"}
|
package/src/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './runtime.mjs';
|
|
2
2
|
// Why a page takes no answers now, in words: the limits part's (`formLimitsPart`), whole here.
|
|
3
3
|
export { takingWords, whenWords } from './lib/record/form-limits.mjs';
|
|
4
|
+
export { isQuestion } from './lib/record/record-words.mjs';
|
|
5
|
+
export { dayWords } from './lib/record/day-words.mjs';
|
|
4
6
|
// A memory source's free times from booking schedules: for demos and tests, outside the one-tag script.
|
|
5
7
|
export { scheduleSlots } from './lib/record/memory-schedules.mjs';
|
|
6
8
|
// A memory source's records like the one typed, for its `duplicates`: for demos and tests, outside the one-tag script.
|
package/src/index.mjs.map
CHANGED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,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -194,9 +194,13 @@ export interface FieldNode {
|
|
|
194
194
|
/**
|
|
195
195
|
* For one2many: its lines as cards, each column's label by its value — on a
|
|
196
196
|
* narrow form (`narrow`, up to 520px: a phone, as Flectra's mode="tree,kanban"
|
|
197
|
-
* there), or always.
|
|
197
|
+
* there), or always; `never`, rows at every width. Left out, as `narrow`: a
|
|
198
|
+
* table's boxes and a grid's cells cut their words at a phone's width however
|
|
199
|
+
* its columns share it, and a card gives each its whole width (a grid's cards
|
|
200
|
+
* open a line in its own form to change it; where nothing can open one, a grid
|
|
201
|
+
* stays a grid).
|
|
198
202
|
*/
|
|
199
|
-
cards?: 'narrow' | 'always';
|
|
203
|
+
cards?: 'narrow' | 'always' | 'never';
|
|
200
204
|
/**
|
|
201
205
|
* For one2many: columns as wide as what they hold (`content`), as Flectra
|
|
202
206
|
* sizes a list's, rather than sharing the table's width; or, in a grid,
|
|
@@ -1669,6 +1673,7 @@ export declare const FieldNodeSchema: z.ZodObject<{
|
|
|
1669
1673
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
1670
1674
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
1671
1675
|
narrow: "narrow";
|
|
1676
|
+
never: "never";
|
|
1672
1677
|
always: "always";
|
|
1673
1678
|
}>>;
|
|
1674
1679
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3502,6 +3507,7 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3502
3507
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
3503
3508
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
3504
3509
|
narrow: "narrow";
|
|
3510
|
+
never: "never";
|
|
3505
3511
|
always: "always";
|
|
3506
3512
|
}>>;
|
|
3507
3513
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5709,6 +5715,7 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
5709
5715
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
5710
5716
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
5711
5717
|
narrow: "narrow";
|
|
5718
|
+
never: "never";
|
|
5712
5719
|
always: "always";
|
|
5713
5720
|
}>>;
|
|
5714
5721
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7039,6 +7046,7 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
7039
7046
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
7040
7047
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
7041
7048
|
narrow: "narrow";
|
|
7049
|
+
never: "never";
|
|
7042
7050
|
always: "always";
|
|
7043
7051
|
}>>;
|
|
7044
7052
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7514,6 +7522,7 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
7514
7522
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
7515
7523
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
7516
7524
|
narrow: "narrow";
|
|
7525
|
+
never: "never";
|
|
7517
7526
|
always: "always";
|
|
7518
7527
|
}>>;
|
|
7519
7528
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8853,6 +8862,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
8853
8862
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
8854
8863
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
8855
8864
|
narrow: "narrow";
|
|
8865
|
+
never: "never";
|
|
8856
8866
|
always: "always";
|
|
8857
8867
|
}>>;
|
|
8858
8868
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -9328,6 +9338,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
9328
9338
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
9329
9339
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
9330
9340
|
narrow: "narrow";
|
|
9341
|
+
never: "never";
|
|
9331
9342
|
always: "always";
|
|
9332
9343
|
}>>;
|
|
9333
9344
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10663,6 +10674,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10663
10674
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10664
10675
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10665
10676
|
narrow: "narrow";
|
|
10677
|
+
never: "never";
|
|
10666
10678
|
always: "always";
|
|
10667
10679
|
}>>;
|
|
10668
10680
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10816,6 +10828,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10816
10828
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10817
10829
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10818
10830
|
narrow: "narrow";
|
|
10831
|
+
never: "never";
|
|
10819
10832
|
always: "always";
|
|
10820
10833
|
}>>;
|
|
10821
10834
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10969,6 +10982,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10969
10982
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10970
10983
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10971
10984
|
narrow: "narrow";
|
|
10985
|
+
never: "never";
|
|
10972
10986
|
always: "always";
|
|
10973
10987
|
}>>;
|
|
10974
10988
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -11122,6 +11136,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
11122
11136
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
11123
11137
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
11124
11138
|
narrow: "narrow";
|
|
11139
|
+
never: "never";
|
|
11125
11140
|
always: "always";
|
|
11126
11141
|
}>>;
|
|
11127
11142
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -13001,6 +13016,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13001
13016
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
13002
13017
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
13003
13018
|
narrow: "narrow";
|
|
13019
|
+
never: "never";
|
|
13004
13020
|
always: "always";
|
|
13005
13021
|
}>>;
|
|
13006
13022
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -13476,6 +13492,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13476
13492
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
13477
13493
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
13478
13494
|
narrow: "narrow";
|
|
13495
|
+
never: "never";
|
|
13479
13496
|
always: "always";
|
|
13480
13497
|
}>>;
|
|
13481
13498
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14811,6 +14828,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14811
14828
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
14812
14829
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
14813
14830
|
narrow: "narrow";
|
|
14831
|
+
never: "never";
|
|
14814
14832
|
always: "always";
|
|
14815
14833
|
}>>;
|
|
14816
14834
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14964,6 +14982,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14964
14982
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
14965
14983
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
14966
14984
|
narrow: "narrow";
|
|
14985
|
+
never: "never";
|
|
14967
14986
|
always: "always";
|
|
14968
14987
|
}>>;
|
|
14969
14988
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15117,6 +15136,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15117
15136
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
15118
15137
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
15119
15138
|
narrow: "narrow";
|
|
15139
|
+
never: "never";
|
|
15120
15140
|
always: "always";
|
|
15121
15141
|
}>>;
|
|
15122
15142
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15270,6 +15290,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15270
15290
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
15271
15291
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
15272
15292
|
narrow: "narrow";
|
|
15293
|
+
never: "never";
|
|
15273
15294
|
always: "always";
|
|
15274
15295
|
}>>;
|
|
15275
15296
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -194,9 +194,13 @@ export interface FieldNode {
|
|
|
194
194
|
/**
|
|
195
195
|
* For one2many: its lines as cards, each column's label by its value — on a
|
|
196
196
|
* narrow form (`narrow`, up to 520px: a phone, as Flectra's mode="tree,kanban"
|
|
197
|
-
* there), or always.
|
|
197
|
+
* there), or always; `never`, rows at every width. Left out, as `narrow`: a
|
|
198
|
+
* table's boxes and a grid's cells cut their words at a phone's width however
|
|
199
|
+
* its columns share it, and a card gives each its whole width (a grid's cards
|
|
200
|
+
* open a line in its own form to change it; where nothing can open one, a grid
|
|
201
|
+
* stays a grid).
|
|
198
202
|
*/
|
|
199
|
-
cards?: 'narrow' | 'always';
|
|
203
|
+
cards?: 'narrow' | 'always' | 'never';
|
|
200
204
|
/**
|
|
201
205
|
* For one2many: columns as wide as what they hold (`content`), as Flectra
|
|
202
206
|
* sizes a list's, rather than sharing the table's width; or, in a grid,
|
|
@@ -1669,6 +1673,7 @@ export declare const FieldNodeSchema: z.ZodObject<{
|
|
|
1669
1673
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
1670
1674
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
1671
1675
|
narrow: "narrow";
|
|
1676
|
+
never: "never";
|
|
1672
1677
|
always: "always";
|
|
1673
1678
|
}>>;
|
|
1674
1679
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3502,6 +3507,7 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3502
3507
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
3503
3508
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
3504
3509
|
narrow: "narrow";
|
|
3510
|
+
never: "never";
|
|
3505
3511
|
always: "always";
|
|
3506
3512
|
}>>;
|
|
3507
3513
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5709,6 +5715,7 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
5709
5715
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
5710
5716
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
5711
5717
|
narrow: "narrow";
|
|
5718
|
+
never: "never";
|
|
5712
5719
|
always: "always";
|
|
5713
5720
|
}>>;
|
|
5714
5721
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7039,6 +7046,7 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
7039
7046
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
7040
7047
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
7041
7048
|
narrow: "narrow";
|
|
7049
|
+
never: "never";
|
|
7042
7050
|
always: "always";
|
|
7043
7051
|
}>>;
|
|
7044
7052
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7514,6 +7522,7 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
7514
7522
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
7515
7523
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
7516
7524
|
narrow: "narrow";
|
|
7525
|
+
never: "never";
|
|
7517
7526
|
always: "always";
|
|
7518
7527
|
}>>;
|
|
7519
7528
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8853,6 +8862,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
8853
8862
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
8854
8863
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
8855
8864
|
narrow: "narrow";
|
|
8865
|
+
never: "never";
|
|
8856
8866
|
always: "always";
|
|
8857
8867
|
}>>;
|
|
8858
8868
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -9328,6 +9338,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
9328
9338
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
9329
9339
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
9330
9340
|
narrow: "narrow";
|
|
9341
|
+
never: "never";
|
|
9331
9342
|
always: "always";
|
|
9332
9343
|
}>>;
|
|
9333
9344
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10663,6 +10674,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10663
10674
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10664
10675
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10665
10676
|
narrow: "narrow";
|
|
10677
|
+
never: "never";
|
|
10666
10678
|
always: "always";
|
|
10667
10679
|
}>>;
|
|
10668
10680
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10816,6 +10828,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10816
10828
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10817
10829
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10818
10830
|
narrow: "narrow";
|
|
10831
|
+
never: "never";
|
|
10819
10832
|
always: "always";
|
|
10820
10833
|
}>>;
|
|
10821
10834
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10969,6 +10982,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
10969
10982
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
10970
10983
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
10971
10984
|
narrow: "narrow";
|
|
10985
|
+
never: "never";
|
|
10972
10986
|
always: "always";
|
|
10973
10987
|
}>>;
|
|
10974
10988
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -11122,6 +11136,7 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
11122
11136
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
11123
11137
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
11124
11138
|
narrow: "narrow";
|
|
11139
|
+
never: "never";
|
|
11125
11140
|
always: "always";
|
|
11126
11141
|
}>>;
|
|
11127
11142
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -13001,6 +13016,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13001
13016
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
13002
13017
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
13003
13018
|
narrow: "narrow";
|
|
13019
|
+
never: "never";
|
|
13004
13020
|
always: "always";
|
|
13005
13021
|
}>>;
|
|
13006
13022
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -13476,6 +13492,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13476
13492
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
13477
13493
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
13478
13494
|
narrow: "narrow";
|
|
13495
|
+
never: "never";
|
|
13479
13496
|
always: "always";
|
|
13480
13497
|
}>>;
|
|
13481
13498
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14811,6 +14828,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14811
14828
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
14812
14829
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
14813
14830
|
narrow: "narrow";
|
|
14831
|
+
never: "never";
|
|
14814
14832
|
always: "always";
|
|
14815
14833
|
}>>;
|
|
14816
14834
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14964,6 +14982,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14964
14982
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
14965
14983
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
14966
14984
|
narrow: "narrow";
|
|
14985
|
+
never: "never";
|
|
14967
14986
|
always: "always";
|
|
14968
14987
|
}>>;
|
|
14969
14988
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15117,6 +15136,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15117
15136
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
15118
15137
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
15119
15138
|
narrow: "narrow";
|
|
15139
|
+
never: "never";
|
|
15120
15140
|
always: "always";
|
|
15121
15141
|
}>>;
|
|
15122
15142
|
fit: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15270,6 +15290,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15270
15290
|
lineForm: z.ZodOptional<typeof LineFormSchema>;
|
|
15271
15291
|
cards: z.ZodOptional<z.ZodEnum<{
|
|
15272
15292
|
narrow: "narrow";
|
|
15293
|
+
never: "never";
|
|
15273
15294
|
always: "always";
|
|
15274
15295
|
}>>;
|
|
15275
15296
|
fit: z.ZodOptional<z.ZodEnum<{
|
package/src/lib/format/layout.js
CHANGED
|
@@ -104,7 +104,7 @@ exports.FieldNodeSchema = z.strictObject({
|
|
|
104
104
|
get lineForm() {
|
|
105
105
|
return exports.LineFormSchema.optional();
|
|
106
106
|
},
|
|
107
|
-
cards: z.enum(['narrow', 'always']).optional(),
|
|
107
|
+
cards: z.enum(['narrow', 'always', 'never']).optional(),
|
|
108
108
|
fit: z.enum(['content', 'shrink']).optional(),
|
|
109
109
|
editMode: z.enum(['cell', 'row']).optional(),
|
|
110
110
|
labels: labelPlace.optional(),
|