@wix/form-public 0.204.0 → 0.205.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 +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -536,6 +536,7 @@ var init_types_impl = __esm({
|
|
|
536
536
|
UploadFileFormat4["AUDIO"] = "AUDIO";
|
|
537
537
|
UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
|
|
538
538
|
UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
|
|
539
|
+
UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
|
|
539
540
|
})(UploadFileFormat || (UploadFileFormat = {}));
|
|
540
541
|
(function(InputFieldPaymentComponentType3) {
|
|
541
542
|
InputFieldPaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -30470,6 +30471,7 @@ function createLayoutBreakpoints(layout, fieldId) {
|
|
|
30470
30471
|
};
|
|
30471
30472
|
}
|
|
30472
30473
|
function createPropertiesView(field, path, recursive, isMobile2) {
|
|
30474
|
+
var _field$validation;
|
|
30473
30475
|
const {
|
|
30474
30476
|
hidden,
|
|
30475
30477
|
pii,
|
|
@@ -30486,6 +30488,7 @@ function createPropertiesView(field, path, recursive, isMobile2) {
|
|
|
30486
30488
|
const {
|
|
30487
30489
|
required
|
|
30488
30490
|
} = field.validation ?? {};
|
|
30491
|
+
const availability = (_field$validation = field.validation) == null || (_field$validation = _field$validation.string) == null || (_field$validation = _field$validation.dateOptions) == null ? void 0 : _field$validation.availability;
|
|
30489
30492
|
const formView = form && recursive ? createFormView({
|
|
30490
30493
|
form,
|
|
30491
30494
|
path,
|
|
@@ -30505,7 +30508,10 @@ function createPropertiesView(field, path, recursive, isMobile2) {
|
|
|
30505
30508
|
...nestedFormId ? {
|
|
30506
30509
|
nestedFormId
|
|
30507
30510
|
} : {},
|
|
30508
|
-
...rest
|
|
30511
|
+
...rest,
|
|
30512
|
+
...availability ? {
|
|
30513
|
+
availability
|
|
30514
|
+
} : {}
|
|
30509
30515
|
};
|
|
30510
30516
|
}
|
|
30511
30517
|
function createLayoutView(layout) {
|