@wix/form-elements 1.137.0 → 1.138.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-DETLNlLb.js → appointment-rac-DvzMuumV.js} +52 -52
- package/dist/component/{bookings-address-rac-ZLK-g-4b.js → bookings-address-rac-DoTKdj4W.js} +1 -1
- package/dist/component/{bookings-email-rac-C-406Pj1.js → bookings-email-rac-CHvxtHcu.js} +1 -1
- package/dist/component/{bookings-first-name-rac-ClxJPAU2.js → bookings-first-name-rac-VAAhC_fg.js} +1 -1
- package/dist/component/{bookings-header-rac-B_xKyowA.js → bookings-header-rac-YWB4879A.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DcExtGsO.js → bookings-last-name-rac-B-aGMcD_.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-B5Gpk-kG.js → bookings-login-bar-rac-3wYAN_xh.js} +4 -4
- package/dist/component/{bookings-phone-rac-DJSSDoRL.js → bookings-phone-rac-CzQVxpNK.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-D-v6z1Fs.js → bookings-rich-text-rac-C5z9Gvts.js} +1 -1
- package/dist/component/{checkbox-field-rac-DJmjpsmU.js → checkbox-field-rac-CradfjbE.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-C4A_Kv1U.js → checkbox-group-field-headless-DdVXFUPC.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-M1l5h3ii.js → checkbox-group-field-rac-KqKHh6Uj.js} +4 -4
- package/dist/component/{checkbox-group-rac-DRdzHVfR.js → checkbox-group-rac-C34O1zlM.js} +1 -1
- package/dist/component/{checkbox-rac-Cyhg2Wvd.js → checkbox-rac-BnXI1EcE.js} +1 -1
- package/dist/component/{contacts-address-rac-BQvrTPCI.js → contacts-address-rac-Ba57mGCo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DIMg-UlR.js → contacts-birthdate-rac-lOtU_kNL.js} +1 -1
- package/dist/component/{contacts-company-rac-OgWSVsmZ.js → contacts-company-rac-fzSYypTz.js} +1 -1
- package/dist/component/{contacts-email-rac-39IQYxTe.js → contacts-email-rac-kOu3zzAk.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CjwVQGS7.js → contacts-first-name-rac-CwUDxtmS.js} +1 -1
- package/dist/component/{contacts-last-name-rac-C6ftvjMG.js → contacts-last-name-rac-DstG7QIk.js} +1 -1
- package/dist/component/{contacts-phone-rac-ldsxrFQH.js → contacts-phone-rac-DbDYtB90.js} +1 -1
- package/dist/component/{contacts-position-rac-3RzQeh2P.js → contacts-position-rac-G-5pxT4U.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CfuH705u.js → contacts-subscribe-rac-hfjDjoZw.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-D85Dm5Pa.js → contacts-tax-id-rac-CUwJltYa.js} +1 -1
- package/dist/component/{date-availability-DcYOAszO.js → date-availability-CwlAp1DX.js} +1 -1
- package/dist/component/{date-input-field-rac-D4cr7NGI.js → date-input-field-rac-C47Y-z4d.js} +6 -6
- package/dist/component/{date-input-rac-BwJwmoZr.js → date-input-rac-BSKV4JJO.js} +1 -1
- package/dist/component/{date-picker-field-rac-C-IM7SHk.js → date-picker-field-rac-NSAnfLRk.js} +5 -5
- package/dist/component/{date-picker-rac-BkAp8Bgb.js → date-picker-rac-DlEVDz1X.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DGCd-WUh.js → date-time-input-field-rac-Bs2xjob_.js} +20 -20
- package/dist/component/{date-time-input-rac-ClLzxACj.js → date-time-input-rac-Dvy_vn5y.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DI26D3eR.js → dext-checkbox-group-rac-ydiyI0Ax.js} +2 -2
- package/dist/component/{dext-checkbox-rac-CRJq1RxN.js → dext-checkbox-rac-D3FH0uIS.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CvzQs_Te.js → dext-date-picker-rac-C4Xa4Mkn.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Dtysjtim.js → dext-date-time-input-rac-DBUVJbqB.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DHGo26Az.js → dext-dropdown-rac-Ku5SxJci.js} +1 -1
- package/dist/component/{dext-email-rac-BpnNEdVF.js → dext-email-rac-CdfesgKH.js} +1 -1
- package/dist/component/{dext-number-input-rac-C5iW_ei6.js → dext-number-input-rac-AmiEoijD.js} +1 -1
- package/dist/component/{dext-phone-rac-KCTWlcaK.js → dext-phone-rac-BqiNW-E2.js} +1 -1
- package/dist/component/{dext-radio-group-rac-ad6j8I4s.js → dext-radio-group-rac-Bku-LoOz.js} +2 -2
- package/dist/component/{dext-rating-input-rac-B4AvCMi0.js → dext-rating-input-rac-TxRgyMyp.js} +1 -1
- package/dist/component/{dext-tags-rac-BMathc_H.js → dext-tags-rac-C6iBGwg4.js} +2 -2
- package/dist/component/{dext-text-area-rac-Xb-pGhSZ.js → dext-text-area-rac-BU0eyjM4.js} +1 -1
- package/dist/component/{dext-text-input-rac-CSE8qfGF.js → dext-text-input-rac-BEls3cms.js} +1 -1
- package/dist/component/{dext-url-input-rac-Bq4iz5z9.js → dext-url-input-rac-CMAK9Qo6.js} +1 -1
- package/dist/component/{donation-rac-DRUbysCr.js → donation-rac-aGSBtE2T.js} +17 -17
- package/dist/component/{dropdown-field-headless-DO592qOP.js → dropdown-field-headless-B6i33cBH.js} +5 -5
- package/dist/component/{dropdown-field-rac-C2yjQI-C.js → dropdown-field-rac-COluC25e.js} +6 -6
- package/dist/component/{dropdown-rac-DlrGt2kE.js → dropdown-rac-BGQx3saK.js} +1 -1
- package/dist/component/{ecom-address-rac-D_StW_li.js → ecom-address-rac-BgkdVaiI.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CrdttyUU.js → ecom-subscription-checkbox-rac-C9jnWaZl.js} +2 -2
- package/dist/component/{email-input-field-rac-DqXazwV3.js → email-input-field-rac-DHCUGLjQ.js} +3 -3
- package/dist/component/{events-repeater-rac-DDpRs7rY.js → events-repeater-rac-BHz0azrh.js} +13 -13
- package/dist/component/{events-rsvp-rac-BN9axMYX.js → events-rsvp-rac-BgtEivuD.js} +8 -8
- package/dist/component/{field-error-headless-JU1yiTVE.js → field-error-headless-BCrv3sBa.js} +1 -1
- package/dist/component/{field-label-headless-CD4_8Ros.js → field-label-headless-B54yFVkr.js} +1 -1
- package/dist/component/{file-upload-rac-CQTx6hEf.js → file-upload-rac-Cg8Z8lhS.js} +21 -21
- package/dist/component/{fixed-payment-rac-B5cRBcxY.js → fixed-payment-rac-B3uuRmES.js} +21 -21
- package/dist/component/{form-Mla9_phC.js → form-D7mq5tD5.js} +77 -77
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B_F66ChH.js → header-field-rac-DbeAaOaE.js} +2 -2
- package/dist/component/{header-rac-BX6Df8ej.js → header-rac-CRghbywI.js} +1 -1
- package/dist/component/{image-choice-rac-Ce01EhFJ.js → image-choice-rac-nCRaXrH5.js} +17 -17
- package/dist/component/{index-Ch7II1GU.js → index-C6cdxkPM.js} +2 -2
- package/dist/component/{index-DoIW9Cb6.js → index-DNonwKkE.js} +4 -4
- package/dist/component/{isObjectLike-C1TnJWn6.js → isObjectLike-PXbsarQL.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DVDEcHtq.js → multiline-address-field-rac-DeMafI8g.js} +7 -7
- package/dist/component/{multiline-address-rac-BJ8ln_G5.js → multiline-address-rac-g1IrapIk.js} +1 -1
- package/dist/component/{number-input-field-rac-DTfx9YgL.js → number-input-field-rac-BSGFZQh_.js} +10 -10
- package/dist/component/{number-input-rac-pg7cmYpS.js → number-input-rac-C5yMyFyv.js} +1 -1
- package/dist/component/{password-rac-D8BKTB_H.js → password-rac-jHDFxH5W.js} +10 -10
- package/dist/component/{payment-input-rac-HBquclKy.js → payment-input-rac-Cpw8VM0u.js} +14 -14
- package/dist/component/{phone-input-field-rac-Fgfg5HwA.js → phone-input-field-rac-DLZysv_w.js} +26 -26
- package/dist/component/{phone-rac-pivMTIyc.js → phone-rac-DK5Toq-q.js} +1 -1
- package/dist/component/{product-list-rac-DauIxK2R.js → product-list-rac-DR2bHVkk.js} +22 -22
- package/dist/component/{quiz-radio-group-rac-B0OtjxKf.js → quiz-radio-group-rac-mWuYJqRQ.js} +1 -1
- package/dist/component/{radio-button-module-classes-Cu3KM625.js → radio-button-module-classes-CokNolqR.js} +3 -3
- package/dist/component/{radio-group-field-rac-0dJHtf3G.js → radio-group-field-rac-DiaR7RdY.js} +6 -6
- package/dist/component/{radio-group-rac-CqtO1JqM.js → radio-group-rac-FdQp_E1O.js} +1 -1
- package/dist/component/{rating-input-field-rac-CMny6OSF.js → rating-input-field-rac-DbyB_Esi.js} +11 -11
- package/dist/component/{rating-input-rac-DA4iU_-m.js → rating-input-rac-D4C1bB-A.js} +1 -1
- package/dist/component/{rich-content-rac.module-CZX0cZst.js → rich-content-rac.module-CDtZ3pmh.js} +1 -1
- package/dist/component/{rich-text-field-rac-Dtm6xFcj.js → rich-text-field-rac-CYqdqamx.js} +2 -2
- package/dist/component/{rich-text-rac-ClqIW5ds.js → rich-text-rac-CDzSg_7O.js} +1 -1
- package/dist/component/{service-dropdown-rac-_4T1OZGq.js → service-dropdown-rac-rdwYVwGB.js} +9 -9
- package/dist/component/{services-multi-choice-rac-BVim-jnM.js → services-multi-choice-rac-DOO6HYgT.js} +7 -7
- package/dist/component/{signature-rac-D7w8WTLO.js → signature-rac-CBh4_hf-.js} +4 -4
- package/dist/component/{submit-button-rac-BkUDj1dU.js → submit-button-rac-B8ZNvJjY.js} +2 -2
- package/dist/component/{tags-field-rac-Di1aK4E2.js → tags-field-rac-D5THw-TO.js} +5 -5
- package/dist/component/{tags-rac-CJ5f4Doi.js → tags-rac-C8wN2xTn.js} +1 -1
- package/dist/component/{text-area-field-rac-DFjrT9fs.js → text-area-field-rac-D3GB6Wrq.js} +6 -6
- package/dist/component/{text-area-rac-DBANidv_.js → text-area-rac-CCTd5x7u.js} +1 -1
- package/dist/component/{text-input-field-rac-DJDzqR6d.js → text-input-field-rac-emy5LgNs.js} +3 -3
- package/dist/component/{text-input-headless-CG4wbxMG.js → text-input-headless-BIgsm4yN.js} +3 -3
- package/dist/component/{text-input-rac-V0tK1Gj2.js → text-input-rac-BFRe44DM.js} +1 -1
- package/dist/component/{time-input-rac-LSoyg8Ao.js → time-input-rac-D6FsrMxb.js} +4 -4
- package/dist/component/{url-input-field-rac-DI0SdDI0.js → url-input-field-rac-Dk9F61BD.js} +8 -8
- package/dist/component/{url-input-rac-obx2Uf2F.js → url-input-rac-C1pAmfj-.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BM-NiVtO.js → use-dropdown-option-class-name-DNvaYrmm.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-BHwQ-wZa.js → use-dropdown-trigger-class-name-_gAS-eDg.js} +2 -2
- package/dist/component/{use-element-state-class-name-DAYz5X_i.js → use-element-state-class-name-CT3HIbmC.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-DZ-4NGpv.js → use-hoverable-input-class-name-DMVtzjju.js} +2 -2
- package/dist/component/{use-service-options-base-BOjt2sg9.js → use-service-options-base-DMgeKnCC.js} +1 -1
- package/dist/component/use-text-input-class-name-CO5G1Jx0.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-Bqj4OoIw.js +0 -6
package/dist/component/{rich-content-rac.module-CZX0cZst.js → rich-content-rac.module-CDtZ3pmh.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bj as a, bb as i, bt as T } from "./form-
|
|
2
|
+
import { bj as a, bb as i, bt as T } from "./form-D7mq5tD5.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 { bj as m, aw as i, ae as u, aW as R, aZ 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 { bj as m, aw as i, ae as u, aW as R, aZ as T } from "./form-D7mq5tD5.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CDtZ3pmh.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-_4T1OZGq.js → service-dropdown-rac-rdwYVwGB.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import o, { useRef as b, useMemo as _, useCallback as C, useEffect as T } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bf as P, bt as A, F as M, bj as y, bb as V, al as x,
|
|
5
|
-
import { u as W } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bf as P, bt as A, F as M, bj as y, bb as V, al as x, N as H, Y as U, O as k, G as q, u as B } from "./form-D7mq5tD5.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-DMgeKnCC.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-B6i33cBH.js";
|
|
7
7
|
import { C as Y } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as j } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as G } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as a } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as Q } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as z } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { u as Q } from "./use-dropdown-option-class-name-DNvaYrmm.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
|
|
13
13
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
14
14
|
const { actions: t } = P(), { t: h } = A(), { addOther: n, addOtherLabel: p } = e, c = p || h("add-other.default-other-option-label"), i = b(!0), d = _(() => {
|
|
15
15
|
var s;
|
|
@@ -68,12 +68,12 @@ const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
68
68
|
g,
|
|
69
69
|
e.isEditor
|
|
70
70
|
]);
|
|
71
|
-
const
|
|
71
|
+
const N = C(() => {
|
|
72
72
|
e.onFocus && e.onFocus(), i.current && R();
|
|
73
73
|
}, [
|
|
74
74
|
R,
|
|
75
75
|
e.onFocus
|
|
76
|
-
]),
|
|
76
|
+
]), v = C(
|
|
77
77
|
(s) => {
|
|
78
78
|
e.onChange && e.onChange(s), i.current = !0;
|
|
79
79
|
},
|
|
@@ -86,8 +86,8 @@ const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
|
86
86
|
isLoading: f,
|
|
87
87
|
options: l,
|
|
88
88
|
isEmpty: S,
|
|
89
|
-
onFocus:
|
|
90
|
-
onChange:
|
|
89
|
+
onFocus: N,
|
|
90
|
+
onChange: v,
|
|
91
91
|
shouldRender: I
|
|
92
92
|
};
|
|
93
93
|
}, r = ({ children: e }) => {
|
|
@@ -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, bj as d, al as D,
|
|
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, bj as d, al as D, N, Y as F, o as f, q as h, G as b, u as M, p as A } from "./form-D7mq5tD5.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DMgeKnCC.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-DdVXFUPC.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-6173wvuW.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DfEb7pBp.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-CT3HIbmC.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-CO5G1Jx0.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({
|
|
@@ -62,9 +62,9 @@ const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
|
|
|
62
62
|
moduleClasses: P
|
|
63
63
|
}), o = k();
|
|
64
64
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
|
65
|
-
className: a(
|
|
65
|
+
className: a(N, n.label)
|
|
66
66
|
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
67
|
-
className: a(
|
|
67
|
+
className: a(F, n.requiredMark)
|
|
68
68
|
})), /* @__PURE__ */ e.createElement(t.Options, {
|
|
69
69
|
className: a(f, _.options)
|
|
70
70
|
}, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
|
|
@@ -2,17 +2,17 @@ import s, { useRef as $, useContext as Ae, useMemo as be, useCallback as _, useS
|
|
|
2
2
|
import we from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as xe } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We,
|
|
5
|
+
import { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We, N as Ye, Y as Ze, _ as ke, u as pe, b as Ge, a3 as Ve, a4 as fe, G as $e, Z as ze, a1 as Xe, $ as qe, a2 as je, f as ne, a0 as Je } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
|
|
7
7
|
import { RadioGroup as tt, Button as Ie, TextField as nt, DropZone as at, Input as ot, FileTrigger as rt, RadioField as st, RadioButton as lt } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as C, a as A } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as it, E as ct } from "./field-error-headless-
|
|
11
|
-
import { L as ut } from "./field-label-headless-
|
|
10
|
+
import { D as it, E as ct } from "./field-error-headless-BCrv3sBa.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-B54yFVkr.js";
|
|
12
12
|
import { D as dt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as mt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DfEb7pBp.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
16
16
|
const pt = typeof s.useId == "function" ? s.useId : () => $(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, Et = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), gt = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, ht = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Te().signatureContainer) == null ? void 0 : o.signatureMode, a = Ae(Be);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as F, useCallback as P } from "react";
|
|
2
2
|
import j from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import g from "classnames";
|
|
4
|
-
import { bj as B, bd as q, ai as A, b as R, ah as k, ad as y, ac as M, ag as U } from "./form-
|
|
4
|
+
import { bj as B, bd as q, ai as A, b as R, ah as k, ad as y, ac as M, ag as U } from "./form-D7mq5tD5.js";
|
|
5
5
|
import { ProgressBar as D, Button as N } from "react-aria-components";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as f } from "./use-element-state-class-name-
|
|
7
|
+
import { u as f } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
8
8
|
function W(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(D, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as w, useRef as N, useLayoutEffect as z, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as B, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bj as D, bg as M, bt as S, bl as U,
|
|
5
|
+
import { bj as D, bg as M, bt as S, bl as U, N as ee, Y as te, a6 as ne, G as oe, u as ae, a7 as re } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { f as O, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as W, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-BCrv3sBa.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-B54yFVkr.js";
|
|
9
9
|
import { F as se } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as y } from "./field-rac.module-DfEb7pBp.js";
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
14
14
|
var ue = /* @__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 T, useRef as O } from "react";
|
|
4
4
|
import { TextField as S, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bj as p, bg as d, bl as x,
|
|
5
|
+
import { bj as p, bg as d, bl as x, N as g, Y as h, G as v, u as M } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as B } from "./field-error-headless-BCrv3sBa.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-B54yFVkr.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as V } from "./use-text-input-class-name-
|
|
11
|
+
import { u as V } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
|
@@ -62,9 +62,9 @@ const w = "_input_ug5v8_1", G = {
|
|
|
62
62
|
})), /* @__PURE__ */ r.createElement(e.Input, {
|
|
63
63
|
className: t
|
|
64
64
|
}), /* @__PURE__ */ r.createElement(e.Error, {
|
|
65
|
-
className: o(
|
|
65
|
+
className: o(v, c.error)
|
|
66
66
|
}, /* @__PURE__ */ r.createElement(P, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
67
|
-
className: o(
|
|
67
|
+
className: o(M, c.description)
|
|
68
68
|
}, Q));
|
|
69
69
|
};
|
|
70
70
|
export {
|
package/dist/component/{text-input-field-rac-DJDzqR6d.js → text-input-field-rac-emy5LgNs.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-BIgsm4yN.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DfEb7pBp.js";
|
|
7
|
-
import {
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { N as n, Y as c, G as E, u as i } from "./form-D7mq5tD5.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
9
9
|
const u = ({ 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 g } from "react-aria-components";
|
|
3
|
-
import { bj as d, bg as c, bl as v } from "./form-
|
|
3
|
+
import { bj as d, bg as c, bl as v } from "./form-D7mq5tD5.js";
|
|
4
4
|
import { f as s } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as T, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as h } from "./field-error-headless-BCrv3sBa.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-B54yFVkr.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(f, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as q } from "@internationalized/date";
|
|
5
5
|
import { TimeField as v, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
|
|
6
|
-
import { bj as p, bg as U, bt as S, bl as w,
|
|
6
|
+
import { bj as p, bg as U, bt as S, bl as w, N as G, Y as Q, G as Y, u as J } from "./form-D7mq5tD5.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as K, E as W } from "./field-error-headless-
|
|
9
|
-
import { L as X } from "./field-label-headless-
|
|
8
|
+
import { D as K, E as W } from "./field-error-headless-BCrv3sBa.js";
|
|
9
|
+
import { L as X } from "./field-label-headless-B54yFVkr.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as f } from "./field-rac.module-DfEb7pBp.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: g, hasError: C } = p(), { inputId: I, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
|
|
16
16
|
const k = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bj as d, bg as E, bl as g,
|
|
5
|
+
import { bj as d, bg as E, bl as g, N as B, Y as T, G as k, u as v } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as q } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as P } from "./field-error-headless-BCrv3sBa.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-B54yFVkr.js";
|
|
9
9
|
import { u as x } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as U } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DfEb7pBp.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
13
13
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: s, onChange: n, disabled: m, readOnly: l, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
|
|
15
15
|
n(V(s)), p();
|
|
@@ -50,7 +50,7 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
50
50
|
};
|
|
51
51
|
e.Label = q;
|
|
52
52
|
e.Input = W;
|
|
53
|
-
e.Description =
|
|
53
|
+
e.Description = M;
|
|
54
54
|
e.Error = P;
|
|
55
55
|
const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
|
|
56
56
|
content: t,
|
|
@@ -60,13 +60,13 @@ const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
|
|
|
60
60
|
return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
|
|
61
61
|
className: i(B, u.label)
|
|
62
62
|
}, /* @__PURE__ */ r.createElement(e.Label.Required, {
|
|
63
|
-
className: i(
|
|
63
|
+
className: i(T, u.requiredMark)
|
|
64
64
|
})), /* @__PURE__ */ r.createElement(e.Input, {
|
|
65
65
|
className: t
|
|
66
66
|
}), /* @__PURE__ */ r.createElement(e.Error, {
|
|
67
|
-
className: i(
|
|
67
|
+
className: i(k, u.error)
|
|
68
68
|
}, /* @__PURE__ */ r.createElement(U, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
69
|
-
className: i(
|
|
69
|
+
className: i(v, u.description)
|
|
70
70
|
}, $));
|
|
71
71
|
};
|
|
72
72
|
export {
|
|
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as D, useState as m, Children as L, useLayou
|
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as N } from "react-aria-components";
|
|
3
3
|
import T from "classnames";
|
|
4
4
|
import { s as h } from "./field-rac.module-DfEb7pBp.js";
|
|
5
|
-
import { x as H } from "./form-
|
|
6
|
-
import { u as I } from "./use-element-state-class-name-
|
|
5
|
+
import { x as H } from "./form-D7mq5tD5.js";
|
|
6
|
+
import { u as I } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
7
7
|
const R = 1 / 0, B = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext as p, useMemo as T } from "react";
|
|
2
|
-
import { bd as a, ap as O, bb as _, F as s, y as i } from "./form-
|
|
3
|
-
import { u } from "./use-hoverable-input-class-name-
|
|
2
|
+
import { bd as a, ap as O, bb as _, F as s, y as i } from "./form-D7mq5tD5.js";
|
|
3
|
+
import { u } from "./use-hoverable-input-class-name-DMVtzjju.js";
|
|
4
4
|
const I = [
|
|
5
5
|
s.DROPDOWN,
|
|
6
6
|
s.DEXT_DROPDOWN,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "classnames";
|
|
2
|
-
import { bc as s, aL as v } from "./form-
|
|
2
|
+
import { bc as s, aL as v } from "./form-D7mq5tD5.js";
|
|
3
3
|
const x = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bj as n } from "./form-
|
|
1
|
+
import { bj as n } from "./form-D7mq5tD5.js";
|
|
2
2
|
import { s as e } from "./field-rac.module-DfEb7pBp.js";
|
|
3
|
-
import { u } from "./use-element-state-class-name-
|
|
3
|
+
import { u } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-BOjt2sg9.js → use-service-options-base-DMgeKnCC.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
|
|
2
|
-
import { bi as v } from "./form-
|
|
2
|
+
import { bi as v } from "./form-D7mq5tD5.js";
|
|
3
3
|
const k = (I) => {
|
|
4
4
|
const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.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": [
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
]
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"falconPackageHash": "
|
|
159
|
+
"falconPackageHash": "e2c6c55cefca07d00be36cbb23b8814da0de7303dd4f50f67031134c"
|
|
160
160
|
}
|