@wix/form-elements 1.215.0 → 1.217.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-obvkIxlW.js → appointment-rac-BwV-BiuM.js} +4 -4
- package/dist/component/{bookings-address-rac-CZa9a87G.js → bookings-address-rac-60s8mINA.js} +1 -1
- package/dist/component/{bookings-email-rac-m6v3w8mr.js → bookings-email-rac-CD180ofz.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Mofwr9rJ.js → bookings-first-name-rac-DPj9TLDZ.js} +1 -1
- package/dist/component/{bookings-header-rac-Do1DvJ7m.js → bookings-header-rac-DWAqHAC3.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BlRF6uxD.js → bookings-last-name-rac-C-0GchtO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-dEw_cBua.js → bookings-login-bar-rac-DpVUsgYV.js} +1 -1
- package/dist/component/{bookings-phone-rac-DSHi8EoI.js → bookings-phone-rac-DSw3Wpi6.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-D1pEioKF.js → bookings-rich-text-rac-BcfuuhqF.js} +1 -1
- package/dist/component/{checkbox-field-rac-DB6OkQVn.js → checkbox-field-rac-CxN4DXcm.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-DaZpfrAT.js → checkbox-group-field-headless-Cxytn3cY.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-DQyoeeOu.js → checkbox-group-field-rac-COySLANT.js} +4 -4
- package/dist/component/{checkbox-group-rac-K1CohuW5.js → checkbox-group-rac-C36q50g-.js} +1 -1
- package/dist/component/{checkbox-rac-CGPLFefU.js → checkbox-rac-CPRna7wo.js} +1 -1
- package/dist/component/{contacts-address-rac-D_whIRtO.js → contacts-address-rac-C9WfyF_C.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-yvBgsleM.js → contacts-birthdate-rac-DI_n6KW2.js} +1 -1
- package/dist/component/{contacts-company-rac-dv-M3X8Q.js → contacts-company-rac-C2L3jLDV.js} +1 -1
- package/dist/component/{contacts-email-rac-CKFkxHeH.js → contacts-email-rac-BXxC1EQz.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DH_mqqVL.js → contacts-first-name-rac-DDNYc6DW.js} +1 -1
- package/dist/component/{contacts-last-name-rac-D1hViu7t.js → contacts-last-name-rac-C8kg5uC1.js} +1 -1
- package/dist/component/{contacts-phone-rac-D5lEUsgX.js → contacts-phone-rac-GBwlIMQi.js} +1 -1
- package/dist/component/{contacts-position-rac-C5WN-obt.js → contacts-position-rac-sI-eyBLH.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-C0TeOnX-.js → contacts-subscribe-rac-DI3nlzX4.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-K4f8cUph.js → contacts-tax-id-rac-CRq4rhb6.js} +1 -1
- package/dist/component/{date-availability-ta65eupL.js → date-availability-17HTB6Bn.js} +1 -1
- package/dist/component/{date-input-field-rac-Bqkxxe1x.js → date-input-field-rac-BLO1qQSi.js} +6 -6
- package/dist/component/{date-input-rac-DOrOad7M.js → date-input-rac-Zryc6o9F.js} +1 -1
- package/dist/component/{date-picker-field-rac-dOXkkSun.js → date-picker-field-rac-COGESH_j.js} +6 -6
- package/dist/component/{date-picker-rac-D8KBZ1cw.js → date-picker-rac-BR5X3Gg4.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BCHUvKca.js → date-time-input-field-rac-CKbGhDKq.js} +6 -6
- package/dist/component/{date-time-input-rac-BDFKogee.js → date-time-input-rac-DnP-sVbv.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-D5KPRINX.js → dext-checkbox-group-rac-O9bQHdjz.js} +2 -2
- package/dist/component/{dext-checkbox-rac-x-lXF3ag.js → dext-checkbox-rac-3Eqa1NNz.js} +1 -1
- package/dist/component/{dext-date-picker-rac-B5K5u_Ps.js → dext-date-picker-rac-BYjvDil-.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-iVMwamqD.js → dext-date-time-input-rac-BLX3xG9x.js} +1 -1
- package/dist/component/{dext-dropdown-rac-B44HQTxy.js → dext-dropdown-rac-BwpbF2-Z.js} +1 -1
- package/dist/component/{dext-email-rac-B7QAR6VC.js → dext-email-rac-DUNmxVKy.js} +1 -1
- package/dist/component/{dext-number-input-rac-CNa31Dkr.js → dext-number-input-rac-D2rZrzXe.js} +1 -1
- package/dist/component/{dext-phone-rac-28tGCd-t.js → dext-phone-rac-C9dvhFCl.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bl2Ge5R5.js → dext-radio-group-rac-D8mUfv1Y.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BkH9oIi5.js → dext-rating-input-rac-BY8MRBDl.js} +1 -1
- package/dist/component/{dext-tags-rac-B5FVVp1v.js → dext-tags-rac-DBKnRkUI.js} +2 -2
- package/dist/component/{dext-text-area-rac-DKm2CHff.js → dext-text-area-rac-BYVMZ7HH.js} +1 -1
- package/dist/component/{dext-text-input-rac-BC55g3Hi.js → dext-text-input-rac-B6Ga232R.js} +1 -1
- package/dist/component/{dext-url-input-rac-BhoiLcDo.js → dext-url-input-rac-Cgu1URth.js} +1 -1
- package/dist/component/{donation-rac-BKjG_IJW.js → donation-rac-DL1TnDAO.js} +5 -5
- package/dist/component/{dropdown-field-rac-B7Xh6cx8.js → dropdown-field-rac-KYozl4DF.js} +3 -3
- package/dist/component/{dropdown-rac-D8P7PqXg.js → dropdown-rac-DiqI7QHS.js} +1 -1
- package/dist/component/{ecom-address-rac-pQw85I2u.js → ecom-address-rac-Cmb0daDG.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CtHEpz27.js → ecom-subscription-checkbox-rac-B7AuYQA2.js} +2 -2
- package/dist/component/{email-input-field-rac-DJKj9_MB.js → email-input-field-rac-DocV1aB9.js} +3 -3
- package/dist/component/{events-repeater-rac-ByGRYJRW.js → events-repeater-rac-B0Qqfo8D.js} +4 -4
- package/dist/component/{events-rsvp-rac-CxCauRvS.js → events-rsvp-rac-fv3hIzAL.js} +3 -3
- package/dist/component/{field-error-headless-Eh1lMElk.js → field-error-headless-Dfvu9FuO.js} +1 -1
- package/dist/component/{field-label-headless-BqMxU6y-.js → field-label-headless-Cxyl3wGC.js} +1 -1
- package/dist/component/{file-upload-rac-C-3Xb3kq.js → file-upload-rac-Je_--JfX.js} +4 -4
- package/dist/component/{fixed-payment-rac-XxysAIq7.js → fixed-payment-rac-BnXYEIDe.js} +3 -3
- package/dist/component/{form-DQjFn9dy.js → form-a7SUDn8q.js} +69 -69
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C9tk53e6.js → header-field-rac-D6gL7ZE_.js} +2 -2
- package/dist/component/{header-rac-CrgF_o1e.js → header-rac-DEkEGPwy.js} +1 -1
- package/dist/component/{image-choice-rac-N7NLy50u.js → image-choice-rac-Br7ZpUIc.js} +4 -4
- package/dist/component/{index-D539Cefk.js → index-CCtGcc8K.js} +513 -462
- package/dist/component/{index-CUqQt_K0.js → index-nfuicG4V.js} +2 -2
- package/dist/component/{isObjectLike-BXMsjR41.js → isObjectLike-zLoHjg3a.js} +1 -1
- package/dist/component/{multiline-address-field-rac-B3NKIdbr.js → multiline-address-field-rac-Bgfked1m.js} +7 -7
- package/dist/component/{multiline-address-rac-C-8KYUEy.js → multiline-address-rac-CyM0O2ZV.js} +1 -1
- package/dist/component/{number-input-field-rac-DrpgAvrT.js → number-input-field-rac-orHx_sCp.js} +4 -4
- package/dist/component/{number-input-rac-hZ1UmeEv.js → number-input-rac-CF5v19rL.js} +1 -1
- package/dist/component/{password-rac-DU5Zii-x.js → password-rac-BSWihZvF.js} +4 -4
- package/dist/component/{payment-input-rac-BzDtJSoa.js → payment-input-rac-CeAz10YA.js} +4 -4
- package/dist/component/{phone-input-field-rac-CBviQ-on.js → phone-input-field-rac-BefHQnSh.js} +6 -6
- package/dist/component/{phone-rac-B4n-wlvj.js → phone-rac-C5jSEw_g.js} +1 -1
- package/dist/component/{product-list-rac-CYxJDesp.js → product-list-rac-C0UIu3qw.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-BLGXjhrS.js → quiz-radio-group-rac-Bya6uEoi.js} +1 -1
- package/dist/component/{radio-button-module-classes-D0gXibxL.js → radio-button-module-classes-YEfiQQtW.js} +3 -3
- package/dist/component/{radio-group-field-rac-D3JvbED7.js → radio-group-field-rac-DZWxn-QY.js} +4 -4
- package/dist/component/{radio-group-rac-CTk1SQPS.js → radio-group-rac-DsL2Ttyk.js} +1 -1
- package/dist/component/{rating-input-field-rac-hDcxRY-7.js → rating-input-field-rac-BioYAy-_.js} +4 -4
- package/dist/component/{rating-input-rac-CaEUM0ek.js → rating-input-rac-DahZMbKa.js} +1 -1
- package/dist/component/{rich-content-rac.module-D11y-VmE.js → rich-content-rac.module-pvsjrr7Y.js} +1 -1
- package/dist/component/{rich-text-field-rac-BNB_Ek6y.js → rich-text-field-rac-H-mxitKA.js} +2 -2
- package/dist/component/{rich-text-rac-Jo_aEgLC.js → rich-text-rac-CPfXGilA.js} +1 -1
- package/dist/component/{service-dropdown-rac-CzSP8CC_.js → service-dropdown-rac-C2qfLOFr.js} +4 -4
- package/dist/component/{services-multi-choice-rac-aS5N5-xK.js → services-multi-choice-rac-D7-sJi_t.js} +5 -5
- package/dist/component/{signature-rac-_tiY8h_q.js → signature-rac-DuQuR2U3.js} +4 -4
- package/dist/component/{submit-button-rac-DKc6QhMf.js → submit-button-rac-DrUDtzCX.js} +2 -2
- package/dist/component/{tags-field-rac-BCO7fpBv.js → tags-field-rac-D8gyv5Kk.js} +5 -5
- package/dist/component/{tags-rac-q3HNn7ue.js → tags-rac-Be588VqA.js} +1 -1
- package/dist/component/{text-area-field-rac-BtQ8MQSN.js → text-area-field-rac-hezqhMgQ.js} +4 -4
- package/dist/component/{text-area-rac-Dc2q2Oxx.js → text-area-rac-B_KUlOes.js} +1 -1
- package/dist/component/{text-input-field-rac-DO5PDRBN.js → text-input-field-rac-BWRz4111.js} +3 -3
- package/dist/component/{text-input-headless-BGSp91Fx.js → text-input-headless-BUNQFfZw.js} +3 -3
- package/dist/component/{text-input-rac-B2OO3yVY.js → text-input-rac-DdfHXZ8B.js} +1 -1
- package/dist/component/{time-input-rac-BICb4Q3S.js → time-input-rac-CUTavG2g.js} +4 -4
- package/dist/component/{url-input-field-rac-ptvkhiHT.js → url-input-field-rac-CG5yrtux.js} +4 -4
- package/dist/component/{url-input-rac-DOLmuZEu.js → url-input-rac-DMw4tPKk.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CJmAINAg.js → use-dropdown-option-class-name-CHW3T4PQ.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-DA0MtxzO.js → use-dropdown-trigger-class-name-6UsjW0rS.js} +6 -6
- package/dist/component/{use-element-state-class-name-ByxBZ_3F.js → use-element-state-class-name-YRDhi6Zr.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-lKS_yzxr.js → use-hoverable-input-class-name-arCOozPK.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-ByGtfX25.js → use-is-forced-open-dropdown-NJIAuz_W.js} +1 -1
- package/dist/component/{use-service-options-base-CsY2G8DG.js → use-service-options-base-nhf-7Ope.js} +1 -1
- package/dist/component/use-text-input-class-name-C9496S5f.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-CbJQlesN.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bv as n } from "./form-
|
|
2
|
-
import { A as S, a as g, C as p, aZ as N, bf as q, bg as D, bx as L } from "./form-
|
|
1
|
+
import { bv as n } from "./form-a7SUDn8q.js";
|
|
2
|
+
import { A as S, a as g, C as p, aZ as N, bf as q, bg as D, bx as L } from "./form-a7SUDn8q.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { RicosViewer as z } from "@wix/ricos/viewer";
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import n, { useMemo as w, createContext as We, useContext as Ie, useState as Ee, useRef as x, useCallback as _, useEffect as Pe } from "react";
|
|
4
|
-
import { bH as It, d as Lt, bC as Mt, bE as Nt, bf as qt, bg as wt, b8 as xt, be as W, F as K, bX as Te, bv as ct, bM as P, bJ as M, bO as ae, bV as be, bI as Ot, bk as Bt, C as ge, bt as kt, bx as Ut, bT as Vt, bN as $t, bS as Wt, bA as Kt, bp as Yt, bz as Ht, bP as jt, aP as Jt, Y as Xt, _ as G, am as Q, $ as Oe, M as Z, I as ee, Z as zt, a0 as Gt, a1 as Qt } from "./form-
|
|
4
|
+
import { bH as It, d as Lt, bC as Mt, bE as Nt, bf as qt, bg as wt, b8 as xt, be as W, F as K, bX as Te, bv as ct, bM as P, bJ as M, bO as ae, bV as be, bI as Ot, bk as Bt, C as ge, bt as kt, bx as Ut, bT as Vt, bN as $t, bS as Wt, bA as Kt, bp as Yt, bz as Ht, bP as jt, aP as Jt, Y as Xt, _ as G, am as Q, $ as Oe, M as Z, I as ee, Z as zt, a0 as Gt, a1 as Qt } from "./form-a7SUDn8q.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Zt } from "react-aria";
|
|
6
6
|
import { f as b, a as v } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as en, V as tn } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { c as nn } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { c as nn } from "./use-is-forced-open-dropdown-NJIAuz_W.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as Ke, ComboBox as Fe, Popover as De, ListBox as Me, ListBoxItem as he, Group as gt, Button as vt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as rn, c as on, a as sn, r as St } from "./isObjectLike-
|
|
13
|
-
import { V as an, a as ln } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-Dfvu9FuO.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-Cxyl3wGC.js";
|
|
12
|
+
import { e as rn, c as on, a as sn, r as St } from "./isObjectLike-zLoHjg3a.js";
|
|
13
|
+
import { V as an, a as ln } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
|
|
14
14
|
import { u as cn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as dt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as qe } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as C } from "./field-rac.module-DcyJyi2B.js";
|
|
19
|
-
import { u as ut } from "./use-hoverable-input-class-name-
|
|
19
|
+
import { u as ut } from "./use-hoverable-input-class-name-arCOozPK.js";
|
|
20
20
|
const dn = (e, t, o) => {
|
|
21
21
|
var s, l, i, a;
|
|
22
22
|
const r = (s = e.steps) == null ? void 0 : s.map((d) => {
|
package/dist/component/{number-input-field-rac-DrpgAvrT.js → number-input-field-rac-orHx_sCp.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as K } from "@wix/ricos/viewer";
|
|
|
2
2
|
import d from "classnames";
|
|
3
3
|
import t, { useState as Q, useCallback as U, useEffect as $, useRef as j } from "react";
|
|
4
4
|
import { NumberField as v, Input as z } from "react-aria-components";
|
|
5
|
-
import { bM as _, bJ as S, bX as G, bO as H, bV as W, X as Y, am as Z, M as w, I as ee } from "./form-
|
|
5
|
+
import { bM as _, bJ as S, bX as G, bO as H, bV as W, X as Y, am as Z, M as w, I as ee } from "./form-a7SUDn8q.js";
|
|
6
6
|
import { c as y, g as x } from "./numeric-input-utils-CuBMi4-a.js";
|
|
7
7
|
import { f as p } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as re, E as te } from "./field-error-headless-
|
|
9
|
-
import { L as ne } from "./field-label-headless-
|
|
8
|
+
import { D as re, E as te } from "./field-error-headless-Dfvu9FuO.js";
|
|
9
|
+
import { L as ne } from "./field-label-headless-Cxyl3wGC.js";
|
|
10
10
|
import { u as se } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as b } from "./field-rac.module-DcyJyi2B.js";
|
|
13
|
-
import { u as me } from "./use-text-input-class-name-
|
|
13
|
+
import { u as me } from "./use-text-input-class-name-C9496S5f.js";
|
|
14
14
|
const le = (r, { validation: s }) => {
|
|
15
15
|
const a = y(r.value.trim());
|
|
16
16
|
if (a === void 0)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as O } from "react";
|
|
2
2
|
import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bM as E, bJ as I, bO as V, bV as A, bX as B, X as v, am as M, M as P, I as k } from "./form-
|
|
4
|
+
import { bM as E, bJ as I, bO as V, bV as A, bX as B, X as v, am as M, M as P, I as k } from "./form-a7SUDn8q.js";
|
|
5
5
|
import { TextField as q, Group as U, Input as j, Button as H } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as W, E as X } from "./field-error-headless-Dfvu9FuO.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-Cxyl3wGC.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as J } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as K } from "./use-text-input-class-name-
|
|
12
|
+
import { u as K } from "./use-text-input-class-name-C9496S5f.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), h = u(o, t.Description), w = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as J } from "react";
|
|
|
2
2
|
import { RicosViewer as Q } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as j, Group as w, Input as z } from "react-aria-components";
|
|
5
|
-
import { bM as R, bJ as D, bE as x, bX as K, bO as W, X as Y, am as Z, M as ee, I as re } from "./form-
|
|
5
|
+
import { bM as R, bJ as D, bE as x, bX as K, bO as W, X as Y, am as Z, M as ee, I as re } from "./form-a7SUDn8q.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-Dfvu9FuO.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-Cxyl3wGC.js";
|
|
9
9
|
import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ce } from "./custom-focus-class-_483Pkwp.js";
|
|
13
13
|
import { s as d } from "./field-rac.module-DcyJyi2B.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-C9496S5f.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-CBviQ-on.js → phone-input-field-rac-BefHQnSh.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { RicosViewer as ye } from "@wix/ricos/viewer";
|
|
2
2
|
import O from "classnames";
|
|
3
3
|
import t, { useMemo as A, useState as T, useRef as F, useEffect as k, useCallback as Z, createContext as ne, useContext as K, useId as Ee } from "react";
|
|
4
|
-
import { bv as fe, bX as D, bE as oe, bW as he, bM as w, bJ as re, bO as ge, bV as Oe, X as be, am as _e, a3 as J, M as Ne, I as Le, a5 as Se, a4 as Pe, a2 as Ie } from "./form-
|
|
4
|
+
import { bv as fe, bX as D, bE as oe, bW as he, bM as w, bJ as re, bO as ge, bV as Oe, X as be, am as _e, a3 as J, M as Ne, I as Le, a5 as Se, a4 as Pe, a2 as Ie } from "./form-a7SUDn8q.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as ve } from "react-aria";
|
|
6
6
|
import { Dialog as ae, OverlayTriggerStateContext as Fe, ModalOverlay as De, Modal as we, SearchField as Be, Group as U, ListBoxItem as Re, DialogTrigger as xe, Select as Me, Input as se, Autocomplete as je } from "react-aria-components";
|
|
7
7
|
import ce, { AsYouType as $e, isValidPhoneNumber as Ae, isSupportedCountry as Te } from "libphonenumber-js";
|
|
8
8
|
import "libphonenumber-js/metadata.min.json";
|
|
9
9
|
import { f as h, a as P } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as Ve, E as ke } from "./field-error-headless-
|
|
11
|
-
import { L as He } from "./field-label-headless-
|
|
10
|
+
import { D as Ve, E as ke } from "./field-error-headless-Dfvu9FuO.js";
|
|
11
|
+
import { L as He } from "./field-label-headless-Cxyl3wGC.js";
|
|
12
12
|
import { N as Ue, S as qe } from "./non-modal-popover-D-u13tmp.js";
|
|
13
13
|
import { u as Ge } from "./use-invoke-callback-UH73A_J3.js";
|
|
14
|
-
import { d as Ke } from "./use-is-forced-open-dropdown-
|
|
15
|
-
import { V as Ye, a as ze } from "./use-dropdown-option-class-name-
|
|
14
|
+
import { d as Ke } from "./use-is-forced-open-dropdown-NJIAuz_W.js";
|
|
15
|
+
import { V as Ye, a as ze } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
|
|
16
16
|
import { C as Q } from "./calling-country-codes-PyWuOTmF.js";
|
|
17
17
|
import { C as We } from "./chevron-down-icon-CcpVm6B-.js";
|
|
18
18
|
import { E as Xe } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as ee } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as b } from "./field-rac.module-DcyJyi2B.js";
|
|
21
|
-
import { u as te } from "./use-hoverable-input-class-name-
|
|
21
|
+
import { u as te } from "./use-hoverable-input-class-name-arCOozPK.js";
|
|
22
22
|
function q(e) {
|
|
23
23
|
const n = e ? ce(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as K, useCallback as v, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as X } from "@wix/ricos/viewer";
|
|
3
3
|
import y from "classnames";
|
|
4
4
|
import { CheckboxField as $, CheckboxButton as z, NumberField as J, Group as Y, Button as Q, Input as j } from "react-aria-components";
|
|
5
|
-
import { bM as U, bJ as W, bE as V, bX as Z, bO as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-
|
|
5
|
+
import { bM as U, bJ as W, bE as V, bX as Z, bO as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-a7SUDn8q.js";
|
|
6
6
|
import { f, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as me, g as pe } from "./field-label-headless-
|
|
7
|
+
import { L as me, g as pe } from "./field-label-headless-Cxyl3wGC.js";
|
|
8
8
|
import { f as de } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as Ee, E as _e } from "./field-error-headless-
|
|
9
|
+
import { D as Ee, E as _e } from "./field-error-headless-Dfvu9FuO.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as Ie } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Oe } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
|
|
15
15
|
import { s as A } from "./field-rac.module-DcyJyi2B.js";
|
|
16
16
|
import { o as w } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Le } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Le } from "./use-element-state-class-name-YRDhi6Zr.js";
|
|
18
18
|
var Ce = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), k = /* @__PURE__ */ (function(e) {
|
|
@@ -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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
6
|
+
import { L as X } from "./field-label-headless-Cxyl3wGC.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-D3JvbED7.js → radio-group-field-rac-DZWxn-QY.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-YEfiQQtW.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-a7SUDn8q.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-YRDhi6Zr.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-C9496S5f.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-hDcxRY-7.js → rating-input-field-rac-BioYAy-_.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-Cxyl3wGC.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-YRDhi6Zr.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-D11y-VmE.js → rich-content-rac.module-pvsjrr7Y.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-a7SUDn8q.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-a7SUDn8q.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-pvsjrr7Y.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-CzSP8CC_.js → service-dropdown-rac-C2qfLOFr.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-a7SUDn8q.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-nhf-7Ope.js";
|
|
6
|
+
import { D as u, u as X } from "./use-dropdown-trigger-class-name-6UsjW0rS.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-CHW3T4PQ.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-a7SUDn8q.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-nhf-7Ope.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-Cxytn3cY.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-YRDhi6Zr.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-C9496S5f.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-Cxyl3wGC.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-YRDhi6Zr.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-a7SUDn8q.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-YRDhi6Zr.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-Cxyl3wGC.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-YRDhi6Zr.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-C9496S5f.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-Cxyl3wGC.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-C9496S5f.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-DO5PDRBN.js → text-input-field-rac-BWRz4111.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-BUNQFfZw.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-a7SUDn8q.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-C9496S5f.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-Cxyl3wGC.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-Cxyl3wGC.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-C9496S5f.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
8
|
+
import { L as x } from "./field-label-headless-Cxyl3wGC.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-C9496S5f.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-a7SUDn8q.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-YRDhi6Zr.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-a7SUDn8q.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-Dfvu9FuO.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-Cxyl3wGC.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-NJIAuz_W.js";
|
|
10
|
+
import { V as ne } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
|
|
11
|
+
import { u as re } from "./use-hoverable-input-class-name-arCOozPK.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-a7SUDn8q.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-a7SUDn8q.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-YRDhi6Zr.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|