@public-ui/components 2.0.5 → 2.0.6

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 (588) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{align-floating-elements-c80675c1.js → align-floating-elements-a2defb7a.js} +1 -1
  3. package/dist/cjs/{align-floating-elements-c80675c1.js.map → align-floating-elements-a2defb7a.js.map} +1 -1
  4. package/dist/cjs/app-globals-199449c5.js +4 -0
  5. package/dist/cjs/app-globals-199449c5.js.map +1 -0
  6. package/dist/cjs/associated.controller-9ab5fcdd.js +4 -0
  7. package/dist/cjs/associated.controller-9ab5fcdd.js.map +1 -0
  8. package/dist/cjs/{controller-00f1a46a.js → controller-35af34ae.js} +1 -1
  9. package/dist/cjs/{controller-00f1a46a.js.map → controller-35af34ae.js.map} +1 -1
  10. package/dist/cjs/controller-3e0a6924.js +4 -0
  11. package/dist/cjs/controller-3e0a6924.js.map +1 -0
  12. package/dist/cjs/{controller-58519c88.js → controller-3ebac0f5.js} +1 -1
  13. package/dist/cjs/{controller-58519c88.js.map → controller-3ebac0f5.js.map} +1 -1
  14. package/dist/cjs/{controller-f6115fd9.js → controller-abce4008.js} +1 -1
  15. package/dist/cjs/{controller-f6115fd9.js.map → controller-abce4008.js.map} +1 -1
  16. package/dist/cjs/controller-e3bbc6e9.js +4 -0
  17. package/dist/cjs/controller-e3bbc6e9.js.map +1 -0
  18. package/dist/cjs/{controller-icon-7f3f5230.js → controller-icon-fbbc139a.js} +1 -1
  19. package/dist/cjs/{controller-icon-7f3f5230.js.map → controller-icon-fbbc139a.js.map} +1 -1
  20. package/dist/cjs/dev.utils-0c521af5.js +4 -0
  21. package/dist/cjs/dev.utils-0c521af5.js.map +1 -0
  22. package/dist/cjs/devtools-51056247.js +4 -0
  23. package/dist/cjs/devtools-51056247.js.map +1 -0
  24. package/dist/cjs/form-field-msg-e7415486.js +4 -0
  25. package/dist/cjs/form-field-msg-e7415486.js.map +1 -0
  26. package/dist/cjs/{i18n-ff67b74c.js → i18n-411431b1.js} +1 -1
  27. package/dist/cjs/{i18n-ff67b74c.js.map → i18n-411431b1.js.map} +1 -1
  28. package/dist/cjs/index-7215e5f8.js +4 -0
  29. package/dist/cjs/index-7215e5f8.js.map +1 -0
  30. package/dist/cjs/{index-fcb5b16c.js → index-d6d9ba30.js} +1 -1
  31. package/dist/cjs/{index-fcb5b16c.js.map → index-d6d9ba30.js.map} +1 -1
  32. package/dist/cjs/index.cjs.js +1 -1
  33. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  35. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  37. package/dist/cjs/kol-alert-wc_3.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +1 -1
  39. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  41. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  44. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  46. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  48. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  50. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-span-wc_2.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kolibri.cjs.js +1 -1
  135. package/dist/cjs/loader.cjs.js +1 -1
  136. package/dist/cjs/{validation-6757487a.js → validation-e44562d8.js} +1 -1
  137. package/dist/cjs/{validation-6757487a.js.map → validation-e44562d8.js.map} +1 -1
  138. package/dist/cjs/{validation-215445d0.js → validation-ea46d26d.js} +1 -1
  139. package/dist/cjs/{validation-215445d0.js.map → validation-ea46d26d.js.map} +1 -1
  140. package/dist/components/component11.js +1 -1
  141. package/dist/components/component11.js.map +1 -1
  142. package/dist/components/component12.js +1 -1
  143. package/dist/components/component12.js.map +1 -1
  144. package/dist/components/component13.js +1 -1
  145. package/dist/components/component13.js.map +1 -1
  146. package/dist/components/component14.js +1 -1
  147. package/dist/components/component14.js.map +1 -1
  148. package/dist/components/component16.js +1 -1
  149. package/dist/components/component2.js +1 -1
  150. package/dist/components/component3.js +1 -1
  151. package/dist/components/component3.js.map +1 -1
  152. package/dist/components/component4.js +1 -1
  153. package/dist/components/component5.js +1 -1
  154. package/dist/components/component5.js.map +1 -1
  155. package/dist/components/component6.js +1 -1
  156. package/dist/components/component6.js.map +1 -1
  157. package/dist/components/component7.js +1 -1
  158. package/dist/components/component8.js +1 -1
  159. package/dist/components/component8.js.map +1 -1
  160. package/dist/components/component9.js +1 -1
  161. package/dist/components/controller-icon.js +1 -1
  162. package/dist/components/controller.js +1 -1
  163. package/dist/components/controller2.js +1 -1
  164. package/dist/components/controller2.js.map +1 -1
  165. package/dist/components/controller3.js +1 -1
  166. package/dist/components/controller4.js +1 -1
  167. package/dist/components/dev.utils.js +1 -1
  168. package/dist/components/dev.utils.js.map +1 -1
  169. package/dist/components/devtools.js +1 -1
  170. package/dist/components/devtools.js.map +1 -1
  171. package/dist/components/index.js +1 -1
  172. package/dist/components/index.js.map +1 -1
  173. package/dist/components/index2.js +1 -1
  174. package/dist/components/index2.js.map +1 -1
  175. package/dist/components/kol-abbr.js +1 -1
  176. package/dist/components/kol-abbr.js.map +1 -1
  177. package/dist/components/kol-accordion.js +1 -1
  178. package/dist/components/kol-accordion.js.map +1 -1
  179. package/dist/components/kol-avatar.js +1 -1
  180. package/dist/components/kol-avatar.js.map +1 -1
  181. package/dist/components/kol-breadcrumb.js +1 -1
  182. package/dist/components/kol-breadcrumb.js.map +1 -1
  183. package/dist/components/kol-button-group.js +1 -1
  184. package/dist/components/kol-button-group.js.map +1 -1
  185. package/dist/components/kol-button-link.js +1 -1
  186. package/dist/components/kol-card.js +1 -1
  187. package/dist/components/kol-card.js.map +1 -1
  188. package/dist/components/kol-details.js +1 -1
  189. package/dist/components/kol-details.js.map +1 -1
  190. package/dist/components/kol-form.js +1 -1
  191. package/dist/components/kol-heading.js +1 -1
  192. package/dist/components/kol-heading.js.map +1 -1
  193. package/dist/components/kol-image.js +1 -1
  194. package/dist/components/kol-input-checkbox.js +1 -1
  195. package/dist/components/kol-input-checkbox.js.map +1 -1
  196. package/dist/components/kol-input-color.js +1 -1
  197. package/dist/components/kol-input-color.js.map +1 -1
  198. package/dist/components/kol-input-date.js +1 -1
  199. package/dist/components/kol-input-date.js.map +1 -1
  200. package/dist/components/kol-input-email.js +1 -1
  201. package/dist/components/kol-input-email.js.map +1 -1
  202. package/dist/components/kol-input-file.js +1 -1
  203. package/dist/components/kol-input-file.js.map +1 -1
  204. package/dist/components/kol-input-number.js +1 -1
  205. package/dist/components/kol-input-number.js.map +1 -1
  206. package/dist/components/kol-input-password.js +1 -1
  207. package/dist/components/kol-input-password.js.map +1 -1
  208. package/dist/components/kol-input-radio.js +1 -1
  209. package/dist/components/kol-input-radio.js.map +1 -1
  210. package/dist/components/kol-input-range.js +1 -1
  211. package/dist/components/kol-input-range.js.map +1 -1
  212. package/dist/components/kol-input-text.js +1 -1
  213. package/dist/components/kol-input-text.js.map +1 -1
  214. package/dist/components/kol-kolibri.js +1 -1
  215. package/dist/components/kol-kolibri.js.map +1 -1
  216. package/dist/components/kol-link-button.js +1 -1
  217. package/dist/components/kol-link-button.js.map +1 -1
  218. package/dist/components/kol-link-group.js +1 -1
  219. package/dist/components/kol-link-group.js.map +1 -1
  220. package/dist/components/kol-logo.js +1 -1
  221. package/dist/components/kol-logo.js.map +1 -1
  222. package/dist/components/kol-modal.js +1 -1
  223. package/dist/components/kol-modal.js.map +1 -1
  224. package/dist/components/kol-nav.js +1 -1
  225. package/dist/components/kol-nav.js.map +1 -1
  226. package/dist/components/kol-popover-wc.js +1 -1
  227. package/dist/components/kol-popover-wc.js.map +1 -1
  228. package/dist/components/kol-progress.js +1 -1
  229. package/dist/components/kol-progress.js.map +1 -1
  230. package/dist/components/kol-quote.js +1 -1
  231. package/dist/components/kol-quote.js.map +1 -1
  232. package/dist/components/kol-skip-nav.js +1 -1
  233. package/dist/components/kol-skip-nav.js.map +1 -1
  234. package/dist/components/kol-span.js +1 -1
  235. package/dist/components/kol-span.js.map +1 -1
  236. package/dist/components/kol-spin.js +1 -1
  237. package/dist/components/kol-spin.js.map +1 -1
  238. package/dist/components/kol-split-button.js +1 -1
  239. package/dist/components/kol-split-button.js.map +1 -1
  240. package/dist/components/kol-table.js +1 -1
  241. package/dist/components/kol-table.js.map +1 -1
  242. package/dist/components/kol-tabs.js +1 -1
  243. package/dist/components/kol-tabs.js.map +1 -1
  244. package/dist/components/kol-textarea.js +1 -1
  245. package/dist/components/kol-textarea.js.map +1 -1
  246. package/dist/components/kol-tree.js +1 -1
  247. package/dist/components/kol-tree.js.map +1 -1
  248. package/dist/components/kol-version.js +1 -1
  249. package/dist/components/kol-version.js.map +1 -1
  250. package/dist/components/shadow.js +1 -1
  251. package/dist/components/shadow.js.map +1 -1
  252. package/dist/components/shadow2.js +1 -1
  253. package/dist/components/shadow3.js +1 -1
  254. package/dist/components/shadow3.js.map +1 -1
  255. package/dist/components/validation.js +1 -1
  256. package/dist/esm/{align-floating-elements-7330ec1c.js → align-floating-elements-f3802656.js} +1 -1
  257. package/dist/esm/{align-floating-elements-7330ec1c.js.map → align-floating-elements-f3802656.js.map} +1 -1
  258. package/dist/esm/app-globals-2acbdec3.js +4 -0
  259. package/dist/esm/app-globals-2acbdec3.js.map +1 -0
  260. package/dist/esm/associated.controller-1c0a6905.js +4 -0
  261. package/dist/esm/associated.controller-1c0a6905.js.map +1 -0
  262. package/dist/esm/controller-1dd244e1.js +4 -0
  263. package/dist/esm/{controller-7616f4f3.js.map → controller-1dd244e1.js.map} +1 -1
  264. package/dist/esm/{controller-cf349d3e.js → controller-a5087ab9.js} +1 -1
  265. package/dist/esm/{controller-cf349d3e.js.map → controller-a5087ab9.js.map} +1 -1
  266. package/dist/esm/controller-af0e42cc.js +4 -0
  267. package/dist/esm/{controller-763ec1d2.js.map → controller-af0e42cc.js.map} +1 -1
  268. package/dist/esm/controller-b7dcc094.js +4 -0
  269. package/dist/{cjs/controller-54fbb9a1.js.map → esm/controller-b7dcc094.js.map} +1 -1
  270. package/dist/esm/controller-fd4e097d.js +4 -0
  271. package/dist/esm/controller-fd4e097d.js.map +1 -0
  272. package/dist/esm/controller-icon-1883d4c6.js +4 -0
  273. package/dist/esm/{controller-icon-c3e3a4bf.js.map → controller-icon-1883d4c6.js.map} +1 -1
  274. package/dist/esm/dev.utils-c7d151c6.js +4 -0
  275. package/dist/esm/dev.utils-c7d151c6.js.map +1 -0
  276. package/dist/esm/devtools-4bcff5b1.js +4 -0
  277. package/dist/esm/devtools-4bcff5b1.js.map +1 -0
  278. package/dist/esm/form-field-msg-fc7cec72.js +4 -0
  279. package/dist/esm/form-field-msg-fc7cec72.js.map +1 -0
  280. package/dist/esm/{i18n-e3260ea2.js → i18n-73edd5e1.js} +1 -1
  281. package/dist/esm/{i18n-e3260ea2.js.map → i18n-73edd5e1.js.map} +1 -1
  282. package/dist/esm/index-c3ae175d.js +4 -0
  283. package/dist/esm/index-c3ae175d.js.map +1 -0
  284. package/dist/esm/{index-4391c04d.js → index-eb50dd62.js} +1 -1
  285. package/dist/esm/{index-4391c04d.js.map → index-eb50dd62.js.map} +1 -1
  286. package/dist/esm/index.js +1 -1
  287. package/dist/esm/kol-abbr.entry.js +1 -1
  288. package/dist/esm/kol-abbr.entry.js.map +1 -1
  289. package/dist/esm/kol-accordion.entry.js +1 -1
  290. package/dist/esm/kol-accordion.entry.js.map +1 -1
  291. package/dist/esm/kol-alert-wc_3.entry.js +1 -1
  292. package/dist/esm/kol-alert-wc_3.entry.js.map +1 -1
  293. package/dist/esm/kol-alert.entry.js +1 -1
  294. package/dist/esm/kol-alert.entry.js.map +1 -1
  295. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  296. package/dist/esm/kol-avatar.entry.js +1 -1
  297. package/dist/esm/kol-avatar.entry.js.map +1 -1
  298. package/dist/esm/kol-badge.entry.js +1 -1
  299. package/dist/esm/kol-badge.entry.js.map +1 -1
  300. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  301. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  302. package/dist/esm/kol-button-group.entry.js +1 -1
  303. package/dist/esm/kol-button-group.entry.js.map +1 -1
  304. package/dist/esm/kol-button-link.entry.js +1 -1
  305. package/dist/esm/kol-button.entry.js +1 -1
  306. package/dist/esm/kol-button.entry.js.map +1 -1
  307. package/dist/esm/kol-card.entry.js +1 -1
  308. package/dist/esm/kol-card.entry.js.map +1 -1
  309. package/dist/esm/kol-details.entry.js +1 -1
  310. package/dist/esm/kol-details.entry.js.map +1 -1
  311. package/dist/esm/kol-form.entry.js +1 -1
  312. package/dist/esm/kol-heading.entry.js +1 -1
  313. package/dist/esm/kol-heading.entry.js.map +1 -1
  314. package/dist/esm/kol-icon.entry.js +1 -1
  315. package/dist/esm/kol-image.entry.js +1 -1
  316. package/dist/esm/kol-indented-text.entry.js +1 -1
  317. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  318. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  319. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  320. package/dist/esm/kol-input-color.entry.js +1 -1
  321. package/dist/esm/kol-input-color.entry.js.map +1 -1
  322. package/dist/esm/kol-input-date.entry.js +1 -1
  323. package/dist/esm/kol-input-date.entry.js.map +1 -1
  324. package/dist/esm/kol-input-email.entry.js +1 -1
  325. package/dist/esm/kol-input-email.entry.js.map +1 -1
  326. package/dist/esm/kol-input-file.entry.js +1 -1
  327. package/dist/esm/kol-input-file.entry.js.map +1 -1
  328. package/dist/esm/kol-input-number.entry.js +1 -1
  329. package/dist/esm/kol-input-number.entry.js.map +1 -1
  330. package/dist/esm/kol-input-password.entry.js +1 -1
  331. package/dist/esm/kol-input-password.entry.js.map +1 -1
  332. package/dist/esm/kol-input-radio.entry.js +1 -1
  333. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  334. package/dist/esm/kol-input-range.entry.js +1 -1
  335. package/dist/esm/kol-input-range.entry.js.map +1 -1
  336. package/dist/esm/kol-input-text.entry.js +1 -1
  337. package/dist/esm/kol-input-text.entry.js.map +1 -1
  338. package/dist/esm/kol-input.entry.js +1 -1
  339. package/dist/esm/kol-input.entry.js.map +1 -1
  340. package/dist/esm/kol-kolibri.entry.js +1 -1
  341. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  342. package/dist/esm/kol-link-button.entry.js +1 -1
  343. package/dist/esm/kol-link-button.entry.js.map +1 -1
  344. package/dist/esm/kol-link-group.entry.js +1 -1
  345. package/dist/esm/kol-link-group.entry.js.map +1 -1
  346. package/dist/esm/kol-link-wc.entry.js +1 -1
  347. package/dist/esm/kol-link.entry.js +1 -1
  348. package/dist/esm/kol-logo.entry.js +1 -1
  349. package/dist/esm/kol-logo.entry.js.map +1 -1
  350. package/dist/esm/kol-modal.entry.js +1 -1
  351. package/dist/esm/kol-modal.entry.js.map +1 -1
  352. package/dist/esm/kol-nav.entry.js +1 -1
  353. package/dist/esm/kol-nav.entry.js.map +1 -1
  354. package/dist/esm/kol-pagination.entry.js +1 -1
  355. package/dist/esm/kol-pagination.entry.js.map +1 -1
  356. package/dist/esm/kol-popover-wc.entry.js +1 -1
  357. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  358. package/dist/esm/kol-progress.entry.js +1 -1
  359. package/dist/esm/kol-progress.entry.js.map +1 -1
  360. package/dist/esm/kol-quote.entry.js +1 -1
  361. package/dist/esm/kol-quote.entry.js.map +1 -1
  362. package/dist/esm/kol-select.entry.js +1 -1
  363. package/dist/esm/kol-select.entry.js.map +1 -1
  364. package/dist/esm/kol-skip-nav.entry.js +1 -1
  365. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  366. package/dist/esm/kol-span-wc_2.entry.js +1 -1
  367. package/dist/esm/kol-span-wc_2.entry.js.map +1 -1
  368. package/dist/esm/kol-span.entry.js +1 -1
  369. package/dist/esm/kol-span.entry.js.map +1 -1
  370. package/dist/esm/kol-spin.entry.js +1 -1
  371. package/dist/esm/kol-spin.entry.js.map +1 -1
  372. package/dist/esm/kol-split-button.entry.js +1 -1
  373. package/dist/esm/kol-split-button.entry.js.map +1 -1
  374. package/dist/esm/kol-symbol.entry.js +1 -1
  375. package/dist/esm/kol-table.entry.js +1 -1
  376. package/dist/esm/kol-table.entry.js.map +1 -1
  377. package/dist/esm/kol-tabs.entry.js +1 -1
  378. package/dist/esm/kol-tabs.entry.js.map +1 -1
  379. package/dist/esm/kol-textarea.entry.js +1 -1
  380. package/dist/esm/kol-textarea.entry.js.map +1 -1
  381. package/dist/esm/kol-toast-container.entry.js +1 -1
  382. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  383. package/dist/esm/kol-tree-wc.entry.js +1 -1
  384. package/dist/esm/kol-tree.entry.js +1 -1
  385. package/dist/esm/kol-tree.entry.js.map +1 -1
  386. package/dist/esm/kol-version.entry.js +1 -1
  387. package/dist/esm/kol-version.entry.js.map +1 -1
  388. package/dist/esm/kolibri.js +1 -1
  389. package/dist/esm/loader.js +1 -1
  390. package/dist/esm/validation-005508b2.js +4 -0
  391. package/dist/esm/{validation-e897e36e.js.map → validation-005508b2.js.map} +1 -1
  392. package/dist/esm/validation-f540005c.js +4 -0
  393. package/dist/esm/{validation-5ab0a1be.js.map → validation-f540005c.js.map} +1 -1
  394. package/dist/kolibri/{align-floating-elements-7330ec1c.js → align-floating-elements-f3802656.js} +1 -1
  395. package/dist/kolibri/app-globals-2acbdec3.js +4 -0
  396. package/dist/kolibri/app-globals-2acbdec3.js.map +1 -0
  397. package/dist/kolibri/associated.controller-1c0a6905.js +4 -0
  398. package/dist/kolibri/associated.controller-1c0a6905.js.map +1 -0
  399. package/dist/kolibri/controller-1dd244e1.js +4 -0
  400. package/dist/kolibri/{controller-7616f4f3.js.map → controller-1dd244e1.js.map} +1 -1
  401. package/dist/kolibri/controller-a5087ab9.js +4 -0
  402. package/dist/kolibri/{controller-cf349d3e.js.map → controller-a5087ab9.js.map} +1 -1
  403. package/dist/kolibri/controller-af0e42cc.js +4 -0
  404. package/dist/kolibri/{controller-763ec1d2.js.map → controller-af0e42cc.js.map} +1 -1
  405. package/dist/kolibri/controller-b7dcc094.js +4 -0
  406. package/dist/kolibri/controller-b7dcc094.js.map +1 -0
  407. package/dist/kolibri/controller-fd4e097d.js +4 -0
  408. package/dist/kolibri/controller-fd4e097d.js.map +1 -0
  409. package/dist/kolibri/controller-icon-1883d4c6.js +4 -0
  410. package/dist/kolibri/{controller-icon-c3e3a4bf.js.map → controller-icon-1883d4c6.js.map} +1 -1
  411. package/dist/kolibri/dev.utils-c7d151c6.js +4 -0
  412. package/dist/kolibri/dev.utils-c7d151c6.js.map +1 -0
  413. package/dist/kolibri/devtools-4bcff5b1.js +4 -0
  414. package/dist/kolibri/devtools-4bcff5b1.js.map +1 -0
  415. package/dist/kolibri/form-field-msg-fc7cec72.js +4 -0
  416. package/dist/kolibri/form-field-msg-fc7cec72.js.map +1 -0
  417. package/dist/kolibri/{i18n-e3260ea2.js → i18n-73edd5e1.js} +1 -1
  418. package/dist/kolibri/index-c3ae175d.js +4 -0
  419. package/dist/kolibri/index-c3ae175d.js.map +1 -0
  420. package/dist/kolibri/{index-4391c04d.js → index-eb50dd62.js} +1 -1
  421. package/dist/kolibri/index.esm.js +1 -1
  422. package/dist/kolibri/kol-abbr.entry.js +1 -1
  423. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  424. package/dist/kolibri/kol-accordion.entry.js +1 -1
  425. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  426. package/dist/kolibri/kol-alert-wc_3.entry.js +1 -1
  427. package/dist/kolibri/kol-alert-wc_3.entry.js.map +1 -1
  428. package/dist/kolibri/kol-alert.entry.js +1 -1
  429. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  430. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  431. package/dist/kolibri/kol-avatar.entry.js +1 -1
  432. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  433. package/dist/kolibri/kol-badge.entry.js +1 -1
  434. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  435. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  436. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  437. package/dist/kolibri/kol-button-group.entry.js +1 -1
  438. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  439. package/dist/kolibri/kol-button-link.entry.js +1 -1
  440. package/dist/kolibri/kol-button.entry.js +1 -1
  441. package/dist/kolibri/kol-button.entry.js.map +1 -1
  442. package/dist/kolibri/kol-card.entry.js +1 -1
  443. package/dist/kolibri/kol-card.entry.js.map +1 -1
  444. package/dist/kolibri/kol-details.entry.js +1 -1
  445. package/dist/kolibri/kol-details.entry.js.map +1 -1
  446. package/dist/kolibri/kol-form.entry.js +1 -1
  447. package/dist/kolibri/kol-heading.entry.js +1 -1
  448. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  449. package/dist/kolibri/kol-icon.entry.js +1 -1
  450. package/dist/kolibri/kol-image.entry.js +1 -1
  451. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  452. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  453. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  454. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  455. package/dist/kolibri/kol-input-color.entry.js +1 -1
  456. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  457. package/dist/kolibri/kol-input-date.entry.js +1 -1
  458. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  459. package/dist/kolibri/kol-input-email.entry.js +1 -1
  460. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  461. package/dist/kolibri/kol-input-file.entry.js +1 -1
  462. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  463. package/dist/kolibri/kol-input-number.entry.js +1 -1
  464. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  465. package/dist/kolibri/kol-input-password.entry.js +1 -1
  466. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  467. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  468. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  469. package/dist/kolibri/kol-input-range.entry.js +1 -1
  470. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  471. package/dist/kolibri/kol-input-text.entry.js +1 -1
  472. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  473. package/dist/kolibri/kol-input.entry.js +1 -1
  474. package/dist/kolibri/kol-input.entry.js.map +1 -1
  475. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  476. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  477. package/dist/kolibri/kol-link-button.entry.js +1 -1
  478. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  479. package/dist/kolibri/kol-link-group.entry.js +1 -1
  480. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  481. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  482. package/dist/kolibri/kol-link.entry.js +1 -1
  483. package/dist/kolibri/kol-logo.entry.js +1 -1
  484. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  485. package/dist/kolibri/kol-modal.entry.js +1 -1
  486. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  487. package/dist/kolibri/kol-nav.entry.js +1 -1
  488. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  489. package/dist/kolibri/kol-pagination.entry.js +1 -1
  490. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  491. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  492. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  493. package/dist/kolibri/kol-progress.entry.js +1 -1
  494. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  495. package/dist/kolibri/kol-quote.entry.js +1 -1
  496. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  497. package/dist/kolibri/kol-select.entry.js +1 -1
  498. package/dist/kolibri/kol-select.entry.js.map +1 -1
  499. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  500. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  501. package/dist/kolibri/kol-span-wc_2.entry.js +1 -1
  502. package/dist/kolibri/kol-span-wc_2.entry.js.map +1 -1
  503. package/dist/kolibri/kol-span.entry.js +1 -1
  504. package/dist/kolibri/kol-span.entry.js.map +1 -1
  505. package/dist/kolibri/kol-spin.entry.js +1 -1
  506. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  507. package/dist/kolibri/kol-split-button.entry.js +1 -1
  508. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  509. package/dist/kolibri/kol-symbol.entry.js +1 -1
  510. package/dist/kolibri/kol-table.entry.js +1 -1
  511. package/dist/kolibri/kol-table.entry.js.map +1 -1
  512. package/dist/kolibri/kol-tabs.entry.js +1 -1
  513. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  514. package/dist/kolibri/kol-textarea.entry.js +1 -1
  515. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  516. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  517. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  518. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  519. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  520. package/dist/kolibri/kol-tree.entry.js +1 -1
  521. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  522. package/dist/kolibri/kol-version.entry.js +1 -1
  523. package/dist/kolibri/kol-version.entry.js.map +1 -1
  524. package/dist/kolibri/kolibri.esm.js +1 -1
  525. package/dist/kolibri/validation-005508b2.js +4 -0
  526. package/dist/kolibri/{validation-5ab0a1be.js → validation-f540005c.js} +1 -1
  527. package/dist/types/components/@shared/form-field-msg.d.ts +10 -0
  528. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +1 -0
  529. package/dist/types/components/input-radio/controller.d.ts +1 -0
  530. package/dist/types/components/select/controller.d.ts +1 -0
  531. package/dist/types/utils/dev.utils.d.ts +0 -22
  532. package/package.json +1 -1
  533. package/dist/cjs/app-globals-6806b726.js +0 -4
  534. package/dist/cjs/app-globals-6806b726.js.map +0 -1
  535. package/dist/cjs/associated.controller-0fcef7e4.js +0 -4
  536. package/dist/cjs/associated.controller-0fcef7e4.js.map +0 -1
  537. package/dist/cjs/controller-54fbb9a1.js +0 -4
  538. package/dist/cjs/controller-dc2a0b4e.js +0 -4
  539. package/dist/cjs/controller-dc2a0b4e.js.map +0 -1
  540. package/dist/cjs/dev.utils-10dd7df2.js +0 -4
  541. package/dist/cjs/dev.utils-10dd7df2.js.map +0 -1
  542. package/dist/cjs/devtools-316976e4.js +0 -4
  543. package/dist/cjs/devtools-316976e4.js.map +0 -1
  544. package/dist/cjs/index-860e8291.js +0 -4
  545. package/dist/cjs/index-860e8291.js.map +0 -1
  546. package/dist/esm/app-globals-4842fd96.js +0 -4
  547. package/dist/esm/app-globals-4842fd96.js.map +0 -1
  548. package/dist/esm/associated.controller-4d3dd80f.js +0 -4
  549. package/dist/esm/associated.controller-4d3dd80f.js.map +0 -1
  550. package/dist/esm/controller-7616f4f3.js +0 -4
  551. package/dist/esm/controller-763ec1d2.js +0 -4
  552. package/dist/esm/controller-837f5a71.js +0 -4
  553. package/dist/esm/controller-837f5a71.js.map +0 -1
  554. package/dist/esm/controller-f3ba85b8.js +0 -4
  555. package/dist/esm/controller-f3ba85b8.js.map +0 -1
  556. package/dist/esm/controller-icon-c3e3a4bf.js +0 -4
  557. package/dist/esm/dev.utils-44a0a914.js +0 -4
  558. package/dist/esm/dev.utils-44a0a914.js.map +0 -1
  559. package/dist/esm/devtools-f30684b8.js +0 -4
  560. package/dist/esm/devtools-f30684b8.js.map +0 -1
  561. package/dist/esm/index-836a963f.js +0 -4
  562. package/dist/esm/index-836a963f.js.map +0 -1
  563. package/dist/esm/validation-5ab0a1be.js +0 -4
  564. package/dist/esm/validation-e897e36e.js +0 -4
  565. package/dist/kolibri/app-globals-4842fd96.js +0 -4
  566. package/dist/kolibri/app-globals-4842fd96.js.map +0 -1
  567. package/dist/kolibri/associated.controller-4d3dd80f.js +0 -4
  568. package/dist/kolibri/associated.controller-4d3dd80f.js.map +0 -1
  569. package/dist/kolibri/controller-7616f4f3.js +0 -4
  570. package/dist/kolibri/controller-763ec1d2.js +0 -4
  571. package/dist/kolibri/controller-837f5a71.js +0 -4
  572. package/dist/kolibri/controller-837f5a71.js.map +0 -1
  573. package/dist/kolibri/controller-cf349d3e.js +0 -4
  574. package/dist/kolibri/controller-f3ba85b8.js +0 -4
  575. package/dist/kolibri/controller-f3ba85b8.js.map +0 -1
  576. package/dist/kolibri/controller-icon-c3e3a4bf.js +0 -4
  577. package/dist/kolibri/dev.utils-44a0a914.js +0 -4
  578. package/dist/kolibri/dev.utils-44a0a914.js.map +0 -1
  579. package/dist/kolibri/devtools-f30684b8.js +0 -4
  580. package/dist/kolibri/devtools-f30684b8.js.map +0 -1
  581. package/dist/kolibri/index-836a963f.js +0 -4
  582. package/dist/kolibri/index-836a963f.js.map +0 -1
  583. package/dist/kolibri/validation-e897e36e.js +0 -4
  584. /package/dist/kolibri/{align-floating-elements-7330ec1c.js.map → align-floating-elements-f3802656.js.map} +0 -0
  585. /package/dist/kolibri/{i18n-e3260ea2.js.map → i18n-73edd5e1.js.map} +0 -0
  586. /package/dist/kolibri/{index-4391c04d.js.map → index-eb50dd62.js.map} +0 -0
  587. /package/dist/kolibri/{validation-e897e36e.js.map → validation-005508b2.js.map} +0 -0
  588. /package/dist/kolibri/{validation-5ab0a1be.js.map → validation-f540005c.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as bootstrapLazy}from"./index-a5e15b1e.js";export{s as setNonce}from"./index-a5e15b1e.js";import{g as globalScripts}from"./app-globals-4842fd96.js";import"./index-836a963f.js";import"./index-4391c04d.js";import"./dev.utils-44a0a914.js";const defineCustomElements=(e,a)=>{if("undefined"!=typeof window)return globalScripts(),bootstrapLazy(JSON.parse('[["kol-icon",[[33,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-span-wc_2",[[0,"kol-tooltip-wc",{"_accessKey":[1,"_access-key"],"_align":[1],"_id":[1],"_label":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}],[4,"kol-span-wc",{"_accessKey":[1,"_access-key"],"_allowMarkdown":[4,"_allow-markdown"],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_allowMarkdown":["validateAllowMarkdown"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-table",[[33,"kol-table",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"tableDivElementHasScrollbar":[32],"state":[32]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_pagination":["validatePagination"]}]]],["kol-form",[[1,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-input-checkbox",[[33,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_checked":[1540],"_hideError":[1540,"_hide-error"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_indeterminate":[1540],"_label":[1],"_name":[1],"_on":[16],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[33,"kol-input-color",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[33,"kol-input-date",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[1],"_min":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[2],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[33,"kol-input-email",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-file",[[33,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-number",[[33,"kol-input-number",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[8],"_min":[8],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1032],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[33,"kol-input-password",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[33,"kol-input-radio",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideLabel":["validateHideLabel"],"_hideError":["validateHideError"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[33,"kol-input-range",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[2],"_min":[2],"_name":[1],"_on":[16],"_step":[2],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[2],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[33,"kol-input-text",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-textarea",[[33,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[33,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-nav",[[33,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-tree-item",[[33,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-accordion",[[33,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-link-group",[[33,"kol-link-group",{"_listStyleType":[1,"_list-style-type"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_label":["validateLabel"],"_listStyleType":["validateListStyleType"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-quote",[[33,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-button-link",[[33,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"getValue":[64]}]]],["kol-link-button",[[33,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-split-button",[[33,"kol-split-button",{"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-abbr",[[33,"kol-abbr",{"_label":[1],"_tooltipAlign":[1,"_tooltip-align"],"state":[32]},null,{"_label":["validateLabel"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-span",[[33,"kol-span",{"_accessKey":[1,"_access-key"],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1]}]]],["kol-indented-text",[[33,"kol-indented-text",{"state":[32]}]]],["kol-details",[[33,"kol-details",{"_disabled":[4],"_label":[1],"_on":[16],"_open":[1540],"state":[32]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-button-group",[[33,"kol-button-group"]]],["kol-heading",[[33,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"_variant":[1]}]]],["kol-tree",[[33,"kol-tree",{"_label":[1]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]},null,{"_alt":["validateAlt"],"_loading":["validateLoading"],"_sizes":["validateSizes"],"_src":["validateSrc"],"_srcset":["validateSrcset"]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-logo",[[33,"kol-logo",{"_org":[1],"state":[32]},null,{"_org":["validateOrg"]}]]],["kol-modal",[[33,"kol-modal",{"_activeElement":[1040],"_label":[1],"_on":[16],"_width":[1],"state":[32]},null,{"_activeElement":["validateActiveElement"],"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"]}]]],["kol-popover-wc",[[4,"kol-popover-wc",{"_align":[1],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_show":["validateShow"]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_max":["validateMax"],"_unit":["validateUnit"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-spin",[[33,"kol-spin",{"_show":[1540],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_variant":["validateVariant"]}]]],["kol-symbol",[[0,"kol-symbol",{"_label":[1],"_symbol":[1],"state":[32]},null,{"_label":["validateLabel"],"_symbol":["validateSymbol"]}]]],["kol-alert-wc_3",[[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}],[4,"kol-heading-wc",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"],"_variant":["validateVariant"]}],[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-pagination",[[33,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-tree-item-wc",[[4,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"state":[32],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]},null,{"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]},null,{"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-tree-wc",[[4,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-button-group-wc",[[4,"kol-button-group-wc",{"state":[32]}]]],["kol-button",[[33,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-link",[[33,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-input",[[4,"kol-input",{"_accessKey":[1,"_access-key"],"_alert":[4],"_currentLength":[2,"_current-length"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[4,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[16],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_readOnly":[4,"_read-only"],"_renderNoLabel":[4,"_render-no-label"],"_required":[4],"_slotName":[1,"_slot-name"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[4]}]]]]'),a)};export{defineCustomElements};
4
+ import{b as bootstrapLazy}from"./index-a5e15b1e.js";export{s as setNonce}from"./index-a5e15b1e.js";import{g as globalScripts}from"./app-globals-2acbdec3.js";import"./index-c3ae175d.js";import"./index-eb50dd62.js";import"./dev.utils-c7d151c6.js";const defineCustomElements=(e,a)=>{if("undefined"!=typeof window)return globalScripts(),bootstrapLazy(JSON.parse('[["kol-icon",[[33,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-span-wc_2",[[0,"kol-tooltip-wc",{"_accessKey":[1,"_access-key"],"_align":[1],"_id":[1],"_label":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}],[4,"kol-span-wc",{"_accessKey":[1,"_access-key"],"_allowMarkdown":[4,"_allow-markdown"],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_allowMarkdown":["validateAllowMarkdown"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-table",[[33,"kol-table",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"tableDivElementHasScrollbar":[32],"state":[32]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_pagination":["validatePagination"]}]]],["kol-form",[[1,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-input-checkbox",[[33,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_checked":[1540],"_hideError":[1540,"_hide-error"],"_disabled":[4],"_error":[1],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_indeterminate":[1540],"_label":[1],"_name":[1],"_on":[16],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[33,"kol-input-color",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[33,"kol-input-date",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[1],"_min":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[2],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[33,"kol-input-email",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-file",[[33,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-number",[[33,"kol-input-number",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[8],"_min":[8],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1032],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[33,"kol-input-password",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[33,"kol-input-radio",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideLabel":["validateHideLabel"],"_hideError":["validateHideError"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[33,"kol-input-range",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_max":[2],"_min":[2],"_name":[1],"_on":[16],"_step":[2],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[2],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_name":["validateName"],"_on":["validateOn"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[33,"kol-input-text",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-textarea",[[33,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hasCounter":["validateHasCounter"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[33,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-nav",[[33,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-tree-item",[[33,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-accordion",[[33,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-link-group",[[33,"kol-link-group",{"_listStyleType":[1,"_list-style-type"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_label":["validateLabel"],"_listStyleType":["validateListStyleType"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-quote",[[33,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-button-link",[[33,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"getValue":[64]}]]],["kol-link-button",[[33,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-split-button",[[33,"kol-split-button",{"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]}]]],["kol-abbr",[[33,"kol-abbr",{"_label":[1],"_tooltipAlign":[1,"_tooltip-align"],"state":[32]},null,{"_label":["validateLabel"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-span",[[33,"kol-span",{"_accessKey":[1,"_access-key"],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1]}]]],["kol-indented-text",[[33,"kol-indented-text",{"state":[32]}]]],["kol-details",[[33,"kol-details",{"_disabled":[4],"_label":[1],"_on":[16],"_open":[1540],"state":[32]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-button-group",[[33,"kol-button-group"]]],["kol-heading",[[33,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"_variant":[1]}]]],["kol-tree",[[33,"kol-tree",{"_label":[1]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]},null,{"_alt":["validateAlt"],"_loading":["validateLoading"],"_sizes":["validateSizes"],"_src":["validateSrc"],"_srcset":["validateSrcset"]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-logo",[[33,"kol-logo",{"_org":[1],"state":[32]},null,{"_org":["validateOrg"]}]]],["kol-modal",[[33,"kol-modal",{"_activeElement":[1040],"_label":[1],"_on":[16],"_width":[1],"state":[32]},null,{"_activeElement":["validateActiveElement"],"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"]}]]],["kol-popover-wc",[[4,"kol-popover-wc",{"_align":[1],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_show":["validateShow"]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_max":["validateMax"],"_unit":["validateUnit"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-spin",[[33,"kol-spin",{"_show":[1540],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_variant":["validateVariant"]}]]],["kol-symbol",[[0,"kol-symbol",{"_label":[1],"_symbol":[1],"state":[32]},null,{"_label":["validateLabel"],"_symbol":["validateSymbol"]}]]],["kol-alert-wc_3",[[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}],[4,"kol-heading-wc",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"],"_variant":["validateVariant"]}],[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-pagination",[[33,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-tree-item-wc",[[4,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"state":[32],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]},null,{"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]},null,{"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-tree-wc",[[4,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_alert":[1540],"_disabled":[4],"_error":[1],"_hideError":[1540,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1025],"state":[32],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_alert":["validateAlert"],"_disabled":["validateDisabled"],"_error":["validateError"],"_hideError":["validateHideError"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-button-group-wc",[[4,"kol-button-group-wc",{"state":[32]}]]],["kol-button",[[33,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"state":[32]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-link",[[33,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-input",[[4,"kol-input",{"_accessKey":[1,"_access-key"],"_alert":[4],"_currentLength":[2,"_current-length"],"_disabled":[4],"_error":[1],"_hasCounter":[4,"_has-counter"],"_hideError":[4,"_hide-error"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[16],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_readOnly":[4,"_read-only"],"_renderNoLabel":[4,"_render-no-label"],"_required":[4],"_slotName":[1,"_slot-name"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[4]}]]]]'),a)};export{defineCustomElements};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{w as watchValidator,o as headingLevelOptions}from"./index-c3ae175d.js";const watchHeadingLevel=(e,a)=>{watchValidator(e,"_level",(e=>"number"==typeof e&&headingLevelOptions.includes(e)),new Set([`Number {${headingLevelOptions.join(", ")}`]),a,{defaultValue:1,required:!0})};export{watchHeadingLevel as w};
@@ -1 +1 @@
1
- {"file":"validation-e897e36e.js","mappings":";;;;;MAKa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAoB;IAC3F,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAoB;QACpB,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KACxE,EACD,IAAI,GAAG,CAAC,CAAC,WAAW,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EACtD,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { HeadingLevel } from '@public-ui/schema';\nimport { headingLevelOptions, watchValidator } from '@public-ui/schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: HeadingLevel): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value?: HeadingLevel): boolean => {\n\t\t\treturn typeof value === 'number' && headingLevelOptions.includes(value);\n\t\t},\n\t\tnew Set([`Number {${headingLevelOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\n\t\t}\n\t);\n};\n"],"version":3}
1
+ {"file":"validation-005508b2.js","mappings":";;;;;MAKa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAoB;IAC3F,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAoB;QACpB,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KACxE,EACD,IAAI,GAAG,CAAC,CAAC,WAAW,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EACtD,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { HeadingLevel } from '@public-ui/schema';\nimport { headingLevelOptions, watchValidator } from '@public-ui/schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: HeadingLevel): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value?: HeadingLevel): boolean => {\n\t\t\treturn typeof value === 'number' && headingLevelOptions.includes(value);\n\t\t},\n\t\tnew Set([`Number {${headingLevelOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\n\t\t}\n\t);\n};\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as watchJsonArrayString,z as uiUxHintMillerscheZahl}from"./index-c3ae175d.js";const watchNavLinks=(t,a,i)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),i),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
@@ -1 +1 @@
1
- {"file":"validation-5ab0a1be.js","mappings":";;;;;MAOa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { HrefProp, LabelProp, Stringified } from '@public-ui/schema';\nimport { uiUxHintMillerscheZahl, watchJsonArrayString } from '@public-ui/schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
1
+ {"file":"validation-f540005c.js","mappings":";;;;;MAOa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { HrefProp, LabelProp, Stringified } from '@public-ui/schema';\nimport { uiUxHintMillerscheZahl, watchJsonArrayString } from '@public-ui/schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as t}from"./index-836a963f.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,i=Math.round,r=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 y(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return y(x(t))}function w(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=h(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=O(l)),[l,O(l)]}function v(t){const e=O(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>f[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function R(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function O(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function F(t,e,n){let{reference:o,floating:i}=t;const r=x(e),l=g(e),c=h(l),s=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[c]/2-i[c]/2;let y;switch(s){case"top":y={x:f,y:o.y-i.height};break;case"bottom":y={x:f,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:u};break;case"left":y={x:o.x-i.width,y:u};break;default:y={x:o.x,y:o.y}}switch(p(e)){case"start":y[l]-=d*(n&&a?-1:1);break;case"end":y[l]+=d*(n&&a?-1:1)}return y}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},p=0;for(let n=0;n<c.length;n++){const{name:r,fn:h}=c[n],{x:g,y:y,data:x,reset:w}=await h({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(a=!0===w.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):w.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:p=0}=d(e,t),h=S(p),g=c[m?"floating"===u?"reference":"floating":u],y=D(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(c.floating)),boundary:a,rootBoundary:f,strategy:s})),x="floating"===u?{...l.floating,x:o,y:i}:l.reference,w=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(w))&&await(null==r.getScale?void 0:r.getScale(w))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:w,strategy:s}):x);return{top:(y.top-b.top+h.top)/v.y,bottom:(b.bottom-y.bottom+h.bottom)/v.y,left:(y.left-b.left+h.left)/v.x,right:(b.right-y.right+h.right)/v.x}}const T=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 y=S(m),x={x:n,y:o},w=g(i),v=h(w),b=await l.getDimensions(f),R="y"===w,T=R?"top":"left",A=R?"bottom":"right",L=R?"clientHeight":"clientWidth",E=r.reference[v]+r.reference[w]-x[w]-r.floating[v],D=x[w]-r.reference[w],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[L]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[L]||r.floating[v]);const H=E/2-D/2,P=C/2-b[v]/2-1,F=s(y[T],P),k=s(y[A],P),B=F,W=C-b[v]-k,_=C/2-b[v]/2+H,$=u(B,_,W),z=!a.arrow&&null!=p(i)&&_!==$&&r.reference[v]/2-(_<B?F:k)-b[v]/2<0,M=z?_<B?_-B:_-W:0;return{[w]:x[w]+M,data:{[w]:$,centerOffset:_-$-M,...z&&{alignmentOffset:M}},reset:z}}});function C(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&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...x}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,x),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,T=v[R];if(null==T)return{};const A=w(T,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==T)return{reset:{placement:v[0]}};const L=[b[m(T)],b[A[0]],b[A[1]]],E=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:L}],D=v[R+1];if(D)return{data:{index:R+1,overflows:E},reset:{placement:D}};const O=E.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])),S=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=S[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:E},reset:{placement:H}}:{}}}},z=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:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const b=m(i),T=m(c)===c,A=await(null==s.isRTL?void 0:s.isRTL(a.floating)),L=p||(T||!y?[O(c)]:v(c));p||"none"===g||L.push(...R(c,y,g,A));const E=[c,...L],D=await $(e,x),S=[];let C=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(D[b]),u){const t=w(i,l,A);S.push(D[t[0]],D[t[1]])}if(C=[...C,{placement:i,overflows:S}],!S.every((t=>t<=0))){var H,P;const t=((null==(H=r.flip)?void 0:H.index)||0)+1,e=E[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let n=null==(P=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:P.placement;if(!n)switch(h){case"bestFit":{var F;const t=null==(F=C.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:F[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function L(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 j(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=>D(L(t))))}const I=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),p=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(o.reference))||[]),h=j(p),g=D(L(p)),y=S(a);const w=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=f&&null!=u)return h.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(h.length>=2){if("y"===x(n)){const t=h[0],e=h[h.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=c(...h.map((t=>t.right))),o=s(...h.map((t=>t.left))),i=h.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 g}},floating:o.floating,strategy:l});return i.reference.x!==w.reference.x||i.reference.y!==w.reference.y||i.reference.width!==w.reference.width||i.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===x(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=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:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=x(m(i)),h=y(p);let g=a[h],w=a[p];if(r){const t="y"===h?"bottom":"right";g=u(g+f["y"===h?"top":"left"],g,g-f[t])}if(l){const t="y"===p?"bottom":"right";w=u(w+f["y"===p?"top":"left"],w,w-f[t])}const v=c.fn({...e,[h]:g,[p]:w});return{...v,data:{x:v.x-n,y:v.y-o}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=x(i),p=y(u);let h=f[p],g=f[u];const w=d(c,e),v="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;h<e?h=e:h>n&&(h=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(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);g<n?g=n:g>o&&(g=o)}return{[p]:h,[u]:g}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:l=(()=>{}),...a}=d(t,e),f=await $(e,a),u=m(n),h=p(n),g="y"===x(n),{width:y,height:w}=o.floating;let v,b;"top"===u||"bottom"===u?(v=u,b=h===(await(null==i.isRTL?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(b=u,v="end"===h?"top":"bottom");const R=w-f[v],T=y-f[b],A=!e.middlewareData.shift;let L=R,E=T;if(g){const t=y-f.left-f.right;E=h||A?s(T,t):t}else{const t=w-f.top-f.bottom;L=h||A?s(R,t):t}if(A&&!h){const t=c(f.left,0),e=c(f.right,0),n=c(f.top,0),o=c(f.bottom,0);g?E=y-2*(0!==t||0!==e?t+e:c(f.left,f.right)):L=w-2*(0!==n||0!==o?n+o:c(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:L});const D=await i.getDimensions(r.floating);return y!==D.width||w!==D.height?{reset:{rects:!0}}:{}}}};function Y(t){return J(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function G(t){var e;return null==(e=(J(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function J(t){return t instanceof Node||t instanceof _(t).Node}function K(t){return t instanceof Element||t instanceof _(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof _(t).HTMLElement}function U(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _(t).ShadowRoot)}function Z(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function tt(t){return["table","td","th"].includes(Y(t))}function nt(t){const e=ot(),n=ct(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function et(t){let e=rt(t);for(;Q(e)&&!st(e);){if(nt(e))return e;e=rt(e)}return null}function ot(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function st(t){return["html","body","#document"].includes(Y(t))}function ct(t){return _(t).getComputedStyle(t)}function it(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function rt(t){if("html"===Y(t))return t;const e=t.assignedSlot||t.parentNode||U(t)&&t.host||G(t);return U(e)?e.host:e}function lt(t){const e=rt(t);return st(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Z(e)?e:lt(e)}function at(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=lt(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=_(i);return r?e.concat(l,l.visualViewport||[],Z(i)?i:[],l.frameElement&&n?at(l.frameElement):[]):e.concat(i,at(i,[],n))}function ft(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Q(t),l=r?t.offsetWidth:n,c=r?t.offsetHeight:o,s=i(n)!==l||i(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function ut(t){return K(t)?t:t.contextElement}function dt(t){const e=ut(t);if(!Q(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:c}=ft(e);let s=(c?i(n.width):n.width)/o,a=(c?i(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const mt=l(0);function pt(t){const e=_(t);return ot()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mt}function yt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==_(t))&&e}function ht(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=ut(t);let c=l(1);e&&(o?K(o)&&(c=dt(o)):c=dt(t));const s=yt(r,n,o)?pt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=_(r),e=o&&K(o)?_(o):o;let n=t,i=n.frameElement;for(;i&&o&&e!==n;){const t=dt(i),e=i.getBoundingClientRect(),o=ct(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=_(i),i=n.frameElement}}return D({width:u,height:d,x:a,y:f})}const xt=[":popover-open",":modal"];function gt(t){return xt.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function wt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=G(o),s=!!e&&gt(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=Q(o);if((d||!d&&!r)&&(("body"!==Y(o)||Z(c))&&(a=it(o)),Q(o))){const t=ht(o);f=dt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x,y:n.y*f.y-a.scrollTop*f.y+u.y}}function vt(t){return Array.from(t.getClientRects())}function bt(t){return ht(G(t)).left+it(t).scrollLeft}function At(t){const e=G(t),n=it(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+bt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(l+=c(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}function Rt(t,e){const n=_(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=ot();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function Ot(t,e){const n=ht(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=Q(t)?dt(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function kt(t,e,n){let o;if("viewport"===e)o=Rt(t,n);else if("document"===e)o=At(G(t));else if(K(e))o=Ot(e,n);else{const n=pt(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return D(o)}function St(t,e){const n=rt(t);return!(n===e||!K(n)||st(n))&&("fixed"===ct(n).position||St(n,e))}function Dt(t,e){const n=e.get(t);if(n)return n;let o=at(t,[],!1).filter((t=>K(t)&&"body"!==Y(t))),i=null;const r="fixed"===ct(t).position;let l=r?rt(t):t;for(;K(l)&&!st(l);){const e=ct(l),n=nt(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||Z(l)&&!n&&St(t,l))?o=o.filter((t=>t!==l)):i=e,l=rt(l)}return e.set(t,o),o}function Ft(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[..."clippingAncestors"===n?Dt(e,this._c):[].concat(n),o],l=r[0],a=r.reduce(((t,n)=>{const o=kt(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}),kt(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Pt(t){const{width:e,height:n}=ft(t);return{width:e,height:n}}function $t(t,e,n){const o=Q(e),i=G(e),r="fixed"===n,c=ht(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);if(o||!o&&!r)if(("body"!==Y(e)||Z(i))&&(s=it(e)),o){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=bt(i));return{x:c.left+s.scrollLeft-a.x,y:c.top+s.scrollTop-a.y,width:c.width,height:c.height}}function Tt(t,e){return Q(t)&&"fixed"!==ct(t).position?e?e(t):t.offsetParent:null}function Ct(t,e){const n=_(t);if(!Q(t)||gt(t))return n;let o=Tt(t,e);for(;o&&tt(o)&&"static"===ct(o).position;)o=Tt(o,e);return o&&("html"===Y(o)||"body"===Y(o)&&"static"===ct(o).position&&!nt(o))?n:o||et(t)||n}const Et=async function(t){const e=this.getOffsetParent||Ct,n=this.getDimensions;return{reference:$t(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}};function zt(t){return"rtl"===ct(t).direction}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:wt,getDocumentElement:G,getClippingRect:Ft,getOffsetParent:Ct,getElementRects:Et,getClientRects:vt,getDimensions:Pt,getScale:dt,isElement:K,isRTL:zt};function Ht(t,e){let n,o=null;const i=G(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{left:d,top:m,width:p,height:h}=t.getBoundingClientRect();if(f||e(),!p||!h)return;const g={rootMargin:-r(m)+"px "+-r(i.clientWidth-(d+p))+"px "+-r(i.clientHeight-(m+h))+"px "+-r(d)+"px",threshold:c(0,s(1,u))||1};let y=!0;function x(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),100)}y=!1}try{o=new IntersectionObserver(x,{...g,root:i.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}function Mt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=ut(t),f=i||r?[...a?at(a):[],...at(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?Ht(a,n):null;let d,m=-1,p=null;l&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&p&&(p.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),n()})),a&&!s&&p.observe(a),p.observe(e));let h=s?ht(t):null;return s&&function e(){const o=ht(t);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=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=p)||t.disconnect(),p=null,s&&cancelAnimationFrame(d)}}const Lt=W,jt=z,It=T,Nt=(t,e,n)=>{const o=new Map,i={platform:Bt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},qt=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[q(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),jt(),Lt()];o&&t.push(It({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Nt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}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===(c=f.arrow)||void 0===c?void 0:c.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{qt as a,Mt as b};
4
+ import{p as t}from"./index-c3ae175d.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,i=Math.round,r=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 y(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return y(x(t))}function w(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=h(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=O(l)),[l,O(l)]}function v(t){const e=O(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>f[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function R(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function O(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function F(t,e,n){let{reference:o,floating:i}=t;const r=x(e),l=g(e),c=h(l),s=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[c]/2-i[c]/2;let y;switch(s){case"top":y={x:f,y:o.y-i.height};break;case"bottom":y={x:f,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:u};break;case"left":y={x:o.x-i.width,y:u};break;default:y={x:o.x,y:o.y}}switch(p(e)){case"start":y[l]-=d*(n&&a?-1:1);break;case"end":y[l]+=d*(n&&a?-1:1)}return y}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},p=0;for(let n=0;n<c.length;n++){const{name:r,fn:h}=c[n],{x:g,y:y,data:x,reset:w}=await h({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(a=!0===w.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):w.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:p=0}=d(e,t),h=S(p),g=c[m?"floating"===u?"reference":"floating":u],y=D(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(c.floating)),boundary:a,rootBoundary:f,strategy:s})),x="floating"===u?{...l.floating,x:o,y:i}:l.reference,w=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(w))&&await(null==r.getScale?void 0:r.getScale(w))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:w,strategy:s}):x);return{top:(y.top-b.top+h.top)/v.y,bottom:(b.bottom-y.bottom+h.bottom)/v.y,left:(y.left-b.left+h.left)/v.x,right:(b.right-y.right+h.right)/v.x}}const T=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 y=S(m),x={x:n,y:o},w=g(i),v=h(w),b=await l.getDimensions(f),R="y"===w,T=R?"top":"left",A=R?"bottom":"right",L=R?"clientHeight":"clientWidth",E=r.reference[v]+r.reference[w]-x[w]-r.floating[v],D=x[w]-r.reference[w],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[L]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[L]||r.floating[v]);const H=E/2-D/2,P=C/2-b[v]/2-1,F=s(y[T],P),k=s(y[A],P),B=F,W=C-b[v]-k,_=C/2-b[v]/2+H,$=u(B,_,W),z=!a.arrow&&null!=p(i)&&_!==$&&r.reference[v]/2-(_<B?F:k)-b[v]/2<0,M=z?_<B?_-B:_-W:0;return{[w]:x[w]+M,data:{[w]:$,centerOffset:_-$-M,...z&&{alignmentOffset:M}},reset:z}}});function C(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&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...x}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,x),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,T=v[R];if(null==T)return{};const A=w(T,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==T)return{reset:{placement:v[0]}};const L=[b[m(T)],b[A[0]],b[A[1]]],E=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:L}],D=v[R+1];if(D)return{data:{index:R+1,overflows:E},reset:{placement:D}};const O=E.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])),S=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=S[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:E},reset:{placement:H}}:{}}}},z=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:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...x}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const b=m(i),T=m(c)===c,A=await(null==s.isRTL?void 0:s.isRTL(a.floating)),L=p||(T||!y?[O(c)]:v(c));p||"none"===g||L.push(...R(c,y,g,A));const E=[c,...L],D=await $(e,x),S=[];let C=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(D[b]),u){const t=w(i,l,A);S.push(D[t[0]],D[t[1]])}if(C=[...C,{placement:i,overflows:S}],!S.every((t=>t<=0))){var H,P;const t=((null==(H=r.flip)?void 0:H.index)||0)+1,e=E[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let n=null==(P=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:P.placement;if(!n)switch(h){case"bestFit":{var F;const t=null==(F=C.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:F[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function L(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 j(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=>D(L(t))))}const I=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),p=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(o.reference))||[]),h=j(p),g=D(L(p)),y=S(a);const w=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=f&&null!=u)return h.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(h.length>=2){if("y"===x(n)){const t=h[0],e=h[h.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=c(...h.map((t=>t.right))),o=s(...h.map((t=>t.left))),i=h.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 g}},floating:o.floating,strategy:l});return i.reference.x!==w.reference.x||i.reference.y!==w.reference.y||i.reference.width!==w.reference.width||i.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===x(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=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:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=x(m(i)),h=y(p);let g=a[h],w=a[p];if(r){const t="y"===h?"bottom":"right";g=u(g+f["y"===h?"top":"left"],g,g-f[t])}if(l){const t="y"===p?"bottom":"right";w=u(w+f["y"===p?"top":"left"],w,w-f[t])}const v=c.fn({...e,[h]:g,[p]:w});return{...v,data:{x:v.x-n,y:v.y-o}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=x(i),p=y(u);let h=f[p],g=f[u];const w=d(c,e),v="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;h<e?h=e:h>n&&(h=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(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);g<n?g=n:g>o&&(g=o)}return{[p]:h,[u]:g}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:l=(()=>{}),...a}=d(t,e),f=await $(e,a),u=m(n),h=p(n),g="y"===x(n),{width:y,height:w}=o.floating;let v,b;"top"===u||"bottom"===u?(v=u,b=h===(await(null==i.isRTL?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(b=u,v="end"===h?"top":"bottom");const R=w-f[v],T=y-f[b],A=!e.middlewareData.shift;let L=R,E=T;if(g){const t=y-f.left-f.right;E=h||A?s(T,t):t}else{const t=w-f.top-f.bottom;L=h||A?s(R,t):t}if(A&&!h){const t=c(f.left,0),e=c(f.right,0),n=c(f.top,0),o=c(f.bottom,0);g?E=y-2*(0!==t||0!==e?t+e:c(f.left,f.right)):L=w-2*(0!==n||0!==o?n+o:c(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:L});const D=await i.getDimensions(r.floating);return y!==D.width||w!==D.height?{reset:{rects:!0}}:{}}}};function Y(t){return J(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function G(t){var e;return null==(e=(J(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function J(t){return t instanceof Node||t instanceof _(t).Node}function K(t){return t instanceof Element||t instanceof _(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof _(t).HTMLElement}function U(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _(t).ShadowRoot)}function Z(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function tt(t){return["table","td","th"].includes(Y(t))}function nt(t){const e=ot(),n=ct(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function et(t){let e=rt(t);for(;Q(e)&&!st(e);){if(nt(e))return e;e=rt(e)}return null}function ot(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function st(t){return["html","body","#document"].includes(Y(t))}function ct(t){return _(t).getComputedStyle(t)}function it(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function rt(t){if("html"===Y(t))return t;const e=t.assignedSlot||t.parentNode||U(t)&&t.host||G(t);return U(e)?e.host:e}function lt(t){const e=rt(t);return st(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Z(e)?e:lt(e)}function at(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=lt(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=_(i);return r?e.concat(l,l.visualViewport||[],Z(i)?i:[],l.frameElement&&n?at(l.frameElement):[]):e.concat(i,at(i,[],n))}function ft(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Q(t),l=r?t.offsetWidth:n,c=r?t.offsetHeight:o,s=i(n)!==l||i(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function ut(t){return K(t)?t:t.contextElement}function dt(t){const e=ut(t);if(!Q(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:c}=ft(e);let s=(c?i(n.width):n.width)/o,a=(c?i(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const mt=l(0);function pt(t){const e=_(t);return ot()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mt}function yt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==_(t))&&e}function ht(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=ut(t);let c=l(1);e&&(o?K(o)&&(c=dt(o)):c=dt(t));const s=yt(r,n,o)?pt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=_(r),e=o&&K(o)?_(o):o;let n=t,i=n.frameElement;for(;i&&o&&e!==n;){const t=dt(i),e=i.getBoundingClientRect(),o=ct(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=_(i),i=n.frameElement}}return D({width:u,height:d,x:a,y:f})}const xt=[":popover-open",":modal"];function gt(t){return xt.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function wt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=G(o),s=!!e&&gt(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=Q(o);if((d||!d&&!r)&&(("body"!==Y(o)||Z(c))&&(a=it(o)),Q(o))){const t=ht(o);f=dt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x,y:n.y*f.y-a.scrollTop*f.y+u.y}}function vt(t){return Array.from(t.getClientRects())}function bt(t){return ht(G(t)).left+it(t).scrollLeft}function At(t){const e=G(t),n=it(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+bt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(l+=c(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}function Rt(t,e){const n=_(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=ot();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function Ot(t,e){const n=ht(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=Q(t)?dt(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function kt(t,e,n){let o;if("viewport"===e)o=Rt(t,n);else if("document"===e)o=At(G(t));else if(K(e))o=Ot(e,n);else{const n=pt(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return D(o)}function St(t,e){const n=rt(t);return!(n===e||!K(n)||st(n))&&("fixed"===ct(n).position||St(n,e))}function Dt(t,e){const n=e.get(t);if(n)return n;let o=at(t,[],!1).filter((t=>K(t)&&"body"!==Y(t))),i=null;const r="fixed"===ct(t).position;let l=r?rt(t):t;for(;K(l)&&!st(l);){const e=ct(l),n=nt(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||Z(l)&&!n&&St(t,l))?o=o.filter((t=>t!==l)):i=e,l=rt(l)}return e.set(t,o),o}function Ft(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[..."clippingAncestors"===n?Dt(e,this._c):[].concat(n),o],l=r[0],a=r.reduce(((t,n)=>{const o=kt(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}),kt(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Pt(t){const{width:e,height:n}=ft(t);return{width:e,height:n}}function $t(t,e,n){const o=Q(e),i=G(e),r="fixed"===n,c=ht(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);if(o||!o&&!r)if(("body"!==Y(e)||Z(i))&&(s=it(e)),o){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=bt(i));return{x:c.left+s.scrollLeft-a.x,y:c.top+s.scrollTop-a.y,width:c.width,height:c.height}}function Tt(t,e){return Q(t)&&"fixed"!==ct(t).position?e?e(t):t.offsetParent:null}function Ct(t,e){const n=_(t);if(!Q(t)||gt(t))return n;let o=Tt(t,e);for(;o&&tt(o)&&"static"===ct(o).position;)o=Tt(o,e);return o&&("html"===Y(o)||"body"===Y(o)&&"static"===ct(o).position&&!nt(o))?n:o||et(t)||n}const Et=async function(t){const e=this.getOffsetParent||Ct,n=this.getDimensions;return{reference:$t(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}};function zt(t){return"rtl"===ct(t).direction}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:wt,getDocumentElement:G,getClippingRect:Ft,getOffsetParent:Ct,getElementRects:Et,getClientRects:vt,getDimensions:Pt,getScale:dt,isElement:K,isRTL:zt};function Ht(t,e){let n,o=null;const i=G(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{left:d,top:m,width:p,height:h}=t.getBoundingClientRect();if(f||e(),!p||!h)return;const g={rootMargin:-r(m)+"px "+-r(i.clientWidth-(d+p))+"px "+-r(i.clientHeight-(m+h))+"px "+-r(d)+"px",threshold:c(0,s(1,u))||1};let y=!0;function x(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),100)}y=!1}try{o=new IntersectionObserver(x,{...g,root:i.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}function Mt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=ut(t),f=i||r?[...a?at(a):[],...at(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?Ht(a,n):null;let d,m=-1,p=null;l&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&p&&(p.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=p)||t.observe(e)}))),n()})),a&&!s&&p.observe(a),p.observe(e));let h=s?ht(t):null;return s&&function e(){const o=ht(t);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=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=p)||t.disconnect(),p=null,s&&cancelAnimationFrame(d)}}const Lt=W,jt=z,It=T,Nt=(t,e,n)=>{const o=new Map,i={platform:Bt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},qt=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[q(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),jt(),Lt()];o&&t.push(It({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Nt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}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===(c=f.arrow)||void 0===c?void 0:c.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{qt as a,Mt as b};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{L as o,p as t,e as a,S as e}from"./index-c3ae175d.js";import{a as s}from"./index-a5e15b1e.js";import{r as i}from"./index-eb50dd62.js";const f=async()=>{s((o=>{try{o.shadowRoot instanceof ShadowRoot&&a(o,e(o))}catch(o){}return"default"})),await i([],[]),import("./devtools-4bcff5b1.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)})),t&&import("./index-12a653a5.js")},n=f;export{n as g};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["appGlobalScript","async","setMode","elm","shadowRoot","ShadowRoot","setThemeStyle","getThemeDetails","error","register","import","then","devTools","initialize","catch","Log","processEnv","globalScripts"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log, processEnv } from '@public-ui/schema';\nimport { setMode } from '@stencil/core';\n\nimport { register } from '../core';\n\n// ts-prune-ignore-next\nexport default async (): Promise<void> => {\n\tsetMode((elm) => {\n\t\ttry {\n\t\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t\t}\n\t\t} catch (error) {\n\t\t\t/**\n\t\t\t * Try is needed for SSR.\n\t\t\t * - no HTMLElement is available\n\t\t\t * - no ShadowRoot is available\n\t\t\t */\n\t\t}\n\t\treturn 'default';\n\t});\n\n\tawait register([], []);\n\n\timport('./devtools')\n\t\t.then((devTools) => {\n\t\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\t\tdevTools.initialize();\n\t\t\t}\n\t\t})\n\t\t.catch((error) => {\n\t\t\tLog.error(error);\n\t\t});\n\n\t/* Import scripts necessary for the development server, i.e. the /dev/*.html files. Only include in development environment. */\n\tif (processEnv) {\n\t\timport('../dev');\n\t}\n};\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"mappings":";;;6IAQA,MAAAA,EAAeC,UACdC,GAASC,IACR,IACC,GAAIA,EAAIC,sBAAsBC,WAAY,CACzCC,EAAcH,EAAKI,EAAgBJ,G,EAEnC,MAAOK,G,CAOT,MAAO,SAAS,UAGXC,EAAS,GAAI,IAEnBC,OAAO,0BACLC,MAAMC,IACN,UAAWA,IAAa,UAAYA,IAAa,aAAeA,EAASC,aAAe,WAAY,CACnGD,EAASC,Y,KAGVC,OAAON,IACPO,EAAIP,MAAMA,EAAM,IAIlB,GAAIQ,EAAY,CACfN,OAAO,sB,GCrCG,MAACO,EAAgBjB,S"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a0 as t,h as e,a1 as i,a2 as s}from"./index-c3ae175d.js";class a{constructor(i,o,s){var a,n;if(this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var i;const o=null===(i=this.formAssociated)||void 0===i?void 0:i.getAttribute("name");null!==o&&""!==o||e(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);const s=this.tryToStringifyValue(t);this.syncValue(t,s,this.formAssociated),this.syncValue(t,s,this.syncToOwnInput)},this.component=i,this.host=this.findHostWithShadowRoot(s),this.name=o,this.experimentalMode){switch(null===(a=this.host)||void 0===a||a.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.name){case"button":this.formAssociated=document.createElement("button");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("aria-hidden","true"),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(n=this.host)||void 0===n||n.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 i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)if("select"===this.name)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)}}));else"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}validateName(t){s(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&e("Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.")}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{a as A};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AssociatedInputController","constructor","component","name","host","this","experimentalMode","getExperimentalMode","setFormAssociatedValue","rawValue","_a","formAssociated","getAttribute","devHint","strValue","tryToStringifyValue","syncValue","syncToOwnInput","findHostWithShadowRoot","querySelectorAll","forEach","el","removeChild","document","createElement","setAttribute","_b","appendChild","shadowRoot","body","parentNode","qualifiedName","element","value","JSON","stringify","Error","e","removeAttribute","toString","undefined","devWarning","associatedElement","Array","isArray","rawValueItem","strValueItem","option","validateName","hooks","afterPatch","state","_name","validateSyncValueBySelector","input","querySelector","componentWillLoad","_syncValueBySelector"],"sources":["src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import type { NamePropType, PropSyncValueBySelector, StencilUnknown, SyncValueBySelectorPropType } from '@public-ui/schema';\nimport { devHint, devWarning, getExperimentalMode, validateName } from '@public-ui/schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class AssociatedInputController implements Watches {\n\tprivate readonly experimentalMode = getExperimentalMode();\n\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly name: string;\n\tprotected readonly host?: HTMLElement;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.name = name;\n\n\t\tif (this.experimentalMode) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'button':\n\t\t\t\t\tthis.formAssociated = document.createElement('button');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('aria-hidden', 'true');\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: HTMLElement): HTMLElement | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\thost = host?.parentNode as HTMLElement;\n\t\t\tif ((host as unknown as ShadowRoot).host) {\n\t\t\t\thost = (host as unknown as ShadowRoot).host as HTMLElement;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (this.experimentalMode) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.name}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.name) {\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.`\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (this.experimentalMode && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{w as t,ac as e,a7 as s,C as i,B as a}from"./index-c3ae175d.js";import{I as h}from"./controller-icon-1883d4c6.js";class o extends h{constructor(t,e,o){super(t,e,o),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){e(this.component,t)}validateMaxLength(t){s(this.component,"_maxLength",t,{min:0})}validatePattern(t){i(this.component,"_pattern",t)}validatePlaceholder(t){i(this.component,"_placeholder",t)}validateReadOnly(t){a(this.component,"_readOnly",t)}validateRequired(t){a(this.component,"_required",t)}validateValue(t){i(this.component,"_value",t),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)}onBlur(t){this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:this.placeholderCache}),this.placeholderCache=void 0,super.onBlur(t)}onFocus(t){this.placeholderCache=this.component.state._placeholder,this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:void 0}),super.onFocus(t)}}export{o as I};
@@ -1 +1 @@
1
- {"version":3,"names":["InputPasswordController","InputIconController","constructor","component","name","host","super","this","validateAutoComplete","value","watchValidator","Set","validateHasCounter","validateMaxLength","watchNumber","min","validatePattern","watchString","validatePlaceholder","validateReadOnly","watchBoolean","validateRequired","validateValue","setFormAssociatedValue","state","_value","componentWillLoad","_autoComplete","_hasCounter","_maxLength","_pattern","_placeholder","_readOnly","_required","onBlur","event","Object","assign","placeholderCache","undefined","onFocus"],"sources":["src/components/input-password/controller.ts"],"sourcesContent":["import type { InputPasswordProps, InputPasswordWatches, InputTypeOnOff } from '@public-ui/schema';\nimport { validateHasCounter, watchBoolean, watchNumber, watchString, watchValidator } from '@public-ui/schema';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputPasswordController extends InputIconController implements InputPasswordWatches {\n\tprotected readonly component: Generic.Element.Component & InputPasswordProps;\n\tprivate placeholderCache?: string;\n\n\tpublic constructor(component: Generic.Element.Component & InputPasswordProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_autoComplete',\n\t\t\t(value): boolean => typeof value === 'string' && (value === 'on' || value === 'off'),\n\t\t\tnew Set(['on | off']),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tvalidateHasCounter(this.component, value);\n\t}\n\n\tpublic validateMaxLength(value?: number): void {\n\t\twatchNumber(this.component, '_maxLength', value, {\n\t\t\tmin: 0,\n\t\t});\n\t}\n\n\tpublic validatePattern(value?: string): void {\n\t\twatchString(this.component, '_pattern', value);\n\t}\n\n\tpublic validatePlaceholder(value?: string): void {\n\t\twatchString(this.component, '_placeholder', value);\n\t}\n\n\tpublic validateReadOnly(value?: boolean): void {\n\t\twatchBoolean(this.component, '_readOnly', value);\n\t}\n\n\tpublic validateRequired(value?: boolean): void {\n\t\twatchBoolean(this.component, '_required', value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t\tthis.validateMaxLength(this.component._maxLength);\n\t\tthis.validatePattern(this.component._pattern);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateValue(this.component._value);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\t/**\n\t\t * Beim Screenreader NVDA wird der Placeholder mit\n\t\t * vorgelesen. Somit kann es vorkommen, dass das\n\t\t * Label und der Placeholder vorgelesen werden.\n\t\t *\n\t\t * Aufgrund dessen, dass das Label immer vorgelesen\n\t\t * werden muss, kann das zusätzliche Vorlesen des\n\t\t * Placeholders störend sein.\n\t\t *\n\t\t * Damit beim Fokussieren das \"doppelte\" vorlesen\n\t\t * vermieden werden kann, wird der Placeholder für\n\t\t * den fokussierten Feldstatus entfernt.\n\t\t *\n\t\t * Hinweis: Für alle Nutzenden müssen die all dar-\n\t\t * gestellten Inhalte, also auch der Place-\n\t\t * holder, gleichermaßen zugänglich sein.\n\t\t * Das oben beschriebene Handling erfüllt\n\t\t * diese Anforderung nicht.\n\t\t */\n\t\tthis.component.state = {\n\t\t\t...this.component.state,\n\t\t\t_placeholder: this.placeholderCache,\n\t\t};\n\t\tthis.placeholderCache = undefined;\n\t\tsuper.onBlur(event);\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\tthis.placeholderCache = this.component.state._placeholder as string;\n\t\tthis.component.state = {\n\t\t\t...this.component.state,\n\t\t\t_placeholder: undefined,\n\t\t};\n\t\tsuper.onFocus(event);\n\t}\n}\n"],"mappings":";;;6HAMaA,UAAgCC,EAI5C,WAAAC,CAAmBC,EAA2DC,EAAcC,GAC3FC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,oBAAAK,CAAqBC,GAC3BC,EACCH,KAAKJ,UACL,iBACCM,UAA0BA,IAAU,WAAaA,IAAU,MAAQA,IAAU,QAC9E,IAAIE,IAAI,CAAC,aACTF,E,CAIK,kBAAAG,CAAmBH,GACzBG,EAAmBL,KAAKJ,UAAWM,E,CAG7B,iBAAAI,CAAkBJ,GACxBK,EAAYP,KAAKJ,UAAW,aAAcM,EAAO,CAChDM,IAAK,G,CAIA,eAAAC,CAAgBP,GACtBQ,EAAYV,KAAKJ,UAAW,WAAYM,E,CAGlC,mBAAAS,CAAoBT,GAC1BQ,EAAYV,KAAKJ,UAAW,eAAgBM,E,CAGtC,gBAAAU,CAAiBV,GACvBW,EAAab,KAAKJ,UAAW,YAAaM,E,CAGpC,gBAAAY,CAAiBZ,GACvBW,EAAab,KAAKJ,UAAW,YAAaM,E,CAGpC,aAAAa,CAAcb,GACpBQ,EAAYV,KAAKJ,UAAW,SAAUM,GACtCF,KAAKgB,uBAAuBhB,KAAKJ,UAAUqB,MAAMC,O,CAG3C,iBAAAC,GACNpB,MAAMoB,oBACNnB,KAAKC,qBAAqBD,KAAKJ,UAAUwB,eACzCpB,KAAKK,mBAAmBL,KAAKJ,UAAUyB,aACvCrB,KAAKM,kBAAkBN,KAAKJ,UAAU0B,YACtCtB,KAAKS,gBAAgBT,KAAKJ,UAAU2B,UACpCvB,KAAKW,oBAAoBX,KAAKJ,UAAU4B,cACxCxB,KAAKY,iBAAiBZ,KAAKJ,UAAU6B,WACrCzB,KAAKc,iBAAiBd,KAAKJ,UAAU8B,WACrC1B,KAAKe,cAAcf,KAAKJ,UAAUsB,O,CAGzB,MAAAS,CAAOC,GAoBhB5B,KAAKJ,UAAUqB,MAAKY,OAAAC,OAAAD,OAAAC,OAAA,GAChB9B,KAAKJ,UAAUqB,OAAK,CACvBO,aAAcxB,KAAK+B,mBAEpB/B,KAAK+B,iBAAmBC,UACxBjC,MAAM4B,OAAOC,E,CAGJ,OAAAK,CAAQL,GACjB5B,KAAK+B,iBAAmB/B,KAAKJ,UAAUqB,MAAMO,aAC7CxB,KAAKJ,UAAUqB,MAAKY,OAAAC,OAAAD,OAAAC,OAAA,GAChB9B,KAAKJ,UAAUqB,OAAK,CACvBO,aAAcQ,YAEfjC,MAAMkC,QAAQL,E"}
1
+ {"version":3,"names":["InputPasswordController","InputIconController","constructor","component","name","host","super","this","validateAutoComplete","value","watchValidator","Set","validateHasCounter","validateMaxLength","watchNumber","min","validatePattern","watchString","validatePlaceholder","validateReadOnly","watchBoolean","validateRequired","validateValue","setFormAssociatedValue","state","_value","componentWillLoad","_autoComplete","_hasCounter","_maxLength","_pattern","_placeholder","_readOnly","_required","onBlur","event","Object","assign","placeholderCache","undefined","onFocus"],"sources":["src/components/input-password/controller.ts"],"sourcesContent":["import type { InputPasswordProps, InputPasswordWatches, InputTypeOnOff } from '@public-ui/schema';\nimport { validateHasCounter, watchBoolean, watchNumber, watchString, watchValidator } from '@public-ui/schema';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputPasswordController extends InputIconController implements InputPasswordWatches {\n\tprotected readonly component: Generic.Element.Component & InputPasswordProps;\n\tprivate placeholderCache?: string;\n\n\tpublic constructor(component: Generic.Element.Component & InputPasswordProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_autoComplete',\n\t\t\t(value): boolean => typeof value === 'string' && (value === 'on' || value === 'off'),\n\t\t\tnew Set(['on | off']),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tvalidateHasCounter(this.component, value);\n\t}\n\n\tpublic validateMaxLength(value?: number): void {\n\t\twatchNumber(this.component, '_maxLength', value, {\n\t\t\tmin: 0,\n\t\t});\n\t}\n\n\tpublic validatePattern(value?: string): void {\n\t\twatchString(this.component, '_pattern', value);\n\t}\n\n\tpublic validatePlaceholder(value?: string): void {\n\t\twatchString(this.component, '_placeholder', value);\n\t}\n\n\tpublic validateReadOnly(value?: boolean): void {\n\t\twatchBoolean(this.component, '_readOnly', value);\n\t}\n\n\tpublic validateRequired(value?: boolean): void {\n\t\twatchBoolean(this.component, '_required', value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t\tthis.validateMaxLength(this.component._maxLength);\n\t\tthis.validatePattern(this.component._pattern);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateValue(this.component._value);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\t/**\n\t\t * Beim Screenreader NVDA wird der Placeholder mit\n\t\t * vorgelesen. Somit kann es vorkommen, dass das\n\t\t * Label und der Placeholder vorgelesen werden.\n\t\t *\n\t\t * Aufgrund dessen, dass das Label immer vorgelesen\n\t\t * werden muss, kann das zusätzliche Vorlesen des\n\t\t * Placeholders störend sein.\n\t\t *\n\t\t * Damit beim Fokussieren das \"doppelte\" vorlesen\n\t\t * vermieden werden kann, wird der Placeholder für\n\t\t * den fokussierten Feldstatus entfernt.\n\t\t *\n\t\t * Hinweis: Für alle Nutzenden müssen die all dar-\n\t\t * gestellten Inhalte, also auch der Place-\n\t\t * holder, gleichermaßen zugänglich sein.\n\t\t * Das oben beschriebene Handling erfüllt\n\t\t * diese Anforderung nicht.\n\t\t */\n\t\tthis.component.state = {\n\t\t\t...this.component.state,\n\t\t\t_placeholder: this.placeholderCache,\n\t\t};\n\t\tthis.placeholderCache = undefined;\n\t\tsuper.onBlur(event);\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\tthis.placeholderCache = this.component.state._placeholder as string;\n\t\tthis.component.state = {\n\t\t\t...this.component.state,\n\t\t\t_placeholder: undefined,\n\t\t};\n\t\tsuper.onFocus(event);\n\t}\n}\n"],"mappings":";;;8HAMaA,UAAgCC,EAI5C,WAAAC,CAAmBC,EAA2DC,EAAcC,GAC3FC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,oBAAAK,CAAqBC,GAC3BC,EACCH,KAAKJ,UACL,iBACCM,UAA0BA,IAAU,WAAaA,IAAU,MAAQA,IAAU,QAC9E,IAAIE,IAAI,CAAC,aACTF,E,CAIK,kBAAAG,CAAmBH,GACzBG,EAAmBL,KAAKJ,UAAWM,E,CAG7B,iBAAAI,CAAkBJ,GACxBK,EAAYP,KAAKJ,UAAW,aAAcM,EAAO,CAChDM,IAAK,G,CAIA,eAAAC,CAAgBP,GACtBQ,EAAYV,KAAKJ,UAAW,WAAYM,E,CAGlC,mBAAAS,CAAoBT,GAC1BQ,EAAYV,KAAKJ,UAAW,eAAgBM,E,CAGtC,gBAAAU,CAAiBV,GACvBW,EAAab,KAAKJ,UAAW,YAAaM,E,CAGpC,gBAAAY,CAAiBZ,GACvBW,EAAab,KAAKJ,UAAW,YAAaM,E,CAGpC,aAAAa,CAAcb,GACpBQ,EAAYV,KAAKJ,UAAW,SAAUM,GACtCF,KAAKgB,uBAAuBhB,KAAKJ,UAAUqB,MAAMC,O,CAG3C,iBAAAC,GACNpB,MAAMoB,oBACNnB,KAAKC,qBAAqBD,KAAKJ,UAAUwB,eACzCpB,KAAKK,mBAAmBL,KAAKJ,UAAUyB,aACvCrB,KAAKM,kBAAkBN,KAAKJ,UAAU0B,YACtCtB,KAAKS,gBAAgBT,KAAKJ,UAAU2B,UACpCvB,KAAKW,oBAAoBX,KAAKJ,UAAU4B,cACxCxB,KAAKY,iBAAiBZ,KAAKJ,UAAU6B,WACrCzB,KAAKc,iBAAiBd,KAAKJ,UAAU8B,WACrC1B,KAAKe,cAAcf,KAAKJ,UAAUsB,O,CAGzB,MAAAS,CAAOC,GAoBhB5B,KAAKJ,UAAUqB,MAAKY,OAAAC,OAAAD,OAAAC,OAAA,GAChB9B,KAAKJ,UAAUqB,OAAK,CACvBO,aAAcxB,KAAK+B,mBAEpB/B,KAAK+B,iBAAmBC,UACxBjC,MAAM4B,OAAOC,E,CAGJ,OAAAK,CAAQL,GACjB5B,KAAK+B,iBAAmB/B,KAAKJ,UAAUqB,MAAMO,aAC7CxB,KAAKJ,UAAUqB,MAAKY,OAAAC,OAAAD,OAAAC,OAAA,GAChB9B,KAAKJ,UAAUqB,OAAK,CACvBO,aAAcQ,YAEfjC,MAAMkC,QAAQL,E"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{B as t,N as i,C as s,O as e,P as h,Q as a,R as r,T as o,h as n,U as d,m as l,t as c,u,V as f}from"./index-c3ae175d.js";import{s as v,t as p}from"./events-29e84d75.js";import{A as y}from"./associated.controller-1c0a6905.js";const m=t=>{const e="string"==typeof t._error&&t._error.length>0&&!0===t._touched,o="string"==typeof t._hint&&t._hint.length>0,n=[];return!0===e&&n.push(`${t._id}-error`),!0===o&&n.push(`${t._id}-hint`),{hasError:e,hasHint:o,ariaDescribedBy:n}};class b extends y{constructor(t,e,o){super(t,e,o),this.component=t}validateAlert(e){t(this.component,"_alert",e)}validateTouched(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class g extends b{constructor(t,e,o){super(t,e,o),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this)},this.component=t}validateAccessKey(t){s(this.component,"_accessKey",t)}validateAdjustHeight(t){e(this.component,t)}validateDisabled(e){t(this.component,"_disabled",e),!0===e&&h()}validateError(t){s(this.component,"_error",t)}validateHideError(t){a(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&o("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){r(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&o("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){s(this.component,"_hint",t)}validateId(t){s(this.component,"_id",t,{hooks:{afterPatch:()=>{this.setAttribute("id",this.formAssociated,this.component.state._id)}},minLength:1}),""!==t&&void 0!==t||n("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){d(this.component,t,{required:!0})}validateOn(t){"object"==typeof t&&l(this.component,"_on",t)}validateSmartButton(t){c(t,(()=>{try{t=u(t)}catch(t){}l(this.component,"_smartButton",t)}))}validateTabIndex(t){f(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),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.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var e;this.component._alert=!0,this.component._touched=!0,v(t),p("blur",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onBlur)&&this.component._on.onBlur(t)}onChange(t){var e;const o=t.target.value;p("change",this.host,o),this.setFormAssociatedValue(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)))}onClick(t){var e;v(t),p("click",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onClick)&&this.component._on.onClick(t)}onFocus(t){var e;this.component._alert=!0,v(t),p("focus",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{g as I,m as g};
@@ -1 +1 @@
1
- {"version":3,"names":["getRenderStates","state","hasError","_error","length","_touched","hasHint","_hint","ariaDescribedBy","push","_id","ControlledInputController","AssociatedInputController","constructor","component","name","host","super","this","validateAlert","value","watchBoolean","validateTouched","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","validateAccessKey","watchString","validateAdjustHeight","validateDisabled","a11yHintDisabled","validateError","validateHideError","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","validateId","setAttribute","formAssociated","minLength","devHint","validateLabel","validateLabelWithExpertSlot","required","validateOn","setState","validateSmartButton","objectObjectHandler","parseJson","e","validateTabIndex","_accessKey","_adjustHeight","_disabled","_label","_smartButton","_on","_tabIndex","event","stopPropagation","tryToDispatchKoliBriEvent","_a","target","setFormAssociatedValue","forEach","listener","addValueChangeListener"],"sources":["src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { TouchedPropType } from '@public-ui/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_error?: string;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasError = typeof state._error === 'string' && state._error.length > 0 && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '@public-ui/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 { AdjustHeightPropType, ButtonProps, HideErrorPropType, InputTypeOnDefault, LabelWithExpertSlotPropType } from '@public-ui/schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateTabIndex,\n\twatchBoolean,\n\twatchString,\n} from '@public-ui/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';\n\ntype ValueChangeListener = (value: string) => 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?: string): void {\n\t\twatchString(this.component, '_accessKey', value);\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\n\tpublic validateError(value?: string): void {\n\t\twatchString(this.component, '_error', value);\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, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('id', this.formAssociated, this.component.state._id as string);\n\t\t\t\t},\n\t\t\t},\n\t\t\tminLength: 1,\n\t\t});\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.`);\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 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 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\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.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._alert = true;\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\tprotected onChange(event: Event): void {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Static form handling\n\t\tthis.setFormAssociatedValue(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\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\tthis.component._alert = true;\n\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};\n}\n"],"mappings":"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"}
1
+ {"version":3,"names":["getRenderStates","state","hasError","_error","length","_touched","hasHint","_hint","ariaDescribedBy","push","_id","ControlledInputController","AssociatedInputController","constructor","component","name","host","super","this","validateAlert","value","watchBoolean","validateTouched","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","validateAccessKey","watchString","validateAdjustHeight","validateDisabled","a11yHintDisabled","validateError","validateHideError","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","validateId","setAttribute","formAssociated","minLength","devHint","validateLabel","validateLabelWithExpertSlot","required","validateOn","setState","validateSmartButton","objectObjectHandler","parseJson","e","validateTabIndex","_accessKey","_adjustHeight","_disabled","_label","_smartButton","_on","_tabIndex","event","stopPropagation","tryToDispatchKoliBriEvent","_a","target","setFormAssociatedValue","forEach","listener","addValueChangeListener"],"sources":["src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { TouchedPropType } from '@public-ui/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_error?: string;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasError = typeof state._error === 'string' && state._error.length > 0 && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '@public-ui/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 { AdjustHeightPropType, ButtonProps, HideErrorPropType, InputTypeOnDefault, LabelWithExpertSlotPropType } from '@public-ui/schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateTabIndex,\n\twatchBoolean,\n\twatchString,\n} from '@public-ui/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';\n\ntype ValueChangeListener = (value: string) => 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?: string): void {\n\t\twatchString(this.component, '_accessKey', value);\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\n\tpublic validateError(value?: string): void {\n\t\twatchString(this.component, '_error', value);\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, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('id', this.formAssociated, this.component.state._id as string);\n\t\t\t\t},\n\t\t\t},\n\t\t\tminLength: 1,\n\t\t});\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.`);\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 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 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\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.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._alert = true;\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\tprotected onChange(event: Event): void {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Static form handling\n\t\tthis.setFormAssociatedValue(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\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\tthis.component._alert = true;\n\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};\n}\n"],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{w as s,ab as t,ac as e,a4 as a}from"./index-c3ae175d.js";import{I as i}from"./controller-1dd244e1.js";class o extends i{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){a(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class r extends o{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateType(o){s(this.component,"_type",(o=>"string"==typeof o&&t.includes(o)),new Set([`String {${t.join(", ")}`]),o)}validateHasCounter(t){e(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{o as I,r as a};
@@ -1 +1 @@
1
- {"version":3,"names":["InputTextEmailController","InputPasswordController","constructor","component","name","host","super","this","validateSuggestions","value","componentWillLoad","_suggestions","InputTextController","hasError","validateType","watchValidator","inputTextTypeOptions","includes","Set","join","validateHasCounter","_type","_hasCounter"],"sources":["src/components/input-text/controller.ts"],"sourcesContent":["import type { InputTextProps, InputTextType, InputTextWatches, PropLabelWithExpertSlot, PropSuggestions, SuggestionsPropType } from '@public-ui/schema';\nimport { inputTextTypeOptions, validateHasCounter, validateSuggestions, watchValidator } from '@public-ui/schema';\n\nimport { InputPasswordController } from '../input-password/controller';\n\nimport type { Generic } from 'adopted-style-sheets';\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tid: string;\n} & PropLabelWithExpertSlot &\n\tPropSuggestions;\ntype InputTextEmailProps = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype InputTextEmailWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class InputTextEmailController extends InputPasswordController implements InputTextEmailWatches {\n\tprotected readonly component: Generic.Element.Component & InputTextEmailProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputTextEmailProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t}\n}\n\nexport class InputTextController extends InputTextEmailController implements InputTextWatches {\n\tprotected readonly component: Generic.Element.Component & InputTextProps;\n\n\tpublic hasError = false;\n\n\tpublic constructor(component: Generic.Element.Component & InputTextProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateType(value?: InputTextType): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_type',\n\t\t\t(value): boolean => typeof value === 'string' && inputTextTypeOptions.includes(value),\n\t\t\tnew Set([`String {${inputTextTypeOptions.join(', ')}`]),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tvalidateHasCounter(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateType(this.component._type);\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t}\n}\n"],"mappings":";;;kHAcaA,UAAiCC,EAG7C,WAAAC,CAAmBC,EAA4DC,EAAcC,GAC5FC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,mBAAAK,CAAoBC,GAC1BD,EAAoBD,KAAKJ,UAAWM,E,CAG9B,iBAAAC,GACNJ,MAAMI,oBACNH,KAAKC,oBAAoBD,KAAKJ,UAAUQ,a,QAI7BC,UAA4BZ,EAKxC,WAAAE,CAAmBC,EAAuDC,EAAcC,GACvFC,MAAMH,EAAWC,EAAMC,GAHjBE,KAAAM,SAAW,MAIjBN,KAAKJ,UAAYA,C,CAGX,YAAAW,CAAaL,GACnBM,EACCR,KAAKJ,UACL,SACCM,UAA0BA,IAAU,UAAYO,EAAqBC,SAASR,IAC/E,IAAIS,IAAI,CAAC,WAAWF,EAAqBG,KAAK,UAC9CV,E,CAIK,kBAAAW,CAAmBX,GACzBW,EAAmBb,KAAKJ,UAAWM,E,CAG7B,iBAAAC,GACNJ,MAAMI,oBACNH,KAAKO,aAAaP,KAAKJ,UAAUkB,OACjCd,KAAKa,mBAAmBb,KAAKJ,UAAUmB,Y"}
1
+ {"version":3,"names":["InputTextEmailController","InputPasswordController","constructor","component","name","host","super","this","validateSuggestions","value","componentWillLoad","_suggestions","InputTextController","hasError","validateType","watchValidator","inputTextTypeOptions","includes","Set","join","validateHasCounter","_type","_hasCounter"],"sources":["src/components/input-text/controller.ts"],"sourcesContent":["import type { InputTextProps, InputTextType, InputTextWatches, PropLabelWithExpertSlot, PropSuggestions, SuggestionsPropType } from '@public-ui/schema';\nimport { inputTextTypeOptions, validateHasCounter, validateSuggestions, watchValidator } from '@public-ui/schema';\n\nimport { InputPasswordController } from '../input-password/controller';\n\nimport type { Generic } from 'adopted-style-sheets';\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tid: string;\n} & PropLabelWithExpertSlot &\n\tPropSuggestions;\ntype InputTextEmailProps = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype InputTextEmailWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class InputTextEmailController extends InputPasswordController implements InputTextEmailWatches {\n\tprotected readonly component: Generic.Element.Component & InputTextEmailProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputTextEmailProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t}\n}\n\nexport class InputTextController extends InputTextEmailController implements InputTextWatches {\n\tprotected readonly component: Generic.Element.Component & InputTextProps;\n\n\tpublic hasError = false;\n\n\tpublic constructor(component: Generic.Element.Component & InputTextProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateType(value?: InputTextType): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_type',\n\t\t\t(value): boolean => typeof value === 'string' && inputTextTypeOptions.includes(value),\n\t\t\tnew Set([`String {${inputTextTypeOptions.join(', ')}`]),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateHasCounter(value?: boolean): void {\n\t\tvalidateHasCounter(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateType(this.component._type);\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t}\n}\n"],"mappings":";;;mHAcaA,UAAiCC,EAG7C,WAAAC,CAAmBC,EAA4DC,EAAcC,GAC5FC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,mBAAAK,CAAoBC,GAC1BD,EAAoBD,KAAKJ,UAAWM,E,CAG9B,iBAAAC,GACNJ,MAAMI,oBACNH,KAAKC,oBAAoBD,KAAKJ,UAAUQ,a,QAI7BC,UAA4BZ,EAKxC,WAAAE,CAAmBC,EAAuDC,EAAcC,GACvFC,MAAMH,EAAWC,EAAMC,GAHjBE,KAAAM,SAAW,MAIjBN,KAAKJ,UAAYA,C,CAGX,YAAAW,CAAaL,GACnBM,EACCR,KAAKJ,UACL,SACCM,UAA0BA,IAAU,UAAYO,EAAqBC,SAASR,IAC/E,IAAIS,IAAI,CAAC,WAAWF,EAAqBG,KAAK,UAC9CV,E,CAIK,kBAAAW,CAAmBX,GACzBW,EAAmBb,KAAKJ,UAAWM,E,CAG7B,iBAAAC,GACNJ,MAAMI,oBACNH,KAAKO,aAAaP,KAAKJ,UAAUkB,OACjCd,KAAKa,mBAAmBb,KAAKJ,UAAUmB,Y"}