@fieldia/core 0.11.0 → 0.13.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.
Files changed (203) hide show
  1. package/README.md +5 -0
  2. package/package.json +1 -1
  3. package/schema/page.schema.json +3998 -893
  4. package/src/index.d.mts +1 -1
  5. package/src/index.d.ts +1 -1
  6. package/src/index.js +4 -1
  7. package/src/index.js.map +1 -1
  8. package/src/index.mjs +1 -1
  9. package/src/index.mjs.map +1 -1
  10. package/src/lib/expression/built-ins.d.mts +4 -0
  11. package/src/lib/expression/built-ins.d.ts +4 -0
  12. package/src/lib/expression/built-ins.js +8 -0
  13. package/src/lib/expression/built-ins.js.map +1 -0
  14. package/src/lib/expression/built-ins.mjs +5 -0
  15. package/src/lib/expression/built-ins.mjs.map +1 -0
  16. package/src/lib/expression/evaluator.js +17 -7
  17. package/src/lib/expression/evaluator.js.map +1 -1
  18. package/src/lib/expression/evaluator.mjs +17 -7
  19. package/src/lib/expression/evaluator.mjs.map +1 -1
  20. package/src/lib/expression/expression.d.mts +7 -0
  21. package/src/lib/expression/expression.d.ts +7 -0
  22. package/src/lib/expression/expression.js +2 -0
  23. package/src/lib/expression/expression.js.map +1 -1
  24. package/src/lib/expression/expression.mjs +3 -1
  25. package/src/lib/expression/expression.mjs.map +1 -1
  26. package/src/lib/expression/functions.d.mts +2 -0
  27. package/src/lib/expression/functions.d.ts +2 -0
  28. package/src/lib/expression/functions.js +38 -5
  29. package/src/lib/expression/functions.js.map +1 -1
  30. package/src/lib/expression/functions.mjs +38 -5
  31. package/src/lib/expression/functions.mjs.map +1 -1
  32. package/src/lib/expression/modifier.d.mts +7 -0
  33. package/src/lib/expression/modifier.d.ts +7 -0
  34. package/src/lib/expression/modifier.js +3 -1
  35. package/src/lib/expression/modifier.js.map +1 -1
  36. package/src/lib/expression/modifier.mjs +4 -2
  37. package/src/lib/expression/modifier.mjs.map +1 -1
  38. package/src/lib/expression/parser.d.mts +8 -1
  39. package/src/lib/expression/parser.d.ts +8 -1
  40. package/src/lib/expression/parser.js +30 -2
  41. package/src/lib/expression/parser.js.map +1 -1
  42. package/src/lib/expression/parser.mjs +30 -2
  43. package/src/lib/expression/parser.mjs.map +1 -1
  44. package/src/lib/expression/reads.d.mts +7 -0
  45. package/src/lib/expression/reads.d.ts +7 -0
  46. package/src/lib/expression/reads.js +23 -0
  47. package/src/lib/expression/reads.js.map +1 -1
  48. package/src/lib/expression/reads.mjs +21 -0
  49. package/src/lib/expression/reads.mjs.map +1 -1
  50. package/src/lib/format/actions.d.mts +486 -2
  51. package/src/lib/format/actions.d.ts +486 -2
  52. package/src/lib/format/actions.js +9 -0
  53. package/src/lib/format/actions.js.map +1 -1
  54. package/src/lib/format/actions.mjs +9 -0
  55. package/src/lib/format/actions.mjs.map +1 -1
  56. package/src/lib/format/check-page.d.mts +7 -2
  57. package/src/lib/format/check-page.d.ts +7 -2
  58. package/src/lib/format/check-page.js +6 -3
  59. package/src/lib/format/check-page.js.map +1 -1
  60. package/src/lib/format/check-page.mjs +6 -3
  61. package/src/lib/format/check-page.mjs.map +1 -1
  62. package/src/lib/format/field.d.mts +3285 -214
  63. package/src/lib/format/field.d.ts +3285 -214
  64. package/src/lib/format/field.js +101 -14
  65. package/src/lib/format/field.js.map +1 -1
  66. package/src/lib/format/field.mjs +100 -13
  67. package/src/lib/format/field.mjs.map +1 -1
  68. package/src/lib/format/hotkeys.d.mts +6 -0
  69. package/src/lib/format/hotkeys.d.ts +6 -0
  70. package/src/lib/format/hotkeys.js +11 -0
  71. package/src/lib/format/hotkeys.js.map +1 -0
  72. package/src/lib/format/hotkeys.mjs +7 -0
  73. package/src/lib/format/hotkeys.mjs.map +1 -0
  74. package/src/lib/format/layout.d.mts +4185 -352
  75. package/src/lib/format/layout.d.ts +4185 -352
  76. package/src/lib/format/layout.js +131 -20
  77. package/src/lib/format/layout.js.map +1 -1
  78. package/src/lib/format/layout.mjs +130 -19
  79. package/src/lib/format/layout.mjs.map +1 -1
  80. package/src/lib/format/page.d.mts +2938 -196
  81. package/src/lib/format/page.d.ts +2938 -196
  82. package/src/lib/format/page.js +7 -1
  83. package/src/lib/format/page.js.map +1 -1
  84. package/src/lib/format/page.mjs +6 -1
  85. package/src/lib/format/page.mjs.map +1 -1
  86. package/src/lib/format/references.d.mts +35 -2
  87. package/src/lib/format/references.d.ts +35 -2
  88. package/src/lib/format/references.js +321 -43
  89. package/src/lib/format/references.js.map +1 -1
  90. package/src/lib/format/references.mjs +321 -43
  91. package/src/lib/format/references.mjs.map +1 -1
  92. package/src/lib/format/themes.d.mts +9 -0
  93. package/src/lib/format/themes.d.ts +9 -0
  94. package/src/lib/format/themes.js +13 -0
  95. package/src/lib/format/themes.js.map +1 -0
  96. package/src/lib/format/themes.mjs +10 -0
  97. package/src/lib/format/themes.mjs.map +1 -0
  98. package/src/lib/format/translate.js +5 -3
  99. package/src/lib/format/translate.js.map +1 -1
  100. package/src/lib/format/translate.mjs +5 -3
  101. package/src/lib/format/translate.mjs.map +1 -1
  102. package/src/lib/format/words.d.mts +9 -0
  103. package/src/lib/format/words.d.ts +9 -0
  104. package/src/lib/format/words.js +35 -0
  105. package/src/lib/format/words.js.map +1 -0
  106. package/src/lib/format/words.mjs +30 -0
  107. package/src/lib/format/words.mjs.map +1 -0
  108. package/src/lib/record/cells.d.mts +37 -0
  109. package/src/lib/record/cells.d.ts +37 -0
  110. package/src/lib/record/cells.js +59 -0
  111. package/src/lib/record/cells.js.map +1 -0
  112. package/src/lib/record/cells.mjs +54 -0
  113. package/src/lib/record/cells.mjs.map +1 -0
  114. package/src/lib/record/compute.d.mts +5 -4
  115. package/src/lib/record/compute.d.ts +5 -4
  116. package/src/lib/record/compute.js +11 -10
  117. package/src/lib/record/compute.js.map +1 -1
  118. package/src/lib/record/compute.mjs +12 -11
  119. package/src/lib/record/compute.mjs.map +1 -1
  120. package/src/lib/record/data-source.d.mts +32 -2
  121. package/src/lib/record/data-source.d.ts +32 -2
  122. package/src/lib/record/data-source.js.map +1 -1
  123. package/src/lib/record/data-source.mjs.map +1 -1
  124. package/src/lib/record/env.d.mts +38 -1
  125. package/src/lib/record/env.d.ts +38 -1
  126. package/src/lib/record/env.js +41 -3
  127. package/src/lib/record/env.js.map +1 -1
  128. package/src/lib/record/env.mjs +38 -3
  129. package/src/lib/record/env.mjs.map +1 -1
  130. package/src/lib/record/filter.d.mts +10 -0
  131. package/src/lib/record/filter.d.ts +10 -0
  132. package/src/lib/record/filter.js +49 -0
  133. package/src/lib/record/filter.js.map +1 -1
  134. package/src/lib/record/filter.mjs +48 -0
  135. package/src/lib/record/filter.mjs.map +1 -1
  136. package/src/lib/record/form.d.mts +143 -8
  137. package/src/lib/record/form.d.ts +143 -8
  138. package/src/lib/record/form.js +495 -58
  139. package/src/lib/record/form.js.map +1 -1
  140. package/src/lib/record/form.mjs +496 -60
  141. package/src/lib/record/form.mjs.map +1 -1
  142. package/src/lib/record/locales/ar.js +3 -0
  143. package/src/lib/record/locales/ar.js.map +1 -1
  144. package/src/lib/record/locales/ar.mjs +3 -0
  145. package/src/lib/record/locales/ar.mjs.map +1 -1
  146. package/src/lib/record/locales/de.js +3 -0
  147. package/src/lib/record/locales/de.js.map +1 -1
  148. package/src/lib/record/locales/de.mjs +3 -0
  149. package/src/lib/record/locales/de.mjs.map +1 -1
  150. package/src/lib/record/locales/fr.js +3 -0
  151. package/src/lib/record/locales/fr.js.map +1 -1
  152. package/src/lib/record/locales/fr.mjs +3 -0
  153. package/src/lib/record/locales/fr.mjs.map +1 -1
  154. package/src/lib/record/memory-data-source.d.mts +26 -2
  155. package/src/lib/record/memory-data-source.d.ts +26 -2
  156. package/src/lib/record/memory-data-source.js +98 -7
  157. package/src/lib/record/memory-data-source.js.map +1 -1
  158. package/src/lib/record/memory-data-source.mjs +98 -7
  159. package/src/lib/record/memory-data-source.mjs.map +1 -1
  160. package/src/lib/record/messages.d.mts +5 -0
  161. package/src/lib/record/messages.d.ts +5 -0
  162. package/src/lib/record/messages.js +3 -0
  163. package/src/lib/record/messages.js.map +1 -1
  164. package/src/lib/record/messages.mjs +3 -0
  165. package/src/lib/record/messages.mjs.map +1 -1
  166. package/src/lib/record/roles.d.mts +10 -0
  167. package/src/lib/record/roles.d.ts +10 -0
  168. package/src/lib/record/roles.js +21 -0
  169. package/src/lib/record/roles.js.map +1 -0
  170. package/src/lib/record/roles.mjs +18 -0
  171. package/src/lib/record/roles.mjs.map +1 -0
  172. package/src/lib/record/rules.js +30 -0
  173. package/src/lib/record/rules.js.map +1 -1
  174. package/src/lib/record/rules.mjs +31 -1
  175. package/src/lib/record/rules.mjs.map +1 -1
  176. package/src/lib/record/run.d.mts +79 -0
  177. package/src/lib/record/run.d.ts +79 -0
  178. package/src/lib/record/run.js +105 -0
  179. package/src/lib/record/run.js.map +1 -1
  180. package/src/lib/record/run.mjs +105 -0
  181. package/src/lib/record/run.mjs.map +1 -1
  182. package/src/lib/record/set-when.d.mts +5 -2
  183. package/src/lib/record/set-when.d.ts +5 -2
  184. package/src/lib/record/set-when.js +28 -12
  185. package/src/lib/record/set-when.js.map +1 -1
  186. package/src/lib/record/set-when.mjs +30 -14
  187. package/src/lib/record/set-when.mjs.map +1 -1
  188. package/src/lib/record/value-map.d.mts +41 -0
  189. package/src/lib/record/value-map.d.ts +41 -0
  190. package/src/lib/record/value-map.js +80 -0
  191. package/src/lib/record/value-map.js.map +1 -0
  192. package/src/lib/record/value-map.mjs +73 -0
  193. package/src/lib/record/value-map.mjs.map +1 -0
  194. package/src/lib/record/values.d.mts +10 -0
  195. package/src/lib/record/values.d.ts +10 -0
  196. package/src/lib/record/values.js.map +1 -1
  197. package/src/lib/record/values.mjs.map +1 -1
  198. package/src/runtime.d.mts +11 -6
  199. package/src/runtime.d.ts +11 -6
  200. package/src/runtime.js +13 -1
  201. package/src/runtime.js.map +1 -1
  202. package/src/runtime.mjs +4 -0
  203. package/src/runtime.mjs.map +1 -1
@@ -1,8 +1,10 @@
1
1
  import * as z from 'zod';
2
2
  import { type PageEvents } from './actions.mjs';
3
3
  import { type Fields } from './field.mjs';
4
- import { type RootLayout } from './layout.mjs';
4
+ import { type HelpShown, type RootLayout } from './layout.mjs';
5
5
  import { type PartsLook } from './part-look.mjs';
6
+ import { type Theme } from './themes.mjs';
7
+ export { THEMES, type Theme } from './themes.mjs';
6
8
  import { FORMAT_VERSION } from './version.mjs';
7
9
  export { FORMAT_VERSION } from './version.mjs';
8
10
  /**
@@ -21,6 +23,8 @@ export type PageData = {
21
23
  * follows them and a dark scheme keeps working.
22
24
  */
23
25
  export interface PageLook {
26
+ /** A theme in the style of a known design system: see `THEMES`. The settings below win over it. */
27
+ theme?: Theme;
24
28
  /** The accent: buttons, focus, the picked tab, a band under the title. `#rrggbb`. */
25
29
  accent?: string;
26
30
  font?: 'system' | 'serif' | 'rounded';
@@ -31,6 +35,19 @@ export interface PageLook {
31
35
  labels?: 'above' | 'beside' | 'hidden';
32
36
  /** How wide labels set beside their boxes are, in pixels. */
33
37
  labelWidth?: number;
38
+ /**
39
+ * Where a field's help shows across the page, unless a field says otherwise:
40
+ * as words under it (the default), behind a (?) beside its label — Flectra's
41
+ * tooltip, which keeps a dense sheet short — or both.
42
+ */
43
+ helpShown?: HelpShown;
44
+ /**
45
+ * How a read-only field shows: as its value in words, as Flectra draws one
46
+ * — a choice without its arrow, a long text wrapped, an amount with its
47
+ * currency, a link's name — or in its greyed box (the default). A yes or
48
+ * no, a table, tags, a file and the like keep their own look either way.
49
+ */
50
+ readonlyShown?: 'text' | 'box';
34
51
  /** Light, dark, or as the reader's system has it. */
35
52
  scheme?: 'light' | 'dark' | 'auto';
36
53
  /** A look for each kind of part, over the page's: text boxes, choices, groups, buttons, tables. See `PART_LOOKS`. */
@@ -90,10 +107,12 @@ export declare const PageSchema: z.ZodObject<{
90
107
  required: z.ZodOptional<z.ZodBoolean>;
91
108
  readonly: z.ZodOptional<z.ZodBoolean>;
92
109
  default: z.ZodOptional<z.ZodJSONSchema>;
110
+ defaultFrom: z.ZodOptional<z.ZodString>;
93
111
  compute: z.ZodOptional<z.ZodString>;
94
112
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
95
- when: z.ZodString;
113
+ when: z.ZodOptional<z.ZodString>;
96
114
  value: z.ZodString;
115
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
116
  }, z.core.$strict>>>;
98
117
  type: z.ZodLiteral<"char">;
99
118
  }, z.core.$strict>, z.ZodObject<{
@@ -103,10 +122,12 @@ export declare const PageSchema: z.ZodObject<{
103
122
  required: z.ZodOptional<z.ZodBoolean>;
104
123
  readonly: z.ZodOptional<z.ZodBoolean>;
105
124
  default: z.ZodOptional<z.ZodJSONSchema>;
125
+ defaultFrom: z.ZodOptional<z.ZodString>;
106
126
  compute: z.ZodOptional<z.ZodString>;
107
127
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
108
- when: z.ZodString;
128
+ when: z.ZodOptional<z.ZodString>;
109
129
  value: z.ZodString;
130
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
131
  }, z.core.$strict>>>;
111
132
  type: z.ZodLiteral<"text">;
112
133
  }, z.core.$strict>, z.ZodObject<{
@@ -115,10 +136,12 @@ export declare const PageSchema: z.ZodObject<{
115
136
  required: z.ZodOptional<z.ZodBoolean>;
116
137
  readonly: z.ZodOptional<z.ZodBoolean>;
117
138
  default: z.ZodOptional<z.ZodJSONSchema>;
139
+ defaultFrom: z.ZodOptional<z.ZodString>;
118
140
  compute: z.ZodOptional<z.ZodString>;
119
141
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
120
- when: z.ZodString;
142
+ when: z.ZodOptional<z.ZodString>;
121
143
  value: z.ZodString;
144
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
122
145
  }, z.core.$strict>>>;
123
146
  type: z.ZodLiteral<"html">;
124
147
  }, z.core.$strict>, z.ZodObject<{
@@ -129,10 +152,12 @@ export declare const PageSchema: z.ZodObject<{
129
152
  required: z.ZodOptional<z.ZodBoolean>;
130
153
  readonly: z.ZodOptional<z.ZodBoolean>;
131
154
  default: z.ZodOptional<z.ZodJSONSchema>;
155
+ defaultFrom: z.ZodOptional<z.ZodString>;
132
156
  compute: z.ZodOptional<z.ZodString>;
133
157
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
- when: z.ZodString;
158
+ when: z.ZodOptional<z.ZodString>;
135
159
  value: z.ZodString;
160
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
161
  }, z.core.$strict>>>;
137
162
  type: z.ZodLiteral<"integer">;
138
163
  }, z.core.$strict>, z.ZodObject<{
@@ -144,10 +169,12 @@ export declare const PageSchema: z.ZodObject<{
144
169
  required: z.ZodOptional<z.ZodBoolean>;
145
170
  readonly: z.ZodOptional<z.ZodBoolean>;
146
171
  default: z.ZodOptional<z.ZodJSONSchema>;
172
+ defaultFrom: z.ZodOptional<z.ZodString>;
147
173
  compute: z.ZodOptional<z.ZodString>;
148
174
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
149
- when: z.ZodString;
175
+ when: z.ZodOptional<z.ZodString>;
150
176
  value: z.ZodString;
177
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
178
  }, z.core.$strict>>>;
152
179
  type: z.ZodLiteral<"float">;
153
180
  }, z.core.$strict>, z.ZodObject<{
@@ -161,10 +188,12 @@ export declare const PageSchema: z.ZodObject<{
161
188
  required: z.ZodOptional<z.ZodBoolean>;
162
189
  readonly: z.ZodOptional<z.ZodBoolean>;
163
190
  default: z.ZodOptional<z.ZodJSONSchema>;
191
+ defaultFrom: z.ZodOptional<z.ZodString>;
164
192
  compute: z.ZodOptional<z.ZodString>;
165
193
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
- when: z.ZodString;
194
+ when: z.ZodOptional<z.ZodString>;
167
195
  value: z.ZodString;
196
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
168
197
  }, z.core.$strict>>>;
169
198
  type: z.ZodLiteral<"monetary">;
170
199
  }, z.core.$strict>, z.ZodObject<{
@@ -173,10 +202,12 @@ export declare const PageSchema: z.ZodObject<{
173
202
  required: z.ZodOptional<z.ZodBoolean>;
174
203
  readonly: z.ZodOptional<z.ZodBoolean>;
175
204
  default: z.ZodOptional<z.ZodJSONSchema>;
205
+ defaultFrom: z.ZodOptional<z.ZodString>;
176
206
  compute: z.ZodOptional<z.ZodString>;
177
207
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
178
- when: z.ZodString;
208
+ when: z.ZodOptional<z.ZodString>;
179
209
  value: z.ZodString;
210
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
180
211
  }, z.core.$strict>>>;
181
212
  type: z.ZodLiteral<"boolean">;
182
213
  }, z.core.$strict>, z.ZodObject<{
@@ -188,10 +219,12 @@ export declare const PageSchema: z.ZodObject<{
188
219
  required: z.ZodOptional<z.ZodBoolean>;
189
220
  readonly: z.ZodOptional<z.ZodBoolean>;
190
221
  default: z.ZodOptional<z.ZodJSONSchema>;
222
+ defaultFrom: z.ZodOptional<z.ZodString>;
191
223
  compute: z.ZodOptional<z.ZodString>;
192
224
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
- when: z.ZodString;
225
+ when: z.ZodOptional<z.ZodString>;
194
226
  value: z.ZodString;
227
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
228
  }, z.core.$strict>>>;
196
229
  type: z.ZodLiteral<"date">;
197
230
  }, z.core.$strict>, z.ZodObject<{
@@ -203,10 +236,12 @@ export declare const PageSchema: z.ZodObject<{
203
236
  required: z.ZodOptional<z.ZodBoolean>;
204
237
  readonly: z.ZodOptional<z.ZodBoolean>;
205
238
  default: z.ZodOptional<z.ZodJSONSchema>;
239
+ defaultFrom: z.ZodOptional<z.ZodString>;
206
240
  compute: z.ZodOptional<z.ZodString>;
207
241
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
208
- when: z.ZodString;
242
+ when: z.ZodOptional<z.ZodString>;
209
243
  value: z.ZodString;
244
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
245
  }, z.core.$strict>>>;
211
246
  type: z.ZodLiteral<"datetime">;
212
247
  }, z.core.$strict>, z.ZodObject<{
@@ -231,10 +266,12 @@ export declare const PageSchema: z.ZodObject<{
231
266
  required: z.ZodOptional<z.ZodBoolean>;
232
267
  readonly: z.ZodOptional<z.ZodBoolean>;
233
268
  default: z.ZodOptional<z.ZodJSONSchema>;
269
+ defaultFrom: z.ZodOptional<z.ZodString>;
234
270
  compute: z.ZodOptional<z.ZodString>;
235
271
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
- when: z.ZodString;
272
+ when: z.ZodOptional<z.ZodString>;
237
273
  value: z.ZodString;
274
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
238
275
  }, z.core.$strict>>>;
239
276
  type: z.ZodLiteral<"selection">;
240
277
  }, z.core.$strict>, z.ZodObject<{
@@ -248,10 +285,12 @@ export declare const PageSchema: z.ZodObject<{
248
285
  required: z.ZodOptional<z.ZodBoolean>;
249
286
  readonly: z.ZodOptional<z.ZodBoolean>;
250
287
  default: z.ZodOptional<z.ZodJSONSchema>;
288
+ defaultFrom: z.ZodOptional<z.ZodString>;
251
289
  compute: z.ZodOptional<z.ZodString>;
252
290
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
253
- when: z.ZodString;
291
+ when: z.ZodOptional<z.ZodString>;
254
292
  value: z.ZodString;
293
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
255
294
  }, z.core.$strict>>>;
256
295
  type: z.ZodLiteral<"binary">;
257
296
  }, z.core.$strict>, z.ZodObject<{
@@ -264,10 +303,12 @@ export declare const PageSchema: z.ZodObject<{
264
303
  required: z.ZodOptional<z.ZodBoolean>;
265
304
  readonly: z.ZodOptional<z.ZodBoolean>;
266
305
  default: z.ZodOptional<z.ZodJSONSchema>;
306
+ defaultFrom: z.ZodOptional<z.ZodString>;
267
307
  compute: z.ZodOptional<z.ZodString>;
268
308
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
- when: z.ZodString;
309
+ when: z.ZodOptional<z.ZodString>;
270
310
  value: z.ZodString;
311
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
271
312
  }, z.core.$strict>>>;
272
313
  type: z.ZodLiteral<"image">;
273
314
  }, z.core.$strict>, z.ZodObject<{
@@ -290,6 +331,9 @@ export declare const PageSchema: z.ZodObject<{
290
331
  endswith: "endswith";
291
332
  notset: "notset";
292
333
  between: "between";
334
+ contains: "contains";
335
+ "not contains": "not contains";
336
+ "=?": "=?";
293
337
  }>;
294
338
  value: z.ZodOptional<z.ZodJSONSchema>;
295
339
  valueFrom: z.ZodOptional<z.ZodString>;
@@ -298,15 +342,18 @@ export declare const PageSchema: z.ZodObject<{
298
342
  }, z.core.$strict>, z.ZodObject<{
299
343
  all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
300
344
  }, z.core.$strict>]>>>;
345
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
301
346
  label: z.ZodString;
302
347
  help: z.ZodOptional<z.ZodString>;
303
348
  required: z.ZodOptional<z.ZodBoolean>;
304
349
  readonly: z.ZodOptional<z.ZodBoolean>;
305
350
  default: z.ZodOptional<z.ZodJSONSchema>;
351
+ defaultFrom: z.ZodOptional<z.ZodString>;
306
352
  compute: z.ZodOptional<z.ZodString>;
307
353
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
308
- when: z.ZodString;
354
+ when: z.ZodOptional<z.ZodString>;
309
355
  value: z.ZodString;
356
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
357
  }, z.core.$strict>>>;
311
358
  type: z.ZodLiteral<"many2one">;
312
359
  }, z.core.$strict>, z.ZodObject<{
@@ -329,6 +376,9 @@ export declare const PageSchema: z.ZodObject<{
329
376
  endswith: "endswith";
330
377
  notset: "notset";
331
378
  between: "between";
379
+ contains: "contains";
380
+ "not contains": "not contains";
381
+ "=?": "=?";
332
382
  }>;
333
383
  value: z.ZodOptional<z.ZodJSONSchema>;
334
384
  valueFrom: z.ZodOptional<z.ZodString>;
@@ -337,15 +387,222 @@ export declare const PageSchema: z.ZodObject<{
337
387
  }, z.core.$strict>, z.ZodObject<{
338
388
  all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
339
389
  }, z.core.$strict>]>>>;
390
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
391
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
392
+ size: z.ZodOptional<z.ZodInt>;
393
+ pattern: z.ZodOptional<z.ZodString>;
394
+ label: z.ZodString;
395
+ help: z.ZodOptional<z.ZodString>;
396
+ required: z.ZodOptional<z.ZodBoolean>;
397
+ readonly: z.ZodOptional<z.ZodBoolean>;
398
+ default: z.ZodOptional<z.ZodJSONSchema>;
399
+ defaultFrom: z.ZodOptional<z.ZodString>;
400
+ compute: z.ZodOptional<z.ZodString>;
401
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
+ when: z.ZodOptional<z.ZodString>;
403
+ value: z.ZodString;
404
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
405
+ }, z.core.$strict>>>;
406
+ type: z.ZodLiteral<"char">;
407
+ }, z.core.$strict>, z.ZodObject<{
408
+ size: z.ZodOptional<z.ZodInt>;
409
+ label: z.ZodString;
410
+ help: z.ZodOptional<z.ZodString>;
411
+ required: z.ZodOptional<z.ZodBoolean>;
412
+ readonly: z.ZodOptional<z.ZodBoolean>;
413
+ default: z.ZodOptional<z.ZodJSONSchema>;
414
+ defaultFrom: z.ZodOptional<z.ZodString>;
415
+ compute: z.ZodOptional<z.ZodString>;
416
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
+ when: z.ZodOptional<z.ZodString>;
418
+ value: z.ZodString;
419
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
420
+ }, z.core.$strict>>>;
421
+ type: z.ZodLiteral<"text">;
422
+ }, z.core.$strict>, z.ZodObject<{
423
+ min: z.ZodOptional<z.ZodNumber>;
424
+ max: z.ZodOptional<z.ZodNumber>;
425
+ label: z.ZodString;
426
+ help: z.ZodOptional<z.ZodString>;
427
+ required: z.ZodOptional<z.ZodBoolean>;
428
+ readonly: z.ZodOptional<z.ZodBoolean>;
429
+ default: z.ZodOptional<z.ZodJSONSchema>;
430
+ defaultFrom: z.ZodOptional<z.ZodString>;
431
+ compute: z.ZodOptional<z.ZodString>;
432
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
433
+ when: z.ZodOptional<z.ZodString>;
434
+ value: z.ZodString;
435
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ }, z.core.$strict>>>;
437
+ type: z.ZodLiteral<"integer">;
438
+ }, z.core.$strict>, z.ZodObject<{
439
+ min: z.ZodOptional<z.ZodNumber>;
440
+ max: z.ZodOptional<z.ZodNumber>;
441
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
442
+ label: z.ZodString;
443
+ help: z.ZodOptional<z.ZodString>;
444
+ required: z.ZodOptional<z.ZodBoolean>;
445
+ readonly: z.ZodOptional<z.ZodBoolean>;
446
+ default: z.ZodOptional<z.ZodJSONSchema>;
447
+ defaultFrom: z.ZodOptional<z.ZodString>;
448
+ compute: z.ZodOptional<z.ZodString>;
449
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
450
+ when: z.ZodOptional<z.ZodString>;
451
+ value: z.ZodString;
452
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
453
+ }, z.core.$strict>>>;
454
+ type: z.ZodLiteral<"float">;
455
+ }, z.core.$strict>, z.ZodObject<{
456
+ currencyField: z.ZodOptional<z.ZodString>;
457
+ currency: z.ZodOptional<z.ZodString>;
458
+ min: z.ZodOptional<z.ZodNumber>;
459
+ max: z.ZodOptional<z.ZodNumber>;
460
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
461
+ label: z.ZodString;
462
+ help: z.ZodOptional<z.ZodString>;
463
+ required: z.ZodOptional<z.ZodBoolean>;
464
+ readonly: z.ZodOptional<z.ZodBoolean>;
465
+ default: z.ZodOptional<z.ZodJSONSchema>;
466
+ defaultFrom: z.ZodOptional<z.ZodString>;
467
+ compute: z.ZodOptional<z.ZodString>;
468
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
+ when: z.ZodOptional<z.ZodString>;
470
+ value: z.ZodString;
471
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
472
+ }, z.core.$strict>>>;
473
+ type: z.ZodLiteral<"monetary">;
474
+ }, z.core.$strict>, z.ZodObject<{
475
+ label: z.ZodString;
476
+ help: z.ZodOptional<z.ZodString>;
477
+ required: z.ZodOptional<z.ZodBoolean>;
478
+ readonly: z.ZodOptional<z.ZodBoolean>;
479
+ default: z.ZodOptional<z.ZodJSONSchema>;
480
+ defaultFrom: z.ZodOptional<z.ZodString>;
481
+ compute: z.ZodOptional<z.ZodString>;
482
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
+ when: z.ZodOptional<z.ZodString>;
484
+ value: z.ZodString;
485
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
486
+ }, z.core.$strict>>>;
487
+ type: z.ZodLiteral<"boolean">;
488
+ }, z.core.$strict>, z.ZodObject<{
489
+ min: z.ZodOptional<z.ZodString>;
490
+ max: z.ZodOptional<z.ZodString>;
491
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
492
+ label: z.ZodString;
493
+ help: z.ZodOptional<z.ZodString>;
494
+ required: z.ZodOptional<z.ZodBoolean>;
495
+ readonly: z.ZodOptional<z.ZodBoolean>;
496
+ default: z.ZodOptional<z.ZodJSONSchema>;
497
+ defaultFrom: z.ZodOptional<z.ZodString>;
498
+ compute: z.ZodOptional<z.ZodString>;
499
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
500
+ when: z.ZodOptional<z.ZodString>;
501
+ value: z.ZodString;
502
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
+ }, z.core.$strict>>>;
504
+ type: z.ZodLiteral<"date">;
505
+ }, z.core.$strict>, z.ZodObject<{
506
+ min: z.ZodOptional<z.ZodString>;
507
+ max: z.ZodOptional<z.ZodString>;
508
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
509
+ label: z.ZodString;
510
+ help: z.ZodOptional<z.ZodString>;
511
+ required: z.ZodOptional<z.ZodBoolean>;
512
+ readonly: z.ZodOptional<z.ZodBoolean>;
513
+ default: z.ZodOptional<z.ZodJSONSchema>;
514
+ defaultFrom: z.ZodOptional<z.ZodString>;
515
+ compute: z.ZodOptional<z.ZodString>;
516
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ when: z.ZodOptional<z.ZodString>;
518
+ value: z.ZodString;
519
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
520
+ }, z.core.$strict>>>;
521
+ type: z.ZodLiteral<"datetime">;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ options: z.ZodArray<z.ZodObject<{
524
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
525
+ label: z.ZodString;
526
+ image: z.ZodOptional<z.ZodString>;
527
+ score: z.ZodOptional<z.ZodNumber>;
528
+ alt: z.ZodOptional<z.ZodString>;
529
+ exclusive: z.ZodOptional<z.ZodBoolean>;
530
+ fixed: z.ZodOptional<z.ZodBoolean>;
531
+ }, z.core.$strict>>;
532
+ optionsFrom: z.ZodOptional<z.ZodNever>;
533
+ multiple: z.ZodOptional<z.ZodBoolean>;
534
+ other: z.ZodOptional<z.ZodBoolean>;
535
+ ownAnswers: z.ZodOptional<z.ZodBoolean>;
536
+ label: z.ZodString;
537
+ help: z.ZodOptional<z.ZodString>;
538
+ required: z.ZodOptional<z.ZodBoolean>;
539
+ readonly: z.ZodOptional<z.ZodBoolean>;
540
+ default: z.ZodOptional<z.ZodJSONSchema>;
541
+ defaultFrom: z.ZodOptional<z.ZodString>;
542
+ compute: z.ZodOptional<z.ZodString>;
543
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
+ when: z.ZodOptional<z.ZodString>;
545
+ value: z.ZodString;
546
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
547
+ }, z.core.$strict>>>;
548
+ type: z.ZodLiteral<"selection">;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ relation: z.ZodString;
551
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
552
+ field: z.ZodString;
553
+ op: z.ZodEnum<{
554
+ set: "set";
555
+ "=": "=";
556
+ "!=": "!=";
557
+ "<": "<";
558
+ ">": ">";
559
+ "<=": "<=";
560
+ ">=": ">=";
561
+ in: "in";
562
+ "not in": "not in";
563
+ like: "like";
564
+ ilike: "ilike";
565
+ startswith: "startswith";
566
+ endswith: "endswith";
567
+ notset: "notset";
568
+ between: "between";
569
+ contains: "contains";
570
+ "not contains": "not contains";
571
+ "=?": "=?";
572
+ }>;
573
+ value: z.ZodOptional<z.ZodJSONSchema>;
574
+ valueFrom: z.ZodOptional<z.ZodString>;
575
+ }, z.core.$strict>, z.ZodObject<{
576
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
577
+ }, z.core.$strict>, z.ZodObject<{
578
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
579
+ }, z.core.$strict>]>>>;
580
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
581
+ label: z.ZodString;
582
+ help: z.ZodOptional<z.ZodString>;
583
+ required: z.ZodOptional<z.ZodBoolean>;
584
+ readonly: z.ZodOptional<z.ZodBoolean>;
585
+ default: z.ZodOptional<z.ZodJSONSchema>;
586
+ defaultFrom: z.ZodOptional<z.ZodString>;
587
+ compute: z.ZodOptional<z.ZodString>;
588
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
589
+ when: z.ZodOptional<z.ZodString>;
590
+ value: z.ZodString;
591
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
592
+ }, z.core.$strict>>>;
593
+ type: z.ZodLiteral<"many2one">;
594
+ }, z.core.$strict>], "type">>>;
340
595
  label: z.ZodString;
341
596
  help: z.ZodOptional<z.ZodString>;
342
597
  required: z.ZodOptional<z.ZodBoolean>;
343
598
  readonly: z.ZodOptional<z.ZodBoolean>;
344
599
  default: z.ZodOptional<z.ZodJSONSchema>;
600
+ defaultFrom: z.ZodOptional<z.ZodString>;
345
601
  compute: z.ZodOptional<z.ZodString>;
346
602
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
347
- when: z.ZodString;
603
+ when: z.ZodOptional<z.ZodString>;
348
604
  value: z.ZodString;
605
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
349
606
  }, z.core.$strict>>>;
350
607
  type: z.ZodLiteral<"many2many">;
351
608
  }, z.core.$strict>, z.ZodObject<{
@@ -358,10 +615,12 @@ export declare const PageSchema: z.ZodObject<{
358
615
  required: z.ZodOptional<z.ZodBoolean>;
359
616
  readonly: z.ZodOptional<z.ZodBoolean>;
360
617
  default: z.ZodOptional<z.ZodJSONSchema>;
618
+ defaultFrom: z.ZodOptional<z.ZodString>;
361
619
  compute: z.ZodOptional<z.ZodString>;
362
620
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
- when: z.ZodString;
621
+ when: z.ZodOptional<z.ZodString>;
364
622
  value: z.ZodString;
623
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
365
624
  }, z.core.$strict>>>;
366
625
  type: z.ZodLiteral<"char">;
367
626
  }, z.core.$strict>, z.ZodObject<{
@@ -371,10 +630,12 @@ export declare const PageSchema: z.ZodObject<{
371
630
  required: z.ZodOptional<z.ZodBoolean>;
372
631
  readonly: z.ZodOptional<z.ZodBoolean>;
373
632
  default: z.ZodOptional<z.ZodJSONSchema>;
633
+ defaultFrom: z.ZodOptional<z.ZodString>;
374
634
  compute: z.ZodOptional<z.ZodString>;
375
635
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
376
- when: z.ZodString;
636
+ when: z.ZodOptional<z.ZodString>;
377
637
  value: z.ZodString;
638
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
378
639
  }, z.core.$strict>>>;
379
640
  type: z.ZodLiteral<"text">;
380
641
  }, z.core.$strict>, z.ZodObject<{
@@ -383,10 +644,12 @@ export declare const PageSchema: z.ZodObject<{
383
644
  required: z.ZodOptional<z.ZodBoolean>;
384
645
  readonly: z.ZodOptional<z.ZodBoolean>;
385
646
  default: z.ZodOptional<z.ZodJSONSchema>;
647
+ defaultFrom: z.ZodOptional<z.ZodString>;
386
648
  compute: z.ZodOptional<z.ZodString>;
387
649
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
- when: z.ZodString;
650
+ when: z.ZodOptional<z.ZodString>;
389
651
  value: z.ZodString;
652
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
390
653
  }, z.core.$strict>>>;
391
654
  type: z.ZodLiteral<"html">;
392
655
  }, z.core.$strict>, z.ZodObject<{
@@ -397,10 +660,12 @@ export declare const PageSchema: z.ZodObject<{
397
660
  required: z.ZodOptional<z.ZodBoolean>;
398
661
  readonly: z.ZodOptional<z.ZodBoolean>;
399
662
  default: z.ZodOptional<z.ZodJSONSchema>;
663
+ defaultFrom: z.ZodOptional<z.ZodString>;
400
664
  compute: z.ZodOptional<z.ZodString>;
401
665
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
- when: z.ZodString;
666
+ when: z.ZodOptional<z.ZodString>;
403
667
  value: z.ZodString;
668
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
404
669
  }, z.core.$strict>>>;
405
670
  type: z.ZodLiteral<"integer">;
406
671
  }, z.core.$strict>, z.ZodObject<{
@@ -412,10 +677,12 @@ export declare const PageSchema: z.ZodObject<{
412
677
  required: z.ZodOptional<z.ZodBoolean>;
413
678
  readonly: z.ZodOptional<z.ZodBoolean>;
414
679
  default: z.ZodOptional<z.ZodJSONSchema>;
680
+ defaultFrom: z.ZodOptional<z.ZodString>;
415
681
  compute: z.ZodOptional<z.ZodString>;
416
682
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
- when: z.ZodString;
683
+ when: z.ZodOptional<z.ZodString>;
418
684
  value: z.ZodString;
685
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
419
686
  }, z.core.$strict>>>;
420
687
  type: z.ZodLiteral<"float">;
421
688
  }, z.core.$strict>, z.ZodObject<{
@@ -429,10 +696,12 @@ export declare const PageSchema: z.ZodObject<{
429
696
  required: z.ZodOptional<z.ZodBoolean>;
430
697
  readonly: z.ZodOptional<z.ZodBoolean>;
431
698
  default: z.ZodOptional<z.ZodJSONSchema>;
699
+ defaultFrom: z.ZodOptional<z.ZodString>;
432
700
  compute: z.ZodOptional<z.ZodString>;
433
701
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
434
- when: z.ZodString;
702
+ when: z.ZodOptional<z.ZodString>;
435
703
  value: z.ZodString;
704
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
705
  }, z.core.$strict>>>;
437
706
  type: z.ZodLiteral<"monetary">;
438
707
  }, z.core.$strict>, z.ZodObject<{
@@ -441,10 +710,12 @@ export declare const PageSchema: z.ZodObject<{
441
710
  required: z.ZodOptional<z.ZodBoolean>;
442
711
  readonly: z.ZodOptional<z.ZodBoolean>;
443
712
  default: z.ZodOptional<z.ZodJSONSchema>;
713
+ defaultFrom: z.ZodOptional<z.ZodString>;
444
714
  compute: z.ZodOptional<z.ZodString>;
445
715
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
446
- when: z.ZodString;
716
+ when: z.ZodOptional<z.ZodString>;
447
717
  value: z.ZodString;
718
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
448
719
  }, z.core.$strict>>>;
449
720
  type: z.ZodLiteral<"boolean">;
450
721
  }, z.core.$strict>, z.ZodObject<{
@@ -456,10 +727,12 @@ export declare const PageSchema: z.ZodObject<{
456
727
  required: z.ZodOptional<z.ZodBoolean>;
457
728
  readonly: z.ZodOptional<z.ZodBoolean>;
458
729
  default: z.ZodOptional<z.ZodJSONSchema>;
730
+ defaultFrom: z.ZodOptional<z.ZodString>;
459
731
  compute: z.ZodOptional<z.ZodString>;
460
732
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
461
- when: z.ZodString;
733
+ when: z.ZodOptional<z.ZodString>;
462
734
  value: z.ZodString;
735
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
463
736
  }, z.core.$strict>>>;
464
737
  type: z.ZodLiteral<"date">;
465
738
  }, z.core.$strict>, z.ZodObject<{
@@ -471,10 +744,12 @@ export declare const PageSchema: z.ZodObject<{
471
744
  required: z.ZodOptional<z.ZodBoolean>;
472
745
  readonly: z.ZodOptional<z.ZodBoolean>;
473
746
  default: z.ZodOptional<z.ZodJSONSchema>;
747
+ defaultFrom: z.ZodOptional<z.ZodString>;
474
748
  compute: z.ZodOptional<z.ZodString>;
475
749
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
476
- when: z.ZodString;
750
+ when: z.ZodOptional<z.ZodString>;
477
751
  value: z.ZodString;
752
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
478
753
  }, z.core.$strict>>>;
479
754
  type: z.ZodLiteral<"datetime">;
480
755
  }, z.core.$strict>, z.ZodObject<{
@@ -496,10 +771,12 @@ export declare const PageSchema: z.ZodObject<{
496
771
  required: z.ZodOptional<z.ZodBoolean>;
497
772
  readonly: z.ZodOptional<z.ZodBoolean>;
498
773
  default: z.ZodOptional<z.ZodJSONSchema>;
774
+ defaultFrom: z.ZodOptional<z.ZodString>;
499
775
  compute: z.ZodOptional<z.ZodString>;
500
776
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
501
- when: z.ZodString;
777
+ when: z.ZodOptional<z.ZodString>;
502
778
  value: z.ZodString;
779
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
780
  }, z.core.$strict>>>;
504
781
  type: z.ZodLiteral<"selection">;
505
782
  }, z.core.$strict>, z.ZodObject<{
@@ -513,10 +790,12 @@ export declare const PageSchema: z.ZodObject<{
513
790
  required: z.ZodOptional<z.ZodBoolean>;
514
791
  readonly: z.ZodOptional<z.ZodBoolean>;
515
792
  default: z.ZodOptional<z.ZodJSONSchema>;
793
+ defaultFrom: z.ZodOptional<z.ZodString>;
516
794
  compute: z.ZodOptional<z.ZodString>;
517
795
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
518
- when: z.ZodString;
796
+ when: z.ZodOptional<z.ZodString>;
519
797
  value: z.ZodString;
798
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
520
799
  }, z.core.$strict>>>;
521
800
  type: z.ZodLiteral<"binary">;
522
801
  }, z.core.$strict>, z.ZodObject<{
@@ -529,10 +808,12 @@ export declare const PageSchema: z.ZodObject<{
529
808
  required: z.ZodOptional<z.ZodBoolean>;
530
809
  readonly: z.ZodOptional<z.ZodBoolean>;
531
810
  default: z.ZodOptional<z.ZodJSONSchema>;
811
+ defaultFrom: z.ZodOptional<z.ZodString>;
532
812
  compute: z.ZodOptional<z.ZodString>;
533
813
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
534
- when: z.ZodString;
814
+ when: z.ZodOptional<z.ZodString>;
535
815
  value: z.ZodString;
816
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
536
817
  }, z.core.$strict>>>;
537
818
  type: z.ZodLiteral<"image">;
538
819
  }, z.core.$strict>, z.ZodObject<{
@@ -555,6 +836,9 @@ export declare const PageSchema: z.ZodObject<{
555
836
  endswith: "endswith";
556
837
  notset: "notset";
557
838
  between: "between";
839
+ contains: "contains";
840
+ "not contains": "not contains";
841
+ "=?": "=?";
558
842
  }>;
559
843
  value: z.ZodOptional<z.ZodJSONSchema>;
560
844
  valueFrom: z.ZodOptional<z.ZodString>;
@@ -563,15 +847,18 @@ export declare const PageSchema: z.ZodObject<{
563
847
  }, z.core.$strict>, z.ZodObject<{
564
848
  all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
565
849
  }, z.core.$strict>]>>>;
850
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
566
851
  label: z.ZodString;
567
852
  help: z.ZodOptional<z.ZodString>;
568
853
  required: z.ZodOptional<z.ZodBoolean>;
569
854
  readonly: z.ZodOptional<z.ZodBoolean>;
570
855
  default: z.ZodOptional<z.ZodJSONSchema>;
856
+ defaultFrom: z.ZodOptional<z.ZodString>;
571
857
  compute: z.ZodOptional<z.ZodString>;
572
858
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
- when: z.ZodString;
859
+ when: z.ZodOptional<z.ZodString>;
574
860
  value: z.ZodString;
861
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
862
  }, z.core.$strict>>>;
576
863
  type: z.ZodLiteral<"many2one">;
577
864
  }, z.core.$strict>, z.ZodObject<{
@@ -594,6 +881,9 @@ export declare const PageSchema: z.ZodObject<{
594
881
  endswith: "endswith";
595
882
  notset: "notset";
596
883
  between: "between";
884
+ contains: "contains";
885
+ "not contains": "not contains";
886
+ "=?": "=?";
597
887
  }>;
598
888
  value: z.ZodOptional<z.ZodJSONSchema>;
599
889
  valueFrom: z.ZodOptional<z.ZodString>;
@@ -602,15 +892,222 @@ export declare const PageSchema: z.ZodObject<{
602
892
  }, z.core.$strict>, z.ZodObject<{
603
893
  all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
604
894
  }, z.core.$strict>]>>>;
895
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
896
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
897
+ size: z.ZodOptional<z.ZodInt>;
898
+ pattern: z.ZodOptional<z.ZodString>;
899
+ label: z.ZodString;
900
+ help: z.ZodOptional<z.ZodString>;
901
+ required: z.ZodOptional<z.ZodBoolean>;
902
+ readonly: z.ZodOptional<z.ZodBoolean>;
903
+ default: z.ZodOptional<z.ZodJSONSchema>;
904
+ defaultFrom: z.ZodOptional<z.ZodString>;
905
+ compute: z.ZodOptional<z.ZodString>;
906
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
907
+ when: z.ZodOptional<z.ZodString>;
908
+ value: z.ZodString;
909
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
910
+ }, z.core.$strict>>>;
911
+ type: z.ZodLiteral<"char">;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ size: z.ZodOptional<z.ZodInt>;
914
+ label: z.ZodString;
915
+ help: z.ZodOptional<z.ZodString>;
916
+ required: z.ZodOptional<z.ZodBoolean>;
917
+ readonly: z.ZodOptional<z.ZodBoolean>;
918
+ default: z.ZodOptional<z.ZodJSONSchema>;
919
+ defaultFrom: z.ZodOptional<z.ZodString>;
920
+ compute: z.ZodOptional<z.ZodString>;
921
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
922
+ when: z.ZodOptional<z.ZodString>;
923
+ value: z.ZodString;
924
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
925
+ }, z.core.$strict>>>;
926
+ type: z.ZodLiteral<"text">;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ min: z.ZodOptional<z.ZodNumber>;
929
+ max: z.ZodOptional<z.ZodNumber>;
930
+ label: z.ZodString;
931
+ help: z.ZodOptional<z.ZodString>;
932
+ required: z.ZodOptional<z.ZodBoolean>;
933
+ readonly: z.ZodOptional<z.ZodBoolean>;
934
+ default: z.ZodOptional<z.ZodJSONSchema>;
935
+ defaultFrom: z.ZodOptional<z.ZodString>;
936
+ compute: z.ZodOptional<z.ZodString>;
937
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
938
+ when: z.ZodOptional<z.ZodString>;
939
+ value: z.ZodString;
940
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
941
+ }, z.core.$strict>>>;
942
+ type: z.ZodLiteral<"integer">;
943
+ }, z.core.$strict>, z.ZodObject<{
944
+ min: z.ZodOptional<z.ZodNumber>;
945
+ max: z.ZodOptional<z.ZodNumber>;
946
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
947
+ label: z.ZodString;
948
+ help: z.ZodOptional<z.ZodString>;
949
+ required: z.ZodOptional<z.ZodBoolean>;
950
+ readonly: z.ZodOptional<z.ZodBoolean>;
951
+ default: z.ZodOptional<z.ZodJSONSchema>;
952
+ defaultFrom: z.ZodOptional<z.ZodString>;
953
+ compute: z.ZodOptional<z.ZodString>;
954
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
955
+ when: z.ZodOptional<z.ZodString>;
956
+ value: z.ZodString;
957
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
958
+ }, z.core.$strict>>>;
959
+ type: z.ZodLiteral<"float">;
960
+ }, z.core.$strict>, z.ZodObject<{
961
+ currencyField: z.ZodOptional<z.ZodString>;
962
+ currency: z.ZodOptional<z.ZodString>;
963
+ min: z.ZodOptional<z.ZodNumber>;
964
+ max: z.ZodOptional<z.ZodNumber>;
965
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
966
+ label: z.ZodString;
967
+ help: z.ZodOptional<z.ZodString>;
968
+ required: z.ZodOptional<z.ZodBoolean>;
969
+ readonly: z.ZodOptional<z.ZodBoolean>;
970
+ default: z.ZodOptional<z.ZodJSONSchema>;
971
+ defaultFrom: z.ZodOptional<z.ZodString>;
972
+ compute: z.ZodOptional<z.ZodString>;
973
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
974
+ when: z.ZodOptional<z.ZodString>;
975
+ value: z.ZodString;
976
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
977
+ }, z.core.$strict>>>;
978
+ type: z.ZodLiteral<"monetary">;
979
+ }, z.core.$strict>, z.ZodObject<{
980
+ label: z.ZodString;
981
+ help: z.ZodOptional<z.ZodString>;
982
+ required: z.ZodOptional<z.ZodBoolean>;
983
+ readonly: z.ZodOptional<z.ZodBoolean>;
984
+ default: z.ZodOptional<z.ZodJSONSchema>;
985
+ defaultFrom: z.ZodOptional<z.ZodString>;
986
+ compute: z.ZodOptional<z.ZodString>;
987
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
988
+ when: z.ZodOptional<z.ZodString>;
989
+ value: z.ZodString;
990
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
991
+ }, z.core.$strict>>>;
992
+ type: z.ZodLiteral<"boolean">;
993
+ }, z.core.$strict>, z.ZodObject<{
994
+ min: z.ZodOptional<z.ZodString>;
995
+ max: z.ZodOptional<z.ZodString>;
996
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
997
+ label: z.ZodString;
998
+ help: z.ZodOptional<z.ZodString>;
999
+ required: z.ZodOptional<z.ZodBoolean>;
1000
+ readonly: z.ZodOptional<z.ZodBoolean>;
1001
+ default: z.ZodOptional<z.ZodJSONSchema>;
1002
+ defaultFrom: z.ZodOptional<z.ZodString>;
1003
+ compute: z.ZodOptional<z.ZodString>;
1004
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ when: z.ZodOptional<z.ZodString>;
1006
+ value: z.ZodString;
1007
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1008
+ }, z.core.$strict>>>;
1009
+ type: z.ZodLiteral<"date">;
1010
+ }, z.core.$strict>, z.ZodObject<{
1011
+ min: z.ZodOptional<z.ZodString>;
1012
+ max: z.ZodOptional<z.ZodString>;
1013
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
1014
+ label: z.ZodString;
1015
+ help: z.ZodOptional<z.ZodString>;
1016
+ required: z.ZodOptional<z.ZodBoolean>;
1017
+ readonly: z.ZodOptional<z.ZodBoolean>;
1018
+ default: z.ZodOptional<z.ZodJSONSchema>;
1019
+ defaultFrom: z.ZodOptional<z.ZodString>;
1020
+ compute: z.ZodOptional<z.ZodString>;
1021
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
+ when: z.ZodOptional<z.ZodString>;
1023
+ value: z.ZodString;
1024
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1025
+ }, z.core.$strict>>>;
1026
+ type: z.ZodLiteral<"datetime">;
1027
+ }, z.core.$strict>, z.ZodObject<{
1028
+ options: z.ZodArray<z.ZodObject<{
1029
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1030
+ label: z.ZodString;
1031
+ image: z.ZodOptional<z.ZodString>;
1032
+ score: z.ZodOptional<z.ZodNumber>;
1033
+ alt: z.ZodOptional<z.ZodString>;
1034
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1035
+ fixed: z.ZodOptional<z.ZodBoolean>;
1036
+ }, z.core.$strict>>;
1037
+ optionsFrom: z.ZodOptional<z.ZodNever>;
1038
+ multiple: z.ZodOptional<z.ZodBoolean>;
1039
+ other: z.ZodOptional<z.ZodBoolean>;
1040
+ ownAnswers: z.ZodOptional<z.ZodBoolean>;
1041
+ label: z.ZodString;
1042
+ help: z.ZodOptional<z.ZodString>;
1043
+ required: z.ZodOptional<z.ZodBoolean>;
1044
+ readonly: z.ZodOptional<z.ZodBoolean>;
1045
+ default: z.ZodOptional<z.ZodJSONSchema>;
1046
+ defaultFrom: z.ZodOptional<z.ZodString>;
1047
+ compute: z.ZodOptional<z.ZodString>;
1048
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1049
+ when: z.ZodOptional<z.ZodString>;
1050
+ value: z.ZodString;
1051
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1052
+ }, z.core.$strict>>>;
1053
+ type: z.ZodLiteral<"selection">;
1054
+ }, z.core.$strict>, z.ZodObject<{
1055
+ relation: z.ZodString;
1056
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1057
+ field: z.ZodString;
1058
+ op: z.ZodEnum<{
1059
+ set: "set";
1060
+ "=": "=";
1061
+ "!=": "!=";
1062
+ "<": "<";
1063
+ ">": ">";
1064
+ "<=": "<=";
1065
+ ">=": ">=";
1066
+ in: "in";
1067
+ "not in": "not in";
1068
+ like: "like";
1069
+ ilike: "ilike";
1070
+ startswith: "startswith";
1071
+ endswith: "endswith";
1072
+ notset: "notset";
1073
+ between: "between";
1074
+ contains: "contains";
1075
+ "not contains": "not contains";
1076
+ "=?": "=?";
1077
+ }>;
1078
+ value: z.ZodOptional<z.ZodJSONSchema>;
1079
+ valueFrom: z.ZodOptional<z.ZodString>;
1080
+ }, z.core.$strict>, z.ZodObject<{
1081
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1082
+ }, z.core.$strict>, z.ZodObject<{
1083
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1084
+ }, z.core.$strict>]>>>;
1085
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1086
+ label: z.ZodString;
1087
+ help: z.ZodOptional<z.ZodString>;
1088
+ required: z.ZodOptional<z.ZodBoolean>;
1089
+ readonly: z.ZodOptional<z.ZodBoolean>;
1090
+ default: z.ZodOptional<z.ZodJSONSchema>;
1091
+ defaultFrom: z.ZodOptional<z.ZodString>;
1092
+ compute: z.ZodOptional<z.ZodString>;
1093
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1094
+ when: z.ZodOptional<z.ZodString>;
1095
+ value: z.ZodString;
1096
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1097
+ }, z.core.$strict>>>;
1098
+ type: z.ZodLiteral<"many2one">;
1099
+ }, z.core.$strict>], "type">>>;
605
1100
  label: z.ZodString;
606
1101
  help: z.ZodOptional<z.ZodString>;
607
1102
  required: z.ZodOptional<z.ZodBoolean>;
608
1103
  readonly: z.ZodOptional<z.ZodBoolean>;
609
1104
  default: z.ZodOptional<z.ZodJSONSchema>;
1105
+ defaultFrom: z.ZodOptional<z.ZodString>;
610
1106
  compute: z.ZodOptional<z.ZodString>;
611
1107
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
612
- when: z.ZodString;
1108
+ when: z.ZodOptional<z.ZodString>;
613
1109
  value: z.ZodString;
1110
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
614
1111
  }, z.core.$strict>>>;
615
1112
  type: z.ZodLiteral<"many2many">;
616
1113
  }, z.core.$strict>, z.ZodObject<{
@@ -628,10 +1125,12 @@ export declare const PageSchema: z.ZodObject<{
628
1125
  required: z.ZodOptional<z.ZodBoolean>;
629
1126
  readonly: z.ZodOptional<z.ZodBoolean>;
630
1127
  default: z.ZodOptional<z.ZodJSONSchema>;
1128
+ defaultFrom: z.ZodOptional<z.ZodString>;
631
1129
  compute: z.ZodOptional<z.ZodString>;
632
1130
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
633
- when: z.ZodString;
1131
+ when: z.ZodOptional<z.ZodString>;
634
1132
  value: z.ZodString;
1133
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
635
1134
  }, z.core.$strict>>>;
636
1135
  type: z.ZodLiteral<"reference">;
637
1136
  }, z.core.$strict>, z.ZodObject<{
@@ -657,15 +1156,21 @@ export declare const PageSchema: z.ZodObject<{
657
1156
  fixed: z.ZodOptional<z.ZodBoolean>;
658
1157
  }, z.core.$strict>>>;
659
1158
  }, z.core.$strict>>>;
1159
+ definitionsFrom: z.ZodOptional<z.ZodObject<{
1160
+ list: z.ZodString;
1161
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1162
+ }, z.core.$strict>>;
660
1163
  label: z.ZodString;
661
1164
  help: z.ZodOptional<z.ZodString>;
662
1165
  required: z.ZodOptional<z.ZodBoolean>;
663
1166
  readonly: z.ZodOptional<z.ZodBoolean>;
664
1167
  default: z.ZodOptional<z.ZodJSONSchema>;
1168
+ defaultFrom: z.ZodOptional<z.ZodString>;
665
1169
  compute: z.ZodOptional<z.ZodString>;
666
1170
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
667
- when: z.ZodString;
1171
+ when: z.ZodOptional<z.ZodString>;
668
1172
  value: z.ZodString;
1173
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
669
1174
  }, z.core.$strict>>>;
670
1175
  type: z.ZodLiteral<"properties">;
671
1176
  }, z.core.$strict>, z.ZodObject<{
@@ -674,51 +1179,656 @@ export declare const PageSchema: z.ZodObject<{
674
1179
  required: z.ZodOptional<z.ZodBoolean>;
675
1180
  readonly: z.ZodOptional<z.ZodBoolean>;
676
1181
  default: z.ZodOptional<z.ZodJSONSchema>;
1182
+ defaultFrom: z.ZodOptional<z.ZodString>;
677
1183
  compute: z.ZodOptional<z.ZodString>;
678
1184
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
679
- when: z.ZodString;
1185
+ when: z.ZodOptional<z.ZodString>;
680
1186
  value: z.ZodString;
1187
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
681
1188
  }, z.core.$strict>>>;
682
1189
  type: z.ZodLiteral<"json">;
683
- }, z.core.$strict>], "type">>;
684
- lineKinds: z.ZodOptional<z.ZodObject<{
685
- field: z.ZodString;
686
- text: z.ZodString;
687
- section: z.ZodOptional<z.ZodString>;
688
- note: z.ZodOptional<z.ZodString>;
689
- }, z.core.$strict>>;
690
- sequenceField: z.ZodOptional<z.ZodString>;
691
- label: z.ZodString;
692
- help: z.ZodOptional<z.ZodString>;
693
- required: z.ZodOptional<z.ZodBoolean>;
694
- readonly: z.ZodOptional<z.ZodBoolean>;
695
- default: z.ZodOptional<z.ZodJSONSchema>;
696
- compute: z.ZodOptional<z.ZodString>;
697
- setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
- when: z.ZodString;
699
- value: z.ZodString;
700
- }, z.core.$strict>>>;
701
- type: z.ZodLiteral<"one2many">;
702
- }, z.core.$strict>, z.ZodObject<{
703
- models: z.ZodArray<z.ZodObject<{
704
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
705
- label: z.ZodString;
706
- image: z.ZodOptional<z.ZodString>;
707
- score: z.ZodOptional<z.ZodNumber>;
708
- alt: z.ZodOptional<z.ZodString>;
709
- exclusive: z.ZodOptional<z.ZodBoolean>;
710
- fixed: z.ZodOptional<z.ZodBoolean>;
711
- }, z.core.$strict>>;
712
- label: z.ZodString;
713
- help: z.ZodOptional<z.ZodString>;
714
- required: z.ZodOptional<z.ZodBoolean>;
715
- readonly: z.ZodOptional<z.ZodBoolean>;
716
- default: z.ZodOptional<z.ZodJSONSchema>;
717
- compute: z.ZodOptional<z.ZodString>;
718
- setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
719
- when: z.ZodString;
720
- value: z.ZodString;
721
- }, z.core.$strict>>>;
1190
+ }, z.core.$strict>, z.ZodObject<{
1191
+ relation: z.ZodString;
1192
+ fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1193
+ size: z.ZodOptional<z.ZodInt>;
1194
+ pattern: z.ZodOptional<z.ZodString>;
1195
+ label: z.ZodString;
1196
+ help: z.ZodOptional<z.ZodString>;
1197
+ required: z.ZodOptional<z.ZodBoolean>;
1198
+ readonly: z.ZodOptional<z.ZodBoolean>;
1199
+ default: z.ZodOptional<z.ZodJSONSchema>;
1200
+ defaultFrom: z.ZodOptional<z.ZodString>;
1201
+ compute: z.ZodOptional<z.ZodString>;
1202
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1203
+ when: z.ZodOptional<z.ZodString>;
1204
+ value: z.ZodString;
1205
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1206
+ }, z.core.$strict>>>;
1207
+ type: z.ZodLiteral<"char">;
1208
+ }, z.core.$strict>, z.ZodObject<{
1209
+ size: z.ZodOptional<z.ZodInt>;
1210
+ label: z.ZodString;
1211
+ help: z.ZodOptional<z.ZodString>;
1212
+ required: z.ZodOptional<z.ZodBoolean>;
1213
+ readonly: z.ZodOptional<z.ZodBoolean>;
1214
+ default: z.ZodOptional<z.ZodJSONSchema>;
1215
+ defaultFrom: z.ZodOptional<z.ZodString>;
1216
+ compute: z.ZodOptional<z.ZodString>;
1217
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1218
+ when: z.ZodOptional<z.ZodString>;
1219
+ value: z.ZodString;
1220
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1221
+ }, z.core.$strict>>>;
1222
+ type: z.ZodLiteral<"text">;
1223
+ }, z.core.$strict>, z.ZodObject<{
1224
+ label: z.ZodString;
1225
+ help: z.ZodOptional<z.ZodString>;
1226
+ required: z.ZodOptional<z.ZodBoolean>;
1227
+ readonly: z.ZodOptional<z.ZodBoolean>;
1228
+ default: z.ZodOptional<z.ZodJSONSchema>;
1229
+ defaultFrom: z.ZodOptional<z.ZodString>;
1230
+ compute: z.ZodOptional<z.ZodString>;
1231
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
+ when: z.ZodOptional<z.ZodString>;
1233
+ value: z.ZodString;
1234
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1235
+ }, z.core.$strict>>>;
1236
+ type: z.ZodLiteral<"html">;
1237
+ }, z.core.$strict>, z.ZodObject<{
1238
+ min: z.ZodOptional<z.ZodNumber>;
1239
+ max: z.ZodOptional<z.ZodNumber>;
1240
+ label: z.ZodString;
1241
+ help: z.ZodOptional<z.ZodString>;
1242
+ required: z.ZodOptional<z.ZodBoolean>;
1243
+ readonly: z.ZodOptional<z.ZodBoolean>;
1244
+ default: z.ZodOptional<z.ZodJSONSchema>;
1245
+ defaultFrom: z.ZodOptional<z.ZodString>;
1246
+ compute: z.ZodOptional<z.ZodString>;
1247
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1248
+ when: z.ZodOptional<z.ZodString>;
1249
+ value: z.ZodString;
1250
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1251
+ }, z.core.$strict>>>;
1252
+ type: z.ZodLiteral<"integer">;
1253
+ }, z.core.$strict>, z.ZodObject<{
1254
+ min: z.ZodOptional<z.ZodNumber>;
1255
+ max: z.ZodOptional<z.ZodNumber>;
1256
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
1257
+ label: z.ZodString;
1258
+ help: z.ZodOptional<z.ZodString>;
1259
+ required: z.ZodOptional<z.ZodBoolean>;
1260
+ readonly: z.ZodOptional<z.ZodBoolean>;
1261
+ default: z.ZodOptional<z.ZodJSONSchema>;
1262
+ defaultFrom: z.ZodOptional<z.ZodString>;
1263
+ compute: z.ZodOptional<z.ZodString>;
1264
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ when: z.ZodOptional<z.ZodString>;
1266
+ value: z.ZodString;
1267
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1268
+ }, z.core.$strict>>>;
1269
+ type: z.ZodLiteral<"float">;
1270
+ }, z.core.$strict>, z.ZodObject<{
1271
+ currencyField: z.ZodOptional<z.ZodString>;
1272
+ currency: z.ZodOptional<z.ZodString>;
1273
+ min: z.ZodOptional<z.ZodNumber>;
1274
+ max: z.ZodOptional<z.ZodNumber>;
1275
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
1276
+ label: z.ZodString;
1277
+ help: z.ZodOptional<z.ZodString>;
1278
+ required: z.ZodOptional<z.ZodBoolean>;
1279
+ readonly: z.ZodOptional<z.ZodBoolean>;
1280
+ default: z.ZodOptional<z.ZodJSONSchema>;
1281
+ defaultFrom: z.ZodOptional<z.ZodString>;
1282
+ compute: z.ZodOptional<z.ZodString>;
1283
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1284
+ when: z.ZodOptional<z.ZodString>;
1285
+ value: z.ZodString;
1286
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1287
+ }, z.core.$strict>>>;
1288
+ type: z.ZodLiteral<"monetary">;
1289
+ }, z.core.$strict>, z.ZodObject<{
1290
+ label: z.ZodString;
1291
+ help: z.ZodOptional<z.ZodString>;
1292
+ required: z.ZodOptional<z.ZodBoolean>;
1293
+ readonly: z.ZodOptional<z.ZodBoolean>;
1294
+ default: z.ZodOptional<z.ZodJSONSchema>;
1295
+ defaultFrom: z.ZodOptional<z.ZodString>;
1296
+ compute: z.ZodOptional<z.ZodString>;
1297
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1298
+ when: z.ZodOptional<z.ZodString>;
1299
+ value: z.ZodString;
1300
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1301
+ }, z.core.$strict>>>;
1302
+ type: z.ZodLiteral<"boolean">;
1303
+ }, z.core.$strict>, z.ZodObject<{
1304
+ min: z.ZodOptional<z.ZodString>;
1305
+ max: z.ZodOptional<z.ZodString>;
1306
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
1307
+ label: z.ZodString;
1308
+ help: z.ZodOptional<z.ZodString>;
1309
+ required: z.ZodOptional<z.ZodBoolean>;
1310
+ readonly: z.ZodOptional<z.ZodBoolean>;
1311
+ default: z.ZodOptional<z.ZodJSONSchema>;
1312
+ defaultFrom: z.ZodOptional<z.ZodString>;
1313
+ compute: z.ZodOptional<z.ZodString>;
1314
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1315
+ when: z.ZodOptional<z.ZodString>;
1316
+ value: z.ZodString;
1317
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1318
+ }, z.core.$strict>>>;
1319
+ type: z.ZodLiteral<"date">;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ min: z.ZodOptional<z.ZodString>;
1322
+ max: z.ZodOptional<z.ZodString>;
1323
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
1324
+ label: z.ZodString;
1325
+ help: z.ZodOptional<z.ZodString>;
1326
+ required: z.ZodOptional<z.ZodBoolean>;
1327
+ readonly: z.ZodOptional<z.ZodBoolean>;
1328
+ default: z.ZodOptional<z.ZodJSONSchema>;
1329
+ defaultFrom: z.ZodOptional<z.ZodString>;
1330
+ compute: z.ZodOptional<z.ZodString>;
1331
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1332
+ when: z.ZodOptional<z.ZodString>;
1333
+ value: z.ZodString;
1334
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1335
+ }, z.core.$strict>>>;
1336
+ type: z.ZodLiteral<"datetime">;
1337
+ }, z.core.$strict>, z.ZodObject<{
1338
+ options: z.ZodArray<z.ZodObject<{
1339
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1340
+ label: z.ZodString;
1341
+ image: z.ZodOptional<z.ZodString>;
1342
+ score: z.ZodOptional<z.ZodNumber>;
1343
+ alt: z.ZodOptional<z.ZodString>;
1344
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1345
+ fixed: z.ZodOptional<z.ZodBoolean>;
1346
+ }, z.core.$strict>>;
1347
+ optionsFrom: z.ZodOptional<z.ZodNever>;
1348
+ multiple: z.ZodOptional<z.ZodBoolean>;
1349
+ other: z.ZodOptional<z.ZodBoolean>;
1350
+ ownAnswers: z.ZodOptional<z.ZodBoolean>;
1351
+ label: z.ZodString;
1352
+ help: z.ZodOptional<z.ZodString>;
1353
+ required: z.ZodOptional<z.ZodBoolean>;
1354
+ readonly: z.ZodOptional<z.ZodBoolean>;
1355
+ default: z.ZodOptional<z.ZodJSONSchema>;
1356
+ defaultFrom: z.ZodOptional<z.ZodString>;
1357
+ compute: z.ZodOptional<z.ZodString>;
1358
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1359
+ when: z.ZodOptional<z.ZodString>;
1360
+ value: z.ZodString;
1361
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1362
+ }, z.core.$strict>>>;
1363
+ type: z.ZodLiteral<"selection">;
1364
+ }, z.core.$strict>, z.ZodObject<{
1365
+ maxSize: z.ZodOptional<z.ZodInt>;
1366
+ multiple: z.ZodOptional<z.ZodBoolean>;
1367
+ minFiles: z.ZodOptional<z.ZodInt>;
1368
+ maxFiles: z.ZodOptional<z.ZodInt>;
1369
+ accept: z.ZodOptional<z.ZodArray<z.ZodString>>;
1370
+ label: z.ZodString;
1371
+ help: z.ZodOptional<z.ZodString>;
1372
+ required: z.ZodOptional<z.ZodBoolean>;
1373
+ readonly: z.ZodOptional<z.ZodBoolean>;
1374
+ default: z.ZodOptional<z.ZodJSONSchema>;
1375
+ defaultFrom: z.ZodOptional<z.ZodString>;
1376
+ compute: z.ZodOptional<z.ZodString>;
1377
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1378
+ when: z.ZodOptional<z.ZodString>;
1379
+ value: z.ZodString;
1380
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1381
+ }, z.core.$strict>>>;
1382
+ type: z.ZodLiteral<"binary">;
1383
+ }, z.core.$strict>, z.ZodObject<{
1384
+ maxSize: z.ZodOptional<z.ZodInt>;
1385
+ multiple: z.ZodOptional<z.ZodBoolean>;
1386
+ minFiles: z.ZodOptional<z.ZodInt>;
1387
+ maxFiles: z.ZodOptional<z.ZodInt>;
1388
+ label: z.ZodString;
1389
+ help: z.ZodOptional<z.ZodString>;
1390
+ required: z.ZodOptional<z.ZodBoolean>;
1391
+ readonly: z.ZodOptional<z.ZodBoolean>;
1392
+ default: z.ZodOptional<z.ZodJSONSchema>;
1393
+ defaultFrom: z.ZodOptional<z.ZodString>;
1394
+ compute: z.ZodOptional<z.ZodString>;
1395
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1396
+ when: z.ZodOptional<z.ZodString>;
1397
+ value: z.ZodString;
1398
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1399
+ }, z.core.$strict>>>;
1400
+ type: z.ZodLiteral<"image">;
1401
+ }, z.core.$strict>, z.ZodObject<{
1402
+ relation: z.ZodString;
1403
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1404
+ field: z.ZodString;
1405
+ op: z.ZodEnum<{
1406
+ set: "set";
1407
+ "=": "=";
1408
+ "!=": "!=";
1409
+ "<": "<";
1410
+ ">": ">";
1411
+ "<=": "<=";
1412
+ ">=": ">=";
1413
+ in: "in";
1414
+ "not in": "not in";
1415
+ like: "like";
1416
+ ilike: "ilike";
1417
+ startswith: "startswith";
1418
+ endswith: "endswith";
1419
+ notset: "notset";
1420
+ between: "between";
1421
+ contains: "contains";
1422
+ "not contains": "not contains";
1423
+ "=?": "=?";
1424
+ }>;
1425
+ value: z.ZodOptional<z.ZodJSONSchema>;
1426
+ valueFrom: z.ZodOptional<z.ZodString>;
1427
+ }, z.core.$strict>, z.ZodObject<{
1428
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1431
+ }, z.core.$strict>]>>>;
1432
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1433
+ label: z.ZodString;
1434
+ help: z.ZodOptional<z.ZodString>;
1435
+ required: z.ZodOptional<z.ZodBoolean>;
1436
+ readonly: z.ZodOptional<z.ZodBoolean>;
1437
+ default: z.ZodOptional<z.ZodJSONSchema>;
1438
+ defaultFrom: z.ZodOptional<z.ZodString>;
1439
+ compute: z.ZodOptional<z.ZodString>;
1440
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1441
+ when: z.ZodOptional<z.ZodString>;
1442
+ value: z.ZodString;
1443
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1444
+ }, z.core.$strict>>>;
1445
+ type: z.ZodLiteral<"many2one">;
1446
+ }, z.core.$strict>, z.ZodObject<{
1447
+ relation: z.ZodString;
1448
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1449
+ field: z.ZodString;
1450
+ op: z.ZodEnum<{
1451
+ set: "set";
1452
+ "=": "=";
1453
+ "!=": "!=";
1454
+ "<": "<";
1455
+ ">": ">";
1456
+ "<=": "<=";
1457
+ ">=": ">=";
1458
+ in: "in";
1459
+ "not in": "not in";
1460
+ like: "like";
1461
+ ilike: "ilike";
1462
+ startswith: "startswith";
1463
+ endswith: "endswith";
1464
+ notset: "notset";
1465
+ between: "between";
1466
+ contains: "contains";
1467
+ "not contains": "not contains";
1468
+ "=?": "=?";
1469
+ }>;
1470
+ value: z.ZodOptional<z.ZodJSONSchema>;
1471
+ valueFrom: z.ZodOptional<z.ZodString>;
1472
+ }, z.core.$strict>, z.ZodObject<{
1473
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1474
+ }, z.core.$strict>, z.ZodObject<{
1475
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1476
+ }, z.core.$strict>]>>>;
1477
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1478
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1479
+ size: z.ZodOptional<z.ZodInt>;
1480
+ pattern: z.ZodOptional<z.ZodString>;
1481
+ label: z.ZodString;
1482
+ help: z.ZodOptional<z.ZodString>;
1483
+ required: z.ZodOptional<z.ZodBoolean>;
1484
+ readonly: z.ZodOptional<z.ZodBoolean>;
1485
+ default: z.ZodOptional<z.ZodJSONSchema>;
1486
+ defaultFrom: z.ZodOptional<z.ZodString>;
1487
+ compute: z.ZodOptional<z.ZodString>;
1488
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1489
+ when: z.ZodOptional<z.ZodString>;
1490
+ value: z.ZodString;
1491
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1492
+ }, z.core.$strict>>>;
1493
+ type: z.ZodLiteral<"char">;
1494
+ }, z.core.$strict>, z.ZodObject<{
1495
+ size: z.ZodOptional<z.ZodInt>;
1496
+ label: z.ZodString;
1497
+ help: z.ZodOptional<z.ZodString>;
1498
+ required: z.ZodOptional<z.ZodBoolean>;
1499
+ readonly: z.ZodOptional<z.ZodBoolean>;
1500
+ default: z.ZodOptional<z.ZodJSONSchema>;
1501
+ defaultFrom: z.ZodOptional<z.ZodString>;
1502
+ compute: z.ZodOptional<z.ZodString>;
1503
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1504
+ when: z.ZodOptional<z.ZodString>;
1505
+ value: z.ZodString;
1506
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1507
+ }, z.core.$strict>>>;
1508
+ type: z.ZodLiteral<"text">;
1509
+ }, z.core.$strict>, z.ZodObject<{
1510
+ min: z.ZodOptional<z.ZodNumber>;
1511
+ max: z.ZodOptional<z.ZodNumber>;
1512
+ label: z.ZodString;
1513
+ help: z.ZodOptional<z.ZodString>;
1514
+ required: z.ZodOptional<z.ZodBoolean>;
1515
+ readonly: z.ZodOptional<z.ZodBoolean>;
1516
+ default: z.ZodOptional<z.ZodJSONSchema>;
1517
+ defaultFrom: z.ZodOptional<z.ZodString>;
1518
+ compute: z.ZodOptional<z.ZodString>;
1519
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1520
+ when: z.ZodOptional<z.ZodString>;
1521
+ value: z.ZodString;
1522
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1523
+ }, z.core.$strict>>>;
1524
+ type: z.ZodLiteral<"integer">;
1525
+ }, z.core.$strict>, z.ZodObject<{
1526
+ min: z.ZodOptional<z.ZodNumber>;
1527
+ max: z.ZodOptional<z.ZodNumber>;
1528
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
1529
+ label: z.ZodString;
1530
+ help: z.ZodOptional<z.ZodString>;
1531
+ required: z.ZodOptional<z.ZodBoolean>;
1532
+ readonly: z.ZodOptional<z.ZodBoolean>;
1533
+ default: z.ZodOptional<z.ZodJSONSchema>;
1534
+ defaultFrom: z.ZodOptional<z.ZodString>;
1535
+ compute: z.ZodOptional<z.ZodString>;
1536
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1537
+ when: z.ZodOptional<z.ZodString>;
1538
+ value: z.ZodString;
1539
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
+ }, z.core.$strict>>>;
1541
+ type: z.ZodLiteral<"float">;
1542
+ }, z.core.$strict>, z.ZodObject<{
1543
+ currencyField: z.ZodOptional<z.ZodString>;
1544
+ currency: z.ZodOptional<z.ZodString>;
1545
+ min: z.ZodOptional<z.ZodNumber>;
1546
+ max: z.ZodOptional<z.ZodNumber>;
1547
+ digits: z.ZodOptional<z.ZodTuple<[z.ZodInt, z.ZodInt], null>>;
1548
+ label: z.ZodString;
1549
+ help: z.ZodOptional<z.ZodString>;
1550
+ required: z.ZodOptional<z.ZodBoolean>;
1551
+ readonly: z.ZodOptional<z.ZodBoolean>;
1552
+ default: z.ZodOptional<z.ZodJSONSchema>;
1553
+ defaultFrom: z.ZodOptional<z.ZodString>;
1554
+ compute: z.ZodOptional<z.ZodString>;
1555
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1556
+ when: z.ZodOptional<z.ZodString>;
1557
+ value: z.ZodString;
1558
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1559
+ }, z.core.$strict>>>;
1560
+ type: z.ZodLiteral<"monetary">;
1561
+ }, z.core.$strict>, z.ZodObject<{
1562
+ label: z.ZodString;
1563
+ help: z.ZodOptional<z.ZodString>;
1564
+ required: z.ZodOptional<z.ZodBoolean>;
1565
+ readonly: z.ZodOptional<z.ZodBoolean>;
1566
+ default: z.ZodOptional<z.ZodJSONSchema>;
1567
+ defaultFrom: z.ZodOptional<z.ZodString>;
1568
+ compute: z.ZodOptional<z.ZodString>;
1569
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1570
+ when: z.ZodOptional<z.ZodString>;
1571
+ value: z.ZodString;
1572
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1573
+ }, z.core.$strict>>>;
1574
+ type: z.ZodLiteral<"boolean">;
1575
+ }, z.core.$strict>, z.ZodObject<{
1576
+ min: z.ZodOptional<z.ZodString>;
1577
+ max: z.ZodOptional<z.ZodString>;
1578
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
1579
+ label: z.ZodString;
1580
+ help: z.ZodOptional<z.ZodString>;
1581
+ required: z.ZodOptional<z.ZodBoolean>;
1582
+ readonly: z.ZodOptional<z.ZodBoolean>;
1583
+ default: z.ZodOptional<z.ZodJSONSchema>;
1584
+ defaultFrom: z.ZodOptional<z.ZodString>;
1585
+ compute: z.ZodOptional<z.ZodString>;
1586
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1587
+ when: z.ZodOptional<z.ZodString>;
1588
+ value: z.ZodString;
1589
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1590
+ }, z.core.$strict>>>;
1591
+ type: z.ZodLiteral<"date">;
1592
+ }, z.core.$strict>, z.ZodObject<{
1593
+ min: z.ZodOptional<z.ZodString>;
1594
+ max: z.ZodOptional<z.ZodString>;
1595
+ days: z.ZodOptional<z.ZodArray<z.ZodInt>>;
1596
+ label: z.ZodString;
1597
+ help: z.ZodOptional<z.ZodString>;
1598
+ required: z.ZodOptional<z.ZodBoolean>;
1599
+ readonly: z.ZodOptional<z.ZodBoolean>;
1600
+ default: z.ZodOptional<z.ZodJSONSchema>;
1601
+ defaultFrom: z.ZodOptional<z.ZodString>;
1602
+ compute: z.ZodOptional<z.ZodString>;
1603
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1604
+ when: z.ZodOptional<z.ZodString>;
1605
+ value: z.ZodString;
1606
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1607
+ }, z.core.$strict>>>;
1608
+ type: z.ZodLiteral<"datetime">;
1609
+ }, z.core.$strict>, z.ZodObject<{
1610
+ options: z.ZodArray<z.ZodObject<{
1611
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1612
+ label: z.ZodString;
1613
+ image: z.ZodOptional<z.ZodString>;
1614
+ score: z.ZodOptional<z.ZodNumber>;
1615
+ alt: z.ZodOptional<z.ZodString>;
1616
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1617
+ fixed: z.ZodOptional<z.ZodBoolean>;
1618
+ }, z.core.$strict>>;
1619
+ optionsFrom: z.ZodOptional<z.ZodNever>;
1620
+ multiple: z.ZodOptional<z.ZodBoolean>;
1621
+ other: z.ZodOptional<z.ZodBoolean>;
1622
+ ownAnswers: z.ZodOptional<z.ZodBoolean>;
1623
+ label: z.ZodString;
1624
+ help: z.ZodOptional<z.ZodString>;
1625
+ required: z.ZodOptional<z.ZodBoolean>;
1626
+ readonly: z.ZodOptional<z.ZodBoolean>;
1627
+ default: z.ZodOptional<z.ZodJSONSchema>;
1628
+ defaultFrom: z.ZodOptional<z.ZodString>;
1629
+ compute: z.ZodOptional<z.ZodString>;
1630
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1631
+ when: z.ZodOptional<z.ZodString>;
1632
+ value: z.ZodString;
1633
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1634
+ }, z.core.$strict>>>;
1635
+ type: z.ZodLiteral<"selection">;
1636
+ }, z.core.$strict>, z.ZodObject<{
1637
+ relation: z.ZodString;
1638
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1639
+ field: z.ZodString;
1640
+ op: z.ZodEnum<{
1641
+ set: "set";
1642
+ "=": "=";
1643
+ "!=": "!=";
1644
+ "<": "<";
1645
+ ">": ">";
1646
+ "<=": "<=";
1647
+ ">=": ">=";
1648
+ in: "in";
1649
+ "not in": "not in";
1650
+ like: "like";
1651
+ ilike: "ilike";
1652
+ startswith: "startswith";
1653
+ endswith: "endswith";
1654
+ notset: "notset";
1655
+ between: "between";
1656
+ contains: "contains";
1657
+ "not contains": "not contains";
1658
+ "=?": "=?";
1659
+ }>;
1660
+ value: z.ZodOptional<z.ZodJSONSchema>;
1661
+ valueFrom: z.ZodOptional<z.ZodString>;
1662
+ }, z.core.$strict>, z.ZodObject<{
1663
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1664
+ }, z.core.$strict>, z.ZodObject<{
1665
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
1666
+ }, z.core.$strict>]>>>;
1667
+ createValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1668
+ label: z.ZodString;
1669
+ help: z.ZodOptional<z.ZodString>;
1670
+ required: z.ZodOptional<z.ZodBoolean>;
1671
+ readonly: z.ZodOptional<z.ZodBoolean>;
1672
+ default: z.ZodOptional<z.ZodJSONSchema>;
1673
+ defaultFrom: z.ZodOptional<z.ZodString>;
1674
+ compute: z.ZodOptional<z.ZodString>;
1675
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1676
+ when: z.ZodOptional<z.ZodString>;
1677
+ value: z.ZodString;
1678
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1679
+ }, z.core.$strict>>>;
1680
+ type: z.ZodLiteral<"many2one">;
1681
+ }, z.core.$strict>], "type">>>;
1682
+ label: z.ZodString;
1683
+ help: z.ZodOptional<z.ZodString>;
1684
+ required: z.ZodOptional<z.ZodBoolean>;
1685
+ readonly: z.ZodOptional<z.ZodBoolean>;
1686
+ default: z.ZodOptional<z.ZodJSONSchema>;
1687
+ defaultFrom: z.ZodOptional<z.ZodString>;
1688
+ compute: z.ZodOptional<z.ZodString>;
1689
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1690
+ when: z.ZodOptional<z.ZodString>;
1691
+ value: z.ZodString;
1692
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1693
+ }, z.core.$strict>>>;
1694
+ type: z.ZodLiteral<"many2many">;
1695
+ }, z.core.$strict>, z.ZodObject<{
1696
+ models: z.ZodArray<z.ZodObject<{
1697
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1698
+ label: z.ZodString;
1699
+ image: z.ZodOptional<z.ZodString>;
1700
+ score: z.ZodOptional<z.ZodNumber>;
1701
+ alt: z.ZodOptional<z.ZodString>;
1702
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1703
+ fixed: z.ZodOptional<z.ZodBoolean>;
1704
+ }, z.core.$strict>>;
1705
+ label: z.ZodString;
1706
+ help: z.ZodOptional<z.ZodString>;
1707
+ required: z.ZodOptional<z.ZodBoolean>;
1708
+ readonly: z.ZodOptional<z.ZodBoolean>;
1709
+ default: z.ZodOptional<z.ZodJSONSchema>;
1710
+ defaultFrom: z.ZodOptional<z.ZodString>;
1711
+ compute: z.ZodOptional<z.ZodString>;
1712
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1713
+ when: z.ZodOptional<z.ZodString>;
1714
+ value: z.ZodString;
1715
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1716
+ }, z.core.$strict>>>;
1717
+ type: z.ZodLiteral<"reference">;
1718
+ }, z.core.$strict>, z.ZodObject<{
1719
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
+ name: z.ZodString;
1721
+ label: z.ZodString;
1722
+ type: z.ZodEnum<{
1723
+ boolean: "boolean";
1724
+ char: "char";
1725
+ text: "text";
1726
+ integer: "integer";
1727
+ float: "float";
1728
+ date: "date";
1729
+ selection: "selection";
1730
+ }>;
1731
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1732
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1733
+ label: z.ZodString;
1734
+ image: z.ZodOptional<z.ZodString>;
1735
+ score: z.ZodOptional<z.ZodNumber>;
1736
+ alt: z.ZodOptional<z.ZodString>;
1737
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1738
+ fixed: z.ZodOptional<z.ZodBoolean>;
1739
+ }, z.core.$strict>>>;
1740
+ }, z.core.$strict>>>;
1741
+ definitionsFrom: z.ZodOptional<z.ZodObject<{
1742
+ list: z.ZodString;
1743
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1744
+ }, z.core.$strict>>;
1745
+ label: z.ZodString;
1746
+ help: z.ZodOptional<z.ZodString>;
1747
+ required: z.ZodOptional<z.ZodBoolean>;
1748
+ readonly: z.ZodOptional<z.ZodBoolean>;
1749
+ default: z.ZodOptional<z.ZodJSONSchema>;
1750
+ defaultFrom: z.ZodOptional<z.ZodString>;
1751
+ compute: z.ZodOptional<z.ZodString>;
1752
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1753
+ when: z.ZodOptional<z.ZodString>;
1754
+ value: z.ZodString;
1755
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1756
+ }, z.core.$strict>>>;
1757
+ type: z.ZodLiteral<"properties">;
1758
+ }, z.core.$strict>, z.ZodObject<{
1759
+ label: z.ZodString;
1760
+ help: z.ZodOptional<z.ZodString>;
1761
+ required: z.ZodOptional<z.ZodBoolean>;
1762
+ readonly: z.ZodOptional<z.ZodBoolean>;
1763
+ default: z.ZodOptional<z.ZodJSONSchema>;
1764
+ defaultFrom: z.ZodOptional<z.ZodString>;
1765
+ compute: z.ZodOptional<z.ZodString>;
1766
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1767
+ when: z.ZodOptional<z.ZodString>;
1768
+ value: z.ZodString;
1769
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1770
+ }, z.core.$strict>>>;
1771
+ type: z.ZodLiteral<"json">;
1772
+ }, z.core.$strict>], "type">>;
1773
+ sequenceField: z.ZodOptional<z.ZodString>;
1774
+ lineDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1775
+ label: z.ZodString;
1776
+ help: z.ZodOptional<z.ZodString>;
1777
+ required: z.ZodOptional<z.ZodBoolean>;
1778
+ readonly: z.ZodOptional<z.ZodBoolean>;
1779
+ default: z.ZodOptional<z.ZodJSONSchema>;
1780
+ defaultFrom: z.ZodOptional<z.ZodString>;
1781
+ compute: z.ZodOptional<z.ZodString>;
1782
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1783
+ when: z.ZodOptional<z.ZodString>;
1784
+ value: z.ZodString;
1785
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1786
+ }, z.core.$strict>>>;
1787
+ type: z.ZodLiteral<"one2many">;
1788
+ }, z.core.$strict>], "type">>;
1789
+ lineKinds: z.ZodOptional<z.ZodObject<{
1790
+ field: z.ZodString;
1791
+ text: z.ZodString;
1792
+ section: z.ZodOptional<z.ZodString>;
1793
+ note: z.ZodOptional<z.ZodString>;
1794
+ }, z.core.$strict>>;
1795
+ sequenceField: z.ZodOptional<z.ZodString>;
1796
+ lineDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1797
+ label: z.ZodString;
1798
+ help: z.ZodOptional<z.ZodString>;
1799
+ required: z.ZodOptional<z.ZodBoolean>;
1800
+ readonly: z.ZodOptional<z.ZodBoolean>;
1801
+ default: z.ZodOptional<z.ZodJSONSchema>;
1802
+ defaultFrom: z.ZodOptional<z.ZodString>;
1803
+ compute: z.ZodOptional<z.ZodString>;
1804
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1805
+ when: z.ZodOptional<z.ZodString>;
1806
+ value: z.ZodString;
1807
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1808
+ }, z.core.$strict>>>;
1809
+ type: z.ZodLiteral<"one2many">;
1810
+ }, z.core.$strict>, z.ZodObject<{
1811
+ models: z.ZodArray<z.ZodObject<{
1812
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1813
+ label: z.ZodString;
1814
+ image: z.ZodOptional<z.ZodString>;
1815
+ score: z.ZodOptional<z.ZodNumber>;
1816
+ alt: z.ZodOptional<z.ZodString>;
1817
+ exclusive: z.ZodOptional<z.ZodBoolean>;
1818
+ fixed: z.ZodOptional<z.ZodBoolean>;
1819
+ }, z.core.$strict>>;
1820
+ label: z.ZodString;
1821
+ help: z.ZodOptional<z.ZodString>;
1822
+ required: z.ZodOptional<z.ZodBoolean>;
1823
+ readonly: z.ZodOptional<z.ZodBoolean>;
1824
+ default: z.ZodOptional<z.ZodJSONSchema>;
1825
+ defaultFrom: z.ZodOptional<z.ZodString>;
1826
+ compute: z.ZodOptional<z.ZodString>;
1827
+ setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1828
+ when: z.ZodOptional<z.ZodString>;
1829
+ value: z.ZodString;
1830
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
1831
+ }, z.core.$strict>>>;
722
1832
  type: z.ZodLiteral<"reference">;
723
1833
  }, z.core.$strict>, z.ZodObject<{
724
1834
  definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -743,15 +1853,21 @@ export declare const PageSchema: z.ZodObject<{
743
1853
  fixed: z.ZodOptional<z.ZodBoolean>;
744
1854
  }, z.core.$strict>>>;
745
1855
  }, z.core.$strict>>>;
1856
+ definitionsFrom: z.ZodOptional<z.ZodObject<{
1857
+ list: z.ZodString;
1858
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1859
+ }, z.core.$strict>>;
746
1860
  label: z.ZodString;
747
1861
  help: z.ZodOptional<z.ZodString>;
748
1862
  required: z.ZodOptional<z.ZodBoolean>;
749
1863
  readonly: z.ZodOptional<z.ZodBoolean>;
750
1864
  default: z.ZodOptional<z.ZodJSONSchema>;
1865
+ defaultFrom: z.ZodOptional<z.ZodString>;
751
1866
  compute: z.ZodOptional<z.ZodString>;
752
1867
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
- when: z.ZodString;
1868
+ when: z.ZodOptional<z.ZodString>;
754
1869
  value: z.ZodString;
1870
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
1871
  }, z.core.$strict>>>;
756
1872
  type: z.ZodLiteral<"properties">;
757
1873
  }, z.core.$strict>, z.ZodObject<{
@@ -760,10 +1876,12 @@ export declare const PageSchema: z.ZodObject<{
760
1876
  required: z.ZodOptional<z.ZodBoolean>;
761
1877
  readonly: z.ZodOptional<z.ZodBoolean>;
762
1878
  default: z.ZodOptional<z.ZodJSONSchema>;
1879
+ defaultFrom: z.ZodOptional<z.ZodString>;
763
1880
  compute: z.ZodOptional<z.ZodString>;
764
1881
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
765
- when: z.ZodString;
1882
+ when: z.ZodOptional<z.ZodString>;
766
1883
  value: z.ZodString;
1884
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
767
1885
  }, z.core.$strict>>>;
768
1886
  type: z.ZodLiteral<"json">;
769
1887
  }, z.core.$strict>, z.ZodObject<{
@@ -792,10 +1910,12 @@ export declare const PageSchema: z.ZodObject<{
792
1910
  required: z.ZodOptional<z.ZodBoolean>;
793
1911
  readonly: z.ZodOptional<z.ZodBoolean>;
794
1912
  default: z.ZodOptional<z.ZodJSONSchema>;
1913
+ defaultFrom: z.ZodOptional<z.ZodString>;
795
1914
  compute: z.ZodOptional<z.ZodString>;
796
1915
  setWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
- when: z.ZodString;
1916
+ when: z.ZodOptional<z.ZodString>;
798
1917
  value: z.ZodString;
1918
+ on: z.ZodOptional<z.ZodArray<z.ZodString>>;
799
1919
  }, z.core.$strict>>>;
800
1920
  type: z.ZodLiteral<"matrix">;
801
1921
  }, z.core.$strict>], "type">>;
@@ -804,17 +1924,165 @@ export declare const PageSchema: z.ZodObject<{
804
1924
  id: z.ZodString;
805
1925
  title: z.ZodOptional<z.ZodObject<{
806
1926
  field: z.ZodString;
1927
+ label: z.ZodOptional<z.ZodString>;
807
1928
  subtitleField: z.ZodOptional<z.ZodString>;
808
1929
  avatarField: z.ZodOptional<z.ZodString>;
809
1930
  placeholder: z.ZodOptional<z.ZodString>;
1931
+ placeholderWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1932
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1933
+ text: z.ZodString;
1934
+ }, z.core.$strict>>>;
1935
+ focus: z.ZodOptional<z.ZodBoolean>;
810
1936
  above: z.ZodOptional<z.ZodArray<z.ZodObject<{
811
1937
  type: z.ZodLiteral<"field">;
812
1938
  id: z.ZodString;
813
1939
  field: z.ZodString;
814
1940
  label: z.ZodOptional<z.ZodString>;
815
1941
  widget: z.ZodOptional<z.ZodString>;
816
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1942
+ options: z.ZodOptional<z.ZodObject<{
1943
+ clear: z.ZodOptional<z.ZodBoolean>;
1944
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
1945
+ placeholder: z.ZodOptional<z.ZodString>;
1946
+ placeholderWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
1947
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1948
+ text: z.ZodString;
1949
+ }, z.core.$strict>>>;
1950
+ help: z.ZodOptional<z.ZodString>;
1951
+ colspan: z.ZodOptional<z.ZodInt>;
1952
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1953
+ totals: z.ZodOptional<z.ZodArray<z.ZodString>>;
1954
+ optionalColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
1955
+ show: "show";
1956
+ hide: "hide";
1957
+ }>>>;
1958
+ order: z.ZodOptional<z.ZodArray<z.ZodObject<{
1959
+ field: z.ZodString;
1960
+ desc: z.ZodOptional<z.ZodBoolean>;
1961
+ }, z.core.$strict>>>;
1962
+ cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1963
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1964
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1965
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1966
+ hidden: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1967
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1968
+ tone: z.ZodEnum<{
1969
+ success: "success";
1970
+ info: "info";
1971
+ warning: "warning";
1972
+ danger: "danger";
1973
+ muted: "muted";
1974
+ }>;
1975
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1976
+ }, z.core.$strict>>>;
1977
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1978
+ badge: z.ZodOptional<z.ZodBoolean>;
1979
+ widget: z.ZodOptional<z.ZodString>;
1980
+ options: z.ZodOptional<z.ZodObject<{
1981
+ clear: z.ZodOptional<z.ZodBoolean>;
1982
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
1983
+ width: z.ZodOptional<z.ZodInt>;
1984
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1985
+ }, z.core.$strict>>>;
1986
+ rowTones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1987
+ tone: z.ZodEnum<{
1988
+ success: "success";
1989
+ info: "info";
1990
+ warning: "warning";
1991
+ danger: "danger";
1992
+ muted: "muted";
1993
+ }>;
1994
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1995
+ }, z.core.$strict>>>;
1996
+ rowBold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1997
+ lineDelete: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1998
+ rowButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
1999
+ selectedButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2000
+ controlButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2001
+ lineOpens: z.ZodOptional<z.ZodEnum<{
2002
+ record: "record";
2003
+ fields: "fields";
2004
+ }>>;
2005
+ lineForm: z.ZodOptional<typeof import("./layout.mjs").LineFormSchema>;
2006
+ cards: z.ZodOptional<z.ZodEnum<{
2007
+ narrow: "narrow";
2008
+ always: "always";
2009
+ }>>;
2010
+ fit: z.ZodOptional<z.ZodEnum<{
2011
+ content: "content";
2012
+ shrink: "shrink";
2013
+ }>>;
2014
+ editMode: z.ZodOptional<z.ZodEnum<{
2015
+ cell: "cell";
2016
+ row: "row";
2017
+ }>>;
2018
+ labels: z.ZodOptional<z.ZodEnum<{
2019
+ above: "above";
2020
+ beside: "beside";
2021
+ hidden: "hidden";
2022
+ }>>;
2023
+ helpShown: z.ZodOptional<z.ZodEnum<{
2024
+ below: "below";
2025
+ tooltip: "tooltip";
2026
+ both: "both";
2027
+ }>>;
2028
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2029
+ tone: z.ZodEnum<{
2030
+ success: "success";
2031
+ info: "info";
2032
+ warning: "warning";
2033
+ danger: "danger";
2034
+ muted: "muted";
2035
+ }>;
2036
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2037
+ }, z.core.$strict>>>;
2038
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2039
+ validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
2040
+ minLength: z.ZodOptional<z.ZodInt>;
2041
+ maxLength: z.ZodOptional<z.ZodInt>;
2042
+ pattern: z.ZodOptional<z.ZodString>;
2043
+ endsWith: z.ZodOptional<z.ZodString>;
2044
+ min: z.ZodOptional<z.ZodNumber>;
2045
+ max: z.ZodOptional<z.ZodNumber>;
2046
+ atLeast: z.ZodOptional<z.ZodInt>;
2047
+ atMost: z.ZodOptional<z.ZodInt>;
2048
+ date: z.ZodOptional<z.ZodEnum<{
2049
+ past: "past";
2050
+ future: "future";
2051
+ }>>;
2052
+ distinct: z.ZodOptional<z.ZodString>;
2053
+ holds: z.ZodOptional<z.ZodString>;
2054
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2055
+ message: z.ZodOptional<z.ZodString>;
2056
+ level: z.ZodOptional<z.ZodEnum<{
2057
+ error: "error";
2058
+ warning: "warning";
2059
+ }>>;
2060
+ }, z.core.$strict>>>;
2061
+ focus: z.ZodOptional<z.ZodBoolean>;
2062
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2063
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2064
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2065
+ narrow: "narrow";
2066
+ medium: "medium";
2067
+ wide: "wide";
2068
+ }>>>;
2069
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2070
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2071
+ }, z.core.$strict>>>;
2072
+ before: z.ZodOptional<z.ZodArray<z.ZodObject<{
2073
+ type: z.ZodLiteral<"field">;
2074
+ id: z.ZodString;
2075
+ field: z.ZodString;
2076
+ label: z.ZodOptional<z.ZodString>;
2077
+ widget: z.ZodOptional<z.ZodString>;
2078
+ options: z.ZodOptional<z.ZodObject<{
2079
+ clear: z.ZodOptional<z.ZodBoolean>;
2080
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
817
2081
  placeholder: z.ZodOptional<z.ZodString>;
2082
+ placeholderWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
2083
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2084
+ text: z.ZodString;
2085
+ }, z.core.$strict>>>;
818
2086
  help: z.ZodOptional<z.ZodString>;
819
2087
  colspan: z.ZodOptional<z.ZodInt>;
820
2088
  columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -823,6 +2091,62 @@ export declare const PageSchema: z.ZodObject<{
823
2091
  show: "show";
824
2092
  hide: "hide";
825
2093
  }>>>;
2094
+ order: z.ZodOptional<z.ZodArray<z.ZodObject<{
2095
+ field: z.ZodString;
2096
+ desc: z.ZodOptional<z.ZodBoolean>;
2097
+ }, z.core.$strict>>>;
2098
+ cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2099
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2100
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2101
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2102
+ hidden: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2103
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2104
+ tone: z.ZodEnum<{
2105
+ success: "success";
2106
+ info: "info";
2107
+ warning: "warning";
2108
+ danger: "danger";
2109
+ muted: "muted";
2110
+ }>;
2111
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2112
+ }, z.core.$strict>>>;
2113
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2114
+ badge: z.ZodOptional<z.ZodBoolean>;
2115
+ widget: z.ZodOptional<z.ZodString>;
2116
+ options: z.ZodOptional<z.ZodObject<{
2117
+ clear: z.ZodOptional<z.ZodBoolean>;
2118
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
2119
+ width: z.ZodOptional<z.ZodInt>;
2120
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2121
+ }, z.core.$strict>>>;
2122
+ rowTones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2123
+ tone: z.ZodEnum<{
2124
+ success: "success";
2125
+ info: "info";
2126
+ warning: "warning";
2127
+ danger: "danger";
2128
+ muted: "muted";
2129
+ }>;
2130
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2131
+ }, z.core.$strict>>>;
2132
+ rowBold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2133
+ lineDelete: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2134
+ rowButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2135
+ selectedButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2136
+ controlButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2137
+ lineOpens: z.ZodOptional<z.ZodEnum<{
2138
+ record: "record";
2139
+ fields: "fields";
2140
+ }>>;
2141
+ lineForm: z.ZodOptional<typeof import("./layout.mjs").LineFormSchema>;
2142
+ cards: z.ZodOptional<z.ZodEnum<{
2143
+ narrow: "narrow";
2144
+ always: "always";
2145
+ }>>;
2146
+ fit: z.ZodOptional<z.ZodEnum<{
2147
+ content: "content";
2148
+ shrink: "shrink";
2149
+ }>>;
826
2150
  editMode: z.ZodOptional<z.ZodEnum<{
827
2151
  cell: "cell";
828
2152
  row: "row";
@@ -832,92 +2156,1039 @@ export declare const PageSchema: z.ZodObject<{
832
2156
  beside: "beside";
833
2157
  hidden: "hidden";
834
2158
  }>>;
835
- validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
836
- minLength: z.ZodOptional<z.ZodInt>;
837
- maxLength: z.ZodOptional<z.ZodInt>;
838
- pattern: z.ZodOptional<z.ZodString>;
839
- endsWith: z.ZodOptional<z.ZodString>;
840
- min: z.ZodOptional<z.ZodNumber>;
841
- max: z.ZodOptional<z.ZodNumber>;
842
- atLeast: z.ZodOptional<z.ZodInt>;
843
- atMost: z.ZodOptional<z.ZodInt>;
844
- date: z.ZodOptional<z.ZodEnum<{
845
- past: "past";
846
- future: "future";
2159
+ helpShown: z.ZodOptional<z.ZodEnum<{
2160
+ below: "below";
2161
+ tooltip: "tooltip";
2162
+ both: "both";
2163
+ }>>;
2164
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2165
+ tone: z.ZodEnum<{
2166
+ success: "success";
2167
+ info: "info";
2168
+ warning: "warning";
2169
+ danger: "danger";
2170
+ muted: "muted";
2171
+ }>;
2172
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2173
+ }, z.core.$strict>>>;
2174
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2175
+ validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
2176
+ minLength: z.ZodOptional<z.ZodInt>;
2177
+ maxLength: z.ZodOptional<z.ZodInt>;
2178
+ pattern: z.ZodOptional<z.ZodString>;
2179
+ endsWith: z.ZodOptional<z.ZodString>;
2180
+ min: z.ZodOptional<z.ZodNumber>;
2181
+ max: z.ZodOptional<z.ZodNumber>;
2182
+ atLeast: z.ZodOptional<z.ZodInt>;
2183
+ atMost: z.ZodOptional<z.ZodInt>;
2184
+ date: z.ZodOptional<z.ZodEnum<{
2185
+ past: "past";
2186
+ future: "future";
2187
+ }>>;
2188
+ distinct: z.ZodOptional<z.ZodString>;
2189
+ holds: z.ZodOptional<z.ZodString>;
2190
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2191
+ message: z.ZodOptional<z.ZodString>;
2192
+ level: z.ZodOptional<z.ZodEnum<{
2193
+ error: "error";
2194
+ warning: "warning";
2195
+ }>>;
2196
+ }, z.core.$strict>>>;
2197
+ focus: z.ZodOptional<z.ZodBoolean>;
2198
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2199
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2200
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2201
+ narrow: "narrow";
2202
+ medium: "medium";
2203
+ wide: "wide";
2204
+ }>>>;
2205
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2206
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2207
+ }, z.core.$strict>>>;
2208
+ after: z.ZodOptional<z.ZodArray<z.ZodObject<{
2209
+ type: z.ZodLiteral<"field">;
2210
+ id: z.ZodString;
2211
+ field: z.ZodString;
2212
+ label: z.ZodOptional<z.ZodString>;
2213
+ widget: z.ZodOptional<z.ZodString>;
2214
+ options: z.ZodOptional<z.ZodObject<{
2215
+ clear: z.ZodOptional<z.ZodBoolean>;
2216
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
2217
+ placeholder: z.ZodOptional<z.ZodString>;
2218
+ placeholderWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
2219
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2220
+ text: z.ZodString;
2221
+ }, z.core.$strict>>>;
2222
+ help: z.ZodOptional<z.ZodString>;
2223
+ colspan: z.ZodOptional<z.ZodInt>;
2224
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2225
+ totals: z.ZodOptional<z.ZodArray<z.ZodString>>;
2226
+ optionalColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
2227
+ show: "show";
2228
+ hide: "hide";
2229
+ }>>>;
2230
+ order: z.ZodOptional<z.ZodArray<z.ZodObject<{
2231
+ field: z.ZodString;
2232
+ desc: z.ZodOptional<z.ZodBoolean>;
2233
+ }, z.core.$strict>>>;
2234
+ cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2235
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2236
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2237
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2238
+ hidden: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2239
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2240
+ tone: z.ZodEnum<{
2241
+ success: "success";
2242
+ info: "info";
2243
+ warning: "warning";
2244
+ danger: "danger";
2245
+ muted: "muted";
2246
+ }>;
2247
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2248
+ }, z.core.$strict>>>;
2249
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2250
+ badge: z.ZodOptional<z.ZodBoolean>;
2251
+ widget: z.ZodOptional<z.ZodString>;
2252
+ options: z.ZodOptional<z.ZodObject<{
2253
+ clear: z.ZodOptional<z.ZodBoolean>;
2254
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
2255
+ width: z.ZodOptional<z.ZodInt>;
2256
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2257
+ }, z.core.$strict>>>;
2258
+ rowTones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2259
+ tone: z.ZodEnum<{
2260
+ success: "success";
2261
+ info: "info";
2262
+ warning: "warning";
2263
+ danger: "danger";
2264
+ muted: "muted";
2265
+ }>;
2266
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2267
+ }, z.core.$strict>>>;
2268
+ rowBold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2269
+ lineDelete: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2270
+ rowButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2271
+ selectedButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2272
+ controlButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2273
+ lineOpens: z.ZodOptional<z.ZodEnum<{
2274
+ record: "record";
2275
+ fields: "fields";
2276
+ }>>;
2277
+ lineForm: z.ZodOptional<typeof import("./layout.mjs").LineFormSchema>;
2278
+ cards: z.ZodOptional<z.ZodEnum<{
2279
+ narrow: "narrow";
2280
+ always: "always";
2281
+ }>>;
2282
+ fit: z.ZodOptional<z.ZodEnum<{
2283
+ content: "content";
2284
+ shrink: "shrink";
2285
+ }>>;
2286
+ editMode: z.ZodOptional<z.ZodEnum<{
2287
+ cell: "cell";
2288
+ row: "row";
2289
+ }>>;
2290
+ labels: z.ZodOptional<z.ZodEnum<{
2291
+ above: "above";
2292
+ beside: "beside";
2293
+ hidden: "hidden";
2294
+ }>>;
2295
+ helpShown: z.ZodOptional<z.ZodEnum<{
2296
+ below: "below";
2297
+ tooltip: "tooltip";
2298
+ both: "both";
2299
+ }>>;
2300
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2301
+ tone: z.ZodEnum<{
2302
+ success: "success";
2303
+ info: "info";
2304
+ warning: "warning";
2305
+ danger: "danger";
2306
+ muted: "muted";
2307
+ }>;
2308
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2309
+ }, z.core.$strict>>>;
2310
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2311
+ validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
2312
+ minLength: z.ZodOptional<z.ZodInt>;
2313
+ maxLength: z.ZodOptional<z.ZodInt>;
2314
+ pattern: z.ZodOptional<z.ZodString>;
2315
+ endsWith: z.ZodOptional<z.ZodString>;
2316
+ min: z.ZodOptional<z.ZodNumber>;
2317
+ max: z.ZodOptional<z.ZodNumber>;
2318
+ atLeast: z.ZodOptional<z.ZodInt>;
2319
+ atMost: z.ZodOptional<z.ZodInt>;
2320
+ date: z.ZodOptional<z.ZodEnum<{
2321
+ past: "past";
2322
+ future: "future";
2323
+ }>>;
2324
+ distinct: z.ZodOptional<z.ZodString>;
2325
+ holds: z.ZodOptional<z.ZodString>;
2326
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2327
+ message: z.ZodOptional<z.ZodString>;
2328
+ level: z.ZodOptional<z.ZodEnum<{
2329
+ error: "error";
2330
+ warning: "warning";
2331
+ }>>;
2332
+ }, z.core.$strict>>>;
2333
+ focus: z.ZodOptional<z.ZodBoolean>;
2334
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2335
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2336
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2337
+ narrow: "narrow";
2338
+ medium: "medium";
2339
+ wide: "wide";
2340
+ }>>>;
2341
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2342
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2343
+ }, z.core.$strict>>>;
2344
+ below: z.ZodOptional<z.ZodArray<z.ZodObject<{
2345
+ type: z.ZodLiteral<"field">;
2346
+ id: z.ZodString;
2347
+ field: z.ZodString;
2348
+ label: z.ZodOptional<z.ZodString>;
2349
+ widget: z.ZodOptional<z.ZodString>;
2350
+ options: z.ZodOptional<z.ZodObject<{
2351
+ clear: z.ZodOptional<z.ZodBoolean>;
2352
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
2353
+ placeholder: z.ZodOptional<z.ZodString>;
2354
+ placeholderWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
2355
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2356
+ text: z.ZodString;
2357
+ }, z.core.$strict>>>;
2358
+ help: z.ZodOptional<z.ZodString>;
2359
+ colspan: z.ZodOptional<z.ZodInt>;
2360
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2361
+ totals: z.ZodOptional<z.ZodArray<z.ZodString>>;
2362
+ optionalColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
2363
+ show: "show";
2364
+ hide: "hide";
2365
+ }>>>;
2366
+ order: z.ZodOptional<z.ZodArray<z.ZodObject<{
2367
+ field: z.ZodString;
2368
+ desc: z.ZodOptional<z.ZodBoolean>;
2369
+ }, z.core.$strict>>>;
2370
+ cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2371
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2372
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2373
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2374
+ hidden: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2375
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2376
+ tone: z.ZodEnum<{
2377
+ success: "success";
2378
+ info: "info";
2379
+ warning: "warning";
2380
+ danger: "danger";
2381
+ muted: "muted";
2382
+ }>;
2383
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2384
+ }, z.core.$strict>>>;
2385
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2386
+ badge: z.ZodOptional<z.ZodBoolean>;
2387
+ widget: z.ZodOptional<z.ZodString>;
2388
+ options: z.ZodOptional<z.ZodObject<{
2389
+ clear: z.ZodOptional<z.ZodBoolean>;
2390
+ }, z.core.$catchall<z.ZodJSONSchema>>>;
2391
+ width: z.ZodOptional<z.ZodInt>;
2392
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2393
+ }, z.core.$strict>>>;
2394
+ rowTones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2395
+ tone: z.ZodEnum<{
2396
+ success: "success";
2397
+ info: "info";
2398
+ warning: "warning";
2399
+ danger: "danger";
2400
+ muted: "muted";
2401
+ }>;
2402
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2403
+ }, z.core.$strict>>>;
2404
+ rowBold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2405
+ lineDelete: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2406
+ rowButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2407
+ selectedButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2408
+ controlButtons: z.ZodOptional<z.ZodArray<typeof import("./layout.mjs").ButtonNodeSchema>>;
2409
+ lineOpens: z.ZodOptional<z.ZodEnum<{
2410
+ record: "record";
2411
+ fields: "fields";
2412
+ }>>;
2413
+ lineForm: z.ZodOptional<typeof import("./layout.mjs").LineFormSchema>;
2414
+ cards: z.ZodOptional<z.ZodEnum<{
2415
+ narrow: "narrow";
2416
+ always: "always";
2417
+ }>>;
2418
+ fit: z.ZodOptional<z.ZodEnum<{
2419
+ content: "content";
2420
+ shrink: "shrink";
2421
+ }>>;
2422
+ editMode: z.ZodOptional<z.ZodEnum<{
2423
+ cell: "cell";
2424
+ row: "row";
2425
+ }>>;
2426
+ labels: z.ZodOptional<z.ZodEnum<{
2427
+ above: "above";
2428
+ beside: "beside";
2429
+ hidden: "hidden";
2430
+ }>>;
2431
+ helpShown: z.ZodOptional<z.ZodEnum<{
2432
+ below: "below";
2433
+ tooltip: "tooltip";
2434
+ both: "both";
2435
+ }>>;
2436
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2437
+ tone: z.ZodEnum<{
2438
+ success: "success";
2439
+ info: "info";
2440
+ warning: "warning";
2441
+ danger: "danger";
2442
+ muted: "muted";
2443
+ }>;
2444
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2445
+ }, z.core.$strict>>>;
2446
+ bold: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2447
+ validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
2448
+ minLength: z.ZodOptional<z.ZodInt>;
2449
+ maxLength: z.ZodOptional<z.ZodInt>;
2450
+ pattern: z.ZodOptional<z.ZodString>;
2451
+ endsWith: z.ZodOptional<z.ZodString>;
2452
+ min: z.ZodOptional<z.ZodNumber>;
2453
+ max: z.ZodOptional<z.ZodNumber>;
2454
+ atLeast: z.ZodOptional<z.ZodInt>;
2455
+ atMost: z.ZodOptional<z.ZodInt>;
2456
+ date: z.ZodOptional<z.ZodEnum<{
2457
+ past: "past";
2458
+ future: "future";
2459
+ }>>;
2460
+ distinct: z.ZodOptional<z.ZodString>;
2461
+ holds: z.ZodOptional<z.ZodString>;
2462
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2463
+ message: z.ZodOptional<z.ZodString>;
2464
+ level: z.ZodOptional<z.ZodEnum<{
2465
+ error: "error";
2466
+ warning: "warning";
2467
+ }>>;
2468
+ }, z.core.$strict>>>;
2469
+ focus: z.ZodOptional<z.ZodBoolean>;
2470
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2471
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2472
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2473
+ narrow: "narrow";
2474
+ medium: "medium";
2475
+ wide: "wide";
2476
+ }>>>;
2477
+ readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2478
+ required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2479
+ }, z.core.$strict>>>;
2480
+ }, z.core.$strict>>;
2481
+ statusbar: z.ZodOptional<z.ZodObject<{
2482
+ field: z.ZodString;
2483
+ visibleStates: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
2484
+ clickable: z.ZodOptional<z.ZodBoolean>;
2485
+ position: z.ZodOptional<z.ZodEnum<{
2486
+ title: "title";
2487
+ header: "header";
2488
+ }>>;
2489
+ durationsField: z.ZodOptional<z.ZodString>;
2490
+ fold: z.ZodOptional<z.ZodBoolean>;
2491
+ saves: z.ZodOptional<z.ZodBoolean>;
2492
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2493
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2494
+ }, z.core.$strict>>;
2495
+ buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2496
+ type: z.ZodLiteral<"button">;
2497
+ id: z.ZodString;
2498
+ label: z.ZodString;
2499
+ steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2500
+ do: z.ZodLiteral<"open">;
2501
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2502
+ page: z.ZodString;
2503
+ version: z.ZodOptional<z.ZodInt>;
2504
+ as: z.ZodOptional<z.ZodEnum<{
2505
+ page: "page";
2506
+ dialog: "dialog";
2507
+ panel: "panel";
2508
+ }>>;
2509
+ side: z.ZodOptional<z.ZodEnum<{
2510
+ end: "end";
2511
+ start: "start";
2512
+ right: "right";
2513
+ left: "left";
2514
+ top: "top";
2515
+ bottom: "bottom";
2516
+ }>>;
2517
+ title: z.ZodOptional<z.ZodString>;
2518
+ record: z.ZodOptional<z.ZodString>;
2519
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2520
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2521
+ field: z.ZodString;
2522
+ op: z.ZodEnum<{
2523
+ set: "set";
2524
+ "=": "=";
2525
+ "!=": "!=";
2526
+ "<": "<";
2527
+ ">": ">";
2528
+ "<=": "<=";
2529
+ ">=": ">=";
2530
+ in: "in";
2531
+ "not in": "not in";
2532
+ like: "like";
2533
+ ilike: "ilike";
2534
+ startswith: "startswith";
2535
+ endswith: "endswith";
2536
+ notset: "notset";
2537
+ between: "between";
2538
+ contains: "contains";
2539
+ "not contains": "not contains";
2540
+ "=?": "=?";
2541
+ }>;
2542
+ value: z.ZodOptional<z.ZodJSONSchema>;
2543
+ valueFrom: z.ZodOptional<z.ZodString>;
2544
+ }, z.core.$strict>, z.ZodObject<{
2545
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2546
+ }, z.core.$strict>, z.ZodObject<{
2547
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2548
+ }, z.core.$strict>]>>>;
2549
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2550
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
2551
+ }, z.core.$strict>, z.ZodObject<{
2552
+ do: z.ZodLiteral<"set">;
2553
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2554
+ field: z.ZodString;
2555
+ value: z.ZodString;
2556
+ }, z.core.$strict>, z.ZodObject<{
2557
+ do: z.ZodLiteral<"clear">;
2558
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2559
+ field: z.ZodString;
2560
+ }, z.core.$strict>, z.ZodObject<{
2561
+ do: z.ZodLiteral<"addLine">;
2562
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2563
+ field: z.ZodString;
2564
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2565
+ }, z.core.$strict>, z.ZodObject<{
2566
+ do: z.ZodLiteral<"check">;
2567
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2568
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2569
+ }, z.core.$strict>, z.ZodObject<{
2570
+ do: z.ZodLiteral<"save">;
2571
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2572
+ }, z.core.$strict>, z.ZodObject<{
2573
+ do: z.ZodLiteral<"reset">;
2574
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2575
+ }, z.core.$strict>, z.ZodObject<{
2576
+ do: z.ZodLiteral<"goTo">;
2577
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2578
+ target: z.ZodString;
2579
+ }, z.core.$strict>, z.ZodObject<{
2580
+ do: z.ZodLiteral<"say">;
2581
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2582
+ message: z.ZodString;
2583
+ tone: z.ZodOptional<z.ZodEnum<{
2584
+ success: "success";
2585
+ info: "info";
2586
+ warning: "warning";
2587
+ danger: "danger";
2588
+ muted: "muted";
2589
+ }>>;
2590
+ }, z.core.$strict>, z.ZodObject<{
2591
+ do: z.ZodLiteral<"ask">;
2592
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2593
+ message: z.ZodString;
2594
+ }, z.core.$strict>, z.ZodObject<{
2595
+ do: z.ZodLiteral<"call">;
2596
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2597
+ action: z.ZodString;
2598
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2599
+ }, z.core.$strict>, z.ZodObject<{
2600
+ do: z.ZodLiteral<"close">;
2601
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2602
+ }, z.core.$strict>, z.ZodObject<{
2603
+ do: z.ZodLiteral<"reload">;
2604
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2605
+ }, z.core.$strict>, z.ZodObject<{
2606
+ do: z.ZodLiteral<"openUrl">;
2607
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2608
+ url: z.ZodString;
2609
+ newTab: z.ZodOptional<z.ZodBoolean>;
2610
+ }, z.core.$strict>, z.ZodObject<{
2611
+ do: z.ZodLiteral<"archive">;
2612
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2613
+ }, z.core.$strict>, z.ZodObject<{
2614
+ do: z.ZodLiteral<"unarchive">;
2615
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2616
+ }, z.core.$strict>, z.ZodObject<{
2617
+ do: z.ZodLiteral<"duplicate">;
2618
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2619
+ }, z.core.$strict>, z.ZodObject<{
2620
+ do: z.ZodLiteral<"delete">;
2621
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2622
+ }, z.core.$strict>, z.ZodObject<{
2623
+ do: z.ZodLiteral<"post">;
2624
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2625
+ message: z.ZodString;
2626
+ kind: z.ZodOptional<z.ZodEnum<{
2627
+ message: "message";
2628
+ note: "note";
2629
+ }>>;
2630
+ }, z.core.$strict>], "do">>>;
2631
+ action: z.ZodOptional<z.ZodString>;
2632
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2633
+ style: z.ZodOptional<z.ZodEnum<{
2634
+ danger: "danger";
2635
+ primary: "primary";
2636
+ secondary: "secondary";
2637
+ link: "link";
2638
+ }>>;
2639
+ confirm: z.ZodOptional<z.ZodString>;
2640
+ icon: z.ZodOptional<z.ZodString>;
2641
+ hotkey: z.ZodOptional<z.ZodString>;
2642
+ colspan: z.ZodOptional<z.ZodInt>;
2643
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2644
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2645
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2646
+ narrow: "narrow";
2647
+ medium: "medium";
2648
+ wide: "wide";
2649
+ }>>>;
2650
+ }, z.core.$strict>>>;
2651
+ statButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2652
+ id: z.ZodString;
2653
+ label: z.ZodString;
2654
+ labelField: z.ZodOptional<z.ZodString>;
2655
+ steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2656
+ do: z.ZodLiteral<"open">;
2657
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2658
+ page: z.ZodString;
2659
+ version: z.ZodOptional<z.ZodInt>;
2660
+ as: z.ZodOptional<z.ZodEnum<{
2661
+ page: "page";
2662
+ dialog: "dialog";
2663
+ panel: "panel";
2664
+ }>>;
2665
+ side: z.ZodOptional<z.ZodEnum<{
2666
+ end: "end";
2667
+ start: "start";
2668
+ right: "right";
2669
+ left: "left";
2670
+ top: "top";
2671
+ bottom: "bottom";
2672
+ }>>;
2673
+ title: z.ZodOptional<z.ZodString>;
2674
+ record: z.ZodOptional<z.ZodString>;
2675
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2676
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2677
+ field: z.ZodString;
2678
+ op: z.ZodEnum<{
2679
+ set: "set";
2680
+ "=": "=";
2681
+ "!=": "!=";
2682
+ "<": "<";
2683
+ ">": ">";
2684
+ "<=": "<=";
2685
+ ">=": ">=";
2686
+ in: "in";
2687
+ "not in": "not in";
2688
+ like: "like";
2689
+ ilike: "ilike";
2690
+ startswith: "startswith";
2691
+ endswith: "endswith";
2692
+ notset: "notset";
2693
+ between: "between";
2694
+ contains: "contains";
2695
+ "not contains": "not contains";
2696
+ "=?": "=?";
2697
+ }>;
2698
+ value: z.ZodOptional<z.ZodJSONSchema>;
2699
+ valueFrom: z.ZodOptional<z.ZodString>;
2700
+ }, z.core.$strict>, z.ZodObject<{
2701
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2702
+ }, z.core.$strict>, z.ZodObject<{
2703
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2704
+ }, z.core.$strict>]>>>;
2705
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2706
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
2707
+ }, z.core.$strict>, z.ZodObject<{
2708
+ do: z.ZodLiteral<"set">;
2709
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2710
+ field: z.ZodString;
2711
+ value: z.ZodString;
2712
+ }, z.core.$strict>, z.ZodObject<{
2713
+ do: z.ZodLiteral<"clear">;
2714
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2715
+ field: z.ZodString;
2716
+ }, z.core.$strict>, z.ZodObject<{
2717
+ do: z.ZodLiteral<"addLine">;
2718
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2719
+ field: z.ZodString;
2720
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2721
+ }, z.core.$strict>, z.ZodObject<{
2722
+ do: z.ZodLiteral<"check">;
2723
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2724
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2725
+ }, z.core.$strict>, z.ZodObject<{
2726
+ do: z.ZodLiteral<"save">;
2727
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2728
+ }, z.core.$strict>, z.ZodObject<{
2729
+ do: z.ZodLiteral<"reset">;
2730
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2731
+ }, z.core.$strict>, z.ZodObject<{
2732
+ do: z.ZodLiteral<"goTo">;
2733
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2734
+ target: z.ZodString;
2735
+ }, z.core.$strict>, z.ZodObject<{
2736
+ do: z.ZodLiteral<"say">;
2737
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2738
+ message: z.ZodString;
2739
+ tone: z.ZodOptional<z.ZodEnum<{
2740
+ success: "success";
2741
+ info: "info";
2742
+ warning: "warning";
2743
+ danger: "danger";
2744
+ muted: "muted";
2745
+ }>>;
2746
+ }, z.core.$strict>, z.ZodObject<{
2747
+ do: z.ZodLiteral<"ask">;
2748
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2749
+ message: z.ZodString;
2750
+ }, z.core.$strict>, z.ZodObject<{
2751
+ do: z.ZodLiteral<"call">;
2752
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2753
+ action: z.ZodString;
2754
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2755
+ }, z.core.$strict>, z.ZodObject<{
2756
+ do: z.ZodLiteral<"close">;
2757
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2758
+ }, z.core.$strict>, z.ZodObject<{
2759
+ do: z.ZodLiteral<"reload">;
2760
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2761
+ }, z.core.$strict>, z.ZodObject<{
2762
+ do: z.ZodLiteral<"openUrl">;
2763
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2764
+ url: z.ZodString;
2765
+ newTab: z.ZodOptional<z.ZodBoolean>;
2766
+ }, z.core.$strict>, z.ZodObject<{
2767
+ do: z.ZodLiteral<"archive">;
2768
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2769
+ }, z.core.$strict>, z.ZodObject<{
2770
+ do: z.ZodLiteral<"unarchive">;
2771
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2772
+ }, z.core.$strict>, z.ZodObject<{
2773
+ do: z.ZodLiteral<"duplicate">;
2774
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2775
+ }, z.core.$strict>, z.ZodObject<{
2776
+ do: z.ZodLiteral<"delete">;
2777
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2778
+ }, z.core.$strict>, z.ZodObject<{
2779
+ do: z.ZodLiteral<"post">;
2780
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2781
+ message: z.ZodString;
2782
+ kind: z.ZodOptional<z.ZodEnum<{
2783
+ message: "message";
2784
+ note: "note";
2785
+ }>>;
2786
+ }, z.core.$strict>], "do">>>;
2787
+ action: z.ZodOptional<z.ZodString>;
2788
+ field: z.ZodOptional<z.ZodString>;
2789
+ unit: z.ZodOptional<z.ZodString>;
2790
+ unitField: z.ZodOptional<z.ZodString>;
2791
+ secondField: z.ZodOptional<z.ZodString>;
2792
+ secondLabel: z.ZodOptional<z.ZodString>;
2793
+ icon: z.ZodOptional<z.ZodString>;
2794
+ help: z.ZodOptional<z.ZodString>;
2795
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2796
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2797
+ }, z.core.$strict>>>;
2798
+ ribbon: z.ZodOptional<z.ZodObject<{
2799
+ id: z.ZodString;
2800
+ label: z.ZodString;
2801
+ labelField: z.ZodOptional<z.ZodString>;
2802
+ tooltip: z.ZodOptional<z.ZodString>;
2803
+ tone: z.ZodOptional<z.ZodEnum<{
2804
+ success: "success";
2805
+ info: "info";
2806
+ warning: "warning";
2807
+ danger: "danger";
2808
+ muted: "muted";
2809
+ }>>;
2810
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2811
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2812
+ }, z.core.$strict>>;
2813
+ ribbons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2814
+ id: z.ZodString;
2815
+ label: z.ZodString;
2816
+ labelField: z.ZodOptional<z.ZodString>;
2817
+ tooltip: z.ZodOptional<z.ZodString>;
2818
+ tone: z.ZodOptional<z.ZodEnum<{
2819
+ success: "success";
2820
+ info: "info";
2821
+ warning: "warning";
2822
+ danger: "danger";
2823
+ muted: "muted";
2824
+ }>>;
2825
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2826
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2827
+ }, z.core.$strict>>>;
2828
+ alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2829
+ id: z.ZodString;
2830
+ message: z.ZodString;
2831
+ messageField: z.ZodOptional<z.ZodString>;
2832
+ buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
2833
+ type: z.ZodLiteral<"button">;
2834
+ id: z.ZodString;
2835
+ label: z.ZodString;
2836
+ steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2837
+ do: z.ZodLiteral<"open">;
2838
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2839
+ page: z.ZodString;
2840
+ version: z.ZodOptional<z.ZodInt>;
2841
+ as: z.ZodOptional<z.ZodEnum<{
2842
+ page: "page";
2843
+ dialog: "dialog";
2844
+ panel: "panel";
847
2845
  }>>;
848
- holds: z.ZodOptional<z.ZodString>;
2846
+ side: z.ZodOptional<z.ZodEnum<{
2847
+ end: "end";
2848
+ start: "start";
2849
+ right: "right";
2850
+ left: "left";
2851
+ top: "top";
2852
+ bottom: "bottom";
2853
+ }>>;
2854
+ title: z.ZodOptional<z.ZodString>;
2855
+ record: z.ZodOptional<z.ZodString>;
2856
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2857
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2858
+ field: z.ZodString;
2859
+ op: z.ZodEnum<{
2860
+ set: "set";
2861
+ "=": "=";
2862
+ "!=": "!=";
2863
+ "<": "<";
2864
+ ">": ">";
2865
+ "<=": "<=";
2866
+ ">=": ">=";
2867
+ in: "in";
2868
+ "not in": "not in";
2869
+ like: "like";
2870
+ ilike: "ilike";
2871
+ startswith: "startswith";
2872
+ endswith: "endswith";
2873
+ notset: "notset";
2874
+ between: "between";
2875
+ contains: "contains";
2876
+ "not contains": "not contains";
2877
+ "=?": "=?";
2878
+ }>;
2879
+ value: z.ZodOptional<z.ZodJSONSchema>;
2880
+ valueFrom: z.ZodOptional<z.ZodString>;
2881
+ }, z.core.$strict>, z.ZodObject<{
2882
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2883
+ }, z.core.$strict>, z.ZodObject<{
2884
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
2885
+ }, z.core.$strict>]>>>;
2886
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2887
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
2888
+ }, z.core.$strict>, z.ZodObject<{
2889
+ do: z.ZodLiteral<"set">;
849
2890
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
850
- message: z.ZodOptional<z.ZodString>;
851
- level: z.ZodOptional<z.ZodEnum<{
852
- error: "error";
2891
+ field: z.ZodString;
2892
+ value: z.ZodString;
2893
+ }, z.core.$strict>, z.ZodObject<{
2894
+ do: z.ZodLiteral<"clear">;
2895
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2896
+ field: z.ZodString;
2897
+ }, z.core.$strict>, z.ZodObject<{
2898
+ do: z.ZodLiteral<"addLine">;
2899
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2900
+ field: z.ZodString;
2901
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2902
+ }, z.core.$strict>, z.ZodObject<{
2903
+ do: z.ZodLiteral<"check">;
2904
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2905
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2906
+ }, z.core.$strict>, z.ZodObject<{
2907
+ do: z.ZodLiteral<"save">;
2908
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2909
+ }, z.core.$strict>, z.ZodObject<{
2910
+ do: z.ZodLiteral<"reset">;
2911
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2912
+ }, z.core.$strict>, z.ZodObject<{
2913
+ do: z.ZodLiteral<"goTo">;
2914
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2915
+ target: z.ZodString;
2916
+ }, z.core.$strict>, z.ZodObject<{
2917
+ do: z.ZodLiteral<"say">;
2918
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2919
+ message: z.ZodString;
2920
+ tone: z.ZodOptional<z.ZodEnum<{
2921
+ success: "success";
2922
+ info: "info";
853
2923
  warning: "warning";
2924
+ danger: "danger";
2925
+ muted: "muted";
854
2926
  }>>;
855
- }, z.core.$strict>>>;
2927
+ }, z.core.$strict>, z.ZodObject<{
2928
+ do: z.ZodLiteral<"ask">;
2929
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2930
+ message: z.ZodString;
2931
+ }, z.core.$strict>, z.ZodObject<{
2932
+ do: z.ZodLiteral<"call">;
2933
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2934
+ action: z.ZodString;
2935
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2936
+ }, z.core.$strict>, z.ZodObject<{
2937
+ do: z.ZodLiteral<"close">;
2938
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2939
+ }, z.core.$strict>, z.ZodObject<{
2940
+ do: z.ZodLiteral<"reload">;
2941
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2942
+ }, z.core.$strict>, z.ZodObject<{
2943
+ do: z.ZodLiteral<"openUrl">;
2944
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2945
+ url: z.ZodString;
2946
+ newTab: z.ZodOptional<z.ZodBoolean>;
2947
+ }, z.core.$strict>, z.ZodObject<{
2948
+ do: z.ZodLiteral<"archive">;
2949
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2950
+ }, z.core.$strict>, z.ZodObject<{
2951
+ do: z.ZodLiteral<"unarchive">;
2952
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2953
+ }, z.core.$strict>, z.ZodObject<{
2954
+ do: z.ZodLiteral<"duplicate">;
2955
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2956
+ }, z.core.$strict>, z.ZodObject<{
2957
+ do: z.ZodLiteral<"delete">;
2958
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2959
+ }, z.core.$strict>, z.ZodObject<{
2960
+ do: z.ZodLiteral<"post">;
2961
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2962
+ message: z.ZodString;
2963
+ kind: z.ZodOptional<z.ZodEnum<{
2964
+ message: "message";
2965
+ note: "note";
2966
+ }>>;
2967
+ }, z.core.$strict>], "do">>>;
2968
+ action: z.ZodOptional<z.ZodString>;
2969
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2970
+ style: z.ZodOptional<z.ZodEnum<{
2971
+ danger: "danger";
2972
+ primary: "primary";
2973
+ secondary: "secondary";
2974
+ link: "link";
2975
+ }>>;
2976
+ confirm: z.ZodOptional<z.ZodString>;
2977
+ icon: z.ZodOptional<z.ZodString>;
2978
+ hotkey: z.ZodOptional<z.ZodString>;
2979
+ colspan: z.ZodOptional<z.ZodInt>;
856
2980
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
857
- readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
858
- required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2981
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2982
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2983
+ narrow: "narrow";
2984
+ medium: "medium";
2985
+ wide: "wide";
2986
+ }>>>;
859
2987
  }, z.core.$strict>>>;
860
- below: z.ZodOptional<z.ZodArray<z.ZodObject<{
861
- type: z.ZodLiteral<"field">;
2988
+ tone: z.ZodOptional<z.ZodEnum<{
2989
+ success: "success";
2990
+ info: "info";
2991
+ warning: "warning";
2992
+ danger: "danger";
2993
+ muted: "muted";
2994
+ }>>;
2995
+ dismissible: z.ZodOptional<z.ZodBoolean>;
2996
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2997
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2998
+ }, z.core.$strict>>>;
2999
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
3000
+ id: z.ZodString;
3001
+ label: z.ZodString;
3002
+ tone: z.ZodOptional<z.ZodEnum<{
3003
+ success: "success";
3004
+ info: "info";
3005
+ warning: "warning";
3006
+ danger: "danger";
3007
+ muted: "muted";
3008
+ }>>;
3009
+ icon: z.ZodOptional<z.ZodString>;
3010
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3011
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3012
+ }, z.core.$strict>>>;
3013
+ children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
3014
+ sidePanel: z.ZodOptional<z.ZodObject<{
3015
+ type: z.ZodLiteral<"slot">;
3016
+ id: z.ZodString;
3017
+ name: z.ZodString;
3018
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3019
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3020
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3021
+ narrow: "narrow";
3022
+ medium: "medium";
3023
+ wide: "wide";
3024
+ }>>>;
3025
+ }, z.core.$strict>>;
3026
+ sidePanelBeside: z.ZodOptional<z.ZodEnum<{
3027
+ wide: "wide";
3028
+ always: "always";
3029
+ }>>;
3030
+ toolbar: z.ZodOptional<z.ZodObject<{
3031
+ menu: z.ZodOptional<z.ZodArray<z.ZodObject<{
862
3032
  id: z.ZodString;
863
- field: z.ZodString;
864
3033
  label: z.ZodOptional<z.ZodString>;
865
- widget: z.ZodOptional<z.ZodString>;
866
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
867
- placeholder: z.ZodOptional<z.ZodString>;
868
- help: z.ZodOptional<z.ZodString>;
869
- colspan: z.ZodOptional<z.ZodInt>;
870
- columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
871
- totals: z.ZodOptional<z.ZodArray<z.ZodString>>;
872
- optionalColumns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
873
- show: "show";
874
- hide: "hide";
875
- }>>>;
876
- editMode: z.ZodOptional<z.ZodEnum<{
877
- cell: "cell";
878
- row: "row";
3034
+ builtin: z.ZodOptional<z.ZodEnum<{
3035
+ archive: "archive";
3036
+ unarchive: "unarchive";
3037
+ duplicate: "duplicate";
3038
+ delete: "delete";
879
3039
  }>>;
880
- labels: z.ZodOptional<z.ZodEnum<{
881
- above: "above";
882
- beside: "beside";
883
- hidden: "hidden";
3040
+ group: z.ZodOptional<z.ZodEnum<{
3041
+ actions: "actions";
3042
+ print: "print";
884
3043
  }>>;
885
- validate: z.ZodOptional<z.ZodArray<z.ZodObject<{
886
- minLength: z.ZodOptional<z.ZodInt>;
887
- maxLength: z.ZodOptional<z.ZodInt>;
888
- pattern: z.ZodOptional<z.ZodString>;
889
- endsWith: z.ZodOptional<z.ZodString>;
890
- min: z.ZodOptional<z.ZodNumber>;
891
- max: z.ZodOptional<z.ZodNumber>;
892
- atLeast: z.ZodOptional<z.ZodInt>;
893
- atMost: z.ZodOptional<z.ZodInt>;
894
- date: z.ZodOptional<z.ZodEnum<{
895
- past: "past";
896
- future: "future";
3044
+ steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3045
+ do: z.ZodLiteral<"open">;
3046
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3047
+ page: z.ZodString;
3048
+ version: z.ZodOptional<z.ZodInt>;
3049
+ as: z.ZodOptional<z.ZodEnum<{
3050
+ page: "page";
3051
+ dialog: "dialog";
3052
+ panel: "panel";
897
3053
  }>>;
898
- holds: z.ZodOptional<z.ZodString>;
3054
+ side: z.ZodOptional<z.ZodEnum<{
3055
+ end: "end";
3056
+ start: "start";
3057
+ right: "right";
3058
+ left: "left";
3059
+ top: "top";
3060
+ bottom: "bottom";
3061
+ }>>;
3062
+ title: z.ZodOptional<z.ZodString>;
3063
+ record: z.ZodOptional<z.ZodString>;
3064
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3065
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3066
+ field: z.ZodString;
3067
+ op: z.ZodEnum<{
3068
+ set: "set";
3069
+ "=": "=";
3070
+ "!=": "!=";
3071
+ "<": "<";
3072
+ ">": ">";
3073
+ "<=": "<=";
3074
+ ">=": ">=";
3075
+ in: "in";
3076
+ "not in": "not in";
3077
+ like: "like";
3078
+ ilike: "ilike";
3079
+ startswith: "startswith";
3080
+ endswith: "endswith";
3081
+ notset: "notset";
3082
+ between: "between";
3083
+ contains: "contains";
3084
+ "not contains": "not contains";
3085
+ "=?": "=?";
3086
+ }>;
3087
+ value: z.ZodOptional<z.ZodJSONSchema>;
3088
+ valueFrom: z.ZodOptional<z.ZodString>;
3089
+ }, z.core.$strict>, z.ZodObject<{
3090
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3091
+ }, z.core.$strict>, z.ZodObject<{
3092
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3093
+ }, z.core.$strict>]>>>;
3094
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3095
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
3096
+ }, z.core.$strict>, z.ZodObject<{
3097
+ do: z.ZodLiteral<"set">;
899
3098
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
900
- message: z.ZodOptional<z.ZodString>;
901
- level: z.ZodOptional<z.ZodEnum<{
902
- error: "error";
3099
+ field: z.ZodString;
3100
+ value: z.ZodString;
3101
+ }, z.core.$strict>, z.ZodObject<{
3102
+ do: z.ZodLiteral<"clear">;
3103
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3104
+ field: z.ZodString;
3105
+ }, z.core.$strict>, z.ZodObject<{
3106
+ do: z.ZodLiteral<"addLine">;
3107
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3108
+ field: z.ZodString;
3109
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3110
+ }, z.core.$strict>, z.ZodObject<{
3111
+ do: z.ZodLiteral<"check">;
3112
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3113
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3114
+ }, z.core.$strict>, z.ZodObject<{
3115
+ do: z.ZodLiteral<"save">;
3116
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3117
+ }, z.core.$strict>, z.ZodObject<{
3118
+ do: z.ZodLiteral<"reset">;
3119
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3120
+ }, z.core.$strict>, z.ZodObject<{
3121
+ do: z.ZodLiteral<"goTo">;
3122
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3123
+ target: z.ZodString;
3124
+ }, z.core.$strict>, z.ZodObject<{
3125
+ do: z.ZodLiteral<"say">;
3126
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3127
+ message: z.ZodString;
3128
+ tone: z.ZodOptional<z.ZodEnum<{
3129
+ success: "success";
3130
+ info: "info";
903
3131
  warning: "warning";
3132
+ danger: "danger";
3133
+ muted: "muted";
904
3134
  }>>;
905
- }, z.core.$strict>>>;
3135
+ }, z.core.$strict>, z.ZodObject<{
3136
+ do: z.ZodLiteral<"ask">;
3137
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3138
+ message: z.ZodString;
3139
+ }, z.core.$strict>, z.ZodObject<{
3140
+ do: z.ZodLiteral<"call">;
3141
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3142
+ action: z.ZodString;
3143
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3144
+ }, z.core.$strict>, z.ZodObject<{
3145
+ do: z.ZodLiteral<"close">;
3146
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3147
+ }, z.core.$strict>, z.ZodObject<{
3148
+ do: z.ZodLiteral<"reload">;
3149
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3150
+ }, z.core.$strict>, z.ZodObject<{
3151
+ do: z.ZodLiteral<"openUrl">;
3152
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3153
+ url: z.ZodString;
3154
+ newTab: z.ZodOptional<z.ZodBoolean>;
3155
+ }, z.core.$strict>, z.ZodObject<{
3156
+ do: z.ZodLiteral<"archive">;
3157
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3158
+ }, z.core.$strict>, z.ZodObject<{
3159
+ do: z.ZodLiteral<"unarchive">;
3160
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3161
+ }, z.core.$strict>, z.ZodObject<{
3162
+ do: z.ZodLiteral<"duplicate">;
3163
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3164
+ }, z.core.$strict>, z.ZodObject<{
3165
+ do: z.ZodLiteral<"delete">;
3166
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3167
+ }, z.core.$strict>, z.ZodObject<{
3168
+ do: z.ZodLiteral<"post">;
3169
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3170
+ message: z.ZodString;
3171
+ kind: z.ZodOptional<z.ZodEnum<{
3172
+ message: "message";
3173
+ note: "note";
3174
+ }>>;
3175
+ }, z.core.$strict>], "do">>>;
3176
+ action: z.ZodOptional<z.ZodString>;
3177
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3178
+ confirm: z.ZodOptional<z.ZodString>;
3179
+ icon: z.ZodOptional<z.ZodString>;
906
3180
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
907
- readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
908
- required: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3181
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
909
3182
  }, z.core.$strict>>>;
3183
+ pager: z.ZodOptional<z.ZodBoolean>;
3184
+ breadcrumbs: z.ZodOptional<z.ZodBoolean>;
910
3185
  }, z.core.$strict>>;
911
- statusbar: z.ZodOptional<z.ZodObject<{
912
- field: z.ZodString;
913
- visibleStates: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
914
- clickable: z.ZodOptional<z.ZodBoolean>;
915
- position: z.ZodOptional<z.ZodEnum<{
916
- title: "title";
917
- header: "header";
918
- }>>;
3186
+ attachmentPreview: z.ZodOptional<z.ZodObject<{
3187
+ field: z.ZodOptional<z.ZodString>;
3188
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3189
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
919
3190
  }, z.core.$strict>>;
920
- buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3191
+ footer: z.ZodOptional<z.ZodArray<z.ZodObject<{
921
3192
  type: z.ZodLiteral<"button">;
922
3193
  id: z.ZodString;
923
3194
  label: z.ZodString;
@@ -942,6 +3213,35 @@ export declare const PageSchema: z.ZodObject<{
942
3213
  title: z.ZodOptional<z.ZodString>;
943
3214
  record: z.ZodOptional<z.ZodString>;
944
3215
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3216
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3217
+ field: z.ZodString;
3218
+ op: z.ZodEnum<{
3219
+ set: "set";
3220
+ "=": "=";
3221
+ "!=": "!=";
3222
+ "<": "<";
3223
+ ">": ">";
3224
+ "<=": "<=";
3225
+ ">=": ">=";
3226
+ in: "in";
3227
+ "not in": "not in";
3228
+ like: "like";
3229
+ ilike: "ilike";
3230
+ startswith: "startswith";
3231
+ endswith: "endswith";
3232
+ notset: "notset";
3233
+ between: "between";
3234
+ contains: "contains";
3235
+ "not contains": "not contains";
3236
+ "=?": "=?";
3237
+ }>;
3238
+ value: z.ZodOptional<z.ZodJSONSchema>;
3239
+ valueFrom: z.ZodOptional<z.ZodString>;
3240
+ }, z.core.$strict>, z.ZodObject<{
3241
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3242
+ }, z.core.$strict>, z.ZodObject<{
3243
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3244
+ }, z.core.$strict>]>>>;
945
3245
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
946
3246
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
947
3247
  }, z.core.$strict>, z.ZodObject<{
@@ -995,6 +3295,34 @@ export declare const PageSchema: z.ZodObject<{
995
3295
  }, z.core.$strict>, z.ZodObject<{
996
3296
  do: z.ZodLiteral<"close">;
997
3297
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3298
+ }, z.core.$strict>, z.ZodObject<{
3299
+ do: z.ZodLiteral<"reload">;
3300
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3301
+ }, z.core.$strict>, z.ZodObject<{
3302
+ do: z.ZodLiteral<"openUrl">;
3303
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3304
+ url: z.ZodString;
3305
+ newTab: z.ZodOptional<z.ZodBoolean>;
3306
+ }, z.core.$strict>, z.ZodObject<{
3307
+ do: z.ZodLiteral<"archive">;
3308
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3309
+ }, z.core.$strict>, z.ZodObject<{
3310
+ do: z.ZodLiteral<"unarchive">;
3311
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3312
+ }, z.core.$strict>, z.ZodObject<{
3313
+ do: z.ZodLiteral<"duplicate">;
3314
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3315
+ }, z.core.$strict>, z.ZodObject<{
3316
+ do: z.ZodLiteral<"delete">;
3317
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3318
+ }, z.core.$strict>, z.ZodObject<{
3319
+ do: z.ZodLiteral<"post">;
3320
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3321
+ message: z.ZodString;
3322
+ kind: z.ZodOptional<z.ZodEnum<{
3323
+ message: "message";
3324
+ note: "note";
3325
+ }>>;
998
3326
  }, z.core.$strict>], "do">>>;
999
3327
  action: z.ZodOptional<z.ZodString>;
1000
3328
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -1006,10 +3334,22 @@ export declare const PageSchema: z.ZodObject<{
1006
3334
  }>>;
1007
3335
  confirm: z.ZodOptional<z.ZodString>;
1008
3336
  icon: z.ZodOptional<z.ZodString>;
3337
+ hotkey: z.ZodOptional<z.ZodString>;
1009
3338
  colspan: z.ZodOptional<z.ZodInt>;
1010
3339
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3340
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3341
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3342
+ narrow: "narrow";
3343
+ medium: "medium";
3344
+ wide: "wide";
3345
+ }>>>;
1011
3346
  }, z.core.$strict>>>;
1012
- statButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
3347
+ }, z.core.$strict>, z.ZodObject<{
3348
+ type: z.ZodLiteral<"sections">;
3349
+ id: z.ZodString;
3350
+ children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
3351
+ footer: z.ZodOptional<z.ZodArray<z.ZodObject<{
3352
+ type: z.ZodLiteral<"button">;
1013
3353
  id: z.ZodString;
1014
3354
  label: z.ZodString;
1015
3355
  steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1033,6 +3373,35 @@ export declare const PageSchema: z.ZodObject<{
1033
3373
  title: z.ZodOptional<z.ZodString>;
1034
3374
  record: z.ZodOptional<z.ZodString>;
1035
3375
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3376
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3377
+ field: z.ZodString;
3378
+ op: z.ZodEnum<{
3379
+ set: "set";
3380
+ "=": "=";
3381
+ "!=": "!=";
3382
+ "<": "<";
3383
+ ">": ">";
3384
+ "<=": "<=";
3385
+ ">=": ">=";
3386
+ in: "in";
3387
+ "not in": "not in";
3388
+ like: "like";
3389
+ ilike: "ilike";
3390
+ startswith: "startswith";
3391
+ endswith: "endswith";
3392
+ notset: "notset";
3393
+ between: "between";
3394
+ contains: "contains";
3395
+ "not contains": "not contains";
3396
+ "=?": "=?";
3397
+ }>;
3398
+ value: z.ZodOptional<z.ZodJSONSchema>;
3399
+ valueFrom: z.ZodOptional<z.ZodString>;
3400
+ }, z.core.$strict>, z.ZodObject<{
3401
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3402
+ }, z.core.$strict>, z.ZodObject<{
3403
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3404
+ }, z.core.$strict>]>>>;
1036
3405
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1037
3406
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1038
3407
  }, z.core.$strict>, z.ZodObject<{
@@ -1086,72 +3455,73 @@ export declare const PageSchema: z.ZodObject<{
1086
3455
  }, z.core.$strict>, z.ZodObject<{
1087
3456
  do: z.ZodLiteral<"close">;
1088
3457
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1089
- }, z.core.$strict>], "do">>>;
1090
- action: z.ZodOptional<z.ZodString>;
1091
- field: z.ZodOptional<z.ZodString>;
1092
- icon: z.ZodOptional<z.ZodString>;
1093
- invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1094
- }, z.core.$strict>>>;
1095
- ribbon: z.ZodOptional<z.ZodObject<{
1096
- id: z.ZodString;
1097
- label: z.ZodString;
1098
- tone: z.ZodOptional<z.ZodEnum<{
1099
- success: "success";
1100
- info: "info";
1101
- warning: "warning";
1102
- danger: "danger";
1103
- muted: "muted";
1104
- }>>;
1105
- invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1106
- }, z.core.$strict>>;
1107
- alerts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1108
- id: z.ZodString;
1109
- message: z.ZodString;
1110
- tone: z.ZodOptional<z.ZodEnum<{
1111
- success: "success";
1112
- info: "info";
1113
- warning: "warning";
1114
- danger: "danger";
1115
- muted: "muted";
1116
- }>>;
1117
- dismissible: z.ZodOptional<z.ZodBoolean>;
1118
- invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1119
- }, z.core.$strict>>>;
1120
- badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1121
- id: z.ZodString;
1122
- label: z.ZodString;
1123
- tone: z.ZodOptional<z.ZodEnum<{
1124
- success: "success";
1125
- info: "info";
1126
- warning: "warning";
3458
+ }, z.core.$strict>, z.ZodObject<{
3459
+ do: z.ZodLiteral<"reload">;
3460
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3461
+ }, z.core.$strict>, z.ZodObject<{
3462
+ do: z.ZodLiteral<"openUrl">;
3463
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3464
+ url: z.ZodString;
3465
+ newTab: z.ZodOptional<z.ZodBoolean>;
3466
+ }, z.core.$strict>, z.ZodObject<{
3467
+ do: z.ZodLiteral<"archive">;
3468
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3469
+ }, z.core.$strict>, z.ZodObject<{
3470
+ do: z.ZodLiteral<"unarchive">;
3471
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3472
+ }, z.core.$strict>, z.ZodObject<{
3473
+ do: z.ZodLiteral<"duplicate">;
3474
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3475
+ }, z.core.$strict>, z.ZodObject<{
3476
+ do: z.ZodLiteral<"delete">;
3477
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3478
+ }, z.core.$strict>, z.ZodObject<{
3479
+ do: z.ZodLiteral<"post">;
3480
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3481
+ message: z.ZodString;
3482
+ kind: z.ZodOptional<z.ZodEnum<{
3483
+ message: "message";
3484
+ note: "note";
3485
+ }>>;
3486
+ }, z.core.$strict>], "do">>>;
3487
+ action: z.ZodOptional<z.ZodString>;
3488
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
3489
+ style: z.ZodOptional<z.ZodEnum<{
1127
3490
  danger: "danger";
1128
- muted: "muted";
3491
+ primary: "primary";
3492
+ secondary: "secondary";
3493
+ link: "link";
1129
3494
  }>>;
3495
+ confirm: z.ZodOptional<z.ZodString>;
1130
3496
  icon: z.ZodOptional<z.ZodString>;
3497
+ hotkey: z.ZodOptional<z.ZodString>;
3498
+ colspan: z.ZodOptional<z.ZodInt>;
1131
3499
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3500
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3501
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3502
+ narrow: "narrow";
3503
+ medium: "medium";
3504
+ wide: "wide";
3505
+ }>>>;
1132
3506
  }, z.core.$strict>>>;
1133
- children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
1134
- sidePanel: z.ZodOptional<z.ZodObject<{
1135
- type: z.ZodLiteral<"slot">;
1136
- id: z.ZodString;
1137
- name: z.ZodString;
1138
- invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1139
- }, z.core.$strict>>;
1140
- }, z.core.$strict>, z.ZodObject<{
1141
- type: z.ZodLiteral<"sections">;
1142
- id: z.ZodString;
1143
- children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
1144
3507
  }, z.core.$strict>, z.ZodObject<{
1145
3508
  type: z.ZodLiteral<"tabs">;
1146
3509
  id: z.ZodString;
1147
3510
  colspan: z.ZodOptional<z.ZodInt>;
1148
3511
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3512
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3513
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3514
+ narrow: "narrow";
3515
+ medium: "medium";
3516
+ wide: "wide";
3517
+ }>>>;
1149
3518
  children: z.ZodArray<z.ZodObject<{
1150
3519
  type: z.ZodLiteral<"tab">;
1151
3520
  id: z.ZodString;
1152
3521
  label: z.ZodString;
1153
3522
  icon: z.ZodOptional<z.ZodString>;
1154
3523
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3524
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1155
3525
  children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
1156
3526
  }, z.core.$strict>>;
1157
3527
  }, z.core.$strict>, z.ZodObject<{
@@ -1169,6 +3539,7 @@ export declare const PageSchema: z.ZodObject<{
1169
3539
  icon: z.ZodOptional<z.ZodString>;
1170
3540
  optional: z.ZodOptional<z.ZodBoolean>;
1171
3541
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3542
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1172
3543
  children: z.ZodArray<typeof import("./layout.mjs").LayoutNodeSchema>;
1173
3544
  }, z.core.$strict>>;
1174
3545
  }, z.core.$strict>, z.ZodObject<{
@@ -1202,6 +3573,9 @@ export declare const PageSchema: z.ZodObject<{
1202
3573
  endswith: "endswith";
1203
3574
  notset: "notset";
1204
3575
  between: "between";
3576
+ contains: "contains";
3577
+ "not contains": "not contains";
3578
+ "=?": "=?";
1205
3579
  }>;
1206
3580
  value: z.ZodOptional<z.ZodJSONSchema>;
1207
3581
  valueFrom: z.ZodOptional<z.ZodString>;
@@ -1238,6 +3612,35 @@ export declare const PageSchema: z.ZodObject<{
1238
3612
  title: z.ZodOptional<z.ZodString>;
1239
3613
  record: z.ZodOptional<z.ZodString>;
1240
3614
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3615
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3616
+ field: z.ZodString;
3617
+ op: z.ZodEnum<{
3618
+ set: "set";
3619
+ "=": "=";
3620
+ "!=": "!=";
3621
+ "<": "<";
3622
+ ">": ">";
3623
+ "<=": "<=";
3624
+ ">=": ">=";
3625
+ in: "in";
3626
+ "not in": "not in";
3627
+ like: "like";
3628
+ ilike: "ilike";
3629
+ startswith: "startswith";
3630
+ endswith: "endswith";
3631
+ notset: "notset";
3632
+ between: "between";
3633
+ contains: "contains";
3634
+ "not contains": "not contains";
3635
+ "=?": "=?";
3636
+ }>;
3637
+ value: z.ZodOptional<z.ZodJSONSchema>;
3638
+ valueFrom: z.ZodOptional<z.ZodString>;
3639
+ }, z.core.$strict>, z.ZodObject<{
3640
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3641
+ }, z.core.$strict>, z.ZodObject<{
3642
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3643
+ }, z.core.$strict>]>>>;
1241
3644
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1242
3645
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1243
3646
  }, z.core.$strict>, z.ZodObject<{
@@ -1291,6 +3694,34 @@ export declare const PageSchema: z.ZodObject<{
1291
3694
  }, z.core.$strict>, z.ZodObject<{
1292
3695
  do: z.ZodLiteral<"close">;
1293
3696
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3697
+ }, z.core.$strict>, z.ZodObject<{
3698
+ do: z.ZodLiteral<"reload">;
3699
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3700
+ }, z.core.$strict>, z.ZodObject<{
3701
+ do: z.ZodLiteral<"openUrl">;
3702
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3703
+ url: z.ZodString;
3704
+ newTab: z.ZodOptional<z.ZodBoolean>;
3705
+ }, z.core.$strict>, z.ZodObject<{
3706
+ do: z.ZodLiteral<"archive">;
3707
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3708
+ }, z.core.$strict>, z.ZodObject<{
3709
+ do: z.ZodLiteral<"unarchive">;
3710
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3711
+ }, z.core.$strict>, z.ZodObject<{
3712
+ do: z.ZodLiteral<"duplicate">;
3713
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3714
+ }, z.core.$strict>, z.ZodObject<{
3715
+ do: z.ZodLiteral<"delete">;
3716
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3717
+ }, z.core.$strict>, z.ZodObject<{
3718
+ do: z.ZodLiteral<"post">;
3719
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3720
+ message: z.ZodString;
3721
+ kind: z.ZodOptional<z.ZodEnum<{
3722
+ message: "message";
3723
+ note: "note";
3724
+ }>>;
1294
3725
  }, z.core.$strict>], "do">>>;
1295
3726
  action: z.ZodOptional<z.ZodString>;
1296
3727
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -1302,21 +3733,38 @@ export declare const PageSchema: z.ZodObject<{
1302
3733
  }>>;
1303
3734
  confirm: z.ZodOptional<z.ZodString>;
1304
3735
  icon: z.ZodOptional<z.ZodString>;
3736
+ hotkey: z.ZodOptional<z.ZodString>;
1305
3737
  colspan: z.ZodOptional<z.ZodInt>;
1306
3738
  invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3739
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3740
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3741
+ narrow: "narrow";
3742
+ medium: "medium";
3743
+ wide: "wide";
3744
+ }>>>;
1307
3745
  }, z.core.$strict>>>;
1308
3746
  }, z.core.$strict>], "type">;
1309
3747
  maxWidth: z.ZodOptional<z.ZodEnum<{
3748
+ narrow: "narrow";
1310
3749
  medium: "medium";
1311
- full: "full";
1312
3750
  wide: "wide";
1313
- narrow: "narrow";
3751
+ full: "full";
1314
3752
  }>>;
1315
3753
  actionsPosition: z.ZodOptional<z.ZodEnum<{
1316
3754
  top: "top";
1317
3755
  bottom: "bottom";
1318
3756
  }>>;
1319
3757
  look: z.ZodOptional<z.ZodObject<{
3758
+ theme: z.ZodOptional<z.ZodEnum<{
3759
+ material: "material";
3760
+ fluent: "fluent";
3761
+ apple: "apple";
3762
+ bootstrap: "bootstrap";
3763
+ shadcn: "shadcn";
3764
+ ant: "ant";
3765
+ odoo: "odoo";
3766
+ "google-forms": "google-forms";
3767
+ }>>;
1320
3768
  accent: z.ZodOptional<z.ZodString>;
1321
3769
  font: z.ZodOptional<z.ZodEnum<{
1322
3770
  system: "system";
@@ -1339,6 +3787,15 @@ export declare const PageSchema: z.ZodObject<{
1339
3787
  hidden: "hidden";
1340
3788
  }>>;
1341
3789
  labelWidth: z.ZodOptional<z.ZodInt>;
3790
+ helpShown: z.ZodOptional<z.ZodEnum<{
3791
+ below: "below";
3792
+ tooltip: "tooltip";
3793
+ both: "both";
3794
+ }>>;
3795
+ readonlyShown: z.ZodOptional<z.ZodEnum<{
3796
+ text: "text";
3797
+ box: "box";
3798
+ }>>;
1342
3799
  scheme: z.ZodOptional<z.ZodEnum<{
1343
3800
  light: "light";
1344
3801
  dark: "dark";
@@ -1374,6 +3831,35 @@ export declare const PageSchema: z.ZodObject<{
1374
3831
  title: z.ZodOptional<z.ZodString>;
1375
3832
  record: z.ZodOptional<z.ZodString>;
1376
3833
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3834
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3835
+ field: z.ZodString;
3836
+ op: z.ZodEnum<{
3837
+ set: "set";
3838
+ "=": "=";
3839
+ "!=": "!=";
3840
+ "<": "<";
3841
+ ">": ">";
3842
+ "<=": "<=";
3843
+ ">=": ">=";
3844
+ in: "in";
3845
+ "not in": "not in";
3846
+ like: "like";
3847
+ ilike: "ilike";
3848
+ startswith: "startswith";
3849
+ endswith: "endswith";
3850
+ notset: "notset";
3851
+ between: "between";
3852
+ contains: "contains";
3853
+ "not contains": "not contains";
3854
+ "=?": "=?";
3855
+ }>;
3856
+ value: z.ZodOptional<z.ZodJSONSchema>;
3857
+ valueFrom: z.ZodOptional<z.ZodString>;
3858
+ }, z.core.$strict>, z.ZodObject<{
3859
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3860
+ }, z.core.$strict>, z.ZodObject<{
3861
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3862
+ }, z.core.$strict>]>>>;
1377
3863
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1378
3864
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1379
3865
  }, z.core.$strict>, z.ZodObject<{
@@ -1427,6 +3913,34 @@ export declare const PageSchema: z.ZodObject<{
1427
3913
  }, z.core.$strict>, z.ZodObject<{
1428
3914
  do: z.ZodLiteral<"close">;
1429
3915
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3916
+ }, z.core.$strict>, z.ZodObject<{
3917
+ do: z.ZodLiteral<"reload">;
3918
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3919
+ }, z.core.$strict>, z.ZodObject<{
3920
+ do: z.ZodLiteral<"openUrl">;
3921
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3922
+ url: z.ZodString;
3923
+ newTab: z.ZodOptional<z.ZodBoolean>;
3924
+ }, z.core.$strict>, z.ZodObject<{
3925
+ do: z.ZodLiteral<"archive">;
3926
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3927
+ }, z.core.$strict>, z.ZodObject<{
3928
+ do: z.ZodLiteral<"unarchive">;
3929
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3930
+ }, z.core.$strict>, z.ZodObject<{
3931
+ do: z.ZodLiteral<"duplicate">;
3932
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3933
+ }, z.core.$strict>, z.ZodObject<{
3934
+ do: z.ZodLiteral<"delete">;
3935
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3936
+ }, z.core.$strict>, z.ZodObject<{
3937
+ do: z.ZodLiteral<"post">;
3938
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
3939
+ message: z.ZodString;
3940
+ kind: z.ZodOptional<z.ZodEnum<{
3941
+ message: "message";
3942
+ note: "note";
3943
+ }>>;
1430
3944
  }, z.core.$strict>], "do">>>;
1431
3945
  change: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1432
3946
  do: z.ZodLiteral<"open">;
@@ -1449,6 +3963,35 @@ export declare const PageSchema: z.ZodObject<{
1449
3963
  title: z.ZodOptional<z.ZodString>;
1450
3964
  record: z.ZodOptional<z.ZodString>;
1451
3965
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3966
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3967
+ field: z.ZodString;
3968
+ op: z.ZodEnum<{
3969
+ set: "set";
3970
+ "=": "=";
3971
+ "!=": "!=";
3972
+ "<": "<";
3973
+ ">": ">";
3974
+ "<=": "<=";
3975
+ ">=": ">=";
3976
+ in: "in";
3977
+ "not in": "not in";
3978
+ like: "like";
3979
+ ilike: "ilike";
3980
+ startswith: "startswith";
3981
+ endswith: "endswith";
3982
+ notset: "notset";
3983
+ between: "between";
3984
+ contains: "contains";
3985
+ "not contains": "not contains";
3986
+ "=?": "=?";
3987
+ }>;
3988
+ value: z.ZodOptional<z.ZodJSONSchema>;
3989
+ valueFrom: z.ZodOptional<z.ZodString>;
3990
+ }, z.core.$strict>, z.ZodObject<{
3991
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3992
+ }, z.core.$strict>, z.ZodObject<{
3993
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
3994
+ }, z.core.$strict>]>>>;
1452
3995
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1453
3996
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1454
3997
  }, z.core.$strict>, z.ZodObject<{
@@ -1502,6 +4045,34 @@ export declare const PageSchema: z.ZodObject<{
1502
4045
  }, z.core.$strict>, z.ZodObject<{
1503
4046
  do: z.ZodLiteral<"close">;
1504
4047
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4048
+ }, z.core.$strict>, z.ZodObject<{
4049
+ do: z.ZodLiteral<"reload">;
4050
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4051
+ }, z.core.$strict>, z.ZodObject<{
4052
+ do: z.ZodLiteral<"openUrl">;
4053
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4054
+ url: z.ZodString;
4055
+ newTab: z.ZodOptional<z.ZodBoolean>;
4056
+ }, z.core.$strict>, z.ZodObject<{
4057
+ do: z.ZodLiteral<"archive">;
4058
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4059
+ }, z.core.$strict>, z.ZodObject<{
4060
+ do: z.ZodLiteral<"unarchive">;
4061
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4062
+ }, z.core.$strict>, z.ZodObject<{
4063
+ do: z.ZodLiteral<"duplicate">;
4064
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4065
+ }, z.core.$strict>, z.ZodObject<{
4066
+ do: z.ZodLiteral<"delete">;
4067
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4068
+ }, z.core.$strict>, z.ZodObject<{
4069
+ do: z.ZodLiteral<"post">;
4070
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4071
+ message: z.ZodString;
4072
+ kind: z.ZodOptional<z.ZodEnum<{
4073
+ message: "message";
4074
+ note: "note";
4075
+ }>>;
1505
4076
  }, z.core.$strict>], "do">>>>;
1506
4077
  beforeSave: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1507
4078
  do: z.ZodLiteral<"open">;
@@ -1524,6 +4095,35 @@ export declare const PageSchema: z.ZodObject<{
1524
4095
  title: z.ZodOptional<z.ZodString>;
1525
4096
  record: z.ZodOptional<z.ZodString>;
1526
4097
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4098
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4099
+ field: z.ZodString;
4100
+ op: z.ZodEnum<{
4101
+ set: "set";
4102
+ "=": "=";
4103
+ "!=": "!=";
4104
+ "<": "<";
4105
+ ">": ">";
4106
+ "<=": "<=";
4107
+ ">=": ">=";
4108
+ in: "in";
4109
+ "not in": "not in";
4110
+ like: "like";
4111
+ ilike: "ilike";
4112
+ startswith: "startswith";
4113
+ endswith: "endswith";
4114
+ notset: "notset";
4115
+ between: "between";
4116
+ contains: "contains";
4117
+ "not contains": "not contains";
4118
+ "=?": "=?";
4119
+ }>;
4120
+ value: z.ZodOptional<z.ZodJSONSchema>;
4121
+ valueFrom: z.ZodOptional<z.ZodString>;
4122
+ }, z.core.$strict>, z.ZodObject<{
4123
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4124
+ }, z.core.$strict>, z.ZodObject<{
4125
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4126
+ }, z.core.$strict>]>>>;
1527
4127
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1528
4128
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1529
4129
  }, z.core.$strict>, z.ZodObject<{
@@ -1577,6 +4177,34 @@ export declare const PageSchema: z.ZodObject<{
1577
4177
  }, z.core.$strict>, z.ZodObject<{
1578
4178
  do: z.ZodLiteral<"close">;
1579
4179
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4180
+ }, z.core.$strict>, z.ZodObject<{
4181
+ do: z.ZodLiteral<"reload">;
4182
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4183
+ }, z.core.$strict>, z.ZodObject<{
4184
+ do: z.ZodLiteral<"openUrl">;
4185
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4186
+ url: z.ZodString;
4187
+ newTab: z.ZodOptional<z.ZodBoolean>;
4188
+ }, z.core.$strict>, z.ZodObject<{
4189
+ do: z.ZodLiteral<"archive">;
4190
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4191
+ }, z.core.$strict>, z.ZodObject<{
4192
+ do: z.ZodLiteral<"unarchive">;
4193
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4194
+ }, z.core.$strict>, z.ZodObject<{
4195
+ do: z.ZodLiteral<"duplicate">;
4196
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4197
+ }, z.core.$strict>, z.ZodObject<{
4198
+ do: z.ZodLiteral<"delete">;
4199
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4200
+ }, z.core.$strict>, z.ZodObject<{
4201
+ do: z.ZodLiteral<"post">;
4202
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4203
+ message: z.ZodString;
4204
+ kind: z.ZodOptional<z.ZodEnum<{
4205
+ message: "message";
4206
+ note: "note";
4207
+ }>>;
1580
4208
  }, z.core.$strict>], "do">>>;
1581
4209
  afterSave: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1582
4210
  do: z.ZodLiteral<"open">;
@@ -1599,6 +4227,35 @@ export declare const PageSchema: z.ZodObject<{
1599
4227
  title: z.ZodOptional<z.ZodString>;
1600
4228
  record: z.ZodOptional<z.ZodString>;
1601
4229
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4230
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4231
+ field: z.ZodString;
4232
+ op: z.ZodEnum<{
4233
+ set: "set";
4234
+ "=": "=";
4235
+ "!=": "!=";
4236
+ "<": "<";
4237
+ ">": ">";
4238
+ "<=": "<=";
4239
+ ">=": ">=";
4240
+ in: "in";
4241
+ "not in": "not in";
4242
+ like: "like";
4243
+ ilike: "ilike";
4244
+ startswith: "startswith";
4245
+ endswith: "endswith";
4246
+ notset: "notset";
4247
+ between: "between";
4248
+ contains: "contains";
4249
+ "not contains": "not contains";
4250
+ "=?": "=?";
4251
+ }>;
4252
+ value: z.ZodOptional<z.ZodJSONSchema>;
4253
+ valueFrom: z.ZodOptional<z.ZodString>;
4254
+ }, z.core.$strict>, z.ZodObject<{
4255
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4256
+ }, z.core.$strict>, z.ZodObject<{
4257
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4258
+ }, z.core.$strict>]>>>;
1602
4259
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1603
4260
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1604
4261
  }, z.core.$strict>, z.ZodObject<{
@@ -1652,6 +4309,34 @@ export declare const PageSchema: z.ZodObject<{
1652
4309
  }, z.core.$strict>, z.ZodObject<{
1653
4310
  do: z.ZodLiteral<"close">;
1654
4311
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4312
+ }, z.core.$strict>, z.ZodObject<{
4313
+ do: z.ZodLiteral<"reload">;
4314
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4315
+ }, z.core.$strict>, z.ZodObject<{
4316
+ do: z.ZodLiteral<"openUrl">;
4317
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4318
+ url: z.ZodString;
4319
+ newTab: z.ZodOptional<z.ZodBoolean>;
4320
+ }, z.core.$strict>, z.ZodObject<{
4321
+ do: z.ZodLiteral<"archive">;
4322
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4323
+ }, z.core.$strict>, z.ZodObject<{
4324
+ do: z.ZodLiteral<"unarchive">;
4325
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4326
+ }, z.core.$strict>, z.ZodObject<{
4327
+ do: z.ZodLiteral<"duplicate">;
4328
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4329
+ }, z.core.$strict>, z.ZodObject<{
4330
+ do: z.ZodLiteral<"delete">;
4331
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4332
+ }, z.core.$strict>, z.ZodObject<{
4333
+ do: z.ZodLiteral<"post">;
4334
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4335
+ message: z.ZodString;
4336
+ kind: z.ZodOptional<z.ZodEnum<{
4337
+ message: "message";
4338
+ note: "note";
4339
+ }>>;
1655
4340
  }, z.core.$strict>], "do">>>;
1656
4341
  show: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1657
4342
  do: z.ZodLiteral<"open">;
@@ -1674,6 +4359,35 @@ export declare const PageSchema: z.ZodObject<{
1674
4359
  title: z.ZodOptional<z.ZodString>;
1675
4360
  record: z.ZodOptional<z.ZodString>;
1676
4361
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4362
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4363
+ field: z.ZodString;
4364
+ op: z.ZodEnum<{
4365
+ set: "set";
4366
+ "=": "=";
4367
+ "!=": "!=";
4368
+ "<": "<";
4369
+ ">": ">";
4370
+ "<=": "<=";
4371
+ ">=": ">=";
4372
+ in: "in";
4373
+ "not in": "not in";
4374
+ like: "like";
4375
+ ilike: "ilike";
4376
+ startswith: "startswith";
4377
+ endswith: "endswith";
4378
+ notset: "notset";
4379
+ between: "between";
4380
+ contains: "contains";
4381
+ "not contains": "not contains";
4382
+ "=?": "=?";
4383
+ }>;
4384
+ value: z.ZodOptional<z.ZodJSONSchema>;
4385
+ valueFrom: z.ZodOptional<z.ZodString>;
4386
+ }, z.core.$strict>, z.ZodObject<{
4387
+ any: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4388
+ }, z.core.$strict>, z.ZodObject<{
4389
+ all: z.ZodArray<typeof import("./field.mjs").FilterItemSchema>;
4390
+ }, z.core.$strict>]>>>;
1677
4391
  into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1678
4392
  then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1679
4393
  }, z.core.$strict>, z.ZodObject<{
@@ -1727,6 +4441,34 @@ export declare const PageSchema: z.ZodObject<{
1727
4441
  }, z.core.$strict>, z.ZodObject<{
1728
4442
  do: z.ZodLiteral<"close">;
1729
4443
  when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4444
+ }, z.core.$strict>, z.ZodObject<{
4445
+ do: z.ZodLiteral<"reload">;
4446
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4447
+ }, z.core.$strict>, z.ZodObject<{
4448
+ do: z.ZodLiteral<"openUrl">;
4449
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4450
+ url: z.ZodString;
4451
+ newTab: z.ZodOptional<z.ZodBoolean>;
4452
+ }, z.core.$strict>, z.ZodObject<{
4453
+ do: z.ZodLiteral<"archive">;
4454
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4455
+ }, z.core.$strict>, z.ZodObject<{
4456
+ do: z.ZodLiteral<"unarchive">;
4457
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4458
+ }, z.core.$strict>, z.ZodObject<{
4459
+ do: z.ZodLiteral<"duplicate">;
4460
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4461
+ }, z.core.$strict>, z.ZodObject<{
4462
+ do: z.ZodLiteral<"delete">;
4463
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4464
+ }, z.core.$strict>, z.ZodObject<{
4465
+ do: z.ZodLiteral<"post">;
4466
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
4467
+ message: z.ZodString;
4468
+ kind: z.ZodOptional<z.ZodEnum<{
4469
+ message: "message";
4470
+ note: "note";
4471
+ }>>;
1730
4472
  }, z.core.$strict>], "do">>>>;
1731
4473
  }, z.core.$strict>>;
1732
4474
  }, z.core.$strict>;