@wix/form-elements 1.126.0 → 1.127.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-CYB_k6uF.js → appointment-rac-BrC7gcpn.js} +5 -5
- package/dist/component/{bookings-address-rac-yJjV3u5m.js → bookings-address-rac-D-UmBxjD.js} +1 -1
- package/dist/component/{bookings-email-rac-WkFgaEv5.js → bookings-email-rac-CjHDzU0Q.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CJ1cBR5Z.js → bookings-first-name-rac-ChBkkkWm.js} +1 -1
- package/dist/component/{bookings-header-rac-DiC19ttR.js → bookings-header-rac-ERfGeYyw.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Dx0Nt5Z_.js → bookings-last-name-rac-CuTJ7Y8w.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CcW2nUYQ.js → bookings-login-bar-rac-pudlQ67l.js} +6 -6
- package/dist/component/{bookings-phone-rac-BMLrrTf6.js → bookings-phone-rac-nLPnLRfS.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DIbRjzxZ.js → bookings-rich-text-rac-DOmGQlyG.js} +1 -1
- package/dist/component/{checkbox-field-rac-3a6NYcNf.js → checkbox-field-rac-DLazY-iO.js} +45 -45
- package/dist/component/{checkbox-group-field-headless-CM-2wLJv.js → checkbox-group-field-headless-CPyWmFBH.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CNWwJ_No.js → checkbox-group-field-rac-Bir3gaI9.js} +6 -6
- package/dist/component/{checkbox-group-rac-F08XYJSA.js → checkbox-group-rac-BGXUl-sJ.js} +1 -1
- package/dist/component/{checkbox-indicator-module-classes-DOAYUQ_Q.js → checkbox-indicator-module-classes-Bqo0QILF.js} +1 -1
- package/dist/component/{checkbox-rac-z98USBLu.js → checkbox-rac-D_wZVUFV.js} +1 -1
- package/dist/component/{contacts-address-rac-DuodyS7l.js → contacts-address-rac-CNldSQbf.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BY7L9nWm.js → contacts-birthdate-rac-AVyldaRF.js} +1 -1
- package/dist/component/{contacts-company-rac-iPNPKhx2.js → contacts-company-rac-CiP1Ctpa.js} +1 -1
- package/dist/component/{contacts-email-rac-C7kBUzQH.js → contacts-email-rac-CzjMVEJZ.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DvDNRs2q.js → contacts-first-name-rac-G0kE0HmA.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Cls5_7W0.js → contacts-last-name-rac-cnTTtnMZ.js} +1 -1
- package/dist/component/{contacts-phone-rac-DMy2lBJl.js → contacts-phone-rac-DJ9oxox4.js} +1 -1
- package/dist/component/{contacts-position-rac-Bn21lF_i.js → contacts-position-rac-e0uQ-eqL.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-QSC_n_T_.js → contacts-subscribe-rac-D4J2x78f.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BvqoePCN.js → contacts-tax-id-rac-DwJuNH-C.js} +1 -1
- package/dist/component/{date-availability-SErYnVtm.js → date-availability-D2BSwZ_r.js} +1 -1
- package/dist/component/{date-input-field-rac-H81WktJT.js → date-input-field-rac-ztJ02C60.js} +42 -42
- package/dist/component/{date-input-rac-C6ZeK0zQ.js → date-input-rac-D-SFsC6P.js} +1 -1
- package/dist/component/{date-picker-field-rac-BwSKny80.js → date-picker-field-rac-DaNwsa8z.js} +15 -15
- package/dist/component/{date-picker-rac-BB5zswk4.js → date-picker-rac-Bn0sA6P1.js} +1 -1
- package/dist/component/{date-time-input-field-rac-C4srGo4X.js → date-time-input-field-rac-D-ArMpcJ.js} +64 -64
- package/dist/component/{date-time-input-rac-6PXunNeR.js → date-time-input-rac-qYLa3IDx.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-B1GOhxW8.js → dext-checkbox-group-rac-Dir6tyvo.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DVels76t.js → dext-checkbox-rac-ByiMc3BH.js} +1 -1
- package/dist/component/{dext-date-picker-rac-kKH7Nu_c.js → dext-date-picker-rac-BwOozu5y.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-C2xk0pv1.js → dext-date-time-input-rac-CaJEzZa4.js} +1 -1
- package/dist/component/{dext-dropdown-rac-bd3XpA-l.js → dext-dropdown-rac-DJnMjggU.js} +1 -1
- package/dist/component/{dext-email-rac-BtEeJsrT.js → dext-email-rac-CF4SQ86l.js} +1 -1
- package/dist/component/{dext-number-input-rac-BLPAbm2q.js → dext-number-input-rac--3goVI8C.js} +1 -1
- package/dist/component/{dext-phone-rac-ByEP8XRg.js → dext-phone-rac-MYJYG040.js} +1 -1
- package/dist/component/{dext-radio-group-rac-AY271KFi.js → dext-radio-group-rac-Q2J5Hk5W.js} +4 -4
- package/dist/component/{dext-rating-input-rac-Dp9N8OWT.js → dext-rating-input-rac-CAWhD-lI.js} +1 -1
- package/dist/component/{dext-tags-rac-PgZGGDwj.js → dext-tags-rac-DyxI5ooy.js} +4 -4
- package/dist/component/{dext-text-area-rac-BN99TM9O.js → dext-text-area-rac-CZpM-r49.js} +1 -1
- package/dist/component/{dext-text-input-rac-C5TaQVi8.js → dext-text-input-rac-Bv5Mhyw6.js} +1 -1
- package/dist/component/{dext-url-input-rac-BvMh_jc6.js → dext-url-input-rac-BkbTjbAI.js} +1 -1
- package/dist/component/{donation-rac-BSCyAZPx.js → donation-rac-DZjFeJFy.js} +36 -36
- package/dist/component/{dropdown-field-headless-DzDE-6ha.js → dropdown-field-headless-C7l2TQYy.js} +16 -16
- package/dist/component/{dropdown-field-rac-mbYavQtS.js → dropdown-field-rac-DOAlecw8.js} +5 -5
- package/dist/component/{dropdown-rac-BUJag5ow.js → dropdown-rac-D8HtaeBe.js} +1 -1
- package/dist/component/{ecom-address-rac-B7_RYjoj.js → ecom-address-rac-B25o-GVv.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-BCDyH7x-.js → ecom-subscription-checkbox-rac-NvdWnD0v.js} +2 -2
- package/dist/component/{email-input-field-rac-CUi08-gD.js → email-input-field-rac-rWyojsu0.js} +19 -19
- package/dist/component/{events-repeater-rac-CkHq7ADr.js → events-repeater-rac-D2HvNt0y.js} +11 -11
- package/dist/component/{events-rsvp-rac-DBwLvDeR.js → events-rsvp-rac-D4WLn0Bx.js} +4 -4
- package/dist/component/{field-error-headless-Ct41F8cQ.js → field-error-headless-DU0YsEXR.js} +6 -6
- package/dist/component/{field-label-headless-DUqBV42_.js → field-label-headless-CvdTZi6i.js} +1 -1
- package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
- package/dist/component/{file-upload-rac-CkbjhtAl.js → file-upload-rac-CMelyfA8.js} +68 -68
- package/dist/component/{fixed-payment-rac-Dgnhsx3e.js → fixed-payment-rac-CewsqE-k.js} +9 -9
- package/dist/component/{form-Dx1bK3Fi.js → form-D9IxiDXP.js} +668 -617
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +3 -3
- package/dist/component/{header-field-rac-BuUxOZO1.js → header-field-rac-CYBfb_5D.js} +6 -6
- package/dist/component/{header-rac-CIvWVvYs.js → header-rac-BIq3DmbL.js} +1 -1
- package/dist/component/{image-choice-rac-BBo0PiW4.js → image-choice-rac-aOObRIMi.js} +12 -12
- package/dist/component/{index-BDSs3l4d.js → index-BXqA4oNj.js} +15 -15
- package/dist/component/{index-BmMiwDw9.js → index-D-g3wQ-z.js} +43 -43
- package/dist/component/{isObjectLike-xZCFQW_t.js → isObjectLike-BNDXzCto.js} +7 -7
- package/dist/component/{multiline-address-field-rac-C6mRorOw.js → multiline-address-field-rac-BcTa7Von.js} +8 -8
- package/dist/component/{multiline-address-rac-BOjsVo4R.js → multiline-address-rac-Cd_BFreP.js} +1 -1
- package/dist/component/{number-input-field-rac-C89M-zOh.js → number-input-field-rac-_JlH34_3.js} +9 -9
- package/dist/component/{number-input-rac-DttY0Ll3.js → number-input-rac-CiM20ScT.js} +1 -1
- package/dist/component/{password-rac-C2KTrH40.js → password-rac-DrpXSY74.js} +32 -32
- package/dist/component/{payment-input-rac-BhyBxeu1.js → payment-input-rac-RnMeVWDc.js} +15 -15
- package/dist/component/{phone-input-field-rac-BT-Fe6WZ.js → phone-input-field-rac-nNp7D7gK.js} +39 -39
- package/dist/component/{phone-rac-B26qwlDN.js → phone-rac-B2JjPT2w.js} +1 -1
- package/dist/component/{product-list-rac-CF4gkfTK.js → product-list-rac-Cv_fjFn3.js} +28 -28
- package/dist/component/{quiz-radio-group-rac-Bf2HeDDw.js → quiz-radio-group-rac-CNqF6Tq3.js} +1 -1
- package/dist/component/{radio-button-module-classes-DtmmP89u.js → radio-button-module-classes-vqR4TN-z.js} +3 -3
- package/dist/component/{radio-group-field-rac-BY2OIFFr.js → radio-group-field-rac-Bpyr40q-.js} +5 -5
- package/dist/component/{radio-group-rac-BuxVel2l.js → radio-group-rac-DBLPP0YC.js} +1 -1
- package/dist/component/{rating-input-field-rac-CbLzvwyk.js → rating-input-field-rac-BOi0G37L.js} +10 -10
- package/dist/component/{rating-input-rac-B8QxNYHU.js → rating-input-rac-CxpmV0Pa.js} +1 -1
- package/dist/component/{rich-content-rac.module-wu4JPlkg.js → rich-content-rac.module-Dmm9GyQq.js} +1 -1
- package/dist/component/{rich-text-field-rac-CTrEe0SQ.js → rich-text-field-rac-C466OrTf.js} +9 -9
- package/dist/component/{rich-text-rac-kmzPTMKb.js → rich-text-rac-BvVxD7oJ.js} +1 -1
- package/dist/component/{service-dropdown-rac-C8nTy49F.js → service-dropdown-rac-pmUKH0sP.js} +14 -14
- package/dist/component/{services-multi-choice-rac-rDkpN2fs.js → services-multi-choice-rac-B65i6q2D.js} +7 -7
- package/dist/component/signature-rac-BRyM06Vz.js +918 -0
- package/dist/component/{submit-button-rac-BFywt2Fn.js → submit-button-rac-DaCRjZlQ.js} +15 -15
- package/dist/component/{tags-field-rac-rpzvIn_0.js → tags-field-rac-CEdfh-EQ.js} +17 -17
- package/dist/component/{tags-rac-DVLGSSvh.js → tags-rac-CGSTQ0qK.js} +1 -1
- package/dist/component/{text-area-field-rac-BfVrtvl8.js → text-area-field-rac-C-EHPWwQ.js} +15 -15
- package/dist/component/{text-area-rac-VP-yXdJ6.js → text-area-rac-Df1nSb2q.js} +1 -1
- package/dist/component/{text-input-field-rac-BlaXiXoF.js → text-input-field-rac-DmCZtBi_.js} +4 -4
- package/dist/component/{text-input-headless-ChCTtqUX.js → text-input-headless-DAxEZP1P.js} +8 -8
- package/dist/component/{text-input-rac-CG-Oo3nZ.js → text-input-rac-DgpO17dl.js} +1 -1
- package/dist/component/{time-input-rac-CzUGIr2X.js → time-input-rac-Dld_tLub.js} +10 -10
- package/dist/component/{url-input-field-rac-BHF6gZlT.js → url-input-field-rac-DHZ6bpxZ.js} +10 -10
- package/dist/component/{url-input-rac-DouQt3DF.js → url-input-rac-CZlWy5RB.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-AklIMCCI.js → use-dropdown-option-class-name-opBd-YJA.js} +3 -3
- package/dist/component/{use-dropdown-trigger-class-name-COJhxT4T.js → use-dropdown-trigger-class-name-BGQH0WCO.js} +10 -10
- package/dist/component/use-element-state-class-name-B2ecLjwN.js +20 -0
- package/dist/component/{use-hoverable-input-class-name-CtHJHqiV.js → use-hoverable-input-class-name-B42rAp82.js} +3 -3
- package/dist/component/{use-service-options-base-2u1I6l-t.js → use-service-options-base-D60-jNUT.js} +4 -4
- package/dist/component/use-text-input-class-name-DGpCdZ_e.js +6 -0
- package/dist/form.d.ts +10 -0
- package/package.json +2 -2
- package/dist/component/field-rac.module-DQxyEwK7.js +0 -26
- package/dist/component/signature-rac-6r_gWBD2.js +0 -794
- package/dist/component/use-element-state-class-name-CCe7Cvsu.js +0 -22
- package/dist/component/use-text-input-class-name-Bnfv7ZsJ.js +0 -6
package/dist/component/{rating-input-field-rac-CbLzvwyk.js → rating-input-field-rac-BOi0G37L.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
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 {
|
|
4
|
+
import { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-D9IxiDXP.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as u, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
9
|
-
import { E as
|
|
10
|
-
import { s as g } from "./field-rac.module-
|
|
11
|
-
import { u as J } from "./use-element-state-class-name-
|
|
7
|
+
import { D as z, E as Q } from "./field-error-headless-DU0YsEXR.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-CvdTZi6i.js";
|
|
9
|
+
import { E as j } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
+
import { s as g } from "./field-rac.module-BIBNQEOK.js";
|
|
11
|
+
import { u as J } from "./use-element-state-class-name-B2ecLjwN.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: o, disabled: l, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => o(Number(D)), [
|
|
14
14
|
o
|
|
@@ -81,11 +81,11 @@ const t = ({ children: a }) => {
|
|
|
81
81
|
}, c) : null)));
|
|
82
82
|
};
|
|
83
83
|
b.Rating = F;
|
|
84
|
-
t.Label =
|
|
84
|
+
t.Label = Z;
|
|
85
85
|
t.Ratings = b;
|
|
86
86
|
t.Rating = F;
|
|
87
|
-
t.Description =
|
|
88
|
-
t.Error =
|
|
87
|
+
t.Description = z;
|
|
88
|
+
t.Error = Q;
|
|
89
89
|
const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
90
90
|
viewBox: "0 0 32 32",
|
|
91
91
|
width: 32,
|
|
@@ -126,7 +126,7 @@ const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
|
126
126
|
className: n
|
|
127
127
|
}, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
128
128
|
className: m(B, g.error)
|
|
129
|
-
}, /* @__PURE__ */ e.createElement(
|
|
129
|
+
}, /* @__PURE__ */ e.createElement(j, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|
|
130
130
|
className: m(P, g.description)
|
|
131
131
|
}, ee));
|
|
132
132
|
};
|
package/dist/component/{rich-content-rac.module-wu4JPlkg.js → rich-content-rac.module-Dmm9GyQq.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { bh as a, b9 as i, br as T } from "./form-D9IxiDXP.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,21 +1,21 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { u as C, R as d, s as g, T as
|
|
5
|
-
const
|
|
3
|
+
import { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-D9IxiDXP.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-Dmm9GyQq.js";
|
|
5
|
+
const p = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
|
8
|
-
},
|
|
8
|
+
}, P = ({ truncate: t = !0 } = {}) => {
|
|
9
9
|
const { content: a, maxShownParagraphs: s } = m(), { displayedContent: n, isTruncated: o, isTruncateButtonShown: r, toggleTruncate: c } = C(a, t ? s : void 0);
|
|
10
|
-
return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11
|
-
className: l(
|
|
10
|
+
return /* @__PURE__ */ e.createElement(d, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(u, {
|
|
11
|
+
className: l(i, g.richContent),
|
|
12
12
|
content: n,
|
|
13
|
-
customTheme:
|
|
14
|
-
}), r && /* @__PURE__ */ e.createElement(
|
|
13
|
+
customTheme: p
|
|
14
|
+
}), r && /* @__PURE__ */ e.createElement(h, {
|
|
15
15
|
isTruncated: o,
|
|
16
16
|
onClick: c
|
|
17
17
|
})));
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
P as R
|
|
21
21
|
};
|
package/dist/component/{service-dropdown-rac-C8nTy49F.js → service-dropdown-rac-pmUKH0sP.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import t, { useRef as T, useMemo as _, useCallback as
|
|
1
|
+
import t, { useRef as T, useMemo as _, useCallback as h, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import {
|
|
5
|
-
import { u as W } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bd as P, br as A, F as M, bh as y, b9 as U, aj as V, I as x, U as H, K as k, v as q, p as B } from "./form-D9IxiDXP.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-D60-jNUT.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-C7l2TQYy.js";
|
|
7
7
|
import { C as j } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
10
|
-
import { s as a } from "./field-rac.module-
|
|
11
|
-
import { u as Y } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as z } from "./use-dropdown-trigger-class-name-
|
|
10
|
+
import { s as a } from "./field-rac.module-BIBNQEOK.js";
|
|
11
|
+
import { u as Y } from "./use-dropdown-option-class-name-opBd-YJA.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-BGQH0WCO.js";
|
|
13
13
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
14
|
-
const { actions: o } = P(), { t:
|
|
14
|
+
const { actions: o } = P(), { t: C } = A(), { addOther: n, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), i = T(!0), d = _(() => {
|
|
15
15
|
var s;
|
|
16
16
|
return ((s = e.options) == null ? void 0 : s.map((m) => m.id ?? "")) ?? [];
|
|
17
17
|
}, [
|
|
18
18
|
e.options
|
|
19
|
-
]), O =
|
|
19
|
+
]), O = h((s) => n ? [
|
|
20
20
|
...s,
|
|
21
21
|
{
|
|
22
22
|
value: c,
|
|
@@ -30,7 +30,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
30
30
|
fieldType: M.SERVICES_DROPDOWN,
|
|
31
31
|
isEditor: e.isEditor,
|
|
32
32
|
postProcessOptions: O
|
|
33
|
-
}), R =
|
|
33
|
+
}), R = h(async () => {
|
|
34
34
|
if (i.current && (o != null && o.fetchServices) && d.length > 0) {
|
|
35
35
|
i.current = !1, D(!0);
|
|
36
36
|
let s;
|
|
@@ -68,12 +68,12 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
68
68
|
g,
|
|
69
69
|
e.isEditor
|
|
70
70
|
]);
|
|
71
|
-
const v =
|
|
71
|
+
const v = h(() => {
|
|
72
72
|
e.onFocus && e.onFocus(), i.current && R();
|
|
73
73
|
}, [
|
|
74
74
|
R,
|
|
75
75
|
e.onFocus
|
|
76
|
-
]), N =
|
|
76
|
+
]), N = h(
|
|
77
77
|
(s) => {
|
|
78
78
|
e.onChange && e.onChange(s), i.current = !0;
|
|
79
79
|
},
|
|
@@ -91,7 +91,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
91
91
|
shouldRender: I
|
|
92
92
|
};
|
|
93
93
|
}, r = ({ children: e }) => {
|
|
94
|
-
const o = y(), { addOther:
|
|
94
|
+
const o = y(), { addOther: C } = o, n = U(), p = o.isEditor || n.isEditor || n.isComposer, { isLoading: c, options: i, isEmpty: d, onFocus: O, onChange: f, shouldRender: l } = J({
|
|
95
95
|
...o,
|
|
96
96
|
isEditor: p
|
|
97
97
|
}), S = _(() => ({
|
|
@@ -107,7 +107,7 @@ const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
|
107
107
|
O,
|
|
108
108
|
f
|
|
109
109
|
]);
|
|
110
|
-
return !p && d && !
|
|
110
|
+
return !p && d && !C || !l ? null : /* @__PURE__ */ t.createElement(V.Provider, {
|
|
111
111
|
value: {
|
|
112
112
|
v2: S
|
|
113
113
|
}
|
|
@@ -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,
|
|
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, bh as d, aj as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-D9IxiDXP.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-D60-jNUT.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CPyWmFBH.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
-
import { C as P } from "./checkbox-indicator-module-classes-
|
|
9
|
-
import { s as n } from "./field-rac.module-
|
|
8
|
+
import { C as P } from "./checkbox-indicator-module-classes-Bqo0QILF.js";
|
|
9
|
+
import { s as n } from "./field-rac.module-BIBNQEOK.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-B2ecLjwN.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-DGpCdZ_e.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({
|