@xiwebdesign/xicms-core 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/blockEditors/index.js +2 -2
- package/dist/admin/blockEditors/index.js.map +1 -1
- package/dist/blocks/builtins/Booking.js +1 -1
- package/dist/blocks/builtins/Booking.js.map +1 -1
- package/dist/blocks/builtins/Embed.js +2 -0
- package/dist/blocks/builtins/Embed.js.map +1 -1
- package/dist/blocks/builtins/Hero.js +45 -6
- package/dist/blocks/builtins/Hero.js.map +1 -1
- package/dist/blocks/builtins/ImageBlock.js +14 -3
- package/dist/blocks/builtins/ImageBlock.js.map +1 -1
- package/dist/blocks/builtins/Jobs.d.ts +2 -2
- package/dist/blocks/builtins/Jobs.js +1 -1
- package/dist/blocks/builtins/Jobs.js.map +1 -1
- package/dist/blocks/builtins/Newsletter.js +18 -5
- package/dist/blocks/builtins/Newsletter.js.map +1 -1
- package/dist/blocks/builtins/Pricing.js +3 -1
- package/dist/blocks/builtins/Pricing.js.map +1 -1
- package/dist/blocks/builtins/Sections.js +4 -4
- package/dist/blocks/builtins/Sections.js.map +1 -1
- package/dist/blocks/builtins/Slider.js +9 -4
- package/dist/blocks/builtins/Slider.js.map +1 -1
- package/dist/blocks/builtins/Video.js +1 -1
- package/dist/blocks/builtins/Video.js.map +1 -1
- package/dist/blocks/builtins/Widgets.js +2 -1
- package/dist/blocks/builtins/Widgets.js.map +1 -1
- package/dist/schema/blocks.d.ts +0 -78
- package/dist/schema/blocks.js +1 -6
- package/dist/schema/blocks.js.map +1 -1
- package/dist/styles.css +50 -9
- package/package.json +1 -1
package/dist/schema/blocks.d.ts
CHANGED
|
@@ -153,7 +153,6 @@ export declare const HeroBlockSchema: z.ZodObject<{
|
|
|
153
153
|
eyebrow: z.ZodOptional<z.ZodString>;
|
|
154
154
|
title: z.ZodDefault<z.ZodString>;
|
|
155
155
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
156
|
-
imageId: z.ZodOptional<z.ZodString>;
|
|
157
156
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
158
157
|
/** Videoachtergrond (mp4/webm); overschrijft de afbeelding als gezet. */
|
|
159
158
|
videoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -230,7 +229,6 @@ export declare const HeroBlockSchema: z.ZodObject<{
|
|
|
230
229
|
} | undefined;
|
|
231
230
|
eyebrow?: string | undefined;
|
|
232
231
|
subtitle?: string | undefined;
|
|
233
|
-
imageId?: string | undefined;
|
|
234
232
|
imageUrl?: string | undefined;
|
|
235
233
|
videoUrl?: string | undefined;
|
|
236
234
|
overlayColor?: string | undefined;
|
|
@@ -249,7 +247,6 @@ export declare const HeroBlockSchema: z.ZodObject<{
|
|
|
249
247
|
} | undefined;
|
|
250
248
|
eyebrow?: string | undefined;
|
|
251
249
|
subtitle?: string | undefined;
|
|
252
|
-
imageId?: string | undefined;
|
|
253
250
|
imageUrl?: string | undefined;
|
|
254
251
|
videoUrl?: string | undefined;
|
|
255
252
|
vAlign?: "center" | "top" | "bottom" | undefined;
|
|
@@ -318,7 +315,6 @@ export declare const RichTextBlockSchema: z.ZodObject<{
|
|
|
318
315
|
}>;
|
|
319
316
|
export declare const ImageBlockSchema: z.ZodObject<{
|
|
320
317
|
_type: z.ZodLiteral<"image">;
|
|
321
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
322
318
|
url: z.ZodOptional<z.ZodString>;
|
|
323
319
|
alt: z.ZodDefault<z.ZodString>;
|
|
324
320
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -368,7 +364,6 @@ export declare const ImageBlockSchema: z.ZodObject<{
|
|
|
368
364
|
anchorId?: string | undefined;
|
|
369
365
|
animate?: "fade" | "up" | undefined;
|
|
370
366
|
} | undefined;
|
|
371
|
-
mediaId?: string | undefined;
|
|
372
367
|
url?: string | undefined;
|
|
373
368
|
caption?: string | undefined;
|
|
374
369
|
}, {
|
|
@@ -384,7 +379,6 @@ export declare const ImageBlockSchema: z.ZodObject<{
|
|
|
384
379
|
anchorId?: string | undefined;
|
|
385
380
|
animate?: "fade" | "up" | undefined;
|
|
386
381
|
} | undefined;
|
|
387
|
-
mediaId?: string | undefined;
|
|
388
382
|
url?: string | undefined;
|
|
389
383
|
alt?: string | undefined;
|
|
390
384
|
caption?: string | undefined;
|
|
@@ -393,7 +387,6 @@ export declare const ImageBlockSchema: z.ZodObject<{
|
|
|
393
387
|
export declare const GalleryBlockSchema: z.ZodObject<{
|
|
394
388
|
_type: z.ZodLiteral<"gallery">;
|
|
395
389
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
396
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
397
390
|
url: z.ZodOptional<z.ZodString>;
|
|
398
391
|
alt: z.ZodDefault<z.ZodString>;
|
|
399
392
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -401,12 +394,10 @@ export declare const GalleryBlockSchema: z.ZodObject<{
|
|
|
401
394
|
tag: z.ZodOptional<z.ZodString>;
|
|
402
395
|
}, "strip", z.ZodTypeAny, {
|
|
403
396
|
alt: string;
|
|
404
|
-
mediaId?: string | undefined;
|
|
405
397
|
url?: string | undefined;
|
|
406
398
|
caption?: string | undefined;
|
|
407
399
|
tag?: string | undefined;
|
|
408
400
|
}, {
|
|
409
|
-
mediaId?: string | undefined;
|
|
410
401
|
url?: string | undefined;
|
|
411
402
|
alt?: string | undefined;
|
|
412
403
|
caption?: string | undefined;
|
|
@@ -452,7 +443,6 @@ export declare const GalleryBlockSchema: z.ZodObject<{
|
|
|
452
443
|
aspectRatio: "auto" | "16/9" | "4/3" | "1/1" | "3/2";
|
|
453
444
|
items: {
|
|
454
445
|
alt: string;
|
|
455
|
-
mediaId?: string | undefined;
|
|
456
446
|
url?: string | undefined;
|
|
457
447
|
caption?: string | undefined;
|
|
458
448
|
tag?: string | undefined;
|
|
@@ -481,7 +471,6 @@ export declare const GalleryBlockSchema: z.ZodObject<{
|
|
|
481
471
|
} | undefined;
|
|
482
472
|
aspectRatio?: "auto" | "16/9" | "4/3" | "1/1" | "3/2" | undefined;
|
|
483
473
|
items?: {
|
|
484
|
-
mediaId?: string | undefined;
|
|
485
474
|
url?: string | undefined;
|
|
486
475
|
alt?: string | undefined;
|
|
487
476
|
caption?: string | undefined;
|
|
@@ -3778,7 +3767,6 @@ export declare const SliderBlockSchema: z.ZodObject<{
|
|
|
3778
3767
|
_type: z.ZodLiteral<"slider">;
|
|
3779
3768
|
slides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3780
3769
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3781
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
3782
3770
|
alt: z.ZodDefault<z.ZodString>;
|
|
3783
3771
|
caption: z.ZodOptional<z.ZodString>;
|
|
3784
3772
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -3786,12 +3774,10 @@ export declare const SliderBlockSchema: z.ZodObject<{
|
|
|
3786
3774
|
alt: string;
|
|
3787
3775
|
href?: string | undefined;
|
|
3788
3776
|
imageUrl?: string | undefined;
|
|
3789
|
-
mediaId?: string | undefined;
|
|
3790
3777
|
caption?: string | undefined;
|
|
3791
3778
|
}, {
|
|
3792
3779
|
href?: string | undefined;
|
|
3793
3780
|
imageUrl?: string | undefined;
|
|
3794
|
-
mediaId?: string | undefined;
|
|
3795
3781
|
alt?: string | undefined;
|
|
3796
3782
|
caption?: string | undefined;
|
|
3797
3783
|
}>, "many">>;
|
|
@@ -3834,7 +3820,6 @@ export declare const SliderBlockSchema: z.ZodObject<{
|
|
|
3834
3820
|
alt: string;
|
|
3835
3821
|
href?: string | undefined;
|
|
3836
3822
|
imageUrl?: string | undefined;
|
|
3837
|
-
mediaId?: string | undefined;
|
|
3838
3823
|
caption?: string | undefined;
|
|
3839
3824
|
}[];
|
|
3840
3825
|
autoplay: boolean;
|
|
@@ -3864,7 +3849,6 @@ export declare const SliderBlockSchema: z.ZodObject<{
|
|
|
3864
3849
|
slides?: {
|
|
3865
3850
|
href?: string | undefined;
|
|
3866
3851
|
imageUrl?: string | undefined;
|
|
3867
|
-
mediaId?: string | undefined;
|
|
3868
3852
|
alt?: string | undefined;
|
|
3869
3853
|
caption?: string | undefined;
|
|
3870
3854
|
}[] | undefined;
|
|
@@ -4019,7 +4003,6 @@ export declare const PortfolioBlockSchema: z.ZodObject<{
|
|
|
4019
4003
|
columns: z.ZodDefault<z.ZodNumber>;
|
|
4020
4004
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4021
4005
|
imageUrl: z.ZodDefault<z.ZodString>;
|
|
4022
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
4023
4006
|
title: z.ZodDefault<z.ZodString>;
|
|
4024
4007
|
category: z.ZodOptional<z.ZodString>;
|
|
4025
4008
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4029,14 +4012,12 @@ export declare const PortfolioBlockSchema: z.ZodObject<{
|
|
|
4029
4012
|
imageUrl: string;
|
|
4030
4013
|
description?: string | undefined;
|
|
4031
4014
|
href?: string | undefined;
|
|
4032
|
-
mediaId?: string | undefined;
|
|
4033
4015
|
category?: string | undefined;
|
|
4034
4016
|
}, {
|
|
4035
4017
|
title?: string | undefined;
|
|
4036
4018
|
description?: string | undefined;
|
|
4037
4019
|
href?: string | undefined;
|
|
4038
4020
|
imageUrl?: string | undefined;
|
|
4039
|
-
mediaId?: string | undefined;
|
|
4040
4021
|
category?: string | undefined;
|
|
4041
4022
|
}>, "many">>;
|
|
4042
4023
|
/** Filterbalk op categorieën (alleen zichtbaar als er categorieën zijn). */
|
|
@@ -4076,7 +4057,6 @@ export declare const PortfolioBlockSchema: z.ZodObject<{
|
|
|
4076
4057
|
imageUrl: string;
|
|
4077
4058
|
description?: string | undefined;
|
|
4078
4059
|
href?: string | undefined;
|
|
4079
|
-
mediaId?: string | undefined;
|
|
4080
4060
|
category?: string | undefined;
|
|
4081
4061
|
}[];
|
|
4082
4062
|
showFilter: boolean;
|
|
@@ -4109,7 +4089,6 @@ export declare const PortfolioBlockSchema: z.ZodObject<{
|
|
|
4109
4089
|
description?: string | undefined;
|
|
4110
4090
|
href?: string | undefined;
|
|
4111
4091
|
imageUrl?: string | undefined;
|
|
4112
|
-
mediaId?: string | undefined;
|
|
4113
4092
|
category?: string | undefined;
|
|
4114
4093
|
}[] | undefined;
|
|
4115
4094
|
showFilter?: boolean | undefined;
|
|
@@ -4779,14 +4758,11 @@ export declare const GalleryWidgetSchema: z.ZodObject<{
|
|
|
4779
4758
|
heading: z.ZodOptional<z.ZodString>;
|
|
4780
4759
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4781
4760
|
url: z.ZodOptional<z.ZodString>;
|
|
4782
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
4783
4761
|
alt: z.ZodDefault<z.ZodString>;
|
|
4784
4762
|
}, "strip", z.ZodTypeAny, {
|
|
4785
4763
|
alt: string;
|
|
4786
|
-
mediaId?: string | undefined;
|
|
4787
4764
|
url?: string | undefined;
|
|
4788
4765
|
}, {
|
|
4789
|
-
mediaId?: string | undefined;
|
|
4790
4766
|
url?: string | undefined;
|
|
4791
4767
|
alt?: string | undefined;
|
|
4792
4768
|
}>, "many">>;
|
|
@@ -4822,7 +4798,6 @@ export declare const GalleryWidgetSchema: z.ZodObject<{
|
|
|
4822
4798
|
_key: string;
|
|
4823
4799
|
items: {
|
|
4824
4800
|
alt: string;
|
|
4825
|
-
mediaId?: string | undefined;
|
|
4826
4801
|
url?: string | undefined;
|
|
4827
4802
|
}[];
|
|
4828
4803
|
heading?: string | undefined;
|
|
@@ -4848,7 +4823,6 @@ export declare const GalleryWidgetSchema: z.ZodObject<{
|
|
|
4848
4823
|
animate?: "fade" | "up" | undefined;
|
|
4849
4824
|
} | undefined;
|
|
4850
4825
|
items?: {
|
|
4851
|
-
mediaId?: string | undefined;
|
|
4852
4826
|
url?: string | undefined;
|
|
4853
4827
|
alt?: string | undefined;
|
|
4854
4828
|
}[] | undefined;
|
|
@@ -5214,7 +5188,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5214
5188
|
eyebrow: z.ZodOptional<z.ZodString>;
|
|
5215
5189
|
title: z.ZodDefault<z.ZodString>;
|
|
5216
5190
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
5217
|
-
imageId: z.ZodOptional<z.ZodString>;
|
|
5218
5191
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5219
5192
|
/** Videoachtergrond (mp4/webm); overschrijft de afbeelding als gezet. */
|
|
5220
5193
|
videoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5291,7 +5264,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5291
5264
|
} | undefined;
|
|
5292
5265
|
eyebrow?: string | undefined;
|
|
5293
5266
|
subtitle?: string | undefined;
|
|
5294
|
-
imageId?: string | undefined;
|
|
5295
5267
|
imageUrl?: string | undefined;
|
|
5296
5268
|
videoUrl?: string | undefined;
|
|
5297
5269
|
overlayColor?: string | undefined;
|
|
@@ -5310,7 +5282,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5310
5282
|
} | undefined;
|
|
5311
5283
|
eyebrow?: string | undefined;
|
|
5312
5284
|
subtitle?: string | undefined;
|
|
5313
|
-
imageId?: string | undefined;
|
|
5314
5285
|
imageUrl?: string | undefined;
|
|
5315
5286
|
videoUrl?: string | undefined;
|
|
5316
5287
|
vAlign?: "center" | "top" | "bottom" | undefined;
|
|
@@ -5377,7 +5348,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5377
5348
|
html?: string | undefined;
|
|
5378
5349
|
}>, z.ZodObject<{
|
|
5379
5350
|
_type: z.ZodLiteral<"image">;
|
|
5380
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
5381
5351
|
url: z.ZodOptional<z.ZodString>;
|
|
5382
5352
|
alt: z.ZodDefault<z.ZodString>;
|
|
5383
5353
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -5427,7 +5397,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5427
5397
|
anchorId?: string | undefined;
|
|
5428
5398
|
animate?: "fade" | "up" | undefined;
|
|
5429
5399
|
} | undefined;
|
|
5430
|
-
mediaId?: string | undefined;
|
|
5431
5400
|
url?: string | undefined;
|
|
5432
5401
|
caption?: string | undefined;
|
|
5433
5402
|
}, {
|
|
@@ -5443,7 +5412,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5443
5412
|
anchorId?: string | undefined;
|
|
5444
5413
|
animate?: "fade" | "up" | undefined;
|
|
5445
5414
|
} | undefined;
|
|
5446
|
-
mediaId?: string | undefined;
|
|
5447
5415
|
url?: string | undefined;
|
|
5448
5416
|
alt?: string | undefined;
|
|
5449
5417
|
caption?: string | undefined;
|
|
@@ -5451,7 +5419,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5451
5419
|
}>, z.ZodObject<{
|
|
5452
5420
|
_type: z.ZodLiteral<"gallery">;
|
|
5453
5421
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5454
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
5455
5422
|
url: z.ZodOptional<z.ZodString>;
|
|
5456
5423
|
alt: z.ZodDefault<z.ZodString>;
|
|
5457
5424
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -5459,12 +5426,10 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5459
5426
|
tag: z.ZodOptional<z.ZodString>;
|
|
5460
5427
|
}, "strip", z.ZodTypeAny, {
|
|
5461
5428
|
alt: string;
|
|
5462
|
-
mediaId?: string | undefined;
|
|
5463
5429
|
url?: string | undefined;
|
|
5464
5430
|
caption?: string | undefined;
|
|
5465
5431
|
tag?: string | undefined;
|
|
5466
5432
|
}, {
|
|
5467
|
-
mediaId?: string | undefined;
|
|
5468
5433
|
url?: string | undefined;
|
|
5469
5434
|
alt?: string | undefined;
|
|
5470
5435
|
caption?: string | undefined;
|
|
@@ -5510,7 +5475,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5510
5475
|
aspectRatio: "auto" | "16/9" | "4/3" | "1/1" | "3/2";
|
|
5511
5476
|
items: {
|
|
5512
5477
|
alt: string;
|
|
5513
|
-
mediaId?: string | undefined;
|
|
5514
5478
|
url?: string | undefined;
|
|
5515
5479
|
caption?: string | undefined;
|
|
5516
5480
|
tag?: string | undefined;
|
|
@@ -5539,7 +5503,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
5539
5503
|
} | undefined;
|
|
5540
5504
|
aspectRatio?: "auto" | "16/9" | "4/3" | "1/1" | "3/2" | undefined;
|
|
5541
5505
|
items?: {
|
|
5542
|
-
mediaId?: string | undefined;
|
|
5543
5506
|
url?: string | undefined;
|
|
5544
5507
|
alt?: string | undefined;
|
|
5545
5508
|
caption?: string | undefined;
|
|
@@ -8837,7 +8800,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
8837
8800
|
_type: z.ZodLiteral<"slider">;
|
|
8838
8801
|
slides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8839
8802
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
8840
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
8841
8803
|
alt: z.ZodDefault<z.ZodString>;
|
|
8842
8804
|
caption: z.ZodOptional<z.ZodString>;
|
|
8843
8805
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -8845,12 +8807,10 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
8845
8807
|
alt: string;
|
|
8846
8808
|
href?: string | undefined;
|
|
8847
8809
|
imageUrl?: string | undefined;
|
|
8848
|
-
mediaId?: string | undefined;
|
|
8849
8810
|
caption?: string | undefined;
|
|
8850
8811
|
}, {
|
|
8851
8812
|
href?: string | undefined;
|
|
8852
8813
|
imageUrl?: string | undefined;
|
|
8853
|
-
mediaId?: string | undefined;
|
|
8854
8814
|
alt?: string | undefined;
|
|
8855
8815
|
caption?: string | undefined;
|
|
8856
8816
|
}>, "many">>;
|
|
@@ -8893,7 +8853,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
8893
8853
|
alt: string;
|
|
8894
8854
|
href?: string | undefined;
|
|
8895
8855
|
imageUrl?: string | undefined;
|
|
8896
|
-
mediaId?: string | undefined;
|
|
8897
8856
|
caption?: string | undefined;
|
|
8898
8857
|
}[];
|
|
8899
8858
|
autoplay: boolean;
|
|
@@ -8923,7 +8882,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
8923
8882
|
slides?: {
|
|
8924
8883
|
href?: string | undefined;
|
|
8925
8884
|
imageUrl?: string | undefined;
|
|
8926
|
-
mediaId?: string | undefined;
|
|
8927
8885
|
alt?: string | undefined;
|
|
8928
8886
|
caption?: string | undefined;
|
|
8929
8887
|
}[] | undefined;
|
|
@@ -9072,7 +9030,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9072
9030
|
columns: z.ZodDefault<z.ZodNumber>;
|
|
9073
9031
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9074
9032
|
imageUrl: z.ZodDefault<z.ZodString>;
|
|
9075
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
9076
9033
|
title: z.ZodDefault<z.ZodString>;
|
|
9077
9034
|
category: z.ZodOptional<z.ZodString>;
|
|
9078
9035
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -9082,14 +9039,12 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9082
9039
|
imageUrl: string;
|
|
9083
9040
|
description?: string | undefined;
|
|
9084
9041
|
href?: string | undefined;
|
|
9085
|
-
mediaId?: string | undefined;
|
|
9086
9042
|
category?: string | undefined;
|
|
9087
9043
|
}, {
|
|
9088
9044
|
title?: string | undefined;
|
|
9089
9045
|
description?: string | undefined;
|
|
9090
9046
|
href?: string | undefined;
|
|
9091
9047
|
imageUrl?: string | undefined;
|
|
9092
|
-
mediaId?: string | undefined;
|
|
9093
9048
|
category?: string | undefined;
|
|
9094
9049
|
}>, "many">>;
|
|
9095
9050
|
/** Filterbalk op categorieën (alleen zichtbaar als er categorieën zijn). */
|
|
@@ -9129,7 +9084,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9129
9084
|
imageUrl: string;
|
|
9130
9085
|
description?: string | undefined;
|
|
9131
9086
|
href?: string | undefined;
|
|
9132
|
-
mediaId?: string | undefined;
|
|
9133
9087
|
category?: string | undefined;
|
|
9134
9088
|
}[];
|
|
9135
9089
|
showFilter: boolean;
|
|
@@ -9162,7 +9116,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9162
9116
|
description?: string | undefined;
|
|
9163
9117
|
href?: string | undefined;
|
|
9164
9118
|
imageUrl?: string | undefined;
|
|
9165
|
-
mediaId?: string | undefined;
|
|
9166
9119
|
category?: string | undefined;
|
|
9167
9120
|
}[] | undefined;
|
|
9168
9121
|
showFilter?: boolean | undefined;
|
|
@@ -9812,14 +9765,11 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9812
9765
|
heading: z.ZodOptional<z.ZodString>;
|
|
9813
9766
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9814
9767
|
url: z.ZodOptional<z.ZodString>;
|
|
9815
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
9816
9768
|
alt: z.ZodDefault<z.ZodString>;
|
|
9817
9769
|
}, "strip", z.ZodTypeAny, {
|
|
9818
9770
|
alt: string;
|
|
9819
|
-
mediaId?: string | undefined;
|
|
9820
9771
|
url?: string | undefined;
|
|
9821
9772
|
}, {
|
|
9822
|
-
mediaId?: string | undefined;
|
|
9823
9773
|
url?: string | undefined;
|
|
9824
9774
|
alt?: string | undefined;
|
|
9825
9775
|
}>, "many">>;
|
|
@@ -9855,7 +9805,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9855
9805
|
_key: string;
|
|
9856
9806
|
items: {
|
|
9857
9807
|
alt: string;
|
|
9858
|
-
mediaId?: string | undefined;
|
|
9859
9808
|
url?: string | undefined;
|
|
9860
9809
|
}[];
|
|
9861
9810
|
heading?: string | undefined;
|
|
@@ -9881,7 +9830,6 @@ export declare const BuiltinBlockSchema: z.ZodDiscriminatedUnion<"_type", [z.Zod
|
|
|
9881
9830
|
animate?: "fade" | "up" | undefined;
|
|
9882
9831
|
} | undefined;
|
|
9883
9832
|
items?: {
|
|
9884
|
-
mediaId?: string | undefined;
|
|
9885
9833
|
url?: string | undefined;
|
|
9886
9834
|
alt?: string | undefined;
|
|
9887
9835
|
}[] | undefined;
|
|
@@ -10185,7 +10133,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10185
10133
|
eyebrow: z.ZodOptional<z.ZodString>;
|
|
10186
10134
|
title: z.ZodDefault<z.ZodString>;
|
|
10187
10135
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
10188
|
-
imageId: z.ZodOptional<z.ZodString>;
|
|
10189
10136
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10190
10137
|
/** Videoachtergrond (mp4/webm); overschrijft de afbeelding als gezet. */
|
|
10191
10138
|
videoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -10262,7 +10209,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10262
10209
|
} | undefined;
|
|
10263
10210
|
eyebrow?: string | undefined;
|
|
10264
10211
|
subtitle?: string | undefined;
|
|
10265
|
-
imageId?: string | undefined;
|
|
10266
10212
|
imageUrl?: string | undefined;
|
|
10267
10213
|
videoUrl?: string | undefined;
|
|
10268
10214
|
overlayColor?: string | undefined;
|
|
@@ -10281,7 +10227,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10281
10227
|
} | undefined;
|
|
10282
10228
|
eyebrow?: string | undefined;
|
|
10283
10229
|
subtitle?: string | undefined;
|
|
10284
|
-
imageId?: string | undefined;
|
|
10285
10230
|
imageUrl?: string | undefined;
|
|
10286
10231
|
videoUrl?: string | undefined;
|
|
10287
10232
|
vAlign?: "center" | "top" | "bottom" | undefined;
|
|
@@ -10348,7 +10293,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10348
10293
|
html?: string | undefined;
|
|
10349
10294
|
}>, z.ZodObject<{
|
|
10350
10295
|
_type: z.ZodLiteral<"image">;
|
|
10351
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
10352
10296
|
url: z.ZodOptional<z.ZodString>;
|
|
10353
10297
|
alt: z.ZodDefault<z.ZodString>;
|
|
10354
10298
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -10398,7 +10342,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10398
10342
|
anchorId?: string | undefined;
|
|
10399
10343
|
animate?: "fade" | "up" | undefined;
|
|
10400
10344
|
} | undefined;
|
|
10401
|
-
mediaId?: string | undefined;
|
|
10402
10345
|
url?: string | undefined;
|
|
10403
10346
|
caption?: string | undefined;
|
|
10404
10347
|
}, {
|
|
@@ -10414,7 +10357,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10414
10357
|
anchorId?: string | undefined;
|
|
10415
10358
|
animate?: "fade" | "up" | undefined;
|
|
10416
10359
|
} | undefined;
|
|
10417
|
-
mediaId?: string | undefined;
|
|
10418
10360
|
url?: string | undefined;
|
|
10419
10361
|
alt?: string | undefined;
|
|
10420
10362
|
caption?: string | undefined;
|
|
@@ -10422,7 +10364,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10422
10364
|
}>, z.ZodObject<{
|
|
10423
10365
|
_type: z.ZodLiteral<"gallery">;
|
|
10424
10366
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10425
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
10426
10367
|
url: z.ZodOptional<z.ZodString>;
|
|
10427
10368
|
alt: z.ZodDefault<z.ZodString>;
|
|
10428
10369
|
caption: z.ZodOptional<z.ZodString>;
|
|
@@ -10430,12 +10371,10 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10430
10371
|
tag: z.ZodOptional<z.ZodString>;
|
|
10431
10372
|
}, "strip", z.ZodTypeAny, {
|
|
10432
10373
|
alt: string;
|
|
10433
|
-
mediaId?: string | undefined;
|
|
10434
10374
|
url?: string | undefined;
|
|
10435
10375
|
caption?: string | undefined;
|
|
10436
10376
|
tag?: string | undefined;
|
|
10437
10377
|
}, {
|
|
10438
|
-
mediaId?: string | undefined;
|
|
10439
10378
|
url?: string | undefined;
|
|
10440
10379
|
alt?: string | undefined;
|
|
10441
10380
|
caption?: string | undefined;
|
|
@@ -10481,7 +10420,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10481
10420
|
aspectRatio: "auto" | "16/9" | "4/3" | "1/1" | "3/2";
|
|
10482
10421
|
items: {
|
|
10483
10422
|
alt: string;
|
|
10484
|
-
mediaId?: string | undefined;
|
|
10485
10423
|
url?: string | undefined;
|
|
10486
10424
|
caption?: string | undefined;
|
|
10487
10425
|
tag?: string | undefined;
|
|
@@ -10510,7 +10448,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
10510
10448
|
} | undefined;
|
|
10511
10449
|
aspectRatio?: "auto" | "16/9" | "4/3" | "1/1" | "3/2" | undefined;
|
|
10512
10450
|
items?: {
|
|
10513
|
-
mediaId?: string | undefined;
|
|
10514
10451
|
url?: string | undefined;
|
|
10515
10452
|
alt?: string | undefined;
|
|
10516
10453
|
caption?: string | undefined;
|
|
@@ -13808,7 +13745,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
13808
13745
|
_type: z.ZodLiteral<"slider">;
|
|
13809
13746
|
slides: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13810
13747
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
13811
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
13812
13748
|
alt: z.ZodDefault<z.ZodString>;
|
|
13813
13749
|
caption: z.ZodOptional<z.ZodString>;
|
|
13814
13750
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -13816,12 +13752,10 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
13816
13752
|
alt: string;
|
|
13817
13753
|
href?: string | undefined;
|
|
13818
13754
|
imageUrl?: string | undefined;
|
|
13819
|
-
mediaId?: string | undefined;
|
|
13820
13755
|
caption?: string | undefined;
|
|
13821
13756
|
}, {
|
|
13822
13757
|
href?: string | undefined;
|
|
13823
13758
|
imageUrl?: string | undefined;
|
|
13824
|
-
mediaId?: string | undefined;
|
|
13825
13759
|
alt?: string | undefined;
|
|
13826
13760
|
caption?: string | undefined;
|
|
13827
13761
|
}>, "many">>;
|
|
@@ -13864,7 +13798,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
13864
13798
|
alt: string;
|
|
13865
13799
|
href?: string | undefined;
|
|
13866
13800
|
imageUrl?: string | undefined;
|
|
13867
|
-
mediaId?: string | undefined;
|
|
13868
13801
|
caption?: string | undefined;
|
|
13869
13802
|
}[];
|
|
13870
13803
|
autoplay: boolean;
|
|
@@ -13894,7 +13827,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
13894
13827
|
slides?: {
|
|
13895
13828
|
href?: string | undefined;
|
|
13896
13829
|
imageUrl?: string | undefined;
|
|
13897
|
-
mediaId?: string | undefined;
|
|
13898
13830
|
alt?: string | undefined;
|
|
13899
13831
|
caption?: string | undefined;
|
|
13900
13832
|
}[] | undefined;
|
|
@@ -14043,7 +13975,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14043
13975
|
columns: z.ZodDefault<z.ZodNumber>;
|
|
14044
13976
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14045
13977
|
imageUrl: z.ZodDefault<z.ZodString>;
|
|
14046
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
14047
13978
|
title: z.ZodDefault<z.ZodString>;
|
|
14048
13979
|
category: z.ZodOptional<z.ZodString>;
|
|
14049
13980
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -14053,14 +13984,12 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14053
13984
|
imageUrl: string;
|
|
14054
13985
|
description?: string | undefined;
|
|
14055
13986
|
href?: string | undefined;
|
|
14056
|
-
mediaId?: string | undefined;
|
|
14057
13987
|
category?: string | undefined;
|
|
14058
13988
|
}, {
|
|
14059
13989
|
title?: string | undefined;
|
|
14060
13990
|
description?: string | undefined;
|
|
14061
13991
|
href?: string | undefined;
|
|
14062
13992
|
imageUrl?: string | undefined;
|
|
14063
|
-
mediaId?: string | undefined;
|
|
14064
13993
|
category?: string | undefined;
|
|
14065
13994
|
}>, "many">>;
|
|
14066
13995
|
/** Filterbalk op categorieën (alleen zichtbaar als er categorieën zijn). */
|
|
@@ -14100,7 +14029,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14100
14029
|
imageUrl: string;
|
|
14101
14030
|
description?: string | undefined;
|
|
14102
14031
|
href?: string | undefined;
|
|
14103
|
-
mediaId?: string | undefined;
|
|
14104
14032
|
category?: string | undefined;
|
|
14105
14033
|
}[];
|
|
14106
14034
|
showFilter: boolean;
|
|
@@ -14133,7 +14061,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14133
14061
|
description?: string | undefined;
|
|
14134
14062
|
href?: string | undefined;
|
|
14135
14063
|
imageUrl?: string | undefined;
|
|
14136
|
-
mediaId?: string | undefined;
|
|
14137
14064
|
category?: string | undefined;
|
|
14138
14065
|
}[] | undefined;
|
|
14139
14066
|
showFilter?: boolean | undefined;
|
|
@@ -14783,14 +14710,11 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14783
14710
|
heading: z.ZodOptional<z.ZodString>;
|
|
14784
14711
|
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14785
14712
|
url: z.ZodOptional<z.ZodString>;
|
|
14786
|
-
mediaId: z.ZodOptional<z.ZodString>;
|
|
14787
14713
|
alt: z.ZodDefault<z.ZodString>;
|
|
14788
14714
|
}, "strip", z.ZodTypeAny, {
|
|
14789
14715
|
alt: string;
|
|
14790
|
-
mediaId?: string | undefined;
|
|
14791
14716
|
url?: string | undefined;
|
|
14792
14717
|
}, {
|
|
14793
|
-
mediaId?: string | undefined;
|
|
14794
14718
|
url?: string | undefined;
|
|
14795
14719
|
alt?: string | undefined;
|
|
14796
14720
|
}>, "many">>;
|
|
@@ -14826,7 +14750,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14826
14750
|
_key: string;
|
|
14827
14751
|
items: {
|
|
14828
14752
|
alt: string;
|
|
14829
|
-
mediaId?: string | undefined;
|
|
14830
14753
|
url?: string | undefined;
|
|
14831
14754
|
}[];
|
|
14832
14755
|
heading?: string | undefined;
|
|
@@ -14852,7 +14775,6 @@ export declare const AnyBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"_type"
|
|
|
14852
14775
|
animate?: "fade" | "up" | undefined;
|
|
14853
14776
|
} | undefined;
|
|
14854
14777
|
items?: {
|
|
14855
|
-
mediaId?: string | undefined;
|
|
14856
14778
|
url?: string | undefined;
|
|
14857
14779
|
alt?: string | undefined;
|
|
14858
14780
|
}[] | undefined;
|
package/dist/schema/blocks.js
CHANGED
|
@@ -29,7 +29,6 @@ const HeroBlockSchema = z.object({
|
|
|
29
29
|
eyebrow: shortText.optional().describe("Regeltje boven de titel"),
|
|
30
30
|
title: shortText.default(""),
|
|
31
31
|
subtitle: shortText.optional(),
|
|
32
|
-
imageId: ref.optional(),
|
|
33
32
|
imageUrl: z.string().max(2e3).optional(),
|
|
34
33
|
/** Videoachtergrond (mp4/webm); overschrijft de afbeelding als gezet. */
|
|
35
34
|
videoUrl: z.string().max(2e3).optional(),
|
|
@@ -54,7 +53,6 @@ const RichTextBlockSchema = z.object({
|
|
|
54
53
|
const ImageBlockSchema = z.object({
|
|
55
54
|
...blockBase,
|
|
56
55
|
_type: z.literal("image"),
|
|
57
|
-
mediaId: ref.optional(),
|
|
58
56
|
url: z.string().max(2e3).optional(),
|
|
59
57
|
alt: shortText.default(""),
|
|
60
58
|
caption: shortText.optional(),
|
|
@@ -70,7 +68,6 @@ const GalleryBlockSchema = z.object({
|
|
|
70
68
|
_type: z.literal("gallery"),
|
|
71
69
|
items: z.array(
|
|
72
70
|
z.object({
|
|
73
|
-
mediaId: ref.optional(),
|
|
74
71
|
url: z.string().max(2e3).optional(),
|
|
75
72
|
alt: shortText.default(""),
|
|
76
73
|
// Update-veilig toegevoegd (Galerij+): optioneel bijschrift onder de foto / in de lightbox.
|
|
@@ -492,7 +489,6 @@ const SliderBlockSchema = z.object({
|
|
|
492
489
|
slides: z.array(
|
|
493
490
|
z.object({
|
|
494
491
|
imageUrl: z.string().max(2e3).optional(),
|
|
495
|
-
mediaId: ref.optional(),
|
|
496
492
|
alt: shortText.default(""),
|
|
497
493
|
caption: shortText.optional(),
|
|
498
494
|
href: z.string().max(2e3).optional()
|
|
@@ -536,7 +532,6 @@ const PortfolioBlockSchema = z.object({
|
|
|
536
532
|
items: z.array(
|
|
537
533
|
z.object({
|
|
538
534
|
imageUrl: z.string().max(2e3).default(""),
|
|
539
|
-
mediaId: ref.optional(),
|
|
540
535
|
title: shortText.default(""),
|
|
541
536
|
category: shortText.optional(),
|
|
542
537
|
description: shortText.optional(),
|
|
@@ -639,7 +634,7 @@ const GalleryWidgetSchema = z.object({
|
|
|
639
634
|
...blockBase,
|
|
640
635
|
_type: z.literal("galleryWidget"),
|
|
641
636
|
heading: shortText.optional(),
|
|
642
|
-
items: z.array(z.object({ url: z.string().max(2e3).optional(),
|
|
637
|
+
items: z.array(z.object({ url: z.string().max(2e3).optional(), alt: shortText.default("") })).max(24).default([]),
|
|
643
638
|
columns: z.number().int().min(2).max(4).default(3)
|
|
644
639
|
});
|
|
645
640
|
const TestimonialsWidgetSchema = z.object({
|