@wix/form-elements 1.160.0 → 1.162.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-BmHu56e5.js → appointment-rac-3Z1wiBX6.js} +366 -359
- package/dist/component/{bookings-address-rac-DY9l2g0h.js → bookings-address-rac-2zV-a8SW.js} +1 -1
- package/dist/component/{bookings-email-rac-B5vNSOsS.js → bookings-email-rac-C1WakVnh.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CJiefCNz.js → bookings-first-name-rac-6f18uXA0.js} +1 -1
- package/dist/component/{bookings-header-rac-BFu7Ko5w.js → bookings-header-rac-BeaxlPQl.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DegMM13h.js → bookings-last-name-rac-CsLZaKfO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DrA-5tBH.js → bookings-login-bar-rac-B3TRivWU.js} +5 -5
- package/dist/component/{bookings-phone-rac-DsaeqxCI.js → bookings-phone-rac-BnFEknvv.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-jRHiwqi8.js → bookings-rich-text-rac-CFPqDZay.js} +1 -1
- package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
- package/dist/component/{checkbox-field-rac-CyoBb6Yf.js → checkbox-field-rac-DqGbxAd0.js} +45 -45
- package/dist/component/{checkbox-group-field-headless-Bv1gU3oL.js → checkbox-group-field-headless-CiobdaVa.js} +38 -38
- package/dist/component/{checkbox-group-field-rac-DasArcdV.js → checkbox-group-field-rac-Dxrc2F4x.js} +14 -14
- package/dist/component/{checkbox-group-rac-CzmufV1U.js → checkbox-group-rac-C3tL4YSr.js} +1 -1
- package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
- package/dist/component/{checkbox-rac-6C7XoUoZ.js → checkbox-rac-DhZsIMuk.js} +1 -1
- package/dist/component/{contacts-address-rac-BZobbFtz.js → contacts-address-rac--GiWpa6C.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DIzf41DS.js → contacts-birthdate-rac-CmI2nPpr.js} +1 -1
- package/dist/component/{contacts-company-rac-BiBDO28r.js → contacts-company-rac-DcSLvPnR.js} +1 -1
- package/dist/component/{contacts-email-rac-5mqokCSD.js → contacts-email-rac-BLOIHGP9.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BXe3_Nz5.js → contacts-first-name-rac-DgMCKLeE.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Cfqgh7u1.js → contacts-last-name-rac-tcEQP1Db.js} +1 -1
- package/dist/component/{contacts-phone-rac-cmLUWnAc.js → contacts-phone-rac-CK664cfW.js} +1 -1
- package/dist/component/{contacts-position-rac-DTyvklfN.js → contacts-position-rac-B8skwXy6.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-D-ZEX1A3.js → contacts-subscribe-rac-DQZYJjMo.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-B4NYJwWt.js → contacts-tax-id-rac-Ci24ixLu.js} +1 -1
- package/dist/component/{date-availability-Dach9aRC.js → date-availability-Va6_2NAZ.js} +1 -1
- package/dist/component/{date-input-field-rac-B72mHcya.js → date-input-field-rac-lAKyuHOI.js} +98 -98
- package/dist/component/{date-input-rac-CYix11gT.js → date-input-rac-ClEesupR.js} +1 -1
- package/dist/component/{date-picker-field-rac-B8pvtPir.js → date-picker-field-rac-h45jfoso.js} +72 -72
- package/dist/component/{date-picker-rac-D6cR0zH9.js → date-picker-rac-B-pvqBn0.js} +1 -1
- package/dist/component/{date-time-input-field-rac-B7Y3Yf5l.js → date-time-input-field-rac-41QpurJp.js} +72 -72
- package/dist/component/{date-time-input-rac-DMN-noQX.js → date-time-input-rac-BQOUl7It.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-Kq0GnteP.js → dext-checkbox-group-rac-C4Q6tfBD.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BY9GZ4n1.js → dext-checkbox-rac-Yo2PHNDA.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CXArIddp.js → dext-date-picker-rac-jM9x8W6a.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-B39TtxGq.js → dext-date-time-input-rac-BgW_4WIg.js} +1 -1
- package/dist/component/{dext-dropdown-rac-C3y0G8cS.js → dext-dropdown-rac-DCL7D6-G.js} +1 -1
- package/dist/component/{dext-email-rac-BIg3cq7Q.js → dext-email-rac-Dz7yBqkd.js} +1 -1
- package/dist/component/{dext-number-input-rac-27sHJ7yN.js → dext-number-input-rac-BdMjBpH9.js} +1 -1
- package/dist/component/{dext-phone-rac-CcohoFQp.js → dext-phone-rac-D2i9fXL3.js} +1 -1
- package/dist/component/{dext-radio-group-rac-eead3Gve.js → dext-radio-group-rac-Br2f1Ahx.js} +2 -2
- package/dist/component/{dext-rating-input-rac-B_E6OcBr.js → dext-rating-input-rac-OkfJ7Eb0.js} +1 -1
- package/dist/component/{dext-tags-rac-Yd9aAtnF.js → dext-tags-rac-43vDoDdM.js} +2 -2
- package/dist/component/{dext-text-area-rac-CMACri2C.js → dext-text-area-rac-C072pWO9.js} +1 -1
- package/dist/component/{dext-text-input-rac-sNjSCfQ-.js → dext-text-input-rac-BiHJpJCt.js} +1 -1
- package/dist/component/{dext-url-input-rac-DwhbzJty.js → dext-url-input-rac-YOGYMj5C.js} +1 -1
- package/dist/component/{donation-rac-BVAN3kMk.js → donation-rac-fCt3mddA.js} +106 -106
- package/dist/component/{dropdown-field-rac-DdoGigWx.js → dropdown-field-rac-EQrQJ2-C.js} +4 -4
- package/dist/component/{dropdown-rac-CRkt5w47.js → dropdown-rac-MPCcjrFd.js} +1 -1
- package/dist/component/{ecom-address-rac-C36hFHW0.js → ecom-address-rac-DSgpHqzV.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-BKfQ348w.js → ecom-subscription-checkbox-rac-Dw6Ke0Fb.js} +2 -2
- package/dist/component/{email-input-field-rac-MOaISYxa.js → email-input-field-rac-DVmvH4u4.js} +80 -80
- package/dist/component/{events-repeater-rac-D6p-NgE8.js → events-repeater-rac-Uwpo7XF4.js} +25 -25
- package/dist/component/{events-rsvp-rac-DVpgN8gm.js → events-rsvp-rac-D2DJAkep.js} +4 -4
- package/dist/component/{field-error-headless-XNWmDH3E.js → field-error-headless-DAc8FpKI.js} +7 -7
- package/dist/component/{field-label-headless-CORRAJGt.js → field-label-headless-DxxwJtjh.js} +17 -17
- package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
- package/dist/component/{file-upload-rac-DRMr7E4b.js → file-upload-rac-CBKIeaxX.js} +194 -194
- package/dist/component/{fixed-payment-rac-BUXzNex9.js → fixed-payment-rac-BsCDoc1p.js} +20 -20
- package/dist/component/{form-DSpx-AO8.js → form-GAuLAdjq.js} +338 -347
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-CiDXlNsa.js → header-field-rac-DtZCjzLJ.js} +6 -6
- package/dist/component/{header-rac-B5Rg-h8u.js → header-rac-B1hlVDf8.js} +1 -1
- package/dist/component/image-choice-rac-DQaCg_Xk.js +155 -0
- package/dist/component/{index-CwruESwc.js → index-BaVjVNYj.js} +5 -5
- package/dist/component/{index-Bz7ZhQsF.js → index-C1EXd9jU.js} +50 -50
- package/dist/component/{isObjectLike-C5dHxHP0.js → isObjectLike-m2dqIREj.js} +3 -3
- package/dist/component/{multiline-address-field-rac-Z-qF366L.js → multiline-address-field-rac-CMMdLb-J.js} +41 -41
- package/dist/component/{multiline-address-rac-CJIHTMw5.js → multiline-address-rac-VUQNp-Tz.js} +1 -1
- package/dist/component/{number-input-field-rac-D4vf6I6N.js → number-input-field-rac-B5bsGDKm.js} +24 -24
- package/dist/component/{number-input-rac-B2jW6JUQ.js → number-input-rac-BzzW0p9R.js} +1 -1
- package/dist/component/{password-rac-DGRZ17Jl.js → password-rac-2Rr7lvNO.js} +25 -25
- package/dist/component/{payment-input-rac-BtD-tAKv.js → payment-input-rac-CEUzIrJA.js} +31 -31
- package/dist/component/{phone-input-field-rac-KD4-APhr.js → phone-input-field-rac-BDBaqAzE.js} +59 -59
- package/dist/component/{phone-rac-Cw2yccgg.js → phone-rac-BTK8-tkq.js} +1 -1
- package/dist/component/{product-list-rac-XbzTDdbp.js → product-list-rac-1QbeT5RH.js} +43 -43
- package/dist/component/{quiz-radio-group-rac-BDw_mAw5.js → quiz-radio-group-rac-tn2CzdCu.js} +1 -1
- package/dist/component/{radio-button-module-classes-CFGf0Hzh.js → radio-button-module-classes-aK1SQcLG.js} +30 -30
- package/dist/component/{radio-group-field-rac-CXN7tyVu.js → radio-group-field-rac-DlMXhW_S.js} +7 -7
- package/dist/component/{radio-group-rac-COHzqjBh.js → radio-group-rac-BmU_5tBK.js} +1 -1
- package/dist/component/{rating-input-field-rac-DCXNZgf1.js → rating-input-field-rac-DUPJUAX2.js} +27 -27
- package/dist/component/{rating-input-rac-DwQt9ML7.js → rating-input-rac-BLhkZdj8.js} +1 -1
- package/dist/component/{rich-content-rac.module-B7rPwNns.js → rich-content-rac.module-C9bGXB69.js} +5 -5
- package/dist/component/{rich-text-field-rac-DlER7NRD.js → rich-text-field-rac-CVqmsZzZ.js} +6 -6
- package/dist/component/{rich-text-rac-CjicsHA7.js → rich-text-rac-D8K6445F.js} +1 -1
- package/dist/component/{service-dropdown-rac-B81LC_6_.js → service-dropdown-rac-PR_iLdmo.js} +31 -31
- package/dist/component/{services-multi-choice-rac-BR6gZeHk.js → services-multi-choice-rac-BvMadJCf.js} +19 -19
- package/dist/component/{signature-rac-XFj7Ddtp.js → signature-rac-Cpjv6kcl.js} +235 -235
- package/dist/component/{submit-button-rac-Bz7zs_3W.js → submit-button-rac-DpDk7cMb.js} +7 -7
- package/dist/component/{tags-field-rac-DWWkNKqc.js → tags-field-rac-DnyWNHXT.js} +67 -67
- package/dist/component/{tags-rac-BXyiQ9i1.js → tags-rac-D5Do7BNm.js} +1 -1
- package/dist/component/{text-area-field-rac-DsIRYi0d.js → text-area-field-rac-DLBgla0L.js} +27 -27
- package/dist/component/{text-area-rac-CF9pDP9d.js → text-area-rac-Bfsl2gSn.js} +1 -1
- package/dist/component/{text-input-field-rac-BwIDZACz.js → text-input-field-rac-hLsUcQNw.js} +4 -4
- package/dist/component/{text-input-headless-5kQs2_Xu.js → text-input-headless-Otd7Uy7V.js} +13 -13
- package/dist/component/{text-input-rac-CRmSuw1k.js → text-input-rac-jpnc-v91.js} +1 -1
- package/dist/component/{time-input-rac-BRMNpe51.js → time-input-rac-DnjrmZZw.js} +26 -26
- package/dist/component/url-input-field-rac-C90NYHb8.js +77 -0
- package/dist/component/{url-input-rac-Dv-kp50D.js → url-input-rac-C3wfEnqs.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BQi_qE_-.js → use-dropdown-option-class-name-CYkLlKBs.js} +12 -12
- package/dist/component/{use-dropdown-trigger-class-name-bAK8aHiG.js → use-dropdown-trigger-class-name-CTt4Z67m.js} +17 -17
- package/dist/component/{use-element-state-class-name-rXM_lHug.js → use-element-state-class-name-ByDw6j7c.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-BnV_uerV.js → use-hoverable-input-class-name-Duhgtn2I.js} +3 -3
- package/dist/component/use-is-forced-open-dropdown-B5gNY4Zm.js +53 -0
- package/dist/component/{use-service-options-base-CLeE9-Tx.js → use-service-options-base-DE-QaNDw.js} +8 -8
- package/dist/component/use-text-input-class-name-CmxSw6bY.js +6 -0
- package/dist/form.d.ts +3 -0
- package/package.json +2 -2
- package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
- package/dist/component/image-choice-rac-CtoA_KDp.js +0 -155
- package/dist/component/url-input-field-rac-CKLS3QDk.js +0 -77
- package/dist/component/use-is-forced-open-dropdown-Bp-5Xpmw.js +0 -53
- package/dist/component/use-text-input-class-name-DIKWvfkm.js +0 -6
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import a, { useRef as F, useState as
|
|
2
|
-
import { RadioGroup as
|
|
3
|
-
import {
|
|
1
|
+
import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
|
|
2
|
+
import { RadioGroup as A, RadioField as k, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
|
|
3
|
+
import { by as g, bv as q, bI as D, bA as x } from "./form-GAuLAdjq.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as
|
|
6
|
-
import { L as
|
|
7
|
-
import { S as
|
|
8
|
-
const v = "Other",
|
|
5
|
+
import { D as U, E as M } from "./field-error-headless-DAc8FpKI.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-DxxwJtjh.js";
|
|
7
|
+
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
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;
|
|
10
10
|
return e.slice(l);
|
|
11
11
|
}, i = ({ children: e, className: t }) => {
|
|
12
|
-
const { id: n, value: l, onChange: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: C, ariaDescribedBy:
|
|
12
|
+
const { id: n, value: l, onChange: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: C, ariaDescribedBy: _ } = q(), s = u(e, i.Label), I = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = S(o, l) ? v : l || null;
|
|
13
13
|
return /* @__PURE__ */ a.createElement(c, {
|
|
14
14
|
fieldId: n,
|
|
15
15
|
renderLabel: () => L(s, {
|
|
16
16
|
as: "div"
|
|
17
17
|
}),
|
|
18
|
-
renderInput: () => /* @__PURE__ */ a.createElement(
|
|
18
|
+
renderInput: () => /* @__PURE__ */ a.createElement(A, {
|
|
19
19
|
id: f,
|
|
20
20
|
className: t,
|
|
21
21
|
"aria-labelledby": C,
|
|
22
|
-
"aria-describedby":
|
|
22
|
+
"aria-describedby": _,
|
|
23
23
|
value: V,
|
|
24
24
|
onChange: h,
|
|
25
25
|
isDisabled: p,
|
|
@@ -28,7 +28,7 @@ const v = "Other", M = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
|
|
|
28
28
|
isInvalid: r,
|
|
29
29
|
onBlur: E,
|
|
30
30
|
onFocus: b
|
|
31
|
-
},
|
|
31
|
+
}, I),
|
|
32
32
|
renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, N, R)
|
|
33
33
|
});
|
|
34
34
|
}, K = ({ children: e, className: t }) => {
|
|
@@ -55,18 +55,18 @@ const v = "Other", M = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
|
|
|
55
55
|
isOther: !0
|
|
56
56
|
}));
|
|
57
57
|
}, d = ({ children: e, className: t, ...n }) => {
|
|
58
|
-
var
|
|
59
|
-
const { value: l, label: h, isOther: p = !1, radioRef: O } = n, { value: m, options: E } = g(), b = u(e, d.Label), r = u(e, d.Input), c = u(e, d.Control), o = u(e, d.OtherInput), f = p ?
|
|
58
|
+
var _;
|
|
59
|
+
const { value: l, label: h, isOther: p = !1, radioRef: O } = n, { value: m, options: E } = g(), b = u(e, d.Label), r = u(e, d.Input), c = u(e, d.Control), o = u(e, d.OtherInput), f = p ? S(E, m) : m === l, C = (_ = r == null ? void 0 : r.props) == null ? void 0 : _.className;
|
|
60
60
|
return /* @__PURE__ */ a.createElement("div", {
|
|
61
61
|
className: t
|
|
62
|
-
}, /* @__PURE__ */ a.createElement(
|
|
62
|
+
}, /* @__PURE__ */ a.createElement(k, {
|
|
63
63
|
value: l
|
|
64
64
|
}, /* @__PURE__ */ a.createElement(G, {
|
|
65
65
|
ref: O,
|
|
66
66
|
className: C
|
|
67
|
-
}, ({ isSelected: s, isHovered:
|
|
67
|
+
}, ({ isSelected: s, isHovered: I, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, L(c, {
|
|
68
68
|
isSelected: s,
|
|
69
|
-
isHovered:
|
|
69
|
+
isHovered: I,
|
|
70
70
|
isFocused: R
|
|
71
71
|
}), L(b, {
|
|
72
72
|
label: h
|
|
@@ -77,16 +77,16 @@ const v = "Other", M = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
|
|
|
77
77
|
className: e
|
|
78
78
|
}, n);
|
|
79
79
|
}, W = (e) => null, X = ({ className: e }) => {
|
|
80
|
-
const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: h, otherInputCharacterLimit: p, disabled: O, readOnly: m, options: E } = g(), { t: b } = D(), r = F(null), c =
|
|
81
|
-
|
|
80
|
+
const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: h, otherInputCharacterLimit: p, disabled: O, readOnly: m, options: E } = g(), { t: b } = D(), r = F(null), c = S(E, t), o = l || b("add-other.default-other-option-label") || v, [f, C] = T(c && t ? J(t, l) : "");
|
|
81
|
+
B(() => {
|
|
82
82
|
var s;
|
|
83
83
|
c && r.current && ((s = r.current) == null || s.focus());
|
|
84
84
|
}, [
|
|
85
85
|
c
|
|
86
86
|
]);
|
|
87
|
-
const
|
|
88
|
-
let
|
|
89
|
-
s ?
|
|
87
|
+
const _ = H((s) => {
|
|
88
|
+
let I;
|
|
89
|
+
s ? I = `${l}: ${s}` : I = o, n(I), C(s);
|
|
90
90
|
}, [
|
|
91
91
|
n,
|
|
92
92
|
l,
|
|
@@ -95,7 +95,7 @@ const v = "Other", M = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
|
|
|
95
95
|
return /* @__PURE__ */ a.createElement(P, {
|
|
96
96
|
"aria-label": o,
|
|
97
97
|
value: f,
|
|
98
|
-
onChange:
|
|
98
|
+
onChange: _,
|
|
99
99
|
isDisabled: O,
|
|
100
100
|
isReadOnly: m
|
|
101
101
|
}, /* @__PURE__ */ a.createElement($, {
|
|
@@ -107,14 +107,14 @@ const v = "Other", M = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
|
|
|
107
107
|
};
|
|
108
108
|
d.Label = Q;
|
|
109
109
|
d.Input = W;
|
|
110
|
-
d.Control =
|
|
110
|
+
d.Control = w;
|
|
111
111
|
d.OtherInput = X;
|
|
112
|
-
i.Label =
|
|
112
|
+
i.Label = j;
|
|
113
113
|
i.Options = K;
|
|
114
114
|
i.Option = d;
|
|
115
115
|
i.Description = U;
|
|
116
|
-
i.Error =
|
|
117
|
-
const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f2_32", te = "_optionControl_1u9f2_50", oe = "_optionControlHover_1u9f2_72", ne = "_optionControlSelected_1u9f2_90", le = "_optionLabel_1u9f2_137",
|
|
116
|
+
i.Error = M;
|
|
117
|
+
const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f2_32", te = "_optionControl_1u9f2_50", oe = "_optionControlHover_1u9f2_72", ne = "_optionControlSelected_1u9f2_90", le = "_optionLabel_1u9f2_137", y = {
|
|
118
118
|
labelImage: Y,
|
|
119
119
|
option: Z,
|
|
120
120
|
optionInput: ee,
|
|
@@ -123,12 +123,12 @@ const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f
|
|
|
123
123
|
optionControlSelected: ne,
|
|
124
124
|
optionLabel: le
|
|
125
125
|
}, pe = {
|
|
126
|
-
base:
|
|
127
|
-
selected:
|
|
128
|
-
hover:
|
|
126
|
+
base: y.optionControl,
|
|
127
|
+
selected: y.optionControlSelected,
|
|
128
|
+
hover: y.optionControlHover
|
|
129
129
|
};
|
|
130
130
|
export {
|
|
131
131
|
pe as R,
|
|
132
132
|
i as a,
|
|
133
|
-
|
|
133
|
+
y as s
|
|
134
134
|
};
|
package/dist/component/{radio-group-field-rac-CXN7tyVu.js → radio-group-field-rac-DlMXhW_S.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
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-aK1SQcLG.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as r } from "./field-rac.module-
|
|
7
|
-
import {
|
|
6
|
+
import { s as r } from "./field-rac.module-ts2t4WUO.js";
|
|
7
|
+
import { U as i, aa as E, a5 as p, a6 as O, K as R, G as _, a7 as I } from "./form-GAuLAdjq.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-ByDw6j7c.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-CmxSw6bY.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
|
14
|
-
}),
|
|
14
|
+
}), G = () => {
|
|
15
15
|
const o = N({
|
|
16
16
|
globalClasses: I,
|
|
17
17
|
moduleClasses: n
|
|
@@ -41,5 +41,5 @@ const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
|
41
41
|
}, D));
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
G as R
|
|
45
45
|
};
|
package/dist/component/{rating-input-field-rac-DCXNZgf1.js → rating-input-field-rac-DUPJUAX2.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { RicosViewer as
|
|
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 {
|
|
5
|
-
import { RadioGroup as
|
|
6
|
-
import { f as E, a as
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
4
|
+
import { by as I, bv as v, bI as T, U as H, aa as M, a8 as w, K as B, G as P, a9 as G } from "./form-GAuLAdjq.js";
|
|
5
|
+
import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
|
+
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { D as z, E as K } from "./field-error-headless-DAc8FpKI.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-DxxwJtjh.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s as g } from "./field-rac.module-
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
10
|
+
import { s as g } from "./field-rac.module-ts2t4WUO.js";
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-ByDw6j7c.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
|
-
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((
|
|
13
|
+
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((y) => i(Number(y)), [
|
|
14
14
|
i
|
|
15
|
-
]),
|
|
15
|
+
]), f = E(a, t.Label), s = E(a, t.Ratings), S = E(a, t.Description), h = E(a, t.Error);
|
|
16
16
|
return /* @__PURE__ */ e.createElement(R, {
|
|
17
17
|
fieldId: n,
|
|
18
|
-
renderLabel: () =>
|
|
19
|
-
renderInput: () => /* @__PURE__ */ e.createElement(
|
|
18
|
+
renderLabel: () => f,
|
|
19
|
+
renderInput: () => /* @__PURE__ */ e.createElement(q, {
|
|
20
20
|
"aria-labelledby": _,
|
|
21
21
|
value: r ? String(r) : void 0,
|
|
22
22
|
onChange: L,
|
|
@@ -28,16 +28,16 @@ const t = ({ children: a }) => {
|
|
|
28
28
|
onFocus: C,
|
|
29
29
|
orientation: "horizontal"
|
|
30
30
|
}, s),
|
|
31
|
-
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h,
|
|
31
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, S)
|
|
32
32
|
});
|
|
33
|
-
},
|
|
34
|
-
const { value: i, readOnly: l, hasError: m } = I(), { inputId: d, ariaDescribedBy: c } = v(), [o, C] = O(), R = A(null), _ = E(a,
|
|
33
|
+
}, b = ({ children: a, className: n, getReactionLabel: r }) => {
|
|
34
|
+
const { value: i, readOnly: l, hasError: m } = I(), { inputId: d, ariaDescribedBy: c } = v(), [o, C] = O(), R = A(null), _ = E(a, b.Rating), L = [
|
|
35
35
|
"1",
|
|
36
36
|
"2",
|
|
37
37
|
"3",
|
|
38
38
|
"4",
|
|
39
39
|
"5"
|
|
40
|
-
],
|
|
40
|
+
], f = (s) => o && !l ? o >= s : !!i && i >= Number(s);
|
|
41
41
|
return /* @__PURE__ */ e.createElement("div", {
|
|
42
42
|
ref: R,
|
|
43
43
|
id: d,
|
|
@@ -45,14 +45,14 @@ const t = ({ children: a }) => {
|
|
|
45
45
|
className: n,
|
|
46
46
|
"data-invalid": m,
|
|
47
47
|
"data-readonly": l
|
|
48
|
-
}, L.map((s) =>
|
|
48
|
+
}, L.map((s) => U(_, {
|
|
49
49
|
key: s,
|
|
50
50
|
value: s,
|
|
51
|
-
isSelected:
|
|
52
|
-
onHoverChange: (
|
|
51
|
+
isSelected: f(s),
|
|
52
|
+
onHoverChange: (S) => C(S ? s : void 0),
|
|
53
53
|
label: r == null ? void 0 : r(Number(s))
|
|
54
54
|
})));
|
|
55
|
-
},
|
|
55
|
+
}, J = {
|
|
56
56
|
border: 0,
|
|
57
57
|
clipPath: "inset(50%)",
|
|
58
58
|
height: 1,
|
|
@@ -79,15 +79,15 @@ const t = ({ children: a }) => {
|
|
|
79
79
|
isHovered: c,
|
|
80
80
|
isFocused: o
|
|
81
81
|
}) : n, d ? /* @__PURE__ */ e.createElement("span", {
|
|
82
|
-
style:
|
|
82
|
+
style: J
|
|
83
83
|
}, d) : null)));
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
b.Rating = F;
|
|
86
86
|
t.Label = Q;
|
|
87
|
-
t.Ratings =
|
|
87
|
+
t.Ratings = b;
|
|
88
88
|
t.Rating = F;
|
|
89
|
-
t.Description =
|
|
90
|
-
t.Error =
|
|
89
|
+
t.Description = z;
|
|
90
|
+
t.Error = K;
|
|
91
91
|
const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
92
92
|
viewBox: "0 0 32 32",
|
|
93
93
|
width: 32,
|
|
@@ -103,7 +103,7 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
|
103
103
|
rating: Y,
|
|
104
104
|
ratingSelected: $,
|
|
105
105
|
ratingHover: V
|
|
106
|
-
}, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(
|
|
106
|
+
}, ee = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(D, {
|
|
107
107
|
content: a,
|
|
108
108
|
locale: n
|
|
109
109
|
}), te = {
|
|
@@ -112,7 +112,7 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
|
112
112
|
hover: p.ratingHover
|
|
113
113
|
}, Ee = () => {
|
|
114
114
|
const { t: a } = T(), n = j({
|
|
115
|
-
globalClasses:
|
|
115
|
+
globalClasses: G,
|
|
116
116
|
moduleClasses: te
|
|
117
117
|
});
|
|
118
118
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
package/dist/component/{rich-content-rac.module-B7rPwNns.js → rich-content-rac.module-C9bGXB69.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { by as a, bq as i, bI as T } from "./form-GAuLAdjq.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";
|
|
@@ -24,7 +24,7 @@ const O = ({ children: e }) => {
|
|
|
24
24
|
"data-hook": s
|
|
25
25
|
}, o);
|
|
26
26
|
};
|
|
27
|
-
function
|
|
27
|
+
function y(e, t) {
|
|
28
28
|
const [n, o] = u(!0);
|
|
29
29
|
function s() {
|
|
30
30
|
o((l) => !l);
|
|
@@ -38,12 +38,12 @@ function B(e, t) {
|
|
|
38
38
|
toggleTruncate: s
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
const C = "_richContent_1galb_1",
|
|
41
|
+
const C = "_richContent_1galb_1", B = {
|
|
42
42
|
richContent: C
|
|
43
43
|
};
|
|
44
44
|
export {
|
|
45
45
|
O as R,
|
|
46
46
|
p as T,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
B as s,
|
|
48
|
+
y as u
|
|
49
49
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { by as m, aL as i, at as u, b9 as R, bc as T } from "./form-GAuLAdjq.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-C9bGXB69.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
|
8
|
-
},
|
|
8
|
+
}, y = ({ truncate: t = !0 } = {}) => {
|
|
9
9
|
const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = C(a, t ? s : void 0);
|
|
10
|
-
return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11
|
-
className: l(
|
|
10
|
+
return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(i, {
|
|
11
|
+
className: l(u, g.richContent),
|
|
12
12
|
content: n,
|
|
13
13
|
customTheme: h
|
|
14
14
|
}), r && /* @__PURE__ */ e.createElement(p, {
|
|
@@ -17,5 +17,5 @@ const h = {
|
|
|
17
17
|
})));
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
y as R
|
|
21
21
|
};
|
package/dist/component/{service-dropdown-rac-B81LC_6_.js → service-dropdown-rac-PR_iLdmo.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import o, { useRef as
|
|
1
|
+
import o, { 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 {
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as u, u as
|
|
7
|
-
import { C as
|
|
4
|
+
import { bu as P, bI as A, F as y, by as M, bq as H, aA as U, U as V, aa as q, H as x, K as W, G as k } from "./form-GAuLAdjq.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DE-QaNDw.js";
|
|
6
|
+
import { D as u, u as G } from "./use-dropdown-trigger-class-name-CTt4Z67m.js";
|
|
7
|
+
import { C as K } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
10
|
-
import { s as i } from "./field-rac.module-
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
12
|
-
const
|
|
13
|
-
const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a =
|
|
10
|
+
import { s as i } from "./field-rac.module-ts2t4WUO.js";
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-CYkLlKBs.js";
|
|
12
|
+
const z = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
13
|
+
const { actions: t } = 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;
|
|
15
15
|
return ((s = e.options) == null ? void 0 : s.map((m) => m.id ?? "")) ?? [];
|
|
16
16
|
}, [
|
|
@@ -20,16 +20,16 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
20
20
|
{
|
|
21
21
|
value: c,
|
|
22
22
|
label: c,
|
|
23
|
-
id:
|
|
23
|
+
id: z
|
|
24
24
|
}
|
|
25
25
|
] : s, [
|
|
26
26
|
n,
|
|
27
27
|
c
|
|
28
|
-
]), { isLoading: f, options: l, isEmpty: h, shouldRender: I, setIsLoading: S, setOptions:
|
|
29
|
-
fieldType:
|
|
28
|
+
]), { isLoading: f, options: l, isEmpty: h, shouldRender: I, setIsLoading: S, setOptions: R, setIsEmpty: g, processOptions: F } = B({
|
|
29
|
+
fieldType: y.SERVICES_DROPDOWN,
|
|
30
30
|
isEditor: e.isEditor,
|
|
31
31
|
postProcessOptions: O
|
|
32
|
-
}),
|
|
32
|
+
}), L = C(async () => {
|
|
33
33
|
if (a.current && (t != null && t.fetchServices) && d.length > 0) {
|
|
34
34
|
a.current = !1, S(!0);
|
|
35
35
|
let s;
|
|
@@ -41,8 +41,8 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
41
41
|
console.error(m);
|
|
42
42
|
}
|
|
43
43
|
if (s) {
|
|
44
|
-
const m =
|
|
45
|
-
g(!n && m.length === 0),
|
|
44
|
+
const m = F(s);
|
|
45
|
+
g(!n && m.length === 0), R(m);
|
|
46
46
|
} else
|
|
47
47
|
a.current = !0;
|
|
48
48
|
S(!1);
|
|
@@ -50,13 +50,13 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
50
50
|
}, [
|
|
51
51
|
t,
|
|
52
52
|
d,
|
|
53
|
-
|
|
53
|
+
F,
|
|
54
54
|
n,
|
|
55
55
|
S,
|
|
56
|
-
|
|
56
|
+
R,
|
|
57
57
|
g
|
|
58
58
|
]);
|
|
59
|
-
|
|
59
|
+
b(() => {
|
|
60
60
|
if (!e.isEditor && l.length > 0) {
|
|
61
61
|
const s = n ? l.length - 1 : l.length;
|
|
62
62
|
g(s === 0);
|
|
@@ -67,12 +67,12 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
67
67
|
g,
|
|
68
68
|
e.isEditor
|
|
69
69
|
]);
|
|
70
|
-
const
|
|
71
|
-
e.onFocus && e.onFocus(), a.current &&
|
|
70
|
+
const N = C(() => {
|
|
71
|
+
e.onFocus && e.onFocus(), a.current && L();
|
|
72
72
|
}, [
|
|
73
|
-
|
|
73
|
+
L,
|
|
74
74
|
e.onFocus
|
|
75
|
-
]),
|
|
75
|
+
]), v = C(
|
|
76
76
|
(s) => {
|
|
77
77
|
e.onChange && e.onChange(s), a.current = !0;
|
|
78
78
|
},
|
|
@@ -85,12 +85,12 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
85
85
|
isLoading: f,
|
|
86
86
|
options: l,
|
|
87
87
|
isEmpty: h,
|
|
88
|
-
onFocus:
|
|
89
|
-
onChange:
|
|
88
|
+
onFocus: N,
|
|
89
|
+
onChange: v,
|
|
90
90
|
shouldRender: I
|
|
91
91
|
};
|
|
92
92
|
}, r = ({ children: e }) => {
|
|
93
|
-
const t =
|
|
93
|
+
const t = M(), { addOther: D } = t, n = H(), p = t.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: a, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = J({
|
|
94
94
|
...t,
|
|
95
95
|
isEditor: p
|
|
96
96
|
}), h = _(() => ({
|
|
@@ -106,7 +106,7 @@ const G = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
106
106
|
O,
|
|
107
107
|
f
|
|
108
108
|
]);
|
|
109
|
-
return !p && d && !D || !l ? null : /* @__PURE__ */ o.createElement(
|
|
109
|
+
return !p && d && !D || !l ? null : /* @__PURE__ */ o.createElement(U.Provider, {
|
|
110
110
|
value: {
|
|
111
111
|
v2: h
|
|
112
112
|
}
|
|
@@ -121,17 +121,17 @@ const X = ({ content: e, locale: t }) => /* @__PURE__ */ o.createElement(w, {
|
|
|
121
121
|
content: e,
|
|
122
122
|
locale: t
|
|
123
123
|
}), Z = () => {
|
|
124
|
-
const e =
|
|
124
|
+
const e = G(i.dropdownTrigger), t = j(Y);
|
|
125
125
|
return /* @__PURE__ */ o.createElement(r, null, /* @__PURE__ */ o.createElement(r.Label, {
|
|
126
|
-
className: E(
|
|
126
|
+
className: E(V, i.label)
|
|
127
127
|
}, /* @__PURE__ */ o.createElement(r.Label.Required, {
|
|
128
|
-
className: E(
|
|
128
|
+
className: E(q, i.requiredMark)
|
|
129
129
|
})), /* @__PURE__ */ o.createElement(r.Trigger, {
|
|
130
130
|
className: e
|
|
131
|
-
}, /* @__PURE__ */ o.createElement(
|
|
131
|
+
}, /* @__PURE__ */ o.createElement(K, {
|
|
132
132
|
className: i.dropdownIcon
|
|
133
133
|
})), /* @__PURE__ */ o.createElement(r.Options, {
|
|
134
|
-
className: E(
|
|
134
|
+
className: E(x, i.selectPopover, i.dropdownPopover)
|
|
135
135
|
}, /* @__PURE__ */ o.createElement(r.Options.Option, {
|
|
136
136
|
className: t
|
|
137
137
|
})), /* @__PURE__ */ o.createElement(r.Error, {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import e, { useEffect as
|
|
1
|
+
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R,
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, by as d, aA as D, U as F, aa as N, p as f, r as h, K as b, G as A, q as M } from "./form-GAuLAdjq.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DE-QaNDw.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CiobdaVa.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
-
import { C as P } from "./checkbox-indicator-module-classes-
|
|
9
|
-
import { s as n } from "./field-rac.module-
|
|
8
|
+
import { C as P } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
|
|
9
|
+
import { s as n } from "./field-rac.module-ts2t4WUO.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
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-ByDw6j7c.js";
|
|
12
|
+
import { u as y } from "./use-text-input-class-name-CmxSw6bY.js";
|
|
13
13
|
const k = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
16
16
|
fieldType: R.SERVICES_MULTI_CHOICE,
|
|
17
17
|
isEditor: s.isEditor
|
|
18
18
|
}), u = (C = s.options) == null ? void 0 : C.every((O) => O.label && O.id);
|
|
19
|
-
return
|
|
19
|
+
return I(() => {
|
|
20
20
|
if (u && s.options) {
|
|
21
21
|
c(s.options), m(s.options.length === 0), p(!0);
|
|
22
22
|
return;
|
|
@@ -34,7 +34,7 @@ const k = (s) => {
|
|
|
34
34
|
shouldRender: E
|
|
35
35
|
};
|
|
36
36
|
}, t = ({ children: s, className: o }) => {
|
|
37
|
-
const r = d(), { options: l, isEmpty: E, shouldRender: c } = k(r), m =
|
|
37
|
+
const r = d(), { options: l, isEmpty: E, shouldRender: c } = k(r), m = L(() => ({
|
|
38
38
|
...r,
|
|
39
39
|
options: l
|
|
40
40
|
}), [
|
|
@@ -53,14 +53,14 @@ t.Label = i.Label;
|
|
|
53
53
|
t.Options = i.Options;
|
|
54
54
|
t.Description = i.Description;
|
|
55
55
|
t.Error = i.Error;
|
|
56
|
-
const
|
|
56
|
+
const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
|
|
57
57
|
content: s,
|
|
58
58
|
locale: o
|
|
59
|
-
}),
|
|
59
|
+
}), U = () => {
|
|
60
60
|
const s = T({
|
|
61
|
-
globalClasses:
|
|
61
|
+
globalClasses: M,
|
|
62
62
|
moduleClasses: P
|
|
63
|
-
}), o =
|
|
63
|
+
}), o = y();
|
|
64
64
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
|
65
65
|
className: a(F, n.label)
|
|
66
66
|
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
@@ -72,15 +72,15 @@ const y = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
|
|
|
72
72
|
}, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
|
|
73
73
|
className: s
|
|
74
74
|
}), /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Label, {
|
|
75
|
-
className: a(
|
|
75
|
+
className: a(h, _.optionLabel)
|
|
76
76
|
})), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
|
|
77
77
|
inputClassName: o
|
|
78
78
|
}))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
79
|
-
className: a(
|
|
79
|
+
className: a(b, n.error)
|
|
80
80
|
}, /* @__PURE__ */ e.createElement(x, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|
|
81
|
-
className: a(
|
|
82
|
-
},
|
|
83
|
-
}, J = () => /* @__PURE__ */ e.createElement(
|
|
81
|
+
className: a(A, n.description)
|
|
82
|
+
}, B));
|
|
83
|
+
}, J = () => /* @__PURE__ */ e.createElement(U, null);
|
|
84
84
|
export {
|
|
85
85
|
J as ServicesMultiChoiceRAC
|
|
86
86
|
};
|