@wix/form-elements 1.144.0 → 1.146.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-BxrHjvGM.js → appointment-rac-scUix9QX.js} +4 -4
- package/dist/component/{bookings-address-rac-CLWQa4ND.js → bookings-address-rac-CKemkJOO.js} +1 -1
- package/dist/component/{bookings-email-rac-DZemUnFy.js → bookings-email-rac-CDqdhPAB.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DyGMqRWi.js → bookings-first-name-rac-DEy_7Hjb.js} +1 -1
- package/dist/component/{bookings-header-rac-DmUeRhWl.js → bookings-header-rac-Bl4xy9lB.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DOuCYe0Q.js → bookings-last-name-rac-CsL9xQ1W.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BnmS1sak.js → bookings-login-bar-rac-DkHYQ4No.js} +1 -1
- package/dist/component/{bookings-phone-rac-F5YJaXHy.js → bookings-phone-rac-BoBiFwbV.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DAuqLM8j.js → bookings-rich-text-rac-DZZnPKWA.js} +1 -1
- package/dist/component/{checkbox-field-rac-DsQrwgzd.js → checkbox-field-rac-UgLmJxB-.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-oPw2miey.js → checkbox-group-field-headless-C809nB0Q.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-hPscGPkW.js → checkbox-group-field-rac-u4i4wG21.js} +4 -4
- package/dist/component/{checkbox-group-rac-DuIn-RKl.js → checkbox-group-rac-DBAQhSo3.js} +1 -1
- package/dist/component/{checkbox-rac-C_-b9_8s.js → checkbox-rac-FDQVsI5-.js} +1 -1
- package/dist/component/{contacts-address-rac-CbIN1ubI.js → contacts-address-rac-DnArylPa.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-B-ek4Puf.js → contacts-birthdate-rac-C19jhGEO.js} +1 -1
- package/dist/component/{contacts-company-rac-D2xGgOC0.js → contacts-company-rac-Dxs0hs_i.js} +1 -1
- package/dist/component/{contacts-email-rac-CpbAyHUl.js → contacts-email-rac-D-H43L8r.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DM0Uki6x.js → contacts-first-name-rac-DwV5NESk.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DV9wrigX.js → contacts-last-name-rac-C5v2xurf.js} +1 -1
- package/dist/component/{contacts-phone-rac-mIYYC0y2.js → contacts-phone-rac-D9a5x-xl.js} +1 -1
- package/dist/component/{contacts-position-rac-fYTx4IXC.js → contacts-position-rac-DfsgOv-k.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-nm5CFJHt.js → contacts-subscribe-rac-B-Hho0Kb.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-D4RFJf-S.js → contacts-tax-id-rac-q6TQkB4b.js} +1 -1
- package/dist/component/{date-availability-DKQ4Swlg.js → date-availability-CMDvf5VU.js} +1 -1
- package/dist/component/date-input-field-rac-C1WLUct3.js +297 -0
- package/dist/component/{date-input-rac-BbpWo9w0.js → date-input-rac-cNQ-nr4D.js} +1 -1
- package/dist/component/{date-picker-field-rac-Bza70SYg.js → date-picker-field-rac-mx11z-MO.js} +5 -5
- package/dist/component/{date-picker-rac-Ck7bd17y.js → date-picker-rac-DeTz17zC.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DpAx183s.js → date-time-input-field-rac-feQ2E1eU.js} +6 -6
- package/dist/component/{date-time-input-rac-CAL-qDqR.js → date-time-input-rac-G0s0xP4v.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DLk1zE8Z.js → dext-checkbox-group-rac-BcTN1nJb.js} +2 -2
- package/dist/component/{dext-checkbox-rac-K0JY8ypt.js → dext-checkbox-rac-DX0TOrCO.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BIkqhNQ0.js → dext-date-picker-rac-CpDp11oa.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-heYLj9qT.js → dext-date-time-input-rac-BRvO8izU.js} +1 -1
- package/dist/component/{dext-dropdown-rac-CE-hsE0g.js → dext-dropdown-rac-DGZ4Yi_X.js} +1 -1
- package/dist/component/{dext-email-rac-Djui3aGr.js → dext-email-rac-B9YCFHB4.js} +1 -1
- package/dist/component/{dext-number-input-rac-Up-zsZwY.js → dext-number-input-rac-D890dBZf.js} +1 -1
- package/dist/component/{dext-phone-rac-BnBq1KKf.js → dext-phone-rac-BAQftbXo.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D8EsvhLV.js → dext-radio-group-rac-CtEjnu_X.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BW6NPU1S.js → dext-rating-input-rac-BqQKVaHo.js} +1 -1
- package/dist/component/{dext-tags-rac--c_tiq-o.js → dext-tags-rac-zxxKcNUe.js} +2 -2
- package/dist/component/{dext-text-area-rac-CKFhfgDq.js → dext-text-area-rac-Ctp9SwPg.js} +1 -1
- package/dist/component/{dext-text-input-rac-CEcBfKSe.js → dext-text-input-rac-c_QMlyjr.js} +1 -1
- package/dist/component/{dext-url-input-rac-C4tT1NeS.js → dext-url-input-rac-96pv15aC.js} +1 -1
- package/dist/component/{donation-rac-Bqo7AUci.js → donation-rac-GEWKSLJY.js} +5 -5
- package/dist/component/{dropdown-field-headless-DMQSalL1.js → dropdown-field-headless-C3OxMhLE.js} +5 -5
- package/dist/component/{dropdown-field-rac-C31YjVhV.js → dropdown-field-rac-CCXfBmSc.js} +4 -4
- package/dist/component/{dropdown-rac-B6AZlzZ8.js → dropdown-rac-CR7hswXE.js} +1 -1
- package/dist/component/{ecom-address-rac-3pW-jse0.js → ecom-address-rac-khMuxEFD.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Ms4JDivZ.js → ecom-subscription-checkbox-rac-CAi_AHpb.js} +2 -2
- package/dist/component/{email-input-field-rac-UJOSd8si.js → email-input-field-rac-B83mY2lg.js} +5 -3
- package/dist/component/{events-repeater-rac-fs9cQREp.js → events-repeater-rac-ClEwXgmb.js} +4 -4
- package/dist/component/{events-rsvp-rac-DRLspNfK.js → events-rsvp-rac-BJ5q2SVR.js} +3 -3
- package/dist/component/{field-error-headless-CyoNrDMA.js → field-error-headless-CsYQCsiT.js} +1 -1
- package/dist/component/{field-label-headless-vs578Vt6.js → field-label-headless-Yg_1PMSg.js} +1 -1
- package/dist/component/{file-upload-rac-DDAMgm1b.js → file-upload-rac-DJsuI_lR.js} +4 -4
- package/dist/component/{fixed-payment-rac-DRs5yPZ8.js → fixed-payment-rac-BMFe9wxU.js} +3 -3
- package/dist/component/{form-D-pcluMZ.js → form-Bed4Kfz8.js} +4033 -4059
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BtLFBccj.js → header-field-rac-DPQTrOSZ.js} +2 -2
- package/dist/component/{header-rac-CNx4qpAR.js → header-rac-CzXsuLmE.js} +1 -1
- package/dist/component/{image-choice-rac-D-PsWyfU.js → image-choice-rac-R_4pbOSr.js} +4 -4
- package/dist/component/{index-B7rRv0cm.js → index-DZxHlvzt.js} +4 -4
- package/dist/component/{index-D4Jdw7jg.js → index-qSZCe_WC.js} +2 -2
- package/dist/component/{isObjectLike-DyNk-Hsj.js → isObjectLike-B-a5uaU-.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CowUg4Dk.js → multiline-address-field-rac-rv4IZZy_.js} +15 -7
- package/dist/component/{multiline-address-rac-CHLN9iqR.js → multiline-address-rac-DZ7cYtgn.js} +1 -1
- package/dist/component/{number-input-field-rac-Clow9sWB.js → number-input-field-rac-CL9iXKIf.js} +4 -4
- package/dist/component/{number-input-rac-CeUW4WGL.js → number-input-rac-BeGn6qJR.js} +1 -1
- package/dist/component/{password-rac-_FBw3XON.js → password-rac-DfvhdsKG.js} +51 -50
- package/dist/component/{payment-input-rac-CmeiCGKm.js → payment-input-rac-BmMfi5rf.js} +18 -17
- package/dist/component/{phone-input-field-rac-PIpEcS6h.js → phone-input-field-rac-DW0a1pXs.js} +7 -6
- package/dist/component/{phone-rac-D-RF_Dc1.js → phone-rac-quZjJ08H.js} +1 -1
- package/dist/component/{product-list-rac-CveI0FCQ.js → product-list-rac-Ci0KB7sN.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-DmL5sv4m.js → quiz-radio-group-rac--UUtGx2t.js} +1 -1
- package/dist/component/{radio-button-module-classes-D6eJdPov.js → radio-button-module-classes-CqdBGknT.js} +3 -3
- package/dist/component/{radio-group-field-rac-CuTxslBP.js → radio-group-field-rac-w8fHpFKJ.js} +4 -4
- package/dist/component/{radio-group-rac-D1N9mKdI.js → radio-group-rac-jO8aghii.js} +1 -1
- package/dist/component/{rating-input-field-rac-tPHYwerw.js → rating-input-field-rac-BRc2PtqE.js} +4 -4
- package/dist/component/{rating-input-rac-BoYlGaYG.js → rating-input-rac-D9zs06xR.js} +1 -1
- package/dist/component/{rich-content-rac.module-BEpM1wGw.js → rich-content-rac.module-Cv3ZmD00.js} +1 -1
- package/dist/component/{rich-text-field-rac-DIBDp9fN.js → rich-text-field-rac-BmWuIfA8.js} +2 -2
- package/dist/component/{rich-text-rac-QNvqlXOl.js → rich-text-rac-BnqnrvB1.js} +1 -1
- package/dist/component/{service-dropdown-rac-BUka_sF2.js → service-dropdown-rac-Cl81KfJU.js} +5 -5
- package/dist/component/{services-multi-choice-rac-Dsy5tWby.js → services-multi-choice-rac-sQ1NF9hY.js} +5 -5
- package/dist/component/{signature-rac-K1d_jHlU.js → signature-rac-Huairu7V.js} +4 -4
- package/dist/component/{submit-button-rac-BRJtuej2.js → submit-button-rac-Dpg7N0TG.js} +2 -2
- package/dist/component/{tags-field-rac-BaBbtHcw.js → tags-field-rac-BQ8TEqXH.js} +5 -5
- package/dist/component/{tags-rac-DDg6W18e.js → tags-rac-CFOmyCCc.js} +1 -1
- package/dist/component/{text-area-field-rac-CB97Y6o1.js → text-area-field-rac-DNiMa7d3.js} +4 -4
- package/dist/component/{text-area-rac-E091fvmB.js → text-area-rac-kLFe-KbZ.js} +1 -1
- package/dist/component/{text-input-field-rac-BiSQ4pDp.js → text-input-field-rac-CqENSUUX.js} +3 -3
- package/dist/component/text-input-headless-BdPkEeK2.js +45 -0
- package/dist/component/{text-input-rac-N2D8bqU4.js → text-input-rac-uYQEfOtE.js} +1 -1
- package/dist/component/{time-input-rac-CMVYeoxi.js → time-input-rac-BYoojlJ9.js} +4 -4
- package/dist/component/{url-input-field-rac-BWpn4TfK.js → url-input-field-rac-BioH7kuz.js} +20 -19
- package/dist/component/{url-input-rac-U19lGKwd.js → url-input-rac-D2VSSyqW.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DK1HCEOC.js → use-dropdown-option-class-name-BEmvU-Gg.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-XS469pt3.js → use-dropdown-trigger-class-name-qj9skLWZ.js} +2 -2
- package/dist/component/{use-element-state-class-name-BdjEjAk1.js → use-element-state-class-name-oiKCauK-.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-7nSuBlNd.js → use-hoverable-input-class-name-BW3nCyhG.js} +2 -2
- package/dist/component/{use-service-options-base-Bxw3_pyC.js → use-service-options-base-DXG60hA5.js} +1 -1
- package/dist/component/use-text-input-class-name-BhQFcXYH.js +6 -0
- package/package.json +2 -2
- package/dist/component/date-input-field-rac-DKZ-7UN1.js +0 -290
- package/dist/component/text-input-headless-BKxooAsH.js +0 -44
- package/dist/component/use-text-input-class-name-BB5fT5S6.js +0 -6
package/dist/component/{rating-input-field-rac-tPHYwerw.js → rating-input-field-rac-BRc2PtqE.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as y } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { bn as I, bk as v, bx as T, R as H, $ as M, Z as w, G as B, u as P, _ as G } from "./form-
|
|
4
|
+
import { bn as I, bk as v, bx as T, R as H, $ as M, Z as w, G as B, u as P, _ as G } from "./form-Bed4Kfz8.js";
|
|
5
5
|
import { RadioGroup as k, RadioField as q, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as z } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as z } from "./field-error-headless-CsYQCsiT.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-Yg_1PMSg.js";
|
|
9
9
|
import { E as $ } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-oiKCauK-.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: R, FieldLayout: C } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-BEpM1wGw.js → rich-content-rac.module-Cv3ZmD00.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bn as a, bf as i, bx as T } from "./form-
|
|
2
|
+
import { bn as a, bf as i, bx as T } from "./form-Bed4Kfz8.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 i, aA as m, ai as u, a_ as R, b1 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 i, aA as m, ai as u, a_ as R, b1 as T } from "./form-Bed4Kfz8.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-Cv3ZmD00.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-BUka_sF2.js → service-dropdown-rac-Cl81KfJU.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bj as P, bx as A, F as M, bn as y, bf as x, ap as V, R as H, $ as U, x as W, G as k, u as q } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bj as P, bx as A, F as M, bn as y, bf as x, ap as V, R as H, $ as U, x as W, G as k, u as q } from "./form-Bed4Kfz8.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DXG60hA5.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-C3OxMhLE.js";
|
|
7
7
|
import { C as j } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as a } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as Y } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as $ } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { u as Y } from "./use-dropdown-option-class-name-BEmvU-Gg.js";
|
|
12
|
+
import { u as $ } from "./use-dropdown-trigger-class-name-qj9skLWZ.js";
|
|
13
13
|
const z = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
14
14
|
const { actions: o } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), i = T(!0), d = _(() => {
|
|
15
15
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as R } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as S, bn as d, ap as D, R as F, $ as N, o as f, q as h, G as b, u as M, p as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as S, bn as d, ap as D, R as F, $ as N, o as f, q as h, G as b, u as M, p as A } from "./form-Bed4Kfz8.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DXG60hA5.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-C809nB0Q.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-oiKCauK-.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-BhQFcXYH.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 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 { aR as Ue, bh as Te, at as Be, F as Oe, bj as Pe, bf as Me, bv as ye, E as me, aj as oe, bn as x, bk as W, bp as Ce, bx as He, bg as We, R as Ye, $ as Ze, a1 as ke, u as pe, b as Ge, a6 as Ve, a7 as fe, G as $e, a0 as ze, a4 as Xe, a2 as qe, a5 as je, f as ne, a3 as Je } from "./form-
|
|
5
|
+
import { aR as Ue, bh as Te, at as Be, F as Oe, bj as Pe, bf as Me, bv as ye, E as me, aj as oe, bn as x, bk as W, bp as Ce, bx as He, bg as We, R as Ye, $ as Ze, a1 as ke, u as pe, b as Ge, a6 as Ve, a7 as fe, G as $e, a0 as ze, a4 as Xe, a2 as qe, a5 as je, f as ne, a3 as Je } from "./form-Bed4Kfz8.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-CsYQCsiT.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-Yg_1PMSg.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-oiKCauK-.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 X, useCallback as y } from "react";
|
|
2
2
|
import $ from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bn as b, bh as j, ah as q, ag as z, ae as G, ad as J, am as K, al as Q, af as Y, b as Z, ac as tt, ak as et } from "./form-
|
|
4
|
+
import { bn as b, bh as j, ah as q, ag as z, ae as G, ad as J, am as K, al as Q, af as Y, b as Z, ac as tt, ak as et } from "./form-Bed4Kfz8.js";
|
|
5
5
|
import { ProgressBar as nt, Button as R } from "react-aria-components";
|
|
6
6
|
import { f as l } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-oiKCauK-.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 w } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as z, useRef as k, useLayoutEffect as B, useCallback as x } from "react";
|
|
4
4
|
import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bn as D, bk as M, bx as S, bp as U, R as ee, $ as te, a9 as ne, G as oe, u as ae, aa as re } from "./form-
|
|
5
|
+
import { bn as D, bk as M, bx as S, bp as U, R as ee, $ as te, a9 as ne, G as oe, u as ae, aa as re } from "./form-Bed4Kfz8.js";
|
|
6
6
|
import { f as O, a as N } 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-CsYQCsiT.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-Yg_1PMSg.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-oiKCauK-.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-BhQFcXYH.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 { bn as p, bk as d, bp as x, R as g, $ as h, G as v, u as M } from "./form-
|
|
5
|
+
import { bn as p, bk as d, bp as x, R as g, $ as h, G as v, u as M } from "./form-Bed4Kfz8.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-CsYQCsiT.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-Yg_1PMSg.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-BhQFcXYH.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: R } = d(), F = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-BiSQ4pDp.js → text-input-field-rac-CqENSUUX.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-BdPkEeK2.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 { R as n, $ as c, G as E, u as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { R as n, $ as c, G as E, u as i } from "./form-Bed4Kfz8.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-BhQFcXYH.js";
|
|
9
9
|
const R = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import t, { useRef as C } from "react";
|
|
2
|
+
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
+
import { bn as d, bk as p, bp as T } from "./form-Bed4Kfz8.js";
|
|
4
|
+
import { f as s } from "./find-child-C60k4CxG.js";
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-CsYQCsiT.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-Yg_1PMSg.js";
|
|
7
|
+
const e = ({ children: r }) => {
|
|
8
|
+
const { id: a, value: l, onChange: i, disabled: u, readOnly: n, required: o, hasError: c, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = d(), { labelId: I } = p(), F = s(r, e.Label), y = s(r, e.Input), D = s(r, e.Description), L = s(r, e.Error);
|
|
9
|
+
return /* @__PURE__ */ t.createElement(E, {
|
|
10
|
+
fieldId: a,
|
|
11
|
+
renderLabel: () => F,
|
|
12
|
+
renderInput: () => /* @__PURE__ */ t.createElement(R, {
|
|
13
|
+
autoComplete: f,
|
|
14
|
+
"aria-labelledby": I,
|
|
15
|
+
value: l ?? "",
|
|
16
|
+
onChange: i,
|
|
17
|
+
isDisabled: u,
|
|
18
|
+
isReadOnly: n,
|
|
19
|
+
isRequired: o,
|
|
20
|
+
isInvalid: c,
|
|
21
|
+
onBlur: m,
|
|
22
|
+
onFocus: b
|
|
23
|
+
}, y),
|
|
24
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, D)
|
|
25
|
+
});
|
|
26
|
+
}, B = ({ className: r }) => {
|
|
27
|
+
const { id: a, placeholder: l } = d(), { inputId: i, ariaDescribedBy: u } = p(), n = C(null);
|
|
28
|
+
return T(() => {
|
|
29
|
+
var o;
|
|
30
|
+
(o = n.current) == null || o.focus();
|
|
31
|
+
}, a), /* @__PURE__ */ t.createElement(v, {
|
|
32
|
+
ref: n,
|
|
33
|
+
id: i,
|
|
34
|
+
"aria-describedby": u,
|
|
35
|
+
className: r,
|
|
36
|
+
placeholder: l
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
e.Label = x;
|
|
40
|
+
e.Input = B;
|
|
41
|
+
e.Description = g;
|
|
42
|
+
e.Error = h;
|
|
43
|
+
export {
|
|
44
|
+
e as T
|
|
45
|
+
};
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as j } 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 { bn as p, bk as U, bx as S, bp as w, R as G, $ as Q, G as $, u as J } from "./form-
|
|
6
|
+
import { bn as p, bk as U, bx as S, bp as w, R as G, $ as Q, G as $, u as J } from "./form-Bed4Kfz8.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-CsYQCsiT.js";
|
|
9
|
+
import { L as X } from "./field-label-headless-Yg_1PMSg.js";
|
|
10
10
|
import { E as Y } 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 Z } from "./use-text-input-class-name-
|
|
13
|
+
import { u as Z } from "./use-text-input-class-name-BhQFcXYH.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: a, disabled: i, readOnly: o, required: c, onBlur: s, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: g } = p(), { inputId: I, ariaDescribedBy: R, labelId: D } = U(), L = H((M) => {
|
|
16
16
|
const k = ae(M);
|
|
@@ -2,32 +2,32 @@ 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 { bn as d, bk as E, bp as k, R as B, $ as T, G as g, u as v } from "./form-
|
|
5
|
+
import { bn as d, bk as E, bp as k, R as B, $ as T, G as g, u as v } from "./form-Bed4Kfz8.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as q } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as P } from "./field-error-headless-CsYQCsiT.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-Yg_1PMSg.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 $ } from "./use-text-input-class-name-
|
|
12
|
+
import { u as $ } from "./use-text-input-class-name-BhQFcXYH.js";
|
|
13
13
|
const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
|
-
const { id:
|
|
15
|
-
s(w(
|
|
14
|
+
const { id: o, value: n, onChange: s, 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
|
+
s(w(n)), p();
|
|
16
16
|
}, [
|
|
17
17
|
p,
|
|
18
18
|
s,
|
|
19
|
-
|
|
19
|
+
n
|
|
20
20
|
]);
|
|
21
21
|
return /* @__PURE__ */ r.createElement(R, {
|
|
22
|
-
fieldId:
|
|
22
|
+
fieldId: o,
|
|
23
23
|
renderLabel: () => L,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ r.createElement(y, {
|
|
25
25
|
"aria-labelledby": F,
|
|
26
|
-
value:
|
|
26
|
+
value: n ?? "",
|
|
27
27
|
onChange: s,
|
|
28
28
|
isDisabled: m,
|
|
29
|
-
isReadOnly:
|
|
30
|
-
isRequired:
|
|
29
|
+
isReadOnly: l,
|
|
30
|
+
isRequired: a,
|
|
31
31
|
isInvalid: I,
|
|
32
32
|
onBlur: N,
|
|
33
33
|
onFocus: f
|
|
@@ -35,26 +35,27 @@ const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
35
35
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
|
|
36
36
|
});
|
|
37
37
|
}, V = ({ className: t }) => {
|
|
38
|
-
const { id:
|
|
38
|
+
const { id: o, placeholder: n } = d(), { inputId: s, ariaDescribedBy: m } = E(), l = O(null);
|
|
39
39
|
return k(() => {
|
|
40
|
-
var
|
|
41
|
-
(
|
|
42
|
-
},
|
|
43
|
-
ref:
|
|
40
|
+
var a;
|
|
41
|
+
(a = l.current) == null || a.focus();
|
|
42
|
+
}, o), /* @__PURE__ */ r.createElement(A, {
|
|
43
|
+
ref: l,
|
|
44
44
|
id: s,
|
|
45
45
|
type: "url",
|
|
46
|
+
autoComplete: "url",
|
|
46
47
|
"aria-describedby": m,
|
|
47
48
|
className: t,
|
|
48
|
-
placeholder:
|
|
49
|
+
placeholder: n
|
|
49
50
|
});
|
|
50
51
|
};
|
|
51
52
|
e.Label = q;
|
|
52
53
|
e.Input = V;
|
|
53
54
|
e.Description = M;
|
|
54
55
|
e.Error = P;
|
|
55
|
-
const W = ({ content: t, locale:
|
|
56
|
+
const W = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
|
|
56
57
|
content: t,
|
|
57
|
-
locale:
|
|
58
|
+
locale: o
|
|
58
59
|
}), te = () => {
|
|
59
60
|
const t = $();
|
|
60
61
|
return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
|
|
@@ -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 P from "classnames";
|
|
4
4
|
import { s as h } from "./field-rac.module-DfEb7pBp.js";
|
|
5
|
-
import { y as T } from "./form-
|
|
6
|
-
import { u as H } from "./use-element-state-class-name-
|
|
5
|
+
import { y as T } from "./form-Bed4Kfz8.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-oiKCauK-.js";
|
|
7
7
|
const R = 1 / 0, I = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext as T, useMemo as a } from "react";
|
|
2
|
-
import { bh as p, at as O, bf as _, F as s, z as i } from "./form-
|
|
3
|
-
import { u } from "./use-hoverable-input-class-name-
|
|
2
|
+
import { bh as p, at as O, bf as _, F as s, z as i } from "./form-Bed4Kfz8.js";
|
|
3
|
+
import { u } from "./use-hoverable-input-class-name-BW3nCyhG.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 { bg as s, aP as v } from "./form-
|
|
2
|
+
import { bg as s, aP as v } from "./form-Bed4Kfz8.js";
|
|
3
3
|
const S = ({ 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 { bn as m } from "./form-
|
|
1
|
+
import { bn as m } from "./form-Bed4Kfz8.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-oiKCauK-.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = m(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-Bxw3_pyC.js → use-service-options-base-DXG60hA5.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 { bm as v } from "./form-
|
|
2
|
+
import { bm as v } from "./form-Bed4Kfz8.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.146.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": "b8fb19820565c6c9d82651d852c6ff5a5859a739634c90f656579668"
|
|
160
160
|
}
|