@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.cjs CHANGED
@@ -25897,7 +25897,8 @@ var FileFormatMap = {
25897
25897
  Image: "image/*",
25898
25898
  Audio: "audio/*",
25899
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",
25900
- 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"
25901
25902
  };
25902
25903
 
25903
25904
  // ../form-fields/dist/esm/utils/date-format-parts.js
@@ -29213,6 +29214,7 @@ var UploadFileFormat3;
29213
29214
  UploadFileFormat4["AUDIO"] = "AUDIO";
29214
29215
  UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
29215
29216
  UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
29217
+ UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
29216
29218
  })(UploadFileFormat3 || (UploadFileFormat3 = {}));
29217
29219
  var PaymentComponentType;
29218
29220
  (function(PaymentComponentType2) {
@@ -29539,6 +29541,8 @@ function takeWixFileInputViewProperties(fileUpload, validation) {
29539
29541
  return "Document";
29540
29542
  case UploadFileFormat3.ARCHIVE:
29541
29543
  return "Archive";
29544
+ case UploadFileFormat3.MODEL_3D:
29545
+ return "Model3D";
29542
29546
  default:
29543
29547
  throw new Error(`Unknown file format: ${format}`);
29544
29548
  }