@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.cjs
CHANGED
|
@@ -22756,6 +22756,7 @@ var require_messages_en = __commonJS({
|
|
|
22756
22756
|
"field.signature.a11y.state.signed": "Signed.",
|
|
22757
22757
|
"field.quiz-answer-feedback.wrong": "Incorrect",
|
|
22758
22758
|
"mla-city.input.error.message.required-error": "Enter a city.",
|
|
22759
|
+
"full-name.input.error.message.required-error": "Enter a first and last name.",
|
|
22759
22760
|
"field.rich-text.read-less-button.label": "Read less",
|
|
22760
22761
|
"form.appointment.accessibility.calendar.previous-week.aria-label": "Show previous week",
|
|
22761
22762
|
"field.signature.mode.upload.description": "Upload mode selected. Upload an image of your signature.",
|
|
@@ -25896,7 +25897,8 @@ var FileFormatMap = {
|
|
|
25896
25897
|
Image: "image/*",
|
|
25897
25898
|
Audio: "audio/*",
|
|
25898
25899
|
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",
|
|
25899
|
-
Archive: ".zip, .rar, .tar, .tar.gz, .gz, .gzip, .jar, .7z, .fgz, .webarchive"
|
|
25900
|
+
Archive: ".zip, .rar, .tar, .tar.gz, .gz, .gzip, .jar, .7z, .fgz, .webarchive",
|
|
25901
|
+
Model3D: ".gltf, .glb"
|
|
25900
25902
|
};
|
|
25901
25903
|
|
|
25902
25904
|
// ../form-fields/dist/esm/utils/date-format-parts.js
|
|
@@ -29212,6 +29214,7 @@ var UploadFileFormat3;
|
|
|
29212
29214
|
UploadFileFormat4["AUDIO"] = "AUDIO";
|
|
29213
29215
|
UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
|
|
29214
29216
|
UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
|
|
29217
|
+
UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
|
|
29215
29218
|
})(UploadFileFormat3 || (UploadFileFormat3 = {}));
|
|
29216
29219
|
var PaymentComponentType;
|
|
29217
29220
|
(function(PaymentComponentType2) {
|
|
@@ -29538,6 +29541,8 @@ function takeWixFileInputViewProperties(fileUpload, validation) {
|
|
|
29538
29541
|
return "Document";
|
|
29539
29542
|
case UploadFileFormat3.ARCHIVE:
|
|
29540
29543
|
return "Archive";
|
|
29544
|
+
case UploadFileFormat3.MODEL_3D:
|
|
29545
|
+
return "Model3D";
|
|
29541
29546
|
default:
|
|
29542
29547
|
throw new Error(`Unknown file format: ${format}`);
|
|
29543
29548
|
}
|