@rebuy/rebuy 2.2.0-rc.6 → 2.2.0-rc.8
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/index.js +39 -39
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +39 -39
- package/dist/index.mjs.map +2 -2
- package/dist/schema/button.d.ts +36 -36
- package/dist/schema/button.d.ts.map +1 -1
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/data-source.d.ts +1 -1
- package/dist/schema/data-source.d.ts.map +1 -1
- package/dist/schema/image.d.ts +3 -3
- package/dist/schema/image.d.ts.map +1 -1
- package/dist/schema/layout.d.ts +4 -4
- package/dist/schema/layout.d.ts.map +1 -1
- package/dist/schema/offers.d.ts +5 -5
- package/dist/schema/offers.d.ts.map +1 -1
- package/dist/schema/product.d.ts +21 -23
- package/dist/schema/product.d.ts.map +1 -1
- package/dist/schema/products.d.ts +23 -23
- package/dist/schema/products.d.ts.map +1 -1
- package/dist/schema/quantity.d.ts +2 -2
- package/dist/schema/quantity.d.ts.map +1 -1
- package/dist/schema/reviews.d.ts +1 -1
- package/dist/schema/reviews.d.ts.map +1 -1
- package/dist/schema/root.d.ts +5 -5
- package/dist/schema/root.d.ts.map +1 -1
- package/dist/schema/shared.d.ts +1 -1
- package/dist/schema/shared.d.ts.map +1 -1
- package/dist/schema/subscription.d.ts +1 -1
- package/dist/schema/subscription.d.ts.map +1 -1
- package/dist/schema/table.d.ts +1 -1
- package/dist/schema/table.d.ts.map +1 -1
- package/dist/schema/text.d.ts +43 -43
- package/dist/schema/text.d.ts.map +1 -1
- package/dist/schema/utils.d.ts.map +1 -1
- package/dist/schema/variants.d.ts +1 -1
- package/dist/schema/variants.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schema/root.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
21
21
|
middle: "middle";
|
|
22
22
|
bottom: "bottom";
|
|
23
23
|
}>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
26
26
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
27
27
|
small: "small";
|
|
28
28
|
none: "none";
|
|
@@ -41,7 +41,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
41
41
|
medium: "medium";
|
|
42
42
|
thick: "thick";
|
|
43
43
|
}>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$strip>>>;
|
|
45
45
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
46
46
|
columns: "columns";
|
|
47
47
|
rows: "rows";
|
|
@@ -87,7 +87,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
87
87
|
icon: z.ZodString;
|
|
88
88
|
label: z.ZodString;
|
|
89
89
|
width: z.ZodString;
|
|
90
|
-
}, z.core.$
|
|
90
|
+
}, z.core.$strip>>>;
|
|
91
91
|
type: z.ZodDefault<z.ZodEnum<{
|
|
92
92
|
product: "product";
|
|
93
93
|
bundle_builder: "bundle_builder";
|
|
@@ -114,7 +114,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
114
114
|
}>>;
|
|
115
115
|
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
116
116
|
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
117
|
-
}, z.core.$
|
|
117
|
+
}, z.core.$strip>;
|
|
118
118
|
export type CABRootSection = CABLayoutSection & {
|
|
119
119
|
editorMode: EditorMode;
|
|
120
120
|
previewMode: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/schema/root.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/schema/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AACnD,OAAO,EAAe,UAAU,EAAe,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
package/dist/schema/shared.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const CABBorder: z.ZodDefault<z.ZodObject<{
|
|
|
33
33
|
medium: "medium";
|
|
34
34
|
thick: "thick";
|
|
35
35
|
}>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
37
|
export type CABBorder = z.infer<typeof CABBorder>;
|
|
38
38
|
export declare const CABSection: ZodType<CABSection>;
|
|
39
39
|
export type CABSection = CABButtonSection | CABDataSourceSection | CABImageSection | CABLayoutSection | CABOffersSection | CABProductSection | CABProductsSection | CABQuantitySection | CABReviewsSection | CABSubscriptionSection | CABTableSection | CABTextSection | CABVariantsSection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/schema/shared.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/schema/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;kBAUhB,CAAC;AAEP,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,UAAU,CAgB1C,CAAC;AAEF,MAAM,MAAM,UAAU,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,sBAAsB,GACtB,eAAe,GACf,cAAc,GACd,kBAAkB,CAAC;AAEzB,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;AAGhD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,GAAG,gBAAgB,IAAI,MAAM,EAAE,GAAG,IAAI,CAAC;AAEvE,MAAM,MAAM,cAAc,GAAG;IACzB;;;;;OAKG;IACH,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC;;;;;OAKG;IACH,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const CABSubscriptionSection: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"subscription">>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$strip>;
|
|
8
8
|
export type CABSubscriptionSection = z.infer<typeof CABSubscriptionSection>;
|
|
9
9
|
export type CABSubscriptionSectionProps = CABSubscriptionSection & SectionDetails;
|
|
10
10
|
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/schema/subscription.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/schema/subscription.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG,cAAc,CAAC"}
|
package/dist/schema/table.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const CABTableSection: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"table">>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$strip>;
|
|
8
8
|
export type CABTableSection = z.infer<typeof CABTableSection>;
|
|
9
9
|
export type CABTableSectionProps = CABTableSection & SectionDetails;
|
|
10
10
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;iBAI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
|
package/dist/schema/text.d.ts
CHANGED
|
@@ -3,98 +3,98 @@ import { type SectionDetails } from './shared';
|
|
|
3
3
|
export declare const TiptapText: z.ZodObject<{
|
|
4
4
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
5
|
type: z.ZodLiteral<"bold">;
|
|
6
|
-
}, z.core.$
|
|
6
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
type: z.ZodLiteral<"italic">;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
9
|
attrs: z.ZodObject<{
|
|
10
10
|
class: z.ZodNullable<z.ZodString>;
|
|
11
11
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
12
12
|
rel: z.ZodDefault<z.ZodString>;
|
|
13
13
|
target: z.ZodDefault<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strip>;
|
|
15
15
|
type: z.ZodLiteral<"link">;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"strike">;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
19
|
attrs: z.ZodObject<{
|
|
20
20
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
21
21
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$strip>;
|
|
23
23
|
type: z.ZodLiteral<"textStyle">;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$strip>]>>>;
|
|
25
25
|
text: z.ZodDefault<z.ZodString>;
|
|
26
26
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$strip>;
|
|
28
28
|
export type TiptapText = z.infer<typeof TiptapText>;
|
|
29
29
|
export declare const TiptapParagraph: z.ZodObject<{
|
|
30
30
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
31
31
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
33
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
34
34
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
35
|
type: z.ZodLiteral<"bold">;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
37
|
type: z.ZodLiteral<"italic">;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
39
|
attrs: z.ZodObject<{
|
|
40
40
|
class: z.ZodNullable<z.ZodString>;
|
|
41
41
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
42
42
|
rel: z.ZodDefault<z.ZodString>;
|
|
43
43
|
target: z.ZodDefault<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$strip>;
|
|
45
45
|
type: z.ZodLiteral<"link">;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
47
|
type: z.ZodLiteral<"strike">;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
attrs: z.ZodObject<{
|
|
50
50
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
51
51
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$strip>;
|
|
53
53
|
type: z.ZodLiteral<"textStyle">;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$strip>]>>>;
|
|
55
55
|
text: z.ZodDefault<z.ZodString>;
|
|
56
56
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$strip>>>;
|
|
58
58
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$strip>;
|
|
60
60
|
export type TiptapParagraph = z.infer<typeof TiptapParagraph>;
|
|
61
61
|
export declare const TiptapDocument: z.ZodObject<{
|
|
62
62
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
63
63
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
65
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
66
66
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
67
67
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
69
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
70
70
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
71
71
|
type: z.ZodLiteral<"bold">;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
73
|
type: z.ZodLiteral<"italic">;
|
|
74
|
-
}, z.core.$
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
75
|
attrs: z.ZodObject<{
|
|
76
76
|
class: z.ZodNullable<z.ZodString>;
|
|
77
77
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
78
78
|
rel: z.ZodDefault<z.ZodString>;
|
|
79
79
|
target: z.ZodDefault<z.ZodString>;
|
|
80
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$strip>;
|
|
81
81
|
type: z.ZodLiteral<"link">;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
83
|
type: z.ZodLiteral<"strike">;
|
|
84
|
-
}, z.core.$
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
attrs: z.ZodObject<{
|
|
86
86
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
87
87
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
88
|
-
}, z.core.$
|
|
88
|
+
}, z.core.$strip>;
|
|
89
89
|
type: z.ZodLiteral<"textStyle">;
|
|
90
|
-
}, z.core.$
|
|
90
|
+
}, z.core.$strip>]>>>;
|
|
91
91
|
text: z.ZodDefault<z.ZodString>;
|
|
92
92
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
93
|
-
}, z.core.$
|
|
93
|
+
}, z.core.$strip>>>;
|
|
94
94
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
95
|
-
}, z.core.$
|
|
95
|
+
}, z.core.$strip>>>;
|
|
96
96
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
97
|
-
}, z.core.$
|
|
97
|
+
}, z.core.$strip>;
|
|
98
98
|
export type TiptapDocument = z.infer<typeof TiptapDocument>;
|
|
99
99
|
export declare const CABTextSection: z.ZodObject<{
|
|
100
100
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
@@ -119,44 +119,44 @@ export declare const CABTextSection: z.ZodObject<{
|
|
|
119
119
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
120
120
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
121
121
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
122
|
-
}, z.core.$
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
123
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
124
124
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
125
125
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
126
|
-
}, z.core.$
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
127
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
128
128
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
129
|
type: z.ZodLiteral<"bold">;
|
|
130
|
-
}, z.core.$
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
131
|
type: z.ZodLiteral<"italic">;
|
|
132
|
-
}, z.core.$
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
133
|
attrs: z.ZodObject<{
|
|
134
134
|
class: z.ZodNullable<z.ZodString>;
|
|
135
135
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
136
136
|
rel: z.ZodDefault<z.ZodString>;
|
|
137
137
|
target: z.ZodDefault<z.ZodString>;
|
|
138
|
-
}, z.core.$
|
|
138
|
+
}, z.core.$strip>;
|
|
139
139
|
type: z.ZodLiteral<"link">;
|
|
140
|
-
}, z.core.$
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
141
|
type: z.ZodLiteral<"strike">;
|
|
142
|
-
}, z.core.$
|
|
142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
143
143
|
attrs: z.ZodObject<{
|
|
144
144
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
145
145
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
146
|
-
}, z.core.$
|
|
146
|
+
}, z.core.$strip>;
|
|
147
147
|
type: z.ZodLiteral<"textStyle">;
|
|
148
|
-
}, z.core.$
|
|
148
|
+
}, z.core.$strip>]>>>;
|
|
149
149
|
text: z.ZodDefault<z.ZodString>;
|
|
150
150
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
151
|
-
}, z.core.$
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
152
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
153
|
-
}, z.core.$
|
|
153
|
+
}, z.core.$strip>>>;
|
|
154
154
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
155
|
-
}, z.core.$
|
|
155
|
+
}, z.core.$strip>]>>>>>;
|
|
156
156
|
name: z.ZodOptional<z.ZodString>;
|
|
157
157
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
158
158
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
159
|
-
}, z.core.$
|
|
159
|
+
}, z.core.$strip>;
|
|
160
160
|
export type CABTextSection = z.infer<typeof CABTextSection>;
|
|
161
161
|
export type CABTextSectionProps = CABTextSection & SectionDetails;
|
|
162
162
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBA4BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/schema/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/schema/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,eAAO,MAAM,MAAM,GAAI,OAAM,MAAM,GAAG,SAAc,KAAG,OAWtD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,cAAc,KAAG,OACiC,CAAC;AAErF,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,cAAc,KAAG,OAC8C,CAAC;AAE7G,eAAO,MAAM,OAAO;;CAAuC,CAAC;AAE5D,eAAO,MAAM,YAAY,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,gBACL,CAAC;AAEvD,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,oBACL,CAAC;AAE3D,eAAO,MAAM,WAAW,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,eACL,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,gBACL,CAAC;AAEvD,eAAO,MAAM,YAAY,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,gBACL,CAAC;AAEvD,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,iBACL,CAAC;AAExD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC;AAEzD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC;AAEzD,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,iBACL,CAAC;AAExD,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,sBACL,CAAC;AAE7D,eAAO,MAAM,WAAW,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,eACL,CAAC;AAEtD,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,cACL,CAAC;AAErD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const CABVariantsSection: z.ZodObject<{
|
|
|
11
11
|
radio: "radio";
|
|
12
12
|
color: "color";
|
|
13
13
|
}>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strip>;
|
|
15
15
|
export type CABVariantsSection = z.infer<typeof CABVariantsSection>;
|
|
16
16
|
export type CABVariantsSectionProps = CABVariantsSection & SectionDetails;
|
|
17
17
|
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAK7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|