@wix/form-elements 1.108.0 → 1.110.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-ZAp8oWbK.js → appointment-rac-CfPs6AsU.js} +60 -60
- package/dist/component/{bookings-address-rac-x-Az7vHf.js → bookings-address-rac-XkgsBu8i.js} +1 -1
- package/dist/component/{bookings-email-rac-MoF_CaqB.js → bookings-email-rac-CyESeQLD.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CWh3Rb0M.js → bookings-first-name-rac-CFY5Qwk9.js} +1 -1
- package/dist/component/{bookings-header-rac-BVTiXUWk.js → bookings-header-rac-lRsebspV.js} +1 -1
- package/dist/component/{bookings-last-name-rac-kXRRlyHl.js → bookings-last-name-rac-B7J2K4oK.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-C4Zr6kXE.js → bookings-login-bar-rac-BD97U76_.js} +3 -3
- package/dist/component/{bookings-phone-rac-2rz1m_xi.js → bookings-phone-rac-CpgDCLTp.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-BEjGypQw.js → bookings-rich-text-rac-DQUQMN3s.js} +1 -1
- package/dist/component/{checkbox-field-rac-DwEQLIaz.js → checkbox-field-rac-CcOW4yol.js} +43 -43
- package/dist/component/{checkbox-group-field-headless-BsOww_QB.js → checkbox-group-field-headless-DiBxnwOj.js} +8 -8
- package/dist/component/{checkbox-group-field-rac-DTcZcVS6.js → checkbox-group-field-rac-BCzS44NM.js} +4 -4
- package/dist/component/{checkbox-group-rac-DQsML-pW.js → checkbox-group-rac-C2oHVikX.js} +1 -1
- package/dist/component/{checkbox-rac-irEBBOxP.js → checkbox-rac-DPhswfJ9.js} +1 -1
- package/dist/component/{contacts-address-rac-B5bSAYrm.js → contacts-address-rac-Cjqot4Vo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DyScj8f4.js → contacts-birthdate-rac-C3uYlFa3.js} +1 -1
- package/dist/component/{contacts-company-rac-C5X9-jXa.js → contacts-company-rac-BDmDrlJm.js} +1 -1
- package/dist/component/{contacts-email-rac-B0vkfmrS.js → contacts-email-rac-9NI8430K.js} +1 -1
- package/dist/component/{contacts-first-name-rac-Cfil3U_e.js → contacts-first-name-rac-PNgDNwXZ.js} +1 -1
- package/dist/component/{contacts-last-name-rac-CtPLE-7-.js → contacts-last-name-rac-Dkf8oYRe.js} +1 -1
- package/dist/component/{contacts-phone-rac-YkzsAoBZ.js → contacts-phone-rac-BefG0umR.js} +1 -1
- package/dist/component/{contacts-position-rac-BS4j8QC-.js → contacts-position-rac-8ZWMa74Q.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-z_9VsEZL.js → contacts-subscribe-rac-Dj0k_O2C.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-WFkmKyZv.js → contacts-tax-id-rac-Dbz0SEH9.js} +1 -1
- package/dist/component/{date-availability-NN3rxosk.js → date-availability-CpZYBX1d.js} +1 -1
- package/dist/component/{date-input-field-rac-mdhEC3oq.js → date-input-field-rac-8CkusNEQ.js} +64 -64
- package/dist/component/{date-input-rac-CGciuoTx.js → date-input-rac-CH1ke9-c.js} +1 -1
- package/dist/component/{date-picker-field-rac-CRZVODfF.js → date-picker-field-rac-pZQhHvZc.js} +31 -31
- package/dist/component/{date-picker-rac-Bfbvjy8W.js → date-picker-rac-BOdzNgu6.js} +1 -1
- package/dist/component/{date-time-input-field-rac-TDWBXZ44.js → date-time-input-field-rac-DDUZvi8G.js} +70 -70
- package/dist/component/{date-time-input-rac-DY0qdSix.js → date-time-input-rac-DkjW7KId.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BFGM7SOt.js → dext-checkbox-group-rac-Cjx062TO.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DPZvTeUZ.js → dext-checkbox-rac-CIqsZ8Cf.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Xd5kojsQ.js → dext-date-picker-rac-BYQN00yy.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-C0RIdxJW.js → dext-date-time-input-rac-Bh-HYZ_X.js} +1 -1
- package/dist/component/{dext-dropdown-rac-D1m8vJvm.js → dext-dropdown-rac-rnkUqsSx.js} +1 -1
- package/dist/component/{dext-email-rac-BC81RFYY.js → dext-email-rac-DtW_DadC.js} +1 -1
- package/dist/component/{dext-number-input-rac-Z_ih9FfX.js → dext-number-input-rac-DTfdLXFG.js} +1 -1
- package/dist/component/{dext-phone-rac-s3BOnXuI.js → dext-phone-rac-D3anV8iB.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CL3jcezs.js → dext-radio-group-rac-CIO_2H7F.js} +4 -4
- package/dist/component/{dext-rating-input-rac-wz1EyP5b.js → dext-rating-input-rac-Bdtbwo1W.js} +1 -1
- package/dist/component/{dext-tags-rac-BY4Rf2BP.js → dext-tags-rac-DT4_lRM0.js} +4 -4
- package/dist/component/{dext-text-area-rac-DRJzlsq8.js → dext-text-area-rac-BgMlIgik.js} +1 -1
- package/dist/component/{dext-text-input-rac-BGcRNNAi.js → dext-text-input-rac-DDc6-lsN.js} +1 -1
- package/dist/component/{dext-url-input-rac-CRAIm8yp.js → dext-url-input-rac-CrOT7XQf.js} +1 -1
- package/dist/component/{donation-rac-BlTfOIlE.js → donation-rac-CORUAfww.js} +74 -74
- package/dist/component/{dropdown-field-headless-DhzRAMcM.js → dropdown-field-headless-B-82vlHV.js} +10 -10
- package/dist/component/{dropdown-field-rac-DXyY5we-.js → dropdown-field-rac-AYGyhYSH.js} +3 -3
- package/dist/component/{dropdown-rac-C6YM6qxm.js → dropdown-rac-g-zqV-y4.js} +1 -1
- package/dist/component/{ecom-address-rac-CAdr7wya.js → ecom-address-rac-BQqh4QrW.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Z2VMuCbt.js → ecom-subscription-checkbox-rac-Cf7Ou6Om.js} +2 -2
- package/dist/component/{email-input-field-rac-DpkfunVK.js → email-input-field-rac-BFrfF6TW.js} +47 -47
- package/dist/component/{events-repeater-rac-CuJkdrPo.js → events-repeater-rac-CNifjThM.js} +8 -8
- package/dist/component/{events-rsvp-rac-BKWlSeQ9.js → events-rsvp-rac-CnW7CNdo.js} +10 -10
- package/dist/component/{field-error-headless-tsg9FQ-_.js → field-error-headless-BLgaEh1d.js} +11 -11
- package/dist/component/{field-label-headless-CB8dEat8.js → field-label-headless-C8NbnF9M.js} +4 -4
- package/dist/component/file-upload-rac-Yk44koqY.js +561 -0
- package/dist/component/{fixed-payment-rac-CuIQEeHh.js → fixed-payment-rac-r_OUP_KD.js} +15 -15
- package/dist/component/{form-0jt4L5xo.js → form-DC8xFBa_.js} +6178 -5729
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +3 -3
- package/dist/component/{header-field-rac-CWVGzxKb.js → header-field-rac-6NOymbBc.js} +4 -4
- package/dist/component/{header-rac-D6KsV-ko.js → header-rac-DzK8Cg5s.js} +1 -1
- package/dist/component/{image-choice-rac-CUCyVS8c.js → image-choice-rac-CcCInqrr.js} +9 -9
- package/dist/component/{index-iOqQidgV.js → index-B_72TOzS.js} +2 -2
- package/dist/component/{index-TJSnVtCO.js → index-CGbawBGb.js} +43 -43
- package/dist/component/{isObjectLike-DQbx8r1c.js → isObjectLike-BziKAUTi.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DtZ1NTfD.js → multiline-address-field-rac-CJw6HvHY.js} +78 -78
- package/dist/component/{multiline-address-rac-ub-_XzHU.js → multiline-address-rac-B_GR1nkJ.js} +1 -1
- package/dist/component/{number-input-field-rac-DLItn4DK.js → number-input-field-rac-CXFmpNWL.js} +13 -13
- package/dist/component/{number-input-rac-UuxJzqEx.js → number-input-rac-sr4Dhnxa.js} +1 -1
- package/dist/component/{password-rac-Di6q96Rn.js → password-rac-BwBEPYo3.js} +15 -15
- package/dist/component/{payment-input-rac-CG6c4-Ge.js → payment-input-rac-BcLSkgtK.js} +44 -44
- package/dist/component/{phone-input-field-rac-D4JphCuT.js → phone-input-field-rac-4kp5xRJZ.js} +50 -50
- package/dist/component/{phone-rac-_vDw2usa.js → phone-rac-B_QYTg28.js} +1 -1
- package/dist/component/{product-list-rac-CgxRlj1f.js → product-list-rac-C7YDHPj_.js} +50 -50
- package/dist/component/{quiz-radio-group-rac-bi26aGxN.js → quiz-radio-group-rac-Be1v1PyS.js} +1 -1
- package/dist/component/{radio-button-module-classes-DDJq2ESf.js → radio-button-module-classes-k9DhZ1Fd.js} +14 -14
- package/dist/component/{radio-group-field-rac-D1aMVO6l.js → radio-group-field-rac-BDEAYQH5.js} +6 -6
- package/dist/component/{radio-group-rac-HKC85M6t.js → radio-group-rac-DcmSrcGy.js} +1 -1
- package/dist/component/{rating-input-field-rac-CpRehxFB.js → rating-input-field-rac-CcO3-3O3.js} +20 -20
- package/dist/component/{rating-input-rac-BMuCZ3oj.js → rating-input-rac-wl8G35Xv.js} +1 -1
- package/dist/component/{rich-content-rac.module-mZ6xoAOd.js → rich-content-rac.module-CzZ6x_Yf.js} +1 -1
- package/dist/component/{rich-text-field-rac-CUK8V8Kf.js → rich-text-field-rac-B4l_YgG7.js} +4 -4
- package/dist/component/{rich-text-rac-B-7sR2FJ.js → rich-text-rac-BlW4v4gg.js} +1 -1
- package/dist/component/{service-dropdown-rac-1DDNT5bn.js → service-dropdown-rac-CJTrm0iL.js} +33 -33
- package/dist/component/{services-multi-choice-rac-CB-6dwxz.js → services-multi-choice-rac-BkiL2Pct.js} +13 -13
- package/dist/component/{signature-rac-7XBci6P2.js → signature-rac-_fTng53p.js} +133 -133
- package/dist/component/{submit-button-rac-B1-Mk8Gg.js → submit-button-rac-EmqyRMuE.js} +17 -17
- package/dist/component/{tags-field-rac-CQ9Y7mq-.js → tags-field-rac-CTlZZLdv.js} +32 -32
- package/dist/component/{tags-rac-Visic-Ml.js → tags-rac-xd-CpByf.js} +1 -1
- package/dist/component/{text-area-field-rac-C8fP1g-w.js → text-area-field-rac-Dap_aF4j.js} +14 -14
- package/dist/component/{text-area-rac-B6yZxzxm.js → text-area-rac-rKSZi3gu.js} +1 -1
- package/dist/component/{text-input-field-rac-CNjbOxD1.js → text-input-field-rac-GBsaUY0A.js} +5 -5
- package/dist/component/{text-input-headless-Bm8PJGep.js → text-input-headless-SHtvSa6y.js} +3 -3
- package/dist/component/{text-input-rac-BEPC1Z-4.js → text-input-rac-v4R17Vxm.js} +1 -1
- package/dist/component/{time-input-rac-3m6C_Jp5.js → time-input-rac-DgnhZSjV.js} +27 -27
- package/dist/component/{url-input-field-rac-CIk_6Lf6.js → url-input-field-rac-BuTadRMy.js} +19 -19
- package/dist/component/{url-input-rac-DyVoygXH.js → url-input-rac-BpVSwqpz.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-McG3ayOT.js → use-dropdown-option-class-name-Cwfh_4oi.js} +2 -2
- package/dist/component/{use-element-state-class-name-B9MBWX44.js → use-element-state-class-name-BF7I_Ju7.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-r5G_sZsO.js → use-is-forced-open-dropdown-BMuhxge2.js} +8 -8
- package/dist/component/{use-service-options-base-hcbkvhpw.js → use-service-options-base-DfyQZjmw.js} +1 -1
- package/dist/component/{use-text-input-class-name-SnurFqAr.js → use-text-input-class-name-ixt7gTGg.js} +2 -2
- package/dist/form.d.ts +18 -0
- package/package.json +3 -3
- package/dist/component/file-upload-rac-ZdgYt646.js +0 -483
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import r, { useCallback as P, useRef as
|
|
2
|
-
import { RicosViewer as
|
|
1
|
+
import r, { useCallback as P, useRef as Q } from "react";
|
|
2
|
+
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { TextField as
|
|
5
|
-
import {
|
|
6
|
-
import { f as
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
4
|
+
import { TextField as z, Group as J, Input as K } from "react-aria-components";
|
|
5
|
+
import { b9 as R, b6 as D, b1 as T, bj as W, bb as X, I as Y, U as Z, v as ee, p as re } from "./form-DC8xFBa_.js";
|
|
6
|
+
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-BLgaEh1d.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-C8NbnF9M.js";
|
|
9
9
|
import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ce } from "./custom-focus-class-_483Pkwp.js";
|
|
13
13
|
import { s as d } from "./field-rac.module-B4l_0KRU.js";
|
|
14
|
-
import { u as
|
|
15
|
-
function
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-ixt7gTGg.js";
|
|
15
|
+
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
|
18
18
|
price: t,
|
|
19
19
|
quantity: 1
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function h(e) {
|
|
23
23
|
if (e == null || e === "")
|
|
24
24
|
return;
|
|
25
25
|
const t = Number(String(e).replace(/,/g, "."));
|
|
@@ -27,28 +27,28 @@ function T(e) {
|
|
|
27
27
|
}
|
|
28
28
|
const n = ({ children: e }) => {
|
|
29
29
|
var O, g, A, V;
|
|
30
|
-
const { id: t, value: a, onChange: s, disabled:
|
|
30
|
+
const { id: t, value: a, onChange: s, disabled: u, readOnly: m, required: I, hasError: y, onBlur: o, onFocus: E, FieldLayout: M, validation: C } = R(), { labelId: q, prefixId: G } = D(), { regionalFormat: c } = T(), S = (A = (g = (O = C == null ? void 0 : C.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : g.products) == null ? void 0 : A[0], _ = (V = a == null ? void 0 : a.at(0)) == null ? void 0 : V.price, [F, b] = oe({
|
|
31
31
|
sourceValue: _,
|
|
32
32
|
format: (l) => N(String(l ?? ""), c),
|
|
33
33
|
regionalFormat: c
|
|
34
34
|
}), $ = P(() => {
|
|
35
35
|
const l = N(F, c);
|
|
36
|
-
|
|
36
|
+
b(l || ""), o == null || o();
|
|
37
37
|
}, [
|
|
38
38
|
F,
|
|
39
39
|
c,
|
|
40
40
|
o,
|
|
41
|
-
|
|
42
|
-
]),
|
|
43
|
-
|
|
44
|
-
const L =
|
|
45
|
-
if (L !==
|
|
41
|
+
b
|
|
42
|
+
]), U = P((l) => {
|
|
43
|
+
b(l);
|
|
44
|
+
const L = h(N(l, c)), j = h(_);
|
|
45
|
+
if (L !== j) {
|
|
46
46
|
if (L === void 0) {
|
|
47
47
|
s(null);
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
s([
|
|
51
|
-
|
|
51
|
+
ue(S, L)
|
|
52
52
|
]);
|
|
53
53
|
}
|
|
54
54
|
}, [
|
|
@@ -56,33 +56,33 @@ const n = ({ children: e }) => {
|
|
|
56
56
|
S,
|
|
57
57
|
c,
|
|
58
58
|
_,
|
|
59
|
-
|
|
60
|
-
]),
|
|
59
|
+
b
|
|
60
|
+
]), v = i(e, n.Label), B = i(e, n.Input), k = i(e, n.Description), H = i(e, n.Error);
|
|
61
61
|
return /* @__PURE__ */ r.createElement(M, {
|
|
62
62
|
fieldId: t,
|
|
63
|
-
renderLabel: () =>
|
|
64
|
-
renderInput: () => /* @__PURE__ */ r.createElement(
|
|
63
|
+
renderLabel: () => v,
|
|
64
|
+
renderInput: () => /* @__PURE__ */ r.createElement(z, {
|
|
65
65
|
"aria-labelledby": `${q} ${G}`,
|
|
66
66
|
value: a ? F : "",
|
|
67
|
-
onChange:
|
|
68
|
-
isDisabled:
|
|
67
|
+
onChange: U,
|
|
68
|
+
isDisabled: u,
|
|
69
69
|
isReadOnly: m,
|
|
70
|
-
isRequired:
|
|
70
|
+
isRequired: I,
|
|
71
71
|
isInvalid: y,
|
|
72
72
|
onBlur: $,
|
|
73
73
|
onFocus: E
|
|
74
|
-
},
|
|
75
|
-
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null,
|
|
74
|
+
}, B),
|
|
75
|
+
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, H, k)
|
|
76
76
|
});
|
|
77
77
|
}, f = ({ children: e, className: t }) => {
|
|
78
|
-
const { disabled: a, hasError: s } = R(),
|
|
79
|
-
return /* @__PURE__ */ r.createElement(
|
|
78
|
+
const { disabled: a, hasError: s } = R(), u = i(e, f.Currency), m = i(e, f.Value);
|
|
79
|
+
return /* @__PURE__ */ r.createElement(J, {
|
|
80
80
|
className: t,
|
|
81
81
|
isDisabled: a,
|
|
82
82
|
isInvalid: s
|
|
83
|
-
},
|
|
83
|
+
}, u, m);
|
|
84
84
|
}, me = ({ className: e }) => {
|
|
85
|
-
const { currency: t } =
|
|
85
|
+
const { currency: t } = T(), { t: a } = W(), { prefixId: s } = D();
|
|
86
86
|
return t ? /* @__PURE__ */ r.createElement("span", {
|
|
87
87
|
id: s,
|
|
88
88
|
"aria-hidden": !1,
|
|
@@ -90,17 +90,17 @@ const n = ({ children: e }) => {
|
|
|
90
90
|
className: e
|
|
91
91
|
}, t.sign || t.code) : null;
|
|
92
92
|
}, pe = ({ className: e }) => {
|
|
93
|
-
const { id: t, placeholder: a, label: s } = R(), { inputId:
|
|
94
|
-
return
|
|
93
|
+
const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: I, ariaDescribedBy: y } = D(), o = Q(null);
|
|
94
|
+
return X(() => {
|
|
95
95
|
var E;
|
|
96
96
|
(E = o.current) == null || E.focus();
|
|
97
|
-
}, t), /* @__PURE__ */ r.createElement(
|
|
97
|
+
}, t), /* @__PURE__ */ r.createElement(K, {
|
|
98
98
|
ref: o,
|
|
99
|
-
id:
|
|
99
|
+
id: u,
|
|
100
100
|
className: e,
|
|
101
101
|
placeholder: a,
|
|
102
102
|
"aria-label": s,
|
|
103
|
-
"aria-labelledby": `${m} ${
|
|
103
|
+
"aria-labelledby": `${m} ${I}`,
|
|
104
104
|
"aria-describedby": y,
|
|
105
105
|
autoComplete: "off"
|
|
106
106
|
});
|
|
@@ -111,22 +111,22 @@ n.Label = ae;
|
|
|
111
111
|
n.Input = f;
|
|
112
112
|
n.Description = te;
|
|
113
113
|
n.Error = ne;
|
|
114
|
-
const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14",
|
|
114
|
+
const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", x = {
|
|
115
115
|
inputGroup: de,
|
|
116
116
|
currency: fe
|
|
117
|
-
}, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(
|
|
117
|
+
}, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(w, {
|
|
118
118
|
content: e,
|
|
119
119
|
locale: t
|
|
120
|
-
}),
|
|
121
|
-
const e =
|
|
120
|
+
}), be = () => {
|
|
121
|
+
const e = ie(x.inputGroup);
|
|
122
122
|
return /* @__PURE__ */ r.createElement(n, null, /* @__PURE__ */ r.createElement(n.Label, {
|
|
123
|
-
className: p(
|
|
123
|
+
className: p(Y, d.label)
|
|
124
124
|
}, /* @__PURE__ */ r.createElement(n.Label.Required, {
|
|
125
|
-
className: p(
|
|
125
|
+
className: p(Z, d.requiredMark)
|
|
126
126
|
})), /* @__PURE__ */ r.createElement(n.Input, {
|
|
127
127
|
className: e
|
|
128
128
|
}, /* @__PURE__ */ r.createElement(n.Input.Currency, {
|
|
129
|
-
className:
|
|
129
|
+
className: x.currency
|
|
130
130
|
}), /* @__PURE__ */ r.createElement(n.Input.Value, {
|
|
131
131
|
className: p(d.innerInput, ce)
|
|
132
132
|
})), /* @__PURE__ */ r.createElement(n.Error, {
|
|
@@ -134,7 +134,7 @@ const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", h = {
|
|
|
134
134
|
}, /* @__PURE__ */ r.createElement(le, null), /* @__PURE__ */ r.createElement(n.Error.Text, null)), /* @__PURE__ */ r.createElement(n.Description, {
|
|
135
135
|
className: p(re, d.description)
|
|
136
136
|
}, Ee));
|
|
137
|
-
}, Pe = () => /* @__PURE__ */ r.createElement(
|
|
137
|
+
}, Pe = () => /* @__PURE__ */ r.createElement(be, null);
|
|
138
138
|
export {
|
|
139
139
|
Pe as PaymentInputRAC
|
|
140
140
|
};
|
package/dist/component/{phone-input-field-rac-D4JphCuT.js → phone-input-field-rac-4kp5xRJZ.js}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { RicosViewer as Oe } from "@wix/ricos/viewer";
|
|
2
2
|
import O from "classnames";
|
|
3
|
-
import t, { useMemo as x, useState as B, useRef as
|
|
4
|
-
import {
|
|
3
|
+
import t, { useMemo as x, useState as B, useRef as v, useEffect as U, useCallback as oe, createContext as le, useContext as K } from "react";
|
|
4
|
+
import { aU as _e, bj as P, b1 as ue, bi as Ne, b9 as M, b6 as ie, bb as Se, I as Le, U as Ie, t as Fe, H as ve, K as Pe, v as De, p as Re } from "./form-DC8xFBa_.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as xe } from "react-aria";
|
|
6
|
-
import { Dialog as me, OverlayTriggerStateContext as Be, ModalOverlay as Me, Modal as qe, SearchField as
|
|
6
|
+
import { Dialog as me, OverlayTriggerStateContext as Be, ModalOverlay as Me, Modal as qe, SearchField as Ae, Group as G, ListBoxItem as Te, DialogTrigger as $e, Select as je, Input as Ce, ListBox as we, Autocomplete as Ue } from "react-aria-components";
|
|
7
7
|
import { f as h, a as H } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as ke, E as Ve } from "./field-error-headless-
|
|
9
|
-
import { L as Ge } from "./field-label-headless-
|
|
10
|
-
import { N as He, S as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as ze } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import de, { AsYouType as
|
|
8
|
+
import { D as ke, E as Ve } from "./field-error-headless-BLgaEh1d.js";
|
|
9
|
+
import { L as Ge } from "./field-label-headless-C8NbnF9M.js";
|
|
10
|
+
import { N as He, S as Ke } from "./non-modal-popover-DtIMXHbe.js";
|
|
11
|
+
import { u as Ye } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
+
import { u as ze } from "./use-is-forced-open-dropdown-BMuhxge2.js";
|
|
13
|
+
import de, { AsYouType as We, isValidPhoneNumber as Ze, isSupportedCountry as Qe } from "libphonenumber-js";
|
|
14
14
|
import "libphonenumber-js/metadata.min.json";
|
|
15
15
|
import { C as re } from "./calling-country-codes-PyWuOTmF.js";
|
|
16
16
|
import { C as Je } from "./chevron-down-icon-CcpVm6B-.js";
|
|
17
17
|
import { E as Xe } from "./error-icon-hZxQ6DEy.js";
|
|
18
18
|
import { H as ae } from "./custom-focus-class-_483Pkwp.js";
|
|
19
19
|
import { s as b } from "./field-rac.module-B4l_0KRU.js";
|
|
20
|
-
import { u as et } from "./use-dropdown-option-class-name-
|
|
21
|
-
import { u as tt } from "./use-text-input-class-name-
|
|
20
|
+
import { u as et } from "./use-dropdown-option-class-name-Cwfh_4oi.js";
|
|
21
|
+
import { u as tt } from "./use-text-input-class-name-ixt7gTGg.js";
|
|
22
22
|
function se(e) {
|
|
23
23
|
const n = e ? de(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
25
25
|
return r;
|
|
26
|
-
const o = new
|
|
26
|
+
const o = new We();
|
|
27
27
|
return e && o.input(e), o.getCountry();
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Y(e) {
|
|
30
30
|
var n;
|
|
31
31
|
return e && ((n = _e.getCountryByKey(e)) == null ? void 0 : n.dialCode);
|
|
32
32
|
}
|
|
@@ -37,17 +37,17 @@ function ce(e, n) {
|
|
|
37
37
|
if (e && n)
|
|
38
38
|
try {
|
|
39
39
|
const r = de(e, n), o = r == null ? void 0 : r.formatInternational();
|
|
40
|
-
if (o &&
|
|
40
|
+
if (o && Ze(o))
|
|
41
41
|
return o.replace(/\s+/g, "");
|
|
42
42
|
} catch {
|
|
43
43
|
}
|
|
44
44
|
return e;
|
|
45
45
|
}
|
|
46
46
|
function nt() {
|
|
47
|
-
const { t: e } =
|
|
47
|
+
const { t: e } = P(), { language: n } = ue();
|
|
48
48
|
return x(() => Object.keys(re).reduce((o, a) => {
|
|
49
|
-
const l = re[a], s =
|
|
50
|
-
return s &&
|
|
49
|
+
const l = re[a], s = Y(l), i = e(`locale-dataset.countries.${l.toUpperCase()}`);
|
|
50
|
+
return s && Qe(a) && o.push({
|
|
51
51
|
countryName: i,
|
|
52
52
|
longCountryCode: l,
|
|
53
53
|
shortCountryCode: a,
|
|
@@ -69,7 +69,7 @@ function V(e, n) {
|
|
|
69
69
|
return e.toLowerCase().includes(n.toLowerCase());
|
|
70
70
|
}
|
|
71
71
|
function at({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange: o }) {
|
|
72
|
-
const [a, l] = B(e || ""), s =
|
|
72
|
+
const [a, l] = B(e || ""), s = v(k(e ?? null) ?? ""), [i, u] = B(n);
|
|
73
73
|
Ne(() => {
|
|
74
74
|
l(""), s.current = "", u(n), o("");
|
|
75
75
|
});
|
|
@@ -121,16 +121,16 @@ function at({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
const pe = /* @__PURE__ */ le(null), _ = () => {
|
|
124
|
-
const e =
|
|
124
|
+
const e = K(pe);
|
|
125
125
|
if (!e)
|
|
126
126
|
throw new Error("Phone input components must be used within PhoneInput component");
|
|
127
127
|
return e;
|
|
128
128
|
}, ye = /* @__PURE__ */ le(null), z = () => {
|
|
129
|
-
const e =
|
|
129
|
+
const e = K(ye);
|
|
130
130
|
if (!e)
|
|
131
131
|
throw new Error("Option sub-components must be used within Option component");
|
|
132
132
|
return e;
|
|
133
|
-
},
|
|
133
|
+
}, W = ({ longCountryCode: e, className: n }) => {
|
|
134
134
|
function r(l, s) {
|
|
135
135
|
const i = "https://static.parastorage.com/services/linguist-flags/1.1005.0/assets/flags/square/", m = `${l}${s === "2x" ? "_2x" : ""}.png`;
|
|
136
136
|
return `${i}${m}`;
|
|
@@ -156,7 +156,7 @@ const pe = /* @__PURE__ */ le(null), _ = () => {
|
|
|
156
156
|
defaultCountryCode: l,
|
|
157
157
|
allowedCountryCodes: d,
|
|
158
158
|
onChange: o
|
|
159
|
-
}),
|
|
159
|
+
}), A = h(e, c.Label), T = h(e, c.Control), L = h(e, c.Description), $ = h(e, c.Error), I = {
|
|
160
160
|
currentValue: E,
|
|
161
161
|
selectedCountryCode: y,
|
|
162
162
|
handlePhoneChange: N,
|
|
@@ -169,18 +169,18 @@ const pe = /* @__PURE__ */ le(null), _ = () => {
|
|
|
169
169
|
value: I
|
|
170
170
|
}, /* @__PURE__ */ t.createElement(a, {
|
|
171
171
|
fieldId: n,
|
|
172
|
-
renderLabel: () =>
|
|
172
|
+
renderLabel: () => A,
|
|
173
173
|
renderInput: () => /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", {
|
|
174
174
|
ref: u,
|
|
175
175
|
style: {
|
|
176
176
|
display: "contents"
|
|
177
177
|
}
|
|
178
|
-
}),
|
|
178
|
+
}), T),
|
|
179
179
|
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, $, L)
|
|
180
180
|
}));
|
|
181
|
-
},
|
|
182
|
-
const { inputId: r, labelId: o } = ie(), { hasError: a, disabled: l, readOnly: s } = M(), { t: i } =
|
|
183
|
-
return /* @__PURE__ */ t.createElement(
|
|
181
|
+
}, Z = ({ children: e, className: n }) => {
|
|
182
|
+
const { inputId: r, labelId: o } = ie(), { hasError: a, disabled: l, readOnly: s } = M(), { t: i } = P(), { selectedCountryCode: u, countries: m } = _(), p = `${r}-country`, C = u ? m.find((N) => N.shortCountryCode === u) : void 0, d = C && Y(C.longCountryCode) || "", E = i("field.phone.country-code.aria-label"), y = C ? `${E}, ${C.countryName}, ${d}` : E;
|
|
183
|
+
return /* @__PURE__ */ t.createElement(Ke, {
|
|
184
184
|
isDisabled: l || s,
|
|
185
185
|
id: p,
|
|
186
186
|
"aria-label": y,
|
|
@@ -190,7 +190,7 @@ const pe = /* @__PURE__ */ le(null), _ = () => {
|
|
|
190
190
|
}, e);
|
|
191
191
|
}, st = ({ className: e }) => {
|
|
192
192
|
const { selectedCountryCode: n, countries: r } = _(), o = r.find((a) => a.shortCountryCode === n);
|
|
193
|
-
return o ? /* @__PURE__ */ t.createElement(
|
|
193
|
+
return o ? /* @__PURE__ */ t.createElement(W, {
|
|
194
194
|
className: e,
|
|
195
195
|
longCountryCode: o.longCountryCode
|
|
196
196
|
}) : null;
|
|
@@ -200,8 +200,8 @@ const pe = /* @__PURE__ */ le(null), _ = () => {
|
|
|
200
200
|
className: n
|
|
201
201
|
}, e);
|
|
202
202
|
};
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
Z.Flag = st;
|
|
204
|
+
Z.EmptyState = ct;
|
|
205
205
|
const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a, ...l }) => {
|
|
206
206
|
const { triggerRef: s, optionsRef: i, isForcedOpen: u } = l, { popoverContainer: m } = _(), p = h(e, g.Search), C = /* @__PURE__ */ t.createElement(Ee, {
|
|
207
207
|
isForcedOpen: u
|
|
@@ -219,7 +219,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
|
|
|
219
219
|
"aria-label": r
|
|
220
220
|
}, C) : C));
|
|
221
221
|
}, lt = ({ children: e, className: n, overlayClassName: r, "aria-label": o, portalContainer: a = t.Fragment, ...l }) => {
|
|
222
|
-
const { optionsRef: s } = l, { selectedCountryCode: i, handleCountryCodeChange: u } = _(), m =
|
|
222
|
+
const { optionsRef: s } = l, { selectedCountryCode: i, handleCountryCodeChange: u } = _(), m = K(Be);
|
|
223
223
|
return /* @__PURE__ */ t.createElement(Me, {
|
|
224
224
|
className: r,
|
|
225
225
|
isDismissable: !0
|
|
@@ -245,7 +245,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
|
|
|
245
245
|
...n,
|
|
246
246
|
renderEmptyState: s ? () => s : void 0
|
|
247
247
|
}, o.map((u) => {
|
|
248
|
-
const m =
|
|
248
|
+
const m = Y(u.longCountryCode) || "";
|
|
249
249
|
return H(a, {
|
|
250
250
|
key: u.shortCountryCode,
|
|
251
251
|
countryCode: u.shortCountryCode,
|
|
@@ -267,7 +267,7 @@ g.Popover = g;
|
|
|
267
267
|
g.Modal = lt;
|
|
268
268
|
const fe = ({ className: e, children: n, "aria-label": r, ...o }) => {
|
|
269
269
|
const { autoFocus: a = !0 } = o;
|
|
270
|
-
return /* @__PURE__ */ t.createElement(
|
|
270
|
+
return /* @__PURE__ */ t.createElement(Ae, {
|
|
271
271
|
"aria-label": r,
|
|
272
272
|
autoFocus: a
|
|
273
273
|
}, /* @__PURE__ */ t.createElement(G, {
|
|
@@ -290,7 +290,7 @@ const q = ({ children: e, className: n, ...r }) => {
|
|
|
290
290
|
countryName: l,
|
|
291
291
|
longCountryCode: s
|
|
292
292
|
}, u = e || /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(he, null), /* @__PURE__ */ t.createElement(ge, null), /* @__PURE__ */ t.createElement(be, null));
|
|
293
|
-
return /* @__PURE__ */ t.createElement(
|
|
293
|
+
return /* @__PURE__ */ t.createElement(Te, {
|
|
294
294
|
className: n,
|
|
295
295
|
id: o,
|
|
296
296
|
textValue: `${l} ${a}`
|
|
@@ -299,7 +299,7 @@ const q = ({ children: e, className: n, ...r }) => {
|
|
|
299
299
|
}, u));
|
|
300
300
|
}, he = ({ className: e }) => {
|
|
301
301
|
const { longCountryCode: n } = z();
|
|
302
|
-
return /* @__PURE__ */ t.createElement(
|
|
302
|
+
return /* @__PURE__ */ t.createElement(W, {
|
|
303
303
|
className: e,
|
|
304
304
|
longCountryCode: n
|
|
305
305
|
});
|
|
@@ -319,7 +319,7 @@ q.Name = ge;
|
|
|
319
319
|
q.Code = be;
|
|
320
320
|
g.Option = q;
|
|
321
321
|
const mt = ({ className: e }) => {
|
|
322
|
-
const { t: n } =
|
|
322
|
+
const { t: n } = P(), { inputId: r, ariaDescribedBy: o } = ie(), { id: a, placeholder: l, disabled: s, readOnly: i, required: u, label: m, hasError: p } = M(), { currentValue: C, handlePhoneChange: d } = _(), E = v(null);
|
|
323
323
|
return Se(() => {
|
|
324
324
|
var y;
|
|
325
325
|
(y = E.current) == null || y.focus({
|
|
@@ -341,7 +341,7 @@ const mt = ({ className: e }) => {
|
|
|
341
341
|
className: e
|
|
342
342
|
});
|
|
343
343
|
}, Ct = ({ children: e, className: n }) => {
|
|
344
|
-
const r =
|
|
344
|
+
const r = v(null), o = v(null), a = v(!1), { id: l, disabled: s, readOnly: i, required: u, hasError: m, showFlag: p, onFocus: C, onBlur: d } = M(), [E, y] = B(!1), N = Ye(d), { t: S } = P(), { selectedCountryCode: A, handleCountryCodeChange: T, countries: L } = _(), $ = h(e, c.CountryButton), I = h(e, c.CountryOptions.Modal), D = I ?? h(e, c.CountryOptions.Popover), F = h(e, c.PhoneNumber), R = L.length > 1, j = ze(l) && !I && R, Q = typeof n == "function" ? n({
|
|
345
345
|
hasCountryOptions: R
|
|
346
346
|
}) : n, J = {
|
|
347
347
|
onFocus: () => {
|
|
@@ -356,11 +356,11 @@ const mt = ({ className: e }) => {
|
|
|
356
356
|
if (L.length === 1)
|
|
357
357
|
return /* @__PURE__ */ t.createElement(G, {
|
|
358
358
|
ref: r,
|
|
359
|
-
className:
|
|
359
|
+
className: Q,
|
|
360
360
|
isDisabled: s,
|
|
361
361
|
isInvalid: m,
|
|
362
362
|
...J
|
|
363
|
-
}, p && /* @__PURE__ */ t.createElement(
|
|
363
|
+
}, p && /* @__PURE__ */ t.createElement(W, {
|
|
364
364
|
longCountryCode: L[0].longCountryCode
|
|
365
365
|
}), F);
|
|
366
366
|
const X = /* @__PURE__ */ t.createElement(t.Fragment, null, $, H(D, {
|
|
@@ -370,14 +370,14 @@ const mt = ({ className: e }) => {
|
|
|
370
370
|
}));
|
|
371
371
|
return /* @__PURE__ */ t.createElement(G, {
|
|
372
372
|
ref: r,
|
|
373
|
-
className:
|
|
373
|
+
className: Q,
|
|
374
374
|
isDisabled: s,
|
|
375
375
|
isInvalid: m,
|
|
376
376
|
...J
|
|
377
377
|
}, I ? /* @__PURE__ */ t.createElement($e, null, X) : /* @__PURE__ */ t.createElement(je, {
|
|
378
378
|
"aria-label": S("field.phone.country-code.aria-label"),
|
|
379
|
-
value:
|
|
380
|
-
onChange: (w) =>
|
|
379
|
+
value: A ?? null,
|
|
380
|
+
onChange: (w) => T(w),
|
|
381
381
|
isDisabled: s || i,
|
|
382
382
|
isInvalid: m,
|
|
383
383
|
isRequired: u,
|
|
@@ -388,7 +388,7 @@ const mt = ({ className: e }) => {
|
|
|
388
388
|
};
|
|
389
389
|
c.Label = Ge;
|
|
390
390
|
c.Control = Ct;
|
|
391
|
-
c.CountryButton =
|
|
391
|
+
c.CountryButton = Z;
|
|
392
392
|
c.CountryOptions = g;
|
|
393
393
|
c.PhoneNumber = mt;
|
|
394
394
|
c.Description = ke;
|
|
@@ -413,7 +413,7 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
413
413
|
}, /* @__PURE__ */ t.createElement("path", {
|
|
414
414
|
fillRule: "evenodd",
|
|
415
415
|
d: "M6.6108,14.3887 C5.5718,13.3497 4.9998,11.9687 4.9998,10.4997 C4.9998,9.0317 5.5718,7.6507 6.6108,6.6117 C7.6498,5.5727 9.0308,4.9997 10.4998,4.9997 C11.9688,4.9997 13.3498,5.5727 14.3888,6.6117 C15.4278,7.6507 15.9998,9.0317 15.9998,10.4997 C15.9998,11.9687 15.4278,13.3497 14.3888,14.3887 C13.3498,15.4277 11.9688,15.9997 10.4998,15.9997 C9.0308,15.9997 7.6498,15.4277 6.6108,14.3887 L6.6108,14.3887 Z M20.0028,19.2957 L15.4328,14.7247 C16.4438,13.5477 16.9998,12.0687 16.9998,10.4997 C16.9998,8.7637 16.3238,7.1317 15.0958,5.9047 C13.8688,4.6767 12.2358,3.9997 10.4998,3.9997 C8.7638,3.9997 7.1318,4.6767 5.9038,5.9047 C4.6758,7.1317 3.9998,8.7637 3.9998,10.4997 C3.9998,12.2367 4.6758,13.8677 5.9038,15.0957 C7.1318,16.3237 8.7638,16.9997 10.4998,16.9997 C12.0688,16.9997 13.5478,16.4437 14.7258,15.4317 L19.2958,20.0027 L20.0028,19.2957 Z"
|
|
416
|
-
})), yt = "_control_124jq_1", Et = "_countryButton_124jq_9", ft = "_chevron_124jq_25", ht = "_globeIcon_124jq_34", gt = "_searchIcon_124jq_35", bt = "_flag_124jq_44", Ot = "_phoneNumber_124jq_59", _t = "_countryOptions_124jq_85", Nt = "_option_124jq_93", St = "_countrySearch_124jq_102", Lt = "_mobileDrawer_124jq_110", It = "_name_124jq_119", Ft = "_code_124jq_123",
|
|
416
|
+
})), yt = "_control_124jq_1", Et = "_countryButton_124jq_9", ft = "_chevron_124jq_25", ht = "_globeIcon_124jq_34", gt = "_searchIcon_124jq_35", bt = "_flag_124jq_44", Ot = "_phoneNumber_124jq_59", _t = "_countryOptions_124jq_85", Nt = "_option_124jq_93", St = "_countrySearch_124jq_102", Lt = "_mobileDrawer_124jq_110", It = "_name_124jq_119", Ft = "_code_124jq_123", vt = "_mobileOverlay_124jq_140", f = {
|
|
417
417
|
control: yt,
|
|
418
418
|
countryButton: Et,
|
|
419
419
|
chevron: ft,
|
|
@@ -427,15 +427,15 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
427
427
|
mobileDrawer: Lt,
|
|
428
428
|
name: It,
|
|
429
429
|
code: Ft,
|
|
430
|
-
mobileOverlay:
|
|
431
|
-
},
|
|
430
|
+
mobileOverlay: vt
|
|
431
|
+
}, Pt = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Oe, {
|
|
432
432
|
content: e,
|
|
433
433
|
locale: n
|
|
434
434
|
}), Dt = () => /* @__PURE__ */ t.createElement("span", {
|
|
435
435
|
className: f.chevron,
|
|
436
436
|
"aria-hidden": "true"
|
|
437
437
|
}, /* @__PURE__ */ t.createElement(Je, null)), Jt = () => {
|
|
438
|
-
const e = et(b.selectOptionWithoutFocusRing, f.option, ae), n = tt(f.countrySearch), { t: r } =
|
|
438
|
+
const e = et(b.selectOptionWithoutFocusRing, f.option, ae), n = tt(f.countrySearch), { t: r } = P(), { isMobile: o, PortalContainer: a } = ue(), l = /* @__PURE__ */ t.createElement(c.CountryOptions.Search, {
|
|
439
439
|
className: n,
|
|
440
440
|
"aria-label": r("field.phone.country-search-input.aria-label")
|
|
441
441
|
}, /* @__PURE__ */ t.createElement(pt, {
|
|
@@ -457,7 +457,7 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
457
457
|
}, /* @__PURE__ */ t.createElement(c.Label.Required, {
|
|
458
458
|
className: O(Ie, b.requiredMark)
|
|
459
459
|
})), /* @__PURE__ */ t.createElement(c.Control, {
|
|
460
|
-
className: ({ hasCountryOptions: u }) => O(u ? Fe :
|
|
460
|
+
className: ({ hasCountryOptions: u }) => O(u ? Fe : ve, b.input, f.control)
|
|
461
461
|
}, /* @__PURE__ */ t.createElement(c.CountryButton, {
|
|
462
462
|
className: f.countryButton
|
|
463
463
|
}, /* @__PURE__ */ t.createElement(c.CountryButton.Flag, {
|
|
@@ -472,7 +472,7 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
472
472
|
portalContainer: a,
|
|
473
473
|
"aria-label": r("field.phone.country-code.aria-label")
|
|
474
474
|
}, l, s, i) : /* @__PURE__ */ t.createElement(c.CountryOptions.Popover, {
|
|
475
|
-
className: O(
|
|
475
|
+
className: O(Pe, b.selectPopover, f.countryOptions),
|
|
476
476
|
placement: "bottom start",
|
|
477
477
|
offset: 0,
|
|
478
478
|
"aria-label": r("field.phone.country-code.aria-label")
|
|
@@ -480,7 +480,7 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
|
|
|
480
480
|
className: O(De, b.error)
|
|
481
481
|
}, /* @__PURE__ */ t.createElement(Xe, null), /* @__PURE__ */ t.createElement(c.Error.Text, null)), /* @__PURE__ */ t.createElement(c.Description, {
|
|
482
482
|
className: O(Re, b.description)
|
|
483
|
-
},
|
|
483
|
+
}, Pt));
|
|
484
484
|
};
|
|
485
485
|
export {
|
|
486
486
|
Jt as P
|