@wix/form-elements 1.61.0 → 1.63.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-CTKF3-Jr.js → appointment-rac-B1VVk_Ui.js} +3 -3
- package/dist/component/{bookings-address-rac-gBn88bZA.js → bookings-address-rac-IQeHFdHT.js} +1 -1
- package/dist/component/{bookings-email-rac-C7TKRvTj.js → bookings-email-rac-z26A790r.js} +1 -1
- package/dist/component/{bookings-first-name-rac-C5wAAcjj.js → bookings-first-name-rac-Djf0GPP4.js} +1 -1
- package/dist/component/{bookings-header-rac-Dv81vh1Z.js → bookings-header-rac-CXOzAOpz.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DylKhXli.js → bookings-last-name-rac-CbB8alM9.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DCr8PseD.js → bookings-login-bar-rac-CXrLx7Pn.js} +16 -16
- package/dist/component/{bookings-phone-rac-Cem6T4kN.js → bookings-phone-rac-DGYx7h5g.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-B9CXzAM3.js → bookings-rich-text-rac-viJG57XF.js} +1 -1
- package/dist/component/checkbox-field-rac-e-RAmupX.js +1312 -0
- package/dist/component/{checkbox-group-field-headless-VzENoIsb.js → checkbox-group-field-headless-Cvia4lL6.js} +30 -30
- package/dist/component/{checkbox-group-field-rac-BYq7Rkja.js → checkbox-group-field-rac-BXxk90dk.js} +1 -1
- package/dist/component/{checkbox-group-rac-BMdQUrnq.js → checkbox-group-rac-CDfDTWqz.js} +1 -1
- package/dist/component/{checkbox-rac-s_6gOTt9.js → checkbox-rac-BRBKYD_5.js} +1 -1
- package/dist/component/{contacts-address-rac-Btk7NX5p.js → contacts-address-rac-BtWWQi77.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-C-Vqjs2i.js → contacts-birthdate-rac-DaEUXJTf.js} +1 -1
- package/dist/component/{contacts-company-rac-DJdSHFAG.js → contacts-company-rac-IgRyjtcM.js} +1 -1
- package/dist/component/{contacts-email-rac-BX7tSRIa.js → contacts-email-rac-BS1MDrMk.js} +1 -1
- package/dist/component/{contacts-first-name-rac-jyVnjAH8.js → contacts-first-name-rac-BAvXypDF.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Ca8W_-d3.js → contacts-last-name-rac-C289RYPl.js} +1 -1
- package/dist/component/{contacts-phone-rac-B3lVx79m.js → contacts-phone-rac-DIpyskam.js} +1 -1
- package/dist/component/{contacts-position-rac-D4utrlBz.js → contacts-position-rac-nPeh3lKU.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-V1p9UnIO.js → contacts-subscribe-rac-Ci5OLk68.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BCFMQf3P.js → contacts-tax-id-rac-C4WB-SR0.js} +1 -1
- package/dist/component/{date-availability-sElYepkM.js → date-availability-HHjPx4Uv.js} +1 -1
- package/dist/component/{date-input-field-rac-BVRp-Q9t.js → date-input-field-rac-GFgFcpX2.js} +17 -17
- package/dist/component/{date-input-rac-OVoxroB_.js → date-input-rac-B9BUEIA-.js} +1 -1
- package/dist/component/{date-picker-field-rac-vOmCmb8f.js → date-picker-field-rac-BfjYIIuY.js} +4 -4
- package/dist/component/{date-picker-rac-BViyESWE.js → date-picker-rac-Bd2UN0ZF.js} +1 -1
- package/dist/component/{date-time-input-field-rac-CmTGH0Ur.js → date-time-input-field-rac-CAXnxLQP.js} +78 -78
- package/dist/component/{date-time-input-rac-DhuQjbd-.js → date-time-input-rac-BuJ3Awlh.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DiK0ofyJ.js → dext-checkbox-group-rac-DKp4cBVa.js} +2 -2
- package/dist/component/{dext-checkbox-rac-hsIaGjBL.js → dext-checkbox-rac-BMu_k06A.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BkEDrDm9.js → dext-date-picker-rac-L3sdldhT.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CCwMKmSa.js → dext-date-time-input-rac-UmabFzDN.js} +1 -1
- package/dist/component/{dext-dropdown-rac-CtoqxSUG.js → dext-dropdown-rac-DbjgYaG-.js} +1 -1
- package/dist/component/{dext-email-rac-BvK4NOz2.js → dext-email-rac-rNudrOOK.js} +1 -1
- package/dist/component/{dext-number-input-rac-CYgCbltu.js → dext-number-input-rac-hw1FTrJL.js} +1 -1
- package/dist/component/{dext-phone-rac-eQ9DRDh0.js → dext-phone-rac-DrZ_Vwv2.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D1j2iY7w.js → dext-radio-group-rac-DAt2ax-I.js} +2 -2
- package/dist/component/{dext-rating-input-rac-C482gkW3.js → dext-rating-input-rac-BW2Ike11.js} +1 -1
- package/dist/component/{dext-tags-rac-4fBjF0ou.js → dext-tags-rac-DDzwlKrR.js} +2 -2
- package/dist/component/{dext-text-area-rac-7Vg2U7Mu.js → dext-text-area-rac-D0xf4z3z.js} +1 -1
- package/dist/component/{dext-text-input-rac-CGhjmk-l.js → dext-text-input-rac-Da04OLmq.js} +1 -1
- package/dist/component/{dext-url-input-rac-LwoSpkJq.js → dext-url-input-rac-B-g4xTqh.js} +1 -1
- package/dist/component/{donation-rac-sABSCHMJ.js → donation-rac-gKeq72jg.js} +10 -10
- package/dist/component/{dropdown-field-headless-C0Pk5_33.js → dropdown-field-headless-Js5TxdU4.js} +14 -14
- package/dist/component/{dropdown-field-rac-Gpctf74Y.js → dropdown-field-rac-BDxcvX00.js} +1 -1
- package/dist/component/{dropdown-rac-DKHO9H4r.js → dropdown-rac-B5UHNzV-.js} +1 -1
- package/dist/component/{ecom-address-rac-BR6IpZFw.js → ecom-address-rac-0zm4bX37.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-v6GRysJr.js → ecom-subscription-checkbox-rac-DCXoI33l.js} +2 -2
- package/dist/component/{email-input-field-rac-CoD-mJA-.js → email-input-field-rac-svf6hUHF.js} +2 -2
- package/dist/component/{events-repeater-rac-CH5fjXUm.js → events-repeater-rac-DMIqzuVK.js} +29 -29
- package/dist/component/{events-rsvp-rac-HfajrqWn.js → events-rsvp-rac-B_YD4ckO.js} +1 -1
- package/dist/component/{field-error-headless-B5J2ESBQ.js → field-error-headless-DTKnr5Zx.js} +6 -6
- package/dist/component/{field-label-headless-g8SR5uWH.js → field-label-headless-DV4aNd5Y.js} +5 -5
- package/dist/component/{file-upload-rac-CuWH6kzP.js → file-upload-rac-lGKJjG3m.js} +49 -49
- package/dist/component/{fixed-payment-rac-DDCoECZF.js → fixed-payment-rac-BVS6glii.js} +13 -13
- package/dist/component/{form-Cd3D7IPH.js → form-DzjdnO7t.js} +2271 -2267
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B86qWasN.js → header-field-rac-tzBH-8Yh.js} +5 -5
- package/dist/component/{header-rac-CKI3uVHK.js → header-rac-6thQAvVF.js} +1 -1
- package/dist/component/{image-choice-rac-BX9iq3FQ.js → image-choice-rac-Dx1b-saW.js} +23 -23
- package/dist/component/{index-BD0o63Sr.js → index-DIP7KB8P.js} +2 -2
- package/dist/component/{index-B1OGAoBr.js → index-Lnx0829a.js} +4 -4
- package/dist/component/isObjectLike-B_1KizZV.js +86 -0
- package/dist/component/multiline-address-field-rac-BY2SUp2d.js +1613 -0
- package/dist/component/{multiline-address-rac-pz8SF31j.js → multiline-address-rac-BL8Yp4F0.js} +1 -1
- package/dist/component/{number-input-field-rac-Du1lioEq.js → number-input-field-rac-x0yFmXbe.js} +14 -14
- package/dist/component/{number-input-rac-CX5zLtYJ.js → number-input-rac-pJXc2YsD.js} +1 -1
- package/dist/component/{password-rac-Gg7TJanM.js → password-rac-B4XCP64b.js} +19 -19
- package/dist/component/{payment-input-rac-DZcNoPdt.js → payment-input-rac-CZdOAjK4.js} +12 -12
- package/dist/component/{phone-input-field-rac-DXjS0M3S.js → phone-input-field-rac-DO_V5Z_T.js} +19 -19
- package/dist/component/{phone-rac-B4__qDbh.js → phone-rac-D16nLDjP.js} +1 -1
- package/dist/component/{product-list-rac-BZkCqyAe.js → product-list-rac-DER8gVqy.js} +44 -44
- package/dist/component/{quiz-radio-group-rac-Bl-4IPWK.js → quiz-radio-group-rac-BgTmHHi4.js} +1 -1
- package/dist/component/{radio-group-field-rac-YMWHcvyM.js → radio-group-field-rac-Dt2pU0VV.js} +1 -1
- package/dist/component/{radio-group-field-rac.module-DAtE0KVG.js → radio-group-field-rac.module--sO0VqCA.js} +12 -12
- package/dist/component/{radio-group-rac-DsidBDwT.js → radio-group-rac-CqCmtkNQ.js} +1 -1
- package/dist/component/{rating-input-field-rac-wrhjzIr8.js → rating-input-field-rac-xDrHHcL2.js} +10 -10
- package/dist/component/{rating-input-rac-uoY8q1LS.js → rating-input-rac-Bo5E9N87.js} +1 -1
- package/dist/component/{rich-content-rac.module-CJQVma69.js → rich-content-rac.module-CJXbNca9.js} +4 -4
- package/dist/component/{rich-text-field-rac-Dm-9BjTR.js → rich-text-field-rac-CkV0Z9F-.js} +5 -5
- package/dist/component/{rich-text-rac-k4a8Eawy.js → rich-text-rac-59DbKpXz.js} +1 -1
- package/dist/component/{service-dropdown-rac-CBOZY8wj.js → service-dropdown-rac-BLnflnUr.js} +25 -25
- package/dist/component/{services-multi-choice-rac-DTkLnNLM.js → services-multi-choice-rac-C-bFjwx8.js} +6 -6
- package/dist/component/{signature-rac-CMDroAUe.js → signature-rac-Bb5IaS28.js} +15 -15
- package/dist/component/{submit-button-rac-f339m0YR.js → submit-button-rac-Bjyi8sUA.js} +12 -12
- package/dist/component/{tags-field-rac-ChvUyucB.js → tags-field-rac-C_VO3_69.js} +12 -12
- package/dist/component/{tags-rac-D-KUrSn_.js → tags-rac-CKiutCWe.js} +1 -1
- package/dist/component/{text-area-field-rac-BKTMRopV.js → text-area-field-rac-Cg-vIhFe.js} +12 -12
- package/dist/component/{text-area-rac-C1cecxIB.js → text-area-rac-tMFx38UD.js} +1 -1
- package/dist/component/{text-input-field-rac-Drw_3E1W.js → text-input-field-rac-CgN_2hOD.js} +1 -1
- package/dist/component/{text-input-headless-CFi61Cyb.js → text-input-headless-CkhvKrFp.js} +6 -6
- package/dist/component/{text-input-rac-CSKYfTyX.js → text-input-rac-BsyBgd3b.js} +1 -1
- package/dist/component/{time-input-rac-D2ALW8mD.js → time-input-rac-BxRVJtHE.js} +12 -12
- package/dist/component/{url-input-field-rac-BLd1-70z.js → url-input-field-rac-B_1yVniS.js} +12 -12
- package/dist/component/{url-input-rac-CJ0W10C7.js → url-input-rac-D8VrKYVe.js} +1 -1
- package/dist/component/{use-service-options-base-CFrVxHKr.js → use-service-options-base-Ci9gIluo.js} +7 -7
- package/package.json +2 -14
- package/dist/component/checkbox-field-rac-BPsvcqaB.js +0 -625
- package/dist/component/isObject-BAwJJxQ3.js +0 -34
- package/dist/component/multiline-address-field-rac-BWfGsGnK.js +0 -1574
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import t, { useMemo as
|
|
1
|
+
import t, { useMemo as _ } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import {
|
|
4
|
+
import { ah as C, ab as I, ae as P } from "./form-DzjdnO7t.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-DTKnr5Zx.js";
|
|
8
|
+
import { L as R } from "./field-label-headless-DV4aNd5Y.js";
|
|
9
9
|
import { s as L } from "./field-rac.module-DtugsLiL.js";
|
|
10
|
-
import { r as v, t as
|
|
10
|
+
import { r as v, t as M, h as g } from "./form-element-classes-Bi-nNM8q.js";
|
|
11
11
|
const e = ({ children: r }) => {
|
|
12
12
|
var p;
|
|
13
|
-
const { id: n, validation: a, FieldLayout: l } = C(), { currency: o, regionalFormat: m } = I(), s =
|
|
13
|
+
const { id: n, validation: a, FieldLayout: l } = C(), { currency: o, regionalFormat: m } = I(), s = _(() => {
|
|
14
14
|
var d, E, f;
|
|
15
15
|
return (f = (E = (d = a == null ? void 0 : a.predefined) == null ? void 0 : d.paymentOptions) == null ? void 0 : E.products) == null ? void 0 : f[0];
|
|
16
16
|
}, [
|
|
17
17
|
a
|
|
18
|
-
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, y = c(r, e.Label), F = c(r, e.Amount),
|
|
18
|
+
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, y = c(r, e.Label), F = c(r, e.Amount), b = c(r, e.Description), D = c(r, e.Error);
|
|
19
19
|
return /* @__PURE__ */ t.createElement(l, {
|
|
20
20
|
fieldId: n,
|
|
21
21
|
renderLabel: () => y,
|
|
@@ -24,7 +24,7 @@ const e = ({ children: r }) => {
|
|
|
24
24
|
currencyCode: o == null ? void 0 : o.code,
|
|
25
25
|
locale: m
|
|
26
26
|
}),
|
|
27
|
-
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null,
|
|
27
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, b)
|
|
28
28
|
});
|
|
29
29
|
}, B = ({ className: r, ...n }) => {
|
|
30
30
|
const { price: a, currencyCode: l, locale: o } = n, { inputId: m, ariaDescribedBy: s } = P(), i = S({
|
|
@@ -45,18 +45,18 @@ e.Label = T;
|
|
|
45
45
|
e.Amount = B;
|
|
46
46
|
e.Description = x;
|
|
47
47
|
e.Error = N;
|
|
48
|
-
const V = "_value_19v7w_1",
|
|
48
|
+
const V = "_value_19v7w_1", h = {
|
|
49
49
|
value: V
|
|
50
|
-
},
|
|
50
|
+
}, w = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(A, {
|
|
51
51
|
content: r,
|
|
52
52
|
locale: n
|
|
53
53
|
}), k = () => /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
|
|
54
54
|
className: u(v, L.label)
|
|
55
55
|
}), /* @__PURE__ */ t.createElement(e.Amount, {
|
|
56
|
-
className: u(
|
|
56
|
+
className: u(M, h.value)
|
|
57
57
|
}), /* @__PURE__ */ t.createElement(e.Description, {
|
|
58
|
-
className: u(
|
|
59
|
-
},
|
|
58
|
+
className: u(g, L.description)
|
|
59
|
+
}, w)), X = () => /* @__PURE__ */ t.createElement(k, null);
|
|
60
60
|
export {
|
|
61
61
|
X as FixedPaymentRAC
|
|
62
62
|
};
|