@wix/form-elements 1.177.0 → 1.179.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-BAJYXMTI.js → appointment-rac-Cd7OKdp2.js} +4 -4
- package/dist/component/{bookings-address-rac-2lId37AV.js → bookings-address-rac-BQNIrYzy.js} +1 -1
- package/dist/component/{bookings-email-rac-CGv8_DCR.js → bookings-email-rac-BlvUlm5l.js} +1 -1
- package/dist/component/{bookings-first-name-rac-X0Fkx2HW.js → bookings-first-name-rac-D32cace5.js} +1 -1
- package/dist/component/{bookings-header-rac-B0m7b03Y.js → bookings-header-rac-BvV11wt7.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BOTKQnp3.js → bookings-last-name-rac-C7OatLVo.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-Bh-gXHxF.js → bookings-login-bar-rac-CVryWcPV.js} +1 -1
- package/dist/component/{bookings-phone-rac-D3uORVqg.js → bookings-phone-rac-CpRlgdxY.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CTzDqYdf.js → bookings-rich-text-rac-D3LCIS_8.js} +1 -1
- package/dist/component/{checkbox-field-rac-CABu1DWe.js → checkbox-field-rac-BK6-vOau.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-PFQoRdu-.js → checkbox-group-field-headless--hxp1rUU.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-DcnWE0rf.js → checkbox-group-field-rac-nFD5LaoE.js} +4 -4
- package/dist/component/{checkbox-group-rac-gK9Smwho.js → checkbox-group-rac-C6KBx0lP.js} +1 -1
- package/dist/component/{checkbox-rac-ODOiCqwN.js → checkbox-rac-CUqE-K3y.js} +1 -1
- package/dist/component/{contacts-address-rac-9invJuye.js → contacts-address-rac-CEy7QNaQ.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-Crmp9zZO.js → contacts-birthdate-rac-CAkbVm3B.js} +1 -1
- package/dist/component/{contacts-company-rac-GA6XC4nF.js → contacts-company-rac-DATjlWWp.js} +1 -1
- package/dist/component/{contacts-email-rac-Bkka5Vu8.js → contacts-email-rac-BqezTSEN.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CYogWkC0.js → contacts-first-name-rac-B__O8pev.js} +1 -1
- package/dist/component/{contacts-last-name-rac-19NcOJvu.js → contacts-last-name-rac-C_DaFHRv.js} +1 -1
- package/dist/component/{contacts-phone-rac-ZSQgk9UI.js → contacts-phone-rac-DZ1Vg2H7.js} +1 -1
- package/dist/component/{contacts-position-rac-Bu_Z7yMZ.js → contacts-position-rac-Bdzy4IQX.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-P3zOrOax.js → contacts-subscribe-rac-BE8N6xmg.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BSgXRk6v.js → contacts-tax-id-rac-CMiZ5K9G.js} +1 -1
- package/dist/component/{date-availability-CJqU3LIt.js → date-availability-BpYWelLi.js} +1 -1
- package/dist/component/{date-input-field-rac-QqiSZnXZ.js → date-input-field-rac-D5piAqgR.js} +6 -6
- package/dist/component/{date-input-rac-BZFXvBvI.js → date-input-rac-CRG8CEoy.js} +1 -1
- package/dist/component/{date-picker-field-rac-5dktkwOd.js → date-picker-field-rac-D-EGqbDL.js} +6 -6
- package/dist/component/{date-picker-rac-CKSxXfzL.js → date-picker-rac-CsAD9IO5.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DEmzbAaR.js → date-time-input-field-rac-Cv68lpNg.js} +6 -6
- package/dist/component/{date-time-input-rac-BVtsQ3Vd.js → date-time-input-rac-Dax2BHqW.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BubQ0slS.js → dext-checkbox-group-rac-R3F1fpi_.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BhLjzcsZ.js → dext-checkbox-rac-DZ-hB30J.js} +1 -1
- package/dist/component/{dext-date-picker-rac-DVBPmxp7.js → dext-date-picker-rac-CAckOmmp.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-D4c_jenI.js → dext-date-time-input-rac-ClXTbE0u.js} +1 -1
- package/dist/component/{dext-dropdown-rac-B1zJAMKN.js → dext-dropdown-rac-B3xnyv_5.js} +1 -1
- package/dist/component/{dext-email-rac-Ccm5STO4.js → dext-email-rac-1znj8wl1.js} +1 -1
- package/dist/component/{dext-number-input-rac-x6vxbCXa.js → dext-number-input-rac-Dqse0Zcf.js} +1 -1
- package/dist/component/{dext-phone-rac-Shd3BfP-.js → dext-phone-rac-dAXlEH2D.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Dlb_nBO2.js → dext-radio-group-rac-BX4lJ7GD.js} +2 -2
- package/dist/component/{dext-rating-input-rac-CaZbRWJC.js → dext-rating-input-rac-Dm5nyZbZ.js} +1 -1
- package/dist/component/{dext-tags-rac-C55Dq-1l.js → dext-tags-rac-DnViMymD.js} +2 -2
- package/dist/component/{dext-text-area-rac-9Ge8zXWS.js → dext-text-area-rac-BiJkBj9d.js} +1 -1
- package/dist/component/{dext-text-input-rac-C0JVOKkk.js → dext-text-input-rac-DYvk0O4t.js} +1 -1
- package/dist/component/{dext-url-input-rac-CzT1EVwq.js → dext-url-input-rac-B_MymfD7.js} +1 -1
- package/dist/component/{donation-rac-u4w-aXl6.js → donation-rac-BJYwb4Q2.js} +83 -83
- package/dist/component/{dropdown-field-rac-DhLD7sSS.js → dropdown-field-rac-C2HP3bP-.js} +3 -3
- package/dist/component/{dropdown-rac-b5WH0y-k.js → dropdown-rac-UkBmMrZP.js} +1 -1
- package/dist/component/{ecom-address-rac-C5A1WmAj.js → ecom-address-rac-DjzgheFR.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-xW_rmIl_.js → ecom-subscription-checkbox-rac-CHF-S5GI.js} +2 -2
- package/dist/component/{email-input-field-rac-J_FteAiD.js → email-input-field-rac-t9MzuwRV.js} +3 -3
- package/dist/component/{events-repeater-rac-BP1Wyc53.js → events-repeater-rac-DVdwDPPm.js} +4 -4
- package/dist/component/{events-rsvp-rac-6K_VCmX-.js → events-rsvp-rac-BLKvC7r5.js} +3 -3
- package/dist/component/{field-error-headless-Coipxm8r.js → field-error-headless-oDcg4oxo.js} +1 -1
- package/dist/component/{field-label-headless-Td5R2D2v.js → field-label-headless-HMv-G21v.js} +1 -1
- package/dist/component/{file-upload-rac-QvjsWUE6.js → file-upload-rac-Cg1o0QVo.js} +4 -4
- package/dist/component/{fixed-payment-rac-BHdwt3Li.js → fixed-payment-rac-D34oFc42.js} +3 -3
- package/dist/component/{form-j_yRqg3t.js → form-CXsZtu5R.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-Bzpmnjft.js → header-field-rac-Cm1QG6Bq.js} +2 -2
- package/dist/component/{header-rac-Cyl7efBn.js → header-rac-C0_T5Yiy.js} +1 -1
- package/dist/component/{image-choice-rac-DwkOsp1k.js → image-choice-rac-C8mzXN2d.js} +54 -54
- package/dist/component/{index-DHLtT8Mx.js → index-DoXSuo9L.js} +4 -4
- package/dist/component/{index-DebSQu51.js → index-NtyfAzxl.js} +2 -2
- package/dist/component/{isObjectLike-Dmd5RpxA.js → isObjectLike-CCfWZPZg.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Ds1zs5ln.js → multiline-address-field-rac-MdguvGiN.js} +7 -7
- package/dist/component/{multiline-address-rac-DttcRYnL.js → multiline-address-rac-CMZU4I_G.js} +1 -1
- package/dist/component/{number-input-field-rac-Dn1AUGV2.js → number-input-field-rac-BzZOCs3v.js} +4 -4
- package/dist/component/{number-input-rac-CFx61qYd.js → number-input-rac-BnJ6KGpE.js} +1 -1
- package/dist/component/{password-rac-DJuStTWa.js → password-rac-C1i3UW8H.js} +4 -4
- package/dist/component/{payment-input-rac-BIIX_P6A.js → payment-input-rac-CWnoIpKK.js} +4 -4
- package/dist/component/{phone-input-field-rac-C1InbJor.js → phone-input-field-rac-DblG1aO3.js} +6 -6
- package/dist/component/{phone-rac-B6ubdBf6.js → phone-rac-CNpOsaRX.js} +1 -1
- package/dist/component/{product-list-rac-BaB63jJu.js → product-list-rac-CMs1_g18.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CrGIv3cN.js → quiz-radio-group-rac-CXHk_5Eh.js} +1 -1
- package/dist/component/{radio-button-module-classes-zZg9SOqG.js → radio-button-module-classes-CDfLdyDP.js} +3 -3
- package/dist/component/{radio-group-field-rac-C_Aui1YW.js → radio-group-field-rac-DEbEI898.js} +4 -4
- package/dist/component/{radio-group-rac-Bt3QthZ5.js → radio-group-rac-UWkP43pT.js} +1 -1
- package/dist/component/{rating-input-field-rac-CdaHNKcZ.js → rating-input-field-rac-SoLmvs2v.js} +4 -4
- package/dist/component/{rating-input-rac-DmCouDpG.js → rating-input-rac-BMmnltX5.js} +1 -1
- package/dist/component/{rich-content-rac.module-wyBdhZhG.js → rich-content-rac.module-mwZxTkib.js} +1 -1
- package/dist/component/{rich-text-field-rac-BuvLBbnl.js → rich-text-field-rac-Chj84Fsk.js} +2 -2
- package/dist/component/{rich-text-rac-BXMlorQ2.js → rich-text-rac-DMfe2cTM.js} +1 -1
- package/dist/component/{service-dropdown-rac-xgk-rFIY.js → service-dropdown-rac-BSbRSLK9.js} +4 -4
- package/dist/component/{services-multi-choice-rac-D3ZwzsmG.js → services-multi-choice-rac-BRTw_nfq.js} +5 -5
- package/dist/component/{signature-rac-D8hEZGjF.js → signature-rac-4Ue3PYnm.js} +4 -4
- package/dist/component/{submit-button-rac-DHm3YV4U.js → submit-button-rac-BGCTvHrI.js} +2 -2
- package/dist/component/{tags-field-rac-Cm4SnACy.js → tags-field-rac-DABO4blS.js} +49 -49
- package/dist/component/{tags-rac-7nZ3O67I.js → tags-rac-CNH4u0bT.js} +1 -1
- package/dist/component/{text-area-field-rac-BEGUVGQL.js → text-area-field-rac-BiP0cDUF.js} +4 -4
- package/dist/component/{text-area-rac-BrhvUcqn.js → text-area-rac-C2N13gqx.js} +1 -1
- package/dist/component/{text-input-field-rac-CZn2Flyb.js → text-input-field-rac-NZ7YsA_D.js} +3 -3
- package/dist/component/{text-input-headless-DTDZC4x7.js → text-input-headless-DpmAOSFA.js} +3 -3
- package/dist/component/{text-input-rac-DIjGSUZo.js → text-input-rac-CD6wdcxh.js} +1 -1
- package/dist/component/{time-input-rac-17FRariH.js → time-input-rac-DRJkjuoT.js} +4 -4
- package/dist/component/{url-input-field-rac-DYAXRURP.js → url-input-field-rac-CdMAc7ui.js} +4 -4
- package/dist/component/{url-input-rac-6IWE13av.js → url-input-rac-BFzDu-il.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-teYH9uf4.js → use-dropdown-option-class-name-BK0vTa0D.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-BpJezVOE.js → use-dropdown-trigger-class-name-VqXyLMwO.js} +6 -6
- package/dist/component/{use-element-state-class-name-CcW9uY2w.js → use-element-state-class-name-Dl8C4S0a.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-B9Ps5WPu.js → use-hoverable-input-class-name-DP6a6VDR.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-CUekpH1u.js → use-is-forced-open-dropdown-BLIRDuzt.js} +1 -1
- package/dist/component/{use-service-options-base-DXhuk0gs.js → use-service-options-base-DVxa9XN7.js} +1 -1
- package/dist/component/use-text-input-class-name-DUmaXeub.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-BIu78phH.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bL as u, bn as i, bm as C, bp as R, aY as T, aG as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { bL as u, bn as i, bm as C, bp as R, aY as T, aG as d } from "./form-CXsZtu5R.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-mwZxTkib.js";
|
|
5
5
|
const f = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import e, { useMemo as H, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
|
-
import
|
|
4
|
-
import { bL as b, bI as x, bN as P, bE as j, X as B, am as q, T as U, V, M as w, I as z, U as K, f } from "./form-
|
|
3
|
+
import I from "classnames";
|
|
4
|
+
import { bL as b, bI as x, bN as P, bE as j, X as B, am as q, T as U, V, M as w, I as z, U as K, f } from "./form-CXsZtu5R.js";
|
|
5
5
|
import { CheckboxGroup as Q, CheckboxField as X, CheckboxButton as Y } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as $, g as J } from "./field-label-headless-
|
|
8
|
-
import { D as W, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as $, g as J } from "./field-label-headless-HMv-G21v.js";
|
|
8
|
+
import { D as W, E as Z } from "./field-error-headless-oDcg4oxo.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as
|
|
13
|
-
const
|
|
14
|
-
const { id: s, value:
|
|
15
|
-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
13
|
+
const o = ({ children: t, className: n }) => {
|
|
14
|
+
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: R } = x(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), M = m(t, o.Error), h = H(() => a || [], [
|
|
15
|
+
a
|
|
16
16
|
]), v = T((y) => {
|
|
17
17
|
i == null || i(y);
|
|
18
18
|
}, [
|
|
19
19
|
i
|
|
20
20
|
]);
|
|
21
|
-
return /* @__PURE__ */ e.createElement(
|
|
21
|
+
return /* @__PURE__ */ e.createElement(L, {
|
|
22
22
|
fieldId: s,
|
|
23
23
|
renderLabel: () => S,
|
|
24
24
|
renderInput: () => /* @__PURE__ */ e.createElement(ee, {
|
|
25
|
-
id:
|
|
25
|
+
id: g,
|
|
26
26
|
ariaLabelledBy: _,
|
|
27
27
|
ariaDescribedBy: R,
|
|
28
28
|
required: c,
|
|
29
|
-
onBlur:
|
|
29
|
+
onBlur: u,
|
|
30
30
|
onFocus: p
|
|
31
31
|
}, /* @__PURE__ */ e.createElement(Q, {
|
|
32
32
|
className: n,
|
|
@@ -36,27 +36,27 @@ const a = ({ children: t, className: n }) => {
|
|
|
36
36
|
isDisabled: l,
|
|
37
37
|
isReadOnly: r,
|
|
38
38
|
isRequired: c,
|
|
39
|
-
isInvalid:
|
|
39
|
+
isInvalid: C
|
|
40
40
|
}, A)),
|
|
41
41
|
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, M, D)
|
|
42
42
|
});
|
|
43
43
|
}, N = ({ children: t, className: n }) => {
|
|
44
|
-
const { id: s, options:
|
|
44
|
+
const { id: s, options: a, numberOfColumns: i } = b(), l = m(t, N.Option);
|
|
45
45
|
return /* @__PURE__ */ e.createElement("div", {
|
|
46
46
|
className: n,
|
|
47
47
|
"data-columns": i
|
|
48
|
-
},
|
|
48
|
+
}, a == null ? void 0 : a.map((r, c) => F(l, {
|
|
49
49
|
key: r.id || r.label,
|
|
50
50
|
option: r,
|
|
51
51
|
isFirst: c === 0,
|
|
52
52
|
fieldId: s
|
|
53
53
|
})));
|
|
54
|
-
},
|
|
54
|
+
}, ae = ({ className: t }) => /* @__PURE__ */ e.createElement("div", {
|
|
55
55
|
"aria-hidden": "true",
|
|
56
56
|
className: t
|
|
57
57
|
}), ne = ({ className: t, ...n }) => {
|
|
58
|
-
var
|
|
59
|
-
const { option: s } = n, { choiceImageResize:
|
|
58
|
+
var u, p;
|
|
59
|
+
const { option: s } = n, { choiceImageResize: a, choiceImageAlignment: i } = b(), l = (u = s.media) == null ? void 0 : u.image, r = l && J(l, l.width, l.height);
|
|
60
60
|
if (!l || !r)
|
|
61
61
|
return /* @__PURE__ */ e.createElement("div", {
|
|
62
62
|
className: t,
|
|
@@ -68,7 +68,7 @@ const a = ({ children: t, className: n }) => {
|
|
|
68
68
|
className: t,
|
|
69
69
|
src: r,
|
|
70
70
|
alt: c,
|
|
71
|
-
"data-fit":
|
|
71
|
+
"data-fit": a,
|
|
72
72
|
"data-alignment": i,
|
|
73
73
|
"data-hook": "image-choice-option-image"
|
|
74
74
|
});
|
|
@@ -78,39 +78,39 @@ const a = ({ children: t, className: n }) => {
|
|
|
78
78
|
className: t
|
|
79
79
|
}, s.label);
|
|
80
80
|
}, d = ({ children: t, className: n, ...s }) => {
|
|
81
|
-
const { option:
|
|
81
|
+
const { option: a, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError: u } = b(), p = G(null);
|
|
82
82
|
P(() => {
|
|
83
83
|
var _;
|
|
84
84
|
i && ((_ = p.current) == null || _.focus({
|
|
85
85
|
preventScroll: !0
|
|
86
86
|
}));
|
|
87
87
|
}, l);
|
|
88
|
-
const
|
|
88
|
+
const C = m(t, d.Input), L = m(t, d.Image), g = m(t, d.Label);
|
|
89
89
|
return /* @__PURE__ */ e.createElement(X, {
|
|
90
|
-
value:
|
|
90
|
+
value: a.label,
|
|
91
91
|
isDisabled: r,
|
|
92
92
|
isReadOnly: c,
|
|
93
|
-
isInvalid:
|
|
93
|
+
isInvalid: u
|
|
94
94
|
}, /* @__PURE__ */ e.createElement(Y, {
|
|
95
95
|
ref: p,
|
|
96
|
-
"aria-label":
|
|
96
|
+
"aria-label": a.isLabelHidden ? a.label : void 0,
|
|
97
97
|
className: n,
|
|
98
|
-
"data-hook": `image-choice-${
|
|
99
|
-
},
|
|
100
|
-
option:
|
|
101
|
-
}), F(
|
|
102
|
-
option:
|
|
98
|
+
"data-hook": `image-choice-${a.label}`
|
|
99
|
+
}, C, F(L, {
|
|
100
|
+
option: a
|
|
101
|
+
}), F(g, {
|
|
102
|
+
option: a
|
|
103
103
|
})));
|
|
104
104
|
};
|
|
105
|
-
d.Input =
|
|
105
|
+
d.Input = ae;
|
|
106
106
|
d.Image = ne;
|
|
107
107
|
d.Label = se;
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
o.Label = $;
|
|
109
|
+
o.Options = N;
|
|
110
110
|
N.Option = d;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
const le = "
|
|
111
|
+
o.Description = W;
|
|
112
|
+
o.Error = Z;
|
|
113
|
+
const le = "_options_j8uno_1", ie = "_optionInput_j8uno_33", re = "_option_j8uno_1", ce = "_optionHover_j8uno_64", me = "_optionSelected_j8uno_64", pe = "_optionLabel_j8uno_104", Ee = "_optionImage_j8uno_144", E = {
|
|
114
114
|
options: le,
|
|
115
115
|
optionInput: ie,
|
|
116
116
|
option: re,
|
|
@@ -121,35 +121,35 @@ const le = "_options_a5g3j_1", ie = "_optionInput_a5g3j_33", re = "_option_a5g3j
|
|
|
121
121
|
}, de = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(k, {
|
|
122
122
|
content: t,
|
|
123
123
|
locale: n
|
|
124
|
-
}),
|
|
124
|
+
}), ue = {
|
|
125
125
|
base: E.option,
|
|
126
126
|
selected: E.optionSelected,
|
|
127
127
|
hover: E.optionHover
|
|
128
|
-
},
|
|
129
|
-
const t =
|
|
128
|
+
}, Ie = () => {
|
|
129
|
+
const t = oe({
|
|
130
130
|
globalClasses: K,
|
|
131
|
-
moduleClasses:
|
|
131
|
+
moduleClasses: ue
|
|
132
132
|
}), n = j(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
|
|
133
|
-
return /* @__PURE__ */ e.createElement(
|
|
134
|
-
className:
|
|
135
|
-
}, /* @__PURE__ */ e.createElement(
|
|
136
|
-
className:
|
|
137
|
-
})), /* @__PURE__ */ e.createElement(
|
|
138
|
-
className:
|
|
139
|
-
}, /* @__PURE__ */ e.createElement(
|
|
133
|
+
return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(o.Label, {
|
|
134
|
+
className: I(B, O.label)
|
|
135
|
+
}, /* @__PURE__ */ e.createElement(o.Label.Required, {
|
|
136
|
+
className: I(q, O.requiredMark)
|
|
137
|
+
})), /* @__PURE__ */ e.createElement(o.Options, {
|
|
138
|
+
className: I(U, E.options)
|
|
139
|
+
}, /* @__PURE__ */ e.createElement(o.Options.Option, {
|
|
140
140
|
className: t
|
|
141
|
-
}, /* @__PURE__ */ e.createElement(
|
|
141
|
+
}, /* @__PURE__ */ e.createElement(o.Options.Option.Input, {
|
|
142
142
|
className: E.optionInput
|
|
143
|
-
}), /* @__PURE__ */ e.createElement(
|
|
144
|
-
className:
|
|
145
|
-
}), /* @__PURE__ */ e.createElement(
|
|
143
|
+
}), /* @__PURE__ */ e.createElement(o.Options.Option.Image, {
|
|
144
|
+
className: I(V, E.optionImage, n)
|
|
145
|
+
}), /* @__PURE__ */ e.createElement(o.Options.Option.Label, {
|
|
146
146
|
className: E.optionLabel
|
|
147
|
-
}))), /* @__PURE__ */ e.createElement(
|
|
148
|
-
className:
|
|
149
|
-
}, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(
|
|
150
|
-
className:
|
|
147
|
+
}))), /* @__PURE__ */ e.createElement(o.Error, {
|
|
148
|
+
className: I(w, O.error)
|
|
149
|
+
}, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
|
|
150
|
+
className: I(z, O.description)
|
|
151
151
|
}, de));
|
|
152
|
-
}, De = () => /* @__PURE__ */ e.createElement(
|
|
152
|
+
}, De = () => /* @__PURE__ */ e.createElement(Ie, null);
|
|
153
153
|
export {
|
|
154
154
|
De as ImageChoiceRAC
|
|
155
155
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, b4 as _, bj as fe, b5 as O, aM as Ge, B as Be, a_ as qe, aT as He, aS as A, a$ as le, b8 as re, b2 as Ce, c as B, aU as M, bv as Ee, aW as je, aV as Te, aX as q } from "./form-
|
|
2
|
-
import { bq as Sn } from "./form-
|
|
1
|
+
import { e as R, b4 as _, bj as fe, b5 as O, aM as Ge, B as Be, a_ as qe, aT as He, aS as A, a$ as le, b8 as re, b2 as Ce, c as B, aU as M, bv as Ee, aW as je, aV as Te, aX as q } from "./form-CXsZtu5R.js";
|
|
2
|
+
import { bq as Sn } from "./form-CXsZtu5R.js";
|
|
3
3
|
import Xe from "ajv";
|
|
4
4
|
import ke from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Cn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-BpYWelLi.js";
|
|
10
|
+
import { a as Cn } from "./date-availability-BpYWelLi.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bu as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, aZ as g, be as q, bf as D, bw as L } from "./form-
|
|
1
|
+
import { bu as n } from "./form-CXsZtu5R.js";
|
|
2
|
+
import { A as S, a as p, C as N, aZ as g, be as q, bf as D, bw as L } from "./form-CXsZtu5R.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import n, { useMemo as q, createContext as $e, useContext as Ce, useState as Ee, useRef as x, useCallback as _, useEffect as Ae } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as Tt } from "react-aria";
|
|
5
|
-
import { bG as Ct, d as It, bB as Mt, bD as Lt, be as wt, bf as qt, b7 as xt, bd as W, F as K, bV as Pe, bu as it, bL as P, bI as M, bN as ae, bH as Nt, bj as Bt, C as Oe, bs as kt, bw as Ut, bS as Vt, bM as $t, bR as Wt, bz as Kt, bo as Yt, by as Ht, bO as jt, aP as Jt, Y as Xt, _ as z, am as Q, $ as Ne, M as Z, I as ee, Z as Gt, a0 as zt, a1 as Qt } from "./form-
|
|
5
|
+
import { bG as Ct, d as It, bB as Mt, bD as Lt, be as wt, bf as qt, b7 as xt, bd as W, F as K, bV as Pe, bu as it, bL as P, bI as M, bN as ae, bH as Nt, bj as Bt, C as Oe, bs as kt, bw as Ut, bS as Vt, bM as $t, bR as Wt, bz as Kt, bo as Yt, by as Ht, bO as jt, aP as Jt, Y as Xt, _ as z, am as Q, $ as Ne, M as Z, I as ee, Z as Gt, a0 as zt, a1 as Qt } from "./form-CXsZtu5R.js";
|
|
6
6
|
import { f as b, a as v } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as Zt, V as en } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { c as tn } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { c as tn } from "./use-is-forced-open-dropdown-BLIRDuzt.js";
|
|
9
9
|
import { TextField as be, Input as le, ComboBoxStateContext as We, ComboBox as Se, Popover as Fe, ListBox as Te, ListBoxItem as De, Group as Ot, Button as gt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as nn, c as rn, a as on, r as vt } from "./isObjectLike-
|
|
13
|
-
import { V as sn, a as an } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-oDcg4oxo.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-HMv-G21v.js";
|
|
12
|
+
import { e as nn, c as rn, a as on, r as vt } from "./isObjectLike-CCfWZPZg.js";
|
|
13
|
+
import { V as sn, a as an } from "./use-dropdown-option-class-name-BK0vTa0D.js";
|
|
14
14
|
import { u as ln } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as ct } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as Me } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as C } from "./field-rac.module-DcyJyi2B.js";
|
|
19
|
-
import { u as dt } from "./use-hoverable-input-class-name-
|
|
19
|
+
import { u as dt } from "./use-hoverable-input-class-name-DP6a6VDR.js";
|
|
20
20
|
const cn = (e, t, o) => {
|
|
21
21
|
var s, l, i, a;
|
|
22
22
|
const r = (s = e.steps) == null ? void 0 : s.map((d) => {
|
package/dist/component/{number-input-field-rac-Dn1AUGV2.js → number-input-field-rac-BzZOCs3v.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useState as Q, useCallback as U, useEffect as X, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as z } from "react-aria-components";
|
|
5
|
-
import { bL as _, bI as S, bV as G, bN as H, X as J, am as K, M as W, I as Y } from "./form-
|
|
5
|
+
import { bL as _, bI as S, bV as G, bN as H, X as J, am as K, M as W, I as Y } from "./form-CXsZtu5R.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as w } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as w } from "./field-error-headless-oDcg4oxo.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-HMv-G21v.js";
|
|
9
9
|
import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as p } from "./field-rac.module-DcyJyi2B.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-DUmaXeub.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, L, R;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: d, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: y } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, A = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, V = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, g = O(s), [x, I] = Q(g), M = ne(E), T = c(t, e.Label), h = c(t, e.Input), q = c(t, e.Description), k = c(t, e.Error), B = U((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as h, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bL as E, bI as I, bN as A, bV as B, X as V, am as v, M, I as P } from "./form-
|
|
4
|
+
import { bL as E, bI as I, bN as A, bV as B, X as V, am as v, M, I as P } from "./form-CXsZtu5R.js";
|
|
5
5
|
import { TextField as k, Group as q, Input as U, Button as j } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as H, E as W } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as H, E as W } from "./field-error-headless-oDcg4oxo.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-HMv-G21v.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as X } from "./use-text-input-class-name-
|
|
12
|
+
import { u as X } from "./use-text-input-class-name-DUmaXeub.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: _, FieldLayout: y } = E(), { labelId: L } = I(), [R, D] = h(!1), F = u(o, t.Label), T = u(o, t.Control), w = u(o, t.Description), N = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(y, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as X } from "react";
|
|
|
2
2
|
import { RicosViewer as j } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as w, Group as z, Input as J } from "react-aria-components";
|
|
5
|
-
import { bL as D, bI as R, bD as M, bV as K, bN as W, X as Y, am as Z, M as ee, I as re } from "./form-
|
|
5
|
+
import { bL as D, bI as R, bD as M, bV as K, bN as W, X as Y, am as Z, M as ee, I as re } from "./form-CXsZtu5R.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-oDcg4oxo.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-HMv-G21v.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-DcyJyi2B.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-DUmaXeub.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-C1InbJor.js → phone-input-field-rac-DblG1aO3.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as ye } from "@wix/ricos/viewer";
|
|
2
2
|
import O from "classnames";
|
|
3
3
|
import t, { useMemo as $, useState as A, useRef as F, useEffect as V, useCallback as Z, createContext as ne, useContext as q, useId as Ee } from "react";
|
|
4
|
-
import { bu as fe, bV as D, bD as oe, bU as he, bL as w, bI as re, bN as ge, X as Oe, am as be, a3 as Q, M as _e, I as Ne, a5 as Le, a4 as Se, a2 as Ie } from "./form-
|
|
4
|
+
import { bu as fe, bV as D, bD as oe, bU as he, bL as w, bI as re, bN as ge, X as Oe, am as be, a3 as Q, M as _e, I as Ne, a5 as Le, a4 as Se, a2 as Ie } from "./form-CXsZtu5R.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Pe } from "react-aria";
|
|
6
6
|
import { Dialog as ae, OverlayTriggerStateContext as ve, ModalOverlay as Fe, Modal as De, SearchField as we, Group as H, ListBoxItem as Be, DialogTrigger as Re, Select as xe, Input as se, Autocomplete as Me } from "react-aria-components";
|
|
7
7
|
import { f as h, a as I } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as je, E as $e } from "./field-error-headless-
|
|
9
|
-
import { L as Ae } from "./field-label-headless-
|
|
8
|
+
import { D as je, E as $e } from "./field-error-headless-oDcg4oxo.js";
|
|
9
|
+
import { L as Ae } from "./field-label-headless-HMv-G21v.js";
|
|
10
10
|
import { N as Te, S as Ve } from "./non-modal-popover-D-u13tmp.js";
|
|
11
11
|
import { u as ke } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { d as Ue } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import { V as He, a as qe } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { d as Ue } from "./use-is-forced-open-dropdown-BLIRDuzt.js";
|
|
13
|
+
import { V as He, a as qe } from "./use-dropdown-option-class-name-BK0vTa0D.js";
|
|
14
14
|
import ce, { AsYouType as Ge, isValidPhoneNumber as Ye, isSupportedCountry as ze } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as W } from "./calling-country-codes-PyWuOTmF.js";
|
|
@@ -18,7 +18,7 @@ import { C as Ke } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as Ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as X } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as b } from "./field-rac.module-DcyJyi2B.js";
|
|
21
|
-
import { u as J } from "./use-hoverable-input-class-name-
|
|
21
|
+
import { u as J } from "./use-hoverable-input-class-name-DP6a6VDR.js";
|
|
22
22
|
function ee(e) {
|
|
23
23
|
const n = e ? ce(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as K, useCallback as v, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as X, NumberField as Y, Group as j, Button as Q, Input as J } from "react-aria-components";
|
|
5
|
-
import { bL as U, bI as W, bD as w, bV as Z, bN as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-
|
|
5
|
+
import { bL as U, bI as W, bD as w, bV as Z, bN as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-CXsZtu5R.js";
|
|
6
6
|
import { f, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as me, g as pe } from "./field-label-headless-
|
|
7
|
+
import { L as me, g as pe } from "./field-label-headless-HMv-G21v.js";
|
|
8
8
|
import { f as de } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as Ee, E as _e } from "./field-error-headless-
|
|
9
|
+
import { D as Ee, E as _e } from "./field-error-headless-oDcg4oxo.js";
|
|
10
10
|
import { F as Ie } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as ye } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Le } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
|
|
15
15
|
import { s as A } from "./field-rac.module-DcyJyi2B.js";
|
|
16
16
|
import { o as V } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
18
18
|
var Ce = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), k = /* @__PURE__ */ (function(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as k, RadioField as A, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
|
|
3
|
-
import { bL as g, bI as q, bV as D, bN as x } from "./form-
|
|
3
|
+
import { bL as g, bI as q, bV as D, bN as x } from "./form-CXsZtu5R.js";
|
|
4
4
|
import { f as u, a as v } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as M } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as M } from "./field-error-headless-oDcg4oxo.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-HMv-G21v.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (e, t) => !!t && !z(e, t), J = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-C_Aui1YW.js → radio-group-field-rac-DEbEI898.js}
RENAMED
|
@@ -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 { a, s, R as n } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as n } from "./radio-button-module-classes-CDfLdyDP.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DcyJyi2B.js";
|
|
7
|
-
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-
|
|
7
|
+
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-CXsZtu5R.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as N } from "./use-element-state-class-name-
|
|
10
|
-
import { u } from "./use-text-input-class-name-
|
|
9
|
+
import { u as N } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-DUmaXeub.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-CdaHNKcZ.js → rating-input-field-rac-SoLmvs2v.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as y } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { bL as I, bI as v, bV as M, X as T, am as H, af as w, M as B, I as P, ag as q } from "./form-
|
|
4
|
+
import { bL as I, bI as v, bV as M, X as T, am as H, af as w, M as B, I as P, ag as q } from "./form-CXsZtu5R.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as z, E as Q } from "./field-error-headless-
|
|
8
|
-
import { L as X } from "./field-label-headless-
|
|
7
|
+
import { D as z, E as Q } from "./field-error-headless-oDcg4oxo.js";
|
|
8
|
+
import { L as X } from "./field-label-headless-HMv-G21v.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-wyBdhZhG.js → rich-content-rac.module-mwZxTkib.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bL as a, bD as i, bV as T } from "./form-
|
|
2
|
+
import { bL as a, bD as i, bV as T } from "./form-CXsZtu5R.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
4
|
import { D as r } from "./data-hooks-Dkw1pbRj.js";
|
|
5
5
|
import { truncateRichContent as _ } from "@wix/ricos/content";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { bL as m, aY as i, aG as u, bm as R, bp as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as p, T as g } from "./rich-content-rac.module-
|
|
3
|
+
import { bL as m, aY as i, aG as u, bm as R, bp as T } from "./form-CXsZtu5R.js";
|
|
4
|
+
import { u as C, R as d, s as p, T as g } from "./rich-content-rac.module-mwZxTkib.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-xgk-rFIY.js → service-dropdown-rac-BSbRSLK9.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import o, { useRef as T, useMemo as _, useCallback as D, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bH as P, bV as A, F as M, bL as y, bD as V, aN as H, X as x, am as U, J as W, M as k, I as q } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u, u as J } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bH as P, bV as A, F as M, bL as y, bD as V, aN as H, X as x, am as U, J as W, M as k, I as q } from "./form-CXsZtu5R.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DVxa9XN7.js";
|
|
6
|
+
import { D as u, u as J } from "./use-dropdown-trigger-class-name-VqXyLMwO.js";
|
|
7
7
|
import { C as Q } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as X } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-BK0vTa0D.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
|
|
13
13
|
const { actions: t } = P(), { t: C } = A(), { addOther: n, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = T(!0), d = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, bL as d, aN as D, X as N, am as F, p as f, r as h, M as b, I as M, q as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless
|
|
4
|
+
import { F as R, bL as d, aN as D, X as N, am as F, p as f, r as h, M as b, I as M, q as A } from "./form-CXsZtu5R.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DVxa9XN7.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless--hxp1rUU.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DcyJyi2B.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-DUmaXeub.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useS
|
|
|
2
2
|
import Fe from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as we } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { bd as xe, bF as Le, aR as Ue, F as Be, bH as Oe, bD as Pe, bT as Te, E as me, aH as oe, bL as x, bI as W, bN as Ie, bV as Me, bE as He, X as We, am as Ye, an as Ze, ao as Ge, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-
|
|
5
|
+
import { bd as xe, bF as Le, aR as Ue, F as Be, bH as Oe, bD as Pe, bT as Te, E as me, aH as oe, bL as x, bI as W, bN as Ie, bV as Me, bE as He, X as We, am as Ye, an as Ze, ao as Ge, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-CXsZtu5R.js";
|
|
6
6
|
import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
|
|
7
7
|
import { RadioGroup as nt, Button as Ce, TextField as at, DropZone as ot, Input as st, FileTrigger as rt, RadioField as lt, RadioButton as it } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as C, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as ct, E as ut } from "./field-error-headless-
|
|
11
|
-
import { L as dt } from "./field-label-headless-
|
|
10
|
+
import { D as ct, E as ut } from "./field-error-headless-oDcg4oxo.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-HMv-G21v.js";
|
|
12
12
|
import { D as mt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as pt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DcyJyi2B.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-Dl8C4S0a.js";
|
|
16
16
|
const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Le().signature) == null ? void 0 : o.signatureMode, a = Se(Ue);
|