@squiz/dx-page-contents-lib 1.71.0 → 1.72.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 +154 -0
- package/lib/formatted-text.js +31 -1
- package/lib/formatted-text.js.map +1 -1
- package/lib/layout-content.d.ts +87 -2
- package/lib/layout-content.js +5 -2
- package/lib/layout-content.js.map +1 -1
- package/lib/layouts/custom-layout.d.ts +160 -25
- package/lib/layouts/index.d.ts +567 -27
- package/lib/layouts/raw.layout.d.ts +111 -3
- package/lib/layouts/single-column.layout.d.ts +111 -3
- package/lib/layouts/two-column.layout.d.ts +222 -6
- package/lib/mocks/PageContentsHelpers.d.ts +711 -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/package.json +1 -1
|
@@ -145,6 +145,33 @@ 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
|
+
version: string;
|
|
159
|
+
displayName: string;
|
|
160
|
+
description: string;
|
|
161
|
+
template: string;
|
|
162
|
+
zones: Record<string, {
|
|
163
|
+
displayName: string;
|
|
164
|
+
description: string;
|
|
165
|
+
minNodes: number;
|
|
166
|
+
maxNodes?: number | undefined;
|
|
167
|
+
}>;
|
|
168
|
+
} | {
|
|
169
|
+
options: Record<string, {
|
|
170
|
+
selectedValue: string;
|
|
171
|
+
}>;
|
|
172
|
+
name: string;
|
|
173
|
+
version: string;
|
|
174
|
+
};
|
|
148
175
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
176
|
value: string;
|
|
150
177
|
type: "text";
|
|
@@ -216,7 +243,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
216
243
|
matrixIdentifier?: string | undefined;
|
|
217
244
|
}) & {
|
|
218
245
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
246
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
247
|
value: string;
|
|
221
248
|
type: "text";
|
|
222
249
|
} | {
|
|
@@ -288,6 +315,33 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
288
315
|
} | {
|
|
289
316
|
type: "variation";
|
|
290
317
|
default: {};
|
|
318
|
+
} | {
|
|
319
|
+
type: "layout";
|
|
320
|
+
layout: {
|
|
321
|
+
options: Record<string, {
|
|
322
|
+
values: string[];
|
|
323
|
+
displayName: string;
|
|
324
|
+
description: string;
|
|
325
|
+
selectedValue: string;
|
|
326
|
+
}>;
|
|
327
|
+
name: string;
|
|
328
|
+
version: string;
|
|
329
|
+
displayName: string;
|
|
330
|
+
description: string;
|
|
331
|
+
template: string;
|
|
332
|
+
zones: Record<string, {
|
|
333
|
+
displayName: string;
|
|
334
|
+
description: string;
|
|
335
|
+
minNodes: number;
|
|
336
|
+
maxNodes?: number | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
} | {
|
|
339
|
+
options: Record<string, {
|
|
340
|
+
selectedValue: string;
|
|
341
|
+
}>;
|
|
342
|
+
name: string;
|
|
343
|
+
version: string;
|
|
344
|
+
};
|
|
291
345
|
})[]>;
|
|
292
346
|
}, "strip", z.ZodTypeAny, {
|
|
293
347
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -361,7 +415,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
361
415
|
matrixIdentifier?: string | undefined;
|
|
362
416
|
}) & {
|
|
363
417
|
children: import("../layout-content").LayoutContentNodes[];
|
|
364
|
-
})))[];
|
|
418
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
365
419
|
}, {
|
|
366
420
|
main: ({
|
|
367
421
|
value: string;
|
|
@@ -435,6 +489,33 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
435
489
|
} | {
|
|
436
490
|
type: "variation";
|
|
437
491
|
default: {};
|
|
492
|
+
} | {
|
|
493
|
+
type: "layout";
|
|
494
|
+
layout: {
|
|
495
|
+
options: Record<string, {
|
|
496
|
+
values: string[];
|
|
497
|
+
displayName: string;
|
|
498
|
+
description: string;
|
|
499
|
+
selectedValue: string;
|
|
500
|
+
}>;
|
|
501
|
+
name: string;
|
|
502
|
+
version: string;
|
|
503
|
+
displayName: string;
|
|
504
|
+
description: string;
|
|
505
|
+
template: string;
|
|
506
|
+
zones: Record<string, {
|
|
507
|
+
displayName: string;
|
|
508
|
+
description: string;
|
|
509
|
+
minNodes: number;
|
|
510
|
+
maxNodes?: number | undefined;
|
|
511
|
+
}>;
|
|
512
|
+
} | {
|
|
513
|
+
options: Record<string, {
|
|
514
|
+
selectedValue: string;
|
|
515
|
+
}>;
|
|
516
|
+
name: string;
|
|
517
|
+
version: string;
|
|
518
|
+
};
|
|
438
519
|
})[];
|
|
439
520
|
}>;
|
|
440
521
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -510,7 +591,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
510
591
|
matrixIdentifier?: string | undefined;
|
|
511
592
|
}) & {
|
|
512
593
|
children: import("../layout-content").LayoutContentNodes[];
|
|
513
|
-
})))[];
|
|
594
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
514
595
|
};
|
|
515
596
|
name: "layout-raw";
|
|
516
597
|
}, {
|
|
@@ -587,6 +668,33 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
587
668
|
} | {
|
|
588
669
|
type: "variation";
|
|
589
670
|
default: {};
|
|
671
|
+
} | {
|
|
672
|
+
type: "layout";
|
|
673
|
+
layout: {
|
|
674
|
+
options: Record<string, {
|
|
675
|
+
values: string[];
|
|
676
|
+
displayName: string;
|
|
677
|
+
description: string;
|
|
678
|
+
selectedValue: string;
|
|
679
|
+
}>;
|
|
680
|
+
name: string;
|
|
681
|
+
version: string;
|
|
682
|
+
displayName: string;
|
|
683
|
+
description: string;
|
|
684
|
+
template: string;
|
|
685
|
+
zones: Record<string, {
|
|
686
|
+
displayName: string;
|
|
687
|
+
description: string;
|
|
688
|
+
minNodes: number;
|
|
689
|
+
maxNodes?: number | undefined;
|
|
690
|
+
}>;
|
|
691
|
+
} | {
|
|
692
|
+
options: Record<string, {
|
|
693
|
+
selectedValue: string;
|
|
694
|
+
}>;
|
|
695
|
+
name: string;
|
|
696
|
+
version: string;
|
|
697
|
+
};
|
|
590
698
|
})[];
|
|
591
699
|
};
|
|
592
700
|
name: "layout-raw";
|
|
@@ -145,6 +145,33 @@ 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
|
+
version: string;
|
|
159
|
+
displayName: string;
|
|
160
|
+
description: string;
|
|
161
|
+
template: string;
|
|
162
|
+
zones: Record<string, {
|
|
163
|
+
displayName: string;
|
|
164
|
+
description: string;
|
|
165
|
+
minNodes: number;
|
|
166
|
+
maxNodes?: number | undefined;
|
|
167
|
+
}>;
|
|
168
|
+
} | {
|
|
169
|
+
options: Record<string, {
|
|
170
|
+
selectedValue: string;
|
|
171
|
+
}>;
|
|
172
|
+
name: string;
|
|
173
|
+
version: string;
|
|
174
|
+
};
|
|
148
175
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
176
|
value: string;
|
|
150
177
|
type: "text";
|
|
@@ -216,7 +243,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
216
243
|
matrixIdentifier?: string | undefined;
|
|
217
244
|
}) & {
|
|
218
245
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
246
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
247
|
value: string;
|
|
221
248
|
type: "text";
|
|
222
249
|
} | {
|
|
@@ -288,6 +315,33 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
288
315
|
} | {
|
|
289
316
|
type: "variation";
|
|
290
317
|
default: {};
|
|
318
|
+
} | {
|
|
319
|
+
type: "layout";
|
|
320
|
+
layout: {
|
|
321
|
+
options: Record<string, {
|
|
322
|
+
values: string[];
|
|
323
|
+
displayName: string;
|
|
324
|
+
description: string;
|
|
325
|
+
selectedValue: string;
|
|
326
|
+
}>;
|
|
327
|
+
name: string;
|
|
328
|
+
version: string;
|
|
329
|
+
displayName: string;
|
|
330
|
+
description: string;
|
|
331
|
+
template: string;
|
|
332
|
+
zones: Record<string, {
|
|
333
|
+
displayName: string;
|
|
334
|
+
description: string;
|
|
335
|
+
minNodes: number;
|
|
336
|
+
maxNodes?: number | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
} | {
|
|
339
|
+
options: Record<string, {
|
|
340
|
+
selectedValue: string;
|
|
341
|
+
}>;
|
|
342
|
+
name: string;
|
|
343
|
+
version: string;
|
|
344
|
+
};
|
|
291
345
|
})[]>;
|
|
292
346
|
}, "strip", z.ZodTypeAny, {
|
|
293
347
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -361,7 +415,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
361
415
|
matrixIdentifier?: string | undefined;
|
|
362
416
|
}) & {
|
|
363
417
|
children: import("../layout-content").LayoutContentNodes[];
|
|
364
|
-
})))[];
|
|
418
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
365
419
|
}, {
|
|
366
420
|
main: ({
|
|
367
421
|
value: string;
|
|
@@ -435,6 +489,33 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
435
489
|
} | {
|
|
436
490
|
type: "variation";
|
|
437
491
|
default: {};
|
|
492
|
+
} | {
|
|
493
|
+
type: "layout";
|
|
494
|
+
layout: {
|
|
495
|
+
options: Record<string, {
|
|
496
|
+
values: string[];
|
|
497
|
+
displayName: string;
|
|
498
|
+
description: string;
|
|
499
|
+
selectedValue: string;
|
|
500
|
+
}>;
|
|
501
|
+
name: string;
|
|
502
|
+
version: string;
|
|
503
|
+
displayName: string;
|
|
504
|
+
description: string;
|
|
505
|
+
template: string;
|
|
506
|
+
zones: Record<string, {
|
|
507
|
+
displayName: string;
|
|
508
|
+
description: string;
|
|
509
|
+
minNodes: number;
|
|
510
|
+
maxNodes?: number | undefined;
|
|
511
|
+
}>;
|
|
512
|
+
} | {
|
|
513
|
+
options: Record<string, {
|
|
514
|
+
selectedValue: string;
|
|
515
|
+
}>;
|
|
516
|
+
name: string;
|
|
517
|
+
version: string;
|
|
518
|
+
};
|
|
438
519
|
})[];
|
|
439
520
|
}>;
|
|
440
521
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -510,7 +591,7 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
510
591
|
matrixIdentifier?: string | undefined;
|
|
511
592
|
}) & {
|
|
512
593
|
children: import("../layout-content").LayoutContentNodes[];
|
|
513
|
-
})))[];
|
|
594
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
514
595
|
};
|
|
515
596
|
name: "single-column";
|
|
516
597
|
}, {
|
|
@@ -587,6 +668,33 @@ export declare const SingleColumnLayout: z.ZodObject<{
|
|
|
587
668
|
} | {
|
|
588
669
|
type: "variation";
|
|
589
670
|
default: {};
|
|
671
|
+
} | {
|
|
672
|
+
type: "layout";
|
|
673
|
+
layout: {
|
|
674
|
+
options: Record<string, {
|
|
675
|
+
values: string[];
|
|
676
|
+
displayName: string;
|
|
677
|
+
description: string;
|
|
678
|
+
selectedValue: string;
|
|
679
|
+
}>;
|
|
680
|
+
name: string;
|
|
681
|
+
version: string;
|
|
682
|
+
displayName: string;
|
|
683
|
+
description: string;
|
|
684
|
+
template: string;
|
|
685
|
+
zones: Record<string, {
|
|
686
|
+
displayName: string;
|
|
687
|
+
description: string;
|
|
688
|
+
minNodes: number;
|
|
689
|
+
maxNodes?: number | undefined;
|
|
690
|
+
}>;
|
|
691
|
+
} | {
|
|
692
|
+
options: Record<string, {
|
|
693
|
+
selectedValue: string;
|
|
694
|
+
}>;
|
|
695
|
+
name: string;
|
|
696
|
+
version: string;
|
|
697
|
+
};
|
|
590
698
|
})[];
|
|
591
699
|
};
|
|
592
700
|
name: "single-column";
|
|
@@ -145,6 +145,33 @@ 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
|
+
version: string;
|
|
159
|
+
displayName: string;
|
|
160
|
+
description: string;
|
|
161
|
+
template: string;
|
|
162
|
+
zones: Record<string, {
|
|
163
|
+
displayName: string;
|
|
164
|
+
description: string;
|
|
165
|
+
minNodes: number;
|
|
166
|
+
maxNodes?: number | undefined;
|
|
167
|
+
}>;
|
|
168
|
+
} | {
|
|
169
|
+
options: Record<string, {
|
|
170
|
+
selectedValue: string;
|
|
171
|
+
}>;
|
|
172
|
+
name: string;
|
|
173
|
+
version: string;
|
|
174
|
+
};
|
|
148
175
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
149
176
|
value: string;
|
|
150
177
|
type: "text";
|
|
@@ -216,7 +243,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
216
243
|
matrixIdentifier?: string | undefined;
|
|
217
244
|
}) & {
|
|
218
245
|
children: import("../layout-content").LayoutContentNodes[];
|
|
219
|
-
})))[], ({
|
|
246
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
220
247
|
value: string;
|
|
221
248
|
type: "text";
|
|
222
249
|
} | {
|
|
@@ -288,6 +315,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
288
315
|
} | {
|
|
289
316
|
type: "variation";
|
|
290
317
|
default: {};
|
|
318
|
+
} | {
|
|
319
|
+
type: "layout";
|
|
320
|
+
layout: {
|
|
321
|
+
options: Record<string, {
|
|
322
|
+
values: string[];
|
|
323
|
+
displayName: string;
|
|
324
|
+
description: string;
|
|
325
|
+
selectedValue: string;
|
|
326
|
+
}>;
|
|
327
|
+
name: string;
|
|
328
|
+
version: string;
|
|
329
|
+
displayName: string;
|
|
330
|
+
description: string;
|
|
331
|
+
template: string;
|
|
332
|
+
zones: Record<string, {
|
|
333
|
+
displayName: string;
|
|
334
|
+
description: string;
|
|
335
|
+
minNodes: number;
|
|
336
|
+
maxNodes?: number | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
} | {
|
|
339
|
+
options: Record<string, {
|
|
340
|
+
selectedValue: string;
|
|
341
|
+
}>;
|
|
342
|
+
name: string;
|
|
343
|
+
version: string;
|
|
344
|
+
};
|
|
291
345
|
})[]>;
|
|
292
346
|
right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
293
347
|
value: string;
|
|
@@ -432,6 +486,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
432
486
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
433
487
|
type: "variation";
|
|
434
488
|
default: {};
|
|
489
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
490
|
+
type: "layout";
|
|
491
|
+
layout: {
|
|
492
|
+
options: Record<string, {
|
|
493
|
+
values: string[];
|
|
494
|
+
displayName: string;
|
|
495
|
+
description: string;
|
|
496
|
+
selectedValue: string;
|
|
497
|
+
}>;
|
|
498
|
+
name: string;
|
|
499
|
+
version: string;
|
|
500
|
+
displayName: string;
|
|
501
|
+
description: string;
|
|
502
|
+
template: string;
|
|
503
|
+
zones: Record<string, {
|
|
504
|
+
displayName: string;
|
|
505
|
+
description: string;
|
|
506
|
+
minNodes: number;
|
|
507
|
+
maxNodes?: number | undefined;
|
|
508
|
+
}>;
|
|
509
|
+
} | {
|
|
510
|
+
options: Record<string, {
|
|
511
|
+
selectedValue: string;
|
|
512
|
+
}>;
|
|
513
|
+
name: string;
|
|
514
|
+
version: string;
|
|
515
|
+
};
|
|
435
516
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
436
517
|
value: string;
|
|
437
518
|
type: "text";
|
|
@@ -503,7 +584,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
503
584
|
matrixIdentifier?: string | undefined;
|
|
504
585
|
}) & {
|
|
505
586
|
children: import("../layout-content").LayoutContentNodes[];
|
|
506
|
-
})))[], ({
|
|
587
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
507
588
|
value: string;
|
|
508
589
|
type: "text";
|
|
509
590
|
} | {
|
|
@@ -575,6 +656,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
575
656
|
} | {
|
|
576
657
|
type: "variation";
|
|
577
658
|
default: {};
|
|
659
|
+
} | {
|
|
660
|
+
type: "layout";
|
|
661
|
+
layout: {
|
|
662
|
+
options: Record<string, {
|
|
663
|
+
values: string[];
|
|
664
|
+
displayName: string;
|
|
665
|
+
description: string;
|
|
666
|
+
selectedValue: string;
|
|
667
|
+
}>;
|
|
668
|
+
name: string;
|
|
669
|
+
version: string;
|
|
670
|
+
displayName: string;
|
|
671
|
+
description: string;
|
|
672
|
+
template: string;
|
|
673
|
+
zones: Record<string, {
|
|
674
|
+
displayName: string;
|
|
675
|
+
description: string;
|
|
676
|
+
minNodes: number;
|
|
677
|
+
maxNodes?: number | undefined;
|
|
678
|
+
}>;
|
|
679
|
+
} | {
|
|
680
|
+
options: Record<string, {
|
|
681
|
+
selectedValue: string;
|
|
682
|
+
}>;
|
|
683
|
+
name: string;
|
|
684
|
+
version: string;
|
|
685
|
+
};
|
|
578
686
|
})[]>;
|
|
579
687
|
}, "strip", z.ZodTypeAny, {
|
|
580
688
|
left: (import("../layout-content").LayoutVariationNode | ({
|
|
@@ -648,7 +756,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
648
756
|
matrixIdentifier?: string | undefined;
|
|
649
757
|
}) & {
|
|
650
758
|
children: import("../layout-content").LayoutContentNodes[];
|
|
651
|
-
})))[];
|
|
759
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
652
760
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
653
761
|
value: string;
|
|
654
762
|
type: "text";
|
|
@@ -720,7 +828,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
720
828
|
matrixIdentifier?: string | undefined;
|
|
721
829
|
}) & {
|
|
722
830
|
children: import("../layout-content").LayoutContentNodes[];
|
|
723
|
-
})))[];
|
|
831
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
724
832
|
}, {
|
|
725
833
|
left: ({
|
|
726
834
|
value: string;
|
|
@@ -794,6 +902,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
794
902
|
} | {
|
|
795
903
|
type: "variation";
|
|
796
904
|
default: {};
|
|
905
|
+
} | {
|
|
906
|
+
type: "layout";
|
|
907
|
+
layout: {
|
|
908
|
+
options: Record<string, {
|
|
909
|
+
values: string[];
|
|
910
|
+
displayName: string;
|
|
911
|
+
description: string;
|
|
912
|
+
selectedValue: string;
|
|
913
|
+
}>;
|
|
914
|
+
name: string;
|
|
915
|
+
version: string;
|
|
916
|
+
displayName: string;
|
|
917
|
+
description: string;
|
|
918
|
+
template: string;
|
|
919
|
+
zones: Record<string, {
|
|
920
|
+
displayName: string;
|
|
921
|
+
description: string;
|
|
922
|
+
minNodes: number;
|
|
923
|
+
maxNodes?: number | undefined;
|
|
924
|
+
}>;
|
|
925
|
+
} | {
|
|
926
|
+
options: Record<string, {
|
|
927
|
+
selectedValue: string;
|
|
928
|
+
}>;
|
|
929
|
+
name: string;
|
|
930
|
+
version: string;
|
|
931
|
+
};
|
|
797
932
|
})[];
|
|
798
933
|
right: ({
|
|
799
934
|
value: string;
|
|
@@ -867,6 +1002,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
867
1002
|
} | {
|
|
868
1003
|
type: "variation";
|
|
869
1004
|
default: {};
|
|
1005
|
+
} | {
|
|
1006
|
+
type: "layout";
|
|
1007
|
+
layout: {
|
|
1008
|
+
options: Record<string, {
|
|
1009
|
+
values: string[];
|
|
1010
|
+
displayName: string;
|
|
1011
|
+
description: string;
|
|
1012
|
+
selectedValue: string;
|
|
1013
|
+
}>;
|
|
1014
|
+
name: string;
|
|
1015
|
+
version: string;
|
|
1016
|
+
displayName: string;
|
|
1017
|
+
description: string;
|
|
1018
|
+
template: string;
|
|
1019
|
+
zones: Record<string, {
|
|
1020
|
+
displayName: string;
|
|
1021
|
+
description: string;
|
|
1022
|
+
minNodes: number;
|
|
1023
|
+
maxNodes?: number | undefined;
|
|
1024
|
+
}>;
|
|
1025
|
+
} | {
|
|
1026
|
+
options: Record<string, {
|
|
1027
|
+
selectedValue: string;
|
|
1028
|
+
}>;
|
|
1029
|
+
name: string;
|
|
1030
|
+
version: string;
|
|
1031
|
+
};
|
|
870
1032
|
})[];
|
|
871
1033
|
}>;
|
|
872
1034
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -942,7 +1104,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
942
1104
|
matrixIdentifier?: string | undefined;
|
|
943
1105
|
}) & {
|
|
944
1106
|
children: import("../layout-content").LayoutContentNodes[];
|
|
945
|
-
})))[];
|
|
1107
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
946
1108
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
947
1109
|
value: string;
|
|
948
1110
|
type: "text";
|
|
@@ -1014,7 +1176,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1014
1176
|
matrixIdentifier?: string | undefined;
|
|
1015
1177
|
}) & {
|
|
1016
1178
|
children: import("../layout-content").LayoutContentNodes[];
|
|
1017
|
-
})))[];
|
|
1179
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1018
1180
|
};
|
|
1019
1181
|
name: "two-column";
|
|
1020
1182
|
}, {
|
|
@@ -1091,6 +1253,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1091
1253
|
} | {
|
|
1092
1254
|
type: "variation";
|
|
1093
1255
|
default: {};
|
|
1256
|
+
} | {
|
|
1257
|
+
type: "layout";
|
|
1258
|
+
layout: {
|
|
1259
|
+
options: Record<string, {
|
|
1260
|
+
values: string[];
|
|
1261
|
+
displayName: string;
|
|
1262
|
+
description: string;
|
|
1263
|
+
selectedValue: string;
|
|
1264
|
+
}>;
|
|
1265
|
+
name: string;
|
|
1266
|
+
version: string;
|
|
1267
|
+
displayName: string;
|
|
1268
|
+
description: string;
|
|
1269
|
+
template: string;
|
|
1270
|
+
zones: Record<string, {
|
|
1271
|
+
displayName: string;
|
|
1272
|
+
description: string;
|
|
1273
|
+
minNodes: number;
|
|
1274
|
+
maxNodes?: number | undefined;
|
|
1275
|
+
}>;
|
|
1276
|
+
} | {
|
|
1277
|
+
options: Record<string, {
|
|
1278
|
+
selectedValue: string;
|
|
1279
|
+
}>;
|
|
1280
|
+
name: string;
|
|
1281
|
+
version: string;
|
|
1282
|
+
};
|
|
1094
1283
|
})[];
|
|
1095
1284
|
right: ({
|
|
1096
1285
|
value: string;
|
|
@@ -1164,6 +1353,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1164
1353
|
} | {
|
|
1165
1354
|
type: "variation";
|
|
1166
1355
|
default: {};
|
|
1356
|
+
} | {
|
|
1357
|
+
type: "layout";
|
|
1358
|
+
layout: {
|
|
1359
|
+
options: Record<string, {
|
|
1360
|
+
values: string[];
|
|
1361
|
+
displayName: string;
|
|
1362
|
+
description: string;
|
|
1363
|
+
selectedValue: string;
|
|
1364
|
+
}>;
|
|
1365
|
+
name: string;
|
|
1366
|
+
version: string;
|
|
1367
|
+
displayName: string;
|
|
1368
|
+
description: string;
|
|
1369
|
+
template: string;
|
|
1370
|
+
zones: Record<string, {
|
|
1371
|
+
displayName: string;
|
|
1372
|
+
description: string;
|
|
1373
|
+
minNodes: number;
|
|
1374
|
+
maxNodes?: number | undefined;
|
|
1375
|
+
}>;
|
|
1376
|
+
} | {
|
|
1377
|
+
options: Record<string, {
|
|
1378
|
+
selectedValue: string;
|
|
1379
|
+
}>;
|
|
1380
|
+
name: string;
|
|
1381
|
+
version: string;
|
|
1382
|
+
};
|
|
1167
1383
|
})[];
|
|
1168
1384
|
};
|
|
1169
1385
|
name: "two-column";
|