@wix/form-elements 1.94.0 → 1.95.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-CNIizm60.js → appointment-rac-mhQIjy3A.js} +309 -310
- package/dist/component/{bookings-address-rac-C7ukrF1D.js → bookings-address-rac-pcZeAN2d.js} +1 -1
- package/dist/component/{bookings-email-rac-DnzbLEmf.js → bookings-email-rac-BHdvWhcv.js} +1 -1
- package/dist/component/{bookings-first-name-rac-8Krm-3QK.js → bookings-first-name-rac-mPNuMBGo.js} +1 -1
- package/dist/component/{bookings-header-rac-WRILbKeE.js → bookings-header-rac-CUzR91gM.js} +1 -1
- package/dist/component/{bookings-last-name-rac-C0-yWBLa.js → bookings-last-name-rac-q2bsOPke.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-Bc9u_rn_.js → bookings-login-bar-rac-BpwVjQwz.js} +4 -4
- package/dist/component/{bookings-phone-rac-BaBlg7f7.js → bookings-phone-rac-DWdDpi-n.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DR-Ngu_b.js → bookings-rich-text-rac-CZnGLPwv.js} +1 -1
- package/dist/component/{get-first-day-of-the-week-DvnsxYhQ.js → calendar.module-DnhTT4QT.js} +23 -18
- package/dist/component/{checkbox-field-rac-Cqr57TgJ.js → checkbox-field-rac-DRVjITJ_.js} +5 -5
- package/dist/component/{checkbox-group-field-headless-Bgcvavr3.js → checkbox-group-field-headless-CKXgbUdv.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-Bcsowjwp.js → checkbox-group-field-rac-Dt3yWmua.js} +12 -12
- package/dist/component/{checkbox-group-rac-38j0b8_U.js → checkbox-group-rac-BTFoDjxn.js} +1 -1
- package/dist/component/{checkbox-rac-Bb5ZxZo7.js → checkbox-rac-Crn5HP7E.js} +1 -1
- package/dist/component/{contacts-address-rac-gaOhfztb.js → contacts-address-rac-c1zfBJgx.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DAIPR64p.js → contacts-birthdate-rac-BaaSPZgO.js} +1 -1
- package/dist/component/{contacts-company-rac-DVPQrcfN.js → contacts-company-rac-CzuRjr1D.js} +1 -1
- package/dist/component/{contacts-email-rac-qMyFjz_2.js → contacts-email-rac-hL98o3x4.js} +1 -1
- package/dist/component/{contacts-first-name-rac-OVPtHcde.js → contacts-first-name-rac-BXTnd1aU.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BmLQrJ2D.js → contacts-last-name-rac-DYjmWO4_.js} +1 -1
- package/dist/component/{contacts-phone-rac-D7waZc1q.js → contacts-phone-rac-KMnorQhu.js} +1 -1
- package/dist/component/{contacts-position-rac-DnI3o3Am.js → contacts-position-rac-ylzvuGhD.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-P8zn8_GS.js → contacts-subscribe-rac-Bi3ZazuW.js} +2 -2
- package/dist/component/{contacts-tax-id-rac-9CBr2KkR.js → contacts-tax-id-rac-C01LkO1D.js} +1 -1
- package/dist/component/{date-availability--ntpBDiI.js → date-availability-BXwnYCBt.js} +1 -1
- package/dist/component/{date-input-field-rac-Don2tz5U.js → date-input-field-rac-BMdPQoFk.js} +57 -56
- package/dist/component/{date-input-rac-Du3e8Hcu.js → date-input-rac-D2mDdJ_4.js} +1 -1
- package/dist/component/date-picker-field-rac-7gyRMkPp.js +317 -0
- package/dist/component/{date-picker-rac-BsCMkfHV.js → date-picker-rac-FyNcNbTc.js} +1 -1
- package/dist/component/{date-time-input-field-rac-LLF1UdUD.js → date-time-input-field-rac-BTjqn_g-.js} +53 -52
- package/dist/component/{date-time-input-rac-KYqrNgbb.js → date-time-input-rac-C81cN7rJ.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DaOY9Cb6.js → dext-checkbox-group-rac-DAjQPdi_.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Ceu5q9xf.js → dext-checkbox-rac-DVt9mAXM.js} +1 -1
- package/dist/component/{dext-date-picker-rac-iop0XEpQ.js → dext-date-picker-rac-BnaExh1i.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DJB_fMiN.js → dext-date-time-input-rac-DPAW4eBA.js} +1 -1
- package/dist/component/{dext-dropdown-rac-Dhp4CUZ5.js → dext-dropdown-rac-P9T1vh24.js} +1 -1
- package/dist/component/{dext-email-rac-BIr9RxhQ.js → dext-email-rac-BfEuFGaV.js} +1 -1
- package/dist/component/{dext-number-input-rac-Q8p3NeKN.js → dext-number-input-rac-B5eN2rLP.js} +1 -1
- package/dist/component/{dext-phone-rac-DRdRLIvr.js → dext-phone-rac-DA-h_tpZ.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D1N_wBhO.js → dext-radio-group-rac-BjpkApRr.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BQIMl7oQ.js → dext-rating-input-rac-DUMRW9uI.js} +1 -1
- package/dist/component/{dext-tags-rac-C52jiu1I.js → dext-tags-rac-s0WchM4X.js} +2 -2
- package/dist/component/{dext-text-area-rac-BWmSs4mb.js → dext-text-area-rac-BRMsiGEH.js} +1 -1
- package/dist/component/{dext-text-input-rac-BnAJ-7Hs.js → dext-text-input-rac-BBZi3D8V.js} +1 -1
- package/dist/component/{dext-url-input-rac-CvGn3KHo.js → dext-url-input-rac-jKMWbCGB.js} +1 -1
- package/dist/component/{donation-rac-DsFRs16V.js → donation-rac-DyeKbodo.js} +30 -30
- package/dist/component/{dropdown-field-headless-K0AM4AAs.js → dropdown-field-headless-BK8BN3u4.js} +4 -4
- package/dist/component/{dropdown-field-rac-CMEB8ZQN.js → dropdown-field-rac-B6yzL_R0.js} +5 -5
- package/dist/component/{dropdown-rac-BakYShkm.js → dropdown-rac-CQaMpex2.js} +1 -1
- package/dist/component/{ecom-address-rac-A_Aj5CX0.js → ecom-address-rac-DQr3-QeV.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Ddol0N03.js → ecom-subscription-checkbox-rac-CZ-pj21A.js} +3 -3
- package/dist/component/{email-input-field-rac-B7yOMDWB.js → email-input-field-rac-Vp0YfQOe.js} +41 -41
- package/dist/component/{events-repeater-rac-bp8gFHXQ.js → events-repeater-rac-BPE4Hn_G.js} +4 -4
- package/dist/component/{events-rsvp-rac-DfjqTM7C.js → events-rsvp-rac-u_BDmDJ2.js} +20 -20
- package/dist/component/{field-error-headless-CONyKitA.js → field-error-headless-BOlFtckJ.js} +1 -1
- package/dist/component/{field-label-headless-tf9QXhMi.js → field-label-headless-Dx3VrM-U.js} +1 -1
- package/dist/component/{file-upload-rac-Bng5Yew9.js → file-upload-rac-DaFuvO-g.js} +43 -43
- package/dist/component/{fixed-payment-rac-CXIv7_Oj.js → fixed-payment-rac-DpBwOtOf.js} +10 -10
- package/dist/component/{form-Lv-a47BN.js → form-Wsx4lguO.js} +69 -69
- package/dist/component/{form-element-classes-CLZXu-91.js → form-element-classes-BtKlobUX.js} +60 -59
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BZdYszfP.js → header-field-rac-C8FlksmH.js} +3 -3
- package/dist/component/{header-rac-BNeqoDyT.js → header-rac-C2J-pLq-.js} +1 -1
- package/dist/component/{image-choice-rac-aSKDRo51.js → image-choice-rac-i4C_OXyb.js} +15 -15
- package/dist/component/{index-CWZfskEy.js → index-C34urqyX.js} +4 -4
- package/dist/component/{index-DnNA6zNR.js → index-CRI82pG6.js} +2 -2
- package/dist/component/{isObjectLike-C9ogbjhq.js → isObjectLike-D-9JnXmU.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CHE1mE_b.js → multiline-address-field-rac-Dkfso46f.js} +86 -85
- package/dist/component/{multiline-address-rac-wxJunvdU.js → multiline-address-rac-BjrwDwOk.js} +1 -1
- package/dist/component/{number-input-field-rac-ore1oi9q.js → number-input-field-rac-CgHi83Q1.js} +18 -18
- package/dist/component/{number-input-rac-DU-rCrjJ.js → number-input-rac-BinBxOCS.js} +1 -1
- package/dist/component/{password-rac-Dkqv0AIm.js → password-rac-CDGqIRW5.js} +37 -37
- package/dist/component/{payment-input-rac-CsTcFhQ5.js → payment-input-rac-f4uuGeJF.js} +22 -22
- package/dist/component/{phone-input-field-rac-lIVKt7ge.js → phone-input-field-rac-IdBqjM9Q.js} +32 -31
- package/dist/component/{phone-rac-CZlsXHRM.js → phone-rac-VHPMrSpw.js} +1 -1
- package/dist/component/{product-list-rac-UebyHfhC.js → product-list-rac-Bk8q5y5L.js} +15 -15
- package/dist/component/{quiz-radio-group-rac-ORLTYxdR.js → quiz-radio-group-rac-kTWqvAoW.js} +2 -2
- package/dist/component/{radio-button-module-classes-CEQr0hKB.js → radio-button-module-classes-D77Nc48M.js} +3 -3
- package/dist/component/{radio-group-field-rac-t_Dj1_4p.js → radio-group-field-rac-DC-AYSOH.js} +4 -4
- package/dist/component/{radio-group-rac-CC_35nq4.js → radio-group-rac-BkswH1Py.js} +1 -1
- package/dist/component/{rating-input-field-rac-BU66cRhy.js → rating-input-field-rac-Cqgw6PjV.js} +31 -31
- package/dist/component/{rating-input-rac-KgNbgchh.js → rating-input-rac-CbZhlK3h.js} +1 -1
- package/dist/component/{rich-content-rac.module-oGcFL-hl.js → rich-content-rac.module-j_9YbXMI.js} +1 -1
- package/dist/component/{rich-text-field-rac-CiwMiMv7.js → rich-text-field-rac-Da1EIb3b.js} +3 -3
- package/dist/component/{rich-text-rac-Dmp0xxpi.js → rich-text-rac-BarNBtgP.js} +1 -1
- package/dist/component/{service-dropdown-rac-_QBi8_AO.js → service-dropdown-rac-DLIC_csj.js} +35 -35
- package/dist/component/{services-multi-choice-rac-C2e3xL9O.js → services-multi-choice-rac-vyxtwSM2.js} +12 -12
- package/dist/component/{signature-rac-Dj3aYMvJ.js → signature-rac-DIM2Uwsg.js} +102 -102
- package/dist/component/{submit-button-rac-C-BVXga7.js → submit-button-rac-DgxjomCu.js} +2 -2
- package/dist/component/{tags-field-rac-CcOUcsCd.js → tags-field-rac-BFlkxifd.js} +66 -66
- package/dist/component/{tags-rac-p68DA4Mq.js → tags-rac-D4TwrAWc.js} +1 -1
- package/dist/component/{text-area-field-rac-DubIcKTn.js → text-area-field-rac-Dcz7VUQ5.js} +27 -27
- package/dist/component/{text-area-rac-CygfUB6z.js → text-area-rac-DhloXdO2.js} +1 -1
- package/dist/component/{text-input-field-rac-C7JZRcCX.js → text-input-field-rac-C8e3TMxI.js} +7 -7
- package/dist/component/{text-input-headless-D1xcxxNE.js → text-input-headless-fl7qoZzR.js} +3 -3
- package/dist/component/{text-input-rac-C5lfqJCN.js → text-input-rac-CBn6bHtP.js} +1 -1
- package/dist/component/{time-input-rac-BNxceC-R.js → time-input-rac-Dsm7_vrf.js} +25 -25
- package/dist/component/{url-input-field-rac-DH_STwmd.js → url-input-field-rac-9Hfx1xzO.js} +19 -19
- package/dist/component/{url-input-rac-C2VOzCis.js → url-input-rac-CVlE4pcg.js} +1 -1
- package/dist/component/use-dropdown-option-class-name-Dsxto42_.js +21 -0
- package/dist/component/{use-element-state-class-name-CITSBXT8.js → use-element-state-class-name-BIqDbVvI.js} +1 -1
- package/dist/component/use-is-forced-open-dropdown-BMPqRDVW.js +41 -0
- package/dist/component/{use-service-options-base-DVBmOiRh.js → use-service-options-base-07_rqXcG.js} +1 -1
- package/dist/component/{use-text-input-class-name-COw61iUf.js → use-text-input-class-name-DqFt59gd.js} +3 -3
- package/package.json +2 -2
- package/dist/component/date-picker-field-rac-Wxmz-O7r.js +0 -304
- package/dist/component/use-dropdown-option-class-name-CKRu4ERM.js +0 -57
package/dist/component/{dext-radio-group-rac-D1N_wBhO.js → dext-radio-group-rac-BjpkApRr.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { ak as e, h as t } from "./form-
|
|
3
|
-
import { R as p } from "./radio-group-field-rac-
|
|
2
|
+
import { ak as e, h as t } from "./form-Wsx4lguO.js";
|
|
3
|
+
import { R as p } from "./radio-group-field-rac-DC-AYSOH.js";
|
|
4
4
|
import { a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const o = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { ak as e, h as o } from "./form-
|
|
3
|
-
import { T as s } from "./tags-field-rac-
|
|
2
|
+
import { ak as e, h as o } from "./form-Wsx4lguO.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-BFlkxifd.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const t = {
|
|
@@ -3,21 +3,21 @@ import { RicosViewer as re } from "@wix/ricos/viewer";
|
|
|
3
3
|
import D from "classnames";
|
|
4
4
|
import { RadioGroup as se, RadioField as G, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
|
|
5
5
|
import { debounce as ce } from "ts-debounce";
|
|
6
|
-
import { P as Q, ak as L, ah as B, au as ue, ac as A, am as me } from "./form-
|
|
6
|
+
import { P as Q, ak as L, ah as B, au as ue, ac as A, am as me } from "./form-Wsx4lguO.js";
|
|
7
7
|
import { f, a as y } from "./find-child-C60k4CxG.js";
|
|
8
8
|
import { a as W } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as pe, E as de } from "./field-error-headless-
|
|
10
|
-
import { L as Ce } from "./field-label-headless-
|
|
9
|
+
import { D as pe, E as de } from "./field-error-headless-BOlFtckJ.js";
|
|
10
|
+
import { L as Ce } from "./field-label-headless-Dx3VrM-U.js";
|
|
11
11
|
import { N as Ie } from "./options-layout-constants-DEfIEJWD.js";
|
|
12
12
|
import { a as Ee, b as fe } from "./numeric-input-utils-CuBMi4-a.js";
|
|
13
13
|
import { g as Oe } from "./payment-field-utils-DobiK5Xh.js";
|
|
14
14
|
import { u as he } from "./use-synced-display-value-DcAxdn3M.js";
|
|
15
15
|
import { E as _e } from "./error-icon-hZxQ6DEy.js";
|
|
16
|
-
import { s as
|
|
17
|
-
import {
|
|
18
|
-
import { o as
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as ve } from "./use-text-input-class-name-
|
|
16
|
+
import { s as S } from "./field-rac.module-DobpyqOd.js";
|
|
17
|
+
import { C as be, S as ye, k as Ne, r as ge, j as Fe, l as De } from "./form-element-classes-BtKlobUX.js";
|
|
18
|
+
import { o as Se } from "./options-rac.module-KM-VT_KY.js";
|
|
19
|
+
import { u as Re } from "./use-element-state-class-name-BIqDbVvI.js";
|
|
20
|
+
import { u as ve } from "./use-text-input-class-name-DqFt59gd.js";
|
|
21
21
|
function Le(e, t) {
|
|
22
22
|
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
23
23
|
}
|
|
@@ -60,11 +60,11 @@ const s = ({ children: e }) => {
|
|
|
60
60
|
]), l = x(() => u ? Me(g) : void 0, [
|
|
61
61
|
g,
|
|
62
62
|
u
|
|
63
|
-
]), J = Pe(d, l), [
|
|
63
|
+
]), J = Pe(d, l), [k, M] = he({
|
|
64
64
|
sourceValue: J,
|
|
65
65
|
format: (E) => fe(String(E ?? ""), N),
|
|
66
66
|
regionalFormat: N
|
|
67
|
-
}),
|
|
67
|
+
}), q = F((E) => {
|
|
68
68
|
r(xe(E, d, T)), M("");
|
|
69
69
|
}, [
|
|
70
70
|
r,
|
|
@@ -82,22 +82,22 @@ const s = ({ children: e }) => {
|
|
|
82
82
|
H
|
|
83
83
|
]), K = F((E) => {
|
|
84
84
|
(d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
|
|
85
|
-
const { validInput: P, validNumber: ne } = Ee(E.target.value, je,
|
|
85
|
+
const { validInput: P, validNumber: ne } = Ee(E.target.value, je, k, N);
|
|
86
86
|
M(P), $(ne);
|
|
87
87
|
}, [
|
|
88
88
|
N,
|
|
89
89
|
r,
|
|
90
90
|
d,
|
|
91
91
|
l,
|
|
92
|
-
|
|
92
|
+
k,
|
|
93
93
|
$,
|
|
94
94
|
M
|
|
95
95
|
]), w = (d == null ? void 0 : d.productId) || null, X = F(() => {
|
|
96
|
-
l != null && l.id && w !== l.id &&
|
|
96
|
+
l != null && l.id && w !== l.id && q(l.id);
|
|
97
97
|
}, [
|
|
98
98
|
l == null ? void 0 : l.id,
|
|
99
99
|
w,
|
|
100
|
-
|
|
100
|
+
q
|
|
101
101
|
]), Z = f(e, s.Label), V = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
|
|
102
102
|
return /* @__PURE__ */ n.createElement(C, {
|
|
103
103
|
fieldId: t,
|
|
@@ -105,7 +105,7 @@ const s = ({ children: e }) => {
|
|
|
105
105
|
renderInput: () => /* @__PURE__ */ n.createElement(se, {
|
|
106
106
|
"aria-labelledby": _,
|
|
107
107
|
value: w,
|
|
108
|
-
onChange:
|
|
108
|
+
onChange: q,
|
|
109
109
|
isDisabled: a,
|
|
110
110
|
isInvalid: O,
|
|
111
111
|
isRequired: m,
|
|
@@ -114,7 +114,7 @@ const s = ({ children: e }) => {
|
|
|
114
114
|
}, V ? y(V, {
|
|
115
115
|
productsById: T,
|
|
116
116
|
addOther: u,
|
|
117
|
-
customAmount:
|
|
117
|
+
customAmount: k,
|
|
118
118
|
onCustomAmountInputChange: K,
|
|
119
119
|
currency: j,
|
|
120
120
|
t: I,
|
|
@@ -169,8 +169,8 @@ const s = ({ children: e }) => {
|
|
|
169
169
|
price: C || "0"
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
},
|
|
173
|
-
const { value: r, price: a } = o, { id: m } = L(), { currency: p, regionalFormat: h } = A(), c = f(e,
|
|
172
|
+
}, R = ({ children: e, className: t, ...o }) => {
|
|
173
|
+
const { value: r, price: a } = o, { id: m } = L(), { currency: p, regionalFormat: h } = A(), c = f(e, R.Value), u = f(e, R.Currency), { isCurrencyPrefixed: i } = W({
|
|
174
174
|
amount: a,
|
|
175
175
|
currency: p == null ? void 0 : p.code,
|
|
176
176
|
locale: h
|
|
@@ -188,7 +188,7 @@ const s = ({ children: e }) => {
|
|
|
188
188
|
className: t,
|
|
189
189
|
ref: C
|
|
190
190
|
}, /* @__PURE__ */ n.createElement(n.Fragment, null, i && u, O, !i && u)));
|
|
191
|
-
},
|
|
191
|
+
}, ke = ({ className: e, ...t }) => {
|
|
192
192
|
const { price: o } = t, { currency: r, regionalFormat: a } = A(), { value: m } = W({
|
|
193
193
|
amount: o,
|
|
194
194
|
currency: r == null ? void 0 : r.code,
|
|
@@ -197,14 +197,14 @@ const s = ({ children: e }) => {
|
|
|
197
197
|
return /* @__PURE__ */ n.createElement("span", {
|
|
198
198
|
className: e
|
|
199
199
|
}, m);
|
|
200
|
-
},
|
|
200
|
+
}, qe = ({ className: e }) => {
|
|
201
201
|
const { currency: t } = A();
|
|
202
202
|
return /* @__PURE__ */ n.createElement("span", {
|
|
203
203
|
className: e
|
|
204
204
|
}, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
|
|
205
205
|
};
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
R.Value = ke;
|
|
207
|
+
R.Currency = qe;
|
|
208
208
|
const v = ({ children: e, className: t, ...o }) => {
|
|
209
209
|
const { customAmount: r, onCustomAmountInputChange: a, currency: m, t: p, placeholder: h, customAmountProductId: c, onFocusCustomInput: u } = o, { disabled: i, hasError: C } = L(), { labelId: O, prefixId: _ } = B(), I = f(e, v.Currency), j = f(e, v.Value), N = F((g) => {
|
|
210
210
|
a({
|
|
@@ -259,7 +259,7 @@ const v = ({ children: e, className: t, ...o }) => {
|
|
|
259
259
|
};
|
|
260
260
|
v.Currency = we;
|
|
261
261
|
v.Value = Ue;
|
|
262
|
-
U.Option =
|
|
262
|
+
U.Option = R;
|
|
263
263
|
s.Label = Ce;
|
|
264
264
|
s.Control = Be;
|
|
265
265
|
s.Options = U;
|
|
@@ -283,18 +283,18 @@ const He = "_control_1jl2j_1", $e = "_options_1jl2j_7", Ve = "_option_1jl2j_7",
|
|
|
283
283
|
selected: b.optionSelected,
|
|
284
284
|
hover: b.optionHover
|
|
285
285
|
}, Xe = () => {
|
|
286
|
-
const e = ve(b.otherInput), t =
|
|
286
|
+
const e = ve(b.otherInput), t = Re({
|
|
287
287
|
globalClasses: De,
|
|
288
288
|
moduleClasses: Ke
|
|
289
289
|
});
|
|
290
290
|
return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
|
|
291
|
-
className: D(be,
|
|
291
|
+
className: D(be, S.label)
|
|
292
292
|
}, /* @__PURE__ */ n.createElement(s.Label.Required, {
|
|
293
|
-
className: D(ye,
|
|
293
|
+
className: D(ye, S.requiredMark)
|
|
294
294
|
})), /* @__PURE__ */ n.createElement(s.Control, {
|
|
295
295
|
className: b.control
|
|
296
296
|
}, /* @__PURE__ */ n.createElement(s.Options, {
|
|
297
|
-
className: D(Ne,
|
|
297
|
+
className: D(Ne, Se.options, b.options)
|
|
298
298
|
}, /* @__PURE__ */ n.createElement(s.Options.Option, {
|
|
299
299
|
className: ({ isSelected: o, isHovered: r }) => t({
|
|
300
300
|
isSelected: o,
|
|
@@ -307,11 +307,11 @@ const He = "_control_1jl2j_1", $e = "_options_1jl2j_7", Ve = "_option_1jl2j_7",
|
|
|
307
307
|
}, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
|
|
308
308
|
className: b.otherInputCurrency
|
|
309
309
|
}), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
|
|
310
|
-
className:
|
|
310
|
+
className: S.innerInput
|
|
311
311
|
}))), /* @__PURE__ */ n.createElement(s.Error, {
|
|
312
|
-
className: D(ge,
|
|
312
|
+
className: D(ge, S.error)
|
|
313
313
|
}, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
|
|
314
|
-
className: D(Fe,
|
|
314
|
+
className: D(Fe, S.description)
|
|
315
315
|
}, Je));
|
|
316
316
|
}, ht = () => /* @__PURE__ */ n.createElement(Xe, null);
|
|
317
317
|
export {
|
package/dist/component/{dropdown-field-headless-K0AM4AAs.js → dropdown-field-headless-BK8BN3u4.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e, { useState as g, useCallback as b, useRef as A } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as M } from "react-aria";
|
|
3
3
|
import { Select as U, SelectValue as _, ListBox as j, ListBoxItem as z } from "react-aria-components";
|
|
4
|
-
import { ak as f, ah as O, am as G } from "./form-
|
|
4
|
+
import { ak as f, ah as O, am as G } from "./form-Wsx4lguO.js";
|
|
5
5
|
import { f as d, a as F } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as H, E as J } from "./field-error-headless-
|
|
7
|
-
import { L as K } from "./field-label-headless-
|
|
6
|
+
import { D as H, E as J } from "./field-error-headless-BOlFtckJ.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-Dx3VrM-U.js";
|
|
8
8
|
import { S as Q, N as W } from "./non-modal-popover-DtIMXHbe.js";
|
|
9
|
-
import {
|
|
9
|
+
import { u as X } from "./use-is-forced-open-dropdown-BMPqRDVW.js";
|
|
10
10
|
const r = ({ children: n }) => {
|
|
11
11
|
const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: t, placeholder: m, disabled: i, required: v, onBlur: y, onFocus: D, FieldLayout: h, hasError: C } = f(), [I, L] = g(!1), p = X(l), [B, N] = g(null), P = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: S } = O(), T = b((c) => {
|
|
12
12
|
o || t(typeof c == "string" ? c : null);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { D as r } from "./dropdown-field-headless-
|
|
4
|
+
import { D as r } from "./dropdown-field-headless-BK8BN3u4.js";
|
|
5
5
|
import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
6
|
import { E as l } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { H as c } from "./custom-focus-class-_483Pkwp.js";
|
|
8
8
|
import { s as o } from "./field-rac.module-DobpyqOd.js";
|
|
9
|
-
import {
|
|
10
|
-
import { u as O } from "./use-dropdown-option-class-name-
|
|
9
|
+
import { C as E, S as i, n as p, E as _, r as R, j as D } from "./form-element-classes-BtKlobUX.js";
|
|
10
|
+
import { u as O } from "./use-dropdown-option-class-name-Dsxto42_.js";
|
|
11
11
|
const S = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: a,
|
|
13
13
|
locale: s
|
|
14
14
|
}), M = () => {
|
|
15
15
|
const a = O(c);
|
|
16
16
|
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
17
|
-
className: t(
|
|
17
|
+
className: t(E, o.label)
|
|
18
18
|
}, /* @__PURE__ */ e.createElement(r.Label.Required, {
|
|
19
|
-
className: t(
|
|
19
|
+
className: t(i, o.requiredMark)
|
|
20
20
|
})), /* @__PURE__ */ e.createElement(r.Trigger, {
|
|
21
21
|
className: t(p, o.input, o.dropdownTrigger)
|
|
22
22
|
}, /* @__PURE__ */ e.createElement(n, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o, { useMemo as a } from "react";
|
|
2
|
-
import { ak as n, au as c, h as i } from "./form-
|
|
3
|
-
import { C } from "./checkbox-field-rac-
|
|
4
|
-
import {
|
|
2
|
+
import { ak as n, au as c, h as i } from "./form-Wsx4lguO.js";
|
|
3
|
+
import { C } from "./checkbox-field-rac-DRVjITJ_.js";
|
|
4
|
+
import { p, q as l, o as m } from "./form-element-classes-BtKlobUX.js";
|
|
5
5
|
const _ = (e) => ({
|
|
6
6
|
nodes: [
|
|
7
7
|
{
|
package/dist/component/{email-input-field-rac-B7yOMDWB.js → email-input-field-rac-Vp0YfQOe.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RicosViewer as ie } from "@wix/ricos/viewer";
|
|
2
|
-
import
|
|
3
|
-
import u, { createContext as
|
|
2
|
+
import D from "classnames";
|
|
3
|
+
import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
|
|
4
4
|
import { TextField as pe } from "react-aria-components";
|
|
5
|
-
import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-
|
|
5
|
+
import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-Wsx4lguO.js";
|
|
6
6
|
import { f as C } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import ee from "@babel/runtime/helpers/objectWithoutProperties";
|
|
8
8
|
import L from "@babel/runtime/helpers/typeof";
|
|
@@ -10,11 +10,11 @@ import Oe from "@babel/runtime/helpers/defineProperty";
|
|
|
10
10
|
import he from "html-parse-stringify";
|
|
11
11
|
import Ie from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import Ne from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as U } from "./text-input-headless-
|
|
13
|
+
import { T as U } from "./text-input-headless-fl7qoZzR.js";
|
|
14
14
|
import { E as Ae } from "./error-icon-hZxQ6DEy.js";
|
|
15
|
-
import { s as
|
|
16
|
-
import {
|
|
17
|
-
import { u as
|
|
15
|
+
import { s as H } from "./field-rac.module-DobpyqOd.js";
|
|
16
|
+
import { C as ke, S as Fe, r as Te, j as xe, _ as je } from "./form-element-classes-BtKlobUX.js";
|
|
17
|
+
import { u as De } from "./use-text-input-class-name-DqFt59gd.js";
|
|
18
18
|
var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
|
|
19
19
|
"&": "&",
|
|
20
20
|
"&": "&",
|
|
@@ -49,8 +49,8 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
49
49
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
50
50
|
useSuspense: !0,
|
|
51
51
|
unescape: Pe
|
|
52
|
-
}, we,
|
|
53
|
-
function
|
|
52
|
+
}, we, He = z();
|
|
53
|
+
function Re() {
|
|
54
54
|
return _e;
|
|
55
55
|
}
|
|
56
56
|
(function() {
|
|
@@ -88,7 +88,7 @@ function Be() {
|
|
|
88
88
|
t[a] = arguments[a];
|
|
89
89
|
typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
|
|
90
90
|
}
|
|
91
|
-
var Ue = ["format"],
|
|
91
|
+
var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
92
92
|
function Q(e, t) {
|
|
93
93
|
var a = Object.keys(e);
|
|
94
94
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -118,7 +118,7 @@ function Y(e, t) {
|
|
|
118
118
|
function G(e) {
|
|
119
119
|
return e ? e.props ? e.props.children : e.children : [];
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function qe(e) {
|
|
122
122
|
return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
|
|
123
123
|
return B(t);
|
|
124
124
|
});
|
|
@@ -178,7 +178,7 @@ function Ge(e, t, a, o, c, r) {
|
|
|
178
178
|
var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
|
|
179
179
|
function k(y, h, s) {
|
|
180
180
|
var i = G(y), I = S(i, h.children, s);
|
|
181
|
-
return
|
|
181
|
+
return qe(i) && I.length === 0 ? i : I;
|
|
182
182
|
}
|
|
183
183
|
function A(y, h, s, i, I) {
|
|
184
184
|
y.dummy && (y.children = h), s.push(w(y, p(p({}, y.props), {}, {
|
|
@@ -194,11 +194,11 @@ function Ge(e, t, a, o, c, r) {
|
|
|
194
194
|
!N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
|
|
195
195
|
var m = Object.keys(n.attrs).length !== 0 ? Ye({
|
|
196
196
|
props: n.attrs
|
|
197
|
-
}, N) : N, x = B(m),
|
|
197
|
+
}, N) : N, x = B(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
|
|
198
198
|
if (typeof m == "string") {
|
|
199
|
-
var
|
|
200
|
-
l.push(
|
|
201
|
-
} else if (Y(m) ||
|
|
199
|
+
var q = a.services.interpolator.interpolate(m, O, a.language);
|
|
200
|
+
l.push(q);
|
|
201
|
+
} else if (Y(m) || V) {
|
|
202
202
|
var ne = k(m, n, s);
|
|
203
203
|
A(m, ne, l, E);
|
|
204
204
|
} else if (P) {
|
|
@@ -212,12 +212,12 @@ function Ge(e, t, a, o, c, r) {
|
|
|
212
212
|
A(m, re, l, E, n.voidElement);
|
|
213
213
|
} else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
|
|
214
214
|
if (n.voidElement)
|
|
215
|
-
l.push(
|
|
215
|
+
l.push(R(n.name, {
|
|
216
216
|
key: "".concat(n.name, "-").concat(E)
|
|
217
217
|
}));
|
|
218
218
|
else {
|
|
219
219
|
var se = S(i, n.children, s);
|
|
220
|
-
l.push(
|
|
220
|
+
l.push(R(n.name, {
|
|
221
221
|
key: "".concat(n.name, "-").concat(E)
|
|
222
222
|
}, se));
|
|
223
223
|
}
|
|
@@ -237,28 +237,28 @@ function Ge(e, t, a, o, c, r) {
|
|
|
237
237
|
})));
|
|
238
238
|
} else if (n.type === "text") {
|
|
239
239
|
var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
|
|
240
|
-
W ? l.push(
|
|
240
|
+
W ? l.push(R(W, {
|
|
241
241
|
key: "".concat(n.name, "-").concat(E)
|
|
242
242
|
}, X)) : l.push(X);
|
|
243
243
|
}
|
|
244
244
|
return l;
|
|
245
245
|
}, []);
|
|
246
246
|
}
|
|
247
|
-
var
|
|
247
|
+
var j = S([{
|
|
248
248
|
dummy: !0,
|
|
249
249
|
children: e || []
|
|
250
250
|
}], T, M(e || []));
|
|
251
|
-
return G(
|
|
251
|
+
return G(j[0]);
|
|
252
252
|
}
|
|
253
253
|
function $e(e) {
|
|
254
|
-
var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape,
|
|
254
|
+
var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = k || h || Ke();
|
|
255
255
|
if (!i)
|
|
256
256
|
return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
257
|
-
var I = A || i.t.bind(i) || function(
|
|
258
|
-
return
|
|
257
|
+
var I = A || i.t.bind(i) || function(q) {
|
|
258
|
+
return q;
|
|
259
259
|
};
|
|
260
260
|
r && (v.context = r);
|
|
261
|
-
var l = p(p({},
|
|
261
|
+
var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
|
|
262
262
|
n = typeof n == "string" ? [n] : n || ["translation"];
|
|
263
263
|
var E = b || te(t, l) || l.transEmptyNodeValue || c, F = l.hashTransKey, N = c || (F ? F(E) : E), m = d ? v.interpolation : {
|
|
264
264
|
interpolation: p(p({}, v.interpolation), {}, {
|
|
@@ -270,12 +270,12 @@ function $e(e) {
|
|
|
270
270
|
}, d), m), {}, {
|
|
271
271
|
defaultValue: E,
|
|
272
272
|
ns: n
|
|
273
|
-
}),
|
|
274
|
-
return _ ?
|
|
273
|
+
}), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
|
|
274
|
+
return _ ? R(_, j, P) : P;
|
|
275
275
|
}
|
|
276
|
-
const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */
|
|
276
|
+
const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
|
|
277
277
|
function Je() {
|
|
278
|
-
const e =
|
|
278
|
+
const e = Z(ae);
|
|
279
279
|
if (e === void 0)
|
|
280
280
|
throw new Error("useEmailSuggestion must be used inside <EmailInput>");
|
|
281
281
|
return e;
|
|
@@ -285,7 +285,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
285
285
|
activeSuggestion: e,
|
|
286
286
|
applySuggestion: t
|
|
287
287
|
}
|
|
288
|
-
}, a),
|
|
288
|
+
}, a), ze = ({ className: e }) => {
|
|
289
289
|
const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Je(), { t: c, i18n: r } = ge();
|
|
290
290
|
return /* @__PURE__ */ u.createElement("div", {
|
|
291
291
|
id: t,
|
|
@@ -311,7 +311,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
311
311
|
})
|
|
312
312
|
]
|
|
313
313
|
}) : null);
|
|
314
|
-
},
|
|
314
|
+
}, Ze = {
|
|
315
315
|
"aol.com": [
|
|
316
316
|
"aaol.com",
|
|
317
317
|
"aol.con",
|
|
@@ -422,7 +422,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
422
422
|
"comcast.nrt",
|
|
423
423
|
"comcast.net.net"
|
|
424
424
|
]
|
|
425
|
-
}, et = new Map(Object.entries(
|
|
425
|
+
}, et = new Map(Object.entries(Ze).flatMap(([e, t]) => t.map((a) => [
|
|
426
426
|
a,
|
|
427
427
|
e
|
|
428
428
|
]))), tt = (e) => {
|
|
@@ -450,13 +450,13 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
450
450
|
validate: v
|
|
451
451
|
};
|
|
452
452
|
}, f = ({ children: e }) => {
|
|
453
|
-
const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate:
|
|
453
|
+
const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
|
|
454
454
|
email: a,
|
|
455
455
|
hasError: v
|
|
456
456
|
}), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
|
|
457
457
|
o(s), y(t);
|
|
458
458
|
}, l = () => {
|
|
459
|
-
|
|
459
|
+
j(), d == null || d();
|
|
460
460
|
}, n = C(e, f.Label), E = C(e, f.Input), F = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
|
|
461
461
|
return /* @__PURE__ */ u.createElement(Se.Provider, {
|
|
462
462
|
value: i
|
|
@@ -484,26 +484,26 @@ f.Label = U.Label;
|
|
|
484
484
|
f.Input = U.Input;
|
|
485
485
|
f.Description = U.Description;
|
|
486
486
|
f.Error = U.Error;
|
|
487
|
-
f.Suggestion =
|
|
487
|
+
f.Suggestion = ze;
|
|
488
488
|
const nt = "_suggestion_di65n_1", ot = {
|
|
489
489
|
suggestion: nt
|
|
490
490
|
}, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
|
|
491
491
|
content: e,
|
|
492
492
|
locale: t
|
|
493
493
|
}), It = () => {
|
|
494
|
-
const e =
|
|
494
|
+
const e = De();
|
|
495
495
|
return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
|
|
496
|
-
className:
|
|
496
|
+
className: D(ke, H.label)
|
|
497
497
|
}, /* @__PURE__ */ u.createElement(f.Label.Required, {
|
|
498
|
-
className:
|
|
498
|
+
className: D(Fe, H.requiredMark)
|
|
499
499
|
})), /* @__PURE__ */ u.createElement(f.Input, {
|
|
500
500
|
className: e
|
|
501
501
|
}), /* @__PURE__ */ u.createElement(f.Error, {
|
|
502
|
-
className:
|
|
502
|
+
className: D(Te, H.error)
|
|
503
503
|
}, /* @__PURE__ */ u.createElement(Ae, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
|
|
504
|
-
className:
|
|
504
|
+
className: D(xe, H.description)
|
|
505
505
|
}, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
|
|
506
|
-
className:
|
|
506
|
+
className: D(je, ot.suggestion)
|
|
507
507
|
}));
|
|
508
508
|
};
|
|
509
509
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import e, { useState as q, useMemo as v, useCallback as V, useRef as w } from "react";
|
|
2
2
|
import T from "classnames";
|
|
3
3
|
import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as x } from "react-aria-components";
|
|
4
|
-
import { aq as U, ar as P, ag as H, al as K, v as Y, ak as D, ah as X, am as j, j as Z } from "./form-
|
|
4
|
+
import { aq as U, ar as P, ag as H, al as K, v as Y, ak as D, ah as X, am as j, j as Z } from "./form-Wsx4lguO.js";
|
|
5
5
|
import { f as b, a as L } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { L as ee } from "./field-label-headless-
|
|
6
|
+
import { L as ee } from "./field-label-headless-Dx3VrM-U.js";
|
|
7
7
|
import { S as te } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
import { u as se } from "./use-invoke-callback-UH73A_J3.js";
|
|
9
9
|
import { C as k } from "./chevron-down-icon-CcpVm6B-.js";
|
|
10
10
|
import { C as ne } from "./checkbox-indicator-module-classes-DhbNznSB.js";
|
|
11
11
|
import { s as B } from "./field-rac.module-DobpyqOd.js";
|
|
12
|
-
import {
|
|
13
|
-
import { u as ue } from "./use-element-state-class-name-
|
|
12
|
+
import { C as oe, B as re, s as ae, u as le, t as ce } from "./form-element-classes-BtKlobUX.js";
|
|
13
|
+
import { u as ue } from "./use-element-state-class-name-BIqDbVvI.js";
|
|
14
14
|
const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, errors: m = me, validation: c }) => {
|
|
15
15
|
const [i, E] = q((r == null ? void 0 : r.length) || 0), a = v(() => r ?? [], [
|
|
16
16
|
r
|