@wix/form-elements 1.226.0 → 1.228.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-C2ClvRys.js → appointment-rac-BOMSG3ur.js} +100 -100
- package/dist/component/{bookings-address-rac-CPQjosbZ.js → bookings-address-rac-2Iqd3heF.js} +1 -1
- package/dist/component/{bookings-email-rac-DWvVUcBN.js → bookings-email-rac-vmaFkS3r.js} +1 -1
- package/dist/component/{bookings-first-name-rac-_iG2xJiA.js → bookings-first-name-rac-DToXUWLK.js} +1 -1
- package/dist/component/{bookings-header-rac-BbGm_Z8W.js → bookings-header-rac-DbGFMuV9.js} +1 -1
- package/dist/component/{bookings-last-name-rac-77Z29aHO.js → bookings-last-name-rac-h6A50NGK.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DfqRpARE.js → bookings-login-bar-rac-BF6vZYgD.js} +1 -1
- package/dist/component/{bookings-phone-rac-BKoU7X0X.js → bookings-phone-rac-NOzy382P.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DgSN4_f0.js → bookings-rich-text-rac-BRT8O9KI.js} +1 -1
- package/dist/component/{checkbox-field-rac-BLJ3Xb7C.js → checkbox-field-rac-BAbzQdm_.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-BeU8DG0A.js → checkbox-group-field-headless-QKAVGheB.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-ClRi6Ljp.js → checkbox-group-field-rac-PQAdmVdS.js} +4 -4
- package/dist/component/{checkbox-group-rac--cM57qqw.js → checkbox-group-rac-DJwR71Aj.js} +1 -1
- package/dist/component/{checkbox-rac-DnslW6as.js → checkbox-rac-DVTOVlds.js} +1 -1
- package/dist/component/{contacts-address-rac-Bpq_0vvi.js → contacts-address-rac-BxRBeN43.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-CB1h6kRm.js → contacts-birthdate-rac-CKaPcju4.js} +1 -1
- package/dist/component/{contacts-company-rac-DvYX4SLX.js → contacts-company-rac-7FqfoZ37.js} +1 -1
- package/dist/component/{contacts-email-rac-sxbgKBUR.js → contacts-email-rac-Bi4ktv2C.js} +1 -1
- package/dist/component/{contacts-first-name-rac-C4_o2nwv.js → contacts-first-name-rac-CM0wYXi8.js} +1 -1
- package/dist/component/{contacts-last-name-rac-B3s96wWt.js → contacts-last-name-rac-t3DRn23V.js} +1 -1
- package/dist/component/{contacts-phone-rac-B5NZeYaI.js → contacts-phone-rac-DheDoi4v.js} +1 -1
- package/dist/component/{contacts-position-rac-CO4Bo4jG.js → contacts-position-rac-D6wdlPMv.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CWmo3C6c.js → contacts-subscribe-rac-L-S8pW12.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-pi_bJeA7.js → contacts-tax-id-rac-D4dTB72V.js} +1 -1
- package/dist/component/{date-availability-DL8Xboob.js → date-availability-nLp28YJJ.js} +1 -1
- package/dist/component/{date-input-field-rac-Di2pwVW7.js → date-input-field-rac-3gJquXLV.js} +8 -8
- package/dist/component/{date-input-rac-C5xC7fbz.js → date-input-rac-DIVNbgAN.js} +1 -1
- package/dist/component/{date-picker-field-rac-DyPkuVVe.js → date-picker-field-rac-L5-jiuk9.js} +8 -8
- package/dist/component/{date-picker-rac-CKNlOGZG.js → date-picker-rac-DTJA96Wt.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Dk15pWyb.js → date-time-input-field-rac-D9uxp4Ll.js} +8 -8
- package/dist/component/{date-time-input-rac-oOUelldq.js → date-time-input-rac-BBDupf5A.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac--jmNDOV2.js → dext-checkbox-group-rac-AUofOKsf.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BOjbBRrg.js → dext-checkbox-rac-CJv0ZAL2.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CHi5TisB.js → dext-date-picker-rac-CbxqilcA.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CcF4ocHx.js → dext-date-time-input-rac-CWJSNiKG.js} +1 -1
- package/dist/component/{dext-dropdown-rac-LLYhuGt_.js → dext-dropdown-rac-Cxhp3hQk.js} +1 -1
- package/dist/component/{dext-email-rac-CbC1crzT.js → dext-email-rac-CpA5hnSl.js} +1 -1
- package/dist/component/{dext-number-input-rac-3-U9Hxre.js → dext-number-input-rac-_0BhXJKn.js} +1 -1
- package/dist/component/{dext-phone-rac-CdMFXUNf.js → dext-phone-rac-rzdoB5YJ.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bg33r95T.js → dext-radio-group-rac-CQVwB4Ey.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DV8jA90b.js → dext-rating-input-rac-D_CTi2xa.js} +1 -1
- package/dist/component/{dext-tags-rac-B-hpvZgE.js → dext-tags-rac-5HLAKnUE.js} +2 -2
- package/dist/component/{dext-text-area-rac-kBBc0Xjo.js → dext-text-area-rac-DSjq3lLs.js} +1 -1
- package/dist/component/{dext-text-input-rac-CImXblhX.js → dext-text-input-rac-B9bYNp4-.js} +1 -1
- package/dist/component/{dext-url-input-rac-J-7QABnD.js → dext-url-input-rac-BePEEdAf.js} +1 -1
- package/dist/component/{dismiss-icon-Bw_zbdk_.js → dismiss-icon-CjOV4_J8.js} +1 -1
- package/dist/component/{donation-rac-CvWwng6S.js → donation-rac-mKjY256K.js} +5 -5
- package/dist/component/{dropdown-field-rac-Dm9Qs8bh.js → dropdown-field-rac-DOmL7_DY.js} +3 -3
- package/dist/component/{dropdown-rac-BHqeUIje.js → dropdown-rac-DmnP9Usg.js} +1 -1
- package/dist/component/{ecom-address-rac-NtuG7Q_T.js → ecom-address-rac-CgtdxkRl.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DAJnX_RJ.js → ecom-subscription-checkbox-rac-C8qt8iqj.js} +2 -2
- package/dist/component/{email-input-field-rac-ompvaCLM.js → email-input-field-rac-D6ZmdvBn.js} +3 -3
- package/dist/component/{events-repeater-rac-kHEFBH7l.js → events-repeater-rac-CNTAWLn5.js} +4 -4
- package/dist/component/{events-rsvp-rac-R4F9aw6y.js → events-rsvp-rac-eVjqML27.js} +3 -3
- package/dist/component/{field-error-headless-o2u5ldAp.js → field-error-headless-CBInIAMD.js} +1 -1
- package/dist/component/{field-label-headless-DvNWYzXc.js → field-label-headless-DV4KBQmG.js} +1 -1
- package/dist/component/{file-upload-rac-DlE4dp0D.js → file-upload-rac-CrrDfZSa.js} +4 -4
- package/dist/component/{fixed-payment-rac-BxsFHhXP.js → fixed-payment-rac-Bkn5klPT.js} +3 -3
- package/dist/component/{form-Co7SkMqj.js → form-B1uAYoBy.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-D56CKAtM.js → header-field-rac-DSX3MNZb.js} +2 -2
- package/dist/component/{header-rac-DdYSBcq1.js → header-rac-BYn1jiFB.js} +1 -1
- package/dist/component/{image-choice-rac-g23R5qLL.js → image-choice-rac-CMi9bw4W.js} +4 -4
- package/dist/component/{index-C0yPsVXz.js → index-DYQsCsW0.js} +4 -4
- package/dist/component/{index-BmOwghzn.js → index-XnVV9Wkp.js} +2 -2
- package/dist/component/{isObjectLike-mlNAmhLJ.js → isObjectLike-D1IFTIp7.js} +1 -1
- package/dist/component/{multiline-address-field-rac-ApBLSWB_.js → multiline-address-field-rac-DWasVZf-.js} +8 -8
- package/dist/component/{multiline-address-rac-tdENoXBT.js → multiline-address-rac-DL199k_x.js} +1 -1
- package/dist/component/{number-input-field-rac-CCIuPPeP.js → number-input-field-rac-JmonZiSz.js} +4 -4
- package/dist/component/{number-input-rac-DxodjaRb.js → number-input-rac-CXXuNJv5.js} +1 -1
- package/dist/component/{password-rac-h9U6siGg.js → password-rac-CCN-CJEe.js} +4 -4
- package/dist/component/{payment-input-rac-YFXgnLS6.js → payment-input-rac-C9hrBzZx.js} +4 -4
- package/dist/component/{phone-input-field-rac-B9PUQJUP.js → phone-input-field-rac-vxg49cas.js} +7 -7
- package/dist/component/{phone-rac-B1Q9HXAB.js → phone-rac-DUGx4mGi.js} +1 -1
- package/dist/component/{product-list-rac-D63k_IAW.js → product-list-rac-fxGEBQac.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-Bl6DYjmg.js → quiz-radio-group-rac-MPTXz8Cu.js} +1 -1
- package/dist/component/{radio-button-module-classes-BRHKk6XZ.js → radio-button-module-classes-DyYUSl5o.js} +3 -3
- package/dist/component/{radio-group-field-rac-B8yEmx79.js → radio-group-field-rac-CrmkbfuW.js} +4 -4
- package/dist/component/{radio-group-rac-xX_sfxL0.js → radio-group-rac-CsowZhl8.js} +1 -1
- package/dist/component/{rating-input-field-rac-_p1u5oCL.js → rating-input-field-rac-SiHlMtly.js} +4 -4
- package/dist/component/{rating-input-rac-C_i6Nwdz.js → rating-input-rac-DXRb8Hjv.js} +1 -1
- package/dist/component/{rich-content-rac.module-BlHWoitq.js → rich-content-rac.module-BcqSpi17.js} +1 -1
- package/dist/component/{rich-text-field-rac-EiH-NdJm.js → rich-text-field-rac-Ik1cWY9H.js} +2 -2
- package/dist/component/{rich-text-rac-eZvghmFV.js → rich-text-rac-BIAPuNWy.js} +1 -1
- package/dist/component/{service-dropdown-rac-bujnhWyl.js → service-dropdown-rac-C-ivm8sd.js} +4 -4
- package/dist/component/{services-multi-choice-rac-FXrJOBdY.js → services-multi-choice-rac-BaFFFJpX.js} +5 -5
- package/dist/component/{signature-rac-CoVHMOpK.js → signature-rac-BZBC-nmD.js} +4 -4
- package/dist/component/{submit-button-rac-B8w753Be.js → submit-button-rac-DHylWJnK.js} +2 -2
- package/dist/component/{tags-field-rac-iitBlZ8l.js → tags-field-rac-FMK19M5h.js} +5 -5
- package/dist/component/{tags-rac-DJSUQlkc.js → tags-rac-CH6YHlp4.js} +1 -1
- package/dist/component/{text-area-field-rac-CePWfCbx.js → text-area-field-rac-r8O6HyU3.js} +4 -4
- package/dist/component/{text-area-rac-m18L6Zwk.js → text-area-rac-BD100QYM.js} +1 -1
- package/dist/component/{text-input-field-rac-BSo_dbkm.js → text-input-field-rac-DDRG3cfb.js} +3 -3
- package/dist/component/{text-input-headless-D-o9wyGb.js → text-input-headless-TEmX8piX.js} +3 -3
- package/dist/component/{text-input-rac-CcGgoWaF.js → text-input-rac-Va4l5vzg.js} +1 -1
- package/dist/component/{time-input-rac-DRIFM107.js → time-input-rac-wchwGOoj.js} +6 -6
- package/dist/component/{url-input-field-rac-Dpn9-sDD.js → url-input-field-rac-BzABcDX7.js} +4 -4
- package/dist/component/{url-input-rac-CDSl1LX1.js → url-input-rac-C8AI9XyZ.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CHg44uaJ.js → use-dropdown-option-class-name-CWzaXzXZ.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-Dpwl6OCY.js → use-dropdown-trigger-class-name-Ul2EwQ_0.js} +7 -7
- package/dist/component/{use-element-state-class-name-BUu6zq-d.js → use-element-state-class-name-BDRRB7Xj.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-B1V7zCNe.js → use-hoverable-input-class-name-Cls93_JF.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-BbHOZTaj.js → use-is-forced-open-dropdown-BG3ujqxx.js} +1 -1
- package/dist/component/{use-native-mobile-input-Ct8ysLL3.js → use-native-mobile-input-CThbfprl.js} +1 -1
- package/dist/component/{use-service-options-base-u-WCeJHQ.js → use-service-options-base-DYUrMRXR.js} +1 -1
- package/dist/component/use-text-input-class-name-CvP3SARU.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-DfNU2oQf.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-B1uAYoBy.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-BcqSpi17.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-B1uAYoBy.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-DV4KBQmG.js";
|
|
8
|
+
import { D as ee, E as te } from "./field-error-headless-CBInIAMD.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-BDRRB7Xj.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,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-B1uAYoBy.js";
|
|
2
|
+
import { br as $n } from "./form-B1uAYoBy.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-nLp28YJJ.js";
|
|
10
|
+
import { a as wn } from "./date-availability-nLp28YJJ.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,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-B1uAYoBy.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-B1uAYoBy.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -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 Ye, useContext as Ne, useState as fe, useRef as B, useCallback as A, useEffect as Te } from "react";
|
|
4
|
-
import { bI as He, d as je, bD as Wt, bF as Ot, bf as Kt, bg as Yt, b8 as Ht, be as X, F as z, bY as Me, bv as pt, bN as _, bK as P, bP as G, bW as ye, bJ as gt, bk as jt, C as Oe, bt as Jt, bx as Xt, bU as Qt, bO as zt, bT as Gt, bB as Zt, bA as en, bp as tn, bz as nn, bQ as rn, aP as sn, Y as on, _ as te, am as ne, $ as Se, M as re, I as se, Z as Et, a0 as an, a1 as ln } from "./form-
|
|
4
|
+
import { bI as He, d as je, bD as Wt, bF as Ot, bf as Kt, bg as Yt, b8 as Ht, be as X, F as z, bY as Me, bv as pt, bN as _, bK as P, bP as G, bW as ye, bJ as gt, bk as jt, C as Oe, bt as Jt, bx as Xt, bU as Qt, bO as zt, bT as Gt, bB as Zt, bA as en, bp as tn, bz as nn, bQ as rn, aP as sn, Y as on, _ as te, am as ne, $ as Se, M as re, I as se, Z as Et, a0 as an, a1 as ln } from "./form-B1uAYoBy.js";
|
|
5
5
|
import { mergeProps as ht, UNSAFE_PortalProvider as cn } from "react-aria";
|
|
6
6
|
import { f as b, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as dn, V as un } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { c as mn } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { c as mn } from "./use-is-forced-open-dropdown-BG3ujqxx.js";
|
|
9
9
|
import { TextField as Ce, Input as de, ComboBoxStateContext as Je, ComboBox as Fe, Popover as De, ListBox as we, ListBoxItem as Ae, Group as Ft, Button as Dt } 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 pn, c as En, a as bn, r as At } from "./isObjectLike-
|
|
13
|
-
import { u as _t, N as Rt } from "./use-native-mobile-input-
|
|
10
|
+
import { D as ue, E as me } from "./field-error-headless-CBInIAMD.js";
|
|
11
|
+
import { L as pe } from "./field-label-headless-DV4KBQmG.js";
|
|
12
|
+
import { e as pn, c as En, a as bn, r as At } from "./isObjectLike-D1IFTIp7.js";
|
|
13
|
+
import { u as _t, N as Rt } from "./use-native-mobile-input-CThbfprl.js";
|
|
14
14
|
import { N as Pt } from "./native-select-BbxBpe3S.js";
|
|
15
15
|
import { u as Tt } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
16
|
-
import { V as fn, a as yn } from "./use-dropdown-option-class-name-
|
|
16
|
+
import { V as fn, a as yn } from "./use-dropdown-option-class-name-CWzaXzXZ.js";
|
|
17
17
|
import { u as Cn } from "./use-invoke-callback-UH73A_J3.js";
|
|
18
18
|
import { C as Re } from "./chevron-down-icon-CcpVm6B-.js";
|
|
19
19
|
import { E as oe } from "./error-icon-hZxQ6DEy.js";
|
|
20
20
|
import { H as Be } from "./custom-focus-class-_483Pkwp.js";
|
|
21
21
|
import { s as I } from "./field-rac.module-D0QzJXUv.js";
|
|
22
|
-
import { u as qe } from "./use-hoverable-input-class-name-
|
|
22
|
+
import { u as qe } from "./use-hoverable-input-class-name-Cls93_JF.js";
|
|
23
23
|
const In = (e, t, r) => {
|
|
24
24
|
var o, a, i, l;
|
|
25
25
|
const s = (o = e.steps) == null ? void 0 : o.map((d) => {
|
package/dist/component/{number-input-field-rac-CCIuPPeP.js → number-input-field-rac-JmonZiSz.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-B1uAYoBy.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-CBInIAMD.js";
|
|
9
|
+
import { L as ne } from "./field-label-headless-DV4KBQmG.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-CvP3SARU.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-B1uAYoBy.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-CBInIAMD.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-DV4KBQmG.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-CvP3SARU.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-B1uAYoBy.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-CBInIAMD.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DV4KBQmG.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-CvP3SARU.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-B9PUQJUP.js → phone-input-field-rac-vxg49cas.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { RicosViewer as Ee } from "@wix/ricos/viewer";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import t, { useMemo as x, useState as V, useRef as R, useEffect as U, useCallback as te, createContext as ae, useContext as W, useId as se } from "react";
|
|
4
|
-
import { bv as ge, bY as F, bF as ce, bX as be, bN as D, bK as X, bP as Oe, bW as Ne, X as _e, am as ve, a3 as ne, M as Se, I as Le, a5 as Ie, a4 as Pe, a2 as Fe } from "./form-
|
|
4
|
+
import { bv as ge, bY as F, bF as ce, bX as be, bN as D, bK as X, bP as Oe, bW as Ne, X as _e, am as ve, a3 as ne, M as Se, I as Le, a5 as Ie, a4 as Pe, a2 as Fe } from "./form-B1uAYoBy.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as De } from "react-aria";
|
|
6
6
|
import { Dialog as le, OverlayTriggerStateContext as Be, ModalOverlay as Re, Modal as xe, SearchField as Me, Group as A, ListBoxItem as we, VisuallyHidden as $e, DialogTrigger as Ae, Select as Te, Input as ue, Autocomplete as Ve } from "react-aria-components";
|
|
7
7
|
import ie, { 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-CBInIAMD.js";
|
|
11
|
+
import { L as Ye } from "./field-label-headless-DV4KBQmG.js";
|
|
12
|
+
import { N as Ge, u as ze } from "./use-native-mobile-input-CThbfprl.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-BG3ujqxx.js";
|
|
17
|
+
import { V as Je, a as et } from "./use-dropdown-option-class-name-CWzaXzXZ.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 K } from "./custom-focus-class-_483Pkwp.js";
|
|
22
22
|
import { s as N } 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-Cls93_JF.js";
|
|
24
24
|
function G(e) {
|
|
25
25
|
const n = e ? ie(e) : void 0, r = n == null ? void 0 : n.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-B1uAYoBy.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-DV4KBQmG.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-CBInIAMD.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-BDRRB7Xj.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 { bN as g, bK as x, bW as K, bY as D, bP as U } from "./form-
|
|
3
|
+
import { bN as g, bK as x, bW as K, bY as D, bP as U } from "./form-B1uAYoBy.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as M, E as W } from "./field-error-headless-
|
|
6
|
-
import { L as Y } from "./field-label-headless-
|
|
5
|
+
import { D as M, E as W } from "./field-error-headless-CBInIAMD.js";
|
|
6
|
+
import { L as Y } from "./field-label-headless-DV4KBQmG.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-B8yEmx79.js → radio-group-field-rac-CrmkbfuW.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-DyYUSl5o.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-B1uAYoBy.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-BDRRB7Xj.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-CvP3SARU.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-_p1u5oCL.js → rating-input-field-rac-SiHlMtly.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 { bN as S, bK as I, bW as T, bY as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-
|
|
4
|
+
import { bN as S, bK as I, bW as T, bY as H, X as w, am as P, af as B, M as q, I as G, ag as k } from "./form-B1uAYoBy.js";
|
|
5
5
|
import { RadioGroup as x, RadioField as K, RadioButton as U } from "react-aria-components";
|
|
6
6
|
import { f as E, a as z } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Q, E as W } from "./field-error-headless-
|
|
8
|
-
import { L as X } from "./field-label-headless-
|
|
7
|
+
import { D as Q, E as W } from "./field-error-headless-CBInIAMD.js";
|
|
8
|
+
import { L as X } from "./field-label-headless-DV4KBQmG.js";
|
|
9
9
|
import { E as Y } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as p } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as Z } from "./use-element-state-class-name-
|
|
11
|
+
import { u as Z } from "./use-element-state-class-name-BDRRB7Xj.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-BlHWoitq.js → rich-content-rac.module-BcqSpi17.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-B1uAYoBy.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-B1uAYoBy.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-BcqSpi17.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-bujnhWyl.js → service-dropdown-rac-C-ivm8sd.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-B1uAYoBy.js";
|
|
5
|
+
import { u as Y } from "./use-service-options-base-DYUrMRXR.js";
|
|
6
|
+
import { D as m, u as v } from "./use-dropdown-trigger-class-name-Ul2EwQ_0.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-CWzaXzXZ.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-B1uAYoBy.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DYUrMRXR.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-QKAVGheB.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-BDRRB7Xj.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-CvP3SARU.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-B1uAYoBy.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-CBInIAMD.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-DV4KBQmG.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-BDRRB7Xj.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 V, useCallback as k } from "react";
|
|
2
2
|
import X from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bN as b, bH as J, aF as K, aE as $, aC as j, aB as q, 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 J, aF as K, aE as $, aC as j, aB as q, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-B1uAYoBy.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-BDRRB7Xj.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-B1uAYoBy.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-CBInIAMD.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-DV4KBQmG.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-BDRRB7Xj.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-CvP3SARU.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-B1uAYoBy.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-CBInIAMD.js";
|
|
8
|
+
import { L as V } from "./field-label-headless-DV4KBQmG.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-CvP3SARU.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-BSo_dbkm.js → text-input-field-rac-DDRG3cfb.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-TEmX8piX.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-B1uAYoBy.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-CvP3SARU.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-B1uAYoBy.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-CBInIAMD.js";
|
|
6
|
+
import { L as B } from "./field-label-headless-DV4KBQmG.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-B1uAYoBy.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-CBInIAMD.js";
|
|
10
|
+
import { L as oe } from "./field-label-headless-DV4KBQmG.js";
|
|
11
|
+
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-CjOV4_J8.js";
|
|
12
|
+
import { u as me, N as ue } from "./use-native-mobile-input-CThbfprl.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-CvP3SARU.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);
|