@fieldia/core 0.22.0 → 0.24.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 +135 -3
- package/package.json +1 -1
- package/schema/page.schema.json +159 -4
- package/src/index.d.mts +6 -2
- package/src/index.d.ts +6 -2
- package/src/index.js +18 -1
- package/src/index.js.map +1 -1
- package/src/index.mjs +8 -2
- package/src/index.mjs.map +1 -1
- package/src/lib/format/autofill-group.d.mts +12 -0
- package/src/lib/format/autofill-group.d.ts +12 -0
- package/src/lib/format/autofill-group.js +23 -0
- package/src/lib/format/autofill-group.js.map +1 -0
- package/src/lib/format/autofill-group.mjs +19 -0
- package/src/lib/format/autofill-group.mjs.map +1 -0
- package/src/lib/format/autofill.d.mts +14 -0
- package/src/lib/format/autofill.d.ts +14 -0
- package/src/lib/format/autofill.js +54 -0
- package/src/lib/format/autofill.js.map +1 -0
- package/src/lib/format/autofill.mjs +48 -0
- package/src/lib/format/autofill.mjs.map +1 -0
- package/src/lib/format/bulk-edit.d.mts +18 -0
- package/src/lib/format/bulk-edit.d.ts +18 -0
- package/src/lib/format/bulk-edit.js +26 -0
- package/src/lib/format/bulk-edit.js.map +1 -0
- package/src/lib/format/bulk-edit.mjs +21 -0
- package/src/lib/format/bulk-edit.mjs.map +1 -0
- package/src/lib/format/field.d.mts +55 -34
- package/src/lib/format/field.d.ts +55 -34
- package/src/lib/format/field.js +16 -2
- package/src/lib/format/field.js.map +1 -1
- package/src/lib/format/field.mjs +15 -1
- package/src/lib/format/field.mjs.map +1 -1
- package/src/lib/format/layout.d.mts +365 -66
- package/src/lib/format/layout.d.ts +365 -66
- package/src/lib/format/layout.js +22 -4
- package/src/lib/format/layout.js.map +1 -1
- package/src/lib/format/layout.mjs +20 -3
- package/src/lib/format/layout.mjs.map +1 -1
- package/src/lib/format/page.d.mts +169 -29
- package/src/lib/format/page.d.ts +169 -29
- package/src/lib/format/page.js +11 -0
- package/src/lib/format/page.js.map +1 -1
- package/src/lib/format/page.mjs +12 -1
- package/src/lib/format/page.mjs.map +1 -1
- package/src/lib/format/phone.d.mts +27 -0
- package/src/lib/format/phone.d.ts +27 -0
- package/src/lib/format/phone.js +43 -0
- package/src/lib/format/phone.js.map +1 -0
- package/src/lib/format/phone.mjs +39 -0
- package/src/lib/format/phone.mjs.map +1 -0
- package/src/lib/format/references.d.mts +10 -0
- package/src/lib/format/references.d.ts +10 -0
- package/src/lib/format/references.js +96 -1
- package/src/lib/format/references.js.map +1 -1
- package/src/lib/format/references.mjs +96 -1
- package/src/lib/format/references.mjs.map +1 -1
- package/src/lib/format/slots-options.d.mts +26 -0
- package/src/lib/format/slots-options.d.ts +26 -0
- package/src/lib/format/slots-options.js +35 -0
- package/src/lib/format/slots-options.js.map +1 -0
- package/src/lib/format/slots-options.mjs +31 -0
- package/src/lib/format/slots-options.mjs.map +1 -0
- package/src/lib/format/upgrade.d.mts +4 -1
- package/src/lib/format/upgrade.d.ts +4 -1
- package/src/lib/format/upgrade.js +4 -1
- package/src/lib/format/upgrade.js.map +1 -1
- package/src/lib/format/upgrade.mjs +4 -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/format/zoned.d.mts +8 -0
- package/src/lib/format/zoned.d.ts +8 -0
- package/src/lib/format/zoned.js +36 -0
- package/src/lib/format/zoned.js.map +1 -0
- package/src/lib/format/zoned.mjs +33 -0
- package/src/lib/format/zoned.mjs.map +1 -0
- package/src/lib/record/check.d.mts +6 -1
- package/src/lib/record/check.d.ts +6 -1
- package/src/lib/record/check.js +12 -4
- package/src/lib/record/check.js.map +1 -1
- package/src/lib/record/check.mjs +12 -4
- package/src/lib/record/check.mjs.map +1 -1
- package/src/lib/record/data-source.d.mts +188 -3
- package/src/lib/record/data-source.d.ts +188 -3
- package/src/lib/record/data-source.js.map +1 -1
- package/src/lib/record/data-source.mjs.map +1 -1
- package/src/lib/record/form.d.mts +72 -25
- package/src/lib/record/form.d.ts +72 -25
- package/src/lib/record/form.js +404 -78
- package/src/lib/record/form.js.map +1 -1
- package/src/lib/record/form.mjs +404 -78
- package/src/lib/record/form.mjs.map +1 -1
- package/src/lib/record/input-rules.d.mts +51 -9
- package/src/lib/record/input-rules.d.ts +51 -9
- package/src/lib/record/input-rules.js +119 -20
- package/src/lib/record/input-rules.js.map +1 -1
- package/src/lib/record/input-rules.mjs +118 -19
- package/src/lib/record/input-rules.mjs.map +1 -1
- package/src/lib/record/inputs.js +4 -2
- package/src/lib/record/inputs.js.map +1 -1
- package/src/lib/record/inputs.mjs +4 -2
- package/src/lib/record/inputs.mjs.map +1 -1
- package/src/lib/record/limits.d.mts +1 -1
- package/src/lib/record/limits.d.ts +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 +3 -2
- package/src/lib/record/locales/ar.js.map +1 -1
- package/src/lib/record/locales/ar.mjs +3 -2
- package/src/lib/record/locales/ar.mjs.map +1 -1
- package/src/lib/record/locales/de.js +3 -2
- package/src/lib/record/locales/de.js.map +1 -1
- package/src/lib/record/locales/de.mjs +3 -2
- package/src/lib/record/locales/de.mjs.map +1 -1
- package/src/lib/record/locales/fr.js +3 -2
- package/src/lib/record/locales/fr.js.map +1 -1
- package/src/lib/record/locales/fr.mjs +3 -2
- package/src/lib/record/locales/fr.mjs.map +1 -1
- package/src/lib/record/memory-data-source.d.mts +13 -2
- package/src/lib/record/memory-data-source.d.ts +13 -2
- package/src/lib/record/memory-data-source.js +92 -35
- package/src/lib/record/memory-data-source.js.map +1 -1
- package/src/lib/record/memory-data-source.mjs +93 -36
- package/src/lib/record/memory-data-source.mjs.map +1 -1
- package/src/lib/record/memory-schedules.d.mts +45 -0
- package/src/lib/record/memory-schedules.d.ts +45 -0
- package/src/lib/record/memory-schedules.js +81 -0
- package/src/lib/record/memory-schedules.js.map +1 -0
- package/src/lib/record/memory-schedules.mjs +78 -0
- package/src/lib/record/memory-schedules.mjs.map +1 -0
- package/src/lib/record/messages.d.mts +3 -1
- package/src/lib/record/messages.d.ts +3 -1
- package/src/lib/record/messages.js +3 -2
- package/src/lib/record/messages.js.map +1 -1
- package/src/lib/record/messages.mjs +3 -2
- package/src/lib/record/messages.mjs.map +1 -1
- package/src/lib/record/periods.d.mts +47 -0
- package/src/lib/record/periods.d.ts +47 -0
- package/src/lib/record/periods.js +86 -0
- package/src/lib/record/periods.js.map +1 -0
- package/src/lib/record/periods.mjs +79 -0
- package/src/lib/record/periods.mjs.map +1 -0
- package/src/lib/record/rules.js +5 -6
- package/src/lib/record/rules.js.map +1 -1
- package/src/lib/record/rules.mjs +5 -6
- package/src/lib/record/rules.mjs.map +1 -1
- package/src/lib/record/run.d.mts +44 -8
- package/src/lib/record/run.d.ts +44 -8
- package/src/lib/record/run.js +155 -26
- package/src/lib/record/run.js.map +1 -1
- package/src/lib/record/run.mjs +156 -27
- package/src/lib/record/run.mjs.map +1 -1
- package/src/lib/record/search.d.mts +13 -3
- package/src/lib/record/search.d.ts +13 -3
- package/src/lib/record/search.js +11 -4
- package/src/lib/record/search.js.map +1 -1
- package/src/lib/record/search.mjs +11 -4
- package/src/lib/record/search.mjs.map +1 -1
- package/src/lib/record/zones.d.mts +57 -0
- package/src/lib/record/zones.d.ts +57 -0
- package/src/lib/record/zones.js +147 -0
- package/src/lib/record/zones.js.map +1 -0
- package/src/lib/record/zones.mjs +132 -0
- package/src/lib/record/zones.mjs.map +1 -0
- package/src/runtime.d.mts +12 -5
- package/src/runtime.d.ts +12 -5
- package/src/runtime.js +32 -2
- package/src/runtime.js.map +1 -1
- package/src/runtime.mjs +7 -1
- package/src/runtime.mjs.map +1 -1
|
@@ -2,6 +2,9 @@ import * as z from 'zod';
|
|
|
2
2
|
import { FilterItemSchema, type FilterItem, type MoneyLook } from './field';
|
|
3
3
|
import { type ActionStep } from './actions';
|
|
4
4
|
import { type JsonValue } from './json';
|
|
5
|
+
import { type InputMode } from './autofill-group';
|
|
6
|
+
import { type DatePeriod } from '../record/periods';
|
|
7
|
+
import type { TotalKind } from '../record/data-source';
|
|
5
8
|
/**
|
|
6
9
|
* The layout: where each field goes and what surrounds it.
|
|
7
10
|
*
|
|
@@ -109,6 +112,21 @@ export interface FieldNode {
|
|
|
109
112
|
* Lumber Inc" for a company and "e.g. Brandom Freeman" for a person.
|
|
110
113
|
*/
|
|
111
114
|
placeholderWhen?: PlaceholderWhen[];
|
|
115
|
+
/**
|
|
116
|
+
* What the browser fills its box in with: a purpose from the HTML standard's list — `name`, `given-name`, `email`,
|
|
117
|
+
* `tel`, `street-address`, `postal-code`, `country`, `organization`, `one-time-code`, `bday`, `cc-number`… — with
|
|
118
|
+
* `shipping`, `billing` or `section-…` before it and `home`, `work` or `mobile` before a phone or an email, as
|
|
119
|
+
* "shipping postal-code" or "work email"; or `off`, so the browser offers nothing. An email box is `email`, a phone
|
|
120
|
+
* box `tel`, a web address `url`, a password `new-password` and an address in parts each part's own unless this
|
|
121
|
+
* says; an address names only whose it is ("shipping"), or `off`. See `AUTOFILL_NAMES`.
|
|
122
|
+
*/
|
|
123
|
+
autocomplete?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The keyboard a phone shows for its box: `numeric`, `decimal`, `tel`, `email`, `url`, `search` or `text`. Its kind
|
|
126
|
+
* says it unless this does: a whole number's digits, an email's @, a phone's keypad, and the purpose's own for a
|
|
127
|
+
* line of words (`tel`, `email`, `url`, `one-time-code`, `cc-number`…).
|
|
128
|
+
*/
|
|
129
|
+
inputmode?: InputMode;
|
|
112
130
|
help?: string;
|
|
113
131
|
/** Grid columns this field spans inside a section. */
|
|
114
132
|
colspan?: number;
|
|
@@ -965,11 +983,28 @@ export interface SheetNode {
|
|
|
965
983
|
*/
|
|
966
984
|
footer?: ButtonNode[];
|
|
967
985
|
}
|
|
968
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* A period a date, or a date and time, falls in, counted from the day the list
|
|
988
|
+
* is looked at — so a filter of it is right every day: today, yesterday, this
|
|
989
|
+
* week or last (a week starting on the page's language's first day), this
|
|
990
|
+
* month or last, this year, the last 7 or 30 days (today the last of them),
|
|
991
|
+
* or overdue (any day before today, for a due date). Days are the page's
|
|
992
|
+
* time zone's.
|
|
993
|
+
*/
|
|
994
|
+
export interface FilterPeriod {
|
|
995
|
+
field: string;
|
|
996
|
+
is: DatePeriod;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* A named filter in a list's search bar, such as "Active" or "Big accounts":
|
|
1000
|
+
* its conditions, a period ("This month", "Overdue"), or both, which hold
|
|
1001
|
+
* together.
|
|
1002
|
+
*/
|
|
969
1003
|
export interface ListFilter {
|
|
970
1004
|
id: string;
|
|
971
1005
|
label: string;
|
|
972
|
-
filter
|
|
1006
|
+
filter?: FilterItem[];
|
|
1007
|
+
period?: FilterPeriod;
|
|
973
1008
|
}
|
|
974
1009
|
/**
|
|
975
1010
|
* A list of the model's records, with the search bar people know from Odoo:
|
|
@@ -1035,6 +1070,21 @@ export interface ListNode {
|
|
|
1035
1070
|
};
|
|
1036
1071
|
/** Rows nested under their parent by this many2one (to the list's own model), with Expand all and Collapse all in the header. */
|
|
1037
1072
|
parentField?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* Export, in the list's bar: the rows ticked — or, none ticked, every
|
|
1075
|
+
* record the search finds — as an Excel workbook or a CSV file, the
|
|
1076
|
+
* columns as the list shows them. Off unless true, as Edit is: an app
|
|
1077
|
+
* that asks for neither shows no new button.
|
|
1078
|
+
*/
|
|
1079
|
+
export?: boolean;
|
|
1080
|
+
/**
|
|
1081
|
+
* Edit, for the rows ticked (or every one that matches): one field set to
|
|
1082
|
+
* one value in each, after a question, each record's permissions kept.
|
|
1083
|
+
* Off unless given: true offers the columns that can be changed — not
|
|
1084
|
+
* read-only, not worked out, of a kind one value can set — and a list of
|
|
1085
|
+
* fields offers those, in its order.
|
|
1086
|
+
*/
|
|
1087
|
+
bulkEdit?: boolean | string[];
|
|
1038
1088
|
}
|
|
1039
1089
|
/** How a list's column draws its cells. */
|
|
1040
1090
|
export interface ListCell {
|
|
@@ -1061,6 +1111,14 @@ export interface ListCell {
|
|
|
1061
1111
|
width?: number | `${number}px`;
|
|
1062
1112
|
/** The side its words keep to: `end` lines up an order's numbers. */
|
|
1063
1113
|
align?: 'start' | 'end';
|
|
1114
|
+
/**
|
|
1115
|
+
* The column's total, in a row under the list, on each Group By heading and
|
|
1116
|
+
* for the rows ticked: the `sum`, `avg` (average), `min` (lowest) or `max`
|
|
1117
|
+
* (highest) of a number column, or the `count` of records holding a value
|
|
1118
|
+
* in any column — asked of the data source's `totals`, without which no
|
|
1119
|
+
* total shows. An amount is totalled in one currency only.
|
|
1120
|
+
*/
|
|
1121
|
+
total?: TotalKind;
|
|
1064
1122
|
/**
|
|
1065
1123
|
* The short rule at its header's end, where a theme parts the columns
|
|
1066
1124
|
* (Fluent's): `false` for none, as a work tracker draws a column the
|
|
@@ -1283,6 +1341,16 @@ export declare const FieldNodeSchema: z.ZodObject<{
|
|
|
1283
1341
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
1284
1342
|
text: z.ZodString;
|
|
1285
1343
|
}, z.z.core.$strict>>>;
|
|
1344
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
1346
|
+
text: "text";
|
|
1347
|
+
numeric: "numeric";
|
|
1348
|
+
email: "email";
|
|
1349
|
+
url: "url";
|
|
1350
|
+
decimal: "decimal";
|
|
1351
|
+
tel: "tel";
|
|
1352
|
+
search: "search";
|
|
1353
|
+
}>>;
|
|
1286
1354
|
help: z.ZodOptional<z.ZodString>;
|
|
1287
1355
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
1288
1356
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1633,8 +1701,8 @@ export declare const ImageNodeSchema: z.ZodObject<{
|
|
|
1633
1701
|
alt: z.ZodString;
|
|
1634
1702
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1635
1703
|
small: "small";
|
|
1636
|
-
medium: "medium";
|
|
1637
1704
|
large: "large";
|
|
1705
|
+
medium: "medium";
|
|
1638
1706
|
full: "full";
|
|
1639
1707
|
}>, z.ZodInt]>>;
|
|
1640
1708
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1662,10 +1730,10 @@ export declare const ImageNodeSchema: z.ZodObject<{
|
|
|
1662
1730
|
export declare const PinSchema: z.ZodObject<{
|
|
1663
1731
|
look: z.ZodOptional<z.ZodEnum<{
|
|
1664
1732
|
label: "label";
|
|
1733
|
+
photo: "photo";
|
|
1665
1734
|
dot: "dot";
|
|
1666
|
-
pin: "pin";
|
|
1667
1735
|
icon: "icon";
|
|
1668
|
-
|
|
1736
|
+
pin: "pin";
|
|
1669
1737
|
}>>;
|
|
1670
1738
|
icon: z.ZodOptional<z.ZodString>;
|
|
1671
1739
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -1696,11 +1764,11 @@ export declare const PinSchema: z.ZodObject<{
|
|
|
1696
1764
|
home: z.ZodOptional<z.ZodString>;
|
|
1697
1765
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1698
1766
|
period: z.ZodEnum<{
|
|
1767
|
+
year: "year";
|
|
1768
|
+
month: "month";
|
|
1699
1769
|
day: "day";
|
|
1700
1770
|
night: "night";
|
|
1701
1771
|
week: "week";
|
|
1702
|
-
month: "month";
|
|
1703
|
-
year: "year";
|
|
1704
1772
|
}>;
|
|
1705
1773
|
when: z.ZodOptional<z.ZodString>;
|
|
1706
1774
|
}, z.z.core.$strict>>>;
|
|
@@ -1946,10 +2014,10 @@ export declare const MapLayerSchema: z.ZodObject<{
|
|
|
1946
2014
|
pin: z.ZodOptional<z.ZodObject<{
|
|
1947
2015
|
look: z.ZodOptional<z.ZodEnum<{
|
|
1948
2016
|
label: "label";
|
|
2017
|
+
photo: "photo";
|
|
1949
2018
|
dot: "dot";
|
|
1950
|
-
pin: "pin";
|
|
1951
2019
|
icon: "icon";
|
|
1952
|
-
|
|
2020
|
+
pin: "pin";
|
|
1953
2021
|
}>>;
|
|
1954
2022
|
icon: z.ZodOptional<z.ZodString>;
|
|
1955
2023
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -1980,11 +2048,11 @@ export declare const MapLayerSchema: z.ZodObject<{
|
|
|
1980
2048
|
home: z.ZodOptional<z.ZodString>;
|
|
1981
2049
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1982
2050
|
period: z.ZodEnum<{
|
|
2051
|
+
year: "year";
|
|
2052
|
+
month: "month";
|
|
1983
2053
|
day: "day";
|
|
1984
2054
|
night: "night";
|
|
1985
2055
|
week: "week";
|
|
1986
|
-
month: "month";
|
|
1987
|
-
year: "year";
|
|
1988
2056
|
}>;
|
|
1989
2057
|
when: z.ZodOptional<z.ZodString>;
|
|
1990
2058
|
}, z.z.core.$strict>>>;
|
|
@@ -2074,10 +2142,10 @@ export declare const MapNodeSchema: z.ZodObject<{
|
|
|
2074
2142
|
pin: z.ZodOptional<z.ZodObject<{
|
|
2075
2143
|
look: z.ZodOptional<z.ZodEnum<{
|
|
2076
2144
|
label: "label";
|
|
2145
|
+
photo: "photo";
|
|
2077
2146
|
dot: "dot";
|
|
2078
|
-
pin: "pin";
|
|
2079
2147
|
icon: "icon";
|
|
2080
|
-
|
|
2148
|
+
pin: "pin";
|
|
2081
2149
|
}>>;
|
|
2082
2150
|
icon: z.ZodOptional<z.ZodString>;
|
|
2083
2151
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -2108,11 +2176,11 @@ export declare const MapNodeSchema: z.ZodObject<{
|
|
|
2108
2176
|
home: z.ZodOptional<z.ZodString>;
|
|
2109
2177
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2110
2178
|
period: z.ZodEnum<{
|
|
2179
|
+
year: "year";
|
|
2180
|
+
month: "month";
|
|
2111
2181
|
day: "day";
|
|
2112
2182
|
night: "night";
|
|
2113
2183
|
week: "week";
|
|
2114
|
-
month: "month";
|
|
2115
|
-
year: "year";
|
|
2116
2184
|
}>;
|
|
2117
2185
|
when: z.ZodOptional<z.ZodString>;
|
|
2118
2186
|
}, z.z.core.$strict>>>;
|
|
@@ -2474,6 +2542,16 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2474
2542
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
2475
2543
|
text: z.ZodString;
|
|
2476
2544
|
}, z.z.core.$strict>>>;
|
|
2545
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
2547
|
+
text: "text";
|
|
2548
|
+
numeric: "numeric";
|
|
2549
|
+
email: "email";
|
|
2550
|
+
url: "url";
|
|
2551
|
+
decimal: "decimal";
|
|
2552
|
+
tel: "tel";
|
|
2553
|
+
search: "search";
|
|
2554
|
+
}>>;
|
|
2477
2555
|
help: z.ZodOptional<z.ZodString>;
|
|
2478
2556
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
2479
2557
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2899,8 +2977,8 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2899
2977
|
alt: z.ZodString;
|
|
2900
2978
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2901
2979
|
small: "small";
|
|
2902
|
-
medium: "medium";
|
|
2903
2980
|
large: "large";
|
|
2981
|
+
medium: "medium";
|
|
2904
2982
|
full: "full";
|
|
2905
2983
|
}>, z.ZodInt]>>;
|
|
2906
2984
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2948,10 +3026,10 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2948
3026
|
pin: z.ZodOptional<z.ZodObject<{
|
|
2949
3027
|
look: z.ZodOptional<z.ZodEnum<{
|
|
2950
3028
|
label: "label";
|
|
3029
|
+
photo: "photo";
|
|
2951
3030
|
dot: "dot";
|
|
2952
|
-
pin: "pin";
|
|
2953
3031
|
icon: "icon";
|
|
2954
|
-
|
|
3032
|
+
pin: "pin";
|
|
2955
3033
|
}>>;
|
|
2956
3034
|
icon: z.ZodOptional<z.ZodString>;
|
|
2957
3035
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -2982,11 +3060,11 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2982
3060
|
home: z.ZodOptional<z.ZodString>;
|
|
2983
3061
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2984
3062
|
period: z.ZodEnum<{
|
|
3063
|
+
year: "year";
|
|
3064
|
+
month: "month";
|
|
2985
3065
|
day: "day";
|
|
2986
3066
|
night: "night";
|
|
2987
3067
|
week: "week";
|
|
2988
|
-
month: "month";
|
|
2989
|
-
year: "year";
|
|
2990
3068
|
}>;
|
|
2991
3069
|
when: z.ZodOptional<z.ZodString>;
|
|
2992
3070
|
}, z.z.core.$strict>>>;
|
|
@@ -4109,6 +4187,16 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
4109
4187
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
4110
4188
|
text: z.ZodString;
|
|
4111
4189
|
}, z.z.core.$strict>>>;
|
|
4190
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
4191
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
4192
|
+
text: "text";
|
|
4193
|
+
numeric: "numeric";
|
|
4194
|
+
email: "email";
|
|
4195
|
+
url: "url";
|
|
4196
|
+
decimal: "decimal";
|
|
4197
|
+
tel: "tel";
|
|
4198
|
+
search: "search";
|
|
4199
|
+
}>>;
|
|
4112
4200
|
help: z.ZodOptional<z.ZodString>;
|
|
4113
4201
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
4114
4202
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4534,8 +4622,8 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
4534
4622
|
alt: z.ZodString;
|
|
4535
4623
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4536
4624
|
small: "small";
|
|
4537
|
-
medium: "medium";
|
|
4538
4625
|
large: "large";
|
|
4626
|
+
medium: "medium";
|
|
4539
4627
|
full: "full";
|
|
4540
4628
|
}>, z.ZodInt]>>;
|
|
4541
4629
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4583,10 +4671,10 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
4583
4671
|
pin: z.ZodOptional<z.ZodObject<{
|
|
4584
4672
|
look: z.ZodOptional<z.ZodEnum<{
|
|
4585
4673
|
label: "label";
|
|
4674
|
+
photo: "photo";
|
|
4586
4675
|
dot: "dot";
|
|
4587
|
-
pin: "pin";
|
|
4588
4676
|
icon: "icon";
|
|
4589
|
-
|
|
4677
|
+
pin: "pin";
|
|
4590
4678
|
}>>;
|
|
4591
4679
|
icon: z.ZodOptional<z.ZodString>;
|
|
4592
4680
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -4617,11 +4705,11 @@ export declare const HeadBandSchema: z.ZodObject<{
|
|
|
4617
4705
|
home: z.ZodOptional<z.ZodString>;
|
|
4618
4706
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4619
4707
|
period: z.ZodEnum<{
|
|
4708
|
+
year: "year";
|
|
4709
|
+
month: "month";
|
|
4620
4710
|
day: "day";
|
|
4621
4711
|
night: "night";
|
|
4622
4712
|
week: "week";
|
|
4623
|
-
month: "month";
|
|
4624
|
-
year: "year";
|
|
4625
4713
|
}>;
|
|
4626
4714
|
when: z.ZodOptional<z.ZodString>;
|
|
4627
4715
|
}, z.z.core.$strict>>>;
|
|
@@ -4883,6 +4971,16 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
4883
4971
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
4884
4972
|
text: z.ZodString;
|
|
4885
4973
|
}, z.z.core.$strict>>>;
|
|
4974
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
4975
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
4976
|
+
text: "text";
|
|
4977
|
+
numeric: "numeric";
|
|
4978
|
+
email: "email";
|
|
4979
|
+
url: "url";
|
|
4980
|
+
decimal: "decimal";
|
|
4981
|
+
tel: "tel";
|
|
4982
|
+
search: "search";
|
|
4983
|
+
}>>;
|
|
4886
4984
|
help: z.ZodOptional<z.ZodString>;
|
|
4887
4985
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
4888
4986
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -5338,6 +5436,16 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
5338
5436
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
5339
5437
|
text: z.ZodString;
|
|
5340
5438
|
}, z.z.core.$strict>>>;
|
|
5439
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
5440
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
5441
|
+
text: "text";
|
|
5442
|
+
numeric: "numeric";
|
|
5443
|
+
email: "email";
|
|
5444
|
+
url: "url";
|
|
5445
|
+
decimal: "decimal";
|
|
5446
|
+
tel: "tel";
|
|
5447
|
+
search: "search";
|
|
5448
|
+
}>>;
|
|
5341
5449
|
help: z.ZodOptional<z.ZodString>;
|
|
5342
5450
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
5343
5451
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -5763,8 +5871,8 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
5763
5871
|
alt: z.ZodString;
|
|
5764
5872
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5765
5873
|
small: "small";
|
|
5766
|
-
medium: "medium";
|
|
5767
5874
|
large: "large";
|
|
5875
|
+
medium: "medium";
|
|
5768
5876
|
full: "full";
|
|
5769
5877
|
}>, z.ZodInt]>>;
|
|
5770
5878
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5812,10 +5920,10 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
5812
5920
|
pin: z.ZodOptional<z.ZodObject<{
|
|
5813
5921
|
look: z.ZodOptional<z.ZodEnum<{
|
|
5814
5922
|
label: "label";
|
|
5923
|
+
photo: "photo";
|
|
5815
5924
|
dot: "dot";
|
|
5816
|
-
pin: "pin";
|
|
5817
5925
|
icon: "icon";
|
|
5818
|
-
|
|
5926
|
+
pin: "pin";
|
|
5819
5927
|
}>>;
|
|
5820
5928
|
icon: z.ZodOptional<z.ZodString>;
|
|
5821
5929
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -5846,11 +5954,11 @@ export declare const SheetHeadSchema: z.ZodObject<{
|
|
|
5846
5954
|
home: z.ZodOptional<z.ZodString>;
|
|
5847
5955
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5848
5956
|
period: z.ZodEnum<{
|
|
5957
|
+
year: "year";
|
|
5958
|
+
month: "month";
|
|
5849
5959
|
day: "day";
|
|
5850
5960
|
night: "night";
|
|
5851
5961
|
week: "week";
|
|
5852
|
-
month: "month";
|
|
5853
|
-
year: "year";
|
|
5854
5962
|
}>;
|
|
5855
5963
|
when: z.ZodOptional<z.ZodString>;
|
|
5856
5964
|
}, z.z.core.$strict>>>;
|
|
@@ -6121,6 +6229,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
6121
6229
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
6122
6230
|
text: z.ZodString;
|
|
6123
6231
|
}, z.z.core.$strict>>>;
|
|
6232
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
6233
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
6234
|
+
text: "text";
|
|
6235
|
+
numeric: "numeric";
|
|
6236
|
+
email: "email";
|
|
6237
|
+
url: "url";
|
|
6238
|
+
decimal: "decimal";
|
|
6239
|
+
tel: "tel";
|
|
6240
|
+
search: "search";
|
|
6241
|
+
}>>;
|
|
6124
6242
|
help: z.ZodOptional<z.ZodString>;
|
|
6125
6243
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
6126
6244
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -6576,6 +6694,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
6576
6694
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
6577
6695
|
text: z.ZodString;
|
|
6578
6696
|
}, z.z.core.$strict>>>;
|
|
6697
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
6698
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
6699
|
+
text: "text";
|
|
6700
|
+
numeric: "numeric";
|
|
6701
|
+
email: "email";
|
|
6702
|
+
url: "url";
|
|
6703
|
+
decimal: "decimal";
|
|
6704
|
+
tel: "tel";
|
|
6705
|
+
search: "search";
|
|
6706
|
+
}>>;
|
|
6579
6707
|
help: z.ZodOptional<z.ZodString>;
|
|
6580
6708
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
6581
6709
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -7001,8 +7129,8 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7001
7129
|
alt: z.ZodString;
|
|
7002
7130
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7003
7131
|
small: "small";
|
|
7004
|
-
medium: "medium";
|
|
7005
7132
|
large: "large";
|
|
7133
|
+
medium: "medium";
|
|
7006
7134
|
full: "full";
|
|
7007
7135
|
}>, z.ZodInt]>>;
|
|
7008
7136
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7050,10 +7178,10 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7050
7178
|
pin: z.ZodOptional<z.ZodObject<{
|
|
7051
7179
|
look: z.ZodOptional<z.ZodEnum<{
|
|
7052
7180
|
label: "label";
|
|
7181
|
+
photo: "photo";
|
|
7053
7182
|
dot: "dot";
|
|
7054
|
-
pin: "pin";
|
|
7055
7183
|
icon: "icon";
|
|
7056
|
-
|
|
7184
|
+
pin: "pin";
|
|
7057
7185
|
}>>;
|
|
7058
7186
|
icon: z.ZodOptional<z.ZodString>;
|
|
7059
7187
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -7084,11 +7212,11 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7084
7212
|
home: z.ZodOptional<z.ZodString>;
|
|
7085
7213
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7086
7214
|
period: z.ZodEnum<{
|
|
7215
|
+
year: "year";
|
|
7216
|
+
month: "month";
|
|
7087
7217
|
day: "day";
|
|
7088
7218
|
night: "night";
|
|
7089
7219
|
week: "week";
|
|
7090
|
-
month: "month";
|
|
7091
|
-
year: "year";
|
|
7092
7220
|
}>;
|
|
7093
7221
|
when: z.ZodOptional<z.ZodString>;
|
|
7094
7222
|
}, z.z.core.$strict>>>;
|
|
@@ -7355,6 +7483,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7355
7483
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
7356
7484
|
text: z.ZodString;
|
|
7357
7485
|
}, z.z.core.$strict>>>;
|
|
7486
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
7487
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
7488
|
+
text: "text";
|
|
7489
|
+
numeric: "numeric";
|
|
7490
|
+
email: "email";
|
|
7491
|
+
url: "url";
|
|
7492
|
+
decimal: "decimal";
|
|
7493
|
+
tel: "tel";
|
|
7494
|
+
search: "search";
|
|
7495
|
+
}>>;
|
|
7358
7496
|
help: z.ZodOptional<z.ZodString>;
|
|
7359
7497
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
7360
7498
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -7494,6 +7632,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7494
7632
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
7495
7633
|
text: z.ZodString;
|
|
7496
7634
|
}, z.z.core.$strict>>>;
|
|
7635
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
7636
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
7637
|
+
text: "text";
|
|
7638
|
+
numeric: "numeric";
|
|
7639
|
+
email: "email";
|
|
7640
|
+
url: "url";
|
|
7641
|
+
decimal: "decimal";
|
|
7642
|
+
tel: "tel";
|
|
7643
|
+
search: "search";
|
|
7644
|
+
}>>;
|
|
7497
7645
|
help: z.ZodOptional<z.ZodString>;
|
|
7498
7646
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
7499
7647
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -7633,6 +7781,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7633
7781
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
7634
7782
|
text: z.ZodString;
|
|
7635
7783
|
}, z.z.core.$strict>>>;
|
|
7784
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
7785
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
7786
|
+
text: "text";
|
|
7787
|
+
numeric: "numeric";
|
|
7788
|
+
email: "email";
|
|
7789
|
+
url: "url";
|
|
7790
|
+
decimal: "decimal";
|
|
7791
|
+
tel: "tel";
|
|
7792
|
+
search: "search";
|
|
7793
|
+
}>>;
|
|
7636
7794
|
help: z.ZodOptional<z.ZodString>;
|
|
7637
7795
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
7638
7796
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -7772,6 +7930,16 @@ export declare const SheetNodeSchema: z.ZodObject<{
|
|
|
7772
7930
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
7773
7931
|
text: z.ZodString;
|
|
7774
7932
|
}, z.z.core.$strict>>>;
|
|
7933
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
7934
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
7935
|
+
text: "text";
|
|
7936
|
+
numeric: "numeric";
|
|
7937
|
+
email: "email";
|
|
7938
|
+
url: "url";
|
|
7939
|
+
decimal: "decimal";
|
|
7940
|
+
tel: "tel";
|
|
7941
|
+
search: "search";
|
|
7942
|
+
}>>;
|
|
7775
7943
|
help: z.ZodOptional<z.ZodString>;
|
|
7776
7944
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
7777
7945
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -8799,10 +8967,10 @@ export declare const ListMapSchema: z.ZodObject<{
|
|
|
8799
8967
|
pin: z.ZodOptional<z.ZodObject<{
|
|
8800
8968
|
look: z.ZodOptional<z.ZodEnum<{
|
|
8801
8969
|
label: "label";
|
|
8970
|
+
photo: "photo";
|
|
8802
8971
|
dot: "dot";
|
|
8803
|
-
pin: "pin";
|
|
8804
8972
|
icon: "icon";
|
|
8805
|
-
|
|
8973
|
+
pin: "pin";
|
|
8806
8974
|
}>>;
|
|
8807
8975
|
icon: z.ZodOptional<z.ZodString>;
|
|
8808
8976
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -8833,11 +9001,11 @@ export declare const ListMapSchema: z.ZodObject<{
|
|
|
8833
9001
|
home: z.ZodOptional<z.ZodString>;
|
|
8834
9002
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8835
9003
|
period: z.ZodEnum<{
|
|
9004
|
+
year: "year";
|
|
9005
|
+
month: "month";
|
|
8836
9006
|
day: "day";
|
|
8837
9007
|
night: "night";
|
|
8838
9008
|
week: "week";
|
|
8839
|
-
month: "month";
|
|
8840
|
-
year: "year";
|
|
8841
9009
|
}>;
|
|
8842
9010
|
when: z.ZodOptional<z.ZodString>;
|
|
8843
9011
|
}, z.z.core.$strict>>>;
|
|
@@ -8913,20 +9081,20 @@ export declare const ListCalendarSchema: z.ZodObject<{
|
|
|
8913
9081
|
colour: z.ZodOptional<z.ZodString>;
|
|
8914
9082
|
resource: z.ZodOptional<z.ZodString>;
|
|
8915
9083
|
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9084
|
+
month: "month";
|
|
8916
9085
|
day: "day";
|
|
8917
9086
|
week: "week";
|
|
8918
|
-
month: "month";
|
|
8919
9087
|
agenda: "agenda";
|
|
8920
9088
|
}>>>;
|
|
8921
9089
|
view: z.ZodOptional<z.ZodEnum<{
|
|
9090
|
+
month: "month";
|
|
8922
9091
|
day: "day";
|
|
8923
9092
|
week: "week";
|
|
8924
|
-
month: "month";
|
|
8925
9093
|
agenda: "agenda";
|
|
8926
9094
|
}>>;
|
|
8927
9095
|
opens: z.ZodOptional<z.ZodEnum<{
|
|
8928
|
-
list: "list";
|
|
8929
9096
|
calendar: "calendar";
|
|
9097
|
+
list: "list";
|
|
8930
9098
|
}>>;
|
|
8931
9099
|
firstDay: z.ZodOptional<z.ZodInt>;
|
|
8932
9100
|
hours: z.ZodOptional<z.ZodObject<{
|
|
@@ -8935,7 +9103,7 @@ export declare const ListCalendarSchema: z.ZodObject<{
|
|
|
8935
9103
|
}, z.z.core.$strict>>;
|
|
8936
9104
|
slot: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<15>, z.ZodLiteral<30>, z.ZodLiteral<60>]>>;
|
|
8937
9105
|
}, z.z.core.$strict>;
|
|
8938
|
-
/** A list column's cells: a widget, an icon from another field, a width in characters or pixels, a side, its header's rule. */
|
|
9106
|
+
/** A list column's cells: a widget, an icon from another field, a width in characters or pixels, a side, its header's rule, its total. */
|
|
8939
9107
|
export declare const ListCellSchema: z.ZodObject<{
|
|
8940
9108
|
widget: z.ZodOptional<z.ZodString>;
|
|
8941
9109
|
options: z.ZodOptional<z.ZodObject<{
|
|
@@ -8953,8 +9121,31 @@ export declare const ListCellSchema: z.ZodObject<{
|
|
|
8953
9121
|
end: "end";
|
|
8954
9122
|
start: "start";
|
|
8955
9123
|
}>>;
|
|
9124
|
+
total: z.ZodOptional<z.ZodEnum<{
|
|
9125
|
+
min: "min";
|
|
9126
|
+
max: "max";
|
|
9127
|
+
sum: "sum";
|
|
9128
|
+
count: "count";
|
|
9129
|
+
avg: "avg";
|
|
9130
|
+
}>>;
|
|
8956
9131
|
rule: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodType<`${number}px`, unknown, z.z.core.$ZodTypeInternals<`${number}px`, unknown>>]>>;
|
|
8957
9132
|
}, z.z.core.$strict>;
|
|
9133
|
+
/** A period a date falls in, from the day the list is looked at: "This month", "Overdue". */
|
|
9134
|
+
export declare const FilterPeriodSchema: z.ZodObject<{
|
|
9135
|
+
field: z.ZodString;
|
|
9136
|
+
is: z.ZodEnum<{
|
|
9137
|
+
today: "today";
|
|
9138
|
+
yesterday: "yesterday";
|
|
9139
|
+
thisWeek: "thisWeek";
|
|
9140
|
+
lastWeek: "lastWeek";
|
|
9141
|
+
thisMonth: "thisMonth";
|
|
9142
|
+
lastMonth: "lastMonth";
|
|
9143
|
+
thisYear: "thisYear";
|
|
9144
|
+
last7Days: "last7Days";
|
|
9145
|
+
last30Days: "last30Days";
|
|
9146
|
+
overdue: "overdue";
|
|
9147
|
+
}>;
|
|
9148
|
+
}, z.z.core.$strict>;
|
|
8958
9149
|
export declare const ListNodeSchema: z.ZodObject<{
|
|
8959
9150
|
type: z.ZodLiteral<"list">;
|
|
8960
9151
|
id: z.ZodString;
|
|
@@ -8968,7 +9159,7 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
8968
9159
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8969
9160
|
id: z.ZodString;
|
|
8970
9161
|
label: z.ZodString;
|
|
8971
|
-
filter: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9162
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8972
9163
|
field: z.ZodString;
|
|
8973
9164
|
op: z.ZodEnum<{
|
|
8974
9165
|
set: "set";
|
|
@@ -8997,7 +9188,22 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
8997
9188
|
any: z.ZodArray<typeof FilterItemSchema>;
|
|
8998
9189
|
}, z.z.core.$strict>, z.ZodObject<{
|
|
8999
9190
|
all: z.ZodArray<typeof FilterItemSchema>;
|
|
9000
|
-
}, z.z.core.$strict>]
|
|
9191
|
+
}, z.z.core.$strict>]>>>;
|
|
9192
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
9193
|
+
field: z.ZodString;
|
|
9194
|
+
is: z.ZodEnum<{
|
|
9195
|
+
today: "today";
|
|
9196
|
+
yesterday: "yesterday";
|
|
9197
|
+
thisWeek: "thisWeek";
|
|
9198
|
+
lastWeek: "lastWeek";
|
|
9199
|
+
thisMonth: "thisMonth";
|
|
9200
|
+
lastMonth: "lastMonth";
|
|
9201
|
+
thisYear: "thisYear";
|
|
9202
|
+
last7Days: "last7Days";
|
|
9203
|
+
last30Days: "last30Days";
|
|
9204
|
+
overdue: "overdue";
|
|
9205
|
+
}>;
|
|
9206
|
+
}, z.z.core.$strict>>;
|
|
9001
9207
|
}, z.z.core.$strict>>>;
|
|
9002
9208
|
defaultFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9003
9209
|
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -9172,10 +9378,10 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
9172
9378
|
pin: z.ZodOptional<z.ZodObject<{
|
|
9173
9379
|
look: z.ZodOptional<z.ZodEnum<{
|
|
9174
9380
|
label: "label";
|
|
9381
|
+
photo: "photo";
|
|
9175
9382
|
dot: "dot";
|
|
9176
|
-
pin: "pin";
|
|
9177
9383
|
icon: "icon";
|
|
9178
|
-
|
|
9384
|
+
pin: "pin";
|
|
9179
9385
|
}>>;
|
|
9180
9386
|
icon: z.ZodOptional<z.ZodString>;
|
|
9181
9387
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -9206,11 +9412,11 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
9206
9412
|
home: z.ZodOptional<z.ZodString>;
|
|
9207
9413
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9208
9414
|
period: z.ZodEnum<{
|
|
9415
|
+
year: "year";
|
|
9416
|
+
month: "month";
|
|
9209
9417
|
day: "day";
|
|
9210
9418
|
night: "night";
|
|
9211
9419
|
week: "week";
|
|
9212
|
-
month: "month";
|
|
9213
|
-
year: "year";
|
|
9214
9420
|
}>;
|
|
9215
9421
|
when: z.ZodOptional<z.ZodString>;
|
|
9216
9422
|
}, z.z.core.$strict>>>;
|
|
@@ -9285,20 +9491,20 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
9285
9491
|
colour: z.ZodOptional<z.ZodString>;
|
|
9286
9492
|
resource: z.ZodOptional<z.ZodString>;
|
|
9287
9493
|
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9494
|
+
month: "month";
|
|
9288
9495
|
day: "day";
|
|
9289
9496
|
week: "week";
|
|
9290
|
-
month: "month";
|
|
9291
9497
|
agenda: "agenda";
|
|
9292
9498
|
}>>>;
|
|
9293
9499
|
view: z.ZodOptional<z.ZodEnum<{
|
|
9500
|
+
month: "month";
|
|
9294
9501
|
day: "day";
|
|
9295
9502
|
week: "week";
|
|
9296
|
-
month: "month";
|
|
9297
9503
|
agenda: "agenda";
|
|
9298
9504
|
}>>;
|
|
9299
9505
|
opens: z.ZodOptional<z.ZodEnum<{
|
|
9300
|
-
list: "list";
|
|
9301
9506
|
calendar: "calendar";
|
|
9507
|
+
list: "list";
|
|
9302
9508
|
}>>;
|
|
9303
9509
|
firstDay: z.ZodOptional<z.ZodInt>;
|
|
9304
9510
|
hours: z.ZodOptional<z.ZodObject<{
|
|
@@ -9324,6 +9530,13 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
9324
9530
|
end: "end";
|
|
9325
9531
|
start: "start";
|
|
9326
9532
|
}>>;
|
|
9533
|
+
total: z.ZodOptional<z.ZodEnum<{
|
|
9534
|
+
min: "min";
|
|
9535
|
+
max: "max";
|
|
9536
|
+
sum: "sum";
|
|
9537
|
+
count: "count";
|
|
9538
|
+
avg: "avg";
|
|
9539
|
+
}>>;
|
|
9327
9540
|
rule: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodType<`${number}px`, unknown, z.z.core.$ZodTypeInternals<`${number}px`, unknown>>]>>;
|
|
9328
9541
|
}, z.z.core.$strict>>>;
|
|
9329
9542
|
choose: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9335,6 +9548,8 @@ export declare const ListNodeSchema: z.ZodObject<{
|
|
|
9335
9548
|
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9336
9549
|
filterLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9337
9550
|
parentField: z.ZodOptional<z.ZodString>;
|
|
9551
|
+
export: z.ZodOptional<z.ZodBoolean>;
|
|
9552
|
+
bulkEdit: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
9338
9553
|
}, z.z.core.$strict>;
|
|
9339
9554
|
export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9340
9555
|
type: z.ZodLiteral<"sheet">;
|
|
@@ -9365,6 +9580,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9365
9580
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
9366
9581
|
text: z.ZodString;
|
|
9367
9582
|
}, z.z.core.$strict>>>;
|
|
9583
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
9584
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
9585
|
+
text: "text";
|
|
9586
|
+
numeric: "numeric";
|
|
9587
|
+
email: "email";
|
|
9588
|
+
url: "url";
|
|
9589
|
+
decimal: "decimal";
|
|
9590
|
+
tel: "tel";
|
|
9591
|
+
search: "search";
|
|
9592
|
+
}>>;
|
|
9368
9593
|
help: z.ZodOptional<z.ZodString>;
|
|
9369
9594
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
9370
9595
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -9820,6 +10045,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9820
10045
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
9821
10046
|
text: z.ZodString;
|
|
9822
10047
|
}, z.z.core.$strict>>>;
|
|
10048
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
10049
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
10050
|
+
text: "text";
|
|
10051
|
+
numeric: "numeric";
|
|
10052
|
+
email: "email";
|
|
10053
|
+
url: "url";
|
|
10054
|
+
decimal: "decimal";
|
|
10055
|
+
tel: "tel";
|
|
10056
|
+
search: "search";
|
|
10057
|
+
}>>;
|
|
9823
10058
|
help: z.ZodOptional<z.ZodString>;
|
|
9824
10059
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
9825
10060
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -10245,8 +10480,8 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10245
10480
|
alt: z.ZodString;
|
|
10246
10481
|
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10247
10482
|
small: "small";
|
|
10248
|
-
medium: "medium";
|
|
10249
10483
|
large: "large";
|
|
10484
|
+
medium: "medium";
|
|
10250
10485
|
full: "full";
|
|
10251
10486
|
}>, z.ZodInt]>>;
|
|
10252
10487
|
align: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10294,10 +10529,10 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10294
10529
|
pin: z.ZodOptional<z.ZodObject<{
|
|
10295
10530
|
look: z.ZodOptional<z.ZodEnum<{
|
|
10296
10531
|
label: "label";
|
|
10532
|
+
photo: "photo";
|
|
10297
10533
|
dot: "dot";
|
|
10298
|
-
pin: "pin";
|
|
10299
10534
|
icon: "icon";
|
|
10300
|
-
|
|
10535
|
+
pin: "pin";
|
|
10301
10536
|
}>>;
|
|
10302
10537
|
icon: z.ZodOptional<z.ZodString>;
|
|
10303
10538
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -10328,11 +10563,11 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10328
10563
|
home: z.ZodOptional<z.ZodString>;
|
|
10329
10564
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10330
10565
|
period: z.ZodEnum<{
|
|
10566
|
+
year: "year";
|
|
10567
|
+
month: "month";
|
|
10331
10568
|
day: "day";
|
|
10332
10569
|
night: "night";
|
|
10333
10570
|
week: "week";
|
|
10334
|
-
month: "month";
|
|
10335
|
-
year: "year";
|
|
10336
10571
|
}>;
|
|
10337
10572
|
when: z.ZodOptional<z.ZodString>;
|
|
10338
10573
|
}, z.z.core.$strict>>>;
|
|
@@ -10599,6 +10834,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10599
10834
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
10600
10835
|
text: z.ZodString;
|
|
10601
10836
|
}, z.z.core.$strict>>>;
|
|
10837
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
10838
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
10839
|
+
text: "text";
|
|
10840
|
+
numeric: "numeric";
|
|
10841
|
+
email: "email";
|
|
10842
|
+
url: "url";
|
|
10843
|
+
decimal: "decimal";
|
|
10844
|
+
tel: "tel";
|
|
10845
|
+
search: "search";
|
|
10846
|
+
}>>;
|
|
10602
10847
|
help: z.ZodOptional<z.ZodString>;
|
|
10603
10848
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
10604
10849
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -10738,6 +10983,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10738
10983
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
10739
10984
|
text: z.ZodString;
|
|
10740
10985
|
}, z.z.core.$strict>>>;
|
|
10986
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
10987
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
10988
|
+
text: "text";
|
|
10989
|
+
numeric: "numeric";
|
|
10990
|
+
email: "email";
|
|
10991
|
+
url: "url";
|
|
10992
|
+
decimal: "decimal";
|
|
10993
|
+
tel: "tel";
|
|
10994
|
+
search: "search";
|
|
10995
|
+
}>>;
|
|
10741
10996
|
help: z.ZodOptional<z.ZodString>;
|
|
10742
10997
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
10743
10998
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -10877,6 +11132,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10877
11132
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
10878
11133
|
text: z.ZodString;
|
|
10879
11134
|
}, z.z.core.$strict>>>;
|
|
11135
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
11136
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
11137
|
+
text: "text";
|
|
11138
|
+
numeric: "numeric";
|
|
11139
|
+
email: "email";
|
|
11140
|
+
url: "url";
|
|
11141
|
+
decimal: "decimal";
|
|
11142
|
+
tel: "tel";
|
|
11143
|
+
search: "search";
|
|
11144
|
+
}>>;
|
|
10880
11145
|
help: z.ZodOptional<z.ZodString>;
|
|
10881
11146
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
10882
11147
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -11016,6 +11281,16 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11016
11281
|
when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
|
|
11017
11282
|
text: z.ZodString;
|
|
11018
11283
|
}, z.z.core.$strict>>>;
|
|
11284
|
+
autocomplete: z.ZodOptional<z.ZodString>;
|
|
11285
|
+
inputmode: z.ZodOptional<z.ZodEnum<{
|
|
11286
|
+
text: "text";
|
|
11287
|
+
numeric: "numeric";
|
|
11288
|
+
email: "email";
|
|
11289
|
+
url: "url";
|
|
11290
|
+
decimal: "decimal";
|
|
11291
|
+
tel: "tel";
|
|
11292
|
+
search: "search";
|
|
11293
|
+
}>>;
|
|
11019
11294
|
help: z.ZodOptional<z.ZodString>;
|
|
11020
11295
|
colspan: z.ZodOptional<z.ZodInt>;
|
|
11021
11296
|
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -12256,7 +12531,7 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12256
12531
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12257
12532
|
id: z.ZodString;
|
|
12258
12533
|
label: z.ZodString;
|
|
12259
|
-
filter: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
12534
|
+
filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
12260
12535
|
field: z.ZodString;
|
|
12261
12536
|
op: z.ZodEnum<{
|
|
12262
12537
|
set: "set";
|
|
@@ -12285,7 +12560,22 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12285
12560
|
any: z.ZodArray<typeof FilterItemSchema>;
|
|
12286
12561
|
}, z.z.core.$strict>, z.ZodObject<{
|
|
12287
12562
|
all: z.ZodArray<typeof FilterItemSchema>;
|
|
12288
|
-
}, z.z.core.$strict>]
|
|
12563
|
+
}, z.z.core.$strict>]>>>;
|
|
12564
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
12565
|
+
field: z.ZodString;
|
|
12566
|
+
is: z.ZodEnum<{
|
|
12567
|
+
today: "today";
|
|
12568
|
+
yesterday: "yesterday";
|
|
12569
|
+
thisWeek: "thisWeek";
|
|
12570
|
+
lastWeek: "lastWeek";
|
|
12571
|
+
thisMonth: "thisMonth";
|
|
12572
|
+
lastMonth: "lastMonth";
|
|
12573
|
+
thisYear: "thisYear";
|
|
12574
|
+
last7Days: "last7Days";
|
|
12575
|
+
last30Days: "last30Days";
|
|
12576
|
+
overdue: "overdue";
|
|
12577
|
+
}>;
|
|
12578
|
+
}, z.z.core.$strict>>;
|
|
12289
12579
|
}, z.z.core.$strict>>>;
|
|
12290
12580
|
defaultFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12291
12581
|
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -12460,10 +12750,10 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12460
12750
|
pin: z.ZodOptional<z.ZodObject<{
|
|
12461
12751
|
look: z.ZodOptional<z.ZodEnum<{
|
|
12462
12752
|
label: "label";
|
|
12753
|
+
photo: "photo";
|
|
12463
12754
|
dot: "dot";
|
|
12464
|
-
pin: "pin";
|
|
12465
12755
|
icon: "icon";
|
|
12466
|
-
|
|
12756
|
+
pin: "pin";
|
|
12467
12757
|
}>>;
|
|
12468
12758
|
icon: z.ZodOptional<z.ZodString>;
|
|
12469
12759
|
iconField: z.ZodOptional<z.ZodString>;
|
|
@@ -12494,11 +12784,11 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12494
12784
|
home: z.ZodOptional<z.ZodString>;
|
|
12495
12785
|
per: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12496
12786
|
period: z.ZodEnum<{
|
|
12787
|
+
year: "year";
|
|
12788
|
+
month: "month";
|
|
12497
12789
|
day: "day";
|
|
12498
12790
|
night: "night";
|
|
12499
12791
|
week: "week";
|
|
12500
|
-
month: "month";
|
|
12501
|
-
year: "year";
|
|
12502
12792
|
}>;
|
|
12503
12793
|
when: z.ZodOptional<z.ZodString>;
|
|
12504
12794
|
}, z.z.core.$strict>>>;
|
|
@@ -12573,20 +12863,20 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12573
12863
|
colour: z.ZodOptional<z.ZodString>;
|
|
12574
12864
|
resource: z.ZodOptional<z.ZodString>;
|
|
12575
12865
|
views: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12866
|
+
month: "month";
|
|
12576
12867
|
day: "day";
|
|
12577
12868
|
week: "week";
|
|
12578
|
-
month: "month";
|
|
12579
12869
|
agenda: "agenda";
|
|
12580
12870
|
}>>>;
|
|
12581
12871
|
view: z.ZodOptional<z.ZodEnum<{
|
|
12872
|
+
month: "month";
|
|
12582
12873
|
day: "day";
|
|
12583
12874
|
week: "week";
|
|
12584
|
-
month: "month";
|
|
12585
12875
|
agenda: "agenda";
|
|
12586
12876
|
}>>;
|
|
12587
12877
|
opens: z.ZodOptional<z.ZodEnum<{
|
|
12588
|
-
list: "list";
|
|
12589
12878
|
calendar: "calendar";
|
|
12879
|
+
list: "list";
|
|
12590
12880
|
}>>;
|
|
12591
12881
|
firstDay: z.ZodOptional<z.ZodInt>;
|
|
12592
12882
|
hours: z.ZodOptional<z.ZodObject<{
|
|
@@ -12612,6 +12902,13 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12612
12902
|
end: "end";
|
|
12613
12903
|
start: "start";
|
|
12614
12904
|
}>>;
|
|
12905
|
+
total: z.ZodOptional<z.ZodEnum<{
|
|
12906
|
+
min: "min";
|
|
12907
|
+
max: "max";
|
|
12908
|
+
sum: "sum";
|
|
12909
|
+
count: "count";
|
|
12910
|
+
avg: "avg";
|
|
12911
|
+
}>>;
|
|
12615
12912
|
rule: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodType<`${number}px`, unknown, z.z.core.$ZodTypeInternals<`${number}px`, unknown>>]>>;
|
|
12616
12913
|
}, z.z.core.$strict>>>;
|
|
12617
12914
|
choose: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12623,4 +12920,6 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12623
12920
|
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12624
12921
|
filterLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12625
12922
|
parentField: z.ZodOptional<z.ZodString>;
|
|
12923
|
+
export: z.ZodOptional<z.ZodBoolean>;
|
|
12924
|
+
bulkEdit: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
12626
12925
|
}, z.z.core.$strict>], "type">;
|