@wix/form-elements 1.72.0 → 1.73.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-CvecMhTP.js → appointment-rac-Bze1s2XD.js} +4 -4
- package/dist/component/{bookings-address-rac-Bzh6N9eV.js → bookings-address-rac-BcrkXf63.js} +1 -1
- package/dist/component/{bookings-email-rac-kh4HZ9zW.js → bookings-email-rac-DYq5RxOP.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DIe5Nxtm.js → bookings-first-name-rac-ZJ_sQ-01.js} +1 -1
- package/dist/component/{bookings-header-rac-CcZrhPWt.js → bookings-header-rac-Cv8kl01f.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DynAXyOh.js → bookings-last-name-rac-BmnulSZ6.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CiAreT-B.js → bookings-login-bar-rac-Bdi4xs9y.js} +2 -2
- package/dist/component/{bookings-phone-rac-Be7XP3CC.js → bookings-phone-rac-C8DjSzUY.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CsOSjxCm.js → bookings-rich-text-rac-DYu011oy.js} +1 -1
- package/dist/component/{checkbox-field-rac-YmbfJMcm.js → checkbox-field-rac-BH3yEE5j.js} +42 -42
- package/dist/component/{checkbox-group-field-headless-DnI-niUS.js → checkbox-group-field-headless-D_GG5LHM.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-Cbv9r_IR.js → checkbox-group-field-rac-Cj7Erubs.js} +4 -4
- package/dist/component/{checkbox-group-rac-6W04r6Nz.js → checkbox-group-rac-CgW0DnhX.js} +1 -1
- package/dist/component/{checkbox-rac-Dv96xsq2.js → checkbox-rac-DOAYMMsi.js} +1 -1
- package/dist/component/{contacts-address-rac-BQSEdyVn.js → contacts-address-rac-DXJa4J_k.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-CNZp5aiS.js → contacts-birthdate-rac-CVsuRq3B.js} +1 -1
- package/dist/component/{contacts-company-rac-BwY-2pG_.js → contacts-company-rac-b2bwHSNC.js} +1 -1
- package/dist/component/{contacts-email-rac-CX9LDVtk.js → contacts-email-rac-DMPcpQ1c.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CXzh7vHC.js → contacts-first-name-rac-CL2BsHuJ.js} +1 -1
- package/dist/component/{contacts-last-name-rac-y93LJlBv.js → contacts-last-name-rac-hdBsWaqb.js} +1 -1
- package/dist/component/{contacts-phone-rac-zO2Y3fGa.js → contacts-phone-rac-DQF6aV9B.js} +1 -1
- package/dist/component/{contacts-position-rac-y7Nd4s6j.js → contacts-position-rac-CVX-WCfx.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-D5usboPe.js → contacts-subscribe-rac-Dl1ot9qw.js} +2 -2
- package/dist/component/{contacts-tax-id-rac-DT42qK_C.js → contacts-tax-id-rac-0KTXvF81.js} +1 -1
- package/dist/component/{date-availability-BUg7fwNs.js → date-availability-DBljhBgO.js} +1 -1
- package/dist/component/{date-input-field-rac-97DJQbSL.js → date-input-field-rac-CfflD2Ar.js} +4 -4
- package/dist/component/{date-input-rac-BTetYZVn.js → date-input-rac-fQclCKoa.js} +1 -1
- package/dist/component/{date-picker-field-rac-BOzUTQ53.js → date-picker-field-rac-BSmFOaH-.js} +5 -5
- package/dist/component/{date-picker-rac-Cz8QZr18.js → date-picker-rac-D7I3ramu.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Cx4a-dzv.js → date-time-input-field-rac-vjZDQ_Fp.js} +4 -4
- package/dist/component/{date-time-input-rac-BlSvC4v4.js → date-time-input-rac-CDbS0VZR.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-ijVB8NX2.js → dext-checkbox-group-rac-BBiPt6_a.js} +2 -2
- package/dist/component/{dext-checkbox-rac-0F6rTc_y.js → dext-checkbox-rac-Cqp--0SO.js} +1 -1
- package/dist/component/{dext-date-picker-rac-vjt7d8gT.js → dext-date-picker-rac-5Wft0w9m.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CpJz0KtU.js → dext-date-time-input-rac-Bbs7bgtn.js} +1 -1
- package/dist/component/{dext-dropdown-rac-yUJT-sKU.js → dext-dropdown-rac-CSvhtqbc.js} +1 -1
- package/dist/component/{dext-email-rac-D1K34PtX.js → dext-email-rac-BoLeXqyI.js} +1 -1
- package/dist/component/{dext-number-input-rac-D-7zudVq.js → dext-number-input-rac-DzaJYTSz.js} +1 -1
- package/dist/component/{dext-phone-rac-B4HebC40.js → dext-phone-rac-BagPg_CT.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DWL6wrD6.js → dext-radio-group-rac-B5HSQt7a.js} +2 -2
- package/dist/component/{dext-rating-input-rac-p_FwVz4F.js → dext-rating-input-rac-DrtaAf-E.js} +1 -1
- package/dist/component/{dext-tags-rac-DNZ06TfG.js → dext-tags-rac-Cg4jJ4jr.js} +2 -2
- package/dist/component/{dext-text-area-rac-D9Ra_RXC.js → dext-text-area-rac-C_t-W7lk.js} +1 -1
- package/dist/component/{dext-text-input-rac-gms4VXn_.js → dext-text-input-rac-ChvV21Jf.js} +1 -1
- package/dist/component/{dext-url-input-rac-CDZnjVL0.js → dext-url-input-rac-DclbSYTr.js} +1 -1
- package/dist/component/{donation-rac-BPy2Dkj_.js → donation-rac-FYQIMm5m.js} +16 -16
- package/dist/component/{dropdown-field-headless-CiK1C6eu.js → dropdown-field-headless-CTZ-zGqZ.js} +3 -3
- package/dist/component/{dropdown-field-rac-ByUgK0Dh.js → dropdown-field-rac-C1KVtxwv.js} +4 -4
- package/dist/component/{dropdown-rac-BZQe_0qb.js → dropdown-rac-CkkDEDje.js} +1 -1
- package/dist/component/{ecom-address-rac-Du8bSZKs.js → ecom-address-rac-BOuugSxX.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-ZgT_Mx5b.js → ecom-subscription-checkbox-rac-IZeMlljb.js} +3 -3
- package/dist/component/{email-input-field-rac-DWXEywOx.js → email-input-field-rac-CNzmm1j7.js} +26 -26
- package/dist/component/{events-repeater-rac-DBofzCIJ.js → events-repeater-rac-CMV0Lmwz.js} +3 -3
- package/dist/component/{events-rsvp-rac-CYwLg3Mp.js → events-rsvp-rac-BmjboAco.js} +2 -2
- package/dist/component/{field-error-headless-BAVGL8JO.js → field-error-headless-DQZ5XAdn.js} +1 -1
- package/dist/component/{field-label-headless-CwSCKtI1.js → field-label-headless-DoxfHHaj.js} +1 -1
- package/dist/component/{file-upload-rac-BI_SxUFD.js → file-upload-rac-YEQ7uXhm.js} +46 -46
- package/dist/component/{fixed-payment-rac-m2iFI5v_.js → fixed-payment-rac-DDufIQBT.js} +4 -4
- package/dist/component/{form-VD2Og15y.js → form-C6WwBcGP.js} +69 -69
- package/dist/component/{form-element-classes-BSMjWijd.js → form-element-classes-DDKCTFQj.js} +24 -22
- package/dist/component/form-element-keys-D0sEdpFo.js +8 -0
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C7EKGD8f.js → header-field-rac-DGfjrjQC.js} +3 -3
- package/dist/component/{header-rac-CE4fzveg.js → header-rac-C_JE2cTg.js} +1 -1
- package/dist/component/{image-choice-rac-CXABLqND.js → image-choice-rac-LDLPQwrN.js} +8 -8
- package/dist/component/{index-DI0IAMNV.js → index-C2srcuHD.js} +4 -4
- package/dist/component/{index-CHqhveZ1.js → index-CIOoaQ8Z.js} +2 -2
- package/dist/component/{isObjectLike-D_6b_ESv.js → isObjectLike-E5QfEa1u.js} +1 -1
- package/dist/component/{multiline-address-field-rac-3wB7fWdZ.js → multiline-address-field-rac-Biyj2tIN.js} +5 -5
- package/dist/component/{multiline-address-rac-RnXiGQRs.js → multiline-address-rac-BCqCvG7a.js} +1 -1
- package/dist/component/{number-input-field-rac-BiC2NsZQ.js → number-input-field-rac-CwUoIbM8.js} +4 -4
- package/dist/component/{number-input-rac-BphPpAvr.js → number-input-rac-CdYdTDem.js} +1 -1
- package/dist/component/{password-rac-DBk3CNX3.js → password-rac-D62npVHY.js} +9 -9
- package/dist/component/{payment-input-rac-DNYLuIV-.js → payment-input-rac-D4u-3vcW.js} +6 -6
- package/dist/component/{phone-input-field-rac-C30S0p_Y.js → phone-input-field-rac-uHxR3ozd.js} +14 -14
- package/dist/component/{phone-rac-vzh9GsbA.js → phone-rac-Bf99_BGi.js} +1 -1
- package/dist/component/{product-list-rac-DMdxtFZ1.js → product-list-rac-iRf6Ra7i.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CX9W6rGY.js → quiz-radio-group-rac-CPGS0LEb.js} +2 -2
- package/dist/component/{radio-group-field-rac-D7MwZqH6.js → radio-group-field-rac-BWpTNAbO.js} +2 -2
- package/dist/component/{radio-group-field-rac.module-DxEUzWwB.js → radio-group-field-rac.module-WxU5zxvM.js} +3 -3
- package/dist/component/{radio-group-rac-BK7qn-h2.js → radio-group-rac-dA4WZ1Vj.js} +1 -1
- package/dist/component/rating-input-field-rac-CJnFsBvH.js +127 -0
- package/dist/component/{rating-input-rac-Dy335I62.js → rating-input-rac-DXVYozFV.js} +1 -1
- package/dist/component/{rich-content-rac.module-DrHi1MSI.js → rich-content-rac.module-DkKwzJS7.js} +1 -1
- package/dist/component/{rich-text-field-rac-CMnH_2lB.js → rich-text-field-rac-8FWCRrpb.js} +3 -3
- package/dist/component/{rich-text-rac-Cebhj1Mq.js → rich-text-rac-OeM_mPRy.js} +1 -1
- package/dist/component/{service-dropdown-rac-BKsuPUHs.js → service-dropdown-rac-mvUMpcS_.js} +14 -14
- package/dist/component/{services-multi-choice-rac-BCzzyhJY.js → services-multi-choice-rac-DrgUrn_N.js} +9 -9
- package/dist/component/{signature-rac-TuOQR74M.js → signature-rac-D44U9Uyp.js} +52 -52
- package/dist/component/{submit-button-rac-Ct4NVia5.js → submit-button-rac-BqtcgVAn.js} +2 -2
- package/dist/component/{tags-field-rac-DYdaPvQc.js → tags-field-rac-CemsTKWz.js} +13 -13
- package/dist/component/{tags-rac-BvyXZ_95.js → tags-rac-fVjCf6qo.js} +1 -1
- package/dist/component/{text-area-field-rac-YmesRjRH.js → text-area-field-rac-BPciZlZb.js} +6 -6
- package/dist/component/{text-area-rac-Bk0bbyrK.js → text-area-rac-CRTORdZM.js} +1 -1
- package/dist/component/{text-input-field-rac-CW0ZR1y2.js → text-input-field-rac-CvFoWlRN.js} +2 -2
- package/dist/component/{text-input-headless-C1m6gpFi.js → text-input-headless-BQ3TWU9G.js} +3 -3
- package/dist/component/{text-input-rac-5S5KE2Qr.js → text-input-rac-DSFkEmob.js} +1 -1
- package/dist/component/{time-input-rac-CfoKMXeX.js → time-input-rac-CGgs7ncp.js} +8 -8
- package/dist/component/{url-input-field-rac-aQiV0Sti.js → url-input-field-rac-CqvgTc-F.js} +12 -12
- package/dist/component/{url-input-rac-Ko5uylZw.js → url-input-rac-C45KOwnr.js} +1 -1
- package/dist/component/{use-service-options-base-BagPjcuW.js → use-service-options-base-D4Zl-iGW.js} +1 -1
- package/package.json +2 -2
- package/dist/component/form-element-keys-P3mtjfCv.js +0 -7
- package/dist/component/rating-input-field-rac-CUTqEPPd.js +0 -130
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import s, { useRef as W, useCallback as I, useState as K, useEffect as Q, useMemo as De, isValidElement as
|
|
2
|
-
import { RicosViewer as
|
|
1
|
+
import s, { useRef as W, useCallback as I, useState as K, useEffect as Q, useMemo as De, isValidElement as Re } from "react";
|
|
2
|
+
import { RicosViewer as we } from "@wix/ricos/viewer";
|
|
3
3
|
import v from "classnames";
|
|
4
4
|
import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
|
|
5
|
-
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as
|
|
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 Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as q, ai as A, af as H, ak as Ee, as as Me } from "./form-
|
|
7
|
+
import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as q, ai as A, af as H, ak as Ee, as as Me } from "./form-C6WwBcGP.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-DQZ5XAdn.js";
|
|
10
|
+
import { L as Ye } from "./field-label-headless-DoxfHHaj.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-Cac83bU5.js";
|
|
14
|
-
import { z as ue,
|
|
14
|
+
import { z as ue, R as ze, y as B, a3 as Ve, q as Ze, j as Xe } from "./form-element-classes-DDKCTFQj.js";
|
|
15
15
|
const qe = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
|
|
16
|
-
var
|
|
16
|
+
var R = /* @__PURE__ */ (function(e) {
|
|
17
17
|
return e.TEXT = "text/plain", e.POINTS = "points/json", e;
|
|
18
18
|
})({}), b = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.DRAW = "draw", e.TYPE = "type", e.UPLOAD = "upload", e;
|
|
@@ -103,10 +103,10 @@ function me(e, t) {
|
|
|
103
103
|
}
|
|
104
104
|
const M = 480, et = (e) => Ce({
|
|
105
105
|
data: JSON.stringify(e),
|
|
106
|
-
mimeType:
|
|
106
|
+
mimeType: R.POINTS
|
|
107
107
|
}), Le = (e) => {
|
|
108
108
|
const t = N(e);
|
|
109
|
-
if ((t == null ? void 0 : t.mimeType) ===
|
|
109
|
+
if ((t == null ? void 0 : t.mimeType) === R.POINTS)
|
|
110
110
|
try {
|
|
111
111
|
return JSON.parse(t.data);
|
|
112
112
|
} catch {
|
|
@@ -186,13 +186,13 @@ async function ot(e, t) {
|
|
|
186
186
|
if (!a)
|
|
187
187
|
return e;
|
|
188
188
|
const n = a.mimeType;
|
|
189
|
-
if (n ===
|
|
189
|
+
if (n === R.TEXT) {
|
|
190
190
|
const r = V(M * 20, M, 1);
|
|
191
191
|
nt(r, a.data, "black", t, "white");
|
|
192
192
|
const o = J(r, "white");
|
|
193
193
|
return (o == null ? void 0 : o.toDataURL("image/jpeg", 0.7)) ?? null;
|
|
194
194
|
}
|
|
195
|
-
if (n ===
|
|
195
|
+
if (n === R.POINTS) {
|
|
196
196
|
const r = Le(e);
|
|
197
197
|
if (!r)
|
|
198
198
|
return null;
|
|
@@ -275,9 +275,9 @@ const it = ({ value: e, onChange: t, target: a }) => {
|
|
|
275
275
|
if (o == null)
|
|
276
276
|
return b.DRAW;
|
|
277
277
|
switch (i == null ? void 0 : i.mimeType) {
|
|
278
|
-
case
|
|
278
|
+
case R.POINTS:
|
|
279
279
|
return b.DRAW;
|
|
280
|
-
case
|
|
280
|
+
case R.TEXT:
|
|
281
281
|
return b.TYPE;
|
|
282
282
|
default:
|
|
283
283
|
return b.UPLOAD;
|
|
@@ -320,16 +320,16 @@ const it = ({ value: e, onChange: t, target: a }) => {
|
|
|
320
320
|
handleClear: f
|
|
321
321
|
};
|
|
322
322
|
}, ct = {
|
|
323
|
-
[b.DRAW]: (e) => (e == null ? void 0 : e.mimeType) ===
|
|
324
|
-
[b.TYPE]: (e) => (e == null ? void 0 : e.mimeType) ===
|
|
325
|
-
[b.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !==
|
|
323
|
+
[b.DRAW]: (e) => (e == null ? void 0 : e.mimeType) === R.POINTS,
|
|
324
|
+
[b.TYPE]: (e) => (e == null ? void 0 : e.mimeType) === R.TEXT,
|
|
325
|
+
[b.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !== R.POINTS && (e == null ? void 0 : e.mimeType) !== R.TEXT
|
|
326
326
|
};
|
|
327
327
|
function ut(e, t, a) {
|
|
328
328
|
return t && ct[e](a) ? t : void 0;
|
|
329
329
|
}
|
|
330
330
|
const dt = (e) => {
|
|
331
331
|
const t = e.url ? N(e.url) : void 0;
|
|
332
|
-
return t ? t.mimeType !==
|
|
332
|
+
return t ? t.mimeType !== R.POINTS && t.mimeType !== R.TEXT : !0;
|
|
333
333
|
}, te = () => {
|
|
334
334
|
const { hoverProps: e, isHovered: t } = ve({}), { focusProps: a, isFocused: n, isFocusVisible: r } = xe({
|
|
335
335
|
within: !0
|
|
@@ -375,15 +375,15 @@ const dt = (e) => {
|
|
|
375
375
|
}), o && F(d, {
|
|
376
376
|
handleClear: i
|
|
377
377
|
}));
|
|
378
|
-
},
|
|
378
|
+
}, _ = ({ children: e, className: t, ...a }) => {
|
|
379
379
|
const { signatureMode: n, setSignatureMode: r, uploadEnabled: o } = a, { disabled: i } = A(), { labelId: l, inputId: c } = H(), d = I((h) => {
|
|
380
380
|
r(h);
|
|
381
381
|
}, [
|
|
382
382
|
r
|
|
383
383
|
]), u = {
|
|
384
|
-
[b.DRAW]: T(e,
|
|
385
|
-
[b.TYPE]: T(e,
|
|
386
|
-
[b.UPLOAD]: o ? T(e,
|
|
384
|
+
[b.DRAW]: T(e, _.Draw),
|
|
385
|
+
[b.TYPE]: T(e, _.Type),
|
|
386
|
+
[b.UPLOAD]: o ? T(e, _.Upload) : null
|
|
387
387
|
}, f = u[n], m = mt(f) ? f.props.description : void 0;
|
|
388
388
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", {
|
|
389
389
|
role: "status",
|
|
@@ -404,7 +404,7 @@ const dt = (e) => {
|
|
|
404
404
|
"data-hook": ke.SIGNATURE_FIELD_MODE_SELECT,
|
|
405
405
|
className: t
|
|
406
406
|
}, u[b.DRAW], u[b.TYPE], u[b.UPLOAD]));
|
|
407
|
-
}, mt = (e) => /* @__PURE__ */
|
|
407
|
+
}, mt = (e) => /* @__PURE__ */ Re(e), ne = ({ mode: e, children: t, className: a, "aria-label": n }) => /* @__PURE__ */ s.createElement(Pe, {
|
|
408
408
|
value: e,
|
|
409
409
|
"aria-label": n
|
|
410
410
|
}, /* @__PURE__ */ s.createElement(Ne, {
|
|
@@ -429,8 +429,8 @@ const dt = (e) => {
|
|
|
429
429
|
"data-hook": `clear-${i}`,
|
|
430
430
|
className: t
|
|
431
431
|
}, e);
|
|
432
|
-
},
|
|
433
|
-
const { signatureView: n, signatureValueForView: r, handleChange: o, handleBeforeChange: i } = a, { disabled: l, readOnly: c, onBlur: d, onFocus: u, hasError: f } = A(), m = T(e,
|
|
432
|
+
}, P = ({ children: e, className: t, ...a }) => {
|
|
433
|
+
const { signatureView: n, signatureValueForView: r, handleChange: o, handleBeforeChange: i } = a, { disabled: l, readOnly: c, onBlur: d, onFocus: u, hasError: f } = A(), m = T(e, P.Canvas), h = T(e, P.Type), E = T(e, P.Upload);
|
|
434
434
|
return /* @__PURE__ */ s.createElement("div", {
|
|
435
435
|
className: t,
|
|
436
436
|
"data-hook": "signature-input",
|
|
@@ -468,7 +468,7 @@ const dt = (e) => {
|
|
|
468
468
|
var D;
|
|
469
469
|
(D = L.current) == null || D.focus();
|
|
470
470
|
}, f);
|
|
471
|
-
const
|
|
471
|
+
const w = De(() => ({
|
|
472
472
|
throttle: 0,
|
|
473
473
|
dotSize: 2,
|
|
474
474
|
minWidth: 1,
|
|
@@ -495,7 +495,7 @@ const dt = (e) => {
|
|
|
495
495
|
var k, $, se, ie;
|
|
496
496
|
if (D != null) {
|
|
497
497
|
if (L.current = D, p.current = new he(D, {
|
|
498
|
-
...
|
|
498
|
+
...w,
|
|
499
499
|
penColor: getComputedStyle(D).color || void 0
|
|
500
500
|
}), me(L.current, p.current), x) {
|
|
501
501
|
const le = Le(x);
|
|
@@ -508,7 +508,7 @@ const dt = (e) => {
|
|
|
508
508
|
} else
|
|
509
509
|
($ = y.current) == null || $.disconnect(), (se = p.current) == null || se.removeEventListener("endStroke", G), (ie = p.current) == null || ie.removeEventListener("beginStroke", j);
|
|
510
510
|
}, [
|
|
511
|
-
|
|
511
|
+
w,
|
|
512
512
|
x,
|
|
513
513
|
j,
|
|
514
514
|
G
|
|
@@ -538,23 +538,23 @@ const dt = (e) => {
|
|
|
538
538
|
data: ""
|
|
539
539
|
};
|
|
540
540
|
Ee(() => {
|
|
541
|
-
const
|
|
542
|
-
|
|
541
|
+
const w = document.getElementById(h);
|
|
542
|
+
w == null || w.focus({
|
|
543
543
|
preventScroll: !0
|
|
544
544
|
});
|
|
545
545
|
}, u), Q(() => {
|
|
546
546
|
if (!n) {
|
|
547
|
-
const
|
|
548
|
-
|
|
547
|
+
const w = document.getElementById(h);
|
|
548
|
+
w && (w.value = "");
|
|
549
549
|
}
|
|
550
550
|
}, [
|
|
551
551
|
n,
|
|
552
552
|
h
|
|
553
553
|
]);
|
|
554
|
-
const U = I((
|
|
555
|
-
o == null || o(),
|
|
556
|
-
data:
|
|
557
|
-
mimeType:
|
|
554
|
+
const U = I((w) => {
|
|
555
|
+
o == null || o(), w.trim() ? r(ee(Ce({
|
|
556
|
+
data: w,
|
|
557
|
+
mimeType: R.TEXT
|
|
558
558
|
}))) : r(null);
|
|
559
559
|
}, [
|
|
560
560
|
o,
|
|
@@ -580,7 +580,7 @@ const dt = (e) => {
|
|
|
580
580
|
})));
|
|
581
581
|
}, Lt = ({ className: e, placeholder: t, ...a }) => {
|
|
582
582
|
const { inputId: n, ariaDescribedBy: r } = a;
|
|
583
|
-
return /* @__PURE__ */ s.createElement(
|
|
583
|
+
return /* @__PURE__ */ s.createElement(_e, {
|
|
584
584
|
id: n,
|
|
585
585
|
"data-hook": "signature-text",
|
|
586
586
|
"aria-describedby": r,
|
|
@@ -657,15 +657,15 @@ g.Input = Z;
|
|
|
657
657
|
g.Description = We;
|
|
658
658
|
g.Error = He;
|
|
659
659
|
Z.Header = X;
|
|
660
|
-
Z.Value =
|
|
661
|
-
X.Tabs =
|
|
660
|
+
Z.Value = P;
|
|
661
|
+
X.Tabs = _;
|
|
662
662
|
X.Clear = gt;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
663
|
+
_.Draw = pt;
|
|
664
|
+
_.Type = ft;
|
|
665
|
+
_.Upload = ht;
|
|
666
|
+
P.Canvas = Et;
|
|
667
|
+
P.Type = ae;
|
|
668
|
+
P.Upload = re;
|
|
669
669
|
ae.Value = Lt;
|
|
670
670
|
re.Button = yt;
|
|
671
671
|
const Tt = () => {
|
|
@@ -714,7 +714,7 @@ const Tt = () => {
|
|
|
714
714
|
}, /* @__PURE__ */ s.createElement("path", {
|
|
715
715
|
fillRule: "evenodd",
|
|
716
716
|
d: "M18.8525,7.543 L17.7515,8.644 L15.3565,6.248 L16.4575,5.147 C16.5555,5.05 16.6835,5.001 16.8105,5.001 C16.9385,5.001 17.0665,5.05 17.1645,5.147 L18.8525,6.835 C19.0475,7.03 19.0475,7.348 18.8525,7.543 L18.8525,7.543 Z M8.1895,18.206 C8.1185,18.276 8.0275,18.324 7.9295,18.344 L5.1275,18.873 L5.6575,16.07 C5.6755,15.972 5.7225,15.882 5.7945,15.811 L14.6495,6.955 L17.0445,9.351 L8.1895,18.206 Z M19.5595,6.128 L17.8715,4.44 C17.2865,3.856 16.3355,3.856 15.7505,4.44 L5.0875,15.103 C4.8735,15.317 4.7295,15.588 4.6745,15.886 L4.0085,19.407 C3.9775,19.569 4.0295,19.736 4.1465,19.854 C4.2415,19.948 4.3685,20 4.4995,20 C4.5305,20 4.5615,19.997 4.5925,19.991 L8.1165,19.326 C8.4145,19.269 8.6855,19.125 8.8965,18.912 L19.5595,8.25 C20.1445,7.665 20.1445,6.713 19.5595,6.128 L19.5595,6.128 Z"
|
|
717
|
-
})),
|
|
717
|
+
})), Rt = (e) => /* @__PURE__ */ s.createElement("svg", {
|
|
718
718
|
viewBox: "0 0 20 20",
|
|
719
719
|
width: 24,
|
|
720
720
|
height: 24,
|
|
@@ -724,17 +724,17 @@ const Tt = () => {
|
|
|
724
724
|
}, /* @__PURE__ */ s.createElement("path", {
|
|
725
725
|
fillRule: "evenodd",
|
|
726
726
|
d: "M12,4 L12,5 L8,5 L8,16 L7,16 L7,5 L3,5 L3,4 L12,4 Z M18,8 L18,9 L15,9 L15,16 L14,16 L14,9 L11,9 L11,8 L18,8 Z"
|
|
727
|
-
})),
|
|
728
|
-
header:
|
|
727
|
+
})), wt = "_header_15ti0_1", vt = "_tabs_15ti0_8", xt = "_tab_15ti0_8", St = "_tabIcon_15ti0_74", Ft = "_clear_15ti0_81", At = "_value_15ti0_113", _t = "_box_15ti0_118", Pt = "_uploadBox_15ti0_119", Nt = "_typeInput_15ti0_230", C = {
|
|
728
|
+
header: wt,
|
|
729
729
|
tabs: vt,
|
|
730
730
|
tab: xt,
|
|
731
731
|
tabIcon: St,
|
|
732
732
|
clear: Ft,
|
|
733
733
|
value: At,
|
|
734
|
-
box:
|
|
735
|
-
uploadBox:
|
|
734
|
+
box: _t,
|
|
735
|
+
uploadBox: Pt,
|
|
736
736
|
typeInput: Nt
|
|
737
|
-
}, Ut = ({ content: e, locale: t }) => /* @__PURE__ */ s.createElement(
|
|
737
|
+
}, Ut = ({ content: e, locale: t }) => /* @__PURE__ */ s.createElement(we, {
|
|
738
738
|
content: e,
|
|
739
739
|
locale: t
|
|
740
740
|
}), Ot = () => {
|
|
@@ -757,7 +757,7 @@ const Tt = () => {
|
|
|
757
757
|
className: v(B, C.tab),
|
|
758
758
|
"aria-label": e.typeLabel,
|
|
759
759
|
description: e.typeDescription
|
|
760
|
-
}, /* @__PURE__ */ s.createElement(
|
|
760
|
+
}, /* @__PURE__ */ s.createElement(Rt, {
|
|
761
761
|
className: C.tabIcon
|
|
762
762
|
})), /* @__PURE__ */ s.createElement(g.Input.Header.Tabs.Upload, {
|
|
763
763
|
className: v(B, C.tab),
|
|
@@ -1,9 +1,9 @@
|
|
|
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-C6WwBcGP.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
|
-
import {
|
|
6
|
+
import { a5 as v, a4 as N, a7 as f } from "./form-element-classes-DDKCTFQj.js";
|
|
7
7
|
function C(e) {
|
|
8
8
|
const s = "calc(50% - 2px)";
|
|
9
9
|
return /* @__PURE__ */ t.createElement(g, {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RicosViewer as H } from "@wix/ricos/viewer";
|
|
2
2
|
import _ from "classnames";
|
|
3
3
|
import e, { useMemo as I, useState as j, useRef as V, useLayoutEffect as z, useCallback as k } from "react";
|
|
4
|
-
import { ai as g, af as K, as as T, ab as Q, ak as Y, ac as J } from "./form-
|
|
4
|
+
import { ai as g, af as K, as as T, ab as Q, ak as Y, ac as J } from "./form-C6WwBcGP.js";
|
|
5
5
|
import { CheckboxGroup as X, TextField as Z, Input as ee, CheckboxField as te, CheckboxButton as ae } from "react-aria-components";
|
|
6
|
-
import { f, a as
|
|
7
|
-
import { E as
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
6
|
+
import { f, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { E as B, D as P } from "./field-error-headless-DQZ5XAdn.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-DoxfHHaj.js";
|
|
9
9
|
import { F as ne } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { N as D } from "./options-layout-constants-DEfIEJWD.js";
|
|
11
11
|
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as S } from "./field-rac.module-Cac83bU5.js";
|
|
13
|
-
import { z as oe,
|
|
14
|
-
import { T as pe } from "./form-element-keys-
|
|
13
|
+
import { z as oe, R as re, a0 as le, a1 as ie, a2 as ce, y as ue, q as de, j as me } from "./form-element-classes-DDKCTFQj.js";
|
|
14
|
+
import { T as pe } from "./form-element-keys-D0sEdpFo.js";
|
|
15
15
|
import { o as Ee } from "./options-rac.module-KM-VT_KY.js";
|
|
16
16
|
const N = "Other", he = (a, t) => {
|
|
17
17
|
const c = t.length + 2;
|
|
@@ -91,7 +91,7 @@ const N = "Other", he = (a, t) => {
|
|
|
91
91
|
}, /* @__PURE__ */ e.createElement(ae, {
|
|
92
92
|
className: t,
|
|
93
93
|
"data-hook": `tags-${s ? N : c}`
|
|
94
|
-
},
|
|
94
|
+
}, x(F, {
|
|
95
95
|
value: c,
|
|
96
96
|
label: i,
|
|
97
97
|
isOther: s,
|
|
@@ -118,7 +118,7 @@ const N = "Other", he = (a, t) => {
|
|
|
118
118
|
"data-columns": d
|
|
119
119
|
}, p.map((n, L) => {
|
|
120
120
|
const E = n.value ?? n.label;
|
|
121
|
-
return
|
|
121
|
+
return x(o, {
|
|
122
122
|
key: n.isOther ? N : E,
|
|
123
123
|
value: E,
|
|
124
124
|
label: n.label,
|
|
@@ -140,7 +140,7 @@ const N = "Other", he = (a, t) => {
|
|
|
140
140
|
}, r = ({ children: a }) => {
|
|
141
141
|
const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } = g(), { inputId: p, labelId: n, ariaDescribedBy: L } = K(), E = I(() => l || [], [
|
|
142
142
|
l
|
|
143
|
-
]), F = f(a, $), h = f(a, G), C = f(a,
|
|
143
|
+
]), F = f(a, $), h = f(a, G), C = f(a, P), R = f(a, B);
|
|
144
144
|
return /* @__PURE__ */ e.createElement(i, {
|
|
145
145
|
fieldId: t,
|
|
146
146
|
renderLabel: () => F,
|
|
@@ -169,8 +169,8 @@ r.Label = $;
|
|
|
169
169
|
r.Control = G;
|
|
170
170
|
r.Options = A;
|
|
171
171
|
r.OtherInput = W;
|
|
172
|
-
r.Description =
|
|
173
|
-
r.Error =
|
|
172
|
+
r.Description = P;
|
|
173
|
+
r.Error = B;
|
|
174
174
|
const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7", y = {
|
|
175
175
|
control: be,
|
|
176
176
|
options: fe,
|
|
@@ -178,7 +178,7 @@ const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7",
|
|
|
178
178
|
}, _e = ({ content: a, locale: t }) => /* @__PURE__ */ e.createElement(H, {
|
|
179
179
|
content: a,
|
|
180
180
|
locale: t
|
|
181
|
-
}),
|
|
181
|
+
}), xe = () => {
|
|
182
182
|
const a = J(pe);
|
|
183
183
|
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
184
184
|
className: _(oe, S.label)
|
|
@@ -203,5 +203,5 @@ const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7",
|
|
|
203
203
|
}, _e));
|
|
204
204
|
};
|
|
205
205
|
export {
|
|
206
|
-
|
|
206
|
+
xe as T
|
|
207
207
|
};
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import n from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as N } from "react-aria-components";
|
|
5
|
-
import { ai as E, af as d, ak as x } from "./form-
|
|
5
|
+
import { ai as E, af as d, ak as x } from "./form-C6WwBcGP.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as h, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
7
|
+
import { D as h, E as M } from "./field-error-headless-DQZ5XAdn.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-DoxfHHaj.js";
|
|
9
9
|
import { E as q } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s } from "./field-rac.module-Cac83bU5.js";
|
|
11
|
-
import { z as v,
|
|
11
|
+
import { z as v, R as B, y as k, q as P, j as U } from "./form-element-classes-DDKCTFQj.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: l, disabled: u, required: o, readOnly: i, onBlur: p, onFocus: f, FieldLayout: I, hasError: F } = E(), { labelId: L } = d(), R = O((C) => {
|
|
14
14
|
l(C);
|
|
@@ -58,9 +58,9 @@ const j = "_input_ug5v8_1", w = {
|
|
|
58
58
|
}, /* @__PURE__ */ r.createElement(e.Label.Required, {
|
|
59
59
|
className: n(B, s.requiredMark)
|
|
60
60
|
})), /* @__PURE__ */ r.createElement(e.Input, {
|
|
61
|
-
className: n(
|
|
61
|
+
className: n(k, s.input, w.input)
|
|
62
62
|
}), /* @__PURE__ */ r.createElement(e.Error, {
|
|
63
|
-
className: n(
|
|
63
|
+
className: n(P, s.error)
|
|
64
64
|
}, /* @__PURE__ */ r.createElement(q, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
65
65
|
className: n(U, s.description)
|
|
66
66
|
}, z));
|
package/dist/component/{text-input-field-rac-CW0ZR1y2.js → text-input-field-rac-CvFoWlRN.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RicosViewer as m } 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-BQ3TWU9G.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-Cac83bU5.js";
|
|
7
|
-
import { z as n,
|
|
7
|
+
import { z as n, R as c, y as E, q as i, j as R } from "./form-element-classes-DDKCTFQj.js";
|
|
8
8
|
const _ = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
9
9
|
content: s,
|
|
10
10
|
locale: l
|
|
@@ -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-C6WwBcGP.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-DQZ5XAdn.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DoxfHHaj.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, {
|
|
@@ -3,16 +3,16 @@ import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
|
3
3
|
import c from "classnames";
|
|
4
4
|
import { parseTime as v } from "@internationalized/date";
|
|
5
5
|
import { TimeField as x, DateInput as B, DateSegment as h, TimeFieldStateContext as U } from "react-aria-components";
|
|
6
|
-
import { ai as p, af as j, as as T, ak as z } from "./form-
|
|
6
|
+
import { ai as p, af as j, as as T, ak as z } from "./form-C6WwBcGP.js";
|
|
7
7
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as Q, E as G } from "./field-error-headless-
|
|
9
|
-
import { L as J } from "./field-label-headless-
|
|
8
|
+
import { D as Q, E as G } from "./field-error-headless-DQZ5XAdn.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-DoxfHHaj.js";
|
|
10
10
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as S } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as E } from "./field-rac.module-Cac83bU5.js";
|
|
13
|
-
import { z as W,
|
|
13
|
+
import { z as W, R as X, y as Y, q as Z, j as $ } from "./form-element-classes-DDKCTFQj.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
|
-
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: f, use24HourFormat: b, FieldLayout: I, hasError: C } = p(), { inputId: L, ariaDescribedBy:
|
|
15
|
+
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: f, use24HourFormat: b, FieldLayout: I, hasError: C } = p(), { inputId: L, ariaDescribedBy: R, labelId: g } = j(), D = H((M) => {
|
|
16
16
|
const w = ae(M);
|
|
17
17
|
o(w);
|
|
18
18
|
}, [
|
|
@@ -22,11 +22,11 @@ const r = ({ children: t }) => {
|
|
|
22
22
|
fieldId: n,
|
|
23
23
|
renderLabel: () => y,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ e.createElement(x, {
|
|
25
|
-
"aria-labelledby":
|
|
25
|
+
"aria-labelledby": g,
|
|
26
26
|
id: L,
|
|
27
|
-
"aria-describedby":
|
|
27
|
+
"aria-describedby": R,
|
|
28
28
|
value: O,
|
|
29
|
-
onChange:
|
|
29
|
+
onChange: D,
|
|
30
30
|
isDisabled: i,
|
|
31
31
|
isReadOnly: s,
|
|
32
32
|
isInvalid: C,
|
|
@@ -2,27 +2,27 @@ import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
|
2
2
|
import l from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as y } from "react";
|
|
4
4
|
import { TextField as N, Input as A } from "react-aria-components";
|
|
5
|
-
import { ai as E, af as d, ak as
|
|
5
|
+
import { ai as E, af as d, ak as k } from "./form-C6WwBcGP.js";
|
|
6
6
|
import { f as u } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
7
|
+
import { D as B, E as M } from "./field-error-headless-DQZ5XAdn.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-DoxfHHaj.js";
|
|
9
9
|
import { u as T } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as q } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s } from "./field-rac.module-Cac83bU5.js";
|
|
12
|
-
import { z as v,
|
|
12
|
+
import { z as v, R as U, y as g, q as x, j as w } from "./form-element-classes-DDKCTFQj.js";
|
|
13
13
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
|
-
const { id: o, value: n, onChange: a, disabled: m, readOnly: i, required: c, hasError: I, onBlur: f, onFocus:
|
|
14
|
+
const { id: o, value: n, onChange: a, disabled: m, readOnly: i, required: c, hasError: I, onBlur: f, onFocus: R, FieldLayout: F } = E(), { labelId: L } = d(), p = T(f), b = u(t, e.Label), D = u(t, e.Input), _ = u(t, e.Description), C = u(t, e.Error), S = h(() => {
|
|
15
15
|
a(V(n)), p();
|
|
16
16
|
}, [
|
|
17
17
|
p,
|
|
18
18
|
a,
|
|
19
19
|
n
|
|
20
20
|
]);
|
|
21
|
-
return /* @__PURE__ */ r.createElement(
|
|
21
|
+
return /* @__PURE__ */ r.createElement(F, {
|
|
22
22
|
fieldId: o,
|
|
23
23
|
renderLabel: () => b,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ r.createElement(N, {
|
|
25
|
-
"aria-labelledby":
|
|
25
|
+
"aria-labelledby": L,
|
|
26
26
|
value: n ?? "",
|
|
27
27
|
onChange: a,
|
|
28
28
|
isDisabled: m,
|
|
@@ -30,13 +30,13 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
30
30
|
isRequired: c,
|
|
31
31
|
isInvalid: I,
|
|
32
32
|
onBlur: S,
|
|
33
|
-
onFocus:
|
|
33
|
+
onFocus: R
|
|
34
34
|
}, D),
|
|
35
35
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
|
|
36
36
|
});
|
|
37
37
|
}, W = ({ className: t }) => {
|
|
38
38
|
const { id: o, placeholder: n } = E(), { inputId: a, ariaDescribedBy: m } = d(), i = y(null);
|
|
39
|
-
return
|
|
39
|
+
return k(() => {
|
|
40
40
|
var c;
|
|
41
41
|
(c = i.current) == null || c.focus();
|
|
42
42
|
}, o), /* @__PURE__ */ r.createElement(A, {
|
|
@@ -48,10 +48,10 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
48
48
|
placeholder: n
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
e.Label =
|
|
51
|
+
e.Label = P;
|
|
52
52
|
e.Input = W;
|
|
53
|
-
e.Description =
|
|
54
|
-
e.Error =
|
|
53
|
+
e.Description = B;
|
|
54
|
+
e.Error = M;
|
|
55
55
|
const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(O, {
|
|
56
56
|
content: t,
|
|
57
57
|
locale: o
|
package/dist/component/{use-service-options-base-BagPjcuW.js → use-service-options-base-D4Zl-iGW.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-C6WwBcGP.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) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.73.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": "72ce2a6794445487f380a02a409cc5f78240e1520ce622b0ca881c2b"
|
|
155
155
|
}
|