@wix/form-elements 1.158.0 → 1.159.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-m5-FH9kU.js → appointment-rac-CpiyUOXo.js} +4 -4
- package/dist/component/{bookings-address-rac-VtG7wH0l.js → bookings-address-rac-BBEUV1t7.js} +1 -1
- package/dist/component/{bookings-email-rac-C8T3aTQH.js → bookings-email-rac-DdfoeLFV.js} +1 -1
- package/dist/component/{bookings-first-name-rac-BlhIWWNj.js → bookings-first-name-rac-DH39yvQ-.js} +1 -1
- package/dist/component/{bookings-header-rac-adwR7PKJ.js → bookings-header-rac-StLm7b4I.js} +1 -1
- package/dist/component/{bookings-last-name-rac-z5z1GJQL.js → bookings-last-name-rac-DHZMPMOO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DMgVxy8J.js → bookings-login-bar-rac-DrHp1ojM.js} +1 -1
- package/dist/component/{bookings-phone-rac-DS7ffO6T.js → bookings-phone-rac-6aGjbavK.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-BNWI0o60.js → bookings-rich-text-rac-DBlGZUM5.js} +1 -1
- package/dist/component/{checkbox-field-rac-CUKZ9NHF.js → checkbox-field-rac-Cna1Va1X.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-Didam2ZD.js → checkbox-group-field-headless-m_-10Mdx.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-C3WCeVA8.js → checkbox-group-field-rac-BSCi5hmx.js} +4 -4
- package/dist/component/{checkbox-group-rac-Bkq-wm7_.js → checkbox-group-rac-BWYQZmAI.js} +1 -1
- package/dist/component/{checkbox-rac-66ga9Lph.js → checkbox-rac-BsUTfSUf.js} +1 -1
- package/dist/component/{contacts-address-rac-DSOk97te.js → contacts-address-rac-DwCLW8rV.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-1qguKm9O.js → contacts-birthdate-rac-DnNgxbKb.js} +1 -1
- package/dist/component/{contacts-company-rac-Chefzmw3.js → contacts-company-rac-BQqXzpNl.js} +1 -1
- package/dist/component/{contacts-email-rac-DG6eAnz2.js → contacts-email-rac-BINnZzxp.js} +1 -1
- package/dist/component/{contacts-first-name-rac-tSGE0w5w.js → contacts-first-name-rac-DBWKFkIU.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BjZWfbM5.js → contacts-last-name-rac-D_-qrF7I.js} +1 -1
- package/dist/component/{contacts-phone-rac-jfGNKLoZ.js → contacts-phone-rac-7n7JkSDr.js} +1 -1
- package/dist/component/{contacts-position-rac-kv8I-m_Q.js → contacts-position-rac-DvXP8nvT.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-BkUG0AMs.js → contacts-subscribe-rac-DnLnV5Gm.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BtFrK_Ci.js → contacts-tax-id-rac-BJVWhvYW.js} +1 -1
- package/dist/component/{date-availability-_A9DS6za.js → date-availability-Df807-eN.js} +1 -1
- package/dist/component/{date-input-field-rac-QZUxFX5e.js → date-input-field-rac-CEuPElMH.js} +6 -6
- package/dist/component/{date-input-rac-CpseQkV4.js → date-input-rac-CSB3MWHW.js} +1 -1
- package/dist/component/{date-picker-field-rac-B4gjhxG6.js → date-picker-field-rac-CySThPfz.js} +6 -6
- package/dist/component/{date-picker-rac-DDJfUDCM.js → date-picker-rac-Fp8_pxtf.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DcwKQKHf.js → date-time-input-field-rac-DG5KSBHe.js} +6 -6
- package/dist/component/{date-time-input-rac-BkvcyU3H.js → date-time-input-rac-wctMR4uM.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-UWDhIjU-.js → dext-checkbox-group-rac-erMPfwFL.js} +2 -2
- package/dist/component/{dext-checkbox-rac-q9UJnqsC.js → dext-checkbox-rac-DQSq9Lqd.js} +1 -1
- package/dist/component/{dext-date-picker-rac-C164FDSF.js → dext-date-picker-rac-RCLcd1VV.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BvbnfRYU.js → dext-date-time-input-rac-DMolWzvy.js} +1 -1
- package/dist/component/{dext-dropdown-rac-z0xU1mRO.js → dext-dropdown-rac-wQ2GJL4V.js} +1 -1
- package/dist/component/{dext-email-rac-BkiWpfNw.js → dext-email-rac-BtymBVTW.js} +1 -1
- package/dist/component/{dext-number-input-rac-DeQWO-RK.js → dext-number-input-rac-DHPiK0Z3.js} +1 -1
- package/dist/component/{dext-phone-rac-CGlVpadW.js → dext-phone-rac-C58vHEEe.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D8hMWNIQ.js → dext-radio-group-rac-Cp-I94HW.js} +2 -2
- package/dist/component/{dext-rating-input-rac-ibIctxU_.js → dext-rating-input-rac-DI0k3tVa.js} +1 -1
- package/dist/component/{dext-tags-rac-snCgM6u0.js → dext-tags-rac-DmF6ctvQ.js} +2 -2
- package/dist/component/{dext-text-area-rac-BHVs8ixR.js → dext-text-area-rac-Bv6ridbR.js} +1 -1
- package/dist/component/{dext-text-input-rac-DGI747Od.js → dext-text-input-rac-DoTAdUgU.js} +1 -1
- package/dist/component/{dext-url-input-rac-CpO2VDPE.js → dext-url-input-rac-BuoMS6g2.js} +1 -1
- package/dist/component/{donation-rac-Ck6HkRcW.js → donation-rac-CjZalSgn.js} +49 -49
- package/dist/component/{dropdown-field-headless-Bv6LrkeA.js → dropdown-field-headless-BYEjiIUf.js} +5 -5
- package/dist/component/{dropdown-field-rac-e5MjWn5B.js → dropdown-field-rac-By_fpqhx.js} +3 -3
- package/dist/component/{dropdown-rac-B2jprC8G.js → dropdown-rac-BnIEC4RX.js} +1 -1
- package/dist/component/{ecom-address-rac-D0stOqRv.js → ecom-address-rac-B6Usk1Ty.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-BRzaQKx3.js → ecom-subscription-checkbox-rac-B4B0wzlC.js} +2 -2
- package/dist/component/{email-input-field-rac-0UIjNipg.js → email-input-field-rac-Df3KI3_v.js} +3 -3
- package/dist/component/{events-repeater-rac-BBQZzP7U.js → events-repeater-rac-B2iBk8lV.js} +4 -4
- package/dist/component/{events-rsvp-rac-Ck7BXGKy.js → events-rsvp-rac-xl_qCIh3.js} +3 -3
- package/dist/component/{field-error-headless-vApyo-y9.js → field-error-headless-DWc76YmY.js} +1 -1
- package/dist/component/{field-label-headless-C8-ShLxy.js → field-label-headless-DKBKqI2X.js} +1 -1
- package/dist/component/{file-upload-rac-BzWJOM6C.js → file-upload-rac-BVj4cRqe.js} +4 -4
- package/dist/component/{fixed-payment-rac-C4_xI103.js → fixed-payment-rac-BS1Hb4hg.js} +3 -3
- package/dist/component/{form-D7ulDPh1.js → form-BTUoOcqB.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BnBbhsOZ.js → header-field-rac-DTJ_Us6u.js} +2 -2
- package/dist/component/{header-rac-CEWayr6b.js → header-rac-CvYp0Jjo.js} +1 -1
- package/dist/component/{image-choice-rac-DTZrz6oP.js → image-choice-rac--qrYqKJl.js} +42 -42
- package/dist/component/{index-DBbgIHYT.js → index-CoEV4QEy.js} +2 -2
- package/dist/component/{index-CKtw7kvn.js → index-DIl9BH2M.js} +4 -4
- package/dist/component/{isObjectLike-BHfPE26c.js → isObjectLike-CLN09X5V.js} +1 -1
- package/dist/component/{multiline-address-field-rac-jhcWn4wT.js → multiline-address-field-rac-BjWzx-LH.js} +7 -7
- package/dist/component/{multiline-address-rac-YQj_QROS.js → multiline-address-rac-DtaAJjbR.js} +1 -1
- package/dist/component/{number-input-field-rac-A7xM2c6F.js → number-input-field-rac-2gqDUlw9.js} +4 -4
- package/dist/component/{number-input-rac-DeDatLY5.js → number-input-rac-BlciEPLN.js} +1 -1
- package/dist/component/{password-rac-7Si7JHee.js → password-rac-BvvQgafk.js} +4 -4
- package/dist/component/{payment-input-rac-D4JKZl-5.js → payment-input-rac-CSRyOPPr.js} +4 -4
- package/dist/component/{phone-input-field-rac-GxcQ_Pyl.js → phone-input-field-rac-BVWzH_TY.js} +6 -6
- package/dist/component/{phone-rac-Y2mWnseb.js → phone-rac-DMP1MoRs.js} +1 -1
- package/dist/component/{product-list-rac-CYUcNqf3.js → product-list-rac-WQ9Qhzum.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-f3O7fksW.js → quiz-radio-group-rac-DzrL3-gZ.js} +1 -1
- package/dist/component/{radio-button-module-classes-BgVUqcvD.js → radio-button-module-classes-CJk18LzO.js} +3 -3
- package/dist/component/{radio-group-field-rac-DrOiyk5C.js → radio-group-field-rac-DGoMoSgo.js} +4 -4
- package/dist/component/{radio-group-rac-Btt_bz_K.js → radio-group-rac-DhAELVNV.js} +1 -1
- package/dist/component/{rating-input-field-rac-CwN7wyaw.js → rating-input-field-rac-CFoesqmC.js} +4 -4
- package/dist/component/{rating-input-rac-sTy0SV3L.js → rating-input-rac-CFMIxche.js} +1 -1
- package/dist/component/{rich-content-rac.module-C11w9mXa.js → rich-content-rac.module-xJ03MegT.js} +1 -1
- package/dist/component/{rich-text-field-rac-kGwuDtNs.js → rich-text-field-rac-CBMY4JOB.js} +2 -2
- package/dist/component/{rich-text-rac-T4ic2hrA.js → rich-text-rac-CvZ7s1Ct.js} +1 -1
- package/dist/component/{service-dropdown-rac-BfliE4hs.js → service-dropdown-rac-B627AgPG.js} +4 -4
- package/dist/component/{services-multi-choice-rac-CLQ4dLxO.js → services-multi-choice-rac-fXOov4K7.js} +5 -5
- package/dist/component/{signature-rac-DLiFeCNL.js → signature-rac-CG_Q9Oxr.js} +4 -4
- package/dist/component/{submit-button-rac-CccO80E1.js → submit-button-rac-DAsovEp2.js} +2 -2
- package/dist/component/{tags-field-rac-DaghCGJU.js → tags-field-rac-9mpOMPLm.js} +74 -74
- package/dist/component/{tags-rac-3ly5shW2.js → tags-rac-CNBJ08wS.js} +1 -1
- package/dist/component/{text-area-field-rac-2-TYC5Lb.js → text-area-field-rac-D4aTm7CM.js} +4 -4
- package/dist/component/{text-area-rac-Bx0pgw80.js → text-area-rac-DoKiH_Kv.js} +1 -1
- package/dist/component/{text-input-field-rac-Dyur2Wby.js → text-input-field-rac-BbvPB26b.js} +3 -3
- package/dist/component/{text-input-headless-DZ-Pjpm4.js → text-input-headless-BGaBRrP1.js} +3 -3
- package/dist/component/{text-input-rac-BuBtJDX_.js → text-input-rac-1ac1EKad.js} +1 -1
- package/dist/component/{time-input-rac-AlDEpfXZ.js → time-input-rac-BS0rR-89.js} +4 -4
- package/dist/component/{url-input-field-rac-BzP4-8yP.js → url-input-field-rac-DbO6ATng.js} +4 -4
- package/dist/component/{url-input-rac-DaBXuedf.js → url-input-rac-DHuny3d-.js} +1 -1
- package/dist/component/{use-dropdown-trigger-class-name-BKOFwNvc.js → use-dropdown-trigger-class-name-rcGBzxI1.js} +3 -3
- package/dist/component/{use-element-state-class-name-DY0UyIQg.js → use-element-state-class-name-BUsFQfoW.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-C_Wh4Qfc.js → use-hoverable-input-class-name-C2l3G8gb.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-Bw_IFUKt.js → use-is-forced-open-dropdown-CoOk4W4i.js} +1 -1
- package/dist/component/{use-service-options-base-DgSaAuGy.js → use-service-options-base-D_enm38a.js} +1 -1
- package/dist/component/use-text-input-class-name-BLtPQoYE.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-DFMQAg_E.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-BTUoOcqB.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-xJ03MegT.js";
|
|
5
5
|
const y = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import e, { useMemo as y, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { bo as b, bl as
|
|
4
|
+
import { bo as b, bl as P, bq as x, bh as B, R as q, a0 as U, N as w, P as V, H as z, v as K, O as Q, f } from "./form-BTUoOcqB.js";
|
|
5
5
|
import { CheckboxGroup as Y, CheckboxField as $, CheckboxButton as j } from "react-aria-components";
|
|
6
|
-
import { f as m, a as
|
|
7
|
-
import { L as J, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
6
|
+
import { f as m, a as h } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { L as J, g as W } from "./field-label-headless-DKBKqI2X.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-DWc76YmY.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
13
13
|
const o = ({ children: t, className: n }) => {
|
|
14
|
-
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError:
|
|
14
|
+
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: N } = P(), R = m(t, o.Label), S = m(t, o.Options), A = m(t, o.Description), D = m(t, o.Error), M = y(() => a || [], [
|
|
15
15
|
a
|
|
16
16
|
]), v = T((H) => {
|
|
17
17
|
i == null || i(H);
|
|
18
18
|
}, [
|
|
19
19
|
i
|
|
20
20
|
]);
|
|
21
|
-
return /* @__PURE__ */ e.createElement(
|
|
21
|
+
return /* @__PURE__ */ e.createElement(L, {
|
|
22
22
|
fieldId: s,
|
|
23
|
-
renderLabel: () =>
|
|
23
|
+
renderLabel: () => R,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ e.createElement(ee, {
|
|
25
|
-
id:
|
|
25
|
+
id: g,
|
|
26
26
|
ariaLabelledBy: _,
|
|
27
|
-
ariaDescribedBy:
|
|
27
|
+
ariaDescribedBy: N,
|
|
28
28
|
required: c,
|
|
29
29
|
onBlur: u,
|
|
30
30
|
onFocus: p
|
|
@@ -36,16 +36,16 @@ const o = ({ children: t, className: n }) => {
|
|
|
36
36
|
isDisabled: l,
|
|
37
37
|
isReadOnly: r,
|
|
38
38
|
isRequired: c,
|
|
39
|
-
isInvalid:
|
|
40
|
-
},
|
|
41
|
-
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
39
|
+
isInvalid: C
|
|
40
|
+
}, S)),
|
|
41
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, D, A)
|
|
42
42
|
});
|
|
43
|
-
},
|
|
44
|
-
const { id: s, options: a, numberOfColumns: i } = b(), l = m(t,
|
|
43
|
+
}, F = ({ children: t, className: n }) => {
|
|
44
|
+
const { id: s, options: a, numberOfColumns: i } = b(), l = m(t, F.Option);
|
|
45
45
|
return /* @__PURE__ */ e.createElement("div", {
|
|
46
46
|
className: n,
|
|
47
47
|
"data-columns": i
|
|
48
|
-
}, a == null ? void 0 : a.map((r, c) =>
|
|
48
|
+
}, a == null ? void 0 : a.map((r, c) => h(l, {
|
|
49
49
|
key: r.id || r.label,
|
|
50
50
|
option: r,
|
|
51
51
|
isFirst: c === 0,
|
|
@@ -77,15 +77,15 @@ const o = ({ children: t, className: n }) => {
|
|
|
77
77
|
return !s.label || s.isLabelHidden ? null : /* @__PURE__ */ e.createElement("span", {
|
|
78
78
|
className: t
|
|
79
79
|
}, s.label);
|
|
80
|
-
},
|
|
80
|
+
}, E = ({ children: t, className: n, ...s }) => {
|
|
81
81
|
const { option: a, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError: u } = b(), p = G(null);
|
|
82
|
-
|
|
82
|
+
x(() => {
|
|
83
83
|
var _;
|
|
84
84
|
i && ((_ = p.current) == null || _.focus({
|
|
85
85
|
preventScroll: !0
|
|
86
86
|
}));
|
|
87
87
|
}, l);
|
|
88
|
-
const
|
|
88
|
+
const C = m(t, E.Input), L = m(t, E.Image), g = m(t, E.Label);
|
|
89
89
|
return /* @__PURE__ */ e.createElement($, {
|
|
90
90
|
value: a.label,
|
|
91
91
|
isDisabled: r,
|
|
@@ -96,60 +96,60 @@ const o = ({ children: t, className: n }) => {
|
|
|
96
96
|
"aria-label": a.isLabelHidden ? a.label : void 0,
|
|
97
97
|
className: n,
|
|
98
98
|
"data-hook": `image-choice-${a.label}`
|
|
99
|
-
},
|
|
99
|
+
}, C, h(L, {
|
|
100
100
|
option: a
|
|
101
|
-
}),
|
|
101
|
+
}), h(g, {
|
|
102
102
|
option: a
|
|
103
103
|
})));
|
|
104
104
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
E.Input = ae;
|
|
106
|
+
E.Image = ne;
|
|
107
|
+
E.Label = se;
|
|
108
108
|
o.Label = J;
|
|
109
|
-
o.Options =
|
|
110
|
-
|
|
109
|
+
o.Options = F;
|
|
110
|
+
F.Option = E;
|
|
111
111
|
o.Description = X;
|
|
112
112
|
o.Error = Z;
|
|
113
|
-
const le = "
|
|
113
|
+
const le = "_options_1h2d0_1", ie = "_optionInput_1h2d0_33", re = "_option_1h2d0_1", ce = "_optionHover_1h2d0_67", me = "_optionSelected_1h2d0_67", pe = "_optionLabel_1h2d0_107", de = "_optionImage_1h2d0_152", d = {
|
|
114
114
|
options: le,
|
|
115
115
|
optionInput: ie,
|
|
116
116
|
option: re,
|
|
117
117
|
optionHover: ce,
|
|
118
118
|
optionSelected: me,
|
|
119
119
|
optionLabel: pe,
|
|
120
|
-
optionImage:
|
|
121
|
-
},
|
|
120
|
+
optionImage: de
|
|
121
|
+
}, Ee = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(k, {
|
|
122
122
|
content: t,
|
|
123
123
|
locale: n
|
|
124
124
|
}), ue = {
|
|
125
|
-
base:
|
|
126
|
-
selected:
|
|
127
|
-
hover:
|
|
125
|
+
base: d.option,
|
|
126
|
+
selected: d.optionSelected,
|
|
127
|
+
hover: d.optionHover
|
|
128
128
|
}, Ie = () => {
|
|
129
129
|
const t = oe({
|
|
130
130
|
globalClasses: Q,
|
|
131
131
|
moduleClasses: ue
|
|
132
|
-
}), n =
|
|
132
|
+
}), n = B(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
|
|
133
133
|
return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(o.Label, {
|
|
134
|
-
className: I(
|
|
134
|
+
className: I(q, O.label)
|
|
135
135
|
}, /* @__PURE__ */ e.createElement(o.Label.Required, {
|
|
136
|
-
className: I(
|
|
136
|
+
className: I(U, O.requiredMark)
|
|
137
137
|
})), /* @__PURE__ */ e.createElement(o.Options, {
|
|
138
|
-
className: I(
|
|
138
|
+
className: I(w, d.options)
|
|
139
139
|
}, /* @__PURE__ */ e.createElement(o.Options.Option, {
|
|
140
140
|
className: t
|
|
141
141
|
}, /* @__PURE__ */ e.createElement(o.Options.Option.Input, {
|
|
142
|
-
className:
|
|
142
|
+
className: d.optionInput
|
|
143
143
|
}), /* @__PURE__ */ e.createElement(o.Options.Option.Image, {
|
|
144
|
-
className: I(V,
|
|
144
|
+
className: I(V, d.optionImage, n)
|
|
145
145
|
}), /* @__PURE__ */ e.createElement(o.Options.Option.Label, {
|
|
146
|
-
className:
|
|
146
|
+
className: d.optionLabel
|
|
147
147
|
}))), /* @__PURE__ */ e.createElement(o.Error, {
|
|
148
148
|
className: I(z, O.error)
|
|
149
149
|
}, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
|
|
150
150
|
className: I(K, O.description)
|
|
151
|
-
},
|
|
152
|
-
},
|
|
151
|
+
}, Ee));
|
|
152
|
+
}, Ae = () => /* @__PURE__ */ e.createElement(Ie, null);
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
Ae as ImageChoiceRAC
|
|
155
155
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b7 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-
|
|
1
|
+
import { b7 as n } from "./form-BTUoOcqB.js";
|
|
2
|
+
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-BTUoOcqB.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-
|
|
2
|
-
import { b3 as Mn } from "./form-
|
|
1
|
+
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-BTUoOcqB.js";
|
|
2
|
+
import { b3 as Mn } from "./form-BTUoOcqB.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-Df807-eN.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-Df807-eN.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import r, { useMemo as q, createContext as Ve, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as _e } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, R as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-
|
|
5
|
+
import { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, R as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-BTUoOcqB.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as Xt } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { a as Xt } from "./use-is-forced-open-dropdown-CoOk4W4i.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as Se, ListBox as Te, ListBoxItem as De, Group as Lt, Button as Nt } 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 Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-DWc76YmY.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-DKBKqI2X.js";
|
|
12
|
+
import { e as Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-CLN09X5V.js";
|
|
13
|
+
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-rcGBzxI1.js";
|
|
14
14
|
import { u as nn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as it } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as we } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as I } from "./field-rac.module-DP0lkkEv.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
20
20
|
const on = (e, t, o) => {
|
|
21
21
|
var a, l, i, s;
|
|
22
22
|
const n = (a = e.steps) == null ? void 0 : a.map((d) => {
|
package/dist/component/{number-input-field-rac-A7xM2c6F.js → number-input-field-rac-2gqDUlw9.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useState as H, useCallback as Q, useEffect as U, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as z } from "react-aria-components";
|
|
5
|
-
import { bo as _, bl as S, by as G, bq as J, R as K, a0 as W, H as X, v as Y } from "./form-
|
|
5
|
+
import { bo as _, bl as S, by as G, bq as J, R as K, a0 as W, H as X, v as Y } from "./form-BTUoOcqB.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as w } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as w } from "./field-error-headless-DWc76YmY.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-DKBKqI2X.js";
|
|
9
9
|
import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as p } from "./field-rac.module-DP0lkkEv.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, R, L;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: d, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: y } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, A = (R = n == null ? void 0 : n.number) == null ? void 0 : R.maximum, g = (L = n == null ? void 0 : n.number) == null ? void 0 : L.minimum, q = O(s), [x, I] = H(q), T = ne(E), V = c(t, e.Label), h = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = Q((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bo as E, bl as I, bq as v, by as A, R as B, a0 as V, H as P, v as M } from "./form-
|
|
4
|
+
import { bo as E, bl as I, bq as v, by as A, R as B, a0 as V, H as P, v as M } from "./form-BTUoOcqB.js";
|
|
5
5
|
import { TextField as k, Group as q, Input as H, Button as U } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as W } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as W } from "./field-error-headless-DWc76YmY.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-DKBKqI2X.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
12
|
+
import { u as $ } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), w = u(o, t.Description), S = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as j } from "react";
|
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as z, Group as J, Input as K } from "react-aria-components";
|
|
5
|
-
import { bo as N, bl as D, bg as T, by as W, bq as X, R as Y, a0 as Z, H as ee, v as re } from "./form-
|
|
5
|
+
import { bo as N, bl as D, bg as T, by as W, bq as X, R as Y, a0 as Z, H as ee, v as re } from "./form-BTUoOcqB.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-DWc76YmY.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DKBKqI2X.js";
|
|
9
9
|
import { f as L, g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ce } from "./custom-focus-class-_483Pkwp.js";
|
|
13
13
|
import { s as d } from "./field-rac.module-DP0lkkEv.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-GxcQ_Pyl.js → phone-input-field-rac-BVWzH_TY.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as de } from "@wix/ricos/viewer";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import t, { useMemo as j, useState as $, useRef as F, useEffect as k, useCallback as W, createContext as te, useContext as H, useId as ye } from "react";
|
|
4
|
-
import { b7 as Ee, by as w, bg as ne, bx as fe, bo as D, bl as oe, bq as ge, R as he, a0 as be, y as Oe, H as Ne, v as _e } from "./form-
|
|
4
|
+
import { b7 as Ee, by as w, bg as ne, bx as fe, bo as D, bl as oe, bq as ge, R as he, a0 as be, y as Oe, H as Ne, v as _e } from "./form-BTUoOcqB.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Se } from "react-aria";
|
|
6
6
|
import { Dialog as re, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as q, ListBoxItem as Fe, DialogTrigger as we, Select as De, Input as ae, Autocomplete as Be } from "react-aria-components";
|
|
7
7
|
import { f as g, a as I } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as xe, E as Re } from "./field-error-headless-
|
|
9
|
-
import { L as Me } from "./field-label-headless-
|
|
8
|
+
import { D as xe, E as Re } from "./field-error-headless-DWc76YmY.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-DKBKqI2X.js";
|
|
10
10
|
import { N as Te, S as je } from "./non-modal-popover-D-u13tmp.js";
|
|
11
11
|
import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { a as Ae } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import { V as ke, u as Ve, a as Ue } from "./use-dropdown-trigger-class-name-
|
|
12
|
+
import { a as Ae } from "./use-is-forced-open-dropdown-CoOk4W4i.js";
|
|
13
|
+
import { V as ke, u as Ve, a as Ue } from "./use-dropdown-trigger-class-name-rcGBzxI1.js";
|
|
14
14
|
import se, { AsYouType as qe, isValidPhoneNumber as He, isSupportedCountry as Ge } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as Z } from "./calling-country-codes-PyWuOTmF.js";
|
|
@@ -18,7 +18,7 @@ import { C as Ye } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as O } from "./field-rac.module-DP0lkkEv.js";
|
|
21
|
-
import { u as J } from "./use-text-input-class-name-
|
|
21
|
+
import { u as J } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
22
22
|
function X(e) {
|
|
23
23
|
const n = e ? se(e) : void 0, o = n == null ? void 0 : n.country;
|
|
24
24
|
if (o)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as K, useCallback as M, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import b from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as G, NumberField as W, Group as X, Button as Q, Input as Y } from "react-aria-components";
|
|
5
|
-
import { bo as U, bl as J, bg as V, by as Z, bq as ee, R as te, a0 as ne, S as ae, V as oe, U as re, W as le, H as se, v as ie, T as ce } from "./form-
|
|
5
|
+
import { bo as U, bl as J, bg as V, by as Z, bq as ee, R as te, a0 as ne, S as ae, V as oe, U as re, W as le, H as se, v as ie, T as ce } from "./form-BTUoOcqB.js";
|
|
6
6
|
import { f as I, a as f } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as ue, g as me } from "./field-label-headless-
|
|
7
|
+
import { L as ue, g as me } from "./field-label-headless-DKBKqI2X.js";
|
|
8
8
|
import { f as pe } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as de, E as Ee } from "./field-error-headless-
|
|
9
|
+
import { D as de, E as Ee } from "./field-error-headless-DWc76YmY.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Ie } from "./checkbox-indicator-module-classes-akWZsZNn.js";
|
|
15
15
|
import { s as q } from "./field-rac.module-DP0lkkEv.js";
|
|
16
16
|
import { o as j } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
18
18
|
var Le = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), k = /* @__PURE__ */ (function(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as k, RadioField as q, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
|
|
3
|
-
import { bo as g, bl as $, by as D, bq as x } from "./form-
|
|
3
|
+
import { bo as g, bl as $, by as D, bq as x } from "./form-BTUoOcqB.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as M } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as M } from "./field-error-headless-DWc76YmY.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-DKBKqI2X.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-DrOiyk5C.js → radio-group-field-rac-DGoMoSgo.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { a, s, R as n } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as n } from "./radio-button-module-classes-CJk18LzO.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DP0lkkEv.js";
|
|
7
|
-
import { R as i, a0 as E, X as p, Y as R, H as O, v as _, Z as I } from "./form-
|
|
7
|
+
import { R as i, a0 as E, X as p, Y as R, H as O, v as _, Z as I } from "./form-BTUoOcqB.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as N } from "./use-element-state-class-name-
|
|
10
|
-
import { u } from "./use-text-input-class-name-
|
|
9
|
+
import { u as N } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-CwN7wyaw.js → rating-input-field-rac-CFoesqmC.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as D } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { bo as v, bl as I, by as H, R as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-
|
|
4
|
+
import { bo as v, bl as I, by as H, R as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-BTUoOcqB.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as z, E as Q } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as z, E as Q } from "./field-error-headless-DWc76YmY.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-DKBKqI2X.js";
|
|
9
9
|
import { E as $ } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: R, FieldLayout: C } = v(), { labelId: _ } = I(), L = N((y) => i(Number(y)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-C11w9mXa.js → rich-content-rac.module-xJ03MegT.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bo as a, bg as i, by as T } from "./form-
|
|
2
|
+
import { bo as a, bg as i, by as T } from "./form-BTUoOcqB.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
4
|
import { D as r } from "./data-hooks-Dkw1pbRj.js";
|
|
5
5
|
import { truncateRichContent as _ } from "@wix/ricos/content";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-BTUoOcqB.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-xJ03MegT.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-BfliE4hs.js → service-dropdown-rac-B627AgPG.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bk as P, by as A, F as y, bo as M, bg as H, aq as V, R as k, a0 as q, y as x, H as U, v as W } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bk as P, by as A, F as y, bo as M, bg as H, aq as V, R as k, a0 as q, y as x, H as U, v as W } from "./form-BTUoOcqB.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-D_enm38a.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-BYEjiIUf.js";
|
|
7
7
|
import { C as Q } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Y } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as j } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { a as z, u as G } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { a as z, u as G } from "./use-dropdown-trigger-class-name-rcGBzxI1.js";
|
|
12
12
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
13
13
|
const { actions: o } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as R } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as S, bo as d, aq as D, R as F, a0 as N, o as f, q as h, H as b, v as M, p as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as S, bo as d, aq as D, R as F, a0 as N, o as f, q as h, H as b, v as M, p as A } from "./form-BTUoOcqB.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-D_enm38a.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-m_-10Mdx.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-akWZsZNn.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DP0lkkEv.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-BLtPQoYE.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as V, useContext as Ne, useMemo as be, useCallback as _, useS
|
|
|
2
2
|
import we from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as xe } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, R as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-
|
|
5
|
+
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, R as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-BTUoOcqB.js";
|
|
6
6
|
import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
|
|
7
7
|
import { RadioGroup as tt, Button as ye, TextField as nt, DropZone as at, Input as ot, FileTrigger as st, RadioField as rt, RadioButton as lt } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as I, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as it, E as ct } from "./field-error-headless-
|
|
11
|
-
import { L as ut } from "./field-label-headless-
|
|
10
|
+
import { D as it, E as ct } from "./field-error-headless-DWc76YmY.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-DKBKqI2X.js";
|
|
12
12
|
import { D as dt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as mt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DP0lkkEv.js";
|
|
15
|
-
import { u as z } from "./use-element-state-class-name-
|
|
15
|
+
import { u as z } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
16
16
|
const pt = typeof r.useId == "function" ? r.useId : () => V(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, ht = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), Et = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, gt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Te().signature) == null ? void 0 : o.signatureMode, a = Ne(Be);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as V, useCallback as k } from "react";
|
|
2
2
|
import X from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bo as B, bi as $, ai as j, ah as q, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-
|
|
4
|
+
import { bo as B, bi as $, ai as j, ah as q, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-BTUoOcqB.js";
|
|
5
5
|
import { ProgressBar as nt, Button as w } from "react-aria-components";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-BUsFQfoW.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|