@wix/form-elements 1.202.0 → 1.203.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-MPrQ8vKC.js → appointment-rac-C41tzn0z.js} +4 -4
- package/dist/component/{bookings-address-rac-6Fmf64Tg.js → bookings-address-rac-CjQNpDLk.js} +1 -1
- package/dist/component/{bookings-email-rac-CoiGxsTl.js → bookings-email-rac-DjsSfxyi.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CoPpcVaf.js → bookings-first-name-rac-YeDMv5kW.js} +1 -1
- package/dist/component/{bookings-header-rac-ClDhsH-h.js → bookings-header-rac-BC-SniwJ.js} +1 -1
- package/dist/component/{bookings-last-name-rac-D75uPJPv.js → bookings-last-name-rac-XCw9TTc8.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CVCdTM6b.js → bookings-login-bar-rac-DwHFVqVa.js} +1 -1
- package/dist/component/{bookings-phone-rac-CPuA7gq4.js → bookings-phone-rac-B7AOr4gd.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-ffVPwLb6.js → bookings-rich-text-rac-CJNRr38P.js} +1 -1
- package/dist/component/{checkbox-field-rac-CDewrGFL.js → checkbox-field-rac-DD7xW9uR.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-L7X89Xtw.js → checkbox-group-field-headless-CytYkljK.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-zGeaOERn.js → checkbox-group-field-rac-DMHrNEoa.js} +4 -4
- package/dist/component/{checkbox-group-rac-Cty24lhf.js → checkbox-group-rac-Ccowfb4b.js} +1 -1
- package/dist/component/{checkbox-rac-fgVkx-pX.js → checkbox-rac-WVR6Kj0d.js} +1 -1
- package/dist/component/{contacts-address-rac-BnXIiHYe.js → contacts-address-rac-D4x9hVmq.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-CFFEMgLU.js → contacts-birthdate-rac-CmqDRVf9.js} +1 -1
- package/dist/component/{contacts-company-rac-DA3QYt8o.js → contacts-company-rac-DpgBSbBC.js} +1 -1
- package/dist/component/{contacts-email-rac-CKZzTrUm.js → contacts-email-rac-v2-O2Jrm.js} +1 -1
- package/dist/component/{contacts-first-name-rac-B8ikxu01.js → contacts-first-name-rac-DXZmyqro.js} +1 -1
- package/dist/component/{contacts-last-name-rac-D4OsH0xC.js → contacts-last-name-rac-BQXCHLoD.js} +1 -1
- package/dist/component/{contacts-phone-rac-DidjALWG.js → contacts-phone-rac-CX9XWVOY.js} +1 -1
- package/dist/component/{contacts-position-rac-57nhEJqR.js → contacts-position-rac-BcGnAfmc.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CwXS7beR.js → contacts-subscribe-rac-CEdN_7nH.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DYBYEiS1.js → contacts-tax-id-rac-CcMtLzBF.js} +1 -1
- package/dist/component/{date-availability-DOYqx7Qb.js → date-availability-4fUCmC5_.js} +1 -1
- package/dist/component/{date-input-field-rac-C8bhxkHj.js → date-input-field-rac-SBNgud4Q.js} +6 -6
- package/dist/component/{date-input-rac-CK7mV6k8.js → date-input-rac-ClxCVcq3.js} +1 -1
- package/dist/component/{date-picker-field-rac-BB33xPdS.js → date-picker-field-rac-BTOkEfqp.js} +6 -6
- package/dist/component/{date-picker-rac-CouPjLU3.js → date-picker-rac-BELBKUt2.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Cz2w_QLY.js → date-time-input-field-rac-YIJJw8bR.js} +6 -6
- package/dist/component/{date-time-input-rac-CcXOPJJq.js → date-time-input-rac-CgMbhwIt.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-Bbcd02Xo.js → dext-checkbox-group-rac-stJXfg9R.js} +2 -2
- package/dist/component/{dext-checkbox-rac-bsZf7nIe.js → dext-checkbox-rac-CAy80E54.js} +1 -1
- package/dist/component/{dext-date-picker-rac-D0pVhfpU.js → dext-date-picker-rac-x5oMdRSh.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BNUhPQJJ.js → dext-date-time-input-rac-Bu3D8xQZ.js} +1 -1
- package/dist/component/{dext-dropdown-rac-CrD7Ke4F.js → dext-dropdown-rac-asDPyUe5.js} +1 -1
- package/dist/component/{dext-email-rac-lhJr3YHl.js → dext-email-rac-BjWErYg9.js} +1 -1
- package/dist/component/{dext-number-input-rac-D-4WoYny.js → dext-number-input-rac-uXyzx_qV.js} +1 -1
- package/dist/component/{dext-phone-rac-B1xVrps3.js → dext-phone-rac-CzYe_2NU.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DDh_3TNt.js → dext-radio-group-rac-BWkd10A0.js} +2 -2
- package/dist/component/{dext-rating-input-rac-ZzGj428u.js → dext-rating-input-rac-Dc2FMoQ0.js} +1 -1
- package/dist/component/{dext-tags-rac-Do9CpruN.js → dext-tags-rac-yP703juq.js} +2 -2
- package/dist/component/{dext-text-area-rac-hpzuWb5-.js → dext-text-area-rac-jSh0fFmL.js} +1 -1
- package/dist/component/{dext-text-input-rac-BKfxG-2f.js → dext-text-input-rac-Dp18WKQ0.js} +1 -1
- package/dist/component/{dext-url-input-rac-Bs5jKZD-.js → dext-url-input-rac-D0gvFlmB.js} +1 -1
- package/dist/component/{donation-rac-bIjvRlSW.js → donation-rac-CeCXDIty.js} +5 -5
- package/dist/component/{dropdown-field-rac-DQ1FIW2t.js → dropdown-field-rac-CRZxe4W0.js} +3 -3
- package/dist/component/{dropdown-rac-BmFLRsty.js → dropdown-rac-COvTC11S.js} +1 -1
- package/dist/component/{ecom-address-rac-CcBylQPe.js → ecom-address-rac-Dxlse53g.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-B8opqTyq.js → ecom-subscription-checkbox-rac-C_keoA-f.js} +2 -2
- package/dist/component/{email-input-field-rac-C30VD2_N.js → email-input-field-rac-D_SdJmBe.js} +3 -3
- package/dist/component/{events-repeater-rac-Cd67wAtY.js → events-repeater-rac-CG_Nmage.js} +4 -4
- package/dist/component/{events-rsvp-rac-BNK-Y21H.js → events-rsvp-rac-CuZgJ3cc.js} +3 -3
- package/dist/component/{field-error-headless-DCgekYoH.js → field-error-headless-DB3yZ9t8.js} +1 -1
- package/dist/component/{field-label-headless-CgSIAec5.js → field-label-headless-DZBD2ANb.js} +1 -1
- package/dist/component/{file-upload-rac-ChzqRfx9.js → file-upload-rac-Di7YiAsU.js} +4 -4
- package/dist/component/{fixed-payment-rac-C6nXFbyo.js → fixed-payment-rac-r-wv8Wkc.js} +3 -3
- package/dist/component/{form-yCIPNL-j.js → form-DaQFf7ME.js} +71 -71
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BRLIrloU.js → header-field-rac-CL5SiRZe.js} +2 -2
- package/dist/component/{header-rac-DGLMvfS4.js → header-rac-D3GApu6b.js} +1 -1
- package/dist/component/{image-choice-rac-qbWoVRpq.js → image-choice-rac-DF59zbrq.js} +4 -4
- package/dist/component/{index-BshHmXJv.js → index-CgjftO_q.js} +4 -4
- package/dist/component/{index-CZSEv3Zu.js → index-GdTC5HA4.js} +2 -2
- package/dist/component/{isObjectLike-DqicBJ4D.js → isObjectLike-IfVCQyaX.js} +1 -1
- package/dist/component/{messages_fi-B1CQUfTD.js → messages_fi-58CrIVp3.js} +1 -1
- package/dist/component/{messages_hu-QTBg0ESv.js → messages_hu-CssOqG46.js} +1 -1
- package/dist/component/{multiline-address-field-rac-VQHkkrW3.js → multiline-address-field-rac-CIT5My4O.js} +7 -7
- package/dist/component/{multiline-address-rac-BN5GdRVK.js → multiline-address-rac-BHIzECV3.js} +1 -1
- package/dist/component/{number-input-field-rac-BphqqLH3.js → number-input-field-rac-DnLdlbue.js} +4 -4
- package/dist/component/{number-input-rac-Bxs_jfJt.js → number-input-rac-CGqTRh6V.js} +1 -1
- package/dist/component/{password-rac-DVbCZ3M_.js → password-rac-RAs652Em.js} +4 -4
- package/dist/component/{payment-input-rac-C_uIu1yx.js → payment-input-rac-BM2HiFlA.js} +4 -4
- package/dist/component/{phone-input-field-rac-ByBfKJP0.js → phone-input-field-rac-BGBSBC6a.js} +6 -6
- package/dist/component/{phone-rac-DS2Bz0cn.js → phone-rac-BFn6bzL1.js} +1 -1
- package/dist/component/{product-list-rac-BU5YjeXG.js → product-list-rac-DpLic3LA.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-Cb-2u0W1.js → quiz-radio-group-rac-CZu1diQu.js} +1 -1
- package/dist/component/{radio-button-module-classes-CEoe0CJH.js → radio-button-module-classes-BqD_FLmx.js} +3 -3
- package/dist/component/{radio-group-field-rac-JR5HjPOQ.js → radio-group-field-rac-CQNVx5Dr.js} +4 -4
- package/dist/component/{radio-group-rac-0AyENO51.js → radio-group-rac-B2yvrsuX.js} +1 -1
- package/dist/component/{rating-input-field-rac-BT_YT8pp.js → rating-input-field-rac-CECZC0wF.js} +4 -4
- package/dist/component/{rating-input-rac-gigm_a2N.js → rating-input-rac-BoSriyja.js} +1 -1
- package/dist/component/{rich-content-rac.module-B2W94PLb.js → rich-content-rac.module-DBgGIR5Z.js} +1 -1
- package/dist/component/{rich-text-field-rac-7-eb1ku4.js → rich-text-field-rac-CZZyUDj9.js} +2 -2
- package/dist/component/{rich-text-rac-C5dVK83L.js → rich-text-rac-BhbQLGdV.js} +1 -1
- package/dist/component/{service-dropdown-rac-D-5YV4kx.js → service-dropdown-rac-DFKT8Svt.js} +4 -4
- package/dist/component/{services-multi-choice-rac-C8N5EjlZ.js → services-multi-choice-rac-BFRudFpY.js} +5 -5
- package/dist/component/{signature-rac-CLajrdxk.js → signature-rac-1LpSqe1q.js} +4 -4
- package/dist/component/{submit-button-rac-2_XWZcWn.js → submit-button-rac-DBnXoF0_.js} +2 -2
- package/dist/component/{tags-field-rac-B-TE31Wj.js → tags-field-rac-D3iHL93s.js} +5 -5
- package/dist/component/{tags-rac-CFqoVm3K.js → tags-rac-C4wTMp5w.js} +1 -1
- package/dist/component/{text-area-field-rac-Dv1MVTD6.js → text-area-field-rac-DGooHUdx.js} +4 -4
- package/dist/component/{text-area-rac-lqoO-ZWH.js → text-area-rac-BL0CsxCN.js} +1 -1
- package/dist/component/{text-input-field-rac-CYo9-kbq.js → text-input-field-rac-BPtyapZF.js} +3 -3
- package/dist/component/{text-input-headless-EhDpch_r.js → text-input-headless-CVXKJsH_.js} +3 -3
- package/dist/component/{text-input-rac-B_hnPh70.js → text-input-rac-BJ2fuX1L.js} +1 -1
- package/dist/component/{time-input-rac-CkF3fHAD.js → time-input-rac-9JtU6vag.js} +4 -4
- package/dist/component/{url-input-field-rac-FjwKQGCf.js → url-input-field-rac-DhfiIqZR.js} +4 -4
- package/dist/component/{url-input-rac-BInpyo5B.js → url-input-rac-RBi-GA6G.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BY1kGQj-.js → use-dropdown-option-class-name-BdHhI0rL.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-Ol_ZzEJb.js → use-dropdown-trigger-class-name-CU4J3Guk.js} +6 -6
- package/dist/component/{use-element-state-class-name-mJO7BA2X.js → use-element-state-class-name-BmNailGN.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-D93YSbsL.js → use-hoverable-input-class-name-Bqruo3RU.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-B1UHvZTS.js → use-is-forced-open-dropdown-CTko5OAC.js} +1 -1
- package/dist/component/{use-service-options-base-DUOB6tDI.js → use-service-options-base-DCACawNB.js} +1 -1
- package/dist/component/use-text-input-class-name-B-FMZjKL.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-HRBkXcXS.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as S, useState as B, useEffect as H, useCallback as P } from "react";
|
|
2
2
|
import { RadioGroup as k, RadioField as A, RadioButton as G, TextField as $, Input as q } from "react-aria-components";
|
|
3
|
-
import { bM as g, bJ as x, bV as M, bX as D, bO as U } from "./form-
|
|
3
|
+
import { bM as g, bJ as x, bV as M, bX as D, bO as U } from "./form-DaQFf7ME.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as J, E as K } from "./field-error-headless-
|
|
6
|
-
import { L as X } from "./field-label-headless-
|
|
5
|
+
import { D as J, E as K } from "./field-error-headless-DB3yZ9t8.js";
|
|
6
|
+
import { L as X } from "./field-label-headless-DZBD2ANb.js";
|
|
7
7
|
import { S as j } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), F = (e, t) => !!t && !w(e, t), z = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-JR5HjPOQ.js → radio-group-field-rac-CQNVx5Dr.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { a, s, R as n } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as n } from "./radio-button-module-classes-BqD_FLmx.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DcyJyi2B.js";
|
|
7
|
-
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-
|
|
7
|
+
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-DaQFf7ME.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as N } from "./use-element-state-class-name-
|
|
10
|
-
import { u } from "./use-text-input-class-name-
|
|
9
|
+
import { u as N } from "./use-element-state-class-name-BmNailGN.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-BT_YT8pp.js → rating-input-field-rac-CECZC0wF.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as O, useState as A, useRef as M } from "react";
|
|
4
|
-
import { bM as S, bJ as I, bV as T, bX as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-
|
|
4
|
+
import { bM as S, bJ as I, bV as T, bX as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-DaQFf7ME.js";
|
|
5
5
|
import { RadioGroup as x, RadioField as U, RadioButton as X } from "react-aria-components";
|
|
6
6
|
import { f as E, a as z } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as J, E as K } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as J, E as K } from "./field-error-headless-DB3yZ9t8.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-DZBD2ANb.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as p } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-BmNailGN.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: o, onBlur: c, onFocus: g, FieldLayout: R } = S(), { labelId: _, ariaDescribedBy: L } = I(), s = O((D) => i(Number(D)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-B2W94PLb.js → rich-content-rac.module-DBgGIR5Z.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bM as a, bE as i, bX as T } from "./form-
|
|
2
|
+
import { bM as a, bE as i, bX as T } from "./form-DaQFf7ME.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
4
|
import { D as r } from "./data-hooks-Dkw1pbRj.js";
|
|
5
5
|
import { truncateRichContent as _ } from "@wix/ricos/content";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bM as m, aY as i, aG as u, bn as R, bq as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { bM as m, aY as i, aG as u, bn as R, bq as T } from "./form-DaQFf7ME.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-DBgGIR5Z.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-D-5YV4kx.js → service-dropdown-rac-DFKT8Svt.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import o, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bI as P, bX as A, F as M, bM as y, bE as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u, u as X } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bI as P, bX as A, F as M, bM as y, bE as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-DaQFf7ME.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DCACawNB.js";
|
|
6
|
+
import { D as u, u as X } from "./use-dropdown-trigger-class-name-CU4J3Guk.js";
|
|
7
7
|
import { C as J } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-BdHhI0rL.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
|
|
13
13
|
const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, bM as d, aN as D, X as N, am as F, p as f, r as h, M, I as b, q as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, bM as d, aN as D, X as N, am as F, p as f, r as h, M, I as b, q as A } from "./form-DaQFf7ME.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DCACawNB.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CytYkljK.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DcyJyi2B.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-BmNailGN.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useS
|
|
|
2
2
|
import Fe from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as we } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { be as xe, bG as Le, aR as Ue, F as Be, bI as Oe, bE as Pe, bU as Te, E as me, aH as oe, bM as x, bJ as W, bO as Ie, bX as Me, bF as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-
|
|
5
|
+
import { be as xe, bG as Le, aR as Ue, F as Be, bI as Oe, bE as Pe, bU as Te, E as me, aH as oe, bM as x, bJ as W, bO as Ie, bX as Me, bF as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-DaQFf7ME.js";
|
|
6
6
|
import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
|
|
7
7
|
import { RadioGroup as nt, Button as Ce, TextField as at, DropZone as ot, Input as st, FileTrigger as rt, RadioField as lt, RadioButton as it } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as C, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as ct, E as ut } from "./field-error-headless-
|
|
11
|
-
import { L as dt } from "./field-label-headless-
|
|
10
|
+
import { D as ct, E as ut } from "./field-error-headless-DB3yZ9t8.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-DZBD2ANb.js";
|
|
12
12
|
import { D as mt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as pt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DcyJyi2B.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-BmNailGN.js";
|
|
16
16
|
const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Le().signature) == null ? void 0 : o.signatureMode, a = Se(Ue);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as X, useCallback as y } from "react";
|
|
2
2
|
import G from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bM as b, bG as J, aF as K, aE as $, aC as j, aB as q, aK as z, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-
|
|
4
|
+
import { bM as b, bG as J, aF as K, aE as $, aC as j, aB as q, aK as z, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-DaQFf7ME.js";
|
|
5
5
|
import { ProgressBar as nt, Button as w } from "react-aria-components";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-BmNailGN.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as J } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useRef as S, useMemo as I, useState as K, useLayoutEffect as Q, useCallback as N } from "react";
|
|
4
4
|
import { CheckboxGroup as w, TextField as z, Input as B, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bM as y, bJ as M, bV as U, bX as T, bO as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-
|
|
5
|
+
import { bM as y, bJ as M, bV as U, bX as T, bO as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-DaQFf7ME.js";
|
|
6
6
|
import { f, a as k } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as W, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-DB3yZ9t8.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-DZBD2ANb.js";
|
|
9
9
|
import { F as le } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as ie } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as D } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as ce } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ue } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ce } from "./use-element-state-class-name-BmNailGN.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
14
14
|
var de = /* @__PURE__ */ (function(e) {
|
|
15
15
|
return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
|
|
16
16
|
})({});
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as S } from "react";
|
|
4
4
|
import { TextField as T, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bM as p, bJ as d, bO as x, bV as h, X as M, am as g, M as v, I as q } from "./form-
|
|
5
|
+
import { bM as p, bJ as d, bO as x, bV as h, X as M, am as g, M as v, I as q } from "./form-DaQFf7ME.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as V } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as V } from "./field-error-headless-DB3yZ9t8.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-DZBD2ANb.js";
|
|
9
9
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as w } from "./use-text-input-class-name-
|
|
11
|
+
import { u as w } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: n, disabled: u, required: s, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = O((A) => {
|
|
14
14
|
n(A);
|
package/dist/component/{text-input-field-rac-CYo9-kbq.js → text-input-field-rac-BPtyapZF.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RicosViewer as l } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { T as r } from "./text-input-headless-
|
|
4
|
+
import { T as r } from "./text-input-headless-CVXKJsH_.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DcyJyi2B.js";
|
|
7
|
-
import { X as n, am as c, M as E, I as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { X as n, am as c, M as E, I as i } from "./form-DaQFf7ME.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
9
9
|
const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import n, { useRef as v } from "react";
|
|
2
2
|
import { TextField as C, Input as R } from "react-aria-components";
|
|
3
|
-
import { bM as d, bJ as p, bO as h, bV as O } from "./form-
|
|
3
|
+
import { bM as d, bJ as p, bO as h, bV as O } from "./form-DaQFf7ME.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as T, E as g } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as g } from "./field-error-headless-DB3yZ9t8.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DZBD2ANb.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: l, onChange: i, disabled: u, readOnly: t, required: o, hasError: c, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = d(), { labelId: I } = p(), F = a(r, e.Label), y = a(r, e.Input), D = a(r, e.Description), L = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ n.createElement(E, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
|
|
6
|
-
import { bM as p, bJ as X, bX as T, bO as j, X as J, am as Q, M as z, I as G } from "./form-
|
|
6
|
+
import { bM as p, bJ as X, bX as T, bO as j, X as J, am as Q, M as z, I as G } from "./form-DaQFf7ME.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as K, E as W } from "./field-error-headless-
|
|
9
|
-
import { L as Y } from "./field-label-headless-
|
|
8
|
+
import { D as K, E as W } from "./field-error-headless-DB3yZ9t8.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-DZBD2ANb.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as S } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as f } from "./field-rac.module-DcyJyi2B.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = X(), R = V((M) => {
|
|
16
16
|
const H = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as h } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as N, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bM as d, bJ as E, bO as M, bV as v, X as B, am as P, M as T, I as g } from "./form-
|
|
5
|
+
import { bM as d, bJ as E, bO as M, bV as v, X as B, am as P, M as T, I as g } from "./form-DaQFf7ME.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as k, E as q } from "./field-error-headless-
|
|
8
|
-
import { L as x } from "./field-label-headless-
|
|
7
|
+
import { D as k, E as q } from "./field-error-headless-DB3yZ9t8.js";
|
|
8
|
+
import { L as x } from "./field-label-headless-DZBD2ANb.js";
|
|
9
9
|
import { u as U } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as V } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-B-FMZjKL.js";
|
|
13
13
|
const W = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: a, onChange: l, disabled: m, readOnly: s, required: n, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = U(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = N(() => {
|
|
15
15
|
l(W(a)), p();
|
|
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as L, useState as m, Children as N, useLayou
|
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as M } from "react-aria-components";
|
|
3
3
|
import P from "classnames";
|
|
4
4
|
import { s as h } from "./field-rac.module-DcyJyi2B.js";
|
|
5
|
-
import { K as T } from "./form-
|
|
6
|
-
import { u as H } from "./use-element-state-class-name-
|
|
5
|
+
import { K as T } from "./form-DaQFf7ME.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-BmNailGN.js";
|
|
7
7
|
const R = 1 / 0, I = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import e, { useState as F, useCallback as v, useRef as H } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as $ } from "react-aria";
|
|
3
3
|
import { VisuallyHidden as k, Select as G, SelectValue as J, ListBoxItem as U } from "react-aria-components";
|
|
4
|
-
import { bM as b, bJ as D, bX as W, bO as X, L as Y } from "./form-
|
|
4
|
+
import { bM as b, bJ as D, bX as W, bO as X, L as Y } from "./form-DaQFf7ME.js";
|
|
5
5
|
import { f as d, a as L } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as j, E as z } from "./field-error-headless-
|
|
7
|
-
import { L as K } from "./field-label-headless-
|
|
6
|
+
import { D as j, E as z } from "./field-error-headless-DB3yZ9t8.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-DZBD2ANb.js";
|
|
8
8
|
import { E as Q, S as Z, N as ee } from "./non-modal-popover-D-u13tmp.js";
|
|
9
|
-
import { b as te } from "./use-is-forced-open-dropdown-
|
|
10
|
-
import { V as ne } from "./use-dropdown-option-class-name-
|
|
11
|
-
import { u as re } from "./use-hoverable-input-class-name-
|
|
9
|
+
import { b as te } from "./use-is-forced-open-dropdown-CTko5OAC.js";
|
|
10
|
+
import { V as ne } from "./use-dropdown-option-class-name-BdHhI0rL.js";
|
|
11
|
+
import { u as re } from "./use-hoverable-input-class-name-Bqruo3RU.js";
|
|
12
12
|
const r = ({ children: t }) => {
|
|
13
13
|
const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: n, placeholder: m, disabled: i, required: p, onBlur: C, onFocus: I, FieldLayout: y, hasError: T } = b(), [N, P] = F(!1), E = te(l), [R, h] = F(null), S = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: f } = D(), { t: V } = W(), O = `${f}-required`, B = v((c) => {
|
|
14
14
|
o || n(typeof c == "string" ? c : null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "classnames";
|
|
2
|
-
import { bF as s, bc as v } from "./form-
|
|
2
|
+
import { bF as s, bc as v } from "./form-DaQFf7ME.js";
|
|
3
3
|
const x = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bM as n } from "./form-
|
|
1
|
+
import { bM as n } from "./form-DaQFf7ME.js";
|
|
2
2
|
import { s as e } from "./field-rac.module-DcyJyi2B.js";
|
|
3
|
-
import { u } from "./use-element-state-class-name-
|
|
3
|
+
import { u } from "./use-element-state-class-name-BmNailGN.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-DUOB6tDI.js → use-service-options-base-DCACawNB.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
|
|
2
|
-
import { bL as v } from "./form-
|
|
2
|
+
import { bL as v } from "./form-DaQFf7ME.js";
|
|
3
3
|
const k = (L) => {
|
|
4
4
|
const { fieldType: I, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = L, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(I), r = y((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.203.0",
|
|
4
4
|
"description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
]
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"falconPackageHash": "
|
|
159
|
+
"falconPackageHash": "4ef3092da1d1dc3dcec6d94b6b191af7988e782ffbe9ad3c92708277"
|
|
160
160
|
}
|