@formio/js 5.1.0-dev.6058.189ce78 → 5.1.0-dev.6059.845a6e3
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/Changelog.md +13 -131
- package/README.md +1 -28
- package/dist/formio.builder.css +17 -19
- package/dist/formio.builder.min.css +1 -1
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.css +17 -19
- package/dist/formio.form.js +176 -102
- package/dist/formio.form.min.css +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +3 -3
- package/dist/formio.full.css +17 -19
- package/dist/formio.full.js +86 -108
- package/dist/formio.full.min.css +2 -2
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +3 -3
- package/dist/formio.js +10 -10
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +3 -3
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/CDN.d.ts +1 -1
- package/lib/cjs/CDN.js +2 -2
- package/lib/cjs/Embed.js +1 -1
- package/lib/cjs/Form.d.ts +6 -4
- package/lib/cjs/Form.js +8 -16
- package/lib/cjs/Formio.js +1 -1
- package/lib/cjs/PDFBuilder.js +4 -4
- package/lib/cjs/Webform.d.ts +13 -16
- package/lib/cjs/Webform.js +148 -162
- package/lib/cjs/WebformBuilder.js +28 -17
- package/lib/cjs/Wizard.js +1 -1
- package/lib/cjs/WizardBuilder.js +2 -15
- package/lib/cjs/components/Components.d.ts +0 -3
- package/lib/cjs/components/_classes/component/Component.d.ts +0 -1
- package/lib/cjs/components/_classes/component/Component.js +11 -38
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -37
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +2 -32
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -1
- package/lib/cjs/components/_classes/component/editForm/utils.js +0 -3
- package/lib/cjs/components/_classes/input/Input.js +1 -23
- package/lib/cjs/components/_classes/list/ListComponent.js +4 -4
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +1 -1
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +3 -10
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -2
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +31 -52
- package/lib/cjs/components/address/Address.js +1 -1
- package/lib/cjs/components/button/Button.js +6 -6
- package/lib/cjs/components/checkbox/Checkbox.d.ts +1 -1
- package/lib/cjs/components/checkbox/Checkbox.js +2 -2
- package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -2
- package/lib/cjs/components/datagrid/DataGrid.js +26 -41
- package/lib/cjs/components/day/Day.js +7 -9
- package/lib/cjs/components/editgrid/EditGrid.d.ts +1 -1
- package/lib/cjs/components/editgrid/EditGrid.js +8 -26
- package/lib/cjs/components/file/File.d.ts +1 -1
- package/lib/cjs/components/file/File.js +17 -23
- package/lib/cjs/components/form/Form.d.ts +1 -1
- package/lib/cjs/components/form/Form.js +5 -9
- package/lib/cjs/components/form/editForm/Form.edit.form.js +3 -3
- package/lib/cjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/cjs/components/hidden/Hidden.js +1 -1
- package/lib/cjs/components/number/Number.js +5 -12
- package/lib/cjs/components/radio/Radio.js +0 -10
- package/lib/cjs/components/recaptcha/ReCaptcha.js +2 -2
- package/lib/cjs/components/select/Select.d.ts +1 -0
- package/lib/cjs/components/select/Select.js +33 -12
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1 -1
- package/lib/cjs/components/select/editForm/Select.edit.data.js +2 -3
- package/lib/cjs/components/selectboxes/SelectBoxes.js +2 -2
- package/lib/cjs/components/signature/Signature.d.ts +1 -1
- package/lib/cjs/components/signature/Signature.js +3 -5
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +6 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.display.js +1 -0
- package/lib/cjs/components/survey/Survey.js +2 -2
- package/lib/cjs/components/tags/Tags.d.ts +1 -1
- package/lib/cjs/components/tags/Tags.js +2 -2
- package/lib/cjs/components/textarea/TextArea.js +6 -6
- package/lib/cjs/formio.form.js +0 -5
- package/lib/cjs/providers/storage/googleDrive.js +2 -3
- package/lib/cjs/providers/storage/s3.js +3 -3
- package/lib/cjs/providers/storage/xhr.d.ts +0 -1
- package/lib/cjs/providers/storage/xhr.js +1 -6
- package/lib/cjs/translations/en.d.ts +81 -234
- package/lib/cjs/translations/en.js +81 -8
- package/lib/cjs/utils/ChoicesWrapper.d.ts +25 -4
- package/lib/cjs/utils/ChoicesWrapper.js +124 -47
- package/lib/cjs/utils/formUtils.d.ts +2 -2
- package/lib/cjs/utils/i18n.d.ts +2 -5
- package/lib/cjs/utils/i18n.js +5 -32
- package/lib/cjs/widgets/CalendarWidget.js +27 -27
- package/lib/mjs/CDN.d.ts +1 -1
- package/lib/mjs/CDN.js +2 -2
- package/lib/mjs/Embed.js +1 -1
- package/lib/mjs/Form.d.ts +6 -4
- package/lib/mjs/Form.js +9 -17
- package/lib/mjs/Formio.js +1 -1
- package/lib/mjs/PDFBuilder.js +4 -4
- package/lib/mjs/Webform.d.ts +13 -16
- package/lib/mjs/Webform.js +158 -171
- package/lib/mjs/WebformBuilder.js +28 -17
- package/lib/mjs/Wizard.js +1 -1
- package/lib/mjs/WizardBuilder.js +2 -15
- package/lib/mjs/components/Components.d.ts +0 -3
- package/lib/mjs/components/_classes/component/Component.d.ts +0 -1
- package/lib/mjs/components/_classes/component/Component.js +11 -27
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -37
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +2 -32
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -1
- package/lib/mjs/components/_classes/component/editForm/utils.js +0 -3
- package/lib/mjs/components/_classes/input/Input.js +1 -22
- package/lib/mjs/components/_classes/list/ListComponent.js +4 -4
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +1 -1
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +3 -10
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -2
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +31 -53
- package/lib/mjs/components/address/Address.js +1 -1
- package/lib/mjs/components/button/Button.js +6 -6
- package/lib/mjs/components/checkbox/Checkbox.d.ts +1 -1
- package/lib/mjs/components/checkbox/Checkbox.js +2 -2
- package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -2
- package/lib/mjs/components/datagrid/DataGrid.js +26 -41
- package/lib/mjs/components/day/Day.js +7 -9
- package/lib/mjs/components/editgrid/EditGrid.d.ts +1 -1
- package/lib/mjs/components/editgrid/EditGrid.js +7 -25
- package/lib/mjs/components/file/File.d.ts +1 -1
- package/lib/mjs/components/file/File.js +17 -23
- package/lib/mjs/components/form/Form.d.ts +1 -1
- package/lib/mjs/components/form/Form.js +5 -8
- package/lib/mjs/components/form/editForm/Form.edit.form.js +3 -3
- package/lib/mjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/mjs/components/hidden/Hidden.js +1 -1
- package/lib/mjs/components/number/Number.js +5 -12
- package/lib/mjs/components/radio/Radio.js +0 -10
- package/lib/mjs/components/recaptcha/ReCaptcha.js +2 -2
- package/lib/mjs/components/select/Select.d.ts +1 -0
- package/lib/mjs/components/select/Select.js +34 -14
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1 -1
- package/lib/mjs/components/select/editForm/Select.edit.data.js +2 -3
- package/lib/mjs/components/selectboxes/SelectBoxes.js +2 -2
- package/lib/mjs/components/signature/Signature.d.ts +1 -1
- package/lib/mjs/components/signature/Signature.js +3 -5
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +6 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.display.js +1 -0
- package/lib/mjs/components/survey/Survey.js +2 -2
- package/lib/mjs/components/tags/Tags.d.ts +1 -1
- package/lib/mjs/components/tags/Tags.js +2 -2
- package/lib/mjs/components/textarea/TextArea.js +6 -6
- package/lib/mjs/formio.form.js +0 -5
- package/lib/mjs/providers/storage/googleDrive.js +2 -3
- package/lib/mjs/providers/storage/s3.js +3 -3
- package/lib/mjs/providers/storage/xhr.d.ts +0 -1
- package/lib/mjs/providers/storage/xhr.js +1 -6
- package/lib/mjs/translations/en.d.ts +81 -234
- package/lib/mjs/translations/en.js +1 -87
- package/lib/mjs/utils/ChoicesWrapper.d.ts +25 -4
- package/lib/mjs/utils/ChoicesWrapper.js +119 -26
- package/lib/mjs/utils/formUtils.d.ts +2 -2
- package/lib/mjs/utils/i18n.d.ts +2 -5
- package/lib/mjs/utils/i18n.js +5 -32
- package/lib/mjs/widgets/CalendarWidget.js +27 -27
- package/package.json +11 -27
|
@@ -1,235 +1,82 @@
|
|
|
1
|
-
declare
|
|
2
|
-
unsavedRowsError: string;
|
|
3
|
-
invalidRowsError: string;
|
|
4
|
-
invalidRowError: string;
|
|
5
|
-
invalidOption: string;
|
|
6
|
-
invalidDay: string;
|
|
7
|
-
alertMessageWithLabel: string;
|
|
8
|
-
alertMessage: string;
|
|
9
|
-
complete: string;
|
|
10
|
-
error: string;
|
|
11
|
-
errorListHotkey: string;
|
|
12
|
-
errorsListNavigationMessage: string;
|
|
13
|
-
submitError: string;
|
|
14
|
-
required: string;
|
|
15
|
-
unique: string;
|
|
16
|
-
array: string;
|
|
17
|
-
array_nonempty: string;
|
|
18
|
-
nonarray: string;
|
|
19
|
-
select: string;
|
|
20
|
-
pattern: string;
|
|
21
|
-
minLength: string;
|
|
22
|
-
maxLength: string;
|
|
23
|
-
minWords: string;
|
|
24
|
-
maxWords: string;
|
|
25
|
-
min: string;
|
|
26
|
-
max: string;
|
|
27
|
-
maxDate: string;
|
|
28
|
-
minDate: string;
|
|
29
|
-
maxYear: string;
|
|
30
|
-
minYear: string;
|
|
31
|
-
minSelectedCount: string;
|
|
32
|
-
maxSelectedCount: string;
|
|
33
|
-
invalid_email: string;
|
|
34
|
-
invalid_url: string;
|
|
35
|
-
invalid_regex: string;
|
|
36
|
-
invalid_date: string;
|
|
37
|
-
invalid_day: string;
|
|
38
|
-
invalidValueProperty: string;
|
|
39
|
-
mask: string;
|
|
40
|
-
valueIsNotAvailable: string;
|
|
41
|
-
stripe: string;
|
|
42
|
-
month: string;
|
|
43
|
-
day: string;
|
|
44
|
-
year: string;
|
|
45
|
-
january: string;
|
|
46
|
-
february: string;
|
|
47
|
-
march: string;
|
|
48
|
-
april: string;
|
|
49
|
-
may: string;
|
|
50
|
-
june: string;
|
|
51
|
-
july: string;
|
|
52
|
-
august: string;
|
|
53
|
-
september: string;
|
|
54
|
-
october: string;
|
|
55
|
-
november: string;
|
|
56
|
-
december: string;
|
|
57
|
-
next: string;
|
|
58
|
-
previous: string;
|
|
59
|
-
cancel: string;
|
|
60
|
-
submit: string;
|
|
61
|
-
confirmCancel: string;
|
|
62
|
-
saveDraftInstanceError: string;
|
|
63
|
-
saveDraftAuthError: string;
|
|
64
|
-
restoreDraftInstanceError: string;
|
|
65
|
-
saveDraftError: string;
|
|
66
|
-
restoreDraftError: string;
|
|
67
|
-
time: string;
|
|
68
|
-
cancelButtonAriaLabel: string;
|
|
69
|
-
previousButtonAriaLabel: string;
|
|
70
|
-
nextButtonAriaLabel: string;
|
|
71
|
-
submitButtonAriaLabel: string;
|
|
72
|
-
reCaptchaTokenValidationError: string;
|
|
73
|
-
reCaptchaTokenNotSpecifiedError: string;
|
|
74
|
-
apiKey: string;
|
|
75
|
-
typeRemaining: string;
|
|
76
|
-
typeCount: string;
|
|
77
|
-
requiredDayField: string;
|
|
78
|
-
requiredDayEmpty: string;
|
|
79
|
-
requiredMonthField: string;
|
|
80
|
-
requiredYearField: string;
|
|
81
|
-
|
|
82
|
-
noFormElement: string;
|
|
83
|
-
notUniqueKey: string;
|
|
84
|
-
newFormSchema: string;
|
|
85
|
-
missingUrl: string;
|
|
86
|
-
urlNotAttachedToBtn: string;
|
|
87
|
-
loadingProjectSettingsError: string;
|
|
88
|
-
sessionStorageSupportError: string;
|
|
89
|
-
builderUniqueError: string;
|
|
90
|
-
pageNotFound: string;
|
|
91
|
-
noDragInfoError: string;
|
|
92
|
-
addonSupportTypeError: string;
|
|
93
|
-
setPathError: string;
|
|
94
|
-
calculatedPathDeprecation: string;
|
|
95
|
-
unknownTemplate: string;
|
|
96
|
-
unknownComponent: string;
|
|
97
|
-
renderTemplateFunctionDeprecation: string;
|
|
98
|
-
whenReadyDeprecation: string;
|
|
99
|
-
loadResourcesError: string;
|
|
100
|
-
noSelectDataConfiguration: string;
|
|
101
|
-
indexedDBSupportError: string;
|
|
102
|
-
caretPositionSavingError: string;
|
|
103
|
-
iteratableRowsError: string;
|
|
104
|
-
checkRowDeprecation: string;
|
|
105
|
-
noOAuthBtn: string;
|
|
106
|
-
noOAuthConfiguration: string;
|
|
107
|
-
oAuthErrorsTitle: string;
|
|
108
|
-
noOAuthFormUrl: string;
|
|
109
|
-
oAuthStateError: string;
|
|
110
|
-
componentInvalidRowValidation: string;
|
|
111
|
-
videoPlayerNotFound: string;
|
|
112
|
-
synchronizationFailed: string;
|
|
113
|
-
fileWithDuplicatedNameInProgress: string;
|
|
114
|
-
fileWithDuplicatedNameLoaded: string;
|
|
115
|
-
nestedForm: string;
|
|
116
|
-
noDataProvided: string;
|
|
117
|
-
subformSubmissionLoadingError: string;
|
|
118
|
-
noDelimiterSet: string;
|
|
119
|
-
noSiteKey: string;
|
|
120
|
-
failedToNormalize: string;
|
|
121
|
-
failedToCompareItems: string;
|
|
122
|
-
editorFocusError: string;
|
|
123
|
-
quillImageUploadFailed: string;
|
|
124
|
-
noFilesSelected: string;
|
|
125
|
-
needConfigurationForQuill: string;
|
|
126
|
-
waitPdfConverting: string;
|
|
127
|
-
uploading: string;
|
|
128
|
-
pasteBelow: string;
|
|
129
|
-
copy: string;
|
|
130
|
-
move: string;
|
|
131
|
-
edit: string;
|
|
132
|
-
editJson: string;
|
|
133
|
-
remove: string;
|
|
134
|
-
clickToSetValue: string;
|
|
135
|
-
words: string;
|
|
136
|
-
characters: string;
|
|
137
|
-
addAnother: string;
|
|
138
|
-
yes: string;
|
|
139
|
-
no: string;
|
|
140
|
-
wantToClearData: string;
|
|
141
|
-
yesDelete: string;
|
|
142
|
-
waitFileProcessing: string;
|
|
143
|
-
wrongFileType: string;
|
|
144
|
-
fileTooSmall: string;
|
|
145
|
-
fileTooBig: string;
|
|
146
|
-
noFileService: string;
|
|
147
|
-
fileProcessingFailed: string;
|
|
148
|
-
readyForUpload: string;
|
|
149
|
-
readyForRemovingFromStorage: string;
|
|
150
|
-
preparingFileToRemove: string;
|
|
151
|
-
succefullyRemoved: string;
|
|
152
|
-
succefullyUploaded: string;
|
|
153
|
-
maxSelectItems: string;
|
|
154
|
-
minSelectItems: string;
|
|
155
|
-
clickToSign: string;
|
|
156
|
-
surveyQuestion: string;
|
|
157
|
-
surveyQuestionValue: string;
|
|
158
|
-
success: string;
|
|
159
|
-
noResultsFound: string;
|
|
160
|
-
noChoices: string;
|
|
161
|
-
typeToSearch: string;
|
|
162
|
-
loading: string;
|
|
163
|
-
help: string;
|
|
164
|
-
component: string;
|
|
165
|
-
save: string;
|
|
166
|
-
preview: string;
|
|
167
|
-
dragAndDropComponent: string;
|
|
168
|
-
searchFields: string;
|
|
169
|
-
noMatchesFound: string;
|
|
170
|
-
fileName: string;
|
|
171
|
-
size: string;
|
|
172
|
-
type: string;
|
|
173
|
-
gallery: string;
|
|
174
|
-
camera: string;
|
|
175
|
-
dropFilesToAttach: string;
|
|
176
|
-
useCamera: string;
|
|
177
|
-
browse: string;
|
|
178
|
-
takePicture: string;
|
|
179
|
-
switchToFileUpload: string;
|
|
180
|
-
completeStatus: string;
|
|
181
|
-
noStorageSet: string;
|
|
182
|
-
noFileApiSupport: string;
|
|
183
|
-
noFormDataSupport: string;
|
|
184
|
-
noProgressSupport: string;
|
|
185
|
-
close: string;
|
|
186
|
-
addResource: string;
|
|
187
|
-
autocomplete: string;
|
|
188
|
-
showPreview: string;
|
|
189
|
-
hidePreview: string;
|
|
190
|
-
createPage: string;
|
|
191
|
-
page: string;
|
|
192
|
-
closeBtnDescription: string;
|
|
193
|
-
cancelBtnDescription: string;
|
|
194
|
-
saveBtnDescription: string;
|
|
195
|
-
addOrRemove: string;
|
|
196
|
-
anyFileTypesAllowed: string;
|
|
197
|
-
allowedFileTypes: string;
|
|
198
|
-
syncing: string;
|
|
199
|
-
syncNow: string;
|
|
200
|
-
pressToOpen: string;
|
|
201
|
-
browseToAttachFileFor: string;
|
|
202
|
-
or: string;
|
|
203
|
-
numericOnly: string;
|
|
204
|
-
uploadPdfFile: string;
|
|
205
|
-
dropToStart: string;
|
|
206
|
-
expand: string;
|
|
207
|
-
collapse: string;
|
|
208
|
-
add: string;
|
|
209
|
-
delete: string;
|
|
210
|
-
revert: string;
|
|
211
|
-
removeBtnPressToRemove: string;
|
|
212
|
-
file: string;
|
|
213
|
-
captureVideo: string;
|
|
214
|
-
captureAudio: string;
|
|
215
|
-
captureImage: string;
|
|
216
|
-
browseFiles: string;
|
|
217
|
-
noComponentsSetInGrid: string;
|
|
218
|
-
sortAscending: string;
|
|
219
|
-
sortDescending: string;
|
|
220
|
-
filter: string;
|
|
221
|
-
clear: string;
|
|
222
|
-
showItemsWithValue: string;
|
|
223
|
-
gridItemsPerPage: string;
|
|
224
|
-
gridAllItems: string;
|
|
225
|
-
recordsSelectedOnPage: string;
|
|
226
|
-
recordsSelectedInTable: string;
|
|
227
|
-
gridSelectAll: string;
|
|
228
|
-
itemsInTable: string;
|
|
229
|
-
clearSelection: string;
|
|
230
|
-
editGridRow: string;
|
|
231
|
-
deleteGridRow: string;
|
|
232
|
-
selected: string;
|
|
233
|
-
actions: string;
|
|
234
|
-
};
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let unsavedRowsError: string;
|
|
3
|
+
let invalidRowsError: string;
|
|
4
|
+
let invalidRowError: string;
|
|
5
|
+
let invalidOption: string;
|
|
6
|
+
let invalidDay: string;
|
|
7
|
+
let alertMessageWithLabel: string;
|
|
8
|
+
let alertMessage: string;
|
|
9
|
+
let complete: string;
|
|
10
|
+
let error: string;
|
|
11
|
+
let errorListHotkey: string;
|
|
12
|
+
let errorsListNavigationMessage: string;
|
|
13
|
+
let submitError: string;
|
|
14
|
+
let required: string;
|
|
15
|
+
let unique: string;
|
|
16
|
+
let array: string;
|
|
17
|
+
let array_nonempty: string;
|
|
18
|
+
let nonarray: string;
|
|
19
|
+
let select: string;
|
|
20
|
+
let pattern: string;
|
|
21
|
+
let minLength: string;
|
|
22
|
+
let maxLength: string;
|
|
23
|
+
let minWords: string;
|
|
24
|
+
let maxWords: string;
|
|
25
|
+
let min: string;
|
|
26
|
+
let max: string;
|
|
27
|
+
let maxDate: string;
|
|
28
|
+
let minDate: string;
|
|
29
|
+
let maxYear: string;
|
|
30
|
+
let minYear: string;
|
|
31
|
+
let minSelectedCount: string;
|
|
32
|
+
let maxSelectedCount: string;
|
|
33
|
+
let invalid_email: string;
|
|
34
|
+
let invalid_url: string;
|
|
35
|
+
let invalid_regex: string;
|
|
36
|
+
let invalid_date: string;
|
|
37
|
+
let invalid_day: string;
|
|
38
|
+
let invalidValueProperty: string;
|
|
39
|
+
let mask: string;
|
|
40
|
+
let valueIsNotAvailable: string;
|
|
41
|
+
let stripe: string;
|
|
42
|
+
let month: string;
|
|
43
|
+
let day: string;
|
|
44
|
+
let year: string;
|
|
45
|
+
let january: string;
|
|
46
|
+
let february: string;
|
|
47
|
+
let march: string;
|
|
48
|
+
let april: string;
|
|
49
|
+
let may: string;
|
|
50
|
+
let june: string;
|
|
51
|
+
let july: string;
|
|
52
|
+
let august: string;
|
|
53
|
+
let september: string;
|
|
54
|
+
let october: string;
|
|
55
|
+
let november: string;
|
|
56
|
+
let december: string;
|
|
57
|
+
let next: string;
|
|
58
|
+
let previous: string;
|
|
59
|
+
let cancel: string;
|
|
60
|
+
let submit: string;
|
|
61
|
+
let confirmCancel: string;
|
|
62
|
+
let saveDraftInstanceError: string;
|
|
63
|
+
let saveDraftAuthError: string;
|
|
64
|
+
let restoreDraftInstanceError: string;
|
|
65
|
+
let saveDraftError: string;
|
|
66
|
+
let restoreDraftError: string;
|
|
67
|
+
let time: string;
|
|
68
|
+
let cancelButtonAriaLabel: string;
|
|
69
|
+
let previousButtonAriaLabel: string;
|
|
70
|
+
let nextButtonAriaLabel: string;
|
|
71
|
+
let submitButtonAriaLabel: string;
|
|
72
|
+
let reCaptchaTokenValidationError: string;
|
|
73
|
+
let reCaptchaTokenNotSpecifiedError: string;
|
|
74
|
+
let apiKey: string;
|
|
75
|
+
let typeRemaining: string;
|
|
76
|
+
let typeCount: string;
|
|
77
|
+
let requiredDayField: string;
|
|
78
|
+
let requiredDayEmpty: string;
|
|
79
|
+
let requiredMonthField: string;
|
|
80
|
+
let requiredYearField: string;
|
|
81
|
+
}
|
|
235
82
|
export default _default;
|
|
@@ -1,10 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
exports.default = {
|
|
4
|
+
unsavedRowsError: 'Please save all rows before proceeding.',
|
|
5
|
+
invalidRowsError: 'Please correct invalid rows before proceeding.',
|
|
6
|
+
invalidRowError: 'Invalid row. Please correct it or delete.',
|
|
7
|
+
invalidOption: '{{field}} is an invalid value.',
|
|
8
|
+
invalidDay: '{{field}} is not a valid day.',
|
|
9
|
+
alertMessageWithLabel: '{{label}}: {{message}}',
|
|
10
|
+
alertMessage: '{{message}}',
|
|
11
|
+
complete: 'Submission Complete',
|
|
12
|
+
error: 'Please fix the following errors before submitting.',
|
|
13
|
+
errorListHotkey: 'Press Ctrl + Alt + X to go back to the error list.',
|
|
14
|
+
errorsListNavigationMessage: 'Click to navigate to the field with following error.',
|
|
15
|
+
submitError: 'Please check the form and correct all errors before submitting.',
|
|
16
|
+
required: '{{field}} is required',
|
|
17
|
+
unique: '{{field}} must be unique',
|
|
18
|
+
array: '{{field}} must be an array',
|
|
19
|
+
array_nonempty: '{{field}} must be a non-empty array', // eslint-disable-line camelcase
|
|
20
|
+
nonarray: '{{field}} must not be an array',
|
|
21
|
+
select: '{{field}} contains an invalid selection',
|
|
22
|
+
pattern: '{{field}} does not match the pattern {{pattern}}',
|
|
23
|
+
minLength: '{{field}} must have at least {{length}} characters.',
|
|
24
|
+
maxLength: '{{field}} must have no more than {{length}} characters.',
|
|
25
|
+
minWords: '{{field}} must have at least {{length}} words.',
|
|
26
|
+
maxWords: '{{field}} must have no more than {{length}} words.',
|
|
27
|
+
min: '{{field}} cannot be less than {{min}}.',
|
|
28
|
+
max: '{{field}} cannot be greater than {{max}}.',
|
|
29
|
+
maxDate: '{{field}} should not contain date after {{maxDate}}',
|
|
30
|
+
minDate: '{{field}} should not contain date before {{minDate}}',
|
|
31
|
+
maxYear: '{{field}} should not contain year greater than {{maxYear}}',
|
|
32
|
+
minYear: '{{field}} should not contain year less than {{minYear}}',
|
|
33
|
+
minSelectedCount: 'You must select at least {{minCount}} items',
|
|
34
|
+
maxSelectedCount: 'You may only select up to {{maxCount}} items',
|
|
35
|
+
invalid_email: '{{field}} must be a valid email.', // eslint-disable-line camelcase
|
|
36
|
+
invalid_url: '{{field}} must be a valid url.', // eslint-disable-line camelcase
|
|
37
|
+
invalid_regex: '{{field}} does not match the pattern {{regex}}.', // eslint-disable-line camelcase
|
|
38
|
+
invalid_date: '{{field}} is not a valid date.', // eslint-disable-line camelcase
|
|
39
|
+
invalid_day: '{{field}} is not a valid day.', // eslint-disable-line camelcase
|
|
40
|
+
invalidValueProperty: 'Invalid Value Property',
|
|
41
|
+
mask: '{{field}} does not match the mask.',
|
|
42
|
+
valueIsNotAvailable: '{{ field }} is an invalid value.',
|
|
43
|
+
stripe: '{{stripe}}',
|
|
44
|
+
month: 'Month',
|
|
45
|
+
day: 'Day',
|
|
46
|
+
year: 'Year',
|
|
47
|
+
january: 'January',
|
|
48
|
+
february: 'February',
|
|
49
|
+
march: 'March',
|
|
50
|
+
april: 'April',
|
|
51
|
+
may: 'May',
|
|
52
|
+
june: 'June',
|
|
53
|
+
july: 'July',
|
|
54
|
+
august: 'August',
|
|
55
|
+
september: 'September',
|
|
56
|
+
october: 'October',
|
|
57
|
+
november: 'November',
|
|
58
|
+
december: 'December',
|
|
59
|
+
next: 'Next',
|
|
60
|
+
previous: 'Previous',
|
|
61
|
+
cancel: 'Cancel',
|
|
62
|
+
submit: 'Submit Form',
|
|
63
|
+
confirmCancel: 'Are you sure you want to cancel?',
|
|
64
|
+
saveDraftInstanceError: 'Cannot save draft because there is no formio instance.',
|
|
65
|
+
saveDraftAuthError: 'Cannot save draft unless a user is authenticated.',
|
|
66
|
+
restoreDraftInstanceError: 'Cannot restore draft because there is no formio instance.',
|
|
67
|
+
saveDraftError: 'Unable to save draft.',
|
|
68
|
+
restoreDraftError: 'Unable to restore draft.',
|
|
69
|
+
time: 'Invalid time',
|
|
70
|
+
cancelButtonAriaLabel: 'Cancel button. Click to reset the form',
|
|
71
|
+
previousButtonAriaLabel: 'Previous button. Click to go back to the previous tab',
|
|
72
|
+
nextButtonAriaLabel: 'Next button. Click to go to the next tab',
|
|
73
|
+
submitButtonAriaLabel: 'Submit Form button. Click to submit the form',
|
|
74
|
+
reCaptchaTokenValidationError: 'ReCAPTCHA: Token validation error',
|
|
75
|
+
reCaptchaTokenNotSpecifiedError: 'ReCAPTCHA: Token is not specified in submission',
|
|
76
|
+
apiKey: 'API Key is not unique: {{key}}',
|
|
77
|
+
typeRemaining: '{{ remaining }} {{ type }} remaining.',
|
|
78
|
+
typeCount: '{{ count }} {{ type }}',
|
|
79
|
+
requiredDayField: '{{ field }} is required',
|
|
80
|
+
requiredDayEmpty: '{{ field }} is required',
|
|
81
|
+
requiredMonthField: '{{ field }} is required',
|
|
82
|
+
requiredYearField: '{{ field }} is required'
|
|
83
|
+
};
|
|
@@ -1,17 +1,38 @@
|
|
|
1
|
+
export namespace KEY_CODES {
|
|
2
|
+
let BACK_KEY: number;
|
|
3
|
+
let DELETE_KEY: number;
|
|
4
|
+
let TAB_KEY: number;
|
|
5
|
+
let ENTER_KEY: number;
|
|
6
|
+
let A_KEY: number;
|
|
7
|
+
let ESC_KEY: number;
|
|
8
|
+
let UP_KEY: number;
|
|
9
|
+
let DOWN_KEY: number;
|
|
10
|
+
let PAGE_UP_KEY: number;
|
|
11
|
+
let PAGE_DOWN_KEY: number;
|
|
12
|
+
}
|
|
1
13
|
export default ChoicesWrapper;
|
|
2
14
|
declare class ChoicesWrapper extends Choices {
|
|
3
15
|
constructor(...args: any[]);
|
|
4
|
-
_onTabKey(
|
|
16
|
+
_onTabKey({ activeItems, hasActiveDropdown }: {
|
|
17
|
+
activeItems: any;
|
|
18
|
+
hasActiveDropdown: any;
|
|
19
|
+
}): void;
|
|
5
20
|
isDirectionUsing: boolean;
|
|
6
21
|
shouldOpenDropDown: boolean;
|
|
7
22
|
_onTouchEnd(event: any): void;
|
|
8
|
-
|
|
23
|
+
_handleButtonAction(activeItems: any, element: any): void;
|
|
24
|
+
_onEnterKey(args: any): void;
|
|
9
25
|
_onDirectionKey(...args: any[]): void;
|
|
10
26
|
timeout: NodeJS.Timeout | undefined;
|
|
11
27
|
_selectHighlightedChoice(): void;
|
|
12
28
|
_onKeyDown(event: any): void;
|
|
13
|
-
onSelectValue(event
|
|
29
|
+
onSelectValue({ event, activeItems, hasActiveDropdown }: {
|
|
30
|
+
event: any;
|
|
31
|
+
activeItems: any;
|
|
32
|
+
hasActiveDropdown: any;
|
|
33
|
+
}): void;
|
|
14
34
|
showDropdown(...args: any[]): void;
|
|
15
35
|
hideDropdown(...args: any[]): void;
|
|
36
|
+
_onBlur(...args: any[]): void;
|
|
16
37
|
}
|
|
17
|
-
import Choices from 'choices.js';
|
|
38
|
+
import Choices from '@formio/choices.js';
|