@wix/form-elements 1.156.0 → 1.158.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-BejJuk4y.js → appointment-rac-m5-FH9kU.js} +146 -146
- package/dist/component/{bookings-address-rac-CCbsyfYB.js → bookings-address-rac-VtG7wH0l.js} +1 -1
- package/dist/component/{bookings-email-rac-DtkvYYB2.js → bookings-email-rac-C8T3aTQH.js} +1 -1
- package/dist/component/{bookings-first-name-rac-D3djY0vF.js → bookings-first-name-rac-BlhIWWNj.js} +1 -1
- package/dist/component/{bookings-header-rac-D5aTKL9h.js → bookings-header-rac-adwR7PKJ.js} +1 -1
- package/dist/component/{bookings-last-name-rac-ZTV1iaf5.js → bookings-last-name-rac-z5z1GJQL.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-D6DJrmMG.js → bookings-login-bar-rac-DMgVxy8J.js} +1 -1
- package/dist/component/{bookings-phone-rac-BdZJSFNp.js → bookings-phone-rac-DS7ffO6T.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DcLCYKhH.js → bookings-rich-text-rac-BNWI0o60.js} +1 -1
- package/dist/component/{checkbox-field-rac-BlDS05Oq.js → checkbox-field-rac-CUKZ9NHF.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-DccvpYjL.js → checkbox-group-field-headless-Didam2ZD.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CfZuZtis.js → checkbox-group-field-rac-C3WCeVA8.js} +4 -4
- package/dist/component/{checkbox-group-rac-BRYmgtrd.js → checkbox-group-rac-Bkq-wm7_.js} +1 -1
- package/dist/component/{checkbox-rac-BYGpZym_.js → checkbox-rac-66ga9Lph.js} +1 -1
- package/dist/component/{contacts-address-rac-CZuQtpY5.js → contacts-address-rac-DSOk97te.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-D7VSHZb5.js → contacts-birthdate-rac-1qguKm9O.js} +1 -1
- package/dist/component/{contacts-company-rac-CxY2Zmru.js → contacts-company-rac-Chefzmw3.js} +1 -1
- package/dist/component/{contacts-email-rac-BsRuOGKl.js → contacts-email-rac-DG6eAnz2.js} +1 -1
- package/dist/component/{contacts-first-name-rac-QzDB5OOu.js → contacts-first-name-rac-tSGE0w5w.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Cgav6Wey.js → contacts-last-name-rac-BjZWfbM5.js} +1 -1
- package/dist/component/{contacts-phone-rac-B4CcLsPd.js → contacts-phone-rac-jfGNKLoZ.js} +1 -1
- package/dist/component/{contacts-position-rac-D3ngVdPm.js → contacts-position-rac-kv8I-m_Q.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-NyrcQ7FY.js → contacts-subscribe-rac-BkUG0AMs.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DkcFjidK.js → contacts-tax-id-rac-BtFrK_Ci.js} +1 -1
- package/dist/component/{date-availability-Bvxd9UT1.js → date-availability-_A9DS6za.js} +1 -1
- package/dist/component/{date-input-field-rac-DJlB_y93.js → date-input-field-rac-QZUxFX5e.js} +6 -6
- package/dist/component/{date-input-rac-BD89YOj1.js → date-input-rac-CpseQkV4.js} +1 -1
- package/dist/component/{date-picker-field-rac-DBORRL0M.js → date-picker-field-rac-B4gjhxG6.js} +6 -6
- package/dist/component/{date-picker-rac-B4j1WE2E.js → date-picker-rac-DDJfUDCM.js} +1 -1
- package/dist/component/{date-time-input-field-rac-yZMz4NK5.js → date-time-input-field-rac-DcwKQKHf.js} +6 -6
- package/dist/component/{date-time-input-rac-BhAC7gU3.js → date-time-input-rac-BkvcyU3H.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-plfVJAX4.js → dext-checkbox-group-rac-UWDhIjU-.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Do3tFCPC.js → dext-checkbox-rac-q9UJnqsC.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CUEpqD10.js → dext-date-picker-rac-C164FDSF.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CRAbNDbW.js → dext-date-time-input-rac-BvbnfRYU.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BJx9TIRz.js → dext-dropdown-rac-z0xU1mRO.js} +1 -1
- package/dist/component/{dext-email-rac-DpvOHvck.js → dext-email-rac-BkiWpfNw.js} +1 -1
- package/dist/component/{dext-number-input-rac-CZgkXMF8.js → dext-number-input-rac-DeQWO-RK.js} +1 -1
- package/dist/component/{dext-phone-rac-kHiTA89w.js → dext-phone-rac-CGlVpadW.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D7r1Smme.js → dext-radio-group-rac-D8hMWNIQ.js} +2 -2
- package/dist/component/{dext-rating-input-rac-C-ChMXNY.js → dext-rating-input-rac-ibIctxU_.js} +1 -1
- package/dist/component/{dext-tags-rac-DpdE7ixp.js → dext-tags-rac-snCgM6u0.js} +2 -2
- package/dist/component/{dext-text-area-rac-BJB2kqm4.js → dext-text-area-rac-BHVs8ixR.js} +1 -1
- package/dist/component/{dext-text-input-rac-BTvbfP3X.js → dext-text-input-rac-DGI747Od.js} +1 -1
- package/dist/component/{dext-url-input-rac-CZJD5r0_.js → dext-url-input-rac-CpO2VDPE.js} +1 -1
- package/dist/component/{donation-rac-o2Hj3jcn.js → donation-rac-Ck6HkRcW.js} +5 -5
- package/dist/component/{dropdown-field-headless-beEnm9T4.js → dropdown-field-headless-Bv6LrkeA.js} +5 -5
- package/dist/component/{dropdown-field-rac-DnZD2zj1.js → dropdown-field-rac-e5MjWn5B.js} +3 -3
- package/dist/component/{dropdown-rac-VfF262VC.js → dropdown-rac-B2jprC8G.js} +1 -1
- package/dist/component/{ecom-address-rac-eyNn03vu.js → ecom-address-rac-D0stOqRv.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CCW-C1XZ.js → ecom-subscription-checkbox-rac-BRzaQKx3.js} +2 -2
- package/dist/component/{email-input-field-rac-BB9m8hQ8.js → email-input-field-rac-0UIjNipg.js} +3 -3
- package/dist/component/{events-repeater-rac-BZB2GkW6.js → events-repeater-rac-BBQZzP7U.js} +4 -4
- package/dist/component/{events-rsvp-rac-BgOCd-MP.js → events-rsvp-rac-Ck7BXGKy.js} +3 -3
- package/dist/component/{field-error-headless-YQxvHPll.js → field-error-headless-vApyo-y9.js} +1 -1
- package/dist/component/{field-label-headless-BZJwsuwz.js → field-label-headless-C8-ShLxy.js} +1 -1
- package/dist/component/{file-upload-rac-BaUamuvp.js → file-upload-rac-BzWJOM6C.js} +4 -4
- package/dist/component/{fixed-payment-rac-AzTuwpKe.js → fixed-payment-rac-C4_xI103.js} +3 -3
- package/dist/component/{form-DPK7-EZv.js → form-D7ulDPh1.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-uH-B7lbB.js → header-field-rac-BnBbhsOZ.js} +2 -2
- package/dist/component/{header-rac-0WJvnej2.js → header-rac-CEWayr6b.js} +1 -1
- package/dist/component/{image-choice-rac-wtcuA_K_.js → image-choice-rac-DTZrz6oP.js} +4 -4
- package/dist/component/{index-BuBR2585.js → index-CKtw7kvn.js} +4 -4
- package/dist/component/{index-VXS27zVa.js → index-DBbgIHYT.js} +2 -2
- package/dist/component/{isObjectLike-B7XrgMod.js → isObjectLike-BHfPE26c.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Cqnw2Pnc.js → multiline-address-field-rac-jhcWn4wT.js} +7 -7
- package/dist/component/{multiline-address-rac-DMxbxFLJ.js → multiline-address-rac-YQj_QROS.js} +1 -1
- package/dist/component/{number-input-field-rac-DIVb4U_q.js → number-input-field-rac-A7xM2c6F.js} +4 -4
- package/dist/component/{number-input-rac-DA5xE_ML.js → number-input-rac-DeDatLY5.js} +1 -1
- package/dist/component/{password-rac-SQNL72BK.js → password-rac-7Si7JHee.js} +4 -4
- package/dist/component/{payment-input-rac-C8qOze0U.js → payment-input-rac-D4JKZl-5.js} +4 -4
- package/dist/component/{phone-input-field-rac-DDBceXj7.js → phone-input-field-rac-GxcQ_Pyl.js} +6 -6
- package/dist/component/{phone-rac-C6sPA99S.js → phone-rac-Y2mWnseb.js} +1 -1
- package/dist/component/{product-list-rac-BIGcteH9.js → product-list-rac-CYUcNqf3.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CwmeJ1Bu.js → quiz-radio-group-rac-f3O7fksW.js} +1 -1
- package/dist/component/{radio-button-module-classes-B4wDjgg7.js → radio-button-module-classes-BgVUqcvD.js} +3 -3
- package/dist/component/{radio-group-field-rac-D4PS3V4K.js → radio-group-field-rac-DrOiyk5C.js} +4 -4
- package/dist/component/{radio-group-rac-CrxtI9ne.js → radio-group-rac-Btt_bz_K.js} +1 -1
- package/dist/component/{rating-input-field-rac-Bz-e4160.js → rating-input-field-rac-CwN7wyaw.js} +4 -4
- package/dist/component/{rating-input-rac-eyFPVocD.js → rating-input-rac-sTy0SV3L.js} +1 -1
- package/dist/component/{rich-content-rac.module-BDHxHfIN.js → rich-content-rac.module-C11w9mXa.js} +1 -1
- package/dist/component/{rich-text-field-rac-Cxr2SQrZ.js → rich-text-field-rac-kGwuDtNs.js} +2 -2
- package/dist/component/{rich-text-rac-ir_V0_nK.js → rich-text-rac-T4ic2hrA.js} +1 -1
- package/dist/component/{service-dropdown-rac-CitukGuQ.js → service-dropdown-rac-BfliE4hs.js} +4 -4
- package/dist/component/{services-multi-choice-rac-0X-JCrJf.js → services-multi-choice-rac-CLQ4dLxO.js} +5 -5
- package/dist/component/{signature-rac-BXfWWg0O.js → signature-rac-DLiFeCNL.js} +4 -4
- package/dist/component/{submit-button-rac-CdCpHReS.js → submit-button-rac-CccO80E1.js} +58 -58
- package/dist/component/{tags-field-rac-C_zQko1S.js → tags-field-rac-DaghCGJU.js} +5 -5
- package/dist/component/{tags-rac-CfLYiIFl.js → tags-rac-3ly5shW2.js} +1 -1
- package/dist/component/{text-area-field-rac-B4O1X3h5.js → text-area-field-rac-2-TYC5Lb.js} +4 -4
- package/dist/component/{text-area-rac-BPVUO12d.js → text-area-rac-Bx0pgw80.js} +1 -1
- package/dist/component/{text-input-field-rac-8uxeWGbw.js → text-input-field-rac-Dyur2Wby.js} +3 -3
- package/dist/component/{text-input-headless-Cu1WjpsX.js → text-input-headless-DZ-Pjpm4.js} +3 -3
- package/dist/component/{text-input-rac-DJuGfuwR.js → text-input-rac-BuBtJDX_.js} +1 -1
- package/dist/component/{time-input-rac-BLGw5D6U.js → time-input-rac-AlDEpfXZ.js} +4 -4
- package/dist/component/{url-input-field-rac-CSlsixl_.js → url-input-field-rac-BzP4-8yP.js} +4 -4
- package/dist/component/{url-input-rac-DDqQKgMU.js → url-input-rac-DaBXuedf.js} +1 -1
- package/dist/component/{use-dropdown-trigger-class-name-CVIxf5Io.js → use-dropdown-trigger-class-name-BKOFwNvc.js} +3 -3
- package/dist/component/{use-element-state-class-name-D824XkYk.js → use-element-state-class-name-DY0UyIQg.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-C7QeI5oY.js → use-hoverable-input-class-name-C_Wh4Qfc.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-F53La73p.js → use-is-forced-open-dropdown-Bw_IFUKt.js} +1 -1
- package/dist/component/{use-service-options-base-CcKiB-fR.js → use-service-options-base-DgSaAuGy.js} +1 -1
- package/dist/component/use-text-input-class-name-DFMQAg_E.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-yjYwDWHw.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-D7ulDPh1.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-C11w9mXa.js";
|
|
5
5
|
const y = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useMemo as y, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { bo as b, bl as w, bq as P, bh as x, R as B, a0 as q, N as U, P as V, H as z, v as K, O as Q, f } from "./form-
|
|
4
|
+
import { bo as b, bl as w, bq as P, bh as x, R as B, a0 as q, N as U, P as V, H as z, v as K, O as Q, f } from "./form-D7ulDPh1.js";
|
|
5
5
|
import { CheckboxGroup as Y, CheckboxField as $, CheckboxButton as j } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as J, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as J, g as W } from "./field-label-headless-C8-ShLxy.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-vApyo-y9.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
13
13
|
const o = ({ children: t, className: n }) => {
|
|
14
14
|
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: g, FieldLayout: C } = b(), { inputId: L, labelId: _, ariaDescribedBy: R } = w(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), h = m(t, o.Error), M = y(() => a || [], [
|
|
15
15
|
a
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-
|
|
2
|
-
import { b3 as Mn } from "./form-
|
|
1
|
+
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-D7ulDPh1.js";
|
|
2
|
+
import { b3 as Mn } from "./form-D7ulDPh1.js";
|
|
3
3
|
import Xe from "ajv";
|
|
4
4
|
import ke from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-_A9DS6za.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-_A9DS6za.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b7 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-
|
|
1
|
+
import { b7 as n } from "./form-D7ulDPh1.js";
|
|
2
|
+
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-D7ulDPh1.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import r, { useMemo as q, createContext as Ve, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as _e } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, R as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-
|
|
5
|
+
import { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, R as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as Xt } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { a as Xt } from "./use-is-forced-open-dropdown-Bw_IFUKt.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as Se, ListBox as Te, ListBoxItem as De, Group as Lt, Button as Nt } 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 Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-vApyo-y9.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-C8-ShLxy.js";
|
|
12
|
+
import { e as Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-BHfPE26c.js";
|
|
13
|
+
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-BKOFwNvc.js";
|
|
14
14
|
import { u as nn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as it } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as we } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as I } from "./field-rac.module-DP0lkkEv.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
20
20
|
const on = (e, t, o) => {
|
|
21
21
|
var a, l, i, s;
|
|
22
22
|
const n = (a = e.steps) == null ? void 0 : a.map((d) => {
|
package/dist/component/{number-input-field-rac-DIVb4U_q.js → number-input-field-rac-A7xM2c6F.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useState as H, useCallback as Q, useEffect as U, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as z } from "react-aria-components";
|
|
5
|
-
import { bo as _, bl as S, by as G, bq as J, R as K, a0 as W, H as X, v as Y } from "./form-
|
|
5
|
+
import { bo as _, bl as S, by as G, bq as J, R as K, a0 as W, H as X, v as Y } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as w } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as w } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as p } from "./field-rac.module-DP0lkkEv.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, R, L;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: d, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: y } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, A = (R = n == null ? void 0 : n.number) == null ? void 0 : R.maximum, g = (L = n == null ? void 0 : n.number) == null ? void 0 : L.minimum, q = O(s), [x, I] = H(q), T = ne(E), V = c(t, e.Label), h = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = Q((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bo as E, bl as I, bq as v, by as A, R as B, a0 as V, H as P, v as M } from "./form-
|
|
4
|
+
import { bo as E, bl as I, bq as v, by as A, R as B, a0 as V, H as P, v as M } from "./form-D7ulDPh1.js";
|
|
5
5
|
import { TextField as k, Group as q, Input as H, Button as U } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as W } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as W } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
12
|
+
import { u as $ } from "./use-text-input-class-name-DFMQAg_E.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), w = u(o, t.Description), S = 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 w } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as z, Group as J, Input as K } from "react-aria-components";
|
|
5
|
-
import { bo as N, bl as D, bg as T, by as W, bq as X, R as Y, a0 as Z, H as ee, v as re } from "./form-
|
|
5
|
+
import { bo as N, bl as D, bg as T, by as W, bq as X, R as Y, a0 as Z, H as ee, v as re } from "./form-D7ulDPh1.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-vApyo-y9.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { f as L, 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-DP0lkkEv.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-DDBceXj7.js → phone-input-field-rac-GxcQ_Pyl.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as de } from "@wix/ricos/viewer";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import t, { useMemo as j, useState as $, useRef as F, useEffect as k, useCallback as W, createContext as te, useContext as H, useId as ye } from "react";
|
|
4
|
-
import { b7 as Ee, by as w, bg as ne, bx as fe, bo as D, bl as oe, bq as ge, R as he, a0 as be, y as Oe, H as Ne, v as _e } from "./form-
|
|
4
|
+
import { b7 as Ee, by as w, bg as ne, bx as fe, bo as D, bl as oe, bq as ge, R as he, a0 as be, y as Oe, H as Ne, v as _e } from "./form-D7ulDPh1.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Se } from "react-aria";
|
|
6
6
|
import { Dialog as re, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as q, ListBoxItem as Fe, DialogTrigger as we, Select as De, Input as ae, Autocomplete as Be } from "react-aria-components";
|
|
7
7
|
import { f as g, a as I } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as xe, E as Re } from "./field-error-headless-
|
|
9
|
-
import { L as Me } from "./field-label-headless-
|
|
8
|
+
import { D as xe, E as Re } from "./field-error-headless-vApyo-y9.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-C8-ShLxy.js";
|
|
10
10
|
import { N as Te, S as je } from "./non-modal-popover-D-u13tmp.js";
|
|
11
11
|
import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { a as Ae } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import { V as ke, u as Ve, a as Ue } from "./use-dropdown-trigger-class-name-
|
|
12
|
+
import { a as Ae } from "./use-is-forced-open-dropdown-Bw_IFUKt.js";
|
|
13
|
+
import { V as ke, u as Ve, a as Ue } from "./use-dropdown-trigger-class-name-BKOFwNvc.js";
|
|
14
14
|
import se, { AsYouType as qe, isValidPhoneNumber as He, isSupportedCountry as Ge } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as Z } from "./calling-country-codes-PyWuOTmF.js";
|
|
@@ -18,7 +18,7 @@ import { C as Ye } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as O } from "./field-rac.module-DP0lkkEv.js";
|
|
21
|
-
import { u as J } from "./use-text-input-class-name-
|
|
21
|
+
import { u as J } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
22
22
|
function X(e) {
|
|
23
23
|
const n = e ? se(e) : void 0, o = n == null ? void 0 : n.country;
|
|
24
24
|
if (o)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as K, useCallback as M, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import b from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as G, NumberField as W, Group as X, Button as Q, Input as Y } from "react-aria-components";
|
|
5
|
-
import { bo as U, bl as J, bg as V, by as Z, bq as ee, R as te, a0 as ne, S as ae, V as oe, U as re, W as le, H as se, v as ie, T as ce } from "./form-
|
|
5
|
+
import { bo as U, bl as J, bg as V, by as Z, bq as ee, R as te, a0 as ne, S as ae, V as oe, U as re, W as le, H as se, v as ie, T as ce } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as I, a as f } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as ue, g as me } from "./field-label-headless-
|
|
7
|
+
import { L as ue, g as me } from "./field-label-headless-C8-ShLxy.js";
|
|
8
8
|
import { f as pe } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as de, E as Ee } from "./field-error-headless-
|
|
9
|
+
import { D as de, E as Ee } from "./field-error-headless-vApyo-y9.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as _e } 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 Ie } from "./checkbox-indicator-module-classes-akWZsZNn.js";
|
|
15
15
|
import { s as q } from "./field-rac.module-DP0lkkEv.js";
|
|
16
16
|
import { o as j } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
18
18
|
var Le = /* @__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 F, useState as T, useEffect as B, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as k, RadioField as q, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
|
|
3
|
-
import { bo as g, bl as $, by as D, bq as x } from "./form-
|
|
3
|
+
import { bo as g, bl as $, by as D, bq as x } from "./form-D7ulDPh1.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as M } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as M } from "./field-error-headless-vApyo-y9.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-C8-ShLxy.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-D4PS3V4K.js → radio-group-field-rac-DrOiyk5C.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-BgVUqcvD.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DP0lkkEv.js";
|
|
7
|
-
import { R as i, a0 as E, X as p, Y as R, H as O, v as _, Z as I } from "./form-
|
|
7
|
+
import { R as i, a0 as E, X as p, Y as R, H as O, v as _, Z as I } from "./form-D7ulDPh1.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-DY0UyIQg.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-DFMQAg_E.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-Bz-e4160.js → rating-input-field-rac-CwN7wyaw.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as D } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { bo as v, bl as I, by as H, R as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-
|
|
4
|
+
import { bo as v, bl as I, by as H, R as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-D7ulDPh1.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as z, E as Q } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as z, E as Q } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { E as $ } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: R, FieldLayout: C } = v(), { labelId: _ } = I(), L = N((y) => i(Number(y)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-BDHxHfIN.js → rich-content-rac.module-C11w9mXa.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bo as a, bg as i, by as T } from "./form-
|
|
2
|
+
import { bo as a, bg as i, by as T } from "./form-D7ulDPh1.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 { bo as m, aB as i, aj as u, a$ as R, b2 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 { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-D7ulDPh1.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-C11w9mXa.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-CitukGuQ.js → service-dropdown-rac-BfliE4hs.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t, { 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 { bk as P, by as A, F as y, bo as M, bg as H, aq as V, R as k, a0 as q, y as x, H as U, v as W } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bk as P, by as A, F as y, bo as M, bg as H, aq as V, R as k, a0 as q, y as x, H as U, v as W } from "./form-D7ulDPh1.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DgSaAuGy.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-Bv6LrkeA.js";
|
|
7
7
|
import { C as Q } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Y } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as j } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { a as z, u as G } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { a as z, u as G } from "./use-dropdown-trigger-class-name-BKOFwNvc.js";
|
|
12
12
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
13
13
|
const { actions: o } = 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 R } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as S, bo as d, aq as D, R as F, a0 as N, o as f, q as h, H as b, v as M, p 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 S, bo as d, aq as D, R as F, a0 as N, o as f, q as h, H as b, v as M, p as A } from "./form-D7ulDPh1.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DgSaAuGy.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-Didam2ZD.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-akWZsZNn.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DP0lkkEv.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-DY0UyIQg.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-DFMQAg_E.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 V, useContext as Ne, useMemo as be, useCallback as _, useS
|
|
|
2
2
|
import we from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as xe } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, R as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-
|
|
5
|
+
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, R as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
|
|
7
7
|
import { RadioGroup as tt, Button as ye, TextField as nt, DropZone as at, Input as ot, FileTrigger as st, RadioField as rt, RadioButton as lt } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as I, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as it, E as ct } from "./field-error-headless-
|
|
11
|
-
import { L as ut } from "./field-label-headless-
|
|
10
|
+
import { D as it, E as ct } from "./field-error-headless-vApyo-y9.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-C8-ShLxy.js";
|
|
12
12
|
import { D as dt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as mt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DP0lkkEv.js";
|
|
15
|
-
import { u as z } from "./use-element-state-class-name-
|
|
15
|
+
import { u as z } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
16
16
|
const pt = typeof r.useId == "function" ? r.useId : () => V(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, ht = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), Et = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, gt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Te().signature) == null ? void 0 : o.signatureMode, a = Ne(Be);
|