@wix/form-elements 1.134.0 → 1.136.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/component/appointment-rac-DsD7xLmb.js +1010 -0
- package/dist/component/{bookings-address-rac-F39MfGmX.js → bookings-address-rac-ByaFu51U.js} +1 -1
- package/dist/component/{bookings-email-rac-D4CurQjr.js → bookings-email-rac-CxuvkcYw.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Bz9o1eLl.js → bookings-first-name-rac-JXLJa_7E.js} +1 -1
- package/dist/component/{bookings-header-rac-6mfX0WGf.js → bookings-header-rac-CIQTbf9d.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CD1-B7Ao.js → bookings-last-name-rac-_2Xt4BPe.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-2eQkfhBb.js → bookings-login-bar-rac-BUjys5i9.js} +6 -6
- package/dist/component/{bookings-phone-rac-X6sSnHiH.js → bookings-phone-rac-DlsdGmOt.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-f2artJnn.js → bookings-rich-text-rac-BvRdhL7M.js} +1 -1
- package/dist/component/{checkbox-field-rac-DoZ9bcw3.js → checkbox-field-rac-Be6wicaA.js} +121 -121
- package/dist/component/{checkbox-group-field-headless-B-d37T4z.js → checkbox-group-field-headless-BJ0pGvXi.js} +19 -19
- package/dist/component/{checkbox-group-field-rac-0qYHz3g1.js → checkbox-group-field-rac-D7xqqVf6.js} +4 -4
- package/dist/component/{checkbox-group-rac-BqUJdAju.js → checkbox-group-rac-DtCS-gEH.js} +1 -1
- package/dist/component/{checkbox-rac-BN-qNzpH.js → checkbox-rac-ub7MFwY-.js} +1 -1
- package/dist/component/{contacts-address-rac-B7vWOTFf.js → contacts-address-rac-Bwsdpg11.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-Dl0OatzW.js → contacts-birthdate-rac-D54hibhb.js} +1 -1
- package/dist/component/{contacts-company-rac-DIeGU0Bf.js → contacts-company-rac-CKqzgKio.js} +1 -1
- package/dist/component/{contacts-email-rac-BCH6ogWv.js → contacts-email-rac-Dxm31wuY.js} +1 -1
- package/dist/component/{contacts-first-name-rac-Cx-USWmx.js → contacts-first-name-rac-CXHsx6Vy.js} +1 -1
- package/dist/component/{contacts-last-name-rac-CUZdJI9J.js → contacts-last-name-rac-B0S268f3.js} +1 -1
- package/dist/component/{contacts-phone-rac-hNCW_2UC.js → contacts-phone-rac-DEbgIiEj.js} +1 -1
- package/dist/component/{contacts-position-rac-CJfOgxZc.js → contacts-position-rac-D31uoOlR.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-69721_c9.js → contacts-subscribe-rac-DJ8NtoxZ.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CXXBqWIm.js → contacts-tax-id-rac-DTQffHAo.js} +1 -1
- package/dist/component/{date-availability-NQGPIrdZ.js → date-availability-DmhJ9apH.js} +1 -1
- package/dist/component/{date-input-field-rac-C-we-suG.js → date-input-field-rac-BwM_q4FW.js} +52 -52
- package/dist/component/{date-input-rac-Cif7Bqxc.js → date-input-rac-C93pgocp.js} +1 -1
- package/dist/component/{date-picker-field-rac-CHDkTXVH.js → date-picker-field-rac-CtZL368W.js} +5 -5
- package/dist/component/{date-picker-rac-DdhgbY6W.js → date-picker-rac-4DNe6hOX.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BjtDbiqE.js → date-time-input-field-rac-MlCVy3Oz.js} +58 -58
- package/dist/component/{date-time-input-rac-BDP5SN-i.js → date-time-input-rac-ByyBvFgo.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-CkF41kIR.js → dext-checkbox-group-rac-BP76Xwiq.js} +4 -4
- package/dist/component/{dext-checkbox-rac-DjYpsxmq.js → dext-checkbox-rac-DGaKSh4Z.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BxXZLogr.js → dext-date-picker-rac-UEXbMSlL.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-e4y_JjEx.js → dext-date-time-input-rac-CsJcGK4I.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DsjB3ZX7.js → dext-dropdown-rac-BzbRzloh.js} +1 -1
- package/dist/component/{dext-email-rac-ClPp1g4D.js → dext-email-rac-DufFAnTi.js} +1 -1
- package/dist/component/{dext-number-input-rac-D2nZNzyN.js → dext-number-input-rac-D6xXi7B2.js} +1 -1
- package/dist/component/{dext-phone-rac-PNiQZ-Lr.js → dext-phone-rac-svy9CDHW.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DUltmMHM.js → dext-radio-group-rac-C4p9NuQS.js} +4 -4
- package/dist/component/{dext-rating-input-rac-C_apsfGT.js → dext-rating-input-rac-wJ7-RFFN.js} +1 -1
- package/dist/component/{dext-tags-rac-DkB_CmOD.js → dext-tags-rac-D2myHrSZ.js} +4 -4
- package/dist/component/{dext-text-area-rac-CfoIK0S7.js → dext-text-area-rac-B4Fw_9mF.js} +1 -1
- package/dist/component/{dext-text-input-rac-CIOXlk6U.js → dext-text-input-rac-DlZanFMT.js} +1 -1
- package/dist/component/{dext-url-input-rac-UHJAs3ck.js → dext-url-input-rac-DYjl3wuk.js} +1 -1
- package/dist/component/{donation-rac-BJfvVi_d.js → donation-rac-B6LwJxik.js} +72 -72
- package/dist/component/{dropdown-field-headless-0DB-T-3t.js → dropdown-field-headless-BAt2RoAH.js} +8 -8
- package/dist/component/{dropdown-field-rac-DB-pd2a8.js → dropdown-field-rac-DFjn3ecV.js} +7 -7
- package/dist/component/{dropdown-rac-4T4zRBVy.js → dropdown-rac-DQ6keNRI.js} +1 -1
- package/dist/component/{ecom-address-rac-BjWD1sRX.js → ecom-address-rac-j1T2zp0k.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CYCufut6.js → ecom-subscription-checkbox-rac-viTaRZsk.js} +2 -2
- package/dist/component/{email-input-field-rac-DlLoY9jB.js → email-input-field-rac-5eb-1w7B.js} +46 -46
- package/dist/component/{events-repeater-rac-CPHJbWcZ.js → events-repeater-rac-BtcoN_Ra.js} +23 -23
- package/dist/component/{events-rsvp-rac-NXf8Fv3A.js → events-rsvp-rac-DSzFEmty.js} +10 -10
- package/dist/component/{field-error-headless-C-wyL0uw.js → field-error-headless-Bpe041x2.js} +6 -6
- package/dist/component/{field-label-headless-32mvEUId.js → field-label-headless-BUuK1Ftv.js} +7 -7
- package/dist/component/{file-upload-rac-BicD_Bhj.js → file-upload-rac-CfU8Ygwq.js} +50 -50
- package/dist/component/{fixed-payment-rac-DxHalHUv.js → fixed-payment-rac-CYp7zNq8.js} +12 -12
- package/dist/component/{form-B2wZnWX9.js → form-C6lnbh2O.js} +1948 -1896
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C47Te_oW.js → header-field-rac-B7YfrhId.js} +4 -4
- package/dist/component/{header-rac-ChDYKTx5.js → header-rac-BtJKAKAz.js} +1 -1
- package/dist/component/{image-choice-rac-CqTBWpcY.js → image-choice-rac-Bmq7Pyg6.js} +32 -32
- package/dist/component/{index-BF_Aifc-.js → index-BjPSeVyh.js} +107 -107
- package/dist/component/{index-Br8x_xx8.js → index-CQdUOkIN.js} +5 -5
- package/dist/component/{isObjectLike-D4VXbd0T.js → isObjectLike-CxNqKfU5.js} +7 -7
- package/dist/component/{multiline-address-field-rac-DYcfzGJb.js → multiline-address-field-rac-BeiUJWKd.js} +115 -115
- package/dist/component/{multiline-address-rac-DcGDGyL-.js → multiline-address-rac-B2mocF6M.js} +1 -1
- package/dist/component/{number-input-field-rac-C_Fh8oeD.js → number-input-field-rac-CQX7_S2O.js} +24 -24
- package/dist/component/{number-input-rac-J2tCaAYx.js → number-input-rac-BZri-E8P.js} +1 -1
- package/dist/component/{password-rac-wlfBhft8.js → password-rac-CdwrtDJU.js} +50 -50
- package/dist/component/{payment-input-rac-DKxy3uE0.js → payment-input-rac-ClQiqmjm.js} +38 -38
- package/dist/component/{phone-input-field-rac-ClXUOLpB.js → phone-input-field-rac-BtG_Rado.js} +56 -56
- package/dist/component/{phone-rac-D0-Poz1e.js → phone-rac-CdcAMa5E.js} +1 -1
- package/dist/component/{product-list-rac-TF5fgLyc.js → product-list-rac-Dp_YK6mo.js} +61 -61
- package/dist/component/{quiz-radio-group-rac-BX4V_6wg.js → quiz-radio-group-rac-CorojxKD.js} +1 -1
- package/dist/component/{radio-button-module-classes-D8UpzVUK.js → radio-button-module-classes-ZX12Fyj4.js} +3 -3
- package/dist/component/{radio-group-field-rac-C0zCVtjj.js → radio-group-field-rac-BifCDpE4.js} +10 -10
- package/dist/component/{radio-group-rac-DrKqgPRT.js → radio-group-rac-CJ2fzqnY.js} +1 -1
- package/dist/component/{rating-input-field-rac-DjxfTgv5.js → rating-input-field-rac-Dg1T0DZW.js} +28 -28
- package/dist/component/{rating-input-rac-DO4Bpdj3.js → rating-input-rac-Ba4YK13i.js} +1 -1
- package/dist/component/{rich-content-rac.module-DUNKiTkT.js → rich-content-rac.module-BehwBL3L.js} +3 -3
- package/dist/component/{rich-text-field-rac-DIOTzVwj.js → rich-text-field-rac-DtIWdB-S.js} +7 -7
- package/dist/component/{rich-text-rac-C_E_vEGz.js → rich-text-rac-BX4eDDFw.js} +1 -1
- package/dist/component/service-dropdown-rac-68WLBlsa.js +146 -0
- package/dist/component/{services-multi-choice-rac-D40hZhBB.js → services-multi-choice-rac-8yNdAHfS.js} +7 -7
- package/dist/component/{signature-rac-CKXpb2WN.js → signature-rac-DeVOyl5O.js} +73 -73
- package/dist/component/{submit-button-rac-CDS-vtXq.js → submit-button-rac-IOr1g-G-.js} +12 -12
- package/dist/component/{tags-field-rac-CdQWq8k5.js → tags-field-rac-DaiMlAxt.js} +27 -27
- package/dist/component/{tags-rac-BwChqdGx.js → tags-rac-BgrUkY0A.js} +1 -1
- package/dist/component/{text-area-field-rac-VCFJuHx4.js → text-area-field-rac-CLPZEY93.js} +16 -16
- package/dist/component/{text-area-rac-BICVNsdn.js → text-area-rac-C8PdPSzX.js} +1 -1
- package/dist/component/{text-input-field-rac-C9gyRhcK.js → text-input-field-rac-Dm-xU8Rg.js} +5 -5
- package/dist/component/{text-input-headless-BdkaD-re.js → text-input-headless-BEmRjL8Z.js} +6 -6
- package/dist/component/{text-input-rac-B7buOGbq.js → text-input-rac-C-FnaOXT.js} +1 -1
- package/dist/component/{time-input-rac-CSFhEYi0.js → time-input-rac-VmTURkiK.js} +46 -46
- package/dist/component/{url-input-field-rac-BIXokgHy.js → url-input-field-rac-CnnS0tVx.js} +23 -23
- package/dist/component/{url-input-rac-tTN0GaTH.js → url-input-rac-6nd_ccoP.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-C6zB6TNA.js → use-dropdown-option-class-name-CcZl1qrj.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-CEq68SuK.js → use-dropdown-trigger-class-name-BNc0mkdK.js} +4 -4
- package/dist/component/{use-element-state-class-name-BFZzVwqe.js → use-element-state-class-name-BU6RXqBy.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CzZmczhf.js → use-hoverable-input-class-name-CkXPkbiP.js} +2 -2
- package/dist/component/{use-service-options-base-DOCVW9ax.js → use-service-options-base-B5afDbnr.js} +4 -4
- package/dist/component/use-text-input-class-name-BB3V6Q0b.js +6 -0
- package/package.json +2 -2
- package/dist/component/appointment-rac-CZHb5jGz.js +0 -1010
- package/dist/component/service-dropdown-rac-B3gQT9Tj.js +0 -146
- package/dist/component/use-text-input-class-name-BNX3qkmh.js +0 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R,
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { e as R, aE as _, aT as de, aF as O, ak as Ge, B as Be, ay as qe, ar as He, aq as A, az as Ee, aI as re, aC as Fe, c as B, as as M, b3 as Te, au as je, at as he, av as q } from "./form-C6lnbh2O.js";
|
|
2
|
+
import { a_ as Mn } from "./form-C6lnbh2O.js";
|
|
3
|
+
import ke from "ajv";
|
|
4
|
+
import Xe from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-DmhJ9apH.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-DmhJ9apH.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -214,7 +214,7 @@ const dt = (e, t) => {
|
|
|
214
214
|
var t;
|
|
215
215
|
return !!((t = e.validation) != null && t.required) && !e.hidden && !e.readOnly;
|
|
216
216
|
};
|
|
217
|
-
var H = { exports: {} },
|
|
217
|
+
var H = { exports: {} }, k = { exports: {} }, Re;
|
|
218
218
|
function Tt() {
|
|
219
219
|
return Re || (Re = 1, (function(e, t) {
|
|
220
220
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -272,12 +272,12 @@ function Tt() {
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
e.exports = s;
|
|
275
|
-
})(
|
|
275
|
+
})(k, k.exports)), k.exports;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var Ie = H.exports, Ae;
|
|
278
278
|
function ht() {
|
|
279
|
-
return
|
|
280
|
-
var r =
|
|
279
|
+
return Ae || (Ae = 1, (function(e, t) {
|
|
280
|
+
var r = Ie && Ie.__importDefault || function(i) {
|
|
281
281
|
return i && i.__esModule ? i : { default: i };
|
|
282
282
|
};
|
|
283
283
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
@@ -286,7 +286,7 @@ function ht() {
|
|
|
286
286
|
})(H, H.exports)), H.exports;
|
|
287
287
|
}
|
|
288
288
|
var Rt = ht();
|
|
289
|
-
const
|
|
289
|
+
const It = /* @__PURE__ */ de(Rt);
|
|
290
290
|
function h(e, t, r) {
|
|
291
291
|
if (typeof w(e) < "u")
|
|
292
292
|
return e;
|
|
@@ -298,10 +298,10 @@ function w(e) {
|
|
|
298
298
|
function j(e) {
|
|
299
299
|
return w(e) !== void 0;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function At(e) {
|
|
302
302
|
return e !== null;
|
|
303
303
|
}
|
|
304
|
-
const
|
|
304
|
+
const yt = [
|
|
305
305
|
"ADP",
|
|
306
306
|
"AED",
|
|
307
307
|
"AFA",
|
|
@@ -530,11 +530,11 @@ const Nt = [
|
|
|
530
530
|
"ZWL",
|
|
531
531
|
"ZWN",
|
|
532
532
|
"ZWR"
|
|
533
|
-
],
|
|
533
|
+
], Nt = new Set(yt.map((e) => e.toLowerCase()));
|
|
534
534
|
function gt(e) {
|
|
535
|
-
return
|
|
535
|
+
return Nt.has(e.toLowerCase());
|
|
536
536
|
}
|
|
537
|
-
const oe = "¡---a-zA-Z", $e = "0-9", U = `${oe}${$e}`,
|
|
537
|
+
const oe = "¡---a-zA-Z", $e = "0-9", U = `${oe}${$e}`, ye = "!#$%&'*+/=?^_`{|}~-", Ot = `[${U}${ye}]+(?:\\.[${U}${ye}]+)*`, _t = "(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*", Dt = `(?:${Ot}|${_t})`, Mt = `(?:[${U}](?:[${U}-]*[${U}])?\\.)+(?:(?:[${$e}]+[${oe}][${U}]*)|(?:[${oe}][${U}]{1,}))`, Pt = "^" + Dt + "@" + Mt + "$", St = [
|
|
538
538
|
"aa",
|
|
539
539
|
"ab",
|
|
540
540
|
"ae",
|
|
@@ -739,13 +739,13 @@ function Ft(e) {
|
|
|
739
739
|
const Lt = "^\\+[1-9]\\d{1,14}$";
|
|
740
740
|
function vt(e, t) {
|
|
741
741
|
const r = {
|
|
742
|
-
...
|
|
743
|
-
phone: t ? Lt :
|
|
742
|
+
...Ne,
|
|
743
|
+
phone: t ? Lt : Ne.phone
|
|
744
744
|
};
|
|
745
745
|
for (const [n, s] of Object.entries(r))
|
|
746
746
|
e.addFormat(n, s);
|
|
747
747
|
}
|
|
748
|
-
const
|
|
748
|
+
const Ne = {
|
|
749
749
|
phone: "^[\\d \\u00A0()+\\-.]+$",
|
|
750
750
|
email: Pt,
|
|
751
751
|
"color-hex": /^#(?:[0-9A-F]{3,4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,
|
|
@@ -895,11 +895,11 @@ function Ht(e) {
|
|
|
895
895
|
}
|
|
896
896
|
function jt(e, t, r) {
|
|
897
897
|
return function(s) {
|
|
898
|
-
const i = new
|
|
898
|
+
const i = new ke({
|
|
899
899
|
allErrors: !0,
|
|
900
900
|
multipleOfPrecision: 8
|
|
901
901
|
});
|
|
902
|
-
return We(i), vt(i, t), Ut(i, t, r),
|
|
902
|
+
return We(i), vt(i, t), Ut(i, t, r), Xe(i), It(i), s.forEach((o) => {
|
|
903
903
|
if (!i.getSchema(h(o.id, o, "id"))) {
|
|
904
904
|
const u = e(o);
|
|
905
905
|
u && i.addSchema(u);
|
|
@@ -907,18 +907,18 @@ function jt(e, t, r) {
|
|
|
907
907
|
}), i;
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
|
-
var
|
|
910
|
+
var N = /* @__PURE__ */ (function(e) {
|
|
911
911
|
return e.OBJECT = "object", e.STRING = "string", e.NUMBER = "number", e.INTEGER = "integer", e.BOOLEAN = "boolean", e.ARRAY = "array", e;
|
|
912
912
|
})({});
|
|
913
|
-
function
|
|
913
|
+
function kt(e, t) {
|
|
914
914
|
return function(c) {
|
|
915
|
-
const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), g = r(m, T),
|
|
915
|
+
const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), g = r(m, T), y = t === O.UNRESTRICTED_UPDATE ? [] : m.filter((I) => !u(I)).filter(i).map((I) => h(I.target, I, "target"));
|
|
916
916
|
return {
|
|
917
917
|
$id: h(c.id, c, "id"),
|
|
918
|
-
type:
|
|
918
|
+
type: N.OBJECT,
|
|
919
919
|
properties: g,
|
|
920
920
|
additionalProperties: !1,
|
|
921
|
-
required:
|
|
921
|
+
required: y
|
|
922
922
|
};
|
|
923
923
|
};
|
|
924
924
|
function r(p, c) {
|
|
@@ -967,12 +967,12 @@ function Xt(e, t) {
|
|
|
967
967
|
return !!p.nestedFormId || ((E = (c = p.validation) == null ? void 0 : c.predefined) == null ? void 0 : E.format) === _.MULTILINE_ADDRESS;
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function Xt(e, t) {
|
|
971
971
|
return function(l) {
|
|
972
972
|
const p = l.formFields || [], c = l.deletedFormFields || [], E = p.filter(a), d = c.filter(a), m = n(E, d);
|
|
973
973
|
return {
|
|
974
974
|
$id: h(l.id, l, "id"),
|
|
975
|
-
type:
|
|
975
|
+
type: N.OBJECT,
|
|
976
976
|
properties: m,
|
|
977
977
|
additionalProperties: !1,
|
|
978
978
|
required: r(E)
|
|
@@ -1033,7 +1033,7 @@ function Kt(e, t) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
function J(e, t) {
|
|
1035
1035
|
return {
|
|
1036
|
-
type:
|
|
1036
|
+
type: N.BOOLEAN,
|
|
1037
1037
|
...zt(e, t)
|
|
1038
1038
|
};
|
|
1039
1039
|
}
|
|
@@ -1044,7 +1044,7 @@ function zt(e, t) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
function Q(e, t) {
|
|
1046
1046
|
return {
|
|
1047
|
-
type:
|
|
1047
|
+
type: N.NUMBER,
|
|
1048
1048
|
maximum: Number.MAX_SAFE_INTEGER,
|
|
1049
1049
|
minimum: Number.MIN_SAFE_INTEGER,
|
|
1050
1050
|
...Vt(e, t)
|
|
@@ -1066,7 +1066,7 @@ const Zt = [
|
|
|
1066
1066
|
function ge(e, t) {
|
|
1067
1067
|
const n = Qt(t, (e || {}).items);
|
|
1068
1068
|
return {
|
|
1069
|
-
type:
|
|
1069
|
+
type: N.ARRAY,
|
|
1070
1070
|
maxItems: ue,
|
|
1071
1071
|
...Jt(e, t),
|
|
1072
1072
|
...n && {
|
|
@@ -1091,7 +1091,7 @@ function Qt(e, t) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
function er(e, t) {
|
|
1093
1093
|
return {
|
|
1094
|
-
type:
|
|
1094
|
+
type: N.INTEGER,
|
|
1095
1095
|
maximum: Number.MAX_SAFE_INTEGER,
|
|
1096
1096
|
minimum: Number.MIN_SAFE_INTEGER,
|
|
1097
1097
|
...tr(e, t)
|
|
@@ -1124,7 +1124,7 @@ function K(e, t, r = O.UNKNOWN) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
function rr(e, t, r) {
|
|
1126
1126
|
return {
|
|
1127
|
-
type:
|
|
1127
|
+
type: N.ARRAY,
|
|
1128
1128
|
...t.maxItems && r !== O.UNRESTRICTED_UPDATE && {
|
|
1129
1129
|
maxItems: t.maxItems
|
|
1130
1130
|
},
|
|
@@ -1139,24 +1139,24 @@ function rr(e, t, r) {
|
|
|
1139
1139
|
function nr(e, t) {
|
|
1140
1140
|
if (t === O.UNRESTRICTED_UPDATE)
|
|
1141
1141
|
return {
|
|
1142
|
-
type:
|
|
1142
|
+
type: N.ARRAY,
|
|
1143
1143
|
items: {
|
|
1144
|
-
type:
|
|
1144
|
+
type: N.OBJECT,
|
|
1145
1145
|
properties: {
|
|
1146
1146
|
productId: {
|
|
1147
|
-
type:
|
|
1147
|
+
type: N.STRING
|
|
1148
1148
|
},
|
|
1149
1149
|
price: {
|
|
1150
1150
|
type: [
|
|
1151
|
-
|
|
1152
|
-
|
|
1151
|
+
N.STRING,
|
|
1152
|
+
N.NUMBER
|
|
1153
1153
|
]
|
|
1154
1154
|
},
|
|
1155
1155
|
quantity: {
|
|
1156
|
-
type:
|
|
1156
|
+
type: N.INTEGER
|
|
1157
1157
|
},
|
|
1158
1158
|
name: {
|
|
1159
|
-
type:
|
|
1159
|
+
type: N.STRING
|
|
1160
1160
|
}
|
|
1161
1161
|
},
|
|
1162
1162
|
uniqueItemProperties: [
|
|
@@ -1203,9 +1203,9 @@ function nr(e, t) {
|
|
|
1203
1203
|
}, t);
|
|
1204
1204
|
});
|
|
1205
1205
|
return {
|
|
1206
|
-
type:
|
|
1206
|
+
type: N.ARRAY,
|
|
1207
1207
|
items: {
|
|
1208
|
-
type:
|
|
1208
|
+
type: N.OBJECT,
|
|
1209
1209
|
anyOf: i
|
|
1210
1210
|
},
|
|
1211
1211
|
...xe({
|
|
@@ -1296,13 +1296,13 @@ const Oe = {
|
|
|
1296
1296
|
properties: {
|
|
1297
1297
|
startDate: {
|
|
1298
1298
|
string: {
|
|
1299
|
-
format:
|
|
1299
|
+
format: A.DATE_TIME
|
|
1300
1300
|
},
|
|
1301
1301
|
required: !0
|
|
1302
1302
|
},
|
|
1303
1303
|
endDate: {
|
|
1304
1304
|
string: {
|
|
1305
|
-
format:
|
|
1305
|
+
format: A.DATE_TIME
|
|
1306
1306
|
},
|
|
1307
1307
|
required: !0
|
|
1308
1308
|
},
|
|
@@ -1327,25 +1327,25 @@ function or() {
|
|
|
1327
1327
|
return function(s, i, o) {
|
|
1328
1328
|
var a, u = function(c, E, d) {
|
|
1329
1329
|
d === void 0 && (d = {});
|
|
1330
|
-
var m = new Date(c), T = (function(g,
|
|
1331
|
-
|
|
1332
|
-
var
|
|
1333
|
-
return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: g, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName:
|
|
1330
|
+
var m = new Date(c), T = (function(g, y) {
|
|
1331
|
+
y === void 0 && (y = {});
|
|
1332
|
+
var I = y.timeZoneName || "short", P = g + "|" + I, D = n[P];
|
|
1333
|
+
return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: g, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), n[P] = D), D;
|
|
1334
1334
|
})(E, d);
|
|
1335
1335
|
return T.formatToParts(m);
|
|
1336
1336
|
}, f = function(c, E) {
|
|
1337
1337
|
for (var d = u(c, E), m = [], T = 0; T < d.length; T += 1) {
|
|
1338
|
-
var g = d[T],
|
|
1339
|
-
P >= 0 && (m[P] = parseInt(
|
|
1338
|
+
var g = d[T], y = g.type, I = g.value, P = r[y];
|
|
1339
|
+
P >= 0 && (m[P] = parseInt(I, 10));
|
|
1340
1340
|
}
|
|
1341
1341
|
var D = m[3], F = D === 24 ? 0 : D, C = m[0] + "-" + m[1] + "-" + m[2] + " " + F + ":" + m[4] + ":" + m[5] + ":000", L = +c;
|
|
1342
1342
|
return (o.utc(C).valueOf() - (L -= L % 1e3)) / 6e4;
|
|
1343
1343
|
}, l = i.prototype;
|
|
1344
1344
|
l.tz = function(c, E) {
|
|
1345
1345
|
c === void 0 && (c = a);
|
|
1346
|
-
var d, m = this.utcOffset(), T = this.toDate(), g = T.toLocaleString("en-US", { timeZone: c }),
|
|
1347
|
-
if (!Number(
|
|
1348
|
-
else if (d = o(g, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(
|
|
1346
|
+
var d, m = this.utcOffset(), T = this.toDate(), g = T.toLocaleString("en-US", { timeZone: c }), y = Math.round((T - new Date(g)) / 1e3 / 60), I = 15 * -Math.round(T.getTimezoneOffset() / 15) - y;
|
|
1347
|
+
if (!Number(I)) d = this.utcOffset(0, E);
|
|
1348
|
+
else if (d = o(g, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(I, !0), E) {
|
|
1349
1349
|
var P = d.utcOffset();
|
|
1350
1350
|
d = d.add(m - P, "minute");
|
|
1351
1351
|
}
|
|
@@ -1364,12 +1364,12 @@ function or() {
|
|
|
1364
1364
|
}, o.tz = function(c, E, d) {
|
|
1365
1365
|
var m = d && E, T = d || E || a, g = f(+o(), T);
|
|
1366
1366
|
if (typeof c != "string") return o(c).tz(T);
|
|
1367
|
-
var
|
|
1367
|
+
var y = (function(F, C, L) {
|
|
1368
1368
|
var b = F - 60 * C * 1e3, $ = f(b, L);
|
|
1369
1369
|
if (C === $) return [b, C];
|
|
1370
1370
|
var se = f(b -= 60 * ($ - C) * 1e3, L);
|
|
1371
1371
|
return $ === se ? [b, $] : [F - 60 * Math.min($, se) * 1e3, Math.max($, se)];
|
|
1372
|
-
})(o.utc(c, m).valueOf(), g, T),
|
|
1372
|
+
})(o.utc(c, m).valueOf(), g, T), I = y[0], P = y[1], D = o(I).utcOffset(P);
|
|
1373
1373
|
return D.$x.$timezone = T, D;
|
|
1374
1374
|
}, o.tz.guess = function() {
|
|
1375
1375
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -1422,12 +1422,12 @@ function mr() {
|
|
|
1422
1422
|
var C = ("" + F[0]).match(s) || ["-", 0, 0], L = C[0], b = 60 * +C[1] + +C[2];
|
|
1423
1423
|
return b === 0 ? 0 : L === "+" ? b : -b;
|
|
1424
1424
|
})(m), m === null)) return this;
|
|
1425
|
-
var
|
|
1426
|
-
if (
|
|
1427
|
-
var
|
|
1428
|
-
if (T) return
|
|
1425
|
+
var y = Math.abs(m) <= 16 ? 60 * m : m;
|
|
1426
|
+
if (y === 0) return this.utc(T);
|
|
1427
|
+
var I = this.clone();
|
|
1428
|
+
if (T) return I.$offset = y, I.$u = !1, I;
|
|
1429
1429
|
var P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1430
|
-
return (
|
|
1430
|
+
return (I = this.local().add(y + P, r)).$offset = y, I.$x.$localOffset = P, I;
|
|
1431
1431
|
};
|
|
1432
1432
|
var c = u.format;
|
|
1433
1433
|
u.format = function(m) {
|
|
@@ -1450,8 +1450,8 @@ function mr() {
|
|
|
1450
1450
|
var d = u.diff;
|
|
1451
1451
|
u.diff = function(m, T, g) {
|
|
1452
1452
|
if (m && this.$u === m.$u) return d.call(this, m, T, g);
|
|
1453
|
-
var
|
|
1454
|
-
return d.call(
|
|
1453
|
+
var y = this.local(), I = a(m).local();
|
|
1454
|
+
return d.call(y, I, T, g);
|
|
1455
1455
|
};
|
|
1456
1456
|
};
|
|
1457
1457
|
}));
|
|
@@ -1475,35 +1475,35 @@ function hr(e, t, r = () => /* @__PURE__ */ new Date(), n) {
|
|
|
1475
1475
|
} : s;
|
|
1476
1476
|
}
|
|
1477
1477
|
function ae(e, t, r, n) {
|
|
1478
|
-
if (!r ||
|
|
1478
|
+
if (!r || Ir(r))
|
|
1479
1479
|
return r;
|
|
1480
1480
|
if (Rr(r)) {
|
|
1481
|
-
const s = n ? re(t().toISOString()).tz(n) : pr(t().toISOString()), i =
|
|
1482
|
-
return i ? e ===
|
|
1481
|
+
const s = n ? re(t().toISOString()).tz(n) : pr(t().toISOString()), i = Ar(r, s);
|
|
1482
|
+
return i ? e === A.DATE_TIME || e === A.DATE_OPTIONAL_TIME || !n ? i.utc().format(Me(e)) : i.format(Me(e)) : void 0;
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
1485
|
function Rr(e) {
|
|
1486
1486
|
return we.test(e);
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function Ir(e) {
|
|
1489
1489
|
return lr.test(e) || Er.test(e) || Tr.test(e);
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function Ar(e, t) {
|
|
1492
1492
|
if (e === "$now")
|
|
1493
1493
|
return t;
|
|
1494
1494
|
try {
|
|
1495
|
-
const [, r, n, s] = e.match(we) ?? [], i =
|
|
1496
|
-
return i && o ?
|
|
1495
|
+
const [, r, n, s] = e.match(we) ?? [], i = yr(n), o = gr(s);
|
|
1496
|
+
return i && o ? Nr(t, r)(i, o) : void 0;
|
|
1497
1497
|
} catch (r) {
|
|
1498
1498
|
console.error(`Failed to parse format ${e}`, r);
|
|
1499
1499
|
return;
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1502
|
+
function yr(e) {
|
|
1503
1503
|
const t = parseInt(e, 10);
|
|
1504
1504
|
return isNaN(t) ? void 0 : t;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function Nr(e, t) {
|
|
1507
1507
|
switch (t) {
|
|
1508
1508
|
case "+":
|
|
1509
1509
|
return e.add.bind(e);
|
|
@@ -1525,12 +1525,12 @@ function gr(e) {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
function Me(e) {
|
|
1527
1527
|
switch (e) {
|
|
1528
|
-
case
|
|
1528
|
+
case A.DATE:
|
|
1529
1529
|
return "YYYY-MM-DD";
|
|
1530
|
-
case
|
|
1530
|
+
case A.TIME:
|
|
1531
1531
|
return "HH:mm:ss";
|
|
1532
|
-
case
|
|
1533
|
-
case
|
|
1532
|
+
case A.DATE_TIME:
|
|
1533
|
+
case A.DATE_OPTIONAL_TIME:
|
|
1534
1534
|
return "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1535
1535
|
default:
|
|
1536
1536
|
return;
|
|
@@ -1540,7 +1540,7 @@ const ce = 2e4;
|
|
|
1540
1540
|
function ee(e, t) {
|
|
1541
1541
|
const r = Or(e) ? Wt(Fe, e) : {};
|
|
1542
1542
|
return {
|
|
1543
|
-
type:
|
|
1543
|
+
type: N.STRING,
|
|
1544
1544
|
maxLength: ce,
|
|
1545
1545
|
...r,
|
|
1546
1546
|
...Dr(e),
|
|
@@ -1573,43 +1573,43 @@ function Dr(e) {
|
|
|
1573
1573
|
} : {};
|
|
1574
1574
|
}
|
|
1575
1575
|
const Mr = {
|
|
1576
|
-
[
|
|
1576
|
+
[A.DATE]: [
|
|
1577
1577
|
"date"
|
|
1578
1578
|
],
|
|
1579
|
-
[
|
|
1579
|
+
[A.TIME]: [
|
|
1580
1580
|
"time"
|
|
1581
1581
|
],
|
|
1582
|
-
[
|
|
1582
|
+
[A.DATE_TIME]: [
|
|
1583
1583
|
"date-time"
|
|
1584
1584
|
],
|
|
1585
|
-
[
|
|
1585
|
+
[A.EMAIL]: [
|
|
1586
1586
|
"email"
|
|
1587
1587
|
],
|
|
1588
|
-
[
|
|
1588
|
+
[A.URL]: [
|
|
1589
1589
|
"url"
|
|
1590
1590
|
],
|
|
1591
|
-
[
|
|
1591
|
+
[A.UUID]: [
|
|
1592
1592
|
"uuid"
|
|
1593
1593
|
],
|
|
1594
|
-
[
|
|
1594
|
+
[A.PHONE]: [
|
|
1595
1595
|
"phone"
|
|
1596
1596
|
],
|
|
1597
|
-
[
|
|
1597
|
+
[A.URI]: [
|
|
1598
1598
|
"uri"
|
|
1599
1599
|
],
|
|
1600
|
-
[
|
|
1600
|
+
[A.HOSTNAME]: [
|
|
1601
1601
|
"hostname"
|
|
1602
1602
|
],
|
|
1603
|
-
[
|
|
1603
|
+
[A.COLOR_HEX]: [
|
|
1604
1604
|
"color-hex"
|
|
1605
1605
|
],
|
|
1606
|
-
[
|
|
1606
|
+
[A.CURRENCY]: [
|
|
1607
1607
|
"currency"
|
|
1608
1608
|
],
|
|
1609
|
-
[
|
|
1609
|
+
[A.LANGUAGE]: [
|
|
1610
1610
|
"language"
|
|
1611
1611
|
],
|
|
1612
|
-
[
|
|
1612
|
+
[A.DATE_OPTIONAL_TIME]: [
|
|
1613
1613
|
"date-time",
|
|
1614
1614
|
"date"
|
|
1615
1615
|
],
|
|
@@ -1660,7 +1660,7 @@ function Y(e, t = void 0, r = O.UNKNOWN) {
|
|
|
1660
1660
|
function te(e, t) {
|
|
1661
1661
|
const r = Lr(t, e.properties);
|
|
1662
1662
|
return {
|
|
1663
|
-
type:
|
|
1663
|
+
type: N.OBJECT,
|
|
1664
1664
|
additionalProperties: !1,
|
|
1665
1665
|
properties: r,
|
|
1666
1666
|
...Cr(e, t)
|
|
@@ -1698,7 +1698,7 @@ function Ur(e, t) {
|
|
|
1698
1698
|
var o, a;
|
|
1699
1699
|
const r = h(e.arrayOptions, e, "arrayOptions"), n = me(j((o = r.checkboxGroupOptions) == null ? void 0 : o.customOption), (a = r.checkboxGroupOptions) == null ? void 0 : a.options), s = h(r.validation, r, "validation"), i = $r(t, s.items, n);
|
|
1700
1700
|
return {
|
|
1701
|
-
type:
|
|
1701
|
+
type: N.ARRAY,
|
|
1702
1702
|
...G(vr, s, {
|
|
1703
1703
|
maxItems: (u) => Math.min(u ?? Pe, Pe)
|
|
1704
1704
|
}),
|
|
@@ -1781,7 +1781,7 @@ function x(e, t, r) {
|
|
|
1781
1781
|
writable: !0
|
|
1782
1782
|
}) : e[t] = r, e;
|
|
1783
1783
|
}
|
|
1784
|
-
class
|
|
1784
|
+
class yn {
|
|
1785
1785
|
validateFields(t, r, n) {
|
|
1786
1786
|
const s = [
|
|
1787
1787
|
n ?? []
|
|
@@ -1935,7 +1935,7 @@ class Nn {
|
|
|
1935
1935
|
return !!((s = t == null ? void 0 : t.properties) != null && s.disabled || r);
|
|
1936
1936
|
}
|
|
1937
1937
|
getFormSchemaMapper() {
|
|
1938
|
-
return this.platformisedFieldBasedValidation ?
|
|
1938
|
+
return this.platformisedFieldBasedValidation ? Xt(wr, this.validationMode ?? O.UNKNOWN) : kt(Y, this.validationMode ?? O.UNKNOWN);
|
|
1939
1939
|
}
|
|
1940
1940
|
initAJvWithSchemas(t, r) {
|
|
1941
1941
|
const n = this.getFormSchemaMapper(), s = jt(n, this.validationMode !== O.UNRESTRICTED_UPDATE, this.lenientPhoneValidation), i = this.formSchemas.flatMap((u) => (u.nestedForms || []).flatMap(({ targets: f, form: l }) => (f || []).map((p) => ({
|
|
@@ -1962,7 +1962,7 @@ function Yr(e) {
|
|
|
1962
1962
|
function Se(e) {
|
|
1963
1963
|
return !!e.target;
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1965
|
+
function Nn(e, t) {
|
|
1966
1966
|
return {
|
|
1967
1967
|
errors: Gr(e, t)
|
|
1968
1968
|
};
|
|
@@ -1974,7 +1974,7 @@ function Gr(e, t) {
|
|
|
1974
1974
|
...t.fields ?? [],
|
|
1975
1975
|
...t.deletedFields ?? []
|
|
1976
1976
|
].filter(Se).reduce((i, o) => (i[h(o.target, o, "target")] = o, i), {});
|
|
1977
|
-
return r.map((i) => Br(i, n[h(i.target, i, "target")])).filter(
|
|
1977
|
+
return r.map((i) => Br(i, n[h(i.target, i, "target")])).filter(At);
|
|
1978
1978
|
}
|
|
1979
1979
|
function Br(e, t) {
|
|
1980
1980
|
if (!t)
|
|
@@ -2015,7 +2015,7 @@ function pe(e, t) {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
2017
|
function qr(e, t) {
|
|
2018
|
-
const r = e.format ??
|
|
2018
|
+
const r = e.format ?? A.UNDEFINED, n = t.format ?? A.UNDEFINED;
|
|
2019
2019
|
return r !== n ? {
|
|
2020
2020
|
errorMessage: "Incompatible string format",
|
|
2021
2021
|
params: {
|
|
@@ -2056,7 +2056,7 @@ var fe;
|
|
|
2056
2056
|
(function(e) {
|
|
2057
2057
|
e.UNKNOWN_FEATURE = "UNKNOWN_FEATURE", e.FILE_UPLOAD_FIELD = "FILE_UPLOAD_FIELD", e.ACCEPT_PAYMENTS = "ACCEPT_PAYMENTS", e.REMOVE_WIX_BRANDING = "REMOVE_WIX_BRANDING", e.SIGNATURE_FIELD = "SIGNATURE_FIELD", e.FILE_DOWNLOAD = "FILE_DOWNLOAD";
|
|
2058
2058
|
})(fe || (fe = {}));
|
|
2059
|
-
const
|
|
2059
|
+
const kr = "FILE_UPLOAD";
|
|
2060
2060
|
function gn(e, t, r) {
|
|
2061
2061
|
var s, i, o, a;
|
|
2062
2062
|
const n = [
|
|
@@ -2074,17 +2074,17 @@ function gn(e, t, r) {
|
|
|
2074
2074
|
})
|
|
2075
2075
|
];
|
|
2076
2076
|
if (nn(r)) {
|
|
2077
|
-
const u =
|
|
2077
|
+
const u = X(r.currentForm), f = X(t);
|
|
2078
2078
|
return {
|
|
2079
2079
|
errors: be(n, f, u)
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
2082
2082
|
if (sn(r)) {
|
|
2083
|
-
const u =
|
|
2083
|
+
const u = X(), f = X(t);
|
|
2084
2084
|
return {
|
|
2085
2085
|
errors: be([
|
|
2086
2086
|
...n,
|
|
2087
|
-
|
|
2087
|
+
Xr(W((a = e.formsLimit) == null ? void 0 : a.limit), h(r.existingFormsCount, r, "existingFormsCount"))
|
|
2088
2088
|
], f, u)
|
|
2089
2089
|
};
|
|
2090
2090
|
}
|
|
@@ -2093,7 +2093,7 @@ function gn(e, t, r) {
|
|
|
2093
2093
|
function be(e, t, r) {
|
|
2094
2094
|
return e.map((n) => n(t, r)).filter(Boolean).map((n) => n);
|
|
2095
2095
|
}
|
|
2096
|
-
const
|
|
2096
|
+
const Xr = (e, t) => () => ne(e, t, t + 1) ? Jr(e) : null, Wr = ({ limit: e }) => (t, r) => ne(e, r.inputFieldsCount, t.inputFieldsCount) || le(e, r.inputFieldsCount, t.inputFieldIds, r.inputFieldIds) ? Qr(e) : null, Kr = ({ limit: e }) => (t, r) => ne(e, r.stepsCount, t.stepsCount) || le(e, r.stepsCount, t.stepsIds, r.stepsIds) ? en(e) : null, zr = ({ limit: e }) => (t, r) => ne(e, r.rulesCount, t.rulesCount) || le(e, r.rulesCount, t.rulesIds, r.rulesIds) ? tn(e) : null, Vr = ({ featureRestricted: e }) => (t, r) => Ye(t.fileUploadFieldIds, r.fileUploadFieldIds).length && e(fe.FILE_UPLOAD_FIELD) ? rn() : null;
|
|
2097
2097
|
function Ye(e, t) {
|
|
2098
2098
|
const r = new Set(t);
|
|
2099
2099
|
return e.filter((n) => !r.has(n));
|
|
@@ -2152,7 +2152,7 @@ function rn() {
|
|
|
2152
2152
|
errorMessage: "File upload field is not enabled for the given site"
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
2155
|
-
function
|
|
2155
|
+
function X(e) {
|
|
2156
2156
|
const t = e ?? {}, r = (t.fields ?? []).filter((n) => !!n.target);
|
|
2157
2157
|
return {
|
|
2158
2158
|
inputFieldsCount: r.length,
|
|
@@ -2161,7 +2161,7 @@ function k(e) {
|
|
|
2161
2161
|
inputFieldIds: r.map((n) => n.id),
|
|
2162
2162
|
stepsIds: (t.steps ?? []).map((n) => n.id),
|
|
2163
2163
|
rulesIds: (t.rules ?? []).map((n) => n.id),
|
|
2164
|
-
fileUploadFieldIds: (t.fields ?? []).filter((n) => (n.view ?? {}).fieldType ===
|
|
2164
|
+
fileUploadFieldIds: (t.fields ?? []).filter((n) => (n.view ?? {}).fieldType === kr).map((n) => n.id)
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
2167
|
function nn(e) {
|
|
@@ -2276,11 +2276,11 @@ export {
|
|
|
2276
2276
|
S as DateFieldErrorSuffix,
|
|
2277
2277
|
v as DateTimeFieldErrorSuffix,
|
|
2278
2278
|
R as ErrorTypes,
|
|
2279
|
-
|
|
2279
|
+
kr as FILE_UPLOAD_FIELD_TYPE,
|
|
2280
2280
|
On as FormSchemaValidator,
|
|
2281
|
-
|
|
2281
|
+
yn as FormValidator,
|
|
2282
2282
|
O as ValidationMode,
|
|
2283
|
-
|
|
2283
|
+
Nn as compareSchemaBackwardCompatibility,
|
|
2284
2284
|
un as getDefaultValue,
|
|
2285
2285
|
Mn as groupErrorsByTarget,
|
|
2286
2286
|
et as isDateAvailable,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
1
|
+
import { b2 as n } from "./form-C6lnbh2O.js";
|
|
2
|
+
import { A as S, a as p, C as N, ax as g, aO as q, aP as D, b4 as L } from "./form-C6lnbh2O.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -52,9 +52,9 @@ function m(e, r) {
|
|
|
52
52
|
}, t == null ? void 0 : t.key).replace(/^[\s,]+|[\s,]+$/g, "");
|
|
53
53
|
}
|
|
54
54
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
S as ADDRESS_FORM_IDS,
|
|
56
|
+
p as ADDRESS_FORM_ID_BY_COUNTRY,
|
|
57
|
+
N as COUNTRY_CODES,
|
|
58
58
|
g as MultilineAddressToolkit,
|
|
59
59
|
m as formatMultilineAddress,
|
|
60
60
|
q as getCountryField,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aG as c } from "./form-C6lnbh2O.js";
|
|
2
2
|
var b, d;
|
|
3
3
|
function k() {
|
|
4
4
|
if (d) return b;
|
|
@@ -48,7 +48,7 @@ function P() {
|
|
|
48
48
|
return l = t, l;
|
|
49
49
|
}
|
|
50
50
|
var j, q;
|
|
51
|
-
function
|
|
51
|
+
function N() {
|
|
52
52
|
if (q) return j;
|
|
53
53
|
q = 1;
|
|
54
54
|
var r = R(), e = L(), t = P(), i = "[object Null]", o = "[object Undefined]", u = r ? r.toStringTag : void 0;
|
|
@@ -58,7 +58,7 @@ function F() {
|
|
|
58
58
|
return j = n, j;
|
|
59
59
|
}
|
|
60
60
|
var v, m;
|
|
61
|
-
function
|
|
61
|
+
function U() {
|
|
62
62
|
if (m) return v;
|
|
63
63
|
m = 1;
|
|
64
64
|
function r(e) {
|
|
@@ -68,7 +68,7 @@ function N() {
|
|
|
68
68
|
return v = r, v;
|
|
69
69
|
}
|
|
70
70
|
var T, p;
|
|
71
|
-
function
|
|
71
|
+
function z() {
|
|
72
72
|
if (p) return T;
|
|
73
73
|
p = 1;
|
|
74
74
|
function r(e) {
|
|
@@ -77,10 +77,10 @@ function U() {
|
|
|
77
77
|
return T = r, T;
|
|
78
78
|
}
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
z as a,
|
|
81
81
|
R as b,
|
|
82
|
-
|
|
82
|
+
N as c,
|
|
83
83
|
k as d,
|
|
84
84
|
I as e,
|
|
85
|
-
|
|
85
|
+
U as r
|
|
86
86
|
};
|