@public-ui/components 1.1.10-rc.1 → 1.1.10-rc.10

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 (387) hide show
  1. package/custom-elements.json +398 -19
  2. package/dist/cjs/button-link-52191fff.js +4 -0
  3. package/dist/cjs/{controller-a6ee36d7.js → controller-5d7d9001.js} +1 -1
  4. package/dist/cjs/{controller-e524ee59.js → controller-75951fbb.js} +1 -1
  5. package/dist/cjs/controller-97800130.js +4 -0
  6. package/dist/cjs/{controller-fa955daf.js → controller-a5ac2e29.js} +1 -1
  7. package/dist/cjs/{controller-4d78d21d.js → controller-e1001e4c.js} +1 -1
  8. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  9. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  10. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  14. package/dist/cjs/kol-button-link.cjs.entry.js +4 -0
  15. package/dist/cjs/kol-button-wc_3.cjs.entry.js +1 -1
  16. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  17. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  18. package/dist/cjs/kol-color.cjs.entry.js +1 -1
  19. package/dist/cjs/kol-counter.cjs.entry.js +1 -1
  20. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  21. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  22. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  23. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
  24. package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
  25. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  27. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  28. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-input-date.cjs.entry.js +4 -0
  30. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  31. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  35. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-link-button.cjs.entry.js +4 -0
  40. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-span.cjs.entry.js +4 -0
  51. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  59. package/dist/cjs/kolibri.cjs.js +1 -1
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/components/component.js +1 -1
  62. package/dist/components/component10.js +1 -1
  63. package/dist/components/component11.js +1 -1
  64. package/dist/components/component12.js +1 -1
  65. package/dist/components/component13.js +1 -1
  66. package/dist/components/component14.js +1 -1
  67. package/dist/components/component15.js +4 -0
  68. package/dist/components/component16.js +4 -0
  69. package/dist/components/component2.js +1 -1
  70. package/dist/components/component3.js +1 -1
  71. package/dist/components/component4.js +1 -1
  72. package/dist/components/component5.js +1 -1
  73. package/dist/components/component6.js +1 -1
  74. package/dist/components/component7.js +1 -1
  75. package/dist/components/component8.js +1 -1
  76. package/dist/components/component9.js +1 -1
  77. package/dist/components/controller.js +1 -1
  78. package/dist/components/controller2.js +1 -1
  79. package/dist/components/controller3.js +1 -1
  80. package/dist/components/controller4.js +1 -1
  81. package/dist/components/controller5.js +4 -0
  82. package/dist/components/controller6.js +4 -0
  83. package/dist/components/devtools.js +1 -1
  84. package/dist/components/icon.js +1 -1
  85. package/dist/components/index.d.ts +4 -0
  86. package/dist/components/index.js +1 -1
  87. package/dist/components/kol-abbr.js +1 -1
  88. package/dist/components/kol-accordion.js +1 -1
  89. package/dist/components/kol-breadcrumb.js +1 -1
  90. package/dist/components/kol-button-link.d.ts +11 -0
  91. package/dist/components/kol-button-link.js +4 -0
  92. package/dist/components/kol-card.js +1 -1
  93. package/dist/components/kol-color.js +1 -1
  94. package/dist/components/kol-counter.js +1 -1
  95. package/dist/components/kol-details.js +1 -1
  96. package/dist/components/kol-form.js +1 -1
  97. package/dist/components/kol-heading.js +1 -1
  98. package/dist/components/kol-icon-font-awesome.js +1 -1
  99. package/dist/components/kol-input-adapter-leanup.js +1 -1
  100. package/dist/components/kol-input-checkbox.js +1 -1
  101. package/dist/components/kol-input-color.js +1 -1
  102. package/dist/components/kol-input-date.d.ts +11 -0
  103. package/dist/components/kol-input-date.js +4 -0
  104. package/dist/components/kol-input-email.js +1 -1
  105. package/dist/components/kol-input-file.js +1 -1
  106. package/dist/components/kol-input-number.js +1 -1
  107. package/dist/components/kol-input-password.js +1 -1
  108. package/dist/components/kol-input-radio-group.js +1 -1
  109. package/dist/components/kol-input-radio.js +1 -1
  110. package/dist/components/kol-input-range.js +1 -1
  111. package/dist/components/kol-input-text.js +1 -1
  112. package/dist/components/kol-kolibri.js +1 -1
  113. package/dist/components/kol-link-button.d.ts +11 -0
  114. package/dist/components/kol-link-button.js +4 -0
  115. package/dist/components/kol-link-group.js +1 -1
  116. package/dist/components/kol-link-wc.js +1 -1
  117. package/dist/components/kol-logo.js +1 -1
  118. package/dist/components/kol-modal.js +1 -1
  119. package/dist/components/kol-nav.js +1 -1
  120. package/dist/components/kol-pagination.js +1 -1
  121. package/dist/components/kol-progress.js +1 -1
  122. package/dist/components/kol-select.js +1 -1
  123. package/dist/components/kol-skip-nav.js +1 -1
  124. package/dist/components/kol-span.d.ts +11 -0
  125. package/dist/components/kol-span.js +4 -0
  126. package/dist/components/kol-spin.js +1 -1
  127. package/dist/components/kol-symbol.js +1 -1
  128. package/dist/components/kol-table.js +1 -1
  129. package/dist/components/kol-tabs.js +1 -1
  130. package/dist/components/kol-textarea.js +1 -1
  131. package/dist/components/kol-toast.js +1 -1
  132. package/dist/components/kol-tooltip.js +1 -1
  133. package/dist/components/kol-version.js +1 -1
  134. package/dist/components/prop.validators.js +1 -1
  135. package/dist/components/shadow.js +1 -1
  136. package/dist/components/shadow2.js +1 -1
  137. package/dist/components/validation.js +1 -1
  138. package/dist/custom-elements/index.d.ts +24 -0
  139. package/dist/custom-elements/index.js +1 -1
  140. package/dist/esm/{a11y.tipps-79d0562a.js → a11y.tipps-bec0e549.js} +1 -1
  141. package/dist/esm/{app-globals-87803a5f.js → app-globals-0525df58.js} +1 -1
  142. package/dist/esm/button-link-00bf24d2.js +4 -0
  143. package/dist/esm/controller-2882c7d6.js +4 -0
  144. package/dist/esm/{controller-6a2353f1.js → controller-67dffd0c.js} +1 -1
  145. package/dist/esm/{controller-02308add.js → controller-9ef3b1e3.js} +1 -1
  146. package/dist/esm/{controller-e694a3a2.js → controller-d846a1e7.js} +1 -1
  147. package/dist/esm/{controller-427b05f1.js → controller-dfdcadad.js} +1 -1
  148. package/dist/esm/{controller-e3787ba1.js → controller-f00b88d4.js} +1 -1
  149. package/dist/esm/{devtools-f324fb75.js → devtools-d836cfec.js} +1 -1
  150. package/dist/esm/{icon-925a4868.js → icon-589227b1.js} +1 -1
  151. package/dist/esm/index.js +1 -1
  152. package/dist/esm/kol-abbr.entry.js +1 -1
  153. package/dist/esm/kol-accordion.entry.js +1 -1
  154. package/dist/esm/kol-alert.entry.js +1 -1
  155. package/dist/esm/kol-badge.entry.js +1 -1
  156. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  157. package/dist/esm/kol-button-group.entry.js +1 -1
  158. package/dist/esm/kol-button-link.entry.js +4 -0
  159. package/dist/esm/kol-button-wc_3.entry.js +1 -1
  160. package/dist/esm/kol-button.entry.js +1 -1
  161. package/dist/esm/kol-card.entry.js +1 -1
  162. package/dist/esm/kol-color.entry.js +1 -1
  163. package/dist/esm/kol-counter.entry.js +1 -1
  164. package/dist/esm/kol-details.entry.js +1 -1
  165. package/dist/esm/kol-form.entry.js +1 -1
  166. package/dist/esm/kol-heading.entry.js +1 -1
  167. package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
  168. package/dist/esm/kol-icon-icofont.entry.js +1 -1
  169. package/dist/esm/kol-icon.entry.js +1 -1
  170. package/dist/esm/kol-indented-text.entry.js +1 -1
  171. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  172. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  173. package/dist/esm/kol-input-color.entry.js +1 -1
  174. package/dist/esm/kol-input-date.entry.js +4 -0
  175. package/dist/esm/kol-input-email.entry.js +1 -1
  176. package/dist/esm/kol-input-file.entry.js +1 -1
  177. package/dist/esm/kol-input-number.entry.js +1 -1
  178. package/dist/esm/kol-input-password.entry.js +1 -1
  179. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  180. package/dist/esm/kol-input-radio.entry.js +1 -1
  181. package/dist/esm/kol-input-range.entry.js +1 -1
  182. package/dist/esm/kol-input-text.entry.js +1 -1
  183. package/dist/esm/kol-kolibri.entry.js +1 -1
  184. package/dist/esm/kol-link-button.entry.js +4 -0
  185. package/dist/esm/kol-link-group.entry.js +1 -1
  186. package/dist/esm/kol-link-wc.entry.js +1 -1
  187. package/dist/esm/kol-link.entry.js +1 -1
  188. package/dist/esm/kol-logo.entry.js +1 -1
  189. package/dist/esm/kol-modal.entry.js +1 -1
  190. package/dist/esm/kol-nav.entry.js +1 -1
  191. package/dist/esm/kol-pagination.entry.js +1 -1
  192. package/dist/esm/kol-progress.entry.js +1 -1
  193. package/dist/esm/kol-select.entry.js +1 -1
  194. package/dist/esm/kol-skip-nav.entry.js +1 -1
  195. package/dist/esm/kol-span.entry.js +4 -0
  196. package/dist/esm/kol-spin.entry.js +1 -1
  197. package/dist/esm/kol-symbol.entry.js +1 -1
  198. package/dist/esm/kol-table.entry.js +1 -1
  199. package/dist/esm/kol-tabs.entry.js +1 -1
  200. package/dist/esm/kol-textarea.entry.js +1 -1
  201. package/dist/esm/kol-toast.entry.js +1 -1
  202. package/dist/esm/kol-tooltip.entry.js +1 -1
  203. package/dist/esm/kol-version.entry.js +1 -1
  204. package/dist/esm/kolibri.js +1 -1
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/esm/{prop.validators-6a82cc72.js → prop.validators-359f6f9d.js} +1 -1
  207. package/dist/esm/validation-7c1d0c98.js +4 -0
  208. package/dist/esm/validation-e4911c61.js +4 -0
  209. package/dist/kolibri/{a11y.tipps-79d0562a.js → a11y.tipps-bec0e549.js} +1 -1
  210. package/{www/build/app-globals-87803a5f.js → dist/kolibri/app-globals-0525df58.js} +1 -1
  211. package/dist/kolibri/button-link-00bf24d2.js +4 -0
  212. package/dist/kolibri/controller-2882c7d6.js +4 -0
  213. package/dist/kolibri/controller-67dffd0c.js +4 -0
  214. package/dist/kolibri/{controller-02308add.js → controller-9ef3b1e3.js} +1 -1
  215. package/dist/kolibri/{controller-e694a3a2.js → controller-d846a1e7.js} +1 -1
  216. package/dist/kolibri/controller-dfdcadad.js +4 -0
  217. package/dist/kolibri/{controller-e3787ba1.js → controller-f00b88d4.js} +1 -1
  218. package/dist/kolibri/{devtools-f324fb75.js → devtools-d836cfec.js} +1 -1
  219. package/dist/kolibri/{icon-925a4868.js → icon-589227b1.js} +1 -1
  220. package/dist/kolibri/index.esm.js +1 -1
  221. package/dist/kolibri/kol-abbr.entry.js +1 -1
  222. package/dist/kolibri/kol-accordion.entry.js +1 -1
  223. package/dist/kolibri/kol-alert.entry.js +1 -1
  224. package/dist/kolibri/kol-badge.entry.js +1 -1
  225. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  226. package/dist/kolibri/kol-button-group.entry.js +1 -1
  227. package/dist/kolibri/kol-button-link.entry.js +4 -0
  228. package/dist/kolibri/kol-button-wc_3.entry.js +1 -1
  229. package/dist/kolibri/kol-button.entry.js +1 -1
  230. package/dist/kolibri/kol-card.entry.js +1 -1
  231. package/dist/kolibri/kol-color.entry.js +1 -1
  232. package/dist/kolibri/kol-counter.entry.js +1 -1
  233. package/dist/kolibri/kol-details.entry.js +1 -1
  234. package/dist/kolibri/kol-form.entry.js +1 -1
  235. package/dist/kolibri/kol-heading.entry.js +1 -1
  236. package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
  237. package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
  238. package/dist/kolibri/kol-icon.entry.js +1 -1
  239. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  240. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  241. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  242. package/dist/kolibri/kol-input-color.entry.js +1 -1
  243. package/dist/kolibri/kol-input-date.entry.js +4 -0
  244. package/dist/kolibri/kol-input-email.entry.js +1 -1
  245. package/dist/kolibri/kol-input-file.entry.js +1 -1
  246. package/dist/kolibri/kol-input-number.entry.js +1 -1
  247. package/dist/kolibri/kol-input-password.entry.js +1 -1
  248. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  249. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  250. package/dist/kolibri/kol-input-range.entry.js +1 -1
  251. package/dist/kolibri/kol-input-text.entry.js +1 -1
  252. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  253. package/dist/kolibri/kol-link-button.entry.js +4 -0
  254. package/dist/kolibri/kol-link-group.entry.js +1 -1
  255. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  256. package/dist/kolibri/kol-link.entry.js +1 -1
  257. package/dist/kolibri/kol-logo.entry.js +1 -1
  258. package/dist/kolibri/kol-modal.entry.js +1 -1
  259. package/dist/kolibri/kol-nav.entry.js +1 -1
  260. package/dist/kolibri/kol-pagination.entry.js +1 -1
  261. package/dist/kolibri/kol-progress.entry.js +1 -1
  262. package/dist/kolibri/kol-select.entry.js +1 -1
  263. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  264. package/dist/kolibri/kol-span.entry.js +4 -0
  265. package/dist/kolibri/kol-spin.entry.js +1 -1
  266. package/dist/kolibri/kol-symbol.entry.js +1 -1
  267. package/dist/kolibri/kol-table.entry.js +1 -1
  268. package/dist/kolibri/kol-tabs.entry.js +1 -1
  269. package/dist/kolibri/kol-textarea.entry.js +1 -1
  270. package/dist/kolibri/kol-toast.entry.js +1 -1
  271. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  272. package/dist/kolibri/kol-version.entry.js +1 -1
  273. package/dist/kolibri/kolibri.esm.js +1 -1
  274. package/dist/kolibri/{prop.validators-6a82cc72.js → prop.validators-359f6f9d.js} +1 -1
  275. package/dist/kolibri/validation-7c1d0c98.js +4 -0
  276. package/dist/kolibri/{validation-8bc3a91b.js → validation-e4911c61.js} +1 -1
  277. package/dist/types/components/@deprecated/input/controller.d.ts +1 -0
  278. package/dist/types/components/@deprecated/input/types.d.ts +1 -0
  279. package/dist/types/components/button/component.d.ts +1 -3
  280. package/dist/types/components/button/shadow.d.ts +1 -2
  281. package/dist/types/components/button-link/component.d.ts +45 -0
  282. package/dist/types/components/input-date/component.d.ts +40 -0
  283. package/dist/types/components/input-date/types.d.ts +17 -0
  284. package/dist/types/components/input-number/component.d.ts +7 -6
  285. package/dist/types/components/input-number/controller.d.ts +6 -3
  286. package/dist/types/components/input-number/types.d.ts +6 -26
  287. package/dist/types/components/link/component.d.ts +1 -3
  288. package/dist/types/components/link/shadow.d.ts +1 -2
  289. package/dist/types/components/link-button/component.d.ts +56 -0
  290. package/dist/types/components/nav/component.d.ts +5 -0
  291. package/dist/types/components/span/component.d.ts +39 -0
  292. package/dist/types/components/textarea/component.d.ts +2 -0
  293. package/dist/types/components/textarea/types.d.ts +2 -0
  294. package/dist/types/components.d.ts +609 -68
  295. package/dist/types/stencil-public-runtime.d.ts +5 -0
  296. package/dist/types/types/button-link.d.ts +22 -17
  297. package/dist/types/types/input/control/number.d.ts +28 -1
  298. package/dist/types/types/input/iso8601.d.ts +25 -0
  299. package/dist/types/utils/prop.validators.d.ts +1 -1
  300. package/jest-test-results.json +1 -1
  301. package/package.json +1 -1
  302. package/vscode-custom-data.json +402 -16
  303. package/www/build/{a11y.tipps-79d0562a.js → a11y.tipps-bec0e549.js} +1 -1
  304. package/{dist/kolibri/app-globals-87803a5f.js → www/build/app-globals-0525df58.js} +1 -1
  305. package/www/build/button-link-00bf24d2.js +4 -0
  306. package/www/build/controller-2882c7d6.js +4 -0
  307. package/www/build/controller-67dffd0c.js +4 -0
  308. package/www/build/{controller-02308add.js → controller-9ef3b1e3.js} +1 -1
  309. package/www/build/{controller-e694a3a2.js → controller-d846a1e7.js} +1 -1
  310. package/www/build/controller-dfdcadad.js +4 -0
  311. package/www/build/{controller-e3787ba1.js → controller-f00b88d4.js} +1 -1
  312. package/www/build/{devtools-f324fb75.js → devtools-d836cfec.js} +1 -1
  313. package/www/build/{icon-925a4868.js → icon-589227b1.js} +1 -1
  314. package/www/build/index.esm.js +1 -1
  315. package/www/build/kol-abbr.entry.js +1 -1
  316. package/www/build/kol-accordion.entry.js +1 -1
  317. package/www/build/kol-alert.entry.js +1 -1
  318. package/www/build/kol-badge.entry.js +1 -1
  319. package/www/build/kol-breadcrumb.entry.js +1 -1
  320. package/www/build/kol-button-group.entry.js +1 -1
  321. package/www/build/kol-button-link.entry.js +4 -0
  322. package/www/build/kol-button-wc_3.entry.js +1 -1
  323. package/www/build/kol-button.entry.js +1 -1
  324. package/www/build/kol-card.entry.js +1 -1
  325. package/www/build/kol-color.entry.js +1 -1
  326. package/www/build/kol-counter.entry.js +1 -1
  327. package/www/build/kol-details.entry.js +1 -1
  328. package/www/build/kol-form.entry.js +1 -1
  329. package/www/build/kol-heading.entry.js +1 -1
  330. package/www/build/kol-icon-font-awesome.entry.js +1 -1
  331. package/www/build/kol-icon-icofont.entry.js +1 -1
  332. package/www/build/kol-icon.entry.js +1 -1
  333. package/www/build/kol-indented-text.entry.js +1 -1
  334. package/www/build/kol-input-adapter-leanup.entry.js +1 -1
  335. package/www/build/kol-input-checkbox.entry.js +1 -1
  336. package/www/build/kol-input-color.entry.js +1 -1
  337. package/www/build/kol-input-date.entry.js +4 -0
  338. package/www/build/kol-input-email.entry.js +1 -1
  339. package/www/build/kol-input-file.entry.js +1 -1
  340. package/www/build/kol-input-number.entry.js +1 -1
  341. package/www/build/kol-input-password.entry.js +1 -1
  342. package/www/build/kol-input-radio-group.entry.js +1 -1
  343. package/www/build/kol-input-radio.entry.js +1 -1
  344. package/www/build/kol-input-range.entry.js +1 -1
  345. package/www/build/kol-input-text.entry.js +1 -1
  346. package/www/build/kol-kolibri.entry.js +1 -1
  347. package/www/build/kol-link-button.entry.js +4 -0
  348. package/www/build/kol-link-group.entry.js +1 -1
  349. package/www/build/kol-link-wc.entry.js +1 -1
  350. package/www/build/kol-link.entry.js +1 -1
  351. package/www/build/kol-logo.entry.js +1 -1
  352. package/www/build/kol-modal.entry.js +1 -1
  353. package/www/build/kol-nav.entry.js +1 -1
  354. package/www/build/kol-pagination.entry.js +1 -1
  355. package/www/build/kol-progress.entry.js +1 -1
  356. package/www/build/kol-select.entry.js +1 -1
  357. package/www/build/kol-skip-nav.entry.js +1 -1
  358. package/www/build/kol-span.entry.js +4 -0
  359. package/www/build/kol-spin.entry.js +1 -1
  360. package/www/build/kol-symbol.entry.js +1 -1
  361. package/www/build/kol-table.entry.js +1 -1
  362. package/www/build/kol-tabs.entry.js +1 -1
  363. package/www/build/kol-textarea.entry.js +1 -1
  364. package/www/build/kol-toast.entry.js +1 -1
  365. package/www/build/kol-tooltip.entry.js +1 -1
  366. package/www/build/kol-version.entry.js +1 -1
  367. package/www/build/kolibri.esm.js +1 -1
  368. package/www/build/{prop.validators-6a82cc72.js → prop.validators-359f6f9d.js} +1 -1
  369. package/www/build/validation-7c1d0c98.js +4 -0
  370. package/www/build/{validation-8bc3a91b.js → validation-e4911c61.js} +1 -1
  371. package/www/index.html +2 -2
  372. package/dist/cjs/button-link-72083682.js +0 -4
  373. package/dist/cjs/controller-74b7c74a.js +0 -4
  374. package/dist/esm/button-link-9e9d1eb2.js +0 -4
  375. package/dist/esm/controller-e3d285c6.js +0 -4
  376. package/dist/esm/validation-6f111a8b.js +0 -4
  377. package/dist/esm/validation-8bc3a91b.js +0 -4
  378. package/dist/kolibri/button-link-9e9d1eb2.js +0 -4
  379. package/dist/kolibri/controller-427b05f1.js +0 -4
  380. package/dist/kolibri/controller-6a2353f1.js +0 -4
  381. package/dist/kolibri/controller-e3d285c6.js +0 -4
  382. package/dist/kolibri/validation-6f111a8b.js +0 -4
  383. package/www/build/button-link-9e9d1eb2.js +0 -4
  384. package/www/build/controller-427b05f1.js +0 -4
  385. package/www/build/controller-6a2353f1.js +0 -4
  386. package/www/build/controller-e3d285c6.js +0 -4
  387. package/www/build/validation-6f111a8b.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- "use strict";const prop_validators=require("./prop.validators-78c2b613.js"),watchShowAs=(t,o)=>{prop_validators.watchValidator(t,"_showAs",(t=>"button"===t||"link"===t),new Set(["String {button, link}"]),o)},watchTooltipAlignment=(t,o,a)=>{prop_validators.watchValidator(t,o,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),a,{defaultValue:"top"})};exports.watchShowAs=watchShowAs,exports.watchTooltipAlignment=watchTooltipAlignment;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- "use strict";const icon=require("./icon-0741e060.js"),a11y_tipps=require("./a11y.tipps-c34c01ad.js"),prop_validators=require("./prop.validators-78c2b613.js"),validator=require("./validator-a391018d.js"),getRenderStates=t=>{const o="string"==typeof t._error&&t._error.length>0&&!0===t._touched,n="string"==typeof t._hint&&t._hint.length>0,e=[];return!0===o&&e.push(`${t._id}-error`),!0===n&&e.push(`${t._id}-hint`),{hasError:o,hasHint:n,ariaDiscribedBy:e}};class ControlledInputController{constructor(t,o){this.component=t,this.name=o}validateAlert(t){prop_validators.watchBoolean(this.component,"_alert",t)}validateTouched(t){prop_validators.watchBoolean(this.component,"_touched",t)}componentWillLoad(){this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}const beforePatchIcon=(t,o)=>{const n=t;"object"==typeof n&&null!==n&&(validator.isString(n.right,1)&&(n.right={icon:n.right}),validator.isString(n.left,1)&&(n.left={icon:n.left}),o.set("_icon",n))};class InputController extends ControlledInputController{constructor(t,o){super(t,o),this.hideLabel=!1,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){prop_validators.watchString(this.component,"_accessKey",t)}validateDisabled(t){prop_validators.watchBoolean(this.component,"_disabled",t),!0===t&&a11y_tipps.a11yHintDisabled()}validateError(t){prop_validators.watchString(this.component,"_error",t,{minLength:0})}validateHideLabel(t){prop_validators.watchBoolean(this.component,"_hideLabel",t)}validateHint(t){prop_validators.watchString(this.component,"_hint",t)}validateIcon(t){prop_validators.objectObjectHandler(t,(()=>{try{t=prop_validators.parseJson(t)}catch(t){}prop_validators.watchValidator(this.component,"_icon",(t=>"object"==typeof t&&null!==t&&(validator.isString(t.left,1)||icon.isIcon(t.left)||validator.isString(t.right,1)||icon.isIcon(t.right))),new Set(["KoliBriInputIcon"]),t,{hooks:{beforePatch:beforePatchIcon},required:!0})}))}validateId(t){prop_validators.watchString(this.component,"_id",t),void 0===t&&a11y_tipps.devHint("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateName(t){prop_validators.watchString(this.component,"_name",t),void 0===t&&a11y_tipps.devHint("Ein Name an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die Autocomplete-Funktion des Eingabefeldes relevant sein.")}validateOn(t){"object"==typeof t&&prop_validators.setState(this.component,"_on",t)}validateSmartButton(t){prop_validators.objectObjectHandler(t,(()=>{try{t=prop_validators.parseJson(t)}catch(t){}prop_validators.setState(this.component,"_smartButton",t)}))}validateTabIndex(t){prop_validators.watchNumber(this.component,"_tabIndex",t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateIcon(this.component._icon),this.validateId(this.component._id),this.validateName(this.component._name),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var o;this.component._alert=!0,this.component._touched=!0,"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t){var o;"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,t.target.value)}onClick(t){var o;"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;this.component._alert=!0,"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}setValue(t,o){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(t,o)}}exports.InputController=InputController,exports.getRenderStates=getRenderStates;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{a as watchValidator}from"./prop.validators-6a82cc72.js";const watchShowAs=(t,o)=>{watchValidator(t,"_showAs",(t=>"button"===t||"link"===t),new Set(["String {button, link}"]),o)},watchTooltipAlignment=(t,o,a)=>{watchValidator(t,o,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),a,{defaultValue:"top"})};export{watchShowAs as a,watchTooltipAlignment as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{i as isIcon}from"./icon-925a4868.js";import{c as a11yHintDisabled,d as devHint}from"./a11y.tipps-79d0562a.js";import{b as watchBoolean,w as watchString,o as objectObjectHandler,p as parseJson,a as watchValidator,s as setState,d as watchNumber}from"./prop.validators-6a82cc72.js";import{i as isString}from"./validator-985dcb65.js";const getRenderStates=t=>{const n="string"==typeof t._error&&t._error.length>0&&!0===t._touched,o="string"==typeof t._hint&&t._hint.length>0,e=[];return!0===n&&e.push(`${t._id}-error`),!0===o&&e.push(`${t._id}-hint`),{hasError:n,hasHint:o,ariaDiscribedBy:e}};class ControlledInputController{constructor(t,n){this.component=t,this.name=n}validateAlert(t){watchBoolean(this.component,"_alert",t)}validateTouched(t){watchBoolean(this.component,"_touched",t)}componentWillLoad(){this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}const beforePatchIcon=(t,n)=>{const o=t;"object"==typeof o&&null!==o&&(isString(o.right,1)&&(o.right={icon:o.right}),isString(o.left,1)&&(o.left={icon:o.left}),n.set("_icon",o))};class InputController extends ControlledInputController{constructor(t,n){super(t,n),this.hideLabel=!1,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){watchString(this.component,"_accessKey",t)}validateDisabled(t){watchBoolean(this.component,"_disabled",t),!0===t&&a11yHintDisabled()}validateError(t){watchString(this.component,"_error",t,{minLength:0})}validateHideLabel(t){watchBoolean(this.component,"_hideLabel",t)}validateHint(t){watchString(this.component,"_hint",t)}validateIcon(t){objectObjectHandler(t,(()=>{try{t=parseJson(t)}catch(t){}watchValidator(this.component,"_icon",(t=>"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right))),new Set(["KoliBriInputIcon"]),t,{hooks:{beforePatch:beforePatchIcon},required:!0})}))}validateId(t){watchString(this.component,"_id",t),void 0===t&&devHint("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateName(t){watchString(this.component,"_name",t),void 0===t&&devHint("Ein Name an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die Autocomplete-Funktion des Eingabefeldes relevant sein.")}validateOn(t){"object"==typeof t&&setState(this.component,"_on",t)}validateSmartButton(t){objectObjectHandler(t,(()=>{try{t=parseJson(t)}catch(t){}setState(this.component,"_smartButton",t)}))}validateTabIndex(t){watchNumber(this.component,"_tabIndex",t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateIcon(this.component._icon),this.validateId(this.component._id),this.validateName(this.component._name),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var n;this.component._alert=!0,this.component._touched=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onBlur)&&this.component._on.onBlur(t)}onChange(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(t,t.target.value)}onClick(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onClick)&&this.component._on.onClick(t)}onFocus(t){var n;this.component._alert=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onFocus)&&this.component._on.onFocus(t)}setValue(t,n){var o;"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,n)}}export{InputController as I,getRenderStates as g};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{u as uiUxHintMillerscheZahl}from"./a11y.tipps-79d0562a.js";import{c as watchJsonArrayString}from"./prop.validators-6a82cc72.js";const watchNavLinks=(t,a,s)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),s),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{a as watchValidator}from"./prop.validators-6a82cc72.js";const watchHeadingLevel=(a,e)=>{watchValidator(a,"_level",(a=>"number"==typeof a&&1<=a&&a<=6),new Set(["Number {1, 2, 3, 4, 5, 6}"]),e,{defaultValue:1,required:!0})};export{watchHeadingLevel as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{a as t}from"./prop.validators-6a82cc72.js";const o=(o,a)=>{t(o,"_showAs",(t=>"button"===t||"link"===t),new Set(["String {button, link}"]),a)},a=(o,a,e)=>{t(o,a,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),e,{defaultValue:"top"})};export{o as a,a as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{e as a}from"./a11y.tipps-79d0562a.js";import{a as e}from"./prop.validators-6a82cc72.js";const r=(e,t,r,s)=>{const i=t.has("_ariaLabel")?t.get("_ariaLabel"):r.state._ariaLabel;if("string"==typeof i&&i.length>0){const e=t.has("_label")?t.get("_label"):r.state._label;!1===new RegExp(`^${e}`).test(i)&&("_ariaLabel"===s?(t.set("_label",i),r._label=i):(t.set("_ariaLabel",e),r._ariaLabel=e),a("Das abweichende Aria-Label am Schalter ist nicht barrierefrei. Ein abweichendes Aria-Label muss aus Barrierefreiheitsgründen für die Sprachsteuerung mit dem Label-Text beginnen."))}},t=(a,t,r)=>{e(a,t,(a=>"button"===a||"reset"===a||"submit"===a),new Set(["KoliBriButtonType {button, reset, submit}"]),r)},i=(a,t,r)=>{e(a,t,(a=>"primary"===a||"secondary"===a||"normal"===a||"danger"===a||"ghost"===a||"custom"===a),new Set(["KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}"]),r,{defaultValue:"normal"})};export{t as a,r as s,i as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{e}from"./prop.validators-6a82cc72.js";const n=(o={})=>{for(;o.form instanceof HTMLElement&&"FORM"!==o.form.tagName&&"KOL-FORM"!==o.form.tagName;)o.form=o.form.parentElement instanceof HTMLElement?o.form.parentElement:o.form.parentNode instanceof ShadowRoot?o.form.parentNode.host:null;if(o.form instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if(e(t,o.ref),"FORM"===o.form.tagName)o.form.dispatchEvent(t);else if("KOL-FORM"===o.form.tagName){const e=o.form;"object"==typeof e._on&&null!==typeof e._on&&"function"==typeof e._on.onReset&&e._on.onReset(t)}}},t=(o={})=>{for(;o.form instanceof HTMLElement&&"FORM"!==o.form.tagName&&"KOL-FORM"!==o.form.tagName;)o.form=o.form.parentElement instanceof HTMLElement?o.form.parentElement:o.form.parentNode instanceof ShadowRoot?o.form.parentNode.host:null;if(o.form instanceof HTMLElement){const t=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:o.ref});if(e(t,o.ref),"FORM"===o.form.tagName)o.form.dispatchEvent(t);else if("KOL-FORM"===o.form.tagName){const e=o.form;"object"==typeof e._on&&null!==typeof e._on&&"function"==typeof e._on.onSubmit&&e._on.onSubmit(t)}}};export{n as a,t as p};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{i as t}from"./icon-925a4868.js";import{c as i,d as s}from"./a11y.tipps-79d0562a.js";import{b as e,w as o,o as n,p as a,a as h,s as r,d}from"./prop.validators-6a82cc72.js";import{i as l}from"./validator-985dcb65.js";const c=t=>{const n="string"==typeof t._error&&t._error.length>0&&!0===t._touched,o="string"==typeof t._hint&&t._hint.length>0,e=[];return!0===n&&e.push(`${t._id}-error`),!0===o&&e.push(`${t._id}-hint`),{hasError:n,hasHint:o,ariaDiscribedBy:e}},v=(t,n)=>{const o=t;"object"==typeof o&&null!==o&&(l(o.right,1)&&(o.right={icon:o.right}),l(o.left,1)&&(o.left={icon:o.left}),n.set("_icon",o))};class u extends class{constructor(t,n){this.component=t,this.name=n}validateAlert(t){e(this.component,"_alert",t)}validateTouched(t){e(this.component,"_touched",t)}componentWillLoad(){this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}{constructor(t,n){super(t,n),this.hideLabel=!1,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){o(this.component,"_accessKey",t)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&i()}validateError(t){o(this.component,"_error",t,{minLength:0})}validateHideLabel(t){e(this.component,"_hideLabel",t)}validateHint(t){o(this.component,"_hint",t)}validateIcon(o){n(o,(()=>{try{o=a(o)}catch(t){}h(this.component,"_icon",(n=>"object"==typeof n&&null!==n&&(l(n.left,1)||t(n.left)||l(n.right,1)||t(n.right))),new Set(["KoliBriInputIcon"]),o,{hooks:{beforePatch:v},required:!0})}))}validateId(t){o(this.component,"_id",t),void 0===t&&s("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateName(t){o(this.component,"_name",t),void 0===t&&s("Ein Name an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die Autocomplete-Funktion des Eingabefeldes relevant sein.")}validateOn(t){"object"==typeof t&&r(this.component,"_on",t)}validateSmartButton(t){n(t,(()=>{try{t=a(t)}catch(t){}r(this.component,"_smartButton",t)}))}validateTabIndex(t){d(this.component,"_tabIndex",t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateIcon(this.component._icon),this.validateId(this.component._id),this.validateName(this.component._name),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var n;this.component._alert=!0,this.component._touched=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onBlur)&&this.component._on.onBlur(t)}onChange(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(t,t.target.value)}onClick(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onClick)&&this.component._on.onClick(t)}onFocus(t){var n;this.component._alert=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onFocus)&&this.component._on.onFocus(t)}setValue(t,n){var o;"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,n)}}export{u as I,c as g};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{u as o}from"./a11y.tipps-79d0562a.js";import{c as s}from"./prop.validators-6a82cc72.js";const t=(t,a,p)=>{s(a,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),p),o(t,a.state._links.length)};export{t as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{a as t}from"./prop.validators-6a82cc72.js";const o=(o,a)=>{t(o,"_showAs",(t=>"button"===t||"link"===t),new Set(["String {button, link}"]),a)},a=(o,a,e)=>{t(o,a,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),e,{defaultValue:"top"})};export{o as a,a as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{e as a}from"./a11y.tipps-79d0562a.js";import{a as e}from"./prop.validators-6a82cc72.js";const r=(e,t,r,s)=>{const i=t.has("_ariaLabel")?t.get("_ariaLabel"):r.state._ariaLabel;if("string"==typeof i&&i.length>0){const e=t.has("_label")?t.get("_label"):r.state._label;!1===new RegExp(`^${e}`).test(i)&&("_ariaLabel"===s?(t.set("_label",i),r._label=i):(t.set("_ariaLabel",e),r._ariaLabel=e),a("Das abweichende Aria-Label am Schalter ist nicht barrierefrei. Ein abweichendes Aria-Label muss aus Barrierefreiheitsgründen für die Sprachsteuerung mit dem Label-Text beginnen."))}},t=(a,t,r)=>{e(a,t,(a=>"button"===a||"reset"===a||"submit"===a),new Set(["KoliBriButtonType {button, reset, submit}"]),r)},i=(a,t,r)=>{e(a,t,(a=>"primary"===a||"secondary"===a||"normal"===a||"danger"===a||"ghost"===a||"custom"===a),new Set(["KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}"]),r,{defaultValue:"normal"})};export{t as a,r as s,i as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{e}from"./prop.validators-6a82cc72.js";const n=(o={})=>{for(;o.form instanceof HTMLElement&&"FORM"!==o.form.tagName&&"KOL-FORM"!==o.form.tagName;)o.form=o.form.parentElement instanceof HTMLElement?o.form.parentElement:o.form.parentNode instanceof ShadowRoot?o.form.parentNode.host:null;if(o.form instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if(e(t,o.ref),"FORM"===o.form.tagName)o.form.dispatchEvent(t);else if("KOL-FORM"===o.form.tagName){const e=o.form;"object"==typeof e._on&&null!==typeof e._on&&"function"==typeof e._on.onReset&&e._on.onReset(t)}}},t=(o={})=>{for(;o.form instanceof HTMLElement&&"FORM"!==o.form.tagName&&"KOL-FORM"!==o.form.tagName;)o.form=o.form.parentElement instanceof HTMLElement?o.form.parentElement:o.form.parentNode instanceof ShadowRoot?o.form.parentNode.host:null;if(o.form instanceof HTMLElement){const t=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:o.ref});if(e(t,o.ref),"FORM"===o.form.tagName)o.form.dispatchEvent(t);else if("KOL-FORM"===o.form.tagName){const e=o.form;"object"==typeof e._on&&null!==typeof e._on&&"function"==typeof e._on.onSubmit&&e._on.onSubmit(t)}}};export{n as a,t as p};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{i as t}from"./icon-925a4868.js";import{c as i,d as s}from"./a11y.tipps-79d0562a.js";import{b as e,w as o,o as n,p as a,a as h,s as r,d}from"./prop.validators-6a82cc72.js";import{i as l}from"./validator-985dcb65.js";const c=t=>{const n="string"==typeof t._error&&t._error.length>0&&!0===t._touched,o="string"==typeof t._hint&&t._hint.length>0,e=[];return!0===n&&e.push(`${t._id}-error`),!0===o&&e.push(`${t._id}-hint`),{hasError:n,hasHint:o,ariaDiscribedBy:e}},v=(t,n)=>{const o=t;"object"==typeof o&&null!==o&&(l(o.right,1)&&(o.right={icon:o.right}),l(o.left,1)&&(o.left={icon:o.left}),n.set("_icon",o))};class u extends class{constructor(t,n){this.component=t,this.name=n}validateAlert(t){e(this.component,"_alert",t)}validateTouched(t){e(this.component,"_touched",t)}componentWillLoad(){this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}{constructor(t,n){super(t,n),this.hideLabel=!1,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){o(this.component,"_accessKey",t)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&i()}validateError(t){o(this.component,"_error",t,{minLength:0})}validateHideLabel(t){e(this.component,"_hideLabel",t)}validateHint(t){o(this.component,"_hint",t)}validateIcon(o){n(o,(()=>{try{o=a(o)}catch(t){}h(this.component,"_icon",(n=>"object"==typeof n&&null!==n&&(l(n.left,1)||t(n.left)||l(n.right,1)||t(n.right))),new Set(["KoliBriInputIcon"]),o,{hooks:{beforePatch:v},required:!0})}))}validateId(t){o(this.component,"_id",t),void 0===t&&s("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateName(t){o(this.component,"_name",t),void 0===t&&s("Ein Name an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die Autocomplete-Funktion des Eingabefeldes relevant sein.")}validateOn(t){"object"==typeof t&&r(this.component,"_on",t)}validateSmartButton(t){n(t,(()=>{try{t=a(t)}catch(t){}r(this.component,"_smartButton",t)}))}validateTabIndex(t){d(this.component,"_tabIndex",t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateIcon(this.component._icon),this.validateId(this.component._id),this.validateName(this.component._name),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var n;this.component._alert=!0,this.component._touched=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onBlur)&&this.component._on.onBlur(t)}onChange(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(t,t.target.value)}onClick(t){var n;"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onClick)&&this.component._on.onClick(t)}onFocus(t){var n;this.component._alert=!0,"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onFocus)&&this.component._on.onFocus(t)}setValue(t,n){var o;"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,n)}}export{u as I,c as g};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{u as o}from"./a11y.tipps-79d0562a.js";import{c as s}from"./prop.validators-6a82cc72.js";const t=(t,a,p)=>{s(a,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),p),o(t,a.state._links.length)};export{t as w};