@wix/form-elements 1.191.0 → 1.192.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-nRQCyKyf.js → appointment-rac-7eD_yW7i.js} +4 -4
- package/dist/component/{bookings-address-rac-DGkSJTWk.js → bookings-address-rac-Bpt7DrEs.js} +1 -1
- package/dist/component/{bookings-email-rac-DxXS50NO.js → bookings-email-rac-BYgeQczn.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Dusk6lr4.js → bookings-first-name-rac-N7cvqHVh.js} +1 -1
- package/dist/component/{bookings-header-rac-CqEIv_sq.js → bookings-header-rac-TCezj9Ur.js} +1 -1
- package/dist/component/{bookings-last-name-rac-HZepAbjD.js → bookings-last-name-rac-t4O2yMDP.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CxL7SCTq.js → bookings-login-bar-rac-CJSoMvyZ.js} +1 -1
- package/dist/component/{bookings-phone-rac-DfKqS_C8.js → bookings-phone-rac-D9DS7Vkl.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CLHIWw1T.js → bookings-rich-text-rac-9SxwdW6F.js} +1 -1
- package/dist/component/{checkbox-field-rac-BAN5uh-Y.js → checkbox-field-rac-BBccyPVf.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-EsR8MnNE.js → checkbox-group-field-headless-Dwnolboz.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-YcSd1V2h.js → checkbox-group-field-rac-BqcHS2rI.js} +4 -4
- package/dist/component/{checkbox-group-rac-Cm9Pihi1.js → checkbox-group-rac-D1eH4xRZ.js} +1 -1
- package/dist/component/{checkbox-rac-bStDDhbF.js → checkbox-rac-D8KBjt2N.js} +1 -1
- package/dist/component/{contacts-address-rac-C8uCAtjr.js → contacts-address-rac-Cl-McrL_.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-Cj83mmTC.js → contacts-birthdate-rac-tD574IDc.js} +1 -1
- package/dist/component/{contacts-company-rac-CCCyY7Nk.js → contacts-company-rac-p09ntN6y.js} +1 -1
- package/dist/component/{contacts-email-rac-BkqHkD1G.js → contacts-email-rac-hFxe_vYm.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BMhiNGEZ.js → contacts-first-name-rac-CRQalepX.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DlHNqrE6.js → contacts-last-name-rac-BxWC_dQK.js} +1 -1
- package/dist/component/{contacts-phone-rac-DP_I8a3g.js → contacts-phone-rac-BoESpvX4.js} +1 -1
- package/dist/component/{contacts-position-rac-o5LFHkF0.js → contacts-position-rac-C-dEH79x.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-B0_cGB_u.js → contacts-subscribe-rac-Wevw2yIs.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-COsPLLG8.js → contacts-tax-id-rac-C_YoCoUk.js} +1 -1
- package/dist/component/{date-availability-DvIl6rme.js → date-availability-zeRtXneN.js} +1 -1
- package/dist/component/{date-input-field-rac-CUic65U2.js → date-input-field-rac-wl1J79Lm.js} +6 -6
- package/dist/component/{date-input-rac-Cy0yrsrz.js → date-input-rac-DZG0E4dR.js} +1 -1
- package/dist/component/{date-picker-field-rac-BTWrcjOe.js → date-picker-field-rac-BgVpHr0x.js} +6 -6
- package/dist/component/{date-picker-rac-CCuNP-Sq.js → date-picker-rac-Cxncpp-S.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DJAJndDe.js → date-time-input-field-rac-BybKpDmr.js} +6 -6
- package/dist/component/{date-time-input-rac-DyUtyrvj.js → date-time-input-rac-BV45ahu6.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-_tq9L7pm.js → dext-checkbox-group-rac-CcnOnG3r.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DzYOxWMT.js → dext-checkbox-rac-DZMbVP-v.js} +1 -1
- package/dist/component/{dext-date-picker-rac-UIjI3LJC.js → dext-date-picker-rac-Ch7gU188.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BCcfFUeB.js → dext-date-time-input-rac-DUssq9pN.js} +1 -1
- package/dist/component/{dext-dropdown-rac-dQ1mZVgj.js → dext-dropdown-rac-MZNHRD4Y.js} +1 -1
- package/dist/component/{dext-email-rac-BU7nJ4Vr.js → dext-email-rac-bzMikfP7.js} +1 -1
- package/dist/component/{dext-number-input-rac-CSvSsiRQ.js → dext-number-input-rac-BDx2sZKk.js} +1 -1
- package/dist/component/{dext-phone-rac-Cn92E6Re.js → dext-phone-rac-DBiQKWp5.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CzvkVdVT.js → dext-radio-group-rac-DQ0cJ_AF.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DgFlGsVv.js → dext-rating-input-rac-DB8BVtRj.js} +1 -1
- package/dist/component/{dext-tags-rac-j5LSHoro.js → dext-tags-rac-BlwcMf4S.js} +2 -2
- package/dist/component/{dext-text-area-rac-DN8wRHMn.js → dext-text-area-rac-RAxzXAFv.js} +1 -1
- package/dist/component/{dext-text-input-rac--c4TloI6.js → dext-text-input-rac-bCmpx20f.js} +1 -1
- package/dist/component/{dext-url-input-rac-DLHDJ3ps.js → dext-url-input-rac-CF9E7GBh.js} +1 -1
- package/dist/component/{donation-rac-DG-jraIv.js → donation-rac-CVWZE3yz.js} +5 -5
- package/dist/component/{dropdown-field-rac-Dr6XFLkW.js → dropdown-field-rac-BnxTiejT.js} +3 -3
- package/dist/component/{dropdown-rac-c1L_0LAr.js → dropdown-rac-BSj6tud_.js} +1 -1
- package/dist/component/{ecom-address-rac-DczDTsh_.js → ecom-address-rac-Dsht1oXo.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-q8r5wr1T.js → ecom-subscription-checkbox-rac-NdMstAuc.js} +2 -2
- package/dist/component/{email-input-field-rac-CA6b1r8k.js → email-input-field-rac-BCxurSsa.js} +3 -3
- package/dist/component/{events-repeater-rac-DTVKHajK.js → events-repeater-rac-Dz59WhGX.js} +4 -4
- package/dist/component/{events-rsvp-rac-ccpl59Jm.js → events-rsvp-rac-M4068R7R.js} +3 -3
- package/dist/component/{field-error-headless-Cd2xnlL4.js → field-error-headless-DQ-jwMtX.js} +1 -1
- package/dist/component/{field-label-headless-BBMpz3wE.js → field-label-headless-D0N5zbDh.js} +1 -1
- package/dist/component/{file-upload-rac-C1FkjIf0.js → file-upload-rac-Cy9ymgFI.js} +4 -4
- package/dist/component/{fixed-payment-rac-p-olDsRF.js → fixed-payment-rac-DHL9zRaN.js} +3 -3
- package/dist/component/{form-abrSKQdr.js → form-ur8Cb2nw.js} +69 -69
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-iqI5kr-g.js → header-field-rac-DmRHkStT.js} +2 -2
- package/dist/component/{header-rac-BoLXUnzG.js → header-rac-BMxv-FJ_.js} +1 -1
- package/dist/component/{image-choice-rac-C7e6Exhq.js → image-choice-rac-Bj54Ms5f.js} +4 -4
- package/dist/component/{index-BH-ebCz0.js → index-D1Nkz9Je.js} +4 -4
- package/dist/component/{index-uk10jEvd.js → index-DwxUwvfW.js} +2 -2
- package/dist/component/{isObjectLike-C-c7h36w.js → isObjectLike-CA05Trvx.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DXuWzt87.js → multiline-address-field-rac-O10IwOCo.js} +7 -7
- package/dist/component/{multiline-address-rac-CpV0bTFC.js → multiline-address-rac-BHsYqS8U.js} +1 -1
- package/dist/component/{number-input-field-rac-DJDCLqCn.js → number-input-field-rac-Dv6mIcWK.js} +4 -4
- package/dist/component/{number-input-rac-D9oduSRs.js → number-input-rac-DB4aCeZ3.js} +1 -1
- package/dist/component/{password-rac-B_9cXZQO.js → password-rac-Bzyoy7Ue.js} +4 -4
- package/dist/component/{payment-input-rac-iL_WDr2t.js → payment-input-rac-d3XhrKDL.js} +4 -4
- package/dist/component/{phone-input-field-rac-3bY1pvxT.js → phone-input-field-rac-B1fOUnoX.js} +6 -6
- package/dist/component/{phone-rac-IvN4GNPq.js → phone-rac-CIourqo0.js} +1 -1
- package/dist/component/{product-list-rac-f6qrI73z.js → product-list-rac-2b6ZKst8.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-C9G8Zgh4.js → quiz-radio-group-rac-UzeDK6Fb.js} +1 -1
- package/dist/component/{radio-button-module-classes-BXrcGD9o.js → radio-button-module-classes-BQiTZl4N.js} +3 -3
- package/dist/component/{radio-group-field-rac-BTS4x_BP.js → radio-group-field-rac-DMly0YyR.js} +4 -4
- package/dist/component/{radio-group-rac-B-MSNXfv.js → radio-group-rac-DWnKmLpT.js} +1 -1
- package/dist/component/{rating-input-field-rac-CT_otaIS.js → rating-input-field-rac-B8b5CdR7.js} +63 -63
- package/dist/component/{rating-input-rac-BjINpbDC.js → rating-input-rac-BqRJ0so2.js} +1 -1
- package/dist/component/{rich-content-rac.module-D2bW9sqs.js → rich-content-rac.module-BgjdfUpM.js} +1 -1
- package/dist/component/{rich-text-field-rac-ytohbfQ8.js → rich-text-field-rac-Drh-o9ma.js} +2 -2
- package/dist/component/{rich-text-rac-BobUW5sQ.js → rich-text-rac-BhUjaWGI.js} +1 -1
- package/dist/component/{service-dropdown-rac-BdWVjo9n.js → service-dropdown-rac-Cj4BuLCe.js} +4 -4
- package/dist/component/{services-multi-choice-rac-BBTSbh0x.js → services-multi-choice-rac-BWgmoaGp.js} +5 -5
- package/dist/component/{signature-rac-DJ7dmMjE.js → signature-rac-DEFLilBW.js} +4 -4
- package/dist/component/{submit-button-rac-C30WcSeQ.js → submit-button-rac-_Lluhrls.js} +2 -2
- package/dist/component/{tags-field-rac-CZjBC_CS.js → tags-field-rac-C7nXKUBj.js} +5 -5
- package/dist/component/{tags-rac-D7S3Ob7x.js → tags-rac-DsBzlrwA.js} +1 -1
- package/dist/component/{text-area-field-rac-D2ybb4vI.js → text-area-field-rac-COU0UfH0.js} +4 -4
- package/dist/component/{text-area-rac-CijlCSbc.js → text-area-rac-DY2np20s.js} +1 -1
- package/dist/component/{text-input-field-rac-C7MHQux9.js → text-input-field-rac-Jl4gKN4D.js} +3 -3
- package/dist/component/{text-input-headless-rpkBKDtv.js → text-input-headless-DsIKhwwK.js} +3 -3
- package/dist/component/{text-input-rac-ByQYQdhO.js → text-input-rac-Dwoai7Y2.js} +1 -1
- package/dist/component/{time-input-rac-DNhF8Fgp.js → time-input-rac-CeUzBpvQ.js} +4 -4
- package/dist/component/{url-input-field-rac-BXAIqFBW.js → url-input-field-rac-D5dK0qXo.js} +4 -4
- package/dist/component/{url-input-rac-K7KbvHSs.js → url-input-rac-DGC2_VVy.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-Djft2p1F.js → use-dropdown-option-class-name-DCf8o4bn.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-qw_44NJe.js → use-dropdown-trigger-class-name-VcbNtj9H.js} +6 -6
- package/dist/component/{use-element-state-class-name-CfMaX0Go.js → use-element-state-class-name-Dc9b8x0t.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CkuY2oaQ.js → use-hoverable-input-class-name-BNb7P_5E.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-DCCYZZvs.js → use-is-forced-open-dropdown-BlG9NkCS.js} +1 -1
- package/dist/component/{use-service-options-base-C9pMScOv.js → use-service-options-base-DB4bYGFa.js} +1 -1
- package/dist/component/use-text-input-class-name-BxX9CE3F.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-DcnHNmxk.js +0 -6
package/dist/component/{rating-input-field-rac-CT_otaIS.js → rating-input-field-rac-B8b5CdR7.js}
RENAMED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { RicosViewer as
|
|
1
|
+
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
|
-
import e, { useCallback as
|
|
4
|
-
import { bM as
|
|
5
|
-
import { RadioGroup as
|
|
6
|
-
import { f as E, a as
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
9
|
-
import { E as
|
|
3
|
+
import e, { useCallback as O, useState as A, useRef as M } from "react";
|
|
4
|
+
import { bM as b, bJ as I, bX as T, X as H, am as w, af as B, M as P, I as q, ag as G } from "./form-ur8Cb2nw.js";
|
|
5
|
+
import { RadioGroup as k, RadioField as x, RadioButton as U } from "react-aria-components";
|
|
6
|
+
import { f as E, a as X } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { D as z, E as J } from "./field-error-headless-DQ-jwMtX.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-D0N5zbDh.js";
|
|
9
|
+
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
|
-
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError:
|
|
13
|
+
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: o, onBlur: c, onFocus: C, FieldLayout: R } = b(), { labelId: _, ariaDescribedBy: L } = I(), s = O((y) => i(Number(y)), [
|
|
14
14
|
i
|
|
15
|
-
]), f = E(a, t.Label),
|
|
15
|
+
]), f = E(a, t.Label), F = E(a, t.Ratings), h = E(a, t.Description), D = E(a, t.Error);
|
|
16
16
|
return /* @__PURE__ */ e.createElement(R, {
|
|
17
17
|
fieldId: n,
|
|
18
18
|
renderLabel: () => f,
|
|
19
|
-
renderInput: () => /* @__PURE__ */ e.createElement(
|
|
19
|
+
renderInput: () => /* @__PURE__ */ e.createElement(k, {
|
|
20
20
|
"aria-labelledby": _,
|
|
21
|
+
"aria-describedby": L,
|
|
21
22
|
value: r ? String(r) : void 0,
|
|
22
|
-
onChange:
|
|
23
|
+
onChange: s,
|
|
23
24
|
isDisabled: l,
|
|
24
25
|
isReadOnly: m,
|
|
25
26
|
isRequired: d,
|
|
26
|
-
isInvalid:
|
|
27
|
-
onBlur:
|
|
27
|
+
isInvalid: o,
|
|
28
|
+
onBlur: c,
|
|
28
29
|
onFocus: C,
|
|
29
30
|
orientation: "horizontal"
|
|
30
|
-
},
|
|
31
|
-
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
31
|
+
}, F),
|
|
32
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, D, h)
|
|
32
33
|
});
|
|
33
|
-
},
|
|
34
|
-
const { value: i, readOnly: l, hasError: m } =
|
|
34
|
+
}, S = ({ children: a, className: n, getReactionLabel: r }) => {
|
|
35
|
+
const { value: i, readOnly: l, hasError: m } = b(), { inputId: d } = I(), [o, c] = A(), C = M(null), R = E(a, S.Rating), _ = [
|
|
35
36
|
"1",
|
|
36
37
|
"2",
|
|
37
38
|
"3",
|
|
38
39
|
"4",
|
|
39
40
|
"5"
|
|
40
|
-
],
|
|
41
|
+
], L = (s) => o && !l ? o >= s : !!i && i >= Number(s);
|
|
41
42
|
return /* @__PURE__ */ e.createElement("div", {
|
|
42
|
-
ref:
|
|
43
|
+
ref: C,
|
|
43
44
|
id: d,
|
|
44
|
-
"aria-describedby": c,
|
|
45
45
|
className: n,
|
|
46
46
|
"data-invalid": m,
|
|
47
47
|
"data-readonly": l
|
|
48
|
-
},
|
|
48
|
+
}, _.map((s) => X(R, {
|
|
49
49
|
key: s,
|
|
50
50
|
value: s,
|
|
51
|
-
isSelected:
|
|
52
|
-
onHoverChange: (
|
|
51
|
+
isSelected: L(s),
|
|
52
|
+
onHoverChange: (f) => c(f ? s : void 0),
|
|
53
53
|
label: r == null ? void 0 : r(Number(s))
|
|
54
54
|
})));
|
|
55
|
-
},
|
|
55
|
+
}, K = {
|
|
56
56
|
border: 0,
|
|
57
57
|
clipPath: "inset(50%)",
|
|
58
58
|
height: 1,
|
|
@@ -62,33 +62,33 @@ const t = ({ children: a }) => {
|
|
|
62
62
|
position: "absolute",
|
|
63
63
|
width: 1,
|
|
64
64
|
whiteSpace: "nowrap"
|
|
65
|
-
},
|
|
65
|
+
}, v = ({ className: a, children: n, ...r }) => {
|
|
66
66
|
const { value: i, isSelected: l, onHoverChange: m, label: d } = r;
|
|
67
|
-
return /* @__PURE__ */ e.createElement(
|
|
67
|
+
return /* @__PURE__ */ e.createElement(x, {
|
|
68
68
|
value: i
|
|
69
|
-
}, /* @__PURE__ */ e.createElement(
|
|
70
|
-
className: ({ isHovered:
|
|
69
|
+
}, /* @__PURE__ */ e.createElement(U, {
|
|
70
|
+
className: ({ isHovered: o, isFocused: c }) => typeof a == "function" ? a({
|
|
71
71
|
isSelected: l,
|
|
72
|
-
isHovered:
|
|
73
|
-
isFocused:
|
|
72
|
+
isHovered: o,
|
|
73
|
+
isFocused: c
|
|
74
74
|
}) : a ?? "",
|
|
75
75
|
"data-active": l || void 0,
|
|
76
76
|
onHoverChange: m
|
|
77
|
-
}, ({ isHovered:
|
|
77
|
+
}, ({ isHovered: o, isFocused: c }) => /* @__PURE__ */ e.createElement(e.Fragment, null, typeof n == "function" ? n({
|
|
78
78
|
isSelected: l,
|
|
79
|
-
isHovered:
|
|
80
|
-
isFocused:
|
|
79
|
+
isHovered: o,
|
|
80
|
+
isFocused: c
|
|
81
81
|
}) : n, d ? /* @__PURE__ */ e.createElement("span", {
|
|
82
|
-
style:
|
|
82
|
+
style: K
|
|
83
83
|
}, d) : null)));
|
|
84
84
|
};
|
|
85
|
-
|
|
86
|
-
t.Label =
|
|
87
|
-
t.Ratings =
|
|
88
|
-
t.Rating =
|
|
89
|
-
t.Description =
|
|
90
|
-
t.Error =
|
|
91
|
-
const
|
|
85
|
+
S.Rating = v;
|
|
86
|
+
t.Label = Q;
|
|
87
|
+
t.Ratings = S;
|
|
88
|
+
t.Rating = v;
|
|
89
|
+
t.Description = z;
|
|
90
|
+
t.Error = J;
|
|
91
|
+
const W = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
92
92
|
viewBox: "0 0 32 32",
|
|
93
93
|
width: 32,
|
|
94
94
|
height: 32,
|
|
@@ -98,40 +98,40 @@ const K = (a) => /* @__PURE__ */ e.createElement("svg", {
|
|
|
98
98
|
}, /* @__PURE__ */ e.createElement("path", {
|
|
99
99
|
fillRule: "evenodd",
|
|
100
100
|
d: "M28.6265,13.6325 C28.9655,13.3015 29.0845,12.8175 28.9385,12.3665 C28.7925,11.9165 28.4105,11.5945 27.9415,11.5265 L20.5785,10.4565 C20.5015,10.4445 20.4345,10.3965 20.4005,10.3275 L17.1075,3.6545 L17.1075,3.6535 C16.8975,3.2295 16.4735,2.9655 16.0005,2.9655 L15.9995,2.9655 C15.5255,2.9655 15.1025,3.2295 14.8925,3.6545 L11.5985,10.3275 C11.5645,10.3965 11.4985,10.4445 11.4225,10.4565 L4.0575,11.5265 C3.5895,11.5945 3.2075,11.9165 3.0615,12.3665 C2.9155,12.8175 3.0345,13.3015 3.3735,13.6325 L8.7025,18.8265 C8.7575,18.8805 8.7835,18.9585 8.7705,19.0345 L7.5125,26.3695 C7.4325,26.8355 7.6205,27.2985 8.0035,27.5765 C8.2195,27.7345 8.4735,27.8145 8.7285,27.8145 C8.9245,27.8145 9.1215,27.7665 9.3045,27.6705 L15.8895,24.2085 C15.9595,24.1725 16.0415,24.1725 16.1085,24.2075 L22.6955,27.6705 C23.1155,27.8915 23.6135,27.8555 23.9965,27.5765 C24.3795,27.2985 24.5675,26.8355 24.4875,26.3695 L23.2305,19.0355 C23.2165,18.9585 23.2425,18.8805 23.2975,18.8265 L28.6265,13.6325 Z"
|
|
101
|
-
})),
|
|
102
|
-
ratings:
|
|
103
|
-
rating:
|
|
104
|
-
ratingSelected:
|
|
105
|
-
ratingHover:
|
|
106
|
-
},
|
|
101
|
+
})), Y = "_ratings_a5lgi_1", $ = "_rating_a5lgi_1", V = "_ratingSelected_a5lgi_37", ee = "_ratingHover_a5lgi_44", p = {
|
|
102
|
+
ratings: Y,
|
|
103
|
+
rating: $,
|
|
104
|
+
ratingSelected: V,
|
|
105
|
+
ratingHover: ee
|
|
106
|
+
}, te = ({ content: a, locale: n }) => /* @__PURE__ */ e.createElement(N, {
|
|
107
107
|
content: a,
|
|
108
108
|
locale: n
|
|
109
|
-
}),
|
|
109
|
+
}), ae = {
|
|
110
110
|
base: p.rating,
|
|
111
111
|
selected: p.ratingSelected,
|
|
112
112
|
hover: p.ratingHover
|
|
113
|
-
},
|
|
114
|
-
const { t: a } =
|
|
115
|
-
globalClasses:
|
|
116
|
-
moduleClasses:
|
|
113
|
+
}, ge = () => {
|
|
114
|
+
const { t: a } = T(), n = j({
|
|
115
|
+
globalClasses: G,
|
|
116
|
+
moduleClasses: ae
|
|
117
117
|
});
|
|
118
118
|
return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
|
|
119
|
-
className: u(
|
|
119
|
+
className: u(H, g.label)
|
|
120
120
|
}, /* @__PURE__ */ e.createElement(t.Label.Required, {
|
|
121
|
-
className: u(
|
|
121
|
+
className: u(w, g.requiredMark)
|
|
122
122
|
})), /* @__PURE__ */ e.createElement(t.Ratings, {
|
|
123
|
-
className: u(
|
|
123
|
+
className: u(B, p.ratings),
|
|
124
124
|
getReactionLabel: (r) => a("rating-input.a11y.reaction-label", {
|
|
125
125
|
count: r
|
|
126
126
|
})
|
|
127
127
|
}, /* @__PURE__ */ e.createElement(t.Rating, {
|
|
128
128
|
className: n
|
|
129
|
-
}, /* @__PURE__ */ e.createElement(
|
|
130
|
-
className: u(
|
|
131
|
-
}, /* @__PURE__ */ e.createElement(
|
|
132
|
-
className: u(
|
|
133
|
-
},
|
|
129
|
+
}, /* @__PURE__ */ e.createElement(W, null))), /* @__PURE__ */ e.createElement(t.Error, {
|
|
130
|
+
className: u(P, g.error)
|
|
131
|
+
}, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
|
|
132
|
+
className: u(q, g.description)
|
|
133
|
+
}, te));
|
|
134
134
|
};
|
|
135
135
|
export {
|
|
136
|
-
|
|
136
|
+
ge as R
|
|
137
137
|
};
|
package/dist/component/{rich-content-rac.module-D2bW9sqs.js → rich-content-rac.module-BgjdfUpM.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bM as a, bE as i, bX as T } from "./form-
|
|
2
|
+
import { bM as a, bE as i, bX as T } from "./form-ur8Cb2nw.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 { bM as m, aY as i, aG as u, bn as R, bq as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { bM as m, aY as i, aG as u, bn as R, bq as T } from "./form-ur8Cb2nw.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-BgjdfUpM.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-BdWVjo9n.js → service-dropdown-rac-Cj4BuLCe.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import o, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bI as P, bX as A, F as M, bM as y, bE as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u, u as X } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bI as P, bX as A, F as M, bM as y, bE as V, aN as x, X as H, am as U, J as W, M as k, I as q } from "./form-ur8Cb2nw.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-DB4bYGFa.js";
|
|
6
|
+
import { D as u, u as X } from "./use-dropdown-trigger-class-name-VcbNtj9H.js";
|
|
7
7
|
import { C as J } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-DCf8o4bn.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
|
|
13
13
|
const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, bM as d, aN as D, X as N, am as F, p as f, r as h, M, I as b, q as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, bM as d, aN as D, X as N, am as F, p as f, r as h, M, I as b, q as A } from "./form-ur8Cb2nw.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DB4bYGFa.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-Dwnolboz.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-DOxE4UQg.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DcyJyi2B.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-BxX9CE3F.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useS
|
|
|
2
2
|
import Fe from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as we } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { be as xe, bG as Le, aR as Ue, F as Be, bI as Oe, bE as Pe, bU as Te, E as me, aH as oe, bM as x, bJ as W, bO as Ie, bX as Me, bF as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-
|
|
5
|
+
import { be as xe, bG as Le, aR as Ue, F as Be, bI as Oe, bE as Pe, bU as Te, E as me, aH as oe, bM as x, bJ as W, bO as Ie, bX as Me, bF as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-ur8Cb2nw.js";
|
|
6
6
|
import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
|
|
7
7
|
import { RadioGroup as nt, Button as Ce, TextField as at, DropZone as ot, Input as st, FileTrigger as rt, RadioField as lt, RadioButton as it } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as C, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as ct, E as ut } from "./field-error-headless-
|
|
11
|
-
import { L as dt } from "./field-label-headless-
|
|
10
|
+
import { D as ct, E as ut } from "./field-error-headless-DQ-jwMtX.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-D0N5zbDh.js";
|
|
12
12
|
import { D as mt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as pt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DcyJyi2B.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
16
16
|
const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Le().signature) == null ? void 0 : o.signatureMode, a = Se(Ue);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as X, useCallback as y } from "react";
|
|
2
2
|
import G from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bM as b, bG as J, aF as K, aE as $, aC as j, aB as q, aK as z, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-
|
|
4
|
+
import { bM as b, bG as J, aF as K, aE as $, aC as j, aB as q, aK as z, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-ur8Cb2nw.js";
|
|
5
5
|
import { ProgressBar as nt, Button as w } from "react-aria-components";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as J } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as Q, useRef as x, useLayoutEffect as w, useCallback as N } from "react";
|
|
4
4
|
import { CheckboxGroup as z, TextField as B, Input as K, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bM as D, bJ as M, bX as S, bO as U, X as ee, am as te, ax as oe, M as ne, I as ae, ay as se } from "./form-
|
|
5
|
+
import { bM as D, bJ as M, bX as S, bO as U, X as ee, am as te, ax as oe, M as ne, I as ae, ay as se } from "./form-ur8Cb2nw.js";
|
|
6
6
|
import { f as O, a as k } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as W, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-DQ-jwMtX.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-D0N5zbDh.js";
|
|
9
9
|
import { F as re } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as y } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-BxX9CE3F.js";
|
|
14
14
|
var ue = /* @__PURE__ */ (function(e) {
|
|
15
15
|
return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
|
|
16
16
|
})({});
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as S } from "react";
|
|
4
4
|
import { TextField as T, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bM as p, bJ as d, bO as x, bV as h, X as M, am as g, M as v, I as q } from "./form-
|
|
5
|
+
import { bM as p, bJ as d, bO as x, bV as h, X as M, am as g, M as v, I as q } from "./form-ur8Cb2nw.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as V } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as V } from "./field-error-headless-DQ-jwMtX.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-D0N5zbDh.js";
|
|
9
9
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DcyJyi2B.js";
|
|
11
|
-
import { u as w } from "./use-text-input-class-name-
|
|
11
|
+
import { u as w } from "./use-text-input-class-name-BxX9CE3F.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: n, disabled: u, required: s, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = O((A) => {
|
|
14
14
|
n(A);
|
package/dist/component/{text-input-field-rac-C7MHQux9.js → text-input-field-rac-Jl4gKN4D.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-DsIKhwwK.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DcyJyi2B.js";
|
|
7
|
-
import { X as n, am as c, M as E, I as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { X as n, am as c, M as E, I as i } from "./form-ur8Cb2nw.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-BxX9CE3F.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 n, { useRef as v } from "react";
|
|
2
2
|
import { TextField as C, Input as R } from "react-aria-components";
|
|
3
|
-
import { bM as d, bJ as p, bO as h, bV as O } from "./form-
|
|
3
|
+
import { bM as d, bJ as p, bO as h, bV as O } from "./form-ur8Cb2nw.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-DQ-jwMtX.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-D0N5zbDh.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: l, onChange: i, disabled: u, readOnly: t, required: o, hasError: c, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = d(), { labelId: I } = p(), F = a(r, e.Label), y = a(r, e.Input), D = a(r, e.Description), L = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ n.createElement(E, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
|
|
6
|
-
import { bM as p, bJ as X, bX as T, bO as j, X as J, am as Q, M as z, I as G } from "./form-
|
|
6
|
+
import { bM as p, bJ as X, bX as T, bO as j, X as J, am as Q, M as z, I as G } from "./form-ur8Cb2nw.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as K, E as W } from "./field-error-headless-
|
|
9
|
-
import { L as Y } from "./field-label-headless-
|
|
8
|
+
import { D as K, E as W } from "./field-error-headless-DQ-jwMtX.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-D0N5zbDh.js";
|
|
10
10
|
import { E as Z } 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-DcyJyi2B.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-BxX9CE3F.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = X(), R = V((M) => {
|
|
16
16
|
const H = ae(M);
|
|
@@ -2,14 +2,14 @@ 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 { bM as d, bJ as E, bO as M, bV as v, X as B, am as P, M as T, I as g } from "./form-
|
|
5
|
+
import { bM as d, bJ as E, bO as M, bV as v, X as B, am as P, M as T, I as g } from "./form-ur8Cb2nw.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as k, E as q } from "./field-error-headless-
|
|
8
|
-
import { L as x } from "./field-label-headless-
|
|
7
|
+
import { D as k, E as q } from "./field-error-headless-DQ-jwMtX.js";
|
|
8
|
+
import { L as x } from "./field-label-headless-D0N5zbDh.js";
|
|
9
9
|
import { u as U } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as V } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DcyJyi2B.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-BxX9CE3F.js";
|
|
13
13
|
const W = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: a, onChange: l, disabled: m, readOnly: s, required: n, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = U(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = N(() => {
|
|
15
15
|
l(W(a)), p();
|
|
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as L, useState as m, Children as N, useLayou
|
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as M } from "react-aria-components";
|
|
3
3
|
import P from "classnames";
|
|
4
4
|
import { s as h } from "./field-rac.module-DcyJyi2B.js";
|
|
5
|
-
import { K as T } from "./form-
|
|
6
|
-
import { u as H } from "./use-element-state-class-name-
|
|
5
|
+
import { K as T } from "./form-ur8Cb2nw.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
7
7
|
const R = 1 / 0, I = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import e, { useState as F, useCallback as v, useRef as H } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as $ } from "react-aria";
|
|
3
3
|
import { VisuallyHidden as k, Select as G, SelectValue as J, ListBoxItem as U } from "react-aria-components";
|
|
4
|
-
import { bM as b, bJ as D, bX as W, bO as X, L as Y } from "./form-
|
|
4
|
+
import { bM as b, bJ as D, bX as W, bO as X, L as Y } from "./form-ur8Cb2nw.js";
|
|
5
5
|
import { f as d, a as L } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as j, E as z } from "./field-error-headless-
|
|
7
|
-
import { L as K } from "./field-label-headless-
|
|
6
|
+
import { D as j, E as z } from "./field-error-headless-DQ-jwMtX.js";
|
|
7
|
+
import { L as K } from "./field-label-headless-D0N5zbDh.js";
|
|
8
8
|
import { E as Q, S as Z, N as ee } from "./non-modal-popover-D-u13tmp.js";
|
|
9
|
-
import { b as te } from "./use-is-forced-open-dropdown-
|
|
10
|
-
import { V as ne } from "./use-dropdown-option-class-name-
|
|
11
|
-
import { u as re } from "./use-hoverable-input-class-name-
|
|
9
|
+
import { b as te } from "./use-is-forced-open-dropdown-BlG9NkCS.js";
|
|
10
|
+
import { V as ne } from "./use-dropdown-option-class-name-DCf8o4bn.js";
|
|
11
|
+
import { u as re } from "./use-hoverable-input-class-name-BNb7P_5E.js";
|
|
12
12
|
const r = ({ children: t }) => {
|
|
13
13
|
const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: n, placeholder: m, disabled: i, required: p, onBlur: C, onFocus: I, FieldLayout: y, hasError: T } = b(), [N, P] = F(!1), E = te(l), [R, h] = F(null), S = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: f } = D(), { t: V } = W(), O = `${f}-required`, B = v((c) => {
|
|
14
14
|
o || n(typeof c == "string" ? c : null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "classnames";
|
|
2
|
-
import { bF as s, bc as v } from "./form-
|
|
2
|
+
import { bF as s, bc as v } from "./form-ur8Cb2nw.js";
|
|
3
3
|
const x = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bM as n } from "./form-
|
|
1
|
+
import { bM as n } from "./form-ur8Cb2nw.js";
|
|
2
2
|
import { s as e } from "./field-rac.module-DcyJyi2B.js";
|
|
3
|
-
import { u } from "./use-element-state-class-name-
|
|
3
|
+
import { u } from "./use-element-state-class-name-Dc9b8x0t.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-C9pMScOv.js → use-service-options-base-DB4bYGFa.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
|
|
2
|
-
import { bL as v } from "./form-
|
|
2
|
+
import { bL as v } from "./form-ur8Cb2nw.js";
|
|
3
3
|
const k = (L) => {
|
|
4
4
|
const { fieldType: I, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = L, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(I), r = y((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.192.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": [
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
]
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
-
"falconPackageHash": "
|
|
161
|
+
"falconPackageHash": "a79364b0a89526d5374d9db93e6db12f18bca8e4f672b4d0eed2e443"
|
|
162
162
|
}
|