@prismicio/types-internal 2.7.0-alpha.2 → 2.7.0-alpha.3

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 (38) hide show
  1. package/lib/content/Document.d.ts +13 -409
  2. package/lib/content/fields/WidgetContent.d.ts +12 -408
  3. package/lib/content/fields/nestable/LinkContent.d.ts +8 -54
  4. package/lib/content/fields/nestable/LinkContent.js +1 -10
  5. package/lib/content/fields/nestable/NestableContent.d.ts +2 -68
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +6 -129
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +0 -60
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +4 -136
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +2 -32
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +4 -136
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +2 -68
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +2 -68
  13. package/lib/content/fields/slices/Slice/index.d.ts +10 -250
  14. package/lib/content/fields/slices/SliceItem.d.ts +10 -250
  15. package/lib/content/fields/slices/SlicesContent.d.ts +10 -340
  16. package/lib/customtypes/CustomType.d.ts +484 -344
  17. package/lib/customtypes/Section.d.ts +484 -344
  18. package/lib/customtypes/diff/SharedSlice.d.ts +232 -152
  19. package/lib/customtypes/diff/Variation.d.ts +232 -152
  20. package/lib/customtypes/widgets/Group.d.ts +315 -72
  21. package/lib/customtypes/widgets/Group.js +43 -5
  22. package/lib/customtypes/widgets/Widget.d.ts +520 -330
  23. package/lib/customtypes/widgets/nestable/Link.d.ts +0 -20
  24. package/lib/customtypes/widgets/nestable/Link.js +0 -2
  25. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -10
  26. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -20
  27. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +42 -22
  28. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +168 -88
  29. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +191 -91
  30. package/lib/customtypes/widgets/slices/Slices.d.ts +523 -443
  31. package/package.json +1 -1
  32. package/src/content/fields/nestable/LinkContent.ts +1 -12
  33. package/src/customtypes/widgets/Group.ts +52 -6
  34. package/src/customtypes/widgets/nestable/Link.ts +0 -2
  35. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  36. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  37. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  38. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -138,16 +138,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
138
138
  masks: t.Type<readonly string[], object, unknown>;
139
139
  tags: t.Type<readonly string[], object, unknown>;
140
140
  allowTargetBlank: t.BooleanC;
141
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
142
- type: t.LiteralC<"Text">;
143
- }>, t.PartialC<{
144
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
145
- config: t.ExactC<t.PartialC<{
146
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
147
- useAsTitle: t.BooleanC;
148
- placeholder: t.StringC;
149
- }>>;
150
- }>]>>;
151
141
  }>>;
152
142
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
153
143
  type: t.LiteralC<"Image">;
@@ -176,7 +166,47 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
176
166
  placeholder: t.StringC;
177
167
  catalog: t.StringC;
178
168
  }>>;
179
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
169
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
170
+ type: t.LiteralC<"Group">;
171
+ }>, t.PartialC<{
172
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
173
+ icon: t.StringC;
174
+ description: t.StringC;
175
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
176
+ as: t.LiteralC<"Link">;
177
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
178
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
179
+ type: t.LiteralC<"Link">;
180
+ }>, t.PartialC<{
181
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
182
+ config: t.ExactC<t.PartialC<{
183
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
184
+ useAsTitle: t.BooleanC;
185
+ placeholder: t.StringC;
186
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
187
+ customtypes: t.ReadonlyArrayC<t.StringC>;
188
+ masks: t.Type<readonly string[], object, unknown>;
189
+ tags: t.Type<readonly string[], object, unknown>;
190
+ allowTargetBlank: t.BooleanC;
191
+ }>>;
192
+ }>]>>;
193
+ }>>, t.ExactC<t.PartialC<{
194
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
195
+ type: t.LiteralC<"Text">;
196
+ }>, t.PartialC<{
197
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
198
+ config: t.ExactC<t.PartialC<{
199
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
200
+ useAsTitle: t.BooleanC;
201
+ placeholder: t.StringC;
202
+ }>>;
203
+ }>]>>;
204
+ }>>]>;
205
+ }>>, t.ExactC<t.PartialC<{
206
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
207
+ repeat: t.BooleanC;
208
+ }>>]>;
209
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
180
210
  type: t.LiteralC<"Group">;
181
211
  }>, t.PartialC<{
182
212
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -313,16 +343,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
313
343
  masks: t.Type<readonly string[], object, unknown>;
314
344
  tags: t.Type<readonly string[], object, unknown>;
315
345
  allowTargetBlank: t.BooleanC;
316
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
317
- type: t.LiteralC<"Text">;
318
- }>, t.PartialC<{
319
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
320
- config: t.ExactC<t.PartialC<{
321
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
322
- useAsTitle: t.BooleanC;
323
- placeholder: t.StringC;
324
- }>>;
325
- }>]>>;
326
346
  }>>;
327
347
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
328
348
  type: t.LiteralC<"Image">;
@@ -351,7 +371,47 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
351
371
  placeholder: t.StringC;
352
372
  catalog: t.StringC;
353
373
  }>>;
354
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
374
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
375
+ type: t.LiteralC<"Group">;
376
+ }>, t.PartialC<{
377
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
378
+ icon: t.StringC;
379
+ description: t.StringC;
380
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
381
+ as: t.LiteralC<"Link">;
382
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
383
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
384
+ type: t.LiteralC<"Link">;
385
+ }>, t.PartialC<{
386
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
387
+ config: t.ExactC<t.PartialC<{
388
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
389
+ useAsTitle: t.BooleanC;
390
+ placeholder: t.StringC;
391
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
392
+ customtypes: t.ReadonlyArrayC<t.StringC>;
393
+ masks: t.Type<readonly string[], object, unknown>;
394
+ tags: t.Type<readonly string[], object, unknown>;
395
+ allowTargetBlank: t.BooleanC;
396
+ }>>;
397
+ }>]>>;
398
+ }>>, t.ExactC<t.PartialC<{
399
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
400
+ type: t.LiteralC<"Text">;
401
+ }>, t.PartialC<{
402
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
403
+ config: t.ExactC<t.PartialC<{
404
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
405
+ useAsTitle: t.BooleanC;
406
+ placeholder: t.StringC;
407
+ }>>;
408
+ }>]>>;
409
+ }>>]>;
410
+ }>>, t.ExactC<t.PartialC<{
411
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
412
+ repeat: t.BooleanC;
413
+ }>>]>;
414
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
355
415
  type: t.LiteralC<"Group">;
356
416
  }>, t.PartialC<{
357
417
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -488,16 +548,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
488
548
  masks: t.Type<readonly string[], object, unknown>;
489
549
  tags: t.Type<readonly string[], object, unknown>;
490
550
  allowTargetBlank: t.BooleanC;
491
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
492
- type: t.LiteralC<"Text">;
493
- }>, t.PartialC<{
494
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
495
- config: t.ExactC<t.PartialC<{
496
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
497
- useAsTitle: t.BooleanC;
498
- placeholder: t.StringC;
499
- }>>;
500
- }>]>>;
501
551
  }>>;
502
552
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
503
553
  type: t.LiteralC<"Image">;
@@ -528,9 +578,9 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
528
578
  }>>;
529
579
  }>]>>]>>;
530
580
  }>>;
531
- }>]>>]>>;
581
+ }>]>>]>]>>;
532
582
  }>>;
533
- }>]>>, t.Type<T, unknown, unknown>]>;
583
+ }>]>>]>, t.Type<T, unknown, unknown>]>;
534
584
  export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
535
585
  type: t.LiteralC<"UID">;
536
586
  }>, t.PartialC<{
@@ -668,16 +718,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
668
718
  masks: t.Type<readonly string[], object, unknown>;
669
719
  tags: t.Type<readonly string[], object, unknown>;
670
720
  allowTargetBlank: t.BooleanC;
671
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
672
- type: t.LiteralC<"Text">;
673
- }>, t.PartialC<{
674
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
675
- config: t.ExactC<t.PartialC<{
676
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
677
- useAsTitle: t.BooleanC;
678
- placeholder: t.StringC;
679
- }>>;
680
- }>]>>;
681
721
  }>>;
682
722
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
683
723
  type: t.LiteralC<"Image">;
@@ -706,7 +746,47 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
706
746
  placeholder: t.StringC;
707
747
  catalog: t.StringC;
708
748
  }>>;
709
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
749
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
750
+ type: t.LiteralC<"Group">;
751
+ }>, t.PartialC<{
752
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
753
+ icon: t.StringC;
754
+ description: t.StringC;
755
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
756
+ as: t.LiteralC<"Link">;
757
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
758
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
759
+ type: t.LiteralC<"Link">;
760
+ }>, t.PartialC<{
761
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
762
+ config: t.ExactC<t.PartialC<{
763
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
764
+ useAsTitle: t.BooleanC;
765
+ placeholder: t.StringC;
766
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
767
+ customtypes: t.ReadonlyArrayC<t.StringC>;
768
+ masks: t.Type<readonly string[], object, unknown>;
769
+ tags: t.Type<readonly string[], object, unknown>;
770
+ allowTargetBlank: t.BooleanC;
771
+ }>>;
772
+ }>]>>;
773
+ }>>, t.ExactC<t.PartialC<{
774
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
775
+ type: t.LiteralC<"Text">;
776
+ }>, t.PartialC<{
777
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
778
+ config: t.ExactC<t.PartialC<{
779
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
780
+ useAsTitle: t.BooleanC;
781
+ placeholder: t.StringC;
782
+ }>>;
783
+ }>]>>;
784
+ }>>]>;
785
+ }>>, t.ExactC<t.PartialC<{
786
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
787
+ repeat: t.BooleanC;
788
+ }>>]>;
789
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
710
790
  type: t.LiteralC<"Group">;
711
791
  }>, t.PartialC<{
712
792
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -843,16 +923,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
843
923
  masks: t.Type<readonly string[], object, unknown>;
844
924
  tags: t.Type<readonly string[], object, unknown>;
845
925
  allowTargetBlank: t.BooleanC;
846
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
847
- type: t.LiteralC<"Text">;
848
- }>, t.PartialC<{
849
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
850
- config: t.ExactC<t.PartialC<{
851
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
852
- useAsTitle: t.BooleanC;
853
- placeholder: t.StringC;
854
- }>>;
855
- }>]>>;
856
926
  }>>;
857
927
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
858
928
  type: t.LiteralC<"Image">;
@@ -881,7 +951,47 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
881
951
  placeholder: t.StringC;
882
952
  catalog: t.StringC;
883
953
  }>>;
884
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
954
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
955
+ type: t.LiteralC<"Group">;
956
+ }>, t.PartialC<{
957
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
958
+ icon: t.StringC;
959
+ description: t.StringC;
960
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
961
+ as: t.LiteralC<"Link">;
962
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
963
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
964
+ type: t.LiteralC<"Link">;
965
+ }>, t.PartialC<{
966
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
967
+ config: t.ExactC<t.PartialC<{
968
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
969
+ useAsTitle: t.BooleanC;
970
+ placeholder: t.StringC;
971
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
972
+ customtypes: t.ReadonlyArrayC<t.StringC>;
973
+ masks: t.Type<readonly string[], object, unknown>;
974
+ tags: t.Type<readonly string[], object, unknown>;
975
+ allowTargetBlank: t.BooleanC;
976
+ }>>;
977
+ }>]>>;
978
+ }>>, t.ExactC<t.PartialC<{
979
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
980
+ type: t.LiteralC<"Text">;
981
+ }>, t.PartialC<{
982
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
983
+ config: t.ExactC<t.PartialC<{
984
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
985
+ useAsTitle: t.BooleanC;
986
+ placeholder: t.StringC;
987
+ }>>;
988
+ }>]>>;
989
+ }>>]>;
990
+ }>>, t.ExactC<t.PartialC<{
991
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
992
+ repeat: t.BooleanC;
993
+ }>>]>;
994
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
885
995
  type: t.LiteralC<"Group">;
886
996
  }>, t.PartialC<{
887
997
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1018,16 +1128,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1018
1128
  masks: t.Type<readonly string[], object, unknown>;
1019
1129
  tags: t.Type<readonly string[], object, unknown>;
1020
1130
  allowTargetBlank: t.BooleanC;
1021
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
1022
- type: t.LiteralC<"Text">;
1023
- }>, t.PartialC<{
1024
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1025
- config: t.ExactC<t.PartialC<{
1026
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1027
- useAsTitle: t.BooleanC;
1028
- placeholder: t.StringC;
1029
- }>>;
1030
- }>]>>;
1031
1131
  }>>;
1032
1132
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1033
1133
  type: t.LiteralC<"Image">;
@@ -1058,9 +1158,9 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1058
1158
  }>>;
1059
1159
  }>]>>]>>;
1060
1160
  }>>;
1061
- }>]>>]>>;
1161
+ }>]>>]>]>>;
1062
1162
  }>>;
1063
- }>]>>, t.Type<{
1163
+ }>]>>]>, t.Type<{
1064
1164
  type: "Choice" | "Slices";
1065
1165
  } & {
1066
1166
  fieldset?: string | null | undefined;
@@ -1143,15 +1243,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1143
1243
  placeholder?: string;
1144
1244
  catalog?: string;
1145
1245
  };
1146
- }) | ({
1147
- type: "Text";
1148
- } & {
1149
- fieldset?: string | null | undefined;
1150
- config?: {
1151
- label?: string | null | undefined;
1152
- useAsTitle?: boolean;
1153
- placeholder?: string;
1154
- };
1155
1246
  }) | ({
1156
1247
  type: "Link";
1157
1248
  } & {
@@ -1165,16 +1256,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1165
1256
  masks?: readonly string[];
1166
1257
  tags?: readonly string[];
1167
1258
  allowTargetBlank?: boolean;
1168
- text?: {
1169
- type: "Text";
1170
- } & {
1171
- fieldset?: string | null | undefined;
1172
- config?: {
1173
- label?: string | null | undefined;
1174
- useAsTitle?: boolean;
1175
- placeholder?: string;
1176
- };
1177
- };
1178
1259
  };
1179
1260
  }) | ({
1180
1261
  type: "Number";
@@ -1231,6 +1312,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1231
1312
  config?: {
1232
1313
  label?: string | null | undefined;
1233
1314
  };
1315
+ }) | ({
1316
+ type: "Text";
1317
+ } & {
1318
+ fieldset?: string | null | undefined;
1319
+ config?: {
1320
+ label?: string | null | undefined;
1321
+ useAsTitle?: boolean;
1322
+ placeholder?: string;
1323
+ };
1234
1324
  }) | ({
1235
1325
  type: "Timestamp";
1236
1326
  } & {
@@ -1242,6 +1332,46 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1242
1332
  };
1243
1333
  }) | ({
1244
1334
  type: "Group";
1335
+ } & {
1336
+ fieldset?: string | null | undefined;
1337
+ icon?: string;
1338
+ description?: string;
1339
+ config?: {
1340
+ as: "Link";
1341
+ fields: {
1342
+ link: {
1343
+ type: "Link";
1344
+ } & {
1345
+ fieldset?: string | null | undefined;
1346
+ config?: {
1347
+ label?: string | null | undefined;
1348
+ useAsTitle?: boolean;
1349
+ placeholder?: string;
1350
+ select?: "media" | "document" | "web" | null;
1351
+ customtypes?: readonly string[];
1352
+ masks?: readonly string[];
1353
+ tags?: readonly string[];
1354
+ allowTargetBlank?: boolean;
1355
+ };
1356
+ };
1357
+ } & {
1358
+ text?: {
1359
+ type: "Text";
1360
+ } & {
1361
+ fieldset?: string | null | undefined;
1362
+ config?: {
1363
+ label?: string | null | undefined;
1364
+ useAsTitle?: boolean;
1365
+ placeholder?: string;
1366
+ };
1367
+ };
1368
+ };
1369
+ } & {
1370
+ label?: string | null | undefined;
1371
+ repeat?: boolean;
1372
+ };
1373
+ }) | ({
1374
+ type: "Group";
1245
1375
  } & {
1246
1376
  fieldset?: string | null | undefined;
1247
1377
  icon?: string;
@@ -1319,15 +1449,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1319
1449
  placeholder?: string;
1320
1450
  catalog?: string;
1321
1451
  };
1322
- }) | ({
1323
- type: "Text";
1324
- } & {
1325
- fieldset?: string | null | undefined;
1326
- config?: {
1327
- label?: string | null | undefined;
1328
- useAsTitle?: boolean;
1329
- placeholder?: string;
1330
- };
1331
1452
  }) | ({
1332
1453
  type: "Link";
1333
1454
  } & {
@@ -1341,16 +1462,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1341
1462
  masks?: readonly string[];
1342
1463
  tags?: readonly string[];
1343
1464
  allowTargetBlank?: boolean;
1344
- text?: {
1345
- type: "Text";
1346
- } & {
1347
- fieldset?: string | null | undefined;
1348
- config?: {
1349
- label?: string | null | undefined;
1350
- useAsTitle?: boolean;
1351
- placeholder?: string;
1352
- };
1353
- };
1354
1465
  };
1355
1466
  }) | ({
1356
1467
  type: "Number";
@@ -1407,6 +1518,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1407
1518
  config?: {
1408
1519
  label?: string | null | undefined;
1409
1520
  };
1521
+ }) | ({
1522
+ type: "Text";
1523
+ } & {
1524
+ fieldset?: string | null | undefined;
1525
+ config?: {
1526
+ label?: string | null | undefined;
1527
+ useAsTitle?: boolean;
1528
+ placeholder?: string;
1529
+ };
1410
1530
  }) | ({
1411
1531
  type: "Timestamp";
1412
1532
  } & {
@@ -1496,15 +1616,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1496
1616
  placeholder?: string;
1497
1617
  catalog?: string;
1498
1618
  };
1499
- }) | ({
1500
- type: "Text";
1501
- } & {
1502
- fieldset?: string | null | undefined;
1503
- config?: {
1504
- label?: string | null | undefined;
1505
- useAsTitle?: boolean;
1506
- placeholder?: string;
1507
- };
1508
1619
  }) | ({
1509
1620
  type: "Link";
1510
1621
  } & {
@@ -1518,16 +1629,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1518
1629
  masks?: readonly string[];
1519
1630
  tags?: readonly string[];
1520
1631
  allowTargetBlank?: boolean;
1521
- text?: {
1522
- type: "Text";
1523
- } & {
1524
- fieldset?: string | null | undefined;
1525
- config?: {
1526
- label?: string | null | undefined;
1527
- useAsTitle?: boolean;
1528
- placeholder?: string;
1529
- };
1530
- };
1531
1632
  };
1532
1633
  }) | ({
1533
1634
  type: "Number";
@@ -1584,6 +1685,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1584
1685
  config?: {
1585
1686
  label?: string | null | undefined;
1586
1687
  };
1688
+ }) | ({
1689
+ type: "Text";
1690
+ } & {
1691
+ fieldset?: string | null | undefined;
1692
+ config?: {
1693
+ label?: string | null | undefined;
1694
+ useAsTitle?: boolean;
1695
+ placeholder?: string;
1696
+ };
1587
1697
  }) | ({
1588
1698
  type: "Timestamp";
1589
1699
  } & {
@@ -1665,15 +1775,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1665
1775
  placeholder?: string;
1666
1776
  catalog?: string;
1667
1777
  };
1668
- }) | ({
1669
- type: "Text";
1670
- } & {
1671
- fieldset?: string | null | undefined;
1672
- config?: {
1673
- label?: string | null | undefined;
1674
- useAsTitle?: boolean;
1675
- placeholder?: string;
1676
- };
1677
1778
  }) | ({
1678
1779
  type: "Link";
1679
1780
  } & {
@@ -1687,16 +1788,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1687
1788
  masks?: readonly string[];
1688
1789
  tags?: readonly string[];
1689
1790
  allowTargetBlank?: boolean;
1690
- text?: {
1691
- type: "Text";
1692
- } & {
1693
- fieldset?: string | null | undefined;
1694
- config?: {
1695
- label?: string | null | undefined;
1696
- useAsTitle?: boolean;
1697
- placeholder?: string;
1698
- };
1699
- };
1700
1791
  };
1701
1792
  }) | ({
1702
1793
  type: "Number";
@@ -1753,6 +1844,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1753
1844
  config?: {
1754
1845
  label?: string | null | undefined;
1755
1846
  };
1847
+ }) | ({
1848
+ type: "Text";
1849
+ } & {
1850
+ fieldset?: string | null | undefined;
1851
+ config?: {
1852
+ label?: string | null | undefined;
1853
+ useAsTitle?: boolean;
1854
+ placeholder?: string;
1855
+ };
1756
1856
  }) | ({
1757
1857
  type: "Timestamp";
1758
1858
  } & {
@@ -1850,15 +1950,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1850
1950
  placeholder?: string;
1851
1951
  catalog?: string;
1852
1952
  };
1853
- }) | ({
1854
- type: "Text";
1855
- } & {
1856
- fieldset?: string | null | undefined;
1857
- config?: {
1858
- label?: string | null | undefined;
1859
- useAsTitle?: boolean;
1860
- placeholder?: string;
1861
- };
1862
1953
  }) | ({
1863
1954
  type: "Link";
1864
1955
  } & {
@@ -1872,16 +1963,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1872
1963
  masks?: readonly string[];
1873
1964
  tags?: readonly string[];
1874
1965
  allowTargetBlank?: boolean;
1875
- text?: {
1876
- type: "Text";
1877
- } & {
1878
- fieldset?: string | null | undefined;
1879
- config?: {
1880
- label?: string | null | undefined;
1881
- useAsTitle?: boolean;
1882
- placeholder?: string;
1883
- };
1884
- };
1885
1966
  };
1886
1967
  }) | ({
1887
1968
  type: "Number";
@@ -1938,6 +2019,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1938
2019
  config?: {
1939
2020
  label?: string | null | undefined;
1940
2021
  };
2022
+ }) | ({
2023
+ type: "Text";
2024
+ } & {
2025
+ fieldset?: string | null | undefined;
2026
+ config?: {
2027
+ label?: string | null | undefined;
2028
+ useAsTitle?: boolean;
2029
+ placeholder?: string;
2030
+ };
1941
2031
  }) | ({
1942
2032
  type: "Timestamp";
1943
2033
  } & {
@@ -1949,6 +2039,46 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1949
2039
  };
1950
2040
  }) | ({
1951
2041
  type: "Group";
2042
+ } & {
2043
+ fieldset?: string | null | undefined;
2044
+ icon?: string;
2045
+ description?: string;
2046
+ config?: {
2047
+ as: "Link";
2048
+ fields: {
2049
+ link: {
2050
+ type: "Link";
2051
+ } & {
2052
+ fieldset?: string | null | undefined;
2053
+ config?: {
2054
+ label?: string | null | undefined;
2055
+ useAsTitle?: boolean;
2056
+ placeholder?: string;
2057
+ select?: "media" | "document" | "web" | null;
2058
+ customtypes?: readonly string[];
2059
+ masks?: readonly string[];
2060
+ tags?: readonly string[];
2061
+ allowTargetBlank?: boolean;
2062
+ };
2063
+ };
2064
+ } & {
2065
+ text?: {
2066
+ type: "Text";
2067
+ } & {
2068
+ fieldset?: string | null | undefined;
2069
+ config?: {
2070
+ label?: string | null | undefined;
2071
+ useAsTitle?: boolean;
2072
+ placeholder?: string;
2073
+ };
2074
+ };
2075
+ };
2076
+ } & {
2077
+ label?: string | null | undefined;
2078
+ repeat?: boolean;
2079
+ };
2080
+ }) | ({
2081
+ type: "Group";
1952
2082
  } & {
1953
2083
  fieldset?: string | null | undefined;
1954
2084
  icon?: string;
@@ -2026,15 +2156,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2026
2156
  placeholder?: string;
2027
2157
  catalog?: string;
2028
2158
  };
2029
- }) | ({
2030
- type: "Text";
2031
- } & {
2032
- fieldset?: string | null | undefined;
2033
- config?: {
2034
- label?: string | null | undefined;
2035
- useAsTitle?: boolean;
2036
- placeholder?: string;
2037
- };
2038
2159
  }) | ({
2039
2160
  type: "Link";
2040
2161
  } & {
@@ -2048,16 +2169,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2048
2169
  masks?: readonly string[];
2049
2170
  tags?: readonly string[];
2050
2171
  allowTargetBlank?: boolean;
2051
- text?: {
2052
- type: "Text";
2053
- } & {
2054
- fieldset?: string | null | undefined;
2055
- config?: {
2056
- label?: string | null | undefined;
2057
- useAsTitle?: boolean;
2058
- placeholder?: string;
2059
- };
2060
- };
2061
2172
  };
2062
2173
  }) | ({
2063
2174
  type: "Number";
@@ -2114,6 +2225,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2114
2225
  config?: {
2115
2226
  label?: string | null | undefined;
2116
2227
  };
2228
+ }) | ({
2229
+ type: "Text";
2230
+ } & {
2231
+ fieldset?: string | null | undefined;
2232
+ config?: {
2233
+ label?: string | null | undefined;
2234
+ useAsTitle?: boolean;
2235
+ placeholder?: string;
2236
+ };
2117
2237
  }) | ({
2118
2238
  type: "Timestamp";
2119
2239
  } & {
@@ -2125,6 +2245,46 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2125
2245
  };
2126
2246
  }) | ({
2127
2247
  type: "Group";
2248
+ } & {
2249
+ fieldset?: string | null | undefined;
2250
+ icon?: string;
2251
+ description?: string;
2252
+ config?: {
2253
+ as: "Link";
2254
+ fields: {
2255
+ link: {
2256
+ type: "Link";
2257
+ } & {
2258
+ fieldset?: string | null | undefined;
2259
+ config?: {
2260
+ label?: string | null | undefined;
2261
+ useAsTitle?: boolean;
2262
+ placeholder?: string;
2263
+ select?: "media" | "document" | "web" | null;
2264
+ customtypes?: readonly string[];
2265
+ masks?: readonly string[];
2266
+ tags?: readonly string[];
2267
+ allowTargetBlank?: boolean;
2268
+ };
2269
+ };
2270
+ } & {
2271
+ text?: {
2272
+ type: "Text";
2273
+ } & {
2274
+ fieldset?: string | null | undefined;
2275
+ config?: {
2276
+ label?: string | null | undefined;
2277
+ useAsTitle?: boolean;
2278
+ placeholder?: string;
2279
+ };
2280
+ };
2281
+ };
2282
+ } & {
2283
+ label?: string | null | undefined;
2284
+ repeat?: boolean;
2285
+ };
2286
+ }) | ({
2287
+ type: "Group";
2128
2288
  } & {
2129
2289
  fieldset?: string | null | undefined;
2130
2290
  icon?: string;
@@ -2202,15 +2362,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2202
2362
  placeholder?: string;
2203
2363
  catalog?: string;
2204
2364
  };
2205
- }) | ({
2206
- type: "Text";
2207
- } & {
2208
- fieldset?: string | null | undefined;
2209
- config?: {
2210
- label?: string | null | undefined;
2211
- useAsTitle?: boolean;
2212
- placeholder?: string;
2213
- };
2214
2365
  }) | ({
2215
2366
  type: "Link";
2216
2367
  } & {
@@ -2224,16 +2375,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2224
2375
  masks?: readonly string[];
2225
2376
  tags?: readonly string[];
2226
2377
  allowTargetBlank?: boolean;
2227
- text?: {
2228
- type: "Text";
2229
- } & {
2230
- fieldset?: string | null | undefined;
2231
- config?: {
2232
- label?: string | null | undefined;
2233
- useAsTitle?: boolean;
2234
- placeholder?: string;
2235
- };
2236
- };
2237
2378
  };
2238
2379
  }) | ({
2239
2380
  type: "Number";
@@ -2290,6 +2431,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2290
2431
  config?: {
2291
2432
  label?: string | null | undefined;
2292
2433
  };
2434
+ }) | ({
2435
+ type: "Text";
2436
+ } & {
2437
+ fieldset?: string | null | undefined;
2438
+ config?: {
2439
+ label?: string | null | undefined;
2440
+ useAsTitle?: boolean;
2441
+ placeholder?: string;
2442
+ };
2293
2443
  }) | ({
2294
2444
  type: "Timestamp";
2295
2445
  } & {
@@ -2377,15 +2527,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2377
2527
  placeholder?: string;
2378
2528
  catalog?: string;
2379
2529
  };
2380
- }) | ({
2381
- type: "Text";
2382
- } & {
2383
- fieldset?: string | null | undefined;
2384
- config?: {
2385
- label?: string | null | undefined;
2386
- useAsTitle?: boolean;
2387
- placeholder?: string;
2388
- };
2389
2530
  }) | ({
2390
2531
  type: "Link";
2391
2532
  } & {
@@ -2399,16 +2540,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2399
2540
  masks?: readonly string[];
2400
2541
  tags?: readonly string[];
2401
2542
  allowTargetBlank?: boolean;
2402
- text?: {
2403
- type: "Text";
2404
- } & {
2405
- fieldset?: string | null | undefined;
2406
- config?: {
2407
- label?: string | null | undefined;
2408
- useAsTitle?: boolean;
2409
- placeholder?: string;
2410
- };
2411
- };
2412
2543
  };
2413
2544
  }) | ({
2414
2545
  type: "Number";
@@ -2465,6 +2596,15 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2465
2596
  config?: {
2466
2597
  label?: string | null | undefined;
2467
2598
  };
2599
+ }) | ({
2600
+ type: "Text";
2601
+ } & {
2602
+ fieldset?: string | null | undefined;
2603
+ config?: {
2604
+ label?: string | null | undefined;
2605
+ useAsTitle?: boolean;
2606
+ placeholder?: string;
2607
+ };
2468
2608
  }) | ({
2469
2609
  type: "Timestamp";
2470
2610
  } & {
@@ -2624,16 +2764,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2624
2764
  masks: t.Type<readonly string[], object, unknown>;
2625
2765
  tags: t.Type<readonly string[], object, unknown>;
2626
2766
  allowTargetBlank: t.BooleanC;
2627
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2628
- type: t.LiteralC<"Text">;
2629
- }>, t.PartialC<{
2630
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2631
- config: t.ExactC<t.PartialC<{
2632
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2633
- useAsTitle: t.BooleanC;
2634
- placeholder: t.StringC;
2635
- }>>;
2636
- }>]>>;
2637
2767
  }>>;
2638
2768
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2639
2769
  type: t.LiteralC<"Image">;
@@ -2662,7 +2792,47 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2662
2792
  placeholder: t.StringC;
2663
2793
  catalog: t.StringC;
2664
2794
  }>>;
2665
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
2795
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2796
+ type: t.LiteralC<"Group">;
2797
+ }>, t.PartialC<{
2798
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2799
+ icon: t.StringC;
2800
+ description: t.StringC;
2801
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
2802
+ as: t.LiteralC<"Link">;
2803
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
2804
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
2805
+ type: t.LiteralC<"Link">;
2806
+ }>, t.PartialC<{
2807
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2808
+ config: t.ExactC<t.PartialC<{
2809
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2810
+ useAsTitle: t.BooleanC;
2811
+ placeholder: t.StringC;
2812
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2813
+ customtypes: t.ReadonlyArrayC<t.StringC>;
2814
+ masks: t.Type<readonly string[], object, unknown>;
2815
+ tags: t.Type<readonly string[], object, unknown>;
2816
+ allowTargetBlank: t.BooleanC;
2817
+ }>>;
2818
+ }>]>>;
2819
+ }>>, t.ExactC<t.PartialC<{
2820
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
2821
+ type: t.LiteralC<"Text">;
2822
+ }>, t.PartialC<{
2823
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2824
+ config: t.ExactC<t.PartialC<{
2825
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2826
+ useAsTitle: t.BooleanC;
2827
+ placeholder: t.StringC;
2828
+ }>>;
2829
+ }>]>>;
2830
+ }>>]>;
2831
+ }>>, t.ExactC<t.PartialC<{
2832
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2833
+ repeat: t.BooleanC;
2834
+ }>>]>;
2835
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2666
2836
  type: t.LiteralC<"Group">;
2667
2837
  }>, t.PartialC<{
2668
2838
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2799,16 +2969,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2799
2969
  masks: t.Type<readonly string[], object, unknown>;
2800
2970
  tags: t.Type<readonly string[], object, unknown>;
2801
2971
  allowTargetBlank: t.BooleanC;
2802
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2803
- type: t.LiteralC<"Text">;
2804
- }>, t.PartialC<{
2805
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2806
- config: t.ExactC<t.PartialC<{
2807
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2808
- useAsTitle: t.BooleanC;
2809
- placeholder: t.StringC;
2810
- }>>;
2811
- }>]>>;
2812
2972
  }>>;
2813
2973
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2814
2974
  type: t.LiteralC<"Image">;
@@ -2837,7 +2997,47 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2837
2997
  placeholder: t.StringC;
2838
2998
  catalog: t.StringC;
2839
2999
  }>>;
2840
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
3000
+ }>]>>]>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3001
+ type: t.LiteralC<"Group">;
3002
+ }>, t.PartialC<{
3003
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3004
+ icon: t.StringC;
3005
+ description: t.StringC;
3006
+ config: t.IntersectionC<[t.ExactC<t.TypeC<{
3007
+ as: t.LiteralC<"Link">;
3008
+ fields: t.IntersectionC<[t.ExactC<t.TypeC<{
3009
+ link: t.ExactC<t.IntersectionC<[t.TypeC<{
3010
+ type: t.LiteralC<"Link">;
3011
+ }>, t.PartialC<{
3012
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3013
+ config: t.ExactC<t.PartialC<{
3014
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3015
+ useAsTitle: t.BooleanC;
3016
+ placeholder: t.StringC;
3017
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
3018
+ customtypes: t.ReadonlyArrayC<t.StringC>;
3019
+ masks: t.Type<readonly string[], object, unknown>;
3020
+ tags: t.Type<readonly string[], object, unknown>;
3021
+ allowTargetBlank: t.BooleanC;
3022
+ }>>;
3023
+ }>]>>;
3024
+ }>>, t.ExactC<t.PartialC<{
3025
+ text: t.ExactC<t.IntersectionC<[t.TypeC<{
3026
+ type: t.LiteralC<"Text">;
3027
+ }>, t.PartialC<{
3028
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3029
+ config: t.ExactC<t.PartialC<{
3030
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3031
+ useAsTitle: t.BooleanC;
3032
+ placeholder: t.StringC;
3033
+ }>>;
3034
+ }>]>>;
3035
+ }>>]>;
3036
+ }>>, t.ExactC<t.PartialC<{
3037
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3038
+ repeat: t.BooleanC;
3039
+ }>>]>;
3040
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2841
3041
  type: t.LiteralC<"Group">;
2842
3042
  }>, t.PartialC<{
2843
3043
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2974,16 +3174,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2974
3174
  masks: t.Type<readonly string[], object, unknown>;
2975
3175
  tags: t.Type<readonly string[], object, unknown>;
2976
3176
  allowTargetBlank: t.BooleanC;
2977
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2978
- type: t.LiteralC<"Text">;
2979
- }>, t.PartialC<{
2980
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2981
- config: t.ExactC<t.PartialC<{
2982
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2983
- useAsTitle: t.BooleanC;
2984
- placeholder: t.StringC;
2985
- }>>;
2986
- }>]>>;
2987
3177
  }>>;
2988
3178
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2989
3179
  type: t.LiteralC<"Image">;
@@ -3014,9 +3204,9 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3014
3204
  }>>;
3015
3205
  }>]>>]>>;
3016
3206
  }>>;
3017
- }>]>>]>>;
3207
+ }>]>>]>]>>;
3018
3208
  }>>;
3019
- }>]>>, t.Type<{
3209
+ }>]>>]>, t.Type<{
3020
3210
  type: "Choice" | "Slices";
3021
3211
  } & {
3022
3212
  fieldset?: string | null | undefined;
@@ -3099,15 +3289,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3099
3289
  placeholder?: string;
3100
3290
  catalog?: string;
3101
3291
  };
3102
- }) | ({
3103
- type: "Text";
3104
- } & {
3105
- fieldset?: string | null | undefined;
3106
- config?: {
3107
- label?: string | null | undefined;
3108
- useAsTitle?: boolean;
3109
- placeholder?: string;
3110
- };
3111
3292
  }) | ({
3112
3293
  type: "Link";
3113
3294
  } & {
@@ -3121,16 +3302,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3121
3302
  masks?: readonly string[];
3122
3303
  tags?: readonly string[];
3123
3304
  allowTargetBlank?: boolean;
3124
- text?: {
3125
- type: "Text";
3126
- } & {
3127
- fieldset?: string | null | undefined;
3128
- config?: {
3129
- label?: string | null | undefined;
3130
- useAsTitle?: boolean;
3131
- placeholder?: string;
3132
- };
3133
- };
3134
3305
  };
3135
3306
  }) | ({
3136
3307
  type: "Number";
@@ -3187,6 +3358,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3187
3358
  config?: {
3188
3359
  label?: string | null | undefined;
3189
3360
  };
3361
+ }) | ({
3362
+ type: "Text";
3363
+ } & {
3364
+ fieldset?: string | null | undefined;
3365
+ config?: {
3366
+ label?: string | null | undefined;
3367
+ useAsTitle?: boolean;
3368
+ placeholder?: string;
3369
+ };
3190
3370
  }) | ({
3191
3371
  type: "Timestamp";
3192
3372
  } & {
@@ -3198,6 +3378,46 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3198
3378
  };
3199
3379
  }) | ({
3200
3380
  type: "Group";
3381
+ } & {
3382
+ fieldset?: string | null | undefined;
3383
+ icon?: string;
3384
+ description?: string;
3385
+ config?: {
3386
+ as: "Link";
3387
+ fields: {
3388
+ link: {
3389
+ type: "Link";
3390
+ } & {
3391
+ fieldset?: string | null | undefined;
3392
+ config?: {
3393
+ label?: string | null | undefined;
3394
+ useAsTitle?: boolean;
3395
+ placeholder?: string;
3396
+ select?: "media" | "document" | "web" | null;
3397
+ customtypes?: readonly string[];
3398
+ masks?: readonly string[];
3399
+ tags?: readonly string[];
3400
+ allowTargetBlank?: boolean;
3401
+ };
3402
+ };
3403
+ } & {
3404
+ text?: {
3405
+ type: "Text";
3406
+ } & {
3407
+ fieldset?: string | null | undefined;
3408
+ config?: {
3409
+ label?: string | null | undefined;
3410
+ useAsTitle?: boolean;
3411
+ placeholder?: string;
3412
+ };
3413
+ };
3414
+ };
3415
+ } & {
3416
+ label?: string | null | undefined;
3417
+ repeat?: boolean;
3418
+ };
3419
+ }) | ({
3420
+ type: "Group";
3201
3421
  } & {
3202
3422
  fieldset?: string | null | undefined;
3203
3423
  icon?: string;
@@ -3275,15 +3495,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3275
3495
  placeholder?: string;
3276
3496
  catalog?: string;
3277
3497
  };
3278
- }) | ({
3279
- type: "Text";
3280
- } & {
3281
- fieldset?: string | null | undefined;
3282
- config?: {
3283
- label?: string | null | undefined;
3284
- useAsTitle?: boolean;
3285
- placeholder?: string;
3286
- };
3287
3498
  }) | ({
3288
3499
  type: "Link";
3289
3500
  } & {
@@ -3297,16 +3508,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3297
3508
  masks?: readonly string[];
3298
3509
  tags?: readonly string[];
3299
3510
  allowTargetBlank?: boolean;
3300
- text?: {
3301
- type: "Text";
3302
- } & {
3303
- fieldset?: string | null | undefined;
3304
- config?: {
3305
- label?: string | null | undefined;
3306
- useAsTitle?: boolean;
3307
- placeholder?: string;
3308
- };
3309
- };
3310
3511
  };
3311
3512
  }) | ({
3312
3513
  type: "Number";
@@ -3363,6 +3564,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3363
3564
  config?: {
3364
3565
  label?: string | null | undefined;
3365
3566
  };
3567
+ }) | ({
3568
+ type: "Text";
3569
+ } & {
3570
+ fieldset?: string | null | undefined;
3571
+ config?: {
3572
+ label?: string | null | undefined;
3573
+ useAsTitle?: boolean;
3574
+ placeholder?: string;
3575
+ };
3366
3576
  }) | ({
3367
3577
  type: "Timestamp";
3368
3578
  } & {
@@ -3452,15 +3662,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3452
3662
  placeholder?: string;
3453
3663
  catalog?: string;
3454
3664
  };
3455
- }) | ({
3456
- type: "Text";
3457
- } & {
3458
- fieldset?: string | null | undefined;
3459
- config?: {
3460
- label?: string | null | undefined;
3461
- useAsTitle?: boolean;
3462
- placeholder?: string;
3463
- };
3464
3665
  }) | ({
3465
3666
  type: "Link";
3466
3667
  } & {
@@ -3474,16 +3675,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3474
3675
  masks?: readonly string[];
3475
3676
  tags?: readonly string[];
3476
3677
  allowTargetBlank?: boolean;
3477
- text?: {
3478
- type: "Text";
3479
- } & {
3480
- fieldset?: string | null | undefined;
3481
- config?: {
3482
- label?: string | null | undefined;
3483
- useAsTitle?: boolean;
3484
- placeholder?: string;
3485
- };
3486
- };
3487
3678
  };
3488
3679
  }) | ({
3489
3680
  type: "Number";
@@ -3540,6 +3731,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3540
3731
  config?: {
3541
3732
  label?: string | null | undefined;
3542
3733
  };
3734
+ }) | ({
3735
+ type: "Text";
3736
+ } & {
3737
+ fieldset?: string | null | undefined;
3738
+ config?: {
3739
+ label?: string | null | undefined;
3740
+ useAsTitle?: boolean;
3741
+ placeholder?: string;
3742
+ };
3543
3743
  }) | ({
3544
3744
  type: "Timestamp";
3545
3745
  } & {
@@ -3621,15 +3821,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3621
3821
  placeholder?: string;
3622
3822
  catalog?: string;
3623
3823
  };
3624
- }) | ({
3625
- type: "Text";
3626
- } & {
3627
- fieldset?: string | null | undefined;
3628
- config?: {
3629
- label?: string | null | undefined;
3630
- useAsTitle?: boolean;
3631
- placeholder?: string;
3632
- };
3633
3824
  }) | ({
3634
3825
  type: "Link";
3635
3826
  } & {
@@ -3643,16 +3834,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3643
3834
  masks?: readonly string[];
3644
3835
  tags?: readonly string[];
3645
3836
  allowTargetBlank?: boolean;
3646
- text?: {
3647
- type: "Text";
3648
- } & {
3649
- fieldset?: string | null | undefined;
3650
- config?: {
3651
- label?: string | null | undefined;
3652
- useAsTitle?: boolean;
3653
- placeholder?: string;
3654
- };
3655
- };
3656
3837
  };
3657
3838
  }) | ({
3658
3839
  type: "Number";
@@ -3709,6 +3890,15 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3709
3890
  config?: {
3710
3891
  label?: string | null | undefined;
3711
3892
  };
3893
+ }) | ({
3894
+ type: "Text";
3895
+ } & {
3896
+ fieldset?: string | null | undefined;
3897
+ config?: {
3898
+ label?: string | null | undefined;
3899
+ useAsTitle?: boolean;
3900
+ placeholder?: string;
3901
+ };
3712
3902
  }) | ({
3713
3903
  type: "Timestamp";
3714
3904
  } & {