@wix/form-elements 1.83.0 → 1.84.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-ky2cE6hE.js → appointment-rac-BSy3u0GK.js} +4 -4
- package/dist/component/{bookings-address-rac-Bxc6H9Pb.js → bookings-address-rac-CL7Bh1yH.js} +1 -1
- package/dist/component/{bookings-email-rac-Dw1Xttdx.js → bookings-email-rac-Bw9tj_tv.js} +1 -1
- package/dist/component/{bookings-first-name-rac-dgHOrJaJ.js → bookings-first-name-rac-BOOu_AXM.js} +1 -1
- package/dist/component/{bookings-header-rac-Bl9RYGWo.js → bookings-header-rac-3kBei7GF.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BeqYpbZq.js → bookings-last-name-rac-CUKbu22q.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-C1k6o0A5.js → bookings-login-bar-rac-CLrUhdX2.js} +1 -1
- package/dist/component/{bookings-phone-rac-ByhaJrwE.js → bookings-phone-rac-7DViellg.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-Mw5-ZiIn.js → bookings-rich-text-rac-CIUZX--G.js} +1 -1
- package/dist/component/{checkbox-field-rac-CMEI5t4Y.js → checkbox-field-rac-C_jth3RK.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-CP21R7_s.js → checkbox-group-field-headless-D-c9Kyj8.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-DGOZjSIY.js → checkbox-group-field-rac-MgGUuYII.js} +3 -3
- package/dist/component/{checkbox-group-rac-CEGtshrl.js → checkbox-group-rac-rr1mN2EJ.js} +1 -1
- package/dist/component/{checkbox-rac-DCnRh1WF.js → checkbox-rac-CRsLQKhN.js} +1 -1
- package/dist/component/{contacts-address-rac-CZb_5N5o.js → contacts-address-rac-BFlNbQKh.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DZlwSyp5.js → contacts-birthdate-rac-D7Ww3iAz.js} +1 -1
- package/dist/component/{contacts-company-rac-BNEF6LjB.js → contacts-company-rac-DLl4nqH-.js} +1 -1
- package/dist/component/{contacts-email-rac-CAgk_zfN.js → contacts-email-rac-K8fCs8qS.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DyTVcmrX.js → contacts-first-name-rac-BOTxHl3m.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DrFcDcGr.js → contacts-last-name-rac-bFnG-7Hm.js} +1 -1
- package/dist/component/{contacts-phone-rac-UAPALlFx.js → contacts-phone-rac-B4teqDIV.js} +1 -1
- package/dist/component/{contacts-position-rac-CJ1M4kJJ.js → contacts-position-rac-CnWoXO5h.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-1cEd5s1l.js → contacts-subscribe-rac-Bco722BU.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CqnO__fd.js → contacts-tax-id-rac-QQsKhAx3.js} +1 -1
- package/dist/component/{date-availability-COM2EaRy.js → date-availability-DMbyb1GZ.js} +1 -1
- package/dist/component/{date-input-field-rac-CuuWbw42.js → date-input-field-rac-CVRjO19U.js} +4 -4
- package/dist/component/{date-input-rac-DfVmj9Gc.js → date-input-rac-zi7AQ8Ai.js} +1 -1
- package/dist/component/{date-picker-field-rac-BFCZik9T.js → date-picker-field-rac-5H10gH9D.js} +4 -4
- package/dist/component/{date-picker-rac-C2vajJpb.js → date-picker-rac-CxWNDsyJ.js} +1 -1
- package/dist/component/date-time-input-field-rac-CDa-nyf8.js +423 -0
- package/dist/component/{date-time-input-rac-D4FEieQz.js → date-time-input-rac-DglwFYb0.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BDBBTNNo.js → dext-checkbox-group-rac-BBB652Uy.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DAAhNboR.js → dext-checkbox-rac-BVtiGV3w.js} +1 -1
- package/dist/component/{dext-date-picker-rac-me7XbR5z.js → dext-date-picker-rac-Di4x6sI_.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DLsUl2Eg.js → dext-date-time-input-rac-agWHwUo7.js} +1 -1
- package/dist/component/{dext-dropdown-rac-C3vVIRir.js → dext-dropdown-rac-U3FZTA2-.js} +1 -1
- package/dist/component/{dext-email-rac-a8qXYTLP.js → dext-email-rac-CZ9AQw_k.js} +1 -1
- package/dist/component/{dext-number-input-rac-DdDnL_fX.js → dext-number-input-rac-DFr_9ZX5.js} +1 -1
- package/dist/component/{dext-phone-rac-ByaxbHpO.js → dext-phone-rac-BYsfNwXn.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bzubt7Uy.js → dext-radio-group-rac-B_jm5YAT.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BZ1EvOkG.js → dext-rating-input-rac-CNlhMKt-.js} +1 -1
- package/dist/component/{dext-tags-rac-C_R89noV.js → dext-tags-rac-y9x8Fg54.js} +2 -2
- package/dist/component/{dext-text-area-rac-DRpYeQ-K.js → dext-text-area-rac-BgRxIpn9.js} +1 -1
- package/dist/component/{dext-text-input-rac-D_RtbQQ-.js → dext-text-input-rac-CdzgUZ38.js} +1 -1
- package/dist/component/{dext-url-input-rac-BSSjSbIo.js → dext-url-input-rac-Cg1TYyNV.js} +1 -1
- package/dist/component/{donation-rac-De0KyyGR.js → donation-rac-Deiw7Tl9.js} +5 -5
- package/dist/component/{dropdown-field-headless-DNhnTDlD.js → dropdown-field-headless-BKj2rdy9.js} +3 -3
- package/dist/component/{dropdown-field-rac-Bq_FNv9a.js → dropdown-field-rac-CIdC2_O3.js} +1 -1
- package/dist/component/{dropdown-rac-0UIyqF15.js → dropdown-rac-CYxaJrXP.js} +1 -1
- package/dist/component/{ecom-address-rac-7IVbvs3J.js → ecom-address-rac-Crr3A_iU.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DilgIpiG.js → ecom-subscription-checkbox-rac-DdXAex4c.js} +2 -2
- package/dist/component/{email-input-field-rac-CHJ6RSGy.js → email-input-field-rac-C516Fm0v.js} +3 -3
- package/dist/component/{events-repeater-rac-v18FFLC7.js → events-repeater-rac-DL49KaIU.js} +3 -3
- package/dist/component/{events-rsvp-rac-BpGLrxsf.js → events-rsvp-rac-B5EvAP8x.js} +2 -2
- package/dist/component/{field-error-headless-DAy-1oAQ.js → field-error-headless-D2CJ4Qk7.js} +1 -1
- package/dist/component/{field-label-headless-BWxHmO0c.js → field-label-headless-D2-WvVKT.js} +1 -1
- package/dist/component/{file-upload-rac-BfWN27JT.js → file-upload-rac-BG3msdbn.js} +3 -3
- package/dist/component/{fixed-payment-rac-Bha61SB4.js → fixed-payment-rac-3bI_h_W0.js} +3 -3
- package/dist/component/{form-D0eeH0lX.js → form-B3KiRFhB.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-uNzfDMbv.js → header-field-rac-Bp7hStrt.js} +2 -2
- package/dist/component/{header-rac-B91q4fHl.js → header-rac-yVYId2B_.js} +1 -1
- package/dist/component/{image-choice-rac-BKcnNGPp.js → image-choice-rac-D1mqJfcn.js} +4 -4
- package/dist/component/{index-BvzLLTKc.js → index-B0PANcv8.js} +4 -4
- package/dist/component/{index-BWHymomM.js → index-LrdDmlej.js} +2 -2
- package/dist/component/{isObjectLike-D7Mkqoju.js → isObjectLike-DH7T0Txd.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Avd9Vlv1.js → multiline-address-field-rac-C-gtuNCU.js} +5 -5
- package/dist/component/{multiline-address-rac-BwQOoejw.js → multiline-address-rac-B3ixmNqi.js} +1 -1
- package/dist/component/{number-input-field-rac-CRqPXDl0.js → number-input-field-rac-BNPMYFay.js} +4 -4
- package/dist/component/{number-input-rac-0Y8K4e6K.js → number-input-rac-BaEBt2uf.js} +1 -1
- package/dist/component/{password-rac-C7F6sEB3.js → password-rac-B0H_ILkt.js} +4 -4
- package/dist/component/{payment-input-rac-CTJr4QTK.js → payment-input-rac-LIk9MP5a.js} +4 -4
- package/dist/component/{phone-input-field-rac-jjSmYCI1.js → phone-input-field-rac-CUUAacDK.js} +3 -3
- package/dist/component/{phone-rac-BwSnmgYF.js → phone-rac-BYqYOw60.js} +1 -1
- package/dist/component/{product-list-rac-CTN2wvHE.js → product-list-rac-CvoI6ajr.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CZHEDJxr.js → quiz-radio-group-rac-D0IJGSh0.js} +1 -1
- package/dist/component/{radio-button-module-classes-DCz6XS1X.js → radio-button-module-classes-CWfSY9kQ.js} +3 -3
- package/dist/component/{radio-group-field-rac-60MF_9DO.js → radio-group-field-rac-DisEhh0b.js} +3 -3
- package/dist/component/{radio-group-rac-Dqo-Earp.js → radio-group-rac-DrwjFNWh.js} +1 -1
- package/dist/component/{rating-input-field-rac-CzWTwWT8.js → rating-input-field-rac-BLMQWT7z.js} +4 -4
- package/dist/component/{rating-input-rac-Nq4tll2Z.js → rating-input-rac-CGJY2HSO.js} +1 -1
- package/dist/component/{rich-content-rac.module-sUUSbcSy.js → rich-content-rac.module-C9cKdumu.js} +1 -1
- package/dist/component/{rich-text-field-rac-BvLfS4I5.js → rich-text-field-rac-DTSRvaTK.js} +2 -2
- package/dist/component/{rich-text-rac-BWkTbWk3.js → rich-text-rac-Blk3neHN.js} +1 -1
- package/dist/component/{service-dropdown-rac-DZ3USe7_.js → service-dropdown-rac-C9P5IWrV.js} +3 -3
- package/dist/component/{services-multi-choice-rac-D-og7fMo.js → services-multi-choice-rac-Cnhwy1a9.js} +4 -4
- package/dist/component/{signature-rac-D3c4fnvN.js → signature-rac-Benar-ci.js} +3 -3
- package/dist/component/{submit-button-rac-Dn_BGt1n.js → submit-button-rac-BDJQsZC3.js} +1 -1
- package/dist/component/{tags-field-rac-DXmZBcpO.js → tags-field-rac-wA_0ZinI.js} +5 -5
- package/dist/component/{tags-rac-CoXWx42D.js → tags-rac-BcVGekA6.js} +1 -1
- package/dist/component/{text-area-field-rac-Cy0Mr29Z.js → text-area-field-rac-VpuojNac.js} +4 -4
- package/dist/component/{text-area-rac-C3Mjmgpa.js → text-area-rac-DDvi8u5M.js} +1 -1
- package/dist/component/{text-input-field-rac-D1TB9B_M.js → text-input-field-rac-C6LohBtn.js} +2 -2
- package/dist/component/{text-input-headless-BUa59Rgn.js → text-input-headless-5yKhWpLD.js} +3 -3
- package/dist/component/{text-input-rac-BQ3Z9ws4.js → text-input-rac-C8hsNUp6.js} +1 -1
- package/dist/component/time-input-rac-fOT-pjju.js +159 -0
- package/dist/component/{url-input-field-rac-DINXfZdf.js → url-input-field-rac-DxR6Hymf.js} +4 -4
- package/dist/component/{url-input-rac-Ch9eTIF_.js → url-input-rac-B928R10o.js} +1 -1
- package/dist/component/{use-element-state-class-name-j8W1zbdG.js → use-element-state-class-name-CBjBYCW5.js} +1 -1
- package/dist/component/{use-service-options-base-BJZhzDyO.js → use-service-options-base-UyJmT2P6.js} +1 -1
- package/dist/component/{use-text-input-class-name-8gMUWeCb.js → use-text-input-class-name-Qk2v8a6-.js} +2 -2
- package/package.json +2 -2
- package/dist/component/date-time-input-field-rac-B7ne2emo.js +0 -423
- package/dist/component/time-input-rac-Wi0oD5YF.js +0 -155
|
@@ -2,17 +2,17 @@ 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 { ai as R, af as D, ab as T, as as W, ak as X } from "./form-
|
|
5
|
+
import { ai as R, af as D, ab as T, as as W, ak as X } from "./form-B3KiRFhB.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Y, E as Z } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Y, E as Z } from "./field-error-headless-D2CJ4Qk7.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-D2-WvVKT.js";
|
|
9
9
|
import { f as N, g as re } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as ne } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ae } from "./custom-focus-class-_483Pkwp.js";
|
|
13
13
|
import { s as d } from "./field-rac.module-D06m9T9x.js";
|
|
14
14
|
import { y as se, O as oe, o as le, i as ce } from "./form-element-classes-Ct1UaxuQ.js";
|
|
15
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
15
|
+
import { u as ie } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
16
16
|
function ue(e, t) {
|
|
17
17
|
return {
|
|
18
18
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-jjSmYCI1.js → phone-input-field-rac-CUUAacDK.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RicosViewer as ye } from "@wix/ricos/viewer";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import t, { useMemo as B, useState as V, useRef as v, useEffect as w, useCallback as j, createContext as te, useContext as q } from "react";
|
|
4
|
-
import { a2 as Ee, as as P, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-
|
|
4
|
+
import { a2 as Ee, as as P, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-B3KiRFhB.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as ge } from "react-aria";
|
|
6
6
|
import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as ve, Autocomplete as Pe } from "react-aria-components";
|
|
7
7
|
import { f as h, a as ce } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as Fe, E as De } from "./field-error-headless-
|
|
9
|
-
import { L as xe } from "./field-label-headless-
|
|
8
|
+
import { D as Fe, E as De } from "./field-error-headless-D2CJ4Qk7.js";
|
|
9
|
+
import { L as xe } from "./field-label-headless-D2-WvVKT.js";
|
|
10
10
|
import { N as Re, S as Be } from "./non-modal-popover-DtIMXHbe.js";
|
|
11
11
|
import { u as Me } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
12
|
import se, { AsYouType as Ae, isValidPhoneNumber as $e, isSupportedCountry as Te } from "libphonenumber-js";
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as $, useCallback as x, useRef as B } from "react";
|
|
|
2
2
|
import { RicosViewer as z } from "@wix/ricos/viewer";
|
|
3
3
|
import _ from "classnames";
|
|
4
4
|
import { CheckboxField as G, CheckboxButton as X, NumberField as j, Group as J, Button as U, Input as W } from "react-aria-components";
|
|
5
|
-
import { ai as k, af as Y, ab as w, as as Z, ak as ee } from "./form-
|
|
5
|
+
import { ai as k, af as Y, ab as w, as as Z, ak as ee } from "./form-B3KiRFhB.js";
|
|
6
6
|
import { f as O, a as I } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as te, g as ne } from "./field-label-headless-
|
|
7
|
+
import { L as te, g as ne } from "./field-label-headless-D2-WvVKT.js";
|
|
8
8
|
import { f as ae } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as oe, E as re } from "./field-error-headless-
|
|
9
|
+
import { D as oe, E as re } from "./field-error-headless-D2CJ4Qk7.js";
|
|
10
10
|
import { F as le } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as ie } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -15,7 +15,7 @@ import { C as ue } from "./checkbox-indicator-module-classes-Bb3xB1ve.js";
|
|
|
15
15
|
import { s as T } from "./field-rac.module-D06m9T9x.js";
|
|
16
16
|
import { y as me, O as pe, B as de, E as Ee, D as ye, x as fe, o as _e, i as Ie, C as Oe } from "./form-element-classes-Ct1UaxuQ.js";
|
|
17
17
|
import { o as Q } from "./options-rac.module-KM-VT_KY.js";
|
|
18
|
-
import { u as be } from "./use-element-state-class-name-
|
|
18
|
+
import { u as be } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
19
19
|
var Le = /* @__PURE__ */ (function(e) {
|
|
20
20
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
21
21
|
})({}), M = /* @__PURE__ */ (function(e) {
|
package/dist/component/{quiz-radio-group-rac-CZHEDJxr.js → quiz-radio-group-rac-D0IJGSh0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "react";
|
|
2
|
-
import { R } from "./radio-group-field-rac-
|
|
2
|
+
import { R } from "./radio-group-field-rac-DisEhh0b.js";
|
|
3
3
|
import { I as o, H as r, G as O } from "./form-element-classes-Ct1UaxuQ.js";
|
|
4
4
|
const e = () => /* @__PURE__ */ _.createElement(R, {
|
|
5
5
|
classes: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import l, { useRef as S, useState as V, useEffect as B, useCallback as T } from "react";
|
|
2
2
|
import { RadioGroup as H, RadioField as k, RadioButton as M, TextField as U, Input as A } from "react-aria-components";
|
|
3
|
-
import { ai as v, af as G, as as F, ab as P, ak as $ } from "./form-
|
|
3
|
+
import { ai as v, af as G, as as F, ab as P, ak as $ } from "./form-B3KiRFhB.js";
|
|
4
4
|
import { f as p, a as y } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as q, E as x } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as q, E as x } from "./field-error-headless-D2CJ4Qk7.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-D2-WvVKT.js";
|
|
7
7
|
import { N as w } from "./options-layout-constants-DEfIEJWD.js";
|
|
8
8
|
import { S as z } from "./selection-indicator-XQ8MYHUQ.js";
|
|
9
9
|
const L = "Other", J = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !J(e, t), K = (e, t) => {
|
package/dist/component/{radio-group-field-rac-60MF_9DO.js → radio-group-field-rac-DisEhh0b.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
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 c } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as c } from "./radio-button-module-classes-CWfSY9kQ.js";
|
|
5
5
|
import { E as i } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as o } from "./field-rac.module-D06m9T9x.js";
|
|
7
7
|
import { L as E, K as O, J as R, y as _, O as p, o as I, i as L } from "./form-element-classes-Ct1UaxuQ.js";
|
|
8
|
-
import { u } from "./use-element-state-class-name-
|
|
9
|
-
import { u as N } from "./use-text-input-class-name-
|
|
8
|
+
import { u } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
9
|
+
import { u as N } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
10
10
|
const D = ({ content: r, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
11
11
|
content: r,
|
|
12
12
|
locale: l
|
package/dist/component/{rating-input-field-rac-CzWTwWT8.js → rating-input-field-rac-BLMQWT7z.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { RicosViewer as D } from "@wix/ricos/viewer";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { ai as b, af as v, as as M } from "./form-
|
|
4
|
+
import { ai as b, af as v, as as M } from "./form-B3KiRFhB.js";
|
|
5
5
|
import { RadioGroup as T, RadioField as H, RadioButton as w } from "react-aria-components";
|
|
6
6
|
import { f as u, a as B } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as P, E as q } from "./field-error-headless-
|
|
8
|
-
import { L as G } from "./field-label-headless-
|
|
7
|
+
import { D as P, E as q } from "./field-error-headless-D2CJ4Qk7.js";
|
|
8
|
+
import { L as G } from "./field-label-headless-D2-WvVKT.js";
|
|
9
9
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-D06m9T9x.js";
|
|
11
11
|
import { y as x, O as U, M as z, o as Q, i as Z, N as j } from "./form-element-classes-Ct1UaxuQ.js";
|
|
12
|
-
import { u as J } from "./use-element-state-class-name-
|
|
12
|
+
import { u as J } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
13
13
|
const t = ({ children: a }) => {
|
|
14
14
|
const { id: n, value: r, onChange: l, disabled: o, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = b(), { labelId: _ } = v(), L = N((y) => l(Number(y)), [
|
|
15
15
|
l
|
package/dist/component/{rich-content-rac.module-sUUSbcSy.js → rich-content-rac.module-C9cKdumu.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { ai as a, ab as i, as as T } from "./form-
|
|
2
|
+
import { ai as a, ab as i, as as T } from "./form-B3KiRFhB.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 { ai as m, L as i, W as u, Z as R } from "./form-
|
|
4
|
-
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { ai as m, L as i, W as u, Z as R } from "./form-B3KiRFhB.js";
|
|
4
|
+
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-C9cKdumu.js";
|
|
5
5
|
import { a5 as g } from "./form-element-classes-Ct1UaxuQ.js";
|
|
6
6
|
const h = {
|
|
7
7
|
colorPalette: R(),
|
package/dist/component/{service-dropdown-rac-DZ3USe7_.js → service-dropdown-rac-C9P5IWrV.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as N, useMemo as g, useCallback as h, useEffect as P } from "react";
|
|
2
2
|
import { RicosViewer as T } from "@wix/ricos/viewer";
|
|
3
3
|
import m from "classnames";
|
|
4
|
-
import { ae as w, as as b, F as M, ai as y, ab as x, h as U } from "./form-
|
|
5
|
-
import { u as V } from "./use-service-options-base-
|
|
6
|
-
import { D as d } from "./dropdown-field-headless-
|
|
4
|
+
import { ae as w, as as b, F as M, ai as y, ab as x, h as U } from "./form-B3KiRFhB.js";
|
|
5
|
+
import { u as V } from "./use-service-options-base-UyJmT2P6.js";
|
|
6
|
+
import { D as d } from "./dropdown-field-headless-BKj2rdy9.js";
|
|
7
7
|
import { C as H } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as q } from "./custom-focus-class-_483Pkwp.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as _, useMemo as I } from "react";
|
|
2
2
|
import { RicosViewer as L } from "@wix/ricos/viewer";
|
|
3
3
|
import r from "classnames";
|
|
4
|
-
import { F as R, ai as d, h as D } from "./form-
|
|
5
|
-
import { u as F } from "./use-service-options-base-
|
|
6
|
-
import { C as a } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, ai as d, h as D } from "./form-B3KiRFhB.js";
|
|
5
|
+
import { u as F } from "./use-service-options-base-UyJmT2P6.js";
|
|
6
|
+
import { C as a } from "./checkbox-group-field-headless-D-c9Kyj8.js";
|
|
7
7
|
import { E as f } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as N } from "./checkbox-indicator-module-classes-Bb3xB1ve.js";
|
|
9
9
|
import { s as i } from "./field-rac.module-D06m9T9x.js";
|
|
10
10
|
import { y as h, O as M, S as b, U as A, x as T, o as v, i as x, T as y } from "./form-element-classes-Ct1UaxuQ.js";
|
|
11
11
|
import { o as O } from "./options-rac.module-KM-VT_KY.js";
|
|
12
|
-
import { u as P } from "./use-element-state-class-name-
|
|
12
|
+
import { u as P } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
13
13
|
const k = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: n, isEmpty: c, shouldRender: m, setOptions: l, setIsEmpty: E, setHasInitialDataLoaded: p } = F({
|
|
@@ -4,10 +4,10 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
|
|
5
5
|
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Pe, RadioButton as Ne } from "react-aria-components";
|
|
6
6
|
import he from "signature_pad";
|
|
7
|
-
import { z as Oe, ae as Ue, ab as Be, aq as ge, E as ce, e as G, ai as A, af as H, ak as Ee, as as Me } from "./form-
|
|
7
|
+
import { z as Oe, ae as Ue, ab as Be, aq as ge, E as ce, e as G, ai as A, af as H, ak as Ee, as as Me } from "./form-B3KiRFhB.js";
|
|
8
8
|
import { f as T, a as F } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as We, E as He } from "./field-error-headless-
|
|
10
|
-
import { L as Ye } from "./field-label-headless-
|
|
9
|
+
import { D as We, E as He } from "./field-error-headless-D2CJ4Qk7.js";
|
|
10
|
+
import { L as Ye } from "./field-label-headless-D2-WvVKT.js";
|
|
11
11
|
import { D as ke } from "./data-hooks-Dkw1pbRj.js";
|
|
12
12
|
import { E as $e } from "./error-icon-hZxQ6DEy.js";
|
|
13
13
|
import { s as z } from "./field-rac.module-D06m9T9x.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import l from "classnames";
|
|
3
|
-
import { ai as c } from "./form-
|
|
3
|
+
import { ai as c } from "./form-B3KiRFhB.js";
|
|
4
4
|
import { ProgressBar as g, Button as b } from "react-aria-components";
|
|
5
5
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
6
6
|
import { a4 as v, a3 as N, a6 as f } from "./form-element-classes-Ct1UaxuQ.js";
|
|
@@ -2,18 +2,18 @@ import { RicosViewer as Q } from "@wix/ricos/viewer";
|
|
|
2
2
|
import S from "classnames";
|
|
3
3
|
import e, { useMemo as L, useState as j, useRef as M, useLayoutEffect as w, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as z, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Y } from "react-aria-components";
|
|
5
|
-
import { ai as N, af as Z, as as v, ab as ee, ak as te } from "./form-
|
|
5
|
+
import { ai as N, af as Z, as as v, ab as ee, ak as te } from "./form-B3KiRFhB.js";
|
|
6
6
|
import { f, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as B, D as $ } from "./field-error-headless-
|
|
8
|
-
import { L as H } from "./field-label-headless-
|
|
7
|
+
import { E as B, D as $ } from "./field-error-headless-D2CJ4Qk7.js";
|
|
8
|
+
import { L as H } from "./field-label-headless-D2-WvVKT.js";
|
|
9
9
|
import { F as oe } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { N as D } from "./options-layout-constants-DEfIEJWD.js";
|
|
11
11
|
import { E as ne } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as y } from "./field-rac.module-D06m9T9x.js";
|
|
13
13
|
import { y as ae, O as se, _ as re, o as le, i as ie, $ as ce } from "./form-element-classes-Ct1UaxuQ.js";
|
|
14
14
|
import { o as ue } from "./options-rac.module-KM-VT_KY.js";
|
|
15
|
-
import { u as de } from "./use-element-state-class-name-
|
|
16
|
-
import { u as me } from "./use-text-input-class-name-
|
|
15
|
+
import { u as de } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
16
|
+
import { u as me } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
17
17
|
const g = "Other", pe = (o, t) => {
|
|
18
18
|
const s = t.length + 2;
|
|
19
19
|
return (o.find((r) => r.startsWith(`${t}: `)) || "").slice(s);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import l from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as S } from "react-aria-components";
|
|
5
|
-
import { ai as p, af as d, ak as x } from "./form-
|
|
5
|
+
import { ai as p, af as d, ak as x } from "./form-B3KiRFhB.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
8
|
-
import { L as v } from "./field-label-headless-
|
|
7
|
+
import { D as g, E as h } from "./field-error-headless-D2CJ4Qk7.js";
|
|
8
|
+
import { L as v } from "./field-label-headless-D2-WvVKT.js";
|
|
9
9
|
import { E as M } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-D06m9T9x.js";
|
|
11
11
|
import { y as q, O as B, o as k, i as P } from "./form-element-classes-Ct1UaxuQ.js";
|
|
12
|
-
import { u as V } from "./use-text-input-class-name-
|
|
12
|
+
import { u as V } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
13
13
|
const e = ({ children: t }) => {
|
|
14
14
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: o, onBlur: E, onFocus: f, FieldLayout: I, hasError: b } = p(), { labelId: F } = d(), L = O((A) => {
|
|
15
15
|
s(A);
|
package/dist/component/{text-input-field-rac-D1TB9B_M.js → text-input-field-rac-C6LohBtn.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-5yKhWpLD.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-D06m9T9x.js";
|
|
7
7
|
import { y as n, O as c, o as E, i } from "./form-element-classes-Ct1UaxuQ.js";
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-Qk2v8a6-.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 t, { useRef as L } from "react";
|
|
2
2
|
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
-
import { ai as d, af as c, ak as T } from "./form-
|
|
3
|
+
import { ai as d, af as c, ak as T } from "./form-B3KiRFhB.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-D2CJ4Qk7.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-D2-WvVKT.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: f, FieldLayout: b } = d(), { labelId: E } = c(), I = a(r, e.Label), F = a(r, e.Input), y = a(r, e.Description), D = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(b, {
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import e, { useCallback as V, useRef as x, useContext as k } from "react";
|
|
2
|
+
import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
3
|
+
import c from "classnames";
|
|
4
|
+
import { parseTime as v } from "@internationalized/date";
|
|
5
|
+
import { TimeField as B, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
|
|
6
|
+
import { ai as p, af as j, as as S, ak as Q } from "./form-B3KiRFhB.js";
|
|
7
|
+
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
+
import { D as z, E as G } from "./field-error-headless-D2CJ4Qk7.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-D2-WvVKT.js";
|
|
10
|
+
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
+
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
|
+
import { s as f } from "./field-rac.module-D06m9T9x.js";
|
|
13
|
+
import { y as W, O as X, o as Y, i as Z } from "./form-element-classes-Ct1UaxuQ.js";
|
|
14
|
+
import { u as $ } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
15
|
+
const r = ({ children: t }) => {
|
|
16
|
+
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: C, FieldLayout: g, hasError: I } = p(), { inputId: D, ariaDescribedBy: L, labelId: R } = j(), b = V((M) => {
|
|
17
|
+
const H = ae(M);
|
|
18
|
+
o(H);
|
|
19
|
+
}, [
|
|
20
|
+
o
|
|
21
|
+
]), N = m(t, r.Label), y = m(t, r.Time), O = m(t, r.Description), P = m(t, r.Error), A = ne(l);
|
|
22
|
+
return /* @__PURE__ */ e.createElement(g, {
|
|
23
|
+
fieldId: n,
|
|
24
|
+
renderLabel: () => N,
|
|
25
|
+
renderInput: () => /* @__PURE__ */ e.createElement(B, {
|
|
26
|
+
"aria-labelledby": R,
|
|
27
|
+
id: D,
|
|
28
|
+
"aria-describedby": L,
|
|
29
|
+
value: A,
|
|
30
|
+
onChange: b,
|
|
31
|
+
isDisabled: i,
|
|
32
|
+
isReadOnly: s,
|
|
33
|
+
isInvalid: I,
|
|
34
|
+
isRequired: a,
|
|
35
|
+
onBlur: d,
|
|
36
|
+
onFocus: E,
|
|
37
|
+
hourCycle: C ? 24 : 12
|
|
38
|
+
}, y),
|
|
39
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, P, O)
|
|
40
|
+
});
|
|
41
|
+
}, u = ({ children: t, className: n }) => {
|
|
42
|
+
const { hasError: l } = p(), o = m(t, u.Hour), i = m(t, u.Minute), s = m(t, u.Period);
|
|
43
|
+
return /* @__PURE__ */ e.createElement(U, {
|
|
44
|
+
className: n,
|
|
45
|
+
"data-invalid": l || void 0
|
|
46
|
+
}, (a) => {
|
|
47
|
+
switch (a.type) {
|
|
48
|
+
case "hour":
|
|
49
|
+
return F(o, {
|
|
50
|
+
segment: a
|
|
51
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
52
|
+
case "minute":
|
|
53
|
+
return F(i, {
|
|
54
|
+
segment: a
|
|
55
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
56
|
+
case "dayPeriod":
|
|
57
|
+
return F(s, {
|
|
58
|
+
segment: a
|
|
59
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
60
|
+
case "literal":
|
|
61
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
62
|
+
segment: a
|
|
63
|
+
});
|
|
64
|
+
default:
|
|
65
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, ee = ({ className: t, ...n }) => {
|
|
69
|
+
const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = S(), a = x(null);
|
|
70
|
+
Q(() => {
|
|
71
|
+
var E;
|
|
72
|
+
(E = a.current) == null || E.focus();
|
|
73
|
+
}, l);
|
|
74
|
+
const d = o ? void 0 : s("field.date.placeholder.hour");
|
|
75
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
76
|
+
ref: a,
|
|
77
|
+
segment: i,
|
|
78
|
+
className: t,
|
|
79
|
+
...d && {
|
|
80
|
+
placeholder: d
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}, te = ({ className: t, ...n }) => {
|
|
84
|
+
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = l ? void 0 : i("field.date.placeholder.minute");
|
|
85
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
86
|
+
segment: o,
|
|
87
|
+
className: t,
|
|
88
|
+
...s && {
|
|
89
|
+
placeholder: s
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}, re = ({ className: t, ...n }) => {
|
|
93
|
+
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = k(w), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
|
|
94
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
95
|
+
segment: o,
|
|
96
|
+
className: t,
|
|
97
|
+
onClick: d,
|
|
98
|
+
...a && {
|
|
99
|
+
placeholder: a
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
u.Hour = ee;
|
|
104
|
+
u.Minute = te;
|
|
105
|
+
u.Period = re;
|
|
106
|
+
r.Label = J;
|
|
107
|
+
r.Time = u;
|
|
108
|
+
r.Description = z;
|
|
109
|
+
r.Error = G;
|
|
110
|
+
function ne(t) {
|
|
111
|
+
if (!t)
|
|
112
|
+
return null;
|
|
113
|
+
try {
|
|
114
|
+
return v(t);
|
|
115
|
+
} catch {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function ae(t) {
|
|
120
|
+
if (!t)
|
|
121
|
+
return null;
|
|
122
|
+
const n = String(t.hour).padStart(2, "0"), l = String(t.minute).padStart(2, "0"), o = String(t.second).padStart(2, "0");
|
|
123
|
+
return [
|
|
124
|
+
n,
|
|
125
|
+
l,
|
|
126
|
+
o
|
|
127
|
+
].join(":");
|
|
128
|
+
}
|
|
129
|
+
const oe = "_time_10p0h_1", se = "_hour_10p0h_14", le = "_minute_10p0h_15", ie = "_period_10p0h_16", h = {
|
|
130
|
+
time: oe,
|
|
131
|
+
hour: se,
|
|
132
|
+
minute: le,
|
|
133
|
+
period: ie
|
|
134
|
+
}, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(q, {
|
|
135
|
+
content: t,
|
|
136
|
+
locale: n
|
|
137
|
+
}), me = () => {
|
|
138
|
+
const t = $(h.time);
|
|
139
|
+
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
140
|
+
className: c(W, f.label)
|
|
141
|
+
}, /* @__PURE__ */ e.createElement(r.Label.Required, {
|
|
142
|
+
className: c(X, f.requiredMark)
|
|
143
|
+
})), /* @__PURE__ */ e.createElement(r.Time, {
|
|
144
|
+
className: t
|
|
145
|
+
}, /* @__PURE__ */ e.createElement(r.Time.Hour, {
|
|
146
|
+
className: c(h.hour, T)
|
|
147
|
+
}), /* @__PURE__ */ e.createElement(r.Time.Minute, {
|
|
148
|
+
className: c(h.minute, T)
|
|
149
|
+
}), /* @__PURE__ */ e.createElement(r.Time.Period, {
|
|
150
|
+
className: c(h.period, T)
|
|
151
|
+
})), /* @__PURE__ */ e.createElement(r.Error, {
|
|
152
|
+
className: c(Y, f.error)
|
|
153
|
+
}, /* @__PURE__ */ e.createElement(K, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
|
|
154
|
+
className: c(Z, f.description)
|
|
155
|
+
}, ce));
|
|
156
|
+
}, Le = () => /* @__PURE__ */ e.createElement(me, null);
|
|
157
|
+
export {
|
|
158
|
+
Le as TimeInputRAC
|
|
159
|
+
};
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as S, useRef as h } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { ai as d, af as E, ak as k } from "./form-
|
|
5
|
+
import { ai as d, af as E, ak as k } from "./form-B3KiRFhB.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as T } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as T } from "./field-error-headless-D2CJ4Qk7.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-D2-WvVKT.js";
|
|
9
9
|
import { u as v } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as M } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-D06m9T9x.js";
|
|
12
12
|
import { y as P, O as q, o as x, i as U } from "./form-element-classes-Ct1UaxuQ.js";
|
|
13
|
-
import { u as w } from "./use-text-input-class-name-
|
|
13
|
+
import { u as w } from "./use-text-input-class-name-Qk2v8a6-.js";
|
|
14
14
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
15
15
|
const { id: o, value: a, onChange: s, disabled: m, readOnly: n, required: l, hasError: I, onBlur: f, onFocus: b, FieldLayout: R } = d(), { labelId: F } = E(), p = v(f), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = S(() => {
|
|
16
16
|
s(V(a)), p();
|
package/dist/component/{use-service-options-base-BJZhzDyO.js → use-service-options-base-UyJmT2P6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as D, useEffect as m, useMemo as b } from "react";
|
|
2
|
-
import { ah as v } from "./form-
|
|
2
|
+
import { ah as v } from "./form-B3KiRFhB.js";
|
|
3
3
|
const k = (h) => {
|
|
4
4
|
const { fieldType: I, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = h, [L, O] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(I), r = D((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ai as l } from "./form-
|
|
1
|
+
import { ai as l } from "./form-B3KiRFhB.js";
|
|
2
2
|
import { s } from "./field-rac.module-D06m9T9x.js";
|
|
3
3
|
import { a0 as i } from "./form-element-classes-Ct1UaxuQ.js";
|
|
4
|
-
import { u as m } from "./use-element-state-class-name-
|
|
4
|
+
import { u as m } from "./use-element-state-class-name-CBjBYCW5.js";
|
|
5
5
|
const c = (...e) => {
|
|
6
6
|
const { disabled: a, readOnly: t } = l(), o = m({
|
|
7
7
|
globalClasses: i,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.84.0",
|
|
4
4
|
"description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
]
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
-
"falconPackageHash": "
|
|
154
|
+
"falconPackageHash": "8169705a7c26cdc634e6c8f975f73267ca14c8ed077e9ff74e0c351c"
|
|
155
155
|
}
|