@wix/form-public 0.208.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.js CHANGED
@@ -25871,7 +25871,8 @@ var FileFormatMap = {
25871
25871
  Image: "image/*",
25872
25872
  Audio: "audio/*",
25873
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",
25874
- 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"
25875
25876
  };
25876
25877
 
25877
25878
  // ../form-fields/dist/esm/utils/date-format-parts.js
@@ -29187,6 +29188,7 @@ var UploadFileFormat3;
29187
29188
  UploadFileFormat4["AUDIO"] = "AUDIO";
29188
29189
  UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
29189
29190
  UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
29191
+ UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
29190
29192
  })(UploadFileFormat3 || (UploadFileFormat3 = {}));
29191
29193
  var PaymentComponentType;
29192
29194
  (function(PaymentComponentType2) {
@@ -29513,6 +29515,8 @@ function takeWixFileInputViewProperties(fileUpload, validation) {
29513
29515
  return "Document";
29514
29516
  case UploadFileFormat3.ARCHIVE:
29515
29517
  return "Archive";
29518
+ case UploadFileFormat3.MODEL_3D:
29519
+ return "Model3D";
29516
29520
  default:
29517
29521
  throw new Error(`Unknown file format: ${format}`);
29518
29522
  }