@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
package/dist/component/{bookings-login-bar-rac-DrA-5tBH.js → bookings-login-bar-rac-B3TRivWU.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "react";
|
|
2
2
|
import E from "classnames";
|
|
3
|
-
import {
|
|
3
|
+
import { by as d, bI as b, bq as f, bu as x, T as p } from "./form-GAuLAdjq.js";
|
|
4
4
|
import { Button as L } from "react-aria-components";
|
|
5
5
|
import { a as m, f as g } from "./find-child-C60k4CxG.js";
|
|
6
6
|
const l = ({ children: n }) => {
|
|
@@ -44,11 +44,11 @@ const l = ({ children: n }) => {
|
|
|
44
44
|
l.LoginBar = _;
|
|
45
45
|
l.Text = N;
|
|
46
46
|
l.Button = F;
|
|
47
|
-
const T = "_container_1ixk2_1", C = "_text_1ixk2_34",
|
|
47
|
+
const T = "_container_1ixk2_1", C = "_text_1ixk2_34", I = "_button_1ixk2_39", u = {
|
|
48
48
|
container: T,
|
|
49
49
|
text: C,
|
|
50
|
-
button:
|
|
51
|
-
},
|
|
50
|
+
button: I
|
|
51
|
+
}, k = () => {
|
|
52
52
|
const { userData: n, language: r } = f(), { actions: t } = x();
|
|
53
53
|
return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(l.LoginBar, {
|
|
54
54
|
email: n == null ? void 0 : n.email,
|
|
@@ -67,7 +67,7 @@ const T = "_container_1ixk2_1", C = "_text_1ixk2_34", k = "_button_1ixk2_39", u
|
|
|
67
67
|
}), /* @__PURE__ */ o.createElement(l.Button, {
|
|
68
68
|
className: u.button
|
|
69
69
|
})));
|
|
70
|
-
}, P = () => /* @__PURE__ */ o.createElement(
|
|
70
|
+
}, P = () => /* @__PURE__ */ o.createElement(k, null);
|
|
71
71
|
export {
|
|
72
72
|
P as BookingsLoginBarRAC
|
|
73
73
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _(n) {
|
|
2
2
|
try {
|
|
3
|
-
const e = new Intl.Locale(
|
|
3
|
+
const e = new Intl.Locale(n);
|
|
4
4
|
if (typeof e.getWeekInfo == "function") {
|
|
5
|
-
const
|
|
6
|
-
if (
|
|
7
|
-
return
|
|
5
|
+
const t = e.getWeekInfo().firstDay;
|
|
6
|
+
if (t !== void 0)
|
|
7
|
+
return t === 7 ? 0 : t;
|
|
8
8
|
}
|
|
9
|
-
return c(
|
|
9
|
+
return c(n);
|
|
10
10
|
} catch {
|
|
11
|
-
return c(
|
|
11
|
+
return c(n);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
const o = [
|
|
@@ -83,9 +83,9 @@ const o = [
|
|
|
83
83
|
"YE",
|
|
84
84
|
"ZA",
|
|
85
85
|
"ZW"
|
|
86
|
-
], S = [
|
|
87
|
-
"ar"
|
|
88
86
|
], i = [
|
|
87
|
+
"ar"
|
|
88
|
+
], u = [
|
|
89
89
|
"en",
|
|
90
90
|
"he",
|
|
91
91
|
"hi",
|
|
@@ -96,16 +96,16 @@ const o = [
|
|
|
96
96
|
"tl",
|
|
97
97
|
"th"
|
|
98
98
|
];
|
|
99
|
-
function c(
|
|
100
|
-
var e,
|
|
99
|
+
function c(n) {
|
|
100
|
+
var e, t;
|
|
101
101
|
try {
|
|
102
|
-
const a = new Intl.Locale(
|
|
102
|
+
const a = new Intl.Locale(n), r = (e = a.language) == null ? void 0 : e.toLowerCase(), A = (t = a.region) == null ? void 0 : t.toUpperCase();
|
|
103
103
|
if (A)
|
|
104
104
|
return T.includes(A) ? 0 : o.includes(A) ? 6 : 1;
|
|
105
105
|
if (r) {
|
|
106
|
-
if (
|
|
106
|
+
if (u.includes(r))
|
|
107
107
|
return 0;
|
|
108
|
-
if (
|
|
108
|
+
if (i.includes(r))
|
|
109
109
|
return 6;
|
|
110
110
|
}
|
|
111
111
|
return 1;
|
|
@@ -113,11 +113,11 @@ function c(t) {
|
|
|
113
113
|
return 1;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
day:
|
|
118
|
-
dayNumber:
|
|
116
|
+
const S = "_day_12uyq_1", s = "_dayNumber_12uyq_6 _textOnFill_vf5u1_7", D = {
|
|
117
|
+
day: S,
|
|
118
|
+
dayNumber: s
|
|
119
119
|
};
|
|
120
120
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
D as c,
|
|
122
|
+
_ as g
|
|
123
123
|
};
|
|
@@ -2,16 +2,16 @@ import { RicosViewer as Xn } from "@wix/ricos/viewer";
|
|
|
2
2
|
import U from "classnames";
|
|
3
3
|
import b, { useMemo as $n, useRef as Jn, useCallback as Yn } from "react";
|
|
4
4
|
import { CheckboxField as Qn, CheckboxButton as Zn } from "react-aria-components";
|
|
5
|
-
import {
|
|
5
|
+
import { b6 as ei, by as Zr, aQ as Qr, aP as fn, bI as ri, bq as ti, be as ai, bv as ni, bA as ii, o as si, aa as oi, t as ui, aL as ci, K as fi, G as li, s as _i } from "./form-GAuLAdjq.js";
|
|
6
6
|
import { f as W, a as vi } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as hi, E as pi } from "./field-error-headless-
|
|
7
|
+
import { D as hi, E as pi } from "./field-error-headless-DAc8FpKI.js";
|
|
8
8
|
import { Node_Type as di } from "@wix/ricos/schema";
|
|
9
|
-
import { c as re, r as $, e as S, a as J, d as yi, b as bi } from "./isObjectLike-
|
|
9
|
+
import { c as re, r as $, e as S, a as J, d as yi, b as bi } from "./isObjectLike-m2dqIREj.js";
|
|
10
10
|
import { S as gi } from "./selection-indicator-XQ8MYHUQ.js";
|
|
11
11
|
import { E as qi } from "./error-icon-hZxQ6DEy.js";
|
|
12
|
-
import { C as Ci } from "./checkbox-indicator-module-classes-
|
|
13
|
-
import { s as oe } from "./field-rac.module-
|
|
14
|
-
import { u as Ai } from "./use-element-state-class-name-
|
|
12
|
+
import { C as Ci } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
|
|
13
|
+
import { s as oe } from "./field-rac.module-ts2t4WUO.js";
|
|
14
|
+
import { u as Ai } from "./use-element-state-class-name-ByDw6j7c.js";
|
|
15
15
|
var ue, dt;
|
|
16
16
|
function mi() {
|
|
17
17
|
if (dt) return ue;
|
|
@@ -162,7 +162,7 @@ function xi() {
|
|
|
162
162
|
return Ce = r, Ce;
|
|
163
163
|
}
|
|
164
164
|
var Ae, Ot;
|
|
165
|
-
function
|
|
165
|
+
function Pi() {
|
|
166
166
|
if (Ot) return Ae;
|
|
167
167
|
Ot = 1;
|
|
168
168
|
var e = xi(), r = (function() {
|
|
@@ -195,10 +195,10 @@ function vn() {
|
|
|
195
195
|
return me = t, me;
|
|
196
196
|
}
|
|
197
197
|
var Ie, xt;
|
|
198
|
-
function
|
|
198
|
+
function wi() {
|
|
199
199
|
if (xt) return Ie;
|
|
200
200
|
xt = 1;
|
|
201
|
-
var e = _n(), r =
|
|
201
|
+
var e = _n(), r = Pi(), t = $(), a = vn(), n = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, o = Object.prototype, u = s.toString, c = o.hasOwnProperty, v = RegExp(
|
|
202
202
|
"^" + u.call(c).replace(n, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
203
203
|
);
|
|
204
204
|
function _(p) {
|
|
@@ -209,20 +209,20 @@ function Pi() {
|
|
|
209
209
|
}
|
|
210
210
|
return Ie = _, Ie;
|
|
211
211
|
}
|
|
212
|
-
var Te,
|
|
212
|
+
var Te, Pt;
|
|
213
213
|
function Li() {
|
|
214
|
-
if (
|
|
215
|
-
|
|
214
|
+
if (Pt) return Te;
|
|
215
|
+
Pt = 1;
|
|
216
216
|
function e(r, t) {
|
|
217
217
|
return r == null ? void 0 : r[t];
|
|
218
218
|
}
|
|
219
219
|
return Te = e, Te;
|
|
220
220
|
}
|
|
221
|
-
var Re,
|
|
221
|
+
var Re, wt;
|
|
222
222
|
function L() {
|
|
223
|
-
if (
|
|
224
|
-
|
|
225
|
-
var e =
|
|
223
|
+
if (wt) return Re;
|
|
224
|
+
wt = 1;
|
|
225
|
+
var e = wi(), r = Li();
|
|
226
226
|
function t(a, n) {
|
|
227
227
|
var i = r(a, n);
|
|
228
228
|
return e(i) ? i : void 0;
|
|
@@ -289,20 +289,20 @@ function Bi() {
|
|
|
289
289
|
}
|
|
290
290
|
return xe = a, xe;
|
|
291
291
|
}
|
|
292
|
-
var
|
|
292
|
+
var Pe, Nt;
|
|
293
293
|
function ki() {
|
|
294
|
-
if (Nt) return
|
|
294
|
+
if (Nt) return Pe;
|
|
295
295
|
Nt = 1;
|
|
296
296
|
var e = ne(), r = "__lodash_hash_undefined__";
|
|
297
297
|
function t(a, n) {
|
|
298
298
|
var i = this.__data__;
|
|
299
299
|
return this.size += this.has(a) ? 0 : 1, i[a] = e && n === void 0 ? r : n, this;
|
|
300
300
|
}
|
|
301
|
-
return
|
|
301
|
+
return Pe = t, Pe;
|
|
302
302
|
}
|
|
303
|
-
var
|
|
303
|
+
var we, Gt;
|
|
304
304
|
function Ni() {
|
|
305
|
-
if (Gt) return
|
|
305
|
+
if (Gt) return we;
|
|
306
306
|
Gt = 1;
|
|
307
307
|
var e = Fi(), r = Mi(), t = Ki(), a = Bi(), n = ki();
|
|
308
308
|
function i(s) {
|
|
@@ -312,7 +312,7 @@ function Ni() {
|
|
|
312
312
|
this.set(c[0], c[1]);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
return i.prototype.clear = e, i.prototype.delete = r, i.prototype.get = t, i.prototype.has = a, i.prototype.set = n,
|
|
315
|
+
return i.prototype.clear = e, i.prototype.delete = r, i.prototype.get = t, i.prototype.has = a, i.prototype.set = n, we = i, we;
|
|
316
316
|
}
|
|
317
317
|
var Le, Ut;
|
|
318
318
|
function Gi() {
|
|
@@ -819,20 +819,20 @@ function ot() {
|
|
|
819
819
|
} : r;
|
|
820
820
|
return Cr = i, Cr;
|
|
821
821
|
}
|
|
822
|
-
var Ar,
|
|
822
|
+
var Ar, Pa;
|
|
823
823
|
function ps() {
|
|
824
|
-
if (
|
|
825
|
-
|
|
824
|
+
if (Pa) return Ar;
|
|
825
|
+
Pa = 1;
|
|
826
826
|
var e = se(), r = ot();
|
|
827
827
|
function t(a, n) {
|
|
828
828
|
return e(a, r(a), n);
|
|
829
829
|
}
|
|
830
830
|
return Ar = t, Ar;
|
|
831
831
|
}
|
|
832
|
-
var mr,
|
|
832
|
+
var mr, wa;
|
|
833
833
|
function An() {
|
|
834
|
-
if (
|
|
835
|
-
|
|
834
|
+
if (wa) return mr;
|
|
835
|
+
wa = 1;
|
|
836
836
|
function e(r, t) {
|
|
837
837
|
for (var a = -1, n = t.length, i = r.length; ++a < n; )
|
|
838
838
|
r[i + a] = t[a];
|
|
@@ -920,16 +920,16 @@ function Cs() {
|
|
|
920
920
|
var e = L(), r = S(), t = e(r, "Set");
|
|
921
921
|
return xr = t, xr;
|
|
922
922
|
}
|
|
923
|
-
var
|
|
923
|
+
var Pr, Ha;
|
|
924
924
|
function As() {
|
|
925
|
-
if (Ha) return
|
|
925
|
+
if (Ha) return Pr;
|
|
926
926
|
Ha = 1;
|
|
927
927
|
var e = L(), r = S(), t = e(r, "WeakMap");
|
|
928
|
-
return
|
|
928
|
+
return Pr = t, Pr;
|
|
929
929
|
}
|
|
930
|
-
var
|
|
930
|
+
var wr, Va;
|
|
931
931
|
function ut() {
|
|
932
|
-
if (Va) return
|
|
932
|
+
if (Va) return wr;
|
|
933
933
|
Va = 1;
|
|
934
934
|
var e = gs(), r = et(), t = qs(), a = Cs(), n = As(), i = re(), s = vn(), o = "[object Map]", u = "[object Object]", c = "[object Promise]", v = "[object Set]", _ = "[object WeakMap]", p = "[object DataView]", y = s(e), q = s(r), C = s(t), m = s(a), g = s(n), d = i;
|
|
935
935
|
return (e && d(new e(new ArrayBuffer(1))) != p || r && d(new r()) != o || t && d(t.resolve()) != c || a && d(new a()) != v || n && d(new n()) != _) && (d = function(R) {
|
|
@@ -948,7 +948,7 @@ function ut() {
|
|
|
948
948
|
return _;
|
|
949
949
|
}
|
|
950
950
|
return E;
|
|
951
|
-
}),
|
|
951
|
+
}), wr = d, wr;
|
|
952
952
|
}
|
|
953
953
|
var Lr, za;
|
|
954
954
|
function ms() {
|
|
@@ -1102,14 +1102,14 @@ function xs() {
|
|
|
1102
1102
|
return Vr = a, Vr;
|
|
1103
1103
|
}
|
|
1104
1104
|
var zr, an;
|
|
1105
|
-
function
|
|
1105
|
+
function Ps() {
|
|
1106
1106
|
if (an) return zr;
|
|
1107
1107
|
an = 1;
|
|
1108
1108
|
var e = xs(), r = tt(), t = at(), a = t && t.isMap, n = a ? r(a) : e;
|
|
1109
1109
|
return zr = n, zr;
|
|
1110
1110
|
}
|
|
1111
1111
|
var Wr, nn;
|
|
1112
|
-
function
|
|
1112
|
+
function ws() {
|
|
1113
1113
|
if (nn) return Wr;
|
|
1114
1114
|
nn = 1;
|
|
1115
1115
|
var e = ut(), r = J(), t = "[object Set]";
|
|
@@ -1122,15 +1122,15 @@ var Xr, sn;
|
|
|
1122
1122
|
function Ls() {
|
|
1123
1123
|
if (sn) return Xr;
|
|
1124
1124
|
sn = 1;
|
|
1125
|
-
var e =
|
|
1125
|
+
var e = ws(), r = tt(), t = at(), a = t && t.isSet, n = a ? r(a) : e;
|
|
1126
1126
|
return Xr = n, Xr;
|
|
1127
1127
|
}
|
|
1128
1128
|
var $r, on;
|
|
1129
1129
|
function Fs() {
|
|
1130
1130
|
if (on) return $r;
|
|
1131
1131
|
on = 1;
|
|
1132
|
-
var e = Ji(), r = Yi(), t = pn(), a = us(), n = ls(), i = _s(), s = vs(), o = ps(), u = ds(), c = ys(), v = bs(), _ = ut(), p = ms(), y = js(), q = Ds(), C = rt(), m = dn(), g =
|
|
1133
|
-
h[I] = h[N] = h[
|
|
1132
|
+
var e = Ji(), r = Yi(), t = pn(), a = us(), n = ls(), i = _s(), s = vs(), o = ps(), u = ds(), c = ys(), v = bs(), _ = ut(), p = ms(), y = js(), q = Ds(), C = rt(), m = dn(), g = Ps(), d = $(), R = Ls(), E = it(), j = st(), O = 1, B = 2, k = 4, I = "[object Arguments]", N = "[object Array]", f = "[object Boolean]", D = "[object Date]", G = "[object Error]", ft = "[object Function]", Rn = "[object GeneratorFunction]", Sn = "[object Map]", En = "[object Number]", lt = "[object Object]", jn = "[object RegExp]", On = "[object Set]", Dn = "[object String]", xn = "[object Symbol]", Pn = "[object WeakMap]", wn = "[object ArrayBuffer]", Ln = "[object DataView]", Fn = "[object Float32Array]", Mn = "[object Float64Array]", Kn = "[object Int8Array]", Bn = "[object Int16Array]", kn = "[object Int32Array]", Nn = "[object Uint8Array]", Gn = "[object Uint8ClampedArray]", Un = "[object Uint16Array]", Hn = "[object Uint32Array]", h = {};
|
|
1133
|
+
h[I] = h[N] = h[wn] = h[Ln] = h[f] = h[D] = h[Fn] = h[Mn] = h[Kn] = h[Bn] = h[kn] = h[Sn] = h[En] = h[lt] = h[jn] = h[On] = h[Dn] = h[xn] = h[Nn] = h[Gn] = h[Un] = h[Hn] = !0, h[G] = h[ft] = h[Pn] = !1;
|
|
1134
1134
|
function Y(l, F, M, Vn, Q, x) {
|
|
1135
1135
|
var A, Z = F & O, ee = F & B, zn = F & k;
|
|
1136
1136
|
if (M && (A = Q ? M(l, Vn, Q, x) : M(l)), A !== void 0)
|
|
@@ -1158,14 +1158,14 @@ function Fs() {
|
|
|
1158
1158
|
var ht = x.get(l);
|
|
1159
1159
|
if (ht)
|
|
1160
1160
|
return ht;
|
|
1161
|
-
x.set(l, A), R(l) ? l.forEach(function(
|
|
1162
|
-
A.add(Y(
|
|
1163
|
-
}) : g(l) && l.forEach(function(
|
|
1164
|
-
A.set(
|
|
1161
|
+
x.set(l, A), R(l) ? l.forEach(function(P) {
|
|
1162
|
+
A.add(Y(P, F, M, P, l, x));
|
|
1163
|
+
}) : g(l) && l.forEach(function(P, w) {
|
|
1164
|
+
A.set(w, Y(P, F, M, w, l, x));
|
|
1165
1165
|
});
|
|
1166
1166
|
var Wn = zn ? ee ? v : c : ee ? j : E, pt = _t ? void 0 : Wn(l);
|
|
1167
|
-
return r(pt || l, function(
|
|
1168
|
-
pt && (
|
|
1167
|
+
return r(pt || l, function(P, w) {
|
|
1168
|
+
pt && (w = P, P = l[w]), t(A, w, Y(P, F, M, w, l, x));
|
|
1169
1169
|
}), A;
|
|
1170
1170
|
}
|
|
1171
1171
|
return $r = Y, $r;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import o, { useMemo as
|
|
2
|
-
import { CheckboxGroup as
|
|
1
|
+
import o, { useMemo as y, useCallback as $, useRef as w, useState as A, useEffect as W } from "react";
|
|
2
|
+
import { CheckboxGroup as M, CheckboxField as j, CheckboxButton as z, TextField as J, Input as K } from "react-aria-components";
|
|
3
3
|
import { debounce as Q } from "ts-debounce";
|
|
4
|
-
import {
|
|
5
|
-
import { f as I, a as
|
|
6
|
-
import { D as Z, E as ee } from "./field-error-headless-
|
|
7
|
-
import { L as te } from "./field-label-headless-
|
|
4
|
+
import { by as R, bv as U, bI as X, bA as Y } from "./form-GAuLAdjq.js";
|
|
5
|
+
import { f as I, a as F } from "./find-child-C60k4CxG.js";
|
|
6
|
+
import { D as Z, E as ee } from "./field-error-headless-DAc8FpKI.js";
|
|
7
|
+
import { L as te } from "./field-label-headless-DxxwJtjh.js";
|
|
8
8
|
import { F as ae } from "./fieldset-headless-CD3fds9J.js";
|
|
9
9
|
import { S as ne } from "./selection-indicator-XQ8MYHUQ.js";
|
|
10
|
-
const
|
|
10
|
+
const B = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e.length > 0 && le(e, t), se = (e, t) => {
|
|
11
11
|
const r = t == null ? void 0 : t("add-other.default-other-option-label");
|
|
12
|
-
return e || r ||
|
|
12
|
+
return e || r || B;
|
|
13
13
|
}, q = (e, t) => {
|
|
14
14
|
const a = t ? t.length + 2 : 0;
|
|
15
15
|
return (e.find((s) => s.startsWith(`${t}: `)) || "").slice(a);
|
|
16
16
|
}, S = (e) => e.map((t) => t.value ?? t.label), v = ({ children: e, className: t }) => {
|
|
17
|
-
const r =
|
|
17
|
+
const r = R(), { id: a, value: n, onChange: s, disabled: d, required: p, onBlur: f, onFocus: m, hasError: c, FieldLayout: i } = r, { inputId: h, labelId: u, ariaDescribedBy: L } = U(), E = I(e, v.Label), g = I(e, v.Options), C = I(e, v.Description), l = I(e, v.Error), O = y(() => n || [], [
|
|
18
18
|
n
|
|
19
19
|
]), V = $((b) => {
|
|
20
20
|
s == null || s(b);
|
|
@@ -31,7 +31,7 @@ const R = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
|
|
|
31
31
|
required: p,
|
|
32
32
|
onBlur: f,
|
|
33
33
|
onFocus: m
|
|
34
|
-
}, /* @__PURE__ */ o.createElement(
|
|
34
|
+
}, /* @__PURE__ */ o.createElement(M, {
|
|
35
35
|
className: t,
|
|
36
36
|
"aria-labelledby": u,
|
|
37
37
|
value: O,
|
|
@@ -43,22 +43,22 @@ const R = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
|
|
|
43
43
|
renderDescription: () => /* @__PURE__ */ o.createElement(o.Fragment, null, l, C)
|
|
44
44
|
});
|
|
45
45
|
}, _ = ({ children: e, className: t }) => {
|
|
46
|
-
const r =
|
|
46
|
+
const r = R(), { id: a, options: n, addOther: s, addOtherLabel: d, numberOfColumns: p } = r, { t: f } = X(), m = I(e, _.Option), c = se(d, f);
|
|
47
47
|
return /* @__PURE__ */ o.createElement("div", {
|
|
48
48
|
className: t,
|
|
49
49
|
"data-columns": p
|
|
50
50
|
}, n == null ? void 0 : n.map((i, h) => {
|
|
51
51
|
const u = i.value ?? i.label;
|
|
52
|
-
return
|
|
52
|
+
return F(m, {
|
|
53
53
|
key: i.id || i.label,
|
|
54
54
|
value: u,
|
|
55
55
|
label: i.label,
|
|
56
56
|
isFirst: h === 0,
|
|
57
57
|
fieldId: a
|
|
58
58
|
});
|
|
59
|
-
}), s &&
|
|
60
|
-
key:
|
|
61
|
-
value:
|
|
59
|
+
}), s && F(m, {
|
|
60
|
+
key: B,
|
|
61
|
+
value: B,
|
|
62
62
|
label: c,
|
|
63
63
|
isOther: !0
|
|
64
64
|
}));
|
|
@@ -67,17 +67,17 @@ const R = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
|
|
|
67
67
|
return /* @__PURE__ */ o.createElement("span", {
|
|
68
68
|
className: e
|
|
69
69
|
}, r);
|
|
70
|
-
},
|
|
71
|
-
const { value: a, label: n, isFirst: s = !1, isOther: d = !1, fieldId: p } = r, f =
|
|
70
|
+
}, k = ({ children: e, className: t, ...r }) => {
|
|
71
|
+
const { value: a, label: n, isFirst: s = !1, isOther: d = !1, fieldId: p } = r, f = R(), { value: m, onChange: c, disabled: i, readOnly: h, hasError: u, options: L } = f, E = w(null);
|
|
72
72
|
Y(() => {
|
|
73
73
|
var b;
|
|
74
74
|
s && ((b = E.current) == null || b.focus({
|
|
75
75
|
preventScroll: !0
|
|
76
76
|
}));
|
|
77
77
|
}, p);
|
|
78
|
-
const g = I(e,
|
|
78
|
+
const g = I(e, k.Label), C = I(e, k.Input), l = y(() => m || [], [
|
|
79
79
|
m
|
|
80
|
-
]), O =
|
|
80
|
+
]), O = y(() => d ? l.find((b) => b === n || b.startsWith(`${n}: `)) || n : a, [
|
|
81
81
|
d,
|
|
82
82
|
l,
|
|
83
83
|
n,
|
|
@@ -85,11 +85,11 @@ const R = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
|
|
|
85
85
|
]), V = $((b) => {
|
|
86
86
|
if (!d)
|
|
87
87
|
return;
|
|
88
|
-
const D = S(L || []), x = l.filter((
|
|
88
|
+
const D = S(L || []), x = l.filter((P) => D.includes(P)), H = b ? [
|
|
89
89
|
...x,
|
|
90
90
|
n
|
|
91
91
|
] : x;
|
|
92
|
-
c == null || c(
|
|
92
|
+
c == null || c(H);
|
|
93
93
|
}, [
|
|
94
94
|
d,
|
|
95
95
|
n,
|
|
@@ -97,30 +97,30 @@ const R = "Other", le = (e, t) => e.some((r) => !t.includes(r)), N = (e, t) => e
|
|
|
97
97
|
L,
|
|
98
98
|
l
|
|
99
99
|
]);
|
|
100
|
-
return /* @__PURE__ */ o.createElement(
|
|
100
|
+
return /* @__PURE__ */ o.createElement(j, {
|
|
101
101
|
value: O,
|
|
102
102
|
onChange: d ? V : void 0,
|
|
103
103
|
isDisabled: i,
|
|
104
104
|
isReadOnly: h,
|
|
105
105
|
isInvalid: u
|
|
106
|
-
}, /* @__PURE__ */ o.createElement(
|
|
106
|
+
}, /* @__PURE__ */ o.createElement(z, {
|
|
107
107
|
ref: E,
|
|
108
108
|
className: t,
|
|
109
109
|
"data-hook": `checkbox-${n}`
|
|
110
|
-
}, ({ isSelected: b, isHovered: D, isFocused: x }) => /* @__PURE__ */ o.createElement(o.Fragment, null,
|
|
110
|
+
}, ({ isSelected: b, isHovered: D, isFocused: x }) => /* @__PURE__ */ o.createElement(o.Fragment, null, F(C, {
|
|
111
111
|
isSelected: b,
|
|
112
112
|
isHovered: D,
|
|
113
113
|
isFocused: x
|
|
114
|
-
}),
|
|
114
|
+
}), F(g, {
|
|
115
115
|
label: n
|
|
116
116
|
}))));
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
k.Label = re;
|
|
119
|
+
k.Input = ne;
|
|
120
120
|
const T = ({ children: e, ...t }) => {
|
|
121
|
-
const { value: r, label: a, isFirst: n = !1, isOther: s = !1, fieldId: d } = t, p =
|
|
121
|
+
const { value: r, label: a, isFirst: n = !1, isOther: s = !1, fieldId: d } = t, p = R(), { value: f, onChange: m, options: c, addOtherPlaceholder: i, otherInputCharacterLimit: h, disabled: u, readOnly: L, hasError: E } = p, g = I(e, k), C = I(e, G), l = y(() => f || [], [
|
|
122
122
|
f
|
|
123
|
-
]), O =
|
|
123
|
+
]), O = y(() => {
|
|
124
124
|
if (!s)
|
|
125
125
|
return !1;
|
|
126
126
|
const V = S(c || []);
|
|
@@ -130,13 +130,13 @@ const T = ({ children: e, ...t }) => {
|
|
|
130
130
|
l,
|
|
131
131
|
c
|
|
132
132
|
]);
|
|
133
|
-
return /* @__PURE__ */ o.createElement(o.Fragment, null,
|
|
133
|
+
return /* @__PURE__ */ o.createElement(o.Fragment, null, F(g, {
|
|
134
134
|
value: r,
|
|
135
135
|
label: a,
|
|
136
136
|
isFirst: n,
|
|
137
137
|
isOther: s,
|
|
138
138
|
fieldId: d
|
|
139
|
-
}), s && O &&
|
|
139
|
+
}), s && O && F(C, {
|
|
140
140
|
fieldValue: l,
|
|
141
141
|
onChange: m,
|
|
142
142
|
label: a,
|
|
@@ -149,12 +149,12 @@ const T = ({ children: e, ...t }) => {
|
|
|
149
149
|
addOtherLabel: a,
|
|
150
150
|
options: c
|
|
151
151
|
}));
|
|
152
|
-
},
|
|
153
|
-
const { fieldValue: a, onChange: n, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: m, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = r, [L, E] =
|
|
152
|
+
}, G = ({ className: e, inputClassName: t, ...r }) => {
|
|
153
|
+
const { fieldValue: a, onChange: n, label: s, placeholder: d, maxLength: p, disabled: f, readOnly: m, hasError: c, ariaLabel: i, addOtherLabel: h, options: u } = r, [L, E] = A(() => {
|
|
154
154
|
const l = S(u || []);
|
|
155
155
|
return N(a, l) ? q(a, h) : "";
|
|
156
156
|
});
|
|
157
|
-
|
|
157
|
+
W(() => {
|
|
158
158
|
const l = S(u || []), O = N(a, l);
|
|
159
159
|
E(O ? q(a, h) : "");
|
|
160
160
|
}, [
|
|
@@ -162,7 +162,7 @@ const T = ({ children: e, ...t }) => {
|
|
|
162
162
|
u,
|
|
163
163
|
h
|
|
164
164
|
]);
|
|
165
|
-
const g =
|
|
165
|
+
const g = y(() => Q((l) => {
|
|
166
166
|
const O = S(u || []), V = a.filter((x) => O.includes(x)), b = l ? `${h}: ${l}` : s, D = [
|
|
167
167
|
...V,
|
|
168
168
|
b
|
|
@@ -179,7 +179,7 @@ const T = ({ children: e, ...t }) => {
|
|
|
179
179
|
}, [
|
|
180
180
|
g
|
|
181
181
|
]);
|
|
182
|
-
return /* @__PURE__ */ o.createElement(
|
|
182
|
+
return /* @__PURE__ */ o.createElement(J, {
|
|
183
183
|
"aria-label": i,
|
|
184
184
|
value: L,
|
|
185
185
|
onChange: C,
|
|
@@ -197,8 +197,8 @@ const T = ({ children: e, ...t }) => {
|
|
|
197
197
|
v.Label = te;
|
|
198
198
|
v.Options = _;
|
|
199
199
|
_.Option = T;
|
|
200
|
-
T.Checkbox =
|
|
201
|
-
T.OtherInput =
|
|
200
|
+
T.Checkbox = k;
|
|
201
|
+
T.OtherInput = G;
|
|
202
202
|
v.Description = Z;
|
|
203
203
|
v.Error = ee;
|
|
204
204
|
export {
|
package/dist/component/{checkbox-group-field-rac-DasArcdV.js → checkbox-group-field-rac-Dxrc2F4x.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import a from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { C as t } from "./checkbox-group-field-headless-
|
|
4
|
+
import { C as t } from "./checkbox-group-field-headless-CiobdaVa.js";
|
|
5
5
|
import { E as n } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { C as c } from "./checkbox-indicator-module-classes-
|
|
7
|
-
import { s } from "./field-rac.module-
|
|
8
|
-
import {
|
|
6
|
+
import { C as c } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
|
|
7
|
+
import { s } from "./field-rac.module-ts2t4WUO.js";
|
|
8
|
+
import { U as i, aa as E, p, r as C, K as O, G as _, q as I } from "./form-GAuLAdjq.js";
|
|
9
9
|
import { o as l } from "./options-rac.module-_THNq6Qq.js";
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as R } from "./use-text-input-class-name-
|
|
12
|
-
const u = ({ content:
|
|
13
|
-
content:
|
|
14
|
-
locale:
|
|
10
|
+
import { u as L } from "./use-element-state-class-name-ByDw6j7c.js";
|
|
11
|
+
import { u as R } from "./use-text-input-class-name-CmxSw6bY.js";
|
|
12
|
+
const u = ({ content: r, locale: o }) => /* @__PURE__ */ e.createElement(m, {
|
|
13
|
+
content: r,
|
|
14
|
+
locale: o
|
|
15
15
|
}), k = () => {
|
|
16
|
-
const
|
|
17
|
-
globalClasses:
|
|
16
|
+
const r = L({
|
|
17
|
+
globalClasses: I,
|
|
18
18
|
moduleClasses: c
|
|
19
|
-
}),
|
|
19
|
+
}), o = R();
|
|
20
20
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
|
21
21
|
className: a(i, s.label)
|
|
22
22
|
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
@@ -26,11 +26,11 @@ const u = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(m, {
|
|
|
26
26
|
}, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
|
|
27
27
|
className: s.checkbox
|
|
28
28
|
}, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
|
|
29
|
-
className:
|
|
29
|
+
className: r
|
|
30
30
|
}), /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Label, {
|
|
31
31
|
className: a(C, l.optionLabel)
|
|
32
32
|
})), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
|
|
33
|
-
inputClassName:
|
|
33
|
+
inputClassName: o
|
|
34
34
|
}))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
35
35
|
className: a(O, s.error)
|
|
36
36
|
}, /* @__PURE__ */ e.createElement(n, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|