@fieldia/core 0.32.0 → 0.33.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 (55) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/schema/page.schema.json +121 -1
  4. package/src/index.d.mts +2 -0
  5. package/src/index.d.ts +2 -0
  6. package/src/index.js +10 -2
  7. package/src/index.js.map +1 -1
  8. package/src/index.mjs +3 -0
  9. package/src/index.mjs.map +1 -1
  10. package/src/lib/format/layout.d.mts +856 -6
  11. package/src/lib/format/layout.d.ts +856 -6
  12. package/src/lib/format/layout.js +5 -1
  13. package/src/lib/format/layout.js.map +1 -1
  14. package/src/lib/format/layout.mjs +5 -1
  15. package/src/lib/format/layout.mjs.map +1 -1
  16. package/src/lib/format/loading-schema.d.mts +68 -0
  17. package/src/lib/format/loading-schema.d.ts +68 -0
  18. package/src/lib/format/loading-schema.js +49 -0
  19. package/src/lib/format/loading-schema.js.map +1 -0
  20. package/src/lib/format/loading-schema.mjs +45 -0
  21. package/src/lib/format/loading-schema.mjs.map +1 -0
  22. package/src/lib/format/loading.d.mts +77 -0
  23. package/src/lib/format/loading.d.ts +77 -0
  24. package/src/lib/format/loading.js +51 -0
  25. package/src/lib/format/loading.js.map +1 -0
  26. package/src/lib/format/loading.mjs +48 -0
  27. package/src/lib/format/loading.mjs.map +1 -0
  28. package/src/lib/format/page.d.mts +254 -2
  29. package/src/lib/format/page.d.ts +254 -2
  30. package/src/lib/format/page.js +2 -0
  31. package/src/lib/format/page.js.map +1 -1
  32. package/src/lib/format/page.mjs +2 -0
  33. package/src/lib/format/page.mjs.map +1 -1
  34. package/src/lib/format/upgrade.d.mts +3 -1
  35. package/src/lib/format/upgrade.d.ts +3 -1
  36. package/src/lib/format/upgrade.js +3 -1
  37. package/src/lib/format/upgrade.js.map +1 -1
  38. package/src/lib/format/upgrade.mjs +3 -1
  39. package/src/lib/format/upgrade.mjs.map +1 -1
  40. package/src/lib/format/version.d.mts +2 -2
  41. package/src/lib/format/version.d.ts +2 -2
  42. package/src/lib/format/version.js +2 -2
  43. package/src/lib/format/version.js.map +1 -1
  44. package/src/lib/format/version.mjs +2 -2
  45. package/src/lib/format/version.mjs.map +1 -1
  46. package/src/lib/record/data-source.d.mts +6 -0
  47. package/src/lib/record/data-source.d.ts +6 -0
  48. package/src/lib/record/data-source.js.map +1 -1
  49. package/src/lib/record/data-source.mjs.map +1 -1
  50. package/src/runtime.d.mts +1 -0
  51. package/src/runtime.d.ts +1 -0
  52. package/src/runtime.js +6 -4
  53. package/src/runtime.js.map +1 -1
  54. package/src/runtime.mjs +1 -0
  55. package/src/runtime.mjs.map +1 -1
@@ -4,6 +4,7 @@ import { FilterItemSchema, ModifierSchema, type FilterItem, type LinkedField, ty
4
4
  import { type ActionStep } from './actions';
5
5
  import { type JsonValue } from './json';
6
6
  import { type InputMode } from './autofill-group';
7
+ import type { PageLoading } from './loading';
7
8
  import { type DatePeriod } from '../record/periods';
8
9
  import type { TotalKind } from '../record/data-source';
9
10
  /**
@@ -570,6 +571,8 @@ export interface RelatedNode {
570
571
  hideOn?: ScreenWidth[];
571
572
  /** `false`: left out on paper (Ctrl+P, Print), as an invoice leaves out its journal items: shown on screen as ever. */
572
573
  print?: boolean;
574
+ /** How it looks while its records come, are asked again and its next page comes, over the page's (`Page.loading`). */
575
+ loading?: PageLoading;
573
576
  }
574
577
  /** A line along the roads between a map's layers: from one place to another, or through a layer's lines in their order. */
575
578
  export interface MapRoute {
@@ -686,6 +689,8 @@ export interface MapNode {
686
689
  roles?: Roles;
687
690
  /** Hidden at these widths of the form, such as a phone's: `["narrow"]`. */
688
691
  hideOn?: ScreenWidth[];
692
+ /** How it looks while its map and its places come (`first`), over the page's (`Page.loading`). */
693
+ loading?: PageLoading;
689
694
  }
690
695
  /** A named place the app fills with its own content, such as an activity feed. */
691
696
  export interface SlotNode {
@@ -1422,6 +1427,11 @@ export interface ListNode {
1422
1427
  * is. Off unless given.
1423
1428
  */
1424
1429
  editable?: boolean | ListEditable;
1430
+ /**
1431
+ * How it looks while its records come (`first`), are asked again (`refresh`) and its next ones come (`more`) — its
1432
+ * map's too — over the page's (`Page.loading`): `{ "first": "spinner", "refresh": "dim" }`.
1433
+ */
1434
+ loading?: PageLoading;
1425
1435
  }
1426
1436
  /** What a list changes in place (`ListNode.editable`). */
1427
1437
  export interface ListEditable {
@@ -3024,6 +3034,66 @@ export declare const MapNodeSchema: z.ZodObject<{
3024
3034
  medium: "medium";
3025
3035
  wide: "wide";
3026
3036
  }>>>;
3037
+ loading: z.ZodOptional<z.ZodObject<{
3038
+ first: z.ZodOptional<z.ZodEnum<{
3039
+ text: "text";
3040
+ custom: "custom";
3041
+ skeleton: "skeleton";
3042
+ spinner: "spinner";
3043
+ progress: "progress";
3044
+ none: "none";
3045
+ }>>;
3046
+ refresh: z.ZodOptional<z.ZodEnum<{
3047
+ custom: "custom";
3048
+ skeleton: "skeleton";
3049
+ spinner: "spinner";
3050
+ none: "none";
3051
+ keep: "keep";
3052
+ dim: "dim";
3053
+ }>>;
3054
+ more: z.ZodOptional<z.ZodEnum<{
3055
+ custom: "custom";
3056
+ skeleton: "skeleton";
3057
+ spinner: "spinner";
3058
+ none: "none";
3059
+ row: "row";
3060
+ }>>;
3061
+ search: z.ZodOptional<z.ZodEnum<{
3062
+ custom: "custom";
3063
+ spinner: "spinner";
3064
+ none: "none";
3065
+ inline: "inline";
3066
+ }>>;
3067
+ action: z.ZodOptional<z.ZodEnum<{
3068
+ custom: "custom";
3069
+ button: "button";
3070
+ none: "none";
3071
+ bar: "bar";
3072
+ overlay: "overlay";
3073
+ }>>;
3074
+ skeleton: z.ZodOptional<z.ZodEnum<{
3075
+ shimmer: "shimmer";
3076
+ pulse: "pulse";
3077
+ static: "static";
3078
+ }>>;
3079
+ spinner: z.ZodOptional<z.ZodEnum<{
3080
+ ring: "ring";
3081
+ dots: "dots";
3082
+ }>>;
3083
+ progress: z.ZodOptional<z.ZodEnum<{
3084
+ top: "top";
3085
+ inline: "inline";
3086
+ }>>;
3087
+ delay: z.ZodOptional<z.ZodInt>;
3088
+ minShown: z.ZodOptional<z.ZodInt>;
3089
+ slowAfter: z.ZodOptional<z.ZodInt>;
3090
+ timeout: z.ZodOptional<z.ZodInt>;
3091
+ error: z.ZodOptional<z.ZodEnum<{
3092
+ custom: "custom";
3093
+ inline: "inline";
3094
+ toast: "toast";
3095
+ }>>;
3096
+ }, z.z.core.$strict>>;
3027
3097
  }, z.z.core.$strict>;
3028
3098
  export declare const SlotNodeSchema: z.ZodObject<{
3029
3099
  type: z.ZodLiteral<"slot">;
@@ -4128,6 +4198,66 @@ export declare const RelatedNodeSchema: z.ZodObject<{
4128
4198
  wide: "wide";
4129
4199
  }>>>;
4130
4200
  print: z.ZodOptional<z.ZodBoolean>;
4201
+ loading: z.ZodOptional<z.ZodObject<{
4202
+ first: z.ZodOptional<z.ZodEnum<{
4203
+ text: "text";
4204
+ custom: "custom";
4205
+ skeleton: "skeleton";
4206
+ spinner: "spinner";
4207
+ progress: "progress";
4208
+ none: "none";
4209
+ }>>;
4210
+ refresh: z.ZodOptional<z.ZodEnum<{
4211
+ custom: "custom";
4212
+ skeleton: "skeleton";
4213
+ spinner: "spinner";
4214
+ none: "none";
4215
+ keep: "keep";
4216
+ dim: "dim";
4217
+ }>>;
4218
+ more: z.ZodOptional<z.ZodEnum<{
4219
+ custom: "custom";
4220
+ skeleton: "skeleton";
4221
+ spinner: "spinner";
4222
+ none: "none";
4223
+ row: "row";
4224
+ }>>;
4225
+ search: z.ZodOptional<z.ZodEnum<{
4226
+ custom: "custom";
4227
+ spinner: "spinner";
4228
+ none: "none";
4229
+ inline: "inline";
4230
+ }>>;
4231
+ action: z.ZodOptional<z.ZodEnum<{
4232
+ custom: "custom";
4233
+ button: "button";
4234
+ none: "none";
4235
+ bar: "bar";
4236
+ overlay: "overlay";
4237
+ }>>;
4238
+ skeleton: z.ZodOptional<z.ZodEnum<{
4239
+ shimmer: "shimmer";
4240
+ pulse: "pulse";
4241
+ static: "static";
4242
+ }>>;
4243
+ spinner: z.ZodOptional<z.ZodEnum<{
4244
+ ring: "ring";
4245
+ dots: "dots";
4246
+ }>>;
4247
+ progress: z.ZodOptional<z.ZodEnum<{
4248
+ top: "top";
4249
+ inline: "inline";
4250
+ }>>;
4251
+ delay: z.ZodOptional<z.ZodInt>;
4252
+ minShown: z.ZodOptional<z.ZodInt>;
4253
+ slowAfter: z.ZodOptional<z.ZodInt>;
4254
+ timeout: z.ZodOptional<z.ZodInt>;
4255
+ error: z.ZodOptional<z.ZodEnum<{
4256
+ custom: "custom";
4257
+ inline: "inline";
4258
+ toast: "toast";
4259
+ }>>;
4260
+ }, z.z.core.$strict>>;
4131
4261
  }, z.z.core.$strict>;
4132
4262
  export declare const FormNodeSchema: z.ZodObject<{
4133
4263
  type: z.ZodLiteral<"form">;
@@ -4161,11 +4291,11 @@ export declare const SectionNodeSchema: z.ZodObject<{
4161
4291
  collapsed: z.ZodOptional<z.ZodBoolean>;
4162
4292
  colspan: z.ZodOptional<z.ZodInt>;
4163
4293
  style: z.ZodOptional<z.ZodEnum<{
4294
+ inline: "inline";
4164
4295
  card: "card";
4165
4296
  plain: "plain";
4166
4297
  line: "line";
4167
4298
  framed: "framed";
4168
- inline: "inline";
4169
4299
  }>>;
4170
4300
  labels: z.ZodOptional<z.ZodEnum<{
4171
4301
  above: "above";
@@ -4752,11 +4882,11 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4752
4882
  collapsed: z.ZodOptional<z.ZodBoolean>;
4753
4883
  colspan: z.ZodOptional<z.ZodInt>;
4754
4884
  style: z.ZodOptional<z.ZodEnum<{
4885
+ inline: "inline";
4755
4886
  card: "card";
4756
4887
  plain: "plain";
4757
4888
  line: "line";
4758
4889
  framed: "framed";
4759
- inline: "inline";
4760
4890
  }>>;
4761
4891
  labels: z.ZodOptional<z.ZodEnum<{
4762
4892
  above: "above";
@@ -5170,6 +5300,66 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5170
5300
  medium: "medium";
5171
5301
  wide: "wide";
5172
5302
  }>>>;
5303
+ loading: z.ZodOptional<z.ZodObject<{
5304
+ first: z.ZodOptional<z.ZodEnum<{
5305
+ text: "text";
5306
+ custom: "custom";
5307
+ skeleton: "skeleton";
5308
+ spinner: "spinner";
5309
+ progress: "progress";
5310
+ none: "none";
5311
+ }>>;
5312
+ refresh: z.ZodOptional<z.ZodEnum<{
5313
+ custom: "custom";
5314
+ skeleton: "skeleton";
5315
+ spinner: "spinner";
5316
+ none: "none";
5317
+ keep: "keep";
5318
+ dim: "dim";
5319
+ }>>;
5320
+ more: z.ZodOptional<z.ZodEnum<{
5321
+ custom: "custom";
5322
+ skeleton: "skeleton";
5323
+ spinner: "spinner";
5324
+ none: "none";
5325
+ row: "row";
5326
+ }>>;
5327
+ search: z.ZodOptional<z.ZodEnum<{
5328
+ custom: "custom";
5329
+ spinner: "spinner";
5330
+ none: "none";
5331
+ inline: "inline";
5332
+ }>>;
5333
+ action: z.ZodOptional<z.ZodEnum<{
5334
+ custom: "custom";
5335
+ button: "button";
5336
+ none: "none";
5337
+ bar: "bar";
5338
+ overlay: "overlay";
5339
+ }>>;
5340
+ skeleton: z.ZodOptional<z.ZodEnum<{
5341
+ shimmer: "shimmer";
5342
+ pulse: "pulse";
5343
+ static: "static";
5344
+ }>>;
5345
+ spinner: z.ZodOptional<z.ZodEnum<{
5346
+ ring: "ring";
5347
+ dots: "dots";
5348
+ }>>;
5349
+ progress: z.ZodOptional<z.ZodEnum<{
5350
+ top: "top";
5351
+ inline: "inline";
5352
+ }>>;
5353
+ delay: z.ZodOptional<z.ZodInt>;
5354
+ minShown: z.ZodOptional<z.ZodInt>;
5355
+ slowAfter: z.ZodOptional<z.ZodInt>;
5356
+ timeout: z.ZodOptional<z.ZodInt>;
5357
+ error: z.ZodOptional<z.ZodEnum<{
5358
+ custom: "custom";
5359
+ inline: "inline";
5360
+ toast: "toast";
5361
+ }>>;
5362
+ }, z.z.core.$strict>>;
5173
5363
  }, z.z.core.$strict>, z.ZodObject<{
5174
5364
  type: z.ZodLiteral<"related">;
5175
5365
  id: z.ZodString;
@@ -5874,6 +6064,66 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5874
6064
  wide: "wide";
5875
6065
  }>>>;
5876
6066
  print: z.ZodOptional<z.ZodBoolean>;
6067
+ loading: z.ZodOptional<z.ZodObject<{
6068
+ first: z.ZodOptional<z.ZodEnum<{
6069
+ text: "text";
6070
+ custom: "custom";
6071
+ skeleton: "skeleton";
6072
+ spinner: "spinner";
6073
+ progress: "progress";
6074
+ none: "none";
6075
+ }>>;
6076
+ refresh: z.ZodOptional<z.ZodEnum<{
6077
+ custom: "custom";
6078
+ skeleton: "skeleton";
6079
+ spinner: "spinner";
6080
+ none: "none";
6081
+ keep: "keep";
6082
+ dim: "dim";
6083
+ }>>;
6084
+ more: z.ZodOptional<z.ZodEnum<{
6085
+ custom: "custom";
6086
+ skeleton: "skeleton";
6087
+ spinner: "spinner";
6088
+ none: "none";
6089
+ row: "row";
6090
+ }>>;
6091
+ search: z.ZodOptional<z.ZodEnum<{
6092
+ custom: "custom";
6093
+ spinner: "spinner";
6094
+ none: "none";
6095
+ inline: "inline";
6096
+ }>>;
6097
+ action: z.ZodOptional<z.ZodEnum<{
6098
+ custom: "custom";
6099
+ button: "button";
6100
+ none: "none";
6101
+ bar: "bar";
6102
+ overlay: "overlay";
6103
+ }>>;
6104
+ skeleton: z.ZodOptional<z.ZodEnum<{
6105
+ shimmer: "shimmer";
6106
+ pulse: "pulse";
6107
+ static: "static";
6108
+ }>>;
6109
+ spinner: z.ZodOptional<z.ZodEnum<{
6110
+ ring: "ring";
6111
+ dots: "dots";
6112
+ }>>;
6113
+ progress: z.ZodOptional<z.ZodEnum<{
6114
+ top: "top";
6115
+ inline: "inline";
6116
+ }>>;
6117
+ delay: z.ZodOptional<z.ZodInt>;
6118
+ minShown: z.ZodOptional<z.ZodInt>;
6119
+ slowAfter: z.ZodOptional<z.ZodInt>;
6120
+ timeout: z.ZodOptional<z.ZodInt>;
6121
+ error: z.ZodOptional<z.ZodEnum<{
6122
+ custom: "custom";
6123
+ inline: "inline";
6124
+ toast: "toast";
6125
+ }>>;
6126
+ }, z.z.core.$strict>>;
5877
6127
  }, z.z.core.$strict>], "type">;
5878
6128
  export declare const StepNodeSchema: z.ZodObject<{
5879
6129
  type: z.ZodLiteral<"step">;
@@ -7715,11 +7965,11 @@ export declare const HeadBandSchema: z.ZodObject<{
7715
7965
  collapsed: z.ZodOptional<z.ZodBoolean>;
7716
7966
  colspan: z.ZodOptional<z.ZodInt>;
7717
7967
  style: z.ZodOptional<z.ZodEnum<{
7968
+ inline: "inline";
7718
7969
  card: "card";
7719
7970
  plain: "plain";
7720
7971
  line: "line";
7721
7972
  framed: "framed";
7722
- inline: "inline";
7723
7973
  }>>;
7724
7974
  labels: z.ZodOptional<z.ZodEnum<{
7725
7975
  above: "above";
@@ -8133,6 +8383,66 @@ export declare const HeadBandSchema: z.ZodObject<{
8133
8383
  medium: "medium";
8134
8384
  wide: "wide";
8135
8385
  }>>>;
8386
+ loading: z.ZodOptional<z.ZodObject<{
8387
+ first: z.ZodOptional<z.ZodEnum<{
8388
+ text: "text";
8389
+ custom: "custom";
8390
+ skeleton: "skeleton";
8391
+ spinner: "spinner";
8392
+ progress: "progress";
8393
+ none: "none";
8394
+ }>>;
8395
+ refresh: z.ZodOptional<z.ZodEnum<{
8396
+ custom: "custom";
8397
+ skeleton: "skeleton";
8398
+ spinner: "spinner";
8399
+ none: "none";
8400
+ keep: "keep";
8401
+ dim: "dim";
8402
+ }>>;
8403
+ more: z.ZodOptional<z.ZodEnum<{
8404
+ custom: "custom";
8405
+ skeleton: "skeleton";
8406
+ spinner: "spinner";
8407
+ none: "none";
8408
+ row: "row";
8409
+ }>>;
8410
+ search: z.ZodOptional<z.ZodEnum<{
8411
+ custom: "custom";
8412
+ spinner: "spinner";
8413
+ none: "none";
8414
+ inline: "inline";
8415
+ }>>;
8416
+ action: z.ZodOptional<z.ZodEnum<{
8417
+ custom: "custom";
8418
+ button: "button";
8419
+ none: "none";
8420
+ bar: "bar";
8421
+ overlay: "overlay";
8422
+ }>>;
8423
+ skeleton: z.ZodOptional<z.ZodEnum<{
8424
+ shimmer: "shimmer";
8425
+ pulse: "pulse";
8426
+ static: "static";
8427
+ }>>;
8428
+ spinner: z.ZodOptional<z.ZodEnum<{
8429
+ ring: "ring";
8430
+ dots: "dots";
8431
+ }>>;
8432
+ progress: z.ZodOptional<z.ZodEnum<{
8433
+ top: "top";
8434
+ inline: "inline";
8435
+ }>>;
8436
+ delay: z.ZodOptional<z.ZodInt>;
8437
+ minShown: z.ZodOptional<z.ZodInt>;
8438
+ slowAfter: z.ZodOptional<z.ZodInt>;
8439
+ timeout: z.ZodOptional<z.ZodInt>;
8440
+ error: z.ZodOptional<z.ZodEnum<{
8441
+ custom: "custom";
8442
+ inline: "inline";
8443
+ toast: "toast";
8444
+ }>>;
8445
+ }, z.z.core.$strict>>;
8136
8446
  }, z.z.core.$strict>, z.ZodObject<{
8137
8447
  type: z.ZodLiteral<"related">;
8138
8448
  id: z.ZodString;
@@ -8837,6 +9147,66 @@ export declare const HeadBandSchema: z.ZodObject<{
8837
9147
  wide: "wide";
8838
9148
  }>>>;
8839
9149
  print: z.ZodOptional<z.ZodBoolean>;
9150
+ loading: z.ZodOptional<z.ZodObject<{
9151
+ first: z.ZodOptional<z.ZodEnum<{
9152
+ text: "text";
9153
+ custom: "custom";
9154
+ skeleton: "skeleton";
9155
+ spinner: "spinner";
9156
+ progress: "progress";
9157
+ none: "none";
9158
+ }>>;
9159
+ refresh: z.ZodOptional<z.ZodEnum<{
9160
+ custom: "custom";
9161
+ skeleton: "skeleton";
9162
+ spinner: "spinner";
9163
+ none: "none";
9164
+ keep: "keep";
9165
+ dim: "dim";
9166
+ }>>;
9167
+ more: z.ZodOptional<z.ZodEnum<{
9168
+ custom: "custom";
9169
+ skeleton: "skeleton";
9170
+ spinner: "spinner";
9171
+ none: "none";
9172
+ row: "row";
9173
+ }>>;
9174
+ search: z.ZodOptional<z.ZodEnum<{
9175
+ custom: "custom";
9176
+ spinner: "spinner";
9177
+ none: "none";
9178
+ inline: "inline";
9179
+ }>>;
9180
+ action: z.ZodOptional<z.ZodEnum<{
9181
+ custom: "custom";
9182
+ button: "button";
9183
+ none: "none";
9184
+ bar: "bar";
9185
+ overlay: "overlay";
9186
+ }>>;
9187
+ skeleton: z.ZodOptional<z.ZodEnum<{
9188
+ shimmer: "shimmer";
9189
+ pulse: "pulse";
9190
+ static: "static";
9191
+ }>>;
9192
+ spinner: z.ZodOptional<z.ZodEnum<{
9193
+ ring: "ring";
9194
+ dots: "dots";
9195
+ }>>;
9196
+ progress: z.ZodOptional<z.ZodEnum<{
9197
+ top: "top";
9198
+ inline: "inline";
9199
+ }>>;
9200
+ delay: z.ZodOptional<z.ZodInt>;
9201
+ minShown: z.ZodOptional<z.ZodInt>;
9202
+ slowAfter: z.ZodOptional<z.ZodInt>;
9203
+ timeout: z.ZodOptional<z.ZodInt>;
9204
+ error: z.ZodOptional<z.ZodEnum<{
9205
+ custom: "custom";
9206
+ inline: "inline";
9207
+ toast: "toast";
9208
+ }>>;
9209
+ }, z.z.core.$strict>>;
8840
9210
  }, z.z.core.$strict>], "type">>;
8841
9211
  }, z.z.core.$strict>;
8842
9212
  /** A record's head drawn as a work item's: kind, row of people and links, actions, band, "Updated by", Copy title. */
@@ -9974,11 +10344,11 @@ export declare const SheetHeadSchema: z.ZodObject<{
9974
10344
  collapsed: z.ZodOptional<z.ZodBoolean>;
9975
10345
  colspan: z.ZodOptional<z.ZodInt>;
9976
10346
  style: z.ZodOptional<z.ZodEnum<{
10347
+ inline: "inline";
9977
10348
  card: "card";
9978
10349
  plain: "plain";
9979
10350
  line: "line";
9980
10351
  framed: "framed";
9981
- inline: "inline";
9982
10352
  }>>;
9983
10353
  labels: z.ZodOptional<z.ZodEnum<{
9984
10354
  above: "above";
@@ -10392,6 +10762,66 @@ export declare const SheetHeadSchema: z.ZodObject<{
10392
10762
  medium: "medium";
10393
10763
  wide: "wide";
10394
10764
  }>>>;
10765
+ loading: z.ZodOptional<z.ZodObject<{
10766
+ first: z.ZodOptional<z.ZodEnum<{
10767
+ text: "text";
10768
+ custom: "custom";
10769
+ skeleton: "skeleton";
10770
+ spinner: "spinner";
10771
+ progress: "progress";
10772
+ none: "none";
10773
+ }>>;
10774
+ refresh: z.ZodOptional<z.ZodEnum<{
10775
+ custom: "custom";
10776
+ skeleton: "skeleton";
10777
+ spinner: "spinner";
10778
+ none: "none";
10779
+ keep: "keep";
10780
+ dim: "dim";
10781
+ }>>;
10782
+ more: z.ZodOptional<z.ZodEnum<{
10783
+ custom: "custom";
10784
+ skeleton: "skeleton";
10785
+ spinner: "spinner";
10786
+ none: "none";
10787
+ row: "row";
10788
+ }>>;
10789
+ search: z.ZodOptional<z.ZodEnum<{
10790
+ custom: "custom";
10791
+ spinner: "spinner";
10792
+ none: "none";
10793
+ inline: "inline";
10794
+ }>>;
10795
+ action: z.ZodOptional<z.ZodEnum<{
10796
+ custom: "custom";
10797
+ button: "button";
10798
+ none: "none";
10799
+ bar: "bar";
10800
+ overlay: "overlay";
10801
+ }>>;
10802
+ skeleton: z.ZodOptional<z.ZodEnum<{
10803
+ shimmer: "shimmer";
10804
+ pulse: "pulse";
10805
+ static: "static";
10806
+ }>>;
10807
+ spinner: z.ZodOptional<z.ZodEnum<{
10808
+ ring: "ring";
10809
+ dots: "dots";
10810
+ }>>;
10811
+ progress: z.ZodOptional<z.ZodEnum<{
10812
+ top: "top";
10813
+ inline: "inline";
10814
+ }>>;
10815
+ delay: z.ZodOptional<z.ZodInt>;
10816
+ minShown: z.ZodOptional<z.ZodInt>;
10817
+ slowAfter: z.ZodOptional<z.ZodInt>;
10818
+ timeout: z.ZodOptional<z.ZodInt>;
10819
+ error: z.ZodOptional<z.ZodEnum<{
10820
+ custom: "custom";
10821
+ inline: "inline";
10822
+ toast: "toast";
10823
+ }>>;
10824
+ }, z.z.core.$strict>>;
10395
10825
  }, z.z.core.$strict>, z.ZodObject<{
10396
10826
  type: z.ZodLiteral<"related">;
10397
10827
  id: z.ZodString;
@@ -11096,6 +11526,66 @@ export declare const SheetHeadSchema: z.ZodObject<{
11096
11526
  wide: "wide";
11097
11527
  }>>>;
11098
11528
  print: z.ZodOptional<z.ZodBoolean>;
11529
+ loading: z.ZodOptional<z.ZodObject<{
11530
+ first: z.ZodOptional<z.ZodEnum<{
11531
+ text: "text";
11532
+ custom: "custom";
11533
+ skeleton: "skeleton";
11534
+ spinner: "spinner";
11535
+ progress: "progress";
11536
+ none: "none";
11537
+ }>>;
11538
+ refresh: z.ZodOptional<z.ZodEnum<{
11539
+ custom: "custom";
11540
+ skeleton: "skeleton";
11541
+ spinner: "spinner";
11542
+ none: "none";
11543
+ keep: "keep";
11544
+ dim: "dim";
11545
+ }>>;
11546
+ more: z.ZodOptional<z.ZodEnum<{
11547
+ custom: "custom";
11548
+ skeleton: "skeleton";
11549
+ spinner: "spinner";
11550
+ none: "none";
11551
+ row: "row";
11552
+ }>>;
11553
+ search: z.ZodOptional<z.ZodEnum<{
11554
+ custom: "custom";
11555
+ spinner: "spinner";
11556
+ none: "none";
11557
+ inline: "inline";
11558
+ }>>;
11559
+ action: z.ZodOptional<z.ZodEnum<{
11560
+ custom: "custom";
11561
+ button: "button";
11562
+ none: "none";
11563
+ bar: "bar";
11564
+ overlay: "overlay";
11565
+ }>>;
11566
+ skeleton: z.ZodOptional<z.ZodEnum<{
11567
+ shimmer: "shimmer";
11568
+ pulse: "pulse";
11569
+ static: "static";
11570
+ }>>;
11571
+ spinner: z.ZodOptional<z.ZodEnum<{
11572
+ ring: "ring";
11573
+ dots: "dots";
11574
+ }>>;
11575
+ progress: z.ZodOptional<z.ZodEnum<{
11576
+ top: "top";
11577
+ inline: "inline";
11578
+ }>>;
11579
+ delay: z.ZodOptional<z.ZodInt>;
11580
+ minShown: z.ZodOptional<z.ZodInt>;
11581
+ slowAfter: z.ZodOptional<z.ZodInt>;
11582
+ timeout: z.ZodOptional<z.ZodInt>;
11583
+ error: z.ZodOptional<z.ZodEnum<{
11584
+ custom: "custom";
11585
+ inline: "inline";
11586
+ toast: "toast";
11587
+ }>>;
11588
+ }, z.z.core.$strict>>;
11099
11589
  }, z.z.core.$strict>], "type">>;
11100
11590
  }, z.z.core.$strict>>;
11101
11591
  updated: z.ZodOptional<z.ZodObject<{
@@ -12242,11 +12732,11 @@ export declare const SheetNodeSchema: z.ZodObject<{
12242
12732
  collapsed: z.ZodOptional<z.ZodBoolean>;
12243
12733
  colspan: z.ZodOptional<z.ZodInt>;
12244
12734
  style: z.ZodOptional<z.ZodEnum<{
12735
+ inline: "inline";
12245
12736
  card: "card";
12246
12737
  plain: "plain";
12247
12738
  line: "line";
12248
12739
  framed: "framed";
12249
- inline: "inline";
12250
12740
  }>>;
12251
12741
  labels: z.ZodOptional<z.ZodEnum<{
12252
12742
  above: "above";
@@ -12660,6 +13150,66 @@ export declare const SheetNodeSchema: z.ZodObject<{
12660
13150
  medium: "medium";
12661
13151
  wide: "wide";
12662
13152
  }>>>;
13153
+ loading: z.ZodOptional<z.ZodObject<{
13154
+ first: z.ZodOptional<z.ZodEnum<{
13155
+ text: "text";
13156
+ custom: "custom";
13157
+ skeleton: "skeleton";
13158
+ spinner: "spinner";
13159
+ progress: "progress";
13160
+ none: "none";
13161
+ }>>;
13162
+ refresh: z.ZodOptional<z.ZodEnum<{
13163
+ custom: "custom";
13164
+ skeleton: "skeleton";
13165
+ spinner: "spinner";
13166
+ none: "none";
13167
+ keep: "keep";
13168
+ dim: "dim";
13169
+ }>>;
13170
+ more: z.ZodOptional<z.ZodEnum<{
13171
+ custom: "custom";
13172
+ skeleton: "skeleton";
13173
+ spinner: "spinner";
13174
+ none: "none";
13175
+ row: "row";
13176
+ }>>;
13177
+ search: z.ZodOptional<z.ZodEnum<{
13178
+ custom: "custom";
13179
+ spinner: "spinner";
13180
+ none: "none";
13181
+ inline: "inline";
13182
+ }>>;
13183
+ action: z.ZodOptional<z.ZodEnum<{
13184
+ custom: "custom";
13185
+ button: "button";
13186
+ none: "none";
13187
+ bar: "bar";
13188
+ overlay: "overlay";
13189
+ }>>;
13190
+ skeleton: z.ZodOptional<z.ZodEnum<{
13191
+ shimmer: "shimmer";
13192
+ pulse: "pulse";
13193
+ static: "static";
13194
+ }>>;
13195
+ spinner: z.ZodOptional<z.ZodEnum<{
13196
+ ring: "ring";
13197
+ dots: "dots";
13198
+ }>>;
13199
+ progress: z.ZodOptional<z.ZodEnum<{
13200
+ top: "top";
13201
+ inline: "inline";
13202
+ }>>;
13203
+ delay: z.ZodOptional<z.ZodInt>;
13204
+ minShown: z.ZodOptional<z.ZodInt>;
13205
+ slowAfter: z.ZodOptional<z.ZodInt>;
13206
+ timeout: z.ZodOptional<z.ZodInt>;
13207
+ error: z.ZodOptional<z.ZodEnum<{
13208
+ custom: "custom";
13209
+ inline: "inline";
13210
+ toast: "toast";
13211
+ }>>;
13212
+ }, z.z.core.$strict>>;
12663
13213
  }, z.z.core.$strict>, z.ZodObject<{
12664
13214
  type: z.ZodLiteral<"related">;
12665
13215
  id: z.ZodString;
@@ -13364,6 +13914,66 @@ export declare const SheetNodeSchema: z.ZodObject<{
13364
13914
  wide: "wide";
13365
13915
  }>>>;
13366
13916
  print: z.ZodOptional<z.ZodBoolean>;
13917
+ loading: z.ZodOptional<z.ZodObject<{
13918
+ first: z.ZodOptional<z.ZodEnum<{
13919
+ text: "text";
13920
+ custom: "custom";
13921
+ skeleton: "skeleton";
13922
+ spinner: "spinner";
13923
+ progress: "progress";
13924
+ none: "none";
13925
+ }>>;
13926
+ refresh: z.ZodOptional<z.ZodEnum<{
13927
+ custom: "custom";
13928
+ skeleton: "skeleton";
13929
+ spinner: "spinner";
13930
+ none: "none";
13931
+ keep: "keep";
13932
+ dim: "dim";
13933
+ }>>;
13934
+ more: z.ZodOptional<z.ZodEnum<{
13935
+ custom: "custom";
13936
+ skeleton: "skeleton";
13937
+ spinner: "spinner";
13938
+ none: "none";
13939
+ row: "row";
13940
+ }>>;
13941
+ search: z.ZodOptional<z.ZodEnum<{
13942
+ custom: "custom";
13943
+ spinner: "spinner";
13944
+ none: "none";
13945
+ inline: "inline";
13946
+ }>>;
13947
+ action: z.ZodOptional<z.ZodEnum<{
13948
+ custom: "custom";
13949
+ button: "button";
13950
+ none: "none";
13951
+ bar: "bar";
13952
+ overlay: "overlay";
13953
+ }>>;
13954
+ skeleton: z.ZodOptional<z.ZodEnum<{
13955
+ shimmer: "shimmer";
13956
+ pulse: "pulse";
13957
+ static: "static";
13958
+ }>>;
13959
+ spinner: z.ZodOptional<z.ZodEnum<{
13960
+ ring: "ring";
13961
+ dots: "dots";
13962
+ }>>;
13963
+ progress: z.ZodOptional<z.ZodEnum<{
13964
+ top: "top";
13965
+ inline: "inline";
13966
+ }>>;
13967
+ delay: z.ZodOptional<z.ZodInt>;
13968
+ minShown: z.ZodOptional<z.ZodInt>;
13969
+ slowAfter: z.ZodOptional<z.ZodInt>;
13970
+ timeout: z.ZodOptional<z.ZodInt>;
13971
+ error: z.ZodOptional<z.ZodEnum<{
13972
+ custom: "custom";
13973
+ inline: "inline";
13974
+ toast: "toast";
13975
+ }>>;
13976
+ }, z.z.core.$strict>>;
13367
13977
  }, z.z.core.$strict>], "type">>;
13368
13978
  }, z.z.core.$strict>>;
13369
13979
  updated: z.ZodOptional<z.ZodObject<{
@@ -16896,6 +17506,66 @@ export declare const ListNodeSchema: z.ZodObject<{
16896
17506
  add: z.ZodOptional<z.ZodBoolean>;
16897
17507
  open: z.ZodOptional<z.ZodBoolean>;
16898
17508
  }, z.z.core.$strict>]>>;
17509
+ loading: z.ZodOptional<z.ZodObject<{
17510
+ first: z.ZodOptional<z.ZodEnum<{
17511
+ text: "text";
17512
+ custom: "custom";
17513
+ skeleton: "skeleton";
17514
+ spinner: "spinner";
17515
+ progress: "progress";
17516
+ none: "none";
17517
+ }>>;
17518
+ refresh: z.ZodOptional<z.ZodEnum<{
17519
+ custom: "custom";
17520
+ skeleton: "skeleton";
17521
+ spinner: "spinner";
17522
+ none: "none";
17523
+ keep: "keep";
17524
+ dim: "dim";
17525
+ }>>;
17526
+ more: z.ZodOptional<z.ZodEnum<{
17527
+ custom: "custom";
17528
+ skeleton: "skeleton";
17529
+ spinner: "spinner";
17530
+ none: "none";
17531
+ row: "row";
17532
+ }>>;
17533
+ search: z.ZodOptional<z.ZodEnum<{
17534
+ custom: "custom";
17535
+ spinner: "spinner";
17536
+ none: "none";
17537
+ inline: "inline";
17538
+ }>>;
17539
+ action: z.ZodOptional<z.ZodEnum<{
17540
+ custom: "custom";
17541
+ button: "button";
17542
+ none: "none";
17543
+ bar: "bar";
17544
+ overlay: "overlay";
17545
+ }>>;
17546
+ skeleton: z.ZodOptional<z.ZodEnum<{
17547
+ shimmer: "shimmer";
17548
+ pulse: "pulse";
17549
+ static: "static";
17550
+ }>>;
17551
+ spinner: z.ZodOptional<z.ZodEnum<{
17552
+ ring: "ring";
17553
+ dots: "dots";
17554
+ }>>;
17555
+ progress: z.ZodOptional<z.ZodEnum<{
17556
+ top: "top";
17557
+ inline: "inline";
17558
+ }>>;
17559
+ delay: z.ZodOptional<z.ZodInt>;
17560
+ minShown: z.ZodOptional<z.ZodInt>;
17561
+ slowAfter: z.ZodOptional<z.ZodInt>;
17562
+ timeout: z.ZodOptional<z.ZodInt>;
17563
+ error: z.ZodOptional<z.ZodEnum<{
17564
+ custom: "custom";
17565
+ inline: "inline";
17566
+ toast: "toast";
17567
+ }>>;
17568
+ }, z.z.core.$strict>>;
16899
17569
  }, z.z.core.$strict>;
16900
17570
  export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16901
17571
  type: z.ZodLiteral<"sheet">;
@@ -18034,11 +18704,11 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18034
18704
  collapsed: z.ZodOptional<z.ZodBoolean>;
18035
18705
  colspan: z.ZodOptional<z.ZodInt>;
18036
18706
  style: z.ZodOptional<z.ZodEnum<{
18707
+ inline: "inline";
18037
18708
  card: "card";
18038
18709
  plain: "plain";
18039
18710
  line: "line";
18040
18711
  framed: "framed";
18041
- inline: "inline";
18042
18712
  }>>;
18043
18713
  labels: z.ZodOptional<z.ZodEnum<{
18044
18714
  above: "above";
@@ -18452,6 +19122,66 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18452
19122
  medium: "medium";
18453
19123
  wide: "wide";
18454
19124
  }>>>;
19125
+ loading: z.ZodOptional<z.ZodObject<{
19126
+ first: z.ZodOptional<z.ZodEnum<{
19127
+ text: "text";
19128
+ custom: "custom";
19129
+ skeleton: "skeleton";
19130
+ spinner: "spinner";
19131
+ progress: "progress";
19132
+ none: "none";
19133
+ }>>;
19134
+ refresh: z.ZodOptional<z.ZodEnum<{
19135
+ custom: "custom";
19136
+ skeleton: "skeleton";
19137
+ spinner: "spinner";
19138
+ none: "none";
19139
+ keep: "keep";
19140
+ dim: "dim";
19141
+ }>>;
19142
+ more: z.ZodOptional<z.ZodEnum<{
19143
+ custom: "custom";
19144
+ skeleton: "skeleton";
19145
+ spinner: "spinner";
19146
+ none: "none";
19147
+ row: "row";
19148
+ }>>;
19149
+ search: z.ZodOptional<z.ZodEnum<{
19150
+ custom: "custom";
19151
+ spinner: "spinner";
19152
+ none: "none";
19153
+ inline: "inline";
19154
+ }>>;
19155
+ action: z.ZodOptional<z.ZodEnum<{
19156
+ custom: "custom";
19157
+ button: "button";
19158
+ none: "none";
19159
+ bar: "bar";
19160
+ overlay: "overlay";
19161
+ }>>;
19162
+ skeleton: z.ZodOptional<z.ZodEnum<{
19163
+ shimmer: "shimmer";
19164
+ pulse: "pulse";
19165
+ static: "static";
19166
+ }>>;
19167
+ spinner: z.ZodOptional<z.ZodEnum<{
19168
+ ring: "ring";
19169
+ dots: "dots";
19170
+ }>>;
19171
+ progress: z.ZodOptional<z.ZodEnum<{
19172
+ top: "top";
19173
+ inline: "inline";
19174
+ }>>;
19175
+ delay: z.ZodOptional<z.ZodInt>;
19176
+ minShown: z.ZodOptional<z.ZodInt>;
19177
+ slowAfter: z.ZodOptional<z.ZodInt>;
19178
+ timeout: z.ZodOptional<z.ZodInt>;
19179
+ error: z.ZodOptional<z.ZodEnum<{
19180
+ custom: "custom";
19181
+ inline: "inline";
19182
+ toast: "toast";
19183
+ }>>;
19184
+ }, z.z.core.$strict>>;
18455
19185
  }, z.z.core.$strict>, z.ZodObject<{
18456
19186
  type: z.ZodLiteral<"related">;
18457
19187
  id: z.ZodString;
@@ -19156,6 +19886,66 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19156
19886
  wide: "wide";
19157
19887
  }>>>;
19158
19888
  print: z.ZodOptional<z.ZodBoolean>;
19889
+ loading: z.ZodOptional<z.ZodObject<{
19890
+ first: z.ZodOptional<z.ZodEnum<{
19891
+ text: "text";
19892
+ custom: "custom";
19893
+ skeleton: "skeleton";
19894
+ spinner: "spinner";
19895
+ progress: "progress";
19896
+ none: "none";
19897
+ }>>;
19898
+ refresh: z.ZodOptional<z.ZodEnum<{
19899
+ custom: "custom";
19900
+ skeleton: "skeleton";
19901
+ spinner: "spinner";
19902
+ none: "none";
19903
+ keep: "keep";
19904
+ dim: "dim";
19905
+ }>>;
19906
+ more: z.ZodOptional<z.ZodEnum<{
19907
+ custom: "custom";
19908
+ skeleton: "skeleton";
19909
+ spinner: "spinner";
19910
+ none: "none";
19911
+ row: "row";
19912
+ }>>;
19913
+ search: z.ZodOptional<z.ZodEnum<{
19914
+ custom: "custom";
19915
+ spinner: "spinner";
19916
+ none: "none";
19917
+ inline: "inline";
19918
+ }>>;
19919
+ action: z.ZodOptional<z.ZodEnum<{
19920
+ custom: "custom";
19921
+ button: "button";
19922
+ none: "none";
19923
+ bar: "bar";
19924
+ overlay: "overlay";
19925
+ }>>;
19926
+ skeleton: z.ZodOptional<z.ZodEnum<{
19927
+ shimmer: "shimmer";
19928
+ pulse: "pulse";
19929
+ static: "static";
19930
+ }>>;
19931
+ spinner: z.ZodOptional<z.ZodEnum<{
19932
+ ring: "ring";
19933
+ dots: "dots";
19934
+ }>>;
19935
+ progress: z.ZodOptional<z.ZodEnum<{
19936
+ top: "top";
19937
+ inline: "inline";
19938
+ }>>;
19939
+ delay: z.ZodOptional<z.ZodInt>;
19940
+ minShown: z.ZodOptional<z.ZodInt>;
19941
+ slowAfter: z.ZodOptional<z.ZodInt>;
19942
+ timeout: z.ZodOptional<z.ZodInt>;
19943
+ error: z.ZodOptional<z.ZodEnum<{
19944
+ custom: "custom";
19945
+ inline: "inline";
19946
+ toast: "toast";
19947
+ }>>;
19948
+ }, z.z.core.$strict>>;
19159
19949
  }, z.z.core.$strict>], "type">>;
19160
19950
  }, z.z.core.$strict>>;
19161
19951
  updated: z.ZodOptional<z.ZodObject<{
@@ -22868,4 +23658,64 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
22868
23658
  add: z.ZodOptional<z.ZodBoolean>;
22869
23659
  open: z.ZodOptional<z.ZodBoolean>;
22870
23660
  }, z.z.core.$strict>]>>;
23661
+ loading: z.ZodOptional<z.ZodObject<{
23662
+ first: z.ZodOptional<z.ZodEnum<{
23663
+ text: "text";
23664
+ custom: "custom";
23665
+ skeleton: "skeleton";
23666
+ spinner: "spinner";
23667
+ progress: "progress";
23668
+ none: "none";
23669
+ }>>;
23670
+ refresh: z.ZodOptional<z.ZodEnum<{
23671
+ custom: "custom";
23672
+ skeleton: "skeleton";
23673
+ spinner: "spinner";
23674
+ none: "none";
23675
+ keep: "keep";
23676
+ dim: "dim";
23677
+ }>>;
23678
+ more: z.ZodOptional<z.ZodEnum<{
23679
+ custom: "custom";
23680
+ skeleton: "skeleton";
23681
+ spinner: "spinner";
23682
+ none: "none";
23683
+ row: "row";
23684
+ }>>;
23685
+ search: z.ZodOptional<z.ZodEnum<{
23686
+ custom: "custom";
23687
+ spinner: "spinner";
23688
+ none: "none";
23689
+ inline: "inline";
23690
+ }>>;
23691
+ action: z.ZodOptional<z.ZodEnum<{
23692
+ custom: "custom";
23693
+ button: "button";
23694
+ none: "none";
23695
+ bar: "bar";
23696
+ overlay: "overlay";
23697
+ }>>;
23698
+ skeleton: z.ZodOptional<z.ZodEnum<{
23699
+ shimmer: "shimmer";
23700
+ pulse: "pulse";
23701
+ static: "static";
23702
+ }>>;
23703
+ spinner: z.ZodOptional<z.ZodEnum<{
23704
+ ring: "ring";
23705
+ dots: "dots";
23706
+ }>>;
23707
+ progress: z.ZodOptional<z.ZodEnum<{
23708
+ top: "top";
23709
+ inline: "inline";
23710
+ }>>;
23711
+ delay: z.ZodOptional<z.ZodInt>;
23712
+ minShown: z.ZodOptional<z.ZodInt>;
23713
+ slowAfter: z.ZodOptional<z.ZodInt>;
23714
+ timeout: z.ZodOptional<z.ZodInt>;
23715
+ error: z.ZodOptional<z.ZodEnum<{
23716
+ custom: "custom";
23717
+ inline: "inline";
23718
+ toast: "toast";
23719
+ }>>;
23720
+ }, z.z.core.$strict>>;
22871
23721
  }, z.z.core.$strict>], "type">;