@public-ui/components 2.2.20 → 2.2.21

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 (675) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{Alert-99b87862.js → Alert-b1779f1e.js} +1 -1
  3. package/dist/cjs/{Alert-99b87862.js.map → Alert-b1779f1e.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-696b7a5b.js → Collapsible-d27a56a8.js} +1 -1
  5. package/dist/cjs/{Collapsible-696b7a5b.js.map → Collapsible-d27a56a8.js.map} +1 -1
  6. package/dist/cjs/{FormFieldMsg-b330c4b6.js → FormFieldMsg-3305c0ee.js} +1 -1
  7. package/dist/cjs/{FormFieldMsg-b330c4b6.js.map → FormFieldMsg-3305c0ee.js.map} +1 -1
  8. package/dist/cjs/{InternalUnderlinedBadgeText-9af1f996.js → InternalUnderlinedBadgeText-92436423.js} +1 -1
  9. package/dist/cjs/{InternalUnderlinedBadgeText-9af1f996.js.map → InternalUnderlinedBadgeText-92436423.js.map} +1 -1
  10. package/dist/cjs/{access-and-short-key-d5fd6a06.js → access-and-short-key-db228e06.js} +1 -1
  11. package/dist/cjs/{access-and-short-key-d5fd6a06.js.map → access-and-short-key-db228e06.js.map} +1 -1
  12. package/dist/cjs/{align-990ce192.js → align-ca9c2ba1.js} +1 -1
  13. package/dist/cjs/{align-990ce192.js.map → align-ca9c2ba1.js.map} +1 -1
  14. package/dist/cjs/{align-floating-elements-1fa314b6.js → align-floating-elements-8b4a73ed.js} +1 -1
  15. package/dist/cjs/{align-floating-elements-1fa314b6.js.map → align-floating-elements-8b4a73ed.js.map} +1 -1
  16. package/dist/cjs/app-globals-93ad5811.js +4 -0
  17. package/dist/cjs/{app-globals-b9bb3792.js.map → app-globals-93ad5811.js.map} +1 -1
  18. package/dist/cjs/{associated.controller-f1c92ada.js → associated.controller-167db0f9.js} +1 -1
  19. package/dist/cjs/{associated.controller-f1c92ada.js.map → associated.controller-167db0f9.js.map} +1 -1
  20. package/dist/cjs/badge-text-bbeb68e5.js +4 -0
  21. package/dist/cjs/{badge-text-36c453e4.js.map → badge-text-bbeb68e5.js.map} +1 -1
  22. package/dist/cjs/{button-variant-5e036f33.js → button-variant-3f01db00.js} +1 -1
  23. package/dist/cjs/{button-variant-5e036f33.js.map → button-variant-3f01db00.js.map} +1 -1
  24. package/dist/cjs/{color-72baae00.js → color-685839c5.js} +1 -1
  25. package/dist/cjs/{color-72baae00.js.map → color-685839c5.js.map} +1 -1
  26. package/dist/cjs/{controller-b5207ccc.js → controller-0fcb6935.js} +1 -1
  27. package/dist/cjs/{controller-b5207ccc.js.map → controller-0fcb6935.js.map} +1 -1
  28. package/dist/cjs/{controller-6de58b29.js → controller-333c20aa.js} +1 -1
  29. package/dist/cjs/{controller-6de58b29.js.map → controller-333c20aa.js.map} +1 -1
  30. package/dist/cjs/{controller-91e0f9a0.js → controller-80e34e2c.js} +1 -1
  31. package/dist/cjs/{controller-91e0f9a0.js.map → controller-80e34e2c.js.map} +1 -1
  32. package/dist/cjs/{controller-d816f008.js → controller-aa00ed09.js} +1 -1
  33. package/dist/cjs/{controller-d816f008.js.map → controller-aa00ed09.js.map} +1 -1
  34. package/dist/cjs/{controller-b3740755.js → controller-ec61a084.js} +1 -1
  35. package/dist/cjs/{controller-b3740755.js.map → controller-ec61a084.js.map} +1 -1
  36. package/dist/cjs/{controller-icon-e178d856.js → controller-icon-8de958e1.js} +1 -1
  37. package/dist/cjs/{controller-icon-e178d856.js.map → controller-icon-8de958e1.js.map} +1 -1
  38. package/dist/cjs/custom-class-00e10625.js +4 -0
  39. package/dist/cjs/{custom-class-65e2f9b5.js.map → custom-class-00e10625.js.map} +1 -1
  40. package/dist/cjs/debounce-c3fb8d42.js +4 -0
  41. package/dist/cjs/{debounce-80a7f9a5.js.map → debounce-c3fb8d42.js.map} +1 -1
  42. package/dist/cjs/{dev.utils-00a04d5d.js → dev.utils-b34f5be7.js} +1 -1
  43. package/dist/cjs/{dev.utils-00a04d5d.js.map → dev.utils-b34f5be7.js.map} +1 -1
  44. package/dist/cjs/{devtools-54e98690.js → devtools-73a24082.js} +1 -1
  45. package/dist/cjs/{devtools-54e98690.js.map → devtools-73a24082.js.map} +1 -1
  46. package/dist/cjs/{disabled-eebeb967.js → disabled-93d4a48e.js} +1 -1
  47. package/dist/cjs/{disabled-eebeb967.js.map → disabled-93d4a48e.js.map} +1 -1
  48. package/dist/cjs/has-closer-4b537915.js +4 -0
  49. package/dist/cjs/{has-closer-98eb7947.js.map → has-closer-4b537915.js.map} +1 -1
  50. package/dist/cjs/{hide-label-66a55661.js → hide-label-1c46e706.js} +1 -1
  51. package/dist/cjs/{hide-label-66a55661.js.map → hide-label-1c46e706.js.map} +1 -1
  52. package/dist/cjs/href-c913e050.js +4 -0
  53. package/dist/cjs/{href-41bacd9e.js.map → href-c913e050.js.map} +1 -1
  54. package/dist/cjs/{i18n-fc1e6515.js → i18n-8030f042.js} +1 -1
  55. package/dist/cjs/{i18n-fc1e6515.js.map → i18n-8030f042.js.map} +1 -1
  56. package/dist/cjs/{icons-4d6827f7.js → icons-fa441a15.js} +1 -1
  57. package/dist/cjs/{icons-4d6827f7.js.map → icons-fa441a15.js.map} +1 -1
  58. package/dist/cjs/{image-source-d1d24cc8.js → image-source-966ac90c.js} +1 -1
  59. package/dist/cjs/{image-source-d1d24cc8.js.map → image-source-966ac90c.js.map} +1 -1
  60. package/dist/cjs/{index-4a2fd269.js → index-94691b75.js} +1 -1
  61. package/dist/cjs/{index-4a2fd269.js.map → index-94691b75.js.map} +1 -1
  62. package/dist/cjs/index-eb86aac8.js +4 -0
  63. package/dist/cjs/index-eb86aac8.js.map +1 -0
  64. package/dist/cjs/index.cjs.js +1 -1
  65. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-select-wc.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  152. package/dist/cjs/kolibri.cjs.js +1 -1
  153. package/dist/cjs/{label-49026737.js → label-ca671c36.js} +1 -1
  154. package/dist/cjs/{label-49026737.js.map → label-ca671c36.js.map} +1 -1
  155. package/dist/cjs/loader.cjs.js +1 -1
  156. package/dist/cjs/open-8046de45.js +4 -0
  157. package/dist/cjs/{open-475bf62b.js.map → open-8046de45.js.map} +1 -1
  158. package/dist/cjs/rows-1ed70802.js +4 -0
  159. package/dist/cjs/{rows-090c4a20.js.map → rows-1ed70802.js.map} +1 -1
  160. package/dist/cjs/{show-3c5fd3e1.js → show-360128fb.js} +1 -1
  161. package/dist/cjs/{show-3c5fd3e1.js.map → show-360128fb.js.map} +1 -1
  162. package/dist/cjs/spell-check-f0f480a5.js +4 -0
  163. package/dist/cjs/{spell-check-0b884388.js.map → spell-check-f0f480a5.js.map} +1 -1
  164. package/dist/cjs/{suggestions-bd1a6c00.js → suggestions-d245d6d2.js} +1 -1
  165. package/dist/cjs/{suggestions-bd1a6c00.js.map → suggestions-d245d6d2.js.map} +1 -1
  166. package/dist/cjs/{table-selection-441b2edb.js → table-selection-80c2e7a7.js} +1 -1
  167. package/dist/cjs/{table-selection-441b2edb.js.map → table-selection-80c2e7a7.js.map} +1 -1
  168. package/dist/cjs/test-component.cjs.entry.js +1 -1
  169. package/dist/cjs/tooltip-align-9c9e1e0a.js +4 -0
  170. package/dist/cjs/{tooltip-align-b9f6c389.js.map → tooltip-align-9c9e1e0a.js.map} +1 -1
  171. package/dist/cjs/{unique-nav-labels-32603a3d.js → unique-nav-labels-806a5b0d.js} +1 -1
  172. package/dist/cjs/{unique-nav-labels-32603a3d.js.map → unique-nav-labels-806a5b0d.js.map} +1 -1
  173. package/dist/cjs/{validation-ffd5fb05.js → validation-17ec37c6.js} +1 -1
  174. package/dist/cjs/{validation-ffd5fb05.js.map → validation-17ec37c6.js.map} +1 -1
  175. package/dist/cjs/validation-695b2787.js +4 -0
  176. package/dist/cjs/{validation-c9325cc4.js.map → validation-695b2787.js.map} +1 -1
  177. package/dist/components/access-and-short-key.js +1 -1
  178. package/dist/components/align.js +1 -1
  179. package/dist/components/associated.controller.js +1 -1
  180. package/dist/components/badge-text.js +1 -1
  181. package/dist/components/button-variant.js +1 -1
  182. package/dist/components/color.js +1 -1
  183. package/dist/components/controller2.js +1 -1
  184. package/dist/components/controller3.js +1 -1
  185. package/dist/components/controller4.js +1 -1
  186. package/dist/components/controller5.js +1 -1
  187. package/dist/components/custom-class.js +1 -1
  188. package/dist/components/debounce.js +1 -1
  189. package/dist/components/dev.utils.js +1 -1
  190. package/dist/components/devtools.js +1 -1
  191. package/dist/components/disabled.js +1 -1
  192. package/dist/components/has-closer.js +1 -1
  193. package/dist/components/hide-label.js +1 -1
  194. package/dist/components/href.js +1 -1
  195. package/dist/components/icons.js +1 -1
  196. package/dist/components/image-source.js +1 -1
  197. package/dist/components/index.js +1 -1
  198. package/dist/components/index2.js +1 -1
  199. package/dist/components/index2.js.map +1 -1
  200. package/dist/components/kol-accordion.js +1 -1
  201. package/dist/components/kol-alert-wc.js +1 -1
  202. package/dist/components/kol-badge.js +1 -1
  203. package/dist/components/kol-button-wc.js +1 -1
  204. package/dist/components/kol-button-wc.js.map +1 -1
  205. package/dist/components/kol-card.js +1 -1
  206. package/dist/components/kol-combobox.js +1 -1
  207. package/dist/components/kol-combobox.js.map +1 -1
  208. package/dist/components/kol-details.js +1 -1
  209. package/dist/components/kol-drawer.js +1 -1
  210. package/dist/components/kol-form.js +1 -1
  211. package/dist/components/kol-heading-wc.js +1 -1
  212. package/dist/components/kol-icon.js +1 -1
  213. package/dist/components/kol-image.js +1 -1
  214. package/dist/components/kol-input-checkbox.js +1 -1
  215. package/dist/components/kol-input-checkbox.js.map +1 -1
  216. package/dist/components/kol-input-color.js +1 -1
  217. package/dist/components/kol-input-color.js.map +1 -1
  218. package/dist/components/kol-input-date.js +1 -1
  219. package/dist/components/kol-input-date.js.map +1 -1
  220. package/dist/components/kol-input-email.js +1 -1
  221. package/dist/components/kol-input-email.js.map +1 -1
  222. package/dist/components/kol-input-file.js +1 -1
  223. package/dist/components/kol-input-file.js.map +1 -1
  224. package/dist/components/kol-input-number.js +1 -1
  225. package/dist/components/kol-input-number.js.map +1 -1
  226. package/dist/components/kol-input-password.js +1 -1
  227. package/dist/components/kol-input-password.js.map +1 -1
  228. package/dist/components/kol-input-radio.js +1 -1
  229. package/dist/components/kol-input-radio.js.map +1 -1
  230. package/dist/components/kol-input-range.js +1 -1
  231. package/dist/components/kol-input-range.js.map +1 -1
  232. package/dist/components/kol-input-text.js +1 -1
  233. package/dist/components/kol-input-text.js.map +1 -1
  234. package/dist/components/kol-input.js +1 -1
  235. package/dist/components/kol-kolibri.js +1 -1
  236. package/dist/components/kol-link-group.js +1 -1
  237. package/dist/components/kol-link-wc.js +1 -1
  238. package/dist/components/kol-link-wc.js.map +1 -1
  239. package/dist/components/kol-logo.js +1 -1
  240. package/dist/components/kol-modal.js +1 -1
  241. package/dist/components/kol-nav.js +1 -1
  242. package/dist/components/kol-pagination.js +1 -1
  243. package/dist/components/kol-popover-wc.js +1 -1
  244. package/dist/components/kol-progress.js +1 -1
  245. package/dist/components/kol-quote.js +1 -1
  246. package/dist/components/kol-select-wc.js +1 -1
  247. package/dist/components/kol-select-wc.js.map +1 -1
  248. package/dist/components/kol-single-select.js +1 -1
  249. package/dist/components/kol-single-select.js.map +1 -1
  250. package/dist/components/kol-span-wc.js +1 -1
  251. package/dist/components/kol-span-wc.js.map +1 -1
  252. package/dist/components/kol-spin.js +1 -1
  253. package/dist/components/kol-symbol.js +1 -1
  254. package/dist/components/kol-table-stateful.js +1 -1
  255. package/dist/components/kol-table-stateless-wc.js +1 -1
  256. package/dist/components/kol-tabs.js +1 -1
  257. package/dist/components/kol-textarea.js +1 -1
  258. package/dist/components/kol-textarea.js.map +1 -1
  259. package/dist/components/kol-toolbar.js +1 -1
  260. package/dist/components/kol-tooltip-wc.js +1 -1
  261. package/dist/components/kol-tree-item-wc.js +1 -1
  262. package/dist/components/label.js +1 -1
  263. package/dist/components/open.js +1 -1
  264. package/dist/components/show.js +1 -1
  265. package/dist/components/spell-check.js +1 -1
  266. package/dist/components/table-selection.js +1 -1
  267. package/dist/components/validation.js +1 -1
  268. package/dist/esm/{Alert-8613084c.js → Alert-5f79c535.js} +1 -1
  269. package/dist/esm/{Alert-8613084c.js.map → Alert-5f79c535.js.map} +1 -1
  270. package/dist/esm/{Collapsible-dcbcd73b.js → Collapsible-c9894891.js} +1 -1
  271. package/dist/esm/{Collapsible-dcbcd73b.js.map → Collapsible-c9894891.js.map} +1 -1
  272. package/dist/esm/{FormFieldMsg-bb7e3b6f.js → FormFieldMsg-2038b797.js} +1 -1
  273. package/dist/esm/{FormFieldMsg-bb7e3b6f.js.map → FormFieldMsg-2038b797.js.map} +1 -1
  274. package/dist/esm/InternalUnderlinedBadgeText-2851eb52.js +4 -0
  275. package/dist/esm/{InternalUnderlinedBadgeText-30ea8886.js.map → InternalUnderlinedBadgeText-2851eb52.js.map} +1 -1
  276. package/dist/esm/{access-and-short-key-914780a7.js → access-and-short-key-f4e18d87.js} +1 -1
  277. package/dist/esm/{access-and-short-key-914780a7.js.map → access-and-short-key-f4e18d87.js.map} +1 -1
  278. package/dist/esm/{align-f3101425.js → align-a1976178.js} +1 -1
  279. package/dist/esm/{align-f3101425.js.map → align-a1976178.js.map} +1 -1
  280. package/dist/esm/{align-floating-elements-9b9ebf60.js → align-floating-elements-7a0eec66.js} +1 -1
  281. package/dist/esm/{align-floating-elements-9b9ebf60.js.map → align-floating-elements-7a0eec66.js.map} +1 -1
  282. package/dist/esm/app-globals-37545715.js +4 -0
  283. package/dist/esm/{app-globals-0cf496bf.js.map → app-globals-37545715.js.map} +1 -1
  284. package/dist/esm/{associated.controller-d302adf7.js → associated.controller-b3473c2a.js} +1 -1
  285. package/dist/esm/{associated.controller-d302adf7.js.map → associated.controller-b3473c2a.js.map} +1 -1
  286. package/dist/esm/badge-text-3017b607.js +4 -0
  287. package/dist/esm/{badge-text-553534d4.js.map → badge-text-3017b607.js.map} +1 -1
  288. package/dist/esm/{button-variant-ebe4a1ea.js → button-variant-d82e6290.js} +1 -1
  289. package/dist/esm/{button-variant-ebe4a1ea.js.map → button-variant-d82e6290.js.map} +1 -1
  290. package/dist/esm/{color-48d7fdf1.js → color-b607f500.js} +1 -1
  291. package/dist/esm/{color-48d7fdf1.js.map → color-b607f500.js.map} +1 -1
  292. package/dist/esm/{controller-55f5b740.js → controller-06f2bcc0.js} +1 -1
  293. package/dist/esm/{controller-55f5b740.js.map → controller-06f2bcc0.js.map} +1 -1
  294. package/dist/esm/{controller-40a4c91a.js → controller-2b9feeea.js} +1 -1
  295. package/dist/esm/{controller-40a4c91a.js.map → controller-2b9feeea.js.map} +1 -1
  296. package/dist/esm/{controller-d474d10d.js → controller-3786e9f3.js} +1 -1
  297. package/dist/esm/{controller-d474d10d.js.map → controller-3786e9f3.js.map} +1 -1
  298. package/dist/esm/{controller-429d8db6.js → controller-8674d885.js} +1 -1
  299. package/dist/esm/{controller-429d8db6.js.map → controller-8674d885.js.map} +1 -1
  300. package/dist/esm/{controller-a9871d80.js → controller-fe4af011.js} +1 -1
  301. package/dist/esm/{controller-a9871d80.js.map → controller-fe4af011.js.map} +1 -1
  302. package/dist/esm/{controller-icon-c319fa44.js → controller-icon-1d76e1bd.js} +1 -1
  303. package/dist/esm/{controller-icon-c319fa44.js.map → controller-icon-1d76e1bd.js.map} +1 -1
  304. package/dist/esm/{custom-class-14f41251.js → custom-class-a04500e8.js} +1 -1
  305. package/dist/esm/{custom-class-14f41251.js.map → custom-class-a04500e8.js.map} +1 -1
  306. package/dist/esm/debounce-e75fb516.js +4 -0
  307. package/dist/esm/{debounce-3d5168e5.js.map → debounce-e75fb516.js.map} +1 -1
  308. package/dist/esm/{dev.utils-2b9fb207.js → dev.utils-ba19c8fa.js} +1 -1
  309. package/dist/esm/{dev.utils-2b9fb207.js.map → dev.utils-ba19c8fa.js.map} +1 -1
  310. package/dist/esm/{devtools-68de8de6.js → devtools-ab35e1a6.js} +1 -1
  311. package/dist/esm/{devtools-68de8de6.js.map → devtools-ab35e1a6.js.map} +1 -1
  312. package/dist/esm/disabled-956008c1.js +4 -0
  313. package/dist/esm/{disabled-26405bb8.js.map → disabled-956008c1.js.map} +1 -1
  314. package/dist/esm/has-closer-a8a4f5f3.js +4 -0
  315. package/dist/esm/{has-closer-602527ae.js.map → has-closer-a8a4f5f3.js.map} +1 -1
  316. package/dist/esm/{hide-label-0d754c8e.js → hide-label-a27a203c.js} +1 -1
  317. package/dist/esm/{hide-label-0d754c8e.js.map → hide-label-a27a203c.js.map} +1 -1
  318. package/dist/esm/href-bf07fbb8.js +4 -0
  319. package/dist/esm/{href-3ee53c2c.js.map → href-bf07fbb8.js.map} +1 -1
  320. package/dist/esm/i18n-43b7aa72.js +4 -0
  321. package/dist/esm/{i18n-c0cd260c.js.map → i18n-43b7aa72.js.map} +1 -1
  322. package/dist/esm/{icons-adcda9b0.js → icons-64d60d4b.js} +1 -1
  323. package/dist/esm/{icons-adcda9b0.js.map → icons-64d60d4b.js.map} +1 -1
  324. package/dist/esm/image-source-920b751b.js +4 -0
  325. package/dist/esm/{image-source-d9230e9b.js.map → image-source-920b751b.js.map} +1 -1
  326. package/dist/esm/index-682b2385.js +4 -0
  327. package/dist/esm/index-682b2385.js.map +1 -0
  328. package/dist/esm/{index-16ac6954.js → index-c60b639e.js} +1 -1
  329. package/dist/esm/{index-16ac6954.js.map → index-c60b639e.js.map} +1 -1
  330. package/dist/esm/index.js +1 -1
  331. package/dist/esm/kol-abbr.entry.js +1 -1
  332. package/dist/esm/kol-accordion.entry.js +1 -1
  333. package/dist/esm/kol-alert-wc.entry.js +1 -1
  334. package/dist/esm/kol-alert.entry.js +1 -1
  335. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  336. package/dist/esm/kol-avatar.entry.js +1 -1
  337. package/dist/esm/kol-badge.entry.js +1 -1
  338. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  339. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  340. package/dist/esm/kol-button-group.entry.js +1 -1
  341. package/dist/esm/kol-button-link.entry.js +1 -1
  342. package/dist/esm/kol-button-wc.entry.js +1 -1
  343. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  344. package/dist/esm/kol-button.entry.js +1 -1
  345. package/dist/esm/kol-card.entry.js +1 -1
  346. package/dist/esm/kol-combobox.entry.js +1 -1
  347. package/dist/esm/kol-combobox.entry.js.map +1 -1
  348. package/dist/esm/kol-details.entry.js +1 -1
  349. package/dist/esm/kol-drawer.entry.js +1 -1
  350. package/dist/esm/kol-form.entry.js +1 -1
  351. package/dist/esm/kol-heading-wc.entry.js +1 -1
  352. package/dist/esm/kol-heading.entry.js +1 -1
  353. package/dist/esm/kol-icon.entry.js +1 -1
  354. package/dist/esm/kol-image.entry.js +1 -1
  355. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  356. package/dist/esm/kol-indented-text.entry.js +1 -1
  357. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  358. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  359. package/dist/esm/kol-input-color.entry.js +1 -1
  360. package/dist/esm/kol-input-color.entry.js.map +1 -1
  361. package/dist/esm/kol-input-date.entry.js +1 -1
  362. package/dist/esm/kol-input-date.entry.js.map +1 -1
  363. package/dist/esm/kol-input-email.entry.js +1 -1
  364. package/dist/esm/kol-input-email.entry.js.map +1 -1
  365. package/dist/esm/kol-input-file.entry.js +1 -1
  366. package/dist/esm/kol-input-file.entry.js.map +1 -1
  367. package/dist/esm/kol-input-number.entry.js +1 -1
  368. package/dist/esm/kol-input-number.entry.js.map +1 -1
  369. package/dist/esm/kol-input-password.entry.js +1 -1
  370. package/dist/esm/kol-input-password.entry.js.map +1 -1
  371. package/dist/esm/kol-input-radio.entry.js +1 -1
  372. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  373. package/dist/esm/kol-input-range.entry.js +1 -1
  374. package/dist/esm/kol-input-range.entry.js.map +1 -1
  375. package/dist/esm/kol-input-text.entry.js +1 -1
  376. package/dist/esm/kol-input-text.entry.js.map +1 -1
  377. package/dist/esm/kol-input.entry.js +1 -1
  378. package/dist/esm/kol-kolibri.entry.js +1 -1
  379. package/dist/esm/kol-link-button.entry.js +1 -1
  380. package/dist/esm/kol-link-group.entry.js +1 -1
  381. package/dist/esm/kol-link-wc.entry.js +1 -1
  382. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  383. package/dist/esm/kol-link.entry.js +1 -1
  384. package/dist/esm/kol-logo.entry.js +1 -1
  385. package/dist/esm/kol-modal.entry.js +1 -1
  386. package/dist/esm/kol-nav.entry.js +1 -1
  387. package/dist/esm/kol-pagination.entry.js +1 -1
  388. package/dist/esm/kol-popover-button.entry.js +1 -1
  389. package/dist/esm/kol-popover-wc.entry.js +1 -1
  390. package/dist/esm/kol-progress.entry.js +1 -1
  391. package/dist/esm/kol-quote.entry.js +1 -1
  392. package/dist/esm/kol-select-wc.entry.js +1 -1
  393. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  394. package/dist/esm/kol-select.entry.js +1 -1
  395. package/dist/esm/kol-single-select.entry.js +1 -1
  396. package/dist/esm/kol-single-select.entry.js.map +1 -1
  397. package/dist/esm/kol-skip-nav.entry.js +1 -1
  398. package/dist/esm/kol-span-wc.entry.js +1 -1
  399. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  400. package/dist/esm/kol-spin.entry.js +1 -1
  401. package/dist/esm/kol-split-button.entry.js +1 -1
  402. package/dist/esm/kol-symbol.entry.js +1 -1
  403. package/dist/esm/kol-table-stateful.entry.js +1 -1
  404. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  405. package/dist/esm/kol-table-stateless.entry.js +1 -1
  406. package/dist/esm/kol-table.entry.js +1 -1
  407. package/dist/esm/kol-tabs.entry.js +1 -1
  408. package/dist/esm/kol-textarea.entry.js +1 -1
  409. package/dist/esm/kol-textarea.entry.js.map +1 -1
  410. package/dist/esm/kol-toast-container.entry.js +1 -1
  411. package/dist/esm/kol-toolbar.entry.js +1 -1
  412. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  413. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  414. package/dist/esm/kol-tree-item.entry.js +1 -1
  415. package/dist/esm/kol-tree-wc.entry.js +1 -1
  416. package/dist/esm/kol-tree.entry.js +1 -1
  417. package/dist/esm/kol-version.entry.js +1 -1
  418. package/dist/esm/kolibri.js +1 -1
  419. package/dist/esm/{label-7d1ce375.js → label-3757689e.js} +1 -1
  420. package/dist/esm/{label-7d1ce375.js.map → label-3757689e.js.map} +1 -1
  421. package/dist/esm/loader.js +1 -1
  422. package/dist/esm/{open-74ada92d.js → open-6a9969be.js} +1 -1
  423. package/dist/esm/{open-74ada92d.js.map → open-6a9969be.js.map} +1 -1
  424. package/dist/esm/rows-e8effb11.js +4 -0
  425. package/dist/esm/{rows-8ed50d64.js.map → rows-e8effb11.js.map} +1 -1
  426. package/dist/esm/show-316a9860.js +4 -0
  427. package/dist/esm/{show-bfd36a90.js.map → show-316a9860.js.map} +1 -1
  428. package/dist/esm/{spell-check-82b14d35.js → spell-check-c5b9fa1d.js} +1 -1
  429. package/dist/esm/{spell-check-82b14d35.js.map → spell-check-c5b9fa1d.js.map} +1 -1
  430. package/dist/esm/{suggestions-506c439a.js → suggestions-3eb8d0d4.js} +1 -1
  431. package/dist/esm/{suggestions-506c439a.js.map → suggestions-3eb8d0d4.js.map} +1 -1
  432. package/dist/esm/{table-selection-0290d830.js → table-selection-990198ae.js} +1 -1
  433. package/dist/esm/{table-selection-0290d830.js.map → table-selection-990198ae.js.map} +1 -1
  434. package/dist/esm/test-component.entry.js +1 -1
  435. package/dist/esm/tooltip-align-184e92e1.js +4 -0
  436. package/dist/esm/{tooltip-align-6964dd71.js.map → tooltip-align-184e92e1.js.map} +1 -1
  437. package/dist/esm/{unique-nav-labels-4be6182a.js → unique-nav-labels-62f5fdbc.js} +1 -1
  438. package/dist/esm/{unique-nav-labels-4be6182a.js.map → unique-nav-labels-62f5fdbc.js.map} +1 -1
  439. package/dist/esm/validation-2296a919.js +4 -0
  440. package/dist/esm/{validation-7170ea32.js.map → validation-2296a919.js.map} +1 -1
  441. package/dist/esm/{validation-b34ff01a.js → validation-4dfd3138.js} +1 -1
  442. package/dist/esm/{validation-b34ff01a.js.map → validation-4dfd3138.js.map} +1 -1
  443. package/dist/kolibri/Alert-5f79c535.js +4 -0
  444. package/dist/kolibri/{Alert-8613084c.js.map → Alert-5f79c535.js.map} +1 -1
  445. package/dist/kolibri/{Collapsible-dcbcd73b.js → Collapsible-c9894891.js} +1 -1
  446. package/dist/kolibri/{FormFieldMsg-bb7e3b6f.js → FormFieldMsg-2038b797.js} +1 -1
  447. package/dist/kolibri/InternalUnderlinedBadgeText-2851eb52.js +4 -0
  448. package/dist/kolibri/access-and-short-key-f4e18d87.js +4 -0
  449. package/dist/kolibri/align-a1976178.js +4 -0
  450. package/dist/kolibri/{align-floating-elements-9b9ebf60.js → align-floating-elements-7a0eec66.js} +1 -1
  451. package/dist/kolibri/app-globals-37545715.js +4 -0
  452. package/dist/kolibri/{associated.controller-d302adf7.js → associated.controller-b3473c2a.js} +1 -1
  453. package/dist/kolibri/badge-text-3017b607.js +4 -0
  454. package/dist/kolibri/button-variant-d82e6290.js +4 -0
  455. package/dist/kolibri/{color-48d7fdf1.js → color-b607f500.js} +1 -1
  456. package/dist/kolibri/{controller-55f5b740.js → controller-06f2bcc0.js} +1 -1
  457. package/dist/kolibri/{controller-40a4c91a.js → controller-2b9feeea.js} +1 -1
  458. package/dist/kolibri/{controller-d474d10d.js → controller-3786e9f3.js} +1 -1
  459. package/dist/kolibri/{controller-429d8db6.js → controller-8674d885.js} +1 -1
  460. package/dist/kolibri/controller-fe4af011.js +4 -0
  461. package/dist/kolibri/{controller-a9871d80.js.map → controller-fe4af011.js.map} +1 -1
  462. package/dist/kolibri/{controller-icon-c319fa44.js → controller-icon-1d76e1bd.js} +1 -1
  463. package/dist/kolibri/custom-class-a04500e8.js +4 -0
  464. package/dist/kolibri/{debounce-3d5168e5.js → debounce-e75fb516.js} +1 -1
  465. package/dist/kolibri/{dev.utils-2b9fb207.js → dev.utils-ba19c8fa.js} +1 -1
  466. package/dist/kolibri/{devtools-68de8de6.js → devtools-ab35e1a6.js} +1 -1
  467. package/dist/kolibri/disabled-956008c1.js +4 -0
  468. package/dist/kolibri/has-closer-a8a4f5f3.js +4 -0
  469. package/dist/kolibri/hide-label-a27a203c.js +4 -0
  470. package/dist/kolibri/href-bf07fbb8.js +4 -0
  471. package/dist/kolibri/i18n-43b7aa72.js +4 -0
  472. package/dist/kolibri/icons-64d60d4b.js +4 -0
  473. package/dist/kolibri/image-source-920b751b.js +4 -0
  474. package/dist/kolibri/index-682b2385.js +4 -0
  475. package/dist/kolibri/index-682b2385.js.map +1 -0
  476. package/dist/kolibri/{index-16ac6954.js → index-c60b639e.js} +1 -1
  477. package/dist/kolibri/{index-16ac6954.js.map → index-c60b639e.js.map} +1 -1
  478. package/dist/kolibri/index.esm.js +1 -1
  479. package/dist/kolibri/kol-abbr.entry.js +1 -1
  480. package/dist/kolibri/kol-accordion.entry.js +1 -1
  481. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  482. package/dist/kolibri/kol-alert.entry.js +1 -1
  483. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  484. package/dist/kolibri/kol-avatar.entry.js +1 -1
  485. package/dist/kolibri/kol-badge.entry.js +1 -1
  486. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  487. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  488. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  489. package/dist/kolibri/kol-button-group.entry.js +1 -1
  490. package/dist/kolibri/kol-button-link.entry.js +1 -1
  491. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  492. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  493. package/dist/kolibri/kol-button.entry.js +1 -1
  494. package/dist/kolibri/kol-card.entry.js +1 -1
  495. package/dist/kolibri/kol-combobox.entry.js +1 -1
  496. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  497. package/dist/kolibri/kol-details.entry.js +1 -1
  498. package/dist/kolibri/kol-drawer.entry.js +1 -1
  499. package/dist/kolibri/kol-form.entry.js +1 -1
  500. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  501. package/dist/kolibri/kol-heading.entry.js +1 -1
  502. package/dist/kolibri/kol-icon.entry.js +1 -1
  503. package/dist/kolibri/kol-image.entry.js +1 -1
  504. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  505. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  506. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  507. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  508. package/dist/kolibri/kol-input-color.entry.js +1 -1
  509. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  510. package/dist/kolibri/kol-input-date.entry.js +1 -1
  511. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  512. package/dist/kolibri/kol-input-email.entry.js +1 -1
  513. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  514. package/dist/kolibri/kol-input-file.entry.js +1 -1
  515. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  516. package/dist/kolibri/kol-input-number.entry.js +1 -1
  517. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  518. package/dist/kolibri/kol-input-password.entry.js +1 -1
  519. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  520. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  521. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  522. package/dist/kolibri/kol-input-range.entry.js +1 -1
  523. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  524. package/dist/kolibri/kol-input-text.entry.js +1 -1
  525. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  526. package/dist/kolibri/kol-input.entry.js +1 -1
  527. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  528. package/dist/kolibri/kol-link-button.entry.js +1 -1
  529. package/dist/kolibri/kol-link-group.entry.js +1 -1
  530. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  531. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  532. package/dist/kolibri/kol-link.entry.js +1 -1
  533. package/dist/kolibri/kol-logo.entry.js +1 -1
  534. package/dist/kolibri/kol-modal.entry.js +1 -1
  535. package/dist/kolibri/kol-nav.entry.js +1 -1
  536. package/dist/kolibri/kol-pagination.entry.js +1 -1
  537. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  538. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  539. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  540. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  541. package/dist/kolibri/kol-progress.entry.js +1 -1
  542. package/dist/kolibri/kol-quote.entry.js +1 -1
  543. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  544. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  545. package/dist/kolibri/kol-select.entry.js +1 -1
  546. package/dist/kolibri/kol-single-select.entry.js +1 -1
  547. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  548. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  549. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  550. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  551. package/dist/kolibri/kol-spin.entry.js +1 -1
  552. package/dist/kolibri/kol-split-button.entry.js +1 -1
  553. package/dist/kolibri/kol-symbol.entry.js +1 -1
  554. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  555. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  556. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  557. package/dist/kolibri/kol-table.entry.js +1 -1
  558. package/dist/kolibri/kol-tabs.entry.js +1 -1
  559. package/dist/kolibri/kol-textarea.entry.js +1 -1
  560. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  561. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  562. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  563. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  564. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  565. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  566. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  567. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  568. package/dist/kolibri/kol-tree.entry.js +1 -1
  569. package/dist/kolibri/kol-version.entry.js +1 -1
  570. package/dist/kolibri/kolibri.esm.js +1 -1
  571. package/dist/kolibri/{label-7d1ce375.js → label-3757689e.js} +1 -1
  572. package/dist/kolibri/open-6a9969be.js +4 -0
  573. package/dist/kolibri/rows-e8effb11.js +4 -0
  574. package/dist/kolibri/show-316a9860.js +4 -0
  575. package/dist/kolibri/spell-check-c5b9fa1d.js +4 -0
  576. package/dist/kolibri/{suggestions-506c439a.js → suggestions-3eb8d0d4.js} +1 -1
  577. package/dist/kolibri/table-selection-990198ae.js +4 -0
  578. package/dist/kolibri/test-component.entry.js +1 -1
  579. package/dist/kolibri/tooltip-align-184e92e1.js +4 -0
  580. package/dist/kolibri/{unique-nav-labels-4be6182a.js → unique-nav-labels-62f5fdbc.js} +1 -1
  581. package/dist/kolibri/validation-2296a919.js +4 -0
  582. package/dist/kolibri/validation-4dfd3138.js +4 -0
  583. package/dist/kolibri/{validation-b34ff01a.js.map → validation-4dfd3138.js.map} +1 -1
  584. package/package.json +4 -4
  585. package/dist/cjs/app-globals-b9bb3792.js +0 -4
  586. package/dist/cjs/badge-text-36c453e4.js +0 -4
  587. package/dist/cjs/custom-class-65e2f9b5.js +0 -4
  588. package/dist/cjs/debounce-80a7f9a5.js +0 -4
  589. package/dist/cjs/has-closer-98eb7947.js +0 -4
  590. package/dist/cjs/href-41bacd9e.js +0 -4
  591. package/dist/cjs/index-397ed1bf.js +0 -4
  592. package/dist/cjs/index-397ed1bf.js.map +0 -1
  593. package/dist/cjs/open-475bf62b.js +0 -4
  594. package/dist/cjs/rows-090c4a20.js +0 -4
  595. package/dist/cjs/spell-check-0b884388.js +0 -4
  596. package/dist/cjs/tooltip-align-b9f6c389.js +0 -4
  597. package/dist/cjs/validation-c9325cc4.js +0 -4
  598. package/dist/esm/InternalUnderlinedBadgeText-30ea8886.js +0 -4
  599. package/dist/esm/app-globals-0cf496bf.js +0 -4
  600. package/dist/esm/badge-text-553534d4.js +0 -4
  601. package/dist/esm/debounce-3d5168e5.js +0 -4
  602. package/dist/esm/disabled-26405bb8.js +0 -4
  603. package/dist/esm/has-closer-602527ae.js +0 -4
  604. package/dist/esm/href-3ee53c2c.js +0 -4
  605. package/dist/esm/i18n-c0cd260c.js +0 -4
  606. package/dist/esm/image-source-d9230e9b.js +0 -4
  607. package/dist/esm/index-7a63e9eb.js +0 -4
  608. package/dist/esm/index-7a63e9eb.js.map +0 -1
  609. package/dist/esm/rows-8ed50d64.js +0 -4
  610. package/dist/esm/show-bfd36a90.js +0 -4
  611. package/dist/esm/tooltip-align-6964dd71.js +0 -4
  612. package/dist/esm/validation-7170ea32.js +0 -4
  613. package/dist/kolibri/Alert-8613084c.js +0 -4
  614. package/dist/kolibri/InternalUnderlinedBadgeText-30ea8886.js +0 -4
  615. package/dist/kolibri/access-and-short-key-914780a7.js +0 -4
  616. package/dist/kolibri/align-f3101425.js +0 -4
  617. package/dist/kolibri/app-globals-0cf496bf.js +0 -4
  618. package/dist/kolibri/badge-text-553534d4.js +0 -4
  619. package/dist/kolibri/button-variant-ebe4a1ea.js +0 -4
  620. package/dist/kolibri/controller-a9871d80.js +0 -4
  621. package/dist/kolibri/custom-class-14f41251.js +0 -4
  622. package/dist/kolibri/disabled-26405bb8.js +0 -4
  623. package/dist/kolibri/has-closer-602527ae.js +0 -4
  624. package/dist/kolibri/hide-label-0d754c8e.js +0 -4
  625. package/dist/kolibri/href-3ee53c2c.js +0 -4
  626. package/dist/kolibri/i18n-c0cd260c.js +0 -4
  627. package/dist/kolibri/icons-adcda9b0.js +0 -4
  628. package/dist/kolibri/image-source-d9230e9b.js +0 -4
  629. package/dist/kolibri/index-7a63e9eb.js +0 -4
  630. package/dist/kolibri/index-7a63e9eb.js.map +0 -1
  631. package/dist/kolibri/open-74ada92d.js +0 -4
  632. package/dist/kolibri/rows-8ed50d64.js +0 -4
  633. package/dist/kolibri/show-bfd36a90.js +0 -4
  634. package/dist/kolibri/spell-check-82b14d35.js +0 -4
  635. package/dist/kolibri/table-selection-0290d830.js +0 -4
  636. package/dist/kolibri/tooltip-align-6964dd71.js +0 -4
  637. package/dist/kolibri/validation-7170ea32.js +0 -4
  638. package/dist/kolibri/validation-b34ff01a.js +0 -4
  639. /package/dist/kolibri/{Collapsible-dcbcd73b.js.map → Collapsible-c9894891.js.map} +0 -0
  640. /package/dist/kolibri/{FormFieldMsg-bb7e3b6f.js.map → FormFieldMsg-2038b797.js.map} +0 -0
  641. /package/dist/kolibri/{InternalUnderlinedBadgeText-30ea8886.js.map → InternalUnderlinedBadgeText-2851eb52.js.map} +0 -0
  642. /package/dist/kolibri/{access-and-short-key-914780a7.js.map → access-and-short-key-f4e18d87.js.map} +0 -0
  643. /package/dist/kolibri/{align-f3101425.js.map → align-a1976178.js.map} +0 -0
  644. /package/dist/kolibri/{align-floating-elements-9b9ebf60.js.map → align-floating-elements-7a0eec66.js.map} +0 -0
  645. /package/dist/kolibri/{app-globals-0cf496bf.js.map → app-globals-37545715.js.map} +0 -0
  646. /package/dist/kolibri/{associated.controller-d302adf7.js.map → associated.controller-b3473c2a.js.map} +0 -0
  647. /package/dist/kolibri/{badge-text-553534d4.js.map → badge-text-3017b607.js.map} +0 -0
  648. /package/dist/kolibri/{button-variant-ebe4a1ea.js.map → button-variant-d82e6290.js.map} +0 -0
  649. /package/dist/kolibri/{color-48d7fdf1.js.map → color-b607f500.js.map} +0 -0
  650. /package/dist/kolibri/{controller-55f5b740.js.map → controller-06f2bcc0.js.map} +0 -0
  651. /package/dist/kolibri/{controller-40a4c91a.js.map → controller-2b9feeea.js.map} +0 -0
  652. /package/dist/kolibri/{controller-d474d10d.js.map → controller-3786e9f3.js.map} +0 -0
  653. /package/dist/kolibri/{controller-429d8db6.js.map → controller-8674d885.js.map} +0 -0
  654. /package/dist/kolibri/{controller-icon-c319fa44.js.map → controller-icon-1d76e1bd.js.map} +0 -0
  655. /package/dist/kolibri/{custom-class-14f41251.js.map → custom-class-a04500e8.js.map} +0 -0
  656. /package/dist/kolibri/{debounce-3d5168e5.js.map → debounce-e75fb516.js.map} +0 -0
  657. /package/dist/kolibri/{dev.utils-2b9fb207.js.map → dev.utils-ba19c8fa.js.map} +0 -0
  658. /package/dist/kolibri/{devtools-68de8de6.js.map → devtools-ab35e1a6.js.map} +0 -0
  659. /package/dist/kolibri/{disabled-26405bb8.js.map → disabled-956008c1.js.map} +0 -0
  660. /package/dist/kolibri/{has-closer-602527ae.js.map → has-closer-a8a4f5f3.js.map} +0 -0
  661. /package/dist/kolibri/{hide-label-0d754c8e.js.map → hide-label-a27a203c.js.map} +0 -0
  662. /package/dist/kolibri/{href-3ee53c2c.js.map → href-bf07fbb8.js.map} +0 -0
  663. /package/dist/kolibri/{i18n-c0cd260c.js.map → i18n-43b7aa72.js.map} +0 -0
  664. /package/dist/kolibri/{icons-adcda9b0.js.map → icons-64d60d4b.js.map} +0 -0
  665. /package/dist/kolibri/{image-source-d9230e9b.js.map → image-source-920b751b.js.map} +0 -0
  666. /package/dist/kolibri/{label-7d1ce375.js.map → label-3757689e.js.map} +0 -0
  667. /package/dist/kolibri/{open-74ada92d.js.map → open-6a9969be.js.map} +0 -0
  668. /package/dist/kolibri/{rows-8ed50d64.js.map → rows-e8effb11.js.map} +0 -0
  669. /package/dist/kolibri/{show-bfd36a90.js.map → show-316a9860.js.map} +0 -0
  670. /package/dist/kolibri/{spell-check-82b14d35.js.map → spell-check-c5b9fa1d.js.map} +0 -0
  671. /package/dist/kolibri/{suggestions-506c439a.js.map → suggestions-3eb8d0d4.js.map} +0 -0
  672. /package/dist/kolibri/{table-selection-0290d830.js.map → table-selection-990198ae.js.map} +0 -0
  673. /package/dist/kolibri/{tooltip-align-6964dd71.js.map → tooltip-align-184e92e1.js.map} +0 -0
  674. /package/dist/kolibri/{unique-nav-labels-4be6182a.js.map → unique-nav-labels-62f5fdbc.js.map} +0 -0
  675. /package/dist/kolibri/{validation-7170ea32.js.map → validation-2296a919.js.map} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{e as t}from"./index-682b2385.js";const o=(e,o,s)=>{t(e,o,t=>"string"==typeof t&&n.includes(t),new Set(n),s,{defaultValue:"top"})},s=["left","right"],e=["top","bottom"],n=[...s,...e],a=(t,e)=>{o(t,"_align",e)};export{a,o as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as t}from"./index-7a63e9eb.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1]),[]),s=Math.min,c=Math.max,r=Math.round,i=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(t,e,n){return c(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}const w=new Set(["top","bottom"]);function g(t){return w.has(m(t))?"y":"x"}function x(t){return h(g(t))}function v(t,e,n){void 0===n&&(n=!1);const o=p(t),i=x(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=D(l)),[l,D(l)]}function b(t){const e=D(t);return[A(t),e,A(e)]}function A(t){return t.replace(/start|end/g,t=>f[t])}const S=["left","right"],O=["right","left"],R=["top","bottom"],k=["bottom","top"];function F(t,e,n){switch(t){case"top":case"bottom":return n?e?O:S:e?S:O;case"left":case"right":return e?R:k;default:return[]}}function C(t,e,n,o){const i=p(t);let r=F(m(t),"start"===n,o);return i&&(r=r.map(t=>t+"-"+i),e&&(r=r.concat(r.map(A)))),r}function D(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function P(t){return{top:0,right:0,bottom:0,left:0,...t}}function $(t){return"number"!=typeof t?P(t):{top:t,right:t,bottom:t,left:t}}function T(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function E(t,e,n){let{reference:o,floating:i}=t;const r=g(e),l=x(e),s=y(l),c=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let h;switch(c){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}async function M(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:s,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=$(h),g=s[m?"floating"===u?"reference":"floating":u],y=T(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(s.floating)),boundary:a,rootBoundary:f,strategy:c})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(s.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=T(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:c}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const z=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,s=r.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=E(a,o,c),d=o,m={},h=0;for(let n=0;n<s.length;n++){var p;const{name:r,fn:g}=s[n],{x:y,y:w,data:x,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:{...l,detectOverflow:null!=(p=l.detectOverflow)?p:M},elements:{reference:t,floating:e}});f=null!=y?y:f,u=null!=w?w:u,m={...m,[r]:{...m[r],...x}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(a=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:u}=E(a,d,c))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}},B=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=$(m),g={x:n,y:o},w=x(i),v=y(w),b=await l.getDimensions(f),R="y"===w,A=R?"top":"left",T=R?"bottom":"right",O=R?"clientHeight":"clientWidth",L=r.reference[v]+r.reference[w]-g[w]-r.floating[v],E=g[w]-r.reference[w],D=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=D?D[O]:0;C&&await(null==l.isElement?void 0:l.isElement(D))||(C=c.floating[O]||r.floating[v]);const S=L/2-E/2,P=C/2-b[v]/2-1,F=s(h[A],P),H=s(h[T],P),W=F,k=C-b[v]-H,B=C/2-b[v]/2+S,M=u(W,B,k),V=!a.arrow&&null!=p(i)&&B!==M&&r.reference[v]/2-(B<W?F:H)-b[v]/2<0,z=V?B<W?B-W:B-k:0;return{[w]:g[w]+z,data:{[w]:M,centerOffset:B-M-z,...V&&{alignmentOffset:z}},reset:V}}});function H(t,e,n){const o=t?[...n.filter(e=>p(e)===t),...n.filter(e=>p(e)!==t)]:n.filter(t=>m(t)===t);return o.filter(n=>!t||(p(n)===t||!!e&&A(n)!==n))}const j=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:s,placement:c,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),x=void 0!==h||g===o?H(h||null,y,g):g,b=await a.detectOverflow(e,w),R=(null==(n=s.autoPlacement)?void 0:n.index)||0,A=x[R];if(null==A)return{};const T=v(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(c!==A)return{reset:{placement:x[0]}};const O=[b[m(A)],b[T[0]],b[T[1]]],L=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:O}],E=x[R+1];if(E)return{data:{index:R+1,overflows:L},reset:{placement:E}};const D=L.map(t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),C=D.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0)),S=(null==(r=C[0])?void 0:r[0])||D[0][0];return S!==c?{data:{index:R+1,overflows:L},reset:{placement:S}}:{}}}},L=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:s,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...x}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const R=m(i),A=g(s),T=m(s)===s,O=await(null==c.isRTL?void 0:c.isRTL(a.floating)),L=h||(T||!w?[D(s)]:b(s)),E="none"!==y;!h&&E&&L.push(...C(s,w,y,O));const S=[s,...L],P=await c.detectOverflow(e,x),F=[];let H=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&F.push(P[R]),u){const t=v(i,l,O);F.push(P[t[0]],P[t[1]])}if(H=[...H,{placement:i,overflows:F}],!F.every(t=>t<=0)){var W,k;const t=((null==(W=r.flip)?void 0:W.index)||0)+1,e=S[t];if(e){if(!("alignment"===u&&A!==g(e))||H.every(t=>g(t.placement)!==A||t.overflows[0]>0))return{data:{index:t,overflows:H},reset:{placement:e}}}let n=null==(k=H.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:k.placement;if(!n)switch(p){case"bestFit":{var B;const t=null==(B=H.filter(t=>{if(E){const e=g(t.placement);return e===A||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:B[0];t&&(n=t);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function I(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function N(t){return n.some(e=>t[e]>=0)}const q=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:i="referenceHidden",...r}=d(t,e);switch(i){case"referenceHidden":{const t=I(await o.detectOverflow(e,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:N(t)}}}case"escaped":{const t=I(await o.detectOverflow(e,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:N(t)}}}default:return{}}}}};function W(t){const e=s(...t.map(t=>t.left)),n=s(...t.map(t=>t.top));return{x:e,y:n,width:c(...t.map(t=>t.right))-e,height:c(...t.map(t=>t.bottom))-n}}function V(t){const e=t.slice().sort((t,e)=>t.y-e.y),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map(t=>T(W(t)))}const X=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:i,platform:r,strategy:l}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(o.reference))||[]),p=V(h),y=T(W(h)),w=$(a);const x=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find(t=>f>t.left-w.left&&f<t.right+w.right&&u>t.top-w.top&&u<t.bottom+w.bottom)||y;if(p.length>=2){if("y"===g(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,s=o?t.right:e.right;return{top:i,bottom:r,left:l,right:s,width:s-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=c(...p.map(t=>t.right)),o=s(...p.map(t=>t.left)),i=p.filter(n=>t?n.left===o:n.right===e),r=i[0].top,l=i[i.length-1].bottom;return{top:r,bottom:l,left:o,right:e,width:e-o,height:l-r,x:o,y:r}}return y}},floating:o.floating,strategy:l});return i.reference.x!==x.reference.x||i.reference.y!==x.reference.y||i.reference.width!==x.reference.width||i.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},Y=new Set(["left","top"]);async function _(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),s=p(n),c="y"===g(n),a=Y.has(l)?-1:1,f=r&&c?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:y,alignmentAxis:w}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof w&&(y="end"===s?-1*w:w),c?{x:y*f,y:h*a}:{x:h*a,y:y*f}}const G=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:s}=e,c=await _(e,t);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:l}}}}},J=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:r}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=d(t,e),f={x:n,y:o},p=await r.detectOverflow(e,a),y=g(m(i)),w=h(y);let x=f[w],v=f[y];if(l){const t="y"===w?"bottom":"right";x=u(x+p["y"===w?"top":"left"],x,x-p[t])}if(s){const t="y"===y?"bottom":"right";v=u(v+p["y"===y?"top":"left"],v,v-p[t])}const b=c.fn({...e,[w]:x,[y]:v});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[w]:l,[y]:s}}}}}},K=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:s=0,mainAxis:c=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=g(i),p=h(u);let y=f[p],w=f[u];const x=d(s,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;y<e?y=e:y>n&&(y=n)}if(a){var b,R;const t="y"===p?"width":"height",e=Y.has(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);w<n?w=n:w>o&&(w=o)}return{[p]:y,[u]:w}}}},Q=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:l,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await l.detectOverflow(e,u),y=m(i),w=p(i),x="y"===g(i),{width:v,height:b}=r.floating;let R,A;"top"===y||"bottom"===y?(R=y,A=w===(await(null==l.isRTL?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(A=y,R="end"===w?"top":"bottom");const T=b-h.top-h.bottom,O=v-h.left-h.right,L=s(b-h[R],T),E=s(v-h[A],O),D=!e.middlewareData.shift;let C=L,S=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(S=O),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=T),D&&!w){const t=c(h.left,0),e=c(h.right,0),n=c(h.top,0),o=c(h.bottom,0);x?S=v-2*(0!==t||0!==e?t+e:c(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:c(h.top,h.bottom))}await f({...e,availableWidth:S,availableHeight:C});const P=await l.getDimensions(a.floating);return v!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}};function U(){return"undefined"!=typeof window}function Z(t){return et(t)?(t.nodeName||"").toLowerCase():"#document"}function tt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function nt(t){var e;return null==(e=(et(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function et(t){return!!U()&&(t instanceof Node||t instanceof tt(t).Node)}function ot(t){return!!U()&&(t instanceof Element||t instanceof tt(t).Element)}function st(t){return!!U()&&(t instanceof HTMLElement||t instanceof tt(t).HTMLElement)}function ct(t){return!(!U()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof tt(t).ShadowRoot)}const rt=new Set(["inline","contents"]);function it(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!rt.has(i)}const lt=new Set(["table","td","th"]);function at(t){return lt.has(Z(t))}const ft=[":popover-open",":modal"];function ut(t){return ft.some(e=>{try{return t.matches(e)}catch(t){return!1}})}const dt=["transform","translate","scale","rotate","perspective"],mt=["transform","translate","scale","rotate","perspective","filter"],pt=["paint","layout","strict","content"];function ht(t){const e=wt(),n=ot(t)?vt(t):t;return dt.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||mt.some(t=>(n.willChange||"").includes(t))||pt.some(t=>(n.contain||"").includes(t))}function yt(t){let e=At(t);for(;st(e)&&!xt(e);){if(ht(e))return e;if(ut(e))return null;e=At(e)}return null}function wt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const gt=new Set(["html","body","#document"]);function xt(t){return gt.has(Z(t))}function vt(t){return tt(t).getComputedStyle(t)}function bt(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function At(t){if("html"===Z(t))return t;const e=t.assignedSlot||t.parentNode||ct(t)&&t.host||nt(t);return ct(e)?e.host:e}function St(t){const e=At(t);return xt(e)?t.ownerDocument?t.ownerDocument.body:t.body:st(e)&&it(e)?e:St(e)}function Ot(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=St(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=tt(i);if(r){const t=Rt(l);return e.concat(l,l.visualViewport||[],it(i)?i:[],t&&n?Ot(t):[])}return e.concat(i,Ot(i,[],n))}function Rt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kt(t){const e=vt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=st(t),l=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=r(n)!==l||r(o)!==s;return c&&(n=l,o=s),{width:n,height:o,$:c}}function Ft(t){return ot(t)?t:t.contextElement}function Ct(t){const e=Ft(t);if(!st(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=kt(e);let c=(s?r(n.width):n.width)/o,a=(s?r(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),a&&Number.isFinite(a)||(a=1),{x:c,y:a}}const Dt=l(0);function Pt(t){const e=tt(t);return wt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Dt}function $t(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==tt(t))&&e}function Tt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=Ft(t);let s=l(1);e&&(o?ot(o)&&(s=Ct(o)):s=Ct(t));const c=$t(r,n,o)?Pt(r):l(0);let a=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(r){const t=tt(r),e=o&&ot(o)?tt(o):o;let n=t,i=Rt(n);for(;i&&o&&e!==n;){const t=Ct(i),e=i.getBoundingClientRect(),o=vt(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=tt(i),i=Rt(n)}}return T({width:u,height:d,x:a,y:f})}function Et(t,e){const n=bt(t).scrollLeft;return e?e.left+n:Tt(nt(t)).left+n}function Mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-Et(t,n),y:n.top+e.scrollTop}}function zt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=nt(o),c=!!e&&ut(e.floating);if(o===s||c&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=st(o);if((d||!d&&!r)&&(("body"!==Z(o)||it(s))&&(a=bt(o)),st(o))){const t=Tt(o);f=Ct(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!s||d||r?l(0):Mt(s,a);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Bt(t){return Array.from(t.getClientRects())}function Ht(t){const e=nt(t),n=bt(t),o=t.ownerDocument.body,i=c(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=c(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Et(t);const s=-n.scrollTop;return"rtl"===vt(o).direction&&(l+=c(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}const jt=25;function Lt(t,e){const n=tt(t),o=nt(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,c=0;if(i){r=i.width,l=i.height;const t=wt();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}const a=Et(o);if(a<=0){const t=o.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(o.clientWidth-e.clientWidth-i);l<=25&&(r-=l)}else a<=25&&(r+=a);return{width:r,height:l,x:s,y:c}}const It=new Set(["absolute","fixed"]);function Nt(t,e){const n=Tt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=st(t)?Ct(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function qt(t,e,n){let o;if("viewport"===e)o=Lt(t,n);else if("document"===e)o=Ht(nt(t));else if(ot(e))o=Nt(e,n);else{const n=Pt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return T(o)}function Wt(t,e){const n=At(t);return!(n===e||!ot(n)||xt(n))&&("fixed"===vt(n).position||Wt(n,e))}function Vt(t,e){const n=e.get(t);if(n)return n;let o=Ot(t,[],!1).filter(t=>ot(t)&&"body"!==Z(t)),i=null;const r="fixed"===vt(t).position;let l=r?At(t):t;for(;ot(l)&&!xt(l);){const e=vt(l),n=ht(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&It.has(i.position)||it(l)&&!n&&Wt(t,l))?o=o.filter(t=>t!==l):i=e,l=At(l)}return e.set(t,o),o}function Xt(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[..."clippingAncestors"===n?ut(e)?[]:Vt(e,this._c):[].concat(n),o],l=r[0],a=r.reduce((t,n)=>{const o=qt(e,n,i);return t.top=c(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=c(o.left,t.left),t},qt(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Yt(t){const{width:e,height:n}=kt(t);return{width:e,height:n}}function _t(t,e,n){const o=st(e),i=nt(e),r="fixed"===n,s=Tt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=Et(i)}if(o||!o&&!r)if(("body"!==Z(e)||it(i))&&(c=bt(e)),o){const t=Tt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):Mt(i,c);return{x:s.left+c.scrollLeft-a.x-u.x,y:s.top+c.scrollTop-a.y-u.y,width:s.width,height:s.height}}function Gt(t){return"static"===vt(t).position}function Jt(t,e){if(!st(t)||"fixed"===vt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return nt(t)===n&&(n=n.ownerDocument.body),n}function Kt(t,e){const n=tt(t);if(ut(t))return n;if(!st(t)){let e=At(t);for(;e&&!xt(e);){if(ot(e)&&!Gt(e))return e;e=At(e)}return n}let o=Jt(t,e);for(;o&&at(o)&&Gt(o);)o=Jt(o,e);return o&&xt(o)&&Gt(o)&&!ht(o)?n:o||yt(t)||n}const Qt=async function(t){const e=this.getOffsetParent||Kt,n=this.getDimensions,o=await n(t.floating);return{reference:_t(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ut(t){return"rtl"===vt(t).direction}const Zt={convertOffsetParentRelativeRectToViewportRelativeRect:zt,getDocumentElement:nt,getClippingRect:Xt,getOffsetParent:Kt,getElementRects:Qt,getClientRects:Bt,getDimensions:Yt,getScale:Ct,isElement:ot,isRTL:Ut};function tn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function nn(t,e){let n,o=null;const r=nt(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-i(h)+"px "+-i(r.clientWidth-(m+p))+"px "+-i(r.clientHeight-(h+g))+"px "+-i(m)+"px",threshold:c(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||tn(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function en(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,a=Ft(t),f=i||r?[...a?Ot(a):[],...Ot(e)]:[];f.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)});const u=a&&s?nn(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver(t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var t;null==(t=h)||t.observe(e)})),n()}),a&&!c&&h.observe(a),h.observe(e));let p=c?Tt(t):null;return c&&function e(){const o=Tt(t);p&&!tn(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach(t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)}),null==u||u(),null==(t=h)||t.disconnect(),h=null,c&&cancelAnimationFrame(d)}}const on=G,sn=J,cn=L,rn=B,ln=(t,e,n)=>{const o=new Map,i={platform:Zt,...n},r={...i.platform,_c:o};return z(t,e,{...i,platform:r})},an=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,s;if("test"!==t){const t=[on(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),cn(),sn()];o&&t.push(rn({element:o}));const{x:c,y:a,middlewareData:f,placement:u}=await ln(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${c}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(s=f.arrow)||void 0===s?void 0:s.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{an as a,en as b};
4
+ import{p as t}from"./index-682b2385.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1]),[]),s=Math.min,c=Math.max,r=Math.round,i=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(t,e,n){return c(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}const w=new Set(["top","bottom"]);function g(t){return w.has(m(t))?"y":"x"}function x(t){return h(g(t))}function v(t,e,n){void 0===n&&(n=!1);const o=p(t),i=x(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=D(l)),[l,D(l)]}function b(t){const e=D(t);return[A(t),e,A(e)]}function A(t){return t.replace(/start|end/g,t=>f[t])}const S=["left","right"],O=["right","left"],R=["top","bottom"],k=["bottom","top"];function F(t,e,n){switch(t){case"top":case"bottom":return n?e?O:S:e?S:O;case"left":case"right":return e?R:k;default:return[]}}function C(t,e,n,o){const i=p(t);let r=F(m(t),"start"===n,o);return i&&(r=r.map(t=>t+"-"+i),e&&(r=r.concat(r.map(A)))),r}function D(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function P(t){return{top:0,right:0,bottom:0,left:0,...t}}function $(t){return"number"!=typeof t?P(t):{top:t,right:t,bottom:t,left:t}}function T(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function E(t,e,n){let{reference:o,floating:i}=t;const r=g(e),l=x(e),s=y(l),c=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let h;switch(c){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}async function M(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:s,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=$(h),g=s[m?"floating"===u?"reference":"floating":u],y=T(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(s.floating)),boundary:a,rootBoundary:f,strategy:c})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(s.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=T(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:x,strategy:c}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const z=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,s=r.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=E(a,o,c),d=o,m={},h=0;for(let n=0;n<s.length;n++){var p;const{name:r,fn:g}=s[n],{x:y,y:w,data:x,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:{...l,detectOverflow:null!=(p=l.detectOverflow)?p:M},elements:{reference:t,floating:e}});f=null!=y?y:f,u=null!=w?w:u,m={...m,[r]:{...m[r],...x}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(a=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:u}=E(a,d,c))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}},B=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=$(m),g={x:n,y:o},w=x(i),v=y(w),b=await l.getDimensions(f),R="y"===w,A=R?"top":"left",T=R?"bottom":"right",O=R?"clientHeight":"clientWidth",L=r.reference[v]+r.reference[w]-g[w]-r.floating[v],E=g[w]-r.reference[w],D=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=D?D[O]:0;C&&await(null==l.isElement?void 0:l.isElement(D))||(C=c.floating[O]||r.floating[v]);const S=L/2-E/2,P=C/2-b[v]/2-1,F=s(h[A],P),H=s(h[T],P),W=F,k=C-b[v]-H,B=C/2-b[v]/2+S,M=u(W,B,k),V=!a.arrow&&null!=p(i)&&B!==M&&r.reference[v]/2-(B<W?F:H)-b[v]/2<0,z=V?B<W?B-W:B-k:0;return{[w]:g[w]+z,data:{[w]:M,centerOffset:B-M-z,...V&&{alignmentOffset:z}},reset:V}}});function H(t,e,n){const o=t?[...n.filter(e=>p(e)===t),...n.filter(e=>p(e)!==t)]:n.filter(t=>m(t)===t);return o.filter(n=>!t||(p(n)===t||!!e&&A(n)!==n))}const j=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:s,placement:c,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),x=void 0!==h||g===o?H(h||null,y,g):g,b=await a.detectOverflow(e,w),R=(null==(n=s.autoPlacement)?void 0:n.index)||0,A=x[R];if(null==A)return{};const T=v(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(c!==A)return{reset:{placement:x[0]}};const O=[b[m(A)],b[T[0]],b[T[1]]],L=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:O}],E=x[R+1];if(E)return{data:{index:R+1,overflows:L},reset:{placement:E}};const D=L.map(t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),C=D.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0)),S=(null==(r=C[0])?void 0:r[0])||D[0][0];return S!==c?{data:{index:R+1,overflows:L},reset:{placement:S}}:{}}}},L=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:s,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...x}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const R=m(i),A=g(s),T=m(s)===s,O=await(null==c.isRTL?void 0:c.isRTL(a.floating)),L=h||(T||!w?[D(s)]:b(s)),E="none"!==y;!h&&E&&L.push(...C(s,w,y,O));const S=[s,...L],P=await c.detectOverflow(e,x),F=[];let H=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&F.push(P[R]),u){const t=v(i,l,O);F.push(P[t[0]],P[t[1]])}if(H=[...H,{placement:i,overflows:F}],!F.every(t=>t<=0)){var W,k;const t=((null==(W=r.flip)?void 0:W.index)||0)+1,e=S[t];if(e){if(!("alignment"===u&&A!==g(e))||H.every(t=>g(t.placement)!==A||t.overflows[0]>0))return{data:{index:t,overflows:H},reset:{placement:e}}}let n=null==(k=H.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:k.placement;if(!n)switch(p){case"bestFit":{var B;const t=null==(B=H.filter(t=>{if(E){const e=g(t.placement);return e===A||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:B[0];t&&(n=t);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function I(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function N(t){return n.some(e=>t[e]>=0)}const q=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:i="referenceHidden",...r}=d(t,e);switch(i){case"referenceHidden":{const t=I(await o.detectOverflow(e,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:N(t)}}}case"escaped":{const t=I(await o.detectOverflow(e,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:N(t)}}}default:return{}}}}};function W(t){const e=s(...t.map(t=>t.left)),n=s(...t.map(t=>t.top));return{x:e,y:n,width:c(...t.map(t=>t.right))-e,height:c(...t.map(t=>t.bottom))-n}}function V(t){const e=t.slice().sort((t,e)=>t.y-e.y),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map(t=>T(W(t)))}const X=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:i,platform:r,strategy:l}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(o.reference))||[]),p=V(h),y=T(W(h)),w=$(a);const x=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find(t=>f>t.left-w.left&&f<t.right+w.right&&u>t.top-w.top&&u<t.bottom+w.bottom)||y;if(p.length>=2){if("y"===g(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,s=o?t.right:e.right;return{top:i,bottom:r,left:l,right:s,width:s-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=c(...p.map(t=>t.right)),o=s(...p.map(t=>t.left)),i=p.filter(n=>t?n.left===o:n.right===e),r=i[0].top,l=i[i.length-1].bottom;return{top:r,bottom:l,left:o,right:e,width:e-o,height:l-r,x:o,y:r}}return y}},floating:o.floating,strategy:l});return i.reference.x!==x.reference.x||i.reference.y!==x.reference.y||i.reference.width!==x.reference.width||i.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},Y=new Set(["left","top"]);async function _(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),s=p(n),c="y"===g(n),a=Y.has(l)?-1:1,f=r&&c?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:y,alignmentAxis:w}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof w&&(y="end"===s?-1*w:w),c?{x:y*f,y:h*a}:{x:h*a,y:y*f}}const G=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:s}=e,c=await _(e,t);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:l}}}}},J=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:r}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=d(t,e),f={x:n,y:o},p=await r.detectOverflow(e,a),y=g(m(i)),w=h(y);let x=f[w],v=f[y];if(l){const t="y"===w?"bottom":"right";x=u(x+p["y"===w?"top":"left"],x,x-p[t])}if(s){const t="y"===y?"bottom":"right";v=u(v+p["y"===y?"top":"left"],v,v-p[t])}const b=c.fn({...e,[w]:x,[y]:v});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[w]:l,[y]:s}}}}}},K=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:s=0,mainAxis:c=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=g(i),p=h(u);let y=f[p],w=f[u];const x=d(s,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;y<e?y=e:y>n&&(y=n)}if(a){var b,R;const t="y"===p?"width":"height",e=Y.has(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);w<n?w=n:w>o&&(w=o)}return{[p]:y,[u]:w}}}},Q=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:l,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await l.detectOverflow(e,u),y=m(i),w=p(i),x="y"===g(i),{width:v,height:b}=r.floating;let R,A;"top"===y||"bottom"===y?(R=y,A=w===(await(null==l.isRTL?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(A=y,R="end"===w?"top":"bottom");const T=b-h.top-h.bottom,O=v-h.left-h.right,L=s(b-h[R],T),E=s(v-h[A],O),D=!e.middlewareData.shift;let C=L,S=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(S=O),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=T),D&&!w){const t=c(h.left,0),e=c(h.right,0),n=c(h.top,0),o=c(h.bottom,0);x?S=v-2*(0!==t||0!==e?t+e:c(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:c(h.top,h.bottom))}await f({...e,availableWidth:S,availableHeight:C});const P=await l.getDimensions(a.floating);return v!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}};function U(){return"undefined"!=typeof window}function Z(t){return et(t)?(t.nodeName||"").toLowerCase():"#document"}function tt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function nt(t){var e;return null==(e=(et(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function et(t){return!!U()&&(t instanceof Node||t instanceof tt(t).Node)}function ot(t){return!!U()&&(t instanceof Element||t instanceof tt(t).Element)}function st(t){return!!U()&&(t instanceof HTMLElement||t instanceof tt(t).HTMLElement)}function ct(t){return!(!U()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof tt(t).ShadowRoot)}const rt=new Set(["inline","contents"]);function it(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!rt.has(i)}const lt=new Set(["table","td","th"]);function at(t){return lt.has(Z(t))}const ft=[":popover-open",":modal"];function ut(t){return ft.some(e=>{try{return t.matches(e)}catch(t){return!1}})}const dt=["transform","translate","scale","rotate","perspective"],mt=["transform","translate","scale","rotate","perspective","filter"],pt=["paint","layout","strict","content"];function ht(t){const e=wt(),n=ot(t)?vt(t):t;return dt.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||mt.some(t=>(n.willChange||"").includes(t))||pt.some(t=>(n.contain||"").includes(t))}function yt(t){let e=At(t);for(;st(e)&&!xt(e);){if(ht(e))return e;if(ut(e))return null;e=At(e)}return null}function wt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const gt=new Set(["html","body","#document"]);function xt(t){return gt.has(Z(t))}function vt(t){return tt(t).getComputedStyle(t)}function bt(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function At(t){if("html"===Z(t))return t;const e=t.assignedSlot||t.parentNode||ct(t)&&t.host||nt(t);return ct(e)?e.host:e}function St(t){const e=At(t);return xt(e)?t.ownerDocument?t.ownerDocument.body:t.body:st(e)&&it(e)?e:St(e)}function Ot(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=St(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=tt(i);if(r){const t=Rt(l);return e.concat(l,l.visualViewport||[],it(i)?i:[],t&&n?Ot(t):[])}return e.concat(i,Ot(i,[],n))}function Rt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kt(t){const e=vt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=st(t),l=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=r(n)!==l||r(o)!==s;return c&&(n=l,o=s),{width:n,height:o,$:c}}function Ft(t){return ot(t)?t:t.contextElement}function Ct(t){const e=Ft(t);if(!st(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=kt(e);let c=(s?r(n.width):n.width)/o,a=(s?r(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),a&&Number.isFinite(a)||(a=1),{x:c,y:a}}const Dt=l(0);function Pt(t){const e=tt(t);return wt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Dt}function $t(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==tt(t))&&e}function Tt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=Ft(t);let s=l(1);e&&(o?ot(o)&&(s=Ct(o)):s=Ct(t));const c=$t(r,n,o)?Pt(r):l(0);let a=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(r){const t=tt(r),e=o&&ot(o)?tt(o):o;let n=t,i=Rt(n);for(;i&&o&&e!==n;){const t=Ct(i),e=i.getBoundingClientRect(),o=vt(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=tt(i),i=Rt(n)}}return T({width:u,height:d,x:a,y:f})}function Et(t,e){const n=bt(t).scrollLeft;return e?e.left+n:Tt(nt(t)).left+n}function Mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-Et(t,n),y:n.top+e.scrollTop}}function zt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=nt(o),c=!!e&&ut(e.floating);if(o===s||c&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=st(o);if((d||!d&&!r)&&(("body"!==Z(o)||it(s))&&(a=bt(o)),st(o))){const t=Tt(o);f=Ct(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!s||d||r?l(0):Mt(s,a);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Bt(t){return Array.from(t.getClientRects())}function Ht(t){const e=nt(t),n=bt(t),o=t.ownerDocument.body,i=c(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=c(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Et(t);const s=-n.scrollTop;return"rtl"===vt(o).direction&&(l+=c(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}const jt=25;function Lt(t,e){const n=tt(t),o=nt(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,c=0;if(i){r=i.width,l=i.height;const t=wt();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}const a=Et(o);if(a<=0){const t=o.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(o.clientWidth-e.clientWidth-i);l<=25&&(r-=l)}else a<=25&&(r+=a);return{width:r,height:l,x:s,y:c}}const It=new Set(["absolute","fixed"]);function Nt(t,e){const n=Tt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=st(t)?Ct(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function qt(t,e,n){let o;if("viewport"===e)o=Lt(t,n);else if("document"===e)o=Ht(nt(t));else if(ot(e))o=Nt(e,n);else{const n=Pt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return T(o)}function Wt(t,e){const n=At(t);return!(n===e||!ot(n)||xt(n))&&("fixed"===vt(n).position||Wt(n,e))}function Vt(t,e){const n=e.get(t);if(n)return n;let o=Ot(t,[],!1).filter(t=>ot(t)&&"body"!==Z(t)),i=null;const r="fixed"===vt(t).position;let l=r?At(t):t;for(;ot(l)&&!xt(l);){const e=vt(l),n=ht(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&It.has(i.position)||it(l)&&!n&&Wt(t,l))?o=o.filter(t=>t!==l):i=e,l=At(l)}return e.set(t,o),o}function Xt(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[..."clippingAncestors"===n?ut(e)?[]:Vt(e,this._c):[].concat(n),o],l=r[0],a=r.reduce((t,n)=>{const o=qt(e,n,i);return t.top=c(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=c(o.left,t.left),t},qt(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Yt(t){const{width:e,height:n}=kt(t);return{width:e,height:n}}function _t(t,e,n){const o=st(e),i=nt(e),r="fixed"===n,s=Tt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=Et(i)}if(o||!o&&!r)if(("body"!==Z(e)||it(i))&&(c=bt(e)),o){const t=Tt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):Mt(i,c);return{x:s.left+c.scrollLeft-a.x-u.x,y:s.top+c.scrollTop-a.y-u.y,width:s.width,height:s.height}}function Gt(t){return"static"===vt(t).position}function Jt(t,e){if(!st(t)||"fixed"===vt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return nt(t)===n&&(n=n.ownerDocument.body),n}function Kt(t,e){const n=tt(t);if(ut(t))return n;if(!st(t)){let e=At(t);for(;e&&!xt(e);){if(ot(e)&&!Gt(e))return e;e=At(e)}return n}let o=Jt(t,e);for(;o&&at(o)&&Gt(o);)o=Jt(o,e);return o&&xt(o)&&Gt(o)&&!ht(o)?n:o||yt(t)||n}const Qt=async function(t){const e=this.getOffsetParent||Kt,n=this.getDimensions,o=await n(t.floating);return{reference:_t(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ut(t){return"rtl"===vt(t).direction}const Zt={convertOffsetParentRelativeRectToViewportRelativeRect:zt,getDocumentElement:nt,getClippingRect:Xt,getOffsetParent:Kt,getElementRects:Qt,getClientRects:Bt,getDimensions:Yt,getScale:Ct,isElement:ot,isRTL:Ut};function tn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function nn(t,e){let n,o=null;const r=nt(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-i(h)+"px "+-i(r.clientWidth-(m+p))+"px "+-i(r.clientHeight-(h+g))+"px "+-i(m)+"px",threshold:c(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||tn(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function en(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,a=Ft(t),f=i||r?[...a?Ot(a):[],...Ot(e)]:[];f.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)});const u=a&&s?nn(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver(t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var t;null==(t=h)||t.observe(e)})),n()}),a&&!c&&h.observe(a),h.observe(e));let p=c?Tt(t):null;return c&&function e(){const o=Tt(t);p&&!tn(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach(t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)}),null==u||u(),null==(t=h)||t.disconnect(),h=null,c&&cancelAnimationFrame(d)}}const on=G,sn=J,cn=L,rn=B,ln=(t,e,n)=>{const o=new Map,i={platform:Zt,...n},r={...i.platform,_c:o};return z(t,e,{...i,platform:r})},an=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,s;if("test"!==t){const t=[on(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),cn(),sn()];o&&t.push(rn({element:o}));const{x:c,y:a,middlewareData:f,placement:u}=await ln(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${c}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(s=f.arrow)||void 0===s?void 0:s.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{an as a,en as b};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{L as o,h as t,w as e}from"./index-682b2385.js";import{a}from"./index-c60b639e.js";a(o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,e(o))}catch(o){}return"default"}),import("./devtools-ab35e1a6.js").then(o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()}).catch(t=>{o.error(t)});const s=()=>{},n=s;export{n as g};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{y as t,E as e,C as i,G as s}from"./index-7a63e9eb.js";const o=(e,i,s)=>{t(e,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,s,o){var r,n,l;if(this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&t._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach(t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)}),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach(t=>{i.removeChild(t)}),Array.isArray(t)&&t.forEach(t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}});break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
4
+ import{y as t,E as e,C as i,G as s}from"./index-682b2385.js";const o=(e,i,s)=>{t(e,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,s,o){var r,n,l;if(this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&t._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach(t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)}),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach(t=>{i.removeChild(t)}),Array.isArray(t)&&t.forEach(t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}});break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as e}from"./index-682b2385.js";const o=(o,s)=>{e(o,"_badgeText",s)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{e as t,y as a,k as e}from"./index-682b2385.js";const n=["tab","treeitem"],o=(a,e)=>{t(a,"_role",t=>"string"==typeof t&&n.includes(t),new Set([`KoliBriAlternativeButtonLinkRole {${n.join(", ")}`]),e)},r=(t,e)=>{a(t,"_ariaDescription",e)},s=(t,a)=>{e(t,"_ariaExpanded",a)},i=["primary","secondary","normal","tertiary","danger","ghost","custom"],c=(a,e)=>{t(a,"_variant",t=>"string"==typeof t&&i.includes(t),new Set([`KoliBriButtonVariant {${i.join(", ")}`]),e,{defaultValue:"normal"})};export{s as a,o as b,c,r as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as e,q as r,w as a,L as t,f as n}from"./index-7a63e9eb.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=l,o=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),i[e])o=i[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=r[1],u="rgb"===l;a=n=l.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)}),l===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map(function(e){return parseFloat(e)}),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var g=o,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},p=new Map,y=(e,r,a,o=1)=>{if(p.has(e))return p.get(e);const t=h(e,r,a,o);return p.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=f(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=f(r.background),t="string"==typeof r.foreground?f(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",$,new Set(["rgb in hex","ColorPair"]),r,o)},I=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":{const e=o.value;let t="";"string"==typeof e.foregroundColor?t=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(t=e.foregroundColor.primary),t&&"string"==typeof t||(t="#fff"),a=b({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&n(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{f as c,I as h,q as v};
4
+ import{r as e,q as r,e as a,L as t,f as n}from"./index-682b2385.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=l,o=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),i[e])o=i[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=r[1],u="rgb"===l;a=n=l.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)}),l===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map(function(e){return parseFloat(e)}),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var g=o,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},p=new Map,y=(e,r,a,o=1)=>{if(p.has(e))return p.get(e);const t=h(e,r,a,o);return p.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=f(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=f(r.background),t="string"==typeof r.foreground?f(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",$,new Set(["rgb in hex","ColorPair"]),r,o)},I=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":{const e=o.value;let t="";"string"==typeof e.foregroundColor?t=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(t=e.foregroundColor.primary),t&&"string"==typeof t||(t="#fff"),a=b({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&n(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{f as c,I as h,q as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{f as t,v as s,i as e,j as i,w as a,m as r}from"./index-7a63e9eb.js";import{I as o}from"./controller-a9871d80.js";import{b as n,c as f}from"./label-7d1ce375.js";const l=e=>{if("object"==typeof e&&null!==e){if("string"==typeof e.label&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===n(e.label,3)&&!1===f(e.label)&&t(`A differing Aria-Label (${e.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||void 0===e.options.find(t=>!1===l(t));if("number"==typeof e.label)return!0}return!1},h=(t,o,a={})=>{s(t,"_options",t=>e(t)&&"string"==typeof t.label&&t.label.length>0,o,void 0,a)},c=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},u=(t,e)=>{i(t,"_required",e)},d=["horizontal","vertical"],p=(t,e,o="")=>{e.forEach((e,a)=>{const i=`${o}-${a}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?p(t,e.options,i):t.set(i,e))})};class b extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class y extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,a)=>{"_value"===a&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),p(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",t=>"string"==typeof t&&d.includes(t),new Set([`Orientation {${d.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){h(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{b as I,y as a,h as b,p as f,c as v};
4
+ import{f as t,v as s,i as e,k as i,e as a,n as r}from"./index-682b2385.js";import{I as o}from"./controller-fe4af011.js";import{b as n,c as f}from"./label-3757689e.js";const l=e=>{if("object"==typeof e&&null!==e){if("string"==typeof e.label&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===n(e.label,3)&&!1===f(e.label)&&t(`A differing Aria-Label (${e.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||void 0===e.options.find(t=>!1===l(t));if("number"==typeof e.label)return!0}return!1},h=(t,o,i={})=>{s(t,"_options",t=>e(t)&&"string"==typeof t.label&&t.label.length>0,o,void 0,i)},c=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},u=(t,e)=>{i(t,"_required",e)},p=["horizontal","vertical"],d=(t,e,o="")=>{e.forEach((e,i)=>{const a=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?d(t,e.options,a):t.set(a,e))})};class b extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class y extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,i)=>{"_value"===i&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),d(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",t=>"string"==typeof t&&p.includes(t),new Set([`Orientation {${p.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){h(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{b as I,y as a,h as b,d as f,c as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as s}from"./index-7a63e9eb.js";import{I as t}from"./controller-429d8db6.js";import{v as e}from"./spell-check-82b14d35.js";import{v as i}from"./suggestions-506c439a.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",t=>"string"==typeof t&&o.includes(t),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
4
+ import{e as s}from"./index-682b2385.js";import{I as t}from"./controller-8674d885.js";import{v as e}from"./spell-check-c5b9fa1d.js";import{v as i}from"./suggestions-3eb8d0d4.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",t=>"string"==typeof t&&o.includes(t),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{D as e,a as o,E as t,C as n,L as i}from"./index-7a63e9eb.js";import{m as s}from"./component-names-ad1568d0.js";const f=e=>{for(t()&&(n("↓ Search form element start."),i.debug(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&e.tagName!==s.toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch(e){}t()&&(i.debug(e),n("↑ Search form element finished."))}return e},a=(t={})=>{var n,a;const i=f(t.form);if(i instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)e(t,i),i.dispatchEvent(t);else if(i.tagName===s.toUpperCase()){e(t,o.querySelector("form",i));const s=i;"function"==typeof(null===(n=s._on)||void 0===n?void 0:n.onReset)&&(null===(a=s._on)||void 0===a||a.onReset(t))}}},l=(a={})=>{const i=f(a.form);if(i instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:i});if("FORM"===i.tagName)t()&&!1===i.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout(()=>{"function"==typeof i.requestSubmit?i.requestSubmit():(e(a,i),i.dispatchEvent(a))});else if(i.tagName===s.toUpperCase()){e(a,o.querySelector("form",i));const t=i;setTimeout(()=>{var e,o;"function"==typeof(null===(e=t._on)||void 0===e?void 0:e.onSubmit)&&(null===(o=t._on)||void 0===o||o.onSubmit(a))})}}};export{a,l as p};
4
+ import{D as e,a as o,E as t,C as n,L as i}from"./index-682b2385.js";import{m as s}from"./component-names-ad1568d0.js";const f=e=>{for(t()&&(n("↓ Search form element start."),i.debug(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&e.tagName!==s.toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch(e){}t()&&(i.debug(e),n("↑ Search form element finished."))}return e},a=(t={})=>{var n,a;const i=f(t.form);if(i instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)e(t,i),i.dispatchEvent(t);else if(i.tagName===s.toUpperCase()){e(t,o.querySelector("form",i));const s=i;"function"==typeof(null===(n=s._on)||void 0===n?void 0:n.onReset)&&(null===(a=s._on)||void 0===a||a.onReset(t))}}},l=(a={})=>{const i=f(a.form);if(i instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:i});if("FORM"===i.tagName)t()&&!1===i.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout(()=>{"function"==typeof i.requestSubmit?i.requestSubmit():(e(a,i),i.dispatchEvent(a))});else if(i.tagName===s.toUpperCase()){e(a,o.querySelector("form",i));const t=i;setTimeout(()=>{var e,o;"function"==typeof(null===(e=t._on)||void 0===e?void 0:e.onSubmit)&&(null===(o=t._on)||void 0===o||o.onSubmit(a))})}}};export{a,l as p};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as t,F as i,y as s,j as e,m as a}from"./index-7a63e9eb.js";import{I as h}from"./controller-icon-c319fa44.js";import{d as o,v as r}from"./debounce-3d5168e5.js";const n=["default","visibility-toggle"],l=(e,o)=>{t(e,"_variant",t=>"string"==typeof t&&n.includes(t),new Set(n),o)};class d extends h{constructor(t,e,n){super(t,e,n),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&(this.component.state._currentLength=this.component._value.length,this.component.state._currentLengthDebounced=this.component._value.length)},this.updateCurrentLengthDebounced=o(t=>{a(this.component,"_currentLengthDebounced",t)},500),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",t=>"string"==typeof t&&("on"===t||"off"===t),new Set(["on | off"]),e)}validateHasCounter(t){r(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){l(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){e(this.component,"_readOnly",t)}validateRequired(t){e(this.component,"_required",t)}validateValue(t){s(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{d as I};
4
+ import{e as t,F as i,y as s,k as e,n as a}from"./index-682b2385.js";import{I as h}from"./controller-icon-1d76e1bd.js";import{d as o,v as r}from"./debounce-e75fb516.js";const n=["default","visibility-toggle"],l=(e,o)=>{t(e,"_variant",t=>"string"==typeof t&&n.includes(t),new Set(n),o)};class d extends h{constructor(t,e,n){super(t,e,n),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&(this.component.state._currentLength=this.component._value.length,this.component.state._currentLengthDebounced=this.component._value.length)},this.updateCurrentLengthDebounced=o(t=>{a(this.component,"_currentLengthDebounced",t)},500),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",t=>"string"==typeof t&&("on"===t||"off"===t),new Set(["on | off"]),e)}validateHasCounter(t){r(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){l(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){e(this.component,"_readOnly",t)}validateRequired(t){e(this.component,"_required",t)}validateValue(t){s(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{d as I};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{k as t,o as i,m as s,e,i as o,l as h,f as r,y as a,C as n,n as l}from"./index-682b2385.js";import{s as d,t as u}from"./events-29e84d75.js";import{A as c}from"./associated.controller-b3473c2a.js";import{v as f,a as v,b as p,c as y}from"./access-and-short-key-f4e18d87.js";import{v as m}from"./hide-label-a27a203c.js";import{a as b}from"./label-3757689e.js";import{v as g}from"./tooltip-align-184e92e1.js";const _=(o,e)=>{t(o,"_adjustHeight",e)},j=(o,e,n)=>{t(o,"_hideError",e,n)},k=(t,n)=>{i(n,()=>{try{n=s(n)}catch(t){}e(t,"_msg",t=>o(t)&&"string"==typeof(null==t?void 0:t._description),new Set(["MsgPropType"]),n,{defaultValue:{_description:"",_type:"error"}})})},x=(o,e)=>{t(o,"_touched",e)},B=t=>{var o,e,n;const i=Boolean(t._msg&&t._msg._description&&(null===(o=t._msg._description)||void 0===o?void 0:o.length)>0),s=null!==(n=null===(e=t._msg)||void 0===e?void 0:e._type)&&void 0!==n?n:"default",a="string"==typeof t._hint&&t._hint.length>0,h=[];if(!i)return!0===a&&h.push(`${t._id}-hint`),t._hasCounter&&h.push(`${t._id}-counter`),{hasError:!1,hasHint:a,ariaDescribedBy:h};const r="error"!==s||!0===t._touched,c=r&&"error"===s;return r&&h.push(`${t._id}-error`),!0===a&&h.push(`${t._id}-hint`),t._hasCounter&&h.push(`${t._id}-counter`),{hasError:c,hasHint:a,ariaDescribedBy:h}};class E extends c{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class H extends E{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){f(this.component,t),v(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&r("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&r("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){a(this.component,"_hint",t)}validateId(t){a(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||n("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){b(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&l(this.component,"_on",t)}validateShortKey(t){p(this.component,t),v(this.component._accessKey,t)}validateSmartButton(t){i(t,()=>{try{t=s(t)}catch(t){}l(this.component,"_smartButton",t)})}validateTabIndex(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),v(this.component._accessKey,this.component._shortKey)}onBlur(t){var o;this.component._touched=!0,d(t),u("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t,o){var e;o=null!=o?o:t.target.value,u("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach(t=>t(o))}onInput(t,o=!0,e){var n;e=null!=e?e:t.target.value,d(t),u("input",this.host,e),o&&this.setFormAssociatedValue(e),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onInput)&&this.component._on.onInput(t,e)}onClick(t){var o;d(t),u("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;d(t),u("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{H as I,B as g};
@@ -1 +1 @@
1
- {"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideError","options","validateMsg","objectObjectHandler","parseJson","e","watchValidator","isObject","_description","Set","defaultValue","_type","validateTouched","getRenderStates","state","hasValidMsg","Boolean","_msg","_a","length","msgType","_c","_b","hasHint","_hint","ariaDescribedBy","push","_id","_hasCounter","hasError","showMsg","_touched","ControlledInputController","AssociatedInputController","constructor","name","host","super","this","validateAlert","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","validateAccessAndShortKey","_shortKey","validateDisabled","a11yHintDisabled","validateTooltipAlign","validateError","undefined","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","watchString","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","required","validateOn","setState","validateShortKey","_accessKey","validateSmartButton","validateTabIndex","_adjustHeight","_error","_disabled","_label","_smartButton","_on","_tabIndex","event","stopPropagation","tryToDispatchKoliBriEvent","target","forEach","listener","shouldSetFormAssociatedValue","setFormAssociatedValue","addValueChangeListener"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-error.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideErrorPropType = boolean;\n\n/**\n * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideError = {\n\thideError: HideErrorPropType;\n};\n\n/* validator */\nexport const validateHideError = (component: Generic.Element.Component, value?: HideErrorPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideError', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n\t_hasCounter?: boolean;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasValidMsg = Boolean(state._msg && state._msg._description && state._msg._description?.length > 0);\n\tconst msgType = state._msg?._type ?? 'default';\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\n\t// Wenn keine Message vorhanden ist, keine field-error ID hinzufügen\n\tif (!hasValidMsg) {\n\t\tif (hasHint === true) {\n\t\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t\t}\n\n\t\tif (state._hasCounter) {\n\t\t\tariaDescribedBy.push(`${state._id}-counter`);\n\t\t}\n\n\t\treturn { hasError: false, hasHint, ariaDescribedBy };\n\t}\n\n\t// Für error-Messages: nur anzeigen wenn touched === true\n\t// Für alle anderen Messages (info, warning, success, default): immer anzeigen\n\tconst showMsg = msgType === 'error' ? state._touched === true : true;\n\tconst hasError = showMsg && msgType === 'error';\n\n\tif (showMsg) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\n\tif (state._hasCounter) {\n\t\tariaDescribedBy.push(`${state._id}-counter`);\n\t}\n\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this.component, '_alert', value);\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAlert(this.component._alert);\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideErrorPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n\tvalidateShortKey,\n} from '../../../schema';\n\nimport { stopPropagation, tryToDispatchKoliBriEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\tthis.validateMsg({\n\t\t\t\t_description: value,\n\t\t\t\t_type: 'error',\n\t\t\t});\n\t\t} else {\n\t\t\tthis.validateMsg(undefined);\n\t\t}\n\t}\n\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tvalidateHideError(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideError) {\n\t\t\t\t\t\ta11yHint('Property hide-error for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateError(this.component._error);\n\t\t// _msg should only override _error if it is also defined.\n\t\tif (this.component._msg) {\n\t\t\tthis.validateMsg(this.component._msg);\n\t\t}\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideError(this.component._hideError);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('blur', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('click', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('focus', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n}\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideError","options","validateMsg","objectObjectHandler","parseJson","e","watchValidator","isObject","_description","Set","defaultValue","_type","validateTouched","getRenderStates","state","hasValidMsg","Boolean","_msg","_a","length","msgType","_c","_b","hasHint","_hint","ariaDescribedBy","push","_id","_hasCounter","hasError","showMsg","_touched","ControlledInputController","AssociatedInputController","constructor","name","host","super","this","validateAlert","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","validateAccessAndShortKey","_shortKey","validateDisabled","a11yHintDisabled","validateTooltipAlign","validateError","undefined","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","watchString","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","required","validateOn","setState","validateShortKey","_accessKey","validateSmartButton","validateTabIndex","_adjustHeight","_error","_disabled","_label","_smartButton","_on","_tabIndex","event","stopPropagation","tryToDispatchKoliBriEvent","target","forEach","listener","shouldSetFormAssociatedValue","setFormAssociatedValue","addValueChangeListener"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-error.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideErrorPropType = boolean;\n\n/**\n * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideError = {\n\thideError: HideErrorPropType;\n};\n\n/* validator */\nexport const validateHideError = (component: Generic.Element.Component, value?: HideErrorPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideError', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n\t_hasCounter?: boolean;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasValidMsg = Boolean(state._msg && state._msg._description && state._msg._description?.length > 0);\n\tconst msgType = state._msg?._type ?? 'default';\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\n\t// Wenn keine Message vorhanden ist, keine field-error ID hinzufügen\n\tif (!hasValidMsg) {\n\t\tif (hasHint === true) {\n\t\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t\t}\n\n\t\tif (state._hasCounter) {\n\t\t\tariaDescribedBy.push(`${state._id}-counter`);\n\t\t}\n\n\t\treturn { hasError: false, hasHint, ariaDescribedBy };\n\t}\n\n\t// Für error-Messages: nur anzeigen wenn touched === true\n\t// Für alle anderen Messages (info, warning, success, default): immer anzeigen\n\tconst showMsg = msgType === 'error' ? state._touched === true : true;\n\tconst hasError = showMsg && msgType === 'error';\n\n\tif (showMsg) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\n\tif (state._hasCounter) {\n\t\tariaDescribedBy.push(`${state._id}-counter`);\n\t}\n\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this.component, '_alert', value);\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAlert(this.component._alert);\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideErrorPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n\tvalidateShortKey,\n} from '../../../schema';\n\nimport { stopPropagation, tryToDispatchKoliBriEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\tthis.validateMsg({\n\t\t\t\t_description: value,\n\t\t\t\t_type: 'error',\n\t\t\t});\n\t\t} else {\n\t\t\tthis.validateMsg(undefined);\n\t\t}\n\t}\n\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tvalidateHideError(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideError) {\n\t\t\t\t\t\ta11yHint('Property hide-error for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateError(this.component._error);\n\t\t// _msg should only override _error if it is also defined.\n\t\tif (this.component._msg) {\n\t\t\tthis.validateMsg(this.component._msg);\n\t\t}\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideError(this.component._hideError);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('blur', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('click', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('focus', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n}\n"],"mappings":"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","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-7a63e9eb.js";import{I as s}from"./controller-a9871d80.js";import{v as o}from"./icons-adcda9b0.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
4
+ import"./index-682b2385.js";import{I as s}from"./controller-fe4af011.js";import{v as o}from"./icons-64d60d4b.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as s}from"./index-682b2385.js";const e=(e,o)=>{s(e,"_customClass",o,{defaultValue:void 0})};export{e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{j as e}from"./index-7a63e9eb.js";const t=(t,o,r)=>{e(t,"_hasCounter",o,r)},o=(e,t=0)=>{let o;return(...r)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=void 0,e(...r)},t)}};export{o as d,t as v};
4
+ import{k as e}from"./index-682b2385.js";const t=(t,o,r)=>{e(t,"_hasCounter",o,r)},o=(e,t=0)=>{let o;return(...r)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=void 0,e(...r)},t)}};export{o as d,t as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-7a63e9eb.js";import{E as r}from"./index-16ac6954.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(m=()=>"nonce");export{l as i,m as n,f as r};
4
+ import{L as e,g as t,s as n,b as i,c as o,p as s,d as a}from"./index-682b2385.js";import{E as r}from"./index-c60b639e.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(f=()=>"nonce");export{l as i,f as n,b as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{R as t,g as e,L as o,E as s,T as l,U as a,N as i,W as n,X as r,Y as c,l as f,Z as d,e as L}from"./index-7a63e9eb.js";import{i as p,r as m}from"./dev.utils-2b9fb207.js";import"./index-16ac6954.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function h(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(p(),t()){m(),h("a11yColorContrast",a),h("querySelector",i),h("querySelectorAll",n),h("querySelectorColors",r),h("utils",function(){return c}),h("parseJson",f),h("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(p),v("Development mode",t()),v("Experimental mode",s()),v("Color contrast analysis",l()),l()){const t=setTimeout(()=>{clearTimeout(t),setInterval(()=>{c.queryHtmlElementColors(e().createElement("div"),a(o),!1,!1)},1e4)},2500)}}};export{g as initialize};
4
+ import{T as t,g as e,L as o,E as s,U as a,V as i,O as l,W as n,X as r,Y as c,m as f,Z as d,d as L}from"./index-682b2385.js";import{i as p,r as m}from"./dev.utils-ba19c8fa.js";import"./index-c60b639e.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function h(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(p(),t()){m(),h("a11yColorContrast",i),h("querySelector",l),h("querySelectorAll",n),h("querySelectorColors",r),h("utils",function(){return c}),h("parseJson",f),h("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(p),v("Development mode",t()),v("Experimental mode",s()),v("Color contrast analysis",a()),a()){const t=setTimeout(()=>{clearTimeout(t),setInterval(()=>{c.queryHtmlElementColors(e().createElement("div"),i(o),!1,!1)},1e4)},2500)}}};export{g as initialize};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{k as s,l as a}from"./index-682b2385.js";const o=(o,t)=>{s(o,"_disabled",t,{hooks:{afterPatch:s=>{!0===s&&a()}}})};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{k as s}from"./index-682b2385.js";const o=(o,r)=>{s(o,"_hasCloser",r)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{k as e}from"./index-682b2385.js";const o=(o,s,a={})=>{e(o,"_hideLabel",s,a)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as o}from"./index-682b2385.js";const r=(r,s,e={})=>{o(r,"_href",s,e)};export{r as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as t,i as r}from"./i18n-618f199e.js";import{p as s}from"./index-682b2385.js";let e=(e,s)=>{var a;return(null!==(a=t())&&void 0!==a?a:r("de")).translate(e,s)};"test"===s&&(e=t=>t);export{e as t};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{o,m as i,e as t,z as n,i as e,H as c}from"./index-682b2385.js";const s=(t,o,i)=>{e(i)?t[o]=i:n(i,1)&&(t[o]={icon:i})},l=t=>{let o={};if(n(t,1))o={left:{icon:t}};else if(e(t)){const e=t;s(o,"top",e.top),s(o,"right",e.right),s(o,"bottom",e.bottom),s(o,"left",e.left)}return o},d=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",l(o))}},f=t=>e(t)&&(void 0===t.style||c(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),a=(s,l,a={})=>{o(l,()=>{var o;try{l=i(l)}catch(o){}t(s,"_icons",t=>{const o=e(t)&&0===Object.keys(t).length;return null===t||o||n(t,1)||e(t)&&(n(t.left,1)||f(t.left)||n(t.right,1)||f(t.right)||n(t.top,1)||f(t.top)||n(t.bottom,1)||f(t.bottom))},new Set(["KoliBriIcon"]),l,Object.assign(Object.assign({},a),{defaultValue:{},hooks:{afterPatch:null===(o=a.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var i,s;"function"==typeof(null===(i=a.hooks)||void 0===i?void 0:i.beforePatch)&&(null===(s=a.hooks)||void 0===s||s.beforePatch(t,o,e,n)),d(e)}}}))})};export{a as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as s}from"./index-682b2385.js";const o=(o,r,t)=>{s(o,"_src",r,t)};export{o as v};