@wix/form-elements 1.101.0 → 1.103.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-Bz666XRl.js → appointment-rac-DW5YPIgy.js} +4 -4
- package/dist/component/{bookings-address-rac-BeOnUsml.js → bookings-address-rac-7ODYuuSG.js} +1 -1
- package/dist/component/{bookings-email-rac-DG28agAj.js → bookings-email-rac-BCnhC0YX.js} +1 -1
- package/dist/component/{bookings-first-name-rac-gR3z4-ab.js → bookings-first-name-rac-DvpfHse1.js} +1 -1
- package/dist/component/{bookings-header-rac-Z8uH4Ld4.js → bookings-header-rac-Dohy9hCz.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BQIL81Rd.js → bookings-last-name-rac-CVDRbwd7.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DLDBFIUw.js → bookings-login-bar-rac-DavjHZGh.js} +1 -1
- package/dist/component/{bookings-phone-rac-DZBdi31-.js → bookings-phone-rac-Cj6Dz0vX.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-uJfFKnlR.js → bookings-rich-text-rac-DjmnegM6.js} +1 -1
- package/dist/component/{checkbox-field-rac-CESygdpa.js → checkbox-field-rac-DbJQI0lK.js} +4 -4
- package/dist/component/checkbox-group-field-headless-BWCsolHw.js +205 -0
- package/dist/component/{checkbox-group-field-rac-B4xHxrnm.js → checkbox-group-field-rac-Cmc2pwQi.js} +7 -5
- package/dist/component/{checkbox-group-rac-Cj1QP0mi.js → checkbox-group-rac-q3wI6hQH.js} +1 -1
- package/dist/component/{checkbox-rac-CwDeLVTg.js → checkbox-rac-BsutELL1.js} +1 -1
- package/dist/component/{contacts-address-rac-CR0VgQjc.js → contacts-address-rac-BUCtejza.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BKP3MEUH.js → contacts-birthdate-rac-1E453ZgP.js} +1 -1
- package/dist/component/{contacts-company-rac-2KfK3HUv.js → contacts-company-rac-DrK20x29.js} +1 -1
- package/dist/component/{contacts-email-rac-C-StCCdk.js → contacts-email-rac-CMiWMV_P.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DluPdJrM.js → contacts-first-name-rac-DPwXc8-1.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BPFDtu0m.js → contacts-last-name-rac-CeuRsbGC.js} +1 -1
- package/dist/component/{contacts-phone-rac-DCjYThvu.js → contacts-phone-rac-Cwjc5too.js} +1 -1
- package/dist/component/{contacts-position-rac-70Y5K0-2.js → contacts-position-rac-C8w3NNCn.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CkpV9O6Z.js → contacts-subscribe-rac-CFejp0de.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-Cc7RlBvQ.js → contacts-tax-id-rac-xNks1IAv.js} +1 -1
- package/dist/component/{date-availability-BNMZIIVi.js → date-availability-xTIFwK6x.js} +1 -1
- package/dist/component/{date-input-field-rac-B7U8YKrm.js → date-input-field-rac-DcoJJUZc.js} +6 -6
- package/dist/component/{date-input-rac-CYooWhMb.js → date-input-rac-CnZAuOkP.js} +1 -1
- package/dist/component/{date-picker-field-rac-FmHlyJdB.js → date-picker-field-rac-D__137lA.js} +5 -5
- package/dist/component/{date-picker-rac-DLwn7AKn.js → date-picker-rac-DQ42fhVP.js} +1 -1
- package/dist/component/{date-time-input-field-rac-eGxHBFDW.js → date-time-input-field-rac-BHBAMq3g.js} +6 -6
- package/dist/component/{date-time-input-rac-2E-AZjJU.js → date-time-input-rac-DbIAF6nq.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-1yuZvgHa.js → dext-checkbox-group-rac-Ds2w4V3q.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DM0XXP68.js → dext-checkbox-rac-DSidRTEl.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CMzKfaWk.js → dext-date-picker-rac-Derm4Q3d.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CFq1kbpd.js → dext-date-time-input-rac-BcyPuijC.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BdhFCJOG.js → dext-dropdown-rac-kDuk--KF.js} +1 -1
- package/dist/component/{dext-email-rac-B7pSx32V.js → dext-email-rac-xys-YMg2.js} +1 -1
- package/dist/component/{dext-number-input-rac-BySDR8wu.js → dext-number-input-rac-BZpAijhk.js} +1 -1
- package/dist/component/{dext-phone-rac-BG5s3WRz.js → dext-phone-rac-CMPboOsF.js} +1 -1
- package/dist/component/{dext-radio-group-rac-rLbHat4_.js → dext-radio-group-rac-5h9c9bW2.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Q6sOA59G.js → dext-rating-input-rac-BobDzEXB.js} +1 -1
- package/dist/component/{dext-tags-rac-ChmYbfhb.js → dext-tags-rac-DoJWzkrn.js} +2 -2
- package/dist/component/{dext-text-area-rac-D3sAPT-i.js → dext-text-area-rac-BIRCFM2F.js} +1 -1
- package/dist/component/{dext-text-input-rac-Pt4j-NHE.js → dext-text-input-rac-Bzx5hcyp.js} +1 -1
- package/dist/component/{dext-url-input-rac-jVL0Hmzh.js → dext-url-input-rac-C9hlh97b.js} +1 -1
- package/dist/component/donation-rac-CpEduCy1.js +318 -0
- package/dist/component/{dropdown-field-headless-CppwKBfX.js → dropdown-field-headless-Dcbu807N.js} +4 -4
- package/dist/component/{dropdown-field-rac-CgBmIDaT.js → dropdown-field-rac-mJwCTpQA.js} +2 -2
- package/dist/component/{dropdown-rac-BMweA5uI.js → dropdown-rac-N5I5XU3B.js} +1 -1
- package/dist/component/{ecom-address-rac-O0_CQxUW.js → ecom-address-rac-_0TO5pFZ.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Cmu1KuGg.js → ecom-subscription-checkbox-rac-DNdz6UCu.js} +2 -2
- package/dist/component/{email-input-field-rac-D_5MccPr.js → email-input-field-rac-VDJC1JLs.js} +3 -3
- package/dist/component/{events-repeater-rac-8Y4pq7V2.js → events-repeater-rac-CzBVzG00.js} +4 -4
- package/dist/component/{events-rsvp-rac-BYydUMNS.js → events-rsvp-rac--ADJlIQz.js} +24 -20
- package/dist/component/{field-error-headless-gUwzDWOe.js → field-error-headless-_ADCIvnx.js} +1 -1
- package/dist/component/{field-label-headless-Co6yOqfY.js → field-label-headless-DiDxuhCI.js} +1 -1
- package/dist/component/{file-upload-rac-DCPcAuy6.js → file-upload-rac-CiYo9UQA.js} +3 -3
- package/dist/component/{fixed-payment-rac-BYxHFMz7.js → fixed-payment-rac-DgNVdELB.js} +3 -3
- package/dist/component/{form-xpXT6sSe.js → form-DPmF8iaT.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-D6Ooi7Mr.js → header-field-rac-BuJTUp5S.js} +2 -2
- package/dist/component/{header-rac-DnGs8ZQz.js → header-rac-BphcUkmo.js} +1 -1
- package/dist/component/image-choice-rac-CZSMzLY2.js +162 -0
- package/dist/component/{index-DDN9WMAP.js → index-B0DLHSXg.js} +4 -4
- package/dist/component/{index-BycimQIL.js → index-BEIxTlpO.js} +2 -2
- package/dist/component/{isObjectLike-CO5vOu2v.js → isObjectLike-DuXP52EV.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Ceqa3t-S.js → multiline-address-field-rac-CNJyTqJt.js} +7 -7
- package/dist/component/{multiline-address-rac-DUEzLbEj.js → multiline-address-rac-DG7xjt6A.js} +1 -1
- package/dist/component/{number-input-field-rac-bpQgiO2z.js → number-input-field-rac-Bj2AK7Oj.js} +4 -4
- package/dist/component/{number-input-rac-igcMPISW.js → number-input-rac-JPgr87Xh.js} +1 -1
- package/dist/component/options-rac.module-CTDdATiz.js +8 -0
- package/dist/component/{password-rac-BT1z4LAW.js → password-rac-J0ySzA6j.js} +4 -4
- package/dist/component/{payment-input-rac-COxjqEMn.js → payment-input-rac-B1VmJQeD.js} +4 -4
- package/dist/component/{phone-input-field-rac-CDeMaVl7.js → phone-input-field-rac-SWP8Xkh-.js} +6 -6
- package/dist/component/{phone-rac-BCL0hoBl.js → phone-rac-BU33sXKk.js} +1 -1
- package/dist/component/{product-list-rac-BI9J6Cv5.js → product-list-rac-dk3gFLyb.js} +5 -5
- package/dist/component/{quiz-radio-group-rac-oevpys_A.js → quiz-radio-group-rac-BFlVZj9U.js} +1 -1
- package/dist/component/radio-button-module-classes-DgiY7sw3.js +133 -0
- package/dist/component/{radio-group-field-rac-2y5gEEt7.js → radio-group-field-rac-qD-GQu2A.js} +23 -21
- package/dist/component/{radio-group-rac-DF769GN5.js → radio-group-rac-CIY9Gj99.js} +1 -1
- package/dist/component/{rating-input-field-rac-DzuWl96q.js → rating-input-field-rac-BVWuvhkf.js} +4 -4
- package/dist/component/{rating-input-rac-DOwiqhty.js → rating-input-rac-C3HFmqHX.js} +1 -1
- package/dist/component/{rich-content-rac.module-B0CKQkBJ.js → rich-content-rac.module-QBgwAjEA.js} +1 -1
- package/dist/component/{rich-text-field-rac-CHfUVOQg.js → rich-text-field-rac-BohVUJm1.js} +2 -2
- package/dist/component/{rich-text-rac-CyfDUzdG.js → rich-text-rac-BST0y6Gq.js} +1 -1
- package/dist/component/{service-dropdown-rac-DSOEw_Pz.js → service-dropdown-rac-DZSY9T2v.js} +4 -4
- package/dist/component/services-multi-choice-rac-hD8TI7n7.js +89 -0
- package/dist/component/{signature-rac-CQgKDpSA.js → signature-rac-D9G6D7Pa.js} +3 -3
- package/dist/component/{submit-button-rac-CkcToyXk.js → submit-button-rac-D4vOTaQ9.js} +1 -1
- package/dist/component/tags-field-rac-CoNoLUAV.js +220 -0
- package/dist/component/{tags-rac-De-oJJeH.js → tags-rac-BGT8KWvN.js} +1 -1
- package/dist/component/{text-area-field-rac-Abh_6vvi.js → text-area-field-rac-x-LWaPSL.js} +4 -4
- package/dist/component/{text-area-rac-CPtigptv.js → text-area-rac-B0KN3TR1.js} +1 -1
- package/dist/component/{text-input-field-rac-mmA4MWmn.js → text-input-field-rac-DH5j0Tvv.js} +2 -2
- package/dist/component/{text-input-headless-_LKXMy0W.js → text-input-headless-Slo-xa7H.js} +3 -3
- package/dist/component/{text-input-rac-Dwc5DpDr.js → text-input-rac-_VrGU08X.js} +1 -1
- package/dist/component/{time-input-rac-DXaTD0kX.js → time-input-rac-DS5uFTDp.js} +4 -4
- package/dist/component/{url-input-field-rac-DmFkKHcU.js → url-input-field-rac-yCewMKD-.js} +4 -4
- package/dist/component/{url-input-rac-B0_9AJIF.js → url-input-rac-D7cuZG08.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DXfUR3FK.js → use-dropdown-option-class-name-DbjgH9K1.js} +1 -1
- package/dist/component/{use-element-state-class-name-DnTajLN7.js → use-element-state-class-name-C2_dMWlH.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-aQ729ktc.js → use-is-forced-open-dropdown-VcOCKx-3.js} +1 -1
- package/dist/component/{use-service-options-base-DY2mUh8f.js → use-service-options-base-Cu9nE-aZ.js} +1 -1
- package/dist/component/{use-text-input-class-name-ZQJA7JHr.js → use-text-input-class-name-DMokiXwB.js} +2 -2
- package/package.json +2 -2
- package/dist/component/checkbox-group-field-headless-Bz_FnjxO.js +0 -205
- package/dist/component/donation-rac-D_ljVWm9.js +0 -319
- package/dist/component/image-choice-rac-B9t4gM5n.js +0 -158
- package/dist/component/options-layout-constants-DEfIEJWD.js +0 -6
- package/dist/component/options-rac.module-KM-VT_KY.js +0 -7
- package/dist/component/radio-button-module-classes-CJ00fK3C.js +0 -132
- package/dist/component/services-multi-choice-rac-Bw3adRvE.js +0 -85
- package/dist/component/tags-field-rac-BEuOFlHS.js +0 -218
package/dist/component/{rating-input-field-rac-DzuWl96q.js → rating-input-field-rac-BVWuvhkf.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { RicosViewer as y } from "@wix/ricos/viewer";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { ak as b, ah as v, au as T } from "./form-
|
|
4
|
+
import { ak as b, ah as v, au as T } from "./form-DPmF8iaT.js";
|
|
5
5
|
import { RadioGroup as H, RadioField as M, RadioButton as w } from "react-aria-components";
|
|
6
6
|
import { f as u, a as B } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as P, E as k } from "./field-error-headless-
|
|
8
|
-
import { L as q } from "./field-label-headless-
|
|
7
|
+
import { D as P, E as k } from "./field-error-headless-_ADCIvnx.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-DiDxuhCI.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DobpyqOd.js";
|
|
11
11
|
import { C as x, S as Q, Q as U, r as j, j as z, R as Z } from "./form-element-classes-BtKlobUX.js";
|
|
12
|
-
import { u as J } from "./use-element-state-class-name-
|
|
12
|
+
import { u as J } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
13
13
|
const t = ({ children: a }) => {
|
|
14
14
|
const { id: r, value: n, onChange: l, disabled: o, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = b(), { labelId: _ } = v(), L = N((D) => l(Number(D)), [
|
|
15
15
|
l
|
package/dist/component/{rich-content-rac.module-B0CKQkBJ.js → rich-content-rac.module-QBgwAjEA.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as l } from "react";
|
|
2
|
-
import { ak as a, ac as i, au as T } from "./form-
|
|
2
|
+
import { ak as a, ac as i, au as T } from "./form-DPmF8iaT.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 { ak as m, L as i, X as u, _ as R } from "./form-
|
|
4
|
-
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { ak as m, L as i, X as u, _ as R } from "./form-DPmF8iaT.js";
|
|
4
|
+
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-QBgwAjEA.js";
|
|
5
5
|
import { a6 as g } from "./form-element-classes-BtKlobUX.js";
|
|
6
6
|
const h = {
|
|
7
7
|
colorPalette: R(),
|
package/dist/component/{service-dropdown-rac-DSOEw_Pz.js → service-dropdown-rac-DZSY9T2v.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { useRef as P, useMemo as L, useCallback as h, useEffect as T } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { ag as A, au as b, F as M, ak as y, ac as V, h as k } from "./form-
|
|
5
|
-
import { u as x } from "./use-service-options-base-
|
|
6
|
-
import { D as d } from "./dropdown-field-headless-
|
|
4
|
+
import { ag as A, au as b, F as M, ak as y, ac as V, h as k } from "./form-DPmF8iaT.js";
|
|
5
|
+
import { u as x } from "./use-service-options-base-Cu9nE-aZ.js";
|
|
6
|
+
import { D as d } from "./dropdown-field-headless-Dcbu807N.js";
|
|
7
7
|
import { C as H } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as U } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as W } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DobpyqOd.js";
|
|
11
11
|
import { C as q, S as B, n as G, E as j, r as Q, j as Y } from "./form-element-classes-BtKlobUX.js";
|
|
12
|
-
import { u as z } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { u as z } from "./use-dropdown-option-class-name-DbjgH9K1.js";
|
|
13
13
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
14
14
|
const { actions: r } = A(), { t: C } = b(), { addOther: n, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = P(!0), E = L(() => {
|
|
15
15
|
var s;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
|
+
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
|
+
import a from "classnames";
|
|
4
|
+
import { F as R, ak as d, h as D } from "./form-DPmF8iaT.js";
|
|
5
|
+
import { u as N } from "./use-service-options-base-Cu9nE-aZ.js";
|
|
6
|
+
import { C as n } from "./checkbox-group-field-headless-BWCsolHw.js";
|
|
7
|
+
import { E as f } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
+
import { C as F } from "./checkbox-indicator-module-classes-DhbNznSB.js";
|
|
9
|
+
import { s as i } from "./field-rac.module-DobpyqOd.js";
|
|
10
|
+
import { C as h, S as b, c as M, e as A, r as v, j as x, d as P } from "./form-element-classes-BtKlobUX.js";
|
|
11
|
+
import { o as p } from "./options-rac.module-CTDdATiz.js";
|
|
12
|
+
import { u as T } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
13
|
+
import { u as k } from "./use-text-input-class-name-DMokiXwB.js";
|
|
14
|
+
const y = (s) => {
|
|
15
|
+
var O;
|
|
16
|
+
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: u } = N({
|
|
17
|
+
fieldType: R.SERVICES_MULTI_CHOICE,
|
|
18
|
+
isEditor: s.isEditor
|
|
19
|
+
}), C = (O = s.options) == null ? void 0 : O.every((_) => _.label && _.id);
|
|
20
|
+
return I(() => {
|
|
21
|
+
if (C && s.options) {
|
|
22
|
+
c(s.options), m(s.options.length === 0), u(!0);
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
}, [
|
|
26
|
+
C,
|
|
27
|
+
s.options,
|
|
28
|
+
c,
|
|
29
|
+
m,
|
|
30
|
+
u
|
|
31
|
+
]), {
|
|
32
|
+
isLoading: o,
|
|
33
|
+
options: r,
|
|
34
|
+
isEmpty: l,
|
|
35
|
+
shouldRender: E
|
|
36
|
+
};
|
|
37
|
+
}, t = ({ children: s, className: o }) => {
|
|
38
|
+
const r = d(), { options: l, isEmpty: E, shouldRender: c } = y(r), m = L(() => ({
|
|
39
|
+
...r,
|
|
40
|
+
options: l
|
|
41
|
+
}), [
|
|
42
|
+
r,
|
|
43
|
+
l
|
|
44
|
+
]);
|
|
45
|
+
return !r.isEditor && E || !c ? null : /* @__PURE__ */ e.createElement(D.Provider, {
|
|
46
|
+
value: {
|
|
47
|
+
v2: m
|
|
48
|
+
}
|
|
49
|
+
}, /* @__PURE__ */ e.createElement(n, {
|
|
50
|
+
className: o
|
|
51
|
+
}, s));
|
|
52
|
+
};
|
|
53
|
+
t.Label = n.Label;
|
|
54
|
+
t.Options = n.Options;
|
|
55
|
+
t.Description = n.Description;
|
|
56
|
+
t.Error = n.Error;
|
|
57
|
+
const B = ({ content: s, locale: o }) => /* @__PURE__ */ e.createElement(S, {
|
|
58
|
+
content: s,
|
|
59
|
+
locale: o
|
|
60
|
+
}), g = () => {
|
|
61
|
+
const s = T({
|
|
62
|
+
globalClasses: P,
|
|
63
|
+
moduleClasses: F
|
|
64
|
+
}), o = k();
|
|
65
|
+
return /* @__PURE__ */ e.createElement(t, {
|
|
66
|
+
className: p.group
|
|
67
|
+
}, /* @__PURE__ */ e.createElement(t.Label, {
|
|
68
|
+
className: a(h, i.label)
|
|
69
|
+
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
70
|
+
className: a(b, i.requiredMark)
|
|
71
|
+
})), /* @__PURE__ */ e.createElement(t.Options, {
|
|
72
|
+
className: a(M, p.options)
|
|
73
|
+
}, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
|
|
74
|
+
className: i.checkbox
|
|
75
|
+
}, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
|
|
76
|
+
className: s
|
|
77
|
+
}), /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Label, {
|
|
78
|
+
className: a(A, p.optionLabel)
|
|
79
|
+
})), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
|
|
80
|
+
inputClassName: o
|
|
81
|
+
}))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
82
|
+
className: a(v, i.error)
|
|
83
|
+
}, /* @__PURE__ */ e.createElement(f, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|
|
84
|
+
className: a(x, i.description)
|
|
85
|
+
}, B));
|
|
86
|
+
}, W = () => /* @__PURE__ */ e.createElement(g, null);
|
|
87
|
+
export {
|
|
88
|
+
W as ServicesMultiChoiceRAC
|
|
89
|
+
};
|
|
@@ -4,10 +4,10 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as Se, mergeProps as xe } 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 { G as Ue, ag as Oe, ac as Be, as as ge, E as ce, e as G, ak as A, ah as H, am as Ee, au as Me } from "./form-
|
|
7
|
+
import { G as Ue, ag as Oe, ac as Be, as as ge, E as ce, e as G, ak as A, ah as H, am as Ee, au as Me } from "./form-DPmF8iaT.js";
|
|
8
8
|
import { f as C, 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-_ADCIvnx.js";
|
|
10
|
+
import { L as Ye } from "./field-label-headless-DiDxuhCI.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 V } from "./field-rac.module-DobpyqOd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t, { useRef as y, useCallback as f } from "react";
|
|
2
2
|
import P from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import b from "classnames";
|
|
4
|
-
import { ak as B, ae as h } from "./form-
|
|
4
|
+
import { ak as B, ae as h } from "./form-DPmF8iaT.js";
|
|
5
5
|
import { ProgressBar as A, Button as N } from "react-aria-components";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { a5 as I, a4 as O, a7 as w, a9 as F, A as k, a8 as R } from "./form-element-classes-BtKlobUX.js";
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
2
|
+
import F from "classnames";
|
|
3
|
+
import t, { useMemo as I, useState as z, useRef as A, useLayoutEffect as B, useCallback as N } from "react";
|
|
4
|
+
import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
+
import { ak as D, ah as M, au as y, am as U } from "./form-DPmF8iaT.js";
|
|
6
|
+
import { f as b, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-_ADCIvnx.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-DiDxuhCI.js";
|
|
9
|
+
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
|
+
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
+
import { s as S } from "./field-rac.module-DobpyqOd.js";
|
|
12
|
+
import { C as oe, S as ne, $ as ae, r as re, j as se, a0 as le } from "./form-element-classes-BtKlobUX.js";
|
|
13
|
+
import { o as ie } from "./options-rac.module-CTDdATiz.js";
|
|
14
|
+
import { u as ce } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
15
|
+
import { u as ue } from "./use-text-input-class-name-DMokiXwB.js";
|
|
16
|
+
var de = /* @__PURE__ */ (function(e) {
|
|
17
|
+
return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
|
|
18
|
+
})({});
|
|
19
|
+
const v = "Other", me = (e, o) => {
|
|
20
|
+
const r = o.length + 2;
|
|
21
|
+
return (e.find((i) => i.startsWith(`${o}: `)) || "").slice(r);
|
|
22
|
+
}, pe = (e) => e.map((o) => o.value ?? o.label), P = ({ className: e, ...o }) => {
|
|
23
|
+
const { label: a } = o;
|
|
24
|
+
return /* @__PURE__ */ t.createElement("span", {
|
|
25
|
+
className: e
|
|
26
|
+
}, a);
|
|
27
|
+
}, q = ({ className: e }) => {
|
|
28
|
+
const { value: o, onChange: a, addOtherLabel: r, addOtherPlaceholder: l, otherInputCharacterLimit: i, disabled: u, readOnly: m, hasError: d } = D(), { t: p } = y(), n = r || p("add-other.default-other-option-label") || v, O = I(() => me(o || [], n), [
|
|
29
|
+
o,
|
|
30
|
+
n
|
|
31
|
+
]), [c, L] = z(O), f = A(a);
|
|
32
|
+
B(() => {
|
|
33
|
+
f.current = a;
|
|
34
|
+
});
|
|
35
|
+
const g = N((h) => {
|
|
36
|
+
L(h);
|
|
37
|
+
const C = (o || []).filter((E) => !E.startsWith(`${n}:`) && E !== n), _ = h ? `${n}: ${h}` : n;
|
|
38
|
+
f.current([
|
|
39
|
+
...C,
|
|
40
|
+
_
|
|
41
|
+
]);
|
|
42
|
+
}, [
|
|
43
|
+
o,
|
|
44
|
+
n
|
|
45
|
+
]);
|
|
46
|
+
return /* @__PURE__ */ t.createElement(K, {
|
|
47
|
+
value: c,
|
|
48
|
+
onChange: g,
|
|
49
|
+
isDisabled: u,
|
|
50
|
+
isReadOnly: m,
|
|
51
|
+
isInvalid: d,
|
|
52
|
+
"aria-label": n
|
|
53
|
+
}, /* @__PURE__ */ t.createElement(X, {
|
|
54
|
+
"data-hook": "tags-other-input",
|
|
55
|
+
"data-filled": c ? !0 : void 0,
|
|
56
|
+
placeholder: l,
|
|
57
|
+
maxLength: i,
|
|
58
|
+
className: e
|
|
59
|
+
}));
|
|
60
|
+
}, T = ({ children: e, className: o, ...a }) => {
|
|
61
|
+
const { value: r, label: l, isOther: i, isFirstOption: u } = a, { id: m, value: d, onChange: p, options: n, disabled: O, readOnly: c, hasError: L } = D(), f = A(null);
|
|
62
|
+
U(() => {
|
|
63
|
+
var E;
|
|
64
|
+
u && ((E = f.current) == null || E.focus({
|
|
65
|
+
preventScroll: !0
|
|
66
|
+
}));
|
|
67
|
+
}, m);
|
|
68
|
+
const g = b(e, P), h = I(() => d || [], [
|
|
69
|
+
d
|
|
70
|
+
]), C = I(() => i ? h.find((E) => E === l || E.startsWith(`${l}: `)) || l : r, [
|
|
71
|
+
i,
|
|
72
|
+
h,
|
|
73
|
+
l,
|
|
74
|
+
r
|
|
75
|
+
]), _ = N((E) => {
|
|
76
|
+
const j = pe(n || []), V = h.filter((Q) => j.includes(Q));
|
|
77
|
+
p(E ? [
|
|
78
|
+
...V,
|
|
79
|
+
l
|
|
80
|
+
] : V);
|
|
81
|
+
}, [
|
|
82
|
+
l,
|
|
83
|
+
p,
|
|
84
|
+
n,
|
|
85
|
+
h
|
|
86
|
+
]);
|
|
87
|
+
return /* @__PURE__ */ t.createElement(Y, {
|
|
88
|
+
inputRef: f,
|
|
89
|
+
value: C,
|
|
90
|
+
onChange: i ? _ : void 0,
|
|
91
|
+
isDisabled: O,
|
|
92
|
+
isReadOnly: c,
|
|
93
|
+
isInvalid: L
|
|
94
|
+
}, /* @__PURE__ */ t.createElement(Z, {
|
|
95
|
+
className: o,
|
|
96
|
+
"data-hook": `tags-${i ? v : r}`
|
|
97
|
+
}, x(g, {
|
|
98
|
+
value: r,
|
|
99
|
+
label: l,
|
|
100
|
+
isOther: i,
|
|
101
|
+
isFirstOption: u
|
|
102
|
+
})));
|
|
103
|
+
}, k = ({ children: e, className: o }) => {
|
|
104
|
+
const { options: a, addOther: r, addOtherLabel: l, numberOfColumns: i = de.FREE_FLOW } = D(), { t: u } = y(), m = l || u("add-other.default-other-option-label") || v, d = b(e, T), p = I(() => {
|
|
105
|
+
const n = a || [];
|
|
106
|
+
return r ? [
|
|
107
|
+
...n,
|
|
108
|
+
{
|
|
109
|
+
label: m,
|
|
110
|
+
value: m,
|
|
111
|
+
isOther: !0
|
|
112
|
+
}
|
|
113
|
+
] : n;
|
|
114
|
+
}, [
|
|
115
|
+
a,
|
|
116
|
+
r,
|
|
117
|
+
m
|
|
118
|
+
]);
|
|
119
|
+
return p.length === 0 ? null : /* @__PURE__ */ t.createElement("div", {
|
|
120
|
+
className: o,
|
|
121
|
+
"data-columns": i
|
|
122
|
+
}, p.map((n, O) => {
|
|
123
|
+
const c = n.value ?? n.label;
|
|
124
|
+
return x(d, {
|
|
125
|
+
key: n.isOther ? v : c,
|
|
126
|
+
value: c,
|
|
127
|
+
label: n.label,
|
|
128
|
+
isOther: n.isOther,
|
|
129
|
+
isFirstOption: O === 0
|
|
130
|
+
});
|
|
131
|
+
}));
|
|
132
|
+
}, G = ({ children: e, className: o }) => {
|
|
133
|
+
const { addOther: a, addOtherLabel: r, hasError: l, readOnly: i, value: u } = D(), { t: m } = y(), d = r || m("add-other.default-other-option-label") || v, p = b(e, k), n = b(e, q), O = I(() => !a || !u ? !1 : u.some((c) => c === d || c.startsWith(`${d}:`)), [
|
|
134
|
+
a,
|
|
135
|
+
u,
|
|
136
|
+
d
|
|
137
|
+
]);
|
|
138
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
139
|
+
className: o,
|
|
140
|
+
"data-invalid": l,
|
|
141
|
+
"data-readonly": i
|
|
142
|
+
}, p, O && n);
|
|
143
|
+
}, s = ({ children: e }) => {
|
|
144
|
+
const { id: o, value: a, onChange: r, FieldLayout: l, required: i, disabled: u, readOnly: m, hasError: d, onBlur: p, onFocus: n } = D(), { inputId: O, labelId: c, ariaDescribedBy: L } = M(), f = I(() => a || [], [
|
|
145
|
+
a
|
|
146
|
+
]), g = b(e, $), h = b(e, G), C = b(e, H), _ = b(e, W);
|
|
147
|
+
return /* @__PURE__ */ t.createElement(l, {
|
|
148
|
+
fieldId: o,
|
|
149
|
+
renderLabel: () => g,
|
|
150
|
+
renderInput: () => /* @__PURE__ */ t.createElement(ee, {
|
|
151
|
+
id: O,
|
|
152
|
+
ariaLabelledBy: c,
|
|
153
|
+
ariaDescribedBy: L,
|
|
154
|
+
required: i,
|
|
155
|
+
onBlur: p,
|
|
156
|
+
onFocus: n
|
|
157
|
+
}, /* @__PURE__ */ t.createElement(J, {
|
|
158
|
+
"aria-labelledby": c,
|
|
159
|
+
value: f,
|
|
160
|
+
onChange: r,
|
|
161
|
+
isDisabled: u,
|
|
162
|
+
isReadOnly: m,
|
|
163
|
+
isRequired: i,
|
|
164
|
+
isInvalid: d
|
|
165
|
+
}, h)),
|
|
166
|
+
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, _, C)
|
|
167
|
+
});
|
|
168
|
+
};
|
|
169
|
+
k.Option = T;
|
|
170
|
+
T.Label = P;
|
|
171
|
+
s.Label = $;
|
|
172
|
+
s.Control = G;
|
|
173
|
+
s.Options = k;
|
|
174
|
+
s.OtherInput = q;
|
|
175
|
+
s.Description = H;
|
|
176
|
+
s.Error = W;
|
|
177
|
+
const he = "_control_1g3k6_1", Ee = "_options_1g3k6_8", Oe = "_option_1g3k6_8", be = "_optionHover_1g3k6_80", fe = "_optionSelected_1g3k6_80", R = {
|
|
178
|
+
control: he,
|
|
179
|
+
options: Ee,
|
|
180
|
+
option: Oe,
|
|
181
|
+
optionHover: be,
|
|
182
|
+
optionSelected: fe
|
|
183
|
+
}, Ie = ({ content: e, locale: o }) => /* @__PURE__ */ t.createElement(w, {
|
|
184
|
+
content: e,
|
|
185
|
+
locale: o
|
|
186
|
+
}), Le = {
|
|
187
|
+
base: R.option,
|
|
188
|
+
selected: R.optionSelected,
|
|
189
|
+
hover: R.optionHover
|
|
190
|
+
}, We = () => {
|
|
191
|
+
const e = ce({
|
|
192
|
+
globalClasses: le,
|
|
193
|
+
moduleClasses: Le
|
|
194
|
+
}), o = ue();
|
|
195
|
+
return /* @__PURE__ */ t.createElement(s, null, /* @__PURE__ */ t.createElement(s.Label, {
|
|
196
|
+
className: F(oe, S.label)
|
|
197
|
+
}, /* @__PURE__ */ t.createElement(s.Label.Required, {
|
|
198
|
+
className: F(ne, S.requiredMark)
|
|
199
|
+
})), /* @__PURE__ */ t.createElement(s.Control, {
|
|
200
|
+
className: R.control
|
|
201
|
+
}, /* @__PURE__ */ t.createElement(s.Options, {
|
|
202
|
+
className: F(ae, R.options)
|
|
203
|
+
}, /* @__PURE__ */ t.createElement(s.Options.Option, {
|
|
204
|
+
className: ({ isSelected: a, isHovered: r }) => e({
|
|
205
|
+
isSelected: a,
|
|
206
|
+
isHovered: r
|
|
207
|
+
})
|
|
208
|
+
}, /* @__PURE__ */ t.createElement(s.Options.Option.Label, {
|
|
209
|
+
className: ie.optionLabel
|
|
210
|
+
}))), /* @__PURE__ */ t.createElement(s.OtherInput, {
|
|
211
|
+
className: o
|
|
212
|
+
})), /* @__PURE__ */ t.createElement(s.Error, {
|
|
213
|
+
className: F(re, S.error)
|
|
214
|
+
}, /* @__PURE__ */ t.createElement(te, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
|
|
215
|
+
className: F(se, S.description)
|
|
216
|
+
}, Ie));
|
|
217
|
+
};
|
|
218
|
+
export {
|
|
219
|
+
We as T
|
|
220
|
+
};
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as S, useRef as T } from "react";
|
|
4
4
|
import { TextField as O, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { ak as p, ah as d, am as x } from "./form-
|
|
5
|
+
import { ak as p, ah as d, am as x } from "./form-DPmF8iaT.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as h, E as g } from "./field-error-headless-
|
|
8
|
-
import { L as v } from "./field-label-headless-
|
|
7
|
+
import { D as h, E as g } from "./field-error-headless-_ADCIvnx.js";
|
|
8
|
+
import { L as v } from "./field-label-headless-DiDxuhCI.js";
|
|
9
9
|
import { E as M } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DobpyqOd.js";
|
|
11
11
|
import { C as q, S as B, r as k, j as P } from "./form-element-classes-BtKlobUX.js";
|
|
12
|
-
import { u as V } from "./use-text-input-class-name-
|
|
12
|
+
import { u as V } from "./use-text-input-class-name-DMokiXwB.js";
|
|
13
13
|
const e = ({ children: t }) => {
|
|
14
14
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: f, FieldLayout: I, hasError: b } = p(), { labelId: F } = d(), L = S((A) => {
|
|
15
15
|
s(A);
|
package/dist/component/{text-input-field-rac-mmA4MWmn.js → text-input-field-rac-DH5j0Tvv.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RicosViewer as l } 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-Slo-xa7H.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DobpyqOd.js";
|
|
7
7
|
import { C as n, S as c, r as E, j as i } from "./form-element-classes-BtKlobUX.js";
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-DMokiXwB.js";
|
|
9
9
|
const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as L } from "react";
|
|
2
2
|
import { TextField as R, Input as h } from "react-aria-components";
|
|
3
|
-
import { ak as d, ah as c, am as v } from "./form-
|
|
3
|
+
import { ak as d, ah as c, am as v } from "./form-DPmF8iaT.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as T, E as g } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as g } from "./field-error-headless-_ADCIvnx.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DiDxuhCI.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: b, FieldLayout: f } = 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(f, {
|
|
@@ -3,15 +3,15 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
|
3
3
|
import c from "classnames";
|
|
4
4
|
import { parseTime as v } from "@internationalized/date";
|
|
5
5
|
import { TimeField as B, DateInput as U, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
|
|
6
|
-
import { ak as p, ah as w, au as T, am as Q } from "./form-
|
|
6
|
+
import { ak as p, ah as w, au as T, am as Q } from "./form-DPmF8iaT.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-_ADCIvnx.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-DiDxuhCI.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 f } from "./field-rac.module-DobpyqOd.js";
|
|
13
13
|
import { C as W, S as X, r as Y, j as Z } from "./form-element-classes-BtKlobUX.js";
|
|
14
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
14
|
+
import { u as $ } from "./use-text-input-class-name-DMokiXwB.js";
|
|
15
15
|
const r = ({ children: t }) => {
|
|
16
16
|
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: C, FieldLayout: g, hasError: I } = p(), { inputId: D, ariaDescribedBy: L, labelId: R } = w(), b = V((M) => {
|
|
17
17
|
const H = ae(M);
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as h } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as N, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { ak as d, ah as E, am as k } from "./form-
|
|
5
|
+
import { ak as d, ah as E, am as k } from "./form-DPmF8iaT.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as T } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as T } from "./field-error-headless-_ADCIvnx.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-DiDxuhCI.js";
|
|
9
9
|
import { u as v } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as M } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DobpyqOd.js";
|
|
12
12
|
import { C as P, S as q, r as x, j as U } from "./form-element-classes-BtKlobUX.js";
|
|
13
|
-
import { u as w } from "./use-text-input-class-name-
|
|
13
|
+
import { u as w } from "./use-text-input-class-name-DMokiXwB.js";
|
|
14
14
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
15
15
|
const { id: o, value: a, onChange: s, disabled: m, readOnly: n, required: l, hasError: I, onBlur: f, onFocus: b, FieldLayout: R } = d(), { labelId: F } = E(), p = v(f), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = N(() => {
|
|
16
16
|
s(V(a)), p();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "classnames";
|
|
2
2
|
import { s as o } from "./field-rac.module-DobpyqOd.js";
|
|
3
3
|
import { m as r } from "./form-element-classes-BtKlobUX.js";
|
|
4
|
-
import { u as l } from "./use-element-state-class-name-
|
|
4
|
+
import { u as l } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
5
5
|
const m = {
|
|
6
6
|
base: o.selectOption,
|
|
7
7
|
selected: o.selectOptionSelected,
|
package/dist/component/{use-service-options-base-DY2mUh8f.js → use-service-options-base-Cu9nE-aZ.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 { aj as v } from "./form-
|
|
2
|
+
import { aj as v } from "./form-DPmF8iaT.js";
|
|
3
3
|
const j = (I) => {
|
|
4
4
|
const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = D((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ak as l } from "./form-
|
|
1
|
+
import { ak as l } from "./form-DPmF8iaT.js";
|
|
2
2
|
import { s } from "./field-rac.module-DobpyqOd.js";
|
|
3
3
|
import { a1 as m } from "./form-element-classes-BtKlobUX.js";
|
|
4
|
-
import { u as i } from "./use-element-state-class-name-
|
|
4
|
+
import { u as i } from "./use-element-state-class-name-C2_dMWlH.js";
|
|
5
5
|
const c = (...e) => {
|
|
6
6
|
const { disabled: a, readOnly: t } = l(), o = i({
|
|
7
7
|
globalClasses: m,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.103.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": [
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
]
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"falconPackageHash": "
|
|
159
|
+
"falconPackageHash": "a3bf6521651f25d4414bac8bb781cc6637274f11ec2fd1930df9bcb7"
|
|
160
160
|
}
|