@bigbinary/neeto-form-frontend 1.1.11 → 1.1.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/README.md +1 -0
- package/dist/index.cjs.js +1670 -1475
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1672 -1477
- package/dist/index.js.map +1 -1
- package/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/translations/en.json +2 -1
package/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ interface BuildFormProps {
|
|
|
64
64
|
isFieldRequired?: (item: Item) => boolean;
|
|
65
65
|
isFieldLabelDisabled?: (item: Item) => boolean;
|
|
66
66
|
isQuestionDeletable?: (item: Item) => boolean;
|
|
67
|
+
disabledAddButtonTooltipProps?: DisabledAddButtonTooltipProps;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
interface ExternalFormProps {
|
|
@@ -99,6 +100,10 @@ interface ExternalFormProps {
|
|
|
99
100
|
customValidator?: (question: Question) => Schema;
|
|
100
101
|
}
|
|
101
102
|
|
|
103
|
+
interface DisabledAddButtonTooltipProps {
|
|
104
|
+
content?: string
|
|
105
|
+
}
|
|
106
|
+
|
|
102
107
|
interface SubmissionProps {
|
|
103
108
|
formId: string;
|
|
104
109
|
submissionId: string;
|
package/package.json
CHANGED
package/src/translations/en.json
CHANGED
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"common": {
|
|
73
73
|
"notFound": "No questions found",
|
|
74
74
|
"primaryPanel": {
|
|
75
|
-
"addNewQuestion": "Add new question"
|
|
75
|
+
"addNewQuestion": "Add new question",
|
|
76
|
+
"noQuestionLeft": "No more question fields to add"
|
|
76
77
|
},
|
|
77
78
|
"duplicateBtn": "Duplicate",
|
|
78
79
|
"questionFields": {
|