@wix/form-elements 1.102.0 → 1.104.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-DW5YPIgy.js → appointment-rac-CCciYQ_h.js} +4 -4
- package/dist/component/{bookings-address-rac-7ODYuuSG.js → bookings-address-rac-bOPrbrFn.js} +1 -1
- package/dist/component/{bookings-email-rac-BCnhC0YX.js → bookings-email-rac-DSpy4yfX.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DvpfHse1.js → bookings-first-name-rac-Dw0U4kHG.js} +1 -1
- package/dist/component/{bookings-header-rac-Dohy9hCz.js → bookings-header-rac-Czrqn8yy.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CVDRbwd7.js → bookings-last-name-rac-CVxRqG5b.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DavjHZGh.js → bookings-login-bar-rac-s_2BlBcX.js} +1 -1
- package/dist/component/{bookings-phone-rac-Cj6Dz0vX.js → bookings-phone-rac-B2SgZsIb.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DjmnegM6.js → bookings-rich-text-rac-b3K__6c9.js} +1 -1
- package/dist/component/{checkbox-field-rac-DbJQI0lK.js → checkbox-field-rac-Gt2JioDC.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-BWCsolHw.js → checkbox-group-field-headless-cKefepGi.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-Cmc2pwQi.js → checkbox-group-field-rac-B14obB-6.js} +3 -3
- package/dist/component/{checkbox-group-rac-q3wI6hQH.js → checkbox-group-rac-B6cixM2X.js} +1 -1
- package/dist/component/{checkbox-rac-BsutELL1.js → checkbox-rac-COwblKlm.js} +1 -1
- package/dist/component/{contacts-address-rac-BUCtejza.js → contacts-address-rac-BJrwGPo4.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-1E453ZgP.js → contacts-birthdate-rac-BaotTtEN.js} +1 -1
- package/dist/component/{contacts-company-rac-DrK20x29.js → contacts-company-rac-BjTc-e_S.js} +1 -1
- package/dist/component/{contacts-email-rac-CMiWMV_P.js → contacts-email-rac-DVFF485m.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DPwXc8-1.js → contacts-first-name-rac-C4Fht3FS.js} +1 -1
- package/dist/component/{contacts-last-name-rac-CeuRsbGC.js → contacts-last-name-rac-BTbOJedX.js} +1 -1
- package/dist/component/{contacts-phone-rac-Cwjc5too.js → contacts-phone-rac-GePv5BT7.js} +1 -1
- package/dist/component/{contacts-position-rac-C8w3NNCn.js → contacts-position-rac-BZ1ASqF_.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CFejp0de.js → contacts-subscribe-rac-CmyBcsLP.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-xNks1IAv.js → contacts-tax-id-rac-A2tdbIvB.js} +1 -1
- package/dist/component/{date-availability-xTIFwK6x.js → date-availability-b1h4CrSQ.js} +1 -1
- package/dist/component/{date-input-field-rac-DcoJJUZc.js → date-input-field-rac-moOjGzUv.js} +6 -6
- package/dist/component/{date-input-rac-CnZAuOkP.js → date-input-rac-DTqZCOqB.js} +1 -1
- package/dist/component/{date-picker-field-rac-D__137lA.js → date-picker-field-rac-flB4Hw18.js} +5 -5
- package/dist/component/{date-picker-rac-DQ42fhVP.js → date-picker-rac-B2fqOP6H.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BHBAMq3g.js → date-time-input-field-rac-BtLGRGf5.js} +6 -6
- package/dist/component/{date-time-input-rac-DbIAF6nq.js → date-time-input-rac-CRfUmOim.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-Ds2w4V3q.js → dext-checkbox-group-rac-Ds4t475J.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DSidRTEl.js → dext-checkbox-rac-BC6EGH5R.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Derm4Q3d.js → dext-date-picker-rac-DyydPJyC.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BcyPuijC.js → dext-date-time-input-rac-DhssYv6t.js} +1 -1
- package/dist/component/{dext-dropdown-rac-kDuk--KF.js → dext-dropdown-rac-Bn0C1Ry8.js} +1 -1
- package/dist/component/{dext-email-rac-xys-YMg2.js → dext-email-rac-DKhk_v_w.js} +1 -1
- package/dist/component/{dext-number-input-rac-BZpAijhk.js → dext-number-input-rac-u92WD8VD.js} +1 -1
- package/dist/component/{dext-phone-rac-CMPboOsF.js → dext-phone-rac-DTzdQAe9.js} +1 -1
- package/dist/component/{dext-radio-group-rac-5h9c9bW2.js → dext-radio-group-rac-CoOYhInI.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BobDzEXB.js → dext-rating-input-rac-DPdyJsCZ.js} +1 -1
- package/dist/component/{dext-tags-rac-DoJWzkrn.js → dext-tags-rac-Bh3pQ-Ck.js} +2 -2
- package/dist/component/{dext-text-area-rac-BIRCFM2F.js → dext-text-area-rac-Cefsz8ct.js} +1 -1
- package/dist/component/{dext-text-input-rac-Bzx5hcyp.js → dext-text-input-rac-Bj_pAChP.js} +1 -1
- package/dist/component/{dext-url-input-rac-C9hlh97b.js → dext-url-input-rac-Bk_kwZzM.js} +1 -1
- package/dist/component/{donation-rac-CpEduCy1.js → donation-rac-wRWkCjYg.js} +95 -95
- package/dist/component/{dropdown-field-headless-Dcbu807N.js → dropdown-field-headless-CedOXKAH.js} +4 -4
- package/dist/component/{dropdown-field-rac-mJwCTpQA.js → dropdown-field-rac-CENh9Khw.js} +2 -2
- package/dist/component/{dropdown-rac-N5I5XU3B.js → dropdown-rac-CeCNULzS.js} +1 -1
- package/dist/component/{ecom-address-rac-_0TO5pFZ.js → ecom-address-rac-BLJ0UHrV.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DNdz6UCu.js → ecom-subscription-checkbox-rac-xJDzCasS.js} +2 -2
- package/dist/component/{email-input-field-rac-VDJC1JLs.js → email-input-field-rac-CeTVUWeX.js} +3 -3
- package/dist/component/{events-repeater-rac-CzBVzG00.js → events-repeater-rac-CT9LAF22.js} +4 -4
- package/dist/component/{events-rsvp-rac--ADJlIQz.js → events-rsvp-rac-Bu8tqcVi.js} +2 -2
- package/dist/component/{field-error-headless-_ADCIvnx.js → field-error-headless-gLZVlnQV.js} +1 -1
- package/dist/component/{field-label-headless-DiDxuhCI.js → field-label-headless-yc46NPmu.js} +1 -1
- package/dist/component/{file-upload-rac-CiYo9UQA.js → file-upload-rac-LkVTFtZb.js} +3 -3
- package/dist/component/{fixed-payment-rac-DgNVdELB.js → fixed-payment-rac-DEbV0w-8.js} +3 -3
- package/dist/component/{form-DPmF8iaT.js → form-DV231fmJ.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BuJTUp5S.js → header-field-rac-BzB5dm6C.js} +2 -2
- package/dist/component/{header-rac-BphcUkmo.js → header-rac-BzS5HfUt.js} +1 -1
- package/dist/component/{image-choice-rac-CZSMzLY2.js → image-choice-rac-8YqUqetS.js} +21 -21
- package/dist/component/{index-BEIxTlpO.js → index-BzRG28bH.js} +2 -2
- package/dist/component/{index-B0DLHSXg.js → index-CMtf-So7.js} +4 -4
- package/dist/component/{isObjectLike-DuXP52EV.js → isObjectLike--gPCPyGa.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CNJyTqJt.js → multiline-address-field-rac-CJWdu5LV.js} +7 -7
- package/dist/component/{multiline-address-rac-DG7xjt6A.js → multiline-address-rac-Cw5VweB0.js} +1 -1
- package/dist/component/{number-input-field-rac-Bj2AK7Oj.js → number-input-field-rac-D8NRpCCM.js} +4 -4
- package/dist/component/{number-input-rac-JPgr87Xh.js → number-input-rac-CM_CQHE_.js} +1 -1
- package/dist/component/{password-rac-J0ySzA6j.js → password-rac-I6vynKG4.js} +4 -4
- package/dist/component/{payment-input-rac-B1VmJQeD.js → payment-input-rac-B4rXCs7V.js} +4 -4
- package/dist/component/{phone-input-field-rac-SWP8Xkh-.js → phone-input-field-rac-B-k2e0Np.js} +6 -6
- package/dist/component/{phone-rac-BU33sXKk.js → phone-rac-D443psAx.js} +1 -1
- package/dist/component/{product-list-rac-dk3gFLyb.js → product-list-rac-B6qUWxkz.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-BFlVZj9U.js → quiz-radio-group-rac-DdPJQmV5.js} +1 -1
- package/dist/component/{radio-button-module-classes-DgiY7sw3.js → radio-button-module-classes--on7xGzb.js} +3 -3
- package/dist/component/{radio-group-field-rac-qD-GQu2A.js → radio-group-field-rac-CjiGr1rO.js} +3 -3
- package/dist/component/{radio-group-rac-CIY9Gj99.js → radio-group-rac-CjbSQydw.js} +1 -1
- package/dist/component/{rating-input-field-rac-BVWuvhkf.js → rating-input-field-rac-yVgqxBKi.js} +4 -4
- package/dist/component/{rating-input-rac-C3HFmqHX.js → rating-input-rac-D6BKC4oS.js} +1 -1
- package/dist/component/{rich-content-rac.module-QBgwAjEA.js → rich-content-rac.module-Ca4LYv7k.js} +1 -1
- package/dist/component/{rich-text-field-rac-BohVUJm1.js → rich-text-field-rac-DIeBS-ux.js} +2 -2
- package/dist/component/{rich-text-rac-BST0y6Gq.js → rich-text-rac-BgjP0ngh.js} +1 -1
- package/dist/component/{service-dropdown-rac-DZSY9T2v.js → service-dropdown-rac-DjOMT7dx.js} +4 -4
- package/dist/component/{services-multi-choice-rac-hD8TI7n7.js → services-multi-choice-rac-C0Rp9Sng.js} +5 -5
- package/dist/component/{signature-rac-D9G6D7Pa.js → signature-rac-CFT-Fni_.js} +3 -3
- package/dist/component/{submit-button-rac-D4vOTaQ9.js → submit-button-rac-BOluGZI0.js} +1 -1
- package/dist/component/{tags-field-rac-CoNoLUAV.js → tags-field-rac-CP0RS4SG.js} +63 -66
- package/dist/component/{tags-rac-BGT8KWvN.js → tags-rac-Dtp3VCKk.js} +1 -1
- package/dist/component/{text-area-field-rac-x-LWaPSL.js → text-area-field-rac-DUKg8kgN.js} +4 -4
- package/dist/component/{text-area-rac-B0KN3TR1.js → text-area-rac-Clh7zMTL.js} +1 -1
- package/dist/component/{text-input-field-rac-DH5j0Tvv.js → text-input-field-rac-DY60Q6da.js} +2 -2
- package/dist/component/{text-input-headless-Slo-xa7H.js → text-input-headless-BBv0nukI.js} +3 -3
- package/dist/component/{text-input-rac-_VrGU08X.js → text-input-rac-FVD6iJ1i.js} +1 -1
- package/dist/component/{time-input-rac-DS5uFTDp.js → time-input-rac-DsctZB28.js} +4 -4
- package/dist/component/{url-input-field-rac-yCewMKD-.js → url-input-field-rac-Du4HlhH3.js} +4 -4
- package/dist/component/{url-input-rac-D7cuZG08.js → url-input-rac-3QPdK0xz.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DbjgH9K1.js → use-dropdown-option-class-name-Bze6ghRl.js} +1 -1
- package/dist/component/{use-element-state-class-name-C2_dMWlH.js → use-element-state-class-name-4CDAF1S-.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-VcOCKx-3.js → use-is-forced-open-dropdown--w4f5dWP.js} +1 -1
- package/dist/component/{use-service-options-base-Cu9nE-aZ.js → use-service-options-base-9vUuIThY.js} +1 -1
- package/dist/component/{use-text-input-class-name-DMokiXwB.js → use-text-input-class-name-Ch91llI_.js} +2 -2
- package/package.json +2 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import n, { useMemo as
|
|
2
|
-
import { RicosViewer as
|
|
1
|
+
import n, { useMemo as M, useCallback as D, useRef as re } from "react";
|
|
2
|
+
import { RicosViewer as se } from "@wix/ricos/viewer";
|
|
3
3
|
import F from "classnames";
|
|
4
|
-
import { RadioGroup as
|
|
4
|
+
import { RadioGroup as ae, RadioField as Y, RadioButton as Q, TextField as le, Group as ie, Input as ce } from "react-aria-components";
|
|
5
5
|
import { debounce as ue } from "ts-debounce";
|
|
6
|
-
import { P as W, ak as L, ah as
|
|
7
|
-
import { f, a as b } from "./find-child-C60k4CxG.js";
|
|
6
|
+
import { P as W, ak as L, ah as B, au as me, ac as j, am as pe } from "./form-DV231fmJ.js";
|
|
7
|
+
import { f as E, a as b } from "./find-child-C60k4CxG.js";
|
|
8
8
|
import { a as z } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as de, E as
|
|
10
|
-
import { L as
|
|
11
|
-
import { a as
|
|
9
|
+
import { D as de, E as fe } from "./field-error-headless-gLZVlnQV.js";
|
|
10
|
+
import { L as Ce } from "./field-label-headless-yc46NPmu.js";
|
|
11
|
+
import { a as Ie, b as Ee } from "./numeric-input-utils-CuBMi4-a.js";
|
|
12
12
|
import { g as he } from "./payment-field-utils-DobiK5Xh.js";
|
|
13
13
|
import { u as Oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
14
14
|
import { E as _e } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { s as S } from "./field-rac.module-DobpyqOd.js";
|
|
16
16
|
import { C as ye, S as be, k as ge, r as Ne, j as Fe, l as De } from "./form-element-classes-BtKlobUX.js";
|
|
17
17
|
import { o as G } from "./options-rac.module-CTDdATiz.js";
|
|
18
|
-
import { u as Se } from "./use-element-state-class-name-
|
|
19
|
-
import { u as ve } from "./use-text-input-class-name-
|
|
18
|
+
import { u as Se } from "./use-element-state-class-name-4CDAF1S-.js";
|
|
19
|
+
import { u as ve } from "./use-text-input-class-name-Ch91llI_.js";
|
|
20
20
|
function Re(e, t) {
|
|
21
21
|
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
22
22
|
}
|
|
@@ -24,7 +24,7 @@ function Le(e) {
|
|
|
24
24
|
return Re(e, "id");
|
|
25
25
|
}
|
|
26
26
|
const Ae = 0.01;
|
|
27
|
-
function
|
|
27
|
+
function Te(e) {
|
|
28
28
|
var t;
|
|
29
29
|
return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
|
|
30
30
|
}
|
|
@@ -36,53 +36,53 @@ function J(e, t) {
|
|
|
36
36
|
quantity: 1
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function Pe(e) {
|
|
40
40
|
return e.find((t) => t.priceType === W.DYNAMIC_PRICE);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function xe(e, t) {
|
|
43
43
|
return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
const r = (t == null ? void 0 : t.productId) === e ? void 0 : e,
|
|
47
|
-
return
|
|
48
|
-
J(
|
|
45
|
+
function Me(e, t, o) {
|
|
46
|
+
const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
|
|
47
|
+
return a ? [
|
|
48
|
+
J(a, Te(a))
|
|
49
49
|
] : [];
|
|
50
50
|
}
|
|
51
|
-
const
|
|
52
|
-
const { id: t, value: o, onChange: r, disabled:
|
|
53
|
-
var
|
|
54
|
-
return ((
|
|
51
|
+
const s = ({ children: e }) => {
|
|
52
|
+
const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: f, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: y } = L(), { labelId: O } = B(), { t: C } = me(), { currency: A, regionalFormat: g } = j(), d = o == null ? void 0 : o[0], N = M(() => {
|
|
53
|
+
var I, x;
|
|
54
|
+
return ((x = (I = i == null ? void 0 : i.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : x.products) || [];
|
|
55
55
|
}, [
|
|
56
56
|
i
|
|
57
|
-
]),
|
|
57
|
+
]), T = M(() => Le(N), [
|
|
58
58
|
N
|
|
59
|
-
]), l =
|
|
59
|
+
]), l = M(() => p ? Pe(N) : void 0, [
|
|
60
60
|
N,
|
|
61
61
|
p
|
|
62
|
-
]), K =
|
|
62
|
+
]), K = xe(d, l), [k, P] = Oe({
|
|
63
63
|
sourceValue: K,
|
|
64
|
-
format: (
|
|
64
|
+
format: (I) => Ee(String(I ?? ""), g),
|
|
65
65
|
regionalFormat: g
|
|
66
|
-
}), q = D((
|
|
67
|
-
r(
|
|
66
|
+
}), q = D((I) => {
|
|
67
|
+
r(Me(I, d, T)), P("");
|
|
68
68
|
}, [
|
|
69
69
|
r,
|
|
70
|
-
|
|
70
|
+
T,
|
|
71
71
|
d,
|
|
72
|
-
|
|
73
|
-
]), U = D((
|
|
74
|
-
l && r(typeof
|
|
75
|
-
J(l, String(
|
|
72
|
+
P
|
|
73
|
+
]), U = D((I) => {
|
|
74
|
+
l && r(typeof I == "number" ? [
|
|
75
|
+
J(l, String(I))
|
|
76
76
|
] : []);
|
|
77
77
|
}, [
|
|
78
78
|
r,
|
|
79
79
|
l
|
|
80
|
-
]), $ =
|
|
80
|
+
]), $ = M(() => ue(U, 500), [
|
|
81
81
|
U
|
|
82
|
-
]), X = D((
|
|
82
|
+
]), X = D((I) => {
|
|
83
83
|
(d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
|
|
84
|
-
const { validInput:
|
|
85
|
-
|
|
84
|
+
const { validInput: x, validNumber: oe } = Ie(I.target.value, Ae, k, g);
|
|
85
|
+
P(x), $(oe);
|
|
86
86
|
}, [
|
|
87
87
|
g,
|
|
88
88
|
r,
|
|
@@ -90,47 +90,47 @@ const a = ({ children: e }) => {
|
|
|
90
90
|
l,
|
|
91
91
|
k,
|
|
92
92
|
$,
|
|
93
|
-
|
|
93
|
+
P
|
|
94
94
|
]), w = (d == null ? void 0 : d.productId) || null, Z = D(() => {
|
|
95
95
|
l != null && l.id && w !== l.id && q(l.id);
|
|
96
96
|
}, [
|
|
97
97
|
l == null ? void 0 : l.id,
|
|
98
98
|
w,
|
|
99
99
|
q
|
|
100
|
-
]), ee =
|
|
100
|
+
]), ee = E(e, s.Label), V = E(e, s.Control), te = E(e, s.Description), ne = E(e, s.Error);
|
|
101
101
|
return /* @__PURE__ */ n.createElement(h, {
|
|
102
102
|
fieldId: t,
|
|
103
103
|
renderLabel: () => ee,
|
|
104
|
-
renderInput: () => /* @__PURE__ */ n.createElement(
|
|
104
|
+
renderInput: () => /* @__PURE__ */ n.createElement(ae, {
|
|
105
105
|
"aria-labelledby": O,
|
|
106
106
|
value: w,
|
|
107
107
|
onChange: q,
|
|
108
|
-
isDisabled:
|
|
108
|
+
isDisabled: a,
|
|
109
109
|
isInvalid: y,
|
|
110
110
|
isRequired: u,
|
|
111
111
|
onBlur: m,
|
|
112
|
-
onFocus:
|
|
112
|
+
onFocus: f
|
|
113
113
|
}, V ? b(V, {
|
|
114
|
-
productsById:
|
|
114
|
+
productsById: T,
|
|
115
115
|
addOther: p,
|
|
116
116
|
customAmount: k,
|
|
117
117
|
onCustomAmountInputChange: X,
|
|
118
118
|
currency: A,
|
|
119
|
-
t:
|
|
120
|
-
placeholder: c === void 0 ?
|
|
119
|
+
t: C,
|
|
120
|
+
placeholder: c === void 0 ? C("donation.other-option.placeholder") : c,
|
|
121
121
|
customAmountProductId: l == null ? void 0 : l.id,
|
|
122
122
|
onFocusCustomInput: Z
|
|
123
123
|
}) : null),
|
|
124
124
|
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, ne, te)
|
|
125
125
|
});
|
|
126
|
-
},
|
|
127
|
-
const { productsById: r, addOther:
|
|
126
|
+
}, Be = ({ children: e, className: t, ...o }) => {
|
|
127
|
+
const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: f, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: y } = L(), O = E(e, s.Options), C = E(e, s.OtherInput);
|
|
128
128
|
return /* @__PURE__ */ n.createElement("div", {
|
|
129
129
|
className: t,
|
|
130
130
|
"data-invalid": y
|
|
131
131
|
}, O ? b(O, {
|
|
132
132
|
productsById: r
|
|
133
|
-
}) : null,
|
|
133
|
+
}) : null, a && c && /* @__PURE__ */ n.createElement(Y, {
|
|
134
134
|
value: c,
|
|
135
135
|
style: {
|
|
136
136
|
position: "absolute",
|
|
@@ -145,41 +145,41 @@ const a = ({ children: e }) => {
|
|
|
145
145
|
}
|
|
146
146
|
}, /* @__PURE__ */ n.createElement(Q, {
|
|
147
147
|
"aria-label": i("donation.other-option.label", "Custom amount")
|
|
148
|
-
}, i("donation.other-option.label", "Custom amount"))),
|
|
148
|
+
}, i("donation.other-option.label", "Custom amount"))), C && a ? b(C, {
|
|
149
149
|
customAmount: u,
|
|
150
150
|
onCustomAmountInputChange: m,
|
|
151
|
-
currency:
|
|
151
|
+
currency: f,
|
|
152
152
|
t: i,
|
|
153
153
|
placeholder: p,
|
|
154
154
|
customAmountProductId: c,
|
|
155
155
|
onFocusCustomInput: h
|
|
156
156
|
}) : null);
|
|
157
157
|
}, H = ({ children: e, className: t, ...o }) => {
|
|
158
|
-
const { productsById: r } = o, { options:
|
|
158
|
+
const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = E(e, H.Option);
|
|
159
159
|
return /* @__PURE__ */ n.createElement("div", {
|
|
160
160
|
className: t,
|
|
161
161
|
"data-columns": u
|
|
162
|
-
},
|
|
162
|
+
}, a.map((f) => {
|
|
163
163
|
var c;
|
|
164
|
-
const i = r[
|
|
164
|
+
const i = r[f.value], p = (c = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : c.price;
|
|
165
165
|
return b(m, {
|
|
166
|
-
key:
|
|
167
|
-
value:
|
|
166
|
+
key: f.value,
|
|
167
|
+
value: f.value,
|
|
168
168
|
price: p || "0"
|
|
169
169
|
});
|
|
170
170
|
}));
|
|
171
171
|
}, v = ({ children: e, className: t, ...o }) => {
|
|
172
|
-
const { value: r, price:
|
|
173
|
-
amount:
|
|
172
|
+
const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: f } = j(), i = E(e, v.Value), p = E(e, v.Currency), { isCurrencyPrefixed: c } = z({
|
|
173
|
+
amount: a,
|
|
174
174
|
currency: m == null ? void 0 : m.code,
|
|
175
|
-
locale:
|
|
175
|
+
locale: f
|
|
176
176
|
}), h = re(null);
|
|
177
177
|
pe(() => {
|
|
178
|
-
var O,
|
|
179
|
-
(
|
|
178
|
+
var O, C;
|
|
179
|
+
(C = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || C.focus();
|
|
180
180
|
}, u);
|
|
181
181
|
const y = i ? b(i, {
|
|
182
|
-
price:
|
|
182
|
+
price: a
|
|
183
183
|
}) : null;
|
|
184
184
|
return /* @__PURE__ */ n.createElement(Y, {
|
|
185
185
|
value: r
|
|
@@ -187,32 +187,32 @@ const a = ({ children: e }) => {
|
|
|
187
187
|
className: t,
|
|
188
188
|
ref: h
|
|
189
189
|
}, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, y, !c && p)));
|
|
190
|
-
},
|
|
191
|
-
const { price: o } = t, { currency: r, regionalFormat:
|
|
190
|
+
}, je = ({ className: e, ...t }) => {
|
|
191
|
+
const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = z({
|
|
192
192
|
amount: o,
|
|
193
193
|
currency: r == null ? void 0 : r.code,
|
|
194
|
-
locale:
|
|
194
|
+
locale: a
|
|
195
195
|
});
|
|
196
196
|
return /* @__PURE__ */ n.createElement("span", {
|
|
197
197
|
className: e
|
|
198
198
|
}, u);
|
|
199
199
|
}, ke = ({ className: e }) => {
|
|
200
|
-
const { currency: t } =
|
|
200
|
+
const { currency: t } = j();
|
|
201
201
|
return /* @__PURE__ */ n.createElement("span", {
|
|
202
202
|
className: e
|
|
203
203
|
}, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
|
|
204
204
|
};
|
|
205
|
-
v.Value =
|
|
205
|
+
v.Value = je;
|
|
206
206
|
v.Currency = ke;
|
|
207
207
|
const R = ({ children: e, className: t, ...o }) => {
|
|
208
|
-
const { customAmount: r, onCustomAmountInputChange:
|
|
209
|
-
|
|
208
|
+
const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: f, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: y, prefixId: O } = B(), C = E(e, R.Currency), A = E(e, R.Value), g = D((N) => {
|
|
209
|
+
a({
|
|
210
210
|
target: {
|
|
211
211
|
value: N
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
}, [
|
|
215
|
-
|
|
215
|
+
a
|
|
216
216
|
]), d = D(() => {
|
|
217
217
|
p();
|
|
218
218
|
}, [
|
|
@@ -229,27 +229,27 @@ const R = ({ children: e, className: t, ...o }) => {
|
|
|
229
229
|
className: t,
|
|
230
230
|
isDisabled: c,
|
|
231
231
|
isInvalid: h
|
|
232
|
-
}, r && u &&
|
|
232
|
+
}, r && u && C ? b(C, {
|
|
233
233
|
currency: u,
|
|
234
234
|
t: m
|
|
235
235
|
}) : null, A ? b(A, {
|
|
236
|
-
placeholder:
|
|
236
|
+
placeholder: f,
|
|
237
237
|
customAmountProductId: i
|
|
238
238
|
}) : null));
|
|
239
239
|
}, qe = ({ className: e, ...t }) => {
|
|
240
|
-
const { currency: o, t: r } = t, { prefixId:
|
|
240
|
+
const { currency: o, t: r } = t, { prefixId: a } = B();
|
|
241
241
|
return /* @__PURE__ */ n.createElement("span", {
|
|
242
|
-
id:
|
|
242
|
+
id: a,
|
|
243
243
|
"aria-hidden": !1,
|
|
244
244
|
"aria-label": he(r, o),
|
|
245
245
|
className: e
|
|
246
246
|
}, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
|
|
247
247
|
}, we = ({ className: e, ...t }) => {
|
|
248
|
-
const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy:
|
|
248
|
+
const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: a, labelId: u, prefixId: m } = B();
|
|
249
249
|
return /* @__PURE__ */ n.createElement(ce, {
|
|
250
250
|
id: r,
|
|
251
251
|
"aria-labelledby": `${u} ${m}`,
|
|
252
|
-
"aria-describedby":
|
|
252
|
+
"aria-describedby": a,
|
|
253
253
|
placeholder: o,
|
|
254
254
|
inputMode: "decimal",
|
|
255
255
|
autoComplete: "off",
|
|
@@ -259,13 +259,13 @@ const R = ({ children: e, className: t, ...o }) => {
|
|
|
259
259
|
R.Currency = qe;
|
|
260
260
|
R.Value = we;
|
|
261
261
|
H.Option = v;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
const He = "
|
|
262
|
+
s.Label = Ce;
|
|
263
|
+
s.Control = Be;
|
|
264
|
+
s.Options = H;
|
|
265
|
+
s.OtherInput = R;
|
|
266
|
+
s.Description = de;
|
|
267
|
+
s.Error = fe;
|
|
268
|
+
const He = "_control_1fjsf_1", Ue = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Qe = "_otherInput_1fjsf_98", We = "_otherInputCurrency_1fjsf_117", _ = {
|
|
269
269
|
control: He,
|
|
270
270
|
options: Ue,
|
|
271
271
|
option: $e,
|
|
@@ -274,7 +274,7 @@ const He = "_control_1jl2j_1", Ue = "_options_1jl2j_7", $e = "_option_1jl2j_7",
|
|
|
274
274
|
optionCurrency: Ye,
|
|
275
275
|
otherInput: Qe,
|
|
276
276
|
otherInputCurrency: We
|
|
277
|
-
}, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(
|
|
277
|
+
}, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(se, {
|
|
278
278
|
content: e,
|
|
279
279
|
locale: t
|
|
280
280
|
}), Je = {
|
|
@@ -286,33 +286,33 @@ const He = "_control_1jl2j_1", Ue = "_options_1jl2j_7", $e = "_option_1jl2j_7",
|
|
|
286
286
|
globalClasses: De,
|
|
287
287
|
moduleClasses: Je
|
|
288
288
|
});
|
|
289
|
-
return /* @__PURE__ */ n.createElement(
|
|
289
|
+
return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
|
|
290
290
|
className: F(ye, S.label)
|
|
291
|
-
}, /* @__PURE__ */ n.createElement(
|
|
291
|
+
}, /* @__PURE__ */ n.createElement(s.Label.Required, {
|
|
292
292
|
className: F(be, S.requiredMark)
|
|
293
|
-
})), /* @__PURE__ */ n.createElement(
|
|
293
|
+
})), /* @__PURE__ */ n.createElement(s.Control, {
|
|
294
294
|
className: F(_.control, G.group)
|
|
295
|
-
}, /* @__PURE__ */ n.createElement(
|
|
295
|
+
}, /* @__PURE__ */ n.createElement(s.Options, {
|
|
296
296
|
className: F(ge, G.options, _.options)
|
|
297
|
-
}, /* @__PURE__ */ n.createElement(
|
|
297
|
+
}, /* @__PURE__ */ n.createElement(s.Options.Option, {
|
|
298
298
|
className: ({ isSelected: o, isHovered: r }) => t({
|
|
299
299
|
isSelected: o,
|
|
300
300
|
isHovered: r
|
|
301
301
|
})
|
|
302
|
-
}, /* @__PURE__ */ n.createElement(
|
|
302
|
+
}, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
|
|
303
303
|
className: _.optionCurrency
|
|
304
|
-
}))), /* @__PURE__ */ n.createElement(
|
|
304
|
+
}))), /* @__PURE__ */ n.createElement(s.OtherInput, {
|
|
305
305
|
className: e
|
|
306
|
-
}, /* @__PURE__ */ n.createElement(
|
|
306
|
+
}, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
|
|
307
307
|
className: _.otherInputCurrency
|
|
308
|
-
}), /* @__PURE__ */ n.createElement(
|
|
308
|
+
}), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
|
|
309
309
|
className: S.innerInput
|
|
310
|
-
}))), /* @__PURE__ */ n.createElement(
|
|
310
|
+
}))), /* @__PURE__ */ n.createElement(s.Error, {
|
|
311
311
|
className: F(Ne, S.error)
|
|
312
|
-
}, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(
|
|
312
|
+
}, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
|
|
313
313
|
className: F(Fe, S.description)
|
|
314
314
|
}, ze));
|
|
315
|
-
},
|
|
315
|
+
}, Et = () => /* @__PURE__ */ n.createElement(Ke, null);
|
|
316
316
|
export {
|
|
317
|
-
|
|
317
|
+
Et as DonationRAC
|
|
318
318
|
};
|
package/dist/component/{dropdown-field-headless-Dcbu807N.js → dropdown-field-headless-CedOXKAH.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e, { useState as g, useCallback as b, useRef as A } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as M } from "react-aria";
|
|
3
3
|
import { Select as U, SelectValue as _, ListBox as j, ListBoxItem as z } from "react-aria-components";
|
|
4
|
-
import { ak as f, ah as O, am as G } from "./form-
|
|
4
|
+
import { ak as f, ah as O, am as G } from "./form-DV231fmJ.js";
|
|
5
5
|
import { f as d, a as F } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as H, E as J } from "./field-error-headless-
|
|
7
|
-
import { L as K } from "./field-label-headless-
|
|
6
|
+
import { D as H, E as J } from "./field-error-headless-gLZVlnQV.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-yc46NPmu.js";
|
|
8
8
|
import { S as Q, N as W } from "./non-modal-popover-DtIMXHbe.js";
|
|
9
|
-
import { u as X } from "./use-is-forced-open-dropdown
|
|
9
|
+
import { u as X } from "./use-is-forced-open-dropdown--w4f5dWP.js";
|
|
10
10
|
const r = ({ children: n }) => {
|
|
11
11
|
const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: t, placeholder: m, disabled: i, required: v, onBlur: y, onFocus: D, FieldLayout: h, hasError: C } = f(), [I, L] = g(!1), p = X(l), [B, N] = g(null), P = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: S } = O(), T = b((c) => {
|
|
12
12
|
o || t(typeof c == "string" ? c : null);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t 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-CedOXKAH.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-DobpyqOd.js";
|
|
9
9
|
import { C as E, S as i, n as p, E as _, r as R, j as D } from "./form-element-classes-BtKlobUX.js";
|
|
10
|
-
import { u as O } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { u as O } from "./use-dropdown-option-class-name-Bze6ghRl.js";
|
|
11
11
|
const S = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: a,
|
|
13
13
|
locale: s
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o, { useMemo as a } from "react";
|
|
2
|
-
import { ak as n, au as c, h as i } from "./form-
|
|
3
|
-
import { C } from "./checkbox-field-rac-
|
|
2
|
+
import { ak as n, au as c, h as i } from "./form-DV231fmJ.js";
|
|
3
|
+
import { C } from "./checkbox-field-rac-Gt2JioDC.js";
|
|
4
4
|
import { p, q as l, o as m } from "./form-element-classes-BtKlobUX.js";
|
|
5
5
|
const _ = (e) => ({
|
|
6
6
|
nodes: [
|
package/dist/component/{email-input-field-rac-VDJC1JLs.js → email-input-field-rac-CeTVUWeX.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 { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-
|
|
5
|
+
import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-DV231fmJ.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,11 +10,11 @@ import Oe from "@babel/runtime/helpers/defineProperty";
|
|
|
10
10
|
import he from "html-parse-stringify";
|
|
11
11
|
import Ie from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import Ne from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as U } from "./text-input-headless-
|
|
13
|
+
import { T as U } from "./text-input-headless-BBv0nukI.js";
|
|
14
14
|
import { E as Ae } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { s as H } from "./field-rac.module-DobpyqOd.js";
|
|
16
16
|
import { C as ke, S as Fe, r as Te, j as xe, _ as je } from "./form-element-classes-BtKlobUX.js";
|
|
17
|
-
import { u as De } from "./use-text-input-class-name-
|
|
17
|
+
import { u as De } from "./use-text-input-class-name-Ch91llI_.js";
|
|
18
18
|
var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
|
|
19
19
|
"&": "&",
|
|
20
20
|
"&": "&",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import t, { useState as $, useMemo as B, useCallback as T, useRef as M } from "react";
|
|
2
2
|
import k from "classnames";
|
|
3
3
|
import { NumberField as q, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
|
|
4
|
-
import { aq as U, ar as z, ag as H, al as K, v as Z, ak as L, ah as P, am as X, j as ee } from "./form-
|
|
4
|
+
import { aq as U, ar as z, ag as H, al as K, v as Z, ak as L, ah as P, am as X, j as ee } from "./form-DV231fmJ.js";
|
|
5
5
|
import { f as C, a as y } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { L as te } from "./field-label-headless-
|
|
6
|
+
import { L as te } from "./field-label-headless-yc46NPmu.js";
|
|
7
7
|
import { S as se } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
9
9
|
import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
|
|
10
10
|
import { C as oe } from "./checkbox-indicator-module-classes-DhbNznSB.js";
|
|
11
11
|
import { s as v } from "./field-rac.module-DobpyqOd.js";
|
|
12
12
|
import { C as re, s as ae, u as le, t as ce } from "./form-element-classes-BtKlobUX.js";
|
|
13
|
-
import { u as ue } from "./use-element-state-class-name-
|
|
14
|
-
import { u as me } from "./use-text-input-class-name-
|
|
13
|
+
import { u as ue } from "./use-element-state-class-name-4CDAF1S-.js";
|
|
14
|
+
import { u as me } from "./use-text-input-class-name-Ch91llI_.js";
|
|
15
15
|
const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
|
|
16
16
|
const [m, i] = $((o == null ? void 0 : o.length) || 0), u = B(() => o ?? [], [
|
|
17
17
|
o
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
3
3
|
import s from "classnames";
|
|
4
|
-
import { a, s as o, R as c } from "./radio-button-module-classes
|
|
4
|
+
import { a, s as o, R as c } from "./radio-button-module-classes--on7xGzb.js";
|
|
5
5
|
import { E } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as l } from "./field-rac.module-DobpyqOd.js";
|
|
7
7
|
import { C as i, S as p, T as R, U as _, r as O, j as L, V as S } from "./form-element-classes-BtKlobUX.js";
|
|
8
|
-
import { u as N } from "./use-element-state-class-name-
|
|
8
|
+
import { u as N } from "./use-element-state-class-name-4CDAF1S-.js";
|
|
9
9
|
const e = ({ children: r, className: n }) => /* @__PURE__ */ t.createElement(a, {
|
|
10
10
|
className: n
|
|
11
11
|
}, r);
|
package/dist/component/{field-error-headless-_ADCIvnx.js → field-error-headless-gLZVlnQV.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t, { createContext as m, useContext as M } from "react";
|
|
2
|
-
import { ak as c, ah as i, ac as f, U as h, W as x } from "./form-
|
|
2
|
+
import { ak as c, ah as i, ac as f, U as h, W as x } from "./form-DV231fmJ.js";
|
|
3
3
|
const N = ({ className: r, children: e }) => {
|
|
4
4
|
const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
|
|
5
5
|
return s ? /* @__PURE__ */ t.createElement("div", {
|
package/dist/component/{field-label-headless-DiDxuhCI.js → field-label-headless-yc46NPmu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as m, R as d, r as p, ah as D, au as B } from "./form-
|
|
1
|
+
import { ak as m, R as d, r as p, ah as D, au as B } from "./form-DV231fmJ.js";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { f as L } from "./find-child-C60k4CxG.js";
|
|
4
4
|
import { sdk as R } from "@wix/image-kit";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import t, { useState as Q, useRef as V, useMemo as oe, useEffect as se, useCallback as P, createContext as pe, useContext as fe } from "react";
|
|
2
2
|
import { RicosViewer as Ee } from "@wix/ricos/viewer";
|
|
3
3
|
import B from "classnames";
|
|
4
|
-
import { ag as Fe, au as ie, ap as ge, i as he, as as xe, e as re, at as be, ah as ce, ak as j, am as Ce } from "./form-
|
|
4
|
+
import { ag as Fe, au as ie, ap as ge, i as he, as as xe, e as re, at as be, ah as ce, ak as j, am as Ce } from "./form-DV231fmJ.js";
|
|
5
5
|
import { E as Le } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as I } from "./field-rac.module-DobpyqOd.js";
|
|
7
7
|
import { C as ne, S as De, a3 as Ne, j as ae, r as le } from "./form-element-classes-BtKlobUX.js";
|
|
8
8
|
import { f as h, a as z } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { b as ve, a as ye, D as _e, E as Te } from "./field-error-headless-
|
|
10
|
-
import { L as Be } from "./field-label-headless-
|
|
9
|
+
import { b as ve, a as ye, D as _e, E as Te } from "./field-error-headless-gLZVlnQV.js";
|
|
10
|
+
import { L as Be } from "./field-label-headless-yc46NPmu.js";
|
|
11
11
|
import { DropZone as Re, Text as Se, FileTrigger as Me, Button as de, ProgressBar as Ie } from "react-aria-components";
|
|
12
12
|
const we = {
|
|
13
13
|
Video: "video/*",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import t, { useMemo as b } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { ak as C, ac as I, ah as P } from "./form-
|
|
4
|
+
import { ak as C, ac as I, ah as P } from "./form-DV231fmJ.js";
|
|
5
5
|
import { f as c, a as O } from "./find-child-C60k4CxG.js";
|
|
6
6
|
import { f as S } from "./format-currency-BwShJ9vM.js";
|
|
7
|
-
import { D as x, E as N } from "./field-error-headless-
|
|
8
|
-
import { L as R } from "./field-label-headless-
|
|
7
|
+
import { D as x, E as N } from "./field-error-headless-gLZVlnQV.js";
|
|
8
|
+
import { L as R } from "./field-label-headless-yc46NPmu.js";
|
|
9
9
|
import { s as L } from "./field-rac.module-DobpyqOd.js";
|
|
10
10
|
import { C as v, D as M, j as g } from "./form-element-classes-BtKlobUX.js";
|
|
11
11
|
const e = ({ children: r }) => {
|