@wix/form-elements 1.136.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-DsD7xLmb.js → appointment-rac-DvzMuumV.js} +52 -52
- package/dist/component/{bookings-address-rac-ByaFu51U.js → bookings-address-rac-DoTKdj4W.js} +1 -1
- package/dist/component/{bookings-email-rac-CxuvkcYw.js → bookings-email-rac-CHvxtHcu.js} +1 -1
- package/dist/component/{bookings-first-name-rac-JXLJa_7E.js → bookings-first-name-rac-VAAhC_fg.js} +1 -1
- package/dist/component/{bookings-header-rac-CIQTbf9d.js → bookings-header-rac-YWB4879A.js} +1 -1
- package/dist/component/{bookings-last-name-rac-_2Xt4BPe.js → bookings-last-name-rac-B-aGMcD_.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BUjys5i9.js → bookings-login-bar-rac-3wYAN_xh.js} +4 -4
- package/dist/component/{bookings-phone-rac-DlsdGmOt.js → bookings-phone-rac-CzQVxpNK.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-BvRdhL7M.js → bookings-rich-text-rac-C5z9Gvts.js} +1 -1
- package/dist/component/{checkbox-field-rac-Be6wicaA.js → checkbox-field-rac-CradfjbE.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-BJ0pGvXi.js → checkbox-group-field-headless-DdVXFUPC.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-D7xqqVf6.js → checkbox-group-field-rac-KqKHh6Uj.js} +4 -4
- package/dist/component/{checkbox-group-rac-DtCS-gEH.js → checkbox-group-rac-C34O1zlM.js} +1 -1
- package/dist/component/{checkbox-rac-ub7MFwY-.js → checkbox-rac-BnXI1EcE.js} +1 -1
- package/dist/component/{contacts-address-rac-Bwsdpg11.js → contacts-address-rac-Ba57mGCo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-D54hibhb.js → contacts-birthdate-rac-lOtU_kNL.js} +1 -1
- package/dist/component/{contacts-company-rac-CKqzgKio.js → contacts-company-rac-fzSYypTz.js} +1 -1
- package/dist/component/{contacts-email-rac-Dxm31wuY.js → contacts-email-rac-kOu3zzAk.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CXHsx6Vy.js → contacts-first-name-rac-CwUDxtmS.js} +1 -1
- package/dist/component/{contacts-last-name-rac-B0S268f3.js → contacts-last-name-rac-DstG7QIk.js} +1 -1
- package/dist/component/{contacts-phone-rac-DEbgIiEj.js → contacts-phone-rac-DbDYtB90.js} +1 -1
- package/dist/component/{contacts-position-rac-D31uoOlR.js → contacts-position-rac-G-5pxT4U.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DJ8NtoxZ.js → contacts-subscribe-rac-hfjDjoZw.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DTQffHAo.js → contacts-tax-id-rac-CUwJltYa.js} +1 -1
- package/dist/component/{date-availability-DmhJ9apH.js → date-availability-CwlAp1DX.js} +1 -1
- package/dist/component/{date-input-field-rac-BwM_q4FW.js → date-input-field-rac-C47Y-z4d.js} +6 -6
- package/dist/component/{date-input-rac-C93pgocp.js → date-input-rac-BSKV4JJO.js} +1 -1
- package/dist/component/{date-picker-field-rac-CtZL368W.js → date-picker-field-rac-NSAnfLRk.js} +5 -5
- package/dist/component/{date-picker-rac-4DNe6hOX.js → date-picker-rac-DlEVDz1X.js} +1 -1
- package/dist/component/{date-time-input-field-rac-MlCVy3Oz.js → date-time-input-field-rac-Bs2xjob_.js} +20 -20
- package/dist/component/{date-time-input-rac-ByyBvFgo.js → date-time-input-rac-Dvy_vn5y.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BP76Xwiq.js → dext-checkbox-group-rac-ydiyI0Ax.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DGaKSh4Z.js → dext-checkbox-rac-D3FH0uIS.js} +1 -1
- package/dist/component/{dext-date-picker-rac-UEXbMSlL.js → dext-date-picker-rac-C4Xa4Mkn.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CsJcGK4I.js → dext-date-time-input-rac-DBUVJbqB.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BzbRzloh.js → dext-dropdown-rac-Ku5SxJci.js} +1 -1
- package/dist/component/{dext-email-rac-DufFAnTi.js → dext-email-rac-CdfesgKH.js} +1 -1
- package/dist/component/{dext-number-input-rac-D6xXi7B2.js → dext-number-input-rac-AmiEoijD.js} +1 -1
- package/dist/component/{dext-phone-rac-svy9CDHW.js → dext-phone-rac-BqiNW-E2.js} +1 -1
- package/dist/component/{dext-radio-group-rac-C4p9NuQS.js → dext-radio-group-rac-Bku-LoOz.js} +2 -2
- package/dist/component/{dext-rating-input-rac-wJ7-RFFN.js → dext-rating-input-rac-TxRgyMyp.js} +1 -1
- package/dist/component/{dext-tags-rac-D2myHrSZ.js → dext-tags-rac-C6iBGwg4.js} +2 -2
- package/dist/component/{dext-text-area-rac-B4Fw_9mF.js → dext-text-area-rac-BU0eyjM4.js} +1 -1
- package/dist/component/{dext-text-input-rac-DlZanFMT.js → dext-text-input-rac-BEls3cms.js} +1 -1
- package/dist/component/{dext-url-input-rac-DYjl3wuk.js → dext-url-input-rac-CMAK9Qo6.js} +1 -1
- package/dist/component/donation-rac-aGSBtE2T.js +306 -0
- package/dist/component/{dropdown-field-headless-BAt2RoAH.js → dropdown-field-headless-B6i33cBH.js} +5 -5
- package/dist/component/{dropdown-field-rac-DFjn3ecV.js → dropdown-field-rac-COluC25e.js} +6 -6
- package/dist/component/{dropdown-rac-DQ6keNRI.js → dropdown-rac-BGQx3saK.js} +1 -1
- package/dist/component/{ecom-address-rac-j1T2zp0k.js → ecom-address-rac-BgkdVaiI.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-viTaRZsk.js → ecom-subscription-checkbox-rac-C9jnWaZl.js} +2 -2
- package/dist/component/{email-input-field-rac-5eb-1w7B.js → email-input-field-rac-DHCUGLjQ.js} +3 -3
- package/dist/component/{events-repeater-rac-BtcoN_Ra.js → events-repeater-rac-BHz0azrh.js} +13 -13
- package/dist/component/{events-rsvp-rac-DSzFEmty.js → events-rsvp-rac-BgtEivuD.js} +8 -8
- package/dist/component/{field-error-headless-Bpe041x2.js → field-error-headless-BCrv3sBa.js} +1 -1
- package/dist/component/{field-label-headless-BUuK1Ftv.js → field-label-headless-B54yFVkr.js} +1 -1
- package/dist/component/{file-upload-rac-CfU8Ygwq.js → file-upload-rac-Cg8Z8lhS.js} +21 -21
- package/dist/component/{fixed-payment-rac-CYp7zNq8.js → fixed-payment-rac-B3uuRmES.js} +21 -21
- package/dist/component/{form-C6lnbh2O.js → form-D7mq5tD5.js} +77 -77
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B7YfrhId.js → header-field-rac-DbeAaOaE.js} +2 -2
- package/dist/component/{header-rac-BtJKAKAz.js → header-rac-CRghbywI.js} +1 -1
- package/dist/component/{image-choice-rac-Bmq7Pyg6.js → image-choice-rac-nCRaXrH5.js} +17 -17
- package/dist/component/{index-CQdUOkIN.js → index-C6cdxkPM.js} +2 -2
- package/dist/component/{index-BjPSeVyh.js → index-DNonwKkE.js} +4 -4
- package/dist/component/{isObjectLike-CxNqKfU5.js → isObjectLike-PXbsarQL.js} +1 -1
- package/dist/component/{multiline-address-field-rac-BeiUJWKd.js → multiline-address-field-rac-DeMafI8g.js} +7 -7
- package/dist/component/{multiline-address-rac-B2mocF6M.js → multiline-address-rac-g1IrapIk.js} +1 -1
- package/dist/component/{number-input-field-rac-CQX7_S2O.js → number-input-field-rac-BSGFZQh_.js} +10 -10
- package/dist/component/{number-input-rac-BZri-E8P.js → number-input-rac-C5yMyFyv.js} +1 -1
- package/dist/component/{password-rac-CdwrtDJU.js → password-rac-jHDFxH5W.js} +10 -10
- package/dist/component/{payment-input-rac-ClQiqmjm.js → payment-input-rac-Cpw8VM0u.js} +14 -14
- package/dist/component/{phone-input-field-rac-BtG_Rado.js → phone-input-field-rac-DLZysv_w.js} +26 -26
- package/dist/component/{phone-rac-CdcAMa5E.js → phone-rac-DK5Toq-q.js} +1 -1
- package/dist/component/{product-list-rac-Dp_YK6mo.js → product-list-rac-DR2bHVkk.js} +22 -22
- package/dist/component/{quiz-radio-group-rac-CorojxKD.js → quiz-radio-group-rac-mWuYJqRQ.js} +1 -1
- package/dist/component/{radio-button-module-classes-ZX12Fyj4.js → radio-button-module-classes-CokNolqR.js} +3 -3
- package/dist/component/{radio-group-field-rac-BifCDpE4.js → radio-group-field-rac-DiaR7RdY.js} +6 -6
- package/dist/component/{radio-group-rac-CJ2fzqnY.js → radio-group-rac-FdQp_E1O.js} +1 -1
- package/dist/component/{rating-input-field-rac-Dg1T0DZW.js → rating-input-field-rac-DbyB_Esi.js} +11 -11
- package/dist/component/{rating-input-rac-Ba4YK13i.js → rating-input-rac-D4C1bB-A.js} +1 -1
- package/dist/component/{rich-content-rac.module-BehwBL3L.js → rich-content-rac.module-CDtZ3pmh.js} +1 -1
- package/dist/component/{rich-text-field-rac-DtIWdB-S.js → rich-text-field-rac-CYqdqamx.js} +2 -2
- package/dist/component/{rich-text-rac-BX4eDDFw.js → rich-text-rac-CDzSg_7O.js} +1 -1
- package/dist/component/{service-dropdown-rac-68WLBlsa.js → service-dropdown-rac-rdwYVwGB.js} +9 -9
- package/dist/component/{services-multi-choice-rac-8yNdAHfS.js → services-multi-choice-rac-DOO6HYgT.js} +7 -7
- package/dist/component/{signature-rac-DeVOyl5O.js → signature-rac-CBh4_hf-.js} +4 -4
- package/dist/component/{submit-button-rac-IOr1g-G-.js → submit-button-rac-B8ZNvJjY.js} +2 -2
- package/dist/component/{tags-field-rac-DaiMlAxt.js → tags-field-rac-D5THw-TO.js} +5 -5
- package/dist/component/{tags-rac-BgrUkY0A.js → tags-rac-C8wN2xTn.js} +1 -1
- package/dist/component/{text-area-field-rac-CLPZEY93.js → text-area-field-rac-D3GB6Wrq.js} +6 -6
- package/dist/component/{text-area-rac-C8PdPSzX.js → text-area-rac-CCTd5x7u.js} +1 -1
- package/dist/component/{text-input-field-rac-Dm-xU8Rg.js → text-input-field-rac-emy5LgNs.js} +3 -3
- package/dist/component/{text-input-headless-BEmRjL8Z.js → text-input-headless-BIgsm4yN.js} +3 -3
- package/dist/component/{text-input-rac-C-FnaOXT.js → text-input-rac-BFRe44DM.js} +1 -1
- package/dist/component/{time-input-rac-VmTURkiK.js → time-input-rac-D6FsrMxb.js} +4 -4
- package/dist/component/{url-input-field-rac-CnnS0tVx.js → url-input-field-rac-Dk9F61BD.js} +8 -8
- package/dist/component/{url-input-rac-6nd_ccoP.js → url-input-rac-C1pAmfj-.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CcZl1qrj.js → use-dropdown-option-class-name-DNvaYrmm.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-BNc0mkdK.js → use-dropdown-trigger-class-name-_gAS-eDg.js} +2 -2
- package/dist/component/{use-element-state-class-name-BU6RXqBy.js → use-element-state-class-name-CT3HIbmC.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CkXPkbiP.js → use-hoverable-input-class-name-DMVtzjju.js} +2 -2
- package/dist/component/{use-service-options-base-B5afDbnr.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/donation-rac-B6LwJxik.js +0 -314
- package/dist/component/use-text-input-class-name-BB3V6Q0b.js +0 -6
|
@@ -4,24 +4,24 @@ import t, { useMemo as O, useState as q, useCallback as H, useRef as U, useConte
|
|
|
4
4
|
import { parseTime as le } from "@internationalized/date";
|
|
5
5
|
import { UNSAFE_PortalProvider as ie } from "react-aria";
|
|
6
6
|
import { ListBoxItem as ce, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as J, DateInput as pe, DateSegment as x, TimeFieldStateContext as Ee } from "react-aria-components";
|
|
7
|
-
import { bj as f, bg as W, bb as z, aQ as X, b1 as Z, aD as d, bt as L, b5 as j, aS as fe, aK as he, b8 as be, aM as K, bl as G,
|
|
7
|
+
import { bj as f, bg as W, bb as z, aQ as X, b1 as Z, aD as d, bt as L, b5 as j, aS as fe, aK as he, b8 as be, aM as K, bl as G, N as R, Y as ge, O as Ie, G as Ne, u as De } from "./form-D7mq5tD5.js";
|
|
8
8
|
import { f as u, a as P } from "./find-child-C60k4CxG.js";
|
|
9
9
|
import { g as _e } from "./helpers-HmkkXrh2.js";
|
|
10
|
-
import { D as ye, E as Te } from "./field-error-headless-
|
|
11
|
-
import { L as Oe } from "./field-label-headless-
|
|
10
|
+
import { D as ye, E as Te } from "./field-error-headless-BCrv3sBa.js";
|
|
11
|
+
import { L as Oe } from "./field-label-headless-B54yFVkr.js";
|
|
12
12
|
import { F as Le } from "./fieldset-headless-CD3fds9J.js";
|
|
13
13
|
import { N as Ce, E as Fe, S as Pe } from "./non-modal-popover-D-u13tmp.js";
|
|
14
|
-
import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-
|
|
15
|
-
import { V as Re, u as Ae } from "./use-dropdown-option-class-name-
|
|
14
|
+
import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
|
|
15
|
+
import { V as Re, u as Ae } from "./use-dropdown-option-class-name-DNvaYrmm.js";
|
|
16
16
|
import { C as Ve } from "./chevron-down-icon-CcpVm6B-.js";
|
|
17
17
|
import { E as Ye } from "./error-icon-hZxQ6DEy.js";
|
|
18
18
|
import { H as k } from "./custom-focus-class-_483Pkwp.js";
|
|
19
19
|
import { s as g } from "./field-rac.module-DfEb7pBp.js";
|
|
20
|
-
import { u as B } from "./use-text-input-class-name-
|
|
20
|
+
import { u as B } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
21
21
|
const l = ({ children: e, className: a }) => {
|
|
22
22
|
const { id: n, required: r, onBlur: s, onFocus: o, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = W(), { regionalFormat: p } = z(), _ = O(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
|
|
23
23
|
p
|
|
24
|
-
]), M = u(e, l.Label), Y = u(e, l.Description),
|
|
24
|
+
]), M = u(e, l.Label), Y = u(e, l.Description), N = u(e, l.Error), D = {
|
|
25
25
|
[d.MONTH]: u(e, l.Month),
|
|
26
26
|
[d.DAY]: u(e, l.Day),
|
|
27
27
|
[d.YEAR]: u(e, l.Year)
|
|
@@ -39,11 +39,11 @@ const l = ({ children: e, className: a }) => {
|
|
|
39
39
|
onBlur: s,
|
|
40
40
|
onFocus: o,
|
|
41
41
|
className: a
|
|
42
|
-
},
|
|
43
|
-
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null,
|
|
42
|
+
}, D[_[0]], D[_[1]], D[_[2]], y),
|
|
43
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, N, Y)
|
|
44
44
|
});
|
|
45
45
|
}, C = ({ children: e, className: a }) => {
|
|
46
|
-
const { id: n, disabled: r, readOnly: s, showDateLabels: o, hidePlaceholder: i } = f(), { labelId: m } = T(d.MONTH), { partValue: c, partError: b, onPartChange: p } = F(d.MONTH), { t: _ } = L(), [M, Y] = q(!1),
|
|
46
|
+
const { id: n, disabled: r, readOnly: s, showDateLabels: o, hidePlaceholder: i } = f(), { labelId: m } = T(d.MONTH), { partValue: c, partError: b, onPartChange: p } = F(d.MONTH), { t: _ } = L(), [M, Y] = q(!1), N = Me(n), [D, y] = q(null), S = i ? Fe : _("field.date.placeholder.month"), ee = H((v) => {
|
|
47
47
|
s || p(typeof v == "string" ? v : "");
|
|
48
48
|
}, [
|
|
49
49
|
p,
|
|
@@ -62,7 +62,7 @@ const l = ({ children: e, className: a }) => {
|
|
|
62
62
|
display: "contents"
|
|
63
63
|
}
|
|
64
64
|
}), /* @__PURE__ */ t.createElement(ie, {
|
|
65
|
-
getContainer: () =>
|
|
65
|
+
getContainer: () => D
|
|
66
66
|
}, /* @__PURE__ */ t.createElement(me, {
|
|
67
67
|
"aria-labelledby": o ? m : void 0,
|
|
68
68
|
value: c || null,
|
|
@@ -70,10 +70,10 @@ const l = ({ children: e, className: a }) => {
|
|
|
70
70
|
isDisabled: r,
|
|
71
71
|
isInvalid: b,
|
|
72
72
|
placeholder: S,
|
|
73
|
-
isOpen:
|
|
74
|
-
onOpenChange:
|
|
73
|
+
isOpen: N || M,
|
|
74
|
+
onOpenChange: N ? void 0 : te
|
|
75
75
|
}, ne, P(re, {
|
|
76
|
-
isForcedOpen:
|
|
76
|
+
isForcedOpen: N
|
|
77
77
|
}))));
|
|
78
78
|
}, ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
|
|
79
79
|
datePart: d.MONTH,
|
|
@@ -298,14 +298,14 @@ function F(e) {
|
|
|
298
298
|
o
|
|
299
299
|
]), b = O(() => Ke(i), [
|
|
300
300
|
i
|
|
301
|
-
]), p = H((
|
|
302
|
-
const
|
|
301
|
+
]), p = H((N) => {
|
|
302
|
+
const D = Qe(N), y = K(o, D);
|
|
303
303
|
n(y);
|
|
304
304
|
}, [
|
|
305
305
|
n,
|
|
306
306
|
o
|
|
307
|
-
]), _ = H((
|
|
308
|
-
const [,
|
|
307
|
+
]), _ = H((N) => {
|
|
308
|
+
const [, D] = j(a ?? ""), y = be(N, e, c), S = K(y, D);
|
|
309
309
|
n(S);
|
|
310
310
|
}, [
|
|
311
311
|
n,
|
|
@@ -417,9 +417,9 @@ const Je = "_fields_1meki_1", We = "_month_1meki_10", Xe = "_day_1meki_11", Ze =
|
|
|
417
417
|
}), /* @__PURE__ */ t.createElement(l.Time.Period, {
|
|
418
418
|
className: h(E.period, k)
|
|
419
419
|
}))), /* @__PURE__ */ t.createElement(l.Error, {
|
|
420
|
-
className: h(
|
|
420
|
+
className: h(Ne, g.error)
|
|
421
421
|
}, /* @__PURE__ */ t.createElement(Ye, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
|
|
422
|
-
className: h(
|
|
422
|
+
className: h(De, g.description)
|
|
423
423
|
}, ct));
|
|
424
424
|
};
|
|
425
425
|
export {
|
package/dist/component/{dext-checkbox-group-rac-BP76Xwiq.js → dext-checkbox-group-rac-ydiyI0Ax.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "react";
|
|
2
|
-
import { bj as e, al as t } from "./form-
|
|
3
|
-
import { C as p } from "./checkbox-group-field-rac-
|
|
2
|
+
import { bj as e, al as t } from "./form-D7mq5tD5.js";
|
|
3
|
+
import { C as p } from "./checkbox-group-field-rac-KqKHh6Uj.js";
|
|
4
4
|
import { D as s } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const n = () => {
|
|
6
6
|
const r = {
|
package/dist/component/{dext-radio-group-rac-C4p9NuQS.js → dext-radio-group-rac-Bku-LoOz.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { bj as e, al as t } from "./form-
|
|
3
|
-
import { R as p } from "./radio-group-field-rac-
|
|
2
|
+
import { bj as e, al as t } from "./form-D7mq5tD5.js";
|
|
3
|
+
import { R as p } from "./radio-group-field-rac-DiaR7RdY.js";
|
|
4
4
|
import { a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const R = () => {
|
|
6
6
|
const o = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { bj as e, al as o } from "./form-
|
|
3
|
-
import { T as s } from "./tags-field-rac-
|
|
2
|
+
import { bj as e, al as o } from "./form-D7mq5tD5.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-D5THw-TO.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const T = () => {
|
|
6
6
|
const t = {
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import n, { useMemo as q, useCallback as S, useRef as te } from "react";
|
|
2
|
+
import { RicosViewer as ne } from "@wix/ricos/viewer";
|
|
3
|
+
import L from "classnames";
|
|
4
|
+
import { ToggleButtonGroup as oe, TextField as re, Group as se, ToggleButton as ae, Input as le } from "react-aria-components";
|
|
5
|
+
import { debounce as ce } from "ts-debounce";
|
|
6
|
+
import { az as j, bj as T, bg as P, bt as ie, bb as x, bl as ue, N as me, Y as pe, v as de, G as Ie, u as Ce, w as Ee } from "./form-D7mq5tD5.js";
|
|
7
|
+
import { f as O, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
+
import { a as z } from "./format-currency-BwShJ9vM.js";
|
|
9
|
+
import { D as fe, E as Oe } from "./field-error-headless-BCrv3sBa.js";
|
|
10
|
+
import { L as be } from "./field-label-headless-B54yFVkr.js";
|
|
11
|
+
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
12
|
+
import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
|
|
13
|
+
import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
|
|
14
|
+
import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
|
|
15
|
+
import { E as Fe } from "./error-icon-hZxQ6DEy.js";
|
|
16
|
+
import { s as v } from "./field-rac.module-DfEb7pBp.js";
|
|
17
|
+
import { o as De } from "./options-rac.module-_THNq6Qq.js";
|
|
18
|
+
import { u as Se } from "./use-element-state-class-name-CT3HIbmC.js";
|
|
19
|
+
import { u as Le } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
20
|
+
function ve(e, t) {
|
|
21
|
+
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
22
|
+
}
|
|
23
|
+
function Re(e) {
|
|
24
|
+
return ve(e, "id");
|
|
25
|
+
}
|
|
26
|
+
const Ae = 0.01;
|
|
27
|
+
function Te(e) {
|
|
28
|
+
var t;
|
|
29
|
+
return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
|
|
30
|
+
}
|
|
31
|
+
function w(e, t) {
|
|
32
|
+
const o = Number(t || "0");
|
|
33
|
+
return {
|
|
34
|
+
productId: e.id,
|
|
35
|
+
price: e.priceType === j.DYNAMIC_PRICE ? o : String(o),
|
|
36
|
+
quantity: 1
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function Pe(e) {
|
|
40
|
+
return e.find((t) => t.priceType === j.DYNAMIC_PRICE);
|
|
41
|
+
}
|
|
42
|
+
function Be(e, t) {
|
|
43
|
+
return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
|
|
44
|
+
}
|
|
45
|
+
const s = ({ children: e }) => {
|
|
46
|
+
const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: y } = P(), { t: m } = ie(), { currency: g, regionalFormat: _ } = x(), b = o == null ? void 0 : o[0], D = q(() => {
|
|
47
|
+
var I, h;
|
|
48
|
+
return ((h = (I = u == null ? void 0 : u.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : h.products) || [];
|
|
49
|
+
}, [
|
|
50
|
+
u
|
|
51
|
+
]), B = q(() => Re(D), [
|
|
52
|
+
D
|
|
53
|
+
]), a = q(() => E ? Pe(D) : void 0, [
|
|
54
|
+
D,
|
|
55
|
+
E
|
|
56
|
+
]), K = Be(b, a), [V, M] = ge({
|
|
57
|
+
sourceValue: K,
|
|
58
|
+
format: (I) => he(String(I ?? ""), _),
|
|
59
|
+
regionalFormat: _
|
|
60
|
+
}), H = S((I) => {
|
|
61
|
+
const h = I === void 0 ? void 0 : B[I];
|
|
62
|
+
r(h ? [
|
|
63
|
+
w(h, Te(h))
|
|
64
|
+
] : []), M("");
|
|
65
|
+
}, [
|
|
66
|
+
r,
|
|
67
|
+
B,
|
|
68
|
+
M
|
|
69
|
+
]), k = S((I) => {
|
|
70
|
+
a && r(typeof I == "number" ? [
|
|
71
|
+
w(a, String(I))
|
|
72
|
+
] : []);
|
|
73
|
+
}, [
|
|
74
|
+
r,
|
|
75
|
+
a
|
|
76
|
+
]), G = q(() => ce(k, 500), [
|
|
77
|
+
k
|
|
78
|
+
]), Q = S((I) => {
|
|
79
|
+
(b == null ? void 0 : b.productId) !== (a == null ? void 0 : a.id) && r(void 0);
|
|
80
|
+
const { validInput: h, validNumber: ee } = _e(I.target.value, Ae, V, _);
|
|
81
|
+
M(h), G(ee);
|
|
82
|
+
}, [
|
|
83
|
+
_,
|
|
84
|
+
r,
|
|
85
|
+
b,
|
|
86
|
+
a,
|
|
87
|
+
V,
|
|
88
|
+
G,
|
|
89
|
+
M
|
|
90
|
+
]), U = (b == null ? void 0 : b.productId) || null, W = S(() => {
|
|
91
|
+
a != null && a.id && U !== a.id && H(a.id);
|
|
92
|
+
}, [
|
|
93
|
+
a == null ? void 0 : a.id,
|
|
94
|
+
U,
|
|
95
|
+
H
|
|
96
|
+
]), J = O(e, s.Label), Y = O(e, s.Control), X = O(e, s.Description), Z = O(e, s.Error);
|
|
97
|
+
return /* @__PURE__ */ n.createElement(f, {
|
|
98
|
+
fieldId: t,
|
|
99
|
+
renderLabel: () => J,
|
|
100
|
+
renderInput: () => /* @__PURE__ */ n.createElement(ye, {
|
|
101
|
+
id: c,
|
|
102
|
+
ariaLabelledBy: d,
|
|
103
|
+
ariaDescribedBy: y,
|
|
104
|
+
required: l,
|
|
105
|
+
onBlur: i,
|
|
106
|
+
onFocus: C
|
|
107
|
+
}, Y ? F(Y, {
|
|
108
|
+
productsById: B,
|
|
109
|
+
selectedValue: U,
|
|
110
|
+
onSelectProduct: H,
|
|
111
|
+
addOther: E,
|
|
112
|
+
customAmount: V,
|
|
113
|
+
onCustomAmountInputChange: Q,
|
|
114
|
+
currency: g,
|
|
115
|
+
t: m,
|
|
116
|
+
placeholder: p === void 0 ? m("donation.other-option.placeholder") : p,
|
|
117
|
+
customAmountProductId: a == null ? void 0 : a.id,
|
|
118
|
+
onFocusCustomInput: W
|
|
119
|
+
}) : null),
|
|
120
|
+
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, X)
|
|
121
|
+
});
|
|
122
|
+
}, Me = ({ children: e, className: t, ...o }) => {
|
|
123
|
+
const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: y } = o, { hasError: m } = T(), g = O(e, s.Options), _ = O(e, s.OtherInput);
|
|
124
|
+
return /* @__PURE__ */ n.createElement("div", {
|
|
125
|
+
className: t,
|
|
126
|
+
"data-invalid": m
|
|
127
|
+
}, g ? F(g, {
|
|
128
|
+
productsById: r,
|
|
129
|
+
selectedValue: l,
|
|
130
|
+
onSelectProduct: i
|
|
131
|
+
}) : null, _ && C ? F(_, {
|
|
132
|
+
customAmount: u,
|
|
133
|
+
onCustomAmountInputChange: E,
|
|
134
|
+
currency: p,
|
|
135
|
+
t: f,
|
|
136
|
+
placeholder: c,
|
|
137
|
+
customAmountProductId: d,
|
|
138
|
+
onFocusCustomInput: y
|
|
139
|
+
}) : null);
|
|
140
|
+
}, $ = ({ children: e, className: t, ...o }) => {
|
|
141
|
+
const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = T(), { labelId: p } = P(), f = O(e, $.Option);
|
|
142
|
+
return /* @__PURE__ */ n.createElement(oe, {
|
|
143
|
+
className: t,
|
|
144
|
+
"data-columns": u,
|
|
145
|
+
"aria-labelledby": p,
|
|
146
|
+
selectionMode: "single",
|
|
147
|
+
selectedKeys: l ? [
|
|
148
|
+
l
|
|
149
|
+
] : [],
|
|
150
|
+
onSelectionChange: (c) => i([
|
|
151
|
+
...c
|
|
152
|
+
][0]),
|
|
153
|
+
isDisabled: E
|
|
154
|
+
}, C.map((c) => {
|
|
155
|
+
var m;
|
|
156
|
+
const d = r[c.value], y = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
|
|
157
|
+
return F(f, {
|
|
158
|
+
key: c.value,
|
|
159
|
+
value: c.value,
|
|
160
|
+
price: y || "0"
|
|
161
|
+
});
|
|
162
|
+
}));
|
|
163
|
+
}, R = ({ children: e, className: t, ...o }) => {
|
|
164
|
+
const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = x(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = z({
|
|
165
|
+
amount: l,
|
|
166
|
+
currency: u == null ? void 0 : u.code,
|
|
167
|
+
locale: E
|
|
168
|
+
}), d = te(null);
|
|
169
|
+
ue(() => {
|
|
170
|
+
var m;
|
|
171
|
+
(m = d.current) == null || m.focus();
|
|
172
|
+
}, i);
|
|
173
|
+
const y = p ? F(p, {
|
|
174
|
+
price: l
|
|
175
|
+
}) : null;
|
|
176
|
+
return /* @__PURE__ */ n.createElement(ae, {
|
|
177
|
+
id: r,
|
|
178
|
+
className: t,
|
|
179
|
+
ref: d,
|
|
180
|
+
"data-invalid": C || void 0
|
|
181
|
+
}, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, y, !c && f));
|
|
182
|
+
}, qe = ({ className: e, ...t }) => {
|
|
183
|
+
const { price: o } = t, { currency: r, regionalFormat: l } = x(), { value: i } = z({
|
|
184
|
+
amount: o,
|
|
185
|
+
currency: r == null ? void 0 : r.code,
|
|
186
|
+
locale: l
|
|
187
|
+
});
|
|
188
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
189
|
+
className: e
|
|
190
|
+
}, i);
|
|
191
|
+
}, xe = ({ className: e }) => {
|
|
192
|
+
const { currency: t } = x();
|
|
193
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
194
|
+
className: e
|
|
195
|
+
}, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
|
|
196
|
+
};
|
|
197
|
+
R.Value = qe;
|
|
198
|
+
R.Currency = xe;
|
|
199
|
+
const A = ({ children: e, className: t, ...o }) => {
|
|
200
|
+
const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: y } = P(), m = O(e, A.Currency), g = O(e, A.Value), _ = S((D) => {
|
|
201
|
+
l({
|
|
202
|
+
target: {
|
|
203
|
+
value: D
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
}, [
|
|
207
|
+
l
|
|
208
|
+
]), b = S(() => {
|
|
209
|
+
p();
|
|
210
|
+
}, [
|
|
211
|
+
p
|
|
212
|
+
]);
|
|
213
|
+
return /* @__PURE__ */ n.createElement(re, {
|
|
214
|
+
"aria-labelledby": `${d} ${y}`,
|
|
215
|
+
value: r,
|
|
216
|
+
onChange: _,
|
|
217
|
+
onFocus: b,
|
|
218
|
+
isDisabled: f,
|
|
219
|
+
isInvalid: c
|
|
220
|
+
}, /* @__PURE__ */ n.createElement(se, {
|
|
221
|
+
className: t,
|
|
222
|
+
isDisabled: f,
|
|
223
|
+
isInvalid: c
|
|
224
|
+
}, r && i && m ? F(m, {
|
|
225
|
+
currency: i,
|
|
226
|
+
t: C
|
|
227
|
+
}) : null, g ? F(g, {
|
|
228
|
+
placeholder: u,
|
|
229
|
+
customAmountProductId: E
|
|
230
|
+
}) : null));
|
|
231
|
+
}, Ve = ({ className: e, ...t }) => {
|
|
232
|
+
const { currency: o, t: r } = t, { prefixId: l } = P();
|
|
233
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
234
|
+
id: l,
|
|
235
|
+
"aria-hidden": !1,
|
|
236
|
+
"aria-label": Ne(r, o),
|
|
237
|
+
className: e
|
|
238
|
+
}, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
|
|
239
|
+
}, He = ({ className: e, ...t }) => {
|
|
240
|
+
const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: l, labelId: i, prefixId: C } = P();
|
|
241
|
+
return /* @__PURE__ */ n.createElement(le, {
|
|
242
|
+
id: r,
|
|
243
|
+
"aria-labelledby": `${i} ${C}`,
|
|
244
|
+
"aria-describedby": l,
|
|
245
|
+
placeholder: o,
|
|
246
|
+
inputMode: "decimal",
|
|
247
|
+
autoComplete: "off",
|
|
248
|
+
className: e
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
A.Currency = Ve;
|
|
252
|
+
A.Value = He;
|
|
253
|
+
$.Option = R;
|
|
254
|
+
s.Label = be;
|
|
255
|
+
s.Control = Me;
|
|
256
|
+
s.Options = $;
|
|
257
|
+
s.OtherInput = A;
|
|
258
|
+
s.Description = fe;
|
|
259
|
+
s.Error = Oe;
|
|
260
|
+
const Ue = "_control_n5tqu_1", $e = "_option_n5tqu_7", ke = "_optionHover_n5tqu_37", Ge = "_optionSelected_n5tqu_37", Ye = "_optionCurrency_n5tqu_87", we = "_otherInput_n5tqu_91", je = "_otherInputCurrency_n5tqu_110", N = {
|
|
261
|
+
control: Ue,
|
|
262
|
+
option: $e,
|
|
263
|
+
optionHover: ke,
|
|
264
|
+
optionSelected: Ge,
|
|
265
|
+
optionCurrency: Ye,
|
|
266
|
+
otherInput: we,
|
|
267
|
+
otherInputCurrency: je
|
|
268
|
+
}, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
|
|
269
|
+
content: e,
|
|
270
|
+
locale: t
|
|
271
|
+
}), Ke = {
|
|
272
|
+
base: N.option,
|
|
273
|
+
selected: N.optionSelected,
|
|
274
|
+
hover: N.optionHover
|
|
275
|
+
}, Qe = () => {
|
|
276
|
+
const e = Le(N.otherInput), t = Se({
|
|
277
|
+
globalClasses: Ee,
|
|
278
|
+
moduleClasses: Ke
|
|
279
|
+
});
|
|
280
|
+
return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
|
|
281
|
+
className: L(me, v.label)
|
|
282
|
+
}, /* @__PURE__ */ n.createElement(s.Label.Required, {
|
|
283
|
+
className: L(pe, v.requiredMark)
|
|
284
|
+
})), /* @__PURE__ */ n.createElement(s.Control, {
|
|
285
|
+
className: N.control
|
|
286
|
+
}, /* @__PURE__ */ n.createElement(s.Options, {
|
|
287
|
+
className: L(de, De.options, N.options)
|
|
288
|
+
}, /* @__PURE__ */ n.createElement(s.Options.Option, {
|
|
289
|
+
className: t
|
|
290
|
+
}, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
|
|
291
|
+
className: N.optionCurrency
|
|
292
|
+
}))), /* @__PURE__ */ n.createElement(s.OtherInput, {
|
|
293
|
+
className: e
|
|
294
|
+
}, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
|
|
295
|
+
className: N.otherInputCurrency
|
|
296
|
+
}), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
|
|
297
|
+
className: v.innerInput
|
|
298
|
+
}))), /* @__PURE__ */ n.createElement(s.Error, {
|
|
299
|
+
className: L(Ie, v.error)
|
|
300
|
+
}, /* @__PURE__ */ n.createElement(Fe, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
|
|
301
|
+
className: L(Ce, v.description)
|
|
302
|
+
}, ze));
|
|
303
|
+
}, Ct = () => /* @__PURE__ */ n.createElement(Qe, null);
|
|
304
|
+
export {
|
|
305
|
+
Ct as DonationRAC
|
|
306
|
+
};
|
package/dist/component/{dropdown-field-headless-BAt2RoAH.js → dropdown-field-headless-B6i33cBH.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import e, { useState as b, useCallback as g, useRef as k } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as q } from "react-aria";
|
|
3
3
|
import { Select as M, SelectValue as j, ListBoxItem as H } from "react-aria-components";
|
|
4
|
-
import { bj as E, bg as O, bl as U } from "./form-
|
|
4
|
+
import { bj as E, bg as O, bl as U } from "./form-D7mq5tD5.js";
|
|
5
5
|
import { f as d, a as F } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as Y, E as z } from "./field-error-headless-
|
|
7
|
-
import { L as G } from "./field-label-headless-
|
|
6
|
+
import { D as Y, E as z } from "./field-error-headless-BCrv3sBa.js";
|
|
7
|
+
import { L as G } from "./field-label-headless-B54yFVkr.js";
|
|
8
8
|
import { E as J, S as K, N as Q } from "./non-modal-popover-D-u13tmp.js";
|
|
9
|
-
import { a as W } from "./use-dropdown-trigger-class-name-
|
|
10
|
-
import { V as X } from "./use-dropdown-option-class-name-
|
|
9
|
+
import { a as W } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
|
|
10
|
+
import { V as X } from "./use-dropdown-option-class-name-DNvaYrmm.js";
|
|
11
11
|
const r = ({ children: n }) => {
|
|
12
12
|
const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [I, h] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
|
|
13
13
|
s || t(typeof c == "string" ? c : null);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import a from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { D as r } from "./dropdown-field-headless-
|
|
4
|
+
import { D as r } from "./dropdown-field-headless-B6i33cBH.js";
|
|
5
5
|
import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
6
|
import { E as l } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { H as c } from "./custom-focus-class-_483Pkwp.js";
|
|
8
8
|
import { s as o } from "./field-rac.module-DfEb7pBp.js";
|
|
9
|
-
import {
|
|
10
|
-
import { u as O } from "./use-dropdown-option-class-name-
|
|
11
|
-
import { u as C } from "./use-dropdown-trigger-class-name-
|
|
9
|
+
import { N as i, Y as p, O as E, G as _, u as D } from "./form-D7mq5tD5.js";
|
|
10
|
+
import { u as O } from "./use-dropdown-option-class-name-DNvaYrmm.js";
|
|
11
|
+
import { u as C } from "./use-dropdown-trigger-class-name-_gAS-eDg.js";
|
|
12
12
|
const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
13
13
|
content: t,
|
|
14
14
|
locale: s
|
|
15
|
-
}),
|
|
15
|
+
}), T = () => {
|
|
16
16
|
const t = C(o.dropdownTrigger), s = O(c);
|
|
17
17
|
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
18
18
|
className: a(i, o.label)
|
|
@@ -33,5 +33,5 @@ const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
|
33
33
|
}, R));
|
|
34
34
|
};
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
T as D
|
|
37
37
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o, { useMemo as n } from "react";
|
|
2
|
-
import { bj as a, bt as c, al as i } from "./form-
|
|
3
|
-
import { C as l } from "./checkbox-field-rac-
|
|
2
|
+
import { bj as a, bt as c, al as i } from "./form-D7mq5tD5.js";
|
|
3
|
+
import { C as l } from "./checkbox-field-rac-CradfjbE.js";
|
|
4
4
|
const p = (e) => ({
|
|
5
5
|
nodes: [
|
|
6
6
|
{
|
package/dist/component/{email-input-field-rac-5eb-1w7B.js → email-input-field-rac-DHCUGLjQ.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
|
|
|
2
2
|
import D from "classnames";
|
|
3
3
|
import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
|
|
4
4
|
import { TextField as pe } from "react-aria-components";
|
|
5
|
-
import { bg as fe, bt as ge, be as ve, d as ye, bj as Ee, bn as de, bh as be, aj as Se,
|
|
5
|
+
import { bg as fe, bt as ge, be as ve, d as ye, bj as Ee, bn as de, bh as be, aj as Se, N as Oe, Y as he, G as Ie, u as Ne, a5 as Ae } from "./form-D7mq5tD5.js";
|
|
6
6
|
import { f as C } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import ee from "@babel/runtime/helpers/objectWithoutProperties";
|
|
8
8
|
import L from "@babel/runtime/helpers/typeof";
|
|
@@ -10,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
|
|
|
10
10
|
import ke from "html-parse-stringify";
|
|
11
11
|
import Te from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import je from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as U } from "./text-input-headless-
|
|
13
|
+
import { T as U } from "./text-input-headless-BIgsm4yN.js";
|
|
14
14
|
import { E as xe } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { s as H } from "./field-rac.module-DfEb7pBp.js";
|
|
16
|
-
import { u as De } from "./use-text-input-class-name-
|
|
16
|
+
import { u as De } from "./use-text-input-class-name-CO5G1Jx0.js";
|
|
17
17
|
var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
|
|
18
18
|
"&": "&",
|
|
19
19
|
"&": "&",
|