@wix/form-elements 1.239.0 → 1.241.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-Bm8rDoTG.js → appointment-rac-CHG0WqmP.js} +4 -4
- package/dist/component/{bookings-address-rac-DU8OkeK5.js → bookings-address-rac-0gam8j7s.js} +1 -1
- package/dist/component/{bookings-email-rac-CknyRCva.js → bookings-email-rac-DZlulUCa.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DU59YdGL.js → bookings-first-name-rac-U4MHsWd1.js} +1 -1
- package/dist/component/{bookings-header-rac-Cp9jofKf.js → bookings-header-rac-CDJfljEO.js} +1 -1
- package/dist/component/{bookings-last-name-rac-icNxzYrt.js → bookings-last-name-rac-DLInE8pT.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-C7q9ivGr.js → bookings-login-bar-rac-K3m0pn4a.js} +1 -1
- package/dist/component/{bookings-phone-rac-DO6xouOx.js → bookings-phone-rac-CI8wi6GY.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-BlchtuQW.js → bookings-rich-text-rac-Bwta9py6.js} +1 -1
- package/dist/component/{checkbox-field-rac-DykQE4ex.js → checkbox-field-rac-Bs_vJ_oq.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-DEEfGA8I.js → checkbox-group-field-headless-CwyrCRLc.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-Dhj9rm6Q.js → checkbox-group-field-rac-31RRmAz_.js} +4 -4
- package/dist/component/{checkbox-group-rac-CpfowXJ1.js → checkbox-group-rac-Bz98tGbx.js} +1 -1
- package/dist/component/{checkbox-rac-BR4S6ifx.js → checkbox-rac-DFdDAv50.js} +1 -1
- package/dist/component/{contacts-address-rac-VJta12Vu.js → contacts-address-rac-Ct5QNUdV.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-8M-73m41.js → contacts-birthdate-rac-BUHd4cCk.js} +1 -1
- package/dist/component/{contacts-company-rac-DL9YQzZH.js → contacts-company-rac-CI_d3IHw.js} +1 -1
- package/dist/component/{contacts-email-rac-Cc3REWGd.js → contacts-email-rac-CCbpBKs9.js} +1 -1
- package/dist/component/{contacts-first-name-rac--JpJgbEk.js → contacts-first-name-rac-FBUDLP8v.js} +1 -1
- package/dist/component/{contacts-last-name-rac-CY5pia7A.js → contacts-last-name-rac-BSNrn4eb.js} +1 -1
- package/dist/component/{contacts-phone-rac-CM3FGS_4.js → contacts-phone-rac-CsrFVsq6.js} +1 -1
- package/dist/component/{contacts-position-rac-D4Peii3n.js → contacts-position-rac-2gwTiIIo.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-BJkc1FNK.js → contacts-subscribe-rac-DucA9CDH.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-QhcqnnBB.js → contacts-tax-id-rac-LcMf98te.js} +1 -1
- package/dist/component/{date-availability-BK0U1C5v.js → date-availability-Bt56LTk9.js} +1 -1
- package/dist/component/{date-input-field-rac-Dz8j3H_P.js → date-input-field-rac-DhJqiwKI.js} +8 -8
- package/dist/component/{date-input-rac-o0ootRXL.js → date-input-rac-BISvPvDp.js} +1 -1
- package/dist/component/{date-picker-field-rac-CWz0tsV1.js → date-picker-field-rac-C4I7QrcQ.js} +8 -8
- package/dist/component/{date-picker-rac-DNJWptj-.js → date-picker-rac-C3nny4Tu.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Bw32HIB2.js → date-time-input-field-rac-njri5kye.js} +8 -8
- package/dist/component/{date-time-input-rac-CAfM3cKC.js → date-time-input-rac-D9kJRPD-.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DU61bMpN.js → dext-checkbox-group-rac-D8cqL9dJ.js} +2 -2
- package/dist/component/{dext-checkbox-rac-CMnEAlvV.js → dext-checkbox-rac-Dd1SbiE4.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CFZJvc4p.js → dext-date-picker-rac-C2r-njE7.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-D9uVYWdR.js → dext-date-time-input-rac-CAqXDbbj.js} +1 -1
- package/dist/component/{dext-dropdown-rac-rnSAPrM7.js → dext-dropdown-rac-B2VPep8Y.js} +1 -1
- package/dist/component/{dext-email-rac-OjBTeg7J.js → dext-email-rac-24Jk1Mrj.js} +1 -1
- package/dist/component/{dext-number-input-rac-BDHXmpsz.js → dext-number-input-rac-y4ohRhoE.js} +1 -1
- package/dist/component/{dext-phone-rac-Dwqg2FSb.js → dext-phone-rac-CIKnuUWR.js} +1 -1
- package/dist/component/{dext-radio-group-rac-BdHFvP7g.js → dext-radio-group-rac-BVcTXiaB.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BxStM3Z6.js → dext-rating-input-rac-CZVnCJ70.js} +1 -1
- package/dist/component/{dext-tags-rac-By9ABifk.js → dext-tags-rac-CnlzoLOp.js} +2 -2
- package/dist/component/{dext-text-area-rac-DUiklOQo.js → dext-text-area-rac-Bx5soEnf.js} +1 -1
- package/dist/component/{dext-text-input-rac-CyxWpYGU.js → dext-text-input-rac-jm659H89.js} +1 -1
- package/dist/component/{dext-url-input-rac-w8R6U7u8.js → dext-url-input-rac-DvdPiREA.js} +1 -1
- package/dist/component/{dismiss-icon-4SdtTtrF.js → dismiss-icon-CBZq_OBa.js} +1 -1
- package/dist/component/{donation-rac-mhC_41a7.js → donation-rac-CE4WS0Lx.js} +5 -5
- package/dist/component/{dropdown-field-rac-nCvgQtwV.js → dropdown-field-rac-Bhp-OH4C.js} +3 -3
- package/dist/component/{dropdown-rac-BN3E1a2F.js → dropdown-rac-s7sa3er0.js} +1 -1
- package/dist/component/{ecom-address-rac-BvZ5fKwq.js → ecom-address-rac-CSrBFi_H.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-B21kn8WX.js → ecom-subscription-checkbox-rac-BAbbwlHW.js} +2 -2
- package/dist/component/{email-input-field-rac-BAZfDhzT.js → email-input-field-rac-3G3Ozglm.js} +3 -3
- package/dist/component/{events-repeater-rac-MrnfHupV.js → events-repeater-rac-BUy91Kxs.js} +4 -4
- package/dist/component/{events-rsvp-rac-BSeWX1Lx.js → events-rsvp-rac-Gisnded3.js} +3 -3
- package/dist/component/{field-error-headless-Ek4POGu5.js → field-error-headless-piKY_H3-.js} +1 -1
- package/dist/component/{field-label-headless-DrZeUGw3.js → field-label-headless-BueDpCx1.js} +1 -1
- package/dist/component/{file-upload-rac-BgHsS7Ze.js → file-upload-rac-CSsl-aS9.js} +4 -4
- package/dist/component/{fixed-payment-rac-DOYG4dHG.js → fixed-payment-rac-ChzdCJU5.js} +3 -3
- package/dist/component/{form-DnkQAGFK.js → form-DcxKWiG2.js} +307 -306
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BkCSVoMt.js → header-field-rac-Cs75yckQ.js} +2 -2
- package/dist/component/{header-rac-DrxFuzRm.js → header-rac-CtYKxrpl.js} +1 -1
- package/dist/component/{image-choice-rac-BW4I446V.js → image-choice-rac-Dmgx9mHc.js} +4 -4
- package/dist/component/{index-BoA1-4AG.js → index-B6EvjVlP.js} +2 -2
- package/dist/component/{index-CffZGLlY.js → index-BflhPqlx.js} +4 -4
- package/dist/component/{isObjectLike-Bz7iKiVE.js → isObjectLike-CgoQvRJK.js} +1 -1
- package/dist/component/{multiline-address-field-rac-BqJCbVps.js → multiline-address-field-rac-Dp0Zf4Kf.js} +8 -8
- package/dist/component/{multiline-address-rac-BmH-FA_w.js → multiline-address-rac-C_mO6tFy.js} +1 -1
- package/dist/component/{number-input-field-rac-BZAEJpnZ.js → number-input-field-rac-BqtaqBSU.js} +4 -4
- package/dist/component/{number-input-rac-BNnuE4_U.js → number-input-rac-Cuwz2ZQV.js} +1 -1
- package/dist/component/{password-rac-CdouGooI.js → password-rac-_1CzsKwh.js} +4 -4
- package/dist/component/{payment-input-rac-CJpi9gN5.js → payment-input-rac-Im0lWoko.js} +4 -4
- package/dist/component/{phone-input-field-rac-CrlJJbEi.js → phone-input-field-rac-DWgYXcrE.js} +7 -7
- package/dist/component/{phone-rac-DUhwmZCm.js → phone-rac-B5Qf61W1.js} +1 -1
- package/dist/component/{product-list-rac-BOiMnJzz.js → product-list-rac-C5EK2laJ.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-BhUdkWjK.js → quiz-radio-group-rac-CP9zzyH6.js} +1 -1
- package/dist/component/{radio-button-module-classes-C3bv24a7.js → radio-button-module-classes-CkGrAGkr.js} +3 -3
- package/dist/component/{radio-group-field-rac-DaBu-Y0t.js → radio-group-field-rac-C_42Fcne.js} +4 -4
- package/dist/component/{radio-group-rac-BfogPsFM.js → radio-group-rac-CXdbk24Q.js} +1 -1
- package/dist/component/{rating-input-field-rac-DMb9Gx38.js → rating-input-field-rac-DCkEh6Aj.js} +4 -4
- package/dist/component/{rating-input-rac-BSWe-su7.js → rating-input-rac-B9A843l0.js} +1 -1
- package/dist/component/{rich-content-rac.module-BTwxU9GT.js → rich-content-rac.module-CNC4XD5d.js} +1 -1
- package/dist/component/{rich-text-field-rac-ColJr0G-.js → rich-text-field-rac-5rrd72dQ.js} +2 -2
- package/dist/component/{rich-text-rac-Bl8NdFB3.js → rich-text-rac-YrwQXZNA.js} +1 -1
- package/dist/component/{service-dropdown-rac-BRJGGTwv.js → service-dropdown-rac-CQCQPJXB.js} +4 -4
- package/dist/component/{services-multi-choice-rac-ChQYyeIQ.js → services-multi-choice-rac-CUzXOutN.js} +5 -5
- package/dist/component/{signature-rac-C_u7kXY2.js → signature-rac-CCaJeBKX.js} +4 -4
- package/dist/component/{submit-button-rac-PiSBi7Db.js → submit-button-rac-DGWGdzRU.js} +2 -2
- package/dist/component/{tags-field-rac-DW_tFzve.js → tags-field-rac-B_YaA_EP.js} +5 -5
- package/dist/component/{tags-rac-ND1_w18c.js → tags-rac-CF-h7_KF.js} +1 -1
- package/dist/component/{text-area-field-rac-BT5kn2_p.js → text-area-field-rac-BQ5WJhWG.js} +4 -4
- package/dist/component/{text-area-rac-RTfL5OYW.js → text-area-rac-BFWz2X0C.js} +1 -1
- package/dist/component/{text-input-field-rac-B6aqpQqL.js → text-input-field-rac-Bxv2pGmX.js} +3 -3
- package/dist/component/{text-input-headless-BiYydJnd.js → text-input-headless-B4aiikZS.js} +3 -3
- package/dist/component/{text-input-rac-B_ktWIA7.js → text-input-rac-DeQ9w2CC.js} +1 -1
- package/dist/component/{time-input-rac-vNgNQgNN.js → time-input-rac-tu0cnsa5.js} +6 -6
- package/dist/component/{url-input-field-rac-BYRoYHR6.js → url-input-field-rac-Cc6cm4so.js} +4 -4
- package/dist/component/{url-input-rac-9AVzPoc5.js → url-input-rac-DeKtkN8j.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DAiT5uNc.js → use-dropdown-option-class-name-CkOKrSdx.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-aUb_sgFq.js → use-dropdown-trigger-class-name-BPkfvqu4.js} +7 -7
- package/dist/component/{use-element-state-class-name-4Q4mzmq7.js → use-element-state-class-name-Cvpi3dBc.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-B3TQVTv2.js → use-hoverable-input-class-name-rCSXDYsL.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-BqAHpu-1.js → use-is-forced-open-dropdown-CX5XR5lo.js} +1 -1
- package/dist/component/{use-native-mobile-input-Bq_rDwKS.js → use-native-mobile-input-CVBv_Asv.js} +1 -1
- package/dist/component/{use-service-options-base-Dfmr-7Ha.js → use-service-options-base-BnjbDbkj.js} +1 -1
- package/dist/component/use-text-input-class-name-wxGkp-sq.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-D7autJGB.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 { bN as u, bo as i, bn as C, bq as R, aY as T, aG 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 { bN as u, bo as i, bn as C, bq as R, aY as T, aG as d } from "./form-DcxKWiG2.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-CNC4XD5d.js";
|
|
5
5
|
const f = ({ 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, { useRef as S, useMemo as G, useCallback as P } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { bN as b, bK as x, bW as j, bP as B, bG as q, X as U, am as V, T as K, V as w, M as z, I as Q, U as W, f } from "./form-
|
|
4
|
+
import { bN as b, bK as x, bW as j, bP as B, bG as q, X as U, am as V, T as K, V as w, M as z, I as Q, U as W, f } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { CheckboxGroup as X, CheckboxField as Y, CheckboxButton as $ } 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 Z } from "./field-label-headless-
|
|
8
|
-
import { D as ee, E as te } from "./field-error-headless-
|
|
7
|
+
import { L as J, g as Z } from "./field-label-headless-BueDpCx1.js";
|
|
8
|
+
import { D as ee, E as te } from "./field-error-headless-piKY_H3-.js";
|
|
9
9
|
import { F as oe } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-D0QzJXUv.js";
|
|
12
|
-
import { u as ne } from "./use-element-state-class-name-
|
|
12
|
+
import { u as ne } from "./use-element-state-class-name-Cvpi3dBc.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: d, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: A } = x(), R = S(null);
|
|
15
15
|
j(R);
|
|
@@ -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-DcxKWiG2.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-DcxKWiG2.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, b5 as _, bk as pe, b6 as O, aM as qe, B as He, a_ as je, aT as Xe, aS as I, b0 as Te, b9 as ne, b3 as Le, c as B, aU as M, bw as he, aW as ke, aV as Re, aX as q } from "./form-
|
|
2
|
-
import { br as $n } from "./form-
|
|
1
|
+
import { e as R, b5 as _, bk as pe, b6 as O, aM as qe, B as He, a_ as je, aT as Xe, aS as I, b0 as Te, b9 as ne, b3 as Le, c as B, aU as M, bw as he, aW as ke, aV as Re, aX as q } from "./form-DcxKWiG2.js";
|
|
2
|
+
import { br as $n } from "./form-DcxKWiG2.js";
|
|
3
3
|
import We from "ajv";
|
|
4
4
|
import Ke from "ajv-errors";
|
|
5
5
|
import ze from "ajv-formats";
|
|
6
6
|
import Ve from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as Ze, parsePhoneNumberWithError as Je, ParseError as Qe } from "libphonenumber-js/max";
|
|
8
8
|
import et from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as tt, i as rt } from "./date-availability-
|
|
10
|
-
import { a as wn } from "./date-availability-
|
|
9
|
+
import { p as tt, i as rt } from "./date-availability-Bt56LTk9.js";
|
|
10
|
+
import { a as wn } from "./date-availability-Bt56LTk9.js";
|
|
11
11
|
import { C as nt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function J(e) {
|
|
13
13
|
const [t, r = "0"] = String(Math.abs(e)).split("e"), [n, s = ""] = t.split(".");
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { RicosViewer as ee } from "@wix/ricos/viewer";
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import n, { useMemo as x, createContext as je, useContext as ye, useState as fe, useRef as B, useCallback as A, useEffect as we } from "react";
|
|
4
|
-
import { bI as Je, d as Xe, bD as Wt, bF as gt, bf as Yt, bg as Ht, b8 as jt, be as X, F as z, bY as Me, bv as Et, bN as _, bK as P, bP as G, bW as Ce, bJ as Dt, bk as Jt, C as Se, bt as Xt, bx as Qt, bU as zt, bO as Gt, bT as Zt, bB as en, bA as tn, bp as nn, bz as rn, bQ as on, aP as sn, Y as an, _ as te, am as ne, $ as Oe, M as re, I as oe, Z as bt, a0 as ln, a1 as cn } from "./form-
|
|
4
|
+
import { bI as Je, d as Xe, bD as Wt, bF as gt, bf as Yt, bg as Ht, b8 as jt, be as X, F as z, bY as Me, bv as Et, bN as _, bK as P, bP as G, bW as Ce, bJ as Dt, bk as Jt, C as Se, bt as Xt, bx as Qt, bU as zt, bO as Gt, bT as Zt, bB as en, bA as tn, bp as nn, bz as rn, bQ as on, aP as sn, Y as an, _ as te, am as ne, $ as Oe, M as re, I as oe, Z as bt, a0 as ln, a1 as cn } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { mergeProps as ht, UNSAFE_PortalProvider as dn } from "react-aria";
|
|
6
6
|
import { f as b, a as h } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as un, V as mn } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { c as pn } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { c as pn } from "./use-is-forced-open-dropdown-CX5XR5lo.js";
|
|
9
9
|
import { TextField as Ie, Input as de, ComboBoxStateContext as Be, ComboBox as he, Popover as Fe, ListBox as qe, ListBoxItem as Ae, Group as Ft, Button as At } from "react-aria-components";
|
|
10
|
-
import { D as ue, E as me } from "./field-error-headless-
|
|
11
|
-
import { L as pe } from "./field-label-headless-
|
|
12
|
-
import { e as En, c as bn, a as fn, r as _t } from "./isObjectLike-
|
|
13
|
-
import { u as Rt, N as Pt } from "./use-native-mobile-input-
|
|
10
|
+
import { D as ue, E as me } from "./field-error-headless-piKY_H3-.js";
|
|
11
|
+
import { L as pe } from "./field-label-headless-BueDpCx1.js";
|
|
12
|
+
import { e as En, c as bn, a as fn, r as _t } from "./isObjectLike-CgoQvRJK.js";
|
|
13
|
+
import { u as Rt, N as Pt } from "./use-native-mobile-input-CVBv_Asv.js";
|
|
14
14
|
import { N as Tt } from "./native-select-BbxBpe3S.js";
|
|
15
15
|
import { u as wt } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
16
|
-
import { V as yn, a as Cn } from "./use-dropdown-option-class-name-
|
|
16
|
+
import { V as yn, a as Cn } from "./use-dropdown-option-class-name-CkOKrSdx.js";
|
|
17
17
|
import { u as In } from "./use-invoke-callback-UH73A_J3.js";
|
|
18
18
|
import { C as Pe } from "./chevron-down-icon-CcpVm6B-.js";
|
|
19
19
|
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
20
20
|
import { H as xe } from "./custom-focus-class-_483Pkwp.js";
|
|
21
21
|
import { s as I } from "./field-rac.module-D0QzJXUv.js";
|
|
22
|
-
import { u as ke } from "./use-hoverable-input-class-name-
|
|
22
|
+
import { u as ke } from "./use-hoverable-input-class-name-rCSXDYsL.js";
|
|
23
23
|
const Nn = (e, t, r) => {
|
|
24
24
|
var s, a, i, l;
|
|
25
25
|
const o = (s = e.steps) == null ? void 0 : s.map((u) => {
|
package/dist/component/{number-input-field-rac-BZAEJpnZ.js → number-input-field-rac-BqtaqBSU.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as U } from "@wix/ricos/viewer";
|
|
|
2
2
|
import d from "classnames";
|
|
3
3
|
import t, { useState as W, useCallback as X, useEffect as Y, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as v } from "react-aria-components";
|
|
5
|
-
import { bN as _, bK as S, bY as z, bP as G, bW as H, X as J, am as Z, M as w, I as ee } from "./form-
|
|
5
|
+
import { bN as _, bK as S, bY as z, bP as G, bW as H, X as J, am as Z, M as w, I as ee } from "./form-DcxKWiG2.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-piKY_H3-.js";
|
|
9
|
+
import { L as ne } from "./field-label-headless-BueDpCx1.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-D0QzJXUv.js";
|
|
13
|
-
import { u as me } from "./use-text-input-class-name-
|
|
13
|
+
import { u as me } from "./use-text-input-class-name-wxGkp-sq.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 S, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bN as E, bK as I, bP as A, bW as B, bY as P, X as V, am as v, M, I as k } from "./form-
|
|
4
|
+
import { bN as E, bK as I, bP as A, bW as B, bY as P, X as V, am as v, M, I as k } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { TextField as q, Group as U, Input as W, Button as j } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as H, E as K } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as H, E as K } from "./field-error-headless-piKY_H3-.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-BueDpCx1.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-D0QzJXUv.js";
|
|
12
|
-
import { u as X } from "./use-text-input-class-name-
|
|
12
|
+
import { u as X } from "./use-text-input-class-name-wxGkp-sq.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] = S(!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 V, useRef as Q } from "react";
|
|
|
2
2
|
import { RicosViewer as X } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as Y, Group as j, Input as w } from "react-aria-components";
|
|
5
|
-
import { bN as R, bK as D, bF as M, bY as z, bP as J, X as W, am as Z, M as ee, I as re } from "./form-
|
|
5
|
+
import { bN as R, bK as D, bF as M, bY as z, bP as J, X as W, am as Z, M as ee, I as re } from "./form-DcxKWiG2.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-piKY_H3-.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-BueDpCx1.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-D0QzJXUv.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-wxGkp-sq.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-CrlJJbEi.js → phone-input-field-rac-DWgYXcrE.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { RicosViewer as ge } from "@wix/ricos/viewer";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import n, { useMemo as M, useState as w, useRef as S, useEffect as k, useCallback as U, createContext as ae, useContext as j, useId as se } from "react";
|
|
4
|
-
import { bv as be, bY as L, bF as ce, bX as Ne, bN as F, bK as Q, bP as Oe, bW as _e, X as ve, am as Se, a3 as ne, M as Le, I as Ie, a5 as Pe, a4 as Fe, a2 as De } from "./form-
|
|
4
|
+
import { bv as be, bY as L, bF as ce, bX as Ne, bN as F, bK as Q, bP as Oe, bW as _e, X as ve, am as Se, a3 as ne, M as Le, I as Ie, a5 as Pe, a4 as Fe, a2 as De } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Be } from "react-aria";
|
|
6
6
|
import { VisuallyHidden as le, Dialog as ue, OverlayTriggerStateContext as Re, ModalOverlay as xe, Modal as Me, SearchField as we, Group as H, ListBoxItem as Te, DialogTrigger as $e, Select as Ae, Input as ie, Autocomplete as Ve } from "react-aria-components";
|
|
7
7
|
import de, { AsYouType as ke, isValidPhoneNumber as He, isSupportedCountry as qe } from "libphonenumber-js";
|
|
8
8
|
import "libphonenumber-js/metadata.min.json";
|
|
9
9
|
import { f as E, a as P } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as Ue, E as Ke } from "./field-error-headless-
|
|
11
|
-
import { L as Ye } from "./field-label-headless-
|
|
12
|
-
import { N as Ge, u as ze } from "./use-native-mobile-input-
|
|
10
|
+
import { D as Ue, E as Ke } from "./field-error-headless-piKY_H3-.js";
|
|
11
|
+
import { L as Ye } from "./field-label-headless-BueDpCx1.js";
|
|
12
|
+
import { N as Ge, u as ze } from "./use-native-mobile-input-CVBv_Asv.js";
|
|
13
13
|
import { N as We } from "./native-select-BbxBpe3S.js";
|
|
14
14
|
import { N as Xe, S as Ze } from "./non-modal-popover-D-u13tmp.js";
|
|
15
15
|
import { u as je } from "./use-invoke-callback-UH73A_J3.js";
|
|
16
|
-
import { d as Qe } from "./use-is-forced-open-dropdown-
|
|
17
|
-
import { V as Je, a as et } from "./use-dropdown-option-class-name-
|
|
16
|
+
import { d as Qe } from "./use-is-forced-open-dropdown-CX5XR5lo.js";
|
|
17
|
+
import { V as Je, a as et } from "./use-dropdown-option-class-name-CkOKrSdx.js";
|
|
18
18
|
import { C as oe } from "./calling-country-codes-PyWuOTmF.js";
|
|
19
19
|
import { C as tt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
20
20
|
import { E as nt } from "./error-icon-hZxQ6DEy.js";
|
|
21
21
|
import { H as z } from "./custom-focus-class-_483Pkwp.js";
|
|
22
22
|
import { s as O } from "./field-rac.module-D0QzJXUv.js";
|
|
23
|
-
import { u as re } from "./use-hoverable-input-class-name-
|
|
23
|
+
import { u as re } from "./use-hoverable-input-class-name-rCSXDYsL.js";
|
|
24
24
|
function X(e) {
|
|
25
25
|
const t = e ? de(e) : void 0, r = t == null ? void 0 : t.country;
|
|
26
26
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as H, useCallback as v, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import y from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as X, NumberField as Y, Group as j, Button as Q, Input as J } from "react-aria-components";
|
|
5
|
-
import { bN as U, bK as W, bF as V, bY as Z, bP 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 { bN as U, bK as W, bF as V, bY as Z, bP 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-DcxKWiG2.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-BueDpCx1.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-piKY_H3-.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 Le } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
|
|
15
15
|
import { s as A } from "./field-rac.module-D0QzJXUv.js";
|
|
16
16
|
import { o as w } 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-Cvpi3dBc.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 l, { useRef as D, useEffect as V, useState as A, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as w, RadioField as q, RadioButton as G, TextField as $, Input as x } from "react-aria-components";
|
|
3
|
-
import { bN as R, bK as K, bW as U, bY as P, bP as M } from "./form-
|
|
3
|
+
import { bN as R, bK as K, bW as U, bY as P, bP as M } from "./form-DcxKWiG2.js";
|
|
4
4
|
import { f as d, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as W, E as Y } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as W, E as Y } from "./field-error-headless-piKY_H3-.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-BueDpCx1.js";
|
|
7
7
|
import { S as z } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const C = "Other", J = (e, t) => e == null ? void 0 : e.find((a) => (a.value ?? a.label) === t), T = (e, t) => !!t && !J(e, t), Q = (e, t) => {
|
|
9
9
|
const r = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-DaBu-Y0t.js → radio-group-field-rac-C_42Fcne.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-CkGrAGkr.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-D0QzJXUv.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-DcxKWiG2.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-Cvpi3dBc.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-wxGkp-sq.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-DMb9Gx38.js → rating-input-field-rac-DCkEh6Aj.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
2
|
import p from "classnames";
|
|
3
3
|
import e, { useCallback as O, useState as A, useRef as M } from "react";
|
|
4
|
-
import { bN as F, bK as y, bW as T, bP as H, bY as P, X as w, am as B, af as q, M as k, I as G, ag as x } from "./form-
|
|
4
|
+
import { bN as F, bK as y, bW as T, bP as H, bY as P, X as w, am as B, af as q, M as k, I as G, ag as x } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { RadioGroup as K, RadioField as U, RadioButton as z } from "react-aria-components";
|
|
6
6
|
import { f as g, a as Q } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
8
|
-
import { L as Y } from "./field-label-headless-
|
|
7
|
+
import { D as W, E as X } from "./field-error-headless-piKY_H3-.js";
|
|
8
|
+
import { L as Y } from "./field-label-headless-BueDpCx1.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as R } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-Cvpi3dBc.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: s, onChange: d, disabled: l, readOnly: m, required: u, hasError: i, onBlur: o, onFocus: f, FieldLayout: E } = F(), { labelId: L, ariaDescribedBy: S } = y(), b = O((D) => d(Number(D)), [
|
|
14
14
|
d
|
package/dist/component/{rich-content-rac.module-BTwxU9GT.js → rich-content-rac.module-CNC4XD5d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bN as a, bF as i, bY as T } from "./form-
|
|
2
|
+
import { bN as a, bF as i, bY as T } from "./form-DcxKWiG2.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 { bN 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 { bN as m, aY as i, aG as u, bn as R, bq as T } from "./form-DcxKWiG2.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CNC4XD5d.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-BRJGGTwv.js → service-dropdown-rac-CQCQPJXB.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t, { useRef as b, useMemo as _, useCallback as C, useEffect as P } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bJ as M, bY as y, F as V, bN as x, bF as H, aN as U, X as W, am as k, J as q, M as B, I as J } from "./form-
|
|
5
|
-
import { u as Y } from "./use-service-options-base-
|
|
6
|
-
import { D as m, u as v } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bJ as M, bY as y, F as V, bN as x, bF as H, aN as U, X as W, am as k, J as q, M as B, I as J } from "./form-DcxKWiG2.js";
|
|
5
|
+
import { u as Y } from "./use-service-options-base-BnjbDbkj.js";
|
|
6
|
+
import { D as m, u as v } from "./use-dropdown-trigger-class-name-BPkfvqu4.js";
|
|
7
7
|
import { C as L } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as X } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as n } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-CkOKrSdx.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
|
|
13
13
|
const { actions: r } = M(), { t: E } = y(), { addOther: a, addOtherLabel: O } = e, c = O || E("add-other.default-other-option-label"), i = b(!0), p = _(() => {
|
|
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, bN as d, aN as N, X as D, am as F, p as f, r as h, M as b, I as M, 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, bN as d, aN as N, X as D, am as F, p as f, r as h, M as b, I as M, q as A } from "./form-DcxKWiG2.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-BnjbDbkj.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CwyrCRLc.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-D0QzJXUv.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-Cvpi3dBc.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-wxGkp-sq.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, bH as Le, aR as Ue, F as Be, bJ as Oe, bF as Pe, bV as Te, E as me, aH as oe, bN as x, bK as W, bP as Ce, bY as Me, bG 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, bH as Le, aR as Ue, F as Be, bJ as Oe, bF as Pe, bV as Te, E as me, aH as oe, bN as x, bK as W, bP as Ce, bY as Me, bG 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-DcxKWiG2.js";
|
|
6
6
|
import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
|
|
7
7
|
import { RadioGroup as nt, Button as Ie, 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 I, 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-piKY_H3-.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-BueDpCx1.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-D0QzJXUv.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-Cvpi3dBc.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 J from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bN as B, bH as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-
|
|
4
|
+
import { bN as B, bH as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { ProgressBar as nt, Button as R } from "react-aria-components";
|
|
6
6
|
import { f as l } 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-Cvpi3dBc.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 Q } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useRef as S, useMemo as I, useState as X, useLayoutEffect as Y, useCallback as x } from "react";
|
|
4
4
|
import { CheckboxGroup as w, TextField as z, Input as B, CheckboxField as J, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bN as y, bK as M, bW as U, bY as T, bP as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-
|
|
5
|
+
import { bN as y, bK as M, bW as U, bY as T, bP as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-DcxKWiG2.js";
|
|
6
6
|
import { f, a as W } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as k, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { E as k, D as H } from "./field-error-headless-piKY_H3-.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-BueDpCx1.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-D0QzJXUv.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-Cvpi3dBc.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-wxGkp-sq.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 S, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as O } from "react-aria-components";
|
|
5
|
-
import { bN as p, bK as d, bP as x, bW as h, X as g, am as v, M, I as q } from "./form-
|
|
5
|
+
import { bN as p, bK as d, bP as x, bW as h, X as g, am as v, M, I as q } from "./form-DcxKWiG2.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as V } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as P } from "./field-error-headless-piKY_H3-.js";
|
|
8
|
+
import { L as V } from "./field-label-headless-BueDpCx1.js";
|
|
9
9
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as K } from "./use-text-input-class-name-
|
|
11
|
+
import { u as K } from "./use-text-input-class-name-wxGkp-sq.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 = S((A) => {
|
|
14
14
|
n(A);
|
package/dist/component/{text-input-field-rac-B6aqpQqL.js → text-input-field-rac-Bxv2pGmX.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-B4aiikZS.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-D0QzJXUv.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-DcxKWiG2.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-wxGkp-sq.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 { bN as d, bK as p, bP as h, bW as T } from "./form-
|
|
3
|
+
import { bN as d, bK as p, bP as h, bW as T } from "./form-DcxKWiG2.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as x } from "./field-error-headless-
|
|
6
|
-
import { L as B } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as x } from "./field-error-headless-piKY_H3-.js";
|
|
6
|
+
import { L as B } from "./field-label-headless-BueDpCx1.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, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import e, { useCallback as Q, useRef as H, useContext as X } from "react";
|
|
2
2
|
import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { bN as N, bK as k, bP as U, bY as g, X as z, am as G, M as J, I as W } from "./form-
|
|
4
|
+
import { bN as N, bK as k, bP as U, bY as g, X as z, am as G, M as J, I as W } from "./form-DcxKWiG2.js";
|
|
5
5
|
import { parseTime as Z } from "@internationalized/date";
|
|
6
6
|
import { mergeProps as $ } from "react-aria";
|
|
7
7
|
import { TimeField as ee, DateInput as te, DateSegment as v, TimeFieldStateContext as ne } from "react-aria-components";
|
|
8
8
|
import { f as m, a as _ } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as re, E as ae } from "./field-error-headless-
|
|
10
|
-
import { L as oe } from "./field-label-headless-
|
|
11
|
-
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-
|
|
12
|
-
import { u as me, N as ue } from "./use-native-mobile-input-
|
|
9
|
+
import { D as re, E as ae } from "./field-error-headless-piKY_H3-.js";
|
|
10
|
+
import { L as oe } from "./field-label-headless-BueDpCx1.js";
|
|
11
|
+
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-CBZq_OBa.js";
|
|
12
|
+
import { u as me, N as ue } from "./use-native-mobile-input-CVBv_Asv.js";
|
|
13
13
|
import { t as de } from "./to-native-time-Co_gOLkc.js";
|
|
14
14
|
import { u as pe } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
15
15
|
import { E as Ee } from "./error-icon-hZxQ6DEy.js";
|
|
16
16
|
import { H as B } from "./custom-focus-class-_483Pkwp.js";
|
|
17
17
|
import { s as f } from "./field-rac.module-D0QzJXUv.js";
|
|
18
|
-
import { u as x } from "./use-text-input-class-name-
|
|
18
|
+
import { u as x } from "./use-text-input-class-name-wxGkp-sq.js";
|
|
19
19
|
const n = ({ children: t }) => {
|
|
20
20
|
const { id: r, value: a, onChange: s, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: p, use24HourFormat: S, FieldLayout: F, hasError: y } = N(), { inputId: C, ariaDescribedBy: D, labelId: b } = k(), T = me(), h = Q((j) => {
|
|
21
21
|
const K = w(j);
|