@wix/form-elements 1.78.0 → 1.79.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-DWxisWGW.js → appointment-rac-lokvpd_p.js} +6 -6
- package/dist/component/{bookings-address-rac-BT-VBypp.js → bookings-address-rac-CU5NjBsy.js} +1 -1
- package/dist/component/{bookings-email-rac-CVpK16ZI.js → bookings-email-rac-h3VGXrSQ.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CDe5wve0.js → bookings-first-name-rac-BtsTk_1b.js} +1 -1
- package/dist/component/{bookings-header-rac-BsMQ2QGm.js → bookings-header-rac-BApE1hIE.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Bpg5n4Dr.js → bookings-last-name-rac-BnO5iij1.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DnMB_v13.js → bookings-login-bar-rac-BT1npKru.js} +2 -2
- package/dist/component/{bookings-phone-rac-B8FoaVqv.js → bookings-phone-rac-DWf0haGa.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CqD2O9X7.js → bookings-rich-text-rac-C79XHlRL.js} +1 -1
- package/dist/component/{checkbox-field-rac-CydYZGle.js → checkbox-field-rac-DNvhTChN.js} +52 -51
- package/dist/component/{checkbox-group-field-headless-BdrQjLsc.js → checkbox-group-field-headless-6hzWQkif.js} +53 -53
- package/dist/component/{checkbox-group-field-rac-D2mXFpmR.js → checkbox-group-field-rac-DbaB5Fx6.js} +5 -5
- package/dist/component/{checkbox-group-rac-CTQRNdXf.js → checkbox-group-rac-BsKKhTeh.js} +1 -1
- package/dist/component/checkbox-indicator-module-classes-DqzGZQRQ.js +9 -0
- package/dist/component/{checkbox-rac-d8u0ahzA.js → checkbox-rac-Dx7LXOdw.js} +1 -1
- package/dist/component/{contacts-address-rac-CJYLD7fU.js → contacts-address-rac-DJZ8_DKm.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BYWcPC9J.js → contacts-birthdate-rac-CWvsa7Kq.js} +1 -1
- package/dist/component/{contacts-company-rac-B-hxWRwZ.js → contacts-company-rac-DgF8QpOb.js} +1 -1
- package/dist/component/{contacts-email-rac-9M965qjz.js → contacts-email-rac-CVqiij34.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BD6j79WW.js → contacts-first-name-rac-BwsRVRHq.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DJ3UqnhZ.js → contacts-last-name-rac-Blgm2DBB.js} +1 -1
- package/dist/component/{contacts-phone-rac-BQo85LSR.js → contacts-phone-rac-Dhtv3PGY.js} +1 -1
- package/dist/component/{contacts-position-rac-D1EEYf-q.js → contacts-position-rac-DYebFQea.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-D3_UmlB-.js → contacts-subscribe-rac-B_cvGaYj.js} +2 -2
- package/dist/component/{contacts-tax-id-rac-BUFbFFLw.js → contacts-tax-id-rac-B_F4I7rf.js} +1 -1
- package/dist/component/{date-availability-Vtj_pmEf.js → date-availability-Cc4kd1Yk.js} +1 -1
- package/dist/component/{date-input-field-rac-BN7Dec-O.js → date-input-field-rac-C__QbeDM.js} +5 -5
- package/dist/component/{date-input-rac-D0EknjCI.js → date-input-rac-BhzbmHYK.js} +1 -1
- package/dist/component/{date-picker-field-rac-JmIyqlEg.js → date-picker-field-rac-CASH891N.js} +6 -6
- package/dist/component/{date-picker-rac-CzbmZuUr.js → date-picker-rac-CMYAA925.js} +1 -1
- package/dist/component/{date-time-input-field-rac-9TAf-9BT.js → date-time-input-field-rac-DPuxZ68o.js} +5 -5
- package/dist/component/{date-time-input-rac-BMC95LdQ.js → date-time-input-rac-BTJhrUXG.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-2IUeY8CX.js → dext-checkbox-group-rac-5zlp2x1M.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DC-tLcqg.js → dext-checkbox-rac-Cn5u395b.js} +1 -1
- package/dist/component/{dext-date-picker-rac-DgQdlofb.js → dext-date-picker-rac-CFfQwbC_.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DgU7Nkxk.js → dext-date-time-input-rac-zRYi-0W6.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BKxqCr4C.js → dext-dropdown-rac-CtlNh5vF.js} +1 -1
- package/dist/component/{dext-email-rac-coWG-88b.js → dext-email-rac-BQF4M5Mf.js} +1 -1
- package/dist/component/{dext-number-input-rac--WG5wQFz.js → dext-number-input-rac-GR4vTWMp.js} +1 -1
- package/dist/component/{dext-phone-rac-ikgoCqRF.js → dext-phone-rac-COCdZPr9.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CSmi7-KP.js → dext-radio-group-rac-ZpHitbT0.js} +2 -2
- package/dist/component/{dext-rating-input-rac-CrUReQ7k.js → dext-rating-input-rac-Er2HC9eD.js} +1 -1
- package/dist/component/{dext-tags-rac-C0iyj2fA.js → dext-tags-rac-EciVMPQ0.js} +2 -2
- package/dist/component/{dext-text-area-rac-k1bspboS.js → dext-text-area-rac-D6JxrykV.js} +1 -1
- package/dist/component/{dext-text-input-rac-DvapRpAx.js → dext-text-input-rac-CD3xkLpw.js} +1 -1
- package/dist/component/{dext-url-input-rac-CAut8IVQ.js → dext-url-input-rac-BNqCYy-H.js} +1 -1
- package/dist/component/{donation-rac-BOqNDuTc.js → donation-rac-Du_qsPD6.js} +5 -5
- package/dist/component/{dropdown-field-headless-CS5wUgQ6.js → dropdown-field-headless-NMc4cFx2.js} +3 -3
- package/dist/component/{dropdown-field-rac-MRo5oOWE.js → dropdown-field-rac-hSbwxz3M.js} +3 -3
- package/dist/component/{dropdown-rac-BjdsRMD6.js → dropdown-rac-DY2QSx-Q.js} +1 -1
- package/dist/component/{ecom-address-rac-DfYVinX3.js → ecom-address-rac-CGlQmW6l.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-S_Wzz9Jb.js → ecom-subscription-checkbox-rac-K3Dx-Boa.js} +3 -3
- package/dist/component/{email-input-field-rac-Ci2MzEdX.js → email-input-field-rac-DCKR6Yco.js} +4 -4
- package/dist/component/{events-repeater-rac-DiuDVYBS.js → events-repeater-rac-DS2hIZ81.js} +61 -60
- package/dist/component/events-rsvp-rac-iSG0hWt3.js +45 -0
- package/dist/component/{field-error-headless-DvmM1k0W.js → field-error-headless-Lb5aaoR3.js} +1 -1
- package/dist/component/{field-label-headless-DKn04-OM.js → field-label-headless-C1VDQVhB.js} +1 -1
- package/dist/component/field-rac.module-ColNPUt0.js +23 -0
- package/dist/component/{file-upload-rac-CB6xdN8j.js → file-upload-rac-BEUXTVXa.js} +5 -5
- package/dist/component/{fixed-payment-rac-ATi0oywP.js → fixed-payment-rac-BwrQJQ6w.js} +5 -5
- package/dist/component/{form-_3vjdih8.js → form-1k13yOes.js} +69 -69
- package/dist/component/{form-element-classes-DZiFyihd.js → form-element-classes-BuM-vthE.js} +67 -49
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-pd3cDG5d.js → header-field-rac-BeFf5qfw.js} +3 -3
- package/dist/component/{header-rac-fSMu24tQ.js → header-rac-Cqvmjc8G.js} +1 -1
- package/dist/component/{image-choice-rac-B7kSWlmM.js → image-choice-rac-DU1Tf2-T.js} +5 -5
- package/dist/component/{index-QsnKRW-J.js → index-B0SdXZJm.js} +4 -4
- package/dist/component/{index-BTVyiZNf.js → index-DhL-iYwY.js} +2 -2
- package/dist/component/{isObjectLike-YK6n3FVo.js → isObjectLike-DOWF1bjK.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CDKbEU14.js → multiline-address-field-rac-CBhxL2MB.js} +6 -6
- package/dist/component/{multiline-address-rac-DflLsZ5w.js → multiline-address-rac-BgZnu3UR.js} +1 -1
- package/dist/component/{number-input-field-rac-Bc6vH-Nl.js → number-input-field-rac-Cq0KLrSv.js} +5 -5
- package/dist/component/{number-input-rac-J3DpYc9U.js → number-input-rac-ovbP_aP5.js} +1 -1
- package/dist/component/{password-rac-DUsCGTgT.js → password-rac-DLKw8FXz.js} +5 -5
- package/dist/component/{payment-input-rac-C7ir9WYG.js → payment-input-rac-EHufj8Y0.js} +5 -5
- package/dist/component/{phone-input-field-rac-BTCDRtYe.js → phone-input-field-rac-D1KzskYy.js} +5 -5
- package/dist/component/{phone-rac-Dk5FzIxX.js → phone-rac-D71sfMS7.js} +1 -1
- package/dist/component/{product-list-rac-BnXK6jhc.js → product-list-rac-BGrTM8kv.js} +38 -37
- package/dist/component/quiz-radio-group-rac-BU2GBlqo.js +13 -0
- package/dist/component/radio-button-module-classes-BqNsWvgU.js +132 -0
- package/dist/component/radio-group-field-rac-BSY-fyxl.js +47 -0
- package/dist/component/{radio-group-rac-DWJRHfZS.js → radio-group-rac-geRsORyh.js} +1 -1
- package/dist/component/{rating-input-field-rac-Bic4P2NB.js → rating-input-field-rac-D6gRUiSX.js} +6 -6
- package/dist/component/{rating-input-rac-B9M2UXqM.js → rating-input-rac-BMtu7e5q.js} +1 -1
- package/dist/component/{rich-content-rac.module-CuxZg6ls.js → rich-content-rac.module-CFMzPWHV.js} +1 -1
- package/dist/component/{rich-text-field-rac-CLEYP_pZ.js → rich-text-field-rac-D0Klsdj7.js} +3 -3
- package/dist/component/{rich-text-rac-YRAKNkpJ.js → rich-text-rac-o7idQY51.js} +1 -1
- package/dist/component/selection-indicator-XQ8MYHUQ.js +11 -0
- package/dist/component/{service-dropdown-rac-Dg4ijvf0.js → service-dropdown-rac-BXq358Pw.js} +5 -5
- package/dist/component/{services-multi-choice-rac-DcDxYaDU.js → services-multi-choice-rac-DVRk7Ayt.js} +7 -7
- package/dist/component/{signature-rac-BDj4xTdv.js → signature-rac-CblU7c_6.js} +5 -5
- package/dist/component/{submit-button-rac-DIigBeH5.js → submit-button-rac-DYz_oLbv.js} +2 -2
- package/dist/component/{tags-field-rac-CJp9XBhV.js → tags-field-rac-D068ijAD.js} +5 -5
- package/dist/component/{tags-rac-zlatHQ0n.js → tags-rac-yRjGACmm.js} +1 -1
- package/dist/component/{text-area-field-rac-CFm-_Tz9.js → text-area-field-rac-C4ytlqwT.js} +5 -5
- package/dist/component/{text-area-rac-BSJfRYEx.js → text-area-rac-DkCdp41z.js} +1 -1
- package/dist/component/{text-input-field-rac-ZTDIhRqT.js → text-input-field-rac-TSY90sCu.js} +3 -3
- package/dist/component/{text-input-headless-4hu-GjTm.js → text-input-headless-D3b0XErK.js} +3 -3
- package/dist/component/{text-input-rac-BTx8ELp7.js → text-input-rac-CKiScYKV.js} +1 -1
- package/dist/component/{time-input-rac-DmPMNJPn.js → time-input-rac-Cjs21F9f.js} +5 -5
- package/dist/component/{url-input-field-rac-BPN4hmYh.js → url-input-field-rac-Bf5NoN4o.js} +5 -5
- package/dist/component/{url-input-rac-CEeg1r2O.js → url-input-rac-DqgvJboS.js} +1 -1
- package/dist/component/{use-element-state-class-name-DVT9MJFT.js → use-element-state-class-name-DkaI8J4Y.js} +1 -1
- package/dist/component/{use-service-options-base-J4FBFnZH.js → use-service-options-base-cL2N21mJ.js} +1 -1
- package/package.json +2 -2
- package/dist/component/checkbox-indicator-module-classes-BcScu147.js +0 -17
- package/dist/component/events-rsvp-rac-Cc27Vkvf.js +0 -38
- package/dist/component/field-rac.module-DjmaTYkc.js +0 -23
- package/dist/component/quiz-radio-group-rac-BW3Vh-ZF.js +0 -13
- package/dist/component/radio-group-field-rac-C7IlBNGI.js +0 -40
- package/dist/component/radio-group-field-rac.module-BRkiHqU7.js +0 -124
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import o, { useRef as J, useState as j, useEffect as H, createContext as $e, useContext as Ge, useMemo as P, useCallback as ie } from "react";
|
|
2
2
|
import { RicosViewer as it } from "@wix/ricos/viewer";
|
|
3
3
|
import M from "classnames";
|
|
4
|
-
import { ab as ce, aa as lt, ae as ve, ad as ct, c as mt, as as ut, ar as dt, ai as me, af as Se, ak as ft, ah as Dt, F as Et } from "./form-
|
|
4
|
+
import { ab as ce, aa as lt, ae as ve, ad as ct, c as mt, as as ut, ar as dt, ai as me, af as Se, ak as ft, ah as Dt, F as Et } from "./form-1k13yOes.js";
|
|
5
5
|
import { C as Ce } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
6
|
import { E as St } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { H as fe } from "./custom-focus-class-_483Pkwp.js";
|
|
8
|
-
import { s as De } from "./field-rac.module-
|
|
9
|
-
import { z as pt, P as _t, a as Lt, x as We, h as yt, W as Nt, p as At, i as bt, a2 as It } from "./form-element-classes-
|
|
10
|
-
import { u as Ot } from "./use-element-state-class-name-
|
|
8
|
+
import { s as De } from "./field-rac.module-ColNPUt0.js";
|
|
9
|
+
import { z as pt, P as _t, a as Lt, x as We, h as yt, W as Nt, p as At, i as bt, a2 as It } from "./form-element-classes-BuM-vthE.js";
|
|
10
|
+
import { u as Ot } from "./use-element-state-class-name-DkaI8J4Y.js";
|
|
11
11
|
import { ListBox as gt, Button as ke, ListBoxItem as Tt, RadioGroup as vt, RadioField as kt, RadioButton as Rt } from "react-aria-components";
|
|
12
12
|
import { f as T, a as le } from "./find-child-C60k4CxG.js";
|
|
13
|
-
import { D as wt, E as Mt } from "./field-error-headless-
|
|
14
|
-
import { L as Ft } from "./field-label-headless-
|
|
13
|
+
import { D as wt, E as Mt } from "./field-error-headless-Lb5aaoR3.js";
|
|
14
|
+
import { L as Ft } from "./field-label-headless-C1VDQVhB.js";
|
|
15
15
|
import { F as ht } from "./fieldset-headless-CD3fds9J.js";
|
|
16
16
|
import { g as Ct } from "./get-first-day-of-the-week-DvnsxYhQ.js";
|
|
17
17
|
import "date-fns";
|
package/dist/component/{bookings-login-bar-rac-DnMB_v13.js → bookings-login-bar-rac-BT1npKru.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import o from "react";
|
|
2
2
|
import E from "classnames";
|
|
3
|
-
import { ai as d, as as B, ab as f, ae as p } from "./form-
|
|
3
|
+
import { ai as d, as as B, ab as f, ae as p } from "./form-1k13yOes.js";
|
|
4
4
|
import { Button as L } from "react-aria-components";
|
|
5
5
|
import { a as i, f as g } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { w as _ } from "./form-element-classes-
|
|
6
|
+
import { w as _ } from "./form-element-classes-BuM-vthE.js";
|
|
7
7
|
const a = ({ children: n }) => {
|
|
8
8
|
const { id: r, FieldLayout: t } = d();
|
|
9
9
|
return /* @__PURE__ */ o.createElement(t, {
|
|
@@ -2,16 +2,17 @@ import { RicosViewer as $n } from "@wix/ricos/viewer";
|
|
|
2
2
|
import U from "classnames";
|
|
3
3
|
import b, { useMemo as Xn, useRef as Jn, useCallback as Yn } from "react";
|
|
4
4
|
import { CheckboxField as Qn, CheckboxButton as Zn } from "react-aria-components";
|
|
5
|
-
import { Q as ei, ai as Zr, q as Qr, R as fn, as as ri, ab as ti, $ as ai, af as ni, ak as ii, L as si } from "./form-
|
|
5
|
+
import { Q as ei, ai as Zr, q as Qr, R as fn, as as ri, ab as ti, $ as ai, af as ni, ak as ii, L as si } from "./form-1k13yOes.js";
|
|
6
6
|
import { f as W, a as oi } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as ui, E as ci } from "./field-error-headless-
|
|
7
|
+
import { D as ui, E as ci } from "./field-error-headless-Lb5aaoR3.js";
|
|
8
8
|
import { Node_Type as fi } from "@wix/ricos/schema";
|
|
9
|
-
import { c as re, r as X, e as R, a as J, d as li, b as _i } from "./isObjectLike-
|
|
10
|
-
import {
|
|
11
|
-
import { E as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
9
|
+
import { c as re, r as X, e as R, a as J, d as li, b as _i } from "./isObjectLike-DOWF1bjK.js";
|
|
10
|
+
import { S as vi } from "./selection-indicator-XQ8MYHUQ.js";
|
|
11
|
+
import { E as hi } from "./error-icon-hZxQ6DEy.js";
|
|
12
|
+
import { C as pi } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
|
|
13
|
+
import { s as oe } from "./field-rac.module-ColNPUt0.js";
|
|
14
|
+
import { f as di, g as yi, b as bi, P as gi, p as qi, i as Ci } from "./form-element-classes-BuM-vthE.js";
|
|
15
|
+
import { u as Ai } from "./use-element-state-class-name-DkaI8J4Y.js";
|
|
15
16
|
var ue, dt;
|
|
16
17
|
function mi() {
|
|
17
18
|
if (dt) return ue;
|
|
@@ -263,10 +264,10 @@ function Mi() {
|
|
|
263
264
|
}
|
|
264
265
|
return je = e, je;
|
|
265
266
|
}
|
|
266
|
-
var xe,
|
|
267
|
+
var xe, Bt;
|
|
267
268
|
function Ki() {
|
|
268
|
-
if (
|
|
269
|
-
|
|
269
|
+
if (Bt) return xe;
|
|
270
|
+
Bt = 1;
|
|
270
271
|
var e = ne(), r = "__lodash_hash_undefined__", t = Object.prototype, a = t.hasOwnProperty;
|
|
271
272
|
function n(i) {
|
|
272
273
|
var s = this.__data__;
|
|
@@ -278,10 +279,10 @@ function Ki() {
|
|
|
278
279
|
}
|
|
279
280
|
return xe = n, xe;
|
|
280
281
|
}
|
|
281
|
-
var De,
|
|
282
|
-
function
|
|
283
|
-
if (
|
|
284
|
-
|
|
282
|
+
var De, kt;
|
|
283
|
+
function Bi() {
|
|
284
|
+
if (kt) return De;
|
|
285
|
+
kt = 1;
|
|
285
286
|
var e = ne(), r = Object.prototype, t = r.hasOwnProperty;
|
|
286
287
|
function a(n) {
|
|
287
288
|
var i = this.__data__;
|
|
@@ -290,7 +291,7 @@ function ki() {
|
|
|
290
291
|
return De = a, De;
|
|
291
292
|
}
|
|
292
293
|
var Pe, Nt;
|
|
293
|
-
function
|
|
294
|
+
function ki() {
|
|
294
295
|
if (Nt) return Pe;
|
|
295
296
|
Nt = 1;
|
|
296
297
|
var e = ne(), r = "__lodash_hash_undefined__";
|
|
@@ -304,7 +305,7 @@ var we, Gt;
|
|
|
304
305
|
function Ni() {
|
|
305
306
|
if (Gt) return we;
|
|
306
307
|
Gt = 1;
|
|
307
|
-
var e = Fi(), r = Mi(), t = Ki(), a =
|
|
308
|
+
var e = Fi(), r = Mi(), t = Ki(), a = Bi(), n = ki();
|
|
308
309
|
function i(s) {
|
|
309
310
|
var o = -1, u = s == null ? 0 : s.length;
|
|
310
311
|
for (this.clear(); ++o < u; ) {
|
|
@@ -360,25 +361,25 @@ function Hi() {
|
|
|
360
361
|
}
|
|
361
362
|
return Ke = r, Ke;
|
|
362
363
|
}
|
|
363
|
-
var
|
|
364
|
+
var Be, Wt;
|
|
364
365
|
function Vi() {
|
|
365
|
-
if (Wt) return
|
|
366
|
+
if (Wt) return Be;
|
|
366
367
|
Wt = 1;
|
|
367
368
|
var e = ie();
|
|
368
369
|
function r(t) {
|
|
369
370
|
return e(this, t).get(t);
|
|
370
371
|
}
|
|
371
|
-
return
|
|
372
|
+
return Be = r, Be;
|
|
372
373
|
}
|
|
373
|
-
var
|
|
374
|
+
var ke, $t;
|
|
374
375
|
function zi() {
|
|
375
|
-
if ($t) return
|
|
376
|
+
if ($t) return ke;
|
|
376
377
|
$t = 1;
|
|
377
378
|
var e = ie();
|
|
378
379
|
function r(t) {
|
|
379
380
|
return e(this, t).has(t);
|
|
380
381
|
}
|
|
381
|
-
return
|
|
382
|
+
return ke = r, ke;
|
|
382
383
|
}
|
|
383
384
|
var Ne, Xt;
|
|
384
385
|
function Wi() {
|
|
@@ -580,8 +581,8 @@ var ar, _a;
|
|
|
580
581
|
function ns() {
|
|
581
582
|
if (_a) return ar;
|
|
582
583
|
_a = 1;
|
|
583
|
-
var e = re(), r = yn(), t = J(), a = "[object Arguments]", n = "[object Array]", i = "[object Boolean]", s = "[object Date]", o = "[object Error]", u = "[object Function]", c = "[object Map]", v = "[object Number]", _ = "[object Object]", p = "[object RegExp]", y = "[object Set]", q = "[object String]", C = "[object WeakMap]", m = "[object ArrayBuffer]", g = "[object DataView]", d = "[object Float32Array]", S = "[object Float64Array]", E = "[object Int8Array]", O = "[object Int16Array]", j = "[object Int32Array]",
|
|
584
|
-
f[d] = f[S] = f[E] = f[O] = f[j] = f[
|
|
584
|
+
var e = re(), r = yn(), t = J(), a = "[object Arguments]", n = "[object Array]", i = "[object Boolean]", s = "[object Date]", o = "[object Error]", u = "[object Function]", c = "[object Map]", v = "[object Number]", _ = "[object Object]", p = "[object RegExp]", y = "[object Set]", q = "[object String]", C = "[object WeakMap]", m = "[object ArrayBuffer]", g = "[object DataView]", d = "[object Float32Array]", S = "[object Float64Array]", E = "[object Int8Array]", O = "[object Int16Array]", j = "[object Int32Array]", B = "[object Uint8Array]", k = "[object Uint8ClampedArray]", I = "[object Uint16Array]", N = "[object Uint32Array]", f = {};
|
|
585
|
+
f[d] = f[S] = f[E] = f[O] = f[j] = f[B] = f[k] = f[I] = f[N] = !0, f[a] = f[n] = f[m] = f[i] = f[g] = f[s] = f[o] = f[u] = f[c] = f[v] = f[_] = f[p] = f[y] = f[q] = f[C] = !1;
|
|
585
586
|
function x(G) {
|
|
586
587
|
return t(G) && r(G.length) && !!f[e(G)];
|
|
587
588
|
}
|
|
@@ -879,20 +880,20 @@ function Tn() {
|
|
|
879
880
|
}
|
|
880
881
|
return Sr = t, Sr;
|
|
881
882
|
}
|
|
882
|
-
var Er,
|
|
883
|
+
var Er, Ba;
|
|
883
884
|
function ys() {
|
|
884
|
-
if (
|
|
885
|
-
|
|
885
|
+
if (Ba) return Er;
|
|
886
|
+
Ba = 1;
|
|
886
887
|
var e = Tn(), r = ot(), t = it();
|
|
887
888
|
function a(n) {
|
|
888
889
|
return e(n, t, r);
|
|
889
890
|
}
|
|
890
891
|
return Er = a, Er;
|
|
891
892
|
}
|
|
892
|
-
var Or,
|
|
893
|
+
var Or, ka;
|
|
893
894
|
function bs() {
|
|
894
|
-
if (
|
|
895
|
-
|
|
895
|
+
if (ka) return Or;
|
|
896
|
+
ka = 1;
|
|
896
897
|
var e = Tn(), r = In(), t = st();
|
|
897
898
|
function a(n) {
|
|
898
899
|
return e(n, t, r);
|
|
@@ -990,26 +991,26 @@ function Ts() {
|
|
|
990
991
|
}
|
|
991
992
|
return Kr = r, Kr;
|
|
992
993
|
}
|
|
993
|
-
var
|
|
994
|
+
var Br, Ja;
|
|
994
995
|
function Rs() {
|
|
995
|
-
if (Ja) return
|
|
996
|
+
if (Ja) return Br;
|
|
996
997
|
Ja = 1;
|
|
997
998
|
var e = /\w*$/;
|
|
998
999
|
function r(t) {
|
|
999
1000
|
var a = new t.constructor(t.source, e.exec(t));
|
|
1000
1001
|
return a.lastIndex = t.lastIndex, a;
|
|
1001
1002
|
}
|
|
1002
|
-
return
|
|
1003
|
+
return Br = r, Br;
|
|
1003
1004
|
}
|
|
1004
|
-
var
|
|
1005
|
+
var kr, Ya;
|
|
1005
1006
|
function Ss() {
|
|
1006
|
-
if (Ya) return
|
|
1007
|
+
if (Ya) return kr;
|
|
1007
1008
|
Ya = 1;
|
|
1008
1009
|
var e = _i(), r = e ? e.prototype : void 0, t = r ? r.valueOf : void 0;
|
|
1009
1010
|
function a(n) {
|
|
1010
1011
|
return t ? Object(t.call(n)) : {};
|
|
1011
1012
|
}
|
|
1012
|
-
return
|
|
1013
|
+
return kr = a, kr;
|
|
1013
1014
|
}
|
|
1014
1015
|
var Nr, Qa;
|
|
1015
1016
|
function Es() {
|
|
@@ -1026,8 +1027,8 @@ var Gr, Za;
|
|
|
1026
1027
|
function Os() {
|
|
1027
1028
|
if (Za) return Gr;
|
|
1028
1029
|
Za = 1;
|
|
1029
|
-
var e = ct(), r = Ts(), t = Rs(), a = Ss(), n = Es(), i = "[object Boolean]", s = "[object Date]", o = "[object Map]", u = "[object Number]", c = "[object RegExp]", v = "[object Set]", _ = "[object String]", p = "[object Symbol]", y = "[object ArrayBuffer]", q = "[object DataView]", C = "[object Float32Array]", m = "[object Float64Array]", g = "[object Int8Array]", d = "[object Int16Array]", S = "[object Int32Array]", E = "[object Uint8Array]", O = "[object Uint8ClampedArray]", j = "[object Uint16Array]",
|
|
1030
|
-
function
|
|
1030
|
+
var e = ct(), r = Ts(), t = Rs(), a = Ss(), n = Es(), i = "[object Boolean]", s = "[object Date]", o = "[object Map]", u = "[object Number]", c = "[object RegExp]", v = "[object Set]", _ = "[object String]", p = "[object Symbol]", y = "[object ArrayBuffer]", q = "[object DataView]", C = "[object Float32Array]", m = "[object Float64Array]", g = "[object Int8Array]", d = "[object Int16Array]", S = "[object Int32Array]", E = "[object Uint8Array]", O = "[object Uint8ClampedArray]", j = "[object Uint16Array]", B = "[object Uint32Array]";
|
|
1031
|
+
function k(I, N, f) {
|
|
1031
1032
|
var x = I.constructor;
|
|
1032
1033
|
switch (N) {
|
|
1033
1034
|
case y:
|
|
@@ -1045,7 +1046,7 @@ function Os() {
|
|
|
1045
1046
|
case E:
|
|
1046
1047
|
case O:
|
|
1047
1048
|
case j:
|
|
1048
|
-
case
|
|
1049
|
+
case B:
|
|
1049
1050
|
return n(I, f);
|
|
1050
1051
|
case o:
|
|
1051
1052
|
return new x();
|
|
@@ -1060,7 +1061,7 @@ function Os() {
|
|
|
1060
1061
|
return a(I);
|
|
1061
1062
|
}
|
|
1062
1063
|
}
|
|
1063
|
-
return Gr =
|
|
1064
|
+
return Gr = k, Gr;
|
|
1064
1065
|
}
|
|
1065
1066
|
var Ur, en;
|
|
1066
1067
|
function js() {
|
|
@@ -1129,10 +1130,10 @@ var Xr, on;
|
|
|
1129
1130
|
function Fs() {
|
|
1130
1131
|
if (on) return Xr;
|
|
1131
1132
|
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 = Os(), q = xs(), C = rt(), m = dn(), g = Ps(), d = X(), S = Ls(), E = it(), O = st(), j = 1,
|
|
1133
|
-
h[I] = h[N] = h[wn] = h[Ln] = h[f] = h[x] = h[Fn] = h[Mn] = h[Kn] = h[
|
|
1133
|
+
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 = Os(), q = xs(), C = rt(), m = dn(), g = Ps(), d = X(), S = Ls(), E = it(), O = st(), j = 1, B = 2, k = 4, I = "[object Arguments]", N = "[object Array]", f = "[object Boolean]", x = "[object Date]", G = "[object Error]", ft = "[object Function]", Rn = "[object GeneratorFunction]", Sn = "[object Map]", En = "[object Number]", lt = "[object Object]", On = "[object RegExp]", jn = "[object Set]", xn = "[object String]", Dn = "[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 = {};
|
|
1134
|
+
h[I] = h[N] = h[wn] = h[Ln] = h[f] = h[x] = h[Fn] = h[Mn] = h[Kn] = h[Bn] = h[kn] = h[Sn] = h[En] = h[lt] = h[On] = h[jn] = h[xn] = h[Dn] = h[Nn] = h[Gn] = h[Un] = h[Hn] = !0, h[G] = h[ft] = h[Pn] = !1;
|
|
1134
1135
|
function Y(l, F, M, Vn, Q, D) {
|
|
1135
|
-
var A, Z = F & j, ee = F &
|
|
1136
|
+
var A, Z = F & j, ee = F & B, zn = F & k;
|
|
1136
1137
|
if (M && (A = Q ? M(l, Vn, Q, D) : M(l)), A !== void 0)
|
|
1137
1138
|
return A;
|
|
1138
1139
|
if (!d(l))
|
|
@@ -1181,7 +1182,7 @@ function Ms() {
|
|
|
1181
1182
|
return Jr = a, Jr;
|
|
1182
1183
|
}
|
|
1183
1184
|
var Ks = Ms();
|
|
1184
|
-
const
|
|
1185
|
+
const Bs = /* @__PURE__ */ ei(Ks), ks = (e, r, t) => {
|
|
1185
1186
|
const a = e === fn.TEXT ? r("settings.required-indicator-text") : "*", n = (s) => ({
|
|
1186
1187
|
stringValue: s
|
|
1187
1188
|
}), i = {
|
|
@@ -1201,7 +1202,7 @@ const ks = /* @__PURE__ */ ei(Ks), Bs = (e, r, t) => {
|
|
|
1201
1202
|
};
|
|
1202
1203
|
}, Ns = (e, r, t) => {
|
|
1203
1204
|
var n;
|
|
1204
|
-
const a =
|
|
1205
|
+
const a = Bs(e);
|
|
1205
1206
|
switch (r) {
|
|
1206
1207
|
case Qr.BEFORE_FIELD_TITLE:
|
|
1207
1208
|
const i = a == null ? void 0 : a.nodes.find(Boolean);
|
|
@@ -1223,7 +1224,7 @@ const ks = /* @__PURE__ */ ei(Ks), Bs = (e, r, t) => {
|
|
|
1223
1224
|
const { requiredIndicatorHidden: i = !1 } = n, s = Zr(), { label: o, required: u = !1, disabled: c = !1, requiredIndicatorType: v = fn.ASTERISK, requiredIndicatorPlacement: _ = Qr.AFTER_FIELD_TITLE } = s, { t: p } = ri(), { language: y } = ti(), q = Xn(() => {
|
|
1224
1225
|
if (!u || i || !o)
|
|
1225
1226
|
return o;
|
|
1226
|
-
const C =
|
|
1227
|
+
const C = ks(v, p, r);
|
|
1227
1228
|
return Ns(o, _, C);
|
|
1228
1229
|
}, [
|
|
1229
1230
|
u,
|
|
@@ -1291,14 +1292,14 @@ const Hs = "_label_1egzx_1", Vs = "_required_1egzx_33", cn = {
|
|
|
1291
1292
|
}, zs = ({ content: e, locale: r }) => /* @__PURE__ */ b.createElement($n, {
|
|
1292
1293
|
content: e,
|
|
1293
1294
|
locale: r
|
|
1294
|
-
}),
|
|
1295
|
+
}), uo = ({ classes: e = {
|
|
1295
1296
|
container: bi,
|
|
1296
1297
|
label: yi,
|
|
1297
1298
|
indicator: di
|
|
1298
1299
|
} }) => {
|
|
1299
1300
|
const r = Ai({
|
|
1300
1301
|
globalClasses: e.indicator,
|
|
1301
|
-
moduleClasses:
|
|
1302
|
+
moduleClasses: pi
|
|
1302
1303
|
});
|
|
1303
1304
|
return /* @__PURE__ */ b.createElement(T, null, /* @__PURE__ */ b.createElement(T.Checkbox, {
|
|
1304
1305
|
className: U(e.container, oe.checkbox)
|
|
@@ -1311,10 +1312,10 @@ const Hs = "_label_1egzx_1", Vs = "_required_1egzx_33", cn = {
|
|
|
1311
1312
|
content: t
|
|
1312
1313
|
}))), /* @__PURE__ */ b.createElement(T.Error, {
|
|
1313
1314
|
className: U(qi, oe.error)
|
|
1314
|
-
}, /* @__PURE__ */ b.createElement(
|
|
1315
|
+
}, /* @__PURE__ */ b.createElement(hi, null), /* @__PURE__ */ b.createElement(T.Error.Text, null)), /* @__PURE__ */ b.createElement(T.Description, {
|
|
1315
1316
|
className: U(Ci, oe.description)
|
|
1316
1317
|
}, zs));
|
|
1317
1318
|
};
|
|
1318
1319
|
export {
|
|
1319
|
-
|
|
1320
|
+
uo as C
|
|
1320
1321
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import i, { useMemo as
|
|
1
|
+
import i, { useMemo as F, useCallback as _, useRef as P, useState as w, useEffect as U } from "react";
|
|
2
2
|
import { CheckboxGroup as W, CheckboxField as A, CheckboxButton as j, TextField as z, Input as J } from "react-aria-components";
|
|
3
3
|
import { debounce as K } from "ts-debounce";
|
|
4
|
-
import { ai as N, af as Q, as as X, ab as Y, ak as Z } from "./form-
|
|
5
|
-
import { f as L, a as
|
|
6
|
-
import { D as ee, E as te } from "./field-error-headless-
|
|
7
|
-
import { L as ae } from "./field-label-headless-
|
|
8
|
-
import { F as
|
|
9
|
-
import { N as
|
|
10
|
-
import {
|
|
4
|
+
import { ai as N, af as Q, as as X, ab as Y, ak as Z } from "./form-1k13yOes.js";
|
|
5
|
+
import { f as L, a as k } from "./find-child-C60k4CxG.js";
|
|
6
|
+
import { D as ee, E as te } from "./field-error-headless-Lb5aaoR3.js";
|
|
7
|
+
import { L as ae } from "./field-label-headless-C1VDQVhB.js";
|
|
8
|
+
import { F as ne } from "./fieldset-headless-CD3fds9J.js";
|
|
9
|
+
import { N as se } from "./options-layout-constants-DEfIEJWD.js";
|
|
10
|
+
import { S as le } from "./selection-indicator-XQ8MYHUQ.js";
|
|
11
11
|
const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e.length > 0 && oe(e, t), re = (e, t) => {
|
|
12
12
|
const o = t == null ? void 0 : t("add-other.default-other-option-label");
|
|
13
13
|
return e || o || R;
|
|
14
14
|
}, T = (e, t) => {
|
|
15
|
-
const
|
|
16
|
-
return (e.find((r) => r.startsWith(`${t}: `)) || "").slice(
|
|
15
|
+
const n = t ? t.length + 2 : 0;
|
|
16
|
+
return (e.find((r) => r.startsWith(`${t}: `)) || "").slice(n);
|
|
17
17
|
}, D = (e) => e.map((t) => t.value ?? t.label), C = ({ children: e }) => {
|
|
18
|
-
const t = N(), { id: o, value:
|
|
19
|
-
|
|
18
|
+
const t = N(), { id: o, value: n, onChange: a, disabled: r, required: u, onBlur: I, onFocus: b, hasError: p, FieldLayout: c } = t, { inputId: f, labelId: d, ariaDescribedBy: l } = Q(), O = L(e, C.Label), h = L(e, C.Options), g = L(e, C.Description), v = L(e, C.Error), s = F(() => n || [], [
|
|
19
|
+
n
|
|
20
20
|
]), E = _((V) => {
|
|
21
21
|
a == null || a(V);
|
|
22
22
|
}, [
|
|
@@ -25,7 +25,7 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
25
25
|
return /* @__PURE__ */ i.createElement(c, {
|
|
26
26
|
fieldId: o,
|
|
27
27
|
renderLabel: () => O,
|
|
28
|
-
renderInput: () => /* @__PURE__ */ i.createElement(
|
|
28
|
+
renderInput: () => /* @__PURE__ */ i.createElement(ne, {
|
|
29
29
|
id: f,
|
|
30
30
|
ariaLabelledBy: d,
|
|
31
31
|
ariaDescribedBy: l,
|
|
@@ -34,7 +34,7 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
34
34
|
onFocus: b
|
|
35
35
|
}, /* @__PURE__ */ i.createElement(W, {
|
|
36
36
|
"aria-labelledby": d,
|
|
37
|
-
value:
|
|
37
|
+
value: s,
|
|
38
38
|
onChange: E,
|
|
39
39
|
isDisabled: r,
|
|
40
40
|
isRequired: u,
|
|
@@ -43,20 +43,20 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
43
43
|
renderDescription: () => /* @__PURE__ */ i.createElement(i.Fragment, null, v, g)
|
|
44
44
|
});
|
|
45
45
|
}, $ = ({ children: e, className: t }) => {
|
|
46
|
-
const o = N(), { id:
|
|
46
|
+
const o = N(), { id: n, options: a, addOther: r, addOtherLabel: u, numberOfColumns: I } = o, { t: b } = X(), { isMobile: p } = Y(), c = L(e, $.Option), f = re(u, b), d = p ? se.ONE : I;
|
|
47
47
|
return /* @__PURE__ */ i.createElement("div", {
|
|
48
48
|
className: t,
|
|
49
49
|
"data-columns": d
|
|
50
50
|
}, a == null ? void 0 : a.map((l, O) => {
|
|
51
51
|
const h = l.value ?? l.label;
|
|
52
|
-
return
|
|
52
|
+
return k(c, {
|
|
53
53
|
key: l.id || l.label,
|
|
54
54
|
value: h,
|
|
55
55
|
label: l.label,
|
|
56
56
|
isFirst: O === 0,
|
|
57
|
-
fieldId:
|
|
57
|
+
fieldId: n
|
|
58
58
|
});
|
|
59
|
-
}), r &&
|
|
59
|
+
}), r && k(c, {
|
|
60
60
|
key: R,
|
|
61
61
|
value: R,
|
|
62
62
|
label: f,
|
|
@@ -67,25 +67,25 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
67
67
|
return /* @__PURE__ */ i.createElement("span", {
|
|
68
68
|
className: e
|
|
69
69
|
}, o);
|
|
70
|
-
},
|
|
71
|
-
const { value:
|
|
70
|
+
}, x = ({ children: e, className: t, ...o }) => {
|
|
71
|
+
const { value: n, label: a, isFirst: r = !1, isOther: u = !1, fieldId: I } = o, b = N(), { value: p, onChange: c, disabled: f, readOnly: d, hasError: l, options: O } = b, h = P(null);
|
|
72
72
|
Z(() => {
|
|
73
73
|
var m;
|
|
74
74
|
r && ((m = h.current) == null || m.focus({
|
|
75
75
|
preventScroll: !0
|
|
76
76
|
}));
|
|
77
77
|
}, I);
|
|
78
|
-
const g = L(e,
|
|
78
|
+
const g = L(e, x.Label), v = L(e, x.Input), s = F(() => p || [], [
|
|
79
79
|
p
|
|
80
|
-
]), E =
|
|
80
|
+
]), E = F(() => u ? s.find((m) => m === a || m.startsWith(`${a}: `)) || a : n, [
|
|
81
81
|
u,
|
|
82
|
-
|
|
82
|
+
s,
|
|
83
83
|
a,
|
|
84
|
-
|
|
84
|
+
n
|
|
85
85
|
]), V = _((m) => {
|
|
86
86
|
if (!u)
|
|
87
87
|
return;
|
|
88
|
-
const y = D(O || []), S =
|
|
88
|
+
const y = D(O || []), S = s.filter((H) => y.includes(H)), G = m ? [
|
|
89
89
|
...S,
|
|
90
90
|
a
|
|
91
91
|
] : S;
|
|
@@ -95,7 +95,7 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
95
95
|
a,
|
|
96
96
|
c,
|
|
97
97
|
O,
|
|
98
|
-
|
|
98
|
+
s
|
|
99
99
|
]);
|
|
100
100
|
return /* @__PURE__ */ i.createElement(A, {
|
|
101
101
|
value: E,
|
|
@@ -107,62 +107,62 @@ const R = "Other", oe = (e, t) => e.some((o) => !t.includes(o)), B = (e, t) => e
|
|
|
107
107
|
ref: h,
|
|
108
108
|
className: t,
|
|
109
109
|
"data-hook": `checkbox-${a}`
|
|
110
|
-
}, ({ isSelected: m, isHovered: y }) => /* @__PURE__ */ i.createElement(i.Fragment, null,
|
|
110
|
+
}, ({ isSelected: m, isHovered: y }) => /* @__PURE__ */ i.createElement(i.Fragment, null, k(v, {
|
|
111
111
|
isSelected: m,
|
|
112
112
|
isHovered: y
|
|
113
|
-
}),
|
|
113
|
+
}), k(g, {
|
|
114
114
|
label: a
|
|
115
115
|
}))));
|
|
116
116
|
};
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
x.Label = ce;
|
|
118
|
+
x.Input = le;
|
|
119
119
|
const M = ({ children: e, ...t }) => {
|
|
120
|
-
const { value: o, label:
|
|
120
|
+
const { value: o, label: n, isFirst: a = !1, isOther: r = !1, fieldId: u } = t, I = N(), { value: b, onChange: p, options: c, addOtherPlaceholder: f, otherInputCharacterLimit: d, disabled: l, readOnly: O, hasError: h } = I, g = L(e, x), v = L(e, q), s = F(() => b || [], [
|
|
121
121
|
b
|
|
122
|
-
]), E =
|
|
122
|
+
]), E = F(() => {
|
|
123
123
|
if (!r)
|
|
124
124
|
return !1;
|
|
125
125
|
const V = D(c || []);
|
|
126
|
-
return B(
|
|
126
|
+
return B(s, V);
|
|
127
127
|
}, [
|
|
128
128
|
r,
|
|
129
|
-
|
|
129
|
+
s,
|
|
130
130
|
c
|
|
131
131
|
]);
|
|
132
|
-
return /* @__PURE__ */ i.createElement(i.Fragment, null,
|
|
132
|
+
return /* @__PURE__ */ i.createElement(i.Fragment, null, k(g, {
|
|
133
133
|
value: o,
|
|
134
|
-
label:
|
|
134
|
+
label: n,
|
|
135
135
|
isFirst: a,
|
|
136
136
|
isOther: r,
|
|
137
137
|
fieldId: u
|
|
138
|
-
}), r && E &&
|
|
139
|
-
fieldValue:
|
|
138
|
+
}), r && E && k(v, {
|
|
139
|
+
fieldValue: s,
|
|
140
140
|
onChange: p,
|
|
141
|
-
label:
|
|
141
|
+
label: n,
|
|
142
142
|
placeholder: f,
|
|
143
143
|
maxLength: d,
|
|
144
144
|
disabled: l,
|
|
145
145
|
readOnly: O,
|
|
146
146
|
hasError: h,
|
|
147
|
-
ariaLabel:
|
|
148
|
-
addOtherLabel:
|
|
147
|
+
ariaLabel: n,
|
|
148
|
+
addOtherLabel: n,
|
|
149
149
|
options: c
|
|
150
150
|
}));
|
|
151
151
|
}, q = ({ className: e, inputClassName: t, ...o }) => {
|
|
152
|
-
const { fieldValue:
|
|
153
|
-
const
|
|
154
|
-
return B(
|
|
152
|
+
const { fieldValue: n, onChange: a, label: r, placeholder: u, maxLength: I, disabled: b, readOnly: p, hasError: c, ariaLabel: f, addOtherLabel: d, options: l } = o, [O, h] = w(() => {
|
|
153
|
+
const s = D(l || []);
|
|
154
|
+
return B(n, s) ? T(n, d) : "";
|
|
155
155
|
});
|
|
156
156
|
U(() => {
|
|
157
|
-
const
|
|
158
|
-
h(E ? T(
|
|
157
|
+
const s = D(l || []), E = B(n, s);
|
|
158
|
+
h(E ? T(n, d) : "");
|
|
159
159
|
}, [
|
|
160
|
-
|
|
160
|
+
n,
|
|
161
161
|
l,
|
|
162
162
|
d
|
|
163
163
|
]);
|
|
164
|
-
const g =
|
|
165
|
-
const E = D(l || []), V =
|
|
164
|
+
const g = F(() => K((s) => {
|
|
165
|
+
const E = D(l || []), V = n.filter((S) => E.includes(S)), m = s ? `${d}: ${s}` : r, y = [
|
|
166
166
|
...V,
|
|
167
167
|
m
|
|
168
168
|
];
|
|
@@ -170,11 +170,11 @@ const M = ({ children: e, ...t }) => {
|
|
|
170
170
|
}, 500), [
|
|
171
171
|
a,
|
|
172
172
|
l,
|
|
173
|
-
|
|
173
|
+
n,
|
|
174
174
|
d,
|
|
175
175
|
r
|
|
176
|
-
]), v = _((
|
|
177
|
-
h(
|
|
176
|
+
]), v = _((s) => {
|
|
177
|
+
h(s), g(s);
|
|
178
178
|
}, [
|
|
179
179
|
g
|
|
180
180
|
]);
|
|
@@ -196,7 +196,7 @@ const M = ({ children: e, ...t }) => {
|
|
|
196
196
|
C.Label = ae;
|
|
197
197
|
C.Options = $;
|
|
198
198
|
$.Option = M;
|
|
199
|
-
M.Checkbox =
|
|
199
|
+
M.Checkbox = x;
|
|
200
200
|
M.OtherInput = q;
|
|
201
201
|
C.Description = ee;
|
|
202
202
|
C.Error = te;
|
package/dist/component/{checkbox-group-field-rac-D2mXFpmR.js → checkbox-group-field-rac-DbaB5Fx6.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as n } 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-6hzWQkif.js";
|
|
5
5
|
import { E as m } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { C as c } from "./checkbox-indicator-module-classes-
|
|
7
|
-
import { s } from "./field-rac.module-
|
|
8
|
-
import { z as i, P as E, c as p, e as O, y as C, p as _, i as L, d as R } from "./form-element-classes-
|
|
6
|
+
import { C as c } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
|
|
7
|
+
import { s } from "./field-rac.module-ColNPUt0.js";
|
|
8
|
+
import { z as i, P as E, c as p, e as O, y as C, p as _, i as L, d as R } from "./form-element-classes-BuM-vthE.js";
|
|
9
9
|
import { o as r } from "./options-rac.module-KM-VT_KY.js";
|
|
10
|
-
import { u as I } from "./use-element-state-class-name-
|
|
10
|
+
import { u as I } from "./use-element-state-class-name-DkaI8J4Y.js";
|
|
11
11
|
const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(n, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|