@bigbinary/neeto-form-frontend 1.2.11 → 1.2.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 -1
- package/app/javascript/src/translations/en.json +32 -2
- package/dist/index.cjs.js +14444 -6544
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +14507 -6608
- package/dist/index.js.map +1 -1
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/package.json +79 -72
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ the proper functioning of the package. Install all the peer dependencies using
|
|
|
90
90
|
the below command:
|
|
91
91
|
|
|
92
92
|
```zsh
|
|
93
|
-
yarn add @bigbinary/neetoui @bigbinary/neeto-icons ramda@^0.28.0 classnames@^2.3.1 formik@2.2.9 @bigbinary/neeto-commons-frontend
|
|
93
|
+
yarn add @bigbinary/neetoui @bigbinary/neeto-icons ramda@^0.28.0 classnames@^2.3.1 formik@2.2.9 @bigbinary/neeto-commons-frontend react-dropzone@11.2.4
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
3. Import stylesheet from the following location:
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"good": "Good",
|
|
32
32
|
"okay": "Okay",
|
|
33
33
|
"bad": "Bad",
|
|
34
|
-
"no": "No"
|
|
34
|
+
"no": "No",
|
|
35
|
+
"addAdditionalGuests": "Add additional guests"
|
|
35
36
|
},
|
|
36
37
|
"fields": {
|
|
37
38
|
"mcf": "Checkbox",
|
|
@@ -51,7 +52,8 @@
|
|
|
51
52
|
"rtf": "Rich text field",
|
|
52
53
|
"cf": "Condition",
|
|
53
54
|
"iif": "Integer",
|
|
54
|
-
"dif": "Decimal"
|
|
55
|
+
"dif": "Decimal",
|
|
56
|
+
"fileUpload": "File upload"
|
|
55
57
|
},
|
|
56
58
|
"toasts": {
|
|
57
59
|
"formSubmitted": "Form has been submitted successfully!"
|
|
@@ -100,6 +102,34 @@
|
|
|
100
102
|
"requiredField": "Please enter {{label}}.",
|
|
101
103
|
"selectMin": "Please select {{min}} {{entity}}",
|
|
102
104
|
"invalidType": "{{label}} should be a valid {{type}}"
|
|
105
|
+
},
|
|
106
|
+
"fileTypes": {
|
|
107
|
+
"documents": "Documents",
|
|
108
|
+
"images": "Images",
|
|
109
|
+
"audioVideo": "Audio/Video"
|
|
110
|
+
},
|
|
111
|
+
"fileUpload": {
|
|
112
|
+
"enableMultipleFilesUpload": "Enable multiple files upload",
|
|
113
|
+
"fileTypes": "File types",
|
|
114
|
+
"validations": {
|
|
115
|
+
"waitForUpload": "Please wait till upload is finished",
|
|
116
|
+
"atLeastOneFileRequired": "Please upload at least one file",
|
|
117
|
+
"removeDuplicates": "Please remove duplicate entries"
|
|
118
|
+
},
|
|
119
|
+
"dropzone": {
|
|
120
|
+
"errors": {
|
|
121
|
+
"fileTooLarge": "The file '{{fileName, anyCase}}' is larger than {{maxSize}} MB",
|
|
122
|
+
"fileInvalidType": "File type {{fileType}} is not permitted",
|
|
123
|
+
"tooManyFiles": "You can only upload {{maxFiles}} file",
|
|
124
|
+
"defaultError": "Something went wrong while uploading {{fileName, anyCase}}"
|
|
125
|
+
},
|
|
126
|
+
"maxFileSize": "Maximum allowed size is {{size}} {{unit, anyCase}}",
|
|
127
|
+
"allowedFileTypes": "Allowed file types are {{types}}",
|
|
128
|
+
"oneFileAllowed": "Please upload only 1 file",
|
|
129
|
+
"chooseOrDragFile": "<typography>Choose file <span>or</span> drag here.</typography>"
|
|
130
|
+
},
|
|
131
|
+
"fileSizeInMb": "{{fileSize}} MB",
|
|
132
|
+
"mb": "MB"
|
|
103
133
|
}
|
|
104
134
|
}
|
|
105
135
|
}
|