@squiz/dx-page-contents-lib 1.71.1 → 1.73.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/lib/formatted-text.d.ts +144 -0
- package/lib/formatted-text.js +29 -1
- package/lib/formatted-text.js.map +1 -1
- package/lib/layout-content.d.ts +81 -2
- package/lib/layout-content.js +6 -2
- package/lib/layout-content.js.map +1 -1
- package/lib/layouts/custom-layout.d.ts +150 -25
- package/lib/layouts/index.d.ts +527 -27
- package/lib/layouts/raw.layout.d.ts +103 -3
- package/lib/layouts/single-column.layout.d.ts +103 -3
- package/lib/layouts/two-column.layout.d.ts +206 -6
- package/lib/mocks/PageContentsHelpers.d.ts +661 -36
- package/lib/mocks/PageContentsMocks.js +1 -0
- package/lib/mocks/PageContentsMocks.js.map +1 -1
- package/lib/page-contents-lib.d.ts +1 -1
- package/lib/page-contents-lib.js +2 -1
- package/lib/page-contents-lib.js.map +1 -1
- package/lib/resolvers/default-layout-resolver.d.ts +5 -0
- package/lib/resolvers/default-layout-resolver.js +14 -0
- package/lib/resolvers/default-layout-resolver.js.map +1 -0
- package/lib/resolvers/index.d.ts +1 -0
- package/lib/resolvers/index.js +1 -0
- package/lib/resolvers/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -145,6 +145,31 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
145
145
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
146
146
|
type: "variation";
|
|
147
147
|
default: {};
|
|
148
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
149
|
+
type: "layout";
|
|
150
|
+
layout: {
|
|
151
|
+
options: Record<string, {
|
|
152
|
+
values: string[];
|
|
153
|
+
displayName: string;
|
|
154
|
+
description: string;
|
|
155
|
+
selectedValue: string;
|
|
156
|
+
}>;
|
|
157
|
+
name: string;
|
|
158
|
+
displayName: string;
|
|
159
|
+
description: string;
|
|
160
|
+
template: string;
|
|
161
|
+
zones: Record<string, {
|
|
162
|
+
displayName: string;
|
|
163
|
+
description: string;
|
|
164
|
+
minNodes: number;
|
|
165
|
+
maxNodes?: number | undefined;
|
|
166
|
+
}>;
|
|
167
|
+
} | {
|
|
168
|
+
options: Record<string, {
|
|
169
|
+
selectedValue: string;
|
|
170
|
+
}>;
|
|
171
|
+
name: string;
|
|
172
|
+
};
|
|
148
173
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
174
|
value: string;
|
|
150
175
|
type: "text";
|
|
@@ -216,7 +241,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
216
241
|
matrixIdentifier?: string | undefined;
|
|
217
242
|
}) & {
|
|
218
243
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
244
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
245
|
value: string;
|
|
221
246
|
type: "text";
|
|
222
247
|
} | {
|
|
@@ -288,6 +313,31 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
288
313
|
} | {
|
|
289
314
|
type: "variation";
|
|
290
315
|
default: {};
|
|
316
|
+
} | {
|
|
317
|
+
type: "layout";
|
|
318
|
+
layout: {
|
|
319
|
+
options: Record<string, {
|
|
320
|
+
values: string[];
|
|
321
|
+
displayName: string;
|
|
322
|
+
description: string;
|
|
323
|
+
selectedValue: string;
|
|
324
|
+
}>;
|
|
325
|
+
name: string;
|
|
326
|
+
displayName: string;
|
|
327
|
+
description: string;
|
|
328
|
+
template: string;
|
|
329
|
+
zones: Record<string, {
|
|
330
|
+
displayName: string;
|
|
331
|
+
description: string;
|
|
332
|
+
minNodes: number;
|
|
333
|
+
maxNodes?: number | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
} | {
|
|
336
|
+
options: Record<string, {
|
|
337
|
+
selectedValue: string;
|
|
338
|
+
}>;
|
|
339
|
+
name: string;
|
|
340
|
+
};
|
|
291
341
|
})[]>;
|
|
292
342
|
}, "strip", z.ZodTypeAny, {
|
|
293
343
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -361,7 +411,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
361
411
|
matrixIdentifier?: string | undefined;
|
|
362
412
|
}) & {
|
|
363
413
|
children: import("../layout-content").LayoutContentNodes[];
|
|
364
|
-
})))[];
|
|
414
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
365
415
|
}, {
|
|
366
416
|
main: ({
|
|
367
417
|
value: string;
|
|
@@ -435,6 +485,31 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
435
485
|
} | {
|
|
436
486
|
type: "variation";
|
|
437
487
|
default: {};
|
|
488
|
+
} | {
|
|
489
|
+
type: "layout";
|
|
490
|
+
layout: {
|
|
491
|
+
options: Record<string, {
|
|
492
|
+
values: string[];
|
|
493
|
+
displayName: string;
|
|
494
|
+
description: string;
|
|
495
|
+
selectedValue: string;
|
|
496
|
+
}>;
|
|
497
|
+
name: string;
|
|
498
|
+
displayName: string;
|
|
499
|
+
description: string;
|
|
500
|
+
template: string;
|
|
501
|
+
zones: Record<string, {
|
|
502
|
+
displayName: string;
|
|
503
|
+
description: string;
|
|
504
|
+
minNodes: number;
|
|
505
|
+
maxNodes?: number | undefined;
|
|
506
|
+
}>;
|
|
507
|
+
} | {
|
|
508
|
+
options: Record<string, {
|
|
509
|
+
selectedValue: string;
|
|
510
|
+
}>;
|
|
511
|
+
name: string;
|
|
512
|
+
};
|
|
438
513
|
})[];
|
|
439
514
|
}>;
|
|
440
515
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -510,7 +585,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
510
585
|
matrixIdentifier?: string | undefined;
|
|
511
586
|
}) & {
|
|
512
587
|
children: import("../layout-content").LayoutContentNodes[];
|
|
513
|
-
})))[];
|
|
588
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
514
589
|
};
|
|
515
590
|
name: "layout-raw";
|
|
516
591
|
}, {
|
|
@@ -587,6 +662,31 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
587
662
|
} | {
|
|
588
663
|
type: "variation";
|
|
589
664
|
default: {};
|
|
665
|
+
} | {
|
|
666
|
+
type: "layout";
|
|
667
|
+
layout: {
|
|
668
|
+
options: Record<string, {
|
|
669
|
+
values: string[];
|
|
670
|
+
displayName: string;
|
|
671
|
+
description: string;
|
|
672
|
+
selectedValue: string;
|
|
673
|
+
}>;
|
|
674
|
+
name: string;
|
|
675
|
+
displayName: string;
|
|
676
|
+
description: string;
|
|
677
|
+
template: string;
|
|
678
|
+
zones: Record<string, {
|
|
679
|
+
displayName: string;
|
|
680
|
+
description: string;
|
|
681
|
+
minNodes: number;
|
|
682
|
+
maxNodes?: number | undefined;
|
|
683
|
+
}>;
|
|
684
|
+
} | {
|
|
685
|
+
options: Record<string, {
|
|
686
|
+
selectedValue: string;
|
|
687
|
+
}>;
|
|
688
|
+
name: string;
|
|
689
|
+
};
|
|
590
690
|
})[];
|
|
591
691
|
};
|
|
592
692
|
name: "layout-raw";
|
|
@@ -145,6 +145,31 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
145
145
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
146
146
|
type: "variation";
|
|
147
147
|
default: {};
|
|
148
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
149
|
+
type: "layout";
|
|
150
|
+
layout: {
|
|
151
|
+
options: Record<string, {
|
|
152
|
+
values: string[];
|
|
153
|
+
displayName: string;
|
|
154
|
+
description: string;
|
|
155
|
+
selectedValue: string;
|
|
156
|
+
}>;
|
|
157
|
+
name: string;
|
|
158
|
+
displayName: string;
|
|
159
|
+
description: string;
|
|
160
|
+
template: string;
|
|
161
|
+
zones: Record<string, {
|
|
162
|
+
displayName: string;
|
|
163
|
+
description: string;
|
|
164
|
+
minNodes: number;
|
|
165
|
+
maxNodes?: number | undefined;
|
|
166
|
+
}>;
|
|
167
|
+
} | {
|
|
168
|
+
options: Record<string, {
|
|
169
|
+
selectedValue: string;
|
|
170
|
+
}>;
|
|
171
|
+
name: string;
|
|
172
|
+
};
|
|
148
173
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
174
|
value: string;
|
|
150
175
|
type: "text";
|
|
@@ -216,7 +241,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
216
241
|
matrixIdentifier?: string | undefined;
|
|
217
242
|
}) & {
|
|
218
243
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
244
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
245
|
value: string;
|
|
221
246
|
type: "text";
|
|
222
247
|
} | {
|
|
@@ -288,6 +313,31 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
288
313
|
} | {
|
|
289
314
|
type: "variation";
|
|
290
315
|
default: {};
|
|
316
|
+
} | {
|
|
317
|
+
type: "layout";
|
|
318
|
+
layout: {
|
|
319
|
+
options: Record<string, {
|
|
320
|
+
values: string[];
|
|
321
|
+
displayName: string;
|
|
322
|
+
description: string;
|
|
323
|
+
selectedValue: string;
|
|
324
|
+
}>;
|
|
325
|
+
name: string;
|
|
326
|
+
displayName: string;
|
|
327
|
+
description: string;
|
|
328
|
+
template: string;
|
|
329
|
+
zones: Record<string, {
|
|
330
|
+
displayName: string;
|
|
331
|
+
description: string;
|
|
332
|
+
minNodes: number;
|
|
333
|
+
maxNodes?: number | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
} | {
|
|
336
|
+
options: Record<string, {
|
|
337
|
+
selectedValue: string;
|
|
338
|
+
}>;
|
|
339
|
+
name: string;
|
|
340
|
+
};
|
|
291
341
|
})[]>;
|
|
292
342
|
}, "strip", z.ZodTypeAny, {
|
|
293
343
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -361,7 +411,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
361
411
|
matrixIdentifier?: string | undefined;
|
|
362
412
|
}) & {
|
|
363
413
|
children: import("../layout-content").LayoutContentNodes[];
|
|
364
|
-
})))[];
|
|
414
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
365
415
|
}, {
|
|
366
416
|
main: ({
|
|
367
417
|
value: string;
|
|
@@ -435,6 +485,31 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
435
485
|
} | {
|
|
436
486
|
type: "variation";
|
|
437
487
|
default: {};
|
|
488
|
+
} | {
|
|
489
|
+
type: "layout";
|
|
490
|
+
layout: {
|
|
491
|
+
options: Record<string, {
|
|
492
|
+
values: string[];
|
|
493
|
+
displayName: string;
|
|
494
|
+
description: string;
|
|
495
|
+
selectedValue: string;
|
|
496
|
+
}>;
|
|
497
|
+
name: string;
|
|
498
|
+
displayName: string;
|
|
499
|
+
description: string;
|
|
500
|
+
template: string;
|
|
501
|
+
zones: Record<string, {
|
|
502
|
+
displayName: string;
|
|
503
|
+
description: string;
|
|
504
|
+
minNodes: number;
|
|
505
|
+
maxNodes?: number | undefined;
|
|
506
|
+
}>;
|
|
507
|
+
} | {
|
|
508
|
+
options: Record<string, {
|
|
509
|
+
selectedValue: string;
|
|
510
|
+
}>;
|
|
511
|
+
name: string;
|
|
512
|
+
};
|
|
438
513
|
})[];
|
|
439
514
|
}>;
|
|
440
515
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -510,7 +585,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
510
585
|
matrixIdentifier?: string | undefined;
|
|
511
586
|
}) & {
|
|
512
587
|
children: import("../layout-content").LayoutContentNodes[];
|
|
513
|
-
})))[];
|
|
588
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
514
589
|
};
|
|
515
590
|
name: "single-column";
|
|
516
591
|
}, {
|
|
@@ -587,6 +662,31 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
587
662
|
} | {
|
|
588
663
|
type: "variation";
|
|
589
664
|
default: {};
|
|
665
|
+
} | {
|
|
666
|
+
type: "layout";
|
|
667
|
+
layout: {
|
|
668
|
+
options: Record<string, {
|
|
669
|
+
values: string[];
|
|
670
|
+
displayName: string;
|
|
671
|
+
description: string;
|
|
672
|
+
selectedValue: string;
|
|
673
|
+
}>;
|
|
674
|
+
name: string;
|
|
675
|
+
displayName: string;
|
|
676
|
+
description: string;
|
|
677
|
+
template: string;
|
|
678
|
+
zones: Record<string, {
|
|
679
|
+
displayName: string;
|
|
680
|
+
description: string;
|
|
681
|
+
minNodes: number;
|
|
682
|
+
maxNodes?: number | undefined;
|
|
683
|
+
}>;
|
|
684
|
+
} | {
|
|
685
|
+
options: Record<string, {
|
|
686
|
+
selectedValue: string;
|
|
687
|
+
}>;
|
|
688
|
+
name: string;
|
|
689
|
+
};
|
|
590
690
|
})[];
|
|
591
691
|
};
|
|
592
692
|
name: "single-column";
|
|
@@ -145,6 +145,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
145
145
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
146
146
|
type: "variation";
|
|
147
147
|
default: {};
|
|
148
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
149
|
+
type: "layout";
|
|
150
|
+
layout: {
|
|
151
|
+
options: Record<string, {
|
|
152
|
+
values: string[];
|
|
153
|
+
displayName: string;
|
|
154
|
+
description: string;
|
|
155
|
+
selectedValue: string;
|
|
156
|
+
}>;
|
|
157
|
+
name: string;
|
|
158
|
+
displayName: string;
|
|
159
|
+
description: string;
|
|
160
|
+
template: string;
|
|
161
|
+
zones: Record<string, {
|
|
162
|
+
displayName: string;
|
|
163
|
+
description: string;
|
|
164
|
+
minNodes: number;
|
|
165
|
+
maxNodes?: number | undefined;
|
|
166
|
+
}>;
|
|
167
|
+
} | {
|
|
168
|
+
options: Record<string, {
|
|
169
|
+
selectedValue: string;
|
|
170
|
+
}>;
|
|
171
|
+
name: string;
|
|
172
|
+
};
|
|
148
173
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
174
|
value: string;
|
|
150
175
|
type: "text";
|
|
@@ -216,7 +241,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
216
241
|
matrixIdentifier?: string | undefined;
|
|
217
242
|
}) & {
|
|
218
243
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
244
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
245
|
value: string;
|
|
221
246
|
type: "text";
|
|
222
247
|
} | {
|
|
@@ -288,6 +313,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
288
313
|
} | {
|
|
289
314
|
type: "variation";
|
|
290
315
|
default: {};
|
|
316
|
+
} | {
|
|
317
|
+
type: "layout";
|
|
318
|
+
layout: {
|
|
319
|
+
options: Record<string, {
|
|
320
|
+
values: string[];
|
|
321
|
+
displayName: string;
|
|
322
|
+
description: string;
|
|
323
|
+
selectedValue: string;
|
|
324
|
+
}>;
|
|
325
|
+
name: string;
|
|
326
|
+
displayName: string;
|
|
327
|
+
description: string;
|
|
328
|
+
template: string;
|
|
329
|
+
zones: Record<string, {
|
|
330
|
+
displayName: string;
|
|
331
|
+
description: string;
|
|
332
|
+
minNodes: number;
|
|
333
|
+
maxNodes?: number | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
} | {
|
|
336
|
+
options: Record<string, {
|
|
337
|
+
selectedValue: string;
|
|
338
|
+
}>;
|
|
339
|
+
name: string;
|
|
340
|
+
};
|
|
291
341
|
})[]>;
|
|
292
342
|
right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
293
343
|
value: string;
|
|
@@ -432,6 +482,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
432
482
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
433
483
|
type: "variation";
|
|
434
484
|
default: {};
|
|
485
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
486
|
+
type: "layout";
|
|
487
|
+
layout: {
|
|
488
|
+
options: Record<string, {
|
|
489
|
+
values: string[];
|
|
490
|
+
displayName: string;
|
|
491
|
+
description: string;
|
|
492
|
+
selectedValue: string;
|
|
493
|
+
}>;
|
|
494
|
+
name: string;
|
|
495
|
+
displayName: string;
|
|
496
|
+
description: string;
|
|
497
|
+
template: string;
|
|
498
|
+
zones: Record<string, {
|
|
499
|
+
displayName: string;
|
|
500
|
+
description: string;
|
|
501
|
+
minNodes: number;
|
|
502
|
+
maxNodes?: number | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
} | {
|
|
505
|
+
options: Record<string, {
|
|
506
|
+
selectedValue: string;
|
|
507
|
+
}>;
|
|
508
|
+
name: string;
|
|
509
|
+
};
|
|
435
510
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
436
511
|
value: string;
|
|
437
512
|
type: "text";
|
|
@@ -503,7 +578,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
503
578
|
matrixIdentifier?: string | undefined;
|
|
504
579
|
}) & {
|
|
505
580
|
children: import("../layout-content").LayoutContentNodes[];
|
|
506
|
-
})))[], ({
|
|
581
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
507
582
|
value: string;
|
|
508
583
|
type: "text";
|
|
509
584
|
} | {
|
|
@@ -575,6 +650,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
575
650
|
} | {
|
|
576
651
|
type: "variation";
|
|
577
652
|
default: {};
|
|
653
|
+
} | {
|
|
654
|
+
type: "layout";
|
|
655
|
+
layout: {
|
|
656
|
+
options: Record<string, {
|
|
657
|
+
values: string[];
|
|
658
|
+
displayName: string;
|
|
659
|
+
description: string;
|
|
660
|
+
selectedValue: string;
|
|
661
|
+
}>;
|
|
662
|
+
name: string;
|
|
663
|
+
displayName: string;
|
|
664
|
+
description: string;
|
|
665
|
+
template: string;
|
|
666
|
+
zones: Record<string, {
|
|
667
|
+
displayName: string;
|
|
668
|
+
description: string;
|
|
669
|
+
minNodes: number;
|
|
670
|
+
maxNodes?: number | undefined;
|
|
671
|
+
}>;
|
|
672
|
+
} | {
|
|
673
|
+
options: Record<string, {
|
|
674
|
+
selectedValue: string;
|
|
675
|
+
}>;
|
|
676
|
+
name: string;
|
|
677
|
+
};
|
|
578
678
|
})[]>;
|
|
579
679
|
}, "strip", z.ZodTypeAny, {
|
|
580
680
|
left: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -648,7 +748,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
648
748
|
matrixIdentifier?: string | undefined;
|
|
649
749
|
}) & {
|
|
650
750
|
children: import("../layout-content").LayoutContentNodes[];
|
|
651
|
-
})))[];
|
|
751
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
652
752
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
653
753
|
value: string;
|
|
654
754
|
type: "text";
|
|
@@ -720,7 +820,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
720
820
|
matrixIdentifier?: string | undefined;
|
|
721
821
|
}) & {
|
|
722
822
|
children: import("../layout-content").LayoutContentNodes[];
|
|
723
|
-
})))[];
|
|
823
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
724
824
|
}, {
|
|
725
825
|
left: ({
|
|
726
826
|
value: string;
|
|
@@ -794,6 +894,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
794
894
|
} | {
|
|
795
895
|
type: "variation";
|
|
796
896
|
default: {};
|
|
897
|
+
} | {
|
|
898
|
+
type: "layout";
|
|
899
|
+
layout: {
|
|
900
|
+
options: Record<string, {
|
|
901
|
+
values: string[];
|
|
902
|
+
displayName: string;
|
|
903
|
+
description: string;
|
|
904
|
+
selectedValue: string;
|
|
905
|
+
}>;
|
|
906
|
+
name: string;
|
|
907
|
+
displayName: string;
|
|
908
|
+
description: string;
|
|
909
|
+
template: string;
|
|
910
|
+
zones: Record<string, {
|
|
911
|
+
displayName: string;
|
|
912
|
+
description: string;
|
|
913
|
+
minNodes: number;
|
|
914
|
+
maxNodes?: number | undefined;
|
|
915
|
+
}>;
|
|
916
|
+
} | {
|
|
917
|
+
options: Record<string, {
|
|
918
|
+
selectedValue: string;
|
|
919
|
+
}>;
|
|
920
|
+
name: string;
|
|
921
|
+
};
|
|
797
922
|
})[];
|
|
798
923
|
right: ({
|
|
799
924
|
value: string;
|
|
@@ -867,6 +992,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
867
992
|
} | {
|
|
868
993
|
type: "variation";
|
|
869
994
|
default: {};
|
|
995
|
+
} | {
|
|
996
|
+
type: "layout";
|
|
997
|
+
layout: {
|
|
998
|
+
options: Record<string, {
|
|
999
|
+
values: string[];
|
|
1000
|
+
displayName: string;
|
|
1001
|
+
description: string;
|
|
1002
|
+
selectedValue: string;
|
|
1003
|
+
}>;
|
|
1004
|
+
name: string;
|
|
1005
|
+
displayName: string;
|
|
1006
|
+
description: string;
|
|
1007
|
+
template: string;
|
|
1008
|
+
zones: Record<string, {
|
|
1009
|
+
displayName: string;
|
|
1010
|
+
description: string;
|
|
1011
|
+
minNodes: number;
|
|
1012
|
+
maxNodes?: number | undefined;
|
|
1013
|
+
}>;
|
|
1014
|
+
} | {
|
|
1015
|
+
options: Record<string, {
|
|
1016
|
+
selectedValue: string;
|
|
1017
|
+
}>;
|
|
1018
|
+
name: string;
|
|
1019
|
+
};
|
|
870
1020
|
})[];
|
|
871
1021
|
}>;
|
|
872
1022
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -942,7 +1092,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
942
1092
|
matrixIdentifier?: string | undefined;
|
|
943
1093
|
}) & {
|
|
944
1094
|
children: import("../layout-content").LayoutContentNodes[];
|
|
945
|
-
})))[];
|
|
1095
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
946
1096
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
947
1097
|
value: string;
|
|
948
1098
|
type: "text";
|
|
@@ -1014,7 +1164,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1014
1164
|
matrixIdentifier?: string | undefined;
|
|
1015
1165
|
}) & {
|
|
1016
1166
|
children: import("../layout-content").LayoutContentNodes[];
|
|
1017
|
-
})))[];
|
|
1167
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1018
1168
|
};
|
|
1019
1169
|
name: "two-column";
|
|
1020
1170
|
}, {
|
|
@@ -1091,6 +1241,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1091
1241
|
} | {
|
|
1092
1242
|
type: "variation";
|
|
1093
1243
|
default: {};
|
|
1244
|
+
} | {
|
|
1245
|
+
type: "layout";
|
|
1246
|
+
layout: {
|
|
1247
|
+
options: Record<string, {
|
|
1248
|
+
values: string[];
|
|
1249
|
+
displayName: string;
|
|
1250
|
+
description: string;
|
|
1251
|
+
selectedValue: string;
|
|
1252
|
+
}>;
|
|
1253
|
+
name: string;
|
|
1254
|
+
displayName: string;
|
|
1255
|
+
description: string;
|
|
1256
|
+
template: string;
|
|
1257
|
+
zones: Record<string, {
|
|
1258
|
+
displayName: string;
|
|
1259
|
+
description: string;
|
|
1260
|
+
minNodes: number;
|
|
1261
|
+
maxNodes?: number | undefined;
|
|
1262
|
+
}>;
|
|
1263
|
+
} | {
|
|
1264
|
+
options: Record<string, {
|
|
1265
|
+
selectedValue: string;
|
|
1266
|
+
}>;
|
|
1267
|
+
name: string;
|
|
1268
|
+
};
|
|
1094
1269
|
})[];
|
|
1095
1270
|
right: ({
|
|
1096
1271
|
value: string;
|
|
@@ -1164,6 +1339,31 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1164
1339
|
} | {
|
|
1165
1340
|
type: "variation";
|
|
1166
1341
|
default: {};
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "layout";
|
|
1344
|
+
layout: {
|
|
1345
|
+
options: Record<string, {
|
|
1346
|
+
values: string[];
|
|
1347
|
+
displayName: string;
|
|
1348
|
+
description: string;
|
|
1349
|
+
selectedValue: string;
|
|
1350
|
+
}>;
|
|
1351
|
+
name: string;
|
|
1352
|
+
displayName: string;
|
|
1353
|
+
description: string;
|
|
1354
|
+
template: string;
|
|
1355
|
+
zones: Record<string, {
|
|
1356
|
+
displayName: string;
|
|
1357
|
+
description: string;
|
|
1358
|
+
minNodes: number;
|
|
1359
|
+
maxNodes?: number | undefined;
|
|
1360
|
+
}>;
|
|
1361
|
+
} | {
|
|
1362
|
+
options: Record<string, {
|
|
1363
|
+
selectedValue: string;
|
|
1364
|
+
}>;
|
|
1365
|
+
name: string;
|
|
1366
|
+
};
|
|
1167
1367
|
})[];
|
|
1168
1368
|
};
|
|
1169
1369
|
name: "two-column";
|