@wix/form-elements 1.100.0 → 1.102.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-CP8gfFze.js → appointment-rac-DW5YPIgy.js} +4 -4
- package/dist/component/{bookings-address-rac-CWs0gEUJ.js → bookings-address-rac-7ODYuuSG.js} +1 -1
- package/dist/component/{bookings-email-rac-D-HYHHg-.js → bookings-email-rac-BCnhC0YX.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Sk9e2_l9.js → bookings-first-name-rac-DvpfHse1.js} +1 -1
- package/dist/component/{bookings-header-rac-idz-09i9.js → bookings-header-rac-Dohy9hCz.js} +1 -1
- package/dist/component/{bookings-last-name-rac-C4cCmRVy.js → bookings-last-name-rac-CVDRbwd7.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BdVG5M2b.js → bookings-login-bar-rac-DavjHZGh.js} +1 -1
- package/dist/component/{bookings-phone-rac-D09RuttH.js → bookings-phone-rac-Cj6Dz0vX.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-Ci26IHTA.js → bookings-rich-text-rac-DjmnegM6.js} +1 -1
- package/dist/component/{checkbox-field-rac-Blko_wMR.js → checkbox-field-rac-DbJQI0lK.js} +4 -4
- package/dist/component/checkbox-group-field-headless-BWCsolHw.js +205 -0
- package/dist/component/{checkbox-group-field-rac-BtPnVYiW.js → checkbox-group-field-rac-Cmc2pwQi.js} +7 -5
- package/dist/component/{checkbox-group-rac-eyClfhOO.js → checkbox-group-rac-q3wI6hQH.js} +1 -1
- package/dist/component/{checkbox-rac-I0i6q5tn.js → checkbox-rac-BsutELL1.js} +1 -1
- package/dist/component/{contacts-address-rac-8UPBA_Nx.js → contacts-address-rac-BUCtejza.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BuMsx4tn.js → contacts-birthdate-rac-1E453ZgP.js} +1 -1
- package/dist/component/{contacts-company-rac-C4GszTsX.js → contacts-company-rac-DrK20x29.js} +1 -1
- package/dist/component/{contacts-email-rac-BdNzRUNL.js → contacts-email-rac-CMiWMV_P.js} +1 -1
- package/dist/component/{contacts-first-name-rac-D7otJsfF.js → contacts-first-name-rac-DPwXc8-1.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DE2dfvRQ.js → contacts-last-name-rac-CeuRsbGC.js} +1 -1
- package/dist/component/{contacts-phone-rac-C-P4QUzI.js → contacts-phone-rac-Cwjc5too.js} +1 -1
- package/dist/component/{contacts-position-rac-CD_mT8at.js → contacts-position-rac-C8w3NNCn.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CyBwegiP.js → contacts-subscribe-rac-CFejp0de.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BVwa6_pq.js → contacts-tax-id-rac-xNks1IAv.js} +1 -1
- package/dist/component/{date-availability-6u7UHGAa.js → date-availability-xTIFwK6x.js} +1 -1
- package/dist/component/{date-input-field-rac-Dpb3imSq.js → date-input-field-rac-DcoJJUZc.js} +6 -6
- package/dist/component/{date-input-rac-CaRUO8qF.js → date-input-rac-CnZAuOkP.js} +1 -1
- package/dist/component/{date-picker-field-rac-BuZ2Vdqw.js → date-picker-field-rac-D__137lA.js} +5 -5
- package/dist/component/{date-picker-rac-CQ0HLYC_.js → date-picker-rac-DQ42fhVP.js} +1 -1
- package/dist/component/{date-time-input-field-rac-D-6fSa7K.js → date-time-input-field-rac-BHBAMq3g.js} +6 -6
- package/dist/component/{date-time-input-rac-DJvGnasb.js → date-time-input-rac-DbIAF6nq.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-4Xv2Yx1Q.js → dext-checkbox-group-rac-Ds2w4V3q.js} +2 -2
- package/dist/component/{dext-checkbox-rac-MUiHjntT.js → dext-checkbox-rac-DSidRTEl.js} +1 -1
- package/dist/component/{dext-date-picker-rac-B7V77fPs.js → dext-date-picker-rac-Derm4Q3d.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-LDrnt4fH.js → dext-date-time-input-rac-BcyPuijC.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BP83OElK.js → dext-dropdown-rac-kDuk--KF.js} +1 -1
- package/dist/component/{dext-email-rac-Bi9qANCo.js → dext-email-rac-xys-YMg2.js} +1 -1
- package/dist/component/{dext-number-input-rac-BU4SEily.js → dext-number-input-rac-BZpAijhk.js} +1 -1
- package/dist/component/{dext-phone-rac-D5s8DrCc.js → dext-phone-rac-CMPboOsF.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DaTuyxUL.js → dext-radio-group-rac-5h9c9bW2.js} +2 -2
- package/dist/component/{dext-rating-input-rac-CfMKqHHZ.js → dext-rating-input-rac-BobDzEXB.js} +1 -1
- package/dist/component/{dext-tags-rac-CyFzVZFw.js → dext-tags-rac-DoJWzkrn.js} +2 -2
- package/dist/component/{dext-text-area-rac-D-kfFMUj.js → dext-text-area-rac-BIRCFM2F.js} +1 -1
- package/dist/component/{dext-text-input-rac-BOFj2FyN.js → dext-text-input-rac-Bzx5hcyp.js} +1 -1
- package/dist/component/{dext-url-input-rac-BGPDEwNb.js → dext-url-input-rac-C9hlh97b.js} +1 -1
- package/dist/component/donation-rac-CpEduCy1.js +318 -0
- package/dist/component/{dropdown-field-headless-CIXH608w.js → dropdown-field-headless-Dcbu807N.js} +4 -4
- package/dist/component/{dropdown-field-rac-daLrun-E.js → dropdown-field-rac-mJwCTpQA.js} +2 -2
- package/dist/component/{dropdown-rac-BTYSH3Zy.js → dropdown-rac-N5I5XU3B.js} +1 -1
- package/dist/component/{ecom-address-rac-BDhiTREn.js → ecom-address-rac-_0TO5pFZ.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Dbpa4fFi.js → ecom-subscription-checkbox-rac-DNdz6UCu.js} +2 -2
- package/dist/component/{email-input-field-rac-BJUszqvR.js → email-input-field-rac-VDJC1JLs.js} +3 -3
- package/dist/component/{events-repeater-rac-DJrTlOGT.js → events-repeater-rac-CzBVzG00.js} +4 -4
- package/dist/component/{events-rsvp-rac-DDASk2XH.js → events-rsvp-rac--ADJlIQz.js} +24 -20
- package/dist/component/{field-error-headless-DJVkE5yv.js → field-error-headless-_ADCIvnx.js} +1 -1
- package/dist/component/{field-label-headless-CyCHxPkd.js → field-label-headless-DiDxuhCI.js} +1 -1
- package/dist/component/{file-upload-rac-BOpYihdw.js → file-upload-rac-CiYo9UQA.js} +3 -3
- package/dist/component/{fixed-payment-rac-DFi_YPyN.js → fixed-payment-rac-DgNVdELB.js} +3 -3
- package/dist/component/{form-CVz1PefD.js → form-DPmF8iaT.js} +990 -1002
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C2PfSwil.js → header-field-rac-BuJTUp5S.js} +2 -2
- package/dist/component/{header-rac-D9YqB-O1.js → header-rac-BphcUkmo.js} +1 -1
- package/dist/component/image-choice-rac-CZSMzLY2.js +162 -0
- package/dist/component/{index-DLjekrTD.js → index-B0DLHSXg.js} +4 -4
- package/dist/component/{index-yjAwk9mS.js → index-BEIxTlpO.js} +2 -2
- package/dist/component/{isObjectLike-Cgzv4nCC.js → isObjectLike-DuXP52EV.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Dnjmc0tO.js → multiline-address-field-rac-CNJyTqJt.js} +7 -7
- package/dist/component/{multiline-address-rac-ByL_NcH7.js → multiline-address-rac-DG7xjt6A.js} +1 -1
- package/dist/component/{number-input-field-rac-BPTuhBlo.js → number-input-field-rac-Bj2AK7Oj.js} +4 -4
- package/dist/component/{number-input-rac-hLoHm0Ul.js → number-input-rac-JPgr87Xh.js} +1 -1
- package/dist/component/options-rac.module-CTDdATiz.js +8 -0
- package/dist/component/{password-rac-DYqRtXl0.js → password-rac-J0ySzA6j.js} +4 -4
- package/dist/component/{payment-input-rac-D9WtGI5n.js → payment-input-rac-B1VmJQeD.js} +4 -4
- package/dist/component/{phone-input-field-rac-D2Emh-lo.js → phone-input-field-rac-SWP8Xkh-.js} +6 -6
- package/dist/component/{phone-rac-B8-6Mw36.js → phone-rac-BU33sXKk.js} +1 -1
- package/dist/component/{product-list-rac-B_wLuARQ.js → product-list-rac-dk3gFLyb.js} +5 -5
- package/dist/component/{quiz-radio-group-rac-CcnfdObW.js → quiz-radio-group-rac-BFlVZj9U.js} +1 -1
- package/dist/component/radio-button-module-classes-DgiY7sw3.js +133 -0
- package/dist/component/{radio-group-field-rac-BdNA6UOq.js → radio-group-field-rac-qD-GQu2A.js} +23 -21
- package/dist/component/{radio-group-rac-CvhHM6v5.js → radio-group-rac-CIY9Gj99.js} +1 -1
- package/dist/component/{rating-input-field-rac-wjWNPfRZ.js → rating-input-field-rac-BVWuvhkf.js} +4 -4
- package/dist/component/{rating-input-rac-qqUycDFh.js → rating-input-rac-C3HFmqHX.js} +1 -1
- package/dist/component/{rich-content-rac.module-BAMOVeFc.js → rich-content-rac.module-QBgwAjEA.js} +1 -1
- package/dist/component/{rich-text-field-rac-DRC3nap3.js → rich-text-field-rac-BohVUJm1.js} +2 -2
- package/dist/component/{rich-text-rac-DPgt6Zb4.js → rich-text-rac-BST0y6Gq.js} +1 -1
- package/dist/component/{service-dropdown-rac-C79afx6z.js → service-dropdown-rac-DZSY9T2v.js} +4 -4
- package/dist/component/services-multi-choice-rac-hD8TI7n7.js +89 -0
- package/dist/component/{signature-rac-D2NLRFu0.js → signature-rac-D9G6D7Pa.js} +3 -3
- package/dist/component/{submit-button-rac-CnmlHY57.js → submit-button-rac-D4vOTaQ9.js} +1 -1
- package/dist/component/tags-field-rac-CoNoLUAV.js +220 -0
- package/dist/component/{tags-rac-DCUcssn5.js → tags-rac-BGT8KWvN.js} +1 -1
- package/dist/component/{text-area-field-rac-7YmznS1S.js → text-area-field-rac-x-LWaPSL.js} +4 -4
- package/dist/component/{text-area-rac-C0Yuh6D2.js → text-area-rac-B0KN3TR1.js} +1 -1
- package/dist/component/{text-input-field-rac-Bpmukqyp.js → text-input-field-rac-DH5j0Tvv.js} +2 -2
- package/dist/component/{text-input-headless-Cdpzu_eE.js → text-input-headless-Slo-xa7H.js} +3 -3
- package/dist/component/{text-input-rac-D7zsAary.js → text-input-rac-_VrGU08X.js} +1 -1
- package/dist/component/{time-input-rac-CDiPbISF.js → time-input-rac-DS5uFTDp.js} +4 -4
- package/dist/component/{url-input-field-rac-oi5ViIKm.js → url-input-field-rac-yCewMKD-.js} +4 -4
- package/dist/component/{url-input-rac-Bs8MYm-g.js → url-input-rac-D7cuZG08.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BqtzLp8Y.js → use-dropdown-option-class-name-DbjgH9K1.js} +1 -1
- package/dist/component/{use-element-state-class-name-Cego6EXH.js → use-element-state-class-name-C2_dMWlH.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-Do-gps07.js → use-is-forced-open-dropdown-VcOCKx-3.js} +1 -1
- package/dist/component/{use-service-options-base-CoXyq3zH.js → use-service-options-base-Cu9nE-aZ.js} +1 -1
- package/dist/component/{use-text-input-class-name-BUFPGIgC.js → use-text-input-class-name-DMokiXwB.js} +2 -2
- package/package.json +2 -2
- package/dist/component/checkbox-group-field-headless-DhV4VwZq.js +0 -205
- package/dist/component/donation-rac-BMX9KxJP.js +0 -319
- package/dist/component/image-choice-rac-t_I06vvU.js +0 -158
- package/dist/component/options-layout-constants-DEfIEJWD.js +0 -6
- package/dist/component/options-rac.module-KM-VT_KY.js +0 -7
- package/dist/component/radio-button-module-classes-CyZYs0BH.js +0 -132
- package/dist/component/services-multi-choice-rac-Dv_3PkqW.js +0 -85
- package/dist/component/tags-field-rac-B5v917df.js +0 -218
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { ak as e, h as o } from "./form-
|
|
3
|
-
import { T as s } from "./tags-field-rac-
|
|
2
|
+
import { ak as e, h as o } from "./form-DPmF8iaT.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-CoNoLUAV.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const t = {
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import n, { useMemo as x, useCallback as D, useRef as re } from "react";
|
|
2
|
+
import { RicosViewer as ae } from "@wix/ricos/viewer";
|
|
3
|
+
import F from "classnames";
|
|
4
|
+
import { RadioGroup as se, RadioField as Y, RadioButton as Q, TextField as le, Group as ie, Input as ce } from "react-aria-components";
|
|
5
|
+
import { debounce as ue } from "ts-debounce";
|
|
6
|
+
import { P as W, ak as L, ah as M, au as me, ac as B, am as pe } from "./form-DPmF8iaT.js";
|
|
7
|
+
import { f, a as b } from "./find-child-C60k4CxG.js";
|
|
8
|
+
import { a as z } from "./format-currency-BwShJ9vM.js";
|
|
9
|
+
import { D as de, E as Ce } from "./field-error-headless-_ADCIvnx.js";
|
|
10
|
+
import { L as Ie } from "./field-label-headless-DiDxuhCI.js";
|
|
11
|
+
import { a as Ee, b as fe } from "./numeric-input-utils-CuBMi4-a.js";
|
|
12
|
+
import { g as he } from "./payment-field-utils-DobiK5Xh.js";
|
|
13
|
+
import { u as Oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
14
|
+
import { E as _e } from "./error-icon-hZxQ6DEy.js";
|
|
15
|
+
import { s as S } from "./field-rac.module-DobpyqOd.js";
|
|
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
|
+
import { o as G } from "./options-rac.module-CTDdATiz.js";
|
|
18
|
+
import { u as Se } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
19
|
+
import { u as ve } from "./use-text-input-class-name-DMokiXwB.js";
|
|
20
|
+
function Re(e, t) {
|
|
21
|
+
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
22
|
+
}
|
|
23
|
+
function Le(e) {
|
|
24
|
+
return Re(e, "id");
|
|
25
|
+
}
|
|
26
|
+
const Ae = 0.01;
|
|
27
|
+
function je(e) {
|
|
28
|
+
var t;
|
|
29
|
+
return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
|
|
30
|
+
}
|
|
31
|
+
function J(e, t) {
|
|
32
|
+
const o = Number(t || "0");
|
|
33
|
+
return {
|
|
34
|
+
productId: e.id,
|
|
35
|
+
price: e.priceType === W.DYNAMIC_PRICE ? o : String(o),
|
|
36
|
+
quantity: 1
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function Te(e) {
|
|
40
|
+
return e.find((t) => t.priceType === W.DYNAMIC_PRICE);
|
|
41
|
+
}
|
|
42
|
+
function Pe(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
|
+
function xe(e, t, o) {
|
|
46
|
+
const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, s = r ? o[r] : void 0;
|
|
47
|
+
return s ? [
|
|
48
|
+
J(s, je(s))
|
|
49
|
+
] : [];
|
|
50
|
+
}
|
|
51
|
+
const a = ({ children: e }) => {
|
|
52
|
+
const { id: t, value: o, onChange: r, disabled: s, required: u, onBlur: m, onFocus: C, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: y } = L(), { labelId: O } = M(), { t: I } = me(), { currency: A, regionalFormat: g } = B(), d = o == null ? void 0 : o[0], N = x(() => {
|
|
53
|
+
var E, P;
|
|
54
|
+
return ((P = (E = i == null ? void 0 : i.predefined) == null ? void 0 : E.paymentOptions) == null ? void 0 : P.products) || [];
|
|
55
|
+
}, [
|
|
56
|
+
i
|
|
57
|
+
]), j = x(() => Le(N), [
|
|
58
|
+
N
|
|
59
|
+
]), l = x(() => p ? Te(N) : void 0, [
|
|
60
|
+
N,
|
|
61
|
+
p
|
|
62
|
+
]), K = Pe(d, l), [k, T] = Oe({
|
|
63
|
+
sourceValue: K,
|
|
64
|
+
format: (E) => fe(String(E ?? ""), g),
|
|
65
|
+
regionalFormat: g
|
|
66
|
+
}), q = D((E) => {
|
|
67
|
+
r(xe(E, d, j)), T("");
|
|
68
|
+
}, [
|
|
69
|
+
r,
|
|
70
|
+
j,
|
|
71
|
+
d,
|
|
72
|
+
T
|
|
73
|
+
]), U = D((E) => {
|
|
74
|
+
l && r(typeof E == "number" ? [
|
|
75
|
+
J(l, String(E))
|
|
76
|
+
] : []);
|
|
77
|
+
}, [
|
|
78
|
+
r,
|
|
79
|
+
l
|
|
80
|
+
]), $ = x(() => ue(U, 500), [
|
|
81
|
+
U
|
|
82
|
+
]), X = D((E) => {
|
|
83
|
+
(d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
|
|
84
|
+
const { validInput: P, validNumber: oe } = Ee(E.target.value, Ae, k, g);
|
|
85
|
+
T(P), $(oe);
|
|
86
|
+
}, [
|
|
87
|
+
g,
|
|
88
|
+
r,
|
|
89
|
+
d,
|
|
90
|
+
l,
|
|
91
|
+
k,
|
|
92
|
+
$,
|
|
93
|
+
T
|
|
94
|
+
]), w = (d == null ? void 0 : d.productId) || null, Z = D(() => {
|
|
95
|
+
l != null && l.id && w !== l.id && q(l.id);
|
|
96
|
+
}, [
|
|
97
|
+
l == null ? void 0 : l.id,
|
|
98
|
+
w,
|
|
99
|
+
q
|
|
100
|
+
]), ee = f(e, a.Label), V = f(e, a.Control), te = f(e, a.Description), ne = f(e, a.Error);
|
|
101
|
+
return /* @__PURE__ */ n.createElement(h, {
|
|
102
|
+
fieldId: t,
|
|
103
|
+
renderLabel: () => ee,
|
|
104
|
+
renderInput: () => /* @__PURE__ */ n.createElement(se, {
|
|
105
|
+
"aria-labelledby": O,
|
|
106
|
+
value: w,
|
|
107
|
+
onChange: q,
|
|
108
|
+
isDisabled: s,
|
|
109
|
+
isInvalid: y,
|
|
110
|
+
isRequired: u,
|
|
111
|
+
onBlur: m,
|
|
112
|
+
onFocus: C
|
|
113
|
+
}, V ? b(V, {
|
|
114
|
+
productsById: j,
|
|
115
|
+
addOther: p,
|
|
116
|
+
customAmount: k,
|
|
117
|
+
onCustomAmountInputChange: X,
|
|
118
|
+
currency: A,
|
|
119
|
+
t: I,
|
|
120
|
+
placeholder: c === void 0 ? I("donation.other-option.placeholder") : c,
|
|
121
|
+
customAmountProductId: l == null ? void 0 : l.id,
|
|
122
|
+
onFocusCustomInput: Z
|
|
123
|
+
}) : null),
|
|
124
|
+
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, ne, te)
|
|
125
|
+
});
|
|
126
|
+
}, Me = ({ children: e, className: t, ...o }) => {
|
|
127
|
+
const { productsById: r, addOther: s, customAmount: u, onCustomAmountInputChange: m, currency: C, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: y } = L(), O = f(e, a.Options), I = f(e, a.OtherInput);
|
|
128
|
+
return /* @__PURE__ */ n.createElement("div", {
|
|
129
|
+
className: t,
|
|
130
|
+
"data-invalid": y
|
|
131
|
+
}, O ? b(O, {
|
|
132
|
+
productsById: r
|
|
133
|
+
}) : null, s && c && /* @__PURE__ */ n.createElement(Y, {
|
|
134
|
+
value: c,
|
|
135
|
+
style: {
|
|
136
|
+
position: "absolute",
|
|
137
|
+
width: "1px",
|
|
138
|
+
height: "1px",
|
|
139
|
+
padding: "0",
|
|
140
|
+
margin: "-1px",
|
|
141
|
+
overflow: "hidden",
|
|
142
|
+
clip: "rect(0, 0, 0, 0)",
|
|
143
|
+
whiteSpace: "nowrap",
|
|
144
|
+
border: "0"
|
|
145
|
+
}
|
|
146
|
+
}, /* @__PURE__ */ n.createElement(Q, {
|
|
147
|
+
"aria-label": i("donation.other-option.label", "Custom amount")
|
|
148
|
+
}, i("donation.other-option.label", "Custom amount"))), I && s ? b(I, {
|
|
149
|
+
customAmount: u,
|
|
150
|
+
onCustomAmountInputChange: m,
|
|
151
|
+
currency: C,
|
|
152
|
+
t: i,
|
|
153
|
+
placeholder: p,
|
|
154
|
+
customAmountProductId: c,
|
|
155
|
+
onFocusCustomInput: h
|
|
156
|
+
}) : null);
|
|
157
|
+
}, H = ({ children: e, className: t, ...o }) => {
|
|
158
|
+
const { productsById: r } = o, { options: s, numberOfColumns: u } = L(), m = f(e, H.Option);
|
|
159
|
+
return /* @__PURE__ */ n.createElement("div", {
|
|
160
|
+
className: t,
|
|
161
|
+
"data-columns": u
|
|
162
|
+
}, s.map((C) => {
|
|
163
|
+
var c;
|
|
164
|
+
const i = r[C.value], p = (c = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : c.price;
|
|
165
|
+
return b(m, {
|
|
166
|
+
key: C.value,
|
|
167
|
+
value: C.value,
|
|
168
|
+
price: p || "0"
|
|
169
|
+
});
|
|
170
|
+
}));
|
|
171
|
+
}, v = ({ children: e, className: t, ...o }) => {
|
|
172
|
+
const { value: r, price: s } = o, { id: u } = L(), { currency: m, regionalFormat: C } = B(), i = f(e, v.Value), p = f(e, v.Currency), { isCurrencyPrefixed: c } = z({
|
|
173
|
+
amount: s,
|
|
174
|
+
currency: m == null ? void 0 : m.code,
|
|
175
|
+
locale: C
|
|
176
|
+
}), h = re(null);
|
|
177
|
+
pe(() => {
|
|
178
|
+
var O, I;
|
|
179
|
+
(I = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || I.focus();
|
|
180
|
+
}, u);
|
|
181
|
+
const y = i ? b(i, {
|
|
182
|
+
price: s
|
|
183
|
+
}) : null;
|
|
184
|
+
return /* @__PURE__ */ n.createElement(Y, {
|
|
185
|
+
value: r
|
|
186
|
+
}, /* @__PURE__ */ n.createElement(Q, {
|
|
187
|
+
className: t,
|
|
188
|
+
ref: h
|
|
189
|
+
}, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, y, !c && p)));
|
|
190
|
+
}, Be = ({ className: e, ...t }) => {
|
|
191
|
+
const { price: o } = t, { currency: r, regionalFormat: s } = B(), { value: u } = z({
|
|
192
|
+
amount: o,
|
|
193
|
+
currency: r == null ? void 0 : r.code,
|
|
194
|
+
locale: s
|
|
195
|
+
});
|
|
196
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
197
|
+
className: e
|
|
198
|
+
}, u);
|
|
199
|
+
}, ke = ({ className: e }) => {
|
|
200
|
+
const { currency: t } = B();
|
|
201
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
202
|
+
className: e
|
|
203
|
+
}, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
|
|
204
|
+
};
|
|
205
|
+
v.Value = Be;
|
|
206
|
+
v.Currency = ke;
|
|
207
|
+
const R = ({ children: e, className: t, ...o }) => {
|
|
208
|
+
const { customAmount: r, onCustomAmountInputChange: s, currency: u, t: m, placeholder: C, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: y, prefixId: O } = M(), I = f(e, R.Currency), A = f(e, R.Value), g = D((N) => {
|
|
209
|
+
s({
|
|
210
|
+
target: {
|
|
211
|
+
value: N
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
}, [
|
|
215
|
+
s
|
|
216
|
+
]), d = D(() => {
|
|
217
|
+
p();
|
|
218
|
+
}, [
|
|
219
|
+
p
|
|
220
|
+
]);
|
|
221
|
+
return /* @__PURE__ */ n.createElement(le, {
|
|
222
|
+
"aria-labelledby": `${y} ${O}`,
|
|
223
|
+
value: r,
|
|
224
|
+
onChange: g,
|
|
225
|
+
onFocus: d,
|
|
226
|
+
isDisabled: c,
|
|
227
|
+
isInvalid: h
|
|
228
|
+
}, /* @__PURE__ */ n.createElement(ie, {
|
|
229
|
+
className: t,
|
|
230
|
+
isDisabled: c,
|
|
231
|
+
isInvalid: h
|
|
232
|
+
}, r && u && I ? b(I, {
|
|
233
|
+
currency: u,
|
|
234
|
+
t: m
|
|
235
|
+
}) : null, A ? b(A, {
|
|
236
|
+
placeholder: C,
|
|
237
|
+
customAmountProductId: i
|
|
238
|
+
}) : null));
|
|
239
|
+
}, qe = ({ className: e, ...t }) => {
|
|
240
|
+
const { currency: o, t: r } = t, { prefixId: s } = M();
|
|
241
|
+
return /* @__PURE__ */ n.createElement("span", {
|
|
242
|
+
id: s,
|
|
243
|
+
"aria-hidden": !1,
|
|
244
|
+
"aria-label": he(r, o),
|
|
245
|
+
className: e
|
|
246
|
+
}, (o == null ? void 0 : o.sign) || (o == null ? void 0 : o.code) || "");
|
|
247
|
+
}, we = ({ className: e, ...t }) => {
|
|
248
|
+
const { placeholder: o, customAmountProductId: r } = t, { ariaDescribedBy: s, labelId: u, prefixId: m } = M();
|
|
249
|
+
return /* @__PURE__ */ n.createElement(ce, {
|
|
250
|
+
id: r,
|
|
251
|
+
"aria-labelledby": `${u} ${m}`,
|
|
252
|
+
"aria-describedby": s,
|
|
253
|
+
placeholder: o,
|
|
254
|
+
inputMode: "decimal",
|
|
255
|
+
autoComplete: "off",
|
|
256
|
+
className: e
|
|
257
|
+
});
|
|
258
|
+
};
|
|
259
|
+
R.Currency = qe;
|
|
260
|
+
R.Value = we;
|
|
261
|
+
H.Option = v;
|
|
262
|
+
a.Label = Ie;
|
|
263
|
+
a.Control = Me;
|
|
264
|
+
a.Options = H;
|
|
265
|
+
a.OtherInput = R;
|
|
266
|
+
a.Description = de;
|
|
267
|
+
a.Error = Ce;
|
|
268
|
+
const He = "_control_1jl2j_1", Ue = "_options_1jl2j_7", $e = "_option_1jl2j_7", Ve = "_optionHover_1jl2j_43", Ge = "_optionSelected_1jl2j_43", Ye = "_optionCurrency_1jl2j_93", Qe = "_otherInput_1jl2j_97", We = "_otherInputCurrency_1jl2j_116", _ = {
|
|
269
|
+
control: He,
|
|
270
|
+
options: Ue,
|
|
271
|
+
option: $e,
|
|
272
|
+
optionHover: Ve,
|
|
273
|
+
optionSelected: Ge,
|
|
274
|
+
optionCurrency: Ye,
|
|
275
|
+
otherInput: Qe,
|
|
276
|
+
otherInputCurrency: We
|
|
277
|
+
}, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ae, {
|
|
278
|
+
content: e,
|
|
279
|
+
locale: t
|
|
280
|
+
}), Je = {
|
|
281
|
+
base: _.option,
|
|
282
|
+
selected: _.optionSelected,
|
|
283
|
+
hover: _.optionHover
|
|
284
|
+
}, Ke = () => {
|
|
285
|
+
const e = ve(_.otherInput), t = Se({
|
|
286
|
+
globalClasses: De,
|
|
287
|
+
moduleClasses: Je
|
|
288
|
+
});
|
|
289
|
+
return /* @__PURE__ */ n.createElement(a, null, /* @__PURE__ */ n.createElement(a.Label, {
|
|
290
|
+
className: F(ye, S.label)
|
|
291
|
+
}, /* @__PURE__ */ n.createElement(a.Label.Required, {
|
|
292
|
+
className: F(be, S.requiredMark)
|
|
293
|
+
})), /* @__PURE__ */ n.createElement(a.Control, {
|
|
294
|
+
className: F(_.control, G.group)
|
|
295
|
+
}, /* @__PURE__ */ n.createElement(a.Options, {
|
|
296
|
+
className: F(ge, G.options, _.options)
|
|
297
|
+
}, /* @__PURE__ */ n.createElement(a.Options.Option, {
|
|
298
|
+
className: ({ isSelected: o, isHovered: r }) => t({
|
|
299
|
+
isSelected: o,
|
|
300
|
+
isHovered: r
|
|
301
|
+
})
|
|
302
|
+
}, /* @__PURE__ */ n.createElement(a.Options.Option.Value, null), /* @__PURE__ */ n.createElement(a.Options.Option.Currency, {
|
|
303
|
+
className: _.optionCurrency
|
|
304
|
+
}))), /* @__PURE__ */ n.createElement(a.OtherInput, {
|
|
305
|
+
className: e
|
|
306
|
+
}, /* @__PURE__ */ n.createElement(a.OtherInput.Currency, {
|
|
307
|
+
className: _.otherInputCurrency
|
|
308
|
+
}), /* @__PURE__ */ n.createElement(a.OtherInput.Value, {
|
|
309
|
+
className: S.innerInput
|
|
310
|
+
}))), /* @__PURE__ */ n.createElement(a.Error, {
|
|
311
|
+
className: F(Ne, S.error)
|
|
312
|
+
}, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(a.Error.Text, null)), /* @__PURE__ */ n.createElement(a.Description, {
|
|
313
|
+
className: F(Fe, S.description)
|
|
314
|
+
}, ze));
|
|
315
|
+
}, ft = () => /* @__PURE__ */ n.createElement(Ke, null);
|
|
316
|
+
export {
|
|
317
|
+
ft as DonationRAC
|
|
318
|
+
};
|
package/dist/component/{dropdown-field-headless-CIXH608w.js → dropdown-field-headless-Dcbu807N.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-DPmF8iaT.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-_ADCIvnx.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-DiDxuhCI.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-VcOCKx-3.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-Dcbu807N.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-DbjgH9K1.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-DPmF8iaT.js";
|
|
3
|
+
import { C } from "./checkbox-field-rac-DbJQI0lK.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-BJUszqvR.js → email-input-field-rac-VDJC1JLs.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-DPmF8iaT.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-Slo-xa7H.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-DMokiXwB.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-DPmF8iaT.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-DiDxuhCI.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-C2_dMWlH.js";
|
|
14
|
+
import { u as me } from "./use-text-input-class-name-DMokiXwB.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,43 +1,47 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
3
|
-
import
|
|
4
|
-
import { a
|
|
3
|
+
import s from "classnames";
|
|
4
|
+
import { a, s as o, R as c } from "./radio-button-module-classes-DgiY7sw3.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 } from "./use-element-state-class-name-
|
|
9
|
-
const e = ({ children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
e.
|
|
13
|
-
e.
|
|
14
|
-
e.
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
import { u as N } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
9
|
+
const e = ({ children: r, className: n }) => /* @__PURE__ */ t.createElement(a, {
|
|
10
|
+
className: n
|
|
11
|
+
}, r);
|
|
12
|
+
e.Label = a.Label;
|
|
13
|
+
e.Options = a.Options;
|
|
14
|
+
e.Option = a.Option;
|
|
15
|
+
e.Description = a.Description;
|
|
16
|
+
e.Error = a.Error;
|
|
17
|
+
const D = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
|
|
18
|
+
content: r,
|
|
17
19
|
locale: n
|
|
18
20
|
}), I = () => {
|
|
19
|
-
const
|
|
21
|
+
const r = N({
|
|
20
22
|
globalClasses: S,
|
|
21
23
|
moduleClasses: c
|
|
22
24
|
});
|
|
23
|
-
return /* @__PURE__ */ t.createElement(e,
|
|
24
|
-
className:
|
|
25
|
+
return /* @__PURE__ */ t.createElement(e, {
|
|
26
|
+
className: o.group
|
|
27
|
+
}, /* @__PURE__ */ t.createElement(e.Label, {
|
|
28
|
+
className: s(i, l.label)
|
|
25
29
|
}, /* @__PURE__ */ t.createElement(e.Label.Required, {
|
|
26
|
-
className:
|
|
30
|
+
className: s(p, l.requiredMark)
|
|
27
31
|
})), /* @__PURE__ */ t.createElement(e.Options, {
|
|
28
|
-
className:
|
|
32
|
+
className: s(R, o.options)
|
|
29
33
|
}, /* @__PURE__ */ t.createElement(e.Option, {
|
|
30
34
|
className: o.option
|
|
31
35
|
}, /* @__PURE__ */ t.createElement(e.Option.Input, {
|
|
32
36
|
className: o.optionInput
|
|
33
37
|
}), /* @__PURE__ */ t.createElement(e.Option.Control, {
|
|
34
|
-
className:
|
|
38
|
+
className: r
|
|
35
39
|
}), /* @__PURE__ */ t.createElement(e.Option.Label, {
|
|
36
|
-
className:
|
|
40
|
+
className: s(_, o.optionLabel)
|
|
37
41
|
}))), /* @__PURE__ */ t.createElement(e.Error, {
|
|
38
|
-
className:
|
|
42
|
+
className: s(O, l.error)
|
|
39
43
|
}, /* @__PURE__ */ t.createElement(E, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
|
|
40
|
-
className:
|
|
44
|
+
className: s(L, l.description)
|
|
41
45
|
}, D));
|
|
42
46
|
}, b = () => /* @__PURE__ */ t.createElement(I, null);
|
|
43
47
|
export {
|
package/dist/component/{field-error-headless-DJVkE5yv.js → field-error-headless-_ADCIvnx.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-DPmF8iaT.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-CyCHxPkd.js → field-label-headless-DiDxuhCI.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-DPmF8iaT.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-DPmF8iaT.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-_ADCIvnx.js";
|
|
10
|
+
import { L as Be } from "./field-label-headless-DiDxuhCI.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-DPmF8iaT.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-_ADCIvnx.js";
|
|
8
|
+
import { L as R } from "./field-label-headless-DiDxuhCI.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 }) => {
|