@syntrologie/adapt-product 2.34.0 → 2.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn.js +2 -2
- package/dist/{chunk-FAKCB3BS.js → chunk-AAV4C3P4.js} +67 -30
- package/dist/chunk-AAV4C3P4.js.map +7 -0
- package/dist/{chunk-NH3CFDTZ.js → chunk-HV6QS4PQ.js} +1115 -483
- package/dist/chunk-HV6QS4PQ.js.map +7 -0
- package/dist/native/nativeSlotWatcher.d.ts.map +1 -1
- package/dist/runtime.d.ts +12 -10
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +6 -2
- package/dist/schema-primitives.d.ts +4 -4
- package/dist/schema.d.ts +143 -58
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +9 -1
- package/dist/takeover/engine.d.ts +45 -0
- package/dist/takeover/engine.d.ts.map +1 -0
- package/dist/takeover/fetchPlan.d.ts +61 -0
- package/dist/takeover/fetchPlan.d.ts.map +1 -0
- package/dist/takeover/ports.d.ts +29 -0
- package/dist/takeover/ports.d.ts.map +1 -0
- package/dist/takeover/regionCurtain.d.ts +17 -0
- package/dist/takeover/regionCurtain.d.ts.map +1 -0
- package/dist/takeover/renderModules.d.ts +48 -0
- package/dist/takeover/renderModules.d.ts.map +1 -0
- package/dist/takeover/resurrectionGuard.d.ts +28 -0
- package/dist/takeover/resurrectionGuard.d.ts.map +1 -0
- package/dist/takeover/schema.d.ts +163 -0
- package/dist/takeover/schema.d.ts.map +1 -0
- package/dist/takeover/sectionDetach.d.ts +13 -0
- package/dist/takeover/sectionDetach.d.ts.map +1 -0
- package/dist/widgets/SyntroPdpLit.d.ts +69 -0
- package/dist/widgets/SyntroPdpLit.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-FAKCB3BS.js.map +0 -7
- package/dist/chunk-NH3CFDTZ.js.map +0 -7
package/dist/schema.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type PdpTakeoverConfig } from './takeover/schema';
|
|
3
|
+
export { type PdpTakeoverConfig, pdpTakeoverSchema, type SyntroPdpZodProps, syntroPdpPropsSchema, type TakeoverHostSection, type TakeoverPlan, type TakeoverPlanResponse, takeoverHostSectionSchema, takeoverPlanSchema, } from './takeover/schema';
|
|
2
4
|
export declare const VISIBLE_FACT_KEYS: readonly ["tagline", "price", "rating", "availability", "badge", "specs", "framing"];
|
|
3
5
|
export type VisibleFactKey = (typeof VISIBLE_FACT_KEYS)[number];
|
|
4
6
|
export declare const cardSchema: z.ZodObject<{
|
|
@@ -186,15 +188,15 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
186
188
|
actionId: z.ZodOptional<z.ZodString>;
|
|
187
189
|
}, "strict", z.ZodTypeAny, {
|
|
188
190
|
label: string;
|
|
189
|
-
variant: "primary" | "secondary" | "ghost";
|
|
190
191
|
target: "_self" | "_blank";
|
|
192
|
+
variant: "primary" | "secondary" | "ghost";
|
|
191
193
|
href?: string | undefined;
|
|
192
194
|
actionId?: string | undefined;
|
|
193
195
|
}, {
|
|
194
196
|
label: string;
|
|
195
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
196
197
|
href?: string | undefined;
|
|
197
198
|
target?: "_self" | "_blank" | undefined;
|
|
199
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
198
200
|
actionId?: string | undefined;
|
|
199
201
|
}>, "many">;
|
|
200
202
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -501,8 +503,8 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
501
503
|
id: string;
|
|
502
504
|
ctas: {
|
|
503
505
|
label: string;
|
|
504
|
-
variant: "primary" | "secondary" | "ghost";
|
|
505
506
|
target: "_self" | "_blank";
|
|
507
|
+
variant: "primary" | "secondary" | "ghost";
|
|
506
508
|
href?: string | undefined;
|
|
507
509
|
actionId?: string | undefined;
|
|
508
510
|
}[];
|
|
@@ -625,9 +627,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
625
627
|
id: string;
|
|
626
628
|
ctas: {
|
|
627
629
|
label: string;
|
|
628
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
629
630
|
href?: string | undefined;
|
|
630
631
|
target?: "_self" | "_blank" | undefined;
|
|
632
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
631
633
|
actionId?: string | undefined;
|
|
632
634
|
}[];
|
|
633
635
|
tagline?: string | undefined;
|
|
@@ -760,8 +762,8 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
760
762
|
id: string;
|
|
761
763
|
ctas: {
|
|
762
764
|
label: string;
|
|
763
|
-
variant: "primary" | "secondary" | "ghost";
|
|
764
765
|
target: "_self" | "_blank";
|
|
766
|
+
variant: "primary" | "secondary" | "ghost";
|
|
765
767
|
href?: string | undefined;
|
|
766
768
|
actionId?: string | undefined;
|
|
767
769
|
}[];
|
|
@@ -888,9 +890,9 @@ export declare const cardSchema: z.ZodObject<{
|
|
|
888
890
|
id: string;
|
|
889
891
|
ctas: {
|
|
890
892
|
label: string;
|
|
891
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
892
893
|
href?: string | undefined;
|
|
893
894
|
target?: "_self" | "_blank" | undefined;
|
|
895
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
894
896
|
actionId?: string | undefined;
|
|
895
897
|
}[];
|
|
896
898
|
tagline?: string | undefined;
|
|
@@ -1207,15 +1209,15 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1207
1209
|
actionId: z.ZodOptional<z.ZodString>;
|
|
1208
1210
|
}, "strict", z.ZodTypeAny, {
|
|
1209
1211
|
label: string;
|
|
1210
|
-
variant: "primary" | "secondary" | "ghost";
|
|
1211
1212
|
target: "_self" | "_blank";
|
|
1213
|
+
variant: "primary" | "secondary" | "ghost";
|
|
1212
1214
|
href?: string | undefined;
|
|
1213
1215
|
actionId?: string | undefined;
|
|
1214
1216
|
}, {
|
|
1215
1217
|
label: string;
|
|
1216
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1217
1218
|
href?: string | undefined;
|
|
1218
1219
|
target?: "_self" | "_blank" | undefined;
|
|
1220
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1219
1221
|
actionId?: string | undefined;
|
|
1220
1222
|
}>, "many">;
|
|
1221
1223
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -1522,8 +1524,8 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1522
1524
|
id: string;
|
|
1523
1525
|
ctas: {
|
|
1524
1526
|
label: string;
|
|
1525
|
-
variant: "primary" | "secondary" | "ghost";
|
|
1526
1527
|
target: "_self" | "_blank";
|
|
1528
|
+
variant: "primary" | "secondary" | "ghost";
|
|
1527
1529
|
href?: string | undefined;
|
|
1528
1530
|
actionId?: string | undefined;
|
|
1529
1531
|
}[];
|
|
@@ -1646,9 +1648,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1646
1648
|
id: string;
|
|
1647
1649
|
ctas: {
|
|
1648
1650
|
label: string;
|
|
1649
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1650
1651
|
href?: string | undefined;
|
|
1651
1652
|
target?: "_self" | "_blank" | undefined;
|
|
1653
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1652
1654
|
actionId?: string | undefined;
|
|
1653
1655
|
}[];
|
|
1654
1656
|
tagline?: string | undefined;
|
|
@@ -1792,8 +1794,8 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1792
1794
|
id: string;
|
|
1793
1795
|
ctas: {
|
|
1794
1796
|
label: string;
|
|
1795
|
-
variant: "primary" | "secondary" | "ghost";
|
|
1796
1797
|
target: "_self" | "_blank";
|
|
1798
|
+
variant: "primary" | "secondary" | "ghost";
|
|
1797
1799
|
href?: string | undefined;
|
|
1798
1800
|
actionId?: string | undefined;
|
|
1799
1801
|
}[];
|
|
@@ -1926,9 +1928,9 @@ export declare const comparisonSchema: z.ZodObject<{
|
|
|
1926
1928
|
id: string;
|
|
1927
1929
|
ctas: {
|
|
1928
1930
|
label: string;
|
|
1929
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1930
1931
|
href?: string | undefined;
|
|
1931
1932
|
target?: "_self" | "_blank" | undefined;
|
|
1933
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
1932
1934
|
actionId?: string | undefined;
|
|
1933
1935
|
}[];
|
|
1934
1936
|
tagline?: string | undefined;
|
|
@@ -2222,15 +2224,15 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2222
2224
|
actionId: z.ZodOptional<z.ZodString>;
|
|
2223
2225
|
}, "strict", z.ZodTypeAny, {
|
|
2224
2226
|
label: string;
|
|
2225
|
-
variant: "primary" | "secondary" | "ghost";
|
|
2226
2227
|
target: "_self" | "_blank";
|
|
2228
|
+
variant: "primary" | "secondary" | "ghost";
|
|
2227
2229
|
href?: string | undefined;
|
|
2228
2230
|
actionId?: string | undefined;
|
|
2229
2231
|
}, {
|
|
2230
2232
|
label: string;
|
|
2231
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2232
2233
|
href?: string | undefined;
|
|
2233
2234
|
target?: "_self" | "_blank" | undefined;
|
|
2235
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2234
2236
|
actionId?: string | undefined;
|
|
2235
2237
|
}>, "many">;
|
|
2236
2238
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -2537,8 +2539,8 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2537
2539
|
id: string;
|
|
2538
2540
|
ctas: {
|
|
2539
2541
|
label: string;
|
|
2540
|
-
variant: "primary" | "secondary" | "ghost";
|
|
2541
2542
|
target: "_self" | "_blank";
|
|
2543
|
+
variant: "primary" | "secondary" | "ghost";
|
|
2542
2544
|
href?: string | undefined;
|
|
2543
2545
|
actionId?: string | undefined;
|
|
2544
2546
|
}[];
|
|
@@ -2661,9 +2663,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2661
2663
|
id: string;
|
|
2662
2664
|
ctas: {
|
|
2663
2665
|
label: string;
|
|
2664
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2665
2666
|
href?: string | undefined;
|
|
2666
2667
|
target?: "_self" | "_blank" | undefined;
|
|
2668
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2667
2669
|
actionId?: string | undefined;
|
|
2668
2670
|
}[];
|
|
2669
2671
|
tagline?: string | undefined;
|
|
@@ -2789,8 +2791,8 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2789
2791
|
id: string;
|
|
2790
2792
|
ctas: {
|
|
2791
2793
|
label: string;
|
|
2792
|
-
variant: "primary" | "secondary" | "ghost";
|
|
2793
2794
|
target: "_self" | "_blank";
|
|
2795
|
+
variant: "primary" | "secondary" | "ghost";
|
|
2794
2796
|
href?: string | undefined;
|
|
2795
2797
|
actionId?: string | undefined;
|
|
2796
2798
|
}[];
|
|
@@ -2917,9 +2919,9 @@ export declare const heroSchema: z.ZodObject<{
|
|
|
2917
2919
|
id: string;
|
|
2918
2920
|
ctas: {
|
|
2919
2921
|
label: string;
|
|
2920
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2921
2922
|
href?: string | undefined;
|
|
2922
2923
|
target?: "_self" | "_blank" | undefined;
|
|
2924
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
2923
2925
|
actionId?: string | undefined;
|
|
2924
2926
|
}[];
|
|
2925
2927
|
tagline?: string | undefined;
|
|
@@ -3207,15 +3209,15 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3207
3209
|
actionId: z.ZodOptional<z.ZodString>;
|
|
3208
3210
|
}, "strict", z.ZodTypeAny, {
|
|
3209
3211
|
label: string;
|
|
3210
|
-
variant: "primary" | "secondary" | "ghost";
|
|
3211
3212
|
target: "_self" | "_blank";
|
|
3213
|
+
variant: "primary" | "secondary" | "ghost";
|
|
3212
3214
|
href?: string | undefined;
|
|
3213
3215
|
actionId?: string | undefined;
|
|
3214
3216
|
}, {
|
|
3215
3217
|
label: string;
|
|
3216
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3217
3218
|
href?: string | undefined;
|
|
3218
3219
|
target?: "_self" | "_blank" | undefined;
|
|
3220
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3219
3221
|
actionId?: string | undefined;
|
|
3220
3222
|
}>, "many">;
|
|
3221
3223
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -3522,8 +3524,8 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3522
3524
|
id: string;
|
|
3523
3525
|
ctas: {
|
|
3524
3526
|
label: string;
|
|
3525
|
-
variant: "primary" | "secondary" | "ghost";
|
|
3526
3527
|
target: "_self" | "_blank";
|
|
3528
|
+
variant: "primary" | "secondary" | "ghost";
|
|
3527
3529
|
href?: string | undefined;
|
|
3528
3530
|
actionId?: string | undefined;
|
|
3529
3531
|
}[];
|
|
@@ -3646,9 +3648,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3646
3648
|
id: string;
|
|
3647
3649
|
ctas: {
|
|
3648
3650
|
label: string;
|
|
3649
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3650
3651
|
href?: string | undefined;
|
|
3651
3652
|
target?: "_self" | "_blank" | undefined;
|
|
3653
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3652
3654
|
actionId?: string | undefined;
|
|
3653
3655
|
}[];
|
|
3654
3656
|
tagline?: string | undefined;
|
|
@@ -3774,8 +3776,8 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3774
3776
|
id: string;
|
|
3775
3777
|
ctas: {
|
|
3776
3778
|
label: string;
|
|
3777
|
-
variant: "primary" | "secondary" | "ghost";
|
|
3778
3779
|
target: "_self" | "_blank";
|
|
3780
|
+
variant: "primary" | "secondary" | "ghost";
|
|
3779
3781
|
href?: string | undefined;
|
|
3780
3782
|
actionId?: string | undefined;
|
|
3781
3783
|
}[];
|
|
@@ -3902,9 +3904,9 @@ export declare const gridSchema: z.ZodObject<{
|
|
|
3902
3904
|
id: string;
|
|
3903
3905
|
ctas: {
|
|
3904
3906
|
label: string;
|
|
3905
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3906
3907
|
href?: string | undefined;
|
|
3907
3908
|
target?: "_self" | "_blank" | undefined;
|
|
3909
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
3908
3910
|
actionId?: string | undefined;
|
|
3909
3911
|
}[];
|
|
3910
3912
|
tagline?: string | undefined;
|
|
@@ -4014,13 +4016,13 @@ export declare const recoItemSchema: z.ZodObject<{
|
|
|
4014
4016
|
pdp_href: z.ZodString;
|
|
4015
4017
|
}, "strip", z.ZodTypeAny, {
|
|
4016
4018
|
pdp_href: string;
|
|
4017
|
-
image_url?: string | null | undefined;
|
|
4018
4019
|
price?: string | null | undefined;
|
|
4020
|
+
image_url?: string | null | undefined;
|
|
4019
4021
|
hook?: string | null | undefined;
|
|
4020
4022
|
}, {
|
|
4021
4023
|
pdp_href: string;
|
|
4022
|
-
image_url?: string | null | undefined;
|
|
4023
4024
|
price?: string | null | undefined;
|
|
4025
|
+
image_url?: string | null | undefined;
|
|
4024
4026
|
hook?: string | null | undefined;
|
|
4025
4027
|
}>;
|
|
4026
4028
|
export declare const recoSchema: z.ZodObject<{
|
|
@@ -4031,27 +4033,27 @@ export declare const recoSchema: z.ZodObject<{
|
|
|
4031
4033
|
pdp_href: z.ZodString;
|
|
4032
4034
|
}, "strip", z.ZodTypeAny, {
|
|
4033
4035
|
pdp_href: string;
|
|
4034
|
-
image_url?: string | null | undefined;
|
|
4035
4036
|
price?: string | null | undefined;
|
|
4037
|
+
image_url?: string | null | undefined;
|
|
4036
4038
|
hook?: string | null | undefined;
|
|
4037
4039
|
}, {
|
|
4038
4040
|
pdp_href: string;
|
|
4039
|
-
image_url?: string | null | undefined;
|
|
4040
4041
|
price?: string | null | undefined;
|
|
4042
|
+
image_url?: string | null | undefined;
|
|
4041
4043
|
hook?: string | null | undefined;
|
|
4042
4044
|
}>, "many">>;
|
|
4043
4045
|
}, "strip", z.ZodTypeAny, {
|
|
4044
4046
|
items: {
|
|
4045
4047
|
pdp_href: string;
|
|
4046
|
-
image_url?: string | null | undefined;
|
|
4047
4048
|
price?: string | null | undefined;
|
|
4049
|
+
image_url?: string | null | undefined;
|
|
4048
4050
|
hook?: string | null | undefined;
|
|
4049
4051
|
}[];
|
|
4050
4052
|
}, {
|
|
4051
4053
|
items?: {
|
|
4052
4054
|
pdp_href: string;
|
|
4053
|
-
image_url?: string | null | undefined;
|
|
4054
4055
|
price?: string | null | undefined;
|
|
4056
|
+
image_url?: string | null | undefined;
|
|
4055
4057
|
hook?: string | null | undefined;
|
|
4056
4058
|
}[] | undefined;
|
|
4057
4059
|
}>;
|
|
@@ -4249,15 +4251,15 @@ export declare const tileWidgets: readonly [{
|
|
|
4249
4251
|
actionId: z.ZodOptional<z.ZodString>;
|
|
4250
4252
|
}, "strict", z.ZodTypeAny, {
|
|
4251
4253
|
label: string;
|
|
4252
|
-
variant: "primary" | "secondary" | "ghost";
|
|
4253
4254
|
target: "_self" | "_blank";
|
|
4255
|
+
variant: "primary" | "secondary" | "ghost";
|
|
4254
4256
|
href?: string | undefined;
|
|
4255
4257
|
actionId?: string | undefined;
|
|
4256
4258
|
}, {
|
|
4257
4259
|
label: string;
|
|
4258
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4259
4260
|
href?: string | undefined;
|
|
4260
4261
|
target?: "_self" | "_blank" | undefined;
|
|
4262
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4261
4263
|
actionId?: string | undefined;
|
|
4262
4264
|
}>, "many">;
|
|
4263
4265
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -4564,8 +4566,8 @@ export declare const tileWidgets: readonly [{
|
|
|
4564
4566
|
id: string;
|
|
4565
4567
|
ctas: {
|
|
4566
4568
|
label: string;
|
|
4567
|
-
variant: "primary" | "secondary" | "ghost";
|
|
4568
4569
|
target: "_self" | "_blank";
|
|
4570
|
+
variant: "primary" | "secondary" | "ghost";
|
|
4569
4571
|
href?: string | undefined;
|
|
4570
4572
|
actionId?: string | undefined;
|
|
4571
4573
|
}[];
|
|
@@ -4688,9 +4690,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4688
4690
|
id: string;
|
|
4689
4691
|
ctas: {
|
|
4690
4692
|
label: string;
|
|
4691
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4692
4693
|
href?: string | undefined;
|
|
4693
4694
|
target?: "_self" | "_blank" | undefined;
|
|
4695
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4694
4696
|
actionId?: string | undefined;
|
|
4695
4697
|
}[];
|
|
4696
4698
|
tagline?: string | undefined;
|
|
@@ -4823,8 +4825,8 @@ export declare const tileWidgets: readonly [{
|
|
|
4823
4825
|
id: string;
|
|
4824
4826
|
ctas: {
|
|
4825
4827
|
label: string;
|
|
4826
|
-
variant: "primary" | "secondary" | "ghost";
|
|
4827
4828
|
target: "_self" | "_blank";
|
|
4829
|
+
variant: "primary" | "secondary" | "ghost";
|
|
4828
4830
|
href?: string | undefined;
|
|
4829
4831
|
actionId?: string | undefined;
|
|
4830
4832
|
}[];
|
|
@@ -4951,9 +4953,9 @@ export declare const tileWidgets: readonly [{
|
|
|
4951
4953
|
id: string;
|
|
4952
4954
|
ctas: {
|
|
4953
4955
|
label: string;
|
|
4954
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4955
4956
|
href?: string | undefined;
|
|
4956
4957
|
target?: "_self" | "_blank" | undefined;
|
|
4958
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
4957
4959
|
actionId?: string | undefined;
|
|
4958
4960
|
}[];
|
|
4959
4961
|
tagline?: string | undefined;
|
|
@@ -5244,15 +5246,15 @@ export declare const tileWidgets: readonly [{
|
|
|
5244
5246
|
actionId: z.ZodOptional<z.ZodString>;
|
|
5245
5247
|
}, "strict", z.ZodTypeAny, {
|
|
5246
5248
|
label: string;
|
|
5247
|
-
variant: "primary" | "secondary" | "ghost";
|
|
5248
5249
|
target: "_self" | "_blank";
|
|
5250
|
+
variant: "primary" | "secondary" | "ghost";
|
|
5249
5251
|
href?: string | undefined;
|
|
5250
5252
|
actionId?: string | undefined;
|
|
5251
5253
|
}, {
|
|
5252
5254
|
label: string;
|
|
5253
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5254
5255
|
href?: string | undefined;
|
|
5255
5256
|
target?: "_self" | "_blank" | undefined;
|
|
5257
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5256
5258
|
actionId?: string | undefined;
|
|
5257
5259
|
}>, "many">;
|
|
5258
5260
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -5559,8 +5561,8 @@ export declare const tileWidgets: readonly [{
|
|
|
5559
5561
|
id: string;
|
|
5560
5562
|
ctas: {
|
|
5561
5563
|
label: string;
|
|
5562
|
-
variant: "primary" | "secondary" | "ghost";
|
|
5563
5564
|
target: "_self" | "_blank";
|
|
5565
|
+
variant: "primary" | "secondary" | "ghost";
|
|
5564
5566
|
href?: string | undefined;
|
|
5565
5567
|
actionId?: string | undefined;
|
|
5566
5568
|
}[];
|
|
@@ -5683,9 +5685,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5683
5685
|
id: string;
|
|
5684
5686
|
ctas: {
|
|
5685
5687
|
label: string;
|
|
5686
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5687
5688
|
href?: string | undefined;
|
|
5688
5689
|
target?: "_self" | "_blank" | undefined;
|
|
5690
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5689
5691
|
actionId?: string | undefined;
|
|
5690
5692
|
}[];
|
|
5691
5693
|
tagline?: string | undefined;
|
|
@@ -5829,8 +5831,8 @@ export declare const tileWidgets: readonly [{
|
|
|
5829
5831
|
id: string;
|
|
5830
5832
|
ctas: {
|
|
5831
5833
|
label: string;
|
|
5832
|
-
variant: "primary" | "secondary" | "ghost";
|
|
5833
5834
|
target: "_self" | "_blank";
|
|
5835
|
+
variant: "primary" | "secondary" | "ghost";
|
|
5834
5836
|
href?: string | undefined;
|
|
5835
5837
|
actionId?: string | undefined;
|
|
5836
5838
|
}[];
|
|
@@ -5963,9 +5965,9 @@ export declare const tileWidgets: readonly [{
|
|
|
5963
5965
|
id: string;
|
|
5964
5966
|
ctas: {
|
|
5965
5967
|
label: string;
|
|
5966
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5967
5968
|
href?: string | undefined;
|
|
5968
5969
|
target?: "_self" | "_blank" | undefined;
|
|
5970
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
5969
5971
|
actionId?: string | undefined;
|
|
5970
5972
|
}[];
|
|
5971
5973
|
tagline?: string | undefined;
|
|
@@ -6262,15 +6264,15 @@ export declare const tileWidgets: readonly [{
|
|
|
6262
6264
|
actionId: z.ZodOptional<z.ZodString>;
|
|
6263
6265
|
}, "strict", z.ZodTypeAny, {
|
|
6264
6266
|
label: string;
|
|
6265
|
-
variant: "primary" | "secondary" | "ghost";
|
|
6266
6267
|
target: "_self" | "_blank";
|
|
6268
|
+
variant: "primary" | "secondary" | "ghost";
|
|
6267
6269
|
href?: string | undefined;
|
|
6268
6270
|
actionId?: string | undefined;
|
|
6269
6271
|
}, {
|
|
6270
6272
|
label: string;
|
|
6271
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6272
6273
|
href?: string | undefined;
|
|
6273
6274
|
target?: "_self" | "_blank" | undefined;
|
|
6275
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6274
6276
|
actionId?: string | undefined;
|
|
6275
6277
|
}>, "many">;
|
|
6276
6278
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -6577,8 +6579,8 @@ export declare const tileWidgets: readonly [{
|
|
|
6577
6579
|
id: string;
|
|
6578
6580
|
ctas: {
|
|
6579
6581
|
label: string;
|
|
6580
|
-
variant: "primary" | "secondary" | "ghost";
|
|
6581
6582
|
target: "_self" | "_blank";
|
|
6583
|
+
variant: "primary" | "secondary" | "ghost";
|
|
6582
6584
|
href?: string | undefined;
|
|
6583
6585
|
actionId?: string | undefined;
|
|
6584
6586
|
}[];
|
|
@@ -6701,9 +6703,9 @@ export declare const tileWidgets: readonly [{
|
|
|
6701
6703
|
id: string;
|
|
6702
6704
|
ctas: {
|
|
6703
6705
|
label: string;
|
|
6704
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6705
6706
|
href?: string | undefined;
|
|
6706
6707
|
target?: "_self" | "_blank" | undefined;
|
|
6708
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6707
6709
|
actionId?: string | undefined;
|
|
6708
6710
|
}[];
|
|
6709
6711
|
tagline?: string | undefined;
|
|
@@ -6829,8 +6831,8 @@ export declare const tileWidgets: readonly [{
|
|
|
6829
6831
|
id: string;
|
|
6830
6832
|
ctas: {
|
|
6831
6833
|
label: string;
|
|
6832
|
-
variant: "primary" | "secondary" | "ghost";
|
|
6833
6834
|
target: "_self" | "_blank";
|
|
6835
|
+
variant: "primary" | "secondary" | "ghost";
|
|
6834
6836
|
href?: string | undefined;
|
|
6835
6837
|
actionId?: string | undefined;
|
|
6836
6838
|
}[];
|
|
@@ -6957,9 +6959,9 @@ export declare const tileWidgets: readonly [{
|
|
|
6957
6959
|
id: string;
|
|
6958
6960
|
ctas: {
|
|
6959
6961
|
label: string;
|
|
6960
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6961
6962
|
href?: string | undefined;
|
|
6962
6963
|
target?: "_self" | "_blank" | undefined;
|
|
6964
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
6963
6965
|
actionId?: string | undefined;
|
|
6964
6966
|
}[];
|
|
6965
6967
|
tagline?: string | undefined;
|
|
@@ -7250,15 +7252,15 @@ export declare const tileWidgets: readonly [{
|
|
|
7250
7252
|
actionId: z.ZodOptional<z.ZodString>;
|
|
7251
7253
|
}, "strict", z.ZodTypeAny, {
|
|
7252
7254
|
label: string;
|
|
7253
|
-
variant: "primary" | "secondary" | "ghost";
|
|
7254
7255
|
target: "_self" | "_blank";
|
|
7256
|
+
variant: "primary" | "secondary" | "ghost";
|
|
7255
7257
|
href?: string | undefined;
|
|
7256
7258
|
actionId?: string | undefined;
|
|
7257
7259
|
}, {
|
|
7258
7260
|
label: string;
|
|
7259
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7260
7261
|
href?: string | undefined;
|
|
7261
7262
|
target?: "_self" | "_blank" | undefined;
|
|
7263
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7262
7264
|
actionId?: string | undefined;
|
|
7263
7265
|
}>, "many">;
|
|
7264
7266
|
identifiers: z.ZodOptional<z.ZodObject<{
|
|
@@ -7565,8 +7567,8 @@ export declare const tileWidgets: readonly [{
|
|
|
7565
7567
|
id: string;
|
|
7566
7568
|
ctas: {
|
|
7567
7569
|
label: string;
|
|
7568
|
-
variant: "primary" | "secondary" | "ghost";
|
|
7569
7570
|
target: "_self" | "_blank";
|
|
7571
|
+
variant: "primary" | "secondary" | "ghost";
|
|
7570
7572
|
href?: string | undefined;
|
|
7571
7573
|
actionId?: string | undefined;
|
|
7572
7574
|
}[];
|
|
@@ -7689,9 +7691,9 @@ export declare const tileWidgets: readonly [{
|
|
|
7689
7691
|
id: string;
|
|
7690
7692
|
ctas: {
|
|
7691
7693
|
label: string;
|
|
7692
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7693
7694
|
href?: string | undefined;
|
|
7694
7695
|
target?: "_self" | "_blank" | undefined;
|
|
7696
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7695
7697
|
actionId?: string | undefined;
|
|
7696
7698
|
}[];
|
|
7697
7699
|
tagline?: string | undefined;
|
|
@@ -7817,8 +7819,8 @@ export declare const tileWidgets: readonly [{
|
|
|
7817
7819
|
id: string;
|
|
7818
7820
|
ctas: {
|
|
7819
7821
|
label: string;
|
|
7820
|
-
variant: "primary" | "secondary" | "ghost";
|
|
7821
7822
|
target: "_self" | "_blank";
|
|
7823
|
+
variant: "primary" | "secondary" | "ghost";
|
|
7822
7824
|
href?: string | undefined;
|
|
7823
7825
|
actionId?: string | undefined;
|
|
7824
7826
|
}[];
|
|
@@ -7945,9 +7947,9 @@ export declare const tileWidgets: readonly [{
|
|
|
7945
7947
|
id: string;
|
|
7946
7948
|
ctas: {
|
|
7947
7949
|
label: string;
|
|
7948
|
-
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7949
7950
|
href?: string | undefined;
|
|
7950
7951
|
target?: "_self" | "_blank" | undefined;
|
|
7952
|
+
variant?: "primary" | "secondary" | "ghost" | undefined;
|
|
7951
7953
|
actionId?: string | undefined;
|
|
7952
7954
|
}[];
|
|
7953
7955
|
tagline?: string | undefined;
|
|
@@ -8061,30 +8063,105 @@ export declare const tileWidgets: readonly [{
|
|
|
8061
8063
|
pdp_href: z.ZodString;
|
|
8062
8064
|
}, "strip", z.ZodTypeAny, {
|
|
8063
8065
|
pdp_href: string;
|
|
8064
|
-
image_url?: string | null | undefined;
|
|
8065
8066
|
price?: string | null | undefined;
|
|
8067
|
+
image_url?: string | null | undefined;
|
|
8066
8068
|
hook?: string | null | undefined;
|
|
8067
8069
|
}, {
|
|
8068
8070
|
pdp_href: string;
|
|
8069
|
-
image_url?: string | null | undefined;
|
|
8070
8071
|
price?: string | null | undefined;
|
|
8072
|
+
image_url?: string | null | undefined;
|
|
8071
8073
|
hook?: string | null | undefined;
|
|
8072
8074
|
}>, "many">>;
|
|
8073
8075
|
}, "strip", z.ZodTypeAny, {
|
|
8074
8076
|
items: {
|
|
8075
8077
|
pdp_href: string;
|
|
8076
|
-
image_url?: string | null | undefined;
|
|
8077
8078
|
price?: string | null | undefined;
|
|
8079
|
+
image_url?: string | null | undefined;
|
|
8078
8080
|
hook?: string | null | undefined;
|
|
8079
8081
|
}[];
|
|
8080
8082
|
}, {
|
|
8081
8083
|
items?: {
|
|
8082
8084
|
pdp_href: string;
|
|
8083
|
-
image_url?: string | null | undefined;
|
|
8084
8085
|
price?: string | null | undefined;
|
|
8086
|
+
image_url?: string | null | undefined;
|
|
8085
8087
|
hook?: string | null | undefined;
|
|
8086
8088
|
}[] | undefined;
|
|
8087
8089
|
}>;
|
|
8090
|
+
}, {
|
|
8091
|
+
readonly widget: "adaptive-product:pdp";
|
|
8092
|
+
readonly defName: "syntroPdpProps";
|
|
8093
|
+
readonly propsSchema: z.ZodObject<{
|
|
8094
|
+
productId: z.ZodString;
|
|
8095
|
+
productName: z.ZodString;
|
|
8096
|
+
productBlurb: z.ZodOptional<z.ZodString>;
|
|
8097
|
+
takeover: z.ZodOptional<z.ZodObject<{
|
|
8098
|
+
boundaryAnchor: z.ZodString;
|
|
8099
|
+
hostSections: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
8100
|
+
id: z.ZodString;
|
|
8101
|
+
anchor: z.ZodString;
|
|
8102
|
+
role: z.ZodString;
|
|
8103
|
+
}, "strict", z.ZodTypeAny, {
|
|
8104
|
+
id: string;
|
|
8105
|
+
anchor: string;
|
|
8106
|
+
role: string;
|
|
8107
|
+
}, {
|
|
8108
|
+
id: string;
|
|
8109
|
+
anchor: string;
|
|
8110
|
+
role: string;
|
|
8111
|
+
}>, "many">, {
|
|
8112
|
+
id: string;
|
|
8113
|
+
anchor: string;
|
|
8114
|
+
role: string;
|
|
8115
|
+
}[], {
|
|
8116
|
+
id: string;
|
|
8117
|
+
anchor: string;
|
|
8118
|
+
role: string;
|
|
8119
|
+
}[]>;
|
|
8120
|
+
ingestSnapshot: z.ZodString;
|
|
8121
|
+
}, "strict", z.ZodTypeAny, {
|
|
8122
|
+
boundaryAnchor: string;
|
|
8123
|
+
hostSections: {
|
|
8124
|
+
id: string;
|
|
8125
|
+
anchor: string;
|
|
8126
|
+
role: string;
|
|
8127
|
+
}[];
|
|
8128
|
+
ingestSnapshot: string;
|
|
8129
|
+
}, {
|
|
8130
|
+
boundaryAnchor: string;
|
|
8131
|
+
hostSections: {
|
|
8132
|
+
id: string;
|
|
8133
|
+
anchor: string;
|
|
8134
|
+
role: string;
|
|
8135
|
+
}[];
|
|
8136
|
+
ingestSnapshot: string;
|
|
8137
|
+
}>>;
|
|
8138
|
+
}, "strict", z.ZodTypeAny, {
|
|
8139
|
+
productId: string;
|
|
8140
|
+
productName: string;
|
|
8141
|
+
productBlurb?: string | undefined;
|
|
8142
|
+
takeover?: {
|
|
8143
|
+
boundaryAnchor: string;
|
|
8144
|
+
hostSections: {
|
|
8145
|
+
id: string;
|
|
8146
|
+
anchor: string;
|
|
8147
|
+
role: string;
|
|
8148
|
+
}[];
|
|
8149
|
+
ingestSnapshot: string;
|
|
8150
|
+
} | undefined;
|
|
8151
|
+
}, {
|
|
8152
|
+
productId: string;
|
|
8153
|
+
productName: string;
|
|
8154
|
+
productBlurb?: string | undefined;
|
|
8155
|
+
takeover?: {
|
|
8156
|
+
boundaryAnchor: string;
|
|
8157
|
+
hostSections: {
|
|
8158
|
+
id: string;
|
|
8159
|
+
anchor: string;
|
|
8160
|
+
role: string;
|
|
8161
|
+
}[];
|
|
8162
|
+
ingestSnapshot: string;
|
|
8163
|
+
} | undefined;
|
|
8164
|
+
}>;
|
|
8088
8165
|
}];
|
|
8089
8166
|
export declare const CAPABILITIES_DOCUMENTATION: {
|
|
8090
8167
|
packageId: string;
|
|
@@ -8111,5 +8188,13 @@ export interface SyntroPdpProps {
|
|
|
8111
8188
|
productName: string;
|
|
8112
8189
|
/** Optional short product blurb passed verbatim into the planner. */
|
|
8113
8190
|
productBlurb?: string;
|
|
8191
|
+
/**
|
|
8192
|
+
* Page-takeover anatomy (FEAT-1785977524). Presence switches `<syntro-pdp>`
|
|
8193
|
+
* from the fixed six-slot compose path to the takeover engine
|
|
8194
|
+
* (`takeover/engine.ts`): one `/api/pdp/plan` round trip scores the visitor
|
|
8195
|
+
* and returns the server-resolved section plan. Mirrors
|
|
8196
|
+
* `syntroPdpPropsSchema` in `takeover/schema.ts`; keep the two in sync.
|
|
8197
|
+
*/
|
|
8198
|
+
takeover?: PdpTakeoverConfig;
|
|
8114
8199
|
}
|
|
8115
8200
|
//# sourceMappingURL=schema.d.ts.map
|