@squiz/dx-page-contents-lib 1.78.0 → 1.79.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 (46) hide show
  1. package/lib/formatted-text.d.ts +26 -56
  2. package/lib/formatted-text.js +7 -48
  3. package/lib/formatted-text.js.map +1 -1
  4. package/lib/formatted-text.spec.js +0 -10
  5. package/lib/formatted-text.spec.js.map +1 -1
  6. package/lib/layout-content.d.ts +322 -516
  7. package/lib/layout-content.js +30 -24
  8. package/lib/layout-content.js.map +1 -1
  9. package/lib/layout-content.spec.js +49 -10
  10. package/lib/layout-content.spec.js.map +1 -1
  11. package/lib/layouts/custom-layout.d.ts +6 -1056
  12. package/lib/layouts/index.d.ts +10 -4683
  13. package/lib/layouts/index.js +0 -6
  14. package/lib/layouts/index.js.map +1 -1
  15. package/lib/layouts/raw.layout.d.ts +5 -927
  16. package/lib/mocks/PageContentsHelpers.d.ts +37 -6359
  17. package/lib/mocks/PageContentsHelpers.js +40 -76
  18. package/lib/mocks/PageContentsHelpers.js.map +1 -1
  19. package/lib/mocks/PageContentsMocks.d.ts +7 -6
  20. package/lib/mocks/PageContentsMocks.js +56 -38
  21. package/lib/mocks/PageContentsMocks.js.map +1 -1
  22. package/lib/page-contents-lib.d.ts +19 -238
  23. package/lib/page-contents-lib.js +40 -67
  24. package/lib/page-contents-lib.js.map +1 -1
  25. package/lib/page-contents-lib.spec.js +231 -254
  26. package/lib/page-contents-lib.spec.js.map +1 -1
  27. package/lib/resolvers/create-variant-resolver.js +1 -1
  28. package/lib/resolvers/create-variant-resolver.js.map +1 -1
  29. package/lib/resolvers/create-variant-resolver.spec.js +50 -20
  30. package/lib/resolvers/create-variant-resolver.spec.js.map +1 -1
  31. package/lib/resolvers/default-layout-resolver.d.ts +2 -2
  32. package/lib/resolvers/default-layout-resolver.js +10 -4
  33. package/lib/resolvers/default-layout-resolver.js.map +1 -1
  34. package/lib/resolvers/default-layout-resolver.spec.js.map +1 -1
  35. package/lib/resolvers/default-variation-resolver.d.ts +2 -2
  36. package/lib/resolvers/default-variation-resolver.js +15 -5
  37. package/lib/resolvers/default-variation-resolver.js.map +1 -1
  38. package/lib/resolvers/default-variation-resolver.spec.js +22 -5
  39. package/lib/resolvers/default-variation-resolver.spec.js.map +1 -1
  40. package/package.json +2 -2
  41. package/lib/layouts/single-column.layout.d.ts +0 -950
  42. package/lib/layouts/single-column.layout.js +0 -15
  43. package/lib/layouts/single-column.layout.js.map +0 -1
  44. package/lib/layouts/two-column.layout.d.ts +0 -1883
  45. package/lib/layouts/two-column.layout.js +0 -16
  46. package/lib/layouts/two-column.layout.js.map +0 -1
@@ -1,1883 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const TwoColumnLayout: z.ZodObject<{
3
- name: z.ZodLiteral<"two-column">;
4
- content: z.ZodObject<{
5
- left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
6
- value: string;
7
- type: "text";
8
- nodeId: string;
9
- } | {
10
- type: "matrix-image";
11
- nodeId: string;
12
- matrixDomain: string;
13
- matrixAssetId: string;
14
- attributes?: (Record<string, string> & {
15
- src?: undefined;
16
- }) | undefined;
17
- formattingOptions?: {
18
- alignment: "left" | "center" | "right" | "justify";
19
- } | undefined;
20
- matrixIdentifier?: string | undefined;
21
- } | {
22
- type: "dam-image";
23
- nodeId: string;
24
- damSystemType: "bynder";
25
- damSystemIdentifier: string;
26
- damObjectId: string;
27
- attributes?: (Record<string, string> & {
28
- src?: undefined;
29
- }) | undefined;
30
- formattingOptions?: {
31
- alignment: "left" | "center" | "right" | "justify";
32
- } | undefined;
33
- damAdditional?: {
34
- variant?: string | undefined;
35
- } | undefined;
36
- } | {
37
- type: "component";
38
- nodeId: string;
39
- componentId: string;
40
- componentSet: string;
41
- i18n?: Record<string, {
42
- id: string;
43
- } | {
44
- content: Record<string, unknown>;
45
- schemaName: string;
46
- }> | undefined;
47
- componentType?: "server" | "edge" | undefined;
48
- contentItem?: {
49
- id: string;
50
- } | {
51
- content: Record<string, unknown>;
52
- schemaName: string;
53
- } | undefined;
54
- } | (({
55
- type: "tag";
56
- nodeId: string;
57
- tag: string;
58
- attributes?: Record<string, string> | undefined;
59
- font?: {
60
- bold?: boolean | undefined;
61
- italics?: boolean | undefined;
62
- underline?: boolean | undefined;
63
- color?: string | undefined;
64
- size?: string | undefined;
65
- fontFamily?: string | undefined;
66
- } | undefined;
67
- formattingOptions?: {
68
- alignment: "left" | "center" | "right" | "justify";
69
- } | undefined;
70
- } | {
71
- type: "fragment";
72
- nodeId: string;
73
- i18n?: Record<string, {}> | undefined;
74
- } | {
75
- type: "link-to-matrix-asset";
76
- nodeId: string;
77
- matrixDomain: string;
78
- matrixAssetId: string;
79
- target: "_blank" | "_self" | "_parent" | "_top";
80
- attributes?: (Record<string, string> & {
81
- target?: undefined;
82
- href?: undefined;
83
- }) | undefined;
84
- formattingOptions?: {
85
- alignment: "left" | "center" | "right" | "justify";
86
- } | undefined;
87
- matrixIdentifier?: string | undefined;
88
- } | {
89
- type: "link-to-dam-asset";
90
- nodeId: string;
91
- target: "_blank" | "_self" | "_parent" | "_top";
92
- damSystemType: "bynder";
93
- damSystemIdentifier: string;
94
- damObjectId: string;
95
- attributes?: (Record<string, string> & {
96
- target?: undefined;
97
- href?: undefined;
98
- }) | undefined;
99
- formattingOptions?: {
100
- alignment: "left" | "center" | "right" | "justify";
101
- } | undefined;
102
- damAdditional?: {
103
- variant?: string | undefined;
104
- } | undefined;
105
- }) & {
106
- children: import("../layout-content").LayoutContentNodes[];
107
- }), z.ZodTypeDef, {
108
- value: string;
109
- type: "text";
110
- nodeId?: string | undefined;
111
- } | {
112
- type: "tag";
113
- tag: string;
114
- nodeId?: string | undefined;
115
- attributes?: Record<string, string> | undefined;
116
- font?: {
117
- bold?: boolean | undefined;
118
- italics?: boolean | undefined;
119
- underline?: boolean | undefined;
120
- color?: string | undefined;
121
- size?: string | undefined;
122
- fontFamily?: string | undefined;
123
- } | undefined;
124
- formattingOptions?: {
125
- alignment: "left" | "center" | "right" | "justify";
126
- } | undefined;
127
- } | {
128
- type: "fragment";
129
- nodeId?: string | undefined;
130
- i18n?: Record<string, {}> | undefined;
131
- } | {
132
- type: "link-to-matrix-asset";
133
- matrixDomain: string;
134
- matrixAssetId: string;
135
- target: "_blank" | "_self" | "_parent" | "_top";
136
- nodeId?: string | undefined;
137
- attributes?: (Record<string, string> & {
138
- target?: undefined;
139
- href?: undefined;
140
- }) | undefined;
141
- formattingOptions?: {
142
- alignment: "left" | "center" | "right" | "justify";
143
- } | undefined;
144
- matrixIdentifier?: string | undefined;
145
- } | {
146
- type: "link-to-dam-asset";
147
- target: "_blank" | "_self" | "_parent" | "_top";
148
- damSystemType: "bynder";
149
- damSystemIdentifier: string;
150
- damObjectId: string;
151
- nodeId?: string | undefined;
152
- attributes?: (Record<string, string> & {
153
- target?: undefined;
154
- href?: undefined;
155
- }) | undefined;
156
- formattingOptions?: {
157
- alignment: "left" | "center" | "right" | "justify";
158
- } | undefined;
159
- damAdditional?: {
160
- variant?: string | undefined;
161
- } | undefined;
162
- } | {
163
- type: "matrix-image";
164
- matrixDomain: string;
165
- matrixAssetId: string;
166
- nodeId?: string | undefined;
167
- attributes?: (Record<string, string> & {
168
- src?: undefined;
169
- }) | undefined;
170
- formattingOptions?: {
171
- alignment: "left" | "center" | "right" | "justify";
172
- } | undefined;
173
- matrixIdentifier?: string | undefined;
174
- } | {
175
- type: "dam-image";
176
- damSystemType: "bynder";
177
- damSystemIdentifier: string;
178
- damObjectId: string;
179
- nodeId?: string | undefined;
180
- attributes?: (Record<string, string> & {
181
- src?: undefined;
182
- }) | undefined;
183
- formattingOptions?: {
184
- alignment: "left" | "center" | "right" | "justify";
185
- } | undefined;
186
- damAdditional?: {
187
- variant?: string | undefined;
188
- } | undefined;
189
- } | {
190
- type: "component";
191
- componentId: string;
192
- componentSet: string;
193
- nodeId?: string | undefined;
194
- i18n?: Record<string, {
195
- id: string;
196
- } | {
197
- content: Record<string, unknown>;
198
- schemaName: string;
199
- }> | undefined;
200
- componentType?: "server" | "edge" | undefined;
201
- contentItem?: {
202
- id: string;
203
- } | {
204
- content: Record<string, unknown>;
205
- schemaName: string;
206
- } | undefined;
207
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
208
- type: "variation";
209
- default: {};
210
- nodeId?: string | undefined;
211
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
212
- type: "layout";
213
- layout: {
214
- options: Record<string, {
215
- values: string[];
216
- displayName: string;
217
- description: string;
218
- selectedValue: string;
219
- }>;
220
- name: string;
221
- displayName: string;
222
- description: string;
223
- template: string;
224
- zones: Record<string, {
225
- displayName: string;
226
- description: string;
227
- minNodes: number;
228
- maxNodes?: number | undefined;
229
- }>;
230
- } | {
231
- options: Record<string, {
232
- selectedValue: string;
233
- }>;
234
- name: string;
235
- };
236
- nodeId?: string | undefined;
237
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
238
- value: string;
239
- type: "text";
240
- nodeId: string;
241
- } | {
242
- type: "matrix-image";
243
- nodeId: string;
244
- matrixDomain: string;
245
- matrixAssetId: string;
246
- attributes?: (Record<string, string> & {
247
- src?: undefined;
248
- }) | undefined;
249
- formattingOptions?: {
250
- alignment: "left" | "center" | "right" | "justify";
251
- } | undefined;
252
- matrixIdentifier?: string | undefined;
253
- } | {
254
- type: "dam-image";
255
- nodeId: string;
256
- damSystemType: "bynder";
257
- damSystemIdentifier: string;
258
- damObjectId: string;
259
- attributes?: (Record<string, string> & {
260
- src?: undefined;
261
- }) | undefined;
262
- formattingOptions?: {
263
- alignment: "left" | "center" | "right" | "justify";
264
- } | undefined;
265
- damAdditional?: {
266
- variant?: string | undefined;
267
- } | undefined;
268
- } | {
269
- type: "component";
270
- nodeId: string;
271
- componentId: string;
272
- componentSet: string;
273
- i18n?: Record<string, {
274
- id: string;
275
- } | {
276
- content: Record<string, unknown>;
277
- schemaName: string;
278
- }> | undefined;
279
- componentType?: "server" | "edge" | undefined;
280
- contentItem?: {
281
- id: string;
282
- } | {
283
- content: Record<string, unknown>;
284
- schemaName: string;
285
- } | undefined;
286
- } | (({
287
- type: "tag";
288
- nodeId: string;
289
- tag: string;
290
- attributes?: Record<string, string> | undefined;
291
- font?: {
292
- bold?: boolean | undefined;
293
- italics?: boolean | undefined;
294
- underline?: boolean | undefined;
295
- color?: string | undefined;
296
- size?: string | undefined;
297
- fontFamily?: string | undefined;
298
- } | undefined;
299
- formattingOptions?: {
300
- alignment: "left" | "center" | "right" | "justify";
301
- } | undefined;
302
- } | {
303
- type: "fragment";
304
- nodeId: string;
305
- i18n?: Record<string, {}> | undefined;
306
- } | {
307
- type: "link-to-matrix-asset";
308
- nodeId: string;
309
- matrixDomain: string;
310
- matrixAssetId: string;
311
- target: "_blank" | "_self" | "_parent" | "_top";
312
- attributes?: (Record<string, string> & {
313
- target?: undefined;
314
- href?: undefined;
315
- }) | undefined;
316
- formattingOptions?: {
317
- alignment: "left" | "center" | "right" | "justify";
318
- } | undefined;
319
- matrixIdentifier?: string | undefined;
320
- } | {
321
- type: "link-to-dam-asset";
322
- nodeId: string;
323
- target: "_blank" | "_self" | "_parent" | "_top";
324
- damSystemType: "bynder";
325
- damSystemIdentifier: string;
326
- damObjectId: string;
327
- attributes?: (Record<string, string> & {
328
- target?: undefined;
329
- href?: undefined;
330
- }) | undefined;
331
- formattingOptions?: {
332
- alignment: "left" | "center" | "right" | "justify";
333
- } | undefined;
334
- damAdditional?: {
335
- variant?: string | undefined;
336
- } | undefined;
337
- }) & {
338
- children: import("../layout-content").LayoutContentNodes[];
339
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
340
- value: string;
341
- type: "text";
342
- nodeId?: string | undefined;
343
- } | {
344
- type: "tag";
345
- tag: string;
346
- nodeId?: string | undefined;
347
- attributes?: Record<string, string> | undefined;
348
- font?: {
349
- bold?: boolean | undefined;
350
- italics?: boolean | undefined;
351
- underline?: boolean | undefined;
352
- color?: string | undefined;
353
- size?: string | undefined;
354
- fontFamily?: string | undefined;
355
- } | undefined;
356
- formattingOptions?: {
357
- alignment: "left" | "center" | "right" | "justify";
358
- } | undefined;
359
- } | {
360
- type: "fragment";
361
- nodeId?: string | undefined;
362
- i18n?: Record<string, {}> | undefined;
363
- } | {
364
- type: "link-to-matrix-asset";
365
- matrixDomain: string;
366
- matrixAssetId: string;
367
- target: "_blank" | "_self" | "_parent" | "_top";
368
- nodeId?: string | undefined;
369
- attributes?: (Record<string, string> & {
370
- target?: undefined;
371
- href?: undefined;
372
- }) | undefined;
373
- formattingOptions?: {
374
- alignment: "left" | "center" | "right" | "justify";
375
- } | undefined;
376
- matrixIdentifier?: string | undefined;
377
- } | {
378
- type: "link-to-dam-asset";
379
- target: "_blank" | "_self" | "_parent" | "_top";
380
- damSystemType: "bynder";
381
- damSystemIdentifier: string;
382
- damObjectId: string;
383
- nodeId?: string | undefined;
384
- attributes?: (Record<string, string> & {
385
- target?: undefined;
386
- href?: undefined;
387
- }) | undefined;
388
- formattingOptions?: {
389
- alignment: "left" | "center" | "right" | "justify";
390
- } | undefined;
391
- damAdditional?: {
392
- variant?: string | undefined;
393
- } | undefined;
394
- } | {
395
- type: "matrix-image";
396
- matrixDomain: string;
397
- matrixAssetId: string;
398
- nodeId?: string | undefined;
399
- attributes?: (Record<string, string> & {
400
- src?: undefined;
401
- }) | undefined;
402
- formattingOptions?: {
403
- alignment: "left" | "center" | "right" | "justify";
404
- } | undefined;
405
- matrixIdentifier?: string | undefined;
406
- } | {
407
- type: "dam-image";
408
- damSystemType: "bynder";
409
- damSystemIdentifier: string;
410
- damObjectId: string;
411
- nodeId?: string | undefined;
412
- attributes?: (Record<string, string> & {
413
- src?: undefined;
414
- }) | undefined;
415
- formattingOptions?: {
416
- alignment: "left" | "center" | "right" | "justify";
417
- } | undefined;
418
- damAdditional?: {
419
- variant?: string | undefined;
420
- } | undefined;
421
- } | {
422
- type: "component";
423
- componentId: string;
424
- componentSet: string;
425
- nodeId?: string | undefined;
426
- i18n?: Record<string, {
427
- id: string;
428
- } | {
429
- content: Record<string, unknown>;
430
- schemaName: string;
431
- }> | undefined;
432
- componentType?: "server" | "edge" | undefined;
433
- contentItem?: {
434
- id: string;
435
- } | {
436
- content: Record<string, unknown>;
437
- schemaName: string;
438
- } | undefined;
439
- } | {
440
- type: "variation";
441
- default: {};
442
- nodeId?: string | undefined;
443
- } | {
444
- type: "layout";
445
- layout: {
446
- options: Record<string, {
447
- values: string[];
448
- displayName: string;
449
- description: string;
450
- selectedValue: string;
451
- }>;
452
- name: string;
453
- displayName: string;
454
- description: string;
455
- template: string;
456
- zones: Record<string, {
457
- displayName: string;
458
- description: string;
459
- minNodes: number;
460
- maxNodes?: number | undefined;
461
- }>;
462
- } | {
463
- options: Record<string, {
464
- selectedValue: string;
465
- }>;
466
- name: string;
467
- };
468
- nodeId?: string | undefined;
469
- })[]>;
470
- right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
471
- value: string;
472
- type: "text";
473
- nodeId: string;
474
- } | {
475
- type: "matrix-image";
476
- nodeId: string;
477
- matrixDomain: string;
478
- matrixAssetId: string;
479
- attributes?: (Record<string, string> & {
480
- src?: undefined;
481
- }) | undefined;
482
- formattingOptions?: {
483
- alignment: "left" | "center" | "right" | "justify";
484
- } | undefined;
485
- matrixIdentifier?: string | undefined;
486
- } | {
487
- type: "dam-image";
488
- nodeId: string;
489
- damSystemType: "bynder";
490
- damSystemIdentifier: string;
491
- damObjectId: string;
492
- attributes?: (Record<string, string> & {
493
- src?: undefined;
494
- }) | undefined;
495
- formattingOptions?: {
496
- alignment: "left" | "center" | "right" | "justify";
497
- } | undefined;
498
- damAdditional?: {
499
- variant?: string | undefined;
500
- } | undefined;
501
- } | {
502
- type: "component";
503
- nodeId: string;
504
- componentId: string;
505
- componentSet: string;
506
- i18n?: Record<string, {
507
- id: string;
508
- } | {
509
- content: Record<string, unknown>;
510
- schemaName: string;
511
- }> | undefined;
512
- componentType?: "server" | "edge" | undefined;
513
- contentItem?: {
514
- id: string;
515
- } | {
516
- content: Record<string, unknown>;
517
- schemaName: string;
518
- } | undefined;
519
- } | (({
520
- type: "tag";
521
- nodeId: string;
522
- tag: string;
523
- attributes?: Record<string, string> | undefined;
524
- font?: {
525
- bold?: boolean | undefined;
526
- italics?: boolean | undefined;
527
- underline?: boolean | undefined;
528
- color?: string | undefined;
529
- size?: string | undefined;
530
- fontFamily?: string | undefined;
531
- } | undefined;
532
- formattingOptions?: {
533
- alignment: "left" | "center" | "right" | "justify";
534
- } | undefined;
535
- } | {
536
- type: "fragment";
537
- nodeId: string;
538
- i18n?: Record<string, {}> | undefined;
539
- } | {
540
- type: "link-to-matrix-asset";
541
- nodeId: string;
542
- matrixDomain: string;
543
- matrixAssetId: string;
544
- target: "_blank" | "_self" | "_parent" | "_top";
545
- attributes?: (Record<string, string> & {
546
- target?: undefined;
547
- href?: undefined;
548
- }) | undefined;
549
- formattingOptions?: {
550
- alignment: "left" | "center" | "right" | "justify";
551
- } | undefined;
552
- matrixIdentifier?: string | undefined;
553
- } | {
554
- type: "link-to-dam-asset";
555
- nodeId: string;
556
- target: "_blank" | "_self" | "_parent" | "_top";
557
- damSystemType: "bynder";
558
- damSystemIdentifier: string;
559
- damObjectId: string;
560
- attributes?: (Record<string, string> & {
561
- target?: undefined;
562
- href?: undefined;
563
- }) | undefined;
564
- formattingOptions?: {
565
- alignment: "left" | "center" | "right" | "justify";
566
- } | undefined;
567
- damAdditional?: {
568
- variant?: string | undefined;
569
- } | undefined;
570
- }) & {
571
- children: import("../layout-content").LayoutContentNodes[];
572
- }), z.ZodTypeDef, {
573
- value: string;
574
- type: "text";
575
- nodeId?: string | undefined;
576
- } | {
577
- type: "tag";
578
- tag: string;
579
- nodeId?: string | undefined;
580
- attributes?: Record<string, string> | undefined;
581
- font?: {
582
- bold?: boolean | undefined;
583
- italics?: boolean | undefined;
584
- underline?: boolean | undefined;
585
- color?: string | undefined;
586
- size?: string | undefined;
587
- fontFamily?: string | undefined;
588
- } | undefined;
589
- formattingOptions?: {
590
- alignment: "left" | "center" | "right" | "justify";
591
- } | undefined;
592
- } | {
593
- type: "fragment";
594
- nodeId?: string | undefined;
595
- i18n?: Record<string, {}> | undefined;
596
- } | {
597
- type: "link-to-matrix-asset";
598
- matrixDomain: string;
599
- matrixAssetId: string;
600
- target: "_blank" | "_self" | "_parent" | "_top";
601
- nodeId?: string | undefined;
602
- attributes?: (Record<string, string> & {
603
- target?: undefined;
604
- href?: undefined;
605
- }) | undefined;
606
- formattingOptions?: {
607
- alignment: "left" | "center" | "right" | "justify";
608
- } | undefined;
609
- matrixIdentifier?: string | undefined;
610
- } | {
611
- type: "link-to-dam-asset";
612
- target: "_blank" | "_self" | "_parent" | "_top";
613
- damSystemType: "bynder";
614
- damSystemIdentifier: string;
615
- damObjectId: string;
616
- nodeId?: string | undefined;
617
- attributes?: (Record<string, string> & {
618
- target?: undefined;
619
- href?: undefined;
620
- }) | undefined;
621
- formattingOptions?: {
622
- alignment: "left" | "center" | "right" | "justify";
623
- } | undefined;
624
- damAdditional?: {
625
- variant?: string | undefined;
626
- } | undefined;
627
- } | {
628
- type: "matrix-image";
629
- matrixDomain: string;
630
- matrixAssetId: string;
631
- nodeId?: string | undefined;
632
- attributes?: (Record<string, string> & {
633
- src?: undefined;
634
- }) | undefined;
635
- formattingOptions?: {
636
- alignment: "left" | "center" | "right" | "justify";
637
- } | undefined;
638
- matrixIdentifier?: string | undefined;
639
- } | {
640
- type: "dam-image";
641
- damSystemType: "bynder";
642
- damSystemIdentifier: string;
643
- damObjectId: string;
644
- nodeId?: string | undefined;
645
- attributes?: (Record<string, string> & {
646
- src?: undefined;
647
- }) | undefined;
648
- formattingOptions?: {
649
- alignment: "left" | "center" | "right" | "justify";
650
- } | undefined;
651
- damAdditional?: {
652
- variant?: string | undefined;
653
- } | undefined;
654
- } | {
655
- type: "component";
656
- componentId: string;
657
- componentSet: string;
658
- nodeId?: string | undefined;
659
- i18n?: Record<string, {
660
- id: string;
661
- } | {
662
- content: Record<string, unknown>;
663
- schemaName: string;
664
- }> | undefined;
665
- componentType?: "server" | "edge" | undefined;
666
- contentItem?: {
667
- id: string;
668
- } | {
669
- content: Record<string, unknown>;
670
- schemaName: string;
671
- } | undefined;
672
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
673
- type: "variation";
674
- default: {};
675
- nodeId?: string | undefined;
676
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
677
- type: "layout";
678
- layout: {
679
- options: Record<string, {
680
- values: string[];
681
- displayName: string;
682
- description: string;
683
- selectedValue: string;
684
- }>;
685
- name: string;
686
- displayName: string;
687
- description: string;
688
- template: string;
689
- zones: Record<string, {
690
- displayName: string;
691
- description: string;
692
- minNodes: number;
693
- maxNodes?: number | undefined;
694
- }>;
695
- } | {
696
- options: Record<string, {
697
- selectedValue: string;
698
- }>;
699
- name: string;
700
- };
701
- nodeId?: string | undefined;
702
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
703
- value: string;
704
- type: "text";
705
- nodeId: string;
706
- } | {
707
- type: "matrix-image";
708
- nodeId: string;
709
- matrixDomain: string;
710
- matrixAssetId: string;
711
- attributes?: (Record<string, string> & {
712
- src?: undefined;
713
- }) | undefined;
714
- formattingOptions?: {
715
- alignment: "left" | "center" | "right" | "justify";
716
- } | undefined;
717
- matrixIdentifier?: string | undefined;
718
- } | {
719
- type: "dam-image";
720
- nodeId: string;
721
- damSystemType: "bynder";
722
- damSystemIdentifier: string;
723
- damObjectId: string;
724
- attributes?: (Record<string, string> & {
725
- src?: undefined;
726
- }) | undefined;
727
- formattingOptions?: {
728
- alignment: "left" | "center" | "right" | "justify";
729
- } | undefined;
730
- damAdditional?: {
731
- variant?: string | undefined;
732
- } | undefined;
733
- } | {
734
- type: "component";
735
- nodeId: string;
736
- componentId: string;
737
- componentSet: string;
738
- i18n?: Record<string, {
739
- id: string;
740
- } | {
741
- content: Record<string, unknown>;
742
- schemaName: string;
743
- }> | undefined;
744
- componentType?: "server" | "edge" | undefined;
745
- contentItem?: {
746
- id: string;
747
- } | {
748
- content: Record<string, unknown>;
749
- schemaName: string;
750
- } | undefined;
751
- } | (({
752
- type: "tag";
753
- nodeId: string;
754
- tag: string;
755
- attributes?: Record<string, string> | undefined;
756
- font?: {
757
- bold?: boolean | undefined;
758
- italics?: boolean | undefined;
759
- underline?: boolean | undefined;
760
- color?: string | undefined;
761
- size?: string | undefined;
762
- fontFamily?: string | undefined;
763
- } | undefined;
764
- formattingOptions?: {
765
- alignment: "left" | "center" | "right" | "justify";
766
- } | undefined;
767
- } | {
768
- type: "fragment";
769
- nodeId: string;
770
- i18n?: Record<string, {}> | undefined;
771
- } | {
772
- type: "link-to-matrix-asset";
773
- nodeId: string;
774
- matrixDomain: string;
775
- matrixAssetId: string;
776
- target: "_blank" | "_self" | "_parent" | "_top";
777
- attributes?: (Record<string, string> & {
778
- target?: undefined;
779
- href?: undefined;
780
- }) | undefined;
781
- formattingOptions?: {
782
- alignment: "left" | "center" | "right" | "justify";
783
- } | undefined;
784
- matrixIdentifier?: string | undefined;
785
- } | {
786
- type: "link-to-dam-asset";
787
- nodeId: string;
788
- target: "_blank" | "_self" | "_parent" | "_top";
789
- damSystemType: "bynder";
790
- damSystemIdentifier: string;
791
- damObjectId: string;
792
- attributes?: (Record<string, string> & {
793
- target?: undefined;
794
- href?: undefined;
795
- }) | undefined;
796
- formattingOptions?: {
797
- alignment: "left" | "center" | "right" | "justify";
798
- } | undefined;
799
- damAdditional?: {
800
- variant?: string | undefined;
801
- } | undefined;
802
- }) & {
803
- children: import("../layout-content").LayoutContentNodes[];
804
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
805
- value: string;
806
- type: "text";
807
- nodeId?: string | undefined;
808
- } | {
809
- type: "tag";
810
- tag: string;
811
- nodeId?: string | undefined;
812
- attributes?: Record<string, string> | undefined;
813
- font?: {
814
- bold?: boolean | undefined;
815
- italics?: boolean | undefined;
816
- underline?: boolean | undefined;
817
- color?: string | undefined;
818
- size?: string | undefined;
819
- fontFamily?: string | undefined;
820
- } | undefined;
821
- formattingOptions?: {
822
- alignment: "left" | "center" | "right" | "justify";
823
- } | undefined;
824
- } | {
825
- type: "fragment";
826
- nodeId?: string | undefined;
827
- i18n?: Record<string, {}> | undefined;
828
- } | {
829
- type: "link-to-matrix-asset";
830
- matrixDomain: string;
831
- matrixAssetId: string;
832
- target: "_blank" | "_self" | "_parent" | "_top";
833
- nodeId?: string | undefined;
834
- attributes?: (Record<string, string> & {
835
- target?: undefined;
836
- href?: undefined;
837
- }) | undefined;
838
- formattingOptions?: {
839
- alignment: "left" | "center" | "right" | "justify";
840
- } | undefined;
841
- matrixIdentifier?: string | undefined;
842
- } | {
843
- type: "link-to-dam-asset";
844
- target: "_blank" | "_self" | "_parent" | "_top";
845
- damSystemType: "bynder";
846
- damSystemIdentifier: string;
847
- damObjectId: string;
848
- nodeId?: string | undefined;
849
- attributes?: (Record<string, string> & {
850
- target?: undefined;
851
- href?: undefined;
852
- }) | undefined;
853
- formattingOptions?: {
854
- alignment: "left" | "center" | "right" | "justify";
855
- } | undefined;
856
- damAdditional?: {
857
- variant?: string | undefined;
858
- } | undefined;
859
- } | {
860
- type: "matrix-image";
861
- matrixDomain: string;
862
- matrixAssetId: string;
863
- nodeId?: string | undefined;
864
- attributes?: (Record<string, string> & {
865
- src?: undefined;
866
- }) | undefined;
867
- formattingOptions?: {
868
- alignment: "left" | "center" | "right" | "justify";
869
- } | undefined;
870
- matrixIdentifier?: string | undefined;
871
- } | {
872
- type: "dam-image";
873
- damSystemType: "bynder";
874
- damSystemIdentifier: string;
875
- damObjectId: string;
876
- nodeId?: string | undefined;
877
- attributes?: (Record<string, string> & {
878
- src?: undefined;
879
- }) | undefined;
880
- formattingOptions?: {
881
- alignment: "left" | "center" | "right" | "justify";
882
- } | undefined;
883
- damAdditional?: {
884
- variant?: string | undefined;
885
- } | undefined;
886
- } | {
887
- type: "component";
888
- componentId: string;
889
- componentSet: string;
890
- nodeId?: string | undefined;
891
- i18n?: Record<string, {
892
- id: string;
893
- } | {
894
- content: Record<string, unknown>;
895
- schemaName: string;
896
- }> | undefined;
897
- componentType?: "server" | "edge" | undefined;
898
- contentItem?: {
899
- id: string;
900
- } | {
901
- content: Record<string, unknown>;
902
- schemaName: string;
903
- } | undefined;
904
- } | {
905
- type: "variation";
906
- default: {};
907
- nodeId?: string | undefined;
908
- } | {
909
- type: "layout";
910
- layout: {
911
- options: Record<string, {
912
- values: string[];
913
- displayName: string;
914
- description: string;
915
- selectedValue: string;
916
- }>;
917
- name: string;
918
- displayName: string;
919
- description: string;
920
- template: string;
921
- zones: Record<string, {
922
- displayName: string;
923
- description: string;
924
- minNodes: number;
925
- maxNodes?: number | undefined;
926
- }>;
927
- } | {
928
- options: Record<string, {
929
- selectedValue: string;
930
- }>;
931
- name: string;
932
- };
933
- nodeId?: string | undefined;
934
- })[]>;
935
- }, "strip", z.ZodTypeAny, {
936
- left: (import("../layout-content").LayoutVariationNode | ({
937
- value: string;
938
- type: "text";
939
- nodeId: string;
940
- } | {
941
- type: "matrix-image";
942
- nodeId: string;
943
- matrixDomain: string;
944
- matrixAssetId: string;
945
- attributes?: (Record<string, string> & {
946
- src?: undefined;
947
- }) | undefined;
948
- formattingOptions?: {
949
- alignment: "left" | "center" | "right" | "justify";
950
- } | undefined;
951
- matrixIdentifier?: string | undefined;
952
- } | {
953
- type: "dam-image";
954
- nodeId: string;
955
- damSystemType: "bynder";
956
- damSystemIdentifier: string;
957
- damObjectId: string;
958
- attributes?: (Record<string, string> & {
959
- src?: undefined;
960
- }) | undefined;
961
- formattingOptions?: {
962
- alignment: "left" | "center" | "right" | "justify";
963
- } | undefined;
964
- damAdditional?: {
965
- variant?: string | undefined;
966
- } | undefined;
967
- } | {
968
- type: "component";
969
- nodeId: string;
970
- componentId: string;
971
- componentSet: string;
972
- i18n?: Record<string, {
973
- id: string;
974
- } | {
975
- content: Record<string, unknown>;
976
- schemaName: string;
977
- }> | undefined;
978
- componentType?: "server" | "edge" | undefined;
979
- contentItem?: {
980
- id: string;
981
- } | {
982
- content: Record<string, unknown>;
983
- schemaName: string;
984
- } | undefined;
985
- } | (({
986
- type: "tag";
987
- nodeId: string;
988
- tag: string;
989
- attributes?: Record<string, string> | undefined;
990
- font?: {
991
- bold?: boolean | undefined;
992
- italics?: boolean | undefined;
993
- underline?: boolean | undefined;
994
- color?: string | undefined;
995
- size?: string | undefined;
996
- fontFamily?: string | undefined;
997
- } | undefined;
998
- formattingOptions?: {
999
- alignment: "left" | "center" | "right" | "justify";
1000
- } | undefined;
1001
- } | {
1002
- type: "fragment";
1003
- nodeId: string;
1004
- i18n?: Record<string, {}> | undefined;
1005
- } | {
1006
- type: "link-to-matrix-asset";
1007
- nodeId: string;
1008
- matrixDomain: string;
1009
- matrixAssetId: string;
1010
- target: "_blank" | "_self" | "_parent" | "_top";
1011
- attributes?: (Record<string, string> & {
1012
- target?: undefined;
1013
- href?: undefined;
1014
- }) | undefined;
1015
- formattingOptions?: {
1016
- alignment: "left" | "center" | "right" | "justify";
1017
- } | undefined;
1018
- matrixIdentifier?: string | undefined;
1019
- } | {
1020
- type: "link-to-dam-asset";
1021
- nodeId: string;
1022
- target: "_blank" | "_self" | "_parent" | "_top";
1023
- damSystemType: "bynder";
1024
- damSystemIdentifier: string;
1025
- damObjectId: string;
1026
- attributes?: (Record<string, string> & {
1027
- target?: undefined;
1028
- href?: undefined;
1029
- }) | undefined;
1030
- formattingOptions?: {
1031
- alignment: "left" | "center" | "right" | "justify";
1032
- } | undefined;
1033
- damAdditional?: {
1034
- variant?: string | undefined;
1035
- } | undefined;
1036
- }) & {
1037
- children: import("../layout-content").LayoutContentNodes[];
1038
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1039
- right: (import("../layout-content").LayoutVariationNode | ({
1040
- value: string;
1041
- type: "text";
1042
- nodeId: string;
1043
- } | {
1044
- type: "matrix-image";
1045
- nodeId: string;
1046
- matrixDomain: string;
1047
- matrixAssetId: string;
1048
- attributes?: (Record<string, string> & {
1049
- src?: undefined;
1050
- }) | undefined;
1051
- formattingOptions?: {
1052
- alignment: "left" | "center" | "right" | "justify";
1053
- } | undefined;
1054
- matrixIdentifier?: string | undefined;
1055
- } | {
1056
- type: "dam-image";
1057
- nodeId: string;
1058
- damSystemType: "bynder";
1059
- damSystemIdentifier: string;
1060
- damObjectId: string;
1061
- attributes?: (Record<string, string> & {
1062
- src?: undefined;
1063
- }) | undefined;
1064
- formattingOptions?: {
1065
- alignment: "left" | "center" | "right" | "justify";
1066
- } | undefined;
1067
- damAdditional?: {
1068
- variant?: string | undefined;
1069
- } | undefined;
1070
- } | {
1071
- type: "component";
1072
- nodeId: string;
1073
- componentId: string;
1074
- componentSet: string;
1075
- i18n?: Record<string, {
1076
- id: string;
1077
- } | {
1078
- content: Record<string, unknown>;
1079
- schemaName: string;
1080
- }> | undefined;
1081
- componentType?: "server" | "edge" | undefined;
1082
- contentItem?: {
1083
- id: string;
1084
- } | {
1085
- content: Record<string, unknown>;
1086
- schemaName: string;
1087
- } | undefined;
1088
- } | (({
1089
- type: "tag";
1090
- nodeId: string;
1091
- tag: string;
1092
- attributes?: Record<string, string> | undefined;
1093
- font?: {
1094
- bold?: boolean | undefined;
1095
- italics?: boolean | undefined;
1096
- underline?: boolean | undefined;
1097
- color?: string | undefined;
1098
- size?: string | undefined;
1099
- fontFamily?: string | undefined;
1100
- } | undefined;
1101
- formattingOptions?: {
1102
- alignment: "left" | "center" | "right" | "justify";
1103
- } | undefined;
1104
- } | {
1105
- type: "fragment";
1106
- nodeId: string;
1107
- i18n?: Record<string, {}> | undefined;
1108
- } | {
1109
- type: "link-to-matrix-asset";
1110
- nodeId: string;
1111
- matrixDomain: string;
1112
- matrixAssetId: string;
1113
- target: "_blank" | "_self" | "_parent" | "_top";
1114
- attributes?: (Record<string, string> & {
1115
- target?: undefined;
1116
- href?: undefined;
1117
- }) | undefined;
1118
- formattingOptions?: {
1119
- alignment: "left" | "center" | "right" | "justify";
1120
- } | undefined;
1121
- matrixIdentifier?: string | undefined;
1122
- } | {
1123
- type: "link-to-dam-asset";
1124
- nodeId: string;
1125
- target: "_blank" | "_self" | "_parent" | "_top";
1126
- damSystemType: "bynder";
1127
- damSystemIdentifier: string;
1128
- damObjectId: string;
1129
- attributes?: (Record<string, string> & {
1130
- target?: undefined;
1131
- href?: undefined;
1132
- }) | undefined;
1133
- formattingOptions?: {
1134
- alignment: "left" | "center" | "right" | "justify";
1135
- } | undefined;
1136
- damAdditional?: {
1137
- variant?: string | undefined;
1138
- } | undefined;
1139
- }) & {
1140
- children: import("../layout-content").LayoutContentNodes[];
1141
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1142
- }, {
1143
- left: ({
1144
- value: string;
1145
- type: "text";
1146
- nodeId?: string | undefined;
1147
- } | {
1148
- type: "tag";
1149
- tag: string;
1150
- nodeId?: string | undefined;
1151
- attributes?: Record<string, string> | undefined;
1152
- font?: {
1153
- bold?: boolean | undefined;
1154
- italics?: boolean | undefined;
1155
- underline?: boolean | undefined;
1156
- color?: string | undefined;
1157
- size?: string | undefined;
1158
- fontFamily?: string | undefined;
1159
- } | undefined;
1160
- formattingOptions?: {
1161
- alignment: "left" | "center" | "right" | "justify";
1162
- } | undefined;
1163
- } | {
1164
- type: "fragment";
1165
- nodeId?: string | undefined;
1166
- i18n?: Record<string, {}> | undefined;
1167
- } | {
1168
- type: "link-to-matrix-asset";
1169
- matrixDomain: string;
1170
- matrixAssetId: string;
1171
- target: "_blank" | "_self" | "_parent" | "_top";
1172
- nodeId?: string | undefined;
1173
- attributes?: (Record<string, string> & {
1174
- target?: undefined;
1175
- href?: undefined;
1176
- }) | undefined;
1177
- formattingOptions?: {
1178
- alignment: "left" | "center" | "right" | "justify";
1179
- } | undefined;
1180
- matrixIdentifier?: string | undefined;
1181
- } | {
1182
- type: "link-to-dam-asset";
1183
- target: "_blank" | "_self" | "_parent" | "_top";
1184
- damSystemType: "bynder";
1185
- damSystemIdentifier: string;
1186
- damObjectId: string;
1187
- nodeId?: string | undefined;
1188
- attributes?: (Record<string, string> & {
1189
- target?: undefined;
1190
- href?: undefined;
1191
- }) | undefined;
1192
- formattingOptions?: {
1193
- alignment: "left" | "center" | "right" | "justify";
1194
- } | undefined;
1195
- damAdditional?: {
1196
- variant?: string | undefined;
1197
- } | undefined;
1198
- } | {
1199
- type: "matrix-image";
1200
- matrixDomain: string;
1201
- matrixAssetId: string;
1202
- nodeId?: string | undefined;
1203
- attributes?: (Record<string, string> & {
1204
- src?: undefined;
1205
- }) | undefined;
1206
- formattingOptions?: {
1207
- alignment: "left" | "center" | "right" | "justify";
1208
- } | undefined;
1209
- matrixIdentifier?: string | undefined;
1210
- } | {
1211
- type: "dam-image";
1212
- damSystemType: "bynder";
1213
- damSystemIdentifier: string;
1214
- damObjectId: string;
1215
- nodeId?: string | undefined;
1216
- attributes?: (Record<string, string> & {
1217
- src?: undefined;
1218
- }) | undefined;
1219
- formattingOptions?: {
1220
- alignment: "left" | "center" | "right" | "justify";
1221
- } | undefined;
1222
- damAdditional?: {
1223
- variant?: string | undefined;
1224
- } | undefined;
1225
- } | {
1226
- type: "component";
1227
- componentId: string;
1228
- componentSet: string;
1229
- nodeId?: string | undefined;
1230
- i18n?: Record<string, {
1231
- id: string;
1232
- } | {
1233
- content: Record<string, unknown>;
1234
- schemaName: string;
1235
- }> | undefined;
1236
- componentType?: "server" | "edge" | undefined;
1237
- contentItem?: {
1238
- id: string;
1239
- } | {
1240
- content: Record<string, unknown>;
1241
- schemaName: string;
1242
- } | undefined;
1243
- } | {
1244
- type: "variation";
1245
- default: {};
1246
- nodeId?: string | undefined;
1247
- } | {
1248
- type: "layout";
1249
- layout: {
1250
- options: Record<string, {
1251
- values: string[];
1252
- displayName: string;
1253
- description: string;
1254
- selectedValue: string;
1255
- }>;
1256
- name: string;
1257
- displayName: string;
1258
- description: string;
1259
- template: string;
1260
- zones: Record<string, {
1261
- displayName: string;
1262
- description: string;
1263
- minNodes: number;
1264
- maxNodes?: number | undefined;
1265
- }>;
1266
- } | {
1267
- options: Record<string, {
1268
- selectedValue: string;
1269
- }>;
1270
- name: string;
1271
- };
1272
- nodeId?: string | undefined;
1273
- })[];
1274
- right: ({
1275
- value: string;
1276
- type: "text";
1277
- nodeId?: string | undefined;
1278
- } | {
1279
- type: "tag";
1280
- tag: string;
1281
- nodeId?: string | undefined;
1282
- attributes?: Record<string, string> | undefined;
1283
- font?: {
1284
- bold?: boolean | undefined;
1285
- italics?: boolean | undefined;
1286
- underline?: boolean | undefined;
1287
- color?: string | undefined;
1288
- size?: string | undefined;
1289
- fontFamily?: string | undefined;
1290
- } | undefined;
1291
- formattingOptions?: {
1292
- alignment: "left" | "center" | "right" | "justify";
1293
- } | undefined;
1294
- } | {
1295
- type: "fragment";
1296
- nodeId?: string | undefined;
1297
- i18n?: Record<string, {}> | undefined;
1298
- } | {
1299
- type: "link-to-matrix-asset";
1300
- matrixDomain: string;
1301
- matrixAssetId: string;
1302
- target: "_blank" | "_self" | "_parent" | "_top";
1303
- nodeId?: string | undefined;
1304
- attributes?: (Record<string, string> & {
1305
- target?: undefined;
1306
- href?: undefined;
1307
- }) | undefined;
1308
- formattingOptions?: {
1309
- alignment: "left" | "center" | "right" | "justify";
1310
- } | undefined;
1311
- matrixIdentifier?: string | undefined;
1312
- } | {
1313
- type: "link-to-dam-asset";
1314
- target: "_blank" | "_self" | "_parent" | "_top";
1315
- damSystemType: "bynder";
1316
- damSystemIdentifier: string;
1317
- damObjectId: string;
1318
- nodeId?: string | undefined;
1319
- attributes?: (Record<string, string> & {
1320
- target?: undefined;
1321
- href?: undefined;
1322
- }) | undefined;
1323
- formattingOptions?: {
1324
- alignment: "left" | "center" | "right" | "justify";
1325
- } | undefined;
1326
- damAdditional?: {
1327
- variant?: string | undefined;
1328
- } | undefined;
1329
- } | {
1330
- type: "matrix-image";
1331
- matrixDomain: string;
1332
- matrixAssetId: string;
1333
- nodeId?: string | undefined;
1334
- attributes?: (Record<string, string> & {
1335
- src?: undefined;
1336
- }) | undefined;
1337
- formattingOptions?: {
1338
- alignment: "left" | "center" | "right" | "justify";
1339
- } | undefined;
1340
- matrixIdentifier?: string | undefined;
1341
- } | {
1342
- type: "dam-image";
1343
- damSystemType: "bynder";
1344
- damSystemIdentifier: string;
1345
- damObjectId: string;
1346
- nodeId?: string | undefined;
1347
- attributes?: (Record<string, string> & {
1348
- src?: undefined;
1349
- }) | undefined;
1350
- formattingOptions?: {
1351
- alignment: "left" | "center" | "right" | "justify";
1352
- } | undefined;
1353
- damAdditional?: {
1354
- variant?: string | undefined;
1355
- } | undefined;
1356
- } | {
1357
- type: "component";
1358
- componentId: string;
1359
- componentSet: string;
1360
- nodeId?: string | undefined;
1361
- i18n?: Record<string, {
1362
- id: string;
1363
- } | {
1364
- content: Record<string, unknown>;
1365
- schemaName: string;
1366
- }> | undefined;
1367
- componentType?: "server" | "edge" | undefined;
1368
- contentItem?: {
1369
- id: string;
1370
- } | {
1371
- content: Record<string, unknown>;
1372
- schemaName: string;
1373
- } | undefined;
1374
- } | {
1375
- type: "variation";
1376
- default: {};
1377
- nodeId?: string | undefined;
1378
- } | {
1379
- type: "layout";
1380
- layout: {
1381
- options: Record<string, {
1382
- values: string[];
1383
- displayName: string;
1384
- description: string;
1385
- selectedValue: string;
1386
- }>;
1387
- name: string;
1388
- displayName: string;
1389
- description: string;
1390
- template: string;
1391
- zones: Record<string, {
1392
- displayName: string;
1393
- description: string;
1394
- minNodes: number;
1395
- maxNodes?: number | undefined;
1396
- }>;
1397
- } | {
1398
- options: Record<string, {
1399
- selectedValue: string;
1400
- }>;
1401
- name: string;
1402
- };
1403
- nodeId?: string | undefined;
1404
- })[];
1405
- }>;
1406
- }, "strip", z.ZodTypeAny, {
1407
- content: {
1408
- left: (import("../layout-content").LayoutVariationNode | ({
1409
- value: string;
1410
- type: "text";
1411
- nodeId: string;
1412
- } | {
1413
- type: "matrix-image";
1414
- nodeId: string;
1415
- matrixDomain: string;
1416
- matrixAssetId: string;
1417
- attributes?: (Record<string, string> & {
1418
- src?: undefined;
1419
- }) | undefined;
1420
- formattingOptions?: {
1421
- alignment: "left" | "center" | "right" | "justify";
1422
- } | undefined;
1423
- matrixIdentifier?: string | undefined;
1424
- } | {
1425
- type: "dam-image";
1426
- nodeId: string;
1427
- damSystemType: "bynder";
1428
- damSystemIdentifier: string;
1429
- damObjectId: string;
1430
- attributes?: (Record<string, string> & {
1431
- src?: undefined;
1432
- }) | undefined;
1433
- formattingOptions?: {
1434
- alignment: "left" | "center" | "right" | "justify";
1435
- } | undefined;
1436
- damAdditional?: {
1437
- variant?: string | undefined;
1438
- } | undefined;
1439
- } | {
1440
- type: "component";
1441
- nodeId: string;
1442
- componentId: string;
1443
- componentSet: string;
1444
- i18n?: Record<string, {
1445
- id: string;
1446
- } | {
1447
- content: Record<string, unknown>;
1448
- schemaName: string;
1449
- }> | undefined;
1450
- componentType?: "server" | "edge" | undefined;
1451
- contentItem?: {
1452
- id: string;
1453
- } | {
1454
- content: Record<string, unknown>;
1455
- schemaName: string;
1456
- } | undefined;
1457
- } | (({
1458
- type: "tag";
1459
- nodeId: string;
1460
- tag: string;
1461
- attributes?: Record<string, string> | undefined;
1462
- font?: {
1463
- bold?: boolean | undefined;
1464
- italics?: boolean | undefined;
1465
- underline?: boolean | undefined;
1466
- color?: string | undefined;
1467
- size?: string | undefined;
1468
- fontFamily?: string | undefined;
1469
- } | undefined;
1470
- formattingOptions?: {
1471
- alignment: "left" | "center" | "right" | "justify";
1472
- } | undefined;
1473
- } | {
1474
- type: "fragment";
1475
- nodeId: string;
1476
- i18n?: Record<string, {}> | undefined;
1477
- } | {
1478
- type: "link-to-matrix-asset";
1479
- nodeId: string;
1480
- matrixDomain: string;
1481
- matrixAssetId: string;
1482
- target: "_blank" | "_self" | "_parent" | "_top";
1483
- attributes?: (Record<string, string> & {
1484
- target?: undefined;
1485
- href?: undefined;
1486
- }) | undefined;
1487
- formattingOptions?: {
1488
- alignment: "left" | "center" | "right" | "justify";
1489
- } | undefined;
1490
- matrixIdentifier?: string | undefined;
1491
- } | {
1492
- type: "link-to-dam-asset";
1493
- nodeId: string;
1494
- target: "_blank" | "_self" | "_parent" | "_top";
1495
- damSystemType: "bynder";
1496
- damSystemIdentifier: string;
1497
- damObjectId: string;
1498
- attributes?: (Record<string, string> & {
1499
- target?: undefined;
1500
- href?: undefined;
1501
- }) | undefined;
1502
- formattingOptions?: {
1503
- alignment: "left" | "center" | "right" | "justify";
1504
- } | undefined;
1505
- damAdditional?: {
1506
- variant?: string | undefined;
1507
- } | undefined;
1508
- }) & {
1509
- children: import("../layout-content").LayoutContentNodes[];
1510
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1511
- right: (import("../layout-content").LayoutVariationNode | ({
1512
- value: string;
1513
- type: "text";
1514
- nodeId: string;
1515
- } | {
1516
- type: "matrix-image";
1517
- nodeId: string;
1518
- matrixDomain: string;
1519
- matrixAssetId: string;
1520
- attributes?: (Record<string, string> & {
1521
- src?: undefined;
1522
- }) | undefined;
1523
- formattingOptions?: {
1524
- alignment: "left" | "center" | "right" | "justify";
1525
- } | undefined;
1526
- matrixIdentifier?: string | undefined;
1527
- } | {
1528
- type: "dam-image";
1529
- nodeId: string;
1530
- damSystemType: "bynder";
1531
- damSystemIdentifier: string;
1532
- damObjectId: string;
1533
- attributes?: (Record<string, string> & {
1534
- src?: undefined;
1535
- }) | undefined;
1536
- formattingOptions?: {
1537
- alignment: "left" | "center" | "right" | "justify";
1538
- } | undefined;
1539
- damAdditional?: {
1540
- variant?: string | undefined;
1541
- } | undefined;
1542
- } | {
1543
- type: "component";
1544
- nodeId: string;
1545
- componentId: string;
1546
- componentSet: string;
1547
- i18n?: Record<string, {
1548
- id: string;
1549
- } | {
1550
- content: Record<string, unknown>;
1551
- schemaName: string;
1552
- }> | undefined;
1553
- componentType?: "server" | "edge" | undefined;
1554
- contentItem?: {
1555
- id: string;
1556
- } | {
1557
- content: Record<string, unknown>;
1558
- schemaName: string;
1559
- } | undefined;
1560
- } | (({
1561
- type: "tag";
1562
- nodeId: string;
1563
- tag: string;
1564
- attributes?: Record<string, string> | undefined;
1565
- font?: {
1566
- bold?: boolean | undefined;
1567
- italics?: boolean | undefined;
1568
- underline?: boolean | undefined;
1569
- color?: string | undefined;
1570
- size?: string | undefined;
1571
- fontFamily?: string | undefined;
1572
- } | undefined;
1573
- formattingOptions?: {
1574
- alignment: "left" | "center" | "right" | "justify";
1575
- } | undefined;
1576
- } | {
1577
- type: "fragment";
1578
- nodeId: string;
1579
- i18n?: Record<string, {}> | undefined;
1580
- } | {
1581
- type: "link-to-matrix-asset";
1582
- nodeId: string;
1583
- matrixDomain: string;
1584
- matrixAssetId: string;
1585
- target: "_blank" | "_self" | "_parent" | "_top";
1586
- attributes?: (Record<string, string> & {
1587
- target?: undefined;
1588
- href?: undefined;
1589
- }) | undefined;
1590
- formattingOptions?: {
1591
- alignment: "left" | "center" | "right" | "justify";
1592
- } | undefined;
1593
- matrixIdentifier?: string | undefined;
1594
- } | {
1595
- type: "link-to-dam-asset";
1596
- nodeId: string;
1597
- target: "_blank" | "_self" | "_parent" | "_top";
1598
- damSystemType: "bynder";
1599
- damSystemIdentifier: string;
1600
- damObjectId: string;
1601
- attributes?: (Record<string, string> & {
1602
- target?: undefined;
1603
- href?: undefined;
1604
- }) | undefined;
1605
- formattingOptions?: {
1606
- alignment: "left" | "center" | "right" | "justify";
1607
- } | undefined;
1608
- damAdditional?: {
1609
- variant?: string | undefined;
1610
- } | undefined;
1611
- }) & {
1612
- children: import("../layout-content").LayoutContentNodes[];
1613
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1614
- };
1615
- name: "two-column";
1616
- }, {
1617
- content: {
1618
- left: ({
1619
- value: string;
1620
- type: "text";
1621
- nodeId?: string | undefined;
1622
- } | {
1623
- type: "tag";
1624
- tag: string;
1625
- nodeId?: string | undefined;
1626
- attributes?: Record<string, string> | undefined;
1627
- font?: {
1628
- bold?: boolean | undefined;
1629
- italics?: boolean | undefined;
1630
- underline?: boolean | undefined;
1631
- color?: string | undefined;
1632
- size?: string | undefined;
1633
- fontFamily?: string | undefined;
1634
- } | undefined;
1635
- formattingOptions?: {
1636
- alignment: "left" | "center" | "right" | "justify";
1637
- } | undefined;
1638
- } | {
1639
- type: "fragment";
1640
- nodeId?: string | undefined;
1641
- i18n?: Record<string, {}> | undefined;
1642
- } | {
1643
- type: "link-to-matrix-asset";
1644
- matrixDomain: string;
1645
- matrixAssetId: string;
1646
- target: "_blank" | "_self" | "_parent" | "_top";
1647
- nodeId?: string | undefined;
1648
- attributes?: (Record<string, string> & {
1649
- target?: undefined;
1650
- href?: undefined;
1651
- }) | undefined;
1652
- formattingOptions?: {
1653
- alignment: "left" | "center" | "right" | "justify";
1654
- } | undefined;
1655
- matrixIdentifier?: string | undefined;
1656
- } | {
1657
- type: "link-to-dam-asset";
1658
- target: "_blank" | "_self" | "_parent" | "_top";
1659
- damSystemType: "bynder";
1660
- damSystemIdentifier: string;
1661
- damObjectId: string;
1662
- nodeId?: string | undefined;
1663
- attributes?: (Record<string, string> & {
1664
- target?: undefined;
1665
- href?: undefined;
1666
- }) | undefined;
1667
- formattingOptions?: {
1668
- alignment: "left" | "center" | "right" | "justify";
1669
- } | undefined;
1670
- damAdditional?: {
1671
- variant?: string | undefined;
1672
- } | undefined;
1673
- } | {
1674
- type: "matrix-image";
1675
- matrixDomain: string;
1676
- matrixAssetId: string;
1677
- nodeId?: string | undefined;
1678
- attributes?: (Record<string, string> & {
1679
- src?: undefined;
1680
- }) | undefined;
1681
- formattingOptions?: {
1682
- alignment: "left" | "center" | "right" | "justify";
1683
- } | undefined;
1684
- matrixIdentifier?: string | undefined;
1685
- } | {
1686
- type: "dam-image";
1687
- damSystemType: "bynder";
1688
- damSystemIdentifier: string;
1689
- damObjectId: string;
1690
- nodeId?: string | undefined;
1691
- attributes?: (Record<string, string> & {
1692
- src?: undefined;
1693
- }) | undefined;
1694
- formattingOptions?: {
1695
- alignment: "left" | "center" | "right" | "justify";
1696
- } | undefined;
1697
- damAdditional?: {
1698
- variant?: string | undefined;
1699
- } | undefined;
1700
- } | {
1701
- type: "component";
1702
- componentId: string;
1703
- componentSet: string;
1704
- nodeId?: string | undefined;
1705
- i18n?: Record<string, {
1706
- id: string;
1707
- } | {
1708
- content: Record<string, unknown>;
1709
- schemaName: string;
1710
- }> | undefined;
1711
- componentType?: "server" | "edge" | undefined;
1712
- contentItem?: {
1713
- id: string;
1714
- } | {
1715
- content: Record<string, unknown>;
1716
- schemaName: string;
1717
- } | undefined;
1718
- } | {
1719
- type: "variation";
1720
- default: {};
1721
- nodeId?: string | undefined;
1722
- } | {
1723
- type: "layout";
1724
- layout: {
1725
- options: Record<string, {
1726
- values: string[];
1727
- displayName: string;
1728
- description: string;
1729
- selectedValue: string;
1730
- }>;
1731
- name: string;
1732
- displayName: string;
1733
- description: string;
1734
- template: string;
1735
- zones: Record<string, {
1736
- displayName: string;
1737
- description: string;
1738
- minNodes: number;
1739
- maxNodes?: number | undefined;
1740
- }>;
1741
- } | {
1742
- options: Record<string, {
1743
- selectedValue: string;
1744
- }>;
1745
- name: string;
1746
- };
1747
- nodeId?: string | undefined;
1748
- })[];
1749
- right: ({
1750
- value: string;
1751
- type: "text";
1752
- nodeId?: string | undefined;
1753
- } | {
1754
- type: "tag";
1755
- tag: string;
1756
- nodeId?: string | undefined;
1757
- attributes?: Record<string, string> | undefined;
1758
- font?: {
1759
- bold?: boolean | undefined;
1760
- italics?: boolean | undefined;
1761
- underline?: boolean | undefined;
1762
- color?: string | undefined;
1763
- size?: string | undefined;
1764
- fontFamily?: string | undefined;
1765
- } | undefined;
1766
- formattingOptions?: {
1767
- alignment: "left" | "center" | "right" | "justify";
1768
- } | undefined;
1769
- } | {
1770
- type: "fragment";
1771
- nodeId?: string | undefined;
1772
- i18n?: Record<string, {}> | undefined;
1773
- } | {
1774
- type: "link-to-matrix-asset";
1775
- matrixDomain: string;
1776
- matrixAssetId: string;
1777
- target: "_blank" | "_self" | "_parent" | "_top";
1778
- nodeId?: string | undefined;
1779
- attributes?: (Record<string, string> & {
1780
- target?: undefined;
1781
- href?: undefined;
1782
- }) | undefined;
1783
- formattingOptions?: {
1784
- alignment: "left" | "center" | "right" | "justify";
1785
- } | undefined;
1786
- matrixIdentifier?: string | undefined;
1787
- } | {
1788
- type: "link-to-dam-asset";
1789
- target: "_blank" | "_self" | "_parent" | "_top";
1790
- damSystemType: "bynder";
1791
- damSystemIdentifier: string;
1792
- damObjectId: string;
1793
- nodeId?: string | undefined;
1794
- attributes?: (Record<string, string> & {
1795
- target?: undefined;
1796
- href?: undefined;
1797
- }) | undefined;
1798
- formattingOptions?: {
1799
- alignment: "left" | "center" | "right" | "justify";
1800
- } | undefined;
1801
- damAdditional?: {
1802
- variant?: string | undefined;
1803
- } | undefined;
1804
- } | {
1805
- type: "matrix-image";
1806
- matrixDomain: string;
1807
- matrixAssetId: string;
1808
- nodeId?: string | undefined;
1809
- attributes?: (Record<string, string> & {
1810
- src?: undefined;
1811
- }) | undefined;
1812
- formattingOptions?: {
1813
- alignment: "left" | "center" | "right" | "justify";
1814
- } | undefined;
1815
- matrixIdentifier?: string | undefined;
1816
- } | {
1817
- type: "dam-image";
1818
- damSystemType: "bynder";
1819
- damSystemIdentifier: string;
1820
- damObjectId: string;
1821
- nodeId?: string | undefined;
1822
- attributes?: (Record<string, string> & {
1823
- src?: undefined;
1824
- }) | undefined;
1825
- formattingOptions?: {
1826
- alignment: "left" | "center" | "right" | "justify";
1827
- } | undefined;
1828
- damAdditional?: {
1829
- variant?: string | undefined;
1830
- } | undefined;
1831
- } | {
1832
- type: "component";
1833
- componentId: string;
1834
- componentSet: string;
1835
- nodeId?: string | undefined;
1836
- i18n?: Record<string, {
1837
- id: string;
1838
- } | {
1839
- content: Record<string, unknown>;
1840
- schemaName: string;
1841
- }> | undefined;
1842
- componentType?: "server" | "edge" | undefined;
1843
- contentItem?: {
1844
- id: string;
1845
- } | {
1846
- content: Record<string, unknown>;
1847
- schemaName: string;
1848
- } | undefined;
1849
- } | {
1850
- type: "variation";
1851
- default: {};
1852
- nodeId?: string | undefined;
1853
- } | {
1854
- type: "layout";
1855
- layout: {
1856
- options: Record<string, {
1857
- values: string[];
1858
- displayName: string;
1859
- description: string;
1860
- selectedValue: string;
1861
- }>;
1862
- name: string;
1863
- displayName: string;
1864
- description: string;
1865
- template: string;
1866
- zones: Record<string, {
1867
- displayName: string;
1868
- description: string;
1869
- minNodes: number;
1870
- maxNodes?: number | undefined;
1871
- }>;
1872
- } | {
1873
- options: Record<string, {
1874
- selectedValue: string;
1875
- }>;
1876
- name: string;
1877
- };
1878
- nodeId?: string | undefined;
1879
- })[];
1880
- };
1881
- name: "two-column";
1882
- }>;
1883
- export declare const TEMPLATE = "\n<div class=\"container\"><div class=\"left\">{{left}}</div><div class=\"right\">{{right}}</div></div>\n";