@wix/form-elements 1.160.0 → 1.162.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.
Files changed (115) hide show
  1. package/dist/component/{appointment-rac-BmHu56e5.js → appointment-rac-3Z1wiBX6.js} +366 -359
  2. package/dist/component/{bookings-address-rac-DY9l2g0h.js → bookings-address-rac-2zV-a8SW.js} +1 -1
  3. package/dist/component/{bookings-email-rac-B5vNSOsS.js → bookings-email-rac-C1WakVnh.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CJiefCNz.js → bookings-first-name-rac-6f18uXA0.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BFu7Ko5w.js → bookings-header-rac-BeaxlPQl.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DegMM13h.js → bookings-last-name-rac-CsLZaKfO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DrA-5tBH.js → bookings-login-bar-rac-B3TRivWU.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DsaeqxCI.js → bookings-phone-rac-BnFEknvv.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-jRHiwqi8.js → bookings-rich-text-rac-CFPqDZay.js} +1 -1
  10. package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
  11. package/dist/component/{checkbox-field-rac-CyoBb6Yf.js → checkbox-field-rac-DqGbxAd0.js} +45 -45
  12. package/dist/component/{checkbox-group-field-headless-Bv1gU3oL.js → checkbox-group-field-headless-CiobdaVa.js} +38 -38
  13. package/dist/component/{checkbox-group-field-rac-DasArcdV.js → checkbox-group-field-rac-Dxrc2F4x.js} +14 -14
  14. package/dist/component/{checkbox-group-rac-CzmufV1U.js → checkbox-group-rac-C3tL4YSr.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
  16. package/dist/component/{checkbox-rac-6C7XoUoZ.js → checkbox-rac-DhZsIMuk.js} +1 -1
  17. package/dist/component/{contacts-address-rac-BZobbFtz.js → contacts-address-rac--GiWpa6C.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-DIzf41DS.js → contacts-birthdate-rac-CmI2nPpr.js} +1 -1
  19. package/dist/component/{contacts-company-rac-BiBDO28r.js → contacts-company-rac-DcSLvPnR.js} +1 -1
  20. package/dist/component/{contacts-email-rac-5mqokCSD.js → contacts-email-rac-BLOIHGP9.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-BXe3_Nz5.js → contacts-first-name-rac-DgMCKLeE.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-Cfqgh7u1.js → contacts-last-name-rac-tcEQP1Db.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-cmLUWnAc.js → contacts-phone-rac-CK664cfW.js} +1 -1
  24. package/dist/component/{contacts-position-rac-DTyvklfN.js → contacts-position-rac-B8skwXy6.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-D-ZEX1A3.js → contacts-subscribe-rac-DQZYJjMo.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-B4NYJwWt.js → contacts-tax-id-rac-Ci24ixLu.js} +1 -1
  27. package/dist/component/{date-availability-Dach9aRC.js → date-availability-Va6_2NAZ.js} +1 -1
  28. package/dist/component/{date-input-field-rac-B72mHcya.js → date-input-field-rac-lAKyuHOI.js} +98 -98
  29. package/dist/component/{date-input-rac-CYix11gT.js → date-input-rac-ClEesupR.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-B8pvtPir.js → date-picker-field-rac-h45jfoso.js} +72 -72
  31. package/dist/component/{date-picker-rac-D6cR0zH9.js → date-picker-rac-B-pvqBn0.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-B7Y3Yf5l.js → date-time-input-field-rac-41QpurJp.js} +72 -72
  33. package/dist/component/{date-time-input-rac-DMN-noQX.js → date-time-input-rac-BQOUl7It.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-Kq0GnteP.js → dext-checkbox-group-rac-C4Q6tfBD.js} +2 -2
  35. package/dist/component/{dext-checkbox-rac-BY9GZ4n1.js → dext-checkbox-rac-Yo2PHNDA.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-CXArIddp.js → dext-date-picker-rac-jM9x8W6a.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-B39TtxGq.js → dext-date-time-input-rac-BgW_4WIg.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-C3y0G8cS.js → dext-dropdown-rac-DCL7D6-G.js} +1 -1
  39. package/dist/component/{dext-email-rac-BIg3cq7Q.js → dext-email-rac-Dz7yBqkd.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-27sHJ7yN.js → dext-number-input-rac-BdMjBpH9.js} +1 -1
  41. package/dist/component/{dext-phone-rac-CcohoFQp.js → dext-phone-rac-D2i9fXL3.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-eead3Gve.js → dext-radio-group-rac-Br2f1Ahx.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-B_E6OcBr.js → dext-rating-input-rac-OkfJ7Eb0.js} +1 -1
  44. package/dist/component/{dext-tags-rac-Yd9aAtnF.js → dext-tags-rac-43vDoDdM.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-CMACri2C.js → dext-text-area-rac-C072pWO9.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-sNjSCfQ-.js → dext-text-input-rac-BiHJpJCt.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-DwhbzJty.js → dext-url-input-rac-YOGYMj5C.js} +1 -1
  48. package/dist/component/{donation-rac-BVAN3kMk.js → donation-rac-fCt3mddA.js} +106 -106
  49. package/dist/component/{dropdown-field-rac-DdoGigWx.js → dropdown-field-rac-EQrQJ2-C.js} +4 -4
  50. package/dist/component/{dropdown-rac-CRkt5w47.js → dropdown-rac-MPCcjrFd.js} +1 -1
  51. package/dist/component/{ecom-address-rac-C36hFHW0.js → ecom-address-rac-DSgpHqzV.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-BKfQ348w.js → ecom-subscription-checkbox-rac-Dw6Ke0Fb.js} +2 -2
  53. package/dist/component/{email-input-field-rac-MOaISYxa.js → email-input-field-rac-DVmvH4u4.js} +80 -80
  54. package/dist/component/{events-repeater-rac-D6p-NgE8.js → events-repeater-rac-Uwpo7XF4.js} +25 -25
  55. package/dist/component/{events-rsvp-rac-DVpgN8gm.js → events-rsvp-rac-D2DJAkep.js} +4 -4
  56. package/dist/component/{field-error-headless-XNWmDH3E.js → field-error-headless-DAc8FpKI.js} +7 -7
  57. package/dist/component/{field-label-headless-CORRAJGt.js → field-label-headless-DxxwJtjh.js} +17 -17
  58. package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
  59. package/dist/component/{file-upload-rac-DRMr7E4b.js → file-upload-rac-CBKIeaxX.js} +194 -194
  60. package/dist/component/{fixed-payment-rac-BUXzNex9.js → fixed-payment-rac-BsCDoc1p.js} +20 -20
  61. package/dist/component/{form-DSpx-AO8.js → form-GAuLAdjq.js} +338 -347
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CiDXlNsa.js → header-field-rac-DtZCjzLJ.js} +6 -6
  65. package/dist/component/{header-rac-B5Rg-h8u.js → header-rac-B1hlVDf8.js} +1 -1
  66. package/dist/component/image-choice-rac-DQaCg_Xk.js +155 -0
  67. package/dist/component/{index-CwruESwc.js → index-BaVjVNYj.js} +5 -5
  68. package/dist/component/{index-Bz7ZhQsF.js → index-C1EXd9jU.js} +50 -50
  69. package/dist/component/{isObjectLike-C5dHxHP0.js → isObjectLike-m2dqIREj.js} +3 -3
  70. package/dist/component/{multiline-address-field-rac-Z-qF366L.js → multiline-address-field-rac-CMMdLb-J.js} +41 -41
  71. package/dist/component/{multiline-address-rac-CJIHTMw5.js → multiline-address-rac-VUQNp-Tz.js} +1 -1
  72. package/dist/component/{number-input-field-rac-D4vf6I6N.js → number-input-field-rac-B5bsGDKm.js} +24 -24
  73. package/dist/component/{number-input-rac-B2jW6JUQ.js → number-input-rac-BzzW0p9R.js} +1 -1
  74. package/dist/component/{password-rac-DGRZ17Jl.js → password-rac-2Rr7lvNO.js} +25 -25
  75. package/dist/component/{payment-input-rac-BtD-tAKv.js → payment-input-rac-CEUzIrJA.js} +31 -31
  76. package/dist/component/{phone-input-field-rac-KD4-APhr.js → phone-input-field-rac-BDBaqAzE.js} +59 -59
  77. package/dist/component/{phone-rac-Cw2yccgg.js → phone-rac-BTK8-tkq.js} +1 -1
  78. package/dist/component/{product-list-rac-XbzTDdbp.js → product-list-rac-1QbeT5RH.js} +43 -43
  79. package/dist/component/{quiz-radio-group-rac-BDw_mAw5.js → quiz-radio-group-rac-tn2CzdCu.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-CFGf0Hzh.js → radio-button-module-classes-aK1SQcLG.js} +30 -30
  81. package/dist/component/{radio-group-field-rac-CXN7tyVu.js → radio-group-field-rac-DlMXhW_S.js} +7 -7
  82. package/dist/component/{radio-group-rac-COHzqjBh.js → radio-group-rac-BmU_5tBK.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-DCXNZgf1.js → rating-input-field-rac-DUPJUAX2.js} +27 -27
  84. package/dist/component/{rating-input-rac-DwQt9ML7.js → rating-input-rac-BLhkZdj8.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-B7rPwNns.js → rich-content-rac.module-C9bGXB69.js} +5 -5
  86. package/dist/component/{rich-text-field-rac-DlER7NRD.js → rich-text-field-rac-CVqmsZzZ.js} +6 -6
  87. package/dist/component/{rich-text-rac-CjicsHA7.js → rich-text-rac-D8K6445F.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-B81LC_6_.js → service-dropdown-rac-PR_iLdmo.js} +31 -31
  89. package/dist/component/{services-multi-choice-rac-BR6gZeHk.js → services-multi-choice-rac-BvMadJCf.js} +19 -19
  90. package/dist/component/{signature-rac-XFj7Ddtp.js → signature-rac-Cpjv6kcl.js} +235 -235
  91. package/dist/component/{submit-button-rac-Bz7zs_3W.js → submit-button-rac-DpDk7cMb.js} +7 -7
  92. package/dist/component/{tags-field-rac-DWWkNKqc.js → tags-field-rac-DnyWNHXT.js} +67 -67
  93. package/dist/component/{tags-rac-BXyiQ9i1.js → tags-rac-D5Do7BNm.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DsIRYi0d.js → text-area-field-rac-DLBgla0L.js} +27 -27
  95. package/dist/component/{text-area-rac-CF9pDP9d.js → text-area-rac-Bfsl2gSn.js} +1 -1
  96. package/dist/component/{text-input-field-rac-BwIDZACz.js → text-input-field-rac-hLsUcQNw.js} +4 -4
  97. package/dist/component/{text-input-headless-5kQs2_Xu.js → text-input-headless-Otd7Uy7V.js} +13 -13
  98. package/dist/component/{text-input-rac-CRmSuw1k.js → text-input-rac-jpnc-v91.js} +1 -1
  99. package/dist/component/{time-input-rac-BRMNpe51.js → time-input-rac-DnjrmZZw.js} +26 -26
  100. package/dist/component/url-input-field-rac-C90NYHb8.js +77 -0
  101. package/dist/component/{url-input-rac-Dv-kp50D.js → url-input-rac-C3wfEnqs.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-BQi_qE_-.js → use-dropdown-option-class-name-CYkLlKBs.js} +12 -12
  103. package/dist/component/{use-dropdown-trigger-class-name-bAK8aHiG.js → use-dropdown-trigger-class-name-CTt4Z67m.js} +17 -17
  104. package/dist/component/{use-element-state-class-name-rXM_lHug.js → use-element-state-class-name-ByDw6j7c.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-BnV_uerV.js → use-hoverable-input-class-name-Duhgtn2I.js} +3 -3
  106. package/dist/component/use-is-forced-open-dropdown-B5gNY4Zm.js +53 -0
  107. package/dist/component/{use-service-options-base-CLeE9-Tx.js → use-service-options-base-DE-QaNDw.js} +8 -8
  108. package/dist/component/use-text-input-class-name-CmxSw6bY.js +6 -0
  109. package/dist/form.d.ts +3 -0
  110. package/package.json +2 -2
  111. package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
  112. package/dist/component/image-choice-rac-CtoA_KDp.js +0 -155
  113. package/dist/component/url-input-field-rac-CKLS3QDk.js +0 -77
  114. package/dist/component/use-is-forced-open-dropdown-Bp-5Xpmw.js +0 -53
  115. package/dist/component/use-text-input-class-name-DIKWvfkm.js +0 -6
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "classnames";
4
4
  import "@wix/fed-cli-i18next";
5
- import { aE as i, aZ as e } from "./form-DSpx-AO8.js";
5
+ import { aD as i, aY as e } from "./form-GAuLAdjq.js";
6
6
  export {
7
7
  i as default,
8
8
  e as defaultProps
@@ -1,8 +1,8 @@
1
1
  import m from "classnames";
2
2
  import e from "react";
3
- import { bz as u, bb as i, ba as C, bd as R, aM as d, au as T } from "./form-DSpx-AO8.js";
4
- import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-B7rPwNns.js";
5
- const f = ({ truncate: t = !0 } = {}) => {
3
+ import { by as u, ba as i, b9 as C, bc as R, aL as T, at as d } from "./form-GAuLAdjq.js";
4
+ import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-C9bGXB69.js";
5
+ const b = ({ truncate: t = !0 } = {}) => {
6
6
  const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
7
7
  colorPalette: R(),
8
8
  customStyles: {
@@ -10,8 +10,8 @@ const f = ({ truncate: t = !0 } = {}) => {
10
10
  ...i()
11
11
  }
12
12
  }), []), { displayedContent: o, isTruncated: r, isTruncateButtonShown: c, toggleTruncate: l } = g(a, t ? s : void 0);
13
- return /* @__PURE__ */ e.createElement(p, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(d, {
14
- className: m(T, S.richContent),
13
+ return /* @__PURE__ */ e.createElement(p, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(T, {
14
+ className: m(d, S.richContent),
15
15
  content: o,
16
16
  customTheme: n
17
17
  }), c && /* @__PURE__ */ e.createElement(h, {
@@ -20,5 +20,5 @@ const f = ({ truncate: t = !0 } = {}) => {
20
20
  })));
21
21
  };
22
22
  export {
23
- f as H
23
+ b as H
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { H as r } from "./header-field-rac-CiDXlNsa.js";
2
+ import { H as r } from "./header-field-rac-DtZCjzLJ.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as HeaderRAC
@@ -0,0 +1,155 @@
1
+ import e, { useMemo as H, useCallback as T, useRef as G } from "react";
2
+ import { RicosViewer as k } from "@wix/ricos/viewer";
3
+ import I from "classnames";
4
+ import { by as b, bv as x, bA as P, br as j, U as B, aa as q, Q as U, S as w, K, G as Q, R as V, f } from "./form-GAuLAdjq.js";
5
+ import { CheckboxGroup as z, CheckboxField as Y, CheckboxButton as $ } from "react-aria-components";
6
+ import { f as m, a as F } from "./find-child-C60k4CxG.js";
7
+ import { L as J, g as W } from "./field-label-headless-DxxwJtjh.js";
8
+ import { D as X, E as Z } from "./field-error-headless-DAc8FpKI.js";
9
+ import { F as ee } from "./fieldset-headless-CD3fds9J.js";
10
+ import { E as te } from "./error-icon-hZxQ6DEy.js";
11
+ import { s as O } from "./field-rac.module-ts2t4WUO.js";
12
+ import { u as ae } from "./use-element-state-class-name-ByDw6j7c.js";
13
+ const a = ({ children: t, className: n }) => {
14
+ const { id: s, value: o, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: g, FieldLayout: C } = b(), { inputId: L, labelId: _, ariaDescribedBy: N } = x(), S = m(t, a.Label), A = m(t, a.Options), D = m(t, a.Description), h = m(t, a.Error), M = H(() => o || [], [
15
+ o
16
+ ]), v = T((y) => {
17
+ i == null || i(y);
18
+ }, [
19
+ i
20
+ ]);
21
+ return /* @__PURE__ */ e.createElement(C, {
22
+ fieldId: s,
23
+ renderLabel: () => S,
24
+ renderInput: () => /* @__PURE__ */ e.createElement(ee, {
25
+ id: L,
26
+ ariaLabelledBy: _,
27
+ ariaDescribedBy: N,
28
+ required: c,
29
+ onBlur: u,
30
+ onFocus: p
31
+ }, /* @__PURE__ */ e.createElement(z, {
32
+ className: n,
33
+ "aria-labelledby": _,
34
+ value: M,
35
+ onChange: v,
36
+ isDisabled: l,
37
+ isReadOnly: r,
38
+ isRequired: c,
39
+ isInvalid: g
40
+ }, A)),
41
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, h, D)
42
+ });
43
+ }, R = ({ children: t, className: n }) => {
44
+ const { id: s, options: o, numberOfColumns: i } = b(), l = m(t, R.Option);
45
+ return /* @__PURE__ */ e.createElement("div", {
46
+ className: n,
47
+ "data-columns": i
48
+ }, o == null ? void 0 : o.map((r, c) => F(l, {
49
+ key: r.id || r.label,
50
+ option: r,
51
+ isFirst: c === 0,
52
+ fieldId: s
53
+ })));
54
+ }, oe = ({ className: t }) => /* @__PURE__ */ e.createElement("div", {
55
+ "aria-hidden": "true",
56
+ className: t
57
+ }), ne = ({ className: t, ...n }) => {
58
+ var u, p;
59
+ const { option: s } = n, { choiceImageResize: o, choiceImageAlignment: i } = b(), l = (u = s.media) == null ? void 0 : u.image, r = l && W(l, l.width, l.height);
60
+ if (!l || !r)
61
+ return /* @__PURE__ */ e.createElement("div", {
62
+ className: t,
63
+ "data-placeholder": !0,
64
+ "data-hook": "image-choice-option-image"
65
+ });
66
+ const c = ((p = s.media) == null ? void 0 : p.altText) || s.altText || l.altText || "";
67
+ return /* @__PURE__ */ e.createElement("img", {
68
+ className: t,
69
+ src: r,
70
+ alt: c,
71
+ "data-fit": o,
72
+ "data-alignment": i,
73
+ "data-hook": "image-choice-option-image"
74
+ });
75
+ }, se = ({ className: t, ...n }) => {
76
+ const { option: s } = n;
77
+ return !s.label || s.isLabelHidden ? null : /* @__PURE__ */ e.createElement("span", {
78
+ className: t
79
+ }, s.label);
80
+ }, d = ({ children: t, className: n, ...s }) => {
81
+ const { option: o, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError: u } = b(), p = G(null);
82
+ P(() => {
83
+ var _;
84
+ i && ((_ = p.current) == null || _.focus({
85
+ preventScroll: !0
86
+ }));
87
+ }, l);
88
+ const g = m(t, d.Input), C = m(t, d.Image), L = m(t, d.Label);
89
+ return /* @__PURE__ */ e.createElement(Y, {
90
+ value: o.label,
91
+ isDisabled: r,
92
+ isReadOnly: c,
93
+ isInvalid: u
94
+ }, /* @__PURE__ */ e.createElement($, {
95
+ ref: p,
96
+ "aria-label": o.isLabelHidden ? o.label : void 0,
97
+ className: n,
98
+ "data-hook": `image-choice-${o.label}`
99
+ }, g, F(C, {
100
+ option: o
101
+ }), F(L, {
102
+ option: o
103
+ })));
104
+ };
105
+ d.Input = oe;
106
+ d.Image = ne;
107
+ d.Label = se;
108
+ a.Label = J;
109
+ a.Options = R;
110
+ R.Option = d;
111
+ a.Description = X;
112
+ a.Error = Z;
113
+ const le = "_options_a5g3j_1", ie = "_optionInput_a5g3j_33", re = "_option_a5g3j_1", ce = "_optionHover_a5g3j_67", me = "_optionSelected_a5g3j_67", pe = "_optionLabel_a5g3j_107", Ee = "_optionImage_a5g3j_147", E = {
114
+ options: le,
115
+ optionInput: ie,
116
+ option: re,
117
+ optionHover: ce,
118
+ optionSelected: me,
119
+ optionLabel: pe,
120
+ optionImage: Ee
121
+ }, de = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(k, {
122
+ content: t,
123
+ locale: n
124
+ }), ue = {
125
+ base: E.option,
126
+ selected: E.optionSelected,
127
+ hover: E.optionHover
128
+ }, Ie = () => {
129
+ const t = ae({
130
+ globalClasses: V,
131
+ moduleClasses: ue
132
+ }), n = j(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
133
+ return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
134
+ className: I(B, O.label)
135
+ }, /* @__PURE__ */ e.createElement(a.Label.Required, {
136
+ className: I(q, O.requiredMark)
137
+ })), /* @__PURE__ */ e.createElement(a.Options, {
138
+ className: I(U, E.options)
139
+ }, /* @__PURE__ */ e.createElement(a.Options.Option, {
140
+ className: t
141
+ }, /* @__PURE__ */ e.createElement(a.Options.Option.Input, {
142
+ className: E.optionInput
143
+ }), /* @__PURE__ */ e.createElement(a.Options.Option.Image, {
144
+ className: I(w, E.optionImage, n)
145
+ }), /* @__PURE__ */ e.createElement(a.Options.Option.Label, {
146
+ className: E.optionLabel
147
+ }))), /* @__PURE__ */ e.createElement(a.Error, {
148
+ className: I(K, O.error)
149
+ }, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
150
+ className: I(Q, O.description)
151
+ }, de));
152
+ }, De = () => /* @__PURE__ */ e.createElement(Ie, null);
153
+ export {
154
+ De as ImageChoiceRAC
155
+ };
@@ -1,5 +1,5 @@
1
- import { bi as n } from "./form-DSpx-AO8.js";
2
- import { A as N, a as S, C as p, aN as g, b2 as q, b3 as D, bk as L } from "./form-DSpx-AO8.js";
1
+ import { bh as n } from "./form-GAuLAdjq.js";
2
+ import { A as S, a as p, C as N, aM as g, b1 as q, b2 as D, bj as L } from "./form-GAuLAdjq.js";
3
3
  const l = (e = !1) => ({
4
4
  country: {
5
5
  required: e
@@ -52,9 +52,9 @@ function m(e, r) {
52
52
  }, t == null ? void 0 : t.key).replace(/^[\s,]+|[\s,]+$/g, "");
53
53
  }
54
54
  export {
55
- N as ADDRESS_FORM_IDS,
56
- S as ADDRESS_FORM_ID_BY_COUNTRY,
57
- p as COUNTRY_CODES,
55
+ S as ADDRESS_FORM_IDS,
56
+ p as ADDRESS_FORM_ID_BY_COUNTRY,
57
+ N as COUNTRY_CODES,
58
58
  g as MultilineAddressToolkit,
59
59
  m as formatMultilineAddress,
60
60
  q as getCountryField,
@@ -1,13 +1,13 @@
1
- import { e as R, aU as _, b7 as de, aV as g, aA as Ge, B as Be, aO as qe, aH as He, aG as I, aP as Ee, aY as re, aS as Fe, c as B, aI as M, bj as Te, aK as je, aJ as he, aL as q } from "./form-DSpx-AO8.js";
2
- import { be as Mn } from "./form-DSpx-AO8.js";
1
+ import { e as R, aT as _, b6 as de, aU as g, az as Ge, B as Be, aN as qe, aG as He, aF as A, aO as Ee, aX as re, aR as Fe, c as B, aH as M, bi as Te, aJ as je, aI as he, aK as q } from "./form-GAuLAdjq.js";
2
+ import { bd as Mn } from "./form-GAuLAdjq.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-Dach9aRC.js";
10
- import { a as Sn } from "./date-availability-Dach9aRC.js";
9
+ import { p as Qe, i as et } from "./date-availability-Va6_2NAZ.js";
10
+ import { a as Sn } from "./date-availability-Va6_2NAZ.js";
11
11
  import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
12
12
  function rt(e) {
13
13
  var t, r;
@@ -274,10 +274,10 @@ function Tt() {
274
274
  e.exports = s;
275
275
  })(X, X.exports)), X.exports;
276
276
  }
277
- var Ae = H.exports, Ie;
277
+ var Ie = H.exports, Ae;
278
278
  function ht() {
279
- return Ie || (Ie = 1, (function(e, t) {
280
- var r = Ae && Ae.__importDefault || function(i) {
279
+ return Ae || (Ae = 1, (function(e, t) {
280
+ var r = Ie && Ie.__importDefault || function(i) {
281
281
  return i && i.__esModule ? i : { default: i };
282
282
  };
283
283
  Object.defineProperty(t, "__esModule", { value: !0 });
@@ -286,7 +286,7 @@ function ht() {
286
286
  })(H, H.exports)), H.exports;
287
287
  }
288
288
  var Rt = ht();
289
- const At = /* @__PURE__ */ de(Rt);
289
+ const It = /* @__PURE__ */ de(Rt);
290
290
  function h(e, t, r) {
291
291
  if (typeof w(e) < "u")
292
292
  return e;
@@ -298,7 +298,7 @@ function w(e) {
298
298
  function j(e) {
299
299
  return w(e) !== void 0;
300
300
  }
301
- function It(e) {
301
+ function At(e) {
302
302
  return e !== null;
303
303
  }
304
304
  const Nt = [
@@ -899,7 +899,7 @@ function jt(e, t, r) {
899
899
  allErrors: !0,
900
900
  multipleOfPrecision: 8
901
901
  });
902
- return We(i), vt(i, t), Ut(i, t, r), ke(i), At(i), s.forEach((o) => {
902
+ return We(i), vt(i, t), Ut(i, t, r), ke(i), It(i), s.forEach((o) => {
903
903
  if (!i.getSchema(h(o.id, o, "id"))) {
904
904
  const u = e(o);
905
905
  u && i.addSchema(u);
@@ -912,7 +912,7 @@ var y = /* @__PURE__ */ (function(e) {
912
912
  })({});
913
913
  function Xt(e, t) {
914
914
  return function(c) {
915
- const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), O = r(m, T), N = t === g.UNRESTRICTED_UPDATE ? [] : m.filter((A) => !u(A)).filter(i).map((A) => h(A.target, A, "target"));
915
+ const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), O = r(m, T), N = t === g.UNRESTRICTED_UPDATE ? [] : m.filter((I) => !u(I)).filter(i).map((I) => h(I.target, I, "target"));
916
916
  return {
917
917
  $id: h(c.id, c, "id"),
918
918
  type: y.OBJECT,
@@ -1296,13 +1296,13 @@ const ge = {
1296
1296
  properties: {
1297
1297
  startDate: {
1298
1298
  string: {
1299
- format: I.DATE_TIME
1299
+ format: A.DATE_TIME
1300
1300
  },
1301
1301
  required: !0
1302
1302
  },
1303
1303
  endDate: {
1304
1304
  string: {
1305
- format: I.DATE_TIME
1305
+ format: A.DATE_TIME
1306
1306
  },
1307
1307
  required: !0
1308
1308
  },
@@ -1329,23 +1329,23 @@ function or() {
1329
1329
  d === void 0 && (d = {});
1330
1330
  var m = new Date(c), T = (function(O, N) {
1331
1331
  N === void 0 && (N = {});
1332
- var A = N.timeZoneName || "short", P = O + "|" + A, D = n[P];
1333
- return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: O, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: A }), n[P] = D), D;
1332
+ var I = N.timeZoneName || "short", P = O + "|" + I, D = n[P];
1333
+ return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: O, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), n[P] = D), D;
1334
1334
  })(E, d);
1335
1335
  return T.formatToParts(m);
1336
1336
  }, f = function(c, E) {
1337
1337
  for (var d = u(c, E), m = [], T = 0; T < d.length; T += 1) {
1338
- var O = d[T], N = O.type, A = O.value, P = r[N];
1339
- P >= 0 && (m[P] = parseInt(A, 10));
1338
+ var O = d[T], N = O.type, I = O.value, P = r[N];
1339
+ P >= 0 && (m[P] = parseInt(I, 10));
1340
1340
  }
1341
1341
  var D = m[3], F = D === 24 ? 0 : D, b = m[0] + "-" + m[1] + "-" + m[2] + " " + F + ":" + m[4] + ":" + m[5] + ":000", L = +c;
1342
1342
  return (o.utc(b).valueOf() - (L -= L % 1e3)) / 6e4;
1343
1343
  }, l = i.prototype;
1344
1344
  l.tz = function(c, E) {
1345
1345
  c === void 0 && (c = a);
1346
- var d, m = this.utcOffset(), T = this.toDate(), O = T.toLocaleString("en-US", { timeZone: c }), N = Math.round((T - new Date(O)) / 1e3 / 60), A = 15 * -Math.round(T.getTimezoneOffset() / 15) - N;
1347
- if (!Number(A)) d = this.utcOffset(0, E);
1348
- else if (d = o(O, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(A, !0), E) {
1346
+ var d, m = this.utcOffset(), T = this.toDate(), O = T.toLocaleString("en-US", { timeZone: c }), N = Math.round((T - new Date(O)) / 1e3 / 60), I = 15 * -Math.round(T.getTimezoneOffset() / 15) - N;
1347
+ if (!Number(I)) d = this.utcOffset(0, E);
1348
+ else if (d = o(O, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(I, !0), E) {
1349
1349
  var P = d.utcOffset();
1350
1350
  d = d.add(m - P, "minute");
1351
1351
  }
@@ -1369,7 +1369,7 @@ function or() {
1369
1369
  if (b === $) return [C, b];
1370
1370
  var se = f(C -= 60 * ($ - b) * 1e3, L);
1371
1371
  return $ === se ? [C, $] : [F - 60 * Math.min($, se) * 1e3, Math.max($, se)];
1372
- })(o.utc(c, m).valueOf(), O, T), A = N[0], P = N[1], D = o(A).utcOffset(P);
1372
+ })(o.utc(c, m).valueOf(), O, T), I = N[0], P = N[1], D = o(I).utcOffset(P);
1373
1373
  return D.$x.$timezone = T, D;
1374
1374
  }, o.tz.guess = function() {
1375
1375
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -1424,10 +1424,10 @@ function mr() {
1424
1424
  })(m), m === null)) return this;
1425
1425
  var N = Math.abs(m) <= 16 ? 60 * m : m;
1426
1426
  if (N === 0) return this.utc(T);
1427
- var A = this.clone();
1428
- if (T) return A.$offset = N, A.$u = !1, A;
1427
+ var I = this.clone();
1428
+ if (T) return I.$offset = N, I.$u = !1, I;
1429
1429
  var P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1430
- return (A = this.local().add(N + P, r)).$offset = N, A.$x.$localOffset = P, A;
1430
+ return (I = this.local().add(N + P, r)).$offset = N, I.$x.$localOffset = P, I;
1431
1431
  };
1432
1432
  var c = u.format;
1433
1433
  u.format = function(m) {
@@ -1450,8 +1450,8 @@ function mr() {
1450
1450
  var d = u.diff;
1451
1451
  u.diff = function(m, T, O) {
1452
1452
  if (m && this.$u === m.$u) return d.call(this, m, T, O);
1453
- var N = this.local(), A = a(m).local();
1454
- return d.call(N, A, T, O);
1453
+ var N = this.local(), I = a(m).local();
1454
+ return d.call(N, I, T, O);
1455
1455
  };
1456
1456
  };
1457
1457
  }));
@@ -1475,20 +1475,20 @@ function hr(e, t, r = () => /* @__PURE__ */ new Date(), n) {
1475
1475
  } : s;
1476
1476
  }
1477
1477
  function ae(e, t, r, n) {
1478
- if (!r || Ar(r))
1478
+ if (!r || Ir(r))
1479
1479
  return r;
1480
1480
  if (Rr(r)) {
1481
- const s = n ? re(t().toISOString()).tz(n) : pr(t().toISOString()), i = Ir(r, s);
1482
- return i ? e === I.DATE_TIME || e === I.DATE_OPTIONAL_TIME || !n ? i.utc().format(Me(e)) : i.format(Me(e)) : void 0;
1481
+ const s = n ? re(t().toISOString()).tz(n) : pr(t().toISOString()), i = Ar(r, s);
1482
+ return i ? e === A.DATE_TIME || e === A.DATE_OPTIONAL_TIME || !n ? i.utc().format(Me(e)) : i.format(Me(e)) : void 0;
1483
1483
  }
1484
1484
  }
1485
1485
  function Rr(e) {
1486
1486
  return we.test(e);
1487
1487
  }
1488
- function Ar(e) {
1488
+ function Ir(e) {
1489
1489
  return lr.test(e) || Er.test(e) || Tr.test(e);
1490
1490
  }
1491
- function Ir(e, t) {
1491
+ function Ar(e, t) {
1492
1492
  if (e === "$now")
1493
1493
  return t;
1494
1494
  try {
@@ -1525,12 +1525,12 @@ function Or(e) {
1525
1525
  }
1526
1526
  function Me(e) {
1527
1527
  switch (e) {
1528
- case I.DATE:
1528
+ case A.DATE:
1529
1529
  return "YYYY-MM-DD";
1530
- case I.TIME:
1530
+ case A.TIME:
1531
1531
  return "HH:mm:ss";
1532
- case I.DATE_TIME:
1533
- case I.DATE_OPTIONAL_TIME:
1532
+ case A.DATE_TIME:
1533
+ case A.DATE_OPTIONAL_TIME:
1534
1534
  return "YYYY-MM-DDTHH:mm:ss[Z]";
1535
1535
  default:
1536
1536
  return;
@@ -1573,43 +1573,43 @@ function Dr(e) {
1573
1573
  } : {};
1574
1574
  }
1575
1575
  const Mr = {
1576
- [I.DATE]: [
1576
+ [A.DATE]: [
1577
1577
  "date"
1578
1578
  ],
1579
- [I.TIME]: [
1579
+ [A.TIME]: [
1580
1580
  "time"
1581
1581
  ],
1582
- [I.DATE_TIME]: [
1582
+ [A.DATE_TIME]: [
1583
1583
  "date-time"
1584
1584
  ],
1585
- [I.EMAIL]: [
1585
+ [A.EMAIL]: [
1586
1586
  "email"
1587
1587
  ],
1588
- [I.URL]: [
1588
+ [A.URL]: [
1589
1589
  "url"
1590
1590
  ],
1591
- [I.UUID]: [
1591
+ [A.UUID]: [
1592
1592
  "uuid"
1593
1593
  ],
1594
- [I.PHONE]: [
1594
+ [A.PHONE]: [
1595
1595
  "phone"
1596
1596
  ],
1597
- [I.URI]: [
1597
+ [A.URI]: [
1598
1598
  "uri"
1599
1599
  ],
1600
- [I.HOSTNAME]: [
1600
+ [A.HOSTNAME]: [
1601
1601
  "hostname"
1602
1602
  ],
1603
- [I.COLOR_HEX]: [
1603
+ [A.COLOR_HEX]: [
1604
1604
  "color-hex"
1605
1605
  ],
1606
- [I.CURRENCY]: [
1606
+ [A.CURRENCY]: [
1607
1607
  "currency"
1608
1608
  ],
1609
- [I.LANGUAGE]: [
1609
+ [A.LANGUAGE]: [
1610
1610
  "language"
1611
1611
  ],
1612
- [I.DATE_OPTIONAL_TIME]: [
1612
+ [A.DATE_OPTIONAL_TIME]: [
1613
1613
  "date-time",
1614
1614
  "date"
1615
1615
  ],
@@ -1974,7 +1974,7 @@ function Gr(e, t) {
1974
1974
  ...t.fields ?? [],
1975
1975
  ...t.deletedFields ?? []
1976
1976
  ].filter(Se).reduce((i, o) => (i[h(o.target, o, "target")] = o, i), {});
1977
- return r.map((i) => Br(i, n[h(i.target, i, "target")])).filter(It);
1977
+ return r.map((i) => Br(i, n[h(i.target, i, "target")])).filter(At);
1978
1978
  }
1979
1979
  function Br(e, t) {
1980
1980
  if (!t)
@@ -2015,7 +2015,7 @@ function pe(e, t) {
2015
2015
  }
2016
2016
  }
2017
2017
  function qr(e, t) {
2018
- const r = e.format ?? I.UNDEFINED, n = t.format ?? I.UNDEFINED;
2018
+ const r = e.format ?? A.UNDEFINED, n = t.format ?? A.UNDEFINED;
2019
2019
  return r !== n ? {
2020
2020
  errorMessage: "Incompatible string format",
2021
2021
  params: {
@@ -1,4 +1,4 @@
1
- import { aW as c } from "./form-DSpx-AO8.js";
1
+ import { aV as c } from "./form-GAuLAdjq.js";
2
2
  var b, d;
3
3
  function k() {
4
4
  if (d) return b;
@@ -68,7 +68,7 @@ function U() {
68
68
  return v = r, v;
69
69
  }
70
70
  var T, p;
71
- function W() {
71
+ function V() {
72
72
  if (p) return T;
73
73
  p = 1;
74
74
  function r(e) {
@@ -77,7 +77,7 @@ function W() {
77
77
  return T = r, T;
78
78
  }
79
79
  export {
80
- W as a,
80
+ V as a,
81
81
  R as b,
82
82
  N as c,
83
83
  k as d,