@wix/form-elements 1.75.0 → 1.77.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-BQsFMmBg.js +1016 -0
- package/dist/component/{bookings-address-rac-VXnUSx8U.js → bookings-address-rac-AJNyTdok.js} +1 -1
- package/dist/component/{bookings-email-rac-B2_ad7Y2.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
- package/dist/component/{bookings-first-name-rac-9BAY5vLx.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
- package/dist/component/{bookings-header-rac-B6IgiMOA.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DoXEDO8K.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DprQIFyj.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
- package/dist/component/{bookings-phone-rac-VMoXtejZ.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DSzD2jBy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
- package/dist/component/{checkbox-field-rac-BLihwz3C.js → checkbox-field-rac-4zG3Sf1c.js} +18 -17
- package/dist/component/{checkbox-group-field-headless-BItyo_iD.js → checkbox-group-field-headless-DN2aNw9g.js} +4 -4
- package/dist/component/{checkbox-group-field-rac-Bov3yFC6.js → checkbox-group-field-rac-B1qhet83.js} +12 -11
- package/dist/component/{checkbox-group-rac-Fit-qssk.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
- package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
- package/dist/component/{checkbox-rac-CSsY83Nx.js → checkbox-rac-CFWQW9_K.js} +1 -1
- package/dist/component/{contacts-address-rac-iJuzUQe4.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-0g2e8cQP.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
- package/dist/component/{contacts-company-rac-BC0tK4WQ.js → contacts-company-rac-8queUhWT.js} +1 -1
- package/dist/component/{contacts-email-rac-dkuclkiH.js → contacts-email-rac-CYOs5N_I.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BSUkCuht.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
- package/dist/component/{contacts-last-name-rac-08bjVdN2.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
- package/dist/component/{contacts-phone-rac-DVb0Z_0M.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
- package/dist/component/{contacts-position-rac-AGUDkv7U.js → contacts-position-rac-wA-aw5Id.js} +1 -1
- package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
- package/dist/component/{contacts-tax-id-rac-C7moEz5b.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
- package/dist/component/{date-availability-DagbE0C8.js → date-availability-CeiMjrtD.js} +1 -1
- package/dist/component/{date-input-field-rac-BWHKsJGy.js → date-input-field-rac-CVaajAFM.js} +4 -4
- package/dist/component/{date-input-rac-BlZlmf-s.js → date-input-rac-DhEzawuM.js} +1 -1
- package/dist/component/{date-picker-field-rac-BSNbYirD.js → date-picker-field-rac-1Q6yyNmK.js} +8 -8
- package/dist/component/{date-picker-rac-D3IWMst5.js → date-picker-rac-BCGtmXMJ.js} +1 -1
- package/dist/component/{date-time-input-field-rac-YKTwuIUs.js → date-time-input-field-rac-Dd-HNgKP.js} +16 -16
- package/dist/component/{date-time-input-rac-CZRsKm1P.js → date-time-input-rac-CsCWEsH5.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BE7ILz-f.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
- package/dist/component/{dext-checkbox-rac-B6-94A1N.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Bx2hUFNm.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DPKD6quz.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
- package/dist/component/{dext-dropdown-rac-WrSfNRa5.js → dext-dropdown-rac-GRltutt5.js} +1 -1
- package/dist/component/{dext-email-rac-8PSMKNYG.js → dext-email-rac-74Y8S9GA.js} +1 -1
- package/dist/component/{dext-number-input-rac-b9YSzEkN.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
- package/dist/component/{dext-phone-rac-CkapN3c1.js → dext-phone-rac-DObx_gOd.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CfNMkwUa.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Cun_t7HQ.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
- package/dist/component/{dext-tags-rac-DLZ91c3w.js → dext-tags-rac-Vif4x1yF.js} +2 -2
- package/dist/component/{dext-text-area-rac-N9A7QfYw.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
- package/dist/component/{dext-text-input-rac-XbVzAPHH.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
- package/dist/component/{dext-url-input-rac-BiaWZ49r.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
- package/dist/component/{donation-rac-BEIBjLHK.js → donation-rac-bgHep0Xi.js} +119 -119
- package/dist/component/{dropdown-field-headless-CQfZ3zPD.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
- package/dist/component/{dropdown-field-rac-ubZN_Abg.js → dropdown-field-rac-DGiysJQY.js} +2 -2
- package/dist/component/{dropdown-rac-CHYFrEjY.js → dropdown-rac-FHjz8fKp.js} +1 -1
- package/dist/component/{ecom-address-rac-C7qJlrsv.js → ecom-address-rac-DSbpf4z8.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CONIZsTy.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +3 -3
- package/dist/component/{email-input-field-rac-Dg0p6WZe.js → email-input-field-rac-BQKK2O7L.js} +48 -48
- package/dist/component/{events-repeater-rac-BoxNl7gn.js → events-repeater-rac-Dudnyhal.js} +21 -20
- package/dist/component/{events-rsvp-rac-BU5d2n4k.js → events-rsvp-rac-008H5Ska.js} +2 -2
- package/dist/component/{field-error-headless-uQOcm2Ak.js → field-error-headless-C5ZsFUKv.js} +1 -1
- package/dist/component/{field-label-headless-Bzh7f2Ji.js → field-label-headless-CS5OYsiI.js} +1 -1
- package/dist/component/{file-upload-rac-BTt-rJE5.js → file-upload-rac-bQ2QOO8Q.js} +36 -36
- package/dist/component/{fixed-payment-rac-1NOx3D-U.js → fixed-payment-rac-B6FvXoCU.js} +6 -6
- package/dist/component/{form-DCmjj8mZ.js → form-BpHElSwH.js} +69 -69
- package/dist/component/{form-element-classes-Dn33C01k.js → form-element-classes-BXNs5k3q.js} +59 -51
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-lyvjy6h2.js → header-field-rac-D4UYcmok.js} +3 -3
- package/dist/component/{header-rac-B4iPEbNj.js → header-rac-KavPiBdn.js} +1 -1
- package/dist/component/{image-choice-rac-CmEG-waj.js → image-choice-rac-BJQqBhBD.js} +19 -19
- package/dist/component/{index-UZsDOe8e.js → index-RSEYrQef.js} +2 -2
- package/dist/component/{index-D-CKLZBh.js → index-Y8iTxLat.js} +4 -4
- package/dist/component/{isObjectLike-BSGOU4jF.js → isObjectLike-jwHec4Ap.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Dz0NEjSO.js → multiline-address-field-rac-D4Ibno80.js} +67 -67
- package/dist/component/{multiline-address-rac-D_MAanxb.js → multiline-address-rac-CrTSjzBN.js} +1 -1
- package/dist/component/{number-input-field-rac-CvjeAm-W.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
- package/dist/component/{number-input-rac-oKo2Wx_c.js → number-input-rac-CdE_hRbA.js} +1 -1
- package/dist/component/{password-rac-CrnkKtfp.js → password-rac-BCxl5mMQ.js} +9 -9
- package/dist/component/{payment-input-rac-BoVdGyvV.js → payment-input-rac-DmO4s4ue.js} +15 -15
- package/dist/component/{phone-input-field-rac-DksXoAnr.js → phone-input-field-rac-BYAnwk5h.js} +36 -36
- package/dist/component/{phone-rac-BR0iX5TL.js → phone-rac-gS4k9Yn8.js} +1 -1
- package/dist/component/{product-list-rac-C4rvv5k-.js → product-list-rac-CO0o3yOg.js} +50 -49
- package/dist/component/{quiz-radio-group-rac-BxKmUUf8.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
- package/dist/component/{radio-group-field-rac-Dj4rkkKF.js → radio-group-field-rac-DdlyQ3m6.js} +2 -2
- package/dist/component/{radio-group-field-rac.module-CeBLm9QF.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
- package/dist/component/{radio-group-rac-BpnfptSZ.js → radio-group-rac-B-9q91fJ.js} +1 -1
- package/dist/component/{rating-input-field-rac-BP0928qI.js → rating-input-field-rac-VDaJKq-n.js} +17 -17
- package/dist/component/{rating-input-rac-DaEgvjIS.js → rating-input-rac-BVO62LmE.js} +1 -1
- package/dist/component/{rich-content-rac.module-zvvH-tWq.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
- package/dist/component/{rich-text-field-rac-CFCRiMl_.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
- package/dist/component/{rich-text-rac-BRuLnyN4.js → rich-text-rac-BG376ww9.js} +1 -1
- package/dist/component/{service-dropdown-rac-C82l5y0C.js → service-dropdown-rac-Dy6-OpVR.js} +10 -10
- package/dist/component/{services-multi-choice-rac-BAHBSgAT.js → services-multi-choice-rac-BKW9MP_b.js} +21 -20
- package/dist/component/{signature-rac-CIkm3SCW.js → signature-rac-Cxgixp4o.js} +4 -4
- package/dist/component/{submit-button-rac-Bz-X9Tbo.js → submit-button-rac-BqPJ7WPI.js} +2 -2
- package/dist/component/{tags-field-rac-Dn8VyPzT.js → tags-field-rac-wwqpztG7.js} +23 -23
- package/dist/component/{tags-rac-BJpVdunR.js → tags-rac-DUxITYxU.js} +1 -1
- package/dist/component/{text-area-field-rac-Pp9HnCS5.js → text-area-field-rac-Cen6O33S.js} +6 -6
- package/dist/component/{text-area-rac-DbwAFdel.js → text-area-rac-CRlO56GA.js} +1 -1
- package/dist/component/{text-input-field-rac-x4ByKmBv.js → text-input-field-rac-CbnKn03g.js} +2 -2
- package/dist/component/{text-input-headless-fbiKci5q.js → text-input-headless-C_NTJmLe.js} +3 -3
- package/dist/component/{text-input-rac-jyCKxyCt.js → text-input-rac-DvwV7Igm.js} +1 -1
- package/dist/component/{time-input-rac-C5Cvmxtt.js → time-input-rac-TSEXiODs.js} +12 -12
- package/dist/component/{url-input-field-rac-CGpCEn2A.js → url-input-field-rac-Cxgh9T8s.js} +4 -4
- package/dist/component/{url-input-rac-DhFL8fGq.js → url-input-rac-DNw-Jg1U.js} +1 -1
- package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
- package/dist/component/{use-service-options-base-CgT1IKB3.js → use-service-options-base-EFrxTpGm.js} +1 -1
- package/package.json +2 -2
- package/dist/component/appointment-rac-7xVKSm2N.js +0 -1005
- package/dist/component/contacts-subscribe-rac-6jAQHibT.js +0 -13
- package/dist/component/use-element-state-class-name-Bnw7sY9P.js +0 -29
package/dist/component/{service-dropdown-rac-C82l5y0C.js → service-dropdown-rac-Dy6-OpVR.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t, { useRef as P, useMemo as g, useCallback as h, useEffect as T } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import m from "classnames";
|
|
4
|
-
import { ae as w, as as b, F as M, ai as y, ab as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as d } from "./dropdown-field-headless-
|
|
4
|
+
import { ae as w, as as b, F as M, ai as y, ab as U, h as V } from "./form-BpHElSwH.js";
|
|
5
|
+
import { u as x } from "./use-service-options-base-EFrxTpGm.js";
|
|
6
|
+
import { D as d } from "./dropdown-field-headless-BGfJ1FyZ.js";
|
|
7
7
|
import { C as B } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as H } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as k } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as n } from "./field-rac.module-DjmaTYkc.js";
|
|
11
|
-
import {
|
|
11
|
+
import { z as q, Q, y as W, B as z, p as Y, i as j } from "./form-element-classes-BXNs5k3q.js";
|
|
12
12
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
13
13
|
const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = P(!0), E = g(() => {
|
|
14
14
|
var s;
|
|
@@ -25,7 +25,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
25
25
|
] : s, [
|
|
26
26
|
i,
|
|
27
27
|
c
|
|
28
|
-
]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: S, processOptions: _ } =
|
|
28
|
+
]), { isLoading: f, options: l, isEmpty: D, shouldRender: I, setIsLoading: F, setOptions: L, setIsEmpty: S, processOptions: _ } = x({
|
|
29
29
|
fieldType: M.SERVICES_DROPDOWN,
|
|
30
30
|
isEditor: e.isEditor,
|
|
31
31
|
postProcessOptions: O
|
|
@@ -90,7 +90,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
90
90
|
shouldRender: I
|
|
91
91
|
};
|
|
92
92
|
}, o = ({ children: e }) => {
|
|
93
|
-
const r = y(), { addOther: C } = r, i =
|
|
93
|
+
const r = y(), { addOther: C } = r, i = U(), p = r.isEditor || i.isEditor || i.isComposer, { isLoading: c, options: a, isEmpty: E, onFocus: O, onChange: f, shouldRender: l } = J({
|
|
94
94
|
...r,
|
|
95
95
|
isEditor: p
|
|
96
96
|
}), D = g(() => ({
|
|
@@ -106,7 +106,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
106
106
|
O,
|
|
107
107
|
f
|
|
108
108
|
]);
|
|
109
|
-
return !p && E && !C || !l ? null : /* @__PURE__ */ t.createElement(
|
|
109
|
+
return !p && E && !C || !l ? null : /* @__PURE__ */ t.createElement(V.Provider, {
|
|
110
110
|
value: {
|
|
111
111
|
v2: D
|
|
112
112
|
}
|
|
@@ -129,13 +129,13 @@ const K = ({ content: e, locale: r }) => /* @__PURE__ */ t.createElement(A, {
|
|
|
129
129
|
}, /* @__PURE__ */ t.createElement(B, {
|
|
130
130
|
className: n.dropdownIcon
|
|
131
131
|
})), /* @__PURE__ */ t.createElement(o.Options, {
|
|
132
|
-
className: m(
|
|
132
|
+
className: m(z, n.selectPopover, n.dropdownPopover)
|
|
133
133
|
}, /* @__PURE__ */ t.createElement(o.Options.Option, {
|
|
134
134
|
className: m(n.selectOption, k)
|
|
135
135
|
})), /* @__PURE__ */ t.createElement(o.Error, {
|
|
136
|
-
className: m(
|
|
136
|
+
className: m(Y, n.error)
|
|
137
137
|
}, /* @__PURE__ */ t.createElement(H, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
|
|
138
|
-
className: m(
|
|
138
|
+
className: m(j, n.description)
|
|
139
139
|
}, K)), le = () => /* @__PURE__ */ t.createElement(X, null);
|
|
140
140
|
export {
|
|
141
141
|
le as ServiceDropdownRAC
|
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
import e, { useEffect as _, useMemo as I } from "react";
|
|
2
2
|
import { RicosViewer as L } from "@wix/ricos/viewer";
|
|
3
3
|
import r from "classnames";
|
|
4
|
-
import { F as R, ai as d, h as D } from "./form-
|
|
5
|
-
import { u as F } from "./use-service-options-base-
|
|
6
|
-
import { C as a } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, ai as d, h as D } from "./form-BpHElSwH.js";
|
|
5
|
+
import { u as F } from "./use-service-options-base-EFrxTpGm.js";
|
|
6
|
+
import { C as a } from "./checkbox-group-field-headless-DN2aNw9g.js";
|
|
7
7
|
import { E as f } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
-
import {
|
|
8
|
+
import { C as N } from "./checkbox-indicator-module-classes-BcScu147.js";
|
|
9
9
|
import { s as i } from "./field-rac.module-DjmaTYkc.js";
|
|
10
|
-
import {
|
|
10
|
+
import { z as h, Q as M, U as b, W as A, y as v, p as T, i as x, V as y } from "./form-element-classes-BXNs5k3q.js";
|
|
11
11
|
import { o as O } from "./options-rac.module-KM-VT_KY.js";
|
|
12
|
+
import { u as P } from "./use-element-state-class-name-CC65g9mT.js";
|
|
12
13
|
const k = (s) => {
|
|
13
14
|
var C;
|
|
14
|
-
const { isLoading: o, options: n, isEmpty: c, shouldRender:
|
|
15
|
+
const { isLoading: o, options: n, isEmpty: c, shouldRender: m, setOptions: l, setIsEmpty: E, setHasInitialDataLoaded: p } = F({
|
|
15
16
|
fieldType: R.SERVICES_MULTI_CHOICE,
|
|
16
17
|
isEditor: s.isEditor
|
|
17
18
|
}), u = (C = s.options) == null ? void 0 : C.every((S) => S.label && S.id);
|
|
18
19
|
return _(() => {
|
|
19
20
|
if (u && s.options) {
|
|
20
|
-
l(s.options),
|
|
21
|
+
l(s.options), E(s.options.length === 0), p(!0);
|
|
21
22
|
return;
|
|
22
23
|
}
|
|
23
24
|
}, [
|
|
24
25
|
u,
|
|
25
26
|
s.options,
|
|
26
27
|
l,
|
|
27
|
-
|
|
28
|
+
E,
|
|
28
29
|
p
|
|
29
30
|
]), {
|
|
30
31
|
isLoading: o,
|
|
31
32
|
options: n,
|
|
32
33
|
isEmpty: c,
|
|
33
|
-
shouldRender:
|
|
34
|
+
shouldRender: m
|
|
34
35
|
};
|
|
35
36
|
}, t = ({ children: s }) => {
|
|
36
|
-
const o = d(), { options: n, isEmpty: c, shouldRender:
|
|
37
|
+
const o = d(), { options: n, isEmpty: c, shouldRender: m } = k(o), l = I(() => ({
|
|
37
38
|
...o,
|
|
38
39
|
options: n
|
|
39
40
|
}), [
|
|
40
41
|
o,
|
|
41
42
|
n
|
|
42
43
|
]);
|
|
43
|
-
return !o.isEditor && c || !
|
|
44
|
+
return !o.isEditor && c || !m ? null : /* @__PURE__ */ e.createElement(D.Provider, {
|
|
44
45
|
value: {
|
|
45
46
|
v2: l
|
|
46
47
|
}
|
|
@@ -54,28 +55,28 @@ const V = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(L, {
|
|
|
54
55
|
content: s,
|
|
55
56
|
locale: o
|
|
56
57
|
}), U = () => {
|
|
57
|
-
const s =
|
|
58
|
-
globalClasses:
|
|
59
|
-
moduleClasses:
|
|
58
|
+
const s = P({
|
|
59
|
+
globalClasses: y,
|
|
60
|
+
moduleClasses: N
|
|
60
61
|
});
|
|
61
62
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
|
62
|
-
className: r(
|
|
63
|
+
className: r(h, i.label)
|
|
63
64
|
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
64
|
-
className: r(
|
|
65
|
+
className: r(M, i.requiredMark)
|
|
65
66
|
})), /* @__PURE__ */ e.createElement(t.Options, {
|
|
66
|
-
className: r(
|
|
67
|
+
className: r(b, O.options)
|
|
67
68
|
}, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
|
|
68
69
|
className: i.checkbox
|
|
69
70
|
}, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
|
|
70
71
|
className: s
|
|
71
72
|
}), /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Label, {
|
|
72
|
-
className: r(
|
|
73
|
+
className: r(A, O.optionLabel)
|
|
73
74
|
})), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
|
|
74
|
-
inputClassName: r(
|
|
75
|
+
inputClassName: r(v, i.input)
|
|
75
76
|
}))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
76
77
|
className: r(T, i.error)
|
|
77
78
|
}, /* @__PURE__ */ e.createElement(f, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|
|
78
|
-
className: r(
|
|
79
|
+
className: r(x, i.description)
|
|
79
80
|
}, V));
|
|
80
81
|
}, j = () => /* @__PURE__ */ e.createElement(U, null);
|
|
81
82
|
export {
|
|
@@ -4,14 +4,14 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
|
|
5
5
|
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Pe, RadioButton as Ne } from "react-aria-components";
|
|
6
6
|
import he from "signature_pad";
|
|
7
|
-
import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as G, ai as A, af as H, ak as Ee, as as Me } from "./form-
|
|
7
|
+
import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as G, ai as A, af as H, ak as Ee, as as Me } from "./form-BpHElSwH.js";
|
|
8
8
|
import { f as T, a as F } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as We, E as He } from "./field-error-headless-
|
|
10
|
-
import { L as Ye } from "./field-label-headless-
|
|
9
|
+
import { D as We, E as He } from "./field-error-headless-C5ZsFUKv.js";
|
|
10
|
+
import { L as Ye } from "./field-label-headless-CS5OYsiI.js";
|
|
11
11
|
import { D as ke } from "./data-hooks-Dkw1pbRj.js";
|
|
12
12
|
import { E as $e } from "./error-icon-hZxQ6DEy.js";
|
|
13
13
|
import { s as z } from "./field-rac.module-DjmaTYkc.js";
|
|
14
|
-
import {
|
|
14
|
+
import { z as ue, Q as ze, y as B, a4 as Ve, p as Ze, i as Xe } from "./form-element-classes-BXNs5k3q.js";
|
|
15
15
|
const Ge = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
|
|
16
16
|
var w = /* @__PURE__ */ (function(e) {
|
|
17
17
|
return e.TEXT = "text/plain", e.POINTS = "points/json", e;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import l from "classnames";
|
|
3
|
-
import { ai as c } from "./form-
|
|
3
|
+
import { ai as c } from "./form-BpHElSwH.js";
|
|
4
4
|
import { ProgressBar as g, Button as b } from "react-aria-components";
|
|
5
5
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a6 as v, a5 as N, a8 as f } from "./form-element-classes-BXNs5k3q.js";
|
|
7
7
|
function C(e) {
|
|
8
8
|
const s = "calc(50% - 2px)";
|
|
9
9
|
return /* @__PURE__ */ t.createElement(g, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { RicosViewer as
|
|
1
|
+
import { RicosViewer as Q } from "@wix/ricos/viewer";
|
|
2
2
|
import _ from "classnames";
|
|
3
|
-
import e, { useMemo as F, useState as
|
|
4
|
-
import { ai as
|
|
3
|
+
import e, { useMemo as F, useState as z, useRef as V, useLayoutEffect as K, useCallback as k } from "react";
|
|
4
|
+
import { ai as y, af as Y, as as T, ab as j, ak as w, ac as J } from "./form-BpHElSwH.js";
|
|
5
5
|
import { CheckboxGroup as X, TextField as Z, Input as ee, CheckboxField as te, CheckboxButton as ae } from "react-aria-components";
|
|
6
6
|
import { f, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as B, D as P } from "./field-error-headless-
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
7
|
+
import { E as B, D as P } from "./field-error-headless-C5ZsFUKv.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-CS5OYsiI.js";
|
|
9
9
|
import { F as ne } from "./fieldset-headless-CD3fds9J.js";
|
|
10
|
-
import { N as
|
|
10
|
+
import { N as g } from "./options-layout-constants-DEfIEJWD.js";
|
|
11
11
|
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as S } from "./field-rac.module-DjmaTYkc.js";
|
|
13
|
-
import {
|
|
13
|
+
import { z as oe, Q as re, a0 as le, a1 as ie, a2 as ce, y as ue, p as de, i as me, F as pe } from "./form-element-classes-BXNs5k3q.js";
|
|
14
14
|
import { o as Ee } from "./options-rac.module-KM-VT_KY.js";
|
|
15
15
|
const N = "Other", he = (a, t) => {
|
|
16
16
|
const c = t.length + 2;
|
|
@@ -21,10 +21,10 @@ const N = "Other", he = (a, t) => {
|
|
|
21
21
|
className: a
|
|
22
22
|
}, l);
|
|
23
23
|
}, q = ({ className: a }) => {
|
|
24
|
-
const { value: t, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: s, disabled: u, readOnly: b, hasError: d } =
|
|
24
|
+
const { value: t, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: s, disabled: u, readOnly: b, hasError: d } = y(), { t: m } = T(), o = c || m("add-other.default-other-option-label") || N, p = F(() => he(t || [], o), [
|
|
25
25
|
t,
|
|
26
26
|
o
|
|
27
|
-
]), [n, L] =
|
|
27
|
+
]), [n, L] = z(p), E = V(l);
|
|
28
28
|
K(() => {
|
|
29
29
|
E.current = l;
|
|
30
30
|
});
|
|
@@ -53,9 +53,9 @@ const N = "Other", he = (a, t) => {
|
|
|
53
53
|
maxLength: s,
|
|
54
54
|
className: a
|
|
55
55
|
}));
|
|
56
|
-
},
|
|
57
|
-
const { value: c, label: i, isOther: s, isFirstOption: u } = l, { id: b, value: d, onChange: m, options: o, disabled: p, readOnly: n, hasError: L } =
|
|
58
|
-
|
|
56
|
+
}, v = ({ children: a, className: t, ...l }) => {
|
|
57
|
+
const { value: c, label: i, isOther: s, isFirstOption: u } = l, { id: b, value: d, onChange: m, options: o, disabled: p, readOnly: n, hasError: L } = y(), E = V(null);
|
|
58
|
+
w(() => {
|
|
59
59
|
var O;
|
|
60
60
|
u && ((O = E.current) == null || O.focus({
|
|
61
61
|
preventScroll: !0
|
|
@@ -69,7 +69,7 @@ const N = "Other", he = (a, t) => {
|
|
|
69
69
|
i,
|
|
70
70
|
c
|
|
71
71
|
]), R = k((O) => {
|
|
72
|
-
const U = Oe(o || []), M = h.filter((
|
|
72
|
+
const U = Oe(o || []), M = h.filter((H) => U.includes(H));
|
|
73
73
|
m(O ? [
|
|
74
74
|
...M,
|
|
75
75
|
i
|
|
@@ -97,7 +97,7 @@ const N = "Other", he = (a, t) => {
|
|
|
97
97
|
isFirstOption: u
|
|
98
98
|
})));
|
|
99
99
|
}, A = ({ children: a, className: t }) => {
|
|
100
|
-
const { options: l, addOther: c, addOtherLabel: i, numberOfColumns: s =
|
|
100
|
+
const { options: l, addOther: c, addOtherLabel: i, numberOfColumns: s = g.FREE_FLOW } = y(), { isMobile: u } = j(), { t: b } = T(), d = u && s !== g.FREE_FLOW ? g.ONE : s, m = i || b("add-other.default-other-option-label") || N, o = f(a, v), p = F(() => {
|
|
101
101
|
const n = l || [];
|
|
102
102
|
return c ? [
|
|
103
103
|
...n,
|
|
@@ -126,7 +126,7 @@ const N = "Other", he = (a, t) => {
|
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
128
|
}, G = ({ children: a, className: t }) => {
|
|
129
|
-
const { addOther: l, addOtherLabel: c, hasError: i, readOnly: s, value: u } =
|
|
129
|
+
const { addOther: l, addOtherLabel: c, hasError: i, readOnly: s, value: u } = y(), { t: b } = T(), d = c || b("add-other.default-other-option-label") || N, m = f(a, A), o = f(a, q), p = F(() => !l || !u ? !1 : u.some((n) => n === d || n.startsWith(`${d}:`)), [
|
|
130
130
|
l,
|
|
131
131
|
u,
|
|
132
132
|
d
|
|
@@ -137,7 +137,7 @@ const N = "Other", he = (a, t) => {
|
|
|
137
137
|
"data-readonly": s
|
|
138
138
|
}, m, p && o);
|
|
139
139
|
}, r = ({ children: a }) => {
|
|
140
|
-
const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } =
|
|
140
|
+
const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } = y(), { inputId: p, labelId: n, ariaDescribedBy: L } = Y(), E = F(() => l || [], [
|
|
141
141
|
l
|
|
142
142
|
]), I = f(a, $), h = f(a, G), C = f(a, P), R = f(a, B);
|
|
143
143
|
return /* @__PURE__ */ e.createElement(i, {
|
|
@@ -162,19 +162,19 @@ const N = "Other", he = (a, t) => {
|
|
|
162
162
|
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, R, C)
|
|
163
163
|
});
|
|
164
164
|
};
|
|
165
|
-
A.Option =
|
|
166
|
-
|
|
165
|
+
A.Option = v;
|
|
166
|
+
v.Label = W;
|
|
167
167
|
r.Label = $;
|
|
168
168
|
r.Control = G;
|
|
169
169
|
r.Options = A;
|
|
170
170
|
r.OtherInput = q;
|
|
171
171
|
r.Description = P;
|
|
172
172
|
r.Error = B;
|
|
173
|
-
const be = "
|
|
173
|
+
const be = "_control_1t32y_1", fe = "_options_1t32y_7", Le = "_option_1t32y_7", D = {
|
|
174
174
|
control: be,
|
|
175
175
|
options: fe,
|
|
176
176
|
option: Le
|
|
177
|
-
}, _e = ({ content: a, locale: t }) => /* @__PURE__ */ e.createElement(
|
|
177
|
+
}, _e = ({ content: a, locale: t }) => /* @__PURE__ */ e.createElement(Q, {
|
|
178
178
|
content: a,
|
|
179
179
|
locale: t
|
|
180
180
|
}), ke = () => {
|
|
@@ -184,11 +184,11 @@ const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7",
|
|
|
184
184
|
}, /* @__PURE__ */ e.createElement(r.Label.Required, {
|
|
185
185
|
className: _(re, S.requiredMark)
|
|
186
186
|
})), /* @__PURE__ */ e.createElement(r.Control, {
|
|
187
|
-
className:
|
|
187
|
+
className: D.control
|
|
188
188
|
}, /* @__PURE__ */ e.createElement(r.Options, {
|
|
189
|
-
className: _(le,
|
|
189
|
+
className: _(le, D.options)
|
|
190
190
|
}, /* @__PURE__ */ e.createElement(r.Options.Option, {
|
|
191
|
-
className: ({ isSelected: t }) => _(ie,
|
|
191
|
+
className: ({ isSelected: t }) => _(ie, D.option, a, {
|
|
192
192
|
[ce]: t
|
|
193
193
|
})
|
|
194
194
|
}, /* @__PURE__ */ e.createElement(r.Options.Option.Label, {
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import n from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as N } from "react-aria-components";
|
|
5
|
-
import { ai as p, af as E, ak as x } from "./form-
|
|
5
|
+
import { ai as p, af as E, ak as x } from "./form-BpHElSwH.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as h, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
7
|
+
import { D as h, E as M } from "./field-error-headless-C5ZsFUKv.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-CS5OYsiI.js";
|
|
9
9
|
import { E as v } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s } from "./field-rac.module-DjmaTYkc.js";
|
|
11
|
-
import {
|
|
11
|
+
import { z as q, Q as B, y as k, p as P, i as Q } from "./form-element-classes-BXNs5k3q.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: l, disabled: u, required: o, readOnly: i, onBlur: d, onFocus: f, FieldLayout: I, hasError: F } = p(), { labelId: L } = E(), R = O((C) => {
|
|
14
14
|
l(C);
|
|
@@ -50,7 +50,7 @@ e.Description = h;
|
|
|
50
50
|
e.Error = M;
|
|
51
51
|
const V = "_input_ug5v8_1", w = {
|
|
52
52
|
input: V
|
|
53
|
-
},
|
|
53
|
+
}, z = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(S, {
|
|
54
54
|
content: t,
|
|
55
55
|
locale: a
|
|
56
56
|
}), re = () => /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
|
|
@@ -63,7 +63,7 @@ const V = "_input_ug5v8_1", w = {
|
|
|
63
63
|
className: n(P, s.error)
|
|
64
64
|
}, /* @__PURE__ */ r.createElement(v, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
65
65
|
className: n(Q, s.description)
|
|
66
|
-
},
|
|
66
|
+
}, z));
|
|
67
67
|
export {
|
|
68
68
|
re as T
|
|
69
69
|
};
|
package/dist/component/{text-input-field-rac-x4ByKmBv.js → text-input-field-rac-CbnKn03g.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { T as r } from "./text-input-headless-
|
|
4
|
+
import { T as r } from "./text-input-headless-C_NTJmLe.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DjmaTYkc.js";
|
|
7
|
-
import {
|
|
7
|
+
import { z as n, Q as c, y as E, p as i, i as p } from "./form-element-classes-BXNs5k3q.js";
|
|
8
8
|
const R = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
9
9
|
content: s,
|
|
10
10
|
locale: l
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as L } from "react";
|
|
2
2
|
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
-
import { ai as d, af as c, ak as T } from "./form-
|
|
3
|
+
import { ai as d, af as c, ak as T } from "./form-BpHElSwH.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-C5ZsFUKv.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-CS5OYsiI.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: f, FieldLayout: b } = d(), { labelId: E } = c(), I = a(r, e.Label), F = a(r, e.Input), y = a(r, e.Description), D = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(b, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import e, { useCallback as H, useRef as V, useContext as
|
|
2
|
-
import { RicosViewer as
|
|
1
|
+
import e, { useCallback as H, useRef as V, useContext as k } from "react";
|
|
2
|
+
import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
3
3
|
import c from "classnames";
|
|
4
|
-
import { parseTime as
|
|
5
|
-
import { TimeField as
|
|
6
|
-
import { ai as p, af as Q, as as T, ak as j } from "./form-
|
|
4
|
+
import { parseTime as v } from "@internationalized/date";
|
|
5
|
+
import { TimeField as x, DateInput as B, DateSegment as h, TimeFieldStateContext as U } from "react-aria-components";
|
|
6
|
+
import { ai as p, af as Q, as as T, ak as j } from "./form-BpHElSwH.js";
|
|
7
7
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as z, E as G } from "./field-error-headless-
|
|
9
|
-
import { L as J } from "./field-label-headless-
|
|
8
|
+
import { D as z, E as G } from "./field-error-headless-C5ZsFUKv.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-CS5OYsiI.js";
|
|
10
10
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as S } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as E } from "./field-rac.module-DjmaTYkc.js";
|
|
13
|
-
import {
|
|
13
|
+
import { z as W, Q as X, y as Y, p as Z, i as $ } from "./form-element-classes-BXNs5k3q.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: f, use24HourFormat: b, FieldLayout: I, hasError: C } = p(), { inputId: L, ariaDescribedBy: g, labelId: D } = Q(), R = H((M) => {
|
|
16
16
|
const w = ae(M);
|
|
@@ -21,7 +21,7 @@ const r = ({ children: t }) => {
|
|
|
21
21
|
return /* @__PURE__ */ e.createElement(I, {
|
|
22
22
|
fieldId: n,
|
|
23
23
|
renderLabel: () => y,
|
|
24
|
-
renderInput: () => /* @__PURE__ */ e.createElement(
|
|
24
|
+
renderInput: () => /* @__PURE__ */ e.createElement(x, {
|
|
25
25
|
"aria-labelledby": D,
|
|
26
26
|
id: L,
|
|
27
27
|
"aria-describedby": g,
|
|
@@ -89,7 +89,7 @@ const r = ({ children: t }) => {
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
}, re = ({ className: t, ...n }) => {
|
|
92
|
-
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = T(), s =
|
|
92
|
+
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = T(), s = k(U), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
|
|
93
93
|
return /* @__PURE__ */ e.createElement(h, {
|
|
94
94
|
segment: o,
|
|
95
95
|
className: t,
|
|
@@ -110,7 +110,7 @@ function ne(t) {
|
|
|
110
110
|
if (!t)
|
|
111
111
|
return null;
|
|
112
112
|
try {
|
|
113
|
-
return
|
|
113
|
+
return v(t);
|
|
114
114
|
} catch {
|
|
115
115
|
return null;
|
|
116
116
|
}
|
|
@@ -130,7 +130,7 @@ const oe = "_time_1wbmw_1", se = "_hour_1wbmw_14", le = "_minute_1wbmw_15", ie =
|
|
|
130
130
|
hour: se,
|
|
131
131
|
minute: le,
|
|
132
132
|
period: ie
|
|
133
|
-
}, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(
|
|
133
|
+
}, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(q, {
|
|
134
134
|
content: t,
|
|
135
135
|
locale: n
|
|
136
136
|
}), me = () => /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
|
2
2
|
import l from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as y } from "react";
|
|
4
4
|
import { TextField as N, Input as A } from "react-aria-components";
|
|
5
|
-
import { ai as E, af as d, ak as k } from "./form-
|
|
5
|
+
import { ai as E, af as d, ak as k } from "./form-BpHElSwH.js";
|
|
6
6
|
import { f as u } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as M } from "./field-error-headless-C5ZsFUKv.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-CS5OYsiI.js";
|
|
9
9
|
import { u as T } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as v } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s } from "./field-rac.module-DjmaTYkc.js";
|
|
12
|
-
import {
|
|
12
|
+
import { z as U, Q as g, y as q, p as x, i as w } from "./form-element-classes-BXNs5k3q.js";
|
|
13
13
|
const Q = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: n, onChange: a, disabled: m, readOnly: i, required: c, hasError: I, onBlur: f, onFocus: F, FieldLayout: L } = E(), { labelId: R } = d(), p = T(f), b = u(t, e.Label), D = u(t, e.Input), _ = u(t, e.Description), C = u(t, e.Error), S = h(() => {
|
|
15
15
|
a(Q(n)), p();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import d from "classnames";
|
|
2
|
+
import { ac as s } from "./form-BpHElSwH.js";
|
|
3
|
+
const E = ({ globalClasses: e, moduleClasses: t }) => {
|
|
4
|
+
var c;
|
|
5
|
+
const r = ((c = s(e.key)) == null ? void 0 : c.split(/\s+/)) ?? [], m = r.includes(e.selected), o = r.includes(e.hover);
|
|
6
|
+
return ({ isSelected: n, isHovered: i }) => d(e.base, t.base, r, {
|
|
7
|
+
[e.selected]: n,
|
|
8
|
+
[e.hover]: i,
|
|
9
|
+
[t.selected]: n || m,
|
|
10
|
+
[t.hover]: i || o
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
E as u
|
|
15
|
+
};
|
package/dist/component/{use-service-options-base-CgT1IKB3.js → use-service-options-base-EFrxTpGm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as D, useEffect as m, useMemo as b } from "react";
|
|
2
|
-
import { ah as v } from "./form-
|
|
2
|
+
import { ah as v } from "./form-BpHElSwH.js";
|
|
3
3
|
const k = (h) => {
|
|
4
4
|
const { fieldType: I, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = h, [L, O] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(I), r = D((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.77.0",
|
|
4
4
|
"description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
]
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
-
"falconPackageHash": "
|
|
154
|
+
"falconPackageHash": "b51f49b3f3b3028c3d441d6248803741aa0107f860ff7f7ac9a30082"
|
|
155
155
|
}
|