@wix/form-public 0.207.0 → 0.209.0
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -22730,6 +22730,7 @@ var require_messages_en = __commonJS({
|
|
|
22730
22730
|
"field.signature.a11y.state.signed": "Signed.",
|
|
22731
22731
|
"field.quiz-answer-feedback.wrong": "Incorrect",
|
|
22732
22732
|
"mla-city.input.error.message.required-error": "Enter a city.",
|
|
22733
|
+
"full-name.input.error.message.required-error": "Enter a first and last name.",
|
|
22733
22734
|
"field.rich-text.read-less-button.label": "Read less",
|
|
22734
22735
|
"form.appointment.accessibility.calendar.previous-week.aria-label": "Show previous week",
|
|
22735
22736
|
"field.signature.mode.upload.description": "Upload mode selected. Upload an image of your signature.",
|
|
@@ -25870,7 +25871,8 @@ var FileFormatMap = {
|
|
|
25870
25871
|
Image: "image/*",
|
|
25871
25872
|
Audio: "audio/*",
|
|
25872
25873
|
Document: ".ai, .cdr, .csv, .doc, .docb, .docx, .dot, .dotx, .dwg, .eps, .epub, .fla, .gpx, .ical, .icalendar, .ics, .ifb, .indd, .ipynb, .key, .kml, .kmz, .mobi, .mtf, .mtx, .numbers, .odg, .odp, .ods, .odt, .otp, .ots, .ott, .oxps, .pages, .pdf, .pdn, .pkg, .pot, .potx, .pps, .ppsx, .ppt, .pptx, .psd, .pub, .rtf, .sldx, .txt, .json, .vcf, .xcf, .xls, .xlsx, .xlt, .xltx, .xlw, .xps,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel",
|
|
25873
|
-
Archive: ".zip, .rar, .tar, .tar.gz, .gz, .gzip, .jar, .7z, .fgz, .webarchive"
|
|
25874
|
+
Archive: ".zip, .rar, .tar, .tar.gz, .gz, .gzip, .jar, .7z, .fgz, .webarchive",
|
|
25875
|
+
Model3D: ".gltf, .glb"
|
|
25874
25876
|
};
|
|
25875
25877
|
|
|
25876
25878
|
// ../form-fields/dist/esm/utils/date-format-parts.js
|
|
@@ -29186,6 +29188,7 @@ var UploadFileFormat3;
|
|
|
29186
29188
|
UploadFileFormat4["AUDIO"] = "AUDIO";
|
|
29187
29189
|
UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
|
|
29188
29190
|
UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
|
|
29191
|
+
UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
|
|
29189
29192
|
})(UploadFileFormat3 || (UploadFileFormat3 = {}));
|
|
29190
29193
|
var PaymentComponentType;
|
|
29191
29194
|
(function(PaymentComponentType2) {
|
|
@@ -29512,6 +29515,8 @@ function takeWixFileInputViewProperties(fileUpload, validation) {
|
|
|
29512
29515
|
return "Document";
|
|
29513
29516
|
case UploadFileFormat3.ARCHIVE:
|
|
29514
29517
|
return "Archive";
|
|
29518
|
+
case UploadFileFormat3.MODEL_3D:
|
|
29519
|
+
return "Model3D";
|
|
29515
29520
|
default:
|
|
29516
29521
|
throw new Error(`Unknown file format: ${format}`);
|
|
29517
29522
|
}
|