@db-ux/wc-core-components 4.9.0-stencil-bundle-ad37ca4 → 4.9.1

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 (346) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +0 -20
  3. package/dist/cjs/db-accordion-item.cjs.entry.js +4 -25
  4. package/dist/cjs/db-accordion.cjs.entry.js +3 -10
  5. package/dist/cjs/db-badge.cjs.entry.js +3 -10
  6. package/dist/cjs/db-brand.cjs.entry.js +3 -10
  7. package/dist/cjs/db-button.cjs.entry.js +3 -10
  8. package/dist/cjs/db-card.cjs.entry.js +3 -10
  9. package/dist/cjs/db-checkbox.cjs.entry.js +3 -10
  10. package/dist/cjs/db-custom-button.cjs.entry.js +3 -10
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -45
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -10
  13. package/dist/cjs/db-custom-select.cjs.entry.js +6 -13
  14. package/dist/cjs/db-divider.cjs.entry.js +2 -9
  15. package/dist/cjs/db-drawer.cjs.entry.js +7 -14
  16. package/dist/cjs/db-header.cjs.entry.js +3 -10
  17. package/dist/cjs/db-icon.cjs.entry.js +3 -10
  18. package/dist/cjs/db-infotext.cjs.entry.js +3 -10
  19. package/dist/cjs/db-link.cjs.entry.js +3 -10
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +3 -11
  21. package/dist/cjs/db-navigation.cjs.entry.js +3 -10
  22. package/dist/cjs/db-notification.cjs.entry.js +3 -10
  23. package/dist/cjs/db-page.cjs.entry.js +3 -10
  24. package/dist/cjs/db-popover.cjs.entry.js +3 -10
  25. package/dist/cjs/db-radio.cjs.entry.js +3 -10
  26. package/dist/cjs/db-section.cjs.entry.js +3 -10
  27. package/dist/cjs/db-select.cjs.entry.js +3 -10
  28. package/dist/cjs/db-stack.cjs.entry.js +3 -10
  29. package/dist/cjs/db-switch.cjs.entry.js +3 -10
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -28
  31. package/dist/cjs/db-tabs.cjs.entry.js +3 -10
  32. package/dist/cjs/db-textarea.cjs.entry.js +3 -10
  33. package/dist/cjs/db-tooltip.cjs.entry.js +3 -10
  34. package/dist/cjs/db-ux.cjs.js +2 -2
  35. package/dist/cjs/{index-DLuhzJ0p.js → index-BoC-BWt4.js} +0 -1
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/collection/components/accordion/accordion.js +2 -9
  38. package/dist/collection/components/accordion-item/accordion-item.js +4 -51
  39. package/dist/collection/components/badge/badge.js +2 -9
  40. package/dist/collection/components/brand/brand.js +2 -9
  41. package/dist/collection/components/button/button.js +3 -10
  42. package/dist/collection/components/card/card.js +3 -10
  43. package/dist/collection/components/checkbox/checkbox.js +3 -10
  44. package/dist/collection/components/custom-button/custom-button.js +2 -9
  45. package/dist/collection/components/custom-select/custom-select.js +6 -13
  46. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -9
  47. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -9
  48. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -9
  49. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -9
  50. package/dist/collection/components/divider/divider.js +1 -8
  51. package/dist/collection/components/drawer/drawer.js +8 -15
  52. package/dist/collection/components/header/header.js +13 -20
  53. package/dist/collection/components/icon/icon.js +2 -9
  54. package/dist/collection/components/infotext/infotext.js +2 -9
  55. package/dist/collection/components/input/input.js +3 -10
  56. package/dist/collection/components/link/link.js +2 -9
  57. package/dist/collection/components/navigation/navigation.js +2 -9
  58. package/dist/collection/components/navigation-item/navigation-item.js +3 -37
  59. package/dist/collection/components/notification/notification.js +3 -10
  60. package/dist/collection/components/page/page.js +2 -9
  61. package/dist/collection/components/popover/popover.js +2 -9
  62. package/dist/collection/components/radio/radio.js +3 -10
  63. package/dist/collection/components/section/section.js +2 -9
  64. package/dist/collection/components/select/select.js +3 -10
  65. package/dist/collection/components/stack/stack.js +2 -9
  66. package/dist/collection/components/switch/switch.js +3 -10
  67. package/dist/collection/components/tab-item/tab-item.js +3 -10
  68. package/dist/collection/components/tab-list/tab-list.js +2 -9
  69. package/dist/collection/components/tab-panel/tab-panel.js +2 -9
  70. package/dist/collection/components/tabs/tabs.js +3 -10
  71. package/dist/collection/components/tag/tag.js +3 -10
  72. package/dist/collection/components/textarea/textarea.js +3 -10
  73. package/dist/collection/components/tooltip/tooltip.js +2 -9
  74. package/dist/custom-elements.json +36 -2252
  75. package/dist/db-ux/db-ux.esm.js +1 -1
  76. package/dist/db-ux/p-1b5d76a8.entry.js +1 -0
  77. package/dist/db-ux/p-296f989b.entry.js +1 -0
  78. package/dist/db-ux/p-3ae13ff1.entry.js +1 -0
  79. package/dist/db-ux/p-43f94079.entry.js +1 -0
  80. package/dist/db-ux/p-54508bad.entry.js +1 -0
  81. package/dist/db-ux/p-55e8b0b4.entry.js +1 -0
  82. package/dist/db-ux/p-69a59559.entry.js +1 -0
  83. package/dist/db-ux/p-6e7126c6.entry.js +1 -0
  84. package/dist/db-ux/p-7bed4611.entry.js +1 -0
  85. package/dist/db-ux/p-8ce816c0.entry.js +1 -0
  86. package/dist/db-ux/p-8e080864.entry.js +1 -0
  87. package/dist/db-ux/p-K4o-AcjZ.js +2 -0
  88. package/dist/db-ux/p-a0eccc08.entry.js +1 -0
  89. package/dist/db-ux/p-a7c6ec23.entry.js +1 -0
  90. package/dist/db-ux/p-a82c9875.entry.js +1 -0
  91. package/dist/db-ux/p-ae445d5d.entry.js +1 -0
  92. package/dist/db-ux/p-b33abf8d.entry.js +1 -0
  93. package/dist/db-ux/p-b8ab2bd4.entry.js +1 -0
  94. package/dist/db-ux/p-bb7c59d2.entry.js +1 -0
  95. package/dist/db-ux/p-bc510135.entry.js +1 -0
  96. package/dist/db-ux/p-c85d4be6.entry.js +1 -0
  97. package/dist/db-ux/p-d206ac6f.entry.js +1 -0
  98. package/dist/db-ux/p-e22b3725.entry.js +1 -0
  99. package/dist/db-ux/p-e432c81f.entry.js +1 -0
  100. package/dist/db-ux/p-e64606e2.entry.js +1 -0
  101. package/dist/db-ux/p-e8ee154f.entry.js +1 -0
  102. package/dist/db-ux/p-efb9d9bc.entry.js +1 -0
  103. package/dist/db-ux/p-f35229a1.entry.js +1 -0
  104. package/dist/db-ux/p-f582c886.entry.js +1 -0
  105. package/dist/db-ux/p-f6be9a48.entry.js +1 -0
  106. package/dist/db-ux/p-fb39506f.entry.js +1 -0
  107. package/dist/db-ux/p-fb9500ba.entry.js +1 -0
  108. package/dist/esm/db-accordion-item.entry.js +4 -25
  109. package/dist/esm/db-accordion.entry.js +3 -10
  110. package/dist/esm/db-badge.entry.js +3 -10
  111. package/dist/esm/db-brand.entry.js +3 -10
  112. package/dist/esm/db-button.entry.js +3 -10
  113. package/dist/esm/db-card.entry.js +3 -10
  114. package/dist/esm/db-checkbox.entry.js +3 -10
  115. package/dist/esm/db-custom-button.entry.js +3 -10
  116. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -45
  117. package/dist/esm/db-custom-select-form-field.entry.js +3 -10
  118. package/dist/esm/db-custom-select.entry.js +6 -13
  119. package/dist/esm/db-divider.entry.js +2 -9
  120. package/dist/esm/db-drawer.entry.js +8 -15
  121. package/dist/esm/db-header.entry.js +3 -10
  122. package/dist/esm/db-icon.entry.js +3 -10
  123. package/dist/esm/db-infotext.entry.js +3 -10
  124. package/dist/esm/db-link.entry.js +3 -10
  125. package/dist/esm/db-navigation-item.entry.js +3 -11
  126. package/dist/esm/db-navigation.entry.js +3 -10
  127. package/dist/esm/db-notification.entry.js +3 -10
  128. package/dist/esm/db-page.entry.js +3 -10
  129. package/dist/esm/db-popover.entry.js +3 -10
  130. package/dist/esm/db-radio.entry.js +3 -10
  131. package/dist/esm/db-section.entry.js +3 -10
  132. package/dist/esm/db-select.entry.js +3 -10
  133. package/dist/esm/db-stack.entry.js +3 -10
  134. package/dist/esm/db-switch.entry.js +3 -10
  135. package/dist/esm/db-tab-item_3.entry.js +7 -28
  136. package/dist/esm/db-tabs.entry.js +3 -10
  137. package/dist/esm/db-textarea.entry.js +3 -10
  138. package/dist/esm/db-tooltip.entry.js +3 -10
  139. package/dist/esm/db-ux.js +3 -3
  140. package/dist/esm/{index-Cr2cgn5B.js → index-K4o-AcjZ.js} +1 -1
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/types/components/accordion/accordion.d.ts +0 -1
  143. package/dist/types/components/accordion/model.d.ts +2 -2
  144. package/dist/types/components/accordion-item/accordion-item.d.ts +0 -4
  145. package/dist/types/components/accordion-item/model.d.ts +1 -5
  146. package/dist/types/components/badge/badge.d.ts +0 -1
  147. package/dist/types/components/badge/model.d.ts +1 -1
  148. package/dist/types/components/brand/brand.d.ts +0 -1
  149. package/dist/types/components/brand/model.d.ts +1 -1
  150. package/dist/types/components/button/button.d.ts +0 -1
  151. package/dist/types/components/button/model.d.ts +1 -1
  152. package/dist/types/components/card/card.d.ts +0 -1
  153. package/dist/types/components/card/model.d.ts +1 -1
  154. package/dist/types/components/checkbox/checkbox.d.ts +0 -1
  155. package/dist/types/components/checkbox/model.d.ts +1 -1
  156. package/dist/types/components/custom-button/custom-button.d.ts +0 -1
  157. package/dist/types/components/custom-button/model.d.ts +2 -2
  158. package/dist/types/components/custom-select/custom-select.d.ts +0 -1
  159. package/dist/types/components/custom-select/model.d.ts +4 -4
  160. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -1
  161. package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
  162. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +0 -1
  163. package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
  164. package/dist/types/components/custom-select-list/custom-select-list.d.ts +0 -1
  165. package/dist/types/components/custom-select-list/model.d.ts +1 -1
  166. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +0 -1
  167. package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
  168. package/dist/types/components/divider/divider.d.ts +0 -1
  169. package/dist/types/components/divider/model.d.ts +1 -1
  170. package/dist/types/components/drawer/drawer.d.ts +0 -1
  171. package/dist/types/components/drawer/model.d.ts +1 -1
  172. package/dist/types/components/header/header.d.ts +2 -3
  173. package/dist/types/components/header/model.d.ts +1 -1
  174. package/dist/types/components/icon/icon.d.ts +0 -1
  175. package/dist/types/components/icon/model.d.ts +1 -1
  176. package/dist/types/components/infotext/infotext.d.ts +0 -1
  177. package/dist/types/components/infotext/model.d.ts +1 -1
  178. package/dist/types/components/input/input.d.ts +0 -1
  179. package/dist/types/components/input/model.d.ts +1 -1
  180. package/dist/types/components/link/link.d.ts +0 -1
  181. package/dist/types/components/link/model.d.ts +1 -1
  182. package/dist/types/components/navigation/model.d.ts +1 -1
  183. package/dist/types/components/navigation/navigation.d.ts +0 -1
  184. package/dist/types/components/navigation-item/model.d.ts +2 -6
  185. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -2
  186. package/dist/types/components/notification/model.d.ts +1 -1
  187. package/dist/types/components/notification/notification.d.ts +0 -1
  188. package/dist/types/components/page/model.d.ts +1 -1
  189. package/dist/types/components/page/page.d.ts +0 -1
  190. package/dist/types/components/popover/model.d.ts +1 -1
  191. package/dist/types/components/popover/popover.d.ts +0 -1
  192. package/dist/types/components/radio/model.d.ts +1 -1
  193. package/dist/types/components/radio/radio.d.ts +0 -1
  194. package/dist/types/components/section/model.d.ts +1 -1
  195. package/dist/types/components/section/section.d.ts +0 -1
  196. package/dist/types/components/select/model.d.ts +1 -1
  197. package/dist/types/components/select/select.d.ts +0 -1
  198. package/dist/types/components/stack/model.d.ts +1 -1
  199. package/dist/types/components/stack/stack.d.ts +0 -1
  200. package/dist/types/components/switch/model.d.ts +1 -1
  201. package/dist/types/components/switch/switch.d.ts +0 -1
  202. package/dist/types/components/tab-item/model.d.ts +1 -1
  203. package/dist/types/components/tab-item/tab-item.d.ts +0 -1
  204. package/dist/types/components/tab-list/model.d.ts +1 -1
  205. package/dist/types/components/tab-list/tab-list.d.ts +0 -1
  206. package/dist/types/components/tab-panel/model.d.ts +1 -1
  207. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
  208. package/dist/types/components/tabs/model.d.ts +3 -3
  209. package/dist/types/components/tabs/tabs.d.ts +0 -1
  210. package/dist/types/components/tag/model.d.ts +1 -1
  211. package/dist/types/components/tag/tag.d.ts +0 -1
  212. package/dist/types/components/textarea/model.d.ts +1 -1
  213. package/dist/types/components/textarea/textarea.d.ts +0 -1
  214. package/dist/types/components/tooltip/model.d.ts +1 -1
  215. package/dist/types/components/tooltip/tooltip.d.ts +0 -1
  216. package/dist/types/components.d.ts +1 -7
  217. package/dist/vscode.html-custom-data.json +6 -16
  218. package/dist/web-types.json +248 -1032
  219. package/package.json +7 -13
  220. package/bundle/db-accordion-item.d.ts +0 -11
  221. package/bundle/db-accordion-item.js +0 -1
  222. package/bundle/db-accordion.d.ts +0 -11
  223. package/bundle/db-accordion.js +0 -1
  224. package/bundle/db-badge.d.ts +0 -11
  225. package/bundle/db-badge.js +0 -1
  226. package/bundle/db-brand.d.ts +0 -11
  227. package/bundle/db-brand.js +0 -1
  228. package/bundle/db-button.d.ts +0 -11
  229. package/bundle/db-button.js +0 -1
  230. package/bundle/db-card.d.ts +0 -11
  231. package/bundle/db-card.js +0 -1
  232. package/bundle/db-checkbox.d.ts +0 -11
  233. package/bundle/db-checkbox.js +0 -1
  234. package/bundle/db-custom-button.d.ts +0 -11
  235. package/bundle/db-custom-button.js +0 -1
  236. package/bundle/db-custom-select-dropdown.d.ts +0 -11
  237. package/bundle/db-custom-select-dropdown.js +0 -1
  238. package/bundle/db-custom-select-form-field.d.ts +0 -11
  239. package/bundle/db-custom-select-form-field.js +0 -1
  240. package/bundle/db-custom-select-list-item.d.ts +0 -11
  241. package/bundle/db-custom-select-list-item.js +0 -1
  242. package/bundle/db-custom-select-list.d.ts +0 -11
  243. package/bundle/db-custom-select-list.js +0 -1
  244. package/bundle/db-custom-select.d.ts +0 -11
  245. package/bundle/db-custom-select.js +0 -1
  246. package/bundle/db-divider.d.ts +0 -11
  247. package/bundle/db-divider.js +0 -1
  248. package/bundle/db-drawer.d.ts +0 -11
  249. package/bundle/db-drawer.js +0 -1
  250. package/bundle/db-header.d.ts +0 -11
  251. package/bundle/db-header.js +0 -1
  252. package/bundle/db-icon.d.ts +0 -11
  253. package/bundle/db-icon.js +0 -1
  254. package/bundle/db-infotext.d.ts +0 -11
  255. package/bundle/db-infotext.js +0 -1
  256. package/bundle/db-input.d.ts +0 -11
  257. package/bundle/db-input.js +0 -1
  258. package/bundle/db-link.d.ts +0 -11
  259. package/bundle/db-link.js +0 -1
  260. package/bundle/db-navigation-item.d.ts +0 -11
  261. package/bundle/db-navigation-item.js +0 -1
  262. package/bundle/db-navigation.d.ts +0 -11
  263. package/bundle/db-navigation.js +0 -1
  264. package/bundle/db-notification.d.ts +0 -11
  265. package/bundle/db-notification.js +0 -1
  266. package/bundle/db-page.d.ts +0 -11
  267. package/bundle/db-page.js +0 -1
  268. package/bundle/db-popover.d.ts +0 -11
  269. package/bundle/db-popover.js +0 -1
  270. package/bundle/db-radio.d.ts +0 -11
  271. package/bundle/db-radio.js +0 -1
  272. package/bundle/db-section.d.ts +0 -11
  273. package/bundle/db-section.js +0 -1
  274. package/bundle/db-select.d.ts +0 -11
  275. package/bundle/db-select.js +0 -1
  276. package/bundle/db-stack.d.ts +0 -11
  277. package/bundle/db-stack.js +0 -1
  278. package/bundle/db-switch.d.ts +0 -11
  279. package/bundle/db-switch.js +0 -1
  280. package/bundle/db-tab-item.d.ts +0 -11
  281. package/bundle/db-tab-item.js +0 -1
  282. package/bundle/db-tab-list.d.ts +0 -11
  283. package/bundle/db-tab-list.js +0 -1
  284. package/bundle/db-tab-panel.d.ts +0 -11
  285. package/bundle/db-tab-panel.js +0 -1
  286. package/bundle/db-tabs.d.ts +0 -11
  287. package/bundle/db-tabs.js +0 -1
  288. package/bundle/db-tag.d.ts +0 -11
  289. package/bundle/db-tag.js +0 -1
  290. package/bundle/db-textarea.d.ts +0 -11
  291. package/bundle/db-textarea.js +0 -1
  292. package/bundle/db-tooltip.d.ts +0 -11
  293. package/bundle/db-tooltip.js +0 -1
  294. package/bundle/index.d.ts +0 -47
  295. package/bundle/index.js +0 -1
  296. package/bundle/p-4nwUOzw7.js +0 -1
  297. package/bundle/p-6tgjpFiy.js +0 -1
  298. package/bundle/p-B8jmHdeH.js +0 -1
  299. package/bundle/p-BNhyPF1P.js +0 -1
  300. package/bundle/p-BPzP5Ag7.js +0 -1
  301. package/bundle/p-BdL-nI5y.js +0 -1
  302. package/bundle/p-BuBrj57D.js +0 -1
  303. package/bundle/p-BwS8XkPq.js +0 -1
  304. package/bundle/p-C0grS8Im.js +0 -1
  305. package/bundle/p-CCbaTFJ9.js +0 -1
  306. package/bundle/p-CSPKOJ_Q.js +0 -1
  307. package/bundle/p-C_uuq4ru.js +0 -1
  308. package/bundle/p-CeC-MQcb.js +0 -1
  309. package/bundle/p-Cp42j14z.js +0 -1
  310. package/bundle/p-D4Ym01qf.js +0 -1
  311. package/bundle/p-DOPXnIzL.js +0 -1
  312. package/bundle/p-DaaF73NV.js +0 -1
  313. package/bundle/p-DegvpGo6.js +0 -1
  314. package/bundle/p-yTv_0IMq.js +0 -1
  315. package/dist/db-ux/p-00ea76cf.entry.js +0 -1
  316. package/dist/db-ux/p-047341c9.entry.js +0 -1
  317. package/dist/db-ux/p-066fa23a.entry.js +0 -1
  318. package/dist/db-ux/p-0f8989b4.entry.js +0 -1
  319. package/dist/db-ux/p-25b715ae.entry.js +0 -1
  320. package/dist/db-ux/p-2df1300b.entry.js +0 -1
  321. package/dist/db-ux/p-3327169e.entry.js +0 -1
  322. package/dist/db-ux/p-419f8c38.entry.js +0 -1
  323. package/dist/db-ux/p-4249b49a.entry.js +0 -1
  324. package/dist/db-ux/p-44043bdb.entry.js +0 -1
  325. package/dist/db-ux/p-45e3b8c6.entry.js +0 -1
  326. package/dist/db-ux/p-47b8ce97.entry.js +0 -1
  327. package/dist/db-ux/p-692c892c.entry.js +0 -1
  328. package/dist/db-ux/p-6ca6258f.entry.js +0 -1
  329. package/dist/db-ux/p-6e2b82d0.entry.js +0 -1
  330. package/dist/db-ux/p-74a2dd1a.entry.js +0 -1
  331. package/dist/db-ux/p-78a2617f.entry.js +0 -1
  332. package/dist/db-ux/p-820c2ca9.entry.js +0 -1
  333. package/dist/db-ux/p-8894c1da.entry.js +0 -1
  334. package/dist/db-ux/p-8c7085d4.entry.js +0 -1
  335. package/dist/db-ux/p-9afcb916.entry.js +0 -1
  336. package/dist/db-ux/p-9e61d181.entry.js +0 -1
  337. package/dist/db-ux/p-Cr2cgn5B.js +0 -2
  338. package/dist/db-ux/p-a15fbd28.entry.js +0 -1
  339. package/dist/db-ux/p-cd1f41e9.entry.js +0 -1
  340. package/dist/db-ux/p-cd990388.entry.js +0 -1
  341. package/dist/db-ux/p-d1d119b6.entry.js +0 -1
  342. package/dist/db-ux/p-d5bc9beb.entry.js +0 -1
  343. package/dist/db-ux/p-e57bd4f0.entry.js +0 -1
  344. package/dist/db-ux/p-e9dd1674.entry.js +0 -1
  345. package/dist/db-ux/p-f904f3a1.entry.js +0 -1
  346. package/dist/db-ux/p-fb69c11a.entry.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/wc-core-components",
3
- "version": "4.9.0-stencil-bundle-ad37ca4",
3
+ "version": "4.9.1",
4
4
  "type": "module",
5
5
  "description": "Stencil components for @db-ux/core-components",
6
6
  "repository": {
@@ -14,26 +14,21 @@
14
14
  ".": {
15
15
  "types": "./dist/loader/index.d.ts",
16
16
  "import": "./dist/loader/index.js"
17
- },
18
- "./bundle": {
19
- "types": "./bundle/index.d.ts",
20
- "import": "./bundle/index.js"
21
17
  }
22
18
  },
23
19
  "files": [
24
20
  "CHANGELOG.md",
25
21
  "agent",
26
- "bundle/",
27
22
  "dist/"
28
23
  ],
29
24
  "dependencies": {
30
- "@db-ux/core-components": "4.9.0-stencil-bundle-ad37ca4",
31
- "@db-ux/core-foundations": "4.9.0-stencil-bundle-ad37ca4"
25
+ "@db-ux/core-components": "4.9.1",
26
+ "@db-ux/core-foundations": "4.9.1"
32
27
  },
33
28
  "devDependencies": {
34
29
  "@custom-elements-manifest/analyzer": "0.11.0",
35
30
  "@stencil/core": "4.43.4",
36
- "@types/node": "25.8.0",
31
+ "@types/node": "25.9.0",
37
32
  "cem-plugin-expanded-types": "1.4.0",
38
33
  "cpr": "3.0.1",
39
34
  "custom-element-jet-brains-integration": "1.7.0",
@@ -54,11 +49,10 @@
54
49
  "build:cem": "cem analyze",
55
50
  "dev-build": "stencil build --config stencil.config.dev.ts",
56
51
  "mv:agent": "cpr agent ../../build-outputs/wc-core-components/agent --overwrite",
57
- "mv:bundle": "cpr bundle ../../build-outputs/wc-core-components/bundle --overwrite",
58
52
  "mv:changelog": "cpr CHANGELOG.md ../../build-outputs/wc-core-components/CHANGELOG.md --overwrite",
59
- "mv:dist": "cpr dist ../../build-outputs/wc-core-components/dist --overwrite",
60
- "mv:package.json": "cpr package.json ../../build-outputs/wc-core-components/package.json --overwrite",
61
- "mv:readme": "cpr README.md ../../build-outputs/wc-core-components/README.md --overwrite",
53
+ "mv:dist": "cpr dist ../../build-outputs/wc-core-components/dist -o",
54
+ "mv:package.json": "cpr package.json ../../build-outputs/wc-core-components/package.json -o",
55
+ "mv:readme": "cpr README.md ../../build-outputs/wc-core-components/README.md -o",
62
56
  "start": "stencil build --watch --config stencil.config.dev.ts"
63
57
  }
64
58
  }
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbAccordionItem extends Components.DbAccordionItem, HTMLElement {}
4
- export const DbAccordionItem: {
5
- prototype: DbAccordionItem;
6
- new (): DbAccordionItem;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as s}from"./p-B8jmHdeH.js";const m=o,p=s;export{m as DbAccordionItem,p as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbAccordion extends Components.DbAccordion, HTMLElement {}
4
- export const DbAccordion: {
5
- prototype: DbAccordion;
6
- new (): DbAccordion;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,t as i,H as s,u as e,z as a,d as n}from"./p-CCbaTFJ9.js";import{d as c}from"./p-B8jmHdeH.js";const h=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this._name="",this.initialized=!1,this._initOpenIndexDone=!1}convertItems(){try{return"string"==typeof this.items?JSON.parse(this.items):this.items}catch(t){console.error(t)}return[]}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const a=i.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n?n+" ":""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){this.initialized&&this._ref&&("single"===this.behavior?this.name?this._name!==this.name&&(this._name=this.name):this._name="accordion-"+e():this._name="")}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref){const i=this._ref.getElementsByTagName("details");if(i)for(const s of Array.from(i))""===this._name?s.removeAttribute("name"):s.name=null!==(t=this._name)&&void 0!==t?t:""}}watch1(){this.watch1Fn()}watch2Fn(){if(this._ref&&this._initOpenIndexDone){if(this.initOpenIndex&&this.initOpenIndex.length>0){const t=this._ref.getElementsByTagName("details");if(t){const i="single"===this.behavior&&this.initOpenIndex.length>1?[this.initOpenIndex[0]]:this.initOpenIndex;Array.from(t).forEach(((t,s)=>{(null==i?void 0:i.includes(s))&&(t.open=!0)}))}}this._initOpenIndexDone=!1}}watch2(){this.watch2Fn()}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-accordion"),this.initialized=!0,this._initOpenIndexDone=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,i,s;return a("ul",{key:"f266979e95cc9595d10dd6e95c418acc7bce70c7",class:n("db-accordion",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-variant":this.variant},this.items?null:a("slot",null),this.items?null===(s=this.convertItems())||void 0===s?void 0:s.map(((t,i)=>a("db-accordion-item",{key:"accordion-item-"+i,headlinePlain:t.headlinePlain,disabled:t.disabled,text:t.text}))):null)}get rootElement(){return this}static get watchers(){return{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}}},[260,"db-accordion",{name:[1],behavior:[1],initOpenIndex:[16],items:[1],id:[1],propOverrides:[16],className:[1,"classname"],variant:[1],_name:[32],initialized:[32],_initOpenIndexDone:[32]},void 0,{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}]),o=h,d=function(){"undefined"!=typeof customElements&&["db-accordion","db-accordion-item"].forEach((t=>{switch(t){case"db-accordion":customElements.get(i(t))||customElements.define(i(t),h);break;case"db-accordion-item":customElements.get(i(t))||c()}}))};export{o as DbAccordion,d as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbBadge extends Components.DbBadge, HTMLElement {}
4
- export const DbBadge: {
5
- prototype: DbBadge;
6
- new (): DbBadge;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d as a,t as i,j as d}from"./p-CCbaTFJ9.js";import{a as c}from"./p-BdL-nI5y.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.initialized=!1}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const i=s.item(a);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),a=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?d+" ":""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(i.name)}}}}watch0Fn(){var t;if(this._ref&&this.initialized&&(null===(t=this.placement)||void 0===t?void 0:t.startsWith("corner"))){let t=this._ref.parentElement;t&&t.localName.includes("badge")&&(t=t.parentElement),t&&(t.dataset.hasBadge="true")}}watch0(){this.watch0Fn()}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-badge"),this.initialized=!0,this.watch0Fn()}render(){var t,s,i,n;return e("span",{key:"4e38af5e75112c17a85fcc129c96b3eb0f47c9c9",class:a("db-badge",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-semantic":this.semantic,"data-size":this.size,"data-emphasis":this.emphasis,"data-placement":this.placement,"data-wrap":d(this.wrap),"data-label":(null===(i=this.placement)||void 0===i?void 0:i.startsWith("corner"))&&(null!==(n=this.label)&&void 0!==n?n:c)},this.text?this.text:null,e("slot",{key:"b302778cda72652585bc4ac1d3cfe2aee1c54014"}))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}},[260,"db-badge",{placement:[1],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],size:[1],emphasis:[1],wrap:[8],label:[1],text:[1],initialized:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}]}]),l=n,o=function(){"undefined"!=typeof customElements&&["db-badge"].forEach((t=>{"db-badge"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))};export{l as DbBadge,o as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbBrand extends Components.DbBrand, HTMLElement {}
4
- export const DbBrand: {
5
- prototype: DbBrand;
6
- new (): DbBrand;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as s,H as t,z as d,d as e,t as n,j as a}from"./p-CCbaTFJ9.js";import{q as i}from"./p-BdL-nI5y.js";const o=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost()}enableAttributePassing(s,t){const d=null==s?void 0:s.closest(t);if(s&&d){const t=d.attributes;for(let e=0;e<t.length;e++){const n=t.item(e);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))s.setAttribute(n.name,n.value),d.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)s.setAttribute(n.name,n.value),d.removeAttribute(n.name);else if(n&&"class"===n.name){const t=n.value.includes("hydrated"),e=n.value.replace("hydrated","").trim(),a=s.getAttribute("class");s.setAttribute(n.name,`${a?a+" ":""}${e}`),t?d.setAttribute("class","hydrated"):d.removeAttribute(n.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const s=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);s&&s.remove()}this.enableAttributePassing(this._ref,"db-brand")}render(){var s,t,n;return d("div",{key:"768ab1a176f3670fb5a7259414c549ce5cf9f13d",class:e("db-brand",this.className),ref:s=>{this._ref=s},"data-icon":this.hideLogo?"none":null!==(s=this.icon)&&void 0!==s?s:i,"data-show-icon":a(this.showIcon),id:null!==(t=this.id)&&void 0!==t?t:null===(n=this.propOverrides)||void 0===n?void 0:n.id},d("slot",{key:"ed1d803f90bf9d6d313202dc99c925475f3daf81"}),this.text?this.text:null)}get rootElement(){return this}},[260,"db-brand",{hideLogo:[4,"hide-logo"],icon:[1],showIcon:[8,"show-icon"],id:[1],propOverrides:[16],className:[1,"classname"],text:[1]}]),c=o,r=function(){"undefined"!=typeof customElements&&["db-brand"].forEach((s=>{"db-brand"===s&&(customElements.get(n(s))||customElements.define(n(s),o))}))};export{c as DbBrand,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbButton extends Components.DbButton, HTMLElement {}
4
- export const DbButton: {
5
- prototype: DbButton;
6
- new (): DbButton;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as s}from"./p-BNhyPF1P.js";const p=o,r=s;export{p as DbButton,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCard extends Components.DbCard, HTMLElement {}
4
- export const DbCard: {
5
- prototype: DbCard;
6
- new (): DbCard;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
package/bundle/db-card.js DELETED
@@ -1 +0,0 @@
1
- import{y as t,H as s,A as e,z as a,d as i,t as d}from"./p-CCbaTFJ9.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=e(this,"click")}handleClick(t){this.click&&this.click.emit(t)}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const i=s.item(a);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),a=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?d+" ":""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(i.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-card")}render(){var t,s;return a("div",{key:"9fbce0f0603b7a1f8037cc8f3889624f6f908ab1",class:i("db-card",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:t=>this.handleClick(t)},a("slot",{key:"91cff3f8ec07f51b669db6d30ebab9e035ff4cb8"}))}get rootElement(){return this}},[260,"db-card",{id:[1],propOverrides:[16],className:[1,"classname"],behavior:[1],elevationLevel:[1,"elevation-level"],spacing:[1]}]),n=c,o=function(){"undefined"!=typeof customElements&&["db-card"].forEach((t=>{"db-card"===t&&(customElements.get(d(t))||customElements.define(d(t),c))}))};export{n as DbCard,o as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCheckbox extends Components.DbCheckbox, HTMLElement {}
4
- export const DbCheckbox: {
5
- prototype: DbCheckbox;
6
- new (): DbCheckbox;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as i,H as s,A as t,h,f as e,p as a,u as d,k as c,z as l,d as n,t as o,o as r}from"./p-CCbaTFJ9.js";import{l as v,f as b,g as u,h as w,k as m}from"./p-BdL-nI5y.js";import{a as f}from"./p-D4Ym01qf.js";import{d as k}from"./p-BPzP5Ag7.js";const g=i(class extends s{constructor(i){super(),!1!==i&&this.__registerHost(),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,s,t,d;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&this.required?(this._descByIds=this._validMessageId,h()&&(this._voiceOverFallback=null!==(d=this.validMessage)&&void 0!==d?d:m,e((()=>this._voiceOverFallback=""),1e3))):this._descByIds=a(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(s=this._ref)||void 0===s?void 0:s.validationMessage)||v,h()&&(this._voiceOverFallback=this._invalidMessage,e((()=>this._voiceOverFallback=""),1e3)))}handleChange(i,s){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}resetIds(){var i,s,t;const h=null!==(t=null!==(i=this.id)&&void 0!==i?i:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&void 0!==t?t:"checkbox-"+d();this._id=h,this._messageId=h+b,this._validMessageId=h+u,this._invalidMessageId=h+w}enableAttributePassing(i,s){const t=null==i?void 0:i.closest(s);if(i&&t){const s=t.attributes;for(let h=0;h<s.length;h++){const e=s.item(h);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))i.setAttribute(e.name,e.value),t.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)i.setAttribute(e.name,e.value),t.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),h=e.value.replace("hydrated","").trim(),a=i.getAttribute("class");i.setAttribute(e.name,`${a?a+" ":""}${h}`),s?t.setAttribute("class","hydrated"):t.removeAttribute(e.name)}}}}watch0Fn(){var i,s;(null!==(i=this.id)&&void 0!==i?i:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||v}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const i=this._id+b;this._messageId=i,this._validMessageId=this._id+u,this._invalidMessageId=this._id+w,a(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!c(this.indeterminate))}watch3(){this.watch3Fn()}watch4Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!c(this.checked)),this.initialized=!1)}watch4(){this.watch4Fn()}watch5Fn(){if(this._ref){const i=void 0;let s=this.abortController;s||(s=new AbortController,this.abortController=s),f(this._ref,{checked:this.checked,defaultChecked:i},(i=>{this.handleChange(i,!0)}),s.signal)}}watch5(){this.watch5Fn()}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-checkbox"),this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||v,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i;return l("div",{key:"9fce20e55c8c075dc21702023137dc7180a4d00a",class:n("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":r(this.showRequiredAsterisk),"data-hide-label":r(this.showLabel)},l("label",{key:"d9b09729b9759e256cbdbb9083dafac160aa1d48",htmlFor:this._id},l("input",{key:"9ca080c2b174b4cfd750c6027d245c4b9c1067bb",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},id:this._id,name:this.name,checked:c(this.checked,"checked"),disabled:c(this.disabled,"disabled"),value:this.value,required:c(this.required,"required"),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds}),this.label?this.label:null,l("slot",{key:"b55a47b5325c6ead113139094a0fa0e290d81897"})),a(this.message,this.showMessage)?l("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?l("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||m):null,l("db-infotext",{key:"4197a25c9fd55f727cbe91005b0ae4d24eea9810",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),l("span",{key:"9d5d12ddb9c90e655988fac61261b15f2105063e","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}}},[260,"db-checkbox",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],message:[1],showMessage:[8,"show-message"],indeterminate:[8],checked:[8],validMessage:[1,"valid-message"],validation:[1],required:[8],className:[1,"classname"],size:[1],showRequiredAsterisk:[8,"show-required-asterisk"],showLabel:[8,"show-label"],name:[1],disabled:[8],value:[8],ariaDescribedBy:[1,"aria-described-by"],label:[1],messageIcon:[1,"message-icon"],initialized:[32],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_descByIds:[32],_voiceOverFallback:[32],abortController:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}]),p=g,y=function(){"undefined"!=typeof customElements&&["db-checkbox","db-infotext"].forEach((i=>{switch(i){case"db-checkbox":customElements.get(o(i))||customElements.define(o(i),g);break;case"db-infotext":customElements.get(o(i))||k()}}))};export{p as DbCheckbox,y as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomButton extends Components.DbCustomButton, HTMLElement {}
4
- export const DbCustomButton: {
5
- prototype: DbCustomButton;
6
- new (): DbCustomButton;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as i,d as n,t as o,j as a}from"./p-CCbaTFJ9.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let n=0;n<s.length;n++){const o=s.item(n);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),i.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),i.removeAttribute(o.name);else if(o&&"class"===o.name){const s=o.value.includes("hydrated"),n=o.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(o.name,`${a?a+" ":""}${n}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(o.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-button")}render(){var t,s,o,d;return i("div",{key:"6e34f3b4711c1301644cfd2d205134bf46cff9b7",class:n("db-custom-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":null!==(o=this.iconLeading)&&void 0!==o?o:this.icon,"data-show-icon":a(null!==(d=this.showIconLeading)&&void 0!==d?d:this.showIcon),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":a(this.showIconTrailing),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-no-text":a(this.noText)},i("slot",{key:"dfac0afd24004e1257613797c9fb953db6948997"}))}get rootElement(){return this}},[260,"db-custom-button",{id:[1],propOverrides:[16],className:[1,"classname"],iconLeading:[1,"icon-leading"],icon:[1],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconTrailing:[1,"icon-trailing"],showIconTrailing:[8,"show-icon-trailing"],size:[1],width:[1],variant:[1],noText:[8,"no-text"]}]),e=d,c=function(){"undefined"!=typeof customElements&&["db-custom-button"].forEach((t=>{"db-custom-button"===t&&(customElements.get(o(t))||customElements.define(o(t),d))}))};export{e as DbCustomButton,c as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomSelectDropdown extends Components.DbCustomSelectDropdown, HTMLElement {}
4
- export const DbCustomSelectDropdown: {
5
- prototype: DbCustomSelectDropdown;
6
- new (): DbCustomSelectDropdown;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as r}from"./p-C_uuq4ru.js";const s=o,p=r;export{s as DbCustomSelectDropdown,p as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomSelectFormField extends Components.DbCustomSelectFormField, HTMLElement {}
4
- export const DbCustomSelectFormField: {
5
- prototype: DbCustomSelectFormField;
6
- new (): DbCustomSelectFormField;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as s,H as t,z as e,d,t as o}from"./p-CCbaTFJ9.js";const i=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost()}enableAttributePassing(s,t){const e=null==s?void 0:s.closest(t);if(s&&e){const t=e.attributes;for(let d=0;d<t.length;d++){const o=t.item(d);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))s.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)s.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"class"===o.name){const t=o.value.includes("hydrated"),d=o.value.replace("hydrated","").trim(),i=s.getAttribute("class");s.setAttribute(o.name,`${i?i+" ":""}${d}`),t?e.setAttribute("class","hydrated"):e.removeAttribute(o.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const s=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);s&&s.remove()}this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){var s,t;return e("summary",{key:"9afc6a67593004b2973b9e2126259f8013506108",class:d("db-custom-select-form-field",this.className),ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(t=this.propOverrides)||void 0===t?void 0:t.id},e("slot",{key:"95c4f37075676b60016a214b3bddb31d7eef0f50"}))}get rootElement(){return this}},[260,"db-custom-select-form-field",{id:[1],propOverrides:[16],className:[1,"classname"]}]),c=i,a=function(){"undefined"!=typeof customElements&&["db-custom-select-form-field"].forEach((s=>{"db-custom-select-form-field"===s&&(customElements.get(o(s))||customElements.define(o(s),i))}))};export{c as DbCustomSelectFormField,a as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomSelectListItem extends Components.DbCustomSelectListItem, HTMLElement {}
4
- export const DbCustomSelectListItem: {
5
- prototype: DbCustomSelectListItem;
6
- new (): DbCustomSelectListItem;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as p}from"./p-6tgjpFiy.js";const s=o,t=p;export{s as DbCustomSelectListItem,t as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomSelectList extends Components.DbCustomSelectList, HTMLElement {}
4
- export const DbCustomSelectList: {
5
- prototype: DbCustomSelectList;
6
- new (): DbCustomSelectList;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as s}from"./p-CSPKOJ_Q.js";const p=o,r=s;export{p as DbCustomSelectList,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbCustomSelect extends Components.DbCustomSelect, HTMLElement {}
4
- export const DbCustomSelect: {
5
- prototype: DbCustomSelect;
6
- new (): DbCustomSelect;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{u as t,y as i,H as s,A as e,h,f as l,p as a,q as o,z as d,j as n,F as c,k as r,d as u,t as v,o as w}from"./p-CCbaTFJ9.js";import{l as m,a as b,m as f,f as p,g as y,h as g,e as k,d as _,i as x,o as A,k as C,c as I,s as F}from"./p-BdL-nI5y.js";import{D as L}from"./p-4nwUOzw7.js";import{a as T}from"./p-DOPXnIzL.js";import{b as S}from"./p-D4Ym01qf.js";import{d as D}from"./p-BNhyPF1P.js";import{d as O}from"./p-C_uuq4ru.js";import{d as E}from"./p-CSPKOJ_Q.js";import{d as R}from"./p-6tgjpFiy.js";import{d as j}from"./p-BPzP5Ag7.js";import{d as B}from"./p-CeC-MQcb.js";import{d as M}from"./p-C0grS8Im.js";import{d as P}from"./p-yTv_0IMq.js";class q{static runCallbacks(t){for(const i of Object.values(q.callbacks))"function"==typeof i&&i(t)}constructor(){if(q._instance)return q._instance;q._instance=this,self.document&&self.document.addEventListener("click",(t=>q.runCallbacks(t)))}addCallback(i){const s=t();return q.callbacks[s]=i,s}removeCallback(t){delete q.callbacks[t]}}q.callbacks={},q._instance=null;const z=i(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.amountChange=e(this,"amountChange"),this.dropdownToggle=e(this,"dropdownToggle"),this.optionSelected=e(this,"optionSelected"),this.search=e(this,"search"),this.showClearSelection=!0,this.clearSelectionText="Clear selection",this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._selectId=void 0,this._labelId=void 0,this._summaryId=void 0,this._placeholderId=void 0,this._infoTextId=void 0,this._validity="no-validation",this._userInteraction=!1,this.abortController=void 0,this._descByIds=void 0,this._selectedLabels="",this._selectedLabelsId=void 0,this._voiceOverFallback="",this._selectedOptions=[],this.selectAllEnabled=!1,this.searchEnabled=!1,this.amountOptions=0,this._values=[],this._options=[],this._hasNoOptions=!1,this._documentClickListenerCallbackId=void 0,this._internalChangeTimestamp=0,this._documentScrollListenerCallbackId=void 0,this._observer=void 0,this._searchValue=void 0,this.selectAllChecked=!1,this.selectAllIndeterminate=!1,this.satisfyReact=function(t){t.stopPropagation()}}handleDocumentScroll(t){var i,s;(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.contains)&&(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains(this.detailsRef))&&this.handleAutoPlacement()}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,i,s,e,o,d,n,c;this.selectRef&&(this.selectRef.value=this.getNativeSelectValue()),(null===(t=this.selectRef)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(e=this.selectRef)||void 0===e?void 0:e.validity.valid)&&this.required?(this.setDescById(this._validMessageId),h()&&(this._voiceOverFallback=null!==(o=this.validMessage)&&void 0!==o?o:C,l((()=>this._voiceOverFallback=""),1e3)),this._validity=null!==(d=this.validation)&&void 0!==d?d:"valid"):a(this.message,this.showMessage)?(this.setDescById(this._messageId),this._validity=null!==(n=this.validation)&&void 0!==n?n:"no-validation"):(this.setDescById(this._placeholderId),this._validity=null!==(c=this.validation)&&void 0!==c?c:"no-validation"):(this.setDescById(this._invalidMessageId),this._invalidMessage=this.invalidMessage||(null===(i=this.selectRef)||void 0===i?void 0:i.validationMessage)||m,h()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)),this._userInteraction&&(this._validity=null!==(s=this.validation)&&void 0!==s?s:"invalid"))}handleDropdownToggle(t){var i,s;this.dropdownToggle&&(t.stopPropagation(),this.dropdownToggle.emit(t)),t.target instanceof HTMLDetailsElement&&t.target.open?(this._documentClickListenerCallbackId=(new q).addCallback((t=>this.handleDocumentClose(t))),this._documentScrollListenerCallbackId=(new L).addCallback((t=>this.handleDocumentScroll(t))),this.handleAutoPlacement(),null===(i=this._observer)||void 0===i||i.observe(this.detailsRef),t.target.dataset.test||this.handleOpenByKeyboardFocus()):(this._documentClickListenerCallbackId&&(new q).removeCallback(this._documentClickListenerCallbackId),this._documentScrollListenerCallbackId&&(new L).removeCallback(this._documentScrollListenerCallbackId),null===(s=this._observer)||void 0===s||s.unobserve(this.detailsRef))}getNativeSelectValue(){var t,i;return(null===(t=this._values)||void 0===t?void 0:t.length)&&null!==(i=this._values.at(0))&&void 0!==i?i:""}setDescById(t){var i;const s=[];t&&s.push(t),this._selectedLabelsId&&(null===(i=this._selectedLabels)||void 0===i?void 0:i.length)&&s.push(this._selectedLabelsId),this._descByIds=s.join(" ")}getSelectAllLabel(){var t;return null!==(t=this.selectAllLabel)&&void 0!==t?t:b}getOptionLabel(t){var i,s,e;return null!==(e=null!==(i=t.label)&&void 0!==i?i:null===(s=t.value)||void 0===s?void 0:""+s)&&void 0!==e?e:""}getOptionChecked(t){var i,s;return!(!t||!(null===(i=this._values)||void 0===i?void 0:i.includes))&&(null===(s=this._values)||void 0===s?void 0:s.includes(t))}getTagRemoveLabel(t){const i=this.removeTagsTexts,s=this.options;if(i&&s){const e=s.findIndex((i=>i.value===t.value));if(e>=0&&e<i.length)return i[e]}return`${f} ${this.getOptionLabel(t)}`}handleTagRemove(t,i){i&&i.stopPropagation(),this.handleSelect(t.value),this.handleSummaryFocus()}handleAutoPlacement(){if(this.detailsRef){const t=this.detailsRef.querySelector("article");t&&l((()=>{var i;T(t,this.detailsRef,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}}handleArrowDownUp(t){var i,s,e;if(null===(i=this.detailsRef)||void 0===i?void 0:i.open){if(self.document){const i=self.document.activeElement;if(i)if("checkbox"===i.getAttribute("type")||"radio"===i.getAttribute("type")){const h=null==i?void 0:i.closest("li");if("ArrowDown"===t.key||"ArrowRight"===t.key){let t=null==h?void 0:h.nextElementSibling;for(;t;){const i=t.querySelector("input");if(i){i.focus();break}t=t.nextElementSibling}t||this.handleFocusFirstDropdownCheckbox(i)}else{let t=null==h?void 0:h.previousElementSibling;for(;t;){const i=t.querySelector("input");if(i){i.focus();break}t=t.previousElementSibling}if(!t){const t=this.detailsRef.querySelector('input[type="checkbox"]');if(t&&t!==i)this.handleFocusFirstDropdownCheckbox(i);else{const t=o(this.detailsRef);if(t)l((()=>{t.focus()}),100);else{const t=Array.from(null===(s=this.detailsRef)||void 0===s?void 0:s.querySelectorAll('input[type="checkbox"],input[type="radio"]'));t.length&&(null===(e=t.at(-1))||void 0===e||e.focus())}}}}}else"search"!==i.getAttribute("type")||"ArrowUp"!==t.key&&"ArrowLeft"!==t.key?this.handleFocusFirstDropdownCheckbox(i):(this.handleClose(void 0,!0),this.handleSummaryFocus())}}else"ArrowDown"!==t.key&&"ArrowRight"!==t.key||(this.handleAutoPlacement(),this.detailsRef&&(this.detailsRef.open=!0),this.handleOpenByKeyboardFocus());t.stopPropagation(),t.preventDefault()}handleKeyboardPress(t){var i,s,e;if(t.stopPropagation(),"Escape"===t.key&&(null===(i=this.detailsRef)||void 0===i?void 0:i.open))this.handleClose(void 0,!0),this.handleSummaryFocus();else if("Enter"===t.key&&(null===(s=this.detailsRef)||void 0===s?void 0:s.open)){if(self.document){const i=self.document.activeElement;if(["checkbox","radio"].includes(i.getAttribute("type")||""))i.click(),t.preventDefault();else if("search"===i.getAttribute("type")){const i=null===(e=this._options)||void 0===e?void 0:e.find((t=>!t.isGroupTitle&&!t.disabled));(null==i?void 0:i.value)&&(this.handleSelect(i.value),t.preventDefault())}}}else"ArrowDown"!==t.key&&"ArrowUp"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key||this.handleArrowDownUp(t)}handleClose(t,i){if(this.detailsRef)if(i)this.detailsRef.open=!1,this.handleSummaryFocus();else if(this.detailsRef.open&&t&&t.relatedTarget){const i=t.relatedTarget;this.detailsRef.contains(i)||"dialog"===i.localName||l((()=>this.detailsRef.open=!1),1)}}handleDocumentClose(t){var i,s;if(t){const e="number"==typeof t.detail?t.target:null===(i=t.detail)||void 0===i?void 0:i.target;(null===(s=this.detailsRef)||void 0===s?void 0:s.open)&&!this.detailsRef.contains(e)&&(this.detailsRef.open=!1)}}handleOptionSelected(t){(new Date).getTime()-this._internalChangeTimestamp<200||(this._values=t,this._userInteraction=!0,this.optionSelected&&this.optionSelected.emit(null!=t?t:[]),this._internalChangeTimestamp=(new Date).getTime())}handleSelect(t){var i;t&&(this.multiple?(null===(i=this._values)||void 0===i?void 0:i.includes(t))?this.handleOptionSelected(this._values.filter((i=>i!==t))):this.handleOptionSelected([...this._values||[],t]):(this.handleOptionSelected([t]),this.handleClose(void 0,!0)))}handleSelectAll(t){var i;if(t.stopPropagation(),(null===(i=this._values)||void 0===i?void 0:i.length)===this.amountOptions)this.handleOptionSelected([]);else{const t=this.searchEnabled&&this.searchInputRef?this.searchInputRef.value:void 0;this.handleOptionSelected(this.options?this.options.filter((i=>{var s;return!i.isGroupTitle&&(!t||(null===(s=i.value)||void 0===s?void 0:s.toLowerCase().includes(t.toLowerCase())))})).map((t=>{var i;return null!==(i=t.value)&&void 0!==i?i:""})):[])}}handleFocusFirstDropdownCheckbox(t){if(this.detailsRef){const i=Array.from(this.detailsRef.querySelectorAll('input[type="checkbox"],input[type="radio"]'));if(i.length){const s=i.at(0),e=s===t&&i.length>1?i.at(1):s;e&&l((()=>{e.focus()}),1)}}}handleOpenByKeyboardFocus(){if(this.detailsRef){const t=o(this.detailsRef);t?l((()=>{t.focus()}),1):this.handleFocusFirstDropdownCheckbox()}}handleSearch(t){if(void 0===t)return;let i;if("string"==typeof t)i=t;else{const s=t;s.stopPropagation(),this.search&&this.search.emit(s),i=s.target.value,this._searchValue=i}this._options=this.options&&i&&0!==i.length?this.options.filter(this.searchFilter?t=>this.searchFilter(t,i):t=>!t.isGroupTitle&&this.getOptionLabel(t).toLowerCase().includes(i.toLowerCase())):this.options}handleClearAll(t){t.stopPropagation(),this.handleOptionSelected([]),this.handleSummaryFocus()}handleSummaryFocus(){var t;this.detailsRef&&(null===(t=this.detailsRef.querySelector("summary"))||void 0===t||t.focus())}resetIds(){var i,s,e;const h=null!==(e=null!==(i=this.id)&&void 0!==i?i:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&void 0!==e?e:"custom-select-"+t();this._id=h,this._messageId=h+p,this._validMessageId=h+y,this._invalidMessageId=h+g,this._selectId=h+k,this._labelId=h+_,this._summaryId=h+"-summary",this._placeholderId=h+x,this._selectedLabelsId=h+"-selected-labels",this._infoTextId=h+"-info"}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const h=i.item(e);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),s.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),s.removeAttribute(h.name);else if(h&&"class"===h.name){const i=h.value.includes("hydrated"),e=h.value.replace("hydrated","").trim(),l=t.getAttribute("class");t.setAttribute(h.name,`${l?l+" ":""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){var t,i;(null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){this.detailsRef&&this.detailsRef.addEventListener("focusout",(t=>this.handleClose(t)))}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const t=this._id+p;this._labelId=this._id+_,this._selectId=this._id+k,this._validMessageId=this._id+y,this._invalidMessageId=this._id+g,this._placeholderId=this._id+x,a(this.message,this.showMessage)?this.setDescById(t):this.setDescById()}}watch2(){this.watch2Fn()}watch3Fn(){var t;if(this.detailsRef){const i=this.detailsRef.querySelector("summary");i&&i.setAttribute("aria-describedby",null!==(t=this.ariaDescribedBy)&&void 0!==t?t:this._descByIds||"")}}watch3(){this.watch3Fn()}watch4Fn(){void 0!==this.showNoResults?this._hasNoOptions=this.showNoResults:this._options&&(this._hasNoOptions=0===this._options.length)}watch4(){this.watch4Fn()}watch5Fn(){var t;this.selectAllEnabled=!(!this.multiple||!(null!==(t=this.showSelectAll)&&void 0!==t?t:this.amountOptions>5))}watch5(){this.watch5Fn()}watch6Fn(){var t;this.searchEnabled=null!==(t=this.showSearch)&&void 0!==t?t:this.amountOptions>9}watch6(){this.watch6Fn()}watch7Fn(){var t;const i=this.values;Array.isArray(i)?this._values!==i&&(this._values=i):null==i&&0!==(null===(t=this._values)||void 0===t?void 0:t.length)&&(this._values=[])}watch7(){this.watch7Fn()}watch8Fn(){this.selectRef&&this.handleValidation()}watch8(){this.watch8Fn()}watch9Fn(){if(this.selectRef){let t=this.abortController;t||(t=new AbortController,this.abortController=t);const i=this.values;S(this.selectRef,(()=>{this.handleOptionSelected(i||(this.selectRef.value?[this.selectRef.value]:[])),this.handleValidation()}),t.signal)}}watch9(){this.watch9Fn()}watch10Fn(){this._validity=this.validation}watch10(){this.watch10Fn()}watch11Fn(){var t,i;0===(null===(t=this._values)||void 0===t?void 0:t.length)?(this.selectAllChecked=!1,this.selectAllIndeterminate=!1):(null===(i=this._values)||void 0===i?void 0:i.length)===this.amountOptions?(this.selectAllIndeterminate=!1,this.selectAllChecked=!0):this._values&&(this.selectAllIndeterminate=!0)}watch11(){this.watch11Fn()}watch12Fn(){var t,i;this._options=this.options,this.amountOptions=null!==(i=null===(t=this.options)||void 0===t?void 0:t.filter((t=>!t.isGroupTitle)).length)&&void 0!==i?i:0}watch12(){this.watch12Fn()}watch13Fn(){this._searchValue=this.searchValue,this.searchValue&&this.handleSearch(this.searchValue)}watch13(){this.watch13Fn()}watch14Fn(){var t,i;(null===(t=this.options)||void 0===t?void 0:t.length)&&(this._selectedOptions=null===(i=this.options)||void 0===i?void 0:i.filter((t=>{var i,s;return!(!t.value||!(null===(i=this._values)||void 0===i?void 0:i.includes))&&!t.isGroupTitle&&(null===(s=this._values)||void 0===s?void 0:s.includes(t.value))})))}watch14(){this.watch14Fn()}watch15Fn(){var t,i,s;if(this.selectedLabels)this._selectedLabels=this.selectedLabels;else if(null===(t=this._selectedOptions)||void 0===t?void 0:t.length){if(this.transformSelectedLabels)return void(this._selectedLabels=(0,this.transformSelectedLabels)(this._selectedOptions));this._selectedLabels="amount"===this.selectedType?this.amountText?this.amountText:`${null===(i=this._selectedOptions)||void 0===i?void 0:i.length} ${A}`:null===(s=this._selectedOptions)||void 0===s?void 0:s.map((t=>this.getOptionLabel(t))).join(", ")}else this._selectedLabels=""}watch15(){this.watch15Fn()}watch16Fn(){var t,i;this.amountChange&&this.amountChange.emit(null!==(i=null===(t=this._selectedOptions)||void 0===t?void 0:t.length)&&void 0!==i?i:0)}watch16(){this.watch16Fn()}watch17Fn(){this.selectAllRef&&(this.selectAllRef.indeterminate=!!this.selectAllIndeterminate)}watch17(){this.watch17Fn()}watch18Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this.selectRef)||void 0===t?void 0:t.validationMessage)||m}watch18(){this.watch18Fn()}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select"),this.resetIds(),this._invalidMessage=this.invalidMessage||m,"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{if(this.detailsRef){const i=t.find((({target:t})=>t===this.detailsRef));i&&!i.isIntersecting&&this.detailsRef.open&&(this.detailsRef.open=!1)}}))),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn(),this.watch6Fn(),this.watch7Fn(),this.watch8Fn(),this.watch9Fn(),this.watch10Fn(),this.watch11Fn(),this.watch12Fn(),this.watch13Fn(),this.watch14Fn(),this.watch15Fn(),this.watch16Fn(),this.watch17Fn(),this.watch18Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,s,e,h,l,o,v,m,f,p,y,g,k,_;return d("div",{key:"49370f989ad91ff472a3b50fc4f10e7bbb6b1b12",class:u("db-custom-select",this.className),id:this._id,ref:t=>{this._ref=t},"aria-invalid":"invalid"===this._validity,"data-custom-validity":this._validity,"data-width":this.formFieldWidth,"data-variant":"floating"===this.variant&&"tag"===this.selectedType&&this.multiple?"above":this.variant,"data-required":n(this.required),"data-hide-asterisk":w(this.showRequiredAsterisk),"data-placement":this.placement,"data-selected-type":this.multiple?this.selectedType:"text","data-hide-label":w(this.showLabel),"data-icon":this.icon,"data-show-icon":n(this.showIcon)},d("label",{key:"699d56e1b947cb98410332e4e62e67c92cb597bf",id:this._labelId},null!==(t=this.label)&&void 0!==t?t:b,d("select",{key:"f7050d437ffd6db5ec903599880b1fafd9ce4095",role:"none",hidden:!0,id:this._selectId,tabIndex:-1,ref:t=>{this.selectRef=t},form:this.form,name:this.name,"data-custom-validity":this._validity,multiple:r(this.multiple,"multiple"),disabled:r(this.disabled,"disabled"),required:r(this.required,"required"),onChange:t=>this.satisfyReact(t)},(null===(i=this.options)||void 0===i?void 0:i.length)?null===(s=this.options)||void 0===s?void 0:s.map((t=>d("option",{disabled:t.disabled,value:t.value,key:void 0},this.getOptionLabel(t)))):null)),d("details",{key:"4e34e5f4b56be35e01503a644236d5403a05f23c",ref:t=>{this.detailsRef=t},open:this.open,onToggle:t=>this.handleDropdownToggle(t),onKeyDown:t=>this.handleKeyboardPress(t)},d("slot",{key:"6f40593918535b2b8cff590233e350cfd0ab8a65"}),this.options?d(c,null,d("summary",{class:"db-custom-select-form-field",id:this._summaryId,"aria-disabled":n(this.disabled),tabIndex:this.disabled?-1:void 0,"aria-labelledby":this._labelId},(null===(e=this._selectedLabels)||void 0===e?void 0:e.length)?d("span",{"data-visually-hidden":n("tag"===this.selectedType),id:this._selectedLabelsId},this.selectedPrefix?d("span",{"data-visually-hidden":"true"},this.selectedPrefix):null,this._selectedLabels):null,"tag"===this.selectedType?d("div",null,null===(h=this._selectedOptions)||void 0===h?void 0:h.map((t=>d("db-tag",{emphasis:"strong",behavior:"removable",removeButton:this.getTagRemoveLabel(t),onRemove:i=>this.handleTagRemove(t,i),key:void 0},this.getOptionLabel(t))))):null),d("db-custom-select-dropdown",{width:this.dropdownWidth},this.searchEnabled?d("div",null,d("db-input",{type:"search",ref:t=>{this.searchInputRef=t},name:this._id,form:this._id,showLabel:!1,value:this._searchValue,label:null!==(l=this.searchLabel)&&void 0!==l?l:b,placeholder:null!==(o=this.searchPlaceholder)&&void 0!==o?o:this.searchLabel,ariaDescribedBy:this._hasNoOptions||this.showLoading?this._infoTextId:void 0,onInput:t=>this.handleSearch(t)})):null,this._hasNoOptions||this.showLoading?d("db-infotext",{id:this._infoTextId,icon:this.showLoading?"circular_arrows":void 0,semantic:this.showLoading?"informational":"warning"},null!==(v=this.showLoading?this.loadingText:this.noResultsText)&&void 0!==v?v:I):d(c,null,this.selectAllEnabled?d("div",null,d("div",{class:"db-checkbox db-custom-select-list-item"},d("label",null,d("input",{type:"checkbox",value:"select-all",ref:t=>{this.selectAllRef=t},form:this._id,checked:this.selectAllChecked,onChange:t=>this.handleSelectAll(t)}),this.getSelectAllLabel()))):null,d("db-custom-select-list",{multiple:r(this.multiple,"multiple"),label:null!==(f=null!==(m=this.listLabel)&&void 0!==m?m:this.label)&&void 0!==f?f:b},null===(p=this._options)||void 0===p?void 0:p.map((t=>d("db-custom-select-list-item",{type:this.multiple?"checkbox":"radio",showDivider:t.showDivider,icon:t.icon,isGroupTitle:t.isGroupTitle,groupTitle:this.getOptionLabel(t),name:this._id,checked:this.getOptionChecked(t.value),disabled:t.disabled,value:t.value,onChange:()=>this.handleSelect(t.value),key:void 0},t.isGroupTitle?null:this.getOptionLabel(t)))))),d("div",null,d("db-button",{variant:"ghost",width:"full",icon:"cross",size:"small",name:this._id,form:this._id,onClick:()=>this.handleClose(void 0,!0)},null!==(y=this.mobileCloseButtonText)&&void 0!==y?y:F)))):null),(null===(g=this.showClearSelection)||void 0===g||g)&&(null===(k=this._values)||void 0===k?void 0:k.length)?d("db-button",{icon:"cross",variant:"ghost",size:"small",noText:!0,name:this._id,form:this._id,disabled:r(this.disabled,"disabled"),onClick:t=>this.handleClearAll(t)},this.clearSelectionText,d("db-tooltip",{placement:"top"},this.clearSelectionText)):null,d("span",{key:"53d407a77d868b4ad678d34f458fbb44cbebbba8",class:"db-custom-select-placeholder","aria-hidden":n(!0),id:this._placeholderId},null!==(_=this.placeholder)&&void 0!==_?_:this.label),a(this.message,this.showMessage)?d("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?d("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||C):null,d("db-infotext",{key:"bd55bc41996ec6e5f72213476e135e8df5e3c55e",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),d("span",{key:"4fdf014e1360fad9f6616fd65258b0a24aea3ea4","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],detailsRef:[{watch1:0},{watch3:0}],_id:[{watch2:0}],_descByIds:[{watch3:0}],showNoResults:[{watch4:0}],showLoading:[{watch4:0}],_options:[{watch4:0}],showSelectAll:[{watch5:0}],amountOptions:[{watch5:0},{watch6:0},{watch11:0}],multiple:[{watch5:0}],showSearch:[{watch6:0}],values:[{watch7:0}],_values:[{watch8:0},{watch11:0},{watch14:0}],selectRef:[{watch8:0},{watch9:0},{watch18:0}],validation:[{watch10:0}],options:[{watch12:0},{watch14:0}],searchValue:[{watch13:0}],_selectedOptions:[{watch15:0},{watch16:0}],selectedType:[{watch15:0}],amountText:[{watch15:0}],selectedLabels:[{watch15:0}],transformSelectedLabels:[{watch15:0}],selectAllIndeterminate:[{watch17:0}],selectAllRef:[{watch17:0}],invalidMessage:[{watch18:0}]}}},[260,"db-custom-select",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],message:[1],showMessage:[8,"show-message"],ariaDescribedBy:[1,"aria-described-by"],showNoResults:[4,"show-no-results"],showLoading:[4,"show-loading"],multiple:[8],showSelectAll:[4,"show-select-all"],showSearch:[4,"show-search"],values:[16],validation:[1],options:[16],searchValue:[1,"search-value"],selectedLabels:[1,"selected-labels"],transformSelectedLabels:[16],selectedType:[1,"selected-type"],amountText:[1,"amount-text"],validMessage:[1,"valid-message"],required:[8],selectAllLabel:[1,"select-all-label"],removeTagsTexts:[16],placement:[1],searchFilter:[16],className:[1,"classname"],formFieldWidth:[1,"form-field-width"],variant:[1],showRequiredAsterisk:[8,"show-required-asterisk"],showLabel:[8,"show-label"],icon:[1],showIcon:[8,"show-icon"],label:[1],form:[1],name:[1],disabled:[8],open:[4],selectedPrefix:[1,"selected-prefix"],dropdownWidth:[1,"dropdown-width"],searchLabel:[1,"search-label"],searchPlaceholder:[1,"search-placeholder"],listLabel:[1,"list-label"],loadingText:[1,"loading-text"],noResultsText:[1,"no-results-text"],mobileCloseButtonText:[1,"mobile-close-button-text"],showClearSelection:[4,"show-clear-selection"],clearSelectionText:[1,"clear-selection-text"],placeholder:[1],messageIcon:[1,"message-icon"],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_selectId:[32],_labelId:[32],_summaryId:[32],_placeholderId:[32],_infoTextId:[32],_validity:[32],_userInteraction:[32],abortController:[32],_descByIds:[32],_selectedLabels:[32],_selectedLabelsId:[32],_voiceOverFallback:[32],_selectedOptions:[32],selectAllEnabled:[32],searchEnabled:[32],amountOptions:[32],_values:[32],_options:[32],_hasNoOptions:[32],_documentClickListenerCallbackId:[32],_internalChangeTimestamp:[32],_documentScrollListenerCallbackId:[32],_observer:[32],_searchValue:[32],selectAllChecked:[32],selectAllIndeterminate:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],detailsRef:[{watch1:0},{watch3:0}],_id:[{watch2:0}],_descByIds:[{watch3:0}],showNoResults:[{watch4:0}],showLoading:[{watch4:0}],_options:[{watch4:0}],showSelectAll:[{watch5:0}],amountOptions:[{watch5:0},{watch6:0},{watch11:0}],multiple:[{watch5:0}],showSearch:[{watch6:0}],values:[{watch7:0}],_values:[{watch8:0},{watch11:0},{watch14:0}],selectRef:[{watch8:0},{watch9:0},{watch18:0}],validation:[{watch10:0}],options:[{watch12:0},{watch14:0}],searchValue:[{watch13:0}],_selectedOptions:[{watch15:0},{watch16:0}],selectedType:[{watch15:0}],amountText:[{watch15:0}],selectedLabels:[{watch15:0}],transformSelectedLabels:[{watch15:0}],selectAllIndeterminate:[{watch17:0}],selectAllRef:[{watch17:0}],invalidMessage:[{watch18:0}]}]),N=z,V=function(){"undefined"!=typeof customElements&&["db-custom-select","db-button","db-custom-select-dropdown","db-custom-select-list","db-custom-select-list-item","db-infotext","db-input","db-tag","db-tooltip"].forEach((t=>{switch(t){case"db-custom-select":customElements.get(v(t))||customElements.define(v(t),z);break;case"db-button":customElements.get(v(t))||D();break;case"db-custom-select-dropdown":customElements.get(v(t))||O();break;case"db-custom-select-list":customElements.get(v(t))||E();break;case"db-custom-select-list-item":customElements.get(v(t))||R();break;case"db-infotext":customElements.get(v(t))||j();break;case"db-input":customElements.get(v(t))||B();break;case"db-tag":customElements.get(v(t))||M();break;case"db-tooltip":customElements.get(v(t))||P()}}))};export{q as D,N as DbCustomSelect,V as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbDivider extends Components.DbDivider, HTMLElement {}
4
- export const DbDivider: {
5
- prototype: DbDivider;
6
- new (): DbDivider;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as d,d as i,t as e}from"./p-CCbaTFJ9.js";const a=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const d=null==t?void 0:t.closest(s);if(t&&d){const s=d.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(e.name,`${a?a+" ":""}${i}`),s?d.setAttribute("class","hydrated"):d.removeAttribute(e.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-divider")}render(){var t,s;return d("div",{key:"218b431a68a2aef816c5b3ddb8f9d499b25dfd92",class:i("db-divider",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-margin":this.margin,"data-variant":this.variant,"data-emphasis":this.emphasis,"data-width":this.width})}get rootElement(){return this}},[0,"db-divider",{id:[1],propOverrides:[16],margin:[1],variant:[1],emphasis:[1],width:[1],className:[1,"classname"]}]),n=a,r=function(){"undefined"!=typeof customElements&&["db-divider"].forEach((t=>{"db-divider"===t&&(customElements.get(e(t))||customElements.define(e(t),a))}))};export{n as DbDivider,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbDrawer extends Components.DbDrawer, HTMLElement {}
4
- export const DbDrawer: {
5
- prototype: DbDrawer;
6
- new (): DbDrawer;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as a,d as o}from"./p-DaaF73NV.js";const s=a,p=o;export{s as DbDrawer,p as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbHeader extends Components.DbHeader, HTMLElement {}
4
- export const DbHeader: {
5
- prototype: DbHeader;
6
- new (): DbHeader;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as e,H as a,A as d,c as t,z as s,k as c,d as i,t as n}from"./p-CCbaTFJ9.js";import{p as o}from"./p-BdL-nI5y.js";import{i as b}from"./p-BuBrj57D.js";import{d as r}from"./p-BNhyPF1P.js";import{d as f}from"./p-DaaF73NV.js";const l=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.toggle=d(this,"toggle"),this.initialized=!1,this.forcedToMobile=!1}handleToggle(e){e&&e.stopPropagation&&e.stopPropagation();const a=!c(this.drawerOpen,"drawerOpen");this.toggle&&this.toggle.emit(a)}handleNavigationItemClick(e){b(e)&&this.handleToggle()}enableAttributePassing(e,a){const d=null==e?void 0:e.closest(a);if(e&&d){const a=d.attributes;for(let t=0;t<a.length;t++){const s=a.item(t);if(s&&"data-density"!==s.name&&(s.name.startsWith("data-")||s.name.startsWith("aria-")))e.setAttribute(s.name,s.value),d.removeAttribute(s.name);else if(s&&"data-density"!==s.name&&"class"!==s.name&&"style"===s.name)e.setAttribute(s.name,s.value),d.removeAttribute(s.name);else if(s&&"class"===s.name){const a=s.value.includes("hydrated"),t=s.value.replace("hydrated","").trim(),c=e.getAttribute("class");e.setAttribute(s.name,`${c?c+" ":""}${t}`),a?d.setAttribute("class","hydrated"):d.removeAttribute(s.name)}}}}watch0Fn(){this.initialized&&this._ref&&this.forceMobile&&(t(this._ref,{key:"data-force-mobile",value:"true"}),this.forcedToMobile=!0)}watch0(){this.watch0Fn()}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const e=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);e&&e.remove()}this.enableAttributePassing(this._ref,"db-header"),this.initialized=!0,this.watch0Fn()}render(){var e,a,d;return s("header",{key:"3a39fdb0a98810f0ef353b4083a244a94a87a03f",class:i("db-header",this.className),ref:e=>{this._ref=e},id:null!==(e=this.id)&&void 0!==e?e:null===(a=this.propOverrides)||void 0===a?void 0:a.id,"data-width":this.width,"data-on-forcing-mobile":this.forceMobile&&!this.forcedToMobile},s("div",{key:"69050d680f513d5c3a3b7c053fdef571628b9c6f",class:"db-header-meta-navigation"},s("slot",{key:"9bced0b5c7cc0bc851e38959d01df14e2ce9548f",name:"metaNavigation"})),s("div",{key:"fddb1809e6cc396d819b54be0b1f068cc1a3135b",class:"db-header-navigation-bar"},s("div",{key:"0dcfe0322e7a9811647709bcbcf6a1864765bbef",class:"db-header-brand-container"},s("slot",{key:"05648fb509fd73788fc23a8da9859f9a9d9a2b6a",name:"brand"})),s("div",{key:"2202ddc5bdc006508b7fc160f63b55b593676dda",class:"db-header-navigation-container"},s("div",{key:"bd5c43a8a16e870487e87480c4af9303e7fd234c",class:"db-header-navigation"},s("slot",{key:"cef7542ac513548bc026a0de79fbbf447b6ba3cb"})),s("div",{key:"41a956288a4b43e875c6d621e62ad1ba31662d31",class:"db-header-primary-action"},s("slot",{key:"7ce6089309371f93567f44c2fdd347e83f9b565a",name:"primaryAction"}))),s("div",{key:"0d8105c502386a07d5b658f7367f4554782f2664",class:"db-header-action-container"},s("div",{key:"feaada117a582607cd908d4e361a45042b6fcf1f",class:"db-header-burger-menu-container"},s("db-button",{key:"2708dae0981369f53e708d760fe814c6479eca00",icon:"menu",variant:"ghost",noText:!0,onClick:()=>this.handleToggle()},null!==(d=this.burgerMenuLabel)&&void 0!==d?d:o)),s("div",{key:"7e894ae29ad359c854935916e27709b11ff478f7",class:"db-header-secondary-action"},s("slot",{key:"21c15cc2f50e191a0ba134c665f43a347fa1c182",name:"secondaryAction"})))),s("db-drawer",{key:"f7e1788100e8e46ecd709e1ec6528ee2affd5b79",class:"db-header-drawer",spacing:"small",rounded:!0,closeButtonId:this.closeButtonId,closeButtonText:this.closeButtonText,open:c(this.drawerOpen),onClose:()=>this.handleToggle()},s("div",{key:"500fa28c4a583d02840abba3174e7fabe8acc38e",class:"db-header-drawer-navigation"},s("div",{key:"60924e6bd96efdc3dd223124080535d73c34d53c",class:"db-header-navigation",onClick:e=>this.handleNavigationItemClick(e)},s("slot",{key:"ceb09c5388583d300f4b79674bc45e5434f6512b"})),s("div",{key:"13c025135c4d338627be8ad4ad8a1d08ae94edf0",class:"db-header-meta-navigation"},s("slot",{key:"4ae52e18798ff269bcce94eea62cb1cca75e1e16",name:"metaNavigation"}))),s("div",{key:"102bec12c056d75e229751f6e55b47f2a5339a3e",class:"db-header-secondary-action"},s("slot",{key:"4c44bfcb61fb20d85960ac9186b15e17cbbabc98",name:"secondaryAction"}))))}get rootElement(){return this}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0}]}}},[260,"db-header",{forceMobile:[8,"force-mobile"],drawerOpen:[8,"drawer-open"],className:[1,"classname"],id:[1],propOverrides:[16],width:[1],burgerMenuLabel:[1,"burger-menu-label"],closeButtonId:[1,"close-button-id"],closeButtonText:[1,"close-button-text"],initialized:[32],forcedToMobile:[32]},void 0,{initialized:[{watch0:0}],_ref:[{watch0:0}]}]),h=l,m=function(){"undefined"!=typeof customElements&&["db-header","db-button","db-drawer"].forEach((e=>{switch(e){case"db-header":customElements.get(n(e))||customElements.define(n(e),l);break;case"db-button":customElements.get(n(e))||r();break;case"db-drawer":customElements.get(n(e))||f()}}))};export{h as DbHeader,m as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbIcon extends Components.DbIcon, HTMLElement {}
4
- export const DbIcon: {
5
- prototype: DbIcon;
6
- new (): DbIcon;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
package/bundle/db-icon.js DELETED
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d as i,t as a}from"./p-CCbaTFJ9.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n?n+" ":""}${i}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-icon")}render(){var t,s;return e("span",{key:"82a0e3f95e5681cd27083283928e20a29e24b504",class:i("db-icon",this.className),"aria-hidden":"true",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":this.icon,"data-icon-weight":this.weight,"data-icon-variant":this.variant},this.text?this.text:null,e("slot",{key:"3a329d9db066f884d3364e502b40e1c376b54e77"}))}get rootElement(){return this}},[260,"db-icon",{id:[1],propOverrides:[16],className:[1,"classname"],icon:[1],weight:[1],variant:[1],text:[1]}]),d=n,o=function(){"undefined"!=typeof customElements&&["db-icon"].forEach((t=>{"db-icon"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))};export{d as DbIcon,o as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbInfotext extends Components.DbInfotext, HTMLElement {}
4
- export const DbInfotext: {
5
- prototype: DbInfotext;
6
- new (): DbInfotext;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as s}from"./p-BPzP5Ag7.js";const p=o,r=s;export{p as DbInfotext,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbInput extends Components.DbInput, HTMLElement {}
4
- export const DbInput: {
5
- prototype: DbInput;
6
- new (): DbInput;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{D as o,d as s}from"./p-CeC-MQcb.js";const p=o,r=s;export{p as DbInput,r as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbLink extends Components.DbLink, HTMLElement {}
4
- export const DbLink: {
5
- prototype: DbLink;
6
- new (): DbLink;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
package/bundle/db-link.js DELETED
@@ -1 +0,0 @@
1
- import{y as t,H as e,z as s,d as i,t as a,j as r}from"./p-CCbaTFJ9.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let i=0;i<e.length;i++){const a=e.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),r=t.getAttribute("class");t.setAttribute(a.name,`${r?r+" ":""}${i}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-link")}render(){var t,e,a,n;return s("a",{key:"e82f9c1fc9c90b9fbca431d5e42e7bf9c7e2554b",class:i("db-link",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(a=this.referrerpolicy)&&void 0!==a?a:this.referrerPolicy,hrefLang:this.hreflang,"aria-disabled":r(this.disabled),tabIndex:this.disabled?-1:0,"data-size":this.size,"data-show-icon-trailing":r(null===(n=this.showIcon)||void 0===n||n),"data-variant":this.variant,"data-content":this.content||"internal","data-wrap":r(this.wrap)},this.text?this.text:null,s("slot",{key:"8dfd642fa3f7350c0f2e2df8cedec5be906ff01e"}))}get rootElement(){return this}},[260,"db-link",{id:[1],propOverrides:[16],className:[1,"classname"],href:[1],target:[1],rel:[1],role:[1],referrerpolicy:[1],referrerPolicy:[1,"referrer-policy"],hreflang:[1],disabled:[8],size:[1],showIcon:[8,"show-icon"],variant:[1],content:[1],wrap:[8],text:[1]}]),d=n,l=function(){"undefined"!=typeof customElements&&["db-link"].forEach((t=>{"db-link"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))};export{d as DbLink,l as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbNavigationItem extends Components.DbNavigationItem, HTMLElement {}
4
- export const DbNavigationItem: {
5
- prototype: DbNavigationItem;
6
- new (): DbNavigationItem;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as i,H as t,A as a,f as s,k as n,u as o,z as e,F as d,d as h,t as l,j as c}from"./p-CCbaTFJ9.js";import{n as u}from"./p-BdL-nI5y.js";import{N as r}from"./p-BuBrj57D.js";import{d as v}from"./p-BNhyPF1P.js";const b=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.click=a(this,"click"),this.initialized=!1,this.hasAreaPopup=!1,this.hasSubNavigation=!0,this.isSubNavigationExpanded=!1,this.autoClose=!1,this.navigationItemSafeTriangle=void 0,this.subNavigationId=void 0,this.subNavigationToggleId=void 0}handleNavigationItemClick(i){var t;"A"===(null===(t=null==i?void 0:i.target)||void 0===t?void 0:t.nodeName)&&(this.autoClose=!0,s((()=>{this.autoClose=!1}),1e3))}handleClick(i){this.click&&(i.stopPropagation(),this.click.emit(i)),this.hasAreaPopup&&(this.isSubNavigationExpanded=!0)}handleBackClick(i){i.stopPropagation(),this.isSubNavigationExpanded=!1}enableAttributePassing(i,t){const a=null==i?void 0:i.closest(t);if(i&&a){const t=a.attributes;for(let s=0;s<t.length;s++){const n=t.item(s);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))i.setAttribute(n.name,n.value),a.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)i.setAttribute(n.name,n.value),a.removeAttribute(n.name);else if(n&&"class"===n.name){const t=n.value.includes("hydrated"),s=n.value.replace("hydrated","").trim(),o=i.getAttribute("class");i.setAttribute(n.name,`${o?o+" ":""}${s}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(n.name)}}}}watch0Fn(){void 0!==this.subNavigationExpanded&&(this.isSubNavigationExpanded=!!n(this.subNavigationExpanded,"subNavigationExpanded"))}watch0(){this.watch0Fn()}watch1Fn(){var i;if(this.initialized&&this._ref){const t=this._ref.querySelector("menu");t&&((null===(i=t.children)||void 0===i?void 0:i.length)>0?(this.hasAreaPopup=!0,this.navigationItemSafeTriangle||(this.navigationItemSafeTriangle=new r(this._ref,t))):this.hasSubNavigation=!1)}}watch1(){this.watch1Fn()}componentDidLoad(){var i;if(document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-navigation-item"),this.initialized=!0;const t="sub-nav-"+(null!==(i=this.id)&&void 0!==i?i:o());this.subNavigationId=t,this.subNavigationToggleId=t+"-toggle",this.watch0Fn(),this.watch1Fn()}render(){var i,t,a;return e("li",{key:"2eba532df4ab16545e072c02a9405ec643fbf37f",class:h("db-navigation-item",this.className),ref:i=>{this._ref=i},id:null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id,onMouseOver:()=>{var i;return null===(i=this.navigationItemSafeTriangle)||void 0===i?void 0:i.enableFollow()},onMouseLeave:()=>{var i;return null===(i=this.navigationItemSafeTriangle)||void 0===i?void 0:i.disableFollow()},onMouseMove:i=>{var t;return null===(t=this.navigationItemSafeTriangle)||void 0===t?void 0:t.followByMouseEvent(i)},"data-width":this.width,"data-icon":this.icon,"data-show-icon":c(this.showIcon),"data-active":this.active,"data-wrap":c(this.wrap),"aria-disabled":c(this.disabled)},!n(this.hideSubNavigation,"hideSubNavigation")&&this.hasSubNavigation?e(d,null,e("button",{class:"db-navigation-item-expand-button",id:this.subNavigationToggleId,"aria-haspopup":this.hasAreaPopup?"true":void 0,"aria-expanded":this.isSubNavigationExpanded,"aria-controls":this.subNavigationId,disabled:n(this.disabled,"disabled"),onClick:i=>this.handleClick(i)},this.text?this.text:e("slot",{name:"expandButton"})),e("menu",{class:"db-sub-navigation",id:this.subNavigationId,"aria-labelledby":this.subNavigationToggleId,"data-force-close":this.autoClose,onClick:i=>this.handleNavigationItemClick(i)},this.hasAreaPopup?e("div",{class:"db-mobile-navigation-back"},e("db-button",{icon:"arrow_left",variant:"ghost",id:this.backButtonId,onClick:i=>this.handleBackClick(i)},null!==(a=this.backButtonText)&&void 0!==a?a:u)):null,e("slot",{name:"subNavigation"}))):this.text?this.text:e("slot",null))}get rootElement(){return this}static get watchers(){return{subNavigationExpanded:[{watch0:0}],initialized:[{watch1:0}],_ref:[{watch1:0}]}}},[260,"db-navigation-item",{id:[1],subNavigationExpanded:[8,"sub-navigation-expanded"],propOverrides:[16],className:[1,"classname"],width:[1],icon:[1],showIcon:[8,"show-icon"],active:[4],wrap:[8],disabled:[8],hideSubNavigation:[4,"hide-sub-navigation"],text:[1],backButtonId:[1,"back-button-id"],backButtonText:[1,"back-button-text"],initialized:[32],hasAreaPopup:[32],hasSubNavigation:[32],isSubNavigationExpanded:[32],autoClose:[32],navigationItemSafeTriangle:[32],subNavigationId:[32],subNavigationToggleId:[32]},void 0,{subNavigationExpanded:[{watch0:0}],initialized:[{watch1:0}],_ref:[{watch1:0}]}]),m=b,g=function(){"undefined"!=typeof customElements&&["db-navigation-item","db-button"].forEach((i=>{switch(i){case"db-navigation-item":customElements.get(l(i))||customElements.define(l(i),b);break;case"db-button":customElements.get(l(i))||v()}}))};export{m as DbNavigationItem,g as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbNavigation extends Components.DbNavigation, HTMLElement {}
4
- export const DbNavigation: {
5
- prototype: DbNavigation;
6
- new (): DbNavigation;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d as a,t as n}from"./p-CCbaTFJ9.js";const i=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const n=s.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"class"===n.name){const s=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(n.name,`${i?i+" ":""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(n.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-navigation")}render(){var t,s;return e("nav",{key:"53aa7bc42d5778fc76f7c77ea8ebe4e5a4e03caf",class:a("db-navigation",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},e("menu",{key:"cc93d4c1c0b82c616086e03610a82c286933f5e3"},e("slot",{key:"326415bf5cbb424a5867217ca156e218d03d83a5"})))}get rootElement(){return this}},[260,"db-navigation",{id:[1],propOverrides:[16],className:[1,"classname"]}]),d=i,c=function(){"undefined"!=typeof customElements&&["db-navigation"].forEach((t=>{"db-navigation"===t&&(customElements.get(n(t))||customElements.define(n(t),i))}))};export{d as DbNavigation,c as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbNotification extends Components.DbNotification, HTMLElement {}
4
- export const DbNotification: {
5
- prototype: DbNotification;
6
- new (): DbNotification;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1 +0,0 @@
1
- import{y as t,H as s,A as i,z as a,k as e,p as n,d as o,t as d,j as c,x as l}from"./p-CCbaTFJ9.js";import{s as h}from"./p-BdL-nI5y.js";import{d as r}from"./p-BNhyPF1P.js";const m=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=i(this,"close")}handleClose(t){t&&(t.stopPropagation(),this.close&&this.close.emit(t))}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(e.name,`${n?n+" ":""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){if(document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-notification")}render(){var t,s,i;return a("div",{key:"0d4d39ebc130e097f329e317fa110513f57f4a99",class:o("db-notification",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,role:l({semantic:this.semantic,role:this.role,ariaLive:this.ariaLive}),"aria-live":this.ariaLive,"data-semantic":this.semantic,"data-variant":this.variant,"data-icon":!1!==e(this.showIcon)?this.icon:void 0,"data-show-icon":c(this.showIcon),"data-link-variant":this.linkVariant},a("slot",{key:"b055c65a89ed587312a85c263e82638137312932",name:"image"}),n(this.headline,this.showHeadline)?a("header",{"data-area":"head"},this.headline):null,a("div",{key:"ba273fa5ec9f47b4a8ef689cdca3f4dca41082d3","data-area":"content"},this.text?this.text:null,a("slot",{key:"42dcc387673e1b7a3f276992cf5c407d7932980b"})),n(this.timestamp,this.showTimestamp)?a("time",{"data-area":"timestamp",dateTime:this.timestampDatetime},this.timestamp):null,a("slot",{key:"e027a8a1d3e4944b58f57f3546f217e49c7d80d2",name:"link"}),e(this.closeable,"closeable")?a("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t)},null!==(i=this.closeButtonText)&&void 0!==i?i:h):null)}get rootElement(){return this}},[260,"db-notification",{id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],role:[1],ariaLive:[1,"aria-live"],variant:[1],showIcon:[8,"show-icon"],icon:[1],linkVariant:[1,"link-variant"],headline:[8],showHeadline:[8,"show-headline"],text:[1],timestamp:[1],showTimestamp:[8,"show-timestamp"],timestampDatetime:[1,"timestamp-datetime"],closeable:[8],closeButtonId:[1,"close-button-id"],closeButtonText:[1,"close-button-text"]}]),f=m,u=function(){"undefined"!=typeof customElements&&["db-notification","db-button"].forEach((t=>{switch(t){case"db-notification":customElements.get(d(t))||customElements.define(d(t),m);break;case"db-button":customElements.get(d(t))||r()}}))};export{f as DbNotification,u as defineCustomElement}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../dist/types/components";
2
-
3
- interface DbPage extends Components.DbPage, HTMLElement {}
4
- export const DbPage: {
5
- prototype: DbPage;
6
- new (): DbPage;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;