@banzamel/mineralui 1.1.1 → 1.2.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 (207) hide show
  1. package/README.md +1 -1
  2. package/dist/{MAvatar-tpFpLFPO.js → MAvatar-BoO51a6m.js} +2 -2
  3. package/dist/{MAvatar-tpFpLFPO.js.map → MAvatar-BoO51a6m.js.map} +1 -1
  4. package/dist/{MAvatar-nLlGAprq.cjs → MAvatar-DJKtca9j.cjs} +2 -2
  5. package/dist/{MAvatar-nLlGAprq.cjs.map → MAvatar-DJKtca9j.cjs.map} +1 -1
  6. package/dist/{MBadge-imAk1gYn.cjs → MBadge-CexVV675.cjs} +1 -1
  7. package/dist/{MBadge-imAk1gYn.cjs.map → MBadge-CexVV675.cjs.map} +1 -1
  8. package/dist/{MBadge-UTUlEAik.js → MBadge-Y1JnZiIC.js} +1 -1
  9. package/dist/{MBadge-UTUlEAik.js.map → MBadge-Y1JnZiIC.js.map} +1 -1
  10. package/dist/{MButton-CX8SV1m0.cjs → MButton-B8rXmFX9.cjs} +1 -1
  11. package/dist/{MButton-CX8SV1m0.cjs.map → MButton-B8rXmFX9.cjs.map} +1 -1
  12. package/dist/{MButton-BJdrNg2I.js → MButton-BmTDe5Oa.js} +1 -1
  13. package/dist/{MButton-BJdrNg2I.js.map → MButton-BmTDe5Oa.js.map} +1 -1
  14. package/dist/{MCheckbox-DfCD0EtS.js → MCheckbox-B7SpcD4H.js} +1 -1
  15. package/dist/{MCheckbox-DfCD0EtS.js.map → MCheckbox-B7SpcD4H.js.map} +1 -1
  16. package/dist/{MCheckbox-CAZA97h7.cjs → MCheckbox-Bea3orrs.cjs} +1 -1
  17. package/dist/{MCheckbox-CAZA97h7.cjs.map → MCheckbox-Bea3orrs.cjs.map} +1 -1
  18. package/dist/{MCookieBootstrap-BhTMPs8T.js → MCookieBootstrap-CNYLvKjW.js} +1 -1
  19. package/dist/{MCookieBootstrap-BhTMPs8T.js.map → MCookieBootstrap-CNYLvKjW.js.map} +1 -1
  20. package/dist/{MCookieBootstrap-Fxpem-gF.cjs → MCookieBootstrap-DSOT4FQo.cjs} +1 -1
  21. package/dist/{MCookieBootstrap-Fxpem-gF.cjs.map → MCookieBootstrap-DSOT4FQo.cjs.map} +1 -1
  22. package/dist/{MDataTable-BZs6Cn9e.cjs → MDataTable-BI7wFZYN.cjs} +2 -2
  23. package/dist/{MDataTable-BZs6Cn9e.cjs.map → MDataTable-BI7wFZYN.cjs.map} +1 -1
  24. package/dist/{MDataTable-D-ASD4g3.js → MDataTable-Cqwkiq7A.js} +10 -10
  25. package/dist/{MDataTable-D-ASD4g3.js.map → MDataTable-Cqwkiq7A.js.map} +1 -1
  26. package/dist/{MDrawer-CTVEF34p.cjs → MDrawer-CSvjLrhB.cjs} +2 -2
  27. package/dist/{MDrawer-CTVEF34p.cjs.map → MDrawer-CSvjLrhB.cjs.map} +1 -1
  28. package/dist/{MDrawer-CscOMXBg.js → MDrawer-DXHtAckQ.js} +2 -2
  29. package/dist/{MDrawer-CscOMXBg.js.map → MDrawer-DXHtAckQ.js.map} +1 -1
  30. package/dist/{MDropdownMenu-B1eOmM7u.js → MDropdownMenu-CxBhYxQb.js} +1 -1
  31. package/dist/{MDropdownMenu-B1eOmM7u.js.map → MDropdownMenu-CxBhYxQb.js.map} +1 -1
  32. package/dist/{MDropdownMenu-CiJ_7DQ2.cjs → MDropdownMenu-X7ywPqth.cjs} +1 -1
  33. package/dist/{MDropdownMenu-CiJ_7DQ2.cjs.map → MDropdownMenu-X7ywPqth.cjs.map} +1 -1
  34. package/dist/{MHeading-CMGPJwul.js → MHeading-C3IgV22T.js} +2 -2
  35. package/dist/{MHeading-CMGPJwul.js.map → MHeading-C3IgV22T.js.map} +1 -1
  36. package/dist/{MHeading-sW0j7ssI.cjs → MHeading-DqvWKia1.cjs} +2 -2
  37. package/dist/{MHeading-sW0j7ssI.cjs.map → MHeading-DqvWKia1.cjs.map} +1 -1
  38. package/dist/{MImage-3UVzZIgA.js → MImage-BDcrV6IC.js} +2 -2
  39. package/dist/{MImage-3UVzZIgA.js.map → MImage-BDcrV6IC.js.map} +1 -1
  40. package/dist/{MImage-BHgzEHMO.cjs → MImage-BsQJ_eYf.cjs} +2 -2
  41. package/dist/{MImage-BHgzEHMO.cjs.map → MImage-BsQJ_eYf.cjs.map} +1 -1
  42. package/dist/{MInline-DUzpnZoB.cjs → MInline-BAhu2zT-.cjs} +1 -1
  43. package/dist/{MInline-DUzpnZoB.cjs.map → MInline-BAhu2zT-.cjs.map} +1 -1
  44. package/dist/{MInline-cTj903A4.js → MInline-Dfy3Lrjs.js} +1 -1
  45. package/dist/{MInline-cTj903A4.js.map → MInline-Dfy3Lrjs.js.map} +1 -1
  46. package/dist/{MInput-B8RPS-wr.js → MInput-BSaKw0Uc.js} +2 -2
  47. package/dist/{MInput-B8RPS-wr.js.map → MInput-BSaKw0Uc.js.map} +1 -1
  48. package/dist/{MInput-BZ1ZPuk3.cjs → MInput-W7DJQ_ng.cjs} +2 -2
  49. package/dist/{MInput-BZ1ZPuk3.cjs.map → MInput-W7DJQ_ng.cjs.map} +1 -1
  50. package/dist/{MInputCVC-DOBmGhJL.cjs → MInputCVC-DH_bjV5R.cjs} +2 -2
  51. package/dist/{MInputCVC-DOBmGhJL.cjs.map → MInputCVC-DH_bjV5R.cjs.map} +1 -1
  52. package/dist/{MInputCVC-BJQWuuwR.js → MInputCVC-Dqbl1zG9.js} +3 -3
  53. package/dist/{MInputCVC-BJQWuuwR.js.map → MInputCVC-Dqbl1zG9.js.map} +1 -1
  54. package/dist/{MInputSearch-DAAg9FXv.cjs → MInputSearch-C7betxTa.cjs} +2 -2
  55. package/dist/{MInputSearch-DAAg9FXv.cjs.map → MInputSearch-C7betxTa.cjs.map} +1 -1
  56. package/dist/{MInputSearch-PMHykVrc.js → MInputSearch-CH5ZcjLq.js} +2 -2
  57. package/dist/{MInputSearch-PMHykVrc.js.map → MInputSearch-CH5ZcjLq.js.map} +1 -1
  58. package/dist/{MLink-D10DD8oX.cjs → MLink-DHryXq_D.cjs} +1 -1
  59. package/dist/{MLink-D10DD8oX.cjs.map → MLink-DHryXq_D.cjs.map} +1 -1
  60. package/dist/{MLink-CBmT8zaD.js → MLink-ODytrwne.js} +1 -1
  61. package/dist/{MLink-CBmT8zaD.js.map → MLink-ODytrwne.js.map} +1 -1
  62. package/dist/{MModal-BogYYyZE.js → MModal-DShADuLw.js} +2 -2
  63. package/dist/{MModal-BogYYyZE.js.map → MModal-DShADuLw.js.map} +1 -1
  64. package/dist/{MModal-CfzduXaI.cjs → MModal-pMcPs3pw.cjs} +2 -2
  65. package/dist/{MModal-CfzduXaI.cjs.map → MModal-pMcPs3pw.cjs.map} +1 -1
  66. package/dist/{MPagination-CgvjKhLN.js → MPagination-B7aho7rQ.js} +2 -2
  67. package/dist/{MPagination-CgvjKhLN.js.map → MPagination-B7aho7rQ.js.map} +1 -1
  68. package/dist/{MPagination-vg2EqB8z.cjs → MPagination-BWHAVgWN.cjs} +2 -2
  69. package/dist/{MPagination-vg2EqB8z.cjs.map → MPagination-BWHAVgWN.cjs.map} +1 -1
  70. package/dist/{MQrCode-l0FzrNCq.js → MQrCode-6Cz9B7Qy.js} +2 -2
  71. package/dist/{MQrCode-l0FzrNCq.js.map → MQrCode-6Cz9B7Qy.js.map} +1 -1
  72. package/dist/{MQrCode-DB9vELHq.cjs → MQrCode-Bp2CWpmX.cjs} +2 -2
  73. package/dist/{MQrCode-DB9vELHq.cjs.map → MQrCode-Bp2CWpmX.cjs.map} +1 -1
  74. package/dist/{MSkeleton-D7wnoEE8.cjs → MSkeleton-BfRBJ6ku.cjs} +1 -1
  75. package/dist/{MSkeleton-D7wnoEE8.cjs.map → MSkeleton-BfRBJ6ku.cjs.map} +1 -1
  76. package/dist/{MSkeleton-Bh9cCe49.js → MSkeleton-CauCfkzj.js} +1 -1
  77. package/dist/{MSkeleton-Bh9cCe49.js.map → MSkeleton-CauCfkzj.js.map} +1 -1
  78. package/dist/{MSlider-YDSrVUQ8.cjs → MSlider-BCMJkvcA.cjs} +1 -1
  79. package/dist/{MSlider-YDSrVUQ8.cjs.map → MSlider-BCMJkvcA.cjs.map} +1 -1
  80. package/dist/{MSlider-BlgzLtHa.js → MSlider-CqrusKJQ.js} +1 -1
  81. package/dist/{MSlider-BlgzLtHa.js.map → MSlider-CqrusKJQ.js.map} +1 -1
  82. package/dist/{MSparkline-Bl5-EHJr.cjs → MSparkline-BOaNmbeB.cjs} +1 -1
  83. package/dist/{MSparkline-Bl5-EHJr.cjs.map → MSparkline-BOaNmbeB.cjs.map} +1 -1
  84. package/dist/{MSparkline-C8tnqhJm.js → MSparkline-Cb_EwR-E.js} +1 -1
  85. package/dist/{MSparkline-C8tnqhJm.js.map → MSparkline-Cb_EwR-E.js.map} +1 -1
  86. package/dist/{MStack-XTsT_kLJ.js → MStack-Cifiqeb2.js} +1 -1
  87. package/dist/{MStack-XTsT_kLJ.js.map → MStack-Cifiqeb2.js.map} +1 -1
  88. package/dist/{MStack-BKDsNitR.cjs → MStack-lrvy7l3w.cjs} +1 -1
  89. package/dist/{MStack-BKDsNitR.cjs.map → MStack-lrvy7l3w.cjs.map} +1 -1
  90. package/dist/{MSubText-BIaYgtU4.cjs → MSubText-78oYdJQy.cjs} +2 -2
  91. package/dist/{MSubText-BIaYgtU4.cjs.map → MSubText-78oYdJQy.cjs.map} +1 -1
  92. package/dist/{MSubText-uoh7Qx7S.js → MSubText-C2oxXwKT.js} +2 -2
  93. package/dist/{MSubText-uoh7Qx7S.js.map → MSubText-C2oxXwKT.js.map} +1 -1
  94. package/dist/{MTag-BVo9zFIj.cjs → MTag-C4_rBj4b.cjs} +2 -2
  95. package/dist/{MTag-BVo9zFIj.cjs.map → MTag-C4_rBj4b.cjs.map} +1 -1
  96. package/dist/{MTag-Bq9b51kE.js → MTag-DOcKm3c2.js} +2 -2
  97. package/dist/{MTag-Bq9b51kE.js.map → MTag-DOcKm3c2.js.map} +1 -1
  98. package/dist/{MText-B4koGfYi.cjs → MText-CxSZ2md0.cjs} +1 -1
  99. package/dist/{MText-B4koGfYi.cjs.map → MText-CxSZ2md0.cjs.map} +1 -1
  100. package/dist/{MText-CKyns1SE.js → MText-DX9O7gh7.js} +1 -1
  101. package/dist/{MText-CKyns1SE.js.map → MText-DX9O7gh7.js.map} +1 -1
  102. package/dist/{MTimeAgo-LWntwbKg.cjs → MTimeAgo-91_ndjxU.cjs} +2 -2
  103. package/dist/{MTimeAgo-LWntwbKg.cjs.map → MTimeAgo-91_ndjxU.cjs.map} +1 -1
  104. package/dist/{MTimeAgo-irsvTFAY.js → MTimeAgo-xxl53mct.js} +2 -2
  105. package/dist/{MTimeAgo-irsvTFAY.js.map → MTimeAgo-xxl53mct.js.map} +1 -1
  106. package/dist/{MToggle-BbSDIAJq.js → MToggle-B6emKoKq.js} +1 -1
  107. package/dist/{MToggle-BbSDIAJq.js.map → MToggle-B6emKoKq.js.map} +1 -1
  108. package/dist/{MToggle-GhhAJgUa.cjs → MToggle-CsGS_W3X.cjs} +1 -1
  109. package/dist/{MToggle-GhhAJgUa.cjs.map → MToggle-CsGS_W3X.cjs.map} +1 -1
  110. package/dist/{MTooltip-eTM5DKtM.cjs → MTooltip-CNXoyQEN.cjs} +1 -1
  111. package/dist/{MTooltip-eTM5DKtM.cjs.map → MTooltip-CNXoyQEN.cjs.map} +1 -1
  112. package/dist/{MTooltip-BVQ7wBrO.js → MTooltip-UYOjDBOu.js} +1 -1
  113. package/dist/{MTooltip-BVQ7wBrO.js.map → MTooltip-UYOjDBOu.js.map} +1 -1
  114. package/dist/{cards-JqA2VWit.js → cards-BE77zKTI.js} +64 -64
  115. package/dist/{cards-JqA2VWit.js.map → cards-BE77zKTI.js.map} +1 -1
  116. package/dist/{cards-QoMhQlao.cjs → cards-BINs-dmS.cjs} +2 -2
  117. package/dist/{cards-QoMhQlao.cjs.map → cards-BINs-dmS.cjs.map} +1 -1
  118. package/dist/cards.cjs +1 -1
  119. package/dist/cards.js +2 -2
  120. package/dist/components/feedback/MCookie/MCookieBootstrap/MCookieBootstrap.script.d.ts +4 -0
  121. package/dist/components/layout/MNavbar/MNavbar.d.ts +1 -1
  122. package/dist/components/layout/MNavbar/MNavbar.types.d.ts +4 -0
  123. package/dist/components/layout/MNavbar/index.d.ts +1 -1
  124. package/dist/components/layout/MNavs/MNavs.types.d.ts +12 -2
  125. package/dist/components/layout/MNavs/index.d.ts +1 -1
  126. package/dist/{controls-Dbev0qSy.js → controls-BMwQ3C1R.js} +2 -2
  127. package/dist/{controls-Dbev0qSy.js.map → controls-BMwQ3C1R.js.map} +1 -1
  128. package/dist/{controls-BFmZuejK.cjs → controls-DwL1-nVC.cjs} +2 -2
  129. package/dist/{controls-BFmZuejK.cjs.map → controls-DwL1-nVC.cjs.map} +1 -1
  130. package/dist/controls.cjs +1 -1
  131. package/dist/controls.js +6 -6
  132. package/dist/cookie-consent-bootstrap.cjs +1 -1
  133. package/dist/cookie-consent-bootstrap.cjs.map +1 -1
  134. package/dist/cookie-consent-bootstrap.js +45 -32
  135. package/dist/cookie-consent-bootstrap.js.map +1 -1
  136. package/dist/{data-BooVW8q_.cjs → data-BESfox0z.cjs} +2 -2
  137. package/dist/{data-BooVW8q_.cjs.map → data-BESfox0z.cjs.map} +1 -1
  138. package/dist/{data-B1hbWMzU.js → data-s8Hkht1B.js} +608 -608
  139. package/dist/{data-B1hbWMzU.js.map → data-s8Hkht1B.js.map} +1 -1
  140. package/dist/data.cjs +1 -1
  141. package/dist/data.js +3 -3
  142. package/dist/{display-B-zP1BEz.cjs → display-B0lpgApV.cjs} +2 -2
  143. package/dist/{display-B-zP1BEz.cjs.map → display-B0lpgApV.cjs.map} +1 -1
  144. package/dist/{display-DC0d-nPm.js → display-DuBRiEKr.js} +3 -3
  145. package/dist/{display-DC0d-nPm.js.map → display-DuBRiEKr.js.map} +1 -1
  146. package/dist/display.cjs +1 -1
  147. package/dist/display.js +3 -3
  148. package/dist/{dropdowns-Vo7Oo_ii.js → dropdowns-BcVrUMPE.js} +43 -43
  149. package/dist/{dropdowns-Vo7Oo_ii.js.map → dropdowns-BcVrUMPE.js.map} +1 -1
  150. package/dist/dropdowns-CK-oxd62.cjs +2 -0
  151. package/dist/{dropdowns-CMt9-Jpa.cjs.map → dropdowns-CK-oxd62.cjs.map} +1 -1
  152. package/dist/dropdowns.cjs +1 -1
  153. package/dist/dropdowns.js +1 -1
  154. package/dist/{feedback-D29Er-TD.js → feedback-D3LLKNlY.js} +196 -196
  155. package/dist/{feedback-D29Er-TD.js.map → feedback-D3LLKNlY.js.map} +1 -1
  156. package/dist/{feedback-B-PVXL68.cjs → feedback-DYjg0Dbp.cjs} +2 -2
  157. package/dist/{feedback-B-PVXL68.cjs.map → feedback-DYjg0Dbp.cjs.map} +1 -1
  158. package/dist/feedback.cjs +1 -1
  159. package/dist/feedback.js +6 -6
  160. package/dist/{frameworkTexts-BgzNvcs2.js → frameworkTexts-B6oE8pMk.js} +1 -1
  161. package/dist/{frameworkTexts-BgzNvcs2.js.map → frameworkTexts-B6oE8pMk.js.map} +1 -1
  162. package/dist/{frameworkTexts-r4jSfpMt.cjs → frameworkTexts-C_9KZK_A.cjs} +1 -1
  163. package/dist/{frameworkTexts-r4jSfpMt.cjs.map → frameworkTexts-C_9KZK_A.cjs.map} +1 -1
  164. package/dist/index.cjs +1 -1
  165. package/dist/index.js +40 -40
  166. package/dist/{inputs-Dw9Uv8f4.cjs → inputs-Dcj6C_Fn.cjs} +2 -2
  167. package/dist/{inputs-Dw9Uv8f4.cjs.map → inputs-Dcj6C_Fn.cjs.map} +1 -1
  168. package/dist/{inputs-Bl7ssV3Q.js → inputs-bCxSLz-U.js} +115 -115
  169. package/dist/{inputs-Bl7ssV3Q.js.map → inputs-bCxSLz-U.js.map} +1 -1
  170. package/dist/inputs.cjs +1 -1
  171. package/dist/inputs.js +4 -4
  172. package/dist/{layout-UP_12LRD.js → layout-Cb94o3oU.js} +282 -208
  173. package/dist/layout-Cb94o3oU.js.map +1 -0
  174. package/dist/layout-DgfsQ-Tn.cjs +2 -0
  175. package/dist/layout-DgfsQ-Tn.cjs.map +1 -0
  176. package/dist/layout.cjs +1 -1
  177. package/dist/layout.js +5 -5
  178. package/dist/{locale-uMMj57KX.js → locale-BNyzqXAU.js} +1 -1
  179. package/dist/{locale-uMMj57KX.js.map → locale-BNyzqXAU.js.map} +1 -1
  180. package/dist/{locale-LCAQDJCd.cjs → locale-BltrWJtd.cjs} +1 -1
  181. package/dist/{locale-LCAQDJCd.cjs.map → locale-BltrWJtd.cjs.map} +1 -1
  182. package/dist/{media-D5zF3vH6.js → media-8aMOtckF.js} +5 -5
  183. package/dist/{media-D5zF3vH6.js.map → media-8aMOtckF.js.map} +1 -1
  184. package/dist/{media-C4WtzWxU.cjs → media-D5YGOTm7.cjs} +2 -2
  185. package/dist/{media-C4WtzWxU.cjs.map → media-D5YGOTm7.cjs.map} +1 -1
  186. package/dist/media.cjs +1 -1
  187. package/dist/media.js +3 -3
  188. package/dist/{overlays-D9_8GEse.cjs → overlays-DCj-oV2H.cjs} +2 -2
  189. package/dist/{overlays-D9_8GEse.cjs.map → overlays-DCj-oV2H.cjs.map} +1 -1
  190. package/dist/{overlays-BahWPCPW.js → overlays-gjg00CAf.js} +3 -3
  191. package/dist/{overlays-BahWPCPW.js.map → overlays-gjg00CAf.js.map} +1 -1
  192. package/dist/overlays.cjs +1 -1
  193. package/dist/overlays.js +5 -5
  194. package/dist/style-runtime.cjs +1 -1
  195. package/dist/style-runtime.js +1 -1
  196. package/dist/styles.css +1 -1
  197. package/dist/{typography-BR2o3w3X.js → typography-DKdr1Tds.js} +2 -2
  198. package/dist/{typography-BR2o3w3X.js.map → typography-DKdr1Tds.js.map} +1 -1
  199. package/dist/{typography-BobOsDbn.cjs → typography-qbFGv1gA.cjs} +2 -2
  200. package/dist/{typography-BobOsDbn.cjs.map → typography-qbFGv1gA.cjs.map} +1 -1
  201. package/dist/typography.cjs +1 -1
  202. package/dist/typography.js +5 -5
  203. package/package.json +1 -1
  204. package/dist/dropdowns-CMt9-Jpa.cjs +0 -2
  205. package/dist/layout-C1QKiv2J.cjs +0 -2
  206. package/dist/layout-C1QKiv2J.cjs.map +0 -1
  207. package/dist/layout-UP_12LRD.js.map +0 -1
@@ -1,20 +1,20 @@
1
1
  import { Gt as e, Ii as t, Jt as n, Wt as r, ci as i, di as a, fi as o, li as s, qt as c, ui as l } from "./icons-D5DK-J2C.js";
2
2
  import { t as u } from "./cn-YER3QsV1.js";
3
3
  import { t as d } from "./MPortal-Dqlkh3hw.js";
4
- import { r as f, t as p } from "./MButton-BJdrNg2I.js";
5
- import { t as m } from "./MText-CKyns1SE.js";
6
- import { t as h } from "./MHeading-CMGPJwul.js";
7
- import { t as g } from "./MLink-CBmT8zaD.js";
8
- import { a as _, i as v, n as y, r as b } from "./MSkeleton-Bh9cCe49.js";
9
- import { i as x, n as S, r as C, t as w } from "./MDrawer-CscOMXBg.js";
10
- import { t as T } from "./MInputSearch-PMHykVrc.js";
11
- import { _ as E, d as D, f as ee, g as te, h as O, l as k, m as A, p as j, s as M, u as ne, v as N, y as re } from "./MCookieBootstrap-BhTMPs8T.js";
12
- import { n as ie } from "./frameworkTexts-BgzNvcs2.js";
13
- import { t as ae } from "./MToggle-BbSDIAJq.js";
14
- import { t as oe } from "./MInline-cTj903A4.js";
15
- import { t as P } from "./MStack-XTsT_kLJ.js";
16
- import { t as F } from "./MDataTable-D-ASD4g3.js";
17
- import { createContext as I, useCallback as L, useContext as R, useEffect as z, useMemo as B, useRef as V, useState as H } from "react";
4
+ import { t as f } from "./MInline-Dfy3Lrjs.js";
5
+ import { t as p } from "./MText-DX9O7gh7.js";
6
+ import { t as m } from "./MHeading-C3IgV22T.js";
7
+ import { t as h } from "./MLink-ODytrwne.js";
8
+ import { r as g, t as _ } from "./MButton-BmTDe5Oa.js";
9
+ import { t as v } from "./MToggle-B6emKoKq.js";
10
+ import { a as y, i as b, n as x, r as S } from "./MSkeleton-CauCfkzj.js";
11
+ import { i as C, n as w, r as T, t as E } from "./MDrawer-DXHtAckQ.js";
12
+ import { t as D } from "./MInputSearch-CH5ZcjLq.js";
13
+ import { _ as ee, d as O, f as te, g as ne, h as k, l as A, m as j, p as M, s as N, u as re, v as P, y as ie } from "./MCookieBootstrap-CNYLvKjW.js";
14
+ import { n as ae } from "./frameworkTexts-B6oE8pMk.js";
15
+ import { t as F } from "./MStack-Cifiqeb2.js";
16
+ import { t as I } from "./MDataTable-Cqwkiq7A.js";
17
+ import { createContext as L, useCallback as R, useContext as z, useEffect as B, useMemo as V, useRef as oe, useState as H } from "react";
18
18
  import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
19
19
  //#region src/components/feedback/statusIcons.tsx
20
20
  var K = {
@@ -57,23 +57,23 @@ function se({ color: e = "info", icon: t = !0, title: n, className: r, children:
57
57
  //#endregion
58
58
  //#region src/components/feedback/MBanner/MBanner.tsx
59
59
  function J({ color: e = "primary", variant: n = "filled", icon: r, action: i, dismissible: a = !1, onDismiss: o, className: s, children: c, ...l }) {
60
- let [d, f] = H(!0), [m, h] = H(!1), g = V(null);
60
+ let [d, f] = H(!0), [p, m] = H(!1), h = oe(null);
61
61
  if (!d) return null;
62
- let _ = () => {
63
- h(!0);
64
- let e = g.current;
62
+ let g = () => {
63
+ m(!0);
64
+ let e = h.current;
65
65
  if (!e) {
66
66
  f(!1), o?.();
67
67
  return;
68
68
  }
69
69
  let t = () => {
70
- f(!1), h(!1), o?.();
70
+ f(!1), m(!1), o?.();
71
71
  };
72
72
  e.addEventListener("transitionend", t, { once: !0 }), setTimeout(t, 1e3);
73
73
  };
74
74
  return /* @__PURE__ */ W("div", {
75
- ref: g,
76
- className: u("banner-wrap", m && "dismissing"),
75
+ ref: h,
76
+ className: u("banner-wrap", p && "dismissing"),
77
77
  children: /* @__PURE__ */ G("div", {
78
78
  className: u("banner", `color-${e}`, n, s),
79
79
  role: "banner",
@@ -91,13 +91,13 @@ function J({ color: e = "primary", variant: n = "filled", icon: r, action: i, di
91
91
  className: "banner-action",
92
92
  children: i
93
93
  }),
94
- a && /* @__PURE__ */ W(p, {
94
+ a && /* @__PURE__ */ W(_, {
95
95
  variant: "link",
96
96
  color: "neutral",
97
97
  iconOnly: !0,
98
98
  size: "sm",
99
99
  className: "banner-dismiss",
100
- onClick: _,
100
+ onClick: g,
101
101
  "aria-label": "Dismiss",
102
102
  children: /* @__PURE__ */ W(t, {})
103
103
  })
@@ -123,13 +123,13 @@ function le({ color: e = "primary", size: t = "lg", label: n = "Loading", center
123
123
  className: u("loader", r && "center", a),
124
124
  style: c,
125
125
  ...s,
126
- children: /* @__PURE__ */ G(P, {
126
+ children: /* @__PURE__ */ G(F, {
127
127
  align: "center",
128
- children: [/* @__PURE__ */ W(f, {
128
+ children: [/* @__PURE__ */ W(g, {
129
129
  size: t,
130
130
  color: e,
131
131
  label: n
132
- }), /* @__PURE__ */ W(m, {
132
+ }), /* @__PURE__ */ W(p, {
133
133
  tone: "muted",
134
134
  align: "center",
135
135
  size: typeof t == "number" ? void 0 : ce[t],
@@ -140,9 +140,9 @@ function le({ color: e = "primary", size: t = "lg", label: n = "Loading", center
140
140
  }
141
141
  //#endregion
142
142
  //#region src/components/feedback/MToast/MToastContext.ts
143
- var Y = I(null), X = Y.Provider;
143
+ var Y = L(null), X = Y.Provider;
144
144
  function Z() {
145
- let e = R(Y);
145
+ let e = z(Y);
146
146
  if (!e) throw Error("useMToast must be used inside MToastProvider");
147
147
  return e;
148
148
  }
@@ -150,7 +150,7 @@ function Z() {
150
150
  //#region src/components/feedback/MToast/MToastItem.tsx
151
151
  function Q({ entry: e, onDismiss: n }) {
152
152
  let [r, i] = H(!1), a = e.duration ?? 4e3;
153
- z(() => {
153
+ B(() => {
154
154
  if (a <= 0) return;
155
155
  let e = setTimeout(() => i(!0), a);
156
156
  return () => clearTimeout(e);
@@ -178,7 +178,7 @@ function Q({ entry: e, onDismiss: n }) {
178
178
  children: e.message
179
179
  })]
180
180
  })]
181
- }), /* @__PURE__ */ W(p, {
181
+ }), /* @__PURE__ */ W(_, {
182
182
  variant: "ghost",
183
183
  color: "neutral",
184
184
  iconOnly: !0,
@@ -194,11 +194,11 @@ function Q({ entry: e, onDismiss: n }) {
194
194
  //#region src/components/feedback/MToast/MToastProvider.tsx
195
195
  var ue = 0;
196
196
  function de({ position: e = "top-right", duration: t = 4e3, children: n }) {
197
- let [r, i] = H([]), a = V(t);
197
+ let [r, i] = H([]), a = oe(t);
198
198
  a.current = t;
199
- let o = L((e) => {
199
+ let o = R((e) => {
200
200
  i((t) => t.filter((t) => t.id !== e));
201
- }, []), s = L((e) => {
201
+ }, []), s = R((e) => {
202
202
  let t = `toast-${++ue}`, n = {
203
203
  id: t,
204
204
  ...e,
@@ -207,7 +207,7 @@ function de({ position: e = "top-right", duration: t = 4e3, children: n }) {
207
207
  return i((e) => [...e, n]), t;
208
208
  }, []);
209
209
  return /* @__PURE__ */ G(X, {
210
- value: B(() => ({
210
+ value: V(() => ({
211
211
  toast: s,
212
212
  dismiss: o
213
213
  }), [s, o]),
@@ -222,9 +222,9 @@ function de({ position: e = "top-right", duration: t = 4e3, children: n }) {
222
222
  }
223
223
  //#endregion
224
224
  //#region src/components/feedback/MCookie/MCookieConsentProvider/MCookieConsentContext.ts
225
- var fe = I(null), pe = fe.Provider;
225
+ var fe = L(null), pe = fe.Provider;
226
226
  function $() {
227
- return R(fe);
227
+ return z(fe);
228
228
  }
229
229
  function me() {
230
230
  let e = $();
@@ -265,16 +265,16 @@ function Se(e, t) {
265
265
  return e == null || t == null ? e === t : e.version === t.version && e.decidedAt === t.decidedAt && e.source === t.source && xe(e.categories, t.categories);
266
266
  }
267
267
  function Ce(e) {
268
- typeof window > "u" || typeof CustomEvent > "u" || window.dispatchEvent(new CustomEvent(M, { detail: { state: e } }));
268
+ typeof window > "u" || typeof CustomEvent > "u" || window.dispatchEvent(new CustomEvent(N, { detail: { state: e } }));
269
269
  }
270
- function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0, storage: i = O, cookieName: a = A, cookieMaxAgeDays: o = 180, categories: s, declaration: c, defaultConsent: l, mode: u = "opt-in", hideOnAccept: d = !0, autoShow: f = !0, reopenOnVersionChange: p = !0, texts: m, loadDeclaration: h, loadConsent: g, saveConsent: _, requiredCookies: v = he, categoryRules: y = ge, onDetectedCookies: b, onConsentChange: x, onAcceptAll: S, onRejectAll: C, onWithdraw: w }) {
271
- let T = ie(), k = B(() => re(T, m), [T, m]), M = B(() => s && s.length > 0 ? s : E(k), [s, k]), ae = V(M), oe = V(l);
272
- ae.current = M, oe.current = l;
273
- let [P, F] = H(!1), [I, R] = H(null), [U, G] = H(!1), [K, q] = H(!1), [se, J] = H(c ?? N()), [ce, le] = H(() => j({
270
+ function we({ children: e, version: t = "1", storageKey: n = ne, persist: r = !0, storage: i = k, cookieName: a = j, cookieMaxAgeDays: o = 180, categories: s, declaration: c, defaultConsent: l, mode: u = "opt-in", hideOnAccept: d = !0, autoShow: f = !0, reopenOnVersionChange: p = !0, texts: m, loadDeclaration: h, loadConsent: g, saveConsent: _, requiredCookies: v = he, categoryRules: y = ge, onDetectedCookies: b, onConsentChange: x, onAcceptAll: S, onRejectAll: C, onWithdraw: w }) {
271
+ let T = ae(), E = V(() => ie(T, m), [T, m]), D = V(() => s && s.length > 0 ? s : ee(E), [s, E]), A = oe(D), N = oe(l);
272
+ A.current = D, N.current = l;
273
+ let [F, I] = H(!1), [L, z] = H(null), [U, G] = H(!1), [K, q] = H(!1), [se, J] = H(c ?? P()), [ce, le] = H(() => M({
274
274
  requiredCookies: v,
275
275
  categoryRules: y
276
276
  }));
277
- z(() => {
277
+ B(() => {
278
278
  let e = !0;
279
279
  async function t() {
280
280
  if (c) {
@@ -282,30 +282,30 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
282
282
  return;
283
283
  }
284
284
  if (!h) {
285
- J(N());
285
+ J(P());
286
286
  return;
287
287
  }
288
288
  try {
289
289
  let t = await h();
290
290
  e && J(t);
291
291
  } catch {
292
- e && J(N());
292
+ e && J(P());
293
293
  }
294
294
  }
295
295
  return t(), () => {
296
296
  e = !1;
297
297
  };
298
- }, [c, h]), z(() => {
298
+ }, [c, h]), B(() => {
299
299
  let e = !0;
300
300
  async function o() {
301
- e && F(!1);
301
+ e && I(!1);
302
302
  let o = null;
303
303
  if (g) try {
304
304
  o = await g();
305
305
  } catch {
306
306
  o = null;
307
307
  }
308
- !o && r && (o = D({
308
+ !o && r && (o = O({
309
309
  storage: i,
310
310
  storageKey: n,
311
311
  cookieName: a
@@ -315,14 +315,14 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
315
315
  if (s && o) {
316
316
  let e = {
317
317
  ...o,
318
- categories: _e(ae.current, o.categories, oe.current)
318
+ categories: _e(A.current, o.categories, N.current)
319
319
  };
320
- R((t) => Se(t, e) ? t : e), G((e) => e && !1);
320
+ z((t) => Se(t, e) ? t : e), G((e) => e && !1);
321
321
  } else {
322
322
  let e = !!(f && (!o || p));
323
- R((e) => e == null ? e : null), G((t) => t === e ? t : e);
323
+ z((e) => e == null ? e : null), G((t) => t === e ? t : e);
324
324
  }
325
- F(!0);
325
+ I(!0);
326
326
  }
327
327
  }
328
328
  return o(), () => {
@@ -337,22 +337,22 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
337
337
  i,
338
338
  n,
339
339
  t
340
- ]), z(() => {
341
- R((e) => {
340
+ ]), B(() => {
341
+ z((e) => {
342
342
  if (!e || e.version !== t) return e;
343
- let n = _e(M, e.categories, l);
343
+ let n = _e(D, e.categories, l);
344
344
  return xe(e.categories, n) ? e : {
345
345
  ...e,
346
346
  categories: n
347
347
  };
348
348
  });
349
349
  }, [
350
- M,
350
+ D,
351
351
  l,
352
352
  t
353
353
  ]);
354
- let Y = L(() => {
355
- let e = j({
354
+ let Y = R(() => {
355
+ let e = M({
356
356
  requiredCookies: v,
357
357
  categoryRules: y
358
358
  });
@@ -362,16 +362,16 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
362
362
  b,
363
363
  v
364
364
  ]);
365
- z(() => {
365
+ B(() => {
366
366
  Y();
367
367
  }, [
368
368
  Y,
369
- P,
370
- I,
369
+ F,
370
+ L,
371
371
  K
372
372
  ]);
373
- let X = L(async (e) => {
374
- R(e), Ce(e), r && ee({
373
+ let X = R(async (e) => {
374
+ z(e), Ce(e), r && te({
375
375
  storage: i,
376
376
  storageKey: n,
377
377
  cookieName: a,
@@ -385,46 +385,46 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
385
385
  _,
386
386
  i,
387
387
  n
388
- ]), Z = L(() => {
388
+ ]), Z = R(() => {
389
389
  G(!0);
390
- }, []), Q = L(() => {
390
+ }, []), Q = R(() => {
391
391
  G(!1);
392
- }, []), ue = L(() => {
392
+ }, []), ue = R(() => {
393
393
  q(!0), G(!1);
394
- }, []), de = L(() => {
395
- q(!1), G((e) => e || I == null);
396
- }, [I]), fe = L((e = "banner") => {
397
- let n = ve(t, e, M, M.reduce((e, t) => (e[t.key] = !0, e), {}), l);
394
+ }, []), de = R(() => {
395
+ q(!1), G((e) => e || L == null);
396
+ }, [L]), fe = R((e = "banner") => {
397
+ let n = ve(t, e, D, D.reduce((e, t) => (e[t.key] = !0, e), {}), l);
398
398
  X(n), S?.(n), d && G(!1), q(!1);
399
399
  }, [
400
- M,
400
+ D,
401
401
  l,
402
402
  d,
403
403
  S,
404
404
  X,
405
405
  t
406
- ]), $ = L((e = "banner") => {
407
- let n = ve(t, e, M, M.reduce((e, t) => (e[t.key] = t.required ?? !1, e), {}), l);
406
+ ]), $ = R((e = "banner") => {
407
+ let n = ve(t, e, D, D.reduce((e, t) => (e[t.key] = t.required ?? !1, e), {}), l);
408
408
  X(n), C?.(n), G(!1), q(!1);
409
409
  }, [
410
- M,
410
+ D,
411
411
  l,
412
412
  C,
413
413
  X,
414
414
  t
415
- ]), me = L((e, n = "preferences") => {
416
- X(ve(t, n, M, e, l)), G(!1), q(!1);
415
+ ]), me = R((e, n = "preferences") => {
416
+ X(ve(t, n, D, e, l)), G(!1), q(!1);
417
417
  }, [
418
- M,
418
+ D,
419
419
  l,
420
420
  X,
421
421
  t
422
- ]), we = L(() => {
423
- r && ne({
422
+ ]), we = R(() => {
423
+ r && re({
424
424
  storage: i,
425
425
  storageKey: n,
426
426
  cookieName: a
427
- }), R(null), Ce(null), q(!1), G(f), w?.();
427
+ }), z(null), Ce(null), q(!1), G(f), w?.();
428
428
  }, [
429
429
  f,
430
430
  a,
@@ -432,18 +432,18 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
432
432
  r,
433
433
  i,
434
434
  n
435
- ]), Te = L((e) => M.find((t) => t.key === e)?.required ? !0 : I?.categories?.[e] === !0, [M, I]), Ee = L((e) => M.some((t) => t.key === e && t.required), [M]), De = P && I == null;
435
+ ]), Te = R((e) => D.find((t) => t.key === e)?.required ? !0 : L?.categories?.[e] === !0, [D, L]), Ee = R((e) => D.some((t) => t.key === e && t.required), [D]), De = F && L == null;
436
436
  return /* @__PURE__ */ W(pe, {
437
- value: B(() => ({
438
- ready: P,
437
+ value: V(() => ({
438
+ ready: F,
439
439
  pending: De,
440
440
  bannerOpen: U,
441
441
  preferencesOpen: K,
442
442
  version: t,
443
443
  mode: u,
444
- state: I,
445
- texts: k,
446
- categories: M,
444
+ state: L,
445
+ texts: E,
446
+ categories: D,
447
447
  declaration: se,
448
448
  inventory: ce,
449
449
  hasConsent: Te,
@@ -459,15 +459,15 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
459
459
  setDeclaration: J,
460
460
  refreshInventory: Y
461
461
  }), [
462
- P,
462
+ F,
463
463
  De,
464
464
  U,
465
465
  K,
466
466
  t,
467
467
  u,
468
- I,
469
- k,
470
- M,
468
+ L,
469
+ E,
470
+ D,
471
471
  se,
472
472
  ce,
473
473
  Te,
@@ -490,7 +490,7 @@ function we({ children: e, version: t = "1", storageKey: n = te, persist: r = !0
490
490
  //#region src/components/feedback/MCookie/MCookieTrigger/MCookieTrigger.tsx
491
491
  function Te({ children: e, label: t, variant: n = "link", onClick: r, color: i = "primary", ...a }) {
492
492
  let o = $(), s = n === "button" ? "secondary" : n, c = e ?? t ?? o?.texts.triggerLabel ?? "Cookie settings";
493
- return /* @__PURE__ */ W(p, {
493
+ return /* @__PURE__ */ W(_, {
494
494
  variant: s,
495
495
  color: i,
496
496
  onClick: (e) => {
@@ -513,19 +513,19 @@ function Oe(e, t) {
513
513
  function ke(e, t) {
514
514
  return !e || e.length === 0 ? [] : e.filter((e) => e.category === t ? e.type == null || De.has(e.type) : !1).sort((e, t) => e.name.localeCompare(t.name));
515
515
  }
516
- function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, description: i, showAcceptAll: a = !0, showRejectAll: o = !0, showSave: s = !0, acceptLabel: c, rejectLabel: l, saveLabel: d, closeLabel: f, categories: h, onClose: T, onAcceptAll: E, onRejectAll: D, onSave: ee, renderCategoryDetails: te, className: O, ...k }) {
517
- let A = $(), j = B(() => h ?? A?.categories ?? [], [h, A?.categories]), M = e ?? A?.preferencesOpen ?? !1, [ne, N] = H(() => Oe(j, A?.state?.categories ?? null)), [re, ie] = H({});
518
- if (z(() => {
519
- N(Oe(j, A?.state?.categories ?? null));
520
- }, [j, A?.state]), z(() => {
521
- ie({});
522
- }, [j, M]), z(() => {
523
- M && A?.refreshInventory();
524
- }, [A, M]), !M && t !== "inline") return null;
525
- let F = r ?? A?.texts.preferencesTitle, I = i ?? A?.texts.preferencesDescription, L = c ?? A?.texts.acceptAll, R = l ?? A?.texts.rejectAll, V = d ?? A?.texts.savePreferences, U = f ?? A?.texts.close ?? "Close", K = A?.texts.requiredLabel, q = A?.texts.detectedCookiesLabel ?? "Detected storage and trackers", se = A?.texts.noDetectedCookies ?? "No storage or trackers detected in this category yet.", J = T ?? (() => A?.closePreferences()), ce = E ?? (() => A?.acceptAll("preferences")), le = D ?? (() => A?.rejectAll("preferences")), Y = ee ?? ((e) => A?.savePreferences(e, "preferences")), X = /* @__PURE__ */ G(oe, {
516
+ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, description: i, showAcceptAll: a = !0, showRejectAll: o = !0, showSave: s = !0, acceptLabel: c, rejectLabel: l, saveLabel: d, closeLabel: m, categories: g, onClose: D, onAcceptAll: ee, onRejectAll: O, onSave: te, renderCategoryDetails: ne, className: k, ...A }) {
517
+ let j = $(), M = V(() => g ?? j?.categories ?? [], [g, j?.categories]), N = e ?? j?.preferencesOpen ?? !1, [re, P] = H(() => Oe(M, j?.state?.categories ?? null)), [ie, ae] = H({});
518
+ if (B(() => {
519
+ P(Oe(M, j?.state?.categories ?? null));
520
+ }, [M, j?.state]), B(() => {
521
+ ae({});
522
+ }, [M, N]), B(() => {
523
+ N && j?.refreshInventory();
524
+ }, [j, N]), !N && t !== "inline") return null;
525
+ let I = r ?? j?.texts.preferencesTitle, L = i ?? j?.texts.preferencesDescription, R = c ?? j?.texts.acceptAll, z = l ?? j?.texts.rejectAll, oe = d ?? j?.texts.savePreferences, U = m ?? j?.texts.close ?? "Close", K = j?.texts.requiredLabel, q = j?.texts.detectedCookiesLabel ?? "Detected storage and trackers", se = j?.texts.noDetectedCookies ?? "No storage or trackers detected in this category yet.", J = D ?? (() => j?.closePreferences()), ce = ee ?? (() => j?.acceptAll("preferences")), le = O ?? (() => j?.rejectAll("preferences")), Y = te ?? ((e) => j?.savePreferences(e, "preferences")), X = /* @__PURE__ */ G(f, {
526
526
  align: "center",
527
527
  className: "cookie-preferences-brand",
528
- children: [/* @__PURE__ */ W(m, {
528
+ children: [/* @__PURE__ */ W(p, {
529
529
  tone: "muted",
530
530
  size: "sm",
531
531
  children: "Powered by"
@@ -534,11 +534,11 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
534
534
  alt: "MineralUI",
535
535
  className: "cookie-preferences-logo"
536
536
  })]
537
- }), Z = /* @__PURE__ */ W(P, {
538
- className: u("cookie-preferences-body", O),
539
- ...k,
540
- children: j.map((e) => {
541
- let t = ke(A?.declaration, e.key), n = re[e.key] === !0, r = `cookie-preferences-${e.key}-detected`;
537
+ }), Z = /* @__PURE__ */ W(F, {
538
+ className: u("cookie-preferences-body", k),
539
+ ...A,
540
+ children: M.map((e) => {
541
+ let t = ke(j?.declaration, e.key), n = ie[e.key] === !0, r = `cookie-preferences-${e.key}-detected`;
542
542
  return /* @__PURE__ */ G("div", {
543
543
  className: "cookie-preferences-category",
544
544
  children: [/* @__PURE__ */ G("div", {
@@ -555,7 +555,7 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
555
555
  className: "cookie-preferences-description",
556
556
  children: e.description
557
557
  }),
558
- te?.(e),
558
+ ne?.(e),
559
559
  /* @__PURE__ */ G("div", {
560
560
  className: "cookie-preferences-detected",
561
561
  children: [/* @__PURE__ */ G("div", {
@@ -563,7 +563,7 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
563
563
  children: [/* @__PURE__ */ W("div", {
564
564
  className: "cookie-preferences-detected-label",
565
565
  children: q
566
- }), /* @__PURE__ */ G(g, {
566
+ }), /* @__PURE__ */ G(h, {
567
567
  href: "#",
568
568
  tone: "accent",
569
569
  underline: "none",
@@ -571,7 +571,7 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
571
571
  "aria-expanded": n,
572
572
  "aria-controls": r,
573
573
  onClick: (t) => {
574
- t.preventDefault(), ie((t) => ({
574
+ t.preventDefault(), ae((t) => ({
575
575
  ...t,
576
576
  [e.key]: !n
577
577
  }));
@@ -599,25 +599,25 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
599
599
  children: e.provider
600
600
  })
601
601
  ]
602
- }), /* @__PURE__ */ W(m, {
602
+ }), /* @__PURE__ */ W(p, {
603
603
  tone: "muted",
604
604
  size: "sm",
605
605
  children: e.purpose
606
606
  })]
607
607
  }, e.id))
608
- }) : n ? /* @__PURE__ */ W(m, {
608
+ }) : n ? /* @__PURE__ */ W(p, {
609
609
  tone: "muted",
610
610
  size: "sm",
611
611
  children: se
612
612
  }) : null]
613
613
  })
614
614
  ]
615
- }), /* @__PURE__ */ W(ae, {
616
- checked: e.required ? !0 : ne[e.key] === !0,
615
+ }), /* @__PURE__ */ W(v, {
616
+ checked: e.required ? !0 : re[e.key] === !0,
617
617
  disabled: e.required,
618
618
  onChange: (t) => {
619
619
  let n = t.target.checked;
620
- N((t) => ({
620
+ P((t) => ({
621
621
  ...t,
622
622
  [e.key]: e.required ? !0 : n
623
623
  }));
@@ -627,51 +627,51 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
627
627
  })
628
628
  }), Q = /* @__PURE__ */ G("div", {
629
629
  className: "cookie-preferences-footer-inner",
630
- children: [X, /* @__PURE__ */ G(oe, {
630
+ children: [X, /* @__PURE__ */ G(f, {
631
631
  className: "cookie-preferences-actions",
632
632
  wrap: "wrap",
633
633
  justify: "end",
634
634
  children: [
635
- /* @__PURE__ */ W(p, {
635
+ /* @__PURE__ */ W(_, {
636
636
  variant: "ghost",
637
637
  color: "primary",
638
638
  onClick: J,
639
639
  children: U
640
640
  }),
641
- o && /* @__PURE__ */ W(p, {
641
+ o && /* @__PURE__ */ W(_, {
642
642
  variant: "outlined",
643
643
  color: "primary",
644
644
  onClick: le,
645
- children: R
645
+ children: z
646
646
  }),
647
- a && /* @__PURE__ */ W(p, {
647
+ a && /* @__PURE__ */ W(_, {
648
648
  variant: "ghost",
649
649
  color: "primary",
650
650
  onClick: ce,
651
- children: L
651
+ children: R
652
652
  }),
653
- s && /* @__PURE__ */ W(p, {
653
+ s && /* @__PURE__ */ W(_, {
654
654
  color: "primary",
655
655
  onClick: () => {
656
- Y(ne);
656
+ Y(re);
657
657
  },
658
- children: V
658
+ children: oe
659
659
  })
660
660
  ]
661
661
  })]
662
662
  });
663
663
  return t === "inline" ? n ? /* @__PURE__ */ G("div", {
664
- className: u("cookie-preferences embedded", O),
665
- ...k,
664
+ className: u("cookie-preferences embedded", k),
665
+ ...A,
666
666
  children: [
667
- (F || I) && /* @__PURE__ */ W("div", {
667
+ (I || L) && /* @__PURE__ */ W("div", {
668
668
  className: "cookie-preferences-heading",
669
- children: /* @__PURE__ */ G(P, { children: [F && /* @__PURE__ */ W("div", {
669
+ children: /* @__PURE__ */ G(F, { children: [I && /* @__PURE__ */ W("div", {
670
670
  className: "cookie-preferences-title",
671
- children: F
672
- }), I && /* @__PURE__ */ W("div", {
673
- className: "cookie-preferences-description",
674
671
  children: I
672
+ }), L && /* @__PURE__ */ W("div", {
673
+ className: "cookie-preferences-description",
674
+ children: L
675
675
  })] })
676
676
  }),
677
677
  Z,
@@ -680,34 +680,34 @@ function Ae({ open: e, variant: t = "drawer", embedded: n = !1, title: r, descri
680
680
  children: Q
681
681
  })
682
682
  ]
683
- }) : /* @__PURE__ */ G(y, {
684
- className: u("cookie-preferences inline", O),
685
- ...k,
683
+ }) : /* @__PURE__ */ G(x, {
684
+ className: u("cookie-preferences inline", k),
685
+ ...A,
686
686
  children: [
687
- (F || I) && /* @__PURE__ */ W(_, { children: /* @__PURE__ */ G(P, { children: [F && /* @__PURE__ */ W("div", { children: F }), I && /* @__PURE__ */ W("div", {
687
+ (I || L) && /* @__PURE__ */ W(y, { children: /* @__PURE__ */ G(F, { children: [I && /* @__PURE__ */ W("div", { children: I }), L && /* @__PURE__ */ W("div", {
688
688
  className: "cookie-preferences-description",
689
- children: I
689
+ children: L
690
690
  })] }) }),
691
- /* @__PURE__ */ W(b, { children: Z }),
692
- /* @__PURE__ */ W(v, { children: Q })
691
+ /* @__PURE__ */ W(S, { children: Z }),
692
+ /* @__PURE__ */ W(b, { children: Q })
693
693
  ]
694
- }) : /* @__PURE__ */ G(w, {
695
- open: M,
694
+ }) : /* @__PURE__ */ G(E, {
695
+ open: N,
696
696
  onClose: J,
697
697
  side: "right",
698
698
  size: "lg",
699
699
  closeOnBackdrop: !1,
700
700
  className: "cookie-preferences",
701
701
  children: [
702
- /* @__PURE__ */ W(x, {
702
+ /* @__PURE__ */ W(C, {
703
703
  bordered: !0,
704
- children: /* @__PURE__ */ G(P, { children: [F && /* @__PURE__ */ W("div", { children: F }), I && /* @__PURE__ */ W("div", {
704
+ children: /* @__PURE__ */ G(F, { children: [I && /* @__PURE__ */ W("div", { children: I }), L && /* @__PURE__ */ W("div", {
705
705
  className: "cookie-preferences-description",
706
- children: I
706
+ children: L
707
707
  })] })
708
708
  }),
709
- /* @__PURE__ */ W(S, { children: Z }),
710
- /* @__PURE__ */ W(C, {
709
+ /* @__PURE__ */ W(w, { children: Z }),
710
+ /* @__PURE__ */ W(T, {
711
711
  bordered: !0,
712
712
  children: Q
713
713
  })
@@ -721,19 +721,19 @@ function je() {
721
721
  }
722
722
  function Me() {
723
723
  let [e, t] = H(() => je());
724
- return z(() => {
724
+ return B(() => {
725
725
  if (typeof window > "u") return;
726
726
  let e = () => {
727
727
  t(je());
728
728
  };
729
- return window.addEventListener(k, e), e(), () => {
730
- window.removeEventListener(k, e);
729
+ return window.addEventListener(A, e), e(), () => {
730
+ window.removeEventListener(A, e);
731
731
  };
732
732
  }, []), e;
733
733
  }
734
734
  function Ne({ placement: e = "bottom-left", triggerPlacement: t = "bottom-left", blockInteraction: n = !0, className: i, details: a }) {
735
735
  let o = me(), s = o.ready && (o.bannerOpen || o.preferencesOpen);
736
- z(() => {
736
+ B(() => {
737
737
  if (!n || !s) return;
738
738
  let e = document.body.style.overflow;
739
739
  return document.body.style.overflow = "hidden", () => {
@@ -747,19 +747,19 @@ function Ne({ placement: e = "bottom-left", triggerPlacement: t = "bottom-left",
747
747
  className: u("cookie-consent-panel", c),
748
748
  children: /* @__PURE__ */ W("div", {
749
749
  className: u(l && "cookie-consent-sheet"),
750
- children: /* @__PURE__ */ W(y, {
750
+ children: /* @__PURE__ */ W(x, {
751
751
  className: u("cookie-consent-card", i),
752
- children: /* @__PURE__ */ W(b, { children: /* @__PURE__ */ G(P, {
752
+ children: /* @__PURE__ */ W(S, { children: /* @__PURE__ */ G(F, {
753
753
  className: "cookie-consent-body",
754
754
  children: [
755
755
  /* @__PURE__ */ G("div", {
756
756
  className: "cookie-consent-copy",
757
757
  children: [
758
- /* @__PURE__ */ W(h, {
758
+ /* @__PURE__ */ W(m, {
759
759
  level: 4,
760
760
  children: o.texts.bannerTitle
761
761
  }),
762
- /* @__PURE__ */ W(m, {
762
+ /* @__PURE__ */ W(p, {
763
763
  tone: "muted",
764
764
  children: o.texts.bannerDescription
765
765
  }),
@@ -769,24 +769,24 @@ function Ne({ placement: e = "bottom-left", triggerPlacement: t = "bottom-left",
769
769
  })
770
770
  ]
771
771
  }),
772
- !o.preferencesOpen && /* @__PURE__ */ G(oe, {
772
+ !o.preferencesOpen && /* @__PURE__ */ G(f, {
773
773
  className: "cookie-consent-actions",
774
774
  wrap: "wrap",
775
775
  justify: "end",
776
776
  children: [
777
- /* @__PURE__ */ W(p, {
777
+ /* @__PURE__ */ W(_, {
778
778
  variant: "ghost",
779
779
  color: "primary",
780
780
  onClick: o.openPreferences,
781
781
  children: o.texts.manage
782
782
  }),
783
- /* @__PURE__ */ W(p, {
783
+ /* @__PURE__ */ W(_, {
784
784
  variant: "outlined",
785
785
  color: "primary",
786
786
  onClick: () => o.rejectAll("banner"),
787
787
  children: o.texts.rejectAll
788
788
  }),
789
- /* @__PURE__ */ W(p, {
789
+ /* @__PURE__ */ W(_, {
790
790
  color: "primary",
791
791
  onClick: () => o.acceptAll("banner"),
792
792
  children: o.texts.acceptAll
@@ -856,8 +856,8 @@ function Pe({ placement: e = "bottom-left", triggerPlacement: t = "bottom-left",
856
856
  }
857
857
  //#endregion
858
858
  //#region src/components/feedback/MCookie/MCookieBanner/MCookieBanner.tsx
859
- function Fe({ className: e, title: t, description: n, showRejectAll: r, showPreferences: i, acceptLabel: a, rejectLabel: o, preferencesLabel: s, dismissible: c, closeLabel: l, onAcceptAll: d, onRejectAll: f, onOpenPreferences: m, onDismiss: h, actions: g, children: _ }) {
860
- let v = _ ?? /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ G("div", {
859
+ function Fe({ className: e, title: t, description: n, showRejectAll: r, showPreferences: i, acceptLabel: a, rejectLabel: o, preferencesLabel: s, dismissible: c, closeLabel: l, onAcceptAll: d, onRejectAll: f, onOpenPreferences: p, onDismiss: m, actions: h, children: g }) {
860
+ let v = g ?? /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ G("div", {
861
861
  className: "cookie-banner-content",
862
862
  children: [t && /* @__PURE__ */ W("div", {
863
863
  className: "cookie-banner-title",
@@ -868,36 +868,36 @@ function Fe({ className: e, title: t, description: n, showRejectAll: r, showPref
868
868
  })]
869
869
  }), /* @__PURE__ */ G("div", {
870
870
  className: "cookie-banner-actions",
871
- children: [g ?? /* @__PURE__ */ G(U, { children: [
872
- i && /* @__PURE__ */ W(p, {
871
+ children: [h ?? /* @__PURE__ */ G(U, { children: [
872
+ i && /* @__PURE__ */ W(_, {
873
873
  variant: "ghost",
874
874
  color: "primary",
875
- onClick: m,
875
+ onClick: p,
876
876
  children: s
877
877
  }),
878
- r && /* @__PURE__ */ W(p, {
878
+ r && /* @__PURE__ */ W(_, {
879
879
  variant: "outlined",
880
880
  color: "primary",
881
881
  onClick: f,
882
882
  children: o
883
883
  }),
884
- /* @__PURE__ */ W(p, {
884
+ /* @__PURE__ */ W(_, {
885
885
  color: "primary",
886
886
  onClick: d,
887
887
  children: a
888
888
  })
889
- ] }), c && /* @__PURE__ */ W(p, {
889
+ ] }), c && /* @__PURE__ */ W(_, {
890
890
  className: "cookie-banner-dismiss",
891
891
  variant: "ghost",
892
892
  color: "primary",
893
- onClick: h,
893
+ onClick: m,
894
894
  "aria-label": l,
895
895
  children: l
896
896
  })]
897
897
  })] });
898
- return /* @__PURE__ */ W(y, {
898
+ return /* @__PURE__ */ W(x, {
899
899
  className: u("surface", e),
900
- children: /* @__PURE__ */ W(b, { children: v })
900
+ children: /* @__PURE__ */ W(S, { children: v })
901
901
  });
902
902
  }
903
903
  function Ie(e, t, n) {
@@ -909,7 +909,7 @@ function Ie(e, t, n) {
909
909
  function Le({ open: e, position: t = "bottom", variant: n = "bar", color: r = "primary", title: i, description: a, showRejectAll: o = !0, showPreferences: s = !0, acceptLabel: c, rejectLabel: l, preferencesLabel: d, closeLabel: f, dismissible: p = !1, sticky: m = !0, fullWidth: h = !0, onAcceptAll: g, onRejectAll: _, onOpenPreferences: v, onDismiss: y, actions: b, className: x, children: S, ...C }) {
910
910
  let w = $();
911
911
  if (!(e ?? w?.bannerOpen ?? !1)) return null;
912
- let T = i ?? w?.texts.bannerTitle, E = a ?? w?.texts.bannerDescription, D = c ?? w?.texts.acceptAll, ee = l ?? w?.texts.rejectAll, te = d ?? w?.texts.preferences, O = f ?? w?.texts.close ?? "Close", k = g ?? (() => w?.acceptAll()), A = _ ?? (() => w?.rejectAll()), j = v ?? (() => w?.openPreferences()), M = y ?? (() => w?.hideBanner());
912
+ let T = i ?? w?.texts.bannerTitle, E = a ?? w?.texts.bannerDescription, D = c ?? w?.texts.acceptAll, ee = l ?? w?.texts.rejectAll, O = d ?? w?.texts.preferences, te = f ?? w?.texts.close ?? "Close", ne = g ?? (() => w?.acceptAll()), k = _ ?? (() => w?.rejectAll()), A = v ?? (() => w?.openPreferences()), j = y ?? (() => w?.hideBanner());
913
913
  return Ie(/* @__PURE__ */ W("div", {
914
914
  className: u("cookie-banner", n, `color-${r}`, h && "full-width", x),
915
915
  ...C,
@@ -920,13 +920,13 @@ function Le({ open: e, position: t = "bottom", variant: n = "bar", color: r = "p
920
920
  showPreferences: s,
921
921
  acceptLabel: D,
922
922
  rejectLabel: ee,
923
- preferencesLabel: te,
924
- closeLabel: O,
923
+ preferencesLabel: O,
924
+ closeLabel: te,
925
925
  dismissible: p,
926
- onAcceptAll: k,
927
- onRejectAll: A,
928
- onOpenPreferences: j,
929
- onDismiss: M,
926
+ onAcceptAll: ne,
927
+ onRejectAll: k,
928
+ onOpenPreferences: A,
929
+ onDismiss: j,
930
930
  actions: b,
931
931
  children: S
932
932
  })
@@ -947,8 +947,8 @@ function Re(e, t) {
947
947
  e.domain
948
948
  ].filter(Boolean).some((e) => String(e).toLowerCase().includes(n)));
949
949
  }
950
- function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, emptyState: i, loading: a = !1, title: o, description: s, showCategory: c = !0, showProvider: l = !0, showDuration: d = !0, showType: f = !0, showDomain: p = !0, renderActions: g, className: _, ...v }) {
951
- let y = $(), [b, x] = H(""), S = B(() => e ?? y?.declaration ?? [], [y?.declaration, e]), C = B(() => Re(S, b), [b, S]), w = o ?? y?.texts.declarationTitle, E = s ?? y?.texts.declarationDescription, D = y?.texts.noDeclarationItems ?? "No declaration items available.", ee = y?.texts.searchDeclaration ?? "Search cookies...", te = B(() => {
950
+ function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, emptyState: i, loading: a = !1, title: o, description: s, showCategory: c = !0, showProvider: l = !0, showDuration: d = !0, showType: f = !0, showDomain: h = !0, renderActions: g, className: _, ...v }) {
951
+ let y = $(), [b, x] = H(""), S = V(() => e ?? y?.declaration ?? [], [y?.declaration, e]), C = V(() => Re(S, b), [b, S]), w = o ?? y?.texts.declarationTitle, T = s ?? y?.texts.declarationDescription, E = y?.texts.noDeclarationItems ?? "No declaration items available.", ee = y?.texts.searchDeclaration ?? "Search cookies...", O = V(() => {
952
952
  let e = [];
953
953
  return c && !t && e.push({
954
954
  key: "category",
@@ -977,7 +977,7 @@ function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, em
977
977
  label: "Type",
978
978
  width: "12%",
979
979
  render: (e) => e ?? "-"
980
- }), p && e.push({
980
+ }), h && e.push({
981
981
  key: "domain",
982
982
  label: "Domain",
983
983
  width: "14%",
@@ -986,11 +986,11 @@ function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, em
986
986
  }, [
987
987
  t,
988
988
  c,
989
- p,
989
+ h,
990
990
  d,
991
991
  l,
992
992
  f
993
- ]), O = B(() => {
993
+ ]), te = V(() => {
994
994
  if (!t) return [];
995
995
  let e = /* @__PURE__ */ new Map();
996
996
  for (let t of C) {
@@ -999,52 +999,52 @@ function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, em
999
999
  }
1000
1000
  return Array.from(e.entries());
1001
1001
  }, [C, t]);
1002
- return /* @__PURE__ */ G(P, {
1002
+ return /* @__PURE__ */ G(F, {
1003
1003
  className: u("cookie-declaration", _),
1004
1004
  ...v,
1005
1005
  children: [
1006
- (w || E || g) && /* @__PURE__ */ G("div", {
1006
+ (w || T || g) && /* @__PURE__ */ G("div", {
1007
1007
  className: "cookie-declaration-copy",
1008
1008
  children: [
1009
- w && /* @__PURE__ */ W(h, {
1009
+ w && /* @__PURE__ */ W(m, {
1010
1010
  level: 4,
1011
1011
  children: w
1012
1012
  }),
1013
- E && /* @__PURE__ */ W(m, {
1013
+ T && /* @__PURE__ */ W(p, {
1014
1014
  className: "cookie-declaration-description",
1015
- children: E
1015
+ children: T
1016
1016
  }),
1017
1017
  g
1018
1018
  ]
1019
1019
  }),
1020
- n && /* @__PURE__ */ W(T, {
1020
+ n && /* @__PURE__ */ W(D, {
1021
1021
  className: "cookie-declaration-search",
1022
1022
  value: b,
1023
1023
  onChange: (e) => x(e.target.value),
1024
1024
  placeholder: ee
1025
1025
  }),
1026
- !a && C.length === 0 && (i ?? /* @__PURE__ */ W(m, {
1026
+ !a && C.length === 0 && (i ?? /* @__PURE__ */ W(p, {
1027
1027
  className: "cookie-declaration-empty",
1028
- children: D
1028
+ children: E
1029
1029
  })),
1030
- !a && !t && C.length > 0 && /* @__PURE__ */ W(F, {
1031
- columns: te,
1030
+ !a && !t && C.length > 0 && /* @__PURE__ */ W(I, {
1031
+ columns: O,
1032
1032
  data: C,
1033
1033
  rowKey: "id",
1034
1034
  compact: r,
1035
- emptyText: D
1035
+ emptyText: E
1036
1036
  }),
1037
- !a && t && O.map(([e, t]) => /* @__PURE__ */ G(P, {
1037
+ !a && t && te.map(([e, t]) => /* @__PURE__ */ G(F, {
1038
1038
  className: "cookie-declaration-group",
1039
- children: [/* @__PURE__ */ W(h, {
1039
+ children: [/* @__PURE__ */ W(m, {
1040
1040
  level: 5,
1041
1041
  children: e
1042
- }), /* @__PURE__ */ W(F, {
1043
- columns: te,
1042
+ }), /* @__PURE__ */ W(I, {
1043
+ columns: O,
1044
1044
  data: t,
1045
1045
  rowKey: "id",
1046
1046
  compact: r,
1047
- emptyText: D
1047
+ emptyText: E
1048
1048
  })]
1049
1049
  }, e))
1050
1050
  ]
@@ -1053,4 +1053,4 @@ function ze({ items: e, grouped: t = !0, searchable: n = !1, compact: r = !1, em
1053
1053
  //#endregion
1054
1054
  export { Te as a, de as c, J as d, se as f, Ae as i, Z as l, Le as n, we as o, Pe as r, me as s, ze as t, le as u };
1055
1055
 
1056
- //# sourceMappingURL=feedback-D29Er-TD.js.map
1056
+ //# sourceMappingURL=feedback-D3LLKNlY.js.map