@db-ux/wc-core-components 4.3.2 → 4.4.0-loading-567cd0c

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 (179) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
  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 +2 -2
  8. package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
  9. package/dist/cjs/{db-custom-select-dropdown_5.cjs.entry.js → db-custom-select-dropdown_6.cjs.entry.js} +257 -5
  10. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
  11. package/dist/cjs/db-custom-select.cjs.entry.js +14 -16
  12. package/dist/cjs/db-divider.cjs.entry.js +3 -3
  13. package/dist/cjs/db-drawer.cjs.entry.js +5 -5
  14. package/dist/cjs/db-header.cjs.entry.js +4 -4
  15. package/dist/cjs/db-icon.cjs.entry.js +3 -3
  16. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  17. package/dist/cjs/db-link.cjs.entry.js +3 -3
  18. package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
  19. package/dist/cjs/db-navigation.cjs.entry.js +4 -4
  20. package/dist/cjs/db-notification.cjs.entry.js +8 -4
  21. package/dist/cjs/db-page.cjs.entry.js +4 -4
  22. package/dist/cjs/db-popover.cjs.entry.js +5 -5
  23. package/dist/cjs/db-radio.cjs.entry.js +4 -4
  24. package/dist/cjs/db-section.cjs.entry.js +4 -4
  25. package/dist/cjs/db-select.cjs.entry.js +18 -7
  26. package/dist/cjs/db-stack.cjs.entry.js +4 -4
  27. package/dist/cjs/db-switch.cjs.entry.js +5 -5
  28. package/dist/cjs/db-tab-item_3.cjs.entry.js +8 -8
  29. package/dist/cjs/db-tabs.cjs.entry.js +4 -4
  30. package/dist/cjs/db-textarea.cjs.entry.js +5 -5
  31. package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
  32. package/dist/cjs/db-ux.cjs.js +3 -3
  33. package/dist/cjs/{document-click-listener-B2Xzqbvs.js → document-click-listener-Bb3Tinb8.js} +1 -1
  34. package/dist/cjs/{document-scroll-listener-C_v46oIg.js → document-scroll-listener-unypEU42.js} +1 -1
  35. package/dist/cjs/{form-components-BrtqMwX0.js → form-components-LsqVohyb.js} +1 -1
  36. package/dist/cjs/{index-CW5aVEyQ.js → index-CsHqnQII.js} +26 -0
  37. package/dist/cjs/{index-Mi8dWSSD.js → index-TxzPzc5I.js} +69 -6
  38. package/dist/cjs/index.cjs.js +9 -3
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/collection/collection-manifest.json +2 -1
  41. package/dist/collection/components/custom-select/custom-select.js +15 -17
  42. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  43. package/dist/collection/components/divider/divider.js +1 -1
  44. package/dist/collection/components/drawer/drawer.js +3 -3
  45. package/dist/collection/components/header/header.js +2 -2
  46. package/dist/collection/components/icon/icon.js +1 -1
  47. package/dist/collection/components/link/link.js +1 -1
  48. package/dist/collection/components/loading-indicator/examples/_indicators.data.js +91 -0
  49. package/dist/collection/components/loading-indicator/index.js +2 -0
  50. package/dist/collection/components/loading-indicator/loading-indicator.js +713 -0
  51. package/dist/collection/components/loading-indicator/model.js +2 -0
  52. package/dist/collection/components/navigation/navigation.js +2 -2
  53. package/dist/collection/components/navigation-item/navigation-item.js +1 -1
  54. package/dist/collection/components/notification/notification.js +41 -11
  55. package/dist/collection/components/page/page.js +2 -2
  56. package/dist/collection/components/popover/popover.js +2 -2
  57. package/dist/collection/components/radio/radio.js +1 -1
  58. package/dist/collection/components/section/section.js +2 -2
  59. package/dist/collection/components/select/select.js +49 -12
  60. package/dist/collection/components/stack/stack.js +2 -2
  61. package/dist/collection/components/switch/switch.js +2 -2
  62. package/dist/collection/components/tab-item/tab-item.js +2 -2
  63. package/dist/collection/components/tab-list/tab-list.js +2 -2
  64. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  65. package/dist/collection/components/tabs/tabs.js +2 -2
  66. package/dist/collection/components/tag/tag.js +2 -2
  67. package/dist/collection/components/textarea/textarea.js +2 -2
  68. package/dist/collection/components/tooltip/tooltip.js +2 -2
  69. package/dist/collection/index.js +2 -0
  70. package/dist/collection/utils/index.js +25 -0
  71. package/dist/custom-elements.json +2499 -888
  72. package/dist/db-ux/db-ux.esm.js +1 -1
  73. package/dist/db-ux/index.esm.js +1 -1
  74. package/dist/db-ux/{p-e7e35164.entry.js → p-0a073f5e.entry.js} +1 -1
  75. package/dist/db-ux/p-19def2d3.entry.js +1 -0
  76. package/dist/db-ux/p-1bbe8d13.entry.js +1 -0
  77. package/dist/db-ux/{p-197f90e4.entry.js → p-2a1481e9.entry.js} +1 -1
  78. package/dist/db-ux/{p-b6538eed.entry.js → p-30ceac5f.entry.js} +1 -1
  79. package/dist/db-ux/p-34862d35.entry.js +1 -0
  80. package/dist/db-ux/{p-44f2f09d.entry.js → p-3aba68af.entry.js} +1 -1
  81. package/dist/db-ux/p-46b4ed7f.entry.js +1 -0
  82. package/dist/db-ux/{p-5bca6d35.entry.js → p-4b4916fb.entry.js} +1 -1
  83. package/dist/db-ux/{p-78f6b72a.entry.js → p-4bda74c9.entry.js} +1 -1
  84. package/dist/db-ux/{p-9a543d5a.entry.js → p-5c55381c.entry.js} +1 -1
  85. package/dist/db-ux/{p-a1e66a3d.entry.js → p-642484ca.entry.js} +1 -1
  86. package/dist/db-ux/p-66e24856.entry.js +1 -0
  87. package/dist/db-ux/p-69ebe202.entry.js +1 -0
  88. package/dist/db-ux/{p-a232eea2.entry.js → p-78fd1504.entry.js} +1 -1
  89. package/dist/db-ux/p-7c0621ef.entry.js +1 -0
  90. package/dist/db-ux/{p-286f83f4.entry.js → p-8931bdc6.entry.js} +1 -1
  91. package/dist/db-ux/{p-26fa6bc1.entry.js → p-8e63e73c.entry.js} +1 -1
  92. package/dist/db-ux/p-8ff8418d.entry.js +1 -0
  93. package/dist/db-ux/{p-29d3070a.entry.js → p-919ff123.entry.js} +1 -1
  94. package/dist/db-ux/p-B6-lLNGQ.js +2 -0
  95. package/dist/db-ux/p-BhXdfCpU.js +1 -0
  96. package/dist/db-ux/p-C4x0SOcx.js +1 -0
  97. package/dist/db-ux/{p-Cb-k135w.js → p-CAEpg8tJ.js} +1 -1
  98. package/dist/db-ux/{p-EqlW5Wqf.js → p-RHqkTr-_.js} +1 -1
  99. package/dist/db-ux/p-a01a5c4a.entry.js +1 -0
  100. package/dist/db-ux/{p-027fb90a.entry.js → p-a95f6c84.entry.js} +1 -1
  101. package/dist/db-ux/{p-e30a4814.entry.js → p-ada8a2ac.entry.js} +1 -1
  102. package/dist/db-ux/p-b05bc567.entry.js +1 -0
  103. package/dist/db-ux/p-c1825fa6.entry.js +1 -0
  104. package/dist/db-ux/p-e847596c.entry.js +1 -0
  105. package/dist/db-ux/{p-13dd39f1.entry.js → p-f3cc7450.entry.js} +1 -1
  106. package/dist/db-ux/{p-a7463ead.entry.js → p-f64ab366.entry.js} +1 -1
  107. package/dist/db-ux/p-f71548d2.entry.js +1 -0
  108. package/dist/db-ux/{p-29efc51e.entry.js → p-fd4f5fac.entry.js} +1 -1
  109. package/dist/esm/db-accordion-item.entry.js +2 -2
  110. package/dist/esm/db-accordion.entry.js +2 -2
  111. package/dist/esm/db-badge.entry.js +2 -2
  112. package/dist/esm/db-brand.entry.js +2 -2
  113. package/dist/esm/db-button.entry.js +2 -2
  114. package/dist/esm/db-card.entry.js +2 -2
  115. package/dist/esm/db-checkbox.entry.js +3 -3
  116. package/dist/esm/{db-custom-select-dropdown_5.entry.js → db-custom-select-dropdown_6.entry.js} +258 -7
  117. package/dist/esm/db-custom-select-form-field.entry.js +4 -4
  118. package/dist/esm/db-custom-select.entry.js +14 -16
  119. package/dist/esm/db-divider.entry.js +3 -3
  120. package/dist/esm/db-drawer.entry.js +5 -5
  121. package/dist/esm/db-header.entry.js +4 -4
  122. package/dist/esm/db-icon.entry.js +3 -3
  123. package/dist/esm/db-infotext.entry.js +2 -2
  124. package/dist/esm/db-link.entry.js +3 -3
  125. package/dist/esm/db-navigation-item.entry.js +3 -3
  126. package/dist/esm/db-navigation.entry.js +4 -4
  127. package/dist/esm/db-notification.entry.js +8 -4
  128. package/dist/esm/db-page.entry.js +4 -4
  129. package/dist/esm/db-popover.entry.js +5 -5
  130. package/dist/esm/db-radio.entry.js +4 -4
  131. package/dist/esm/db-section.entry.js +4 -4
  132. package/dist/esm/db-select.entry.js +18 -7
  133. package/dist/esm/db-stack.entry.js +4 -4
  134. package/dist/esm/db-switch.entry.js +5 -5
  135. package/dist/esm/db-tab-item_3.entry.js +8 -8
  136. package/dist/esm/db-tabs.entry.js +4 -4
  137. package/dist/esm/db-textarea.entry.js +5 -5
  138. package/dist/esm/db-tooltip.entry.js +5 -5
  139. package/dist/esm/db-ux.js +4 -4
  140. package/dist/esm/{document-click-listener-B_LaIr0O.js → document-click-listener-CmYoXpGE.js} +1 -1
  141. package/dist/esm/{document-scroll-listener-dHAsT0Tb.js → document-scroll-listener-65bHuFAN.js} +1 -1
  142. package/dist/esm/{form-components-Cl_wgkeJ.js → form-components-BLsiOrPI.js} +1 -1
  143. package/dist/esm/{index-9pYJFapZ.js → index-B6-lLNGQ.js} +69 -6
  144. package/dist/esm/{index-BwBkekqp.js → index-C4x0SOcx.js} +26 -1
  145. package/dist/esm/index.js +7 -4
  146. package/dist/esm/loader.js +3 -3
  147. package/dist/types/components/custom-select/custom-select.d.ts +1 -1
  148. package/dist/types/components/link/model.d.ts +2 -2
  149. package/dist/types/components/loading-indicator/examples/_indicators.data.d.ts +49 -0
  150. package/dist/types/components/loading-indicator/index.d.ts +2 -0
  151. package/dist/types/components/loading-indicator/loading-indicator.d.ts +56 -0
  152. package/dist/types/components/loading-indicator/model.d.ts +39 -0
  153. package/dist/types/components/notification/model.d.ts +2 -2
  154. package/dist/types/components/notification/notification.d.ts +2 -1
  155. package/dist/types/components/select/model.d.ts +10 -0
  156. package/dist/types/components/select/select.d.ts +3 -1
  157. package/dist/types/components.d.ts +91 -0
  158. package/dist/types/index.d.ts +2 -0
  159. package/dist/types/shared/model.d.ts +12 -8
  160. package/dist/types/utils/index.d.ts +12 -0
  161. package/dist/vscode.html-custom-data.json +182 -22
  162. package/dist/web-types.json +316 -51
  163. package/package.json +4 -4
  164. package/dist/db-ux/p-15241486.entry.js +0 -1
  165. package/dist/db-ux/p-2069117e.entry.js +0 -1
  166. package/dist/db-ux/p-2baf9c08.entry.js +0 -1
  167. package/dist/db-ux/p-39d22a0f.entry.js +0 -1
  168. package/dist/db-ux/p-462d8de5.entry.js +0 -1
  169. package/dist/db-ux/p-58611dcc.entry.js +0 -1
  170. package/dist/db-ux/p-623a6b59.entry.js +0 -1
  171. package/dist/db-ux/p-9d5365f7.entry.js +0 -1
  172. package/dist/db-ux/p-9pYJFapZ.js +0 -2
  173. package/dist/db-ux/p-BwBkekqp.js +0 -1
  174. package/dist/db-ux/p-a98bde77.entry.js +0 -1
  175. package/dist/db-ux/p-af0e61d0.entry.js +0 -1
  176. package/dist/db-ux/p-b729b29f.entry.js +0 -1
  177. package/dist/db-ux/p-bde7ff5f.entry.js +0 -1
  178. package/dist/db-ux/p-c9d514e5.entry.js +0 -1
  179. package/dist/db-ux/p-cqrM3KjS.js +0 -1
@@ -1 +1 @@
1
- import{r as i,c as t,h as s}from"./p-9pYJFapZ.js";import{l as h,g as a,h as e,f as d,k as c}from"./p-BdL-nI5y.js";import{h as l,d as o,s as n,e as r,u as b,l as v,c as u}from"./p-BwBkekqp.js";import{a as f}from"./p-Cb-k135w.js";const w=class{constructor(s){i(this,s),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,a;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,l()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:c,o((()=>this._voiceOverFallback=""),1e3))):this._descByIds=n(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||h,l()&&(this._voiceOverFallback=this._invalidMessage,o((()=>this._voiceOverFallback=""),1e3)))}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}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 a=t.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(i.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),e=i.getAttribute("class");i.setAttribute(a.name,`${e?`${e} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||h}watch0(){this.watch0Fn()}watch1Fn(){if(this._id){const i=this._id+d;this._messageId=i,this._validMessageId=this._id+a,this._invalidMessageId=this._id+e,n(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!r(this.indeterminate))}watch2(){this.watch2Fn()}watch3Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!r(this.checked)),this.initialized=!1)}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),f(this._ref,{checked:this.checked,defaultChecked:i},(i=>{this.handleChange(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){var i;this.enableAttributePassing(this._ref,"db-checkbox"),this.initialized=!0;const t=null!==(i=this.id)&&void 0!==i?i:`checkbox-${b()}`;this._id=t,this._messageId=t+d,this._validMessageId=t+a,this._invalidMessageId=t+e,this._invalidMessage=this.invalidMessage||h,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i;return s("div",{key:"a7cda04be04a1c763f8a7aa6918a212ffe8e0003",class:u("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":v(this.showRequiredAsterisk),"data-hide-label":v(this.showLabel)},s("label",{key:"a3195afb100309cb33b8471025b868db5bfdc7c5",htmlFor:this._id},s("input",{key:"937c3f7cd98f519fd8034c644491f55caafb2411",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},id:this._id,name:this.name,checked:r(this.checked,"checked"),disabled:r(this.disabled,"disabled"),value:this.value,required:r(this.required,"required"),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds}),this.label?this.label:s("slot",null)),n(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||c):null,s("db-infotext",{key:"ae673ae94efc3d0abd19f8f067befebea3b3139b",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"e32b0d1e2647e03068b5ee09f3183b25fc82b7e7","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch2:0},{watch3:0},{watch4:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],initialized:[{watch2:0},{watch3:0}],indeterminate:[{watch2:0}],checked:[{watch3:0}]}}};export{w as db_checkbox}
1
+ import{r as i,c as t,h as s}from"./p-B6-lLNGQ.js";import{l as h,g as a,h as e,f as d,k as c}from"./p-BdL-nI5y.js";import{h as l,d as o,s as n,e as r,u as b,l as v,c as u}from"./p-C4x0SOcx.js";import{a as f}from"./p-CAEpg8tJ.js";const w=class{constructor(s){i(this,s),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,a;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,l()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:c,o((()=>this._voiceOverFallback=""),1e3))):this._descByIds=n(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||h,l()&&(this._voiceOverFallback=this._invalidMessage,o((()=>this._voiceOverFallback=""),1e3)))}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}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 a=t.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(i.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),e=i.getAttribute("class");i.setAttribute(a.name,`${e?`${e} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||h}watch0(){this.watch0Fn()}watch1Fn(){if(this._id){const i=this._id+d;this._messageId=i,this._validMessageId=this._id+a,this._invalidMessageId=this._id+e,n(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!r(this.indeterminate))}watch2(){this.watch2Fn()}watch3Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!r(this.checked)),this.initialized=!1)}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),f(this._ref,{checked:this.checked,defaultChecked:i},(i=>{this.handleChange(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){var i;this.enableAttributePassing(this._ref,"db-checkbox"),this.initialized=!0;const t=null!==(i=this.id)&&void 0!==i?i:`checkbox-${b()}`;this._id=t,this._messageId=t+d,this._validMessageId=t+a,this._invalidMessageId=t+e,this._invalidMessage=this.invalidMessage||h,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i;return s("div",{key:"a7cda04be04a1c763f8a7aa6918a212ffe8e0003",class:u("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":v(this.showRequiredAsterisk),"data-hide-label":v(this.showLabel)},s("label",{key:"a3195afb100309cb33b8471025b868db5bfdc7c5",htmlFor:this._id},s("input",{key:"937c3f7cd98f519fd8034c644491f55caafb2411",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},id:this._id,name:this.name,checked:r(this.checked,"checked"),disabled:r(this.disabled,"disabled"),value:this.value,required:r(this.required,"required"),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds}),this.label?this.label:s("slot",null)),n(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||c):null,s("db-infotext",{key:"ae673ae94efc3d0abd19f8f067befebea3b3139b",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"e32b0d1e2647e03068b5ee09f3183b25fc82b7e7","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch2:0},{watch3:0},{watch4:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],initialized:[{watch2:0},{watch3:0}],indeterminate:[{watch2:0}],checked:[{watch3:0}]}}};export{w as db_checkbox}
@@ -0,0 +1,2 @@
1
+ var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.l.has(e)?n.l.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.i=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,l=(t,n)=>(0,console.error)(t,n),s=new Map,i="undefined"!=typeof window?window:{},r={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},c=t=>Promise.resolve(t),u=!1,f=[],a=[],d=(t,n)=>e=>{t.push(e),u||(u=!0,n&&4&r.u?v(h):r.raf(h))},p=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){l(t)}t.length=0},h=()=>{p(f),p(a),(u=f.length>0)&&r.raf(h)},v=t=>c().then(t),m=d(a,!0),b=t=>{const n=j(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&y(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!$(t,w(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&j(t,"childNodes").length&&b(t)}};function y(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||w(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...y(o.childNodes,n,e)]}return s}var $=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)w(l)!==n||!e&&l["s-sr"]||o.push(l);return o},g=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,w=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function j(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var O,k,N=new WeakMap,S=t=>"object"==(t=typeof t)||"function"===t,E=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!S(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?C(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,R);const f=C(t,null);return f.v=n,c.length>0&&(f.m=c),f.$=l,f.j=s,f},C=(t,n)=>({u:0,O:t,h:null!=n?n:null,k:null,m:null,v:null,$:null,j:null}),M={},R={forEach:(t,n)=>t.map(x).forEach(n),map:(t,n)=>t.map(x).map(n).map(T)},x=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),T=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),E(t.vtag,n,...t.vchildren||[])}const n=C(t.vtag,t.vtext);return n.v=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=t.vname,n},F=(t,n)=>null==t||S(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,L=(t,e)=>{const o=(t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$})(t);return{emit:t=>A(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},A=(t,n,e)=>{const o=r.ce(n,e);return t.dispatchEvent(o),o},P=(t,n,e,l,s,c)=>{if(e===l)return;let u=o(t,n),f=n.toLowerCase();if("class"===n){const n=t.classList,o=_(e);let s=_(l);n.remove(...o.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===n){for(const n in e)l&&null!=l[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in l)e&&l[n]===e[n]||(n.includes("-")?t.style.setProperty(n,l[n]):t.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&it(l,t);else if(u||"o"!==n[0]||"n"!==n[1]){const o=S(l);if((u||o&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[n]!==l&&(t[n]=l);else{const o=null==l?"":l;"list"===n?u=!1:null!=e&&t[n]==o||("function"==typeof t.__lookupSetter__(n)?t[n]=o:t.setAttribute(n,o))}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(n)||t.removeAttribute(n):(!u||4&c||s)&&!o&&1===t.nodeType&&t.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):o(i,f)?f.slice(2):f[2]+n.slice(3),e||l){const o=n.endsWith(U);n=n.replace(W,""),e&&r.rel(t,n,e,o),l&&r.ael(t,n,l,o)}},D=/\s/,_=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(D):[]),U="Capture",W=RegExp(U+"$"),B=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.v||{},s=n.v||{};for(const t of V(Object.keys(l)))t in s||P(o,t,l[t],void 0,e,n.u);for(const t of V(Object.keys(s)))P(o,t,l[t],s[t],e,n.u)};function V(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var q=!1,z=!1,H=!1,Y=!1,G=[],I=[],J=(t,n,e)=>{var o;const l=n.m[e];let s,r,c,u=0;if(q||(H=!0,"slot"===l.O&&(l.u|=l.m?2:1)),null!=l.h)s=l.k=i.document.createTextNode(l.h);else if(1&l.u)s=l.k=i.document.createTextNode(""),B(null,l,Y);else{if(Y||(Y="svg"===l.O),!i.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=i.document.createElementNS(Y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!q&&2&l.u?"slot-fb":l.O),Y&&"foreignObject"===l.O&&(Y=!1),B(null,l,Y),l.m){const n="template"===l.O?s.content:s;for(u=0;u<l.m.length;++u)r=J(t,l,u),r&&n.appendChild(r)}"svg"===l.O?Y=!1:"foreignObject"===s.tagName&&(Y=!0)}return s["s-hn"]=k,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=O,s["s-sn"]=l.j||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===w(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),c=t&&t.m&&t.m[e],c&&c.O===l.O&&t.k&&K(t.k)),s},K=t=>{r.u|=1;const n=t.closest(k.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(rt(n,t,null!=e?e:null),t["s-sh"]=void 0,H=!0)}r.u&=-2},Q=(t,n)=>{r.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===k&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==k&&o["s-ol"]&&(rt(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,H=!0),n&&Q(o,n)}r.u&=-2},X=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=J(null,e,l),i&&(o[l].k=i,rt(r,i,nt(n))))},Z=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;st(n),t&&(z=!0,t["s-ol"]?t["s-ol"].remove():Q(t,!0),t.remove())}}},tt=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),nt=t=>t&&t["s-ol"]||t,et=(t,n,e=!1)=>{const o=n.k=t.k,l=t.m,s=n.m,i=n.O,r=n.h;let c;null==r?(Y="svg"===i||"foreignObject"!==i&&Y,"slot"!==i||q||t.j!==n.j&&(n.k["s-sn"]=n.j||"",K(n.k.parentElement)),B(t,n,Y),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const b="template"===e.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(tt(d,v,l))et(d,v,l),d=n[++r],v=o[++c];else if(tt(p,m,l))et(p,m,l),p=n[--a],m=o[--h];else if(tt(d,m,l))"slot"!==d.O&&"slot"!==m.O||Q(d.k.parentNode,!1),et(d,m,l),rt(b,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(tt(p,v,l))"slot"!==d.O&&"slot"!==m.O||Q(p.k.parentNode,!1),et(p,v,l),rt(b,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].$&&n[f].$===v.$){u=f;break}u>=0?(i=n[u],i.O!==v.O?s=J(n&&n[c],e,u):(et(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=J(n&&n[c],e,c),v=o[++c]),s&&rt(nt(d.k).parentNode,s,nt(d.k))}r>a?X(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&Z(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),X(o,null,n,s,0,s.length-1)):!e&&null!==l&&Z(l,0,l.length-1),Y&&"svg"===i&&(Y=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(o.data=r)},ot=[],lt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(g(n,l)){let e=ot.find((t=>t.N===n));z=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.S=t):(n["s-sh"]=t["s-hn"],ot.push({S:t,N:n})),n["s-sr"]&&ot.map((t=>{g(t.N,n["s-sn"])&&(e=ot.find((t=>t.N===n)),e&&!t.S&&(t.S=e.S))}))}else ot.some((t=>t.N===n))||ot.push({N:n})}1===t.nodeType&&lt(t)}},st=t=>{t.v&&t.v.ref&&G.push((()=>t.v.ref(null))),t.m&&t.m.map(st)},it=(t,n)=>{I.push((()=>t(n)))},rt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=w(t)||"";return{slotNode:y(j(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},ct=(t,n)=>{if(n&&!t.C&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.C=()=>{n["s-p"].splice(e-1,1),o()})))}},ut=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);ct(t,t.M);const e=()=>ft(t,n);if(!n)return m(e);queueMicrotask((()=>{e()}))},ft=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.R&&(t.R=!1,bt(o,"connectedCallback",void 0,e)),t.T.length&&t.T.forEach((t=>t(e))),l=bt(o,"componentWillLoad",void 0,e)):l=bt(o,"componentWillUpdate",void 0,e),l=at(l,(()=>bt(o,"componentWillRender",void 0,e))),at(l,(()=>pt(t,o,n)))},at=(t,n)=>dt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,pt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];ht(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>vt(t);0===n.length?e():(Promise.all(n).then(e),t.u|=4,n.length=0)}},ht=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,c,u;const f=t.$hostElement$,a=t.o,d=t.F||C(null,null),p=(t=>t&&t.O===M)(n)?n:E(null,null,n);if(k=f.tagName,e&&p.v)for(const t of Object.keys(p.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.v[t]=f[t]);if(p.O=null,p.u|=4,t.F=p,p.k=d.k=f,q=!1,O=f["s-cr"],z=!1,et(d,p,e),r.u|=1,H){lt(p.k);for(const t of ot){const n=t.N;if(!n["s-ol"]&&i.document){const t=i.document.createTextNode("");t["s-nr"]=n,rt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ot){const n=t.N,r=t.S;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(rt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=i.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,rt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(c=n["s-ih"])&&c)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(z&&b(p.k),r.u&=-2,ot.length=0,!q&&!(1&a.u)&&f["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==k&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(u=n.hidden)&&u),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=i.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],rt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}O=void 0,G.forEach((t=>t())),G.length=0,I.forEach((t=>t())),I.length=0})(t,n,o)}catch(n){l(n,t.$hostElement$)}return null},vt=t=>{const n=t.$hostElement$,e=t.i,o=t.M;bt(e,"componentDidRender",void 0,n),64&t.u?bt(e,"componentDidUpdate",void 0,n):(t.u|=64,yt(n),bt(e,"componentDidLoad",void 0,n),t.L(n),o||mt()),t.C&&(t.C(),t.C=void 0),512&t.u&&v((()=>ut(t,!1))),t.u&=-517},mt=()=>{v((()=>A(i,"appload",{detail:{namespace:"db-ux"}})))},bt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){l(t,o)}},yt=t=>t.classList.add("hydrated"),$t=(t,e,o,s)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${s.A}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(e),u=i.u,f=i.i;if(o=F(o,s.t[e][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(e,o),s.P){const t=s.P[e];t&&t.map((t=>{try{const[[n,l]]=Object.entries(t);(128&u||1&l)&&(f?f[n](o,c,e):i.T.push((()=>{i.i[n](o,c,e)})))}catch(t){l(t,r)}}))}if(2==(18&u)){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e))return;ut(i,!1)}}},gt=(t,e,o)=>{var l,s;const i=t.prototype;{t.watchers&&!e.P&&(e.P=t.watchers),t.deserializers&&!e.D&&(e.D=t.deserializers),t.serializers&&!e._&&(e._=t.serializers);const c=Object.entries(null!=(l=e.t)?l:{});if(c.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).l.get(e))(0,t);const o=n(this),l=o?o.i:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(i){if(r)return void 0===(32&l?this[t]:i.$hostElement$[t])&&i.l.get(t)&&(s=i.l.get(t)),r.call(this,F(s,l)),void $t(this,t,s=32&l?this[t]:i.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return $t(this,t,s,e),void(1&o&&!i.i&&i.T.push((()=>{4096&e.t[t][0]&&i.i[t]!==i.l.get(t)&&(i.i[t]=s)})));const n=()=>{const n=i.i[t];!i.l.get(t)&&n&&i.l.set(t,n),i.i[t]=F(s,l),$t(this,t,i.i[t],e)};i.i?n():i.T.push((()=>{n()}))}}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){r.jmp((()=>{var r;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),i.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&s!==l){const o=f.i,i=null==(r=e.P)?void 0:r[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=o[i]&&(128&n||1&r)&&o[i].call(o,s,l,t)}))}return}const a=c.find((([t])=>t===u));a&&4&a[1][0]&&(s=null!==s&&"false"!==s);const d=Object.getOwnPropertyDescriptor(i,u);s==this[u]||d.get&&!d.set||(this[u]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.P)?s:{}),...c.filter((([t,n])=>31&n[0])).map((([t,n])=>{const e=n[1]||t;return o.set(e,t),e}))]))}}return t},wt=(t,n)=>{bt(t,"connectedCallback",void 0,n)},jt=(t,n)=>{bt(t,"disconnectedCallback",void 0,n||t)},Ot=(t,e={})=>{var o;if(!i.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],u=e.exclude||[],f=i.customElements,a=i.document.head,d=a.querySelector("meta[charset]"),p=i.document.createElement("style"),h=[];let v,m=!0;Object.assign(r,e),r.p=new URL(e.resourcesUrl||"./",i.document.baseURI).href;let b=!1;if(t.map((t=>{t[1].map((e=>{var o,a,d;const p={u:e[0],A:e[1],t:e[2],U:e[3]};4&p.u&&(b=!0),p.t=e[2],p.P=null!=(o=e[4])?o:{},p._=null!=(a=e[5])?a:{},p.D=null!=(d=e[6])?d:{};const y=p.A,$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,W:new Map};e.B=new Promise((t=>e.L=t)),t["s-p"]=[],t["s-rc"]=[],e.T=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,p)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),v&&(clearTimeout(v),v=null),m?h.push(this):r.jmp((()=>(t=>{if(!(1&r.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.i)?wt(e.i,t):(null==e?void 0:e.B)&&e.B.then((()=>wt(e.i,t)));else{e.u|=1,12&o.u&&(t=>{if(!i.document)return;const n=t["s-cr"]=i.document.createComment("");n["s-cn"]=!0,rt(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){ct(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;if(!(32&n.u))if(n.u|=32,e.V){const i=((t,n)=>{const e=t.A.replace(/-/g,"_"),o=t.V;if(!o)return;const i=s.get(o);return i?i[e]:import(`./${o}.entry.js`).then((t=>(s.set(o,t),t[e])),(t=>{l(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(i&&"then"in i){const t=()=>{};o=await i,t()}else o=i;if(!o)throw Error(`Constructor for "${e.A}#${n.q}" was not found`);o.isProxied||(e.P=o.watchers,e._=o.serializers,e.D=o.deserializers,gt(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){l(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.R=!0:wt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));const i=n.M,r=()=>ut(n,!0);i&&i["s-rc"]?i["s-rc"].push(r):r()})(t,e,o)}r()}})(this))))}disconnectedCallback(){r.jmp((()=>(async t=>{if(!(1&r.u)){const e=n(t);(null==e?void 0:e.i)?jt(e.i,t):(null==e?void 0:e.B)&&e.B.then((()=>jt(e.i,t)))}N.has(t)&&N.delete(t),t.shadowRoot&&N.has(t.shadowRoot)&&N.delete(t.shadowRoot)})(this))),r.raf((()=>{var t;const e=n(this);if(!e)return;const o=h.findIndex((t=>t===this));o>-1&&h.splice(o,1),(null==(t=null==e?void 0:e.F)?void 0:t.k)instanceof Node&&!e.F.k.isConnected&&delete e.F.k}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.B}};p.V=t[0],u.includes(y)||f.get(y)||(c.push(y),f.define(y,gt($,p,1)))}))})),c.length>0&&(b&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",p.innerHTML.length)){p.setAttribute("data-styles","");const t=null!=(o=r.H)?o:function(){var t,n,e;return null!=(e=null==(n=null==(t=i.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();null!=t&&p.setAttribute("nonce",t),a.insertBefore(p,d?d.nextSibling:a.firstChild)}m=!1,h.length?h.map((t=>t.connectedCallback())):r.jmp((()=>v=setTimeout(mt,30)))},kt=(t,n)=>n,Nt=t=>r.H=t;export{kt as F,Ot as b,L as c,E as h,c as p,e as r,Nt as s}
@@ -0,0 +1 @@
1
+ import{u as t}from"./p-C4x0SOcx.js";class c{static runCallbacks(t){for(const l of Object.values(c.callbacks))"function"==typeof l&&l(t)}constructor(){if(c._instance)return c._instance;c._instance=this,self.document&&self.document.addEventListener("click",(t=>c.runCallbacks(t)))}addCallback(l){const s=t();return c.callbacks[s]=l,s}removeCallback(t){delete c.callbacks[t]}}c.callbacks={},c._instance=null;export{c as D}
@@ -0,0 +1 @@
1
+ const n=()=>{var n,e;if("undefined"!=typeof window){if(null===(n=window.crypto)||void 0===n?void 0:n.randomUUID)return window.crypto.randomUUID();if(null===(e=window.crypto)||void 0===e?void 0:e.getRandomValues)return window.crypto.getRandomValues(new Uint32Array(3)).join("-")}return Math.random().toString().substring(2)},e=(n,i)=>{Object.values(n.children).forEach((n=>{n.setAttribute(i.key,i.value),n.children.length>0&&e(n,i)}))},i=(...n)=>{let e="";for(const i of n)if(i)if("string"==typeof i)e+=`${i} `;else for(const n in i)i[n]&&(e+=`${n} `);return e.trim()},r=n=>Array.isArray(n)&&n.every((n=>"string"==typeof n)),a=["Mac","iPhone","iPad","iPod"],o=()=>"undefined"!=typeof window&&a.some((n=>window.navigator.userAgent.includes(n))),t=()=>{if("undefined"==typeof window||"undefined"==typeof navigator)return!1;const n=navigator.userAgent,e=/iP(ad|hone|od)/.test(n),i=!!n.match(/Safari/)&&!n.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return e&&i},s=(n,e)=>new Promise((()=>setTimeout(n,e))),u=n=>{if(null!=n)return String("string"==typeof n?Boolean(n):n)},l=(n,e)=>{if(null!=n)return"string"==typeof n&&e?Boolean(e===n||n):Boolean(n)},f=(n,e)=>{if(null!=n||null!=e)return Number(null!=n?n:e)},d=n=>{if(null!=n)return"any"===n?"any":Number(n)},c=(n,e)=>e&&["number","range"].includes(e)?f(n):n,w=n=>{if(null!=n)return u(!Boolean(n))},v=(n,e)=>void 0===e?!!n:Boolean(e)&&Boolean(n),y=n=>n.querySelector('input[type="search"]'),p=(e,i)=>{var r,a;return`${i}${null!==(a=null!==(r=e.id)&&void 0!==r?r:e.value)&&void 0!==a?a:n()}`},g=n=>void 0!==n.key,m=({semantic:n,role:e,ariaLive:i})=>{if(e)return e;if(i)return"article";switch(n){case"critical":case"warning":return"alert";case"informational":case"successful":return"status";default:return"article"}};export{e as a,t as b,i as c,s as d,l as e,f,u as g,o as h,r as i,d as j,c as k,w as l,y as m,p as n,g as o,m as p,v as s,n as u}
@@ -1 +1 @@
1
- import{d as t}from"./p-BwBkekqp.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.checked?s.checked:s.defaultChecked?s.defaultChecked:c.checked,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});a(b)}),1)}),b)},s=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.value?s.value:s.defaultValue?s.defaultValue:c.value,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});a(b)}),1)}),b)};export{c as a,e as b,s as c}
1
+ import{d as t}from"./p-C4x0SOcx.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.checked?s.checked:s.defaultChecked?s.defaultChecked:c.checked,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});a(b)}),1)}),b)},s=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.value?s.value:s.defaultValue?s.defaultValue:c.value,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});a(b)}),1)}),b)};export{c as a,e as b,s as c}
@@ -1 +1 @@
1
- import{u as t}from"./p-BwBkekqp.js";class s{static runCallbacks(t){for(const l of Object.values(s.callbacks))"function"==typeof l&&l(t)}constructor(){if(this.ticking=!1,s._instance)return s._instance;s._instance=this,self.document&&self.document.addEventListener("scroll",(t=>{this.ticking||(window.requestAnimationFrame((()=>{s.runCallbacks(t),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=t();return s.callbacks[o]=l,o}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
1
+ import{u as t}from"./p-C4x0SOcx.js";class s{static runCallbacks(t){for(const l of Object.values(s.callbacks))"function"==typeof l&&l(t)}constructor(){if(this.ticking=!1,s._instance)return s._instance;s._instance=this,self.document&&self.document.addEventListener("scroll",(t=>{this.ticking||(window.requestAnimationFrame((()=>{s.runCallbacks(t),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=t();return s.callbacks[o]=l,o}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,c as s}from"./p-B6-lLNGQ.js";import{c as a,e as h,u as e,g as d,h as c,d as l,s as n,i as o,k as r,f as u,j as b,b as v,l as f}from"./p-C4x0SOcx.js";import{l as m,g as w,h as y,j as g,f as p,k,b as x,a as $,m as _,D as F}from"./p-BdL-nI5y.js";import{c as C}from"./p-CAEpg8tJ.js";const D=class{constructor(i){t(this,i),this.width="fixed"}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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){return i("article",{key:"98087cc1db985bbb2e2578cb9e2c78bc3a0c3b23",class:a("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:this.id,"data-width":this.width},i("slot",{key:"25bcaa79bdf8168feffce0a59c0adbc656023e64"}))}},L=class{constructor(i){t(this,i)}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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){return i("div",{key:"f47e219aac45d07e958a94969205260af981bcf1",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,ref:t=>{this._ref=t},id:this.id},i("ul",{key:"adca0d159ec4cd5d2dc46f11fe41006276dba94f"},i("slot",{key:"abb6edfb683a3e4a42512b2185854099c66f1f3c"})))}},A=class{constructor(i){t(this,i),this.change=s(this,"change"),this._id=void 0,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,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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this._id=null!==(t=this.id)&&void 0!==t?t:`custom-select-list-item-${e()}`,this.watch0Fn()}render(){return i("li",{key:"d94821da8bf1842933f6518079c9e463459bed2b",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:this._id,"data-divider":d(this.hasDivider)},this.isGroupTitle?i("span",null,this.groupTitle):i("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":d(this.showIcon),"data-icon-trailing":this.getIconTrailing()},i("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:i("slot",null)))}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},P=class{constructor(i){t(this,i),this.input=s(this,"input"),this.change=s(this,"change"),this.blur=s(this,"blur"),this.focus=s(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,i,s,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,c()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:k,l((()=>this._voiceOverFallback=""),1e3))):this._descByIds=n(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||m,c()&&(this._voiceOverFallback=this._invalidMessage,l((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,i){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,i){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((o(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||m}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._id){const i=this._id+p;this._messageId=i,this._validMessageId=this._id+w,this._invalidMessageId=this._id+y,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+g,n(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){void 0!==this.value&&(this._value=this.value)}watch2(){this.watch2Fn()}watch3Fn(){if(this._ref){const t=void 0;let i=this.abortController;i||(i=new AbortController,this.abortController=i),C(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),i.signal)}}watch3(){this.watch3Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-input");const i=null!==(t=this.id)&&void 0!==t?t:`input-${e()}`;this._id=i,this._messageId=i+p,this._validMessageId=i+w,this._invalidMessageId=i+y,this._dataListId=i+g,this._invalidMessage=this.invalidMessage||m,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,s,e,c,l,o,m,w;return i("div",{key:"b6b5870b00e7a3ef0155004291fc9c646863faa9",class:a("db-input",this.className),"data-variant":this.variant,"data-hide-label":f(this.showLabel),"data-show-icon":d(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(s=this.iconLeading)&&void 0!==s?s:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":f(this.showRequiredAsterisk),"data-show-icon-trailing":d(this.showIconTrailing)},i("label",{key:"ac47e1bd7206de27075a86e3b5bf59647cffa8de",htmlFor:this._id},null!==(e=this.label)&&void 0!==e?e:$),i("input",{key:"40170ba9d207c96b4e86232f367a70a3301eb914","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!==(c=this.placeholder)&&void 0!==c?c:x,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:b(this.step),value:null!==(l=this.value)&&void 0!==l?l: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!==(o=this.ariaDescribedBy)&&void 0!==o?o: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?i("datalist",{id:this._dataListId},null===(w=this.getDataList())||void 0===w?void 0:w.map((t=>i("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,i("slot",{key:"dd4cf602903406782a97e88ad8ccb8aacb903421"}),n(this.message,this.showMessage)?i("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?i("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||k):null,i("db-infotext",{key:"081dc92e27a0b81733d3200f97686fbe5fa15f76",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),i("span",{key:"43be19988deae0484f47eed9b19e0556238b558d","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch3:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],value:[{watch2:0}]}}},z=class{constructor(i){t(this,i),this.remove=s(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:_}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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tag")}render(){var t;return i("div",{key:"6be4d8cc4b856ac198e4c207860e9529c436060f",class:a("db-tag",this.className),ref:t=>{this._ref=t},id:this.id,"data-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(t=this.showCheckState)||void 0===t||t),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},i("slot",{key:"3ed9ce9b0eb66bb92a2c4a5303be1b0d16001841",name:"content"}),i("slot",{key:"9098de64b545b04f81f6a980700879610f9ec7bc"}),this.text?this.text:null,"removable"===this.behavior?i("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)},i("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}},B=class{constructor(i){t(this,i),this.timeout=s(this,"timeout"),this.autoDisable=!0,this.indeterminate=!0,this.size="medium",this.variant="inline",this._id=F,this._loadingState="inactive",this._previousLoadingState=void 0,this._style={},this.initialized=!1}getPercentage(){if(!this.indeterminate&&this.value&&this.max)return`${(Number(this.value)/Number(this.max)).toFixed(2)}`}getRole(){if(this.role){if("none"===this.role)return;return this.role}return"status"}handleParentDisabled(){if(this._ref&&this.autoDisable&&this.initialized){let t=this._ref.parentElement;t&&"db-loading-indicator"===t.localName&&(t=t.parentElement),t&&"disabled"in t&&(t.disabled="inactive"!==this._loadingState)}}handleParentAria(t){if(this._ref&&this._id&&this.initialized){let i=this._ref.parentElement;if(i&&"db-loading-indicator"===i.localName&&(i=i.parentElement),!i)return;const s="button"===(null==i?void 0:i.localName);if(!s&&!this.overlay)return;const a=s?"aria-labelledby":"aria-describedby",h=i.getAttribute(a);let e=h?h.split(","):[];if(t||"inactive"===this._loadingState){if(!e.includes(this._id))return;e=e.filter((t=>t!==this._id)),s||(i.ariaBusy=null)}else e.includes(this._id)||e.push(this._id),s||(i.ariaBusy="active"===this._loadingState?"true":null);e.length?i.setAttribute(a,e.join(",")):i.removeAttribute(a)}}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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(h.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){this.handleParentDisabled()}watch0(){this.watch0Fn()}watch1Fn(){this.handleParentAria(!1)}watch1(){this.watch1Fn()}watch2Fn(){this.timeout&&"inactive"!==this._loadingState&&this._loadingState!==this._previousLoadingState&&(this._previousLoadingState=this._loadingState,l((()=>{this.timeout&&this.timeout.emit(this._loadingState)}),"active"===this._loadingState?5e3:2e3))}watch2(){this.watch2Fn()}watch3Fn(){this._loadingState!==this.state&&(this._loadingState=this.state?this.state:void 0===this.indeterminate||this.indeterminate?"active":"inactive")}watch3(){this.watch3Fn()}watch4Fn(){this._ref&&("slow"!==this.delay&&"fast"!==this.delay||l((()=>{this._ref&&(this._ref.dataset.delay="")}),"slow"===this.delay?500:250))}watch4(){this.watch4Fn()}watch5Fn(){this._style={"--db-loading-indicator-percentage":this.getPercentage()}}watch5(){this.watch5Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-loading-indicator"),this._id=this.id||"loading-indicator-"+e(),this.initialized=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn()}disconnectedCallback(){this.handleParentAria(!0),this.handleParentDisabled()}render(){var t,s;return i("div",{key:"4467fd7c9ebec6fe699995183b870ea08fa60ba7",class:a("db-loading-indicator",this.className),ref:t=>{this._ref=t},style:this._style,"data-indeterminate":d(this.indeterminate),"data-size":this.size,"data-variant":this.variant,"data-delay":this.delay,"data-state":this._loadingState,"data-overlay":d(this.overlay)},"progress-bar"!==this.variant?i("svg",{class:"db-loading-indicator-circle","aria-hidden":"true",viewBox:"inline"===this.variant?"10 10 20 20":"32 32 64 64"},i("circle",{class:"db-loading-indicator-circle-track"}),i("circle",{class:"db-loading-indicator-circle-segment"})):null,i("div",{key:"7ea9f9fd64f1b7d073ca7917a4e8eb905eb344f0",role:this.getRole()},i("label",{key:"de7fd82a1e14e459735cf596f18104722965e7f2","data-show-label":d(this.showLabel),id:this._id},this.label?this.label:i("slot",null),i("progress",{key:"d2abf58f6595675e873056610e1bec18bf4dff85",value:this.indeterminate?void 0:null!==(t=this.value)&&void 0!==t?t:0,max:this.indeterminate?void 0:null!==(s=this.max)&&void 0!==s?s:100},this.indeterminate?void 0:this.progressText)),this.indeterminate?null:i("span",{"aria-hidden":"true","data-show-progress-text":d(this.showProgressText)},this.progressText)))}static get watchers(){return{_ref:[{watch0:0},{watch1:0},{watch4:0}],initialized:[{watch0:0},{watch1:0}],autoDisable:[{watch0:0}],_loadingState:[{watch0:0},{watch1:0},{watch2:0}],overlay:[{watch1:0}],_id:[{watch1:0}],timeout:[{watch2:0}],state:[{watch3:0}],delay:[{watch4:0}],indeterminate:[{watch5:0}],value:[{watch5:0}],max:[{watch5:0}]}}};export{D as db_custom_select_dropdown,L as db_custom_select_list,A as db_custom_select_list_item,P as db_input,B as db_loading_indicator,z as db_tag}
@@ -1 +1 @@
1
- import{r as t,h as s}from"./p-9pYJFapZ.js";import{g as a,c as i}from"./p-BwBkekqp.js";const o=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 o=s.item(i);if(o&&(o.name.startsWith("data-")||o.name.startsWith("aria-"))&&(t.setAttribute(o.name,o.value),a.removeAttribute(o.name)),o&&"class"===o.name){const s=o.value.includes("hydrated"),i=o.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(o.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(o.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-infotext")}render(){var t;return s("span",{key:"c126d11d979284931006fa76b2a6a49e396f394c",class:i("db-infotext",this.className),ref:t=>{this._ref=t},id:this.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-show-icon-leading":a(null===(t=this.showIcon)||void 0===t||t)},this.text?this.text:s("slot",null))}};export{o as db_infotext}
1
+ import{r as t,h as s}from"./p-B6-lLNGQ.js";import{g as a,c as i}from"./p-C4x0SOcx.js";const o=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 o=s.item(i);if(o&&(o.name.startsWith("data-")||o.name.startsWith("aria-"))&&(t.setAttribute(o.name,o.value),a.removeAttribute(o.name)),o&&"class"===o.name){const s=o.value.includes("hydrated"),i=o.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(o.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(o.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-infotext")}render(){var t;return s("span",{key:"c126d11d979284931006fa76b2a6a49e396f394c",class:i("db-infotext",this.className),ref:t=>{this._ref=t},id:this.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-show-icon-leading":a(null===(t=this.showIcon)||void 0===t||t)},this.text?this.text:s("slot",null))}};export{o as db_infotext}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,F as a}from"./p-9pYJFapZ.js";import{u as h,c as n}from"./p-BwBkekqp.js";const o=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._id="tabs-"+h(),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 h=i.indexOf(a),n=a.querySelector("label"),o=a.querySelector("input");if(o&&n){if(!o.id){const t=`${this._name}-tab-${h}`;n.setAttribute("for",t),o.id=t,o.setAttribute("name",this._name),s.length>h&&o.setAttribute("aria-controls",`${this._name}-tab-panel-${h}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===h||Number(this.initialSelectedIndex)===h;t&&i&&o.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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(h.name,`${n?`${n} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.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._id=this.id||this._id,this._name=`tabs-${this.name||h()}`,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,h,o;return s("div",{key:"a53c2737f8238bbe266baa7d6e3f90649c52512a",class:n("db-tabs",this.className),ref:t=>{this._ref=t},id:this._id,"data-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(t=this.alignment)&&void 0!==t?t:"start","data-width":null!==(i=this.width)&&void 0!==i?i:"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===(h=this.convertTabs())||void 0===h?void 0:h.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===(o=this.convertTabs())||void 0===o?void 0:o.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:"e8cf7f0c576b73cdd459ab4cf1f07f14c5ed1657"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{o as db_tabs}
1
+ import{r as t,c as i,h as s,F as a}from"./p-B6-lLNGQ.js";import{u as h,c as n}from"./p-C4x0SOcx.js";const o=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._id="tabs-"+h(),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 h=i.indexOf(a),n=a.querySelector("label"),o=a.querySelector("input");if(o&&n){if(!o.id){const t=`${this._name}-tab-${h}`;n.setAttribute("for",t),o.id=t,o.setAttribute("name",this._name),s.length>h&&o.setAttribute("aria-controls",`${this._name}-tab-panel-${h}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===h||Number(this.initialSelectedIndex)===h;t&&i&&o.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 h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(h.name,`${n?`${n} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.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._id=this.id||this._id,this._name=`tabs-${this.name||h()}`,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,h,o;return s("div",{key:"96c8670519fc8e178121be97b419e35cfb826075",class:n("db-tabs",this.className),ref:t=>{this._ref=t},id:this._id,"data-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(t=this.alignment)&&void 0!==t?t:"start","data-width":null!==(i=this.width)&&void 0!==i?i:"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===(h=this.convertTabs())||void 0===h?void 0:h.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===(o=this.convertTabs())||void 0===o?void 0:o.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:"9f3f2fb4835adb10824bdb5410dabb694d4d5fbb"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{o as db_tabs}
@@ -0,0 +1 @@
1
+ import{r as s,c as t,h as i}from"./p-B6-lLNGQ.js";import{s as a}from"./p-BdL-nI5y.js";import{e,s as n,g as o,p as l,c}from"./p-C4x0SOcx.js";const d=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&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(s.setAttribute(e.name,e.value),i.removeAttribute(e.name)),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;return i("div",{key:"c02c5f52518a3ec9ef881a31c7fbfb82e6916ceb",class:c("db-notification",this.className),ref:s=>{this._ref=s},id:this.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:"6aa1d954e740bedd0fcd01698c2d96b6949f25a5",name:"image"}),n(this.headline,this.showHeadline)?i("header",null,this.headline):null,i("p",{key:"8319a32b151cd2fdfe68cf60d87efb5a0e2363b6"},this.text?this.text:i("slot",null)),n(this.timestamp,this.showTimestamp)?i("span",null,this.timestamp):null,i("slot",{key:"a2d398e89f54e8c9207e2865ed238c0a8672bfd8",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!==(s=this.closeButtonText)&&void 0!==s?s:a):null)}};export{d as db_notification}
@@ -0,0 +1 @@
1
+ import{r as s,h as t}from"./p-B6-lLNGQ.js";import{c as e}from"./p-C4x0SOcx.js";const a=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const e=null==s?void 0:s.closest(t);if(s&&e){const t=e.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(s.setAttribute(d.name,d.value),e.removeAttribute(d.name)),d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),c=s.getAttribute("class");s.setAttribute(d.name,`${c?`${c} `:""}${a}`),t?e.setAttribute("class","hydrated"):e.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){return t("summary",{key:"d99ab4a28f0604d5aa10d54e5da18ce976a93bf8",class:e("db-custom-select-form-field",this.className),ref:s=>{this._ref=s},id:this.id},t("slot",{key:"40f581da69159f298d83a097e08c2f74e5dfcb23"}))}};export{a as db_custom_select_form_field}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s}from"./p-B6-lLNGQ.js";import{l as h,g as a,h as e,f as d,k as l,b as n,r as o,a as r}from"./p-BdL-nI5y.js";import{h as c,d as v,s as u,u as b,f,e as m,l as p,c as w}from"./p-C4x0SOcx.js";import{c as y}from"./p-CAEpg8tJ.js";const x=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._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,i,s,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength)?(this._descByIds=this._validMessageId,c()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:l,v((()=>this._voiceOverFallback=""),1e3))):this._descByIds=u(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||h,c()&&(this._voiceOverFallback=this._invalidMessage,v((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,i){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,i){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let h=0;h<i.length;h++){const a=i.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(t.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const i=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(a.name,`${e?`${e} `:""}${h}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||h}watch0(){this.watch0Fn()}watch1Fn(){if(this._id){const t=this._id+d;this._messageId=t,this._validMessageId=this._id+a,this._invalidMessageId=this._id+e,u(this.message,this.showMessage)&&(this._descByIds=t),this.handleValidation()}}watch1(){this.watch1Fn()}watch2Fn(){void 0!==this.value&&(this._value=this.value)}watch2(){this.watch2Fn()}watch3Fn(){if(this._ref){const t=void 0;let i=this.abortController;i||(i=new AbortController,this.abortController=i),y(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),i.signal)}}watch3(){this.watch3Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-textarea");const i=null!==(t=this.id)&&void 0!==t?t:`textarea-${b()}`;this._id=i,this._messageId=i+d,this._validMessageId=i+a,this._invalidMessageId=i+e,this._invalidMessage=this.invalidMessage||h,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,i,h,a,e;return s("div",{key:"523bebc81d6e424b5d03762aeab7033f9d0aafb2",class:w("db-textarea",this.className),"data-variant":this.variant,"data-hide-asterisk":p(this.showRequiredAsterisk),"data-hide-label":p(this.showLabel)},s("label",{key:"4054a26429d9e71770ec179563c523eea3fbafb7",htmlFor:this._id},null!==(t=this.label)&&void 0!==t?t:r),s("textarea",{key:"07b74b6868d4b9eed859ae09fb8a7658700e1c57","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,"data-resize":this.resize,"data-hide-resizer":p(null===(i=this.showResizer)||void 0===i||i),disabled:m(this.disabled,"disabled"),required:m(this.required,"required"),readOnly:m(this.readOnly,"readOnly")||m(this.readonly,"readonly"),form:this.form,maxLength:f(this.maxLength,this.maxlength),minLength:f(this.minLength,this.minlength),name:this.name,wrap:this.wrap,spellcheck:this.spellCheck,autocomplete:this.autocomplete,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),value:null!==(h=this.value)&&void 0!==h?h:this._value,"aria-describedby":null!==(a=this.ariaDescribedBy)&&void 0!==a?a:this._descByIds,placeholder:null!==(e=this.placeholder)&&void 0!==e?e:n,rows:f(this.rows,o),cols:f(this.cols)}),u(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||l):null,s("db-infotext",{key:"e305c1b1827697e920467a34a3dbf895c664ad20",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"efb2b1f4d91fbf5c6fedb83dc771f9a8111c8f55","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}static get watchers(){return{_ref:[{watch0:0},{watch3:0}],invalidMessage:[{watch0:0}],_id:[{watch1:0}],value:[{watch2:0}]}}};export{x as db_textarea}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s}from"./p-9pYJFapZ.js";import{u as h,e as a,l as e,c as d,d as c}from"./p-BwBkekqp.js";import{b as r}from"./p-Cb-k135w.js";const n=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.initialized=!1,this._id=void 0,this.abortController=void 0}handleInput(t,i){this.input&&this.input.emit(t)}handleChange(t,i){this.change&&this.change.emit(t)}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let h=0;h<i.length;h++){const a=i.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(t.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const i=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(a.name,`${e?`${e} `:""}${h}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){this.checked&&this.initialized&&this._ref&&(this._ref.checked=!0)}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref){let t=this.abortController;t||(t=new AbortController,this.abortController=t),r(this._ref,(t=>{c((()=>{const i=this.checked?this.checked:this._ref.checked,s=Object.assign(Object.assign({},t),{target:Object.assign(Object.assign({},t.target),{value:"",checked:i})});this.handleChange(s,!0),this.handleInput(s,!0)}),1)}),t.signal)}}watch1(){this.watch1Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-radio"),this.initialized=!0,this._id=null!==(t=this.id)&&void 0!==t?t:`radio-${h()}`,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){return s("label",{key:"2d573f1bd633fdedf2fde15c11d52cfa8a70b3ef",class:d("db-radio",this.className),"data-size":this.size,"data-hide-label":e(this.showLabel),"data-hide-asterisk":e(this.showRequiredAsterisk),htmlFor:this._id},s("input",{key:"dd0ae78f833d0cd170824fd38aef50797529557a",type:"radio","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:t=>{this._ref=t},id:this._id,name:this.name,checked:a(this.checked,"checked"),disabled:a(this.disabled,"disabled"),value:this.value,required:a(this.required,"required"),onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t)}),this.label?this.label:s("slot",null))}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0},{watch1:0}],checked:[{watch0:0}]}}};export{n as db_radio}
1
+ import{r as t,c as i,h as s}from"./p-B6-lLNGQ.js";import{u as h,e as a,l as e,c as d,d as c}from"./p-C4x0SOcx.js";import{b as r}from"./p-CAEpg8tJ.js";const l=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.initialized=!1,this._id=void 0,this.abortController=void 0}handleInput(t,i){this.input&&this.input.emit(t)}handleChange(t,i){this.change&&this.change.emit(t)}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let h=0;h<i.length;h++){const a=i.item(h);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(t.setAttribute(a.name,a.value),s.removeAttribute(a.name)),a&&"class"===a.name){const i=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(a.name,`${e?`${e} `:""}${h}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){this.checked&&this.initialized&&this._ref&&(this._ref.checked=!0)}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref){let t=this.abortController;t||(t=new AbortController,this.abortController=t),r(this._ref,(t=>{c((()=>{const i=this.checked?this.checked:this._ref.checked,s=Object.assign(Object.assign({},t),{target:Object.assign(Object.assign({},t.target),{value:"",checked:i})});this.handleChange(s,!0),this.handleInput(s,!0)}),1)}),t.signal)}}watch1(){this.watch1Fn()}componentDidLoad(){var t;this.enableAttributePassing(this._ref,"db-radio"),this.initialized=!0,this._id=null!==(t=this.id)&&void 0!==t?t:`radio-${h()}`,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){return s("label",{key:"9c6681364dff418c05708d40a81c69b8779037e6",class:d("db-radio",this.className),"data-size":this.size,"data-hide-label":e(this.showLabel),"data-hide-asterisk":e(this.showRequiredAsterisk),htmlFor:this._id},s("input",{key:"d3902515f8019bfbf1e39ae03974fc4edab34af5",type:"radio","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:t=>{this._ref=t},id:this._id,name:this.name,checked:a(this.checked,"checked"),disabled:a(this.disabled,"disabled"),value:this.value,required:a(this.required,"required"),onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t)}),this.label?this.label:s("slot",null))}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0},{watch1:0}],checked:[{watch0:0}]}}};export{l as db_radio}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-9pYJFapZ.js";import{D as a}from"./p-BdL-nI5y.js";import{u as h,g as c,c as e}from"./p-BwBkekqp.js";const n=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._id=a,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 h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(h.name,`${c?`${c} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this._id=this.id||"accordion-item-"+h(),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){return i("li",{key:"8d83cc801cb95a73fc14fd6498c243f5c6afa22b",class:e("db-accordion-item",this.className),id:this._id},i("details",{key:"34273cd5211ae03c006350b9c7537fced121a7a2","aria-disabled":c(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"ec28c1a939f3cabab7b6b842fc46620e55940e6a",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"6934f2e25c3343e7d20c8fac47410bafe05b750c"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{n as db_accordion_item}
1
+ import{r as t,c as s,h as i}from"./p-B6-lLNGQ.js";import{D as a}from"./p-BdL-nI5y.js";import{u as h,g as c,c as e}from"./p-C4x0SOcx.js";const n=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._id=a,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 h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(h.name,`${c?`${c} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this._id=this.id||"accordion-item-"+h(),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){return i("li",{key:"8d83cc801cb95a73fc14fd6498c243f5c6afa22b",class:e("db-accordion-item",this.className),id:this._id},i("details",{key:"34273cd5211ae03c006350b9c7537fced121a7a2","aria-disabled":c(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"ec28c1a939f3cabab7b6b842fc46620e55940e6a",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"6934f2e25c3343e7d20c8fac47410bafe05b750c"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{n as db_accordion_item}
@@ -0,0 +1 @@
1
+ import{r as a,h as s}from"./p-B6-lLNGQ.js";import{D as t}from"./p-BdL-nI5y.js";import{u as i,c as e}from"./p-C4x0SOcx.js";const d=class{constructor(s){a(this,s),this._id=t}enableAttributePassing(a,s){const t=null==a?void 0:a.closest(s);if(a&&t){const s=t.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(a.setAttribute(e.name,e.value),t.removeAttribute(e.name)),e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=a.getAttribute("class");a.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?t.setAttribute("class","hydrated"):t.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-navigation"),this._id=this.id||"navigation-"+i()}render(){return s("nav",{key:"7ca06eb30c08a1b7a595a92d156cc35e1ed1fab0",class:e("db-navigation",this.className),ref:a=>{this._ref=a},id:this._id},s("menu",{key:"9fb0d02c73a39da0efa0e50f1b7836af84e729d7"},s("slot",{key:"3f21156518d0bae763c8cd43a59b2d4bb579fa1e"})))}};export{d as db_navigation}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i}from"./p-9pYJFapZ.js";import{g as a,e as d,c as h}from"./p-BwBkekqp.js";const o=class{constructor(i){t(this,i),this.click=s(this,"click")}getButtonType(){return this.type?this.type:this.click?"button":"submit"}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 d=s.item(a);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(t.setAttribute(d.name,d.value),i.removeAttribute(d.name)),d&&"class"===d.name){const s=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(d.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-button")}render(){var t,s;return i("button",{key:"8b0105e19d08c13e28e3ad8053d17d33d6699272",class:h("db-button",this.className),ref:t=>{this._ref=t},id:this.id,type:this.getButtonType(),disabled:d(this.disabled,"disabled"),"data-icon":null!==(t=this.iconLeading)&&void 0!==t?t:this.icon,"data-show-icon":a(null!==(s=this.showIconLeading)&&void 0!==s?s: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),name:this.name,form:this.form,value:this.value},this.text?this.text:i("slot",null))}};export{o as db_button}
1
+ import{r as t,c as s,h as i}from"./p-B6-lLNGQ.js";import{g as a,e as d,c as h}from"./p-C4x0SOcx.js";const o=class{constructor(i){t(this,i),this.click=s(this,"click")}getButtonType(){return this.type?this.type:this.click?"button":"submit"}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 d=s.item(a);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(t.setAttribute(d.name,d.value),i.removeAttribute(d.name)),d&&"class"===d.name){const s=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(d.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-button")}render(){var t,s;return i("button",{key:"8b0105e19d08c13e28e3ad8053d17d33d6699272",class:h("db-button",this.className),ref:t=>{this._ref=t},id:this.id,type:this.getButtonType(),disabled:d(this.disabled,"disabled"),"data-icon":null!==(t=this.iconLeading)&&void 0!==t?t:this.icon,"data-show-icon":a(null!==(s=this.showIconLeading)&&void 0!==s?s: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),name:this.name,form:this.form,value:this.value},this.text?this.text:i("slot",null))}};export{o as db_button}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-B6-lLNGQ.js';
2
2
  import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
3
- import { u as uuid, g as getBooleanAsString, c as cls } from './index-BwBkekqp.js';
3
+ import { u as uuid, g as getBooleanAsString, c as cls } from './index-C4x0SOcx.js';
4
4
 
5
5
  const DBAccordionItem = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-9pYJFapZ.js';
1
+ import { r as registerInstance, h } from './index-B6-lLNGQ.js';
2
2
  import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
3
- import { u as uuid, c as cls } from './index-BwBkekqp.js';
3
+ import { u as uuid, c as cls } from './index-C4x0SOcx.js';
4
4
 
5
5
  const DBAccordion = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-9pYJFapZ.js';
1
+ import { r as registerInstance, h } from './index-B6-lLNGQ.js';
2
2
  import { a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
- import { c as cls } from './index-BwBkekqp.js';
3
+ import { c as cls } from './index-C4x0SOcx.js';
4
4
 
5
5
  const DBBadge = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-9pYJFapZ.js';
1
+ import { r as registerInstance, h } from './index-B6-lLNGQ.js';
2
2
  import { q as DEFAULT_ICON } from './constants-BdL-nI5y.js';
3
- import { g as getBooleanAsString, c as cls } from './index-BwBkekqp.js';
3
+ import { g as getBooleanAsString, c as cls } from './index-C4x0SOcx.js';
4
4
 
5
5
  const DBBrand = class {
6
6
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
2
- import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-BwBkekqp.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-B6-lLNGQ.js';
2
+ import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBButton = class {
5
5
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
2
- import { c as cls } from './index-BwBkekqp.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-B6-lLNGQ.js';
2
+ import { c as cls } from './index-C4x0SOcx.js';
3
3
 
4
4
  const DBCard = class {
5
5
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-B6-lLNGQ.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, f as DEFAULT_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
3
- import { h as hasVoiceOver, d as delay, s as stringPropVisible, e as getBoolean, u as uuid, l as getHideProp, c as cls } from './index-BwBkekqp.js';
4
- import { a as addCheckedResetEventListener } from './form-components-Cl_wgkeJ.js';
3
+ import { h as hasVoiceOver, d as delay, s as stringPropVisible, e as getBoolean, u as uuid, l as getHideProp, c as cls } from './index-C4x0SOcx.js';
4
+ import { a as addCheckedResetEventListener } from './form-components-BLsiOrPI.js';
5
5
 
6
6
  const DBCheckbox = class {
7
7
  constructor(hostRef) {