@wix/form-elements 1.126.0 → 1.128.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-S9z3s23G.js} +5 -5
- package/dist/component/{bookings-address-rac-yJjV3u5m.js → bookings-address-rac-B7wL2TjQ.js} +1 -1
- package/dist/component/{bookings-email-rac-WkFgaEv5.js → bookings-email-rac-T2lFRGpg.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CJ1cBR5Z.js → bookings-first-name-rac-BBrENRBf.js} +1 -1
- package/dist/component/{bookings-header-rac-DiC19ttR.js → bookings-header-rac-CWGMiMQz.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Dx0Nt5Z_.js → bookings-last-name-rac-BQWvH_gm.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CcW2nUYQ.js → bookings-login-bar-rac-tFs0Vioz.js} +6 -6
- package/dist/component/{bookings-phone-rac-BMLrrTf6.js → bookings-phone-rac-BV_BTfAh.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DIbRjzxZ.js → bookings-rich-text-rac-8cD6QJBZ.js} +1 -1
- package/dist/component/{checkbox-field-rac-3a6NYcNf.js → checkbox-field-rac-YmG26i31.js} +45 -45
- package/dist/component/{checkbox-group-field-headless-CM-2wLJv.js → checkbox-group-field-headless-CE8sEjZj.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CNWwJ_No.js → checkbox-group-field-rac-CSuJRyk1.js} +6 -6
- package/dist/component/{checkbox-group-rac-F08XYJSA.js → checkbox-group-rac-VDezm9js.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-DoC1ZqAq.js} +1 -1
- package/dist/component/{contacts-address-rac-DuodyS7l.js → contacts-address-rac-10AZNzhI.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BY7L9nWm.js → contacts-birthdate-rac-C7YDiyg2.js} +1 -1
- package/dist/component/{contacts-company-rac-iPNPKhx2.js → contacts-company-rac-xQEtJ_-m.js} +1 -1
- package/dist/component/{contacts-email-rac-C7kBUzQH.js → contacts-email-rac-Bryw_aCU.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DvDNRs2q.js → contacts-first-name-rac-BXmuuhfG.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Cls5_7W0.js → contacts-last-name-rac-CVWVZO8I.js} +1 -1
- package/dist/component/{contacts-phone-rac-DMy2lBJl.js → contacts-phone-rac-C-KSwisV.js} +1 -1
- package/dist/component/{contacts-position-rac-Bn21lF_i.js → contacts-position-rac-od-5Gie5.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-QSC_n_T_.js → contacts-subscribe-rac-CCh9JcQx.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BvqoePCN.js → contacts-tax-id-rac-DOM7TPQz.js} +1 -1
- package/dist/component/{date-availability-SErYnVtm.js → date-availability-G5IwqtRi.js} +1 -1
- package/dist/component/{date-input-field-rac-H81WktJT.js → date-input-field-rac-BpBqS7LG.js} +42 -42
- package/dist/component/{date-input-rac-C6ZeK0zQ.js → date-input-rac-CQyqRqZK.js} +1 -1
- package/dist/component/{date-picker-field-rac-BwSKny80.js → date-picker-field-rac-BsR_0eAW.js} +15 -15
- package/dist/component/{date-picker-rac-BB5zswk4.js → date-picker-rac-Bl2k363u.js} +1 -1
- package/dist/component/{date-time-input-field-rac-C4srGo4X.js → date-time-input-field-rac-C5TC2nsm.js} +64 -64
- package/dist/component/{date-time-input-rac-6PXunNeR.js → date-time-input-rac-CInfYWxN.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-B1GOhxW8.js → dext-checkbox-group-rac-E36LjEfn.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DVels76t.js → dext-checkbox-rac-DkMAv7aY.js} +1 -1
- package/dist/component/{dext-date-picker-rac-kKH7Nu_c.js → dext-date-picker-rac-BNkJPlYo.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-C2xk0pv1.js → dext-date-time-input-rac-BH3Q0pwI.js} +1 -1
- package/dist/component/{dext-dropdown-rac-bd3XpA-l.js → dext-dropdown-rac-DkF_DD08.js} +1 -1
- package/dist/component/{dext-email-rac-BtEeJsrT.js → dext-email-rac-0x_DN0_O.js} +1 -1
- package/dist/component/{dext-number-input-rac-BLPAbm2q.js → dext-number-input-rac-UiIENkK3.js} +1 -1
- package/dist/component/{dext-phone-rac-ByEP8XRg.js → dext-phone-rac-BZFK4Uq7.js} +1 -1
- package/dist/component/{dext-radio-group-rac-AY271KFi.js → dext-radio-group-rac-CBAdO7kt.js} +4 -4
- package/dist/component/{dext-rating-input-rac-Dp9N8OWT.js → dext-rating-input-rac-fqR1sriq.js} +1 -1
- package/dist/component/{dext-tags-rac-PgZGGDwj.js → dext-tags-rac-mDuiUs9L.js} +4 -4
- package/dist/component/{dext-text-area-rac-BN99TM9O.js → dext-text-area-rac-C-8jKWpK.js} +1 -1
- package/dist/component/{dext-text-input-rac-C5TaQVi8.js → dext-text-input-rac-CCBAM9YO.js} +1 -1
- package/dist/component/{dext-url-input-rac-BvMh_jc6.js → dext-url-input-rac-C4_8Yk0p.js} +1 -1
- package/dist/component/{donation-rac-BSCyAZPx.js → donation-rac-BwDHypVJ.js} +36 -36
- package/dist/component/{dropdown-field-headless-DzDE-6ha.js → dropdown-field-headless-CspX2zV_.js} +16 -16
- package/dist/component/{dropdown-field-rac-mbYavQtS.js → dropdown-field-rac-DduQJ9rO.js} +5 -5
- package/dist/component/{dropdown-rac-BUJag5ow.js → dropdown-rac-BhhECLoH.js} +1 -1
- package/dist/component/{ecom-address-rac-B7_RYjoj.js → ecom-address-rac-BJ1nnEVL.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-BCDyH7x-.js → ecom-subscription-checkbox-rac-4m1XMTDY.js} +2 -2
- package/dist/component/{email-input-field-rac-CUi08-gD.js → email-input-field-rac-bPEcgidt.js} +19 -19
- package/dist/component/{events-repeater-rac-CkHq7ADr.js → events-repeater-rac-CujTGEHx.js} +11 -11
- package/dist/component/{events-rsvp-rac-DBwLvDeR.js → events-rsvp-rac-BPqr_aY9.js} +4 -4
- package/dist/component/{field-error-headless-Ct41F8cQ.js → field-error-headless-Bu_4Huhb.js} +6 -6
- package/dist/component/{field-label-headless-DUqBV42_.js → field-label-headless-DkDmQPFG.js} +1 -1
- package/dist/component/field-rac.module-BIBNQEOK.js +25 -0
- package/dist/component/{file-upload-rac-CkbjhtAl.js → file-upload-rac-DmOQrGe8.js} +68 -68
- package/dist/component/{fixed-payment-rac-Dgnhsx3e.js → fixed-payment-rac-CDsddKrV.js} +9 -9
- package/dist/component/{form-Dx1bK3Fi.js → form-BpJ4Lqbe.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-Cr1FVQdq.js} +6 -6
- package/dist/component/{header-rac-CIvWVvYs.js → header-rac-CvAZsqDL.js} +1 -1
- package/dist/component/{image-choice-rac-BBo0PiW4.js → image-choice-rac-D_EKrD73.js} +12 -12
- package/dist/component/{index-BmMiwDw9.js → index-DxsHfkik.js} +44 -44
- package/dist/component/{index-BDSs3l4d.js → index-Tnke1N8m.js} +15 -15
- package/dist/component/{isObjectLike-xZCFQW_t.js → isObjectLike-CMWsWjX8.js} +7 -7
- package/dist/component/{multiline-address-field-rac-C6mRorOw.js → multiline-address-field-rac-BMeMP7J6.js} +8 -8
- package/dist/component/{multiline-address-rac-BOjsVo4R.js → multiline-address-rac-CFprfFXm.js} +1 -1
- package/dist/component/{number-input-field-rac-C89M-zOh.js → number-input-field-rac-CaHySxYH.js} +9 -9
- package/dist/component/{number-input-rac-DttY0Ll3.js → number-input-rac-BezfoU8h.js} +1 -1
- package/dist/component/{password-rac-C2KTrH40.js → password-rac-_wwZFd67.js} +32 -32
- package/dist/component/{payment-input-rac-BhyBxeu1.js → payment-input-rac-CWrSvBDp.js} +15 -15
- package/dist/component/{phone-input-field-rac-BT-Fe6WZ.js → phone-input-field-rac-R3LYdPIs.js} +39 -39
- package/dist/component/{phone-rac-B26qwlDN.js → phone-rac-D6uILVRw.js} +1 -1
- package/dist/component/{product-list-rac-CF4gkfTK.js → product-list-rac-D3WTfC9k.js} +28 -28
- package/dist/component/{quiz-radio-group-rac-Bf2HeDDw.js → quiz-radio-group-rac-B6T7eedk.js} +1 -1
- package/dist/component/{radio-button-module-classes-DtmmP89u.js → radio-button-module-classes-D8Jm-Q6u.js} +3 -3
- package/dist/component/{radio-group-field-rac-BY2OIFFr.js → radio-group-field-rac-R5onZzJd.js} +5 -5
- package/dist/component/{radio-group-rac-BuxVel2l.js → radio-group-rac-DUPHR4tK.js} +1 -1
- package/dist/component/{rating-input-field-rac-CbLzvwyk.js → rating-input-field-rac-C9GpwuRO.js} +10 -10
- package/dist/component/{rating-input-rac-B8QxNYHU.js → rating-input-rac-Iv_2PVqP.js} +1 -1
- package/dist/component/{rich-content-rac.module-wu4JPlkg.js → rich-content-rac.module-Det3BKrI.js} +1 -1
- package/dist/component/{rich-text-field-rac-CTrEe0SQ.js → rich-text-field-rac-DnBtp2d_.js} +9 -9
- package/dist/component/{rich-text-rac-kmzPTMKb.js → rich-text-rac-CXzxap1G.js} +1 -1
- package/dist/component/{service-dropdown-rac-C8nTy49F.js → service-dropdown-rac-CVyd2HYC.js} +14 -14
- package/dist/component/{services-multi-choice-rac-rDkpN2fs.js → services-multi-choice-rac-BY-W0xIt.js} +7 -7
- package/dist/component/signature-rac-BojdPJhg.js +918 -0
- package/dist/component/{submit-button-rac-BFywt2Fn.js → submit-button-rac-Q7KKQbiL.js} +15 -15
- package/dist/component/{tags-field-rac-rpzvIn_0.js → tags-field-rac-CbmR6gi4.js} +17 -17
- package/dist/component/{tags-rac-DVLGSSvh.js → tags-rac-hJo0tMVR.js} +1 -1
- package/dist/component/{text-area-field-rac-BfVrtvl8.js → text-area-field-rac-DHQqkqtu.js} +15 -15
- package/dist/component/{text-area-rac-VP-yXdJ6.js → text-area-rac-BTXxfWyK.js} +1 -1
- package/dist/component/{text-input-field-rac-BlaXiXoF.js → text-input-field-rac-BVTBYjMM.js} +4 -4
- package/dist/component/{text-input-headless-ChCTtqUX.js → text-input-headless-Dk_0y9U-.js} +8 -8
- package/dist/component/{text-input-rac-CG-Oo3nZ.js → text-input-rac-DIwGn0WI.js} +1 -1
- package/dist/component/{time-input-rac-CzUGIr2X.js → time-input-rac-ClyPOKOH.js} +10 -10
- package/dist/component/{url-input-field-rac-BHF6gZlT.js → url-input-field-rac-BhPzHWTI.js} +10 -10
- package/dist/component/{url-input-rac-DouQt3DF.js → url-input-rac-COD7T5wo.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-AklIMCCI.js → use-dropdown-option-class-name-CTDQ4YIC.js} +3 -3
- package/dist/component/{use-dropdown-trigger-class-name-COJhxT4T.js → use-dropdown-trigger-class-name-DapDPNX0.js} +10 -10
- package/dist/component/use-element-state-class-name-BU86oHkX.js +20 -0
- package/dist/component/{use-hoverable-input-class-name-CtHJHqiV.js → use-hoverable-input-class-name-DWkmQfPd.js} +3 -3
- package/dist/component/{use-service-options-base-2u1I6l-t.js → use-service-options-base-jkecu8jY.js} +4 -4
- package/dist/component/use-text-input-class-name-CNTXVb7N.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-C9GpwuRO.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-BpJ4Lqbe.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-Bu_4Huhb.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-DkDmQPFG.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-BU86oHkX.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-Det3BKrI.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-BpJ4Lqbe.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-BpJ4Lqbe.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-Det3BKrI.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-CVyd2HYC.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-BpJ4Lqbe.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-jkecu8jY.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-CspX2zV_.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-CTDQ4YIC.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-DapDPNX0.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-BpJ4Lqbe.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-jkecu8jY.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CE8sEjZj.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-BU86oHkX.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-CNTXVb7N.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({
|