@wix/form-elements 1.107.0 → 1.109.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-D2F4vgf1.js → appointment-rac-C9-XwsPI.js} +295 -296
- package/dist/component/{bookings-address-rac-_5S8J8_i.js → bookings-address-rac-jrrCPWjw.js} +1 -1
- package/dist/component/{bookings-email-rac-6vmDR9nS.js → bookings-email-rac-J9-RMEbf.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DtTJ4T2K.js → bookings-first-name-rac-CH7-6JmA.js} +1 -1
- package/dist/component/{bookings-header-rac-B3dsEwzR.js → bookings-header-rac-C2JV-ciN.js} +1 -1
- package/dist/component/{bookings-last-name-rac-B3idkbi8.js → bookings-last-name-rac-0a9CwiaV.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CrRBcQwT.js → bookings-login-bar-rac-4Mb7MQYe.js} +21 -22
- package/dist/component/{bookings-phone-rac-BE0yWNnj.js → bookings-phone-rac-vYx5r5jn.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CYo1l0-6.js → bookings-rich-text-rac-CWg1FgUp.js} +1 -1
- package/dist/component/{checkbox-field-rac-boTtXVEt.js → checkbox-field-rac-Dwx1leKA.js} +27 -28
- package/dist/component/{checkbox-group-field-headless-DnkUvDm8.js → checkbox-group-field-headless-AFWgXzx_.js} +41 -41
- package/dist/component/{checkbox-group-field-rac-DrDTgHMg.js → checkbox-group-field-rac-CO8kmWJp.js} +6 -6
- package/dist/component/{checkbox-group-rac-v3ozUBpo.js → checkbox-group-rac-_79HsFF4.js} +1 -1
- package/dist/component/{checkbox-rac-YSLE-RnG.js → checkbox-rac-B_tbMfjo.js} +1 -1
- package/dist/component/{contacts-address-rac-C653yaHZ.js → contacts-address-rac-SJ5Tvzd0.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BeAQ6shx.js → contacts-birthdate-rac-BU1L3sbW.js} +1 -1
- package/dist/component/{contacts-company-rac-BglKOoTG.js → contacts-company-rac-Y4B8KhDa.js} +1 -1
- package/dist/component/{contacts-email-rac-D6m7ynfc.js → contacts-email-rac-CQW84o7C.js} +1 -1
- package/dist/component/{contacts-first-name-rac-Dgxn0tUJ.js → contacts-first-name-rac-Dtai-wtH.js} +1 -1
- package/dist/component/{contacts-last-name-rac-1UyIuRKH.js → contacts-last-name-rac--ixuu3ri.js} +1 -1
- package/dist/component/{contacts-phone-rac-BQ77BlW4.js → contacts-phone-rac-HOHfSvT-.js} +1 -1
- package/dist/component/{contacts-position-rac-BUDUv7lv.js → contacts-position-rac-BPMkh6yf.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DdtA0qKW.js → contacts-subscribe-rac-D0_RMwJb.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-WUaKcNl0.js → contacts-tax-id-rac-CZJmMiVf.js} +1 -1
- package/dist/component/{date-availability-XjBFq8jt.js → date-availability-C4dDHvuc.js} +1 -1
- package/dist/component/{date-input-field-rac-aY2zuuKs.js → date-input-field-rac-8oERZcqh.js} +79 -80
- package/dist/component/{date-input-rac-DRiP2_97.js → date-input-rac-CYRojmW6.js} +1 -1
- package/dist/component/{date-picker-field-rac-Bzl-d3Uj.js → date-picker-field-rac-CIspU7No.js} +87 -88
- package/dist/component/{date-picker-rac-DHHUh8vn.js → date-picker-rac-D0Y0zf2J.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DP_StuLr.js → date-time-input-field-rac-0daWK65I.js} +73 -74
- package/dist/component/{date-time-input-rac-B11KIxsf.js → date-time-input-rac-BemKPk1j.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BHZBqyWv.js → dext-checkbox-group-rac-BpFNn56W.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BIlAqEvV.js → dext-checkbox-rac-DOISgubJ.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CHBXNrZi.js → dext-date-picker-rac-CNGhFg_g.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BYtliKry.js → dext-date-time-input-rac-BuUIvJRr.js} +1 -1
- package/dist/component/{dext-dropdown-rac-C2VPSFV5.js → dext-dropdown-rac-DtND-Dbo.js} +1 -1
- package/dist/component/{dext-email-rac-Fnb0Ggcs.js → dext-email-rac-CmjLFOi8.js} +1 -1
- package/dist/component/{dext-number-input-rac-DopfSyFi.js → dext-number-input-rac-DHTNg1dh.js} +1 -1
- package/dist/component/{dext-phone-rac-Rn4i_2rc.js → dext-phone-rac-BrrU5qH_.js} +1 -1
- package/dist/component/{dext-radio-group-rac-bNaskJpK.js → dext-radio-group-rac-CD3MGfAM.js} +4 -4
- package/dist/component/{dext-rating-input-rac-DL6ZZd7d.js → dext-rating-input-rac-BETGJZmt.js} +1 -1
- package/dist/component/{dext-tags-rac-TsUPoImO.js → dext-tags-rac-Coo9jN-T.js} +4 -4
- package/dist/component/{dext-text-area-rac-BIuY7LTd.js → dext-text-area-rac-CNWjqhUT.js} +1 -1
- package/dist/component/{dext-text-input-rac-CSYPW0Qi.js → dext-text-input-rac-CCWyDexv.js} +1 -1
- package/dist/component/{dext-url-input-rac-_g0lqGfW.js → dext-url-input-rac-Dtakkgmk.js} +1 -1
- package/dist/component/{donation-rac-BYKFtsyR.js → donation-rac-BboGm_k_.js} +101 -102
- package/dist/component/{dropdown-field-headless-CBaqlNZi.js → dropdown-field-headless-BTMJGUwY.js} +16 -16
- package/dist/component/{dropdown-field-rac-CCAGSMm3.js → dropdown-field-rac-CDRV8ckB.js} +5 -5
- package/dist/component/{dropdown-rac-C_EqUsZ1.js → dropdown-rac-kEuU2pXW.js} +1 -1
- package/dist/component/{ecom-address-rac-Bw9eH0iF.js → ecom-address-rac-BgKL9ElH.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-B5PVOO2a.js → ecom-subscription-checkbox-rac-CDhJsNPD.js} +6 -6
- package/dist/component/{email-input-field-rac-B2kqQ6yo.js → email-input-field-rac-DdOd86NX.js} +54 -55
- package/dist/component/{events-repeater-rac--4OnUxWE.js → events-repeater-rac-_VJ30dpB.js} +62 -63
- package/dist/component/{events-rsvp-rac-CczCoo3T.js → events-rsvp-rac-DA-261bq.js} +5 -5
- package/dist/component/{field-error-headless-D3-1L5sf.js → field-error-headless-CovyN0GI.js} +8 -8
- package/dist/component/{field-label-headless-Du4ckIVy.js → field-label-headless-DVvX2QaH.js} +11 -11
- package/dist/component/file-upload-rac-bhEPUJPs.js +561 -0
- package/dist/component/fixed-payment-rac-DmI6MeKc.js +61 -0
- package/dist/component/{form-DQauhsho.js → form-BTDgyr54.js} +3430 -3244
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +3 -3
- package/dist/component/header-field-rac-C0rUjmo0.js +24 -0
- package/dist/component/{header-rac-CR9T3Pnu.js → header-rac-DRMO22PV.js} +1 -1
- package/dist/component/{image-choice-rac-DJ_8v467.js → image-choice-rac-CQDQ7AlD.js} +32 -33
- package/dist/component/{index-CcUTIUWM.js → index-B9QlosT1.js} +12 -12
- package/dist/component/{index-BB7d_9Dv.js → index-CNWT9t6j.js} +66 -66
- package/dist/component/{isObjectLike-xvPa_08X.js → isObjectLike-c0td2WCR.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CyaFOloE.js → multiline-address-field-rac-D8bVxRsD.js} +124 -125
- package/dist/component/{multiline-address-rac-CaHGUN_f.js → multiline-address-rac-g-6RB7o8.js} +1 -1
- package/dist/component/number-input-field-rac-BaOwQ5Ya.js +92 -0
- package/dist/component/{number-input-rac-DMKX6nhk.js → number-input-rac-BXv8-Pnj.js} +1 -1
- package/dist/component/{password-rac-0RUXPAn6.js → password-rac-BB9XeSSZ.js} +36 -37
- package/dist/component/{payment-input-rac-CHSZ3-Lt.js → payment-input-rac-DwnSV9rM.js} +41 -42
- package/dist/component/{phone-input-field-rac-JmIFcP1e.js → phone-input-field-rac-CC3C4ToW.js} +56 -57
- package/dist/component/{phone-rac-BLRnAPXP.js → phone-rac-DpNhSaE0.js} +1 -1
- package/dist/component/{product-list-rac-BkF5tDwt.js → product-list-rac-BAESk3B6.js} +74 -75
- package/dist/component/{quiz-radio-group-rac-32cCMTUS.js → quiz-radio-group-rac-PS6AZr63.js} +1 -1
- package/dist/component/{radio-button-module-classes-IOulhuSH.js → radio-button-module-classes-CXcn5unY.js} +30 -30
- package/dist/component/{radio-group-field-rac-CJwku6e0.js → radio-group-field-rac-pt8xbDfS.js} +6 -6
- package/dist/component/{radio-group-rac-BiW-9Abj.js → radio-group-rac-DkzkM6N_.js} +1 -1
- package/dist/component/{rating-input-field-rac-B9cwaROK.js → rating-input-field-rac-DDHBkR4x.js} +43 -44
- package/dist/component/{rating-input-rac-BpwlNvzQ.js → rating-input-rac-CcsDmLus.js} +1 -1
- package/dist/component/{rich-content-rac.module-B1uyPmtK.js → rich-content-rac.module-B2vsO6fj.js} +4 -4
- package/dist/component/rich-text-field-rac-CvKht2eC.js +21 -0
- package/dist/component/{rich-text-rac-VfeZxS27.js → rich-text-rac-CRpSffQB.js} +1 -1
- package/dist/component/{service-dropdown-rac-BCfs8IhW.js → service-dropdown-rac-BOpdXNjG.js} +36 -37
- package/dist/component/{services-multi-choice-rac-CCqdF_7P.js → services-multi-choice-rac-t0wdSt_T.js} +20 -21
- package/dist/component/{signature-rac-DOyMo3u0.js → signature-rac-2LsIYYIX.js} +141 -142
- package/dist/component/{submit-button-rac-C2uA5DeE.js → submit-button-rac-BbE8dS35.js} +26 -27
- package/dist/component/{tags-field-rac-C_uIw2by.js → tags-field-rac-BnsBxReU.js} +44 -45
- package/dist/component/{tags-rac-1pQ-fpe_.js → tags-rac-BFH4RINA.js} +1 -1
- package/dist/component/{text-area-field-rac-DqlOkm7e.js → text-area-field-rac-Ag7_gniM.js} +28 -29
- package/dist/component/{text-area-rac-DPdkrFcH.js → text-area-rac-ByUX0p2O.js} +1 -1
- package/dist/component/{text-input-field-rac-CmXm6r1w.js → text-input-field-rac-D3MZ8teu.js} +3 -3
- package/dist/component/{text-input-headless-DD__2DFf.js → text-input-headless-CwONErsY.js} +12 -12
- package/dist/component/{text-input-rac-DRHyQEH7.js → text-input-rac-DLXdAhkK.js} +1 -1
- package/dist/component/{time-input-rac-BJPIymQY.js → time-input-rac-Bs55lTON.js} +33 -34
- package/dist/component/url-input-field-rac-FG-bCh-E.js +74 -0
- package/dist/component/{url-input-rac-C0ChQUzq.js → url-input-rac-BOKuCMTe.js} +1 -1
- package/dist/component/use-dropdown-option-class-name-DjV7FW5y.js +21 -0
- package/dist/component/{use-element-state-class-name-BatTc2bw.js → use-element-state-class-name-DB1AzkvF.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-B0jiPTmS.js → use-is-forced-open-dropdown-ifUIpuwL.js} +7 -7
- package/dist/component/{use-service-options-base-oeE7xszw.js → use-service-options-base-B11cq0HH.js} +7 -7
- package/dist/component/use-text-input-class-name-va1PzWFg.js +23 -0
- package/dist/form.d.ts +21 -1
- package/package.json +2 -2
- package/dist/component/file-upload-rac-DbdkUbWM.js +0 -484
- package/dist/component/fixed-payment-rac-f9-01iDN.js +0 -62
- package/dist/component/form-element-classes-bLFmhsKw.js +0 -137
- package/dist/component/header-field-rac-DamDk5BR.js +0 -25
- package/dist/component/number-input-field-rac-BuYUzDWV.js +0 -93
- package/dist/component/rich-text-field-rac-C_qE7Ykg.js +0 -22
- package/dist/component/url-input-field-rac-CFDYkZ6I.js +0 -75
- package/dist/component/use-dropdown-option-class-name-3L5ZmNLK.js +0 -21
- package/dist/component/use-text-input-class-name-LQ5S-NLh.js +0 -24
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { RicosViewer as X } from "@wix/ricos/viewer";
|
|
2
2
|
import L from "classnames";
|
|
3
|
-
import r, { useMemo as
|
|
3
|
+
import r, { useMemo as q, createContext as We, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as Pe } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as Pt } from "react-aria";
|
|
5
|
-
import {
|
|
5
|
+
import { b4 as yt, d as Ct, a$ as Tt, b1 as It, aE as Mt, aF as wt, ay as qt, aD as V, F as K, bj as Te, aU as lt, b9 as P, b6 as T, bb as ae, b5 as Lt, aJ as xt, C as ve, aS as Bt, aW as kt, bg as $t, ba as Ut, bf as Wt, aZ as Vt, aO as Kt, aY as Yt, bc as Ht, ae as jt, I as z, U as Q, t as it, K as ge, v as Z, p as ee } from "./form-BTDgyr54.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as Jt, V as Gt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { u as Xt } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { u as Xt } from "./use-is-forced-open-dropdown-ifUIpuwL.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as Ve, ComboBox as De, Popover as Se, ListBox as Re, ListBoxItem as Ae, Group as Nt, Button as gt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as zt, c as Qt, a as Zt, r as Ot } from "./isObjectLike-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-CovyN0GI.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-DVvX2QaH.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as Ot } from "./isObjectLike-c0td2WCR.js";
|
|
13
13
|
import { u as en } from "./use-invoke-callback-UH73A_J3.js";
|
|
14
|
-
import { C as
|
|
15
|
-
import { E as
|
|
14
|
+
import { C as ct } from "./chevron-down-icon-CcpVm6B-.js";
|
|
15
|
+
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
16
16
|
import { H as Me } from "./custom-focus-class-_483Pkwp.js";
|
|
17
17
|
import { s as C } from "./field-rac.module-B4l_0KRU.js";
|
|
18
|
-
import {
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as nn } from "./use-text-input-class-name-LQ5S-NLh.js";
|
|
18
|
+
import { u as tn } from "./use-dropdown-option-class-name-DjV7FW5y.js";
|
|
19
|
+
import { u as nn } from "./use-text-input-class-name-va1PzWFg.js";
|
|
21
20
|
const rn = (e, t, o) => {
|
|
22
21
|
var l, a, i, s;
|
|
23
22
|
const n = (l = e.steps) == null ? void 0 : l.map((d) => {
|
|
@@ -52,11 +51,11 @@ function on(e, t, o = !1) {
|
|
|
52
51
|
const { country: n, subdivision: l, city: a, addressLine: i, streetAddress: s, addressLine2: d, postalCode: m } = e, u = {};
|
|
53
52
|
return t ? (n && (u.country = n), l && (u.subdivision = l), a && (u.city = a), i ? u.addressLine = i : s != null && s.formattedAddressLine && (u.addressLine = s == null ? void 0 : s.formattedAddressLine), d && (u.addressLine = d), m && (u.postalCode = m), s != null && s.apt && (u.apartment = s == null ? void 0 : s.apt), s != null && s.name ? u.streetName = s == null ? void 0 : s.name : o && (s != null && s.formattedAddressLine) && (u.streetName = s == null ? void 0 : s.formattedAddressLine), s != null && s.number && (u.streetNumber = s.number)) : (n && (u.country = n), l && (u.subdivision = l), a && (u.city = a), i ? u.address_line = i : s != null && s.formattedAddressLine && (u.address_line = s == null ? void 0 : s.formattedAddressLine), d && (u.address_line = d), m && (u.postal_code = m), s != null && s.apt && (u.apartment = s == null ? void 0 : s.apt), s != null && s.name ? u.street_name = s == null ? void 0 : s.name : o && (s != null && s.formattedAddressLine) && (u.street_name = s == null ? void 0 : s.formattedAddressLine), s != null && s.number && (u.street_number = s.number)), u;
|
|
54
53
|
}
|
|
55
|
-
const vt = /* @__PURE__ */
|
|
54
|
+
const vt = /* @__PURE__ */ We({
|
|
56
55
|
onAddressSelect: () => {
|
|
57
56
|
}
|
|
58
57
|
}), sn = ({ children: e, onAddressSelect: t, autocompleteEnabled: o }) => {
|
|
59
|
-
const n =
|
|
58
|
+
const n = q(() => ({
|
|
60
59
|
onAddressSelect: t,
|
|
61
60
|
autocompleteEnabled: o
|
|
62
61
|
}), [
|
|
@@ -70,8 +69,8 @@ const vt = /* @__PURE__ */ Ue({
|
|
|
70
69
|
function Ie() {
|
|
71
70
|
return Ce(vt);
|
|
72
71
|
}
|
|
73
|
-
const Ft = /* @__PURE__ */
|
|
74
|
-
const o =
|
|
72
|
+
const Ft = /* @__PURE__ */ We(void 0), an = ({ children: e, countryCode: t }) => {
|
|
73
|
+
const o = q(() => ({
|
|
75
74
|
countryCode: t
|
|
76
75
|
}), [
|
|
77
76
|
t
|
|
@@ -84,7 +83,7 @@ function Le() {
|
|
|
84
83
|
const e = Ce(Ft);
|
|
85
84
|
return e == null ? void 0 : e.countryCode;
|
|
86
85
|
}
|
|
87
|
-
function
|
|
86
|
+
function we(e) {
|
|
88
87
|
return e != null;
|
|
89
88
|
}
|
|
90
89
|
function ln(e, t, o) {
|
|
@@ -98,10 +97,10 @@ function ln(e, t, o) {
|
|
|
98
97
|
...n.view,
|
|
99
98
|
...a
|
|
100
99
|
},
|
|
101
|
-
...
|
|
100
|
+
...we(l) && {
|
|
102
101
|
hidden: !l
|
|
103
102
|
},
|
|
104
|
-
...
|
|
103
|
+
...we(i) && we(n.validation) && {
|
|
105
104
|
validation: {
|
|
106
105
|
...n.validation,
|
|
107
106
|
required: i
|
|
@@ -178,22 +177,22 @@ const cn = (e, t) => e.map((o) => ({
|
|
|
178
177
|
street_number: V(),
|
|
179
178
|
apartment: V()
|
|
180
179
|
}), yn = ({ id: e, target: t, fieldType: o, form: n, country: l, fieldSettings: a, validation: i, required: s }) => {
|
|
181
|
-
const [d] = be(fn), { isExperimentEnabled: m } = yt(), u = m(Ct.USE_FIELDS_V2), { getCountryAddressForm: y } = Tt(), { isMobile: I, breakpoint: b } = It(), p = y(l), f = o === K.MULTILINE_ADDRESS || o === K.BOOKINGS_ADDRESS, N =
|
|
180
|
+
const [d] = be(fn), { isExperimentEnabled: m } = yt(), u = m(Ct.USE_FIELDS_V2), { getCountryAddressForm: y } = Tt(), { isMobile: I, breakpoint: b } = It(), p = y(l), f = o === K.MULTILINE_ADDRESS || o === K.BOOKINGS_ADDRESS, N = q(() => {
|
|
182
181
|
var O;
|
|
183
182
|
return Mt(s, (O = i == null ? void 0 : i.predefined) == null ? void 0 : O.multilineAddressOptions);
|
|
184
183
|
}, [
|
|
185
184
|
i,
|
|
186
185
|
s
|
|
187
|
-
]), S =
|
|
186
|
+
]), S = q(() => wt(), []);
|
|
188
187
|
return {
|
|
189
|
-
form:
|
|
188
|
+
form: q(() => {
|
|
190
189
|
var _, g;
|
|
191
190
|
if (!f || !p)
|
|
192
191
|
return n && {
|
|
193
192
|
...n,
|
|
194
193
|
fields: cn(n.fields, d)
|
|
195
194
|
};
|
|
196
|
-
const O =
|
|
195
|
+
const O = qt({
|
|
197
196
|
useFieldsV2: u,
|
|
198
197
|
path: t,
|
|
199
198
|
parentId: e,
|
|
@@ -226,8 +225,8 @@ const cn = (e, t) => e.map((o) => ({
|
|
|
226
225
|
]),
|
|
227
226
|
isMultilineAddressField: f
|
|
228
227
|
};
|
|
229
|
-
}, Dt = /* @__PURE__ */
|
|
230
|
-
const o =
|
|
228
|
+
}, Dt = /* @__PURE__ */ We(void 0), Cn = ({ children: e, fields: t }) => {
|
|
229
|
+
const o = q(() => ({
|
|
231
230
|
fields: t
|
|
232
231
|
}), [
|
|
233
232
|
t
|
|
@@ -285,7 +284,7 @@ ne.Description = ie;
|
|
|
285
284
|
ne.Error = ce;
|
|
286
285
|
const Ke = ({ enabled: e }) => {
|
|
287
286
|
const { actions: t } = Lt(), [o, n] = be(V()), l = R(() => n(V()), []);
|
|
288
|
-
return
|
|
287
|
+
return q(() => {
|
|
289
288
|
const { predict: a, getPlace: i, searchByPostalCode: s } = t ?? {};
|
|
290
289
|
if (!(!e || !a || !i || !s))
|
|
291
290
|
return {
|
|
@@ -310,14 +309,14 @@ const Ke = ({ enabled: e }) => {
|
|
|
310
309
|
l
|
|
311
310
|
]);
|
|
312
311
|
};
|
|
313
|
-
var
|
|
312
|
+
var qe, dt;
|
|
314
313
|
function Ln() {
|
|
315
|
-
if (dt) return
|
|
314
|
+
if (dt) return qe;
|
|
316
315
|
dt = 1;
|
|
317
316
|
var e = zt(), t = function() {
|
|
318
317
|
return e.Date.now();
|
|
319
318
|
};
|
|
320
|
-
return
|
|
319
|
+
return qe = t, qe;
|
|
321
320
|
}
|
|
322
321
|
var xe, ut;
|
|
323
322
|
function Nn() {
|
|
@@ -373,9 +372,9 @@ function vn() {
|
|
|
373
372
|
}
|
|
374
373
|
return $e = d, $e;
|
|
375
374
|
}
|
|
376
|
-
var
|
|
375
|
+
var Ue, bt;
|
|
377
376
|
function Fn() {
|
|
378
|
-
if (bt) return
|
|
377
|
+
if (bt) return Ue;
|
|
379
378
|
bt = 1;
|
|
380
379
|
var e = Ot(), t = Ln(), o = vn(), n = "Expected a function", l = Math.max, a = Math.min;
|
|
381
380
|
function i(s, d, m) {
|
|
@@ -413,7 +412,7 @@ function Fn() {
|
|
|
413
412
|
function B() {
|
|
414
413
|
return p === void 0 ? b : me(t());
|
|
415
414
|
}
|
|
416
|
-
function
|
|
415
|
+
function w() {
|
|
417
416
|
var D = t(), J = g(D);
|
|
418
417
|
if (u = arguments, y = this, f = D, J) {
|
|
419
418
|
if (p === void 0)
|
|
@@ -423,9 +422,9 @@ function Fn() {
|
|
|
423
422
|
}
|
|
424
423
|
return p === void 0 && (p = setTimeout(v, d)), b;
|
|
425
424
|
}
|
|
426
|
-
return
|
|
425
|
+
return w.cancel = j, w.flush = B, w;
|
|
427
426
|
}
|
|
428
|
-
return
|
|
427
|
+
return Ue = i, Ue;
|
|
429
428
|
}
|
|
430
429
|
var hn = Fn();
|
|
431
430
|
const Dn = /* @__PURE__ */ xt(hn), Sn = (e, t, o = 200) => {
|
|
@@ -542,7 +541,7 @@ const Dn = /* @__PURE__ */ xt(hn), Sn = (e, t, o = 200) => {
|
|
|
542
541
|
enabled: !0
|
|
543
542
|
}), { predictions: b, updatePredictions: p, clearPredictions: f } = St({
|
|
544
543
|
atlas: I
|
|
545
|
-
}), N =
|
|
544
|
+
}), N = q(() => b.map((g) => ({
|
|
546
545
|
id: g.searchId || "",
|
|
547
546
|
label: g.description || ""
|
|
548
547
|
})), [
|
|
@@ -715,7 +714,7 @@ oe.Label = de;
|
|
|
715
714
|
oe.Input = Mn;
|
|
716
715
|
oe.Description = ie;
|
|
717
716
|
oe.Error = ce;
|
|
718
|
-
const
|
|
717
|
+
const wn = ({ isOpen: e }) => {
|
|
719
718
|
const t = Ce(Ve), o = x(!1);
|
|
720
719
|
return Pe(() => {
|
|
721
720
|
e && t && !t.isOpen && t.open(null, "manual"), e && (t == null ? void 0 : t.selectionManager.focusedKey) != null && t.selectionManager.setFocusedKey(null), !e && o.current && (t == null || t.close()), o.current = e;
|
|
@@ -732,8 +731,8 @@ const qn = ({ isOpen: e }) => {
|
|
|
732
731
|
e,
|
|
733
732
|
t
|
|
734
733
|
]);
|
|
735
|
-
},
|
|
736
|
-
const [a, i] = be(null), s = en(l), d =
|
|
734
|
+
}, qn = (e, t) => e.find((o) => o.label.toLocaleLowerCase() === t.toLocaleLowerCase().trim()), At = ({ options: e, value: t, commit: o, clear: n, onBlur: l }) => {
|
|
735
|
+
const [a, i] = be(null), s = en(l), d = q(() => {
|
|
737
736
|
var b;
|
|
738
737
|
return t ? ((b = e.find((p) => p.value === t)) == null ? void 0 : b.label) ?? "" : "";
|
|
739
738
|
}, [
|
|
@@ -747,7 +746,7 @@ const qn = ({ isOpen: e }) => {
|
|
|
747
746
|
]), u = R((b) => {
|
|
748
747
|
if (i(b), b === "")
|
|
749
748
|
return;
|
|
750
|
-
const p =
|
|
749
|
+
const p = qn(e, b);
|
|
751
750
|
p && p.value !== t && o(p.value);
|
|
752
751
|
}, [
|
|
753
752
|
o,
|
|
@@ -776,14 +775,14 @@ const qn = ({ isOpen: e }) => {
|
|
|
776
775
|
onInputKeyDown: y
|
|
777
776
|
};
|
|
778
777
|
}, Y = ({ children: e, ...t }) => {
|
|
779
|
-
const { isForcedOpen: o = !1 } = t, { id: n, value: l, onChange: a, disabled: i, readOnly: s, required: d, hasError: m, onBlur: u, onFocus: y, FieldLayout: I, options: b } = P(), { labelId: p } = T(), { t: f } = Te(), { language: N } = It(), S =
|
|
778
|
+
const { isForcedOpen: o = !1 } = t, { id: n, value: l, onChange: a, disabled: i, readOnly: s, required: d, hasError: m, onBlur: u, onFocus: y, FieldLayout: I, options: b } = P(), { labelId: p } = T(), { t: f } = Te(), { language: N } = It(), S = q(() => (b || []).reduce((w, D) => (D.value && ve.hasOwnProperty(D.value) && w.push({
|
|
780
779
|
value: D.value,
|
|
781
780
|
label: f(`locale-dataset.countries.${ve[D.value].toUpperCase()}`)
|
|
782
|
-
}),
|
|
781
|
+
}), w), []).sort((w, D) => w.label.localeCompare(D.label, N)), [
|
|
783
782
|
b,
|
|
784
783
|
f,
|
|
785
784
|
N
|
|
786
|
-
]), h = R((
|
|
785
|
+
]), h = R((w) => a(w), [
|
|
787
786
|
a
|
|
788
787
|
]), O = R(() => h(""), [
|
|
789
788
|
h
|
|
@@ -812,7 +811,7 @@ const qn = ({ isOpen: e }) => {
|
|
|
812
811
|
onKeyDown: A
|
|
813
812
|
}), F(me, {
|
|
814
813
|
options: S
|
|
815
|
-
}), /* @__PURE__ */ r.createElement(
|
|
814
|
+
}), /* @__PURE__ */ r.createElement(wn, {
|
|
816
815
|
isOpen: o
|
|
817
816
|
})),
|
|
818
817
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, B, j)
|
|
@@ -874,11 +873,11 @@ Y.Options = je;
|
|
|
874
873
|
Y.Description = ie;
|
|
875
874
|
Y.Error = ce;
|
|
876
875
|
const $n = /(\d{7})|(\d{3}-\d{4})/;
|
|
877
|
-
function
|
|
876
|
+
function Un(e) {
|
|
878
877
|
var t;
|
|
879
878
|
return (t = e.match($n)) == null ? void 0 : t[0];
|
|
880
879
|
}
|
|
881
|
-
function
|
|
880
|
+
function Wn({ isAutocompleteEnabled: e }) {
|
|
882
881
|
const t = x({
|
|
883
882
|
hasAddress: !1
|
|
884
883
|
}), o = Ke({
|
|
@@ -886,7 +885,7 @@ function Un({ isAutocompleteEnabled: e }) {
|
|
|
886
885
|
});
|
|
887
886
|
return {
|
|
888
887
|
searchByPostalCode: R(async (l) => {
|
|
889
|
-
const a =
|
|
888
|
+
const a = Un(l);
|
|
890
889
|
if (a) {
|
|
891
890
|
if (t.current.postalCode === a && t.current.hasAddress)
|
|
892
891
|
return t.current.address;
|
|
@@ -947,9 +946,9 @@ const $ = ({ children: e }) => {
|
|
|
947
946
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, M)
|
|
948
947
|
});
|
|
949
948
|
}, Vn = ({ children: e, value: t, onChange: o, disabled: n, readOnly: l, required: a, hasError: i, onBlur: s, onFocus: d }) => {
|
|
950
|
-
const { labelId: m } = T(), { onAddressSelect: u } = Ie(), [y, I] = be(!1), { searchByPostalCode: b } =
|
|
949
|
+
const { labelId: m } = T(), { onAddressSelect: u } = Ie(), [y, I] = be(!1), { searchByPostalCode: b } = Wn({
|
|
951
950
|
isAutocompleteEnabled: y
|
|
952
|
-
}), [p, f] = be(), N =
|
|
951
|
+
}), [p, f] = be(), N = q(() => p ? [
|
|
953
952
|
{
|
|
954
953
|
id: V(),
|
|
955
954
|
label: p.formattedAddress || ""
|
|
@@ -1049,8 +1048,8 @@ $.Control = Je;
|
|
|
1049
1048
|
$.Options = Ge;
|
|
1050
1049
|
$.Description = ie;
|
|
1051
1050
|
$.Error = ce;
|
|
1052
|
-
const
|
|
1053
|
-
const { id: t, value: o, onChange: n, disabled: l, readOnly: a, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, autocomplete: y } = P(), { labelId: I } = T(), { autocompleteEnabled: b } = Ie(), p = y || b, f = pe("streetName"), N = E(e,
|
|
1051
|
+
const U = ({ children: e }) => {
|
|
1052
|
+
const { id: t, value: o, onChange: n, disabled: l, readOnly: a, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u, autocomplete: y } = P(), { labelId: I } = T(), { autocompleteEnabled: b } = Ie(), p = y || b, f = pe("streetName"), N = E(e, U.Label), S = E(e, U.Input), h = E(e, U.Options), O = E(e, U.Description), A = E(e, U.Error);
|
|
1054
1053
|
return p ? /* @__PURE__ */ r.createElement(u, {
|
|
1055
1054
|
fieldId: t,
|
|
1056
1055
|
renderLabel: () => F(N, {
|
|
@@ -1090,7 +1089,7 @@ const W = ({ children: e }) => {
|
|
|
1090
1089
|
enabled: !0
|
|
1091
1090
|
}), { predictions: b, updatePredictions: p, clearPredictions: f } = St({
|
|
1092
1091
|
atlas: I
|
|
1093
|
-
}), N = E(e,
|
|
1092
|
+
}), N = E(e, U.Input), S = E(e, U.Options), h = q(() => b.reduce((g, v) => (v.searchId && v.description && g.push({
|
|
1094
1093
|
id: v.searchId,
|
|
1095
1094
|
label: v.description
|
|
1096
1095
|
}), g), []), [
|
|
@@ -1183,11 +1182,11 @@ const W = ({ children: e }) => {
|
|
|
1183
1182
|
}, n);
|
|
1184
1183
|
};
|
|
1185
1184
|
Xe.Option = Jn;
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1185
|
+
U.Label = de;
|
|
1186
|
+
U.Input = jn;
|
|
1187
|
+
U.Options = Xe;
|
|
1188
|
+
U.Description = ie;
|
|
1189
|
+
U.Error = ce;
|
|
1191
1190
|
const se = ({ children: e }) => {
|
|
1192
1191
|
const { id: t, value: o, onChange: n, disabled: l, readOnly: a, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: y } = T(), I = pe("streetNumber"), b = E(e, se.Label), p = E(e, se.Input), f = E(e, se.Description), N = E(e, se.Error);
|
|
1193
1192
|
return /* @__PURE__ */ r.createElement(u, {
|
|
@@ -1226,12 +1225,12 @@ se.Input = Gn;
|
|
|
1226
1225
|
se.Description = ie;
|
|
1227
1226
|
se.Error = ce;
|
|
1228
1227
|
const H = ({ children: e }) => {
|
|
1229
|
-
const { id: t, value: o, onChange: n, disabled: l, readOnly: a, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: y } = T(), { t: I } = Te(), b = Le(), p = b ? ve[b] : void 0, f = b && Bt.getCountryByShortKey(b), N =
|
|
1228
|
+
const { id: t, value: o, onChange: n, disabled: l, readOnly: a, required: i, hasError: s, onBlur: d, onFocus: m, FieldLayout: u } = P(), { labelId: y } = T(), { t: I } = Te(), b = Le(), p = b ? ve[b] : void 0, f = b && Bt.getCountryByShortKey(b), N = q(() => {
|
|
1230
1229
|
var B;
|
|
1231
|
-
return (kt(((B = f == null ? void 0 : f.subdivisions) == null ? void 0 : B.list) || [], p) || []).map((
|
|
1232
|
-
value:
|
|
1233
|
-
label: I(
|
|
1234
|
-
})).sort((
|
|
1230
|
+
return (kt(((B = f == null ? void 0 : f.subdivisions) == null ? void 0 : B.list) || [], p) || []).map((w) => ({
|
|
1231
|
+
value: w.key,
|
|
1232
|
+
label: I(w.displayName)
|
|
1233
|
+
})).sort((w, D) => w.label.localeCompare(D.label));
|
|
1235
1234
|
}, [
|
|
1236
1235
|
p,
|
|
1237
1236
|
I,
|
|
@@ -1333,12 +1332,12 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1333
1332
|
[K.MLA_STREET_NUMBER]: ar,
|
|
1334
1333
|
[K.MLA_APARTMENT]: lr
|
|
1335
1334
|
}, cr = {}, dr = [], c = ({ children: e }) => {
|
|
1336
|
-
const { id: t, form: o, value: n, onChange: l, onFieldBlur: a, onFieldFocus: i, errors: s, FieldLayout: d, fieldSettings: m, label: u, validation: y, target: I, autocompleteEnabled: b, required: p, fieldType: f } = P(), [N, S] = be(null), h = $t(), O =
|
|
1335
|
+
const { id: t, form: o, value: n, onChange: l, onFieldBlur: a, onFieldFocus: i, errors: s, FieldLayout: d, fieldSettings: m, label: u, validation: y, target: I, autocompleteEnabled: b, required: p, fieldType: f } = P(), [N, S] = be(null), h = $t(), O = q(() => ({
|
|
1337
1336
|
...h,
|
|
1338
1337
|
...ir
|
|
1339
1338
|
}), [
|
|
1340
1339
|
h
|
|
1341
|
-
]), { isExperimentEnabled: A } = yt(), M = A(Ct.STREETLESS_LOCALITY_FALLBACK), { validateFields: _ } =
|
|
1340
|
+
]), { isExperimentEnabled: A } = yt(), M = A(Ct.STREETLESS_LOCALITY_FALLBACK), { validateFields: _ } = Ut(), g = Wt(), v = Lt(), me = q(() => ({
|
|
1342
1341
|
...v,
|
|
1343
1342
|
actions: {
|
|
1344
1343
|
predict: Yt,
|
|
@@ -1357,10 +1356,10 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1357
1356
|
fieldSettings: m,
|
|
1358
1357
|
validation: y,
|
|
1359
1358
|
required: p
|
|
1360
|
-
}),
|
|
1359
|
+
}), w = R((W) => {
|
|
1361
1360
|
if (!n)
|
|
1362
1361
|
return;
|
|
1363
|
-
const G = on(
|
|
1362
|
+
const G = on(W, B, M), _e = {
|
|
1364
1363
|
...G,
|
|
1365
1364
|
[ye.COUNTRY]: G[ye.COUNTRY] ?? n[ye.COUNTRY]
|
|
1366
1365
|
};
|
|
@@ -1370,8 +1369,8 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1370
1369
|
n,
|
|
1371
1370
|
B,
|
|
1372
1371
|
M
|
|
1373
|
-
]), D = R((
|
|
1374
|
-
if (B &&
|
|
1372
|
+
]), D = R((W, G) => {
|
|
1373
|
+
if (B && W === ye.COUNTRY && (n == null ? void 0 : n[W]) !== G) {
|
|
1375
1374
|
l == null || l({
|
|
1376
1375
|
[ye.COUNTRY]: G
|
|
1377
1376
|
});
|
|
@@ -1379,19 +1378,19 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1379
1378
|
}
|
|
1380
1379
|
l == null || l({
|
|
1381
1380
|
...n,
|
|
1382
|
-
[
|
|
1381
|
+
[W]: G
|
|
1383
1382
|
});
|
|
1384
1383
|
}, [
|
|
1385
1384
|
l,
|
|
1386
1385
|
n,
|
|
1387
1386
|
B
|
|
1388
|
-
]), J = R(async (
|
|
1389
|
-
...
|
|
1387
|
+
]), J = R(async (W) => _(B ? [
|
|
1388
|
+
...W,
|
|
1390
1389
|
{
|
|
1391
1390
|
path: `${I}/${ye.COUNTRY}`,
|
|
1392
1391
|
value: n == null ? void 0 : n.country
|
|
1393
1392
|
}
|
|
1394
|
-
] :
|
|
1393
|
+
] : W), [
|
|
1395
1394
|
n,
|
|
1396
1395
|
I,
|
|
1397
1396
|
_,
|
|
@@ -1399,12 +1398,12 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1399
1398
|
]);
|
|
1400
1399
|
Ht(t, () => {
|
|
1401
1400
|
var _e;
|
|
1402
|
-
const
|
|
1401
|
+
const W = s == null ? void 0 : s[0], G = (_e = j == null ? void 0 : j.fields) == null ? void 0 : _e.find((at) => "target" in at && at.target === (W == null ? void 0 : W.errorPath));
|
|
1403
1402
|
return G == null ? void 0 : G.id;
|
|
1404
1403
|
});
|
|
1405
1404
|
const Ee = Xt(t), Ne = F(E(e, c.Country), {
|
|
1406
1405
|
isForcedOpen: Ee
|
|
1407
|
-
}), Qe = E(e, c.Subdivision), Ze = E(e, c.City), et = E(e, c.AddressLine), tt = E(e, c.AddressLine2), nt = E(e, c.PostalCode), rt = E(e, c.StreetName), ot = E(e, c.StreetNumber), st = E(e, c.Apartment), _t =
|
|
1406
|
+
}), Qe = E(e, c.Subdivision), Ze = E(e, c.City), et = E(e, c.AddressLine), tt = E(e, c.AddressLine2), nt = E(e, c.PostalCode), rt = E(e, c.StreetName), ot = E(e, c.StreetNumber), st = E(e, c.Apartment), _t = q(() => ({
|
|
1408
1407
|
country: Ne,
|
|
1409
1408
|
subdivision: Qe,
|
|
1410
1409
|
city: Ze,
|
|
@@ -1431,7 +1430,7 @@ const Zn = () => ue("country"), er = () => ue("subdivision"), tr = () => ue("cit
|
|
|
1431
1430
|
countryCode: n == null ? void 0 : n.country
|
|
1432
1431
|
}, /* @__PURE__ */ r.createElement(sn, {
|
|
1433
1432
|
autocompleteEnabled: b,
|
|
1434
|
-
onAddressSelect:
|
|
1433
|
+
onAddressSelect: w
|
|
1435
1434
|
}, /* @__PURE__ */ r.createElement(Cn, {
|
|
1436
1435
|
fields: _t
|
|
1437
1436
|
}, /* @__PURE__ */ r.createElement("div", {
|
|
@@ -1464,42 +1463,42 @@ c.City = oe;
|
|
|
1464
1463
|
c.AddressLine = k;
|
|
1465
1464
|
c.AddressLine2 = ne;
|
|
1466
1465
|
c.PostalCode = $;
|
|
1467
|
-
c.StreetName =
|
|
1466
|
+
c.StreetName = U;
|
|
1468
1467
|
c.StreetNumber = se;
|
|
1469
1468
|
c.Apartment = re;
|
|
1470
1469
|
const ur = "_postalCodeControl_1tire_1", mr = "_comboControl_1tire_5", pr = "_comboTrigger_1tire_19", Oe = {
|
|
1471
1470
|
postalCodeControl: ur,
|
|
1472
1471
|
comboControl: mr,
|
|
1473
1472
|
comboTrigger: pr
|
|
1474
|
-
},
|
|
1473
|
+
}, Tr = () => {
|
|
1475
1474
|
const e = nn(), t = tn(Me);
|
|
1476
1475
|
return /* @__PURE__ */ r.createElement(c, null, /* @__PURE__ */ r.createElement(c.Country, null, /* @__PURE__ */ r.createElement(c.Country.Label, {
|
|
1477
|
-
className: L(
|
|
1476
|
+
className: L(z, C.label)
|
|
1478
1477
|
}, /* @__PURE__ */ r.createElement(c.Country.Label.Required, {
|
|
1479
|
-
className: L(
|
|
1478
|
+
className: L(Q, C.requiredMark)
|
|
1480
1479
|
})), /* @__PURE__ */ r.createElement(c.Country.Control, {
|
|
1481
|
-
className: L(
|
|
1480
|
+
className: L(it, C.input, Oe.comboControl)
|
|
1482
1481
|
}, /* @__PURE__ */ r.createElement(c.Country.Control.Input, {
|
|
1483
1482
|
className: L(C.innerInput, Me)
|
|
1484
1483
|
}), /* @__PURE__ */ r.createElement(c.Country.Control.Trigger, {
|
|
1485
1484
|
className: Oe.comboTrigger
|
|
1486
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1485
|
+
}, /* @__PURE__ */ r.createElement(ct, {
|
|
1487
1486
|
className: C.dropdownIcon
|
|
1488
1487
|
}))), /* @__PURE__ */ r.createElement(c.Country.Options, {
|
|
1489
1488
|
className: L(ge, C.selectPopover, C.dropdownPopover)
|
|
1490
1489
|
}, /* @__PURE__ */ r.createElement(c.Country.Options.Option, {
|
|
1491
1490
|
className: t
|
|
1492
1491
|
})), /* @__PURE__ */ r.createElement(c.Country.Error, {
|
|
1493
|
-
className: L(
|
|
1494
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1495
|
-
className: L(
|
|
1492
|
+
className: L(Z, C.error)
|
|
1493
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.Country.Error.Text, null)), /* @__PURE__ */ r.createElement(c.Country.Description, {
|
|
1494
|
+
className: L(ee, C.description)
|
|
1496
1495
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1497
1496
|
content: o,
|
|
1498
1497
|
locale: n
|
|
1499
1498
|
}))), /* @__PURE__ */ r.createElement(c.AddressLine, null, /* @__PURE__ */ r.createElement(c.AddressLine.Label, {
|
|
1500
|
-
className: L(
|
|
1499
|
+
className: L(z, C.label)
|
|
1501
1500
|
}, /* @__PURE__ */ r.createElement(c.AddressLine.Label.Required, {
|
|
1502
|
-
className: L(
|
|
1501
|
+
className: L(Q, C.requiredMark)
|
|
1503
1502
|
})), /* @__PURE__ */ r.createElement(c.AddressLine.Input, {
|
|
1504
1503
|
className: e
|
|
1505
1504
|
}), /* @__PURE__ */ r.createElement(c.AddressLine.Options, {
|
|
@@ -1507,42 +1506,42 @@ const ur = "_postalCodeControl_1tire_1", mr = "_comboControl_1tire_5", pr = "_co
|
|
|
1507
1506
|
}, /* @__PURE__ */ r.createElement(c.AddressLine.Options.Option, {
|
|
1508
1507
|
className: t
|
|
1509
1508
|
})), /* @__PURE__ */ r.createElement(c.AddressLine.Error, {
|
|
1510
|
-
className: L(
|
|
1511
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1512
|
-
className: L(
|
|
1509
|
+
className: L(Z, C.error)
|
|
1510
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.AddressLine.Error.Text, null)), /* @__PURE__ */ r.createElement(c.AddressLine.Description, {
|
|
1511
|
+
className: L(ee, C.description)
|
|
1513
1512
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1514
1513
|
content: o,
|
|
1515
1514
|
locale: n
|
|
1516
1515
|
}))), /* @__PURE__ */ r.createElement(c.AddressLine2, null, /* @__PURE__ */ r.createElement(c.AddressLine2.Label, {
|
|
1517
|
-
className: L(
|
|
1516
|
+
className: L(z, C.label)
|
|
1518
1517
|
}, /* @__PURE__ */ r.createElement(c.AddressLine2.Label.Required, {
|
|
1519
|
-
className: L(
|
|
1518
|
+
className: L(Q, C.requiredMark)
|
|
1520
1519
|
})), /* @__PURE__ */ r.createElement(c.AddressLine2.Input, {
|
|
1521
1520
|
className: e
|
|
1522
1521
|
}), /* @__PURE__ */ r.createElement(c.AddressLine2.Error, {
|
|
1523
|
-
className: L(
|
|
1524
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1525
|
-
className: L(
|
|
1522
|
+
className: L(Z, C.error)
|
|
1523
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.AddressLine2.Error.Text, null)), /* @__PURE__ */ r.createElement(c.AddressLine2.Description, {
|
|
1524
|
+
className: L(ee, C.description)
|
|
1526
1525
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1527
1526
|
content: o,
|
|
1528
1527
|
locale: n
|
|
1529
1528
|
}))), /* @__PURE__ */ r.createElement(c.City, null, /* @__PURE__ */ r.createElement(c.City.Label, {
|
|
1530
|
-
className: L(
|
|
1529
|
+
className: L(z, C.label)
|
|
1531
1530
|
}, /* @__PURE__ */ r.createElement(c.City.Label.Required, {
|
|
1532
|
-
className: L(
|
|
1531
|
+
className: L(Q, C.requiredMark)
|
|
1533
1532
|
})), /* @__PURE__ */ r.createElement(c.City.Input, {
|
|
1534
1533
|
className: e
|
|
1535
1534
|
}), /* @__PURE__ */ r.createElement(c.City.Error, {
|
|
1536
|
-
className: L(
|
|
1537
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1538
|
-
className: L(
|
|
1535
|
+
className: L(Z, C.error)
|
|
1536
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.City.Error.Text, null)), /* @__PURE__ */ r.createElement(c.City.Description, {
|
|
1537
|
+
className: L(ee, C.description)
|
|
1539
1538
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1540
1539
|
content: o,
|
|
1541
1540
|
locale: n
|
|
1542
1541
|
}))), /* @__PURE__ */ r.createElement(c.PostalCode, null, /* @__PURE__ */ r.createElement(c.PostalCode.Label, {
|
|
1543
|
-
className: L(
|
|
1542
|
+
className: L(z, C.label)
|
|
1544
1543
|
}, /* @__PURE__ */ r.createElement(c.PostalCode.Label.Required, {
|
|
1545
|
-
className: L(
|
|
1544
|
+
className: L(Q, C.requiredMark)
|
|
1546
1545
|
})), /* @__PURE__ */ r.createElement(c.PostalCode.Control, {
|
|
1547
1546
|
className: Oe.postalCodeControl
|
|
1548
1547
|
}, /* @__PURE__ */ r.createElement(c.PostalCode.Control.Input, {
|
|
@@ -1552,39 +1551,39 @@ const ur = "_postalCodeControl_1tire_1", mr = "_comboControl_1tire_5", pr = "_co
|
|
|
1552
1551
|
}, /* @__PURE__ */ r.createElement(c.PostalCode.Options.Option, {
|
|
1553
1552
|
className: t
|
|
1554
1553
|
})), /* @__PURE__ */ r.createElement(c.PostalCode.Error, {
|
|
1555
|
-
className: L(
|
|
1556
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1557
|
-
className: L(
|
|
1554
|
+
className: L(Z, C.error)
|
|
1555
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.PostalCode.Error.Text, null)), /* @__PURE__ */ r.createElement(c.PostalCode.Description, {
|
|
1556
|
+
className: L(ee, C.description)
|
|
1558
1557
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1559
1558
|
content: o,
|
|
1560
1559
|
locale: n
|
|
1561
1560
|
}))), /* @__PURE__ */ r.createElement(c.Subdivision, null, /* @__PURE__ */ r.createElement(c.Subdivision.Label, {
|
|
1562
|
-
className: L(
|
|
1561
|
+
className: L(z, C.label)
|
|
1563
1562
|
}, /* @__PURE__ */ r.createElement(c.Subdivision.Label.Required, {
|
|
1564
|
-
className: L(
|
|
1563
|
+
className: L(Q, C.requiredMark)
|
|
1565
1564
|
})), /* @__PURE__ */ r.createElement(c.Subdivision.Control, {
|
|
1566
|
-
className: L(
|
|
1565
|
+
className: L(it, C.input, Oe.comboControl)
|
|
1567
1566
|
}, /* @__PURE__ */ r.createElement(c.Subdivision.Control.Input, {
|
|
1568
1567
|
className: L(C.innerInput, Me)
|
|
1569
1568
|
}), /* @__PURE__ */ r.createElement(c.Subdivision.Control.Trigger, {
|
|
1570
1569
|
className: Oe.comboTrigger
|
|
1571
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1570
|
+
}, /* @__PURE__ */ r.createElement(ct, {
|
|
1572
1571
|
className: C.dropdownIcon
|
|
1573
1572
|
}))), /* @__PURE__ */ r.createElement(c.Subdivision.Options, {
|
|
1574
1573
|
className: L(ge, C.selectPopover, C.dropdownPopover)
|
|
1575
1574
|
}, /* @__PURE__ */ r.createElement(c.Subdivision.Options.Option, {
|
|
1576
1575
|
className: t
|
|
1577
1576
|
})), /* @__PURE__ */ r.createElement(c.Subdivision.Error, {
|
|
1578
|
-
className: L(
|
|
1579
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1580
|
-
className: L(
|
|
1577
|
+
className: L(Z, C.error)
|
|
1578
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.Subdivision.Error.Text, null)), /* @__PURE__ */ r.createElement(c.Subdivision.Description, {
|
|
1579
|
+
className: L(ee, C.description)
|
|
1581
1580
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1582
1581
|
content: o,
|
|
1583
1582
|
locale: n
|
|
1584
1583
|
}))), /* @__PURE__ */ r.createElement(c.StreetName, null, /* @__PURE__ */ r.createElement(c.StreetName.Label, {
|
|
1585
|
-
className: L(
|
|
1584
|
+
className: L(z, C.label)
|
|
1586
1585
|
}, /* @__PURE__ */ r.createElement(c.StreetName.Label.Required, {
|
|
1587
|
-
className: L(
|
|
1586
|
+
className: L(Q, C.requiredMark)
|
|
1588
1587
|
})), /* @__PURE__ */ r.createElement(c.StreetName.Input, {
|
|
1589
1588
|
className: e
|
|
1590
1589
|
}), /* @__PURE__ */ r.createElement(c.StreetName.Options, {
|
|
@@ -1592,40 +1591,40 @@ const ur = "_postalCodeControl_1tire_1", mr = "_comboControl_1tire_5", pr = "_co
|
|
|
1592
1591
|
}, /* @__PURE__ */ r.createElement(c.StreetName.Options.Option, {
|
|
1593
1592
|
className: t
|
|
1594
1593
|
})), /* @__PURE__ */ r.createElement(c.StreetName.Error, {
|
|
1595
|
-
className: L(
|
|
1596
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1597
|
-
className: L(
|
|
1594
|
+
className: L(Z, C.error)
|
|
1595
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.StreetName.Error.Text, null)), /* @__PURE__ */ r.createElement(c.StreetName.Description, {
|
|
1596
|
+
className: L(ee, C.description)
|
|
1598
1597
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1599
1598
|
content: o,
|
|
1600
1599
|
locale: n
|
|
1601
1600
|
}))), /* @__PURE__ */ r.createElement(c.StreetNumber, null, /* @__PURE__ */ r.createElement(c.StreetNumber.Label, {
|
|
1602
|
-
className: L(
|
|
1601
|
+
className: L(z, C.label)
|
|
1603
1602
|
}, /* @__PURE__ */ r.createElement(c.StreetNumber.Label.Required, {
|
|
1604
|
-
className: L(
|
|
1603
|
+
className: L(Q, C.requiredMark)
|
|
1605
1604
|
})), /* @__PURE__ */ r.createElement(c.StreetNumber.Input, {
|
|
1606
1605
|
className: e
|
|
1607
1606
|
}), /* @__PURE__ */ r.createElement(c.StreetNumber.Error, {
|
|
1608
|
-
className: L(
|
|
1609
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1610
|
-
className: L(
|
|
1607
|
+
className: L(Z, C.error)
|
|
1608
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.StreetNumber.Error.Text, null)), /* @__PURE__ */ r.createElement(c.StreetNumber.Description, {
|
|
1609
|
+
className: L(ee, C.description)
|
|
1611
1610
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1612
1611
|
content: o,
|
|
1613
1612
|
locale: n
|
|
1614
1613
|
}))), /* @__PURE__ */ r.createElement(c.Apartment, null, /* @__PURE__ */ r.createElement(c.Apartment.Label, {
|
|
1615
|
-
className: L(
|
|
1614
|
+
className: L(z, C.label)
|
|
1616
1615
|
}, /* @__PURE__ */ r.createElement(c.Apartment.Label.Required, {
|
|
1617
|
-
className: L(
|
|
1616
|
+
className: L(Q, C.requiredMark)
|
|
1618
1617
|
})), /* @__PURE__ */ r.createElement(c.Apartment.Input, {
|
|
1619
1618
|
className: e
|
|
1620
1619
|
}), /* @__PURE__ */ r.createElement(c.Apartment.Error, {
|
|
1621
|
-
className: L(
|
|
1622
|
-
}, /* @__PURE__ */ r.createElement(
|
|
1623
|
-
className: L(
|
|
1620
|
+
className: L(Z, C.error)
|
|
1621
|
+
}, /* @__PURE__ */ r.createElement(te, null), /* @__PURE__ */ r.createElement(c.Apartment.Error.Text, null)), /* @__PURE__ */ r.createElement(c.Apartment.Description, {
|
|
1622
|
+
className: L(ee, C.description)
|
|
1624
1623
|
}, ({ content: o, locale: n }) => /* @__PURE__ */ r.createElement(X, {
|
|
1625
1624
|
content: o,
|
|
1626
1625
|
locale: n
|
|
1627
1626
|
}))));
|
|
1628
1627
|
};
|
|
1629
1628
|
export {
|
|
1630
|
-
|
|
1629
|
+
Tr as M
|
|
1631
1630
|
};
|