@db-ux/wc-core-components 4.5.4-mcp-e4cd7e6 → 4.5.4-table-c758ae7

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 (221) hide show
  1. package/README.md +30 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
  3. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/db-badge.cjs.entry.js +2 -2
  5. package/dist/cjs/db-brand.cjs.entry.js +2 -2
  6. package/dist/cjs/db-button.cjs.entry.js +2 -2
  7. package/dist/cjs/db-card.cjs.entry.js +3 -3
  8. package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
  9. package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
  10. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
  11. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  12. package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
  13. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  14. package/dist/cjs/db-drawer.cjs.entry.js +4 -4
  15. package/dist/cjs/db-header.cjs.entry.js +3 -3
  16. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  18. package/dist/cjs/db-link_4.cjs.entry.js +220 -0
  19. package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
  20. package/dist/cjs/db-navigation.cjs.entry.js +3 -3
  21. package/dist/cjs/db-notification.cjs.entry.js +3 -3
  22. package/dist/cjs/db-page.cjs.entry.js +3 -3
  23. package/dist/cjs/db-popover.cjs.entry.js +3 -3
  24. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/db-section.cjs.entry.js +3 -3
  26. package/dist/cjs/db-select.cjs.entry.js +3 -3
  27. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  28. package/dist/cjs/db-switch.cjs.entry.js +3 -3
  29. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
  30. package/dist/cjs/db-table-body_3.cjs.entry.js +173 -0
  31. package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +6 -7
  32. package/dist/cjs/db-table.cjs.entry.js +136 -0
  33. package/dist/cjs/db-tabs.cjs.entry.js +3 -3
  34. package/dist/cjs/db-textarea.cjs.entry.js +3 -3
  35. package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
  36. package/dist/cjs/db-ux.cjs.js +2 -2
  37. package/dist/cjs/{index-EqJP9Qyt.js → index-CSakRmZZ.js} +21 -0
  38. package/dist/cjs/index.cjs.js +20 -1
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/collection/collection-manifest.json +9 -1
  41. package/dist/collection/components/accordion/accordion.js +1 -1
  42. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  43. package/dist/collection/components/badge/badge.js +1 -1
  44. package/dist/collection/components/brand/brand.js +2 -2
  45. package/dist/collection/components/button/button.js +4 -4
  46. package/dist/collection/components/card/card.js +2 -2
  47. package/dist/collection/components/checkbox/checkbox.js +3 -3
  48. package/dist/collection/components/custom-button/custom-button.js +5 -5
  49. package/dist/collection/components/custom-select/custom-select.js +7 -7
  50. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  51. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  52. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  53. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -2
  54. package/dist/collection/components/divider/divider.js +1 -1
  55. package/dist/collection/components/drawer/drawer.js +3 -3
  56. package/dist/collection/components/header/header.js +2 -2
  57. package/dist/collection/components/icon/icon.js +2 -2
  58. package/dist/collection/components/infotext/infotext.js +2 -2
  59. package/dist/collection/components/input/input.js +6 -6
  60. package/dist/collection/components/link/link.js +1 -1
  61. package/dist/collection/components/navigation/navigation.js +2 -2
  62. package/dist/collection/components/navigation-item/navigation-item.js +2 -2
  63. package/dist/collection/components/notification/notification.js +3 -3
  64. package/dist/collection/components/page/page.js +2 -2
  65. package/dist/collection/components/popover/popover.js +2 -2
  66. package/dist/collection/components/radio/radio.js +1 -1
  67. package/dist/collection/components/section/section.js +2 -2
  68. package/dist/collection/components/select/select.js +4 -4
  69. package/dist/collection/components/stack/stack.js +2 -2
  70. package/dist/collection/components/switch/switch.js +6 -6
  71. package/dist/collection/components/tab-item/tab-item.js +5 -5
  72. package/dist/collection/components/tab-list/tab-list.js +2 -2
  73. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  74. package/dist/collection/components/table/examples/data.js +258 -0
  75. package/dist/collection/components/table/index.js +2 -0
  76. package/dist/collection/components/table/model.js +6 -0
  77. package/dist/collection/components/table/table.js +456 -0
  78. package/dist/collection/components/table-body/index.js +2 -0
  79. package/dist/collection/components/table-body/model.js +1 -0
  80. package/dist/collection/components/table-body/table-body.js +137 -0
  81. package/dist/collection/components/table-caption/index.js +2 -0
  82. package/dist/collection/components/table-caption/model.js +1 -0
  83. package/dist/collection/components/table-caption/table-caption.js +109 -0
  84. package/dist/collection/components/table-data-cell/index.js +2 -0
  85. package/dist/collection/components/table-data-cell/model.js +1 -0
  86. package/dist/collection/components/table-data-cell/table-data-cell.js +291 -0
  87. package/dist/collection/components/table-footer/index.js +2 -0
  88. package/dist/collection/components/table-footer/model.js +1 -0
  89. package/dist/collection/components/table-footer/table-footer.js +137 -0
  90. package/dist/collection/components/table-head/index.js +2 -0
  91. package/dist/collection/components/table-head/model.js +1 -0
  92. package/dist/collection/components/table-head/table-head.js +140 -0
  93. package/dist/collection/components/table-header-cell/index.js +2 -0
  94. package/dist/collection/components/table-header-cell/model.js +1 -0
  95. package/dist/collection/components/table-header-cell/table-header-cell.js +369 -0
  96. package/dist/collection/components/table-row/index.js +2 -0
  97. package/dist/collection/components/table-row/model.js +1 -0
  98. package/dist/collection/components/table-row/table-row.js +195 -0
  99. package/dist/collection/components/tabs/tabs.js +2 -2
  100. package/dist/collection/components/tag/tag.js +3 -3
  101. package/dist/collection/components/textarea/textarea.js +3 -3
  102. package/dist/collection/components/tooltip/tooltip.js +2 -2
  103. package/dist/collection/index.js +16 -0
  104. package/dist/collection/shared/model.js +1 -1
  105. package/dist/custom-elements.json +5671 -2660
  106. package/dist/db-ux/db-ux.esm.js +1 -1
  107. package/dist/db-ux/index.esm.js +1 -1
  108. package/dist/db-ux/{p-cdef6789.entry.js → p-003f3468.entry.js} +1 -1
  109. package/dist/db-ux/{p-516c3f64.entry.js → p-0055d6ce.entry.js} +1 -1
  110. package/dist/db-ux/{p-c7d1bee4.entry.js → p-032487d0.entry.js} +1 -1
  111. package/dist/db-ux/{p-83e69c0e.entry.js → p-10acdb01.entry.js} +1 -1
  112. package/dist/db-ux/{p-3ca07f53.entry.js → p-150c4aeb.entry.js} +1 -1
  113. package/dist/db-ux/{p-72d1ea3b.entry.js → p-19fe0672.entry.js} +1 -1
  114. package/dist/db-ux/p-2cdc1311.entry.js +1 -0
  115. package/dist/db-ux/p-33ca6422.entry.js +1 -0
  116. package/dist/db-ux/p-42e61221.entry.js +1 -0
  117. package/dist/db-ux/{p-fdbf8d91.entry.js → p-47bd992d.entry.js} +1 -1
  118. package/dist/db-ux/{p-fc9fb7cd.entry.js → p-50a16969.entry.js} +1 -1
  119. package/dist/db-ux/{p-aad2d524.entry.js → p-54d2e18d.entry.js} +1 -1
  120. package/dist/db-ux/{p-b99e76fd.entry.js → p-5e4de899.entry.js} +1 -1
  121. package/dist/db-ux/p-68a1d35a.entry.js +1 -0
  122. package/dist/db-ux/{p-56da8875.entry.js → p-6b87f6f1.entry.js} +1 -1
  123. package/dist/db-ux/{p-19ae6336.entry.js → p-7387346c.entry.js} +1 -1
  124. package/dist/db-ux/p-75005663.entry.js +1 -0
  125. package/dist/db-ux/{p-7f6fae6f.entry.js → p-77ee580e.entry.js} +1 -1
  126. package/dist/db-ux/{p-669fe992.entry.js → p-7da51a4c.entry.js} +1 -1
  127. package/dist/db-ux/p-7f2eaa8b.entry.js +1 -0
  128. package/dist/db-ux/{p-bd1b0142.entry.js → p-823a7488.entry.js} +1 -1
  129. package/dist/db-ux/p-8826c7fc.entry.js +1 -0
  130. package/dist/db-ux/{p-a0f6fc10.entry.js → p-8baf5ea2.entry.js} +1 -1
  131. package/dist/db-ux/{p-4f519859.entry.js → p-8f76eea7.entry.js} +1 -1
  132. package/dist/db-ux/p-97f5d48e.entry.js +1 -0
  133. package/dist/db-ux/p-LpjjuLKB.js +2 -0
  134. package/dist/db-ux/p-a8368ed2.entry.js +1 -0
  135. package/dist/db-ux/p-c0b8571d.entry.js +1 -0
  136. package/dist/db-ux/p-d20bd873.entry.js +1 -0
  137. package/dist/db-ux/{p-4a0870fa.entry.js → p-d603dcc4.entry.js} +1 -1
  138. package/dist/db-ux/{p-2c30a356.entry.js → p-dbdfc04a.entry.js} +1 -1
  139. package/dist/db-ux/{p-df2b1979.entry.js → p-e3279b61.entry.js} +1 -1
  140. package/dist/db-ux/{p-a726cd18.entry.js → p-e367150f.entry.js} +1 -1
  141. package/dist/db-ux/{p-f49ed233.entry.js → p-e9058123.entry.js} +1 -1
  142. package/dist/db-ux/p-e9142fec.entry.js +1 -0
  143. package/dist/esm/db-accordion-item.entry.js +3 -3
  144. package/dist/esm/db-accordion.entry.js +2 -2
  145. package/dist/esm/db-badge.entry.js +2 -2
  146. package/dist/esm/db-brand.entry.js +2 -2
  147. package/dist/esm/db-button.entry.js +2 -2
  148. package/dist/esm/db-card.entry.js +3 -3
  149. package/dist/esm/db-checkbox.entry.js +3 -3
  150. package/dist/esm/db-custom-button.entry.js +3 -3
  151. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
  152. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  153. package/dist/esm/db-custom-select.entry.js +6 -6
  154. package/dist/esm/db-divider.entry.js +2 -2
  155. package/dist/esm/db-drawer.entry.js +4 -4
  156. package/dist/esm/db-header.entry.js +3 -3
  157. package/dist/esm/db-icon.entry.js +2 -2
  158. package/dist/esm/db-infotext.entry.js +2 -2
  159. package/dist/esm/db-link_4.entry.js +215 -0
  160. package/dist/esm/db-navigation-item.entry.js +2 -2
  161. package/dist/esm/db-navigation.entry.js +3 -3
  162. package/dist/esm/db-notification.entry.js +3 -3
  163. package/dist/esm/db-page.entry.js +3 -3
  164. package/dist/esm/db-popover.entry.js +3 -3
  165. package/dist/esm/db-radio.entry.js +2 -2
  166. package/dist/esm/db-section.entry.js +3 -3
  167. package/dist/esm/db-select.entry.js +3 -3
  168. package/dist/esm/db-stack.entry.js +3 -3
  169. package/dist/esm/db-switch.entry.js +3 -3
  170. package/dist/esm/db-tab-item_3.entry.js +7 -7
  171. package/dist/esm/db-table-body_3.entry.js +169 -0
  172. package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
  173. package/dist/esm/db-table.entry.js +134 -0
  174. package/dist/esm/db-tabs.entry.js +3 -3
  175. package/dist/esm/db-textarea.entry.js +3 -3
  176. package/dist/esm/db-tooltip.entry.js +3 -3
  177. package/dist/esm/db-ux.js +3 -3
  178. package/dist/esm/{index-kHKR5QG5.js → index-LpjjuLKB.js} +21 -0
  179. package/dist/esm/index.js +13 -2
  180. package/dist/esm/loader.js +3 -3
  181. package/dist/types/components/table/examples/data.d.ts +9 -0
  182. package/dist/types/components/table/index.d.ts +2 -0
  183. package/dist/types/components/table/model.d.ts +74 -0
  184. package/dist/types/components/table/table.d.ts +37 -0
  185. package/dist/types/components/table-body/index.d.ts +2 -0
  186. package/dist/types/components/table-body/model.d.ts +8 -0
  187. package/dist/types/components/table-body/table-body.d.ts +19 -0
  188. package/dist/types/components/table-caption/index.d.ts +2 -0
  189. package/dist/types/components/table-caption/model.d.ts +5 -0
  190. package/dist/types/components/table-caption/table-caption.d.ts +18 -0
  191. package/dist/types/components/table-data-cell/index.d.ts +2 -0
  192. package/dist/types/components/table-data-cell/model.d.ts +5 -0
  193. package/dist/types/components/table-data-cell/table-data-cell.d.ts +25 -0
  194. package/dist/types/components/table-footer/index.d.ts +2 -0
  195. package/dist/types/components/table-footer/model.d.ts +8 -0
  196. package/dist/types/components/table-footer/table-footer.d.ts +19 -0
  197. package/dist/types/components/table-head/index.d.ts +2 -0
  198. package/dist/types/components/table-head/model.d.ts +10 -0
  199. package/dist/types/components/table-head/table-head.d.ts +58 -0
  200. package/dist/types/components/table-header-cell/index.d.ts +2 -0
  201. package/dist/types/components/table-header-cell/model.d.ts +24 -0
  202. package/dist/types/components/table-header-cell/table-header-cell.d.ts +28 -0
  203. package/dist/types/components/table-row/index.d.ts +2 -0
  204. package/dist/types/components/table-row/model.d.ts +30 -0
  205. package/dist/types/components/table-row/table-row.d.ts +23 -0
  206. package/dist/types/components.d.ts +278 -0
  207. package/dist/types/index.d.ts +16 -0
  208. package/dist/types/shared/model.d.ts +42 -2
  209. package/dist/vscode.html-custom-data.json +400 -2
  210. package/dist/web-types.json +692 -4
  211. package/package.json +3 -3
  212. package/dist/db-ux/p-05e9aa2e.entry.js +0 -1
  213. package/dist/db-ux/p-2ed98454.entry.js +0 -1
  214. package/dist/db-ux/p-33443732.entry.js +0 -1
  215. package/dist/db-ux/p-58c6c29d.entry.js +0 -1
  216. package/dist/db-ux/p-85897212.entry.js +0 -1
  217. package/dist/db-ux/p-8a521b05.entry.js +0 -1
  218. package/dist/db-ux/p-974fbc69.entry.js +0 -1
  219. package/dist/db-ux/p-a3aef74b.entry.js +0 -1
  220. package/dist/db-ux/p-cb093137.entry.js +0 -1
  221. package/dist/db-ux/p-kHKR5QG5.js +0 -2
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-kHKR5QG5.js";export{s as setNonce}from"./p-kHKR5QG5.js";import{g as i}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((async e=>(await i(),a(JSON.parse('[["p-974fbc69",[[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]},null,{"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}]}]]],["p-19ae6336",[[260,"db-tabs",{"name":[1],"tabs":[1],"arrowScrollDistance":[8,"arrow-scroll-distance"],"orientation":[1],"behavior":[1],"initialSelectedMode":[1,"initial-selected-mode"],"initialSelectedIndex":[8,"initial-selected-index"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"alignment":[1],"width":[1],"_name":[32],"initialized":[32],"showScrollLeft":[32],"showScrollRight":[32],"scrollContainer":[32],"_resizeObserver":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}]}]]],["p-cb093137",[[260,"db-header",{"forceMobile":[8,"force-mobile"],"drawerOpen":[8,"drawer-open"],"className":[1,"classname"],"id":[1],"propOverrides":[16],"width":[1],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"],"burgerMenuLabel":[1,"burger-menu-label"],"initialized":[32],"forcedToMobile":[32]},null,{"initialized":[{"watch0":0}],"_ref":[{"watch0":0}]}]]],["p-df2b1979",[[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]},null,{"initialized":[{"watch0":0}],"name":[{"watch0":0}],"behavior":[{"watch0":0}],"_ref":[{"watch1":0},{"watch2":0}],"_name":[{"watch1":0}],"_initOpenIndexDone":[{"watch2":0}],"initOpenIndex":[{"watch2":0}]}]]],["p-a726cd18",[[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]},null,{"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-f49ed233",[[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],"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]},null,{"subNavigationExpanded":[{"watch0":0}],"initialized":[{"watch1":0}],"_ref":[{"watch1":0}]}]]],["p-516c3f64",[[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"],"closeable":[8],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"]}]]],["p-4f519859",[[260,"db-select",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"message":[1],"showMessage":[8,"show-message"],"placeholder":[1],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"variant":[1],"showEmptyOption":[4,"show-empty-option"],"className":[1,"classname"],"showLabel":[8,"show-label"],"showRequiredAsterisk":[8,"show-required-asterisk"],"icon":[1],"showIcon":[8,"show-icon"],"label":[1],"disabled":[8],"name":[1],"size":[2],"autocomplete":[1],"multiple":[4],"ariaDescribedBy":[1,"aria-described-by"],"options":[16],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_placeholderId":[32],"_descByIds":[32],"_value":[32],"initialized":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"initialized":[{"watch2":0}],"value":[{"watch3":0}]}]]],["p-bd1b0142",[[260,"db-switch",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"validation":[1],"required":[8],"message":[1],"showMessage":[8,"show-message"],"validMessage":[1,"valid-message"],"checked":[8],"disabled":[8],"visualAid":[8,"visual-aid"],"size":[1],"showLabel":[8,"show-label"],"variant":[1],"showRequiredAsterisk":[8,"show-required-asterisk"],"className":[1,"classname"],"value":[8],"name":[1],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"label":[1],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_descByIds":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"validation":[{"watch1":0}],"required":[{"watch1":0}],"message":[{"watch1":0}],"showMessage":[{"watch1":0}],"validMessage":[{"watch1":0}],"invalidMessage":[{"watch1":0},{"watch2":0}],"checked":[{"watch1":0}],"_ref":[{"watch2":0},{"watch3":0}]}]]],["p-2c30a356",[[0,"db-textarea",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"message":[1],"showMessage":[8,"show-message"],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"minLength":[8,"min-length"],"maxLength":[8,"max-length"],"className":[1,"classname"],"variant":[1],"showRequiredAsterisk":[8,"show-required-asterisk"],"showLabel":[8,"show-label"],"label":[1],"fieldSizing":[1,"field-sizing"],"resize":[1],"showResizer":[8,"show-resizer"],"disabled":[8],"readOnly":[8,"read-only"],"readonly":[8],"form":[1],"maxlength":[8],"minlength":[8],"name":[1],"wrap":[1],"spellCheck":[4,"spell-check"],"autocomplete":[1],"ariaDescribedBy":[1,"aria-described-by"],"placeholder":[1],"rows":[8],"cols":[8],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_descByIds":[32],"_value":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"value":[{"watch3":0}]}]]],["p-a0f6fc10",[[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]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}]}]]],["p-b99e76fd",[[260,"db-brand",{"hideLogo":[4,"hide-logo"],"icon":[1],"showIcon":[8,"show-icon"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"text":[1]}]]],["p-56da8875",[[260,"db-card",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"behavior":[1],"elevationLevel":[1,"elevation-level"],"spacing":[1]}]]],["p-c7d1bee4",[[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"]}]]],["p-8a521b05",[[260,"db-custom-select-form-field",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}]]],["p-fdbf8d91",[[0,"db-divider",{"id":[1],"propOverrides":[16],"margin":[1],"variant":[1],"emphasis":[1],"width":[1],"className":[1,"classname"]}]]],["p-72d1ea3b",[[260,"db-icon",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"icon":[1],"weight":[1],"variant":[1],"text":[1]}]]],["p-a3aef74b",[[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]}]]],["p-33443732",[[260,"db-navigation",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}]]],["p-85897212",[[260,"db-page",{"fadeIn":[8,"fade-in"],"documentOverflow":[1,"document-overflow"],"variant":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"mainClass":[1,"main-class"],"fontsLoaded":[32]}]]],["p-669fe992",[[260,"db-popover",{"placement":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"spacing":[1],"gap":[8],"animation":[8],"open":[8],"delay":[1],"width":[1],"initialized":[32],"isExpanded":[32],"_documentScrollListenerCallbackId":[32],"_observer":[32]},null,{"_ref":[{"watch0":0},{"watch1":0}],"initialized":[{"watch0":0}],"isExpanded":[{"watch1":0}]}]]],["p-4a0870fa",[[260,"db-radio",{"id":[1],"propOverrides":[16],"checked":[8],"size":[1],"showLabel":[8,"show-label"],"showRequiredAsterisk":[8,"show-required-asterisk"],"className":[1,"classname"],"validation":[1],"name":[1],"disabled":[8],"value":[8],"required":[8],"label":[1],"initialized":[32],"_id":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"initialized":[{"watch1":0}],"_ref":[{"watch1":0},{"watch2":0}],"checked":[{"watch1":0}]}]]],["p-2ed98454",[[260,"db-section",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"spacing":[1],"width":[1]}]]],["p-58c6c29d",[[260,"db-stack",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"gap":[1],"variant":[1],"direction":[1],"alignment":[1],"justifyContent":[1,"justify-content"],"wrap":[8]}]]],["p-83e69c0e",[[260,"db-drawer",{"open":[8],"position":[1],"backdrop":[1],"variant":[1],"id":[1],"propOverrides":[16],"direction":[1],"className":[1,"classname"],"spacing":[1],"width":[1],"rounded":[8],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"],"initialized":[32]},null,{"open":[{"watch0":0}],"_ref":[{"watch1":0}],"initialized":[{"watch1":0}],"position":[{"watch1":0}]}]]],["p-aad2d524",[[260,"db-accordion-item",{"defaultOpen":[4,"default-open"],"name":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"disabled":[8],"headlinePlain":[1,"headline-plain"],"text":[1],"_open":[32],"_name":[32],"initialized":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}],"name":[{"watch1":0}]}]]],["p-3ca07f53",[[260,"db-tooltip",{"id":[1],"propOverrides":[16],"variant":[1],"placement":[1],"className":[1,"classname"],"emphasis":[1],"wrap":[8],"animation":[8],"delay":[1],"width":[1],"showArrow":[8,"show-arrow"],"_id":[32],"initialized":[32],"_documentScrollListenerCallbackId":[32],"_observer":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0}],"initialized":[{"watch1":0}],"_id":[{"watch1":0}]}]]],["p-cdef6789",[[260,"db-tab-item",{"active":[8],"name":[1],"className":[1,"classname"],"id":[1],"propOverrides":[16],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"showIconLeading":[8,"show-icon-leading"],"showIcon":[8,"show-icon"],"showIconTrailing":[8,"show-icon-trailing"],"noText":[8,"no-text"],"disabled":[8],"checked":[8],"label":[1],"_selected":[32],"_name":[32],"initialized":[32],"_listenerAdded":[32],"boundSetSelectedOnChange":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}],"boundSetSelectedOnChange":[{"watch0":0}],"name":[{"watch1":0}]}],[260,"db-tab-list",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}],[260,"db-tab-panel",{"className":[1,"classname"],"id":[1],"propOverrides":[16],"content":[1]}]]],["p-fc9fb7cd",[[260,"db-input",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"dataListId":[1,"data-list-id"],"message":[1],"showMessage":[8,"show-message"],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"minLength":[8,"min-length"],"maxLength":[8,"max-length"],"pattern":[1],"dataList":[16],"className":[1,"classname"],"variant":[1],"showLabel":[8,"show-label"],"showIconLeading":[8,"show-icon-leading"],"showIcon":[8,"show-icon"],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"showRequiredAsterisk":[8,"show-required-asterisk"],"showIconTrailing":[8,"show-icon-trailing"],"label":[1],"fieldSizing":[1,"field-sizing"],"name":[1],"type":[1],"multiple":[8],"accept":[1],"placeholder":[1],"disabled":[8],"step":[8],"maxlength":[8],"minlength":[8],"max":[8],"min":[8],"readOnly":[8,"read-only"],"readonly":[8],"form":[1],"size":[2],"autocomplete":[1],"autofocus":[8],"enterkeyhint":[1],"inputmode":[1],"ariaDescribedBy":[1,"aria-described-by"],"messageSize":[1,"message-size"],"messageIcon":[1,"message-icon"],"validMessageSize":[1,"valid-message-size"],"invalidMessageSize":[1,"invalid-message-size"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_dataListId":[32],"_descByIds":[32],"_value":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"value":[{"watch3":0}]}],[260,"db-tag",{"removeButton":[1,"remove-button"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"semantic":[1],"emphasis":[1],"icon":[1],"showCheckState":[8,"show-check-state"],"showIcon":[8,"show-icon"],"noText":[8,"no-text"],"overflow":[8],"text":[1],"behavior":[1]}],[260,"db-custom-select-dropdown",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"width":[1]}],[260,"db-custom-select-list",{"multiple":[4],"label":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"]}],[260,"db-custom-select-list-item",{"isGroupTitle":[4,"is-group-title"],"showDivider":[4,"show-divider"],"type":[1],"checked":[8],"id":[1],"propOverrides":[16],"className":[1,"classname"],"groupTitle":[1,"group-title"],"icon":[1],"showIcon":[8,"show-icon"],"name":[1],"disabled":[8],"value":[8],"label":[1],"hasDivider":[32]},null,{"isGroupTitle":[{"watch0":0}],"showDivider":[{"watch0":0}]}]]],["p-7f6fae6f",[[260,"db-button",{"type":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"disabled":[8],"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],"wrap":[8],"noText":[8,"no-text"],"name":[1],"form":[1],"value":[1],"text":[1]}]]],["p-05e9aa2e",[[260,"db-infotext",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"icon":[1],"semantic":[1],"size":[1],"wrap":[8],"showIcon":[8,"show-icon"],"text":[1]}]]]]'),e))));
1
+ import{p as e,b as a}from"./p-LpjjuLKB.js";export{s as setNonce}from"./p-LpjjuLKB.js";import{g as i}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((async e=>(await i(),a(JSON.parse('[["p-68a1d35a",[[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]},null,{"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}]}]]],["p-75005663",[[260,"db-table",{"data":[1],"mobileVariant":[1,"mobile-variant"],"columnSizes":[16],"className":[1,"classname"],"width":[1],"size":[1],"divider":[1],"variant":[1],"showCaption":[8,"show-caption"],"stickyHeader":[1,"sticky-header"],"id":[1],"captionPlain":[1,"caption-plain"],"_data":[32],"_style":[32]},null,{"data":[{"watch0":0}],"mobileVariant":[{"watch1":0}],"_ref":[{"watch1":0}],"columnSizes":[{"watch2":0}]}]]],["p-7387346c",[[260,"db-tabs",{"name":[1],"tabs":[1],"arrowScrollDistance":[8,"arrow-scroll-distance"],"orientation":[1],"behavior":[1],"initialSelectedMode":[1,"initial-selected-mode"],"initialSelectedIndex":[8,"initial-selected-index"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"alignment":[1],"width":[1],"_name":[32],"initialized":[32],"showScrollLeft":[32],"showScrollRight":[32],"scrollContainer":[32],"_resizeObserver":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}]}]]],["p-33ca6422",[[260,"db-header",{"forceMobile":[8,"force-mobile"],"drawerOpen":[8,"drawer-open"],"className":[1,"classname"],"id":[1],"propOverrides":[16],"width":[1],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"],"burgerMenuLabel":[1,"burger-menu-label"],"initialized":[32],"forcedToMobile":[32]},null,{"initialized":[{"watch0":0}],"_ref":[{"watch0":0}]}]]],["p-e3279b61",[[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]},null,{"initialized":[{"watch0":0}],"name":[{"watch0":0}],"behavior":[{"watch0":0}],"_ref":[{"watch1":0},{"watch2":0}],"_name":[{"watch1":0}],"_initOpenIndexDone":[{"watch2":0}],"initOpenIndex":[{"watch2":0}]}]]],["p-e367150f",[[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]},null,{"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-e9058123",[[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],"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]},null,{"subNavigationExpanded":[{"watch0":0}],"initialized":[{"watch1":0}],"_ref":[{"watch1":0}]}]]],["p-0055d6ce",[[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"],"closeable":[8],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"]}]]],["p-8f76eea7",[[260,"db-select",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"message":[1],"showMessage":[8,"show-message"],"placeholder":[1],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"variant":[1],"showEmptyOption":[4,"show-empty-option"],"className":[1,"classname"],"showLabel":[8,"show-label"],"showRequiredAsterisk":[8,"show-required-asterisk"],"icon":[1],"showIcon":[8,"show-icon"],"label":[1],"disabled":[8],"name":[1],"size":[2],"autocomplete":[1],"multiple":[4],"ariaDescribedBy":[1,"aria-described-by"],"options":[16],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_placeholderId":[32],"_descByIds":[32],"_value":[32],"initialized":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"initialized":[{"watch2":0}],"value":[{"watch3":0}]}]]],["p-823a7488",[[260,"db-switch",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"validation":[1],"required":[8],"message":[1],"showMessage":[8,"show-message"],"validMessage":[1,"valid-message"],"checked":[8],"disabled":[8],"visualAid":[8,"visual-aid"],"size":[1],"showLabel":[8,"show-label"],"variant":[1],"showRequiredAsterisk":[8,"show-required-asterisk"],"className":[1,"classname"],"value":[8],"name":[1],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"label":[1],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_descByIds":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"validation":[{"watch1":0}],"required":[{"watch1":0}],"message":[{"watch1":0}],"showMessage":[{"watch1":0}],"validMessage":[{"watch1":0}],"invalidMessage":[{"watch1":0},{"watch2":0}],"checked":[{"watch1":0}],"_ref":[{"watch2":0},{"watch3":0}]}]]],["p-dbdfc04a",[[0,"db-textarea",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"message":[1],"showMessage":[8,"show-message"],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"minLength":[8,"min-length"],"maxLength":[8,"max-length"],"className":[1,"classname"],"variant":[1],"showRequiredAsterisk":[8,"show-required-asterisk"],"showLabel":[8,"show-label"],"label":[1],"fieldSizing":[1,"field-sizing"],"resize":[1],"showResizer":[8,"show-resizer"],"disabled":[8],"readOnly":[8,"read-only"],"readonly":[8],"form":[1],"maxlength":[8],"minlength":[8],"name":[1],"wrap":[1],"spellCheck":[4,"spell-check"],"autocomplete":[1],"ariaDescribedBy":[1,"aria-described-by"],"placeholder":[1],"rows":[8],"cols":[8],"messageIcon":[1,"message-icon"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_descByIds":[32],"_value":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"value":[{"watch3":0}]}]]],["p-8baf5ea2",[[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]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}]}]]],["p-5e4de899",[[260,"db-brand",{"hideLogo":[4,"hide-logo"],"icon":[1],"showIcon":[8,"show-icon"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"text":[1]}]]],["p-6b87f6f1",[[260,"db-card",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"behavior":[1],"elevationLevel":[1,"elevation-level"],"spacing":[1]}]]],["p-032487d0",[[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"]}]]],["p-7f2eaa8b",[[260,"db-custom-select-form-field",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}]]],["p-19fe0672",[[0,"db-divider",{"id":[1],"propOverrides":[16],"margin":[1],"variant":[1],"emphasis":[1],"width":[1],"className":[1,"classname"]}]]],["p-47bd992d",[[260,"db-icon",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"icon":[1],"weight":[1],"variant":[1],"text":[1]}]]],["p-d20bd873",[[260,"db-navigation",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}]]],["p-2cdc1311",[[260,"db-page",{"fadeIn":[8,"fade-in"],"documentOverflow":[1,"document-overflow"],"variant":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"mainClass":[1,"main-class"],"fontsLoaded":[32]}]]],["p-7da51a4c",[[260,"db-popover",{"placement":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"spacing":[1],"gap":[8],"animation":[8],"open":[8],"delay":[1],"width":[1],"initialized":[32],"isExpanded":[32],"_documentScrollListenerCallbackId":[32],"_observer":[32]},null,{"_ref":[{"watch0":0},{"watch1":0}],"initialized":[{"watch0":0}],"isExpanded":[{"watch1":0}]}]]],["p-d603dcc4",[[260,"db-radio",{"id":[1],"propOverrides":[16],"checked":[8],"size":[1],"showLabel":[8,"show-label"],"showRequiredAsterisk":[8,"show-required-asterisk"],"className":[1,"classname"],"validation":[1],"name":[1],"disabled":[8],"value":[8],"required":[8],"label":[1],"initialized":[32],"_id":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"initialized":[{"watch1":0}],"_ref":[{"watch1":0},{"watch2":0}],"checked":[{"watch1":0}]}]]],["p-c0b8571d",[[260,"db-section",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"spacing":[1],"width":[1]}]]],["p-e9142fec",[[260,"db-stack",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"gap":[1],"variant":[1],"direction":[1],"alignment":[1],"justifyContent":[1,"justify-content"],"wrap":[8]}]]],["p-8826c7fc",[[260,"db-table-caption",{"id":[1],"className":[1,"classname"]}]]],["p-10acdb01",[[260,"db-drawer",{"open":[8],"position":[1],"backdrop":[1],"variant":[1],"id":[1],"propOverrides":[16],"direction":[1],"className":[1,"classname"],"spacing":[1],"width":[1],"rounded":[8],"closeButtonId":[1,"close-button-id"],"closeButtonText":[1,"close-button-text"],"initialized":[32]},null,{"open":[{"watch0":0}],"_ref":[{"watch1":0}],"initialized":[{"watch1":0}],"position":[{"watch1":0}]}]]],["p-54d2e18d",[[260,"db-accordion-item",{"defaultOpen":[4,"default-open"],"name":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"disabled":[8],"headlinePlain":[1,"headline-plain"],"text":[1],"_open":[32],"_name":[32],"initialized":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}],"name":[{"watch1":0}]}]]],["p-150c4aeb",[[260,"db-tooltip",{"id":[1],"propOverrides":[16],"variant":[1],"placement":[1],"className":[1,"classname"],"emphasis":[1],"wrap":[8],"animation":[8],"delay":[1],"width":[1],"showArrow":[8,"show-arrow"],"_id":[32],"initialized":[32],"_documentScrollListenerCallbackId":[32],"_observer":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0}],"initialized":[{"watch1":0}],"_id":[{"watch1":0}]}]]],["p-a8368ed2",[[260,"db-table-body",{"id":[1],"className":[1,"classname"],"rows":[16]}],[260,"db-table-footer",{"id":[1],"className":[1,"classname"],"rows":[16]}],[260,"db-table-head",{"id":[1],"className":[1,"classname"],"rows":[16]}]]],["p-003f3468",[[260,"db-tab-item",{"active":[8],"name":[1],"className":[1,"classname"],"id":[1],"propOverrides":[16],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"showIconLeading":[8,"show-icon-leading"],"showIcon":[8,"show-icon"],"showIconTrailing":[8,"show-icon-trailing"],"noText":[8,"no-text"],"disabled":[8],"checked":[8],"label":[1],"_selected":[32],"_name":[32],"initialized":[32],"_listenerAdded":[32],"boundSetSelectedOnChange":[32]},null,{"_ref":[{"watch0":0}],"initialized":[{"watch0":0}],"boundSetSelectedOnChange":[{"watch0":0}],"name":[{"watch1":0}]}],[260,"db-tab-list",{"id":[1],"propOverrides":[16],"className":[1,"classname"]}],[260,"db-tab-panel",{"className":[1,"classname"],"id":[1],"propOverrides":[16],"content":[1]}]]],["p-50a16969",[[260,"db-input",{"invalidMessage":[1,"invalid-message"],"id":[1],"propOverrides":[16],"dataListId":[1,"data-list-id"],"message":[1],"showMessage":[8,"show-message"],"value":[8],"validMessage":[1,"valid-message"],"validation":[1],"required":[8],"minLength":[8,"min-length"],"maxLength":[8,"max-length"],"pattern":[1],"dataList":[16],"className":[1,"classname"],"variant":[1],"showLabel":[8,"show-label"],"showIconLeading":[8,"show-icon-leading"],"showIcon":[8,"show-icon"],"iconLeading":[1,"icon-leading"],"icon":[1],"iconTrailing":[1,"icon-trailing"],"showRequiredAsterisk":[8,"show-required-asterisk"],"showIconTrailing":[8,"show-icon-trailing"],"label":[1],"fieldSizing":[1,"field-sizing"],"name":[1],"type":[1],"multiple":[8],"accept":[1],"placeholder":[1],"disabled":[8],"step":[8],"maxlength":[8],"minlength":[8],"max":[8],"min":[8],"readOnly":[8,"read-only"],"readonly":[8],"form":[1],"size":[2],"autocomplete":[1],"autofocus":[8],"enterkeyhint":[1],"inputmode":[1],"ariaDescribedBy":[1,"aria-described-by"],"messageSize":[1,"message-size"],"messageIcon":[1,"message-icon"],"validMessageSize":[1,"valid-message-size"],"invalidMessageSize":[1,"invalid-message-size"],"_id":[32],"_messageId":[32],"_validMessageId":[32],"_invalidMessageId":[32],"_invalidMessage":[32],"_dataListId":[32],"_descByIds":[32],"_value":[32],"_voiceOverFallback":[32],"abortController":[32]},null,{"id":[{"watch0":0}],"propOverrides?.id":[{"watch0":0}],"_ref":[{"watch1":0},{"watch4":0}],"invalidMessage":[{"watch1":0}],"_id":[{"watch2":0}],"value":[{"watch3":0}]}],[260,"db-tag",{"removeButton":[1,"remove-button"],"id":[1],"propOverrides":[16],"className":[1,"classname"],"semantic":[1],"emphasis":[1],"icon":[1],"showCheckState":[8,"show-check-state"],"showIcon":[8,"show-icon"],"noText":[8,"no-text"],"overflow":[8],"text":[1],"behavior":[1]}],[260,"db-custom-select-dropdown",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"width":[1]}],[260,"db-custom-select-list",{"multiple":[4],"label":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"]}],[260,"db-custom-select-list-item",{"isGroupTitle":[4,"is-group-title"],"showDivider":[4,"show-divider"],"type":[1],"checked":[8],"id":[1],"propOverrides":[16],"className":[1,"classname"],"groupTitle":[1,"group-title"],"icon":[1],"showIcon":[8,"show-icon"],"name":[1],"disabled":[8],"value":[8],"label":[1],"hasDivider":[32]},null,{"isGroupTitle":[{"watch0":0}],"showDivider":[{"watch0":0}]}]]],["p-77ee580e",[[260,"db-button",{"type":[1],"id":[1],"propOverrides":[16],"className":[1,"classname"],"disabled":[8],"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],"wrap":[8],"noText":[8,"no-text"],"name":[1],"form":[1],"value":[1],"text":[1]}]]],["p-97f5d48e",[[260,"db-infotext",{"id":[1],"propOverrides":[16],"className":[1,"classname"],"icon":[1],"semantic":[1],"size":[1],"wrap":[8],"showIcon":[8,"show-icon"],"text":[1]}]]],["p-42e61221",[[260,"db-table-row",{"id":[1],"className":[1,"classname"],"interactive":[8],"subHeaderEmphasis":[1,"sub-header-emphasis"],"cells":[16]}],[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]}],[260,"db-table-data-cell",{"id":[1],"className":[1,"classname"],"horizontalAlignment":[1,"horizontal-alignment"],"verticalAlignment":[1,"vertical-alignment"],"colSpan":[8,"col-span"],"colspan":[8],"rowSpan":[8,"row-span"],"rowspan":[8],"headers":[1]}],[260,"db-table-header-cell",{"id":[1],"className":[1,"classname"],"horizontalAlignment":[1,"horizontal-alignment"],"verticalAlignment":[1,"vertical-alignment"],"noText":[8,"no-text"],"scope":[1],"colSpan":[8,"col-span"],"colspan":[8],"rowSpan":[8,"row-span"],"rowspan":[8],"headers":[1],"abbr":[1]}]]]]'),e))));
@@ -1 +1 @@
1
- export{a as addAttributeToChildren,c as cls,d as delay,e as getBoolean,g as getBooleanAsString,l as getHideProp,k as getInputValue,p as getNotificationRole,f as getNumber,n as getOptionKey,m as getSearchInput,j as getStep,h as hasVoiceOver,i as isArrayOfStrings,b as isIOSSafari,o as isKeyboardEvent,s as stringPropVisible,u as uuid}from"./p-xkoBSP8R.js";export{x as COLOR,y as COLORS,z as COLORS_SIMPLE,C as COLOR_CONST,w as COLOR_SIMPLE,F as DB_UX_LOCAL_STORAGE_FRAMEWORK,G as DB_UX_LOCAL_STORAGE_MODE,n as DEFAULT_BACK,p as DEFAULT_BURGER_MENU,s as DEFAULT_CLOSE_BUTTON,j as DEFAULT_DATALIST_ID_SUFFIX,q as DEFAULT_ICON,D as DEFAULT_ID,l as DEFAULT_INVALID_MESSAGE,h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,a as DEFAULT_LABEL,d as DEFAULT_LABEL_ID_SUFFIX,c as DEFAULT_MESSAGE,f as DEFAULT_MESSAGE_ID_SUFFIX,b as DEFAULT_PLACEHOLDER,i as DEFAULT_PLACEHOLDER_ID_SUFFIX,m as DEFAULT_REMOVE,r as DEFAULT_ROWS,o as DEFAULT_SELECTED,e as DEFAULT_SELECT_ID_SUFFIX,k as DEFAULT_VALID_MESSAGE,g as DEFAULT_VALID_MESSAGE_ID_SUFFIX,B as DEFAULT_VIEWPORT,v as DENSITIES,u as DENSITY,t as DENSITY_CONST,E as DESKTOP_VIEWPORT,S as SEMANTIC,A as SEMANTICS,T as TESTING_VIEWPORTS}from"./p-BdL-nI5y.js";export{D as DocumentClickListener}from"./p-D_roHmuC.js";export{D as DocumentScrollListener}from"./p-CHLgQ9vn.js";export{g as getFloatingProps,h as handleDataOutside,a as handleFixedDropdown,b as handleFixedPopover}from"./p-DOPXnIzL.js";export{N as NavigationItemSafeTriangle,i as isEventTargetNavigationItem}from"./p-BuBrj57D.js";const _=["divider","card"],L=["multiple","single"],I=["inline","corner-top-left","corner-top-right","corner-center-left","corner-center-right","corner-bottom-left","corner-bottom-right"],O=["outlined","brand","filled","ghost"],U=["button","reset","submit"],R=["static","interactive"],M=["1","2","3"],P=["fixed","auto","full"],V=["checkbox","radio"],X=["amount","text","tag"],H=["none","_"],K=["horizontal","vertical"],W=["none","strong","weak","invisible"],Y=["left","right","up","down"],Q=["modal","inside"],J=["fixed","absolute"],Z=["16","20","24","32","48","64"],$=["color","date","datetime-local","email","file","hidden","month","number","password","range","search","tel","text","time","url","week"],ee=["adaptive","brand","inline"],ae=["medium","small"],te=["external","internal"],ne=["docked","standalone","overlay"],re=["block","inline"],se=["assertive","polite","off"],oe=["auto","fixed"],ie=["hidden","auto"],le=["simple","divider"],de=["row","column"],ce=["stretch","start","end","center"],me=["space-between","start","end","center"],Ee=["scrollbar","arrows"],ge=["auto","manually"],_e=["static","removable"],ue=["none","both","horizontal","vertical"],De=["hard","soft","off"],pe=["description","label"],Le=["adaptive","neutral","critical","informational","warning","successful"],Se=["medium","small","large","none"],fe=["medium","small","large","none"],Ae=["left","right","left-start","left-end","right-start","right-end"],Te=["top","bottom","top-start","top-end","bottom-start","bottom-end"],Ie=[...Ae,...Te],Fe=["none","3x-large","2x-large","x-large","large","medium","small","x-small","2x-small","3x-small"],he=["horizontal","vertical"],be=["full","auto"],Oe=["full","medium","large","small"],xe=["none","slow","fast"],Ue=["auto","fixed"],ve=["small","medium"],Ce=["weak","strong"],ye=["invalid","valid","no-validation"],we=["fixed","content"],Re=["above","floating"],Ne=["leading","trailing"],Be=["off","on","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","email","username","new-password","current-password","one-time-code","organization-title","organization","street-address","shipping","billing","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-extension","impp","url","photo","webauthn"],Me=["_self","_blank","_parent","_top"],Pe=["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin","strict-origin-when-cross-origin","unsafe-url"],ke=["start","center"];export{L as AccordionBehaviorList,_ as AccordionVariantList,ke as AlignmentList,Be as AutoCompleteList,I as BadgePlacementList,U as ButtonTypeList,O as ButtonVariantList,R as CardBehaviorList,M as CardElevationLevelList,P as CustomSelectDropdownWidthList,V as CustomSelectListItemTypeList,H as DividerMarginList,K as DividerVariantList,W as DrawerBackdropList,Y as DrawerDirectionList,J as DrawerPositionList,Q as DrawerVariantList,Ce as EmphasisList,we as FieldSizingList,Fe as GapSpacingList,Z as IconWeightList,$ as InputTypeList,Ne as LabelVariantHorizontalList,Re as LabelVariantList,te as LinkContentList,Pe as LinkReferrerPolicyList,ae as LinkSizeList,Me as LinkTargetList,ee as LinkVariantList,fe as MarginList,Oe as MaxWidthList,se as NotificationAriaLiveList,re as NotificationLinkVariantList,ne as NotificationVariantList,he as OrientationList,ie as PageDocumentOverflowList,oe as PageVariantList,Ae as PlacementHorizontalList,Ie as PlacementList,Te as PlacementVerticalList,xe as PopoverDelayList,Ue as PopoverWidthList,X as SelectedTypeList,Le as SemanticList,ve as SizeList,Se as SpacingList,ce as StackAlignmentList,de as StackDirectionList,me as StackJustifyContentList,le as StackVariantList,Ee as TabsBehaviorList,ge as TabsInitialSelectedModeList,_e as TagBehaviorList,ue as TextareaResizeList,De as TextareaWrapList,pe as TooltipVariantList,ye as ValidationList,be as WidthList}
1
+ export{a as addAttributeToChildren,c as cls,d as delay,e as getBoolean,g as getBooleanAsString,l as getHideProp,k as getInputValue,p as getNotificationRole,f as getNumber,n as getOptionKey,m as getSearchInput,j as getStep,h as hasVoiceOver,i as isArrayOfStrings,b as isIOSSafari,o as isKeyboardEvent,s as stringPropVisible,u as uuid}from"./p-xkoBSP8R.js";export{x as COLOR,y as COLORS,z as COLORS_SIMPLE,C as COLOR_CONST,w as COLOR_SIMPLE,F as DB_UX_LOCAL_STORAGE_FRAMEWORK,G as DB_UX_LOCAL_STORAGE_MODE,n as DEFAULT_BACK,p as DEFAULT_BURGER_MENU,s as DEFAULT_CLOSE_BUTTON,j as DEFAULT_DATALIST_ID_SUFFIX,q as DEFAULT_ICON,D as DEFAULT_ID,l as DEFAULT_INVALID_MESSAGE,h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,a as DEFAULT_LABEL,d as DEFAULT_LABEL_ID_SUFFIX,c as DEFAULT_MESSAGE,f as DEFAULT_MESSAGE_ID_SUFFIX,b as DEFAULT_PLACEHOLDER,i as DEFAULT_PLACEHOLDER_ID_SUFFIX,m as DEFAULT_REMOVE,r as DEFAULT_ROWS,o as DEFAULT_SELECTED,e as DEFAULT_SELECT_ID_SUFFIX,k as DEFAULT_VALID_MESSAGE,g as DEFAULT_VALID_MESSAGE_ID_SUFFIX,B as DEFAULT_VIEWPORT,v as DENSITIES,u as DENSITY,t as DENSITY_CONST,E as DESKTOP_VIEWPORT,S as SEMANTIC,A as SEMANTICS,T as TESTING_VIEWPORTS}from"./p-BdL-nI5y.js";export{D as DocumentClickListener}from"./p-D_roHmuC.js";export{D as DocumentScrollListener}from"./p-CHLgQ9vn.js";export{g as getFloatingProps,h as handleDataOutside,a as handleFixedDropdown,b as handleFixedPopover}from"./p-DOPXnIzL.js";export{N as NavigationItemSafeTriangle,i as isEventTargetNavigationItem}from"./p-BuBrj57D.js";const _=["divider","card"],L=["multiple","single"],I=["inline","corner-top-left","corner-top-right","corner-center-left","corner-center-right","corner-bottom-left","corner-bottom-right"],O=["outlined","brand","filled","ghost"],U=["button","reset","submit"],R=["static","interactive"],M=["1","2","3"],P=["fixed","auto","full"],V=["checkbox","radio"],X=["amount","text","tag"],H=["none","_"],K=["horizontal","vertical"],W=["none","strong","weak","invisible"],Y=["left","right","up","down"],Q=["modal","inside"],J=["fixed","absolute"],Z=["16","20","24","32","48","64"],$=["color","date","datetime-local","email","file","hidden","month","number","password","range","search","tel","text","time","url","week"],ee=["adaptive","brand","inline"],ae=["medium","small"],te=["external","internal"],ne=["docked","standalone","overlay"],oe=["block","inline"],re=["assertive","polite","off"],se=["auto","fixed"],ie=["hidden","auto"],le=["simple","divider"],de=["row","column"],ce=["stretch","start","end","center"],me=["space-between","start","end","center"],Ee=["scrollbar","arrows"],ge=["auto","manually"],ue=["static","removable"],_e=["none","both","horizontal","vertical"],pe=["hard","soft","off"],De=["description","label"],fe=["adaptive","neutral","critical","informational","warning","successful"],Le=["medium","small","large","none"],Se=["medium","small","large","none"],Ae=["left","right","left-start","left-end","right-start","right-end"],Te=["top","bottom","top-start","top-end","bottom-start","bottom-end"],he=[...Ae,...Te],Ie=["none","3x-large","2x-large","x-large","large","medium","small","x-small","2x-small","3x-small"],Fe=["horizontal","vertical"],be=["full","auto"],xe=["full","medium","large","small"],Oe=["none","slow","fast"],Ue=["auto","fixed"],ve=["small","medium"],we=["weak","strong"],Ce=["invalid","valid","no-validation"],ye=["fixed","content"],Re=["above","floating"],Ne=["leading","trailing"],Be=["off","on","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","email","username","new-password","current-password","one-time-code","organization-title","organization","street-address","shipping","billing","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-extension","impp","url","photo","webauthn"],Me=["_self","_blank","_parent","_top"],Pe=["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin","strict-origin-when-cross-origin","unsafe-url"],ke=["start","center","end"],Ge=["x-small","small","medium","large"],Ve=["joined","zebra","floating"],je=["none","both","horizontal","vertical"],ze=["table","list"],Xe=["none","both","horizontal","vertical"],He=["auto","1fr","min-content","max-content"],Ke=["none","weak","strong"],We=["row","col","rowgroup","colgroup"];export{L as AccordionBehaviorList,_ as AccordionVariantList,ke as AlignmentList,Be as AutoCompleteList,I as BadgePlacementList,U as ButtonTypeList,O as ButtonVariantList,R as CardBehaviorList,M as CardElevationLevelList,P as CustomSelectDropdownWidthList,V as CustomSelectListItemTypeList,He as DBTableColumnsSizeList,je as DBTableDividerList,We as DBTableHeaderCellScopeList,ze as DBTableMobileVariantList,Ge as DBTableRowSizeList,Ke as DBTableRowSubHeaderEmphasisList,Xe as DBTableStickHeaderList,Ve as DBTableVariantList,H as DividerMarginList,K as DividerVariantList,W as DrawerBackdropList,Y as DrawerDirectionList,J as DrawerPositionList,Q as DrawerVariantList,we as EmphasisList,ye as FieldSizingList,Ie as GapSpacingList,Z as IconWeightList,$ as InputTypeList,Ne as LabelVariantHorizontalList,Re as LabelVariantList,te as LinkContentList,Pe as LinkReferrerPolicyList,ae as LinkSizeList,Me as LinkTargetList,ee as LinkVariantList,Se as MarginList,xe as MaxWidthList,re as NotificationAriaLiveList,oe as NotificationLinkVariantList,ne as NotificationVariantList,Fe as OrientationList,ie as PageDocumentOverflowList,se as PageVariantList,Ae as PlacementHorizontalList,he as PlacementList,Te as PlacementVerticalList,Oe as PopoverDelayList,Ue as PopoverWidthList,X as SelectedTypeList,fe as SemanticList,ve as SizeList,Le as SpacingList,ce as StackAlignmentList,de as StackDirectionList,me as StackJustifyContentList,le as StackVariantList,Ee as TabsBehaviorList,ge as TabsInitialSelectedModeList,ue as TagBehaviorList,_e as TextareaResizeList,pe as TextareaWrapList,De as TooltipVariantList,Ce as ValidationList,be as WidthList}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-kHKR5QG5.js";import{g as a,e,c as d}from"./p-xkoBSP8R.js";const h=class{constructor(i){t(this,i),this.change=s(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=a(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleChange(t){this.change&&this.change.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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=a(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,s,h,l,n,c;return i("li",{key:"0b8687c942d18b49bdf25249be3f0ae1ca727256",class:d("db-tab-item",this.className),role:"none"},i("label",{key:"b9eaa4d53de58d78d7f968d18b021c9cfe013502",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":null!==(h=this.iconLeading)&&void 0!==h?h:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":a(null!==(l=this.showIconLeading)&&void 0!==l?l:this.showIcon),"data-show-icon-trailing":a(this.showIconTrailing),"data-no-text":a(this.noText)},i("input",{key:"81cf38a1a39e88fc85282e8b82d43768ce6f70a4",type:"radio",role:"tab",disabled:e(this.disabled,"disabled"),"aria-selected":this._selected,checked:e(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(n=this.id)&&void 0!==n?n:null===(c=this.propOverrides)||void 0===c?void 0:c.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,i("slot",{key:"89a4ba46af36e8dcc3bc53f87d17977c5827cd12"})))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},l=class{constructor(s){t(this,s)}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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-list")}render(){var t,s;return i("div",{key:"8f02145864a04b79d94d5d5923b6eff32346a0c3",class:d("db-tab-list",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},i("ul",{key:"759fdba6e69209ca915148c8b190f9311cb6f1ff",role:"tablist"},i("slot",{key:"96bf4a10d3b422d6eb6be68c46f926b9f55eb0e6"})))}},n=class{constructor(s){t(this,s)}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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-panel")}render(){var t,s;return i("section",{key:"c10873d5857be6ea8653189ab735784939c53474",class:d("db-tab-panel",this.className),role:"tabpanel",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},this.content?this.content:null,i("slot",{key:"57a98a1b7e26ca61b16397b7615f71d883bfbd28"}))}};export{h as db_tab_item,l as db_tab_list,n as db_tab_panel}
1
+ import{r as t,c as s,h as i}from"./p-LpjjuLKB.js";import{g as a,e,c as d}from"./p-xkoBSP8R.js";const h=class{constructor(i){t(this,i),this.change=s(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=a(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleChange(t){this.change&&this.change.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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=a(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,s,h,c,l,n;return i("li",{key:"db7c124385c66f1f62679fae9a8dfb91f76f76c5",class:d("db-tab-item",this.className),role:"none"},i("label",{key:"fd4471af1096f1c577f38c0fcf34e4dd73944623",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":null!==(h=this.iconLeading)&&void 0!==h?h:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":a(null!==(c=this.showIconLeading)&&void 0!==c?c:this.showIcon),"data-show-icon-trailing":a(this.showIconTrailing),"data-no-text":a(this.noText)},i("input",{key:"36283eb7682b3080fbe4f65712629c7f28bd7c47",type:"radio",role:"tab",disabled:e(this.disabled,"disabled"),"aria-selected":this._selected,checked:e(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(l=this.id)&&void 0!==l?l:null===(n=this.propOverrides)||void 0===n?void 0:n.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,i("slot",{key:"0984f4b39959be344e5fd15a38ae2d3fef4d15cc"})))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},c=class{constructor(s){t(this,s)}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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-list")}render(){var t,s;return i("div",{key:"64ae135babefc16c3173fbc67ed1605a74c009a0",class:d("db-tab-list",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},i("ul",{key:"7f587632a62e52d03cb0f4831e48c9ec2f0060cc",role:"tablist"},i("slot",{key:"e1b7531ea0c97b907697cd0a637b51534bee9eb7"})))}},l=class{constructor(s){t(this,s)}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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-panel")}render(){var t,s;return i("section",{key:"6dcccad8702b6c097e5d6ed208698caecf68c403",class:d("db-tab-panel",this.className),role:"tabpanel",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},this.content?this.content:null,i("slot",{key:"c2db0f4c48fb5a509a7ca7d1095133c171ea821a"}))}};export{h as db_tab_item,c as db_tab_list,l as db_tab_panel}
@@ -1 +1 @@
1
- import{r as s,c as t,h as i}from"./p-kHKR5QG5.js";import{s as a}from"./p-BdL-nI5y.js";import{e,s as n,g as o,p as l,c as d}from"./p-xkoBSP8R.js";const c=class{constructor(i){s(this,i),this.close=t(this,"close")}handleClose(s){s&&(s.stopPropagation(),this.close&&this.close.emit(s))}enableAttributePassing(s,t){const i=null==s?void 0:s.closest(t);if(s&&i){const t=i.attributes;for(let a=0;a<t.length;a++){const e=t.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))s.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)s.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const t=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),n=s.getAttribute("class");s.setAttribute(e.name,`${n?`${n} `:""}${a}`),t?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-notification")}render(){var s,t,c;return i("div",{key:"b7789fad4794a93805eeec0cf2740b3f592f32fa",class:d("db-notification",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,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":o(this.showIcon),"data-link-variant":this.linkVariant},i("slot",{key:"cdf91c6a6cd8dd519ab235046b9ab260007a370e",name:"image"}),n(this.headline,this.showHeadline)?i("header",null,this.headline):null,i("p",{key:"a93c1810e6a75cdd81660cb6e252ed7028c2a5f5"},this.text?this.text:i("slot",null)),n(this.timestamp,this.showTimestamp)?i("span",null,this.timestamp):null,i("slot",{key:"26cae9faba7d9f277413f38a59ea02c9b99eb8c5",name:"link"}),e(this.closeable,"closeable")?i("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:s=>this.handleClose(s)},null!==(c=this.closeButtonText)&&void 0!==c?c:a):null)}};export{c as db_notification}
1
+ import{r as s,c as t,h as i}from"./p-LpjjuLKB.js";import{s as a}from"./p-BdL-nI5y.js";import{e,s as n,g as o,p as d,c as l}from"./p-xkoBSP8R.js";const c=class{constructor(i){s(this,i),this.close=t(this,"close")}handleClose(s){s&&(s.stopPropagation(),this.close&&this.close.emit(s))}enableAttributePassing(s,t){const i=null==s?void 0:s.closest(t);if(s&&i){const t=i.attributes;for(let a=0;a<t.length;a++){const e=t.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))s.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)s.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const t=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),n=s.getAttribute("class");s.setAttribute(e.name,`${n?`${n} `:""}${a}`),t?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-notification")}render(){var s,t,c;return i("div",{key:"3c1803adcfe5c34175c112c6c9d55e4c8fef3af0",class:l("db-notification",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,role:d({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":o(this.showIcon),"data-link-variant":this.linkVariant},i("slot",{key:"fd2deb6b191feb65cf2c2b21a88737007bda7f1f",name:"image"}),n(this.headline,this.showHeadline)?i("header",null,this.headline):null,i("p",{key:"a6400239df82a1fe57d4df466ac57078d0c35ac3"},this.text?this.text:i("slot",null)),n(this.timestamp,this.showTimestamp)?i("span",null,this.timestamp):null,i("slot",{key:"35b6377f9bdbf475dd80058502ee1c04277a967f",name:"link"}),e(this.closeable,"closeable")?i("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:s=>this.handleClose(s)},null!==(c=this.closeButtonText)&&void 0!==c?c:a):null)}};export{c as db_notification}
@@ -1 +1 @@
1
- import{r as t,h as s}from"./p-kHKR5QG5.js";import{g as a,c as i}from"./p-xkoBSP8R.js";const d=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const d=s.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))t.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)t.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const s=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(d.name,`${o?`${o} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-button")}render(){var t,d,o,e;return s("div",{key:"3360941151b3648c3b03e8d1e231798e751b6445",class:i("db-custom-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(d=this.propOverrides)||void 0===d?void 0:d.id,"data-icon":null!==(o=this.iconLeading)&&void 0!==o?o:this.icon,"data-show-icon":a(null!==(e=this.showIconLeading)&&void 0!==e?e: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)},s("slot",{key:"5991018ad35e6c9e04febd57a3affb0d0f81513f"}))}};export{d as db_custom_button}
1
+ import{r as t,h as s}from"./p-LpjjuLKB.js";import{g as a,c as i}from"./p-xkoBSP8R.js";const d=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const d=s.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))t.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)t.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const s=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(d.name,`${o?`${o} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-button")}render(){var t,d,o,n;return s("div",{key:"6923a004cc5dad42d2bf742542dec66f186ba1ce",class:i("db-custom-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(d=this.propOverrides)||void 0===d?void 0:d.id,"data-icon":null!==(o=this.iconLeading)&&void 0!==o?o:this.icon,"data-show-icon":a(null!==(n=this.showIconLeading)&&void 0!==n?n: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)},s("slot",{key:"7979f9c32b9f320d2c0c27d52fd66b2999a72337"}))}};export{d as db_custom_button}
@@ -1 +1 @@
1
- import{r as t,c as s,h as a}from"./p-kHKR5QG5.js";import{s as i}from"./p-BdL-nI5y.js";import{o as e,d,g as h,c}from"./p-xkoBSP8R.js";const o=class{constructor(a){t(this,a),this.close=s(this,"close"),this.initialized=!1}handleClose(t,s){var a;t&&(e(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(a=t.target)||void 0===a?void 0:a.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=Boolean(this.open);t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),d((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),d((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.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),a.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(e.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,e;return a("dialog",{key:"5980a60cbe0d46868a4a65d853551a25159523f0",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},a("article",{key:"305ff89261e63e2dbe0640fc9be97b330a4b94cf",class:c("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":h(this.rounded)},a("header",{key:"fe07654ff3c238c6a0eb2f73ff5f8a035ff9232c",class:"db-drawer-header"},a("div",{key:"56eff8cf0d755c027bf72e2319e7897ed3b4b51c",class:"db-drawer-header-text"},a("slot",{key:"ff8378e26a292c20991899764a927aadd5b35ac8",name:"drawerHeader"})),a("db-button",{key:"5300a384462ceb1ac7ac9272bed2ee34f426ccf2",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(e=this.closeButtonText)&&void 0!==e?e:i)),a("div",{key:"681bd3593f743539104398e0dbb6628abdd8ae2c",class:"db-drawer-content"},a("slot",{key:"ad9f204d5f0b6b44fec8bfc49f8aa361cbb155d7"}))))}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}};export{o as db_drawer}
1
+ import{r as t,c as s,h as a}from"./p-LpjjuLKB.js";import{s as i}from"./p-BdL-nI5y.js";import{o as e,d,g as h,c}from"./p-xkoBSP8R.js";const o=class{constructor(a){t(this,a),this.close=s(this,"close"),this.initialized=!1}handleClose(t,s){var a;t&&(e(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(a=t.target)||void 0===a?void 0:a.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=Boolean(this.open);t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),d((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),d((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.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),a.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(e.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,e;return a("dialog",{key:"c2796bb6f012c8f9824c6202e2e5e3defe3805a5",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},a("article",{key:"2e5ef8d5226f3f28a5aa5e8f988d05b2499e7821",class:c("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":h(this.rounded)},a("header",{key:"b33353ca17228c7bcebe90dbc56f551024b3fe0a",class:"db-drawer-header"},a("div",{key:"37bcf6a7c21eadc37152f2c3a69566c5d34ab864",class:"db-drawer-header-text"},a("slot",{key:"ac39f65966a07323e520f92475e731d048a004ee",name:"drawerHeader"})),a("db-button",{key:"dd5f587ad603796a3743652ebfdd040cb782cc9c",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(e=this.closeButtonText)&&void 0!==e?e:i)),a("div",{key:"6bdf59f204628f244c9d1114dfed96c6ff05dbdc",class:"db-drawer-content"},a("slot",{key:"bded85dab209599b6159a516d8a2d66a39051452"}))))}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}};export{o as db_drawer}
@@ -1 +1 @@
1
- import{r as t,h as i}from"./p-kHKR5QG5.js";import{D as s}from"./p-BdL-nI5y.js";import{d as a,u as e,g as h,c as o}from"./p-xkoBSP8R.js";import{D as d}from"./p-CHLgQ9vn.js";import{b as l}from"./p-DOPXnIzL.js";const n=class{constructor(i){t(this,i),this._id=s,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&a((()=>{var i;this._ref&&l(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,a;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(a=null==t?void 0:t.target)||void 0===a?void 0:a.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t;this._documentScrollListenerCallbackId&&(new d).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new d).addCallback((i=>this.handleDocumentScroll(i,t))),this.handleAutoPlacement(t),null===(i=this._observer)||void 0===i||i.observe(this.getParent())}resetIds(){var t,i,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&void 0!==s?s:"tooltip-"+e()}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const e=i.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(e.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(){if(this._ref&&this.initialized&&this._id){const t=this.getParent();t&&(this.handleAutoPlacement(t),["mouseenter","focusin"].forEach((i=>{t.addEventListener(i,(()=>this.handleEnter(t)))})),t.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseleave","focusout"].forEach((i=>{t.addEventListener(i,(()=>this.handleLeave()))})),t.dataset.hasTooltip="true",t.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id)),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tooltip"),this.resetIds(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("i",{key:"df7b27f485e4029f51329dd73e50603f6965efb8",class:o("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-wrap":h(this.wrap),"data-animation":h(null===(t=this.animation)||void 0===t||t),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":h(null===(s=this.showArrow)||void 0===s||s),"data-placement":this.placement,onClick:t=>this.handleClick(t)},i("slot",{key:"7c1aee92a530f8b0899231f55122f6109c72bc46"}))}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}};export{n as db_tooltip}
1
+ import{r as t,h as i}from"./p-LpjjuLKB.js";import{D as s}from"./p-BdL-nI5y.js";import{d as a,u as e,g as h,c as o}from"./p-xkoBSP8R.js";import{D as d}from"./p-CHLgQ9vn.js";import{b as l}from"./p-DOPXnIzL.js";const n=class{constructor(i){t(this,i),this._id=s,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&a((()=>{var i;this._ref&&l(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,a;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(a=null==t?void 0:t.target)||void 0===a?void 0:a.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t;this._documentScrollListenerCallbackId&&(new d).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new d).addCallback((i=>this.handleDocumentScroll(i,t))),this.handleAutoPlacement(t),null===(i=this._observer)||void 0===i||i.observe(this.getParent())}resetIds(){var t,i,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&void 0!==s?s:"tooltip-"+e()}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const e=i.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(e.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(){if(this._ref&&this.initialized&&this._id){const t=this.getParent();t&&(this.handleAutoPlacement(t),["mouseenter","focusin"].forEach((i=>{t.addEventListener(i,(()=>this.handleEnter(t)))})),t.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseleave","focusout"].forEach((i=>{t.addEventListener(i,(()=>this.handleLeave()))})),t.dataset.hasTooltip="true",t.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id)),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tooltip"),this.resetIds(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("i",{key:"28e7ae8a00ad233525996c1fdda68465d5fbe33e",class:o("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-wrap":h(this.wrap),"data-animation":h(null===(t=this.animation)||void 0===t||t),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":h(null===(s=this.showArrow)||void 0===s||s),"data-placement":this.placement,onClick:t=>this.handleClick(t)},i("slot",{key:"30baf105fab31565512655e1823ee1c2a7311a0a"}))}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}};export{n as db_tooltip}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-kHKR5QG5.js";import{c as a}from"./p-xkoBSP8R.js";const i=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-icon")}render(){var s,i;return t("span",{key:"3bef98de9ca12c66f7cce8e11eaa5d895a8d6750",class:a("db-icon",this.className),"aria-hidden":"true",ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-icon":this.icon,"data-icon-weight":this.weight,"data-icon-variant":this.variant},this.text?this.text:t("slot",null))}};export{i as db_icon}
1
+ import{r as s,h as t}from"./p-LpjjuLKB.js";import{c as a}from"./p-xkoBSP8R.js";const i=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-divider")}render(){var s,i;return t("div",{key:"40f582795805c0f3bd32ffba379049ba0a1140f6",class:a("db-divider",this.className),ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-margin":this.margin,"data-variant":this.variant,"data-emphasis":this.emphasis,"data-width":this.width})}};export{i as db_divider}
@@ -0,0 +1 @@
1
+ import{r as e,h as a}from"./p-LpjjuLKB.js";import{c as t,g as s}from"./p-xkoBSP8R.js";const d=class{constructor(a){e(this,a),this.fontsLoaded=!1}enableAttributePassing(e,a){const t=null==e?void 0:e.closest(a);if(e&&t){const a=t.attributes;for(let s=0;s<a.length;s++){const d=a.item(s);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))e.setAttribute(d.name,d.value),t.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)e.setAttribute(d.name,d.value),t.removeAttribute(d.name);else if(d&&"class"===d.name){const a=d.value.includes("hydrated"),s=d.value.replace("hydrated","").trim(),i=e.getAttribute("class");e.setAttribute(d.name,`${i?`${i} `:""}${s}`),a?t.setAttribute("class","hydrated"):t.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-page"),this.fontsLoaded=!this.fadeIn,document&&this.fadeIn?document.fonts.ready.then((()=>{this.fontsLoaded=!0})):this.fontsLoaded=!0}disconnectedCallback(){"undefined"!=typeof window&&document.documentElement.classList.contains("db-page-document")&&document.documentElement.classList.remove("db-page-document")}render(){var e,d;return a("div",{key:"3ab3a293a869c9d557e8998e8d523a999b50f582",class:t("db-page",this.className),ref:e=>{this._ref=e},id:null!==(e=this.id)&&void 0!==e?e:null===(d=this.propOverrides)||void 0===d?void 0:d.id,"data-variant":this.variant,"data-fade-in":s(this.fadeIn),"data-fonts-loaded":s(this.fontsLoaded)},a("slot",{key:"d4ad87f9642d0be01271e3cc31389083893b5b12",name:"header"}),a("main",{key:"74d35e61900006b8996e91236a8f8aa56b50a571",class:t("db-main",this.mainClass)},a("slot",{key:"a41b05ab87cfee50527ce033cdde32664219a830"})),a("slot",{key:"6612f687f66f6382366ce97eb50c17f905ebecdf",name:"footer"}))}};export{d as db_page}
@@ -0,0 +1 @@
1
+ import{r as e,c as a,h as d}from"./p-LpjjuLKB.js";import{p as t}from"./p-BdL-nI5y.js";import{a as s,e as c,c as i}from"./p-xkoBSP8R.js";import{i as b}from"./p-BuBrj57D.js";import"./p-DOPXnIzL.js";const n=class{constructor(d){e(this,d),this.toggle=a(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&&(s(this._ref,{key:"data-force-mobile",value:"true"}),this.forcedToMobile=!0)}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-header"),this.initialized=!0,this.watch0Fn()}render(){var e,a,s;return d("header",{key:"8e54210db9b89732d6405bbe8bcdbfe1151b9731",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},d("db-drawer",{key:"ce22e304d9c36200d421aee13ff70316fdba442f",class:"db-header-drawer",spacing:"small",rounded:!0,closeButtonId:this.closeButtonId,closeButtonText:this.closeButtonText,open:c(this.drawerOpen),onClose:()=>this.handleToggle()},d("div",{key:"908307e3c05e5ca675112a6e3c87b1e4d7fed751",class:"db-header-drawer-navigation"},d("div",{key:"da6c85a149b09733bab2e51fed341b16282577a1",class:"db-header-navigation",onClick:e=>this.handleNavigationItemClick(e)},d("slot",{key:"f0092c3f841c796acc940c70772731964b2f44c0"})),d("div",{key:"7afc8e437343327f5707f45be0a2fd5e03e58a29",class:"db-header-meta-navigation"},d("slot",{key:"08a7c6500bd59a860242ebe17b71fdc3cc303b33",name:"metaNavigation"}))),d("div",{key:"2e49cc794f28e3d25c2bcdd5d7e857ade2127e11",class:"db-header-secondary-action"},d("slot",{key:"7877c1166d58fc228236d1279720cfc16c496b72",name:"secondaryAction"}))),d("div",{key:"9b2c8ad3b231d6b98b72dd10c7d6961770c203e6",class:"db-header-meta-navigation"},d("slot",{key:"d8a56e3c478fc665aebd6e450cf84a3bb319f73a",name:"metaNavigation"})),d("div",{key:"3ea89f132a57326a968a9d9def0077aa6e9124c7",class:"db-header-navigation-bar"},d("div",{key:"5f24251272645917aec75d4a4eed962bb93bf72f",class:"db-header-brand-container"},d("slot",{key:"0f484f8b46d50841d081ffcd859a5eacedd021b3",name:"brand"})),d("div",{key:"05e28c8261c3957f27e72ef79e184261035f0954",class:"db-header-navigation-container"},d("div",{key:"bf013bb85f2cd6bee2544237c6888325ba14ab1a",class:"db-header-navigation"},d("slot",{key:"9fad72ee7f7be86eb8c3ff58b8d1351e7def044e"})),d("div",{key:"b859a359c3a9f579b3dd57b74cc0c28d1d2f8f99",class:"db-header-primary-action"},d("slot",{key:"25382acb1f778a4f2064c27219c41a3da4238007",name:"primaryAction"}))),d("div",{key:"beccb5ee836518231ca9d99daa2d6a1a881ce3b9",class:"db-header-action-container"},d("div",{key:"fa85b7a06a88ef94746974734083ad92d7e0a7d0",class:"db-header-burger-menu-container"},d("db-button",{key:"b7c80b7e1e2ebe798f7815236444280a672338d4",icon:"menu",variant:"ghost",noText:!0,onClick:()=>this.handleToggle()},null!==(s=this.burgerMenuLabel)&&void 0!==s?s:t)),d("div",{key:"1bb4dd0e6bf32dd922e4eb28ffb2b632637a1be7",class:"db-header-secondary-action"},d("slot",{key:"42fd8c627f309e901ca8d07442a5a1c5f8776288",name:"secondaryAction"})))))}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0}]}}};export{n as db_header}
@@ -0,0 +1 @@
1
+ import{r as i,h as l}from"./p-LpjjuLKB.js";import{g as t,c as d,u as a,f as s}from"./p-xkoBSP8R.js";const e=class{constructor(l){i(this,l)}enableAttributePassing(i,l){const t=null==i?void 0:i.closest(l);if(i&&t){const l=t.attributes;for(let d=0;d<l.length;d++){const a=l.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"class"===a.name){const l=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),s=i.getAttribute("class");i.setAttribute(a.name,`${s?`${s} `:""}${d}`),l?t.setAttribute("class","hydrated"):t.removeAttribute(a.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-link")}render(){var i,a,s,e;return l("a",{key:"9cecd89fae35481cbc053fd253fc75140f8e57a1",class:d("db-link",this.className),ref:i=>{this._ref=i},id:null!==(i=this.id)&&void 0!==i?i:null===(a=this.propOverrides)||void 0===a?void 0:a.id,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(s=this.referrerpolicy)&&void 0!==s?s:this.referrerPolicy,hrefLang:this.hreflang,"aria-disabled":t(this.disabled),tabIndex:this.disabled?-1:0,"data-size":this.size,"data-show-icon-trailing":t(null===(e=this.showIcon)||void 0===e||e),"data-variant":this.variant,"data-content":this.content||"internal","data-wrap":t(this.wrap)},this.text?this.text:l("slot",null))}},o=class{constructor(l){i(this,l)}getHeaderCell(i){if(i.headerCell)return i}enableAttributePassing(i,l){const t=null==i?void 0:i.closest(l);if(i&&t){const l=t.attributes;for(let d=0;d<l.length;d++){const a=l.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"class"===a.name){const l=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),s=i.getAttribute("class");i.setAttribute(a.name,`${s?`${s} `:""}${d}`),l?t.setAttribute("class","hydrated"):t.removeAttribute(a.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-table-row")}render(){var i;return l("tr",{key:"0826ccfb6e11937280649f6b59263676e8f5f668",class:d("db-table-row",this.className),ref:i=>{this._ref=i},id:this.id,"data-interactive":t(this.interactive),"data-sub-header-emphasis":this.subHeaderEmphasis},this.cells?null===(i=this.cells)||void 0===i?void 0:i.map(((i,t)=>{var d,s,e,o,n,r,v,c,h,u,b,f,y,p,g,m,w,$,k,S,_,A,P,x,z,L,j,D,I,B,C,H,K,R,T,q,E,F,G,J,M,N,O,Q,U;return i.headerCell?l("db-table-header-cell",{class:null!==(d=i.className)&&void 0!==d?d:i.class,key:`${null!==(s=this.id)&&void 0!==s?s:a()}-table-row-header-cell-${t}`,id:i.id,abbr:null===(e=this.getHeaderCell(i))||void 0===e?void 0:e.abbr,scope:null===(o=this.getHeaderCell(i))||void 0===o?void 0:o.scope,noText:null===(n=this.getHeaderCell(i))||void 0===n?void 0:n.noText,horizontalAlignment:i.horizontalAlignment,verticalAlignment:i.verticalAlignment,headers:i.headers,colSpan:i.colSpan,colspan:i.colspan,rowSpan:i.rowSpan,rowspan:i.rowspan},i.link?l("db-link",{class:null!==(v=null===(r=i.link)||void 0===r?void 0:r.className)&&void 0!==v?v:null===(c=i.link)||void 0===c?void 0:c.class,content:null===(h=i.link)||void 0===h?void 0:h.content,size:null===(u=i.link)||void 0===u?void 0:u.size,variant:null===(b=i.link)||void 0===b?void 0:b.variant,id:null===(f=i.link)||void 0===f?void 0:f.id,autofocus:null===(y=i.link)||void 0===y?void 0:y.autofocus,disabled:null===(p=i.link)||void 0===p?void 0:p.disabled,href:null===(g=i.link)||void 0===g?void 0:g.href,hreflang:null===(m=i.link)||void 0===m?void 0:m.hreflang,target:null===(w=i.link)||void 0===w?void 0:w.target,rel:null===($=i.link)||void 0===$?void 0:$.rel,referrerPolicy:null===(k=i.link)||void 0===k?void 0:k.referrerPolicy,role:null===(S=i.link)||void 0===S?void 0:S.role,showIcon:null===(_=i.link)||void 0===_?void 0:_.showIcon,text:null===(A=i.link)||void 0===A?void 0:A.text,wrap:null===(P=i.link)||void 0===P?void 0:P.wrap},null===(x=i.link)||void 0===x?void 0:x.children):i.content):l("db-table-data-cell",{class:null!==(z=i.className)&&void 0!==z?z:i.class,key:`${null!==(L=this.id)&&void 0!==L?L:a()}-table-row-data-cell-${t}`,id:i.id,horizontalAlignment:i.horizontalAlignment,verticalAlignment:i.verticalAlignment,headers:i.headers,colSpan:i.colSpan,colspan:i.colspan,rowSpan:i.rowSpan,rowspan:i.rowspan},i.link?l("db-link",{class:null!==(D=null===(j=i.link)||void 0===j?void 0:j.className)&&void 0!==D?D:null===(I=i.link)||void 0===I?void 0:I.class,content:null===(B=i.link)||void 0===B?void 0:B.content,size:null===(C=i.link)||void 0===C?void 0:C.size,variant:null===(H=i.link)||void 0===H?void 0:H.variant,id:null===(K=i.link)||void 0===K?void 0:K.id,autofocus:null===(R=i.link)||void 0===R?void 0:R.autofocus,disabled:null===(T=i.link)||void 0===T?void 0:T.disabled,href:null===(q=i.link)||void 0===q?void 0:q.href,hreflang:null===(E=i.link)||void 0===E?void 0:E.hreflang,target:null===(F=i.link)||void 0===F?void 0:F.target,rel:null===(G=i.link)||void 0===G?void 0:G.rel,referrerPolicy:null===(J=i.link)||void 0===J?void 0:J.referrerPolicy,role:null===(M=i.link)||void 0===M?void 0:M.role,showIcon:null===(N=i.link)||void 0===N?void 0:N.showIcon,text:null===(O=i.link)||void 0===O?void 0:O.text,wrap:null===(Q=i.link)||void 0===Q?void 0:Q.wrap},null===(U=i.link)||void 0===U?void 0:U.children):i.content)})):l("slot",null))}},n=class{constructor(l){i(this,l)}enableAttributePassing(i,l){const t=null==i?void 0:i.closest(l);if(i&&t){const l=t.attributes;for(let d=0;d<l.length;d++){const a=l.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"class"===a.name){const l=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),s=i.getAttribute("class");i.setAttribute(a.name,`${s?`${s} `:""}${d}`),l?t.setAttribute("class","hydrated"):t.removeAttribute(a.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-table-header-cell")}render(){return l("th",{key:"8e4041b823d5a1e31e92992eb9233bc75e6f0db9",class:d("db-table-header-cell",this.className),ref:i=>{this._ref=i},id:this.id,"data-horizontal-alignment":this.horizontalAlignment,"data-vertical-alignment":this.verticalAlignment,"data-no-text":t(this.noText),scope:this.scope,colSpan:s(this.colSpan,this.colspan),rowSpan:s(this.rowSpan,this.rowspan),headers:this.headers,abbr:this.abbr},l("slot",{key:"a78d87d22ead57dbb4a97175da963028fa603a39"}))}},r=class{constructor(l){i(this,l)}enableAttributePassing(i,l){const t=null==i?void 0:i.closest(l);if(i&&t){const l=t.attributes;for(let d=0;d<l.length;d++){const a=l.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),t.removeAttribute(a.name);else if(a&&"class"===a.name){const l=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),s=i.getAttribute("class");i.setAttribute(a.name,`${s?`${s} `:""}${d}`),l?t.setAttribute("class","hydrated"):t.removeAttribute(a.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-table-data-cell")}render(){return l("td",{key:"8274250200fc80a6dd6df6d337b397930c665e18",class:d("db-table-data-cell",this.className),ref:i=>{this._ref=i},id:this.id,"data-horizontal-alignment":this.horizontalAlignment,"data-vertical-alignment":this.verticalAlignment,colSpan:s(this.colSpan,this.colspan),rowSpan:s(this.rowSpan,this.rowspan),headers:this.headers},l("slot",{key:"15e1f9e5492c105d953fb8f4ec272f3c8853b318"}))}};export{e as db_link,r as db_table_data_cell,n as db_table_header_cell,o as db_table_row}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-kHKR5QG5.js";import{c as i}from"./p-xkoBSP8R.js";const a=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const i=null==s?void 0:s.closest(t);if(s&&i){const t=i.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${a}`),t?i.setAttribute("class","hydrated"):i.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-divider")}render(){var s,a;return t("div",{key:"5773c14fcdd05f7e4b7b73af32c779133ac1b65b",class:i("db-divider",this.className),ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(a=this.propOverrides)||void 0===a?void 0:a.id,"data-margin":this.margin,"data-variant":this.variant,"data-emphasis":this.emphasis,"data-width":this.width})}};export{a as db_divider}
1
+ import{r as s,h as t}from"./p-LpjjuLKB.js";import{c as i}from"./p-xkoBSP8R.js";const a=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const i=null==s?void 0:s.closest(t);if(s&&i){const t=i.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),o=s.getAttribute("class");s.setAttribute(d.name,`${o?`${o} `:""}${a}`),t?i.setAttribute("class","hydrated"):i.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-icon")}render(){var s,a;return t("span",{key:"bbb6c25057c2d14ce8aa9c4b9e98451e7592ac9b",class:i("db-icon",this.className),"aria-hidden":"true",ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(a=this.propOverrides)||void 0===a?void 0:a.id,"data-icon":this.icon,"data-icon-weight":this.weight,"data-icon-variant":this.variant},this.text?this.text:t("slot",null))}};export{a as db_icon}
@@ -1 +1 @@
1
- import{r as t,h as s,c as i}from"./p-kHKR5QG5.js";import{c as a,e as h,g as e,h as d,d as l,s as o,i as n,u as c,k as r,f as u,j as b,b as v,l as f}from"./p-xkoBSP8R.js";import{l as m,f as y,g as p,h as w,j as k,k as g,b as x,a as $,m as _}from"./p-BdL-nI5y.js";import{c as F}from"./p-D5mInaY7.js";const L=class{constructor(s){t(this,s),this.width="fixed"}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){var t,i;return s("article",{key:"978958659b0f3b0fbdc011abfb079086ca90a6d5",class:a("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",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-width":this.width},s("slot",{key:"21a6a67f222cb5eaf262ad4f3bd8cde81e4ba5c0"}))}},C=class{constructor(s){t(this,s)}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){var t,i;return s("div",{key:"3c005a8e6605f176226e1eed81c47737498f1d05",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,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},s("ul",{key:"59887c5fe0d8e6c3b136e88ee4d8f1f26c580f5b"},s("slot",{key:"29916aa86adbc98a874f5cee71cf056c705b5f62"})))}},D=class{constructor(s){t(this,s),this.change=i(this,"change"),this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return h(this.checked,"checked")?"check":"x_placeholder"}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this.watch0Fn()}render(){var t,i;return s("li",{key:"439f87691065d7cf9e8742c3f5aa1ded7f5ac422",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),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-divider":e(this.hasDivider)},this.isGroupTitle?s("span",null,this.groupTitle):s("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":e(this.showIcon),"data-icon-trailing":this.getIconTrailing()},s("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:h(this.checked,"checked"),disabled:h(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:s("slot",null)))}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},A=class{constructor(s){t(this,s),this.input=i(this,"input"),this.change=i(this,"change"),this.blur=i(this,"blur"),this.focus=i(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,s,i,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,d()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:g,l((()=>this._voiceOverFallback=""),1e3))):this._descByIds=o(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)||m,d()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,s){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,s){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}getDataList(){const t=this.dataList;return Array.from((n(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):t)||[])}resetIds(){var t,s,i;const a=null!==(i=null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&void 0!==i?i:`input-${c()}`;this._id=a,this._messageId=a+y,this._validMessageId=a+p,this._invalidMessageId=a+w,this._dataListId=a+k}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){var t,s;(null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||m}watch1(){this.watch1Fn()}watch2Fn(){var t;if(this._id){const s=this._id+y;this._messageId=s,this._validMessageId=this._id+p,this._invalidMessageId=this._id+w,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+k,o(this.message,this.showMessage)&&(this._descByIds=s),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){void 0!==this.value&&(this._value=this.value)}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const t=void 0;let s=this.abortController;s||(s=new AbortController,this.abortController=s),F(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),s.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-input"),this.resetIds(),this._invalidMessage=this.invalidMessage||m,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,d,l,n,c,m,y;return s("div",{key:"11019c4d0b1eee6662b27c5a3ac9553e0abf846d",class:a("db-input",this.className),"data-variant":this.variant,"data-hide-label":f(this.showLabel),"data-show-icon":e(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(i=this.iconLeading)&&void 0!==i?i:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":f(this.showRequiredAsterisk),"data-show-icon-trailing":e(this.showIconTrailing)},s("label",{key:"0f9044b91e5787d32846d279571359c5d057e1a6",htmlFor:this._id},null!==(d=this.label)&&void 0!==d?d:$),s("input",{key:"dfac37e9f7115c015f61ea7db1ac28776a68706e","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,name:this.name,type:this.type||"text",multiple:h(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(l=this.placeholder)&&void 0!==l?l:x,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:b(this.step),value:null!==(n=this.value)&&void 0!==n?n:this._value,maxLength:u(this.maxLength,this.maxlength),minLength:u(this.minLength,this.minlength),max:r(this.max,this.type),min:r(this.min,this.type),readOnly:h(this.readOnly,"readOnly")||h(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:h(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),list:this.dataList&&this._dataListId,"aria-describedby":null!==(c=this.ariaDescribedBy)&&void 0!==c?c:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(m=this.type)&&void 0!==m?m:"")&&v()?"textbox":void 0}),this.dataList?s("datalist",{id:this._dataListId},null===(y=this.getDataList())||void 0===y?void 0:y.map((t=>s("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,s("slot",{key:"24e1c8d5ba95fa035c2fbeba5881776e7b8310f0"}),o(this.message,this.showMessage)?s("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||g):null,s("db-infotext",{key:"8c339f6481cf16148115bc8333023b93160f703f",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),s("span",{key:"1d9bfaf96452dd8487a6e10ada99aec33f6b5e52","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}}},j=class{constructor(s){t(this,s),this.remove=i(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:_}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tag")}render(){var t,i,h;return s("div",{key:"61faefa2e89ddb597fcca3cb12f7d31c337e556a",class:a("db-tag",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-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":e(null===(h=this.showCheckState)||void 0===h||h),"data-show-icon":e(this.showIcon),"data-no-text":e(this.noText),"data-overflow":e(this.overflow)},s("slot",{key:"e5650c1151f1e86f51138c5e8b292e780bf7544b",name:"content"}),s("slot",{key:"e4023db11c7b59964b4df105eb3af969ba3d558a"}),this.text?this.text:null,"removable"===this.behavior?s("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},s("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}};export{L as db_custom_select_dropdown,C as db_custom_select_list,D as db_custom_select_list_item,A as db_input,j as db_tag}
1
+ import{r as t,h as s,c as i}from"./p-LpjjuLKB.js";import{c as a,e as h,g as e,h as d,d as l,s as o,i as n,u as c,k as r,f as u,j as b,b as v,l as f}from"./p-xkoBSP8R.js";import{l as m,f as y,g as p,h as w,j as k,k as g,b as x,a as $,m as _}from"./p-BdL-nI5y.js";import{c as L}from"./p-D5mInaY7.js";const F=class{constructor(s){t(this,s),this.width="fixed"}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){var t,i;return s("article",{key:"dd5b59d388af601d7d6343c58ff5f4ea84029f4d",class:a("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",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-width":this.width},s("slot",{key:"9ae27e00da4d9e4d62b8f2ea6a6623c3f2bd94ff"}))}},j=class{constructor(s){t(this,s)}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){var t,i;return s("div",{key:"a273a5117d97899bb88d3bc4f6299145f0526acc",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,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},s("ul",{key:"23689f0147b24a435bee675f7aa9d04b496a869c"},s("slot",{key:"3a1a8b39438d4bdbf54746d8aad7b098463492dd"})))}},C=class{constructor(s){t(this,s),this.change=i(this,"change"),this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return h(this.checked,"checked")?"check":"x_placeholder"}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this.watch0Fn()}render(){var t,i;return s("li",{key:"f73b11d8f2a54a6162881243ce1abb123324854a",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),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-divider":e(this.hasDivider)},this.isGroupTitle?s("span",null,this.groupTitle):s("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":e(this.showIcon),"data-icon-trailing":this.getIconTrailing()},s("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:h(this.checked,"checked"),disabled:h(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:s("slot",null)))}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},D=class{constructor(s){t(this,s),this.input=i(this,"input"),this.change=i(this,"change"),this.blur=i(this,"blur"),this.focus=i(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,s,i,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,d()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:g,l((()=>this._voiceOverFallback=""),1e3))):this._descByIds=o(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)||m,d()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,s){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,s){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}getDataList(){const t=this.dataList;return Array.from((n(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):t)||[])}resetIds(){var t,s,i;const a=null!==(i=null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&void 0!==i?i:`input-${c()}`;this._id=a,this._messageId=a+y,this._validMessageId=a+p,this._invalidMessageId=a+w,this._dataListId=a+k}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){var t,s;(null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||m}watch1(){this.watch1Fn()}watch2Fn(){var t;if(this._id){const s=this._id+y;this._messageId=s,this._validMessageId=this._id+p,this._invalidMessageId=this._id+w,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+k,o(this.message,this.showMessage)&&(this._descByIds=s),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){void 0!==this.value&&(this._value=this.value)}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const t=void 0;let s=this.abortController;s||(s=new AbortController,this.abortController=s),L(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),s.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-input"),this.resetIds(),this._invalidMessage=this.invalidMessage||m,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,d,l,n,c,m,y;return s("div",{key:"8428432d6868dfcdd175afdba5ec578cc7a5907e",class:a("db-input",this.className),"data-variant":this.variant,"data-hide-label":f(this.showLabel),"data-show-icon":e(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(i=this.iconLeading)&&void 0!==i?i:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":f(this.showRequiredAsterisk),"data-show-icon-trailing":e(this.showIconTrailing)},s("label",{key:"ab2b928b55fa23b44ccd1e105df6526cb28c5a59",htmlFor:this._id},null!==(d=this.label)&&void 0!==d?d:$),s("input",{key:"5a96f42d40d84bd2c68c2cb372bb13a6aedb68ec","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,name:this.name,type:this.type||"text",multiple:h(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(l=this.placeholder)&&void 0!==l?l:x,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:b(this.step),value:null!==(n=this.value)&&void 0!==n?n:this._value,maxLength:u(this.maxLength,this.maxlength),minLength:u(this.minLength,this.minlength),max:r(this.max,this.type),min:r(this.min,this.type),readOnly:h(this.readOnly,"readOnly")||h(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:h(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),list:this.dataList&&this._dataListId,"aria-describedby":null!==(c=this.ariaDescribedBy)&&void 0!==c?c:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(m=this.type)&&void 0!==m?m:"")&&v()?"textbox":void 0}),this.dataList?s("datalist",{id:this._dataListId},null===(y=this.getDataList())||void 0===y?void 0:y.map((t=>s("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,s("slot",{key:"a9864f0eff35318a71592ffefe01e6da913a30fb"}),o(this.message,this.showMessage)?s("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||g):null,s("db-infotext",{key:"7c4b23fb44d7f642c9de2af0e12200a47df7719c",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),s("span",{key:"180dca64e01ada5d0d3099cc14bde0d7307fe28f","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}}},A=class{constructor(s){t(this,s),this.remove=i(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:_}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 h=s.item(a);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"data-density"!==h.name&&"class"!==h.name&&"style"===h.name)t.setAttribute(h.name,h.value),i.removeAttribute(h.name);else if(h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tag")}render(){var t,i,h;return s("div",{key:"583c02d8f144b9e612028139c9d3d4304d70b04b",class:a("db-tag",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-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":e(null===(h=this.showCheckState)||void 0===h||h),"data-show-icon":e(this.showIcon),"data-no-text":e(this.noText),"data-overflow":e(this.overflow)},s("slot",{key:"bd1257262f6caf86b6d2bfa20e7a7a92b6ec45c9",name:"content"}),s("slot",{key:"e0badd3ef18dcff2680453739958d3f5211b64b8"}),this.text?this.text:null,"removable"===this.behavior?s("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},s("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}};export{F as db_custom_select_dropdown,j as db_custom_select_list,C as db_custom_select_list_item,D as db_input,A as db_tag}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-kHKR5QG5.js";import{g as a,c as e}from"./p-xkoBSP8R.js";const h=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleToggle(t){null==t||t.preventDefault();const s=!this._open;this.toggle&&this.toggle.emit(s),this._open=s}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(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("li",{key:"3f7c64593e783768fdfc575b020a6252c5e68393",class:e("db-accordion-item",this.className),id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},i("details",{key:"6b6e78645d2cdbc59415abedb59c761df5b7af59","aria-disabled":a(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"bedf3e8a9555637cf990886e14e1f78d81c8a733",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"1679dbd607f9f63af890b1e402e38cb9aa2929af"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{h as db_accordion_item}
1
+ import{r as t,c as s,h as i}from"./p-LpjjuLKB.js";import{g as a,c as e}from"./p-xkoBSP8R.js";const h=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleToggle(t){null==t||t.preventDefault();const s=!this._open;this.toggle&&this.toggle.emit(s),this._open=s}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(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("li",{key:"74fa204b58e1f3b0163436966ba9fd6dff1bc2ec",class:e("db-accordion-item",this.className),id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},i("details",{key:"72217e67bb8a1375e6e83c60a804cf55adf0e095","aria-disabled":a(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"73f2cd6e50bed97366544675266b97e26362e7cb",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"2a93b374059df9a5bcd76d9f9b930319018c711b"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{h as db_accordion_item}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-kHKR5QG5.js";import{q as a}from"./p-BdL-nI5y.js";import{g as i,c as d}from"./p-xkoBSP8R.js";const o=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),o=s.getAttribute("class");s.setAttribute(d.name,`${o?`${o} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-brand")}render(){var s,o,n;return t("div",{key:"fc41608ac72c69c17542343ce283c584b3e5c3f5",class:d("db-brand",this.className),ref:s=>{this._ref=s},"data-icon":this.hideLogo?"none":null!==(s=this.icon)&&void 0!==s?s:a,"data-show-icon":i(this.showIcon),id:null!==(o=this.id)&&void 0!==o?o:null===(n=this.propOverrides)||void 0===n?void 0:n.id},this.text?this.text:t("slot",null))}};export{o as db_brand}
1
+ import{r as s,h as t}from"./p-LpjjuLKB.js";import{q as a}from"./p-BdL-nI5y.js";import{g as i,c as d}from"./p-xkoBSP8R.js";const o=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),o=s.getAttribute("class");s.setAttribute(d.name,`${o?`${o} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-brand")}render(){var s,o,n;return t("div",{key:"679731d67b498b68650b1f3c5fb6ac1f8578b29f",class:d("db-brand",this.className),ref:s=>{this._ref=s},"data-icon":this.hideLogo?"none":null!==(s=this.icon)&&void 0!==s?s:a,"data-show-icon":i(this.showIcon),id:null!==(o=this.id)&&void 0!==o?o:null===(n=this.propOverrides)||void 0===n?void 0:n.id},this.text?this.text:t("slot",null))}};export{o as db_brand}
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as s,F as h}from"./p-LpjjuLKB.js";import{l as e,a as l,m as a,f as o,g as d,h as n,e as c,d as v,i as r,o as u,k as w,c as f,s as b}from"./p-BdL-nI5y.js";import{h as m,d as p,s as y,m as g,u as k,g as F,e as A,l as D,c as x}from"./p-xkoBSP8R.js";import{D as C}from"./p-D_roHmuC.js";import{D as L}from"./p-CHLgQ9vn.js";import{a as S}from"./p-DOPXnIzL.js";import{b as I}from"./p-D5mInaY7.js";const R=class{constructor(s){i(this,s),this.amountChange=t(this,"amountChange"),this.dropdownToggle=t(this,"dropdownToggle"),this.optionSelected=t(this,"optionSelected"),this.search=t(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(i){i.stopPropagation()}}handleDocumentScroll(i){var t,s;(null===(t=null==i?void 0:i.target)||void 0===t?void 0:t.contains)&&(null===(s=null==i?void 0:i.target)||void 0===s?void 0:s.contains(this.detailsRef))&&this.handleAutoPlacement()}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,h,l,a,o,d;this.selectRef&&(this.selectRef.value=this.getNativeSelectValue()),(null===(i=this.selectRef)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(h=this.selectRef)||void 0===h?void 0:h.validity.valid)&&this.required?(this.setDescById(this._validMessageId),m()&&(this._voiceOverFallback=null!==(l=this.validMessage)&&void 0!==l?l:w,p((()=>this._voiceOverFallback=""),1e3)),this._validity=null!==(a=this.validation)&&void 0!==a?a:"valid"):y(this.message,this.showMessage)?(this.setDescById(this._messageId),this._validity=null!==(o=this.validation)&&void 0!==o?o:"no-validation"):(this.setDescById(this._placeholderId),this._validity=null!==(d=this.validation)&&void 0!==d?d:"no-validation"):(this.setDescById(this._invalidMessageId),this._invalidMessage=this.invalidMessage||(null===(t=this.selectRef)||void 0===t?void 0:t.validationMessage)||e,m()&&(this._voiceOverFallback=this._invalidMessage,p((()=>this._voiceOverFallback=""),1e3)),this._userInteraction&&(this._validity=null!==(s=this.validation)&&void 0!==s?s:"invalid"))}handleDropdownToggle(i){var t,s;this.dropdownToggle&&(i.stopPropagation(),this.dropdownToggle.emit(i)),i.target instanceof HTMLDetailsElement&&i.target.open?(this._documentClickListenerCallbackId=(new C).addCallback((i=>this.handleDocumentClose(i))),this._documentScrollListenerCallbackId=(new L).addCallback((i=>this.handleDocumentScroll(i))),this.handleAutoPlacement(),null===(t=this._observer)||void 0===t||t.observe(this.detailsRef),i.target.dataset.test||this.handleOpenByKeyboardFocus()):(this._documentClickListenerCallbackId&&(new C).removeCallback(this._documentClickListenerCallbackId),this._documentScrollListenerCallbackId&&(new L).removeCallback(this._documentScrollListenerCallbackId),null===(s=this._observer)||void 0===s||s.unobserve(this.detailsRef))}getNativeSelectValue(){var i,t;return(null===(i=this._values)||void 0===i?void 0:i.length)&&null!==(t=this._values.at(0))&&void 0!==t?t:""}setDescById(i){var t;const s=[];i&&s.push(i),this._selectedLabelsId&&(null===(t=this._selectedLabels)||void 0===t?void 0:t.length)&&s.push(this._selectedLabelsId),this._descByIds=s.join(" ")}getSelectAllLabel(){var i;return null!==(i=this.selectAllLabel)&&void 0!==i?i:l}getOptionLabel(i){var t,s,h;return null!==(h=null!==(t=i.label)&&void 0!==t?t:null===(s=i.value)||void 0===s?void 0:s.toString())&&void 0!==h?h:""}getOptionChecked(i){var t,s;return!(!i||!(null===(t=this._values)||void 0===t?void 0:t.includes))&&(null===(s=this._values)||void 0===s?void 0:s.includes(i))}getTagRemoveLabel(i){const t=this.removeTagsTexts,s=this.options;if(t&&s){const h=s.findIndex((t=>t.value===i.value));if(h>=0&&h<t.length)return t[h]}return`${a} ${this.getOptionLabel(i)}`}handleTagRemove(i,t){t&&t.stopPropagation(),this.handleSelect(i.value),this.handleSummaryFocus()}handleAutoPlacement(){if(this.detailsRef){const i=this.detailsRef.querySelector("article");i&&p((()=>{var t;S(i,this.detailsRef,null!==(t=this.placement)&&void 0!==t?t:"bottom")}),1)}}handleArrowDownUp(i){var t,s,h;if(null===(t=this.detailsRef)||void 0===t?void 0:t.open){if(self.document){const t=self.document.activeElement;if(t)if("checkbox"===t.getAttribute("type")||"radio"===t.getAttribute("type")){const e=null==t?void 0:t.closest("li");if("ArrowDown"===i.key||"ArrowRight"===i.key){let i=null==e?void 0:e.nextElementSibling;for(;i;){const t=i.querySelector("input");if(t){t.focus();break}i=i.nextElementSibling}i||this.handleFocusFirstDropdownCheckbox(t)}else{let i=null==e?void 0:e.previousElementSibling;for(;i;){const t=i.querySelector("input");if(t){t.focus();break}i=i.previousElementSibling}if(!i){const i=this.detailsRef.querySelector('input[type="checkbox"]');if(i&&i!==t)this.handleFocusFirstDropdownCheckbox(t);else{const i=g(this.detailsRef);if(i)p((()=>{i.focus()}),100);else{const i=Array.from(null===(s=this.detailsRef)||void 0===s?void 0:s.querySelectorAll('input[type="checkbox"],input[type="radio"]'));i.length&&(null===(h=i.at(-1))||void 0===h||h.focus())}}}}}else"search"!==t.getAttribute("type")||"ArrowUp"!==i.key&&"ArrowLeft"!==i.key?this.handleFocusFirstDropdownCheckbox(t):(this.handleClose(void 0,!0),this.handleSummaryFocus())}}else"ArrowDown"!==i.key&&"ArrowRight"!==i.key||(this.handleAutoPlacement(),this.detailsRef&&(this.detailsRef.open=!0),this.handleOpenByKeyboardFocus());i.stopPropagation(),i.preventDefault()}handleKeyboardPress(i){var t,s,h;if(i.stopPropagation(),"Escape"===i.key&&(null===(t=this.detailsRef)||void 0===t?void 0:t.open))this.handleClose(void 0,!0),this.handleSummaryFocus();else if("Enter"===i.key&&(null===(s=this.detailsRef)||void 0===s?void 0:s.open)){if(self.document){const t=self.document.activeElement;if(["checkbox","radio"].includes(t.getAttribute("type")||""))t.click(),i.preventDefault();else if("search"===t.getAttribute("type")){const t=null===(h=this._options)||void 0===h?void 0:h.find((i=>!i.isGroupTitle&&!i.disabled));(null==t?void 0:t.value)&&(this.handleSelect(t.value),i.preventDefault())}}}else"ArrowDown"!==i.key&&"ArrowUp"!==i.key&&"ArrowLeft"!==i.key&&"ArrowRight"!==i.key||this.handleArrowDownUp(i)}handleClose(i,t){if(this.detailsRef)if(t)this.detailsRef.open=!1,this.handleSummaryFocus();else if(this.detailsRef.open&&i&&i.relatedTarget){const t=i.relatedTarget;this.detailsRef.contains(t)||"dialog"===t.localName||p((()=>this.detailsRef.open=!1),1)}}handleDocumentClose(i){var t,s;if(i){const h="number"==typeof i.detail?i.target:null===(t=i.detail)||void 0===t?void 0:t.target;(null===(s=this.detailsRef)||void 0===s?void 0:s.open)&&!this.detailsRef.contains(h)&&(this.detailsRef.open=!1)}}handleOptionSelected(i){(new Date).getTime()-this._internalChangeTimestamp<200||(this._values=i,this._userInteraction=!0,this.optionSelected&&this.optionSelected.emit(null!=i?i:[]),this._internalChangeTimestamp=(new Date).getTime())}handleSelect(i){var t;i&&(this.multiple?(null===(t=this._values)||void 0===t?void 0:t.includes(i))?this.handleOptionSelected(this._values.filter((t=>t!==i))):this.handleOptionSelected([...this._values||[],i]):(this.handleOptionSelected([i]),this.handleClose(void 0,!0)))}handleSelectAll(i){var t;if(i.stopPropagation(),(null===(t=this._values)||void 0===t?void 0:t.length)===this.amountOptions)this.handleOptionSelected([]);else{const i=this.searchEnabled&&this.searchInputRef?this.searchInputRef.value:void 0;this.handleOptionSelected(this.options?this.options.filter((t=>{var s;return!t.isGroupTitle&&(!i||(null===(s=t.value)||void 0===s?void 0:s.toLowerCase().includes(i.toLowerCase())))})).map((i=>{var t;return null!==(t=i.value)&&void 0!==t?t:""})):[])}}handleFocusFirstDropdownCheckbox(i){if(this.detailsRef){const t=Array.from(this.detailsRef.querySelectorAll('input[type="checkbox"],input[type="radio"]'));if(t.length){const s=t.at(0),h=s===i&&t.length>1?t.at(1):s;h&&p((()=>{h.focus()}),1)}}}handleOpenByKeyboardFocus(){if(this.detailsRef){const i=g(this.detailsRef);i?p((()=>{i.focus()}),1):this.handleFocusFirstDropdownCheckbox()}}handleSearch(i){if(void 0===i)return;let t;if("string"==typeof i)t=i;else{const s=i;s.stopPropagation(),this.search&&this.search.emit(s),t=s.target.value,this._searchValue=t}this._options=this.options&&t&&0!==t.length?this.options.filter(this.searchFilter?i=>this.searchFilter(i,t):i=>!i.isGroupTitle&&this.getOptionLabel(i).toLowerCase().includes(t.toLowerCase())):this.options}handleClearAll(i){i.stopPropagation(),this.handleOptionSelected([]),this.handleSummaryFocus()}handleSummaryFocus(){var i;this.detailsRef&&(null===(i=this.detailsRef.querySelector("summary"))||void 0===i||i.focus())}resetIds(){var i,t,s;const h=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:`custom-select-${k()}`;this._id=h,this._messageId=h+o,this._validMessageId=h+d,this._invalidMessageId=h+n,this._selectId=h+c,this._labelId=h+v,this._summaryId=h+"-summary",this._placeholderId=h+r,this._selectedLabelsId=h+"-selected-labels",this._infoTextId=h+"-info"}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let h=0;h<t.length;h++){const e=t.item(h);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))i.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)i.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const t=e.value.includes("hydrated"),h=e.value.replace("hydrated","").trim(),l=i.getAttribute("class");i.setAttribute(e.name,`${l?`${l} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(e.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){this.detailsRef&&this.detailsRef.addEventListener("focusout",(i=>this.handleClose(i)))}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const i=this._id+o;this._labelId=this._id+v,this._selectId=this._id+c,this._validMessageId=this._id+d,this._invalidMessageId=this._id+n,this._placeholderId=this._id+r,y(this.message,this.showMessage)?this.setDescById(i):this.setDescById()}}watch2(){this.watch2Fn()}watch3Fn(){var i;if(this.detailsRef){const t=this.detailsRef.querySelector("summary");t&&t.setAttribute("aria-describedby",null!==(i=this.ariaDescribedBy)&&void 0!==i?i: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 i;this.selectAllEnabled=Boolean(this.multiple&&(null!==(i=this.showSelectAll)&&void 0!==i?i:this.amountOptions>5))}watch5(){this.watch5Fn()}watch6Fn(){var i;this.searchEnabled=null!==(i=this.showSearch)&&void 0!==i?i:this.amountOptions>9}watch6(){this.watch6Fn()}watch7Fn(){var i;const t=this.values;Array.isArray(t)?this._values!==t&&(this._values=t):null==t&&0!==(null===(i=this._values)||void 0===i?void 0:i.length)&&(this._values=[])}watch7(){this.watch7Fn()}watch8Fn(){this.selectRef&&this.handleValidation()}watch8(){this.watch8Fn()}watch9Fn(){if(this.selectRef){let i=this.abortController;i||(i=new AbortController,this.abortController=i);const t=this.values;I(this.selectRef,(()=>{this.handleOptionSelected(t||(this.selectRef.value?[this.selectRef.value]:[])),this.handleValidation()}),i.signal)}}watch9(){this.watch9Fn()}watch10Fn(){this._validity=this.validation}watch10(){this.watch10Fn()}watch11Fn(){var i,t;0===(null===(i=this._values)||void 0===i?void 0:i.length)?(this.selectAllChecked=!1,this.selectAllIndeterminate=!1):(null===(t=this._values)||void 0===t?void 0:t.length)===this.amountOptions?(this.selectAllIndeterminate=!1,this.selectAllChecked=!0):this._values&&(this.selectAllIndeterminate=!0)}watch11(){this.watch11Fn()}watch12Fn(){var i,t;this._options=this.options,this.amountOptions=null!==(t=null===(i=this.options)||void 0===i?void 0:i.filter((i=>!i.isGroupTitle)).length)&&void 0!==t?t:0}watch12(){this.watch12Fn()}watch13Fn(){this._searchValue=this.searchValue,this.searchValue&&this.handleSearch(this.searchValue)}watch13(){this.watch13Fn()}watch14Fn(){var i,t;(null===(i=this.options)||void 0===i?void 0:i.length)&&(this._selectedOptions=null===(t=this.options)||void 0===t?void 0:t.filter((i=>{var t,s;return!(!i.value||!(null===(t=this._values)||void 0===t?void 0:t.includes))&&!i.isGroupTitle&&(null===(s=this._values)||void 0===s?void 0:s.includes(i.value))})))}watch14(){this.watch14Fn()}watch15Fn(){var i,t,s;if(this.selectedLabels)this._selectedLabels=this.selectedLabels;else if(null===(i=this._selectedOptions)||void 0===i?void 0:i.length){if(this.transformSelectedLabels)return void(this._selectedLabels=(0,this.transformSelectedLabels)(this._selectedOptions));this._selectedLabels="amount"===this.selectedType?this.amountText?this.amountText:`${null===(t=this._selectedOptions)||void 0===t?void 0:t.length} ${u}`:null===(s=this._selectedOptions)||void 0===s?void 0:s.map((i=>this.getOptionLabel(i))).join(", ")}else this._selectedLabels=""}watch15(){this.watch15Fn()}watch16Fn(){var i,t;this.amountChange&&this.amountChange.emit(null!==(t=null===(i=this._selectedOptions)||void 0===i?void 0:i.length)&&void 0!==t?t:0)}watch16(){this.watch16Fn()}watch17Fn(){this.selectAllRef&&(this.selectAllRef.indeterminate=Boolean(this.selectAllIndeterminate))}watch17(){this.watch17Fn()}watch18Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this.selectRef)||void 0===i?void 0:i.validationMessage)||e}watch18(){this.watch18Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select"),this.resetIds(),this._invalidMessage=this.invalidMessage||e,"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((i=>{if(this.detailsRef){const t=i.find((({target:i})=>i===this.detailsRef));t&&!t.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 i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i,t,e,a,o,d,n,c,v,r,u,m,p,g,k;return s("div",{key:"adc424fa6a3f8653e88e5f5db601a8661da73994",class:x("db-custom-select",this.className),id:this._id,ref:i=>{this._ref=i},"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":F(this.required),"data-hide-asterisk":D(this.showRequiredAsterisk),"data-placement":this.placement,"data-selected-type":this.multiple?this.selectedType:"text","data-hide-label":D(this.showLabel),"data-icon":this.icon,"data-show-icon":F(this.showIcon)},s("label",{key:"fecde7273841b8365690a6b1e0de407107f0765f",id:this._labelId},null!==(i=this.label)&&void 0!==i?i:l,s("select",{key:"c6498a15a6c57bfdd46cc9624d42de5ebe78c0cc",role:"none",hidden:!0,id:this._selectId,tabIndex:-1,ref:i=>{this.selectRef=i},form:this.form,name:this.name,"data-custom-validity":this._validity,multiple:A(this.multiple,"multiple"),disabled:A(this.disabled,"disabled"),required:A(this.required,"required"),onChange:i=>this.satisfyReact(i)},(null===(t=this.options)||void 0===t?void 0:t.length)?null===(e=this.options)||void 0===e?void 0:e.map((i=>s("option",{disabled:i.disabled,value:i.value,key:void 0},this.getOptionLabel(i)))):null)),s("details",{key:"ea5eecf0c0a3285921c191c81710947c3ab14cab",ref:i=>{this.detailsRef=i},open:this.open,onToggle:i=>this.handleDropdownToggle(i),onKeyDown:i=>this.handleKeyboardPress(i)},s("slot",{key:"52d3c600ec77ad908deb69b1b57b089f05579aa5"}),this.options?s(h,null,s("summary",{class:"db-custom-select-form-field",id:this._summaryId,"aria-disabled":F(this.disabled),tabIndex:this.disabled?-1:void 0,"aria-labelledby":this._labelId},(null===(a=this._selectedLabels)||void 0===a?void 0:a.length)?s("span",{"data-visually-hidden":F("tag"===this.selectedType),id:this._selectedLabelsId},this.selectedPrefix?s("span",{"data-visually-hidden":"true"},this.selectedPrefix):null,this._selectedLabels):null,"tag"===this.selectedType?s("div",null,null===(o=this._selectedOptions)||void 0===o?void 0:o.map((i=>s("db-tag",{emphasis:"strong",behavior:"removable",removeButton:this.getTagRemoveLabel(i),onRemove:t=>this.handleTagRemove(i,t),key:void 0},this.getOptionLabel(i))))):null),s("db-custom-select-dropdown",{width:this.dropdownWidth},this.searchEnabled?s("div",null,s("db-input",{type:"search",ref:i=>{this.searchInputRef=i},name:this._id,form:this._id,showLabel:!1,value:this._searchValue,label:null!==(d=this.searchLabel)&&void 0!==d?d:l,placeholder:null!==(n=this.searchPlaceholder)&&void 0!==n?n:this.searchLabel,ariaDescribedBy:this._hasNoOptions||this.showLoading?this._infoTextId:void 0,onInput:i=>this.handleSearch(i)})):null,this._hasNoOptions||this.showLoading?s("db-infotext",{id:this._infoTextId,icon:this.showLoading?"circular_arrows":void 0,semantic:this.showLoading?"informational":"warning"},null!==(c=this.showLoading?this.loadingText:this.noResultsText)&&void 0!==c?c:f):s(h,null,this.selectAllEnabled?s("div",null,s("div",{class:"db-checkbox db-custom-select-list-item"},s("label",null,s("input",{type:"checkbox",value:"select-all",ref:i=>{this.selectAllRef=i},form:this._id,checked:this.selectAllChecked,onChange:i=>this.handleSelectAll(i)}),this.getSelectAllLabel()))):null,s("db-custom-select-list",{multiple:A(this.multiple,"multiple"),label:null!==(r=null!==(v=this.listLabel)&&void 0!==v?v:this.label)&&void 0!==r?r:l},null===(u=this._options)||void 0===u?void 0:u.map((i=>s("db-custom-select-list-item",{type:this.multiple?"checkbox":"radio",showDivider:i.showDivider,icon:i.icon,isGroupTitle:i.isGroupTitle,groupTitle:this.getOptionLabel(i),name:this._id,checked:this.getOptionChecked(i.value),disabled:i.disabled,value:i.value,onChange:()=>this.handleSelect(i.value),key:void 0},i.isGroupTitle?null:this.getOptionLabel(i)))))),s("div",null,s("db-button",{variant:"ghost",width:"full",icon:"cross",size:"small",name:this._id,form:this._id,onClick:()=>this.handleClose(void 0,!0)},null!==(m=this.mobileCloseButtonText)&&void 0!==m?m:b)))):null),(null===(p=this.showClearSelection)||void 0===p||p)&&(null===(g=this._values)||void 0===g?void 0:g.length)?s("db-button",{icon:"cross",variant:"ghost",size:"small",noText:!0,name:this._id,form:this._id,disabled:A(this.disabled,"disabled"),onClick:i=>this.handleClearAll(i)},this.clearSelectionText,s("db-tooltip",{placement:"top"},this.clearSelectionText)):null,s("span",{key:"312797b7c41d57e43821cbaecaf6f82be6dc6239",class:"db-custom-select-placeholder","aria-hidden":F(!0),id:this._placeholderId},null!==(k=this.placeholder)&&void 0!==k?k:this.label),y(this.message,this.showMessage)?s("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||w):null,s("db-infotext",{key:"c4f623a9e3c3ed61054960db586b0589873235fe",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"69f9c8fe36de328caed05e820faec5a76bdae6d2","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}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}]}}};export{R as db_custom_select}
@@ -1 +1 @@
1
- import{r as s,c as t,h as a}from"./p-kHKR5QG5.js";import{c as i}from"./p-xkoBSP8R.js";const d=class{constructor(a){s(this,a),this.click=t(this,"click")}handleClick(s){this.click&&this.click.emit(s)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-card")}render(){var s,t;return a("div",{key:"252e6e05d1f5fdef212ae943b0d4d4121a52f5d6",class:i("db-card",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,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:s=>this.handleClick(s)},a("slot",{key:"862fd715856bb6ef858c274c9c916bc7f4250051"}))}};export{d as db_card}
1
+ import{r as s,c as t,h as a}from"./p-LpjjuLKB.js";import{c as i}from"./p-xkoBSP8R.js";const d=class{constructor(a){s(this,a),this.click=t(this,"click")}handleClick(s){this.click&&this.click.emit(s)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),a.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-card")}render(){var s,t;return a("div",{key:"c5b2d2ebfea571675d74d19568200911db02958b",class:i("db-card",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,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:s=>this.handleClick(s)},a("slot",{key:"91cfe5d572daae4faacff9ef79d4e584c7b38030"}))}};export{d as db_card}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,F as a}from"./p-kHKR5QG5.js";import{u as n,c as o}from"./p-xkoBSP8R.js";const h=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._name="",this.initialized=!1,this.showScrollLeft=!1,this.showScrollRight=!1,this.scrollContainer=null,this._resizeObserver=void 0}convertTabs(){try{return"string"==typeof this.tabs?JSON.parse(this.tabs):this.tabs}catch(t){console.error(t)}return[]}evaluateScrollButtons(t){const i=t.scrollWidth>t.clientWidth;this.showScrollLeft=i&&t.scrollLeft>1,this.showScrollRight=i&&t.scrollLeft<t.scrollWidth-t.clientWidth}scroll(t){var i;let s=Number(this.arrowScrollDistance)||100;t&&(s*=-1),null===(i=this.scrollContainer)||void 0===i||i.scrollBy({top:0,left:s,behavior:"smooth"})}initTabList(){if(this._ref){const t=this._ref.querySelector(".db-tab-list");if(t){const i=t.querySelector('[role="tablist"]');if(i&&(i.setAttribute("aria-orientation",this.orientation||"horizontal"),"arrows"===this.behavior&&(this.scrollContainer=i,this.evaluateScrollButtons(i),i.addEventListener("scroll",(()=>{this.evaluateScrollButtons(i)})),!this._resizeObserver))){const t=new ResizeObserver((()=>{this.evaluateScrollButtons(i)}));t.observe(i),this._resizeObserver=t}}}}initTabs(t){if(this._ref){const i=Array.from(this._ref.getElementsByClassName("db-tab-item")),s=Array.from(this._ref.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));for(const a of i){const n=i.indexOf(a),o=a.querySelector("label"),h=a.querySelector("input");if(h&&o){if(!h.id){const t=`${this._name}-tab-${n}`;o.setAttribute("for",t),h.id=t,h.setAttribute("name",this._name),s.length>n&&h.setAttribute("aria-controls",`${this._name}-tab-panel-${n}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===n||Number(this.initialSelectedIndex)===n;t&&i&&h.click()}}}for(const t of s){if(t.id)continue;const i=s.indexOf(t);t.id=`${this._name}-tab-panel-${i}`,t.setAttribute("aria-labelledby",`${this._name}-tab-${i}`)}}}handleChange(t){var i;if(t.stopPropagation(),t.target){const s=t.target.parentElement;if(s&&s.parentElement&&"LI"===(null===(i=s.parentElement)||void 0===i?void 0:i.nodeName)){const i=s.parentElement.parentElement;if(i){const s=i.parentElement;if(s){const a=Array.from(s.children).indexOf(i);this.indexChange&&this.indexChange.emit(a),this.tabSelect&&this.tabSelect.emit(t)}}}}}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const n=i.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(n.name,`${o?`${o} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initTabList(),this.initTabs(!0);const t=this._ref.querySelector(".db-tab-list");t&&new MutationObserver((t=>{t.forEach((t=>{(t.removedNodes.length||t.addedNodes.length)&&(this.initTabList(),this.initTabs())}))})).observe(t,{childList:!0,subtree:!0}),this.initialized=!1}}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tabs"),this._name=`tabs-${this.name||n()}`,this.initialized=!0,this.watch0Fn()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._resizeObserver=void 0}render(){var t,i,n,h,l,e;return s("div",{key:"20d8d662866ff60717de87ad4deb98a3b647672a",class:o("db-tabs",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-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(n=this.alignment)&&void 0!==n?n:"start","data-width":null!==(h=this.width)&&void 0!==h?h:"auto",onInput:t=>this.handleChange(t),onChange:t=>this.handleChange(t)},this.showScrollLeft?s("db-button",{class:"tabs-scroll-left",variant:"ghost",icon:"chevron_left",type:"button",noText:!0,onClick:()=>this.scroll(!0)},"Scroll left"):null,this.tabs?s(a,null,s("db-tab-list",null,null===(l=this.convertTabs())||void 0===l?void 0:l.map(((t,i)=>s("db-tab-item",{key:this.name+"tab-item"+i,active:t.active,label:t.label,iconTrailing:t.iconTrailing,icon:t.icon,noText:t.noText})))),null===(e=this.convertTabs())||void 0===e?void 0:e.map(((t,i)=>s("db-tab-panel",{key:this.name+"tab-panel"+i,content:t.content},t.children)))):null,this.showScrollRight?s("db-button",{class:"tabs-scroll-right",variant:"ghost",icon:"chevron_right",type:"button",noText:!0,onClick:()=>this.scroll()},"Scroll right"):null,s("slot",{key:"f9803a647f9a01adc0b20eb6bdb999f38c3602af"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{h as db_tabs}
1
+ import{r as t,c as i,h as s,F as a}from"./p-LpjjuLKB.js";import{u as n,c as o}from"./p-xkoBSP8R.js";const h=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._name="",this.initialized=!1,this.showScrollLeft=!1,this.showScrollRight=!1,this.scrollContainer=null,this._resizeObserver=void 0}convertTabs(){try{return"string"==typeof this.tabs?JSON.parse(this.tabs):this.tabs}catch(t){console.error(t)}return[]}evaluateScrollButtons(t){const i=t.scrollWidth>t.clientWidth;this.showScrollLeft=i&&t.scrollLeft>1,this.showScrollRight=i&&t.scrollLeft<t.scrollWidth-t.clientWidth}scroll(t){var i;let s=Number(this.arrowScrollDistance)||100;t&&(s*=-1),null===(i=this.scrollContainer)||void 0===i||i.scrollBy({top:0,left:s,behavior:"smooth"})}initTabList(){if(this._ref){const t=this._ref.querySelector(".db-tab-list");if(t){const i=t.querySelector('[role="tablist"]');if(i&&(i.setAttribute("aria-orientation",this.orientation||"horizontal"),"arrows"===this.behavior&&(this.scrollContainer=i,this.evaluateScrollButtons(i),i.addEventListener("scroll",(()=>{this.evaluateScrollButtons(i)})),!this._resizeObserver))){const t=new ResizeObserver((()=>{this.evaluateScrollButtons(i)}));t.observe(i),this._resizeObserver=t}}}}initTabs(t){if(this._ref){const i=Array.from(this._ref.getElementsByClassName("db-tab-item")),s=Array.from(this._ref.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));for(const a of i){const n=i.indexOf(a),o=a.querySelector("label"),h=a.querySelector("input");if(h&&o){if(!h.id){const t=`${this._name}-tab-${n}`;o.setAttribute("for",t),h.id=t,h.setAttribute("name",this._name),s.length>n&&h.setAttribute("aria-controls",`${this._name}-tab-panel-${n}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===n||Number(this.initialSelectedIndex)===n;t&&i&&h.click()}}}for(const t of s){if(t.id)continue;const i=s.indexOf(t);t.id=`${this._name}-tab-panel-${i}`,t.setAttribute("aria-labelledby",`${this._name}-tab-${i}`)}}}handleChange(t){var i;if(t.stopPropagation(),t.target){const s=t.target.parentElement;if(s&&s.parentElement&&"LI"===(null===(i=s.parentElement)||void 0===i?void 0:i.nodeName)){const i=s.parentElement.parentElement;if(i){const s=i.parentElement;if(s){const a=Array.from(s.children).indexOf(i);this.indexChange&&this.indexChange.emit(a),this.tabSelect&&this.tabSelect.emit(t)}}}}}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const n=i.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(n.name,`${o?`${o} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initTabList(),this.initTabs(!0);const t=this._ref.querySelector(".db-tab-list");t&&new MutationObserver((t=>{t.forEach((t=>{(t.removedNodes.length||t.addedNodes.length)&&(this.initTabList(),this.initTabs())}))})).observe(t,{childList:!0,subtree:!0}),this.initialized=!1}}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tabs"),this._name=`tabs-${this.name||n()}`,this.initialized=!0,this.watch0Fn()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._resizeObserver=void 0}render(){var t,i,n,h,e,l;return s("div",{key:"f3fb4ac197d61be6eafccb2f467c6f3aa70e3063",class:o("db-tabs",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-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(n=this.alignment)&&void 0!==n?n:"start","data-width":null!==(h=this.width)&&void 0!==h?h:"auto",onInput:t=>this.handleChange(t),onChange:t=>this.handleChange(t)},this.showScrollLeft?s("db-button",{class:"tabs-scroll-left",variant:"ghost",icon:"chevron_left",type:"button",noText:!0,onClick:()=>this.scroll(!0)},"Scroll left"):null,this.tabs?s(a,null,s("db-tab-list",null,null===(e=this.convertTabs())||void 0===e?void 0:e.map(((t,i)=>s("db-tab-item",{key:this.name+"tab-item"+i,active:t.active,label:t.label,iconTrailing:t.iconTrailing,icon:t.icon,noText:t.noText})))),null===(l=this.convertTabs())||void 0===l?void 0:l.map(((t,i)=>s("db-tab-panel",{key:this.name+"tab-panel"+i,content:t.content},t.children)))):null,this.showScrollRight?s("db-button",{class:"tabs-scroll-right",variant:"ghost",icon:"chevron_right",type:"button",noText:!0,onClick:()=>this.scroll()},"Scroll right"):null,s("slot",{key:"e0ff10fbe01c7e4f60c3d401636c351be31d2197"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{h as db_tabs}