@wix/form-elements 1.168.0 → 1.170.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-BbXyKTd7.js → appointment-rac-DZ0SFXmL.js} +83 -83
- package/dist/component/{bookings-address-rac-VJkR_U9L.js → bookings-address-rac-BW9grc77.js} +1 -1
- package/dist/component/{bookings-email-rac-_EupwXpQ.js → bookings-email-rac-D8gMaAfB.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DTZixHYj.js → bookings-first-name-rac-CAjcs7b6.js} +1 -1
- package/dist/component/{bookings-header-rac-BKbKTv5g.js → bookings-header-rac-BhKZ1kku.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BDy860-C.js → bookings-last-name-rac-DpsMDuU0.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DgNP-YNZ.js → bookings-login-bar-rac-BVdWmKS8.js} +3 -3
- package/dist/component/{bookings-phone-rac-B_I6n96b.js → bookings-phone-rac-DsqNi2mI.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-prYPbIiz.js → bookings-rich-text-rac-elM4Ne3f.js} +1 -1
- package/dist/component/{checkbox-field-rac-C-4PXuxG.js → checkbox-field-rac-BU4E73fD.js} +43 -43
- package/dist/component/{checkbox-group-field-headless-D16bAcaq.js → checkbox-group-field-headless-6yJdIbP2.js} +41 -41
- package/dist/component/{checkbox-group-field-rac-GUQ5dO_s.js → checkbox-group-field-rac-CojbCWSF.js} +4 -4
- package/dist/component/{checkbox-group-rac-Bl6xL5-H.js → checkbox-group-rac-3qUVUc-C.js} +1 -1
- package/dist/component/{checkbox-rac-Blg0KVyP.js → checkbox-rac-DwbTapd_.js} +1 -1
- package/dist/component/{contacts-address-rac-BfOhCAj8.js → contacts-address-rac-BL7XDZuP.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DYBvDh62.js → contacts-birthdate-rac-DeJYIHAg.js} +1 -1
- package/dist/component/{contacts-company-rac-DIJr7zjA.js → contacts-company-rac-BeImf5uc.js} +1 -1
- package/dist/component/{contacts-email-rac-DjmqELhC.js → contacts-email-rac-CtacwrZ0.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DGNll7gw.js → contacts-first-name-rac-CAdOqOOA.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BJ8AZYQN.js → contacts-last-name-rac-Db9mHzCW.js} +1 -1
- package/dist/component/{contacts-phone-rac-BC-QtpEN.js → contacts-phone-rac-W0OLEbzL.js} +1 -1
- package/dist/component/{contacts-position-rac-BQia__74.js → contacts-position-rac-CV4Ibt4Z.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CTFptz01.js → contacts-subscribe-rac-CQ3Q1pjZ.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-Cy72Jouc.js → contacts-tax-id-rac-Dux-pk6r.js} +1 -1
- package/dist/component/{date-availability-BC6updcS.js → date-availability-RkX-Qw7G.js} +1 -1
- package/dist/component/date-input-field-rac-CYCT6qoa.js +309 -0
- package/dist/component/{date-input-rac-KkRyWRP_.js → date-input-rac-BkYZ7q_o.js} +1 -1
- package/dist/component/{date-picker-field-rac-BLWVJbTJ.js → date-picker-field-rac-eMidYtsl.js} +31 -31
- package/dist/component/{date-picker-rac-DKCQza7v.js → date-picker-rac-D23rxZcF.js} +1 -1
- package/dist/component/{date-time-input-field-rac-CZxZW6fz.js → date-time-input-field-rac-BjIj4dXQ.js} +111 -111
- package/dist/component/{date-time-input-rac-DQ-iBwmr.js → date-time-input-rac-BSGAdk9L.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-kp1Jbwt-.js → dext-checkbox-group-rac-Xmb5IKrb.js} +2 -2
- package/dist/component/{dext-checkbox-rac-CBm9cRUz.js → dext-checkbox-rac-2eA7y0ld.js} +1 -1
- package/dist/component/{dext-date-picker-rac-DsVKWsRy.js → dext-date-picker-rac-CmLxVGGT.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CO26-8Qo.js → dext-date-time-input-rac-Cd9nwSjb.js} +1 -1
- package/dist/component/{dext-dropdown-rac-eRzu2C-y.js → dext-dropdown-rac-BKdQ0nGS.js} +1 -1
- package/dist/component/{dext-email-rac-DDrZzE_G.js → dext-email-rac-07zDPxyf.js} +1 -1
- package/dist/component/{dext-number-input-rac-Dj7sInLk.js → dext-number-input-rac-DRvGuppY.js} +1 -1
- package/dist/component/{dext-phone-rac-g8M77F7m.js → dext-phone-rac-CKtTVjFg.js} +1 -1
- package/dist/component/{dext-radio-group-rac-BjhygC0R.js → dext-radio-group-rac-BsBmMufq.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BraNjvyA.js → dext-rating-input-rac-CcFSTAIh.js} +1 -1
- package/dist/component/{dext-tags-rac-B5mAIuDi.js → dext-tags-rac-CCTDlCvX.js} +2 -2
- package/dist/component/{dext-text-area-rac-D_YBnaWi.js → dext-text-area-rac-Cif8po9h.js} +1 -1
- package/dist/component/{dext-text-input-rac-BzeWH1jv.js → dext-text-input-rac-2118X4iF.js} +1 -1
- package/dist/component/{dext-url-input-rac-Cn0h_vx3.js → dext-url-input-rac-DDImGkQe.js} +1 -1
- package/dist/component/{donation-rac-CQRdHxWh.js → donation-rac-Dnylss1d.js} +103 -103
- package/dist/component/{dropdown-field-rac-C7LL0W5Z.js → dropdown-field-rac-DDI4ZgZH.js} +3 -3
- package/dist/component/{dropdown-rac-Nb2VyJ0x.js → dropdown-rac-DX0Z3R_8.js} +1 -1
- package/dist/component/{ecom-address-rac-_c2YIIwg.js → ecom-address-rac-D9MeEQsk.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Bma7TAVj.js → ecom-subscription-checkbox-rac-DKJ9j5dj.js} +2 -2
- package/dist/component/{email-input-field-rac-2E2tEaS5.js → email-input-field-rac-DaKrmlwe.js} +55 -55
- package/dist/component/{events-repeater-rac-COWHYBFD.js → events-repeater-rac-DWrOLT0Y.js} +45 -45
- package/dist/component/{events-rsvp-rac-CXp8j19Y.js → events-rsvp-rac-YBTR1tR0.js} +6 -6
- package/dist/component/{field-error-headless-S-ugOQQX.js → field-error-headless-jksFrezt.js} +10 -10
- package/dist/component/{field-label-headless-_n4I0_tX.js → field-label-headless-BBvJAVxI.js} +10 -10
- package/dist/component/{file-upload-rac-DCH_iwDg.js → file-upload-rac-CgdmfUZG.js} +168 -168
- package/dist/component/{fixed-payment-rac-CYkKJUfM.js → fixed-payment-rac-v6rKwzFs.js} +13 -13
- package/dist/component/{form-jK8ezTss.js → form-BsiK682r.js} +530 -502
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DnbjI6W5.js → header-field-rac-BuXybl7K.js} +6 -6
- package/dist/component/{header-rac-DKUICrni.js → header-rac-CDyaLosW.js} +1 -1
- package/dist/component/{image-choice-rac-B_9ponST.js → image-choice-rac-BRlMroBw.js} +41 -41
- package/dist/component/{index-BxdMzOvN.js → index-BanOeCAF.js} +242 -236
- package/dist/component/{index-ZYnsxY-a.js → index-y9URYGEE.js} +6 -6
- package/dist/component/{isObjectLike-BW-9QEQl.js → isObjectLike-BG9nJ-rx.js} +7 -7
- package/dist/component/{multiline-address-field-rac-k-P0ijWG.js → multiline-address-field-rac-DRAkxI1l.js} +342 -342
- package/dist/component/{multiline-address-rac-Bbn9mNDa.js → multiline-address-rac-JjTzWsEb.js} +1 -1
- package/dist/component/{number-input-field-rac--lom-B_X.js → number-input-field-rac-QrouG7Hv.js} +22 -22
- package/dist/component/{number-input-rac-Bhbd6T9S.js → number-input-rac-DGmE7cLv.js} +1 -1
- package/dist/component/{password-rac-BV_uTHb3.js → password-rac-DeyY228m.js} +28 -28
- package/dist/component/{payment-input-rac-cawyGN_t.js → payment-input-rac-DmIennLi.js} +45 -45
- package/dist/component/{phone-input-field-rac-CsElHRto.js → phone-input-field-rac-F7e74TGA.js} +76 -76
- package/dist/component/{phone-rac-XrHN5Nko.js → phone-rac-CQfB2CQD.js} +1 -1
- package/dist/component/{product-list-rac-cxv_xz7K.js → product-list-rac--GGG8vvO.js} +62 -62
- package/dist/component/{quiz-radio-group-rac-DGaxOPE1.js → quiz-radio-group-rac-DF2C2vNq.js} +1 -1
- package/dist/component/{radio-button-module-classes-Xv2Jn01x.js → radio-button-module-classes-DmpNo6F2.js} +17 -17
- package/dist/component/{radio-group-field-rac-DgGqgTql.js → radio-group-field-rac-BGcPYfKO.js} +6 -6
- package/dist/component/{radio-group-rac-Bh0E-oe1.js → radio-group-rac-CqysUMCE.js} +1 -1
- package/dist/component/{rating-input-field-rac-C3YLV971.js → rating-input-field-rac-D-ei917Y.js} +24 -24
- package/dist/component/{rating-input-rac-CfcC5EUh.js → rating-input-rac-a9zJ74fw.js} +1 -1
- package/dist/component/{rich-content-rac.module-DUjzLGtX.js → rich-content-rac.module-CvyLVlXL.js} +5 -5
- package/dist/component/{rich-text-field-rac-BmguoJhk.js → rich-text-field-rac-vf19nvyw.js} +7 -7
- package/dist/component/{rich-text-rac-BWhHcq25.js → rich-text-rac-Cx_wpoxC.js} +1 -1
- package/dist/component/{service-dropdown-rac-C5oX-ql7.js → service-dropdown-rac-DITzKQxd.js} +26 -26
- package/dist/component/{services-multi-choice-rac-C1fem9NB.js → services-multi-choice-rac-BtisN0Aq.js} +11 -11
- package/dist/component/{signature-rac-BtHqiWj1.js → signature-rac-DUeIoS5O.js} +226 -226
- package/dist/component/{submit-button-rac-OYeKJFF8.js → submit-button-rac-C8h6zeTw.js} +36 -36
- package/dist/component/{tags-field-rac-kA2RSijL.js → tags-field-rac-CjFuiB0n.js} +51 -51
- package/dist/component/{tags-rac-B_2qCZGu.js → tags-rac-BO7rwyLl.js} +1 -1
- package/dist/component/{text-area-field-rac-DeO609Mv.js → text-area-field-rac-CgUx3nQ0.js} +23 -23
- package/dist/component/{text-area-rac-BAQFBOZd.js → text-area-rac-WgXYXIaf.js} +1 -1
- package/dist/component/{text-input-field-rac-CCcKwuLZ.js → text-input-field-rac-DaxWFha-.js} +6 -6
- package/dist/component/{text-input-headless-D8-jkaYm.js → text-input-headless-hjuRJTZN.js} +6 -6
- package/dist/component/{text-input-rac-BVcgjj8g.js → text-input-rac-BzumrJBj.js} +1 -1
- package/dist/component/{time-input-rac-BYctyHgU.js → time-input-rac-2FEkpQ7M.js} +18 -18
- package/dist/component/{url-input-field-rac-COC9qgcs.js → url-input-field-rac-BZ9f8D8I.js} +26 -26
- package/dist/component/{url-input-rac-BZXLh0Ej.js → url-input-rac-D-AVlxkD.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BTltqRl1.js → use-dropdown-option-class-name-DwAAtzgX.js} +11 -11
- package/dist/component/{use-dropdown-trigger-class-name-BjJZfl3i.js → use-dropdown-trigger-class-name-D-6n9YVG.js} +18 -18
- package/dist/component/{use-element-state-class-name-CkT6Ga8t.js → use-element-state-class-name-C5auxwhj.js} +3 -3
- package/dist/component/{use-hoverable-input-class-name-BkoSr6tr.js → use-hoverable-input-class-name-Nd2jqfz4.js} +2 -2
- package/dist/component/use-is-forced-open-dropdown-CKaHhCqp.js +64 -0
- package/dist/component/{use-service-options-base-Wp8RZ4Z8.js → use-service-options-base-CvluFheT.js} +3 -3
- package/dist/component/use-text-input-class-name-DGTlYJxC.js +6 -0
- package/dist/form.d.ts +19 -0
- package/package.json +2 -2
- package/dist/component/date-input-field-rac-b_T1yf8D.js +0 -309
- package/dist/component/use-is-forced-open-dropdown-fo_NCnSk.js +0 -53
- package/dist/component/use-text-input-class-name-DS7i03Gk.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { u as g, R as p, s as
|
|
5
|
-
const
|
|
3
|
+
import { bK as u, bm as i, bl as C, bo as R, aX as T, aF as d } from "./form-BsiK682r.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-CvyLVlXL.js";
|
|
5
|
+
const f = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
8
8
|
customStyles: {
|
|
@@ -11,14 +11,14 @@ const H = ({ truncate: t = !0 } = {}) => {
|
|
|
11
11
|
}
|
|
12
12
|
}), []), { displayedContent: o, isTruncated: r, isTruncateButtonShown: c, toggleTruncate: l } = g(a, t ? s : void 0);
|
|
13
13
|
return /* @__PURE__ */ e.createElement(p, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(T, {
|
|
14
|
-
className: m(d,
|
|
14
|
+
className: m(d, S.richContent),
|
|
15
15
|
content: o,
|
|
16
16
|
customTheme: n
|
|
17
|
-
}), c && /* @__PURE__ */ e.createElement(
|
|
17
|
+
}), c && /* @__PURE__ */ e.createElement(h, {
|
|
18
18
|
isTruncated: r,
|
|
19
19
|
onClick: l
|
|
20
20
|
})));
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
|
-
H
|
|
23
|
+
f as H
|
|
24
24
|
};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import e, { useMemo as
|
|
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
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { CheckboxGroup as
|
|
3
|
+
import u from "classnames";
|
|
4
|
+
import { bK as b, bH as x, bM as P, bD as j, X as B, al as q, T as U, V, M as w, I as K, U as z, f } from "./form-BsiK682r.js";
|
|
5
|
+
import { CheckboxGroup as Q, CheckboxField as X, CheckboxButton as Y } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as
|
|
8
|
-
import { D as
|
|
7
|
+
import { L as $, g as J } from "./field-label-headless-BBvJAVxI.js";
|
|
8
|
+
import { D as W, E as Z } from "./field-error-headless-jksFrezt.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-ts2t4WUO.js";
|
|
12
|
-
import { u as ae } from "./use-element-state-class-name-
|
|
12
|
+
import { u as ae } from "./use-element-state-class-name-C5auxwhj.js";
|
|
13
13
|
const a = ({ children: t, className: n }) => {
|
|
14
|
-
const { id: s, value: o, onChange: i, disabled: l, readOnly: r, required: c, onBlur:
|
|
14
|
+
const { id: s, value: o, onChange: i, disabled: l, readOnly: r, required: c, onBlur: I, onFocus: p, hasError: g, FieldLayout: C } = b(), { inputId: L, labelId: _, ariaDescribedBy: R } = x(), D = m(t, a.Label), S = m(t, a.Options), A = m(t, a.Description), M = m(t, a.Error), h = y(() => o || [], [
|
|
15
15
|
o
|
|
16
|
-
]), v = T((
|
|
17
|
-
i == null || i(
|
|
16
|
+
]), v = T((H) => {
|
|
17
|
+
i == null || i(H);
|
|
18
18
|
}, [
|
|
19
19
|
i
|
|
20
20
|
]);
|
|
21
21
|
return /* @__PURE__ */ e.createElement(C, {
|
|
22
22
|
fieldId: s,
|
|
23
|
-
renderLabel: () =>
|
|
23
|
+
renderLabel: () => D,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ e.createElement(ee, {
|
|
25
25
|
id: L,
|
|
26
26
|
ariaLabelledBy: _,
|
|
27
|
-
ariaDescribedBy:
|
|
27
|
+
ariaDescribedBy: R,
|
|
28
28
|
required: c,
|
|
29
|
-
onBlur:
|
|
29
|
+
onBlur: I,
|
|
30
30
|
onFocus: p
|
|
31
|
-
}, /* @__PURE__ */ e.createElement(
|
|
31
|
+
}, /* @__PURE__ */ e.createElement(Q, {
|
|
32
32
|
className: n,
|
|
33
33
|
"aria-labelledby": _,
|
|
34
|
-
value:
|
|
34
|
+
value: h,
|
|
35
35
|
onChange: v,
|
|
36
36
|
isDisabled: l,
|
|
37
37
|
isReadOnly: r,
|
|
38
38
|
isRequired: c,
|
|
39
39
|
isInvalid: g
|
|
40
|
-
},
|
|
41
|
-
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
40
|
+
}, S)),
|
|
41
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, M, A)
|
|
42
42
|
});
|
|
43
|
-
},
|
|
44
|
-
const { id: s, options: o, numberOfColumns: i } = b(), l = m(t,
|
|
43
|
+
}, N = ({ children: t, className: n }) => {
|
|
44
|
+
const { id: s, options: o, numberOfColumns: i } = b(), l = m(t, N.Option);
|
|
45
45
|
return /* @__PURE__ */ e.createElement("div", {
|
|
46
46
|
className: n,
|
|
47
47
|
"data-columns": i
|
|
@@ -55,8 +55,8 @@ const a = ({ children: t, className: n }) => {
|
|
|
55
55
|
"aria-hidden": "true",
|
|
56
56
|
className: t
|
|
57
57
|
}), ne = ({ className: t, ...n }) => {
|
|
58
|
-
var
|
|
59
|
-
const { option: s } = n, { choiceImageResize: o, choiceImageAlignment: i } = b(), l = (
|
|
58
|
+
var I, p;
|
|
59
|
+
const { option: s } = n, { choiceImageResize: o, choiceImageAlignment: i } = b(), l = (I = s.media) == null ? void 0 : I.image, r = l && J(l, l.width, l.height);
|
|
60
60
|
if (!l || !r)
|
|
61
61
|
return /* @__PURE__ */ e.createElement("div", {
|
|
62
62
|
className: t,
|
|
@@ -78,7 +78,7 @@ const a = ({ children: t, className: n }) => {
|
|
|
78
78
|
className: t
|
|
79
79
|
}, s.label);
|
|
80
80
|
}, d = ({ children: t, className: n, ...s }) => {
|
|
81
|
-
const { option: o, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError:
|
|
81
|
+
const { option: o, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError: I } = b(), p = G(null);
|
|
82
82
|
P(() => {
|
|
83
83
|
var _;
|
|
84
84
|
i && ((_ = p.current) == null || _.focus({
|
|
@@ -86,12 +86,12 @@ const a = ({ children: t, className: n }) => {
|
|
|
86
86
|
}));
|
|
87
87
|
}, l);
|
|
88
88
|
const g = m(t, d.Input), C = m(t, d.Image), L = m(t, d.Label);
|
|
89
|
-
return /* @__PURE__ */ e.createElement(
|
|
89
|
+
return /* @__PURE__ */ e.createElement(X, {
|
|
90
90
|
value: o.label,
|
|
91
91
|
isDisabled: r,
|
|
92
92
|
isReadOnly: c,
|
|
93
|
-
isInvalid:
|
|
94
|
-
}, /* @__PURE__ */ e.createElement(
|
|
93
|
+
isInvalid: I
|
|
94
|
+
}, /* @__PURE__ */ e.createElement(Y, {
|
|
95
95
|
ref: p,
|
|
96
96
|
"aria-label": o.isLabelHidden ? o.label : void 0,
|
|
97
97
|
className: n,
|
|
@@ -105,10 +105,10 @@ const a = ({ children: t, className: n }) => {
|
|
|
105
105
|
d.Input = oe;
|
|
106
106
|
d.Image = ne;
|
|
107
107
|
d.Label = se;
|
|
108
|
-
a.Label =
|
|
109
|
-
a.Options =
|
|
110
|
-
|
|
111
|
-
a.Description =
|
|
108
|
+
a.Label = $;
|
|
109
|
+
a.Options = N;
|
|
110
|
+
N.Option = d;
|
|
111
|
+
a.Description = W;
|
|
112
112
|
a.Error = Z;
|
|
113
113
|
const le = "_options_a5g3j_1", ie = "_optionInput_a5g3j_33", re = "_option_a5g3j_1", ce = "_optionHover_a5g3j_67", me = "_optionSelected_a5g3j_67", pe = "_optionLabel_a5g3j_107", Ee = "_optionImage_a5g3j_147", E = {
|
|
114
114
|
options: le,
|
|
@@ -121,35 +121,35 @@ const le = "_options_a5g3j_1", ie = "_optionInput_a5g3j_33", re = "_option_a5g3j
|
|
|
121
121
|
}, de = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(k, {
|
|
122
122
|
content: t,
|
|
123
123
|
locale: n
|
|
124
|
-
}),
|
|
124
|
+
}), Ie = {
|
|
125
125
|
base: E.option,
|
|
126
126
|
selected: E.optionSelected,
|
|
127
127
|
hover: E.optionHover
|
|
128
|
-
},
|
|
128
|
+
}, ue = () => {
|
|
129
129
|
const t = ae({
|
|
130
|
-
globalClasses:
|
|
131
|
-
moduleClasses:
|
|
130
|
+
globalClasses: z,
|
|
131
|
+
moduleClasses: Ie
|
|
132
132
|
}), n = j(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
|
|
133
133
|
return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
|
|
134
|
-
className:
|
|
134
|
+
className: u(B, O.label)
|
|
135
135
|
}, /* @__PURE__ */ e.createElement(a.Label.Required, {
|
|
136
|
-
className:
|
|
136
|
+
className: u(q, O.requiredMark)
|
|
137
137
|
})), /* @__PURE__ */ e.createElement(a.Options, {
|
|
138
|
-
className:
|
|
138
|
+
className: u(U, E.options)
|
|
139
139
|
}, /* @__PURE__ */ e.createElement(a.Options.Option, {
|
|
140
140
|
className: t
|
|
141
141
|
}, /* @__PURE__ */ e.createElement(a.Options.Option.Input, {
|
|
142
142
|
className: E.optionInput
|
|
143
143
|
}), /* @__PURE__ */ e.createElement(a.Options.Option.Image, {
|
|
144
|
-
className:
|
|
144
|
+
className: u(V, E.optionImage, n)
|
|
145
145
|
}), /* @__PURE__ */ e.createElement(a.Options.Option.Label, {
|
|
146
146
|
className: E.optionLabel
|
|
147
147
|
}))), /* @__PURE__ */ e.createElement(a.Error, {
|
|
148
|
-
className:
|
|
148
|
+
className: u(w, O.error)
|
|
149
149
|
}, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
|
|
150
|
-
className:
|
|
150
|
+
className: u(K, O.description)
|
|
151
151
|
}, de));
|
|
152
|
-
},
|
|
152
|
+
}, Ae = () => /* @__PURE__ */ e.createElement(ue, null);
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
Ae as ImageChoiceRAC
|
|
155
155
|
};
|