@wix/form-elements 1.132.0 → 1.133.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-DMYXIOL3.js → appointment-rac-D0mwr3TL.js} +5 -5
- package/dist/component/{bookings-address-rac-D6Ot6vm7.js → bookings-address-rac-BEnmwXax.js} +1 -1
- package/dist/component/{bookings-email-rac-CkPflUxK.js → bookings-email-rac-D56j9PXc.js} +1 -1
- package/dist/component/{bookings-first-name-rac-BbDv4BQw.js → bookings-first-name-rac-xu3S-ih_.js} +1 -1
- package/dist/component/{bookings-header-rac-DJodBCf4.js → bookings-header-rac-hfBabv7v.js} +1 -1
- package/dist/component/{bookings-last-name-rac-C4PRt2XO.js → bookings-last-name-rac-6bMvN0Cm.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-MPcFtzUB.js → bookings-login-bar-rac-DE70Omwf.js} +1 -1
- package/dist/component/{bookings-phone-rac-BnaiOxWV.js → bookings-phone-rac-D_EHRAiU.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-Cwp6pBC_.js → bookings-rich-text-rac-BxgI9Zt6.js} +1 -1
- package/dist/component/{checkbox-field-rac-BA-67OHo.js → checkbox-field-rac-BLDUOAXM.js} +6 -6
- package/dist/component/{checkbox-group-field-headless-B20gxYEt.js → checkbox-group-field-headless-CugSJIBp.js} +3 -3
- package/dist/component/{checkbox-group-field-rac--uloIFS6.js → checkbox-group-field-rac-D4m9SmRX.js} +6 -6
- package/dist/component/{checkbox-group-rac-CYt86YIr.js → checkbox-group-rac-BYqEsCwa.js} +1 -1
- package/dist/component/{checkbox-indicator-module-classes-Bqo0QILF.js → checkbox-indicator-module-classes-zXKP5rD4.js} +1 -1
- package/dist/component/{checkbox-rac-4FLDh24V.js → checkbox-rac-DkIBUAN7.js} +1 -1
- package/dist/component/{contacts-address-rac-BU2H0MEF.js → contacts-address-rac-D1tzbiTM.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DXITbTMA.js → contacts-birthdate-rac-DO-1xG0u.js} +1 -1
- package/dist/component/{contacts-company-rac-D_BKjGc8.js → contacts-company-rac-CzJK3YIo.js} +1 -1
- package/dist/component/{contacts-email-rac-CfYSUKJ3.js → contacts-email-rac-DLvMErBI.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DYZUgWsB.js → contacts-first-name-rac-3RcSXL0h.js} +1 -1
- package/dist/component/{contacts-last-name-rac-m-zqIpMB.js → contacts-last-name-rac-BYoSi_QX.js} +1 -1
- package/dist/component/{contacts-phone-rac-nJDsO_Y8.js → contacts-phone-rac-DMYn0orB.js} +1 -1
- package/dist/component/{contacts-position-rac-CAGdJXSW.js → contacts-position-rac-K1R6ihXo.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-jwP65ngO.js → contacts-subscribe-rac-DsWNSH6t.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DUOQlZ3c.js → contacts-tax-id-rac-D7NjPiRf.js} +1 -1
- package/dist/component/{date-availability-EbJKjV1U.js → date-availability-D3n6-g3h.js} +1 -1
- package/dist/component/{date-input-field-rac-CZRcW-0J.js → date-input-field-rac-SyAmInlu.js} +7 -7
- package/dist/component/{date-input-rac-CasoMjfj.js → date-input-rac-BQNOsWz1.js} +1 -1
- package/dist/component/{date-picker-field-rac-V9MRWrj-.js → date-picker-field-rac-DO1epod7.js} +6 -6
- package/dist/component/{date-picker-rac-Cu5wTh1_.js → date-picker-rac-DQElftUu.js} +1 -1
- package/dist/component/{date-time-input-field-rac-YGqLIle1.js → date-time-input-field-rac-CV5wZSXO.js} +7 -7
- package/dist/component/{date-time-input-rac-DCEyREJI.js → date-time-input-rac-DvHwpjnk.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DLB5mAwB.js → dext-checkbox-group-rac-BfcKoslb.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DFV7ixAO.js → dext-checkbox-rac-DhadtXb5.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CEL2X1ID.js → dext-date-picker-rac-0Dmo3mrG.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-yLdCLDbQ.js → dext-date-time-input-rac-Cnh7Aqiq.js} +1 -1
- package/dist/component/{dext-dropdown-rac-ti_P0L_X.js → dext-dropdown-rac-CajXcYsB.js} +1 -1
- package/dist/component/{dext-email-rac-CnvdVz-J.js → dext-email-rac-DynJaiZt.js} +1 -1
- package/dist/component/{dext-number-input-rac-CmGt691Y.js → dext-number-input-rac-LmTKwb80.js} +1 -1
- package/dist/component/{dext-phone-rac-JEZkz4gZ.js → dext-phone-rac-Cw2roq1_.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CUk6wUPl.js → dext-radio-group-rac-CaNZJrkc.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Q1J5oqhZ.js → dext-rating-input-rac-CAL1jb0q.js} +1 -1
- package/dist/component/{dext-tags-rac-DU9FLeGu.js → dext-tags-rac-BOp_amVK.js} +2 -2
- package/dist/component/{dext-text-area-rac-D1FOCK6O.js → dext-text-area-rac-6DYTHIeh.js} +1 -1
- package/dist/component/{dext-text-input-rac-Dzb5lQjK.js → dext-text-input-rac-CDWthvV3.js} +1 -1
- package/dist/component/{dext-url-input-rac-cRLFpiNR.js → dext-url-input-rac-CsS4NPYO.js} +1 -1
- package/dist/component/{donation-rac-CV-PnK1D.js → donation-rac-B7lFkotu.js} +48 -48
- package/dist/component/{dropdown-field-headless-D1e2XbNj.js → dropdown-field-headless-ajQghLaj.js} +5 -5
- package/dist/component/{dropdown-field-rac-DkeVkP9c.js → dropdown-field-rac-Bf5LQqSL.js} +5 -5
- package/dist/component/{dropdown-rac-ChlsWwyp.js → dropdown-rac-CJmA_ePl.js} +1 -1
- package/dist/component/{ecom-address-rac-DvHJ4Ym-.js → ecom-address-rac-B49ZP2qc.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-D3LX7FVx.js → ecom-subscription-checkbox-rac-C8qImtxo.js} +2 -2
- package/dist/component/{email-input-field-rac-B8OCp4L9.js → email-input-field-rac-B_bEWp5N.js} +4 -4
- package/dist/component/{events-repeater-rac-BO0-VcV3.js → events-repeater-rac-DXxqmIBX.js} +6 -6
- package/dist/component/{events-rsvp-rac-CnULPDrG.js → events-rsvp-rac-BaJQLSv3.js} +4 -4
- package/dist/component/{field-error-headless-DwlihJqC.js → field-error-headless-BxEFPwKI.js} +1 -1
- package/dist/component/{field-label-headless-C_cMy8vP.js → field-label-headless-5mewgrhq.js} +1 -1
- package/dist/component/field-rac.module-BGN-O8tV.js +25 -0
- package/dist/component/{file-upload-rac-CjBKgUCk.js → file-upload-rac-D9Z1Cumr.js} +172 -171
- package/dist/component/{fixed-payment-rac-ameH1syZ.js → fixed-payment-rac-S68bqvbB.js} +4 -4
- package/dist/component/{form-GcotNutn.js → form-CPY-PtxT.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-D2fpKxIz.js → header-field-rac-r6dYbnvA.js} +2 -2
- package/dist/component/{header-rac-DdWMo2xZ.js → header-rac-C9gaKsaE.js} +1 -1
- package/dist/component/{image-choice-rac-CBaUQX8m.js → image-choice-rac-BbES5dAK.js} +27 -27
- package/dist/component/{index-CAktfVsx.js → index-C6zuIVeJ.js} +2 -2
- package/dist/component/{index-nOv_Pf2O.js → index-o-TpCHqo.js} +4 -4
- package/dist/component/{isObjectLike-t9SwprFt.js → isObjectLike-BSRiBVs9.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DpMPlfjM.js → multiline-address-field-rac-BfVIiFyM.js} +8 -8
- package/dist/component/{multiline-address-rac-D1XtQuAy.js → multiline-address-rac-BOKBExhi.js} +1 -1
- package/dist/component/{number-input-field-rac-CFFU1JrK.js → number-input-field-rac-BRKFm8aA.js} +5 -5
- package/dist/component/{number-input-rac-BDs3ngbf.js → number-input-rac-BNbCCb-g.js} +1 -1
- package/dist/component/{password-rac-jRXGfQn_.js → password-rac-BygVJf7f.js} +5 -5
- package/dist/component/{payment-input-rac-BAkJqSyU.js → payment-input-rac-CoMbHcHG.js} +5 -5
- package/dist/component/{phone-input-field-rac-D_1jDl7O.js → phone-input-field-rac-dFjxptEr.js} +106 -105
- package/dist/component/{phone-rac-DyinFMYS.js → phone-rac-Dup3AP9J.js} +1 -1
- package/dist/component/{product-list-rac-BkUvhZMi.js → product-list-rac-B62mNB_W.js} +6 -6
- package/dist/component/{quiz-radio-group-rac-Cha9jkTD.js → quiz-radio-group-rac-DPMhDtr7.js} +1 -1
- package/dist/component/{radio-button-module-classes-WQaDTnal.js → radio-button-module-classes-BMvPai_6.js} +3 -3
- package/dist/component/{radio-group-field-rac-Cr35UXlg.js → radio-group-field-rac-DPt2Zl4G.js} +5 -5
- package/dist/component/{radio-group-rac-BGRYJcwQ.js → radio-group-rac-BZyGqFzr.js} +1 -1
- package/dist/component/{rating-input-field-rac-C_X51vxl.js → rating-input-field-rac-C3E0KzV-.js} +5 -5
- package/dist/component/{rating-input-rac-B-usRVpy.js → rating-input-rac-BKLz4l_D.js} +1 -1
- package/dist/component/{rich-content-rac.module-Bed3DsK7.js → rich-content-rac.module-CQ1qa_zz.js} +1 -1
- package/dist/component/{rich-text-field-rac-SHHiInVy.js → rich-text-field-rac-BfdA5KNz.js} +2 -2
- package/dist/component/{rich-text-rac-CND63R3E.js → rich-text-rac-BFbhfFuF.js} +1 -1
- package/dist/component/{service-dropdown-rac-BdfxJ1Zq.js → service-dropdown-rac-VulpHBki.js} +6 -6
- package/dist/component/{services-multi-choice-rac-D6BdQ2xE.js → services-multi-choice-rac-CIx5UpfD.js} +7 -7
- package/dist/component/{signature-rac-xuYTsTUB.js → signature-rac-BdxMBfl9.js} +133 -132
- package/dist/component/{submit-button-rac-7YwnpPtu.js → submit-button-rac-CkuWGEyL.js} +39 -39
- package/dist/component/{tags-field-rac-ChzPiPvQ.js → tags-field-rac-DKo_Yb5i.js} +45 -45
- package/dist/component/{tags-rac-BScWp3da.js → tags-rac-BimVd3ym.js} +1 -1
- package/dist/component/{text-area-field-rac-CDEJUPgV.js → text-area-field-rac-DEiLtCnb.js} +5 -5
- package/dist/component/{text-area-rac-CwiF24AW.js → text-area-rac-CHZtsq0f.js} +1 -1
- package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-CSHvUtRG.js} +4 -4
- package/dist/component/{text-input-headless-BdD-dAx2.js → text-input-headless-BYcExFPS.js} +3 -3
- package/dist/component/{text-input-rac-yX6rdvri.js → text-input-rac-D-R9btYo.js} +1 -1
- package/dist/component/{time-input-rac-B_kYmOwq.js → time-input-rac-wkHemVzj.js} +5 -5
- package/dist/component/{url-input-field-rac-NJqyqxLi.js → url-input-field-rac-KJEcLyFk.js} +5 -5
- package/dist/component/{url-input-rac-BqIKc9nY.js → url-input-rac-JFfEH389.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DFW55r3E.js → use-dropdown-option-class-name-BetaTWbW.js} +3 -3
- package/dist/component/{use-dropdown-trigger-class-name-Df-nqoeG.js → use-dropdown-trigger-class-name-C0ffAjFn.js} +2 -2
- package/dist/component/{use-element-state-class-name-D008EeZn.js → use-element-state-class-name-BOks3she.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CVtF0FGy.js → use-hoverable-input-class-name-jxtCw16L.js} +3 -3
- package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-q0JTA7UI.js} +1 -1
- package/dist/component/use-text-input-class-name-CTa0bC4T.js +6 -0
- package/package.json +2 -2
- package/dist/component/field-rac.module-BIBNQEOK.js +0 -25
- package/dist/component/use-text-input-class-name-BSDU7QEO.js +0 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import t, { useRef as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { bh as b, bb as
|
|
5
|
-
import { ProgressBar as D, Button as
|
|
1
|
+
import t, { useRef as F, useCallback as P } from "react";
|
|
2
|
+
import j from "@wix/editor-react-components/AnimatedIcon";
|
|
3
|
+
import g from "classnames";
|
|
4
|
+
import { bh as b, bb as q, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-CPY-PtxT.js";
|
|
5
|
+
import { ProgressBar as D, Button as N } from "react-aria-components";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as
|
|
7
|
+
import { u as f } from "./use-element-state-class-name-BOks3she.js";
|
|
8
8
|
function W(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(D, {
|
|
@@ -46,38 +46,38 @@ const u = ({ children: e }) => {
|
|
|
46
46
|
renderDescription: () => null
|
|
47
47
|
});
|
|
48
48
|
}, _ = ({ className: e, children: o }) => {
|
|
49
|
-
const s = m(o,
|
|
49
|
+
const s = m(o, L), n = m(o, I), i = m(o, l);
|
|
50
50
|
return /* @__PURE__ */ t.createElement("div", {
|
|
51
51
|
className: e
|
|
52
52
|
}, s, n, i);
|
|
53
|
-
},
|
|
53
|
+
}, L = ({ className: e }) => {
|
|
54
54
|
const { showPreviousButton: o, onPreviousClick: s, previousText: n } = b();
|
|
55
|
-
return o ? /* @__PURE__ */ t.createElement(
|
|
55
|
+
return o ? /* @__PURE__ */ t.createElement(N, {
|
|
56
56
|
className: e,
|
|
57
57
|
onPress: s
|
|
58
58
|
}, n) : null;
|
|
59
|
-
},
|
|
59
|
+
}, I = ({ className: e }) => {
|
|
60
60
|
const { showNextButton: o, onNextClick: s, nextText: n } = b();
|
|
61
|
-
return o ? /* @__PURE__ */ t.createElement(
|
|
61
|
+
return o ? /* @__PURE__ */ t.createElement(N, {
|
|
62
62
|
className: e,
|
|
63
63
|
onPress: s
|
|
64
64
|
}, n) : null;
|
|
65
65
|
}, l = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
66
|
-
const { showSubmitButton: i, onSubmitClick:
|
|
66
|
+
const { showSubmitButton: i, onSubmitClick: C, submitText: p, isDisabled: x, isInProgress: B, isSubmitting: S } = b();
|
|
67
67
|
if (!i)
|
|
68
68
|
return null;
|
|
69
|
-
const
|
|
70
|
-
return /* @__PURE__ */ t.createElement(
|
|
69
|
+
const E = m(n, l.Label), d = m(n, l.Icon), v = m(n, l.Loader), c = S || B;
|
|
70
|
+
return /* @__PURE__ */ t.createElement(N, {
|
|
71
71
|
className: e,
|
|
72
|
-
"aria-label":
|
|
73
|
-
onPress: c ? void 0 :
|
|
72
|
+
"aria-label": p,
|
|
73
|
+
onPress: c ? void 0 : C,
|
|
74
74
|
onHoverStart: o,
|
|
75
75
|
onHoverEnd: s,
|
|
76
76
|
isDisabled: x && !c,
|
|
77
77
|
"aria-disabled": c || void 0,
|
|
78
78
|
"data-in-progress": B
|
|
79
|
-
}, B && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null,
|
|
80
|
-
},
|
|
79
|
+
}, B && v ? v : /* @__PURE__ */ t.createElement(t.Fragment, null, E ?? /* @__PURE__ */ t.createElement(H, null), d));
|
|
80
|
+
}, H = ({ className: e }) => {
|
|
81
81
|
const { submitText: o } = b();
|
|
82
82
|
return /* @__PURE__ */ t.createElement("span", {
|
|
83
83
|
className: e
|
|
@@ -85,16 +85,16 @@ const u = ({ children: e }) => {
|
|
|
85
85
|
}, V = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), X = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
|
|
86
86
|
className: e
|
|
87
87
|
}, /* @__PURE__ */ t.createElement(W, null));
|
|
88
|
-
l.Label =
|
|
88
|
+
l.Label = H;
|
|
89
89
|
l.Icon = V;
|
|
90
90
|
l.Loader = X;
|
|
91
|
-
_.PreviousButton =
|
|
92
|
-
_.NextButton =
|
|
91
|
+
_.PreviousButton = L;
|
|
92
|
+
_.NextButton = I;
|
|
93
93
|
_.SubmitButton = l;
|
|
94
94
|
u.SubmitButton = _;
|
|
95
|
-
const $ = "
|
|
95
|
+
const $ = "_navigationContainer_1fjqg_1", z = "_rowSpacing_1fjqg_6", G = "_navigationButton_1fjqg_10", J = "_nextButton_1fjqg_29", K = "_previousButton_1fjqg_52", Q = "_navigationButtonHover_1fjqg_79", Y = "_button_1fjqg_95", Z = "_buttonNoSteps_1fjqg_143", tt = "_buttonWithSteps_1fjqg_147", et = "_buttonHover_1fjqg_151", nt = "_progress_1fjqg_175", a = {
|
|
96
96
|
navigationContainer: $,
|
|
97
|
-
rowSpacing:
|
|
97
|
+
rowSpacing: z,
|
|
98
98
|
navigationButton: G,
|
|
99
99
|
nextButton: J,
|
|
100
100
|
previousButton: K,
|
|
@@ -105,42 +105,42 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
|
|
|
105
105
|
buttonHover: et,
|
|
106
106
|
progress: nt
|
|
107
107
|
}, ot = () => {
|
|
108
|
-
var
|
|
109
|
-
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = b(),
|
|
108
|
+
var T, h;
|
|
109
|
+
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: i } = b(), p = !s && !(i || n), { wix: x, className: B, ...S } = ((h = (T = q().submitButton) == null ? void 0 : T.elementProps) == null ? void 0 : h.icon) ?? {}, E = f({
|
|
110
110
|
globalClasses: y,
|
|
111
111
|
moduleClasses: {
|
|
112
|
-
base:
|
|
112
|
+
base: g(a.navigationButton, a.previousButton),
|
|
113
113
|
hover: a.navigationButtonHover
|
|
114
114
|
}
|
|
115
|
-
}), d =
|
|
115
|
+
}), d = f({
|
|
116
116
|
globalClasses: M,
|
|
117
117
|
moduleClasses: {
|
|
118
|
-
base:
|
|
118
|
+
base: g(a.navigationButton, a.nextButton),
|
|
119
119
|
hover: a.navigationButtonHover
|
|
120
120
|
}
|
|
121
|
-
}), v =
|
|
121
|
+
}), v = f({
|
|
122
122
|
globalClasses: U,
|
|
123
123
|
moduleClasses: {
|
|
124
|
-
base:
|
|
124
|
+
base: g(a.button, {
|
|
125
125
|
[a.buttonNoSteps]: !e,
|
|
126
126
|
[a.buttonWithSteps]: e
|
|
127
127
|
}),
|
|
128
128
|
hover: a.buttonHover
|
|
129
129
|
}
|
|
130
|
-
}), c =
|
|
130
|
+
}), c = F(null), O = P(() => {
|
|
131
131
|
var r;
|
|
132
132
|
return (r = c.current) == null ? void 0 : r.runAnimationForward();
|
|
133
|
-
}, []),
|
|
133
|
+
}, []), w = P(() => {
|
|
134
134
|
var r;
|
|
135
135
|
return (r = c.current) == null ? void 0 : r.runAnimationBackward();
|
|
136
136
|
}, []);
|
|
137
137
|
return /* @__PURE__ */ t.createElement(u, null, /* @__PURE__ */ t.createElement(u.SubmitButton, {
|
|
138
|
-
className:
|
|
138
|
+
className: g({
|
|
139
139
|
[a.navigationContainer]: e,
|
|
140
140
|
[a.rowSpacing]: o
|
|
141
141
|
})
|
|
142
142
|
}, /* @__PURE__ */ t.createElement(u.SubmitButton.PreviousButton, {
|
|
143
|
-
className: ({ isHovered: r }) =>
|
|
143
|
+
className: ({ isHovered: r }) => E({
|
|
144
144
|
isSelected: !1,
|
|
145
145
|
isHovered: r
|
|
146
146
|
})
|
|
@@ -153,16 +153,16 @@ const $ = "_navigationContainer_zzjp6_1", q = "_rowSpacing_zzjp6_6", G = "_navig
|
|
|
153
153
|
className: ({ isHovered: r }) => v({
|
|
154
154
|
isSelected: !1,
|
|
155
155
|
isHovered: r,
|
|
156
|
-
isInteractive:
|
|
156
|
+
isInteractive: p
|
|
157
157
|
}),
|
|
158
|
-
onHoverStart:
|
|
159
|
-
onHoverEnd:
|
|
158
|
+
onHoverStart: O,
|
|
159
|
+
onHoverEnd: w
|
|
160
160
|
}, /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Label, {
|
|
161
161
|
className: A
|
|
162
|
-
}), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Icon, null, S.svg ? /* @__PURE__ */ t.createElement(
|
|
162
|
+
}), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Icon, null, S.svg ? /* @__PURE__ */ t.createElement(j, {
|
|
163
163
|
...S,
|
|
164
164
|
ref: c,
|
|
165
|
-
className:
|
|
165
|
+
className: g(R, k, B)
|
|
166
166
|
}) : null), /* @__PURE__ */ t.createElement(u.SubmitButton.SubmitButton.Loader, {
|
|
167
167
|
className: a.progress
|
|
168
168
|
}))));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
2
|
-
import
|
|
2
|
+
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as z, useRef as N, useLayoutEffect as B, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bh as
|
|
5
|
+
import { bh as D, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as re, a4 as ae } from "./form-CPY-PtxT.js";
|
|
6
6
|
import { f as O, a as x } 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-BxEFPwKI.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-5mewgrhq.js";
|
|
9
9
|
import { F as se } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
-
import { s as
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
11
|
+
import { s as y } from "./field-rac.module-BGN-O8tV.js";
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-BOks3she.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-CTa0bC4T.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
|
})({});
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
return (e.find((i) => i.startsWith(`${n}: `)) || "").slice(
|
|
17
|
+
const R = "Other", de = (e, n) => {
|
|
18
|
+
const a = n.length + 2;
|
|
19
|
+
return (e.find((i) => i.startsWith(`${n}: `)) || "").slice(a);
|
|
20
20
|
}, me = (e) => e.map((n) => n.value ?? n.label), P = ({ className: e, ...n }) => {
|
|
21
|
-
const { label:
|
|
21
|
+
const { label: r } = n;
|
|
22
22
|
return /* @__PURE__ */ t.createElement("span", {
|
|
23
23
|
className: e
|
|
24
|
-
},
|
|
24
|
+
}, r);
|
|
25
25
|
}, q = ({ className: e }) => {
|
|
26
|
-
const { value: n, onChange:
|
|
26
|
+
const { value: n, onChange: r, addOtherLabel: a, addOtherPlaceholder: l, otherInputCharacterLimit: i, disabled: u, readOnly: m, hasError: d } = D(), { t: p } = S(), o = a || p("add-other.default-other-option-label") || R, b = I(() => de(n || [], o), [
|
|
27
27
|
n,
|
|
28
28
|
o
|
|
29
|
-
]), [c, L] = z(b), f = N(
|
|
29
|
+
]), [c, L] = z(b), f = N(r);
|
|
30
30
|
B(() => {
|
|
31
|
-
f.current =
|
|
31
|
+
f.current = r;
|
|
32
32
|
});
|
|
33
33
|
const g = k((h) => {
|
|
34
34
|
L(h);
|
|
@@ -55,8 +55,8 @@ const v = "Other", de = (e, n) => {
|
|
|
55
55
|
maxLength: i,
|
|
56
56
|
className: e
|
|
57
57
|
}));
|
|
58
|
-
}, T = ({ children: e, className: n, ...
|
|
59
|
-
const { value:
|
|
58
|
+
}, T = ({ children: e, className: n, ...r }) => {
|
|
59
|
+
const { value: a, label: l, isOther: i, isFirstOption: u } = r, { id: m, value: d, onChange: p, options: o, disabled: b, readOnly: c, hasError: L } = D(), f = N(null);
|
|
60
60
|
U(() => {
|
|
61
61
|
var E;
|
|
62
62
|
u && ((E = f.current) == null || E.focus({
|
|
@@ -65,11 +65,11 @@ const v = "Other", de = (e, n) => {
|
|
|
65
65
|
}, m);
|
|
66
66
|
const g = O(e, P), h = I(() => d || [], [
|
|
67
67
|
d
|
|
68
|
-
]), C = I(() => i ? h.find((E) => E === l || E.startsWith(`${l}: `)) || l :
|
|
68
|
+
]), C = I(() => i ? h.find((E) => E === l || E.startsWith(`${l}: `)) || l : a, [
|
|
69
69
|
i,
|
|
70
70
|
h,
|
|
71
71
|
l,
|
|
72
|
-
|
|
72
|
+
a
|
|
73
73
|
]), _ = k((E) => {
|
|
74
74
|
const j = me(o || []), A = h.filter((Q) => j.includes(Q));
|
|
75
75
|
p(E ? [
|
|
@@ -91,17 +91,17 @@ const v = "Other", de = (e, n) => {
|
|
|
91
91
|
isInvalid: L
|
|
92
92
|
}, /* @__PURE__ */ t.createElement(Z, {
|
|
93
93
|
className: n,
|
|
94
|
-
"data-hook": `tags-${i ?
|
|
94
|
+
"data-hook": `tags-${i ? R : a}`
|
|
95
95
|
}, x(g, {
|
|
96
|
-
value:
|
|
96
|
+
value: a,
|
|
97
97
|
label: l,
|
|
98
98
|
isOther: i,
|
|
99
99
|
isFirstOption: u
|
|
100
100
|
})));
|
|
101
101
|
}, V = ({ children: e, className: n }) => {
|
|
102
|
-
const { options:
|
|
103
|
-
const o =
|
|
104
|
-
return
|
|
102
|
+
const { options: r, addOther: a, addOtherLabel: l, numberOfColumns: i = ue.FREE_FLOW } = D(), { t: u } = S(), m = l || u("add-other.default-other-option-label") || R, d = O(e, T), p = I(() => {
|
|
103
|
+
const o = r || [];
|
|
104
|
+
return a ? [
|
|
105
105
|
...o,
|
|
106
106
|
{
|
|
107
107
|
label: m,
|
|
@@ -110,8 +110,8 @@ const v = "Other", de = (e, n) => {
|
|
|
110
110
|
}
|
|
111
111
|
] : o;
|
|
112
112
|
}, [
|
|
113
|
-
a,
|
|
114
113
|
r,
|
|
114
|
+
a,
|
|
115
115
|
m
|
|
116
116
|
]);
|
|
117
117
|
return p.length === 0 ? null : /* @__PURE__ */ t.createElement("div", {
|
|
@@ -120,7 +120,7 @@ const v = "Other", de = (e, n) => {
|
|
|
120
120
|
}, p.map((o, b) => {
|
|
121
121
|
const c = o.value ?? o.label;
|
|
122
122
|
return x(d, {
|
|
123
|
-
key: o.isOther ?
|
|
123
|
+
key: o.isOther ? R : c,
|
|
124
124
|
value: c,
|
|
125
125
|
label: o.label,
|
|
126
126
|
isOther: o.isOther,
|
|
@@ -128,8 +128,8 @@ const v = "Other", de = (e, n) => {
|
|
|
128
128
|
});
|
|
129
129
|
}));
|
|
130
130
|
}, G = ({ children: e, className: n }) => {
|
|
131
|
-
const { addOther:
|
|
132
|
-
|
|
131
|
+
const { addOther: r, addOtherLabel: a, hasError: l, readOnly: i, value: u } = D(), { t: m } = S(), d = a || m("add-other.default-other-option-label") || R, p = O(e, V), o = O(e, q), b = I(() => !r || !u ? !1 : u.some((c) => c === d || c.startsWith(`${d}:`)), [
|
|
132
|
+
r,
|
|
133
133
|
u,
|
|
134
134
|
d
|
|
135
135
|
]);
|
|
@@ -139,8 +139,8 @@ const v = "Other", de = (e, n) => {
|
|
|
139
139
|
"data-readonly": i
|
|
140
140
|
}, p, b && o);
|
|
141
141
|
}, s = ({ children: e }) => {
|
|
142
|
-
const { id: n, value:
|
|
143
|
-
|
|
142
|
+
const { id: n, value: r, onChange: a, FieldLayout: l, required: i, disabled: u, readOnly: m, hasError: d, onBlur: p, onFocus: o } = D(), { inputId: b, labelId: c, ariaDescribedBy: L } = M(), f = I(() => r || [], [
|
|
143
|
+
r
|
|
144
144
|
]), g = O(e, $), h = O(e, G), C = O(e, H), _ = O(e, W);
|
|
145
145
|
return /* @__PURE__ */ t.createElement(l, {
|
|
146
146
|
fieldId: n,
|
|
@@ -155,7 +155,7 @@ const v = "Other", de = (e, n) => {
|
|
|
155
155
|
}, /* @__PURE__ */ t.createElement(J, {
|
|
156
156
|
"aria-labelledby": c,
|
|
157
157
|
value: f,
|
|
158
|
-
onChange:
|
|
158
|
+
onChange: a,
|
|
159
159
|
isDisabled: u,
|
|
160
160
|
isReadOnly: m,
|
|
161
161
|
isRequired: i,
|
|
@@ -172,7 +172,7 @@ s.Options = V;
|
|
|
172
172
|
s.OtherInput = q;
|
|
173
173
|
s.Description = H;
|
|
174
174
|
s.Error = W;
|
|
175
|
-
const pe = "
|
|
175
|
+
const pe = "_control_1srl3_1", he = "_options_1srl3_7", Ee = "_option_1srl3_7", be = "_optionHover_1srl3_74", Oe = "_optionSelected_1srl3_74", v = {
|
|
176
176
|
control: pe,
|
|
177
177
|
options: he,
|
|
178
178
|
option: Ee,
|
|
@@ -182,33 +182,33 @@ const pe = "_control_d4biy_1", he = "_options_d4biy_7", Ee = "_option_d4biy_7",
|
|
|
182
182
|
content: e,
|
|
183
183
|
locale: n
|
|
184
184
|
}), Ie = {
|
|
185
|
-
base:
|
|
186
|
-
selected:
|
|
187
|
-
hover:
|
|
185
|
+
base: v.option,
|
|
186
|
+
selected: v.optionSelected,
|
|
187
|
+
hover: v.optionHover
|
|
188
188
|
}, Ne = () => {
|
|
189
189
|
const e = ie({
|
|
190
|
-
globalClasses:
|
|
190
|
+
globalClasses: ae,
|
|
191
191
|
moduleClasses: Ie
|
|
192
192
|
}), n = ce();
|
|
193
193
|
return /* @__PURE__ */ t.createElement(s, null, /* @__PURE__ */ t.createElement(s.Label, {
|
|
194
|
-
className:
|
|
194
|
+
className: F(ee, y.label)
|
|
195
195
|
}, /* @__PURE__ */ t.createElement(s.Label.Required, {
|
|
196
|
-
className:
|
|
196
|
+
className: F(te, y.requiredMark)
|
|
197
197
|
})), /* @__PURE__ */ t.createElement(s.Control, {
|
|
198
|
-
className:
|
|
198
|
+
className: v.control
|
|
199
199
|
}, /* @__PURE__ */ t.createElement(s.Options, {
|
|
200
|
-
className:
|
|
200
|
+
className: F(ne, v.options)
|
|
201
201
|
}, /* @__PURE__ */ t.createElement(s.Options.Option, {
|
|
202
|
-
className: ({ isSelected:
|
|
203
|
-
isSelected:
|
|
204
|
-
isHovered:
|
|
202
|
+
className: ({ isSelected: r, isHovered: a }) => e({
|
|
203
|
+
isSelected: r,
|
|
204
|
+
isHovered: a
|
|
205
205
|
})
|
|
206
206
|
}, /* @__PURE__ */ t.createElement(s.Options.Option.Label, null))), /* @__PURE__ */ t.createElement(s.OtherInput, {
|
|
207
207
|
className: n
|
|
208
208
|
})), /* @__PURE__ */ t.createElement(s.Error, {
|
|
209
|
-
className:
|
|
209
|
+
className: F(oe, y.error)
|
|
210
210
|
}, /* @__PURE__ */ t.createElement(le, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
|
|
211
|
-
className:
|
|
211
|
+
className: F(re, y.description)
|
|
212
212
|
}, fe));
|
|
213
213
|
};
|
|
214
214
|
export {
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as T, useRef as O } from "react";
|
|
4
4
|
import { TextField as S, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-
|
|
5
|
+
import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-CPY-PtxT.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as B } from "./field-error-headless-BxEFPwKI.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-5mewgrhq.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s as c } from "./field-rac.module-
|
|
11
|
-
import { u as U } from "./use-text-input-class-name-
|
|
10
|
+
import { s as c } from "./field-rac.module-BGN-O8tV.js";
|
|
11
|
+
import { u as U } from "./use-text-input-class-name-CTa0bC4T.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: I, FieldLayout: b, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-CSHvUtRG.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-BYcExFPS.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as a } from "./field-rac.module-
|
|
7
|
-
import { I as n, U as c, v as E, p as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
6
|
+
import { s as a } from "./field-rac.module-BGN-O8tV.js";
|
|
7
|
+
import { I as n, U as c, v as E, p as i } from "./form-CPY-PtxT.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-CTa0bC4T.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 { bh as d, be as c, bj as v } from "./form-
|
|
3
|
+
import { bh as d, be as c, bj as v } from "./form-CPY-PtxT.js";
|
|
4
4
|
import { f as s } 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-BxEFPwKI.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-5mewgrhq.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(f, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as v } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as x } from "@internationalized/date";
|
|
5
5
|
import { TimeField as q, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
|
|
6
|
-
import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-
|
|
6
|
+
import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-CPY-PtxT.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
9
|
-
import { L as Y } from "./field-label-headless-
|
|
8
|
+
import { D as W, E as X } from "./field-error-headless-BxEFPwKI.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-5mewgrhq.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
|
-
import { s as f } from "./field-rac.module-
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
12
|
+
import { s as f } from "./field-rac.module-BGN-O8tV.js";
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-CTa0bC4T.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: a, disabled: i, readOnly: o, required: c, onBlur: s, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
|
|
16
16
|
const k = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as S, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-
|
|
5
|
+
import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-CPY-PtxT.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as U } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as P } from "./field-error-headless-BxEFPwKI.js";
|
|
8
|
+
import { L as U } from "./field-label-headless-5mewgrhq.js";
|
|
9
9
|
import { u as q } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
-
import { s as u } from "./field-rac.module-
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
11
|
+
import { s as u } from "./field-rac.module-BGN-O8tV.js";
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-CTa0bC4T.js";
|
|
13
13
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), h = S(() => {
|
|
15
15
|
n(V(s)), p();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import d, { useContext as _, useRef as D, useState as m, Children as L, useLayoutEffect as p, useMemo as M } from "react";
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as N } from "react-aria-components";
|
|
3
3
|
import T from "classnames";
|
|
4
|
-
import { s as h } from "./field-rac.module-
|
|
5
|
-
import { s as H } from "./form-
|
|
6
|
-
import { u as I } from "./use-element-state-class-name-
|
|
4
|
+
import { s as h } from "./field-rac.module-BGN-O8tV.js";
|
|
5
|
+
import { s as H } from "./form-CPY-PtxT.js";
|
|
6
|
+
import { u as I } from "./use-element-state-class-name-BOks3she.js";
|
|
7
7
|
const R = 1 / 0, B = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext as T, useMemo as a } from "react";
|
|
2
|
-
import { bb as p, an as O, b9 as _, F as s, t as i } from "./form-
|
|
3
|
-
import { u } from "./use-hoverable-input-class-name-
|
|
2
|
+
import { bb as p, an as O, b9 as _, F as s, t as i } from "./form-CPY-PtxT.js";
|
|
3
|
+
import { u } from "./use-hoverable-input-class-name-jxtCw16L.js";
|
|
4
4
|
const I = [
|
|
5
5
|
s.DROPDOWN,
|
|
6
6
|
s.DEXT_DROPDOWN,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import p from "classnames";
|
|
2
|
-
import { ba as E, aJ as f } from "./form-
|
|
2
|
+
import { ba as E, aJ as f } from "./form-CPY-PtxT.js";
|
|
3
3
|
const J = ({ globalClasses: e, moduleClasses: c }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const r = ((d = E(...f(e))) == null ? void 0 : d.split(/\s+/)) ?? [], h = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bh as i } from "./form-
|
|
2
|
-
import { s as e } from "./field-rac.module-
|
|
3
|
-
import { u as m } from "./use-element-state-class-name-
|
|
1
|
+
import { bh as i } from "./form-CPY-PtxT.js";
|
|
2
|
+
import { s as e } from "./field-rac.module-BGN-O8tV.js";
|
|
3
|
+
import { u as m } from "./use-element-state-class-name-BOks3she.js";
|
|
4
4
|
const d = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = i(), r = m({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-q0JTA7UI.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 { bg as v } from "./form-
|
|
2
|
+
import { bg as v } from "./form-CPY-PtxT.js";
|
|
3
3
|
const k = (I) => {
|
|
4
4
|
const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, g] = o(!1), [h, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), 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.133.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": "1cb95e260a6f2358d6ccd6a74ac658fb836a786d16cdee45eac1b615"
|
|
160
160
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const o = "_label_179ql_1", e = "_requiredMark_179ql_11", t = "_input_179ql_16", n = "_inputGroup_179ql_17", c = "_inputHover_179ql_71", _ = "_innerInput_179ql_132", r = "_dropdownTrigger_179ql_182", p = "_dropdownIcon_179ql_192", l = "_dropdownPopover_179ql_211", s = "_selectPopover_179ql_217", i = "_selectOption_179ql_244", u = "_selectOptionHover_179ql_267", d = "_selectOptionSelected_179ql_271", q = "_selectOptionWithoutFocusRing_179ql_275", h = "_description_179ql_281", b = "_error_179ql_297", k = "_checkbox_179ql_316", v = "_checkboxInput_179ql_339", I = "_checkboxInputSelected_179ql_378", x = "_checkboxInputHover_179ql_382", O = {
|
|
2
|
-
label: o,
|
|
3
|
-
requiredMark: e,
|
|
4
|
-
input: t,
|
|
5
|
-
inputGroup: n,
|
|
6
|
-
inputHover: c,
|
|
7
|
-
innerInput: _,
|
|
8
|
-
dropdownTrigger: r,
|
|
9
|
-
dropdownIcon: p,
|
|
10
|
-
dropdownPopover: l,
|
|
11
|
-
selectPopover: s,
|
|
12
|
-
selectOption: i,
|
|
13
|
-
selectOptionHover: u,
|
|
14
|
-
selectOptionSelected: d,
|
|
15
|
-
selectOptionWithoutFocusRing: q,
|
|
16
|
-
description: h,
|
|
17
|
-
error: b,
|
|
18
|
-
checkbox: k,
|
|
19
|
-
checkboxInput: v,
|
|
20
|
-
checkboxInputSelected: I,
|
|
21
|
-
checkboxInputHover: x
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
O as s
|
|
25
|
-
};
|