@wix/form-elements 1.132.0 → 1.134.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 (114) hide show
  1. package/dist/component/{appointment-rac-DMYXIOL3.js → appointment-rac-CZHb5jGz.js} +246 -246
  2. package/dist/component/{bookings-address-rac-D6Ot6vm7.js → bookings-address-rac-F39MfGmX.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CkPflUxK.js → bookings-email-rac-D4CurQjr.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-BbDv4BQw.js → bookings-first-name-rac-Bz9o1eLl.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DJodBCf4.js → bookings-header-rac-6mfX0WGf.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C4PRt2XO.js → bookings-last-name-rac-CD1-B7Ao.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-MPcFtzUB.js → bookings-login-bar-rac-2eQkfhBb.js} +17 -17
  8. package/dist/component/{bookings-phone-rac-BnaiOxWV.js → bookings-phone-rac-X6sSnHiH.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cwp6pBC_.js → bookings-rich-text-rac-f2artJnn.js} +1 -1
  10. package/dist/component/{calendar.module-DnhTT4QT.js → calendar.module-CKCBG_Pg.js} +11 -11
  11. package/dist/component/{checkbox-field-rac-BA-67OHo.js → checkbox-field-rac-DoZ9bcw3.js} +26 -25
  12. package/dist/component/{checkbox-group-field-headless-B20gxYEt.js → checkbox-group-field-headless-B-d37T4z.js} +32 -31
  13. package/dist/component/{checkbox-group-field-rac--uloIFS6.js → checkbox-group-field-rac-0qYHz3g1.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-CYt86YIr.js → checkbox-group-rac-BqUJdAju.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-Bqo0QILF.js → checkbox-indicator-module-classes-6173wvuW.js} +1 -1
  16. package/dist/component/{checkbox-rac-4FLDh24V.js → checkbox-rac-BN-qNzpH.js} +1 -1
  17. package/dist/component/{contacts-address-rac-BU2H0MEF.js → contacts-address-rac-B7vWOTFf.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-DXITbTMA.js → contacts-birthdate-rac-Dl0OatzW.js} +1 -1
  19. package/dist/component/{contacts-company-rac-D_BKjGc8.js → contacts-company-rac-DIeGU0Bf.js} +1 -1
  20. package/dist/component/{contacts-email-rac-CfYSUKJ3.js → contacts-email-rac-BCH6ogWv.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-DYZUgWsB.js → contacts-first-name-rac-Cx-USWmx.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-m-zqIpMB.js → contacts-last-name-rac-CUZdJI9J.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-nJDsO_Y8.js → contacts-phone-rac-hNCW_2UC.js} +1 -1
  24. package/dist/component/{contacts-position-rac-CAGdJXSW.js → contacts-position-rac-CJfOgxZc.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-jwP65ngO.js → contacts-subscribe-rac-69721_c9.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-DUOQlZ3c.js → contacts-tax-id-rac-CXXBqWIm.js} +1 -1
  27. package/dist/component/{date-availability-EbJKjV1U.js → date-availability-NQGPIrdZ.js} +1 -1
  28. package/dist/component/{date-input-field-rac-CZRcW-0J.js → date-input-field-rac-C-we-suG.js} +60 -60
  29. package/dist/component/{date-input-rac-CasoMjfj.js → date-input-rac-Cif7Bqxc.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-V9MRWrj-.js → date-picker-field-rac-CHDkTXVH.js} +63 -63
  31. package/dist/component/{date-picker-rac-Cu5wTh1_.js → date-picker-rac-DdhgbY6W.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-YGqLIle1.js → date-time-input-field-rac-BjtDbiqE.js} +7 -7
  33. package/dist/component/{date-time-input-rac-DCEyREJI.js → date-time-input-rac-BDP5SN-i.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-DLB5mAwB.js → dext-checkbox-group-rac-CkF41kIR.js} +2 -2
  35. package/dist/component/{dext-checkbox-rac-DFV7ixAO.js → dext-checkbox-rac-DjYpsxmq.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-CEL2X1ID.js → dext-date-picker-rac-BxXZLogr.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-yLdCLDbQ.js → dext-date-time-input-rac-e4y_JjEx.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-ti_P0L_X.js → dext-dropdown-rac-DsjB3ZX7.js} +1 -1
  39. package/dist/component/{dext-email-rac-CnvdVz-J.js → dext-email-rac-ClPp1g4D.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-CmGt691Y.js → dext-number-input-rac-D2nZNzyN.js} +1 -1
  41. package/dist/component/{dext-phone-rac-JEZkz4gZ.js → dext-phone-rac-PNiQZ-Lr.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-CUk6wUPl.js → dext-radio-group-rac-DUltmMHM.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Q1J5oqhZ.js → dext-rating-input-rac-C_apsfGT.js} +1 -1
  44. package/dist/component/{dext-tags-rac-DU9FLeGu.js → dext-tags-rac-DkB_CmOD.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-D1FOCK6O.js → dext-text-area-rac-CfoIK0S7.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-Dzb5lQjK.js → dext-text-input-rac-CIOXlk6U.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-cRLFpiNR.js → dext-url-input-rac-UHJAs3ck.js} +1 -1
  48. package/dist/component/{donation-rac-CV-PnK1D.js → donation-rac-BJfvVi_d.js} +49 -52
  49. package/dist/component/{dropdown-field-headless-D1e2XbNj.js → dropdown-field-headless-0DB-T-3t.js} +5 -5
  50. package/dist/component/{dropdown-field-rac-DkeVkP9c.js → dropdown-field-rac-DB-pd2a8.js} +5 -5
  51. package/dist/component/{dropdown-rac-ChlsWwyp.js → dropdown-rac-4T4zRBVy.js} +1 -1
  52. package/dist/component/{ecom-address-rac-DvHJ4Ym-.js → ecom-address-rac-BjWD1sRX.js} +1 -1
  53. package/dist/component/{ecom-subscription-checkbox-rac-D3LX7FVx.js → ecom-subscription-checkbox-rac-CYCufut6.js} +2 -2
  54. package/dist/component/{email-input-field-rac-B8OCp4L9.js → email-input-field-rac-DlLoY9jB.js} +4 -4
  55. package/dist/component/{events-repeater-rac-BO0-VcV3.js → events-repeater-rac-CPHJbWcZ.js} +48 -47
  56. package/dist/component/{events-rsvp-rac-CnULPDrG.js → events-rsvp-rac-NXf8Fv3A.js} +4 -4
  57. package/dist/component/{field-error-headless-DwlihJqC.js → field-error-headless-C-wyL0uw.js} +1 -1
  58. package/dist/component/{field-label-headless-C_cMy8vP.js → field-label-headless-32mvEUId.js} +1 -1
  59. package/dist/component/field-rac.module-DfEb7pBp.js +25 -0
  60. package/dist/component/file-upload-rac-BicD_Bhj.js +566 -0
  61. package/dist/component/{fixed-payment-rac-ameH1syZ.js → fixed-payment-rac-DxHalHUv.js} +4 -4
  62. package/dist/component/{form-GcotNutn.js → form-B2wZnWX9.js} +69 -69
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-D2fpKxIz.js → header-field-rac-C47Te_oW.js} +2 -2
  66. package/dist/component/{header-rac-DdWMo2xZ.js → header-rac-ChDYKTx5.js} +1 -1
  67. package/dist/component/{image-choice-rac-CBaUQX8m.js → image-choice-rac-CqTBWpcY.js} +56 -59
  68. package/dist/component/{index-nOv_Pf2O.js → index-BF_Aifc-.js} +4 -4
  69. package/dist/component/{index-CAktfVsx.js → index-Br8x_xx8.js} +2 -2
  70. package/dist/component/{isObjectLike-t9SwprFt.js → isObjectLike-D4VXbd0T.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-DpMPlfjM.js → multiline-address-field-rac-DYcfzGJb.js} +8 -8
  72. package/dist/component/{multiline-address-rac-D1XtQuAy.js → multiline-address-rac-DcGDGyL-.js} +1 -1
  73. package/dist/component/{number-input-field-rac-CFFU1JrK.js → number-input-field-rac-C_Fh8oeD.js} +5 -5
  74. package/dist/component/{number-input-rac-BDs3ngbf.js → number-input-rac-J2tCaAYx.js} +1 -1
  75. package/dist/component/{password-rac-jRXGfQn_.js → password-rac-wlfBhft8.js} +5 -5
  76. package/dist/component/{payment-input-rac-BAkJqSyU.js → payment-input-rac-DKxy3uE0.js} +5 -5
  77. package/dist/component/{phone-input-field-rac-D_1jDl7O.js → phone-input-field-rac-ClXUOLpB.js} +117 -117
  78. package/dist/component/{phone-rac-DyinFMYS.js → phone-rac-D0-Poz1e.js} +1 -1
  79. package/dist/component/{product-list-rac-BkUvhZMi.js → product-list-rac-TF5fgLyc.js} +69 -68
  80. package/dist/component/{quiz-radio-group-rac-Cha9jkTD.js → quiz-radio-group-rac-BX4V_6wg.js} +1 -1
  81. package/dist/component/{radio-button-module-classes-WQaDTnal.js → radio-button-module-classes-D8UpzVUK.js} +18 -17
  82. package/dist/component/{radio-group-field-rac-Cr35UXlg.js → radio-group-field-rac-C0zCVtjj.js} +5 -5
  83. package/dist/component/{radio-group-rac-BGRYJcwQ.js → radio-group-rac-DrKqgPRT.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-C_X51vxl.js → rating-input-field-rac-DjxfTgv5.js} +35 -33
  85. package/dist/component/{rating-input-rac-B-usRVpy.js → rating-input-rac-DO4Bpdj3.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-Bed3DsK7.js → rich-content-rac.module-DUNKiTkT.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-SHHiInVy.js → rich-text-field-rac-DIOTzVwj.js} +2 -2
  88. package/dist/component/{rich-text-rac-CND63R3E.js → rich-text-rac-C_E_vEGz.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-BdfxJ1Zq.js → service-dropdown-rac-B3gQT9Tj.js} +6 -6
  90. package/dist/component/{services-multi-choice-rac-D6BdQ2xE.js → services-multi-choice-rac-D40hZhBB.js} +7 -7
  91. package/dist/component/{signature-rac-xuYTsTUB.js → signature-rac-CKXpb2WN.js} +307 -301
  92. package/dist/component/{submit-button-rac-7YwnpPtu.js → submit-button-rac-CDS-vtXq.js} +39 -39
  93. package/dist/component/{tags-field-rac-ChzPiPvQ.js → tags-field-rac-CdQWq8k5.js} +72 -75
  94. package/dist/component/{tags-rac-BScWp3da.js → tags-rac-BwChqdGx.js} +1 -1
  95. package/dist/component/{text-area-field-rac-CDEJUPgV.js → text-area-field-rac-VCFJuHx4.js} +5 -5
  96. package/dist/component/{text-area-rac-CwiF24AW.js → text-area-rac-BICVNsdn.js} +1 -1
  97. package/dist/component/{text-input-field-rac-vg2b_7it.js → text-input-field-rac-C9gyRhcK.js} +4 -4
  98. package/dist/component/{text-input-headless-BdD-dAx2.js → text-input-headless-BdkaD-re.js} +3 -3
  99. package/dist/component/{text-input-rac-yX6rdvri.js → text-input-rac-B7buOGbq.js} +1 -1
  100. package/dist/component/{time-input-rac-B_kYmOwq.js → time-input-rac-CSFhEYi0.js} +5 -5
  101. package/dist/component/{url-input-field-rac-NJqyqxLi.js → url-input-field-rac-BIXokgHy.js} +5 -5
  102. package/dist/component/{url-input-rac-BqIKc9nY.js → url-input-rac-tTN0GaTH.js} +1 -1
  103. package/dist/component/{use-dropdown-option-class-name-DFW55r3E.js → use-dropdown-option-class-name-C6zB6TNA.js} +3 -3
  104. package/dist/component/{use-dropdown-trigger-class-name-Df-nqoeG.js → use-dropdown-trigger-class-name-CEq68SuK.js} +2 -2
  105. package/dist/component/use-element-state-class-name-BFZzVwqe.js +23 -0
  106. package/dist/component/use-hoverable-input-class-name-CzZmczhf.js +25 -0
  107. package/dist/component/{use-service-options-base-B64QpFwc.js → use-service-options-base-DOCVW9ax.js} +1 -1
  108. package/dist/component/use-text-input-class-name-BNX3qkmh.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-BIBNQEOK.js +0 -25
  111. package/dist/component/file-upload-rac-CjBKgUCk.js +0 -561
  112. package/dist/component/use-element-state-class-name-D008EeZn.js +0 -20
  113. package/dist/component/use-hoverable-input-class-name-CVtF0FGy.js +0 -23
  114. package/dist/component/use-text-input-class-name-BSDU7QEO.js +0 -6
@@ -4,20 +4,20 @@ import t, { useMemo as O, useState as G, useCallback as H, useRef as U, useConte
4
4
  import { parseTime as le } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as ie } from "react-aria";
6
6
  import { ListBoxItem as ce, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as J, DateInput as pe, DateSegment as B, TimeFieldStateContext as Ee } from "react-aria-components";
7
- import { bh as f, be as W, b9 as $, aO as X, a$ as Z, aB as d, br as L, b3 as K, aQ as fe, aI as he, b6 as be, aK as j, bj as z, I as R, U as ge, K as Ie, v as Ne, p as De } from "./form-GcotNutn.js";
7
+ import { bh as f, be as W, b9 as $, aO as X, a$ as Z, aB as d, br as L, b3 as K, aQ as fe, aI as he, b6 as be, aK as j, bj as z, I as R, U as ge, K as Ie, v as Ne, p as De } from "./form-B2wZnWX9.js";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
9
  import { g as _e } from "./helpers-HmkkXrh2.js";
10
- import { D as ye, E as Te } from "./field-error-headless-DwlihJqC.js";
11
- import { L as Oe } from "./field-label-headless-C_cMy8vP.js";
10
+ import { D as ye, E as Te } from "./field-error-headless-C-wyL0uw.js";
11
+ import { L as Oe } from "./field-label-headless-32mvEUId.js";
12
12
  import { F as Le } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Ce, E as Fe, S as Pe } from "./non-modal-popover-D-u13tmp.js";
14
- import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-Df-nqoeG.js";
15
- import { V as Re, u as Ae } from "./use-dropdown-option-class-name-DFW55r3E.js";
14
+ import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-CEq68SuK.js";
15
+ import { V as Re, u as Ae } from "./use-dropdown-option-class-name-C6zB6TNA.js";
16
16
  import { C as Ve } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as ve } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as k } from "./custom-focus-class-_483Pkwp.js";
19
- import { s as g } from "./field-rac.module-BIBNQEOK.js";
20
- import { u as x } from "./use-text-input-class-name-BSDU7QEO.js";
19
+ import { s as g } from "./field-rac.module-DfEb7pBp.js";
20
+ import { u as x } from "./use-text-input-class-name-BNX3qkmh.js";
21
21
  const l = ({ children: e, className: a }) => {
22
22
  const { id: n, required: r, onBlur: s, onFocus: o, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = W(), { regionalFormat: p } = $(), _ = O(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
23
23
  p
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-YGqLIle1.js";
2
+ import { D as t } from "./date-time-input-field-rac-BjtDbiqE.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DateTimeInputRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
- import { bh as e, aj as t } from "./form-GcotNutn.js";
3
- import { C as p } from "./checkbox-group-field-rac--uloIFS6.js";
2
+ import { bh as e, aj as t } from "./form-B2wZnWX9.js";
3
+ import { C as p } from "./checkbox-group-field-rac-0qYHz3g1.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
5
  const C = () => {
6
6
  const r = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-BA-67OHo.js";
2
+ import { C as t } from "./checkbox-field-rac-DoZ9bcw3.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as DextCheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-picker-field-rac-V9MRWrj-.js";
2
+ import { D as t } from "./date-picker-field-rac-CHDkTXVH.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextDatePickerRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-YGqLIle1.js";
2
+ import { D as t } from "./date-time-input-field-rac-BjtDbiqE.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DkeVkP9c.js";
2
+ import { D as r } from "./dropdown-field-rac-DB-pd2a8.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DextDropdownRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-B8OCp4L9.js";
2
+ import { E as e } from "./email-input-field-rac-DlLoY9jB.js";
3
3
  const l = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  l as DextEmailRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as t } from "./number-input-field-rac-CFFU1JrK.js";
2
+ import { N as t } from "./number-input-field-rac-C_Fh8oeD.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextNumberInputRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as t } from "./phone-input-field-rac-D_1jDl7O.js";
2
+ import { P as t } from "./phone-input-field-rac-ClXUOLpB.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bh as e, aj as t } from "./form-GcotNutn.js";
3
- import { R as p } from "./radio-group-field-rac-Cr35UXlg.js";
2
+ import { bh as e, aj as t } from "./form-B2wZnWX9.js";
3
+ import { R as p } from "./radio-group-field-rac-C0zCVtjj.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-C_X51vxl.js";
2
+ import { R as e } from "./rating-input-field-rac-DjxfTgv5.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { bh as e, aj as o } from "./form-GcotNutn.js";
3
- import { T as s } from "./tags-field-rac-ChzPiPvQ.js";
2
+ import { bh as e, aj as o } from "./form-B2wZnWX9.js";
3
+ import { T as s } from "./tags-field-rac-CdQWq8k5.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-CDEJUPgV.js";
2
+ import { T as t } from "./text-area-field-rac-VCFJuHx4.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-vg2b_7it.js";
2
+ import { T as e } from "./text-input-field-rac-C9gyRhcK.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-NJqyqxLi.js";
2
+ import { U as r } from "./url-input-field-rac-BIXokgHy.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -3,19 +3,19 @@ import { RicosViewer as re } from "@wix/ricos/viewer";
3
3
  import D from "classnames";
4
4
  import { RadioGroup as se, RadioField as G, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { ax as Q, bh as L, be as B, br as ue, b9 as j, bj as me, I as pe, U as de, q as Ie, v as fe, p as Ce, r as Ee } from "./form-GcotNutn.js";
7
- import { f as E, a as y } from "./find-child-C60k4CxG.js";
8
- import { a as W } from "./format-currency-BwShJ9vM.js";
9
- import { D as he, E as Oe } from "./field-error-headless-DwlihJqC.js";
10
- import { L as _e } from "./field-label-headless-C_cMy8vP.js";
6
+ import { ax as j, bh as L, be as B, br as ue, b9 as z, bj as me, I as pe, U as de, q as Ie, v as Ce, p as Ee, r as fe } from "./form-B2wZnWX9.js";
7
+ import { f, a as y } from "./find-child-C60k4CxG.js";
8
+ import { a as Q } from "./format-currency-BwShJ9vM.js";
9
+ import { D as he, E as Oe } from "./field-error-headless-C-wyL0uw.js";
10
+ import { L as _e } from "./field-label-headless-32mvEUId.js";
11
11
  import { a as be, b as ye } from "./numeric-input-utils-CuBMi4-a.js";
12
12
  import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
13
13
  import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
14
14
  import { E as Fe } from "./error-icon-hZxQ6DEy.js";
15
- import { s as v } from "./field-rac.module-BIBNQEOK.js";
15
+ import { s as v } from "./field-rac.module-DfEb7pBp.js";
16
16
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as ve } from "./use-element-state-class-name-D008EeZn.js";
18
- import { u as Se } from "./use-text-input-class-name-BSDU7QEO.js";
17
+ import { u as ve } from "./use-element-state-class-name-BFZzVwqe.js";
18
+ import { u as Se } from "./use-text-input-class-name-BNX3qkmh.js";
19
19
  function Re(e, t) {
20
20
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
21
21
  }
@@ -27,16 +27,16 @@ function Te(e) {
27
27
  var t;
28
28
  return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
29
29
  }
30
- function z(e, t) {
30
+ function W(e, t) {
31
31
  const o = Number(t || "0");
32
32
  return {
33
33
  productId: e.id,
34
- price: e.priceType === Q.DYNAMIC_PRICE ? o : String(o),
34
+ price: e.priceType === j.DYNAMIC_PRICE ? o : String(o),
35
35
  quantity: 1
36
36
  };
37
37
  }
38
38
  function xe(e) {
39
- return e.find((t) => t.priceType === Q.DYNAMIC_PRICE);
39
+ return e.find((t) => t.priceType === j.DYNAMIC_PRICE);
40
40
  }
41
41
  function Pe(e, t) {
42
42
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
@@ -44,13 +44,13 @@ function Pe(e, t) {
44
44
  function Me(e, t, o) {
45
45
  const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
46
46
  return a ? [
47
- z(a, Te(a))
47
+ W(a, Te(a))
48
48
  ] : [];
49
49
  }
50
50
  const s = ({ children: e }) => {
51
- const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: f } = ue(), { currency: A, regionalFormat: N } = j(), d = o == null ? void 0 : o[0], g = M(() => {
52
- var C, P;
53
- return ((P = (C = i == null ? void 0 : i.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : P.products) || [];
51
+ const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: C } = ue(), { currency: A, regionalFormat: N } = z(), d = o == null ? void 0 : o[0], g = M(() => {
52
+ var E, P;
53
+ return ((P = (E = i == null ? void 0 : i.predefined) == null ? void 0 : E.paymentOptions) == null ? void 0 : P.products) || [];
54
54
  }, [
55
55
  i
56
56
  ]), T = M(() => Le(g), [
@@ -60,27 +60,27 @@ const s = ({ children: e }) => {
60
60
  p
61
61
  ]), J = Pe(d, l), [q, x] = ge({
62
62
  sourceValue: J,
63
- format: (C) => ye(String(C ?? ""), N),
63
+ format: (E) => ye(String(E ?? ""), N),
64
64
  regionalFormat: N
65
- }), w = F((C) => {
66
- r(Me(C, d, T)), x("");
65
+ }), w = F((E) => {
66
+ r(Me(E, d, T)), x("");
67
67
  }, [
68
68
  r,
69
69
  T,
70
70
  d,
71
71
  x
72
- ]), k = F((C) => {
73
- l && r(typeof C == "number" ? [
74
- z(l, String(C))
72
+ ]), k = F((E) => {
73
+ l && r(typeof E == "number" ? [
74
+ W(l, String(E))
75
75
  ] : []);
76
76
  }, [
77
77
  r,
78
78
  l
79
79
  ]), $ = M(() => ce(k, 500), [
80
80
  k
81
- ]), K = F((C) => {
81
+ ]), K = F((E) => {
82
82
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
83
- const { validInput: P, validNumber: ne } = be(C.target.value, Ae, q, N);
83
+ const { validInput: P, validNumber: ne } = be(E.target.value, Ae, q, N);
84
84
  x(P), $(ne);
85
85
  }, [
86
86
  N,
@@ -96,7 +96,7 @@ const s = ({ children: e }) => {
96
96
  l == null ? void 0 : l.id,
97
97
  H,
98
98
  w
99
- ]), Z = E(e, s.Label), V = E(e, s.Control), ee = E(e, s.Description), te = E(e, s.Error);
99
+ ]), Z = f(e, s.Label), V = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
100
100
  return /* @__PURE__ */ n.createElement(h, {
101
101
  fieldId: t,
102
102
  renderLabel: () => Z,
@@ -115,15 +115,15 @@ const s = ({ children: e }) => {
115
115
  customAmount: q,
116
116
  onCustomAmountInputChange: K,
117
117
  currency: A,
118
- t: f,
119
- placeholder: c === void 0 ? f("donation.other-option.placeholder") : c,
118
+ t: C,
119
+ placeholder: c === void 0 ? C("donation.other-option.placeholder") : c,
120
120
  customAmountProductId: l == null ? void 0 : l.id,
121
121
  onFocusCustomInput: X
122
122
  }) : null),
123
123
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, te, ee)
124
124
  });
125
125
  }, Be = ({ children: e, className: t, ...o }) => {
126
- const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = E(e, s.Options), f = E(e, s.OtherInput);
126
+ const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = f(e, s.Options), C = f(e, s.OtherInput);
127
127
  return /* @__PURE__ */ n.createElement("div", {
128
128
  className: t,
129
129
  "data-invalid": b
@@ -144,7 +144,7 @@ const s = ({ children: e }) => {
144
144
  }
145
145
  }, /* @__PURE__ */ n.createElement(Y, {
146
146
  "aria-label": i("donation.other-option.label", "Custom amount")
147
- }, i("donation.other-option.label", "Custom amount"))), f && a ? y(f, {
147
+ }, i("donation.other-option.label", "Custom amount"))), C && a ? y(C, {
148
148
  customAmount: u,
149
149
  onCustomAmountInputChange: m,
150
150
  currency: I,
@@ -154,7 +154,7 @@ const s = ({ children: e }) => {
154
154
  onFocusCustomInput: h
155
155
  }) : null);
156
156
  }, U = ({ children: e, className: t, ...o }) => {
157
- const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = E(e, U.Option);
157
+ const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = f(e, U.Option);
158
158
  return /* @__PURE__ */ n.createElement("div", {
159
159
  className: t,
160
160
  "data-columns": u
@@ -168,14 +168,14 @@ const s = ({ children: e }) => {
168
168
  });
169
169
  }));
170
170
  }, S = ({ children: e, className: t, ...o }) => {
171
- const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: I } = j(), i = E(e, S.Value), p = E(e, S.Currency), { isCurrencyPrefixed: c } = W({
171
+ const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: I } = z(), i = f(e, S.Value), p = f(e, S.Currency), { isCurrencyPrefixed: c } = Q({
172
172
  amount: a,
173
173
  currency: m == null ? void 0 : m.code,
174
174
  locale: I
175
175
  }), h = oe(null);
176
176
  me(() => {
177
- var O, f;
178
- (f = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || f.focus();
177
+ var O, C;
178
+ (C = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || C.focus();
179
179
  }, u);
180
180
  const b = i ? y(i, {
181
181
  price: a
@@ -186,8 +186,8 @@ const s = ({ children: e }) => {
186
186
  className: t,
187
187
  ref: h
188
188
  }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, b, !c && p)));
189
- }, je = ({ className: e, ...t }) => {
190
- const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = W({
189
+ }, ze = ({ className: e, ...t }) => {
190
+ const { price: o } = t, { currency: r, regionalFormat: a } = z(), { value: u } = Q({
191
191
  amount: o,
192
192
  currency: r == null ? void 0 : r.code,
193
193
  locale: a
@@ -196,15 +196,15 @@ const s = ({ children: e }) => {
196
196
  className: e
197
197
  }, u);
198
198
  }, qe = ({ className: e }) => {
199
- const { currency: t } = j();
199
+ const { currency: t } = z();
200
200
  return /* @__PURE__ */ n.createElement("span", {
201
201
  className: e
202
202
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
203
203
  };
204
- S.Value = je;
204
+ S.Value = ze;
205
205
  S.Currency = qe;
206
206
  const R = ({ children: e, className: t, ...o }) => {
207
- const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), f = E(e, R.Currency), A = E(e, R.Value), N = F((g) => {
207
+ const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), C = f(e, R.Currency), A = f(e, R.Value), N = F((g) => {
208
208
  a({
209
209
  target: {
210
210
  value: g
@@ -228,7 +228,7 @@ const R = ({ children: e, className: t, ...o }) => {
228
228
  className: t,
229
229
  isDisabled: c,
230
230
  isInvalid: h
231
- }, r && u && f ? y(f, {
231
+ }, r && u && C ? y(C, {
232
232
  currency: u,
233
233
  t: m
234
234
  }) : null, A ? y(A, {
@@ -264,16 +264,16 @@ s.Options = U;
264
264
  s.OtherInput = R;
265
265
  s.Description = he;
266
266
  s.Error = Oe;
267
- const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Qe = "_otherInput_1fjsf_98", We = "_otherInputCurrency_1fjsf_117", _ = {
267
+ const Ue = "_control_1ulzi_1", ke = "_options_1ulzi_7", $e = "_option_1ulzi_7", Ve = "_optionHover_1ulzi_40", Ge = "_optionSelected_1ulzi_40", Ye = "_optionCurrency_1ulzi_90", je = "_otherInput_1ulzi_94", Qe = "_otherInputCurrency_1ulzi_113", _ = {
268
268
  control: Ue,
269
269
  options: ke,
270
270
  option: $e,
271
271
  optionHover: Ve,
272
272
  optionSelected: Ge,
273
273
  optionCurrency: Ye,
274
- otherInput: Qe,
275
- otherInputCurrency: We
276
- }, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(re, {
274
+ otherInput: je,
275
+ otherInputCurrency: Qe
276
+ }, We = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(re, {
277
277
  content: e,
278
278
  locale: t
279
279
  }), Je = {
@@ -282,7 +282,7 @@ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7",
282
282
  hover: _.optionHover
283
283
  }, Ke = () => {
284
284
  const e = Se(_.otherInput), t = ve({
285
- globalClasses: Ee,
285
+ globalClasses: fe,
286
286
  moduleClasses: Je
287
287
  });
288
288
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
@@ -294,10 +294,7 @@ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7",
294
294
  }, /* @__PURE__ */ n.createElement(s.Options, {
295
295
  className: D(Ie, De.options, _.options)
296
296
  }, /* @__PURE__ */ n.createElement(s.Options.Option, {
297
- className: ({ isSelected: o, isHovered: r }) => t({
298
- isSelected: o,
299
- isHovered: r
300
- })
297
+ className: t
301
298
  }, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
302
299
  className: _.optionCurrency
303
300
  }))), /* @__PURE__ */ n.createElement(s.OtherInput, {
@@ -307,11 +304,11 @@ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7",
307
304
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
308
305
  className: v.innerInput
309
306
  }))), /* @__PURE__ */ n.createElement(s.Error, {
310
- className: D(fe, v.error)
307
+ className: D(Ce, v.error)
311
308
  }, /* @__PURE__ */ n.createElement(Fe, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
312
- className: D(Ce, v.description)
313
- }, ze));
314
- }, Ct = () => /* @__PURE__ */ n.createElement(Ke, null);
309
+ className: D(Ee, v.description)
310
+ }, We));
311
+ }, Et = () => /* @__PURE__ */ n.createElement(Ke, null);
315
312
  export {
316
- Ct as DonationRAC
313
+ Et as DonationRAC
317
314
  };
@@ -1,13 +1,13 @@
1
1
  import e, { useState as b, useCallback as g, useRef as k } from "react";
2
2
  import { UNSAFE_PortalProvider as q } from "react-aria";
3
3
  import { Select as M, SelectValue as j, ListBoxItem as H } from "react-aria-components";
4
- import { bh as E, be as O, bj as U } from "./form-GcotNutn.js";
4
+ import { bh as E, be as O, bj as U } from "./form-B2wZnWX9.js";
5
5
  import { f as d, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as Y, E as z } from "./field-error-headless-DwlihJqC.js";
7
- import { L as G } from "./field-label-headless-C_cMy8vP.js";
6
+ import { D as Y, E as z } from "./field-error-headless-C-wyL0uw.js";
7
+ import { L as G } from "./field-label-headless-32mvEUId.js";
8
8
  import { E as J, S as K, N as Q } from "./non-modal-popover-D-u13tmp.js";
9
- import { a as W } from "./use-dropdown-trigger-class-name-Df-nqoeG.js";
10
- import { V as X } from "./use-dropdown-option-class-name-DFW55r3E.js";
9
+ import { a as W } from "./use-dropdown-trigger-class-name-CEq68SuK.js";
10
+ import { V as X } from "./use-dropdown-option-class-name-C6zB6TNA.js";
11
11
  const r = ({ children: n }) => {
12
12
  const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [h, I] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
13
13
  s || t(typeof c == "string" ? c : null);
@@ -1,14 +1,14 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { D as r } from "./dropdown-field-headless-D1e2XbNj.js";
4
+ import { D as r } from "./dropdown-field-headless-0DB-T-3t.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 o } from "./field-rac.module-BIBNQEOK.js";
9
- import { I as i, U as p, K as E, v as _, p as D } from "./form-GcotNutn.js";
10
- import { u as C } from "./use-dropdown-option-class-name-DFW55r3E.js";
11
- import { u as O } from "./use-dropdown-trigger-class-name-Df-nqoeG.js";
8
+ import { s as o } from "./field-rac.module-DfEb7pBp.js";
9
+ import { I as i, U as p, K as E, v as _, p as D } from "./form-B2wZnWX9.js";
10
+ import { u as C } from "./use-dropdown-option-class-name-C6zB6TNA.js";
11
+ import { u as O } from "./use-dropdown-trigger-class-name-CEq68SuK.js";
12
12
  const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: t,
14
14
  locale: s
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DkeVkP9c.js";
2
+ import { D as r } from "./dropdown-field-rac-DB-pd2a8.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DropdownRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as r } from "./multiline-address-field-rac-DpMPlfjM.js";
2
+ import { M as r } from "./multiline-address-field-rac-DYcfzGJb.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,6 +1,6 @@
1
1
  import o, { useMemo as n } from "react";
2
- import { bh as a, br as c, aj as i } from "./form-GcotNutn.js";
3
- import { C as l } from "./checkbox-field-rac-BA-67OHo.js";
2
+ import { bh as a, br as c, aj as i } from "./form-B2wZnWX9.js";
3
+ import { C as l } from "./checkbox-field-rac-DoZ9bcw3.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -2,7 +2,7 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
3
  import u, { createContext as z, useContext as Z, createElement as R, isValidElement as U, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { be as fe, br as ge, bc as ve, d as ye, bh as Ee, bl as de, bf as be, ah as Se, I as Oe, U as he, v as Ie, p as Ne, a2 as Ae } from "./form-GcotNutn.js";
5
+ import { be as fe, br as ge, bc as ve, d as ye, bh as Ee, bl as de, bf as be, ah as Se, I as Oe, U as he, v as Ie, p as Ne, a2 as Ae } from "./form-B2wZnWX9.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
@@ -10,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
10
10
  import ke from "html-parse-stringify";
11
11
  import Te from "@babel/runtime/helpers/classCallCheck";
12
12
  import xe from "@babel/runtime/helpers/createClass";
13
- import { T as B } from "./text-input-headless-BdD-dAx2.js";
13
+ import { T as B } from "./text-input-headless-BdkaD-re.js";
14
14
  import { E as De } from "./error-icon-hZxQ6DEy.js";
15
- import { s as H } from "./field-rac.module-BIBNQEOK.js";
16
- import { u as je } from "./use-text-input-class-name-BSDU7QEO.js";
15
+ import { s as H } from "./field-rac.module-DfEb7pBp.js";
16
+ import { u as je } from "./use-text-input-class-name-BNX3qkmh.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",