@wix/form-elements 1.63.0 → 1.65.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-B1VVk_Ui.js → appointment-rac-0kUk8XQJ.js} +5 -5
- package/dist/component/{bookings-address-rac-IQeHFdHT.js → bookings-address-rac-BUM0wpw0.js} +1 -1
- package/dist/component/{bookings-email-rac-z26A790r.js → bookings-email-rac-BHlvupVS.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Djf0GPP4.js → bookings-first-name-rac-Bwn6xv1U.js} +1 -1
- package/dist/component/{bookings-header-rac-CXOzAOpz.js → bookings-header-rac-BkRvQMi4.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CbB8alM9.js → bookings-last-name-rac-DRTj4VdX.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CXrLx7Pn.js → bookings-login-bar-rac-D-2Bt7Kx.js} +5 -5
- package/dist/component/{bookings-phone-rac-DGYx7h5g.js → bookings-phone-rac-CTcHHpDr.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-viJG57XF.js → bookings-rich-text-rac-n-w9iWII.js} +1 -1
- package/dist/component/{checkbox-field-rac-e-RAmupX.js → checkbox-field-rac-BamOJv3P.js} +43 -43
- package/dist/component/checkbox-group-field-headless-BmKJbEi0.js +210 -0
- package/dist/component/checkbox-group-field-rac-CC8qfj0Y.js +40 -0
- package/dist/component/{checkbox-group-rac-CDfDTWqz.js → checkbox-group-rac-CsrP7zD5.js} +1 -1
- package/dist/component/{checkbox-rac-BRBKYD_5.js → checkbox-rac-X6E-fJ8k.js} +1 -1
- package/dist/component/{contacts-address-rac-BtWWQi77.js → contacts-address-rac-oYnkIZ6m.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DaEUXJTf.js → contacts-birthdate-rac-B7p8LgYA.js} +1 -1
- package/dist/component/{contacts-company-rac-IgRyjtcM.js → contacts-company-rac-cjLRO5J-.js} +1 -1
- package/dist/component/{contacts-email-rac-BS1MDrMk.js → contacts-email-rac-BlJJSkGK.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BAvXypDF.js → contacts-first-name-rac-Nl-MDndn.js} +1 -1
- package/dist/component/{contacts-last-name-rac-C289RYPl.js → contacts-last-name-rac-DhxAobRI.js} +1 -1
- package/dist/component/{contacts-phone-rac-DIpyskam.js → contacts-phone-rac-CZLWlH0T.js} +1 -1
- package/dist/component/{contacts-position-rac-nPeh3lKU.js → contacts-position-rac-DlKC0lCU.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-Ci5OLk68.js → contacts-subscribe-rac-POSKh1Ta.js} +2 -2
- package/dist/component/{contacts-tax-id-rac-C4WB-SR0.js → contacts-tax-id-rac-uyBKxOJn.js} +1 -1
- package/dist/component/{date-availability-HHjPx4Uv.js → date-availability-DnFJD1aS.js} +1 -1
- package/dist/component/{date-input-field-rac-GFgFcpX2.js → date-input-field-rac-DojzGm-i.js} +22 -22
- package/dist/component/{date-input-rac-B9BUEIA-.js → date-input-rac-BaPKcAuU.js} +1 -1
- package/dist/component/{date-picker-field-rac-BfjYIIuY.js → date-picker-field-rac-C1rzJMV8.js} +24 -24
- package/dist/component/{date-picker-rac-Bd2UN0ZF.js → date-picker-rac-BHsOfkYn.js} +1 -1
- package/dist/component/{date-time-input-field-rac-CAXnxLQP.js → date-time-input-field-rac-B4jAAxU8.js} +32 -32
- package/dist/component/{date-time-input-rac-BuJ3Awlh.js → date-time-input-rac-XyL5z_ma.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DKp4cBVa.js → dext-checkbox-group-rac-DzpdOP3i.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BMu_k06A.js → dext-checkbox-rac-BUWkvW5s.js} +1 -1
- package/dist/component/{dext-date-picker-rac-L3sdldhT.js → dext-date-picker-rac-CR0PUoOn.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-UmabFzDN.js → dext-date-time-input-rac-D3WhLSKK.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DbjgYaG-.js → dext-dropdown-rac-BJ1UfAIM.js} +1 -1
- package/dist/component/{dext-email-rac-rNudrOOK.js → dext-email-rac-xk_5C79-.js} +1 -1
- package/dist/component/{dext-number-input-rac-hw1FTrJL.js → dext-number-input-rac-Cu1Sqoac.js} +1 -1
- package/dist/component/{dext-phone-rac-DrZ_Vwv2.js → dext-phone-rac-S34qxXwg.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DAt2ax-I.js → dext-radio-group-rac-DXnAk_eU.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BW2Ike11.js → dext-rating-input-rac-ewGpgB63.js} +1 -1
- package/dist/component/{dext-tags-rac-DDzwlKrR.js → dext-tags-rac-BApZKGqP.js} +2 -2
- package/dist/component/{dext-text-area-rac-D0xf4z3z.js → dext-text-area-rac-DBtuaiwM.js} +1 -1
- package/dist/component/{dext-text-input-rac-Da04OLmq.js → dext-text-input-rac-qI8VECmA.js} +1 -1
- package/dist/component/{dext-url-input-rac-B-g4xTqh.js → dext-url-input-rac-C6vzqNjn.js} +1 -1
- package/dist/component/donation-rac-BDVKvG4j.js +302 -0
- package/dist/component/{dropdown-field-headless-Js5TxdU4.js → dropdown-field-headless-DBl8vGed.js} +16 -16
- package/dist/component/{dropdown-field-rac-BDxcvX00.js → dropdown-field-rac-O6G7_kSn.js} +9 -9
- package/dist/component/{dropdown-rac-B5UHNzV-.js → dropdown-rac-BImZ5Jwe.js} +1 -1
- package/dist/component/{ecom-address-rac-0zm4bX37.js → ecom-address-rac-BU4XZ_Do.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DCXoI33l.js → ecom-subscription-checkbox-rac-DLzpoNYm.js} +3 -3
- package/dist/component/{email-input-field-rac-svf6hUHF.js → email-input-field-rac-Ui0p35z5.js} +45 -45
- package/dist/component/{events-repeater-rac-DMIqzuVK.js → events-repeater-rac-bPKOOOit.js} +49 -49
- package/dist/component/{events-rsvp-rac-B_YD4ckO.js → events-rsvp-rac-lsRBBfPQ.js} +3 -3
- package/dist/component/{field-error-headless-DTKnr5Zx.js → field-error-headless-D6iejMQP.js} +3 -3
- package/dist/component/{field-label-headless-DV4aNd5Y.js → field-label-headless-BWLfU3YB.js} +4 -4
- package/dist/component/field-rac.module-DnUIb9Oh.js +21 -0
- package/dist/component/{file-upload-rac-lGKJjG3m.js → file-upload-rac-DqKL8QQZ.js} +116 -116
- package/dist/component/{fixed-payment-rac-BVS6glii.js → fixed-payment-rac-BDtRB8w2.js} +14 -14
- package/dist/component/{form-DzjdnO7t.js → form-CtWkUmxc.js} +1563 -1556
- package/dist/component/form-element-classes-BSMjWijd.js +63 -0
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-tzBH-8Yh.js → header-field-rac-BLM8RCDY.js} +7 -7
- package/dist/component/{header-rac-6thQAvVF.js → header-rac-DViRwafg.js} +1 -1
- package/dist/component/image-choice-rac-D76t2y-b.js +141 -0
- package/dist/component/{index-Lnx0829a.js → index--iRBHLXJ.js} +4 -4
- package/dist/component/{index-DIP7KB8P.js → index-pEItT2oo.js} +2 -2
- package/dist/component/{isObjectLike-B_1KizZV.js → isObjectLike-968AHV2b.js} +1 -1
- package/dist/component/{multiline-address-field-rac-BY2SUp2d.js → multiline-address-field-rac-CObOc8KE.js} +82 -82
- package/dist/component/{multiline-address-rac-BL8Yp4F0.js → multiline-address-rac-1qVZkN41.js} +1 -1
- package/dist/component/{number-input-field-rac-x0yFmXbe.js → number-input-field-rac-CPQ3u0N7.js} +19 -19
- package/dist/component/{number-input-rac-pJXc2YsD.js → number-input-rac-Bq1UyUPZ.js} +1 -1
- package/dist/component/{password-rac-B4XCP64b.js → password-rac-BZPK1VkN.js} +15 -15
- package/dist/component/{payment-input-rac-CZdOAjK4.js → payment-input-rac-CQrV0WmN.js} +28 -28
- package/dist/component/{phone-input-field-rac-DO_V5Z_T.js → phone-input-field-rac-DzUE1-RF.js} +39 -39
- package/dist/component/{phone-rac-D16nLDjP.js → phone-rac-BovOZ7V5.js} +1 -1
- package/dist/component/{product-list-rac-DER8gVqy.js → product-list-rac-CeGm1_WN.js} +71 -71
- package/dist/component/quiz-radio-group-rac-Lw2thQqC.js +13 -0
- package/dist/component/{radio-group-field-rac-Dt2pU0VV.js → radio-group-field-rac-BSVmjEgZ.js} +8 -8
- package/dist/component/{radio-group-field-rac.module--sO0VqCA.js → radio-group-field-rac.module-Cb3mm0f2.js} +7 -7
- package/dist/component/{radio-group-rac-CqCmtkNQ.js → radio-group-rac-BHhOCSQ2.js} +1 -1
- package/dist/component/{rating-input-field-rac-xDrHHcL2.js → rating-input-field-rac-BvbBZZDO.js} +31 -31
- package/dist/component/{rating-input-rac-Bo5E9N87.js → rating-input-rac-DDe1EBpt.js} +1 -1
- package/dist/component/{rich-content-rac.module-CJXbNca9.js → rich-content-rac.module-BacYkzEv.js} +1 -1
- package/dist/component/{rich-text-field-rac-CkV0Z9F-.js → rich-text-field-rac-D1W0mUjr.js} +3 -3
- package/dist/component/{rich-text-rac-59DbKpXz.js → rich-text-rac-B-cOn0RU.js} +1 -1
- package/dist/component/{service-dropdown-rac-BLnflnUr.js → service-dropdown-rac-CebfMkGP.js} +41 -41
- package/dist/component/services-multi-choice-rac-C4bF1xhB.js +76 -0
- package/dist/component/{signature-rac-Bb5IaS28.js → signature-rac-DWWT65Ez.js} +48 -48
- package/dist/component/{submit-button-rac-Bjyi8sUA.js → submit-button-rac-_mgn4ChE.js} +6 -6
- package/dist/component/{tags-field-rac-C_VO3_69.js → tags-field-rac-7coCWj0y.js} +39 -39
- package/dist/component/{tags-rac-CKiutCWe.js → tags-rac-rgsn8Os0.js} +1 -1
- package/dist/component/{text-area-field-rac-Cg-vIhFe.js → text-area-field-rac-5lUQxnNM.js} +15 -15
- package/dist/component/{text-area-rac-tMFx38UD.js → text-area-rac-DpGOBzN3.js} +1 -1
- package/dist/component/{text-input-field-rac-CgN_2hOD.js → text-input-field-rac-CgWadDfM.js} +6 -6
- package/dist/component/{text-input-headless-CkhvKrFp.js → text-input-headless-fhxuPytc.js} +11 -11
- package/dist/component/{text-input-rac-BsyBgd3b.js → text-input-rac-kgWS3UUV.js} +1 -1
- package/dist/component/{time-input-rac-BxRVJtHE.js → time-input-rac-CuLUJcBH.js} +34 -34
- package/dist/component/{url-input-field-rac-B_1yVniS.js → url-input-field-rac-CAGHb2na.js} +22 -22
- package/dist/component/{url-input-rac-D8VrKYVe.js → url-input-rac-s5_SVi0h.js} +1 -1
- package/dist/component/{use-service-options-base-Ci9gIluo.js → use-service-options-base-CYAEJ75H.js} +6 -6
- package/dist/form.d.ts +3 -1
- package/package.json +2 -2
- package/dist/component/checkbox-group-field-headless-Cvia4lL6.js +0 -204
- package/dist/component/checkbox-group-field-rac-BXxk90dk.js +0 -33
- package/dist/component/donation-rac-gKeq72jg.js +0 -305
- package/dist/component/field-rac.module-DtugsLiL.js +0 -21
- package/dist/component/form-element-classes-Bi-nNM8q.js +0 -55
- package/dist/component/image-choice-rac-Dx1b-saW.js +0 -141
- package/dist/component/quiz-radio-group-rac-BgTmHHi4.js +0 -13
- package/dist/component/services-multi-choice-rac-C-bFjwx8.js +0 -76
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import e, { useMemo as M, useCallback as v, useRef as T } from "react";
|
|
2
|
+
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
|
+
import E from "classnames";
|
|
4
|
+
import { CheckboxGroup as x, CheckboxField as z, CheckboxButton as B } from "react-aria-components";
|
|
5
|
+
import { ai as L, af as q, ab as H, ak as P } from "./form-CtWkUmxc.js";
|
|
6
|
+
import { f as p, a as C } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { L as G, g as w } from "./field-label-headless-BWLfU3YB.js";
|
|
8
|
+
import { D as U, E as V } from "./field-error-headless-D6iejMQP.js";
|
|
9
|
+
import { F as j } from "./fieldset-headless-CD3fds9J.js";
|
|
10
|
+
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
+
import { s as O } from "./field-rac.module-DnUIb9Oh.js";
|
|
12
|
+
import { z as $, P as J, u as K, v as W, w as X, q as Y, j as Z } from "./form-element-classes-BSMjWijd.js";
|
|
13
|
+
const a = ({ children: t }) => {
|
|
14
|
+
const { id: s, value: o, onChange: n, disabled: l, readOnly: i, required: r, onBlur: c, onFocus: m, hasError: u, FieldLayout: f } = L(), { inputId: g, labelId: b, ariaDescribedBy: _ } = q(), R = p(t, a.Label), D = p(t, a.Options), N = p(t, a.Description), S = p(t, a.Error), h = M(() => o || [], [
|
|
15
|
+
o
|
|
16
|
+
]), A = v((y) => {
|
|
17
|
+
n == null || n(y);
|
|
18
|
+
}, [
|
|
19
|
+
n
|
|
20
|
+
]);
|
|
21
|
+
return /* @__PURE__ */ e.createElement(f, {
|
|
22
|
+
fieldId: s,
|
|
23
|
+
renderLabel: () => R,
|
|
24
|
+
renderInput: () => /* @__PURE__ */ e.createElement(j, {
|
|
25
|
+
id: g,
|
|
26
|
+
ariaLabelledBy: b,
|
|
27
|
+
ariaDescribedBy: _,
|
|
28
|
+
required: r,
|
|
29
|
+
onBlur: c,
|
|
30
|
+
onFocus: m
|
|
31
|
+
}, /* @__PURE__ */ e.createElement(x, {
|
|
32
|
+
"aria-labelledby": b,
|
|
33
|
+
value: h,
|
|
34
|
+
onChange: A,
|
|
35
|
+
isDisabled: l,
|
|
36
|
+
isReadOnly: i,
|
|
37
|
+
isRequired: r,
|
|
38
|
+
isInvalid: u
|
|
39
|
+
}, D)),
|
|
40
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, S, N)
|
|
41
|
+
});
|
|
42
|
+
}, F = ({ children: t, className: s }) => {
|
|
43
|
+
const { isMobile: o } = H(), { id: n, options: l, numberOfColumns: i } = L(), r = p(t, F.Option);
|
|
44
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
45
|
+
className: s,
|
|
46
|
+
"data-columns": o ? 1 : i
|
|
47
|
+
}, l == null ? void 0 : l.map((c, m) => C(r, {
|
|
48
|
+
key: c.id || c.label,
|
|
49
|
+
option: c,
|
|
50
|
+
isFirst: m === 0,
|
|
51
|
+
fieldId: n
|
|
52
|
+
})));
|
|
53
|
+
}, ee = ({ className: t }) => /* @__PURE__ */ e.createElement("div", {
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
className: t
|
|
56
|
+
}), te = ({ className: t, ...s }) => {
|
|
57
|
+
var m, u;
|
|
58
|
+
const { option: o } = s, { choiceImageResize: n, choiceImageAlignment: l } = L(), i = (m = o.media) == null ? void 0 : m.image;
|
|
59
|
+
if (!i)
|
|
60
|
+
return null;
|
|
61
|
+
const r = w(i, i.width, i.height);
|
|
62
|
+
if (!r)
|
|
63
|
+
return null;
|
|
64
|
+
const c = ((u = o.media) == null ? void 0 : u.altText) || o.altText || i.altText || "";
|
|
65
|
+
return /* @__PURE__ */ e.createElement("img", {
|
|
66
|
+
className: t,
|
|
67
|
+
src: r,
|
|
68
|
+
alt: c,
|
|
69
|
+
"data-fit": n,
|
|
70
|
+
"data-alignment": l,
|
|
71
|
+
"data-hook": "image-choice-option-image"
|
|
72
|
+
});
|
|
73
|
+
}, ae = ({ className: t, ...s }) => {
|
|
74
|
+
const { option: o } = s;
|
|
75
|
+
return !o.label || o.isLabelHidden ? null : /* @__PURE__ */ e.createElement("span", {
|
|
76
|
+
className: t
|
|
77
|
+
}, o.label);
|
|
78
|
+
}, d = ({ children: t, className: s, ...o }) => {
|
|
79
|
+
const { option: n, isFirst: l = !1, fieldId: i } = o, { disabled: r, readOnly: c, hasError: m } = L(), u = T(null);
|
|
80
|
+
P(() => {
|
|
81
|
+
var _;
|
|
82
|
+
l && ((_ = u.current) == null || _.focus({
|
|
83
|
+
preventScroll: !0
|
|
84
|
+
}));
|
|
85
|
+
}, i);
|
|
86
|
+
const f = p(t, d.Input), g = p(t, d.Image), b = p(t, d.Label);
|
|
87
|
+
return /* @__PURE__ */ e.createElement(z, {
|
|
88
|
+
value: n.label,
|
|
89
|
+
isDisabled: r,
|
|
90
|
+
isReadOnly: c,
|
|
91
|
+
isInvalid: m
|
|
92
|
+
}, /* @__PURE__ */ e.createElement(B, {
|
|
93
|
+
ref: u,
|
|
94
|
+
"aria-label": n.isLabelHidden ? n.label : void 0,
|
|
95
|
+
className: s,
|
|
96
|
+
"data-hook": `image-choice-${n.label}`
|
|
97
|
+
}, f, C(g, {
|
|
98
|
+
option: n
|
|
99
|
+
}), C(b, {
|
|
100
|
+
option: n
|
|
101
|
+
})));
|
|
102
|
+
};
|
|
103
|
+
d.Input = ee;
|
|
104
|
+
d.Image = te;
|
|
105
|
+
d.Label = ae;
|
|
106
|
+
a.Label = G;
|
|
107
|
+
a.Options = F;
|
|
108
|
+
F.Option = d;
|
|
109
|
+
a.Description = U;
|
|
110
|
+
a.Error = V;
|
|
111
|
+
const ne = "_options_19z29_1", oe = "_optionInput_19z29_25", se = "_option_19z29_1", ie = "_optionLabel_19z29_95", le = "_optionImage_19z29_126", I = {
|
|
112
|
+
options: ne,
|
|
113
|
+
optionInput: oe,
|
|
114
|
+
option: se,
|
|
115
|
+
optionLabel: ie,
|
|
116
|
+
optionImage: le
|
|
117
|
+
}, re = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(k, {
|
|
118
|
+
content: t,
|
|
119
|
+
locale: s
|
|
120
|
+
}), ce = () => /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
|
|
121
|
+
className: E($, O.label)
|
|
122
|
+
}, /* @__PURE__ */ e.createElement(a.Label.Required, {
|
|
123
|
+
className: E(J, O.requiredMark)
|
|
124
|
+
})), /* @__PURE__ */ e.createElement(a.Options, {
|
|
125
|
+
className: E(K, I.options)
|
|
126
|
+
}, /* @__PURE__ */ e.createElement(a.Options.Option, {
|
|
127
|
+
className: ({ isSelected: t }) => E(W, t && X, I.option)
|
|
128
|
+
}, /* @__PURE__ */ e.createElement(a.Options.Option.Input, {
|
|
129
|
+
className: I.optionInput
|
|
130
|
+
}), /* @__PURE__ */ e.createElement(a.Options.Option.Image, {
|
|
131
|
+
className: I.optionImage
|
|
132
|
+
}), /* @__PURE__ */ e.createElement(a.Options.Option.Label, {
|
|
133
|
+
className: I.optionLabel
|
|
134
|
+
}))), /* @__PURE__ */ e.createElement(a.Error, {
|
|
135
|
+
className: E(Y, O.error)
|
|
136
|
+
}, /* @__PURE__ */ e.createElement(Q, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
|
|
137
|
+
className: E(Z, O.description)
|
|
138
|
+
}, re)), Ce = () => /* @__PURE__ */ e.createElement(ce, null);
|
|
139
|
+
export {
|
|
140
|
+
Ce as ImageChoiceRAC
|
|
141
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as R, V as _, Q as de, s as O, g as Ge, B as Be, N as qe, I as He, l as A, P as Ee, v as re, S as Fe, b as B, m as M, a3 as Te, o as je, n as he, p as q } from "./form-
|
|
2
|
-
import { _ as Mn } from "./form-
|
|
1
|
+
import { d as R, V as _, Q as de, s as O, g as Ge, B as Be, N as qe, I as He, l as A, P as Ee, v as re, S as Fe, b as B, m as M, a3 as Te, o as je, n as he, p as q } from "./form-CtWkUmxc.js";
|
|
2
|
+
import { _ as Mn } from "./form-CtWkUmxc.js";
|
|
3
3
|
import Xe from "ajv";
|
|
4
4
|
import ke 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-DnFJD1aS.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-DnFJD1aS.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a2 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, M as g, G as q, H as D, a4 as L } from "./form-
|
|
1
|
+
import { a2 as n } from "./form-CtWkUmxc.js";
|
|
2
|
+
import { A as S, a as p, C as N, M as g, G as q, H as D, a4 as L } from "./form-CtWkUmxc.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { RicosViewer as
|
|
1
|
+
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 {
|
|
5
|
+
import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as qt, u as Mt, z as V, F as K, as as qe, 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 jt } from "./form-CtWkUmxc.js";
|
|
6
6
|
import { f as E, a as h } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { F as
|
|
7
|
+
import { F as Ht, 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
|
|
9
|
+
import { D as ce, E as de } from "./field-error-headless-D6iejMQP.js";
|
|
10
|
+
import { L as ue } from "./field-label-headless-BWLfU3YB.js";
|
|
11
|
+
import { e as zt, c as Gt, a as Xt, r as Ot } from "./isObjectLike-968AHV2b.js";
|
|
12
12
|
import { u as Qt } 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 X } 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 {
|
|
16
|
+
import { s as f } from "./field-rac.module-DnUIb9Oh.js";
|
|
17
|
+
import { z as Q, P as Z, y as ee, C as ge, q as te, j as ne } from "./form-element-classes-BSMjWijd.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) => {
|
|
@@ -311,7 +311,7 @@ var we, it;
|
|
|
311
311
|
function fn() {
|
|
312
312
|
if (it) return we;
|
|
313
313
|
it = 1;
|
|
314
|
-
var e =
|
|
314
|
+
var e = zt(), t = function() {
|
|
315
315
|
return e.Date.now();
|
|
316
316
|
};
|
|
317
317
|
return we = t, we;
|
|
@@ -342,7 +342,7 @@ var ke, ut;
|
|
|
342
342
|
function In() {
|
|
343
343
|
if (ut) return ke;
|
|
344
344
|
ut = 1;
|
|
345
|
-
var e =
|
|
345
|
+
var e = Gt(), t = Xt(), o = "[object Symbol]";
|
|
346
346
|
function r(a) {
|
|
347
347
|
return typeof a == "symbol" || t(a) && e(a) == o;
|
|
348
348
|
}
|
|
@@ -410,7 +410,7 @@ function Nn() {
|
|
|
410
410
|
function M() {
|
|
411
411
|
return p === void 0 ? b : pe(t());
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function H() {
|
|
414
414
|
var A = t(), J = O(A);
|
|
415
415
|
if (u = arguments, I = this, y = A, J) {
|
|
416
416
|
if (p === void 0)
|
|
@@ -420,7 +420,7 @@ function Nn() {
|
|
|
420
420
|
}
|
|
421
421
|
return p === void 0 && (p = setTimeout(v, d)), b;
|
|
422
422
|
}
|
|
423
|
-
return
|
|
423
|
+
return H.cancel = x, H.flush = M, H;
|
|
424
424
|
}
|
|
425
425
|
return Ue = i, Ue;
|
|
426
426
|
}
|
|
@@ -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
|
+
}, je = ({ children: e, className: t }) => {
|
|
616
|
+
const o = E(e, je.Option);
|
|
617
617
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
618
618
|
className: t,
|
|
619
619
|
containerPadding: 0,
|
|
@@ -632,10 +632,10 @@ const gn = /* @__PURE__ */ wt(On), vn = (e, t, o = 200) => {
|
|
|
632
632
|
textValue: r
|
|
633
633
|
}, r);
|
|
634
634
|
};
|
|
635
|
-
|
|
635
|
+
je.Option = Dn;
|
|
636
636
|
k.Label = ue;
|
|
637
637
|
k.Input = Sn;
|
|
638
|
-
k.Options =
|
|
638
|
+
k.Options = je;
|
|
639
639
|
k.Description = ce;
|
|
640
640
|
k.Error = de;
|
|
641
641
|
const oe = ({ children: e }) => {
|
|
@@ -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 He = ({ children: e, className: t, ...o }) => {
|
|
839
|
+
const { options: r } = o, a = E(e, He.Option);
|
|
840
840
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
841
841
|
className: t,
|
|
842
842
|
containerPadding: 0,
|
|
@@ -854,10 +854,10 @@ const je = ({ children: e, className: t, ...o }) => {
|
|
|
854
854
|
textValue: r
|
|
855
855
|
}, r);
|
|
856
856
|
};
|
|
857
|
-
|
|
857
|
+
He.Option = qn;
|
|
858
858
|
Y.Label = ue;
|
|
859
859
|
Y.Control = Fe;
|
|
860
|
-
Y.Options =
|
|
860
|
+
Y.Options = He;
|
|
861
861
|
Y.Description = ce;
|
|
862
862
|
Y.Error = de;
|
|
863
863
|
const Mn = /(\d{7})|(\d{3}-\d{4})/;
|
|
@@ -1009,8 +1009,8 @@ const $ = ({ children: e }) => {
|
|
|
1009
1009
|
placeholder: r,
|
|
1010
1010
|
onFocus: i
|
|
1011
1011
|
});
|
|
1012
|
-
},
|
|
1013
|
-
const o = E(e,
|
|
1012
|
+
}, ze = ({ children: e, className: t }) => {
|
|
1013
|
+
const o = E(e, ze.Option);
|
|
1014
1014
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
1015
1015
|
className: t,
|
|
1016
1016
|
containerPadding: 0,
|
|
@@ -1029,11 +1029,11 @@ const $ = ({ children: e }) => {
|
|
|
1029
1029
|
textValue: r
|
|
1030
1030
|
}, r);
|
|
1031
1031
|
};
|
|
1032
|
-
|
|
1032
|
+
ze.Option = $n;
|
|
1033
1033
|
Je.Input = kn;
|
|
1034
1034
|
$.Label = ue;
|
|
1035
1035
|
$.Control = Je;
|
|
1036
|
-
$.Options =
|
|
1036
|
+
$.Options = ze;
|
|
1037
1037
|
$.Description = ce;
|
|
1038
1038
|
$.Error = de;
|
|
1039
1039
|
const U = ({ children: e }) => {
|
|
@@ -1149,8 +1149,8 @@ const U = ({ children: e }) => {
|
|
|
1149
1149
|
placeholder: r,
|
|
1150
1150
|
onFocus: i
|
|
1151
1151
|
});
|
|
1152
|
-
},
|
|
1153
|
-
const o = E(e,
|
|
1152
|
+
}, Ge = ({ children: e, className: t }) => {
|
|
1153
|
+
const o = E(e, Ge.Option);
|
|
1154
1154
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
1155
1155
|
className: t,
|
|
1156
1156
|
containerPadding: 0,
|
|
@@ -1169,10 +1169,10 @@ const U = ({ children: e }) => {
|
|
|
1169
1169
|
textValue: r
|
|
1170
1170
|
}, r);
|
|
1171
1171
|
};
|
|
1172
|
-
|
|
1172
|
+
Ge.Option = Vn;
|
|
1173
1173
|
U.Label = ue;
|
|
1174
1174
|
U.Input = Wn;
|
|
1175
|
-
U.Options =
|
|
1175
|
+
U.Options = Ge;
|
|
1176
1176
|
U.Description = ce;
|
|
1177
1177
|
U.Error = de;
|
|
1178
1178
|
const ae = ({ children: e }) => {
|
|
@@ -1212,13 +1212,13 @@ ae.Label = ue;
|
|
|
1212
1212
|
ae.Input = Kn;
|
|
1213
1213
|
ae.Description = ce;
|
|
1214
1214
|
ae.Error = de;
|
|
1215
|
-
const
|
|
1215
|
+
const j = ({ children: e }) => {
|
|
1216
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 } = qe(), b = Ne(), p = b ? he[b] : void 0, y = b && xt.getCountryByShortKey(b), N = w(() => {
|
|
1217
1217
|
var M;
|
|
1218
|
-
return (Bt(((M = y == null ? void 0 : y.subdivisions) == null ? void 0 : M.list) || [], p) || []).map((
|
|
1219
|
-
value:
|
|
1220
|
-
label: L(
|
|
1221
|
-
})).sort((
|
|
1218
|
+
return (Bt(((M = y == null ? void 0 : y.subdivisions) == null ? void 0 : M.list) || [], p) || []).map((H) => ({
|
|
1219
|
+
value: H.key,
|
|
1220
|
+
label: L(H.displayName)
|
|
1221
|
+
})).sort((H, A) => H.label.localeCompare(A.label));
|
|
1222
1222
|
}, [
|
|
1223
1223
|
p,
|
|
1224
1224
|
L,
|
|
@@ -1231,7 +1231,7 @@ const H = ({ children: e }) => {
|
|
|
1231
1231
|
commit: r,
|
|
1232
1232
|
clear: F,
|
|
1233
1233
|
onBlur: d
|
|
1234
|
-
}), R = be("subdivision"), q = E(e,
|
|
1234
|
+
}), R = be("subdivision"), q = E(e, j.Label), _ = E(e, j.Control), O = E(e, j.Options), v = E(e, j.Description), pe = E(e, j.Error);
|
|
1235
1235
|
return /* @__PURE__ */ n.createElement(u, {
|
|
1236
1236
|
fieldId: t,
|
|
1237
1237
|
renderLabel: () => h(q, {
|
|
@@ -1279,13 +1279,13 @@ const H = ({ children: e }) => {
|
|
|
1279
1279
|
onClick: u,
|
|
1280
1280
|
onKeyDown: d
|
|
1281
1281
|
});
|
|
1282
|
-
},
|
|
1282
|
+
}, jn = ({ 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 = jn;
|
|
1287
|
+
const Xe = ({ children: e, className: t, ...o }) => {
|
|
1288
|
+
const { options: r } = o, a = E(e, Xe.Option);
|
|
1289
1289
|
return /* @__PURE__ */ n.createElement(Ae, {
|
|
1290
1290
|
className: t,
|
|
1291
1291
|
containerPadding: 0,
|
|
@@ -1295,7 +1295,7 @@ const ze = ({ children: e, className: t, ...o }) => {
|
|
|
1295
1295
|
value: l.value,
|
|
1296
1296
|
label: l.label
|
|
1297
1297
|
}))));
|
|
1298
|
-
},
|
|
1298
|
+
}, Hn = ({ className: e, ...t }) => {
|
|
1299
1299
|
const { value: o, label: r } = t;
|
|
1300
1300
|
return /* @__PURE__ */ n.createElement(Pe, {
|
|
1301
1301
|
className: e,
|
|
@@ -1303,17 +1303,17 @@ const ze = ({ 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"),
|
|
1306
|
+
Xe.Option = Hn;
|
|
1307
|
+
j.Label = ue;
|
|
1308
|
+
j.Control = Se;
|
|
1309
|
+
j.Options = Xe;
|
|
1310
|
+
j.Description = ce;
|
|
1311
|
+
j.Error = de;
|
|
1312
|
+
const Jn = () => me("country"), zn = () => me("subdivision"), Gn = () => me("city"), Xn = () => me("addressLine"), Qn = () => me("addressLine2"), Zn = () => me("postalCode"), er = () => me("streetName"), tr = () => me("streetNumber"), nr = () => me("apartment"), rr = {
|
|
1313
1313
|
[K.MLA_COUNTRY]: Jn,
|
|
1314
|
-
[K.MLA_SUBDIVISION]:
|
|
1315
|
-
[K.MLA_CITY]:
|
|
1316
|
-
[K.MLA_ADDRESS_LINE]:
|
|
1314
|
+
[K.MLA_SUBDIVISION]: zn,
|
|
1315
|
+
[K.MLA_CITY]: Gn,
|
|
1316
|
+
[K.MLA_ADDRESS_LINE]: Xn,
|
|
1317
1317
|
[K.MLA_ADDRESS_LINE_2]: Qn,
|
|
1318
1318
|
[K.MLA_POSTAL_CODE]: Zn,
|
|
1319
1319
|
[K.MLA_STREET_NAME]: er,
|
|
@@ -1344,12 +1344,12 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => me("cit
|
|
|
1344
1344
|
fieldSettings: m,
|
|
1345
1345
|
validation: I,
|
|
1346
1346
|
required: p
|
|
1347
|
-
}),
|
|
1347
|
+
}), H = D((W) => {
|
|
1348
1348
|
if (!r)
|
|
1349
1349
|
return;
|
|
1350
|
-
const
|
|
1351
|
-
...
|
|
1352
|
-
[Ie.COUNTRY]:
|
|
1350
|
+
const z = en(W, M, q), Te = {
|
|
1351
|
+
...z,
|
|
1352
|
+
[Ie.COUNTRY]: z[Ie.COUNTRY] ?? r[Ie.COUNTRY]
|
|
1353
1353
|
};
|
|
1354
1354
|
a == null || a(Te);
|
|
1355
1355
|
}, [
|
|
@@ -1357,16 +1357,16 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => me("cit
|
|
|
1357
1357
|
r,
|
|
1358
1358
|
M,
|
|
1359
1359
|
q
|
|
1360
|
-
]), A = D((W,
|
|
1361
|
-
if (M && W === Ie.COUNTRY && (r == null ? void 0 : r[W]) !==
|
|
1360
|
+
]), A = D((W, z) => {
|
|
1361
|
+
if (M && W === Ie.COUNTRY && (r == null ? void 0 : r[W]) !== z) {
|
|
1362
1362
|
a == null || a({
|
|
1363
|
-
[Ie.COUNTRY]:
|
|
1363
|
+
[Ie.COUNTRY]: z
|
|
1364
1364
|
});
|
|
1365
1365
|
return;
|
|
1366
1366
|
}
|
|
1367
1367
|
a == null || a({
|
|
1368
1368
|
...r,
|
|
1369
|
-
[W]:
|
|
1369
|
+
[W]: z
|
|
1370
1370
|
});
|
|
1371
1371
|
}, [
|
|
1372
1372
|
a,
|
|
@@ -1386,8 +1386,8 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => me("cit
|
|
|
1386
1386
|
]);
|
|
1387
1387
|
Yt(t, () => {
|
|
1388
1388
|
var Te;
|
|
1389
|
-
const W = s == null ? void 0 : s[0],
|
|
1390
|
-
return
|
|
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
|
+
return z == null ? void 0 : z.id;
|
|
1391
1391
|
});
|
|
1392
1392
|
const Ee = E(e, c.Country), Oe = E(e, c.Subdivision), Qe = 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,
|
|
@@ -1416,7 +1416,7 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => 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: H
|
|
1420
1420
|
}, /* @__PURE__ */ n.createElement(En, {
|
|
1421
1421
|
fields: At
|
|
1422
1422
|
}, /* @__PURE__ */ n.createElement("div", {
|
|
@@ -1427,10 +1427,10 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => me("cit
|
|
|
1427
1427
|
}), /* @__PURE__ */ n.createElement(_t, {
|
|
1428
1428
|
getContainer: () => N
|
|
1429
1429
|
}, /* @__PURE__ */ n.createElement("fieldset", {
|
|
1430
|
-
style:
|
|
1430
|
+
style: Ht
|
|
1431
1431
|
}, /* @__PURE__ */ n.createElement("legend", {
|
|
1432
1432
|
style: Jt
|
|
1433
|
-
}, u), /* @__PURE__ */ n.createElement(
|
|
1433
|
+
}, u), /* @__PURE__ */ n.createElement(jt, {
|
|
1434
1434
|
formSchema: O,
|
|
1435
1435
|
form: x,
|
|
1436
1436
|
values: r ?? or,
|
|
@@ -1444,7 +1444,7 @@ const Jn = () => me("country"), Gn = () => me("subdivision"), Xn = () => me("cit
|
|
|
1444
1444
|
}))))))) : null;
|
|
1445
1445
|
};
|
|
1446
1446
|
c.Country = Y;
|
|
1447
|
-
c.Subdivision =
|
|
1447
|
+
c.Subdivision = j;
|
|
1448
1448
|
c.City = se;
|
|
1449
1449
|
c.AddressLine = k;
|
|
1450
1450
|
c.AddressLine2 = re;
|
|
@@ -1474,9 +1474,9 @@ 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(X, null), /* @__PURE__ */ n.createElement(c.Country.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Country.Description, {
|
|
1478
1478
|
className: C(ne, f.description)
|
|
1479
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1491,9 +1491,9 @@ 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(X, null), /* @__PURE__ */ n.createElement(c.AddressLine.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine.Description, {
|
|
1495
1495
|
className: C(ne, f.description)
|
|
1496
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1504,9 +1504,9 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
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(X, null), /* @__PURE__ */ n.createElement(c.AddressLine2.Error.Text, null)), /* @__PURE__ */ n.createElement(c.AddressLine2.Description, {
|
|
1508
1508
|
className: C(ne, f.description)
|
|
1509
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1517,9 +1517,9 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
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(X, null), /* @__PURE__ */ n.createElement(c.City.Error.Text, null)), /* @__PURE__ */ n.createElement(c.City.Description, {
|
|
1521
1521
|
className: C(ne, f.description)
|
|
1522
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1536,9 +1536,9 @@ 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(X, null), /* @__PURE__ */ n.createElement(c.PostalCode.Error.Text, null)), /* @__PURE__ */ n.createElement(c.PostalCode.Description, {
|
|
1540
1540
|
className: C(ne, f.description)
|
|
1541
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1559,9 +1559,9 @@ 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(X, null), /* @__PURE__ */ n.createElement(c.Subdivision.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Subdivision.Description, {
|
|
1563
1563
|
className: C(ne, f.description)
|
|
1564
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1576,9 +1576,9 @@ 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(X, null), /* @__PURE__ */ n.createElement(c.StreetName.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetName.Description, {
|
|
1580
1580
|
className: C(ne, f.description)
|
|
1581
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1589,9 +1589,9 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
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(X, null), /* @__PURE__ */ n.createElement(c.StreetNumber.Error.Text, null)), /* @__PURE__ */ n.createElement(c.StreetNumber.Description, {
|
|
1593
1593
|
className: C(ne, f.description)
|
|
1594
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
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, {
|
|
@@ -1602,9 +1602,9 @@ const ar = "_postalCodeControl_1tire_1", lr = "_comboControl_1tire_5", ir = "_co
|
|
|
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(X, null), /* @__PURE__ */ n.createElement(c.Apartment.Error.Text, null)), /* @__PURE__ */ n.createElement(c.Apartment.Description, {
|
|
1606
1606
|
className: C(ne, f.description)
|
|
1607
|
-
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
1607
|
+
}, ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(G, {
|
|
1608
1608
|
content: e,
|
|
1609
1609
|
locale: t
|
|
1610
1610
|
}))));
|