@wix/form-elements 1.77.0 → 1.79.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-BQsFMmBg.js → appointment-rac-lokvpd_p.js} +48 -48
- package/dist/component/{bookings-address-rac-AJNyTdok.js → bookings-address-rac-CU5NjBsy.js} +1 -1
- package/dist/component/{bookings-email-rac-BHZ0MFgI.js → bookings-email-rac-h3VGXrSQ.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Bw5FuWNX.js → bookings-first-name-rac-BtsTk_1b.js} +1 -1
- package/dist/component/{bookings-header-rac-C1M2Pg1f.js → bookings-header-rac-BApE1hIE.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DKkPY0CO.js → bookings-last-name-rac-BnO5iij1.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-P6pziSl1.js → bookings-login-bar-rac-BT1npKru.js} +2 -2
- package/dist/component/{bookings-phone-rac-CiOZWKHz.js → bookings-phone-rac-DWf0haGa.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-D9ZComtY.js → bookings-rich-text-rac-C79XHlRL.js} +1 -1
- package/dist/component/{checkbox-field-rac-4zG3Sf1c.js → checkbox-field-rac-DNvhTChN.js} +90 -89
- package/dist/component/{checkbox-group-field-headless-DN2aNw9g.js → checkbox-group-field-headless-6hzWQkif.js} +53 -53
- package/dist/component/{checkbox-group-field-rac-B1qhet83.js → checkbox-group-field-rac-DbaB5Fx6.js} +5 -5
- package/dist/component/{checkbox-group-rac-DGsE7xGu.js → checkbox-group-rac-BsKKhTeh.js} +1 -1
- package/dist/component/checkbox-indicator-module-classes-DqzGZQRQ.js +9 -0
- package/dist/component/{checkbox-rac-CFWQW9_K.js → checkbox-rac-Dx7LXOdw.js} +1 -1
- package/dist/component/{contacts-address-rac-G5ZH3Odo.js → contacts-address-rac-DJZ8_DKm.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-C7TDUfT0.js → contacts-birthdate-rac-CWvsa7Kq.js} +1 -1
- package/dist/component/{contacts-company-rac-8queUhWT.js → contacts-company-rac-DgF8QpOb.js} +1 -1
- package/dist/component/{contacts-email-rac-CYOs5N_I.js → contacts-email-rac-CVqiij34.js} +1 -1
- package/dist/component/{contacts-first-name-rac-D8Goc_Ym.js → contacts-first-name-rac-BwsRVRHq.js} +1 -1
- package/dist/component/{contacts-last-name-rac-lBmtuEnr.js → contacts-last-name-rac-Blgm2DBB.js} +1 -1
- package/dist/component/{contacts-phone-rac-DSUWUNBX.js → contacts-phone-rac-Dhtv3PGY.js} +1 -1
- package/dist/component/{contacts-position-rac-wA-aw5Id.js → contacts-position-rac-DYebFQea.js} +1 -1
- package/dist/component/contacts-subscribe-rac-B_cvGaYj.js +13 -0
- package/dist/component/{contacts-tax-id-rac-BpjVM1Ye.js → contacts-tax-id-rac-B_F4I7rf.js} +1 -1
- package/dist/component/{date-availability-CeiMjrtD.js → date-availability-Cc4kd1Yk.js} +1 -1
- package/dist/component/{date-input-field-rac-CVaajAFM.js → date-input-field-rac-C__QbeDM.js} +9 -9
- package/dist/component/{date-input-rac-DhEzawuM.js → date-input-rac-BhzbmHYK.js} +1 -1
- package/dist/component/{date-picker-field-rac-1Q6yyNmK.js → date-picker-field-rac-CASH891N.js} +9 -9
- package/dist/component/{date-picker-rac-BCGtmXMJ.js → date-picker-rac-CMYAA925.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Dd-HNgKP.js → date-time-input-field-rac-DPuxZ68o.js} +16 -16
- package/dist/component/{date-time-input-rac-CsCWEsH5.js → date-time-input-rac-BTJhrUXG.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-CauN5uuV.js → dext-checkbox-group-rac-5zlp2x1M.js} +2 -2
- package/dist/component/{dext-checkbox-rac-q-g9gDnw.js → dext-checkbox-rac-Cn5u395b.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CZT3dTLv.js → dext-date-picker-rac-CFfQwbC_.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DVUoZZbX.js → dext-date-time-input-rac-zRYi-0W6.js} +1 -1
- package/dist/component/{dext-dropdown-rac-GRltutt5.js → dext-dropdown-rac-CtlNh5vF.js} +1 -1
- package/dist/component/{dext-email-rac-74Y8S9GA.js → dext-email-rac-BQF4M5Mf.js} +1 -1
- package/dist/component/{dext-number-input-rac-CF9d_GTl.js → dext-number-input-rac-GR4vTWMp.js} +1 -1
- package/dist/component/{dext-phone-rac-DObx_gOd.js → dext-phone-rac-COCdZPr9.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CzU9KX5_.js → dext-radio-group-rac-ZpHitbT0.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BjRwwgXr.js → dext-rating-input-rac-Er2HC9eD.js} +1 -1
- package/dist/component/{dext-tags-rac-Vif4x1yF.js → dext-tags-rac-EciVMPQ0.js} +2 -2
- package/dist/component/{dext-text-area-rac-DmZwl_ax.js → dext-text-area-rac-D6JxrykV.js} +1 -1
- package/dist/component/{dext-text-input-rac-B6FVbjUM.js → dext-text-input-rac-CD3xkLpw.js} +1 -1
- package/dist/component/{dext-url-input-rac-17Dj3ICM.js → dext-url-input-rac-BNqCYy-H.js} +1 -1
- package/dist/component/{donation-rac-bgHep0Xi.js → donation-rac-Du_qsPD6.js} +24 -24
- package/dist/component/{dropdown-field-headless-BGfJ1FyZ.js → dropdown-field-headless-NMc4cFx2.js} +3 -3
- package/dist/component/{dropdown-field-rac-DGiysJQY.js → dropdown-field-rac-hSbwxz3M.js} +3 -3
- package/dist/component/{dropdown-rac-FHjz8fKp.js → dropdown-rac-DY2QSx-Q.js} +1 -1
- package/dist/component/{ecom-address-rac-DSbpf4z8.js → ecom-address-rac-CGlQmW6l.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DiZWNwnt.js → ecom-subscription-checkbox-rac-K3Dx-Boa.js} +3 -3
- package/dist/component/{email-input-field-rac-BQKK2O7L.js → email-input-field-rac-DCKR6Yco.js} +48 -48
- package/dist/component/{events-repeater-rac-Dudnyhal.js → events-repeater-rac-DS2hIZ81.js} +61 -60
- package/dist/component/events-rsvp-rac-iSG0hWt3.js +45 -0
- package/dist/component/{field-error-headless-C5ZsFUKv.js → field-error-headless-Lb5aaoR3.js} +1 -1
- package/dist/component/{field-label-headless-CS5OYsiI.js → field-label-headless-C1VDQVhB.js} +1 -1
- package/dist/component/field-rac.module-ColNPUt0.js +23 -0
- package/dist/component/{file-upload-rac-bQ2QOO8Q.js → file-upload-rac-BEUXTVXa.js} +35 -35
- package/dist/component/{fixed-payment-rac-B6FvXoCU.js → fixed-payment-rac-BwrQJQ6w.js} +5 -5
- package/dist/component/{form-BpHElSwH.js → form-1k13yOes.js} +69 -69
- package/dist/component/form-element-classes-BuM-vthE.js +141 -0
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-D4UYcmok.js → header-field-rac-BeFf5qfw.js} +3 -3
- package/dist/component/{header-rac-KavPiBdn.js → header-rac-Cqvmjc8G.js} +1 -1
- package/dist/component/{image-choice-rac-BJQqBhBD.js → image-choice-rac-DU1Tf2-T.js} +9 -9
- package/dist/component/{index-Y8iTxLat.js → index-B0SdXZJm.js} +4 -4
- package/dist/component/{index-RSEYrQef.js → index-DhL-iYwY.js} +2 -2
- package/dist/component/{isObjectLike-jwHec4Ap.js → isObjectLike-DOWF1bjK.js} +1 -1
- package/dist/component/{multiline-address-field-rac-D4Ibno80.js → multiline-address-field-rac-CBhxL2MB.js} +38 -38
- package/dist/component/{multiline-address-rac-CrTSjzBN.js → multiline-address-rac-BgZnu3UR.js} +1 -1
- package/dist/component/{number-input-field-rac-DW1SjB-Z.js → number-input-field-rac-Cq0KLrSv.js} +8 -8
- package/dist/component/{number-input-rac-CdE_hRbA.js → number-input-rac-ovbP_aP5.js} +1 -1
- package/dist/component/{password-rac-BCxl5mMQ.js → password-rac-DLKw8FXz.js} +11 -11
- package/dist/component/{payment-input-rac-DmO4s4ue.js → payment-input-rac-EHufj8Y0.js} +11 -11
- package/dist/component/{phone-input-field-rac-BYAnwk5h.js → phone-input-field-rac-D1KzskYy.js} +27 -27
- package/dist/component/{phone-rac-gS4k9Yn8.js → phone-rac-D71sfMS7.js} +1 -1
- package/dist/component/{product-list-rac-CO0o3yOg.js → product-list-rac-BGrTM8kv.js} +23 -22
- package/dist/component/quiz-radio-group-rac-BU2GBlqo.js +13 -0
- package/dist/component/radio-button-module-classes-BqNsWvgU.js +132 -0
- package/dist/component/radio-group-field-rac-BSY-fyxl.js +47 -0
- package/dist/component/{radio-group-rac-B-9q91fJ.js → radio-group-rac-geRsORyh.js} +1 -1
- package/dist/component/rating-input-field-rac-D6gRUiSX.js +136 -0
- package/dist/component/{rating-input-rac-BVO62LmE.js → rating-input-rac-BMtu7e5q.js} +1 -1
- package/dist/component/{rich-content-rac.module-CdiaAjxG.js → rich-content-rac.module-CFMzPWHV.js} +1 -1
- package/dist/component/{rich-text-field-rac-C4RrbyEX.js → rich-text-field-rac-D0Klsdj7.js} +3 -3
- package/dist/component/{rich-text-rac-BG376ww9.js → rich-text-rac-o7idQY51.js} +1 -1
- package/dist/component/selection-indicator-XQ8MYHUQ.js +11 -0
- package/dist/component/{service-dropdown-rac-Dy6-OpVR.js → service-dropdown-rac-BXq358Pw.js} +12 -12
- package/dist/component/{services-multi-choice-rac-BKW9MP_b.js → services-multi-choice-rac-DVRk7Ayt.js} +13 -13
- package/dist/component/{signature-rac-Cxgixp4o.js → signature-rac-CblU7c_6.js} +36 -36
- package/dist/component/{submit-button-rac-BqPJ7WPI.js → submit-button-rac-DYz_oLbv.js} +2 -2
- package/dist/component/{tags-field-rac-wwqpztG7.js → tags-field-rac-D068ijAD.js} +16 -16
- package/dist/component/{tags-rac-DUxITYxU.js → tags-rac-yRjGACmm.js} +1 -1
- package/dist/component/{text-area-field-rac-Cen6O33S.js → text-area-field-rac-C4ytlqwT.js} +14 -14
- package/dist/component/{text-area-rac-CRlO56GA.js → text-area-rac-DkCdp41z.js} +1 -1
- package/dist/component/{text-input-field-rac-CbnKn03g.js → text-input-field-rac-TSY90sCu.js} +3 -3
- package/dist/component/{text-input-headless-C_NTJmLe.js → text-input-headless-D3b0XErK.js} +3 -3
- package/dist/component/{text-input-rac-DvwV7Igm.js → text-input-rac-CKiScYKV.js} +1 -1
- package/dist/component/{time-input-rac-TSEXiODs.js → time-input-rac-Cjs21F9f.js} +8 -8
- package/dist/component/{url-input-field-rac-Cxgh9T8s.js → url-input-field-rac-Bf5NoN4o.js} +15 -15
- package/dist/component/{url-input-rac-DNw-Jg1U.js → url-input-rac-DqgvJboS.js} +1 -1
- package/dist/component/{use-element-state-class-name-CC65g9mT.js → use-element-state-class-name-DkaI8J4Y.js} +1 -1
- package/dist/component/{use-service-options-base-EFrxTpGm.js → use-service-options-base-cL2N21mJ.js} +1 -1
- package/package.json +2 -2
- package/dist/component/checkbox-indicator-module-classes-BcScu147.js +0 -17
- package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +0 -13
- package/dist/component/events-rsvp-rac-008H5Ska.js +0 -38
- package/dist/component/field-rac.module-DjmaTYkc.js +0 -23
- package/dist/component/form-element-classes-BXNs5k3q.js +0 -119
- package/dist/component/quiz-radio-group-rac-Dhk7nkzb.js +0 -13
- package/dist/component/radio-group-field-rac-DdlyQ3m6.js +0 -40
- package/dist/component/radio-group-field-rac.module-emin6sSc.js +0 -124
- package/dist/component/rating-input-field-rac-VDaJKq-n.js +0 -126
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { D as o } from "./dropdown-field-headless-
|
|
4
|
+
import { D as o } from "./dropdown-field-headless-NMc4cFx2.js";
|
|
5
5
|
import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
6
|
import { E as l } from "./error-icon-hZxQ6DEy.js";
|
|
7
7
|
import { H as c } from "./custom-focus-class-_483Pkwp.js";
|
|
8
|
-
import { s as r } from "./field-rac.module-
|
|
9
|
-
import { z as i,
|
|
8
|
+
import { s as r } from "./field-rac.module-ColNPUt0.js";
|
|
9
|
+
import { z as i, P as E, y as p, B as _, p as S, i as R } from "./form-element-classes-BuM-vthE.js";
|
|
10
10
|
const D = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
|
|
11
11
|
content: a,
|
|
12
12
|
locale: s
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o, { useMemo as a } from "react";
|
|
2
|
-
import { ai as n, as as c, h as i } from "./form-
|
|
3
|
-
import { C } from "./checkbox-field-rac-
|
|
4
|
-
import { n as l, o as m, m as p } from "./form-element-classes-
|
|
2
|
+
import { ai as n, as as c, h as i } from "./form-1k13yOes.js";
|
|
3
|
+
import { C } from "./checkbox-field-rac-DNvhTChN.js";
|
|
4
|
+
import { n as l, o as m, m as p } from "./form-element-classes-BuM-vthE.js";
|
|
5
5
|
const _ = (e) => ({
|
|
6
6
|
nodes: [
|
|
7
7
|
{
|
package/dist/component/{email-input-field-rac-BQKK2O7L.js → email-input-field-rac-DCKR6Yco.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RicosViewer as ie } from "@wix/ricos/viewer";
|
|
2
2
|
import x from "classnames";
|
|
3
|
-
import u, { createContext as
|
|
3
|
+
import u, { createContext as Q, useContext as Z, createElement as H, isValidElement as U, cloneElement as R, useState as le, useCallback as me, useEffect as ue } from "react";
|
|
4
4
|
import { TextField as pe } from "react-aria-components";
|
|
5
|
-
import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-
|
|
5
|
+
import { af as fe, as as ge, ad as ve, c as ye, ai as Ee, am as de, ag as be, f as Se } from "./form-1k13yOes.js";
|
|
6
6
|
import { f as L } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import ee from "@babel/runtime/helpers/objectWithoutProperties";
|
|
8
|
-
import
|
|
8
|
+
import P from "@babel/runtime/helpers/typeof";
|
|
9
9
|
import Oe from "@babel/runtime/helpers/defineProperty";
|
|
10
10
|
import he from "html-parse-stringify";
|
|
11
11
|
import Ie from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import Ne from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as B } from "./text-input-headless-
|
|
13
|
+
import { T as B } from "./text-input-headless-D3b0XErK.js";
|
|
14
14
|
import { E as Ae } from "./error-icon-hZxQ6DEy.js";
|
|
15
|
-
import { s as C } from "./field-rac.module-
|
|
16
|
-
import { z as Fe,
|
|
15
|
+
import { s as C } from "./field-rac.module-ColNPUt0.js";
|
|
16
|
+
import { z as Fe, P as ke, y as Te, p as De, i as xe, _ as je } from "./form-element-classes-BuM-vthE.js";
|
|
17
17
|
var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ce = {
|
|
18
18
|
"&": "&",
|
|
19
19
|
"&": "&",
|
|
@@ -35,11 +35,11 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
35
35
|
"…": "…",
|
|
36
36
|
"/": "/",
|
|
37
37
|
"/": "/"
|
|
38
|
-
}, Me = function(t) {
|
|
39
|
-
return Ce[t];
|
|
40
38
|
}, Pe = function(t) {
|
|
41
|
-
return t
|
|
42
|
-
}, _e = {
|
|
39
|
+
return Ce[t];
|
|
40
|
+
}, _e = function(t) {
|
|
41
|
+
return t.replace(Le, Pe);
|
|
42
|
+
}, Me = {
|
|
43
43
|
bindI18n: "languageChanged",
|
|
44
44
|
bindI18nStore: "",
|
|
45
45
|
transEmptyNodeValue: "",
|
|
@@ -47,10 +47,10 @@ var Le = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
47
47
|
transWrapTextNodes: "",
|
|
48
48
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
49
49
|
useSuspense: !0,
|
|
50
|
-
unescape:
|
|
51
|
-
}, we, Re =
|
|
50
|
+
unescape: _e
|
|
51
|
+
}, we, Re = Q();
|
|
52
52
|
function He() {
|
|
53
|
-
return
|
|
53
|
+
return Me;
|
|
54
54
|
}
|
|
55
55
|
(function() {
|
|
56
56
|
function e() {
|
|
@@ -81,14 +81,14 @@ function K() {
|
|
|
81
81
|
typeof a[0] == "string" && (a[0] = "react-i18next:: ".concat(a[0])), (e = console).warn.apply(e, a);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var z = {};
|
|
85
85
|
function Ue() {
|
|
86
86
|
for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
|
|
87
87
|
t[a] = arguments[a];
|
|
88
|
-
typeof t[0] == "string" &&
|
|
88
|
+
typeof t[0] == "string" && z[t[0]] || (typeof t[0] == "string" && (z[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
|
|
89
89
|
}
|
|
90
90
|
var Be = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
91
|
-
function
|
|
91
|
+
function J(e, t) {
|
|
92
92
|
var a = Object.keys(e);
|
|
93
93
|
if (Object.getOwnPropertySymbols) {
|
|
94
94
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -101,9 +101,9 @@ function z(e, t) {
|
|
|
101
101
|
function p(e) {
|
|
102
102
|
for (var t = 1; t < arguments.length; t++) {
|
|
103
103
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
104
|
-
t % 2 ?
|
|
104
|
+
t % 2 ? J(Object(a), !0).forEach(function(o) {
|
|
105
105
|
Oe(e, o, a[o]);
|
|
106
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) :
|
|
106
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : J(Object(a)).forEach(function(o) {
|
|
107
107
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(a, o));
|
|
108
108
|
});
|
|
109
109
|
}
|
|
@@ -114,7 +114,7 @@ function Y(e, t) {
|
|
|
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 G(e) {
|
|
118
118
|
return e ? e.props ? e.props.children : e.children : [];
|
|
119
119
|
}
|
|
120
120
|
function qe(e) {
|
|
@@ -122,7 +122,7 @@ function qe(e) {
|
|
|
122
122
|
return U(t);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function _(e) {
|
|
126
126
|
return Array.isArray(e) ? e : [e];
|
|
127
127
|
}
|
|
128
128
|
function Ye(e, t) {
|
|
@@ -131,7 +131,7 @@ function Ye(e, t) {
|
|
|
131
131
|
}
|
|
132
132
|
function te(e, t) {
|
|
133
133
|
if (!e) return "";
|
|
134
|
-
var a = "", o =
|
|
134
|
+
var a = "", o = _(e), c = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
|
|
135
135
|
return o.forEach(function(r, g) {
|
|
136
136
|
if (typeof r == "string")
|
|
137
137
|
a += "".concat(r);
|
|
@@ -151,7 +151,7 @@ function te(e, t) {
|
|
|
151
151
|
}
|
|
152
152
|
} else if (r === null)
|
|
153
153
|
K("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
154
|
-
else if (
|
|
154
|
+
else if (P(r) === "object") {
|
|
155
155
|
var O = r.format, F = ee(r, Be), A = Object.keys(F);
|
|
156
156
|
if (A.length === 1) {
|
|
157
157
|
var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
|
|
@@ -162,21 +162,21 @@ function te(e, t) {
|
|
|
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 Ge(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];
|
|
169
169
|
var d = {};
|
|
170
170
|
function b(y) {
|
|
171
|
-
var h =
|
|
171
|
+
var h = _(y);
|
|
172
172
|
h.forEach(function(s) {
|
|
173
|
-
typeof s != "string" && (Y(s) ? b(
|
|
173
|
+
typeof s != "string" && (Y(s) ? b(G(s)) : P(s) === "object" && !U(s) && Object.assign(d, s));
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
b(e);
|
|
177
177
|
var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
|
|
178
178
|
function F(y, h, s) {
|
|
179
|
-
var i =
|
|
179
|
+
var i = G(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) {
|
|
@@ -185,7 +185,7 @@ function $e(e, t, a, o, c, r) {
|
|
|
185
185
|
}), I ? void 0 : h));
|
|
186
186
|
}
|
|
187
187
|
function S(y, h, s) {
|
|
188
|
-
var i =
|
|
188
|
+
var i = _(y), I = _(h);
|
|
189
189
|
return I.reduce(function(l, n, E) {
|
|
190
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") {
|
|
@@ -193,14 +193,14 @@ function $e(e, t, a, o, c, r) {
|
|
|
193
193
|
!N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
|
|
194
194
|
var m = Object.keys(n.attrs).length !== 0 ? Ye({
|
|
195
195
|
props: n.attrs
|
|
196
|
-
}, N) : N, D = U(m), V = D && Y(n, !0) && !n.voidElement,
|
|
196
|
+
}, N) : N, D = U(m), V = D && Y(n, !0) && !n.voidElement, M = v && P(m) === "object" && m.dummy && !D, w = P(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
|
|
197
197
|
if (typeof m == "string") {
|
|
198
198
|
var q = a.services.interpolator.interpolate(m, O, a.language);
|
|
199
199
|
l.push(q);
|
|
200
200
|
} else if (Y(m) || V) {
|
|
201
201
|
var ne = F(m, n, s);
|
|
202
202
|
A(m, ne, l, E);
|
|
203
|
-
} else if (
|
|
203
|
+
} else if (M) {
|
|
204
204
|
var oe = S(i, n.children, s);
|
|
205
205
|
l.push(R(m, p(p({}, m.props), {}, {
|
|
206
206
|
key: E
|
|
@@ -226,19 +226,19 @@ function $e(e, t, a, o, c, r) {
|
|
|
226
226
|
var ce = S(i, n.children, s);
|
|
227
227
|
l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
|
|
228
228
|
}
|
|
229
|
-
else if (
|
|
230
|
-
var
|
|
231
|
-
|
|
229
|
+
else if (P(m) === "object" && !D) {
|
|
230
|
+
var $ = n.children[0] ? k : null;
|
|
231
|
+
$ && l.push($);
|
|
232
232
|
} else n.children.length === 1 && k ? l.push(R(m, p(p({}, m.props), {}, {
|
|
233
233
|
key: E
|
|
234
234
|
}), k)) : l.push(R(m, p(p({}, m.props), {}, {
|
|
235
235
|
key: E
|
|
236
236
|
})));
|
|
237
237
|
} else if (n.type === "text") {
|
|
238
|
-
var W = o.transWrapTextNodes,
|
|
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(H(W, {
|
|
240
240
|
key: "".concat(n.name, "-").concat(E)
|
|
241
|
-
},
|
|
241
|
+
}, X)) : l.push(X);
|
|
242
242
|
}
|
|
243
243
|
return l;
|
|
244
244
|
}, []);
|
|
@@ -246,10 +246,10 @@ function $e(e, t, a, o, c, r) {
|
|
|
246
246
|
var j = S([{
|
|
247
247
|
dummy: !0,
|
|
248
248
|
children: e || []
|
|
249
|
-
}], T,
|
|
250
|
-
return
|
|
249
|
+
}], T, _(e || []));
|
|
250
|
+
return G(j[0]);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function $e(e) {
|
|
253
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, j = ee(e, Ve), y = Z(Re) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
|
|
254
254
|
if (!i)
|
|
255
255
|
return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
@@ -269,29 +269,29 @@ function Ge(e) {
|
|
|
269
269
|
}, d), m), {}, {
|
|
270
270
|
defaultValue: E,
|
|
271
271
|
ns: n
|
|
272
|
-
}), V = N ? I(N, D) : E,
|
|
273
|
-
return w ? H(w, j,
|
|
272
|
+
}), V = N ? I(N, D) : E, M = Ge(T || t, V, i, l, D, S), w = o !== void 0 ? o : l.defaultTransParent;
|
|
273
|
+
return w ? H(w, j, M) : M;
|
|
274
274
|
}
|
|
275
|
-
const We = "email-mistype-suggestion",
|
|
276
|
-
function
|
|
275
|
+
const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Q(void 0);
|
|
276
|
+
function ze() {
|
|
277
277
|
const e = Z(ae);
|
|
278
278
|
if (e === void 0)
|
|
279
279
|
throw new Error("useEmailSuggestion must be used inside <EmailInput>");
|
|
280
280
|
return e;
|
|
281
281
|
}
|
|
282
|
-
const
|
|
282
|
+
const Je = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__PURE__ */ u.createElement(ae.Provider, {
|
|
283
283
|
value: {
|
|
284
284
|
activeSuggestion: e,
|
|
285
285
|
applySuggestion: t
|
|
286
286
|
}
|
|
287
|
-
}, a),
|
|
288
|
-
const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } =
|
|
287
|
+
}, a), Qe = ({ className: e }) => {
|
|
288
|
+
const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = ze(), { t: c, i18n: r } = ge();
|
|
289
289
|
return /* @__PURE__ */ u.createElement("div", {
|
|
290
290
|
id: t,
|
|
291
291
|
"data-hook": We,
|
|
292
292
|
"aria-live": "polite",
|
|
293
293
|
className: e
|
|
294
|
-
}, a ? /* @__PURE__ */ u.createElement(
|
|
294
|
+
}, a ? /* @__PURE__ */ u.createElement($e, {
|
|
295
295
|
i18n: r,
|
|
296
296
|
t: c,
|
|
297
297
|
i18nKey: "input.email.mistype-check.suggestion",
|
|
@@ -302,7 +302,7 @@ const ze = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
302
302
|
/* @__PURE__ */ u.createElement("button", {
|
|
303
303
|
key: "0",
|
|
304
304
|
type: "button",
|
|
305
|
-
"data-hook":
|
|
305
|
+
"data-hook": Xe,
|
|
306
306
|
"aria-label": c("input.email.mistype-check.fix-aria-label", {
|
|
307
307
|
email: a
|
|
308
308
|
}),
|
|
@@ -459,7 +459,7 @@ const ze = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
|
|
|
459
459
|
}, n = L(e, f.Label), E = L(e, f.Input), k = L(e, f.Description), N = L(e, f.Error), m = L(e, f.Suggestion);
|
|
460
460
|
return /* @__PURE__ */ u.createElement(Se.Provider, {
|
|
461
461
|
value: i
|
|
462
|
-
}, /* @__PURE__ */ u.createElement(
|
|
462
|
+
}, /* @__PURE__ */ u.createElement(Je, {
|
|
463
463
|
activeSuggestion: s,
|
|
464
464
|
applySuggestion: I
|
|
465
465
|
}, /* @__PURE__ */ u.createElement(F, {
|
|
@@ -483,7 +483,7 @@ f.Label = B.Label;
|
|
|
483
483
|
f.Input = B.Input;
|
|
484
484
|
f.Description = B.Description;
|
|
485
485
|
f.Error = B.Error;
|
|
486
|
-
f.Suggestion =
|
|
486
|
+
f.Suggestion = Qe;
|
|
487
487
|
const nt = "_suggestion_di65n_1", ot = {
|
|
488
488
|
suggestion: nt
|
|
489
489
|
}, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import e, { useState as q, useMemo as v, useCallback as V, useRef as
|
|
1
|
+
import e, { useState as q, useMemo as v, useCallback as V, useRef as w } from "react";
|
|
2
2
|
import T from "classnames";
|
|
3
|
-
import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as
|
|
4
|
-
import { ao as U, ap as P, ae as H, aj as K, u as Y, ai as D, af as X, ak as j, j as Z } from "./form-
|
|
3
|
+
import { NumberField as z, Input as J, CheckboxField as Q, CheckboxButton as W, Button as x } from "react-aria-components";
|
|
4
|
+
import { ao as U, ap as P, ae as H, aj as K, u as Y, ai as D, af as X, ak as j, j as Z } from "./form-1k13yOes.js";
|
|
5
5
|
import { f as b, a as L } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
6
|
+
import { L as ee } from "./field-label-headless-C1VDQVhB.js";
|
|
7
|
+
import { S as te } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
|
+
import { u as se } from "./use-invoke-callback-UH73A_J3.js";
|
|
9
|
+
import { C as k } from "./chevron-down-icon-CcpVm6B-.js";
|
|
10
|
+
import { C as ne } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
|
|
11
|
+
import { s as B } from "./field-rac.module-ColNPUt0.js";
|
|
12
|
+
import { z as oe, y as re, q as ae, s as le, r as ce } from "./form-element-classes-BuM-vthE.js";
|
|
13
|
+
import { u as ue } from "./use-element-state-class-name-DkaI8J4Y.js";
|
|
13
14
|
const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, errors: m = me, validation: c }) => {
|
|
14
15
|
const [i, E] = q((r == null ? void 0 : r.length) || 0), a = v(() => r ?? [], [
|
|
15
16
|
r
|
|
16
|
-
]), C = U(),
|
|
17
|
+
]), C = U(), g = P(), d = H(), { validateFields: u } = K(), F = c.predefined.objectArrayOptions.maxItems, _ = v(() => Y({
|
|
17
18
|
form: {
|
|
18
19
|
fields: n,
|
|
19
20
|
steps: [
|
|
@@ -29,29 +30,29 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
29
30
|
l,
|
|
30
31
|
t
|
|
31
32
|
]), G = v(() => m.reduce((p, I) => {
|
|
32
|
-
const [
|
|
33
|
-
return p[
|
|
33
|
+
const [A, N] = I.errorPath.split("/"), h = parseInt(A, 10);
|
|
34
|
+
return p[h] || (p[h] = []), p[h].push({
|
|
34
35
|
...I,
|
|
35
36
|
errorPath: N
|
|
36
37
|
}), p;
|
|
37
38
|
}, []), [
|
|
38
39
|
m
|
|
39
|
-
]),
|
|
40
|
+
]), f = V((p) => {
|
|
40
41
|
const I = Number.isNaN(p) ? 0 : Math.min(Math.max(p, 0), F);
|
|
41
42
|
E(I), s == null || s(Array.from({
|
|
42
43
|
length: I
|
|
43
|
-
}, (
|
|
44
|
+
}, (A, N) => a[N] ?? {}));
|
|
44
45
|
}, [
|
|
45
46
|
F,
|
|
46
47
|
a,
|
|
47
48
|
s
|
|
48
|
-
]),
|
|
49
|
+
]), S = V((p) => (I, A) => {
|
|
49
50
|
const N = Array.from({
|
|
50
51
|
length: i
|
|
51
|
-
}, (
|
|
52
|
+
}, (h, $) => a[$] ?? {});
|
|
52
53
|
N[p] = {
|
|
53
54
|
...N[p],
|
|
54
|
-
[I]:
|
|
55
|
+
[I]: A
|
|
55
56
|
}, s == null || s(N);
|
|
56
57
|
}, [
|
|
57
58
|
i,
|
|
@@ -65,14 +66,14 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
65
66
|
errorsByIndex: G,
|
|
66
67
|
formView: _,
|
|
67
68
|
formSchema: C,
|
|
68
|
-
formFields:
|
|
69
|
+
formFields: g,
|
|
69
70
|
fieldActions: d,
|
|
70
71
|
validateFields: u,
|
|
71
|
-
changeGuestCount:
|
|
72
|
-
changeGuestField:
|
|
72
|
+
changeGuestCount: f,
|
|
73
|
+
changeGuestField: S
|
|
73
74
|
};
|
|
74
75
|
}, de = [], pe = {}, o = ({ children: t, className: n }) => {
|
|
75
|
-
const l = D(), { id: r, FieldLayout: s } = l, { guestLimit: m, guestCount: c, guests: i, errorsByIndex: E, formView: a, changeGuestCount: C, changeGuestField:
|
|
76
|
+
const l = D(), { id: r, FieldLayout: s } = l, { guestLimit: m, guestCount: c, guests: i, errorsByIndex: E, formView: a, changeGuestCount: C, changeGuestField: g } = ie(l), d = b(t, o.Label), u = b(t, o.GuestCount), F = b(t, o.GuestToggle), _ = b(t, o.Guests), G = m > 1;
|
|
76
77
|
return /* @__PURE__ */ e.createElement(s, {
|
|
77
78
|
fieldId: r,
|
|
78
79
|
renderLabel: () => G ? d : null,
|
|
@@ -90,19 +91,19 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
90
91
|
guests: i,
|
|
91
92
|
errorsByIndex: E,
|
|
92
93
|
formView: a,
|
|
93
|
-
onGuestFieldChange:
|
|
94
|
+
onGuestFieldChange: g
|
|
94
95
|
})),
|
|
95
96
|
renderDescription: () => null
|
|
96
97
|
});
|
|
97
98
|
}, Ee = ({ className: t }) => /* @__PURE__ */ e.createElement(ee, {
|
|
98
99
|
className: t
|
|
99
|
-
}, null),
|
|
100
|
-
const { guestLimit: s, guestCount: m, onGuestCountChange: c } = r, { id: i, label: E, disabled: a, readOnly: C, onBlur:
|
|
100
|
+
}, null), O = ({ children: t, className: n, groupClassName: l, ...r }) => {
|
|
101
|
+
const { guestLimit: s, guestCount: m, onGuestCountChange: c } = r, { id: i, label: E, disabled: a, readOnly: C, onBlur: g, onFocus: d } = D(), { inputId: u, ariaDescribedBy: F } = X(), _ = se(g), G = w(null);
|
|
101
102
|
j(() => {
|
|
102
103
|
var p;
|
|
103
104
|
(p = G.current) == null || p.focus();
|
|
104
105
|
}, i);
|
|
105
|
-
const
|
|
106
|
+
const f = b(t, O.Decrement), S = b(t, O.Increment);
|
|
106
107
|
return /* @__PURE__ */ e.createElement(z, {
|
|
107
108
|
className: l,
|
|
108
109
|
"aria-label": E,
|
|
@@ -121,27 +122,27 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
121
122
|
"aria-describedby": F,
|
|
122
123
|
className: n,
|
|
123
124
|
inputMode: "numeric"
|
|
124
|
-
}),
|
|
125
|
-
}, Ce = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(
|
|
125
|
+
}), S, f);
|
|
126
|
+
}, Ce = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(x, {
|
|
126
127
|
slot: "decrement",
|
|
127
128
|
className: n
|
|
128
|
-
}, t),
|
|
129
|
+
}, t), fe = ({ children: t, className: n }) => /* @__PURE__ */ e.createElement(x, {
|
|
129
130
|
slot: "increment",
|
|
130
131
|
className: n
|
|
131
|
-
}, t),
|
|
132
|
-
const { guestCount: r, onGuestCountChange: s } = l, { id: m, label: c, disabled: i, readOnly: E, onBlur: a, onFocus: C } = D(), { inputId:
|
|
132
|
+
}, t), R = ({ children: t, className: n, ...l }) => {
|
|
133
|
+
const { guestCount: r, onGuestCountChange: s } = l, { id: m, label: c, disabled: i, readOnly: E, onBlur: a, onFocus: C } = D(), { inputId: g, ariaDescribedBy: d } = X(), u = w(null);
|
|
133
134
|
j(() => {
|
|
134
|
-
var
|
|
135
|
-
(
|
|
135
|
+
var f;
|
|
136
|
+
(f = u.current) == null || f.focus();
|
|
136
137
|
}, m);
|
|
137
|
-
const F = b(t,
|
|
138
|
-
s(
|
|
138
|
+
const F = b(t, R.Input), _ = b(t, R.Label), G = V((f) => {
|
|
139
|
+
s(f ? 1 : 0);
|
|
139
140
|
}, [
|
|
140
141
|
s
|
|
141
142
|
]);
|
|
142
143
|
return /* @__PURE__ */ e.createElement(Q, {
|
|
143
144
|
inputRef: u,
|
|
144
|
-
id:
|
|
145
|
+
id: g,
|
|
145
146
|
"aria-describedby": d,
|
|
146
147
|
isSelected: r > 0,
|
|
147
148
|
onChange: G,
|
|
@@ -151,18 +152,18 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
151
152
|
onFocus: C
|
|
152
153
|
}, /* @__PURE__ */ e.createElement(W, {
|
|
153
154
|
className: n
|
|
154
|
-
}, ({ isSelected:
|
|
155
|
-
isSelected:
|
|
156
|
-
isHovered:
|
|
155
|
+
}, ({ isSelected: f, isHovered: S }) => /* @__PURE__ */ e.createElement(e.Fragment, null, L(F, {
|
|
156
|
+
isSelected: f,
|
|
157
|
+
isHovered: S
|
|
157
158
|
}), L(_, {
|
|
158
159
|
label: c
|
|
159
160
|
}))));
|
|
160
|
-
},
|
|
161
|
+
}, ge = ({ className: t, ...n }) => {
|
|
161
162
|
const { label: l } = n;
|
|
162
163
|
return /* @__PURE__ */ e.createElement("span", {
|
|
163
164
|
className: t
|
|
164
165
|
}, l);
|
|
165
|
-
},
|
|
166
|
+
}, M = ({ children: t, className: n, ...l }) => {
|
|
166
167
|
const { guestCount: r, guests: s, errorsByIndex: m, formView: c, onGuestFieldChange: i } = l, { disabled: E, readOnly: a } = D(), C = v(() => ({
|
|
167
168
|
...c,
|
|
168
169
|
fields: c.fields.map((d) => ({
|
|
@@ -177,12 +178,12 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
177
178
|
c,
|
|
178
179
|
E,
|
|
179
180
|
a
|
|
180
|
-
]),
|
|
181
|
+
]), g = b(t, M.Guest);
|
|
181
182
|
return r ? /* @__PURE__ */ e.createElement("div", {
|
|
182
183
|
className: n
|
|
183
184
|
}, Array.from({
|
|
184
185
|
length: r
|
|
185
|
-
}, (d, u) => L(
|
|
186
|
+
}, (d, u) => L(g, {
|
|
186
187
|
key: u,
|
|
187
188
|
index: u,
|
|
188
189
|
formView: C,
|
|
@@ -206,16 +207,16 @@ const me = [], ie = ({ id: t, fields: n, layout: l, value: r, onChange: s, error
|
|
|
206
207
|
fieldActions: a
|
|
207
208
|
}));
|
|
208
209
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
O.Decrement = Ce;
|
|
211
|
+
O.Increment = fe;
|
|
212
|
+
R.Input = te;
|
|
213
|
+
R.Label = ge;
|
|
214
|
+
M.Guest = Fe;
|
|
214
215
|
o.Label = Ee;
|
|
215
|
-
o.GuestCount =
|
|
216
|
-
o.GuestToggle =
|
|
217
|
-
o.Guests =
|
|
218
|
-
const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11veo_28", Ie = "_decrement_11veo_29",
|
|
216
|
+
o.GuestCount = O;
|
|
217
|
+
o.GuestToggle = R;
|
|
218
|
+
o.Guests = M;
|
|
219
|
+
const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11veo_28", Ie = "_decrement_11veo_29", y = {
|
|
219
220
|
container: Ge,
|
|
220
221
|
countGroup: be,
|
|
221
222
|
increment: _e,
|
|
@@ -223,31 +224,31 @@ const Ge = "_container_11veo_1", be = "_countGroup_11veo_8", _e = "_increment_11
|
|
|
223
224
|
}, Ne = () => {
|
|
224
225
|
const t = ue({
|
|
225
226
|
globalClasses: ce,
|
|
226
|
-
moduleClasses:
|
|
227
|
+
moduleClasses: ne
|
|
227
228
|
});
|
|
228
229
|
return /* @__PURE__ */ e.createElement(o, {
|
|
229
|
-
className:
|
|
230
|
+
className: y.container
|
|
230
231
|
}, /* @__PURE__ */ e.createElement(o.Label, {
|
|
231
232
|
className: T(oe, B.label)
|
|
232
233
|
}), /* @__PURE__ */ e.createElement(o.GuestCount, {
|
|
233
234
|
className: B.innerInput,
|
|
234
|
-
groupClassName: T(re, B.input,
|
|
235
|
+
groupClassName: T(re, B.input, y.countGroup)
|
|
235
236
|
}, /* @__PURE__ */ e.createElement(o.GuestCount.Increment, {
|
|
236
|
-
className:
|
|
237
|
-
}, /* @__PURE__ */ e.createElement(
|
|
237
|
+
className: y.increment
|
|
238
|
+
}, /* @__PURE__ */ e.createElement(k, {
|
|
238
239
|
style: {
|
|
239
240
|
transform: "rotate(180deg)"
|
|
240
241
|
}
|
|
241
242
|
})), /* @__PURE__ */ e.createElement(o.GuestCount.Decrement, {
|
|
242
|
-
className:
|
|
243
|
-
}, /* @__PURE__ */ e.createElement(
|
|
243
|
+
className: y.decrement
|
|
244
|
+
}, /* @__PURE__ */ e.createElement(k, null))), /* @__PURE__ */ e.createElement(o.GuestToggle, {
|
|
244
245
|
className: T(ae, B.checkbox)
|
|
245
246
|
}, /* @__PURE__ */ e.createElement(o.GuestToggle.Input, {
|
|
246
247
|
className: t
|
|
247
248
|
}), /* @__PURE__ */ e.createElement(o.GuestToggle.Label, {
|
|
248
249
|
className: le
|
|
249
250
|
})), /* @__PURE__ */ e.createElement(o.Guests, {
|
|
250
|
-
className:
|
|
251
|
+
className: y.container
|
|
251
252
|
}, /* @__PURE__ */ e.createElement(o.Guests.Guest, null)));
|
|
252
253
|
}, ke = () => /* @__PURE__ */ e.createElement(Ne, null);
|
|
253
254
|
export {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
3
|
+
import s from "classnames";
|
|
4
|
+
import { a, s as o, R as c } from "./radio-button-module-classes-BqNsWvgU.js";
|
|
5
|
+
import { E } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
+
import { s as l } from "./field-rac.module-ColNPUt0.js";
|
|
7
|
+
import { z as i, P as p, Q as R, R as _, p as O, i as L, S } from "./form-element-classes-BuM-vthE.js";
|
|
8
|
+
import { u } from "./use-element-state-class-name-DkaI8J4Y.js";
|
|
9
|
+
const e = ({ children: r }) => /* @__PURE__ */ t.createElement(a, null, r);
|
|
10
|
+
e.Label = a.Label;
|
|
11
|
+
e.Options = a.Options;
|
|
12
|
+
e.Option = a.Option;
|
|
13
|
+
e.Description = a.Description;
|
|
14
|
+
e.Error = a.Error;
|
|
15
|
+
const D = ({ content: r, locale: n }) => /* @__PURE__ */ t.createElement(m, {
|
|
16
|
+
content: r,
|
|
17
|
+
locale: n
|
|
18
|
+
}), I = () => {
|
|
19
|
+
const r = u({
|
|
20
|
+
globalClasses: S,
|
|
21
|
+
moduleClasses: c
|
|
22
|
+
});
|
|
23
|
+
return /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
|
|
24
|
+
className: s(i, l.label)
|
|
25
|
+
}, /* @__PURE__ */ t.createElement(e.Label.Required, {
|
|
26
|
+
className: s(p, l.requiredMark)
|
|
27
|
+
})), /* @__PURE__ */ t.createElement(e.Options, {
|
|
28
|
+
className: s(R, o.options)
|
|
29
|
+
}, /* @__PURE__ */ t.createElement(e.Option, {
|
|
30
|
+
className: o.option
|
|
31
|
+
}, /* @__PURE__ */ t.createElement(e.Option.Input, {
|
|
32
|
+
className: o.optionInput
|
|
33
|
+
}), /* @__PURE__ */ t.createElement(e.Option.Control, {
|
|
34
|
+
className: r
|
|
35
|
+
}), /* @__PURE__ */ t.createElement(e.Option.Label, {
|
|
36
|
+
className: s(_, o.optionLabel)
|
|
37
|
+
}))), /* @__PURE__ */ t.createElement(e.Error, {
|
|
38
|
+
className: s(O, l.error)
|
|
39
|
+
}, /* @__PURE__ */ t.createElement(E, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
|
|
40
|
+
className: s(L, l.description)
|
|
41
|
+
}, D));
|
|
42
|
+
}, T = () => /* @__PURE__ */ t.createElement(I, null);
|
|
43
|
+
export {
|
|
44
|
+
T as EventsRsvpRAC
|
|
45
|
+
};
|
package/dist/component/{field-error-headless-C5ZsFUKv.js → field-error-headless-Lb5aaoR3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t, { createContext as m, useContext as M } from "react";
|
|
2
|
-
import { ai as c, af as i, ab as f, T as x, U as h } from "./form-
|
|
2
|
+
import { ai as c, af as i, ab as f, T as x, U as h } from "./form-1k13yOes.js";
|
|
3
3
|
const b = ({ className: r, children: e }) => {
|
|
4
4
|
const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
|
|
5
5
|
return s ? /* @__PURE__ */ t.createElement("div", {
|
package/dist/component/{field-label-headless-CS5OYsiI.js → field-label-headless-C1VDQVhB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as m, R as d, q as p, af as D, as as B } from "./form-
|
|
1
|
+
import { ai as m, R as d, q as p, af as D, as as B } from "./form-1k13yOes.js";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { f as L } from "./find-child-C60k4CxG.js";
|
|
4
4
|
import { sdk as R } from "@wix/image-kit";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "_label_yhtg3_1", t = "_requiredMark_yhtg3_11", e = "_input_yhtg3_16", n = "_inputGroup_yhtg3_17", c = "_innerInput_yhtg3_129", _ = "_dropdownTrigger_yhtg3_177", r = "_dropdownIcon_yhtg3_187", p = "_dropdownPopover_yhtg3_206", s = "_selectPopover_yhtg3_210", u = "_selectOption_yhtg3_237", h = "_selectOptionWithoutFocusRing_yhtg3_261", i = "_description_yhtg3_267", d = "_error_yhtg3_283", g = "_checkbox_yhtg3_302", l = "_checkboxInput_yhtg3_325", y = "_checkboxInputSelected_yhtg3_364", b = "_checkboxInputHover_yhtg3_368", k = "_uploadButton_yhtg3_415", I = {
|
|
2
|
+
label: o,
|
|
3
|
+
requiredMark: t,
|
|
4
|
+
input: e,
|
|
5
|
+
inputGroup: n,
|
|
6
|
+
innerInput: c,
|
|
7
|
+
dropdownTrigger: _,
|
|
8
|
+
dropdownIcon: r,
|
|
9
|
+
dropdownPopover: p,
|
|
10
|
+
selectPopover: s,
|
|
11
|
+
selectOption: u,
|
|
12
|
+
selectOptionWithoutFocusRing: h,
|
|
13
|
+
description: i,
|
|
14
|
+
error: d,
|
|
15
|
+
checkbox: g,
|
|
16
|
+
checkboxInput: l,
|
|
17
|
+
checkboxInputSelected: y,
|
|
18
|
+
checkboxInputHover: b,
|
|
19
|
+
uploadButton: k
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
I as s
|
|
23
|
+
};
|