@wix/form-elements 1.187.0 → 1.188.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-DiGTD4hn.js → appointment-rac-Biwj0bKe.js} +78 -78
- package/dist/component/{bookings-address-rac-Bczo07PP.js → bookings-address-rac-B_o25LOI.js} +1 -1
- package/dist/component/{bookings-email-rac-D0cw7HFH.js → bookings-email-rac-BBcusxbS.js} +1 -1
- package/dist/component/{bookings-first-name-rac-DqxVpKqV.js → bookings-first-name-rac-CNTGannm.js} +1 -1
- package/dist/component/{bookings-header-rac-BxlD5Wje.js → bookings-header-rac-BTvG2vnk.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CraNB_ut.js → bookings-last-name-rac-BQumGsz9.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BMGnVYXE.js → bookings-login-bar-rac-Cl_rwWhO.js} +8 -8
- package/dist/component/{bookings-phone-rac-CnSlSyLi.js → bookings-phone-rac-B_gXe9Fa.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CWWvRRRi.js → bookings-rich-text-rac-CbMuPVCB.js} +1 -1
- package/dist/component/{checkbox-field-rac-C2LLGbbS.js → checkbox-field-rac-QwFSqEgs.js} +43 -43
- package/dist/component/{checkbox-group-field-headless-B2hKVuJD.js → checkbox-group-field-headless-CTDMO0TM.js} +38 -38
- package/dist/component/{checkbox-group-field-rac-Bqo7LRpI.js → checkbox-group-field-rac-DFUST9Th.js} +4 -4
- package/dist/component/{checkbox-group-rac-CHAnQW7L.js → checkbox-group-rac-CBAE-o1Q.js} +1 -1
- package/dist/component/{checkbox-rac-D09xnf-F.js → checkbox-rac-DkYPhGTU.js} +1 -1
- package/dist/component/{contacts-address-rac-CY_ff8gq.js → contacts-address-rac-DKf42iJk.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BkPpyiCP.js → contacts-birthdate-rac-ffPSb2YW.js} +1 -1
- package/dist/component/{contacts-company-rac-2I05yC97.js → contacts-company-rac-DLVdNbYz.js} +1 -1
- package/dist/component/{contacts-email-rac-B5vwkBUk.js → contacts-email-rac-CW8SdcYX.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CVxn7EaP.js → contacts-first-name-rac-CGdzgpkw.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DIu7T_QU.js → contacts-last-name-rac-DNQj7UcW.js} +1 -1
- package/dist/component/{contacts-phone-rac-B_9KO997.js → contacts-phone-rac-zAMIceti.js} +1 -1
- package/dist/component/{contacts-position-rac-Dll7FDN5.js → contacts-position-rac-DLwn9B2T.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DvZ0S_7T.js → contacts-subscribe-rac-Cy5rxTkC.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BmYWQGbm.js → contacts-tax-id-rac-CEfU6N6C.js} +1 -1
- package/dist/component/{date-availability-C2IYlnG_.js → date-availability-C9EOQUiy.js} +1 -1
- package/dist/component/{date-input-field-rac-TwaBKY7l.js → date-input-field-rac-F4QQeEtO.js} +57 -57
- package/dist/component/{date-input-rac-CusCOLnm.js → date-input-rac-CJeOgyF5.js} +1 -1
- package/dist/component/{date-picker-field-rac-ufxxlmpA.js → date-picker-field-rac-33ARKAxQ.js} +35 -35
- package/dist/component/{date-picker-rac-IGr_hLjg.js → date-picker-rac-Beaqh84V.js} +1 -1
- package/dist/component/{date-time-input-field-rac-B6ZQo4Tk.js → date-time-input-field-rac-CB8FfYUM.js} +44 -44
- package/dist/component/{date-time-input-rac-X1GCfhSl.js → date-time-input-rac-DQ9P6IVp.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-D9UmRqnt.js → dext-checkbox-group-rac-Cho-hueW.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DrMbQCX3.js → dext-checkbox-rac-BIwIwy-y.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Barwg8La.js → dext-date-picker-rac-C03HJdvX.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-ChIUfDk4.js → dext-date-time-input-rac-Bo4XfnRA.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BCrEGvfc.js → dext-dropdown-rac-CadT1tMH.js} +1 -1
- package/dist/component/{dext-email-rac-D7l9fah1.js → dext-email-rac-DbiEws8H.js} +1 -1
- package/dist/component/{dext-number-input-rac-CrI6ChK9.js → dext-number-input-rac-XoW8CLvX.js} +1 -1
- package/dist/component/{dext-phone-rac-B_ObVduc.js → dext-phone-rac-9rFyUD8e.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DOBaXXjq.js → dext-radio-group-rac-U6BNL7IT.js} +2 -2
- package/dist/component/{dext-rating-input-rac-D4LxflR7.js → dext-rating-input-rac-BDGUv8jU.js} +1 -1
- package/dist/component/{dext-tags-rac-nTSiW-H7.js → dext-tags-rac-CAFGVcIi.js} +2 -2
- package/dist/component/{dext-text-area-rac-DYV_gO7a.js → dext-text-area-rac-DXyzm9oe.js} +1 -1
- package/dist/component/{dext-text-input-rac-Zjq6PsXg.js → dext-text-input-rac-C27gdfyG.js} +1 -1
- package/dist/component/{dext-url-input-rac-BM7jm0Tn.js → dext-url-input-rac-DovYH3_G.js} +1 -1
- package/dist/component/{donation-rac-CGjEtI7s.js → donation-rac-DV2aRsDt.js} +60 -60
- package/dist/component/{dropdown-field-rac-c-Owb2hL.js → dropdown-field-rac-D58C7YZG.js} +3 -3
- package/dist/component/{dropdown-rac-Bp9hWnJS.js → dropdown-rac-57yZf_yZ.js} +1 -1
- package/dist/component/{ecom-address-rac-C1YRffNH.js → ecom-address-rac-Co3WhA7m.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-B5uCvEqP.js → ecom-subscription-checkbox-rac-CYjsuRA9.js} +2 -2
- package/dist/component/{email-input-field-rac-BDQYfj6b.js → email-input-field-rac-C5G3pVkR.js} +14 -14
- package/dist/component/{events-repeater-rac-DoZBb6e0.js → events-repeater-rac-D5PXSDIH.js} +72 -70
- package/dist/component/{events-rsvp-rac-OyYogsL5.js → events-rsvp-rac-BfyQNZh6.js} +3 -3
- package/dist/component/{field-error-headless-B41KJxbD.js → field-error-headless-RTyrenpC.js} +8 -8
- package/dist/component/{field-label-headless-DHt_Wm_S.js → field-label-headless-Bd00Hl2z.js} +4 -4
- package/dist/component/{file-upload-rac-Bed5vOYu.js → file-upload-rac-D5pTnsHO.js} +61 -61
- package/dist/component/{fixed-payment-rac-_HtF4gSw.js → fixed-payment-rac-ByxSjPu5.js} +9 -9
- package/dist/component/{form-DAUDnpk6.js → form-BG5UjjLA.js} +3276 -3217
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-BwlXDMt4.js → header-field-rac-Bql6VoAi.js} +2 -2
- package/dist/component/{header-rac-CdFpA8bi.js → header-rac-DWAIn4eY.js} +1 -1
- package/dist/component/{image-choice-rac-Bfs7ixsZ.js → image-choice-rac-D5dSQ4Xd.js} +11 -11
- package/dist/component/{index-B5HfcvO_.js → index-37eV-JEp.js} +5 -5
- package/dist/component/{index-BQctPc9k.js → index-DlcCtz4h.js} +4 -4
- package/dist/component/{isObjectLike-CKRIZUUL.js → isObjectLike-ClPDcTiq.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Gs6BGlnz.js → multiline-address-field-rac-CpvwzmpC.js} +345 -345
- package/dist/component/{multiline-address-rac-6tsDZK20.js → multiline-address-rac-ENim2Bn6.js} +1 -1
- package/dist/component/{number-input-field-rac-D2vzcEDT.js → number-input-field-rac-DTRnmRDk.js} +21 -21
- package/dist/component/{number-input-rac-DJA2sjJ2.js → number-input-rac-QROlEpkx.js} +1 -1
- package/dist/component/{password-rac-DS9j5AEn.js → password-rac-jMoyzIP2.js} +47 -47
- package/dist/component/{payment-input-rac-t15HwuyR.js → payment-input-rac-DOOV4P4b.js} +31 -31
- package/dist/component/{phone-input-field-rac-DCEMaJjP.js → phone-input-field-rac-BA_mTcND.js} +47 -47
- package/dist/component/{phone-rac-R2KIpq9Y.js → phone-rac-DXcbIqHK.js} +1 -1
- package/dist/component/{product-list-rac-BCaz8EbJ.js → product-list-rac-CsxR7Ut6.js} +63 -63
- package/dist/component/{quiz-radio-group-rac-Czjt8SZW.js → quiz-radio-group-rac-IQgqvqjs.js} +1 -1
- package/dist/component/{radio-button-module-classes-B2cY0daS.js → radio-button-module-classes-DIFYfYiH.js} +36 -36
- package/dist/component/{radio-group-field-rac-BdCqn6Uq.js → radio-group-field-rac-Ca2RlxOl.js} +4 -4
- package/dist/component/{radio-group-rac-CdKWOA6d.js → radio-group-rac-DDervEEb.js} +1 -1
- package/dist/component/{rating-input-field-rac-qllcIC5u.js → rating-input-field-rac-0kyPo9cU.js} +12 -12
- package/dist/component/{rating-input-rac-Cno0IibX.js → rating-input-rac-DqPsqUKR.js} +1 -1
- package/dist/component/{rich-content-rac.module-Bj8zO5BD.js → rich-content-rac.module-2T_-7jvb.js} +5 -5
- package/dist/component/{rich-text-field-rac-CJOPMgvk.js → rich-text-field-rac-W-eKzhuC.js} +4 -4
- package/dist/component/{rich-text-rac-qJLSQUfk.js → rich-text-rac-CzJfbAyx.js} +1 -1
- package/dist/component/{service-dropdown-rac-CrrqMt0I.js → service-dropdown-rac-BMJy2pZ5.js} +25 -25
- package/dist/component/{services-multi-choice-rac-DHpIgQT8.js → services-multi-choice-rac-BBAWlI7U.js} +7 -7
- package/dist/component/{signature-rac-vHDz7aO9.js → signature-rac-Y1GLswrp.js} +22 -22
- package/dist/component/{submit-button-rac-CdSXP5MY.js → submit-button-rac-CSKbrgQ3.js} +17 -17
- package/dist/component/{tags-field-rac-BE5q3Yzp.js → tags-field-rac-D3zOYcC5.js} +19 -19
- package/dist/component/{tags-rac-DPH9Jekq.js → tags-rac-Cs77Abgs.js} +1 -1
- package/dist/component/text-area-field-rac-DZZW7rAX.js +74 -0
- package/dist/component/{text-area-rac-BWI_FwJ_.js → text-area-rac-BRPp0HnX.js} +1 -1
- package/dist/component/{text-input-field-rac-SljlZsKs.js → text-input-field-rac-tPDZmLdU.js} +3 -3
- package/dist/component/text-input-headless-tkwEZWs7.js +47 -0
- package/dist/component/{text-input-rac-OP8CxA5d.js → text-input-rac-DnHt4vkM.js} +1 -1
- package/dist/component/{time-input-rac-Dc0pojpK.js → time-input-rac-Dbg4Nqb5.js} +18 -18
- package/dist/component/url-input-field-rac-3ODFXFRP.js +77 -0
- package/dist/component/{url-input-rac-DW245AQ3.js → url-input-rac-CPb5o8Of.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CohYBaie.js → use-dropdown-option-class-name-Dd4ncVaY.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-CcyW9dW5.js → use-dropdown-trigger-class-name-zVniRqM7.js} +29 -29
- package/dist/component/{use-element-state-class-name-ByWbyT81.js → use-element-state-class-name-C8jFeDrq.js} +3 -3
- package/dist/component/{use-hoverable-input-class-name-CmYpz2Os.js → use-hoverable-input-class-name-B9diy0Mr.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-D4-XPkUN.js → use-is-forced-open-dropdown-BR1U1l5w.js} +6 -6
- package/dist/component/{use-service-options-base-DGHhZKVh.js → use-service-options-base-yM4rJlq1.js} +3 -3
- package/dist/component/use-text-input-class-name-D6AnBbJx.js +6 -0
- package/package.json +2 -2
- package/dist/component/text-area-field-rac-CUSpvF_P.js +0 -74
- package/dist/component/text-input-headless-BWFcuwI4.js +0 -47
- package/dist/component/url-input-field-rac-CcUeuaJX.js +0 -77
- package/dist/component/use-text-input-class-name-VJ-nzeqS.js +0 -6
|
@@ -3,23 +3,23 @@ import E from "classnames";
|
|
|
3
3
|
import t, { useMemo as L, useState as X, useCallback as U, useRef as z, useContext as le } from "react";
|
|
4
4
|
import { parseTime as ie } from "@internationalized/date";
|
|
5
5
|
import { UNSAFE_PortalProvider as ce } from "react-aria";
|
|
6
|
-
import { ListBoxItem as me, Select as de, TextField as
|
|
7
|
-
import {
|
|
6
|
+
import { ListBoxItem as me, Select as de, TextField as K, TimeField as ue, SelectValue as pe, Input as Q, DateInput as Ee, DateSegment as x, TimeFieldStateContext as fe } from "react-aria-components";
|
|
7
|
+
import { bM as b, bJ as W, bE as $, bh as Z, bu as ee, b4 as d, bX as y, by as j, bj as be, bb as he, bB as _e, bd as J, bO as q, u as Ie, X as ge, am as De, w as V, x as Ne, M as Te, I as Oe, v as Le, y as ye, z as k } from "./form-BG5UjjLA.js";
|
|
8
8
|
import { f as u, a as C } from "./find-child-C60k4CxG.js";
|
|
9
9
|
import { g as Fe } from "./helpers-HmkkXrh2.js";
|
|
10
|
-
import { D as Pe, E as Ce } from "./field-error-headless-
|
|
11
|
-
import { L as Me } from "./field-label-headless-
|
|
10
|
+
import { D as Pe, E as Ce } from "./field-error-headless-RTyrenpC.js";
|
|
11
|
+
import { L as Me } from "./field-label-headless-Bd00Hl2z.js";
|
|
12
12
|
import { F as Se } from "./fieldset-headless-CD3fds9J.js";
|
|
13
13
|
import { N as Re, E as Ae, S as ve } from "./non-modal-popover-D-u13tmp.js";
|
|
14
|
-
import { u as
|
|
15
|
-
import { V as
|
|
14
|
+
import { u as we } from "./use-is-forced-open-dropdown-BR1U1l5w.js";
|
|
15
|
+
import { V as Ve, a as Ye } from "./use-dropdown-option-class-name-Dd4ncVaY.js";
|
|
16
16
|
import { C as He } from "./chevron-down-icon-CcpVm6B-.js";
|
|
17
17
|
import { E as Ue } from "./error-icon-hZxQ6DEy.js";
|
|
18
18
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
19
19
|
import { s as _ } from "./field-rac.module-DcyJyi2B.js";
|
|
20
|
-
import { u as H } from "./use-hoverable-input-class-name-
|
|
20
|
+
import { u as H } from "./use-hoverable-input-class-name-B9diy0Mr.js";
|
|
21
21
|
const l = ({ children: e, className: a }) => {
|
|
22
|
-
const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: h } =
|
|
22
|
+
const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: h } = W(), { regionalFormat: p } = $(), N = L(() => Z(p).filter(ee).map((S) => S.toUpperCase()), [
|
|
23
23
|
p
|
|
24
24
|
]), M = u(e, l.Label), v = u(e, l.Description), g = u(e, l.Error), D = {
|
|
25
25
|
[d.MONTH]: u(e, l.Month),
|
|
@@ -43,13 +43,13 @@ const l = ({ children: e, className: a }) => {
|
|
|
43
43
|
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, g, v)
|
|
44
44
|
});
|
|
45
45
|
}, F = ({ children: e, className: a }) => {
|
|
46
|
-
const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: h, onPartChange: p } = P(d.MONTH), { t: N } = y(), [M, v] = X(!1), g =
|
|
47
|
-
o || p(typeof
|
|
46
|
+
const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: h, onPartChange: p } = P(d.MONTH), { t: N } = y(), [M, v] = X(!1), g = we(n), [D, T] = X(null), S = i ? Ae : N("field.date.placeholder.month"), te = U((w) => {
|
|
47
|
+
o || p(typeof w == "string" ? w : "");
|
|
48
48
|
}, [
|
|
49
49
|
p,
|
|
50
50
|
o
|
|
51
|
-
]), ae = U((
|
|
52
|
-
v(
|
|
51
|
+
]), ae = U((w) => {
|
|
52
|
+
v(w && !o);
|
|
53
53
|
}, [
|
|
54
54
|
o
|
|
55
55
|
]), ne = u(e, F.Label), re = u(e, F.Trigger), oe = u(e, F.Options);
|
|
@@ -75,10 +75,10 @@ const l = ({ children: e, className: a }) => {
|
|
|
75
75
|
}, re, C(oe, {
|
|
76
76
|
isForcedOpen: g
|
|
77
77
|
}))));
|
|
78
|
-
},
|
|
78
|
+
}, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
|
|
79
79
|
datePart: d.MONTH,
|
|
80
80
|
className: e
|
|
81
|
-
}),
|
|
81
|
+
}), xe = ({ children: e, className: a }) => {
|
|
82
82
|
const { id: n, readOnly: r } = b(), { inputId: o } = O(d.MONTH), { partError: s, isFirstPart: i } = P(d.MONTH), m = z(null);
|
|
83
83
|
return q(() => {
|
|
84
84
|
var c;
|
|
@@ -93,15 +93,15 @@ const l = ({ children: e, className: a }) => {
|
|
|
93
93
|
"data-invalid": s || void 0,
|
|
94
94
|
"data-readonly": r || void 0
|
|
95
95
|
}, /* @__PURE__ */ t.createElement(pe, null), e);
|
|
96
|
-
},
|
|
96
|
+
}, B = ({ children: e, className: a, ...n }) => {
|
|
97
97
|
const { isForcedOpen: r } = n, { language: o } = $(), s = L(() => Fe(o), [
|
|
98
98
|
o
|
|
99
|
-
]), i = u(e,
|
|
99
|
+
]), i = u(e, B.Option) ?? /* @__PURE__ */ t.createElement(B.Option, null);
|
|
100
100
|
return /* @__PURE__ */ t.createElement(Re, {
|
|
101
101
|
className: a,
|
|
102
102
|
containerPadding: 0,
|
|
103
103
|
offset: 0
|
|
104
|
-
}, /* @__PURE__ */ t.createElement(
|
|
104
|
+
}, /* @__PURE__ */ t.createElement(Ve, {
|
|
105
105
|
isForcedOpen: r,
|
|
106
106
|
autoFocus: r ? !1 : void 0
|
|
107
107
|
}, s.map((m, c) => C(i, {
|
|
@@ -117,16 +117,16 @@ const l = ({ children: e, className: a }) => {
|
|
|
117
117
|
textValue: r
|
|
118
118
|
}, r);
|
|
119
119
|
};
|
|
120
|
-
F.Label =
|
|
121
|
-
F.Trigger =
|
|
122
|
-
F.Options =
|
|
123
|
-
|
|
120
|
+
F.Label = Be;
|
|
121
|
+
F.Trigger = xe;
|
|
122
|
+
F.Options = B;
|
|
123
|
+
B.Option = ke;
|
|
124
124
|
const R = ({ children: e, className: a }) => {
|
|
125
125
|
const { disabled: n, readOnly: r, showDateLabels: o } = b(), { labelId: s } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = P(d.DAY), h = u(e, R.Label), p = u(e, R.Input);
|
|
126
126
|
return /* @__PURE__ */ t.createElement("div", {
|
|
127
127
|
className: a,
|
|
128
128
|
"data-date-field": !0
|
|
129
|
-
}, o && h, /* @__PURE__ */ t.createElement(
|
|
129
|
+
}, o && h, /* @__PURE__ */ t.createElement(K, {
|
|
130
130
|
"aria-labelledby": o ? s : void 0,
|
|
131
131
|
value: i,
|
|
132
132
|
onChange: c,
|
|
@@ -144,7 +144,7 @@ const R = ({ children: e, className: a }) => {
|
|
|
144
144
|
o && ((c = i.current) == null || c.focus({
|
|
145
145
|
preventScroll: !0
|
|
146
146
|
}));
|
|
147
|
-
}, a), /* @__PURE__ */ t.createElement(
|
|
147
|
+
}, a), /* @__PURE__ */ t.createElement(Q, {
|
|
148
148
|
ref: i,
|
|
149
149
|
id: r,
|
|
150
150
|
className: e,
|
|
@@ -161,7 +161,7 @@ const A = ({ children: e, className: a }) => {
|
|
|
161
161
|
return /* @__PURE__ */ t.createElement("div", {
|
|
162
162
|
className: a,
|
|
163
163
|
"data-date-field": !0
|
|
164
|
-
}, o && h, /* @__PURE__ */ t.createElement(
|
|
164
|
+
}, o && h, /* @__PURE__ */ t.createElement(K, {
|
|
165
165
|
"aria-labelledby": o ? s : void 0,
|
|
166
166
|
value: i,
|
|
167
167
|
onChange: c,
|
|
@@ -179,7 +179,7 @@ const A = ({ children: e, className: a }) => {
|
|
|
179
179
|
o && ((c = i.current) == null || c.focus({
|
|
180
180
|
preventScroll: !0
|
|
181
181
|
}));
|
|
182
|
-
}, a), /* @__PURE__ */ t.createElement(
|
|
182
|
+
}, a), /* @__PURE__ */ t.createElement(Q, {
|
|
183
183
|
ref: i,
|
|
184
184
|
id: r,
|
|
185
185
|
className: e,
|
|
@@ -233,34 +233,34 @@ const I = ({ children: e, className: a }) => {
|
|
|
233
233
|
segment: i
|
|
234
234
|
}) || /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
235
235
|
case "literal":
|
|
236
|
-
return /* @__PURE__ */ t.createElement(
|
|
236
|
+
return /* @__PURE__ */ t.createElement(x, {
|
|
237
237
|
segment: i
|
|
238
238
|
});
|
|
239
239
|
default:
|
|
240
240
|
return /* @__PURE__ */ t.createElement(t.Fragment, null);
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
|
-
},
|
|
243
|
+
}, Je = ({ className: e, ...a }) => {
|
|
244
244
|
const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.hour");
|
|
245
|
-
return /* @__PURE__ */ t.createElement(
|
|
245
|
+
return /* @__PURE__ */ t.createElement(x, {
|
|
246
246
|
segment: r,
|
|
247
247
|
className: e,
|
|
248
248
|
...s && {
|
|
249
249
|
placeholder: s
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
|
-
},
|
|
252
|
+
}, Ke = ({ className: e, ...a }) => {
|
|
253
253
|
const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.minute");
|
|
254
|
-
return /* @__PURE__ */ t.createElement(
|
|
254
|
+
return /* @__PURE__ */ t.createElement(x, {
|
|
255
255
|
segment: r,
|
|
256
256
|
className: e,
|
|
257
257
|
...s && {
|
|
258
258
|
placeholder: s
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
|
-
},
|
|
261
|
+
}, Qe = ({ className: e, ...a }) => {
|
|
262
262
|
const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = le(fe), i = n ? void 0 : o("field.date.placeholder.period"), m = () => s == null ? void 0 : s.increment("dayPeriod");
|
|
263
|
-
return /* @__PURE__ */ t.createElement(
|
|
263
|
+
return /* @__PURE__ */ t.createElement(x, {
|
|
264
264
|
segment: r,
|
|
265
265
|
className: e,
|
|
266
266
|
onClick: m,
|
|
@@ -271,9 +271,9 @@ const I = ({ children: e, className: a }) => {
|
|
|
271
271
|
};
|
|
272
272
|
I.Label = Xe;
|
|
273
273
|
I.Input = je;
|
|
274
|
-
I.Hour =
|
|
275
|
-
I.Minute =
|
|
276
|
-
I.Period =
|
|
274
|
+
I.Hour = Je;
|
|
275
|
+
I.Minute = Ke;
|
|
276
|
+
I.Period = Qe;
|
|
277
277
|
l.Label = Me;
|
|
278
278
|
l.Month = F;
|
|
279
279
|
l.Day = R;
|
|
@@ -282,7 +282,7 @@ l.Time = I;
|
|
|
282
282
|
l.Description = Pe;
|
|
283
283
|
l.Error = Ce;
|
|
284
284
|
function O(e) {
|
|
285
|
-
const { inputId: a } =
|
|
285
|
+
const { inputId: a } = W();
|
|
286
286
|
return L(() => {
|
|
287
287
|
const n = e.toLowerCase();
|
|
288
288
|
return {
|
|
@@ -302,16 +302,16 @@ function P(e) {
|
|
|
302
302
|
r
|
|
303
303
|
]), c = L(() => he(s), [
|
|
304
304
|
s
|
|
305
|
-
]), h = L(() =>
|
|
305
|
+
]), h = L(() => We(i), [
|
|
306
306
|
i
|
|
307
307
|
]), p = U((g) => {
|
|
308
|
-
const D = Ze(g), T =
|
|
308
|
+
const D = Ze(g), T = J(s, D);
|
|
309
309
|
n(T);
|
|
310
310
|
}, [
|
|
311
311
|
n,
|
|
312
312
|
s
|
|
313
313
|
]), N = U((g) => {
|
|
314
|
-
const [, D] = j(a ?? ""), T = _e(g, e, c), S =
|
|
314
|
+
const [, D] = j(a ?? ""), T = _e(g, e, c), S = J(T, D);
|
|
315
315
|
n(S);
|
|
316
316
|
}, [
|
|
317
317
|
n,
|
|
@@ -342,7 +342,7 @@ function G({ datePart: e, className: a }) {
|
|
|
342
342
|
className: a
|
|
343
343
|
}, i);
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function We(e) {
|
|
346
346
|
if (!e)
|
|
347
347
|
return null;
|
|
348
348
|
try {
|
|
@@ -397,7 +397,7 @@ const et = "_fields_1ofw4_1", tt = "_month_1ofw4_10", at = "_day_1ofw4_11", nt =
|
|
|
397
397
|
})), /* @__PURE__ */ t.createElement(l.Month, {
|
|
398
398
|
className: f.month
|
|
399
399
|
}, /* @__PURE__ */ t.createElement(l.Month.Label, {
|
|
400
|
-
className: E(
|
|
400
|
+
className: E(V, _.label)
|
|
401
401
|
}), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
|
|
402
402
|
className: e
|
|
403
403
|
}, /* @__PURE__ */ t.createElement(He, {
|
|
@@ -409,19 +409,19 @@ const et = "_fields_1ofw4_1", tt = "_month_1ofw4_10", at = "_day_1ofw4_11", nt =
|
|
|
409
409
|
}))), /* @__PURE__ */ t.createElement(l.Day, {
|
|
410
410
|
className: f.day
|
|
411
411
|
}, /* @__PURE__ */ t.createElement(l.Day.Label, {
|
|
412
|
-
className: E(
|
|
412
|
+
className: E(V, _.label)
|
|
413
413
|
}), /* @__PURE__ */ t.createElement(l.Day.Input, {
|
|
414
414
|
className: n
|
|
415
415
|
})), /* @__PURE__ */ t.createElement(l.Year, {
|
|
416
416
|
className: f.year
|
|
417
417
|
}, /* @__PURE__ */ t.createElement(l.Year.Label, {
|
|
418
|
-
className: E(
|
|
418
|
+
className: E(V, _.label)
|
|
419
419
|
}), /* @__PURE__ */ t.createElement(l.Year.Input, {
|
|
420
420
|
className: r
|
|
421
421
|
})), /* @__PURE__ */ t.createElement(l.Time, {
|
|
422
422
|
className: f.timeGroup
|
|
423
423
|
}, /* @__PURE__ */ t.createElement(l.Time.Label, {
|
|
424
|
-
className: E(
|
|
424
|
+
className: E(V, _.label)
|
|
425
425
|
}), /* @__PURE__ */ t.createElement(l.Time.Input, {
|
|
426
426
|
className: o
|
|
427
427
|
}, /* @__PURE__ */ t.createElement(l.Time.Hour, {
|
package/dist/component/{dext-checkbox-group-rac-D9UmRqnt.js → dext-checkbox-group-rac-Cho-hueW.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { C as p } from "./checkbox-group-field-rac-
|
|
2
|
+
import { bM as e, aN as t } from "./form-BG5UjjLA.js";
|
|
3
|
+
import { C as p } from "./checkbox-group-field-rac-DFUST9Th.js";
|
|
4
4
|
import { D as s } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const C = () => {
|
|
6
6
|
const r = {
|
package/dist/component/{dext-radio-group-rac-DOBaXXjq.js → dext-radio-group-rac-U6BNL7IT.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 { bM as e, aN as t } from "./form-BG5UjjLA.js";
|
|
3
|
+
import { R as p } from "./radio-group-field-rac-Ca2RlxOl.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 { bM as e, aN as o } from "./form-BG5UjjLA.js";
|
|
3
|
+
import { T as s } from "./tags-field-rac-D3zOYcC5.js";
|
|
4
4
|
import { b as a } from "./default-limits-D7qVv_Hv.js";
|
|
5
5
|
const l = () => {
|
|
6
6
|
const t = {
|