@wix/form-elements 1.171.0 → 1.173.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-DZ0SFXmL.js → appointment-rac-DIV9zgmZ.js} +80 -80
- package/dist/component/{bookings-address-rac-BW9grc77.js → bookings-address-rac-C5cT4gkX.js} +1 -1
- package/dist/component/{bookings-email-rac-D8gMaAfB.js → bookings-email-rac-CQEhRS7N.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CAjcs7b6.js → bookings-first-name-rac-BwdasJXd.js} +1 -1
- package/dist/component/{bookings-header-rac-BhKZ1kku.js → bookings-header-rac-CWzKq3yr.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DpsMDuU0.js → bookings-last-name-rac-CoVWqEy5.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BVdWmKS8.js → bookings-login-bar-rac-DwoI-iRQ.js} +4 -4
- package/dist/component/{bookings-phone-rac-DsqNi2mI.js → bookings-phone-rac-WAZU-1kD.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-elM4Ne3f.js → bookings-rich-text-rac-I5Uo-q87.js} +1 -1
- package/dist/component/{checkbox-field-rac-BU4E73fD.js → checkbox-field-rac-CKbKBNcQ.js} +43 -43
- package/dist/component/{checkbox-group-field-headless-6yJdIbP2.js → checkbox-group-field-headless-7PMj-zW6.js} +47 -47
- package/dist/component/{checkbox-group-field-rac-CojbCWSF.js → checkbox-group-field-rac-BZ-YgEYR.js} +4 -4
- package/dist/component/{checkbox-group-rac-3qUVUc-C.js → checkbox-group-rac-CED8h4qI.js} +1 -1
- package/dist/component/{checkbox-rac-DwbTapd_.js → checkbox-rac-CbpEXMBz.js} +1 -1
- package/dist/component/{contacts-address-rac-BL7XDZuP.js → contacts-address-rac-F3Ui7iJu.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DeJYIHAg.js → contacts-birthdate-rac-CcxRV3RQ.js} +1 -1
- package/dist/component/{contacts-company-rac-BeImf5uc.js → contacts-company-rac-mDY20HzW.js} +1 -1
- package/dist/component/{contacts-email-rac-CtacwrZ0.js → contacts-email-rac-CoBPNuCj.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CAdOqOOA.js → contacts-first-name-rac-DzbpBmNm.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Db9mHzCW.js → contacts-last-name-rac-DEmV-MNE.js} +1 -1
- package/dist/component/{contacts-phone-rac-W0OLEbzL.js → contacts-phone-rac-BlEpatWP.js} +1 -1
- package/dist/component/{contacts-position-rac-CV4Ibt4Z.js → contacts-position-rac-DlZahRQc.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-CQ3Q1pjZ.js → contacts-subscribe-rac-LXCEPvXl.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-Dux-pk6r.js → contacts-tax-id-rac-DS0SDAtC.js} +1 -1
- package/dist/component/{date-availability-RkX-Qw7G.js → date-availability-DTFyrU8J.js} +1 -1
- package/dist/component/{date-input-field-rac-CYCT6qoa.js → date-input-field-rac-D7Pv-hqW.js} +62 -62
- package/dist/component/{date-input-rac-BkYZ7q_o.js → date-input-rac-BEsh54Gz.js} +1 -1
- package/dist/component/{date-picker-field-rac-eMidYtsl.js → date-picker-field-rac-DJirD93a.js} +15 -15
- package/dist/component/{date-picker-rac-D23rxZcF.js → date-picker-rac-B1fUqj_w.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BjIj4dXQ.js → date-time-input-field-rac-CPFaQUXF.js} +38 -38
- package/dist/component/{date-time-input-rac-BSGAdk9L.js → date-time-input-rac-CAozBO0e.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-Xmb5IKrb.js → dext-checkbox-group-rac-B0yqJoj8.js} +2 -2
- package/dist/component/{dext-checkbox-rac-2eA7y0ld.js → dext-checkbox-rac-yZaUdHz1.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CmLxVGGT.js → dext-date-picker-rac-AJ7XIW-h.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Cd9nwSjb.js → dext-date-time-input-rac-CPs79sUY.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BKdQ0nGS.js → dext-dropdown-rac-W2QzqPG4.js} +1 -1
- package/dist/component/{dext-email-rac-07zDPxyf.js → dext-email-rac-CCW1Dk1m.js} +1 -1
- package/dist/component/{dext-number-input-rac-DRvGuppY.js → dext-number-input-rac-BAInaxoF.js} +1 -1
- package/dist/component/{dext-phone-rac-CKtTVjFg.js → dext-phone-rac-CYYgZiFW.js} +1 -1
- package/dist/component/{dext-radio-group-rac-BsBmMufq.js → dext-radio-group-rac-Dqvmxoai.js} +2 -2
- package/dist/component/{dext-rating-input-rac-CcFSTAIh.js → dext-rating-input-rac-CWl7X0zW.js} +1 -1
- package/dist/component/{dext-tags-rac-CCTDlCvX.js → dext-tags-rac-BpAfPh55.js} +2 -2
- package/dist/component/{dext-text-area-rac-Cif8po9h.js → dext-text-area-rac-CLTg8XXH.js} +1 -1
- package/dist/component/{dext-text-input-rac-2118X4iF.js → dext-text-input-rac-BV-F-ZsP.js} +1 -1
- package/dist/component/{dext-url-input-rac-DDImGkQe.js → dext-url-input-rac-B9wHRaZr.js} +1 -1
- package/dist/component/{donation-rac-Dnylss1d.js → donation-rac-Be4swKWD.js} +50 -50
- package/dist/component/{dropdown-field-rac-DDI4ZgZH.js → dropdown-field-rac-BFEB_WuX.js} +3 -3
- package/dist/component/{dropdown-rac-DX0Z3R_8.js → dropdown-rac-Dz7QtFVB.js} +1 -1
- package/dist/component/{ecom-address-rac-D9MeEQsk.js → ecom-address-rac-Bu6msDgo.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DKJ9j5dj.js → ecom-subscription-checkbox-rac-BRovQqrM.js} +2 -2
- package/dist/component/{email-input-field-rac-DaKrmlwe.js → email-input-field-rac-EERVxm6G.js} +42 -42
- package/dist/component/{events-repeater-rac-DWrOLT0Y.js → events-repeater-rac-xs0pooBs.js} +49 -49
- package/dist/component/{events-rsvp-rac-YBTR1tR0.js → events-rsvp-rac-CMi-8EqK.js} +3 -3
- package/dist/component/{field-error-headless-jksFrezt.js → field-error-headless-DbFXeaud.js} +8 -8
- package/dist/component/{field-label-headless-BBvJAVxI.js → field-label-headless-CWOYHPsb.js} +11 -11
- package/dist/component/{file-upload-rac-CgdmfUZG.js → file-upload-rac-vbMTIdDc.js} +61 -61
- package/dist/component/{fixed-payment-rac-v6rKwzFs.js → fixed-payment-rac-BRk7ams_.js} +7 -7
- package/dist/component/{form-BsiK682r.js → form-BjeODFzx.js} +238 -237
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BuXybl7K.js → header-field-rac-CQexwZn7.js} +2 -2
- package/dist/component/{header-rac-CDyaLosW.js → header-rac-CYbPDl4_.js} +1 -1
- package/dist/component/{image-choice-rac-BRlMroBw.js → image-choice-rac-DDvlaK6K.js} +15 -15
- package/dist/component/{index-BanOeCAF.js → index-B6wFpWpe.js} +4 -4
- package/dist/component/{index-y9URYGEE.js → index-Bs9ypEe2.js} +6 -6
- package/dist/component/{isObjectLike-BG9nJ-rx.js → isObjectLike-Xcw2hQQ6.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DRAkxI1l.js → multiline-address-field-rac-CYJR-MUz.js} +209 -209
- package/dist/component/{multiline-address-rac-JjTzWsEb.js → multiline-address-rac-DO1j_w6S.js} +1 -1
- package/dist/component/{number-input-field-rac-QrouG7Hv.js → number-input-field-rac-C-qvd8v9.js} +18 -18
- package/dist/component/{number-input-rac-DGmE7cLv.js → number-input-rac-CQSaifZE.js} +1 -1
- package/dist/component/{password-rac-DeyY228m.js → password-rac-CqnbZtR_.js} +28 -28
- package/dist/component/{payment-input-rac-DmIennLi.js → payment-input-rac-CbOcztkp.js} +28 -28
- package/dist/component/{phone-input-field-rac-F7e74TGA.js → phone-input-field-rac-BQ187I2C.js} +55 -55
- package/dist/component/{phone-rac-CQfB2CQD.js → phone-rac-CbA2xqF3.js} +1 -1
- package/dist/component/{product-list-rac--GGG8vvO.js → product-list-rac-MxB9tRiE.js} +103 -103
- package/dist/component/{quiz-radio-group-rac-DF2C2vNq.js → quiz-radio-group-rac-IViaDVRW.js} +1 -1
- package/dist/component/{radio-button-module-classes-DmpNo6F2.js → radio-button-module-classes-jtnooKMO.js} +33 -33
- package/dist/component/{radio-group-field-rac-BGcPYfKO.js → radio-group-field-rac-g3SQGJPp.js} +4 -4
- package/dist/component/{radio-group-rac-CqysUMCE.js → radio-group-rac-D8wmzlbu.js} +1 -1
- package/dist/component/{rating-input-field-rac-D-ei917Y.js → rating-input-field-rac-BqPXKKdi.js} +15 -15
- package/dist/component/{rating-input-rac-a9zJ74fw.js → rating-input-rac-CeZIpOmm.js} +1 -1
- package/dist/component/{rich-content-rac.module-CvyLVlXL.js → rich-content-rac.module-BLgdpRh_.js} +5 -5
- package/dist/component/{rich-text-field-rac-vf19nvyw.js → rich-text-field-rac-BpSVobCQ.js} +6 -6
- package/dist/component/{rich-text-rac-Cx_wpoxC.js → rich-text-rac-DqpaqbFH.js} +1 -1
- package/dist/component/{service-dropdown-rac-DITzKQxd.js → service-dropdown-rac-DKgtga1t.js} +30 -30
- package/dist/component/{services-multi-choice-rac-BtisN0Aq.js → services-multi-choice-rac-CAyB0b4q.js} +9 -9
- package/dist/component/{signature-rac-DUeIoS5O.js → signature-rac-DC20YN4f.js} +97 -97
- package/dist/component/{submit-button-rac-C8h6zeTw.js → submit-button-rac-ClWtqIkR.js} +30 -30
- package/dist/component/{tags-field-rac-CjFuiB0n.js → tags-field-rac-DHM9k8uf.js} +18 -18
- package/dist/component/{tags-rac-BO7rwyLl.js → tags-rac-Clg50jwY.js} +1 -1
- package/dist/component/{text-area-field-rac-CgUx3nQ0.js → text-area-field-rac-B2qJZ6wR.js} +16 -16
- package/dist/component/{text-area-rac-WgXYXIaf.js → text-area-rac-BwsVk7u7.js} +1 -1
- package/dist/component/{text-input-field-rac-DaxWFha-.js → text-input-field-rac-BQbo-3Ly.js} +6 -6
- package/dist/component/{text-input-headless-hjuRJTZN.js → text-input-headless-WICGIHcN.js} +3 -3
- package/dist/component/{text-input-rac-BzumrJBj.js → text-input-rac-D7BRYDZr.js} +1 -1
- package/dist/component/{time-input-rac-2FEkpQ7M.js → time-input-rac-Dnp-0_Js.js} +22 -22
- package/dist/component/{url-input-field-rac-BZ9f8D8I.js → url-input-field-rac-MC13zKST.js} +19 -19
- package/dist/component/{url-input-rac-D-AVlxkD.js → url-input-rac-DfAtTmKv.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DwAAtzgX.js → use-dropdown-option-class-name-CVUEosg4.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-D-6n9YVG.js → use-dropdown-trigger-class-name-BHLG7EB-.js} +25 -25
- package/dist/component/{use-element-state-class-name-C5auxwhj.js → use-element-state-class-name-BVJylHPn.js} +3 -3
- package/dist/component/{use-hoverable-input-class-name-Nd2jqfz4.js → use-hoverable-input-class-name-DO9ctJ81.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-CKaHhCqp.js → use-is-forced-open-dropdown-Czuo32Nq.js} +8 -8
- package/dist/component/{use-service-options-base-CvluFheT.js → use-service-options-base-DUuGIm38.js} +1 -1
- package/dist/component/use-text-input-class-name-LEnNGX0a.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-DGTlYJxC.js +0 -6
package/dist/component/{dext-radio-group-rac-BsBmMufq.js → dext-radio-group-rac-Dqvmxoai.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { R as p } from "./radio-group-field-rac-
|
|
2
|
+
import { bL as e, aN as t } from "./form-BjeODFzx.js";
|
|
3
|
+
import { R as p } from "./radio-group-field-rac-g3SQGJPp.js";
|
|
4
4
|
import { a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const o = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { T as s } from "./tags-field-rac-
|
|
2
|
+
import { bL as e, aN as o } from "./form-BjeODFzx.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-DHM9k8uf.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const t = {
|
|
@@ -3,20 +3,20 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
|
|
|
3
3
|
import v from "classnames";
|
|
4
4
|
import { ToggleButtonGroup as oe, TextField as re, Group as se, ToggleButton as ae, Input as le } from "react-aria-components";
|
|
5
5
|
import { debounce as ce } from "ts-debounce";
|
|
6
|
-
import {
|
|
6
|
+
import { a$ as K, bL as T, bI as P, bV as ie, bD as V, bN as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-BjeODFzx.js";
|
|
7
7
|
import { f as O, a as N } from "./find-child-C60k4CxG.js";
|
|
8
8
|
import { a as Q } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as fe, E as Oe } from "./field-error-headless-
|
|
10
|
-
import { L as
|
|
9
|
+
import { D as fe, E as Oe } from "./field-error-headless-DbFXeaud.js";
|
|
10
|
+
import { L as ye } from "./field-label-headless-CWOYHPsb.js";
|
|
11
11
|
import { F as be } from "./fieldset-headless-CD3fds9J.js";
|
|
12
|
-
import { a as
|
|
12
|
+
import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
|
|
13
13
|
import { g as ge } from "./payment-field-utils-DobiK5Xh.js";
|
|
14
14
|
import { u as Fe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
15
15
|
import { E as Ne } from "./error-icon-hZxQ6DEy.js";
|
|
16
16
|
import { s as L } from "./field-rac.module-ts2t4WUO.js";
|
|
17
17
|
import { o as De } from "./options-rac.module-_THNq6Qq.js";
|
|
18
|
-
import { u as Se } from "./use-element-state-class-name-
|
|
19
|
-
import { u as ve } from "./use-text-input-class-name-
|
|
18
|
+
import { u as Se } from "./use-element-state-class-name-BVJylHPn.js";
|
|
19
|
+
import { u as ve } from "./use-text-input-class-name-LEnNGX0a.js";
|
|
20
20
|
function Le(e, t) {
|
|
21
21
|
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
22
22
|
}
|
|
@@ -28,22 +28,22 @@ function Te(e) {
|
|
|
28
28
|
var t;
|
|
29
29
|
return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function w(e, t) {
|
|
32
32
|
const o = Number(t || "0");
|
|
33
33
|
return {
|
|
34
34
|
productId: e.id,
|
|
35
|
-
price: e.priceType ===
|
|
35
|
+
price: e.priceType === K.DYNAMIC_PRICE ? o : String(o),
|
|
36
36
|
quantity: 1
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function Pe(e) {
|
|
40
|
-
return e.find((t) => t.priceType ===
|
|
40
|
+
return e.find((t) => t.priceType === K.DYNAMIC_PRICE);
|
|
41
41
|
}
|
|
42
42
|
function Me(e, t) {
|
|
43
43
|
return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
|
|
44
44
|
}
|
|
45
45
|
const s = ({ children: e }) => {
|
|
46
|
-
const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: b } = P(), { t: m } = ie(), { currency: F, regionalFormat:
|
|
46
|
+
const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: b } = P(), { t: m } = ie(), { currency: F, regionalFormat: _ } = V(), y = o == null ? void 0 : o[0], D = x(() => {
|
|
47
47
|
var I, h;
|
|
48
48
|
return ((h = (I = u == null ? void 0 : u.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : h.products) || [];
|
|
49
49
|
}, [
|
|
@@ -53,47 +53,47 @@ const s = ({ children: e }) => {
|
|
|
53
53
|
]), a = x(() => E ? Pe(D) : void 0, [
|
|
54
54
|
D,
|
|
55
55
|
E
|
|
56
|
-
]), W = Me(
|
|
56
|
+
]), W = Me(y, a), [H, B] = Fe({
|
|
57
57
|
sourceValue: W,
|
|
58
|
-
format: (I) => he(String(I ?? ""),
|
|
59
|
-
regionalFormat:
|
|
58
|
+
format: (I) => he(String(I ?? ""), _),
|
|
59
|
+
regionalFormat: _
|
|
60
60
|
}), q = S((I) => {
|
|
61
61
|
const h = I === void 0 ? void 0 : M[I];
|
|
62
62
|
r(h ? [
|
|
63
|
-
|
|
63
|
+
w(h, Te(h))
|
|
64
64
|
] : []), B("");
|
|
65
65
|
}, [
|
|
66
66
|
r,
|
|
67
67
|
M,
|
|
68
68
|
B
|
|
69
|
-
]),
|
|
69
|
+
]), U = S((I) => {
|
|
70
70
|
a && r(typeof I == "number" ? [
|
|
71
|
-
|
|
71
|
+
w(a, String(I))
|
|
72
72
|
] : []);
|
|
73
73
|
}, [
|
|
74
74
|
r,
|
|
75
75
|
a
|
|
76
|
-
]), k = x(() => ce(
|
|
77
|
-
|
|
76
|
+
]), k = x(() => ce(U, 500), [
|
|
77
|
+
U
|
|
78
78
|
]), X = S((I) => {
|
|
79
|
-
(
|
|
80
|
-
const { validInput: h, validNumber: ee } =
|
|
79
|
+
(y == null ? void 0 : y.productId) !== (a == null ? void 0 : a.id) && r(void 0);
|
|
80
|
+
const { validInput: h, validNumber: ee } = _e(I.target.value, Ae, H, _);
|
|
81
81
|
B(h), k(ee);
|
|
82
82
|
}, [
|
|
83
|
-
y,
|
|
84
|
-
r,
|
|
85
83
|
_,
|
|
84
|
+
r,
|
|
85
|
+
y,
|
|
86
86
|
a,
|
|
87
|
-
|
|
87
|
+
H,
|
|
88
88
|
k,
|
|
89
89
|
B
|
|
90
|
-
]),
|
|
91
|
-
a != null && a.id &&
|
|
90
|
+
]), $ = (y == null ? void 0 : y.productId) || null, j = S(() => {
|
|
91
|
+
a != null && a.id && $ !== a.id && q(a.id);
|
|
92
92
|
}, [
|
|
93
93
|
a == null ? void 0 : a.id,
|
|
94
|
-
|
|
94
|
+
$,
|
|
95
95
|
q
|
|
96
|
-
]), z = O(e, s.Label),
|
|
96
|
+
]), z = O(e, s.Label), Y = O(e, s.Control), J = O(e, s.Description), Z = O(e, s.Error);
|
|
97
97
|
return /* @__PURE__ */ n.createElement(f, {
|
|
98
98
|
fieldId: t,
|
|
99
99
|
renderLabel: () => z,
|
|
@@ -104,12 +104,12 @@ const s = ({ children: e }) => {
|
|
|
104
104
|
required: l,
|
|
105
105
|
onBlur: i,
|
|
106
106
|
onFocus: C
|
|
107
|
-
},
|
|
107
|
+
}, Y ? N(Y, {
|
|
108
108
|
productsById: M,
|
|
109
|
-
selectedValue:
|
|
109
|
+
selectedValue: $,
|
|
110
110
|
onSelectProduct: q,
|
|
111
111
|
addOther: E,
|
|
112
|
-
customAmount:
|
|
112
|
+
customAmount: H,
|
|
113
113
|
onCustomAmountInputChange: X,
|
|
114
114
|
currency: F,
|
|
115
115
|
t: m,
|
|
@@ -120,7 +120,7 @@ const s = ({ children: e }) => {
|
|
|
120
120
|
renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, J)
|
|
121
121
|
});
|
|
122
122
|
}, Be = ({ children: e, className: t, ...o }) => {
|
|
123
|
-
const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: b } = o, { hasError: m } = T(), F = O(e, s.Options),
|
|
123
|
+
const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: b } = o, { hasError: m } = T(), F = O(e, s.Options), _ = O(e, s.OtherInput);
|
|
124
124
|
return /* @__PURE__ */ n.createElement("div", {
|
|
125
125
|
className: t,
|
|
126
126
|
"data-invalid": m
|
|
@@ -128,7 +128,7 @@ const s = ({ children: e }) => {
|
|
|
128
128
|
productsById: r,
|
|
129
129
|
selectedValue: l,
|
|
130
130
|
onSelectProduct: i
|
|
131
|
-
}) : null,
|
|
131
|
+
}) : null, _ && C ? N(_, {
|
|
132
132
|
customAmount: u,
|
|
133
133
|
onCustomAmountInputChange: E,
|
|
134
134
|
currency: p,
|
|
@@ -161,7 +161,7 @@ const s = ({ children: e }) => {
|
|
|
161
161
|
});
|
|
162
162
|
}));
|
|
163
163
|
}, R = ({ children: e, className: t, ...o }) => {
|
|
164
|
-
const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } =
|
|
164
|
+
const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = V(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = Q({
|
|
165
165
|
amount: l,
|
|
166
166
|
currency: u == null ? void 0 : u.code,
|
|
167
167
|
locale: E
|
|
@@ -182,7 +182,7 @@ const s = ({ children: e }) => {
|
|
|
182
182
|
"data-invalid": C || void 0
|
|
183
183
|
}, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, b, !c && f));
|
|
184
184
|
}, xe = ({ className: e, ...t }) => {
|
|
185
|
-
const { price: o } = t, { currency: r, regionalFormat: l } =
|
|
185
|
+
const { price: o } = t, { currency: r, regionalFormat: l } = V(), { value: i } = Q({
|
|
186
186
|
amount: o,
|
|
187
187
|
currency: r == null ? void 0 : r.code,
|
|
188
188
|
locale: l
|
|
@@ -190,16 +190,16 @@ const s = ({ children: e }) => {
|
|
|
190
190
|
return /* @__PURE__ */ n.createElement("span", {
|
|
191
191
|
className: e
|
|
192
192
|
}, i);
|
|
193
|
-
},
|
|
194
|
-
const { currency: t } =
|
|
193
|
+
}, Ve = ({ className: e }) => {
|
|
194
|
+
const { currency: t } = V();
|
|
195
195
|
return /* @__PURE__ */ n.createElement("span", {
|
|
196
196
|
className: e
|
|
197
197
|
}, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
|
|
198
198
|
};
|
|
199
199
|
R.Value = xe;
|
|
200
|
-
R.Currency =
|
|
200
|
+
R.Currency = Ve;
|
|
201
201
|
const A = ({ children: e, className: t, ...o }) => {
|
|
202
|
-
const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: b } = P(), m = O(e, A.Currency), F = O(e, A.Value),
|
|
202
|
+
const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: b } = P(), m = O(e, A.Currency), F = O(e, A.Value), _ = S((D) => {
|
|
203
203
|
l({
|
|
204
204
|
target: {
|
|
205
205
|
value: D
|
|
@@ -207,7 +207,7 @@ const A = ({ children: e, className: t, ...o }) => {
|
|
|
207
207
|
});
|
|
208
208
|
}, [
|
|
209
209
|
l
|
|
210
|
-
]),
|
|
210
|
+
]), y = S(() => {
|
|
211
211
|
p();
|
|
212
212
|
}, [
|
|
213
213
|
p
|
|
@@ -215,8 +215,8 @@ const A = ({ children: e, className: t, ...o }) => {
|
|
|
215
215
|
return /* @__PURE__ */ n.createElement(re, {
|
|
216
216
|
"aria-labelledby": `${d} ${b}`,
|
|
217
217
|
value: r,
|
|
218
|
-
onChange:
|
|
219
|
-
onFocus:
|
|
218
|
+
onChange: _,
|
|
219
|
+
onFocus: y,
|
|
220
220
|
isDisabled: f,
|
|
221
221
|
isInvalid: c
|
|
222
222
|
}, /* @__PURE__ */ n.createElement(se, {
|
|
@@ -230,7 +230,7 @@ const A = ({ children: e, className: t, ...o }) => {
|
|
|
230
230
|
placeholder: u,
|
|
231
231
|
customAmountProductId: E
|
|
232
232
|
}) : null));
|
|
233
|
-
},
|
|
233
|
+
}, He = ({ className: e, ...t }) => {
|
|
234
234
|
const { currency: o, t: r } = t, { prefixId: l } = P();
|
|
235
235
|
return /* @__PURE__ */ n.createElement("span", {
|
|
236
236
|
id: l,
|
|
@@ -250,23 +250,23 @@ const A = ({ children: e, className: t, ...o }) => {
|
|
|
250
250
|
className: e
|
|
251
251
|
});
|
|
252
252
|
};
|
|
253
|
-
A.Currency =
|
|
253
|
+
A.Currency = He;
|
|
254
254
|
A.Value = qe;
|
|
255
255
|
G.Option = R;
|
|
256
|
-
s.Label =
|
|
256
|
+
s.Label = ye;
|
|
257
257
|
s.Control = Be;
|
|
258
258
|
s.Options = G;
|
|
259
259
|
s.OtherInput = A;
|
|
260
260
|
s.Description = fe;
|
|
261
261
|
s.Error = Oe;
|
|
262
|
-
const
|
|
263
|
-
control:
|
|
262
|
+
const $e = "_control_lovol_1", Ge = "_option_lovol_7", Ue = "_optionHover_lovol_39", ke = "_optionSelected_lovol_39", Ye = "_optionCurrency_lovol_92", we = "_otherInput_lovol_96", Ke = "_otherInputCurrency_lovol_118", g = {
|
|
263
|
+
control: $e,
|
|
264
264
|
option: Ge,
|
|
265
|
-
optionHover:
|
|
265
|
+
optionHover: Ue,
|
|
266
266
|
optionSelected: ke,
|
|
267
|
-
optionCurrency:
|
|
268
|
-
otherInput:
|
|
269
|
-
otherInputCurrency:
|
|
267
|
+
optionCurrency: Ye,
|
|
268
|
+
otherInput: we,
|
|
269
|
+
otherInputCurrency: Ke
|
|
270
270
|
}, Qe = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
|
|
271
271
|
content: e,
|
|
272
272
|
locale: t
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import a from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { u as n, D as r } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { u as n, D as r } from "./use-dropdown-trigger-class-name-BHLG7EB-.js";
|
|
5
5
|
import { C as l } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
6
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { H as i } from "./custom-focus-class-_483Pkwp.js";
|
|
8
8
|
import { s as o } from "./field-rac.module-ts2t4WUO.js";
|
|
9
|
-
import { X as p,
|
|
10
|
-
import { u as R } from "./use-dropdown-option-class-name-
|
|
9
|
+
import { X as p, am as E, J as D, M as _, I as O } from "./form-BjeODFzx.js";
|
|
10
|
+
import { u as R } from "./use-dropdown-option-class-name-CVUEosg4.js";
|
|
11
11
|
const C = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: t,
|
|
13
13
|
locale: s
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o, { useMemo as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { C as l } from "./checkbox-field-rac-
|
|
2
|
+
import { bL as a, bV as c, aN as i } from "./form-BjeODFzx.js";
|
|
3
|
+
import { C as l } from "./checkbox-field-rac-CKbKBNcQ.js";
|
|
4
4
|
const p = (e) => ({
|
|
5
5
|
nodes: [
|
|
6
6
|
{
|
package/dist/component/{email-input-field-rac-DaKrmlwe.js → email-input-field-rac-EERVxm6G.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RicosViewer as ie } from "@wix/ricos/viewer";
|
|
2
2
|
import j from "classnames";
|
|
3
|
-
import u, { createContext as z, useContext as Z, createElement as R, isValidElement as
|
|
3
|
+
import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
|
|
4
4
|
import { TextField as pe } from "react-aria-components";
|
|
5
|
-
import {
|
|
5
|
+
import { bI as fe, bV as ge, bG as ve, d as ye, bL as Ee, bP as de, bJ as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-BjeODFzx.js";
|
|
6
6
|
import { f as C } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import ee from "@babel/runtime/helpers/objectWithoutProperties";
|
|
8
8
|
import L from "@babel/runtime/helpers/typeof";
|
|
@@ -10,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
|
|
|
10
10
|
import ke from "html-parse-stringify";
|
|
11
11
|
import Te from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import xe from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as
|
|
13
|
+
import { T as U } from "./text-input-headless-WICGIHcN.js";
|
|
14
14
|
import { E as De } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { s as H } from "./field-rac.module-ts2t4WUO.js";
|
|
16
|
-
import { u as je } from "./use-text-input-class-name-
|
|
16
|
+
import { u as je } from "./use-text-input-class-name-LEnNGX0a.js";
|
|
17
17
|
var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
|
|
18
18
|
"&": "&",
|
|
19
19
|
"&": "&",
|
|
@@ -82,12 +82,12 @@ function K() {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
var J = {};
|
|
85
|
-
function
|
|
85
|
+
function Be() {
|
|
86
86
|
for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
|
|
87
87
|
t[a] = arguments[a];
|
|
88
88
|
typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
|
|
89
89
|
}
|
|
90
|
-
var
|
|
90
|
+
var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
91
91
|
function Q(e, t) {
|
|
92
92
|
var a = Object.keys(e);
|
|
93
93
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -109,23 +109,23 @@ function p(e) {
|
|
|
109
109
|
}
|
|
110
110
|
return e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function G(e, t) {
|
|
113
113
|
if (!e) return !1;
|
|
114
114
|
var a = e.props ? e.props.children : e.children;
|
|
115
115
|
return t ? a.length > 0 : !!a;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Y(e) {
|
|
118
118
|
return e ? e.props ? e.props.children : e.children : [];
|
|
119
119
|
}
|
|
120
120
|
function qe(e) {
|
|
121
121
|
return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
|
|
122
|
-
return
|
|
122
|
+
return B(t);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
function M(e) {
|
|
126
126
|
return Array.isArray(e) ? e : [e];
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Ge(e, t) {
|
|
129
129
|
var a = p({}, t);
|
|
130
130
|
return a.props = Object.assign(e.props, t.props), a;
|
|
131
131
|
}
|
|
@@ -135,7 +135,7 @@ function te(e, t) {
|
|
|
135
135
|
return o.forEach(function(r, g) {
|
|
136
136
|
if (typeof r == "string")
|
|
137
137
|
a += "".concat(r);
|
|
138
|
-
else if (
|
|
138
|
+
else if (B(r)) {
|
|
139
139
|
var v = Object.keys(r.props).length, d = c.indexOf(r.type) > -1, b = r.props.children;
|
|
140
140
|
if (!b && d && v === 0)
|
|
141
141
|
a += "<".concat(r.type, "/>");
|
|
@@ -152,17 +152,17 @@ function te(e, t) {
|
|
|
152
152
|
} else if (r === null)
|
|
153
153
|
K("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
154
154
|
else if (L(r) === "object") {
|
|
155
|
-
var
|
|
155
|
+
var O = r.format, F = ee(r, Ue), A = Object.keys(F);
|
|
156
156
|
if (A.length === 1) {
|
|
157
|
-
var
|
|
158
|
-
a += "{{".concat(
|
|
157
|
+
var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
|
|
158
|
+
a += "{{".concat(S, "}}");
|
|
159
159
|
} else
|
|
160
160
|
K("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.", r);
|
|
161
161
|
} else
|
|
162
162
|
K("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", r);
|
|
163
163
|
}), a;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Ye(e, t, a, o, c, r) {
|
|
166
166
|
if (t === "") return [];
|
|
167
167
|
var g = o.transKeepBasicHtmlNodesFor || [], v = t && new RegExp(g.join("|")).test(t);
|
|
168
168
|
if (!e && !v) return [t];
|
|
@@ -170,13 +170,13 @@ function Ge(e, t, a, o, c, r) {
|
|
|
170
170
|
function b(y) {
|
|
171
171
|
var h = M(y);
|
|
172
172
|
h.forEach(function(s) {
|
|
173
|
-
typeof s != "string" && (
|
|
173
|
+
typeof s != "string" && (G(s) ? b(Y(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
b(e);
|
|
177
|
-
var T = ke.parse("<0>".concat(t, "</0>")),
|
|
177
|
+
var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
|
|
178
178
|
function F(y, h, s) {
|
|
179
|
-
var i =
|
|
179
|
+
var i = Y(y), I = S(i, h.children, s);
|
|
180
180
|
return qe(i) && I.length === 0 ? i : I;
|
|
181
181
|
}
|
|
182
182
|
function A(y, h, s, i, I) {
|
|
@@ -184,24 +184,24 @@ function Ge(e, t, a, o, c, r) {
|
|
|
184
184
|
key: i
|
|
185
185
|
}), I ? void 0 : h));
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function S(y, h, s) {
|
|
188
188
|
var i = M(y), I = M(h);
|
|
189
189
|
return I.reduce(function(l, n, E) {
|
|
190
|
-
var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content,
|
|
190
|
+
var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
|
|
191
191
|
if (n.type === "tag") {
|
|
192
192
|
var N = i[parseInt(n.name, 10)];
|
|
193
193
|
!N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
|
|
194
|
-
var m = Object.keys(n.attrs).length !== 0 ?
|
|
194
|
+
var m = Object.keys(n.attrs).length !== 0 ? Ge({
|
|
195
195
|
props: n.attrs
|
|
196
|
-
}, N) : N, x =
|
|
196
|
+
}, N) : N, x = B(m), V = x && G(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
|
|
197
197
|
if (typeof m == "string") {
|
|
198
|
-
var q = a.services.interpolator.interpolate(m,
|
|
198
|
+
var q = a.services.interpolator.interpolate(m, O, a.language);
|
|
199
199
|
l.push(q);
|
|
200
|
-
} else if (
|
|
200
|
+
} else if (G(m) || V) {
|
|
201
201
|
var ne = F(m, n, s);
|
|
202
202
|
A(m, ne, l, E);
|
|
203
203
|
} else if (P) {
|
|
204
|
-
var oe =
|
|
204
|
+
var oe = S(i, n.children, s);
|
|
205
205
|
l.push(w(m, p(p({}, m.props), {}, {
|
|
206
206
|
key: E
|
|
207
207
|
}), oe));
|
|
@@ -215,7 +215,7 @@ function Ge(e, t, a, o, c, r) {
|
|
|
215
215
|
key: "".concat(n.name, "-").concat(E)
|
|
216
216
|
}));
|
|
217
217
|
else {
|
|
218
|
-
var se =
|
|
218
|
+
var se = S(i, n.children, s);
|
|
219
219
|
l.push(R(n.name, {
|
|
220
220
|
key: "".concat(n.name, "-").concat(E)
|
|
221
221
|
}, se));
|
|
@@ -223,7 +223,7 @@ function Ge(e, t, a, o, c, r) {
|
|
|
223
223
|
else if (n.voidElement)
|
|
224
224
|
l.push("<".concat(n.name, " />"));
|
|
225
225
|
else {
|
|
226
|
-
var ce =
|
|
226
|
+
var ce = S(i, n.children, s);
|
|
227
227
|
l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
|
|
228
228
|
}
|
|
229
229
|
else if (L(m) === "object" && !x) {
|
|
@@ -235,7 +235,7 @@ function Ge(e, t, a, o, c, r) {
|
|
|
235
235
|
key: E
|
|
236
236
|
})));
|
|
237
237
|
} else if (n.type === "text") {
|
|
238
|
-
var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content,
|
|
238
|
+
var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
|
|
239
239
|
W ? l.push(R(W, {
|
|
240
240
|
key: "".concat(n.name, "-").concat(E)
|
|
241
241
|
}, X)) : l.push(X);
|
|
@@ -243,21 +243,21 @@ function Ge(e, t, a, o, c, r) {
|
|
|
243
243
|
return l;
|
|
244
244
|
}, []);
|
|
245
245
|
}
|
|
246
|
-
var D =
|
|
246
|
+
var D = S([{
|
|
247
247
|
dummy: !0,
|
|
248
248
|
children: e || []
|
|
249
249
|
}], T, M(e || []));
|
|
250
|
-
return
|
|
250
|
+
return Y(D[0]);
|
|
251
251
|
}
|
|
252
252
|
function $e(e) {
|
|
253
|
-
var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components,
|
|
253
|
+
var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
|
|
254
254
|
if (!i)
|
|
255
|
-
return
|
|
255
|
+
return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
256
256
|
var I = A || i.t.bind(i) || function(q) {
|
|
257
257
|
return q;
|
|
258
258
|
};
|
|
259
259
|
r && (v.context = r);
|
|
260
|
-
var l = p(p({}, Re()), i.options && i.options.react), n =
|
|
260
|
+
var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
|
|
261
261
|
n = typeof n == "string" ? [n] : n || ["translation"];
|
|
262
262
|
var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
|
|
263
263
|
interpolation: p(p({}, v.interpolation), {}, {
|
|
@@ -269,7 +269,7 @@ function $e(e) {
|
|
|
269
269
|
}, d), m), {}, {
|
|
270
270
|
defaultValue: E,
|
|
271
271
|
ns: n
|
|
272
|
-
}), V = N ? I(N, x) : E, P =
|
|
272
|
+
}), V = N ? I(N, x) : E, P = Ye(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
|
|
273
273
|
return _ ? R(_, D, P) : P;
|
|
274
274
|
}
|
|
275
275
|
const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
|
|
@@ -449,15 +449,15 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
449
449
|
validate: v
|
|
450
450
|
};
|
|
451
451
|
}, f = ({ children: e }) => {
|
|
452
|
-
const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description:
|
|
452
|
+
const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
|
|
453
453
|
email: a,
|
|
454
454
|
hasError: v
|
|
455
|
-
}), { setFocusedFieldId: y } = de(), s = A && (!r && !c) &&
|
|
455
|
+
}), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
|
|
456
456
|
o(s), y(t);
|
|
457
457
|
}, l = () => {
|
|
458
458
|
D(), d == null || d();
|
|
459
459
|
}, n = C(e, f.Label), E = C(e, f.Input), k = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
|
|
460
|
-
return /* @__PURE__ */ u.createElement(
|
|
460
|
+
return /* @__PURE__ */ u.createElement(Se.Provider, {
|
|
461
461
|
value: i
|
|
462
462
|
}, /* @__PURE__ */ u.createElement(Qe, {
|
|
463
463
|
activeSuggestion: s,
|
|
@@ -481,10 +481,10 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
481
481
|
renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
|
|
482
482
|
})));
|
|
483
483
|
};
|
|
484
|
-
f.Label =
|
|
485
|
-
f.Input =
|
|
486
|
-
f.Description =
|
|
487
|
-
f.Error =
|
|
484
|
+
f.Label = U.Label;
|
|
485
|
+
f.Input = U.Input;
|
|
486
|
+
f.Description = U.Description;
|
|
487
|
+
f.Error = U.Error;
|
|
488
488
|
f.Suggestion = ze;
|
|
489
489
|
const nt = "_suggestion_lysve_1", ot = {
|
|
490
490
|
suggestion: nt
|
|
@@ -494,7 +494,7 @@ const nt = "_suggestion_lysve_1", ot = {
|
|
|
494
494
|
}), ht = () => {
|
|
495
495
|
const e = je();
|
|
496
496
|
return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
|
|
497
|
-
className: j(
|
|
497
|
+
className: j(Oe, H.label)
|
|
498
498
|
}, /* @__PURE__ */ u.createElement(f.Label.Required, {
|
|
499
499
|
className: j(he, H.requiredMark)
|
|
500
500
|
})), /* @__PURE__ */ u.createElement(f.Input, {
|