@encatch/schema 1.1.0-beta.11 → 1.1.0-beta.13
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/esm/index.js +2 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +35 -34
- package/dist/types/schemas/fields/app-props-schema.d.ts +18 -17
- package/dist/types/schemas/fields/field-schema.d.ts +35 -35
- package/dist/types/schemas/fields/form-properties-schema.d.ts +19 -17
- package/dist/types/schemas/fields/theme-schema.d.ts +2 -0
- package/package.json +1 -1
|
@@ -279,7 +279,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
279
279
|
center: "center";
|
|
280
280
|
justify: "justify";
|
|
281
281
|
}>>>;
|
|
282
|
-
nextButtonLabel: z.
|
|
282
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
283
283
|
}, z.core.$strip>;
|
|
284
284
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
285
285
|
id: z.ZodString;
|
|
@@ -333,7 +333,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
333
333
|
center: "center";
|
|
334
334
|
justify: "justify";
|
|
335
335
|
}>>>;
|
|
336
|
-
nextButtonLabel: z.
|
|
336
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
337
337
|
type: z.ZodLiteral<"rating">;
|
|
338
338
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
339
339
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -406,7 +406,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
406
406
|
center: "center";
|
|
407
407
|
justify: "justify";
|
|
408
408
|
}>>>;
|
|
409
|
-
nextButtonLabel: z.
|
|
409
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
410
410
|
type: z.ZodLiteral<"annotation">;
|
|
411
411
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
412
412
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -461,7 +461,7 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
461
461
|
center: "center";
|
|
462
462
|
justify: "justify";
|
|
463
463
|
}>>>;
|
|
464
|
-
nextButtonLabel: z.
|
|
464
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
465
465
|
type: z.ZodLiteral<"welcome">;
|
|
466
466
|
title: z.ZodString;
|
|
467
467
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -517,7 +517,7 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
517
517
|
center: "center";
|
|
518
518
|
justify: "justify";
|
|
519
519
|
}>>>;
|
|
520
|
-
nextButtonLabel: z.
|
|
520
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
521
521
|
type: z.ZodLiteral<"thank_you">;
|
|
522
522
|
title: z.ZodString;
|
|
523
523
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -573,7 +573,7 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
573
573
|
center: "center";
|
|
574
574
|
justify: "justify";
|
|
575
575
|
}>>>;
|
|
576
|
-
nextButtonLabel: z.
|
|
576
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
577
577
|
type: z.ZodLiteral<"message_panel">;
|
|
578
578
|
title: z.ZodString;
|
|
579
579
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -631,7 +631,7 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
631
631
|
center: "center";
|
|
632
632
|
justify: "justify";
|
|
633
633
|
}>>>;
|
|
634
|
-
nextButtonLabel: z.
|
|
634
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
635
635
|
type: z.ZodLiteral<"exit_form">;
|
|
636
636
|
}, z.core.$strip>;
|
|
637
637
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -686,7 +686,7 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
686
686
|
center: "center";
|
|
687
687
|
justify: "justify";
|
|
688
688
|
}>>>;
|
|
689
|
-
nextButtonLabel: z.
|
|
689
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
690
690
|
type: z.ZodLiteral<"yes_no">;
|
|
691
691
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
692
692
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -747,7 +747,7 @@ export declare const consentQuestionSchema: z.ZodObject<{
|
|
|
747
747
|
center: "center";
|
|
748
748
|
justify: "justify";
|
|
749
749
|
}>>>;
|
|
750
|
-
nextButtonLabel: z.
|
|
750
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
751
751
|
type: z.ZodLiteral<"consent">;
|
|
752
752
|
}, z.core.$strip>;
|
|
753
753
|
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
@@ -852,7 +852,7 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
852
852
|
center: "center";
|
|
853
853
|
justify: "justify";
|
|
854
854
|
}>>>;
|
|
855
|
-
nextButtonLabel: z.
|
|
855
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
856
856
|
type: z.ZodLiteral<"rating_matrix">;
|
|
857
857
|
statements: z.ZodArray<z.ZodObject<{
|
|
858
858
|
id: z.ZodString;
|
|
@@ -958,7 +958,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
958
958
|
center: "center";
|
|
959
959
|
justify: "justify";
|
|
960
960
|
}>>>;
|
|
961
|
-
nextButtonLabel: z.
|
|
961
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
962
962
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
963
963
|
rows: z.ZodArray<z.ZodObject<{
|
|
964
964
|
id: z.ZodString;
|
|
@@ -1027,7 +1027,7 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
1027
1027
|
center: "center";
|
|
1028
1028
|
justify: "justify";
|
|
1029
1029
|
}>>>;
|
|
1030
|
-
nextButtonLabel: z.
|
|
1030
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1031
1031
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1032
1032
|
rows: z.ZodArray<z.ZodObject<{
|
|
1033
1033
|
id: z.ZodString;
|
|
@@ -1106,7 +1106,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1106
1106
|
center: "center";
|
|
1107
1107
|
justify: "justify";
|
|
1108
1108
|
}>>>;
|
|
1109
|
-
nextButtonLabel: z.
|
|
1109
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1110
1110
|
type: z.ZodLiteral<"single_choice">;
|
|
1111
1111
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1112
1112
|
radio: "radio";
|
|
@@ -1181,7 +1181,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1181
1181
|
center: "center";
|
|
1182
1182
|
justify: "justify";
|
|
1183
1183
|
}>>>;
|
|
1184
|
-
nextButtonLabel: z.
|
|
1184
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1185
1185
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1186
1186
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1187
1187
|
list: "list";
|
|
@@ -1257,7 +1257,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1257
1257
|
center: "center";
|
|
1258
1258
|
justify: "justify";
|
|
1259
1259
|
}>>>;
|
|
1260
|
-
nextButtonLabel: z.
|
|
1260
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1261
1261
|
type: z.ZodLiteral<"nps">;
|
|
1262
1262
|
min: z.ZodLiteral<0>;
|
|
1263
1263
|
max: z.ZodLiteral<10>;
|
|
@@ -1318,7 +1318,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1318
1318
|
center: "center";
|
|
1319
1319
|
justify: "justify";
|
|
1320
1320
|
}>>>;
|
|
1321
|
-
nextButtonLabel: z.
|
|
1321
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1322
1322
|
type: z.ZodLiteral<"short_answer">;
|
|
1323
1323
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1324
1324
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1382,7 +1382,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1382
1382
|
center: "center";
|
|
1383
1383
|
justify: "justify";
|
|
1384
1384
|
}>>>;
|
|
1385
|
-
nextButtonLabel: z.
|
|
1385
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1386
1386
|
type: z.ZodLiteral<"long_text">;
|
|
1387
1387
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1388
1388
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1445,7 +1445,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1445
1445
|
center: "center";
|
|
1446
1446
|
justify: "justify";
|
|
1447
1447
|
}>>>;
|
|
1448
|
-
nextButtonLabel: z.
|
|
1448
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1449
1449
|
type: z.ZodLiteral<"nested_selection">;
|
|
1450
1450
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1554,7 +1554,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1554
1554
|
center: "center";
|
|
1555
1555
|
justify: "justify";
|
|
1556
1556
|
}>>>;
|
|
1557
|
-
nextButtonLabel: z.
|
|
1557
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1558
1558
|
type: z.ZodLiteral<"rating">;
|
|
1559
1559
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1560
1560
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1626,7 +1626,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1626
1626
|
center: "center";
|
|
1627
1627
|
justify: "justify";
|
|
1628
1628
|
}>>>;
|
|
1629
|
-
nextButtonLabel: z.
|
|
1629
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1630
1630
|
type: z.ZodLiteral<"annotation">;
|
|
1631
1631
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1632
1632
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1680,7 +1680,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1680
1680
|
center: "center";
|
|
1681
1681
|
justify: "justify";
|
|
1682
1682
|
}>>>;
|
|
1683
|
-
nextButtonLabel: z.
|
|
1683
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1684
1684
|
type: z.ZodLiteral<"welcome">;
|
|
1685
1685
|
title: z.ZodString;
|
|
1686
1686
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1735,7 +1735,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1735
1735
|
center: "center";
|
|
1736
1736
|
justify: "justify";
|
|
1737
1737
|
}>>>;
|
|
1738
|
-
nextButtonLabel: z.
|
|
1738
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1739
1739
|
type: z.ZodLiteral<"thank_you">;
|
|
1740
1740
|
title: z.ZodString;
|
|
1741
1741
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1790,7 +1790,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1790
1790
|
center: "center";
|
|
1791
1791
|
justify: "justify";
|
|
1792
1792
|
}>>>;
|
|
1793
|
-
nextButtonLabel: z.
|
|
1793
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1794
1794
|
type: z.ZodLiteral<"message_panel">;
|
|
1795
1795
|
title: z.ZodString;
|
|
1796
1796
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1847,7 +1847,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1847
1847
|
center: "center";
|
|
1848
1848
|
justify: "justify";
|
|
1849
1849
|
}>>>;
|
|
1850
|
-
nextButtonLabel: z.
|
|
1850
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1851
1851
|
type: z.ZodLiteral<"exit_form">;
|
|
1852
1852
|
}, z.core.$strip>, z.ZodObject<{
|
|
1853
1853
|
id: z.ZodString;
|
|
@@ -1901,7 +1901,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1901
1901
|
center: "center";
|
|
1902
1902
|
justify: "justify";
|
|
1903
1903
|
}>>>;
|
|
1904
|
-
nextButtonLabel: z.
|
|
1904
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1905
1905
|
type: z.ZodLiteral<"yes_no">;
|
|
1906
1906
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1907
1907
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1961,7 +1961,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1961
1961
|
center: "center";
|
|
1962
1962
|
justify: "justify";
|
|
1963
1963
|
}>>>;
|
|
1964
|
-
nextButtonLabel: z.
|
|
1964
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1965
1965
|
type: z.ZodLiteral<"consent">;
|
|
1966
1966
|
}, z.core.$strip>, z.ZodObject<{
|
|
1967
1967
|
id: z.ZodString;
|
|
@@ -2015,7 +2015,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2015
2015
|
center: "center";
|
|
2016
2016
|
justify: "justify";
|
|
2017
2017
|
}>>>;
|
|
2018
|
-
nextButtonLabel: z.
|
|
2018
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2019
2019
|
type: z.ZodLiteral<"rating_matrix">;
|
|
2020
2020
|
statements: z.ZodArray<z.ZodObject<{
|
|
2021
2021
|
id: z.ZodString;
|
|
@@ -2108,7 +2108,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2108
2108
|
center: "center";
|
|
2109
2109
|
justify: "justify";
|
|
2110
2110
|
}>>>;
|
|
2111
|
-
nextButtonLabel: z.
|
|
2111
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2112
2112
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
2113
2113
|
rows: z.ZodArray<z.ZodObject<{
|
|
2114
2114
|
id: z.ZodString;
|
|
@@ -2176,7 +2176,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2176
2176
|
center: "center";
|
|
2177
2177
|
justify: "justify";
|
|
2178
2178
|
}>>>;
|
|
2179
|
-
nextButtonLabel: z.
|
|
2179
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2180
2180
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
2181
2181
|
rows: z.ZodArray<z.ZodObject<{
|
|
2182
2182
|
id: z.ZodString;
|
|
@@ -2246,7 +2246,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2246
2246
|
center: "center";
|
|
2247
2247
|
justify: "justify";
|
|
2248
2248
|
}>>>;
|
|
2249
|
-
nextButtonLabel: z.
|
|
2249
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2250
2250
|
type: z.ZodLiteral<"single_choice">;
|
|
2251
2251
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2252
2252
|
radio: "radio";
|
|
@@ -2320,7 +2320,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2320
2320
|
center: "center";
|
|
2321
2321
|
justify: "justify";
|
|
2322
2322
|
}>>>;
|
|
2323
|
-
nextButtonLabel: z.
|
|
2323
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2324
2324
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2325
2325
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2326
2326
|
list: "list";
|
|
@@ -2395,7 +2395,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2395
2395
|
center: "center";
|
|
2396
2396
|
justify: "justify";
|
|
2397
2397
|
}>>>;
|
|
2398
|
-
nextButtonLabel: z.
|
|
2398
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2399
2399
|
type: z.ZodLiteral<"nps">;
|
|
2400
2400
|
min: z.ZodLiteral<0>;
|
|
2401
2401
|
max: z.ZodLiteral<10>;
|
|
@@ -2455,7 +2455,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2455
2455
|
center: "center";
|
|
2456
2456
|
justify: "justify";
|
|
2457
2457
|
}>>>;
|
|
2458
|
-
nextButtonLabel: z.
|
|
2458
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2459
2459
|
type: z.ZodLiteral<"short_answer">;
|
|
2460
2460
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2461
2461
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2518,7 +2518,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2518
2518
|
center: "center";
|
|
2519
2519
|
justify: "justify";
|
|
2520
2520
|
}>>>;
|
|
2521
|
-
nextButtonLabel: z.
|
|
2521
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2522
2522
|
type: z.ZodLiteral<"long_text">;
|
|
2523
2523
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2524
2524
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2580,7 +2580,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2580
2580
|
center: "center";
|
|
2581
2581
|
justify: "justify";
|
|
2582
2582
|
}>>>;
|
|
2583
|
-
nextButtonLabel: z.
|
|
2583
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2584
2584
|
type: z.ZodLiteral<"nested_selection">;
|
|
2585
2585
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2586
2586
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -52,6 +52,7 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
52
52
|
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
53
53
|
customPosition: z.ZodBoolean;
|
|
54
54
|
customCss: z.ZodOptional<z.ZodString>;
|
|
55
|
+
fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
55
56
|
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
56
57
|
light: "light";
|
|
57
58
|
dark: "dark";
|
|
@@ -154,7 +155,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
154
155
|
center: "center";
|
|
155
156
|
justify: "justify";
|
|
156
157
|
}>>>;
|
|
157
|
-
nextButtonLabel: z.
|
|
158
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
158
159
|
type: z.ZodLiteral<"rating">;
|
|
159
160
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
160
161
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -226,7 +227,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
226
227
|
center: "center";
|
|
227
228
|
justify: "justify";
|
|
228
229
|
}>>>;
|
|
229
|
-
nextButtonLabel: z.
|
|
230
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
230
231
|
type: z.ZodLiteral<"annotation">;
|
|
231
232
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
232
233
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -280,7 +281,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
280
281
|
center: "center";
|
|
281
282
|
justify: "justify";
|
|
282
283
|
}>>>;
|
|
283
|
-
nextButtonLabel: z.
|
|
284
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
284
285
|
type: z.ZodLiteral<"welcome">;
|
|
285
286
|
title: z.ZodString;
|
|
286
287
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -335,7 +336,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
335
336
|
center: "center";
|
|
336
337
|
justify: "justify";
|
|
337
338
|
}>>>;
|
|
338
|
-
nextButtonLabel: z.
|
|
339
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
339
340
|
type: z.ZodLiteral<"thank_you">;
|
|
340
341
|
title: z.ZodString;
|
|
341
342
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -390,7 +391,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
390
391
|
center: "center";
|
|
391
392
|
justify: "justify";
|
|
392
393
|
}>>>;
|
|
393
|
-
nextButtonLabel: z.
|
|
394
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
394
395
|
type: z.ZodLiteral<"message_panel">;
|
|
395
396
|
title: z.ZodString;
|
|
396
397
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -447,7 +448,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
447
448
|
center: "center";
|
|
448
449
|
justify: "justify";
|
|
449
450
|
}>>>;
|
|
450
|
-
nextButtonLabel: z.
|
|
451
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
451
452
|
type: z.ZodLiteral<"exit_form">;
|
|
452
453
|
}, z.core.$strip>, z.ZodObject<{
|
|
453
454
|
id: z.ZodString;
|
|
@@ -501,7 +502,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
501
502
|
center: "center";
|
|
502
503
|
justify: "justify";
|
|
503
504
|
}>>>;
|
|
504
|
-
nextButtonLabel: z.
|
|
505
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
505
506
|
type: z.ZodLiteral<"yes_no">;
|
|
506
507
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
507
508
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -561,7 +562,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
561
562
|
center: "center";
|
|
562
563
|
justify: "justify";
|
|
563
564
|
}>>>;
|
|
564
|
-
nextButtonLabel: z.
|
|
565
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
565
566
|
type: z.ZodLiteral<"consent">;
|
|
566
567
|
}, z.core.$strip>, z.ZodObject<{
|
|
567
568
|
id: z.ZodString;
|
|
@@ -615,7 +616,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
615
616
|
center: "center";
|
|
616
617
|
justify: "justify";
|
|
617
618
|
}>>>;
|
|
618
|
-
nextButtonLabel: z.
|
|
619
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
619
620
|
type: z.ZodLiteral<"rating_matrix">;
|
|
620
621
|
statements: z.ZodArray<z.ZodObject<{
|
|
621
622
|
id: z.ZodString;
|
|
@@ -708,7 +709,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
708
709
|
center: "center";
|
|
709
710
|
justify: "justify";
|
|
710
711
|
}>>>;
|
|
711
|
-
nextButtonLabel: z.
|
|
712
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
712
713
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
713
714
|
rows: z.ZodArray<z.ZodObject<{
|
|
714
715
|
id: z.ZodString;
|
|
@@ -776,7 +777,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
776
777
|
center: "center";
|
|
777
778
|
justify: "justify";
|
|
778
779
|
}>>>;
|
|
779
|
-
nextButtonLabel: z.
|
|
780
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
780
781
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
781
782
|
rows: z.ZodArray<z.ZodObject<{
|
|
782
783
|
id: z.ZodString;
|
|
@@ -846,7 +847,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
846
847
|
center: "center";
|
|
847
848
|
justify: "justify";
|
|
848
849
|
}>>>;
|
|
849
|
-
nextButtonLabel: z.
|
|
850
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
850
851
|
type: z.ZodLiteral<"single_choice">;
|
|
851
852
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
852
853
|
radio: "radio";
|
|
@@ -920,7 +921,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
920
921
|
center: "center";
|
|
921
922
|
justify: "justify";
|
|
922
923
|
}>>>;
|
|
923
|
-
nextButtonLabel: z.
|
|
924
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
924
925
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
925
926
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
926
927
|
list: "list";
|
|
@@ -995,7 +996,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
995
996
|
center: "center";
|
|
996
997
|
justify: "justify";
|
|
997
998
|
}>>>;
|
|
998
|
-
nextButtonLabel: z.
|
|
999
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
999
1000
|
type: z.ZodLiteral<"nps">;
|
|
1000
1001
|
min: z.ZodLiteral<0>;
|
|
1001
1002
|
max: z.ZodLiteral<10>;
|
|
@@ -1055,7 +1056,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1055
1056
|
center: "center";
|
|
1056
1057
|
justify: "justify";
|
|
1057
1058
|
}>>>;
|
|
1058
|
-
nextButtonLabel: z.
|
|
1059
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1059
1060
|
type: z.ZodLiteral<"short_answer">;
|
|
1060
1061
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1061
1062
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1118,7 +1119,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1118
1119
|
center: "center";
|
|
1119
1120
|
justify: "justify";
|
|
1120
1121
|
}>>>;
|
|
1121
|
-
nextButtonLabel: z.
|
|
1122
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1122
1123
|
type: z.ZodLiteral<"long_text">;
|
|
1123
1124
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1124
1125
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1180,7 +1181,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1180
1181
|
center: "center";
|
|
1181
1182
|
justify: "justify";
|
|
1182
1183
|
}>>>;
|
|
1183
|
-
nextButtonLabel: z.
|
|
1184
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1184
1185
|
type: z.ZodLiteral<"nested_selection">;
|
|
1185
1186
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1186
1187
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1455,6 +1456,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1455
1456
|
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
1456
1457
|
customPosition: z.ZodBoolean;
|
|
1457
1458
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1458
1460
|
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1459
1461
|
light: "light";
|
|
1460
1462
|
dark: "dark";
|
|
@@ -56,6 +56,7 @@ export declare const featureSettingsSchema: z.ZodObject<{
|
|
|
56
56
|
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
57
57
|
customPosition: z.ZodBoolean;
|
|
58
58
|
customCss: z.ZodOptional<z.ZodString>;
|
|
59
|
+
fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
59
60
|
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
60
61
|
light: "light";
|
|
61
62
|
dark: "dark";
|
|
@@ -96,6 +97,7 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
96
97
|
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
97
98
|
customPosition: z.ZodBoolean;
|
|
98
99
|
customCss: z.ZodOptional<z.ZodString>;
|
|
100
|
+
fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
99
101
|
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
100
102
|
light: "light";
|
|
101
103
|
dark: "dark";
|
package/package.json
CHANGED