@wix/form-elements 1.105.0 → 1.106.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-DaBg4fM3.js → appointment-rac-D2F4vgf1.js} +5 -5
- package/dist/component/{bookings-address-rac-CkCIr0yY.js → bookings-address-rac-_5S8J8_i.js} +1 -1
- package/dist/component/{bookings-email-rac--o2G6bDi.js → bookings-email-rac-6vmDR9nS.js} +1 -1
- package/dist/component/{bookings-first-name-rac-KilnnzGd.js → bookings-first-name-rac-DtTJ4T2K.js} +1 -1
- package/dist/component/{bookings-header-rac-D9PwyQVM.js → bookings-header-rac-B3dsEwzR.js} +1 -1
- package/dist/component/{bookings-last-name-rac-qWHHoFsL.js → bookings-last-name-rac-B3idkbi8.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CA9lwDip.js → bookings-login-bar-rac-CrRBcQwT.js} +4 -4
- package/dist/component/{bookings-phone-rac-CJwbY3yf.js → bookings-phone-rac-BE0yWNnj.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-B-7cedEB.js → bookings-rich-text-rac-CYo1l0-6.js} +1 -1
- package/dist/component/{checkbox-field-rac-D5YjimAI.js → checkbox-field-rac-boTtXVEt.js} +16 -20
- package/dist/component/{checkbox-group-field-headless-BJl8C2Lz.js → checkbox-group-field-headless-DnkUvDm8.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CLDKYOsh.js → checkbox-group-field-rac-DrDTgHMg.js} +11 -11
- package/dist/component/{checkbox-group-rac-DfOsQWr7.js → checkbox-group-rac-v3ozUBpo.js} +1 -1
- package/dist/component/{checkbox-rac-DMDIZxxN.js → checkbox-rac-YSLE-RnG.js} +1 -1
- package/dist/component/{contacts-address-rac-CrpSPX3x.js → contacts-address-rac-C653yaHZ.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-B3vrz3B5.js → contacts-birthdate-rac-BeAQ6shx.js} +1 -1
- package/dist/component/{contacts-company-rac-Nd4-07pv.js → contacts-company-rac-BglKOoTG.js} +1 -1
- package/dist/component/{contacts-email-rac-DlKJXGue.js → contacts-email-rac-D6m7ynfc.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CgfaCG0O.js → contacts-first-name-rac-Dgxn0tUJ.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DmSqTPzC.js → contacts-last-name-rac-1UyIuRKH.js} +1 -1
- package/dist/component/{contacts-phone-rac-C9X_5axq.js → contacts-phone-rac-BQ77BlW4.js} +1 -1
- package/dist/component/{contacts-position-rac-DeJrqxtm.js → contacts-position-rac-BUDUv7lv.js} +1 -1
- package/dist/component/contacts-subscribe-rac-DdtA0qKW.js +6 -0
- package/dist/component/{contacts-tax-id-rac-6pMwtJyC.js → contacts-tax-id-rac-WUaKcNl0.js} +1 -1
- package/dist/component/{date-availability-DfL_xDci.js → date-availability-XjBFq8jt.js} +1 -1
- package/dist/component/{date-input-field-rac-DvlY0Ffu.js → date-input-field-rac-aY2zuuKs.js} +13 -13
- package/dist/component/{date-input-rac-Dr_MtbFO.js → date-input-rac-DRiP2_97.js} +1 -1
- package/dist/component/{date-picker-field-rac-D42hJF0j.js → date-picker-field-rac-Bzl-d3Uj.js} +27 -27
- package/dist/component/{date-picker-rac-CtoqWMPa.js → date-picker-rac-DHHUh8vn.js} +1 -1
- package/dist/component/{date-time-input-field-rac-C1rf0_aD.js → date-time-input-field-rac-DP_StuLr.js} +26 -26
- package/dist/component/{date-time-input-rac-gFwBZVcJ.js → date-time-input-rac-B11KIxsf.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-B0dh55yz.js → dext-checkbox-group-rac-BHZBqyWv.js} +2 -2
- package/dist/component/{dext-checkbox-rac-RQ7hpkFn.js → dext-checkbox-rac-BIlAqEvV.js} +1 -1
- package/dist/component/{dext-date-picker-rac-sJEfD5E6.js → dext-date-picker-rac-CHBXNrZi.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BxPE1oVN.js → dext-date-time-input-rac-BYtliKry.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BimIan_Z.js → dext-dropdown-rac-C2VPSFV5.js} +1 -1
- package/dist/component/{dext-email-rac-CjrC85Va.js → dext-email-rac-Fnb0Ggcs.js} +1 -1
- package/dist/component/{dext-number-input-rac-CkMRmcJQ.js → dext-number-input-rac-DopfSyFi.js} +1 -1
- package/dist/component/{dext-phone-rac-DO3qV3WL.js → dext-phone-rac-Rn4i_2rc.js} +1 -1
- package/dist/component/{dext-radio-group-rac-CUaqRQSf.js → dext-radio-group-rac-bNaskJpK.js} +2 -2
- package/dist/component/{dext-rating-input-rac-CIRU2af7.js → dext-rating-input-rac-DL6ZZd7d.js} +1 -1
- package/dist/component/{dext-tags-rac-DHqXtqOo.js → dext-tags-rac-TsUPoImO.js} +2 -2
- package/dist/component/{dext-text-area-rac-yBONPzSt.js → dext-text-area-rac-BIuY7LTd.js} +1 -1
- package/dist/component/{dext-text-input-rac-CdhAUC2i.js → dext-text-input-rac-CSYPW0Qi.js} +1 -1
- package/dist/component/{dext-url-input-rac-B4IQEsp2.js → dext-url-input-rac-_g0lqGfW.js} +1 -1
- package/dist/component/{donation-rac-D-rWK7OY.js → donation-rac-BYKFtsyR.js} +55 -55
- package/dist/component/{dropdown-field-headless-CeDAK-PU.js → dropdown-field-headless-CBaqlNZi.js} +4 -4
- package/dist/component/{dropdown-field-rac-BzqUmKJ1.js → dropdown-field-rac-CCAGSMm3.js} +5 -5
- package/dist/component/{dropdown-rac-CHO-8WoH.js → dropdown-rac-C_EqUsZ1.js} +1 -1
- package/dist/component/{ecom-address-rac-BZVqOncl.js → ecom-address-rac-Bw9eH0iF.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-BpILYYtb.js → ecom-subscription-checkbox-rac-B5PVOO2a.js} +10 -17
- package/dist/component/{email-input-field-rac-Cb6ECUnT.js → email-input-field-rac-B2kqQ6yo.js} +12 -12
- package/dist/component/{events-repeater-rac-BaYgjHjJ.js → events-repeater-rac--4OnUxWE.js} +53 -53
- package/dist/component/{events-rsvp-rac-CK0hpQKD.js → events-rsvp-rac-CczCoo3T.js} +12 -12
- package/dist/component/{field-error-headless-CN2-F78X.js → field-error-headless-D3-1L5sf.js} +1 -1
- package/dist/component/{field-label-headless-Ca6NcX2l.js → field-label-headless-Du4ckIVy.js} +1 -1
- package/dist/component/{file-upload-rac-C0DqDLp2.js → file-upload-rac-DbdkUbWM.js} +79 -79
- package/dist/component/{fixed-payment-rac-C5qNAT_7.js → fixed-payment-rac-f9-01iDN.js} +7 -7
- package/dist/component/{form-D1xJH87b.js → form-DQauhsho.js} +69 -69
- package/dist/component/form-element-classes-bLFmhsKw.js +137 -0
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BN-Ib7VY.js → header-field-rac-DamDk5BR.js} +3 -3
- package/dist/component/{header-rac-CE0NjfoF.js → header-rac-CR9T3Pnu.js} +1 -1
- package/dist/component/{image-choice-rac-D6dIXR_x.js → image-choice-rac-DJ_8v467.js} +12 -12
- package/dist/component/{index-CcsZgBFf.js → index-BB7d_9Dv.js} +4 -4
- package/dist/component/{index-DOd4eW8z.js → index-CcUTIUWM.js} +2 -2
- package/dist/component/{isObjectLike-DfUDKPeo.js → isObjectLike-xvPa_08X.js} +1 -1
- package/dist/component/{multiline-address-field-rac-jJ5HMakk.js → multiline-address-field-rac-CyaFOloE.js} +79 -79
- package/dist/component/{multiline-address-rac-GQF9HaNq.js → multiline-address-rac-CaHGUN_f.js} +1 -1
- package/dist/component/{number-input-field-rac-DRgq3Ll0.js → number-input-field-rac-BuYUzDWV.js} +14 -14
- package/dist/component/{number-input-rac-C2VoBZeq.js → number-input-rac-DMKX6nhk.js} +1 -1
- package/dist/component/{password-rac-DP8d_92z.js → password-rac-0RUXPAn6.js} +37 -37
- package/dist/component/{payment-input-rac-BycHF-zC.js → payment-input-rac-CHSZ3-Lt.js} +16 -16
- package/dist/component/{phone-input-field-rac-C3_-Dc35.js → phone-input-field-rac-JmIFcP1e.js} +28 -28
- package/dist/component/{phone-rac-DAxScWRl.js → phone-rac-BLRnAPXP.js} +1 -1
- package/dist/component/{product-list-rac-Bxdu4NFP.js → product-list-rac-BkF5tDwt.js} +9 -9
- package/dist/component/quiz-radio-group-rac-32cCMTUS.js +6 -0
- package/dist/component/{radio-button-module-classes-D71u96Y9.js → radio-button-module-classes-IOulhuSH.js} +3 -3
- package/dist/component/radio-group-field-rac-CJwku6e0.js +46 -0
- package/dist/component/{radio-group-rac-DqdjCYmd.js → radio-group-rac-BiW-9Abj.js} +1 -1
- package/dist/component/{rating-input-field-rac-C4Ztlh1u.js → rating-input-field-rac-B9cwaROK.js} +29 -29
- package/dist/component/{rating-input-rac-B4lF_LX7.js → rating-input-rac-BpwlNvzQ.js} +1 -1
- package/dist/component/{rich-content-rac.module-CmW7FwmQ.js → rich-content-rac.module-B1uyPmtK.js} +1 -1
- package/dist/component/{rich-text-field-rac-MwKpKbvj.js → rich-text-field-rac-C_qE7Ykg.js} +3 -3
- package/dist/component/{rich-text-rac-DcMBqEFb.js → rich-text-rac-VfeZxS27.js} +1 -1
- package/dist/component/{service-dropdown-rac-CZWVFnR8.js → service-dropdown-rac-BCfs8IhW.js} +17 -17
- package/dist/component/{services-multi-choice-rac-DvHcWQHS.js → services-multi-choice-rac-CCqdF_7P.js} +6 -6
- package/dist/component/{signature-rac-CMTAWkaY.js → signature-rac-DOyMo3u0.js} +72 -72
- package/dist/component/{submit-button-rac-HnfWQ8wg.js → submit-button-rac-C2uA5DeE.js} +11 -11
- package/dist/component/{tags-field-rac-BuqOeG7-.js → tags-field-rac-C_uIw2by.js} +35 -35
- package/dist/component/{tags-rac-FbHwPPKs.js → tags-rac-1pQ-fpe_.js} +1 -1
- package/dist/component/{text-area-field-rac-Bq224M1o.js → text-area-field-rac-DqlOkm7e.js} +22 -22
- package/dist/component/{text-area-rac-COcGlAYk.js → text-area-rac-DPdkrFcH.js} +1 -1
- package/dist/component/{text-input-field-rac-CTS4jFhC.js → text-input-field-rac-CmXm6r1w.js} +5 -5
- package/dist/component/{text-input-headless-QVLKSgJE.js → text-input-headless-DD__2DFf.js} +3 -3
- package/dist/component/{text-input-rac-BCCkVVG9.js → text-input-rac-DRHyQEH7.js} +1 -1
- package/dist/component/{time-input-rac-7n8d5ppJ.js → time-input-rac-BJPIymQY.js} +21 -21
- package/dist/component/{url-input-field-rac-ChPfhq6I.js → url-input-field-rac-CFDYkZ6I.js} +14 -14
- package/dist/component/{url-input-rac-cFZ8HC3U.js → url-input-rac-C0ChQUzq.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-Cf2B9xAE.js → use-dropdown-option-class-name-3L5ZmNLK.js} +2 -2
- package/dist/component/{use-element-state-class-name-DF2VZawA.js → use-element-state-class-name-BatTc2bw.js} +1 -1
- package/dist/component/{use-is-forced-open-dropdown-B_knxuKJ.js → use-is-forced-open-dropdown-B0jiPTmS.js} +1 -1
- package/dist/component/{use-service-options-base-Clx3S0du.js → use-service-options-base-oeE7xszw.js} +1 -1
- package/dist/component/{use-text-input-class-name-MbmOF6tH.js → use-text-input-class-name-LQ5S-NLh.js} +3 -3
- package/package.json +2 -2
- package/dist/component/contacts-subscribe-rac-Dv-QNZZc.js +0 -13
- package/dist/component/form-element-classes-BtKlobUX.js +0 -192
- package/dist/component/quiz-radio-group-rac-mAn0MuPW.js +0 -13
- package/dist/component/radio-group-field-rac-eij4o0_R.js +0 -50
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
RADIO_GROUP: "radioGroup",
|
|
3
|
+
CHECKBOX_GROUP: "checkboxGroup",
|
|
4
|
+
CHECKBOX: "checkbox",
|
|
5
|
+
PRODUCT_LIST: "productList",
|
|
6
|
+
TAGS: "tags",
|
|
7
|
+
DONATION: "donation",
|
|
8
|
+
IMAGE_CHOICE: "imageChoice",
|
|
9
|
+
RATINGS: "ratings",
|
|
10
|
+
RADIO_GROUP_RADIO_BUTTON: "radioGroupRadioButton",
|
|
11
|
+
CHECKBOX_GROUP_INDICATOR: "checkboxGroupIndicator",
|
|
12
|
+
CHECKBOX_INDICATOR: "checkboxIndicator",
|
|
13
|
+
PRODUCT_LIST_INDICATOR: "productListIndicator",
|
|
14
|
+
TAGS_OPTION: "tagsOption",
|
|
15
|
+
DONATION_OPTION: "donationOption",
|
|
16
|
+
IMAGE_CHOICE_OPTION: "imageChoiceOption",
|
|
17
|
+
IMAGE_CHOICE_OPTION_IMAGE: "imageChoiceOptionImage",
|
|
18
|
+
RATING_OPTION: "ratingOption",
|
|
19
|
+
TIME_SLOT: "timeSlot",
|
|
20
|
+
TEXT_INPUT: "textInput",
|
|
21
|
+
POPOVER: "popover",
|
|
22
|
+
DROPDOWN_OPTION: "dropdownOption"
|
|
23
|
+
}, e = "form-field-label", _ = "form-field-required-indicator", O = "form-field-description", t = "form-field-error", i = "form-field-input", r = "form-field-upload-button", I = "form-field-popover", s = "form-field-dropdown-trigger", n = {
|
|
24
|
+
key: o.DROPDOWN_OPTION,
|
|
25
|
+
parent: o.POPOVER,
|
|
26
|
+
base: "form-field-dropdown-option",
|
|
27
|
+
selected: "form-field-dropdown-option--selected",
|
|
28
|
+
hover: "form-field-dropdown-option--hover"
|
|
29
|
+
}, c = "form-field-suggestion", d = "form-field-option-label", a = "form-field-radio-group", f = "form-field-radio-group-option-label", R = {
|
|
30
|
+
key: o.RADIO_GROUP_RADIO_BUTTON,
|
|
31
|
+
parent: o.RADIO_GROUP,
|
|
32
|
+
base: "form-field-radio-group-radio-button",
|
|
33
|
+
selected: "form-field-radio-group-radio-button--selected",
|
|
34
|
+
hover: "form-field-radio-group-radio-button--hover"
|
|
35
|
+
}, T = "form-field-checkbox-group", E = "form-field-checkbox-group-option-label", C = {
|
|
36
|
+
key: o.CHECKBOX_GROUP_INDICATOR,
|
|
37
|
+
parent: o.CHECKBOX_GROUP,
|
|
38
|
+
base: "form-field-checkbox-group-indicator",
|
|
39
|
+
selected: "form-field-checkbox-group-indicator--selected",
|
|
40
|
+
hover: "form-field-checkbox-group-indicator--hover"
|
|
41
|
+
}, l = "form-field-checkbox", L = "form-field-checkbox-label", S = {
|
|
42
|
+
key: o.CHECKBOX_INDICATOR,
|
|
43
|
+
parent: o.CHECKBOX,
|
|
44
|
+
base: "form-field-checkbox-indicator",
|
|
45
|
+
selected: "form-field-checkbox-indicator--selected",
|
|
46
|
+
hover: "form-field-checkbox-indicator--hover"
|
|
47
|
+
}, A = "form-field-product-list", D = "form-field-product-list-product-name", F = "form-field-product-list-price", m = {
|
|
48
|
+
key: o.PRODUCT_LIST_INDICATOR,
|
|
49
|
+
parent: o.PRODUCT_LIST,
|
|
50
|
+
base: "form-field-product-list-indicator",
|
|
51
|
+
selected: "form-field-product-list-indicator--selected",
|
|
52
|
+
hover: "form-field-product-list-indicator--hover"
|
|
53
|
+
}, N = "form-field-tags", p = {
|
|
54
|
+
key: o.TAGS_OPTION,
|
|
55
|
+
parent: o.TAGS,
|
|
56
|
+
base: "form-field-tags-option",
|
|
57
|
+
selected: "form-field-tags-option--selected",
|
|
58
|
+
hover: "form-field-tags-option--hover"
|
|
59
|
+
}, M = "form-field-donation", P = {
|
|
60
|
+
key: o.DONATION_OPTION,
|
|
61
|
+
parent: o.DONATION,
|
|
62
|
+
base: "form-field-donation-option",
|
|
63
|
+
selected: "form-field-donation-option--selected",
|
|
64
|
+
hover: "form-field-donation-option--hover"
|
|
65
|
+
}, h = "form-field-image-choice", b = {
|
|
66
|
+
key: o.IMAGE_CHOICE_OPTION,
|
|
67
|
+
parent: o.IMAGE_CHOICE,
|
|
68
|
+
base: "form-field-image-choice-option",
|
|
69
|
+
selected: "form-field-image-choice-option--selected",
|
|
70
|
+
hover: "form-field-image-choice-option--hover"
|
|
71
|
+
}, u = "form-field-image-choice-option-image", G = {
|
|
72
|
+
key: o.TIME_SLOT,
|
|
73
|
+
base: "form-field-time-slot",
|
|
74
|
+
selected: "form-field-time-slot--selected",
|
|
75
|
+
hover: "form-field-time-slot--hover"
|
|
76
|
+
}, U = {
|
|
77
|
+
key: o.TEXT_INPUT,
|
|
78
|
+
base: "form-field-text-input",
|
|
79
|
+
hover: "form-field-text-input--hover"
|
|
80
|
+
}, g = "form-field-info-banner", B = "form-field-calendar", k = "form-field-date-picker-calendar", v = "form-field-date-title", H = "form-field-info-text", x = "form-field-ratings", X = {
|
|
81
|
+
key: o.RATING_OPTION,
|
|
82
|
+
parent: o.RATINGS,
|
|
83
|
+
base: "form-field-rating-option",
|
|
84
|
+
selected: "form-field-rating-option--selected",
|
|
85
|
+
hover: "form-field-rating-option--hover"
|
|
86
|
+
}, K = "form-field-show-more-button", y = "form-rich-content", w = "form-submit-button", W = "form-submit-button-label", V = "animated-icon", q = "form-submit-button-icon", Q = "form-next-button", j = "form-previous-button";
|
|
87
|
+
export {
|
|
88
|
+
V as A,
|
|
89
|
+
F as B,
|
|
90
|
+
D as C,
|
|
91
|
+
a as D,
|
|
92
|
+
f as E,
|
|
93
|
+
o as F,
|
|
94
|
+
R as G,
|
|
95
|
+
x as H,
|
|
96
|
+
X as I,
|
|
97
|
+
_ as J,
|
|
98
|
+
K,
|
|
99
|
+
c as L,
|
|
100
|
+
N as M,
|
|
101
|
+
p as N,
|
|
102
|
+
U as O,
|
|
103
|
+
G as P,
|
|
104
|
+
r as Q,
|
|
105
|
+
Q as R,
|
|
106
|
+
j as S,
|
|
107
|
+
y as T,
|
|
108
|
+
w as U,
|
|
109
|
+
q as V,
|
|
110
|
+
W,
|
|
111
|
+
B as a,
|
|
112
|
+
l as b,
|
|
113
|
+
T as c,
|
|
114
|
+
C as d,
|
|
115
|
+
E as e,
|
|
116
|
+
S as f,
|
|
117
|
+
L as g,
|
|
118
|
+
k as h,
|
|
119
|
+
v as i,
|
|
120
|
+
O as j,
|
|
121
|
+
M as k,
|
|
122
|
+
P as l,
|
|
123
|
+
n as m,
|
|
124
|
+
s as n,
|
|
125
|
+
t as o,
|
|
126
|
+
h as p,
|
|
127
|
+
b as q,
|
|
128
|
+
u as r,
|
|
129
|
+
g as s,
|
|
130
|
+
H as t,
|
|
131
|
+
i as u,
|
|
132
|
+
e as v,
|
|
133
|
+
d as w,
|
|
134
|
+
I as x,
|
|
135
|
+
A as y,
|
|
136
|
+
m as z
|
|
137
|
+
};
|
package/dist/component/form.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { ak as u, Y as i, X as C, _ as R, L as T } from "./form-
|
|
4
|
-
import { u as d, R as g, s as p, T as S } from "./rich-content-rac.module-
|
|
5
|
-
import {
|
|
3
|
+
import { ak as u, Y as i, X as C, _ as R, L as T } from "./form-DQauhsho.js";
|
|
4
|
+
import { u as d, R as g, s as p, T as S } from "./rich-content-rac.module-B1uyPmtK.js";
|
|
5
|
+
import { T as h } from "./form-element-classes-bLFmhsKw.js";
|
|
6
6
|
const P = ({ truncate: t = !0 } = {}) => {
|
|
7
7
|
const { content: a, maxShownParagraphs: s } = u(), o = e.useMemo(() => ({
|
|
8
8
|
colorPalette: R(),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import e, { useMemo as H, useCallback as T, useRef as k } from "react";
|
|
2
2
|
import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { ak as b, ah as x, am as P, ad as B } from "./form-
|
|
4
|
+
import { ak as b, ah as x, am as P, ad as B } from "./form-DQauhsho.js";
|
|
5
5
|
import { CheckboxGroup as q, CheckboxField as U, CheckboxButton as w } from "react-aria-components";
|
|
6
6
|
import { f as p, a as h } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as V, g as j } from "./field-label-headless-
|
|
8
|
-
import { D as z, E as
|
|
9
|
-
import { F as
|
|
10
|
-
import { E as
|
|
7
|
+
import { L as V, g as j } from "./field-label-headless-Du4ckIVy.js";
|
|
8
|
+
import { D as z, E as J } from "./field-error-headless-D3-1L5sf.js";
|
|
9
|
+
import { F as K } from "./fieldset-headless-CD3fds9J.js";
|
|
10
|
+
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-B4l_0KRU.js";
|
|
12
|
-
import {
|
|
13
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { v as Y, J as $, p as W, r as X, o as Z, j as ee, q as te, F as f } from "./form-element-classes-bLFmhsKw.js";
|
|
13
|
+
import { u as oe } from "./use-element-state-class-name-BatTc2bw.js";
|
|
14
14
|
const o = ({ children: t, className: s }) => {
|
|
15
15
|
const { id: n, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: E, hasError: C, FieldLayout: g } = b(), { inputId: L, labelId: _, ariaDescribedBy: N } = x(), R = p(t, o.Label), S = p(t, o.Options), A = p(t, o.Description), D = p(t, o.Error), y = H(() => a || [], [
|
|
16
16
|
a
|
|
@@ -22,7 +22,7 @@ const o = ({ children: t, className: s }) => {
|
|
|
22
22
|
return /* @__PURE__ */ e.createElement(g, {
|
|
23
23
|
fieldId: n,
|
|
24
24
|
renderLabel: () => R,
|
|
25
|
-
renderInput: () => /* @__PURE__ */ e.createElement(
|
|
25
|
+
renderInput: () => /* @__PURE__ */ e.createElement(K, {
|
|
26
26
|
id: L,
|
|
27
27
|
ariaLabelledBy: _,
|
|
28
28
|
ariaDescribedBy: N,
|
|
@@ -110,7 +110,7 @@ o.Label = V;
|
|
|
110
110
|
o.Options = F;
|
|
111
111
|
F.Option = d;
|
|
112
112
|
o.Description = z;
|
|
113
|
-
o.Error =
|
|
113
|
+
o.Error = J;
|
|
114
114
|
const le = "_group_1yn0h_1", ie = "_options_1yn0h_5", re = "_optionInput_1yn0h_36", ce = "_option_1yn0h_5", me = "_optionHover_1yn0h_72", pe = "_optionSelected_1yn0h_72", Ee = "_optionLabel_1yn0h_112", de = "_optionImage_1yn0h_143", m = {
|
|
115
115
|
group: le,
|
|
116
116
|
options: ie,
|
|
@@ -135,9 +135,9 @@ const le = "_group_1yn0h_1", ie = "_options_1yn0h_5", re = "_optionInput_1yn0h_3
|
|
|
135
135
|
return /* @__PURE__ */ e.createElement(o, {
|
|
136
136
|
className: m.group
|
|
137
137
|
}, /* @__PURE__ */ e.createElement(o.Label, {
|
|
138
|
-
className: I(
|
|
138
|
+
className: I(Y, O.label)
|
|
139
139
|
}, /* @__PURE__ */ e.createElement(o.Label.Required, {
|
|
140
|
-
className: I(
|
|
140
|
+
className: I($, O.requiredMark)
|
|
141
141
|
})), /* @__PURE__ */ e.createElement(o.Options, {
|
|
142
142
|
className: I(W, m.options)
|
|
143
143
|
}, /* @__PURE__ */ e.createElement(o.Options.Option, {
|
|
@@ -153,7 +153,7 @@ const le = "_group_1yn0h_1", ie = "_options_1yn0h_5", re = "_optionInput_1yn0h_3
|
|
|
153
153
|
className: m.optionLabel
|
|
154
154
|
}))), /* @__PURE__ */ e.createElement(o.Error, {
|
|
155
155
|
className: I(Z, O.error)
|
|
156
|
-
}, /* @__PURE__ */ e.createElement(
|
|
156
|
+
}, /* @__PURE__ */ e.createElement(Q, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
|
|
157
157
|
className: I(ee, O.description)
|
|
158
158
|
}, ue));
|
|
159
159
|
}, ye = () => /* @__PURE__ */ e.createElement(_e, null);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as R, V as _, T as de, t as O, g as Ge, B as Be, N as qe, I as He, m as A, P as Ee, w as re, S as Fe, b as B, n as M, a4 as Te, p as je, o as he, q } from "./form-
|
|
2
|
-
import { $ as Mn } from "./form-
|
|
1
|
+
import { d as R, V as _, T as de, t as O, g as Ge, B as Be, N as qe, I as He, m as A, P as Ee, w as re, S as Fe, b as B, n as M, a4 as Te, p as je, o as he, q } from "./form-DQauhsho.js";
|
|
2
|
+
import { $ as Mn } from "./form-DQauhsho.js";
|
|
3
3
|
import Xe from "ajv";
|
|
4
4
|
import ke from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-XjBFq8jt.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-XjBFq8jt.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a3 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, M as g, H as q, J as D, a5 as L } from "./form-
|
|
1
|
+
import { a3 as n } from "./form-DQauhsho.js";
|
|
2
|
+
import { A as S, a as p, C as N, M as g, H as q, J as D, a5 as L } from "./form-DQauhsho.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|