@wix/form-elements 1.74.0 → 1.76.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-BQsFMmBg.js +1016 -0
- package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-AJNyTdok.js} +1 -1
- package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
- package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
- package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
- package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
- package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-4zG3Sf1c.js} +328 -320
- package/dist/component/checkbox-group-field-headless-DN2aNw9g.js +205 -0
- package/dist/component/checkbox-group-field-rac-B1qhet83.js +41 -0
- package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
- package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
- package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CFWQW9_K.js} +1 -1
- package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
- package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-8queUhWT.js} +1 -1
- package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-CYOs5N_I.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
- package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
- package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
- package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-wA-aw5Id.js} +1 -1
- package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
- package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
- package/dist/component/{date-availability-DBljhBgO.js → date-availability-CeiMjrtD.js} +1 -1
- package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-CVaajAFM.js} +30 -30
- package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-DhEzawuM.js} +1 -1
- package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-1Q6yyNmK.js} +35 -35
- package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-BCGtmXMJ.js} +1 -1
- package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-Dd-HNgKP.js} +35 -35
- package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CsCWEsH5.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
- package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
- package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-GRltutt5.js} +1 -1
- package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-74Y8S9GA.js} +1 -1
- package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
- package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-DObx_gOd.js} +1 -1
- package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
- package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-Vif4x1yF.js} +2 -2
- package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
- package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
- package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
- package/dist/component/donation-rac-bgHep0Xi.js +307 -0
- package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
- package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-DGiysJQY.js} +7 -7
- package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-FHjz8fKp.js} +1 -1
- package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-DSbpf4z8.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +6 -6
- package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-BQKK2O7L.js} +44 -44
- package/dist/component/events-repeater-rac-Dudnyhal.js +255 -0
- package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-008H5Ska.js} +3 -3
- package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-C5ZsFUKv.js} +1 -1
- package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-CS5OYsiI.js} +1 -1
- package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
- package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-bQ2QOO8Q.js} +48 -48
- package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-B6FvXoCU.js} +17 -17
- package/dist/component/{form-C6WwBcGP.js → form-BpHElSwH.js} +69 -69
- package/dist/component/form-element-classes-BXNs5k3q.js +119 -0
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-D4UYcmok.js} +3 -3
- package/dist/component/{header-rac-C_JE2cTg.js → header-rac-KavPiBdn.js} +1 -1
- package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-BJQqBhBD.js} +35 -36
- package/dist/component/{index-CIOoaQ8Z.js → index-RSEYrQef.js} +2 -2
- package/dist/component/{index-C2srcuHD.js → index-Y8iTxLat.js} +4 -4
- package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-jwHec4Ap.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-D4Ibno80.js} +110 -110
- package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-CrTSjzBN.js} +1 -1
- package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
- package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-CdE_hRbA.js} +1 -1
- package/dist/component/{password-rac-D62npVHY.js → password-rac-BCxl5mMQ.js} +20 -20
- package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-DmO4s4ue.js} +9 -9
- package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-BYAnwk5h.js} +25 -25
- package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-gS4k9Yn8.js} +1 -1
- package/dist/component/product-list-rac-CO0o3yOg.js +271 -0
- package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
- package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-DdlyQ3m6.js} +3 -3
- package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
- package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-B-9q91fJ.js} +1 -1
- package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-VDaJKq-n.js} +27 -28
- package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-BVO62LmE.js} +1 -1
- package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
- package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
- package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BG376ww9.js} +1 -1
- package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-Dy6-OpVR.js} +18 -18
- package/dist/component/services-multi-choice-rac-BKW9MP_b.js +84 -0
- package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-Cxgixp4o.js} +56 -56
- package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-BqPJ7WPI.js} +2 -2
- package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-wwqpztG7.js} +36 -37
- package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-DUxITYxU.js} +1 -1
- package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Cen6O33S.js} +16 -16
- package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-CRlO56GA.js} +1 -1
- package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-CbnKn03g.js} +6 -6
- package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-C_NTJmLe.js} +3 -3
- package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-DvwV7Igm.js} +1 -1
- package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-TSEXiODs.js} +15 -15
- package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-Cxgh9T8s.js} +20 -20
- package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DNw-Jg1U.js} +1 -1
- package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
- package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-EFrxTpGm.js} +1 -1
- package/package.json +2 -2
- package/dist/component/appointment-rac-Bze1s2XD.js +0 -1005
- package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
- package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
- package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
- package/dist/component/donation-rac-FYQIMm5m.js +0 -308
- package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
- package/dist/component/field-rac.module-Cac83bU5.js +0 -21
- package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
- package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
- package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
- package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
|
@@ -2,19 +2,19 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import C from "classnames";
|
|
3
3
|
import n, { useMemo as w, createContext as We, useContext as De, useState as ye, useRef as B, useCallback as D, useEffect as Ve } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as
|
|
5
|
+
import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as Mt, u as qt, z as V, F as K, as as Me, a2 as at, ai as P, af as T, ak as le, ae as Ct, Q as wt, C as he, a0 as xt, a4 as Bt, ap as kt, aj as $t, ao as Ut, a7 as Wt, Y as Vt, a6 as Kt, al as Yt, j as Ht } from "./form-BpHElSwH.js";
|
|
6
6
|
import { f as E, a as h } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { F as
|
|
7
|
+
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
8
|
import { TextField as Ce, Input as ie, ComboBoxStateContext as It, ComboBox as Re, Popover as Ae, ListBox as _e, ListBoxItem as Pe, Group as Lt, Button as Nt } from "react-aria-components";
|
|
9
|
-
import { D as ce, E as de } from "./field-error-headless-
|
|
10
|
-
import { L as ue } from "./field-label-headless-
|
|
11
|
-
import { e as zt, c as Gt, a as
|
|
12
|
-
import { u as
|
|
9
|
+
import { D as ce, E as de } from "./field-error-headless-C5ZsFUKv.js";
|
|
10
|
+
import { L as ue } from "./field-label-headless-CS5OYsiI.js";
|
|
11
|
+
import { e as zt, c as Gt, a as Qt, r as Ot } from "./isObjectLike-jwHec4Ap.js";
|
|
12
|
+
import { u as Xt } from "./use-invoke-callback-UH73A_J3.js";
|
|
13
13
|
import { C as lt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
14
|
-
import { E as
|
|
14
|
+
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { H as fe } from "./custom-focus-class-_483Pkwp.js";
|
|
16
|
-
import { s as f } from "./field-rac.module-
|
|
17
|
-
import { z as
|
|
16
|
+
import { s as f } from "./field-rac.module-DjmaTYkc.js";
|
|
17
|
+
import { z as X, Q as Z, y as ee, B as ge, p as te, i as ne } from "./form-element-classes-BXNs5k3q.js";
|
|
18
18
|
const Zt = (e, t, o) => {
|
|
19
19
|
var a, l, i, s;
|
|
20
20
|
const r = (a = e.steps) == null ? void 0 : a.map((d) => {
|
|
@@ -81,7 +81,7 @@ function Ne() {
|
|
|
81
81
|
const e = De(vt);
|
|
82
82
|
return e == null ? void 0 : e.countryCode;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function qe(e) {
|
|
85
85
|
return e != null;
|
|
86
86
|
}
|
|
87
87
|
function rn(e, t, o) {
|
|
@@ -95,10 +95,10 @@ function rn(e, t, o) {
|
|
|
95
95
|
...r.view,
|
|
96
96
|
...l
|
|
97
97
|
},
|
|
98
|
-
...
|
|
98
|
+
...qe(a) && {
|
|
99
99
|
hidden: !a
|
|
100
100
|
},
|
|
101
|
-
...
|
|
101
|
+
...qe(i) && qe(r.validation) && {
|
|
102
102
|
validation: {
|
|
103
103
|
...r.validation,
|
|
104
104
|
required: i
|
|
@@ -181,7 +181,7 @@ const on = (e, t) => e.map((o) => ({
|
|
|
181
181
|
}, [
|
|
182
182
|
i,
|
|
183
183
|
s
|
|
184
|
-
]), F = w(() =>
|
|
184
|
+
]), F = w(() => Mt(), []);
|
|
185
185
|
return {
|
|
186
186
|
form: w(() => {
|
|
187
187
|
var _, O;
|
|
@@ -190,7 +190,7 @@ const on = (e, t) => e.map((o) => ({
|
|
|
190
190
|
...r,
|
|
191
191
|
fields: on(r.fields, d)
|
|
192
192
|
};
|
|
193
|
-
const g =
|
|
193
|
+
const g = qt({
|
|
194
194
|
useFieldsV2: u,
|
|
195
195
|
path: t,
|
|
196
196
|
parentId: e,
|
|
@@ -201,10 +201,10 @@ const on = (e, t) => e.map((o) => ({
|
|
|
201
201
|
});
|
|
202
202
|
if (!g.fields.some((v) => v.properties.hidden))
|
|
203
203
|
return g;
|
|
204
|
-
const
|
|
204
|
+
const M = un(g);
|
|
205
205
|
return {
|
|
206
|
-
...
|
|
207
|
-
fields:
|
|
206
|
+
...M,
|
|
207
|
+
fields: M.fields.filter((v) => !v.properties.hidden)
|
|
208
208
|
};
|
|
209
209
|
}, [
|
|
210
210
|
p,
|
|
@@ -240,7 +240,7 @@ function me(e) {
|
|
|
240
240
|
return t.fields[e];
|
|
241
241
|
}
|
|
242
242
|
function be(e) {
|
|
243
|
-
const { t } =
|
|
243
|
+
const { t } = Me(), o = Ne(), r = o && at.getCountryByShortKey(o), l = (r ? r.addressPartDisplayNames : at.getDefaultAddressDisplayNames())[e];
|
|
244
244
|
return l ? t(l) : "";
|
|
245
245
|
}
|
|
246
246
|
const re = ({ children: e }) => {
|
|
@@ -342,7 +342,7 @@ var ke, ut;
|
|
|
342
342
|
function In() {
|
|
343
343
|
if (ut) return ke;
|
|
344
344
|
ut = 1;
|
|
345
|
-
var e = Gt(), t =
|
|
345
|
+
var e = Gt(), t = Qt(), o = "[object Symbol]";
|
|
346
346
|
function r(a) {
|
|
347
347
|
return typeof a == "symbol" || t(a) && e(a) == o;
|
|
348
348
|
}
|
|
@@ -384,7 +384,7 @@ function Nn() {
|
|
|
384
384
|
var J = u, Ee = I;
|
|
385
385
|
return u = I = void 0, N = A, b = s.apply(Ee, J), b;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function M(A) {
|
|
388
388
|
return N = A, p = setTimeout(v, d), F ? R(A) : b;
|
|
389
389
|
}
|
|
390
390
|
function _(A) {
|
|
@@ -407,20 +407,20 @@ function Nn() {
|
|
|
407
407
|
function x() {
|
|
408
408
|
p !== void 0 && clearTimeout(p), N = 0, u = y = I = p = void 0;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function q() {
|
|
411
411
|
return p === void 0 ? b : pe(t());
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function j() {
|
|
414
414
|
var A = t(), J = O(A);
|
|
415
415
|
if (u = arguments, I = this, y = A, J) {
|
|
416
416
|
if (p === void 0)
|
|
417
|
-
return
|
|
417
|
+
return M(y);
|
|
418
418
|
if (S)
|
|
419
419
|
return clearTimeout(p), p = setTimeout(v, d), R(y);
|
|
420
420
|
}
|
|
421
421
|
return p === void 0 && (p = setTimeout(v, d)), b;
|
|
422
422
|
}
|
|
423
|
-
return
|
|
423
|
+
return j.cancel = x, j.flush = q, j;
|
|
424
424
|
}
|
|
425
425
|
return Ue = i, Ue;
|
|
426
426
|
}
|
|
@@ -576,7 +576,7 @@ const gn = /* @__PURE__ */ wt(On), vn = (e, t, o = 200) => {
|
|
|
576
576
|
d == null || d();
|
|
577
577
|
}, [
|
|
578
578
|
d
|
|
579
|
-
]),
|
|
579
|
+
]), M = E(e, k.Input), _ = E(e, k.Options);
|
|
580
580
|
return /* @__PURE__ */ n.createElement(Re, {
|
|
581
581
|
"aria-labelledby": m,
|
|
582
582
|
inputValue: t ?? "",
|
|
@@ -592,7 +592,7 @@ const gn = /* @__PURE__ */ wt(On), vn = (e, t, o = 200) => {
|
|
|
592
592
|
allowsCustomValue: !0,
|
|
593
593
|
menuTrigger: "input",
|
|
594
594
|
items: N
|
|
595
|
-
}, h(
|
|
595
|
+
}, h(M, {
|
|
596
596
|
onFocus: R
|
|
597
597
|
}), h(_, {
|
|
598
598
|
options: N
|
|
@@ -612,8 +612,8 @@ const gn = /* @__PURE__ */ wt(On), vn = (e, t, o = 200) => {
|
|
|
612
612
|
placeholder: r,
|
|
613
613
|
onFocus: i
|
|
614
614
|
});
|
|
615
|
-
},
|
|
616
|
-
const o = E(e,
|
|
615
|
+
}, He = ({ children: e, className: t }) => {
|
|
616
|
+
const o = E(e, He.Option);
|
|
617
617
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
618
618
|
className: t,
|
|
619
619
|
containerPadding: 0,
|
|
@@ -632,14 +632,14 @@ const gn = /* @__PURE__ */ wt(On), vn = (e, t, o = 200) => {
|
|
|
632
632
|
textValue: r
|
|
633
633
|
}, r);
|
|
634
634
|
};
|
|
635
|
-
|
|
635
|
+
He.Option = Dn;
|
|
636
636
|
k.Label = ue;
|
|
637
637
|
k.Input = Sn;
|
|
638
|
-
k.Options =
|
|
638
|
+
k.Options = He;
|
|
639
639
|
k.Description = ce;
|
|
640
640
|
k.Error = de;
|
|
641
641
|
const oe = ({ children: e }) => {
|
|
642
|
-
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: I } = T(), { t: L } =
|
|
642
|
+
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: I } = T(), { t: L } = Me(), b = L("field.mla-apartment.label"), p = E(e, oe.Label), y = E(e, oe.Input), N = E(e, oe.Description), F = E(e, oe.Error);
|
|
643
643
|
return /* @__PURE__ */ n.createElement(u, {
|
|
644
644
|
fieldId: t,
|
|
645
645
|
renderLabel: () => h(p, {
|
|
@@ -722,7 +722,7 @@ const Dt = ({ readOnly: e, disabled: t } = {}) => {
|
|
|
722
722
|
t
|
|
723
723
|
]);
|
|
724
724
|
}, _n = (e, t) => e.find((o) => o.label.toLocaleLowerCase() === t.toLocaleLowerCase().trim()), Rt = ({ options: e, value: t, commit: o, clear: r, onBlur: a }) => {
|
|
725
|
-
const [l, i] = ye(null), s =
|
|
725
|
+
const [l, i] = ye(null), s = Xt(a), d = w(() => {
|
|
726
726
|
var b;
|
|
727
727
|
return t ? ((b = e.find((p) => p.value === t)) == null ? void 0 : b.label) ?? "" : "";
|
|
728
728
|
}, [
|
|
@@ -765,10 +765,10 @@ const Dt = ({ readOnly: e, disabled: t } = {}) => {
|
|
|
765
765
|
onInputKeyDown: I
|
|
766
766
|
};
|
|
767
767
|
}, Y = ({ children: e }) => {
|
|
768
|
-
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, options: I } = P(), { labelId: L } = T(), { t: b } =
|
|
769
|
-
value:
|
|
770
|
-
label: b(`locale-dataset.countries.${he[
|
|
771
|
-
}), x), []).sort((x,
|
|
768
|
+
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, options: I } = P(), { labelId: L } = T(), { t: b } = Me(), { language: p } = yt(), y = w(() => (I || []).reduce((x, q) => (q.value && he.hasOwnProperty(q.value) && x.push({
|
|
769
|
+
value: q.value,
|
|
770
|
+
label: b(`locale-dataset.countries.${he[q.value].toUpperCase()}`)
|
|
771
|
+
}), x), []).sort((x, q) => x.label.localeCompare(q.label, p)), [
|
|
772
772
|
I,
|
|
773
773
|
b,
|
|
774
774
|
p
|
|
@@ -782,10 +782,10 @@ const Dt = ({ readOnly: e, disabled: t } = {}) => {
|
|
|
782
782
|
commit: N,
|
|
783
783
|
clear: F,
|
|
784
784
|
onBlur: d
|
|
785
|
-
}), R = be("country"),
|
|
785
|
+
}), R = be("country"), M = E(e, Y.Label), _ = E(e, Y.Control), O = E(e, Y.Options), v = E(e, Y.Description), pe = E(e, Y.Error);
|
|
786
786
|
return /* @__PURE__ */ n.createElement(u, {
|
|
787
787
|
fieldId: t,
|
|
788
|
-
renderLabel: () => h(
|
|
788
|
+
renderLabel: () => h(M, {
|
|
789
789
|
label: R
|
|
790
790
|
}),
|
|
791
791
|
renderInput: () => /* @__PURE__ */ n.createElement(Re, {
|
|
@@ -835,8 +835,8 @@ const Dt = ({ readOnly: e, disabled: t } = {}) => {
|
|
|
835
835
|
}, e);
|
|
836
836
|
Fe.Input = Pn;
|
|
837
837
|
Fe.Trigger = Tn;
|
|
838
|
-
const
|
|
839
|
-
const { options: r } = o, a = E(e,
|
|
838
|
+
const je = ({ children: e, className: t, ...o }) => {
|
|
839
|
+
const { options: r } = o, a = E(e, je.Option);
|
|
840
840
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
841
841
|
className: t,
|
|
842
842
|
containerPadding: 0,
|
|
@@ -846,7 +846,7 @@ const He = ({ children: e, className: t, ...o }) => {
|
|
|
846
846
|
value: l.value,
|
|
847
847
|
label: l.label
|
|
848
848
|
}))));
|
|
849
|
-
},
|
|
849
|
+
}, Mn = ({ className: e, ...t }) => {
|
|
850
850
|
const { value: o, label: r } = t;
|
|
851
851
|
return /* @__PURE__ */ n.createElement(Pe, {
|
|
852
852
|
className: e,
|
|
@@ -854,16 +854,16 @@ const He = ({ children: e, className: t, ...o }) => {
|
|
|
854
854
|
textValue: r
|
|
855
855
|
}, r);
|
|
856
856
|
};
|
|
857
|
-
|
|
857
|
+
je.Option = Mn;
|
|
858
858
|
Y.Label = ue;
|
|
859
859
|
Y.Control = Fe;
|
|
860
|
-
Y.Options =
|
|
860
|
+
Y.Options = je;
|
|
861
861
|
Y.Description = ce;
|
|
862
862
|
Y.Error = de;
|
|
863
|
-
const
|
|
863
|
+
const qn = /(\d{7})|(\d{3}-\d{4})/;
|
|
864
864
|
function wn(e) {
|
|
865
865
|
var t;
|
|
866
|
-
return (t = e.match(
|
|
866
|
+
return (t = e.match(qn)) == null ? void 0 : t[0];
|
|
867
867
|
}
|
|
868
868
|
function xn({ isAutocompleteEnabled: e }) {
|
|
869
869
|
const t = B({
|
|
@@ -898,7 +898,7 @@ function xn({ isAutocompleteEnabled: e }) {
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
const $ = ({ children: e }) => {
|
|
901
|
-
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, autocomplete: I } = P(), { labelId: L } = T(), b = Ne(), { autocompleteEnabled: p } = Le(), y = !!(b && he[b] === he.JP), N = (I || p) && y, F = be("zipCode"), S = E(e, $.Label), g = E(e, $.Control), R = E(e, $.Options),
|
|
901
|
+
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, autocomplete: I } = P(), { labelId: L } = T(), b = Ne(), { autocompleteEnabled: p } = Le(), y = !!(b && he[b] === he.JP), N = (I || p) && y, F = be("zipCode"), S = E(e, $.Label), g = E(e, $.Control), R = E(e, $.Options), M = E(e, $.Description), _ = E(e, $.Error);
|
|
902
902
|
return N ? /* @__PURE__ */ n.createElement(u, {
|
|
903
903
|
fieldId: t,
|
|
904
904
|
renderLabel: () => h(S, {
|
|
@@ -914,7 +914,7 @@ const $ = ({ children: e }) => {
|
|
|
914
914
|
onBlur: d,
|
|
915
915
|
onFocus: m
|
|
916
916
|
}, g, R),
|
|
917
|
-
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, _,
|
|
917
|
+
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, _, M)
|
|
918
918
|
}) : /* @__PURE__ */ n.createElement(u, {
|
|
919
919
|
fieldId: t,
|
|
920
920
|
renderLabel: () => h(S, {
|
|
@@ -931,7 +931,7 @@ const $ = ({ children: e }) => {
|
|
|
931
931
|
onBlur: d,
|
|
932
932
|
onFocus: m
|
|
933
933
|
}, g),
|
|
934
|
-
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, _,
|
|
934
|
+
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, _, M)
|
|
935
935
|
});
|
|
936
936
|
}, Bn = ({ children: e, value: t, onChange: o, disabled: r, readOnly: a, required: l, hasError: i, onBlur: s, onFocus: d }) => {
|
|
937
937
|
const { labelId: m } = T(), { onAddressSelect: u } = Le(), [I, L] = ye(!1), { searchByPostalCode: b } = xn({
|
|
@@ -963,7 +963,7 @@ const $ = ({ children: e }) => {
|
|
|
963
963
|
L(!0), d == null || d();
|
|
964
964
|
}, [
|
|
965
965
|
d
|
|
966
|
-
]),
|
|
966
|
+
]), M = E(e, $.Control), _ = E(e, $.Options);
|
|
967
967
|
return /* @__PURE__ */ n.createElement(Re, {
|
|
968
968
|
"aria-labelledby": m,
|
|
969
969
|
inputValue: t ?? "",
|
|
@@ -979,7 +979,7 @@ const $ = ({ children: e }) => {
|
|
|
979
979
|
allowsCustomValue: !0,
|
|
980
980
|
menuTrigger: "input",
|
|
981
981
|
items: N
|
|
982
|
-
}, h(
|
|
982
|
+
}, h(M, {
|
|
983
983
|
onFocus: R
|
|
984
984
|
}), h(_, {
|
|
985
985
|
options: N
|
|
@@ -1104,7 +1104,7 @@ const U = ({ children: e }) => {
|
|
|
1104
1104
|
u,
|
|
1105
1105
|
y,
|
|
1106
1106
|
L
|
|
1107
|
-
]),
|
|
1107
|
+
]), M = D(() => {
|
|
1108
1108
|
y(), s == null || s();
|
|
1109
1109
|
}, [
|
|
1110
1110
|
s,
|
|
@@ -1124,7 +1124,7 @@ const U = ({ children: e }) => {
|
|
|
1124
1124
|
isReadOnly: a,
|
|
1125
1125
|
isRequired: l,
|
|
1126
1126
|
isInvalid: i,
|
|
1127
|
-
onBlur:
|
|
1127
|
+
onBlur: M,
|
|
1128
1128
|
onFocus: _,
|
|
1129
1129
|
allowsCustomValue: !0,
|
|
1130
1130
|
menuTrigger: "input",
|
|
@@ -1212,13 +1212,13 @@ ae.Label = ue;
|
|
|
1212
1212
|
ae.Input = Kn;
|
|
1213
1213
|
ae.Description = ce;
|
|
1214
1214
|
ae.Error = de;
|
|
1215
|
-
const
|
|
1216
|
-
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: I } = T(), { t: L } =
|
|
1217
|
-
var
|
|
1218
|
-
return (Bt(((
|
|
1219
|
-
value:
|
|
1220
|
-
label: L(
|
|
1221
|
-
})).sort((
|
|
1215
|
+
const H = ({ children: e }) => {
|
|
1216
|
+
const { id: t, value: o, onChange: r, disabled: a, readOnly: l, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: I } = T(), { t: L } = Me(), b = Ne(), p = b ? he[b] : void 0, y = b && xt.getCountryByShortKey(b), N = w(() => {
|
|
1217
|
+
var q;
|
|
1218
|
+
return (Bt(((q = y == null ? void 0 : y.subdivisions) == null ? void 0 : q.list) || [], p) || []).map((j) => ({
|
|
1219
|
+
value: j.key,
|
|
1220
|
+
label: L(j.displayName)
|
|
1221
|
+
})).sort((j, A) => j.label.localeCompare(A.label));
|
|
1222
1222
|
}, [
|
|
1223
1223
|
p,
|
|
1224
1224
|
L,
|
|
@@ -1231,10 +1231,10 @@ const j = ({ children: e }) => {
|
|
|
1231
1231
|
commit: r,
|
|
1232
1232
|
clear: F,
|
|
1233
1233
|
onBlur: d
|
|
1234
|
-
}), R = be("subdivision"),
|
|
1234
|
+
}), R = be("subdivision"), M = E(e, H.Label), _ = E(e, H.Control), O = E(e, H.Options), v = E(e, H.Description), pe = E(e, H.Error);
|
|
1235
1235
|
return /* @__PURE__ */ n.createElement(u, {
|
|
1236
1236
|
fieldId: t,
|
|
1237
|
-
renderLabel: () => h(
|
|
1237
|
+
renderLabel: () => h(M, {
|
|
1238
1238
|
label: R
|
|
1239
1239
|
}),
|
|
1240
1240
|
renderInput: () => /* @__PURE__ */ n.createElement(Re, {
|
|
@@ -1279,13 +1279,13 @@ const j = ({ children: e }) => {
|
|
|
1279
1279
|
onClick: u,
|
|
1280
1280
|
onKeyDown: d
|
|
1281
1281
|
});
|
|
1282
|
-
},
|
|
1282
|
+
}, Hn = ({ children: e, className: t }) => /* @__PURE__ */ n.createElement(Nt, {
|
|
1283
1283
|
className: t
|
|
1284
1284
|
}, e);
|
|
1285
1285
|
Se.Input = Yn;
|
|
1286
|
-
Se.Trigger =
|
|
1287
|
-
const
|
|
1288
|
-
const { options: r } = o, a = E(e,
|
|
1286
|
+
Se.Trigger = Hn;
|
|
1287
|
+
const Qe = ({ children: e, className: t, ...o }) => {
|
|
1288
|
+
const { options: r } = o, a = E(e, Qe.Option);
|
|
1289
1289
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
1290
1290
|
className: t,
|
|
1291
1291
|
containerPadding: 0,
|
|
@@ -1295,7 +1295,7 @@ const Xe = ({ children: e, className: t, ...o }) => {
|
|
|
1295
1295
|
value: l.value,
|
|
1296
1296
|
label: l.label
|
|
1297
1297
|
}))));
|
|
1298
|
-
},
|
|
1298
|
+
}, jn = ({ className: e, ...t }) => {
|
|
1299
1299
|
const { value: o, label: r } = t;
|
|
1300
1300
|
return /* @__PURE__ */ n.createElement(Pe, {
|
|
1301
1301
|
className: e,
|
|
@@ -1303,18 +1303,18 @@ const Xe = ({ children: e, className: t, ...o }) => {
|
|
|
1303
1303
|
textValue: r
|
|
1304
1304
|
}, r);
|
|
1305
1305
|
};
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("city"),
|
|
1306
|
+
Qe.Option = jn;
|
|
1307
|
+
H.Label = ue;
|
|
1308
|
+
H.Control = Se;
|
|
1309
|
+
H.Options = Qe;
|
|
1310
|
+
H.Description = ce;
|
|
1311
|
+
H.Error = de;
|
|
1312
|
+
const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("city"), Qn = () => me("addressLine"), Xn = () => me("addressLine2"), Zn = () => me("postalCode"), er = () => me("streetName"), tr = () => me("streetNumber"), nr = () => me("apartment"), rr = {
|
|
1313
1313
|
[K.MLA_COUNTRY]: Jn,
|
|
1314
1314
|
[K.MLA_SUBDIVISION]: zn,
|
|
1315
1315
|
[K.MLA_CITY]: Gn,
|
|
1316
|
-
[K.MLA_ADDRESS_LINE]:
|
|
1317
|
-
[K.MLA_ADDRESS_LINE_2]:
|
|
1316
|
+
[K.MLA_ADDRESS_LINE]: Qn,
|
|
1317
|
+
[K.MLA_ADDRESS_LINE_2]: Xn,
|
|
1318
1318
|
[K.MLA_POSTAL_CODE]: Zn,
|
|
1319
1319
|
[K.MLA_STREET_NAME]: er,
|
|
1320
1320
|
[K.MLA_STREET_NUMBER]: tr,
|
|
@@ -1325,7 +1325,7 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1325
1325
|
...rr
|
|
1326
1326
|
}), [
|
|
1327
1327
|
S
|
|
1328
|
-
]), { isExperimentEnabled: R } = bt(),
|
|
1328
|
+
]), { isExperimentEnabled: R } = bt(), M = R(ft.STREETLESS_LOCALITY_FALLBACK), { validateFields: _ } = $t(), O = Ut(), v = Ct(), pe = w(() => ({
|
|
1329
1329
|
...v,
|
|
1330
1330
|
actions: {
|
|
1331
1331
|
predict: Kt,
|
|
@@ -1335,7 +1335,7 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1335
1335
|
}
|
|
1336
1336
|
}), [
|
|
1337
1337
|
v
|
|
1338
|
-
]), { form: x, isMultilineAddressField:
|
|
1338
|
+
]), { form: x, isMultilineAddressField: q } = pn({
|
|
1339
1339
|
id: t,
|
|
1340
1340
|
target: L,
|
|
1341
1341
|
fieldType: y,
|
|
@@ -1344,10 +1344,10 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1344
1344
|
fieldSettings: m,
|
|
1345
1345
|
validation: I,
|
|
1346
1346
|
required: p
|
|
1347
|
-
}),
|
|
1347
|
+
}), j = D((W) => {
|
|
1348
1348
|
if (!r)
|
|
1349
1349
|
return;
|
|
1350
|
-
const z = en(W,
|
|
1350
|
+
const z = en(W, q, M), Te = {
|
|
1351
1351
|
...z,
|
|
1352
1352
|
[Ie.COUNTRY]: z[Ie.COUNTRY] ?? r[Ie.COUNTRY]
|
|
1353
1353
|
};
|
|
@@ -1355,10 +1355,10 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1355
1355
|
}, [
|
|
1356
1356
|
a,
|
|
1357
1357
|
r,
|
|
1358
|
-
|
|
1359
|
-
|
|
1358
|
+
q,
|
|
1359
|
+
M
|
|
1360
1360
|
]), A = D((W, z) => {
|
|
1361
|
-
if (
|
|
1361
|
+
if (q && W === Ie.COUNTRY && (r == null ? void 0 : r[W]) !== z) {
|
|
1362
1362
|
a == null || a({
|
|
1363
1363
|
[Ie.COUNTRY]: z
|
|
1364
1364
|
});
|
|
@@ -1371,8 +1371,8 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1371
1371
|
}, [
|
|
1372
1372
|
a,
|
|
1373
1373
|
r,
|
|
1374
|
-
|
|
1375
|
-
]), J = D(async (W) => _(
|
|
1374
|
+
q
|
|
1375
|
+
]), J = D(async (W) => _(q ? [
|
|
1376
1376
|
...W,
|
|
1377
1377
|
{
|
|
1378
1378
|
path: `${L}/${Ie.COUNTRY}`,
|
|
@@ -1382,17 +1382,17 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1382
1382
|
r,
|
|
1383
1383
|
L,
|
|
1384
1384
|
_,
|
|
1385
|
-
|
|
1385
|
+
q
|
|
1386
1386
|
]);
|
|
1387
1387
|
Yt(t, () => {
|
|
1388
1388
|
var Te;
|
|
1389
1389
|
const W = s == null ? void 0 : s[0], z = (Te = x == null ? void 0 : x.fields) == null ? void 0 : Te.find((st) => "target" in st && st.target === (W == null ? void 0 : W.errorPath));
|
|
1390
1390
|
return z == null ? void 0 : z.id;
|
|
1391
1391
|
});
|
|
1392
|
-
const Ee = E(e, c.Country), Oe = E(e, c.Subdivision),
|
|
1392
|
+
const Ee = E(e, c.Country), Oe = E(e, c.Subdivision), Xe = E(e, c.City), Ze = E(e, c.AddressLine), et = E(e, c.AddressLine2), tt = E(e, c.PostalCode), nt = E(e, c.StreetName), rt = E(e, c.StreetNumber), ot = E(e, c.Apartment), At = w(() => ({
|
|
1393
1393
|
country: Ee,
|
|
1394
1394
|
subdivision: Oe,
|
|
1395
|
-
city:
|
|
1395
|
+
city: Xe,
|
|
1396
1396
|
addressLine: Ze,
|
|
1397
1397
|
addressLine2: et,
|
|
1398
1398
|
postalCode: tt,
|
|
@@ -1402,7 +1402,7 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1402
1402
|
}), [
|
|
1403
1403
|
Ee,
|
|
1404
1404
|
Oe,
|
|
1405
|
-
|
|
1405
|
+
Xe,
|
|
1406
1406
|
Ze,
|
|
1407
1407
|
et,
|
|
1408
1408
|
tt,
|
|
@@ -1416,7 +1416,7 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1416
1416
|
countryCode: r == null ? void 0 : r.country
|
|
1417
1417
|
}, /* @__PURE__ */ n.createElement(tn, {
|
|
1418
1418
|
autocompleteEnabled: b,
|
|
1419
|
-
onAddressSelect:
|
|
1419
|
+
onAddressSelect: j
|
|
1420
1420
|
}, /* @__PURE__ */ n.createElement(En, {
|
|
1421
1421
|
fields: At
|
|
1422
1422
|
}, /* @__PURE__ */ n.createElement("div", {
|
|
@@ -1427,10 +1427,10 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1427
1427
|
}), /* @__PURE__ */ n.createElement(_t, {
|
|
1428
1428
|
getContainer: () => N
|
|
1429
1429
|
}, /* @__PURE__ */ n.createElement("fieldset", {
|
|
1430
|
-
style:
|
|
1430
|
+
style: jt
|
|
1431
1431
|
}, /* @__PURE__ */ n.createElement("legend", {
|
|
1432
1432
|
style: Jt
|
|
1433
|
-
}, u), /* @__PURE__ */ n.createElement(
|
|
1433
|
+
}, u), /* @__PURE__ */ n.createElement(Ht, {
|
|
1434
1434
|
formSchema: O,
|
|
1435
1435
|
form: x,
|
|
1436
1436
|
values: r ?? or,
|
|
@@ -1444,7 +1444,7 @@ const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("cit
|
|
|
1444
1444
|
}))))))) : null;
|
|
1445
1445
|
};
|
|
1446
1446
|
c.Country = Y;
|
|
1447
|
-
c.Subdivision =
|
|
1447
|
+
c.Subdivision = H;
|
|
1448
1448
|
c.City = se;
|
|
1449
1449
|
c.AddressLine = k;
|
|
1450
1450
|
c.AddressLine2 = re;
|
|
@@ -1457,7 +1457,7 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1457
1457
|
comboControl: lr,
|
|
1458
1458
|
comboTrigger: ir
|
|
1459
1459
|
}, Fr = () => /* @__PURE__ */ n.createElement(c, null, /* @__PURE__ */ n.createElement(c.Country, null, /* @__PURE__ */ n.createElement(c.Country.Label, {
|
|
1460
|
-
className: C(
|
|
1460
|
+
className: C(X, f.label)
|
|
1461
1461
|
}, /* @__PURE__ */ n.createElement(c.Country.Label.Required, {
|
|
1462
1462
|
className: C(Z, f.requiredMark)
|
|
1463
1463
|
})), /* @__PURE__ */ n.createElement(c.Country.Control, {
|
|
@@ -1474,13 +1474,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1474
1474
|
className: C(f.selectOption, fe)
|
|
1475
1475
|
})), /* @__PURE__ */ n.createElement(c.Country.Error, {
|
|
1476
1476
|
className: C(te, f.error)
|
|
1477
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1477
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Country.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Country.Description, {
|
|
1478
1478
|
className: C(ne, f.description)
|
|
1479
1479
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1480
1480
|
content: e,
|
|
1481
1481
|
locale: t
|
|
1482
1482
|
}))), /* @__PURE__ */ n.createElement(c.AddressLine, null, /* @__PURE__ */ n.createElement(c.AddressLine.Label, {
|
|
1483
|
-
className: C(
|
|
1483
|
+
className: C(X, f.label)
|
|
1484
1484
|
}, /* @__PURE__ */ n.createElement(c.AddressLine.Label.Required, {
|
|
1485
1485
|
className: C(Z, f.requiredMark)
|
|
1486
1486
|
})), /* @__PURE__ */ n.createElement(c.AddressLine.Input, {
|
|
@@ -1491,39 +1491,39 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1491
1491
|
className: C(f.selectOption, fe)
|
|
1492
1492
|
})), /* @__PURE__ */ n.createElement(c.AddressLine.Error, {
|
|
1493
1493
|
className: C(te, f.error)
|
|
1494
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1494
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.AddressLine.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine.Description, {
|
|
1495
1495
|
className: C(ne, f.description)
|
|
1496
1496
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1497
1497
|
content: e,
|
|
1498
1498
|
locale: t
|
|
1499
1499
|
}))), /* @__PURE__ */ n.createElement(c.AddressLine2, null, /* @__PURE__ */ n.createElement(c.AddressLine2.Label, {
|
|
1500
|
-
className: C(
|
|
1500
|
+
className: C(X, f.label)
|
|
1501
1501
|
}, /* @__PURE__ */ n.createElement(c.AddressLine2.Label.Required, {
|
|
1502
1502
|
className: C(Z, f.requiredMark)
|
|
1503
1503
|
})), /* @__PURE__ */ n.createElement(c.AddressLine2.Input, {
|
|
1504
1504
|
className: C(ee, f.input)
|
|
1505
1505
|
}), /* @__PURE__ */ n.createElement(c.AddressLine2.Error, {
|
|
1506
1506
|
className: C(te, f.error)
|
|
1507
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1507
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.AddressLine2.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine2.Description, {
|
|
1508
1508
|
className: C(ne, f.description)
|
|
1509
1509
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1510
1510
|
content: e,
|
|
1511
1511
|
locale: t
|
|
1512
1512
|
}))), /* @__PURE__ */ n.createElement(c.City, null, /* @__PURE__ */ n.createElement(c.City.Label, {
|
|
1513
|
-
className: C(
|
|
1513
|
+
className: C(X, f.label)
|
|
1514
1514
|
}, /* @__PURE__ */ n.createElement(c.City.Label.Required, {
|
|
1515
1515
|
className: C(Z, f.requiredMark)
|
|
1516
1516
|
})), /* @__PURE__ */ n.createElement(c.City.Input, {
|
|
1517
1517
|
className: C(ee, f.input)
|
|
1518
1518
|
}), /* @__PURE__ */ n.createElement(c.City.Error, {
|
|
1519
1519
|
className: C(te, f.error)
|
|
1520
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1520
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.City.Error.Text, null)), /* @__PURE__ */ n.createElement(c.City.Description, {
|
|
1521
1521
|
className: C(ne, f.description)
|
|
1522
1522
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1523
1523
|
content: e,
|
|
1524
1524
|
locale: t
|
|
1525
1525
|
}))), /* @__PURE__ */ n.createElement(c.PostalCode, null, /* @__PURE__ */ n.createElement(c.PostalCode.Label, {
|
|
1526
|
-
className: C(
|
|
1526
|
+
className: C(X, f.label)
|
|
1527
1527
|
}, /* @__PURE__ */ n.createElement(c.PostalCode.Label.Required, {
|
|
1528
1528
|
className: C(Z, f.requiredMark)
|
|
1529
1529
|
})), /* @__PURE__ */ n.createElement(c.PostalCode.Control, {
|
|
@@ -1536,13 +1536,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1536
1536
|
className: C(f.selectOption, fe)
|
|
1537
1537
|
})), /* @__PURE__ */ n.createElement(c.PostalCode.Error, {
|
|
1538
1538
|
className: C(te, f.error)
|
|
1539
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1539
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.PostalCode.Error.Text, null)), /* @__PURE__ */ n.createElement(c.PostalCode.Description, {
|
|
1540
1540
|
className: C(ne, f.description)
|
|
1541
1541
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1542
1542
|
content: e,
|
|
1543
1543
|
locale: t
|
|
1544
1544
|
}))), /* @__PURE__ */ n.createElement(c.Subdivision, null, /* @__PURE__ */ n.createElement(c.Subdivision.Label, {
|
|
1545
|
-
className: C(
|
|
1545
|
+
className: C(X, f.label)
|
|
1546
1546
|
}, /* @__PURE__ */ n.createElement(c.Subdivision.Label.Required, {
|
|
1547
1547
|
className: C(Z, f.requiredMark)
|
|
1548
1548
|
})), /* @__PURE__ */ n.createElement(c.Subdivision.Control, {
|
|
@@ -1559,13 +1559,13 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1559
1559
|
className: C(f.selectOption, fe)
|
|
1560
1560
|
})), /* @__PURE__ */ n.createElement(c.Subdivision.Error, {
|
|
1561
1561
|
className: C(te, f.error)
|
|
1562
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1562
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Subdivision.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Subdivision.Description, {
|
|
1563
1563
|
className: C(ne, f.description)
|
|
1564
1564
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1565
1565
|
content: e,
|
|
1566
1566
|
locale: t
|
|
1567
1567
|
}))), /* @__PURE__ */ n.createElement(c.StreetName, null, /* @__PURE__ */ n.createElement(c.StreetName.Label, {
|
|
1568
|
-
className: C(
|
|
1568
|
+
className: C(X, f.label)
|
|
1569
1569
|
}, /* @__PURE__ */ n.createElement(c.StreetName.Label.Required, {
|
|
1570
1570
|
className: C(Z, f.requiredMark)
|
|
1571
1571
|
})), /* @__PURE__ */ n.createElement(c.StreetName.Input, {
|
|
@@ -1576,33 +1576,33 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
1576
1576
|
className: C(f.selectOption, fe)
|
|
1577
1577
|
})), /* @__PURE__ */ n.createElement(c.StreetName.Error, {
|
|
1578
1578
|
className: C(te, f.error)
|
|
1579
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1579
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.StreetName.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetName.Description, {
|
|
1580
1580
|
className: C(ne, f.description)
|
|
1581
1581
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1582
1582
|
content: e,
|
|
1583
1583
|
locale: t
|
|
1584
1584
|
}))), /* @__PURE__ */ n.createElement(c.StreetNumber, null, /* @__PURE__ */ n.createElement(c.StreetNumber.Label, {
|
|
1585
|
-
className: C(
|
|
1585
|
+
className: C(X, f.label)
|
|
1586
1586
|
}, /* @__PURE__ */ n.createElement(c.StreetNumber.Label.Required, {
|
|
1587
1587
|
className: C(Z, f.requiredMark)
|
|
1588
1588
|
})), /* @__PURE__ */ n.createElement(c.StreetNumber.Input, {
|
|
1589
1589
|
className: C(ee, f.input)
|
|
1590
1590
|
}), /* @__PURE__ */ n.createElement(c.StreetNumber.Error, {
|
|
1591
1591
|
className: C(te, f.error)
|
|
1592
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1592
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.StreetNumber.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetNumber.Description, {
|
|
1593
1593
|
className: C(ne, f.description)
|
|
1594
1594
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1595
1595
|
content: e,
|
|
1596
1596
|
locale: t
|
|
1597
1597
|
}))), /* @__PURE__ */ n.createElement(c.Apartment, null, /* @__PURE__ */ n.createElement(c.Apartment.Label, {
|
|
1598
|
-
className: C(
|
|
1598
|
+
className: C(X, f.label)
|
|
1599
1599
|
}, /* @__PURE__ */ n.createElement(c.Apartment.Label.Required, {
|
|
1600
1600
|
className: C(Z, f.requiredMark)
|
|
1601
1601
|
})), /* @__PURE__ */ n.createElement(c.Apartment.Input, {
|
|
1602
1602
|
className: C(ee, f.input)
|
|
1603
1603
|
}), /* @__PURE__ */ n.createElement(c.Apartment.Error, {
|
|
1604
1604
|
className: C(te, f.error)
|
|
1605
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1605
|
+
}, /* @__PURE__ */ n.createElement(Q, null), /* @__PURE__ */ n.createElement(c.Apartment.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Apartment.Description, {
|
|
1606
1606
|
className: C(ne, f.description)
|
|
1607
1607
|
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1608
1608
|
content: e,
|