@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.js
CHANGED
|
@@ -510,6 +510,7 @@ var init_types_impl = __esm({
|
|
|
510
510
|
UploadFileFormat4["AUDIO"] = "AUDIO";
|
|
511
511
|
UploadFileFormat4["DOCUMENT"] = "DOCUMENT";
|
|
512
512
|
UploadFileFormat4["ARCHIVE"] = "ARCHIVE";
|
|
513
|
+
UploadFileFormat4["MODEL_3D"] = "MODEL_3D";
|
|
513
514
|
})(UploadFileFormat || (UploadFileFormat = {}));
|
|
514
515
|
(function(InputFieldPaymentComponentType3) {
|
|
515
516
|
InputFieldPaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -30444,6 +30445,7 @@ function createLayoutBreakpoints(layout, fieldId) {
|
|
|
30444
30445
|
};
|
|
30445
30446
|
}
|
|
30446
30447
|
function createPropertiesView(field, path, recursive, isMobile2) {
|
|
30448
|
+
var _field$validation;
|
|
30447
30449
|
const {
|
|
30448
30450
|
hidden,
|
|
30449
30451
|
pii,
|
|
@@ -30460,6 +30462,7 @@ function createPropertiesView(field, path, recursive, isMobile2) {
|
|
|
30460
30462
|
const {
|
|
30461
30463
|
required
|
|
30462
30464
|
} = field.validation ?? {};
|
|
30465
|
+
const availability = (_field$validation = field.validation) == null || (_field$validation = _field$validation.string) == null || (_field$validation = _field$validation.dateOptions) == null ? void 0 : _field$validation.availability;
|
|
30463
30466
|
const formView = form && recursive ? createFormView({
|
|
30464
30467
|
form,
|
|
30465
30468
|
path,
|
|
@@ -30479,7 +30482,10 @@ function createPropertiesView(field, path, recursive, isMobile2) {
|
|
|
30479
30482
|
...nestedFormId ? {
|
|
30480
30483
|
nestedFormId
|
|
30481
30484
|
} : {},
|
|
30482
|
-
...rest
|
|
30485
|
+
...rest,
|
|
30486
|
+
...availability ? {
|
|
30487
|
+
availability
|
|
30488
|
+
} : {}
|
|
30483
30489
|
};
|
|
30484
30490
|
}
|
|
30485
30491
|
function createLayoutView(layout) {
|