@public-ui/sample-react 2.2.17 → 2.2.18-rc.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 (283) hide show
  1. package/dist/assets/{Alert-0e712d66-uBEYhT93.js → Alert-c727f293-DOIfZVPw.js} +2 -2
  2. package/dist/assets/{Alert-0e712d66-uBEYhT93.js.map → Alert-c727f293-DOIfZVPw.js.map} +1 -1
  3. package/dist/assets/{Collapsible-18d9607a-amR5-Orl.js → Collapsible-f4ca4e1e-CR4tUzui.js} +2 -2
  4. package/dist/assets/{Collapsible-18d9607a-amR5-Orl.js.map → Collapsible-f4ca4e1e-CR4tUzui.js.map} +1 -1
  5. package/dist/assets/{FormFieldMsg-c5be4e2c-D7DaZUCH.js → FormFieldMsg-0f741ba5-0Py460yI.js} +2 -2
  6. package/dist/assets/{FormFieldMsg-c5be4e2c-D7DaZUCH.js.map → FormFieldMsg-0f741ba5-0Py460yI.js.map} +1 -1
  7. package/dist/assets/{InternalUnderlinedBadgeText-1fac598e-BG7MOeGO.js → InternalUnderlinedBadgeText-11c433f0-Bgw49yxN.js} +2 -2
  8. package/dist/assets/{InternalUnderlinedBadgeText-1fac598e-BG7MOeGO.js.map → InternalUnderlinedBadgeText-11c433f0-Bgw49yxN.js.map} +1 -1
  9. package/dist/assets/{access-and-short-key-914780a7-D_amaVwB.js → access-and-short-key-914780a7-C4zgfhUC.js} +2 -2
  10. package/dist/assets/{access-and-short-key-914780a7-D_amaVwB.js.map → access-and-short-key-914780a7-C4zgfhUC.js.map} +1 -1
  11. package/dist/assets/{align-f3101425-B4vHQ56A.js → align-f3101425-BrP3TWQd.js} +2 -2
  12. package/dist/assets/{align-f3101425-B4vHQ56A.js.map → align-f3101425-BrP3TWQd.js.map} +1 -1
  13. package/dist/assets/{align-floating-elements-a7a489c8-ByZWe2kh.js → align-floating-elements-a7a489c8-CClZOKoP.js} +2 -2
  14. package/dist/assets/{align-floating-elements-a7a489c8-ByZWe2kh.js.map → align-floating-elements-a7a489c8-CClZOKoP.js.map} +1 -1
  15. package/dist/assets/{associated.controller-d302adf7-CA_utPAF.js → associated.controller-d302adf7-BJItAWLN.js} +2 -2
  16. package/dist/assets/{associated.controller-d302adf7-CA_utPAF.js.map → associated.controller-d302adf7-BJItAWLN.js.map} +1 -1
  17. package/dist/assets/badge-text-553534d4-CHbFI616.js +4 -0
  18. package/dist/assets/{badge-text-553534d4-CMC8YLDf.js.map → badge-text-553534d4-CHbFI616.js.map} +1 -1
  19. package/dist/assets/{button-variant-ebe4a1ea-CWrzeNL5.js → button-variant-ebe4a1ea-C4mijXls.js} +2 -2
  20. package/dist/assets/{button-variant-ebe4a1ea-CWrzeNL5.js.map → button-variant-ebe4a1ea-C4mijXls.js.map} +1 -1
  21. package/dist/assets/{color-48d7fdf1-Bn8Gtu9P.js → color-48d7fdf1-yv2kXiLZ.js} +2 -2
  22. package/dist/assets/{color-48d7fdf1-Bn8Gtu9P.js.map → color-48d7fdf1-yv2kXiLZ.js.map} +1 -1
  23. package/dist/assets/controller-6852ec73-DypTeg78.js +4 -0
  24. package/dist/assets/controller-6852ec73-DypTeg78.js.map +1 -0
  25. package/dist/assets/{controller-728fbdd1-CXKcVRFp.js → controller-728fbdd1-CwYRbkz6.js} +2 -2
  26. package/dist/assets/{controller-728fbdd1-CXKcVRFp.js.map → controller-728fbdd1-CwYRbkz6.js.map} +1 -1
  27. package/dist/assets/{controller-b19ef5c0-CJ2PcwNV.js → controller-7a8fe823-Cv8cHx8I.js} +2 -2
  28. package/dist/assets/{controller-b19ef5c0-CJ2PcwNV.js.map → controller-7a8fe823-Cv8cHx8I.js.map} +1 -1
  29. package/dist/assets/{controller-fa5508b8-CYjrNW9t.js → controller-b80ab45c-BdDyaa67.js} +2 -2
  30. package/dist/assets/{controller-fa5508b8-CYjrNW9t.js.map → controller-b80ab45c-BdDyaa67.js.map} +1 -1
  31. package/dist/assets/{controller-06c08e87-DgCcoVLc.js → controller-f2ec3fe1-nugq4AND.js} +2 -2
  32. package/dist/assets/{controller-06c08e87-DgCcoVLc.js.map → controller-f2ec3fe1-nugq4AND.js.map} +1 -1
  33. package/dist/assets/{controller-icon-b3eb5a58-lNp5Jesx.js → controller-icon-cfb10b73-CtVIHL05.js} +2 -2
  34. package/dist/assets/{controller-icon-b3eb5a58-lNp5Jesx.js.map → controller-icon-cfb10b73-CtVIHL05.js.map} +1 -1
  35. package/dist/assets/{custom-class-14f41251-CpMmOpkY.js → custom-class-14f41251-Vpq4wkq8.js} +2 -2
  36. package/dist/assets/{custom-class-14f41251-CpMmOpkY.js.map → custom-class-14f41251-Vpq4wkq8.js.map} +1 -1
  37. package/dist/assets/{debounce-99d34c2d-OEdnHK1N.js → debounce-99d34c2d-BzesSNlM.js} +2 -2
  38. package/dist/assets/{debounce-99d34c2d-OEdnHK1N.js.map → debounce-99d34c2d-BzesSNlM.js.map} +1 -1
  39. package/dist/assets/{dev.utils-e0ebaf6c-CB7CgDLr.js → dev.utils-3be52239-CvXuUaRC.js} +2 -2
  40. package/dist/assets/{dev.utils-e0ebaf6c-CB7CgDLr.js.map → dev.utils-3be52239-CvXuUaRC.js.map} +1 -1
  41. package/dist/assets/{devtools-9fd2762f--VxHs-M_.js → devtools-cbc287ee-CbUkAWek.js} +2 -2
  42. package/dist/assets/{devtools-9fd2762f--VxHs-M_.js.map → devtools-cbc287ee-CbUkAWek.js.map} +1 -1
  43. package/dist/assets/{disabled-26405bb8-yLGjk0L4.js → disabled-26405bb8-B__gNPLj.js} +2 -2
  44. package/dist/assets/{disabled-26405bb8-yLGjk0L4.js.map → disabled-26405bb8-B__gNPLj.js.map} +1 -1
  45. package/dist/assets/has-closer-602527ae-_TD3kAjH.js +4 -0
  46. package/dist/assets/{has-closer-602527ae-KyGw3ri5.js.map → has-closer-602527ae-_TD3kAjH.js.map} +1 -1
  47. package/dist/assets/{hide-label-0d754c8e-boPBSzV4.js → hide-label-0d754c8e-D7EdvFZA.js} +2 -2
  48. package/dist/assets/{hide-label-0d754c8e-boPBSzV4.js.map → hide-label-0d754c8e-D7EdvFZA.js.map} +1 -1
  49. package/dist/assets/{href-3ee53c2c-CTJOUpja.js → href-3ee53c2c-BTOmg8f8.js} +2 -2
  50. package/dist/assets/{href-3ee53c2c-CTJOUpja.js.map → href-3ee53c2c-BTOmg8f8.js.map} +1 -1
  51. package/dist/assets/{i18n-3dd5729d-DO6dvkOz.js → i18n-3dd5729d-BSOBqEb_.js} +2 -2
  52. package/dist/assets/{i18n-3dd5729d-DO6dvkOz.js.map → i18n-3dd5729d-BSOBqEb_.js.map} +1 -1
  53. package/dist/assets/{icons-adcda9b0-DCcG5I_T.js → icons-adcda9b0-DKjEs10l.js} +2 -2
  54. package/dist/assets/{icons-adcda9b0-DCcG5I_T.js.map → icons-adcda9b0-DKjEs10l.js.map} +1 -1
  55. package/dist/assets/image-source-d9230e9b-C_aRogLr.js +4 -0
  56. package/dist/assets/{image-source-d9230e9b-C8Ni--uD.js.map → image-source-d9230e9b-C_aRogLr.js.map} +1 -1
  57. package/dist/assets/{index-7WRSZKTT.js → index-Dwz7k95g.js} +257 -251
  58. package/dist/assets/index-Dwz7k95g.js.map +1 -0
  59. package/dist/assets/index-RX4JBqnI.css +1 -0
  60. package/dist/assets/{kol-abbr.entry-nqIddTUy.js → kol-abbr.entry-BW3PiZwb.js} +25 -8
  61. package/dist/assets/{kol-abbr.entry-nqIddTUy.js.map → kol-abbr.entry-BW3PiZwb.js.map} +1 -1
  62. package/dist/assets/{kol-accordion.entry-CZ9MpF3N.js → kol-accordion.entry-DOfRG0bV.js} +2 -2
  63. package/dist/assets/{kol-accordion.entry-CZ9MpF3N.js.map → kol-accordion.entry-DOfRG0bV.js.map} +1 -1
  64. package/dist/assets/{kol-alert-wc.entry-BFCuKloN.js → kol-alert-wc.entry-DfcFN3Yc.js} +2 -2
  65. package/dist/assets/{kol-alert-wc.entry-BFCuKloN.js.map → kol-alert-wc.entry-DfcFN3Yc.js.map} +1 -1
  66. package/dist/assets/{kol-alert.entry-BnmZKGuG.js → kol-alert.entry-DvGA__l9.js} +26 -9
  67. package/dist/assets/{kol-alert.entry-BnmZKGuG.js.map → kol-alert.entry-DvGA__l9.js.map} +1 -1
  68. package/dist/assets/{kol-avatar-wc.entry-BvgpNTZE.js → kol-avatar-wc.entry-BqGcedyn.js} +2 -2
  69. package/dist/assets/{kol-avatar-wc.entry-BvgpNTZE.js.map → kol-avatar-wc.entry-BqGcedyn.js.map} +1 -1
  70. package/dist/assets/{kol-avatar.entry-BEIJ42cm.js → kol-avatar.entry-qgp3Q0bT.js} +2 -2
  71. package/dist/assets/{kol-avatar.entry-BEIJ42cm.js.map → kol-avatar.entry-qgp3Q0bT.js.map} +1 -1
  72. package/dist/assets/{kol-badge.entry-BaEuYc9Y.js → kol-badge.entry-CyU7Xt83.js} +26 -9
  73. package/dist/assets/kol-badge.entry-CyU7Xt83.js.map +1 -0
  74. package/dist/assets/{kol-breadcrumb.entry-B1M-ICWk.js → kol-breadcrumb.entry-BK6f9C0c.js} +2 -2
  75. package/dist/assets/{kol-breadcrumb.entry-B1M-ICWk.js.map → kol-breadcrumb.entry-BK6f9C0c.js.map} +1 -1
  76. package/dist/assets/{kol-button-group-wc.entry-gxJB7Us_.js → kol-button-group-wc.entry-YLyA-tqy.js} +2 -2
  77. package/dist/assets/{kol-button-group-wc.entry-gxJB7Us_.js.map → kol-button-group-wc.entry-YLyA-tqy.js.map} +1 -1
  78. package/dist/assets/{kol-button-group.entry-7Kwq3b2J.js → kol-button-group.entry-DK1OJTSi.js} +2 -2
  79. package/dist/assets/{kol-button-group.entry-7Kwq3b2J.js.map → kol-button-group.entry-DK1OJTSi.js.map} +1 -1
  80. package/dist/assets/{kol-button-link.entry-CxDJpq2F.js → kol-button-link.entry-xhUia6g4.js} +25 -8
  81. package/dist/assets/kol-button-link.entry-xhUia6g4.js.map +1 -0
  82. package/dist/assets/{kol-button-wc.entry-DL3fnwBe.js → kol-button-wc.entry-CRRs2Ohj.js} +2 -2
  83. package/dist/assets/{kol-button-wc.entry-DL3fnwBe.js.map → kol-button-wc.entry-CRRs2Ohj.js.map} +1 -1
  84. package/dist/assets/{kol-button.entry-CWgFvGjU.js → kol-button.entry-AKGM0YJk.js} +26 -9
  85. package/dist/assets/kol-button.entry-AKGM0YJk.js.map +1 -0
  86. package/dist/assets/{kol-card.entry-BcWCuGZJ.js → kol-card.entry-TYhMQWNR.js} +26 -9
  87. package/dist/assets/kol-card.entry-TYhMQWNR.js.map +1 -0
  88. package/dist/assets/{kol-combobox.entry-DmuLP5tq.js → kol-combobox.entry-Dk3TxScm.js} +26 -9
  89. package/dist/assets/kol-combobox.entry-Dk3TxScm.js.map +1 -0
  90. package/dist/assets/{kol-details.entry-FhRO6hlU.js → kol-details.entry-C3pMY6gM.js} +2 -2
  91. package/dist/assets/{kol-details.entry-FhRO6hlU.js.map → kol-details.entry-C3pMY6gM.js.map} +1 -1
  92. package/dist/assets/{kol-drawer.entry-DJ_RFkAW.js → kol-drawer.entry-BRgemuv_.js} +2 -2
  93. package/dist/assets/{kol-drawer.entry-DJ_RFkAW.js.map → kol-drawer.entry-BRgemuv_.js.map} +1 -1
  94. package/dist/assets/{kol-form.entry-BBTC6wUn.js → kol-form.entry-B8VOH7iG.js} +27 -10
  95. package/dist/assets/kol-form.entry-B8VOH7iG.js.map +1 -0
  96. package/dist/assets/{kol-heading-wc.entry-m5Cf0Rnw.js → kol-heading-wc.entry-COH0cxe4.js} +2 -2
  97. package/dist/assets/{kol-heading-wc.entry-m5Cf0Rnw.js.map → kol-heading-wc.entry-COH0cxe4.js.map} +1 -1
  98. package/dist/assets/{kol-heading.entry-D5h4FaeZ.js → kol-heading.entry-DxQSXw0G.js} +2 -2
  99. package/dist/assets/{kol-heading.entry-D5h4FaeZ.js.map → kol-heading.entry-DxQSXw0G.js.map} +1 -1
  100. package/dist/assets/{kol-icon.entry-Cj5tF8hV.js → kol-icon.entry-BxITD-FR.js} +2 -2
  101. package/dist/assets/{kol-icon.entry-Cj5tF8hV.js.map → kol-icon.entry-BxITD-FR.js.map} +1 -1
  102. package/dist/assets/{kol-image.entry-C-N-n4dB.js → kol-image.entry-BrP6Hgy0.js} +2 -2
  103. package/dist/assets/{kol-image.entry-C-N-n4dB.js.map → kol-image.entry-BrP6Hgy0.js.map} +1 -1
  104. package/dist/assets/{kol-indented-text-wc.entry-CvduLasQ.js → kol-indented-text-wc.entry-CVAVtghQ.js} +2 -2
  105. package/dist/assets/{kol-indented-text-wc.entry-CvduLasQ.js.map → kol-indented-text-wc.entry-CVAVtghQ.js.map} +1 -1
  106. package/dist/assets/{kol-indented-text.entry-C_aJEJ-v.js → kol-indented-text.entry-CpWmYnwb.js} +2 -2
  107. package/dist/assets/{kol-indented-text.entry-C_aJEJ-v.js.map → kol-indented-text.entry-CpWmYnwb.js.map} +1 -1
  108. package/dist/assets/{kol-input-checkbox.entry-B76zrY_f.js → kol-input-checkbox.entry-DQ6at7Q8.js} +27 -10
  109. package/dist/assets/kol-input-checkbox.entry-DQ6at7Q8.js.map +1 -0
  110. package/dist/assets/{kol-input-color.entry-B7ed7INr.js → kol-input-color.entry-BPx9RDIY.js} +27 -10
  111. package/dist/assets/kol-input-color.entry-BPx9RDIY.js.map +1 -0
  112. package/dist/assets/{kol-input-date.entry-BcZLewxN.js → kol-input-date.entry-C_komS5W.js} +27 -10
  113. package/dist/assets/kol-input-date.entry-C_komS5W.js.map +1 -0
  114. package/dist/assets/{kol-input-email.entry-BH6tPw0I.js → kol-input-email.entry-Bk66xQHc.js} +27 -10
  115. package/dist/assets/kol-input-email.entry-Bk66xQHc.js.map +1 -0
  116. package/dist/assets/{kol-input-file.entry-DSseO_Z5.js → kol-input-file.entry-DstsFvOp.js} +25 -8
  117. package/dist/assets/kol-input-file.entry-DstsFvOp.js.map +1 -0
  118. package/dist/assets/{kol-input-number.entry-DidNuGEd.js → kol-input-number.entry-6kx0IJHx.js} +27 -10
  119. package/dist/assets/kol-input-number.entry-6kx0IJHx.js.map +1 -0
  120. package/dist/assets/{kol-input-password.entry-BCHE1Iu3.js → kol-input-password.entry-Va9o4DiU.js} +26 -9
  121. package/dist/assets/kol-input-password.entry-Va9o4DiU.js.map +1 -0
  122. package/dist/assets/{kol-input-radio.entry-3WrdQ6DK.js → kol-input-radio.entry--uz2Nhfv.js} +26 -9
  123. package/dist/assets/kol-input-radio.entry--uz2Nhfv.js.map +1 -0
  124. package/dist/assets/{kol-input-range.entry-Dy0wCxRM.js → kol-input-range.entry-BI0sCI7A.js} +25 -8
  125. package/dist/assets/kol-input-range.entry-BI0sCI7A.js.map +1 -0
  126. package/dist/assets/{kol-input-text.entry-yfz2bq69.js → kol-input-text.entry-BvYgFMRM.js} +27 -10
  127. package/dist/assets/kol-input-text.entry-BvYgFMRM.js.map +1 -0
  128. package/dist/assets/{kol-input.entry-CmqoapP2.js → kol-input.entry-CzbeB5r3.js} +3 -3
  129. package/dist/assets/{kol-input.entry-CmqoapP2.js.map → kol-input.entry-CzbeB5r3.js.map} +1 -1
  130. package/dist/assets/{kol-kolibri.entry-BVJhe2AN.js → kol-kolibri.entry-1950RCIl.js} +2 -2
  131. package/dist/assets/{kol-kolibri.entry-BVJhe2AN.js.map → kol-kolibri.entry-1950RCIl.js.map} +1 -1
  132. package/dist/assets/{kol-link-button.entry-Brtza8KX.js → kol-link-button.entry-BcsNOMgm.js} +26 -9
  133. package/dist/assets/{kol-link-button.entry-Brtza8KX.js.map → kol-link-button.entry-BcsNOMgm.js.map} +1 -1
  134. package/dist/assets/{kol-link-group.entry-B5MTjjCt.js → kol-link-group.entry-CnoKU7CZ.js} +2 -2
  135. package/dist/assets/{kol-link-group.entry-B5MTjjCt.js.map → kol-link-group.entry-CnoKU7CZ.js.map} +1 -1
  136. package/dist/assets/{kol-link-wc.entry-DeQ02o0Z.js → kol-link-wc.entry-DLZNAJo1.js} +2 -2
  137. package/dist/assets/{kol-link-wc.entry-DeQ02o0Z.js.map → kol-link-wc.entry-DLZNAJo1.js.map} +1 -1
  138. package/dist/assets/{kol-link.entry-DaI5E_CF.js → kol-link.entry-BQgY4D12.js} +27 -10
  139. package/dist/assets/{kol-link.entry-DaI5E_CF.js.map → kol-link.entry-BQgY4D12.js.map} +1 -1
  140. package/dist/assets/{kol-logo.entry-nf3bEdOr.js → kol-logo.entry-Dokl78jM.js} +2 -2
  141. package/dist/assets/{kol-logo.entry-nf3bEdOr.js.map → kol-logo.entry-Dokl78jM.js.map} +1 -1
  142. package/dist/assets/{kol-modal.entry-D9gmUEmt.js → kol-modal.entry-BTmlq7e7.js} +2 -2
  143. package/dist/assets/{kol-modal.entry-D9gmUEmt.js.map → kol-modal.entry-BTmlq7e7.js.map} +1 -1
  144. package/dist/assets/{kol-nav.entry-DonhfdBk.js → kol-nav.entry-DvQBUmKk.js} +26 -9
  145. package/dist/assets/kol-nav.entry-DvQBUmKk.js.map +1 -0
  146. package/dist/assets/{kol-pagination.entry-Cx0w89TI.js → kol-pagination.entry-RAUct0hX.js} +26 -9
  147. package/dist/assets/kol-pagination.entry-RAUct0hX.js.map +1 -0
  148. package/dist/assets/{kol-popover-button.entry-DguQ93pz.js → kol-popover-button.entry-Buy2Hkit.js} +26 -9
  149. package/dist/assets/kol-popover-button.entry-Buy2Hkit.js.map +1 -0
  150. package/dist/assets/{kol-popover-wc.entry-DU2b6gWJ.js → kol-popover-wc.entry-DwT93Lew.js} +2 -2
  151. package/dist/assets/{kol-popover-wc.entry-DU2b6gWJ.js.map → kol-popover-wc.entry-DwT93Lew.js.map} +1 -1
  152. package/dist/assets/{kol-progress.entry-BzRrudIG.js → kol-progress.entry-CqjMpQmm.js} +2 -2
  153. package/dist/assets/{kol-progress.entry-BzRrudIG.js.map → kol-progress.entry-CqjMpQmm.js.map} +1 -1
  154. package/dist/assets/{kol-quote.entry-BJKqbnhH.js → kol-quote.entry-CByDE573.js} +2 -2
  155. package/dist/assets/{kol-quote.entry-BJKqbnhH.js.map → kol-quote.entry-CByDE573.js.map} +1 -1
  156. package/dist/assets/{kol-select.entry-jLG-26rN.js → kol-select.entry-Doox6PJZ.js} +27 -10
  157. package/dist/assets/kol-select.entry-Doox6PJZ.js.map +1 -0
  158. package/dist/assets/{kol-single-select.entry-DqWqzNN2.js → kol-single-select.entry-CuNw9KtS.js} +27 -10
  159. package/dist/assets/kol-single-select.entry-CuNw9KtS.js.map +1 -0
  160. package/dist/assets/{kol-skip-nav.entry-ePu-ME-m.js → kol-skip-nav.entry-BkXytpMQ.js} +3 -3
  161. package/dist/assets/{kol-skip-nav.entry-ePu-ME-m.js.map → kol-skip-nav.entry-BkXytpMQ.js.map} +1 -1
  162. package/dist/assets/{kol-span-wc.entry-B_4lYSJa.js → kol-span-wc.entry-Bevldo40.js} +2 -2
  163. package/dist/assets/{kol-span-wc.entry-B_4lYSJa.js.map → kol-span-wc.entry-Bevldo40.js.map} +1 -1
  164. package/dist/assets/{kol-spin.entry-BDxEkQF7.js → kol-spin.entry-AcwK8Ate.js} +2 -2
  165. package/dist/assets/{kol-spin.entry-BDxEkQF7.js.map → kol-spin.entry-AcwK8Ate.js.map} +1 -1
  166. package/dist/assets/{kol-split-button.entry-DTs0Ge3U.js → kol-split-button.entry-CSLcEMLG.js} +25 -8
  167. package/dist/assets/kol-split-button.entry-CSLcEMLG.js.map +1 -0
  168. package/dist/assets/{kol-symbol.entry-C7rPA17Z.js → kol-symbol.entry-BuegctqT.js} +2 -2
  169. package/dist/assets/{kol-symbol.entry-C7rPA17Z.js.map → kol-symbol.entry-BuegctqT.js.map} +1 -1
  170. package/dist/assets/{kol-table-stateful.entry-_YmOg_Zr.js → kol-table-stateful.entry-tBayxlyU.js} +26 -9
  171. package/dist/assets/kol-table-stateful.entry-tBayxlyU.js.map +1 -0
  172. package/dist/assets/kol-table-stateless-wc.entry-DOITjzQN.js +4 -0
  173. package/dist/assets/kol-table-stateless-wc.entry-DOITjzQN.js.map +1 -0
  174. package/dist/assets/{kol-table-stateless.entry-D-wrMsED.js → kol-table-stateless.entry-CCS5mLLZ.js} +25 -8
  175. package/dist/assets/{kol-table-stateless.entry-D-wrMsED.js.map → kol-table-stateless.entry-CCS5mLLZ.js.map} +1 -1
  176. package/dist/assets/{kol-table.entry-BDD-wKwf.js → kol-table.entry-k6u6Rxvo.js} +2 -2
  177. package/dist/assets/{kol-table.entry-BDD-wKwf.js.map → kol-table.entry-k6u6Rxvo.js.map} +1 -1
  178. package/dist/assets/{kol-tabs.entry-CKKuTHqy.js → kol-tabs.entry-DG9S2UHH.js} +27 -10
  179. package/dist/assets/kol-tabs.entry-DG9S2UHH.js.map +1 -0
  180. package/dist/assets/{kol-textarea.entry-iqtysxgp.js → kol-textarea.entry-BQyVAFZF.js} +27 -10
  181. package/dist/assets/kol-textarea.entry-BQyVAFZF.js.map +1 -0
  182. package/dist/assets/{kol-toast-container.entry-BtT0mxOr.js → kol-toast-container.entry-BKyOj-Px.js} +27 -10
  183. package/dist/assets/kol-toast-container.entry-BKyOj-Px.js.map +1 -0
  184. package/dist/assets/{kol-toolbar.entry-BDZPg0Fn.js → kol-toolbar.entry-C1htvrFk.js} +27 -10
  185. package/dist/assets/kol-toolbar.entry-C1htvrFk.js.map +1 -0
  186. package/dist/assets/kol-tooltip-wc.entry-f9wdJ0bb.js +4 -0
  187. package/dist/assets/kol-tooltip-wc.entry-f9wdJ0bb.js.map +1 -0
  188. package/dist/assets/{kol-tree-item-wc.entry-B2NTruKX.js → kol-tree-item-wc.entry-DBTP5uLt.js} +2 -2
  189. package/dist/assets/{kol-tree-item-wc.entry-B2NTruKX.js.map → kol-tree-item-wc.entry-DBTP5uLt.js.map} +1 -1
  190. package/dist/assets/{kol-tree-item.entry-BMq44t19.js → kol-tree-item.entry-DettFYdz.js} +2 -2
  191. package/dist/assets/{kol-tree-item.entry-BMq44t19.js.map → kol-tree-item.entry-DettFYdz.js.map} +1 -1
  192. package/dist/assets/{kol-tree-wc.entry-CwqgyAyt.js → kol-tree-wc.entry-BbTr-UFV.js} +2 -2
  193. package/dist/assets/{kol-tree-wc.entry-CwqgyAyt.js.map → kol-tree-wc.entry-BbTr-UFV.js.map} +1 -1
  194. package/dist/assets/{kol-tree.entry-BuMB_eH8.js → kol-tree.entry-CgnY3RRf.js} +2 -2
  195. package/dist/assets/{kol-tree.entry-BuMB_eH8.js.map → kol-tree.entry-CgnY3RRf.js.map} +1 -1
  196. package/dist/assets/{kol-version.entry-BqnUnYrZ.js → kol-version.entry-DGDy-WRj.js} +2 -2
  197. package/dist/assets/{kol-version.entry-BqnUnYrZ.js.map → kol-version.entry-DGDy-WRj.js.map} +1 -1
  198. package/dist/assets/{label-7d1ce375-BFrJRMqI.js → label-7d1ce375-Cnlw7zBz.js} +2 -2
  199. package/dist/assets/{label-7d1ce375-BFrJRMqI.js.map → label-7d1ce375-Cnlw7zBz.js.map} +1 -1
  200. package/dist/assets/material-icons/README.md +19 -14
  201. package/dist/assets/material-icons/_data/versions.json +2123 -2123
  202. package/dist/assets/material-icons/index.d.ts +2122 -2122
  203. package/dist/assets/material-icons/package.json +50 -50
  204. package/dist/assets/material-symbols/README.md +18 -11
  205. package/dist/assets/material-symbols/index.d.ts +2803 -2803
  206. package/dist/assets/material-symbols/package.json +39 -39
  207. package/dist/assets/{open-74ada92d-BvcxmFHz.js → open-74ada92d-B4B7CmxO.js} +2 -2
  208. package/dist/assets/{open-74ada92d-BvcxmFHz.js.map → open-74ada92d-B4B7CmxO.js.map} +1 -1
  209. package/dist/assets/{rows-8ed50d64-KjuVedIm.js → rows-8ed50d64-BZQ3EiTF.js} +2 -2
  210. package/dist/assets/{rows-8ed50d64-KjuVedIm.js.map → rows-8ed50d64-BZQ3EiTF.js.map} +1 -1
  211. package/dist/assets/{show-bfd36a90-Kte4Wx63.js → show-bfd36a90-BOWfiU6C.js} +2 -2
  212. package/dist/assets/{show-bfd36a90-Kte4Wx63.js.map → show-bfd36a90-BOWfiU6C.js.map} +1 -1
  213. package/dist/assets/{spell-check-82b14d35-DZ5QRl6C.js → spell-check-82b14d35-B3YVmkXJ.js} +2 -2
  214. package/dist/assets/{spell-check-82b14d35-DZ5QRl6C.js.map → spell-check-82b14d35-B3YVmkXJ.js.map} +1 -1
  215. package/dist/assets/{suggestions-506c439a-CQXDoQKd.js → suggestions-506c439a-DOc1NyeW.js} +2 -2
  216. package/dist/assets/{suggestions-506c439a-CQXDoQKd.js.map → suggestions-506c439a-DOc1NyeW.js.map} +1 -1
  217. package/dist/assets/{table-selection-0290d830-D2faY19K.js → table-selection-0290d830-DUIAAn-u.js} +2 -2
  218. package/dist/assets/{table-selection-0290d830-D2faY19K.js.map → table-selection-0290d830-DUIAAn-u.js.map} +1 -1
  219. package/dist/assets/{test-component.entry-CcjZhfWm.js → test-component.entry-CKVvcQU-.js} +2 -2
  220. package/dist/assets/{test-component.entry-CcjZhfWm.js.map → test-component.entry-CKVvcQU-.js.map} +1 -1
  221. package/dist/assets/tooltip-align-6964dd71-QHXW52B0.js +4 -0
  222. package/dist/assets/{tooltip-align-6964dd71-32NcQL5L.js.map → tooltip-align-6964dd71-QHXW52B0.js.map} +1 -1
  223. package/dist/assets/{unique-nav-labels-4be6182a-BV8_F1jE.js → unique-nav-labels-4be6182a-VVLhSoXA.js} +2 -2
  224. package/dist/assets/{unique-nav-labels-4be6182a-BV8_F1jE.js.map → unique-nav-labels-4be6182a-VVLhSoXA.js.map} +1 -1
  225. package/dist/assets/{validation-7170ea32-DlT9y4Cy.js → validation-7170ea32-DsZClxmo.js} +2 -2
  226. package/dist/assets/{validation-7170ea32-DlT9y4Cy.js.map → validation-7170ea32-DsZClxmo.js.map} +1 -1
  227. package/dist/assets/{validation-b34ff01a-Kth4YFP5.js → validation-b34ff01a-BbFCuOz2.js} +2 -2
  228. package/dist/assets/{validation-b34ff01a-Kth4YFP5.js.map → validation-b34ff01a-BbFCuOz2.js.map} +1 -1
  229. package/dist/index.html +2 -2
  230. package/package.json +4 -4
  231. package/public/assets/material-icons/README.md +19 -14
  232. package/public/assets/material-icons/_data/versions.json +2123 -2123
  233. package/public/assets/material-icons/index.d.ts +2122 -2122
  234. package/public/assets/material-icons/package.json +50 -50
  235. package/public/assets/material-symbols/README.md +18 -11
  236. package/public/assets/material-symbols/index.d.ts +2803 -2803
  237. package/public/assets/material-symbols/package.json +39 -39
  238. package/src/components/skip-nav/basic.tsx +35 -26
  239. package/src/components/table/direction-aware-sort.tsx +65 -0
  240. package/src/components/table/routes.ts +7 -5
  241. package/src/scenarios/custom-tooltip-css-properties.tsx +42 -0
  242. package/src/scenarios/date-in-form.tsx +24 -0
  243. package/src/scenarios/routes.ts +4 -2
  244. package/dist/assets/badge-text-553534d4-CMC8YLDf.js +0 -4
  245. package/dist/assets/controller-c87b8bd9-CFkAiCfW.js +0 -4
  246. package/dist/assets/controller-c87b8bd9-CFkAiCfW.js.map +0 -1
  247. package/dist/assets/has-closer-602527ae-KyGw3ri5.js +0 -4
  248. package/dist/assets/image-source-d9230e9b-C8Ni--uD.js +0 -4
  249. package/dist/assets/index-7WRSZKTT.js.map +0 -1
  250. package/dist/assets/index-vFkaXpMl.css +0 -1
  251. package/dist/assets/kol-badge.entry-BaEuYc9Y.js.map +0 -1
  252. package/dist/assets/kol-button-link.entry-CxDJpq2F.js.map +0 -1
  253. package/dist/assets/kol-button.entry-CWgFvGjU.js.map +0 -1
  254. package/dist/assets/kol-card.entry-BcWCuGZJ.js.map +0 -1
  255. package/dist/assets/kol-combobox.entry-DmuLP5tq.js.map +0 -1
  256. package/dist/assets/kol-form.entry-BBTC6wUn.js.map +0 -1
  257. package/dist/assets/kol-input-checkbox.entry-B76zrY_f.js.map +0 -1
  258. package/dist/assets/kol-input-color.entry-B7ed7INr.js.map +0 -1
  259. package/dist/assets/kol-input-date.entry-BcZLewxN.js.map +0 -1
  260. package/dist/assets/kol-input-email.entry-BH6tPw0I.js.map +0 -1
  261. package/dist/assets/kol-input-file.entry-DSseO_Z5.js.map +0 -1
  262. package/dist/assets/kol-input-number.entry-DidNuGEd.js.map +0 -1
  263. package/dist/assets/kol-input-password.entry-BCHE1Iu3.js.map +0 -1
  264. package/dist/assets/kol-input-radio.entry-3WrdQ6DK.js.map +0 -1
  265. package/dist/assets/kol-input-range.entry-Dy0wCxRM.js.map +0 -1
  266. package/dist/assets/kol-input-text.entry-yfz2bq69.js.map +0 -1
  267. package/dist/assets/kol-nav.entry-DonhfdBk.js.map +0 -1
  268. package/dist/assets/kol-pagination.entry-Cx0w89TI.js.map +0 -1
  269. package/dist/assets/kol-popover-button.entry-DguQ93pz.js.map +0 -1
  270. package/dist/assets/kol-select.entry-jLG-26rN.js.map +0 -1
  271. package/dist/assets/kol-single-select.entry-DqWqzNN2.js.map +0 -1
  272. package/dist/assets/kol-split-button.entry-DTs0Ge3U.js.map +0 -1
  273. package/dist/assets/kol-table-stateful.entry-_YmOg_Zr.js.map +0 -1
  274. package/dist/assets/kol-table-stateless-wc.entry-BJoqdOUx.js +0 -4
  275. package/dist/assets/kol-table-stateless-wc.entry-BJoqdOUx.js.map +0 -1
  276. package/dist/assets/kol-tabs.entry-CKKuTHqy.js.map +0 -1
  277. package/dist/assets/kol-textarea.entry-iqtysxgp.js.map +0 -1
  278. package/dist/assets/kol-toast-container.entry-BtT0mxOr.js.map +0 -1
  279. package/dist/assets/kol-toolbar.entry-BDZPg0Fn.js.map +0 -1
  280. package/dist/assets/kol-tooltip-wc.entry-C61tRBS8.js +0 -4
  281. package/dist/assets/kol-tooltip-wc.entry-C61tRBS8.js.map +0 -1
  282. package/dist/assets/tooltip-align-6964dd71-32NcQL5L.js +0 -4
  283. package/src/scenarios/custom-tooltip-width.tsx +0 -33
@@ -1 +0,0 @@
1
- *,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.grid{display:grid}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-6{grid-column:span 6/span 6}.grid-cols-\[4fr_4fr_1fr\]{grid-template-columns:4fr 4fr 1fr}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.me{margin-inline-end:calc(16rem / var(--kolibri-root-font-size, 16))}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[1em\]{height:1em}.ha{height:auto}.max-w-2xl{max-width:42rem}.min-w-\[10em\]{min-width:10em}.min-w-\[12em\]{min-width:12em}.min-w-\[13em\]{min-width:13em}.min-w-\[14em\]{min-width:14em}.min-w-\[15em\]{min-width:15em}.w-\[1em\]{width:1em}.w-75px{width:75px}.w-fit{width:fit-content}.w-full{width:100%}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.items-end{align-items:flex-end}.flex-items-center,.items-center{align-items:center}.items-stretch{align-items:stretch}.flex-justify-between,.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.b,.border{border-width:1px}.border-b-1{border-bottom-width:1px}.border-dark-100{--un-border-opacity:1;border-color:rgb(60 60 60 / var(--un-border-opacity))}.border-gray{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.px{padding-left:calc(16rem / var(--kolibri-root-font-size, 16));padding-right:calc(16rem / var(--kolibri-root-font-size, 16))}.pb-sm{padding-bottom:calc(14rem / var(--kolibri-root-font-size, 16))}.text-center{text-align:center}.text-base{font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:1.5}.text-sm{font-size:calc(14rem / var(--kolibri-root-font-size, 16));line-height:1.25}.color-gray-5{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}.tab-1{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.tab-2{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.tab-3{-moz-tab-size:3;-o-tab-size:3;tab-size:3}.list-none{list-style-type:none}.p-0{padding:calc(0rem / var(--kolibri-root-font-size, 16))}.p-2{padding:calc(8rem / var(--kolibri-root-font-size, 16))}.p-3{padding:calc(12rem / var(--kolibri-root-font-size, 16))}.p-4{padding:calc(16rem / var(--kolibri-root-font-size, 16))}.py-2{padding-top:calc(8rem / var(--kolibri-root-font-size, 16));padding-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.m-0{margin:calc(0rem / var(--kolibri-root-font-size, 16))}.m-4{margin:calc(16rem / var(--kolibri-root-font-size, 16))}.my-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.my-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mt,.mt-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16))}.mr{margin-right:calc(16rem / var(--kolibri-root-font-size, 16))}.mt-0{margin-top:calc(0rem / var(--kolibri-root-font-size, 16))}.m-t-2,.mt-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16))}.mt-6{margin-top:calc(24rem / var(--kolibri-root-font-size, 16))}.mb-2{margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.mb-3{margin-bottom:calc(12rem / var(--kolibri-root-font-size, 16))}.mb-4{margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mb-8{margin-bottom:calc(32rem / var(--kolibri-root-font-size, 16))}.gap-14{gap:calc(56rem / var(--kolibri-root-font-size, 16))}.gap-2{gap:calc(8rem / var(--kolibri-root-font-size, 16))}.gap-4{gap:calc(16rem / var(--kolibri-root-font-size, 16))}.gap-8{gap:calc(32rem / var(--kolibri-root-font-size, 16))}.w-8rem{width:calc(128rem / var(--kolibri-root-font-size, 16))}.w-sm{width:calc(384rem / var(--kolibri-root-font-size, 16))}@media (min-width: 640px){.sm\:col-span-6{grid-column:span 6/span 6}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:flex{display:flex}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-6{grid-column:span 6/span 6}.md\:grid-cols-\[auto_1fr_1fr\]{grid-template-columns:auto 1fr 1fr}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:col-span-2{grid-column:span 2/span 2}.xl\:col-span-3{grid-column:span 3/span 3}.xl\:col-span-5{grid-column:span 5/span 5}.xl\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}}:root{--kolibri-root-font-size: 100;font-size:625%}body{margin:0;font-family:Verdana;font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:normal}dl,hr{margin:0}.grid-cols-2{grid-template-columns:auto auto}.indented-text p{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.black-background{background-color:#000;display:flex;padding:calc(8rem / var(--kolibri-root-font-size, 16));flex-direction:column}.w-image{width:500px}.drawer-content-vertical{width:calc(400rem / var(--kolibri-root-font-size, 16))}@media (min-width: 1024px){.app-container{display:grid;height:100%;min-height:100vh;grid-template-columns:calc(360rem / var(--kolibri-root-font-size, 16)) calc(100% - 360rem / var(--kolibri-root-font-size, 16))}.app-sidebar{position:relative;z-index:1;border-right:1px solid gray}.app-sidebar .scrollable-container-wrapper{display:flex;position:fixed;top:0;bottom:0;left:0;width:calc(330rem / var(--kolibri-root-font-size, 16));margin:calc(16rem / var(--kolibri-root-font-size, 16));flex-direction:column}.app-sidebar .scrollable-container-wrapper .scrollable-container{overflow:auto;flex:1 auto}}@media print{.no-print,.no-print *{display:none!important}}.mainlayout{display:grid;width:100%;min-height:calc(100vh - 32rem / var(--kolibri-root-font-size, 16));column-gap:calc(16rem / var(--kolibri-root-font-size, 16));grid-template-areas:"nav content";grid-template-columns:calc(400rem / var(--kolibri-root-font-size, 16)) calc(100% - 460rem / var(--kolibri-root-font-size, 16));grid-template-rows:1fr}.mainlayout>.nav-area{grid-area:nav}.mainlayout>.content{grid-area:content}.loader{border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;width:48px;height:48px;animation:pulse 1s linear infinite;border:5px solid #333}.loader:after{transform:translate(-50%,-50%);border-radius:50%;display:inline-block;position:absolute;top:50%;left:50%;box-sizing:border-box;width:48px;height:48px;content:"";animation:scaleUp 1s linear infinite;border:5px solid #f00}@keyframes scaleUp{0%{transform:translate(-50%,-50%) scale(0)}60%,to{transform:translate(-50%,-50%) scale(1)}}@keyframes pulse{0%,60%,to{transform:scale(1)}80%{transform:scale(1.2)}}@media (prefers-reduced-motion){.loader,.loader:after{animation-duration:2s}}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-badge.entry-BaEuYc9Y.js","sources":["../../../../components/dist/esm/kol-badge.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { h as featureHint, o as objectObjectHandler, l as parseJson, m as setState } from './index-7a63e9eb.js';\nimport { f as KolSpanWcTag, c as KolButtonWcTag } from './component-names-4cb1c62b.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { h as handleColorChange, v as validateColor } from './color-48d7fdf1.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host > span {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n display: inline-flex;\\n place-items: center;\\n }\\n :host > span > .kol-button-wc button {\\n color: inherit;\\n }\\n}\";\nconst KolBadgeDefaultStyle0 = defaultStyleCss;\n\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\nconst KolBadge = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bgColorStr = '#000';\n this.colorStr = '#fff';\n this.id = nonce();\n this.handleColorChange = (value) => {\n const colorPair = handleColorChange(value);\n this.bgColorStr = colorPair.backgroundColor;\n this.colorStr = colorPair.foregroundColor;\n };\n this._color = '#000';\n this._icons = undefined;\n this._label = undefined;\n this._smartButton = undefined;\n this.state = {\n _color: {\n backgroundColor: '#000',\n foregroundColor: '#fff',\n },\n };\n }\n renderSmartButton(props) {\n return (h(KolButtonWcTag, { _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _variant: props._variant }));\n }\n render() {\n const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n return (h(Host, { key: 'e18cef57a5d00c73f9040d17f16e53a22bb21c2d', class: \"kol-badge\" }, h(\"span\", { key: '6375f9d2c8c8863165d6e0dce77ad89f708275b5', class: {\n 'smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n }, style: {\n backgroundColor: this.bgColorStr,\n color: this.colorStr,\n } }, h(KolSpanWcTag, { key: 'a74d942a94c5bbeb002bbd42a5d45a9e75c704e8', id: hasSmartButton ? this.id : undefined, _allowMarkdown: true, _icons: this._icons, _label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton))));\n }\n validateColor(value) {\n validateColor(this, value, {\n defaultValue: '#000',\n hooks: {\n beforePatch: this.handleColorChange,\n },\n });\n }\n validateSmartButton(value) {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (e) {\n }\n setState(this, '_smartButton', value);\n });\n }\n componentWillLoad() {\n this.validateColor(this._color);\n this.validateSmartButton(this._smartButton);\n }\n static get watchers() { return {\n \"_color\": [\"validateColor\"],\n \"_smartButton\": [\"validateSmartButton\"]\n }; }\n};\nKolBadge.style = {\n default: KolBadgeDefaultStyle0\n};\n\nexport { KolBadge as kol_badge };\n\n//# sourceMappingURL=kol-badge.entry.js.map"],"names":["defaultStyleCss","KolBadgeDefaultStyle0","featureHint","KolBadge","hostRef","registerInstance","nonce","value","colorPair","handleColorChange","props","h","KolButtonWcTag","hasSmartButton","Host","KolSpanWcTag","validateColor","objectObjectHandler","parseJson","setState"],"mappings":"6MAAA;AAAA;AAAA,GASA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { c as KolButtonWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n :is(a, button) {\\n display: inline-flex;\\n max-width: fit-content;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n :is(a, button) .kol-span-wc .span-label {\\n text-decoration-line: underline;\\n }\\n a:is(:focus, :hover):not([aria-disabled]) .kol-span-wc .span-label,\\n button:is(:focus, :hover):not([disabled]) .kol-span-wc .span-label {\\n text-decoration-thickness: 0.2em;\\n }\\n .skip {\\n position: absolute;\\n left: calc(-99999rem / var(--kolibri-root-font-size, 16));\\n z-index: 9999999;\\n line-height: 1;\\n }\\n .skip:focus {\\n background-color: #fff;\\n position: unset;\\n left: unset;\\n padding: 1em;\\n }\\n .kol-icon.external-link-icon {\\n display: inline-flex;\\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n button {\\n min-height: unset;\\n }\\n}\";\nconst KolButtonLinkDefaultStyle0 = defaultStyleCss;\n\nconst KolButtonLink = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this._accessKey = undefined;\n this._ariaControls = undefined;\n this._ariaDescription = undefined;\n this._ariaExpanded = undefined;\n this._ariaSelected = undefined;\n this._disabled = false;\n this._hideLabel = false;\n this._icons = undefined;\n this._id = undefined;\n this._label = undefined;\n this._name = undefined;\n this._on = undefined;\n this._role = undefined;\n this._shortKey = undefined;\n this._syncValueBySelector = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._type = 'button';\n this._value = undefined;\n }\n async getValue() {\n return this._value;\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n return (h(Host, { key: '74a1c493bcd94ecbdcf72abeca56d9cbbd6aaf93', class: \"kol-button-link\" }, h(KolButtonWcTag, { key: '9bcabede025937492ce8082a3ceb14184352d5b0', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, h(\"slot\", { key: '091e5f56f9184bbee891e6e12430d3aafe3690de', name: \"expert\", slot: \"expert\" }))));\n }\n static get delegatesFocus() { return true; }\n};\nKolButtonLink.style = {\n default: KolButtonLinkDefaultStyle0\n};\n\nexport { KolButtonLink as kol_button_link };\n\n//# sourceMappingURL=kol-button-link.entry.js.map"],"names":["defaultStyleCss","KolButtonLinkDefaultStyle0","KolButtonLink","hostRef","registerInstance","ref","_a","h","Host","KolButtonWcTag"],"mappings":"6DAAA;AAAA;AAAA,GAMA,MAAMA,EAAkB;AA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,cAAe,UAAW,KAAK,UAAW,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,IAAK,KAAK,IAAK,OAAQ,KAAK,OAAQ,MAAO,KAAK,MAAO,IAAK,KAAK,IAAK,UAAW,KAAK,UAAW,qBAAsB,KAAK,qBAAsB,UAAW,KAAK,UAAW,cAAe,KAAK,cAAe,MAAO,KAAK,MAAO,OAAQ,KAAK,MAAM,EAAIF,EAAE,OAAQ,CAAE,IAAK,2CAA4C,KAAM,SAAU,KAAM,QAAQ,CAAE,CAAC,CAAC,CACjxB,CACA,WAAW,gBAAiB,CAAE,MAAO,EAAM,CAC/C,EACAL,EAAc,MAAQ,CAClB,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-button.entry-CWgFvGjU.js","sources":["../../../../components/dist/esm/kol-button.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { c as KolButtonWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"@charset \\\"UTF-8\\\";\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n :is(a, button) {\\n display: inline-flex;\\n place-items: center;\\n text-align: center;\\n text-decoration-line: none;\\n }\\n :is(a, button)::before {\\n /* Render zero-width character as first element to set the baseline correctly. */\\n content: \\\"​\\\";\\n }\\n /* TODO: Why we need this? */\\n :is(a, button) > .kol-span-wc {\\n width: 100%;\\n margin: auto;\\n }\\n}\";\nconst KolButtonDefaultStyle0 = defaultStyleCss;\n\nconst KolButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this._accessKey = undefined;\n this._ariaControls = undefined;\n this._ariaDescription = undefined;\n this._ariaExpanded = undefined;\n this._ariaSelected = undefined;\n this._customClass = undefined;\n this._disabled = false;\n this._hideLabel = false;\n this._icons = undefined;\n this._id = undefined;\n this._label = undefined;\n this._name = undefined;\n this._on = undefined;\n this._role = undefined;\n this._shortKey = undefined;\n this._syncValueBySelector = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._type = 'button';\n this._value = undefined;\n this._variant = 'normal';\n }\n async getValue() {\n return this._value;\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n return (h(Host, { key: '70caa89f836bf0fe9f7179a15279fad3139de552', class: \"kol-button\" }, h(KolButtonWcTag, { key: '09f7494fff2ddc9597267d28ff87fa66607d9637', ref: this.catchRef, class: {\n button: true,\n }, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h(\"slot\", { key: '6010a867b4000c38212d0bbcdc978fcdff3f58c2', name: \"expert\", slot: \"expert\" }))));\n }\n static get delegatesFocus() { return true; }\n};\nKolButton.style = {\n default: KolButtonDefaultStyle0\n};\n\nexport { KolButton as kol_button };\n\n//# sourceMappingURL=kol-button.entry.js.map"],"names":["defaultStyleCss","KolButtonDefaultStyle0","KolButton","hostRef","registerInstance","ref","_a","h","Host","KolButtonWcTag"],"mappings":"6DAAA;AAAA;AAAA,GAMA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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,IAAK,2CAA4C,MAAO,YAAY,EAAID,EAAEE,EAAgB,CAAE,IAAK,2CAA4C,IAAK,KAAK,SAAU,MAAO,CAClL,OAAQ,EACxB,EAAe,WAAY,KAAK,WAAY,cAAe,KAAK,cAAe,iBAAkB,KAAK,iBAAkB,cAAe,KAAK,cAAe,cAAe,KAAK,cAAe,aAAc,KAAK,aAAc,UAAW,KAAK,UAAW,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,OAAQ,KAAK,OAAQ,MAAO,KAAK,MAAO,IAAK,KAAK,IAAK,UAAW,KAAK,UAAW,qBAAsB,KAAK,qBAAsB,UAAW,KAAK,UAAW,cAAe,KAAK,cAAe,MAAO,KAAK,MAAO,OAAQ,KAAK,OAAQ,SAAU,KAAK,QAAQ,EAAIF,EAAE,OAAQ,CAAE,IAAK,2CAA4C,KAAM,SAAU,KAAM,QAAQ,CAAE,CAAC,CAAC,CAC1pB,CACA,WAAW,gBAAiB,CAAE,MAAO,EAAM,CAC/C,EACAL,EAAU,MAAQ,CACd,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-card.entry-BcWCuGZJ.js","sources":["../../../../components/dist/esm/kol-card.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { m as setState } from './index-7a63e9eb.js';\nimport { t as translate } from './i18n-3dd5729d.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { w as watchHeadingLevel } from './validation-b34ff01a.js';\nimport { b as KolHeadingWcTag, c as KolButtonWcTag } from './component-names-4cb1c62b.js';\nimport { v as validateHasCloser } from './has-closer-602527ae.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport './i18n-b14e6088.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host > div.card {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n position: relative;\\n height: 100%;\\n }\\n .close {\\n position: absolute;\\n top: 0;\\n right: 0;\\n }\\n}\";\nconst KolCardDefaultStyle0 = defaultStyleCss;\n\nconst KolCard = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.close = () => {\n var _a;\n if (((_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) !== undefined) {\n this._on.onClose(new Event('Close'));\n }\n };\n this.on = {\n onClick: this.close,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n this._on = undefined;\n this._hasCloser = false;\n this._label = undefined;\n this._level = 1;\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: 'd7056893ef80096b3a757b0b5d383d603c55785f', class: \"kol-card\" }, h(\"div\", { key: '27cc7480cce97c36f8cafd41bb23e63ef1657e2b', \"aria-labelledby\": this.nonce, class: \"card\", role: \"group\" }, h(KolHeadingWcTag, { key: 'f9df27ea3557c7fa933a5bc87a011dda43371a04', class: \"header\", id: this.nonce, _label: this.state._label, _level: this.state._level }), h(\"div\", { key: '9641779adcfe4a815fb1edde6dd874599ecc46a6', class: \"content\" }, h(\"slot\", { key: '87c542ed8d65076c41323f121dd67f79bb6167a8' })), this.state._hasCloser && (h(KolButtonWcTag, { key: '738a6ea9911abdc7ae3eba37788da272e06417ff', class: \"close\", _hideLabel: true, _icons: {\n left: {\n icon: 'codicon codicon-close',\n },\n }, _label: translate('kol-close'), _on: this.on, _tooltipAlign: \"left\" })))));\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n componentWillLoad() {\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n }\n static get watchers() { return {\n \"_on\": [\"validateOn\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"]\n }; }\n};\nKolCard.style = {\n default: KolCardDefaultStyle0\n};\n\nexport { KolCard as kol_card };\n\n//# sourceMappingURL=kol-card.entry.js.map"],"names":["defaultStyleCss","KolCardDefaultStyle0","KolCard","hostRef","registerInstance","nonce","_a","value","h","Host","KolHeadingWcTag","KolButtonWcTag","translate","setState","validateHasCloser","validateLabel","watchHeadingLevel"],"mappings":"wUAAA;AAAA;AAAA,GAaA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,CAC5B,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,IAAO,CAAC,YAAY,EACpB,WAAc,CAAC,mBAAmB,EAClC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAL,EAAQ,MAAQ,CACZ,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-combobox.entry-DmuLP5tq.js","sources":["../../../../components/dist/esm/kol-combobox.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h, F as Fragment, H as Host, r as registerInstance, g as getElement } from './index-25e94a16.js';\nimport { y as watchString, j as watchBoolean, A as buildBadgeTextString, B as showExpertSlot } from './index-7a63e9eb.js';\nimport { c as clsx } from './clsx-09a06a12.js';\nimport { l as KolInputTag, g as KolIconTag } from './component-names-4cb1c62b.js';\nimport { t as translate } from './i18n-3dd5729d.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { t as tryToDispatchKoliBriEvent } from './events-29e84d75.js';\nimport { g as getRenderStates } from './controller-c87b8bd9.js';\nimport { I as InternalUnderlinedBadgeText } from './InternalUnderlinedBadgeText-1fac598e.js';\nimport { I as InputIconController } from './controller-icon-b3eb5a58.js';\nimport { v as validateSuggestions } from './suggestions-506c439a.js';\nimport './i18n-b14e6088.js';\nimport './associated.controller-d302adf7.js';\nimport './access-and-short-key-914780a7.js';\nimport './hide-label-0d754c8e.js';\nimport './label-7d1ce375.js';\nimport './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\nimport './icons-adcda9b0.js';\n\nclass ComboboxController extends InputIconController {\n constructor(component, name, host) {\n super(component, name, host);\n this.component = component;\n }\n validatePlaceholder(value) {\n watchString(this.component, '_placeholder', value);\n }\n validateRequired(value) {\n watchBoolean(this.component, '_required', value);\n }\n validateSuggestions(value) {\n validateSuggestions(this.component, value);\n }\n validateValue(value) {\n watchString(this.component, '_value', value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validatePlaceholder(this.component._placeholder);\n this.validateRequired(this.component._required);\n this.validateSuggestions(this.component._suggestions);\n this.validateValue(this.component._value);\n }\n}\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .required label > span::after,\\n .required legend > span::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n input,\\n textarea {\\n cursor: text;\\n }\\n input[type=checkbox],\\n input[type=color],\\n input[type=file],\\n input[type=radio],\\n input[type=range],\\n label,\\n option,\\n select {\\n cursor: pointer;\\n }\\n /* input[type='checkbox'], */\\n /* input[type='radio'], */\\n /* input[type='range'], */\\n input[type=color],\\n input[type=date],\\n input[type=datetime-local],\\n input[type=email],\\n input[type=file],\\n input[type=month],\\n input[type=number],\\n input[type=password],\\n input[type=search],\\n input[type=tel],\\n input[type=text],\\n input[type=time],\\n input[type=url],\\n input[type=week],\\n option,\\n select,\\n textarea {\\n background-color: transparent;\\n width: 100%;\\n }\\n /* needed hack for vertical alignment */\\n input[type=file] {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\\n }\\n /* needed hack for vertical alignment */\\n select[multiple] option {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .kol-input {\\n display: grid;\\n }\\n .kol-input .input-slot {\\n flex-grow: 1;\\n }\\n input:focus,\\n option:focus,\\n select:focus,\\n textarea:focus {\\n outline: 0;\\n }\\n .input {\\n background-color: white;\\n display: flex;\\n align-items: center;\\n cursor: pointer;\\n }\\n button:not([role=link]) {\\n min-height: auto;\\n }\\n .input > .kol-icon {\\n display: grid;\\n place-items: center;\\n }\\n .kol-input.required .input-tooltip .span-label::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n .combobox {\\n position: relative;\\n }\\n .combobox--disabled, .combobox--disabled * {\\n cursor: not-allowed !important;\\n }\\n .combobox--disabled {\\n opacity: 0.5;\\n outline: none;\\n }\\n .combobox__group {\\n display: inline-flex;\\n align-items: center;\\n cursor: pointer;\\n }\\n .combobox__input {\\n flex-grow: 1;\\n }\\n .combobox__icon {\\n display: flex;\\n width: var(--a11y-min-size);\\n align-items: center;\\n cursor: pointer;\\n }\\n .combobox__listbox {\\n background-color: white;\\n display: block;\\n position: absolute;\\n z-index: 2;\\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\\n margin: 0;\\n padding: 0;\\n overflow-x: hidden;\\n overflow-y: auto;\\n list-style-type: none;\\n }\\n .combobox__item {\\n cursor: pointer;\\n }\\n .combobox__listbox--cursor-hidden .combobox__item {\\n cursor: none !important;\\n }\\n}\";\nconst KolComboboxDefaultStyle0 = defaultStyleCss;\n\nconst KolCombobox = class {\n async getValue() {\n return this.state._value;\n }\n async kolFocus() {\n var _a;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n selectOption(option) {\n var _a;\n this.controller.onFacade.onInput(new CustomEvent('input', { bubbles: true, detail: { name: this.state._name, value: option } }), true, option);\n this.controller.onFacade.onChange(new CustomEvent('change', { bubbles: true, detail: { name: this.state._name, value: option } }), option);\n this.controller.setFormAssociatedValue(option);\n this.state._value = option;\n this._value = option;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n onInput(event) {\n const target = event.target;\n this.state._value = target.value;\n this._value = target.value;\n this.controller.onFacade.onInput(event);\n this.setFilteredSuggestionsByQuery(target.value);\n this._focusedOptionIndex = -1;\n }\n handleKeyDownDropdown(event) {\n if (event.key.length === 1 && /[a-z0-9]/i.test(event.key)) {\n this._isOpen = true;\n this.focusSuggestionStartingWith(event.key);\n }\n }\n setFilteredSuggestionsByQuery(query) {\n if (query.trim() === '') {\n this._filteredSuggestions = [...this._suggestions];\n }\n else {\n this._filteredSuggestions = Array.isArray(this._suggestions)\n ? this._suggestions.filter((option) => {\n return option.toLowerCase().includes(query.toLowerCase());\n })\n : this._filteredSuggestions;\n this._isOpen = this._filteredSuggestions && this._filteredSuggestions.length > 0 ? true : false;\n }\n }\n moveFocus(delta) {\n if (!this._filteredSuggestions) {\n return;\n }\n let newIndex = this._focusedOptionIndex + delta;\n if (newIndex >= this._filteredSuggestions.length) {\n newIndex = 0;\n }\n if (newIndex < 0) {\n newIndex = this._filteredSuggestions.length - 1;\n }\n this.focusOption(newIndex);\n }\n focusOption(index) {\n this._focusedOptionIndex = index;\n if (this.refSuggestions) {\n const optionElement = this.refSuggestions[index];\n optionElement === null || optionElement === void 0 ? void 0 : optionElement.focus();\n }\n }\n focusSuggestionStartingWith(char) {\n const charLowerCase = char.toLowerCase();\n const index = Array.isArray(this._filteredSuggestions) &&\n this._filteredSuggestions.length > 0 &&\n this._filteredSuggestions.findIndex((option) => option.toLowerCase().startsWith(charLowerCase));\n if (typeof index === 'number') {\n this.focusOption(index);\n }\n }\n render() {\n const hasExpertSlot = showExpertSlot(this.state._label);\n const { ariaDescribedBy } = getRenderStates(this.state);\n return (h(Host, { key: '97a196e850aa5d2eecbef98e95f2e7e43d481398', class: \"kol-combobox\" }, h(\"div\", { key: '3fec9fecdfcec185d5ac6de5ead3c06c64e85bbf', class: clsx('combobox', this.state._disabled && 'combobox--disabled') }, h(KolInputTag, { key: 'fc0f9af4e64f5cd208f5e0a95b50690cacff8495', _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _msg: this.state._msg, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, h(\"span\", { key: 'faa146b80f0a24891c09eb553e30295f0dcd09a5', slot: \"label\" }, hasExpertSlot ? (h(\"slot\", { name: \"expert\" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (h(Fragment, null, h(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', h(\"kbd\", { class: \"badge-text-hint\", \"aria-hidden\": \"true\" }, buildBadgeTextString(this.state._accessKey, this.state._shortKey)))) : (h(\"span\", null, this.state._label))), h(\"div\", { key: '25c253a2ef6ac43e452ab1bde1ad144778d9e52b', slot: \"input\" }, h(\"div\", { key: '07aae6b31ec2f4828c76b9477d9bfe1f07236d8e', class: \"combobox__group\" }, h(\"input\", Object.assign({ key: '27228351b431301f16a14990ee797fc44ce5b20b', ref: this.catchRef, class: \"combobox__input\", type: \"text\", role: \"combobox\", \"aria-autocomplete\": \"both\", \"aria-expanded\": this._isOpen ? 'true' : 'false', \"aria-controls\": \"listbox\", value: this.state._value, accessKey: this.state._accessKey, \"aria-keyshortcuts\": this.state._shortKey, \"aria-describedby\": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, \"aria-label\": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, \"aria-labelledby\": this.state._id, \"aria-activedescendant\": this._isOpen && this._focusedOptionIndex >= 0 ? `option-${this._focusedOptionIndex}` : undefined, autoCapitalize: \"off\", autoComplete: \"off\", autoCorrect: \"off\", disabled: this.state._disabled, id: this.state._id, name: this.state._name, required: this.state._required }, this.controller.onFacade, { onFocus: (event) => {\n this.controller.onFacade.onFocus(event);\n this.inputHasFocus = true;\n }, onBlur: (event) => {\n this.controller.onFacade.onBlur(event);\n this.inputHasFocus = false;\n }, onChange: this.onChange.bind(this), onInput: this.onInput.bind(this), placeholder: this.state._placeholder })), h(\"button\", { key: 'cfab4ec401f29992d16d55e516303764c0ef1255', tabindex: \"-1\", class: \"combobox__icon\", onClick: this.toggleListbox.bind(this), disabled: this.state._disabled }, h(KolIconTag, { key: '8842c4f1659ba773b426b4777b21c98fbdb4806d', _icons: \"codicon codicon-triangle-down\", _label: translate('kol-dropdown') }))), this._isOpen && !(this.state._disabled === true) && (h(\"ul\", { key: '3a3e973a85b5a3a72090b3051dfd0f7c721a2e1e', role: \"listbox\", class: clsx('combobox__listbox', this.blockSuggestionMouseOver && 'combobox__listbox--cursor-hidden'), onKeyDown: this.handleKeyDownDropdown.bind(this) }, Array.isArray(this._filteredSuggestions) &&\n this._filteredSuggestions.length > 0 &&\n this._filteredSuggestions.map((option, index) => (h(\"li\", { id: `option-${index}`, key: `-${index}`, ref: (el) => {\n if (el)\n this.refSuggestions[index] = el;\n }, \"data-index\": index, tabIndex: -1, role: \"option\", \"aria-selected\": this.state._value === option ? 'true' : undefined, onClick: () => {\n this.selectOption(option);\n this.toggleListbox();\n this._isOpen = false;\n this._hasOpened = false;\n }, onMouseOver: () => {\n if (!this.blockSuggestionMouseOver) {\n this.focusOption(index);\n }\n }, onFocus: () => {\n this.focusOption(index);\n }, class: \"combobox__item\", onKeyDown: (e) => {\n if (e.key === 'Enter' || e.key === 'NumpadEnter') {\n this.selectOption(option);\n this.toggleListbox();\n e.preventDefault();\n }\n } }, option))))))))));\n }\n handleKeyDown(event) {\n var _a, _b;\n const handleEvent = (isOpen, callback) => {\n var _a;\n event.preventDefault();\n if (isOpen !== undefined) {\n this._isOpen = isOpen;\n if (!isOpen) {\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n callback === null || callback === void 0 ? void 0 : callback();\n };\n switch (event.key) {\n case 'Down':\n case 'ArrowDown': {\n this.blockSuggestionMouseOver = true;\n handleEvent(true, () => this.moveFocus(1));\n break;\n }\n case 'Up':\n case 'ArrowUp': {\n this.blockSuggestionMouseOver = true;\n handleEvent(true, () => this.moveFocus(-1));\n break;\n }\n case 'Tab':\n if (this._isOpen) {\n this._isOpen = false;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n break;\n case 'Esc':\n case 'Escape': {\n this._hasOpened = false;\n this._isOpen = false;\n event.preventDefault();\n (_b = this.refInput) === null || _b === void 0 ? void 0 : _b.focus();\n break;\n }\n case 'NumpadEnter':\n case 'Enter': {\n if (this._isOpen && this._focusedOptionIndex >= 0) {\n this._filteredSuggestions && this.selectOption(this._filteredSuggestions[this._focusedOptionIndex]);\n this._isOpen = false;\n this._hasOpened = false;\n }\n else {\n this.toggleListbox();\n }\n event.preventDefault();\n break;\n }\n case 'Home': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => {\n if (this._isOpen) {\n this.focusOption(0);\n }\n });\n break;\n }\n case 'End': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => {\n if (this._isOpen) {\n this.focusOption(this._filteredSuggestions ? this._filteredSuggestions.length - 1 : 0);\n }\n });\n break;\n }\n case 'PageUp': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => this._isOpen && this.moveFocus(-10));\n break;\n }\n case 'PageDown': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => this._isOpen && this.moveFocus(10));\n break;\n }\n }\n }\n handleWindowClick(event) {\n if (this.host !== undefined && !this.host.contains(event.target)) {\n this._isOpen = false;\n }\n }\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.refSuggestions = [];\n this._focusedOptionIndex = -1;\n this.toggleListbox = () => {\n var _a;\n if (this.state._disabled === true) {\n this._isOpen = false;\n }\n else {\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n if (!this._hasOpened && Array.isArray(this._filteredSuggestions) && this._filteredSuggestions.length > 0) {\n this._isOpen = true;\n this._hasOpened = true;\n const selectedIndex = this._filteredSuggestions.findIndex((option) => option === this.state._value);\n this._focusedOptionIndex = selectedIndex >= 0 ? selectedIndex : -1;\n this.focusOption(this._focusedOptionIndex);\n }\n }\n };\n this.catchRef = (ref) => {\n this.refInput = ref;\n };\n this.blockSuggestionMouseOver = false;\n this._isOpen = false;\n this._filteredSuggestions = undefined;\n this._accessKey = undefined;\n this._placeholder = undefined;\n this._alert = undefined;\n this._disabled = false;\n this._hideError = false;\n this._hideLabel = false;\n this._hint = '';\n this._icons = undefined;\n this._id = undefined;\n this._label = undefined;\n this._msg = undefined;\n this._name = undefined;\n this._on = undefined;\n this._suggestions = undefined;\n this._required = false;\n this._shortKey = undefined;\n this._syncValueBySelector = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._touched = false;\n this._value = undefined;\n this.state = {\n _hasValue: false,\n _hideError: false,\n _id: `id-${nonce()}`,\n _label: '',\n _suggestions: [],\n _value: '',\n };\n this._hasOpened = false;\n this.inputHasFocus = false;\n this.controller = new ComboboxController(this, 'combobox', this.host);\n this.onInput = this.onInput.bind(this);\n }\n showAsAlert() {\n if (this.state._alert === undefined) {\n return Boolean(this.state._touched) && !this.inputHasFocus;\n }\n return this.state._alert;\n }\n validatePlaceholder(value) {\n this.controller.validatePlaceholder(value);\n }\n validateAccessKey(value) {\n this.controller.validateAccessKey(value);\n }\n validateAlert(value) {\n this.controller.validateAlert(value);\n }\n validateDisabled(value) {\n this.controller.validateDisabled(value);\n }\n validateHideError(value) {\n this.controller.validateHideError(value);\n }\n validateHideLabel(value) {\n this.controller.validateHideLabel(value);\n }\n validateHint(value) {\n this.controller.validateHint(value);\n }\n validateIcons(value) {\n this.controller.validateIcons(value);\n }\n validateId(value) {\n this.controller.validateId(value);\n }\n validateLabel(value) {\n this.controller.validateLabel(value);\n }\n validateMsg(value) {\n this.controller.validateMsg(value);\n }\n validateName(value) {\n this.controller.validateName(value);\n }\n validateOn(value) {\n this.controller.validateOn(value);\n }\n validateShortKey(value) {\n this.controller.validateShortKey(value);\n }\n validateSuggestions(value) {\n this.controller.validateSuggestions(value);\n this._filteredSuggestions = value;\n }\n validateRequired(value) {\n this.controller.validateRequired(value);\n }\n validateSyncValueBySelector(value) {\n this.controller.validateSyncValueBySelector(value);\n }\n validateTabIndex(value) {\n this.controller.validateTabIndex(value);\n }\n validateTouched(value) {\n this.controller.validateTouched(value);\n }\n validateValue(value) {\n this.controller.validateValue(value);\n this.controller.setFormAssociatedValue(value);\n }\n componentWillLoad() {\n this.refSuggestions = [];\n this._touched = this._touched === true;\n this.controller.componentWillLoad();\n this.state._hasValue = !!this.state._value;\n this.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n this._filteredSuggestions = this.state._suggestions;\n }\n handleMouseEvent() {\n this.blockSuggestionMouseOver = false;\n }\n handleFocusOut() {\n setTimeout(() => {\n var _a;\n if (!((_a = this.host) === null || _a === void 0 ? void 0 : _a.contains(document.activeElement))) {\n this.onBlur();\n }\n }, 0);\n }\n handleWindowBlur() {\n this.onBlur();\n }\n onBlur() {\n var _a;\n this._hasOpened = false;\n if (this._isOpen) {\n this._isOpen = !this._isOpen;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n onChange(event) {\n var _a;\n tryToDispatchKoliBriEvent('change', this.host, this.state._value);\n this.controller.setFormAssociatedValue(this.state._value);\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onChange) === 'function' && !this._isOpen) {\n this.state._on.onChange(event, this.state._value);\n }\n }\n static get delegatesFocus() { return true; }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_placeholder\": [\"validatePlaceholder\"],\n \"_accessKey\": [\"validateAccessKey\"],\n \"_alert\": [\"validateAlert\"],\n \"_disabled\": [\"validateDisabled\"],\n \"_hideError\": [\"validateHideError\"],\n \"_hideLabel\": [\"validateHideLabel\"],\n \"_hint\": [\"validateHint\"],\n \"_icons\": [\"validateIcons\"],\n \"_id\": [\"validateId\"],\n \"_label\": [\"validateLabel\"],\n \"_msg\": [\"validateMsg\"],\n \"_name\": [\"validateName\"],\n \"_on\": [\"validateOn\"],\n \"_shortKey\": [\"validateShortKey\"],\n \"_suggestions\": [\"validateSuggestions\"],\n \"_required\": [\"validateRequired\"],\n \"_syncValueBySelector\": [\"validateSyncValueBySelector\"],\n \"_tabIndex\": [\"validateTabIndex\"],\n \"_touched\": [\"validateTouched\"],\n \"_value\": [\"validateValue\"]\n }; }\n};\nKolCombobox.style = {\n default: KolComboboxDefaultStyle0\n};\n\nexport { KolCombobox as kol_combobox };\n\n//# sourceMappingURL=kol-combobox.entry.js.map"],"names":["ComboboxController","InputIconController","component","name","host","value","watchString","watchBoolean","validateSuggestions","defaultStyleCss","KolComboboxDefaultStyle0","KolCombobox","_a","option","event","target","query","delta","newIndex","index","optionElement","char","charLowerCase","hasExpertSlot","showExpertSlot","ariaDescribedBy","getRenderStates","h","Host","clsx","KolInputTag","Fragment","InternalUnderlinedBadgeText","buildBadgeTextString","KolIconTag","translate","el","e","_b","handleEvent","isOpen","callback","hostRef","registerInstance","selectedIndex","ref","nonce","v","tryToDispatchKoliBriEvent","getElement"],"mappings":"m1BAAA;AAAA;AAAA,GAuBA,MAAMA,UAA2BC,CAAoB,CACjD,YAAYC,EAAWC,EAAMC,EAAM,CAC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Aa,CAAC,kBAAkB,EAChC,aAAgB,CAAC,qBAAqB,EACtC,UAAa,CAAC,kBAAkB,EAChC,qBAAwB,CAAC,6BAA6B,EACtD,UAAa,CAAC,kBAAkB,EAChC,SAAY,CAAC,iBAAiB,EAC9B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAtC,EAAY,MAAQ,CAChB,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-form.entry-BBTC6wUn.js","sources":["../../../../components/dist/esm/kol-form.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { w as watchValidator, j as watchBoolean, y as watchString } from './index-7a63e9eb.js';\nimport { t as translate } from './i18n-3dd5729d.js';\nimport { j as KolLinkWcTag } from './component-names-4cb1c62b.js';\nimport { K as KolAlertFc } from './Alert-0e712d66.js';\nimport './i18n-b14e6088.js';\nimport './tslib.es6-1173d062.js';\nimport './clsx-09a06a12.js';\n\nconst validateErrorList = (component, value) => {\n watchValidator(component, 'errorList', (value) => Array.isArray(value) && value.find((v) => !(typeof v === 'string' || typeof v === 'function')) === undefined, new Set(['string', 'function']), value);\n};\n\nconst defaultStyleCss = \"@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n :is(a, button) {\\n display: inline-flex;\\n max-width: fit-content;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n :is(a, button) .kol-span-wc .span-label {\\n text-decoration-line: underline;\\n }\\n a:is(:focus, :hover):not([aria-disabled]) .kol-span-wc .span-label,\\n button:is(:focus, :hover):not([disabled]) .kol-span-wc .span-label {\\n text-decoration-thickness: 0.2em;\\n }\\n .skip {\\n position: absolute;\\n left: calc(-99999rem / var(--kolibri-root-font-size, 16));\\n z-index: 9999999;\\n line-height: 1;\\n }\\n .skip:focus {\\n background-color: #fff;\\n position: unset;\\n left: unset;\\n padding: 1em;\\n }\\n .kol-icon.external-link-icon {\\n display: inline-flex;\\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\nconst KolFormDefaultStyle0 = defaultStyleCss;\n\nconst KolForm = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.onSubmit = (event) => {\n var _a, _b;\n event.preventDefault();\n event.stopPropagation();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onSubmit) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onSubmit(event);\n }\n };\n this.onReset = (event) => {\n var _a, _b;\n event.preventDefault();\n event.stopPropagation();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onReset) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onReset(event);\n }\n };\n this.handleLinkClick = (selector) => {\n const targetElement = document.querySelector(selector);\n if (targetElement && typeof targetElement.focus === 'function') {\n targetElement.scrollIntoView({ behavior: 'smooth' });\n targetElement.focus();\n }\n };\n this.setBlockElement = (el) => (this.errorListBlock = el);\n this.setFirstLinkElement = (el) => (this.errorListFirstLink = el);\n this._on = undefined;\n this._requiredText = true;\n this._errorList = undefined;\n this.state = {};\n }\n renderErrorList(errorList) {\n return (h(KolAlertFc, { ref: this.setBlockElement, type: \"error\", variant: \"card\", label: translate('kol-error-list-message') }, h(\"nav\", { \"aria-label\": translate('kol-error-list') }, h(\"ul\", null, errorList === null || errorList === void 0 ? void 0 : errorList.map((error, index) => (h(\"li\", { key: index }, h(KolLinkWcTag, { _href: \"\", _label: error.message, _on: { onClick: typeof error.selector === 'string' ? () => this.handleLinkClick(String(error.selector)) : error.selector }, ref: index === 0 ? this.setFirstLinkElement : undefined }))))))));\n }\n renderFormElement() {\n return (h(\"form\", { autoComplete: \"off\", method: \"post\", onSubmit: this.onSubmit, onReset: this.onReset, noValidate: true }, this.state._requiredText === true ? (h(\"p\", null, h(\"div\", { class: \"mandatory-fields-hint\" }, translate('kol-form-description')))) : typeof this.state._requiredText === 'string' && this.state._requiredText.length > 0 ? (h(\"p\", null, h(\"div\", { class: \"mandatory-fields-hint\" }, this.state._requiredText))) : null, h(\"slot\", null)));\n }\n render() {\n const hasErrorList = Array.isArray(this._errorList) && this._errorList.length > 0;\n return (h(Host, { key: 'ecbb858c0be612da4ba131b0a764ccb9f7837df3', class: \"kol-form\" }, hasErrorList && this.renderErrorList(this._errorList), this.renderFormElement()));\n }\n scrollToErrorList() {\n var _a;\n (_a = this.errorListBlock) === null || _a === void 0 ? void 0 : _a.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.errorListFirstLink) === null || _a === void 0 ? void 0 : _a.querySelector('a')) === null || _b === void 0 ? void 0 : _b.focus();\n }, 250);\n }\n async focusErrorList() {\n this.scrollToErrorList();\n return Promise.resolve();\n }\n validateOn(value) {\n if (typeof value === 'object' && value !== null) {\n this.state = Object.assign(Object.assign({}, this.state), { _on: value });\n }\n }\n validateRequiredText(value) {\n if (typeof value === 'boolean') {\n watchBoolean(this, '_requiredText', value);\n }\n else {\n watchString(this, '_requiredText', value);\n }\n }\n validateErrorList(value) {\n validateErrorList(this, value);\n }\n componentWillLoad() {\n this.validateOn(this._on);\n this.validateRequiredText(this._requiredText);\n this.validateErrorList(this._errorList);\n }\n static get watchers() { return {\n \"_on\": [\"validateOn\"],\n \"_requiredText\": [\"validateRequiredText\"],\n \"_errorList\": [\"validateErrorList\"]\n }; }\n};\nKolForm.style = {\n default: KolFormDefaultStyle0\n};\n\nexport { KolForm as kol_form };\n\n//# sourceMappingURL=kol-form.entry.js.map"],"names":["validateErrorList","component","value","watchValidator","v","defaultStyleCss","KolFormDefaultStyle0","KolForm","hostRef","registerInstance","event","_a","_b","selector","targetElement","el","errorList","h","KolAlertFc","translate","error","index","KolLinkWcTag","hasErrorList","Host","watchBoolean","watchString"],"mappings":"gQAAA;AAAA;AAAA,GAYA,MAAMA,EAAoB,CAACC,EAAWC,IAAU,CAC5CC,EAAeF,EAAW,YAAcC,GAAU,MAAM,QAAQA,CAAK,GAAKA,EAAM,KAAME,GAAM,EAAE,OAAOA,GAAM,UAAY,OAAOA,GAAM,WAAW,IAAM,OAAW,IAAI,IAAI,CAAC,SAAU,UAAU,CAAC,EAAGF,CAAK,CAC1M,EAEMG,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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G,GAAG,CACV,CACA,MAAM,gBAAiB,CACnB,YAAK,kBAAiB,EACf,QAAQ,QAAO,CAC1B,CACA,WAAWV,EAAO,CACV,OAAOA,GAAU,UAAYA,IAAU,OACvC,KAAK,MAAQ,OAAO,OAAO,OAAO,OAAO,GAAI,KAAK,KAAK,EAAG,CAAE,IAAKA,CAAK,CAAE,EAEhF,CACA,qBAAqBA,EAAO,CACpB,OAAOA,GAAU,UACjBuB,EAAa,KAAM,gBAAiBvB,CAAK,EAGzCwB,EAAY,KAAM,gBAAiBxB,CAAK,CAEhD,CACA,kBAAkBA,EAAO,CACrBF,EAAkB,KAAME,CAAK,CACjC,CACA,mBAAoB,CAChB,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,qBAAqB,KAAK,aAAa,EAC5C,KAAK,kBAAkB,KAAK,UAAU,CAC1C,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,IAAO,CAAC,YAAY,EACpB,cAAiB,CAAC,sBAAsB,EACxC,WAAc,CAAC,mBAAmB,CAC1C,CAAO,CACP,EACAK,EAAQ,MAAQ,CACZ,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-input-checkbox.entry-B76zrY_f.js","sources":["../../../../components/dist/esm/kol-input-checkbox.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h, F as Fragment, H as Host, r as registerInstance, g as getElement } from './index-25e94a16.js';\nimport { j as watchBoolean, w as watchValidator, z as isString, m as setState, A as buildBadgeTextString, B as showExpertSlot } from './index-7a63e9eb.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { t as tryToDispatchKoliBriEvent } from './events-29e84d75.js';\nimport { g as getRenderStates } from './controller-c87b8bd9.js';\nimport { I as InternalUnderlinedBadgeText } from './InternalUnderlinedBadgeText-1fac598e.js';\nimport { I as InputCheckboxRadioController } from './controller-06c08e87.js';\nimport { p as propagateSubmitEventToForm } from './controller-728fbdd1.js';\nimport { l as KolInputTag, g as KolIconTag } from './component-names-4cb1c62b.js';\nimport './associated.controller-d302adf7.js';\nimport './access-and-short-key-914780a7.js';\nimport './hide-label-0d754c8e.js';\nimport './label-7d1ce375.js';\nimport './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\n\nconst inputCheckboxVariantOptions = ['button', 'default', 'switch'];\n\nconst validateChecked = (component, value) => {\n watchBoolean(component, '_checked', value);\n};\n\nconst validateIndeterminate = (component, value) => {\n watchBoolean(component, '_indeterminate', value);\n};\n\nconst labelAlignPropTypeOptions = ['left', 'right'];\nconst validateLabelAlign = (component, value) => {\n watchValidator(component, `_labelAlign`, (value) => typeof value === 'string' && labelAlignPropTypeOptions.includes(value), new Set([`KoliBriLabelAlign {${labelAlignPropTypeOptions.join(', ')}`]), value);\n};\n\nclass InputCheckboxController extends InputCheckboxRadioController {\n constructor(component, name, host) {\n super(component, name, host);\n this.setFormAssociatedCheckboxValue = (value) => {\n if (this.component._checked) {\n this.setFormAssociatedValue(value);\n }\n else {\n this.setFormAssociatedValue(null);\n }\n };\n this.component = component;\n }\n validateChecked(value) {\n validateChecked(this.component, value);\n this.setFormAssociatedCheckboxValue(this.component.state._value);\n }\n validateIcons(value) {\n watchValidator(this.component, '_icons', (value) => {\n return typeof value === 'object' && value !== null && (isString(value.checked, 1) || isString(value.indeterminate, 1) || isString(value.unchecked, 1));\n }, new Set(['InputCheckboxIcons']), value, {\n hooks: {\n beforePatch: (nextValue, nextState, component) => {\n nextState.set('_icons', Object.assign(Object.assign({}, component.state._icons), nextValue));\n },\n },\n });\n }\n validateIndeterminate(value) {\n validateIndeterminate(this.component, value);\n }\n validateLabelAlign(value) {\n validateLabelAlign(this.component, value);\n }\n validateValue(value) {\n setState(this.component, '_value', value);\n this.setFormAssociatedCheckboxValue(this.component.state._value);\n }\n validateVariant(value) {\n watchValidator(this.component, '_variant', (value) => typeof value === 'string' && inputCheckboxVariantOptions.includes(value), new Set([`String {${inputCheckboxVariantOptions.join(', ')}`]), value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validateChecked(this.component._checked);\n this.validateIcons(this.component._icons);\n this.validateIndeterminate(this.component._indeterminate);\n this.validateValue(this.component._value);\n this.validateVariant(this.component._variant);\n this.validateLabelAlign(this.component._labelAlign);\n }\n}\n\nconst defaultStyleCss = \"@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .required label > span::after,\\n .required legend > span::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n input,\\n textarea {\\n cursor: text;\\n }\\n input[type=checkbox],\\n input[type=color],\\n input[type=file],\\n input[type=radio],\\n input[type=range],\\n label,\\n option,\\n select {\\n cursor: pointer;\\n }\\n /* input[type='checkbox'], */\\n /* input[type='radio'], */\\n /* input[type='range'], */\\n input[type=color],\\n input[type=date],\\n input[type=datetime-local],\\n input[type=email],\\n input[type=file],\\n input[type=month],\\n input[type=number],\\n input[type=password],\\n input[type=search],\\n input[type=tel],\\n input[type=text],\\n input[type=time],\\n input[type=url],\\n input[type=week],\\n option,\\n select,\\n textarea {\\n background-color: transparent;\\n width: 100%;\\n }\\n /* needed hack for vertical alignment */\\n input[type=file] {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\\n }\\n /* needed hack for vertical alignment */\\n select[multiple] option {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\\n }\\n}\\n@layer kol-component {\\n label {\\n cursor: pointer;\\n }\\n .kol-input {\\n display: grid;\\n align-items: center;\\n justify-items: left;\\n }\\n .kol-input.default,\\n .kol-input.switch {\\n grid-template-areas: \\\"input label\\\";\\n grid-template-columns: auto 1fr;\\n }\\n .kol-input.default[data-label-align=left]:not(.hide-label),\\n .kol-input.switch[data-label-align=left]:not(.hide-label) {\\n grid-template-areas: \\\"label input\\\";\\n grid-template-columns: 1fr auto;\\n }\\n .kol-input .input {\\n display: grid;\\n align-items: center;\\n grid-area: input;\\n }\\n .kol-input .input div {\\n display: inline-flex;\\n }\\n .kol-input .input input {\\n margin: 0;\\n }\\n .kol-input label {\\n grid-area: label;\\n }\\n .kol-input .hint,\\n .kol-input.error > .kol-alert {\\n grid-column: span 2;\\n }\\n .kol-input .kol-alert.error {\\n order: 3;\\n }\\n .kol-input .hint {\\n order: 4;\\n }\\n input {\\n border-style: solid;\\n border-width: 2px;\\n line-height: 1.5;\\n }\\n input[type=checkbox] {\\n background-color: #fff;\\n appearance: none;\\n cursor: pointer;\\n transition: 0.5s;\\n }\\n input[type=checkbox]:before {\\n content: \\\"\\\";\\n cursor: pointer;\\n }\\n input[type=checkbox]:disabled:before {\\n cursor: not-allowed;\\n }\\n .kol-input.required .tooltip-content .span-label::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n .button {\\n display: grid;\\n grid-template-areas: \\\"error error\\\" \\\"input label\\\" \\\"hint hint\\\";\\n grid-template-columns: var(--a11y-min-size) auto;\\n }\\n .button[data-label-align=left]:not(.hide-label) {\\n grid-template-areas: \\\"error error\\\" \\\"label input\\\" \\\"hint hint\\\";\\n grid-template-columns: auto var(--a11y-min-size);\\n }\\n .button:focus-within {\\n outline-color: black;\\n outline-style: solid;\\n /* override global `[tabindex]:focus` style */\\n cursor: inherit;\\n }\\n .button > .error {\\n grid-area: error;\\n }\\n .button > label {\\n grid-area: label;\\n }\\n .button > .input {\\n grid-area: input;\\n }\\n .button > .hint {\\n grid-area: hint;\\n }\\n .button .icon {\\n display: flex;\\n width: var(--a11y-min-size);\\n height: var(--a11y-min-size);\\n align-items: center;\\n justify-content: center;\\n }\\n}\\n@layer kol-component {\\n .default .checkbox-container {\\n display: flex;\\n position: relative;\\n width: var(--a11y-min-size);\\n height: var(--a11y-min-size);\\n align-items: center;\\n justify-content: center;\\n }\\n .default .icon {\\n display: block;\\n position: absolute;\\n inset: auto;\\n z-index: 1;\\n }\\n .default:not(.checked, .indeterminate) .icon::part(icon) {\\n display: none;\\n }\\n .default .checkbox-input-element {\\n width: calc(22rem / var(--kolibri-root-font-size, 16));\\n height: calc(22rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .switch .input {\\n position: relative;\\n }\\n .switch input[type=checkbox] {\\n display: inline-block;\\n position: relative;\\n width: 3.2em;\\n min-width: 3.2em;\\n height: 1.7em;\\n }\\n .switch input[type=checkbox]::before {\\n background-color: #000;\\n position: absolute;\\n top: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\\n left: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\\n width: 1.2em;\\n height: 1.2em;\\n transition: 0.5s;\\n }\\n .switch input[type=checkbox]:checked::before {\\n transform: translateX(1.5em);\\n }\\n .switch input[type=checkbox]:indeterminate::before {\\n transform: translateX(0.75em);\\n }\\n .switch .icon {\\n transform: translate(0, -50%);\\n color: #000;\\n display: flex;\\n position: absolute;\\n top: 50%;\\n left: calc(4rem / var(--kolibri-root-font-size, 16));\\n z-index: 1;\\n width: 1.2em;\\n height: 1.2em;\\n align-items: center;\\n justify-content: center;\\n cursor: pointer;\\n transition: 0.5s;\\n }\\n .switch.checked .icon {\\n transform: translate(1.5em, -50%);\\n }\\n .switch.indeterminate .icon {\\n transform: translate(0.75em, -50%);\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\nconst KolInputCheckboxDefaultStyle0 = defaultStyleCss;\n\nconst KolInputCheckbox = class {\n getModelValue() {\n return this._checked ? this.state._value : null;\n }\n async getValue() {\n return this.getModelValue();\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();\n }\n render() {\n const { ariaDescribedBy } = getRenderStates(this.state);\n const hasExpertSlot = showExpertSlot(this.state._label);\n return (h(Host, { key: '54314ab8aa4fdf3473ff8aef59cd6bf4325e4264', class: \"kol-input-checkbox\" }, h(KolInputTag, { key: 'c1de0e605fcbd71a3b798f5ae3a780f4956cfa5f', class: {\n checkbox: true,\n [this.state._variant]: true,\n 'hide-label': !!this.state._hideLabel,\n checked: this.state._checked,\n indeterminate: this.state._indeterminate,\n }, \"data-label-align\": this.state._labelAlign || 'right', \"data-role\": this.state._variant === 'button' ? 'button' : undefined, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _msg: this.state._msg, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _required: this.state._required, _shortKey: this.state._shortKey, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, h(\"span\", { key: 'f1893052b26a18936dc0a89a23488ee8b420f766', slot: \"label\" }, hasExpertSlot ? (h(\"slot\", { name: \"expert\" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (h(Fragment, null, h(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', h(\"kbd\", { class: \"badge-text-hint\", \"aria-hidden\": \"true\" }, buildBadgeTextString(this.state._accessKey || this.state._shortKey)))) : (h(\"span\", null, this.state._label))), h(\"label\", { key: 'b8f26a59b4b6906e3fee27424d59be38808d8613', slot: \"input\", class: \"checkbox-container\" }, h(KolIconTag, { key: '2bf8c73a611fc024e2386da1240e87e436bcfff5', class: \"icon\", _icons: this.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked, _label: \"\" }), h(\"input\", Object.assign({ key: '30ea99a1843b978361be16c136f7e90427570dbc', class: `checkbox-input-element${this.state._variant === 'button' ? ' visually-hidden' : ''}`, ref: this.catchRef, title: \"\", accessKey: this.state._accessKey, \"aria-keyshortcuts\": this.state._shortKey, \"aria-describedby\": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, \"aria-label\": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, checked: this.state._checked, disabled: this.state._disabled, id: this.state._id, indeterminate: this.state._indeterminate, name: this.state._name, required: this.state._required, tabIndex: this.state._tabIndex, type: \"checkbox\" }, this.controller.onFacade, { onInput: this.onInput, onChange: this.onChange, onKeyDown: this.onKeyDown.bind(this), onFocus: (event) => {\n this.controller.onFacade.onFocus(event);\n this.inputHasFocus = true;\n }, onBlur: (event) => {\n this.controller.onFacade.onBlur(event);\n this.inputHasFocus = false;\n }, onClick: undefined }))))));\n }\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.inputRef = ref;\n };\n this.onInput = (event) => {\n var _a;\n this._checked = !this._checked;\n this._indeterminate = false;\n const value = this.getModelValue();\n tryToDispatchKoliBriEvent('input', this.host, value);\n if (typeof ((_a = this._on) === null || _a === void 0 ? void 0 : _a.onInput) === 'function') {\n this._on.onInput(event, value);\n }\n };\n this.onChange = (event) => {\n var _a;\n const value = this.getModelValue();\n tryToDispatchKoliBriEvent('change', this.host, value);\n this.controller.setFormAssociatedCheckboxValue(value);\n if (typeof ((_a = this._on) === null || _a === void 0 ? void 0 : _a.onChange) === 'function') {\n this._on.onChange(event, value);\n }\n };\n this.onKeyDown = (event) => {\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n propagateSubmitEventToForm({\n form: this.host,\n ref: this.inputRef,\n });\n }\n };\n this._accessKey = undefined;\n this._alert = undefined;\n this._checked = false;\n this._hideError = false;\n this._disabled = false;\n this._error = undefined;\n this._hideLabel = false;\n this._hint = '';\n this._icons = undefined;\n this._id = undefined;\n this._indeterminate = undefined;\n this._label = undefined;\n this._labelAlign = 'right';\n this._msg = undefined;\n this._name = undefined;\n this._on = undefined;\n this._required = false;\n this._shortKey = undefined;\n this._syncValueBySelector = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._touched = false;\n this._value = true;\n this._variant = 'default';\n this.state = {\n _checked: false,\n _hideError: false,\n _icons: {\n checked: 'codicon codicon-check',\n indeterminate: 'codicon codicon-remove',\n unchecked: 'codicon codicon-close',\n },\n _id: `id-${nonce()}`,\n _indeterminate: false,\n _label: '',\n _value: true,\n _variant: 'default',\n _labelAlign: 'right',\n };\n this.inputHasFocus = false;\n this.controller = new InputCheckboxController(this, 'checkbox', this.host);\n }\n showAsAlert() {\n if (this.state._alert === undefined) {\n return Boolean(this.state._touched) && !this.inputHasFocus;\n }\n return this.state._alert;\n }\n validateAccessKey(value) {\n this.controller.validateAccessKey(value);\n }\n validateAlert(value) {\n this.controller.validateAlert(value);\n }\n validateChecked(value) {\n this.controller.validateChecked(value);\n }\n validateDisabled(value) {\n this.controller.validateDisabled(value);\n }\n validateError(value) {\n this.controller.validateError(value);\n }\n validateHideError(value) {\n this.controller.validateHideError(value);\n }\n validateHideLabel(value) {\n this.controller.validateHideLabel(value);\n }\n validateHint(value) {\n this.controller.validateHint(value);\n }\n validateIcons(value) {\n this.controller.validateIcons(value);\n }\n validateId(value) {\n this.controller.validateId(value);\n }\n validateIndeterminate(value) {\n this.controller.validateIndeterminate(value);\n }\n validateLabel(value) {\n this.controller.validateLabel(value);\n }\n validateLabelAlign(value) {\n this.controller.validateLabelAlign(value);\n }\n validateMsg(value) {\n this.controller.validateMsg(value);\n }\n validateName(value) {\n this.controller.validateName(value);\n }\n validateOn(value) {\n this.controller.validateOn(value);\n }\n validateRequired(value) {\n this.controller.validateRequired(value);\n }\n validateShortKey(value) {\n this.controller.validateShortKey(value);\n }\n validateSyncValueBySelector(value) {\n this.controller.validateSyncValueBySelector(value);\n }\n validateTabIndex(value) {\n this.controller.validateTabIndex(value);\n }\n validateTouched(value) {\n this.controller.validateTouched(value);\n }\n validateValue(value) {\n this.controller.validateValue(value);\n }\n validateVariant(value) {\n this.controller.validateVariant(value);\n }\n componentWillLoad() {\n this._touched = this._touched === true;\n this.controller.componentWillLoad();\n }\n static get delegatesFocus() { return true; }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_accessKey\": [\"validateAccessKey\"],\n \"_alert\": [\"validateAlert\"],\n \"_checked\": [\"validateChecked\"],\n \"_disabled\": [\"validateDisabled\"],\n \"_error\": [\"validateError\"],\n \"_hideError\": [\"validateHideError\"],\n \"_hideLabel\": [\"validateHideLabel\"],\n \"_hint\": [\"validateHint\"],\n \"_icons\": [\"validateIcons\"],\n \"_id\": [\"validateId\"],\n \"_indeterminate\": [\"validateIndeterminate\"],\n \"_label\": [\"validateLabel\"],\n \"_labelAlign\": [\"validateLabelAlign\"],\n \"_msg\": [\"validateMsg\"],\n \"_name\": [\"validateName\"],\n \"_on\": [\"validateOn\"],\n \"_required\": [\"validateRequired\"],\n \"_shortKey\": [\"validateShortKey\"],\n \"_syncValueBySelector\": [\"validateSyncValueBySelector\"],\n \"_tabIndex\": [\"validateTabIndex\"],\n \"_touched\": [\"validateTouched\"],\n \"_value\": [\"validateValue\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\nKolInputCheckbox.style = {\n default: KolInputCheckboxDefaultStyle0\n};\n\nexport { KolInputCheckbox as kol_input_checkbox };\n\n//# sourceMappingURL=kol-input-checkbox.entry.js.map"],"names":["inputCheckboxVariantOptions","validateChecked","component","value","watchBoolean","validateIndeterminate","labelAlignPropTypeOptions","validateLabelAlign","watchValidator","InputCheckboxController","InputCheckboxRadioController","name","host","isString","nextValue","nextState","setState","defaultStyleCss","KolInputCheckboxDefaultStyle0","KolInputCheckbox","_a","ariaDescribedBy","getRenderStates","hasExpertSlot","showExpertSlot","h","Host","KolInputTag","Fragment","InternalUnderlinedBadgeText","buildBadgeTextString","KolIconTag","event","hostRef","registerInstance","ref","tryToDispatchKoliBriEvent","propagateSubmitEventToForm","nonce","getElement"],"mappings":"itBAAA;AAAA;AAAA,GAmBA,MAAMA,EAA8B,CAAC,SAAU,UAAW,QAAQ,EAE5DC,EAAkB,CAACC,EAAWC,IAAU,CAC1CC,EAAaF,EAAW,WAAYC,CAAK,CAC7C,EAEME,EAAwB,CAACH,EAAWC,IAAU,CAChDC,EAAaF,EAAW,iBAAkBC,CAAK,CACnD,EAEMG,EAA4B,CAAC,OAAQ,OAAO,EAC5CC,EAAqB,CAACL,EAAWC,IAAU,CAC7CK,EAAeN,EAAW,cAAgBC,GAAU,OAAOA,GAAU,UAAYG,EAA0B,SAASH,CAAK,EAAG,IAAI,IAAI,CAAC,sBAAsBG,EAA0B,KAAK,IAAI,CAAC,EAAE,CAAC,EAAGH,CAAK,CAC9M,EAEA,MAAMM,UAAgCC,CAA6B,CAC/D,YAAYR,EAAWS,EAAMC,EAAM,CAC/B,MAAMV,EAAWS,EAAMC,CAAI,EAC3B,KAAK,+BAAkCT,GAAU,CACzC,KAAK,UAAU,SACf,KAAK,uBAAuBA,CAAK,EAGjC,KAAK,uBAAuB,IAAI,CAExC,EACA,KAAK,UAAYD,CACrB,CACA,gBAAgBC,EAAO,CACnBF,EAAgB,KAAK,UAAWE,CAAK,EACrC,KAAK,+BAA+B,KAAK,UAAU,MAAM,MAAM,CACnE,CACA,cAAcA,EAAO,CACjBK,EAAe,KAAK,UAAW,SAAWL,GAC/B,OAAOA,GAAU,UA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AAuB,EAC1C,OAAU,CAAC,eAAe,EAC1B,YAAe,CAAC,oBAAoB,EACpC,KAAQ,CAAC,aAAa,EACtB,MAAS,CAAC,cAAc,EACxB,IAAO,CAAC,YAAY,EACpB,UAAa,CAAC,kBAAkB,EAChC,UAAa,CAAC,kBAAkB,EAChC,qBAAwB,CAAC,6BAA6B,EACtD,UAAa,CAAC,kBAAkB,EAChC,SAAY,CAAC,iBAAiB,EAC9B,OAAU,CAAC,eAAe,EAC1B,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP,EACApB,EAAiB,MAAQ,CACrB,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-input-color.entry-B7ed7INr.js","sources":["../../../../components/dist/esm/kol-input-color.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h, F as Fragment, H as Host, r as registerInstance, g as getElement } from './index-25e94a16.js';\nimport { w as watchValidator, y as watchString, A as buildBadgeTextString, B as showExpertSlot } from './index-7a63e9eb.js';\nimport { l as KolInputTag } from './component-names-4cb1c62b.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { g as getRenderStates } from './controller-c87b8bd9.js';\nimport { I as InternalUnderlinedBadgeText } from './InternalUnderlinedBadgeText-1fac598e.js';\nimport { I as InputIconController } from './controller-icon-b3eb5a58.js';\nimport { v as validateSuggestions } from './suggestions-506c439a.js';\nimport './events-29e84d75.js';\nimport './associated.controller-d302adf7.js';\nimport './access-and-short-key-914780a7.js';\nimport './hide-label-0d754c8e.js';\nimport './label-7d1ce375.js';\nimport './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\nimport './icons-adcda9b0.js';\n\nconst inputTypeOnOffOptions = ['on', 'off'];\n\nclass InputColorController extends InputIconController {\n constructor(component, name, host) {\n super(component, name, host);\n this.component = component;\n }\n validateAutoComplete(value) {\n watchValidator(this.component, '_autoComplete', (value) => typeof value === 'string' && inputTypeOnOffOptions.includes(value), new Set(inputTypeOnOffOptions), value);\n }\n validateSuggestions(value) {\n validateSuggestions(this.component, value);\n }\n validateValue(value) {\n watchString(this.component, '_value', value);\n this.setFormAssociatedValue(this.component.state._value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validateAutoComplete(this.component._autoComplete);\n this.validateSuggestions(this.component._suggestions);\n this.validateValue(this.component._value);\n }\n}\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .required label > span::after,\\n .required legend > span::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n input,\\n textarea {\\n cursor: text;\\n }\\n input[type=checkbox],\\n input[type=color],\\n input[type=file],\\n input[type=radio],\\n input[type=range],\\n label,\\n option,\\n select {\\n cursor: pointer;\\n }\\n /* input[type='checkbox'], */\\n /* input[type='radio'], */\\n /* input[type='range'], */\\n input[type=color],\\n input[type=date],\\n input[type=datetime-local],\\n input[type=email],\\n input[type=file],\\n input[type=month],\\n input[type=number],\\n input[type=password],\\n input[type=search],\\n input[type=tel],\\n input[type=text],\\n input[type=time],\\n input[type=url],\\n input[type=week],\\n option,\\n select,\\n textarea {\\n background-color: transparent;\\n width: 100%;\\n }\\n /* needed hack for vertical alignment */\\n input[type=file] {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\\n }\\n /* needed hack for vertical alignment */\\n select[multiple] option {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .kol-input {\\n display: grid;\\n }\\n .kol-input .input-slot {\\n flex-grow: 1;\\n }\\n input:focus,\\n option:focus,\\n select:focus,\\n textarea:focus {\\n outline: 0;\\n }\\n .input {\\n background-color: white;\\n display: flex;\\n align-items: center;\\n cursor: pointer;\\n }\\n button:not([role=link]) {\\n min-height: auto;\\n }\\n .input > .kol-icon {\\n display: grid;\\n place-items: center;\\n }\\n .kol-input.required .input-tooltip .span-label::after {\\n content: \\\"*\\\";\\n }\\n}\";\nconst KolInputColorDefaultStyle0 = defaultStyleCss;\n\nconst KolInputColor = class {\n async getValue() {\n var _a;\n return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value;\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();\n }\n render() {\n const { ariaDescribedBy } = getRenderStates(this.state);\n const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n const hasExpertSlot = showExpertSlot(this.state._label);\n return (h(Host, { key: 'f51b0ef9c80cc4c4e4269b0a740456fb6f732970', class: \"kol-input-color\" }, h(KolInputTag, { key: 'cfa830bccbb38aeca961f0464bfbb1bc5fe3cc86', class: {\n color: true,\n 'hide-label': !!this.state._hideLabel,\n }, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _msg: this.state._msg, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _hideError: this.state._hideError, _id: this.state._id, _label: this.state._label, _shortKey: this.state._shortKey, _suggestions: this.state._suggestions, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus(); }, role: `presentation` }, h(\"span\", { key: 'e8b9c07c11e608f35350f048dd1954f0816cd255', slot: \"label\" }, hasExpertSlot ? (h(\"slot\", { name: \"expert\" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (h(Fragment, null, h(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', h(\"kbd\", { class: \"badge-text-hint\", \"aria-hidden\": \"true\" }, buildBadgeTextString(this.state._accessKey, this.state._shortKey)))) : (h(\"span\", null, this.state._label))), h(\"div\", { key: '0436f72bcbfc2038e4c1702ab03f9de29f05a632', slot: \"input\" }, h(\"input\", Object.assign({ key: '1e0d72f2f8603147903c44684b6f77127ccc20fc', ref: this.catchRef, title: \"\", accessKey: this.state._accessKey, \"aria-keyshortcuts\": this.state._shortKey, \"aria-describedby\": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, \"aria-label\": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: \"off\", autoComplete: this.state._autoComplete, autoCorrect: \"off\", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, name: this.state._name, slot: \"input\", type: \"color\", value: this.state._value }, this.controller.onFacade, { onFocus: (event) => {\n this.controller.onFacade.onFocus(event);\n this.inputHasFocus = true;\n }, onBlur: (event) => {\n this.controller.onFacade.onBlur(event);\n this.inputHasFocus = false;\n } }))))));\n }\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.inputRef = ref;\n };\n this._accessKey = undefined;\n this._alert = undefined;\n this._autoComplete = undefined;\n this._disabled = false;\n this._error = undefined;\n this._hideError = false;\n this._hideLabel = false;\n this._hint = '';\n this._icons = undefined;\n this._id = undefined;\n this._label = undefined;\n this._msg = undefined;\n this._name = undefined;\n this._on = undefined;\n this._shortKey = undefined;\n this._smartButton = undefined;\n this._suggestions = undefined;\n this._syncValueBySelector = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._touched = false;\n this._value = undefined;\n this.state = {\n _autoComplete: 'off',\n _hideError: false,\n _id: `id-${nonce()}`,\n _label: '',\n _suggestions: [],\n };\n this.inputHasFocus = false;\n this.controller = new InputColorController(this, 'color', this.host);\n }\n showAsAlert() {\n if (this.state._alert === undefined) {\n return Boolean(this.state._touched) && !this.inputHasFocus;\n }\n return this.state._alert;\n }\n validateAccessKey(value) {\n this.controller.validateAccessKey(value);\n }\n validateAlert(value) {\n this.controller.validateAlert(value);\n }\n validateAutoComplete(value) {\n this.controller.validateAutoComplete(value);\n }\n validateDisabled(value) {\n this.controller.validateDisabled(value);\n }\n validateError(value) {\n this.controller.validateError(value);\n }\n validateHideError(value) {\n this.controller.validateHideError(value);\n }\n validateHideLabel(value) {\n this.controller.validateHideLabel(value);\n }\n validateHint(value) {\n this.controller.validateHint(value);\n }\n validateIcons(value) {\n this.controller.validateIcons(value);\n }\n validateId(value) {\n this.controller.validateId(value);\n }\n validateLabel(value) {\n this.controller.validateLabel(value);\n }\n validateMsg(value) {\n this.controller.validateMsg(value);\n }\n validateName(value) {\n this.controller.validateName(value);\n }\n validateOn(value) {\n this.controller.validateOn(value);\n }\n validateShortKey(value) {\n this.controller.validateShortKey(value);\n }\n validateSmartButton(value) {\n this.controller.validateSmartButton(value);\n }\n validateSuggestions(value) {\n this.controller.validateSuggestions(value);\n }\n validateSyncValueBySelector(value) {\n this.controller.validateSyncValueBySelector(value);\n }\n validateTabIndex(value) {\n this.controller.validateTabIndex(value);\n }\n validateTouched(value) {\n this.controller.validateTouched(value);\n }\n validateValue(value) {\n this.controller.validateValue(value);\n }\n componentWillLoad() {\n this._touched = this._touched === true;\n this.controller.componentWillLoad();\n }\n static get delegatesFocus() { return true; }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_accessKey\": [\"validateAccessKey\"],\n \"_alert\": [\"validateAlert\"],\n \"_autoComplete\": [\"validateAutoComplete\"],\n \"_disabled\": [\"validateDisabled\"],\n \"_error\": [\"validateError\"],\n \"_hideError\": [\"validateHideError\"],\n \"_hideLabel\": [\"validateHideLabel\"],\n \"_hint\": [\"validateHint\"],\n \"_icons\": [\"validateIcons\"],\n \"_id\": [\"validateId\"],\n \"_label\": [\"validateLabel\"],\n \"_msg\": [\"validateMsg\"],\n \"_name\": [\"validateName\"],\n \"_on\": [\"validateOn\"],\n \"_shortKey\": [\"validateShortKey\"],\n \"_smartButton\": [\"validateSmartButton\"],\n \"_suggestions\": [\"validateSuggestions\"],\n \"_syncValueBySelector\": [\"validateSyncValueBySelector\"],\n \"_tabIndex\": [\"validateTabIndex\"],\n \"_touched\": [\"validateTouched\"],\n \"_value\": [\"validateValue\"]\n }; }\n};\nKolInputColor.style = {\n default: KolInputColorDefaultStyle0\n};\n\nexport { KolInputColor as kol_input_color };\n\n//# sourceMappingURL=kol-input-color.entry.js.map"],"names":["inputTypeOnOffOptions","InputColorController","InputIconController","component","name","host","value","watchValidator","validateSuggestions","watchString","defaultStyleCss","KolInputColorDefaultStyle0","KolInputColor","_a","ariaDescribedBy","getRenderStates","hasSuggestions","hasExpertSlot","showExpertSlot","h","Host","KolInputTag","Fragment","InternalUnderlinedBadgeText","buildBadgeTextString","event","hostRef","registerInstance","ref","nonce","getElement"],"mappings":"2tBAAA;AAAA;AAAA,GAoBA,MAAMA,EAAwB,CAAC,KAAM,KAAK,EAE1C,MAAMC,UAA6BC,CAAoB,CACnD,YAAYC,EAAWC,EAAMC,EAAM,CAC/B,MAAMF,EAAWC,EAAMC,CAAI,EAC3B,KAA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ChC,aAAgB,CAAC,qBAAqB,EACtC,aAAgB,CAAC,qBAAqB,EACtC,qBAAwB,CAAC,6BAA6B,EACtD,UAAa,CAAC,kBAAkB,EAChC,SAAY,CAAC,iBAAiB,EAC9B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAlB,EAAc,MAAQ,CAClB,QAASD,CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kol-input-date.entry-BcZLewxN.js","sources":["../../../../components/dist/esm/kol-input-date.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h, F as Fragment, H as Host, r as registerInstance, g as getElement } from './index-25e94a16.js';\nimport { j as watchBoolean, w as watchValidator, m as setState, F as watchNumber, A as buildBadgeTextString, I as deprecatedHint, B as showExpertSlot } from './index-7a63e9eb.js';\nimport { l as KolInputTag } from './component-names-4cb1c62b.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { p as propagateSubmitEventToForm } from './controller-728fbdd1.js';\nimport { g as getRenderStates } from './controller-c87b8bd9.js';\nimport { I as InternalUnderlinedBadgeText } from './InternalUnderlinedBadgeText-1fac598e.js';\nimport { I as InputIconController } from './controller-icon-b3eb5a58.js';\nimport { v as validateSuggestions } from './suggestions-506c439a.js';\nimport './events-29e84d75.js';\nimport './associated.controller-d302adf7.js';\nimport './access-and-short-key-914780a7.js';\nimport './hide-label-0d754c8e.js';\nimport './label-7d1ce375.js';\nimport './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\nimport './icons-adcda9b0.js';\n\nconst validateReadOnly = (component, value) => {\n watchBoolean(component, '_readOnly', value);\n};\n\nconst inputDateTypeOptions = ['date', 'datetime-local', 'month', 'time', 'week'];\n\nclass InputDateController extends InputIconController {\n constructor(component, name, host) {\n super(component, name, host);\n this.validateIso8601 = (propName, value, afterPatch) => {\n return watchValidator(this.component, propName, (value) => value === undefined || value === null || value === '' || this.validateDateString(value), new Set(['Date', 'string{ISO-8601}']), InputDateController.tryParseToString(value, this.component._type, this.component._step), {\n hooks: {\n afterPatch: (value) => {\n if (typeof value === 'string' && afterPatch) {\n afterPatch(value);\n }\n },\n },\n });\n };\n this.component = component;\n }\n validateAutoComplete(value) {\n watchValidator(this.component, '_autoComplete', (value) => typeof value === 'string' && (value === 'on' || value === 'off'), new Set(['on | off']), value);\n }\n validateSuggestions(value) {\n validateSuggestions(this.component, value);\n }\n static tryParseToString(value, type, step) {\n if (typeof value === 'string' || value === null) {\n return value;\n }\n if (typeof value === 'object' && value instanceof Date) {\n const formattedYear = value.getFullYear();\n const formattedMonth = String(value.getMonth() + 1).padStart(2, '0');\n const formattedDay = String(value.getDate()).padStart(2, '0');\n const formattedHours = String(value.getHours()).padStart(2, '0');\n const formattedMinutes = String(value.getMinutes()).padStart(2, '0');\n const formattedSeconds = String(value.getSeconds()).padStart(2, '0');\n const formattedDate = [formattedYear, formattedMonth, formattedDay].join('-');\n const formattedTimeWithSeconds = [formattedHours, formattedMinutes, formattedSeconds].join(':');\n switch (type) {\n case 'date':\n return formattedDate;\n case 'datetime-local':\n return `${formattedDate}T${formattedTimeWithSeconds}`;\n case 'month':\n return `${formattedYear}-${formattedMonth}`;\n case 'time':\n if (step === undefined || String(step) === '60') {\n return `${formattedHours}:${formattedMinutes}`;\n }\n else {\n return formattedTimeWithSeconds;\n }\n case 'week':\n return `${formattedYear}-W${this.getWeekNumberOfDate(value)}`;\n }\n }\n }\n static getWeekNumberOfDate(date) {\n const copiedDate = new Date(date);\n const nDay = (copiedDate.getDay() + 6) % 7;\n copiedDate.setDate(copiedDate.getDate() - nDay + 3);\n const n1stThursday = copiedDate.valueOf();\n copiedDate.setMonth(0, 1);\n if (copiedDate.getDay() !== 4) {\n copiedDate.setMonth(0, 1 + ((4 - copiedDate.getDay() + 7) % 7));\n }\n const dayOfYear = 1 + Math.ceil((n1stThursday - copiedDate.valueOf()) / 604800000);\n return dayOfYear.toString().padStart(2, '0');\n }\n validateDateString(value) {\n switch (this.component._type) {\n case 'date':\n return InputDateController.isoDateRegex.test(value);\n case 'datetime-local':\n return InputDateController.isoLocalDateTimeRegex.test(value);\n case 'month':\n return InputDateController.isoMonthRegex.test(value);\n case 'time':\n return InputDateController.isoTimeRegex.test(value);\n case 'week':\n return InputDateController.isoWeekRegex.test(value);\n default:\n return false;\n }\n }\n onBlur(event) {\n super.onBlur(event);\n if (!!event.target.value !== !!this.component._value) {\n this.component._value = event.target.value;\n }\n }\n validateMax(value) {\n const ensuredValue = (value === undefined || value === null) &&\n (this.component._type === 'date' || this.component._type === 'month' || this.component._type === 'datetime-local')\n ? InputDateController.DEFAULT_MAX_DATE\n : value;\n this.validateIso8601('_max', ensuredValue);\n }\n validateMin(value) {\n this.validateIso8601('_min', value);\n }\n validateOn(value) {\n setState(this.component, '_on', Object.assign(Object.assign({}, value), { onChange: (e, v) => {\n if (!!v !== !!this.component._value) {\n this.component._value = v;\n }\n if (value === null || value === void 0 ? void 0 : value.onChange) {\n value.onChange(e, v);\n }\n } }));\n }\n validateReadOnly(value) {\n validateReadOnly(this.component, value);\n }\n validateRequired(value) {\n watchBoolean(this.component, '_required', value);\n }\n validateStep(value) {\n watchNumber(this.component, '_step', value);\n }\n validateType(value) {\n watchValidator(this.component, '_type', (value) => typeof value === 'string' && inputDateTypeOptions.includes(value), new Set([`String {${inputDateTypeOptions.join(', ')}`]), value);\n }\n validateValue(value) {\n this.validateValueEx(value);\n }\n validateValueEx(value, afterPatch) {\n this.validateIso8601('_value', value, afterPatch);\n this.setFormAssociatedValue(this.component.state._value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validateAutoComplete(this.component._autoComplete);\n this.validateMax(this.component._max);\n this.validateMin(this.component._min);\n this.validateLabel(this.component._label);\n this.validateSuggestions(this.component._suggestions);\n this.validateOn(this.component._on);\n this.validateReadOnly(this.component._readOnly);\n this.validateRequired(this.component._required);\n this.validateStep(this.component._step);\n this.validateType(this.component._type);\n this.validateValue(this.component._value);\n }\n}\nInputDateController.isoDateRegex = /^\\d{4}-([0]\\d|1[0-2])-([0-2]\\d|3[01])/;\nInputDateController.isoLocalDateTimeRegex = /^\\d{4}-([0]\\d|1[0-2])-([0-2]\\d|3[01])[T ][0-2]\\d:[0-5]\\d(:[0-5]\\d(?:\\.\\d+)?)?/;\nInputDateController.isoMonthRegex = /^\\d{4}-([0]\\d|1[0-2])/;\nInputDateController.isoTimeRegex = /^[0-2]\\d:[0-5]\\d(:[0-5]\\d(?:\\.\\d+)?)?/;\nInputDateController.isoWeekRegex = /^\\d{4}-W(?:[0-4]\\d|5[0-3])$/;\nInputDateController.DEFAULT_MAX_DATE = new Date(9999, 11, 31, 23, 59, 59);\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .required label > span::after,\\n .required legend > span::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n input,\\n textarea {\\n cursor: text;\\n }\\n input[type=checkbox],\\n input[type=color],\\n input[type=file],\\n input[type=radio],\\n input[type=range],\\n label,\\n option,\\n select {\\n cursor: pointer;\\n }\\n /* input[type='checkbox'], */\\n /* input[type='radio'], */\\n /* input[type='range'], */\\n input[type=color],\\n input[type=date],\\n input[type=datetime-local],\\n input[type=email],\\n input[type=file],\\n input[type=month],\\n input[type=number],\\n input[type=password],\\n input[type=search],\\n input[type=tel],\\n input[type=text],\\n input[type=time],\\n input[type=url],\\n input[type=week],\\n option,\\n select,\\n textarea {\\n background-color: transparent;\\n width: 100%;\\n }\\n /* needed hack for vertical alignment */\\n input[type=file] {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\\n }\\n /* needed hack for vertical alignment */\\n select[multiple] option {\\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .kol-input {\\n display: grid;\\n }\\n .kol-input .input-slot {\\n flex-grow: 1;\\n }\\n input:focus,\\n option:focus,\\n select:focus,\\n textarea:focus {\\n outline: 0;\\n }\\n .input {\\n background-color: white;\\n display: flex;\\n align-items: center;\\n cursor: pointer;\\n }\\n button:not([role=link]) {\\n min-height: auto;\\n }\\n .input > .kol-icon {\\n display: grid;\\n place-items: center;\\n }\\n .kol-input.required .input-tooltip .span-label::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n /**\\n * Workaround for detecting focus state of the native date input's calendar icon.\\n * The `:focus-visible` pseudo class does not work on the icon itself, but only on the input element.\\n * By using the `content` property we can detect whether the icon is focused by inspecting the computed style in JS.\\n * This should be replaced once native focus detection for the icon is available.\\n */\\n :host input[type=date],\\n :host input[type=datetime-local],\\n :host input[type=month],\\n :host input[type=time],\\n :host input[type=week] {\\n content: \\\"native-icon-focused\\\";\\n }\\n :host input[type=date]:focus-visible,\\n :host input[type=datetime-local]:focus-visible,\\n :host input[type=month]:focus-visible,\\n :host input[type=time]:focus-visible,\\n :host input[type=week]:focus-visible {\\n content: \\\"native-icon-not-focused\\\";\\n }\\n}\";\nconst KolInputDateDefaultStyle0 = defaultStyleCss;\n\nconst KolInputDate = class {\n async getValue() {\n var _a;\n return this.inputRef && this.remapValue((_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value);\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();\n }\n async reset() {\n this.state = Object.assign(Object.assign({}, this.state), { _value: null });\n this.controller.setFormAssociatedValue('');\n if (this.inputRef) {\n this.inputRef.value = '';\n }\n }\n setInitialValueType(value) {\n if (value instanceof Date) {\n this._initialValueType = 'Date';\n }\n else if (typeof value === 'string') {\n this._initialValueType = 'String';\n }\n else {\n this._initialValueType = null;\n }\n }\n remapValue(newValue) {\n return this._initialValueType === 'Date' ? new Date(newValue) : newValue;\n }\n render() {\n const { ariaDescribedBy } = getRenderStates(this.state);\n const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n const hasExpertSlot = showExpertSlot(this.state._label);\n return (h(Host, { key: '366b0a3ef3f58d969f84e07df31ccf5a7d094e01', class: { 'kol-input-date': true, 'has-value': this.state._hasValue } }, h(KolInputTag, { key: 'd4165241238e394f80cc5263c35f2f99b95176b4', class: {\n [this.state._type]: true,\n 'hide-label': !!this.state._hideLabel,\n }, _accessKey: this.state._accessKey, _alert: this.showAsAlert(), _disabled: this.state._disabled, _msg: this.state._msg, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icons: this.state._icons, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _shortKey: this.state._shortKey, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, h(\"span\", { key: '0ce2aa4ea028b3b27137cb0164c9fe3dc1d738cd', slot: \"label\" }, hasExpertSlot ? (h(\"slot\", { name: \"expert\" })) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (h(Fragment, null, h(InternalUnderlinedBadgeText, { badgeText: buildBadgeTextString(this.state._accessKey, this.state._shortKey), label: this.state._label }), ' ', h(\"kbd\", { class: \"badge-text-hint\", \"aria-hidden\": \"true\" }, buildBadgeTextString(this.state._accessKey || this.state._shortKey)))) : (h(\"span\", null, this.state._label))), h(\"div\", { key: 'af77fb6c4425f209bc03465404d0d1f1d3d01d99', slot: \"input\" }, h(\"input\", Object.assign({ key: 'bb6366c2fbdf70fe5fe3dce0676ffad6ad0249fa', ref: this.catchRef, title: \"\", accessKey: this.state._accessKey, \"aria-keyshortcuts\": this.state._shortKey, \"aria-describedby\": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, \"aria-label\": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: \"off\", autoComplete: this.state._autoComplete, autoCorrect: \"off\", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, step: this.state._step, type: this.state._type, value: this.state._value || undefined }, this.controller.onFacade, { onKeyDown: this.onKeyDown, onBlur: (event) => {\n this.controller.onFacade.onBlur(event);\n this.inputHasFocus = false;\n }, onFocus: (event) => {\n this.controller.onFacade.onFocus(event);\n this.inputHasFocus = true;\n }, onChange: this.onChange, onInput: this.onInput }))))));\n }\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.inputRef = ref;\n };\n this.onChange = (event) => {\n const newValue = event.target.value;\n const remappedValue = this.remapValue(newValue);\n this.controller.onFacade.onChange(event, remappedValue);\n };\n this.onInput = (event) => {\n const newValue = event.target.value;\n const remappedValue = this.remapValue(newValue);\n this.controller.onFacade.onInput(event, true, remappedValue);\n };\n this.isNativeCalendarIconFocused = () => {\n if (!this.inputRef || typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {\n return false;\n }\n const computedStyle = window.getComputedStyle(this.inputRef, 'focus-visible');\n return computedStyle.getPropertyValue('content') === 'native-icon-focused';\n };\n this.onKeyDown = (event) => {\n if ((event.code === 'Enter' || event.code === 'NumpadEnter') && !this.isNativeCalendarIconFocused()) {\n propagateSubmitEventToForm({\n form: this.host,\n ref: this.inputRef,\n });\n }\n };\n this._initialValueType = null;\n this._accessKey = undefined;\n this._alert = undefined;\n this._autoComplete = undefined;\n this._disabled = false;\n this._error = undefined;\n this._hideError = false;\n this._hideLabel = false;\n this._hint = '';\n this._icons = undefined;\n this._id = undefined;\n this._label = undefined;\n this._max = undefined;\n this._min = undefined;\n this._msg = undefined;\n this._name = undefined;\n this._on = undefined;\n this._readOnly = false;\n this._required = false;\n this._shortKey = undefined;\n this._smartButton = undefined;\n this._suggestions = undefined;\n this._syncValueBySelector = undefined;\n this._step = undefined;\n this._tabIndex = undefined;\n this._tooltipAlign = 'top';\n this._touched = false;\n this._type = 'date';\n this._value = undefined;\n this.state = {\n _autoComplete: 'off',\n _hasValue: false,\n _hideError: false,\n _id: `id-${nonce()}`,\n _label: '',\n _suggestions: [],\n _type: 'datetime-local',\n };\n this.inputHasFocus = false;\n this.controller = new InputDateController(this, 'date', this.host);\n }\n showAsAlert() {\n if (this.state._alert === undefined) {\n return Boolean(this.state._touched) && !this.inputHasFocus;\n }\n return this.state._alert;\n }\n validateAccessKey(value) {\n this.controller.validateAccessKey(value);\n }\n validateAlert(value) {\n this.controller.validateAlert(value);\n }\n validateAutoComplete(value) {\n this.controller.validateAutoComplete(value);\n }\n validateDisabled(value) {\n this.controller.validateDisabled(value);\n }\n validateError(value) {\n this.controller.validateError(value);\n }\n validateHideError(value) {\n this.controller.validateHideError(value);\n }\n validateHideLabel(value) {\n this.controller.validateHideLabel(value);\n }\n validateHint(value) {\n this.controller.validateHint(value);\n }\n validateIcons(value) {\n this.controller.validateIcons(value);\n }\n validateId(value) {\n this.controller.validateId(value);\n }\n validateLabel(value) {\n this.controller.validateLabel(value);\n }\n validateMax(value) {\n this.controller.validateMax(value);\n }\n validateMin(value) {\n this.controller.validateMin(value);\n }\n validateMsg(value) {\n this.controller.validateMsg(value);\n }\n validateName(value) {\n this.controller.validateName(value);\n }\n validateOn(value) {\n this.controller.validateOn(value);\n }\n validateReadOnly(value) {\n this.controller.validateReadOnly(value);\n }\n validateRequired(value) {\n this.controller.validateRequired(value);\n }\n validateShortKey(value) {\n this.controller.validateShortKey(value);\n }\n validateSmartButton(value) {\n this.controller.validateSmartButton(value);\n }\n validateSuggestions(value) {\n this.controller.validateSuggestions(value);\n }\n validateStep(value) {\n this.controller.validateStep(value);\n }\n validateSyncValueBySelector(value) {\n this.controller.validateSyncValueBySelector(value);\n }\n validateTabIndex(value) {\n this.controller.validateTabIndex(value);\n }\n validateTouched(value) {\n this.controller.validateTouched(value);\n }\n validateType(value) {\n this.controller.validateType(value);\n }\n validateValue(value) {\n if (value instanceof Date) {\n deprecatedHint('Date type will be removed in v3. Use `Iso8601` instead.');\n }\n this.controller.validateValueEx(value);\n if (value !== undefined)\n this.setInitialValueType(value);\n }\n componentWillLoad() {\n if (this._value !== undefined)\n this.setInitialValueType(this._value);\n this._touched = this._touched === true;\n this.controller.componentWillLoad();\n this.state._hasValue = !!this.state._value;\n this.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n }\n static get delegatesFocus() { return true; }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_accessKey\": [\"validateAccessKey\"],\n \"_alert\": [\"validateAlert\"],\n \"_autoComplete\": [\"validateAutoComplete\"],\n \"_disabled\": [\"validateDisabled\"],\n \"_error\": [\"validateError\"],\n \"_hideError\": [\"validateHideError\"],\n \"_hideLabel\": [\"validateHideLabel\"],\n \"_hint\": [\"validateHint\"],\n \"_icons\": [\"validateIcons\"],\n \"_id\": [\"validateId\"],\n \"_label\": [\"validateLabel\"],\n \"_max\": [\"validateMax\"],\n \"_min\": [\"validateMin\"],\n \"_msg\": [\"validateMsg\"],\n \"_name\": [\"validateName\"],\n \"_on\": [\"validateOn\"],\n \"_readOnly\": [\"validateReadOnly\"],\n \"_required\": [\"validateRequired\"],\n \"_shortKey\": [\"validateShortKey\"],\n \"_smartButton\": [\"validateSmartButton\"],\n \"_suggestions\": [\"validateSuggestions\"],\n \"_step\": [\"validateStep\"],\n \"_syncValueBySelector\": [\"validateSyncValueBySelector\"],\n \"_tabIndex\": [\"validateTabIndex\"],\n \"_touched\": [\"validateTouched\"],\n \"_type\": [\"validateType\"],\n \"_value\": [\"validateValue\"]\n }; }\n};\nKolInputDate.style = {\n default: KolInputDateDefaultStyle0\n};\n\nexport { KolInputDate as kol_input_date };\n\n//# sourceMappingURL=kol-input-date.entry.js.map"],"names":["validateReadOnly","component","value","watchBoolean","inputDateTypeOptions","InputDateController","InputIconController","name","host","propName","afterPatch","watchValidator","validateSuggestions","type","step","formattedYear","formattedMonth","formattedDay","formattedHours","formattedMinutes","formattedSeconds","formattedDate","formattedTimeWithSeconds","date","copiedDate","nDay","n1stThursday","event","ensuredValue","setState","e","v","watchNumber","defaultStyleCss","KolInputDateDefaultStyle0","KolInputDate","_a","newValue","ariaDescribedBy","getRenderStates","hasSuggestions","hasExpertSlot","showExpertSlot","h","Host","KolInputTag","Fragment","InternalUnderlinedBadgeText","buildBadgeTextString","hostRef","registerInstance","ref","remappedValue","propagateSubmitEventToForm","nonce","deprecatedHint","getElement"],"mappings":"syBAAA;AAAA;AAAA,GAqBA,MAAMA,EAAmB,CAACC,EAAWC,IAAU,CAC3CC,EAAaF,EAAW,YAAaC,CAAK,CAC9C,EAEME,EAAuB,CAAC,OAAQ,iBAAkB,QAAS,OAAQ,MAAM,EAE/E,MAAMC,UAA4BC,CAAoB,CAClD,YAAYL,EAAWM,EAAMC,EAAM,CAC/B,MAAMP,EAAWM,EAAMC,CAAI,EAC3B,KAAK,gBAAkB,CAACC,EAAUP,EAAOQ,IAC9BC,EAAe,KAAK,UAAWF,EAAWP,GAAiCA,GAAU,MAA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